@espressif/dashboard-ui-components 1.11.2 → 1.13.0

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 (546) hide show
  1. package/.claude/rules/dashboard-ui-consumption.md +196 -5
  2. package/.cursor/rules/dashboard-ui-consumption.mdc +183 -4
  3. package/CHANGELOG.md +1048 -0
  4. package/README.md +246 -8
  5. package/THIRD-PARTY-NOTICES.md +2 -1
  6. package/dist/alert.props-CcKo49Rb.d.ts +44 -0
  7. package/dist/animation/index.d.ts +3 -0
  8. package/dist/animation/index.js +3 -0
  9. package/dist/avatar.props-2q5BsX-R.d.ts +29 -0
  10. package/dist/button-BK-DIR_L.d.ts +21 -0
  11. package/dist/button-BxJ7s6sR.d.ts +76 -0
  12. package/dist/calendar.props-BtCzuWH1.d.ts +12 -0
  13. package/dist/carousel/index.d.ts +2 -0
  14. package/dist/carousel/index.js +2 -0
  15. package/dist/charts/index.d.ts +5 -0
  16. package/dist/charts/index.js +9 -0
  17. package/dist/common/app-logo/app-logo.js +1 -1
  18. package/dist/common/index.d.ts +9 -20
  19. package/dist/common/my-account-menu/my-account-menu.js +45 -13
  20. package/dist/common/profile-card/profile-card.js +3 -2
  21. package/dist/components/accordion/accordion.js +14 -5
  22. package/dist/components/accordion/index.d.ts +36 -0
  23. package/dist/components/accordion/index.js +2 -0
  24. package/dist/components/advanced-search-box/advanced-search-box.js +8 -2
  25. package/dist/components/advanced-search-box/index.d.ts +29 -0
  26. package/dist/components/advanced-search-box/index.js +2 -0
  27. package/dist/components/alert/alert.js +2 -1
  28. package/dist/components/alert/index.d.ts +12 -0
  29. package/dist/components/alert/index.js +2 -0
  30. package/dist/components/anchored-panel/anchored-panel.js +83 -0
  31. package/dist/components/anchored-panel/index.d.ts +31 -0
  32. package/dist/components/anchored-panel/index.js +2 -0
  33. package/dist/components/animated-containers/index.d.ts +13 -0
  34. package/dist/components/animated-containers/index.js +2 -0
  35. package/dist/components/async-multi-select/async-multi-select.js +48 -7
  36. package/dist/components/async-multi-select/index.d.ts +63 -0
  37. package/dist/components/async-multi-select/index.js +2 -0
  38. package/dist/components/avatar/avatar.js +11 -4
  39. package/dist/components/avatar/index.d.ts +8 -0
  40. package/dist/components/avatar/index.js +2 -0
  41. package/dist/components/avatar-group/avatar-group.js +35 -0
  42. package/dist/components/avatar-group/index.d.ts +31 -0
  43. package/dist/components/avatar-group/index.js +2 -0
  44. package/dist/components/badge/index.d.ts +14 -0
  45. package/dist/components/badge/index.js +2 -0
  46. package/dist/components/breadcrumb/index.d.ts +21 -0
  47. package/dist/components/breadcrumb/index.js +2 -0
  48. package/dist/components/bubble/bubble.js +18 -0
  49. package/dist/components/bubble/index.d.ts +19 -0
  50. package/dist/components/bubble/index.js +2 -0
  51. package/dist/components/button/button.js +87 -25
  52. package/dist/components/button/flash-button.js +9 -3
  53. package/dist/components/button/index.d.ts +56 -0
  54. package/dist/components/button/index.js +6 -0
  55. package/dist/components/button-group/index.d.ts +16 -0
  56. package/dist/components/button-group/index.js +2 -0
  57. package/dist/components/calendar/calendar.js +5 -5
  58. package/dist/components/calendar/index.d.ts +11 -0
  59. package/dist/components/calendar/index.js +2 -0
  60. package/dist/components/card/index.d.ts +11 -0
  61. package/dist/components/card/index.js +2 -0
  62. package/dist/components/card-rail/card-rail.js +50 -0
  63. package/dist/components/card-rail/index.d.ts +30 -0
  64. package/dist/components/card-rail/index.js +2 -0
  65. package/dist/components/cards/collapsible-card.js +5 -2
  66. package/dist/components/cards/index.d.ts +16200 -0
  67. package/dist/components/cards/index.js +8 -0
  68. package/dist/components/cards/section-card.js +160 -27
  69. package/dist/components/cards/simple-card.js +5 -2
  70. package/dist/components/carousel/carousel.js +137 -49
  71. package/dist/components/carousel/index.d.ts +130 -0
  72. package/dist/components/carousel/index.js +2 -0
  73. package/dist/components/category-card/category-card.js +111 -0
  74. package/dist/components/category-card/index.d.ts +55 -0
  75. package/dist/components/category-card/index.js +2 -0
  76. package/dist/components/chart/area-chart.js +95 -85
  77. package/dist/components/chart/bar-chart.js +123 -60
  78. package/dist/components/chart/chart.js +127 -3
  79. package/dist/components/chart/composed-chart.js +109 -98
  80. package/dist/components/chart/donut-chart.js +23 -5
  81. package/dist/components/chart/index.d.ts +732 -0
  82. package/dist/components/chart/index.js +9 -0
  83. package/dist/components/chart/line-chart.js +93 -83
  84. package/dist/components/chart/treemap-chart.js +71 -58
  85. package/dist/components/check-badge/check-badge.js +25 -0
  86. package/dist/components/check-badge/index.d.ts +13 -0
  87. package/dist/components/check-badge/index.js +2 -0
  88. package/dist/components/checkbox/index.d.ts +8 -0
  89. package/dist/components/checkbox/index.js +2 -0
  90. package/dist/components/choice-card/choice-card.js +99 -0
  91. package/dist/components/choice-card/index.d.ts +41 -0
  92. package/dist/components/choice-card/index.js +2 -0
  93. package/dist/components/circular-progress/circular-progress.js +5 -2
  94. package/dist/components/circular-progress/index.d.ts +23 -0
  95. package/dist/components/circular-progress/index.js +2 -0
  96. package/dist/components/code/index.d.ts +40 -0
  97. package/dist/components/code/index.js +2 -0
  98. package/dist/components/code-editor/code-editor.js +9 -3
  99. package/dist/components/code-editor/index.d.ts +82 -0
  100. package/dist/components/code-editor/index.js +2 -0
  101. package/dist/components/collapsible/index.d.ts +42 -0
  102. package/dist/components/collapsible/index.js +2 -0
  103. package/dist/components/column-panel/column-panel.js +38 -0
  104. package/dist/components/column-panel/index.d.ts +37 -0
  105. package/dist/components/column-panel/index.js +3 -0
  106. package/dist/components/column-panel/use-panel-flag.js +27 -0
  107. package/dist/components/combobox/index.d.ts +28 -0
  108. package/dist/components/combobox/index.js +2 -0
  109. package/dist/components/confirmation-dialog/confirmation-dialog.js +1 -1
  110. package/dist/components/confirmation-dialog/index.d.ts +40 -0
  111. package/dist/components/confirmation-dialog/index.js +3 -0
  112. package/dist/components/content-container/index.d.ts +16 -0
  113. package/dist/components/content-container/index.js +2 -0
  114. package/dist/components/copiable-text/index.d.ts +33 -0
  115. package/dist/components/copiable-text/index.js +2 -0
  116. package/dist/components/coverflow/_constants/coverflow-poses.js +23 -0
  117. package/dist/components/coverflow/_constants/coverflow-shapes.js +23 -0
  118. package/dist/components/coverflow/_hooks/use-coverflow.js +90 -0
  119. package/dist/components/coverflow/_utils/ring.js +24 -0
  120. package/dist/components/coverflow/coverflow.js +198 -0
  121. package/dist/components/coverflow/index.d.ts +105 -0
  122. package/dist/components/coverflow/index.js +2 -0
  123. package/dist/components/data-table/data-table.js +9 -2
  124. package/dist/components/data-table/index.d.ts +120 -0
  125. package/dist/components/data-table/index.js +3 -0
  126. package/dist/components/date-picker/date-picker.js +5 -2
  127. package/dist/components/date-picker/index.d.ts +50 -0
  128. package/dist/components/date-picker/index.js +2 -0
  129. package/dist/components/date-range-picker/date-range-picker.js +11 -2
  130. package/dist/components/date-range-picker/index.d.ts +100 -0
  131. package/dist/components/date-range-picker/index.js +3 -0
  132. package/dist/components/date-time-picker/date-time-picker.js +5 -2
  133. package/dist/components/date-time-picker/index.d.ts +79 -0
  134. package/dist/components/date-time-picker/index.js +2 -0
  135. package/dist/components/device-icon/index.d.ts +17 -0
  136. package/dist/components/device-icon/index.js +2 -0
  137. package/dist/components/dialog/index.d.ts +38 -0
  138. package/dist/components/dialog/index.js +2 -0
  139. package/dist/components/dropdown-menu/index.d.ts +57 -0
  140. package/dist/components/dropdown-menu/index.js +2 -0
  141. package/dist/components/dynamic-list/dynamic-list.js +4 -4
  142. package/dist/components/dynamic-list/index.d.ts +74 -0
  143. package/dist/components/dynamic-list/index.js +2 -0
  144. package/dist/components/error-display/index.d.ts +17 -0
  145. package/dist/components/error-display/index.js +3 -0
  146. package/dist/components/expandable-text/expandable-text-overlay.js +78 -0
  147. package/dist/components/expandable-text/expandable-text.js +73 -0
  148. package/dist/components/expandable-text/index.d.ts +39 -0
  149. package/dist/components/expandable-text/index.js +2 -0
  150. package/dist/components/expandable-text/use-clamped.js +23 -0
  151. package/dist/components/facet-filters/_hooks/use-filter-group.js +51 -0
  152. package/dist/components/facet-filters/active-filters.js +31 -0
  153. package/dist/components/facet-filters/filter-group.js +110 -0
  154. package/dist/components/facet-filters/filters-panel.js +59 -0
  155. package/dist/components/facet-filters/filters-pill.js +40 -0
  156. package/dist/components/facet-filters/index.d.ts +104 -0
  157. package/dist/components/facet-filters/index.js +6 -0
  158. package/dist/components/facet-filters/use-filters-collapsed.js +21 -0
  159. package/dist/components/feature-grid/feature-grid.js +115 -0
  160. package/dist/components/feature-grid/index.d.ts +53 -0
  161. package/dist/components/feature-grid/index.js +2 -0
  162. package/dist/components/file-input/file-input.js +9 -3
  163. package/dist/components/file-input/index.d.ts +78 -0
  164. package/dist/components/file-input/index.js +2 -0
  165. package/dist/components/file-upload/file-upload.js +10 -5
  166. package/dist/components/file-upload/index.d.ts +38 -0
  167. package/dist/components/file-upload/index.js +2 -0
  168. package/dist/components/filters-bar/filters-bar.js +5 -1
  169. package/dist/components/filters-bar/index.d.ts +26 -0
  170. package/dist/components/filters-bar/index.js +2 -0
  171. package/dist/components/flip-card/flip-card.js +147 -0
  172. package/dist/components/flip-card/index.d.ts +43 -0
  173. package/dist/components/flip-card/index.js +2 -0
  174. package/dist/components/floating-window/_hooks/use-drag-move.js +77 -0
  175. package/dist/components/floating-window/_hooks/use-resize.js +133 -0
  176. package/dist/components/floating-window/floating-window.js +124 -0
  177. package/dist/components/floating-window/index.d.ts +64 -0
  178. package/dist/components/floating-window/index.js +2 -0
  179. package/dist/components/form/index.d.ts +28 -0
  180. package/dist/components/form/index.js +2 -0
  181. package/dist/components/fullscreen-dialog/fullscreen-dialog.js +6 -2
  182. package/dist/components/fullscreen-dialog/index.d.ts +38 -0
  183. package/dist/components/fullscreen-dialog/index.js +2 -0
  184. package/dist/components/horizontal-stepper/horizontal-stepper.js +122 -0
  185. package/dist/components/horizontal-stepper/index.d.ts +70 -0
  186. package/dist/components/horizontal-stepper/index.js +2 -0
  187. package/dist/components/icon-avatar/index.d.ts +9 -0
  188. package/dist/components/icon-avatar/index.js +2 -0
  189. package/dist/components/icon-text-action-card/icon-text-action-card.js +9 -5
  190. package/dist/components/icon-text-action-card/index.d.ts +11 -0
  191. package/dist/components/icon-text-action-card/index.js +2 -0
  192. package/dist/components/identicon/identicon.js +33 -0
  193. package/dist/components/identicon/index.d.ts +26 -0
  194. package/dist/components/identicon/index.js +2 -0
  195. package/dist/components/illustration/index.d.ts +37 -0
  196. package/dist/components/illustration/index.js +3 -0
  197. package/dist/components/index.d.ts +181 -19529
  198. package/dist/components/index.js +71 -15
  199. package/dist/components/input/index.d.ts +15 -0
  200. package/dist/components/input/index.js +3 -0
  201. package/dist/components/input-group/index.d.ts +35 -0
  202. package/dist/components/input-group/index.js +2 -0
  203. package/dist/components/input-group/input-group.js +41 -0
  204. package/dist/components/input-otp/index.d.ts +63 -0
  205. package/dist/components/input-otp/index.js +2 -0
  206. package/dist/components/key-value-manager/index.d.ts +63 -0
  207. package/dist/components/key-value-manager/index.js +2 -0
  208. package/dist/components/key-value-manager/key-value-manager-table.js +7 -5
  209. package/dist/components/keyframes/index.d.ts +53 -0
  210. package/dist/components/keyframes/index.js +3 -0
  211. package/dist/components/keyframes/keyframes-motion.js +23 -0
  212. package/dist/components/keyframes/keyframes.js +37 -0
  213. package/dist/components/label/index.d.ts +8 -0
  214. package/dist/components/label/index.js +2 -0
  215. package/dist/components/link/index.d.ts +33 -0
  216. package/dist/components/link/index.js +2 -0
  217. package/dist/components/list/index.d.ts +9 -0
  218. package/dist/components/list/index.js +3 -0
  219. package/dist/components/list/list-item.utils.js +1 -1
  220. package/dist/components/list/list.js +3 -1
  221. package/dist/components/list-details/index.d.ts +51 -0
  222. package/dist/components/list-details/index.js +2 -0
  223. package/dist/components/list-details/list-details.js +5 -2
  224. package/dist/components/lottie-animation-container/index.d.ts +10 -0
  225. package/dist/components/lottie-animation-container/index.js +2 -0
  226. package/dist/components/lottie-animation-container/lottie-animation-container.js +22 -3
  227. package/dist/components/lottie-animations/index.d.ts +8 -0
  228. package/dist/components/lottie-animations/index.js +2 -0
  229. package/dist/components/markdown-content/index.d.ts +32 -0
  230. package/dist/components/markdown-content/index.js +2 -0
  231. package/dist/components/media-card/index.d.ts +125 -0
  232. package/dist/components/media-card/index.js +4 -0
  233. package/dist/components/media-card/media-card-image.js +59 -0
  234. package/dist/components/media-card/media-card-reveal.js +76 -0
  235. package/dist/components/media-card/media-card.classes.js +37 -0
  236. package/dist/components/media-card/media-card.js +91 -0
  237. package/dist/components/media-stage/index.d.ts +41 -0
  238. package/dist/components/media-stage/index.js +2 -0
  239. package/dist/components/media-stage/media-stage.js +48 -0
  240. package/dist/components/menu/index.d.ts +14 -0
  241. package/dist/components/menu/index.js +2 -0
  242. package/dist/components/message-scroller/_hooks/use-follow-bottom.js +85 -0
  243. package/dist/components/message-scroller/index.d.ts +29 -0
  244. package/dist/components/message-scroller/index.js +2 -0
  245. package/dist/components/message-scroller/message-scroller.js +65 -0
  246. package/dist/components/mini-bar-chart/index.d.ts +40 -0
  247. package/dist/components/mini-bar-chart/index.js +2 -0
  248. package/dist/components/mini-bar-chart/mini-bar-chart.js +93 -0
  249. package/dist/components/monospace-content/index.d.ts +43 -0
  250. package/dist/components/monospace-content/index.js +2 -0
  251. package/dist/components/monospace-content/monospace-content.js +1 -1
  252. package/dist/components/nav-bar/index.d.ts +148 -0
  253. package/dist/components/nav-bar/index.js +2 -0
  254. package/dist/components/nav-bar/nav-bar-details-panel.js +158 -44
  255. package/dist/components/nav-bar/nav-bar-mobile-menu.js +93 -27
  256. package/dist/components/nav-bar/nav-bar.js +256 -138
  257. package/dist/components/nav-bar/use-nav-bar-hover-details.js +80 -0
  258. package/dist/components/nav-bar/use-nav-bar-overflow.js +5 -5
  259. package/dist/components/notice-strip/index.d.ts +32 -0
  260. package/dist/components/notice-strip/index.js +2 -0
  261. package/dist/components/notice-strip/notice-strip.js +57 -0
  262. package/dist/components/option-card-group/index.d.ts +50 -0
  263. package/dist/components/option-card-group/index.js +2 -0
  264. package/dist/components/option-card-group/option-card-group.js +76 -0
  265. package/dist/components/overflow-badge-list/index.d.ts +63 -0
  266. package/dist/components/overflow-badge-list/index.js +2 -0
  267. package/dist/components/overflow-badge-list/overflow-badge-list.js +78 -19
  268. package/dist/components/page-banner/index.d.ts +33 -0
  269. package/dist/components/page-banner/index.js +2 -0
  270. package/dist/components/page-banner/page-banner.js +56 -0
  271. package/dist/components/page-container/index.d.ts +20 -0
  272. package/dist/components/page-container/index.js +3 -0
  273. package/dist/components/page-container/page-container.js +5 -5
  274. package/dist/components/pagination/index.d.ts +31 -0
  275. package/dist/components/pagination/index.js +3 -0
  276. package/dist/components/popover/index.d.ts +60 -0
  277. package/dist/components/popover/index.js +3 -0
  278. package/dist/components/preview-card/index.d.ts +24 -0
  279. package/dist/components/preview-card/index.js +2 -0
  280. package/dist/components/progress-bar/index.d.ts +32 -0
  281. package/dist/components/progress-bar/index.js +2 -0
  282. package/dist/components/progress-bar/progress-bar.js +22 -6
  283. package/dist/components/qr-code/index.d.ts +26 -0
  284. package/dist/components/qr-code/index.js +2 -0
  285. package/dist/components/qr-code/qr-code.js +69 -0
  286. package/dist/components/radio-group/index.d.ts +24 -0
  287. package/dist/components/radio-group/index.js +2 -0
  288. package/dist/components/range-field/index.d.ts +45 -0
  289. package/dist/components/range-field/index.js +2 -0
  290. package/dist/components/range-field/range-field.js +164 -0
  291. package/dist/components/rank-numeral/index.d.ts +30 -0
  292. package/dist/components/rank-numeral/index.js +2 -0
  293. package/dist/components/rank-numeral/rank-numeral.js +26 -0
  294. package/dist/components/reaction-button/index.d.ts +32 -0
  295. package/dist/components/reaction-button/index.js +2 -0
  296. package/dist/components/reaction-button/reaction-button.js +50 -0
  297. package/dist/components/readout/index.d.ts +31 -0
  298. package/dist/components/readout/index.js +2 -0
  299. package/dist/components/readout/readout.js +63 -0
  300. package/dist/components/requirement-list/index.d.ts +52 -0
  301. package/dist/components/requirement-list/index.js +2 -0
  302. package/dist/components/requirement-list/requirement-list.js +29 -8
  303. package/dist/components/resizable/index.d.ts +31 -0
  304. package/dist/components/resizable/index.js +4 -0
  305. package/dist/components/resizable/resizable-group.js +23 -0
  306. package/dist/components/resizable/resizable-panel.js +28 -0
  307. package/dist/components/resizable/resizable-separator.js +24 -0
  308. package/dist/components/reveal/index.d.ts +26 -0
  309. package/dist/components/reveal/index.js +2 -0
  310. package/dist/components/reveal/reveal.js +27 -0
  311. package/dist/components/scroll-area/index.d.ts +27 -0
  312. package/dist/components/scroll-area/index.js +2 -0
  313. package/dist/components/scrollable-sections/index.d.ts +58 -0
  314. package/dist/components/scrollable-sections/index.js +2 -0
  315. package/dist/components/scrollable-sections/scrollable-sections.js +11 -3
  316. package/dist/components/search-box/index.d.ts +34 -0
  317. package/dist/components/search-box/index.js +2 -0
  318. package/dist/components/search-box/search-box.js +24 -14
  319. package/dist/components/search-field-shell.js +1 -1
  320. package/dist/components/select/index.d.ts +44 -0
  321. package/dist/components/select/index.js +2 -0
  322. package/dist/components/selectable-card-list/checkbox-card-list.js +5 -3
  323. package/dist/components/selectable-card-list/index.d.ts +76 -0
  324. package/dist/components/selectable-card-list/index.js +2 -0
  325. package/dist/components/selectable-card-list/radio-card-list.js +12 -6
  326. package/dist/components/selectable-card-list/selectable-card-list-shared.js +24 -12
  327. package/dist/components/selectable-card-list/selectable-card-list.js +12 -3
  328. package/dist/components/separator/index.d.ts +24 -0
  329. package/dist/components/separator/index.js +2 -0
  330. package/dist/components/share-menu/index.d.ts +55 -0
  331. package/dist/components/share-menu/index.js +2 -0
  332. package/dist/components/share-menu/share-marks.js +31 -0
  333. package/dist/components/share-menu/share-menu.js +140 -0
  334. package/dist/components/share-menu/share-urls.js +15 -0
  335. package/dist/components/sheet/index.d.ts +41 -0
  336. package/dist/components/sheet/index.js +2 -0
  337. package/dist/components/showcase-card/index.d.ts +64 -0
  338. package/dist/components/showcase-card/index.js +2 -0
  339. package/dist/components/showcase-card/showcase-card.js +116 -0
  340. package/dist/components/sidebar/index.d.ts +109 -0
  341. package/dist/components/sidebar/index.js +4 -0
  342. package/dist/components/sidebar/sidebar.js +56 -40
  343. package/dist/components/simple-clickable-card/index.d.ts +11 -0
  344. package/dist/components/simple-clickable-card/index.js +2 -0
  345. package/dist/components/simple-clickable-card/simple-clickable-card-shared.js +5 -3
  346. package/dist/components/simple-clickable-card/simple-clickable-card.js +5 -2
  347. package/dist/components/simple-info-card/index.d.ts +25 -0
  348. package/dist/components/simple-info-card/index.js +2 -0
  349. package/dist/components/simple-info-card/simple-info-card.js +6 -3
  350. package/dist/components/simple-list/index.d.ts +63 -0
  351. package/dist/components/simple-list/index.js +2 -0
  352. package/dist/components/simple-list/simple-list.js +3 -1
  353. package/dist/components/simple-paginated-list/index.d.ts +20 -0
  354. package/dist/components/simple-paginated-list/index.js +2 -0
  355. package/dist/components/simplified-date/index.d.ts +18 -0
  356. package/dist/components/simplified-date/index.js +2 -0
  357. package/dist/components/skeleton/index.d.ts +5 -0
  358. package/dist/components/skeleton/index.js +2 -0
  359. package/dist/components/skeletons/index.d.ts +11 -0
  360. package/dist/components/skeletons/index.js +2 -0
  361. package/dist/components/sort-menu/index.d.ts +34 -0
  362. package/dist/components/sort-menu/index.js +2 -0
  363. package/dist/components/sort-menu/sort-menu.js +39 -0
  364. package/dist/components/spinner/index.d.ts +15 -0
  365. package/dist/components/spinner/index.js +2 -0
  366. package/dist/components/stat-card/index.d.ts +43 -0
  367. package/dist/components/stat-card/index.js +2 -0
  368. package/dist/components/stat-card/stat-card.js +31 -12
  369. package/dist/components/status-badge/index.d.ts +24 -0
  370. package/dist/components/status-badge/index.js +2 -0
  371. package/dist/components/status-badge/status-badge.js +3 -2
  372. package/dist/components/status-card-list/index.d.ts +24 -0
  373. package/dist/components/status-card-list/index.js +2 -0
  374. package/dist/components/status-card-list/status-card-list.js +8 -4
  375. package/dist/components/step-tabs/index.d.ts +94 -0
  376. package/dist/components/step-tabs/index.js +2 -0
  377. package/dist/components/step-tabs/step-tabs.js +202 -0
  378. package/dist/components/style-scope/index.d.ts +32 -0
  379. package/dist/components/style-scope/index.js +2 -0
  380. package/dist/components/style-scope/style-scope.js +49 -0
  381. package/dist/components/switch/index.d.ts +15 -0
  382. package/dist/components/switch/index.js +2 -0
  383. package/dist/components/table/index.d.ts +18 -0
  384. package/dist/components/table/index.js +2 -0
  385. package/dist/components/tabs/index.d.ts +103 -0
  386. package/dist/components/tabs/index.js +2 -0
  387. package/dist/components/tag/index.d.ts +31 -0
  388. package/dist/components/tag/index.js +2 -0
  389. package/dist/components/tag/tag.js +79 -28
  390. package/dist/components/tag-input/index.d.ts +36 -0
  391. package/dist/components/tag-input/index.js +2 -0
  392. package/dist/components/tag-input/tag-input.js +10 -4
  393. package/dist/components/text-effects/index.d.ts +53 -0
  394. package/dist/components/text-effects/index.js +6 -0
  395. package/dist/components/textarea/index.d.ts +16 -0
  396. package/dist/components/textarea/index.js +2 -0
  397. package/dist/components/thumbnail-strip/index.d.ts +42 -0
  398. package/dist/components/thumbnail-strip/index.js +2 -0
  399. package/dist/components/thumbnail-strip/thumbnail-strip.js +124 -0
  400. package/dist/components/thumbnail-strip/use-scroll-edges.js +41 -0
  401. package/dist/components/time-picker/index.d.ts +13 -0
  402. package/dist/components/time-picker/index.js +2 -0
  403. package/dist/components/timeline/index.d.ts +39 -0
  404. package/dist/components/timeline/index.js +2 -0
  405. package/dist/components/timeline/timeline.js +85 -0
  406. package/dist/components/toast/index.d.ts +56 -0
  407. package/dist/components/toast/index.js +2 -0
  408. package/dist/components/toast/toast.js +42 -32
  409. package/dist/components/togglable-items-list/index.d.ts +28 -0
  410. package/dist/components/togglable-items-list/index.js +2 -0
  411. package/dist/components/toggle-group/index.d.ts +35 -0
  412. package/dist/components/toggle-group/index.js +2 -0
  413. package/dist/components/toolbar/index.d.ts +58 -0
  414. package/dist/components/toolbar/index.js +3 -0
  415. package/dist/components/toolbar/toolbar-button.js +40 -0
  416. package/dist/components/toolbar/toolbar.js +56 -0
  417. package/dist/components/tooltip/index.d.ts +29 -0
  418. package/dist/components/tooltip/index.js +3 -0
  419. package/dist/components/tooltip/tooltip.js +12 -2
  420. package/dist/components/trace/index.d.ts +49 -0
  421. package/dist/components/trace/index.js +2 -0
  422. package/dist/components/trace/trace.js +109 -0
  423. package/dist/components/transfer-list/index.d.ts +36 -0
  424. package/dist/components/transfer-list/index.js +2 -0
  425. package/dist/components/transfer-list/transfer-list.js +1 -1
  426. package/dist/components/truncated-line-with-tooltip/index.d.ts +22 -0
  427. package/dist/components/truncated-line-with-tooltip/index.js +2 -0
  428. package/dist/components/truncated-line-with-tooltip/truncated-line-with-tooltip.js +26 -8
  429. package/dist/components/typography/index.d.ts +19 -0
  430. package/dist/components/typography/index.js +3 -0
  431. package/dist/components/use-mobile/index.d.ts +3 -0
  432. package/dist/components/use-mobile/index.js +2 -0
  433. package/dist/components/user-type-badge/index.d.ts +39 -0
  434. package/dist/components/user-type-badge/index.js +3 -0
  435. package/dist/components/user-type-badge/user-type-badge.js +2 -1
  436. package/dist/components/vertical-stepper/index.d.ts +7 -0
  437. package/dist/components/vertical-stepper/index.js +2 -0
  438. package/dist/components/vertical-stepper/vertical-stepper.js +40 -10
  439. package/dist/components/view-toggle/index.d.ts +38 -0
  440. package/dist/components/view-toggle/index.js +2 -0
  441. package/dist/components/view-toggle/view-toggle.js +56 -0
  442. package/dist/core/animate-ui/components/animate/code.js +83 -9
  443. package/dist/core/animate-ui/components/animate/tabs.js +234 -19
  444. package/dist/core/animate-ui/components/animate/tooltip.js +10 -2
  445. package/dist/core/animate-ui/components/base/preview-card.js +20 -3
  446. package/dist/core/animate-ui/components/buttons/copy.js +12 -6
  447. package/dist/core/animate-ui/components/radix/dialog.js +17 -3
  448. package/dist/core/animate-ui/components/radix/dropdown-menu.js +26 -9
  449. package/dist/core/animate-ui/components/radix/sheet.js +20 -4
  450. package/dist/core/animate-ui/components/radix/sidebar.js +9 -9
  451. package/dist/core/animate-ui/components/radix/toggle-group.js +103 -13
  452. package/dist/core/animate-ui/components/radix/toggle.js +5 -5
  453. package/dist/core/animate-ui/primitives/animate/code-block.js +31 -4
  454. package/dist/core/animate-ui/primitives/animate/shiki-highlighter.js +5 -2
  455. package/dist/core/animate-ui/primitives/animate/tabs.js +7 -4
  456. package/dist/core/animate-ui/primitives/animate/tooltip.js +10 -3
  457. package/dist/core/animate-ui/primitives/base/preview-card.js +2 -2
  458. package/dist/core/animate-ui/primitives/base/progress.js +1 -1
  459. package/dist/core/animate-ui/primitives/base/radio.js +3 -3
  460. package/dist/core/animate-ui/primitives/effects/highlight.js +1 -0
  461. package/dist/core/animate-ui/primitives/radix/accordion.js +1 -1
  462. package/dist/core/animate-ui/primitives/radix/dialog.js +6 -3
  463. package/dist/core/animate-ui/primitives/radix/dropdown-menu.js +2 -2
  464. package/dist/core/animate-ui/primitives/radix/sheet.js +7 -3
  465. package/dist/core/animate-ui/primitives/radix/switch.js +2 -2
  466. package/dist/core/animate-ui/primitives/radix/toggle-group.js +2 -2
  467. package/dist/core/badge.js +5 -2
  468. package/dist/core/breadcrumb.js +1 -1
  469. package/dist/core/button/button.js +8 -8
  470. package/dist/core/button/craft-button.js +8 -2
  471. package/dist/core/button.js +17 -7
  472. package/dist/core/card.js +23 -5
  473. package/dist/core/combobox/combobox.js +8 -2
  474. package/dist/core/command.js +3 -3
  475. package/dist/core/form.js +1 -1
  476. package/dist/core/hooks/use-nested-layer-press-guard.js +46 -0
  477. package/dist/core/hooks/use-on-screen.js +33 -0
  478. package/dist/core/hooks/use-prefers-reduced-motion.js +19 -0
  479. package/dist/core/hooks/use-scroll-overflow.js +20 -0
  480. package/dist/core/index.d.ts +30 -5
  481. package/dist/core/index.js +5 -2
  482. package/dist/core/input/input-password.js +13 -9
  483. package/dist/core/input/input.js +38 -12
  484. package/dist/core/input-otp/input-otp.js +9 -5
  485. package/dist/core/popover-group.js +48 -0
  486. package/dist/core/popover-hover.js +127 -0
  487. package/dist/core/popover.js +75 -6
  488. package/dist/core/select.js +35 -20
  489. package/dist/core/table.js +5 -3
  490. package/dist/core/textarea/textarea.js +11 -3
  491. package/dist/data-table/index.d.ts +4 -0
  492. package/dist/data-table/index.js +3 -0
  493. package/dist/date/index.d.ts +11 -0
  494. package/dist/date/index.js +7 -0
  495. package/dist/forms/index.d.ts +4 -0
  496. package/dist/forms/index.js +2 -0
  497. package/dist/icon-avatar.props-RYtw2eSW.d.ts +31 -0
  498. package/dist/icon-text-action-card.props-B2ggncUK.d.ts +53 -0
  499. package/dist/index.d.ts +173 -15
  500. package/dist/index.js +73 -15
  501. package/dist/input-CYI1hhGc.d.ts +38 -0
  502. package/dist/layouts/index.d.ts +132 -8
  503. package/dist/layouts/index.js +3 -1
  504. package/dist/layouts/minimal-workspace-layout/minimal-workspace-layout-context.js +5 -0
  505. package/dist/layouts/minimal-workspace-layout/minimal-workspace-layout.js +404 -0
  506. package/dist/layouts/minimal-workspace-layout/rail-logo.js +90 -0
  507. package/dist/layouts/minimal-workspace-layout/sidebar-trigger.js +42 -0
  508. package/dist/layouts/shared/account-menu-props.js +21 -0
  509. package/dist/layouts/shared/footer-branding.js +34 -0
  510. package/dist/layouts/shared/sidebar-logo.js +59 -0
  511. package/dist/layouts/workspace-layout/account-menu/account-menu.js +9 -3
  512. package/dist/layouts/workspace-layout/footer/footer.js +1 -1
  513. package/dist/layouts/workspace-layout/header/header.js +1 -1
  514. package/dist/layouts/workspace-layout/workspace-layout.js +28 -80
  515. package/dist/{list.props-x1j3CbcF.d.ts → list.props-DP_xPTqU.d.ts} +2 -1
  516. package/dist/markdown/index.d.ts +11 -0
  517. package/dist/markdown/index.js +5 -0
  518. package/dist/my-account-menu.props-C7DK71WC.d.ts +67 -0
  519. package/dist/page-container.props-JutTvKFq.d.ts +48 -0
  520. package/dist/resizable.props-RxFY5tm_.d.ts +44 -0
  521. package/dist/section-card-B7c5uc08.d.ts +84 -0
  522. package/dist/simple-clickable-card.props-BrPCw7CR.d.ts +51 -0
  523. package/dist/slot-DGErA9zi.d.ts +10 -0
  524. package/dist/status-badge.props-lKlEOfRt.d.ts +32 -0
  525. package/dist/style-axes-DSQ2DGc5.d.ts +133 -0
  526. package/dist/toast/index.d.ts +6 -0
  527. package/dist/toast/index.js +2 -0
  528. package/dist/tooltip-C0bYa8a3.d.ts +37 -0
  529. package/dist/{types-DtUxK-Am.d.ts → types-CkXflqg7.d.ts} +31 -1
  530. package/dist/utils/cn.js +6 -1
  531. package/dist/utils/color.js +35 -10
  532. package/dist/utils/index.d.ts +18 -2
  533. package/dist/utils/index.js +4 -1
  534. package/dist/utils/silver-shine.js +16 -1
  535. package/dist/utils/style-axes.js +227 -0
  536. package/dist/utils/variant.js +104 -8
  537. package/dist/utils/view-transition.js +21 -0
  538. package/dist/variant-D81RhpbR.d.ts +104 -0
  539. package/dist/vertical-stepper.props-DONJJXIy.d.ts +30 -0
  540. package/package.json +58 -6
  541. package/src/styles/colors.css +100 -4
  542. package/src/styles/globals.css +8 -131
  543. package/src/styles/style-axes.css +21 -0
  544. package/src/styles/theme.css +711 -0
  545. package/dist/app-logo.props-Ct7QBdTd.d.ts +0 -40
  546. package/dist/popover-ByLD3-Qv.d.ts +0 -204
