@still-void/ui 3.4.0 → 3.5.0
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.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -0
- package/dist/react/client/index.cjs +170 -55
- package/dist/react/client/index.cjs.map +1 -1
- package/dist/react/client/index.d.cts +43 -1
- package/dist/react/client/index.d.ts +43 -1
- package/dist/react/client/index.js +160 -55
- package/dist/react/client/index.js.map +1 -1
- package/dist/react/index.cjs +12 -8
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +10 -8
- package/dist/react/index.d.ts +10 -8
- package/dist/react/index.js +12 -8
- package/dist/react/index.js.map +1 -1
- package/dist/style.css +94 -1
- package/dist/tailwind.css +1 -0
- package/dist/theme.css +29 -8
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare const colors: {
|
|
|
14
14
|
readonly surface2: "#1C1C22";
|
|
15
15
|
readonly border: "rgba(255,255,255,0.08)";
|
|
16
16
|
readonly borderStrong: "rgba(255,255,255,0.14)";
|
|
17
|
+
readonly controlBorder: "#6B6B76";
|
|
17
18
|
readonly text: "#EDEDF0";
|
|
18
19
|
readonly text2: "#8B8B96";
|
|
19
20
|
readonly text3: "#83838F";
|
|
@@ -25,6 +26,7 @@ declare const colors: {
|
|
|
25
26
|
readonly surface2: "#F2F2EF";
|
|
26
27
|
readonly border: "rgba(0,0,0,0.08)";
|
|
27
28
|
readonly borderStrong: "rgba(0,0,0,0.14)";
|
|
29
|
+
readonly controlBorder: "#85858E";
|
|
28
30
|
readonly text: "#16161B";
|
|
29
31
|
readonly text2: "#5A5A66";
|
|
30
32
|
readonly text3: "#6D6D76";
|
|
@@ -52,10 +54,10 @@ declare const accentsInk: {
|
|
|
52
54
|
readonly amber: "oklch(0.78 0.12 75)";
|
|
53
55
|
};
|
|
54
56
|
readonly light: {
|
|
55
|
-
readonly cyan: "oklch(0.
|
|
56
|
-
readonly violet: "oklch(0.
|
|
57
|
-
readonly mint: "oklch(0.
|
|
58
|
-
readonly amber: "oklch(0.
|
|
57
|
+
readonly cyan: "oklch(0.515 0.09 210)";
|
|
58
|
+
readonly violet: "oklch(0.535 0.14 295)";
|
|
59
|
+
readonly mint: "oklch(0.515 0.1 160)";
|
|
60
|
+
readonly amber: "oklch(0.53 0.11 75)";
|
|
59
61
|
};
|
|
60
62
|
};
|
|
61
63
|
/**
|
|
@@ -86,10 +88,10 @@ declare const semanticInk: {
|
|
|
86
88
|
readonly warning: "oklch(0.78 0.12 75)";
|
|
87
89
|
};
|
|
88
90
|
readonly light: {
|
|
89
|
-
readonly danger: "oklch(0.
|
|
90
|
-
readonly success: "oklch(0.
|
|
91
|
-
readonly info: "oklch(0.
|
|
92
|
-
readonly warning: "oklch(0.
|
|
91
|
+
readonly danger: "oklch(0.535 0.19 25)";
|
|
92
|
+
readonly success: "oklch(0.51 0.14 150)";
|
|
93
|
+
readonly info: "oklch(0.515 0.09 210)";
|
|
94
|
+
readonly warning: "oklch(0.53 0.11 75)";
|
|
93
95
|
};
|
|
94
96
|
};
|
|
95
97
|
type ThemeMode = keyof typeof colors;
|
package/dist/react/index.js
CHANGED
|
@@ -216,6 +216,9 @@ var colors = {
|
|
|
216
216
|
surface2: "#1C1C22",
|
|
217
217
|
border: "rgba(255,255,255,0.08)",
|
|
218
218
|
borderStrong: "rgba(255,255,255,0.14)",
|
|
219
|
+
// WCAG 1.4.11: edge of an input/select/checkbox must read ≥3:1 on every surface; the
|
|
220
|
+
// decorative borders above sit near 1.5:1 and stay decorative.
|
|
221
|
+
controlBorder: "#6B6B76",
|
|
219
222
|
text: "#EDEDF0",
|
|
220
223
|
text2: "#8B8B96",
|
|
221
224
|
// Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for
|
|
@@ -229,6 +232,7 @@ var colors = {
|
|
|
229
232
|
surface2: "#F2F2EF",
|
|
230
233
|
border: "rgba(0,0,0,0.08)",
|
|
231
234
|
borderStrong: "rgba(0,0,0,0.14)",
|
|
235
|
+
controlBorder: "#85858E",
|
|
232
236
|
text: "#16161B",
|
|
233
237
|
text2: "#5A5A66",
|
|
234
238
|
// Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.
|
|
@@ -252,10 +256,10 @@ var accentsInk = {
|
|
|
252
256
|
amber: "oklch(0.78 0.12 75)"
|
|
253
257
|
},
|
|
254
258
|
light: {
|
|
255
|
-
cyan: "oklch(0.
|
|
256
|
-
violet: "oklch(0.
|
|
257
|
-
mint: "oklch(0.
|
|
258
|
-
amber: "oklch(0.
|
|
259
|
+
cyan: "oklch(0.515 0.09 210)",
|
|
260
|
+
violet: "oklch(0.535 0.14 295)",
|
|
261
|
+
mint: "oklch(0.515 0.1 160)",
|
|
262
|
+
amber: "oklch(0.53 0.11 75)"
|
|
259
263
|
}
|
|
260
264
|
};
|
|
261
265
|
var semantic = {
|
|
@@ -280,10 +284,10 @@ var semanticInk = {
|
|
|
280
284
|
warning: "oklch(0.78 0.12 75)"
|
|
281
285
|
},
|
|
282
286
|
light: {
|
|
283
|
-
danger: "oklch(0.
|
|
284
|
-
success: "oklch(0.
|
|
285
|
-
info: "oklch(0.
|
|
286
|
-
warning: "oklch(0.
|
|
287
|
+
danger: "oklch(0.535 0.19 25)",
|
|
288
|
+
success: "oklch(0.51 0.14 150)",
|
|
289
|
+
info: "oklch(0.515 0.09 210)",
|
|
290
|
+
warning: "oklch(0.53 0.11 75)"
|
|
287
291
|
}
|
|
288
292
|
};
|
|
289
293
|
var themeModes = Object.keys(colors);
|