impact-nova 3.0.0-alpha.2 → 3.0.0-alpha.20

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 (294) hide show
  1. package/README.md +1 -1
  2. package/dist/_virtual/index.js +4 -4
  3. package/dist/_virtual/index2.js +4 -4
  4. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +3 -1
  5. package/dist/components/data/ag-grid-react/ag-grid-list.demo-board.d.ts +46 -0
  6. package/dist/components/data/ag-grid-react/ag-grid-list.js +9 -8
  7. package/dist/components/data/ag-grid-react/ag-grid-list.key-attributes.d.ts +1 -0
  8. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +65 -3
  9. package/dist/components/data/ag-grid-react/build-list-drag-column-defs.d.ts +8 -0
  10. package/dist/components/data/ag-grid-react/build-list-drag-column-defs.js +28 -0
  11. package/dist/components/data/ag-grid-react/cell-renderers/badge-cell-renderer.d.ts +2 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/badge-cell-renderer.js +15 -14
  13. package/dist/components/data/ag-grid-react/cell-renderers/badge-icon-registry.d.ts +10 -0
  14. package/dist/components/data/ag-grid-react/cell-renderers/badge-icon-registry.js +17 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/drag-handle-cell-renderer.d.ts +18 -0
  16. package/dist/components/data/ag-grid-react/cell-renderers/drag-handle-cell-renderer.js +32 -0
  17. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +71 -46
  18. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +48 -45
  19. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +45 -7
  20. package/dist/components/data/ag-grid-react/cell-renderers/index.js +70 -58
  21. package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +88 -76
  22. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +31 -33
  23. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +18 -17
  24. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +5 -11
  25. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +127 -51
  26. package/dist/components/data/ag-grid-react/editable-utils.d.ts +9 -1
  27. package/dist/components/data/ag-grid-react/editable-utils.js +46 -41
  28. package/dist/components/data/ag-grid-react/headers/custom-header.js +110 -108
  29. package/dist/components/data/ag-grid-react/headers/header-search-input.js +203 -199
  30. package/dist/components/data/ag-grid-react/index.d.ts +6 -1
  31. package/dist/components/data/ag-grid-react/index.js +316 -248
  32. package/dist/components/data/ag-grid-react/list-drag-grid-options.d.ts +34 -0
  33. package/dist/components/data/ag-grid-react/list-drag-grid-options.js +110 -0
  34. package/dist/components/data/ag-grid-react/list-drag-preview-card.d.ts +4 -0
  35. package/dist/components/data/ag-grid-react/list-drag-preview-card.js +14 -0
  36. package/dist/components/data/ag-grid-react/list-drag-preview-snapshot.d.ts +20 -0
  37. package/dist/components/data/ag-grid-react/list-drag-preview-snapshot.js +42 -0
  38. package/dist/components/data/ag-grid-react/list-find-highlight.d.ts +6 -0
  39. package/dist/components/data/ag-grid-react/list-find-highlight.js +7 -0
  40. package/dist/components/data/ag-grid-react/list-row-move.d.ts +84 -0
  41. package/dist/components/data/ag-grid-react/list-row-move.js +74 -0
  42. package/dist/components/data/ag-grid-react/numeric-column-header-alignment.d.ts +9 -0
  43. package/dist/components/data/ag-grid-react/numeric-column-header-alignment.js +67 -0
  44. package/dist/components/data/ag-grid-react/process-backend-columndefs.d.ts +10 -2
  45. package/dist/components/data/ag-grid-react/process-backend-columndefs.js +84 -0
  46. package/dist/components/data/ag-grid-react/use-ag-grid-list-drag.d.ts +67 -0
  47. package/dist/components/data/ag-grid-react/use-ag-grid-list-drag.js +162 -0
  48. package/dist/components/data/ag-grid-react/use-list-drag-preview.d.ts +20 -0
  49. package/dist/components/data/ag-grid-react/use-list-drag-preview.js +148 -0
  50. package/dist/components/data/ag-grid-react/use-list-find.d.ts +36 -0
  51. package/dist/components/data/ag-grid-react/use-list-row-drop-zones.d.ts +46 -0
  52. package/dist/components/data/ag-grid-react/use-list-row-drop-zones.js +92 -0
  53. package/dist/components/data/data-table/build-column-tree-from-grid.js +15 -15
  54. package/dist/components/data/data-table/column-picker-authority.js +9 -9
  55. package/dist/components/data/data-table/data-table-column-apply.js +30 -29
  56. package/dist/components/data/data-table/data-table-column-tree-cache.js +62 -60
  57. package/dist/components/data/data-table/data-table-list-header.d.ts +7 -0
  58. package/dist/components/data/data-table/data-table-list-header.js +31 -0
  59. package/dist/components/data/data-table/data-table-overlay.d.ts +6 -0
  60. package/dist/components/data/data-table/data-table-overlay.js +18 -0
  61. package/dist/components/data/data-table/data-table-picker-column-eligibility.d.ts +3 -0
  62. package/dist/components/data/data-table/data-table-picker-column-eligibility.js +24 -4
  63. package/dist/components/data/data-table/data-table.js +35 -34
  64. package/dist/components/data/data-table/data-table.types.d.ts +13 -2
  65. package/dist/components/data/data-table/index.d.ts +10 -0
  66. package/dist/components/data/data-table/index.js +64 -52
  67. package/dist/components/data/data-table/use-data-table-viewport.d.ts +10 -0
  68. package/dist/components/data/data-table/use-data-table-viewport.js +31 -0
  69. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +3 -2
  70. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +3 -2
  71. package/dist/components/data/expandable-list-item/index.d.ts +2 -0
  72. package/dist/components/data/expandable-list-item/index.js +20 -16
  73. package/dist/components/data/expandable-list-item/product-card-hero.d.ts +15 -0
  74. package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.d.ts +8 -0
  75. package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.js +41 -0
  76. package/dist/components/data/expandable-list-item/product-card-metrics-toggle.d.ts +13 -0
  77. package/dist/components/data/expandable-list-item/product-card-metrics-toggle.js +27 -0
  78. package/dist/components/data/expandable-list-item/sku-picker-chrome.d.ts +40 -0
  79. package/dist/components/data/expandable-list-item/sku-picker-chrome.js +150 -0
  80. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +2 -1
  81. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +5 -4
  82. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +3 -2
  83. package/dist/components/data/scenario-comparison/flatten-scenario-comparison-rows.d.ts +2 -0
  84. package/dist/components/data/scenario-comparison/flatten-scenario-comparison-rows.js +16 -0
  85. package/dist/components/data/scenario-comparison/index.d.ts +3 -0
  86. package/dist/components/data/scenario-comparison/index.js +6 -0
  87. package/dist/components/data/scenario-comparison/scenario-comparison-column.d.ts +12 -0
  88. package/dist/components/data/scenario-comparison/scenario-comparison-column.js +172 -0
  89. package/dist/components/data/scenario-comparison/scenario-comparison-label.d.ts +6 -0
  90. package/dist/components/data/scenario-comparison/scenario-comparison-label.js +64 -0
  91. package/dist/components/data/scenario-comparison/scenario-comparison.d.ts +5 -0
  92. package/dist/components/data/scenario-comparison/scenario-comparison.js +127 -0
  93. package/dist/components/data/scenario-comparison/scenario-comparison.types.d.ts +56 -0
  94. package/dist/components/data/scenario-comparison/scenario-comparison.variants.d.ts +7 -0
  95. package/dist/components/data/scenario-comparison/scenario-comparison.variants.js +29 -0
  96. package/dist/components/data-display/badge/index.d.ts +2 -0
  97. package/dist/components/data-display/badge/index.js +4 -2
  98. package/dist/components/data-display/badge/trophy-icon.d.ts +6 -0
  99. package/dist/components/data-display/badge/trophy-icon.js +28 -0
  100. package/dist/components/data-display/chart/chart-scatter3d.d.ts +39 -0
  101. package/dist/components/data-display/chart/chart-scatter3d.js +180 -0
  102. package/dist/components/data-display/chart/chart.js +125 -112
  103. package/dist/components/data-display/chart/chart.utils.js +122 -92
  104. package/dist/components/data-display/stereo-scatter/index.d.ts +2 -0
  105. package/dist/components/data-display/stereo-scatter/index.js +10 -0
  106. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.d.ts +41 -0
  107. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.js +178 -0
  108. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.d.ts +14 -0
  109. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.js +29 -0
  110. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.d.ts +23 -0
  111. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.js +80 -0
  112. package/dist/components/data-display/stereo-scatter/internals/stereo-engine.d.ts +120 -0
  113. package/dist/components/data-display/stereo-scatter/internals/stereo-engine.js +519 -0
  114. package/dist/components/data-display/stereo-scatter/internals/stereo-math.d.ts +64 -0
  115. package/dist/components/data-display/stereo-scatter/internals/stereo-math.js +129 -0
  116. package/dist/components/data-display/stereo-scatter/internals/stereo-model.d.ts +37 -0
  117. package/dist/components/data-display/stereo-scatter/internals/stereo-model.js +71 -0
  118. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.d.ts +33 -0
  119. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.js +19 -0
  120. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.d.ts +4 -0
  121. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.js +19 -0
  122. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.d.ts +2 -0
  123. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.js +75 -0
  124. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.d.ts +2 -0
  125. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.js +149 -0
  126. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.d.ts +13 -0
  127. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.js +93 -0
  128. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.d.ts +2 -0
  129. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.js +62 -0
  130. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.d.ts +3 -0
  131. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.js +41 -0
  132. package/dist/components/data-display/stereo-scatter/stereo-scatter.d.ts +12 -0
  133. package/dist/components/data-display/stereo-scatter/stereo-scatter.js +107 -0
  134. package/dist/components/data-display/stereo-scatter/stereo-scatter.stories-data.d.ts +11 -0
  135. package/dist/components/data-display/stereo-scatter/stereo-scatter.types.d.ts +69 -0
  136. package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.d.ts +13 -0
  137. package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.js +42 -0
  138. package/dist/components/feedback/find-bar/collect-find-matches.d.ts +35 -0
  139. package/dist/components/feedback/find-bar/collect-find-matches.js +68 -0
  140. package/dist/components/feedback/find-bar/find-bar-shortcuts.d.ts +5 -0
  141. package/dist/components/feedback/find-bar/find-bar-shortcuts.js +27 -0
  142. package/dist/components/feedback/find-bar/find-bar.d.ts +7 -0
  143. package/dist/components/feedback/find-bar/find-bar.js +266 -0
  144. package/dist/components/feedback/find-bar/find-bar.types.d.ts +32 -0
  145. package/dist/components/feedback/find-bar/index.d.ts +4 -0
  146. package/dist/components/feedback/find-bar/index.js +11 -0
  147. package/dist/components/feedback/tooltip/button-icon-tooltip.d.ts +6 -1
  148. package/dist/components/feedback/tooltip/button-icon-tooltip.js +22 -17
  149. package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
  150. package/dist/components/feedback/tooltip/use-overflow-tooltip.js +44 -36
  151. package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
  152. package/dist/components/flows/filter-panel/filter-panel.js +4 -4
  153. package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.d.ts +5 -0
  154. package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.js +73 -0
  155. package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.d.ts +5 -0
  156. package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.js +49 -0
  157. package/dist/components/flows/iris-chat/IrisChatSnapTile.d.ts +8 -0
  158. package/dist/components/flows/iris-chat/IrisChatSnapTile.js +30 -0
  159. package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.d.ts +3 -0
  160. package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.js +25 -0
  161. package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.d.ts +4 -0
  162. package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.js +113 -0
  163. package/dist/components/flows/iris-chat/index.d.ts +3 -1
  164. package/dist/components/flows/iris-chat/index.js +58 -53
  165. package/dist/components/flows/iris-chat/iris-chat-artifact.js +46 -36
  166. package/dist/components/flows/iris-chat/iris-chat-chrome.d.ts +39 -0
  167. package/dist/components/flows/iris-chat/iris-chat-chrome.js +311 -0
  168. package/dist/components/flows/iris-chat/iris-chat-close-animation.d.ts +12 -0
  169. package/dist/components/flows/iris-chat/iris-chat-close-animation.js +21 -0
  170. package/dist/components/flows/iris-chat/iris-chat-composer.js +291 -234
  171. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +16 -0
  172. package/dist/components/flows/iris-chat/iris-chat-context.js +14 -10
  173. package/dist/components/flows/iris-chat/iris-chat-copy-feedback.d.ts +4 -0
  174. package/dist/components/flows/iris-chat/iris-chat-copy-feedback.js +16 -0
  175. package/dist/components/flows/iris-chat/iris-chat-frame.d.ts +32 -0
  176. package/dist/components/flows/iris-chat/iris-chat-frame.js +88 -0
  177. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +2 -0
  178. package/dist/components/flows/iris-chat/iris-chat-icons.js +46 -20
  179. package/dist/components/flows/iris-chat/iris-chat-launch-animation.d.ts +11 -0
  180. package/dist/components/flows/iris-chat/iris-chat-launch-animation.js +35 -0
  181. package/dist/components/flows/iris-chat/iris-chat-markdown.js +82 -42
  182. package/dist/components/flows/iris-chat/iris-chat-menu.js +149 -117
  183. package/dist/components/flows/iris-chat/iris-chat-snap-presets.d.ts +7 -0
  184. package/dist/components/flows/iris-chat/iris-chat-snap-presets.js +83 -0
  185. package/dist/components/flows/iris-chat/iris-chat-speech.d.ts +52 -0
  186. package/dist/components/flows/iris-chat/iris-chat-speech.js +121 -0
  187. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +4 -0
  188. package/dist/components/flows/iris-chat/iris-chat-thread.js +277 -220
  189. package/dist/components/flows/iris-chat/iris-chat-window-chrome.d.ts +33 -0
  190. package/dist/components/flows/iris-chat/iris-chat-window-chrome.js +37 -0
  191. package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.d.ts +14 -0
  192. package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.js +15 -0
  193. package/dist/components/flows/iris-chat/iris-chat-window-geometry.d.ts +12 -0
  194. package/dist/components/flows/iris-chat/iris-chat-window-geometry.js +113 -0
  195. package/dist/components/flows/iris-chat/iris-chat-window-handles.d.ts +6 -0
  196. package/dist/components/flows/iris-chat/iris-chat-window-handles.js +50 -0
  197. package/dist/components/flows/iris-chat/iris-chat-window-shell.d.ts +8 -0
  198. package/dist/components/flows/iris-chat/iris-chat-window-shell.js +37 -0
  199. package/dist/components/flows/iris-chat/iris-chat.d.ts +3 -39
  200. package/dist/components/flows/iris-chat/iris-chat.js +22 -330
  201. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +20 -0
  202. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +4 -3
  203. package/dist/components/flows/iris-chat/iris-chat.variants.js +45 -22
  204. package/dist/components/flows/iris-chat/sync-iris-chat-composer-textarea.d.ts +6 -0
  205. package/dist/components/flows/iris-chat/sync-iris-chat-composer-textarea.js +23 -0
  206. package/dist/components/flows/iris-chat/use-iris-chat-root.d.ts +29 -0
  207. package/dist/components/flows/iris-chat/use-iris-chat-root.js +162 -0
  208. package/dist/components/forms/choice-card/choice-card-compare-scroll.d.ts +4 -0
  209. package/dist/components/forms/choice-card/choice-card-compare-scroll.js +6 -0
  210. package/dist/components/forms/choice-card/choice-card-percent.js +82 -51
  211. package/dist/components/forms/choice-card/choice-card.d.ts +14 -2
  212. package/dist/components/forms/choice-card/choice-card.js +470 -381
  213. package/dist/components/forms/choice-card/choice-card.types.d.ts +9 -2
  214. package/dist/components/forms/choice-card/choice-card.variants.js +24 -3
  215. package/dist/components/forms/input/input.js +5 -5
  216. package/dist/components/forms/select/components/SelectMenuPanel.js +15 -15
  217. package/dist/components/forms/select/components/SelectTriggerValue.js +3 -2
  218. package/dist/components/forms/select/components/Submenu.js +3 -2
  219. package/dist/components/layout/header/header.js +1 -0
  220. package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.d.ts +3 -0
  221. package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.js +12 -0
  222. package/dist/components/layout/horizontal-scroller/horizontal-scroller.js +181 -125
  223. package/dist/components/layout/horizontal-scroller/horizontal-scroller.types.d.ts +2 -0
  224. package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.d.ts +3 -1
  225. package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.js +77 -67
  226. package/dist/components/primitives/button/button.variants.js +1 -1
  227. package/dist/components/primitives/iris/iris-insight-truncated-text.d.ts +3 -0
  228. package/dist/components/primitives/iris/iris-insight-truncated-text.js +33 -0
  229. package/dist/components/primitives/iris/iris.d.ts +3 -1
  230. package/dist/components/primitives/iris/iris.js +85 -91
  231. package/dist/components/primitives/iris/iris.types.d.ts +9 -0
  232. package/dist/components/primitives/stepper/internals/step-model.d.ts +1 -1
  233. package/dist/components/primitives/stepper/internals/step-model.js +5 -5
  234. package/dist/components/primitives/stepper/internals/stepper-compact.js +13 -13
  235. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +6 -6
  236. package/dist/components/primitives/stepper/internals/stepper-rail.js +15 -15
  237. package/dist/components/primitives/stepper/internals/stepper-summary.js +7 -7
  238. package/dist/components/primitives/stepper/internals/stepper-track.js +2 -2
  239. package/dist/components/primitives/stepper/stepper.js +99 -97
  240. package/dist/components/primitives/stepper/stepper.types.d.ts +4 -0
  241. package/dist/components/primitives/tabs/folder-tab-path.d.ts +6 -0
  242. package/dist/components/primitives/tabs/folder-tab-path.js +16 -0
  243. package/dist/components/primitives/tabs/tabs.js +178 -112
  244. package/dist/components/primitives/tabs/tabs.types.d.ts +1 -1
  245. package/dist/form-react/Fields/SelectField.js +66 -57
  246. package/dist/form-react/Fields/VirtualizedListField.d.ts +3 -0
  247. package/dist/form-react/Fields/VirtualizedListField.js +223 -0
  248. package/dist/form-react/fields.d.ts +1 -0
  249. package/dist/form-react/fields.js +28 -26
  250. package/dist/form-react/index.d.ts +1 -1
  251. package/dist/form-react/registry/defaultFieldRegistrations.d.ts +1 -1
  252. package/dist/form-react/registry/defaultFieldRegistrations.js +13 -12
  253. package/dist/form-react/types/fields.types.d.ts +48 -1
  254. package/dist/form-react/types/fieldsOutput.types.d.ts +4 -1
  255. package/dist/form-react/types/reactHookForm.types.d.ts +18 -1
  256. package/dist/form-react/utils/fieldDefaults.utils.js +1 -1
  257. package/dist/i18n/defaultMessages.d.ts +69 -0
  258. package/dist/i18n/defaultMessages.js +107 -42
  259. package/dist/i18n/impact-nova-i18n-defaults.d.ts +5 -0
  260. package/dist/i18n/impact-nova-i18n-defaults.js +4 -9
  261. package/dist/i18n/index.d.ts +1 -1
  262. package/dist/i18n/locales/de.js +66 -1
  263. package/dist/i18n/locales/es.js +66 -1
  264. package/dist/i18n/locales/hi.js +66 -1
  265. package/dist/i18n/locales/kn.js +66 -1
  266. package/dist/impact-nova-components.css +372 -14
  267. package/dist/impact-nova-tokens.scss +4 -0
  268. package/dist/impact-nova.css +1 -1
  269. package/dist/index.d.ts +1 -0
  270. package/dist/index.js +627 -601
  271. package/dist/lib/alphabetical-sort.d.ts +3 -0
  272. package/dist/lib/alphabetical-sort.js +13 -0
  273. package/dist/lib/guidance/engine/guidance-engine.js +26 -27
  274. package/dist/lib/guidance/engine/step-navigation.d.ts +1 -0
  275. package/dist/lib/guidance/engine/step-navigation.js +16 -9
  276. package/dist/lib/guidance/types/guidance.types.d.ts +9 -1
  277. package/dist/lib/virtualized/index.d.ts +2 -0
  278. package/dist/lib/virtualized/index.js +35 -31
  279. package/dist/lib/virtualized/list-index.d.ts +5 -0
  280. package/dist/lib/virtualized/list-index.js +13 -0
  281. package/dist/lib/virtualized/read-infinite-query-list.d.ts +14 -0
  282. package/dist/lib/virtualized/read-infinite-query-list.js +12 -0
  283. package/dist/lib/virtualized/types.d.ts +4 -2
  284. package/dist/lib/virtualized/useRowState.js +60 -56
  285. package/dist/lib/virtualized/useVirtualizedList.d.ts +5 -0
  286. package/dist/llms/rules/ag-grid.js +1 -1
  287. package/dist/llms/rules/installation.js +1 -1
  288. package/dist/llms/rules/real-world-patterns.js +1 -1
  289. package/dist/llms/rules/requirements.js +1 -1
  290. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  291. package/dist/node_modules/unified/lib/index.js +1 -1
  292. package/dist/tailwind.config.js +3 -0
  293. package/dist/theme/tailwind-colors.js +3 -0
  294. package/package.json +23 -4
