@goliapkg/gds 1.4.3 → 1.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.
Files changed (110) hide show
  1. package/dist/index.js +15 -15
  2. package/dist/l3-atoms/animated-border.d.ts +9 -0
  3. package/dist/l3-atoms/animated-border.d.ts.map +1 -0
  4. package/dist/l3-atoms/index.d.ts +12 -0
  5. package/dist/l3-atoms/index.d.ts.map +1 -1
  6. package/dist/l3-atoms/index.js +6 -6
  7. package/dist/l3-atoms/number-flow.d.ts +8 -0
  8. package/dist/l3-atoms/number-flow.d.ts.map +1 -0
  9. package/dist/l3-atoms/orbit.d.ts +10 -0
  10. package/dist/l3-atoms/orbit.d.ts.map +1 -0
  11. package/dist/l3-atoms/stagger.d.ts +10 -0
  12. package/dist/l3-atoms/stagger.d.ts.map +1 -0
  13. package/dist/l3-atoms/trend-indicator.d.ts +9 -0
  14. package/dist/l3-atoms/trend-indicator.d.ts.map +1 -0
  15. package/dist/l3-atoms/volume-slider.d.ts +8 -0
  16. package/dist/l3-atoms/volume-slider.d.ts.map +1 -0
  17. package/dist/{l3-atoms-BxDg3rXt.js → l3-atoms-LtIFAn9Y.js} +553 -421
  18. package/dist/l3-atoms-LtIFAn9Y.js.map +1 -0
  19. package/dist/l4-molecules/activity-log.d.ts +13 -0
  20. package/dist/l4-molecules/activity-log.d.ts.map +1 -0
  21. package/dist/l4-molecules/bottom-bar.d.ts +7 -0
  22. package/dist/l4-molecules/bottom-bar.d.ts.map +1 -0
  23. package/dist/l4-molecules/circular-menu.d.ts +14 -0
  24. package/dist/l4-molecules/circular-menu.d.ts.map +1 -0
  25. package/dist/l4-molecules/collapsible.d.ts +12 -2
  26. package/dist/l4-molecules/collapsible.d.ts.map +1 -1
  27. package/dist/l4-molecules/command-bar-float.d.ts +13 -0
  28. package/dist/l4-molecules/command-bar-float.d.ts.map +1 -0
  29. package/dist/l4-molecules/command-bar.d.ts +16 -0
  30. package/dist/l4-molecules/command-bar.d.ts.map +1 -0
  31. package/dist/l4-molecules/comparison-bar.d.ts +13 -0
  32. package/dist/l4-molecules/comparison-bar.d.ts.map +1 -0
  33. package/dist/l4-molecules/countdown-timer.d.ts +8 -0
  34. package/dist/l4-molecules/countdown-timer.d.ts.map +1 -0
  35. package/dist/l4-molecules/feature-flag.d.ts +8 -0
  36. package/dist/l4-molecules/feature-flag.d.ts.map +1 -0
  37. package/dist/l4-molecules/flip-card.d.ts +9 -0
  38. package/dist/l4-molecules/flip-card.d.ts.map +1 -0
  39. package/dist/l4-molecules/glitch-text.d.ts +8 -0
  40. package/dist/l4-molecules/glitch-text.d.ts.map +1 -0
  41. package/dist/l4-molecules/index.d.ts +54 -2
  42. package/dist/l4-molecules/index.d.ts.map +1 -1
  43. package/dist/l4-molecules/index.js +3 -3
  44. package/dist/l4-molecules/live-metric.d.ts +9 -0
  45. package/dist/l4-molecules/live-metric.d.ts.map +1 -0
  46. package/dist/l4-molecules/matrix-rain.d.ts +9 -0
  47. package/dist/l4-molecules/matrix-rain.d.ts.map +1 -0
  48. package/dist/l4-molecules/media-container.d.ts +11 -0
  49. package/dist/l4-molecules/media-container.d.ts.map +1 -0
  50. package/dist/l4-molecules/morphing-shape.d.ts +8 -0
  51. package/dist/l4-molecules/morphing-shape.d.ts.map +1 -0
  52. package/dist/l4-molecules/network-status.d.ts +7 -0
  53. package/dist/l4-molecules/network-status.d.ts.map +1 -0
  54. package/dist/l4-molecules/noise-overlay.d.ts +7 -0
  55. package/dist/l4-molecules/noise-overlay.d.ts.map +1 -0
  56. package/dist/l4-molecules/num-table.d.ts +19 -0
  57. package/dist/l4-molecules/num-table.d.ts.map +1 -0
  58. package/dist/l4-molecules/otp-input.d.ts +9 -0
  59. package/dist/l4-molecules/otp-input.d.ts.map +1 -0
  60. package/dist/l4-molecules/particle-field.d.ts +9 -0
  61. package/dist/l4-molecules/particle-field.d.ts.map +1 -0
  62. package/dist/l4-molecules/reveal.d.ts +9 -0
  63. package/dist/l4-molecules/reveal.d.ts.map +1 -0
  64. package/dist/l4-molecules/scoreboard.d.ts +8 -0
  65. package/dist/l4-molecules/scoreboard.d.ts.map +1 -0
  66. package/dist/l4-molecules/stat-trend.d.ts +9 -0
  67. package/dist/l4-molecules/stat-trend.d.ts.map +1 -0
  68. package/dist/l4-molecules/text-reveal.d.ts +8 -0
  69. package/dist/l4-molecules/text-reveal.d.ts.map +1 -0
  70. package/dist/l4-molecules/text-scramble.d.ts +8 -0
  71. package/dist/l4-molecules/text-scramble.d.ts.map +1 -0
  72. package/dist/l4-molecules/tilt-card.d.ts +9 -0
  73. package/dist/l4-molecules/tilt-card.d.ts.map +1 -0
  74. package/dist/l4-molecules/upload-progress.d.ts +14 -0
  75. package/dist/l4-molecules/upload-progress.d.ts.map +1 -0
  76. package/dist/{l4-molecules-DftsX-gO.js → l4-molecules-Bnt38HxY.js} +1077 -197
  77. package/dist/l4-molecules-Bnt38HxY.js.map +1 -0
  78. package/dist/l5-organisms/index.d.ts +4 -4
  79. package/dist/l5-organisms/index.d.ts.map +1 -1
  80. package/dist/l5-organisms/index.js +2 -2
  81. package/dist/l5-organisms/kanban.d.ts +13 -0
  82. package/dist/l5-organisms/kanban.d.ts.map +1 -1
  83. package/dist/l5-organisms/timeline.d.ts +16 -0
  84. package/dist/l5-organisms/timeline.d.ts.map +1 -1
  85. package/dist/{l5-organisms-Di1Bm_R6.js → l5-organisms-C7LXv0jT.js} +205 -125
  86. package/dist/l5-organisms-C7LXv0jT.js.map +1 -0
  87. package/dist/l6-charts/choropleth-map.d.ts +14 -0
  88. package/dist/l6-charts/choropleth-map.d.ts.map +1 -0
  89. package/dist/l6-charts/index.d.ts +6 -0
  90. package/dist/l6-charts/index.d.ts.map +1 -1
  91. package/dist/l6-charts/index.js +2 -2
  92. package/dist/l6-charts/polar-area-chart.d.ts +13 -0
  93. package/dist/l6-charts/polar-area-chart.d.ts.map +1 -0
  94. package/dist/l6-charts/stock-ticker.d.ts +12 -0
  95. package/dist/l6-charts/stock-ticker.d.ts.map +1 -0
  96. package/dist/{l6-charts-Bn9RQLbe.js → l6-charts-DPMj1m0E.js} +345 -148
  97. package/dist/l6-charts-DPMj1m0E.js.map +1 -0
  98. package/dist/l7-patterns/index.d.ts +2 -0
  99. package/dist/l7-patterns/index.d.ts.map +1 -1
  100. package/dist/l7-patterns/index.js +2 -2
  101. package/dist/l7-patterns/stat.d.ts +22 -0
  102. package/dist/l7-patterns/stat.d.ts.map +1 -0
  103. package/dist/{l7-patterns-BCpw0-CS.js → l7-patterns-8fc4b3eE.js} +605 -462
  104. package/dist/l7-patterns-8fc4b3eE.js.map +1 -0
  105. package/package.json +1 -1
  106. package/dist/l3-atoms-BxDg3rXt.js.map +0 -1
  107. package/dist/l4-molecules-DftsX-gO.js.map +0 -1
  108. package/dist/l5-organisms-Di1Bm_R6.js.map +0 -1
  109. package/dist/l6-charts-Bn9RQLbe.js.map +0 -1
  110. package/dist/l7-patterns-BCpw0-CS.js.map +0 -1
@@ -7,83 +7,83 @@ import { t as l } from "./skeleton-C9FFZSYN.js";
7
7
  import { t as u } from "./avatar-l3SaMCmU.js";
8
8
  import { n as d, t as f } from "./resize-handle-ilSc7QRM.js";
9
9
  import { i as p, n as m, r as h, t as g } from "./stepper-DWJfv7TA.js";