@@ -1,6 +1,11 @@
1
- import { PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, arbitraryGradientBackgroundImage, resolveVariantStyles } from "../utils/variant.js";
1
+ import { PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, arbitraryGradientBackgroundImage, listVariants, registerVariant, resolveVariantStyles } from "../utils/variant.js";
2
+ import { BORDERS, DENSITIES, ELEVATIONS, RADII, densityStyle, listStyleValues, registerDensity, registerStyleValue, resolveDensity, resolveStyleValue, useStyleAxes } from "../utils/style-axes.js";
3
+ import { StyleScope } from "./style-scope/style-scope.js";
4
+ import { Tooltip as Tooltip$1, TooltipContent, TooltipProvider, TooltipTrigger } from "../core/animate-ui/components/animate/tooltip.js";
5
+ import { TruncatedLineWithTooltip } from "./truncated-line-with-tooltip/truncated-line-with-tooltip.js";
2
6
  import { Accordion } from "./accordion/accordion.js";
3
7
  import Avatar from "./avatar/avatar.js";
8
+ import AvatarGroup from "./avatar-group/avatar-group.js";
4
9
  import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "../core/animate-ui/components/radix/dropdown-menu.js";
5
10
  import { LIST_CLASS_NAMES } from "./list/list.props.js";
6
11
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "../core/collapsible.js";
@@ -13,7 +18,6 @@ import { Illustration } from "./illustration/illustration.js";
13
18
  import NoDataCard from "./cards/no-data-card/no-data-card.js";