@@ -1,18 +1,19 @@
1
- import { jsx as o, jsxs as g } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import * as L from "@radix-ui/react-checkbox";
4
- import * as G from "@radix-ui/react-radio-group";
5
- import { Slot as T } from "@radix-ui/react-slot";
6
- import { useControllableState as M } from "@radix-ui/react-use-controllable-state";
7
- import { Checkmark as V } from "impact-nova-icons";
8
- import { Badge as F } from "../../data-display/badge/badge.js";
9
- import { createComponent as p } from "../../../lib/primitives/create-component.js";
10
- import { useComposedRefs as _ } from "../../../lib/compose-refs.js";
11
- import { cn as l } from "../../../lib/utils.js";
12
- import { choiceCardCheckboxIndicatorClassName as H, choiceCardRadioIndicatorClassName as $ } from "./choice-card-indicator.variants.js";
13
- import { ChoiceCardFeaturedBackdrop as K } from "./choice-card-featured-backdrop.js";
14
- import { choiceCardVariants as W } from "./choice-card.variants.js";
15
- const y = n.createContext(null), x = n.createContext({
1
+ import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
+ import * as s from "react";
3
+ import * as _ from "@radix-ui/react-checkbox";
4
+ import * as P from "@radix-ui/react-radio-group";
5
+ import { Slot as F } from "@radix-ui/react-slot";
6
+ import { useControllableState as A } from "@radix-ui/react-use-controllable-state";
7
+ import { Checkmark as M } from "impact-nova-icons";
8
+ import { Badge as $ } from "../../data-display/badge/badge.js";
9
+ import { createComponent as C } from "../../../lib/primitives/create-component.js";
10
+ import { useComposedRefs as H } from "../../../lib/compose-refs.js";
11
+ import { cn as i } from "../../../lib/utils.js";
12
+ import { choiceCardCheckboxIndicatorClassName as q, choiceCardRadioIndicatorClassName as K } from "./choice-card-indicator.variants.js";
13
+ import { ChoiceCardFeaturedBackdrop as W } from "./choice-card-featured-backdrop.js";
14
+ import { choiceCardCompareRowsScrollAccessibility as V } from "./choice-card-compare-scroll.js";
15
+ import { choiceCardVariants as Z } from "./choice-card.variants.js";
16
+ const R = s.createContext(null), v = s.createContext({
16
17
  value: "",
17
18
  selected: !1,
18
19
  type: "single",
@@ -21,337 +22,346 @@ const y = n.createContext(null), x = n.createContext({
21
22
  labelIsExplicit: !1,
22
23
  setAccessibleName: () => {
23
24
  }
24
- }), v = n.createContext({
25
+ }), N = s.createContext({
25
26
  inCompare: !1,
26
27
  rows: 0,
27
- fit: "scroll"
28
- }), B = () => {
29
- const e = n.useContext(y);
28
+ fit: "scroll",
29
+ scrollRows: !1,
30
+ rowMinHeight: "3.5rem",
31
+ syncRowsScroll: () => {
32
+ }
33
+ });
34
+ function ge() {
35
+ return s.useContext(N);
36
+ }
37
+ const B = () => {
38
+ const e = s.useContext(R);
30
39
  if (!e)
31
40
  throw new Error("ChoiceCard components must be used within ChoiceCardGroup");
32
41
  return e;
33
42
  };
34
- function Ce() {
35
- const { value: e, type: a, setValue: t, isSelected: r } = B();
36
- return n.useMemo(
43
+ function xe() {
44
+ const { value: e, type: o, setValue: t, isSelected: a } = B();
45
+ return s.useMemo(
37
46
  () => ({
38
47
  value: e,
39
- type: a,
48
+ type: o,
40
49
  setValue: t,
41
- isSelected: r
50
+ isSelected: a
42
51
  }),
43
- [e, a, t, r]
52
+ [e, o, t, a]
44
53
  );
45
54
  }
46
- function pe() {
47
- return n.useContext(x);
55
+ function we() {
56
+ return s.useContext(v);
48
57
  }
49
- function Z({
58
+ function J({
50
59
  selected: e,
51
- disabled: a,
60
+ disabled: o,
52
61
  mode: t,
53
- size: r,
62
+ size: a,
54
63
  variant: c,
55
- className: i
64
+ className: n
56
65
  }) {
57
- return l(
58
- W({
66
+ return i(
67
+ Z({
59
68
  variant: c,
60
- size: r,
69
+ size: a,
61
70
  selected: e,
62
71
  mode: t,
63
- disabled: !!a
72
+ disabled: !!o
64
73
  }),
65
- i
74
+ n
66
75
  );
67
76
  }
68
- const q = ({
77
+ const O = ({
69
78
  value: e,
70
- defaultValue: a = "",
79
+ defaultValue: o = "",
71
80
  onValueChange: t,
72
- disabled: r,
81
+ disabled: a,
73
82
  orientation: c = "horizontal",
74
- wrap: i = !1,
83
+ wrap: n = !1,
75
84
  className: m,
76
85
  children: h
77
86
  }) => {
78
- const [C, s] = M({
87
+ const [p, u] = A({
79
88
  prop: e,
80
- defaultProp: a,
89
+ defaultProp: o,
81
90
  onChange: t
82
- }), u = n.useCallback(
83
- (d) => C === d,
84
- [C]
85
- ), f = n.useMemo(
91
+ }), d = s.useCallback(
92
+ (l) => p === l,
93
+ [p]
94
+ ), f = s.useMemo(
86
95
  () => ({
87
96
  type: "single",
88
- disabled: r,
89
- value: C,
90
- setValue: (d) => s(d),
91
- isSelected: u,
92
- toggle: (d) => s(d)
97
+ disabled: a,
98
+ value: p,
99
+ setValue: (l) => u(l),
100
+ isSelected: d,
101
+ toggle: (l) => u(l)
93
102
  }),
94
- [r, C, s, u]
103
+ [a, p, u, d]
95
104
  );
96
- return /* @__PURE__ */ o(y.Provider, { value: f, children: /* @__PURE__ */ o(
97
- G.Root,
105
+ return /* @__PURE__ */ r(R.Provider, { value: f, children: /* @__PURE__ */ r(
106
+ P.Root,
98
107
  {
99
- value: C,
100
- onValueChange: s,
101
- disabled: r,
108
+ value: p,
109
+ onValueChange: u,
110
+ disabled: a,
102
111
  className: m,
103
112
  "data-component": "choice-card-group",
104
113
  "data-type": "single",
105
- "data-layout": i ? "wrap" : c === "vertical" ? "column" : "row",
114
+ "data-layout": n ? "wrap" : c === "vertical" ? "column" : "row",
106
115
  children: h
107
116
  }
108
117
  ) });
109
- }, J = ({
118
+ }, Q = ({
110
119
  value: e,
111
- defaultValue: a = [],
120
+ defaultValue: o = [],
112
121
  onValueChange: t,
113
- disabled: r,
122
+ disabled: a,
114
123
  orientation: c = "horizontal",
115
- wrap: i = !1,
124
+ wrap: n = !1,
116
125
  className: m,
117
126
  children: h
118
127
  }) => {
119
- const [C, s] = M({
128
+ const [p, u] = A({
120
129
  prop: e,
121
- defaultProp: a,
130
+ defaultProp: o,
122
131
  onChange: t
123
- }), u = n.useMemo(() => C ?? [], [C]), f = n.useCallback(
124
- (b) => u.includes(b),
125
- [u]
126
- ), d = n.useCallback(
132
+ }), d = s.useMemo(() => p ?? [], [p]), f = s.useCallback(
133
+ (b) => d.includes(b),
134
+ [d]
135
+ ), l = s.useCallback(
127
136
  (b) => {
128
- if (u.includes(b)) {
129
- s(u.filter((N) => N !== b));
137
+ if (d.includes(b)) {
138
+ u(d.filter((w) => w !== b));
130
139
  return;
131
140
  }
132
- s([...u, b]);
141
+ u([...d, b]);
133
142
  },
134
- [u, s]
135
- ), k = n.useMemo(
143
+ [d, u]
144
+ ), g = s.useMemo(
136
145
  () => ({
137
146
  type: "multiple",
138
- disabled: r,
139
- value: u,
140
- setValue: (b) => s(b),
147
+ disabled: a,
148
+ value: d,
149
+ setValue: (b) => u(b),
141
150
  isSelected: f,
142
- toggle: d
151
+ toggle: l
143
152
  }),
144
- [r, u, s, f, d]
153
+ [a, d, u, f, l]
145
154
  );
146
- return /* @__PURE__ */ o(y.Provider, { value: k, children: /* @__PURE__ */ o(
155
+ return /* @__PURE__ */ r(R.Provider, { value: g, children: /* @__PURE__ */ r(
147
156
  "div",
148
157
  {
149
158
  role: "group",
150
159
  className: m,
151
160
  "data-component": "choice-card-group",
152
161
  "data-type": "multiple",
153
- "data-layout": i ? "wrap" : c === "vertical" ? "column" : "row",
162
+ "data-layout": n ? "wrap" : c === "vertical" ? "column" : "row",
154
163
  children: h
155
164
  }
156
165
  ) });
157
- }, O = (e) => e.type === "multiple" ? /* @__PURE__ */ o(J, { ...e }) : /* @__PURE__ */ o(q, { ...e });
158
- O.displayName = "ChoiceCardGroup";
159
- function E(e, a, t) {
166
+ }, U = (e) => e.type === "multiple" ? /* @__PURE__ */ r(Q, { ...e }) : /* @__PURE__ */ r(O, { ...e });
167
+ U.displayName = "ChoiceCardGroup";
168
+ function G(e, o, t) {
160
169
  if (e) {
161
- a.preventDefault(), a.stopPropagation();
170
+ o.preventDefault(), o.stopPropagation();
162
171
  return;
163
172
  }
164
- t?.(a);
173
+ t?.(o);
165
174
  }
166
- function Q(e) {
175
+ function X(e) {
167
176
  return e instanceof Element && !!e.closest(
168
177
  'a, button, input, textarea, select, [role="button"], [data-slot="choice-card-control"]'
169
178
  );
170
179
  }
171
- const U = p(
180
+ const Y = C(
172
181
  "ChoiceCardSurface",
173
182
  ({
174
183
  className: e,
175
- selected: a,
184
+ selected: o,
176
185
  disabled: t = !1,
177
- mode: r,
186
+ mode: a,
178
187
  size: c,
179
- variant: i,
188
+ variant: n,
180
189
  children: m,
181
190
  onClick: h,
182
- onPointerDown: C,
183
- onKeyDown: s,
184
- ...u
185
- }, f) => /* @__PURE__ */ o(
191
+ onPointerDown: p,
192
+ onKeyDown: u,
193
+ ...d
194
+ }, f) => /* @__PURE__ */ r(
186
195
  "div",
187
196
  {
188
197
  ref: f,
189
- className: Z({
190
- selected: a,
198
+ className: J({
199
+ selected: o,
191
200
  disabled: t,
192
- mode: r,
201
+ mode: a,
193
202
  size: c,
194
- variant: i,
203
+ variant: n,
195
204
  className: e
196
205
  }),
197
206
  "data-component": "choice-card",
198
- "data-selected": a || void 0,
207
+ "data-selected": o || void 0,
199
208
  "data-disabled": t || void 0,
200
209
  "data-size": c,
201
- "data-variant": i,
210
+ "data-variant": n,
202
211
  "aria-disabled": t || void 0,
203
- onClick: (d) => E(t, d, h),
204
- onPointerDown: (d) => E(t, d, C),
205
- onKeyDown: (d) => {
206
- if (t && (d.key === " " || d.key === "Enter")) {
207
- d.preventDefault(), d.stopPropagation();
212
+ onClick: (l) => G(t, l, h),
213
+ onPointerDown: (l) => G(t, l, p),
214
+ onKeyDown: (l) => {
215
+ if (t && (l.key === " " || l.key === "Enter")) {
216
+ l.preventDefault(), l.stopPropagation();
208
217
  return;
209
218
  }
210
- s?.(d);
219
+ u?.(l);
211
220
  },
212
- ...u,
221
+ ...d,
213
222
  children: m
214
223
  }
215
224
  )
216
- ), he = p(
225
+ ), ve = C(
217
226
  "ChoiceCard",
218
227
  ({
219
228
  value: e,
220
- className: a,
229
+ className: o,
221
230
  children: t,
222
- disabled: r,
231
+ disabled: a,
223
232
  size: c = "md",
224
- variant: i = "default",
233
+ variant: n = "default",
225
234
  "aria-label": m,
226
235
  ...h
227
- }, C) => {
228
- const s = B(), u = n.useContext(v), f = r || s.disabled, d = s.isSelected(e), [k, b] = n.useState(""), N = n.useCallback((w) => {
229
- b((P) => P === w ? P : w);
230
- }, []), S = !!m, j = n.useMemo(
236
+ }, p) => {
237
+ const u = B(), d = s.useContext(N), f = a || u.disabled, l = u.isSelected(e), [g, b] = s.useState(""), w = s.useCallback((S) => {
238
+ b((I) => I === S ? I : S);
239
+ }, []), k = !!m, y = s.useMemo(
231
240
  () => ({
232
241
  value: e,
233
- selected: d,
242
+ selected: l,
234
243
  disabled: f,
235
- type: s.type,
244
+ type: u.type,
236
245
  size: c,
237
- variant: i,
238
- labelIsExplicit: S,
239
- setAccessibleName: N
246
+ variant: n,
247
+ labelIsExplicit: k,
248
+ setAccessibleName: w
240
249
  }),
241
- [e, d, f, s.type, c, i, S, N]
242
- ), z = m ?? (k || e), R = () => {
243
- f || s.toggle(e);
244
- }, A = (w) => {
245
- Q(w.target) || R(), h.onClick?.(w);
246
- }, I = l(
250
+ [e, l, f, u.type, c, n, k, w]
251
+ ), z = m ?? (g || e), T = () => {
252
+ f || u.toggle(e);
253
+ }, D = (S) => {
254
+ X(S.target) || T(), h.onClick?.(S);
255
+ }, E = i(
247
256
  "pointer-events-none absolute inset-0 z-0 opacity-0 outline-none",
248
- u.inCompare && "[grid-column:1] [grid-row:1/-1]"
249
- ), D = s.type === "single" ? /* @__PURE__ */ o(
250
- G.Item,
257
+ d.inCompare && "[grid-column:1] [grid-row:1/-1]"
258
+ ), L = u.type === "single" ? /* @__PURE__ */ r(
259
+ P.Item,
251
260
  {
252
261
  value: e,
253
262
  disabled: f,
254
- className: I,
263
+ className: E,
255
264
  "data-slot": "choice-card-control",
256
265
  "aria-label": z
257
266
  }
258
- ) : /* @__PURE__ */ o(
259
- L.Root,
267
+ ) : /* @__PURE__ */ r(
268
+ _.Root,
260
269
  {
261
- checked: d,
270
+ checked: l,
262
271
  disabled: f,
263
- onCheckedChange: R,
264
- className: I,
272
+ onCheckedChange: T,
273
+ className: E,
265
274
  "data-slot": "choice-card-control",
266
275
  "aria-label": z
267
276
  }
268
277
  );
269
- return /* @__PURE__ */ o(x.Provider, { value: j, children: /* @__PURE__ */ g(
270
- U,
278
+ return /* @__PURE__ */ r(v.Provider, { value: y, children: /* @__PURE__ */ x(
279
+ Y,
271
280
  {
272
- ref: C,
273
- selected: d,
281
+ ref: p,
282
+ selected: l,
274
283
  disabled: f,
275
- mode: s.type,
284
+ mode: u.type,
276
285
  size: c,
277
- variant: i,
278
- className: l(
279
- a,
280
- u.inCompare && l(
286
+ variant: n,
287
+ className: i(
288
+ d.inCompare && i(
281
289
  "isolate grid w-full grid-rows-subgrid [grid-row:1/-1] gap-0",
282
- u.fit === "auto" ? "min-w-0 max-w-[420px]" : "min-w-[411px]"
283
- )
290
+ d.fit === "auto" && "min-w-0 max-w-[420px]",
291
+ d.fit === "fill" && "min-w-[17rem] w-full max-w-none",
292
+ d.fit === "scroll" && "w-[411px] min-w-[411px] max-w-[411px]"
293
+ ),
294
+ o
284
295
  ),
285
296
  ...h,
286
- onClick: A,
297
+ onClick: D,
287
298
  children: [
288
- D,
289
- i === "featured" ? /* @__PURE__ */ o(K, {}) : null,
299
+ L,
300
+ n === "featured" ? /* @__PURE__ */ r(W, {}) : null,
290
301
  t
291
302
  ]
292
303
  }
293
304
  ) });
294
305
  }
295
- ), fe = p(
296
- "ChoiceCardIndicator",
297
- ({ className: e }, a) => {
298
- const { selected: t, type: r, disabled: c } = n.useContext(x);
299
- return r === "multiple" ? /* @__PURE__ */ o(
300
- "span",
301
- {
302
- ref: a,
303
- className: l(
304
- H,
305
- t && "border-brand bg-accent text-brand",
306
- c && "border-stroke bg-disabled-surface text-disabled-foreground data-[state=checked]:border-stroke data-[state=checked]:bg-disabled-surface",
307
- e
308
- ),
309
- "data-slot": "choice-card-indicator",
310
- "data-state": t ? "checked" : "unchecked",
311
- "aria-hidden": "true",
312
- children: t ? /* @__PURE__ */ o(V, { className: "h-3.5 w-3.5" }) : null
313
- }
314
- ) : /* @__PURE__ */ o(
315
- "span",
316
- {
317
- ref: a,
318
- className: l(
319
- $,
320
- t && "ring-brand",
321
- c && "bg-disabled-surface ring-stroke",
322
- e
323
- ),
324
- "data-slot": "choice-card-indicator",
325
- "aria-hidden": "true",
326
- children: t ? /* @__PURE__ */ o("span", { className: "absolute inset-[3px] rounded-full bg-current" }) : null
327
- }
328
- );
329
- }
330
- ), be = p(
306
+ ), Ne = C("ChoiceCardIndicator", ({ className: e, shape: o }, t) => {
307
+ const { selected: a, type: c, disabled: n } = s.useContext(v);
308
+ return (o ?? (c === "multiple" ? "checkbox" : "radio")) === "checkbox" ? /* @__PURE__ */ r(
309
+ "span",
310
+ {
311
+ ref: t,
312
+ className: i(
313
+ q,
314
+ a && !n && "border-brand bg-accent text-brand",
315
+ a && n && "border-stroke-field bg-disabled-surface text-content-secondary",
316
+ !a && n && "border-stroke bg-disabled-surface text-disabled-foreground",
317
+ e
318
+ ),
319
+ "data-slot": "choice-card-indicator",
320
+ "data-state": a ? "checked" : "unchecked",
321
+ "aria-hidden": "true",
322
+ children: a ? /* @__PURE__ */ r(M, { className: "h-3.5 w-3.5" }) : null
323
+ }
324
+ ) : /* @__PURE__ */ r(
325
+ "span",
326
+ {
327
+ ref: t,
328
+ className: i(
329
+ K,
330
+ a && !n && "ring-brand",
331
+ a && n && "bg-disabled-surface text-stroke-field ring-stroke-field",
332
+ !a && n && "bg-disabled-surface ring-stroke",
333
+ e
334
+ ),
335
+ "data-slot": "choice-card-indicator",
336
+ "aria-hidden": "true",
337
+ children: a ? /* @__PURE__ */ r("span", { className: "absolute inset-[3px] rounded-full bg-current" }) : null
338
+ }
339
+ );
340
+ }), ke = C(
331
341
  "ChoiceCardBackground",
332
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ o(
342
+ ({ className: e, children: o, ...t }, a) => /* @__PURE__ */ r(
333
343
  "div",
334
344
  {
335
- ref: r,
336
- className: l("pointer-events-none absolute inset-0 overflow-hidden", e),
345
+ ref: a,
346
+ className: i("pointer-events-none absolute inset-0 overflow-hidden", e),
337
347
  "data-slot": "choice-card-background",
338
348
  "aria-hidden": "true",
339
349
  ...t,
340
- children: a
350
+ children: o
341
351
  }
342
352
  )
343
353
  );
344
- function X({ className: e }) {
345
- return /* @__PURE__ */ o(
354
+ function ee({ className: e }) {
355
+ return /* @__PURE__ */ r(
346
356
  "svg",
347
357
  {
348
358
  width: 28,
349
359
  height: 32,
350
360
  viewBox: "0 0 28 32",
351
- className: l("relative z-0 block h-8 w-7 shrink-0", e),
361
+ className: i("relative z-0 block h-8 w-7 shrink-0", e),
352
362
  "data-slot": "choice-card-ribbon-wedge",
353
363
  "aria-hidden": "true",
354
- children: /* @__PURE__ */ o(
364
+ children: /* @__PURE__ */ r(
355
365
  "path",
356
366
  {
357
367
  d: "M11 16 0 0h28v32H0l11-16Z",
@@ -361,69 +371,69 @@ function X({ className: e }) {
361
371
  }
362
372
  );
363
373
  }
364
- const ge = p(
374
+ const ye = C(
365
375
  "ChoiceCardRibbon",
366
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ g(
376
+ ({ className: e, children: o, ...t }, a) => /* @__PURE__ */ x(
367
377
  "div",
368
378
  {
369
- ref: r,
370
- className: l("pointer-events-none absolute bottom-0 right-0 flex h-8 items-stretch", e),
379
+ ref: a,
380
+ className: i("pointer-events-none absolute bottom-0 right-0 flex h-8 items-stretch", e),
371
381
  "data-slot": "choice-card-ribbon",
372
382
  ...t,
373
383
  children: [
374
- /* @__PURE__ */ o(X, {}),
375
- /* @__PURE__ */ o(
384
+ /* @__PURE__ */ r(ee, {}),
385
+ /* @__PURE__ */ r(
376
386
  "div",
377
387
  {
378
- className: l(
388
+ className: i(
379
389
  // Start fill at the chevron tip (28 − 11) so no empty purple band sits before the label
380
390
  "relative z-[1] -ms-[17px] flex h-8 items-center rounded-br-xl pe-2 ps-1",
381
391
  "bg-[linear-gradient(90deg,var(--color-choice-card-ribbon-from)_0%,var(--color-choice-card-ribbon-to)_100%)]"
382
392
  ),
383
393
  "data-slot": "choice-card-ribbon-fill",
384
- children: /* @__PURE__ */ o("span", { className: "text-xs font-bold leading-5 text-content capitalize whitespace-nowrap", children: a })
394
+ children: /* @__PURE__ */ r("span", { className: "text-xs font-bold leading-5 text-content capitalize whitespace-nowrap", children: o })
385
395
  }
386
396
  )
387
397
  ]
388
398
  }
389
399
  )
390
- ), xe = p(
400
+ ), Se = C(
391
401
  "ChoiceCardFooter",
392
- ({ className: e, children: a, ...t }, r) => {
393
- const c = n.useContext(v);
394
- return /* @__PURE__ */ o(
402
+ ({ className: e, children: o, ...t }, a) => {
403
+ const c = s.useContext(N);
404
+ return /* @__PURE__ */ r(
395
405
  "div",
396
406
  {
397
- ref: r,
398
- className: l(
407
+ ref: a,
408
+ className: i(
399
409
  "flex flex-wrap items-start gap-2",
400
410
  c.inCompare && "[grid-row:-1] self-end pt-4",
401
411
  e
402
412
  ),
403
413
  "data-slot": "choice-card-footer",
404
414
  ...t,
405
- children: a
415
+ children: o
406
416
  }
407
417
  );
408
418
  }
409
- ), we = p(
419
+ ), Re = C(
410
420
  "ChoiceCardContent",
411
- ({ className: e, children: a, ...t }, r) => {
412
- const { variant: c } = n.useContext(x);
413
- return n.useContext(v).inCompare ? /* @__PURE__ */ o(
421
+ ({ className: e, children: o, ...t }, a) => {
422
+ const { variant: c } = s.useContext(v);
423
+ return s.useContext(N).inCompare ? /* @__PURE__ */ r(
414
424
  "div",
415
425
  {
416
- ref: r,
417
- className: l("contents", e),
426
+ ref: a,
427
+ className: i("contents", e),
418
428
  "data-slot": "choice-card-content",
419
429
  ...t,
420
- children: a
430
+ children: o
421
431
  }
422
- ) : /* @__PURE__ */ o(
432
+ ) : /* @__PURE__ */ r(
423
433
  "div",
424
434
  {
425
- ref: r,
426
- className: l(
435
+ ref: a,
436
+ className: i(
427
437
  "relative z-[1] flex min-w-0 flex-1 flex-col items-start gap-1",
428
438
  c === "featured" && "w-full flex-none gap-2 p-3",
429
439
  c === "compare" && "w-full flex-none gap-4",
@@ -431,220 +441,269 @@ const ge = p(
431
441
  ),
432
442
  "data-slot": "choice-card-content",
433
443
  ...t,
434
- children: a
444
+ children: o
435
445
  }
436
446
  );
437
447
  }
438
- ), ve = p("ChoiceCardMedia", ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ o(
448
+ ), ze = C("ChoiceCardMedia", ({ className: e, children: o, ...t }, a) => /* @__PURE__ */ r(
439
449
  "div",
440
450
  {
441
- ref: r,
442
- className: l("flex shrink-0 items-center justify-center", e),
451
+ ref: a,
452
+ className: i("flex shrink-0 items-center justify-center", e),
443
453
  "data-slot": "choice-card-media",
444
454
  ...t,
445
- children: a
455
+ children: o
446
456
  }
447
- )), Ne = p("ChoiceCardTitle", ({ className: e, children: a, ...t }, r) => {
448
- const { selected: c, disabled: i, size: m, variant: h, labelIsExplicit: C, setAccessibleName: s } = n.useContext(x), u = n.useRef(null), f = _(r, u);
449
- return n.useLayoutEffect(() => {
450
- if (C) return;
451
- const d = u.current?.textContent?.trim();
452
- d && s(d);
453
- }, [a, C, s]), /* @__PURE__ */ o(
457
+ )), Te = C("ChoiceCardTitle", ({ className: e, children: o, ...t }, a) => {
458
+ const { selected: c, disabled: n, size: m, variant: h, labelIsExplicit: p, setAccessibleName: u } = s.useContext(v), d = s.useRef(null), f = H(a, d);
459
+ return s.useLayoutEffect(() => {
460
+ if (p) return;
461
+ const l = d.current?.textContent?.trim();
462
+ l && u(l);
463
+ }, [o, p, u]), /* @__PURE__ */ r(
454
464
  "h3",
455
465
  {
456
466
  ref: f,
457
- className: l(
467
+ className: i(
458
468
  "capitalize text-content",
459
469
  m === "sm" ? "text-sm font-semibold leading-6" : "text-base font-bold leading-6",
460
470
  (h === "featured" || h === "compare") && "text-base font-semibold leading-6",
461
- i && !c && "text-content-secondary",
471
+ n && !c && "text-content-secondary",
462
472
  e
463
473
  ),
464
474
  ...t,
465
- children: a
475
+ children: o
466
476
  }
467
477
  );
468
- }), ke = p(
478
+ }), Ee = C(
469
479
  "ChoiceCardHeader",
470
- ({ className: e, children: a, ...t }, r) => {
471
- const c = n.useContext(v);
472
- return /* @__PURE__ */ o(
480
+ ({ className: e, children: o, ...t }, a) => {
481
+ const c = s.useContext(N);
482
+ return /* @__PURE__ */ r(
473
483
  "div",
474
484
  {
475
- ref: r,
476
- className: l(
485
+ ref: a,
486
+ className: i(
477
487
  "flex w-full items-center gap-2",
478
488
  c.inCompare && "[grid-row:1] min-w-0 overflow-hidden",
479
489
  e
480
490
  ),
481
491
  "data-slot": "choice-card-header",
482
492
  ...t,
483
- children: a
493
+ children: o
484
494
  }
485
495
  );
486
496
  }
487
- ), ye = p("ChoiceCardDescription", ({ className: e, children: a, ...t }, r) => {
488
- const { selected: c, disabled: i, variant: m } = n.useContext(x);
489
- return /* @__PURE__ */ o(
497
+ ), Ie = C("ChoiceCardDescription", ({ className: e, children: o, ...t }, a) => {
498
+ const { selected: c, disabled: n, variant: m } = s.useContext(v);
499
+ return /* @__PURE__ */ r(
490
500
  "p",
491
501
  {
492
- ref: r,
493
- className: l(
502
+ ref: a,
503
+ className: i(
494
504
  "text-xs font-medium leading-4 text-content-secondary",
495
505
  m === "featured" && "leading-[18px]",
496
506
  m === "compare" && "capitalize font-bold leading-5 text-content-icon",
497
- i && !c && m !== "featured" && "text-content-muted",
507
+ n && !c && m !== "featured" && "text-content-muted",
498
508
  e
499
509
  ),
500
510
  ...t,
501
- children: a
511
+ children: o
502
512
  }
503
513
  );
504
- }), Se = p(
514
+ }), Ge = C(
505
515
  "ChoiceCardStatus",
506
516
  ({
507
517
  className: e,
508
- asChild: a = !1,
518
+ asChild: o = !1,
509
519
  placement: t = "start",
510
- icon: r,
520
+ icon: a,
511
521
  children: c = "Selected",
512
- ...i
522
+ ...n
513
523
  }, m) => {
514
- const { selected: h } = n.useContext(x);
515
- return h ? /* @__PURE__ */ o(
516
- a ? T : "div",
524
+ const { selected: h } = s.useContext(v);
525
+ return h ? /* @__PURE__ */ r(
526
+ o ? F : "div",
517
527
  {
518
528
  ref: m,
519
529
  "data-slot": "choice-card-status",
520
530
  "data-placement": t,
521
- className: l(
531
+ className: i(
522
532
  "pointer-events-none absolute z-10 -top-4",
523
533
  t === "center" ? "left-1/2 -translate-x-1/2" : "start-3",
524
534
  e
525
535
  ),
526
- ...i,
527
- children: a ? c : /* @__PURE__ */ o(F, { variant: "solid", color: "success", size: "md", icon: r ?? /* @__PURE__ */ o(V, { className: "size-4" }), children: c })
536
+ ...n,
537
+ children: o ? c : /* @__PURE__ */ r($, { variant: "solid", color: "success", size: "md", icon: a ?? /* @__PURE__ */ r(M, { className: "size-4" }), children: c })
528
538
  }
529
539
  ) : null;
530
540
  }
531
- ), ze = p(
541
+ ), Pe = C(
532
542
  "ChoiceCardIndex",
533
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ o(
543
+ ({ className: e, children: o, ...t }, a) => /* @__PURE__ */ r(
534
544
  "span",
535
545
  {
536
- ref: r,
546
+ ref: a,
537
547
  "data-slot": "choice-card-index",
538
- className: l(
548
+ className: i(
539
549
  "inline-flex size-[22px] shrink-0 items-center justify-center rounded-md bg-content-icon text-[12px] font-bold leading-none tracking-[-0.12px] text-brand-foreground group-data-[selected]:bg-success",
540
550
  e
541
551
  ),
542
552
  ...t,
543
- children: a
553
+ children: o
544
554
  }
545
555
  )
546
- ), Re = p(
556
+ ), Ae = C(
547
557
  "ChoiceCardStats",
548
- ({ className: e, children: a, ...t }, r) => {
549
- const c = n.Children.toArray(a);
550
- return /* @__PURE__ */ o(
558
+ ({ className: e, children: o, ...t }, a) => {
559
+ const c = s.Children.toArray(o);
560
+ return /* @__PURE__ */ r(
551
561
  "div",
552
562
  {
553
- ref: r,
563
+ ref: a,
554
564
  "data-slot": "choice-card-stats",
555
- className: l(
565
+ className: i(
556
566
  "flex h-[46px] w-full items-center rounded-lg bg-canvas-muted",
557
567
  e
558
568
  ),
559
569
  ...t,
560
- children: c.map((i, m) => /* @__PURE__ */ g(n.Fragment, { children: [
561
- m > 0 ? /* @__PURE__ */ o("div", { className: "h-3 w-px shrink-0 bg-stroke-field", "aria-hidden": "true" }) : null,
562
- i
570
+ children: c.map((n, m) => /* @__PURE__ */ x(s.Fragment, { children: [
571
+ m > 0 ? /* @__PURE__ */ r("div", { className: "h-3 w-px shrink-0 bg-stroke-field", "aria-hidden": "true" }) : null,
572
+ n
563
573
  ] }, m))
564
574
  }
565
575
  );
566
576
  }
567
- ), Ie = p(
577
+ ), Me = C(
568
578
  "ChoiceCardStat",
569
- ({ className: e, value: a, label: t, ...r }, c) => /* @__PURE__ */ g(
579
+ ({ className: e, value: o, label: t, ...a }, c) => /* @__PURE__ */ x(
570
580
  "div",
571
581
  {
572
582
  ref: c,
573
583
  "data-slot": "choice-card-stat",
574
- className: l(
584
+ className: i(
575
585
  "flex min-w-0 flex-1 flex-col items-center gap-0.5 p-1",
576
586
  e
577
587
  ),
578
- ...r,
588
+ ...a,
579
589
  children: [
580
- /* @__PURE__ */ o("p", { className: "text-sm font-medium leading-5 text-content-secondary", children: a }),
581
- /* @__PURE__ */ o("p", { className: "text-xs font-medium leading-4 text-content-heading capitalize", children: t })
590
+ /* @__PURE__ */ r("p", { className: "text-sm font-medium leading-5 text-content-secondary", children: o }),
591
+ /* @__PURE__ */ r("p", { className: "text-xs font-medium leading-4 text-content-heading capitalize", children: t })
582
592
  ]
583
593
  }
584
594
  )
585
595
  );
586
- function Y(e, a) {
596
+ function te(e) {
597
+ return e === "auto" ? "minmax(0, 420px)" : e === "fill" ? "minmax(17rem, 1fr)" : "411px";
598
+ }
599
+ function oe(e) {
600
+ return e === "fill" ? "3.9375rem" : "1rem";
601
+ }
602
+ function ae(e, o) {
587
603
  if (e <= 0) return "max-content";
588
- const t = a === "auto" ? "minmax(0, 420px)" : "minmax(411px, 1fr)";
604
+ const t = te(o), a = oe(o);
589
605
  return `max-content ${Array.from(
590
606
  { length: e },
591
- (c, i) => i === 0 ? t : `1rem ${t}`
607
+ (n, m) => m === 0 ? t : `${a} ${t}`
592
608
  ).join(" ")}`;
593
609
  }
594
- function ee({ rows: e }) {
595
- return /* @__PURE__ */ g(
610
+ const j = "h-full min-h-0 self-stretch overflow-y-auto [grid-row:3] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden";
611
+ function re({
612
+ rows: e,
613
+ fit: o,
614
+ scrollRows: t,
615
+ rowMinHeight: a,
616
+ onRowsScroll: c
617
+ }) {
618
+ const n = o === "fill" ? "w-[63px]" : "w-4";
619
+ return t ? /* @__PURE__ */ x(
596
620
  "div",
597
621
  {
598
622
  "data-slot": "choice-card-compare-gutter",
599
- className: "grid w-4 grid-rows-subgrid [grid-row:1/-1]",
623
+ className: i("grid grid-rows-subgrid [grid-row:1/-1]", n),
600
624
  "aria-hidden": "true",
601
625
  children: [
602
- /* @__PURE__ */ o("span", { className: "[grid-row:1]" }),
603
- /* @__PURE__ */ o("span", { className: "[grid-row:2]" }),
604
- Array.from({ length: e }, (a, t) => /* @__PURE__ */ o(
626
+ /* @__PURE__ */ r("span", { className: "[grid-row:1]" }),
627
+ /* @__PURE__ */ r("span", { className: "[grid-row:2]" }),
628
+ /* @__PURE__ */ r(
629
+ "div",
630
+ {
631
+ "data-slot": "choice-card-compare-rows",
632
+ className: j,
633
+ onScroll: c,
634
+ ...V,
635
+ children: Array.from({ length: e }, (m, h) => /* @__PURE__ */ r("span", { className: "flex items-center", style: { height: a }, children: /* @__PURE__ */ r("span", { className: "h-px w-full border-t border-dotted border-stroke-accent" }) }, h))
636
+ }
637
+ ),
638
+ /* @__PURE__ */ r("span", { className: "[grid-row:-1]" })
639
+ ]
640
+ }
641
+ ) : /* @__PURE__ */ x(
642
+ "div",
643
+ {
644
+ "data-slot": "choice-card-compare-gutter",
645
+ className: i("grid grid-rows-subgrid [grid-row:1/-1]", n),
646
+ "aria-hidden": "true",
647
+ children: [
648
+ /* @__PURE__ */ r("span", { className: "[grid-row:1]" }),
649
+ /* @__PURE__ */ r("span", { className: "[grid-row:2]" }),
650
+ Array.from({ length: e }, (m, h) => /* @__PURE__ */ r(
605
651
  "span",
606
652
  {
607
- className: "w-full self-center border-t border-dashed border-canvas-accordion"
653
+ className: "relative z-0 h-px w-full self-center border-t border-dotted border-stroke-accent",
654
+ style: { gridRow: h + 3 }
608
655
  },
609
- t
656
+ h
610
657
  )),
611
- /* @__PURE__ */ o("span", { className: "[grid-row:-1]" })
658
+ /* @__PURE__ */ r("span", { className: "[grid-row:-1]" })
612
659
  ]
613
660
  }
614
661
  );
615
662
  }
616
- const te = p(
663
+ const ce = C(
617
664
  "ChoiceCardCompareLabels",
618
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ g(
619
- "div",
620
- {
621
- ref: r,
622
- "data-slot": "choice-card-compare-labels",
623
- className: l(
624
- "sticky start-0 z-20 grid grid-rows-subgrid items-center justify-items-end bg-canvas [grid-row:1/-1]",
625
- e
626
- ),
627
- ...t,
628
- children: [
629
- /* @__PURE__ */ o("span", { className: "[grid-row:1]", "aria-hidden": "true" }),
630
- /* @__PURE__ */ o("span", { className: "[grid-row:2]", "aria-hidden": "true" }),
631
- a,
632
- /* @__PURE__ */ o("span", { className: "[grid-row:-1]", "aria-hidden": "true" })
633
- ]
634
- }
635
- )
636
- ), Pe = p(
665
+ ({ className: e, children: o, ...t }, a) => {
666
+ const c = s.useContext(N);
667
+ return /* @__PURE__ */ x(
668
+ "div",
669
+ {
670
+ ref: a,
671
+ "data-slot": "choice-card-compare-labels",
672
+ className: i(
673
+ "sticky start-0 z-20 grid grid-rows-subgrid items-center justify-items-end bg-canvas [grid-row:1/-1]",
674
+ e
675
+ ),
676
+ ...t,
677
+ children: [
678
+ /* @__PURE__ */ r("span", { className: "[grid-row:1]", "aria-hidden": "true" }),
679
+ /* @__PURE__ */ r("span", { className: "[grid-row:2]", "aria-hidden": "true" }),
680
+ c.scrollRows ? /* @__PURE__ */ r(
681
+ "div",
682
+ {
683
+ "data-slot": "choice-card-compare-rows",
684
+ className: j,
685
+ onScroll: c.syncRowsScroll,
686
+ ...V,
687
+ children: o
688
+ }
689
+ ) : o,
690
+ /* @__PURE__ */ r("span", { className: "[grid-row:-1]", "aria-hidden": "true" })
691
+ ]
692
+ }
693
+ );
694
+ }
695
+ ), Ve = C(
637
696
  "ChoiceCardCompareLabel",
638
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ g(
697
+ ({ className: e, children: o, ...t }, a) => /* @__PURE__ */ x(
639
698
  "div",
640
699
  {
641
- ref: r,
700
+ ref: a,
642
701
  "data-slot": "choice-card-compare-label",
643
- className: l("flex items-center self-center", e),
702
+ className: i("flex items-center self-center", e),
644
703
  ...t,
645
704
  children: [
646
- /* @__PURE__ */ o("span", { className: "rounded-full border border-canvas-accordion bg-accent px-2 py-1 text-sm font-medium leading-[21px] text-accent-foreground capitalize whitespace-nowrap", children: a }),
647
- /* @__PURE__ */ o(
705
+ /* @__PURE__ */ r("span", { className: "rounded-full border border-canvas-accordion bg-accent px-2 py-1 text-sm font-medium leading-[21px] text-accent-foreground capitalize whitespace-nowrap", children: o }),
706
+ /* @__PURE__ */ r(
648
707
  "span",
649
708
  {
650
709
  className: "w-[18px] shrink-0 border-t border-dashed border-canvas-accordion",
@@ -654,96 +713,126 @@ const te = p(
654
713
  ]
655
714
  }
656
715
  )
657
- ), Ee = p(
716
+ ), Be = C(
658
717
  "ChoiceCardCompareLead",
659
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(
718
+ ({ className: e, ...o }, t) => /* @__PURE__ */ r(
660
719
  "div",
661
720
  {
662
721
  ref: t,
663
722
  "data-slot": "choice-card-compare-lead",
664
- className: l("[grid-row:2] min-h-4 min-w-0", e),
665
- ...a
723
+ className: i("[grid-row:2] min-h-4 min-w-0", e),
724
+ ...o
666
725
  }
667
726
  )
668
- ), Ge = p(
727
+ ), je = C(
669
728
  "ChoiceCardCompareRow",
670
- ({ className: e, ...a }, t) => /* @__PURE__ */ o(
729
+ ({ className: e, ...o }, t) => /* @__PURE__ */ r(
671
730
  "div",
672
731
  {
673
732
  ref: t,
674
733
  "data-slot": "choice-card-compare-row",
675
- className: l("flex w-full min-w-0 items-center justify-center self-stretch", e),
676
- ...a
734
+ className: i("flex w-full min-w-0 items-center justify-center self-stretch", e),
735
+ ...o
677
736
  }
678
737
  )
679
- ), Me = p(
738
+ ), De = C(
680
739
  "ChoiceCardCompare",
681
- ({ className: e, children: a, fit: t = "scroll", ...r }, c) => {
682
- const i = n.Children.toArray(a), m = i.find(
683
- (s) => n.isValidElement(s) && s.type === te
684
- ), h = i.filter((s) => s !== m), C = n.isValidElement(m) && m.props ? n.Children.count(
685
- m.props.children
686
- ) : 0;
687
- return /* @__PURE__ */ o(v.Provider, { value: { inCompare: !0, rows: C, fit: t }, children: /* @__PURE__ */ o(
688
- "div",
740
+ ({ className: e, children: o, fit: t = "scroll", rowMinHeight: a = "3.5rem", scrollRows: c = !1, ...n }, m) => {
741
+ const h = s.Children.toArray(o), p = h.find(
742
+ (g) => s.isValidElement(g) && g.type === ce
743
+ ), u = h.filter((g) => g !== p), d = s.isValidElement(p) && p.props ? s.Children.count(
744
+ p.props.children
745
+ ) : 0, f = (g) => {
746
+ const b = g.currentTarget, w = b.closest("[data-slot=choice-card-compare]");
747
+ if (!(w instanceof HTMLElement)) return;
748
+ const k = b.scrollTop;
749
+ w.querySelectorAll(
750
+ "[data-slot=choice-card-compare-rows]"
751
+ ).forEach((y) => {
752
+ y !== b && y.scrollTop !== k && (y.scrollTop = k);
753
+ });
754
+ }, l = c ? "auto auto minmax(0, 1fr) auto" : `auto auto repeat(${Math.max(d, 1)}, minmax(${a}, auto)) auto`;
755
+ return /* @__PURE__ */ r(
756
+ N.Provider,
689
757
  {
690
- ref: c,
691
- "data-slot": "choice-card-compare",
692
- "data-fit": t,
693
- className: l(
694
- "w-full min-w-0 overscroll-x-contain pt-5 pb-2",
695
- t === "auto" ? "overflow-x-auto" : "overflow-x-scroll",
696
- "[scrollbar-width:thin] [scrollbar-color:var(--color-stroke)_transparent]",
697
- "[&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-stroke",
698
- e
699
- ),
700
- ...r,
701
- children: /* @__PURE__ */ g(
758
+ value: { inCompare: !0, rows: d, fit: t, scrollRows: c, rowMinHeight: a, syncRowsScroll: f },
759
+ children: /* @__PURE__ */ r(
702
760
  "div",
703
761
  {
704
- className: l(
705
- "grid w-full grid-flow-col items-stretch",
706
- t === "auto" ? "min-w-0" : "min-w-max"
762
+ ref: m,
763
+ "data-slot": "choice-card-compare",
764
+ "data-fit": t,
765
+ "data-scroll-rows": c ? "true" : void 0,
766
+ className: i(
767
+ "min-w-0 overscroll-x-contain pt-5 pb-2",
768
+ c ? "h-full w-max min-w-full overflow-visible" : i(
769
+ "w-full",
770
+ t === "fill" ? "overflow-auto" : t === "auto" ? "overflow-x-auto" : "overflow-x-scroll",
771
+ "[scrollbar-width:thin] [scrollbar-color:var(--color-stroke)_transparent]",
772
+ "[&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-stroke"
773
+ ),
774
+ e
707
775
  ),
708
- style: {
709
- gridTemplateColumns: Y(h.length, t),
710
- gridTemplateRows: `auto auto repeat(${Math.max(C, 1)}, minmax(3.5rem, auto)) auto`
711
- },
712
- children: [
713
- m,
714
- h.map((s, u) => /* @__PURE__ */ g(n.Fragment, { children: [
715
- u > 0 && C > 0 ? /* @__PURE__ */ o(ee, { rows: C }) : null,
716
- s
717
- ] }, u))
718
- ]
776
+ ...n,
777
+ children: /* @__PURE__ */ x(
778
+ "div",
779
+ {
780
+ className: i(
781
+ "grid grid-flow-col items-stretch",
782
+ c ? "h-full min-h-0 w-max min-w-full" : "w-full",
783
+ !c && (t === "scroll" ? "min-w-max" : "min-w-0")
784
+ ),
785
+ style: {
786
+ gridTemplateColumns: ae(u.length, t),
787
+ gridTemplateRows: l
788
+ },
789
+ children: [
790
+ p,
791
+ u.map((g, b) => /* @__PURE__ */ x(s.Fragment, { children: [
792
+ b > 0 && d > 0 ? /* @__PURE__ */ r(
793
+ re,
794
+ {
795
+ rows: d,
796
+ fit: t,
797
+ scrollRows: c,
798
+ rowMinHeight: a,
799
+ onRowsScroll: f
800
+ }
801
+ ) : null,
802
+ g
803
+ ] }, b))
804
+ ]
805
+ }
806
+ )
719
807
  }
720
808
  )
721
809
  }
722
- ) });
810
+ );
723
811
  }
724
812
  );
725
813
  export {
726
- he as ChoiceCard,
727
- be as ChoiceCardBackground,
728
- Me as ChoiceCardCompare,
729
- Pe as ChoiceCardCompareLabel,
730
- te as ChoiceCardCompareLabels,
731
- Ee as ChoiceCardCompareLead,
732
- Ge as ChoiceCardCompareRow,
733
- we as ChoiceCardContent,
734
- ye as ChoiceCardDescription,
735
- K as ChoiceCardFeaturedBackdrop,
736
- xe as ChoiceCardFooter,
737
- O as ChoiceCardGroup,
738
- ke as ChoiceCardHeader,
739
- ze as ChoiceCardIndex,
740
- fe as ChoiceCardIndicator,
741
- ve as ChoiceCardMedia,
742
- ge as ChoiceCardRibbon,
743
- Ie as ChoiceCardStat,
744
- Re as ChoiceCardStats,
745
- Se as ChoiceCardStatus,
746
- Ne as ChoiceCardTitle,
747
- Ce as useChoiceCardGroup,
748
- pe as useChoiceCardItem
814
+ ve as ChoiceCard,
815
+ ke as ChoiceCardBackground,
816
+ De as ChoiceCardCompare,
817
+ Ve as ChoiceCardCompareLabel,
818
+ ce as ChoiceCardCompareLabels,
819
+ Be as ChoiceCardCompareLead,
820
+ je as ChoiceCardCompareRow,
821
+ Re as ChoiceCardContent,
822
+ Ie as ChoiceCardDescription,
823
+ W as ChoiceCardFeaturedBackdrop,
824
+ Se as ChoiceCardFooter,
825
+ U as ChoiceCardGroup,
826
+ Ee as ChoiceCardHeader,
827
+ Pe as ChoiceCardIndex,
828
+ Ne as ChoiceCardIndicator,
829
+ ze as ChoiceCardMedia,
830
+ ye as ChoiceCardRibbon,
831
+ Me as ChoiceCardStat,
832
+ Ae as ChoiceCardStats,
833
+ Ge as ChoiceCardStatus,
834
+ Te as ChoiceCardTitle,
835
+ ge as useChoiceCardCompare,
836
+ xe as useChoiceCardGroup,
837
+ we as useChoiceCardItem
749
838
  };