@cascivo/react 0.13.1 → 0.16.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 (516) hide show
  1. package/README.md +2 -2
  2. package/dist/accordion/accordion.css +1 -1
  3. package/dist/accordion/accordion.js +81 -65
  4. package/dist/accordion/accordion.module.js +6 -9
  5. package/dist/action-sheet/action-sheet.js +11 -11
  6. package/dist/action-sheet/action-sheet.module.js +0 -2
  7. package/dist/alert/alert.module.js +0 -2
  8. package/dist/alert-dialog/alert-dialog.css +1 -1
  9. package/dist/alert-dialog/alert-dialog.js +6 -6
  10. package/dist/alert-dialog/alert-dialog.module.js +7 -9
  11. package/dist/app-shell/app-shell.js +10 -10
  12. package/dist/app-shell/app-shell.module.js +0 -2
  13. package/dist/aspect-ratio/aspect-ratio.js +1 -3
  14. package/dist/aspect-ratio/aspect-ratio.module.js +0 -2
  15. package/dist/avatar/avatar.module.js +0 -2
  16. package/dist/avatar-group/avatar-group.js +1 -3
  17. package/dist/avatar-group/avatar-group.module.js +0 -2
  18. package/dist/badge/badge.js +1 -3
  19. package/dist/badge/badge.module.js +0 -2
  20. package/dist/blockquote/blockquote.js +1 -3
  21. package/dist/blockquote/blockquote.module.js +0 -2
  22. package/dist/bottom-sheet/bottom-sheet.js +12 -12
  23. package/dist/bottom-sheet/bottom-sheet.module.js +0 -2
  24. package/dist/breadcrumb/breadcrumb.module.js +0 -2
  25. package/dist/button/button.js +1 -3
  26. package/dist/button/button.module.js +0 -2
  27. package/dist/button-group/button-group.js +6 -6
  28. package/dist/button-group/button-group.module.js +0 -2
  29. package/dist/calendar/calendar.module.js +0 -2
  30. package/dist/card/card.js +1 -3
  31. package/dist/card/card.module.js +0 -2
  32. package/dist/carousel/carousel.js +9 -9
  33. package/dist/carousel/carousel.module.js +0 -2
  34. package/dist/chat-bubble/chat-bubble.js +0 -2
  35. package/dist/chat-bubble/chat-bubble.module.js +0 -2
  36. package/dist/checkbox/checkbox.js +10 -10
  37. package/dist/checkbox/checkbox.module.js +0 -2
  38. package/dist/checkbox-card/checkbox-card.js +5 -5
  39. package/dist/checkbox-card/checkbox-card.module.js +0 -2
  40. package/dist/code/code.js +1 -3
  41. package/dist/code/code.module.js +0 -2
  42. package/dist/code-snippet/code-snippet.module.js +0 -2
  43. package/dist/code-snippet/highlight.js +0 -2
  44. package/dist/collapsible/collapsible.css +1 -1
  45. package/dist/collapsible/collapsible.js +36 -31
  46. package/dist/collapsible/collapsible.module.js +3 -6
  47. package/dist/color-picker/color-picker.js +7 -7
  48. package/dist/color-picker/color-picker.module.js +0 -2
  49. package/dist/combobox/combobox.css +1 -1
  50. package/dist/combobox/combobox.js +11 -11
  51. package/dist/combobox/combobox.module.js +15 -17
  52. package/dist/command-menu/command-menu.js +113 -113
  53. package/dist/command-menu/command-menu.module.js +0 -2
  54. package/dist/comparison/comparison.js +5 -5
  55. package/dist/comparison/comparison.module.js +0 -2
  56. package/dist/contained-list/contained-list.module.js +0 -2
  57. package/dist/context-menu/context-menu.js +6 -6
  58. package/dist/context-menu/context-menu.module.js +0 -2
  59. package/dist/copy-button/copy-button.js +7 -7
  60. package/dist/copy-button/copy-button.module.js +0 -2
  61. package/dist/data-list/data-list.js +1 -3
  62. package/dist/data-list/data-list.module.js +0 -2
  63. package/dist/data-table/data-table.css +1 -1
  64. package/dist/data-table/data-table.js +164 -164
  65. package/dist/data-table/data-table.module.js +29 -31
  66. package/dist/date-picker/date-picker.css +1 -1
  67. package/dist/date-picker/date-picker.js +24 -24
  68. package/dist/date-picker/date-picker.module.js +19 -21
  69. package/dist/date-range-picker/date-range-picker.js +30 -30
  70. package/dist/date-range-picker/date-range-picker.module.js +0 -2
  71. package/dist/dock/dock.module.js +0 -2
  72. package/dist/drawer/drawer.js +11 -11
  73. package/dist/drawer/drawer.module.js +0 -2
  74. package/dist/dropdown/dropdown.js +14 -14
  75. package/dist/dropdown/dropdown.module.js +0 -2
  76. package/dist/editable/editable.css +1 -1
  77. package/dist/editable/editable.js +8 -8
  78. package/dist/editable/editable.module.js +7 -9
  79. package/dist/empty-state/empty-state.js +1 -3
  80. package/dist/empty-state/empty-state.module.js +0 -2
  81. package/dist/fab/fab.js +12 -12
  82. package/dist/fab/fab.module.js +0 -2
  83. package/dist/field/field.js +1 -3
  84. package/dist/field/field.module.js +0 -2
  85. package/dist/file-uploader/file-uploader.css +1 -1
  86. package/dist/file-uploader/file-uploader.js +5 -5
  87. package/dist/file-uploader/file-uploader.module.js +14 -16
  88. package/dist/filter/filter.module.js +0 -2
  89. package/dist/form/form.module.js +0 -2
  90. package/dist/header/header.module.js +0 -2
  91. package/dist/header-panel/header-panel.js +8 -8
  92. package/dist/header-panel/header-panel.module.js +0 -2
  93. package/dist/heading/heading.js +1 -3
  94. package/dist/heading/heading.module.js +0 -2
  95. package/dist/hover-card/hover-card.js +18 -18
  96. package/dist/hover-card/hover-card.module.js +0 -2
  97. package/dist/icon-button/icon-button.js +1 -3
  98. package/dist/icon-button/icon-button.module.js +0 -2
  99. package/dist/image/image.module.js +0 -2
  100. package/dist/index.d.ts +151 -24
  101. package/dist/index.js +0 -1
  102. package/dist/indicator/indicator.js +0 -2
  103. package/dist/indicator/indicator.module.js +0 -2
  104. package/dist/inline-loading/inline-loading.js +1 -3
  105. package/dist/inline-loading/inline-loading.module.js +0 -2
  106. package/dist/input/input.js +11 -11
  107. package/dist/input/input.module.js +0 -2
  108. package/dist/input-group/input-group.js +1 -3
  109. package/dist/input-group/input-group.module.js +0 -2
  110. package/dist/item/item.js +1 -3
  111. package/dist/item/item.module.js +0 -2
  112. package/dist/join/join.js +0 -2
  113. package/dist/join/join.module.js +0 -2
  114. package/dist/kbd/kbd.js +1 -3
  115. package/dist/kbd/kbd.module.js +0 -2
  116. package/dist/label/label.js +1 -3
  117. package/dist/label/label.module.js +0 -2
  118. package/dist/layouts/src/auto-grid/auto-grid.js +1 -3
  119. package/dist/layouts/src/auto-grid/auto-grid.module.js +0 -2
  120. package/dist/layouts/src/center/center.js +1 -3
  121. package/dist/layouts/src/center/center.module.js +0 -2
  122. package/dist/layouts/src/columns/columns.js +1 -3
  123. package/dist/layouts/src/columns/columns.module.js +0 -2
  124. package/dist/layouts/src/flex/flex.js +1 -3
  125. package/dist/layouts/src/flex/flex.module.js +0 -2
  126. package/dist/layouts/src/grid/grid.js +1 -3
  127. package/dist/layouts/src/grid/grid.module.js +0 -2
  128. package/dist/layouts/src/page-header/page-header.css +1 -1
  129. package/dist/layouts/src/page-header/page-header.js +1 -3
  130. package/dist/layouts/src/page-header/page-header.module.js +6 -8
  131. package/dist/layouts/src/spacer/spacer.js +1 -3
  132. package/dist/layouts/src/spacer/spacer.module.js +0 -2
  133. package/dist/link/link.js +1 -3
  134. package/dist/link/link.module.js +0 -2
  135. package/dist/list/list.js +1 -3
  136. package/dist/list/list.module.js +0 -2
  137. package/dist/log-viewer/log-viewer.js +15 -15
  138. package/dist/log-viewer/log-viewer.module.js +0 -2
  139. package/dist/menu/menu.js +22 -21
  140. package/dist/menu/menu.module.js +0 -2
  141. package/dist/menu-button/menu-button.js +8 -8
  142. package/dist/menu-button/menu-button.module.js +0 -2
  143. package/dist/menubar/menubar.js +24 -24
  144. package/dist/menubar/menubar.module.js +0 -2
  145. package/dist/modal/modal.js +9 -9
  146. package/dist/modal/modal.module.js +0 -2
  147. package/dist/multi-select/multi-select.css +1 -1
  148. package/dist/multi-select/multi-select.js +8 -8
  149. package/dist/multi-select/multi-select.module.js +11 -13
  150. package/dist/native-select/native-select.js +1 -3
  151. package/dist/native-select/native-select.module.js +0 -2
  152. package/dist/navigation-menu/navigation-menu.js +26 -26
  153. package/dist/navigation-menu/navigation-menu.module.js +0 -2
  154. package/dist/node/accordion/accordion.js +81 -65
  155. package/dist/node/accordion/accordion.module.js +6 -9
  156. package/dist/node/action-sheet/action-sheet.js +11 -11
  157. package/dist/node/action-sheet/action-sheet.module.js +0 -2
  158. package/dist/node/alert/alert.module.js +0 -2
  159. package/dist/node/alert-dialog/alert-dialog.js +6 -6
  160. package/dist/node/alert-dialog/alert-dialog.module.js +7 -9
  161. package/dist/node/app-shell/app-shell.js +10 -10
  162. package/dist/node/app-shell/app-shell.module.js +0 -2
  163. package/dist/node/aspect-ratio/aspect-ratio.js +1 -3
  164. package/dist/node/aspect-ratio/aspect-ratio.module.js +0 -2
  165. package/dist/node/avatar/avatar.module.js +0 -2
  166. package/dist/node/avatar-group/avatar-group.js +1 -3
  167. package/dist/node/avatar-group/avatar-group.module.js +0 -2
  168. package/dist/node/badge/badge.js +1 -3
  169. package/dist/node/badge/badge.module.js +0 -2
  170. package/dist/node/blockquote/blockquote.js +1 -3
  171. package/dist/node/blockquote/blockquote.module.js +0 -2
  172. package/dist/node/bottom-sheet/bottom-sheet.js +12 -12
  173. package/dist/node/bottom-sheet/bottom-sheet.module.js +0 -2
  174. package/dist/node/breadcrumb/breadcrumb.module.js +0 -2
  175. package/dist/node/button/button.js +1 -3
  176. package/dist/node/button/button.module.js +0 -2
  177. package/dist/node/button-group/button-group.js +6 -6
  178. package/dist/node/button-group/button-group.module.js +0 -2
  179. package/dist/node/calendar/calendar.module.js +0 -2
  180. package/dist/node/card/card.js +1 -3
  181. package/dist/node/card/card.module.js +0 -2
  182. package/dist/node/carousel/carousel.js +9 -9
  183. package/dist/node/carousel/carousel.module.js +0 -2
  184. package/dist/node/chat-bubble/chat-bubble.js +0 -2
  185. package/dist/node/chat-bubble/chat-bubble.module.js +0 -2
  186. package/dist/node/checkbox/checkbox.js +10 -10
  187. package/dist/node/checkbox/checkbox.module.js +0 -2
  188. package/dist/node/checkbox-card/checkbox-card.js +5 -5
  189. package/dist/node/checkbox-card/checkbox-card.module.js +0 -2
  190. package/dist/node/code/code.js +1 -3
  191. package/dist/node/code/code.module.js +0 -2
  192. package/dist/node/code-snippet/code-snippet.module.js +0 -2
  193. package/dist/node/code-snippet/highlight.js +0 -2
  194. package/dist/node/collapsible/collapsible.js +36 -31
  195. package/dist/node/collapsible/collapsible.module.js +3 -6
  196. package/dist/node/color-picker/color-picker.js +7 -7
  197. package/dist/node/color-picker/color-picker.module.js +0 -2
  198. package/dist/node/combobox/combobox.js +11 -11
  199. package/dist/node/combobox/combobox.module.js +15 -17
  200. package/dist/node/command-menu/command-menu.js +113 -113
  201. package/dist/node/command-menu/command-menu.module.js +0 -2
  202. package/dist/node/comparison/comparison.js +5 -5
  203. package/dist/node/comparison/comparison.module.js +0 -2
  204. package/dist/node/contained-list/contained-list.module.js +0 -2
  205. package/dist/node/context-menu/context-menu.js +6 -6
  206. package/dist/node/context-menu/context-menu.module.js +0 -2
  207. package/dist/node/copy-button/copy-button.js +7 -7
  208. package/dist/node/copy-button/copy-button.module.js +0 -2
  209. package/dist/node/data-list/data-list.js +1 -3
  210. package/dist/node/data-list/data-list.module.js +0 -2
  211. package/dist/node/data-table/data-table.js +164 -164
  212. package/dist/node/data-table/data-table.module.js +29 -31
  213. package/dist/node/date-picker/date-picker.js +24 -24
  214. package/dist/node/date-picker/date-picker.module.js +19 -21
  215. package/dist/node/date-range-picker/date-range-picker.js +30 -30
  216. package/dist/node/date-range-picker/date-range-picker.module.js +0 -2
  217. package/dist/node/dock/dock.module.js +0 -2
  218. package/dist/node/drawer/drawer.js +11 -11
  219. package/dist/node/drawer/drawer.module.js +0 -2
  220. package/dist/node/dropdown/dropdown.js +14 -14
  221. package/dist/node/dropdown/dropdown.module.js +0 -2
  222. package/dist/node/editable/editable.js +8 -8
  223. package/dist/node/editable/editable.module.js +7 -9
  224. package/dist/node/empty-state/empty-state.js +1 -3
  225. package/dist/node/empty-state/empty-state.module.js +0 -2
  226. package/dist/node/fab/fab.js +12 -12
  227. package/dist/node/fab/fab.module.js +0 -2
  228. package/dist/node/field/field.js +1 -3
  229. package/dist/node/field/field.module.js +0 -2
  230. package/dist/node/file-uploader/file-uploader.js +5 -5
  231. package/dist/node/file-uploader/file-uploader.module.js +14 -16
  232. package/dist/node/filter/filter.module.js +0 -2
  233. package/dist/node/form/form.module.js +0 -2
  234. package/dist/node/header/header.module.js +0 -2
  235. package/dist/node/header-panel/header-panel.js +8 -8
  236. package/dist/node/header-panel/header-panel.module.js +0 -2
  237. package/dist/node/heading/heading.js +1 -3
  238. package/dist/node/heading/heading.module.js +0 -2
  239. package/dist/node/hover-card/hover-card.js +18 -18
  240. package/dist/node/hover-card/hover-card.module.js +0 -2
  241. package/dist/node/icon-button/icon-button.js +1 -3
  242. package/dist/node/icon-button/icon-button.module.js +0 -2
  243. package/dist/node/image/image.module.js +0 -2
  244. package/dist/node/index.js +0 -1
  245. package/dist/node/indicator/indicator.js +0 -2
  246. package/dist/node/indicator/indicator.module.js +0 -2
  247. package/dist/node/inline-loading/inline-loading.js +1 -3
  248. package/dist/node/inline-loading/inline-loading.module.js +0 -2
  249. package/dist/node/input/input.js +11 -11
  250. package/dist/node/input/input.module.js +0 -2
  251. package/dist/node/input-group/input-group.js +1 -3
  252. package/dist/node/input-group/input-group.module.js +0 -2
  253. package/dist/node/item/item.js +1 -3
  254. package/dist/node/item/item.module.js +0 -2
  255. package/dist/node/join/join.js +0 -2
  256. package/dist/node/join/join.module.js +0 -2
  257. package/dist/node/kbd/kbd.js +1 -3
  258. package/dist/node/kbd/kbd.module.js +0 -2
  259. package/dist/node/label/label.js +1 -3
  260. package/dist/node/label/label.module.js +0 -2
  261. package/dist/node/layouts/src/auto-grid/auto-grid.js +1 -3
  262. package/dist/node/layouts/src/auto-grid/auto-grid.module.js +0 -2
  263. package/dist/node/layouts/src/center/center.js +1 -3
  264. package/dist/node/layouts/src/center/center.module.js +0 -2
  265. package/dist/node/layouts/src/columns/columns.js +1 -3
  266. package/dist/node/layouts/src/columns/columns.module.js +0 -2
  267. package/dist/node/layouts/src/flex/flex.js +1 -3
  268. package/dist/node/layouts/src/flex/flex.module.js +0 -2
  269. package/dist/node/layouts/src/grid/grid.js +1 -3
  270. package/dist/node/layouts/src/grid/grid.module.js +0 -2
  271. package/dist/node/layouts/src/page-header/page-header.js +1 -3
  272. package/dist/node/layouts/src/page-header/page-header.module.js +6 -8
  273. package/dist/node/layouts/src/spacer/spacer.js +1 -3
  274. package/dist/node/layouts/src/spacer/spacer.module.js +0 -2
  275. package/dist/node/link/link.js +1 -3
  276. package/dist/node/link/link.module.js +0 -2
  277. package/dist/node/list/list.js +1 -3
  278. package/dist/node/list/list.module.js +0 -2
  279. package/dist/node/log-viewer/log-viewer.js +15 -15
  280. package/dist/node/log-viewer/log-viewer.module.js +0 -2
  281. package/dist/node/menu/menu.js +22 -21
  282. package/dist/node/menu/menu.module.js +0 -2
  283. package/dist/node/menu-button/menu-button.js +8 -8
  284. package/dist/node/menu-button/menu-button.module.js +0 -2
  285. package/dist/node/menubar/menubar.js +24 -24
  286. package/dist/node/menubar/menubar.module.js +0 -2
  287. package/dist/node/modal/modal.js +9 -9
  288. package/dist/node/modal/modal.module.js +0 -2
  289. package/dist/node/multi-select/multi-select.js +8 -8
  290. package/dist/node/multi-select/multi-select.module.js +11 -13
  291. package/dist/node/native-select/native-select.js +1 -3
  292. package/dist/node/native-select/native-select.module.js +0 -2
  293. package/dist/node/navigation-menu/navigation-menu.js +26 -26
  294. package/dist/node/navigation-menu/navigation-menu.module.js +0 -2
  295. package/dist/node/notification/notification.js +6 -6
  296. package/dist/node/notification/notification.module.js +0 -2
  297. package/dist/node/number-input/number-input.js +7 -7
  298. package/dist/node/number-input/number-input.module.js +0 -2
  299. package/dist/node/otp-input/otp-input.js +5 -5
  300. package/dist/node/otp-input/otp-input.module.js +0 -2
  301. package/dist/node/overflow-menu/overflow-menu.module.js +0 -2
  302. package/dist/node/pagination/pagination.module.js +0 -2
  303. package/dist/node/password-input/password-input.js +8 -8
  304. package/dist/node/password-input/password-input.module.js +0 -2
  305. package/dist/node/popover/popover.js +12 -12
  306. package/dist/node/popover/popover.module.js +0 -2
  307. package/dist/node/popover/use-popover.js +8 -10
  308. package/dist/node/progress/progress.js +0 -2
  309. package/dist/node/progress/progress.module.js +0 -2
  310. package/dist/node/progress-bar/progress-bar.js +1 -3
  311. package/dist/node/progress-bar/progress-bar.module.js +0 -2
  312. package/dist/node/progress-circle/progress-circle.js +1 -3
  313. package/dist/node/progress-circle/progress-circle.module.js +0 -2
  314. package/dist/node/progress-indicator/progress-indicator.js +1 -3
  315. package/dist/node/progress-indicator/progress-indicator.module.js +0 -2
  316. package/dist/node/prose/prose.js +1 -3
  317. package/dist/node/prose/prose.module.js +0 -2
  318. package/dist/node/pull-to-refresh/pull-to-refresh.js +8 -8
  319. package/dist/node/pull-to-refresh/pull-to-refresh.module.js +0 -2
  320. package/dist/node/qr-code/encode.js +0 -2
  321. package/dist/node/qr-code/qr-code.module.js +0 -2
  322. package/dist/node/radial-progress/radial-progress.js +9 -10
  323. package/dist/node/radial-progress/radial-progress.module.js +0 -2
  324. package/dist/node/radio/radio.js +1 -3
  325. package/dist/node/radio/radio.module.js +0 -2
  326. package/dist/node/radio-card/radio-card.js +8 -8
  327. package/dist/node/radio-card/radio-card.module.js +0 -2
  328. package/dist/node/rating-group/rating-group.module.js +0 -2
  329. package/dist/node/react/src/index.js +0 -2
  330. package/dist/node/react/src/theme.js +10 -10
  331. package/dist/node/relative-time/relative-time.module.js +0 -2
  332. package/dist/node/resizable/resizable.js +7 -7
  333. package/dist/node/resizable/resizable.module.js +0 -2
  334. package/dist/node/scroll-area/scroll-area.js +6 -6
  335. package/dist/node/scroll-area/scroll-area.module.js +0 -2
  336. package/dist/node/search/search.js +9 -9
  337. package/dist/node/search/search.module.js +0 -2
  338. package/dist/node/segmented-control/segmented-control.module.js +0 -2
  339. package/dist/node/select/select.js +11 -11
  340. package/dist/node/select/select.module.js +0 -2
  341. package/dist/node/separator/separator.js +1 -3
  342. package/dist/node/separator/separator.module.js +0 -2
  343. package/dist/node/sheet/sheet.js +4 -4
  344. package/dist/node/sheet/sheet.module.js +0 -2
  345. package/dist/node/shell-header/shell-header.js +21 -18
  346. package/dist/node/shell-header/shell-header.module.js +20 -21
  347. package/dist/node/side-nav/side-nav.js +37 -37
  348. package/dist/node/side-nav/side-nav.module.js +0 -2
  349. package/dist/node/skeleton/skeleton.js +1 -3
  350. package/dist/node/skeleton/skeleton.module.js +0 -2
  351. package/dist/node/skip-nav/skip-nav.js +6 -6
  352. package/dist/node/skip-nav/skip-nav.module.js +0 -2
  353. package/dist/node/slider/slider.js +1 -3
  354. package/dist/node/slider/slider.module.js +0 -2
  355. package/dist/node/spinner/spinner.module.js +0 -2
  356. package/dist/node/stack/stack.js +0 -2
  357. package/dist/node/stack/stack.module.js +0 -2
  358. package/dist/node/stat/stat.js +22 -23
  359. package/dist/node/stat/stat.module.js +7 -9
  360. package/dist/node/status/status.js +1 -3
  361. package/dist/node/status/status.module.js +0 -2
  362. package/dist/node/steps/steps.module.js +0 -2
  363. package/dist/node/storage/src/drivers.js +0 -2
  364. package/dist/node/storage/src/persisted-signal.js +0 -2
  365. package/dist/node/structured-list/structured-list.js +10 -10
  366. package/dist/node/structured-list/structured-list.module.js +0 -2
  367. package/dist/node/swap/swap.js +10 -11
  368. package/dist/node/swap/swap.module.js +0 -2
  369. package/dist/node/swipe-item/swipe-item.module.js +0 -2
  370. package/dist/node/switcher/switcher.module.js +0 -2
  371. package/dist/node/tabs/tabs.js +38 -38
  372. package/dist/node/tabs/tabs.module.js +0 -2
  373. package/dist/node/tag/tag.module.js +0 -2
  374. package/dist/node/tags-input/tags-input.js +6 -6
  375. package/dist/node/tags-input/tags-input.module.js +4 -6
  376. package/dist/node/text/text.js +1 -3
  377. package/dist/node/text/text.module.js +0 -2
  378. package/dist/node/textarea/textarea.js +11 -11
  379. package/dist/node/textarea/textarea.module.js +0 -2
  380. package/dist/node/tile/tile.module.js +0 -2
  381. package/dist/node/time-picker/time-picker.js +9 -9
  382. package/dist/node/time-picker/time-picker.module.js +5 -7
  383. package/dist/node/timeline/timeline.js +46 -38
  384. package/dist/node/timeline/timeline.module.js +7 -9
  385. package/dist/node/toast/toast.js +15 -15
  386. package/dist/node/toast/toast.module.js +0 -2
  387. package/dist/node/toc/toc.js +7 -7
  388. package/dist/node/toc/toc.module.js +0 -2
  389. package/dist/node/toggle/toggle.js +7 -7
  390. package/dist/node/toggle/toggle.module.js +0 -2
  391. package/dist/node/toggle-group/toggle-group.js +25 -25
  392. package/dist/node/toggle-group/toggle-group.module.js +0 -2
  393. package/dist/node/toggletip/toggletip.js +7 -7
  394. package/dist/node/toggletip/toggletip.module.js +0 -2
  395. package/dist/node/tooltip/tooltip.js +9 -9
  396. package/dist/node/tooltip/tooltip.module.js +0 -2
  397. package/dist/node/tree-view/tree-view.js +47 -47
  398. package/dist/node/tree-view/tree-view.module.js +0 -2
  399. package/dist/node/user/user.js +1 -3
  400. package/dist/node/user/user.module.js +0 -2
  401. package/dist/node/visually-hidden/visually-hidden.js +1 -3
  402. package/dist/notification/notification.js +6 -6
  403. package/dist/notification/notification.module.js +0 -2
  404. package/dist/number-input/number-input.js +7 -7
  405. package/dist/number-input/number-input.module.js +0 -2
  406. package/dist/otp-input/otp-input.js +5 -5
  407. package/dist/otp-input/otp-input.module.js +0 -2
  408. package/dist/overflow-menu/overflow-menu.module.js +0 -2
  409. package/dist/pagination/pagination.module.js +0 -2
  410. package/dist/password-input/password-input.js +8 -8
  411. package/dist/password-input/password-input.module.js +0 -2
  412. package/dist/popover/popover.js +12 -12
  413. package/dist/popover/popover.module.js +0 -2
  414. package/dist/popover/use-popover.js +8 -10
  415. package/dist/progress/progress.js +0 -2
  416. package/dist/progress/progress.module.js +0 -2
  417. package/dist/progress-bar/progress-bar.js +1 -3
  418. package/dist/progress-bar/progress-bar.module.js +0 -2
  419. package/dist/progress-circle/progress-circle.js +1 -3
  420. package/dist/progress-circle/progress-circle.module.js +0 -2
  421. package/dist/progress-indicator/progress-indicator.js +1 -3
  422. package/dist/progress-indicator/progress-indicator.module.js +0 -2
  423. package/dist/prose/prose.js +1 -3
  424. package/dist/prose/prose.module.js +0 -2
  425. package/dist/pull-to-refresh/pull-to-refresh.js +8 -8
  426. package/dist/pull-to-refresh/pull-to-refresh.module.js +0 -2
  427. package/dist/qr-code/encode.js +0 -2
  428. package/dist/qr-code/qr-code.module.js +0 -2
  429. package/dist/radial-progress/radial-progress.js +9 -10
  430. package/dist/radial-progress/radial-progress.module.js +0 -2
  431. package/dist/radio/radio.js +1 -3
  432. package/dist/radio/radio.module.js +0 -2
  433. package/dist/radio-card/radio-card.js +8 -8
  434. package/dist/radio-card/radio-card.module.js +0 -2
  435. package/dist/rating-group/rating-group.module.js +0 -2
  436. package/dist/react/src/index.js +0 -2
  437. package/dist/react/src/theme.js +10 -10
  438. package/dist/relative-time/relative-time.module.js +0 -2
  439. package/dist/resizable/resizable.js +7 -7
  440. package/dist/resizable/resizable.module.js +0 -2
  441. package/dist/scroll-area/scroll-area.js +6 -6
  442. package/dist/scroll-area/scroll-area.module.js +0 -2
  443. package/dist/search/search.js +9 -9
  444. package/dist/search/search.module.js +0 -2
  445. package/dist/segmented-control/segmented-control.module.js +0 -2
  446. package/dist/select/select.js +11 -11
  447. package/dist/select/select.module.js +0 -2
  448. package/dist/separator/separator.js +1 -3
  449. package/dist/separator/separator.module.js +0 -2
  450. package/dist/sheet/sheet.js +4 -4
  451. package/dist/sheet/sheet.module.js +0 -2
  452. package/dist/shell-header/shell-header.css +1 -1
  453. package/dist/shell-header/shell-header.js +21 -18
  454. package/dist/shell-header/shell-header.module.js +20 -21
  455. package/dist/side-nav/side-nav.js +37 -37
  456. package/dist/side-nav/side-nav.module.js +0 -2
  457. package/dist/skeleton/skeleton.js +1 -3
  458. package/dist/skeleton/skeleton.module.js +0 -2
  459. package/dist/skip-nav/skip-nav.js +6 -6
  460. package/dist/skip-nav/skip-nav.module.js +0 -2
  461. package/dist/slider/slider.js +1 -3
  462. package/dist/slider/slider.module.js +0 -2
  463. package/dist/spinner/spinner.module.js +0 -2
  464. package/dist/stack/stack.js +0 -2
  465. package/dist/stack/stack.module.js +0 -2
  466. package/dist/stat/stat.css +1 -1
  467. package/dist/stat/stat.js +22 -23
  468. package/dist/stat/stat.module.js +7 -9
  469. package/dist/status/status.js +1 -3
  470. package/dist/status/status.module.js +0 -2
  471. package/dist/steps/steps.module.js +0 -2
  472. package/dist/storage/src/drivers.js +0 -2
  473. package/dist/storage/src/persisted-signal.js +0 -2
  474. package/dist/structured-list/structured-list.js +10 -10
  475. package/dist/structured-list/structured-list.module.js +0 -2
  476. package/dist/styles.css +15 -15
  477. package/dist/swap/swap.js +10 -11
  478. package/dist/swap/swap.module.js +0 -2
  479. package/dist/swipe-item/swipe-item.module.js +0 -2
  480. package/dist/switcher/switcher.module.js +0 -2
  481. package/dist/tabs/tabs.js +38 -38
  482. package/dist/tabs/tabs.module.js +0 -2
  483. package/dist/tag/tag.module.js +0 -2
  484. package/dist/tags-input/tags-input.css +1 -1
  485. package/dist/tags-input/tags-input.js +6 -6
  486. package/dist/tags-input/tags-input.module.js +4 -6
  487. package/dist/text/text.js +1 -3
  488. package/dist/text/text.module.js +0 -2
  489. package/dist/textarea/textarea.js +11 -11
  490. package/dist/textarea/textarea.module.js +0 -2
  491. package/dist/tile/tile.module.js +0 -2
  492. package/dist/time-picker/time-picker.css +1 -1
  493. package/dist/time-picker/time-picker.js +9 -9
  494. package/dist/time-picker/time-picker.module.js +5 -7
  495. package/dist/timeline/timeline.css +1 -1
  496. package/dist/timeline/timeline.js +46 -38
  497. package/dist/timeline/timeline.module.js +7 -9
  498. package/dist/toast/toast.js +15 -15
  499. package/dist/toast/toast.module.js +0 -2
  500. package/dist/toc/toc.js +7 -7
  501. package/dist/toc/toc.module.js +0 -2
  502. package/dist/toggle/toggle.js +7 -7
  503. package/dist/toggle/toggle.module.js +0 -2
  504. package/dist/toggle-group/toggle-group.js +25 -25
  505. package/dist/toggle-group/toggle-group.module.js +0 -2
  506. package/dist/toggletip/toggletip.js +7 -7
  507. package/dist/toggletip/toggletip.module.js +0 -2
  508. package/dist/tooltip/tooltip.js +9 -9
  509. package/dist/tooltip/tooltip.module.js +0 -2
  510. package/dist/tree-view/tree-view.js +47 -47
  511. package/dist/tree-view/tree-view.module.js +0 -2
  512. package/dist/user/user.js +1 -3
  513. package/dist/user/user.module.js +0 -2
  514. package/dist/visually-hidden/visually-hidden.js +1 -3
  515. package/package.json +4 -4
  516. package/readme.body.md +2 -2
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = { root: "_root_v07bg_2" };
4
2
  //#endregion
