themelia-react-ui 2.0.1 → 2.0.2

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 (480) hide show
  1. package/CHANGELOG.md +307 -131
  2. package/README.md +28 -8
  3. package/THIRD_PARTY_NOTICES.md +13 -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-ax2BqjrI.js} +58 -54
  17. package/dist/auth-ax2BqjrI.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-C0EQW6dr.js +875 -0
  111. package/dist/combobox-C0EQW6dr.js.map +1 -0
  112. package/dist/combobox-xCQ2RMNE.js +309 -0
  113. package/dist/combobox-xCQ2RMNE.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-BYYlTA8E.js} +114 -105
  117. package/dist/comments-BYYlTA8E.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.strings.d.ts +7 -0
  125. package/dist/components/base/combobox/index.d.ts +30 -4
  126. package/dist/components/base/forms/form-sizing.d.ts +11 -3
  127. package/dist/components/base/navigation/pagination.d.ts +5 -2
  128. package/dist/components/base/popover/popover.recipes.d.ts +15 -1
  129. package/dist/components/base/table/index.d.ts +9 -2
  130. package/dist/components/base/text-inputs/input-group.d.ts +2 -2
  131. package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +1 -1
  132. package/dist/components/blocks/ai/ai-shimmer/types.d.ts +3 -0
  133. package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +3 -1
  134. package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +16 -8
  135. package/dist/components/features/activities/partials/activity-marker.d.ts +6 -3
  136. package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +5 -0
  137. package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +220 -0
  138. package/dist/components/features/appointment-calendar/appointment-calendar.utils.d.ts +41 -0
  139. package/dist/components/features/appointment-calendar/index.d.ts +3 -0
  140. package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +32 -0
  141. package/dist/components/features/appointment-calendar/partials/appointment-month.d.ts +13 -0
  142. package/dist/components/features/combobox/combobox.strings.d.ts +15 -1
  143. package/dist/components/features/combobox/types.d.ts +4 -0
  144. package/dist/components/features/media-library/media-library.strings.d.ts +2 -0
  145. package/dist/components/features/rich-text-editor/index.d.ts +1 -1
  146. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +6 -0
  147. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +9 -1
  148. package/dist/components/features/table/table-header.d.ts +1 -1
  149. package/dist/components/features/table/table.strings.d.ts +55 -1
  150. package/dist/components/features/table/table.types.d.ts +17 -4
  151. package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +5 -0
  152. package/dist/components/primitives/number.d.ts +4 -2
  153. package/dist/components/primitives/value.d.ts +3 -1
  154. package/dist/components/typography/text-link.d.ts +4 -0
  155. package/dist/components/ui/combobox.d.ts +6 -2
  156. package/dist/components/ui/item.d.ts +8 -8
  157. package/dist/components/ui/tabs.d.ts +1 -1
  158. package/dist/{containers-DmWiJa2I.js → containers-Mu1LMGV1.js} +2 -2
  159. package/dist/{containers-DmWiJa2I.js.map → containers-Mu1LMGV1.js.map} +1 -1
  160. package/dist/{copyable-B3Gwgdqc.js → copyable-ClBuk_UK.js} +4 -4
  161. package/dist/{copyable-B3Gwgdqc.js.map → copyable-ClBuk_UK.js.map} +1 -1
  162. package/dist/{data-display-DafIvCl5.js → data-display-DT_khPl_.js} +98 -87
  163. package/dist/data-display-DT_khPl_.js.map +1 -0
  164. package/dist/{date-BgK3bTdo.js → date-DCrsDTZc.js} +5 -5
  165. package/dist/{date-BgK3bTdo.js.map → date-DCrsDTZc.js.map} +1 -1
  166. package/dist/{date-picker-CF-DtUpF.js → date-picker-ay0Pha_a.js} +594 -593
  167. package/dist/date-picker-ay0Pha_a.js.map +1 -0
  168. package/dist/date-pickers-Ccw8DL2b.js +175 -0
  169. package/dist/date-pickers-Ccw8DL2b.js.map +1 -0
  170. package/dist/{display-DsQTVzMz.js → display-hAc1HjpI.js} +49 -49
  171. package/dist/display-hAc1HjpI.js.map +1 -0
  172. package/dist/dropdown-menu-Cl4X7L5S.js +193 -0
  173. package/dist/dropdown-menu-Cl4X7L5S.js.map +1 -0
  174. package/dist/editable-text-recipe-Cn61kEcv.js +10 -0
  175. package/dist/editable-text-recipe-Cn61kEcv.js.map +1 -0
  176. package/dist/features/activities.js +398 -375
  177. package/dist/features/activities.js.map +1 -1
  178. package/dist/features/ai-chat.js +188 -179
  179. package/dist/features/ai-chat.js.map +1 -1
  180. package/dist/features/appointment-calendar.js +683 -0
  181. package/dist/features/appointment-calendar.js.map +1 -0
  182. package/dist/features/async-preview.js +109 -107
  183. package/dist/features/async-preview.js.map +1 -1
  184. package/dist/features/combobox.js +1 -1
  185. package/dist/features/comments.js +1 -1
  186. package/dist/features/data-view.js +137 -137
  187. package/dist/features/data-view.js.map +1 -1
  188. package/dist/features/email-composer.js +255 -255
  189. package/dist/features/email-composer.js.map +1 -1
  190. package/dist/features/event-calendar.js +254 -248
  191. package/dist/features/event-calendar.js.map +1 -1
  192. package/dist/features/filters.js +1 -1
  193. package/dist/features/global-search.js +35 -32
  194. package/dist/features/global-search.js.map +1 -1
  195. package/dist/features/kanban.js +118 -117
  196. package/dist/features/kanban.js.map +1 -1
  197. package/dist/features/map.js +233 -231
  198. package/dist/features/map.js.map +1 -1
  199. package/dist/features/media-library.js +789 -775
  200. package/dist/features/media-library.js.map +1 -1
  201. package/dist/features/mentions.js +1 -1
  202. package/dist/features/overlays.js +1 -1
  203. package/dist/features/products.js +922 -902
  204. package/dist/features/products.js.map +1 -1
  205. package/dist/features/questionnaire.js +28 -24
  206. package/dist/features/questionnaire.js.map +1 -1
  207. package/dist/features/resource-assignment.js +18 -15
  208. package/dist/features/resource-assignment.js.map +1 -1
  209. package/dist/features/resource.js +12 -12
  210. package/dist/features/resource.js.map +1 -1
  211. package/dist/features/rich-text-editor.js +2 -2
  212. package/dist/features/schema-form.js +15 -13
  213. package/dist/features/schema-form.js.map +1 -1
  214. package/dist/features/suggestions.js +3 -3
  215. package/dist/features/sync.js +11 -5
  216. package/dist/features/sync.js.map +1 -1
  217. package/dist/features/table.js +1 -1
  218. package/dist/features/theme-tweaker.js +493 -489
  219. package/dist/features/theme-tweaker.js.map +1 -1
  220. package/dist/feedback-BYIhtitP.js +239 -0
  221. package/dist/feedback-BYIhtitP.js.map +1 -0
  222. package/dist/{field-affordance-recipes-qQeIf4lG.js → field-affordance-recipes-DZhnIL_Y.js} +11 -18
  223. package/dist/field-affordance-recipes-DZhnIL_Y.js.map +1 -0
  224. package/dist/{filters-BkHH53uv.js → filters-BGfvjP4d.js} +589 -580
  225. package/dist/filters-BGfvjP4d.js.map +1 -0
  226. package/dist/{form-field-DUt4UxSV.js → form-field-CwH9y77i.js} +6 -5
  227. package/dist/form-field-CwH9y77i.js.map +1 -0
  228. package/dist/{form-sizing-By94KzXE.js → form-sizing-BdP_Mf5p.js} +39 -44
  229. package/dist/form-sizing-BdP_Mf5p.js.map +1 -0
  230. package/dist/{forms-Bzha-Y3B.js → forms-B9G_xwzi.js} +8 -8
  231. package/dist/{forms-Bzha-Y3B.js.map → forms-B9G_xwzi.js.map} +1 -1
  232. package/dist/{forms-numeric-C0bvjRPZ.js → forms-numeric-B_jraJaQ.js} +309 -309
  233. package/dist/forms-numeric-B_jraJaQ.js.map +1 -0
  234. package/dist/{header-BOefOKd1.js → header-CGXuhcRm.js} +160 -153
  235. package/dist/header-CGXuhcRm.js.map +1 -0
  236. package/dist/{hooks-9k_TtmKh.js → hooks-Dkz0K2WT.js} +2 -2
  237. package/dist/{hooks-9k_TtmKh.js.map → hooks-Dkz0K2WT.js.map} +1 -1
  238. package/dist/{icon-badge-CAuKupo9.js → icon-badge-DYKIwvOV.js} +4 -4
  239. package/dist/{icon-badge-CAuKupo9.js.map → icon-badge-DYKIwvOV.js.map} +1 -1
  240. package/dist/index.js +3 -3
  241. package/dist/input-CZw8iU99.js +21 -0
  242. package/dist/input-CZw8iU99.js.map +1 -0
  243. package/dist/input-DQdEd0YD.js +263 -0
  244. package/dist/input-DQdEd0YD.js.map +1 -0
  245. package/dist/{interaction-recipes-CHr0dJUs.js → interaction-recipes-XR9ZpVYL.js} +2 -1
  246. package/dist/interaction-recipes-XR9ZpVYL.js.map +1 -0
  247. package/dist/item-K5_ghvze.js +275 -0
  248. package/dist/item-K5_ghvze.js.map +1 -0
  249. package/dist/layout/app-shell.js +1 -1
  250. package/dist/layout/auth.js +1 -1
  251. package/dist/layout/containers.js +1 -1
  252. package/dist/layout/header.js +1 -1
  253. package/dist/layout/hooks.js +1 -1
  254. package/dist/layout/navigation.js +1 -1
  255. package/dist/layout/page.js +1 -1
  256. package/dist/layout/settings.js +1 -1
  257. package/dist/layout/sidebar.js +2 -2
  258. package/dist/layout/workspace.js +1 -1
  259. package/dist/layout.js +10 -10
  260. package/dist/lib/affordance-geometry.generated.d.ts +71 -0
  261. package/dist/lib/editable-text-recipe.d.ts +4 -4
  262. package/dist/lib/field-affordance-recipes.d.ts +2 -2
  263. package/dist/lib/interaction-recipes.d.ts +5 -0
  264. package/dist/lib/theme-mode-css.d.ts +7 -0
  265. package/dist/lib/tone-recipes.d.ts +8 -0
  266. package/dist/lib/ui-provider/types.d.ts +2 -2
  267. package/dist/lib/utils.js +1 -1
  268. package/dist/{media-gallery-DcTtAaeC.js → media-gallery-3zIVLMWH.js} +8 -8
  269. package/dist/media-gallery-3zIVLMWH.js.map +1 -0
  270. package/dist/{mentions-D-uyCh01.js → mentions-utuUvH1K.js} +144 -142
  271. package/dist/mentions-utuUvH1K.js.map +1 -0
  272. package/dist/{message-CdHgIWKf.js → message-DZ_ruyUV.js} +6 -5
  273. package/dist/message-DZ_ruyUV.js.map +1 -0
  274. package/dist/{metadata-list-X5rYAKSB.js → metadata-list-8N16ZMW_.js} +130 -119
  275. package/dist/metadata-list-8N16ZMW_.js.map +1 -0
  276. package/dist/{navigation-D3KwXmaq.js → navigation-Bnotn4AQ.js} +19 -19
  277. package/dist/navigation-Bnotn4AQ.js.map +1 -0
  278. package/dist/{navigation-HJf5zxlH.js → navigation-BzhHI3lo.js} +36 -35
  279. package/dist/navigation-BzhHI3lo.js.map +1 -0
  280. package/dist/{navigation-row-recipes-BVowojQw.js → navigation-row-recipes-BFLCk_Aq.js} +2 -2
  281. package/dist/{navigation-row-recipes-BVowojQw.js.map → navigation-row-recipes-BFLCk_Aq.js.map} +1 -1
  282. package/dist/{number-DMhe-Vsk.js → number-DbV1Dija.js} +36 -34
  283. package/dist/{number-DMhe-Vsk.js.map → number-DbV1Dija.js.map} +1 -1
  284. package/dist/{overflow-tab-bar-sQHXLlwQ.js → overflow-tab-bar-CWY7Nogn.js} +105 -103
  285. package/dist/overflow-tab-bar-CWY7Nogn.js.map +1 -0
  286. package/dist/{overlays-I0axtYA6.js → overlays-DNWmZrJ4.js} +14 -12
  287. package/dist/overlays-DNWmZrJ4.js.map +1 -0
  288. package/dist/{page-B5dTH9gE.js → page-Bgl1F560.js} +8 -8
  289. package/dist/{page-B5dTH9gE.js.map → page-Bgl1F560.js.map} +1 -1
  290. package/dist/{page-header-commands-DjzFEq3E.js → page-header-commands-DOb6WsfD.js} +5 -5
  291. package/dist/{page-header-commands-DjzFEq3E.js.map → page-header-commands-DOb6WsfD.js.map} +1 -1
  292. package/dist/pagination-BL25hu2s.js +158 -0
  293. package/dist/pagination-BL25hu2s.js.map +1 -0
  294. package/dist/{popover-Di55PyAI.js → popover-7_m66eYW.js} +8 -7
  295. package/dist/{popover-Di55PyAI.js.map → popover-7_m66eYW.js.map} +1 -1
  296. package/dist/popover-menu-B9WWygpa.js +100 -0
  297. package/dist/popover-menu-B9WWygpa.js.map +1 -0
  298. package/dist/{popover.recipes-Bdyhj2db.js → popover.recipes-D3j8R8Yp.js} +17 -10
  299. package/dist/popover.recipes-D3j8R8Yp.js.map +1 -0
  300. package/dist/{primitives-B-CkiEMU.js → primitives-BFK08r9M.js} +45 -44
  301. package/dist/primitives-BFK08r9M.js.map +1 -0
  302. package/dist/primitives.js +4 -4
  303. package/dist/{progress-rnS8-uAW.js → progress-B1VnCT0K.js} +5 -5
  304. package/dist/{progress-rnS8-uAW.js.map → progress-B1VnCT0K.js.map} +1 -1
  305. package/dist/{receipt-D0oswZ0p.js → receipt-BVSOH3Xo.js} +9 -6
  306. package/dist/{receipt-D0oswZ0p.js.map → receipt-BVSOH3Xo.js.map} +1 -1
  307. package/dist/{rich-text-DvGulsNJ.js → rich-text-GOUyKQ-s.js} +3 -3
  308. package/dist/{rich-text-DvGulsNJ.js.map → rich-text-GOUyKQ-s.js.map} +1 -1
  309. package/dist/{rich-text-editor-sMU_Scqm.js → rich-text-editor-cRLC-eBK.js} +418 -426
  310. package/dist/rich-text-editor-cRLC-eBK.js.map +1 -0
  311. package/dist/rich-text-editor-toolbar-DfXg0-VC.js +94 -0
  312. package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +1 -0
  313. package/dist/{scroll-area-Bt_vXY2b.js → scroll-area-DcI-M1UT.js} +2 -2
  314. package/dist/{scroll-area-Bt_vXY2b.js.map → scroll-area-DcI-M1UT.js.map} +1 -1
  315. package/dist/{separator-C8DlRGwF.js → separator-BDV-Y648.js} +3 -3
  316. package/dist/{separator-C8DlRGwF.js.map → separator-BDV-Y648.js.map} +1 -1
  317. package/dist/{separator-CYHnjsAb.js → separator-Bom7NsGO.js} +2 -2
  318. package/dist/{separator-CYHnjsAb.js.map → separator-Bom7NsGO.js.map} +1 -1
  319. package/dist/services/actions.js +1 -1
  320. package/dist/{settings-CQW3b-Cu.js → settings-ybnjVwbd.js} +20 -19
  321. package/dist/settings-ybnjVwbd.js.map +1 -0
  322. package/dist/{sheet-4SEvVYzA.js → sheet-CGpB3omz.js} +8 -7
  323. package/dist/{sheet-4SEvVYzA.js.map → sheet-CGpB3omz.js.map} +1 -1
  324. package/dist/{sidebar-d7Dg80ln.js → sidebar-A0ElHINE.js} +14 -13
  325. package/dist/{sidebar-d7Dg80ln.js.map → sidebar-A0ElHINE.js.map} +1 -1
  326. package/dist/{sidebar-C7WWR29L.js → sidebar-CPx_7YBa.js} +183 -182
  327. package/dist/sidebar-CPx_7YBa.js.map +1 -0
  328. package/dist/{skeleton-Cz890JZF.js → skeleton-Byjnt7qr.js} +3 -3
  329. package/dist/{skeleton-Cz890JZF.js.map → skeleton-Byjnt7qr.js.map} +1 -1
  330. package/dist/smart-card-DiC5aac3.js +604 -0
  331. package/dist/smart-card-DiC5aac3.js.map +1 -0
  332. package/dist/{structure-DC2dygdA.js → structure-BmisBK-3.js} +2 -2
  333. package/dist/{structure-DC2dygdA.js.map → structure-BmisBK-3.js.map} +1 -1
  334. package/dist/style.css +1 -1
  335. package/dist/table-BweFy_P9.js +1530 -0
  336. package/dist/table-BweFy_P9.js.map +1 -0
  337. package/dist/{table-CIKyLUsy.js → table-DsfzoUia.js} +75 -63
  338. package/dist/table-DsfzoUia.js.map +1 -0
  339. package/dist/{tabs-DwBJfjxX.js → tabs-CDocW5D1.js} +14 -13
  340. package/dist/tabs-CDocW5D1.js.map +1 -0
  341. package/dist/text-inputs-f9Ia-aCi.js +353 -0
  342. package/dist/text-inputs-f9Ia-aCi.js.map +1 -0
  343. package/dist/theme-mode-css-BB-_RYab.js +14 -0
  344. package/dist/theme-mode-css-BB-_RYab.js.map +1 -0
  345. package/dist/theme-scope-BJ6eE2xt.js +50 -0
  346. package/dist/theme-scope-BJ6eE2xt.js.map +1 -0
  347. package/dist/theme.css +285 -228
  348. package/dist/themes/green.css +16 -12
  349. package/dist/timelines-CwM_9IhD.js +457 -0
  350. package/dist/timelines-CwM_9IhD.js.map +1 -0
  351. package/dist/{tone-recipes-CPoExcTE.js → tone-recipes-BPsRAvhu.js} +5 -2
  352. package/dist/tone-recipes-BPsRAvhu.js.map +1 -0
  353. package/dist/{tooltip-CsfgrfS7.js → tooltip-yiRJUFjp.js} +4 -4
  354. package/dist/{tooltip-CsfgrfS7.js.map → tooltip-yiRJUFjp.js.map} +1 -1
  355. package/dist/{tree-BiKhg8AY.js → tree-WnKQzwbq.js} +9 -9
  356. package/dist/{tree-BiKhg8AY.js.map → tree-WnKQzwbq.js.map} +1 -1
  357. package/dist/typography/rich-text.js +1 -1
  358. package/dist/{typography-DTRkE9zL.js → typography-UTnveOEy.js} +6 -6
  359. package/dist/typography-UTnveOEy.js.map +1 -0
  360. package/dist/typography.js +2 -2
  361. package/dist/{ui-provider-1D_NSYzO.js → ui-provider-C_U0Xma4.js} +3 -3
  362. package/dist/ui-provider-C_U0Xma4.js.map +1 -0
  363. package/dist/ui-provider.js +2 -2
  364. package/dist/{upload-BO8-CLN6.js → upload-CXyxmQBP.js} +13 -12
  365. package/dist/upload-CXyxmQBP.js.map +1 -0
  366. package/dist/{upload-queue-EOC8g1gf.js → upload-queue-Boscubn9.js} +11 -9
  367. package/dist/upload-queue-Boscubn9.js.map +1 -0
  368. package/dist/{usage-card-obRaBskq.js → usage-card-BhO5eqkX.js} +53 -37
  369. package/dist/usage-card-BhO5eqkX.js.map +1 -0
  370. package/dist/{utils-l5LpDw2z.js → utils-BRhFDwuU.js} +59 -44
  371. package/dist/utils-BRhFDwuU.js.map +1 -0
  372. package/dist/{value-inputs-TAYMX111.js → value-inputs-DXPDjvBU.js} +268 -252
  373. package/dist/value-inputs-DXPDjvBU.js.map +1 -0
  374. package/dist/{value-typography-b8wpz1eX.js → value-typography-BP8OG6h5.js} +2 -2
  375. package/dist/{value-typography-b8wpz1eX.js.map → value-typography-BP8OG6h5.js.map} +1 -1
  376. package/dist/{workspace-DH0v0KcB.js → workspace-Cdrg7k9f.js} +34 -33
  377. package/dist/workspace-Cdrg7k9f.js.map +1 -0
  378. package/docs/consumer-skill/SKILL.md +2 -2
  379. package/docs/consumer-skill/references/agents-md.md +1 -1
  380. package/docs/consumer-skill/references/composition.md +8 -6
  381. package/docs/consumer-skill/references/integration.md +4 -3
  382. package/docs/consumer-skill/references/public-api.json +105 -2
  383. package/docs/consumer-skill/references/review.md +7 -0
  384. package/docs/consumer-skill/references/theming.md +71 -6
  385. package/docs/consumer-skill/references/tokens.json +1 -1
  386. package/docs/consumer-skill/references/workflows.md +25 -0
  387. package/docs/consumer-skill/scripts/composition-policy.mjs +3 -2
  388. package/docs/consumer-skill/scripts/surface-policy.mjs +11 -0
  389. package/package.json +8 -4
  390. package/dist/accordion-B6a3vVgA.js.map +0 -1
  391. package/dist/action-menu-TzCoSlwL.js +0 -280
  392. package/dist/action-menu-TzCoSlwL.js.map +0 -1
  393. package/dist/affordance-geometry.generated-B5iu-Mkr.js +0 -69
  394. package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +0 -1
  395. package/dist/ai-artifact-BMJdv-6q.js +0 -1115
  396. package/dist/ai-artifact-BMJdv-6q.js.map +0 -1
  397. package/dist/attachment-BtfhGm8i.js +0 -245
  398. package/dist/attachment-BtfhGm8i.js.map +0 -1
  399. package/dist/auth-CYxKfo69.js.map +0 -1
  400. package/dist/avatar-BBnEJIx8.js.map +0 -1
  401. package/dist/badge-MrKVNzW9.js.map +0 -1
  402. package/dist/batch-action-bar-BZGDG-Si.js.map +0 -1
  403. package/dist/breadcrumbs-D5t7I023.js.map +0 -1
  404. package/dist/buttons-SbIcm1HJ.js.map +0 -1
  405. package/dist/cards-CiiHpKYd.js +0 -66
  406. package/dist/cards-CiiHpKYd.js.map +0 -1
  407. package/dist/chart-QfrARkXl.js.map +0 -1
  408. package/dist/choice-inputs-t6w3ATNz.js.map +0 -1
  409. package/dist/code-block-Dgbu-CU3.js.map +0 -1
  410. package/dist/combobox-2Ic8N9bL.js +0 -278
  411. package/dist/combobox-2Ic8N9bL.js.map +0 -1
  412. package/dist/combobox-DLl0bfiq.js +0 -867
  413. package/dist/combobox-DLl0bfiq.js.map +0 -1
  414. package/dist/comments-BpDuCUUu.js.map +0 -1
  415. package/dist/data-display-DafIvCl5.js.map +0 -1
  416. package/dist/date-picker-CF-DtUpF.js.map +0 -1
  417. package/dist/date-pickers-BmzxJl5l.js +0 -174
  418. package/dist/date-pickers-BmzxJl5l.js.map +0 -1
  419. package/dist/display-DsQTVzMz.js.map +0 -1
  420. package/dist/dropdown-menu-E2qmdC7o.js +0 -193
  421. package/dist/dropdown-menu-E2qmdC7o.js.map +0 -1
  422. package/dist/editable-text-recipe-Bkm6wKHp.js +0 -10
  423. package/dist/editable-text-recipe-Bkm6wKHp.js.map +0 -1
  424. package/dist/feedback-qNuMBtRH.js +0 -233
  425. package/dist/feedback-qNuMBtRH.js.map +0 -1
  426. package/dist/field-affordance-recipes-qQeIf4lG.js.map +0 -1
  427. package/dist/filters-BkHH53uv.js.map +0 -1
  428. package/dist/form-field-DUt4UxSV.js.map +0 -1
  429. package/dist/form-sizing-By94KzXE.js.map +0 -1
  430. package/dist/forms-numeric-C0bvjRPZ.js.map +0 -1
  431. package/dist/header-BOefOKd1.js.map +0 -1
  432. package/dist/input-DWhBBBww.js +0 -262
  433. package/dist/input-DWhBBBww.js.map +0 -1
  434. package/dist/input-Ddi_LSYv.js +0 -20
  435. package/dist/input-Ddi_LSYv.js.map +0 -1
  436. package/dist/interaction-recipes-CHr0dJUs.js.map +0 -1
  437. package/dist/item-DEmDiTlD.js +0 -265
  438. package/dist/item-DEmDiTlD.js.map +0 -1
  439. package/dist/media-gallery-DcTtAaeC.js.map +0 -1
  440. package/dist/mentions-D-uyCh01.js.map +0 -1
  441. package/dist/message-CdHgIWKf.js.map +0 -1
  442. package/dist/metadata-list-X5rYAKSB.js.map +0 -1
  443. package/dist/navigation-D3KwXmaq.js.map +0 -1
  444. package/dist/navigation-HJf5zxlH.js.map +0 -1
  445. package/dist/overflow-tab-bar-sQHXLlwQ.js.map +0 -1
  446. package/dist/overlays-I0axtYA6.js.map +0 -1
  447. package/dist/pagination-3bPA_a6K.js +0 -149
  448. package/dist/pagination-3bPA_a6K.js.map +0 -1
  449. package/dist/popover-menu-B71Tn2Qz.js +0 -99
  450. package/dist/popover-menu-B71Tn2Qz.js.map +0 -1
  451. package/dist/popover.recipes-Bdyhj2db.js.map +0 -1
  452. package/dist/primitives-B-CkiEMU.js.map +0 -1
  453. package/dist/rich-text-editor-sMU_Scqm.js.map +0 -1
  454. package/dist/rich-text-editor.recipes-CadiF_Uu.js +0 -88
  455. package/dist/rich-text-editor.recipes-CadiF_Uu.js.map +0 -1
  456. package/dist/settings-CQW3b-Cu.js.map +0 -1
  457. package/dist/sidebar-C7WWR29L.js.map +0 -1
  458. package/dist/smart-card-lFKxn5Hu.js +0 -595
  459. package/dist/smart-card-lFKxn5Hu.js.map +0 -1
  460. package/dist/spinner-fa3h1Aif.js +0 -80
  461. package/dist/spinner-fa3h1Aif.js.map +0 -1
  462. package/dist/table-CIKyLUsy.js.map +0 -1
  463. package/dist/table-CrcLN9Io.js +0 -1458
  464. package/dist/table-CrcLN9Io.js.map +0 -1
  465. package/dist/tabs-DwBJfjxX.js.map +0 -1
  466. package/dist/text-inputs-aaK9wcDT.js +0 -326
  467. package/dist/text-inputs-aaK9wcDT.js.map +0 -1
  468. package/dist/theme-scope-kStaAer0.js +0 -39
  469. package/dist/theme-scope-kStaAer0.js.map +0 -1
  470. package/dist/timelines-C_SBwHNP.js +0 -442
  471. package/dist/timelines-C_SBwHNP.js.map +0 -1
  472. package/dist/tone-recipes-CPoExcTE.js.map +0 -1
  473. package/dist/typography-DTRkE9zL.js.map +0 -1
  474. package/dist/ui-provider-1D_NSYzO.js.map +0 -1
  475. package/dist/upload-BO8-CLN6.js.map +0 -1
  476. package/dist/upload-queue-EOC8g1gf.js.map +0 -1
  477. package/dist/usage-card-obRaBskq.js.map +0 -1
  478. package/dist/utils-l5LpDw2z.js.map +0 -1
  479. package/dist/value-inputs-TAYMX111.js.map +0 -1
  480. package/dist/workspace-DH0v0KcB.js.map +0 -1
