@cascivo/react 0.11.1 → 0.13.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.
Files changed (124) hide show
  1. package/README.md +1 -1
  2. package/dist/alert-dialog/alert-dialog.js +2 -4
  3. package/dist/app-shell/app-shell.js +24 -23
  4. package/dist/badge/badge.js +17 -10
  5. package/dist/button/button.css +1 -1
  6. package/dist/button/button.module.js +1 -1
  7. package/dist/card/card.css +1 -1
  8. package/dist/card/card.js +21 -11
  9. package/dist/card/card.module.js +8 -5
  10. package/dist/checkbox/checkbox.js +2 -2
  11. package/dist/combobox/combobox.css +1 -1
  12. package/dist/combobox/combobox.module.js +15 -15
  13. package/dist/command-menu/command-menu.js +67 -71
  14. package/dist/data-table/data-table.css +1 -1
  15. package/dist/data-table/data-table.js +7 -1
  16. package/dist/data-table/data-table.module.js +29 -29
  17. package/dist/date-picker/date-picker.css +1 -1
  18. package/dist/date-picker/date-picker.module.js +19 -19
  19. package/dist/dropdown/dropdown.js +48 -50
  20. package/dist/file-uploader/file-uploader.css +1 -1
  21. package/dist/file-uploader/file-uploader.module.js +14 -14
  22. package/dist/filter/filter.js +10 -9
  23. package/dist/header-panel/header-panel.js +2 -4
  24. package/dist/icon-button/icon-button.css +1 -1
  25. package/dist/icon-button/icon-button.js +10 -10
  26. package/dist/icon-button/icon-button.module.js +1 -1
  27. package/dist/index.d.ts +1300 -69
  28. package/dist/input/input.css +1 -1
  29. package/dist/input/input.module.js +5 -5
  30. package/dist/item/item.css +1 -1
  31. package/dist/item/item.module.js +6 -6
  32. package/dist/layouts/src/page-header/page-header.css +1 -0
  33. package/dist/layouts/src/page-header/page-header.js +33 -0
  34. package/dist/layouts/src/page-header/page-header.module.js +13 -0
  35. package/dist/link/link.js +12 -12
  36. package/dist/modal/modal.js +4 -4
  37. package/dist/multi-select/multi-select.css +1 -1
  38. package/dist/multi-select/multi-select.module.js +11 -11
  39. package/dist/node/alert-dialog/alert-dialog.js +2 -4
  40. package/dist/node/app-shell/app-shell.js +24 -23
  41. package/dist/node/badge/badge.js +17 -10
  42. package/dist/node/button/button.module.js +1 -1
  43. package/dist/node/card/card.js +21 -11
  44. package/dist/node/card/card.module.js +8 -5
  45. package/dist/node/checkbox/checkbox.js +2 -2
  46. package/dist/node/combobox/combobox.module.js +15 -15
  47. package/dist/node/command-menu/command-menu.js +67 -71
  48. package/dist/node/data-table/data-table.js +7 -1
  49. package/dist/node/data-table/data-table.module.js +29 -29
  50. package/dist/node/date-picker/date-picker.module.js +19 -19
  51. package/dist/node/dropdown/dropdown.js +48 -50
  52. package/dist/node/file-uploader/file-uploader.module.js +14 -14
  53. package/dist/node/filter/filter.js +10 -9
  54. package/dist/node/header-panel/header-panel.js +2 -4
  55. package/dist/node/icon-button/icon-button.js +10 -10
  56. package/dist/node/icon-button/icon-button.module.js +1 -1
  57. package/dist/node/input/input.module.js +5 -5
  58. package/dist/node/item/item.module.js +6 -6
  59. package/dist/node/layouts/src/page-header/page-header.js +33 -0
  60. package/dist/node/layouts/src/page-header/page-header.module.js +12 -0
  61. package/dist/node/link/link.js +12 -12
  62. package/dist/node/modal/modal.js +4 -4
  63. package/dist/node/multi-select/multi-select.module.js +11 -11
  64. package/dist/node/notification/notification.js +50 -44
  65. package/dist/node/notification/notification.module.js +7 -7
  66. package/dist/node/number-input/number-input.module.js +8 -8
  67. package/dist/node/otp-input/otp-input.module.js +2 -2
  68. package/dist/node/overflow-menu/overflow-menu.js +18 -13
  69. package/dist/node/password-input/password-input.module.js +7 -7
  70. package/dist/node/popover/use-popover.js +9 -9
  71. package/dist/node/progress/progress.js +3 -2
  72. package/dist/node/react/src/index.js +63 -62
  73. package/dist/node/search/search.js +19 -22
  74. package/dist/node/search/search.module.js +5 -5
  75. package/dist/node/sheet/sheet.js +2 -4
  76. package/dist/node/stat/stat.js +6 -5
  77. package/dist/node/stat/stat.module.js +7 -7
  78. package/dist/node/status/status.js +18 -11
  79. package/dist/node/steps/steps.js +23 -23
  80. package/dist/node/structured-list/structured-list.js +14 -13
  81. package/dist/node/tag/tag.js +22 -15
  82. package/dist/node/tags-input/tags-input.module.js +4 -4
  83. package/dist/node/tile/tile.module.js +3 -3
  84. package/dist/node/time-picker/time-picker.module.js +5 -5
  85. package/dist/node/timeline/timeline.js +22 -16
  86. package/dist/node/visually-hidden/visually-hidden.js +2 -13
  87. package/dist/notification/notification.css +1 -1
  88. package/dist/notification/notification.js +50 -44
  89. package/dist/notification/notification.module.js +7 -7
  90. package/dist/number-input/number-input.css +1 -1
  91. package/dist/number-input/number-input.module.js +8 -8
  92. package/dist/otp-input/otp-input.css +1 -1
  93. package/dist/otp-input/otp-input.module.js +2 -2
  94. package/dist/overflow-menu/overflow-menu.js +18 -13
  95. package/dist/password-input/password-input.css +1 -1
  96. package/dist/password-input/password-input.module.js +7 -7
  97. package/dist/popover/use-popover.js +9 -9
  98. package/dist/progress/progress.js +3 -2
  99. package/dist/react/src/index.js +63 -62
  100. package/dist/search/search.css +1 -1
  101. package/dist/search/search.js +19 -22
  102. package/dist/search/search.module.js +5 -5
  103. package/dist/sheet/sheet.js +2 -4
  104. package/dist/stat/stat.css +1 -1
  105. package/dist/stat/stat.js +6 -5
  106. package/dist/stat/stat.module.js +7 -7
  107. package/dist/status/status.js +18 -11
  108. package/dist/steps/steps.js +23 -23
  109. package/dist/structured-list/structured-list.js +14 -13
  110. package/dist/styles.css +33 -21
  111. package/dist/tag/tag.js +22 -15
  112. package/dist/tags-input/tags-input.css +1 -1
  113. package/dist/tags-input/tags-input.module.js +4 -4
  114. package/dist/tile/tile.css +1 -1
  115. package/dist/tile/tile.module.js +3 -3
  116. package/dist/time-picker/time-picker.css +1 -1
  117. package/dist/time-picker/time-picker.module.js +5 -5
  118. package/dist/timeline/timeline.js +22 -16
  119. package/dist/visually-hidden/visually-hidden.js +2 -13
  120. package/package.json +4 -4
  121. package/readme.body.md +1 -1
  122. package/dist/node/visually-hidden/visually-hidden.module.js +0 -5
  123. package/dist/visually-hidden/visually-hidden.css +0 -1
  124. package/dist/visually-hidden/visually-hidden.module.js +0 -6