14
19
  import { CollapsibleCard } from "./cards/collapsible-card.js";
15
20
  import { buttonVariants } from "../core/button.js";
16
- import { Tooltip as Tooltip$1, TooltipContent, TooltipProvider, TooltipTrigger } from "../core/animate-ui/components/animate/tooltip.js";
17
21
  import Tooltip from "./tooltip/tooltip.js";
18
22
  import { Button } from "./button/button.js";
19
23
  import { InvertButton } from "./button/invert-button.js";
@@ -24,6 +28,7 @@ import { LottieAnimationContainer } from "./lottie-animation-container/lottie-an
24
28
  import { animatedCardAnimations, animatedCardTypeKeys } from "./cards/animated-card/animated-card-animations.js";
25
29
  import { AnimatedCard } from "./cards/animated-card/animated-card.js";
26
30
  import { ScrollArea, ScrollBar } from "../core/scroll-area.js";
31
+ import { PopoverGroup } from "../core/popover-group.js";
27
32
  import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "../core/popover.js";
28
33
  import { ListDetails } from "./list-details/list-details.js";
29
34
  import Menu from "./menu/menu.js";
@@ -50,15 +55,65 @@ import { FileInput } from "./file-input/file-input.js";
50
55
  import { Checkbox } from "../core/checkbox/motion-checkbox.js";
