classcard-ui 0.2.809 → 0.2.811

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.809",
3
+ "version": "0.2.811",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -11,9 +11,8 @@
11
11
  </div>
12
12
  <span v-if="hint" class="text-sm text-gray-500">{{ hint }}</span>
13
13
  </div>
14
-
15
14
  <div class="relative">
16
- <div class="relative" :class="label ? 'mt-1' : ''">
15
+ <div :class="label ? 'mt-1' : ''">
17
16
  <input
18
17
  type="text"
19
18
  v-model="selectSearch"
@@ -23,8 +22,8 @@
23
22
  aria-haspopup="listbox"
24
23
  aria-expanded="true"
25
24
  aria-labelledby="listbox-label"
25
+ class="w-full cursor-pointer rounded-md py-2 pl-2 pr-10 text-left text-sm focus:ring-0 disabled:opacity-50 sm:text-sm"
26
26
  :class="{ ...classes, [inputClasses]: true }"
27
- class="relative w-full cursor-pointer rounded-md py-2 pl-3 pr-10 text-left text-sm focus:outline-none disabled:opacity-50 sm:text-sm"
28
27
  :disabled="isDisabled"
29
28
  autocomplete="off"
30
29
  />
@@ -49,7 +48,7 @@
49
48
  ></c-avatar>
50
49
  </div>
51
50
  <c-icon
52
- v-if="icon && !showImage"
51
+ v-if="icon && !showImage && !selectSearch"
53
52
  :class="icon.class"
54
53
  :name="icon.name"
55
54
  :type="icon.type"
@@ -35,7 +35,10 @@ Default.args = {
35
35
  value: null,
36
36
  renderOptionName: "code",
37
37
  options: [
38
- { code: "one", value: "onee2" },
38
+ {
39
+ code: "one",
40
+ value: "onee2",
41
+ },
39
42
  { code: "one1", value: "onee4" },
40
43
  { code: "one2", value: "onee1" },
41
44
  { code: "one3", value: "onee5" },