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,28 +1,28 @@
1
1
  "use client";
2
- import { a as e, o as t } from "./ui-provider-1D_NSYzO.js";
2
+ import { a as e, o as t } from "./ui-provider-C_U0Xma4.js";
3
3
  import { interpolateString as n, useStrings as r } from "./lib/strings.js";
4
- import { t as i } from "./utils-l5LpDw2z.js";
5
- import { n as a, t as o } from "./buttons-SbIcm1HJ.js";
6
- import { a as s, s as c, t as l } from "./typography-DTRkE9zL.js";
7
- import { i as u, n as d, r as f, t as p } from "./tooltip-CsfgrfS7.js";
8
- import { t as m } from "./structure-DC2dygdA.js";
9
- import { r as h } from "./tone-recipes-CPoExcTE.js";
4
+ import { t as i } from "./utils-BRhFDwuU.js";
5
+ import { n as a, t as o } from "./buttons-DPZekJFu.js";
6
+ import { c as s, o as c, t as l } from "./typography-UTnveOEy.js";
7
+ import { i as u, n as d, r as f, t as p } from "./tooltip-yiRJUFjp.js";
8
+ import { t as m } from "./structure-BmisBK-3.js";
9
+ import { i as h } from "./tone-recipes-BPsRAvhu.js";
10
10
  import { t as g } from "./row-recipes-DL8n7t_b.js";
11
- import { i as _, t as v } from "./overlays-I0axtYA6.js";
12
- import { t as y } from "./interaction-recipes-CHr0dJUs.js";
11
+ import { i as _, t as v } from "./overlays-DNWmZrJ4.js";
12
+ import { t as y } from "./interaction-recipes-XR9ZpVYL.js";
13
13
  import { t as b } from "./sanitize-html-DsQmI48u.js";
14
14
  import { t as x } from "./content-typography-CnwgMJ37.js";
15
- import { t as S } from "./rich-text-DvGulsNJ.js";
16
- import { g as C, i as w } from "./primitives-B-CkiEMU.js";
17
- import { n as ee, t as T } from "./number-DMhe-Vsk.js";
18
- import { i as E } from "./date-BgK3bTdo.js";
19
- import { i as D, n as O, s as te } from "./avatar-BBnEJIx8.js";
20
- import { t as k } from "./badge-MrKVNzW9.js";
21
- import { n as A } from "./field-affordance-recipes-qQeIf4lG.js";
22
- import { c as ne, o as re } from "./popover-Di55PyAI.js";
23
- import { s as j } from "./data-display-DafIvCl5.js";
24
- import { t as ie } from "./rich-text-editor-sMU_Scqm.js";
25
- import { l as M, n as ae, o as oe, r as N, t as se } from "./mentions-D-uyCh01.js";
15
+ import { t as S } from "./rich-text-GOUyKQ-s.js";
16
+ import { g as C, i as w } from "./primitives-BFK08r9M.js";
17
+ import { n as ee, t as T } from "./number-DbV1Dija.js";
18
+ import { i as E } from "./date-DCrsDTZc.js";
19
+ import { i as D, n as O, s as te } from "./avatar-DAPlDvhJ.js";
20
+ import { t as k } from "./badge-HpFqoqSY.js";
21
+ import { n as A } from "./field-affordance-recipes-DZhnIL_Y.js";
22
+ import { c as ne, o as re } from "./popover-7_m66eYW.js";
23
+ import { s as j } from "./data-display-DT_khPl_.js";
24
+ import { t as ie } from "./rich-text-editor-cRLC-eBK.js";
25
+ import { l as M, n as ae, o as oe, r as N, t as se } from "./mentions-utuUvH1K.js";
26
26
  import { Fragment as P, createElement as F, forwardRef as I, memo as L, useCallback as R, useEffect as z, useImperativeHandle as ce, useMemo as B, useRef as V, useState as H } from "react";
27
27
  import { Fragment as U, jsx as W, jsxs as G } from "react/jsx-runtime";