51
56
  import { Switch } from "../core/animate-ui/components/radix/switch.js";
52
57
  import { ToggleGroup, ToggleGroupItem } from "../core/animate-ui/components/radix/toggle-group.js";
58
+ import { FeatureGrid } from "./feature-grid/feature-grid.js";
59
+ import { MediaStage } from "./media-stage/media-stage.js";
60
+ import { ThumbnailStrip } from "./thumbnail-strip/thumbnail-strip.js";
61
+ import { ViewToggle } from "./view-toggle/view-toggle.js";
62
+ import { Toolbar } from "./toolbar/toolbar.js";
63
+ import { ToolbarButton } from "./toolbar/toolbar-button.js";
64
+ import { Badge, badgeVariants } from "../core/badge.js";
65
+ import { AnchoredPanel } from "./anchored-panel/anchored-panel.js";
66
+ import { FloatingWindow } from "./floating-window/floating-window.js";
67
+ import { IconTextActionCard } from "./icon-text-action-card/icon-text-action-card.js";
68
+ import { Alert } from "./alert/alert.js";
69
+ import { NoticeStrip } from "./notice-strip/notice-strip.js";
70
+ import { GlitchText } from "./text-effects/glitch-effect/glitch-text.js";
71
+ import { GradientText } from "./text-effects/gradient-text/gradient-text.js";
72
+ import { HighlightText } from "./text-effects/highlight-text/highlight-text.js";
73
+ import { ShimmeringText } from "./text-effects/shimmer-text/shimmer-text.js";
74
+ import { parseTextMarkup } from "./text-effects/parse-text-markup.js";
75
+ import { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle } from "./trace/trace.js";
76
+ import { Readout } from "./readout/readout.js";
77
+ import { ChoiceCard } from "./choice-card/choice-card.js";
78
+ import { MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardTitle } from "./media-card/media-card.js";
79
+ import { MediaCardImage } from "./media-card/media-card-image.js";
80
+ import { MediaCardReveal, MediaCardRevealChips, MediaCardRevealFooter, MediaCardRevealItem } from "./media-card/media-card-reveal.js";
81
+ import { ShowcaseCard } from "./showcase-card/showcase-card.js";
82
+ import { SortMenu } from "./sort-menu/sort-menu.js";
83
+ import { Tag } from "./tag/tag.js";
84
+ import { ActiveFilters } from "./facet-filters/active-filters.js";
85
+ import SearchBox from "./search-box/search-box.js";
86
+ import { FilterGroup } from "./facet-filters/filter-group.js";
87
+ import { FiltersPanel } from "./facet-filters/filters-panel.js";
88
+ import { FiltersPill } from "./facet-filters/filters-pill.js";
89
+ import { supportsViewTransitions, useFiltersCollapsed } from "./facet-filters/use-filters-collapsed.js";
90
+ import { InputGroup, InputGroupAddon, InputGroupTextarea } from "./input-group/input-group.js";
91
+ import { Bubble } from "./bubble/bubble.js";
92
+ import { Reveal } from "./reveal/reveal.js";
93
+ import { QrCode } from "./qr-code/qr-code.js";
94
+ import { RangeField } from "./range-field/range-field.js";
95
+ import { KeyframesMotion, easeOutSplines, keyTimes } from "./keyframes/keyframes-motion.js";
96
+ import { Keyframes } from "./keyframes/keyframes.js";
97
+ import { CheckBadge } from "./check-badge/check-badge.js";
98
+ import { MessageScroller } from "./message-scroller/message-scroller.js";
99
+ import { ResizableGroup } from "./resizable/resizable-group.js";
100
+ import { ResizablePanel } from "./resizable/resizable-panel.js";
101
+ import { ResizableSeparator } from "./resizable/resizable-separator.js";
102
+ import { usePanelFlag } from "./column-panel/use-panel-flag.js";
103
+ import { ColumnPanel } from "./column-panel/column-panel.js";
53
104
  import { RadioGroup } from "./radio-group/radio-group.js";