10
- import { Children as _, forwardRef as v, useCallback as y, useEffect as b, useRef as x, useState as S } from "react";
11
- import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
10
+ import { Children as _, forwardRef as v, useCallback as y, useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
11
+ import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
12
12
  //#region src/l7-patterns/action-bar.tsx
13
- var ee = {
13
+ var D = {
14
14
  between: "justify-between",
15
15
  center: "justify-center",
16
16
  end: "justify-end",
17
17
  start: "justify-start"
18
- }, te = v(function({ children: n, className: r, glass: i = !0, justify: a = "end", position: o = "bottom" }, s) {
19
- return /* @__PURE__ */ w("div", {
18
+ }, O = v(function({ children: n, className: r, glass: i = !0, justify: a = "end", position: o = "bottom" }, s) {
19
+ return /* @__PURE__ */ T("div", {
20
20
  ref: s,
21
- className: e("sticky z-10 flex items-center gds-pad-x-lg gds-pad-y", o === "bottom" ? "bottom-0 border-t" : "top-0 border-b", ee[a], i === !0 ? e(t(i), "border-white/10 bg-bg/60") : "border-border bg-surface", r),
21
+ className: e("sticky z-10 flex items-center gds-pad-x-lg gds-pad-y", o === "bottom" ? "bottom-0 border-t" : "top-0 border-b", D[a], i === !0 ? e(t(i), "border-white/10 bg-bg/60") : "border-border bg-surface", r),
22
22
  "data-component": "action-bar",
23
23
  children: n
24
24
  });
25
- }), ne = v(function({ sidebar: t, topbar: n, children: r, sidebarWidth: i = 240, className: a }, o) {
26
- return /* @__PURE__ */ T("div", {
25
+ }), ee = v(function({ sidebar: t, topbar: n, children: r, sidebarWidth: i = 240, className: a }, o) {
26
+ return /* @__PURE__ */ E("div", {
27
27
  ref: o,
28
28
  className: e("flex h-screen min-h-0 bg-bg", a),
29
29
  "data-component": "admin-layout",
30
- children: [/* @__PURE__ */ w("aside", {
30
+ children: [/* @__PURE__ */ T("aside", {
31
31
  className: "shrink-0 overflow-y-auto border-r border-border bg-surface",
32
32
  style: { width: i },
33
33
  children: t
34
- }), /* @__PURE__ */ T("div", {
34
+ }), /* @__PURE__ */ E("div", {
35
35
  className: "flex flex-1 flex-col min-w-0",
36
- children: [n !== void 0 && /* @__PURE__ */ w("header", {
36
+ children: [n !== void 0 && /* @__PURE__ */ T("header", {
37
37
  className: "sticky top-0 z-10 shrink-0 border-b border-border bg-surface/80 backdrop-blur-sm",
38
38
  children: n
39
- }), /* @__PURE__ */ w("main", {
39
+ }), /* @__PURE__ */ T("main", {
40
40
  className: "flex-1 overflow-auto",
41
41
  children: r
42
42
  })]
43
43
  })]
44
44
  });
45
- }), re = v(function({ charts: t, className: n, data: r, metrics: i }, a) {
46
- return /* @__PURE__ */ T("div", {
45
+ }), te = v(function({ charts: t, className: n, data: r, metrics: i }, a) {
46
+ return /* @__PURE__ */ E("div", {
47
47
  className: e("flex flex-col gds-gap", n),
48
48
  "data-component": "analytics-dashboard",
49
49
  ref: a,
50
50
  children: [
51
- i !== void 0 && /* @__PURE__ */ w("section", {
51
+ i !== void 0 && /* @__PURE__ */ T("section", {
52
52
  className: "flex flex-wrap gds-gap",
53
53
  "data-slot": "metrics",
54
54
  children: i
55
55
  }),
56
- t !== void 0 && /* @__PURE__ */ w("section", {
56
+ t !== void 0 && /* @__PURE__ */ T("section", {
57
57
  className: "flex flex-col gds-gap",
58
58
  "data-slot": "charts",
59
59
  children: t
60
60
  }),
61
- r !== void 0 && /* @__PURE__ */ w("section", {
61
+ r !== void 0 && /* @__PURE__ */ T("section", {
62
62
  className: "flex flex-col gds-gap",
63
63
  "data-slot": "data",
64
64
  children: r
65
65
  })
66
66
  ]
67
67
  });
68
- }), E = {
68
+ }), ne = {
69
69
  sm: "gds-gap-sm",
70
70
  default: "gds-gap",
71
71
  lg: "gds-gap-lg"
72
- }, D = (e) => ({
72
+ }, re = (e) => ({
73
73
  1: "grid-cols-1",
74
74
  2: "grid-cols-2",
75
75
  3: "grid-cols-3",
76
76
  4: "grid-cols-4",
77
77
  5: "grid-cols-5",
78
78
  6: "grid-cols-6"
79
- })[e] ?? `grid-cols-${e}`, O = v(function({ children: t, columns: n = 4, gap: r = "default", className: i }, a) {
80
- return /* @__PURE__ */ w("div", {
79
+ })[e] ?? `grid-cols-${e}`, ie = v(function({ children: t, columns: n = 4, gap: r = "default", className: i }, a) {
80
+ return /* @__PURE__ */ T("div", {
81
81
  ref: a,
82
- className: e("grid auto-rows-[minmax(120px,auto)]", D(n), E[r], i),
82
+ className: e("grid auto-rows-[minmax(120px,auto)]", re(n), ne[r], i),
83
83
  "data-component": "bento-grid",
84
84
  children: t
85
85
  });
86
- }), k = [
86
+ }), ae = [
87
87
  "Sun",
88
88
  "Mon",
89
89
  "Tue",
@@ -91,7 +91,7 @@ var ee = {
91
91
  "Thu",
92
92
  "Fri",
93
93
  "Sat"
94
- ], A = v(function({ className: t, events: n = [], month: r, onDateClick: i, year: a, ...o }, s) {
94
+ ], oe = v(function({ className: t, events: n = [], month: r, onDateClick: i, year: a, ...o }, s) {
95
95
  let c = new Date(a, r - 1, 1).getDay(), l = new Date(a, r, 0).getDate(), u = [];
96
96
  for (let e = 0; e < c; e++) u.push(null);
97
97
  for (let e = 1; e <= l; e++) u.push(e);
@@ -100,26 +100,26 @@ var ee = {
100
100
  let t = d.get(e.date) ?? [];
101
101
  d.set(e.date, [...t, e]);
102
102
  }
103
- return /* @__PURE__ */ w("div", {
103
+ return /* @__PURE__ */ T("div", {
104
104
  className: e("flex flex-col gap-1", t),
105
105
  "data-component": "calendar-view",
106
106
  ref: s,
107
107
  ...o,
108
- children: /* @__PURE__ */ T("div", {
108
+ children: /* @__PURE__ */ E("div", {
109
109
  className: "grid grid-cols-7 gap-1",
110
- children: [k.map((e) => /* @__PURE__ */ w("div", {
110
+ children: [ae.map((e) => /* @__PURE__ */ T("div", {
111
111
  className: "py-1 text-center text-xs font-medium text-fg-muted",
112
112
  children: e
113
113
  }, e)), u.map((t, n) => {
114
114
  let r = t === null ? [] : d.get(t) ?? [];
115
- return /* @__PURE__ */ T("div", {
115
+ return /* @__PURE__ */ E("div", {
116
116
  className: e("flex min-h-[36px] flex-col items-center rounded p-1 text-xs", t !== null && "cursor-pointer text-fg hover:bg-accent/10", t === null && "pointer-events-none"),
117
117
  onClick: () => {
118
118
  t !== null && i !== void 0 && i(t);
119
119
  },
120
- children: [t !== null && /* @__PURE__ */ w("span", { children: t }), r.length > 0 && /* @__PURE__ */ w("div", {
120
+ children: [t !== null && /* @__PURE__ */ T("span", { children: t }), r.length > 0 && /* @__PURE__ */ T("div", {
121
121
  className: "mt-0.5 flex gap-0.5",
122
- children: r.slice(0, 3).map((e, t) => /* @__PURE__ */ w("span", {
122
+ children: r.slice(0, 3).map((e, t) => /* @__PURE__ */ T("span", {
123
123
  className: "h-1 w-1 rounded-full",
124
124
  style: { backgroundColor: e.color ?? "var(--color-accent)" },
125
125
  title: e.label
@@ -132,31 +132,31 @@ var ee = {
132
132
  });
133
133
  //#endregion
134
134
  //#region src/l7-patterns/comparison-table.tsx
135
- function j({ features: t, plans: n, highlightColumn: r, glass: i, className: a }) {
136
- return /* @__PURE__ */ w("div", {
135
+ function se({ features: t, plans: n, highlightColumn: r, glass: i, className: a }) {
136
+ return /* @__PURE__ */ T("div", {
137
137
  "data-component": "comparison-table",
138
138
  className: e("overflow-hidden gds-radius-card border border-border", i === !0 && "bg-white/5 backdrop-blur-md", a),
139
- children: /* @__PURE__ */ T("table", {
139
+ children: /* @__PURE__ */ E("table", {
140
140
  className: "w-full text-sm",
141
- children: [/* @__PURE__ */ w("thead", { children: /* @__PURE__ */ T("tr", {
141
+ children: [/* @__PURE__ */ T("thead", { children: /* @__PURE__ */ E("tr", {
142
142
  className: "border-b border-border bg-bg-tertiary/30",
143
- children: [/* @__PURE__ */ w("th", {
143
+ children: [/* @__PURE__ */ T("th", {
144
144
  className: "px-4 py-3 text-left text-xs font-medium text-fg-muted",
145
145
  children: "Feature"
146
- }), n.map((t, n) => /* @__PURE__ */ w("th", {
146
+ }), n.map((t, n) => /* @__PURE__ */ T("th", {
147
147
  className: e("px-4 py-3 text-center text-xs font-semibold text-fg", n === r && "bg-accent/5"),
148
148
  children: t.name
149
149
  }, t.name))]
150
- }) }), /* @__PURE__ */ w("tbody", { children: t.map((i, a) => /* @__PURE__ */ T("tr", {
150
+ }) }), /* @__PURE__ */ T("tbody", { children: t.map((i, a) => /* @__PURE__ */ E("tr", {
151
151
  className: e(a < t.length - 1 && "border-b border-border/50"),
152
- children: [/* @__PURE__ */ w("td", {
152
+ children: [/* @__PURE__ */ T("td", {
153
153
  className: "px-4 py-2.5 text-xs text-fg",
154
154
  children: i
155
155
  }), n.map((t, n) => {
156
156
  let i = t.values[a];
157
- return /* @__PURE__ */ w("td", {
157
+ return /* @__PURE__ */ T("td", {
158
158
  className: e("px-4 py-2.5 text-center", n === r && "bg-accent/5"),
159
- children: typeof i == "boolean" ? i === !0 ? /* @__PURE__ */ w("svg", {
159
+ children: typeof i == "boolean" ? i === !0 ? /* @__PURE__ */ T("svg", {
160
160
  className: "mx-auto text-success",
161
161
  width: "16",
162
162
  height: "16",
@@ -167,8 +167,8 @@ function j({ features: t, plans: n, highlightColumn: r, glass: i, className: a }
167
167
  strokeLinecap: "round",
168
168
  strokeLinejoin: "round",
169
169
  "data-icon": "check",
170
- children: /* @__PURE__ */ w("polyline", { points: "20 6 9 17 4 12" })
171
- }) : /* @__PURE__ */ w("svg", {
170
+ children: /* @__PURE__ */ T("polyline", { points: "20 6 9 17 4 12" })
171
+ }) : /* @__PURE__ */ T("svg", {
172
172
  className: "mx-auto text-fg-muted/40",
173
173
  width: "16",
174
174
  height: "16",
@@ -178,13 +178,13 @@ function j({ features: t, plans: n, highlightColumn: r, glass: i, className: a }
178
178
  strokeWidth: "2",
179
179
  strokeLinecap: "round",
180
180
  "data-icon": "dash",
181
- children: /* @__PURE__ */ w("line", {
181
+ children: /* @__PURE__ */ T("line", {
182
182
  x1: "5",
183
183
  y1: "12",
184
184
  x2: "19",
185
185
  y2: "12"
186
186
  })
187
- }) : /* @__PURE__ */ w("span", {
187
+ }) : /* @__PURE__ */ T("span", {
188
188
  className: "text-xs text-fg",
189
189
  children: i
190
190
  })
@@ -196,132 +196,132 @@ function j({ features: t, plans: n, highlightColumn: r, glass: i, className: a }
196
196
  }
197
197
  //#endregion
198
198
  //#region src/l7-patterns/composition-pattern.tsx
199
- var M = v(function({ header: n, sidebar: r, content: i, footer: a, sidebarPosition: o = "left", sidebarWidth: s = 240, glass: c, className: l }, u) {
200
- let d = typeof s == "number" ? `${s}px` : s, f = o === "right", p = r === void 0 ? null : /* @__PURE__ */ w("div", {
199
+ var k = v(function({ header: n, sidebar: r, content: i, footer: a, sidebarPosition: o = "left", sidebarWidth: s = 240, glass: c, className: l }, u) {
200
+ let d = typeof s == "number" ? `${s}px` : s, f = o === "right", p = r === void 0 ? null : /* @__PURE__ */ T("div", {
201
201
  className: e("shrink-0 overflow-auto", f ? "border-l border-border" : "border-r border-border"),
202
202
  style: { width: d },
203
203
  children: r
204
204
  });
205
- return /* @__PURE__ */ T("div", {
205
+ return /* @__PURE__ */ E("div", {
206
206
  ref: u,
207
207
  className: e("gds-ctx flex h-full flex-col", t(c), l),
208
208
  "data-component": "composition-pattern",
209
209
  children: [
210
- n !== void 0 && /* @__PURE__ */ w("div", {
210
+ n !== void 0 && /* @__PURE__ */ T("div", {
211
211
  className: "shrink-0 border-b border-border",
212
212
  children: n
213
213
  }),
214
- /* @__PURE__ */ T("div", {
214
+ /* @__PURE__ */ E("div", {
215
215
  className: "flex min-h-0 flex-1",
216
216
  children: [
217
217
  f ? null : p,
218
- /* @__PURE__ */ w("div", {
218
+ /* @__PURE__ */ T("div", {
219
219
  className: "flex-1 overflow-auto",
220
220
  children: i
221
221
  }),
222
222
  f ? p : null
223
223
  ]
224
224
  }),
225
- a !== void 0 && /* @__PURE__ */ w("div", {
225
+ a !== void 0 && /* @__PURE__ */ T("div", {
226
226
  className: "shrink-0 border-t border-border",
227
227
  children: a
228
228
  })
229
229
  ]
230
230
  });
231
- }), N = v(function({ title: n, description: r, actions: i, variant: a = "default", glass: o, className: s }, c) {
232
- return /* @__PURE__ */ T("div", {
231
+ }), A = v(function({ title: n, description: r, actions: i, variant: a = "default", glass: o, className: s }, c) {
232
+ return /* @__PURE__ */ E("div", {
233
233
  ref: c,
234
234
  className: e("gds-ctx gds-radius-card gds-pad-x-lg gds-pad-y-lg w-full text-center", a === "accent" ? "bg-accent text-accent-fg" : a === "gradient" ? "bg-gradient-to-r from-accent to-success text-accent-fg" : o === !0 ? e(t(o), "border border-white/10 bg-bg/60") : "border border-border bg-surface", s),
235
235
  "data-component": "cta-banner",
236
236
  "data-variant": a,
237
237
  children: [
238
- /* @__PURE__ */ w("h2", {
238
+ /* @__PURE__ */ T("h2", {
239
239
  className: e("text-xl font-bold", a === "default" && "text-fg"),
240
240
  children: n
241
241
  }),
242
- r !== void 0 && /* @__PURE__ */ w("p", {
242
+ r !== void 0 && /* @__PURE__ */ T("p", {
243
243
  className: e("mt-2 gds-text-body", a === "default" ? "text-fg-muted" : "opacity-80"),
244
244
  children: r
245
245
  }),
246
- /* @__PURE__ */ w("div", {
246
+ /* @__PURE__ */ T("div", {
247
247
  className: "mt-4 flex items-center justify-center gap-3",
248
248
  children: i
249
249
  })
250
250
  ]
251
251
  });
252
- }), P = v(function({ sidebar: t, header: n, children: r, sidebarWidth: i = 240, className: a }, o) {
253
- return /* @__PURE__ */ T("div", {
252
+ }), j = v(function({ sidebar: t, header: n, children: r, sidebarWidth: i = 240, className: a }, o) {
253
+ return /* @__PURE__ */ E("div", {
254
254
  ref: o,
255
255
  className: e("flex h-full min-h-0 bg-bg", a),
256
256
  "data-component": "dashboard-layout",
257
- children: [/* @__PURE__ */ w("aside", {
257
+ children: [/* @__PURE__ */ T("aside", {
258
258
  className: "shrink-0 overflow-y-auto border-r border-border bg-surface",
259
259
  style: { width: i },
260
260
  children: t
261
- }), /* @__PURE__ */ T("div", {
261
+ }), /* @__PURE__ */ E("div", {
262
262
  className: "flex flex-1 flex-col min-w-0",
263
- children: [n !== void 0 && /* @__PURE__ */ w("header", {
263
+ children: [n !== void 0 && /* @__PURE__ */ T("header", {
264
264
  className: "sticky top-0 z-10 shrink-0 border-b border-border bg-surface/80 backdrop-blur-sm",
265
265
  children: n
266
- }), /* @__PURE__ */ w("main", {
266
+ }), /* @__PURE__ */ T("main", {
267
267
  className: "flex-1 overflow-auto",
268
268
  children: r
269
269
  })]
270
270
  })]
271
271
  });
272
- }), F = v(function({ formats: t, onExport: r, title: i = "Export Data", className: a, ...o }, s) {
273
- let [c, l] = S(t[0] ?? ""), [u, d] = S(""), [f, p] = S("");
272
+ }), M = v(function({ formats: t, onExport: r, title: i = "Export Data", className: a, ...o }, s) {
273
+ let [c, l] = C(t[0] ?? ""), [u, d] = C(""), [f, p] = C("");
274
274
  function m() {
275
275
  r(c, u !== "" && f !== "" ? {
276
276
  from: u,
277
277
  to: f
278
278
  } : void 0);
279
279
  }
280
- return /* @__PURE__ */ T("div", {
280
+ return /* @__PURE__ */ E("div", {
281
281
  ref: s,
282
282
  className: e("gds-ctx rounded-lg border border-border bg-surface gds-pad gds-shadow", a),
283
283
  "data-component": "data-export-card",
284
284
  ...o,
285
- children: [/* @__PURE__ */ w("h3", {
285
+ children: [/* @__PURE__ */ T("h3", {
286
286
  className: "select-none font-medium gds-heading text-fg mb-3",
287
287
  children: i
288
- }), /* @__PURE__ */ T("div", {
288
+ }), /* @__PURE__ */ E("div", {
289
289
  className: "flex flex-col gap-3",
290
290
  children: [
291
- /* @__PURE__ */ T("div", {
291
+ /* @__PURE__ */ E("div", {
292
292
  className: "flex flex-col gap-1",
293
- children: [/* @__PURE__ */ w("label", {
293
+ children: [/* @__PURE__ */ T("label", {
294
294
  className: "select-none text-xs text-fg-muted",
295
295
  children: "Format"
296
- }), /* @__PURE__ */ w("select", {
296
+ }), /* @__PURE__ */ T("select", {
297
297
  value: c,
298
298
  onChange: (e) => l(e.target.value),
299
299
  className: "rounded border border-border bg-bg px-2 py-1.5 gds-text-body text-fg",
300
- children: t.map((e) => /* @__PURE__ */ w("option", {
300
+ children: t.map((e) => /* @__PURE__ */ T("option", {
301
301
  value: e,
302
302
  children: e
303
303
  }, e))
304
304
  })]
305
305
  }),
306
- /* @__PURE__ */ T("div", {
306
+ /* @__PURE__ */ E("div", {
307
307
  className: "flex gap-2",
308
- children: [/* @__PURE__ */ T("div", {
308
+ children: [/* @__PURE__ */ E("div", {
309
309
  className: "flex flex-1 flex-col gap-1",
310
- children: [/* @__PURE__ */ w("label", {
310
+ children: [/* @__PURE__ */ T("label", {
311
311
  className: "select-none text-xs text-fg-muted",
312
312
  children: "From"
313
- }), /* @__PURE__ */ w("input", {
313
+ }), /* @__PURE__ */ T("input", {
314
314
  type: "date",
315
315
  value: u,
316
316
  onChange: (e) => d(e.target.value),
317
317
  className: "rounded border border-border bg-bg px-2 py-1.5 gds-text-body text-fg"
318
318
  })]
319
- }), /* @__PURE__ */ T("div", {
319
+ }), /* @__PURE__ */ E("div", {
320
320
  className: "flex flex-1 flex-col gap-1",
321
- children: [/* @__PURE__ */ w("label", {
321
+ children: [/* @__PURE__ */ T("label", {
322
322
  className: "select-none text-xs text-fg-muted",
323
323
  children: "To"
324
- }), /* @__PURE__ */ w("input", {
324
+ }), /* @__PURE__ */ T("input", {
325
325
  type: "date",
326
326
  value: f,
327
327
  onChange: (e) => p(e.target.value),
@@ -329,7 +329,7 @@ var M = v(function({ header: n, sidebar: r, content: i, footer: a, sidebarPositi
329
329
  })]
330
330
  })]
331
331
  }),
332
- /* @__PURE__ */ w(n, {
332
+ /* @__PURE__ */ T(n, {
333
333
  type: "button",
334
334
  onClick: m,
335
335
  className: "mt-1",
@@ -338,207 +338,207 @@ var M = v(function({ header: n, sidebar: r, content: i, footer: a, sidebarPositi
338
338
  ]
339
339
  })]
340
340
  });
341
- }), I = v(function({ activeTab: t, children: n, className: r, onTabChange: i, statusBar: a, tabs: o, ...s }, c) {
342
- return /* @__PURE__ */ T("div", {
341
+ }), N = v(function({ activeTab: t, children: n, className: r, onTabChange: i, statusBar: a, tabs: o, ...s }, c) {
342
+ return /* @__PURE__ */ E("div", {
343
343
  className: e("flex h-full flex-col", r),
344
344
  "data-component": "devops-layout",
345
345
  ref: c,
346
346
  ...s,
347
347
  children: [
348
- /* @__PURE__ */ w("div", {
348
+ /* @__PURE__ */ T("div", {
349
349
  className: "flex items-center gap-1 border-b border-border px-2",
350
- children: o.map((n) => /* @__PURE__ */ w("button", {
350
+ children: o.map((n) => /* @__PURE__ */ T("button", {
351
351
  className: e("px-3 py-2 gds-text-label font-medium transition-colors", n.id === t ? "border-b-2 border-accent text-accent" : "text-fg-muted hover:text-fg"),
352
352
  onClick: () => i(n.id),
353
353
  type: "button",
354
354
  children: n.label
355
355
  }, n.id))
356
356
  }),
357
- a !== void 0 && /* @__PURE__ */ w("div", {
357
+ a !== void 0 && /* @__PURE__ */ T("div", {
358
358
  className: "border-b border-border px-3 py-2",
359
359
  children: a
360
360
  }),
361
- /* @__PURE__ */ w("div", {
361
+ /* @__PURE__ */ T("div", {
362
362
  className: "flex-1 overflow-auto",
363
363
  children: n
364
364
  })
365
365
  ]
366
366
  });
367
- }), L = v(function({ title: t, description: n, icon: r, action: i, className: a }, o) {
368
- return /* @__PURE__ */ T("div", {
367
+ }), P = v(function({ title: t, description: n, icon: r, action: i, className: a }, o) {
368
+ return /* @__PURE__ */ E("div", {
369
369
  ref: o,
370
370
  className: e("flex flex-col items-center justify-center py-12", a),
371
371
  "data-component": "empty-state",
372
372
  children: [
373
- r !== void 0 && /* @__PURE__ */ w("div", {
373
+ r !== void 0 && /* @__PURE__ */ T("div", {
374
374
  className: "mb-3 flex h-12 w-12 items-center justify-center text-fg-muted/20",
375
375
  children: r
376
376
  }),
377
- /* @__PURE__ */ w("p", {
377
+ /* @__PURE__ */ T("p", {
378
378
  className: "gds-text-body font-medium text-fg",
379
379
  children: t
380
380
  }),
381
- n !== void 0 && /* @__PURE__ */ w("p", {
381
+ n !== void 0 && /* @__PURE__ */ T("p", {
382
382
  className: "mt-1 gds-text-body text-fg-muted",
383
383
  children: n
384
384
  }),
385
- i !== void 0 && /* @__PURE__ */ w("div", {
385
+ i !== void 0 && /* @__PURE__ */ T("div", {
386
386
  className: "mt-4",
387
387
  children: i
388
388
  })
389
389
  ]
390
390
  });
391
- }), R = v(function({ items: n, title: r = "FAQ", glass: i, className: a }, o) {
392
- return /* @__PURE__ */ T("div", {
391
+ }), F = v(function({ items: n, title: r = "FAQ", glass: i, className: a }, o) {
392
+ return /* @__PURE__ */ E("div", {
393
393
  ref: o,
394
394
  className: e("gds-ctx gds-radius-card border gds-pad-x-lg gds-pad-y-lg", i === !0 ? e(t(i), "border-white/10 bg-bg/60") : "border-border bg-surface", a),
395
395
  "data-component": "faq",
396
- children: [/* @__PURE__ */ w("h2", {
396
+ children: [/* @__PURE__ */ T("h2", {
397
397
  className: "gds-heading font-semibold text-fg mb-4",
398
398
  children: r
399
- }), /* @__PURE__ */ w(h, {
399
+ }), /* @__PURE__ */ T(h, {
400
400
  type: "single",
401
- children: n.map((e, t) => /* @__PURE__ */ w(p, {
401
+ children: n.map((e, t) => /* @__PURE__ */ T(p, {
402
402
  id: `faq-${t}`,
403
403
  title: e.question,
404
404
  children: e.answer
405
405
  }, t))
406
406
  })]
407
407
  });
408
- }), z = v(function({ icon: n, title: r, description: i, action: a, glass: o, className: s }, c) {
409
- return /* @__PURE__ */ T("div", {
408
+ }), I = v(function({ icon: n, title: r, description: i, action: a, glass: o, className: s }, c) {
409
+ return /* @__PURE__ */ E("div", {
410
410
  ref: c,
411
411
  className: e("gds-ctx gds-radius-card border gds-pad-x-lg gds-pad-y-lg flex flex-col", o === !0 ? e(t(o), "border-white/10 bg-bg/60") : "border-border bg-surface", s),
412
412
  "data-component": "feature-card",
413
413
  children: [
414
- n !== void 0 && /* @__PURE__ */ w("div", {
414
+ n !== void 0 && /* @__PURE__ */ T("div", {
415
415
  className: "mb-3 text-accent",
416
416
  children: n
417
417
  }),
418
- /* @__PURE__ */ w("p", {
418
+ /* @__PURE__ */ T("p", {
419
419
  className: "font-semibold text-fg",
420
420
  children: r
421
421
  }),
422
- i !== void 0 && /* @__PURE__ */ w("p", {
422
+ i !== void 0 && /* @__PURE__ */ T("p", {
423
423
  className: "mt-1 gds-text-body text-fg-muted",
424
424
  children: i
425
425
  }),
426
- a !== void 0 && /* @__PURE__ */ w("div", {
426
+ a !== void 0 && /* @__PURE__ */ T("div", {
427
427
  className: "mt-auto pt-4",
428
428
  children: a
429
429
  })
430
430
  ]
431
431
  });
432
- }), B = v(function({ columns: n, copyright: r, logo: i, glass: a, className: o }, s) {
433
- return /* @__PURE__ */ T("footer", {
432
+ }), L = v(function({ columns: n, copyright: r, logo: i, glass: a, className: o }, s) {
433
+ return /* @__PURE__ */ E("footer", {
434
434
  ref: s,
435
435
  className: e("w-full py-10", a && t(!0), o),
436
436
  "data-component": "footer",
437
- children: [n !== void 0 && n.length > 0 && /* @__PURE__ */ w("div", {
437
+ children: [n !== void 0 && n.length > 0 && /* @__PURE__ */ T("div", {
438
438
  className: "grid grid-cols-2 gap-8 sm:grid-cols-3 lg:grid-cols-4",
439
- children: n.map((e) => /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
439
+ children: n.map((e) => /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h3", {
440
440
  className: "text-sm font-semibold text-fg",
441
441
  children: e.title
442
- }), /* @__PURE__ */ w("ul", {
442
+ }), /* @__PURE__ */ T("ul", {
443
443
  className: "mt-3 space-y-2",
444
- children: e.links.map((e) => /* @__PURE__ */ w("li", { children: /* @__PURE__ */ w("a", {
444
+ children: e.links.map((e) => /* @__PURE__ */ T("li", { children: /* @__PURE__ */ T("a", {
445
445
  href: e.href,
446
446
  className: "text-sm text-fg-muted hover:text-fg",
447
447
  children: e.label
448
448
  }) }, e.href))
449
449
  })] }, e.title))
450
- }), /* @__PURE__ */ T("div", {
450
+ }), /* @__PURE__ */ E("div", {
451
451
  className: e("flex items-center gap-3 border-t border-border pt-6", n !== void 0 && n.length > 0 && "mt-8"),
452
- children: [i !== void 0 && /* @__PURE__ */ w("div", { children: i }), r !== void 0 && /* @__PURE__ */ w("p", {
452
+ children: [i !== void 0 && /* @__PURE__ */ T("div", { children: i }), r !== void 0 && /* @__PURE__ */ T("p", {
453
453
  className: "text-xs text-fg-muted",
454
454
  children: r
455
455
  })]
456
456
  })]
457
457
  });
458
- }), V = v(function({ title: t, description: n, children: r, actions: i, className: a }, o) {
458
+ }), R = v(function({ title: t, description: n, children: r, actions: i, className: a }, o) {
459
459
  let s = t !== void 0 || n !== void 0;
460
- return /* @__PURE__ */ T("div", {
460
+ return /* @__PURE__ */ E("div", {
461
461
  ref: o,
462
462
  className: e("flex flex-col", a),
463
463
  "data-component": "form-layout",
464
464
  children: [
465
- s && /* @__PURE__ */ T("div", {
465
+ s && /* @__PURE__ */ E("div", {
466
466
  className: "mb-4",
467
- children: [t !== void 0 && /* @__PURE__ */ w("h2", {
467
+ children: [t !== void 0 && /* @__PURE__ */ T("h2", {
468
468
  className: "gds-text-body font-semibold text-fg",
469
469
  children: t
470
- }), n !== void 0 && /* @__PURE__ */ w("p", {
470
+ }), n !== void 0 && /* @__PURE__ */ T("p", {
471
471
  className: "mt-0.5 gds-text-body text-fg-muted",
472
472
  children: n
473
473
  })]
474
474
  }),
475
- /* @__PURE__ */ w("div", {
475
+ /* @__PURE__ */ T("div", {
476
476
  className: "flex flex-col gds-gap-lg",
477
477
  children: r
478
478
  }),
479
- i !== void 0 && /* @__PURE__ */ w("div", {
479
+ i !== void 0 && /* @__PURE__ */ T("div", {
480
480
  className: "mt-6 flex justify-end gds-gap-sm",
481
481
  children: i
482
482
  })
483
483
  ]
484
484
  });
485
- }), H = v(function({ title: n, description: r, sections: a, actions: o, glass: s, className: c }, l) {
486
- return /* @__PURE__ */ T("div", {
485
+ }), z = v(function({ title: n, description: r, sections: a, actions: o, glass: s, className: c }, l) {
486
+ return /* @__PURE__ */ E("div", {
487
487
  ref: l,
488
488
  className: e("gds-ctx flex flex-col gds-pad gds-radius-card", t(s), c),
489
489
  "data-component": "form-pattern",
490
490
  children: [
491
- (n !== void 0 || r !== void 0) && /* @__PURE__ */ T("div", {
491
+ (n !== void 0 || r !== void 0) && /* @__PURE__ */ E("div", {
492
492
  className: "mb-4",
493
- children: [n !== void 0 && /* @__PURE__ */ w("h2", {
493
+ children: [n !== void 0 && /* @__PURE__ */ T("h2", {
494
494
  className: "gds-heading font-semibold text-fg",
495
495
  children: n
496
- }), r !== void 0 && /* @__PURE__ */ w("p", {
496
+ }), r !== void 0 && /* @__PURE__ */ T("p", {
497
497
  className: "mt-1 gds-text-body text-fg-muted",
498
498
  children: r
499
499
  })]
500
500
  }),
501
- a.map((e, t) => /* @__PURE__ */ T("div", { children: [t > 0 && /* @__PURE__ */ w(i, { className: "my-4" }), /* @__PURE__ */ T("div", {
501
+ a.map((e, t) => /* @__PURE__ */ E("div", { children: [t > 0 && /* @__PURE__ */ T(i, { className: "my-4" }), /* @__PURE__ */ E("div", {
502
502
  className: "flex flex-col gds-gap",
503
- children: [/* @__PURE__ */ w("h3", {
503
+ children: [/* @__PURE__ */ T("h3", {
504
504
  className: "gds-text-body font-medium text-fg",
505
505
  children: e.title
506
506
  }), e.fields]
507
507
  })] }, e.title)),
508
- o !== void 0 && /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(i, { className: "my-4" }), /* @__PURE__ */ w("div", {
508
+ o !== void 0 && /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T(i, { className: "my-4" }), /* @__PURE__ */ T("div", {
509
509
  className: "flex justify-end gds-gap-sm",
510
510
  children: o
511
511
  })] })
512
512
  ]
513
513
  });
514
- }), U = {
514
+ }), B = {
515
515
  none: "",
516
516
  sm: "gds-pad-x gds-pad-y",
517
517
  default: "gds-pad-x-lg gds-pad-y-lg",
518
518
  lg: "p-6"
519
- }, W = {
519
+ }, V = {
520
520
  sm: "sm",
521
521
  default: !0,
522
522
  lg: "lg"
523
- }, G = v(function({ children: n, blur: r = "default", padding: i = "default", className: a }, o) {
524
- return /* @__PURE__ */ w("div", {
523
+ }, H = v(function({ children: n, blur: r = "default", padding: i = "default", className: a }, o) {
524
+ return /* @__PURE__ */ T("div", {
525
525
  ref: o,
526
- className: e("gds-ctx gds-radius-card border border-white/10", t(W[r]), U[i], a),
526
+ className: e("gds-ctx gds-radius-card border border-white/10", t(V[r]), B[i], a),
527
527
  "data-component": "glass-panel",
528
528
  children: n
529
529
  });
530
- }), K = {
530
+ }), U = {
531
531
  sm: "gds-gap-sm",
532
532
  default: "gds-gap",
533
533
  lg: "gds-gap-lg"
534
- }, q = (e) => ({
534
+ }, W = (e) => ({
535
535
  1: "grid-cols-1",
536
536
  2: "grid-cols-2",
537
537
  3: "grid-cols-3",
538
538
  4: "grid-cols-4",
539
539
  5: "grid-cols-5",
540
540
  6: "grid-cols-6"
541
- })[e] ?? `grid-cols-${e}`, J = (e, t) => ({
541
+ })[e] ?? `grid-cols-${e}`, G = (e, t) => ({
542
542
  1: `${e}:grid-cols-1`,
543
543
  2: `${e}:grid-cols-2`,
544
544
  3: `${e}:grid-cols-3`,
@@ -546,108 +546,108 @@ var M = v(function({ header: n, sidebar: r, content: i, footer: a, sidebarPositi
546
546
  5: `${e}:grid-cols-5`,
547
547
  6: `${e}:grid-cols-6`
548
548
  })[t] ?? `${e}:grid-cols-${t}`;
549
- function Y(e) {
550
- if (typeof e == "number") return q(e);
549
+ function K(e) {
550
+ if (typeof e == "number") return W(e);
551
551
  let t = [];
552
- return e.sm !== void 0 && t.push(J("sm", e.sm)), e.md !== void 0 && t.push(J("md", e.md)), e.lg !== void 0 && t.push(J("lg", e.lg)), e.xl !== void 0 && t.push(J("xl", e.xl)), t.length > 0 && t.unshift("grid-cols-1"), t.join(" ");
552
+ return e.sm !== void 0 && t.push(G("sm", e.sm)), e.md !== void 0 && t.push(G("md", e.md)), e.lg !== void 0 && t.push(G("lg", e.lg)), e.xl !== void 0 && t.push(G("xl", e.xl)), t.length > 0 && t.unshift("grid-cols-1"), t.join(" ");
553
553
  }
554
- var X = v(function({ children: t, columns: n = {
554
+ var ce = v(function({ children: t, columns: n = {
555
555
  sm: 1,
556
556
  md: 2,
557
557
  lg: 3
558
558
  }, gap: r = "default", className: i }, a) {
559
- return /* @__PURE__ */ w("div", {
559
+ return /* @__PURE__ */ T("div", {
560
560
  ref: a,
561
- className: e("grid", Y(n), K[r], i),
561
+ className: e("grid", K(n), U[r], i),
562
562
  "data-component": "grid-layout",
563
563
  children: t
564
564
  });
565
- }), ie = v(function({ title: n, subtitle: r, actions: i, media: a, align: o = "center", glass: s, className: c }, l) {
565
+ }), le = v(function({ title: n, subtitle: r, actions: i, media: a, align: o = "center", glass: s, className: c }, l) {
566
566
  let u = o === "center";
567
- return /* @__PURE__ */ T("section", {
567
+ return /* @__PURE__ */ E("section", {
568
568
  ref: l,
569
569
  className: e("w-full py-16", u ? "text-center" : "flex items-center gap-12", s && t(!0), c),
570
570
  "data-component": "hero",
571
571
  "data-variant": o,
572
- children: [/* @__PURE__ */ T("div", {
572
+ children: [/* @__PURE__ */ E("div", {
573
573
  className: e(u ? "mx-auto max-w-2xl" : "flex-1"),
574
574
  children: [
575
- /* @__PURE__ */ w("h1", {
575
+ /* @__PURE__ */ T("h1", {
576
576
  className: "text-4xl font-bold text-fg",
577
577
  children: n
578
578
  }),
579
- r !== void 0 && /* @__PURE__ */ w("p", {
579
+ r !== void 0 && /* @__PURE__ */ T("p", {
580
580
  className: "mt-3 text-lg text-fg-muted",
581
581
  children: r
582
582
  }),
583
- i !== void 0 && /* @__PURE__ */ w("div", {
583
+ i !== void 0 && /* @__PURE__ */ T("div", {
584
584
  className: "mt-6",
585
585
  children: i
586
586
  }),
587
- u && a !== void 0 && /* @__PURE__ */ w("div", {
587
+ u && a !== void 0 && /* @__PURE__ */ T("div", {
588
588
  className: "mt-8",
589
589
  children: a
590
590
  })
591
591
  ]
592
- }), !u && a !== void 0 && /* @__PURE__ */ w("div", {
592
+ }), !u && a !== void 0 && /* @__PURE__ */ T("div", {
593
593
  className: "flex-1",
594
594
  children: a
595
595
  })]
596
596
  });
597
- }), ae = v(function({ className: t, departments: n, onboarding: r, stats: i, ...a }, o) {
598
- return /* @__PURE__ */ T("div", {
597
+ }), ue = v(function({ className: t, departments: n, onboarding: r, stats: i, ...a }, o) {
598
+ return /* @__PURE__ */ E("div", {
599
599
  className: e("gds-ctx flex flex-col gds-gap", t),
600
600
  "data-component": "hr-dashboard",
601
601
  ref: o,
602
602
  ...a,
603
- children: [i !== void 0 && /* @__PURE__ */ w("div", {
603
+ children: [i !== void 0 && /* @__PURE__ */ T("div", {
604
604
  className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
605
605
  children: i
606
- }), /* @__PURE__ */ T("div", {
606
+ }), /* @__PURE__ */ E("div", {
607
607
  className: "grid grid-cols-1 gap-4 lg:grid-cols-2",
608
- children: [r !== void 0 && /* @__PURE__ */ w("div", {
608
+ children: [r !== void 0 && /* @__PURE__ */ T("div", {
609
609
  className: "gds-radius-card border border-border bg-surface gds-pad",
610
610
  children: r
611
- }), n !== void 0 && /* @__PURE__ */ w("div", {
611
+ }), n !== void 0 && /* @__PURE__ */ T("div", {
612
612
  className: "gds-radius-card border border-border bg-surface gds-pad",
613
613
  children: n
614
614
  })]
615
615
  })]
616
616
  });
617
- }), oe = v(function({ list: t, detail: n, listWidth: r = 360, className: i }, a) {
618
- return /* @__PURE__ */ T("div", {
617
+ }), de = v(function({ list: t, detail: n, listWidth: r = 360, className: i }, a) {
618
+ return /* @__PURE__ */ E("div", {
619
619
  ref: a,
620
620
  className: e("flex h-full overflow-hidden", i),
621
621
  "data-component": "inbox-layout",
622
- children: [/* @__PURE__ */ w("div", {
622
+ children: [/* @__PURE__ */ T("div", {
623
623
  className: "shrink-0 overflow-y-auto border-r border-border",
624
624
  style: { width: r },
625
625
  children: t
626
- }), /* @__PURE__ */ w("div", {
626
+ }), /* @__PURE__ */ T("div", {
627
627
  className: "min-w-0 flex-1 overflow-y-auto",
628
628
  children: n
629
629
  })]
630
630
  });
631
- }), Z = v(function({ title: n, value: r, change: i, changeLabel: a, icon: o, glass: s, className: c }, l) {
631
+ }), q = v(function({ title: n, value: r, change: i, changeLabel: a, icon: o, glass: s, className: c }, l) {
632
632
  let u = i !== void 0 && i >= 0;
633
- return /* @__PURE__ */ T("div", {
633
+ return /* @__PURE__ */ E("div", {
634
634
  ref: l,
635
635
  className: e("relative gds-radius-card border gds-pad-x-lg gds-pad-y-lg", s === !0 ? e(t(s), "border-white/10 bg-bg/60") : "border-border bg-surface", c),
636
636
  "data-component": "metric-card",
637
637
  children: [
638
- o !== void 0 && /* @__PURE__ */ w("div", {
638
+ o !== void 0 && /* @__PURE__ */ T("div", {
639
639
  className: "absolute right-4 top-4 text-fg-muted/40",
640
640
  children: o
641
641
  }),
642
- /* @__PURE__ */ w("p", {
642
+ /* @__PURE__ */ T("p", {
643
643
  className: "gds-text-body text-fg-muted",
644
644
  children: n
645
645
  }),
646
- /* @__PURE__ */ w("p", {
646
+ /* @__PURE__ */ T("p", {
647
647
  className: "mt-1 text-2xl font-bold text-fg",
648
648
  children: r
649
649
  }),
650
- i !== void 0 && /* @__PURE__ */ T("p", {
650
+ i !== void 0 && /* @__PURE__ */ E("p", {
651
651
  className: e("mt-1 gds-text-body", u ? "text-success" : "text-danger"),
652
652
  children: [
653
653
  u ? "+" : "",
@@ -658,30 +658,30 @@ var X = v(function({ children: t, columns: n = {
658
658
  })
659
659
  ]
660
660
  });
661
- }), se = v(function({ title: n, metrics: r, chart: i, table: a, glass: o, className: s }, c) {
662
- return /* @__PURE__ */ T("div", {
661
+ }), fe = v(function({ title: n, metrics: r, chart: i, table: a, glass: o, className: s }, c) {
662
+ return /* @__PURE__ */ E("div", {
663
663
  ref: c,
664
664
  className: e("gds-ctx flex flex-col gds-gap", s),
665
665
  "data-component": "kpi-dashboard",
666
666
  children: [
667
- n !== void 0 && /* @__PURE__ */ w("h2", {
667
+ n !== void 0 && /* @__PURE__ */ T("h2", {
668
668
  className: "gds-heading font-semibold text-fg",
669
669
  children: n
670
670
  }),
671
- r !== void 0 && r.length > 0 && /* @__PURE__ */ w("div", {
671
+ r !== void 0 && r.length > 0 && /* @__PURE__ */ T("div", {
672
672
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
673
- children: r.map((e) => /* @__PURE__ */ w(Z, {
673
+ children: r.map((e) => /* @__PURE__ */ T(q, {
674
674
  change: e.change,
675
675
  glass: o,
676
676
  title: e.title,
677
677
  value: e.value
678
678
  }, e.title))
679
679
  }),
680
- i !== void 0 && /* @__PURE__ */ w("div", {
680
+ i !== void 0 && /* @__PURE__ */ T("div", {
681
681
  className: e("gds-radius-card border gds-pad", o === !0 ? e(t(o), "border-white/10 bg-bg/60") : "border-border bg-surface"),
682
682
  children: i
683
683
  }),
684
- a !== void 0 && /* @__PURE__ */ w("div", {
684
+ a !== void 0 && /* @__PURE__ */ T("div", {
685
685
  className: e("gds-radius-card border gds-pad", o === !0 ? e(t(o), "border-white/10 bg-bg/60") : "border-border bg-surface"),
686
686
  children: a
687
687
  })
@@ -690,61 +690,61 @@ var X = v(function({ children: t, columns: n = {
690
690
  });
691
691
  //#endregion
692
692
  //#region src/l7-patterns/loading-states.tsx
693
- function ce({ message: n, glass: r, className: i }) {
694
- return /* @__PURE__ */ T("div", {
693
+ function pe({ message: n, glass: r, className: i }) {
694
+ return /* @__PURE__ */ E("div", {
695
695
  className: e("flex min-h-[200px] flex-col items-center justify-center gap-3", t(r), i),
696
- children: [/* @__PURE__ */ w(s, { size: "lg" }), n !== void 0 && /* @__PURE__ */ w("p", {
696
+ children: [/* @__PURE__ */ T(s, { size: "lg" }), n !== void 0 && /* @__PURE__ */ T("p", {
697
697
  className: "gds-text-body text-fg-muted",
698
698
  children: n
699
699
  })]
700
700
  });
701
701
  }
702
- function le({ message: t, className: n }) {
703
- return /* @__PURE__ */ T("div", {
702
+ function me({ message: t, className: n }) {
703
+ return /* @__PURE__ */ E("div", {
704
704
  className: e("inline-flex items-center gap-2", n),
705
- children: [/* @__PURE__ */ w(s, { size: "sm" }), t !== void 0 && /* @__PURE__ */ w("span", {
705
+ children: [/* @__PURE__ */ T(s, { size: "sm" }), t !== void 0 && /* @__PURE__ */ T("span", {
706
706
  className: "gds-text-body text-fg-muted",
707
707
  children: t
708
708
  })]
709
709
  });
710
710
  }
711
- function ue({ message: e, className: t }) {
712
- return /* @__PURE__ */ w("div", {
711
+ function he({ message: e, className: t }) {
712
+ return /* @__PURE__ */ T("div", {
713
713
  className: t,
714
- children: /* @__PURE__ */ w(n, {
714
+ children: /* @__PURE__ */ T(n, {
715
715
  loading: !0,
716
716
  disabled: !0,
717
717
  children: e ?? "Loading..."
718
718
  })
719
719
  });
720
720
  }
721
- function de({ message: n, glass: r, className: i }) {
722
- return /* @__PURE__ */ T("div", {
721
+ function ge({ message: n, glass: r, className: i }) {
722
+ return /* @__PURE__ */ E("div", {
723
723
  className: e("absolute inset-0 flex flex-col items-center justify-center gap-3", r === !0 ? t(r) : "bg-bg/80", i),
724
- children: [/* @__PURE__ */ w(s, { size: "lg" }), n !== void 0 && /* @__PURE__ */ w("p", {
724
+ children: [/* @__PURE__ */ T(s, { size: "lg" }), n !== void 0 && /* @__PURE__ */ T("p", {
725
725
  className: "gds-text-body text-fg-muted",
726
726
  children: n
727
727
  })]
728
728
  });
729
729
  }
730
- var fe = {
731
- page: ce,
732
- inline: le,
733
- button: ue,
734
- overlay: de
735
- }, pe = v(function({ variant: e, message: t, glass: n, className: r }, i) {
736
- return /* @__PURE__ */ w("div", {
730
+ var _e = {
731
+ page: pe,
732
+ inline: me,
733
+ button: he,
734
+ overlay: ge
735
+ }, ve = v(function({ variant: e, message: t, glass: n, className: r }, i) {
736
+ return /* @__PURE__ */ T("div", {
737
737
  ref: i,
738
738
  "data-component": "loading-states",
739
739
  "data-variant": e,
740
- children: fe[e]({
740
+ children: _e[e]({
741
741
  message: t,
742
742
  glass: n,
743
743
  className: r
744
744
  })
745
745
  });
746
- }), me = v(function({ onSubmit: r, title: i = "Sign in", error: s, loading: c = !1, glass: l = !1, className: u, ...f }, p) {
747
- let [m, h] = S(""), [g, _] = S(""), [v, y] = S(!1);
746
+ }), ye = v(function({ onSubmit: r, title: i = "Sign in", error: s, loading: c = !1, glass: l = !1, className: u, ...f }, p) {
747
+ let [m, h] = C(""), [g, _] = C(""), [v, y] = C(!1);
748
748
  function b(e) {
749
749
  e.preventDefault(), r({
750
750
  email: m,
@@ -752,24 +752,24 @@ var fe = {
752
752
  remember: v
753
753
  });
754
754
  }
755
- return /* @__PURE__ */ T("form", {
755
+ return /* @__PURE__ */ E("form", {
756
756
  ref: p,
757
757
  className: e("flex w-full max-w-sm flex-col gap-4 rounded-lg border border-border p-6", t(l), !l && "bg-bg", u),
758
758
  "data-component": "login-form",
759
759
  onSubmit: b,
760
760
  ...f,
761
761
  children: [
762
- /* @__PURE__ */ w("h2", {
762
+ /* @__PURE__ */ T("h2", {
763
763
  className: "text-center font-semibold text-fg gds-heading",
764
764
  children: i
765
765
  }),
766
- s !== void 0 && /* @__PURE__ */ w("div", {
766
+ s !== void 0 && /* @__PURE__ */ T("div", {
767
767
  className: "rounded-md bg-danger/10 px-3 py-2 text-xs text-danger",
768
768
  children: s
769
769
  }),
770
- /* @__PURE__ */ T("div", {
770
+ /* @__PURE__ */ E("div", {
771
771
  className: "flex flex-col gap-1",
772
- children: [/* @__PURE__ */ w(o, { children: "Email" }), /* @__PURE__ */ w(a, {
772
+ children: [/* @__PURE__ */ T(o, { children: "Email" }), /* @__PURE__ */ T(a, {
773
773
  type: "email",
774
774
  value: m,
775
775
  onChange: (e) => h(e.target.value),
@@ -777,9 +777,9 @@ var fe = {
777
777
  required: !0
778
778
  })]
779
779
  }),
780
- /* @__PURE__ */ T("div", {
780
+ /* @__PURE__ */ E("div", {
781
781
  className: "flex flex-col gap-1",
782
- children: [/* @__PURE__ */ w(o, { children: "Password" }), /* @__PURE__ */ w(a, {
782
+ children: [/* @__PURE__ */ T(o, { children: "Password" }), /* @__PURE__ */ T(a, {
783
783
  type: "password",
784
784
  value: g,
785
785
  onChange: (e) => _(e.target.value),
@@ -787,12 +787,12 @@ var fe = {
787
787
  required: !0
788
788
  })]
789
789
  }),
790
- /* @__PURE__ */ w(d, {
790
+ /* @__PURE__ */ T(d, {
791
791
  checked: v,
792
792
  onChange: y,
793
793
  label: "Remember me"
794
794
  }),
795
- /* @__PURE__ */ w(n, {
795
+ /* @__PURE__ */ T(n, {
796
796
  type: "submit",
797
797
  disabled: c,
798
798
  className: "w-full",
@@ -800,42 +800,42 @@ var fe = {
800
800
  })
801
801
  ]
802
802
  });
803
- }), he = v(function({ onSend: t, defaultTo: n, className: r }, i) {
804
- let a = x(null), o = x(null), s = x(null), c = y((e) => {
803
+ }), be = v(function({ onSend: t, defaultTo: n, className: r }, i) {
804
+ let a = S(null), o = S(null), s = S(null), c = y((e) => {
805
805
  e.preventDefault(), t({
806
806
  to: a.current?.value ?? "",
807
807
  subject: o.current?.value ?? "",
808
808
  body: s.current?.value ?? ""
809
809
  });
810
810
  }, [t]), l = "w-full rounded-md border border-border bg-transparent px-3 py-2 gds-text-body text-fg placeholder:text-fg-muted/40 focus:border-accent focus:outline-none";
811
- return /* @__PURE__ */ T("form", {
811
+ return /* @__PURE__ */ E("form", {
812
812
  ref: i,
813
813
  className: e("flex flex-col gap-3", r),
814
814
  "data-component": "mail-composer",
815
815
  onSubmit: c,
816
816
  children: [
817
- /* @__PURE__ */ w("input", {
817
+ /* @__PURE__ */ T("input", {
818
818
  ref: a,
819
819
  type: "email",
820
820
  placeholder: "To",
821
821
  defaultValue: n ?? "",
822
822
  className: l
823
823
  }),
824
- /* @__PURE__ */ w("input", {
824
+ /* @__PURE__ */ T("input", {
825
825
  ref: o,
826
826
  type: "text",
827
827
  placeholder: "Subject",
828
828
  className: l
829
829
  }),
830
- /* @__PURE__ */ w("textarea", {
830
+ /* @__PURE__ */ T("textarea", {
831
831
  ref: s,
832
832
  placeholder: "Body",
833
833
  rows: 6,
834
834
  className: e(l, "resize-none")
835
835
  }),
836
- /* @__PURE__ */ w("div", {
836
+ /* @__PURE__ */ T("div", {
837
837
  className: "flex justify-end",
838
- children: /* @__PURE__ */ w("button", {
838
+ children: /* @__PURE__ */ T("button", {
839
839
  type: "submit",
840
840
  className: "rounded-md bg-accent px-4 py-2 gds-text-body font-medium text-accent-fg hover:bg-accent/90 transition-colors",
841
841
  children: "Send"
@@ -843,7 +843,7 @@ var fe = {
843
843
  })
844
844
  ]
845
845
  });
846
- }), ge = v(function({ children: t, columns: n = 3, gap: r = 16, className: i }, a) {
846
+ }), xe = v(function({ children: t, columns: n = 3, gap: r = 16, className: i }, a) {
847
847
  let o = {
848
848
  columnCount: n,
849
849
  columnGap: `${r}px`
@@ -851,119 +851,119 @@ var fe = {
851
851
  breakInside: "avoid",
852
852
  marginBottom: `${r}px`
853
853
  };
854
- return /* @__PURE__ */ w("div", {
854
+ return /* @__PURE__ */ T("div", {
855
855
  ref: a,
856
856
  className: e(i),
857
857
  style: o,
858
858
  "data-component": "masonry",
859
- children: _.map(t, (e) => e == null ? null : /* @__PURE__ */ w("div", {
859
+ children: _.map(t, (e) => e == null ? null : /* @__PURE__ */ T("div", {
860
860
  style: s,
861
861
  children: e
862
862
  }))
863
863
  });
864
- }), _e = {
864
+ }), Se = {
865
865
  default: "gds-gap",
866
866
  lg: "gds-gap-lg",
867
867
  sm: "gds-gap-sm"
868
868
  };
869
- function ve(e) {
869
+ function Ce(e) {
870
870
  if (typeof e == "number") return `grid-cols-${e}`;
871
871
  let t = ["grid-cols-1"];
872
872
  return e.sm !== void 0 && t.push(`sm:grid-cols-${e.sm}`), e.md !== void 0 && t.push(`md:grid-cols-${e.md}`), e.lg !== void 0 && t.push(`lg:grid-cols-${e.lg}`), t.join(" ");
873
873
  }
874
- var ye = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a = {
874
+ var we = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a = {
875
875
  sm: 2,
876
876
  md: 3,
877
877
  lg: 4
878
878
  }, gap: o = "default" }, s) {
879
- return /* @__PURE__ */ w("div", {
879
+ return /* @__PURE__ */ T("div", {
880
880
  ref: s,
881
- className: e("grid", ve(a), _e[o], i),
881
+ className: e("grid", Ce(a), Se[o], i),
882
882
  "data-component": "media-grid",
883
- children: _.map(n, (e) => /* @__PURE__ */ w(r, {
883
+ children: _.map(n, (e) => /* @__PURE__ */ T(r, {
884
884
  ratio: t,
885
885
  className: "overflow-hidden rounded-lg",
886
886
  children: e
887
887
  }))
888
888
  });
889
- }), be = v(function({ title: n, children: r, glass: i, className: a }, o) {
890
- return /* @__PURE__ */ T("div", {
889
+ }), Te = v(function({ title: n, children: r, glass: i, className: a }, o) {
890
+ return /* @__PURE__ */ E("div", {
891
891
  ref: o,
892
892
  className: e("gds-ctx gds-radius-card border", i === !0 ? e(t(i), "border-white/10 bg-bg/60") : "border-border bg-surface", "gds-pad-x-lg gds-pad-y-lg", a),
893
893
  "data-component": "mini-dashboard",
894
- children: [n !== void 0 && /* @__PURE__ */ w("h2", {
894
+ children: [n !== void 0 && /* @__PURE__ */ T("h2", {
895
895
  className: "mb-3 gds-text-body font-semibold text-fg",
896
896
  children: n
897
897
  }), r]
898
898
  });
899
- }), xe = v(function({ children: t, columns: n, className: r }, i) {
900
- return /* @__PURE__ */ w("div", {
899
+ }), Ee = v(function({ children: t, columns: n, className: r }, i) {
900
+ return /* @__PURE__ */ T("div", {
901
901
  ref: i,
902
902
  className: e("grid gds-gap", n === void 0 ? "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4" : `grid-cols-${n}`, r),
903
903
  "data-component": "monitor-grid",
904
904
  children: t
905
905
  });
906
- }), Se = v(function({ logo: n, links: r, actions: i, sticky: a = !0, glass: o = !0, className: s }, c) {
907
- return /* @__PURE__ */ T("nav", {
906
+ }), De = v(function({ logo: n, links: r, actions: i, sticky: a = !0, glass: o = !0, className: s }, c) {
907
+ return /* @__PURE__ */ E("nav", {
908
908
  ref: c,
909
909
  className: e("flex w-full items-center justify-between px-6 py-3", a && "sticky top-0 z-40", o && t(!0), s),
910
910
  "data-component": "nav-bar",
911
911
  children: [
912
- n !== void 0 && /* @__PURE__ */ w("div", {
912
+ n !== void 0 && /* @__PURE__ */ T("div", {
913
913
  className: "flex-shrink-0",
914
914
  children: n
915
915
  }),
916
- r !== void 0 && r.length > 0 && /* @__PURE__ */ w("div", {
916
+ r !== void 0 && r.length > 0 && /* @__PURE__ */ T("div", {
917
917
  className: "flex items-center gap-6",
918
- children: r.map((t) => /* @__PURE__ */ w("a", {
918
+ children: r.map((t) => /* @__PURE__ */ T("a", {
919
919
  href: t.href,
920
920
  className: e("text-sm transition-colors", t.active ? "text-accent font-medium" : "text-fg-muted hover:text-fg"),
921
921
  children: t.label
922
922
  }, t.href))
923
923
  }),
924
- i !== void 0 && /* @__PURE__ */ w("div", {
924
+ i !== void 0 && /* @__PURE__ */ T("div", {
925
925
  className: "flex items-center gap-3",
926
926
  children: i
927
927
  })
928
928
  ]
929
929
  });
930
- }), Ce = v(function({ className: t, notifications: n, onRead: r, onReadAll: i, ...a }, o) {
931
- return /* @__PURE__ */ T("div", {
930
+ }), Oe = v(function({ className: t, notifications: n, onRead: r, onReadAll: i, ...a }, o) {
931
+ return /* @__PURE__ */ E("div", {
932
932
  className: e("gds-ctx gds-radius-card border border-border bg-surface", t),
933
933
  "data-component": "notification-list",
934
934
  ref: o,
935
935
  ...a,
936
- children: [/* @__PURE__ */ T("div", {
936
+ children: [/* @__PURE__ */ E("div", {
937
937
  className: "flex items-center justify-between border-b border-border px-4 py-2.5",
938
- children: [/* @__PURE__ */ w("span", {
938
+ children: [/* @__PURE__ */ T("span", {
939
939
  className: "text-sm font-semibold text-fg",
940
940
  children: "Notifications"
941
- }), i !== void 0 && /* @__PURE__ */ w("button", {
941
+ }), i !== void 0 && /* @__PURE__ */ T("button", {
942
942
  className: "text-xs text-accent hover:underline",
943
943
  onClick: i,
944
944
  type: "button",
945
945
  children: "Mark all read"
946
946
  })]
947
- }), n.length === 0 ? /* @__PURE__ */ w("div", {
947
+ }), n.length === 0 ? /* @__PURE__ */ T("div", {
948
948
  className: "px-4 py-6 text-center text-xs text-fg-muted",
949
949
  children: "No notifications"
950
- }) : /* @__PURE__ */ w("div", {
950
+ }) : /* @__PURE__ */ T("div", {
951
951
  className: "divide-y divide-border",
952
- children: n.map((t) => /* @__PURE__ */ w("div", {
952
+ children: n.map((t) => /* @__PURE__ */ T("div", {
953
953
  className: e("flex gap-3 px-4 py-2.5", t.read !== !0 && "border-l-2 border-l-accent", r !== void 0 && "cursor-pointer hover:bg-bg-tertiary"),
954
954
  onClick: r === void 0 ? void 0 : () => r(t.id),
955
- children: /* @__PURE__ */ T("div", {
955
+ children: /* @__PURE__ */ E("div", {
956
956
  className: "min-w-0 flex-1",
957
957
  children: [
958
- /* @__PURE__ */ w("div", {
958
+ /* @__PURE__ */ T("div", {
959
959
  className: "text-xs font-medium text-fg",
960
960
  children: t.title
961
961
  }),
962
- t.message !== void 0 && /* @__PURE__ */ w("div", {
962
+ t.message !== void 0 && /* @__PURE__ */ T("div", {
963
963
  className: "mt-0.5 text-xs text-fg-muted",
964
964
  children: t.message
965
965
  }),
966
- /* @__PURE__ */ w("div", {
966
+ /* @__PURE__ */ T("div", {
967
967
  className: "mt-1 text-[10px] text-fg-muted",
968
968
  children: t.timestamp
969
969
  })
@@ -972,20 +972,20 @@ var ye = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a
972
972
  }, t.id))
973
973
  })]
974
974
  });
975
- }), we = v(function({ className: t, steps: n, title: r = "Getting Started", ...i }, a) {
975
+ }), ke = v(function({ className: t, steps: n, title: r = "Getting Started", ...i }, a) {
976
976
  let o = n.filter((e) => e.completed).length, s = n.length > 0 ? Math.round(o / n.length * 100) : 0;
977
- return /* @__PURE__ */ T("div", {
977
+ return /* @__PURE__ */ E("div", {
978
978
  className: e("gds-ctx rounded-lg border border-border bg-surface gds-pad", t),
979
979
  "data-component": "onboarding-card",
980
980
  ref: a,
981
981
  ...i,
982
982
  children: [
983
- /* @__PURE__ */ T("div", {
983
+ /* @__PURE__ */ E("div", {
984
984
  className: "mb-3 flex items-center justify-between",
985
- children: [/* @__PURE__ */ w("h3", {
985
+ children: [/* @__PURE__ */ T("h3", {
986
986
  className: "gds-heading font-semibold text-fg",
987
987
  children: r
988
- }), /* @__PURE__ */ T("span", {
988
+ }), /* @__PURE__ */ E("span", {
989
989
  className: "gds-text-label text-fg-muted",
990
990
  children: [
991
991
  o,
@@ -994,23 +994,23 @@ var ye = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a
994
994
  ]
995
995
  })]
996
996
  }),
997
- /* @__PURE__ */ w("div", {
997
+ /* @__PURE__ */ T("div", {
998
998
  className: "mb-4 h-1.5 w-full overflow-hidden rounded-full bg-border",
999
- children: /* @__PURE__ */ w("div", {
999
+ children: /* @__PURE__ */ T("div", {
1000
1000
  className: "h-full rounded-full bg-accent transition-all",
1001
1001
  style: { width: `${s}%` }
1002
1002
  })
1003
1003
  }),
1004
- /* @__PURE__ */ w("ul", {
1004
+ /* @__PURE__ */ T("ul", {
1005
1005
  className: "flex flex-col gds-gap",
1006
- children: n.map((t, n) => /* @__PURE__ */ T("li", {
1006
+ children: n.map((t, n) => /* @__PURE__ */ E("li", {
1007
1007
  className: "flex items-center justify-between gds-gap",
1008
- children: [/* @__PURE__ */ T("div", {
1008
+ children: [/* @__PURE__ */ E("div", {
1009
1009
  className: "flex items-center gds-gap-sm",
1010
- children: [/* @__PURE__ */ w("span", {
1010
+ children: [/* @__PURE__ */ T("span", {
1011
1011
  className: e("flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs", t.completed ? "bg-success text-white" : "border border-border text-fg-muted"),
1012
1012
  children: t.completed ? "✓" : n + 1
1013
- }), /* @__PURE__ */ w("span", {
1013
+ }), /* @__PURE__ */ T("span", {
1014
1014
  className: e("text-sm", t.completed ? "text-fg-muted line-through" : "text-fg"),
1015
1015
  children: t.label
1016
1016
  })]
@@ -1019,7 +1019,7 @@ var ye = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a
1019
1019
  })
1020
1020
  ]
1021
1021
  });
1022
- }), Te = /* @__PURE__ */ w("svg", {
1022
+ }), Ae = /* @__PURE__ */ T("svg", {
1023
1023
  width: "12",
1024
1024
  height: "12",
1025
1025
  viewBox: "0 0 12 12",
@@ -1027,96 +1027,96 @@ var ye = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a
1027
1027
  stroke: "currentColor",
1028
1028
  strokeWidth: "1.5",
1029
1029
  strokeLinecap: "round",
1030
- children: /* @__PURE__ */ w("path", { d: "M4.5 3l3 3-3 3" })
1031
- }), Ee = v(function({ actions: t, breadcrumb: n, className: r, subtitle: i, title: a }, o) {
1032
- return /* @__PURE__ */ T("div", {
1030
+ children: /* @__PURE__ */ T("path", { d: "M4.5 3l3 3-3 3" })
1031
+ }), je = v(function({ actions: t, breadcrumb: n, className: r, subtitle: i, title: a }, o) {
1032
+ return /* @__PURE__ */ E("div", {
1033
1033
  ref: o,
1034
1034
  className: e("flex flex-col gds-gap-sm", r),
1035
1035
  "data-component": "page-header",
1036
- children: [n !== void 0 && n.length > 0 && /* @__PURE__ */ w("nav", {
1036
+ children: [n !== void 0 && n.length > 0 && /* @__PURE__ */ T("nav", {
1037
1037
  "aria-label": "Breadcrumb",
1038
- children: /* @__PURE__ */ w("ol", {
1038
+ children: /* @__PURE__ */ T("ol", {
1039
1039
  className: "flex items-center gds-gap-sm text-[11px] text-fg-muted",
1040
- children: n.map((e, t) => /* @__PURE__ */ T("li", {
1040
+ children: n.map((e, t) => /* @__PURE__ */ E("li", {
1041
1041
  className: "flex items-center gds-gap-sm",
1042
- children: [t > 0 && /* @__PURE__ */ w("span", {
1042
+ children: [t > 0 && /* @__PURE__ */ T("span", {
1043
1043
  className: "text-fg-muted/50",
1044
1044
  "aria-hidden": "true",
1045
- children: Te
1046
- }), e.href === void 0 ? /* @__PURE__ */ w("span", { children: e.label }) : /* @__PURE__ */ w("a", {
1045
+ children: Ae
1046
+ }), e.href === void 0 ? /* @__PURE__ */ T("span", { children: e.label }) : /* @__PURE__ */ T("a", {
1047
1047
  href: e.href,
1048
1048
  className: "transition-colors hover:text-fg",
1049
1049
  children: e.label
1050
1050
  })]
1051
1051
  }, t))
1052
1052
  })
1053
- }), /* @__PURE__ */ T("div", {
1053
+ }), /* @__PURE__ */ E("div", {
1054
1054
  className: "flex items-center justify-between gds-gap",
1055
- children: [/* @__PURE__ */ T("div", {
1055
+ children: [/* @__PURE__ */ E("div", {
1056
1056
  className: "min-w-0",
1057
- children: [/* @__PURE__ */ w("h1", {
1057
+ children: [/* @__PURE__ */ T("h1", {
1058
1058
  className: "gds-heading font-semibold text-fg",
1059
1059
  children: a
1060
- }), i !== void 0 && /* @__PURE__ */ w("p", {
1060
+ }), i !== void 0 && /* @__PURE__ */ T("p", {
1061
1061
  className: "mt-0.5 gds-text-body text-fg-muted",
1062
1062
  children: i
1063
1063
  })]
1064
- }), t !== void 0 && /* @__PURE__ */ w("div", {
1064
+ }), t !== void 0 && /* @__PURE__ */ T("div", {
1065
1065
  className: "flex shrink-0 items-center gds-gap-sm",
1066
1066
  children: t
1067
1067
  })]
1068
1068
  })]
1069
1069
  });
1070
- }), De = v(function({ chart: t, className: n, metrics: r, transactions: i, ...a }, o) {
1071
- return /* @__PURE__ */ T("div", {
1070
+ }), Me = v(function({ chart: t, className: n, metrics: r, transactions: i, ...a }, o) {
1071
+ return /* @__PURE__ */ E("div", {
1072
1072
  className: e("gds-ctx flex flex-col gds-gap", n),
1073
1073
  "data-component": "payroll-dashboard",
1074
1074
  ref: o,
1075
1075
  ...a,
1076
- children: [r !== void 0 && /* @__PURE__ */ w("div", {
1076
+ children: [r !== void 0 && /* @__PURE__ */ T("div", {
1077
1077
  className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
1078
1078
  children: r
1079
- }), /* @__PURE__ */ T("div", {
1079
+ }), /* @__PURE__ */ E("div", {
1080
1080
  className: "grid grid-cols-1 gap-4 lg:grid-cols-2",
1081
- children: [t !== void 0 && /* @__PURE__ */ w("div", {
1081
+ children: [t !== void 0 && /* @__PURE__ */ T("div", {
1082
1082
  className: "gds-radius-card border border-border bg-surface gds-pad",
1083
1083
  children: t
1084
- }), i !== void 0 && /* @__PURE__ */ w("div", {
1084
+ }), i !== void 0 && /* @__PURE__ */ T("div", {
1085
1085
  className: "gds-radius-card border border-border bg-surface gds-pad",
1086
1086
  children: i
1087
1087
  })]
1088
1088
  })]
1089
1089
  });
1090
- }), Oe = v(function({ name: n, price: r, period: i = "/month", features: a, action: o, highlighted: s, glass: c, className: l }, u) {
1091
- return /* @__PURE__ */ T("div", {
1090
+ }), Ne = v(function({ name: n, price: r, period: i = "/month", features: a, action: o, highlighted: s, glass: c, className: l }, u) {
1091
+ return /* @__PURE__ */ E("div", {
1092
1092
  ref: u,
1093
1093
  className: e("gds-ctx gds-radius-card border gds-pad-x-lg gds-pad-y-lg flex flex-col", s === !0 && "border-accent ring-1 ring-accent", s !== !0 && (c === !0 ? e(t(c), "border-white/10 bg-bg/60") : "border-border bg-surface"), c === !0 && s === !0 && e(t(c), "bg-bg/60"), l),
1094
1094
  "data-component": "pricing-card",
1095
1095
  "data-highlighted": s === !0 ? "true" : void 0,
1096
1096
  children: [
1097
- /* @__PURE__ */ w("p", {
1097
+ /* @__PURE__ */ T("p", {
1098
1098
  className: "font-semibold text-fg",
1099
1099
  children: n
1100
1100
  }),
1101
- /* @__PURE__ */ T("div", {
1101
+ /* @__PURE__ */ E("div", {
1102
1102
  className: "mt-2 flex items-baseline gap-1",
1103
- children: [/* @__PURE__ */ w("span", {
1103
+ children: [/* @__PURE__ */ T("span", {
1104
1104
  className: "text-3xl font-bold text-fg",
1105
1105
  children: r
1106
- }), /* @__PURE__ */ w("span", {
1106
+ }), /* @__PURE__ */ T("span", {
1107
1107
  className: "gds-text-body text-fg-muted",
1108
1108
  children: i
1109
1109
  })]
1110
1110
  }),
1111
- a.length > 0 && /* @__PURE__ */ w("ul", {
1111
+ a.length > 0 && /* @__PURE__ */ T("ul", {
1112
1112
  className: "mt-4 flex flex-col gap-2",
1113
- children: a.map((e) => /* @__PURE__ */ T("li", {
1113
+ children: a.map((e) => /* @__PURE__ */ E("li", {
1114
1114
  className: "flex items-center gap-2 gds-text-body text-fg-muted",
1115
- children: [/* @__PURE__ */ w("svg", {
1115
+ children: [/* @__PURE__ */ T("svg", {
1116
1116
  className: "h-4 w-4 shrink-0 text-success",
1117
1117
  viewBox: "0 0 16 16",
1118
1118
  fill: "none",
1119
- children: /* @__PURE__ */ w("path", {
1119
+ children: /* @__PURE__ */ T("path", {
1120
1120
  d: "M3 8l3 3 7-7",
1121
1121
  stroke: "currentColor",
1122
1122
  strokeWidth: "2",
@@ -1126,90 +1126,90 @@ var ye = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a
1126
1126
  }), e]
1127
1127
  }, e))
1128
1128
  }),
1129
- o !== void 0 && /* @__PURE__ */ w("div", {
1129
+ o !== void 0 && /* @__PURE__ */ T("div", {
1130
1130
  className: "mt-auto pt-4",
1131
1131
  children: o
1132
1132
  })
1133
1133
  ]
1134
1134
  });
1135
- }), ke = v(function({ actions: n, avatar: r, className: i, glass: a, name: o, role: s, stats: c }, l) {
1136
- return /* @__PURE__ */ T("div", {
1135
+ }), Pe = v(function({ actions: n, avatar: r, className: i, glass: a, name: o, role: s, stats: c }, l) {
1136
+ return /* @__PURE__ */ E("div", {
1137
1137
  ref: l,
1138
1138
  className: e("gds-ctx flex flex-col items-center gds-pad gds-radius-card border", a === !0 ? e(t(a), "border-white/10 bg-bg/60") : "border-border bg-surface", i),
1139
1139
  "data-component": "profile-card",
1140
1140
  children: [
1141
- /* @__PURE__ */ w(u, {
1141
+ /* @__PURE__ */ T(u, {
1142
1142
  name: o,
1143
1143
  src: r,
1144
1144
  size: "lg"
1145
1145
  }),
1146
- /* @__PURE__ */ w("p", {
1146
+ /* @__PURE__ */ T("p", {
1147
1147
  className: "mt-3 text-sm font-semibold text-fg",
1148
1148
  children: o
1149
1149
  }),
1150
- s !== void 0 && /* @__PURE__ */ w("p", {
1150
+ s !== void 0 && /* @__PURE__ */ T("p", {
1151
1151
  className: "mt-0.5 text-xs text-fg-muted",
1152
1152
  children: s
1153
1153
  }),
1154
- c !== void 0 && c.length > 0 && /* @__PURE__ */ w("div", {
1154
+ c !== void 0 && c.length > 0 && /* @__PURE__ */ T("div", {
1155
1155
  className: "mt-3 flex w-full justify-center gds-gap",
1156
- children: c.map((e) => /* @__PURE__ */ T("div", {
1156
+ children: c.map((e) => /* @__PURE__ */ E("div", {
1157
1157
  className: "flex flex-col items-center",
1158
- children: [/* @__PURE__ */ w("span", {
1158
+ children: [/* @__PURE__ */ T("span", {
1159
1159
  className: "text-sm font-bold text-fg",
1160
1160
  children: e.value
1161
- }), /* @__PURE__ */ w("span", {
1161
+ }), /* @__PURE__ */ T("span", {
1162
1162
  className: "text-[10px] text-fg-muted",
1163
1163
  children: e.label
1164
1164
  })]
1165
1165
  }, e.label))
1166
1166
  }),
1167
- n !== void 0 && /* @__PURE__ */ w("div", {
1167
+ n !== void 0 && /* @__PURE__ */ T("div", {
1168
1168
  className: "mt-3 flex w-full justify-center gds-gap",
1169
1169
  children: n
1170
1170
  })
1171
1171
  ]
1172
1172
  });
1173
- }), Ae = v(function({ activity: t, className: n, progress: r, tasks: i, team: a }, o) {
1174
- return /* @__PURE__ */ T("div", {
1173
+ }), Fe = v(function({ activity: t, className: n, progress: r, tasks: i, team: a }, o) {
1174
+ return /* @__PURE__ */ E("div", {
1175
1175
  className: e("grid grid-cols-2 gds-gap", n),
1176
1176
  "data-component": "project-dashboard",
1177
1177
  ref: o,
1178
1178
  children: [
1179
- r !== void 0 && /* @__PURE__ */ w("section", {
1179
+ r !== void 0 && /* @__PURE__ */ T("section", {
1180
1180
  "data-slot": "progress",
1181
1181
  children: r
1182
1182
  }),
1183
- a !== void 0 && /* @__PURE__ */ w("section", {
1183
+ a !== void 0 && /* @__PURE__ */ T("section", {
1184
1184
  "data-slot": "team",
1185
1185
  children: a
1186
1186
  }),
1187
- t !== void 0 && /* @__PURE__ */ w("section", {
1187
+ t !== void 0 && /* @__PURE__ */ T("section", {
1188
1188
  "data-slot": "activity",
1189
1189
  children: t
1190
1190
  }),
1191
- i !== void 0 && /* @__PURE__ */ w("section", {
1191
+ i !== void 0 && /* @__PURE__ */ T("section", {
1192
1192
  "data-slot": "tasks",
1193
1193
  children: i
1194
1194
  })
1195
1195
  ]
1196
1196
  });
1197
- }), je = v(function({ mobile: t, tablet: n, desktop: r, className: i }, a) {
1197
+ }), Ie = v(function({ mobile: t, tablet: n, desktop: r, className: i }, a) {
1198
1198
  let o = n ?? t;
1199
- return /* @__PURE__ */ T("div", {
1199
+ return /* @__PURE__ */ E("div", {
1200
1200
  ref: a,
1201
1201
  className: e(i),
1202
1202
  "data-component": "responsive-container",
1203
1203
  children: [
1204
- /* @__PURE__ */ w("div", {
1204
+ /* @__PURE__ */ T("div", {
1205
1205
  className: "block sm:hidden",
1206
1206
  children: t
1207
1207
  }),
1208
- /* @__PURE__ */ w("div", {
1208
+ /* @__PURE__ */ T("div", {
1209
1209
  className: "hidden sm:block lg:hidden",
1210
1210
  children: o
1211
1211
  }),
1212
- /* @__PURE__ */ w("div", {
1212
+ /* @__PURE__ */ T("div", {
1213
1213
  className: "hidden lg:block",
1214
1214
  children: r
1215
1215
  })
@@ -1218,68 +1218,68 @@ var ye = v(function({ aspectRatio: t = 1, children: n, className: i, columns: a
1218
1218
  });
1219
1219
  //#endregion
1220
1220
  //#region src/l7-patterns/server-overview.tsx
1221
- function Me(e) {
1221
+ function Le(e) {
1222
1222
  return e >= 90 ? "danger" : e >= 70 ? "warning" : "success";
1223
1223
  }
1224
- var Ne = "flex items-center gap-2", Pe = "w-8 text-[10px] text-fg-muted", Fe = "w-8 text-right text-[10px] font-mono text-fg-muted";
1225
- function Q({ label: e, value: t }) {
1226
- return /* @__PURE__ */ T("div", {
1227
- className: Ne,
1224
+ var Re = "flex items-center gap-2", ze = "w-8 text-[10px] text-fg-muted", Be = "w-8 text-right text-[10px] font-mono text-fg-muted";
1225
+ function J({ label: e, value: t }) {
1226
+ return /* @__PURE__ */ E("div", {
1227
+ className: Re,
1228
1228
  children: [
1229
- /* @__PURE__ */ w("span", {
1230
- className: Pe,
1229
+ /* @__PURE__ */ T("span", {
1230
+ className: ze,
1231
1231
  children: e
1232
1232
  }),
1233
- /* @__PURE__ */ w(c, {
1233
+ /* @__PURE__ */ T(c, {
1234
1234
  value: t,
1235
- variant: Me(t),
1235
+ variant: Le(t),
1236
1236
  size: "sm"
1237
1237
  }),
1238
- /* @__PURE__ */ T("span", {
1239
- className: Fe,
1238
+ /* @__PURE__ */ E("span", {
1239
+ className: Be,
1240
1240
  children: [t, "%"]
1241
1241
  })
1242
1242
  ]
1243
1243
  });
1244
1244
  }
1245
- var Ie = v(function({ className: t, servers: n, ...r }, i) {
1246
- return /* @__PURE__ */ w("div", {
1245
+ var Ve = v(function({ className: t, servers: n, ...r }, i) {
1246
+ return /* @__PURE__ */ T("div", {
1247
1247
  className: e("grid gap-3 sm:grid-cols-2 lg:grid-cols-3", t),
1248
1248
  "data-component": "server-overview",
1249
1249
  ref: i,
1250
1250
  ...r,
1251
- children: n.map((t) => /* @__PURE__ */ T("div", {
1251
+ children: n.map((t) => /* @__PURE__ */ E("div", {
1252
1252
  className: "rounded-lg border border-border bg-surface p-3 gds-ctx",
1253
1253
  children: [
1254
- /* @__PURE__ */ T("div", {
1254
+ /* @__PURE__ */ E("div", {
1255
1255
  className: "flex items-center justify-between mb-2",
1256
- children: [/* @__PURE__ */ w("span", {
1256
+ children: [/* @__PURE__ */ T("span", {
1257
1257
  className: "gds-text-label font-medium text-fg",
1258
1258
  children: t.name
1259
- }), /* @__PURE__ */ T("span", {
1259
+ }), /* @__PURE__ */ E("span", {
1260
1260
  className: "inline-flex items-center gap-1.5",
1261
- children: [/* @__PURE__ */ w("span", { className: e("h-2 w-2 rounded-full", t.status === "online" ? "bg-success" : "bg-danger") }), /* @__PURE__ */ w("span", {
1261
+ children: [/* @__PURE__ */ T("span", { className: e("h-2 w-2 rounded-full", t.status === "online" ? "bg-success" : "bg-danger") }), /* @__PURE__ */ T("span", {
1262
1262
  className: "text-xs text-fg-muted",
1263
1263
  children: t.status
1264
1264
  })]
1265
1265
  })]
1266
1266
  }),
1267
- /* @__PURE__ */ w("div", {
1267
+ /* @__PURE__ */ T("div", {
1268
1268
  className: "text-xs text-fg-muted mb-2",
1269
1269
  children: t.location
1270
1270
  }),
1271
- t.metrics !== void 0 && /* @__PURE__ */ T("div", {
1271
+ t.metrics !== void 0 && /* @__PURE__ */ E("div", {
1272
1272
  className: "flex flex-col gap-1.5",
1273
1273
  children: [
1274
- /* @__PURE__ */ w(Q, {
1274
+ /* @__PURE__ */ T(J, {
1275
1275
  label: "CPU",
1276
1276
  value: t.metrics.cpu
1277
1277
  }),
1278
- /* @__PURE__ */ w(Q, {
1278
+ /* @__PURE__ */ T(J, {
1279
1279
  label: "MEM",
1280
1280
  value: t.metrics.mem
1281
1281
  }),
1282
- /* @__PURE__ */ w(Q, {
1282
+ /* @__PURE__ */ T(J, {
1283
1283
  label: "DISK",
1284
1284
  value: t.metrics.disk
1285
1285
  })
@@ -1291,24 +1291,24 @@ var Ie = v(function({ className: t, servers: n, ...r }, i) {
1291
1291
  });
1292
1292
  //#endregion
1293
1293
  //#region src/l7-patterns/settings-layout.tsx
1294
- function Le({ className: t, defaultSection: n, sections: r }) {
1295
- let [i, a] = S(n ?? r[0]?.id ?? ""), o = r.find((e) => e.id === i);
1296
- return /* @__PURE__ */ T("div", {
1294
+ function He({ className: t, defaultSection: n, sections: r }) {
1295
+ let [i, a] = C(n ?? r[0]?.id ?? ""), o = r.find((e) => e.id === i);
1296
+ return /* @__PURE__ */ E("div", {
1297
1297
  className: e("flex gap-6", t),
1298
1298
  "data-component": "settings-layout",
1299
- children: [/* @__PURE__ */ w("nav", {
1299
+ children: [/* @__PURE__ */ T("nav", {
1300
1300
  className: "w-48 shrink-0",
1301
- children: /* @__PURE__ */ w("ul", {
1301
+ children: /* @__PURE__ */ T("ul", {
1302
1302
  className: "flex flex-col gap-0.5",
1303
1303
  role: "list",
1304
- children: r.map((t) => /* @__PURE__ */ w("li", { children: /* @__PURE__ */ w("button", {
1304
+ children: r.map((t) => /* @__PURE__ */ T("li", { children: /* @__PURE__ */ T("button", {
1305
1305
  type: "button",
1306
1306
  className: e("w-full rounded-md px-3 py-2 text-left gds-text-body transition-colors", t.id === i ? "bg-accent/10 font-medium text-accent" : "text-fg-muted hover:bg-bg-tertiary hover:text-fg"),
1307
1307
  onClick: () => a(t.id),
1308
1308
  children: t.label
1309
1309
  }) }, t.id))
1310
1310
  })
1311
- }), /* @__PURE__ */ w("div", {
1311
+ }), /* @__PURE__ */ T("div", {
1312
1312
  className: "min-w-0 flex-1",
1313
1313
  children: o === void 0 ? null : o.content
1314
1314
  })]
@@ -1316,22 +1316,22 @@ function Le({ className: t, defaultSection: n, sections: r }) {
1316
1316
  }
1317
1317
  //#endregion
1318
1318
  //#region src/l7-patterns/sidebar.tsx
1319
- var Re = v(function({ children: n, collapsed: r = !1, onCollapse: i, width: a = 240, collapsedWidth: o = 56, position: s = "left", glass: c, className: l }, u) {
1319
+ var Ue = v(function({ children: n, collapsed: r = !1, onCollapse: i, width: a = 240, collapsedWidth: o = 56, position: s = "left", glass: c, className: l }, u) {
1320
1320
  let d = r ? o : a;
1321
- return /* @__PURE__ */ T("div", {
1321
+ return /* @__PURE__ */ E("div", {
1322
1322
  ref: u,
1323
1323
  className: e("flex flex-col overflow-hidden transition-[width] duration-200", s === "left" ? "border-r" : "border-l", c === !0 ? e(t(c), "border-white/10 bg-bg/60") : "border-border bg-surface", l),
1324
1324
  "data-collapsed": r,
1325
1325
  "data-component": "sidebar",
1326
1326
  style: { width: d },
1327
- children: [/* @__PURE__ */ w("div", {
1327
+ children: [/* @__PURE__ */ T("div", {
1328
1328
  className: "flex-1 overflow-hidden",
1329
1329
  children: n
1330
- }), i !== void 0 && /* @__PURE__ */ w("button", {
1330
+ }), i !== void 0 && /* @__PURE__ */ T("button", {
1331
1331
  className: "flex h-10 items-center justify-center border-t border-border/50 text-fg-muted hover:text-fg transition-colors",
1332
1332
  type: "button",
1333
1333
  onClick: () => i(!r),
1334
- children: /* @__PURE__ */ w("svg", {
1334
+ children: /* @__PURE__ */ T("svg", {
1335
1335
  className: e("transition-transform duration-200", r && "rotate-180", s === "right" && "rotate-180", r && s === "right" && "rotate-0"),
1336
1336
  fill: "none",
1337
1337
  height: "14",
@@ -1339,106 +1339,106 @@ var Re = v(function({ children: n, collapsed: r = !1, onCollapse: i, width: a =
1339
1339
  strokeWidth: "2",
1340
1340
  viewBox: "0 0 24 24",
1341
1341
  width: "14",
1342
- children: /* @__PURE__ */ w("polyline", { points: "15 18 9 12 15 6" })
1342
+ children: /* @__PURE__ */ T("polyline", { points: "15 18 9 12 15 6" })
1343
1343
  })
1344
1344
  })]
1345
1345
  });
1346
1346
  });
1347
1347
  //#endregion
1348
1348
  //#region src/l7-patterns/skeleton-pattern.tsx
1349
- function ze() {
1350
- return /* @__PURE__ */ T("div", {
1349
+ function We() {
1350
+ return /* @__PURE__ */ E("div", {
1351
1351
  className: "flex flex-col gds-gap gds-ctx gds-pad gds-radius-card",
1352
1352
  children: [
1353
- /* @__PURE__ */ w(l, {
1353
+ /* @__PURE__ */ T(l, {
1354
1354
  variant: "rect",
1355
1355
  height: 120
1356
1356
  }),
1357
- /* @__PURE__ */ w(l, {
1357
+ /* @__PURE__ */ T(l, {
1358
1358
  variant: "text",
1359
1359
  width: "60%"
1360
1360
  }),
1361
- /* @__PURE__ */ w(l, {
1361
+ /* @__PURE__ */ T(l, {
1362
1362
  variant: "text",
1363
1363
  lines: 2
1364
1364
  })
1365
1365
  ]
1366
1366
  });
1367
1367
  }
1368
- function Be() {
1369
- return /* @__PURE__ */ T("div", {
1368
+ function Ge() {
1369
+ return /* @__PURE__ */ E("div", {
1370
1370
  className: "flex items-center gap-3",
1371
- children: [/* @__PURE__ */ w(l, { variant: "circle" }), /* @__PURE__ */ T("div", {
1371
+ children: [/* @__PURE__ */ T(l, { variant: "circle" }), /* @__PURE__ */ E("div", {
1372
1372
  className: "flex flex-1 flex-col gap-2",
1373
- children: [/* @__PURE__ */ w(l, {
1373
+ children: [/* @__PURE__ */ T(l, {
1374
1374
  variant: "text",
1375
1375
  width: "40%"
1376
- }), /* @__PURE__ */ w(l, {
1376
+ }), /* @__PURE__ */ T(l, {
1377
1377
  variant: "text",
1378
1378
  width: "80%"
1379
1379
  })]
1380
1380
  })]
1381
1381
  });
1382
1382
  }
1383
- function Ve() {
1384
- return /* @__PURE__ */ T("div", {
1383
+ function Ke() {
1384
+ return /* @__PURE__ */ E("div", {
1385
1385
  className: "flex flex-col items-center gds-gap gds-ctx gds-pad",
1386
1386
  children: [
1387
- /* @__PURE__ */ w(l, {
1387
+ /* @__PURE__ */ T(l, {
1388
1388
  variant: "circle",
1389
1389
  width: 64,
1390
1390
  height: 64
1391
1391
  }),
1392
- /* @__PURE__ */ w(l, {
1392
+ /* @__PURE__ */ T(l, {
1393
1393
  variant: "text",
1394
1394
  width: "30%"
1395
1395
  }),
1396
- /* @__PURE__ */ w(l, {
1396
+ /* @__PURE__ */ T(l, {
1397
1397
  variant: "text",
1398
1398
  lines: 3
1399
1399
  })
1400
1400
  ]
1401
1401
  });
1402
1402
  }
1403
- function $({ rows: e }) {
1404
- return /* @__PURE__ */ T("div", {
1403
+ function qe({ rows: e }) {
1404
+ return /* @__PURE__ */ E("div", {
1405
1405
  className: "flex flex-col gap-2",
1406
- children: [/* @__PURE__ */ T("div", {
1406
+ children: [/* @__PURE__ */ E("div", {
1407
1407
  className: "flex gap-4",
1408
1408
  children: [
1409
- /* @__PURE__ */ w(l, {
1409
+ /* @__PURE__ */ T(l, {
1410
1410
  variant: "text",
1411
1411
  width: "25%"
1412
1412
  }),
1413
- /* @__PURE__ */ w(l, {
1413
+ /* @__PURE__ */ T(l, {
1414
1414
  variant: "text",
1415
1415
  width: "25%"
1416
1416
  }),
1417
- /* @__PURE__ */ w(l, {
1417
+ /* @__PURE__ */ T(l, {
1418
1418
  variant: "text",
1419
1419
  width: "25%"
1420
1420
  }),
1421
- /* @__PURE__ */ w(l, {
1421
+ /* @__PURE__ */ T(l, {
1422
1422
  variant: "text",
1423
1423
  width: "25%"
1424
1424
  })
1425
1425
  ]
1426
- }), Array.from({ length: e }, (e, t) => /* @__PURE__ */ T("div", {
1426
+ }), Array.from({ length: e }, (e, t) => /* @__PURE__ */ E("div", {
1427
1427
  className: "flex gap-4",
1428
1428
  children: [
1429
- /* @__PURE__ */ w(l, {
1429
+ /* @__PURE__ */ T(l, {
1430
1430
  variant: "text",
1431
1431
  width: "25%"
1432
1432
  }),
1433
- /* @__PURE__ */ w(l, {
1433
+ /* @__PURE__ */ T(l, {
1434
1434
  variant: "text",
1435
1435
  width: "25%"
1436
1436
  }),
1437
- /* @__PURE__ */ w(l, {
1437
+ /* @__PURE__ */ T(l, {
1438
1438
  variant: "text",
1439
1439
  width: "25%"
1440
1440
  }),
1441
- /* @__PURE__ */ w(l, {
1441
+ /* @__PURE__ */ T(l, {
1442
1442
  variant: "text",
1443
1443
  width: "25%"
1444
1444
  })
@@ -1446,80 +1446,80 @@ function $({ rows: e }) {
1446
1446
  }, t))]
1447
1447
  });
1448
1448
  }
1449
- var He = v(function({ variant: t, count: n = 1, glass: r, className: i }, a) {
1449
+ var Je = v(function({ variant: t, count: n = 1, glass: r, className: i }, a) {
1450
1450
  let o = r ? "backdrop-blur-md bg-white/5" : void 0;
1451
- return t === "card" ? /* @__PURE__ */ w("div", {
1451
+ return t === "card" ? /* @__PURE__ */ T("div", {
1452
1452
  ref: a,
1453
1453
  className: e("gds-ctx gds-radius-card", o, i),
1454
1454
  "data-component": "skeleton-pattern",
1455
1455
  "data-variant": "card",
1456
- children: /* @__PURE__ */ w(ze, {})
1457
- }) : t === "list" ? /* @__PURE__ */ w("div", {
1456
+ children: /* @__PURE__ */ T(We, {})
1457
+ }) : t === "list" ? /* @__PURE__ */ T("div", {
1458
1458
  ref: a,
1459
1459
  className: e("flex flex-col gds-gap gds-ctx gds-pad", o, i),
1460
1460
  "data-component": "skeleton-pattern",
1461
1461
  "data-variant": "list",
1462
- children: Array.from({ length: n }, (e, t) => /* @__PURE__ */ w(Be, {}, t))
1463
- }) : t === "profile" ? /* @__PURE__ */ w("div", {
1462
+ children: Array.from({ length: n }, (e, t) => /* @__PURE__ */ T(Ge, {}, t))
1463
+ }) : t === "profile" ? /* @__PURE__ */ T("div", {
1464
1464
  ref: a,
1465
1465
  className: e(o, i),
1466
1466
  "data-component": "skeleton-pattern",
1467
1467
  "data-variant": "profile",
1468
- children: /* @__PURE__ */ w(Ve, {})
1469
- }) : /* @__PURE__ */ w("div", {
1468
+ children: /* @__PURE__ */ T(Ke, {})
1469
+ }) : /* @__PURE__ */ T("div", {
1470
1470
  ref: a,
1471
1471
  className: e("gds-ctx gds-pad", o, i),
1472
1472
  "data-component": "skeleton-pattern",
1473
1473
  "data-variant": "table",
1474
- children: /* @__PURE__ */ w($, { rows: n })
1474
+ children: /* @__PURE__ */ T(qe, { rows: n })
1475
1475
  });
1476
1476
  });
1477
1477
  //#endregion
1478
1478
  //#region src/l7-patterns/splash-screen.tsx
1479
- function Ue() {
1480
- return /* @__PURE__ */ T("svg", {
1479
+ function Ye() {
1480
+ return /* @__PURE__ */ E("svg", {
1481
1481
  className: "h-5 w-5 animate-spin text-accent",
1482
1482
  fill: "none",
1483
1483
  viewBox: "0 0 24 24",
1484
- children: [/* @__PURE__ */ w("circle", {
1484
+ children: [/* @__PURE__ */ T("circle", {
1485
1485
  className: "opacity-25",
1486
1486
  cx: "12",
1487
1487
  cy: "12",
1488
1488
  r: "10",
1489
1489
  stroke: "currentColor",
1490
1490
  strokeWidth: "4"
1491
- }), /* @__PURE__ */ w("path", {
1491
+ }), /* @__PURE__ */ T("path", {
1492
1492
  className: "opacity-75",
1493
1493
  d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z",
1494
1494
  fill: "currentColor"
1495
1495
  })]
1496
1496
  });
1497
1497
  }
1498
- var We = v(function({ className: t, logo: n, message: r, title: i, visible: a, ...o }, s) {
1499
- return /* @__PURE__ */ T("div", {
1498
+ var Xe = v(function({ className: t, logo: n, message: r, title: i, visible: a, ...o }, s) {
1499
+ return /* @__PURE__ */ E("div", {
1500
1500
  ref: s,
1501
1501
  className: e("fixed inset-0 z-[9999] flex flex-col items-center justify-center bg-bg transition-opacity duration-300", a === !0 ? "opacity-100" : "pointer-events-none opacity-0", t),
1502
1502
  "data-component": "splash-screen",
1503
1503
  "data-visible": a,
1504
1504
  ...o,
1505
1505
  children: [
1506
- n !== void 0 && /* @__PURE__ */ w("div", {
1506
+ n !== void 0 && /* @__PURE__ */ T("div", {
1507
1507
  className: "mb-6",
1508
1508
  children: n
1509
1509
  }),
1510
- i !== void 0 && /* @__PURE__ */ w("h1", {
1510
+ i !== void 0 && /* @__PURE__ */ T("h1", {
1511
1511
  className: "mb-2 text-lg font-semibold text-fg",
1512
1512
  children: i
1513
1513
  }),
1514
- r !== void 0 && /* @__PURE__ */ w("p", {
1514
+ r !== void 0 && /* @__PURE__ */ T("p", {
1515
1515
  className: "mb-8 text-sm text-fg-muted",
1516
1516
  children: r
1517
1517
  }),
1518
- /* @__PURE__ */ w(Ue, {})
1518
+ /* @__PURE__ */ T(Ye, {})
1519
1519
  ]
1520
1520
  });
1521
- }), Ge = v(function({ className: t, defaultSplit: n = 50, left: r, minLeft: i = 20, minRight: a = 20, right: o, ...s }, c) {
1522
- let [l, u] = S(n), d = x(null), p = y((e) => {
1521
+ }), Ze = v(function({ className: t, defaultSplit: n = 50, left: r, minLeft: i = 20, minRight: a = 20, right: o, ...s }, c) {
1522
+ let [l, u] = C(n), d = S(null), p = y((e) => {
1523
1523
  let t = d.current;
1524
1524
  if (t === null) return;
1525
1525
  let n = t.offsetWidth;
@@ -1530,7 +1530,7 @@ var We = v(function({ className: t, logo: n, message: r, title: i, visible: a, .
1530
1530
  return t < i ? i : t > 100 - a ? 100 - a : t;
1531
1531
  });
1532
1532
  }, [i, a]);
1533
- return /* @__PURE__ */ T("div", {
1533
+ return /* @__PURE__ */ E("div", {
1534
1534
  className: e("flex h-full w-full", t),
1535
1535
  "data-component": "split-view",
1536
1536
  ref: (e) => {
@@ -1538,45 +1538,188 @@ var We = v(function({ className: t, logo: n, message: r, title: i, visible: a, .
1538
1538
  },
1539
1539
  ...s,
1540
1540
  children: [
1541
- /* @__PURE__ */ w("div", {
1541
+ /* @__PURE__ */ T("div", {
1542
1542
  className: "overflow-auto",
1543
1543
  style: { width: `${l}%` },
1544
1544
  children: r
1545
1545
  }),
1546
- /* @__PURE__ */ w(f, {
1546
+ /* @__PURE__ */ T(f, {
1547
1547
  orientation: "vertical",
1548
1548
  onResize: p
1549
1549
  }),
1550
- /* @__PURE__ */ w("div", {
1550
+ /* @__PURE__ */ T("div", {
1551
1551
  className: "overflow-auto",
1552
1552
  style: { width: `${100 - l}%` },
1553
1553
  children: o
1554
1554
  })
1555
1555
  ]
1556
1556
  });
1557
- }), Ke = {
1557
+ }), Qe = {
1558
+ default: "text-2xl",
1559
+ lg: "text-3xl",
1560
+ sm: "text-lg"
1561
+ }, Y = {
1562
+ down: "text-danger",
1563
+ neutral: "text-fg-muted",
1564
+ up: "text-success"
1565
+ };
1566
+ function X() {
1567
+ return /* @__PURE__ */ T("svg", {
1568
+ className: "h-3 w-3",
1569
+ fill: "none",
1570
+ stroke: "currentColor",
1571
+ strokeWidth: "2.5",
1572
+ viewBox: "0 0 24 24",
1573
+ children: /* @__PURE__ */ T("path", {
1574
+ d: "M12 19V5M5 12l7-7 7 7",
1575
+ strokeLinecap: "round",
1576
+ strokeLinejoin: "round"
1577
+ })
1578
+ });
1579
+ }
1580
+ function Z() {
1581
+ return /* @__PURE__ */ T("svg", {
1582
+ className: "h-3 w-3",
1583
+ fill: "none",
1584
+ stroke: "currentColor",
1585
+ strokeWidth: "2.5",
1586
+ viewBox: "0 0 24 24",
1587
+ children: /* @__PURE__ */ T("path", {
1588
+ d: "M12 5v14M19 12l-7 7-7-7",
1589
+ strokeLinecap: "round",
1590
+ strokeLinejoin: "round"
1591
+ })
1592
+ });
1593
+ }
1594
+ function Q() {
1595
+ return /* @__PURE__ */ T("svg", {
1596
+ className: "h-3 w-3",
1597
+ fill: "none",
1598
+ stroke: "currentColor",
1599
+ strokeWidth: "2.5",
1600
+ viewBox: "0 0 24 24",
1601
+ children: /* @__PURE__ */ T("path", {
1602
+ d: "M5 12h14",
1603
+ strokeLinecap: "round"
1604
+ })
1605
+ });
1606
+ }
1607
+ var $e = {
1608
+ down: Z,
1609
+ neutral: Q,
1610
+ up: X
1611
+ };
1612
+ function et(e, t, n) {
1613
+ if (e.length < 2) return "";
1614
+ let r = Math.min(...e), i = Math.max(...e) - r || 1, a = t / (e.length - 1);
1615
+ return e.map((e, t) => `${t === 0 ? "M" : "L"}${(t * a).toFixed(1)},${(n - (e - r) / i * n).toFixed(1)}`).join(" ");
1616
+ }
1617
+ function tt(e, t, n = 500) {
1618
+ let [r, i] = C(e), a = S(e), o = S(0);
1619
+ return b(() => {
1620
+ if (!t) {
1621
+ i(e);
1622
+ return;
1623
+ }
1624
+ let r = a.current;
1625
+ if (a.current = e, r === e) return;
1626
+ let s = performance.now(), c = e - r, l = (t) => {
1627
+ let a = Math.min(1, (t - s) / n);
1628
+ i(r + c * (1 - (1 - a) ** 3)), a < 1 ? o.current = requestAnimationFrame(l) : i(e);
1629
+ };
1630
+ return o.current = requestAnimationFrame(l), () => cancelAnimationFrame(o.current);
1631
+ }, [
1632
+ e,
1633
+ t,
1634
+ n
1635
+ ]), r;
1636
+ }
1637
+ var nt = v(function({ animated: t = !1, change: n, changeType: r = "neutral", className: i, description: a, footer: o, glass: s = !1, icon: c, label: l, motion: u, pulse: d = !1, size: f = "default", sparkData: p, trend: m, unit: h, value: g }, _) {
1638
+ let v = $e[r], y = m === void 0 ? null : m > 0 ? "up" : m < 0 ? "down" : "neutral", b = y === null ? null : Y[y], S = y === "up" ? "var(--gds-success)" : y === "down" ? "var(--gds-danger)" : "var(--gds-fg-muted)", C = x(() => p !== void 0 && p.length >= 2 ? et(p, 80, 24) : null, [p]), w = typeof g == "number" ? g : null, D = tt(w ?? 0, t && w !== null), O = t && w !== null ? Number.isInteger(D) ? D.toLocaleString() : D.toLocaleString(void 0, { maximumFractionDigits: 2 }) : g;
1639
+ return /* @__PURE__ */ E("div", {
1640
+ className: e("select-none", s ? "rounded-lg border border-white/10 bg-white/5 p-4 shadow-lg backdrop-blur-xl" : "space-y-1", d && "animate-pulse", u === "fade" ? "animate-fade-in" : u === "slide-up" ? "animate-slide-up" : "", i),
1641
+ "data-component": "stat",
1642
+ ref: _,
1643
+ children: [
1644
+ /* @__PURE__ */ E("div", {
1645
+ className: "flex items-start justify-between",
1646
+ children: [/* @__PURE__ */ T("div", {
1647
+ className: "text-xs text-fg-muted",
1648
+ children: l
1649
+ }), c !== void 0 && /* @__PURE__ */ T("span", {
1650
+ className: "h-4 w-4 text-fg-muted/30",
1651
+ children: c
1652
+ })]
1653
+ }),
1654
+ /* @__PURE__ */ E("div", {
1655
+ className: "flex items-end gap-3",
1656
+ children: [/* @__PURE__ */ E("div", {
1657
+ className: e("font-bold text-fg tabular-nums", Qe[f]),
1658
+ children: [O, h !== void 0 && /* @__PURE__ */ T("span", {
1659
+ className: "ml-1 text-xs font-normal text-fg-muted",
1660
+ children: h
1661
+ })]
1662
+ }), m !== void 0 && y !== null && /* @__PURE__ */ E("div", {
1663
+ className: e("mb-0.5 flex items-center gap-0.5 text-xs font-medium", b),
1664
+ children: [
1665
+ y === "up" && /* @__PURE__ */ T(X, {}),
1666
+ y === "down" && /* @__PURE__ */ T(Z, {}),
1667
+ y === "neutral" && /* @__PURE__ */ T(Q, {}),
1668
+ /* @__PURE__ */ T("span", { children: y === "neutral" ? "0%" : `${m > 0 ? "+" : ""}${m}%` })
1669
+ ]
1670
+ })]
1671
+ }),
1672
+ n !== void 0 && m === void 0 && /* @__PURE__ */ E("div", {
1673
+ className: e("inline-flex items-center gap-0.5 text-xs font-medium", Y[r]),
1674
+ children: [/* @__PURE__ */ T(v, {}), n]
1675
+ }),
1676
+ C !== null && /* @__PURE__ */ T("svg", {
1677
+ className: "mt-1",
1678
+ height: 24,
1679
+ viewBox: "0 0 80 24",
1680
+ width: 80,
1681
+ children: /* @__PURE__ */ T("path", {
1682
+ d: C,
1683
+ fill: "none",
1684
+ stroke: S,
1685
+ strokeLinecap: "round",
1686
+ strokeLinejoin: "round",
1687
+ strokeWidth: 1.5
1688
+ })
1689
+ }),
1690
+ a !== void 0 && /* @__PURE__ */ T("div", {
1691
+ className: "text-[11px] text-fg-muted",
1692
+ children: a
1693
+ }),
1694
+ o !== void 0 && /* @__PURE__ */ T("div", {
1695
+ className: "mt-3 border-t border-border/20 pt-2 text-[10px] text-fg-muted/50",
1696
+ children: o
1697
+ })
1698
+ ]
1699
+ });
1700
+ }), rt = {
1558
1701
  2: "grid-cols-2",
1559
1702
  3: "grid-cols-3",
1560
1703
  4: "grid-cols-4"
1561
- }, qe = v(function({ children: t, columns: n = 3, className: r }, i) {
1562
- return /* @__PURE__ */ w("div", {
1704
+ }, it = v(function({ children: t, columns: n = 3, className: r }, i) {
1705
+ return /* @__PURE__ */ T("div", {
1563
1706
  ref: i,
1564
- className: e("grid gds-gap-lg", Ke[n], r),
1707
+ className: e("grid gds-gap-lg", rt[n], r),
1565
1708
  "data-component": "stat-grid",
1566
1709
  children: t
1567
1710
  });
1568
1711
  });
1569
1712
  //#endregion
1570
1713
  //#region src/l7-patterns/stats-card.tsx
1571
- function Je({ data: e }) {
1714
+ function $({ data: e }) {
1572
1715
  if (e.length < 2) return null;
1573
1716
  let t = Math.max(...e), n = Math.min(...e), r = t - n;
1574
- return /* @__PURE__ */ w("svg", {
1717
+ return /* @__PURE__ */ T("svg", {
1575
1718
  className: "mt-2",
1576
1719
  height: 24,
1577
1720
  viewBox: "0 0 64 24",
1578
1721
  width: 64,
1579
- children: /* @__PURE__ */ w("polyline", {
1722
+ children: /* @__PURE__ */ T("polyline", {
1580
1723
  fill: "none",
1581
1724
  points: e.map((t, i) => `${i / (e.length - 1) * 64},${r > 0 ? 24 - (t - n) / r * 24 : 24 / 2}`).join(" "),
1582
1725
  stroke: "var(--gds-accent)",
@@ -1584,25 +1727,25 @@ function Je({ data: e }) {
1584
1727
  })
1585
1728
  });
1586
1729
  }
1587
- var Ye = v(function({ icon: n, label: r, value: i, trend: a, sparkData: o, glass: s, className: c }, l) {
1730
+ var at = v(function({ icon: n, label: r, value: i, trend: a, sparkData: o, glass: s, className: c }, l) {
1588
1731
  let u = a !== void 0 && a >= 0;
1589
- return /* @__PURE__ */ T("div", {
1732
+ return /* @__PURE__ */ E("div", {
1590
1733
  ref: l,
1591
1734
  className: e("relative gds-ctx gds-radius-card border gds-pad-x-lg gds-pad-y-lg", s === !0 ? e(t(s), "border-white/10 bg-bg/60") : "border-border bg-surface", c),
1592
1735
  "data-component": "stats-card",
1593
1736
  children: [
1594
- /* @__PURE__ */ T("div", {
1737
+ /* @__PURE__ */ E("div", {
1595
1738
  className: "flex items-start justify-between",
1596
- children: [/* @__PURE__ */ T("div", {
1739
+ children: [/* @__PURE__ */ E("div", {
1597
1740
  className: "flex items-center gap-2",
1598
- children: [n !== void 0 && /* @__PURE__ */ w("div", {
1741
+ children: [n !== void 0 && /* @__PURE__ */ T("div", {
1599
1742
  className: "text-fg-muted/50",
1600
1743
  children: n
1601
- }), /* @__PURE__ */ w("p", {
1744
+ }), /* @__PURE__ */ T("p", {
1602
1745
  className: "gds-text-body text-fg-muted",
1603
1746
  children: r
1604
1747
  })]
1605
- }), a !== void 0 && /* @__PURE__ */ T("span", {
1748
+ }), a !== void 0 && /* @__PURE__ */ E("span", {
1606
1749
  className: e("inline-flex items-center gap-0.5 rounded-full px-1.5 py-0.5 text-[10px] font-medium", u ? "bg-success/10 text-success" : "bg-danger/10 text-danger"),
1607
1750
  children: [
1608
1751
  u ? "↑" : "↓",
@@ -1612,74 +1755,74 @@ var Ye = v(function({ icon: n, label: r, value: i, trend: a, sparkData: o, glass
1612
1755
  ]
1613
1756
  })]
1614
1757
  }),
1615
- /* @__PURE__ */ w("p", {
1758
+ /* @__PURE__ */ T("p", {
1616
1759
  className: "mt-1 text-2xl font-bold text-fg",
1617
1760
  children: i
1618
1761
  }),
1619
- o !== void 0 && o.length >= 2 && /* @__PURE__ */ w(Je, { data: o })
1762
+ o !== void 0 && o.length >= 2 && /* @__PURE__ */ T($, { data: o })
1620
1763
  ]
1621
1764
  });
1622
- }), Xe = v(function({ code: t, title: n, description: r, action: i, secondaryAction: a, illustration: o, className: s }, c) {
1623
- return /* @__PURE__ */ T("div", {
1765
+ }), ot = v(function({ code: t, title: n, description: r, action: i, secondaryAction: a, illustration: o, className: s }, c) {
1766
+ return /* @__PURE__ */ E("div", {
1624
1767
  ref: c,
1625
1768
  className: e("flex min-h-[60vh] flex-col items-center justify-center gap-4 text-center", s),
1626
1769
  "data-component": "status-page",
1627
1770
  children: [
1628
- o !== void 0 && /* @__PURE__ */ w("div", {
1771
+ o !== void 0 && /* @__PURE__ */ T("div", {
1629
1772
  className: "mb-2",
1630
1773
  children: o
1631
1774
  }),
1632
- t !== void 0 && /* @__PURE__ */ w("p", {
1775
+ t !== void 0 && /* @__PURE__ */ T("p", {
1633
1776
  className: "text-6xl font-bold text-fg-muted/10",
1634
1777
  children: t
1635
1778
  }),
1636
- /* @__PURE__ */ w("h1", {
1779
+ /* @__PURE__ */ T("h1", {
1637
1780
  className: "text-xl font-semibold text-fg",
1638
1781
  children: n
1639
1782
  }),
1640
- r !== void 0 && /* @__PURE__ */ w("p", {
1783
+ r !== void 0 && /* @__PURE__ */ T("p", {
1641
1784
  className: "max-w-md text-fg-muted",
1642
1785
  children: r
1643
1786
  }),
1644
- (i !== void 0 || a !== void 0) && /* @__PURE__ */ T("div", {
1787
+ (i !== void 0 || a !== void 0) && /* @__PURE__ */ E("div", {
1645
1788
  className: "mt-2 flex items-center gap-3",
1646
1789
  children: [i, a]
1647
1790
  })
1648
1791
  ]
1649
1792
  });
1650
- }), Ze = v(function({ steps: t, onComplete: r, completeLabel: i = "Complete", glass: a = !1, className: o, ...s }, c) {
1651
- let [l, u] = S(0), d = l === 0, f = l === t.length - 1, p = t.map((e) => ({
1793
+ }), st = v(function({ steps: t, onComplete: r, completeLabel: i = "Complete", glass: a = !1, className: o, ...s }, c) {
1794
+ let [l, u] = C(0), d = l === 0, f = l === t.length - 1, p = t.map((e) => ({
1652
1795
  label: e.title,
1653
1796
  description: e.description
1654
1797
  }));
1655
- return /* @__PURE__ */ T("div", {
1798
+ return /* @__PURE__ */ E("div", {
1656
1799
  ref: c,
1657
1800
  className: e("flex flex-col rounded-lg border border-border p-6", a ? "bg-bg/80 backdrop-blur-xl" : "bg-bg-secondary", o),
1658
1801
  "data-component": "stepper-form",
1659
1802
  ...s,
1660
1803
  children: [
1661
- /* @__PURE__ */ w(g, {
1804
+ /* @__PURE__ */ T(g, {
1662
1805
  steps: p,
1663
1806
  current: l,
1664
1807
  className: "mb-6"
1665
1808
  }),
1666
- /* @__PURE__ */ w("div", {
1809
+ /* @__PURE__ */ T("div", {
1667
1810
  className: "min-h-[120px] flex-1",
1668
1811
  children: t[l]?.content
1669
1812
  }),
1670
- /* @__PURE__ */ T("div", {
1813
+ /* @__PURE__ */ E("div", {
1671
1814
  className: "mt-6 flex items-center justify-between",
1672
- children: [/* @__PURE__ */ w(n, {
1815
+ children: [/* @__PURE__ */ T(n, {
1673
1816
  variant: "secondary",
1674
1817
  size: "sm",
1675
1818
  disabled: d,
1676
1819
  onClick: () => u((e) => e - 1),
1677
1820
  children: "Previous"
1678
- }), f ? /* @__PURE__ */ w(n, {
1821
+ }), f ? /* @__PURE__ */ T(n, {
1679
1822
  size: "sm",
1680
1823
  onClick: r,
1681
1824
  children: i
1682
- }) : /* @__PURE__ */ w(n, {
1825
+ }) : /* @__PURE__ */ T(n, {
1683
1826
  size: "sm",
1684
1827
  onClick: () => u((e) => e + 1),
1685
1828
  children: "Next"
@@ -1687,14 +1830,14 @@ var Ye = v(function({ icon: n, label: r, value: i, trend: a, sparkData: o, glass
1687
1830
  })
1688
1831
  ]
1689
1832
  });
1690
- }), Qe = v(function({ children: n, className: r, glass: i = !0, threshold: a = 0, ...o }, s) {
1691
- let [c, l] = S(!1);
1833
+ }), ct = v(function({ children: n, className: r, glass: i = !0, threshold: a = 0, ...o }, s) {
1834
+ let [c, l] = C(!1);
1692
1835
  return b(() => {
1693
1836
  function e() {
1694
1837
  l(window.scrollY > a);
1695
1838
  }
1696
1839
  return window.addEventListener("scroll", e, { passive: !0 }), () => window.removeEventListener("scroll", e);
1697
- }, [a]), /* @__PURE__ */ w("div", {
1840
+ }, [a]), /* @__PURE__ */ T("div", {
1698
1841
  className: e("sticky top-0 z-40 transition-[background-color,box-shadow] duration-200", c && "shadow-md bg-bg/80", c && i && t(!0), r),
1699
1842
  "data-component": "sticky-header",
1700
1843
  "data-sticky": c,
@@ -1702,41 +1845,41 @@ var Ye = v(function({ icon: n, label: r, value: i, trend: a, sparkData: o, glass
1702
1845
  ...o,
1703
1846
  children: n
1704
1847
  });
1705
- }), $e = v(function({ quote: n, author: r, role: i, avatar: a, rating: o, glass: s, className: c }, l) {
1706
- return /* @__PURE__ */ T("div", {
1848
+ }), lt = v(function({ quote: n, author: r, role: i, avatar: a, rating: o, glass: s, className: c }, l) {
1849
+ return /* @__PURE__ */ E("div", {
1707
1850
  ref: l,
1708
1851
  className: e("gds-ctx gds-radius-card border gds-pad-x-lg gds-pad-y-lg", s === !0 ? e(t(s), "border-white/10 bg-bg/60") : "border-border bg-surface", c),
1709
1852
  "data-component": "testimonial",
1710
1853
  children: [
1711
- /* @__PURE__ */ w("svg", {
1854
+ /* @__PURE__ */ T("svg", {
1712
1855
  className: "mb-3 h-6 w-6 text-fg-muted opacity-30",
1713
1856
  viewBox: "0 0 24 24",
1714
1857
  fill: "currentColor",
1715
- children: /* @__PURE__ */ w("path", { d: "M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378C7.06 7.752 6.14 9.87 5.94 11.501c.26-.058.527-.088.8-.088 1.656 0 2.96 1.283 2.96 2.87 0 1.586-1.304 2.87-2.96 2.87-.83 0-1.572-.358-2.157-.832zM14.583 17.321C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-2.863 1.551-3.783 3.669-3.983 5.3.26-.058.527-.088.8-.088 1.656 0 2.96 1.283 2.96 2.87 0 1.586-1.304 2.87-2.96 2.87-.83 0-1.572-.358-2.157-.832z" })
1858
+ children: /* @__PURE__ */ T("path", { d: "M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378C7.06 7.752 6.14 9.87 5.94 11.501c.26-.058.527-.088.8-.088 1.656 0 2.96 1.283 2.96 2.87 0 1.586-1.304 2.87-2.96 2.87-.83 0-1.572-.358-2.157-.832zM14.583 17.321C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-2.863 1.551-3.783 3.669-3.983 5.3.26-.058.527-.088.8-.088 1.656 0 2.96 1.283 2.96 2.87 0 1.586-1.304 2.87-2.96 2.87-.83 0-1.572-.358-2.157-.832z" })
1716
1859
  }),
1717
- /* @__PURE__ */ w("p", {
1860
+ /* @__PURE__ */ T("p", {
1718
1861
  className: "gds-text-body italic text-fg",
1719
1862
  children: n
1720
1863
  }),
1721
- o !== void 0 && /* @__PURE__ */ w("div", {
1864
+ o !== void 0 && /* @__PURE__ */ T("div", {
1722
1865
  className: "mt-3 flex gap-0.5",
1723
- children: Array.from({ length: 5 }, (t, n) => /* @__PURE__ */ w("svg", {
1866
+ children: Array.from({ length: 5 }, (t, n) => /* @__PURE__ */ T("svg", {
1724
1867
  className: e("h-4 w-4", n < o ? "text-warning" : "text-fg-muted/30"),
1725
1868
  viewBox: "0 0 20 20",
1726
1869
  fill: "currentColor",
1727
- children: /* @__PURE__ */ w("path", { d: "M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" })
1870
+ children: /* @__PURE__ */ T("path", { d: "M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" })
1728
1871
  }, n))
1729
1872
  }),
1730
- /* @__PURE__ */ T("div", {
1873
+ /* @__PURE__ */ E("div", {
1731
1874
  className: "mt-4 flex items-center gap-3",
1732
- children: [a !== void 0 && /* @__PURE__ */ w("img", {
1875
+ children: [a !== void 0 && /* @__PURE__ */ T("img", {
1733
1876
  src: a,
1734
1877
  alt: r,
1735
1878
  className: "h-10 w-10 rounded-full object-cover"
1736
- }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
1879
+ }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
1737
1880
  className: "text-sm font-medium text-fg",
1738
1881
  children: r
1739
- }), i !== void 0 && /* @__PURE__ */ w("p", {
1882
+ }), i !== void 0 && /* @__PURE__ */ T("p", {
1740
1883
  className: "text-xs text-fg-muted",
1741
1884
  children: i
1742
1885
  })] })]
@@ -1746,18 +1889,18 @@ var Ye = v(function({ icon: n, label: r, value: i, trend: a, sparkData: o, glass
1746
1889
  });
1747
1890
  //#endregion
1748
1891
  //#region src/l7-patterns/timeline-steps.tsx
1749
- function et({ steps: t, className: n }) {
1750
- return /* @__PURE__ */ w("div", {
1892
+ function ut({ steps: t, className: n }) {
1893
+ return /* @__PURE__ */ T("div", {
1751
1894
  "data-component": "timeline-steps",
1752
1895
  className: e("flex items-start", n),
1753
- children: t.map((n, r) => /* @__PURE__ */ T("div", {
1896
+ children: t.map((n, r) => /* @__PURE__ */ E("div", {
1754
1897
  className: "flex flex-1 items-start",
1755
- children: [/* @__PURE__ */ T("div", {
1898
+ children: [/* @__PURE__ */ E("div", {
1756
1899
  className: "flex flex-col items-center",
1757
- children: [/* @__PURE__ */ w("div", {
1900
+ children: [/* @__PURE__ */ T("div", {
1758
1901
  "data-status": n.status,
1759
1902
  className: e("flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-semibold", n.status === "completed" && "bg-success text-white", n.status === "current" && "bg-accent text-accent-fg animate-pulse", n.status === "upcoming" && "bg-bg-tertiary text-fg-muted"),
1760
- children: n.status === "completed" ? /* @__PURE__ */ w("svg", {
1903
+ children: n.status === "completed" ? /* @__PURE__ */ T("svg", {
1761
1904
  width: "14",
1762
1905
  height: "14",
1763
1906
  viewBox: "0 0 24 24",
@@ -1766,27 +1909,27 @@ function et({ steps: t, className: n }) {
1766
1909
  strokeWidth: "3",
1767
1910
  strokeLinecap: "round",
1768
1911
  strokeLinejoin: "round",
1769
- children: /* @__PURE__ */ w("polyline", { points: "20 6 9 17 4 12" })
1912
+ children: /* @__PURE__ */ T("polyline", { points: "20 6 9 17 4 12" })
1770
1913
  }) : r + 1
1771
- }), /* @__PURE__ */ T("div", {
1914
+ }), /* @__PURE__ */ E("div", {
1772
1915
  className: "mt-2 text-center",
1773
- children: [/* @__PURE__ */ w("div", {
1916
+ children: [/* @__PURE__ */ T("div", {
1774
1917
  className: "text-xs font-medium text-fg",
1775
1918
  children: n.label
1776
- }), n.description !== void 0 && /* @__PURE__ */ w("div", {
1919
+ }), n.description !== void 0 && /* @__PURE__ */ T("div", {
1777
1920
  className: "mt-0.5 text-[10px] text-fg-muted",
1778
1921
  children: n.description
1779
1922
  })]
1780
1923
  })]
1781
- }), r < t.length - 1 && /* @__PURE__ */ w("div", { className: e("mt-4 h-0.5 flex-1 mx-2", n.status === "completed" ? "bg-success" : "bg-border") })]
1924
+ }), r < t.length - 1 && /* @__PURE__ */ T("div", { className: e("mt-4 h-0.5 flex-1 mx-2", n.status === "completed" ? "bg-success" : "bg-border") })]
1782
1925
  }, n.label))
1783
1926
  });
1784
1927
  }
1785
1928
  //#endregion
1786
1929
  //#region src/l7-patterns/toolbar.tsx
1787
- var tt = v(function({ children: n, className: r, glass: i, position: a = "top", ...o }, s) {
1930
+ var dt = v(function({ children: n, className: r, glass: i, position: a = "top", ...o }, s) {
1788
1931
  let c = a === "floating", l = i ?? c;
1789
- return /* @__PURE__ */ w("div", {
1932
+ return /* @__PURE__ */ T("div", {
1790
1933
  ref: s,
1791
1934
  className: e("flex items-center gds-gap-sm gds-pad-x gds-pad-y-sm", a === "top" && "border-b border-border", a === "bottom" && "border-t border-border", c && "rounded-full gds-shadow-lg", l === !0 ? e(t(l), "border-white/10 bg-bg/60") : !c && "bg-surface", c && l !== !0 && "border border-border bg-surface", r),
1792
1935
  "data-component": "toolbar",
@@ -1795,25 +1938,25 @@ var tt = v(function({ children: n, className: r, glass: i, position: a = "top",
1795
1938
  ...o,
1796
1939
  children: n
1797
1940
  });
1798
- }), nt = v(function({ steps: t, currentStep: n, children: r, actions: i, className: a, ...o }, s) {
1799
- return /* @__PURE__ */ T("div", {
1941
+ }), ft = v(function({ steps: t, currentStep: n, children: r, actions: i, className: a, ...o }, s) {
1942
+ return /* @__PURE__ */ E("div", {
1800
1943
  ref: s,
1801
1944
  className: e("flex min-h-0 flex-1 flex-col gds-gap", a),
1802
1945
  "data-component": "wizard-layout",
1803
1946
  ...o,
1804
1947
  children: [
1805
- /* @__PURE__ */ w("div", {
1948
+ /* @__PURE__ */ T("div", {
1806
1949
  className: "shrink-0 gds-pad-x",
1807
- children: /* @__PURE__ */ w(m, {
1950
+ children: /* @__PURE__ */ T(m, {
1808
1951
  steps: t,
1809
1952
  current: n
1810
1953
  })
1811
1954
  }),
1812
- /* @__PURE__ */ w("div", {
1955
+ /* @__PURE__ */ T("div", {
1813
1956
  className: "min-h-0 flex-1 overflow-auto gds-pad-x",
1814
1957
  children: r
1815
1958
  }),
1816
- i !== void 0 && /* @__PURE__ */ w("div", {
1959
+ i !== void 0 && /* @__PURE__ */ T("div", {
1817
1960
  className: "flex shrink-0 items-center justify-end gds-gap gds-pad-x gds-pad-y border-t border-border",
1818
1961
  children: i
1819
1962
  })
@@ -1821,6 +1964,6 @@ var tt = v(function({ children: n, className: r, glass: i, position: a = "top",
1821
1964
  });
1822
1965
  });
1823
1966
  //#endregion
1824
- export { re as $, me as A, V as B, Ce as C, ye as D, be as E, ae as F, I as G, z as H, ie as I, N as J, F as K, X as L, se as M, Z as N, ge as O, oe as P, O as Q, G as R, we as S, xe as T, R as U, B as V, L as W, j as X, M as Y, A as Z, Ae as _, Qe as a, De as b, Ye as c, We as d, ne as et, He as f, je as g, Ie as h, $e as i, pe as j, he as k, qe as l, Le as m, tt as n, Ze as o, Re as p, P as q, et as r, Xe as s, nt as t, te as tt, Ge as u, ke as v, Se as w, Ee as x, Oe as y, H as z };
1967
+ export { ie as $, be as A, z as B, ke as C, Te as D, Ee as E, de as F, P as G, L as H, ue as I, j as J, N as K, le as L, ve as M, fe as N, we as O, q as P, oe as Q, ce as R, je as S, De as T, I as U, R as V, F as W, k as X, A as Y, se as Z, Ie as _, ct as a, Ne as b, at as c, Ze as d, te as et, Xe as f, Ve as g, He as h, lt as i, ye as j, xe as k, it as l, Ue as m, dt as n, O as nt, st as o, Je as p, M as q, ut as r, ot as s, ft as t, ee as tt, nt as u, Fe as v, Oe as w, Me as x, Pe as y, H as z };
1825
1968
 
1826
- //# sourceMappingURL=l7-patterns-BCpw0-CS.js.map
1969
+ //# sourceMappingURL=l7-patterns-8fc4b3eE.js.map