@hirobius/design-system 0.19.1 → 0.21.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 (175) hide show
  1. package/AGENTS.md +123 -0
  2. package/CONSUMING.md +11 -6
  3. package/DESIGN.md +34 -21
  4. package/NOTICE.md +1 -1
  5. package/README.md +48 -13
  6. package/codemods/hds-prefix.mjs +231 -0
  7. package/codemods/jsx-fold.mjs +515 -0
  8. package/codemods/not-found-pattern.mjs +71 -0
  9. package/codemods/patterns-subpath.mjs +242 -81
  10. package/codemods/patterns-subpath.names.json +41 -15
  11. package/codemods/removed-0.20.json +194 -0
  12. package/codemods/tile-grid.mjs +283 -0
  13. package/codemods/unrewritable.mjs +291 -0
  14. package/dist/chunks/DemoStateContext-Cz5TmrYu.js +32 -0
  15. package/dist/chunks/empty-state-DNoThgfV.js +1227 -0
  16. package/dist/chunks/form-By82qZcC.js +66 -0
  17. package/dist/contexts.js +157 -78
  18. package/dist/fonts/geist-mono-400.woff2 +0 -0
  19. package/dist/fonts/satoshi-400.woff2 +0 -0
  20. package/dist/fonts/satoshi-500.woff2 +0 -0
  21. package/dist/fonts/satoshi-700.woff2 +0 -0
  22. package/dist/fonts.css +53 -0
  23. package/dist/form.js +1 -1
  24. package/dist/hirobius-ui.js +1600 -5354
  25. package/dist/manifest.js +12 -13
  26. package/dist/patterns.js +796 -510
  27. package/dist/styles.css +2 -2
  28. package/dist/tokens.css +1 -1
  29. package/dist/tokens.js +165 -65
  30. package/dist/types/src/app/components/alert-dialog.d.ts +5 -0
  31. package/dist/types/src/app/components/asset-img.d.ts +1 -0
  32. package/dist/types/src/app/components/avatar-group.d.ts +2 -2
  33. package/dist/types/src/app/components/badge.d.ts +8 -3
  34. package/dist/types/src/app/components/blockquote.d.ts +2 -2
  35. package/dist/types/src/app/components/box-sx.d.ts +110 -13
  36. package/dist/types/src/app/components/box.d.ts +6 -3
  37. package/dist/types/src/app/components/breadcrumb.d.ts +0 -5
  38. package/dist/types/src/app/components/button.d.ts +35 -4
  39. package/dist/types/src/app/components/card.d.ts +10 -10
  40. package/dist/types/src/app/components/combobox.d.ts +47 -11
  41. package/dist/types/src/app/components/container.d.ts +2 -2
  42. package/dist/types/src/app/components/data-table-section.d.ts +2 -1
  43. package/dist/types/src/app/components/destructive-section.d.ts +1 -0
  44. package/dist/types/src/app/components/dialog.d.ts +8 -1
  45. package/dist/types/src/app/components/disclosure.d.ts +1 -5
  46. package/dist/types/src/app/components/error-pattern.d.ts +6 -1
  47. package/dist/types/src/app/components/field.d.ts +1 -2
  48. package/dist/types/src/app/components/form-actions.d.ts +1 -0
  49. package/dist/types/src/app/components/form-control.d.ts +10 -0
  50. package/dist/types/src/app/components/grid.d.ts +15 -6
  51. package/dist/types/src/app/components/hds-tooltip.d.ts +12 -2
  52. package/dist/types/src/app/components/icon.d.ts +1 -0
  53. package/dist/types/src/app/components/inline-code.d.ts +1 -2
  54. package/dist/types/src/app/components/input.d.ts +8 -5
  55. package/dist/types/src/app/components/kbd.d.ts +2 -2
  56. package/dist/types/src/app/components/metadata-list.d.ts +2 -2
  57. package/dist/types/src/app/components/metric-tiles.d.ts +1 -0
  58. package/dist/types/src/app/components/page-header.d.ts +0 -2
  59. package/dist/types/src/app/components/popover.d.ts +8 -0
  60. package/dist/types/src/app/components/progress.d.ts +33 -6
  61. package/dist/types/src/app/components/segmented-control.d.ts +2 -26
  62. package/dist/types/src/app/components/select.d.ts +10 -1
  63. package/dist/types/src/app/components/skeleton.d.ts +3 -4
  64. package/dist/types/src/app/components/spinner.d.ts +1 -2
  65. package/dist/types/src/app/components/stack.d.ts +4 -1
  66. package/dist/types/src/app/components/stat.d.ts +5 -5
  67. package/dist/types/src/app/components/status-list-item.d.ts +1 -2
  68. package/dist/types/src/app/components/status-tile.d.ts +3 -2
  69. package/dist/types/src/app/components/surface.d.ts +2 -3
  70. package/dist/types/src/app/components/switcher.d.ts +1 -1
  71. package/dist/types/src/app/components/table.d.ts +6 -15
  72. package/dist/types/src/app/components/tag.d.ts +0 -6
  73. package/dist/types/src/app/components/text.d.ts +54 -8
  74. package/dist/types/src/app/components/textarea.d.ts +1 -2
  75. package/dist/types/src/app/components/timestamp.d.ts +1 -0
  76. package/dist/types/src/app/components/toast.d.ts +1 -2
  77. package/dist/types/src/app/components/tooltip.d.ts +1 -1
  78. package/dist/types/src/app/context/DemoStateContext.d.ts +1 -1
  79. package/dist/types/src/app/context/RouterContext.d.ts +5 -5
  80. package/dist/types/src/app/data/manifest-types.d.ts +10 -5
  81. package/dist/types/src/app/design-system/generated-token-refs.d.ts +45 -28
  82. package/dist/types/src/app/design-system/generated-token-values.d.ts +4 -0
  83. package/dist/types/src/app/design-system/tokens.d.ts +139 -18
  84. package/dist/types/src/icons.d.ts +1 -1
  85. package/dist/types/src/index.d.ts +76 -164
  86. package/dist/types/src/patterns.d.ts +20 -25
  87. package/dist/variables.css +47 -33
  88. package/docs/CONSUMING.md +80 -48
  89. package/hirobius.tokens.json +125 -88
  90. package/llms.txt +166 -59
  91. package/mcp/catalog.mjs +366 -0
  92. package/mcp/guide.mjs +315 -0
  93. package/mcp/hds-mcp.mjs +49 -0
  94. package/mcp/server.mjs +94 -0
  95. package/package.json +48 -27
  96. package/public/hds-manifest.json +2667 -6705
  97. package/public/llms/components.txt +45 -426
  98. package/public/llms/layout.txt +5 -5
  99. package/public/llms-full.txt +245 -506
  100. package/public/llms.txt +166 -59
  101. package/scripts/eslint-plugin-hds/index.d.mts +29 -0
  102. package/scripts/eslint-plugin-hds/index.mjs +55 -0
  103. package/scripts/eslint-plugin-hds/package.json +30 -0
  104. package/scripts/eslint-plugin-hds/rules/no-raw-controls.mjs +47 -0
  105. package/scripts/eslint-plugin-hds/rules/no-raw-hex.mjs +70 -0
  106. package/scripts/eslint-plugin-hds/rules/no-raw-px-spacing.mjs +125 -0
  107. package/scripts/eslint-plugin-hds/rules/prefer-hds-layout-primitive.mjs +54 -0
  108. package/scripts/eslint-plugin-hds/rules/sx-token-first.mjs +111 -0
  109. package/scripts/eslint-plugin-hds/rules/utils.mjs +66 -0
  110. package/src/app/data/component-api.json +1082 -2913
  111. package/dist/chunks/LanguageContext-BxdCwiFg.js +0 -95
  112. package/dist/chunks/TokenDisplayContext-DKYJMVWk.js +0 -26
  113. package/dist/chunks/activity-feed-BGQ6v3wc.js +0 -22040
  114. package/dist/chunks/form-COP3vK9_.js +0 -66
  115. package/dist/types/src/app/components/activity-feed.d.ts +0 -73
  116. package/dist/types/src/app/components/app-shell.d.ts +0 -40
  117. package/dist/types/src/app/components/aspect-ratio.d.ts +0 -25
  118. package/dist/types/src/app/components/bleed.d.ts +0 -39
  119. package/dist/types/src/app/components/button-group.d.ts +0 -22
  120. package/dist/types/src/app/components/calendar.d.ts +0 -22
  121. package/dist/types/src/app/components/carousel.d.ts +0 -26
  122. package/dist/types/src/app/components/center.d.ts +0 -36
  123. package/dist/types/src/app/components/cinematic-link.d.ts +0 -18
  124. package/dist/types/src/app/components/circular-progress.d.ts +0 -28
  125. package/dist/types/src/app/components/cluster.d.ts +0 -39
  126. package/dist/types/src/app/components/command-palette.d.ts +0 -46
  127. package/dist/types/src/app/components/component-instance-matrix.d.ts +0 -27
  128. package/dist/types/src/app/components/context-menu.d.ts +0 -78
  129. package/dist/types/src/app/components/cover.d.ts +0 -43
  130. package/dist/types/src/app/components/date-input.d.ts +0 -31
  131. package/dist/types/src/app/components/date-range-input.d.ts +0 -34
  132. package/dist/types/src/app/components/date-time-input.d.ts +0 -30
  133. package/dist/types/src/app/components/doc-link-card.d.ts +0 -32
  134. package/dist/types/src/app/components/error-boundary.d.ts +0 -25
  135. package/dist/types/src/app/components/file-input.d.ts +0 -30
  136. package/dist/types/src/app/components/foundation-swatch.d.ts +0 -45
  137. package/dist/types/src/app/components/frame.d.ts +0 -38
  138. package/dist/types/src/app/components/heading-stack.d.ts +0 -52
  139. package/dist/types/src/app/components/history-card.d.ts +0 -12
  140. package/dist/types/src/app/components/hover-card.d.ts +0 -46
  141. package/dist/types/src/app/components/icon-button.d.ts +0 -22
  142. package/dist/types/src/app/components/image-lightbox.d.ts +0 -14
  143. package/dist/types/src/app/components/input-group.d.ts +0 -23
  144. package/dist/types/src/app/components/multi-selector.d.ts +0 -40
  145. package/dist/types/src/app/components/nav-group.d.ts +0 -29
  146. package/dist/types/src/app/components/nav-item.d.ts +0 -33
  147. package/dist/types/src/app/components/not-found-pattern.d.ts +0 -1
  148. package/dist/types/src/app/components/overflow-list.d.ts +0 -21
  149. package/dist/types/src/app/components/selectable-card.d.ts +0 -29
  150. package/dist/types/src/app/components/side-nav.d.ts +0 -23
  151. package/dist/types/src/app/components/sketch.d.ts +0 -19
  152. package/dist/types/src/app/components/stacked-card-rail.d.ts +0 -32
  153. package/dist/types/src/app/components/status-dot.d.ts +0 -25
  154. package/dist/types/src/app/components/stepper-field.d.ts +0 -12
  155. package/dist/types/src/app/components/stepper.d.ts +0 -33
  156. package/dist/types/src/app/components/text-lockup.d.ts +0 -38
  157. package/dist/types/src/app/components/tile-grid.d.ts +0 -17
  158. package/dist/types/src/app/components/time-input.d.ts +0 -24
  159. package/dist/types/src/app/components/toggle-button.d.ts +0 -32
  160. package/dist/types/src/app/components/token.d.ts +0 -90
  161. package/dist/types/src/app/components/tokenUtils.d.ts +0 -38
  162. package/dist/types/src/app/components/tokenizer.d.ts +0 -24
  163. package/dist/types/src/app/components/toolbar.d.ts +0 -36
  164. package/dist/types/src/app/components/top-nav.d.ts +0 -23
  165. package/dist/types/src/app/components/tree-list.d.ts +0 -30
  166. package/dist/types/src/app/data/nav-model.d.ts +0 -39
  167. package/dist/types/src/app/hooks/useFocusVisible.d.ts +0 -9
  168. package/dist/types/src/app/layouts/CaseStudyLayout.d.ts +0 -20
  169. package/dist/types/src/app/layouts/DocLayout.d.ts +0 -14
  170. package/dist/types/src/app/layouts/EmbeddedDocLayoutContext.d.ts +0 -6
  171. package/dist/types/src/app/layouts/HdsDocsShell.d.ts +0 -72
  172. package/dist/types/src/app/layouts/HdsSystemDocLayout.d.ts +0 -14
  173. package/dist/types/src/app/lib/hds-search.d.ts +0 -45
  174. package/dist/types/src/app/lib/nav-active.d.ts +0 -16
  175. package/dist/types/src/app/lib/navLevels.d.ts +0 -4
