themelia-react-ui 2.0.1 → 2.0.3

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 (490) hide show
  1. package/CHANGELOG.md +317 -131
  2. package/README.md +25 -9
  3. package/THIRD_PARTY_NOTICES.md +7 -0
  4. package/dist/{accordion-B6a3vVgA.js → accordion-Cjb6sx0G.js} +14 -13
  5. package/dist/accordion-Cjb6sx0G.js.map +1 -0
  6. package/dist/action-menu-CllU52Mm.js +280 -0
  7. package/dist/action-menu-CllU52Mm.js.map +1 -0
  8. package/dist/affordance-geometry.generated-tF36bREk.js +140 -0
  9. package/dist/affordance-geometry.generated-tF36bREk.js.map +1 -0
  10. package/dist/ai-artifact-DvTwDVyL.js +1148 -0
  11. package/dist/ai-artifact-DvTwDVyL.js.map +1 -0
  12. package/dist/{app-shell-ZK5RWdo6.js → app-shell-C4FhvCqF.js} +5 -5
  13. package/dist/{app-shell-ZK5RWdo6.js.map → app-shell-C4FhvCqF.js.map} +1 -1
  14. package/dist/attachment-BxDfL2mw.js +246 -0
  15. package/dist/attachment-BxDfL2mw.js.map +1 -0
  16. package/dist/{auth-CYxKfo69.js → auth-BGua8ouh.js} +58 -54
  17. package/dist/auth-BGua8ouh.js.map +1 -0
  18. package/dist/{avatar-BBnEJIx8.js → avatar-DAPlDvhJ.js} +7 -7
  19. package/dist/avatar-DAPlDvhJ.js.map +1 -0
  20. package/dist/{badge-MrKVNzW9.js → badge-HpFqoqSY.js} +40 -40
  21. package/dist/badge-HpFqoqSY.js.map +1 -0
  22. package/dist/base/accordion.js +1 -1
  23. package/dist/base/action-menu.js +1 -1
  24. package/dist/base/attachment.js +1 -1
  25. package/dist/base/avatar.js +1 -1
  26. package/dist/base/badge.js +1 -1
  27. package/dist/base/batch-action-bar.js +1 -1
  28. package/dist/base/buttons.js +1 -1
  29. package/dist/base/cards.js +2 -2
  30. package/dist/base/carousel.js +40 -36
  31. package/dist/base/carousel.js.map +1 -1
  32. package/dist/base/cascader.js +92 -92
  33. package/dist/base/cascader.js.map +1 -1
  34. package/dist/base/chart.js +1 -1
  35. package/dist/base/choice-inputs.js +2 -2
  36. package/dist/base/code-block.js +1 -1
  37. package/dist/base/combobox.js +2 -2
  38. package/dist/base/command.js +1 -1
  39. package/dist/base/copyable.js +1 -1
  40. package/dist/base/date-pickers.js +2 -2
  41. package/dist/base/display.js +6 -6
  42. package/dist/base/feedback.js +3 -3
  43. package/dist/base/forms-numeric.js +1 -1
  44. package/dist/base/forms.js +2 -2
  45. package/dist/base/inline-edit.js +14 -14
  46. package/dist/base/inline-edit.js.map +1 -1
  47. package/dist/base/item.js +1 -1
  48. package/dist/base/media-gallery.js +1 -1
  49. package/dist/base/metadata-list.js +1 -1
  50. package/dist/base/navigation.js +6 -6
  51. package/dist/base/popover-menu.js +1 -1
  52. package/dist/base/popover.js +1 -1
  53. package/dist/base/qr-code.js +1 -1
  54. package/dist/base/repeaters.js +171 -176
  55. package/dist/base/repeaters.js.map +1 -1
  56. package/dist/base/sheet.js +1 -1
  57. package/dist/base/sidebar.js +1 -1
  58. package/dist/base/signature-pad.js +6 -6
  59. package/dist/base/skeleton.js +1 -1
  60. package/dist/base/spinner.js +79 -2
  61. package/dist/base/spinner.js.map +1 -0
  62. package/dist/base/structure.js +1 -1
  63. package/dist/base/table.js +1 -1
  64. package/dist/base/text-inputs.js +2 -2
  65. package/dist/base/toaster.js +46 -45
  66. package/dist/base/toaster.js.map +1 -1
  67. package/dist/base/tree.js +1 -1
  68. package/dist/base/upload-queue.js +1 -1
  69. package/dist/base/upload.js +3 -3
  70. package/dist/base/value-inputs.js +1 -1
  71. package/dist/{batch-action-bar-BZGDG-Si.js → batch-action-bar-DnUJ21NQ.js} +6 -5
  72. package/dist/batch-action-bar-DnUJ21NQ.js.map +1 -0
  73. package/dist/blocks/admin.js +42 -42
  74. package/dist/blocks/admin.js.map +1 -1
  75. package/dist/blocks/ai.js +260 -240
  76. package/dist/blocks/ai.js.map +1 -1
  77. package/dist/blocks/analytics/usage-card.js +1 -1
  78. package/dist/blocks/analytics.js +620 -585
  79. package/dist/blocks/analytics.js.map +1 -1
  80. package/dist/blocks/collaboration.js +1 -1
  81. package/dist/blocks/commerce/receipt.js +1 -1
  82. package/dist/blocks/commerce.js +1152 -1109
  83. package/dist/blocks/commerce.js.map +1 -1
  84. package/dist/blocks/data-display.js +2 -2
  85. package/dist/blocks/onboarding.js +48 -39
  86. package/dist/blocks/onboarding.js.map +1 -1
  87. package/dist/blocks/planning.js +13 -12
  88. package/dist/blocks/planning.js.map +1 -1
  89. package/dist/blocks/timelines.js +1 -1
  90. package/dist/{breadcrumbs-D5t7I023.js → breadcrumbs-C-oqs1sQ.js} +5 -5
  91. package/dist/breadcrumbs-C-oqs1sQ.js.map +1 -0
  92. package/dist/{button-QYwiyhD2.js → button-DVzspB_G.js} +2 -2
  93. package/dist/{button-QYwiyhD2.js.map → button-DVzspB_G.js.map} +1 -1
  94. package/dist/{buttons-SbIcm1HJ.js → buttons-DPZekJFu.js} +20 -15
  95. package/dist/buttons-DPZekJFu.js.map +1 -0
  96. package/dist/cards-BaBZR-AU.js +68 -0
  97. package/dist/cards-BaBZR-AU.js.map +1 -0
  98. package/dist/{chart-QfrARkXl.js → chart-ZOYyK2xG.js} +58 -55
  99. package/dist/chart-ZOYyK2xG.js.map +1 -0
  100. package/dist/{checkbox-DhB6K0bK.js → checkbox-AWIhNhmo.js} +2 -2
  101. package/dist/{checkbox-DhB6K0bK.js.map → checkbox-AWIhNhmo.js.map} +1 -1
  102. package/dist/{choice-inputs-t6w3ATNz.js → choice-inputs-CNHvARCJ.js} +49 -45
  103. package/dist/choice-inputs-CNHvARCJ.js.map +1 -0
  104. package/dist/{code-block-Dgbu-CU3.js → code-block-DeneBJR_.js} +8 -8
  105. package/dist/code-block-DeneBJR_.js.map +1 -0
  106. package/dist/{collapsible-D8AEGU1-.js → collapsible-C-_l4hpy.js} +3 -3
  107. package/dist/{collapsible-D8AEGU1-.js.map → collapsible-C-_l4hpy.js.map} +1 -1
  108. package/dist/{collection-content-uK16Grv0.js → collection-content-By56pLog.js} +3 -3
  109. package/dist/{collection-content-uK16Grv0.js.map → collection-content-By56pLog.js.map} +1 -1
  110. package/dist/combobox-DaHESuiL.js +355 -0
  111. package/dist/combobox-DaHESuiL.js.map +1 -0
  112. package/dist/{combobox-DLl0bfiq.js → combobox-Dxo2fAYQ.js} +289 -279
  113. package/dist/combobox-Dxo2fAYQ.js.map +1 -0
  114. package/dist/{command-kNR20o7x.js → command-C25VMRII.js} +7 -7
  115. package/dist/{command-kNR20o7x.js.map → command-C25VMRII.js.map} +1 -1
  116. package/dist/{comments-BpDuCUUu.js → comments-DD0DUPwJ.js} +114 -105
  117. package/dist/comments-DD0DUPwJ.js.map +1 -0
  118. package/dist/components/base/badge/badge.recipes.d.ts +1 -1
  119. package/dist/components/base/buttons/loader-button.d.ts +2 -1
  120. package/dist/components/base/cards/card.recipes.d.ts +2 -3
  121. package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +3 -13
  122. package/dist/components/base/cards/smart-card.types.d.ts +11 -4
  123. package/dist/components/base/chart/chart.d.ts +2 -5
  124. package/dist/components/base/combobox/combobox-field.d.ts +16 -0
  125. package/dist/components/base/combobox/combobox.strings.d.ts +7 -0
  126. package/dist/components/base/combobox/index.d.ts +30 -4
  127. package/dist/components/base/forms/form-sizing.d.ts +11 -3
  128. package/dist/components/base/navigation/pagination.d.ts +5 -2
  129. package/dist/components/base/popover/popover.recipes.d.ts +15 -1
  130. package/dist/components/base/table/index.d.ts +9 -2
  131. package/dist/components/base/text-inputs/input-group.d.ts +2 -2
  132. package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +1 -1
  133. package/dist/components/blocks/ai/ai-shimmer/types.d.ts +3 -0
  134. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +3 -1
  135. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +16 -8
  136. package/dist/components/features/activities/partials/activity-marker.d.ts +6 -3
  137. package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +5 -0
  138. package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +220 -0
  139. package/dist/components/features/appointment-calendar/appointment-calendar.utils.d.ts +41 -0
  140. package/dist/components/features/appointment-calendar/index.d.ts +3 -0
  141. package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +32 -0
  142. package/dist/components/features/appointment-calendar/partials/appointment-month.d.ts +13 -0
  143. package/dist/components/features/combobox/combobox.strings.d.ts +15 -1
  144. package/dist/components/features/combobox/types.d.ts +4 -0
  145. package/dist/components/features/media-library/media-library.strings.d.ts +2 -0
  146. package/dist/components/features/rich-text-editor/index.d.ts +1 -1
  147. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +6 -0
  148. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +9 -1
  149. package/dist/components/features/table/table-header.d.ts +1 -1
  150. package/dist/components/features/table/table.strings.d.ts +55 -1
  151. package/dist/components/features/table/table.types.d.ts +17 -4
  152. package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +5 -0
  153. package/dist/components/primitives/number.d.ts +4 -2
  154. package/dist/components/primitives/value.d.ts +3 -1
  155. package/dist/components/typography/text-link.d.ts +4 -0
  156. package/dist/components/ui/combobox-dismiss.d.ts +16 -0
  157. package/dist/components/ui/combobox.d.ts +16 -7
  158. package/dist/components/ui/dialog.d.ts +1 -1
  159. package/dist/components/ui/item.d.ts +8 -8
  160. package/dist/components/ui/popover.d.ts +1 -1
  161. package/dist/components/ui/sheet.d.ts +1 -1
  162. package/dist/components/ui/tabs.d.ts +1 -1
  163. package/dist/{containers-DmWiJa2I.js → containers-Mu1LMGV1.js} +2 -2
  164. package/dist/{containers-DmWiJa2I.js.map → containers-Mu1LMGV1.js.map} +1 -1
  165. package/dist/{copyable-B3Gwgdqc.js → copyable-ClBuk_UK.js} +4 -4
  166. package/dist/{copyable-B3Gwgdqc.js.map → copyable-ClBuk_UK.js.map} +1 -1
  167. package/dist/{data-display-DafIvCl5.js → data-display-DT_khPl_.js} +98 -87
  168. package/dist/data-display-DT_khPl_.js.map +1 -0
  169. package/dist/{date-BgK3bTdo.js → date-DCrsDTZc.js} +5 -5
  170. package/dist/{date-BgK3bTdo.js.map → date-DCrsDTZc.js.map} +1 -1
  171. package/dist/{date-picker-CF-DtUpF.js → date-picker-B2K3ucWn.js} +594 -593
  172. package/dist/date-picker-B2K3ucWn.js.map +1 -0
  173. package/dist/date-pickers-Ds8gLaoP.js +175 -0
  174. package/dist/date-pickers-Ds8gLaoP.js.map +1 -0
  175. package/dist/{display-DsQTVzMz.js → display-hAc1HjpI.js} +49 -49
  176. package/dist/display-hAc1HjpI.js.map +1 -0
  177. package/dist/dropdown-menu-Cl4X7L5S.js +193 -0
  178. package/dist/dropdown-menu-Cl4X7L5S.js.map +1 -0
  179. package/dist/editable-text-recipe-Cn61kEcv.js +10 -0
  180. package/dist/editable-text-recipe-Cn61kEcv.js.map +1 -0
  181. package/dist/features/activities.js +398 -375
  182. package/dist/features/activities.js.map +1 -1
  183. package/dist/features/ai-chat.js +188 -179
  184. package/dist/features/ai-chat.js.map +1 -1
  185. package/dist/features/appointment-calendar.js +683 -0
  186. package/dist/features/appointment-calendar.js.map +1 -0
  187. package/dist/features/async-preview.js +109 -107
  188. package/dist/features/async-preview.js.map +1 -1
  189. package/dist/features/combobox.js +1 -1
  190. package/dist/features/comments.js +1 -1
  191. package/dist/features/data-view.js +137 -137
  192. package/dist/features/data-view.js.map +1 -1
  193. package/dist/features/email-composer.js +255 -255
  194. package/dist/features/email-composer.js.map +1 -1
  195. package/dist/features/event-calendar.js +254 -248
  196. package/dist/features/event-calendar.js.map +1 -1
  197. package/dist/features/filters.js +1 -1
  198. package/dist/features/global-search.js +35 -32
  199. package/dist/features/global-search.js.map +1 -1
  200. package/dist/features/kanban.js +118 -117
  201. package/dist/features/kanban.js.map +1 -1
  202. package/dist/features/map.js +233 -231
  203. package/dist/features/map.js.map +1 -1
  204. package/dist/features/media-library.js +789 -775
  205. package/dist/features/media-library.js.map +1 -1
  206. package/dist/features/mentions.js +1 -1
  207. package/dist/features/overlays.js +1 -1
  208. package/dist/features/products.js +922 -902
  209. package/dist/features/products.js.map +1 -1
  210. package/dist/features/questionnaire.js +28 -24
  211. package/dist/features/questionnaire.js.map +1 -1
  212. package/dist/features/resource-assignment.js +18 -15
  213. package/dist/features/resource-assignment.js.map +1 -1
  214. package/dist/features/resource.js +12 -12
  215. package/dist/features/resource.js.map +1 -1
  216. package/dist/features/rich-text-editor.js +2 -2
  217. package/dist/features/schema-form.js +15 -13
  218. package/dist/features/schema-form.js.map +1 -1
  219. package/dist/features/suggestions.js +3 -3
  220. package/dist/features/sync.js +11 -5
  221. package/dist/features/sync.js.map +1 -1
  222. package/dist/features/table.js +1 -1
  223. package/dist/features/theme-tweaker.js +493 -489
  224. package/dist/features/theme-tweaker.js.map +1 -1
  225. package/dist/feedback-BYIhtitP.js +239 -0
  226. package/dist/feedback-BYIhtitP.js.map +1 -0
  227. package/dist/{field-affordance-recipes-qQeIf4lG.js → field-affordance-recipes-DZhnIL_Y.js} +11 -18
  228. package/dist/field-affordance-recipes-DZhnIL_Y.js.map +1 -0
  229. package/dist/{filters-BkHH53uv.js → filters-DJVAveHA.js} +589 -580
  230. package/dist/filters-DJVAveHA.js.map +1 -0
  231. package/dist/{form-field-DUt4UxSV.js → form-field-CwH9y77i.js} +6 -5
  232. package/dist/form-field-CwH9y77i.js.map +1 -0
  233. package/dist/{form-sizing-By94KzXE.js → form-sizing-BdP_Mf5p.js} +39 -44
  234. package/dist/form-sizing-BdP_Mf5p.js.map +1 -0
  235. package/dist/{forms-Bzha-Y3B.js → forms-B9G_xwzi.js} +8 -8
  236. package/dist/{forms-Bzha-Y3B.js.map → forms-B9G_xwzi.js.map} +1 -1
  237. package/dist/{forms-numeric-C0bvjRPZ.js → forms-numeric-B_jraJaQ.js} +309 -309
  238. package/dist/forms-numeric-B_jraJaQ.js.map +1 -0
  239. package/dist/{header-BOefOKd1.js → header-BSfIEWbI.js} +160 -153
  240. package/dist/header-BSfIEWbI.js.map +1 -0
  241. package/dist/{hooks-9k_TtmKh.js → hooks-ClH9thn4.js} +2 -2
  242. package/dist/{hooks-9k_TtmKh.js.map → hooks-ClH9thn4.js.map} +1 -1
  243. package/dist/{icon-badge-CAuKupo9.js → icon-badge-DYKIwvOV.js} +4 -4
  244. package/dist/{icon-badge-CAuKupo9.js.map → icon-badge-DYKIwvOV.js.map} +1 -1
  245. package/dist/index.js +3 -3
  246. package/dist/input-CZw8iU99.js +21 -0
  247. package/dist/input-CZw8iU99.js.map +1 -0
  248. package/dist/input-DQdEd0YD.js +263 -0
  249. package/dist/input-DQdEd0YD.js.map +1 -0
  250. package/dist/{interaction-recipes-CHr0dJUs.js → interaction-recipes-XR9ZpVYL.js} +2 -1
  251. package/dist/interaction-recipes-XR9ZpVYL.js.map +1 -0
  252. package/dist/item-K5_ghvze.js +275 -0
  253. package/dist/item-K5_ghvze.js.map +1 -0
  254. package/dist/layout/app-shell.js +1 -1
  255. package/dist/layout/auth.js +1 -1
  256. package/dist/layout/containers.js +1 -1
  257. package/dist/layout/header.js +1 -1
  258. package/dist/layout/hooks.js +1 -1
  259. package/dist/layout/navigation.js +1 -1
  260. package/dist/layout/page.js +1 -1
  261. package/dist/layout/settings.js +1 -1
  262. package/dist/layout/sidebar.js +2 -2
  263. package/dist/layout/workspace.js +1 -1
  264. package/dist/layout.js +10 -10
  265. package/dist/lib/affordance-geometry.generated.d.ts +71 -0
  266. package/dist/lib/editable-text-recipe.d.ts +4 -4
  267. package/dist/lib/field-affordance-recipes.d.ts +2 -2
  268. package/dist/lib/interaction-recipes.d.ts +5 -0
  269. package/dist/lib/theme-mode-css.d.ts +7 -0
  270. package/dist/lib/tone-recipes.d.ts +8 -0
  271. package/dist/lib/ui-provider/types.d.ts +2 -2
  272. package/dist/lib/use-popup-focus-recovery.d.ts +8 -0
  273. package/dist/lib/utils.js +1 -1
  274. package/dist/{media-gallery-DcTtAaeC.js → media-gallery-3zIVLMWH.js} +8 -8
  275. package/dist/media-gallery-3zIVLMWH.js.map +1 -0
  276. package/dist/{mentions-D-uyCh01.js → mentions-CGlEJ15c.js} +144 -142
  277. package/dist/mentions-CGlEJ15c.js.map +1 -0
  278. package/dist/{message-CdHgIWKf.js → message-DZ_ruyUV.js} +6 -5
  279. package/dist/message-DZ_ruyUV.js.map +1 -0
  280. package/dist/{metadata-list-X5rYAKSB.js → metadata-list-8N16ZMW_.js} +130 -119
  281. package/dist/metadata-list-8N16ZMW_.js.map +1 -0
  282. package/dist/{navigation-D3KwXmaq.js → navigation-Bnotn4AQ.js} +19 -19
  283. package/dist/navigation-Bnotn4AQ.js.map +1 -0
  284. package/dist/{navigation-HJf5zxlH.js → navigation-BzhHI3lo.js} +36 -35
  285. package/dist/navigation-BzhHI3lo.js.map +1 -0
  286. package/dist/{navigation-row-recipes-BVowojQw.js → navigation-row-recipes-BFLCk_Aq.js} +2 -2
  287. package/dist/{navigation-row-recipes-BVowojQw.js.map → navigation-row-recipes-BFLCk_Aq.js.map} +1 -1
  288. package/dist/{number-DMhe-Vsk.js → number-DbV1Dija.js} +36 -34
  289. package/dist/{number-DMhe-Vsk.js.map → number-DbV1Dija.js.map} +1 -1
  290. package/dist/{overflow-tab-bar-sQHXLlwQ.js → overflow-tab-bar-CWY7Nogn.js} +105 -103
  291. package/dist/overflow-tab-bar-CWY7Nogn.js.map +1 -0
  292. package/dist/{overlays-I0axtYA6.js → overlays-tMkF-VAN.js} +282 -278
  293. package/dist/overlays-tMkF-VAN.js.map +1 -0
  294. package/dist/{page-B5dTH9gE.js → page-CL9YeH_V.js} +8 -8
  295. package/dist/{page-B5dTH9gE.js.map → page-CL9YeH_V.js.map} +1 -1
  296. package/dist/{page-header-commands-DjzFEq3E.js → page-header-commands-DOb6WsfD.js} +5 -5
  297. package/dist/{page-header-commands-DjzFEq3E.js.map → page-header-commands-DOb6WsfD.js.map} +1 -1
  298. package/dist/pagination-BL25hu2s.js +158 -0
  299. package/dist/pagination-BL25hu2s.js.map +1 -0
  300. package/dist/{popover-Di55PyAI.js → popover-gnTOhbFM.js} +69 -66
  301. package/dist/popover-gnTOhbFM.js.map +1 -0
  302. package/dist/popover-menu-Cn9rUkdc.js +100 -0
  303. package/dist/popover-menu-Cn9rUkdc.js.map +1 -0
  304. package/dist/{popover.recipes-Bdyhj2db.js → popover.recipes-D3j8R8Yp.js} +17 -10
  305. package/dist/popover.recipes-D3j8R8Yp.js.map +1 -0
  306. package/dist/{primitives-B-CkiEMU.js → primitives-BFK08r9M.js} +45 -44
  307. package/dist/primitives-BFK08r9M.js.map +1 -0
  308. package/dist/primitives.js +4 -4
  309. package/dist/{progress-rnS8-uAW.js → progress-B1VnCT0K.js} +5 -5
  310. package/dist/{progress-rnS8-uAW.js.map → progress-B1VnCT0K.js.map} +1 -1
  311. package/dist/{receipt-D0oswZ0p.js → receipt-BVSOH3Xo.js} +9 -6
  312. package/dist/{receipt-D0oswZ0p.js.map → receipt-BVSOH3Xo.js.map} +1 -1
  313. package/dist/{rich-text-DvGulsNJ.js → rich-text-GOUyKQ-s.js} +3 -3
  314. package/dist/{rich-text-DvGulsNJ.js.map → rich-text-GOUyKQ-s.js.map} +1 -1
  315. package/dist/{rich-text-editor-sMU_Scqm.js → rich-text-editor-cRLC-eBK.js} +418 -426
  316. package/dist/rich-text-editor-cRLC-eBK.js.map +1 -0
  317. package/dist/rich-text-editor-toolbar-DfXg0-VC.js +94 -0
  318. package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +1 -0
  319. package/dist/{scroll-area-Bt_vXY2b.js → scroll-area-DcI-M1UT.js} +2 -2
  320. package/dist/{scroll-area-Bt_vXY2b.js.map → scroll-area-DcI-M1UT.js.map} +1 -1
  321. package/dist/{separator-C8DlRGwF.js → separator-BDV-Y648.js} +3 -3
  322. package/dist/{separator-C8DlRGwF.js.map → separator-BDV-Y648.js.map} +1 -1
  323. package/dist/{separator-CYHnjsAb.js → separator-Bom7NsGO.js} +2 -2
  324. package/dist/{separator-CYHnjsAb.js.map → separator-Bom7NsGO.js.map} +1 -1
  325. package/dist/services/actions.js +1 -1
  326. package/dist/{settings-CQW3b-Cu.js → settings-ybnjVwbd.js} +20 -19
  327. package/dist/settings-ybnjVwbd.js.map +1 -0
  328. package/dist/{sheet-4SEvVYzA.js → sheet-ijlsjq-n.js} +76 -73
  329. package/dist/sheet-ijlsjq-n.js.map +1 -0
  330. package/dist/{sidebar-C7WWR29L.js → sidebar-Db6gkh3U.js} +183 -182
  331. package/dist/sidebar-Db6gkh3U.js.map +1 -0
  332. package/dist/{sidebar-d7Dg80ln.js → sidebar-DkTO4VTO.js} +14 -13
  333. package/dist/{sidebar-d7Dg80ln.js.map → sidebar-DkTO4VTO.js.map} +1 -1
  334. package/dist/{skeleton-Cz890JZF.js → skeleton-Byjnt7qr.js} +3 -3
  335. package/dist/{skeleton-Cz890JZF.js.map → skeleton-Byjnt7qr.js.map} +1 -1
  336. package/dist/smart-card-DiC5aac3.js +604 -0
  337. package/dist/smart-card-DiC5aac3.js.map +1 -0
  338. package/dist/{structure-DC2dygdA.js → structure-BmisBK-3.js} +2 -2
  339. package/dist/{structure-DC2dygdA.js.map → structure-BmisBK-3.js.map} +1 -1
  340. package/dist/style.css +1 -1
  341. package/dist/table-BweFy_P9.js +1530 -0
  342. package/dist/table-BweFy_P9.js.map +1 -0
  343. package/dist/{table-CIKyLUsy.js → table-DsfzoUia.js} +75 -63
  344. package/dist/table-DsfzoUia.js.map +1 -0
  345. package/dist/{tabs-DwBJfjxX.js → tabs-CDocW5D1.js} +14 -13
  346. package/dist/tabs-CDocW5D1.js.map +1 -0
  347. package/dist/text-inputs-f9Ia-aCi.js +353 -0
  348. package/dist/text-inputs-f9Ia-aCi.js.map +1 -0
  349. package/dist/theme-mode-css-BB-_RYab.js +14 -0
  350. package/dist/theme-mode-css-BB-_RYab.js.map +1 -0
  351. package/dist/theme-scope-BJ6eE2xt.js +50 -0
  352. package/dist/theme-scope-BJ6eE2xt.js.map +1 -0
  353. package/dist/theme.css +285 -228
  354. package/dist/themes/green.css +16 -12
  355. package/dist/timelines-CwM_9IhD.js +457 -0
  356. package/dist/timelines-CwM_9IhD.js.map +1 -0
  357. package/dist/{tone-recipes-CPoExcTE.js → tone-recipes-BPsRAvhu.js} +5 -2
  358. package/dist/tone-recipes-BPsRAvhu.js.map +1 -0
  359. package/dist/{tooltip-CsfgrfS7.js → tooltip-yiRJUFjp.js} +4 -4
  360. package/dist/{tooltip-CsfgrfS7.js.map → tooltip-yiRJUFjp.js.map} +1 -1
  361. package/dist/{tree-BiKhg8AY.js → tree-WnKQzwbq.js} +9 -9
  362. package/dist/{tree-BiKhg8AY.js.map → tree-WnKQzwbq.js.map} +1 -1
  363. package/dist/typography/rich-text.js +1 -1
  364. package/dist/{typography-DTRkE9zL.js → typography-UTnveOEy.js} +6 -6
  365. package/dist/typography-UTnveOEy.js.map +1 -0
  366. package/dist/typography.js +2 -2
  367. package/dist/{ui-provider-1D_NSYzO.js → ui-provider-C_U0Xma4.js} +3 -3
  368. package/dist/ui-provider-C_U0Xma4.js.map +1 -0
  369. package/dist/ui-provider.js +2 -2
  370. package/dist/{upload-BO8-CLN6.js → upload-CXyxmQBP.js} +13 -12
  371. package/dist/upload-CXyxmQBP.js.map +1 -0
  372. package/dist/{upload-queue-EOC8g1gf.js → upload-queue-Boscubn9.js} +11 -9
  373. package/dist/upload-queue-Boscubn9.js.map +1 -0
  374. package/dist/{usage-card-obRaBskq.js → usage-card-BhO5eqkX.js} +53 -37
  375. package/dist/usage-card-BhO5eqkX.js.map +1 -0
  376. package/dist/use-popup-focus-recovery-C0QPvgOR.js +36 -0
  377. package/dist/use-popup-focus-recovery-C0QPvgOR.js.map +1 -0
  378. package/dist/{utils-l5LpDw2z.js → utils-BRhFDwuU.js} +59 -44
  379. package/dist/utils-BRhFDwuU.js.map +1 -0
  380. package/dist/{value-inputs-TAYMX111.js → value-inputs-TaX4OjNk.js} +268 -252
  381. package/dist/value-inputs-TaX4OjNk.js.map +1 -0
  382. package/dist/{value-typography-b8wpz1eX.js → value-typography-BP8OG6h5.js} +2 -2
  383. package/dist/{value-typography-b8wpz1eX.js.map → value-typography-BP8OG6h5.js.map} +1 -1
  384. package/dist/{workspace-DH0v0KcB.js → workspace-B-OEm3Kf.js} +34 -33
  385. package/dist/workspace-B-OEm3Kf.js.map +1 -0
  386. package/docs/consumer-skill/SKILL.md +3 -3
  387. package/docs/consumer-skill/references/agents-md.md +1 -1
  388. package/docs/consumer-skill/references/composition.md +8 -6
  389. package/docs/consumer-skill/references/installation.md +6 -0
  390. package/docs/consumer-skill/references/integration.md +4 -3
  391. package/docs/consumer-skill/references/public-api.json +105 -2
  392. package/docs/consumer-skill/references/review.md +7 -0
  393. package/docs/consumer-skill/references/theming.md +71 -6
  394. package/docs/consumer-skill/references/tokens.json +1 -1
  395. package/docs/consumer-skill/references/workflows.md +26 -0
  396. package/docs/consumer-skill/scripts/composition-policy.mjs +3 -2
  397. package/docs/consumer-skill/scripts/surface-policy.mjs +11 -0
  398. package/package.json +8 -4
  399. package/dist/accordion-B6a3vVgA.js.map +0 -1
  400. package/dist/action-menu-TzCoSlwL.js +0 -280
  401. package/dist/action-menu-TzCoSlwL.js.map +0 -1
  402. package/dist/affordance-geometry.generated-B5iu-Mkr.js +0 -69
  403. package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +0 -1
  404. package/dist/ai-artifact-BMJdv-6q.js +0 -1115
  405. package/dist/ai-artifact-BMJdv-6q.js.map +0 -1
  406. package/dist/attachment-BtfhGm8i.js +0 -245
  407. package/dist/attachment-BtfhGm8i.js.map +0 -1
  408. package/dist/auth-CYxKfo69.js.map +0 -1
  409. package/dist/avatar-BBnEJIx8.js.map +0 -1
  410. package/dist/badge-MrKVNzW9.js.map +0 -1
  411. package/dist/batch-action-bar-BZGDG-Si.js.map +0 -1
  412. package/dist/breadcrumbs-D5t7I023.js.map +0 -1
  413. package/dist/buttons-SbIcm1HJ.js.map +0 -1
  414. package/dist/cards-CiiHpKYd.js +0 -66
  415. package/dist/cards-CiiHpKYd.js.map +0 -1
  416. package/dist/chart-QfrARkXl.js.map +0 -1
  417. package/dist/choice-inputs-t6w3ATNz.js.map +0 -1
  418. package/dist/code-block-Dgbu-CU3.js.map +0 -1
  419. package/dist/combobox-2Ic8N9bL.js +0 -278
  420. package/dist/combobox-2Ic8N9bL.js.map +0 -1
  421. package/dist/combobox-DLl0bfiq.js.map +0 -1
  422. package/dist/comments-BpDuCUUu.js.map +0 -1
  423. package/dist/data-display-DafIvCl5.js.map +0 -1
  424. package/dist/date-picker-CF-DtUpF.js.map +0 -1
  425. package/dist/date-pickers-BmzxJl5l.js +0 -174
  426. package/dist/date-pickers-BmzxJl5l.js.map +0 -1
  427. package/dist/display-DsQTVzMz.js.map +0 -1
  428. package/dist/dropdown-menu-E2qmdC7o.js +0 -193
  429. package/dist/dropdown-menu-E2qmdC7o.js.map +0 -1
  430. package/dist/editable-text-recipe-Bkm6wKHp.js +0 -10
  431. package/dist/editable-text-recipe-Bkm6wKHp.js.map +0 -1
  432. package/dist/feedback-qNuMBtRH.js +0 -233
  433. package/dist/feedback-qNuMBtRH.js.map +0 -1
  434. package/dist/field-affordance-recipes-qQeIf4lG.js.map +0 -1
  435. package/dist/filters-BkHH53uv.js.map +0 -1
  436. package/dist/form-field-DUt4UxSV.js.map +0 -1
  437. package/dist/form-sizing-By94KzXE.js.map +0 -1
  438. package/dist/forms-numeric-C0bvjRPZ.js.map +0 -1
  439. package/dist/header-BOefOKd1.js.map +0 -1
  440. package/dist/input-DWhBBBww.js +0 -262
  441. package/dist/input-DWhBBBww.js.map +0 -1
  442. package/dist/input-Ddi_LSYv.js +0 -20
  443. package/dist/input-Ddi_LSYv.js.map +0 -1
  444. package/dist/interaction-recipes-CHr0dJUs.js.map +0 -1
  445. package/dist/item-DEmDiTlD.js +0 -265
  446. package/dist/item-DEmDiTlD.js.map +0 -1
  447. package/dist/media-gallery-DcTtAaeC.js.map +0 -1
  448. package/dist/mentions-D-uyCh01.js.map +0 -1
  449. package/dist/message-CdHgIWKf.js.map +0 -1
  450. package/dist/metadata-list-X5rYAKSB.js.map +0 -1
  451. package/dist/navigation-D3KwXmaq.js.map +0 -1
  452. package/dist/navigation-HJf5zxlH.js.map +0 -1
  453. package/dist/overflow-tab-bar-sQHXLlwQ.js.map +0 -1
  454. package/dist/overlays-I0axtYA6.js.map +0 -1
  455. package/dist/pagination-3bPA_a6K.js +0 -149
  456. package/dist/pagination-3bPA_a6K.js.map +0 -1
  457. package/dist/popover-Di55PyAI.js.map +0 -1
  458. package/dist/popover-menu-B71Tn2Qz.js +0 -99
  459. package/dist/popover-menu-B71Tn2Qz.js.map +0 -1
  460. package/dist/popover.recipes-Bdyhj2db.js.map +0 -1
  461. package/dist/primitives-B-CkiEMU.js.map +0 -1
  462. package/dist/rich-text-editor-sMU_Scqm.js.map +0 -1
  463. package/dist/rich-text-editor.recipes-CadiF_Uu.js +0 -88
  464. package/dist/rich-text-editor.recipes-CadiF_Uu.js.map +0 -1
  465. package/dist/settings-CQW3b-Cu.js.map +0 -1
  466. package/dist/sheet-4SEvVYzA.js.map +0 -1
  467. package/dist/sidebar-C7WWR29L.js.map +0 -1
  468. package/dist/smart-card-lFKxn5Hu.js +0 -595
  469. package/dist/smart-card-lFKxn5Hu.js.map +0 -1
  470. package/dist/spinner-fa3h1Aif.js +0 -80
  471. package/dist/spinner-fa3h1Aif.js.map +0 -1
  472. package/dist/table-CIKyLUsy.js.map +0 -1
  473. package/dist/table-CrcLN9Io.js +0 -1458
  474. package/dist/table-CrcLN9Io.js.map +0 -1
  475. package/dist/tabs-DwBJfjxX.js.map +0 -1
  476. package/dist/text-inputs-aaK9wcDT.js +0 -326
  477. package/dist/text-inputs-aaK9wcDT.js.map +0 -1
  478. package/dist/theme-scope-kStaAer0.js +0 -39
  479. package/dist/theme-scope-kStaAer0.js.map +0 -1
  480. package/dist/timelines-C_SBwHNP.js +0 -442
  481. package/dist/timelines-C_SBwHNP.js.map +0 -1
  482. package/dist/tone-recipes-CPoExcTE.js.map +0 -1
  483. package/dist/typography-DTRkE9zL.js.map +0 -1
  484. package/dist/ui-provider-1D_NSYzO.js.map +0 -1
  485. package/dist/upload-BO8-CLN6.js.map +0 -1
  486. package/dist/upload-queue-EOC8g1gf.js.map +0 -1
  487. package/dist/usage-card-obRaBskq.js.map +0 -1
  488. package/dist/utils-l5LpDw2z.js.map +0 -1
  489. package/dist/value-inputs-TAYMX111.js.map +0 -1
  490. package/dist/workspace-DH0v0KcB.js.map +0 -1
