themelia-react-ui 1.0.0 → 1.0.1

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 (257) hide show
  1. package/CHANGELOG.md +53 -1
  2. package/README.md +39 -6
  3. package/dist/{accordion-BRWh3BM1.js → accordion-B-5Focs8.js} +2 -2
  4. package/dist/{accordion-BRWh3BM1.js.map → accordion-B-5Focs8.js.map} +1 -1
  5. package/dist/{affordance-geometry.generated-DXl-Zb3Z.js → affordance-geometry.generated-D8Jcfb0G.js} +10 -1
  6. package/dist/affordance-geometry.generated-D8Jcfb0G.js.map +1 -0
  7. package/dist/{ai-artifact-DkOArd3-.js → ai-artifact-B5tPpXnS.js} +5 -5
  8. package/dist/{ai-artifact-DkOArd3-.js.map → ai-artifact-B5tPpXnS.js.map} +1 -1
  9. package/dist/{app-shell-BH_bGcE2.js → app-shell-at8Kt4l_.js} +3 -3
  10. package/dist/{app-shell-BH_bGcE2.js.map → app-shell-at8Kt4l_.js.map} +1 -1
  11. package/dist/{attachment-DsLgNHXt.js → attachment-BO2R47wn.js} +2 -2
  12. package/dist/{attachment-DsLgNHXt.js.map → attachment-BO2R47wn.js.map} +1 -1
  13. package/dist/{auth-BDB1V_2q.js → auth-OFwWSAap.js} +4 -4
  14. package/dist/{auth-BDB1V_2q.js.map → auth-OFwWSAap.js.map} +1 -1
  15. package/dist/{avatar-CsnWaYmt.js → avatar-Bpzty83c.js} +73 -68
  16. package/dist/avatar-Bpzty83c.js.map +1 -0
  17. package/dist/base/accordion.js +1 -1
  18. package/dist/base/attachment.js +1 -1
  19. package/dist/base/avatar.js +1 -1
  20. package/dist/base/cards.js +2 -2
  21. package/dist/base/cascader.js +6 -6
  22. package/dist/base/choice-inputs.js +3 -2
  23. package/dist/base/code-block.js +1 -1
  24. package/dist/base/combobox.js +1 -1
  25. package/dist/base/command.js +1 -1
  26. package/dist/base/date-pickers.js +2 -2
  27. package/dist/base/display.js +1 -1
  28. package/dist/base/feedback.js +4 -3
  29. package/dist/base/forms-numeric.js +1 -1
  30. package/dist/base/forms.js +2 -2
  31. package/dist/base/inline-edit.js +236 -0
  32. package/dist/base/inline-edit.js.map +1 -0
  33. package/dist/base/media-gallery.js +1 -1
  34. package/dist/base/navigation.js +3 -3
  35. package/dist/base/popover-menu.js +1 -1
  36. package/dist/base/popover.js +1 -1
  37. package/dist/base/repeaters.js +4 -4
  38. package/dist/base/sheet.js +1 -1
  39. package/dist/base/sidebar.js +1 -1
  40. package/dist/base/signature-pad.js +3 -3
  41. package/dist/base/skeleton.js +1 -1
  42. package/dist/base/spinner.js +1 -1
  43. package/dist/base/structure.js +1 -1
  44. package/dist/base/text-inputs.js +2 -2
  45. package/dist/base/tree.js +1 -1
  46. package/dist/base/upload-queue.js +1 -1
  47. package/dist/base/upload.js +3 -3
  48. package/dist/base/value-inputs.js +1 -1
  49. package/dist/blocks/admin.js +6 -6
  50. package/dist/blocks/ai.js +6 -6
  51. package/dist/blocks/analytics/usage-card.js +3 -0
  52. package/dist/blocks/analytics.js +361 -360
  53. package/dist/blocks/analytics.js.map +1 -1
  54. package/dist/blocks/collaboration.js +1 -1
  55. package/dist/blocks/commerce/receipt.js +1 -1
  56. package/dist/blocks/commerce.js +15 -15
  57. package/dist/blocks/data-display.js +1 -1
  58. package/dist/blocks/onboarding.js +3 -3
  59. package/dist/blocks/planning.js +311 -0
  60. package/dist/blocks/planning.js.map +1 -0
  61. package/dist/blocks/timelines.js +1 -1
  62. package/dist/{cards-BMB0laLG.js → cards-Cum56XOF.js} +3 -3
  63. package/dist/{cards-BMB0laLG.js.map → cards-Cum56XOF.js.map} +1 -1
  64. package/dist/checkbox-BavDRjF7.js +34 -0
  65. package/dist/checkbox-BavDRjF7.js.map +1 -0
  66. package/dist/{choice-inputs-CavA-SGV.js → choice-inputs-CC7XqPQO.js} +166 -191
  67. package/dist/choice-inputs-CC7XqPQO.js.map +1 -0
  68. package/dist/{code-block-DIlqzoiD.js → code-block-xHKbAJDj.js} +2 -2
  69. package/dist/{code-block-DIlqzoiD.js.map → code-block-xHKbAJDj.js.map} +1 -1
  70. package/dist/{combobox-HDftpzxt.js → combobox-DEbdr-3u.js} +2 -2
  71. package/dist/{combobox-HDftpzxt.js.map → combobox-DEbdr-3u.js.map} +1 -1
  72. package/dist/{combobox-CHD750do.js → combobox-xv3yJbzl.js} +7 -7
  73. package/dist/{combobox-CHD750do.js.map → combobox-xv3yJbzl.js.map} +1 -1
  74. package/dist/{command-D0kWBZfd.js → command-C0xe7u9B.js} +2 -2
  75. package/dist/{command-D0kWBZfd.js.map → command-C0xe7u9B.js.map} +1 -1
  76. package/dist/{comments-CvYeglMS.js → comments-DviPLnwy.js} +8 -8
  77. package/dist/{comments-CvYeglMS.js.map → comments-DviPLnwy.js.map} +1 -1
  78. package/dist/components/base/cards/smart-card.types.d.ts +2 -0
  79. package/dist/components/base/inline-edit/index.d.ts +2 -0
  80. package/dist/components/base/inline-edit/inline-edit.d.ts +81 -0
  81. package/dist/components/base/inline-edit/inline-edit.recipes.d.ts +6 -0
  82. package/dist/components/base/structure/structure.recipes.d.ts +6 -0
  83. package/dist/components/blocks/analytics/index.d.ts +1 -0
  84. package/dist/components/blocks/analytics/usage-card/index.d.ts +3 -0
  85. package/dist/components/blocks/analytics/usage-card/types.d.ts +52 -0
  86. package/dist/components/blocks/analytics/usage-card/usage-card.d.ts +6 -0
  87. package/dist/components/blocks/analytics/usage-card/usage-card.data.d.ts +19 -0
  88. package/dist/components/blocks/analytics/usage-card/usage-card.strings.d.ts +22 -0
  89. package/dist/components/blocks/planning/index.d.ts +3 -0
  90. package/dist/components/blocks/planning/task-card.d.ts +3 -0
  91. package/dist/components/blocks/planning/task-card.strings.d.ts +15 -0
  92. package/dist/components/blocks/planning/task-card.types.d.ts +66 -0
  93. package/dist/{containers-CPNyNo1_.js → containers-6s-ucRQQ.js} +3 -2
  94. package/dist/containers-6s-ucRQQ.js.map +1 -0
  95. package/dist/{data-display-b3d1TfL4.js → data-display-cWIRdeaf.js} +8 -8
  96. package/dist/{data-display-b3d1TfL4.js.map → data-display-cWIRdeaf.js.map} +1 -1
  97. package/dist/{date-picker-DI6kPNof.js → date-picker-CA6ogMQB.js} +5 -5
  98. package/dist/{date-picker-DI6kPNof.js.map → date-picker-CA6ogMQB.js.map} +1 -1
  99. package/dist/{date-pickers-ByP6Cv2z.js → date-pickers-BPIKLdsD.js} +4 -4
  100. package/dist/{date-pickers-ByP6Cv2z.js.map → date-pickers-BPIKLdsD.js.map} +1 -1
  101. package/dist/{display-ByI5tkqy.js → display-CFM5myut.js} +3 -3
  102. package/dist/{display-ByI5tkqy.js.map → display-CFM5myut.js.map} +1 -1
  103. package/dist/features/activities.js +4 -4
  104. package/dist/features/ai-chat.js +4 -4
  105. package/dist/features/async-preview.js +4 -4
  106. package/dist/features/combobox.js +1 -1
  107. package/dist/features/comments.js +1 -1
  108. package/dist/features/data-view.js +5 -5
  109. package/dist/features/email-composer.js +11 -11
  110. package/dist/features/event-calendar.js +2 -2
  111. package/dist/features/event-calendar.js.map +1 -1
  112. package/dist/features/filters.js +1 -1
  113. package/dist/features/global-search.js +6 -6
  114. package/dist/features/map.js +3 -3
  115. package/dist/features/media-library.js +8 -8
  116. package/dist/features/mentions.js +1 -1
  117. package/dist/features/overlays.js +1 -1
  118. package/dist/features/products.js +43 -42
  119. package/dist/features/products.js.map +1 -1
  120. package/dist/features/questionnaire.js +107 -106
  121. package/dist/features/questionnaire.js.map +1 -1
  122. package/dist/features/resource-assignment.js +5 -5
  123. package/dist/features/resource.js +7 -7
  124. package/dist/features/rich-text-editor.js +1 -1
  125. package/dist/features/schema-form.js +11 -11
  126. package/dist/features/schema-form.js.map +1 -1
  127. package/dist/features/suggestions.js +2 -2
  128. package/dist/features/sync.js +2 -2
  129. package/dist/features/table.js +1 -1
  130. package/dist/features/theme-tweaker.js +11 -11
  131. package/dist/feedback-DWUkgEjR.js +233 -0
  132. package/dist/feedback-DWUkgEjR.js.map +1 -0
  133. package/dist/{field-affordance-recipes-CHdUtn2Z.js → field-affordance-recipes-IjzPrCTw.js} +2 -2
  134. package/dist/{field-affordance-recipes-CHdUtn2Z.js.map → field-affordance-recipes-IjzPrCTw.js.map} +1 -1
  135. package/dist/{filters-qtrcv1hf.js → filters-BhsUtsxW.js} +9 -9
  136. package/dist/{filters-qtrcv1hf.js.map → filters-BhsUtsxW.js.map} +1 -1
  137. package/dist/{form-field-C6W-y2hR.js → form-field-Bn7ZH1rA.js} +2 -2
  138. package/dist/{form-field-C6W-y2hR.js.map → form-field-Bn7ZH1rA.js.map} +1 -1
  139. package/dist/{form-sizing-39NohSqn.js → form-sizing-BWs70_a2.js} +4 -3
  140. package/dist/{form-sizing-39NohSqn.js.map → form-sizing-BWs70_a2.js.map} +1 -1
  141. package/dist/{forms-BF-HSbff.js → forms-B7pzS25o.js} +5 -5
  142. package/dist/{forms-BF-HSbff.js.map → forms-B7pzS25o.js.map} +1 -1
  143. package/dist/{forms-numeric-Y15Bg5Nr.js → forms-numeric-BUBxELBv.js} +18 -18
  144. package/dist/{forms-numeric-Y15Bg5Nr.js.map → forms-numeric-BUBxELBv.js.map} +1 -1
  145. package/dist/{header-B8ex54cY.js → header-C59QZyxV.js} +6 -6
  146. package/dist/{header-B8ex54cY.js.map → header-C59QZyxV.js.map} +1 -1
  147. package/dist/{hooks-D6UBVzf2.js → hooks-CM1Vp9Pe.js} +2 -2
  148. package/dist/{hooks-D6UBVzf2.js.map → hooks-CM1Vp9Pe.js.map} +1 -1
  149. package/dist/{input-DMorJiTI.js → input-WwYQZJzG.js} +3 -3
  150. package/dist/{input-DMorJiTI.js.map → input-WwYQZJzG.js.map} +1 -1
  151. package/dist/layout/app-shell.js +1 -1
  152. package/dist/layout/auth.js +1 -1
  153. package/dist/layout/containers.js +1 -1
  154. package/dist/layout/header.js +1 -1
  155. package/dist/layout/hooks.js +1 -1
  156. package/dist/layout/navigation.js +1 -1
  157. package/dist/layout/page.js +1 -1
  158. package/dist/layout/settings.js +1 -1
  159. package/dist/layout/sidebar.js +2 -2
  160. package/dist/layout/workspace.js +1 -1
  161. package/dist/layout.js +10 -10
  162. package/dist/lib/affordance-geometry.generated.d.ts +9 -0
  163. package/dist/{media-gallery-Ca4YmvBi.js → media-gallery-DhDRgnVZ.js} +2 -2
  164. package/dist/{media-gallery-Ca4YmvBi.js.map → media-gallery-DhDRgnVZ.js.map} +1 -1
  165. package/dist/{mentions-CRio8mTm.js → mentions-B8Ko-fhS.js} +4 -4
  166. package/dist/{mentions-CRio8mTm.js.map → mentions-B8Ko-fhS.js.map} +1 -1
  167. package/dist/{message-B5-6LeYl.js → message-COsdEvXT.js} +2 -2
  168. package/dist/{message-B5-6LeYl.js.map → message-COsdEvXT.js.map} +1 -1
  169. package/dist/{navigation-DqEITuD2.js → navigation-BUIn2Qxx.js} +2 -2
  170. package/dist/{navigation-DqEITuD2.js.map → navigation-BUIn2Qxx.js.map} +1 -1
  171. package/dist/{navigation-BTrEb5u4.js → navigation-DBEu4POU.js} +3 -3
  172. package/dist/{navigation-BTrEb5u4.js.map → navigation-DBEu4POU.js.map} +1 -1
  173. package/dist/{navigation-row-recipes-BFpvGPGE.js → navigation-row-recipes-GVh11KiT.js} +2 -2
  174. package/dist/{navigation-row-recipes-BFpvGPGE.js.map → navigation-row-recipes-GVh11KiT.js.map} +1 -1
  175. package/dist/{overlays-DBqV0J_V.js → overlays-B11wZka6.js} +4 -4
  176. package/dist/{overlays-DBqV0J_V.js.map → overlays-B11wZka6.js.map} +1 -1
  177. package/dist/{page-BMBGjJY8.js → page-BV6ioQg3.js} +5 -5
  178. package/dist/{page-BMBGjJY8.js.map → page-BV6ioQg3.js.map} +1 -1
  179. package/dist/{page-header-BH41wCyY.js → page-header-DQRa0jug.js} +2 -2
  180. package/dist/{page-header-BH41wCyY.js.map → page-header-DQRa0jug.js.map} +1 -1
  181. package/dist/{popover-TInGXsjg.js → popover-CoLDEg19.js} +2 -2
  182. package/dist/{popover-TInGXsjg.js.map → popover-CoLDEg19.js.map} +1 -1
  183. package/dist/{popover-menu-BzqXqE72.js → popover-menu-GLIQTJTx.js} +4 -4
  184. package/dist/{popover-menu-BzqXqE72.js.map → popover-menu-GLIQTJTx.js.map} +1 -1
  185. package/dist/progress-BOe8l_FZ.js +168 -0
  186. package/dist/progress-BOe8l_FZ.js.map +1 -0
  187. package/dist/{receipt-DYWTQGEc.js → receipt-BM8xsGFy.js} +3 -3
  188. package/dist/{receipt-DYWTQGEc.js.map → receipt-BM8xsGFy.js.map} +1 -1
  189. package/dist/{rich-text-editor-BZSJchAF.js → rich-text-editor-CoVrTiSv.js} +2 -2
  190. package/dist/{rich-text-editor-BZSJchAF.js.map → rich-text-editor-CoVrTiSv.js.map} +1 -1
  191. package/dist/services/actions.js +1 -1
  192. package/dist/{settings-D9f_wdIC.js → settings-BnCyyPOJ.js} +3 -3
  193. package/dist/{settings-D9f_wdIC.js.map → settings-BnCyyPOJ.js.map} +1 -1
  194. package/dist/{sheet-vOUloJ4O.js → sheet-B-q914Ad.js} +2 -2
  195. package/dist/{sheet-vOUloJ4O.js.map → sheet-B-q914Ad.js.map} +1 -1
  196. package/dist/{sidebar-C3UKkbC5.js → sidebar-C_2p3Tfj.js} +6 -6
  197. package/dist/{sidebar-C3UKkbC5.js.map → sidebar-C_2p3Tfj.js.map} +1 -1
  198. package/dist/{sidebar-CNBKFDRW.js → sidebar-DPR7fmqN.js} +4 -4
  199. package/dist/{sidebar-CNBKFDRW.js.map → sidebar-DPR7fmqN.js.map} +1 -1
  200. package/dist/{skeleton-BvRhK8y-.js → skeleton-CmT1ppqb.js} +2 -2
  201. package/dist/{skeleton-BvRhK8y-.js.map → skeleton-CmT1ppqb.js.map} +1 -1
  202. package/dist/{smart-card-B5FcKODh.js → smart-card-CYLn46e6.js} +119 -118
  203. package/dist/smart-card-CYLn46e6.js.map +1 -0
  204. package/dist/{spinner-JtlFJ7Nc.js → spinner-BY9HbUEh.js} +2 -2
  205. package/dist/{spinner-JtlFJ7Nc.js.map → spinner-BY9HbUEh.js.map} +1 -1
  206. package/dist/{structure-BvW4vG4H.js → structure-MvKVq-oL.js} +13 -13
  207. package/dist/{structure-BvW4vG4H.js.map → structure-MvKVq-oL.js.map} +1 -1
  208. package/dist/{structure.recipes-DjqnBpwz.js → structure.recipes-Bqhf9oIh.js} +2 -2
  209. package/dist/structure.recipes-Bqhf9oIh.js.map +1 -0
  210. package/dist/style.css +1 -1
  211. package/dist/{table-ghtAQ-JJ.js → table-BS39xnlq.js} +6 -6
  212. package/dist/{table-ghtAQ-JJ.js.map → table-BS39xnlq.js.map} +1 -1
  213. package/dist/{tabs-DY09eoZg.js → tabs-B5cNMWiP.js} +2 -2
  214. package/dist/{tabs-DY09eoZg.js.map → tabs-B5cNMWiP.js.map} +1 -1
  215. package/dist/{text-inputs-BhOcedTo.js → text-inputs-Dh9XGyiS.js} +4 -4
  216. package/dist/{text-inputs-BhOcedTo.js.map → text-inputs-Dh9XGyiS.js.map} +1 -1
  217. package/dist/{timelines-CnZ2S_Gr.js → timelines-B9ICkQcV.js} +2 -2
  218. package/dist/{timelines-CnZ2S_Gr.js.map → timelines-B9ICkQcV.js.map} +1 -1
  219. package/dist/{tree-COD9BGdU.js → tree-BdWSaoFT.js} +2 -2
  220. package/dist/{tree-COD9BGdU.js.map → tree-BdWSaoFT.js.map} +1 -1
  221. package/dist/{upload-DIzw1dx1.js → upload-D8Za5x_c.js} +4 -4
  222. package/dist/{upload-DIzw1dx1.js.map → upload-D8Za5x_c.js.map} +1 -1
  223. package/dist/{upload-queue-xRJ3qDmd.js → upload-queue-hIIYBLS7.js} +3 -3
  224. package/dist/{upload-queue-xRJ3qDmd.js.map → upload-queue-hIIYBLS7.js.map} +1 -1
  225. package/dist/usage-card-DnmnJ58D.js +458 -0
  226. package/dist/usage-card-DnmnJ58D.js.map +1 -0
  227. package/dist/{value-inputs-Co1fu-xv.js → value-inputs-DX2dbxjj.js} +7 -7
  228. package/dist/{value-inputs-Co1fu-xv.js.map → value-inputs-DX2dbxjj.js.map} +1 -1
  229. package/dist/{workspace-Cbqz4FzN.js → workspace-C1PZmk8L.js} +4 -4
  230. package/dist/{workspace-Cbqz4FzN.js.map → workspace-C1PZmk8L.js.map} +1 -1
  231. package/docs/consumer-skill/SKILL.md +120 -17
  232. package/docs/consumer-skill/examples/detail.tsx +7 -8
  233. package/docs/consumer-skill/examples/manifest.json +14 -0
  234. package/docs/consumer-skill/examples/planning-usage-edit.tsx +29 -0
  235. package/docs/consumer-skill/examples/scoped-directory.tsx +77 -0
  236. package/docs/consumer-skill/references/composition.md +103 -0
  237. package/docs/consumer-skill/references/design-contract.md +4 -3
  238. package/docs/consumer-skill/references/discovery.md +17 -0
  239. package/docs/consumer-skill/references/installation.md +20 -3
  240. package/docs/consumer-skill/references/integration.md +12 -0
  241. package/docs/consumer-skill/references/public-api.json +452 -229
  242. package/docs/consumer-skill/references/review.md +74 -0
  243. package/docs/consumer-skill/references/tokens.json +1 -1
  244. package/docs/consumer-skill/references/workflows.md +97 -1
  245. package/docs/consumer-skill/scripts/check-composition.mjs +31 -0
  246. package/docs/consumer-skill/scripts/composition-policy.mjs +155 -0
  247. package/docs/consumer-skill/scripts/discovery.mjs +6 -1
  248. package/docs/consumer-skill/scripts/surface-policy.mjs +22 -0
  249. package/package.json +24 -3
  250. package/dist/affordance-geometry.generated-DXl-Zb3Z.js.map +0 -1
  251. package/dist/avatar-CsnWaYmt.js.map +0 -1
  252. package/dist/choice-inputs-CavA-SGV.js.map +0 -1
  253. package/dist/containers-CPNyNo1_.js.map +0 -1
  254. package/dist/feedback-a9j9J-9A.js +0 -391
  255. package/dist/feedback-a9j9J-9A.js.map +0 -1
  256. package/dist/smart-card-B5FcKODh.js.map +0 -1
  257. package/dist/structure.recipes-DjqnBpwz.js.map +0 -1