@@ -1,118 +1,117 @@
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, t as a } from "../structure-DC2dygdA.js";
7
- import { t as o } from "../interaction-recipes-CHr0dJUs.js";
8
- import { g as s } from "../primitives-B-CkiEMU.js";
9
- import { t as c } from "../number-DMhe-Vsk.js";
10
- import { i as l, r as u, t as d } from "../tabs-DwBJfjxX.js";
11
- import { t as f } from "../popover-menu-B71Tn2Qz.js";
12
- import { f as p } from "../table-CrcLN9Io.js";
13
- import { N as m, O as h, P as g, T as _, l as v, w as y } from "../filters-BkHH53uv.js";
14
- import { useEffect as b, useMemo as x, useRef as S } from "react";
15
- import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
16
- import { Check as E, ChevronsUpDown as D } from "lucide-react";
17
- import { isValid as O, parse as k } from "date-fns";
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 { r as i, t as a } from "../structure-BmisBK-3.js";
7
+ import { g as o } from "../primitives-BFK08r9M.js";
8
+ import { t as s } from "../number-DbV1Dija.js";
9
+ import { i as c, r as l, t as u } from "../tabs-CDocW5D1.js";
10
+ import { t as d } from "../popover-menu-B9WWygpa.js";
11
+ import { f } from "../table-BweFy_P9.js";
12
+ import { N as p, O as m, P as h, T as g, l as _, w as v } from "../filters-BGfvjP4d.js";
13
+ import { useEffect as y, useMemo as b, useRef as x } from "react";
14
+ import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
15
+ import { Check as T, ChevronsUpDown as E } from "lucide-react";
16
+ import { isValid as D, parse as O } from "date-fns";
18
17
  //#region src/components/features/data-view/data-view.strings.ts
