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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.710",
3
+ "version": "0.2.711",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -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 :class="`${isDropDownRelative ? 'relative' : ''}`">
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="absolute z-10 mt-1 w-full rounded-md bg-white shadow-lg"
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 {