@@ -73,66 +73,67 @@ import { CheckboxCard as He } from "../../checkbox-card/checkbox-card.js";
73
73
  import { CopyButton as Ue } from "../../copy-button/copy-button.js";
74
74
  import { Stat as We } from "../../stat/stat.js";
75
75
  import { Status as Ge } from "../../status/status.js";
76
- import { VisuallyHidden as Ke } from "../../visually-hidden/visually-hidden.js";
77
- import { SkipNavLink as qe, SkipNavTarget as Je } from "../../skip-nav/skip-nav.js";
78
- import { Progress as Ye } from "../../progress/progress.js";
79
- import { ProgressCircle as Xe } from "../../progress-circle/progress-circle.js";
80
- import { Heading as Ze } from "../../heading/heading.js";
81
- import { Text as Qe } from "../../text/text.js";
82
- import { Code as $e } from "../../code/code.js";
83
- import { Blockquote as et } from "../../blockquote/blockquote.js";
84
- import { List as tt, ListItem as nt } from "../../list/list.js";
85
- import { LogViewer as rt } from "../../log-viewer/log-viewer.js";
86
- import { Prose as it } from "../../prose/prose.js";
87
- import { PullToRefresh as at } from "../../pull-to-refresh/pull-to-refresh.js";
88
- import { QrCode as ot } from "../../qr-code/qr-code.js";
89
- import { RelativeTime as st } from "../../relative-time/relative-time.js";
90
- import { Label as ct } from "../../label/label.js";
91
- import { Field as lt } from "../../field/field.js";
92
- import { Filter as ut } from "../../filter/filter.js";
93
- import { IconButton as dt } from "../../icon-button/icon-button.js";
94
- import { ButtonGroup as ft } from "../../button-group/button-group.js";
95
- import { ToggleGroup as pt } from "../../toggle-group/toggle-group.js";
96
- import { InlineLoading as mt } from "../../inline-loading/inline-loading.js";
97
- import { Notification as ht } from "../../notification/notification.js";
98
- import { ScrollArea as gt } from "../../scroll-area/scroll-area.js";
99
- import { Collapsible as _t } from "../../collapsible/collapsible.js";
100
- import { AspectRatio as vt } from "../../aspect-ratio/aspect-ratio.js";
101
- import { MenuButton as yt } from "../../menu-button/menu-button.js";
102
- import { Toggletip as bt } from "../../toggletip/toggletip.js";
103
- import { Menubar as xt } from "../../menubar/menubar.js";
104
- import { NavigationMenu as St } from "../../navigation-menu/navigation-menu.js";
105
- import { TreeView as Ct, treeViewMessages as wt } from "../../tree-view/tree-view.js";
106
- import { StructuredList as Tt } from "../../structured-list/structured-list.js";
107
- import { ContainedList as Et, ContainedListItem as Dt } from "../../contained-list/contained-list.js";
108
- import { DataList as Ot } from "../../data-list/data-list.js";
109
- import { Timeline as kt } from "../../timeline/timeline.js";
110
- import { Item as At, ItemActions as jt, ItemContent as Mt, ItemDescription as Nt, ItemMedia as Pt, ItemTitle as Ft } from "../../item/item.js";
111
- import { Calendar as It } from "../../calendar/calendar.js";
112
- import { DateRangePicker as Lt } from "../../date-range-picker/date-range-picker.js";
113
- import { ColorPicker as Rt } from "../../color-picker/color-picker.js";
114
- import { Carousel as zt } from "../../carousel/carousel.js";
115
- import { Resizable as Bt } from "../../resizable/resizable.js";
116
- import { Dock as Vt } from "../../dock/dock.js";
117
- import { Drawer as Ht } from "../../drawer/drawer.js";
118
- import { NativeSelect as Ut } from "../../native-select/native-select.js";
119
- import { CodeSnippet as Wt } from "../../code-snippet/code-snippet.js";
120
- import { Steps as Gt } from "../../steps/steps.js";
121
- import { Tile as Kt } from "../../tile/tile.js";
122
- import { Indicator as qt } from "../../indicator/indicator.js";
123
- import { Join as Jt } from "../../join/join.js";
124
- import { Stack as Yt } from "../../stack/stack.js";
125
- import { AppShell as Xt } from "../../app-shell/app-shell.js";
126
- import { ChatBubble as Zt } from "../../chat-bubble/chat-bubble.js";
127
- import { RadialProgress as Qt } from "../../radial-progress/radial-progress.js";
128
- import { Swap as $t } from "../../swap/swap.js";
129
- import { SwipeItem as en } from "../../swipe-item/swipe-item.js";
130
- import { Grid as tn, GridItem as nn } from "../../layouts/src/grid/grid.js";
131
- import { Flex as rn } from "../../layouts/src/flex/flex.js";
132
- import { Columns as an } from "../../layouts/src/columns/columns.js";
133
- import { Center as on } from "../../layouts/src/center/center.js";
134
- import { Spacer as sn } from "../../layouts/src/spacer/spacer.js";
135
- import { AutoGrid as cn } from "../../layouts/src/auto-grid/auto-grid.js";
76
+ import "../../visually-hidden/visually-hidden.js";
77
+ import { SkipNavLink as Ke, SkipNavTarget as qe } from "../../skip-nav/skip-nav.js";
78
+ import { Progress as Je } from "../../progress/progress.js";
79
+ import { ProgressCircle as Ye } from "../../progress-circle/progress-circle.js";
80
+ import { Heading as Xe } from "../../heading/heading.js";
81
+ import { Text as Ze } from "../../text/text.js";
82
+ import { Code as Qe } from "../../code/code.js";
83
+ import { Blockquote as $e } from "../../blockquote/blockquote.js";
84
+ import { List as et, ListItem as tt } from "../../list/list.js";
85
+ import { LogViewer as nt } from "../../log-viewer/log-viewer.js";
86
+ import { Prose as rt } from "../../prose/prose.js";
87
+ import { PullToRefresh as it } from "../../pull-to-refresh/pull-to-refresh.js";
88
+ import { QrCode as at } from "../../qr-code/qr-code.js";
89
+ import { RelativeTime as ot } from "../../relative-time/relative-time.js";
90
+ import { Label as st } from "../../label/label.js";
91
+ import { Field as ct } from "../../field/field.js";
92
+ import { Filter as lt } from "../../filter/filter.js";
93
+ import { IconButton as ut } from "../../icon-button/icon-button.js";
94
+ import { ButtonGroup as dt } from "../../button-group/button-group.js";
95
+ import { ToggleGroup as ft } from "../../toggle-group/toggle-group.js";
96
+ import { InlineLoading as pt } from "../../inline-loading/inline-loading.js";
97
+ import { Notification as mt } from "../../notification/notification.js";
98
+ import { ScrollArea as ht } from "../../scroll-area/scroll-area.js";
99
+ import { Collapsible as gt } from "../../collapsible/collapsible.js";
100
+ import { AspectRatio as _t } from "../../aspect-ratio/aspect-ratio.js";
101
+ import { MenuButton as vt } from "../../menu-button/menu-button.js";
102
+ import { Toggletip as yt } from "../../toggletip/toggletip.js";
103
+ import { Menubar as bt } from "../../menubar/menubar.js";
104
+ import { NavigationMenu as xt } from "../../navigation-menu/navigation-menu.js";
105
+ import { TreeView as St, treeViewMessages as Ct } from "../../tree-view/tree-view.js";
106
+ import { StructuredList as wt } from "../../structured-list/structured-list.js";
107
+ import { ContainedList as Tt, ContainedListItem as Et } from "../../contained-list/contained-list.js";
108
+ import { DataList as Dt } from "../../data-list/data-list.js";
109
+ import { Timeline as Ot } from "../../timeline/timeline.js";
110
+ import { Item as kt, ItemActions as At, ItemContent as jt, ItemDescription as Mt, ItemMedia as Nt, ItemTitle as Pt } from "../../item/item.js";
111
+ import { Calendar as Ft } from "../../calendar/calendar.js";
112
+ import { DateRangePicker as It } from "../../date-range-picker/date-range-picker.js";
113
+ import { ColorPicker as Lt } from "../../color-picker/color-picker.js";
114
+ import { Carousel as Rt } from "../../carousel/carousel.js";
115
+ import { Resizable as zt } from "../../resizable/resizable.js";
116
+ import { Dock as Bt } from "../../dock/dock.js";
117
+ import { Drawer as Vt } from "../../drawer/drawer.js";
118
+ import { NativeSelect as Ht } from "../../native-select/native-select.js";
119
+ import { CodeSnippet as Ut } from "../../code-snippet/code-snippet.js";
120
+ import { Steps as Wt } from "../../steps/steps.js";
121
+ import { Tile as Gt } from "../../tile/tile.js";
122
+ import { Indicator as Kt } from "../../indicator/indicator.js";
123
+ import { Join as qt } from "../../join/join.js";
124
+ import { Stack as Jt } from "../../stack/stack.js";
125
+ import { AppShell as Yt } from "../../app-shell/app-shell.js";
126
+ import { ChatBubble as Xt } from "../../chat-bubble/chat-bubble.js";
127
+ import { RadialProgress as Zt } from "../../radial-progress/radial-progress.js";
128
+ import { Swap as Qt } from "../../swap/swap.js";
129
+ import { SwipeItem as $t } from "../../swipe-item/swipe-item.js";
130
+ import { Grid as en, GridItem as tn } from "../../layouts/src/grid/grid.js";
131
+ import { Flex as nn } from "../../layouts/src/flex/flex.js";
132
+ import { Columns as rn } from "../../layouts/src/columns/columns.js";
133
+ import { Center as an } from "../../layouts/src/center/center.js";
134
+ import { Spacer as on } from "../../layouts/src/spacer/spacer.js";
135
+ import { AutoGrid as sn } from "../../layouts/src/auto-grid/auto-grid.js";
136
+ import { PageHeader as cn } from "../../layouts/src/page-header/page-header.js";
136
137
  import { ThemeProvider as ln, setTheme as un, themePreloadScript as dn, themeSignal as fn, useTheme as pn } from "./theme.js";