5
3
  export { e as default };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./search.module.js";
4
- import { cn as t, focusElement as n, useId as r, useSignal as i, useSignalEffect as a, useSignals as o } from "@cascivo/core";
5
- import { useRef as s } from "react";
4
+ import { useRef as t } from "react";
5
+ import { cn as n, focusElement as r, useId as i, useSignal as a, useSignalEffect as o, useSignals as s } from "@cascivo/core";
6
6
  import { builtin as c, t as l } from "@cascivo/i18n";
7
7
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
8
8
  //#region ../components/src/search/search.tsx
@@ -29,15 +29,15 @@ function f() {
29
29
  });
30
30
  }
31
31
  function p({ value: p, defaultValue: m = "", onValueChange: h, onChange: g, onSearch: _, debounceMs: v = 300, placeholder: y, size: b = "md", label: x, disabled: S = !1, clearLabel: C, id: w, className: T }) {
32
- o();
33
- let E = y ?? l(c.search.placeholder), D = x ?? l(c.search.label), O = C ?? l(c.search.clear), k = s(null), A = r("cascade-search"), j = w ?? A, M = p !== void 0, N = i(M ? p : m);
32
+ s();
33
+ let E = y ?? l(c.search.placeholder), D = x ?? l(c.search.label), O = C ?? l(c.search.clear), k = t(null), A = i("cascade-search"), j = w ?? A, M = p !== void 0, N = a(M ? p : m);
34
34
  M && (N.value = p);
35
- let P = s(_);
35
+ let P = t(_);
36
36
  P.current = _;
37
- let F = s(null), I = () => {
37
+ let F = t(null), I = () => {
38
38
  F.current !== null && (clearTimeout(F.current), F.current = null);
39
39
  };
40
- a(() => I);
40
+ o(() => I);
41
41
  let L = (e) => {
42
42
  let t = e.target.value;
43
43
  M || (N.value = t), (h ?? g)?.(t), I(), F.current = setTimeout(() => {
@@ -46,10 +46,10 @@ function p({ value: p, defaultValue: m = "", onValueChange: h, onChange: g, onSe
46
46
  }, R = (e) => {
47
47
  e.key === "Enter" && (I(), _?.(N.value));
48
48
  }, z = () => {
49
- I(), M || (N.value = ""), (h ?? g)?.(""), _?.(""), n(k.current);
49
+ I(), M || (N.value = ""), (h ?? g)?.(""), _?.(""), r(k.current);
50
50
  }, B = N.value !== "";
51
51
  return /* @__PURE__ */ d("div", {
52
- className: t(e.root, T),
52
+ className: n(e.root, T),
53
53
  "data-size": b,
54
54
  "data-state": B ? "filled" : "empty",
55
55
  children: [
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  root: "_root_1ppci_2",
5
3
  label: "_label_1ppci_35",
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  wrapper: "_wrapper_196gt_2",
5
3
  segment: "_segment_196gt_33"
@@ -1,27 +1,27 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./select.module.js";
4
- import { cn as t, createMachine as n, useMachine as r } from "@cascivo/core";
5
- import { forwardRef as i } from "react";
4
+ import { forwardRef as t } from "react";
5
+ import { cn as n, createMachine as r, useMachine as i } from "@cascivo/core";
6
6
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  //#region ../components/src/select/select.tsx
8
- var s = n({
8
+ var s = r({
9
9
  initial: "idle",
10
10
  states: {
11
11
  idle: { on: { FOCUS: "focused" } },
12
12
  focused: { on: { BLUR: "idle" } }
13
13
  }
14
- }), c = i(function({ label: n, hint: i, error: c, placeholder: l, options: u, size: d = "md", className: f, id: p, defaultValue: m, value: h, onFocus: g, onBlur: _, ...v }, y) {
15
- let [b, x] = r(s), S = p ?? (n ? `cascade-select-${n.toLowerCase().replace(/\s+/g, "-")}` : void 0), C = h !== void 0, w = l !== void 0;
14
+ }), c = t(function({ label: t, hint: r, error: c, placeholder: l, options: u, size: d = "md", className: f, id: p, defaultValue: m, value: h, onFocus: g, onBlur: _, ...v }, y) {
15
+ let [b, x] = i(s), S = p ?? (t ? `cascade-select-${t.toLowerCase().replace(/\s+/g, "-")}` : void 0), C = h !== void 0, w = l !== void 0;
16
16
  return /* @__PURE__ */ o("div", {
17
- className: t(e.wrapper, f),
17
+ className: n(e.wrapper, f),
18
18
  "data-state": c ? "error" : b.value,
19
19
  "data-size": d,
20
20
  children: [
21
- n && /* @__PURE__ */ a("label", {
21
+ t && /* @__PURE__ */ a("label", {
22
22
  className: e.label,
23
23
  htmlFor: S,
24
- children: n
24
+ children: t
25
25
  }),
26
26
  /* @__PURE__ */ o("div", {
27
27
  className: e.field,
@@ -29,7 +29,7 @@ var s = n({
29
29
  id: S,
30
30
  className: e.select,
31
31
  "aria-invalid": c ? !0 : void 0,
32
- "aria-describedby": c ? `${S}-error` : i ? `${S}-hint` : void 0,
32
+ "aria-describedby": c ? `${S}-error` : r ? `${S}-hint` : void 0,
33
33
  value: h,
34
34
  defaultValue: !C && w ? m ?? "" : m,
35
35
  onFocus: (e) => {
@@ -60,10 +60,10 @@ var s = n({
60
60
  role: "alert",
61
61
  children: c
62
62
  }),
63
- !c && i && /* @__PURE__ */ a("span", {
63
+ !c && r && /* @__PURE__ */ a("span", {
64
64
  id: `${S}-hint`,
65
65
  className: e.hint,
66
- children: i
66
+ children: r
67
67
  })
68
68
  ]
69
69
  });
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  wrapper: "_wrapper_1b5d9_2",
5
3
  label: "_label_1b5d9_24",
@@ -1,7 +1,5 @@
1
- "use client";
2
-
3
1
  import e from "./separator.module.js";
4
- import { cn as t } from "@cascivo/core";
2
+ import { cn as t } from "@cascivo/core/pure";
5
3
  import { jsx as n } from "react/jsx-runtime";
6
4
  //#region ../components/src/separator/separator.tsx
7
5
  function r({ orientation: r = "horizontal", decorative: i = !1, className: a, ...o }) {
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = { separator: "_separator_fgwc8_2" };
4
2
  //#endregion
5
3
  export { e as default };
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./sheet.module.js";
4
- import { useEffectPropSignal as t, useSignalEffect as n } from "@cascivo/core";
5
- import { useId as r, useRef as i } from "react";
4
+ import { useId as t, useRef as n } from "react";
5
+ import { useEffectPropSignal as r, useSignalEffect as i } from "@cascivo/core";
6
6
  import { builtin as a, t as o } from "@cascivo/i18n";
7
7
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
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 = i(null), h = r(), g = t(l), _ = i(u);
11
- return _.current = u, n(() => {
10
+ let m = n(null), h = t(), g = r(l), _ = n(u);
11
+ return _.current = u, i(() => {
12
12
  let e = m.current;
13
13
  if (e) if (g.value) try {
14
14
  e.showPopover();
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  sheet: "_sheet_gx7nz_2",
5
3
  header: "_header_gx7nz_141",
@@ -76,24 +76,24 @@ function p({ item: n }) {
76
76
  })]
77
77
  });
78
78
  }
79
- function m({ brand: e, nav: i, actions: a, end: m, onMenuClick: h, menuExpanded: g, skipToContentHref: _ = "#cascade-main", labels: v, className: y }) {
79
+ function m({ brand: e, nav: i, center: a, actions: m, end: h, onMenuClick: g, menuExpanded: _, skipToContentHref: v = "#cascade-main", labels: y, className: b }) {
80
80
  o();
81
- let b = r(), x = v?.nav ?? c(s.shellHeader.nav), S = g ? v?.closeMenu ?? c(s.shellHeader.closeMenu) : v?.openMenu ?? c(s.shellHeader.openMenu);
81
+ let x = r(), S = y?.nav ?? c(s.shellHeader.nav), C = _ ? y?.closeMenu ?? c(s.shellHeader.closeMenu) : y?.openMenu ?? c(s.shellHeader.openMenu);
82
82
  return /* @__PURE__ */ u("header", {
83
83
  role: "banner",
84
- className: n(t.header, y),
84
+ className: n(t.header, b),
85
85
  children: [
86
- _ !== !1 && /* @__PURE__ */ l("a", {
87
- href: _,
86
+ v !== !1 && /* @__PURE__ */ l("a", {
87
+ href: v,
88
88
  className: t.skipLink,
89
- children: v?.skipToContent ?? c(s.shellHeader.skipToContent)
89
+ children: y?.skipToContent ?? c(s.shellHeader.skipToContent)
90
90
  }),
91
- h && /* @__PURE__ */ l("button", {
91
+ g && /* @__PURE__ */ l("button", {
92
92
  type: "button",
93
- "aria-label": S,
94
- "aria-expanded": g ?? !1,
93
+ "aria-label": C,
94
+ "aria-expanded": _ ?? !1,
95
95
  className: t.menuButton,
96
- onClick: h,
96
+ onClick: g,
97
97
  children: /* @__PURE__ */ l("svg", {
98
98
  viewBox: "0 0 16 16",
99
99
  width: "16",
@@ -107,7 +107,7 @@ function m({ brand: e, nav: i, actions: a, end: m, onMenuClick: h, menuExpanded:
107
107
  })
108
108
  })
109
109
  }),
110
- e != null && (d(e) ? /* @__PURE__ */ u(b, {
110
+ e != null && (d(e) ? /* @__PURE__ */ u(x, {
111
111
  href: e.href ?? "/",
112
112
  "aria-label": [e.prefix, e.name].filter(Boolean).join(" "),
113
113
  className: t.brand,
@@ -123,11 +123,11 @@ function m({ brand: e, nav: i, actions: a, end: m, onMenuClick: h, menuExpanded:
123
123
  children: e
124
124
  })),
125
125
  i && i.length > 0 && /* @__PURE__ */ l("nav", {
126
- "aria-label": x,
126
+ "aria-label": S,
127
127
  className: t.nav,
128
128
  children: /* @__PURE__ */ l("ul", {
129
129
  className: t.navList,
130
- children: i.map((e, n) => f(e) ? /* @__PURE__ */ l(p, { item: e }, e.id ?? `${n}-${e.label}`) : /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(b, {
130
+ children: i.map((e, n) => f(e) ? /* @__PURE__ */ l(p, { item: e }, e.id ?? `${n}-${e.label}`) : /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(x, {
131
131
  href: e.href,
132
132
  "aria-current": e.active ? "page" : void 0,
133
133
  "data-state": e.active ? "active" : void 0,
@@ -137,10 +137,13 @@ function m({ brand: e, nav: i, actions: a, end: m, onMenuClick: h, menuExpanded:
137
137
  }) }, e.id ?? `${n}-${e.href}`))
138
138
  })
139
139
  }),
140
- /* @__PURE__ */ l("div", { className: t.spacer }),
141
- a && a.length > 0 && /* @__PURE__ */ l("div", {
140
+ a ? /* @__PURE__ */ l("div", {
141
+ className: t.center,
142
+ children: a
143
+ }) : /* @__PURE__ */ l("div", { className: t.spacer }),
144
+ m && m.length > 0 && /* @__PURE__ */ l("div", {
142
145
  className: t.actions,
143
- children: a.map((e) => /* @__PURE__ */ l("button", {
146
+ children: m.map((e) => /* @__PURE__ */ l("button", {
144
147
  type: "button",
145
148
  "aria-label": e.label,
146
149
  "aria-pressed": e.active ?? !1,
@@ -155,9 +158,9 @@ function m({ brand: e, nav: i, actions: a, end: m, onMenuClick: h, menuExpanded:
155
158
  })
156
159
  }, e.id))
157
160
  }),
158
- m && /* @__PURE__ */ l("div", {
161
+ h && /* @__PURE__ */ l("div", {
159
162
  className: t.end,
160
- children: m
163
+ children: h
161
164
  })
162
165
  ]
163
166
  });
@@ -1,25 +1,24 @@
1
- "use client";
2
-
3
1
  var e = {
4
- header: "_header_80jhs_2",
5
- skipLink: "_skipLink_80jhs_14",
6
- menuButton: "_menuButton_80jhs_36",
7
- brand: "_brand_80jhs_59",
8
- brandPrefix: "_brandPrefix_80jhs_69",
9
- brandName: "_brandName_80jhs_73",
10
- nav: "_nav_80jhs_77",
11
- navList: "_navList_80jhs_81",
12
- navLink: "_navLink_80jhs_90",
13
- navMenuWrapper: "_navMenuWrapper_80jhs_119",
14
- navMenuTrigger: "_navMenuTrigger_80jhs_124",
15
- chevron: "_chevron_80jhs_156",
16
- navMenuPanel: "_navMenuPanel_80jhs_164",
17
- navMenuItem: "_navMenuItem_80jhs_197",
18
- spacer: "_spacer_80jhs_219",
19
- actions: "_actions_80jhs_223",
20
- action: "_action_80jhs_223",
21
- actionIcon: "_actionIcon_80jhs_257",
22
- end: "_end_80jhs_265"
2
+ header: "_header_6njjo_2",
3
+ skipLink: "_skipLink_6njjo_14",
4
+ menuButton: "_menuButton_6njjo_36",
5
+ brand: "_brand_6njjo_59",
6
+ brandPrefix: "_brandPrefix_6njjo_69",
7
+ brandName: "_brandName_6njjo_73",
8
+ nav: "_nav_6njjo_77",
9
+ navList: "_navList_6njjo_81",
10
+ navLink: "_navLink_6njjo_90",
11
+ navMenuWrapper: "_navMenuWrapper_6njjo_119",
12
+ navMenuTrigger: "_navMenuTrigger_6njjo_124",
13
+ chevron: "_chevron_6njjo_156",
14
+ navMenuPanel: "_navMenuPanel_6njjo_164",
15
+ navMenuItem: "_navMenuItem_6njjo_197",
16
+ spacer: "_spacer_6njjo_219",
17
+ center: "_center_6njjo_226",
18
+ actions: "_actions_6njjo_235",
19
+ action: "_action_6njjo_235",
20
+ actionIcon: "_actionIcon_6njjo_269",
21
+ end: "_end_6njjo_277"
23
22
  };
24
23
  //#endregion
25
24
  export { e as default };
@@ -3,8 +3,8 @@
3
3
  import { Tooltip as e } from "../tooltip/tooltip.js";
4
4
  import { usePopover as t } from "../popover/use-popover.js";
5
5
  import n from "./side-nav.module.js";
6
- import { cn as r, focusElement as i, getLinkComponent as a, useSignal as o, useSignals as s } from "@cascivo/core";
7
- import { Fragment as c, useId as l } from "react";
6
+ import { Fragment as r, useId as i } from "react";
7
+ import { cn as a, focusElement as o, getLinkComponent as s, useSignal as c, useSignals as l } from "@cascivo/core";
8
8
  import { builtin as u, t as d } from "@cascivo/i18n";
9
9
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
10
10
  //#region ../components/src/side-nav/side-nav.tsx
@@ -28,8 +28,8 @@ function g() {
28
28
  })
29
29
  });
30
30
  }
31
- function _(e, { inMenu: t, onActivate: i, extraClass: o }) {
32
- let s = t ? "menuitem" : void 0, c = r(n.link, n.sublink, o), l = /* @__PURE__ */ m(f, { children: [
31
+ function _(e, { inMenu: t, onActivate: r, extraClass: i }) {
32
+ let o = t ? "menuitem" : void 0, c = a(n.link, n.sublink, i), l = /* @__PURE__ */ m(f, { children: [
33
33
  e.icon ? /* @__PURE__ */ p("span", {
34
34
  className: n.icon,
35
35
  "aria-hidden": "true",
@@ -43,19 +43,19 @@ function _(e, { inMenu: t, onActivate: i, extraClass: o }) {
43
43
  ] });
44
44
  return e.onSelect && !e.href ? /* @__PURE__ */ p("button", {
45
45
  type: "button",
46
- role: s,
46
+ role: o,
47
47
  "aria-current": e.active ? "page" : void 0,
48
48
  "data-state": e.active ? "active" : void 0,
49
49
  "data-selected": e.selected || void 0,
50
50
  disabled: e.disabled,
51
51
  className: c,
52
52
  onClick: () => {
53
- e.onSelect?.(), i?.();
53
+ e.onSelect?.(), r?.();
54
54
  },
55
55
  children: l
56
- }) : /* @__PURE__ */ p(a(), {
56
+ }) : /* @__PURE__ */ p(s(), {
57
57
  href: e.disabled ? void 0 : e.href,
58
- role: s,
58
+ role: o,
59
59
  "aria-current": e.active ? "page" : void 0,
60
60
  "aria-disabled": e.disabled || void 0,
61
61
  tabIndex: e.disabled ? -1 : void 0,
@@ -67,7 +67,7 @@ function _(e, { inMenu: t, onActivate: i, extraClass: o }) {
67
67
  t.preventDefault();
68
68
  return;
69
69
  }
70
- e.onSelect?.(), i?.();
70
+ e.onSelect?.(), r?.();
71
71
  },
72
72
  children: l
73
73
  });
@@ -80,20 +80,20 @@ function v(e) {
80
80
  return [...e][0] ?? "";
81
81
  }
82
82
  function y({ item: e }) {
83
- let { triggerRef: r, popoverRef: a, isOpen: o, anchorName: s, open: l, close: u, toggle: d } = t(), g = "[role=\"menuitem\"]:not([disabled]):not([aria-disabled=\"true\"])";
83
+ let { triggerRef: i, popoverRef: a, isOpen: s, anchorName: c, open: l, close: u, toggle: d } = t(), g = "[role=\"menuitem\"]:not([disabled]):not([aria-disabled=\"true\"])";
84
84
  return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("button", {
85
- ref: r,
85
+ ref: i,
86
86
  type: "button",
87
87
  "aria-haspopup": "menu",
88
- "aria-expanded": o.value,
88
+ "aria-expanded": s.value,
89
89
  "aria-label": e.label,
90
- "data-state": o.value ? "open" : "closed",
91
- style: { anchorName: s },
90
+ "data-state": s.value ? "open" : "closed",
91
+ style: { anchorName: c },
92
92
  className: n.groupTrigger,
93
93
  onClick: () => d(),
94
94
  onKeyDown: (e) => {
95
95
  if (e.key === "ArrowDown") {
96
- e.preventDefault(), o.value || l();
96
+ e.preventDefault(), s.value || l();
97
97
  let t = a.current;
98
98
  t && setTimeout(() => {
99
99
  t.querySelector(g)?.focus();
@@ -115,19 +115,19 @@ function y({ item: e }) {
115
115
  popover: "auto",
116
116
  role: "menu",
117
117
  "aria-label": e.label,
118
- style: { positionAnchor: s },
118
+ style: { positionAnchor: c },
119
119
  className: n.railFlyout,
120
120
  onKeyDown: (e) => {
121
121
  let t = a.current;
122
122
  if (!t) return;
123
- let n = Array.from(t.querySelectorAll(g)), o = n.indexOf(e.target);
124
- e.key === "ArrowDown" ? (e.preventDefault(), n[(o + 1) % n.length]?.focus()) : e.key === "ArrowUp" ? (e.preventDefault(), n[(o - 1 + n.length) % n.length]?.focus()) : e.key === "Escape" && (e.preventDefault(), u(), i(r.current));
123
+ let n = Array.from(t.querySelectorAll(g)), r = n.indexOf(e.target);
124
+ e.key === "ArrowDown" ? (e.preventDefault(), n[(r + 1) % n.length]?.focus()) : e.key === "ArrowUp" ? (e.preventDefault(), n[(r - 1 + n.length) % n.length]?.focus()) : e.key === "Escape" && (e.preventDefault(), u(), o(i.current));
125
125
  },
126
126
  children: [/* @__PURE__ */ p("div", {
127
127
  className: n.railFlyoutCaption,
128
128
  "aria-hidden": "true",
129
129
  children: e.label
130
- }), e.items.map((e, t) => h(e) ? /* @__PURE__ */ p(c, { children: _(e, {
130
+ }), e.items.map((e, t) => h(e) ? /* @__PURE__ */ p(r, { children: _(e, {
131
131
  inMenu: !0,
132
132
  onActivate: u,
133
133
  extraClass: n.flyoutItem
@@ -141,22 +141,22 @@ function y({ item: e }) {
141
141
  }, t))]
142
142
  })] });
143
143
  }
144
- function b({ items: t, groups: i, collapsed: c, defaultCollapsed: g = !1, onCollapsedChange: b, ariaLabel: x, collapseLabel: S, expandLabel: C, expandOnHover: w = !1, showCollapseToggle: T = !0, header: E, footer: D, className: O }) {
145
- s();
146
- let k = x ?? d(u.sideNav.nav), A = S ?? d(u.sideNav.collapse), j = C ?? d(u.sideNav.expand), M = l(), N = o(c ?? g);
147
- c !== void 0 && (N.value = c);
148
- let P = i ?? (t ? [{ items: t }] : [{ items: [] }]), F = o(P.flatMap((e) => e.items).filter((e) => e.items?.some((e) => h(e) && e.active)).map((e) => e.label)), I = (e) => {
144
+ function b({ items: t, groups: r, collapsed: o, defaultCollapsed: g = !1, onCollapsedChange: b, ariaLabel: x, collapseLabel: S, expandLabel: C, expandOnHover: w = !1, showCollapseToggle: T = !0, header: E, footer: D, className: O }) {
145
+ l();
146
+ let k = x ?? d(u.sideNav.nav), A = S ?? d(u.sideNav.collapse), j = C ?? d(u.sideNav.expand), M = i(), N = c(o ?? g);
147
+ o !== void 0 && (N.value = o);
148
+ let P = r ?? (t ? [{ items: t }] : [{ items: [] }]), F = c(P.flatMap((e) => e.items).filter((e) => e.items?.some((e) => h(e) && e.active)).map((e) => e.label)), I = (e) => {
149
149
  let t = F.value;
150
150
  F.value = t.includes(e) ? t.filter((t) => t !== e) : [...t, e];
151
151
  }, L = () => {
152
152
  let e = !N.value;
153
- c === void 0 && (N.value = e), b?.(e);
153
+ o === void 0 && (N.value = e), b?.(e);
154
154
  }, R = N.value;
155
155
  return /* @__PURE__ */ m("nav", {
156
156
  "aria-label": k,
157
157
  "data-state": R ? "collapsed" : "expanded",
158
158
  "data-expand-on-hover": R && w ? "" : void 0,
159
- className: r(n.sideNav, O),
159
+ className: a(n.sideNav, O),
160
160
  children: [
161
161
  E && /* @__PURE__ */ p("div", {
162
162
  className: n.header,
@@ -172,10 +172,10 @@ function b({ items: t, groups: i, collapsed: c, defaultCollapsed: g = !1, onColl
172
172
  }), /* @__PURE__ */ p("ul", {
173
173
  className: n.groupItems,
174
174
  children: t.items.map((t, i) => {
175
- let o = `${r}-${i}`;
175
+ let a = `${r}-${i}`;
176
176
  if (t.items) {
177
- if (R && !w) return /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(y, { item: t }) }, t.id ?? o);
178
- let e = F.value.includes(t.label), r = `${M}-group-${o}`;
177
+ if (R && !w) return /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(y, { item: t }) }, t.id ?? a);
178
+ let e = F.value.includes(t.label), r = `${M}-group-${a}`;
179
179
  return /* @__PURE__ */ m("li", { children: [/* @__PURE__ */ m("button", {
180
180
  type: "button",
181
181
  "aria-expanded": e,
@@ -230,9 +230,9 @@ function b({ items: t, groups: i, collapsed: c, defaultCollapsed: g = !1, onColl
230
230
  children: e.label
231
231
  }, t))
232
232
  })
233
- })] }, t.id ?? o);
233
+ })] }, t.id ?? a);
234
234
  }
235
- let s = /* @__PURE__ */ m(f, { children: [
235
+ let o = /* @__PURE__ */ m(f, { children: [
236
236
  t.icon ? /* @__PURE__ */ p("span", {
237
237
  className: n.icon,
238
238
  "aria-hidden": "true",
@@ -274,11 +274,11 @@ function b({ items: t, groups: i, collapsed: c, defaultCollapsed: g = !1, onColl
274
274
  className: n.customItem,
275
275
  children: t.render({
276
276
  collapsed: R,
277
- children: s,
277
+ children: o,
278
278
  linkProps: l
279
279
  })
280
- }, t.id ?? o);
281
- let u = a(), d = t.onClick && !t.href ? /* @__PURE__ */ p("button", {
280
+ }, t.id ?? a);
281
+ let u = s(), d = t.onClick && !t.href ? /* @__PURE__ */ p("button", {
282
282
  type: "button",
283
283
  "aria-current": t.active ? "page" : void 0,
284
284
  "aria-label": R ? t.label : void 0,
@@ -287,16 +287,16 @@ function b({ items: t, groups: i, collapsed: c, defaultCollapsed: g = !1, onColl
287
287
  className: n.link,
288
288
  disabled: t.disabled,
289
289
  onClick: (e) => t.onClick?.(e),
290
- children: s
290
+ children: o
291
291
  }) : /* @__PURE__ */ p(u, {
292
292
  ...l,
293
- children: s
293
+ children: o
294
294
  });
295
295
  return /* @__PURE__ */ p("li", { children: R && !w ? /* @__PURE__ */ p(e, {
296
296
  content: t.label,
297
297
  placement: "right",
298
298
  children: d
299
- }) : d }, t.id ?? o);
299
+ }) : d }, t.id ?? a);
300
300
  })
301
301
  })]
302
302
  }, r))
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  sideNav: "_sideNav_1v53b_2",
5
3
  label: "_label_1v53b_24",
@@ -1,7 +1,5 @@
1
- "use client";
2
-
3
1
  import e from "./skeleton.module.js";
4
- import { cn as t } from "@cascivo/core";
2
+ import { cn as t } from "@cascivo/core/pure";
5
3
  import { jsx as n } from "react/jsx-runtime";
6
4
  //#region ../components/src/skeleton/skeleton.tsx
7
5
  function r({ variant: r = "text", width: i, height: a, lines: o = 1, className: s, style: c, ...l }) {
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  skeleton: "_skeleton_14kv6_2",
5
3
  line: "_line_14kv6_23",
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
 
3
3
  import e from "./skip-nav.module.js";
4
- import { cn as t, useSignals as n } from "@cascivo/core";
5
- import { forwardRef as r } from "react";
4
+ import { forwardRef as t } from "react";
5
+ import { cn as n, useSignals as r } from "@cascivo/core";
6
6
  import { builtin as i, t as a } from "@cascivo/i18n";
7
7
  import { jsx as o } from "react/jsx-runtime";
8
8
  //#region ../components/src/skip-nav/skip-nav.tsx
9
- var s = "cascade-skip-target", c = r(function({ targetId: r = s, labels: c, className: l, ...u }, d) {
10
- n();
9
+ var s = "cascade-skip-target", c = t(function({ targetId: t = s, labels: c, className: l, ...u }, d) {
10
+ r();
11
11
  let f = c?.label ?? a(i.skipNav.label);
12
12
  return /* @__PURE__ */ o("a", {
13
- href: `#${r}`,
14
- className: t(e.link, l),
13
+ href: `#${t}`,
14
+ className: n(e.link, l),
15
15
  ...u,
16
16
  children: f
17
17
  });
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = { link: "_link_19qpc_2" };
4
2
  //#endregion
5
3
  export { e as default };
@@ -1,7 +1,5 @@
1
- "use client";
2
-
3
1
  import e from "./slider.module.js";
4
- import { cn as t } from "@cascivo/core";
2
+ import { cn as t } from "@cascivo/core/pure";
5
3
  import { forwardRef as n } from "react";
6
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
7
5
  //#region ../components/src/slider/slider.tsx
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  wrapper: "_wrapper_vzj57_2",
5
3
  label: "_label_vzj57_13",
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  spinner: "_spinner_a8uzh_2",
5
3
  "cascade-spin": "_cascade-spin_a8uzh_1"
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import e from "./stack.module.js";
4
2
  import { jsx as t } from "react/jsx-runtime";
5
3
  //#region ../components/src/stack/stack.tsx
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  var e = {
4
2
  stack: "_stack_2ay4v_2",
5
3
  layer: "_layer_2ay4v_8"