tembro 3.1.1 → 3.1.6

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 (1114) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/dist/components/actions/index.d.ts +0 -1
  3. package/dist/components/actions/public.d.ts +0 -1
  4. package/dist/components/charts/index.d.ts +1 -3
  5. package/dist/components/charts/progress-circle.cjs +1 -0
  6. package/dist/components/charts/progress-circle.d.ts +4 -0
  7. package/dist/components/charts/progress-circle.js +1 -0
  8. package/dist/components/data-table/public.d.ts +0 -5
  9. package/dist/components/display/index.d.ts +4 -10
  10. package/dist/components/display/qr-code.cjs +1 -0
  11. package/dist/components/display/qr-code.d.ts +18 -0
  12. package/dist/components/display/qr-code.js +1 -0
  13. package/dist/components/display/virtual-list.d.ts +2 -1
  14. package/dist/components/inputs/color-picker.cjs +1 -0
  15. package/dist/components/inputs/color-picker.d.ts +20 -0
  16. package/dist/components/inputs/color-picker.js +1 -0
  17. package/dist/components/inputs/index.d.ts +2 -0
  18. package/dist/components/inputs/public.d.ts +2 -0
  19. package/dist/components/inputs/signature-pad.cjs +1 -0
  20. package/dist/components/inputs/signature-pad.d.ts +36 -0
  21. package/dist/components/inputs/signature-pad.js +1 -0
  22. package/dist/components/layout/app-sidebar.d.ts +9 -2
  23. package/dist/components/layout/controllable-details.cjs +1 -0
  24. package/dist/components/layout/controllable-details.d.ts +9 -0
  25. package/dist/components/layout/controllable-details.js +1 -0
  26. package/dist/components/layout/index.d.ts +0 -4
  27. package/dist/components/layout/public.d.ts +0 -4
  28. package/dist/components/layout/sidebar-nav.d.ts +6 -1
  29. package/dist/components/modern/image-cropper.cjs +1 -0
  30. package/dist/components/modern/image-cropper.d.ts +39 -0
  31. package/dist/components/modern/image-cropper.js +1 -0
  32. package/dist/components/modern/index.d.ts +2 -3
  33. package/dist/components/modern/rich-text-editor.d.ts +17 -3
  34. package/dist/components/navigation/index.d.ts +0 -5
  35. package/dist/components/overlay/confirm-dialog.d.ts +17 -5
  36. package/dist/components/overlay/index.d.ts +0 -3
  37. package/dist/components/patterns/bulk-action-bar.cjs +1 -0
  38. package/dist/components/patterns/bulk-action-bar.d.ts +10 -0
  39. package/dist/components/patterns/bulk-action-bar.js +1 -0
  40. package/dist/components/patterns/data-view.cjs +1 -0
  41. package/dist/components/patterns/data-view.d.ts +17 -0
  42. package/dist/components/patterns/data-view.js +1 -0
  43. package/dist/components/patterns/detail-layout.cjs +1 -0
  44. package/dist/components/patterns/detail-layout.d.ts +16 -0
  45. package/dist/components/patterns/detail-layout.js +1 -0
  46. package/dist/components/patterns/empty-state.cjs +1 -0
  47. package/dist/components/patterns/empty-state.d.ts +22 -0
  48. package/dist/components/patterns/empty-state.js +1 -0
  49. package/dist/components/patterns/index.d.ts +7 -0
  50. package/dist/components/patterns/page-toolbar.cjs +1 -0
  51. package/dist/components/patterns/page-toolbar.d.ts +11 -0
  52. package/dist/components/patterns/page-toolbar.js +1 -0
  53. package/dist/components/patterns/public.d.ts +7 -0
  54. package/dist/components/patterns/settings-page.cjs +1 -0
  55. package/dist/components/patterns/settings-page.d.ts +21 -0
  56. package/dist/components/patterns/settings-page.js +1 -0
  57. package/dist/components/theme-provider.d.ts +4 -1
  58. package/dist/components/ui/accordion/index.d.ts +8 -12
  59. package/dist/components/ui/checkbox/index.d.ts +8 -2
  60. package/dist/components/ui/input/decorator.d.ts +1 -1
  61. package/dist/components/upload/index.d.ts +0 -2
  62. package/dist/index.d.ts +2 -2
  63. package/dist/showcase/package-meta.d.ts +3 -3
  64. package/dist/showcase/premium/color-picker/index.cjs +1 -0
  65. package/dist/showcase/premium/color-picker/index.d.ts +2 -0
  66. package/dist/showcase/premium/color-picker/index.js +1 -0
  67. package/dist/showcase/premium/color-picker/mock.cjs +1 -0
  68. package/dist/showcase/premium/color-picker/mock.d.ts +2 -0
  69. package/dist/showcase/premium/color-picker/mock.js +1 -0
  70. package/dist/showcase/premium/color-picker/showcase.cjs +1 -0
  71. package/dist/showcase/premium/color-picker/showcase.d.ts +2 -0
  72. package/dist/showcase/premium/color-picker/showcase.js +1 -0
  73. package/dist/showcase/premium/image-cropper/index.cjs +1 -0
  74. package/dist/showcase/premium/image-cropper/index.d.ts +2 -0
  75. package/dist/showcase/premium/image-cropper/index.js +1 -0
  76. package/dist/showcase/premium/image-cropper/mock.cjs +1 -0
  77. package/dist/showcase/premium/image-cropper/mock.d.ts +2 -0
  78. package/dist/showcase/premium/image-cropper/mock.js +1 -0
  79. package/dist/showcase/premium/image-cropper/showcase.cjs +1 -0
  80. package/dist/showcase/premium/image-cropper/showcase.d.ts +2 -0
  81. package/dist/showcase/premium/image-cropper/showcase.js +1 -0
  82. package/dist/showcase/premium/qr-code/index.cjs +1 -0
  83. package/dist/showcase/premium/qr-code/index.d.ts +2 -0
  84. package/dist/showcase/premium/qr-code/index.js +1 -0
  85. package/dist/showcase/premium/qr-code/mock.cjs +1 -0
  86. package/dist/showcase/premium/qr-code/mock.d.ts +2 -0
  87. package/dist/showcase/premium/qr-code/mock.js +1 -0
  88. package/dist/showcase/premium/qr-code/showcase.cjs +1 -0
  89. package/dist/showcase/premium/qr-code/showcase.d.ts +2 -0
  90. package/dist/showcase/premium/qr-code/showcase.js +1 -0
  91. package/dist/showcase/premium/rich-text-editor/index.cjs +1 -0
  92. package/dist/showcase/premium/rich-text-editor/index.d.ts +2 -0
  93. package/dist/showcase/premium/rich-text-editor/index.js +1 -0
  94. package/dist/showcase/premium/rich-text-editor/mock.cjs +1 -0
  95. package/dist/showcase/premium/rich-text-editor/mock.d.ts +2 -0
  96. package/dist/showcase/premium/rich-text-editor/mock.js +1 -0
  97. package/dist/showcase/premium/rich-text-editor/showcase.cjs +1 -0
  98. package/dist/showcase/premium/rich-text-editor/showcase.d.ts +2 -0
  99. package/dist/showcase/premium/rich-text-editor/showcase.js +1 -0
  100. package/dist/showcase/premium/signature-pad/index.cjs +1 -0
  101. package/dist/showcase/premium/signature-pad/index.d.ts +2 -0
  102. package/dist/showcase/premium/signature-pad/index.js +1 -0
  103. package/dist/showcase/premium/signature-pad/mock.cjs +1 -0
  104. package/dist/showcase/premium/signature-pad/mock.d.ts +2 -0
  105. package/dist/showcase/premium/signature-pad/mock.js +1 -0
  106. package/dist/showcase/premium/signature-pad/showcase.cjs +1 -0
  107. package/dist/showcase/premium/signature-pad/showcase.d.ts +2 -0
  108. package/dist/showcase/premium/signature-pad/showcase.js +1 -0
  109. package/dist/showcase/premium/statistic/showcase.d.ts +2 -1
  110. package/dist/showcase/preview-compositions.cjs +1 -0
  111. package/dist/showcase/preview-compositions.d.ts +30 -0
  112. package/dist/showcase/preview-compositions.js +1 -0
  113. package/dist/src/components/actions/index.cjs +1 -1
  114. package/dist/src/components/actions/index.js +2 -3
  115. package/dist/src/components/actions/public.cjs +1 -1
  116. package/dist/src/components/actions/public.js +2 -3
  117. package/dist/src/components/charts/index.cjs +1 -1
  118. package/dist/src/components/charts/index.js +2 -4
  119. package/dist/src/components/charts/progress-circle.cjs +1 -0
  120. package/dist/src/components/charts/progress-circle.js +5 -0
  121. package/dist/src/components/data-table/demo.cjs +1 -1
  122. package/dist/src/components/data-table/demo.js +5 -25
  123. package/dist/src/components/data-table/index.cjs +1 -1
  124. package/dist/src/components/data-table/index.js +5 -5
  125. package/dist/src/components/data-table/public.cjs +1 -1
  126. package/dist/src/components/data-table/public.js +2 -7
  127. package/dist/src/components/display/demo.cjs +1 -1
  128. package/dist/src/components/display/demo.js +1 -6
  129. package/dist/src/components/display/index.cjs +1 -1
  130. package/dist/src/components/display/index.js +19 -25
  131. package/dist/src/components/display/info-card.cjs +1 -1
  132. package/dist/src/components/display/info-card.js +30 -19
  133. package/dist/src/components/display/qr-code.cjs +1 -0
  134. package/dist/src/components/display/qr-code.js +74 -0
  135. package/dist/src/components/display/statistic.cjs +1 -1
  136. package/dist/src/components/display/statistic.js +24 -3
  137. package/dist/src/components/display/tag.cjs +1 -1
  138. package/dist/src/components/display/tag.js +13 -8
  139. package/dist/src/components/display/typography.cjs +1 -1
  140. package/dist/src/components/display/typography.js +36 -28
  141. package/dist/src/components/feedback/page-state.cjs +1 -1
  142. package/dist/src/components/feedback/page-state.js +9 -0
  143. package/dist/src/components/form/form-field-shell.cjs +1 -1
  144. package/dist/src/components/form/form-field-shell.js +9 -10
  145. package/dist/src/components/inputs/async-select.cjs +1 -1
  146. package/dist/src/components/inputs/async-select.js +36 -30
  147. package/dist/src/components/inputs/color-picker.cjs +1 -0
  148. package/dist/src/components/inputs/color-picker.js +124 -0
  149. package/dist/src/components/inputs/demo.cjs +1 -1
  150. package/dist/src/components/inputs/demo.js +0 -8
  151. package/dist/src/components/inputs/index.cjs +1 -1
  152. package/dist/src/components/inputs/index.js +3 -1
  153. package/dist/src/components/inputs/public.cjs +1 -1
  154. package/dist/src/components/inputs/public.js +3 -1
  155. package/dist/src/components/inputs/signature-pad.cjs +1 -0
  156. package/dist/src/components/inputs/signature-pad.js +118 -0
  157. package/dist/src/components/layout/app-sidebar.cjs +1 -1
  158. package/dist/src/components/layout/app-sidebar.js +211 -189
  159. package/dist/src/components/layout/controllable-details.cjs +1 -0
  160. package/dist/src/components/layout/controllable-details.js +18 -0
  161. package/dist/src/components/layout/demo.cjs +1 -1
  162. package/dist/src/components/layout/demo.js +1 -5
  163. package/dist/src/components/layout/index.cjs +1 -1
  164. package/dist/src/components/layout/index.js +3 -7
  165. package/dist/src/components/layout/public.cjs +1 -1
  166. package/dist/src/components/layout/public.js +2 -6
  167. package/dist/src/components/layout/sidebar-nav.cjs +1 -1
  168. package/dist/src/components/layout/sidebar-nav.js +105 -84
  169. package/dist/src/components/modern/image-cropper.cjs +1 -0
  170. package/dist/src/components/modern/image-cropper.js +143 -0
  171. package/dist/src/components/modern/index.cjs +1 -1
  172. package/dist/src/components/modern/index.js +6 -7
  173. package/dist/src/components/modern/rich-text-editor.cjs +1 -1
  174. package/dist/src/components/modern/rich-text-editor.js +164 -17
  175. package/dist/src/components/navigation/demo.cjs +1 -1
  176. package/dist/src/components/navigation/demo.js +1 -6
  177. package/dist/src/components/navigation/index.cjs +1 -1
  178. package/dist/src/components/navigation/index.js +2 -7
  179. package/dist/src/components/overlay/confirm-dialog.cjs +1 -1
  180. package/dist/src/components/overlay/confirm-dialog.js +54 -33
  181. package/dist/src/components/overlay/index.cjs +1 -1
  182. package/dist/src/components/overlay/index.js +3 -6
  183. package/dist/src/components/patterns/bulk-action-bar.cjs +1 -0
  184. package/dist/src/components/patterns/bulk-action-bar.js +34 -0
  185. package/dist/src/components/patterns/data-view.cjs +1 -0
  186. package/dist/src/components/patterns/data-view.js +47 -0
  187. package/dist/src/components/patterns/detail-layout.cjs +1 -0
  188. package/dist/src/components/patterns/detail-layout.js +65 -0
  189. package/dist/src/components/patterns/empty-state.cjs +1 -0
  190. package/dist/src/components/patterns/empty-state.js +62 -0
  191. package/dist/src/components/patterns/index.cjs +1 -1
  192. package/dist/src/components/patterns/index.js +10 -3
  193. package/dist/src/components/patterns/page-toolbar.cjs +1 -0
  194. package/dist/src/components/patterns/page-toolbar.js +41 -0
  195. package/dist/src/components/patterns/public.cjs +1 -1
  196. package/dist/src/components/patterns/public.js +10 -3
  197. package/dist/src/components/patterns/resource-detail-page.cjs +1 -1
  198. package/dist/src/components/patterns/resource-detail-page.js +8 -8
  199. package/dist/src/components/patterns/resource-page.cjs +1 -1
  200. package/dist/src/components/patterns/resource-page.js +1 -1
  201. package/dist/src/components/patterns/settings-page.cjs +1 -0
  202. package/dist/src/components/patterns/settings-page.js +64 -0
  203. package/dist/src/components/theme-provider.cjs +1 -1
  204. package/dist/src/components/theme-provider.js +33 -21
  205. package/dist/src/components/ui/accordion/index.cjs +1 -1
  206. package/dist/src/components/ui/accordion/index.js +3 -27
  207. package/dist/src/components/ui/badge/index.cjs +1 -1
  208. package/dist/src/components/ui/badge/index.js +19 -24
  209. package/dist/src/components/ui/button/index.cjs +1 -1
  210. package/dist/src/components/ui/button/index.js +20 -21
  211. package/dist/src/components/ui/card/index.cjs +1 -1
  212. package/dist/src/components/ui/card/index.js +21 -20
  213. package/dist/src/components/ui/checkbox/index.cjs +1 -1
  214. package/dist/src/components/ui/checkbox/index.js +31 -20
  215. package/dist/src/components/ui/dialog/index.cjs +1 -1
  216. package/dist/src/components/ui/dialog/index.js +11 -11
  217. package/dist/src/components/ui/dropdown-menu/index.cjs +1 -1
  218. package/dist/src/components/ui/dropdown-menu/index.js +21 -23
  219. package/dist/src/components/ui/input/group.cjs +1 -1
  220. package/dist/src/components/ui/input/group.js +2 -1
  221. package/dist/src/components/ui/input/index.cjs +1 -1
  222. package/dist/src/components/ui/input/index.js +9 -5
  223. package/dist/src/components/ui/input/password.cjs +1 -1
  224. package/dist/src/components/ui/input/password.js +2 -3
  225. package/dist/src/components/ui/popover/index.cjs +1 -1
  226. package/dist/src/components/ui/popover/index.js +10 -10
  227. package/dist/src/components/ui/select/index.cjs +1 -1
  228. package/dist/src/components/ui/select/index.js +64 -64
  229. package/dist/src/components/ui/tabs/index.cjs +1 -1
  230. package/dist/src/components/ui/tabs/index.js +6 -6
  231. package/dist/src/components/upload/demo.cjs +1 -1
  232. package/dist/src/components/upload/demo.js +1 -5
  233. package/dist/src/components/upload/file-upload.cjs +1 -1
  234. package/dist/src/components/upload/file-upload.js +18 -0
  235. package/dist/src/components/upload/index.cjs +1 -1
  236. package/dist/src/components/upload/index.js +1 -2
  237. package/dist/src/index.cjs +1 -1
  238. package/dist/src/index.js +109 -127
  239. package/dist/src/public-component-surface.cjs +1 -1
  240. package/dist/src/public-component-surface.js +74 -4
  241. package/dist/src/showcase/demo-snippets/actions/index.cjs +6 -6
  242. package/dist/src/showcase/demo-snippets/actions/index.js +1 -1
  243. package/dist/src/showcase/fallback.cjs +3 -3
  244. package/dist/src/showcase/fallback.js +179 -336
  245. package/dist/src/showcase/package-meta.cjs +1 -1
  246. package/dist/src/showcase/package-meta.js +1 -1
  247. package/dist/src/showcase/premium/app-sidebar/mock.cjs +25 -6
  248. package/dist/src/showcase/premium/app-sidebar/mock.js +7 -5
  249. package/dist/src/showcase/premium/app-sidebar/showcase.cjs +1 -1
  250. package/dist/src/showcase/premium/app-sidebar/showcase.js +147 -63
  251. package/dist/src/showcase/premium/{command-bar → color-picker}/index.cjs +1 -1
  252. package/dist/src/showcase/premium/color-picker/index.js +3 -0
  253. package/dist/src/showcase/premium/color-picker/mock.cjs +11 -0
  254. package/dist/src/showcase/premium/color-picker/mock.js +15 -0
  255. package/dist/src/showcase/premium/color-picker/showcase.cjs +1 -0
  256. package/dist/src/showcase/premium/color-picker/showcase.js +21 -0
  257. package/dist/src/showcase/premium/data-table/showcase.cjs +1 -1
  258. package/dist/src/showcase/premium/data-table/showcase.js +6 -6
  259. package/dist/src/showcase/premium/file-upload/mock.cjs +6 -1
  260. package/dist/src/showcase/premium/file-upload/mock.js +3 -2
  261. package/dist/src/showcase/premium/file-upload/showcase.cjs +1 -1
  262. package/dist/src/showcase/premium/file-upload/showcase.js +89 -36
  263. package/dist/src/showcase/premium/{copy-field → image-cropper}/index.cjs +1 -1
  264. package/dist/src/showcase/premium/image-cropper/index.js +3 -0
  265. package/dist/src/showcase/premium/image-cropper/mock.cjs +5 -0
  266. package/dist/src/showcase/premium/image-cropper/mock.js +15 -0
  267. package/dist/src/showcase/premium/image-cropper/showcase.cjs +1 -0
  268. package/dist/src/showcase/premium/image-cropper/showcase.js +21 -0
  269. package/dist/src/showcase/premium/index.cjs +1 -1
  270. package/dist/src/showcase/premium/index.js +352 -498
  271. package/dist/src/showcase/premium/input/mock.cjs +17 -36
  272. package/dist/src/showcase/premium/input/mock.js +3 -2
  273. package/dist/src/showcase/premium/input/showcase.cjs +1 -1
  274. package/dist/src/showcase/premium/input/showcase.js +326 -175
  275. package/dist/src/showcase/premium/page-state/mock.cjs +11 -8
  276. package/dist/src/showcase/premium/page-state/mock.js +5 -5
  277. package/dist/src/showcase/premium/page-state/showcase.cjs +1 -1
  278. package/dist/src/showcase/premium/page-state/showcase.js +59 -31
  279. package/dist/src/showcase/premium/{accordion → qr-code}/index.cjs +1 -1
  280. package/dist/src/showcase/premium/qr-code/index.js +3 -0
  281. package/dist/src/showcase/premium/qr-code/mock.cjs +5 -0
  282. package/dist/src/showcase/premium/qr-code/mock.js +15 -0
  283. package/dist/src/showcase/premium/qr-code/showcase.cjs +1 -0
  284. package/dist/src/showcase/premium/qr-code/showcase.js +22 -0
  285. package/dist/src/showcase/premium/rich-text-editor/index.cjs +1 -0
  286. package/dist/src/showcase/premium/rich-text-editor/index.js +3 -0
  287. package/dist/src/showcase/premium/rich-text-editor/mock.cjs +5 -0
  288. package/dist/src/showcase/premium/rich-text-editor/mock.js +15 -0
  289. package/dist/src/showcase/premium/rich-text-editor/showcase.cjs +1 -0
  290. package/dist/src/showcase/premium/rich-text-editor/showcase.js +20 -0
  291. package/dist/src/showcase/premium/{descriptions → signature-pad}/index.cjs +1 -1
  292. package/dist/src/showcase/premium/signature-pad/index.js +3 -0
  293. package/dist/src/showcase/premium/signature-pad/mock.cjs +10 -0
  294. package/dist/src/showcase/premium/signature-pad/mock.js +15 -0
  295. package/dist/src/showcase/premium/signature-pad/showcase.cjs +1 -0
  296. package/dist/src/showcase/premium/signature-pad/showcase.js +24 -0
  297. package/dist/src/showcase/premium/statistic/mock.cjs +2 -2
  298. package/dist/src/showcase/premium/statistic/mock.js +1 -1
  299. package/dist/src/showcase/premium/statistic/showcase.cjs +1 -1
  300. package/dist/src/showcase/premium/statistic/showcase.js +72 -50
  301. package/dist/src/showcase/premium/tag/showcase.cjs +1 -1
  302. package/dist/src/showcase/premium/tag/showcase.js +82 -13
  303. package/dist/src/showcase/preview-catalog.cjs +1 -2
  304. package/dist/src/showcase/preview-catalog.js +2 -2
  305. package/dist/src/showcase/preview-compositions.cjs +1 -0
  306. package/dist/src/showcase/preview-compositions.js +50 -0
  307. package/dist/src/showcase/registry-quality.cjs +1 -1
  308. package/dist/src/showcase/registry-quality.js +4 -19
  309. package/dist/src/showcase/registry-specific.cjs +1 -1
  310. package/dist/src/showcase/registry-specific.js +272 -430
  311. package/dist/src/showcase/render-registry-preview.cjs +1 -1
  312. package/dist/src/showcase/render-registry-preview.js +233 -338
  313. package/dist/src/showcase/site-data.cjs +1 -1
  314. package/dist/src/showcase/site-data.js +365 -1422
  315. package/dist/src/showcase/tembro-registry.json.cjs +1 -1
  316. package/dist/src/showcase/tembro-registry.json.js +76 -57
  317. package/package.json +12 -3
  318. package/packages/cli/dist/index.cjs +931 -123
  319. package/packages/cli/vendor/src/components/actions/index.ts +0 -1
  320. package/packages/cli/vendor/src/components/actions/public.ts +0 -1
  321. package/packages/cli/vendor/src/components/charts/index.ts +2 -4
  322. package/packages/cli/vendor/src/components/charts/progress-circle.tsx +7 -0
  323. package/packages/cli/vendor/src/components/data-table/demo.tsx +0 -25
  324. package/packages/cli/vendor/src/components/data-table/public.ts +0 -5
  325. package/packages/cli/vendor/src/components/display/demo.tsx +0 -5
  326. package/packages/cli/vendor/src/components/display/index.ts +12 -18
  327. package/packages/cli/vendor/src/components/display/info-card.tsx +35 -27
  328. package/packages/cli/vendor/src/components/display/qr-code.tsx +101 -0
  329. package/packages/cli/vendor/src/components/display/statistic.tsx +14 -12
  330. package/packages/cli/vendor/src/components/display/tag.tsx +18 -11
  331. package/packages/cli/vendor/src/components/display/typography.tsx +12 -14
  332. package/packages/cli/vendor/src/components/display/virtual-list.tsx +18 -16
  333. package/packages/cli/vendor/src/components/feedback/page-state.tsx +9 -5
  334. package/packages/cli/vendor/src/components/form/form-field-shell.tsx +9 -12
  335. package/packages/cli/vendor/src/components/inputs/async-select.tsx +47 -73
  336. package/packages/cli/vendor/src/components/inputs/color-picker.tsx +154 -0
  337. package/packages/cli/vendor/src/components/inputs/demo.tsx +0 -8
  338. package/packages/cli/vendor/src/components/inputs/index.ts +2 -0
  339. package/packages/cli/vendor/src/components/inputs/public.ts +2 -0
  340. package/packages/cli/vendor/src/components/inputs/signature-pad.tsx +192 -0
  341. package/packages/cli/vendor/src/components/layout/app-sidebar.tsx +168 -112
  342. package/packages/cli/vendor/src/components/layout/controllable-details.tsx +37 -0
  343. package/packages/cli/vendor/src/components/layout/demo.tsx +0 -2
  344. package/packages/cli/vendor/src/components/layout/index.ts +0 -4
  345. package/packages/cli/vendor/src/components/layout/public.ts +0 -4
  346. package/packages/cli/vendor/src/components/layout/sidebar-nav.tsx +45 -5
  347. package/packages/cli/vendor/src/components/modern/image-cropper.tsx +226 -0
  348. package/packages/cli/vendor/src/components/modern/index.ts +2 -3
  349. package/packages/cli/vendor/src/components/modern/rich-text-editor.tsx +170 -29
  350. package/packages/cli/vendor/src/components/navigation/demo.tsx +0 -3
  351. package/packages/cli/vendor/src/components/navigation/index.ts +0 -5
  352. package/packages/cli/vendor/src/components/overlay/confirm-dialog.tsx +84 -30
  353. package/packages/cli/vendor/src/components/overlay/index.ts +0 -3
  354. package/packages/cli/vendor/src/components/patterns/bulk-action-bar.tsx +53 -0
  355. package/packages/cli/vendor/src/components/patterns/data-view.tsx +64 -0
  356. package/packages/cli/vendor/src/components/patterns/detail-layout.tsx +75 -0
  357. package/packages/cli/vendor/src/components/patterns/empty-state.tsx +99 -0
  358. package/packages/cli/vendor/src/components/patterns/index.ts +7 -0
  359. package/packages/cli/vendor/src/components/patterns/page-toolbar.tsx +61 -0
  360. package/packages/cli/vendor/src/components/patterns/public.ts +7 -0
  361. package/packages/cli/vendor/src/components/patterns/resource-detail-page.tsx +59 -55
  362. package/packages/cli/vendor/src/components/patterns/resource-page.tsx +5 -5
  363. package/packages/cli/vendor/src/components/patterns/settings-page.tsx +84 -0
  364. package/packages/cli/vendor/src/components/theme-provider.tsx +36 -9
  365. package/packages/cli/vendor/src/components/ui/accordion/index.tsx +10 -28
  366. package/packages/cli/vendor/src/components/ui/badge/index.tsx +20 -29
  367. package/packages/cli/vendor/src/components/ui/button/index.tsx +19 -23
  368. package/packages/cli/vendor/src/components/ui/card/index.tsx +16 -21
  369. package/packages/cli/vendor/src/components/ui/checkbox/index.tsx +50 -28
  370. package/packages/cli/vendor/src/components/ui/command/index.tsx +1 -1
  371. package/packages/cli/vendor/src/components/ui/dialog/index.tsx +7 -13
  372. package/packages/cli/vendor/src/components/ui/dropdown-menu/index.tsx +14 -26
  373. package/packages/cli/vendor/src/components/ui/input/decorator.tsx +1 -1
  374. package/packages/cli/vendor/src/components/ui/input/group.tsx +2 -1
  375. package/packages/cli/vendor/src/components/ui/input/index.tsx +15 -19
  376. package/packages/cli/vendor/src/components/ui/input/money.tsx +1 -1
  377. package/packages/cli/vendor/src/components/ui/input/password.tsx +8 -8
  378. package/packages/cli/vendor/src/components/ui/input/quantity.tsx +1 -1
  379. package/packages/cli/vendor/src/components/ui/popover/index.tsx +5 -5
  380. package/packages/cli/vendor/src/components/ui/select/index.tsx +9 -14
  381. package/packages/cli/vendor/src/components/ui/tabs/index.tsx +3 -12
  382. package/packages/cli/vendor/src/components/upload/demo.tsx +0 -1
  383. package/packages/cli/vendor/src/components/upload/file-upload.tsx +16 -14
  384. package/packages/cli/vendor/src/components/upload/index.ts +0 -2
  385. package/packages/cli/vendor/src/index.ts +10 -10
  386. package/packages/cli/vendor/src/public-component-surface.ts +27 -13
  387. package/packages/cli/vendor/src/showcase/demo-snippets/actions/index.ts +6 -6
  388. package/packages/cli/vendor/src/showcase/fallback.tsx +20 -137
  389. package/packages/cli/vendor/src/showcase/package-meta.ts +2 -2
  390. package/packages/cli/vendor/src/showcase/premium/app-sidebar/mock.ts +29 -9
  391. package/packages/cli/vendor/src/showcase/premium/app-sidebar/showcase.tsx +60 -17
  392. package/packages/cli/vendor/src/showcase/premium/carousel/showcase.tsx +2 -1
  393. package/packages/cli/vendor/src/showcase/premium/color-picker/index.ts +2 -0
  394. package/packages/cli/vendor/src/showcase/premium/color-picker/mock.ts +21 -0
  395. package/packages/cli/vendor/src/showcase/premium/color-picker/showcase.tsx +14 -0
  396. package/packages/cli/vendor/src/showcase/premium/data-table/showcase.tsx +2 -2
  397. package/packages/cli/vendor/src/showcase/premium/file-upload/mock.ts +7 -1
  398. package/packages/cli/vendor/src/showcase/premium/file-upload/showcase.tsx +33 -2
  399. package/packages/cli/vendor/src/showcase/premium/image-cropper/index.ts +2 -0
  400. package/packages/cli/vendor/src/showcase/premium/image-cropper/mock.ts +15 -0
  401. package/packages/cli/vendor/src/showcase/premium/image-cropper/showcase.tsx +14 -0
  402. package/packages/cli/vendor/src/showcase/premium/index.ts +28 -76
  403. package/packages/cli/vendor/src/showcase/premium/input/mock.ts +3 -2
  404. package/packages/cli/vendor/src/showcase/premium/input/showcase.tsx +67 -0
  405. package/packages/cli/vendor/src/showcase/premium/page-state/mock.ts +11 -8
  406. package/packages/cli/vendor/src/showcase/premium/page-state/showcase.tsx +24 -3
  407. package/packages/cli/vendor/src/showcase/premium/qr-code/index.ts +2 -0
  408. package/packages/cli/vendor/src/showcase/premium/qr-code/mock.ts +15 -0
  409. package/packages/cli/vendor/src/showcase/premium/qr-code/showcase.tsx +12 -0
  410. package/packages/cli/vendor/src/showcase/premium/rich-text-editor/index.ts +2 -0
  411. package/packages/cli/vendor/src/showcase/premium/rich-text-editor/mock.ts +15 -0
  412. package/packages/cli/vendor/src/showcase/premium/rich-text-editor/showcase.tsx +12 -0
  413. package/packages/cli/vendor/src/showcase/premium/signature-pad/index.ts +2 -0
  414. package/packages/cli/vendor/src/showcase/premium/signature-pad/mock.ts +20 -0
  415. package/packages/cli/vendor/src/showcase/premium/signature-pad/showcase.tsx +14 -0
  416. package/packages/cli/vendor/src/showcase/premium/statistic/mock.ts +2 -2
  417. package/packages/cli/vendor/src/showcase/premium/statistic/showcase.tsx +22 -7
  418. package/packages/cli/vendor/src/showcase/premium/tag/showcase.tsx +41 -10
  419. package/packages/cli/vendor/src/showcase/premium/typography/showcase.tsx +1 -1
  420. package/packages/cli/vendor/src/showcase/preview-catalog.tsx +2 -2
  421. package/packages/cli/vendor/src/showcase/preview-compositions.tsx +37 -0
  422. package/packages/cli/vendor/src/showcase/registry-quality.ts +8 -25
  423. package/packages/cli/vendor/src/showcase/registry-specific.tsx +31 -132
  424. package/packages/cli/vendor/src/showcase/render-registry-preview.tsx +37 -117
  425. package/packages/cli/vendor/src/showcase/site-data.tsx +70 -489
  426. package/packages/cli/vendor/src/showcase/tembro-registry.json +373 -347
  427. package/packages/cli/vendor/templates/styles/globals.css +793 -12
  428. package/registry.json +82 -39
  429. package/dist/components/actions/copy-field.cjs +0 -1
  430. package/dist/components/actions/copy-field.d.ts +0 -11
  431. package/dist/components/actions/copy-field.js +0 -1
  432. package/dist/components/charts/horizontal-bar-chart.cjs +0 -1
  433. package/dist/components/charts/horizontal-bar-chart.d.ts +0 -17
  434. package/dist/components/charts/horizontal-bar-chart.js +0 -1
  435. package/dist/components/charts/kpi.cjs +0 -1
  436. package/dist/components/charts/kpi.d.ts +0 -18
  437. package/dist/components/charts/kpi.js +0 -1
  438. package/dist/components/display/comparison-card.cjs +0 -1
  439. package/dist/components/display/comparison-card.d.ts +0 -15
  440. package/dist/components/display/comparison-card.js +0 -1
  441. package/dist/components/display/data-list.cjs +0 -1
  442. package/dist/components/display/data-list.d.ts +0 -25
  443. package/dist/components/display/data-list.js +0 -1
  444. package/dist/components/display/delta-badge.cjs +0 -1
  445. package/dist/components/display/delta-badge.d.ts +0 -10
  446. package/dist/components/display/delta-badge.js +0 -1
  447. package/dist/components/display/descriptions.cjs +0 -1
  448. package/dist/components/display/descriptions.d.ts +0 -19
  449. package/dist/components/display/descriptions.js +0 -1
  450. package/dist/components/display/metric-grid.cjs +0 -1
  451. package/dist/components/display/metric-grid.d.ts +0 -23
  452. package/dist/components/display/metric-grid.js +0 -1
  453. package/dist/components/display/progress-circle.cjs +0 -1
  454. package/dist/components/display/progress-circle.d.ts +0 -8
  455. package/dist/components/display/progress-circle.js +0 -1
  456. package/dist/components/display/property-grid.cjs +0 -1
  457. package/dist/components/display/property-grid.d.ts +0 -15
  458. package/dist/components/display/property-grid.js +0 -1
  459. package/dist/components/display/result.cjs +0 -1
  460. package/dist/components/display/result.d.ts +0 -18
  461. package/dist/components/display/result.js +0 -1
  462. package/dist/components/display/trend-card.cjs +0 -1
  463. package/dist/components/display/trend-card.d.ts +0 -13
  464. package/dist/components/display/trend-card.js +0 -1
  465. package/dist/components/display/user-card.cjs +0 -1
  466. package/dist/components/display/user-card.d.ts +0 -12
  467. package/dist/components/display/user-card.js +0 -1
  468. package/dist/components/layout/stat-card.cjs +0 -1
  469. package/dist/components/layout/stat-card.d.ts +0 -32
  470. package/dist/components/layout/stat-card.js +0 -1
  471. package/dist/components/modern/tour.cjs +0 -1
  472. package/dist/components/modern/tour.d.ts +0 -14
  473. package/dist/components/modern/tour.js +0 -1
  474. package/dist/components/navigation/anchor-nav.cjs +0 -1
  475. package/dist/components/navigation/anchor-nav.d.ts +0 -15
  476. package/dist/components/navigation/anchor-nav.js +0 -1
  477. package/dist/components/navigation/command-bar.cjs +0 -1
  478. package/dist/components/navigation/command-bar.d.ts +0 -10
  479. package/dist/components/navigation/command-bar.js +0 -1
  480. package/dist/components/navigation/nav-tabs.cjs +0 -1
  481. package/dist/components/navigation/nav-tabs.d.ts +0 -17
  482. package/dist/components/navigation/nav-tabs.js +0 -1
  483. package/dist/components/navigation/page-tabs.cjs +0 -1
  484. package/dist/components/navigation/page-tabs.d.ts +0 -18
  485. package/dist/components/navigation/page-tabs.js +0 -1
  486. package/dist/components/navigation/stepper-tabs.cjs +0 -1
  487. package/dist/components/navigation/stepper-tabs.d.ts +0 -19
  488. package/dist/components/navigation/stepper-tabs.js +0 -1
  489. package/dist/components/overlay/dialog-actions.cjs +0 -1
  490. package/dist/components/overlay/dialog-actions.d.ts +0 -14
  491. package/dist/components/overlay/dialog-actions.js +0 -1
  492. package/dist/components/overlay/modal-shell.cjs +0 -1
  493. package/dist/components/overlay/modal-shell.d.ts +0 -20
  494. package/dist/components/overlay/modal-shell.js +0 -1
  495. package/dist/components/overlay/sheet-shell.cjs +0 -1
  496. package/dist/components/overlay/sheet-shell.d.ts +0 -34
  497. package/dist/components/overlay/sheet-shell.js +0 -1
  498. package/dist/components/ui/hover-card.cjs +0 -1
  499. package/dist/components/ui/hover-card.d.ts +0 -17
  500. package/dist/components/ui/hover-card.js +0 -1
  501. package/dist/components/ui/input-group/index.cjs +0 -1
  502. package/dist/components/ui/input-group/index.d.ts +0 -1
  503. package/dist/components/ui/input-group/index.js +0 -1
  504. package/dist/components/ui/input-primitive/index.cjs +0 -1
  505. package/dist/components/ui/input-primitive/index.d.ts +0 -2
  506. package/dist/components/ui/input-primitive/index.js +0 -1
  507. package/dist/components/upload/file-dropzone.cjs +0 -1
  508. package/dist/components/upload/file-dropzone.d.ts +0 -10
  509. package/dist/components/upload/file-dropzone.js +0 -1
  510. package/dist/showcase/premium/accordion/index.cjs +0 -1
  511. package/dist/showcase/premium/accordion/index.d.ts +0 -2
  512. package/dist/showcase/premium/accordion/index.js +0 -1
  513. package/dist/showcase/premium/accordion/mock.cjs +0 -1
  514. package/dist/showcase/premium/accordion/mock.d.ts +0 -2
  515. package/dist/showcase/premium/accordion/mock.js +0 -1
  516. package/dist/showcase/premium/accordion/showcase.cjs +0 -1
  517. package/dist/showcase/premium/accordion/showcase.d.ts +0 -2
  518. package/dist/showcase/premium/accordion/showcase.js +0 -1
  519. package/dist/showcase/premium/app-shell/index.cjs +0 -1
  520. package/dist/showcase/premium/app-shell/index.d.ts +0 -2
  521. package/dist/showcase/premium/app-shell/index.js +0 -1
  522. package/dist/showcase/premium/app-shell/mock.cjs +0 -1
  523. package/dist/showcase/premium/app-shell/mock.d.ts +0 -2
  524. package/dist/showcase/premium/app-shell/mock.js +0 -1
  525. package/dist/showcase/premium/app-shell/showcase.cjs +0 -1
  526. package/dist/showcase/premium/app-shell/showcase.d.ts +0 -3
  527. package/dist/showcase/premium/app-shell/showcase.js +0 -1
  528. package/dist/showcase/premium/clearable-input/index.cjs +0 -1
  529. package/dist/showcase/premium/clearable-input/index.d.ts +0 -2
  530. package/dist/showcase/premium/clearable-input/index.js +0 -1
  531. package/dist/showcase/premium/clearable-input/mock.cjs +0 -1
  532. package/dist/showcase/premium/clearable-input/mock.d.ts +0 -2
  533. package/dist/showcase/premium/clearable-input/mock.js +0 -1
  534. package/dist/showcase/premium/clearable-input/showcase.cjs +0 -1
  535. package/dist/showcase/premium/clearable-input/showcase.d.ts +0 -3
  536. package/dist/showcase/premium/clearable-input/showcase.js +0 -1
  537. package/dist/showcase/premium/combobox/index.cjs +0 -1
  538. package/dist/showcase/premium/combobox/index.d.ts +0 -2
  539. package/dist/showcase/premium/combobox/index.js +0 -1
  540. package/dist/showcase/premium/combobox/mock.cjs +0 -1
  541. package/dist/showcase/premium/combobox/mock.d.ts +0 -2
  542. package/dist/showcase/premium/combobox/mock.js +0 -1
  543. package/dist/showcase/premium/combobox/showcase.cjs +0 -1
  544. package/dist/showcase/premium/combobox/showcase.d.ts +0 -3
  545. package/dist/showcase/premium/combobox/showcase.js +0 -1
  546. package/dist/showcase/premium/command-bar/index.cjs +0 -1
  547. package/dist/showcase/premium/command-bar/index.d.ts +0 -2
  548. package/dist/showcase/premium/command-bar/index.js +0 -1
  549. package/dist/showcase/premium/command-bar/mock.cjs +0 -1
  550. package/dist/showcase/premium/command-bar/mock.d.ts +0 -2
  551. package/dist/showcase/premium/command-bar/mock.js +0 -1
  552. package/dist/showcase/premium/command-bar/showcase.cjs +0 -1
  553. package/dist/showcase/premium/command-bar/showcase.d.ts +0 -2
  554. package/dist/showcase/premium/command-bar/showcase.js +0 -1
  555. package/dist/showcase/premium/copy-field/index.cjs +0 -1
  556. package/dist/showcase/premium/copy-field/index.d.ts +0 -2
  557. package/dist/showcase/premium/copy-field/index.js +0 -1
  558. package/dist/showcase/premium/copy-field/mock.cjs +0 -1
  559. package/dist/showcase/premium/copy-field/mock.d.ts +0 -2
  560. package/dist/showcase/premium/copy-field/mock.js +0 -1
  561. package/dist/showcase/premium/copy-field/showcase.cjs +0 -1
  562. package/dist/showcase/premium/copy-field/showcase.d.ts +0 -2
  563. package/dist/showcase/premium/copy-field/showcase.js +0 -1
  564. package/dist/showcase/premium/data-table-parts/data.cjs +0 -1
  565. package/dist/showcase/premium/data-table-parts/data.d.ts +0 -27
  566. package/dist/showcase/premium/data-table-parts/data.js +0 -1
  567. package/dist/showcase/premium/data-table-parts/index.cjs +0 -1
  568. package/dist/showcase/premium/data-table-parts/index.d.ts +0 -2
  569. package/dist/showcase/premium/data-table-parts/index.js +0 -1
  570. package/dist/showcase/premium/data-table-parts/mock.cjs +0 -1
  571. package/dist/showcase/premium/data-table-parts/mock.d.ts +0 -7
  572. package/dist/showcase/premium/data-table-parts/mock.js +0 -1
  573. package/dist/showcase/premium/data-table-parts/showcase.cjs +0 -1
  574. package/dist/showcase/premium/data-table-parts/showcase.d.ts +0 -6
  575. package/dist/showcase/premium/data-table-parts/showcase.js +0 -1
  576. package/dist/showcase/premium/date-input/index.cjs +0 -1
  577. package/dist/showcase/premium/date-input/index.d.ts +0 -2
  578. package/dist/showcase/premium/date-input/index.js +0 -1
  579. package/dist/showcase/premium/date-input/mock.cjs +0 -1
  580. package/dist/showcase/premium/date-input/mock.d.ts +0 -2
  581. package/dist/showcase/premium/date-input/mock.js +0 -1
  582. package/dist/showcase/premium/date-input/showcase.cjs +0 -1
  583. package/dist/showcase/premium/date-input/showcase.d.ts +0 -2
  584. package/dist/showcase/premium/date-input/showcase.js +0 -1
  585. package/dist/showcase/premium/date-range-input/index.cjs +0 -1
  586. package/dist/showcase/premium/date-range-input/index.d.ts +0 -2
  587. package/dist/showcase/premium/date-range-input/index.js +0 -1
  588. package/dist/showcase/premium/date-range-input/mock.cjs +0 -1
  589. package/dist/showcase/premium/date-range-input/mock.d.ts +0 -2
  590. package/dist/showcase/premium/date-range-input/mock.js +0 -1
  591. package/dist/showcase/premium/date-range-input/showcase.cjs +0 -1
  592. package/dist/showcase/premium/date-range-input/showcase.d.ts +0 -2
  593. package/dist/showcase/premium/date-range-input/showcase.js +0 -1
  594. package/dist/showcase/premium/descriptions/index.cjs +0 -1
  595. package/dist/showcase/premium/descriptions/index.d.ts +0 -2
  596. package/dist/showcase/premium/descriptions/index.js +0 -1
  597. package/dist/showcase/premium/descriptions/mock.cjs +0 -1
  598. package/dist/showcase/premium/descriptions/mock.d.ts +0 -2
  599. package/dist/showcase/premium/descriptions/mock.js +0 -1
  600. package/dist/showcase/premium/descriptions/showcase.cjs +0 -1
  601. package/dist/showcase/premium/descriptions/showcase.d.ts +0 -2
  602. package/dist/showcase/premium/descriptions/showcase.js +0 -1
  603. package/dist/showcase/premium/hover-card/index.cjs +0 -1
  604. package/dist/showcase/premium/hover-card/index.d.ts +0 -2
  605. package/dist/showcase/premium/hover-card/index.js +0 -1
  606. package/dist/showcase/premium/hover-card/mock.cjs +0 -1
  607. package/dist/showcase/premium/hover-card/mock.d.ts +0 -2
  608. package/dist/showcase/premium/hover-card/mock.js +0 -1
  609. package/dist/showcase/premium/hover-card/showcase.cjs +0 -1
  610. package/dist/showcase/premium/hover-card/showcase.d.ts +0 -2
  611. package/dist/showcase/premium/hover-card/showcase.js +0 -1
  612. package/dist/showcase/premium/masked-input/index.cjs +0 -1
  613. package/dist/showcase/premium/masked-input/index.d.ts +0 -2
  614. package/dist/showcase/premium/masked-input/index.js +0 -1
  615. package/dist/showcase/premium/masked-input/mock.cjs +0 -1
  616. package/dist/showcase/premium/masked-input/mock.d.ts +0 -2
  617. package/dist/showcase/premium/masked-input/mock.js +0 -1
  618. package/dist/showcase/premium/masked-input/showcase.cjs +0 -1
  619. package/dist/showcase/premium/masked-input/showcase.d.ts +0 -2
  620. package/dist/showcase/premium/masked-input/showcase.js +0 -1
  621. package/dist/showcase/premium/metric-grid/index.cjs +0 -1
  622. package/dist/showcase/premium/metric-grid/index.d.ts +0 -2
  623. package/dist/showcase/premium/metric-grid/index.js +0 -1
  624. package/dist/showcase/premium/metric-grid/mock.cjs +0 -1
  625. package/dist/showcase/premium/metric-grid/mock.d.ts +0 -2
  626. package/dist/showcase/premium/metric-grid/mock.js +0 -1
  627. package/dist/showcase/premium/metric-grid/showcase.cjs +0 -1
  628. package/dist/showcase/premium/metric-grid/showcase.d.ts +0 -3
  629. package/dist/showcase/premium/metric-grid/showcase.js +0 -1
  630. package/dist/showcase/premium/modal-shell/index.cjs +0 -1
  631. package/dist/showcase/premium/modal-shell/index.d.ts +0 -2
  632. package/dist/showcase/premium/modal-shell/index.js +0 -1
  633. package/dist/showcase/premium/modal-shell/mock.cjs +0 -1
  634. package/dist/showcase/premium/modal-shell/mock.d.ts +0 -2
  635. package/dist/showcase/premium/modal-shell/mock.js +0 -1
  636. package/dist/showcase/premium/modal-shell/showcase.cjs +0 -1
  637. package/dist/showcase/premium/modal-shell/showcase.d.ts +0 -3
  638. package/dist/showcase/premium/modal-shell/showcase.js +0 -1
  639. package/dist/showcase/premium/money-input/index.cjs +0 -1
  640. package/dist/showcase/premium/money-input/index.d.ts +0 -2
  641. package/dist/showcase/premium/money-input/index.js +0 -1
  642. package/dist/showcase/premium/money-input/mock.cjs +0 -1
  643. package/dist/showcase/premium/money-input/mock.d.ts +0 -2
  644. package/dist/showcase/premium/money-input/mock.js +0 -1
  645. package/dist/showcase/premium/money-input/showcase.cjs +0 -1
  646. package/dist/showcase/premium/money-input/showcase.d.ts +0 -1
  647. package/dist/showcase/premium/money-input/showcase.js +0 -1
  648. package/dist/showcase/premium/number-input/index.cjs +0 -1
  649. package/dist/showcase/premium/number-input/index.d.ts +0 -2
  650. package/dist/showcase/premium/number-input/index.js +0 -1
  651. package/dist/showcase/premium/number-input/mock.cjs +0 -1
  652. package/dist/showcase/premium/number-input/mock.d.ts +0 -2
  653. package/dist/showcase/premium/number-input/mock.js +0 -1
  654. package/dist/showcase/premium/number-input/showcase.cjs +0 -1
  655. package/dist/showcase/premium/number-input/showcase.d.ts +0 -1
  656. package/dist/showcase/premium/number-input/showcase.js +0 -1
  657. package/dist/showcase/premium/page-container/index.cjs +0 -1
  658. package/dist/showcase/premium/page-container/index.d.ts +0 -2
  659. package/dist/showcase/premium/page-container/index.js +0 -1
  660. package/dist/showcase/premium/page-container/mock.cjs +0 -1
  661. package/dist/showcase/premium/page-container/mock.d.ts +0 -2
  662. package/dist/showcase/premium/page-container/mock.js +0 -1
  663. package/dist/showcase/premium/page-container/showcase.cjs +0 -1
  664. package/dist/showcase/premium/page-container/showcase.d.ts +0 -3
  665. package/dist/showcase/premium/page-container/showcase.js +0 -1
  666. package/dist/showcase/premium/page-header/index.cjs +0 -1
  667. package/dist/showcase/premium/page-header/index.d.ts +0 -2
  668. package/dist/showcase/premium/page-header/index.js +0 -1
  669. package/dist/showcase/premium/page-header/mock.cjs +0 -1
  670. package/dist/showcase/premium/page-header/mock.d.ts +0 -2
  671. package/dist/showcase/premium/page-header/mock.js +0 -1
  672. package/dist/showcase/premium/page-header/showcase.cjs +0 -1
  673. package/dist/showcase/premium/page-header/showcase.d.ts +0 -3
  674. package/dist/showcase/premium/page-header/showcase.js +0 -1
  675. package/dist/showcase/premium/page-tabs/index.cjs +0 -1
  676. package/dist/showcase/premium/page-tabs/index.d.ts +0 -2
  677. package/dist/showcase/premium/page-tabs/index.js +0 -1
  678. package/dist/showcase/premium/page-tabs/mock.cjs +0 -1
  679. package/dist/showcase/premium/page-tabs/mock.d.ts +0 -2
  680. package/dist/showcase/premium/page-tabs/mock.js +0 -1
  681. package/dist/showcase/premium/page-tabs/showcase.cjs +0 -1
  682. package/dist/showcase/premium/page-tabs/showcase.d.ts +0 -3
  683. package/dist/showcase/premium/page-tabs/showcase.js +0 -1
  684. package/dist/showcase/premium/password-input/index.cjs +0 -1
  685. package/dist/showcase/premium/password-input/index.d.ts +0 -2
  686. package/dist/showcase/premium/password-input/index.js +0 -1
  687. package/dist/showcase/premium/password-input/mock.cjs +0 -1
  688. package/dist/showcase/premium/password-input/mock.d.ts +0 -2
  689. package/dist/showcase/premium/password-input/mock.js +0 -1
  690. package/dist/showcase/premium/password-input/showcase.cjs +0 -1
  691. package/dist/showcase/premium/password-input/showcase.d.ts +0 -3
  692. package/dist/showcase/premium/password-input/showcase.js +0 -1
  693. package/dist/showcase/premium/phone-input/index.cjs +0 -1
  694. package/dist/showcase/premium/phone-input/index.d.ts +0 -2
  695. package/dist/showcase/premium/phone-input/index.js +0 -1
  696. package/dist/showcase/premium/phone-input/mock.cjs +0 -1
  697. package/dist/showcase/premium/phone-input/mock.d.ts +0 -2
  698. package/dist/showcase/premium/phone-input/mock.js +0 -1
  699. package/dist/showcase/premium/phone-input/showcase.cjs +0 -1
  700. package/dist/showcase/premium/phone-input/showcase.d.ts +0 -2
  701. package/dist/showcase/premium/phone-input/showcase.js +0 -1
  702. package/dist/showcase/premium/property-grid/index.cjs +0 -1
  703. package/dist/showcase/premium/property-grid/index.d.ts +0 -2
  704. package/dist/showcase/premium/property-grid/index.js +0 -1
  705. package/dist/showcase/premium/property-grid/mock.cjs +0 -1
  706. package/dist/showcase/premium/property-grid/mock.d.ts +0 -2
  707. package/dist/showcase/premium/property-grid/mock.js +0 -1
  708. package/dist/showcase/premium/property-grid/showcase.cjs +0 -1
  709. package/dist/showcase/premium/property-grid/showcase.d.ts +0 -1
  710. package/dist/showcase/premium/property-grid/showcase.js +0 -1
  711. package/dist/showcase/premium/quantity-input/index.cjs +0 -1
  712. package/dist/showcase/premium/quantity-input/index.d.ts +0 -2
  713. package/dist/showcase/premium/quantity-input/index.js +0 -1
  714. package/dist/showcase/premium/quantity-input/mock.cjs +0 -1
  715. package/dist/showcase/premium/quantity-input/mock.d.ts +0 -2
  716. package/dist/showcase/premium/quantity-input/mock.js +0 -1
  717. package/dist/showcase/premium/quantity-input/showcase.cjs +0 -1
  718. package/dist/showcase/premium/quantity-input/showcase.d.ts +0 -1
  719. package/dist/showcase/premium/quantity-input/showcase.js +0 -1
  720. package/dist/showcase/premium/result/index.cjs +0 -1
  721. package/dist/showcase/premium/result/index.d.ts +0 -2
  722. package/dist/showcase/premium/result/index.js +0 -1
  723. package/dist/showcase/premium/result/mock.cjs +0 -1
  724. package/dist/showcase/premium/result/mock.d.ts +0 -2
  725. package/dist/showcase/premium/result/mock.js +0 -1
  726. package/dist/showcase/premium/result/showcase.cjs +0 -1
  727. package/dist/showcase/premium/result/showcase.d.ts +0 -3
  728. package/dist/showcase/premium/result/showcase.js +0 -1
  729. package/dist/showcase/premium/search-input/index.cjs +0 -1
  730. package/dist/showcase/premium/search-input/index.d.ts +0 -2
  731. package/dist/showcase/premium/search-input/index.js +0 -1
  732. package/dist/showcase/premium/search-input/mock.cjs +0 -1
  733. package/dist/showcase/premium/search-input/mock.d.ts +0 -2
  734. package/dist/showcase/premium/search-input/mock.js +0 -1
  735. package/dist/showcase/premium/search-input/showcase.cjs +0 -1
  736. package/dist/showcase/premium/search-input/showcase.d.ts +0 -3
  737. package/dist/showcase/premium/search-input/showcase.js +0 -1
  738. package/dist/showcase/premium/sheet-shell/index.cjs +0 -1
  739. package/dist/showcase/premium/sheet-shell/index.d.ts +0 -2
  740. package/dist/showcase/premium/sheet-shell/index.js +0 -1
  741. package/dist/showcase/premium/sheet-shell/mock.cjs +0 -1
  742. package/dist/showcase/premium/sheet-shell/mock.d.ts +0 -2
  743. package/dist/showcase/premium/sheet-shell/mock.js +0 -1
  744. package/dist/showcase/premium/sheet-shell/showcase.cjs +0 -1
  745. package/dist/showcase/premium/sheet-shell/showcase.d.ts +0 -2
  746. package/dist/showcase/premium/sheet-shell/showcase.js +0 -1
  747. package/dist/showcase/premium/sidebar-nav/index.cjs +0 -1
  748. package/dist/showcase/premium/sidebar-nav/index.d.ts +0 -2
  749. package/dist/showcase/premium/sidebar-nav/index.js +0 -1
  750. package/dist/showcase/premium/sidebar-nav/mock.cjs +0 -1
  751. package/dist/showcase/premium/sidebar-nav/mock.d.ts +0 -2
  752. package/dist/showcase/premium/sidebar-nav/mock.js +0 -1
  753. package/dist/showcase/premium/sidebar-nav/showcase.cjs +0 -1
  754. package/dist/showcase/premium/sidebar-nav/showcase.d.ts +0 -3
  755. package/dist/showcase/premium/sidebar-nav/showcase.js +0 -1
  756. package/dist/showcase/premium/simple-select/index.cjs +0 -1
  757. package/dist/showcase/premium/simple-select/index.d.ts +0 -2
  758. package/dist/showcase/premium/simple-select/index.js +0 -1
  759. package/dist/showcase/premium/simple-select/mock.cjs +0 -1
  760. package/dist/showcase/premium/simple-select/mock.d.ts +0 -2
  761. package/dist/showcase/premium/simple-select/mock.js +0 -1
  762. package/dist/showcase/premium/simple-select/showcase.cjs +0 -1
  763. package/dist/showcase/premium/simple-select/showcase.d.ts +0 -2
  764. package/dist/showcase/premium/simple-select/showcase.js +0 -1
  765. package/dist/showcase/premium/sticky-footer-bar/index.cjs +0 -1
  766. package/dist/showcase/premium/sticky-footer-bar/index.d.ts +0 -2
  767. package/dist/showcase/premium/sticky-footer-bar/index.js +0 -1
  768. package/dist/showcase/premium/sticky-footer-bar/mock.cjs +0 -1
  769. package/dist/showcase/premium/sticky-footer-bar/mock.d.ts +0 -2
  770. package/dist/showcase/premium/sticky-footer-bar/mock.js +0 -1
  771. package/dist/showcase/premium/sticky-footer-bar/showcase.cjs +0 -1
  772. package/dist/showcase/premium/sticky-footer-bar/showcase.d.ts +0 -1
  773. package/dist/showcase/premium/sticky-footer-bar/showcase.js +0 -1
  774. package/dist/src/components/actions/copy-field.cjs +0 -1
  775. package/dist/src/components/actions/copy-field.js +0 -35
  776. package/dist/src/components/charts/horizontal-bar-chart.cjs +0 -1
  777. package/dist/src/components/charts/horizontal-bar-chart.js +0 -50
  778. package/dist/src/components/charts/kpi.cjs +0 -1
  779. package/dist/src/components/charts/kpi.js +0 -59
  780. package/dist/src/components/display/comparison-card.cjs +0 -1
  781. package/dist/src/components/display/comparison-card.js +0 -20
  782. package/dist/src/components/display/data-list.cjs +0 -1
  783. package/dist/src/components/display/data-list.js +0 -68
  784. package/dist/src/components/display/delta-badge.cjs +0 -1
  785. package/dist/src/components/display/delta-badge.js +0 -20
  786. package/dist/src/components/display/descriptions.cjs +0 -1
  787. package/dist/src/components/display/descriptions.js +0 -38
  788. package/dist/src/components/display/metric-grid.cjs +0 -1
  789. package/dist/src/components/display/metric-grid.js +0 -58
  790. package/dist/src/components/display/progress-circle.cjs +0 -1
  791. package/dist/src/components/display/progress-circle.js +0 -21
  792. package/dist/src/components/display/property-grid.cjs +0 -1
  793. package/dist/src/components/display/property-grid.js +0 -31
  794. package/dist/src/components/display/result.cjs +0 -1
  795. package/dist/src/components/display/result.js +0 -71
  796. package/dist/src/components/display/trend-card.cjs +0 -1
  797. package/dist/src/components/display/trend-card.js +0 -48
  798. package/dist/src/components/display/user-card.cjs +0 -1
  799. package/dist/src/components/display/user-card.js +0 -42
  800. package/dist/src/components/layout/stat-card.cjs +0 -1
  801. package/dist/src/components/layout/stat-card.js +0 -113
  802. package/dist/src/components/modern/tour.cjs +0 -1
  803. package/dist/src/components/modern/tour.js +0 -44
  804. package/dist/src/components/navigation/anchor-nav.cjs +0 -1
  805. package/dist/src/components/navigation/anchor-nav.js +0 -26
  806. package/dist/src/components/navigation/command-bar.cjs +0 -1
  807. package/dist/src/components/navigation/command-bar.js +0 -17
  808. package/dist/src/components/navigation/nav-tabs.cjs +0 -1
  809. package/dist/src/components/navigation/nav-tabs.js +0 -51
  810. package/dist/src/components/navigation/page-tabs.cjs +0 -1
  811. package/dist/src/components/navigation/page-tabs.js +0 -50
  812. package/dist/src/components/navigation/stepper-tabs.cjs +0 -1
  813. package/dist/src/components/navigation/stepper-tabs.js +0 -41
  814. package/dist/src/components/overlay/dialog-actions.cjs +0 -1
  815. package/dist/src/components/overlay/dialog-actions.js +0 -33
  816. package/dist/src/components/overlay/modal-shell.cjs +0 -1
  817. package/dist/src/components/overlay/modal-shell.js +0 -44
  818. package/dist/src/components/overlay/sheet-shell.cjs +0 -1
  819. package/dist/src/components/overlay/sheet-shell.js +0 -116
  820. package/dist/src/components/ui/hover-card.cjs +0 -1
  821. package/dist/src/components/ui/hover-card.js +0 -37
  822. package/dist/src/components/ui/input-group/index.cjs +0 -1
  823. package/dist/src/components/ui/input-group/index.js +0 -2
  824. package/dist/src/components/ui/input-primitive/index.cjs +0 -1
  825. package/dist/src/components/ui/input-primitive/index.js +0 -2
  826. package/dist/src/components/upload/file-dropzone.cjs +0 -1
  827. package/dist/src/components/upload/file-dropzone.js +0 -36
  828. package/dist/src/showcase/premium/accordion/index.js +0 -3
  829. package/dist/src/showcase/premium/accordion/mock.cjs +0 -23
  830. package/dist/src/showcase/premium/accordion/mock.js +0 -28
  831. package/dist/src/showcase/premium/accordion/showcase.cjs +0 -1
  832. package/dist/src/showcase/premium/accordion/showcase.js +0 -172
  833. package/dist/src/showcase/premium/app-shell/index.cjs +0 -1
  834. package/dist/src/showcase/premium/app-shell/index.js +0 -3
  835. package/dist/src/showcase/premium/app-shell/mock.cjs +0 -48
  836. package/dist/src/showcase/premium/app-shell/mock.js +0 -38
  837. package/dist/src/showcase/premium/app-shell/showcase.cjs +0 -1
  838. package/dist/src/showcase/premium/app-shell/showcase.js +0 -208
  839. package/dist/src/showcase/premium/clearable-input/index.cjs +0 -1
  840. package/dist/src/showcase/premium/clearable-input/index.js +0 -3
  841. package/dist/src/showcase/premium/clearable-input/mock.cjs +0 -16
  842. package/dist/src/showcase/premium/clearable-input/mock.js +0 -32
  843. package/dist/src/showcase/premium/clearable-input/showcase.cjs +0 -1
  844. package/dist/src/showcase/premium/clearable-input/showcase.js +0 -94
  845. package/dist/src/showcase/premium/combobox/index.cjs +0 -1
  846. package/dist/src/showcase/premium/combobox/index.js +0 -3
  847. package/dist/src/showcase/premium/combobox/mock.cjs +0 -29
  848. package/dist/src/showcase/premium/combobox/mock.js +0 -39
  849. package/dist/src/showcase/premium/combobox/showcase.cjs +0 -1
  850. package/dist/src/showcase/premium/combobox/showcase.js +0 -157
  851. package/dist/src/showcase/premium/command-bar/index.js +0 -3
  852. package/dist/src/showcase/premium/command-bar/mock.cjs +0 -11
  853. package/dist/src/showcase/premium/command-bar/mock.js +0 -26
  854. package/dist/src/showcase/premium/command-bar/showcase.cjs +0 -1
  855. package/dist/src/showcase/premium/command-bar/showcase.js +0 -107
  856. package/dist/src/showcase/premium/copy-field/index.js +0 -3
  857. package/dist/src/showcase/premium/copy-field/mock.cjs +0 -11
  858. package/dist/src/showcase/premium/copy-field/mock.js +0 -26
  859. package/dist/src/showcase/premium/copy-field/showcase.cjs +0 -1
  860. package/dist/src/showcase/premium/copy-field/showcase.js +0 -85
  861. package/dist/src/showcase/premium/data-table-parts/data.cjs +0 -1
  862. package/dist/src/showcase/premium/data-table-parts/data.js +0 -127
  863. package/dist/src/showcase/premium/data-table-parts/index.cjs +0 -1
  864. package/dist/src/showcase/premium/data-table-parts/index.js +0 -3
  865. package/dist/src/showcase/premium/data-table-parts/mock.cjs +0 -1
  866. package/dist/src/showcase/premium/data-table-parts/mock.js +0 -30
  867. package/dist/src/showcase/premium/data-table-parts/showcase.cjs +0 -1
  868. package/dist/src/showcase/premium/data-table-parts/showcase.js +0 -256
  869. package/dist/src/showcase/premium/date-input/index.cjs +0 -1
  870. package/dist/src/showcase/premium/date-input/index.js +0 -3
  871. package/dist/src/showcase/premium/date-input/mock.cjs +0 -17
  872. package/dist/src/showcase/premium/date-input/mock.js +0 -43
  873. package/dist/src/showcase/premium/date-input/showcase.cjs +0 -1
  874. package/dist/src/showcase/premium/date-input/showcase.js +0 -29
  875. package/dist/src/showcase/premium/date-range-input/index.cjs +0 -1
  876. package/dist/src/showcase/premium/date-range-input/index.js +0 -3
  877. package/dist/src/showcase/premium/date-range-input/mock.cjs +0 -17
  878. package/dist/src/showcase/premium/date-range-input/mock.js +0 -43
  879. package/dist/src/showcase/premium/date-range-input/showcase.cjs +0 -1
  880. package/dist/src/showcase/premium/date-range-input/showcase.js +0 -40
  881. package/dist/src/showcase/premium/descriptions/index.js +0 -3
  882. package/dist/src/showcase/premium/descriptions/mock.cjs +0 -16
  883. package/dist/src/showcase/premium/descriptions/mock.js +0 -19
  884. package/dist/src/showcase/premium/descriptions/showcase.cjs +0 -1
  885. package/dist/src/showcase/premium/descriptions/showcase.js +0 -85
  886. package/dist/src/showcase/premium/hover-card/index.cjs +0 -1
  887. package/dist/src/showcase/premium/hover-card/index.js +0 -3
  888. package/dist/src/showcase/premium/hover-card/mock.cjs +0 -10
  889. package/dist/src/showcase/premium/hover-card/mock.js +0 -39
  890. package/dist/src/showcase/premium/hover-card/showcase.cjs +0 -1
  891. package/dist/src/showcase/premium/hover-card/showcase.js +0 -123
  892. package/dist/src/showcase/premium/masked-input/index.cjs +0 -1
  893. package/dist/src/showcase/premium/masked-input/index.js +0 -3
  894. package/dist/src/showcase/premium/masked-input/mock.cjs +0 -17
  895. package/dist/src/showcase/premium/masked-input/mock.js +0 -43
  896. package/dist/src/showcase/premium/masked-input/showcase.cjs +0 -1
  897. package/dist/src/showcase/premium/masked-input/showcase.js +0 -33
  898. package/dist/src/showcase/premium/metric-grid/index.cjs +0 -1
  899. package/dist/src/showcase/premium/metric-grid/index.js +0 -3
  900. package/dist/src/showcase/premium/metric-grid/mock.cjs +0 -11
  901. package/dist/src/showcase/premium/metric-grid/mock.js +0 -36
  902. package/dist/src/showcase/premium/metric-grid/showcase.cjs +0 -1
  903. package/dist/src/showcase/premium/metric-grid/showcase.js +0 -133
  904. package/dist/src/showcase/premium/modal-shell/index.cjs +0 -1
  905. package/dist/src/showcase/premium/modal-shell/index.js +0 -3
  906. package/dist/src/showcase/premium/modal-shell/mock.cjs +0 -30
  907. package/dist/src/showcase/premium/modal-shell/mock.js +0 -43
  908. package/dist/src/showcase/premium/modal-shell/showcase.cjs +0 -1
  909. package/dist/src/showcase/premium/modal-shell/showcase.js +0 -148
  910. package/dist/src/showcase/premium/money-input/index.cjs +0 -1
  911. package/dist/src/showcase/premium/money-input/index.js +0 -3
  912. package/dist/src/showcase/premium/money-input/mock.cjs +0 -28
  913. package/dist/src/showcase/premium/money-input/mock.js +0 -43
  914. package/dist/src/showcase/premium/money-input/showcase.cjs +0 -1
  915. package/dist/src/showcase/premium/money-input/showcase.js +0 -21
  916. package/dist/src/showcase/premium/number-input/index.cjs +0 -1
  917. package/dist/src/showcase/premium/number-input/index.js +0 -3
  918. package/dist/src/showcase/premium/number-input/mock.cjs +0 -32
  919. package/dist/src/showcase/premium/number-input/mock.js +0 -43
  920. package/dist/src/showcase/premium/number-input/showcase.cjs +0 -1
  921. package/dist/src/showcase/premium/number-input/showcase.js +0 -23
  922. package/dist/src/showcase/premium/page-container/index.cjs +0 -1
  923. package/dist/src/showcase/premium/page-container/index.js +0 -3
  924. package/dist/src/showcase/premium/page-container/mock.cjs +0 -9
  925. package/dist/src/showcase/premium/page-container/mock.js +0 -31
  926. package/dist/src/showcase/premium/page-container/showcase.cjs +0 -1
  927. package/dist/src/showcase/premium/page-container/showcase.js +0 -79
  928. package/dist/src/showcase/premium/page-header/index.cjs +0 -1
  929. package/dist/src/showcase/premium/page-header/index.js +0 -3
  930. package/dist/src/showcase/premium/page-header/mock.cjs +0 -14
  931. package/dist/src/showcase/premium/page-header/mock.js +0 -36
  932. package/dist/src/showcase/premium/page-header/showcase.cjs +0 -1
  933. package/dist/src/showcase/premium/page-header/showcase.js +0 -70
  934. package/dist/src/showcase/premium/page-tabs/index.cjs +0 -1
  935. package/dist/src/showcase/premium/page-tabs/index.js +0 -3
  936. package/dist/src/showcase/premium/page-tabs/mock.cjs +0 -18
  937. package/dist/src/showcase/premium/page-tabs/mock.js +0 -31
  938. package/dist/src/showcase/premium/page-tabs/showcase.cjs +0 -1
  939. package/dist/src/showcase/premium/page-tabs/showcase.js +0 -121
  940. package/dist/src/showcase/premium/password-input/index.cjs +0 -1
  941. package/dist/src/showcase/premium/password-input/index.js +0 -3
  942. package/dist/src/showcase/premium/password-input/mock.cjs +0 -16
  943. package/dist/src/showcase/premium/password-input/mock.js +0 -31
  944. package/dist/src/showcase/premium/password-input/showcase.cjs +0 -1
  945. package/dist/src/showcase/premium/password-input/showcase.js +0 -104
  946. package/dist/src/showcase/premium/phone-input/index.cjs +0 -1
  947. package/dist/src/showcase/premium/phone-input/index.js +0 -3
  948. package/dist/src/showcase/premium/phone-input/mock.cjs +0 -17
  949. package/dist/src/showcase/premium/phone-input/mock.js +0 -43
  950. package/dist/src/showcase/premium/phone-input/showcase.cjs +0 -1
  951. package/dist/src/showcase/premium/phone-input/showcase.js +0 -33
  952. package/dist/src/showcase/premium/property-grid/index.cjs +0 -1
  953. package/dist/src/showcase/premium/property-grid/index.js +0 -3
  954. package/dist/src/showcase/premium/property-grid/mock.cjs +0 -14
  955. package/dist/src/showcase/premium/property-grid/mock.js +0 -26
  956. package/dist/src/showcase/premium/property-grid/showcase.cjs +0 -1
  957. package/dist/src/showcase/premium/property-grid/showcase.js +0 -93
  958. package/dist/src/showcase/premium/quantity-input/index.cjs +0 -1
  959. package/dist/src/showcase/premium/quantity-input/index.js +0 -3
  960. package/dist/src/showcase/premium/quantity-input/mock.cjs +0 -29
  961. package/dist/src/showcase/premium/quantity-input/mock.js +0 -43
  962. package/dist/src/showcase/premium/quantity-input/showcase.cjs +0 -1
  963. package/dist/src/showcase/premium/quantity-input/showcase.js +0 -23
  964. package/dist/src/showcase/premium/result/index.cjs +0 -1
  965. package/dist/src/showcase/premium/result/index.js +0 -3
  966. package/dist/src/showcase/premium/result/mock.cjs +0 -12
  967. package/dist/src/showcase/premium/result/mock.js +0 -31
  968. package/dist/src/showcase/premium/result/showcase.cjs +0 -1
  969. package/dist/src/showcase/premium/result/showcase.js +0 -98
  970. package/dist/src/showcase/premium/search-input/index.cjs +0 -1
  971. package/dist/src/showcase/premium/search-input/index.js +0 -3
  972. package/dist/src/showcase/premium/search-input/mock.cjs +0 -18
  973. package/dist/src/showcase/premium/search-input/mock.js +0 -31
  974. package/dist/src/showcase/premium/search-input/showcase.cjs +0 -1
  975. package/dist/src/showcase/premium/search-input/showcase.js +0 -113
  976. package/dist/src/showcase/premium/sheet-shell/index.cjs +0 -1
  977. package/dist/src/showcase/premium/sheet-shell/index.js +0 -3
  978. package/dist/src/showcase/premium/sheet-shell/mock.cjs +0 -34
  979. package/dist/src/showcase/premium/sheet-shell/mock.js +0 -43
  980. package/dist/src/showcase/premium/sheet-shell/showcase.cjs +0 -1
  981. package/dist/src/showcase/premium/sheet-shell/showcase.js +0 -137
  982. package/dist/src/showcase/premium/sidebar-nav/index.cjs +0 -1
  983. package/dist/src/showcase/premium/sidebar-nav/index.js +0 -3
  984. package/dist/src/showcase/premium/sidebar-nav/mock.cjs +0 -11
  985. package/dist/src/showcase/premium/sidebar-nav/mock.js +0 -32
  986. package/dist/src/showcase/premium/sidebar-nav/showcase.cjs +0 -1
  987. package/dist/src/showcase/premium/sidebar-nav/showcase.js +0 -113
  988. package/dist/src/showcase/premium/simple-select/index.cjs +0 -1
  989. package/dist/src/showcase/premium/simple-select/index.js +0 -3
  990. package/dist/src/showcase/premium/simple-select/mock.cjs +0 -29
  991. package/dist/src/showcase/premium/simple-select/mock.js +0 -43
  992. package/dist/src/showcase/premium/simple-select/showcase.cjs +0 -1
  993. package/dist/src/showcase/premium/simple-select/showcase.js +0 -114
  994. package/dist/src/showcase/premium/sticky-footer-bar/index.cjs +0 -1
  995. package/dist/src/showcase/premium/sticky-footer-bar/index.js +0 -3
  996. package/dist/src/showcase/premium/sticky-footer-bar/mock.cjs +0 -15
  997. package/dist/src/showcase/premium/sticky-footer-bar/mock.js +0 -19
  998. package/dist/src/showcase/premium/sticky-footer-bar/showcase.cjs +0 -1
  999. package/dist/src/showcase/premium/sticky-footer-bar/showcase.js +0 -37
  1000. package/packages/cli/vendor/src/components/actions/copy-field.tsx +0 -31
  1001. package/packages/cli/vendor/src/components/charts/horizontal-bar-chart.tsx +0 -60
  1002. package/packages/cli/vendor/src/components/charts/kpi.tsx +0 -68
  1003. package/packages/cli/vendor/src/components/display/comparison-card.tsx +0 -35
  1004. package/packages/cli/vendor/src/components/display/data-list.tsx +0 -97
  1005. package/packages/cli/vendor/src/components/display/delta-badge.tsx +0 -42
  1006. package/packages/cli/vendor/src/components/display/descriptions.tsx +0 -83
  1007. package/packages/cli/vendor/src/components/display/metric-grid.tsx +0 -89
  1008. package/packages/cli/vendor/src/components/display/progress-circle.tsx +0 -24
  1009. package/packages/cli/vendor/src/components/display/property-grid.tsx +0 -54
  1010. package/packages/cli/vendor/src/components/display/result.tsx +0 -90
  1011. package/packages/cli/vendor/src/components/display/trend-card.tsx +0 -57
  1012. package/packages/cli/vendor/src/components/display/user-card.tsx +0 -30
  1013. package/packages/cli/vendor/src/components/layout/stat-card.tsx +0 -165
  1014. package/packages/cli/vendor/src/components/modern/tour.tsx +0 -72
  1015. package/packages/cli/vendor/src/components/navigation/anchor-nav.tsx +0 -44
  1016. package/packages/cli/vendor/src/components/navigation/command-bar.tsx +0 -40
  1017. package/packages/cli/vendor/src/components/navigation/nav-tabs.tsx +0 -69
  1018. package/packages/cli/vendor/src/components/navigation/page-tabs.tsx +0 -94
  1019. package/packages/cli/vendor/src/components/navigation/stepper-tabs.tsx +0 -67
  1020. package/packages/cli/vendor/src/components/overlay/dialog-actions.tsx +0 -68
  1021. package/packages/cli/vendor/src/components/overlay/modal-shell.tsx +0 -93
  1022. package/packages/cli/vendor/src/components/overlay/sheet-shell.tsx +0 -212
  1023. package/packages/cli/vendor/src/components/ui/hover-card.tsx +0 -78
  1024. package/packages/cli/vendor/src/components/ui/input-group/index.tsx +0 -8
  1025. package/packages/cli/vendor/src/components/ui/input-primitive/index.tsx +0 -2
  1026. package/packages/cli/vendor/src/components/upload/file-dropzone.tsx +0 -38
  1027. package/packages/cli/vendor/src/showcase/premium/accordion/index.ts +0 -2
  1028. package/packages/cli/vendor/src/showcase/premium/accordion/mock.ts +0 -43
  1029. package/packages/cli/vendor/src/showcase/premium/accordion/showcase.tsx +0 -138
  1030. package/packages/cli/vendor/src/showcase/premium/app-shell/index.ts +0 -2
  1031. package/packages/cli/vendor/src/showcase/premium/app-shell/mock.ts +0 -66
  1032. package/packages/cli/vendor/src/showcase/premium/app-shell/showcase.tsx +0 -114
  1033. package/packages/cli/vendor/src/showcase/premium/clearable-input/index.ts +0 -2
  1034. package/packages/cli/vendor/src/showcase/premium/clearable-input/mock.ts +0 -32
  1035. package/packages/cli/vendor/src/showcase/premium/clearable-input/showcase.tsx +0 -63
  1036. package/packages/cli/vendor/src/showcase/premium/combobox/index.ts +0 -2
  1037. package/packages/cli/vendor/src/showcase/premium/combobox/mock.ts +0 -48
  1038. package/packages/cli/vendor/src/showcase/premium/combobox/showcase.tsx +0 -92
  1039. package/packages/cli/vendor/src/showcase/premium/command-bar/index.ts +0 -2
  1040. package/packages/cli/vendor/src/showcase/premium/command-bar/mock.ts +0 -26
  1041. package/packages/cli/vendor/src/showcase/premium/command-bar/showcase.tsx +0 -69
  1042. package/packages/cli/vendor/src/showcase/premium/copy-field/index.ts +0 -2
  1043. package/packages/cli/vendor/src/showcase/premium/copy-field/mock.ts +0 -26
  1044. package/packages/cli/vendor/src/showcase/premium/copy-field/showcase.tsx +0 -64
  1045. package/packages/cli/vendor/src/showcase/premium/data-table-parts/data.ts +0 -90
  1046. package/packages/cli/vendor/src/showcase/premium/data-table-parts/index.ts +0 -9
  1047. package/packages/cli/vendor/src/showcase/premium/data-table-parts/mock.ts +0 -63
  1048. package/packages/cli/vendor/src/showcase/premium/data-table-parts/showcase.tsx +0 -218
  1049. package/packages/cli/vendor/src/showcase/premium/date-input/index.ts +0 -2
  1050. package/packages/cli/vendor/src/showcase/premium/date-input/mock.ts +0 -37
  1051. package/packages/cli/vendor/src/showcase/premium/date-input/showcase.tsx +0 -24
  1052. package/packages/cli/vendor/src/showcase/premium/date-range-input/index.ts +0 -2
  1053. package/packages/cli/vendor/src/showcase/premium/date-range-input/mock.ts +0 -37
  1054. package/packages/cli/vendor/src/showcase/premium/date-range-input/showcase.tsx +0 -24
  1055. package/packages/cli/vendor/src/showcase/premium/descriptions/index.ts +0 -3
  1056. package/packages/cli/vendor/src/showcase/premium/descriptions/mock.ts +0 -31
  1057. package/packages/cli/vendor/src/showcase/premium/descriptions/showcase.tsx +0 -45
  1058. package/packages/cli/vendor/src/showcase/premium/hover-card/index.ts +0 -2
  1059. package/packages/cli/vendor/src/showcase/premium/hover-card/mock.ts +0 -30
  1060. package/packages/cli/vendor/src/showcase/premium/hover-card/showcase.tsx +0 -59
  1061. package/packages/cli/vendor/src/showcase/premium/masked-input/index.ts +0 -2
  1062. package/packages/cli/vendor/src/showcase/premium/masked-input/mock.ts +0 -42
  1063. package/packages/cli/vendor/src/showcase/premium/masked-input/showcase.tsx +0 -25
  1064. package/packages/cli/vendor/src/showcase/premium/metric-grid/index.ts +0 -2
  1065. package/packages/cli/vendor/src/showcase/premium/metric-grid/mock.ts +0 -28
  1066. package/packages/cli/vendor/src/showcase/premium/metric-grid/showcase.tsx +0 -70
  1067. package/packages/cli/vendor/src/showcase/premium/modal-shell/index.ts +0 -3
  1068. package/packages/cli/vendor/src/showcase/premium/modal-shell/mock.ts +0 -55
  1069. package/packages/cli/vendor/src/showcase/premium/modal-shell/showcase.tsx +0 -93
  1070. package/packages/cli/vendor/src/showcase/premium/money-input/index.ts +0 -2
  1071. package/packages/cli/vendor/src/showcase/premium/money-input/mock.ts +0 -48
  1072. package/packages/cli/vendor/src/showcase/premium/money-input/showcase.tsx +0 -21
  1073. package/packages/cli/vendor/src/showcase/premium/number-input/index.ts +0 -2
  1074. package/packages/cli/vendor/src/showcase/premium/number-input/mock.ts +0 -52
  1075. package/packages/cli/vendor/src/showcase/premium/number-input/showcase.tsx +0 -14
  1076. package/packages/cli/vendor/src/showcase/premium/page-container/index.ts +0 -2
  1077. package/packages/cli/vendor/src/showcase/premium/page-container/mock.ts +0 -25
  1078. package/packages/cli/vendor/src/showcase/premium/page-container/showcase.tsx +0 -50
  1079. package/packages/cli/vendor/src/showcase/premium/page-header/index.ts +0 -2
  1080. package/packages/cli/vendor/src/showcase/premium/page-header/mock.ts +0 -31
  1081. package/packages/cli/vendor/src/showcase/premium/page-header/showcase.tsx +0 -44
  1082. package/packages/cli/vendor/src/showcase/premium/page-tabs/index.ts +0 -2
  1083. package/packages/cli/vendor/src/showcase/premium/page-tabs/mock.ts +0 -33
  1084. package/packages/cli/vendor/src/showcase/premium/page-tabs/showcase.tsx +0 -67
  1085. package/packages/cli/vendor/src/showcase/premium/password-input/index.ts +0 -2
  1086. package/packages/cli/vendor/src/showcase/premium/password-input/mock.ts +0 -31
  1087. package/packages/cli/vendor/src/showcase/premium/password-input/showcase.tsx +0 -74
  1088. package/packages/cli/vendor/src/showcase/premium/phone-input/index.ts +0 -2
  1089. package/packages/cli/vendor/src/showcase/premium/phone-input/mock.ts +0 -37
  1090. package/packages/cli/vendor/src/showcase/premium/phone-input/showcase.tsx +0 -27
  1091. package/packages/cli/vendor/src/showcase/premium/property-grid/index.ts +0 -2
  1092. package/packages/cli/vendor/src/showcase/premium/property-grid/mock.ts +0 -29
  1093. package/packages/cli/vendor/src/showcase/premium/property-grid/showcase.tsx +0 -48
  1094. package/packages/cli/vendor/src/showcase/premium/quantity-input/index.ts +0 -2
  1095. package/packages/cli/vendor/src/showcase/premium/quantity-input/mock.ts +0 -49
  1096. package/packages/cli/vendor/src/showcase/premium/quantity-input/showcase.tsx +0 -21
  1097. package/packages/cli/vendor/src/showcase/premium/result/index.ts +0 -2
  1098. package/packages/cli/vendor/src/showcase/premium/result/mock.ts +0 -28
  1099. package/packages/cli/vendor/src/showcase/premium/result/showcase.tsx +0 -67
  1100. package/packages/cli/vendor/src/showcase/premium/search-input/index.ts +0 -2
  1101. package/packages/cli/vendor/src/showcase/premium/search-input/mock.ts +0 -33
  1102. package/packages/cli/vendor/src/showcase/premium/search-input/showcase.tsx +0 -85
  1103. package/packages/cli/vendor/src/showcase/premium/sheet-shell/index.ts +0 -3
  1104. package/packages/cli/vendor/src/showcase/premium/sheet-shell/mock.ts +0 -59
  1105. package/packages/cli/vendor/src/showcase/premium/sheet-shell/showcase.tsx +0 -87
  1106. package/packages/cli/vendor/src/showcase/premium/sidebar-nav/index.ts +0 -2
  1107. package/packages/cli/vendor/src/showcase/premium/sidebar-nav/mock.ts +0 -28
  1108. package/packages/cli/vendor/src/showcase/premium/sidebar-nav/showcase.tsx +0 -78
  1109. package/packages/cli/vendor/src/showcase/premium/simple-select/index.ts +0 -2
  1110. package/packages/cli/vendor/src/showcase/premium/simple-select/mock.ts +0 -49
  1111. package/packages/cli/vendor/src/showcase/premium/simple-select/showcase.tsx +0 -66
  1112. package/packages/cli/vendor/src/showcase/premium/sticky-footer-bar/index.ts +0 -3
  1113. package/packages/cli/vendor/src/showcase/premium/sticky-footer-bar/mock.ts +0 -30
  1114. package/packages/cli/vendor/src/showcase/premium/sticky-footer-bar/showcase.tsx +0 -33
