react-semaphor 0.1.569 → 0.1.570

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 (112) hide show
  1. package/dist/appearance/index.js +6 -3
  2. package/dist/appearance-runtime/index.js +1 -1
  3. package/dist/assistant-context/index.js +1 -1
  4. package/dist/brand-studio/index.js +570 -432
  5. package/dist/briefings/index.js +2 -2
  6. package/dist/chunks/appearance-context-BwBp25ZG.js +162 -0
  7. package/dist/chunks/appearance-runtime-provider-BRHYELkC.js +80 -0
  8. package/dist/chunks/assistant-chat-B-Ddyy8b.js +5940 -0
  9. package/dist/chunks/{bookmark-impact-Czg6FGt5.js → bookmark-impact-DCYD-6Fr.js} +1 -1
  10. package/dist/chunks/brand-B4BdpAB_.js +54 -0
  11. package/dist/chunks/{card-filter-builder-BS982X7x.js → card-filter-builder-0VvKmRst.js} +72 -72
  12. package/dist/chunks/{comparison-window-caption-lLTgzOkM.js → comparison-window-caption-PtcDWvkN.js} +2 -2
  13. package/dist/chunks/{dashboard-BiYSbxZv.js → dashboard-DxGIr1vZ.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-Bdj7luOr.js → dashboard-briefing-launcher-B-quOOOQ.js} +183 -182
  15. package/dist/chunks/{dashboard-controls-TViDsnb8.js → dashboard-controls-Caodx80b.js} +285 -280
  16. package/dist/chunks/{dashboard-json-Dg9dQd9U.js → dashboard-json-Ct-AGDHF.js} +3 -3
  17. package/dist/chunks/{dates-BsPrWZIP.js → dates-B9mL8BHE.js} +13 -12
  18. package/dist/chunks/edit-Bpdh_P_a.js +226 -0
  19. package/dist/chunks/{edit-dashboard-visual-C6hoIeEJ.js → edit-dashboard-visual-DeDTuYB5.js} +2256 -2268
  20. package/dist/chunks/{filter-reach-copy-hcQ4os0u.js → filter-reach-copy-BSY33ro5.js} +1425 -1282
  21. package/dist/chunks/{filter-value-text-CVxEEDVl.js → filter-value-text-DvvSNlho.js} +1 -1
  22. package/dist/chunks/index-BVKzKl5d.js +90 -0
  23. package/dist/chunks/{index-RNaTnE3m.js → index-CV_Kzou0.js} +233 -223
  24. package/dist/chunks/{index-G4q89J6O.js → index-y3HUzRNk.js} +61 -60
  25. package/dist/chunks/{layout-grid-BIcoFfdS.js → layout-grid-8rR-LPTk.js} +1 -1
  26. package/dist/chunks/{list-filter-C6tYkHyv.js → list-filter-C1-uTgjR.js} +1 -1
  27. package/dist/chunks/paintbrush-aR17Z3C9.js +27 -0
  28. package/dist/chunks/{palette-NjHOE_6B.js → palette-a5FCZKFI.js} +1 -1
  29. package/dist/chunks/{_commonjsHelpers-Bid1ZNYj.js → pickers-DkqmtnTL.js} +179 -166
  30. package/dist/chunks/{pivot-result-contract-expectations-DkmueDTW.js → pivot-result-contract-expectations-C-HnUKYe.js} +1 -1
  31. package/dist/chunks/{report-preferences-dialog-Xc8_GFju.js → report-preferences-dialog-Yvhv3WX2.js} +79 -79
  32. package/dist/chunks/{resolve-dashboard-input-context-KqvcLcTM.js → resolve-dashboard-input-context-Lkbwycwe.js} +5179 -5391
  33. package/dist/chunks/resolver-DG_tfEpt.js +156 -0
  34. package/dist/chunks/{save-C6VmEJTA.js → save-D985VvYp.js} +1 -1
  35. package/dist/chunks/{saved-dashboard-context-BeXXyoD4.js → saved-dashboard-context-DC_TEd6y.js} +3 -3
  36. package/dist/chunks/schema-C9NPiIru.js +2568 -0
  37. package/dist/chunks/{semaphor-ready-indicator-BNkaANsG.js → semaphor-ready-indicator-ByFvqHEO.js} +33935 -34031
  38. package/dist/chunks/{shelf-drop-preview-context-C_issPBA.js → shelf-drop-preview-context-CjoVaK6J.js} +50 -50
  39. package/dist/chunks/{stored-dashboard-B6_StAty.js → stored-dashboard-C0hekXiI.js} +189 -188
  40. package/dist/chunks/{code-editor-BsxHzm9u.js → style-sheet-parts-C7qGZuH1.js} +2400 -2036
  41. package/dist/chunks/{table-export-sheet-BWP2joD1.js → table-export-sheet-CP8zSOhj.js} +1 -1
  42. package/dist/chunks/{temporal-input-presentation-scSWQXAB.js → temporal-input-presentation-CqbJjIuu.js} +14 -14
  43. package/dist/chunks/{upload-BRW4Mwrd.js → upload-CiGNKJ_0.js} +1 -1
  44. package/dist/chunks/{variable-draft-BQ3OMjvy.js → variable-draft-9-huI1h4.js} +2 -2
  45. package/dist/dashboard/index.js +1 -1
  46. package/dist/dashboard-authoring/index.js +1911 -1859
  47. package/dist/format-utils/index.js +8 -8
  48. package/dist/index.js +332 -335
  49. package/dist/layouts/index.js +1 -1
  50. package/dist/style.css +1 -1
  51. package/dist/surfboard/index.js +1 -1
  52. package/dist/types/appearance/index.d.ts +1 -0
  53. package/dist/types/brand-studio/brand-studio-draft.d.ts +7 -0
  54. package/dist/types/brand-studio/index.d.ts +1 -1
  55. package/dist/types/components/briefings/briefing-author/run-model.d.ts +1 -2
  56. package/dist/types/components/providers/appearance-runtime-provider.d.ts +4 -1
  57. package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -2
  58. package/dist/types/components/sharing-and-management/utils/types.d.ts +0 -72
  59. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +0 -1
  60. package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -9
  61. package/dist/types/components/visual/data-table/utils/pagination-utils.d.ts +0 -19
  62. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -1
  63. package/dist/types/lib/appearance/aliases.d.ts +42 -0
  64. package/dist/types/lib/appearance/compiler.d.ts +6 -0
  65. package/dist/types/lib/appearance/defaults.d.ts +6 -0
  66. package/dist/types/lib/appearance/index.d.ts +2 -0
  67. package/dist/types/lib/appearance/normalize-organization.d.ts +17 -0
  68. package/dist/types/lib/appearance/resolver.d.ts +2 -2
  69. package/dist/types/lib/appearance/types.d.ts +38 -1
  70. package/dist/types/lib/charts/types.d.ts +6 -2
  71. package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +0 -1
  72. package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +0 -2
  73. package/dist/types/lib/dashboard-variables/types.d.ts +1 -6
  74. package/dist/types/lib/download-pdf.d.ts +0 -1
  75. package/dist/types/lib/hooks/use-dashboard.d.ts +3 -4
  76. package/dist/types/lib/stores/dashboard-store.d.ts +15 -6
  77. package/dist/types/lib/stores/editor-store.d.ts +0 -1
  78. package/dist/types/lib/stores/table-actions.d.ts +0 -1
  79. package/dist/types/lib/table-formatting/table-formatting-css.d.ts +0 -5
  80. package/dist/types/lib/types/common-types.d.ts +3 -2
  81. package/dist/types/lib/types/summary-types.d.ts +0 -5
  82. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +4 -4
  83. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +10 -10
  84. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +68 -68
  85. package/dist/types/shared/assistant-protocol/context.d.ts +18 -18
  86. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +212 -42
  87. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +4 -1
  88. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +9 -0
  89. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +30 -30
  90. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +4 -4
  91. package/dist/types/shared/dashboard-authoring/dashboard-style/bounds.d.ts +17 -0
  92. package/dist/types/shared/dashboard-authoring/dashboard-style/brand.d.ts +20 -0
  93. package/dist/types/shared/dashboard-authoring/dashboard-style/edit-words.d.ts +7 -0
  94. package/dist/types/shared/dashboard-authoring/dashboard-style/edit.d.ts +19 -0
  95. package/dist/types/shared/dashboard-authoring/dashboard-style/index.d.ts +15 -0
  96. package/dist/types/shared/dashboard-authoring/dashboard-style/layers.d.ts +19 -0
  97. package/dist/types/shared/dashboard-authoring/dashboard-style/legacy.d.ts +21 -0
  98. package/dist/types/shared/dashboard-authoring/dashboard-style/parse.d.ts +18 -0
  99. package/dist/types/shared/dashboard-authoring/dashboard-style/pickers.d.ts +12 -0
  100. package/dist/types/shared/dashboard-authoring/dashboard-style/types.d.ts +122 -0
  101. package/dist/types/shared/dashboard-authoring/dashboard-style/view.d.ts +10 -0
  102. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  103. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +11 -0
  104. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +20 -0
  105. package/dist/types/shared/format-utils/matrix-continuation.d.ts +7 -7
  106. package/package.json +6 -3
  107. package/dist/chunks/appearance-context-DEYtWinQ.js +0 -126
  108. package/dist/chunks/appearance-runtime-provider-B-M8gwlZ.js +0 -81
  109. package/dist/chunks/assistant-chat-Dzf2Mbph.js +0 -8847
  110. package/dist/chunks/color-CJvdlFM_.js +0 -2162
  111. package/dist/chunks/index-CLIro-EG.js +0 -425
  112. package/dist/types/components/sharing-and-management/utils/group-types.d.ts +0 -105