137
- import { ErrorBoundary as mn, FocusScope as hn, Portal as gn, SuspenseBoundary as _n, getLinkComponent as vn, setLinkComponent as yn } from "@cascivo/core";
138
- export { M as Accordion, N as AccordionContent, P as AccordionItem, F as AccordionTrigger, I as ActionSheet, d as Alert, ye as AlertDialog, Xt as AppShell, vt as AspectRatio, cn as AutoGrid, f as Avatar, p as AvatarGroup, c as Badge, et as Blockquote, xe as BottomSheet, z as Breadcrumb, t as Button, ft as ButtonGroup, It as Calendar, r as Card, i as CardContent, a as CardFooter, o as CardHeader, s as CardTitle, zt as Carousel, on as Center, Zt as ChatBubble, v as Checkbox, He as CheckboxCard, $e as Code, Wt as CodeSnippet, _t as Collapsible, Rt as ColorPicker, an as Columns, ce as Combobox, ne as CommandMenu, we as Comparison, Et as ContainedList, Dt as ContainedListItem, Se as ContextMenu, Ce as ContextMenuItem, Ue as CopyButton, Ot as DataList, te as DataTable, le as DatePicker, Lt as DateRangePicker, Vt as Dock, Ht as Drawer, w as Dropdown, Ie as Editable, X as EmptyState, mn as ErrorBoundary, Z as Fab, lt as Field, ue as FileUploader, ut as Filter, rn as Flex, hn as FocusScope, ae as Form, tn as Grid, nn as GridItem, H as Header, Be as HeaderPanel, Ze as Heading, Te as HoverCard, Ee as HoverCardContent, De as HoverCardTrigger, dt as IconButton, h as Image, qt as Indicator, mt as InlineLoading, n as Input, Ne as InputGroup, Pe as InputGroupAddon, At as Item, jt as ItemActions, Mt as ItemContent, Nt as ItemDescription, Pt as ItemMedia, Ft as ItemTitle, Jt as Join, L as Kbd, ct as Label, R as Link, tt as List, nt as ListItem, rt as LogViewer, he as Menu, yt as MenuButton, ge as MenuItem, _e as MenuSeparator, ve as MenuTrigger, xt as Menubar, l as Modal, ke as MultiSelect, Ut as NativeSelect, St as NavigationMenu, ht as Notification, ee as NumberInput, je as OtpInput, Q as OverflowMenu, G as Pagination, Oe as PasswordInput, fe as Popover, pe as PopoverContent, me as PopoverTrigger, gn as Portal, Ye as Progress, Y as ProgressBar, Xe as ProgressCircle, K as ProgressIndicator, it as Prose, at as PullToRefresh, ot as QrCode, Qt as RadialProgress, y as Radio, Le as RadioCard, Re as RadioCardGroup, b as RadioGroup, Fe as RatingGroup, st as RelativeTime, Bt as Resizable, gt as ScrollArea, $ as Search, Me as SegmentedControl, _ as Select, u as Separator, be as Sheet, ze as ShellHeader, W as SideNav, J as Skeleton, qe as SkipNavLink, Je as SkipNavTarget, S as Slider, sn as Spacer, e as Spinner, Yt as Stack, We as Stat, Ge as Status, Gt as Steps, Tt as StructuredList, _n as SuspenseBoundary, $t as Swap, en as SwipeItem, Ve as Switcher, O as Tabs, k as TabsContent, A as TabsList, j as TabsTrigger, q as Tag, Ae as TagsInput, Qe as Text, g as Textarea, ln as ThemeProvider, Kt as Tile, de as TimePicker, kt as Timeline, T as ToastProvider, B as Toc, x as Toggle, pt as ToggleGroup, bt as Toggletip, C as Tooltip, Ct as TreeView, m as User, Ke as VisuallyHidden, oe as createForm, E as dismissAllToasts, re as fuzzyMatch, ie as fuzzyScore, vn as getLinkComponent, yn as setLinkComponent, un as setTheme, dn as themePreloadScript, fn as themeSignal, wt as treeViewMessages, se as useForm, U as usePopover, pn as useTheme, D as useToast, V as useTocFromRegion };
138
+ import { DismissableLayer as mn, ErrorBoundary as hn, FocusScope as gn, Portal as _n, Presence as vn, Slot as yn, SuspenseBoundary as bn, VisuallyHidden as xn, batch as Sn, cn as Cn, composeRefs as wn, computePosition as Tn, computed as En, createMachine as Dn, createScope as On, createStreamBuffer as kn, effect as An, getLinkComponent as jn, mergeProps as Mn, setLinkComponent as Nn, signal as Pn, useAnchorPosition as Fn, useClipboard as In, useComputed as Ln, useControllableSignal as Rn, useDisclosure as zn, useEffectPropSignal as Bn, useId as Vn, useMachine as Hn, useMediaQuery as Un, useRovingFocus as Wn, useScope as Gn, useScrollLock as Kn, useSignal as qn, useSignalEffect as Jn, useSignals as Yn, useStreamBuffer as Xn, useTypeahead as Zn } from "@cascivo/core";
139
+ export { M as Accordion, N as AccordionContent, P as AccordionItem, F as AccordionTrigger, I as ActionSheet, d as Alert, ye as AlertDialog, Yt as AppShell, _t as AspectRatio, sn as AutoGrid, f as Avatar, p as AvatarGroup, c as Badge, $e as Blockquote, xe as BottomSheet, z as Breadcrumb, t as Button, dt as ButtonGroup, Ft as Calendar, r as Card, i as CardContent, a as CardFooter, o as CardHeader, s as CardTitle, Rt as Carousel, an as Center, Xt as ChatBubble, v as Checkbox, He as CheckboxCard, Qe as Code, Ut as CodeSnippet, gt as Collapsible, Lt as ColorPicker, rn as Columns, ce as Combobox, ne as CommandMenu, we as Comparison, Tt as ContainedList, Et as ContainedListItem, Se as ContextMenu, Ce as ContextMenuItem, Ue as CopyButton, Dt as DataList, te as DataTable, le as DatePicker, It as DateRangePicker, mn as DismissableLayer, Bt as Dock, Vt as Drawer, w as Dropdown, Ie as Editable, X as EmptyState, hn as ErrorBoundary, Z as Fab, ct as Field, ue as FileUploader, lt as Filter, nn as Flex, gn as FocusScope, ae as Form, en as Grid, tn as GridItem, H as Header, Be as HeaderPanel, Xe as Heading, Te as HoverCard, Ee as HoverCardContent, De as HoverCardTrigger, ut as IconButton, h as Image, Kt as Indicator, pt as InlineLoading, n as Input, Ne as InputGroup, Pe as InputGroupAddon, kt as Item, At as ItemActions, jt as ItemContent, Mt as ItemDescription, Nt as ItemMedia, Pt as ItemTitle, qt as Join, L as Kbd, st as Label, R as Link, et as List, tt as ListItem, nt as LogViewer, he as Menu, vt as MenuButton, ge as MenuItem, _e as MenuSeparator, ve as MenuTrigger, bt as Menubar, l as Modal, ke as MultiSelect, Ht as NativeSelect, xt as NavigationMenu, mt as Notification, ee as NumberInput, je as OtpInput, Q as OverflowMenu, cn as PageHeader, G as Pagination, Oe as PasswordInput, fe as Popover, pe as PopoverContent, me as PopoverTrigger, _n as Portal, vn as Presence, Je as Progress, Y as ProgressBar, Ye as ProgressCircle, K as ProgressIndicator, rt as Prose, it as PullToRefresh, at as QrCode, Zt as RadialProgress, y as Radio, Le as RadioCard, Re as RadioCardGroup, b as RadioGroup, Fe as RatingGroup, ot as RelativeTime, zt as Resizable, ht as ScrollArea, $ as Search, Me as SegmentedControl, _ as Select, u as Separator, be as Sheet, ze as ShellHeader, W as SideNav, J as Skeleton, Ke as SkipNavLink, qe as SkipNavTarget, S as Slider, yn as Slot, on as Spacer, e as Spinner, Jt as Stack, We as Stat, Ge as Status, Wt as Steps, wt as StructuredList, bn as SuspenseBoundary, Qt as Swap, $t as SwipeItem, Ve as Switcher, O as Tabs, k as TabsContent, A as TabsList, j as TabsTrigger, q as Tag, Ae as TagsInput, Ze as Text, g as Textarea, ln as ThemeProvider, Gt as Tile, de as TimePicker, Ot as Timeline, T as ToastProvider, B as Toc, x as Toggle, ft as ToggleGroup, yt as Toggletip, C as Tooltip, St as TreeView, m as User, xn as VisuallyHidden, Sn as batch, Cn as cn, wn as composeRefs, Tn as computePosition, En as computed, oe as createForm, Dn as createMachine, On as createScope, kn as createStreamBuffer, E as dismissAllToasts, An as effect, re as fuzzyMatch, ie as fuzzyScore, jn as getLinkComponent, Mn as mergeProps, Nn as setLinkComponent, un as setTheme, Pn as signal, dn as themePreloadScript, fn as themeSignal, Ct as treeViewMessages, Fn as useAnchorPosition, In as useClipboard, Ln as useComputed, Rn as useControllableSignal, zn as useDisclosure, Bn as useEffectPropSignal, se as useForm, Vn as useId, Hn as useMachine, Un as useMediaQuery, U as usePopover, Wn as useRovingFocus, Gn as useScope, Kn as useScrollLock, qn as useSignal, Jn as useSignalEffect, Yn as useSignals, Xn as useStreamBuffer, pn as useTheme, D as useToast, V as useTocFromRegion, Zn as useTypeahead };
@@ -1,14 +1,13 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./search.module.js";
4
- import { cn as t, useSignal as n, useSignalEffect as r, useSignals as i } from "@cascivo/core";
5
- import { builtin as a, t as o } from "@cascivo/i18n";
6
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
- import { useRef as l } from "react";
4
+ import { cn as t, useId as n, useSignal as r, useSignalEffect as i, useSignals as a } from "@cascivo/core";
5
+ import { builtin as o, t as s } from "@cascivo/i18n";
6
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
+ import { useRef as u } from "react";
8
8
  //#region ../components/src/search/search.tsx