28
28
  import { AtSign as le, CornerDownRight as ue, File as K, FileText as de, Image as q, Loader2 as fe, MessageCircle as J, Paperclip as pe, Pencil as me, Pin as he, Smile as ge, Trash2 as _e, X as Y } from "lucide-react";
@@ -183,8 +183,8 @@ function Q(e = {}) {
183
183
  function ye(e) {
184
184
  return e.mimeType?.startsWith("image/") ? q : e.mimeType === "application/pdf" || e.mimeType?.startsWith("text/") ? de : e.mimeType ? K : pe;
185
185
  }
186
- var be = ({ attachment: e, editable: t = !1, onRemove: n, onRetry: a, accessors: s, strings: u, compact: d = !1, className: f }) => {
187
- let p = r(X, u), m = s?.getMediaUrl?.(e) ?? e.url, _ = s?.getMediaName?.(e) ?? e.name ?? p.attachmentFallback, v = ye(e), b = e.status === "uploading", x = e.status === "failed", S = b ? /* @__PURE__ */ G(C, {
186
+ var be = ({ attachment: e, editable: t = !1, onRemove: n, onRetry: a, accessors: c, strings: u, compact: d = !1, className: f }) => {
187
+ let p = r(X, u), m = c?.getMediaUrl?.(e) ?? e.url, _ = c?.getMediaName?.(e) ?? e.name ?? p.attachmentFallback, v = ye(e), b = e.status === "uploading", x = e.status === "failed", S = b ? /* @__PURE__ */ G(C, {
188
188
  size: "xs",
189
189
  className: "shrink-0",
190
190
  children: [p.attachmentUploadingLabel, typeof e.progress == "number" ? /* @__PURE__ */ G(U, { children: [" ", /* @__PURE__ */ W(ee, {
@@ -210,7 +210,7 @@ var be = ({ attachment: e, editable: t = !1, onRemove: n, onRetry: a, accessors:
210
210
  "aria-hidden": !0
211
211
  }), D = /* @__PURE__ */ G("span", {
212
212
  className: "inline-flex min-w-0 items-baseline gap-space-sm",
213
- children: [/* @__PURE__ */ W(c, {
213
+ children: [/* @__PURE__ */ W(s, {
214
214
  tag: "span",
215
215
  size: "xs",
216
216
  weight: "medium",
@@ -244,7 +244,7 @@ var be = ({ attachment: e, editable: t = !1, onRemove: n, onRetry: a, accessors:
244
244
  size: "sm",
245
245
  onClick: () => a(e.id),
246
246
  className: "shrink-0 text-destructive decoration-destructive/30 hover:decoration-destructive/60",
247
- children: /* @__PURE__ */ W(c, {
247
+ children: /* @__PURE__ */ W(s, {
248
248
  tag: "span",
249
249
  size: "xs",
250
250
  weight: "medium",
@@ -390,7 +390,7 @@ function Se(e = {}) {
390
390
  function Ce(e) {
391
391
  return !e || typeof e != "string" ? !1 : e.replace(/<[^>]*>/g, "").trim().length > 0;
392
392
  }
393
- var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors: r, resetKey: i = 0, onSubmit: o, onCancel: s, editingComment: l, replyingTo: u, strings: d, resources: f, onResourceSearch: p, attachments: h, maxAttachments: g, allowAttachments: _, initialValues: v, autoFocus: y = !1, inlineSubmit: b = !0, placeholder: x }, S) {
393
+ var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors: r, resetKey: i = 0, onSubmit: o, onCancel: c, editingComment: l, replyingTo: u, strings: d, resources: f, onResourceSearch: p, attachments: h, maxAttachments: g, allowAttachments: _, initialValues: v, autoFocus: y = !1, inlineSubmit: b = !0, placeholder: x }, S) {
394
394
  let C = Z(d), w = f, ee = p, T = _ ?? !0, E = h?.maxFiles ?? g ?? 5, D = B(() => ({
395
395
  ...h,
396
396
  maxFiles: E,
@@ -410,7 +410,7 @@ var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors:
410
410
  strings: C,
411
411
  onError: P
412
412
  }), L = () => {
413
- I.reset(), P(null), s?.();
413
+ I.reset(), P(null), c?.();
414
414
  };
415
415
  ce(S, () => ({
416
416
  focus: () => O.current?.focus(),
@@ -457,11 +457,11 @@ var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors:
457
457
  }, de = I.attachments.length > 0, q = !!l, J = !q && !!u, me = n ? C.composerSubmitting : q ? C.composerSave : C.composerSubmit, he = q ? /* @__PURE__ */ W(we, {
458
458
  label: C.composerEditingEyebrow,
459
459
  closeLabel: C.composerCancel,
460
- onClose: s ? L : void 0
460
+ onClose: c ? L : void 0
461
461
  }) : J ? /* @__PURE__ */ W(we, {
462
462
  label: Te(C.composerReplyingEyebrow, u.authorName),
463
463
  closeLabel: C.composerCancel,
464
- onClose: s ? L : void 0
464
+ onClose: c ? L : void 0
465
465
  }) : null, ge = B(() => {
466
466
  let e = [];
467
467
  return w && Object.keys(w).length > 0 && e.push({
@@ -490,7 +490,7 @@ var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors:
490
490
  disabled: n || I.isUploading,
491
491
  icon: n ? fe : void 0,
492
492
  children: me
493
- }), Y = q || J || s ? /* @__PURE__ */ W(a, {
493
+ }), Y = q || J || c ? /* @__PURE__ */ W(a, {
494
494
  type: "button",
495
495
  tone: "secondary",
496
496
  buttonStyle: "ghost",
@@ -577,7 +577,7 @@ var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors:
577
577
  },
578
578
  placeholder: x ?? C.composerPlaceholder,
579
579
  strings: { editorLabel: x ?? C.composerPlaceholder },
580
- minHeight: "3rem",
580
+ bodyHeight: "field",
581
581
  autoFocus: y || q || J,
582
582
  extraToolbarItems: ge,
583
583
  toolbarTrailing: Q,
@@ -603,14 +603,14 @@ var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors:
603
603
  }
604
604
  })]
605
605
  }),
606
- oe && /* @__PURE__ */ W(c, {
606
+ oe && /* @__PURE__ */ W(s, {
607
607
  role: "alert",
608
608
  size: "xs",
609
609
  type: "error",
610
610
  className: "comment-composer--attachment-error",
611
611
  children: oe
612
612
  }),
613
- A && /* @__PURE__ */ W(c, {
613
+ A && /* @__PURE__ */ W(s, {
614
614
  size: "xs",
615
615
  type: "error",
616
616
  children: A
@@ -629,7 +629,7 @@ var $ = I(function({ context: e, canComment: t = !0, submitting: n = !1, errors:
629
629
  function we({ label: e, closeLabel: t, onClose: n }) {
630
630
  return /* @__PURE__ */ G("div", {
631
631
  className: i("comment-composer--eyebrow bg-muted/30 ring-border/60 flex min-w-0 items-center justify-between gap-space-sm rounded-radius px-row-x ring-1 ring-inset", g.compact),
632
- children: [/* @__PURE__ */ W(s, { children: e }), n ? /* @__PURE__ */ W("button", {
632
+ children: [/* @__PURE__ */ W(c, { children: e }), n ? /* @__PURE__ */ W("button", {
633
633
  type: "button",
634
634
  onClick: n,
635
635
  className: i(A.target, A.focus, A.toggle),
@@ -674,6 +674,7 @@ function De(e) {
674
674
  if (a === "html") return /* @__PURE__ */ W("div", {
675
675
  className: "comment-content--component",
676
676
  children: /* @__PURE__ */ W(oe, {
677
+ className: "text-inherit",
677
678
  html: t.content ?? "",
678
679
  mentions: t.references,
679
680
  resources: n,
@@ -682,7 +683,8 @@ function De(e) {
682
683
  })
683
684
  });
684
685
  let o = je(t.content ?? "");
685
- return /* @__PURE__ */ W(c, {
686
+ return /* @__PURE__ */ W(s, {
687
+ type: "inherit",
686
688
  className: "comment-content--component whitespace-pre-line",
687
689
  children: o
688
690
  });
@@ -691,14 +693,16 @@ function Oe(e) {
691
693
  if (!e) return null;
692
694
  try {
693
695
  let t = JSON.parse(e);
694
- return !t || !Array.isArray(t.blocks) || t.blocks.length === 0 ? null : /* @__PURE__ */ W(c, {
696
+ return !t || !Array.isArray(t.blocks) || t.blocks.length === 0 ? null : /* @__PURE__ */ W(s, {
695
697
  tag: "div",
698
+ type: "inherit",
696
699
  className: x,
697
700
  children: t.blocks.map((e, t) => /* @__PURE__ */ W(P, { children: ke(e) }, e.id ?? `${e.type}-${t}`))
698
701
  });
699
702
  } catch {
700
703
  let t = je(e);
701
- return /* @__PURE__ */ W(c, {
704
+ return /* @__PURE__ */ W(s, {
705
+ type: "inherit",
702
706
  className: "whitespace-pre-line",
703
707
  children: t
704
708
  });
@@ -719,11 +723,13 @@ function ke(e) {
719
723
  }
720
724
  case "list": {
721
725
  let e = (Array.isArray(t.items) ? t.items : []).map((e) => Ae(String(e ?? ""))).filter((e) => e.length > 0);
722
- return e.length === 0 ? null : t.style === "ordered" ? /* @__PURE__ */ W("ol", { children: e.map((e, t) => /* @__PURE__ */ W("li", { children: /* @__PURE__ */ W(c, {
726
+ return e.length === 0 ? null : t.style === "ordered" ? /* @__PURE__ */ W("ol", { children: e.map((e, t) => /* @__PURE__ */ W("li", { children: /* @__PURE__ */ W(s, {
723
727
  tag: "span",
728
+ type: "inherit",
724
729
  children: e
725
- }) }, `${e}-${t}`)) }) : /* @__PURE__ */ W("ul", { children: e.map((e) => /* @__PURE__ */ W("li", { children: /* @__PURE__ */ W(c, {
730
+ }) }, `${e}-${t}`)) }) : /* @__PURE__ */ W("ul", { children: e.map((e) => /* @__PURE__ */ W("li", { children: /* @__PURE__ */ W(s, {
726
731
  tag: "span",
732
+ type: "inherit",
727
733
  children: e
728
734
  }) }, e)) });
729
735
  }
@@ -739,11 +745,10 @@ function ke(e) {
739
745
  type: "secondary"
740
746
  }), n.length > 0 && /* @__PURE__ */ W("cite", {
741
747
  className: "mt-1 block not-italic",
742
- children: /* @__PURE__ */ G(c, {
748
+ children: /* @__PURE__ */ G(s, {
743
749
  tag: "span",
744
750
  size: "xs",
745
751
  type: "secondary",
746
- className: "opacity-80",
747
752
  children: ["— ", n]
748
753
  })
749
754
  })]
@@ -778,7 +783,7 @@ function je(e) {
778
783
  }
779
784
  //#endregion
780
785
  //#region src/components/features/comments/partials/comment-item.tsx
781
- var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).toUpperCase() + e.slice(1).replace(/_/g, " "), Ie = L(function({ comment: e, canModerate: t, onDelete: r, onAttachmentRemove: o, onEdit: s, onPinToggle: l, onReact: h, onReply: g, allowReactions: y, allowReplies: b, sanitizer: x, strings: S, getMediaUrl: C, getMediaName: w, getStatusLabel: ee, formatRelativeTime: ne, resources: re, renderAttachment: j, renderReference: ie }) {
786
+ var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).toUpperCase() + e.slice(1).replace(/_/g, " "), Ie = L(function({ comment: e, canModerate: t, onDelete: r, onAttachmentRemove: o, onEdit: c, onPinToggle: l, onReact: h, onReply: g, allowReactions: y, allowReplies: b, sanitizer: x, strings: S, getMediaUrl: C, getMediaName: w, getStatusLabel: ee, formatRelativeTime: ne, resources: re, renderAttachment: j, renderReference: ie }) {
782
787
  let M = Z(S), ae = y ?? !0, oe = b ?? !0, N = ve({
783
788
  getMediaUrl: C,
784
789
  getMediaName: w,
@@ -788,11 +793,11 @@ var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).t
788
793
  if (!L) return Me;
789
794
  let e = L.trim();
790
795
  return e === "" ? Me : e.charAt(0).toUpperCase();
791
- }, [L]), V = B(() => Array.isArray(e.tagsArray) ? e.tagsArray.filter((e) => typeof e == "string") : e.tagsArray && typeof e.tagsArray == "object" ? Object.values(e.tagsArray).filter((e) => typeof e == "string") : [], [e.tagsArray]), U = B(() => (e.attachments ?? []).filter((e) => !!e && typeof e == "object"), [e.attachments]), le = ae ? e.reactions ?? [] : [], K = e.isPinned === !0, de = e.isEdited === !0, q = e.status && e.status !== "active", fe = q && e.status ? F(e.status) : null, J = e.canDelete === !0 || t === !0, pe = e.canEdit === !0 || t === !0, Y = !!oe && !!g && !!e.id, Q = !!ae && !!h && !!e.id, ye = !!l && !!t, xe = !!pe && !!s && !!e.id, Se = !!J && !!r && !!e.id, Ce = Y || Q || ye || xe || Se, $ = _(), [we, Te] = H(null), Ee = R((e) => {
796
+ }, [L]), V = B(() => Array.isArray(e.tagsArray) ? e.tagsArray.filter((e) => typeof e == "string") : e.tagsArray && typeof e.tagsArray == "object" ? Object.values(e.tagsArray).filter((e) => typeof e == "string") : [], [e.tagsArray]), U = B(() => (e.attachments ?? []).filter((e) => !!e && typeof e == "object"), [e.attachments]), le = ae ? e.reactions ?? [] : [], K = e.isPinned === !0, de = e.isEdited === !0, q = e.status && e.status !== "active", fe = q && e.status ? F(e.status) : null, J = e.canDelete === !0 || t === !0, pe = e.canEdit === !0 || t === !0, Y = !!oe && !!g && !!e.id, Q = !!ae && !!h && !!e.id, ye = !!l && !!t, xe = !!pe && !!c && !!e.id, Se = !!J && !!r && !!e.id, Ce = Y || Q || ye || xe || Se, $ = _(), [we, Te] = H(null), Ee = R((e) => {
792
797
  Te(e), $.show();
793
798
  }, [$]), Oe = U.length > 0;
794
799
  return /* @__PURE__ */ G("article", {
795
- className: i("comment-item--component group relative overflow-hidden rounded-radius border transition-colors", "border-border/60 bg-card px-surface pt-surface", Ce ? "pb-surface-xs" : "pb-surface"),
800
+ className: i("comment-item--component group relative overflow-hidden rounded-radius border transition-colors", "border-border/60 bg-card text-card-foreground px-surface pt-surface", Ce ? "pb-surface-xs" : "pb-surface"),
796
801
  "data-comment-id": e.id,
797
802
  children: [/* @__PURE__ */ G(m, {
798
803
  direction: "horizontal",
@@ -800,7 +805,7 @@ var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).t
800
805
  gap: "lg",
801
806
  className: "min-w-0",
802
807
  children: [/* @__PURE__ */ G(O, {
803
- className: "mt-0.5 size-avatar shrink-0",
808
+ className: "size-avatar shrink-0",
804
809
  children: [!!z && /* @__PURE__ */ W(te, {
805
810
  src: z,
806
811
  alt: L
@@ -812,60 +817,64 @@ var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).t
812
817
  className: "comment-item--body min-w-0 flex-1",
813
818
  children: [
814
819
  /* @__PURE__ */ G(m, {
815
- direction: "horizontal",
816
- align: "baseline",
817
- gap: "md",
818
- className: "min-w-0",
819
- children: [
820
- /* @__PURE__ */ W(c, {
821
- tag: "span",
822
- weight: "semibold",
823
- className: "truncate",
824
- children: L
825
- }),
826
- !!K && /* @__PURE__ */ W(f, {
827
- delayDuration: 0,
828
- children: /* @__PURE__ */ G(p, { children: [/* @__PURE__ */ W(u, {
829
- render: /* @__PURE__ */ W("span", { className: "inline-flex shrink-0 self-center" }),
830
- children: /* @__PURE__ */ W(he, {
831
- className: "text-muted-foreground size-icon-sm",
832
- "aria-hidden": !0
833
- })
834
- }), /* @__PURE__ */ W(d, {
835
- side: "top",
836
- className: "text-xs",
837
- children: M.pinned
838
- })] })
839
- }),
840
- /* @__PURE__ */ W(E, {
841
- value: e.createdAt,
842
- formatRelativeTime: I,
843
- size: "xs",
844
- className: "shrink-0 tabular-nums"
845
- }),
846
- !!de && /* @__PURE__ */ W(c, {
847
- tag: "span",
848
- size: "xs",
849
- type: "secondary",
850
- className: "shrink-0",
851
- children: M.edited
852
- }),
853
- !!q && !!fe && /* @__PURE__ */ W(k, {
854
- size: "sm",
855
- tone: "secondary",
856
- className: "self-center",
857
- children: fe
820
+ gap: "xs",
821
+ className: "comment-item--message min-w-0",
822
+ children: [/* @__PURE__ */ G(m, {
823
+ direction: "horizontal",
824
+ align: "baseline",
825
+ gap: "md",
826
+ className: "min-w-0",
827
+ children: [
828
+ /* @__PURE__ */ W(s, {
829
+ tag: "span",
830
+ type: "inherit",
831
+ weight: "semibold",
832
+ className: "truncate",
833
+ children: L
834
+ }),
835
+ !!K && /* @__PURE__ */ W(f, {
836
+ delayDuration: 0,
837
+ children: /* @__PURE__ */ G(p, { children: [/* @__PURE__ */ W(u, {
838
+ render: /* @__PURE__ */ W("span", { className: "inline-flex shrink-0 self-center" }),
839
+ children: /* @__PURE__ */ W(he, {
840
+ className: "text-muted-foreground size-icon-sm",
841
+ "aria-hidden": !0
842
+ })
843
+ }), /* @__PURE__ */ W(d, {
844
+ side: "top",
845
+ className: "text-xs",
846
+ children: M.pinned
847
+ })] })
848
+ }),
849
+ /* @__PURE__ */ W(E, {
850
+ value: e.createdAt,
851
+ formatRelativeTime: I,
852
+ size: "xs",
853
+ className: "shrink-0 tabular-nums"
854
+ }),
855
+ !!de && /* @__PURE__ */ W(s, {
856
+ tag: "span",
857
+ size: "xs",
858
+ type: "secondary",
859
+ className: "shrink-0",
860
+ children: M.edited
861
+ }),
862
+ !!q && !!fe && /* @__PURE__ */ W(k, {
863
+ size: "sm",
864
+ tone: "secondary",
865
+ className: "self-center",
866
+ children: fe
867
+ })
868
+ ]
869
+ }), /* @__PURE__ */ W("div", {
870
+ className: "leading-relaxed",
871
+ children: /* @__PURE__ */ W(De, {
872
+ comment: e,
873
+ resources: re,
874
+ renderReference: ie,
875
+ sanitizer: x
858
876
  })
859
- ]
860
- }),
861
- /* @__PURE__ */ W("div", {
862
- className: "mt-1 leading-relaxed",
863
- children: /* @__PURE__ */ W(De, {
864
- comment: e,
865
- resources: re,
866
- renderReference: ie,
867
- sanitizer: x
868
- })
877
+ })]
869
878
  }),
870
879
  V.length > 0 && /* @__PURE__ */ W("div", {
871
880
  className: "mt-space-md flex flex-wrap gap-space-sm",
@@ -911,8 +920,8 @@ var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).t
911
920
  children: /* @__PURE__ */ G(k, {
912
921
  size: "sm",
913
922
  tone: t.mine ? "info" : "secondary",
914
- className: "cursor-pointer transition-colors hover:opacity-90",
915
- children: [/* @__PURE__ */ W(c, {
923
+ className: "cursor-pointer transition-colors",
924
+ children: [/* @__PURE__ */ W(s, {
916
925
  tag: "span",
917
926
  size: "inherit",
918
927
  lineHeight: "none",
@@ -972,7 +981,7 @@ var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).t
972
981
  buttonStyle: "ghost",
973
982
  title: M.editLabel,
974
983
  "aria-label": M.editLabel,
975
- onClick: () => s(e),
984
+ onClick: () => c(e),
976
985
  children: /* @__PURE__ */ W(me, { className: "size-icon-md" })
977
986
  }),
978
987
  Se && /* @__PURE__ */ W(a, {
@@ -1042,7 +1051,7 @@ var Me = "?", Ne = (e) => e?.url, Pe = (e) => e?.name, Fe = (e) => e.charAt(0).t
1042
1051
  //#endregion
1043
1052
  //#region src/components/features/comments/comments.tsx
1044
1053
  function Re(t) {
1045
- let n = e(), r = t.composerPosition ?? n.composerPosition ?? "top", a = t.maxAttachments ?? 5, o = t.allowAttachments ?? !0, s = t.allowReactions ?? !0, l = t.allowReplies ?? !0, u = t.canComment ?? !1, d = t.canModerate ?? !1, f = t.onPinToggle, p = t.resources, h = t.attachments, g = Z(t.strings), y = t.title === void 0 ? g.title : t.title, b = t.confirmDelete ?? !0, x = _(), [S, C] = H(null), w = Q({
1054
+ let n = e(), r = t.composerPosition ?? n.composerPosition ?? "top", a = t.maxAttachments ?? 5, o = t.allowAttachments ?? !0, c = t.allowReactions ?? !0, l = t.allowReplies ?? !0, u = t.canComment ?? !1, d = t.canModerate ?? !1, f = t.onPinToggle, p = t.resources, h = t.attachments, g = Z(t.strings), y = t.title === void 0 ? g.title : t.title, b = t.confirmDelete ?? !0, x = _(), [S, C] = H(null), w = Q({
1046
1055
  onSubmit: t.onSubmit,
1047
1056
  onUpdate: t.onUpdate,
1048
1057
  onDelete: t.onDelete,
@@ -1093,7 +1102,7 @@ function Re(t) {
1093
1102
  onPinToggle: f,
1094
1103
  onReact: t.onReact,
1095
1104
  onReply: u && l ? O : void 0,
1096
- allowReactions: s,
1105
+ allowReactions: c,
1097
1106
  allowReplies: l,
1098
1107
  sanitizer: t.sanitizer,
1099
1108
  strings: t.strings,
@@ -1130,10 +1139,10 @@ function Re(t) {
1130
1139
  !(y === !1 || !y && !g.subtitle) && /* @__PURE__ */ G(m, {
1131
1140
  gap: "normal",
1132
1141
  className: "comments--header",
1133
- children: [!!y && /* @__PURE__ */ W(c, {
1142
+ children: [!!y && /* @__PURE__ */ W(s, {
1134
1143
  weight: "semibold",
1135
1144
  children: y
1136
- }), !!g.subtitle && /* @__PURE__ */ W(c, {
1145
+ }), !!g.subtitle && /* @__PURE__ */ W(s, {
1137
1146
  type: "secondary",
1138
1147
  children: g.subtitle
1139
1148
  })]
@@ -1156,4 +1165,4 @@ function Re(t) {
1156
1165
  //#endregion
1157
1166
  export { Ee as a, Se as c, ve as d, Z as f, De as i, be as l, Le as n, $ as o, X as p, Ie as r, Te as s, Re as t, Q as u };
1158
1167
 
1159
- //# sourceMappingURL=comments-BpDuCUUu.js.map
1168
+ //# sourceMappingURL=comments-BYYlTA8E.js.map