@thewhatmatters/wmds 0.4.9 → 0.4.28

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 (406) hide show
  1. package/CHANGELOG.md +303 -0
  2. package/CONSUMING.md +62 -1
  3. package/README.md +1 -1
  4. package/bin/wmds-check.mjs +47 -0
  5. package/dist/colors.css +92 -0
  6. package/dist/components/atoms/Badge/Badge.d.ts +13 -5
  7. package/dist/components/atoms/Badge/Badge.d.ts.map +1 -1
  8. package/dist/components/atoms/Badge/Badge.js +56 -48
  9. package/dist/components/atoms/Badge/badgeStyles.d.ts +15 -0
  10. package/dist/components/atoms/Badge/badgeStyles.d.ts.map +1 -1
  11. package/dist/components/atoms/Badge/badgeStyles.js +42 -20
  12. package/dist/components/atoms/Band/Band.d.ts +27 -0
  13. package/dist/components/atoms/Band/Band.d.ts.map +1 -0
  14. package/dist/components/atoms/Band/Band.js +22 -0
  15. package/dist/components/atoms/Band/bandStyles.d.ts +20 -0
  16. package/dist/components/atoms/Band/bandStyles.d.ts.map +1 -0
  17. package/dist/components/atoms/Band/bandStyles.js +23 -0
  18. package/dist/components/atoms/Button/Button.d.ts +1 -1
  19. package/dist/components/atoms/Button/Button.d.ts.map +1 -1
  20. package/dist/components/atoms/Button/Button.js +67 -48
  21. package/dist/components/atoms/Button/ButtonStatusButton.d.ts.map +1 -1
  22. package/dist/components/atoms/Button/ButtonStatusButton.js +12 -5
  23. package/dist/components/atoms/Button/buttonStatusMotion.d.ts.map +1 -1
  24. package/dist/components/atoms/Button/buttonStatusMotion.js +6 -1
  25. package/dist/components/atoms/Button/buttonStyles.d.ts +2 -2
  26. package/dist/components/atoms/Button/buttonStyles.d.ts.map +1 -1
  27. package/dist/components/atoms/Button/buttonStyles.js +16 -14
  28. package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +1 -1
  29. package/dist/components/atoms/Checkbox/Checkbox.js +69 -68
  30. package/dist/components/atoms/Checkbox/checkboxStyles.d.ts +1 -1
  31. package/dist/components/atoms/Checkbox/checkboxStyles.d.ts.map +1 -1
  32. package/dist/components/atoms/Checkbox/checkboxStyles.js +1 -1
  33. package/dist/components/atoms/IconButton/IconButton.d.ts.map +1 -1
  34. package/dist/components/atoms/IconButton/IconButton.js +13 -12
  35. package/dist/components/atoms/IconButton/iconButtonStyles.d.ts +2 -2
  36. package/dist/components/atoms/IconButton/iconButtonStyles.d.ts.map +1 -1
  37. package/dist/components/atoms/IconButton/iconButtonStyles.js +1 -1
  38. package/dist/components/atoms/InlinePill/InlinePill.d.ts +42 -0
  39. package/dist/components/atoms/InlinePill/InlinePill.d.ts.map +1 -0
  40. package/dist/components/atoms/InlinePill/InlinePill.js +48 -0
  41. package/dist/components/atoms/InlinePill/inlinePillStyles.d.ts +27 -0
  42. package/dist/components/atoms/InlinePill/inlinePillStyles.d.ts.map +1 -0
  43. package/dist/components/atoms/InlinePill/inlinePillStyles.js +19 -0
  44. package/dist/components/atoms/Input/Input.d.ts +9 -4
  45. package/dist/components/atoms/Input/Input.d.ts.map +1 -1
  46. package/dist/components/atoms/Input/Input.js +59 -59
  47. package/dist/components/atoms/Input/inputShellStyles.d.ts +10 -4
  48. package/dist/components/atoms/Input/inputShellStyles.d.ts.map +1 -1
  49. package/dist/components/atoms/Input/inputShellStyles.js +40 -40
  50. package/dist/components/atoms/RiveHand/RiveHand.d.ts.map +1 -1
  51. package/dist/components/atoms/RiveHand/RiveHand.js +83 -81
  52. package/dist/components/atoms/Skeleton/skeletonStyles.js +1 -1
  53. package/dist/components/atoms/Switch/Switch.d.ts.map +1 -1
  54. package/dist/components/atoms/Switch/Switch.js +45 -44
  55. package/dist/components/atoms/Switch/switchStyles.d.ts +1 -1
  56. package/dist/components/atoms/Switch/switchStyles.d.ts.map +1 -1
  57. package/dist/components/atoms/Switch/switchStyles.js +1 -1
  58. package/dist/components/atoms/Table/Table.d.ts +54 -0
  59. package/dist/components/atoms/Table/Table.d.ts.map +1 -0
  60. package/dist/components/atoms/Table/Table.js +66 -0
  61. package/dist/components/atoms/Table/tableStyles.d.ts +18 -0
  62. package/dist/components/atoms/Table/tableStyles.d.ts.map +1 -0
  63. package/dist/components/atoms/Table/tableStyles.js +14 -0
  64. package/dist/components/atoms/TextArea/TextArea.d.ts +6 -0
  65. package/dist/components/atoms/TextArea/TextArea.d.ts.map +1 -1
  66. package/dist/components/atoms/TextArea/TextArea.js +86 -78
  67. package/dist/components/atoms/TextArea/textareaShellStyles.d.ts +2 -2
  68. package/dist/components/atoms/TextArea/textareaShellStyles.d.ts.map +1 -1
  69. package/dist/components/atoms/TextArea/textareaShellStyles.js +5 -5
  70. package/dist/components/molecules/Accordion/accordionStyles.d.ts +1 -1
  71. package/dist/components/molecules/Accordion/accordionStyles.d.ts.map +1 -1
  72. package/dist/components/molecules/Accordion/accordionStyles.js +1 -1
  73. package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  74. package/dist/components/molecules/Breadcrumb/Breadcrumb.js +80 -122
  75. package/dist/components/molecules/Card/Card.d.ts +28 -6
  76. package/dist/components/molecules/Card/Card.d.ts.map +1 -1
  77. package/dist/components/molecules/Card/Card.js +83 -42
  78. package/dist/components/molecules/Card/cardStyles.d.ts +16 -1
  79. package/dist/components/molecules/Card/cardStyles.d.ts.map +1 -1
  80. package/dist/components/molecules/Card/cardStyles.js +19 -5
  81. package/dist/components/molecules/ChatQa/chatQaStyles.d.ts +1 -1
  82. package/dist/components/molecules/ChatQa/chatQaStyles.d.ts.map +1 -1
  83. package/dist/components/molecules/ChatQa/chatQaStyles.js +1 -1
  84. package/dist/components/molecules/Chip/chipStyles.js +9 -9
  85. package/dist/components/molecules/CopyField/CopyField.d.ts +41 -0
  86. package/dist/components/molecules/CopyField/CopyField.d.ts.map +1 -0
  87. package/dist/components/molecules/CopyField/CopyField.js +120 -0
  88. package/dist/components/molecules/CopyField/copyFieldStyles.d.ts +28 -0
  89. package/dist/components/molecules/CopyField/copyFieldStyles.d.ts.map +1 -0
  90. package/dist/components/molecules/CopyField/copyFieldStyles.js +7 -0
  91. package/dist/components/molecules/DisplayControls/DisplayControls.d.ts +16 -7
  92. package/dist/components/molecules/DisplayControls/DisplayControls.d.ts.map +1 -1
  93. package/dist/components/molecules/DisplayControls/DisplayControls.js +41 -39
  94. package/dist/components/molecules/DisplayControls/displayControlsState.d.ts +21 -0
  95. package/dist/components/molecules/DisplayControls/displayControlsState.d.ts.map +1 -1
  96. package/dist/components/molecules/DisplayControls/displayControlsState.js +46 -4
  97. package/dist/components/molecules/Dropdown/Dropdown.d.ts +1 -1
  98. package/dist/components/molecules/Dropdown/DropdownItem.d.ts +2 -2
  99. package/dist/components/molecules/Dropdown/DropdownItem.d.ts.map +1 -1
  100. package/dist/components/molecules/Dropdown/DropdownItem.js +30 -27
  101. package/dist/components/molecules/Dropdown/dropdownStyles.js +1 -1
  102. package/dist/components/molecules/Dropdown/resolveOverflow.d.ts +14 -0
  103. package/dist/components/molecules/Dropdown/resolveOverflow.d.ts.map +1 -0
  104. package/dist/components/{organisms/Tab/tabOverflow.js → molecules/Dropdown/resolveOverflow.js} +2 -2
  105. package/dist/components/molecules/Dropdown/useDropdownMenu.d.ts +70 -0
  106. package/dist/components/molecules/Dropdown/useDropdownMenu.d.ts.map +1 -0
  107. package/dist/components/molecules/Dropdown/useDropdownMenu.js +155 -0
  108. package/dist/components/molecules/Dropdown/useOverflowMenu.d.ts +71 -0
  109. package/dist/components/molecules/Dropdown/useOverflowMenu.d.ts.map +1 -0
  110. package/dist/components/molecules/Dropdown/useOverflowMenu.js +61 -0
  111. package/dist/components/molecules/Field/Field.d.ts.map +1 -1
  112. package/dist/components/molecules/Field/Field.js +11 -10
  113. package/dist/components/molecules/LogView/LogView.d.ts +31 -0
  114. package/dist/components/molecules/LogView/LogView.d.ts.map +1 -0
  115. package/dist/components/molecules/LogView/LogView.js +109 -0
  116. package/dist/components/molecules/LogView/logViewStyles.d.ts +11 -0
  117. package/dist/components/molecules/LogView/logViewStyles.d.ts.map +1 -0
  118. package/dist/components/molecules/LogView/logViewStyles.js +6 -0
  119. package/dist/components/molecules/NavList/NavList.d.ts +23 -4
  120. package/dist/components/molecules/NavList/NavList.d.ts.map +1 -1
  121. package/dist/components/molecules/NavList/NavList.js +65 -52
  122. package/dist/components/molecules/NavList/navListStyles.d.ts +2 -0
  123. package/dist/components/molecules/NavList/navListStyles.d.ts.map +1 -1
  124. package/dist/components/molecules/NavList/navListStyles.js +3 -3
  125. package/dist/components/molecules/PageHeader/PageHeader.js +3 -3
  126. package/dist/components/molecules/PillGroup/pillGroupStyles.js +1 -1
  127. package/dist/components/molecules/Search/searchStyles.js +1 -1
  128. package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts +1 -1
  129. package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts.map +1 -1
  130. package/dist/components/molecules/SegmentedControl/segmentedControlStyles.js +8 -8
  131. package/dist/components/molecules/Select/Select.d.ts +3 -1
  132. package/dist/components/molecules/Select/Select.d.ts.map +1 -1
  133. package/dist/components/molecules/Select/Select.js +75 -119
  134. package/dist/components/molecules/Select/selectStyles.js +3 -3
  135. package/dist/components/molecules/Stat/Stat.d.ts +31 -5
  136. package/dist/components/molecules/Stat/Stat.d.ts.map +1 -1
  137. package/dist/components/molecules/Stat/Stat.js +83 -49
  138. package/dist/components/molecules/Stat/statStyles.d.ts +24 -4
  139. package/dist/components/molecules/Stat/statStyles.d.ts.map +1 -1
  140. package/dist/components/molecules/Stat/statStyles.js +30 -13
  141. package/dist/components/molecules/TaskRows/TaskRows.d.ts +13 -3
  142. package/dist/components/molecules/TaskRows/TaskRows.d.ts.map +1 -1
  143. package/dist/components/molecules/TaskRows/TaskRows.js +81 -57
  144. package/dist/components/molecules/TaskRows/TaskRowsTable.d.ts +54 -0
  145. package/dist/components/molecules/TaskRows/TaskRowsTable.d.ts.map +1 -0
  146. package/dist/components/molecules/TaskRows/TaskRowsTable.js +200 -0
  147. package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts +19 -1
  148. package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts.map +1 -1
  149. package/dist/components/molecules/TaskRows/taskRowsStyles.js +7 -3
  150. package/dist/components/molecules/TextSequence/TextSequence.d.ts.map +1 -1
  151. package/dist/components/molecules/TextSequence/TextSequence.js +35 -35
  152. package/dist/components/organisms/AppShell/AppShell.d.ts +84 -0
  153. package/dist/components/organisms/AppShell/AppShell.d.ts.map +1 -0
  154. package/dist/components/organisms/AppShell/AppShell.js +231 -0
  155. package/dist/components/organisms/AppShell/appShellStyles.d.ts +20 -0
  156. package/dist/components/organisms/AppShell/appShellStyles.d.ts.map +1 -0
  157. package/dist/components/organisms/AppShell/appShellStyles.js +8 -0
  158. package/dist/components/organisms/Carousel/Carousel.d.ts +9 -1
  159. package/dist/components/organisms/Carousel/Carousel.d.ts.map +1 -1
  160. package/dist/components/organisms/Carousel/Carousel.js +220 -182
  161. package/dist/components/organisms/Carousel/carouselMath.d.ts +5 -0
  162. package/dist/components/organisms/Carousel/carouselMath.d.ts.map +1 -1
  163. package/dist/components/organisms/Carousel/carouselMath.js +9 -1
  164. package/dist/components/organisms/Carousel/carouselStyles.d.ts +2 -0
  165. package/dist/components/organisms/Carousel/carouselStyles.d.ts.map +1 -1
  166. package/dist/components/organisms/Carousel/carouselStyles.js +8 -7
  167. package/dist/components/organisms/Chart/Chart.d.ts +5 -1
  168. package/dist/components/organisms/Chart/Chart.d.ts.map +1 -1
  169. package/dist/components/organisms/Chart/Chart.js +126 -62
  170. package/dist/components/organisms/Chart/ChartLegend.d.ts +8 -1
  171. package/dist/components/organisms/Chart/ChartLegend.d.ts.map +1 -1
  172. package/dist/components/organisms/Chart/ChartLegend.js +43 -13
  173. package/dist/components/organisms/Chart/ChartSegmentedRing.d.ts +52 -0
  174. package/dist/components/organisms/Chart/ChartSegmentedRing.d.ts.map +1 -0
  175. package/dist/components/organisms/Chart/ChartSegmentedRing.js +95 -0
  176. package/dist/components/organisms/Chart/chartStyles.d.ts +32 -0
  177. package/dist/components/organisms/Chart/chartStyles.d.ts.map +1 -1
  178. package/dist/components/organisms/Chart/chartStyles.js +15 -3
  179. package/dist/components/organisms/ChatDock/ChatDock.d.ts.map +1 -1
  180. package/dist/components/organisms/ChatDock/ChatDock.js +29 -25
  181. package/dist/components/organisms/Dialog/AlertDialog.d.ts +7 -1
  182. package/dist/components/organisms/Dialog/AlertDialog.d.ts.map +1 -1
  183. package/dist/components/organisms/Dialog/AlertDialog.js +54 -50
  184. package/dist/components/organisms/Dialog/Dialog.d.ts.map +1 -1
  185. package/dist/components/organisms/Dialog/Dialog.js +52 -71
  186. package/dist/components/organisms/Dialog/OverlayPanelHeader.d.ts.map +1 -1
  187. package/dist/components/organisms/Dialog/OverlayPanelHeader.js +1 -0
  188. package/dist/components/organisms/Dialog/dialogStyles.d.ts +14 -1
  189. package/dist/components/organisms/Dialog/dialogStyles.d.ts.map +1 -1
  190. package/dist/components/organisms/Dialog/dialogStyles.js +3 -3
  191. package/dist/components/organisms/FilterPanel/FilterPanel.d.ts.map +1 -1
  192. package/dist/components/organisms/FilterPanel/FilterPanel.js +52 -42
  193. package/dist/components/organisms/IntakeModal/IntakeModal.d.ts +6 -1
  194. package/dist/components/organisms/IntakeModal/IntakeModal.d.ts.map +1 -1
  195. package/dist/components/organisms/IntakeModal/IntakeModal.js +54 -66
  196. package/dist/components/organisms/MoreMenu/MoreMenu.d.ts.map +1 -1
  197. package/dist/components/organisms/MoreMenu/MoreMenu.js +45 -101
  198. package/dist/components/organisms/Panel/Panel.d.ts.map +1 -1
  199. package/dist/components/organisms/Panel/Panel.js +44 -53
  200. package/dist/components/organisms/Sheet/Sheet.d.ts +3 -1
  201. package/dist/components/organisms/Sheet/Sheet.d.ts.map +1 -1
  202. package/dist/components/organisms/Sheet/Sheet.js +66 -81
  203. package/dist/components/organisms/Sheet/sheetStyles.d.ts +8 -2
  204. package/dist/components/organisms/Sheet/sheetStyles.d.ts.map +1 -1
  205. package/dist/components/organisms/Sheet/sheetStyles.js +16 -11
  206. package/dist/components/organisms/SiteNav/SiteNav.d.ts +0 -9
  207. package/dist/components/organisms/SiteNav/SiteNav.d.ts.map +1 -1
  208. package/dist/components/organisms/SiteNav/SiteNav.js +236 -286
  209. package/dist/components/organisms/SiteNav/siteNavStyles.js +1 -1
  210. package/dist/components/organisms/Tab/Tab.d.ts.map +1 -1
  211. package/dist/components/organisms/Tab/Tab.js +77 -127
  212. package/dist/components/organisms/Tab/tabStyles.d.ts +2 -1
  213. package/dist/components/organisms/Tab/tabStyles.d.ts.map +1 -1
  214. package/dist/components/organisms/Tab/tabStyles.js +7 -7
  215. package/dist/fonts.css +10 -0
  216. package/dist/grid.css +38 -0
  217. package/dist/index.d.ts +16 -8
  218. package/dist/index.d.ts.map +1 -1
  219. package/dist/index.js +152 -139
  220. package/dist/lib/chartTheme.d.ts +11 -0
  221. package/dist/lib/chartTheme.d.ts.map +1 -1
  222. package/dist/lib/compositionAudit.d.ts.map +1 -1
  223. package/dist/lib/contrast.d.ts +11 -0
  224. package/dist/lib/contrast.d.ts.map +1 -0
  225. package/dist/lib/dialogOverlay.d.ts +34 -1
  226. package/dist/lib/dialogOverlay.d.ts.map +1 -1
  227. package/dist/lib/dialogOverlay.js +100 -23
  228. package/dist/lib/sheetParam/index.d.ts +3 -0
  229. package/dist/lib/sheetParam/index.d.ts.map +1 -0
  230. package/dist/lib/sheetParam/sheetParam.d.ts +15 -0
  231. package/dist/lib/sheetParam/sheetParam.d.ts.map +1 -0
  232. package/dist/lib/sheetParam/sheetParam.js +26 -0
  233. package/dist/lib/sheetParam/useSheetParam.d.ts +25 -0
  234. package/dist/lib/sheetParam/useSheetParam.d.ts.map +1 -0
  235. package/dist/lib/sheetParam/useSheetParam.js +29 -0
  236. package/dist/lib/typography.d.ts +1 -1
  237. package/dist/lib/typography.d.ts.map +1 -1
  238. package/dist/shape.css +24 -3
  239. package/dist/styles.css +1 -1
  240. package/dist/typography.css +55 -8
  241. package/docs/README.md +1 -1
  242. package/docs/component-contracts.md +101 -0
  243. package/docs/components.md +19 -12
  244. package/docs/exports.json +142 -15
  245. package/docs/patterns/components-accordion--flush.tsx +1 -1
  246. package/docs/patterns/components-appshell--portal-dashboard-pattern.tsx +176 -0
  247. package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
  248. package/docs/patterns/components-badge--outline-tags.tsx +1 -1
  249. package/docs/patterns/components-badge--status-pill.tsx +31 -0
  250. package/docs/patterns/components-badge--with-avatar.tsx +1 -1
  251. package/docs/patterns/components-band--page-in-bands.tsx +39 -0
  252. package/docs/patterns/components-breadcrumb--editorial.tsx +1 -1
  253. package/docs/patterns/components-breadcrumb--long-path.tsx +1 -1
  254. package/docs/patterns/components-breadcrumb--path.tsx +1 -1
  255. package/docs/patterns/components-breadcrumb--router-links.tsx +1 -1
  256. package/docs/patterns/components-button-button--copy-button.tsx +1 -1
  257. package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
  258. package/docs/patterns/components-button-button--external-link.tsx +1 -1
  259. package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
  260. package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
  261. package/docs/patterns/components-button-button--link-render.tsx +1 -1
  262. package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
  263. package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
  264. package/docs/patterns/components-button-button--primary-action.tsx +1 -1
  265. package/docs/patterns/components-button-button--row-hug.tsx +1 -1
  266. package/docs/patterns/components-button-button--row-layout.tsx +1 -1
  267. package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
  268. package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
  269. package/docs/patterns/components-button-button--with-count.tsx +1 -1
  270. package/docs/patterns/components-button-button--with-icon.tsx +1 -1
  271. package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
  272. package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +1 -1
  273. package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
  274. package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
  275. package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
  276. package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
  277. package/docs/patterns/components-card-card--terminal-frame.tsx +48 -0
  278. package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
  279. package/docs/patterns/components-carousel--image-carousel.tsx +1 -1
  280. package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
  281. package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
  282. package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
  283. package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
  284. package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
  285. package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
  286. package/docs/patterns/components-chart--revenue-by-line.tsx +68 -0
  287. package/docs/patterns/components-chart--segmented-ring-pattern.tsx +144 -0
  288. package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
  289. package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +1 -1
  290. package/docs/patterns/components-chatdock--pattern-start-project-gate.tsx +1 -1
  291. package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
  292. package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
  293. package/docs/patterns/components-checkbox-checkbox--with-count.tsx +1 -1
  294. package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
  295. package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
  296. package/docs/patterns/components-checkbox-checkboxgroup--option-counts.tsx +1 -1
  297. package/docs/patterns/components-copyfield--clipboard-blocked.tsx +9 -0
  298. package/docs/patterns/components-copyfield--copied.tsx +9 -0
  299. package/docs/patterns/components-copyfield--copy-key.tsx +9 -0
  300. package/docs/patterns/components-copyfield--on-navy.tsx +29 -0
  301. package/docs/patterns/components-descriptionlist--details.tsx +1 -1
  302. package/docs/patterns/components-descriptionlist--post-metadata.tsx +1 -1
  303. package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
  304. package/docs/patterns/components-dialog--alert-dialog-typed-confirmation.tsx +54 -0
  305. package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
  306. package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
  307. package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
  308. package/docs/patterns/components-displaycontrols--theme-switch.tsx +35 -0
  309. package/docs/patterns/components-field--horizontal-input.tsx +1 -1
  310. package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
  311. package/docs/patterns/components-field--multi-control.tsx +1 -1
  312. package/docs/patterns/components-filterpanel--panel.tsx +1 -1
  313. package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +1 -1
  314. package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +1 -1
  315. package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +1 -1
  316. package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +1 -1
  317. package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
  318. package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +1 -1
  319. package/docs/patterns/components-herointro--two-line-intro.tsx +1 -1
  320. package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +1 -1
  321. package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +1 -1
  322. package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +1 -1
  323. package/docs/patterns/components-indexlist--post-index.tsx +1 -1
  324. package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
  325. package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
  326. package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
  327. package/docs/patterns/components-intakeform--short-form-pattern.tsx +1 -1
  328. package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
  329. package/docs/patterns/components-kbd--command-row.tsx +1 -1
  330. package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
  331. package/docs/patterns/components-kbd--shortcut.tsx +1 -1
  332. package/docs/patterns/components-linktile--resource-tile.tsx +1 -1
  333. package/docs/patterns/components-linktile--router-link.tsx +1 -1
  334. package/docs/patterns/components-logview--detail-pane.tsx +80 -0
  335. package/docs/patterns/components-logview--log-viewer.tsx +20 -0
  336. package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
  337. package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
  338. package/docs/patterns/components-navlist--app-sidebar.tsx +118 -0
  339. package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
  340. package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
  341. package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
  342. package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
  343. package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
  344. package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
  345. package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
  346. package/docs/patterns/components-prose--article-body.tsx +1 -1
  347. package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
  348. package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
  349. package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
  350. package/docs/patterns/components-sectioncaption--column-caption.tsx +1 -1
  351. package/docs/patterns/components-sectioncaption--with-action.tsx +1 -1
  352. package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
  353. package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
  354. package/docs/patterns/components-sheet--side-sheet-header-actions.tsx +50 -0
  355. package/docs/patterns/components-sheet--side-sheet-url-deep-link.tsx +51 -0
  356. package/docs/patterns/components-sheet--side-sheet.tsx +38 -0
  357. package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
  358. package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
  359. package/docs/patterns/components-sitenav--compact.tsx +1 -1
  360. package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
  361. package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
  362. package/docs/patterns/components-stat--hero-stat.tsx +54 -0
  363. package/docs/patterns/components-stat--insights-row.tsx +1 -1
  364. package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
  365. package/docs/patterns/components-switch--default.tsx +1 -1
  366. package/docs/patterns/components-switch--settings-row.tsx +1 -1
  367. package/docs/patterns/components-tab--settings-pages.tsx +1 -1
  368. package/docs/patterns/components-table--approvals-with-sheet.tsx +81 -0
  369. package/docs/patterns/components-table--approvals.tsx +223 -0
  370. package/docs/patterns/components-table--basic.tsx +60 -0
  371. package/docs/patterns/components-taskrows--action-details.tsx +1 -1
  372. package/docs/patterns/components-taskrows--capsules.tsx +1 -1
  373. package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
  374. package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
  375. package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
  376. package/docs/patterns/components-taskrows--needs-you-table.tsx +62 -0
  377. package/docs/patterns/components-taskrows--status-list.tsx +1 -1
  378. package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
  379. package/docs/patterns/components-textarea--save-status.tsx +32 -0
  380. package/docs/patterns/components-textlink--external-destination.tsx +1 -1
  381. package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
  382. package/docs/patterns/components-textlink--quiet-title.tsx +1 -1
  383. package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
  384. package/docs/patterns/components-textsequence--default.tsx +1 -1
  385. package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
  386. package/docs/patterns/components-textsequence--shapes.tsx +1 -1
  387. package/docs/patterns/components-tilegrid--masonry.tsx +1 -1
  388. package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
  389. package/docs/patterns/components-tooltip--controlled.tsx +1 -1
  390. package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
  391. package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
  392. package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
  393. package/docs/patterns/components-tooltip--placement.tsx +1 -1
  394. package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
  395. package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
  396. package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
  397. package/docs/patterns/guides-filter-panel--filtered-grid.tsx +1 -1
  398. package/docs/patterns/guides-filter-panel--filtered-index.tsx +1 -1
  399. package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
  400. package/docs/patterns/guides-post-page--post-page.tsx +1 -1
  401. package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
  402. package/docs/patterns/guides-resource-detail--detail.tsx +1 -1
  403. package/docs/patterns/index.json +193 -1
  404. package/package.json +1 -1
  405. package/dist/components/organisms/Tab/tabOverflow.d.ts +0 -14
  406. package/dist/components/organisms/Tab/tabOverflow.d.ts.map +0 -1