19
- var A = {
18
+ var k = {
20
19
  page: "Page",
21
20
  previous: "Previous",
22
21
  next: "Next"
23
- }, j = "View";
22
+ }, A = "View";
24
23
  //#endregion
25
24
  //#region src/components/features/data-view/data-view-filtering.ts
26
- function M(e, t) {
25
+ function j(e, t) {
27
26
  return t.includes(".") ? t.split(".").reduce((e, t) => {
28
27
  if (e && typeof e == "object") return e[t];
29
28
  }, e) : e && typeof e == "object" ? e[t] : void 0;
30
29
  }
31
- function N(e) {
30
+ function M(e) {
32
31
  return e == null ? "" : e instanceof Date ? e.toISOString() : typeof e == "string" ? e : typeof e == "number" || typeof e == "boolean" ? String(e) : "";
33
32
  }
34
- function P(e, t = 0) {
35
- return e == null || t > 2 ? "" : e instanceof Date ? e.toISOString() : typeof e == "string" || typeof e == "number" || typeof e == "boolean" ? String(e) : Array.isArray(e) ? e.map((e) => P(e, t + 1)).join(" ") : typeof e == "object" ? Object.values(e).map((e) => P(e, t + 1)).join(" ") : "";
33
+ function N(e, t = 0) {
34
+ return e == null || t > 2 ? "" : e instanceof Date ? e.toISOString() : typeof e == "string" || typeof e == "number" || typeof e == "boolean" ? String(e) : Array.isArray(e) ? e.map((e) => N(e, t + 1)).join(" ") : typeof e == "object" ? Object.values(e).map((e) => N(e, t + 1)).join(" ") : "";
36
35
  }
37
- function F(e) {
38
- if (Array.isArray(e)) return e.map(N).filter(Boolean).map((e) => e.toLowerCase());
39
- let t = N(e);
36
+ function P(e) {
37
+ if (Array.isArray(e)) return e.map(M).filter(Boolean).map((e) => e.toLowerCase());
38
+ let t = M(e);
40
39
  return t ? [t.toLowerCase()] : [];
41
40
  }
42
- function I(e) {
41
+ function F(e) {
43
42
  let t = Number(e);
44
43
  return Number.isFinite(t) ? t : void 0;
45
44
  }
46
- function L(e, t) {
45
+ function I(e, t) {
47
46
  if (t) {
48
- let n = k(e, t, /* @__PURE__ */ new Date(0));
49
- if (O(n)) return n.getTime();
47
+ let n = O(e, t, /* @__PURE__ */ new Date(0));
48
+ if (D(n)) return n.getTime();
50
49
  }
51
50
  let n = new Date(e);
52
- return O(n) ? n.getTime() : void 0;
51
+ return D(n) ? n.getTime() : void 0;
53
52
  }
54
- function R(e, t, n, r) {
55
- let i = r?.type === g.DATE ? (e) => L(e, r.dateFormat?.param ?? "yyyy-MM-dd") : I, a = e.map(i).filter((e) => e !== void 0), o = t.map(i).filter((e) => e !== void 0);
53
+ function L(e, t, n, r) {
54
+ let i = r?.type === h.DATE ? (e) => I(e, r.dateFormat?.param ?? "yyyy-MM-dd") : F, a = e.map(i).filter((e) => e !== void 0), o = t.map(i).filter((e) => e !== void 0);
56
55
  if (a.length === 0 || o.length === 0) return !1;
57
56
  switch (n) {
58
- case m.GT:
59
- case m.AFTER: return a.some((e) => e > o[0]);
60
- case m.GTE: return a.some((e) => e >= o[0]);
61
- case m.LT:
62
- case m.BEFORE: return a.some((e) => e < o[0]);
63
- case m.LTE: return a.some((e) => e <= o[0]);
64
- case m.BETWEEN: return o.length < 2 ? !1 : a.some((e) => e >= o[0] && e <= o[1]);
57
+ case p.GT:
58
+ case p.AFTER: return a.some((e) => e > o[0]);
59
+ case p.GTE: return a.some((e) => e >= o[0]);
60
+ case p.LT:
61
+ case p.BEFORE: return a.some((e) => e < o[0]);
62
+ case p.LTE: return a.some((e) => e <= o[0]);
63
+ case p.BETWEEN: return o.length < 2 ? !1 : a.some((e) => e >= o[0] && e <= o[1]);
65
64
  default: return !1;
66
65
  }
67
66
  }
68
- function z(e) {
67
+ function R(e) {
69
68
  return {
70
69
  key: e,
71
70
  label: e,
72
- type: g.SEARCH,
71
+ type: h.SEARCH,
73
72
  icon: null,
74
73
  displayConfig: {}
75
74
  };
76
75
  }
77
- function B(e, t, n, r) {
76
+ function z(e, t, n, r) {
78
77
  let i = t.value.map((e) => e.trim().toLowerCase()).filter(Boolean);
79
78
  if (i.length === 0) return !0;
80
- if (n?.type === g.SEARCH) {
81
- let n = P(e).toLowerCase();
82
- return t.operator === m.NOT || t.operator === m.NOT_IN ? i.every((e) => !n.includes(e)) : i.every((e) => n.includes(e));
79
+ if (n?.type === h.SEARCH) {
80
+ let n = N(e).toLowerCase();
81
+ return t.operator === p.NOT || t.operator === p.NOT_IN ? i.every((e) => !n.includes(e)) : i.every((e) => n.includes(e));
83
82
  }
84
- let a = n ?? z(t.key), o = F(r?.(e, a) ?? M(e, t.key));
83
+ let a = n ?? R(t.key), o = P(r?.(e, a) ?? j(e, t.key));
85
84
  if (o.length === 0) return !1;
86
85
  switch (t.operator) {
87
- case m.CONTAINS: return i.every((e) => o.some((t) => t.includes(e)));
88
- case m.HAS: return i.every((e) => o.includes(e));
89
- case m.NOT_IN: return i.every((e) => o.every((t) => t !== e));
90
- case m.NOT: return n?.type === g.SELECT || n?.type === g.MULTI_SELECT || n?.type === g.ASYNC_SELECT ? i.every((e) => o.every((t) => t !== e)) : i.every((e) => o.every((t) => !t.includes(e)));
91
- case m.IN:
92
- case m.EQUALS:
93
- case m.HAS_ANY: return i.some((e) => o.includes(e));
94
- case m.HAS_ALL: return i.every((e) => o.includes(e));
95
- case m.GT:
96
- case m.GTE:
97
- case m.LT:
98
- case m.LTE:
99
- case m.BEFORE:
100
- case m.AFTER:
101
- case m.BETWEEN: return R(o, i, t.operator, n);
86
+ case p.CONTAINS: return i.every((e) => o.some((t) => t.includes(e)));
87
+ case p.HAS: return i.every((e) => o.includes(e));
88
+ case p.NOT_IN: return i.every((e) => o.every((t) => t !== e));
89
+ case p.NOT: return n?.type === h.SELECT || n?.type === h.MULTI_SELECT || n?.type === h.ASYNC_SELECT ? i.every((e) => o.every((t) => t !== e)) : i.every((e) => o.every((t) => !t.includes(e)));
90
+ case p.IN:
91
+ case p.EQUALS:
92
+ case p.HAS_ANY: return i.some((e) => o.includes(e));
93
+ case p.HAS_ALL: return i.every((e) => o.includes(e));
94
+ case p.GT:
95
+ case p.GTE:
96
+ case p.LT:
97
+ case p.LTE:
98
+ case p.BEFORE:
99
+ case p.AFTER:
100
+ case p.BETWEEN: return L(o, i, t.operator, n);
102
101
  default: return i.some((e) => o.includes(e));
103
102
  }
104
103
  }
105
- function V(e, t, n, r) {
104
+ function B(e, t, n, r) {
106
105
  if (t.length === 0) return e;
107
106
  let i = new Map(n.map((e) => [e.key, e]));
108
- return e.filter((e) => t.every((t) => B(e, t, i.get(t.key), r)));
107
+ return e.filter((e) => t.every((t) => z(e, t, i.get(t.key), r)));
109
108
  }
110
109
  //#endregion
111
110
  //#region src/components/features/data-view/hooks/use-data-view.ts
112
- function H({ data: e, filtering: t }) {
113
- let n = S(t?.onError);
111
+ function V({ data: e, filtering: t }) {
112
+ let n = x(t?.onError);
114
113
  n.current = t?.onError;
115
- let r = S(null), i = t?.activeFilters, a = t?.filterRows, o = t?.filters, s = t?.getFilterValue, c = t !== void 0, l = x(() => {
114
+ let r = x(null), i = t?.activeFilters, a = t?.filterRows, o = t?.filters, s = t?.getFilterValue, c = t !== void 0, l = b(() => {
116
115
  if (!c || !i || !o) return {
117
116
  rows: e,
118
117
  error: null,
@@ -124,7 +123,7 @@ function H({ data: e, filtering: t }) {
124
123
  data: e,
125
124
  activeFilters: i,
126
125
  filters: o
127
- }) : V(e, i, o, s),
126
+ }) : B(e, i, o, s),
128
127
  error: null,
129
128
  failed: !1
130
129
  };
@@ -143,7 +142,7 @@ function H({ data: e, filtering: t }) {
143
142
  s,
144
143
  c
145
144
  ]);
146
- return b(() => {
145
+ return y(() => {
147
146
  if (!l.failed) {
148
147
  r.current = null;
149
148
  return;
@@ -153,8 +152,8 @@ function H({ data: e, filtering: t }) {
153
152
  }
154
153
  //#endregion
155
154
  //#region src/components/features/data-view/data-view.tsx
156
- function U(e) {
157
- let { activeFilters: t, filters: n, replaceFilters: r } = _(), i = x(() => t.filter((e) => n.find((t) => t.key === e.key)?.type !== g.SEARCH), [t, n]), a = x(() => t.filter((e) => n.find((t) => t.key === e.key)?.type === g.SEARCH), [t, n]), o = x(() => {
155
+ function H(e) {
156
+ let { activeFilters: t, filters: n, replaceFilters: r } = g(), i = b(() => t.filter((e) => n.find((t) => t.key === e.key)?.type !== h.SEARCH), [t, n]), a = b(() => t.filter((e) => n.find((t) => t.key === e.key)?.type === h.SEARCH), [t, n]), o = b(() => {
158
157
  for (let t of e) {
159
158
  if (t.presets.length === 0) {
160
159
  if (i.length === 0) return t;
@@ -174,7 +173,7 @@ function U(e) {
174
173
  return;
175
174
  }
176
175
  let t = e.presets.map((e) => {
177
- let t = n.find((t) => t.key === e.key), r = e.operator ?? t?.operator ?? (t ? h(t.type) : m.EQUALS);
176
+ let t = n.find((t) => t.key === e.key), r = e.operator ?? t?.operator ?? (t ? m(t.type) : p.EQUALS);
178
177
  return {
179
178
  id: e.key,
180
179
  key: e.key,
@@ -189,9 +188,9 @@ function U(e) {
189
188
  applyTab: s
190
189
  };
191
190
  }
192
- function W({ tabs: e, label: t = j }) {
193
- let { activeTab: i, applyTab: a } = U(e);
194
- return e.length === 0 ? null : /* @__PURE__ */ w(f, {
191
+ function U({ tabs: e, label: t = A }) {
192
+ let { activeTab: i, applyTab: a } = H(e);
193
+ return e.length === 0 ? null : /* @__PURE__ */ C(d, {
195
194
  search: !1,
196
195
  contentClassName: "w-48",
197
196
  items: e.map((e) => ({
@@ -204,69 +203,70 @@ function W({ tabs: e, label: t = j }) {
204
203
  onSelect: (e) => {
205
204
  e.data && a(e.data);
206
205
  },
207
- renderItem: (e) => /* @__PURE__ */ T(C, { children: [
208
- /* @__PURE__ */ w("span", {
206
+ renderItem: (e) => /* @__PURE__ */ w(S, { children: [
207
+ /* @__PURE__ */ C("span", {
209
208
  className: "flex size-icon-sm shrink-0 items-center justify-center",
210
- children: !!e.selected && /* @__PURE__ */ w(E, {
209
+ children: !!e.selected && /* @__PURE__ */ C(T, {
211
210
  className: "size-icon-sm",
212
211
  "aria-hidden": "true"
213
212
  })
214
213
  }),
215
- /* @__PURE__ */ w(r, {
214
+ /* @__PURE__ */ C(r, {
216
215
  tag: "span",
216
+ type: "inherit",
217
217
  weight: e.selected ? "medium" : "regular",
218
218
  className: "min-w-0 flex-1 truncate",
219
219
  children: e.label
220
220
  }),
221
- !!e.description && /* @__PURE__ */ w(s, {
221
+ !!e.description && /* @__PURE__ */ C(o, {
222
222
  size: "xs",
223
223
  className: "tabular-nums",
224
224
  children: e.description
225
225
  })
226
226
  ] }),
227
- trigger: /* @__PURE__ */ T(n, {
227
+ trigger: /* @__PURE__ */ w(n, {
228
228
  type: "button",
229
229
  tone: "secondary",
230
230
  buttonStyle: "ghost",
231
231
  size: "sm",
232
232
  className: "h-action-sm px-control-sm",
233
233
  "aria-label": t,
234
- children: [/* @__PURE__ */ w(r, {
234
+ children: [/* @__PURE__ */ C(r, {
235
235
  tag: "span",
236
236
  size: "inherit",
237
237
  className: "truncate text-current",
238
238
  children: i?.label ?? t
239
- }), /* @__PURE__ */ w(D, {
239
+ }), /* @__PURE__ */ C(E, {
240
240
  className: "size-icon-sm",
241
241
  "aria-hidden": "true"
242
242
  })]
243
243
  })
244
244
  });
245
245
  }
246
- function G({ children: e, header: n, toolbar: r, footer: i, emptySlot: o, empty: s = !1, className: c, contentClassName: l }) {
247
- return /* @__PURE__ */ T(a, {
248
- render: /* @__PURE__ */ w("section", {}),
246
+ function W({ children: e, header: n, toolbar: r, footer: i, emptySlot: o, empty: s = !1, className: c, contentClassName: l }) {
247
+ return /* @__PURE__ */ w(a, {
248
+ render: /* @__PURE__ */ C("section", {}),
249
249
  gap: "lg",
250
250
  "data-component": "data-view-shell",
251
251
  "data-slot": "data-view-shell",
252
252
  className: t("data-view-shell--component @container/data-view", c),
253
253
  children: [
254
- !!n && /* @__PURE__ */ w("div", {
254
+ !!n && /* @__PURE__ */ C("div", {
255
255
  "data-slot": "data-view-header",
256
256
  className: "data-view-shell--header",
257
257
  children: n
258
258
  }),
259
- !!r && /* @__PURE__ */ w("div", {
259
+ !!r && /* @__PURE__ */ C("div", {
260
260
  "data-slot": "data-view-toolbar-slot",
261
261
  className: "data-view-shell--toolbar",
262
262
  children: r
263
263
  }),
264
- /* @__PURE__ */ w("div", {
264
+ /* @__PURE__ */ C("div", {
265
265
  "data-slot": "data-view-content",
266
266
  className: t("data-view-shell--content min-w-0", l),
267
267
  children: s ? o : e
268
268
  }),
269
- !!i && /* @__PURE__ */ w("div", {
269
+ !!i && /* @__PURE__ */ C("div", {
270
270
  "data-slot": "data-view-footer",
271
271
  className: "data-view-shell--footer",
272
272
  children: i
@@ -274,14 +274,14 @@ function G({ children: e, header: n, toolbar: r, footer: i, emptySlot: o, empty:
274
274
  ]
275
275
  });
276
276
  }
277
- function K({ leading: e, search: n, filters: r, views: i, actions: o, className: s }) {
278
- return /* @__PURE__ */ w("div", {
277
+ function G({ leading: e, search: n, filters: r, views: i, actions: o, className: s }) {
278
+ return /* @__PURE__ */ C("div", {
279
279
  "data-component": "data-view-toolbar",
280
280
  "data-slot": "data-view-toolbar",
281
- className: t("data-view-toolbar--component rounded-radius border border-border bg-card p-surface shadow-sm", s),
282
- children: /* @__PURE__ */ T("div", {
281
+ className: t("data-view-toolbar--component box-border rounded-radius border border-border bg-card text-card-foreground p-surface shadow-sm", s),
282
+ children: /* @__PURE__ */ w("div", {
283
283
  className: "flex min-w-0 flex-col gap-space-lg @2xl/data-view:flex-row @2xl/data-view:items-center @2xl/data-view:justify-between @2xl/data-view:flex-nowrap",
284
- children: [/* @__PURE__ */ T(a, {
284
+ children: [/* @__PURE__ */ w(a, {
285
285
  direction: "horizontal",
286
286
  wrap: !0,
287
287
  align: "center",
@@ -294,7 +294,7 @@ function K({ leading: e, search: n, filters: r, views: i, actions: o, className:
294
294
  r,
295
295
  i
296
296
  ]
297
- }), !!o && /* @__PURE__ */ w(a, {
297
+ }), !!o && /* @__PURE__ */ C(a, {
298
298
  direction: "horizontal",
299
299
  wrap: !0,
300
300
  align: "center",
@@ -306,27 +306,27 @@ function K({ leading: e, search: n, filters: r, views: i, actions: o, className:
306
306
  })
307
307
  });
308
308
  }
309
- function q({ toolbar: e, children: n, footer: r, className: a, toolbarClassName: o, contentClassName: s, footerClassName: c }) {
310
- return /* @__PURE__ */ T("section", {
309
+ function K({ toolbar: e, children: n, footer: r, className: a, toolbarClassName: o, contentClassName: s, footerClassName: c }) {
310
+ return /* @__PURE__ */ w("section", {
311
311
  "data-component": "data-view-table-frame",
312
312
  "data-slot": "data-view-table-frame",
313
- className: t("data-view-table-frame--component @container/data-view overflow-hidden rounded-radius border border-border bg-card shadow-xs", a),
313
+ className: t("data-view-table-frame--component box-border @container/data-view overflow-hidden rounded-radius border border-border bg-card text-card-foreground shadow-xs", a),
314
314
  children: [
315
- !!e && /* @__PURE__ */ w("div", {
315
+ !!e && /* @__PURE__ */ C("div", {
316
316
  "data-slot": "data-view-table-frame-toolbar",
317
317
  className: t("data-view-table-frame--toolbar border-b border-border/60 px-surface py-surface", o),
318
- children: /* @__PURE__ */ w(i, {
318
+ children: /* @__PURE__ */ C(i, {
319
319
  columns: 1,
320
320
  gap: "lg",
321
321
  children: e
322
322
  })
323
323
  }),
324
- /* @__PURE__ */ w("div", {
324
+ /* @__PURE__ */ C("div", {
325
325
  "data-slot": "data-view-table-frame-content",
326
326
  className: t("data-view-table-frame--content min-w-0", s),
327
327
  children: n
328
328
  }),
329
- !!r && /* @__PURE__ */ w("div", {
329
+ !!r && /* @__PURE__ */ C("div", {
330
330
  "data-slot": "data-view-table-frame-footer",
331
331
  className: t("data-view-table-frame--footer border-t border-border/60 px-surface py-row-y", c),
332
332
  children: r
@@ -334,16 +334,16 @@ function q({ toolbar: e, children: n, footer: r, className: a, toolbarClassName:
334
334
  ]
335
335
  });
336
336
  }
337
- function J({ data: e, columns: n, filtering: r, table: i, slots: o, className: s }) {
338
- let { rows: c } = H({
337
+ function q({ data: e, columns: n, filtering: r, table: i, slots: o, className: s }) {
338
+ let { rows: c } = V({
339
339
  data: e,
340
340
  filtering: r
341
- }), l = r?.tabs ?? r?.layout?.tabs ?? [], u = r?.tabsDisplay ?? "tabs", d = u === "tabs" ? l : r?.layout?.tabs, f = !!o?.toolbarStart || !!o?.toolbarAfterFilters || u === "select" && l.length > 0, m = !!r || !!o?.topbarContent || f, h = /* @__PURE__ */ w(q, {
341
+ }), l = r?.tabs ?? r?.layout?.tabs ?? [], u = r?.tabsDisplay ?? "tabs", d = u === "tabs" ? l : r?.layout?.tabs, p = !!o?.toolbarStart || !!o?.toolbarAfterFilters || u === "select" && l.length > 0, m = !!r || !!o?.topbarContent || p, h = /* @__PURE__ */ C(K, {
342
342
  className: t("data-view--component", s),
343
343
  contentClassName: "data-view--content data-view-table--content",
344
344
  footerClassName: "data-view--footer data-view-table--footer",
345
345
  footer: o?.footer,
346
- children: /* @__PURE__ */ w(p, {
346
+ children: /* @__PURE__ */ C(f, {
347
347
  ...i,
348
348
  columns: n,
349
349
  data: c,
@@ -351,30 +351,30 @@ function J({ data: e, columns: n, filtering: r, table: i, slots: o, className: s
351
351
  headerTransparent: !1,
352
352
  topbarClassName: t("data-view--topbar data-view-table--topbar py-surface @2xl/data-table:items-start", i?.topbarClassName),
353
353
  toolbarLabelVisibility: i?.toolbarLabelVisibility ?? "hidden",
354
- topbarContent: m ? /* @__PURE__ */ T(a, {
354
+ topbarContent: m ? /* @__PURE__ */ w(a, {
355
355
  gap: "lg",
356
356
  "data-slot": "data-view-topbar-content",
357
357
  className: "data-view--topbar-content data-view-table--topbar-content",
358
358
  children: [
359
359
  o?.topbarContent,
360
- f && /* @__PURE__ */ T(a, {
360
+ p && /* @__PURE__ */ w(a, {
361
361
  "data-slot": "data-view-toolbar-row",
362
362
  direction: "horizontal",
363
363
  gap: "md",
364
364
  className: "data-view--toolbar-row data-view-table--toolbar-row",
365
365
  children: [
366
366
  o?.toolbarStart,
367
- r && u === "select" && l.length > 0 && /* @__PURE__ */ w(W, {
367
+ r && u === "select" && l.length > 0 && /* @__PURE__ */ C(U, {
368
368
  tabs: l,
369
369
  label: r.tabsLabel
370
370
  }),
371
371
  o?.toolbarAfterFilters
372
372
  ]
373
373
  }),
374
- r && /* @__PURE__ */ w("div", {
374
+ r && /* @__PURE__ */ C("div", {
375
375
  "data-slot": "data-view-filters",
376
376
  className: "data-view--filters data-view-table--filters min-w-0",
377
- children: /* @__PURE__ */ w(v, {
377
+ children: /* @__PURE__ */ C(_, {
378
378
  ...r.layout,
379
379
  variant: r.layout?.variant ?? "compact",
380
380
  showClearFilters: r.layout?.showClearFilters ?? r.activeFilters.length > 0,
@@ -384,14 +384,14 @@ function J({ data: e, columns: n, filtering: r, table: i, slots: o, className: s
384
384
  })
385
385
  ]
386
386
  }) : void 0,
387
- topbarEnd: !!(o?.toolbarEnd || o?.topbarEnd) && /* @__PURE__ */ T("div", {
387
+ topbarEnd: !!(o?.toolbarEnd || o?.topbarEnd) && /* @__PURE__ */ w("div", {
388
388
  "data-slot": "data-view-topbar-end",
389
389
  className: "data-view--topbar-end",
390
390
  children: [o?.toolbarEnd, o?.topbarEnd]
391
391
  })
392
392
  })
393
393
  });
394
- return r ? /* @__PURE__ */ w(y, {
394
+ return r ? /* @__PURE__ */ C(v, {
395
395
  filters: r.filters,
396
396
  activeFilters: r.activeFilters,
397
397
  onFilterChange: r.onFilterChange,
@@ -401,8 +401,8 @@ function J({ data: e, columns: n, filtering: r, table: i, slots: o, className: s
401
401
  children: h
402
402
  }) : h;
403
403
  }
404
- function Y({ data: e, columns: t, filtering: n, table: r, slots: i, className: a }) {
405
- return /* @__PURE__ */ w(J, {
404
+ function J({ data: e, columns: t, filtering: n, table: r, slots: i, className: a }) {
405
+ return /* @__PURE__ */ C(q, {
406
406
  data: e,
407
407
  columns: t,
408
408
  filtering: n,
@@ -411,39 +411,39 @@ function Y({ data: e, columns: t, filtering: n, table: r, slots: i, className: a
411
411
  className: a
412
412
  });
413
413
  }
414
- function X({ page: i, pageCount: a, total: o, onPageChange: l, disabled: u = !1, className: d, strings: f }) {
415
- let p = e(A, f), m = i > 1, h = a === void 0 || i < a, g = a ? `${p.page} ${i} / ${a}` : `${p.page} ${i}`, _ = !!l && !u;
416
- return /* @__PURE__ */ T("nav", {
414
+ function Y({ page: i, pageCount: a, total: c, onPageChange: l, disabled: u = !1, className: d, strings: f }) {
415
+ let p = e(k, f), m = i > 1, h = a === void 0 || i < a, g = a ? `${p.page} ${i} / ${a}` : `${p.page} ${i}`, _ = !!l && !u;
416
+ return /* @__PURE__ */ w("nav", {
417
417
  "data-component": "data-view-pagination",
418
418
  "data-slot": "data-view-pagination",
419
419
  className: t("data-view-pagination--component flex min-w-0 flex-col gap-space-md @md/data-view:flex-row @md/data-view:justify-between", d),
420
420
  "aria-label": p.page,
421
- children: [/* @__PURE__ */ w("div", {
421
+ children: [/* @__PURE__ */ C("div", {
422
422
  "data-slot": "data-view-pagination-summary",
423
423
  className: "data-view-pagination--summary min-w-0",
424
- children: o != null && /* @__PURE__ */ w(r, {
424
+ children: c != null && /* @__PURE__ */ C(r, {
425
425
  size: "xs",
426
426
  type: "secondary",
427
- children: o
427
+ children: c
428
428
  })
429
- }), /* @__PURE__ */ T("div", {
429
+ }), /* @__PURE__ */ w("div", {
430
430
  "data-slot": "data-view-pagination-controls",
431
431
  className: "data-view-pagination--controls flex shrink-0 items-center gap-space-md",
432
432
  children: [
433
- /* @__PURE__ */ T(s, {
433
+ /* @__PURE__ */ w(o, {
434
434
  size: "xs",
435
435
  className: "tabular-nums",
436
436
  "aria-label": g,
437
437
  children: [
438
438
  p.page,
439
439
  " ",
440
- /* @__PURE__ */ w(c, {
440
+ /* @__PURE__ */ C(s, {
441
441
  value: i,
442
442
  size: "xs",
443
443
  align: "left",
444
444
  type: "secondary"
445
445
  }),
446
- a ? /* @__PURE__ */ T(C, { children: [" / ", /* @__PURE__ */ w(c, {
446
+ a ? /* @__PURE__ */ w(S, { children: [" / ", /* @__PURE__ */ C(s, {
447
447
  value: a,
448
448
  size: "xs",
449
449
  align: "left",
@@ -451,7 +451,7 @@ function X({ page: i, pageCount: a, total: o, onPageChange: l, disabled: u = !1,
451
451
  })] }) : null
452
452
  ]
453
453
  }),
454
- /* @__PURE__ */ w(n, {
454
+ /* @__PURE__ */ C(n, {
455
455
  size: "sm",
456
456
  type: "button",
457
457
  tone: "secondary",
@@ -460,7 +460,7 @@ function X({ page: i, pageCount: a, total: o, onPageChange: l, disabled: u = !1,
460
460
  onClick: () => l?.(i - 1),
461
461
  children: p.previous
462
462
  }),
463
- /* @__PURE__ */ w(n, {
463
+ /* @__PURE__ */ C(n, {
464
464
  size: "sm",
465
465
  type: "button",
466
466
  tone: "secondary",
@@ -473,8 +473,8 @@ function X({ page: i, pageCount: a, total: o, onPageChange: l, disabled: u = !1,
473
473
  })]
474
474
  });
475
475
  }
476
- function Z({ views: e, value: n, onValueChange: i, className: a }) {
477
- return /* @__PURE__ */ w(d, {
476
+ function X({ views: e, value: n, onValueChange: i, className: a }) {
477
+ return /* @__PURE__ */ C(u, {
478
478
  "data-component": "saved-view-tabs",
479
479
  "data-slot": "saved-view-tabs",
480
480
  className: t("saved-view-tabs--component rounded-radius bg-muted p-space-xs", a),
@@ -482,29 +482,29 @@ function Z({ views: e, value: n, onValueChange: i, className: a }) {
482
482
  onValueChange: (e) => {
483
483
  typeof e == "string" && i(e);
484
484
  },
485
- children: /* @__PURE__ */ w(u, {
485
+ children: /* @__PURE__ */ C(l, {
486
+ variant: "chips",
486
487
  role: "group",
487
488
  "aria-orientation": void 0,
488
489
  activateOnFocus: !0,
489
- className: "h-auto! flex-wrap justify-start gap-space-xs bg-transparent p-0",
490
490
  children: e.map((e) => {
491
- let i = e.id === n;
492
- return /* @__PURE__ */ T(l, {
491
+ let t = e.id === n;
492
+ return /* @__PURE__ */ w(c, {
493
493
  "data-slot": "saved-view-tab",
494
494
  type: "button",
495
495
  role: "button",
496
496
  value: e.id,
497
497
  "aria-selected": void 0,
498
498
  "aria-controls": void 0,
499
- "aria-pressed": i,
499
+ "aria-pressed": t,
500
500
  disabled: e.disabled,
501
- className: t("saved-view-tabs--tab h-action-sm flex-none gap-space-xs rounded-inner px-control-sm py-0 after:hidden data-active:bg-accent data-active:text-accent-foreground data-active:hover:bg-accent data-active:hover:text-accent-foreground", o.toggleHover),
502
- children: [/* @__PURE__ */ w(r, {
501
+ className: "saved-view-tabs--tab gap-space-xs",
502
+ children: [/* @__PURE__ */ C(r, {
503
503
  tag: "span",
504
504
  size: "inherit",
505
505
  className: "truncate text-current",
506
506
  children: e.label
507
- }), e.count !== void 0 && e.count !== null && /* @__PURE__ */ w(r, {
507
+ }), e.count !== void 0 && e.count !== null && /* @__PURE__ */ C(r, {
508
508
  tag: "span",
509
509
  size: "xs",
510
510
  type: "secondary",
@@ -517,6 +517,6 @@ function Z({ views: e, value: n, onValueChange: i, className: a }) {
517
517
  });
518
518
  }
519
519
  //#endregion
520
- export { Y as DataView, X as DataViewPagination, G as DataViewShell, q as DataViewTableFrame, K as DataViewToolbar, Z as SavedViewTabs, j as defaultDataViewFilterTabsLabel, A as defaultDataViewPaginationStrings, H as useDataView };
520
+ export { J as DataView, Y as DataViewPagination, W as DataViewShell, K as DataViewTableFrame, G as DataViewToolbar, X as SavedViewTabs, A as defaultDataViewFilterTabsLabel, k as defaultDataViewPaginationStrings, V as useDataView };
521
521
 
522
522
  //# sourceMappingURL=data-view.js.map