@orangecheck/design 0.4.0 → 0.5.1

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/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DEFAULT_OC_THEME, OC_SKIN_COOKIE, OC_THEMES, OcAppearanceMenu, OcAppearanceMenuProps, OcTheme, OcThemeBridge, OcThemeId, OcThemePicker, OcThemePickerProps, OcThemeProvider, OcThemeProviderProps, cn, getOcThemeInitScript, isKnownTheme, resolveTheme, useOcSkin } from './tokens.mjs';
2
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AlertWithAction, AlertWithActionProps, AlertWithCountdown, AlertWithCountdownProps, Badge, Bar, BarProps, BitcoinAddress, BitcoinAddressProps, Button, Card, CardProps, ConfirmHost, ConfirmOptions, CopyButton, CopyButtonProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, ErrorBoundary, Input, Label, Modal, ModalProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PromptHost, PromptOptions, QrCode, QrCodeProps, SatsAmount, SatsAmountProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetContent, SheetDescription, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SkeletonProps, Sparkline, SparklineProps, StatBlock, StatBlockProps, StatusPill, StatusPillProps, StatusTone, Textarea, ThemeToggle, ThemeToggleLink, Toaster, Working, WorkingPanel, WorkingProps, badgeVariants, buttonVariants, confirm, prompt } from './primitives.mjs';
2
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AlertWithAction, AlertWithActionProps, AlertWithCountdown, AlertWithCountdownProps, Badge, Bar, BarProps, BitcoinAddress, BitcoinAddressProps, Button, Card, CardProps, ConfirmHost, ConfirmOptions, CopyButton, CopyButtonProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, ErrorBoundary, Input, Label, Modal, ModalProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PromptHost, PromptOptions, QrCode, QrCodeProps, SatsAmount, SatsAmountProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SkeletonProps, Sparkline, SparklineProps, StatBlock, StatBlockProps, StatusPill, StatusPillProps, StatusTone, Textarea, ThemeToggle, ThemeToggleLink, Toaster, Working, WorkingPanel, WorkingProps, badgeVariants, buttonVariants, confirm, prompt } from './primitives.mjs';
3
3
  export * from '@orangecheck/ui';
4
4
  export { ExplorerNetwork, ExplorerTarget, REFERENCE_BTC_USD, explorerUrl, formatSats, formatSatsCompact, priceBoth, relativeTime, satsToUsd, shortenAddress, usdToSats } from './format.mjs';
5
5
  import 'clsx';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DEFAULT_OC_THEME, OC_SKIN_COOKIE, OC_THEMES, OcAppearanceMenu, OcAppearanceMenuProps, OcTheme, OcThemeBridge, OcThemeId, OcThemePicker, OcThemePickerProps, OcThemeProvider, OcThemeProviderProps, cn, getOcThemeInitScript, isKnownTheme, resolveTheme, useOcSkin } from './tokens.js';
2
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AlertWithAction, AlertWithActionProps, AlertWithCountdown, AlertWithCountdownProps, Badge, Bar, BarProps, BitcoinAddress, BitcoinAddressProps, Button, Card, CardProps, ConfirmHost, ConfirmOptions, CopyButton, CopyButtonProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, ErrorBoundary, Input, Label, Modal, ModalProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PromptHost, PromptOptions, QrCode, QrCodeProps, SatsAmount, SatsAmountProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetContent, SheetDescription, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SkeletonProps, Sparkline, SparklineProps, StatBlock, StatBlockProps, StatusPill, StatusPillProps, StatusTone, Textarea, ThemeToggle, ThemeToggleLink, Toaster, Working, WorkingPanel, WorkingProps, badgeVariants, buttonVariants, confirm, prompt } from './primitives.js';
2
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AlertWithAction, AlertWithActionProps, AlertWithCountdown, AlertWithCountdownProps, Badge, Bar, BarProps, BitcoinAddress, BitcoinAddressProps, Button, Card, CardProps, ConfirmHost, ConfirmOptions, CopyButton, CopyButtonProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, ErrorBoundary, Input, Label, Modal, ModalProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PromptHost, PromptOptions, QrCode, QrCodeProps, SatsAmount, SatsAmountProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SkeletonProps, Sparkline, SparklineProps, StatBlock, StatBlockProps, StatusPill, StatusPillProps, StatusTone, Textarea, ThemeToggle, ThemeToggleLink, Toaster, Working, WorkingPanel, WorkingProps, badgeVariants, buttonVariants, confirm, prompt } from './primitives.js';
3
3
  export * from '@orangecheck/ui';