@@ -1,25 +1,172 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../lib/utils.js";
3
3
  import * as t from "react";
4
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { BoldIcon as n, CodeIcon as r, Heading2Icon as i, ItalicIcon as a, LinkIcon as o, ListIcon as s, ListOrderedIcon as c, QuoteIcon as l, Redo2Icon as u, StrikethroughIcon as d, Undo2Icon as f, UnlinkIcon as p } from "lucide-react";
5
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
6
+ import { EditorContent as g, useEditor as _ } from "@tiptap/react";
7
+ import v from "@tiptap/starter-kit";
8
+ import y from "@tiptap/extension-link";
9
+ import b from "@tiptap/extension-placeholder";
5
10
  //#region src/components/modern/rich-text-editor.tsx
6
- function i({ value: i, defaultValue: a, onValueChange: o, output: s, placeholder: c = "Start typing...", className: l, children: u, ...d }) {
7
- let [f, p] = t.useState(a ?? ""), m = i !== void 0, h = m ? i ?? "" : f;
8
- return /* @__PURE__ */ r("div", {
9
- ...d,
11
+ function x(e) {
12
+ return e.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
13
+ }
14
+ function S(e, t) {
15
+ return t === "html" ? e : `<p>${x(e)}</p>`;
16
+ }
17
+ function C({ editor: e, onLinkRequest: t, label: h }) {
18
+ let g = e.getAttributes("link").href, _ = [
19
+ {
20
+ label: "Undo",
21
+ icon: f,
22
+ disabled: !e.can().undo(),
23
+ run: () => e.chain().focus().undo().run()
24
+ },
25
+ {
26
+ label: "Redo",
27
+ icon: u,
28
+ disabled: !e.can().redo(),
29
+ run: () => e.chain().focus().redo().run()
30
+ },
31
+ {
32
+ label: "Bold",
33
+ icon: n,
34
+ active: e.isActive("bold"),
35
+ run: () => e.chain().focus().toggleBold().run()
36
+ },
37
+ {
38
+ label: "Italic",
39
+ icon: a,
40
+ active: e.isActive("italic"),
41
+ run: () => e.chain().focus().toggleItalic().run()
42
+ },
43
+ {
44
+ label: "Strike",
45
+ icon: d,
46
+ active: e.isActive("strike"),
47
+ run: () => e.chain().focus().toggleStrike().run()
48
+ },
49
+ {
50
+ label: "Inline code",
51
+ icon: r,
52
+ active: e.isActive("code"),
53
+ run: () => e.chain().focus().toggleCode().run()
54
+ },
55
+ {
56
+ label: "Heading",
57
+ icon: i,
58
+ active: e.isActive("heading", { level: 2 }),
59
+ run: () => e.chain().focus().toggleHeading({ level: 2 }).run()
60
+ },
61
+ {
62
+ label: "Bullet list",
63
+ icon: s,
64
+ active: e.isActive("bulletList"),
65
+ run: () => e.chain().focus().toggleBulletList().run()
66
+ },
67
+ {
68
+ label: "Ordered list",
69
+ icon: c,
70
+ active: e.isActive("orderedList"),
71
+ run: () => e.chain().focus().toggleOrderedList().run()
72
+ },
73
+ {
74
+ label: "Blockquote",
75
+ icon: l,
76
+ active: e.isActive("blockquote"),
77
+ run: () => e.chain().focus().toggleBlockquote().run()
78
+ }
79
+ ];
80
+ return t && _.push({
81
+ label: "Set link",
82
+ icon: o,
83
+ active: e.isActive("link"),
84
+ run: () => {
85
+ let n = t(g);
86
+ n != null && (n.trim() ? e.chain().focus().extendMarkRange("link").setLink({ href: n.trim() }).run() : e.chain().focus().unsetLink().run());
87
+ }
88
+ }), e.isActive("link") && _.push({
89
+ label: "Remove link",
90
+ icon: p,
91
+ run: () => e.chain().focus().unsetLink().run()
92
+ }), /* @__PURE__ */ m("div", {
93
+ role: "toolbar",
94
+ "aria-label": h,
95
+ className: "flex flex-wrap gap-1 border-b p-1.5",
96
+ children: _.map((e) => {
97
+ let t = e.icon;
98
+ return /* @__PURE__ */ m("button", {
99
+ type: "button",
100
+ title: e.label,
101
+ "aria-label": e.label,
102
+ "aria-pressed": e.active || void 0,
103
+ disabled: e.disabled,
104
+ className: "inline-flex size-8 items-center justify-center rounded-md text-muted-foreground outline-none hover:bg-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring aria-pressed:bg-accent aria-pressed:text-foreground disabled:pointer-events-none disabled:opacity-40",
105
+ onClick: e.run,
106
+ children: /* @__PURE__ */ m(t, { className: "size-4" })
107
+ }, e.label);
108
+ })
109
+ });
110
+ }
111
+ function w({ value: n, defaultValue: r = "", onValueChange: i, output: a = "html", placeholder: o = "Start typing...", editable: s = !0, autoFocus: c = !1, minHeight: l = 144, onLinkRequest: u, labels: d, className: f, ...p }) {
112
+ let x = n ?? r, w = _({
113
+ immediatelyRender: !0,
114
+ autofocus: c,
115
+ editable: s,
116
+ editorProps: { attributes: {
117
+ "aria-label": d?.editor ?? "Rich text editor",
118
+ role: "textbox"
119
+ } },
120
+ content: S(x, a),
121
+ extensions: [
122
+ v.configure({ link: !1 }),
123
+ y.configure({
124
+ openOnClick: !1,
125
+ autolink: !0,
126
+ defaultProtocol: "https"
127
+ }),
128
+ b.configure({ placeholder: o })
129
+ ],
130
+ onUpdate: ({ editor: e }) => {
131
+ i?.(a === "html" ? e.getHTML() : e.getText());
132
+ }
133
+ });
134
+ return t.useEffect(() => {
135
+ !w || n === void 0 || (a === "html" ? w.getHTML() : w.getText()) !== n && w.commands.setContent(S(n, a), { emitUpdate: !1 });
136
+ }, [
137
+ w,
138
+ a,
139
+ n
140
+ ]), t.useEffect(() => {
141
+ w?.setEditable(s);
142
+ }, [s, w]), /* @__PURE__ */ h("div", {
143
+ "data-slot": "rich-text-editor",
144
+ "data-disabled": !s || void 0,
145
+ className: e("overflow-hidden rounded-md border bg-background shadow-sm focus-within:ring-2 focus-within:ring-ring data-[disabled]:opacity-60", f),
146
+ ...p,
147
+ children: [w && s ? /* @__PURE__ */ m(C, {
148
+ editor: w,
149
+ onLinkRequest: u,
150
+ label: d?.toolbar ?? "Text formatting"
151
+ }) : null, /* @__PURE__ */ m(g, {
152
+ editor: w,
153
+ "aria-label": d?.editor ?? "Rich text editor",
154
+ className: "[&_.tiptap]:px-3 [&_.tiptap]:py-2.5 [&_.tiptap]:outline-none [&_.tiptap_a]:text-primary [&_.tiptap_a]:underline [&_.tiptap_blockquote]:border-l-2 [&_.tiptap_blockquote]:pl-3 [&_.tiptap_h2]:text-lg [&_.tiptap_h2]:font-semibold [&_.tiptap_ol]:list-decimal [&_.tiptap_ol]:pl-6 [&_.tiptap_p.is-editor-empty:first-child:before]:pointer-events-none [&_.tiptap_p.is-editor-empty:first-child:before]:float-left [&_.tiptap_p.is-editor-empty:first-child:before]:h-0 [&_.tiptap_p.is-editor-empty:first-child:before]:text-muted-foreground [&_.tiptap_p.is-editor-empty:first-child:before]:content-[attr(data-placeholder)] [&_.tiptap_ul]:list-disc [&_.tiptap_ul]:pl-6",
155
+ style: { minHeight: l }
156
+ })]
157
+ });
158
+ }
159
+ function T(n) {
160
+ let [r, i] = t.useState(!1);
161
+ return t.useEffect(() => {
162
+ i(!0);
163
+ }, []), r ? /* @__PURE__ */ m(w, { ...n }) : /* @__PURE__ */ m("div", {
10
164
  "data-slot": "rich-text-editor",
11
- className: e("min-h-28 rounded-[var(--aui-control-radius,var(--radius-md))] border border-[color:var(--aui-control-border-strong,var(--border))] bg-[color:var(--aui-control-surface,var(--background))] px-3 py-2 text-sm leading-6 text-foreground shadow-[var(--aui-control-shadow,0_1px_2px_rgba(15,23,42,0.04))] outline-none transition-[background-color,border-color,box-shadow] focus-within:border-[color:var(--ring)] focus-within:shadow-[0_0_0_1px_var(--aui-focus-ring,var(--ring)),0_0_0_4px_var(--aui-focus-ring-soft,transparent)]", l),
12
- children: [/* @__PURE__ */ n("textarea", {
13
- value: h,
14
- placeholder: c,
15
- "aria-multiline": "true",
16
- className: e("min-h-20 w-full resize-none border-0 bg-transparent p-0 outline-none placeholder:text-muted-foreground/65"),
17
- onChange: (e) => {
18
- let t = e.currentTarget.value;
19
- m || p(t), o?.(t);
20
- }
21
- }), u]
165
+ "data-state": "loading",
166
+ className: e("overflow-hidden rounded-md border bg-background shadow-sm", n.className),
167
+ style: { minHeight: n.minHeight ?? 144 },
168
+ "aria-busy": "true"
22
169
  });
23
170
  }
24
171
  //#endregion
25
- export { i as RichTextEditor };
172
+ export { C as EditorToolbar, T as RichTextEditor };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../showcase/create-demo.cjs");var t=e.createShowcaseDemoRegistry([e.component(`pagination`,`Pagination`,`navigation`,`Controlled page navigation with edge buttons and active state.`),e.component(`nav-tabs`,`NavTabs`,`navigation`,`Navigation tabs for switching related document sections.`),e.component(`page-tabs`,`PageTabs`,`navigation`,`Top-level page tab strip for route-sized sections.`),e.component(`stepper-tabs`,`StepperTabs`,`navigation`,`Step-like tabs for setup and onboarding progress.`)]);exports.navigationShowcaseDemoRegistry=t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../showcase/create-demo.cjs");var t=e.createShowcaseDemoRegistry([e.component(`pagination`,`Pagination`,`navigation`,`Controlled page navigation with edge buttons and active state.`)]);exports.navigationShowcaseDemoRegistry=t;
@@ -1,10 +1,5 @@
1
1
  import { component as e, createShowcaseDemoRegistry as t } from "../../showcase/create-demo.js";
2
2
  //#region src/components/navigation/demo.tsx
3
- var n = t([
4
- e("pagination", "Pagination", "navigation", "Controlled page navigation with edge buttons and active state."),
5
- e("nav-tabs", "NavTabs", "navigation", "Navigation tabs for switching related document sections."),
6
- e("page-tabs", "PageTabs", "navigation", "Top-level page tab strip for route-sized sections."),
7
- e("stepper-tabs", "StepperTabs", "navigation", "Step-like tabs for setup and onboarding progress.")
8
- ]);
3
+ var n = t([e("pagination", "Pagination", "navigation", "Controlled page navigation with edge buttons and active state.")]);
9
4
  //#endregion
10
5
  export { n as navigationShowcaseDemoRegistry };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./anchor-nav.cjs"),t=require("./nav-tabs.cjs"),n=require("./page-tabs.cjs"),r=require("./pagination.cjs"),i=require("./stepper-tabs.cjs"),a=require("./command-bar.cjs");exports.AnchorNav=e.AnchorNav,exports.CommandBar=a.CommandBar,exports.NavTabs=t.NavTabs,exports.PageTabs=n.PageTabs,exports.Pagination=r.Pagination,exports.StepperTabs=i.StepperTabs,exports.getPaginationItems=r.getPaginationItems;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./pagination.cjs");exports.Pagination=e.Pagination,exports.getPaginationItems=e.getPaginationItems;
@@ -1,7 +1,2 @@
1
- import { AnchorNav as e } from "./anchor-nav.js";
2
- import { NavTabs as t } from "./nav-tabs.js";
3
- import { PageTabs as n } from "./page-tabs.js";
4
- import { Pagination as r, getPaginationItems as i } from "./pagination.js";
5
- import { StepperTabs as a } from "./stepper-tabs.js";
6
- import { CommandBar as o } from "./command-bar.js";
7
- export { e as AnchorNav, o as CommandBar, t as NavTabs, n as PageTabs, r as Pagination, a as StepperTabs, i as getPaginationItems };
1
+ import { Pagination as e, getPaginationItems as t } from "./pagination.js";
2
+ export { e as Pagination, t as getPaginationItems };
@@ -1 +1 @@
1
- "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./dialog-actions.cjs"),n=require("./modal-shell.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime");function a({cancelText:e=`Cancel`,confirmText:a=`Confirm`,confirmVariant:o=`default`,confirmDisabled:s=!1,cancelDisabled:c=!1,isLoading:l=!1,closeOnConfirm:u=!0,onConfirmError:d,onCancel:f,onConfirm:p,onOpenChange:m,...h}){let[g,_]=r.useState(!1),v=l||g,y=e=>{v&&e===!1||m?.(e)},b=()=>{f?.(),v||m?.(!1)},x=async()=>{if(!(s||v))try{_(!0),await p?.(),u&&m?.(!1)}catch(e){d?.(e)}finally{_(!1)}};return(0,i.jsx)(n.ModalShell,{showCloseButton:!v,onOpenChange:y,footer:(0,i.jsxs)(t.DialogActions,{children:[(0,i.jsx)(t.DialogActionButton,{type:`button`,variant:`outline`,disabled:c||v,onClick:b,children:e}),(0,i.jsx)(t.DialogActionButton,{type:`button`,variant:o,disabled:s||v,isLoading:v,onClick:()=>void x(),children:a})]}),...h})}exports.ConfirmDialog=a;
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../lib/utils.cjs"),n=require("../ui/button/index.cjs"),r=require("../ui/dialog/index.cjs");let i=require("react");i=e.__toESM(i,1);let a=require("react/jsx-runtime");function o(e){return e?i.isValidElement(e)?(0,a.jsx)(r.DialogTrigger,{render:e}):(0,a.jsx)(r.DialogTrigger,{children:e}):null}function s({open:e,defaultOpen:s,trigger:c,title:l,description:u,children:d,size:f=`md`,showCloseButton:p=!0,contentClassName:m,headerClassName:h,bodyClassName:g,cancelText:_=`Cancel`,confirmText:v=`Confirm`,confirmVariant:y=`default`,confirmDisabled:b=!1,cancelDisabled:x=!1,isLoading:S=!1,closeOnConfirm:C=!0,onConfirmError:w,onCancel:T,onConfirm:E,onOpenChange:D}){let[O,k]=i.useState(!1),A=S||O,j=e=>{A&&e===!1||D?.(e)},M=()=>{T?.(),A||D?.(!1)},N=async()=>{if(!(b||A))try{k(!0),await E?.(),C&&D?.(!1)}catch(e){w?.(e)}finally{k(!1)}};return(0,a.jsxs)(r.Dialog,{open:e,defaultOpen:s,onOpenChange:j,children:[o(c),(0,a.jsxs)(r.DialogContent,{size:f,showCloseButton:p&&!A,className:m,children:[(l||u)&&(0,a.jsxs)(r.DialogHeader,{className:h,children:[l&&(0,a.jsx)(r.DialogTitle,{children:l}),u&&(0,a.jsx)(r.DialogDescription,{children:u})]}),d&&(0,a.jsx)(`div`,{"data-slot":`confirm-dialog-body`,className:t.cn(`min-w-0`,g),children:d}),(0,a.jsxs)(r.DialogFooter,{children:[(0,a.jsx)(n.Button,{type:`button`,variant:`outline`,disabled:x||A,onClick:M,children:_}),(0,a.jsx)(n.Button,{type:`button`,variant:y,disabled:b||A,loading:A,loadingLabel:typeof v==`string`?v:`Loading`,onClick:()=>void N(),children:v})]})]})]})}exports.ConfirmDialog=s;
@@ -1,42 +1,63 @@
1
1
  "use client";
