ketekny-ui-kit 1.0.121 → 1.0.122

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/ui/kSearch.vue +17 -15
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ketekny-ui-kit",
3
3
  "type": "module",
4
- "version": "1.0.121",
4
+ "version": "1.0.122",
5
5
  "description": "A Vue 3 UI component library with Tailwind CSS styling",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -1,22 +1,24 @@
1
1
  <template>
2
- <div class="relative w-full">
2
+ <div class="w-full">
3
3
  <label v-if="label" :for="inputId" class="mb-1 block text-sm font-medium text-gray-700 dark:text-slate-300">
4
4
  {{ label }}
5
5
  </label>
6
- <input
7
- :id="inputId"
8
- type="text"
9
- v-model="localValue"
10
- @input="onInput"
11
- :class="[defaultStyle, inputClass, disabled ? disabledStyle : '']"
12
- :placeholder="placeholder"
13
- :aria-label="!label ? placeholder : null"
14
- :disabled="disabled"
15
- />
16
- <Search
17
- class="absolute w-4 h-4 -translate-y-1/2 pointer-events-none right-3 top-1/2"
18
- :class="iconClass"
19
- />
6
+ <div class="relative">
7
+ <input
8
+ :id="inputId"
9
+ type="text"
10
+ v-model="localValue"
11
+ @input="onInput"
12
+ :class="[defaultStyle, inputClass, disabled ? disabledStyle : '']"
13
+ :placeholder="placeholder"
14
+ :aria-label="!label ? placeholder : null"
15
+ :disabled="disabled"
16
+ />
17
+ <Search
18
+ class="pointer-events-none absolute right-3 top-1/2 h-5 w-5 -translate-y-1/2"
19
+ :class="iconClass"
20
+ />
21
+ </div>
20
22
  </div>
21
23
  </template>
22
24