boreal-ui 0.0.892 → 0.0.894

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.
Files changed (33) hide show
  1. package/dist/core/{Footer-CmpLvoZb.cjs → Footer-CqEL5lCo.cjs} +1 -1
  2. package/dist/core/{Footer-CoFPqecX.js → Footer-W9ItlBXS.js} +1 -1
  3. package/dist/core/Footer.cjs.js +1 -1
  4. package/dist/core/Footer.js +1 -1
  5. package/dist/core/ThemeContext-BNZ28nPu.cjs +1 -0
  6. package/dist/core/ThemeContext-wbHzxDs2.js +367 -0
  7. package/dist/core/ThemeProvider.cjs.js +1 -1
  8. package/dist/core/ThemeProvider.js +1 -1
  9. package/dist/core/ThemeSelect-B7LNF0B5.cjs +1 -0
  10. package/dist/core/ThemeSelect-C8cxeht_.js +71 -0
  11. package/dist/core/ThemeSelect.cjs.js +1 -1
  12. package/dist/core/ThemeSelect.js +1 -1
  13. package/dist/core/index.cjs.js +1 -1
  14. package/dist/core/index.js +3 -3
  15. package/dist/next/{Footer-D78Lzvjg.js → Footer-1gaUlUeU.js} +1 -1
  16. package/dist/next/Footer.js +1 -1
  17. package/dist/next/{NextThemeProvider-NpALBYoC.js → NextThemeProvider-Dy9dtA1A.js} +1 -1
  18. package/dist/next/ThemeContext-BdDCc3xM.js +367 -0
  19. package/dist/next/ThemeProvider.js +2 -2
  20. package/dist/next/ThemeSelect-8AG_tLAW.js +72 -0
  21. package/dist/next/ThemeSelect.js +1 -1
  22. package/dist/next/index.js +4 -4
  23. package/dist/tsconfig.build.tsbuildinfo +1 -1
  24. package/dist/types/context/ThemeContext.d.ts.map +1 -1
  25. package/dist/types/context/ThemeContext.types.d.ts +5 -1
  26. package/dist/types/context/ThemeContext.types.d.ts.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/core/ThemeContext-D1VVOPG1.cjs +0 -1
  29. package/dist/core/ThemeContext-DRXOWRyX.js +0 -342
  30. package/dist/core/ThemeSelect-CPpf-wbN.cjs +0 -1
  31. package/dist/core/ThemeSelect-DxmyeZm_.js +0 -71
  32. package/dist/next/ThemeContext-19HbcfZg.js +0 -342
  33. package/dist/next/ThemeSelect-BdFqSfT_.js +0 -72
@@ -1,5 +1,5 @@
1
1
  import "./globals.js";
2
- import { T as Z, a as ee, g as te } from "./ThemeContext-DRXOWRyX.js";
2
+ import { T as Z, a as ee, g as te } from "./ThemeContext-wbHzxDs2.js";
3
3
  import { registerColorScheme as re } from "./registerColorScheme.js";
4
4
  import { defaultColorSchemes as se } from "./colorSchemes.js";
5
5
  import { i as oe, j as le, s as de } from "./boreal-style-config-rYvfCHLY.js";
@@ -10,7 +10,7 @@ import { S as me } from "./ScrollToTop-B5Db9dTW.js";
10
10
  import { T as qe } from "./TextInput-6X1gVpit.js";
11
11
  import { T as we } from "./TextArea-DGt2Gg8V.js";
12
12
  import { S as ke } from "./Select-BtEKKotT.js";
13
- import { U as xe } from "./ThemeSelect-DxmyeZm_.js";
13
+ import { U as xe } from "./ThemeSelect-C8cxeht_.js";
14
14
  import { F as Ae } from "./FileUpload-qZoUPMhI.js";
15
15
  import { T as Ce } from "./TagInput-HtNd4Geh.js";
16
16
  import { a as Se, R as Ne } from "./RadioGroup-D1nlf4NZ.js";