54
105
  import { SelectableCardList } from "./selectable-card-list/selectable-card-list.js";
55
106
  import { StatusCardList } from "./status-card-list/status-card-list.js";
56
107
  import { VerticalStepper } from "./vertical-stepper/vertical-stepper.js";
57
- import { Badge, badgeVariants } from "../core/badge.js";
108
+ import { HorizontalStepper } from "./horizontal-stepper/horizontal-stepper.js";
58
109
  import { Spinner } from "./spinner/spinner.js";
110
+ import { StatusBadge, statusBadgeSizeVariants } from "./status-badge/status-badge.js";
111
+ import { OptionCardGroup } from "./option-card-group/option-card-group.js";
112
+ import { StepTabs } from "./step-tabs/step-tabs.js";
59
113
  import { StatCard } from "./stat-card/stat-card.js";
114
+ import { ReactionButton } from "./reaction-button/reaction-button.js";
60
115
  import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "../core/button-group.js";
61
- import { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./chart/chart.js";
116
+ import { ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent } from "./chart/chart.js";
62
117
  import { CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, DEFAULT_CHART_SERIES_COLORS, buildSeriesChartConfig, getChartSeriesColor } from "./chart/chart-colors.js";
63
118
  import { BarChart } from "./chart/bar-chart.js";
64
119
  import { AreaChart } from "./chart/area-chart.js";
@@ -68,7 +123,9 @@ import { DonutChart } from "./chart/donut-chart.js";
68
123
  import { TreemapChart } from "./chart/treemap-chart.js";
69
124
  import { InputOTP, InputOTPSeparator } from "../core/input-otp/input-otp.js";
70
125
  import { Carousel } from "./carousel/carousel.js";
126
+ import { Coverflow } from "./coverflow/coverflow.js";
71
127
  import { Textarea } from "../core/textarea/textarea.js";
128
+ import { ExpandableText } from "./expandable-text/expandable-text.js";
72
129
  import { AsyncCombobox } from "../core/combobox/combobox.js";
73
130
  import { AsyncMultiSelect } from "./async-multi-select/async-multi-select.js";
74
131
  import { Calendar, CalendarDayButton } from "./calendar/calendar.js";
@@ -81,7 +138,6 @@ import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, Breadcr
81
138
  import { SimplifiedDate } from "./simplified-date/simplified-date.js";
82
139
  import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "../core/table.js";
83
140
  import { Link } from "./link/link.js";
84
- import SearchBox from "./search-box/search-box.js";
85
141
  import FiltersBar from "./filters-bar/filters-bar.js";
86
142
  import AdvancedSearchBox from "./advanced-search-box/advanced-search-box.js";
87
143
  import { TogglableItemsList } from "./togglable-items-list/togglable-items-list.js";
@@ -92,16 +148,20 @@ import { TableSkeleton } from "./skeletons/table-skeleton.js";
92
148
  import { DataTable } from "./data-table/data-table.js";
93
149
  import { DataTableRowActions } from "./data-table/row-actions.js";
94
150
  import { DeviceIcon } from "./device-icon/device-icon.js";
151
+ import { MiniBarChart } from "./mini-bar-chart/mini-bar-chart.js";
152
+ import { ShareMenu } from "./share-menu/share-menu.js";
153
+ import { Timeline } from "./timeline/timeline.js";
154
+ import Identicon from "./identicon/identicon.js";
95
155
  import { userTypeBadgeRegistry, userTypeBadgeUserTypes } from "./user-type-badge/user-type-badge.registry.js";
96
156
  import { UserTypeBadge, userTypeBadgeSizeVariants } from "./user-type-badge/user-type-badge.js";
97
- import { StatusBadge, statusBadgeSizeVariants } from "./status-badge/status-badge.js";
98
- import { Tag } from "./tag/tag.js";
99
157
  import { TagInput } from "./tag-input/tag-input.js";
100
158
  import { TransferList } from "./transfer-list/transfer-list.js";
101
159
  import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "../core/animate-ui/components/radix/dialog.js";
102
- import { IconTextActionCard } from "./icon-text-action-card/icon-text-action-card.js";
103
- import { Alert } from "./alert/alert.js";
104
160
  import { ConfirmationDialog } from "./confirmation-dialog/confirmation-dialog.js";
161
+ import { PageBanner } from "./page-banner/page-banner.js";
162
+ import { CardRail } from "./card-rail/card-rail.js";
163
+ import { FlipCard } from "./flip-card/flip-card.js";
164
+ import { RankNumeral } from "./rank-numeral/rank-numeral.js";
105
165
  import { PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger } from "../core/animate-ui/components/base/preview-card.js";
106
166
  import { Code } from "../core/animate-ui/components/animate/code.js";
107
167
  import { MonospaceContent } from "./monospace-content/monospace-content.js";
@@ -121,14 +181,10 @@ import { ProgressBar } from "./progress-bar/progress-bar.js";
121
181
  import { FullSizeError } from "./error-display/full-size-error/full-size-error.js";
122
182
  import { InlineError } from "./error-display/inline-error/inline-error.js";
123
183
  import { SimpleClickableCard } from "./simple-clickable-card/simple-clickable-card.js";
184
+ import { CategoryCard } from "./category-card/category-card.js";
124
185
  import { SimpleInfoCard } from "./simple-info-card/simple-info-card.js";
125
- import { GlitchText } from "./text-effects/glitch-effect/glitch-text.js";
126
- import { GradientText } from "./text-effects/gradient-text/gradient-text.js";
127
- import { HighlightText } from "./text-effects/highlight-text/highlight-text.js";
128
- import { ShimmeringText } from "./text-effects/shimmer-text/shimmer-text.js";
129
- import { parseTextMarkup } from "./text-effects/parse-text-markup.js";
130
186
  import { CodeEditor } from "./code-editor/code-editor.js";
131
187
  import { ContentContainer } from "./content-container/content-container.js";
132
188
  import PageContainer from "./page-container/page-container.js";
133
189
  import PageContainerSkeleton from "./page-container/page-container-skeleton.js";
134
- export { Accordion, AdvancedSearchBox, Alert, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, Avatar, Badge, BarChart, BasicDetailsCard, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, Code, CodeEditor, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, CopyButton, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DataTableRowActions, DatePicker, DateRangePicker, DateTimePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicList, FileInput, FileUpload, FiltersBar, FlashButton, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, GlitchText, GradientText, HighlightText, IconAvatar, IconTextActionCard, Illustration, InlineError, Input, InputOTP, InputOTPSeparator, InputPassword, InvertButton, KeyValueManager, LIST_CLASS_NAMES, Label, LineChart, Link, List, ListDetails, LottieAnimationContainer, MarkdownContent, Menu, MonospaceContent, NavBar, NoDataCard, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, ROLLING_PRESET_IDS, RadioGroup, RequirementList, ScrollArea, ScrollBar, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar$1 as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Skeleton, Spinner, StatCard, StatusBadge, StatusCardList, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, TimePicker, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, Tooltip$1 as TooltipRoot, TooltipTrigger, TransferList, TreemapChart, Typography, UserTypeBadge, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, VerificationInProgress, VerticalStepper, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, parseSvgViewBoxAspectRatio, parseTextMarkup, resolveVariantStyles, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, useIsMobile, useSidebar, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
190
+ export { Accordion, ActiveFilters, AdvancedSearchBox, Alert, AnchoredPanel, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, Avatar, AvatarGroup, BORDERS, Badge, BarChart, BasicDetailsCard, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardRail, CardTitle, Carousel, CategoryCard, ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent, CheckBadge, Checkbox, ChoiceCard, CircularProgress, Code, CodeEditor, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, ColumnPanel, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, CopyButton, Coverflow, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DENSITIES, DataTable, DataTableRowActions, DatePicker, DateRangePicker, DateTimePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicList, ELEVATIONS, ExpandableText, FeatureGrid, FileInput, FileUpload, FilterGroup, FiltersBar, FiltersPanel, FiltersPill, FlashButton, FlipCard, FloatingWindow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, GlitchText, GradientText, HighlightText, HorizontalStepper, IconAvatar, IconTextActionCard, Identicon, Illustration, InlineError, Input, InputGroup, InputGroupAddon, InputGroupTextarea, InputOTP, InputOTPSeparator, InputPassword, InvertButton, KeyValueManager, Keyframes, KeyframesMotion, LIST_CLASS_NAMES, Label, LineChart, Link, List, ListDetails, LottieAnimationContainer, MarkdownContent, MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardImage, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardReveal, MediaCardRevealChips, MediaCardRevealFooter, MediaCardRevealItem, MediaCardTitle, MediaStage, Menu, MessageScroller, MiniBarChart, MonospaceContent, NavBar, NoDataCard, NoticeStrip, OptionCardGroup, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageBanner, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, QrCode, RADII, ROLLING_PRESET_IDS, RadioGroup, RangeField, RankNumeral, ReactionButton, Readout, RequirementList, ResizableGroup, ResizablePanel, ResizableSeparator, Reveal, ScrollArea, ScrollBar, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, Separator, ShareMenu, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, ShowcaseCard, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar$1 as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Skeleton, SortMenu, Spinner, StatCard, StatusBadge, StatusCardList, StepTabs, StyleScope, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, ThumbnailStrip, TimePicker, Timeline, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, Tooltip, TooltipContent, TooltipProvider, Tooltip$1 as TooltipRoot, TooltipTrigger, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle, TransferList, TreemapChart, TruncatedLineWithTooltip, Typography, UserTypeBadge, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, VerificationInProgress, VerticalStepper, ViewToggle, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, computeDateRange, densityStyle, easeOutSplines, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, keyTimes, listStyleValues, listVariants, parseSvgViewBoxAspectRatio, parseTextMarkup, registerDensity, registerStyleValue, registerVariant, resolveDensity, resolveStyleValue, resolveVariantStyles, statusBadgeSizeVariants, supportsViewTransitions, toast, typographyDefaultElement, typographyVariantClasses, useFiltersCollapsed, useFormField, useIsMobile, usePanelFlag, useSidebar, useStyleAxes, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
@@ -0,0 +1,15 @@
1
+ import { a as InputProps } from '../../input-CYI1hhGc.js';
2
+ export { I as Input } from '../../input-CYI1hhGc.js';
3
+ import * as React from 'react';
4
+ import '../../style-axes-DSQ2DGc5.js';
5
+ import '../../index-BQANnKs9.js';
6
+
7
+ interface InputPasswordProps extends InputProps {
8
+ /** Accessible name of the toggle while the password is hidden. Default: 'Show password'. */
9
+ showPasswordLabel?: string;
10
+ /** Accessible name of the toggle while the password is shown. Default: 'Hide password'. */
11
+ hidePasswordLabel?: string;
12
+ }
13
+ declare const InputPassword: React.ForwardRefExoticComponent<Omit<InputPasswordProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
14
+
15
+ export { InputPassword };
@@ -0,0 +1,3 @@
1
+ import { Input } from "../../core/input/input.js";
2
+ import { InputPassword } from "../../core/input/input-password.js";
3
+ export { Input, InputPassword };
@@ -0,0 +1,35 @@
1
+ import * as React from 'react';
2
+ import { HTMLAttributes, TextareaHTMLAttributes, Ref } from 'react';
3
+
4
+ interface InputGroupProps extends HTMLAttributes<HTMLDivElement> {
5
+ /**
6
+ * `raised` (default): a soft lift below it, for a box on the page. `float`: a
7
+ * wide halo on every side, for a box floating over the page at the bottom of a
8
+ * window, where a shadow cast downward would be hidden. `flat`: no shadow, for
9
+ * a box inside a small surface that already stands off the page (a window).
10
+ */
11
+ elevation?: "raised" | "float" | "flat";
12
+ }
13
+ type InputGroupAddonProps = HTMLAttributes<HTMLDivElement>;
14
+ interface InputGroupTextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
15
+ ref?: Ref<HTMLTextAreaElement>;
16
+ }
17
+
18
+ /**
19
+ * A field and the controls that belong to it, in one bordered box (shadcn's
20
+ * Input Group, on the library's tokens). The box takes the focus ring when
21
+ * anything inside it has focus, so the field inside draws none of its own;
22
+ * `elevation` sets how it stands off the page. Compose with
23
+ * `InputGroupTextarea` and `InputGroupAddon`.
24
+ */
25
+ declare function InputGroup({ className, elevation, ...props }: InputGroupProps): React.JSX.Element;
26
+ /** A row of controls under the field in an `InputGroup` (shadcn's `align="block-end"` addon). */
27
+ declare function InputGroupAddon({ className, ...props }: InputGroupAddonProps): React.JSX.Element;
28
+ /**
29
+ * The borderless text area inside an `InputGroup`. It grows with its content
30
+ * (`field-sizing: content`) between its min and max height, then scrolls; a
31
+ * browser without field-sizing keeps the min height and scrolls.
32
+ */
33
+ declare function InputGroupTextarea({ className, ref, ...props }: InputGroupTextareaProps): React.JSX.Element;
34
+
35
+ export { InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, InputGroupTextarea, type InputGroupTextareaProps };
@@ -0,0 +1,2 @@
1
+ import { InputGroup, InputGroupAddon, InputGroupTextarea } from "./input-group.js";
2
+ export { InputGroup, InputGroupAddon, InputGroupTextarea };
@@ -0,0 +1,41 @@
1
+ import { cn } from "../../utils/cn.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ //#region src/components/input-group/input-group.tsx
4
+ /**
5
+ * A field and the controls that belong to it, in one bordered box (shadcn's
6
+ * Input Group, on the library's tokens). The box takes the focus ring when
7
+ * anything inside it has focus, so the field inside draws none of its own;
8
+ * `elevation` sets how it stands off the page. Compose with
9
+ * `InputGroupTextarea` and `InputGroupAddon`.
10
+ */
11
+ function InputGroup({ className, elevation = "raised", ...props }) {
12
+ return /* @__PURE__ */ jsx("div", {
13
+ role: "group",
14
+ "data-slot": "input-group",
15
+ className: cn("relative flex w-full flex-col rounded-3xl border border-border bg-card transition-[border-color,box-shadow] duration-200", elevation === "raised" && "shadow-md shadow-foreground/8 dark:shadow-(--espd-elevation-overlay)", elevation === "float" && "shadow-float shadow-foreground/10 dark:shadow-primary/20", "focus-within:border-primary focus-within:ring-4 focus-within:ring-primary/15", className),
16
+ ...props
17
+ });
18
+ }
19
+ /** A row of controls under the field in an `InputGroup` (shadcn's `align="block-end"` addon). */
20
+ function InputGroupAddon({ className, ...props }) {
21
+ return /* @__PURE__ */ jsx("div", {
22
+ "data-slot": "input-group-addon",
23
+ className: cn("relative flex items-center gap-1", className),
24
+ ...props
25
+ });
26
+ }
27
+ /**
28
+ * The borderless text area inside an `InputGroup`. It grows with its content
29
+ * (`field-sizing: content`) between its min and max height, then scrolls; a
30
+ * browser without field-sizing keeps the min height and scrolls.
31
+ */
32
+ function InputGroupTextarea({ className, ref, ...props }) {
33
+ return /* @__PURE__ */ jsx("textarea", {
34
+ ref,
35
+ "data-slot": "input-group-textarea",
36
+ className: cn("block w-full resize-none overflow-y-auto border-0 bg-transparent text-foreground caret-primary outline-none field-sizing-content placeholder:text-foreground-secondary focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-60", className),
37
+ ...props
38
+ });
39
+ }
40
+ //#endregion
41
+ export { InputGroup, InputGroupAddon, InputGroupTextarea };
@@ -0,0 +1,63 @@
1
+ import * as React from 'react';
2
+ import { S as Size } from '../../index-BQANnKs9.js';
3
+ import { k as StyleAxisProps } from '../../style-axes-DSQ2DGc5.js';
4
+
5
+ interface InputOTPProps {
6
+ /** Number of slots. Clamped to [2, 12]. Default: 6. */
7
+ length?: number;
8
+ /** When true, accept `[a-zA-Z0-9]` instead of digits only. Ignored when `regex` is set. */
9
+ allowAlphaNumeric?: boolean;
10
+ /**
11
+ * Custom validation pattern (JS regex source, e.g. `"^[0-9a-fA-F]+$"`). When
12
+ * provided, overrides `allowAlphaNumeric`.
13
+ */
14
+ regex?: string;
15
+ /**
16
+ * Group boundaries. `[3, 3]` renders `[slot slot slot] · [slot slot slot]`.
17
+ * Ignored (with a `console.warn`) when the sum does not equal `length`.
18
+ */
19
+ separators?: number[];
20
+ /**
21
+ * When `true`, slots stretch to fill the parent width, dividing space equally.
22
+ * When `false` (default), slots use a fixed size based on the `size` prop.
23
+ */
24
+ expand?: boolean;
25
+ /** Controlled value. */
26
+ value?: string;
27
+ /** Uncontrolled initial value. */
28
+ defaultValue?: string;
29
+ /** Fires on every change with the current concatenated value. */
30
+ onChange?: (value: string) => void;
31
+ /** Fires once when the last slot is filled. */
32
+ onComplete?: (value: string) => void;
33
+ label?: React.ReactNode;
34
+ required?: boolean;
35
+ size?: Size;
36
+ /** Fully rounded slots. Same as `radius="full"`; `radius` wins when both are set. */
37
+ rounded?: boolean;
38
+ /** Slot corner radius (style axis). */
39
+ radius?: StyleAxisProps['radius'];
40
+ disabled?: boolean;
41
+ startHelperContent?: React.ReactNode;
42
+ endHelperContent?: React.ReactNode;
43
+ hintContent?: React.ReactNode;
44
+ error?: boolean;
45
+ errorContent?: React.ReactNode;
46
+ id?: string;
47
+ name?: string;
48
+ autoFocus?: boolean;
49
+ autoComplete?: string;
50
+ className?: string;
51
+ /** Class applied to the slot row container (rare; usually not needed). */
52
+ containerClassName?: string;
53
+ 'aria-label'?: string;
54
+ }
55
+ /**
56
+ * Standalone visual divider used between OTP slot groups. Exported for callers
57
+ * that want to render their own custom slot layout; the default `InputOTP`
58
+ * component renders it automatically based on the `separators` prop.
59
+ */
60
+ declare const InputOTPSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
61
+ declare const InputOTP: React.ForwardRefExoticComponent<InputOTPProps & React.RefAttributes<HTMLInputElement>>;
62
+
63
+ export { InputOTP, type InputOTPProps, InputOTPSeparator };
@@ -0,0 +1,2 @@
1
+ import { InputOTP, InputOTPSeparator } from "../../core/input-otp/input-otp.js";
2
+ export { InputOTP, InputOTPSeparator };
@@ -0,0 +1,63 @@
1
+ import * as React from 'react';
2
+
3
+ interface KeyValueManagerItem {
4
+ key: string;
5
+ value: string;
6
+ }
7
+ interface KeyValueManagerFieldMeta {
8
+ maxLength?: number;
9
+ regex?: string;
10
+ /**
11
+ * Flags for `regex`, passed to the `RegExp` constructor (e.g. `"u"` to use
12
+ * Unicode property escapes such as `\p{L}`).
13
+ */
14
+ regexFlags?: string;
15
+ /**
16
+ * When set, the field is a select limited to these values instead of free
17
+ * text, and any other value is rejected.
18
+ */
19
+ options?: string[];
20
+ }
21
+ interface KeyValueManagerLabels {
22
+ /** Placeholder for the search box. Defaults to `Search <keyLabel> or <valueLabel>` (lowercased). */
23
+ search?: string;
24
+ /** Add button text; also its accessible name when it is icon-only on small screens. Default: `"Add"`. */
25
+ add?: string;
26
+ /** Accessible name of the button that closes the expanded search on small screens. Default: `"Close search"`. */
27
+ closeSearch?: string;
28
+ /** Error message shown under the first field on invalid or duplicate input. Default: `"Invalid key"`. */
29
+ keyErrorMessage?: string;
30
+ /** Error message shown under the second field on invalid input. Default: `"Invalid value"`. */
31
+ valueErrorMessage?: string;
32
+ /** Success message shown after a successful add. Default: `"Added successfully"`. */
33
+ successMessage?: string;
34
+ /** Header for the first column and label of the first field in the add popover. Default: `"Key"`. */
35
+ keyLabel?: string;
36
+ /** Header for the second column and label of the second field in the add popover. Default: `"Value"`. */
37
+ valueLabel?: string;
38
+ /** Header for the action column. Default: `"Action"`. */
39
+ actionLabel?: string;
40
+ /** Message shown when the list is empty. Default: `"No items"`. */
41
+ emptyItems?: string;
42
+ /** Message shown when a search returns no results. Default: `"No matches"`. */
43
+ emptySearch?: string;
44
+ /** Placeholder of a field that has `options`. Default: `"Select"`. */
45
+ selectPlaceholder?: string;
46
+ }
47
+ interface KeyValueManagerProps {
48
+ items: KeyValueManagerItem[];
49
+ meta?: {
50
+ key?: KeyValueManagerFieldMeta;
51
+ value?: KeyValueManagerFieldMeta;
52
+ };
53
+ onUpdate: (items: KeyValueManagerItem[]) => void;
54
+ maxAllowed?: number;
55
+ /** Page size for the table. Default: `10`. */
56
+ itemsPerPage?: number;
57
+ labels?: KeyValueManagerLabels;
58
+ className?: string;
59
+ }
60
+
61
+ declare function KeyValueManager({ items, meta, onUpdate, maxAllowed, itemsPerPage, labels: labelsProp, className, }: KeyValueManagerProps): React.JSX.Element;
62
+
63
+ export { KeyValueManager, type KeyValueManagerFieldMeta, type KeyValueManagerItem, type KeyValueManagerLabels, type KeyValueManagerProps };
@@ -0,0 +1,2 @@
1
+ import { KeyValueManager } from "./key-value-manager.js";
2
+ export { KeyValueManager };
@@ -8,6 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { ChevronLeft, ChevronRight, Trash2 } from "lucide-react";
9
9
  import { AnimatePresence, motion } from "framer-motion";
10
10
  //#region src/components/key-value-manager/key-value-manager-table.tsx
11
+ var MotionTableBody = motion.create(TableBody);
11
12
  var slideTransition = {
12
13
  duration: .15,
13
14
  ease: [
@@ -109,6 +110,7 @@ function KeyValueManagerTable({ rows, itemsPerPage = 10, hasSearchQuery, onDelet
109
110
  }),
110
111
  /* @__PURE__ */ jsxs(Table, {
111
112
  containerClassName: "hidden sm:block",
113
+ className: "overflow-hidden",
112
114
  children: [/* @__PURE__ */ jsx(TableHeader, { children: /* @__PURE__ */ jsxs(TableRow, { children: [
113
115
  /* @__PURE__ */ jsx(TableHead, { children: keyLabel }),
114
116
  /* @__PURE__ */ jsx(TableHead, { children: valueLabel }),
@@ -116,21 +118,21 @@ function KeyValueManagerTable({ rows, itemsPerPage = 10, hasSearchQuery, onDelet
116
118
  className: "w-12 text-right",
117
119
  children: actionLabel
118
120
  })
119
- ] }) }), /* @__PURE__ */ jsx(TableBody, { children: noRows ? /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, {
121
+ ] }) }), noRows ? /* @__PURE__ */ jsx(TableBody, { children: /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, {
120
122
  colSpan: 3,
121
123
  className: "py-8 text-center text-muted-foreground",
122
124
  children: emptyMessage
123
- }) }) : /* @__PURE__ */ jsx(AnimatePresence, {
125
+ }) }) }) : /* @__PURE__ */ jsx(AnimatePresence, {
124
126
  mode: "wait",
125
127
  custom: direction,
126
- children: /* @__PURE__ */ jsx(motion.tr, {
128
+ initial: false,
129
+ children: /* @__PURE__ */ jsx(MotionTableBody, {
127
130
  custom: direction,
128
131
  variants: slideVariants,
129
132
  initial: "enter",
130
133
  animate: "center",
131
134
  exit: "exit",
132
135
  transition: slideTransition,
133
- className: "contents",
134
136
  children: pageRows.map(({ item, sourceIndex }) => /* @__PURE__ */ jsxs(TableRow, {
135
137
  className: "group",
136
138
  children: [
@@ -149,7 +151,7 @@ function KeyValueManagerTable({ rows, itemsPerPage = 10, hasSearchQuery, onDelet
149
151
  ]
150
152
  }, `${sourceIndex}-${item.key}`))
151
153
  }, page)
152
- }) })]
154
+ })]
153
155
  }),