@@ -1,11 +1,11 @@
1
- import "../chunks/temporal-input-presentation-scSWQXAB.js";
1
+ import "../chunks/temporal-input-presentation-CqbJjIuu.js";
2
2
  import "../chunks/validators-B8fpdinG.js";
3
3
  import "../chunks/export-file-format-C-tJsxsf.js";
4
4
  import "zod";
5
5
  import "../chunks/matrix-operation-contract-DCVinw1o.js";
6
6
  import "../chunks/analytics-base-schemas-BaIQrEzX.js";
7
7
  import "../value-format-preferences/index.js";
8
- import { A as g, J as l, a2 as B, F as m, a4 as E, z as c, B as I, E as T, K as d, C, D as u, M as A, Z as h, i as p, _ as D, $ as _, a5 as b, n as F, l as S, m as R, P as N, k as y, R as M, f as O, e as G, S as v, u as x, q as L, c as U, d as V, I as z, H, h as J, b as P, a as q, a6 as X, g as K, a0 as Q, V as Y, a3 as j, W as k, G as W, a1 as Z, r as $, j as w, X as ee, Y as ie, o as ae, L as re, Q as te, O as se, p as ne, s as oe, t as fe, N as ge, T as le, U as Be } from "../chunks/index-G4q89J6O.js";
8
+ import { A as g, J as l, a2 as B, F as m, a4 as E, z as c, B as I, E as T, K as d, C, D as u, M as A, Z as h, i as p, _ as D, $ as _, a5 as b, n as F, l as S, m as R, P as N, k as y, R as M, f as O, e as G, S as v, u as x, q as L, c as U, d as V, I as z, H, h as J, b as P, a as q, a6 as X, g as K, a0 as Q, V as Y, a3 as j, W as k, G as W, a1 as Z, r as $, j as w, X as ee, Y as ie, o as ae, L as re, Q as te, O as se, p as ne, s as oe, t as fe, N as ge, T as le, U as Be } from "../chunks/index-y3HUzRNk.js";
9
9
  export {
10
10
  g as BRIEFING_ARTIFACT_FORMATS,
11
11
  l as BRIEFING_ATTACHMENT_FORMATS,
@@ -0,0 +1,162 @@
1
+ import { createContext as A, useContext as g } from "react";
2
+ import { S, c as C, a as E } from "./schema-C9NPiIru.js";
3
+ import { b as R } from "./resolver-DG_tfEpt.js";
4
+ const _ = {
5
+ background: "--semaphor-background",
6
+ foreground: "--semaphor-foreground",
7
+ muted: "--semaphor-muted",
8
+ mutedForeground: "--semaphor-muted-foreground",
9
+ border: "--semaphor-border",
10
+ input: "--semaphor-input",
11
+ primary: "--semaphor-primary",
12
+ primaryForeground: "--semaphor-primary-foreground",
13
+ accent: "--semaphor-accent",
14
+ accentForeground: "--semaphor-accent-foreground",
15
+ selection: "--semaphor-selection",
16
+ card: "--semaphor-card",
17
+ cardForeground: "--semaphor-card-foreground",
18
+ positive: "--semaphor-positive",
19
+ negative: "--semaphor-negative",
20
+ warning: "--semaphor-warning",
21
+ info: "--semaphor-info",
22
+ destructive: "--semaphor-destructive",
23
+ destructiveForeground: "--semaphor-destructive-foreground"
24
+ }, x = {
25
+ light: {
26
+ "--semaphor-code-string": "158 64% 22%",
27
+ "--semaphor-code-number": "158 64% 22%",
28
+ "--semaphor-code-boolean": "158 64% 22%",
29
+ "--semaphor-code-fn": "217 91% 40%",
30
+ "--semaphor-code-keyword": "263 70% 42%"
31
+ },
32
+ dark: {
33
+ "--semaphor-code-string": "158 64% 52%",
34
+ "--semaphor-code-number": "158 64% 52%",
35
+ "--semaphor-code-boolean": "158 64% 52%",
36
+ "--semaphor-code-fn": "213 94% 68%",
37
+ "--semaphor-code-keyword": "264 89% 74%"
38
+ }
39
+ };
40
+ function k(o) {
41
+ var a, c, i, d;
42
+ const e = o.defaults ?? S, r = o.mode ?? v(o.spec.mode, o.systemMode), n = b(o.spec.schemes[r] ?? e.schemes[r]), t = ((a = n.tokens) == null ? void 0 : a.color) ?? {}, m = {
43
+ ...x[r]
44
+ };
45
+ for (const [f, u] of Object.entries(_)) {
46
+ const p = t[f];
47
+ if (!p) continue;
48
+ const h = C(p);
49
+ if (!h)
50
+ throw new Error(`Invalid compiled appearance color for ${f}`);
51
+ m[u] = h;
52
+ }
53
+ z(m, (c = n.tokens) == null ? void 0 : c.radius), w(m, (i = n.tokens) == null ? void 0 : i.typography);
54
+ const s = O(n, e.schemes[r], r);
55
+ return {
56
+ mode: r,
57
+ scheme: n,
58
+ cssVariables: m,
59
+ colorValues: t,
60
+ chartPalette: s.palette,
61
+ chartTheme: s,
62
+ table: (d = n.components) == null ? void 0 : d.table
63
+ };
64
+ }
65
+ const P = {
66
+ light: { background: "#fff", title: "#000", body: "#000", footer: "#999", border: "rgb(128,131,139)", cornerRadius: 4 },
67
+ dark: { background: "#000", title: "#fff", body: "#fff", footer: "#999", border: "rgb(128,131,139)", cornerRadius: 2 }
68
+ }, T = 2;
69
+ function O(o, e, r) {
70
+ var a, c, i, d, f, u, p;
71
+ const n = (a = o.components) == null ? void 0 : a.chart, t = (c = o.tokens) == null ? void 0 : c.typography, m = (i = e.tokens) == null ? void 0 : i.typography, s = (t == null ? void 0 : t.baseFontSize) ?? (m == null ? void 0 : m.baseFontSize) ?? 14;
72
+ return {
73
+ mode: r,
74
+ palette: (n == null ? void 0 : n.palette) ?? ((f = (d = e.components) == null ? void 0 : d.chart) == null ? void 0 : f.palette) ?? E,
75
+ font: {
76
+ family: (t == null ? void 0 : t.fontFamily) ?? (m == null ? void 0 : m.fontFamily) ?? "",
77
+ size: s - T
78
+ },
79
+ gridColor: n == null ? void 0 : n.gridColor,
80
+ axisColor: (n == null ? void 0 : n.axisColor) ?? (n == null ? void 0 : n.foreground),
81
+ legendColor: n == null ? void 0 : n.foreground,
82
+ tooltip: P[r],
83
+ barRadius: (n == null ? void 0 : n.barRadius) ?? ((p = (u = e.components) == null ? void 0 : u.chart) == null ? void 0 : p.barRadius) ?? 0
84
+ };
85
+ }
86
+ function w(o, e) {
87
+ e != null && e.fontFamily && (o["--semaphor-font-family"] = e.fontFamily), e != null && e.headingFontFamily && (o["--semaphor-heading-font-family"] = e.headingFontFamily), e != null && e.monoFontFamily && (o["--semaphor-mono-font-family"] = e.monoFontFamily), (e == null ? void 0 : e.baseFontSize) !== void 0 && (o["--semaphor-font-size"] = `${e.baseFontSize}px`);
88
+ }
89
+ function z(o, e) {
90
+ o["--semaphor-brand"] = o["--semaphor-primary"] ?? o["--semaphor-foreground"], o["--semaphor-secondary"] = o["--semaphor-accent"] ?? o["--semaphor-muted"], o["--semaphor-secondary-foreground"] = o["--semaphor-accent-foreground"] ?? o["--semaphor-foreground"], o["--semaphor-popover"] = o["--semaphor-card"] ?? o["--semaphor-background"], o["--semaphor-popover-foreground"] = o["--semaphor-card-foreground"] ?? o["--semaphor-foreground"], o["--semaphor-ring"] = o["--semaphor-primary"] ?? o["--semaphor-foreground"];
91
+ const r = F((e == null ? void 0 : e.control) ?? 5), n = F((e == null ? void 0 : e.card) ?? (e == null ? void 0 : e.control) ?? 5);
92
+ o["--semaphor-radius"] = r, o["--semaphor-control-radius"] = r, o["--semaphor-card-radius"] = n;
93
+ }
94
+ const l = {
95
+ none: "none",
96
+ subtle: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
97
+ raised: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"
98
+ };
99
+ function b(o, e, r) {
100
+ return typeof o == "string" ? (e === "shadow" || r === "shadow") && o in l ? l[o] : o : typeof o != "object" || o === null || Array.isArray(o) ? o : Object.fromEntries(
101
+ Object.entries(o).map(([n, t]) => [n, b(t, n, e)])
102
+ );
103
+ }
104
+ function F(o) {
105
+ return `${Number((o / 16).toFixed(4))}rem`;
106
+ }
107
+ function v(o, e = "light") {
108
+ return o === "system" ? e : o;
109
+ }
110
+ const H = k({
111
+ spec: R(),
112
+ mode: "light"
113
+ }), D = A(
114
+ L(
115
+ "semaphor-default-appearance",
116
+ H
117
+ )
118
+ );
119
+ function I() {
120
+ return g(D);
121
+ }
122
+ function L(o, e, r = {}) {
123
+ return {
124
+ instanceId: o,
125
+ compiledAppearance: e,
126
+ layers: r,
127
+ scopeProps: M(o, e),
128
+ portalSnapshot: {
129
+ instanceId: o,
130
+ compiledAppearance: e
131
+ }
132
+ };
133
+ }
134
+ function M(o, e) {
135
+ return {
136
+ className: e.mode,
137
+ style: N(e),
138
+ "data-semaphor-theme": e.mode,
139
+ "data-semaphor-appearance-instance": o
140
+ };
141
+ }
142
+ function N(o) {
143
+ var m, s;
144
+ const e = {
145
+ colorScheme: o.mode
146
+ };
147
+ o.cssVariables["--semaphor-font-family"] && (e.fontFamily = "var(--semaphor-font-family)");
148
+ const n = (m = o.scheme.tokens) == null ? void 0 : m.typography, t = (s = S.schemes[o.mode].tokens) == null ? void 0 : s.typography;
149
+ (n == null ? void 0 : n.baseFontSize) !== void 0 && n.baseFontSize !== (t == null ? void 0 : t.baseFontSize) && (e.fontSize = n.baseFontSize);
150
+ for (const [a, c] of Object.entries(
151
+ o.cssVariables
152
+ ))
153
+ e[a] = c;
154
+ return e;
155
+ }
156
+ export {
157
+ D as A,
158
+ L as a,
159
+ l as b,
160
+ k as c,
161
+ I as u
162
+ };
@@ -0,0 +1,80 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { createContext as M, useId as v, useMemo as c, useContext as A, useState as T, useEffect as x } from "react";
3
+ import { c as I, a as g, A as k } from "./appearance-context-BwBp25ZG.js";
4
+ import { b as C } from "./resolver-DG_tfEpt.js";
5
+ const L = {
6
+ theme: "system",
7
+ setTheme: () => null
8
+ }, E = M(L);
9
+ function P(e, n = "system") {
10
+ return S(e) ? e : n;
11
+ }
12
+ function S(e) {
13
+ return e === "light" || e === "dark" || e === "system";
14
+ }
15
+ function q(e) {
16
+ return /* @__PURE__ */ l(z, { ...e });
17
+ }
18
+ function z({
19
+ appearance: e,
20
+ organizationAppearance: n,
21
+ dashboardStyle: a,
22
+ tokenAppearance: i,
23
+ reactAppearance: t,
24
+ resolvedAppearance: r,
25
+ systemMode: o,
26
+ children: m
27
+ }) {
28
+ const s = v(), u = c(() => R(s), [s]), { theme: w } = A(E), p = V(w), d = c(
29
+ () => ({
30
+ organizationAppearance: n,
31
+ dashboardStyle: a,
32
+ tokenAppearance: i,
33
+ reactAppearance: t ?? e
34
+ }),
35
+ [e, a, n, t, i]
36
+ ), f = c(
37
+ () => r ?? C(d),
38
+ [d, r]
39
+ ), h = c(
40
+ () => I({
41
+ spec: f,
42
+ systemMode: o ?? p
43
+ }),
44
+ [f, p, o]
45
+ ), y = c(
46
+ () => g(u, h, d),
47
+ [h, u, d]
48
+ );
49
+ return /* @__PURE__ */ l(k.Provider, { value: y, children: m });
50
+ }
51
+ function R(e) {
52
+ return `semaphor-appearance-${e.replace(/[^a-zA-Z0-9_-]/g, "")}`;
53
+ }
54
+ function V(e) {
55
+ const n = P(e), [a, i] = T(
56
+ () => j()
57
+ );
58
+ return x(() => {
59
+ var o, m;
60
+ if (n !== "system" || typeof window > "u") return;
61
+ const t = (o = window.matchMedia) == null ? void 0 : o.call(window, "(prefers-color-scheme: dark)");
62
+ if (!t) return;
63
+ const r = () => {
64
+ i(t.matches ? "dark" : "light");
65
+ };
66
+ return r(), typeof t.addEventListener == "function" ? (t.addEventListener("change", r), () => t.removeEventListener("change", r)) : ((m = t.addListener) == null || m.call(t, r), () => {
67
+ var s;
68
+ return (s = t.removeListener) == null ? void 0 : s.call(t, r);
69
+ });
70
+ }, [n]), n === "system" ? a : n;
71
+ }
72
+ function j() {
73
+ return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
74
+ }
75
+ export {
76
+ q as A,
77
+ z as I,
78
+ E as T,
79
+ P as n
80
+ };