classcard-ui 0.2.739 → 0.2.741
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classcard-ui.common.js +55 -53
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +55 -53
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CButtonGroup/CButtonGroup.vue +5 -3
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<button
|
|
9
9
|
@click="showButtons = !showButtons"
|
|
10
10
|
type="button"
|
|
11
|
-
class="
|
|
11
|
+
class="relative inline-flex items-center rounded-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-900 hover:bg-gray-50 focus:z-10 focus:border-blue-600 focus:outline-none focus:ring-1 focus:ring-blue-600 sm:rounded-md sm:px-3"
|
|
12
12
|
id="menu-3"
|
|
13
13
|
aria-expanded="false"
|
|
14
14
|
aria-haspopup="true"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
<div
|
|
25
25
|
v-show="showButtons"
|
|
26
|
-
class="
|
|
26
|
+
class="absolute z-10 mt-2 w-full origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"
|
|
27
27
|
role="menu"
|
|
28
28
|
aria-orientation="vertical"
|
|
29
29
|
>
|
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
href="#"
|
|
35
35
|
class="flex px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:bg-gray-100 focus:text-gray-900"
|
|
36
36
|
role="menuitem"
|
|
37
|
+
@click="handleEvent(button.onClickAction)"
|
|
38
|
+
@blur="handleEvent(button.blurAction)"
|
|
37
39
|
>
|
|
38
40
|
<div v-if="button.icon == ''" class="h-5"></div>
|
|
39
41
|
<c-icon
|
|
@@ -52,7 +54,7 @@
|
|
|
52
54
|
v-for="(button, index) in buttonObject"
|
|
53
55
|
v-bind:key="button.label"
|
|
54
56
|
type="button"
|
|
55
|
-
class="
|
|
57
|
+
class="relative inline-flex items-center border-r border-l border-t border-b border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
|
|
56
58
|
:class="{
|
|
57
59
|
'rounded-r-md rounded-l-none border-l border-r':
|
|
58
60
|
index == buttonObject.length - 1,
|