adata-ui 2.1.40-beta.7 → 2.1.40-beta.8
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.
|
@@ -262,7 +262,7 @@ const layoutClass = computed(() => {
|
|
|
262
262
|
|
|
263
263
|
const iconOffsetClass = computed(() => {
|
|
264
264
|
if (!props.label) return ''
|
|
265
|
-
return props.size === 'md' ? '-translate-y-[
|
|
265
|
+
return props.size === 'md' ? '-translate-y-[7px]' : '-translate-y-[5px]'
|
|
266
266
|
})
|
|
267
267
|
|
|
268
268
|
const showClearButton = computed(() =>
|
|
@@ -308,11 +308,11 @@ function rowDisplay(item: T): unknown {
|
|
|
308
308
|
>
|
|
309
309
|
<div
|
|
310
310
|
ref="fieldRef"
|
|
311
|
-
class="input-v2__field text-deepblue-900 relative flex w-full cursor-text items-center gap-2 rounded-[10px] border border-solid
|
|
311
|
+
class="input-v2__field text-deepblue-900 relative flex w-full cursor-text items-center gap-2 rounded-[10px] border border-solid transition-colors duration-200 focus-within:border-blue-600 focus-within:ring-2 focus-within:ring-blue-600/20 hover:border-blue-500 dark:text-gray-200 dark:focus-within:border-blue-400 dark:focus-within:ring-blue-400/20 dark:hover:border-blue-400"
|
|
312
312
|
:class="[
|
|
313
313
|
layoutClass,
|
|
314
314
|
fieldClass,
|
|
315
|
-
startIcon ? 'pl-3' : '',
|
|
315
|
+
startIcon ? 'pl-3' : 'pl-4',
|
|
316
316
|
clearable || endIcon || loading || $slots.endButton ? 'pr-3' : 'pr-4',
|
|
317
317
|
{ 'input-v2__field--error': hasError, 'input-v2__field--disabled': disabled },
|
|
318
318
|
]"
|