classcard-ui 0.2.710 → 0.2.711
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 +59 -54
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +59 -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 -2
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"
|
|
@@ -90,7 +90,8 @@
|
|
|
90
90
|
>
|
|
91
91
|
<div
|
|
92
92
|
v-if="toggleDropdown && !isDisabled"
|
|
93
|
-
class="
|
|
93
|
+
:class="isDropDownAbsolute ? 'absolute' : ''"
|
|
94
|
+
class="z-10 mt-1 w-full rounded-md bg-white shadow-lg"
|
|
94
95
|
>
|
|
95
96
|
<ul
|
|
96
97
|
tabindex="-1"
|
|
@@ -254,6 +255,10 @@ export default {
|
|
|
254
255
|
type: Boolean,
|
|
255
256
|
default: true,
|
|
256
257
|
},
|
|
258
|
+
isDropDownAbsolute: {
|
|
259
|
+
type: Boolean,
|
|
260
|
+
default: true,
|
|
261
|
+
},
|
|
257
262
|
},
|
|
258
263
|
data() {
|
|
259
264
|
return {
|