2
- import { DialogActionButton as e, DialogActions as t } from "./dialog-actions.js";
3
- import { ModalShell as n } from "./modal-shell.js";
4
- import * as r from "react";
5
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
2
+ import { cn as e } from "../../lib/utils.js";
3
+ import { Button as t } from "../ui/button/index.js";
4
+ import { Dialog as n, DialogContent as r, DialogDescription as i, DialogFooter as a, DialogHeader as o, DialogTitle as s, DialogTrigger as c } from "../ui/dialog/index.js";
5
+ import * as l from "react";
6
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
6
7
  //#region src/components/overlay/confirm-dialog.tsx
7
- function o({ cancelText: o = "Cancel", confirmText: s = "Confirm", confirmVariant: c = "default", confirmDisabled: l = !1, cancelDisabled: u = !1, isLoading: d = !1, closeOnConfirm: f = !0, onConfirmError: p, onCancel: m, onConfirm: h, onOpenChange: g, ..._ }) {
8
- let [v, y] = r.useState(!1), b = d || v, x = (e) => {
9
- b && e === !1 || g?.(e);
10
- }, S = () => {
11
- m?.(), b || g?.(!1);
12
- }, C = async () => {
13
- if (!(l || b)) try {
14
- y(!0), await h?.(), f && g?.(!1);
8
+ function f(e) {
9
+ return e ? l.isValidElement(e) ? /* @__PURE__ */ u(c, { render: e }) : /* @__PURE__ */ u(c, { children: e }) : null;
10
+ }
11
+ function p({ open: c, defaultOpen: p, trigger: m, title: h, description: g, children: _, size: v = "md", showCloseButton: y = !0, contentClassName: b, headerClassName: x, bodyClassName: S, cancelText: C = "Cancel", confirmText: w = "Confirm", confirmVariant: T = "default", confirmDisabled: E = !1, cancelDisabled: D = !1, isLoading: O = !1, closeOnConfirm: k = !0, onConfirmError: A, onCancel: j, onConfirm: M, onOpenChange: N }) {
12
+ let [P, F] = l.useState(!1), I = O || P, L = (e) => {
13
+ I && e === !1 || N?.(e);
14
+ }, R = () => {
15
+ j?.(), I || N?.(!1);
16
+ }, z = async () => {
17
+ if (!(E || I)) try {
18
+ F(!0), await M?.(), k && N?.(!1);
15
19
  } catch (e) {
16
- p?.(e);
20
+ A?.(e);
17
21
  } finally {
18
- y(!1);
22
+ F(!1);
19
23
  }
20
24
  };
21
- return /* @__PURE__ */ i(n, {
22
- showCloseButton: !b,
23
- onOpenChange: x,
24
- footer: /* @__PURE__ */ a(t, { children: [/* @__PURE__ */ i(e, {
25
- type: "button",
26
- variant: "outline",
27
- disabled: u || b,
28
- onClick: S,
29
- children: o
30
- }), /* @__PURE__ */ i(e, {
31
- type: "button",
32
- variant: c,
33
- disabled: l || b,
34
- isLoading: b,
35
- onClick: () => void C(),
36
- children: s
37
- })] }),
38
- ..._
25
+ return /* @__PURE__ */ d(n, {
26
+ open: c,
27
+ defaultOpen: p,
28
+ onOpenChange: L,
29
+ children: [f(m), /* @__PURE__ */ d(r, {
30
+ size: v,
31
+ showCloseButton: y && !I,
32
+ className: b,
33
+ children: [
34
+ (h || g) && /* @__PURE__ */ d(o, {
35
+ className: x,
36
+ children: [h && /* @__PURE__ */ u(s, { children: h }), g && /* @__PURE__ */ u(i, { children: g })]
37
+ }),
38
+ _ && /* @__PURE__ */ u("div", {
39
+ "data-slot": "confirm-dialog-body",
40
+ className: e("min-w-0", S),
41
+ children: _
42
+ }),
43
+ /* @__PURE__ */ d(a, { children: [/* @__PURE__ */ u(t, {
44
+ type: "button",
45
+ variant: "outline",
46
+ disabled: D || I,
47
+ onClick: R,
48
+ children: C
49
+ }), /* @__PURE__ */ u(t, {
50
+ type: "button",
51
+ variant: T,
52
+ disabled: E || I,
53
+ loading: I,
54
+ loadingLabel: typeof w == "string" ? w : "Loading",
55
+ onClick: () => void z(),
56
+ children: w
57
+ })] })
58
+ ]
59
+ })]
39
60
  });
40
61
  }
41
62
  //#endregion
42
- export { o as ConfirmDialog };
63
+ export { p as ConfirmDialog };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./alert-dialog.cjs"),t=require("./dialog-actions.cjs"),n=require("./modal-shell.cjs"),r=require("./confirm-dialog.cjs"),i=require("./drawer.cjs"),a=require("./sheet-shell.cjs");exports.AlertDialog=e.AlertDialog,exports.ConfirmDialog=r.ConfirmDialog,exports.DialogActionButton=t.DialogActionButton,exports.DialogActions=t.DialogActions,exports.Drawer=i.Drawer,exports.DrawerCloseButton=i.DrawerCloseButton,exports.ModalShell=n.ModalShell,exports.Sheet=a.Sheet,exports.SheetClose=a.SheetClose,exports.SheetContent=a.SheetContent,exports.SheetDescription=a.SheetDescription,exports.SheetFooter=a.SheetFooter,exports.SheetHeader=a.SheetHeader,exports.SheetOverlay=a.SheetOverlay,exports.SheetPortal=a.SheetPortal,exports.SheetShell=a.SheetShell,exports.SheetTitle=a.SheetTitle,exports.SheetTrigger=a.SheetTrigger;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./alert-dialog.cjs"),t=require("./confirm-dialog.cjs"),n=require("./drawer.cjs");exports.AlertDialog=e.AlertDialog,exports.ConfirmDialog=t.ConfirmDialog,exports.Drawer=n.Drawer,exports.DrawerCloseButton=n.DrawerCloseButton;
@@ -1,7 +1,4 @@
1
1
  import { AlertDialog as e } from "./alert-dialog.js";
2
- import { DialogActionButton as t, DialogActions as n } from "./dialog-actions.js";
3
- import { ModalShell as r } from "./modal-shell.js";
4
- import { ConfirmDialog as i } from "./confirm-dialog.js";
5
- import { Drawer as a, DrawerCloseButton as o } from "./drawer.js";
6
- import { Sheet as s, SheetClose as c, SheetContent as l, SheetDescription as u, SheetFooter as d, SheetHeader as f, SheetOverlay as p, SheetPortal as m, SheetShell as h, SheetTitle as g, SheetTrigger as _ } from "./sheet-shell.js";
7
- export { e as AlertDialog, i as ConfirmDialog, t as DialogActionButton, n as DialogActions, a as Drawer, o as DrawerCloseButton, r as ModalShell, s as Sheet, c as SheetClose, l as SheetContent, u as SheetDescription, d as SheetFooter, f as SheetHeader, p as SheetOverlay, m as SheetPortal, h as SheetShell, g as SheetTitle, _ as SheetTrigger };
2
+ import { ConfirmDialog as t } from "./confirm-dialog.js";
3
+ import { Drawer as n, DrawerCloseButton as r } from "./drawer.js";
4
+ export { e as AlertDialog, t as ConfirmDialog, n as Drawer, r as DrawerCloseButton };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../lib/utils.cjs"),n=require("../ui/button/index.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("lucide-react"),a=require("react/jsx-runtime");function o({className:e,selectedCount:r,selectedLabel:o=e=>`${e} selected`,actions:s,clearLabel:c=`Clear`,onClear:l,children:u,...d}){return r<=0?null:(0,a.jsxs)(`div`,{"data-slot":`bulk-action-bar`,className:t.cn(`flex flex-col gap-3 rounded-xl border bg-card p-3 shadow-sm sm:flex-row sm:items-center sm:justify-between`,e),...d,children:[(0,a.jsx)(`div`,{"data-slot":`bulk-action-bar-count`,className:`text-sm font-medium`,children:o(r)}),(0,a.jsxs)(`div`,{"data-slot":`bulk-action-bar-actions`,className:`flex flex-wrap items-center gap-2`,children:[u,s,l&&(0,a.jsxs)(n.Button,{type:`button`,variant:`ghost`,size:`sm`,onClick:l,children:[(0,a.jsx)(i.XIcon,{"data-icon":`inline-start`}),c]})]})]})}exports.BulkActionBar=o;
@@ -0,0 +1,34 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { Button as t } from "../ui/button/index.js";
3
+ import "react";
4
+ import { XIcon as n } from "lucide-react";
5
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
+ //#region src/components/patterns/bulk-action-bar.tsx
7
+ function a({ className: a, selectedCount: o, selectedLabel: s = (e) => `${e} selected`, actions: c, clearLabel: l = "Clear", onClear: u, children: d, ...f }) {
8
+ return o <= 0 ? null : /* @__PURE__ */ i("div", {
9
+ "data-slot": "bulk-action-bar",
10
+ className: e("flex flex-col gap-3 rounded-xl border bg-card p-3 shadow-sm sm:flex-row sm:items-center sm:justify-between", a),
11
+ ...f,
12
+ children: [/* @__PURE__ */ r("div", {
13
+ "data-slot": "bulk-action-bar-count",
14
+ className: "text-sm font-medium",
15
+ children: s(o)
16
+ }), /* @__PURE__ */ i("div", {
17
+ "data-slot": "bulk-action-bar-actions",
18
+ className: "flex flex-wrap items-center gap-2",
19
+ children: [
20
+ d,
21
+ c,
22
+ u && /* @__PURE__ */ i(t, {
23
+ type: "button",
24
+ variant: "ghost",
25
+ size: "sm",
26
+ onClick: u,
27
+ children: [/* @__PURE__ */ r(n, { "data-icon": "inline-start" }), l]
28
+ })
29
+ ]
30
+ })]
31
+ });
32
+ }
33
+ //#endregion
34
+ export { a as BulkActionBar };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../lib/utils.cjs"),n=require("../data-table/data-table.cjs"),r=require("./empty-state.cjs"),i=require("./page-toolbar.cjs");let a=require("react");a=e.__toESM(a,1);let o=require("react/jsx-runtime");function s({className:e,title:a,description:s,toolbar:c,table:l,count:u,loading:d=!1,error:f,emptyTitle:p=`No results`,emptyDescription:m=`Try adjusting filters or create a new item.`,children:h,...g}){let _=!!(a||s),v=!!c,y=u===void 0?!!(h||l):u>0;return(0,o.jsxs)(`div`,{"data-slot":`data-view`,className:t.cn(`grid min-w-0 gap-4`,e),...g,children:[_&&(0,o.jsxs)(`div`,{"data-slot":`data-view-header`,className:`grid gap-1`,children:[a&&(0,o.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight`,children:a}),s&&(0,o.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,children:s})]}),v&&(0,o.jsx)(i.PageToolbar,{...c}),f?(0,o.jsx)(r.EmptyState,{tone:`error`,title:`Something went wrong`,description:f}):d?(0,o.jsx)(r.EmptyState,{tone:`info`,title:`Loading data`,description:`Please wait while the latest data is prepared.`}):y?(0,o.jsxs)(`div`,{"data-slot":`data-view-content`,className:`min-w-0`,children:[h,l&&(0,o.jsx)(n.DataTable,{...l})]}):(0,o.jsx)(r.EmptyState,{title:p,description:m})]})}exports.DataView=s;
@@ -0,0 +1,47 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { DataTable as t } from "../data-table/data-table.js";
3
+ import { EmptyState as n } from "./empty-state.js";
4
+ import { PageToolbar as r } from "./page-toolbar.js";
5
+ import "react";
6
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
7
+ //#region src/components/patterns/data-view.tsx
8
+ function o({ className: o, title: s, description: c, toolbar: l, table: u, count: d, loading: f = !1, error: p, emptyTitle: m = "No results", emptyDescription: h = "Try adjusting filters or create a new item.", children: g, ..._ }) {
9
+ let v = !!(s || c), y = !!l, b = d === void 0 ? !!(g || u) : d > 0;
10
+ return /* @__PURE__ */ a("div", {
11
+ "data-slot": "data-view",
12
+ className: e("grid min-w-0 gap-4", o),
13
+ ..._,
14
+ children: [
15
+ v && /* @__PURE__ */ a("div", {
16
+ "data-slot": "data-view-header",
17
+ className: "grid gap-1",
18
+ children: [s && /* @__PURE__ */ i("h2", {
19
+ className: "text-xl font-semibold tracking-tight",
20
+ children: s
21
+ }), c && /* @__PURE__ */ i("p", {
22
+ className: "text-sm leading-6 text-muted-foreground",
23
+ children: c
24
+ })]
25
+ }),
26
+ y && /* @__PURE__ */ i(r, { ...l }),
27
+ p ? /* @__PURE__ */ i(n, {
28
+ tone: "error",
29
+ title: "Something went wrong",
30
+ description: p
31
+ }) : f ? /* @__PURE__ */ i(n, {
32
+ tone: "info",
33
+ title: "Loading data",
34
+ description: "Please wait while the latest data is prepared."
35
+ }) : b ? /* @__PURE__ */ a("div", {
36
+ "data-slot": "data-view-content",
37
+ className: "min-w-0",
38
+ children: [g, u && /* @__PURE__ */ i(t, { ...u })]
39
+ }) : /* @__PURE__ */ i(n, {
40
+ title: m,
41
+ description: h
42
+ })
43
+ ]
44
+ });
45
+ }
46
+ //#endregion
47
+ export { o as DataView };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../lib/utils.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime");function i({className:e,title:n,description:i,eyebrow:a,actions:o,breadcrumbs:s,summary:c,aside:l,footer:u,headerClassName:d,contentClassName:f,asideClassName:p,children:m,...h}){let g=!!(n||i||a||o),_=!!(m||l);return(0,r.jsxs)(`div`,{"data-slot":`detail-layout`,className:t.cn(`grid min-w-0 gap-4`,e),...h,children:[s&&(0,r.jsx)(`div`,{"data-slot":`detail-layout-breadcrumbs`,children:s}),g&&(0,r.jsxs)(`div`,{"data-slot":`detail-layout-header`,className:t.cn(`flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between`,d),children:[(0,r.jsxs)(`div`,{className:`grid min-w-0 gap-1`,children:[a&&(0,r.jsx)(`div`,{className:`text-xs font-medium uppercase tracking-wide text-muted-foreground`,children:a}),n&&(0,r.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:n}),i&&(0,r.jsx)(`p`,{className:`max-w-3xl text-sm leading-6 text-muted-foreground`,children:i})]}),o&&(0,r.jsx)(`div`,{className:`flex shrink-0 flex-wrap items-center gap-2`,children:o})]}),c&&(0,r.jsx)(`div`,{"data-slot":`detail-layout-summary`,children:c}),_&&(0,r.jsxs)(`div`,{"data-slot":`detail-layout-content`,className:t.cn(`grid min-w-0 gap-4 xl:grid-cols-[minmax(0,1fr)_20rem]`,f),children:[(0,r.jsx)(`main`,{"data-slot":`detail-layout-main`,className:`min-w-0`,children:m}),l&&(0,r.jsx)(`aside`,{"data-slot":`detail-layout-aside`,className:t.cn(`min-w-0`,p),children:l})]}),u&&(0,r.jsx)(`div`,{"data-slot":`detail-layout-footer`,children:u})]})}exports.DetailLayout=i;
@@ -0,0 +1,65 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import "react";
3
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
+ //#region src/components/patterns/detail-layout.tsx
5
+ function r({ className: r, title: i, description: a, eyebrow: o, actions: s, breadcrumbs: c, summary: l, aside: u, footer: d, headerClassName: f, contentClassName: p, asideClassName: m, children: h, ...g }) {
6
+ let _ = !!(i || a || o || s), v = !!(h || u);
7
+ return /* @__PURE__ */ n("div", {
8
+ "data-slot": "detail-layout",
9
+ className: e("grid min-w-0 gap-4", r),
10
+ ...g,
11
+ children: [
12
+ c && /* @__PURE__ */ t("div", {
13
+ "data-slot": "detail-layout-breadcrumbs",
14
+ children: c
15
+ }),
16
+ _ && /* @__PURE__ */ n("div", {
17
+ "data-slot": "detail-layout-header",
18
+ className: e("flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between", f),
19
+ children: [/* @__PURE__ */ n("div", {
20
+ className: "grid min-w-0 gap-1",
21
+ children: [
22
+ o && /* @__PURE__ */ t("div", {
23
+ className: "text-xs font-medium uppercase tracking-wide text-muted-foreground",
24
+ children: o
25
+ }),
26
+ i && /* @__PURE__ */ t("h1", {
27
+ className: "text-2xl font-semibold tracking-tight",
28
+ children: i
29
+ }),
30
+ a && /* @__PURE__ */ t("p", {
31
+ className: "max-w-3xl text-sm leading-6 text-muted-foreground",
32
+ children: a
33
+ })
34
+ ]
35
+ }), s && /* @__PURE__ */ t("div", {
36
+ className: "flex shrink-0 flex-wrap items-center gap-2",
37
+ children: s
38
+ })]
39
+ }),
40
+ l && /* @__PURE__ */ t("div", {
41
+ "data-slot": "detail-layout-summary",
42
+ children: l
43
+ }),
44
+ v && /* @__PURE__ */ n("div", {
45
+ "data-slot": "detail-layout-content",
46
+ className: e("grid min-w-0 gap-4 xl:grid-cols-[minmax(0,1fr)_20rem]", p),
47
+ children: [/* @__PURE__ */ t("main", {
48
+ "data-slot": "detail-layout-main",
49
+ className: "min-w-0",
50
+ children: h
51
+ }), u && /* @__PURE__ */ t("aside", {
52
+ "data-slot": "detail-layout-aside",
53
+ className: e("min-w-0", m),
54
+ children: u
55
+ })]
56
+ }),
57
+ d && /* @__PURE__ */ t("div", {
58
+ "data-slot": "detail-layout-footer",
59
+ children: d
60
+ })
61
+ ]
62
+ });
63
+ }
64
+ //#endregion
65
+ export { r as DetailLayout };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../lib/utils.cjs"),n=require("../ui/button/index.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("lucide-react"),a=require("react/jsx-runtime");function o(e,t){return e.href?(0,a.jsx)(`a`,{className:n.buttonVariants({variant:e.variant??t}),href:e.href,children:e.label}):(0,a.jsx)(n.Button,{type:`button`,variant:e.variant??t,onClick:e.onClick,children:e.label})}function s(e){return e===`error`?(0,a.jsx)(i.AlertCircleIcon,{"data-icon":`inline-start`}):(0,a.jsx)(i.SearchXIcon,{"data-icon":`inline-start`})}function c({className:e,tone:n=`empty`,title:r,description:i,icon:c,primaryAction:l,secondaryAction:u,compact:d=!1,...f}){return(0,a.jsxs)(`div`,{"data-slot":`empty-state`,"data-tone":n,"data-compact":d||void 0,role:n===`error`?`alert`:`status`,className:t.cn(`flex flex-col items-center justify-center rounded-xl border bg-card text-center text-card-foreground shadow-sm`,d?`gap-3 p-5`:`min-h-64 gap-4 p-8`,e),...f,children:[(0,a.jsx)(`div`,{"data-slot":`empty-state-icon`,className:`flex size-12 items-center justify-center rounded-full border bg-muted text-muted-foreground`,children:c??s(n)}),(r||i)&&(0,a.jsxs)(`div`,{"data-slot":`empty-state-content`,className:`grid max-w-md gap-1`,children:[r&&(0,a.jsx)(`h2`,{className:`text-base font-semibold tracking-tight`,children:r}),i&&(0,a.jsx)(`p`,{className:`text-sm leading-6 text-muted-foreground`,children:i})]}),(l||u)&&(0,a.jsxs)(`div`,{"data-slot":`empty-state-actions`,className:`flex flex-wrap items-center justify-center gap-2`,children:[u?o(u,`outline`):null,l?o(l,`default`):null]})]})}function l(e){return(0,a.jsx)(c,{tone:`error`,...e})}exports.EmptyState=c,exports.ErrorState=l;
@@ -0,0 +1,62 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { Button as t, buttonVariants as n } from "../ui/button/index.js";
3
+ import "react";
4
+ import { AlertCircleIcon as r, SearchXIcon as i } from "lucide-react";
5
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ //#region src/components/patterns/empty-state.tsx
7
+ function s(e, r) {
8
+ return e.href ? /* @__PURE__ */ a("a", {
9
+ className: n({ variant: e.variant ?? r }),
10
+ href: e.href,
11
+ children: e.label
12
+ }) : /* @__PURE__ */ a(t, {
13
+ type: "button",
14
+ variant: e.variant ?? r,
15
+ onClick: e.onClick,
16
+ children: e.label
17
+ });
18
+ }
19
+ function c(e) {
20
+ return a(e === "error" ? r : i, { "data-icon": "inline-start" });
21
+ }
22
+ function l({ className: t, tone: n = "empty", title: r, description: i, icon: l, primaryAction: u, secondaryAction: d, compact: f = !1, ...p }) {
23
+ return /* @__PURE__ */ o("div", {
24
+ "data-slot": "empty-state",
25
+ "data-tone": n,
26
+ "data-compact": f || void 0,
27
+ role: n === "error" ? "alert" : "status",
28
+ className: e("flex flex-col items-center justify-center rounded-xl border bg-card text-center text-card-foreground shadow-sm", f ? "gap-3 p-5" : "min-h-64 gap-4 p-8", t),
29
+ ...p,
30
+ children: [
31
+ /* @__PURE__ */ a("div", {
32
+ "data-slot": "empty-state-icon",
33
+ className: "flex size-12 items-center justify-center rounded-full border bg-muted text-muted-foreground",
34
+ children: l ?? c(n)
35
+ }),
36
+ (r || i) && /* @__PURE__ */ o("div", {
37
+ "data-slot": "empty-state-content",
38
+ className: "grid max-w-md gap-1",
39
+ children: [r && /* @__PURE__ */ a("h2", {
40
+ className: "text-base font-semibold tracking-tight",
41
+ children: r
42
+ }), i && /* @__PURE__ */ a("p", {
43
+ className: "text-sm leading-6 text-muted-foreground",
44
+ children: i
45
+ })]
46
+ }),
47
+ (u || d) && /* @__PURE__ */ o("div", {
48
+ "data-slot": "empty-state-actions",
49
+ className: "flex flex-wrap items-center justify-center gap-2",
50
+ children: [d ? s(d, "outline") : null, u ? s(u, "default") : null]
51
+ })
52
+ ]
53
+ });
54
+ }
55
+ function u(e) {
56
+ return /* @__PURE__ */ a(l, {
57
+ tone: "error",
58
+ ...e
59
+ });
60
+ }
61
+ //#endregion
62
+ export { l as EmptyState, u as ErrorState };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./resource-detail-page.cjs"),t=require("./resource-page.cjs");exports.ResourceDetailPage=e.ResourceDetailPage,exports.ResourcePage=t.ResourcePage,exports.ResourcePageSection=t.ResourcePageSection;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./form-builder.cjs"),t=require("./resource-page.cjs"),n=require("./resource-detail-page.cjs"),r=require("./empty-state.cjs"),i=require("./page-toolbar.cjs"),a=require("./bulk-action-bar.cjs"),o=require("./detail-layout.cjs"),s=require("./settings-page.cjs"),c=require("./data-view.cjs");exports.BulkActionBar=a.BulkActionBar,exports.DataView=c.DataView,exports.DetailLayout=o.DetailLayout,exports.EmptyState=r.EmptyState,exports.ErrorState=r.ErrorState,exports.FormBuilder=e.FormBuilder,exports.PageToolbar=i.PageToolbar,exports.ResourceDetailPage=n.ResourceDetailPage,exports.ResourcePage=t.ResourcePage,exports.ResourcePageSection=t.ResourcePageSection,exports.SettingsPage=s.SettingsPage,exports.asyncSelectField=e.asyncSelectField,exports.customField=e.customField,exports.dateField=e.dateField,exports.dateRangeField=e.dateRangeField,exports.formSection=e.formSection,exports.inputField=e.inputField,exports.numberField=e.numberField,exports.phoneField=e.phoneField,exports.renderFormBuilderField=e.renderFormBuilderField,exports.selectField=e.selectField,exports.switchField=e.switchField,exports.textareaField=e.textareaField;
@@ -1,3 +1,10 @@
1
- import { ResourceDetailPage as e } from "./resource-detail-page.js";
2
- import { ResourcePage as t, ResourcePageSection as n } from "./resource-page.js";
3
- export { e as ResourceDetailPage, t as ResourcePage, n as ResourcePageSection };
1
+ import { FormBuilder as e, asyncSelectField as t, customField as n, dateField as r, dateRangeField as i, formSection as a, inputField as o, numberField as s, phoneField as c, renderFormBuilderField as l, selectField as u, switchField as d, textareaField as f } from "./form-builder.js";
2
+ import { ResourcePage as p, ResourcePageSection as m } from "./resource-page.js";
3
+ import { ResourceDetailPage as h } from "./resource-detail-page.js";
4
+ import { EmptyState as g, ErrorState as _ } from "./empty-state.js";
5
+ import { PageToolbar as v } from "./page-toolbar.js";
6
+ import { BulkActionBar as y } from "./bulk-action-bar.js";
7
+ import { DetailLayout as b } from "./detail-layout.js";
8
+ import { SettingsPage as x } from "./settings-page.js";
9
+ import { DataView as S } from "./data-view.js";
10
+ export { y as BulkActionBar, S as DataView, b as DetailLayout, g as EmptyState, _ as ErrorState, e as FormBuilder, v as PageToolbar, h as ResourceDetailPage, p as ResourcePage, m as ResourcePageSection, x as SettingsPage, t as asyncSelectField, n as customField, r as dateField, i as dateRangeField, a as formSection, o as inputField, s as numberField, c as phoneField, l as renderFormBuilderField, u as selectField, d as switchField, f as textareaField };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../lib/utils.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime");function i({className:e,search:n,filters:i,viewOptions:a,actions:o,summary:s,sticky:c=!1,children:l,...u}){let d=!!(n||i||l),f=!!(s||a||o);return!d&&!f?null:(0,r.jsx)(`div`,{"data-slot":`page-toolbar`,"data-sticky":c||void 0,className:t.cn(`flex flex-col gap-3 rounded-xl border bg-card p-3 shadow-sm`,c&&`sticky top-0 z-10`,e),...u,children:(0,r.jsxs)(`div`,{className:`flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between`,children:[d&&(0,r.jsxs)(`div`,{"data-slot":`page-toolbar-primary`,className:`flex min-w-0 flex-1 flex-col gap-2 sm:flex-row sm:items-center`,children:[n&&(0,r.jsx)(`div`,{className:`min-w-0 flex-1`,children:n}),i,l]}),f&&(0,r.jsxs)(`div`,{"data-slot":`page-toolbar-secondary`,className:`flex shrink-0 flex-wrap items-center gap-2`,children:[s&&(0,r.jsx)(`div`,{className:`text-sm text-muted-foreground`,children:s}),a,o]})]})})}exports.PageToolbar=i;