package/dist/patterns.js CHANGED
@@ -1,430 +1,711 @@
1
1
  'use client';
2
- import { S as I, C as u, a as _, b as V, G as E, T as S, A as p, B as w, E as P, c as z } from "./chunks/activity-feed-BGQ6v3wc.js";
3
- import { d as he, e as pe, f as ue, g as me, h as ge, i as fe, j as ve, D as ye, k as be, F as we, L as xe, N as ke, O as Se, P as Ce, R as Te, l as Ne, m as Ie, n as Ve, o as Ae, p as Me, q as Re, r as $e, s as Fe, t as je, u as De, v as He, w as Le, x as _e, y as Ee, z as Pe, H as ze, I as Be, J as We, K as Oe, M as Ge, Q as Ue, U as Xe, V as Ye, W as qe, X as Ke, Y as Je, Z as Qe, _ as Ze } from "./chunks/activity-feed-BGQ6v3wc.js";
4
- import { F as aa, b as ta, a as ra, u as ia } from "./chunks/form-COP3vK9_.js";
5
- import { jsxs as o, Fragment as A, jsx as e } from "react/jsx-runtime";
6
- import * as d from "react";
7
- import { useRef as x, useEffect as N } from "react";
8
- import v from "./tokens.js";
9
- import { cn as M } from "./cn.js";
10
- const C = 280, B = 380, k = 24, R = 3.5, W = `
11
- .hds-scr-outer {
12
- position: relative;
13
- overflow: hidden;
14
- width: 100%; /* audit-ok: percentage fill in CSS template */
15
- --card-width: ${C}px;
16
- --card-height: ${B}px;
17
- --card-gap: ${k}px;
18
- --visible-count: ${R};
19
- }
20
-
21
- /* Vertical scroll container — maps vertical scrolling to a horizontal strip */
22
- .hds-scr-yscroll {
23
- position: absolute;
24
- top: 0;
25
- left: 0;
26
- width: 100%; /* audit-ok: percentage fill in CSS template */
27
- height: 100%; /* audit-ok: percentage fill in CSS template */
28
- overflow-y: scroll;
29
- overflow-x: hidden;
30
- scrollbar-width: none;
31
- -ms-overflow-style: none;
32
- }
33
- .hds-scr-yscroll::-webkit-scrollbar {
34
- display: none;
35
- }
36
-
37
- /* Tall spacer that gives the vertical scroll room to travel */
38
- .hds-scr-spacer {
39
- /* Total scroll travel = card-width × card-count so each card gets a full
40
- width of scroll travel. The visible window is added back so the last
41
- card reaches the entry position. */
42
- height: var(--hds-scr-spacer-height, 4000px);
43
- width: 100%; /* audit-ok: percentage fill in CSS template */
44
- }
45
-
46
- /* Sticky strip — stays pinned in view while the vertical container scrolls */
47
- .hds-scr-strip {
48
- position: sticky;
49
- top: 0;
50
- overflow-x: scroll;
51
- overflow-y: hidden;
52
- scrollbar-width: none;
53
- -ms-overflow-style: none;
54
- height: calc(var(--card-height) + 48px);
55
- display: flex;
56
- align-items: center;
57
- }
58
- .hds-scr-strip::-webkit-scrollbar {
59
- display: none;
60
- }
61
-
62
- /* Horizontal track */
63
- .hds-scr-track {
64
- display: flex;
65
- align-items: center;
66
- padding: 0 ${k}px;
67
- gap: var(--card-gap);
68
- /* Wide enough to hold all cards plus padding */
69
- min-width: max-content;
70
- }
71
-
72
- /* Individual card wrapper — controls position in the flow */
73
- .hds-scr-card {
74
- flex: 0 0 var(--card-width);
75
- height: var(--card-height);
76
- position: relative;
77
- cursor: pointer;
78
- transition:
79
- transform 0.25s ease,
80
- width 0.25s ease;
81
- z-index: 0;
82
- }
83
-
84
- /* Card inner surface */
85
- .hds-scr-card-inner {
86
- width: 100%; /* audit-ok: percentage fill in CSS template */
87
- height: 100%; /* audit-ok: percentage fill in CSS template */
88
- border-radius: ${v.borderRadius[8]};
89
- background: var(--semantic-color-surface-raised);
90
- border: 1px solid var(--semantic-color-border-default);
91
- box-shadow: var(--semantic-shadow-subtle);
92
- overflow: hidden;
93
- display: flex;
94
- flex-direction: column;
95
- text-decoration: none;
96
- color: inherit;
97
- transition:
98
- transform 0.25s ease,
99
- box-shadow 0.25s ease;
100
- }
101
-
102
- /* Hover: widen card 25% and lift it */
103
- .hds-scr-card:hover {
104
- z-index: 10;
105
- transform: translate(-10%, -4.5%);
106
- flex-basis: calc(var(--card-width) * 1.25);
107
- width: calc(var(--card-width) * 1.25);
108
- }
109
- .hds-scr-card:hover .hds-scr-card-inner {
110
- box-shadow: var(--semantic-shadow-floating);
111
- }
112
-
113
- /* Neighbour shift — requires :has() support */
114
- @supports selector(:has(+ *)) {
115
- .hds-scr-card:hover + .hds-scr-card {
116
- transform: translateX(8%);
2
+ import { F as ut, b as mt, a as ht, u as ft } from "./chunks/form-By82qZcC.js";
3
+ import { jsx as a, jsxs as l } from "react/jsx-runtime";
4
+ import m from "./tokens.js";
5
+ import { C as fe, h as ve, S as h, G as ne, u as re, a as M, I as H, T as V, B as P, b as ie, A as S, E as ge, c as ye } from "./chunks/empty-state-DNoThgfV.js";
6
+ import * as f from "react";
7
+ import be, { useState as I, useId as xe, useRef as Y } from "react";
8
+ import { AnimatePresence as Z, motion as se } from "motion/react";
9
+ import { cva as x } from "class-variance-authority";
10
+ import { Check as O, Copy as X, ChevronDown as we } from "lucide-react";
11
+ import { cn as b } from "./cn.js";
12
+ const ke = {
13
+ default: { top: m.space.px48, bottom: m.space.px64 },
14
+ compact: { top: m.space.px24, bottom: m.space.px32 },
15
+ none: { top: "0", bottom: "0" }
16
+ };
17
+ function qe({
18
+ children: r,
19
+ maxWidth: t = "max",
20
+ paddingY: i = "default",
21
+ style: n,
22
+ className: e
23
+ }) {
24
+ const s = ke[i];
25
+ return /* @__PURE__ */ a(fe, { maxWidth: t, className: e, children: /* @__PURE__ */ a(
26
+ "div",
27
+ {
28
+ "data-hds-component": "Page",
29
+ "data-hds-metrics": `paddingY:${i}`,
30
+ style: { paddingTop: s.top, paddingBottom: s.bottom, ...n },
31
+ children: r
117
32
  }
118
- }
119
-
120
- /* Cover image */
121
- .hds-scr-cover {
122
- flex: 1 1 auto;
123
- min-height: 0;
124
- background-color: var(--semantic-color-surface-page);
125
- overflow: hidden;
126
- }
127
- .hds-scr-cover img {
128
- width: 100%; /* audit-ok: percentage fill in CSS template */
129
- height: 100%; /* audit-ok: percentage fill in CSS template */
130
- object-fit: cover;
131
- display: block;
132
- }
133
- .hds-scr-cover-placeholder {
134
- width: 100%; /* audit-ok: percentage fill in CSS template */
135
- height: 100%; /* audit-ok: percentage fill in CSS template */
136
- display: flex;
137
- align-items: center;
138
- justify-content: center;
139
- background: var(--semantic-color-surface-page);
140
- }
141
-
142
- /* Card metadata footer */
143
- .hds-scr-meta {
144
- flex: 0 0 auto;
145
- padding: 14px 16px 16px;
146
- display: flex;
147
- flex-direction: column;
148
- gap: 4px;
149
- border-top: 1px solid var(--semantic-color-border-subdued);
150
- }
151
-
152
- /* Scroll-driven stacking animation — Chrome 115+ / FF 110+ */
153
- @supports (animation-timeline: scroll()) {
154
- .hds-scr-card-inner {
155
- animation: hds-scr-stack linear;
156
- animation-timeline: view(
157
- x
158
- calc(0px - 2 * var(--card-width))
159
- calc(var(--card-width) * (var(--visible-count) - 0.2))
160
- );
161
- animation-duration: 1ms;
33
+ ) });
34
+ }
35
+ const Se = {
36
+ background: "var(--semantic-color-surface-accent)",
37
+ border: "none",
38
+ borderRadius: m.borderRadius.full,
39
+ // content.onAccent flips with the accent fill: white on the dark light-mode
40
+ // fill, a dark neutral on the light dark-mode fill (fixed white read ~1.1:1).
41
+ color: m.color.content.onAccent,
42
+ display: "inline-flex",
43
+ pointerEvents: "none",
44
+ paddingBlock: m.space.px6,
45
+ paddingInline: m.space.px16
46
+ }, Ne = {
47
+ ...m.typeStyles.ui,
48
+ userSelect: "none",
49
+ whiteSpace: "nowrap"
50
+ };
51
+ function G({ label: r }) {
52
+ const t = re("productive");
53
+ return /* @__PURE__ */ a(
54
+ se.div,
55
+ {
56
+ initial: { opacity: 0, scale: 0.82 },
57
+ animate: { opacity: 1, scale: 1 },
58
+ exit: { opacity: 0, scale: 0.82 },
59
+ transition: { duration: t.duration, ease: t.easing },
60
+ children: /* @__PURE__ */ a(M, { as: "span", padding: "none", style: Se, children: /* @__PURE__ */ a(h, { as: "span", direction: "row", gap: "xs", align: "center", style: Ne, children: /* @__PURE__ */ a("span", { children: r }) }) })
61
+ }
62
+ );
63
+ }
64
+ function K({ visible: r, mode: t, label: i = "Expand", x: n = 0, y: e = 0 }) {
65
+ return t === "cursor" ? /* @__PURE__ */ a(ve, { children: /* @__PURE__ */ a(Z, { children: r && /* @__PURE__ */ a(
66
+ h,
67
+ {
68
+ gap: "xs",
69
+ style: {
70
+ position: "fixed",
71
+ left: n,
72
+ top: e,
73
+ zIndex: m.zIndex.modal,
74
+ transform: "translate(14px, -50%)",
75
+ pointerEvents: "none"
76
+ },
77
+ children: /* @__PURE__ */ a(G, { label: i })
78
+ }
79
+ ) }) }) : /* @__PURE__ */ a(Z, { children: r && /* @__PURE__ */ a(
80
+ ne,
81
+ {
82
+ columns: 1,
83
+ gap: "tight",
84
+ style: {
85
+ position: "absolute",
86
+ inset: 0,
87
+ alignItems: "center",
88
+ justifyItems: "center",
89
+ pointerEvents: "none",
90
+ zIndex: m.zIndex.focus
91
+ },
92
+ children: /* @__PURE__ */ a(G, { label: i })
162
93
  }
163
-
164
- @keyframes hds-scr-stack {
165
- from {
166
- transform: translateX(0%) scale(1);
167
- opacity: 1;
94
+ ) });
95
+ }
96
+ const z = 280;
97
+ function Qe({
98
+ src: r,
99
+ alt: t,
100
+ title: i,
101
+ style: n = {},
102
+ className: e,
103
+ draggable: s = !1,
104
+ isDark: u = !1,
105
+ naturalWidth: d,
106
+ naturalHeight: p,
107
+ onClick: o,
108
+ onMouseDown: y,
109
+ onMouseMove: v,
110
+ onMouseUp: w,
111
+ onMouseLeave: k,
112
+ expandable: T = !0,
113
+ expandLabel: E,
114
+ context: g = "default",
115
+ loading: A = "lazy"
116
+ }) {
117
+ const [_, C] = I(!1), j = n && typeof n == "object" ? n : {}, [F, D] = I(!1), [ce, L] = I(!1), [le, de] = I(0), [pe, ue] = I(0), me = g === "default" && T && !!o;
118
+ if (!_)
119
+ return me ? /* @__PURE__ */ l(
120
+ "div",
121
+ {
122
+ className: e ? `hds-focus ${e}` : "hds-focus",
123
+ style: {
124
+ position: "relative",
125
+ display: "inline-flex",
126
+ overflow: "hidden",
127
+ cursor: "pointer",
128
+ flexShrink: j.flexShrink
129
+ },
130
+ role: "button",
131
+ tabIndex: 0,
132
+ "aria-label": t,
133
+ onClick: o,
134
+ onKeyDown: (c) => {
135
+ (c.key === "Enter" || c.key === " ") && o && (c.preventDefault(), o(c));
136
+ },
137
+ onMouseEnter: () => D(!0),
138
+ onMouseMove: (c) => {
139
+ de(c.clientX), ue(c.clientY), v == null || v(c);
140
+ },
141
+ onMouseLeave: (c) => {
142
+ D(!1), k == null || k(c);
143
+ },
144
+ onMouseDown: y,
145
+ onMouseUp: w,
146
+ onFocus: () => L(!0),
147
+ onBlur: () => L(!1),
148
+ children: [
149
+ /* @__PURE__ */ a(
150
+ "img",
151
+ {
152
+ src: r,
153
+ alt: t,
154
+ loading: A,
155
+ style: j,
156
+ draggable: s,
157
+ onError: () => C(!0)
158
+ }
159
+ ),
160
+ /* @__PURE__ */ a(K, { mode: "centered", visible: ce && !F, label: E }),
161
+ /* @__PURE__ */ a(
162
+ K,
163
+ {
164
+ mode: "cursor",
165
+ visible: F,
166
+ x: le,
167
+ y: pe,
168
+ label: E
169
+ }
170
+ )
171
+ ]
168
172
  }
169
- to {
170
- transform: translateX(300%) scale(0.5);
171
- opacity: 0;
173
+ ) : (
174
+ // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
175
+ /* @__PURE__ */ a(
176
+ "img",
177
+ {
178
+ src: r,
179
+ alt: t,
180
+ loading: A,
181
+ style: j,
182
+ className: e,
183
+ draggable: s,
184
+ onClick: o,
185
+ onKeyDown: o ? (c) => {
186
+ c.key === "Enter" && o(c);
187
+ } : void 0,
188
+ onMouseDown: y,
189
+ onMouseMove: v,
190
+ onMouseUp: w,
191
+ onMouseLeave: k,
192
+ onError: () => C(!0)
193
+ }
194
+ )
195
+ );
196
+ if (g === "detail")
197
+ return /* @__PURE__ */ a(
198
+ "div",
199
+ {
200
+ className: e,
201
+ style: {
202
+ backgroundColor: "var(--semantic-color-surface-overlay)",
203
+ display: "flex",
204
+ alignItems: "center",
205
+ justifyContent: "center"
206
+ },
207
+ role: t ? "img" : void 0,
208
+ "aria-hidden": t ? void 0 : !0,
209
+ "aria-label": t || void 0
172
210
  }
211
+ );
212
+ const N = d && p ? d / p : 4 / 3, he = N < 1;
213
+ let W = {};
214
+ if (g === "lightbox")
215
+ W = n.width === "100%" ? { width: "100%", aspectRatio: `${N}`, display: "block" } : {
216
+ height: n.maxHeight ?? "70vh",
217
+ width: "auto",
218
+ maxWidth: "100%",
219
+ aspectRatio: `${N}`,
220
+ display: "block",
221
+ flexShrink: 0
222
+ };
223
+ else {
224
+ let c, R;
225
+ if (n.maxHeight && !n.width) {
226
+ const $ = parseInt(n.maxHeight) || z;
227
+ R = $, c = Math.round($ * N);
228
+ } else if (n.maxWidth && !n.height) {
229
+ const $ = parseInt(n.maxWidth) || z;
230
+ c = $, R = Math.round($ / N);
231
+ } else n.width === "100%" ? (c = 0, R = 0) : he ? (c = z, R = Math.round(z / N)) : (R = z, c = Math.round(z * N));
232
+ W = c === 0 ? { width: "100%", aspectRatio: `${N}`, display: "block" } : {
233
+ // Fit the container: the frame keeps its aspect ratio but never exceeds the
234
+ // parent (a fixed 373x280 block overflowed a 276px column, hds#522).
235
+ width: c,
236
+ maxWidth: "100%",
237
+ aspectRatio: `${c / R}`,
238
+ display: "block",
239
+ flexShrink: 0
240
+ };
241
+ }
242
+ return /* @__PURE__ */ a(
243
+ "div",
244
+ {
245
+ className: e,
246
+ style: {
247
+ ...W,
248
+ backgroundColor: "var(--semantic-color-surface-overlay)",
249
+ display: "flex",
250
+ alignItems: "center",
251
+ justifyContent: "center",
252
+ flexDirection: "column",
253
+ gap: m.space.px4,
254
+ overflow: "hidden",
255
+ cursor: o ? g === "lightbox" ? "zoom-in" : "pointer" : void 0
256
+ },
257
+ role: o ? "button" : t ? "img" : void 0,
258
+ "aria-hidden": !o && !t ? !0 : void 0,
259
+ tabIndex: o ? 0 : void 0,
260
+ onClick: o,
261
+ onKeyDown: o ? (c) => {
262
+ (c.key === "Enter" || c.key === " ") && o(c);
263
+ } : void 0,
264
+ "aria-label": t || void 0,
265
+ children: i && /* @__PURE__ */ a(
266
+ "span",
267
+ {
268
+ style: {
269
+ ...m.typeStyles.caption,
270
+ color: "var(--semantic-color-content-secondary)",
271
+ textAlign: "center",
272
+ maxWidth: "75%",
273
+ whiteSpace: "normal",
274
+ userSelect: "none"
275
+ },
276
+ children: i
277
+ }
278
+ )
173
279
  }
174
-
175
- /* Cancel the animation on a hovered card so it stays visible */
176
- .hds-scr-card:hover .hds-scr-card-inner {
177
- animation: none;
178
- }
280
+ );
281
+ }
282
+ const B = "[font-family:var(--semantic-typography-mono-font-family)] [font-size:var(--semantic-typography-mono-font-size)] [font-weight:var(--semantic-typography-mono-font-weight)] [letter-spacing:var(--semantic-typography-mono-letter-spacing)] [line-height:var(--semantic-typography-mono-line-height)] max-w-[var(--semantic-typography-mono-max-width)]", U = /* @__PURE__ */ x(
283
+ "overflow-hidden rounded-[var(--semantic-radius-action)] border border-solid border-[var(--semantic-color-border-default)] bg-[var(--semantic-color-surface-raised)]"
284
+ ), Ce = /* @__PURE__ */ x(
285
+ "flex w-full min-w-0 min-h-[var(--semantic-size-control-lg)] items-center justify-between gap-[var(--semantic-space-subgrid-gap)] overflow-hidden rounded-[var(--semantic-radius-action)] border border-solid border-[var(--semantic-color-border-default)] bg-[var(--semantic-color-surface-raised)] py-[var(--semantic-space-subgrid-gap)] pl-[var(--semantic-space-scale-xs)] pr-[var(--semantic-space-subgrid-gap)]"
286
+ ), Ie = /* @__PURE__ */ x(
287
+ "flex items-center justify-between border-b border-solid border-[var(--semantic-color-border-default)] py-[var(--semantic-space-subgrid-gap)] pl-[var(--semantic-space-surface-padding)] pr-[var(--semantic-space-subgrid-gap)]"
288
+ ), J = /* @__PURE__ */ x(
289
+ "flex items-center gap-[var(--semantic-space-scale-xs)]"
290
+ ), Te = /* @__PURE__ */ x(
291
+ `flex w-full cursor-pointer items-center justify-between border-0 bg-transparent px-[var(--semantic-space-surface-padding)] py-[var(--semantic-space-scale-xs)] text-[var(--semantic-color-content-primary)] ${B}`
292
+ ), Ee = /* @__PURE__ */ x(
293
+ "border-t border-solid border-[var(--semantic-color-border-default)]"
294
+ ), Ae = /* @__PURE__ */ x(
295
+ "inline-flex transition-transform duration-[var(--hds-motion-productive-duration)] ease",
296
+ {
297
+ variants: {
298
+ expanded: {
299
+ true: "rotate-180",
300
+ false: "rotate-0"
301
+ }
302
+ },
303
+ defaultVariants: { expanded: !1 }
179
304
  }
180
-
181
- /* Fallback outer height when scroll-driven animations are not available:
182
- a static card-height plus some breathing room */
183
- .hds-scr-outer[data-fallback="true"] {
184
- /* Outer div becomes a straight horizontal scroll container */
185
- overflow-x: auto;
186
- overflow-y: hidden;
187
- scrollbar-width: thin;
305
+ ), q = /* @__PURE__ */ x(
306
+ "hds-touch-target flex cursor-pointer items-center gap-[var(--semantic-space-subgrid-gap)]",
307
+ {
308
+ variants: {
309
+ variant: {
310
+ inline: "shrink-0 border-0 bg-transparent py-[var(--semantic-space-subgrid-gap)] pl-[var(--semantic-space-scale-xs)] pr-[var(--semantic-space-subgrid-gap)] transition-[background-color,color,transform] duration-[var(--hds-motion-productive-duration)] ease",
311
+ block: "absolute right-[var(--semantic-space-subgrid-gap)] top-[var(--semantic-space-subgrid-gap)] rounded-[var(--semantic-radius-action)] border border-solid border-[var(--semantic-color-border-default)] bg-[var(--semantic-color-surface-raised)] px-[var(--semantic-space-scale-xs)] py-[var(--semantic-space-subgrid-gap)] transition-[background-color,color] duration-[var(--hds-motion-productive-duration)] ease"
312
+ }
313
+ },
314
+ defaultVariants: { variant: "block" }
188
315
  }
189
- .hds-scr-outer[data-fallback="true"] .hds-scr-yscroll {
190
- position: static;
191
- overflow: visible;
192
- height: auto;
193
- width: auto;
316
+ ), _e = /* @__PURE__ */ x(
317
+ `block min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap not-italic text-[var(--semantic-color-content-primary)] ${B}`,
318
+ {
319
+ variants: {
320
+ truncateFromStart: {
321
+ true: "[direction:rtl] [text-align:left]",
322
+ false: "[direction:ltr] [text-align:inherit]"
323
+ }
324
+ },
325
+ defaultVariants: { truncateFromStart: !1 }
194
326
  }
195
- .hds-scr-outer[data-fallback="true"] .hds-scr-spacer {
196
- height: auto;
197
- width: auto;
327
+ ), Q = /* @__PURE__ */ x(
328
+ `whitespace-pre text-[var(--semantic-color-content-primary)] ${B}`
329
+ ), ee = /* @__PURE__ */ x(
330
+ // 16px inset (scale-sm), not section-stack (80px): a 2-line snippet was 188px tall (hds#522).
331
+ "m-0 overflow-x-auto p-[var(--semantic-space-scale-sm)] pr-[calc(var(--semantic-space-scale-sm)_+_var(--semantic-size-control-lg))]",
332
+ {
333
+ variants: {
334
+ panelBackground: {
335
+ true: "bg-[var(--role-muted,var(--semantic-color-surface-raised))]",
336
+ false: ""
337
+ }
338
+ },
339
+ defaultVariants: { panelBackground: !1 }
198
340
  }
199
- .hds-scr-outer[data-fallback="true"] .hds-scr-strip {
200
- position: static;
201
- overflow-x: visible;
202
- overflow-y: visible;
341
+ );
342
+ function et({
343
+ code: r,
344
+ variant: t = "block",
345
+ truncateFromStart: i = !1,
346
+ language: n,
347
+ filename: e,
348
+ collapsible: s = !1,
349
+ defaultExpanded: u = !1,
350
+ className: d
351
+ }) {
352
+ const [p, o] = I(!1), [y, v] = I(u), w = xe(), k = Y(null), T = Y(null);
353
+ function E() {
354
+ var F, D;
355
+ const j = !y;
356
+ !j && ((F = T.current) != null && F.contains(document.activeElement)) && ((D = k.current) == null || D.focus()), v(j);
203
357
  }
204
- .hds-scr-outer[data-fallback="true"] .hds-scr-track {
205
- padding: 12px ${k}px;
358
+ function g() {
359
+ navigator.clipboard.writeText(r).then(() => {
360
+ o(!0), setTimeout(() => o(!1), 2e3);
361
+ });
206
362
  }
207
- `;
208
- function O() {
209
- return /* @__PURE__ */ e("div", { className: "hds-scr-cover-placeholder", "aria-hidden": "true", children: /* @__PURE__ */ o(
210
- "svg",
211
- {
212
- width: "48",
213
- height: "48",
214
- viewBox: "0 0 48 48",
215
- fill: "none",
216
- xmlns: "http://www.w3.org/2000/svg",
217
- "aria-hidden": "true",
218
- children: [
219
- /* @__PURE__ */ e(
220
- "rect",
221
- {
222
- x: "6",
223
- y: "10",
224
- width: "36",
225
- height: "28",
226
- rx: "3",
227
- stroke: "var(--semantic-color-border-default)",
228
- strokeWidth: "1.5"
229
- }
230
- ),
231
- /* @__PURE__ */ e(
232
- "circle",
233
- {
234
- cx: "16",
235
- cy: "20",
236
- r: "4",
237
- stroke: "var(--semantic-color-border-default)",
238
- strokeWidth: "1.5"
239
- }
363
+ if (t === "inline")
364
+ return /* @__PURE__ */ l("div", { className: b(Ce(), d), children: [
365
+ /* @__PURE__ */ a("code", { className: _e({ truncateFromStart: i }), children: p ? "Copied" : r }),
366
+ /* @__PURE__ */ a(
367
+ "button",
368
+ {
369
+ onClick: g,
370
+ "aria-label": p ? "Copied" : "Copy code",
371
+ className: b("hds-focus", q({ variant: "inline" })),
372
+ children: p ? /* @__PURE__ */ a(H, { icon: O, size: "small", color: "var(--semantic-color-content-primary)" }) : /* @__PURE__ */ a(H, { icon: X, size: "small", color: "var(--semantic-color-content-primary)" })
373
+ }
374
+ )
375
+ ] });
376
+ const A = e || n ? /* @__PURE__ */ a("div", { className: Ie(), children: /* @__PURE__ */ l("div", { className: J(), children: [
377
+ e && /* @__PURE__ */ a(
378
+ "span",
379
+ {
380
+ className: b(B, "text-[var(--semantic-color-content-primary)]"),
381
+ children: e
382
+ }
383
+ ),
384
+ n && /* @__PURE__ */ a(
385
+ "span",
386
+ {
387
+ className: b(
388
+ B,
389
+ "text-[var(--semantic-color-content-secondary)]"
240
390
  ),
241
- /* @__PURE__ */ e(
242
- "path",
243
- {
244
- d: "M6 30l10-8 8 6 6-5 12 9",
245
- stroke: "var(--semantic-color-border-default)",
246
- strokeWidth: "1.5",
247
- strokeLinejoin: "round"
248
- }
249
- )
250
- ]
391
+ children: n.toLowerCase()
392
+ }
393
+ )
394
+ ] }) }) : null, _ = /* @__PURE__ */ a(
395
+ "button",
396
+ {
397
+ onClick: g,
398
+ "aria-label": p ? "Copied" : "Copy code",
399
+ className: b("hds-focus", q({ variant: "block" })),
400
+ children: p ? /* @__PURE__ */ a(H, { icon: O, size: "small", color: "var(--semantic-color-content-primary)" }) : /* @__PURE__ */ a(H, { icon: X, size: "small", color: "var(--semantic-color-content-primary)" })
251
401
  }
252
- ) });
253
- }
254
- function G({ card: r, index: a, total: s }) {
255
- const t = /* @__PURE__ */ o(A, { children: [
256
- /* @__PURE__ */ e("div", { className: "hds-scr-cover", children: r.coverImage ? /* @__PURE__ */ e(
257
- "img",
402
+ ), C = /* @__PURE__ */ l("div", { className: "relative", children: [
403
+ /* @__PURE__ */ a(
404
+ "pre",
258
405
  {
259
- src: r.coverImage,
260
- alt: r.title,
261
- loading: a < 4 ? "eager" : "lazy",
262
- decoding: "async"
406
+ tabIndex: 0,
407
+ role: "region",
408
+ "aria-label": "Code sample",
409
+ className: ee({ panelBackground: !0 }),
410
+ children: /* @__PURE__ */ a("code", { className: Q(), children: te(r, n) })
263
411
  }
264
- ) : /* @__PURE__ */ e(O, {}) }),
265
- /* @__PURE__ */ o("div", { className: "hds-scr-meta", children: [
266
- r.category && /* @__PURE__ */ e(
267
- "span",
412
+ ),
413
+ _
414
+ ] });
415
+ return s ? /* @__PURE__ */ l("div", { className: b(U(), d), children: [
416
+ /* @__PURE__ */ l(
417
+ "button",
418
+ {
419
+ ref: k,
420
+ type: "button",
421
+ onClick: E,
422
+ "aria-expanded": y,
423
+ "aria-controls": w,
424
+ className: b("hds-focus", Te()),
425
+ children: [
426
+ /* @__PURE__ */ l("span", { className: J(), children: [
427
+ /* @__PURE__ */ a("span", { children: y ? "Hide code" : "Show code" }),
428
+ e && // eslint-disable-next-line tailwindcss/no-arbitrary-value -- content-secondary token has no matching Tailwind-theme utility; var()-based so still token-driven
429
+ /* @__PURE__ */ a("span", { className: "text-[var(--semantic-color-content-secondary)]", children: e }),
430
+ n && // eslint-disable-next-line tailwindcss/no-arbitrary-value -- content-secondary token has no matching Tailwind-theme utility; var()-based so still token-driven
431
+ /* @__PURE__ */ a("span", { className: "text-[var(--semantic-color-content-secondary)]", children: n.toLowerCase() })
432
+ ] }),
433
+ /* @__PURE__ */ a("span", { className: Ae({ expanded: y }), children: /* @__PURE__ */ a(H, { icon: we, size: "small", color: "var(--semantic-color-content-secondary)" }) })
434
+ ]
435
+ }
436
+ ),
437
+ y && /* @__PURE__ */ a("div", { ref: T, id: w, className: Ee(), children: C })
438
+ ] }) : /* @__PURE__ */ l("div", { className: b(U(), d), children: [
439
+ A,
440
+ /* @__PURE__ */ l("div", { className: "relative", children: [
441
+ /* @__PURE__ */ a(
442
+ "pre",
268
443
  {
269
- style: {
270
- ...v.typeStyles.eyebrow,
271
- color: "var(--semantic-color-content-secondary)"
272
- },
273
- children: r.category
444
+ tabIndex: 0,
445
+ role: "region",
446
+ "aria-label": "Code sample",
447
+ className: ee({ panelBackground: !1 }),
448
+ children: /* @__PURE__ */ a("code", { className: Q(), children: te(r, n) })
274
449
  }
275
450
  ),
276
- /* @__PURE__ */ e(
277
- "span",
278
- {
279
- style: {
280
- ...v.typeStyles.heading3,
281
- color: "var(--semantic-color-content-primary)"
282
- },
283
- children: r.title
284
- }
285
- )
451
+ _
286
452
  ] })
287
453
  ] });
288
- return /* @__PURE__ */ e(
454
+ }
455
+ const je = /* @__PURE__ */ new Set([
456
+ "import",
457
+ "export",
458
+ "from",
459
+ "as",
460
+ "default",
461
+ "const",
462
+ "let",
463
+ "var",
464
+ "function",
465
+ "return",
466
+ "if",
467
+ "else",
468
+ "for",
469
+ "while",
470
+ "switch",
471
+ "case",
472
+ "break",
473
+ "continue",
474
+ "new",
475
+ "class",
476
+ "extends",
477
+ "implements",
478
+ "interface",
479
+ "type",
480
+ "enum",
481
+ "public",
482
+ "private",
483
+ "protected",
484
+ "readonly",
485
+ "static",
486
+ "async",
487
+ "await",
488
+ "try",
489
+ "catch",
490
+ "finally",
491
+ "throw",
492
+ "typeof",
493
+ "instanceof",
494
+ "true",
495
+ "false",
496
+ "null",
497
+ "undefined",
498
+ "void",
499
+ "this",
500
+ "super",
501
+ "in",
502
+ "of"
503
+ ]), Re = /* @__PURE__ */ new Set(["important", "inherit", "initial", "unset", "auto", "none"]);
504
+ function ze(r) {
505
+ switch (r) {
506
+ case "keyword":
507
+ return "text-[var(--semantic-color-content-accent,var(--semantic-color-content-primary))]";
508
+ case "string":
509
+ return "text-[var(--semantic-color-feedback-success)]";
510
+ case "comment":
511
+ return "text-[var(--semantic-color-content-secondary)]";
512
+ case "number":
513
+ return "text-[var(--semantic-color-feedback-warning)]";
514
+ case "type":
515
+ return "text-[var(--semantic-color-feedback-info)]";
516
+ default:
517
+ return "text-[var(--semantic-color-content-primary)]";
518
+ }
519
+ }
520
+ function Fe(r) {
521
+ if (!r) return;
522
+ const t = r.trim().toLowerCase();
523
+ if (["ts", "tsx", "typescript", "js", "jsx", "javascript"].includes(t)) return "ts";
524
+ if (t === "json") return "json";
525
+ if (t === "css") return "css";
526
+ if (["html", "xml", "svg"].includes(t)) return "html";
527
+ }
528
+ function De(r) {
529
+ const t = [], i = /(\/\/[^\n]*|\/\*[\s\S]*?\*\/)|('(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|`(?:\\.|[^`\\])*`)|(\b\d[\d_.eE+-]*\b)|([A-Za-z_$][\w$]*)/g;
530
+ let n = 0, e;
531
+ for (; (e = i.exec(r)) !== null; ) {
532
+ if (e.index > n && t.push({ kind: "plain", value: r.slice(n, e.index) }), e[1]) t.push({ kind: "comment", value: e[1] });
533
+ else if (e[2]) t.push({ kind: "string", value: e[2] });
534
+ else if (e[3]) t.push({ kind: "number", value: e[3] });
535
+ else if (e[4]) {
536
+ const s = e[4];
537
+ je.has(s) ? t.push({ kind: "keyword", value: s }) : /^[A-Z]/.test(s) ? t.push({ kind: "type", value: s }) : t.push({ kind: "plain", value: s });
538
+ }
539
+ n = i.lastIndex;
540
+ }
541
+ return n < r.length && t.push({ kind: "plain", value: r.slice(n) }), t;
542
+ }
543
+ function $e(r) {
544
+ const t = [], i = /("(?:\\.|[^"\\])*")(\s*:)?|(\b-?\d[\d.eE+-]*\b)|\b(true|false|null)\b/g;
545
+ let n = 0, e;
546
+ for (; (e = i.exec(r)) !== null; )
547
+ e.index > n && t.push({ kind: "plain", value: r.slice(n, e.index) }), e[1] ? (t.push({ kind: e[2] ? "type" : "string", value: e[1] }), e[2] && t.push({ kind: "plain", value: e[2] })) : e[3] ? t.push({ kind: "number", value: e[3] }) : e[4] && t.push({ kind: "keyword", value: e[4] }), n = i.lastIndex;
548
+ return n < r.length && t.push({ kind: "plain", value: r.slice(n) }), t;
549
+ }
550
+ function He(r) {
551
+ const t = [], i = /(\/\*[\s\S]*?\*\/)|('(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*")|(--[A-Za-z_-][\w-]*)|(#[0-9a-fA-F]{3,8}\b|\b\d[\d.]*(?:px|rem|em|%|vh|vw|s|ms)?\b)|([A-Za-z_-][\w-]*)/g;
552
+ let n = 0, e;
553
+ for (; (e = i.exec(r)) !== null; )
554
+ e.index > n && t.push({ kind: "plain", value: r.slice(n, e.index) }), e[1] ? t.push({ kind: "comment", value: e[1] }) : e[2] ? t.push({ kind: "string", value: e[2] }) : e[3] ? t.push({ kind: "type", value: e[3] }) : e[4] ? t.push({ kind: "number", value: e[4] }) : e[5] && t.push({
555
+ kind: Re.has(e[5].toLowerCase()) ? "keyword" : "plain",
556
+ value: e[5]
557
+ }), n = i.lastIndex;
558
+ return n < r.length && t.push({ kind: "plain", value: r.slice(n) }), t;
559
+ }
560
+ function Pe(r) {
561
+ const t = [], i = /(<!--[\s\S]*?-->)|(<\/?)([A-Za-z][\w-]*)|("(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*')|([A-Za-z_-][\w-]*)(=)/g;
562
+ let n = 0, e;
563
+ for (; (e = i.exec(r)) !== null; )
564
+ e.index > n && t.push({ kind: "plain", value: r.slice(n, e.index) }), e[1] ? t.push({ kind: "comment", value: e[1] }) : e[2] && e[3] ? (t.push({ kind: "plain", value: e[2] }), t.push({ kind: "keyword", value: e[3] })) : e[4] ? t.push({ kind: "string", value: e[4] }) : e[5] && (t.push({ kind: "type", value: e[5] }), t.push({ kind: "plain", value: e[6] })), n = i.lastIndex;
565
+ return n < r.length && t.push({ kind: "plain", value: r.slice(n) }), t;
566
+ }
567
+ function te(r, t) {
568
+ const i = Fe(t);
569
+ if (!i) return r;
570
+ let n;
571
+ try {
572
+ if (i === "ts") n = De(r);
573
+ else if (i === "json") n = $e(r);
574
+ else if (i === "css") n = He(r);
575
+ else if (i === "html") n = Pe(r);
576
+ else return r;
577
+ } catch {
578
+ return r;
579
+ }
580
+ return n.map(
581
+ (e, s) => e.kind === "plain" ? /* @__PURE__ */ a("span", { children: e.value }, s) : /* @__PURE__ */ a("span", { className: ze(e.kind), children: e.value }, s)
582
+ );
583
+ }
584
+ const ae = {
585
+ display: "flex",
586
+ maxWidth: "100%",
587
+ alignItems: "center",
588
+ justifyContent: "center",
589
+ fontFamily: m.fontFamily
590
+ };
591
+ function tt({
592
+ displayText: r = "Oops",
593
+ message: t = "Something went wrong",
594
+ fullPage: i = !1
595
+ }) {
596
+ const n = re("spatial");
597
+ return /* @__PURE__ */ a(
289
598
  "div",
290
599
  {
291
- className: "hds-scr-card",
292
- style: { "--card-index": a },
293
- "aria-label": `${r.title}${r.category ? `, ${r.category}` : ""}, card ${a + 1} of ${s}`,
294
- children: r.href ? /* @__PURE__ */ e(
295
- "a",
600
+ style: i ? { ...ae, minHeight: "100vh" } : ae,
601
+ "data-role": "error-recovery",
602
+ children: /* @__PURE__ */ a(M, { padding: "component", className: "min-w-0 max-w-full", children: /* @__PURE__ */ a(
603
+ se.div,
296
604
  {
297
- href: r.href,
298
- className: "hds-focus hds-scr-card-inner",
299
- style: {
300
- display: "flex",
301
- flexDirection: "column",
302
- height: "100%",
303
- textDecoration: "none",
304
- color: "inherit"
305
- },
306
- children: t
605
+ initial: { opacity: 0, y: 2 },
606
+ animate: { opacity: 1, y: 0 },
607
+ transition: { duration: n.duration, ease: n.easing },
608
+ children: /* @__PURE__ */ l(h, { gap: "normal", style: { alignItems: "center", textAlign: "center" }, children: [
609
+ /* @__PURE__ */ a(
610
+ V,
611
+ {
612
+ variant: "display",
613
+ as: "h1",
614
+ className: "text-primary",
615
+ style: { overflowWrap: "anywhere" },
616
+ children: r
617
+ }
618
+ ),
619
+ /* @__PURE__ */ a(
620
+ V,
621
+ {
622
+ variant: "title",
623
+ as: "p",
624
+ className: "text-secondary",
625
+ style: { overflowWrap: "anywhere" },
626
+ children: t
627
+ }
628
+ ),
629
+ /* @__PURE__ */ a(
630
+ P,
631
+ {
632
+ variant: "primary",
633
+ onClick: () => {
634
+ typeof window < "u" && window.history.back();
635
+ },
636
+ children: "Back"
637
+ }
638
+ )
639
+ ] })
307
640
  }
308
- ) : /* @__PURE__ */ e("div", { className: "hds-scr-card-inner", children: t })
641
+ ) })
309
642
  }
310
643
  );
311
644
  }
312
- function te({ cards: r }) {
313
- const a = x(null), s = x(null), t = x(null), n = r.length, c = C * n + /* trailing breathing room */
314
- C * R;
315
- return N(() => {
316
- const i = s.current, l = t.current;
317
- if (!i || !l) return;
318
- function h() {
319
- !i || !l || (l.scrollLeft = i.scrollTop);
645
+ const at = /* @__PURE__ */ be.forwardRef(function({ children: t, animation: i = "fade-up", className: n, style: e, as: s = "div" }, u) {
646
+ return /* @__PURE__ */ a(
647
+ s,
648
+ {
649
+ ref: u,
650
+ className: ["hds-reveal", n].filter(Boolean).join(" "),
651
+ "data-reveal": i,
652
+ "data-hds-component": "Reveal",
653
+ "data-hds-metrics": `animation:${i}`,
654
+ style: e,
655
+ children: t
320
656
  }
321
- return i.addEventListener("scroll", h, { passive: !0 }), () => {
322
- i.removeEventListener("scroll", h);
323
- };
324
- }, []), N(() => {
325
- const i = a.current;
326
- if (!i) return;
327
- typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("animation-timeline", "scroll()") || i.setAttribute("data-fallback", "true");
328
- }, []), /* @__PURE__ */ o(A, { children: [
329
- /* @__PURE__ */ e("style", { dangerouslySetInnerHTML: { __html: W } }),
330
- /* @__PURE__ */ e(
331
- "div",
332
- {
333
- ref: a,
334
- className: "hds-scr-outer",
335
- style: {
336
- height: "calc(var(--card-height) + 48px)"
337
- },
338
- role: "region",
339
- "aria-label": "Project cards",
340
- children: /* @__PURE__ */ o(
341
- "div",
342
- {
343
- ref: s,
344
- className: "hds-scr-yscroll",
345
- role: "region",
346
- "aria-label": "Project cards, vertical scroll",
347
- tabIndex: 0,
348
- style: { height: "100%" },
349
- children: [
350
- /* @__PURE__ */ e(
351
- "div",
352
- {
353
- className: "hds-scr-spacer",
354
- style: {
355
- "--hds-scr-spacer-height": `${c}px`
356
- }
357
- }
358
- ),
359
- /* @__PURE__ */ e(
360
- "div",
361
- {
362
- ref: t,
363
- className: "hds-scr-strip",
364
- role: "region",
365
- "aria-label": "Project cards, horizontal scroll",
366
- tabIndex: 0,
367
- children: /* @__PURE__ */ e("div", { className: "hds-scr-track", role: "list", children: r.map((i, l) => /* @__PURE__ */ e("div", { role: "listitem", children: /* @__PURE__ */ e(G, { card: i, index: l, total: n }) }, i.id)) })
368
- }
369
- )
370
- ]
371
- }
372
- )
373
- }
374
- )
375
- ] });
376
- }
377
- const re = /* @__PURE__ */ d.forwardRef(
378
- function({ breadcrumb: a, title: s, status: t, actions: n, level: c = 1, className: i, ...l }, h) {
379
- const g = `h${c}`;
380
- return /* @__PURE__ */ e(
657
+ );
658
+ }), nt = /* @__PURE__ */ f.forwardRef(
659
+ function({ breadcrumb: t, title: i, status: n, actions: e, level: s = 1, className: u, ...d }, p) {
660
+ const o = `h${s}`;
661
+ return /* @__PURE__ */ a(
381
662
  "header",
382
663
  {
383
- ref: h,
664
+ ref: p,
384
665
  "data-hds-component": "PageHeader",
385
- className: M("w-full", i),
386
- ...l,
387
- children: /* @__PURE__ */ o(I, { gap: "tight", children: [
388
- a ? /* @__PURE__ */ e("div", { "data-slot": "breadcrumb", children: a }) : null,
389
- /* @__PURE__ */ o(u, { gap: "normal", align: "start", justify: "space-between", children: [
390
- /* @__PURE__ */ o(u, { gap: "tight", align: "center", children: [
391
- /* @__PURE__ */ e(
392
- g,
666
+ className: b("w-full", u),
667
+ ...d,
668
+ children: /* @__PURE__ */ l(h, { gap: "tight", children: [
669
+ t ? /* @__PURE__ */ a("div", { "data-slot": "breadcrumb", children: t }) : null,
670
+ /* @__PURE__ */ l(h, { direction: "row", wrap: "wrap", gap: "normal", align: "start", justify: "space-between", children: [
671
+ /* @__PURE__ */ l(h, { direction: "row", wrap: "wrap", gap: "tight", align: "center", justify: "start", children: [
672
+ /* @__PURE__ */ a(
673
+ o,
393
674
  {
394
675
  style: {
395
- ...v.typeStyles.heading2,
676
+ ...m.typeStyles.title,
396
677
  margin: 0,
397
678
  color: "var(--semantic-color-content-primary)"
398
679
  },
399
- children: s
680
+ children: i
400
681
  }
401
682
  ),
402
- t ? /* @__PURE__ */ e("div", { "data-slot": "status", children: t }) : null
683
+ n ? /* @__PURE__ */ a("div", { "data-slot": "status", children: n }) : null
403
684
  ] }),
404
- n ? /* @__PURE__ */ e("div", { "data-slot": "actions", className: "ml-auto", children: /* @__PURE__ */ e(u, { gap: "tight", align: "center", justify: "end", children: n }) }) : null
685
+ e ? /* @__PURE__ */ a("div", { "data-slot": "actions", className: "ml-auto", children: /* @__PURE__ */ a(h, { direction: "row", wrap: "wrap", gap: "tight", align: "center", justify: "end", children: e }) }) : null
405
686
  ] })
406
687
  ] })
407
688
  }
408
689
  );
409
690
  }
410
- ), U = 4, X = "calc(var(--primitive-size-96) + var(--primitive-size-24))", Y = " ", ie = /* @__PURE__ */ d.forwardRef(
411
- function({ label: a, value: s, sub: t, tone: n = "neutral", style: c, ...i }, l) {
412
- return /* @__PURE__ */ e(
413
- _,
691
+ ), Ve = 4, Be = "var(--semantic-size-tile)", We = " ", rt = /* @__PURE__ */ f.forwardRef(
692
+ function({ label: t, value: i, sub: n, tone: e = "neutral", style: s, ...u }, d) {
693
+ return /* @__PURE__ */ a(
694
+ M,
414
695
  {
415
- ref: l,
696
+ ref: d,
416
697
  padding: "item",
417
698
  "data-hds-component": "MetricTile",
418
- "data-tone": n,
419
- style: { minHeight: X, ...c },
420
- ...i,
421
- children: /* @__PURE__ */ e(
422
- V.Metric,
699
+ "data-tone": e,
700
+ style: { minHeight: Be, ...s },
701
+ ...u,
702
+ children: /* @__PURE__ */ a(
703
+ ie.Metric,
423
704
  {
424
- label: a,
425
- value: s,
426
- sub: t ?? Y,
427
- tone: n,
705
+ label: t,
706
+ value: i,
707
+ sub: n ?? We,
708
+ tone: e,
428
709
  className: "px-0"
429
710
  }
430
711
  )
@@ -432,175 +713,180 @@ const re = /* @__PURE__ */ d.forwardRef(
432
713
  );
433
714
  }
434
715
  );
435
- function $(r) {
436
- return d.Children.toArray(r).reduce((a, s) => d.isValidElement(s) ? s.type === d.Fragment ? a + $(s.props.children) : a + 1 : a, 0);
716
+ function oe(r) {
717
+ return f.Children.toArray(r).reduce((t, i) => f.isValidElement(i) ? i.type === f.Fragment ? t + oe(i.props.children) : t + 1 : t, 0);
437
718
  }
438
- const se = /* @__PURE__ */ d.forwardRef(
439
- function({ children: a, ...s }, t) {
440
- const n = Math.min(Math.max($(a), 1), U);
441
- return /* @__PURE__ */ e("div", { ref: t, "data-hds-component": "MetricTiles", ...s, children: /* @__PURE__ */ e(E, { columns: n, gap: "tight", children: a }) });
719
+ const it = /* @__PURE__ */ f.forwardRef(
720
+ function({ children: t, ...i }, n) {
721
+ const e = Math.min(Math.max(oe(t), 1), Ve);
722
+ return /* @__PURE__ */ a("div", { ref: n, "data-hds-component": "MetricTiles", ...i, children: /* @__PURE__ */ a(ne, { columns: e, gap: "tight", align: "stretch", children: t }) });
442
723
  }
443
- ), ne = /* @__PURE__ */ d.forwardRef(
444
- function({ primary: a, secondary: s, destructive: t, sticky: n = !1, className: c, style: i, ...l }, h) {
445
- return /* @__PURE__ */ e(
724
+ ), st = /* @__PURE__ */ f.forwardRef(
725
+ function({ primary: t, secondary: i, destructive: n, sticky: e = !1, className: s, style: u, ...d }, p) {
726
+ const o = f.isValidElement(t) && t.type === P && t.props.variant === void 0 ? f.cloneElement(t, { variant: "primary" }) : t;
727
+ return /* @__PURE__ */ a(
446
728
  "div",
447
729
  {
448
- ref: h,
730
+ ref: p,
449
731
  "data-hds-component": "FormActions",
450
- "data-sticky": n ? "true" : void 0,
451
- className: M(n && "border-t border-border bg-background py-3", c),
452
- style: n ? { position: "sticky", bottom: 0, ...i } : i,
453
- ...l,
454
- children: /* @__PURE__ */ o(u, { gap: "tight", align: "center", justify: t ? "space-between" : "end", children: [
455
- t ? /* @__PURE__ */ e("div", { "data-slot": "destructive", children: t }) : null,
456
- /* @__PURE__ */ e("div", { "data-slot": "group", className: "ml-auto", children: /* @__PURE__ */ o(u, { gap: "tight", align: "center", justify: "end", children: [
457
- s,
458
- a
459
- ] }) })
460
- ] })
732
+ "data-sticky": e ? "true" : void 0,
733
+ className: b(e && "border-t border-border bg-background py-3", s),
734
+ style: e ? { position: "sticky", bottom: 0, ...u } : u,
735
+ ...d,
736
+ children: /* @__PURE__ */ l(
737
+ h,
738
+ {
739
+ direction: "row",
740
+ wrap: "wrap",
741
+ gap: "tight",
742
+ align: "center",
743
+ justify: n ? "space-between" : "end",
744
+ children: [
745
+ n ? /* @__PURE__ */ a("div", { "data-slot": "destructive", children: n }) : null,
746
+ /* @__PURE__ */ a("div", { "data-slot": "group", className: "ml-auto", children: /* @__PURE__ */ l(h, { direction: "row", wrap: "wrap", gap: "tight", align: "center", justify: "end", children: [
747
+ i,
748
+ o
749
+ ] }) })
750
+ ]
751
+ }
752
+ )
461
753
  }
462
754
  );
463
755
  }
464
- ), oe = /* @__PURE__ */ d.forwardRef(function({
465
- title: a,
466
- description: s,
467
- actionLabel: t,
468
- confirmLabel: n,
469
- confirmBody: c,
470
- onConfirm: i,
471
- cancelLabel: l = "Cancel",
472
- level: h = 2,
473
- ...g
756
+ ), ot = /* @__PURE__ */ f.forwardRef(function({
757
+ title: t,
758
+ description: i,
759
+ actionLabel: n,
760
+ confirmLabel: e,
761
+ confirmBody: s,
762
+ onConfirm: u,
763
+ cancelLabel: d = "Cancel",
764
+ level: p = 2,
765
+ ...o
474
766
  }, y) {
475
- const m = d.useId();
476
- return /* @__PURE__ */ e(
767
+ const v = f.useId();
768
+ return /* @__PURE__ */ a(
477
769
  "section",
478
770
  {
479
771
  ref: y,
480
772
  "data-hds-component": "DestructiveSection",
481
- "aria-labelledby": m,
482
- ...g,
483
- children: /* @__PURE__ */ e(V, { tone: "danger", children: /* @__PURE__ */ o(u, { gap: "normal", align: "center", justify: "space-between", children: [
484
- /* @__PURE__ */ o("div", { "data-slot": "copy", className: "min-w-0 grow basis-64", children: [
485
- /* @__PURE__ */ e(S, { id: m, as: `h${h}`, variant: "heading3", children: a }),
486
- /* @__PURE__ */ e(S, { as: "p", variant: "caption", className: "text-muted-foreground", children: s })
773
+ "aria-labelledby": v,
774
+ ...o,
775
+ children: /* @__PURE__ */ a(ie, { tone: "danger", children: /* @__PURE__ */ l(h, { direction: "row", wrap: "wrap", gap: "normal", align: "center", justify: "space-between", children: [
776
+ /* @__PURE__ */ l("div", { "data-slot": "copy", className: "min-w-0 grow basis-64", children: [
777
+ /* @__PURE__ */ a(V, { id: v, as: `h${p}`, variant: "title", children: t }),
778
+ /* @__PURE__ */ a(V, { as: "p", variant: "caption", className: "text-muted-foreground", children: i })
487
779
  ] }),
488
- /* @__PURE__ */ e("div", { "data-slot": "action", className: "shrink-0", children: /* @__PURE__ */ o(p, { children: [
489
- /* @__PURE__ */ e(p.Trigger, { asChild: !0, children: /* @__PURE__ */ e(w, { variant: "secondary", tone: "danger", children: t ?? n }) }),
490
- /* @__PURE__ */ o(p.Content, { children: [
491
- /* @__PURE__ */ o(p.Header, { children: [
492
- /* @__PURE__ */ e(p.Title, { children: a }),
493
- /* @__PURE__ */ e(p.Description, { children: c })
780
+ /* @__PURE__ */ a("div", { "data-slot": "action", className: "shrink-0", children: /* @__PURE__ */ l(S, { children: [
781
+ /* @__PURE__ */ a(S.Trigger, { asChild: !0, children: /* @__PURE__ */ a(P, { variant: "secondary", tone: "danger", children: n ?? e }) }),
782
+ /* @__PURE__ */ l(S.Content, { children: [
783
+ /* @__PURE__ */ l(S.Header, { children: [
784
+ /* @__PURE__ */ a(S.Title, { children: t }),
785
+ /* @__PURE__ */ a(S.Description, { children: s })
494
786
  ] }),
495
- /* @__PURE__ */ o(p.Footer, { children: [
496
- /* @__PURE__ */ e(p.Cancel, { asChild: !0, children: /* @__PURE__ */ e(w, { variant: "secondary", children: l }) }),
497
- /* @__PURE__ */ e(p.Action, { asChild: !0, children: /* @__PURE__ */ e(w, { variant: "primary", tone: "danger", onClick: i, children: n }) })
787
+ /* @__PURE__ */ l(S.Footer, { children: [
788
+ /* @__PURE__ */ a(S.Cancel, { asChild: !0, children: /* @__PURE__ */ a(P, { variant: "secondary", children: d }) }),
789
+ /* @__PURE__ */ a(S.Action, { asChild: !0, children: /* @__PURE__ */ a(P, { variant: "primary", tone: "danger", onClick: u, children: e }) })
498
790
  ] })
499
791
  ] })
500
792
  ] }) })
501
793
  ] }) })
502
794
  }
503
795
  );
504
- }), q = "8rem", K = "6rem", le = /* @__PURE__ */ d.forwardRef(function({
505
- title: a,
506
- toolbar: s,
507
- columns: t,
508
- rows: n,
509
- actionsLabel: c = "Actions",
510
- emptyTitle: i = "Nothing here yet",
511
- emptyDescription: l,
512
- level: h = 2,
513
- ...g
796
+ }), Me = "8rem", Le = "6rem", ct = /* @__PURE__ */ f.forwardRef(function({
797
+ title: t,
798
+ toolbar: i,
799
+ columns: n,
800
+ rows: e,
801
+ actionsLabel: s = "Actions",
802
+ emptyTitle: u = "Nothing here yet",
803
+ emptyDescription: d,
804
+ level: p = 2,
805
+ ...o
514
806
  }, y) {
515
- const m = d.useId(), b = n.some((f) => f.actions != null), F = b ? [...t, { key: "__actions", label: c, align: "right", width: "max-content" }] : t, j = n.map((f) => ({
516
- key: f.key,
807
+ const v = f.useId(), w = e.some((g) => g.actions != null), k = w ? [...n, { key: "__actions", label: s, align: "right", width: "max-content" }] : n, T = e.map((g) => ({
808
+ key: g.key,
517
809
  cells: [
518
- ...f.cells.map((H, L) => {
519
- var T;
810
+ ...g.cells.map((A, _) => {
811
+ var C;
520
812
  return {
521
813
  slot: "custom",
522
- content: H,
523
- align: (T = t[L]) == null ? void 0 : T.align
814
+ content: A,
815
+ align: (C = n[_]) == null ? void 0 : C.align
524
816
  };
525
817
  }),
526
- ...b ? [
818
+ ...w ? [
527
819
  {
528
820
  slot: "action",
529
821
  align: "right",
530
- content: /* @__PURE__ */ e(u, { gap: "tight", align: "center", justify: "end", children: f.actions })
822
+ content: /* @__PURE__ */ a(h, { direction: "row", wrap: "wrap", gap: "tight", align: "center", justify: "end", children: g.actions })
531
823
  }
532
824
  ] : []
533
825
  ]
534
- })), D = `calc(${t.length} * ${q}${b ? ` + ${K}` : ""})`;
535
- return /* @__PURE__ */ e("section", { ref: y, "data-hds-component": "DataTableSection", "aria-labelledby": m, ...g, children: /* @__PURE__ */ o(I, { gap: "tight", children: [
536
- /* @__PURE__ */ o(u, { gap: "normal", align: "center", justify: "space-between", children: [
537
- /* @__PURE__ */ e(S, { id: m, as: `h${h}`, variant: "heading3", children: a }),
538
- s ? /* @__PURE__ */ e("div", { "data-slot": "toolbar", className: "ml-auto", children: /* @__PURE__ */ e(u, { gap: "tight", align: "center", justify: "end", children: s }) }) : null
826
+ })), E = `calc(${n.length} * ${Me}${w ? ` + ${Le}` : ""})`;
827
+ return /* @__PURE__ */ a("section", { ref: y, "data-hds-component": "DataTableSection", "aria-labelledby": v, ...o, children: /* @__PURE__ */ l(h, { gap: "tight", children: [
828
+ /* @__PURE__ */ l(h, { direction: "row", wrap: "wrap", gap: "normal", align: "center", justify: "space-between", children: [
829
+ /* @__PURE__ */ a(V, { id: v, as: `h${p}`, variant: "title", children: t }),
830
+ i ? /* @__PURE__ */ a("div", { "data-slot": "toolbar", className: "ml-auto", children: /* @__PURE__ */ a(h, { direction: "row", wrap: "wrap", gap: "tight", align: "center", justify: "end", children: i }) }) : null
539
831
  ] }),
540
- n.length === 0 ? /* @__PURE__ */ e(P, { title: i, description: l }) : /* @__PURE__ */ e(
541
- z,
832
+ e.length === 0 ? /* @__PURE__ */ a(ge, { title: u, description: d }) : /* @__PURE__ */ a(
833
+ ye,
542
834
  {
543
- columns: F,
544
- rows: j,
545
- minWidth: D,
546
- labelledBy: m
835
+ columns: k,
836
+ rows: T,
837
+ minWidth: E,
838
+ labelledBy: v
547
839
  }
548
840
  )
549
841
  ] }) });
550
- });
842
+ }), lt = /* @__PURE__ */ f.forwardRef(
843
+ function({ tone: t = "neutral", title: i, notes: n, trailing: e, className: s, ...u }, d) {
844
+ return /* @__PURE__ */ l(
845
+ "div",
846
+ {
847
+ ref: d,
848
+ "data-hds-component": "StatusTile",
849
+ "data-hds-metrics": `tone:${t}`,
850
+ className: b(
851
+ "flex items-start gap-3 rounded-lg bg-[var(--semantic-color-surface-raised)] p-4",
852
+ s
853
+ ),
854
+ ...u,
855
+ children: [
856
+ /* @__PURE__ */ l("div", { className: "min-w-0 flex-1", children: [
857
+ /* @__PURE__ */ a("p", { className: "m-0 hds-type-ui text-foreground", children: i }),
858
+ n == null ? void 0 : n.map((p, o) => /* @__PURE__ */ a("p", { className: "m-0 mt-1 hds-type-caption text-muted-foreground", children: p }, o))
859
+ ] }),
860
+ e && /* @__PURE__ */ a("div", { className: "shrink-0", children: e })
861
+ ]
862
+ }
863
+ );
864
+ }
865
+ );
551
866
  export {
552
- he as ActivityFeed,
553
- pe as AppShell,
554
- ue as AssetImg,
555
- me as Calendar,
556
- ge as Carousel,
557
- fe as CodeBlock,
558
- ve as CommandPalette,
559
- le as DataTableSection,
560
- oe as DestructiveSection,
561
- ye as DocLinkCard,
562
- be as ErrorPattern,
563
- we as FileInput,
564
- aa as Form,
565
- ne as FormActions,
566
- ta as FormField,
567
- ra as FormFieldShell,
568
- xe as Lightbox,
569
- ie as MetricTile,
570
- se as MetricTiles,
571
- ke as NavItem,
572
- Se as OverflowList,
573
- Ce as Page,
574
- re as PageHeader,
575
- Te as Reveal,
576
- Ne as SideNav,
577
- te as StackedCardRail,
578
- Ie as Stepper,
579
- Ve as Toolbar,
580
- Ae as TopNav,
581
- Me as TreeList,
582
- Re as activityAvatarVariants,
583
- $e as activityToneVariants,
584
- Fe as appShellVariants,
585
- je as blockCodeTextVariants,
586
- De as blockContainerVariants,
587
- He as blockHeaderVariants,
588
- Le as carouselControlVariants,
589
- _e as chevronVariants,
590
- Ee as cmdkDescriptionVariants,
591
- Pe as cmdkKindBadgeVariants,
592
- ze as cmdkRowVariants,
593
- Be as collapsibleToggleVariants,
594
- We as copyButtonVariants,
595
- Oe as defaultActivityEvents,
596
- Ge as docLinkCardVariants,
597
- Ue as fileInputVariants,
598
- Xe as inlineCodeTextVariants,
599
- Ye as inlineWrapperVariants,
600
- qe as navIndicatorVariants,
601
- Ke as navItemVariants,
602
- Je as prePanelVariants,
603
- Qe as sideNavVariants,
604
- Ze as stepMarkerVariants,
605
- ia as useFieldWiring
867
+ Qe as AssetImg,
868
+ et as CodeBlock,
869
+ ct as DataTableSection,
870
+ ot as DestructiveSection,
871
+ tt as ErrorPattern,
872
+ ut as Form,
873
+ st as FormActions,
874
+ mt as FormField,
875
+ ht as FormFieldShell,
876
+ rt as MetricTile,
877
+ it as MetricTiles,
878
+ qe as Page,
879
+ nt as PageHeader,
880
+ at as Reveal,
881
+ lt as StatusTile,
882
+ Q as blockCodeTextVariants,
883
+ U as blockContainerVariants,
884
+ Ie as blockHeaderVariants,
885
+ Ae as chevronVariants,
886
+ Te as collapsibleToggleVariants,
887
+ q as copyButtonVariants,
888
+ _e as inlineCodeTextVariants,
889
+ Ce as inlineWrapperVariants,
890
+ ee as prePanelVariants,
891
+ ft as useFieldWiring
606
892
  };