@@ -4,21 +4,22 @@ import { useStrings as r } from "./lib/strings.js";
4
4
  import { t as i } from "./utils-C2EKeIw3.js";
5
5
  import { l as a, n as o, o as s, s as c } from "./buttons-Co6GavvM.js";
6
6
  import { a as l } from "./typography-Cv8MT-82.js";
7
- import { t as u } from "./structure-BvW4vG4H.js";
8
- import { t as d } from "./icon-size-B6PVwjbC.js";
9
- import { n as f } from "./surface-recipes-CQfRr-VL.js";
10
- import { n as p } from "./action-menu-Cx3SdfbN.js";
11
- import { Fragment as m, forwardRef as h, isValidElement as g, useCallback as ee, useState as _ } from "react";
7
+ import { n as u } from "./structure.recipes-Bqhf9oIh.js";
8
+ import { t as d } from "./structure-MvKVq-oL.js";
9
+ import { t as f } from "./icon-size-B6PVwjbC.js";
10
+ import { n as p } from "./surface-recipes-CQfRr-VL.js";
11
+ import { n as m } from "./action-menu-Cx3SdfbN.js";
12
+ import { Fragment as h, forwardRef as g, isValidElement as _, useCallback as ee, useState as te } from "react";
12
13
  import { jsx as v, jsxs as y } from "react/jsx-runtime";
