classcard-ui 0.2.706 → 0.2.709
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 +57 -54
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +57 -54
- 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/CSelect/CSelect.vue +7 -4
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<span v-if="hint" class="text-sm text-gray-500">{{ hint }}</span>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
|
-
<div
|
|
15
|
+
<div class="relative">
|
|
16
16
|
<div class="relative" :class="label ? 'mt-1' : ''">
|
|
17
17
|
<input
|
|
18
18
|
type="text"
|
|
@@ -101,7 +101,8 @@
|
|
|
101
101
|
<li
|
|
102
102
|
v-if="addAction"
|
|
103
103
|
@mousedown="actionEvent($event)"
|
|
104
|
-
class="
|
|
104
|
+
:class="`${isDropDownRelative ? 'relative' : ''}`"
|
|
105
|
+
class="flex cursor-pointer select-none py-2 pl-3 pr-9 text-indigo-500 hover:bg-indigo-100 hover:text-indigo-700"
|
|
105
106
|
>
|
|
106
107
|
<c-icon
|
|
107
108
|
type="outline"
|
|
@@ -117,8 +118,10 @@
|
|
|
117
118
|
role="option"
|
|
118
119
|
:ref="`option-${String(index)}`"
|
|
119
120
|
@mousedown="handleSelect($event, option)"
|
|
120
|
-
class="
|
|
121
|
-
:class="
|
|
121
|
+
class="cursor-pointer select-none py-2 pl-3 pr-9 text-gray-900 hover:bg-indigo-700 hover:text-white"
|
|
122
|
+
:class="`${
|
|
123
|
+
option.isDisabled ? 'pointer-events-none opacity-50' : ''
|
|
124
|
+
} ${isDropDownRelative ? 'relative' : ''}`"
|
|
122
125
|
>
|
|
123
126
|
<span class="flex items-center">
|
|
124
127
|
<div v-if="option.showImage">
|