@evinvest/uikit 0.30.0 → 0.31.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/README.md +266 -72
- package/dist/{chunk-3IPB4QQJ.js → chunk-35SPIU4U.js} +10 -6
- package/dist/chunk-35SPIU4U.js.map +1 -0
- package/dist/components/account-list.js +128 -0
- package/dist/components/account-list.js.map +1 -0
- package/dist/components/account-menu-profile.js +114 -0
- package/dist/components/account-menu-profile.js.map +1 -0
- package/dist/components/account-menu.js +50 -23
- package/dist/components/account-menu.js.map +1 -1
- package/dist/components/account-settings-dialog.js +84 -0
- package/dist/components/account-settings-dialog.js.map +1 -0
- package/dist/components/alert-dialog.js +3 -2
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/animated-number-columns.js +105 -0
- package/dist/components/animated-number-columns.js.map +1 -0
- package/dist/components/animated-number.js +157 -0
- package/dist/components/animated-number.js.map +1 -0
- package/dist/components/app-shell.js +9 -0
- package/dist/components/app-shell.js.map +1 -1
- package/dist/components/aside.js +140 -0
- package/dist/components/aside.js.map +1 -0
- package/dist/components/badge.js +1 -1
- package/dist/components/badge.js.map +1 -1
- package/dist/components/button.js +3 -11
- package/dist/components/button.js.map +1 -1
- package/dist/components/chat-composer.js +141 -0
- package/dist/components/chat-composer.js.map +1 -0
- package/dist/components/chat-message.js +195 -0
- package/dist/components/chat-message.js.map +1 -0
- package/dist/components/chat-panel.js +137 -0
- package/dist/components/chat-panel.js.map +1 -0
- package/dist/components/chat-stream-text.js +69 -0
- package/dist/components/chat-stream-text.js.map +1 -0
- package/dist/components/chat-typing.js +26 -0
- package/dist/components/chat-typing.js.map +1 -0
- package/dist/components/command-palette.js +119 -0
- package/dist/components/command-palette.js.map +1 -0
- package/dist/components/command.js +3 -1
- package/dist/components/command.js.map +1 -1
- package/dist/components/confirm-dialog.js +123 -0
- package/dist/components/confirm-dialog.js.map +1 -0
- package/dist/components/context-menu.js +53 -5
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/dialog.js +3 -2
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/drawer.js +3 -1
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.js +64 -5
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/form-row.js +51 -0
- package/dist/components/form-row.js.map +1 -0
- package/dist/components/header-controls.js +149 -0
- package/dist/components/header-controls.js.map +1 -0
- package/dist/components/icon-button.js +35 -0
- package/dist/components/icon-button.js.map +1 -0
- package/dist/components/key-value.js +68 -0
- package/dist/components/key-value.js.map +1 -0
- package/dist/components/menubar.js +39 -5
- package/dist/components/menubar.js.map +1 -1
- package/dist/components/native-select.js +3 -4
- package/dist/components/native-select.js.map +1 -1
- package/dist/components/nav-collapse.js +142 -0
- package/dist/components/nav-collapse.js.map +1 -0
- package/dist/components/nav-model.js.map +1 -1
- package/dist/components/navigation-menu.js +4 -5
- package/dist/components/navigation-menu.js.map +1 -1
- package/dist/components/page-frame.js +2 -5
- package/dist/components/page-frame.js.map +1 -1
- package/dist/components/popover-form.js +60 -0
- package/dist/components/popover-form.js.map +1 -0
- package/dist/components/resource-error.js +1 -1
- package/dist/components/resource-error.js.map +1 -1
- package/dist/components/section-nav.js +73 -20
- package/dist/components/section-nav.js.map +1 -1
- package/dist/components/select.js +16 -6
- package/dist/components/select.js.map +1 -1
- package/dist/components/settings.js +94 -0
- package/dist/components/settings.js.map +1 -0
- package/dist/components/sheet.js +3 -2
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/shell-nav.js +80 -38
- package/dist/components/shell-nav.js.map +1 -1
- package/dist/components/smart-header.js +53 -0
- package/dist/components/smart-header.js.map +1 -0
- package/dist/components/status-item.js +42 -0
- package/dist/components/status-item.js.map +1 -0
- package/dist/components/system-banner.js +22 -12
- package/dist/components/system-banner.js.map +1 -1
- package/dist/components/top-bar.js +4 -3
- package/dist/components/top-bar.js.map +1 -1
- package/dist/components/ui-icons.js +77 -0
- package/dist/components/ui-icons.js.map +1 -0
- package/dist/components/use-count-tween.js +42 -0
- package/dist/components/use-count-tween.js.map +1 -0
- package/dist/components/workspace-tab.js +140 -0
- package/dist/components/workspace-tab.js.map +1 -0
- package/dist/generated/accent.js +2 -2
- package/dist/generated/accent.js.map +1 -1
- package/dist/generated/account-list.js +35 -0
- package/dist/generated/account-list.js.map +1 -0
- package/dist/generated/account-settings-dialog.js +27 -0
- package/dist/generated/account-settings-dialog.js.map +1 -0
- package/dist/generated/alert-dialog.js +1 -1
- package/dist/generated/alert-dialog.js.map +1 -1
- package/dist/generated/alert.js +2 -2
- package/dist/generated/alert.js.map +1 -1
- package/dist/generated/aside.js +36 -0
- package/dist/generated/aside.js.map +1 -0
- package/dist/generated/badge.js +7 -6
- package/dist/generated/badge.js.map +1 -1
- package/dist/generated/band.js +1 -1
- package/dist/generated/band.js.map +1 -1
- package/dist/generated/breadcrumb.js +2 -2
- package/dist/generated/breadcrumb.js.map +1 -1
- package/dist/generated/button-group.js +2 -2
- package/dist/generated/button-group.js.map +1 -1
- package/dist/generated/button.js +4 -4
- package/dist/generated/button.js.map +1 -1
- package/dist/generated/card.js +6 -6
- package/dist/generated/card.js.map +1 -1
- package/dist/generated/chat-composer.js +21 -0
- package/dist/generated/chat-composer.js.map +1 -0
- package/dist/generated/chat-message.js +86 -0
- package/dist/generated/chat-message.js.map +1 -0
- package/dist/generated/chat-typing.js +9 -0
- package/dist/generated/chat-typing.js.map +1 -0
- package/dist/generated/command-palette.js +17 -0
- package/dist/generated/command-palette.js.map +1 -0
- package/dist/generated/command.js +2 -2
- package/dist/generated/command.js.map +1 -1
- package/dist/generated/confirm-dialog.js +28 -0
- package/dist/generated/confirm-dialog.js.map +1 -0
- package/dist/generated/context-menu.js +1 -1
- package/dist/generated/context-menu.js.map +1 -1
- package/dist/generated/date-time-picker.js +1 -1
- package/dist/generated/date-time-picker.js.map +1 -1
- package/dist/generated/dialog.js +1 -1
- package/dist/generated/dialog.js.map +1 -1
- package/dist/generated/drawer.js +1 -1
- package/dist/generated/drawer.js.map +1 -1
- package/dist/generated/dropdown-menu.js +1 -1
- package/dist/generated/dropdown-menu.js.map +1 -1
- package/dist/generated/form-row.js +17 -0
- package/dist/generated/form-row.js.map +1 -0
- package/dist/generated/header-controls.js +56 -0
- package/dist/generated/header-controls.js.map +1 -0
- package/dist/generated/icon-button.js +13 -0
- package/dist/generated/icon-button.js.map +1 -0
- package/dist/generated/key-value.js +15 -0
- package/dist/generated/key-value.js.map +1 -0
- package/dist/generated/menubar.js +1 -1
- package/dist/generated/menubar.js.map +1 -1
- package/dist/generated/navigation-menu.js +1 -1
- package/dist/generated/navigation-menu.js.map +1 -1
- package/dist/generated/popover-form.js +13 -0
- package/dist/generated/popover-form.js.map +1 -0
- package/dist/generated/section-label.js +10 -0
- package/dist/generated/section-label.js.map +1 -0
- package/dist/generated/select.js +15 -3
- package/dist/generated/select.js.map +1 -1
- package/dist/generated/settings.js +36 -0
- package/dist/generated/settings.js.map +1 -0
- package/dist/generated/sheet.js +1 -1
- package/dist/generated/sheet.js.map +1 -1
- package/dist/generated/slider.js +1 -1
- package/dist/generated/slider.js.map +1 -1
- package/dist/generated/smart-header.js +11 -0
- package/dist/generated/smart-header.js.map +1 -0
- package/dist/generated/sonner.js +4 -4
- package/dist/generated/sonner.js.map +1 -1
- package/dist/generated/status-item.js +17 -0
- package/dist/generated/status-item.js.map +1 -0
- package/dist/generated/system-banner.js +33 -0
- package/dist/generated/system-banner.js.map +1 -0
- package/dist/generated/top-bar.js +9 -0
- package/dist/generated/top-bar.js.map +1 -0
- package/dist/generated/workspace-tab.js +17 -0
- package/dist/generated/workspace-tab.js.map +1 -0
- package/dist/index.d.ts +852 -156
- package/dist/index.js +21 -1
- package/dist/lib/cn.js +8 -1
- package/dist/lib/cn.js.map +1 -1
- package/dist/lib/number-parts.js +90 -0
- package/dist/lib/number-parts.js.map +1 -0
- package/dist/palette-cli.js +1 -1
- package/dist/palette.d.ts +6 -4
- package/dist/palette.js +3 -1
- package/dist/primitives/dismissable-layer.js +76 -4
- package/dist/primitives/dismissable-layer.js.map +1 -1
- package/dist/primitives/focus-scope.js +20 -5
- package/dist/primitives/focus-scope.js.map +1 -1
- package/dist/primitives/use-floating.js +16 -1
- package/dist/primitives/use-floating.js.map +1 -1
- package/dist/primitives/use-reduced-motion.js +20 -0
- package/dist/primitives/use-reduced-motion.js.map +1 -0
- package/package.json +1 -1
- package/styles/ev.css +281 -49
- package/styles/theme.css +335 -39
- package/styles/tokens.css +643 -103
- package/dist/chunk-3IPB4QQJ.js.map +0 -1
- package/dist/components/terminal.js +0 -206
- package/dist/components/terminal.js.map +0 -1
- package/dist/generated/terminal.js +0 -70
- package/dist/generated/terminal.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/alert-dialog.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const ALERT_DIALOG_OVERLAY = \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 duration-200 data-[state=closed]:fill-mode-forwards data-[state=closed]:pointer-events-none fixed inset-0 z-50 bg-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/alert-dialog.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const ALERT_DIALOG_OVERLAY = \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 duration-200 data-[state=closed]:fill-mode-forwards data-[state=closed]:pointer-events-none fixed inset-0 z-50 bg-scrim\";\n\nexport const ALERT_DIALOG_CONTENT = \"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-border p-6 shadow-lg duration-200 data-[state=closed]:fill-mode-forwards outline-hidden sm:max-w-lg\";\n\nexport const ALERT_DIALOG_HEADER = \"flex flex-col gap-2 text-center sm:text-left\";\n\nexport const ALERT_DIALOG_FOOTER = \"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\";\n\nexport const ALERT_DIALOG_TITLE = \"text-lg font-semibold\";\n\nexport const ALERT_DIALOG_DESCRIPTION = \"text-ink-soft text-sm\";\n"],"mappings":"AAEO,MAAM,uBAAuB;AAE7B,MAAM,uBAAuB;AAE7B,MAAM,sBAAsB;AAE5B,MAAM,sBAAsB;AAE5B,MAAM,qBAAqB;AAE3B,MAAM,2BAA2B;","names":[]}
|
package/dist/generated/alert.js
CHANGED
|
@@ -2,8 +2,8 @@ const ALERT_BASE = "relative w-full rounded-lg border px-4 py-3 text-sm grid has
|
|
|
2
2
|
const alertVariants = {
|
|
3
3
|
"neutral": "bg-card text-ink border-border",
|
|
4
4
|
"destructive": "text-accent-error bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid",
|
|
5
|
-
"success": "text-positive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid",
|
|
6
|
-
"info": "text-accent-info bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid"
|
|
5
|
+
"success": "text-positive-ink bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid",
|
|
6
|
+
"info": "text-accent-info-ink bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid"
|
|
7
7
|
};
|
|
8
8
|
const ALERT_TITLE = "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight";
|
|
9
9
|
const ALERT_DESCRIPTION = "text-ink-soft col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/alert.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const ALERT_BASE = \"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current\";\n\nexport const alertVariants = {\n \"neutral\": \"bg-card text-ink border-border\",\n \"destructive\": \"text-accent-error bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid\",\n \"success\": \"text-positive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid\",\n \"info\": \"text-accent-info bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid\",\n} as const;\nexport type AlertVariant = keyof typeof alertVariants;\n\nexport const ALERT_TITLE = \"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight\";\n\nexport const ALERT_DESCRIPTION = \"text-ink-soft col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed\";\n"],"mappings":"AAEO,MAAM,aAAa;AAEnB,MAAM,gBAAgB;AAAA,EAC3B,WAAW;AAAA,EACX,eAAe;AAAA,EACf,WAAW;AAAA,EACX,QAAQ;AACV;AAGO,MAAM,cAAc;AAEpB,MAAM,oBAAoB;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/generated/alert.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const ALERT_BASE = \"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current\";\n\nexport const alertVariants = {\n \"neutral\": \"bg-card text-ink border-border\",\n \"destructive\": \"text-accent-error bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid\",\n \"success\": \"text-positive-ink bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid\",\n \"info\": \"text-accent-info-ink bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-ink-mid\",\n} as const;\nexport type AlertVariant = keyof typeof alertVariants;\n\nexport const ALERT_TITLE = \"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight\";\n\nexport const ALERT_DESCRIPTION = \"text-ink-soft col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed\";\n"],"mappings":"AAEO,MAAM,aAAa;AAEnB,MAAM,gBAAgB;AAAA,EAC3B,WAAW;AAAA,EACX,eAAe;AAAA,EACf,WAAW;AAAA,EACX,QAAQ;AACV;AAGO,MAAM,cAAc;AAEpB,MAAM,oBAAoB;","names":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const ASIDE_HEADER_BASE = "flex h-11 shrink-0 items-center gap-1.5 border-b border-border bg-card pl-3 pr-2";
|
|
2
|
+
const ASIDE_HEADER_TITLE = "min-w-0 flex-1 truncate text-body font-medium text-ink";
|
|
3
|
+
const ASIDE_HEADER_BACK_ICON = "size-4 rotate-180";
|
|
4
|
+
const ASIDE_HEADER_CLOSE_ICON = "size-4";
|
|
5
|
+
const ASIDE_RAIL_BASE = "flex w-11 shrink-0 flex-col items-center gap-1 border-l border-border bg-card px-1.5 py-2";
|
|
6
|
+
const ASIDE_RAIL_SPACER = "flex-1";
|
|
7
|
+
const ASIDE_BODY = "min-h-0 flex-1 overflow-y-auto";
|
|
8
|
+
const ASIDE_FOOTER = "flex shrink-0 items-center justify-end gap-2 border-t border-border bg-card px-4 py-3";
|
|
9
|
+
const ASIDE_PANEL_DOCKED = "flex h-full w-95 shrink-0 flex-col bg-card";
|
|
10
|
+
const ASIDE_PANEL_DRAWER = "flex max-h-[85dvh] flex-col bg-card";
|
|
11
|
+
const ASIDE_PANEL_SHEET = "w-full gap-0 border-border-strong bg-card p-0 sm:max-w-105 [&>[data-slot=sheet-close]]:hidden";
|
|
12
|
+
const ASIDE_PANEL_WIDE_ONLY = "hidden md:flex";
|
|
13
|
+
const ASIDE_PANEL_WIDE_ONLY_WRAPPER = "hidden md:contents";
|
|
14
|
+
const ASIDE_PANEL_NARROW_ONLY = "contents md:hidden";
|
|
15
|
+
const asidePanelSideClasses = {
|
|
16
|
+
"left": "border-r border-border",
|
|
17
|
+
"right": "border-l border-border"
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
ASIDE_BODY,
|
|
21
|
+
ASIDE_FOOTER,
|
|
22
|
+
ASIDE_HEADER_BACK_ICON,
|
|
23
|
+
ASIDE_HEADER_BASE,
|
|
24
|
+
ASIDE_HEADER_CLOSE_ICON,
|
|
25
|
+
ASIDE_HEADER_TITLE,
|
|
26
|
+
ASIDE_PANEL_DOCKED,
|
|
27
|
+
ASIDE_PANEL_DRAWER,
|
|
28
|
+
ASIDE_PANEL_NARROW_ONLY,
|
|
29
|
+
ASIDE_PANEL_SHEET,
|
|
30
|
+
ASIDE_PANEL_WIDE_ONLY,
|
|
31
|
+
ASIDE_PANEL_WIDE_ONLY_WRAPPER,
|
|
32
|
+
ASIDE_RAIL_BASE,
|
|
33
|
+
ASIDE_RAIL_SPACER,
|
|
34
|
+
asidePanelSideClasses
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=aside.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/generated/aside.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const ASIDE_HEADER_BASE = \"flex h-11 shrink-0 items-center gap-1.5 border-b border-border bg-card pl-3 pr-2\";\n\nexport const ASIDE_HEADER_TITLE = \"min-w-0 flex-1 truncate text-body font-medium text-ink\";\n\nexport const ASIDE_HEADER_BACK_ICON = \"size-4 rotate-180\";\n\nexport const ASIDE_HEADER_CLOSE_ICON = \"size-4\";\n\nexport const ASIDE_RAIL_BASE = \"flex w-11 shrink-0 flex-col items-center gap-1 border-l border-border bg-card px-1.5 py-2\";\n\nexport const ASIDE_RAIL_SPACER = \"flex-1\";\n\nexport const ASIDE_BODY = \"min-h-0 flex-1 overflow-y-auto\";\n\nexport const ASIDE_FOOTER = \"flex shrink-0 items-center justify-end gap-2 border-t border-border bg-card px-4 py-3\";\n\nexport const ASIDE_PANEL_DOCKED = \"flex h-full w-95 shrink-0 flex-col bg-card\";\n\nexport const ASIDE_PANEL_DRAWER = \"flex max-h-[85dvh] flex-col bg-card\";\n\nexport const ASIDE_PANEL_SHEET = \"w-full gap-0 border-border-strong bg-card p-0 sm:max-w-105 [&>[data-slot=sheet-close]]:hidden\";\n\nexport const ASIDE_PANEL_WIDE_ONLY = \"hidden md:flex\";\n\nexport const ASIDE_PANEL_WIDE_ONLY_WRAPPER = \"hidden md:contents\";\n\nexport const ASIDE_PANEL_NARROW_ONLY = \"contents md:hidden\";\n\nexport const asidePanelSideClasses = {\n \"left\": \"border-r border-border\",\n \"right\": \"border-l border-border\",\n} as const;\nexport type AsidePanelSide = keyof typeof asidePanelSideClasses;\n"],"mappings":"AAEO,MAAM,oBAAoB;AAE1B,MAAM,qBAAqB;AAE3B,MAAM,yBAAyB;AAE/B,MAAM,0BAA0B;AAEhC,MAAM,kBAAkB;AAExB,MAAM,oBAAoB;AAE1B,MAAM,aAAa;AAEnB,MAAM,eAAe;AAErB,MAAM,qBAAqB;AAE3B,MAAM,qBAAqB;AAE3B,MAAM,oBAAoB;AAE1B,MAAM,wBAAwB;AAE9B,MAAM,gCAAgC;AAEtC,MAAM,0BAA0B;AAEhC,MAAM,wBAAwB;AAAA,EACnC,QAAQ;AAAA,EACR,SAAS;AACX;","names":[]}
|
package/dist/generated/badge.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
const BADGE_BASE = "inline-flex items-center justify-center rounded-
|
|
1
|
+
const BADGE_BASE = "inline-flex h-5 items-center justify-center rounded-[var(--chip-radius)] border px-1.5 text-caption font-medium w-fit whitespace-nowrap shrink-0 gap-1 overflow-hidden [&>svg]:size-3 [&>svg]:pointer-events-none transition-colors outline-none aria-invalid:border-accent-error focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring";
|
|
2
2
|
const badgeVariants = {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
3
|
+
"neutral": "border-chip-neutral-border bg-chip-neutral-bg text-ink-mid [a&]:hover:bg-active",
|
|
4
|
+
"primary": "border-chip-primary-border bg-chip-primary-bg text-primary-ink [a&]:hover:bg-hover",
|
|
5
|
+
"positive": "border-chip-positive-border bg-chip-positive-bg text-positive-ink [a&]:hover:bg-hover",
|
|
6
|
+
"info": "border-chip-info-border bg-chip-info-bg text-accent-info-ink [a&]:hover:bg-hover",
|
|
7
|
+
"warn": "border-chip-warn-border bg-chip-warn-bg text-accent-warn [a&]:hover:bg-hover",
|
|
8
|
+
"error": "border-chip-error-border bg-chip-error-bg text-accent-error [a&]:hover:bg-hover"
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
11
|
BADGE_BASE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/badge.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BADGE_BASE = \"inline-flex items-center justify-center rounded-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/badge.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BADGE_BASE = \"inline-flex h-5 items-center justify-center rounded-[var(--chip-radius)] border px-1.5 text-caption font-medium w-fit whitespace-nowrap shrink-0 gap-1 overflow-hidden [&>svg]:size-3 [&>svg]:pointer-events-none transition-colors outline-none aria-invalid:border-accent-error focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\";\n\nexport const badgeVariants = {\n \"neutral\": \"border-chip-neutral-border bg-chip-neutral-bg text-ink-mid [a&]:hover:bg-active\",\n \"primary\": \"border-chip-primary-border bg-chip-primary-bg text-primary-ink [a&]:hover:bg-hover\",\n \"positive\": \"border-chip-positive-border bg-chip-positive-bg text-positive-ink [a&]:hover:bg-hover\",\n \"info\": \"border-chip-info-border bg-chip-info-bg text-accent-info-ink [a&]:hover:bg-hover\",\n \"warn\": \"border-chip-warn-border bg-chip-warn-bg text-accent-warn [a&]:hover:bg-hover\",\n \"error\": \"border-chip-error-border bg-chip-error-bg text-accent-error [a&]:hover:bg-hover\",\n} as const;\nexport type BadgeVariant = keyof typeof badgeVariants;\n"],"mappings":"AAEO,MAAM,aAAa;AAEnB,MAAM,gBAAgB;AAAA,EAC3B,WAAW;AAAA,EACX,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AACX;","names":[]}
|
package/dist/generated/band.js
CHANGED
|
@@ -13,7 +13,7 @@ const SECTION_PY = "py-[var(--band-py)]";
|
|
|
13
13
|
const SECTION_PY_TIGHT = "py-[var(--band-py-tight)]";
|
|
14
14
|
const SECTION_HEAD = "flex flex-col gap-2 md:gap-3.5";
|
|
15
15
|
const EYEBROW = "font-medium text-[10px] md:text-[11.5px] tracking-[0.15em] md:tracking-[0.16em] text-primary-ink [.bg-primary_&]:text-on-primary";
|
|
16
|
-
const DISPLAY_BASE = "font-
|
|
16
|
+
const DISPLAY_BASE = "font-serif [font-weight:700] max-w-[54rem] tracking-[-0.005em] leading-[1.16] md:leading-[1.14] text-[calc(1.5625rem*var(--display-scale))] md:text-[calc(2.625rem*var(--display-scale))]";
|
|
17
17
|
const LEDE = "max-w-[52rem] text-[15px] md:text-[17px] leading-[1.58] text-ink-soft";
|
|
18
18
|
const PROSE = "text-[14px] md:text-[15px] leading-[1.62] text-ink-soft";
|
|
19
19
|
const STAT = "flex items-center gap-[7px] whitespace-nowrap";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/band.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const polarityClasses = {\n \"light\": \"light\",\n \"dark\": \"dark\",\n} as const;\nexport type Polarity = keyof typeof polarityClasses;\n\nexport const surfaceClasses = {\n \"background\": \"bg-background text-ink\",\n \"card\": \"bg-card text-ink\",\n \"muted\": \"bg-muted text-ink\",\n \"primary\": \"bg-primary text-on-primary\",\n} as const;\nexport type Surface = keyof typeof surfaceClasses;\n\nexport const SECTION_BASE = \"w-full px-[var(--page-px)]\";\n\nexport const SECTION_PY = \"py-[var(--band-py)]\";\n\nexport const SECTION_PY_TIGHT = \"py-[var(--band-py-tight)]\";\n\nexport const SECTION_HEAD = \"flex flex-col gap-2 md:gap-3.5\";\n\nexport const EYEBROW = \"font-medium text-[10px] md:text-[11.5px] tracking-[0.15em] md:tracking-[0.16em] text-primary-ink [.bg-primary_&]:text-on-primary\";\n\nexport const DISPLAY_BASE = \"font-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/band.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const polarityClasses = {\n \"light\": \"light\",\n \"dark\": \"dark\",\n} as const;\nexport type Polarity = keyof typeof polarityClasses;\n\nexport const surfaceClasses = {\n \"background\": \"bg-background text-ink\",\n \"card\": \"bg-card text-ink\",\n \"muted\": \"bg-muted text-ink\",\n \"primary\": \"bg-primary text-on-primary\",\n} as const;\nexport type Surface = keyof typeof surfaceClasses;\n\nexport const SECTION_BASE = \"w-full px-[var(--page-px)]\";\n\nexport const SECTION_PY = \"py-[var(--band-py)]\";\n\nexport const SECTION_PY_TIGHT = \"py-[var(--band-py-tight)]\";\n\nexport const SECTION_HEAD = \"flex flex-col gap-2 md:gap-3.5\";\n\nexport const EYEBROW = \"font-medium text-[10px] md:text-[11.5px] tracking-[0.15em] md:tracking-[0.16em] text-primary-ink [.bg-primary_&]:text-on-primary\";\n\nexport const DISPLAY_BASE = \"font-serif [font-weight:700] max-w-[54rem] tracking-[-0.005em] leading-[1.16] md:leading-[1.14] text-[calc(1.5625rem*var(--display-scale))] md:text-[calc(2.625rem*var(--display-scale))]\";\n\nexport const LEDE = \"max-w-[52rem] text-[15px] md:text-[17px] leading-[1.58] text-ink-soft\";\n\nexport const PROSE = \"text-[14px] md:text-[15px] leading-[1.62] text-ink-soft\";\n\nexport const STAT = \"flex items-center gap-[7px] whitespace-nowrap\";\n\nexport const STAT_FIGURE = \"font-semibold\";\n\nexport const STAT_LABEL = \"text-ink-soft\";\n\nexport const CHECK = \"font-semibold text-positive\";\n"],"mappings":"AAEO,MAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,EACT,QAAQ;AACV;AAGO,MAAM,iBAAiB;AAAA,EAC5B,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,WAAW;AACb;AAGO,MAAM,eAAe;AAErB,MAAM,aAAa;AAEnB,MAAM,mBAAmB;AAEzB,MAAM,eAAe;AAErB,MAAM,UAAU;AAEhB,MAAM,eAAe;AAErB,MAAM,OAAO;AAEb,MAAM,QAAQ;AAEd,MAAM,OAAO;AAEb,MAAM,cAAc;AAEpB,MAAM,aAAa;AAEnB,MAAM,QAAQ;","names":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const BREADCRUMB_LIST = "text-ink-soft flex flex-wrap items-center gap-1.5 text-
|
|
1
|
+
const BREADCRUMB_LIST = "text-ink-soft flex flex-wrap items-center gap-1.5 text-body break-words sm:gap-2.5";
|
|
2
2
|
const BREADCRUMB_ITEM = "inline-flex items-center gap-1.5";
|
|
3
3
|
const BREADCRUMB_LINK = "hover:text-ink transition-colors";
|
|
4
4
|
const BREADCRUMB_PAGE = "text-ink font-normal";
|
|
5
5
|
const BREADCRUMB_SEPARATOR = "[&>svg]:size-3.5";
|
|
6
|
-
const BREADCRUMB_ELLIPSIS = "flex size-
|
|
6
|
+
const BREADCRUMB_ELLIPSIS = "flex size-7 items-center justify-center";
|
|
7
7
|
export {
|
|
8
8
|
BREADCRUMB_ELLIPSIS,
|
|
9
9
|
BREADCRUMB_ITEM,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/breadcrumb.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BREADCRUMB_LIST = \"text-ink-soft flex flex-wrap items-center gap-1.5 text-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/breadcrumb.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BREADCRUMB_LIST = \"text-ink-soft flex flex-wrap items-center gap-1.5 text-body break-words sm:gap-2.5\";\n\nexport const BREADCRUMB_ITEM = \"inline-flex items-center gap-1.5\";\n\nexport const BREADCRUMB_LINK = \"hover:text-ink transition-colors\";\n\nexport const BREADCRUMB_PAGE = \"text-ink font-normal\";\n\nexport const BREADCRUMB_SEPARATOR = \"[&>svg]:size-3.5\";\n\nexport const BREADCRUMB_ELLIPSIS = \"flex size-7 items-center justify-center\";\n"],"mappings":"AAEO,MAAM,kBAAkB;AAExB,MAAM,kBAAkB;AAExB,MAAM,kBAAkB;AAExB,MAAM,kBAAkB;AAExB,MAAM,uBAAuB;AAE7B,MAAM,sBAAsB;","names":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const BUTTON_GROUP_BASE = "flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-
|
|
1
|
+
const BUTTON_GROUP_BASE = "flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-[var(--control-radius)] has-[>[data-slot=button-group]]:gap-2";
|
|
2
2
|
const buttonGroupOrientationClasses = {
|
|
3
3
|
"horizontal": "[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",
|
|
4
4
|
"vertical": "flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"
|
|
5
5
|
};
|
|
6
|
-
const BUTTON_GROUP_TEXT_BASE = "bg-muted flex items-center gap-2 rounded-
|
|
6
|
+
const BUTTON_GROUP_TEXT_BASE = "bg-muted flex items-center gap-2 rounded-[var(--control-radius)] border border-border px-4 text-body font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4";
|
|
7
7
|
const BUTTON_GROUP_SEPARATOR_BASE = "bg-input relative !m-0 self-stretch shrink-0 data-[orientation=vertical]:h-auto";
|
|
8
8
|
export {
|
|
9
9
|
BUTTON_GROUP_BASE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/button-group.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BUTTON_GROUP_BASE = \"flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/button-group.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BUTTON_GROUP_BASE = \"flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-[var(--control-radius)] has-[>[data-slot=button-group]]:gap-2\";\n\nexport const buttonGroupOrientationClasses = {\n \"horizontal\": \"[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none\",\n \"vertical\": \"flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none\",\n} as const;\nexport type ButtonGroupOrientation = keyof typeof buttonGroupOrientationClasses;\n\nexport const BUTTON_GROUP_TEXT_BASE = \"bg-muted flex items-center gap-2 rounded-[var(--control-radius)] border border-border px-4 text-body font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4\";\n\nexport const BUTTON_GROUP_SEPARATOR_BASE = \"bg-input relative !m-0 self-stretch shrink-0 data-[orientation=vertical]:h-auto\";\n"],"mappings":"AAEO,MAAM,oBAAoB;AAE1B,MAAM,gCAAgC;AAAA,EAC3C,cAAc;AAAA,EACd,YAAY;AACd;AAGO,MAAM,yBAAyB;AAE/B,MAAM,8BAA8B;","names":[]}
|
package/dist/generated/button.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const BUTTON_BASE = "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[var(--control-radius)] text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-
|
|
1
|
+
const BUTTON_BASE = "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[var(--control-radius)] text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-40 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-accent-error/20 aria-invalid:border-accent-error";
|
|
2
2
|
const buttonVariantClasses = {
|
|
3
|
-
"primary": "bg-primary text-on-primary hover:bg-primary
|
|
3
|
+
"primary": "bg-primary text-on-primary hover:bg-primary-hover focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
4
4
|
"secondary": "bg-secondary text-on-secondary hover:bg-secondary/80 focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
5
|
-
"outline": "border border-
|
|
5
|
+
"outline": "border border-border bg-secondary text-ink hover:bg-[image:linear-gradient(var(--hover),var(--hover))]",
|
|
6
6
|
"ghost": "hover:bg-hover hover:text-ink",
|
|
7
|
-
"destructive": "bg-
|
|
7
|
+
"destructive": "border border-button-danger-border bg-button-danger-bg text-button-danger-ink hover:bg-button-danger-hover focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
8
8
|
"link": "text-primary-ink underline-offset-4 hover:underline"
|
|
9
9
|
};
|
|
10
10
|
const buttonSizeClasses = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/button.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BUTTON_BASE = \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[var(--control-radius)] text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/button.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const BUTTON_BASE = \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[var(--control-radius)] text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:opacity-40 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-accent-error/20 aria-invalid:border-accent-error\";\n\nexport const buttonVariantClasses = {\n \"primary\": \"bg-primary text-on-primary hover:bg-primary-hover focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\",\n \"secondary\": \"bg-secondary text-on-secondary hover:bg-secondary/80 focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\",\n \"outline\": \"border border-border bg-secondary text-ink hover:bg-[image:linear-gradient(var(--hover),var(--hover))]\",\n \"ghost\": \"hover:bg-hover hover:text-ink\",\n \"destructive\": \"border border-button-danger-border bg-button-danger-bg text-button-danger-ink hover:bg-button-danger-hover focus-visible:ring-0 focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring\",\n \"link\": \"text-primary-ink underline-offset-4 hover:underline\",\n} as const;\nexport type ButtonVariant = keyof typeof buttonVariantClasses;\n\nexport const buttonSizeClasses = {\n \"xs\": \"h-7 gap-1 px-2 text-xs has-[>svg]:px-1.5\",\n \"sm\": \"h-8 gap-1.5 px-3 has-[>svg]:px-2.5\",\n \"md\": \"h-9 px-4 py-[var(--control-py)] has-[>svg]:px-3\",\n \"lg\": \"h-10 px-6 has-[>svg]:px-4\",\n \"xl\": \"px-[var(--control-px)] py-[var(--control-py)] text-[length:var(--control-text)]\",\n \"touch\": \"min-h-11 px-6 has-[>svg]:px-4\",\n} as const;\nexport type ButtonSize = keyof typeof buttonSizeClasses;\n\nexport const buttonIconSizeClasses = {\n \"xs\": \"h-7 aspect-square px-0\",\n \"sm\": \"h-8 aspect-square px-0\",\n \"md\": \"h-9 aspect-square px-0\",\n \"lg\": \"h-10 aspect-square px-0\",\n \"xl\": \"aspect-square p-[var(--control-py)]\",\n \"touch\": \"size-11 px-0\",\n} as const;\nexport type ButtonIconSize = keyof typeof buttonIconSizeClasses;\n"],"mappings":"AAEO,MAAM,cAAc;AAEpB,MAAM,uBAAuB;AAAA,EAClC,WAAW;AAAA,EACX,aAAa;AAAA,EACb,WAAW;AAAA,EACX,SAAS;AAAA,EACT,eAAe;AAAA,EACf,QAAQ;AACV;AAGO,MAAM,oBAAoB;AAAA,EAC/B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,SAAS;AACX;AAGO,MAAM,wBAAwB;AAAA,EACnC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,SAAS;AACX;","names":[]}
|
package/dist/generated/card.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const CARD = "bg-card text-ink flex flex-col gap-
|
|
2
|
-
const CARD_HEADER = "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-
|
|
3
|
-
const CARD_TITLE = "
|
|
4
|
-
const CARD_DESCRIPTION = "text-ink-
|
|
1
|
+
const CARD = "bg-card text-ink flex flex-col gap-4 rounded-lg border border-border py-4 shadow-card";
|
|
2
|
+
const CARD_HEADER = "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-4";
|
|
3
|
+
const CARD_TITLE = "text-h3 text-ink font-medium";
|
|
4
|
+
const CARD_DESCRIPTION = "text-ink-mid text-body";
|
|
5
5
|
const CARD_ACTION = "col-start-2 row-span-2 row-start-1 self-start justify-self-end";
|
|
6
|
-
const CARD_CONTENT = "px-
|
|
7
|
-
const CARD_FOOTER = "flex items-center px-
|
|
6
|
+
const CARD_CONTENT = "px-4";
|
|
7
|
+
const CARD_FOOTER = "flex items-center px-4 [.border-t]:pt-4";
|
|
8
8
|
export {
|
|
9
9
|
CARD,
|
|
10
10
|
CARD_ACTION,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/card.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const CARD = \"bg-card text-ink flex flex-col gap-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/card.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const CARD = \"bg-card text-ink flex flex-col gap-4 rounded-lg border border-border py-4 shadow-card\";\n\nexport const CARD_HEADER = \"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-4\";\n\nexport const CARD_TITLE = \"text-h3 text-ink font-medium\";\n\nexport const CARD_DESCRIPTION = \"text-ink-mid text-body\";\n\nexport const CARD_ACTION = \"col-start-2 row-span-2 row-start-1 self-start justify-self-end\";\n\nexport const CARD_CONTENT = \"px-4\";\n\nexport const CARD_FOOTER = \"flex items-center px-4 [.border-t]:pt-4\";\n"],"mappings":"AAEO,MAAM,OAAO;AAEb,MAAM,cAAc;AAEpB,MAAM,aAAa;AAEnB,MAAM,mBAAmB;AAEzB,MAAM,cAAc;AAEpB,MAAM,eAAe;AAErB,MAAM,cAAc;","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const MODEL_CHIP_BASE = "inline-flex h-6.5 items-center gap-1 rounded-(--control-radius) border border-border py-1 pl-2 pr-1.5 text-body-s text-ink-mid outline-none hover:bg-hover focus-visible:ring-2 focus-visible:ring-ring";
|
|
2
|
+
const CHAT_COMPOSER_BASE = "flex flex-col gap-2 rounded-lg border bg-card px-3 pb-2.5 pt-3 focus-within:ring-2 focus-within:ring-ring";
|
|
3
|
+
const CHAT_COMPOSER_STREAMING = "border-border";
|
|
4
|
+
const CHAT_COMPOSER_IDLE = "border-border-strong";
|
|
5
|
+
const CHAT_COMPOSER_ATTACHMENTS = "flex flex-wrap gap-2";
|
|
6
|
+
const CHAT_COMPOSER_FIELD = "max-h-40 min-h-6 resize-none border-0 bg-transparent p-0 focus-visible:ring-0";
|
|
7
|
+
const CHAT_COMPOSER_TOOLBAR = "flex items-center gap-1.5";
|
|
8
|
+
const CHAT_COMPOSER_SPACER = "flex-1";
|
|
9
|
+
const CHAT_COMPOSER_HINT = "hidden text-caption text-ink-soft sm:inline";
|
|
10
|
+
export {
|
|
11
|
+
CHAT_COMPOSER_ATTACHMENTS,
|
|
12
|
+
CHAT_COMPOSER_BASE,
|
|
13
|
+
CHAT_COMPOSER_FIELD,
|
|
14
|
+
CHAT_COMPOSER_HINT,
|
|
15
|
+
CHAT_COMPOSER_IDLE,
|
|
16
|
+
CHAT_COMPOSER_SPACER,
|
|
17
|
+
CHAT_COMPOSER_STREAMING,
|
|
18
|
+
CHAT_COMPOSER_TOOLBAR,
|
|
19
|
+
MODEL_CHIP_BASE
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=chat-composer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/generated/chat-composer.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const MODEL_CHIP_BASE = \"inline-flex h-6.5 items-center gap-1 rounded-(--control-radius) border border-border py-1 pl-2 pr-1.5 text-body-s text-ink-mid outline-none hover:bg-hover focus-visible:ring-2 focus-visible:ring-ring\";\n\nexport const CHAT_COMPOSER_BASE = \"flex flex-col gap-2 rounded-lg border bg-card px-3 pb-2.5 pt-3 focus-within:ring-2 focus-within:ring-ring\";\n\nexport const CHAT_COMPOSER_STREAMING = \"border-border\";\n\nexport const CHAT_COMPOSER_IDLE = \"border-border-strong\";\n\nexport const CHAT_COMPOSER_ATTACHMENTS = \"flex flex-wrap gap-2\";\n\nexport const CHAT_COMPOSER_FIELD = \"max-h-40 min-h-6 resize-none border-0 bg-transparent p-0 focus-visible:ring-0\";\n\nexport const CHAT_COMPOSER_TOOLBAR = \"flex items-center gap-1.5\";\n\nexport const CHAT_COMPOSER_SPACER = \"flex-1\";\n\nexport const CHAT_COMPOSER_HINT = \"hidden text-caption text-ink-soft sm:inline\";\n"],"mappings":"AAEO,MAAM,kBAAkB;AAExB,MAAM,qBAAqB;AAE3B,MAAM,0BAA0B;AAEhC,MAAM,qBAAqB;AAE3B,MAAM,4BAA4B;AAElC,MAAM,sBAAsB;AAE5B,MAAM,wBAAwB;AAE9B,MAAM,uBAAuB;AAE7B,MAAM,qBAAqB;","names":[]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
const CHAT_BUBBLE_BASE = "min-w-0 break-words whitespace-pre-wrap text-body text-ink";
|
|
2
|
+
const chatBubbleVariantClasses = {
|
|
3
|
+
"user": "max-w-105 rounded-lg border border-border bg-secondary px-3.5 py-2.5",
|
|
4
|
+
"assistant": "py-0.5",
|
|
5
|
+
"muted": "max-w-105 rounded-lg border border-border-subtle bg-muted px-3.5 py-2.5"
|
|
6
|
+
};
|
|
7
|
+
const CHAT_MESSAGE_BASE = "flex gap-3";
|
|
8
|
+
const CHAT_MESSAGE_USER = "justify-end";
|
|
9
|
+
const CHAT_MESSAGE_AVATAR = "shrink-0";
|
|
10
|
+
const CHAT_MESSAGE_AVATAR_TILE = "flex size-7 items-center justify-center rounded-(--control-radius) border border-border bg-secondary text-ink-mid";
|
|
11
|
+
const CHAT_MESSAGE_BODY = "flex min-w-0 flex-col gap-1.5";
|
|
12
|
+
const CHAT_MESSAGE_BODY_USER = "max-w-105 items-end";
|
|
13
|
+
const CHAT_MESSAGE_BODY_ASSISTANT = "flex-1";
|
|
14
|
+
const CHAT_MESSAGE_HEADER = "flex items-baseline gap-2";
|
|
15
|
+
const CHAT_MESSAGE_NAME = "text-body-s font-medium text-ink";
|
|
16
|
+
const CHAT_MESSAGE_TIME = "text-caption text-ink-soft";
|
|
17
|
+
const CHAT_MARKER_SEPARATOR = "flex items-center gap-3";
|
|
18
|
+
const CHAT_MARKER_RULE = "h-px flex-1 bg-border";
|
|
19
|
+
const CHAT_MARKER_SEPARATOR_LABEL = "text-caption text-ink-soft";
|
|
20
|
+
const CHAT_MARKER_STATUS = "flex items-center gap-2 text-body-s text-ink-soft";
|
|
21
|
+
const CHAT_MARKER_DOT = "size-1.5 rounded-full";
|
|
22
|
+
const chatStatusDotClasses = {
|
|
23
|
+
"running": "bg-primary-ink motion-safe:animate-pulse",
|
|
24
|
+
"done": "bg-ink-soft"
|
|
25
|
+
};
|
|
26
|
+
const CHAT_MARKER_TOOL = "flex items-center gap-2.5 rounded-(--control-radius) border bg-card px-2.5 py-2";
|
|
27
|
+
const CHAT_MARKER_TOOL_BORDER = "border-border";
|
|
28
|
+
const CHAT_MARKER_TOOL_ERROR_BORDER = "border-chip-error-border";
|
|
29
|
+
const CHAT_MARKER_TOOL_ICON = "size-4 shrink-0 text-ink-mid";
|
|
30
|
+
const CHAT_MARKER_TOOL_CHECK = "size-4 shrink-0 text-ink-soft";
|
|
31
|
+
const CHAT_MARKER_TOOL_BODY = "flex min-w-0 flex-1 flex-col gap-px";
|
|
32
|
+
const CHAT_MARKER_TOOL_TITLE = "truncate text-body-s font-medium text-ink";
|
|
33
|
+
const CHAT_MARKER_TOOL_DETAIL = "truncate text-body-s tabular-nums text-ink-soft";
|
|
34
|
+
const CHAT_MARKER_TOOL_META = "shrink-0 text-caption";
|
|
35
|
+
const chatToolMetaClasses = {
|
|
36
|
+
"running": "text-primary-ink",
|
|
37
|
+
"done": "text-ink-soft",
|
|
38
|
+
"error": "text-accent-error"
|
|
39
|
+
};
|
|
40
|
+
const CHAT_ATTACHMENT_BASE = "flex w-60 max-w-full flex-col overflow-hidden rounded-(--control-radius) border border-border bg-card";
|
|
41
|
+
const CHAT_ATTACHMENT_ROW = "flex items-center gap-2.5 p-2";
|
|
42
|
+
const CHAT_ATTACHMENT_ICON = "flex size-9 shrink-0 items-center justify-center rounded-(--control-radius) border border-border-subtle bg-muted text-ink-mid";
|
|
43
|
+
const CHAT_ATTACHMENT_BODY = "flex min-w-0 flex-1 flex-col gap-px";
|
|
44
|
+
const CHAT_ATTACHMENT_NAME = "truncate text-body-s font-medium text-ink";
|
|
45
|
+
const CHAT_ATTACHMENT_META = "truncate text-caption text-ink-soft";
|
|
46
|
+
const CHAT_ATTACHMENT_PROGRESS = "h-0.5 bg-border-subtle";
|
|
47
|
+
const CHAT_ATTACHMENT_PROGRESS_FILL = "h-full bg-primary";
|
|
48
|
+
export {
|
|
49
|
+
CHAT_ATTACHMENT_BASE,
|
|
50
|
+
CHAT_ATTACHMENT_BODY,
|
|
51
|
+
CHAT_ATTACHMENT_ICON,
|
|
52
|
+
CHAT_ATTACHMENT_META,
|
|
53
|
+
CHAT_ATTACHMENT_NAME,
|
|
54
|
+
CHAT_ATTACHMENT_PROGRESS,
|
|
55
|
+
CHAT_ATTACHMENT_PROGRESS_FILL,
|
|
56
|
+
CHAT_ATTACHMENT_ROW,
|
|
57
|
+
CHAT_BUBBLE_BASE,
|
|
58
|
+
CHAT_MARKER_DOT,
|
|
59
|
+
CHAT_MARKER_RULE,
|
|
60
|
+
CHAT_MARKER_SEPARATOR,
|
|
61
|
+
CHAT_MARKER_SEPARATOR_LABEL,
|
|
62
|
+
CHAT_MARKER_STATUS,
|
|
63
|
+
CHAT_MARKER_TOOL,
|
|
64
|
+
CHAT_MARKER_TOOL_BODY,
|
|
65
|
+
CHAT_MARKER_TOOL_BORDER,
|
|
66
|
+
CHAT_MARKER_TOOL_CHECK,
|
|
67
|
+
CHAT_MARKER_TOOL_DETAIL,
|
|
68
|
+
CHAT_MARKER_TOOL_ERROR_BORDER,
|
|
69
|
+
CHAT_MARKER_TOOL_ICON,
|
|
70
|
+
CHAT_MARKER_TOOL_META,
|
|
71
|
+
CHAT_MARKER_TOOL_TITLE,
|
|
72
|
+
CHAT_MESSAGE_AVATAR,
|
|
73
|
+
CHAT_MESSAGE_AVATAR_TILE,
|
|
74
|
+
CHAT_MESSAGE_BASE,
|
|
75
|
+
CHAT_MESSAGE_BODY,
|
|
76
|
+
CHAT_MESSAGE_BODY_ASSISTANT,
|
|
77
|
+
CHAT_MESSAGE_BODY_USER,
|
|
78
|
+
CHAT_MESSAGE_HEADER,
|
|
79
|
+
CHAT_MESSAGE_NAME,
|
|
80
|
+
CHAT_MESSAGE_TIME,
|
|
81
|
+
CHAT_MESSAGE_USER,
|
|
82
|
+
chatBubbleVariantClasses,
|
|
83
|
+
chatStatusDotClasses,
|
|
84
|
+
chatToolMetaClasses
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=chat-message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/generated/chat-message.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const CHAT_BUBBLE_BASE = \"min-w-0 break-words whitespace-pre-wrap text-body text-ink\";\n\nexport const chatBubbleVariantClasses = {\n \"user\": \"max-w-105 rounded-lg border border-border bg-secondary px-3.5 py-2.5\",\n \"assistant\": \"py-0.5\",\n \"muted\": \"max-w-105 rounded-lg border border-border-subtle bg-muted px-3.5 py-2.5\",\n} as const;\nexport type ChatBubbleVariant = keyof typeof chatBubbleVariantClasses;\n\nexport const CHAT_MESSAGE_BASE = \"flex gap-3\";\n\nexport const CHAT_MESSAGE_USER = \"justify-end\";\n\nexport const CHAT_MESSAGE_AVATAR = \"shrink-0\";\n\nexport const CHAT_MESSAGE_AVATAR_TILE = \"flex size-7 items-center justify-center rounded-(--control-radius) border border-border bg-secondary text-ink-mid\";\n\nexport const CHAT_MESSAGE_BODY = \"flex min-w-0 flex-col gap-1.5\";\n\nexport const CHAT_MESSAGE_BODY_USER = \"max-w-105 items-end\";\n\nexport const CHAT_MESSAGE_BODY_ASSISTANT = \"flex-1\";\n\nexport const CHAT_MESSAGE_HEADER = \"flex items-baseline gap-2\";\n\nexport const CHAT_MESSAGE_NAME = \"text-body-s font-medium text-ink\";\n\nexport const CHAT_MESSAGE_TIME = \"text-caption text-ink-soft\";\n\nexport const CHAT_MARKER_SEPARATOR = \"flex items-center gap-3\";\n\nexport const CHAT_MARKER_RULE = \"h-px flex-1 bg-border\";\n\nexport const CHAT_MARKER_SEPARATOR_LABEL = \"text-caption text-ink-soft\";\n\nexport const CHAT_MARKER_STATUS = \"flex items-center gap-2 text-body-s text-ink-soft\";\n\nexport const CHAT_MARKER_DOT = \"size-1.5 rounded-full\";\n\nexport const chatStatusDotClasses = {\n \"running\": \"bg-primary-ink motion-safe:animate-pulse\",\n \"done\": \"bg-ink-soft\",\n} as const;\nexport type ChatStatusState = keyof typeof chatStatusDotClasses;\n\nexport const CHAT_MARKER_TOOL = \"flex items-center gap-2.5 rounded-(--control-radius) border bg-card px-2.5 py-2\";\n\nexport const CHAT_MARKER_TOOL_BORDER = \"border-border\";\n\nexport const CHAT_MARKER_TOOL_ERROR_BORDER = \"border-chip-error-border\";\n\nexport const CHAT_MARKER_TOOL_ICON = \"size-4 shrink-0 text-ink-mid\";\n\nexport const CHAT_MARKER_TOOL_CHECK = \"size-4 shrink-0 text-ink-soft\";\n\nexport const CHAT_MARKER_TOOL_BODY = \"flex min-w-0 flex-1 flex-col gap-px\";\n\nexport const CHAT_MARKER_TOOL_TITLE = \"truncate text-body-s font-medium text-ink\";\n\nexport const CHAT_MARKER_TOOL_DETAIL = \"truncate text-body-s tabular-nums text-ink-soft\";\n\nexport const CHAT_MARKER_TOOL_META = \"shrink-0 text-caption\";\n\nexport const chatToolMetaClasses = {\n \"running\": \"text-primary-ink\",\n \"done\": \"text-ink-soft\",\n \"error\": \"text-accent-error\",\n} as const;\nexport type ChatToolState = keyof typeof chatToolMetaClasses;\n\nexport const CHAT_ATTACHMENT_BASE = \"flex w-60 max-w-full flex-col overflow-hidden rounded-(--control-radius) border border-border bg-card\";\n\nexport const CHAT_ATTACHMENT_ROW = \"flex items-center gap-2.5 p-2\";\n\nexport const CHAT_ATTACHMENT_ICON = \"flex size-9 shrink-0 items-center justify-center rounded-(--control-radius) border border-border-subtle bg-muted text-ink-mid\";\n\nexport const CHAT_ATTACHMENT_BODY = \"flex min-w-0 flex-1 flex-col gap-px\";\n\nexport const CHAT_ATTACHMENT_NAME = \"truncate text-body-s font-medium text-ink\";\n\nexport const CHAT_ATTACHMENT_META = \"truncate text-caption text-ink-soft\";\n\nexport const CHAT_ATTACHMENT_PROGRESS = \"h-0.5 bg-border-subtle\";\n\nexport const CHAT_ATTACHMENT_PROGRESS_FILL = \"h-full bg-primary\";\n"],"mappings":"AAEO,MAAM,mBAAmB;AAEzB,MAAM,2BAA2B;AAAA,EACtC,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,SAAS;AACX;AAGO,MAAM,oBAAoB;AAE1B,MAAM,oBAAoB;AAE1B,MAAM,sBAAsB;AAE5B,MAAM,2BAA2B;AAEjC,MAAM,oBAAoB;AAE1B,MAAM,yBAAyB;AAE/B,MAAM,8BAA8B;AAEpC,MAAM,sBAAsB;AAE5B,MAAM,oBAAoB;AAE1B,MAAM,oBAAoB;AAE1B,MAAM,wBAAwB;AAE9B,MAAM,mBAAmB;AAEzB,MAAM,8BAA8B;AAEpC,MAAM,qBAAqB;AAE3B,MAAM,kBAAkB;AAExB,MAAM,uBAAuB;AAAA,EAClC,WAAW;AAAA,EACX,QAAQ;AACV;AAGO,MAAM,mBAAmB;AAEzB,MAAM,0BAA0B;AAEhC,MAAM,gCAAgC;AAEtC,MAAM,wBAAwB;AAE9B,MAAM,yBAAyB;AAE/B,MAAM,wBAAwB;AAE9B,MAAM,yBAAyB;AAE/B,MAAM,0BAA0B;AAEhC,MAAM,wBAAwB;AAE9B,MAAM,sBAAsB;AAAA,EACjC,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,SAAS;AACX;AAGO,MAAM,uBAAuB;AAE7B,MAAM,sBAAsB;AAE5B,MAAM,uBAAuB;AAE7B,MAAM,uBAAuB;AAE7B,MAAM,uBAAuB;AAE7B,MAAM,uBAAuB;AAE7B,MAAM,2BAA2B;AAEjC,MAAM,gCAAgC;","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const CHAT_TYPING_BASE = "inline-flex h-6 items-center gap-1 text-ink-soft";
|
|
2
|
+
const CHAT_TYPING_DOT = "size-1.5 rounded-full bg-current";
|
|
3
|
+
const CHAT_TYPING_STILL = "text-body leading-none";
|
|
4
|
+
export {
|
|
5
|
+
CHAT_TYPING_BASE,
|
|
6
|
+
CHAT_TYPING_DOT,
|
|
7
|
+
CHAT_TYPING_STILL
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=chat-typing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/generated/chat-typing.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const CHAT_TYPING_BASE = \"inline-flex h-6 items-center gap-1 text-ink-soft\";\n\nexport const CHAT_TYPING_DOT = \"size-1.5 rounded-full bg-current\";\n\nexport const CHAT_TYPING_STILL = \"text-body leading-none\";\n"],"mappings":"AAEO,MAAM,mBAAmB;AAEzB,MAAM,kBAAkB;AAExB,MAAM,oBAAoB;","names":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const COMMAND_PALETTE_CONTENT = "top-1/6 max-w-[calc(100%-2rem)] translate-y-0 gap-0 overflow-hidden bg-popover p-0 sm:max-w-105";
|
|
2
|
+
const COMMAND_PALETTE_TITLE = "sr-only";
|
|
3
|
+
const COMMAND_PALETTE_COMMAND = "bg-transparent";
|
|
4
|
+
const COMMAND_PALETTE_LIST = "max-h-72";
|
|
5
|
+
const COMMAND_PALETTE_LABEL = "min-w-0 flex-1 truncate";
|
|
6
|
+
const COMMAND_PALETTE_HINTS = "flex items-center gap-3 border-t border-border-subtle px-2 py-1 text-caption text-ink-soft";
|
|
7
|
+
const COMMAND_PALETTE_HINT = "inline-flex items-center gap-1.5";
|
|
8
|
+
export {
|
|
9
|
+
COMMAND_PALETTE_COMMAND,
|
|
10
|
+
COMMAND_PALETTE_CONTENT,
|
|
11
|
+
COMMAND_PALETTE_HINT,
|
|
12
|
+
COMMAND_PALETTE_HINTS,
|
|
13
|
+
COMMAND_PALETTE_LABEL,
|
|
14
|
+
COMMAND_PALETTE_LIST,
|
|
15
|
+
COMMAND_PALETTE_TITLE
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=command-palette.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/generated/command-palette.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const COMMAND_PALETTE_CONTENT = \"top-1/6 max-w-[calc(100%-2rem)] translate-y-0 gap-0 overflow-hidden bg-popover p-0 sm:max-w-105\";\n\nexport const COMMAND_PALETTE_TITLE = \"sr-only\";\n\nexport const COMMAND_PALETTE_COMMAND = \"bg-transparent\";\n\nexport const COMMAND_PALETTE_LIST = \"max-h-72\";\n\nexport const COMMAND_PALETTE_LABEL = \"min-w-0 flex-1 truncate\";\n\nexport const COMMAND_PALETTE_HINTS = \"flex items-center gap-3 border-t border-border-subtle px-2 py-1 text-caption text-ink-soft\";\n\nexport const COMMAND_PALETTE_HINT = \"inline-flex items-center gap-1.5\";\n"],"mappings":"AAEO,MAAM,0BAA0B;AAEhC,MAAM,wBAAwB;AAE9B,MAAM,0BAA0B;AAEhC,MAAM,uBAAuB;AAE7B,MAAM,wBAAwB;AAE9B,MAAM,wBAAwB;AAE9B,MAAM,uBAAuB;","names":[]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const COMMAND_ROOT = "bg-popover text-ink flex h-full w-full flex-col overflow-hidden rounded-md";
|
|
2
|
-
const COMMAND_DIALOG_OVERLAY = "fixed inset-0 z-50 bg-
|
|
2
|
+
const COMMAND_DIALOG_OVERLAY = "fixed inset-0 z-50 bg-scrim";
|
|
3
3
|
const COMMAND_DIALOG_CONTENT = "fixed top-1/2 left-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 overflow-hidden rounded-lg border border-border p-0 shadow-lg";
|
|
4
4
|
const COMMAND_DIALOG_COMMAND = "[&_[data-slot=command-input-wrapper]]:h-12 [&_[data-slot=command-input]]:h-12";
|
|
5
5
|
const COMMAND_INPUT_WRAPPER = "flex h-9 items-center gap-2 border-b border-border px-3 has-[[aria-invalid=true]]:border-accent-error";
|
|
6
6
|
const COMMAND_INPUT = "placeholder:text-ink-soft flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50";
|
|
7
|
-
const COMMAND_LIST = "
|
|
7
|
+
const COMMAND_LIST = "flex max-h-[300px] scroll-py-1 flex-col overflow-x-hidden overflow-y-auto [&>*]:shrink-0";
|
|
8
8
|
const COMMAND_EMPTY = "py-6 text-center text-sm";
|
|
9
9
|
const COMMAND_GROUP = "grid text-ink [&_[data-slot=command-group-heading]]:text-ink-soft overflow-hidden p-1 [&>[data-slot=command-group-heading]]:order-first [&_[data-slot=command-group-heading]]:px-2 [&_[data-slot=command-group-heading]]:py-1.5 [&_[data-slot=command-group-heading]]:text-xs [&_[data-slot=command-group-heading]]:font-medium";
|
|
10
10
|
const COMMAND_ITEM = "data-[selected=true]:bg-hover data-[selected=true]:text-ink [&_svg:not([class*='text-'])]:text-ink-soft relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/command.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const COMMAND_ROOT = \"bg-popover text-ink flex h-full w-full flex-col overflow-hidden rounded-md\";\n\nexport const COMMAND_DIALOG_OVERLAY = \"fixed inset-0 z-50 bg-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/command.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const COMMAND_ROOT = \"bg-popover text-ink flex h-full w-full flex-col overflow-hidden rounded-md\";\n\nexport const COMMAND_DIALOG_OVERLAY = \"fixed inset-0 z-50 bg-scrim\";\n\nexport const COMMAND_DIALOG_CONTENT = \"fixed top-1/2 left-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 overflow-hidden rounded-lg border border-border p-0 shadow-lg\";\n\nexport const COMMAND_DIALOG_COMMAND = \"[&_[data-slot=command-input-wrapper]]:h-12 [&_[data-slot=command-input]]:h-12\";\n\nexport const COMMAND_INPUT_WRAPPER = \"flex h-9 items-center gap-2 border-b border-border px-3 has-[[aria-invalid=true]]:border-accent-error\";\n\nexport const COMMAND_INPUT = \"placeholder:text-ink-soft flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50\";\n\nexport const COMMAND_LIST = \"flex max-h-[300px] scroll-py-1 flex-col overflow-x-hidden overflow-y-auto [&>*]:shrink-0\";\n\nexport const COMMAND_EMPTY = \"py-6 text-center text-sm\";\n\nexport const COMMAND_GROUP = \"grid text-ink [&_[data-slot=command-group-heading]]:text-ink-soft overflow-hidden p-1 [&>[data-slot=command-group-heading]]:order-first [&_[data-slot=command-group-heading]]:px-2 [&_[data-slot=command-group-heading]]:py-1.5 [&_[data-slot=command-group-heading]]:text-xs [&_[data-slot=command-group-heading]]:font-medium\";\n\nexport const COMMAND_ITEM = \"data-[selected=true]:bg-hover data-[selected=true]:text-ink [&_svg:not([class*='text-'])]:text-ink-soft relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\";\n\nexport const COMMAND_SEPARATOR = \"bg-border -mx-1 h-px\";\n\nexport const COMMAND_SHORTCUT = \"text-ink-soft ml-auto text-xs tracking-widest\";\n"],"mappings":"AAEO,MAAM,eAAe;AAErB,MAAM,yBAAyB;AAE/B,MAAM,yBAAyB;AAE/B,MAAM,yBAAyB;AAE/B,MAAM,wBAAwB;AAE9B,MAAM,gBAAgB;AAEtB,MAAM,eAAe;AAErB,MAAM,gBAAgB;AAEtB,MAAM,gBAAgB;AAEtB,MAAM,eAAe;AAErB,MAAM,oBAAoB;AAE1B,MAAM,mBAAmB;","names":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const CONFIRM_DIALOG_CONTENT = "max-w-105 gap-4 bg-popover p-5";
|
|
2
|
+
const CONFIRM_DIALOG_HEADER = "flex-row gap-3 text-left";
|
|
3
|
+
const CONFIRM_DIALOG_ICON = "flex size-8 shrink-0 items-center justify-center rounded-(--control-radius)";
|
|
4
|
+
const CONFIRM_DIALOG_TEXT = "flex min-w-0 flex-col gap-1";
|
|
5
|
+
const CONFIRM_DIALOG_TITLE = "text-h3 font-medium text-ink";
|
|
6
|
+
const CONFIRM_DIALOG_DESCRIPTION = "text-body text-ink-mid";
|
|
7
|
+
const CONFIRM_DIALOG_ERROR = "text-body text-accent-error";
|
|
8
|
+
const CONFIRM_DIALOG_FOOTER = "flex-row justify-end gap-2";
|
|
9
|
+
const CONFIRM_DIALOG_PENDING = "aria-disabled:cursor-not-allowed aria-disabled:opacity-40";
|
|
10
|
+
const CONFIRM_DIALOG_SPINNER = "size-3.5";
|
|
11
|
+
const confirmDialogIconToneClasses = {
|
|
12
|
+
"default": "bg-muted text-ink-mid",
|
|
13
|
+
"danger": "bg-chip-error-bg text-accent-error"
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
CONFIRM_DIALOG_CONTENT,
|
|
17
|
+
CONFIRM_DIALOG_DESCRIPTION,
|
|
18
|
+
CONFIRM_DIALOG_ERROR,
|
|
19
|
+
CONFIRM_DIALOG_FOOTER,
|
|
20
|
+
CONFIRM_DIALOG_HEADER,
|
|
21
|
+
CONFIRM_DIALOG_ICON,
|
|
22
|
+
CONFIRM_DIALOG_PENDING,
|
|
23
|
+
CONFIRM_DIALOG_SPINNER,
|
|
24
|
+
CONFIRM_DIALOG_TEXT,
|
|
25
|
+
CONFIRM_DIALOG_TITLE,
|
|
26
|
+
confirmDialogIconToneClasses
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=confirm-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/generated/confirm-dialog.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const CONFIRM_DIALOG_CONTENT = \"max-w-105 gap-4 bg-popover p-5\";\n\nexport const CONFIRM_DIALOG_HEADER = \"flex-row gap-3 text-left\";\n\nexport const CONFIRM_DIALOG_ICON = \"flex size-8 shrink-0 items-center justify-center rounded-(--control-radius)\";\n\nexport const CONFIRM_DIALOG_TEXT = \"flex min-w-0 flex-col gap-1\";\n\nexport const CONFIRM_DIALOG_TITLE = \"text-h3 font-medium text-ink\";\n\nexport const CONFIRM_DIALOG_DESCRIPTION = \"text-body text-ink-mid\";\n\nexport const CONFIRM_DIALOG_ERROR = \"text-body text-accent-error\";\n\nexport const CONFIRM_DIALOG_FOOTER = \"flex-row justify-end gap-2\";\n\nexport const CONFIRM_DIALOG_PENDING = \"aria-disabled:cursor-not-allowed aria-disabled:opacity-40\";\n\nexport const CONFIRM_DIALOG_SPINNER = \"size-3.5\";\n\nexport const confirmDialogIconToneClasses = {\n \"default\": \"bg-muted text-ink-mid\",\n \"danger\": \"bg-chip-error-bg text-accent-error\",\n} as const;\nexport type ConfirmDialogTone = keyof typeof confirmDialogIconToneClasses;\n"],"mappings":"AAEO,MAAM,yBAAyB;AAE/B,MAAM,wBAAwB;AAE9B,MAAM,sBAAsB;AAE5B,MAAM,sBAAsB;AAE5B,MAAM,uBAAuB;AAE7B,MAAM,6BAA6B;AAEnC,MAAM,uBAAuB;AAE7B,MAAM,wBAAwB;AAE9B,MAAM,yBAAyB;AAE/B,MAAM,yBAAyB;AAE/B,MAAM,+BAA+B;AAAA,EAC1C,WAAW;AAAA,EACX,UAAU;AACZ;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const CONTEXT_MENU_CONTENT = "bg-popover text-ink data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-border p-1 shadow-md";
|
|
2
2
|
const CONTEXT_MENU_SUB_CONTENT = "bg-popover text-ink data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border border-border p-1 shadow-lg";
|
|
3
|
-
const CONTEXT_MENU_ITEM = "focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring data-[variant=destructive]:text-accent-error
|
|
3
|
+
const CONTEXT_MENU_ITEM = "focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring data-[variant=destructive]:text-accent-error data-[variant=destructive]:focus:bg-accent-error/10 data-[variant=destructive]:focus:text-accent-error data-[variant=destructive]:*:[svg]:!text-accent-error [&_svg:not([class*='text-'])]:text-ink-soft relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
4
4
|
const CONTEXT_MENU_CHECK_ITEM = "focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
5
5
|
const CONTEXT_MENU_SUB_TRIGGER = "focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring data-[state=open]:bg-hover data-[state=open]:text-ink [&_svg:not([class*='text-'])]:text-ink-soft flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
6
6
|
const CONTEXT_MENU_LABEL = "text-ink px-2 py-1.5 text-sm font-medium data-[inset]:pl-8";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/context-menu.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const CONTEXT_MENU_CONTENT = \"bg-popover text-ink data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-border p-1 shadow-md\";\n\nexport const CONTEXT_MENU_SUB_CONTENT = \"bg-popover text-ink data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border border-border p-1 shadow-lg\";\n\nexport const CONTEXT_MENU_ITEM = \"focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring data-[variant=destructive]:text-accent-error
|
|
1
|
+
{"version":3,"sources":["../../src/generated/context-menu.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const CONTEXT_MENU_CONTENT = \"bg-popover text-ink data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-border p-1 shadow-md\";\n\nexport const CONTEXT_MENU_SUB_CONTENT = \"bg-popover text-ink data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border border-border p-1 shadow-lg\";\n\nexport const CONTEXT_MENU_ITEM = \"focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring data-[variant=destructive]:text-accent-error data-[variant=destructive]:focus:bg-accent-error/10 data-[variant=destructive]:focus:text-accent-error data-[variant=destructive]:*:[svg]:!text-accent-error [&_svg:not([class*='text-'])]:text-ink-soft relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\";\n\nexport const CONTEXT_MENU_CHECK_ITEM = \"focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\";\n\nexport const CONTEXT_MENU_SUB_TRIGGER = \"focus:bg-hover focus:text-ink focus-visible:inset-ring-2 focus-visible:inset-ring-ring data-[state=open]:bg-hover data-[state=open]:text-ink [&_svg:not([class*='text-'])]:text-ink-soft flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\";\n\nexport const CONTEXT_MENU_LABEL = \"text-ink px-2 py-1.5 text-sm font-medium data-[inset]:pl-8\";\n\nexport const CONTEXT_MENU_SEPARATOR = \"bg-border -mx-1 my-1 h-px\";\n\nexport const CONTEXT_MENU_SHORTCUT = \"text-ink-soft ml-auto text-xs tracking-widest\";\n"],"mappings":"AAEO,MAAM,uBAAuB;AAE7B,MAAM,2BAA2B;AAEjC,MAAM,oBAAoB;AAE1B,MAAM,0BAA0B;AAEhC,MAAM,2BAA2B;AAEjC,MAAM,qBAAqB;AAE3B,MAAM,yBAAyB;AAE/B,MAAM,wBAAwB;","names":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const DATE_TIME_PICKER_TRIGGER = "w-full justify-start gap-2 text-left font-normal data-[placeholder]:text-ink-soft [&>svg]:text-ink-soft";
|
|
1
|
+
const DATE_TIME_PICKER_TRIGGER = "border-input bg-transparent shadow-xs w-full justify-start gap-2 text-left font-normal data-[placeholder]:text-ink-soft [&>svg]:text-ink-soft";
|
|
2
2
|
const DATE_TIME_PICKER_CONTENT = "w-auto p-0";
|
|
3
3
|
const DATE_TIME_PICKER_TIME = "flex items-center gap-2 border-t border-border px-3 py-2";
|
|
4
4
|
const DATE_TIME_PICKER_TIME_INPUT = "w-14 text-center tabular-nums";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/date-time-picker.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const DATE_TIME_PICKER_TRIGGER = \"w-full justify-start gap-2 text-left font-normal data-[placeholder]:text-ink-soft [&>svg]:text-ink-soft\";\n\nexport const DATE_TIME_PICKER_CONTENT = \"w-auto p-0\";\n\nexport const DATE_TIME_PICKER_TIME = \"flex items-center gap-2 border-t border-border px-3 py-2\";\n\nexport const DATE_TIME_PICKER_TIME_INPUT = \"w-14 text-center tabular-nums\";\n\nexport const DATE_TIME_PICKER_TIME_SEPARATOR = \"text-ink-soft select-none\";\n\nexport const DATE_TIME_PICKER_CLEAR = \"ml-auto\";\n"],"mappings":"AAEO,MAAM,2BAA2B;AAEjC,MAAM,2BAA2B;AAEjC,MAAM,wBAAwB;AAE9B,MAAM,8BAA8B;AAEpC,MAAM,kCAAkC;AAExC,MAAM,yBAAyB;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/generated/date-time-picker.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const DATE_TIME_PICKER_TRIGGER = \"border-input bg-transparent shadow-xs w-full justify-start gap-2 text-left font-normal data-[placeholder]:text-ink-soft [&>svg]:text-ink-soft\";\n\nexport const DATE_TIME_PICKER_CONTENT = \"w-auto p-0\";\n\nexport const DATE_TIME_PICKER_TIME = \"flex items-center gap-2 border-t border-border px-3 py-2\";\n\nexport const DATE_TIME_PICKER_TIME_INPUT = \"w-14 text-center tabular-nums\";\n\nexport const DATE_TIME_PICKER_TIME_SEPARATOR = \"text-ink-soft select-none\";\n\nexport const DATE_TIME_PICKER_CLEAR = \"ml-auto\";\n"],"mappings":"AAEO,MAAM,2BAA2B;AAEjC,MAAM,2BAA2B;AAEjC,MAAM,wBAAwB;AAE9B,MAAM,8BAA8B;AAEpC,MAAM,kCAAkC;AAExC,MAAM,yBAAyB;","names":[]}
|
package/dist/generated/dialog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const DIALOG_OVERLAY = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 duration-200 data-[state=closed]:fill-mode-forwards data-[state=closed]:pointer-events-none fixed inset-0 z-50 bg-
|
|
1
|
+
const DIALOG_OVERLAY = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 duration-200 data-[state=closed]:fill-mode-forwards data-[state=closed]:pointer-events-none fixed inset-0 z-50 bg-scrim";
|
|
2
2
|
const DIALOG_CONTENT = "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-border p-6 shadow-lg duration-200 data-[state=closed]:fill-mode-forwards outline-hidden sm:max-w-lg";
|
|
3
3
|
const DIALOG_CLOSE = "ring-offset-background focus-visible:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
4
4
|
const DIALOG_HEADER = "flex flex-col gap-2 text-center sm:text-left";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/dialog.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const DIALOG_OVERLAY = \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 duration-200 data-[state=closed]:fill-mode-forwards data-[state=closed]:pointer-events-none fixed inset-0 z-50 bg-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/dialog.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const DIALOG_OVERLAY = \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 duration-200 data-[state=closed]:fill-mode-forwards data-[state=closed]:pointer-events-none fixed inset-0 z-50 bg-scrim\";\n\nexport const DIALOG_CONTENT = \"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-border p-6 shadow-lg duration-200 data-[state=closed]:fill-mode-forwards outline-hidden sm:max-w-lg\";\n\nexport const DIALOG_CLOSE = \"ring-offset-background focus-visible:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\";\n\nexport const DIALOG_HEADER = \"flex flex-col gap-2 text-center sm:text-left\";\n\nexport const DIALOG_FOOTER = \"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\";\n\nexport const DIALOG_TITLE = \"text-lg leading-none font-semibold\";\n\nexport const DIALOG_DESCRIPTION = \"text-ink-soft text-sm\";\n"],"mappings":"AAEO,MAAM,iBAAiB;AAEvB,MAAM,iBAAiB;AAEvB,MAAM,eAAe;AAErB,MAAM,gBAAgB;AAEtB,MAAM,gBAAgB;AAEtB,MAAM,eAAe;AAErB,MAAM,qBAAqB;","names":[]}
|
package/dist/generated/drawer.js
CHANGED
|
@@ -5,7 +5,7 @@ const drawerDirectionClasses = {
|
|
|
5
5
|
"left": "inset-y-0 left-0 w-3/4 flex-row border-r sm:max-w-sm",
|
|
6
6
|
"right": "inset-y-0 right-0 w-3/4 flex-row border-l sm:max-w-sm"
|
|
7
7
|
};
|
|
8
|
-
const DRAWER_OVERLAY = "fixed inset-0 z-50 bg-
|
|
8
|
+
const DRAWER_OVERLAY = "fixed inset-0 z-50 bg-scrim data-[state=closed]:pointer-events-none";
|
|
9
9
|
const DRAWER_HANDLE = "bg-muted mx-auto mt-4 h-2 w-[100px] shrink-0 rounded-full";
|
|
10
10
|
const DRAWER_BODY = "flex min-h-0 flex-1 flex-col overflow-y-auto";
|
|
11
11
|
const DRAWER_HEADER = "flex flex-col gap-0.5 p-4 text-center sm:gap-1.5 sm:text-left";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/generated/drawer.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const DRAWER_CONTENT_BASE = \"bg-background fixed z-50 flex h-auto border border-border\";\n\nexport const drawerDirectionClasses = {\n \"bottom\": \"inset-x-0 bottom-0 mt-24 max-h-[80vh] flex-col rounded-t-lg border-b-0\",\n \"top\": \"inset-x-0 top-0 mb-24 max-h-[80vh] flex-col rounded-b-lg border-t-0\",\n \"left\": \"inset-y-0 left-0 w-3/4 flex-row border-r sm:max-w-sm\",\n \"right\": \"inset-y-0 right-0 w-3/4 flex-row border-l sm:max-w-sm\",\n} as const;\nexport type DrawerDirection = keyof typeof drawerDirectionClasses;\n\nexport const DRAWER_OVERLAY = \"fixed inset-0 z-50 bg-
|
|
1
|
+
{"version":3,"sources":["../../src/generated/drawer.ts"],"sourcesContent":["// AUTO-GENERATED by `nix run .#gen` — do not edit.\n\nexport const DRAWER_CONTENT_BASE = \"bg-background fixed z-50 flex h-auto border border-border\";\n\nexport const drawerDirectionClasses = {\n \"bottom\": \"inset-x-0 bottom-0 mt-24 max-h-[80vh] flex-col rounded-t-lg border-b-0\",\n \"top\": \"inset-x-0 top-0 mb-24 max-h-[80vh] flex-col rounded-b-lg border-t-0\",\n \"left\": \"inset-y-0 left-0 w-3/4 flex-row border-r sm:max-w-sm\",\n \"right\": \"inset-y-0 right-0 w-3/4 flex-row border-l sm:max-w-sm\",\n} as const;\nexport type DrawerDirection = keyof typeof drawerDirectionClasses;\n\nexport const DRAWER_OVERLAY = \"fixed inset-0 z-50 bg-scrim data-[state=closed]:pointer-events-none\";\n\nexport const DRAWER_HANDLE = \"bg-muted mx-auto mt-4 h-2 w-[100px] shrink-0 rounded-full\";\n\nexport const DRAWER_BODY = \"flex min-h-0 flex-1 flex-col overflow-y-auto\";\n\nexport const DRAWER_HEADER = \"flex flex-col gap-0.5 p-4 text-center sm:gap-1.5 sm:text-left\";\n\nexport const DRAWER_FOOTER = \"mt-auto flex flex-col gap-2 p-4\";\n\nexport const DRAWER_TITLE = \"text-ink font-semibold\";\n\nexport const DRAWER_DESCRIPTION = \"text-ink-soft text-sm\";\n"],"mappings":"AAEO,MAAM,sBAAsB;AAE5B,MAAM,yBAAyB;AAAA,EACpC,UAAU;AAAA,EACV,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AACX;AAGO,MAAM,iBAAiB;AAEvB,MAAM,gBAAgB;AAEtB,MAAM,cAAc;AAEpB,MAAM,gBAAgB;AAEtB,MAAM,gBAAgB;AAEtB,MAAM,eAAe;AAErB,MAAM,qBAAqB;","names":[]}
|