13
- import { ChevronDown as b, Info as x, MoreHorizontal as te } from "lucide-react";
14
- import { cva as S } from "class-variance-authority";
14
+ import { ChevronDown as b, Info as x, MoreHorizontal as S } from "lucide-react";
15
+ import { cva as C } from "class-variance-authority";
15
16
  //#region src/components/base/feedback/alert.tsx
16
- var C = S([
17
+ var w = C([
17
18
  "alert--component relative grid w-full grid-cols-[0_1fr] items-start gap-y-normal rounded-radius border p-surface text-left",
18
19
  "has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-space-sm",
19
20
  "has-[>[data-slot=alert-action]]:sm:grid-cols-[0_minmax(0,1fr)_auto] has-[>svg]:has-[>[data-slot=alert-action]]:sm:grid-cols-[auto_minmax(0,1fr)_auto] has-[>[data-slot=alert-action]]:gap-x-space-sm",
20
21
  "[&>svg]:row-span-2 [&>svg]:mt-[calc((1em*1.375-var(--spacing-icon))/2)] [&>svg]:shrink-0",
21
- d.md
22
+ f.md
22
23
  ], {
23
24
  variants: {
24
25
  tone: {
@@ -49,31 +50,31 @@ var C = S([
49
50
  variant: "default"
50
51
  }
51
52
  });
52
- function w(e) {
53
+ function T(e) {
53
54
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint";
54
55
  }
55
- var T = h(function({ className: e, tone: t, variant: n, role: r = "alert", ...a }, o) {
56
+ var E = g(function({ className: e, tone: t, variant: n, role: r = "alert", ...a }, o) {
56
57
  return /* @__PURE__ */ v("div", {
57
58
  ref: o,
58
59
  "data-slot": "alert",
59
60
  "data-tone": t ?? "neutral",
60
61
  "data-variant": n ?? "default",
61
62
  role: r,
62
- className: i(C({
63
+ className: i(w({
63
64
  tone: t,
64
65
  variant: n
65
66
  }), e),
66
67
  ...a
67
68
  });
68
69
  });
69
- T.displayName = "Alert";
70
- var E = h(function({ className: e, children: t, ...n }, r) {
70
+ E.displayName = "Alert";
71
+ var D = g(function({ className: e, children: t, ...n }, r) {
71
72
  return /* @__PURE__ */ v("div", {
72
73
  ref: r,
73
74
  "data-slot": "alert-title",
74
75
  className: i("alert--title col-start-2 min-h-icon leading-snug [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:opacity-80", e),
75
76
  ...n,
76
- children: w(t) ? /* @__PURE__ */ v(l, {
77
+ children: T(t) ? /* @__PURE__ */ v(l, {
77
78
  tag: "span",
78
79
  weight: "semibold",
79
80
  lineHeight: "snug",
@@ -81,24 +82,24 @@ var E = h(function({ className: e, children: t, ...n }, r) {
81
82
  }) : t
82
83
  });
83
84
  });
84
- E.displayName = "AlertTitle";
85
- var D = h(function({ className: e, children: t, ...n }, r) {
86
- return /* @__PURE__ */ v(u, {
85
+ D.displayName = "AlertTitle";
86
+ var O = g(function({ className: e, children: t, ...n }, r) {
87
+ return /* @__PURE__ */ v(d, {
87
88
  ref: r,
88
89
  "data-slot": "alert-description",
89
90
  gap: "xs",
90
91
  align: "start",
91
92
  className: i("alert--description col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:opacity-80 [&_p]:leading-relaxed", e),
92
93
  ...n,
93
- children: w(t) ? /* @__PURE__ */ v(l, {
94
+ children: T(t) ? /* @__PURE__ */ v(l, {
94
95
  tag: "span",
95
96
  type: "secondary",
96
97
  children: t
97
98
  }) : t
98
99
  });
99
100
  });
100
- D.displayName = "AlertDescription";
101
- var O = h(function({ className: e, ...t }, n) {
101
+ O.displayName = "AlertDescription";
102
+ var k = g(function({ className: e, ...t }, n) {
102
103
  return /* @__PURE__ */ v("dl", {
103
104
  ref: n,
104
105
  "data-slot": "alert-metadata",
@@ -106,8 +107,8 @@ var O = h(function({ className: e, ...t }, n) {
106
107
  ...t
107
108
  });
108
109
  });
109
- O.displayName = "AlertMetadata";
110
- var k = h(function({ className: e, icon: t, label: n, value: r, numeric: a = !1, ...o }, s) {
110
+ k.displayName = "AlertMetadata";
111
+ var ne = g(function({ className: e, icon: t, label: n, value: r, numeric: a = !1, ...o }, s) {
111
112
  return /* @__PURE__ */ y("div", {
112
113
  ref: s,
113
114
  "data-slot": "alert-metadata-item",
@@ -118,7 +119,7 @@ var k = h(function({ className: e, icon: t, label: n, value: r, numeric: a = !1,
118
119
  /* @__PURE__ */ v("dt", {
119
120
  "data-slot": "alert-metadata-label",
120
121
  className: "alert--metadata-label shrink-0",
121
- children: w(n) ? /* @__PURE__ */ v(l, {
122
+ children: T(n) ? /* @__PURE__ */ v(l, {
122
123
  tag: "span",
123
124
  size: "xs",
124
125
  type: "secondary",
@@ -129,7 +130,7 @@ var k = h(function({ className: e, icon: t, label: n, value: r, numeric: a = !1,
129
130
  /* @__PURE__ */ v("dd", {
130
131
  "data-slot": "alert-metadata-value",
131
132
  className: "alert--metadata-value m-0 min-w-0",
132
- children: w(r) ? /* @__PURE__ */ v(l, {
133
+ children: T(r) ? /* @__PURE__ */ v(l, {
133
134
  tag: "span",
134
135
  size: "xs",
135
136
  weight: "semibold",
@@ -141,9 +142,9 @@ var k = h(function({ className: e, icon: t, label: n, value: r, numeric: a = !1,
141
142
  ]
142
143
  });
143
144
  });
144
- k.displayName = "AlertMetadataItem";
145
- var A = h(function({ className: e, ...t }, n) {
146
- return /* @__PURE__ */ v(u, {
145
+ ne.displayName = "AlertMetadataItem";
146
+ var A = g(function({ className: e, ...t }, n) {
147
+ return /* @__PURE__ */ v(d, {
147
148
  ref: n,
148
149
  direction: "horizontal",
149
150
  align: "center",
@@ -190,14 +191,14 @@ function P({ className: e, ...t }) {
190
191
  ...t
191
192
  });
192
193
  }
193
- function ne({ className: e, ...t }) {
194
+ function F({ className: e, ...t }) {
194
195
  return /* @__PURE__ */ v("div", {
195
196
  "data-slot": "card-content",
196
197
  className: i("card-content--primitive", e),
197
198
  ...t
198
199
  });
199
200
  }
200
- function F({ className: e, ...t }) {
201
+ function re({ className: e, ...t }) {
201
202
  return /* @__PURE__ */ v("div", {
202
203
  "data-slot": "card-footer",
203
204
  className: i("card-footer--primitive", e),
@@ -209,18 +210,18 @@ function F({ className: e, ...t }) {
209
210
  var I = {
210
211
  root: "flex flex-col w-full rounded-radius box-border overflow-hidden py-surface gap-space-xl transition-[background-color,border-color,box-shadow] duration-150",
211
212
  shell: "@container/card flex flex-col w-full rounded-radius box-border overflow-hidden py-surface gap-space-xl transition-[background-color,border-color,box-shadow] duration-150",
212
- surfaceCard: `bg-card ${f.frame.shell} shadow-sm text-card-foreground`,
213
- surfaceDefault: `bg-card ${f.frame.shell} shadow-sm text-card-foreground`,
213
+ surfaceCard: `bg-card ${p.frame.shell} shadow-sm text-card-foreground`,
214
+ surfaceDefault: `bg-card ${p.frame.shell} shadow-sm text-card-foreground`,
214
215
  surfaceFlat: "bg-transparent border-0 shadow-none text-foreground",
215
- surfaceFramed: `bg-card ${f.frame.shell} shadow-sm ring-4 ring-border/30 text-card-foreground`,
216
- surfaceRaised: `bg-card ${f.frame.shell} shadow-md text-card-foreground`,
217
- surfaceSunken: `bg-muted ${f.frame.shell} text-foreground`,
216
+ surfaceFramed: `bg-card ${p.frame.shell} shadow-sm ring-4 ring-border/30 text-card-foreground`,
217
+ surfaceRaised: `bg-card ${p.frame.shell} shadow-md text-card-foreground`,
218
+ surfaceSunken: `bg-muted ${p.frame.shell} text-foreground`,
218
219
  header: "flex flex-col gap-normal px-surface box-border",
219
220
  headerRow: "flex-col @sm/card:flex-row items-start justify-between gap-space-lg pb-0",
220
221
  headerRowSingle: "@sm/card:items-center",
221
222
  headerLeading: "min-w-0 w-full @sm/card:w-auto flex-1",
222
223
  headerTrailing: "flex max-w-full flex-wrap shrink-0 items-center gap-space-md",
223
- headerDivider: `${f.frame.header} [&.border-b]:!pb-surface`,
224
+ headerDivider: `${p.frame.header} [&.border-b]:!pb-surface`,
224
225
  title: "min-w-0 leading-tight text-card-foreground",
225
226
  titleSm: "text-sm",
226
227
  titleMd: "text-base",
@@ -228,7 +229,7 @@ var I = {
228
229
  description: "text-sm text-muted-foreground leading-normal",
229
230
  content: "px-surface box-border min-w-0",
230
231
  footer: "flex items-center px-surface box-border",
231
- footerDivider: `${f.frame.footer} [&.border-t]:!pt-surface`,
232
+ footerDivider: `${p.frame.footer} [&.border-t]:!pt-surface`,
232
233
  alert: "px-surface",
233
234
  alertWithHeader: "-mt-space-xs",
234
235
  expandToggle: "flex justify-center pb-surface -mt-space-md"
@@ -255,7 +256,7 @@ var I = {
255
256
  expandableBottom: "pb-surface",
256
257
  alertOffsetWithHeader: I.alertWithHeader,
257
258
  alertOffsetStandalone: ""
258
- }, re = {
259
+ }, ie = {
259
260
  card: I.surfaceCard,
260
261
  flat: I.surfaceFlat,
261
262
  framed: I.surfaceFramed
@@ -263,20 +264,20 @@ var I = {
263
264
  //#endregion
264
265
  //#region src/components/base/cards/partials/has-renderable-content.ts
265
266
  function z(e) {
266
- return e == null || typeof e == "boolean" ? !1 : typeof e == "string" ? e.trim().length > 0 : typeof e == "number" || typeof e == "bigint" ? !0 : Array.isArray(e) ? e.some(z) : !g(e) || e.type !== m || z(e.props.children);
267
+ return e == null || typeof e == "boolean" ? !1 : typeof e == "string" ? e.trim().length > 0 : typeof e == "number" || typeof e == "bigint" ? !0 : Array.isArray(e) ? e.some(z) : !_(e) || e.type !== h || z(e.props.children);
267
268
  }
268
269
  //#endregion
269
270
  //#region src/components/base/cards/partials/card-primitives.tsx
270
- var ie = {
271
+ var B = {
271
272
  sm: I.titleSm,
272
273
  md: I.titleMd,
273
274
  lg: I.titleLg
274
- }, B = {
275
+ }, ae = {
275
276
  sm: "sm",
276
277
  md: "base",
277
278
  lg: "lg"
278
279
  };
279
- function ae({ className: e, ...t }) {
280
+ function oe({ className: e, ...t }) {
280
281
  return /* @__PURE__ */ v(j, {
281
282
  className: i(L.root, I.shell, e),
282
283
  ...t
@@ -291,13 +292,13 @@ function V({ className: e, textGap: t = "normal", ...n }) {
291
292
  function H({ className: t, children: r, size: a, ...o }) {
292
293
  let { defaultScale: s } = n(), c = e(a, s);
293
294
  return z(r) ? typeof r != "string" && typeof r != "number" && typeof r != "bigint" ? /* @__PURE__ */ v(N, {
294
- className: i(L.title, I.title, "font-medium", ie[c], t),
295
+ className: i(L.title, I.title, "font-medium", B[c], t),
295
296
  ...o,
296
297
  children: r
297
298
  }) : /* @__PURE__ */ v(l, {
298
299
  "data-slot": "card-title",
299
300
  tag: "div",
300
- size: B[c],
301
+ size: ae[c],
301
302
  weight: "semibold",
302
303
  lineHeight: "tight",
303
304
  className: i(L.title, I.title, t),
@@ -319,32 +320,32 @@ function U({ className: e, children: t, ...n }) {
319
320
  children: t
320
321
  }) : null;
321
322
  }
322
- function oe({ className: e, ...t }) {
323
- return /* @__PURE__ */ v(ne, {
323
+ function se({ className: e, ...t }) {
324
+ return /* @__PURE__ */ v(F, {
324
325
  className: i(L.content, I.content, e),
325
326
  ...t
326
327
  });
327
328
  }
328
- function se({ className: e, ...t }) {
329
- return /* @__PURE__ */ v(F, {
329
+ function ce({ className: e, ...t }) {
330
+ return /* @__PURE__ */ v(re, {
330
331
  className: i(L.footer, I.footer, e),
331
332
  ...t
332
333
  });
333
334
  }
334
335
  //#endregion
335
336
  //#region src/components/base/cards/partials/smart-card-alert.tsx
336
- function ce({ alert: e, alertTone: t, hasHeader: n, className: r }) {
337
+ function le({ alert: e, alertTone: t, hasHeader: n, className: r }) {
337
338
  return /* @__PURE__ */ v("div", {
338
339
  className: i(L.alert, R.alertX, r, n ? R.alertOffsetWithHeader : R.alertOffsetStandalone),
339
- children: /* @__PURE__ */ v(T, {
340
+ children: /* @__PURE__ */ v(E, {
340
341
  tone: t,
341
- children: /* @__PURE__ */ v(D, { children: e })
342
+ children: /* @__PURE__ */ v(O, { children: e })
342
343
  })
343
344
  });
344
345
  }
345
346
  //#endregion
346
347
  //#region src/components/base/display/surface-title.tsx
347
- function le({ title: e, suffix: t, size: n = "base", className: r, suffixClassName: a, dataSlot: o }) {
348
+ function ue({ title: e, suffix: t, size: n = "base", className: r, suffixClassName: a, dataSlot: o }) {
348
349
  return /* @__PURE__ */ y(l, {
349
350
  tag: "div",
350
351
  size: n,
@@ -363,14 +364,14 @@ function le({ title: e, suffix: t, size: n = "base", className: r, suffixClassNa
363
364
  }
364
365
  //#endregion
365
366
  //#region src/components/base/cards/partials/smart-card-actions-menu.tsx
366
- function ue({ actions: e, actionsLabel: t }) {
367
+ function de({ actions: e, actionsLabel: t }) {
367
368
  let n = e.map((e, t) => ({
368
369
  ...e,
369
370
  id: e.id ?? `card-action-${t}`
370
371
  }));
371
- return /* @__PURE__ */ v(p, {
372
+ return /* @__PURE__ */ v(m, {
372
373
  actions: n,
373
- icon: te,
374
+ icon: S,
374
375
  srText: t,
375
376
  align: "end",
376
377
  closeOnSelect: !0,
@@ -385,7 +386,7 @@ function ue({ actions: e, actionsLabel: t }) {
385
386
  }
386
387
  //#endregion
387
388
  //#region src/components/base/cards/partials/smart-card-header-row.tsx
388
- function de({ tooltipLabel: e }) {
389
+ function fe({ tooltipLabel: e }) {
389
390
  return /* @__PURE__ */ v(a, { render: (t) => {
390
391
  let n = t;
391
392
  return /* @__PURE__ */ v(o, {
@@ -401,23 +402,23 @@ function de({ tooltipLabel: e }) {
401
402
  });
402
403
  } });
403
404
  }
404
- function fe({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "normal", tooltip: o, tooltipLabel: l, headerStart: d, headerEnd: f, headerAction: p, actions: m, actionsLabel: h, titleSize: g, className: ee }) {
405
- let _ = Array.isArray(m) ? m : [], b = _.length > 0, x = z(e), te = z(t), S = z(n), C = z(r), w = z(o), T = z(d), E = z(f), D = z(p), O = x || te || S || w, k = E || D || b;
405
+ function pe({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "normal", tooltip: o, tooltipLabel: l, headerStart: u, headerEnd: f, headerAction: p, actions: m, actionsLabel: h, titleSize: g, className: _ }) {
406
+ let ee = Array.isArray(m) ? m : [], te = ee.length > 0, b = z(e), x = z(t), S = z(n), C = z(r), w = z(o), T = z(u), E = z(f), D = z(p), O = b || x || S || w, k = E || D || te;
406
407
  return /* @__PURE__ */ y(V, {
407
- className: i(I.headerRow, !C && !T && I.headerRowSingle, R.headerX, ee),
408
- children: [/* @__PURE__ */ y(u, {
408
+ className: i(I.headerRow, !C && !T && I.headerRowSingle, R.headerX, _),
409
+ children: [/* @__PURE__ */ y(d, {
409
410
  gap: a,
410
411
  className: i("card--header-start", I.headerLeading),
411
412
  children: [
412
- !!T && d,
413
+ !!T && u,
413
414
  !!O && /* @__PURE__ */ y("div", {
414
415
  className: "card--title-row flex min-w-0 items-start gap-space-sm",
415
416
  children: [
416
- !!x && /* @__PURE__ */ v("span", {
417
+ !!b && /* @__PURE__ */ v("span", {
417
418
  className: "card--icon flex shrink-0 items-center pt-space-2xs text-muted-foreground [&_svg]:size-icon",
418
419
  children: e
419
420
  }),
420
- /* @__PURE__ */ v(le, {
421
+ /* @__PURE__ */ v(ue, {
421
422
  dataSlot: "card-title",
422
423
  title: t,
423
424
  suffix: S ? n : void 0,
@@ -425,7 +426,7 @@ function fe({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "n
425
426
  className: "card--title flex-1",
426
427
  suffixClassName: "card--title-suffix"
427
428
  }),
428
- !!w && /* @__PURE__ */ y(s, { children: [/* @__PURE__ */ v(de, { tooltipLabel: l }), /* @__PURE__ */ v(c, { children: o })] })
429
+ !!w && /* @__PURE__ */ y(s, { children: [/* @__PURE__ */ v(fe, { tooltipLabel: l }), /* @__PURE__ */ v(c, { children: o })] })
429
430
  ]
430
431
  }),
431
432
  !!C && /* @__PURE__ */ v(U, {
@@ -438,8 +439,8 @@ function fe({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "n
438
439
  children: [
439
440
  !!E && f,
440
441
  !!D && p,
441
- !!b && /* @__PURE__ */ v(ue, {
442
- actions: _,
442
+ !!te && /* @__PURE__ */ v(de, {
443
+ actions: ee,
443
444
  actionsLabel: h
444
445
  })
445
446
  ]
@@ -448,23 +449,23 @@ function fe({ icon: e, title: t, titleSuffix: n, description: r, textGap: a = "n
448
449
  }
449
450
  //#endregion
450
451
  //#region src/components/base/cards/smart-card.strings.ts
451
- var pe = {
452
+ var me = {
452
453
  actionsLabel: "Card actions",
453
454
  tooltipLabel: "Card info",
454
455
  expandLabel: "Expand card",
455
456
  collapseLabel: "Collapse card"
456
- }, W = h(function({ icon: a, title: s, titleSuffix: c, description: d, textGap: p = "normal", tooltip: m, tooltipAriaLabel: h, footerText: g, alert: x, alertTone: te = "neutral", surface: S, padding: C = "md", headerPlacement: w = "inside", contentGap: T, titleSize: E, actions: D, actionsLabel: O, headerAction: k, headerStart: A, headerEnd: j, contentTop: M, contentBottom: N, footerSlot: P, headerDivider: ne, footerDivider: F = !1, expandable: I = !1, defaultExpanded: ie = !1, expanded: B, onExpandedChange: V, children: H, className: U, headerClassName: le, contentClassName: ue, footerClassName: de, strings: W, ...me }, he) {
457
- let { defaultSurface: ge, defaultHeaderDivider: _e } = t(), { defaultScale: ve } = n(), ye = e(E, ve), G = {
457
+ }, W = g(function({ icon: a, title: s, titleSuffix: c, description: f, textGap: m = "normal", tooltip: h, tooltipAriaLabel: g, footerText: _, alert: x, alertTone: S = "neutral", surface: C, padding: w = "md", headerPlacement: T = "inside", gap: E, contentGap: D, titleSize: O, actions: k, actionsLabel: ne, headerAction: A, headerStart: j, headerEnd: M, contentTop: N, contentBottom: P, footerSlot: F, headerDivider: re, footerDivider: I = !1, expandable: B = !1, defaultExpanded: ae = !1, expanded: V, onExpandedChange: H, children: U, className: ue, headerClassName: de, contentClassName: fe, footerClassName: W, strings: he, ...ge }, _e) {
458
+ let { defaultSurface: ve, defaultHeaderDivider: ye } = t(), { defaultScale: be } = n(), xe = e(O, be), G = {
458
459
  none: "px-0",
459
460
  sm: "px-surface-xs",
460
461
  md: "px-surface",
461
462
  lg: "px-surface-lg"
462
- }[C], be = {
463
+ }[w], Se = {
463
464
  none: "py-0",
464
465
  sm: "py-surface-xs",
465
466
  md: "py-surface",
466
467
  lg: "py-surface-lg"
467
- }[C], K = {
468
+ }[w], K = {
468
469
  ...R,
469
470
  headerX: G,
470
471
  contentX: G,
@@ -474,77 +475,77 @@ var pe = {
474
475
  sm: "!pb-surface-xs",
475
476
  md: "!pb-surface",
476
477
  lg: "!pb-surface-lg"
477
- }[C],
478
+ }[w],
478
479
  footerDividerY: {
479
480
  none: "!pt-0",
480
481
  sm: "!pt-surface-xs",
481
482
  md: "!pt-surface",
482
483
  lg: "!pt-surface-lg"
483
- }[C]
484
- }, q = w === "frame", xe = Array.isArray(D) ? D : [], J = r(pe, W), Se = O ?? J.actionsLabel, Y = I !== !1 && I !== void 0, Ce = typeof I == "object" && I?.collapsedMaxHeight !== void 0 ? I.collapsedMaxHeight : "12rem", we = typeof Ce == "number" ? `${Ce}px` : Ce, Te = B !== void 0, [Ee, De] = _(ie), X = Te ? B : Ee, Oe = ee(() => {
484
+ }[w]
485
+ }, q = T === "frame", Ce = Array.isArray(k) ? k : [], J = r(me, he), we = ne ?? J.actionsLabel, Y = B !== !1 && B !== void 0, Te = typeof B == "object" && B?.collapsedMaxHeight !== void 0 ? B.collapsedMaxHeight : "12rem", Ee = typeof Te == "number" ? `${Te}px` : Te, De = V !== void 0, [Oe, ke] = te(ae), X = De ? V : Oe, Ae = ee(() => {
485
486
  let e = !X;
486
- Te || De(e), V?.(e);
487
+ De || ke(e), H?.(e);
487
488
  }, [
488
489
  X,
489
- Te,
490
- V
491
- ]), ke = z(a) || z(s) || z(d) || xe.length > 0 || z(k) || z(A) || z(j), Ae = z(x), je = z(g), Z = z(P), Me = z(M), Ne = z(N), Pe = Me || Ne || z(H) || Y, Fe = ke && (je || Z) && !Ae && !Pe && !q, Ie = h && h.trim().length > 0 ? h : J.tooltipLabel, Le = Y ? { maxHeight: X ? "" : we } : void 0, Q = S ?? ge ?? "framed", Re = ne ?? _e ?? !1, $ = Fe && (Re || F);
492
- return /* @__PURE__ */ y(ae, {
493
- ...me,
494
- "data-header-placement": w,
495
- ref: he,
490
+ De,
491
+ H
492
+ ]), je = z(a) || z(s) || z(f) || Ce.length > 0 || z(A) || z(j) || z(M), Me = z(x), Ne = z(_), Z = z(F), Pe = z(N), Fe = z(P), Ie = Pe || Fe || z(U) || Y, Le = je && (Ne || Z) && !Me && !Ie && !q, Re = g && g.trim().length > 0 ? g : J.tooltipLabel, ze = Y ? { maxHeight: X ? "" : Ee } : void 0, Q = C ?? ve ?? "framed", Be = re ?? ye ?? !1, $ = Le && (Be || I);
493
+ return /* @__PURE__ */ y(oe, {
494
+ ...ge,
495
+ "data-header-placement": T,
496
+ ref: _e,
496
497
  "data-surface": Q,
497
- className: i(re[Q], K.shell, be, C === "none" && "gap-space-md", $ && "gap-0", q && "rounded-radius bg-muted p-surface-xs pt-0 gap-0 ring-0", Q === "flat" && !q && "overflow-visible", Y && i("relative mb-space-xl !overflow-visible", K.expandableBottom), U),
498
+ className: i(ie[Q], K.shell, Se, u({ gap: E ?? (w === "none" ? "md" : "xl") }), $ && "gap-0", q && "rounded-radius bg-muted p-surface-xs pt-0 gap-0 ring-0", Q === "flat" && !q && "overflow-visible", Y && i("relative mb-space-xl !overflow-visible", K.expandableBottom), ue),
498
499
  children: [
499
- !!ke && /* @__PURE__ */ v(fe, {
500
+ !!je && /* @__PURE__ */ v(pe, {
500
501
  icon: a,
501
502
  title: s,
502
503
  titleSuffix: c,
503
- description: d,
504
- textGap: p,
505
- tooltip: m,
506
- tooltipLabel: Ie,
507
- headerStart: A,
508
- headerEnd: j,
509
- headerAction: k,
510
- actions: xe,
511
- actionsLabel: Se,
512
- titleSize: ye,
513
- className: i(Re && !$ && i(f.frame.header, K.headerDividerY), $ && K.headerDividerY, K.headerX, q && "flex-row items-center min-h-action px-surface-xs py-space-2xs [&_.card--title-row]:items-center [&_.card--icon]:pt-0", le)
504
+ description: f,
505
+ textGap: m,
506
+ tooltip: h,
507
+ tooltipLabel: Re,
508
+ headerStart: j,
509
+ headerEnd: M,
510
+ headerAction: A,
511
+ actions: Ce,
512
+ actionsLabel: we,
513
+ titleSize: xe,
514
+ className: i(Be && !$ && i(p.frame.header, K.headerDividerY), $ && K.headerDividerY, K.headerX, q && "flex-row items-center min-h-action px-surface-xs py-space-2xs [&_.card--title-row]:items-center [&_.card--icon]:pt-0", de)
514
515
  }),
515
516
  /* @__PURE__ */ y("div", {
516
- className: q ? i("card--body-surface flex min-w-0 flex-col gap-space-xl rounded-inner bg-card text-card-foreground", f.frame.shell, be) : "contents",
517
+ className: q ? i("card--body-surface flex min-w-0 flex-col rounded-inner bg-card text-card-foreground", u({ gap: E ?? "xl" }), p.frame.shell, Se) : "contents",
517
518
  children: [
518
- !!Ae && /* @__PURE__ */ v(ce, {
519
+ !!Me && /* @__PURE__ */ v(le, {
519
520
  alert: x,
520
- alertTone: te,
521
- hasHeader: ke,
521
+ alertTone: S,
522
+ hasHeader: je,
522
523
  className: G
523
524
  }),
524
- !!Pe && /* @__PURE__ */ y(oe, {
525
- className: i(K.contentX, K.contentY, Y && "relative overflow-hidden transition-[max-height] duration-500 ease-in-out", ue),
526
- style: Le,
525
+ !!Ie && /* @__PURE__ */ y(se, {
526
+ className: i(K.contentX, K.contentY, Y && "relative overflow-hidden transition-[max-height] duration-500 ease-in-out", fe),
527
+ style: ze,
527
528
  children: [
528
- !!Me && M,
529
- T ? /* @__PURE__ */ v(u, {
530
- gap: T,
531
- children: H
532
- }) : H,
533
- !!Ne && N,
529
+ !!Pe && N,
530
+ D ? /* @__PURE__ */ v(d, {
531
+ gap: D,
532
+ children: U
533
+ }) : U,
534
+ !!Fe && P,
534
535
  !!Y && !X && /* @__PURE__ */ v("div", {
535
536
  "aria-hidden": "true",
536
537
  className: i(L.collapseFade, "pointer-events-none absolute inset-x-0 bottom-0 h-20 rounded-b-radius bg-linear-to-t to-transparent", Q === "flat" ? "from-background" : "from-card")
537
538
  })
538
539
  ]
539
540
  }),
540
- (je || Z) && /* @__PURE__ */ y(se, {
541
- className: i(K.footerX, Z ? "flex-col items-stretch gap-space-md" : "justify-end", (F || $) && i(f.frame.footer, K.footerDividerY), de),
542
- children: [je && (typeof g == "string" || typeof g == "number" || typeof g == "bigint" ? /* @__PURE__ */ v(l, {
541
+ (Ne || Z) && /* @__PURE__ */ y(ce, {
542
+ className: i(K.footerX, Z ? "flex-col items-stretch gap-space-md" : "justify-end", (I || $) && i(p.frame.footer, K.footerDividerY), W),
543
+ children: [Ne && (typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? /* @__PURE__ */ v(l, {
543
544
  tag: "span",
544
545
  size: "xs",
545
546
  type: "secondary",
546
- children: g
547
- }) : g), Z && P]
547
+ children: _
548
+ }) : _), Z && F]
548
549
  })
549
550
  ]
550
551
  }),
@@ -556,10 +557,10 @@ var pe = {
556
557
  buttonStyle: "outline",
557
558
  size: "sm",
558
559
  iconOnly: !0,
559
- onClick: Oe,
560
+ onClick: Ae,
560
561
  "aria-expanded": X,
561
562
  "aria-label": X ? J.collapseLabel : J.expandLabel,
562
- className: i(L.expandToggleButton, "rounded-full", i(f.frame.shell, "bg-background text-foreground shadow-sm"), "hover:bg-muted/40 transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"),
563
+ className: i(L.expandToggleButton, "rounded-full", i(p.frame.shell, "bg-background text-foreground shadow-sm"), "hover:bg-muted/40 transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"),
563
564
  children: /* @__PURE__ */ v(b, {
564
565
  "aria-hidden": "true",
565
566
  className: i("size-icon transition-transform duration-300", X && "rotate-180")
@@ -570,8 +571,8 @@ var pe = {
570
571
  });
571
572
  });
572
573
  W.displayName = "Card";
573
- var me = W;
574
+ var he = W;
574
575
  //#endregion
575
- export { E as _, U as a, ae as c, re as d, T as f, k as g, O as h, oe as i, H as l, D as m, me as n, se as o, A as p, pe as r, V as s, W as t, z as u };
576
+ export { D as _, U as a, oe as c, ie as d, E as f, ne as g, k as h, se as i, H as l, O as m, he as n, ce as o, A as p, me as r, V as s, W as t, z as u };
576
577
 
577
- //# sourceMappingURL=smart-card-B5FcKODh.js.map
578
+ //# sourceMappingURL=smart-card-CYLn46e6.js.map