9
- var u = 0;
10
9
  function d() {
11
- return /* @__PURE__ */ c("svg", {
10
+ return /* @__PURE__ */ l("svg", {
12
11
  viewBox: "0 0 16 16",
13
12
  width: "16",
14
13
  height: "16",
@@ -17,11 +16,11 @@ function d() {
17
16
  strokeWidth: "1.5",
18
17
  strokeLinecap: "round",
19
18
  "aria-hidden": "true",
20
- children: [/* @__PURE__ */ s("circle", {
19
+ children: [/* @__PURE__ */ c("circle", {
21
20
  cx: "7",
22
21
  cy: "7",
23
22
  r: "4.5"
24
- }), /* @__PURE__ */ s("line", {
23
+ }), /* @__PURE__ */ c("line", {
25
24
  x1: "10.5",
26
25
  y1: "10.5",
27
26
  x2: "14",
@@ -30,17 +29,15 @@ function d() {
30
29
  });
31
30
  }
32
31
  function f({ value: f, defaultValue: p = "", onValueChange: m, onChange: h, onSearch: g, debounceMs: _ = 300, placeholder: v, size: y = "md", label: b, disabled: x = !1, clearLabel: S, id: C, className: w }) {
33
- i();
34
- let T = v ?? o(a.search.placeholder), E = b ?? o(a.search.label), D = S ?? o(a.search.clear), O = l(null), k = l("");
35
- k.current === "" && (u += 1, k.current = `cascade-search-${u}`);
36
- let A = C ?? k.current, j = f !== void 0, M = n(j ? f : p);
32
+ a();
33
+ let T = v ?? s(o.search.placeholder), E = b ?? s(o.search.label), D = S ?? s(o.search.clear), O = u(null), k = n("cascade-search"), A = C ?? k, j = f !== void 0, M = r(j ? f : p);
37
34
  j && (M.value = f);
38
- let N = l(g);
35
+ let N = u(g);
39
36
  N.current = g;
40
- let P = l(null), F = () => {
37
+ let P = u(null), F = () => {
41
38
  P.current !== null && (clearTimeout(P.current), P.current = null);
42
39
  };
43
- r(() => F);
40
+ i(() => F);
44
41
  let I = (e) => {
45
42
  let t = e.target.value;
46
43
  j || (M.value = t), (m ?? h)?.(t), F(), P.current = setTimeout(() => {
@@ -51,21 +48,21 @@ function f({ value: f, defaultValue: p = "", onValueChange: m, onChange: h, onSe
51
48
  }, R = () => {
52
49
  F(), j || (M.value = ""), (m ?? h)?.(""), g?.(""), O.current?.focus();
53
50
  }, z = M.value !== "";
54
- return /* @__PURE__ */ c("div", {
51
+ return /* @__PURE__ */ l("div", {
55
52
  className: t(e.root, w),
56
53
  "data-size": y,
57
54
  "data-state": z ? "filled" : "empty",
58
55
  children: [
59
- /* @__PURE__ */ s("label", {
56
+ /* @__PURE__ */ c("label", {
60
57
  className: e.label,
61
58
  htmlFor: A,
62
59
  children: E
63
60
  }),
64
- /* @__PURE__ */ s("span", {
61
+ /* @__PURE__ */ c("span", {
65
62
  className: e.icon,
66
- children: /* @__PURE__ */ s(d, {})
63
+ children: /* @__PURE__ */ c(d, {})
67
64
  }),
68
- /* @__PURE__ */ s("input", {
65
+ /* @__PURE__ */ c("input", {
69
66
  ref: O,
70
67
  id: A,
71
68
  type: "search",
@@ -76,13 +73,13 @@ function f({ value: f, defaultValue: p = "", onValueChange: m, onChange: h, onSe
76
73
  onChange: I,
77
74
  onKeyDown: L
78
75
  }),
79
- z && /* @__PURE__ */ s("button", {
76
+ z && /* @__PURE__ */ c("button", {
80
77
  type: "button",
81
78
  className: e.clear,
82
79
  "aria-label": D,
83
80
  disabled: x,
84
81
  onClick: R,
85
- children: /* @__PURE__ */ s("span", {
82
+ children: /* @__PURE__ */ c("span", {
86
83
  "aria-hidden": "true",
87
84
  children: "✕"
88
85
  })
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- root: "_root_1m8s8_2",
5
- label: "_label_1m8s8_31",
6
- icon: "_icon_1m8s8_44",
7
- input: "_input_1m8s8_53",
8
- clear: "_clear_1m8s8_99"
4
+ root: "_root_1ppci_2",
5
+ label: "_label_1ppci_35",
6
+ icon: "_icon_1ppci_48",
7
+ input: "_input_1ppci_57",
8
+ clear: "_clear_1ppci_103"
9
9
  };
10
10
  //#endregion
11
11
  export { e as default };
@@ -1,15 +1,13 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./sheet.module.js";
4
- import { useSignal as t, useSignalEffect as n } from "@cascivo/core";
4
+ import { useEffectPropSignal as t, useSignalEffect as n } from "@cascivo/core";
5
5
  import { builtin as r, t as i } from "@cascivo/i18n";
6
6
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  import { useId as s, useRef as c } from "react";
8
8
  //#region ../components/src/sheet/sheet.tsx
9
9
  function l({ open: l, onClose: u, title: d, children: f, side: p = "end" }) {
10
- let m = c(null), h = s(), g = t(l);
11
- g.value = l;
12
- let _ = c(u);
10
+ let m = c(null), h = s(), g = t(l), _ = c(u);
13
11
  return _.current = u, n(() => {
14
12
  let e = m.current;
15
13
  if (e) if (g.value) try {
@@ -4,10 +4,11 @@ import e from "./stat.module.js";
4
4
  import { cn as t } from "@cascivo/core";
5
5
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
6
6
  //#region ../components/src/stat/stat.tsx
7
- function i({ label: i, value: a, delta: o, trend: s = "flat", helpText: c, visual: l, className: u, ...d }) {
7
+ function i({ label: i, value: a, delta: o, trend: s = "flat", helpText: c, card: l = !1, visual: u, className: d, ...f }) {
8
8
  return /* @__PURE__ */ r("div", {
9
- className: t(e.stat, u),
10
- ...d,
9
+ "data-card": l || void 0,
10
+ className: t(e.stat, d),
11
+ ...f,
11
12
  children: [
12
13
  /* @__PURE__ */ n("span", {
13
14
  className: e.label,
@@ -30,9 +31,9 @@ function i({ label: i, value: a, delta: o, trend: s = "flat", helpText: c, visua
30
31
  className: e.help,
31
32
  children: c
32
33
  }),
33
- l && /* @__PURE__ */ n("span", {
34
+ u && /* @__PURE__ */ n("span", {
34
35
  className: e.visual,
35
- children: l
36
+ children: u
36
37
  })
37
38
  ]
38
39
  });
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- stat: "_stat_r3v5x_2",
5
- label: "_label_r3v5x_9",
6
- value: "_value_r3v5x_15",
7
- delta: "_delta_r3v5x_23",
8
- arrow: "_arrow_r3v5x_44",
9
- help: "_help_r3v5x_49",
10
- visual: "_visual_r3v5x_55"
4
+ stat: "_stat_ge5ag_2",
5
+ label: "_label_ge5ag_20",
6
+ value: "_value_ge5ag_26",
7
+ delta: "_delta_ge5ag_34",
8
+ arrow: "_arrow_ge5ag_55",
9
+ help: "_help_ge5ag_60",
10
+ visual: "_visual_ge5ag_66"
11
11
  };
12
12
  //#endregion
13
13
  export { e as default };
@@ -1,20 +1,27 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./status.module.js";
4
- import { cn as t } from "@cascivo/core";
5
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { cn as t, normalizeTone as n } from "@cascivo/core";
5
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
6
  //#region ../components/src/status/status.tsx
7
- function i({ status: i = "neutral", pulse: a = !1, className: o, children: s, ...c }) {
8
- return /* @__PURE__ */ r("span", {
9
- "data-status": i,
10
- "data-pulse": a ? "" : void 0,
11
- className: t(e.status, o),
12
- ...c,
13
- children: [/* @__PURE__ */ n("span", {
7
+ var a = {
8
+ neutral: "neutral",
9
+ info: "info",
10
+ success: "success",
11
+ warning: "warning",
12
+ danger: "error"
13
+ };
14
+ function o({ status: o = "neutral", pulse: s = !1, className: c, children: l, ...u }) {
15
+ return /* @__PURE__ */ i("span", {
16
+ "data-status": a[n(o)] ?? o,
17
+ "data-pulse": s ? "" : void 0,
18
+ className: t(e.status, c),
19
+ ...u,
20
+ children: [/* @__PURE__ */ r("span", {
14
21
  "aria-hidden": "true",
15
22
  className: e.dot
16
- }), s]
23
+ }), l]
17
24
  });
18
25
  }
19
26
  //#endregion
20
- export { i as Status };
27
+ export { o as Status };
@@ -1,35 +1,35 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./steps.module.js";
4
- import { useSignal as t, useSignals as n } from "@cascivo/core";
5
- import { builtin as r, t as i } from "@cascivo/i18n";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
4
+ import { normalizeProgress as t, useSignal as n, useSignals as r } from "@cascivo/core";
5
+ import { builtin as i, t as a } from "@cascivo/i18n";
6
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  //#region ../components/src/steps/steps.tsx
8
- function s({ steps: s, activeStep: c, orientation: l = "horizontal", className: u, ariaLabel: d }) {
9
- n();
10
- let f = t(c ?? 0);
11
- f.value = c ?? f.value;
12
- let p = d ?? i(r.steps.label);
13
- return /* @__PURE__ */ a("ol", {
14
- className: [e.steps, u].filter(Boolean).join(" "),
15
- "data-orientation": l,
16
- "aria-label": p,
17
- children: s.map((t, n) => {
18
- let r = t.state ?? (n < f.value ? "complete" : n === f.value ? "active" : "pending");
19
- return /* @__PURE__ */ o("li", {
8
+ function c({ steps: c, activeStep: l, orientation: u = "horizontal", className: d, ariaLabel: f }) {
9
+ r();
10
+ let p = n(l ?? 0);
11
+ p.value = l ?? p.value;
12
+ let m = f ?? a(i.steps.label);
13
+ return /* @__PURE__ */ o("ol", {
14
+ className: [e.steps, d].filter(Boolean).join(" "),
15
+ "data-orientation": u,
16
+ "aria-label": m,
17
+ children: c.map((n, r) => {
18
+ let i = n.state ? t(n.state) : r < p.value ? "complete" : r === p.value ? "active" : "pending";
19
+ return /* @__PURE__ */ s("li", {
20
20
  className: e.step,
21
- "data-state": r,
22
- "aria-current": r === "active" ? "step" : void 0,
23
- children: [/* @__PURE__ */ a("div", {
21
+ "data-state": i,
22
+ "aria-current": i === "active" ? "step" : void 0,
23
+ children: [/* @__PURE__ */ o("div", {
24
24
  className: e.circle,
25
- children: r === "complete" ? "✓" : r === "error" ? "✕" : n + 1
26
- }), /* @__PURE__ */ a("span", {
25
+ children: i === "complete" ? "✓" : i === "error" ? "✕" : r + 1
26
+ }), /* @__PURE__ */ o("span", {
27
27
  className: e.label,
28
- children: t.label
28
+ children: n.label
29
29
  })]
30
- }, n);
30
+ }, r);
31
31
  })
32
32
  });
33
33
  }
34
34
  //#endregion
35
- export { s as Steps };
35
+ export { c as Steps };
@@ -6,10 +6,10 @@ import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
6
  import { useId as s } from "react";
7
7
  //#region ../components/src/structured-list/structured-list.tsx
8
8
  function c(n) {
9
- let { items: r, headers: i, selectable: s = !1, className: c, "aria-label": u } = n;
9
+ let { items: r, headers: i, selectable: s = !1, className: c, ariaLabel: u, "aria-label": d } = n;
10
10
  return s ? /* @__PURE__ */ a(l, { ...n }) : /* @__PURE__ */ o("div", {
11
11
  role: "table",
12
- "aria-label": u,
12
+ "aria-label": d ?? u,
13
13
  className: t(e.list, c),
14
14
  children: [i && /* @__PURE__ */ a("div", {
15
15
  role: "row",
@@ -34,21 +34,22 @@ function c(n) {
34
34
  })]
35
35
  });
36
36
  }
37
- function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, className: p, "aria-label": m }) {
37
+ function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, className: p, ariaLabel: m, "aria-label": h }) {
38
+ let g = h ?? m;
38
39
  i();
39
- let h = s(), [g, _] = n({
40
+ let _ = s(), [v, y] = n({
40
41
  value: u,
41
42
  defaultValue: d ?? c.find((e) => e.selected)?.id ?? "",
42
43
  onChange: f
43
- }), v = r({
44
+ }), b = r({
44
45
  orientation: "vertical",
45
46
  loop: !1
46
- }), y = (e) => {
47
- _(e);
47
+ }), x = (e) => {
48
+ y(e);
48
49
  };
49
50
  return /* @__PURE__ */ o("div", {
50
51
  role: "radiogroup",
51
- "aria-label": m,
52
+ "aria-label": g,
52
53
  className: t(e.list, e.selectable, p),
53
54
  children: [l && /* @__PURE__ */ o("div", {
54
55
  className: e.headerRow,
@@ -62,18 +63,18 @@ function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, class
62
63
  }), /* @__PURE__ */ a("div", {
63
64
  className: e.body,
64
65
  children: c.map((t, n) => {
65
- let r = g.value === t.id, { ref: i, ...s } = v.getItemProps(n);
66
+ let r = v.value === t.id, { ref: i, ...s } = b.getItemProps(n);
66
67
  return /* @__PURE__ */ o("div", {
67
68
  role: "radio",
68
69
  "aria-checked": r,
69
- "aria-labelledby": `${h}-${t.id}-label`,
70
+ "aria-labelledby": `${_}-${t.id}-label`,
70
71
  "data-selected": r || void 0,
71
72
  className: e.row,
72
73
  ref: i,
73
74
  ...s,
74
- onClick: () => y(t.id),
75
+ onClick: () => x(t.id),
75
76
  onKeyDown: (e) => {
76
- s.onKeyDown(e), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), y(t.id));
77
+ s.onKeyDown(e), (e.key === "Enter" || e.key === " ") && (e.preventDefault(), x(t.id));
77
78
  },
78
79
  children: [
79
80
  /* @__PURE__ */ a("div", {
@@ -83,7 +84,7 @@ function l({ items: c, headers: l, value: u, defaultValue: d, onSelect: f, class
83
84
  }),
84
85
  /* @__PURE__ */ a("div", {
85
86
  className: e.cell,
86
- id: `${h}-${t.id}-label`,
87
+ id: `${_}-${t.id}-label`,
87
88
  children: t.cells[0]
88
89
  }),
89
90
  t.cells.slice(1).map((t, n) => /* @__PURE__ */ a("div", {
@@ -1,26 +1,33 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./tag.module.js";
4
- import { cn as t, useSignals as n } from "@cascivo/core";
5
- import { builtin as r, t as i } from "@cascivo/i18n";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
4
+ import { cn as t, normalizeTone as n, useSignals as r } from "@cascivo/core";
5
+ import { builtin as i, t as a } from "@cascivo/i18n";
6
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  //#region ../components/src/tag/tag.tsx
8
- function s({ variant: s = "default", size: c = "md", onDismiss: l, dismissLabel: u, className: d, children: f, ...p }) {
9
- n();
10
- let m = u ?? i(r.tag.dismiss);
11
- return /* @__PURE__ */ o("span", {
12
- "data-variant": s,
13
- "data-size": c,
14
- className: t(e.tag, d),
15
- ...p,
16
- children: [f, l && /* @__PURE__ */ a("button", {
8
+ var c = {
9
+ neutral: "default",
10
+ info: "info",
11
+ success: "success",
12
+ warning: "warning",
13
+ danger: "error"
14
+ };
15
+ function l({ variant: l = "default", size: u = "md", onDismiss: d, dismissLabel: f, className: p, children: m, ...h }) {
16
+ r();
17
+ let g = f ?? a(i.tag.dismiss);
18
+ return /* @__PURE__ */ s("span", {
19
+ "data-variant": c[n(l)] ?? l,
20
+ "data-size": u,
21
+ className: t(e.tag, p),
22
+ ...h,
23
+ children: [m, d && /* @__PURE__ */ o("button", {
17
24
  type: "button",
18
25
  className: e.dismiss,
19
- "aria-label": m,
20
- onClick: l,
26
+ "aria-label": g,
27
+ onClick: d,
21
28
  children: "✕"
22
29
  })]
23
30
  });
24
31
  }
25
32
  //#endregion
26
- export { s as Tag };
33
+ export { l as Tag };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- wrapper: "_wrapper_i1hay_2",
5
- tag: "_tag_i1hay_28",
6
- dismiss: "_dismiss_i1hay_55",
7
- input: "_input_i1hay_85"
4
+ wrapper: "_wrapper_1ycwz_2",
5
+ tag: "_tag_1ycwz_32",
6
+ dismiss: "_dismiss_1ycwz_59",
7
+ input: "_input_1ycwz_89"
8
8
  };
9
9
  //#endregion
10
10
  export { e as default };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- tile: "_tile_1wkku_2",
5
- icon: "_icon_1wkku_36",
6
- body: "_body_1wkku_49"
4
+ tile: "_tile_cxt7m_2",
5
+ icon: "_icon_cxt7m_38",
6
+ body: "_body_cxt7m_51"
7
7
  };
8
8
  //#endregion
9
9
  export { e as default };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
 
3
3
  var e = {
4
- wrapper: "_wrapper_shh6w_2",
5
- label: "_label_shh6w_25",
6
- input: "_input_shh6w_32",
7
- error: "_error_shh6w_66",
8
- hint: "_hint_shh6w_71"
4
+ wrapper: "_wrapper_auxoq_2",
5
+ label: "_label_auxoq_29",
6
+ input: "_input_auxoq_36",
7
+ error: "_error_auxoq_70",
8
+ hint: "_hint_auxoq_75"
9
9
  };
10
10
  //#endregion
11
11
  export { e as default };