y200subcontrols 0.0.3544 → 0.0.3546
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,6 +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-500
|
|
33
34
|
${customCss}`;
|
|
34
35
|
let inputContainer;
|
|
35
36
|
function validateElement(event) {
|
|
@@ -107,6 +108,7 @@ onMount(() => {
|
|
|
107
108
|
{!isValid
|
|
108
109
|
? 'border-pink-600 dark:border-pink-500 focus:ring-pink-600/20 dark:focus:ring-pink-600/40'
|
|
109
110
|
: 'dark:border-slate-600 border-slate-300 focus:ring-teal-500/20 dark:focus:ring-teal-500/30'}
|
|
111
|
+
disabled:text-slate-500
|
|
110
112
|
{customCss}"
|
|
111
113
|
bind:value
|
|
112
114
|
{placeholder}
|