4
4
  export { ExplorerNetwork, ExplorerTarget, REFERENCE_BTC_USD, explorerUrl, formatSats, formatSatsCompact, priceBoth, relativeTime, satsToUsd, shortenAddress, usdToSats } from './format.js';
5
5
  import 'clsx';
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ var reactSlot = require('@radix-ui/react-slot');
10
10
  var classVarianceAuthority = require('class-variance-authority');
11
11
  var LabelPrimitive = require('@radix-ui/react-label');
12
12
  var SeparatorPrimitive = require('@radix-ui/react-separator');
13
- var DialogPrimitive = require('@radix-ui/react-dialog');
13
+ var SheetPrimitive = require('@radix-ui/react-dialog');
14
14
  var PopoverPrimitive = require('@radix-ui/react-popover');
15
15
  var AccordionPrimitive = require('@radix-ui/react-accordion');
16
16
  var SelectPrimitive = require('@radix-ui/react-select');
@@ -41,7 +41,7 @@ function _interopNamespace(e) {
41
41
  var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
42
42
  var LabelPrimitive__namespace = /*#__PURE__*/_interopNamespace(LabelPrimitive);
43
43
  var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);
44
- var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
44
+ var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
45
45
  var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitive);
46
46
  var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
47
47
  var SelectPrimitive__namespace = /*#__PURE__*/_interopNamespace(SelectPrimitive);
@@ -127,8 +127,10 @@ __export(src_exports, {
127
127
  SelectValue: () => SelectValue,
128
128
  Separator: () => Separator,
129
129
  Sheet: () => Sheet,
130
+ SheetClose: () => SheetClose,
130
131
  SheetContent: () => SheetContent,
131
132
  SheetDescription: () => SheetDescription,
133
+ SheetFooter: () => SheetFooter,
132
134
  SheetHeader: () => SheetHeader,
133
135
  SheetOverlay: () => SheetOverlay,
134
136
  SheetPortal: () => SheetPortal,
@@ -566,6 +568,7 @@ var badgeVariants = classVarianceAuthority.cva(
566
568
  warning: "bg-warning text-warning-foreground [a&]:hover:bg-warning/90 border-transparent",
567
569
  success: "bg-success text-success-foreground [a&]:hover:bg-success/90 border-transparent",
568
570
  info: "bg-info text-info-foreground [a&]:hover:bg-info/90 border-transparent",
571
+ brand: "bg-brand-soft text-brand border-brand-soft",
569
572
  outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
570
573
  }
571
574
  },
@@ -906,17 +909,20 @@ function Separator({
906
909
  );
907
910
  }
908
911
  function Sheet(props) {
909
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { "data-slot": "sheet", ...props });
912
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { "data-slot": "sheet", ...props });
910
913
  }
911
914
  function SheetTrigger(props) {
912
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Trigger, { "data-slot": "sheet-trigger", ...props });
915
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Trigger, { "data-slot": "sheet-trigger", ...props });
916
+ }
917
+ function SheetClose(props) {
918
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Close, { "data-slot": "sheet-close", ...props });
913
919
  }
914
920
  function SheetPortal(props) {
915
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
921
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "sheet-portal", ...props });
916
922
  }
