@fy-/fws-vue 0.3.2 → 0.3.21
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.
|
@@ -139,7 +139,7 @@ defineExpose({ focus, blur, getInputRef });
|
|
|
139
139
|
:autocomplete="autocomplete"
|
|
140
140
|
:disabled="disabled"
|
|
141
141
|
:aria-describedby="help ? `${id}-help` : id"
|
|
142
|
-
class="block px-2.5 pb-2.5 pt-
|
|
142
|
+
class="block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-fv-neutral-900 bg-fv-neutral-50 dark:bg-fv-neutral-700 border-0 border-b-2 border-fv-neutral-300 appearance-none dark:text-white dark:border-fv-neutral-600 dark:focus:border-fv-primary-500 focus:outline-none focus:ring-0 focus:border-fv-primary-600 peer"
|
|
143
143
|
:required="req"
|
|
144
144
|
@focus="handleFocus"
|
|
145
145
|
@blur="handleBlur"
|
|
@@ -147,7 +147,7 @@ defineExpose({ focus, blur, getInputRef });
|
|
|
147
147
|
<label
|
|
148
148
|
:for="id"
|
|
149
149
|
v-if="label || placeholder"
|
|
150
|
-
class="absolute text-sm text-fv-neutral-500 dark:text-fv-neutral-400 duration-300 transform -translate-y-4 scale-75 top-
|
|
150
|
+
class="absolute text-sm text-fv-neutral-500 dark:text-fv-neutral-400 duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-fv-primary-600 peer-focus:dark:text-fv-primary-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto"
|
|
151
151
|
>{{ label ? label : placeholder }}
|
|
152
152
|
</label>
|
|
153
153
|
</div>
|
|
@@ -253,13 +253,13 @@ defineExpose({ focus, blur, getInputRef });
|
|
|
253
253
|
<div class="ms-2 text-sm">
|
|
254
254
|
<label
|
|
255
255
|
:for="id"
|
|
256
|
-
class="font-medium text-
|
|
256
|
+
class="font-medium text-fv-neutral-900 dark:text-fv-neutral-300"
|
|
257
257
|
>{{ label }}</label
|
|
258
258
|
>
|
|
259
259
|
<p
|
|
260
260
|
:id="`${id}-help`"
|
|
261
261
|
v-if="help"
|
|
262
|
-
class="text-xs font-normal text-
|
|
262
|
+
class="text-xs font-normal text-fv-neutral-500 dark:text-fv-neutral-400"
|
|
263
263
|
>
|
|
264
264
|
{{ help }}
|
|
265
265
|
</p>
|