y200subcontrols 0.0.3546 → 0.0.3547
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.
|
@@ -30,7 +30,7 @@ let inputCss = `
|
|
|
30
30
|
placeholder:text-sm placeholder:font-thin
|
|
31
31
|
dark:bg-slate-900 dark:text-neutral-100 {numeric ? 'hide-browser-appearance' : ''}
|
|
32
32
|
${!isValid ? "border-pink-600 dark:border-pink-500 focus:ring-pink-600/20 dark:focus:ring-pink-600/40" : "dark:border-slate-600 border-slate-300 focus:ring-teal-500/20 dark:focus:ring-teal-500/30"}
|
|
33
|
-
disabled:text-slate-
|
|
33
|
+
disabled:text-slate-400
|
|
34
34
|
${customCss}`;
|
|
35
35
|
let inputContainer;
|
|
36
36
|
function validateElement(event) {
|
|
@@ -96,7 +96,7 @@ onMount(() => {
|
|
|
96
96
|
type="text"
|
|
97
97
|
{required}
|
|
98
98
|
{autocomplete}
|
|
99
|
-
class="border peer block w-full rounded shadow-sm bg-white text-neutral-900
|
|
99
|
+
class="border peer block w-full rounded shadow-sm bg-white text-neutral-900
|
|
100
100
|
{size === 'sm' ? 'py-1 px-2 text-sm' : ''}
|
|
101
101
|
{size === 'md' ? 'py-1.5 px-2 text-base' : ''}
|
|
102
102
|
{size === 'lg' ? 'py-2 px-2 text-lg' : ''}
|
|
@@ -108,7 +108,7 @@ onMount(() => {
|
|
|
108
108
|
{!isValid
|
|
109
109
|
? 'border-pink-600 dark:border-pink-500 focus:ring-pink-600/20 dark:focus:ring-pink-600/40'
|
|
110
110
|
: 'dark:border-slate-600 border-slate-300 focus:ring-teal-500/20 dark:focus:ring-teal-500/30'}
|
|
111
|
-
disabled:text-slate-
|
|
111
|
+
disabled:text-slate-400
|
|
112
112
|
{customCss}"
|
|
113
113
|
bind:value
|
|
114
114
|
{placeholder}
|