@hanzo/ui 8.0.66 → 8.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backends/gui/accordion.cjs +69 -0
- package/dist/backends/gui/accordion.d.ts +57 -0
- package/dist/backends/gui/accordion.d.ts.map +1 -0
- package/dist/backends/gui/accordion.js +64 -0
- package/dist/backends/gui/accordion.js.map +1 -0
- package/dist/backends/gui/alert-dialog.cjs +91 -0
- package/dist/backends/gui/alert-dialog.d.ts +77 -0
- package/dist/backends/gui/alert-dialog.d.ts.map +1 -0
- package/dist/backends/gui/alert-dialog.js +79 -0
- package/dist/backends/gui/alert-dialog.js.map +1 -0
- package/dist/backends/gui/context-menu.cjs +189 -0
- package/dist/backends/gui/context-menu.d.ts +116 -0
- package/dist/backends/gui/context-menu.d.ts.map +1 -0
- package/dist/backends/gui/context-menu.js +140 -0
- package/dist/backends/gui/context-menu.js.map +1 -0
- package/dist/backends/gui/dropdown-menu.d.ts +1 -1
- package/dist/backends/gui/hover-card.cjs +76 -0
- package/dist/backends/gui/hover-card.d.ts +57 -0
- package/dist/backends/gui/hover-card.d.ts.map +1 -0
- package/dist/backends/gui/hover-card.js +72 -0
- package/dist/backends/gui/hover-card.js.map +1 -0
- package/dist/backends/gui/index.cjs +53 -3
- package/dist/backends/gui/index.d.ts +7 -1
- package/dist/backends/gui/index.d.ts.map +1 -1
- package/dist/backends/gui/index.js +12 -1
- package/dist/backends/gui/index.js.map +1 -1
- package/dist/backends/gui/layout.cjs +3 -2
- package/dist/backends/gui/layout.d.ts +1 -1
- package/dist/backends/gui/layout.d.ts.map +1 -1
- package/dist/backends/gui/layout.js +2 -2
- package/dist/backends/gui/layout.js.map +1 -1
- package/dist/backends/gui/radio-group.cjs +47 -0
- package/dist/backends/gui/radio-group.d.ts +36 -0
- package/dist/backends/gui/radio-group.d.ts.map +1 -0
- package/dist/backends/gui/radio-group.js +44 -0
- package/dist/backends/gui/radio-group.js.map +1 -0
- package/dist/backends/gui/toggle-group.cjs +114 -0
- package/dist/backends/gui/toggle-group.d.ts +57 -0
- package/dist/backends/gui/toggle-group.d.ts.map +1 -0
- package/dist/backends/gui/toggle-group.js +112 -0
- package/dist/backends/gui/toggle-group.js.map +1 -0
- package/dist/gallery.cjs +2 -2
- package/dist/gallery.d.ts.map +1 -1
- package/dist/gallery.js +3 -3
- package/dist/gallery.js.map +1 -1
- package/dist/glass.css +117 -0
- package/dist/gui-config.cjs +76 -43
- package/dist/gui-config.d.ts +204 -204
- package/dist/gui-config.d.ts.map +1 -1
- package/dist/gui-config.js +76 -43
- package/dist/gui-config.js.map +1 -1
- package/dist/index.cjs +57 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -1
- package/dist/index.js.map +1 -1
- package/dist/primitives/Accordion.cjs +8 -0
- package/dist/primitives/Accordion.d.ts +2 -0
- package/dist/primitives/Accordion.d.ts.map +1 -0
- package/dist/primitives/Accordion.js +5 -0
- package/dist/primitives/Accordion.js.map +1 -0
- package/dist/primitives/AccordionContent.cjs +8 -0
- package/dist/primitives/AccordionContent.d.ts +2 -0
- package/dist/primitives/AccordionContent.d.ts.map +1 -0
- package/dist/primitives/AccordionContent.js +5 -0
- package/dist/primitives/AccordionContent.js.map +1 -0
- package/dist/primitives/AccordionItem.cjs +8 -0
- package/dist/primitives/AccordionItem.d.ts +2 -0
- package/dist/primitives/AccordionItem.d.ts.map +1 -0
- package/dist/primitives/AccordionItem.js +5 -0
- package/dist/primitives/AccordionItem.js.map +1 -0
- package/dist/primitives/AccordionTrigger.cjs +8 -0
- package/dist/primitives/AccordionTrigger.d.ts +2 -0
- package/dist/primitives/AccordionTrigger.d.ts.map +1 -0
- package/dist/primitives/AccordionTrigger.js +5 -0
- package/dist/primitives/AccordionTrigger.js.map +1 -0
- package/dist/primitives/AlertDialog.cjs +8 -0
- package/dist/primitives/AlertDialog.d.ts +2 -0
- package/dist/primitives/AlertDialog.d.ts.map +1 -0
- package/dist/primitives/AlertDialog.js +5 -0
- package/dist/primitives/AlertDialog.js.map +1 -0
- package/dist/primitives/AlertDialogAction.cjs +8 -0
- package/dist/primitives/AlertDialogAction.d.ts +2 -0
- package/dist/primitives/AlertDialogAction.d.ts.map +1 -0
- package/dist/primitives/AlertDialogAction.js +5 -0
- package/dist/primitives/AlertDialogAction.js.map +1 -0
- package/dist/primitives/AlertDialogCancel.cjs +8 -0
- package/dist/primitives/AlertDialogCancel.d.ts +2 -0
- package/dist/primitives/AlertDialogCancel.d.ts.map +1 -0
- package/dist/primitives/AlertDialogCancel.js +5 -0
- package/dist/primitives/AlertDialogCancel.js.map +1 -0
- package/dist/primitives/AlertDialogContent.cjs +8 -0
- package/dist/primitives/AlertDialogContent.d.ts +2 -0
- package/dist/primitives/AlertDialogContent.d.ts.map +1 -0
- package/dist/primitives/AlertDialogContent.js +5 -0
- package/dist/primitives/AlertDialogContent.js.map +1 -0
- package/dist/primitives/AlertDialogDescription.cjs +8 -0
- package/dist/primitives/AlertDialogDescription.d.ts +2 -0
- package/dist/primitives/AlertDialogDescription.d.ts.map +1 -0
- package/dist/primitives/AlertDialogDescription.js +5 -0
- package/dist/primitives/AlertDialogDescription.js.map +1 -0
- package/dist/primitives/AlertDialogFooter.cjs +8 -0
- package/dist/primitives/AlertDialogFooter.d.ts +2 -0
- package/dist/primitives/AlertDialogFooter.d.ts.map +1 -0
- package/dist/primitives/AlertDialogFooter.js +5 -0
- package/dist/primitives/AlertDialogFooter.js.map +1 -0
- package/dist/primitives/AlertDialogHeader.cjs +8 -0
- package/dist/primitives/AlertDialogHeader.d.ts +2 -0
- package/dist/primitives/AlertDialogHeader.d.ts.map +1 -0
- package/dist/primitives/AlertDialogHeader.js +5 -0
- package/dist/primitives/AlertDialogHeader.js.map +1 -0
- package/dist/primitives/AlertDialogOverlay.cjs +8 -0
- package/dist/primitives/AlertDialogOverlay.d.ts +2 -0
- package/dist/primitives/AlertDialogOverlay.d.ts.map +1 -0
- package/dist/primitives/AlertDialogOverlay.js +5 -0
- package/dist/primitives/AlertDialogOverlay.js.map +1 -0
- package/dist/primitives/AlertDialogPortal.cjs +8 -0
- package/dist/primitives/AlertDialogPortal.d.ts +2 -0
- package/dist/primitives/AlertDialogPortal.d.ts.map +1 -0
- package/dist/primitives/AlertDialogPortal.js +5 -0
- package/dist/primitives/AlertDialogPortal.js.map +1 -0
- package/dist/primitives/AlertDialogTitle.cjs +8 -0
- package/dist/primitives/AlertDialogTitle.d.ts +2 -0
- package/dist/primitives/AlertDialogTitle.d.ts.map +1 -0
- package/dist/primitives/AlertDialogTitle.js +5 -0
- package/dist/primitives/AlertDialogTitle.js.map +1 -0
- package/dist/primitives/AlertDialogTrigger.cjs +8 -0
- package/dist/primitives/AlertDialogTrigger.d.ts +2 -0
- package/dist/primitives/AlertDialogTrigger.d.ts.map +1 -0
- package/dist/primitives/AlertDialogTrigger.js +5 -0
- package/dist/primitives/AlertDialogTrigger.js.map +1 -0
- package/dist/primitives/Anchor.cjs +8 -0
- package/dist/primitives/Anchor.d.ts +2 -0
- package/dist/primitives/Anchor.d.ts.map +1 -0
- package/dist/primitives/Anchor.js +5 -0
- package/dist/primitives/Anchor.js.map +1 -0
- package/dist/primitives/HoverCard.cjs +8 -0
- package/dist/primitives/HoverCard.d.ts +2 -0
- package/dist/primitives/HoverCard.d.ts.map +1 -0
- package/dist/primitives/HoverCard.js +5 -0
- package/dist/primitives/HoverCard.js.map +1 -0
- package/dist/primitives/HoverCardContent.cjs +8 -0
- package/dist/primitives/HoverCardContent.d.ts +2 -0
- package/dist/primitives/HoverCardContent.d.ts.map +1 -0
- package/dist/primitives/HoverCardContent.js +5 -0
- package/dist/primitives/HoverCardContent.js.map +1 -0
- package/dist/primitives/HoverCardTrigger.cjs +8 -0
- package/dist/primitives/HoverCardTrigger.d.ts +2 -0
- package/dist/primitives/HoverCardTrigger.d.ts.map +1 -0
- package/dist/primitives/HoverCardTrigger.js +5 -0
- package/dist/primitives/HoverCardTrigger.js.map +1 -0
- package/dist/primitives/RadioGroup.cjs +8 -0
- package/dist/primitives/RadioGroup.d.ts +2 -0
- package/dist/primitives/RadioGroup.d.ts.map +1 -0
- package/dist/primitives/RadioGroup.js +5 -0
- package/dist/primitives/RadioGroup.js.map +1 -0
- package/dist/primitives/RadioGroupItem.cjs +8 -0
- package/dist/primitives/RadioGroupItem.d.ts +2 -0
- package/dist/primitives/RadioGroupItem.d.ts.map +1 -0
- package/dist/primitives/RadioGroupItem.js +5 -0
- package/dist/primitives/RadioGroupItem.js.map +1 -0
- package/dist/primitives/ToggleGroup.cjs +8 -0
- package/dist/primitives/ToggleGroup.d.ts +2 -0
- package/dist/primitives/ToggleGroup.d.ts.map +1 -0
- package/dist/primitives/ToggleGroup.js +5 -0
- package/dist/primitives/ToggleGroup.js.map +1 -0
- package/dist/primitives/ToggleGroupItem.cjs +8 -0
- package/dist/primitives/ToggleGroupItem.d.ts +2 -0
- package/dist/primitives/ToggleGroupItem.d.ts.map +1 -0
- package/dist/primitives/ToggleGroupItem.js +5 -0
- package/dist/primitives/ToggleGroupItem.js.map +1 -0
- package/dist/product/AppHeader.cjs +3 -3
- package/dist/product/AppHeader.js +3 -3
- package/dist/product/CommerceResource.cjs +1 -1
- package/dist/product/CommerceResource.js +1 -1
- package/dist/product/ConfirmDelete.cjs +1 -1
- package/dist/product/ConfirmDelete.js +1 -1
- package/dist/product/EmptyState.cjs +1 -1
- package/dist/product/EmptyState.js +1 -1
- package/dist/product/Field.cjs +8 -3
- package/dist/product/Field.d.ts.map +1 -1
- package/dist/product/Field.js +8 -3
- package/dist/product/Field.js.map +1 -1
- package/dist/product/Filters.cjs +1 -1
- package/dist/product/Filters.js +1 -1
- package/dist/product/OrgSwitcher.cjs +2 -2
- package/dist/product/OrgSwitcher.js +2 -2
- package/dist/product/Pagination.cjs +1 -1
- package/dist/product/Pagination.js +1 -1
- package/dist/product/PrimaryButton.cjs +12 -0
- package/dist/product/PrimaryButton.d.ts.map +1 -1
- package/dist/product/PrimaryButton.js +12 -0
- package/dist/product/PrimaryButton.js.map +1 -1
- package/dist/product/UserMenu.cjs +1 -1
- package/dist/product/UserMenu.js +1 -1
- package/dist/product/social/PostCard.cjs +1 -1
- package/dist/product/social/PostCard.js +1 -1
- package/dist/styles.css +244 -45
- package/dist/theme.css +190 -41
- package/package.json +2 -2
package/dist/gui-config.js
CHANGED
|
@@ -32,50 +32,70 @@ const GEIST = "'Geist', system-ui, -apple-system, sans-serif";
|
|
|
32
32
|
* same face or the same number renders in two different fonts depending on
|
|
33
33
|
* which one a component reached for. */
|
|
34
34
|
const GEIST_MONO = "'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
|
|
35
|
-
/** Type — SIX sizes
|
|
35
|
+
/** Type — the same SIX sizes, now DEFERRED to @hanzo/design rather than restated.
|
|
36
36
|
* $1 label · $2 nav + dense body · $3 base · $4/$5 emphasis · $6 section head ·
|
|
37
|
-
* $7 page title · $8+ display. `$5` collapses onto 15 to retire the 16px
|
|
38
|
-
* (217 stray nodes); `$9` collapses onto 26 so a page title has ONE
|
|
37
|
+
* $7 page title · $8+ display. `$5` still collapses onto 15 to retire the 16px
|
|
38
|
+
* base (217 stray nodes); `$9` still collapses onto 26 so a page title has ONE
|
|
39
|
+
* size — those are decisions, and deferring the VALUE does not undo them.
|
|
40
|
+
*
|
|
41
|
+
* Twelve rungs name a design token whose published value is byte-identical to
|
|
42
|
+
* the number that was here, so this is a zero-change edit; gui-config.test.ts
|
|
43
|
+
* asserts that equality rung by rung, the same way it already does for the
|
|
44
|
+
* three colour rungs, so design cannot move a size without this failing.
|
|
45
|
+
*
|
|
46
|
+
* Four rungs ($12 48 · $13 56 · $15 80 · $16 96) have no counterpart: design's
|
|
47
|
+
* display ramp goes 52/64/84/112. Inventing a token or silently resizing them
|
|
48
|
+
* would both be worse than saying so, so they keep their literal and carry the
|
|
49
|
+
* knob directly.
|
|
50
|
+
*
|
|
51
|
+
* Why a var() at all: gui resolves these in JS and applies them INLINE, and an
|
|
52
|
+
* inline style outranks every stylesheet — so a CSS custom property is the only
|
|
53
|
+
* thing that can reach a `fontSize="$n"` call site, and there are ~1600 of them.
|
|
54
|
+
* design's ramp multiplies by `--type-scale`, so one number retunes the whole
|
|
55
|
+
* product and a person can set it for themselves. The px literal stays as the
|
|
56
|
+
* var()'s fallback, so a host that mounts no token layer still renders. */
|
|
39
57
|
const FONT_SIZE = {
|
|
40
|
-
1:
|
|
41
|
-
2:
|
|
42
|
-
3:
|
|
43
|
-
4:
|
|
44
|
-
5:
|
|
45
|
-
6:
|
|
46
|
-
7:
|
|
47
|
-
8:
|
|
48
|
-
9:
|
|
49
|
-
10:
|
|
50
|
-
11:
|
|
51
|
-
12:
|
|
52
|
-
13:
|
|
53
|
-
14:
|
|
54
|
-
15:
|
|
55
|
-
16:
|
|
56
|
-
true:
|
|
58
|
+
1: `var(--text-xs, 11px)`,
|
|
59
|
+
2: `var(--text-sm, 13px)`,
|
|
60
|
+
3: `var(--text-base, 14px)`,
|
|
61
|
+
4: `var(--text-lg, 15px)`,
|
|
62
|
+
5: `var(--text-lg, 15px)`,
|
|
63
|
+
6: `var(--text-xl, 17px)`,
|
|
64
|
+
7: `var(--text-2xl, 21px)`,
|
|
65
|
+
8: `var(--text-3xl, 26px)`,
|
|
66
|
+
9: `var(--text-3xl, 26px)`,
|
|
67
|
+
10: `var(--text-4xl, 32px)`,
|
|
68
|
+
11: `var(--text-5xl, 40px)`,
|
|
69
|
+
12: `calc(48px * var(--type-scale, 1))`,
|
|
70
|
+
13: `calc(56px * var(--type-scale, 1))`,
|
|
71
|
+
14: `var(--text-7xl, 64px)`,
|
|
72
|
+
15: `calc(80px * var(--type-scale, 1))`,
|
|
73
|
+
16: `calc(96px * var(--type-scale, 1))`,
|
|
74
|
+
true: `var(--text-base, 14px)`,
|
|
57
75
|
};
|
|
58
|
-
/** Leading, paired 1:1 with the sizes above
|
|
59
|
-
*
|
|
60
|
-
*
|
|
76
|
+
/** Leading, paired 1:1 with the sizes above — and NOT deferred, deliberately.
|
|
77
|
+
* design publishes its own `--leading-*` rhythm and exactly ONE of these
|
|
78
|
+
* sixteen matches it, so adopting those would re-flow every line box in the
|
|
79
|
+
* product. These are the values tuned for this ladder; they keep them, and
|
|
80
|
+
* carry `--type-scale` so leading grows with the text instead of clamping it. */
|
|
61
81
|
const LINE_HEIGHT = {
|
|
62
|
-
1:
|
|
63
|
-
2:
|
|
64
|
-
3:
|
|
65
|
-
4:
|
|
66
|
-
5:
|
|
67
|
-
6:
|
|
68
|
-
7:
|
|
69
|
-
8:
|
|
70
|
-
9:
|
|
71
|
-
10:
|
|
72
|
-
11:
|
|
73
|
-
12:
|
|
74
|
-
13:
|
|
75
|
-
14:
|
|
76
|
-
15:
|
|
77
|
-
16:
|
|
78
|
-
true:
|
|
82
|
+
1: `calc(16px * var(--type-scale, 1))`,
|
|
83
|
+
2: `calc(18px * var(--type-scale, 1))`,
|
|
84
|
+
3: `calc(20px * var(--type-scale, 1))`,
|
|
85
|
+
4: `calc(22px * var(--type-scale, 1))`,
|
|
86
|
+
5: `calc(22px * var(--type-scale, 1))`,
|
|
87
|
+
6: `calc(24px * var(--type-scale, 1))`,
|
|
88
|
+
7: `calc(28px * var(--type-scale, 1))`,
|
|
89
|
+
8: `calc(32px * var(--type-scale, 1))`,
|
|
90
|
+
9: `calc(32px * var(--type-scale, 1))`,
|
|
91
|
+
10: `calc(38px * var(--type-scale, 1))`,
|
|
92
|
+
11: `calc(46px * var(--type-scale, 1))`,
|
|
93
|
+
12: `calc(54px * var(--type-scale, 1))`,
|
|
94
|
+
13: `calc(62px * var(--type-scale, 1))`,
|
|
95
|
+
14: `calc(70px * var(--type-scale, 1))`,
|
|
96
|
+
15: `calc(86px * var(--type-scale, 1))`,
|
|
97
|
+
16: `calc(102px * var(--type-scale, 1))`,
|
|
98
|
+
true: `calc(20px * var(--type-scale, 1))`,
|
|
79
99
|
};
|
|
80
100
|
/** Radius — FOUR values, no more. 6 control · 8 input/row · 12 panel · pill.
|
|
81
101
|
* The inherited ladder had thirteen spellings rendering ten values, including
|
|
@@ -223,6 +243,19 @@ const themes = Object.fromEntries(Object.entries(defaultConfig.themes).map(([nam
|
|
|
223
243
|
}));
|
|
224
244
|
// Everything except the theme table, which is the one thing the two configs
|
|
225
245
|
// below disagree about. Stated once so they cannot drift on radius or fonts.
|
|
246
|
+
/**
|
|
247
|
+
* gui types a font size as a NUMBER, and at runtime it is a CSS value.
|
|
248
|
+
*
|
|
249
|
+
* The token table is handed straight through to the style layer — verified by
|
|
250
|
+
* reading the built config, where `config.fonts.body.size['3']` is the string
|
|
251
|
+
* `var(--text-base, 14px)` — which is exactly how the three colour rungs above
|
|
252
|
+
* already carry `var(--border, …)`. Colour is typed loosely enough to allow it;
|
|
253
|
+
* size is not, so upstream's type is narrower than upstream's behaviour.
|
|
254
|
+
*
|
|
255
|
+
* Asserting here rather than widening the tokens keeps the lie in ONE place,
|
|
256
|
+
* next to the reason for it, instead of letting `any` spread through the config.
|
|
257
|
+
*/
|
|
258
|
+
const asSizes = (t) => t;
|
|
226
259
|
const base = {
|
|
227
260
|
...defaultConfig,
|
|
228
261
|
tokens: {
|
|
@@ -232,14 +265,14 @@ const base = {
|
|
|
232
265
|
},
|
|
233
266
|
fonts: {
|
|
234
267
|
...defaultConfig.fonts,
|
|
235
|
-
body: { ...defaultConfig.fonts.body, family: GEIST, size: FONT_SIZE, lineHeight: LINE_HEIGHT },
|
|
236
|
-
heading: { ...defaultConfig.fonts.heading, family: GEIST, size: FONT_SIZE, lineHeight: LINE_HEIGHT },
|
|
268
|
+
body: { ...defaultConfig.fonts.body, family: GEIST, size: asSizes(FONT_SIZE), lineHeight: asSizes(LINE_HEIGHT) },
|
|
269
|
+
heading: { ...defaultConfig.fonts.heading, family: GEIST, size: asSizes(FONT_SIZE), lineHeight: asSizes(LINE_HEIGHT) },
|
|
237
270
|
// `$mono` was NOT defined here, and gui emits NO class for a font token it
|
|
238
271
|
// does not know — no warning, no fallback, a green build and text that is
|
|
239
272
|
// simply not monospace. 260 `fontFamily="$mono"` call sites across 74 files
|
|
240
273
|
// in hanzo.app were dead on that alone. A missing token has to be a defined
|
|
241
274
|
// token, not a silent no-op, so it is defined.
|
|
242
|
-
mono: { ...defaultConfig.fonts.body, family: GEIST_MONO, size: FONT_SIZE, lineHeight: LINE_HEIGHT },
|
|
275
|
+
mono: { ...defaultConfig.fonts.body, family: GEIST_MONO, size: asSizes(FONT_SIZE), lineHeight: asSizes(LINE_HEIGHT) },
|
|
243
276
|
},
|
|
244
277
|
};
|
|
245
278
|
export const config = createGui({ ...base, themes });
|
package/dist/gui-config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gui-config.js","sourceRoot":"","sources":["../src/gui-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEtC,gFAAgF;AAChF,6EAA6E;AAC7E,EAAE;AACF,iFAAiF;AACjF,mFAAmF;AACnF,iFAAiF;AACjF,6DAA6D;AAC7D,EAAE;AACF,0EAA0E;AAC1E,6EAA6E;AAC7E,+EAA+E;AAC/E,2EAA2E;AAC3E,gFAAgF;AAChF,6CAA6C;AAC7C,EAAE;AACF,6EAA6E;AAC7E,+EAA+E;AAC/E,oEAAoE;AACpE,gFAAgF;AAChF,gFAAgF;AAChF,4EAA4E;AAC5E,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,cAAc;AACd,gFAAgF;AAEhF,MAAM,KAAK,GAAG,+CAA+C,CAAA;AAE7D;;;yCAGyC;AACzC,MAAM,UAAU,GAAG,wEAAwE,CAAA;AAE3F
|
|
1
|
+
{"version":3,"file":"gui-config.js","sourceRoot":"","sources":["../src/gui-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM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,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE;KACtH;CACF,CAAA;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,CAAC,CAAA;AAEpD,eAAe,MAAM,CAAA;AAErB;;;;;;;;GAQG;AACH,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAA;AAE9F,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;AAEvF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC;IAClC,GAAG,IAAI;IACP,MAAM,EAAE,MAAM,CAAC,WAAW,CACxB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAC3C;CACnB,CAAC,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DropdownMenuSubContent = exports.DropdownMenuSub = exports.DropdownMenuShortcut = exports.DropdownMenuSeparator = exports.DropdownMenuRadioItem = exports.DropdownMenuRadioGroup = exports.DropdownMenuPortal = exports.DropdownMenuLabel = exports.DropdownMenuItem = exports.DropdownMenuGroup = exports.DropdownMenuContent = exports.DropdownMenuCheckboxItem = exports.DropdownMenu = exports.DialogTrigger = exports.DialogTitle = exports.DialogPortal = exports.DialogOverlay = exports.DialogHeader = exports.DialogFooter = exports.DialogDescription = exports.DialogContent = exports.DialogClose = exports.Dialog = exports.CommandShortcut = exports.CommandSeparator = exports.CommandList = exports.CommandItem = exports.CommandInput = exports.CommandGroup = exports.CommandEmpty = exports.CommandDialog = exports.Command = exports.CollapsibleTrigger = exports.CollapsibleContent = exports.Collapsible = exports.Checkbox = exports.CardTitle = exports.CardMedia = exports.CardHeader = exports.CardFooter = exports.CardDescription = exports.CardContent = exports.CardAction = exports.Card = exports.Button = exports.Badge = exports.AvatarImage = exports.AvatarFallback = exports.Avatar = exports.AspectRatio = void 0;
|
|
4
4
|
exports.TabsTrigger = exports.TabsList = exports.TabsContent = exports.Tabs = exports.Switch = exports.Strong = exports.Span = exports.Spacer = exports.Slider = exports.SizableText = exports.Separator = exports.Section = exports.ScrollView = exports.Paragraph = exports.SelectValue = exports.SelectTrigger = exports.SelectSeparator = exports.SelectScrollUpButton = exports.SelectScrollDownButton = exports.SelectLabel = exports.SelectItem = exports.SelectGroup = exports.SelectContent = exports.Select = exports.ScrollBar = exports.ScrollArea = exports.ResizablePanelGroup = exports.ResizablePanel = exports.ResizableHandle = exports.Progress = exports.PopoverTrigger = exports.PopoverContent = exports.PopoverClose = exports.PopoverAnchor = exports.Popover = exports.Label = exports.Input = exports.Image = exports.Heading = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.Grid = exports.Glass = exports.Em = exports.DropdownMenuTrigger = exports.DropdownMenuSubTrigger = void 0;
|
|
5
|
-
exports.
|
|
5
|
+
exports.ToggleGroup = exports.RadioGroupItem = exports.RadioGroup = exports.HoverCardTrigger = exports.HoverCardContent = exports.HoverCard = exports.ContextMenuTrigger = exports.ContextMenuSubTrigger = exports.ContextMenuSubContent = exports.ContextMenuSub = exports.ContextMenuShortcut = exports.ContextMenuSeparator = exports.ContextMenuRadioItem = exports.ContextMenuRadioGroup = exports.ContextMenuPortal = exports.ContextMenuLabel = exports.ContextMenuItem = exports.ContextMenuGroup = exports.ContextMenuContent = exports.ContextMenuCheckboxItem = exports.ContextMenu = exports.AlertDialogTrigger = exports.AlertDialogTitle = exports.AlertDialogPortal = exports.AlertDialogOverlay = exports.AlertDialogHeader = exports.AlertDialogFooter = exports.AlertDialogDescription = exports.AlertDialogContent = exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialog = exports.AccordionTrigger = exports.AccordionItem = exports.AccordionContent = exports.Accordion = exports.toast = exports.buttonVariants = exports.badgeVariants = exports.ZStack = exports.YStack = exports.XStack = exports.View = exports.TooltipTrigger = exports.TooltipProvider = exports.TooltipContent = exports.Tooltip = exports.Text = exports.Toaster = exports.Textarea = void 0;
|
|
6
|
+
exports.cn = exports.Hanzo = exports.Anchor = exports.ToggleGroupItem = void 0;
|
|
6
7
|
// @hanzo/ui — the one Hanzo component library, on @hanzo/gui + @hanzo/design.
|
|
7
8
|
//
|
|
8
9
|
// ONE substrate: every component renders through @hanzo/gui primitives, so the
|
|
@@ -153,6 +154,61 @@ Object.defineProperty(exports, "ZStack", { enumerable: true, get: function () {
|
|
|
153
154
|
Object.defineProperty(exports, "badgeVariants", { enumerable: true, get: function () { return gui_1.badgeVariants; } });
|
|
154
155
|
Object.defineProperty(exports, "buttonVariants", { enumerable: true, get: function () { return gui_1.buttonVariants; } });
|
|
155
156
|
Object.defineProperty(exports, "toast", { enumerable: true, get: function () { return gui_1.toast; } });
|
|
157
|
+
Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return gui_1.Accordion; } });
|
|
158
|
+
Object.defineProperty(exports, "AccordionContent", { enumerable: true, get: function () { return gui_1.AccordionContent; } });
|
|
159
|
+
Object.defineProperty(exports, "AccordionItem", { enumerable: true, get: function () { return gui_1.AccordionItem; } });
|
|
160
|
+
Object.defineProperty(exports, "AccordionTrigger", { enumerable: true, get: function () { return gui_1.AccordionTrigger; } });
|
|
161
|
+
Object.defineProperty(exports, "AlertDialog", { enumerable: true, get: function () { return gui_1.AlertDialog; } });
|
|
162
|
+
Object.defineProperty(exports, "AlertDialogAction", { enumerable: true, get: function () { return gui_1.AlertDialogAction; } });
|
|
163
|
+
Object.defineProperty(exports, "AlertDialogCancel", { enumerable: true, get: function () { return gui_1.AlertDialogCancel; } });
|
|
164
|
+
Object.defineProperty(exports, "AlertDialogContent", { enumerable: true, get: function () { return gui_1.AlertDialogContent; } });
|
|
165
|
+
Object.defineProperty(exports, "AlertDialogDescription", { enumerable: true, get: function () { return gui_1.AlertDialogDescription; } });
|
|
166
|
+
Object.defineProperty(exports, "AlertDialogFooter", { enumerable: true, get: function () { return gui_1.AlertDialogFooter; } });
|
|
167
|
+
Object.defineProperty(exports, "AlertDialogHeader", { enumerable: true, get: function () { return gui_1.AlertDialogHeader; } });
|
|
168
|
+
Object.defineProperty(exports, "AlertDialogOverlay", { enumerable: true, get: function () { return gui_1.AlertDialogOverlay; } });
|
|
169
|
+
Object.defineProperty(exports, "AlertDialogPortal", { enumerable: true, get: function () { return gui_1.AlertDialogPortal; } });
|
|
170
|
+
Object.defineProperty(exports, "AlertDialogTitle", { enumerable: true, get: function () { return gui_1.AlertDialogTitle; } });
|
|
171
|
+
Object.defineProperty(exports, "AlertDialogTrigger", { enumerable: true, get: function () { return gui_1.AlertDialogTrigger; } });
|
|
172
|
+
Object.defineProperty(exports, "ContextMenu", { enumerable: true, get: function () { return gui_1.ContextMenu; } });
|
|
173
|
+
Object.defineProperty(exports, "ContextMenuCheckboxItem", { enumerable: true, get: function () { return gui_1.ContextMenuCheckboxItem; } });
|
|
174
|
+
Object.defineProperty(exports, "ContextMenuContent", { enumerable: true, get: function () { return gui_1.ContextMenuContent; } });
|
|
175
|
+
Object.defineProperty(exports, "ContextMenuGroup", { enumerable: true, get: function () { return gui_1.ContextMenuGroup; } });
|
|
176
|
+
Object.defineProperty(exports, "ContextMenuItem", { enumerable: true, get: function () { return gui_1.ContextMenuItem; } });
|
|
177
|
+
Object.defineProperty(exports, "ContextMenuLabel", { enumerable: true, get: function () { return gui_1.ContextMenuLabel; } });
|
|
178
|
+
Object.defineProperty(exports, "ContextMenuPortal", { enumerable: true, get: function () { return gui_1.ContextMenuPortal; } });
|
|
179
|
+
Object.defineProperty(exports, "ContextMenuRadioGroup", { enumerable: true, get: function () { return gui_1.ContextMenuRadioGroup; } });
|
|
180
|
+
Object.defineProperty(exports, "ContextMenuRadioItem", { enumerable: true, get: function () { return gui_1.ContextMenuRadioItem; } });
|
|
181
|
+
Object.defineProperty(exports, "ContextMenuSeparator", { enumerable: true, get: function () { return gui_1.ContextMenuSeparator; } });
|
|
182
|
+
Object.defineProperty(exports, "ContextMenuShortcut", { enumerable: true, get: function () { return gui_1.ContextMenuShortcut; } });
|
|
183
|
+
Object.defineProperty(exports, "ContextMenuSub", { enumerable: true, get: function () { return gui_1.ContextMenuSub; } });
|
|
184
|
+
Object.defineProperty(exports, "ContextMenuSubContent", { enumerable: true, get: function () { return gui_1.ContextMenuSubContent; } });
|
|
185
|
+
Object.defineProperty(exports, "ContextMenuSubTrigger", { enumerable: true, get: function () { return gui_1.ContextMenuSubTrigger; } });
|
|
186
|
+
Object.defineProperty(exports, "ContextMenuTrigger", { enumerable: true, get: function () { return gui_1.ContextMenuTrigger; } });
|
|
187
|
+
Object.defineProperty(exports, "HoverCard", { enumerable: true, get: function () { return gui_1.HoverCard; } });
|
|
188
|
+
Object.defineProperty(exports, "HoverCardContent", { enumerable: true, get: function () { return gui_1.HoverCardContent; } });
|
|
189
|
+
Object.defineProperty(exports, "HoverCardTrigger", { enumerable: true, get: function () { return gui_1.HoverCardTrigger; } });
|
|
190
|
+
Object.defineProperty(exports, "RadioGroup", { enumerable: true, get: function () { return gui_1.RadioGroup; } });
|
|
191
|
+
Object.defineProperty(exports, "RadioGroupItem", { enumerable: true, get: function () { return gui_1.RadioGroupItem; } });
|
|
192
|
+
Object.defineProperty(exports, "ToggleGroup", { enumerable: true, get: function () { return gui_1.ToggleGroup; } });
|
|
193
|
+
Object.defineProperty(exports, "ToggleGroupItem", { enumerable: true, get: function () { return gui_1.ToggleGroupItem; } });
|
|
194
|
+
// LAYOUT — the stacks and the type scale reach consumers through the component
|
|
195
|
+
// barrel above, which already names XStack/YStack/ZStack, the type scale
|
|
196
|
+
// (SizableText, Paragraph, Heading, H1-H6, Span, Strong, Em) and Image, Spacer,
|
|
197
|
+
// ScrollView, View and Text. This block adds only what that one lacks.
|
|
198
|
+
//
|
|
199
|
+
// It used to repeat all twenty, and TypeScript rejects a name exported twice from
|
|
200
|
+
// one module: `error TS2300: Duplicate identifier 'Em'` and nineteen more, so
|
|
201
|
+
// `tsc -p tsconfig.build.json` failed and @hanzo/ui could not build AT ALL. That
|
|
202
|
+
// took the whole cicd lane down with it — the test gate runs
|
|
203
|
+
// `pnpm --filter @hanzo/ui... build` first, so no test ever ran and ui.hanzo.ai
|
|
204
|
+
// could not ship.
|
|
205
|
+
//
|
|
206
|
+
// The concern the duplication came from is real and still holds: a name must be
|
|
207
|
+
// on the ROOT barrel to reach a consumer — 8.0.65 added these to the backend only
|
|
208
|
+
// and the dist still had no XStack, a green release that changed nothing. The fix
|
|
209
|
+
// for that is to name it once here, not twice.
|
|
210
|
+
var gui_2 = require("./backends/gui/index.cjs");
|
|
211
|
+
Object.defineProperty(exports, "Anchor", { enumerable: true, get: function () { return gui_2.Anchor; } });
|
|
156
212
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
157
213
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
158
214
|
// no gui.config.ts, no CSS import, no generator script.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardMedia, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Em, Glass, Grid, H1, H2, H3, H4, H5, H6, Heading, Image, Input, Label, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Paragraph, ScrollView, Section, Separator, SizableText, Slider, Spacer, Span, Strong, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Text, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, View, XStack, YStack, ZStack, badgeVariants, buttonVariants, toast, } from './backends/gui/index.js';
|
|
2
|
-
export type { AspectRatioProps, BadgeProps, BadgeVariant, ButtonProps, ButtonSize, ButtonVariant, CommandFilter, CommandProps, DropdownMenuProps, InputProps, ResizableHandleProps, ResizablePanelGroupProps, ResizablePanelProps, } from './backends/gui/index.js';
|
|
1
|
+
export { AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardMedia, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Em, Glass, Grid, H1, H2, H3, H4, H5, H6, Heading, Image, Input, Label, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Paragraph, ScrollView, Section, Separator, SizableText, Slider, Spacer, Span, Strong, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Text, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, View, XStack, YStack, ZStack, badgeVariants, buttonVariants, toast, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, HoverCard, HoverCardContent, HoverCardTrigger, RadioGroup, RadioGroupItem, ToggleGroup, ToggleGroupItem, } from './backends/gui/index.js';
|
|
2
|
+
export type { AspectRatioProps, BadgeProps, BadgeVariant, ButtonProps, ButtonSize, ButtonVariant, CommandFilter, CommandProps, DropdownMenuProps, InputProps, ResizableHandleProps, ResizablePanelGroupProps, ResizablePanelProps, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AlertDialogContentProps, AlertDialogOverlayProps, AlertDialogProps, AlertDialogSectionProps, ContextMenuContentProps, ContextMenuItemProps, ContextMenuSubContentProps, HoverCardContentProps, HoverCardProps, HoverCardTriggerProps, RadioGroupItemProps, RadioGroupProps, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupSize, ToggleGroupVariant, } from './backends/gui/index.js';
|
|
3
|
+
export { Anchor, type GuiElement, } from './backends/gui/index.js';
|
|
3
4
|
export { Hanzo, type HanzoProps } from './root.js';
|
|
4
5
|
export { cn } from './core/cn.js';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmCA,OAAO,EACL,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EACjF,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EACpF,WAAW,EACX,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAC1F,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,EACjF,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EACxF,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,wBAAwB,EAChF,mBAAmB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,iBAAiB,EAC3E,kBAAkB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,qBAAqB,EACxF,oBAAoB,EAAE,eAAe,EAAE,sBAAsB,EAAE,sBAAsB,EACrF,mBAAmB,EAAE,EAAE,EAAE,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E,WAAW,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,GAAG,MAAM,gBAAgB,CAAA;AAE9rB,YAAY,EACV,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAClF,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,oBAAoB,EAChF,wBAAwB,EAAE,mBAAmB,EAC7C,qBAAqB,EAAE,kBAAkB,EAAE,cAAc,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,cAAc,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAE,gBAAgB,EACpY,eAAe,EAAE,kBAAkB,GACpC,MAAM,gBAAgB,CAAA;AAkBvB,OAAO,EACL,MAAM,EACN,KAAK,UAAU,GAChB,MAAM,gBAAgB,CAAA;AAKvB,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,QAAQ,CAAA;AAG/C,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,24 @@
|
|
|
33
33
|
// absent here, which means a consumer could not import them AT ALL: the component
|
|
34
34
|
// existed, the docs named it, and `import { Grid } from '@hanzo/ui'` was undefined.
|
|
35
35
|
// `src/__tests__/barrel.test.ts` now fails when the two disagree.
|
|
36
|
-
export { AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardMedia, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Em, Glass, Grid, H1, H2, H3, H4, H5, H6, Heading, Image, Input, Label, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Paragraph, ScrollView, Section, Separator, SizableText, Slider, Spacer, Span, Strong, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Text, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, View, XStack, YStack, ZStack, badgeVariants, buttonVariants, toast, } from './backends/gui/index.js';
|
|
36
|
+
export { AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardMedia, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Em, Glass, Grid, H1, H2, H3, H4, H5, H6, Heading, Image, Input, Label, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Paragraph, ScrollView, Section, Separator, SizableText, Slider, Spacer, Span, Strong, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Text, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, View, XStack, YStack, ZStack, badgeVariants, buttonVariants, toast, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, HoverCard, HoverCardContent, HoverCardTrigger, RadioGroup, RadioGroupItem, ToggleGroup, ToggleGroupItem, } from './backends/gui/index.js';
|
|
37
|
+
// LAYOUT — the stacks and the type scale reach consumers through the component
|
|
38
|
+
// barrel above, which already names XStack/YStack/ZStack, the type scale
|
|
39
|
+
// (SizableText, Paragraph, Heading, H1-H6, Span, Strong, Em) and Image, Spacer,
|
|
40
|
+
// ScrollView, View and Text. This block adds only what that one lacks.
|
|
41
|
+
//
|
|
42
|
+
// It used to repeat all twenty, and TypeScript rejects a name exported twice from
|
|
43
|
+
// one module: `error TS2300: Duplicate identifier 'Em'` and nineteen more, so
|
|
44
|
+
// `tsc -p tsconfig.build.json` failed and @hanzo/ui could not build AT ALL. That
|
|
45
|
+
// took the whole cicd lane down with it — the test gate runs
|
|
46
|
+
// `pnpm --filter @hanzo/ui... build` first, so no test ever ran and ui.hanzo.ai
|
|
47
|
+
// could not ship.
|
|
48
|
+
//
|
|
49
|
+
// The concern the duplication came from is real and still holds: a name must be
|
|
50
|
+
// on the ROOT barrel to reach a consumer — 8.0.65 added these to the backend only
|
|
51
|
+
// and the dist still had no XStack, a green release that changed nothing. The fix
|
|
52
|
+
// for that is to name it once here, not twice.
|
|
53
|
+
export { Anchor, } from './backends/gui/index.js';
|
|
37
54
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
38
55
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
39
56
|
// no gui.config.ts, no CSS import, no generator script.
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,EAAE;AACF,+EAA+E;AAC/E,kFAAkF;AAClF,4EAA4E;AAC5E,+EAA+E;AAC/E,EAAE;AACF,qGAAqG;AACrG,yGAAyG;AACzG,6GAA6G;AAC7G,4GAA4G;AAC5G,4GAA4G;AAC5G,mHAAmH;AACnH,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,gEAAgE;AAChE,yBAAyB;AACzB,EAAE;AACF,6EAA6E;AAC7E,mFAAmF;AACnF,mFAAmF;AACnF,EAAE;AACF,+EAA+E;AAC/E,mFAAmF;AACnF,wBAAwB;AACxB,EAAE;AACF,mFAAmF;AACnF,EAAE;AACF,oFAAoF;AACpF,mFAAmF;AACnF,mFAAmF;AACnF,kFAAkF;AAClF,oFAAoF;AACpF,kEAAkE;AAClE,O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AAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,GAAG,MAAM,gBAAgB,CAAA;AAU9rB,+EAA+E;AAC/E,yEAAyE;AACzE,gFAAgF;AAChF,uEAAuE;AACvE,EAAE;AACF,kFAAkF;AAClF,8EAA8E;AAC9E,iFAAiF;AACjF,6DAA6D;AAC7D,gFAAgF;AAChF,kBAAkB;AAClB,EAAE;AACF,gFAAgF;AAChF,kFAAkF;AAClF,kFAAkF;AAClF,+CAA+C;AAC/C,OAAO,EACL,MAAM,GAEP,MAAM,gBAAgB,CAAA;AAEvB,2EAA2E;AAC3E,gFAAgF;AAChF,wDAAwD;AACxD,OAAO,EAAE,KAAK,EAAmB,MAAM,QAAQ,CAAA;AAE/C,4DAA4D;AAC5D,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAA;AAE9B,iFAAiF;AACjF,6EAA6E;AAC7E,WAAW"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Accordion = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var accordion_1 = require("../backends/gui/accordion.cjs");
|
|
8
|
+
Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return accordion_1.Accordion; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../src/primitives/Accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { Accordion } from '../backends/gui/accordion.js';
|
|
5
|
+
//# sourceMappingURL=Accordion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../src/primitives/Accordion.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccordionContent = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var accordion_1 = require("../backends/gui/accordion.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AccordionContent", { enumerable: true, get: function () { return accordion_1.AccordionContent; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionContent.d.ts","sourceRoot":"","sources":["../../src/primitives/AccordionContent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { AccordionContent } from '../backends/gui/accordion.js';
|
|
5
|
+
//# sourceMappingURL=AccordionContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionContent.js","sourceRoot":"","sources":["../../src/primitives/AccordionContent.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccordionItem = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var accordion_1 = require("../backends/gui/accordion.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AccordionItem", { enumerable: true, get: function () { return accordion_1.AccordionItem; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../src/primitives/AccordionItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { AccordionItem } from '../backends/gui/accordion.js';
|
|
5
|
+
//# sourceMappingURL=AccordionItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../src/primitives/AccordionItem.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccordionTrigger = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var accordion_1 = require("../backends/gui/accordion.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AccordionTrigger", { enumerable: true, get: function () { return accordion_1.AccordionTrigger; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionTrigger.d.ts","sourceRoot":"","sources":["../../src/primitives/AccordionTrigger.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { AccordionTrigger } from '../backends/gui/accordion.js';
|
|
5
|
+
//# sourceMappingURL=AccordionTrigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionTrigger.js","sourceRoot":"","sources":["../../src/primitives/AccordionTrigger.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlertDialog = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var alert_dialog_1 = require("../backends/gui/alert-dialog.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AlertDialog", { enumerable: true, get: function () { return alert_dialog_1.AlertDialog; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialog.d.ts","sourceRoot":"","sources":["../../src/primitives/AlertDialog.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { AlertDialog } from '../backends/gui/alert-dialog.js';
|
|
5
|
+
//# sourceMappingURL=AlertDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialog.js","sourceRoot":"","sources":["../../src/primitives/AlertDialog.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlertDialogAction = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var alert_dialog_1 = require("../backends/gui/alert-dialog.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AlertDialogAction", { enumerable: true, get: function () { return alert_dialog_1.AlertDialogAction; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogAction.d.ts","sourceRoot":"","sources":["../../src/primitives/AlertDialogAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { AlertDialogAction } from '../backends/gui/alert-dialog.js';
|
|
5
|
+
//# sourceMappingURL=AlertDialogAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogAction.js","sourceRoot":"","sources":["../../src/primitives/AlertDialogAction.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlertDialogCancel = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var alert_dialog_1 = require("../backends/gui/alert-dialog.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AlertDialogCancel", { enumerable: true, get: function () { return alert_dialog_1.AlertDialogCancel; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogCancel.d.ts","sourceRoot":"","sources":["../../src/primitives/AlertDialogCancel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { AlertDialogCancel } from '../backends/gui/alert-dialog.js';
|
|
5
|
+
//# sourceMappingURL=AlertDialogCancel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogCancel.js","sourceRoot":"","sources":["../../src/primitives/AlertDialogCancel.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlertDialogContent = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var alert_dialog_1 = require("../backends/gui/alert-dialog.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AlertDialogContent", { enumerable: true, get: function () { return alert_dialog_1.AlertDialogContent; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogContent.d.ts","sourceRoot":"","sources":["../../src/primitives/AlertDialogContent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
2
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
3
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
4
|
+
export { AlertDialogContent } from '../backends/gui/alert-dialog.js';
|
|
5
|
+
//# sourceMappingURL=AlertDialogContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogContent.js","sourceRoot":"","sources":["../../src/primitives/AlertDialogContent.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,kEAAkE;AAClE,qEAAqE;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlertDialogDescription = void 0;
|
|
4
|
+
// GENERATED by scripts/gen-primitives.mjs — do not edit. Per-member entrypoint
|
|
5
|
+
// for hosts that modularize `@hanzo/ui` imports. Source of truth:
|
|
6
|
+
// src/backends/gui/index.ts. Re-run: node scripts/gen-primitives.mjs
|
|
7
|
+
var alert_dialog_1 = require("../backends/gui/alert-dialog.cjs");
|
|
8
|
+
Object.defineProperty(exports, "AlertDialogDescription", { enumerable: true, get: function () { return alert_dialog_1.AlertDialogDescription; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertDialogDescription.d.ts","sourceRoot":"","sources":["../../src/primitives/AlertDialogDescription.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA"}
|