@@ -33,7 +33,7 @@ import { T as pt } from "./Tooltip-B7qNyJVE.js";
33
33
  import { M as ft } from "./MessagePopup-BVffuAo9.js";
34
34
  import { P as gt } from "./PopOver-wXCdMjo1.js";
35
35
  import { N as yt } from "./NavBar-BRHva7SR.js";
36
- import { F as bt } from "./Footer-CoFPqecX.js";
36
+ import { F as bt } from "./Footer-W9ItlBXS.js";
37
37
  import { B as vt } from "./Breadcrumbs-BbKsTJYG.js";
38
38
  import { T as Vt } from "./Tabs-Blwnvx8m.js";
39
39
  import { S as Tt } from "./Stepper-GCqlEAH7.js";
@@ -7,7 +7,7 @@ import { c as o } from "./classNames-Dz0_huu_.js";
7
7
  import { g as Pt, f as Ut } from "./boreal-style-config-rYvfCHLY.js";
8
8
  import { c as T } from "./capitalize-D_pj4b3P.js";
9
9
  import { I as Rt } from "./IconButton-DZg1dNRI.js";
10
- import { U as Wt } from "./ThemeSelect-BdFqSfT_.js";
10
+ import { U as Wt } from "./ThemeSelect-8AG_tLAW.js";
11
11
  import './Footer.css';const j = (_) => _.toLowerCase().trim().replace(/\s+/g, "-"), st = ({
12
12
  theme: _ = Pt(),
13
13
  glass: h = Ut(),
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { F as f } from "./Footer-D78Lzvjg.js";
2
+ import { F as f } from "./Footer-1gaUlUeU.js";
3
3
  export {
4
4
  f as default
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { a as o } from "./ThemeContext-19HbcfZg.js";
2
+ import { a as o } from "./ThemeContext-BdDCc3xM.js";
3
3
  function i(e) {
4
4
  return /* @__PURE__ */ r(o, { enableThemeScript: !1, ...e });
5
5
  }
@@ -0,0 +1,367 @@
1
+ import { jsxs as z, jsx as P } from "react/jsx-runtime";
2
+ import { useMemo as T, useCallback as k, useState as F, useEffect as I, useInsertionEffect as B, createContext as D } from "react";
3
+ import { c as H } from "./boreal-style-config-rYvfCHLY.js";
4
+ import { defaultColorSchemes as G } from "./colorSchemes.js";
5
+ const b = "boreal:selectedSchemeName", N = "boreal:theme-change", w = 4.5, _ = 3;
6
+ function K(t, e = []) {
7
+ const r = [...t];
8
+ for (const o of e) {
9
+ const n = r.findIndex((c) => c.name === o.name);
10
+ n >= 0 ? r[n] = o : r.push(o);
11
+ }
12
+ return r;
13
+ }
14
+ function x(t, e) {
15
+ return e ? t.findIndex((r) => r.name === e) : -1;
16
+ }
17
+ function J({
18
+ customSchemes: t = [],
19
+ useOnlyCustomSchemes: e = !1
20
+ }) {
21
+ return e ? [...t] : K([...G], t);
22
+ }
23
+ function U(t, {
24
+ initialSchemeName: e,
25
+ savedSchemeName: r
26
+ }) {
27
+ const o = x(t, e), n = x(t, r), c = x(t, H());
28
+ return o !== -1 ? o : n !== -1 ? n : c !== -1 ? c : 0;
29
+ }
30
+ function E(t) {
31
+ if (!t) return null;
32
+ try {
33
+ return t.getItem(b);
34
+ } catch {
35
+ return console.error("Failed to load saved theme name"), null;
36
+ }
37
+ }
38
+ function W(t, e) {
39
+ if (!t) return !1;
40
+ try {
41
+ return t.getItem(b) === e ? !1 : (t.setItem(b, e), !0);
42
+ } catch {
43
+ return console.error("Failed to save theme name"), !1;
44
+ }
45
+ }
46
+ function X(t, e = typeof window > "u" ? void 0 : window) {
47
+ e && e.dispatchEvent(
48
+ new CustomEvent(N, {
49
+ detail: { schemeName: t }
50
+ })
51
+ );
52
+ }
53
+ function j(t) {
54
+ const e = t.trim(), r = /^#([\da-f])([\da-f])([\da-f])$/i.exec(e);
55
+ return r ? `#${r[1]}${r[1]}${r[2]}${r[2]}${r[3]}${r[3]}`.toLowerCase() : /^#[\da-f]{6}([\da-f]{2})?$/i.exec(e) ? e.slice(0, 7).toLowerCase() : null;
56
+ }
57
+ function $(t) {
58
+ const e = j(t) ?? "#000000", r = parseInt(e.slice(1, 3), 16) / 255, o = parseInt(e.slice(3, 5), 16) / 255, n = parseInt(e.slice(5, 7), 16) / 255, c = Math.max(r, o, n), i = Math.min(r, o, n);
59
+ let a = 0, l = 0;
60
+ const h = (c + i) / 2;
61
+ if (c !== i) {
62
+ const u = c - i;
63
+ switch (l = h > 0.5 ? u / (2 - c - i) : u / (c + i), c) {
64
+ case r:
65
+ a = (o - n) / u + (o < n ? 6 : 0);
66
+ break;
67
+ case o:
68
+ a = (n - r) / u + 2;
69
+ break;
70
+ case n:
71
+ a = (r - o) / u + 4;
72
+ break;
73
+ }
74
+ a /= 6;
75
+ }
76
+ return {
77
+ h: Math.round(a * 360),
78
+ s: Math.round(l * 100),
79
+ l: Math.round(h * 100)
80
+ };
81
+ }
82
+ function L(t, e, r) {
83
+ e /= 100, r /= 100;
84
+ const o = (i) => (i + t / 30) % 12, n = e * Math.min(r, 1 - r), c = (i) => Math.round(
85
+ 255 * (r - n * Math.max(-1, Math.min(o(i) - 3, Math.min(9 - o(i), 1))))
86
+ );
87
+ return `#${[c(0), c(8), c(4)].map((i) => i.toString(16).padStart(2, "0")).join("")}`;
88
+ }
89
+ function y(t, e) {
90
+ const { h: r, s: o, l: n } = $(t);
91
+ return L(r, o, Math.min(100, Math.max(0, n + e)));
92
+ }
93
+ function A(t) {
94
+ const e = j(t) ?? "#000000", r = [1, 3, 5].map((o) => {
95
+ const n = parseInt(e.slice(o, o + 2), 16) / 255;
96
+ return n <= 0.03928 ? n / 12.92 : Math.pow((n + 0.055) / 1.055, 2.4);
97
+ });
98
+ return 0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2];
99
+ }
100
+ function g(t, e) {
101
+ const r = A(t), o = A(e), n = Math.max(r, o), c = Math.min(r, o);
102
+ return (n + 0.05) / (c + 0.05);
103
+ }
104
+ function C(t, e, r = w) {
105
+ if (e && g(t, e) >= r)
106
+ return e;
107
+ const o = g(t, "#000000"), n = g(t, "#ffffff");
108
+ return o >= n ? "#000000" : "#ffffff";
109
+ }
110
+ function Y(t, e, r) {
111
+ const o = y(e, r);
112
+ return g(t, o) >= w ? o : e;
113
+ }
114
+ function O(t, e) {
115
+ const r = e === "#000000" ? 1 : -1;
116
+ for (let o = 30; o >= 0; o -= 5) {
117
+ const n = y(e, o * r);
118
+ if (g(t, n) >= w)
119
+ return n;
120
+ }
121
+ return e;
122
+ }
123
+ function p(t, e, r) {
124
+ const o = y(t, r);
125
+ if (g(o, e) >= w)
126
+ return o;
127
+ const { h: n, s: c, l: i } = $(t), a = e === "#ffffff";
128
+ for (let l = 4; l <= 48; l += 4) {
129
+ const h = a ? Math.max(0, i - l) : Math.min(100, i + l), u = L(n, c, h);
130
+ if (g(u, e) >= w)
131
+ return u;
132
+ }
133
+ return t;
134
+ }
135
+ function M(t, e = 14, r = 14) {
136
+ const { h: o, s: n, l: c } = $(t), i = c >= 50 ? Math.max(0, c - r) : Math.min(100, c + e), a = n > 8 ? Math.max(0, n - 8) : n, l = L(o, a, i);
137
+ return g(t, l) >= _ ? l : C(t, void 0, _);
138
+ }
139
+ function Q(t) {
140
+ const {
141
+ primaryColor: e,
142
+ secondaryColor: r,
143
+ tertiaryColor: o,
144
+ quaternaryColor: n,
145
+ backgroundColor: c,
146
+ forceTextColor: i
147
+ } = t, a = C(c, i), l = C(e, i), h = C(r), u = C(o), v = C(n);
148
+ return {
149
+ "--primary-color": e,
150
+ "--primary-color-light": y(e, 10),
151
+ "--primary-color-hover": p(
152
+ e,
153
+ l,
154
+ -10
155
+ ),
156
+ "--text-color-primary": l,
157
+ "--text-color-primary-contrast": a,
158
+ "--text-color": a,
159
+ "--text-color-light": O(c, a),
160
+ "--text-color-lighter": O(
161
+ c,
162
+ a
163
+ ),
164
+ "--secondary-color": r,
165
+ "--secondary-color-light": y(r, 10),
166
+ "--secondary-color-hover": p(
167
+ r,
168
+ h,
169
+ -10
170
+ ),
171
+ "--text-color-secondary": h,
172
+ "--tertiary-color": o,
173
+ "--tertiary-color-light": y(o, 10),
174
+ "--tertiary-color-hover": p(
175
+ o,
176
+ u,
177
+ -10
178
+ ),
179
+ "--text-color-tertiary": u,
180
+ "--quaternary-color": n,
181
+ "--quaternary-color-light": y(n, 10),
182
+ "--quaternary-color-hover": p(
183
+ n,
184
+ v,
185
+ -10
186
+ ),
187
+ "--text-color-quaternary": v,
188
+ "--background-color": c,
189
+ "--background-color-dark": y(c, -10),
190
+ "--background-color-darker": y(c, -25),
191
+ "--background-color-light": y(c, 10),
192
+ "--background-color-lighter": y(c, 20),
193
+ "--link-color": a,
194
+ "--link-hover-color": Y(
195
+ c,
196
+ a,
197
+ a === "#ffffff" ? -20 : 20
198
+ ),
199
+ "--link-hover-color-primary": p(
200
+ e,
201
+ l,
202
+ -10
203
+ ),
204
+ "--link-hover-color-secondary": p(
205
+ r,
206
+ h,
207
+ -10
208
+ ),
209
+ "--link-hover-color-tertiary": p(
210
+ o,
211
+ u,
212
+ -10
213
+ ),
214
+ "--link-hover-color-quaternary": p(
215
+ n,
216
+ v,
217
+ -10
218
+ ),
219
+ "--focus-outline-color": a,
220
+ "--divider-color": M(c),
221
+ "--border-color": M(c),
222
+ "--border-color-subtle": M(c, 10, 10),
223
+ "--border-color-strong": M(c, 20, 20)
224
+ };
225
+ }
226
+ function Z(t, e) {
227
+ for (const [r, o] of Object.entries(e))
228
+ t.setProperty(r, o);
229
+ }
230
+ function ee(t, e = document) {
231
+ Z(
232
+ e.documentElement.style,
233
+ Q(t)
234
+ ), e.documentElement.dataset.borealTheme = t.name;
235
+ }
236
+ function te({
237
+ customSchemes: t = [],
238
+ initialSchemeName: e,
239
+ useOnlyCustomSchemes: r = !1
240
+ } = {}) {
241
+ const o = J({ customSchemes: t, useOnlyCustomSchemes: r }), n = H();
242
+ return `(function(){try{var s=${JSON.stringify(o).replace(/</g, "\\u003c")};var k=${JSON.stringify(b)};var initial=${JSON.stringify(e ?? null)};var fallback=${JSON.stringify(n)};var saved=null;try{saved=localStorage.getItem(k)}catch(e){}var name=initial||saved||fallback;var scheme=s.find(function(x){return x.name===name})||s.find(function(x){return x.name===fallback})||s[0];if(!scheme)return;var d=document.documentElement.style;var hex=function(v){v=String(v||"").trim();var m=/^#([\\da-f])([\\da-f])([\\da-f])$/i.exec(v);if(m)return("#"+m[1]+m[1]+m[2]+m[2]+m[3]+m[3]).toLowerCase();return /^#[\\da-f]{6}([\\da-f]{2})?$/i.test(v)?v.slice(0,7).toLowerCase():"#000000"};var lum=function(v){v=hex(v);var r=[1,3,5].map(function(i){var c=parseInt(v.slice(i,i+2),16)/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)});return .2126*r[0]+.7152*r[1]+.0722*r[2]};var contrast=function(a,b){var x=lum(a),y=lum(b),l=Math.max(x,y),q=Math.min(x,y);return(l+.05)/(q+.05)};var text=function(bg,preferred,min){min=min||4.5;if(preferred&&contrast(bg,preferred)>=min)return preferred;return contrast(bg,"#000000")>=contrast(bg,"#ffffff")?"#000000":"#ffffff"};var set=function(n,v){d.setProperty(n,v)};var page=text(scheme.backgroundColor,scheme.forceTextColor);set("--primary-color",scheme.primaryColor);set("--secondary-color",scheme.secondaryColor);set("--tertiary-color",scheme.tertiaryColor);set("--quaternary-color",scheme.quaternaryColor);set("--background-color",scheme.backgroundColor);set("--text-color",page);set("--text-color-primary",text(scheme.primaryColor,scheme.forceTextColor));set("--text-color-primary-contrast",page);set("--text-color-secondary",text(scheme.secondaryColor));set("--text-color-tertiary",text(scheme.tertiaryColor));set("--text-color-quaternary",text(scheme.quaternaryColor));set("--link-color",page);set("--focus-outline-color",page);document.documentElement.dataset.borealTheme=scheme.name}catch(e){}})();`;
243
+ }
244
+ const re = D(
245
+ void 0
246
+ ), se = ({
247
+ children: t,
248
+ customSchemes: e = [],
249
+ enableThemeScript: r = !0,
250
+ initialSchemeName: o,
251
+ useOnlyCustomSchemes: n = !1
252
+ }) => {
253
+ const c = T(
254
+ () => JSON.stringify(e ?? []),
255
+ [e]
256
+ ), i = T(() => {
257
+ try {
258
+ const s = JSON.parse(c);
259
+ if (Array.isArray(s))
260
+ return s;
261
+ } catch {
262
+ console.error("Failed to parse custom schemes");
263
+ }
264
+ return [];
265
+ }, [c]), a = T(
266
+ () => J({
267
+ customSchemes: i,
268
+ useOnlyCustomSchemes: n
269
+ }),
270
+ [i, n]
271
+ ), l = k(
272
+ (s) => {
273
+ var f, d;
274
+ const m = U(a, {
275
+ initialSchemeName: o,
276
+ savedSchemeName: s
277
+ });
278
+ return ((f = a[m]) == null ? void 0 : f.name) ?? ((d = a[0]) == null ? void 0 : d.name) ?? "";
279
+ },
280
+ [o, a]
281
+ ), [h, u] = F(
282
+ () => l(
283
+ typeof window > "u" ? null : E(window.localStorage)
284
+ )
285
+ ), v = T(() => {
286
+ const s = x(a, h);
287
+ return s === -1 ? 0 : s;
288
+ }, [a, h]), R = k(
289
+ (s) => {
290
+ u((m) => {
291
+ const f = typeof s == "function" ? s(m) : s;
292
+ return x(a, f) === -1 ? m : f;
293
+ });
294
+ },
295
+ [a]
296
+ ), V = k(
297
+ (s) => {
298
+ u((m) => {
299
+ var S;
300
+ const f = x(a, m), d = typeof s == "function" ? s(f === -1 ? 0 : f) : s;
301
+ return ((S = a[d]) == null ? void 0 : S.name) ?? m;
302
+ });
303
+ },
304
+ [a]
305
+ );
306
+ return I(() => {
307
+ const s = typeof window > "u" ? null : E(window.localStorage), m = x(a, s), f = l(s);
308
+ u((d) => o ? f : m !== -1 ? s : x(a, d) !== -1 ? d : f);
309
+ }, [o, l, a]), B(() => {
310
+ const s = a[v] ?? a[0];
311
+ !s || typeof document > "u" || ee(s, document);
312
+ }, [v, a]), I(() => {
313
+ if (typeof window > "u") return;
314
+ const s = (d) => {
315
+ x(a, d) !== -1 && u(
316
+ (S) => S === d ? S : d
317
+ );
318
+ }, m = (d) => {
319
+ var q;
320
+ s((q = d.detail) == null ? void 0 : q.schemeName);
321
+ }, f = (d) => {
322
+ d.key === b && s(d.newValue);
323
+ };
324
+ return window.addEventListener(N, m), window.addEventListener("storage", f), s(E(window.localStorage)), () => {
325
+ window.removeEventListener(N, m), window.removeEventListener("storage", f);
326
+ };
327
+ }, [a]), I(() => {
328
+ const s = a[v] ?? a[0];
329
+ if (!s) return;
330
+ W(
331
+ typeof window > "u" ? void 0 : window.localStorage,
332
+ s.name
333
+ ) && X(s.name);
334
+ }, [v, a]), /* @__PURE__ */ z(
335
+ re.Provider,
336
+ {
337
+ value: {
338
+ selectedScheme: v,
339
+ selectedSchemeName: h,
340
+ setSelectedScheme: V,
341
+ setSelectedSchemeName: R,
342
+ schemes: a
343
+ },
344
+ children: [
345
+ r ? /* @__PURE__ */ P(
346
+ "script",
347
+ {
348
+ dangerouslySetInnerHTML: {
349
+ __html: te({
350
+ customSchemes: i,
351
+ initialSchemeName: o,
352
+ useOnlyCustomSchemes: n
353
+ })
354
+ },
355
+ suppressHydrationWarning: !0
356
+ }
357
+ ) : null,
358
+ t
359
+ ]
360
+ }
361
+ );
362
+ };
363
+ export {
364
+ re as T,
365
+ se as a,
366
+ te as g
367
+ };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { N as i } from "./NextThemeProvider-NpALBYoC.js";
3
- import { g as t } from "./ThemeContext-19HbcfZg.js";
2
+ import { N as i } from "./NextThemeProvider-Dy9dtA1A.js";
3
+ import { g as t } from "./ThemeContext-BdDCc3xM.js";
4
4
  export {
5
5
  i as ThemeProvider,
6
6
  t as getThemeInitializationScript
@@ -0,0 +1,72 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as q, useContext as R, useMemo as j } from "react";
3
+ import "./globals.js";
4
+ import { g as E, a as M, b as P } from "./boreal-style-config-rYvfCHLY.js";
5
+ import { S as W } from "./Select-BJoe21vP.js";
6
+ import { T as k } from "./ThemeContext-BdDCc3xM.js";
7
+ const z = q(
8
+ ({
9
+ theme: n = E(),
10
+ glass: o,
11
+ shadow: s = M(),
12
+ rounding: m = P(),
13
+ state: l = "",
14
+ "data-testid": d,
15
+ testId: c = d ?? "theme-select",
16
+ "aria-label": h = "Select Theme",
17
+ "aria-description": f,
18
+ "aria-labelledby": p,
19
+ "aria-describedby": u,
20
+ "aria-invalid": b,
21
+ "aria-required": g,
22
+ disabled: S,
23
+ label: T,
24
+ labelPosition: x,
25
+ name: v,
26
+ id: C
27
+ }, w) => {
28
+ const t = R(k);
29
+ if (!t)
30
+ throw new Error("ThemeContext is undefined. Wrap with ThemeProvider.");
31
+ const { selectedSchemeName: y, setSelectedSchemeName: N, schemes: a } = t, D = j(
32
+ () => a.map((e) => ({
33
+ value: e.name,
34
+ label: e.name
35
+ })),
36
+ [a]
37
+ );
38
+ return /* @__PURE__ */ i("div", { className: "control-container", children: /* @__PURE__ */ i(
39
+ W,
40
+ {
41
+ ref: w,
42
+ theme: n,
43
+ glass: o,
44
+ state: l,
45
+ shadow: s,
46
+ rounding: m,
47
+ options: D,
48
+ "data-testid": c,
49
+ value: y,
50
+ "aria-label": h,
51
+ "aria-description": f,
52
+ "aria-labelledby": p,
53
+ "aria-describedby": u,
54
+ "aria-invalid": b,
55
+ "aria-required": g,
56
+ disabled: S,
57
+ label: T,
58
+ labelPosition: x,
59
+ name: v,
60
+ id: C,
61
+ onChange: (e) => {
62
+ const r = String(e);
63
+ a.some((U) => U.name === r) && N(r);
64
+ }
65
+ }
66
+ ) });
67
+ }
68
+ );
69
+ z.displayName = "UserThemeSettings";
70
+ export {
71
+ z as U
72
+ };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { U as f } from "./ThemeSelect-BdFqSfT_.js";
2
+ import { U as f } from "./ThemeSelect-8AG_tLAW.js";
3
3
  export {
4
4
  f as default
5
5
  };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "./globals.js";
3
- import { N as Z } from "./NextThemeProvider-NpALBYoC.js";
4
- import { g as te } from "./ThemeContext-19HbcfZg.js";
3
+ import { N as Z } from "./NextThemeProvider-Dy9dtA1A.js";
4
+ import { g as te } from "./ThemeContext-BdDCc3xM.js";
5
5
  import { registerColorScheme as re } from "./registerColorScheme.js";
6
6
  import { defaultColorSchemes as se } from "./colorSchemes.js";
7
7
  import { i as oe, j as le, s as de } from "./boreal-style-config-rYvfCHLY.js";
@@ -12,7 +12,7 @@ import { S as me } from "./ScrollToTop-MaejIn4U.js";
12
12
  import { T as qe } from "./TextInput-BQ5K5T5P.js";
13
13
  import { T as we } from "./TextArea-CN4jvDmU.js";
14
14
  import { S as ke } from "./Select-BJoe21vP.js";
15
- import { U as xe } from "./ThemeSelect-BdFqSfT_.js";
15
+ import { U as xe } from "./ThemeSelect-8AG_tLAW.js";
16
16
  import { F as Ae } from "./FileUpload-5jVycHrE.js";
17
17
  import { T as Ce } from "./TagInput-44YuRj4h.js";
18
18
  import { R as Se } from "./RadioButton-BHoW7U55.js";
@@ -36,7 +36,7 @@ import { T as ct } from "./Tooltip-CEclPNYV.js";
36
36
  import { M as ut } from "./MessagePopup-BIgiY8CG.js";
37
37
  import { P as ht } from "./PopOver-L_eZPELu.js";
38
38
  import { N as mt } from "./NavBar-B-xlWKdF.js";
39
- import { F as qt } from "./Footer-D78Lzvjg.js";
39
+ import { F as qt } from "./Footer-1gaUlUeU.js";
40
40
  import { B as wt } from "./Breadcrumbs-DKGek98b.js";
41
41
  import { T as kt } from "./Tabs-Drw-uDfV.js";
42
42
  import { S as xt } from "./Stepper-u3qlCX3g.js";