@r2digisolutions/ui 0.29.0 → 0.29.2

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.
@@ -179,18 +179,17 @@
179
179
  <div class="relative">
180
180
  <Input
181
181
  type="search"
182
- class="w-full"
182
+ class="w-full pl-8"
183
183
  placeholder="Buscar..."
184
184
  name="search"
185
185
  autofocus
186
186
  value={search}
187
187
  oninput={(e) => (search = e.currentTarget.value)}
188
188
  />
189
- <div class="top absolute left-2">
189
+ <div class="top absolute top-0 bottom-0 left-2 flex items-center justify-center">
190
190
  <Search class="h-4 w-4 text-neutral-400" />
191
191
  </div>
192
192
  </div>
193
-
194
193
  {#if multiple}
195
194
  <div
196
195
  class="flex items-center justify-between text-[11px] text-neutral-500 dark:text-neutral-400"
@@ -27,7 +27,17 @@
27
27
  }
28
28
  }}
29
29
  class={[
30
- 'block h-12 w-full rounded-lg border border-gray-300 px-2 py-3 font-normal transition-colors placeholder:text-gray-400 read-only:border-gray-300 read-only:bg-gray-200 read-only:text-gray-500 focus:border-transparent focus:ring-2 focus:ring-purple-500 disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-600 dark:bg-neutral-900 read-only:dark:border-neutral-700 read-only:dark:bg-neutral-800 read-only:dark:text-gray-400 dark:focus:ring-offset-gray-800',
30
+ 'block h-12 w-full rounded-lg px-3 py-2 text-sm transition-colors outline-none',
31
+ 'border border-neutral-300 bg-neutral-50 text-neutral-900 placeholder:text-neutral-400',
32
+ 'hover:border-neutral-400',
33
+ 'focus:border-purple-500 focus:ring-2 focus:ring-purple-500/30',
34
+ 'disabled:cursor-not-allowed disabled:opacity-50',
35
+ 'read-only:border-neutral-300 read-only:bg-neutral-100 read-only:text-neutral-500',
36
+ 'dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100 dark:placeholder:text-neutral-500',
37
+ 'dark:hover:border-neutral-600',
38
+ 'dark:focus:border-purple-400 dark:focus:ring-purple-400/30',
39
+ 'dark:read-only:border-neutral-700 dark:read-only:bg-neutral-800 dark:read-only:text-neutral-400',
40
+
31
41
  props.class
32
42
  ]}
33
43
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/ui",
3
- "version": "0.29.0",
3
+ "version": "0.29.2",
4
4
  "private": false,
5
5
  "packageManager": "bun@1.3.4",
6
6
  "publishConfig": {