@@ -10,110 +10,110 @@ var n = [
10
10
  "error",
11
11
  "warning",
12
12
  "success"
13
- ], i = ["top", "bottom"], a = `transition-[color,background-color,box-shadow,border-color,outline-color] ${t("fast")}`, o = "w-full min-w-0 bg-surface font-sans font-normal tracking-normal text-fg placeholder:text-disabled " + a, s = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-body", c = {
13
+ ], i = ["top", "bottom"], a = `transition-[color,background-color,box-shadow,border-color,outline-color] ${t("fast")}`, o = "w-full min-w-0 bg-surface font-sans font-normal tracking-normal text-fg placeholder:text-disabled " + a, s = "type-code !font-mono !leading-none", c = "focus-visible:outline-none focus-visible:ring-2", l = {
14
14
  default: "focus-visible:ring-focus-ring",
15
15
  error: "focus-visible:ring-error-focus-ring",
16
16
  warning: "focus-visible:ring-warning-focus-ring",
17
17
  success: "focus-visible:ring-success-focus-ring"
18
- }, l = {
19
- error: "focus-within:outline-none focus-within:ring-2 focus-within:ring-error-focus-ring focus-within:ring-offset-2 focus-within:ring-offset-body",
20
- warning: "focus-within:outline-none focus-within:ring-2 focus-within:ring-warning-focus-ring focus-within:ring-offset-2 focus-within:ring-offset-body",
21
- success: "focus-within:outline-none focus-within:ring-2 focus-within:ring-success-focus-ring focus-within:ring-offset-2 focus-within:ring-offset-body"
22
18
  }, u = {
19
+ error: "focus-within:outline-none focus-within:ring-2 focus-within:ring-error-focus-ring",
20
+ warning: "focus-within:outline-none focus-within:ring-2 focus-within:ring-warning-focus-ring",
21
+ success: "focus-within:outline-none focus-within:ring-2 focus-within:ring-success-focus-ring"
22
+ }, d = {
23
23
  sm: "h-8 px-2.5 text-xs leading-none",
24
24
  md: "h-11 px-3 text-sm leading-none",
25
25
  lg: "min-h-12 px-4 text-base leading-none"
26
- }, d = "border border-border-control", f = "shadow-raised", p = {
27
- sm: e(d, f),
28
- md: e(d, f),
29
- lg: e(d, f)
30
- }, m = {
31
- sm: "rounded-full",
32
- md: "rounded-full",
33
- lg: "rounded-full"
26
+ }, f = "border border-border-control", p = "shadow-raised", m = {
27
+ sm: e(f, p),
28
+ md: e(f, p),
29
+ lg: e(f, p)
34
30
  }, h = {
31
+ sm: "rounded-[var(--radius-control)]",
32
+ md: "rounded-[var(--radius-control)]",
33
+ lg: "rounded-[var(--radius-control)]"
34
+ }, g = {
35
35
  error: "border-error",
36
36
  warning: "border-warning",
37
37
  success: "border-success"
38
- }, g = {
38
+ }, _ = {
39
39
  sm: "-mt-4 pt-6",
40
40
  md: "-mt-[1.375rem] pt-8",
41
41
  lg: "-mt-6 pt-8"
42
- }, _ = {
42
+ }, v = {
43
43
  sm: "pb-6",
44
44
  md: "pb-8",
45
45
  lg: "pb-8"
46
- }, v = {
46
+ }, y = {
47
47
  sm: "-mt-4",
48
48
  md: "-mt-[1.375rem]",
49
49
  lg: "-mt-6"
50
50
  };
