@hanzo/ui 8.0.65 → 8.0.68
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/input.cjs +7 -1
- package/dist/backends/gui/input.d.ts.map +1 -1
- package/dist/backends/gui/input.js +7 -1
- package/dist/backends/gui/input.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/select.cjs +6 -1
- package/dist/backends/gui/select.d.ts.map +1 -1
- package/dist/backends/gui/select.js +6 -1
- package/dist/backends/gui/select.js.map +1 -1
- 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/index.cjs +91 -4
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -3
- 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/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/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/styles.css +167 -1
- package/dist/theme.css +117 -0
- package/package.json +1 -1
package/dist/glass.css
CHANGED
|
@@ -195,3 +195,120 @@
|
|
|
195
195
|
[data-slot="rows"] > * + * {
|
|
196
196
|
border-top: 1px solid var(--borderColor, var(--border));
|
|
197
197
|
}
|
|
198
|
+
|
|
199
|
+
/* ── The composer prism — the ONE ring on any Hanzo surface ──────────────────
|
|
200
|
+
The composer is where you talk to Hanzo, so it is the thing that should look
|
|
201
|
+
alive, and it earns that with MOTION and LIGHT rather than hue. Every other
|
|
202
|
+
pixel of chrome stays monochrome; there is no second exemption, and the two
|
|
203
|
+
attempts to grant one (a violet ring, then a full-wheel rainbow) each made
|
|
204
|
+
the surface wearing it the only colour in the product.
|
|
205
|
+
|
|
206
|
+
THIS LIVES HERE BECAUSE IT WAS DECLARED TWICE AND DRIFTED. hanzo.chat's
|
|
207
|
+
client/src/style.css and hanzo.app's assets/globals.css each carried a copy,
|
|
208
|
+
each calling itself "the ONE prism on any Hanzo surface". chat fixed the ring
|
|
209
|
+
to be a rim; hanzo.app's copy kept drawing a filled DISC and never got the
|
|
210
|
+
fix — invisible until a glass panel sat in it, at which point the whole
|
|
211
|
+
spectrum washed up through the composer's interior. chat also quieted the
|
|
212
|
+
halo (0.5 with a pulse -> 0.22, no pulse); hanzo.app kept the loud one. Two
|
|
213
|
+
copies of one look is how that happens, and neither app could see the other
|
|
214
|
+
was wrong.
|
|
215
|
+
|
|
216
|
+
Structure: `.hz-composer` is a 1.5px-padded host; its direct child is the
|
|
217
|
+
panel. ::before is the ring, ::after the halo. Both are MASKED to exclude the
|
|
218
|
+
panel's footprint, so the ring is a rim BY CONSTRUCTION and the panel is free
|
|
219
|
+
to be any material — opaque, glass, anything. The stops are declared once and
|
|
220
|
+
read by both, because duplicated they drift on the first palette change and
|
|
221
|
+
nobody notices which half moved. */
|
|
222
|
+
|
|
223
|
+
/* `@property` is what lets a conic angle animate. Where it is unsupported the
|
|
224
|
+
ring is simply static, which is a fine floor. */
|
|
225
|
+
@property --hz-angle {
|
|
226
|
+
syntax: "<angle>";
|
|
227
|
+
initial-value: 0deg;
|
|
228
|
+
inherits: false;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
:root {
|
|
232
|
+
/* One sweep, closing on the stop it opened with — a conic gradient whose
|
|
233
|
+
first and last stop differ shows a hard seam. */
|
|
234
|
+
--hz-spectrum: rgba(8, 148, 255, 0.45), rgba(201, 89, 221, 0.48),
|
|
235
|
+
rgba(255, 46, 84, 0.4), rgba(255, 144, 4, 0.4), rgba(8, 148, 255, 0.45);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@keyframes hzComposerSpin {
|
|
239
|
+
to {
|
|
240
|
+
--hz-angle: 360deg;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.hz-composer {
|
|
245
|
+
position: relative;
|
|
246
|
+
isolation: isolate;
|
|
247
|
+
padding: 1.5px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* The ring DRAWS A RING. `padding` is its thickness; the two-layer mask keeps
|
|
251
|
+
paint outside it — `content-box` is the hole, the full box the plate, and
|
|
252
|
+
`exclude` leaves the lip. */
|
|
253
|
+
.hz-composer::before {
|
|
254
|
+
content: "";
|
|
255
|
+
position: absolute;
|
|
256
|
+
inset: 0;
|
|
257
|
+
padding: 1.5px;
|
|
258
|
+
border-radius: inherit;
|
|
259
|
+
background: conic-gradient(from var(--hz-angle), var(--hz-spectrum));
|
|
260
|
+
animation: hzComposerSpin 10s linear infinite;
|
|
261
|
+
-webkit-mask:
|
|
262
|
+
linear-gradient(#000 0 0) content-box,
|
|
263
|
+
linear-gradient(#000 0 0);
|
|
264
|
+
mask:
|
|
265
|
+
linear-gradient(#000 0 0) content-box,
|
|
266
|
+
linear-gradient(#000 0 0);
|
|
267
|
+
mask-composite: exclude;
|
|
268
|
+
/* After the standard shorthand: WebKit aliases `mask` onto `-webkit-mask`, so
|
|
269
|
+
declaring this first lets the shorthand reset it to `source-over` — the
|
|
270
|
+
filled disc again, on exactly the browsers too old to have `mask-composite`
|
|
271
|
+
at all. */
|
|
272
|
+
-webkit-mask-composite: xor;
|
|
273
|
+
z-index: 0;
|
|
274
|
+
pointer-events: none;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* The halo lights the air AROUND the box and nothing behind it. */
|
|
278
|
+
.hz-composer::after {
|
|
279
|
+
content: "";
|
|
280
|
+
position: absolute;
|
|
281
|
+
inset: -6px;
|
|
282
|
+
padding: 6px;
|
|
283
|
+
/* Concentric with the box, NOT `inherit`: the halo lives 6px outside, so an
|
|
284
|
+
inherited corner on this larger box curves too tight and reads as a second,
|
|
285
|
+
mismatched rounding just outside the panel. */
|
|
286
|
+
border-radius: calc(1.5rem + 6px);
|
|
287
|
+
background: conic-gradient(from var(--hz-angle), var(--hz-spectrum));
|
|
288
|
+
filter: blur(16px);
|
|
289
|
+
opacity: 0.22;
|
|
290
|
+
animation: hzComposerSpin 10s linear infinite;
|
|
291
|
+
-webkit-mask:
|
|
292
|
+
linear-gradient(#000 0 0) content-box,
|
|
293
|
+
linear-gradient(#000 0 0);
|
|
294
|
+
mask:
|
|
295
|
+
linear-gradient(#000 0 0) content-box,
|
|
296
|
+
linear-gradient(#000 0 0);
|
|
297
|
+
mask-composite: exclude;
|
|
298
|
+
-webkit-mask-composite: xor;
|
|
299
|
+
z-index: -1;
|
|
300
|
+
pointer-events: none;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/* The panel sits above ring and halo. */
|
|
304
|
+
.hz-composer > * {
|
|
305
|
+
position: relative;
|
|
306
|
+
z-index: 1;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@media (prefers-reduced-motion: reduce) {
|
|
310
|
+
.hz-composer::before,
|
|
311
|
+
.hz-composer::after {
|
|
312
|
+
animation: none;
|
|
313
|
+
}
|
|
314
|
+
}
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
'use client';"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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
|
+
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.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;
|
|
5
7
|
// @hanzo/ui — the one Hanzo component library, on @hanzo/gui + @hanzo/design.
|
|
6
8
|
//
|
|
7
9
|
// ONE substrate: every component renders through @hanzo/gui primitives, so the
|
|
@@ -29,8 +31,14 @@ exports.cn = exports.Hanzo = exports.toast = exports.buttonVariants = exports.ba
|
|
|
29
31
|
// cannot prove which members are unused through a star, so importing Button pulled
|
|
30
32
|
// the whole surface in.
|
|
31
33
|
//
|
|
32
|
-
// ./backends/gui
|
|
33
|
-
//
|
|
34
|
+
// ./backends/gui declares these as explicit named blocks and this list mirrors it.
|
|
35
|
+
//
|
|
36
|
+
// It is maintained BY HAND — `scripts/gen-primitives.mjs` writes `src/primitives/`,
|
|
37
|
+
// not this file, so nothing regenerates it and nothing used to notice when the two
|
|
38
|
+
// drifted. Glass, Grid, Section and CardMedia were all exported by the backend and
|
|
39
|
+
// absent here, which means a consumer could not import them AT ALL: the component
|
|
40
|
+
// existed, the docs named it, and `import { Grid } from '@hanzo/ui'` was undefined.
|
|
41
|
+
// `src/__tests__/barrel.test.ts` now fails when the two disagree.
|
|
34
42
|
var gui_1 = require("./backends/gui/index.cjs");
|
|
35
43
|
Object.defineProperty(exports, "AspectRatio", { enumerable: true, get: function () { return gui_1.AspectRatio; } });
|
|
36
44
|
Object.defineProperty(exports, "Avatar", { enumerable: true, get: function () { return gui_1.Avatar; } });
|
|
@@ -44,6 +52,7 @@ Object.defineProperty(exports, "CardContent", { enumerable: true, get: function
|
|
|
44
52
|
Object.defineProperty(exports, "CardDescription", { enumerable: true, get: function () { return gui_1.CardDescription; } });
|
|
45
53
|
Object.defineProperty(exports, "CardFooter", { enumerable: true, get: function () { return gui_1.CardFooter; } });
|
|
46
54
|
Object.defineProperty(exports, "CardHeader", { enumerable: true, get: function () { return gui_1.CardHeader; } });
|
|
55
|
+
Object.defineProperty(exports, "CardMedia", { enumerable: true, get: function () { return gui_1.CardMedia; } });
|
|
47
56
|
Object.defineProperty(exports, "CardTitle", { enumerable: true, get: function () { return gui_1.CardTitle; } });
|
|
48
57
|
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return gui_1.Checkbox; } });
|
|
49
58
|
Object.defineProperty(exports, "Collapsible", { enumerable: true, get: function () { return gui_1.Collapsible; } });
|
|
@@ -83,6 +92,17 @@ Object.defineProperty(exports, "DropdownMenuSub", { enumerable: true, get: funct
|
|
|
83
92
|
Object.defineProperty(exports, "DropdownMenuSubContent", { enumerable: true, get: function () { return gui_1.DropdownMenuSubContent; } });
|
|
84
93
|
Object.defineProperty(exports, "DropdownMenuSubTrigger", { enumerable: true, get: function () { return gui_1.DropdownMenuSubTrigger; } });
|
|
85
94
|
Object.defineProperty(exports, "DropdownMenuTrigger", { enumerable: true, get: function () { return gui_1.DropdownMenuTrigger; } });
|
|
95
|
+
Object.defineProperty(exports, "Em", { enumerable: true, get: function () { return gui_1.Em; } });
|
|
96
|
+
Object.defineProperty(exports, "Glass", { enumerable: true, get: function () { return gui_1.Glass; } });
|
|
97
|
+
Object.defineProperty(exports, "Grid", { enumerable: true, get: function () { return gui_1.Grid; } });
|
|
98
|
+
Object.defineProperty(exports, "H1", { enumerable: true, get: function () { return gui_1.H1; } });
|
|
99
|
+
Object.defineProperty(exports, "H2", { enumerable: true, get: function () { return gui_1.H2; } });
|
|
100
|
+
Object.defineProperty(exports, "H3", { enumerable: true, get: function () { return gui_1.H3; } });
|
|
101
|
+
Object.defineProperty(exports, "H4", { enumerable: true, get: function () { return gui_1.H4; } });
|
|
102
|
+
Object.defineProperty(exports, "H5", { enumerable: true, get: function () { return gui_1.H5; } });
|
|
103
|
+
Object.defineProperty(exports, "H6", { enumerable: true, get: function () { return gui_1.H6; } });
|
|
104
|
+
Object.defineProperty(exports, "Heading", { enumerable: true, get: function () { return gui_1.Heading; } });
|
|
105
|
+
Object.defineProperty(exports, "Image", { enumerable: true, get: function () { return gui_1.Image; } });
|
|
86
106
|
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return gui_1.Input; } });
|
|
87
107
|
Object.defineProperty(exports, "Label", { enumerable: true, get: function () { return gui_1.Label; } });
|
|
88
108
|
Object.defineProperty(exports, "Popover", { enumerable: true, get: function () { return gui_1.Popover; } });
|
|
@@ -106,8 +126,15 @@ Object.defineProperty(exports, "SelectScrollUpButton", { enumerable: true, get:
|
|
|
106
126
|
Object.defineProperty(exports, "SelectSeparator", { enumerable: true, get: function () { return gui_1.SelectSeparator; } });
|
|
107
127
|
Object.defineProperty(exports, "SelectTrigger", { enumerable: true, get: function () { return gui_1.SelectTrigger; } });
|
|
108
128
|
Object.defineProperty(exports, "SelectValue", { enumerable: true, get: function () { return gui_1.SelectValue; } });
|
|
129
|
+
Object.defineProperty(exports, "Paragraph", { enumerable: true, get: function () { return gui_1.Paragraph; } });
|
|
130
|
+
Object.defineProperty(exports, "ScrollView", { enumerable: true, get: function () { return gui_1.ScrollView; } });
|
|
131
|
+
Object.defineProperty(exports, "Section", { enumerable: true, get: function () { return gui_1.Section; } });
|
|
109
132
|
Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return gui_1.Separator; } });
|
|
133
|
+
Object.defineProperty(exports, "SizableText", { enumerable: true, get: function () { return gui_1.SizableText; } });
|
|
110
134
|
Object.defineProperty(exports, "Slider", { enumerable: true, get: function () { return gui_1.Slider; } });
|
|
135
|
+
Object.defineProperty(exports, "Spacer", { enumerable: true, get: function () { return gui_1.Spacer; } });
|
|
136
|
+
Object.defineProperty(exports, "Span", { enumerable: true, get: function () { return gui_1.Span; } });
|
|
137
|
+
Object.defineProperty(exports, "Strong", { enumerable: true, get: function () { return gui_1.Strong; } });
|
|
111
138
|
Object.defineProperty(exports, "Switch", { enumerable: true, get: function () { return gui_1.Switch; } });
|
|
112
139
|
Object.defineProperty(exports, "Tabs", { enumerable: true, get: function () { return gui_1.Tabs; } });
|
|
113
140
|
Object.defineProperty(exports, "TabsContent", { enumerable: true, get: function () { return gui_1.TabsContent; } });
|
|
@@ -115,13 +142,73 @@ Object.defineProperty(exports, "TabsList", { enumerable: true, get: function ()
|
|
|
115
142
|
Object.defineProperty(exports, "TabsTrigger", { enumerable: true, get: function () { return gui_1.TabsTrigger; } });
|
|
116
143
|
Object.defineProperty(exports, "Textarea", { enumerable: true, get: function () { return gui_1.Textarea; } });
|
|
117
144
|
Object.defineProperty(exports, "Toaster", { enumerable: true, get: function () { return gui_1.Toaster; } });
|
|
145
|
+
Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return gui_1.Text; } });
|
|
118
146
|
Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return gui_1.Tooltip; } });
|
|
119
147
|
Object.defineProperty(exports, "TooltipContent", { enumerable: true, get: function () { return gui_1.TooltipContent; } });
|
|
120
148
|
Object.defineProperty(exports, "TooltipProvider", { enumerable: true, get: function () { return gui_1.TooltipProvider; } });
|
|
121
149
|
Object.defineProperty(exports, "TooltipTrigger", { enumerable: true, get: function () { return gui_1.TooltipTrigger; } });
|
|
150
|
+
Object.defineProperty(exports, "View", { enumerable: true, get: function () { return gui_1.View; } });
|
|
151
|
+
Object.defineProperty(exports, "XStack", { enumerable: true, get: function () { return gui_1.XStack; } });
|
|
152
|
+
Object.defineProperty(exports, "YStack", { enumerable: true, get: function () { return gui_1.YStack; } });
|
|
153
|
+
Object.defineProperty(exports, "ZStack", { enumerable: true, get: function () { return gui_1.ZStack; } });
|
|
122
154
|
Object.defineProperty(exports, "badgeVariants", { enumerable: true, get: function () { return gui_1.badgeVariants; } });
|
|
123
155
|
Object.defineProperty(exports, "buttonVariants", { enumerable: true, get: function () { return gui_1.buttonVariants; } });
|
|
124
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; } });
|
|
125
212
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
126
213
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
127
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, 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, Input, Label, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, 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":"
|
|
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,IAA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E,KAAK,UAAU,EAAE,MAAM,QAAQ,CAAA;AAG/C,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -25,9 +25,32 @@
|
|
|
25
25
|
// cannot prove which members are unused through a star, so importing Button pulled
|
|
26
26
|
// the whole surface in.
|
|
27
27
|
//
|
|
28
|
-
// ./backends/gui
|
|
29
|
-
//
|
|
30
|
-
|
|
28
|
+
// ./backends/gui declares these as explicit named blocks and this list mirrors it.
|
|
29
|
+
//
|
|
30
|
+
// It is maintained BY HAND — `scripts/gen-primitives.mjs` writes `src/primitives/`,
|
|
31
|
+
// not this file, so nothing regenerates it and nothing used to notice when the two
|
|
32
|
+
// drifted. Glass, Grid, Section and CardMedia were all exported by the backend and
|
|
33
|
+
// absent here, which means a consumer could not import them AT ALL: the component
|
|
34
|
+
// existed, the docs named it, and `import { Grid } from '@hanzo/ui'` was undefined.
|
|
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, 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';
|
|
31
54
|
// `Hanzo` — the root, and the only thing an app mounts. It carries the gui
|
|
32
55
|
// config and the generated stylesheet, so `npm i @hanzo/ui` is the whole setup:
|
|
33
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,oFAAoF;AACpF,
|
|
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,mF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;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"}
|