154
156
  showPagination ? /* @__PURE__ */ jsxs("div", {
155
157
  className: "mt-3 flex justify-end gap-1 px-2",
@@ -0,0 +1,53 @@
1
+ import * as React from 'react';
2
+
3
+ interface KeyframesProps {
4
+ /** The attribute animated: `opacity`, `stroke-dashoffset`, … or `transform`. */
5
+ attributeName: string;
6
+ /** For `transform` only: `translate`, `scale` or `rotate`. */
7
+ type?: "translate" | "scale" | "rotate";
8
+ /** One value per time. */
9
+ values: readonly (number | string)[];
10
+ /**
11
+ * When each value is reached, in seconds from the scene"s start; the first
12
+ * is normally 0, so the element holds its first value until the second
13
+ * time. The last value stays (`fill="freeze"`) unless `repeat` is set.
14
+ */
15
+ times: readonly number[];
16
+ /** Loop for as long as the scene shows. */
17
+ repeat?: boolean;
18
+ /**
19
+ * `discrete` jumps from value to value at each time instead of easing
20
+ * between them: a label swapped for another, a screen for the next.
21
+ */
22
+ calcMode?: "linear" | "discrete";
23
+ /**
24
+ * `out` eases every step out (fast start, soft landing) — a stroke drawing
25
+ * itself, a badge settling. Ignored with `calcMode`.
26
+ */
27
+ ease?: "out";
28
+ }
29
+
30
+ /**
31
+ * One SMIL animation on its parent SVG element, written as values at times —
32
+ * the timing is data, never `style`. Every animation starts with the scene,
33
+ * so an element waits on its first value rather than flashing its resting
34
+ * state before a `begin`. Renders nothing unless a `KeyframesMotion` provider
35
+ * says the scene may animate; the parent's own attributes are then its
36
+ * resting frame, which is why they are always written as the LAST value.
37
+ */
38
+ declare function Keyframes({ attributeName, type, values, times, repeat, calcMode, ease }: KeyframesProps): React.JSX.Element | null;
39
+
40
+ /**
41
+ * Whether the SVG scene showing may animate. Provide it once around the
42
+ * scene, `false` when the person prefers reduced motion: every
43
+ * `<Keyframes>` inside then renders nothing, and the scene shows its resting
44
+ * (final) frame. Default `false`, so a `<Keyframes>` with no provider stays
45
+ * still.
46
+ */
47
+ declare const KeyframesMotion: React.Context<boolean>;
48
+ /** SMIL `keyTimes` for `times` in seconds: each one as a fraction of the last. */
49
+ declare function keyTimes(times: readonly number[]): string;
50
+ /** SMIL `keySplines` easing each of the `count - 1` steps between `count` values out. */
51
+ declare function easeOutSplines(count: number): string;
52
+
53
+ export { Keyframes, KeyframesMotion, type KeyframesProps, easeOutSplines, keyTimes };
@@ -0,0 +1,3 @@
1
+ import { KeyframesMotion, easeOutSplines, keyTimes } from "./keyframes-motion.js";
2
+ import { Keyframes } from "./keyframes.js";
3
+ export { Keyframes, KeyframesMotion, easeOutSplines, keyTimes };
@@ -0,0 +1,23 @@
1
+ import { createContext } from "react";
2
+ //#region src/components/keyframes/keyframes-motion.ts
3
+ /**
4
+ * Whether the SVG scene showing may animate. Provide it once around the
5
+ * scene, `false` when the person prefers reduced motion: every
6
+ * `<Keyframes>` inside then renders nothing, and the scene shows its resting
7
+ * (final) frame. Default `false`, so a `<Keyframes>` with no provider stays
8
+ * still.
9
+ */
10
+ var KeyframesMotion = createContext(false);
11
+ /** SMIL `keyTimes` for `times` in seconds: each one as a fraction of the last. */
12
+ function keyTimes(times) {
13
+ const total = times[times.length - 1] ?? 0;
14
+ if (total <= 0) return times.map(() => 0).join(";");
15
+ return times.map((time) => Number((time / total).toFixed(4))).join(";");
16
+ }
17
+ var EASE_OUT = "0 0 0.58 1";
18
+ /** SMIL `keySplines` easing each of the `count - 1` steps between `count` values out. */
19
+ function easeOutSplines(count) {
20
+ return Array.from({ length: Math.max(count - 1, 1) }, () => EASE_OUT).join(";");
21
+ }
22
+ //#endregion
23
+ export { KeyframesMotion, easeOutSplines, keyTimes };
@@ -0,0 +1,37 @@
1
+ import { KeyframesMotion, easeOutSplines, keyTimes } from "./keyframes-motion.js";
2
+ import { useContext } from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/keyframes/keyframes.tsx
5
+ /**
6
+ * One SMIL animation on its parent SVG element, written as values at times —
7
+ * the timing is data, never `style`. Every animation starts with the scene,
8
+ * so an element waits on its first value rather than flashing its resting
9
+ * state before a `begin`. Renders nothing unless a `KeyframesMotion` provider
10
+ * says the scene may animate; the parent's own attributes are then its
11
+ * resting frame, which is why they are always written as the LAST value.
12
+ */
13
+ function Keyframes({ attributeName, type, values, times, repeat = false, calcMode, ease }) {
14
+ if (!useContext(KeyframesMotion)) return null;
15
+ const timing = {
16
+ values: values.join(";"),
17
+ keyTimes: keyTimes(times),
18
+ dur: `${times[times.length - 1] ?? 0}s`,
19
+ fill: "freeze",
20
+ repeatCount: repeat ? "indefinite" : void 0,
21
+ ...ease && !calcMode ? {
22
+ calcMode: "spline",
23
+ keySplines: easeOutSplines(values.length)
24
+ } : { calcMode }
25
+ };
26
+ if (type) return /* @__PURE__ */ jsx("animateTransform", {
27
+ attributeName,
28
+ type,
29
+ ...timing
30
+ });
31
+ return /* @__PURE__ */ jsx("animate", {
32
+ attributeName,
33
+ ...timing
34
+ });
35
+ }
36
+ //#endregion
37
+ export { Keyframes };
@@ -0,0 +1,8 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import * as LabelPrimitive from '@radix-ui/react-label';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
7
+
8
+ export { Label };
@@ -0,0 +1,2 @@
1
+ import { Label } from "../../core/label.js";
2
+ export { Label };
@@ -0,0 +1,33 @@
1
+ import * as React from 'react';
2
+ import { AnchorHTMLAttributes, ElementType, ReactNode } from 'react';
3
+
4
+ type LinkColor = "primary" | "secondary" | "error" | "info" | "success" | "warning" | "gray";
5
+ type LinkVariant = "default" | "ghost";
6
+ /** Anchor attrs minus the ones the component owns (`href` is derived from `to`; `target`/`rel` are forced for external URLs). */
7
+ type ForwardedAnchorAttrs = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "target" | "rel">;
8
+ interface LinkProps extends ForwardedAnchorAttrs {
9
+ /** Destination. Absolute URLs (http(s)://, mailto:, tel:, sms:, ftp:, //) are auto-detected as external. Anything else is internal. */
10
+ to: string;
11
+ /** Route params, only forwarded when `linkComponent` is provided. Dropped for plain `<a>` and external fallbacks. */
12
+ params?: Record<string, unknown>;
13
+ /** Query / search params, only forwarded when `linkComponent` is provided. */
14
+ search?: Record<string, unknown>;
15
+ /**
16
+ * Router-aware Link component used for internal navigation. Receives `to`, `params`, `search`, `className`, `children`, plus any forwarded anchor attrs.
17
+ * If omitted, internal links render a plain `<a href={to}>`, which causes a full page reload — pass your router's Link to avoid that.
18
+ * Ignored for external URLs.
19
+ */
20
+ linkComponent?: ElementType;
21
+ /** Theme color. When set, the link renders in a ghost-pill style (padded, color-tinted hover background). When omitted, the link is a bare inline anchor that inherits color. */
22
+ color?: LinkColor;
23
+ /** Visual variant. `"default"` applies padded pill styling from `color`; `"ghost"` strips padding, height, and hover background for a bare inline link. Default `"default"`. */
24
+ variant?: LinkVariant;
25
+ /** Show the animated underline on hover. Default `false`. */
26
+ underline?: boolean;
27
+ startIcon?: ReactNode;
28
+ endIcon?: ReactNode;
29
+ }
30
+
31
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
32
+
33
+ export { Link, type LinkColor, type LinkProps };