noph-ui 0.26.9 → 0.26.11
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.
|
@@ -92,6 +92,9 @@
|
|
|
92
92
|
{required}
|
|
93
93
|
id={selectId}
|
|
94
94
|
aria-invalid={error}
|
|
95
|
+
aria-describedby={supportingText || (errorTextRaw && errorRaw)
|
|
96
|
+
? `supporting-text-${uid}`
|
|
97
|
+
: undefined}
|
|
95
98
|
bind:value
|
|
96
99
|
{...attributes}
|
|
97
100
|
class="np-select"
|
|
@@ -99,7 +102,7 @@
|
|
|
99
102
|
{@render children?.()}
|
|
100
103
|
</select>
|
|
101
104
|
{#if supportingText || (errorTextRaw && errorRaw)}
|
|
102
|
-
<div class="supporting-text" role={errorRaw ? 'alert' : undefined}>
|
|
105
|
+
<div id="supporting-text-{uid}" class="supporting-text" role={errorRaw ? 'alert' : undefined}>
|
|
103
106
|
{errorRaw && errorTextRaw ? errorTextRaw : supportingText}
|
|
104
107
|
</div>
|
|
105
108
|
{/if}
|
|
@@ -674,6 +674,11 @@
|
|
|
674
674
|
line-height: 1.5rem;
|
|
675
675
|
width: min-content;
|
|
676
676
|
}
|
|
677
|
+
|
|
678
|
+
.field:hover .label {
|
|
679
|
+
color: var(--np-color-on-surface);
|
|
680
|
+
}
|
|
681
|
+
|
|
677
682
|
.field:has(input:focus-visible) .label,
|
|
678
683
|
.field:has(textarea:focus-visible) .label {
|
|
679
684
|
color: var(--_label-text-color, var(--np-color-primary));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "noph-ui",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://noph.dev",
|
|
6
6
|
"repository": {
|
|
@@ -54,26 +54,26 @@
|
|
|
54
54
|
"svelte": "^5.32.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@eslint/js": "^9.
|
|
57
|
+
"@eslint/js": "^9.36.0",
|
|
58
58
|
"@material/material-color-utilities": "^0.3.0",
|
|
59
59
|
"@playwright/test": "^1.55.0",
|
|
60
|
-
"@sveltejs/adapter-
|
|
61
|
-
"@sveltejs/kit": "^2.
|
|
62
|
-
"@sveltejs/package": "^2.5.
|
|
60
|
+
"@sveltejs/adapter-auto": "^6.1.0",
|
|
61
|
+
"@sveltejs/kit": "^2.43.1",
|
|
62
|
+
"@sveltejs/package": "^2.5.3",
|
|
63
63
|
"@sveltejs/vite-plugin-svelte": "^6.2.0",
|
|
64
64
|
"@types/eslint": "^9.6.1",
|
|
65
|
-
"eslint": "^9.
|
|
65
|
+
"eslint": "^9.36.0",
|
|
66
66
|
"eslint-config-prettier": "^10.1.8",
|
|
67
|
-
"eslint-plugin-svelte": "^3.12.
|
|
67
|
+
"eslint-plugin-svelte": "^3.12.4",
|
|
68
68
|
"globals": "^16.4.0",
|
|
69
69
|
"prettier": "^3.6.2",
|
|
70
70
|
"prettier-plugin-svelte": "^3.4.0",
|
|
71
71
|
"publint": "^0.3.13",
|
|
72
|
-
"svelte": "^5.39.
|
|
73
|
-
"svelte-check": "^4.3.
|
|
72
|
+
"svelte": "^5.39.4",
|
|
73
|
+
"svelte-check": "^4.3.2",
|
|
74
74
|
"typescript": "^5.9.2",
|
|
75
|
-
"typescript-eslint": "^8.44.
|
|
76
|
-
"vite": "^7.1.
|
|
75
|
+
"typescript-eslint": "^8.44.1",
|
|
76
|
+
"vite": "^7.1.7",
|
|
77
77
|
"vitest": "^3.2.4"
|
|
78
78
|
},
|
|
79
79
|
"svelte": "./dist/index.js",
|