@@ -1,17 +1,18 @@
1
1
  "use client";
2
2
  import { useStrings as e } from "../lib/strings.js";
3
- import { t } from "../utils-l5LpDw2z.js";
4
- import { n } from "../buttons-SbIcm1HJ.js";
5
- import { s as r } from "../typography-DTRkE9zL.js";
6
- import { r as i } from "../tone-recipes-CPoExcTE.js";
7
- import { n as a } from "../action-menu-TzCoSlwL.js";
8
- import { createContext as o, forwardRef as s, useCallback as c, useContext as l, useEffect as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
9
- import { jsx as h, jsxs as g } from "react/jsx-runtime";
10
- import { DndContext as _, DragOverlay as v, KeyboardSensor as y, PointerSensor as b, useDroppable as x, useSensor as S, useSensors as C } from "@dnd-kit/core";
11
- import { SortableContext as w, useSortable as T, verticalListSortingStrategy as E } from "@dnd-kit/sortable";
12
- import { CSS as D } from "@dnd-kit/utilities";
3
+ import { t } from "../utils-BRhFDwuU.js";
4
+ import { n } from "../buttons-DPZekJFu.js";
5
+ import { c as r } from "../typography-UTnveOEy.js";
6
+ import { i } from "../tone-recipes-BPsRAvhu.js";
7
+ import { i as a } from "../popover.recipes-D3j8R8Yp.js";
8
+ import { n as o } from "../action-menu-CllU52Mm.js";
9
+ import { createContext as s, forwardRef as c, useCallback as l, useContext as u, useEffect as d, useLayoutEffect as f, useMemo as p, useRef as m, useState as h } from "react";
10
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
11
+ import { DndContext as v, DragOverlay as y, KeyboardSensor as b, PointerSensor as x, useDroppable as S, useSensor as C, useSensors as w } from "@dnd-kit/core";
12
+ import { SortableContext as T, useSortable as E, verticalListSortingStrategy as D } from "@dnd-kit/sortable";
13
+ import { CSS as O } from "@dnd-kit/utilities";
13
14
  //#region src/components/features/kanban/kanban-keyboard.ts
14
- function O(e, t, n) {
15
+ function k(e, t, n) {
15
16
  let r = Object.keys(e), i = r.indexOf(t.columnId);
16
17
  if (n === "ArrowLeft" || n === "ArrowRight") {
17
18
  let a = r[i + (n === "ArrowRight" ? 1 : -1)];
@@ -25,7 +26,7 @@ function O(e, t, n) {
25
26
  index: Math.max(0, Math.min(e[t.columnId].length - 1, t.index + (n === "ArrowDown" ? 1 : -1)))
26
27
  } : t;
27
28
  }
28
- function k(e, t, n, r, i) {
29
+ function A(e, t, n, r, i) {
29
30
  return (a, { currentCoordinates: o, context: s }) => {
30
31
  if (![
31
32
  "ArrowUp",
@@ -38,7 +39,7 @@ function k(e, t, n, r, i) {
38
39
  let l = r.current ?? n(String(c.id));
39
40
  if (!l) return;
40
41
  a.preventDefault();
41
- let u = O(e, l, a.code);
42
+ let u = k(e, l, a.code);
42
43
  r.current = u, i?.(u);
43
44
  let d = e[u.columnId][u.index], f = d === void 0 ? u.columnId : t(d), p = s.droppableRects.get(f), m = s.collisionRect;
44
45
  return !p || !m ? o : {
@@ -49,8 +50,8 @@ function k(e, t, n, r, i) {
49
50
  }
50
51
  //#endregion
51
52
  //#region src/components/features/kanban/hooks/use-kanban.ts
52
- function A({ value: e, onValueChange: t, getItemValue: n, onItemMove: r }) {
53
- let i = c((t) => {
53
+ function j({ value: e, onValueChange: t, getItemValue: n, onItemMove: r }) {
54
+ let i = l((t) => {
54
55
  for (let [r, i] of Object.entries(e)) {
55
56
  let e = i.findIndex((e) => n(e) === t);
56
57
  if (e >= 0) return {
@@ -59,7 +60,7 @@ function A({ value: e, onValueChange: t, getItemValue: n, onItemMove: r }) {
59
60
  item: i[e]
60
61
  };
61
62
  }
62
- }, [e, n]), a = c(({ itemId: n, toColumnId: a, toIndex: o }) => {
63
+ }, [e, n]), a = l(({ itemId: n, toColumnId: a, toIndex: o }) => {
63
64
  let s = i(n);
64
65
  if (!s || !Object.prototype.hasOwnProperty.call(e, a)) return;
65
66
  let { columnId: c, index: l, item: u } = s, d = e[a], f = o === void 0 ? d.length : Math.max(0, Math.min(o, d.length));
@@ -85,28 +86,28 @@ function A({ value: e, onValueChange: t, getItemValue: n, onItemMove: r }) {
85
86
  t,
86
87
  r
87
88
  ]);
88
- return f(() => ({
89
+ return p(() => ({
89
90
  findItem: i,
90
91
  move: a
91
92
  }), [i, a]);
92
93
  }
93
94
  //#endregion
94
95
  //#region src/components/features/kanban/kanban-context.tsx
95
- var j = o(null), M = j.Provider;
96
- function N() {
97
- let e = l(j);
96
+ var M = s(null), N = M.Provider;
97
+ function P() {
98
+ let e = u(M);
98
99
  if (!e) throw Error("Kanban subcomponents must be rendered inside a <Kanban> root.");
99
100
  return e;
100
101
  }
101
- var P = o(null), F = P.Provider;
102
- function I() {
103
- let e = l(P);
102
+ var F = s(null), I = F.Provider;
103
+ function L() {
104
+ let e = u(F);
104
105
  if (!e) throw Error("<KanbanItemHandle> / <KanbanItemActions> must be rendered inside a <KanbanItem>.");
105
106
  return e;
106
107
  }
107
108
  //#endregion
108
109
  //#region src/components/features/kanban/kanban.strings.ts
109
- var L = {
110
+ var R = {
110
111
  announceDragStart: "Picked up item {name}.",
111
112
  announceDragMove: "Moving {name} from {from} to {to}, position {position}.",
112
113
  announceDragEnd: "Dropped {name} into {to}, position {position}.",
@@ -115,38 +116,38 @@ var L = {
115
116
  boardAria: "Kanban board",
116
117
  itemActionsAria: "Item actions"
117
118
  };
118
- function R(e, t) {
119
+ function z(e, t) {
119
120
  return Object.entries(t).reduce((e, [t, n]) => e.replace(RegExp(`\\{${t}\\}`, "g"), n), e);
120
121
  }
121
122
  //#endregion
122
123
  //#region src/components/features/kanban/kanban.tsx
123
- function z({ value: n, onValueChange: i, getItemValue: a, getItemLabel: o, getColumnLabel: s, onItemMove: l, itemActions: u, onItemClick: v, strings: x, className: w, children: T }) {
124
- let E = e(L, x), { findItem: D, move: O } = A({
124
+ function B({ value: n, onValueChange: i, getItemValue: a, getItemLabel: o, getColumnLabel: s, onItemMove: c, itemActions: u, onItemClick: d, strings: y, className: S, children: T }) {
125
+ let E = e(R, y), { findItem: D, move: O } = j({
125
126
  value: n,
126
127
  onValueChange: i,
127
128
  getItemValue: a,
128
- onItemMove: l
129
- }), [j, N] = m(null), P = p(null), F = p(null);
130
- d(() => {
131
- if (j || !F.current) return;
129
+ onItemMove: c
130
+ }), [k, M] = h(null), P = m(null), F = m(null);
131
+ f(() => {
132
+ if (k || !F.current) return;
132
133
  let e = Array.from(P.current?.querySelectorAll("[data-kanban-item-id]") ?? []).find((e) => e.dataset.kanbanItemId === F.current), t = e?.querySelector("[data-slot=\"kanban-item-handle\"]") ?? e;
133
134
  t && (t.focus(), F.current = null);
134
- }, [j, n]);
135
- let I = p(null), z = p(null), [B, V] = m(null), H = p(null), U = f(() => k(n, a, D, H, V), [
135
+ }, [k, n]);
136
+ let I = m(null), L = m(null), [B, V] = h(null), H = m(null), U = p(() => A(n, a, D, H, V), [
136
137
  n,
137
138
  a,
138
139
  D
139
- ]), W = C(S(b, { activationConstraint: { distance: 6 } }), S(y, { coordinateGetter: U })), G = f(() => j ? D(j)?.item ?? null : null, [j, D]), K = c((e) => {
140
+ ]), W = w(C(x, { activationConstraint: { distance: 6 } }), C(b, { coordinateGetter: U })), G = p(() => k ? D(k)?.item ?? null : null, [k, D]), K = l((e) => {
140
141
  let t = D(String(e.active.id));
141
142
  I.current = t ? {
142
143
  columnId: t.columnId,
143
144
  index: t.index,
144
145
  name: o?.(t.item) ?? String(e.active.id)
145
- } : null, z.current = null, V(null), H.current = null, F.current = e.activatorEvent instanceof KeyboardEvent ? String(e.active.id) : null, N(String(e.active.id));
146
- }, [D, o]), q = c((e) => {
147
- N(null), V(null);
146
+ } : null, L.current = null, V(null), H.current = null, F.current = e.activatorEvent instanceof KeyboardEvent ? String(e.active.id) : null, M(String(e.active.id));
147
+ }, [D, o]), q = l((e) => {
148
+ M(null), V(null);
148
149
  let { active: t, over: r } = e, i = H.current;
149
- if (z.current = i, H.current = null, i) {
150
+ if (L.current = i, H.current = null, i) {
150
151
  let e = D(String(t.id)), n = e?.columnId === i.columnId && e.index < i.index ? i.index + 1 : i.index;
151
152
  O({
152
153
  itemId: String(t.id),
@@ -169,26 +170,26 @@ function z({ value: n, onValueChange: i, getItemValue: a, getItemLabel: o, getCo
169
170
  O,
170
171
  n,
171
172
  D
172
- ]), J = f(() => ({
173
+ ]), J = p(() => ({
173
174
  value: n,
174
175
  onValueChange: i,
175
176
  getItemValue: a,
176
- activeId: j,
177
+ activeId: k,
177
178
  activeItem: G,
178
179
  findItem: D,
179
180
  itemActions: u,
180
- onItemClick: v
181
+ onItemClick: d
181
182
  }), [
182
183
  n,
183
184
  i,
184
185
  a,
185
- j,
186
+ k,
186
187
  G,
187
188
  D,
188
189
  u,
189
- v
190
+ d
190
191
  ]), Y = (e, t) => {
191
- let r = D(e), i = I.current, a = t ? D(t) : void 0, c = H.current ?? z.current ?? a ?? (t && n[t] ? {
192
+ let r = D(e), i = I.current, a = t ? D(t) : void 0, c = H.current ?? L.current ?? a ?? (t && n[t] ? {
192
193
  columnId: t,
193
194
  index: n[t].length
194
195
  } : i), l = (e) => e ? s?.(e) ?? e : "";
@@ -199,63 +200,63 @@ function z({ value: n, onValueChange: i, getItemValue: a, getItemLabel: o, getCo
199
200
  position: String((c?.index ?? 0) + 1)
200
201
  };
201
202
  };
202
- return /* @__PURE__ */ h(M, {
203
+ return /* @__PURE__ */ g(N, {
203
204
  value: J,
204
- children: /* @__PURE__ */ h(_, {
205
+ children: /* @__PURE__ */ g(v, {
205
206
  sensors: W,
206
207
  onDragStart: K,
207
208
  onDragEnd: q,
208
209
  onDragCancel: () => {
209
- H.current = null, V(null), N(null);
210
+ H.current = null, V(null), M(null);
210
211
  },
211
212
  accessibility: { announcements: {
212
213
  onDragStart({ active: e }) {
213
- return R(E.announceDragStart, Y(String(e.id)));
214
+ return z(E.announceDragStart, Y(String(e.id)));
214
215
  },
215
216
  onDragMove({ active: e, over: t }) {
216
- if (!F.current) return R(E.announceDragMove, Y(String(e.id), t ? String(t.id) : void 0));
217
+ if (!F.current) return z(E.announceDragMove, Y(String(e.id), t ? String(t.id) : void 0));
217
218
  },
218
219
  onDragOver({ active: e, over: t }) {
219
- if (!F.current) return R(E.announceDragMove, Y(String(e.id), t ? String(t.id) : void 0));
220
+ if (!F.current) return z(E.announceDragMove, Y(String(e.id), t ? String(t.id) : void 0));
220
221
  },
221
222
  onDragEnd({ active: e, over: t }) {
222
- return R(E.announceDragEnd, Y(String(e.id), t ? String(t.id) : void 0));
223
+ return z(E.announceDragEnd, Y(String(e.id), t ? String(t.id) : void 0));
223
224
  },
224
225
  onDragCancel({ active: e }) {
225
- return R(E.announceDragCancel, Y(String(e.id)));
226
+ return z(E.announceDragCancel, Y(String(e.id)));
226
227
  }
227
228
  } },
228
- children: /* @__PURE__ */ g("div", {
229
+ children: /* @__PURE__ */ _("div", {
229
230
  ref: P,
230
231
  role: "application",
231
232
  "aria-label": E.boardAria,
232
- className: t("kanban--component", "w-full", w),
233
- children: [T, /* @__PURE__ */ h("div", {
233
+ className: t("kanban--component", "w-full", S),
234
+ children: [T, /* @__PURE__ */ g("div", {
234
235
  className: "kanban--keyboard-announcement sr-only",
235
236
  role: "status",
236
237
  "aria-live": "assertive",
237
238
  "aria-atomic": "true",
238
- children: /* @__PURE__ */ h(r, {
239
+ children: /* @__PURE__ */ g(r, {
239
240
  tag: "span",
240
- children: j && B ? R(E.announceDragMove, Y(j)) : ""
241
+ children: k && B ? z(E.announceDragMove, Y(k)) : ""
241
242
  })
242
243
  })]
243
244
  })
244
245
  })
245
246
  });
246
247
  }
247
- z.displayName = "Kanban";
248
- function B({ className: e, style: n, children: r }) {
249
- return /* @__PURE__ */ h("div", {
248
+ B.displayName = "Kanban";
249
+ function V({ className: e, style: n, children: r }) {
250
+ return /* @__PURE__ */ g("div", {
250
251
  className: t("grid w-full gap-space-lg", e),
251
252
  style: n,
252
253
  children: r
253
254
  });
254
255
  }
255
- B.displayName = "KanbanBoard";
256
- function V({ value: e, className: n, children: r }) {
257
- let { setNodeRef: i, isOver: a } = x({ id: e });
258
- return /* @__PURE__ */ h("div", {
256
+ V.displayName = "KanbanBoard";
257
+ function H({ value: e, className: n, children: r }) {
258
+ let { setNodeRef: i, isOver: a } = S({ id: e });
259
+ return /* @__PURE__ */ g("div", {
259
260
  ref: i,
260
261
  "data-slot": "kanban-column",
261
262
  "data-column-id": e,
@@ -264,22 +265,22 @@ function V({ value: e, className: n, children: r }) {
264
265
  children: r
265
266
  });
266
267
  }
267
- V.displayName = "KanbanColumn";
268
- function H({ value: e, className: n, children: r }) {
269
- let i = N(), a = (i.value[e] ?? []).map((e) => i.getItemValue(e));
270
- return /* @__PURE__ */ h(w, {
268
+ H.displayName = "KanbanColumn";
269
+ function U({ value: e, className: n, children: r }) {
270
+ let i = P(), a = (i.value[e] ?? []).map((e) => i.getItemValue(e));
271
+ return /* @__PURE__ */ g(T, {
271
272
  items: a,
272
- strategy: E,
273
- children: /* @__PURE__ */ h("div", {
273
+ strategy: D,
274
+ children: /* @__PURE__ */ g("div", {
274
275
  "data-slot": "kanban-column-content",
275
276
  className: t("flex flex-col gap-space-md", n),
276
277
  children: r
277
278
  })
278
279
  });
279
280
  }
280
- H.displayName = "KanbanColumnContent";
281
- function U({ value: e, className: n, disabled: r = !1, onClick: i, children: a }) {
282
- let o = N(), s = o.findItem(e), { attributes: l, listeners: u, setNodeRef: d, setActivatorNodeRef: p, transform: g, transition: _, isDragging: v } = T({
281
+ U.displayName = "KanbanColumnContent";
282
+ function W({ value: e, className: n, disabled: r = !1, onClick: i, children: a }) {
283
+ let o = P(), s = o.findItem(e), { attributes: c, listeners: u, setNodeRef: d, setActivatorNodeRef: f, transform: m, transition: _, isDragging: v } = E({
283
284
  id: e,
284
285
  disabled: r,
285
286
  data: {
@@ -287,66 +288,66 @@ function U({ value: e, className: n, disabled: r = !1, onClick: i, children: a }
287
288
  index: s?.index
288
289
  }
289
290
  }), y = {
290
- transform: D.Transform.toString(g),
291
+ transform: O.Transform.toString(m),
291
292
  transition: _,
292
293
  opacity: v ? .4 : void 0
293
- }, [b, x] = m(0), S = b > 0, C = c(() => (x((e) => e + 1), () => x((e) => Math.max(0, e - 1))), []), w = f(() => ({
294
+ }, [b, x] = h(0), S = b > 0, C = l(() => (x((e) => e + 1), () => x((e) => Math.max(0, e - 1))), []), w = p(() => ({
294
295
  listeners: u,
295
- attributes: l,
296
- setActivatorNodeRef: p,
296
+ attributes: c,
297
+ setActivatorNodeRef: f,
297
298
  registerHandle: C,
298
299
  itemId: e,
299
300
  item: s?.item ?? null
300
301
  }), [
301
302
  u,
302
- l,
303
- p,
303
+ c,
304
+ f,
304
305
  C,
305
306
  e,
306
307
  s?.item
307
- ]), E = o.onItemClick, O = c((e) => {
308
+ ]), T = o.onItemClick, D = l((e) => {
308
309
  if (!e.target?.closest("[data-stop-item-click]")) {
309
310
  if (i) {
310
311
  i();
311
312
  return;
312
313
  }
313
- E && s?.item !== void 0 && E(s.item);
314
+ T && s?.item !== void 0 && T(s.item);
314
315
  }
315
316
  }, [
316
317
  i,
317
- E,
318
+ T,
318
319
  s?.item
319
- ]), k = !!(i || E);
320
- return /* @__PURE__ */ h(F, {
320
+ ]), k = !!(i || T);
321
+ return /* @__PURE__ */ g(I, {
321
322
  value: w,
322
- children: /* @__PURE__ */ h("div", {
323
+ children: /* @__PURE__ */ g("div", {
323
324
  ref: d,
324
325
  style: y,
325
326
  "data-slot": "kanban-item",
326
327
  "data-kanban-item-id": e,
327
328
  "data-dragging": v ? "true" : void 0,
328
329
  className: t("touch-none select-none", k && "cursor-pointer", n),
329
- onClick: k ? O : void 0,
330
- ...S ? {} : l,
330
+ onClick: k ? D : void 0,
331
+ ...S ? {} : c,
331
332
  ...S ? {} : u,
332
333
  children: a
333
334
  })
334
335
  });
335
336
  }
336
- U.displayName = "KanbanItem";
337
- var W = s(function({ className: e, children: r }, i) {
338
- let { setActivatorNodeRef: a, listeners: o, attributes: s, registerHandle: l } = I();
339
- u(() => l(), [l]);
340
- let d = c((e) => {
337
+ W.displayName = "KanbanItem";
338
+ var G = c(function({ className: e, children: r }, i) {
339
+ let { setActivatorNodeRef: a, listeners: o, attributes: s, registerHandle: c } = L();
340
+ d(() => c(), [c]);
341
+ let u = l((e) => {
341
342
  a(e), typeof i == "function" ? i(e) : i && (i.current = e);
342
343
  }, [a, i]);
343
- return /* @__PURE__ */ h(n, {
344
+ return /* @__PURE__ */ g(n, {
344
345
  type: "button",
345
346
  tone: "secondary",
346
347
  buttonStyle: "ghost",
347
348
  size: "sm",
348
349
  iconOnly: !0,
349
- ref: d,
350
+ ref: u,
350
351
  "data-slot": "kanban-item-handle",
351
352
  "data-stop-item-click": !0,
352
353
  onClick: (e) => e.stopPropagation(),
@@ -356,58 +357,58 @@ var W = s(function({ className: e, children: r }, i) {
356
357
  children: r
357
358
  });
358
359
  });
359
- W.displayName = "KanbanItemHandle";
360
- function G({ className: t, icon: n, ariaLabel: r }) {
361
- let i = N(), o = I(), s = e(L, void 0), c = o.item, l = i.itemActions, u = f(() => !l || c == null ? [] : (typeof l == "function" ? l(c) : l).flatMap((e) => {
362
- let t = typeof e.visible == "function" ? e.visible(c) : e.visible ?? !0;
360
+ G.displayName = "KanbanItemHandle";
361
+ function K({ className: t, icon: n, ariaLabel: r }) {
362
+ let i = P(), s = L(), c = e(R, void 0), l = s.item, u = i.itemActions, d = p(() => !u || l == null ? [] : (typeof u == "function" ? u(l) : u).flatMap((e) => {
363
+ let t = typeof e.visible == "function" ? e.visible(l) : e.visible ?? !0;
363
364
  if (!t) return [];
364
- let n = typeof e.disabled == "function" ? e.disabled(c) : e.disabled ?? !1;
365
+ let n = typeof e.disabled == "function" ? e.disabled(l) : e.disabled ?? !1;
365
366
  return [{
366
367
  ...e,
367
368
  visible: t,
368
369
  disabled: n
369
370
  }];
370
- }), [l, c]);
371
- if (c === null || u.length === 0) return null;
372
- let d = u.map((e) => ({
371
+ }), [u, l]);
372
+ if (l === null || d.length === 0) return null;
373
+ let f = d.map((e) => ({
373
374
  id: e.id,
374
375
  label: e.label,
375
376
  icon: e.icon,
376
377
  disabled: e.disabled,
377
378
  tone: e.tone,
378
379
  buttonStyle: e.buttonStyle,
379
- onClick: () => e.onClick(c)
380
+ onClick: () => e.onClick(l)
380
381
  }));
381
- return /* @__PURE__ */ h("span", {
382
+ return /* @__PURE__ */ g("span", {
382
383
  className: "kanban-item-actions--component inline-flex",
383
384
  "data-stop-item-click": !0,
384
385
  onClick: (e) => e.stopPropagation(),
385
386
  onPointerDown: (e) => e.stopPropagation(),
386
- children: /* @__PURE__ */ h(a, {
387
- actions: d,
387
+ children: /* @__PURE__ */ g(o, {
388
+ actions: f,
388
389
  icon: n ?? void 0,
389
- srText: r ?? s.itemActionsAria,
390
- width: "w-44",
390
+ srText: r ?? c.itemActionsAria,
391
+ width: a.xs,
391
392
  align: "end",
392
393
  density: "table",
393
394
  buttonProps: {
394
395
  className: t,
395
396
  "data-slot": "kanban-item-actions-trigger",
396
397
  "data-stop-item-click": !0,
397
- "aria-label": r ?? s.itemActionsAria
398
+ "aria-label": r ?? c.itemActionsAria
398
399
  }
399
400
  })
400
401
  });
401
402
  }
402
- G.displayName = "KanbanItemActions";
403
- function K({ className: e, render: n }) {
404
- let { activeItem: a, activeId: o, findItem: s } = N();
405
- return /* @__PURE__ */ h(v, { children: o ? n ? n({
403
+ K.displayName = "KanbanItemActions";
404
+ function q({ className: e, render: n }) {
405
+ let { activeItem: a, activeId: o, findItem: s } = P();
406
+ return /* @__PURE__ */ g(y, { children: o ? n ? n({
406
407
  item: a,
407
408
  columnId: s(o)?.columnId ?? null
408
- }) : /* @__PURE__ */ h("div", {
409
+ }) : /* @__PURE__ */ g("div", {
409
410
  className: t("kanban-overlay--component pointer-events-none rounded-radius border-2 border-dashed p-surface shadow-lg", i.primary.edge, i.primary.wash, e),
410
- children: /* @__PURE__ */ h(r, {
411
+ children: /* @__PURE__ */ g(r, {
411
412
  tag: "span",
412
413
  size: "xs",
413
414
  weight: "medium",
@@ -416,8 +417,8 @@ function K({ className: e, render: n }) {
416
417
  })
417
418
  }) : null });
418
419
  }
419
- K.displayName = "KanbanOverlay";
420
+ q.displayName = "KanbanOverlay";
420
421
  //#endregion
421
- export { z as Kanban, B as KanbanBoard, V as KanbanColumn, H as KanbanColumnContent, U as KanbanItem, G as KanbanItemActions, W as KanbanItemHandle, K as KanbanOverlay, L as defaultKanbanStrings, R as interpolateKanbanString, A as useKanban };
422
+ export { B as Kanban, V as KanbanBoard, H as KanbanColumn, U as KanbanColumnContent, W as KanbanItem, K as KanbanItemActions, G as KanbanItemHandle, q as KanbanOverlay, R as defaultKanbanStrings, z as interpolateKanbanString, j as useKanban };
422
423
 
423
424
  //# sourceMappingURL=kanban.js.map