@hanzo/ui 8.6.2 → 8.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocks/spec.cjs +4 -29
- package/dist/blocks/spec.d.ts +1 -24
- package/dist/blocks/spec.d.ts.map +1 -1
- package/dist/blocks/spec.js +3 -28
- package/dist/blocks/spec.js.map +1 -1
- package/dist/gallery.html +1 -1
- package/dist/index.cjs +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.node.js +1 -0
- package/dist/sx.cjs +32 -0
- package/dist/sx.d.ts +3 -0
- package/dist/sx.d.ts.map +1 -0
- package/dist/sx.js +29 -0
- package/dist/sx.js.map +1 -0
- package/package.json +1 -1
package/dist/blocks/spec.cjs
CHANGED
|
@@ -1,35 +1,10 @@
|
|
|
1
1
|
'use client';"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.name = exports.fit = exports.has = exports.sx = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
* A gui component takes `className` and passes it STRAIGHT to the element, so
|
|
10
|
-
* `<Card className="flex w-full">` renders `class="… flex w-full"` — four dead
|
|
11
|
-
* tokens against a stylesheet that defines none of them, since there is no
|
|
12
|
-
* Tailwind here to define them. Measured: every token survives to the DOM and
|
|
13
|
-
* nothing styles it.
|
|
14
|
-
*
|
|
15
|
-
* `<Box>` already solves this for host elements by converting the string first.
|
|
16
|
-
* This is the same conversion for the case Box cannot cover — a gui component
|
|
17
|
-
* that must stay itself. The classes become style props, gui compiles them to
|
|
18
|
-
* its own atomic rules, and no unqualified name reaches the document.
|
|
19
|
-
*
|
|
20
|
-
* So: `<Box className="…">` for an element, `{...sx('…')}` for a component.
|
|
21
|
-
*
|
|
22
|
-
* Anything `tw` does not read is handed back as `className`, exactly as Box
|
|
23
|
-
* does with it — dropping it would be worse than leaking it, because a class
|
|
24
|
-
* with a real rule behind it (`hz-prose`) is not something `tw` should be
|
|
25
|
-
* expected to know about, and silently discarding it would unstyle the element
|
|
26
|
-
* with nothing to show for it.
|
|
27
|
-
*/
|
|
28
|
-
const sx = (...classes) => {
|
|
29
|
-
const { props, rest } = (0, tw_1.tw)((0, cn_1.cn)(...classes));
|
|
30
|
-
return rest ? { ...props, className: rest } : props;
|
|
31
|
-
};
|
|
32
|
-
exports.sx = sx;
|
|
4
|
+
// The one definition lives at the root, beside Box and tw — it is public API,
|
|
5
|
+
// not a blocks-local helper.
|
|
6
|
+
var sx_1 = require("../sx.cjs");
|
|
7
|
+
Object.defineProperty(exports, "sx", { enumerable: true, get: function () { return sx_1.sx; } });
|
|
33
8
|
/**
|
|
34
9
|
* Is `token` one of the hints in a specifier bag?
|
|
35
10
|
*
|
package/dist/blocks/spec.d.ts
CHANGED
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
export { sx } from '../sx.js';
|
|
2
2
|
import type { Dimensions } from '../types.js';
|
|
3
3
|
import type { Block } from './def.js';
|
|
4
|
-
/**
|
|
5
|
-
* Class notation as gui style props.
|
|
6
|
-
*
|
|
7
|
-
* A gui component takes `className` and passes it STRAIGHT to the element, so
|
|
8
|
-
* `<Card className="flex w-full">` renders `class="… flex w-full"` — four dead
|
|
9
|
-
* tokens against a stylesheet that defines none of them, since there is no
|
|
10
|
-
* Tailwind here to define them. Measured: every token survives to the DOM and
|
|
11
|
-
* nothing styles it.
|
|
12
|
-
*
|
|
13
|
-
* `<Box>` already solves this for host elements by converting the string first.
|
|
14
|
-
* This is the same conversion for the case Box cannot cover — a gui component
|
|
15
|
-
* that must stay itself. The classes become style props, gui compiles them to
|
|
16
|
-
* its own atomic rules, and no unqualified name reaches the document.
|
|
17
|
-
*
|
|
18
|
-
* So: `<Box className="…">` for an element, `{...sx('…')}` for a component.
|
|
19
|
-
*
|
|
20
|
-
* Anything `tw` does not read is handed back as `className`, exactly as Box
|
|
21
|
-
* does with it — dropping it would be worse than leaking it, because a class
|
|
22
|
-
* with a real rule behind it (`hz-prose`) is not something `tw` should be
|
|
23
|
-
* expected to know about, and silently discarding it would unstyle the element
|
|
24
|
-
* with nothing to show for it.
|
|
25
|
-
*/
|
|
26
|
-
export declare const sx: (...classes: ClassValue[]) => Record<string, unknown>;
|
|
27
4
|
/**
|
|
28
5
|
* What every renderer is handed: the block to draw, plus the two things only
|
|
29
6
|
* the page above it knows.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../../src/blocks/spec.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../../src/blocks/spec.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAGlC;;;;;;;;;GASG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,KAAK,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;GAMG;AACH,eAAO,MAAM,GAAG,eAAgB,MAAM,GAAG,SAAS,SAAS,MAAM,KAAG,OACX,CAAA;AAEzD;;;;;;GAMG;AACH,eAAO,MAAM,GAAG,QAAS,UAAU,UAAU,UAAU,KAAG,UAKzD,CAAA;AAED,oEAAoE;AACpE,eAAO,MAAM,IAAI,QAAS,MAAM,KAAG,MAAqD,CAAA"}
|
package/dist/blocks/spec.js
CHANGED
|
@@ -1,31 +1,6 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Class notation as gui style props.
|
|
5
|
-
*
|
|
6
|
-
* A gui component takes `className` and passes it STRAIGHT to the element, so
|
|
7
|
-
* `<Card className="flex w-full">` renders `class="… flex w-full"` — four dead
|
|
8
|
-
* tokens against a stylesheet that defines none of them, since there is no
|
|
9
|
-
* Tailwind here to define them. Measured: every token survives to the DOM and
|
|
10
|
-
* nothing styles it.
|
|
11
|
-
*
|
|
12
|
-
* `<Box>` already solves this for host elements by converting the string first.
|
|
13
|
-
* This is the same conversion for the case Box cannot cover — a gui component
|
|
14
|
-
* that must stay itself. The classes become style props, gui compiles them to
|
|
15
|
-
* its own atomic rules, and no unqualified name reaches the document.
|
|
16
|
-
*
|
|
17
|
-
* So: `<Box className="…">` for an element, `{...sx('…')}` for a component.
|
|
18
|
-
*
|
|
19
|
-
* Anything `tw` does not read is handed back as `className`, exactly as Box
|
|
20
|
-
* does with it — dropping it would be worse than leaking it, because a class
|
|
21
|
-
* with a real rule behind it (`hz-prose`) is not something `tw` should be
|
|
22
|
-
* expected to know about, and silently discarding it would unstyle the element
|
|
23
|
-
* with nothing to show for it.
|
|
24
|
-
*/
|
|
25
|
-
export const sx = (...classes) => {
|
|
26
|
-
const { props, rest } = tw(cn(...classes));
|
|
27
|
-
return rest ? { ...props, className: rest } : props;
|
|
28
|
-
};
|
|
1
|
+
'use client';// The one definition lives at the root, beside Box and tw — it is public API,
|
|
2
|
+
// not a blocks-local helper.
|
|
3
|
+
export { sx } from '../sx.js';
|
|
29
4
|
/**
|
|
30
5
|
* Is `token` one of the hints in a specifier bag?
|
|
31
6
|
*
|
package/dist/blocks/spec.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.js","sourceRoot":"","sources":["../../src/blocks/spec.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"spec.js","sourceRoot":"","sources":["../../src/blocks/spec.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,6BAA6B;AAC7B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAsB1B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,UAA8B,EAAE,KAAa,EAAW,EAAE,CAC5E,CAAC,CAAC,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAEzD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,GAAe,EAAE,MAAkB,EAAc,EAAE;IACrE,MAAM,KAAK,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAA;IAC3B,OAAO,KAAK,GAAG,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;QAChC,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,KAAK,EAAE;QACtC,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,CAAA;AAC1C,CAAC,CAAA;AAED,oEAAoE;AACpE,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,GAAW,EAAU,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,IAAI,GAAG,CAAA"}
|
package/dist/gallery.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.
|
|
1
|
+
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.7.0</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
|
|
2
2
|
:root { --hanzo-ui-styles: 1; }
|
|
3
3
|
/* Hanzo Design System — the entry point. Import THIS one file.
|
|
4
4
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ 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.TabsContent = exports.Tabs = exports.Switch = exports.Strong = exports.Spinner = exports.Span = exports.Spacer = exports.Slider = exports.SizableText = exports.Separator = exports.Band = exports.ScrollView = exports.Screen = 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.Fill = exports.Glass = exports.Em = exports.DropdownMenuTrigger = exports.DropdownMenuSubTrigger = void 0;
|
|
5
5
|
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.useLink = exports.YouTubeEmbed = exports.VideoPlayer = exports.MDXLink = exports.LinkElement = exports.Link = exports.ApplyTypography = 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 = exports.TabsTrigger = exports.TabsList = void 0;
|
|
6
|
-
exports.Box = exports.tw = exports.cn = exports.Hanzo = exports.Anchor = exports.ToggleGroupItem = exports.ToggleGroup = exports.RadioGroupItem = exports.RadioGroup = exports.HoverCardTrigger = exports.HoverCardContent = exports.HoverCard = exports.ContextMenuTrigger = exports.ContextMenuSubTrigger = exports.ContextMenuSubContent = void 0;
|
|
6
|
+
exports.sx = exports.Box = exports.tw = exports.cn = exports.Hanzo = exports.Anchor = exports.ToggleGroupItem = exports.ToggleGroup = exports.RadioGroupItem = exports.RadioGroup = exports.HoverCardTrigger = exports.HoverCardContent = exports.HoverCard = exports.ContextMenuTrigger = exports.ContextMenuSubTrigger = exports.ContextMenuSubContent = void 0;
|
|
7
7
|
// @hanzo/ui — the one Hanzo component library, on @hanzo/gui + @hanzo/design.
|
|
8
8
|
//
|
|
9
9
|
// ONE substrate: every component renders through @hanzo/gui primitives, so the
|
|
@@ -233,3 +233,5 @@ var tw_1 = require("./tw.cjs");
|
|
|
233
233
|
Object.defineProperty(exports, "tw", { enumerable: true, get: function () { return tw_1.tw; } });
|
|
234
234
|
var box_1 = require("./box.cjs");
|
|
235
235
|
Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return box_1.Box; } });
|
|
236
|
+
var sx_1 = require("./sx.cjs");
|
|
237
|
+
Object.defineProperty(exports, "sx", { enumerable: true, get: function () { return sx_1.sx; } });
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export { Hanzo, type HanzoProps } from './root.js';
|
|
|
5
5
|
export { cn } from './core/cn.js';
|
|
6
6
|
export { tw, type Parsed, type Props as TwProps } from './tw.js';
|
|
7
7
|
export { Box, type BoxProps } from './box.js';
|
|
8
|
+
export { sx } from './sx.js';
|
|
8
9
|
//# 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,i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AE,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;AAM9B,OAAO,EAAE,EAAE,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,IAAI,OAAO,EAAE,MAAM,MAAM,CAAA;AAC7D,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA"}
|
package/dist/index.js
CHANGED
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,gFAAgF;AAChF,kFAAkF;AAClF,oFAAoF;AACpF,kEAAkE;AAClE,OAAO,EACL,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EA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AE,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;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;AAEX,OAAO,EAAE,EAAE,EAAsC,MAAM,MAAM,CAAA;AAC7D,OAAO,EAAE,GAAG,EAAiB,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA"}
|
package/dist/index.node.js
CHANGED
package/dist/sx.cjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use client';"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sx = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Class notation as gui style props — the counterpart to `<Box>`.
|
|
6
|
+
*
|
|
7
|
+
* A gui component takes `className` and hands it STRAIGHT to the element it
|
|
8
|
+
* renders, so `<Card className="grid gap-4">` emits `class="… grid gap-4"`:
|
|
9
|
+
* two tokens against a stylesheet that defines neither, because there is no
|
|
10
|
+
* Tailwind here to define them. Measured — every token survives to the DOM and
|
|
11
|
+
* nothing styles it.
|
|
12
|
+
*
|
|
13
|
+
* `<Box>` solves this for a host element by converting the string before it
|
|
14
|
+
* renders. This is the same conversion for the case Box cannot cover: a
|
|
15
|
+
* component that has to stay itself.
|
|
16
|
+
*
|
|
17
|
+
* <Box className="grid gap-4">…</Box> an element
|
|
18
|
+
* <Card {...sx('grid gap-4')}>…</Card> a component
|
|
19
|
+
*
|
|
20
|
+
* Anything `tw` does not read comes back as `className`, exactly as Box hands
|
|
21
|
+
* it back. Dropping it would be worse than leaking it: a class with a real rule
|
|
22
|
+
* behind it — `hz-prose`, or one of the app's own — is not something `tw` should
|
|
23
|
+
* be expected to know, and discarding it would unstyle the element with nothing
|
|
24
|
+
* to show for it.
|
|
25
|
+
*/
|
|
26
|
+
const cn_1 = require("./core/cn.cjs");
|
|
27
|
+
const tw_1 = require("./tw.cjs");
|
|
28
|
+
const sx = (...classes) => {
|
|
29
|
+
const { props, rest } = (0, tw_1.tw)((0, cn_1.cn)(...classes));
|
|
30
|
+
return rest ? { ...props, className: rest } : props;
|
|
31
|
+
};
|
|
32
|
+
exports.sx = sx;
|
package/dist/sx.d.ts
ADDED
package/dist/sx.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sx.d.ts","sourceRoot":"","sources":["../src/sx.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,KAAK,UAAU,EAAM,MAAM,MAAM,CAAA;AAE1C,eAAO,MAAM,EAAE,eAAgB,UAAU,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAGnE,CAAA"}
|
package/dist/sx.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use client';/**
|
|
2
|
+
* Class notation as gui style props — the counterpart to `<Box>`.
|
|
3
|
+
*
|
|
4
|
+
* A gui component takes `className` and hands it STRAIGHT to the element it
|
|
5
|
+
* renders, so `<Card className="grid gap-4">` emits `class="… grid gap-4"`:
|
|
6
|
+
* two tokens against a stylesheet that defines neither, because there is no
|
|
7
|
+
* Tailwind here to define them. Measured — every token survives to the DOM and
|
|
8
|
+
* nothing styles it.
|
|
9
|
+
*
|
|
10
|
+
* `<Box>` solves this for a host element by converting the string before it
|
|
11
|
+
* renders. This is the same conversion for the case Box cannot cover: a
|
|
12
|
+
* component that has to stay itself.
|
|
13
|
+
*
|
|
14
|
+
* <Box className="grid gap-4">…</Box> an element
|
|
15
|
+
* <Card {...sx('grid gap-4')}>…</Card> a component
|
|
16
|
+
*
|
|
17
|
+
* Anything `tw` does not read comes back as `className`, exactly as Box hands
|
|
18
|
+
* it back. Dropping it would be worse than leaking it: a class with a real rule
|
|
19
|
+
* behind it — `hz-prose`, or one of the app's own — is not something `tw` should
|
|
20
|
+
* be expected to know, and discarding it would unstyle the element with nothing
|
|
21
|
+
* to show for it.
|
|
22
|
+
*/
|
|
23
|
+
import { cn } from './core/cn.js';
|
|
24
|
+
import { tw } from './tw.js';
|
|
25
|
+
export const sx = (...classes) => {
|
|
26
|
+
const { props, rest } = tw(cn(...classes));
|
|
27
|
+
return rest ? { ...props, className: rest } : props;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=sx.js.map
|
package/dist/sx.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sx.js","sourceRoot":"","sources":["../src/sx.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAmB,EAAE,EAAE,MAAM,MAAM,CAAA;AAE1C,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAqB,EAA2B,EAAE;IACtE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAA;IAC1C,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAE,KAAiC,CAAA;AAClF,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
|
|
6
6
|
"exports": {
|