917
923
  function SheetOverlay({ className, ...props }) {
918
924
  return /* @__PURE__ */ jsxRuntime.jsx(
919
- DialogPrimitive__namespace.Overlay,
925
+ SheetPrimitive__namespace.Overlay,
920
926
  {
921
927
  "data-slot": "sheet-overlay",
922
928
  className: cn(
@@ -942,7 +948,7 @@ function SheetContent({
942
948
  return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
943
949
  /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
944
950
  /* @__PURE__ */ jsxRuntime.jsxs(
945
- DialogPrimitive__namespace.Content,
951
+ SheetPrimitive__namespace.Content,
946
952
  {
947
953
  "data-slot": "sheet-content",
948
954
  className: cn(
@@ -953,7 +959,7 @@ function SheetContent({
953
959
  ...props,
954
960
  children: [
955
961
  children,
956
- /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Close, { className: "ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
962
+ /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
957
963
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-4" }),
958
964
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
959
965
  ] })
@@ -965,9 +971,19 @@ function SheetContent({
965
971
  function SheetHeader({ className, ...props }) {
966
972
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "sheet-header", className: cn("flex flex-col gap-1.5 p-4", className), ...props });
967
973
  }
974
+ function SheetFooter({ className, ...props }) {
975
+ return /* @__PURE__ */ jsxRuntime.jsx(
976
+ "div",
977
+ {
978
+ "data-slot": "sheet-footer",
979
+ className: cn("mt-auto flex flex-col gap-2 p-4", className),
980
+ ...props
981
+ }
982
+ );
983
+ }
968
984
  function SheetTitle({ className, ...props }) {
969
985
  return /* @__PURE__ */ jsxRuntime.jsx(
970
- DialogPrimitive__namespace.Title,
986
+ SheetPrimitive__namespace.Title,
971
987
  {
972
988
  "data-slot": "sheet-title",
973
989
  className: cn("text-foreground font-semibold", className),
@@ -980,7 +996,7 @@ function SheetDescription({
980
996
  ...props
981
997
  }) {
982
998
  return /* @__PURE__ */ jsxRuntime.jsx(
983
- DialogPrimitive__namespace.Description,
999
+ SheetPrimitive__namespace.Description,
984
1000
  {
985
1001
  "data-slot": "sheet-description",
986
1002
  className: cn("text-muted-foreground text-sm", className),
@@ -989,23 +1005,23 @@ function SheetDescription({
989
1005
  );
990
1006
  }
991
1007
  function Dialog({ ...props }) {
992
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { "data-slot": "dialog", ...props });
1008
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { "data-slot": "dialog", ...props });
993
1009
  }
994
1010
  function DialogTrigger({ ...props }) {
995
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Trigger, { "data-slot": "dialog-trigger", ...props });
1011
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Trigger, { "data-slot": "dialog-trigger", ...props });
996
1012
  }
997
1013
  function DialogPortal({ ...props }) {
998
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Portal, { "data-slot": "dialog-portal", ...props });
1014
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Portal, { "data-slot": "dialog-portal", ...props });
999
1015
  }
1000
1016
  function DialogClose({ ...props }) {
1001
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Close, { "data-slot": "dialog-close", ...props });
1017
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Close, { "data-slot": "dialog-close", ...props });
1002
1018
  }
1003
1019
  function DialogOverlay({
1004
1020
  className,
1005
1021
  ...props
1006
1022
  }) {
1007
1023
  return /* @__PURE__ */ jsxRuntime.jsx(
1008
- DialogPrimitive__namespace.Overlay,
1024
+ SheetPrimitive__namespace.Overlay,
1009
1025
  {
1010
1026
  "data-slot": "dialog-overlay",
1011
1027
  className: cn(
@@ -1025,7 +1041,7 @@ function DialogContent({
1025
1041
  return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
1026
1042
  /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
1027
1043
  /* @__PURE__ */ jsxRuntime.jsxs(
1028
- DialogPrimitive__namespace.Content,
1044
+ SheetPrimitive__namespace.Content,
1029
1045
  {
1030
1046
  "data-slot": "dialog-content",
1031
1047
  className: cn(
@@ -1036,7 +1052,7 @@ function DialogContent({
1036
1052
  children: [
1037
1053
  children,
1038
1054
  showCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(
1039
- DialogPrimitive__namespace.Close,
1055
+ SheetPrimitive__namespace.Close,
1040
1056
  {
1041
1057
  "data-slot": "dialog-close",
1042
1058
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
@@ -1073,7 +1089,7 @@ function DialogFooter({ className, ...props }) {
1073
1089
  }
1074
1090
  function DialogTitle({ className, ...props }) {
1075
1091
  return /* @__PURE__ */ jsxRuntime.jsx(
1076
- DialogPrimitive__namespace.Title,
1092
+ SheetPrimitive__namespace.Title,
1077
1093
  {
1078
1094
  "data-slot": "dialog-title",
1079
1095
  className: cn("text-lg leading-none font-semibold", className),
@@ -1086,7 +1102,7 @@ function DialogDescription({
1086
1102
  ...props
1087
1103
  }) {
1088
1104
  return /* @__PURE__ */ jsxRuntime.jsx(
1089
- DialogPrimitive__namespace.Description,
1105
+ SheetPrimitive__namespace.Description,
1090
1106
  {
1091
1107
  "data-slot": "dialog-description",
1092
1108
  className: cn("text-muted-foreground text-sm", className),
@@ -1139,9 +1155,9 @@ function ConfirmHost() {
1139
1155
  [state]
1140
1156
  );
1141
1157
  if (!state) return null;
1142
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { open: true, onOpenChange: (open) => !open && close(false), children: /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Portal, { children: [
1143
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Overlay, { className: "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm" }),
1144
- /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Content, { className: "bg-card border-border fixed top-1/2 left-1/2 z-50 w-[90vw] max-w-md -translate-x-1/2 -translate-y-1/2 border shadow-lg outline-none", children: [
1158
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { open: true, onOpenChange: (open) => !open && close(false), children: /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Portal, { children: [
1159
+ /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Overlay, { className: "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm" }),
1160
+ /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Content, { className: "bg-card border-border fixed top-1/2 left-1/2 z-50 w-[90vw] max-w-md -translate-x-1/2 -translate-y-1/2 border shadow-lg outline-none", children: [
1145
1161
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "terminal-title", children: /* @__PURE__ */ jsxRuntime.jsxs(
1146
1162
  "span",
1147
1163
  {
@@ -1153,8 +1169,8 @@ function ConfirmHost() {
1153
1169
  }
1154
1170
  ) }),
1155
1171
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4 p-4 sm:p-5", children: [
1156
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Title, { className: "sr-only", children: state.title }),
1157
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground font-mono text-xs leading-relaxed whitespace-pre-wrap", children: state.message }) }),
1172
+ /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Title, { className: "sr-only", children: state.title }),
1173
+ /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground font-mono text-xs leading-relaxed whitespace-pre-wrap", children: state.message }) }),
1158
1174
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-end gap-2", children: [
1159
1175
  /* @__PURE__ */ jsxRuntime.jsx(
1160
1176
  Button,
@@ -1249,10 +1265,10 @@ function PromptHost() {
1249
1265
  close(v);
1250
1266
  }, [state, value, confirmValue, close]);
1251
1267
  if (!state) return null;
1252
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { open: true, onOpenChange: (open) => !open && close(null), children: /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Portal, { children: [
1253
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Overlay, { className: "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm" }),
1268
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { open: true, onOpenChange: (open) => !open && close(null), children: /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Portal, { children: [
1269
+ /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Overlay, { className: "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm" }),
1254
1270
  /* @__PURE__ */ jsxRuntime.jsxs(
1255
- DialogPrimitive__namespace.Content,
1271
+ SheetPrimitive__namespace.Content,
1256
1272
  {
1257
1273
  className: "bg-card border-border fixed top-1/2 left-1/2 z-50 w-[90vw] max-w-md -translate-x-1/2 -translate-y-1/2 border shadow-lg outline-none",
1258
1274
  onKeyDown: (e) => {
@@ -1267,8 +1283,8 @@ function PromptHost() {
1267
1283
  state.title
1268
1284
  ] }) }),
1269
1285
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4 p-4 sm:p-5", children: [
1270
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Title, { className: "sr-only", children: state.title }),
1271
- state.message && /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground font-mono text-xs leading-relaxed whitespace-pre-wrap", children: state.message }) }),
1286
+ /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Title, { className: "sr-only", children: state.title }),
1287
+ state.message && /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Description, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground font-mono text-xs leading-relaxed whitespace-pre-wrap", children: state.message }) }),
1272
1288
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1273
1289
  state.label && /* @__PURE__ */ jsxRuntime.jsx(Label, { children: state.label }),
1274
1290
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1326,10 +1342,10 @@ function PromptHost() {
1326
1342
  ] }) });
1327
1343
  }
1328
1344
  function Modal({ open, onOpenChange, title, subtitle, children, actions, width = "wide" }) {
1329
- return /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Root, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Portal, { children: [
1330
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Overlay, { className: "bg-background/80 fixed inset-0 z-[100] backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }),
1345
+ return /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Root, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Portal, { children: [
1346
+ /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Overlay, { className: "bg-background/80 fixed inset-0 z-[100] backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }),
1331
1347
  /* @__PURE__ */ jsxRuntime.jsxs(
1332
- DialogPrimitive__namespace.Content,
1348
+ SheetPrimitive__namespace.Content,
1333
1349
  {
1334
1350
  className: cn(
1335
1351
  "terminal fixed top-[5vh] left-1/2 z-[110] flex max-h-[90vh] -translate-x-1/2 flex-col overflow-hidden rounded-sm border",
@@ -1342,7 +1358,7 @@ function Modal({ open, onOpenChange, title, subtitle, children, actions, width =
1342
1358
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot", "aria-hidden": true }),
1343
1359
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-70", "aria-hidden": true }),
1344
1360
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "terminal-dot opacity-50", "aria-hidden": true }),
1345
- /* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Title, { className: "ml-2 truncate", children: title }),
1361
+ /* @__PURE__ */ jsxRuntime.jsx(SheetPrimitive__namespace.Title, { className: "ml-2 truncate", children: title }),
1346
1362
  subtitle && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground/70 ml-1 truncate text-[10px] normal-case tracking-normal", children: [
1347
1363
  "\xB7 ",
1348
1364
  subtitle
@@ -1351,7 +1367,7 @@ function Modal({ open, onOpenChange, title, subtitle, children, actions, width =
1351
1367
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
1352
1368
  actions,
1353
1369
  /* @__PURE__ */ jsxRuntime.jsx(
1354
- DialogPrimitive__namespace.Close,
1370
+ SheetPrimitive__namespace.Close,
1355
1371
  {
1356
1372
  "aria-label": "close",
1357
1373
  className: "text-muted-foreground hover:text-foreground inline-flex h-6 w-6 items-center justify-center rounded-sm",
@@ -2040,8 +2056,10 @@ exports.SelectTrigger = SelectTrigger;
2040
2056
  exports.SelectValue = SelectValue;
2041
2057
  exports.Separator = Separator;
2042
2058
  exports.Sheet = Sheet;
2059
+ exports.SheetClose = SheetClose;
2043
2060
  exports.SheetContent = SheetContent;
2044
2061
  exports.SheetDescription = SheetDescription;
2062
+ exports.SheetFooter = SheetFooter;
2045
2063
  exports.SheetHeader = SheetHeader;
2046
2064
  exports.SheetOverlay = SheetOverlay;
2047
2065
  exports.SheetPortal = SheetPortal;