51
- g.md, _.md;
52
- function y(t, n) {
51
+ _.md, v.md;
52
+ function b(t, n) {
53
53
  return e("relative flex w-full flex-col", a);
54
54
  }
55
- function b(t, n, r) {
56
- return e("relative z-10 flex w-full items-center border bg-surface shadow-sm", m[t], h[n], l[n], r === "top" && v[t], a);
57
- }
58
55
  function x(t, n, r) {
59
- return r === "bottom" ? e("relative z-0 flex w-full items-center gap-2 px-3 pb-3 leading-snug", g[n], "rounded-b-[1.375rem]", S[t]) : e("relative z-0 flex w-full items-center gap-2 px-3 pt-2.5 leading-snug", _[n], "rounded-t-[1.375rem]", S[t]);
56
+ return e("relative z-10 flex w-full items-center border bg-surface shadow-sm", h[t], g[n], u[n], r === "top" && y[t], a);
57
+ }
58
+ function S(t, n, r) {
59
+ return r === "bottom" ? e("relative z-0 flex w-full items-center gap-2 px-3 pb-3 leading-snug", _[n], "rounded-b-[1.375rem]", C[t]) : e("relative z-0 flex w-full items-center gap-2 px-3 pt-2.5 leading-snug", v[n], "rounded-t-[1.375rem]", C[t]);
60
60
  }
61
- var S = {
61
+ var C = {
62
62
  error: "bg-error-muted text-error",
63
63
  warning: "bg-warning-muted text-warning",
64
64
  success: "bg-success-muted text-success"
65
65
  };
66
- e("flex items-center gap-2 px-3 py-2.5 leading-snug", S.error), e("flex items-center gap-2 px-3 py-2.5 leading-snug", S.warning), e("flex items-center gap-2 px-3 py-2.5 leading-snug", S.success);
67
- var C = {
66
+ e("flex items-center gap-2 px-3 py-2.5 leading-snug", C.error), e("flex items-center gap-2 px-3 py-2.5 leading-snug", C.warning), e("flex items-center gap-2 px-3 py-2.5 leading-snug", C.success);
67
+ var w = {
68
68
  error: "size-4 shrink-0 stroke-current",
69
69
  warning: "size-4 shrink-0 stroke-current",
70
70
  success: "size-4 shrink-0 stroke-current"
71
71
  };
72
- function w(e) {
73
- return y(e, "error");
72
+ function T(e) {
73
+ return b(e, "error");
74
74
  }
75
- var T = {
75
+ var E = {
76
76
  sm: "pl-8",
77
77
  md: "pl-10",
78
78
  lg: "pl-11"
79
- }, E = {
79
+ }, D = {
80
80
  sm: "pr-8",
81
81
  md: "pr-10",
82
82
  lg: "pr-11"
83
- }, D = {
83
+ }, O = {
84
84
  sm: "pr-[4.5rem]",
85
85
  md: "pr-20",
86
86
  lg: "pr-24"
87
- }, O = {
87
+ }, k = {
88
88
  sm: "pr-[6.5rem]",
89
89
  md: "pr-28",
90
90
  lg: "pr-32"
91
- }, k = {
91
+ }, A = {
92
92
  sm: "right-2.5",
93
93
  md: "right-3",
94
94
  lg: "right-3.5"
95
- }, A = "pointer-events-none absolute top-1/2 flex -translate-y-1/2 items-center gap-1.5", j = "pointer-events-none shrink-0", M = {
95
+ }, j = "pointer-events-none absolute top-1/2 flex -translate-y-1/2 items-center gap-1.5", M = "pointer-events-none shrink-0", N = {
96
96
  sm: "left-2.5",
97
97
  md: "left-3",
98
98
  lg: "left-3.5"
99
- }, N = {
99
+ }, P = {
100
100
  sm: "size-3.5 shrink-0 stroke-current text-muted",
101
101
  md: "size-4 shrink-0 stroke-current text-muted",
102
102
  lg: "size-4 shrink-0 stroke-current text-muted"
103
- }, P = {
103
+ }, F = {
104
104
  sm: "size-4 shrink-0 stroke-current",
105
105
  md: "size-4 shrink-0 stroke-current",
106
106
  lg: "size-5 shrink-0 stroke-current"
107
- }, F = {
107
+ }, I = {
108
108
  sm: "size-3.5 shrink-0",
109
109
  md: "size-4 shrink-0",
110
110
  lg: "size-4 shrink-0"
111
- }, I = {
111
+ }, L = {
112
112
  error: "text-error",
113
113
  warning: "text-warning",
114
114
  success: "text-success"
115
115
  };
116
- w("sm"), w("md"), w("lg");
117
- var L = "w-full min-w-0 bg-transparent font-sans font-normal tracking-normal text-fg placeholder:text-disabled " + a, R = "rounded-none border-0 shadow-none focus-visible:outline-none focus-visible:ring-0", z = "rounded-none border-0 bg-transparent shadow-none focus-visible:outline-none focus-visible:ring-0", B = "disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", V = "flex w-full flex-col gap-1.5", H = "flex w-full flex-col gap-1.5", U = "opacity-50";
116
+ T("sm"), T("md"), T("lg");
117
+ var R = "w-full min-w-0 bg-transparent font-sans font-normal tracking-normal text-fg placeholder:text-disabled " + a, z = "rounded-none border-0 shadow-none focus-visible:!outline-none focus-visible:!ring-0", B = "rounded-none border-0 bg-transparent shadow-none focus-visible:!outline-none focus-visible:!ring-0", V = "disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", H = "flex w-full flex-col gap-1.5", U = "flex w-full flex-col gap-1.5", W = "opacity-50";
118
118
  //#endregion
119
- export { L as inputAttachedFieldClasses, R as inputAttachedInputClasses, o as inputBaseClasses, g as inputCompoundBannerOverlapBottomClasses, _ as inputCompoundBannerOverlapTopPadClasses, v as inputCompoundFieldOverlapTopClasses, b as inputCompoundInnerFieldClassesFor, w as inputCompoundOuterClassesFor, y as inputCompoundShellClassesFor, l as inputCompoundShellFocusRingClasses, H as inputControlStackClasses, B as inputDisabledClasses, U as inputDisabledLabelClasses, O as inputEndBadgeAndStatusGapClasses, D as inputEndBadgeGapClasses, j as inputEndBadgeWrapperClasses, V as inputFieldStackClasses, T as inputIconGapClasses, M as inputIconPositionClasses, N as inputIconSizeClasses, z as inputInlineClasses, i as inputMessagePositions, d as inputShellBorderClasses, p as inputShellClasses, f as inputShellElevationClasses, a as inputShellTransitionClasses, u as inputSizeClasses, n as inputSizes, s as inputSoloFocusRingBaseClasses, c as inputSoloFocusRingColorClasses, m as inputSoloRadiusClasses, F as inputSpinnerSizeClasses, x as inputStatusBannerClassesFor, C as inputStatusBannerIconClasses, S as inputStatusBannerSurfaceClasses, E as inputStatusGapClasses, I as inputStatusIconClasses, P as inputStatusIconSizeClasses, h as inputStatusShellClasses, r as inputStatuses, A as inputTrailingInsetClasses, k as inputTrailingInsetPositionClasses };
119
+ export { R as inputAttachedFieldClasses, z as inputAttachedInputClasses, o as inputBaseClasses, _ as inputCompoundBannerOverlapBottomClasses, v as inputCompoundBannerOverlapTopPadClasses, y as inputCompoundFieldOverlapTopClasses, x as inputCompoundInnerFieldClassesFor, T as inputCompoundOuterClassesFor, b as inputCompoundShellClassesFor, u as inputCompoundShellFocusRingClasses, U as inputControlStackClasses, V as inputDisabledClasses, W as inputDisabledLabelClasses, k as inputEndBadgeAndStatusGapClasses, O as inputEndBadgeGapClasses, M as inputEndBadgeWrapperClasses, H as inputFieldStackClasses, E as inputIconGapClasses, N as inputIconPositionClasses, P as inputIconSizeClasses, B as inputInlineClasses, i as inputMessagePositions, s as inputMonoFaceClasses, f as inputShellBorderClasses, m as inputShellClasses, p as inputShellElevationClasses, a as inputShellTransitionClasses, d as inputSizeClasses, n as inputSizes, c as inputSoloFocusRingBaseClasses, l as inputSoloFocusRingColorClasses, h as inputSoloRadiusClasses, I as inputSpinnerSizeClasses, S as inputStatusBannerClassesFor, w as inputStatusBannerIconClasses, C as inputStatusBannerSurfaceClasses, D as inputStatusGapClasses, L as inputStatusIconClasses, F as inputStatusIconSizeClasses, g as inputStatusShellClasses, r as inputStatuses, j as inputTrailingInsetClasses, A as inputTrailingInsetPositionClasses };
@@ -1 +1 @@
1
- {"version":3,"file":"RiveHand.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RiveHand/RiveHand.tsx"],"names":[],"mappings":"AAeA,OAAO,EAIL,iBAAiB,EAkBjB,WAAW,EAEX,eAAe,EACf,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,CAAC;AAaF,qEAAqE;AACrE,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAkC7C,MAAM,WAAW,aAAa;IAC5B,0FAA0F;IAC1F,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,4EAA4E;IAC5E,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,MAAc,EACd,MAAc,EACd,IAAW,EACX,QAAiB,EACjB,SAAS,EACT,aAAa,EAAE,UAAiB,GACjC,EAAE,aAAa,+BAkXf"}
1
+ {"version":3,"file":"RiveHand.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/RiveHand/RiveHand.tsx"],"names":[],"mappings":"AAOA,OAAO,EAIL,iBAAiB,EAkBjB,WAAW,EAEX,eAAe,EACf,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,CAAC;AAqBF,qEAAqE;AACrE,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAkC7C,MAAM,WAAW,aAAa;IAC5B,0FAA0F;IAC1F,IAAI,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,4EAA4E;IAC5E,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,MAAc,EACd,MAAc,EACd,IAAW,EACX,QAAiB,EACjB,SAAS,EACT,aAAa,EAAE,UAAiB,GACjC,EAAE,aAAa,+BAkXf"}
@@ -1,55 +1,57 @@
1
1
  "use client";
2
2
  "use client";
3
3
  import { cn as e } from "../../../lib/cn.js";
4
- import { applyRiveHandTokenColors as t, installRiveHandLayoutRect as n, nextRiveHandIdleDelayMs as r, paintRiveHandColors as i, riveHandArtboards as a, riveHandBooleanInput as o, riveHandBooleanValue as s, riveHandBoxSize as c, riveHandClassName as l, riveHandEnteredAttr as ee, riveHandFillProperty as u, riveHandGrowDelaySec as d, riveHandGrowOrigin as f, riveHandGrowSettled as p, riveHandHasLayoutBox as m, riveHandIdleAllowed as h, riveHandIdleHoldMs as te, riveHandInlineLayout as g, riveHandInlineSlotClassName as _, riveHandIntersectsViewport as v, riveHandOutlineProperty as ne, riveHandSrc as y, riveHandStateMachine as b, riveHandWasmSrc as x, riveHands as re } from "./riveHandUtils.js";
4
+ import { applyRiveHandTokenColors as t, installRiveHandLayoutRect as n, nextRiveHandIdleDelayMs as r, paintRiveHandColors as i, riveHandArtboards as a, riveHandBooleanInput as o, riveHandBooleanValue as s, riveHandBoxSize as c, riveHandClassName as l, riveHandEnteredAttr as ee, riveHandFillProperty as u, riveHandGrowDelaySec as d, riveHandGrowOrigin as f, riveHandGrowSettled as p, riveHandHasLayoutBox as m, riveHandIdleAllowed as h, riveHandIdleHoldMs as te, riveHandInlineLayout as g, riveHandInlineSlotClassName as _, riveHandIntersectsViewport as ne, riveHandOutlineProperty as re, riveHandSrc as v, riveHandStateMachine as y, riveHandWasmSrc as b, riveHands as x } from "./riveHandUtils.js";
5
5
  import { useEffect as S, useLayoutEffect as C, useMemo as ie, useRef as w, useState as T } from "react";
6
6
  import { jsx as E } from "react/jsx-runtime";
7
7
  import { motion as ae } from "motion/react";
8
- import { Fit as oe, Layout as se, Rive as D, RuntimeLoader as O, useRive as ce, useStateMachineInput as le, useViewModelInstanceColor as k } from "@rive-app/react-canvas";
9
- import { createPortal as ue } from "react-dom";
10
- O.setWasmUrl(x), D.suppressDeprecationWarnings = [.../* @__PURE__ */ new Set([...D.suppressDeprecationWarnings, "state-machine-inputs"])];
11
- function de(e, t, n) {
8
+ import * as D from "@rive-app/react-canvas";
9
+ import { createPortal as oe } from "react-dom";
10
+ //#region src/components/atoms/RiveHand/RiveHand.tsx
11
+ var { Fit: se, Layout: ce, Rive: O, RuntimeLoader: k, useRive: le, useStateMachineInput: ue, useViewModelInstanceColor: A } = "RuntimeLoader" in D ? D : D.default;
12
+ k.setWasmUrl(b), O.suppressDeprecationWarnings = [.../* @__PURE__ */ new Set([...O.suppressDeprecationWarnings, "state-machine-inputs"])];
13
+ function j(e, t, n) {
12
14
  if (!(!t || !m(t.clientWidth, t.clientHeight))) {
13
15
  if (n) {
14
16
  e.drawFrame(), e.pause();
15
17
  return;
16
18
  }
17
- if (v(t.getBoundingClientRect(), window.innerWidth, window.innerHeight)) {
19
+ if (ne(t.getBoundingClientRect(), window.innerWidth, window.innerHeight)) {
18
20
  if (typeof e.play == "function" && (e.isStopped || e.isPaused)) {
19
- e.play(e.isStopped ? b : void 0);
21
+ e.play(e.isStopped ? y : void 0);
20
22
  return;
21
23
  }
22
24
  e.startRendering();
23
25
  }
24
26
  }
25
27
  }
26
- function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, entrance: j = "none", className: fe, "aria-hidden": M = !0 }) {
27
- let [N, pe] = T(!1), [P, F] = T(!1), [me, he] = T(0), [I, L] = T(!1), [R, z] = T(j === "none"), B = w(N);
28
- B.current = N;
29
- let V = w(O);
30
- V.current = O;
31
- let H = w(null), ge = ie(() => new se({ fit: oe.Contain }), []), { rive: U, RiveComponent: _e } = ce({
32
- src: y,
33
- artboard: a[x],
34
- stateMachine: b,
28
+ function M({ hand: b, size: x, inline: D = !1, active: O = !1, idle: k = !0, entrance: M = "none", className: de, "aria-hidden": N = !0 }) {
29
+ let [P, fe] = T(!1), [F, I] = T(!1), [pe, me] = T(0), [L, R] = T(!1), [z, B] = T(M === "none"), V = w(P);
30
+ V.current = P;
31
+ let H = w(O);
32
+ H.current = O;
33
+ let U = w(null), he = ie(() => new ce({ fit: se.Contain }), []), { rive: W, RiveComponent: ge } = le({
34
+ src: v,
35
+ artboard: a[b],
36
+ stateMachine: y,
35
37
  autoplay: !0,
36
38
  autoBind: !0,
37
39
  shouldDisableRiveListeners: !0,
38
- layout: ge,
40
+ layout: he,
39
41
  onRiveReady: (e) => {
40
42
  i(e), e.drawFrame();
41
43
  }
42
- }), { setRgb: W } = k(u, U?.viewModelInstance), { setRgb: G } = k(ne, U?.viewModelInstance), K = le(U, b, o);
44
+ }), { setRgb: G } = A(u, W?.viewModelInstance), { setRgb: K } = A(re, W?.viewModelInstance), q = ue(W, y, o);
43
45
  C(() => {
44
46
  if (typeof window > "u" || typeof window.matchMedia != "function") {
45
- F(!0);
47
+ I(!0);
46
48
  return;
47
49
  }
48
- let e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => pe(e.matches);
49
- return t(), F(!0), e.addEventListener("change", t), () => e.removeEventListener("change", t);
50
+ let e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => fe(e.matches);
51
+ return t(), I(!0), e.addEventListener("change", t), () => e.removeEventListener("change", t);
50
52
  }, []), S(() => {
51
53
  if (typeof document > "u" || typeof MutationObserver > "u") return;
52
- let e = new MutationObserver(() => he((e) => e + 1));
54
+ let e = new MutationObserver(() => me((e) => e + 1));
53
55
  return e.observe(document.documentElement, {
54
56
  attributes: !0,
55
57
  attributeFilter: [
@@ -60,63 +62,63 @@ function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, en
60
62
  }), () => e.disconnect();
61
63
  }, []), S(() => {
62
64
  t({
63
- handFill: { setRgb: W },
64
- outline: { setRgb: G }
65
- }), U && (N ? K && (K.value = !1) : K && (K.value = s(O, I, !1)), de(U, H.current, N));
65
+ handFill: { setRgb: G },
66
+ outline: { setRgb: K }
67
+ }), W && (P ? q && (q.value = !1) : q && (q.value = s(O, L, !1)), j(W, U.current, P));
66
68
  }, [
67
69
  O,
68
- I,
69
- K,
70
- N,
71
- U,
70
+ L,
71
+ q,
72
+ P,
72
73
  W,
73
74
  G,
74
- me
75
+ K,
76
+ pe
75
77
  ]), S(() => {
76
- if (!P || N || j === "none") return;
77
- let e = H.current, t = e?.parentElement ?? e;
78
+ if (!F || P || M === "none") return;
79
+ let e = U.current, t = e?.parentElement ?? e;
78
80
  if (!t || typeof IntersectionObserver > "u") {
79
- z(!0);
81
+ B(!0);
80
82
  return;
81
83
  }
82
84
  let n = new IntersectionObserver((e) => {
83
- e.some((e) => e.isIntersecting) && (z(!0), n.disconnect());
85
+ e.some((e) => e.isIntersecting) && (B(!0), n.disconnect());
84
86
  });
85
87
  return n.observe(t), () => n.disconnect();
86
88
  }, [
87
- j,
88
- P,
89
- N
89
+ M,
90
+ F,
91
+ P
90
92
  ]), S(() => {
91
- if (!A || N) return;
92
- let e = H.current, t = 0, n = 0, i = document.visibilityState !== "hidden", a = typeof IntersectionObserver > "u", o = !1, s = () => {
93
+ if (!k || P) return;
94
+ let e = U.current, t = 0, n = 0, i = document.visibilityState !== "hidden", a = typeof IntersectionObserver > "u", o = !1, s = () => {
93
95
  window.clearTimeout(t), window.clearTimeout(n), t = 0, n = 0;
94
96
  }, c = e?.closest("[data-text-sequence]") ? e.closest("[data-rive-hand-slot]") : null, l = () => !c || c.getAttribute("data-rive-hand-entered") === "true", u = () => {
95
97
  s(), l() && (o || !h({
96
98
  idle: !0,
97
- reduced: B.current,
99
+ reduced: V.current,
98
100
  pageVisible: i,
99
101
  inView: a
100
102
  }) || (t = window.setTimeout(() => {
101
103
  if (!(o || !l() || !h({
102
104
  idle: !0,
103
- reduced: B.current,
105
+ reduced: V.current,
104
106
  pageVisible: i,
105
107
  inView: a
106
108
  }))) {
107
- if (V.current) {
109
+ if (H.current) {
108
110
  u();
109
111
  return;
110
112
  }
111
- L(!0), n = window.setTimeout(() => {
112
- L(!1), u();
113
+ R(!0), n = window.setTimeout(() => {
114
+ R(!1), u();
113
115
  }, te);
114
116
  }
115
117
  }, r())));
116
118
  }, d = (e) => {
117
- e !== a && (a = e, a || L(!1), u());
119
+ e !== a && (a = e, a || R(!1), u());
118
120
  }, f = () => {
119
- i = document.visibilityState !== "hidden", i || L(!1), u();
121
+ i = document.visibilityState !== "hidden", i || R(!1), u();
120
122
  }, p = null;
121
123
  typeof IntersectionObserver < "u" && e ? (p = new IntersectionObserver((e) => {
122
124
  let t = e[e.length - 1];
@@ -128,25 +130,25 @@ function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, en
128
130
  typeof ResizeObserver < "u" && e && (g = new ResizeObserver(() => {
129
131
  if (!e.isConnected || !m(e.clientWidth, e.clientHeight)) return;
130
132
  let t = e.getBoundingClientRect();
131
- m(t.width, t.height) && d(v(t, window.innerWidth, window.innerHeight));
133
+ m(t.width, t.height) && d(ne(t, window.innerWidth, window.innerHeight));
132
134
  }), g.observe(e));
133
135
  let _ = null;
134
136
  return c && typeof MutationObserver < "u" && (_ = new MutationObserver(() => {
135
- l() || L(!1), u();
137
+ l() || R(!1), u();
136
138
  }), _.observe(c, {
137
139
  attributes: !0,
138
140
  attributeFilter: [ee]
139
141
  })), document.addEventListener("visibilitychange", f), () => {
140
- o = !0, s(), L(!1), p?.disconnect(), g?.disconnect(), _?.disconnect(), document.removeEventListener("visibilitychange", f);
142
+ o = !0, s(), R(!1), p?.disconnect(), g?.disconnect(), _?.disconnect(), document.removeEventListener("visibilitychange", f);
141
143
  };
142
144
  }, [
143
- A,
144
- P,
145
- N
145
+ k,
146
+ F,
147
+ P
146
148
  ]);
147
- let q = D ? g(x) : null, J = q ? q.box : c(re ?? "1em"), [Y, ve] = T(null), X = !D && P && !N && j === "slide-up", Z = !D && P && !N && j === "grow";
149
+ let J = D ? g(b) : null, _e = J ? J.box : c(x ?? "1em"), [Y, ve] = T(null), X = !D && F && !P && M === "slide-up", Z = !D && F && !P && M === "grow";
148
150
  C(() => {
149
- let e = H.current;
151
+ let e = U.current;
150
152
  if (e) {
151
153
  if (e.shadowRoot) {
152
154
  ve(e.shadowRoot);
@@ -155,25 +157,25 @@ function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, en
155
157
  ve(e.attachShadow({ mode: "open" }));
156
158
  }
157
159
  }, [X, Z]), C(() => {
158
- let e = H.current?.shadowRoot?.querySelector("canvas");
160
+ let e = U.current?.shadowRoot?.querySelector("canvas");
159
161
  e && n(e);
160
162
  }, [Y]);
161
163
  let Q = w(() => {});
162
164
  S(() => {
163
- let e = H.current;
164
- if (!U || !e) return;
165
+ let e = U.current;
166
+ if (!W || !e) return;
165
167
  let t = () => {
166
- let e = H.current;
168
+ let e = U.current;
167
169
  if (!e) return;
168
170
  let t = e.getBoundingClientRect();
169
171
  if (!p(e.offsetWidth, e.offsetHeight, t.width, t.height)) return;
170
172
  let n = e.shadowRoot?.querySelector("canvas");
171
- n && e.clientWidth > 0 && e.clientHeight > 0 && (n.style.width = `${e.clientWidth}px`, n.style.height = `${e.clientHeight}px`), m(e.clientWidth, e.clientHeight) && (U.resizeDrawingSurfaceToCanvas(), de(U, e, B.current));
173
+ n && e.clientWidth > 0 && e.clientHeight > 0 && (n.style.width = `${e.clientWidth}px`, n.style.height = `${e.clientHeight}px`), m(e.clientWidth, e.clientHeight) && (W.resizeDrawingSurfaceToCanvas(), j(W, e, V.current));
172
174
  };
173
175
  Q.current = t;
174
176
  let n = 0, r = 0, i = () => {
175
177
  t();
176
- let e = H.current, a = e?.shadowRoot?.querySelector("canvas"), o = !a || a.clientWidth < 1 || a.clientHeight < 1, s = !e || !e.isConnected || e.clientWidth < 1 || e.clientHeight < 1;
178
+ let e = U.current, a = e?.shadowRoot?.querySelector("canvas"), o = !a || a.clientWidth < 1 || a.clientHeight < 1, s = !e || !e.isConnected || e.clientWidth < 1 || e.clientHeight < 1;
177
179
  (o || s) && e?.isConnected && n < 8 && (n += 1, r = requestAnimationFrame(i));
178
180
  };
179
181
  if (i(), typeof ResizeObserver > "u") return () => {
@@ -188,39 +190,39 @@ function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, en
188
190
  }, [
189
191
  Z,
190
192
  X,
191
- U
193
+ W
192
194
  ]);
193
- let ye = Y ? ue(/* @__PURE__ */ E("div", {
195
+ let ye = Y ? oe(/* @__PURE__ */ E("div", {
194
196
  style: {
195
197
  width: "100%",
196
198
  height: "100%"
197
199
  },
198
- children: /* @__PURE__ */ E(_e, {})
199
- }), Y) : null, be = e(l, fe), xe = {
200
- width: J,
201
- height: J,
200
+ children: /* @__PURE__ */ E(ge, {})
201
+ }), Y) : null, be = e(l, de), xe = {
202
+ width: _e,
203
+ height: _e,
202
204
  transformOrigin: Z ? f : void 0,
203
- ...q ? {
205
+ ...J ? {
204
206
  position: "absolute",
205
207
  left: "50%",
206
208
  top: "50%",
207
- transform: q.transform
209
+ transform: J.transform
208
210
  } : {}
209
211
  }, $ = !X && !Z ? /* @__PURE__ */ E("div", {
210
- ref: H,
211
- "aria-hidden": M,
212
- "data-rive-hand": x,
212
+ ref: U,
213
+ "aria-hidden": N,
214
+ "data-rive-hand": b,
213
215
  className: be,
214
216
  style: xe,
215
217
  children: ye
216
218
  }) : /* @__PURE__ */ E(ae.div, {
217
- ref: H,
218
- "aria-hidden": M,
219
- "data-rive-hand": x,
219
+ ref: U,
220
+ "aria-hidden": N,
221
+ "data-rive-hand": b,
220
222
  className: be,
221
223
  style: xe,
222
224
  initial: X ? { y: "100%" } : { scale: 0 },
223
- animate: X ? { y: R ? "0%" : "100%" } : { scale: +!!R },
225
+ animate: X ? { y: z ? "0%" : "100%" } : { scale: +!!z },
224
226
  transition: X ? {
225
227
  type: "spring",
226
228
  stiffness: 260,
@@ -231,18 +233,18 @@ function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, en
231
233
  stiffness: 480,
232
234
  damping: 12,
233
235
  mass: .55,
234
- delay: R ? d : 0
236
+ delay: z ? d : 0
235
237
  },
236
238
  onAnimationComplete: () => {
237
239
  Q.current();
238
240
  },
239
241
  children: ye
240
242
  });
241
- return q ? /* @__PURE__ */ E("span", {
242
- "aria-hidden": M,
243
- "data-rive-hand-slot": x,
243
+ return J ? /* @__PURE__ */ E("span", {
244
+ "aria-hidden": N,
245
+ "data-rive-hand-slot": b,
244
246
  className: _,
245
- style: { width: q.slot },
247
+ style: { width: J.slot },
246
248
  children: /* @__PURE__ */ E("span", {
247
249
  "data-rive-hand-pop": "",
248
250
  className: "pointer-events-none absolute left-0 top-0 h-0 w-full",
@@ -251,4 +253,4 @@ function A({ hand: x, size: re, inline: D = !1, active: O = !1, idle: A = !0, en
251
253
  }) : $;
252
254
  }
253
255
  //#endregion
254
- export { A as RiveHand, a as riveHandArtboards, y as riveHandSrc, x as riveHandWasmSrc, re as riveHands };
256
+ export { M as RiveHand, a as riveHandArtboards, v as riveHandSrc, b as riveHandWasmSrc, x as riveHands };
@@ -11,7 +11,7 @@ var t = [
11
11
  none: "rounded-none",
12
12
  inner: "rounded-sm",
13
13
  element: "rounded-lg",
14
- container: "rounded-xl",
14
+ container: "rounded-[var(--radius-surface-md)]",
15
15
  full: "rounded-full"
16
16
  }, r = "block shrink-0 bg-skeleton wmds-skeleton-host", i = "relative overflow-hidden", a = "pointer-events-none absolute inset-y-0 w-1/2 bg-gradient-to-r from-transparent via-[color-mix(in_srgb,var(--color-background-surface)_55%,var(--color-skeleton)_45%)] to-transparent", o = 1e3, s = .5;
17
17
  function c(e) {
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAMf,OAAO,EAkBL,KAAK,YAAY,EACjB,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAa,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE5E,qDAAqD;AACrD,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAE3C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAC7E,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,8FAA8F;IAC9F,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACnC;AAaD;;;GAGG;AACH,eAAO,MAAM,MAAM,0GA2KjB,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,mBAAmB,EACzB,MAAM,OAAO,CAAC;AAMf,OAAO,EAkBL,KAAK,YAAY,EACjB,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAa,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE5E,qDAAqD;AACrD,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAE3C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAC7E,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,8FAA8F;IAC9F,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACnC;AAaD;;;GAGG;AACH,eAAO,MAAM,MAAM,0GA+KjB,CAAC"}