@k3-universe/react-kit 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/.storybook/preview.ts +1 -1
  2. package/dist/index.d.ts +63 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +91 -0
  5. package/dist/kit/builder/data-table/components/DataTable.d.ts +4 -1
  6. package/dist/kit/builder/data-table/components/DataTable.d.ts.map +1 -1
  7. package/dist/kit/builder/data-table/index.d.ts +6 -5
  8. package/dist/kit/builder/data-table/index.d.ts.map +1 -1
  9. package/dist/kit/builder/form/components/FormBuilder.d.ts +4 -1
  10. package/dist/kit/builder/form/components/FormBuilder.d.ts.map +1 -1
  11. package/dist/kit/builder/form/components/{FormActions.d.ts → FormBuilderActions.d.ts} +3 -3
  12. package/dist/kit/builder/form/components/FormBuilderActions.d.ts.map +1 -0
  13. package/{storybook-static/kit/builder/form/components/FormField.d.ts → dist/kit/builder/form/components/FormBuilderField.d.ts} +4 -4
  14. package/dist/kit/builder/form/components/FormBuilderField.d.ts.map +1 -0
  15. package/dist/kit/builder/form/components/index.d.ts +2 -3
  16. package/dist/kit/builder/form/components/index.d.ts.map +1 -1
  17. package/dist/kit/builder/section/SectionBuilder.d.ts.map +1 -1
  18. package/dist/kit/components/autocomplete/types.d.ts +1 -1
  19. package/dist/kit/components/autocomplete/types.d.ts.map +1 -1
  20. package/dist/kit/layouts/admin/components/AdminLayout.d.ts.map +1 -1
  21. package/dist/kit/layouts/admin/hooks/menu.d.ts +1 -0
  22. package/dist/kit/layouts/admin/hooks/menu.d.ts.map +1 -1
  23. package/dist/kit/providers/ThemeProvider.d.ts.map +1 -1
  24. package/dist/kit/themes/base.css +1 -0
  25. package/dist/kit/themes/clean-slate.css +1 -0
  26. package/dist/kit/themes/default.css +1 -0
  27. package/dist/kit/themes/minimal-modern.css +1 -0
  28. package/dist/kit/themes/spotify.css +1 -0
  29. package/package.json +11 -10
  30. package/src/index.ts +88 -0
  31. package/src/kit/builder/data-table/components/DataTable.tsx +63 -23
  32. package/src/kit/builder/data-table/index.ts +6 -5
  33. package/src/kit/builder/form/components/FormBuilder.tsx +34 -10
  34. package/src/kit/builder/form/components/{FormActions.tsx → FormBuilderActions.tsx} +3 -3
  35. package/src/kit/builder/form/components/{FormField.tsx → FormBuilderField.tsx} +79 -8
  36. package/src/kit/builder/form/components/index.ts +2 -3
  37. package/src/kit/builder/section/SectionBuilder.tsx +67 -10
  38. package/src/kit/components/autocomplete/types.ts +1 -1
  39. package/src/kit/layouts/admin/components/AdminLayout.tsx +1 -2
  40. package/src/kit/layouts/admin/hooks/menu.ts +2 -2
  41. package/src/kit/providers/ThemeProvider.tsx +38 -38
  42. package/src/stories/kit/layouts/admin/AdminLayout.Basic.stories.tsx +2 -0
  43. package/src/stories/kit/layouts/admin/AdminLayout.Collapsible.stories.tsx +2 -0
  44. package/src/stories/kit/layouts/admin/AdminLayout.Complex.stories.tsx +2 -0
  45. package/src/stories/kit/layouts/admin/AdminLayout.CustomSidebarHeaderComponent.stories.tsx +2 -0
  46. package/src/stories/kit/layouts/admin/AdminLayout.CustomSidebarTitleAndIcon.stories.tsx +2 -0
  47. package/src/stories/kit/layouts/admin/AdminLayout.HeaderSlots.stories.tsx +2 -0
  48. package/storybook-static/assets/{Accordion.stories-N1auke5L.js → Accordion.stories-q6yg6wg1.js} +1 -1
  49. package/storybook-static/assets/{AdminLayout-Cxd0-A_L.js → AdminLayout-B9bV4J_6.js} +1 -1
  50. package/storybook-static/assets/{AdminLayout.Basic.stories-C_I6rWuq.js → AdminLayout.Basic.stories-C-ZxuH-O.js} +1 -1
  51. package/storybook-static/assets/AdminLayout.Collapsible.stories-xcQzkxio.js +4 -0
  52. package/storybook-static/assets/{AdminLayout.Complex.stories-BbY1Ue6d.js → AdminLayout.Complex.stories-DyjkVpvE.js} +1 -1
  53. package/storybook-static/assets/{AdminLayout.CustomSidebarHeaderComponent.stories-LFVi-aIv.js → AdminLayout.CustomSidebarHeaderComponent.stories-BqhzWCIA.js} +1 -1
  54. package/storybook-static/assets/AdminLayout.CustomSidebarTitleAndIcon.stories-aWxyR67T.js +4 -0
  55. package/storybook-static/assets/{AdminLayout.HeaderSlots.stories-BactzgkF.js → AdminLayout.HeaderSlots.stories-dNzhUdDt.js} +1 -1
  56. package/storybook-static/assets/{Alert.stories-_FtuixdR.js → Alert.stories-DXwNfJ3w.js} +1 -1
  57. package/storybook-static/assets/{AlertDialog.stories-6NY3BjwR.js → AlertDialog.stories-I324NsnP.js} +1 -1
  58. package/storybook-static/assets/{AspectRatio.stories-DAT11y02.js → AspectRatio.stories-CghHiX3Z.js} +1 -1
  59. package/storybook-static/assets/{Autocomplete-DngjqsCM.js → Autocomplete-B4gV705L.js} +1 -1
  60. package/storybook-static/assets/{Autocomplete.stories-BCaOrgTR.js → Autocomplete.stories-CyOvjTGN.js} +1 -1
  61. package/storybook-static/assets/{Avatar.stories-DlzxSLJ-.js → Avatar.stories-CEF5FVSR.js} +1 -1
  62. package/storybook-static/assets/{Badge.stories-DKHXsoV5.js → Badge.stories-_-G3GriP.js} +1 -1
  63. package/storybook-static/assets/{Breadcrumb.stories-D8eUHpf7.js → Breadcrumb.stories-DORe9T4b.js} +1 -1
  64. package/storybook-static/assets/{Button.stories-kvPdKxdw.js → Button.stories-3nQ6wsBX.js} +1 -1
  65. package/storybook-static/assets/{Calendar.stories-D-hUtQQI.js → Calendar.stories-Dn__djE1.js} +1 -1
  66. package/storybook-static/assets/{Card.stories-y8Z7NgrQ.js → Card.stories-BJcbdwCI.js} +1 -1
  67. package/storybook-static/assets/{Carousel.stories-CFcHYKgp.js → Carousel.stories-CfqbE7Va.js} +1 -1
  68. package/storybook-static/assets/{Chart.stories-BJwLNKfE.js → Chart.stories-cGgef3tv.js} +1 -1
  69. package/storybook-static/assets/{Checkbox.stories-B22Fbwx1.js → Checkbox.stories-BcaxWzCS.js} +1 -1
  70. package/storybook-static/assets/{Collapsible.stories-BgcRp8Rk.js → Collapsible.stories-CQ95s7Cs.js} +1 -1
  71. package/storybook-static/assets/{Combination-BT_gXe1L.js → Combination-CeVus13L.js} +1 -1
  72. package/storybook-static/assets/{Command.stories-Dp4CtSQR.js → Command.stories-DYflJh8u.js} +1 -1
  73. package/storybook-static/assets/{ContextMenu.stories-DnVnIi-T.js → ContextMenu.stories-CU7ehYrE.js} +1 -1
  74. package/storybook-static/assets/DataTable.Basic.stories-BQNWUKiw.js +6 -0
  75. package/storybook-static/assets/{DataTable.Filters.stories-CO0ipuGm.js → DataTable.Filters.stories-DPCoeYhK.js} +1 -1
  76. package/storybook-static/assets/{DataTable.Pagination.stories-DNwCw64e.js → DataTable.Pagination.stories-8UNqTNgw.js} +1 -1
  77. package/storybook-static/assets/{DataTable.SelectionAndActions.stories-DGgdEbsf.js → DataTable.SelectionAndActions.stories-CDEjgQ6T.js} +1 -1
  78. package/storybook-static/assets/DataTable.Sorting.stories-qG7-X_6r.js +6 -0
  79. package/storybook-static/assets/{Dialog.stories-DQkYN8ht.js → Dialog.stories-Bu6ZJXNH.js} +1 -1
  80. package/storybook-static/assets/{Dialog.stories-DXZINEgo.js → Dialog.stories-DobNZ0Hp.js} +1 -1
  81. package/storybook-static/assets/{Drawer.stories-DMH_vZgi.js → Drawer.stories-BN0idp4u.js} +1 -1
  82. package/storybook-static/assets/{DropdownMenu.stories-Dl8y-N7T.js → DropdownMenu.stories-sfsVDTvm.js} +1 -1
  83. package/storybook-static/assets/{Form.Basic.stories-CJugIYsx.js → Form.Basic.stories-dE4nbgpr.js} +1 -1
  84. package/storybook-static/assets/{Form.Complex.stories-BPogRp6F.js → Form.Complex.stories-BEZufnjb.js} +1 -1
  85. package/storybook-static/assets/{Form.Dynamic.stories-Boway5AK.js → Form.Dynamic.stories-cJTbd6cV.js} +1 -1
  86. package/storybook-static/assets/{Form.Simple.stories-_OXGXXpE.js → Form.Simple.stories-DOPzZKhh.js} +1 -1
  87. package/storybook-static/assets/{Form.stories-BoHyR8ho.js → Form.stories-27doU7JS.js} +1 -1
  88. package/storybook-static/assets/{FormBuilder-BGgeY8ik.js → FormBuilder-C0S7C69Q.js} +1 -1
  89. package/storybook-static/assets/{HoverCard.stories-1HM92M79.js → HoverCard.stories-0lted9Zx.js} +1 -1
  90. package/storybook-static/assets/{Input.stories-sQ4EUlWt.js → Input.stories-CwsIObFs.js} +1 -1
  91. package/storybook-static/assets/{InputOtp.stories-Cpk_EmLx.js → InputOtp.stories-DVc086h4.js} +1 -1
  92. package/storybook-static/assets/{Label.stories-MjABHKSw.js → Label.stories-bJa0rk1A.js} +1 -1
  93. package/storybook-static/assets/{Login.stories-BY4OYGk3.js → Login.stories-C6X6Kj5B.js} +1 -1
  94. package/storybook-static/assets/{Menubar.stories-B_60TWNE.js → Menubar.stories-CuediVp7.js} +1 -1
  95. package/storybook-static/assets/{NavigationMenu.stories-DyuaBvvq.js → NavigationMenu.stories-CKGZYhKk.js} +1 -1
  96. package/storybook-static/assets/{Page.stories-DQKMxrPZ.js → Page.stories-Cf76wtRx.js} +1 -1
  97. package/storybook-static/assets/{Pagination.stories-CBo7UrNd.js → Pagination.stories-D7IdL1_4.js} +1 -1
  98. package/storybook-static/assets/{Popover.stories-D98_JrxN.js → Popover.stories-1VP_zNY8.js} +1 -1
  99. package/storybook-static/assets/{Progress.stories-Dejt5v3z.js → Progress.stories-C35R5YvA.js} +1 -1
  100. package/storybook-static/assets/{RadioGroup.stories-Tz2LW6O6.js → RadioGroup.stories-CjuD3CwD.js} +1 -1
  101. package/storybook-static/assets/{Resizable.stories-DhP2GKN7.js → Resizable.stories-Cs8dvdc5.js} +1 -1
  102. package/storybook-static/assets/{ScrollArea.stories-CF7-8wbM.js → ScrollArea.stories-D6_z-5jm.js} +1 -1
  103. package/storybook-static/assets/{Section.stories-BpurjHIQ.js → Section.stories-Ce5qYITI.js} +1 -1
  104. package/storybook-static/assets/SectionBuilder-Df_lRZkj.js +1 -0
  105. package/storybook-static/assets/{Select.stories-DJrU-mi0.js → Select.stories-w_kbza5k.js} +1 -1
  106. package/storybook-static/assets/{Separator.stories-BYH_o8QM.js → Separator.stories-B5QnaJXb.js} +1 -1
  107. package/storybook-static/assets/{Sheet.stories-BNJ7BIb-.js → Sheet.stories-CORnEGvV.js} +1 -1
  108. package/storybook-static/assets/{Sidebar.stories-BbjcJuOg.js → Sidebar.stories-DVuWTi4j.js} +1 -1
  109. package/storybook-static/assets/{Slider.stories-CWOjKHKD.js → Slider.stories-YoS2vvT2.js} +1 -1
  110. package/storybook-static/assets/{Sonner.stories-CXSZs5yN.js → Sonner.stories-CXW5e_Qg.js} +1 -1
  111. package/storybook-static/assets/{Switch.stories-BUQjobWe.js → Switch.stories-zr6i-aNi.js} +1 -1
  112. package/storybook-static/assets/{Table.stories-DJcV7M9R.js → Table.stories-BuGU4MUM.js} +1 -1
  113. package/storybook-static/assets/{Tabs.stories-ByeVrP18.js → Tabs.stories-jxkJ-AUI.js} +1 -1
  114. package/storybook-static/assets/{Textarea.stories-CKsDPHYc.js → Textarea.stories-CHXVobz6.js} +1 -1
  115. package/storybook-static/assets/{Toggle.stories-DutEzZ8k.js → Toggle.stories-C4uB4Hkq.js} +1 -1
  116. package/storybook-static/assets/{ToggleGroup.stories-C9fzJTh-.js → ToggleGroup.stories-Cr229wf_.js} +1 -1
  117. package/storybook-static/assets/{Tooltip.stories-CngnJbP7.js → Tooltip.stories-DmMYGR3T.js} +1 -1
  118. package/storybook-static/assets/{accordion-bQe9Rep4.js → accordion-BCfsz_gl.js} +1 -1
  119. package/storybook-static/assets/{alert-dialog-CypF_yaW.js → alert-dialog-BYt6Z7Kt.js} +1 -1
  120. package/storybook-static/assets/{avatar-CukM9hXu.js → avatar-CRn1qQsC.js} +1 -1
  121. package/storybook-static/assets/{axe-W8QMjM0E.js → axe-JCJl60WC.js} +1 -1
  122. package/storybook-static/assets/{button-BTWmFXop.js → button-BObfgcV1.js} +1 -1
  123. package/storybook-static/assets/{chart-column-Bzh5arua.js → chart-column-CplFCmg8.js} +1 -1
  124. package/storybook-static/assets/{check-BgWXKGqi.js → check-DyecuwP4.js} +1 -1
  125. package/storybook-static/assets/{checkbox-QlugAqJY.js → checkbox-D5BmNJeL.js} +1 -1
  126. package/storybook-static/assets/{chevron-down-BqLjUn1_.js → chevron-down-Bp7zbUB0.js} +1 -1
  127. package/storybook-static/assets/{chevron-left-BR_0lKnE.js → chevron-left-D1L4J3UW.js} +1 -1
  128. package/storybook-static/assets/{chevron-right-DpCIoMaJ.js → chevron-right-oMYqDJ_f.js} +1 -1
  129. package/storybook-static/assets/{circle-DVJTkDI7.js → circle-CyarsADt.js} +1 -1
  130. package/storybook-static/assets/clean-slate-V4nUw2Bm.css +1 -0
  131. package/storybook-static/assets/{command-BERL33lL.js → command-DCnXmNmT.js} +1 -1
  132. package/storybook-static/assets/{createLucideIcon-1ZwIAs_l.js → createLucideIcon-CLBo0iA0.js} +1 -1
  133. package/storybook-static/assets/default-CuTBjDca.css +1 -0
  134. package/storybook-static/assets/{dialog-DM9YJ1JD.js → dialog-DL0QBIbC.js} +1 -1
  135. package/storybook-static/assets/{dropdown-menu-TfFll7G9.js → dropdown-menu-BwL9gQwG.js} +1 -1
  136. package/storybook-static/assets/{ellipsis-BSY8VuLI.js → ellipsis-DPg968Rc.js} +1 -1
  137. package/storybook-static/assets/{grip-vertical-Buja1rv9.js → grip-vertical-CM0GDwvq.js} +1 -1
  138. package/storybook-static/assets/{iframe-G-6sM9Mt.js → iframe-BWjPIle6.js} +4 -4
  139. package/storybook-static/assets/{index-DqWzLCH-.js → index-04C4iZwC.js} +1 -1
  140. package/storybook-static/assets/{index-B-fXBfyD.js → index-3zykFCgl.js} +1 -1
  141. package/storybook-static/assets/{index-CAwQR9Pv.js → index-7XoYQV2z.js} +1 -1
  142. package/storybook-static/assets/{index-DySHPxMy.js → index-A7UzX-Xw.js} +1 -1
  143. package/storybook-static/assets/index-BN5_W3Yi.js +1 -0
  144. package/storybook-static/assets/{index-1v1lhNFD.js → index-BcAKBHrX.js} +1 -1
  145. package/storybook-static/assets/{index-7yNAGow7.js → index-BfKpUbCE.js} +1 -1
  146. package/storybook-static/assets/index-C5eJ31Z3.js +1 -0
  147. package/storybook-static/assets/{index-CayhpKmv.js → index-C6O7WofA.js} +1 -1
  148. package/storybook-static/assets/{index-BDwnENHR.js → index-C9xvlw_B.js} +1 -1
  149. package/storybook-static/assets/{index-Bq6UNRVc.js → index-CKwUGXmt.js} +1 -1
  150. package/storybook-static/assets/{index-d_S6mtzU.js → index-Cce91yJQ.js} +1 -1
  151. package/storybook-static/assets/{index-CMmbDm5O.js → index-Cw7p-pms.js} +1 -1
  152. package/storybook-static/assets/{index-CLmN5G1a.js → index-DE2OlfDP.js} +1 -1
  153. package/storybook-static/assets/{index-ev1RjzGv.js → index-DMk2qc2_.js} +1 -1
  154. package/storybook-static/assets/index-DWC9SV-P.js +1 -0
  155. package/storybook-static/assets/{index-HghBIZeg.js → index-Dqw7miiX.js} +1 -1
  156. package/storybook-static/assets/{index-ClNNG_ys.js → index-Dr2xmx-F.js} +1 -1
  157. package/storybook-static/assets/{index-lH-AZpAn.js → index-DschQYGl.js} +1 -1
  158. package/storybook-static/assets/{index-SxI7_jxe.js → index-Dsg7S8zu.js} +1 -1
  159. package/storybook-static/assets/{index-DvM9azdj.js → index-Pk2lGsul.js} +1 -1
  160. package/storybook-static/assets/{index-DNAxNqEO.js → index-URSssr5a.js} +1 -1
  161. package/storybook-static/assets/{index-CZaD3imo.js → index-npvyVsxD.js} +1 -1
  162. package/storybook-static/assets/{index-CzJf-yyP.js → index-u70nzfOV.js} +1 -1
  163. package/storybook-static/assets/{label-C5vJTTwH.js → label-CwntpYJ0.js} +1 -1
  164. package/storybook-static/assets/{lodash-Q9aGJGMb.js → lodash-BkmSIg_J.js} +1 -1
  165. package/storybook-static/assets/minimal-modern-d2yFlFJM.css +1 -0
  166. package/storybook-static/assets/{popover-DW1K4QCO.js → popover-ClqrrvjL.js} +1 -1
  167. package/storybook-static/assets/{radio-group-iPL-8jvw.js → radio-group-CvN0LQZp.js} +1 -1
  168. package/storybook-static/assets/{react-18-CK1-M7n3.js → react-18-Bj31y5Nr.js} +1 -1
  169. package/storybook-static/assets/{react-icons.esm-n2MUhK0n.js → react-icons.esm-DNr9VcvP.js} +1 -1
  170. package/storybook-static/assets/{refresh-cw-FYEbhX1i.js → refresh-cw-OZakDsFY.js} +1 -1
  171. package/storybook-static/assets/{schemas-S_Tg7JYp.js → schemas-CaLvKjsI.js} +1 -1
  172. package/storybook-static/assets/{section-factories-CC6eFfbk.js → section-factories-DKfKL-5s.js} +1 -1
  173. package/storybook-static/assets/{select-DbLzULCJ.js → select-gtXRB92c.js} +1 -1
  174. package/storybook-static/assets/{separator-DoUX1TNx.js → separator-CxCWfpZX.js} +1 -1
  175. package/storybook-static/assets/{settings-2-CpOcGlDm.js → settings-2-DSSkfF6W.js} +1 -1
  176. package/storybook-static/assets/{sheet-n5VQ25jh.js → sheet-r0VNiBiN.js} +1 -1
  177. package/storybook-static/assets/{shopping-cart-9kOJ1UDd.js → shopping-cart-CJBClF2m.js} +1 -1
  178. package/storybook-static/assets/{sidebar-CvUiZOJe.js → sidebar-BsMnOE7Y.js} +1 -1
  179. package/storybook-static/assets/spotify-BuPUgQEa.css +1 -0
  180. package/storybook-static/assets/{toggle-B-YKWMF8.js → toggle-D08-8sQA.js} +1 -1
  181. package/storybook-static/assets/{tooltip-CNONbPiI.js → tooltip-CZ1UAE_e.js} +1 -1
  182. package/storybook-static/assets/{trash-2-Bt5LMclM.js → trash-2-D55eseMQ.js} +1 -1
  183. package/storybook-static/assets/{x-DG9mLFAg.js → x-n8sFtlI2.js} +1 -1
  184. package/storybook-static/iframe.html +1 -1
  185. package/storybook-static/index.d.ts +63 -0
  186. package/storybook-static/index.d.ts.map +1 -1
  187. package/storybook-static/kit/builder/form/components/{FormActions.d.ts → FormBuilderActions.d.ts} +3 -3
  188. package/storybook-static/kit/builder/form/components/FormBuilderActions.d.ts.map +1 -0
  189. package/{dist/kit/builder/form/components/FormField.d.ts → storybook-static/kit/builder/form/components/FormBuilderField.d.ts} +4 -4
  190. package/storybook-static/kit/builder/form/components/FormBuilderField.d.ts.map +1 -0
  191. package/storybook-static/kit/builder/form/components/index.d.ts +2 -3
  192. package/storybook-static/kit/builder/form/components/index.d.ts.map +1 -1
  193. package/storybook-static/kit/builder/section/SectionBuilder.d.ts.map +1 -1
  194. package/storybook-static/project.json +1 -1
  195. package/vite.config.ts +76 -52
  196. package/dist/kit/builder/form/components/FormActions.d.ts.map +0 -1
  197. package/dist/kit/builder/form/components/FormField.d.ts.map +0 -1
  198. package/dist/kit/builder/form/components/FormSection.d.ts +0 -15
  199. package/dist/kit/builder/form/components/FormSection.d.ts.map +0 -1
  200. package/src/kit/builder/form/components/FormSection.tsx +0 -88
  201. package/storybook-static/assets/AdminLayout.Collapsible.stories-CsU3DwTo.js +0 -4
  202. package/storybook-static/assets/AdminLayout.CustomSidebarTitleAndIcon.stories-BqP6UVc7.js +0 -4
  203. package/storybook-static/assets/DataTable.Basic.stories-DBF5VYq9.js +0 -6
  204. package/storybook-static/assets/DataTable.Sorting.stories-CWpqloAB.js +0 -6
  205. package/storybook-static/assets/SectionBuilder-Bav4WrnT.js +0 -1
  206. package/storybook-static/assets/clean-slate-BR-XvZPt.css +0 -1
  207. package/storybook-static/assets/default-M24vcGB8.css +0 -1
  208. package/storybook-static/assets/index-DhoByIgc.js +0 -1
  209. package/storybook-static/assets/index-I343IfOC.js +0 -1
  210. package/storybook-static/assets/index-_crRFOM5.js +0 -1
  211. package/storybook-static/assets/minimal-modern-BmvR5wyr.css +0 -1
  212. package/storybook-static/assets/spotify-DpbeJq1r.css +0 -1
  213. package/storybook-static/kit/builder/form/components/FormActions.d.ts.map +0 -1
  214. package/storybook-static/kit/builder/form/components/FormField.d.ts.map +0 -1
  215. package/storybook-static/kit/builder/form/components/FormSection.d.ts +0 -15
  216. package/storybook-static/kit/builder/form/components/FormSection.d.ts.map +0 -1
  217. /package/src/{index.css → kit/themes/base.css} +0 -0
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{A as n,a as o,b as r,c as i}from"./accordion-bQe9Rep4.js";import{r as T}from"./iframe-G-6sM9Mt.js";import"./index-DvM9azdj.js";import"./index-BDwnENHR.js";import"./index-1v1lhNFD.js";import"./index-DW48STyt.js";import"./index-CAwQR9Pv.js";import"./index-I343IfOC.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./index-B-fXBfyD.js";import"./index-Bq6UNRVc.js";import"./index-DhoByIgc.js";import"./index-ClNNG_ys.js";import"./utils-D-KgF5mV.js";import"./chevron-down-BqLjUn1_.js";import"./createLucideIcon-1ZwIAs_l.js";import"./preload-helper-Dp1pzeXC.js";const G={title:"Shadcn/UI/Accordion",component:n},c={args:{type:"single",collapsible:!0},render:t=>e.jsxs(n,{...t,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Is it accessible?"}),e.jsx(i,{children:"Yes. It adheres to WAI-ARIA design patterns."})]}),e.jsxs(o,{value:"item-2",children:[e.jsx(r,{children:"Is it styled?"}),e.jsx(i,{children:"Yes. It comes with default styles that can be overridden."})]}),e.jsxs(o,{value:"item-3",children:[e.jsx(r,{children:"Is it animated?"}),e.jsx(i,{children:"Yes. It uses utility classes for smooth animations."})]})]})},s={args:{type:"multiple",defaultValue:["item-1"]},render:t=>e.jsxs(n,{...t,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Open multiple items?"}),e.jsx(i,{children:"Yes. In multiple mode you can keep several sections open."})]}),e.jsxs(o,{value:"item-2",children:[e.jsx(r,{children:"Keeps state independent?"}),e.jsx(i,{children:"Each item can be toggled independently in multiple mode."})]}),e.jsxs(o,{value:"item-3",children:[e.jsx(r,{children:"Works with defaultValue?"}),e.jsx(i,{children:"Provide an array of values to open initially."})]})]})},d={render:t=>e.jsxs(n,{...t,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Interactable item"}),e.jsx(i,{children:"This item can be toggled as usual."})]}),e.jsxs(o,{value:"item-2",disabled:!0,children:[e.jsx(r,{children:"Disabled item"}),e.jsx(i,{children:"This content cannot be toggled because the item is disabled."})]})]})};function y(){const[t,C]=T.useState("item-1");return e.jsxs(n,{type:"single",collapsible:!0,value:t,onValueChange:C,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Controlled: Item 1"}),e.jsx(i,{children:"Clicking again will collapse because collapsible is true."})]}),e.jsxs(o,{value:"item-2",children:[e.jsx(r,{children:"Controlled: Item 2"}),e.jsx(i,{children:"State is managed via value/onValueChange."})]})]})}const a={render:()=>e.jsx(y,{})};var l,m,u;c.parameters={...c.parameters,docs:{...(l=c.parameters)==null?void 0:l.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{A as n,a as o,b as r,c as i}from"./accordion-BCfsz_gl.js";import{r as T}from"./iframe-BWjPIle6.js";import"./index-Pk2lGsul.js";import"./index-C9xvlw_B.js";import"./index-BcAKBHrX.js";import"./index-DW48STyt.js";import"./index-7XoYQV2z.js";import"./index-DWC9SV-P.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./index-3zykFCgl.js";import"./index-CKwUGXmt.js";import"./index-BN5_W3Yi.js";import"./index-Dr2xmx-F.js";import"./utils-D-KgF5mV.js";import"./chevron-down-Bp7zbUB0.js";import"./createLucideIcon-CLBo0iA0.js";import"./preload-helper-Dp1pzeXC.js";const G={title:"Shadcn/UI/Accordion",component:n},c={args:{type:"single",collapsible:!0},render:t=>e.jsxs(n,{...t,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Is it accessible?"}),e.jsx(i,{children:"Yes. It adheres to WAI-ARIA design patterns."})]}),e.jsxs(o,{value:"item-2",children:[e.jsx(r,{children:"Is it styled?"}),e.jsx(i,{children:"Yes. It comes with default styles that can be overridden."})]}),e.jsxs(o,{value:"item-3",children:[e.jsx(r,{children:"Is it animated?"}),e.jsx(i,{children:"Yes. It uses utility classes for smooth animations."})]})]})},s={args:{type:"multiple",defaultValue:["item-1"]},render:t=>e.jsxs(n,{...t,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Open multiple items?"}),e.jsx(i,{children:"Yes. In multiple mode you can keep several sections open."})]}),e.jsxs(o,{value:"item-2",children:[e.jsx(r,{children:"Keeps state independent?"}),e.jsx(i,{children:"Each item can be toggled independently in multiple mode."})]}),e.jsxs(o,{value:"item-3",children:[e.jsx(r,{children:"Works with defaultValue?"}),e.jsx(i,{children:"Provide an array of values to open initially."})]})]})},d={render:t=>e.jsxs(n,{...t,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Interactable item"}),e.jsx(i,{children:"This item can be toggled as usual."})]}),e.jsxs(o,{value:"item-2",disabled:!0,children:[e.jsx(r,{children:"Disabled item"}),e.jsx(i,{children:"This content cannot be toggled because the item is disabled."})]})]})};function y(){const[t,C]=T.useState("item-1");return e.jsxs(n,{type:"single",collapsible:!0,value:t,onValueChange:C,children:[e.jsxs(o,{value:"item-1",children:[e.jsx(r,{children:"Controlled: Item 1"}),e.jsx(i,{children:"Clicking again will collapse because collapsible is true."})]}),e.jsxs(o,{value:"item-2",children:[e.jsx(r,{children:"Controlled: Item 2"}),e.jsx(i,{children:"State is managed via value/onValueChange."})]})]})}const a={render:()=>e.jsx(y,{})};var l,m,u;c.parameters={...c.parameters,docs:{...(l=c.parameters)==null?void 0:l.docs,source:{originalSource:`{
2
2
  args: {
3
3
  type: 'single',
4
4
  collapsible: true
@@ -1,4 +1,4 @@
1
- import{c as he}from"./createLucideIcon-1ZwIAs_l.js";import{j as m}from"./jsx-runtime-D_zvdyIk.js";import{i as H,r as R,R as xe,a as Po}from"./iframe-G-6sM9Mt.js";import{S as wo,a as Mo,b as Co,c as Lo,d as ko,e as To,f as Io,g as bt,h as Eo,i as Pt,j as wt,k as No,l as jo}from"./sidebar-CvUiZOJe.js";import{S as Ao}from"./separator-DoUX1TNx.js";import{r as $o}from"./index-_crRFOM5.js";import{r as Fo}from"./index-SxI7_jxe.js";import{D as Oo,a as Do,b as Bo,c as Vo,d as zo,f as He}from"./dropdown-menu-TfFll7G9.js";import{B as Wo}from"./button-BTWmFXop.js";import{C as Uo}from"./chevron-down-BqLjUn1_.js";import{C as Ho}from"./chevron-right-DpCIoMaJ.js";import{C as Ko}from"./circle-DVJTkDI7.js";/**
1
+ import{c as he}from"./createLucideIcon-CLBo0iA0.js";import{j as m}from"./jsx-runtime-D_zvdyIk.js";import{i as H,r as R,R as xe,a as Po}from"./iframe-BWjPIle6.js";import{S as wo,a as Mo,b as Co,c as Lo,d as ko,e as To,f as Io,g as bt,h as Eo,i as Pt,j as wt,k as No,l as jo}from"./sidebar-BsMnOE7Y.js";import{S as Ao}from"./separator-CxCWfpZX.js";import{r as $o}from"./index-C5eJ31Z3.js";import{r as Fo}from"./index-Dsg7S8zu.js";import{D as Oo,a as Do,b as Bo,c as Vo,d as zo,f as He}from"./dropdown-menu-BwL9gQwG.js";import{B as Wo}from"./button-BObfgcV1.js";import{C as Uo}from"./chevron-down-Bp7zbUB0.js";import{C as Ho}from"./chevron-right-oMYqDJ_f.js";import{C as Ko}from"./circle-CyarsADt.js";/**
2
2
  * @license lucide-react v0.540.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{j as t}from"./jsx-runtime-D_zvdyIk.js";import{r as x}from"./iframe-G-6sM9Mt.js";import{A as p,c as h,a as i,b as g,R as b,T as f,u as j,H as R}from"./AdminLayout-Cxd0-A_L.js";import{S as N,a as S}from"./shopping-cart-9kOJ1UDd.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-1ZwIAs_l.js";import"./sidebar-CvUiZOJe.js";import"./index-1v1lhNFD.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BTWmFXop.js";import"./input-11YRd9gD.js";import"./separator-DoUX1TNx.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./sheet-n5VQ25jh.js";import"./index-CzJf-yyP.js";import"./index-DW48STyt.js";import"./index-DvM9azdj.js";import"./index-DhoByIgc.js";import"./index-I343IfOC.js";import"./index-CAwQR9Pv.js";import"./index-7yNAGow7.js";import"./index-lH-AZpAn.js";import"./Combination-BT_gXe1L.js";import"./index-d_S6mtzU.js";import"./index-Bq6UNRVc.js";import"./x-DG9mLFAg.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CNONbPiI.js";import"./index-CayhpKmv.js";import"./index-ev1RjzGv.js";import"./index-DNAxNqEO.js";import"./index-SxI7_jxe.js";import"./dropdown-menu-TfFll7G9.js";import"./index-CLmN5G1a.js";import"./index-BDwnENHR.js";import"./index-ClNNG_ys.js";import"./index-CMmbDm5O.js";import"./check-BgWXKGqi.js";import"./circle-DVJTkDI7.js";import"./chevron-right-DpCIoMaJ.js";import"./chevron-down-BqLjUn1_.js";const ht={title:"Kit/Layouts/Admin",component:p};function y(){const{registerGroup:r,registerItem:e,clear:o}=j();return x.useEffect(()=>{o(),r({id:"main",label:"Main"}),e("main",{id:"dashboard",title:"Dashboard",url:"/",icon:R}),r({id:"commerce",label:"Commerce"}),e("commerce",{id:"orders",title:"Orders",url:"/orders",icon:N,badge:12}),r({id:"settings",label:"Settings"}),e("settings",{id:"general",title:"General",url:"/settings",icon:S})},[r,e,o]),null}function A(r){const e=h({component:()=>t.jsx(f,{children:t.jsx(p,{...r,children:t.jsx(y,{})})})}),o=i({getParentRoute:()=>e,path:"/",component:()=>t.jsxs("div",{className:"p-6",children:[t.jsx("h2",{className:"text-xl font-semibold mb-2",children:"Dashboard"}),t.jsx("p",{className:"text-muted-foreground",children:"Welcome to the admin dashboard."})]})}),c=i({getParentRoute:()=>e,path:"/orders",component:()=>t.jsxs("div",{className:"p-6",children:[t.jsx("h2",{className:"text-xl font-semibold mb-2",children:"Orders"}),t.jsx("p",{className:"text-muted-foreground",children:"Manage your store orders here."})]})}),d=i({getParentRoute:()=>e,path:"/settings",component:()=>t.jsxs("div",{className:"p-6",children:[t.jsx("h2",{className:"text-xl font-semibold mb-2",children:"Settings"}),t.jsx("p",{className:"text-muted-foreground",children:"Update your application settings."})]})}),l=e.addChildren([o,c,d]),u=g({routeTree:l,basepath:"/iframe.html"});return t.jsx(b,{router:u})}const s={name:"Basic (non-collapsible by default)",render:()=>t.jsx(A,{})};var a,m,n;s.parameters={...s.parameters,docs:{...(a=s.parameters)==null?void 0:a.docs,source:{originalSource:`{
1
+ import{j as t}from"./jsx-runtime-D_zvdyIk.js";import{r as x}from"./iframe-BWjPIle6.js";import{A as p,c as h,a as i,b as g,R as b,T as f,u as j,H as R}from"./AdminLayout-B9bV4J_6.js";import{S as N,a as S}from"./shopping-cart-CJBClF2m.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-CLBo0iA0.js";import"./sidebar-BsMnOE7Y.js";import"./index-BcAKBHrX.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BObfgcV1.js";import"./input-11YRd9gD.js";import"./separator-CxCWfpZX.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./sheet-r0VNiBiN.js";import"./index-u70nzfOV.js";import"./index-DW48STyt.js";import"./index-Pk2lGsul.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-7XoYQV2z.js";import"./index-BfKpUbCE.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./x-n8sFtlI2.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CZ1UAE_e.js";import"./index-C6O7WofA.js";import"./index-DMk2qc2_.js";import"./index-URSssr5a.js";import"./index-Dsg7S8zu.js";import"./dropdown-menu-BwL9gQwG.js";import"./index-DE2OlfDP.js";import"./index-C9xvlw_B.js";import"./index-Dr2xmx-F.js";import"./index-Cw7p-pms.js";import"./check-DyecuwP4.js";import"./circle-CyarsADt.js";import"./chevron-right-oMYqDJ_f.js";import"./chevron-down-Bp7zbUB0.js";const ht={title:"Kit/Layouts/Admin",component:p};function y(){const{registerGroup:r,registerItem:e,clear:o}=j();return x.useEffect(()=>{o(),r({id:"main",label:"Main"}),e("main",{id:"dashboard",title:"Dashboard",url:"/",icon:R}),r({id:"commerce",label:"Commerce"}),e("commerce",{id:"orders",title:"Orders",url:"/orders",icon:N,badge:12}),r({id:"settings",label:"Settings"}),e("settings",{id:"general",title:"General",url:"/settings",icon:S})},[r,e,o]),null}function A(r){const e=h({component:()=>t.jsx(f,{children:t.jsx(p,{...r,children:t.jsx(y,{})})})}),o=i({getParentRoute:()=>e,path:"/",component:()=>t.jsxs("div",{className:"p-6",children:[t.jsx("h2",{className:"text-xl font-semibold mb-2",children:"Dashboard"}),t.jsx("p",{className:"text-muted-foreground",children:"Welcome to the admin dashboard."})]})}),c=i({getParentRoute:()=>e,path:"/orders",component:()=>t.jsxs("div",{className:"p-6",children:[t.jsx("h2",{className:"text-xl font-semibold mb-2",children:"Orders"}),t.jsx("p",{className:"text-muted-foreground",children:"Manage your store orders here."})]})}),d=i({getParentRoute:()=>e,path:"/settings",component:()=>t.jsxs("div",{className:"p-6",children:[t.jsx("h2",{className:"text-xl font-semibold mb-2",children:"Settings"}),t.jsx("p",{className:"text-muted-foreground",children:"Update your application settings."})]})}),l=e.addChildren([o,c,d]),u=g({routeTree:l,basepath:"/iframe.html"});return t.jsx(b,{router:u})}const s={name:"Basic (non-collapsible by default)",render:()=>t.jsx(A,{})};var a,m,n;s.parameters={...s.parameters,docs:{...(a=s.parameters)==null?void 0:a.docs,source:{originalSource:`{
2
2
  name: 'Basic (non-collapsible by default)',
3
3
  render: () => <App />
4
4
  }`,...(n=(m=s.parameters)==null?void 0:m.docs)==null?void 0:n.source}}};const gt=["Basic"];export{s as Basic,gt as __namedExportsOrder,ht as default};
@@ -0,0 +1,4 @@
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as d}from"./iframe-BWjPIle6.js";import{A as a,c,a as u,b,R as g,T as x,u as R,H as h}from"./AdminLayout-B9bV4J_6.js";import{S as f,a as C}from"./shopping-cart-CJBClF2m.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-CLBo0iA0.js";import"./sidebar-BsMnOE7Y.js";import"./index-BcAKBHrX.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BObfgcV1.js";import"./input-11YRd9gD.js";import"./separator-CxCWfpZX.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./sheet-r0VNiBiN.js";import"./index-u70nzfOV.js";import"./index-DW48STyt.js";import"./index-Pk2lGsul.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-7XoYQV2z.js";import"./index-BfKpUbCE.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./x-n8sFtlI2.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CZ1UAE_e.js";import"./index-C6O7WofA.js";import"./index-DMk2qc2_.js";import"./index-URSssr5a.js";import"./index-Dsg7S8zu.js";import"./dropdown-menu-BwL9gQwG.js";import"./index-DE2OlfDP.js";import"./index-C9xvlw_B.js";import"./index-Dr2xmx-F.js";import"./index-Cw7p-pms.js";import"./check-DyecuwP4.js";import"./circle-CyarsADt.js";import"./chevron-right-oMYqDJ_f.js";import"./chevron-down-Bp7zbUB0.js";const ur={title:"Kit/Layouts/Admin",component:a};function j(){const{registerGroup:t,registerItem:r,clear:o}=R();return d.useEffect(()=>{o(),t({id:"main",label:"Main"}),r("main",{id:"dashboard",title:"Dashboard",url:"/",icon:h}),t({id:"commerce",label:"Commerce"}),r("commerce",{id:"orders",title:"Orders",url:"/orders",icon:f,badge:12}),t({id:"settings",label:"Settings"}),r("settings",{id:"general",title:"General",url:"/settings",icon:C})},[t,r,o]),null}function A(t){const r=c({component:()=>e.jsx(x,{children:e.jsx(a,{...t,children:e.jsx(j,{})})})}),o=u({getParentRoute:()=>r,path:"/",component:()=>e.jsx("div",{className:"p-6",children:"Home"})}),n=r.addChildren([o]),l=b({routeTree:n,basepath:"/iframe.html"});return e.jsx(g,{router:l})}const i={name:"Collapsible sidebar",render:()=>e.jsx(A,{sidebarCollapsible:!0})};var m,s,p;i.parameters={...i.parameters,docs:{...(m=i.parameters)==null?void 0:m.docs,source:{originalSource:`{
2
+ name: 'Collapsible sidebar',
3
+ render: () => <App sidebarCollapsible />
4
+ }`,...(p=(s=i.parameters)==null?void 0:s.docs)==null?void 0:p.source}}};const br=["Collapsible"];export{i as Collapsible,br as __namedExportsOrder,ur as default};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./jsx-runtime-D_zvdyIk.js";import{r as y}from"./iframe-G-6sM9Mt.js";import{A as c,H as h,c as f,a as l,b as v,R as A,T as k,u as C}from"./AdminLayout-Cxd0-A_L.js";import{C as T}from"./chart-column-Bzh5arua.js";import{c as s}from"./createLucideIcon-1ZwIAs_l.js";import{S as j,a as S}from"./shopping-cart-9kOJ1UDd.js";import"./preload-helper-Dp1pzeXC.js";import"./sidebar-CvUiZOJe.js";import"./index-1v1lhNFD.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BTWmFXop.js";import"./input-11YRd9gD.js";import"./separator-DoUX1TNx.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./sheet-n5VQ25jh.js";import"./index-CzJf-yyP.js";import"./index-DW48STyt.js";import"./index-DvM9azdj.js";import"./index-DhoByIgc.js";import"./index-I343IfOC.js";import"./index-CAwQR9Pv.js";import"./index-7yNAGow7.js";import"./index-lH-AZpAn.js";import"./Combination-BT_gXe1L.js";import"./index-d_S6mtzU.js";import"./index-Bq6UNRVc.js";import"./x-DG9mLFAg.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CNONbPiI.js";import"./index-CayhpKmv.js";import"./index-ev1RjzGv.js";import"./index-DNAxNqEO.js";import"./index-SxI7_jxe.js";import"./dropdown-menu-TfFll7G9.js";import"./index-CLmN5G1a.js";import"./index-BDwnENHR.js";import"./index-ClNNG_ys.js";import"./index-CMmbDm5O.js";import"./check-BgWXKGqi.js";import"./circle-DVJTkDI7.js";import"./chevron-right-DpCIoMaJ.js";import"./chevron-down-BqLjUn1_.js";/**
1
+ import{j as t}from"./jsx-runtime-D_zvdyIk.js";import{r as y}from"./iframe-BWjPIle6.js";import{A as c,H as h,c as f,a as l,b as v,R as A,T as k,u as C}from"./AdminLayout-B9bV4J_6.js";import{C as T}from"./chart-column-CplFCmg8.js";import{c as s}from"./createLucideIcon-CLBo0iA0.js";import{S as j,a as S}from"./shopping-cart-CJBClF2m.js";import"./preload-helper-Dp1pzeXC.js";import"./sidebar-BsMnOE7Y.js";import"./index-BcAKBHrX.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BObfgcV1.js";import"./input-11YRd9gD.js";import"./separator-CxCWfpZX.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./sheet-r0VNiBiN.js";import"./index-u70nzfOV.js";import"./index-DW48STyt.js";import"./index-Pk2lGsul.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-7XoYQV2z.js";import"./index-BfKpUbCE.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./x-n8sFtlI2.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CZ1UAE_e.js";import"./index-C6O7WofA.js";import"./index-DMk2qc2_.js";import"./index-URSssr5a.js";import"./index-Dsg7S8zu.js";import"./dropdown-menu-BwL9gQwG.js";import"./index-DE2OlfDP.js";import"./index-C9xvlw_B.js";import"./index-Dr2xmx-F.js";import"./index-Cw7p-pms.js";import"./check-DyecuwP4.js";import"./circle-CyarsADt.js";import"./chevron-right-oMYqDJ_f.js";import"./chevron-down-Bp7zbUB0.js";/**
2
2
  * @license lucide-react v0.540.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as c}from"./iframe-G-6sM9Mt.js";import{A as p,c as u,a as l,b as x,R as f,T as h,u as g,H as v}from"./AdminLayout-Cxd0-A_L.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-1ZwIAs_l.js";import"./sidebar-CvUiZOJe.js";import"./index-1v1lhNFD.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BTWmFXop.js";import"./input-11YRd9gD.js";import"./separator-DoUX1TNx.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./sheet-n5VQ25jh.js";import"./index-CzJf-yyP.js";import"./index-DW48STyt.js";import"./index-DvM9azdj.js";import"./index-DhoByIgc.js";import"./index-I343IfOC.js";import"./index-CAwQR9Pv.js";import"./index-7yNAGow7.js";import"./index-lH-AZpAn.js";import"./Combination-BT_gXe1L.js";import"./index-d_S6mtzU.js";import"./index-Bq6UNRVc.js";import"./x-DG9mLFAg.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CNONbPiI.js";import"./index-CayhpKmv.js";import"./index-ev1RjzGv.js";import"./index-DNAxNqEO.js";import"./index-SxI7_jxe.js";import"./dropdown-menu-TfFll7G9.js";import"./index-CLmN5G1a.js";import"./index-BDwnENHR.js";import"./index-ClNNG_ys.js";import"./index-CMmbDm5O.js";import"./check-BgWXKGqi.js";import"./circle-DVJTkDI7.js";import"./chevron-right-DpCIoMaJ.js";import"./chevron-down-BqLjUn1_.js";const de={title:"Kit/Layouts/Admin",component:p};function b(){const{registerGroup:t,registerItem:r,clear:o}=g();return c.useEffect(()=>{o(),t({id:"overview",label:"Overview"}),r("overview",{id:"home",title:"Home",url:"/",icon:v})},[t,r,o]),null}function j(t){const r=u({component:()=>e.jsx(h,{children:e.jsx(p,{...t,children:e.jsx(b,{})})})}),o=l({getParentRoute:()=>r,path:"/",component:()=>e.jsx("div",{className:"p-6",children:"Home"})}),n=r.addChildren([o]),d=x({routeTree:n,basepath:"/iframe.html"});return e.jsx(f,{router:d})}const m={name:"Custom sidebar header component",render:()=>e.jsx(j,{sidebarHeader:e.jsx("div",{className:"px-4 py-3",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:"https://dummyimage.com/32x32/000/fff.png&text=A",alt:"Logo",className:"h-8 w-8 rounded"}),e.jsx("span",{className:"font-semibold",children:"My Admin"})]})})})};var i,s,a;m.parameters={...m.parameters,docs:{...(i=m.parameters)==null?void 0:i.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as c}from"./iframe-BWjPIle6.js";import{A as p,c as u,a as l,b as x,R as f,T as h,u as g,H as v}from"./AdminLayout-B9bV4J_6.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-CLBo0iA0.js";import"./sidebar-BsMnOE7Y.js";import"./index-BcAKBHrX.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BObfgcV1.js";import"./input-11YRd9gD.js";import"./separator-CxCWfpZX.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./sheet-r0VNiBiN.js";import"./index-u70nzfOV.js";import"./index-DW48STyt.js";import"./index-Pk2lGsul.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-7XoYQV2z.js";import"./index-BfKpUbCE.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./x-n8sFtlI2.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CZ1UAE_e.js";import"./index-C6O7WofA.js";import"./index-DMk2qc2_.js";import"./index-URSssr5a.js";import"./index-Dsg7S8zu.js";import"./dropdown-menu-BwL9gQwG.js";import"./index-DE2OlfDP.js";import"./index-C9xvlw_B.js";import"./index-Dr2xmx-F.js";import"./index-Cw7p-pms.js";import"./check-DyecuwP4.js";import"./circle-CyarsADt.js";import"./chevron-right-oMYqDJ_f.js";import"./chevron-down-Bp7zbUB0.js";const de={title:"Kit/Layouts/Admin",component:p};function b(){const{registerGroup:t,registerItem:r,clear:o}=g();return c.useEffect(()=>{o(),t({id:"overview",label:"Overview"}),r("overview",{id:"home",title:"Home",url:"/",icon:v})},[t,r,o]),null}function j(t){const r=u({component:()=>e.jsx(h,{children:e.jsx(p,{...t,children:e.jsx(b,{})})})}),o=l({getParentRoute:()=>r,path:"/",component:()=>e.jsx("div",{className:"p-6",children:"Home"})}),n=r.addChildren([o]),d=x({routeTree:n,basepath:"/iframe.html"});return e.jsx(f,{router:d})}const m={name:"Custom sidebar header component",render:()=>e.jsx(j,{sidebarHeader:e.jsx("div",{className:"px-4 py-3",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:"https://dummyimage.com/32x32/000/fff.png&text=A",alt:"Logo",className:"h-8 w-8 rounded"}),e.jsx("span",{className:"font-semibold",children:"My Admin"})]})})})};var i,s,a;m.parameters={...m.parameters,docs:{...(i=m.parameters)==null?void 0:i.docs,source:{originalSource:`{
2
2
  name: 'Custom sidebar header component',
3
3
  render: () => <App sidebarHeader={<div className="px-4 py-3">
4
4
  <div className="flex items-center gap-2">
@@ -0,0 +1,4 @@
1
+ import{j as r}from"./jsx-runtime-D_zvdyIk.js";import{r as c}from"./iframe-BWjPIle6.js";import{A as a,c as u,a as l,b as x,R as b,T as h,u as R,H as C}from"./AdminLayout-B9bV4J_6.js";import{C as f}from"./chart-column-CplFCmg8.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-CLBo0iA0.js";import"./sidebar-BsMnOE7Y.js";import"./index-BcAKBHrX.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BObfgcV1.js";import"./input-11YRd9gD.js";import"./separator-CxCWfpZX.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./sheet-r0VNiBiN.js";import"./index-u70nzfOV.js";import"./index-DW48STyt.js";import"./index-Pk2lGsul.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-7XoYQV2z.js";import"./index-BfKpUbCE.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./x-n8sFtlI2.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CZ1UAE_e.js";import"./index-C6O7WofA.js";import"./index-DMk2qc2_.js";import"./index-URSssr5a.js";import"./index-Dsg7S8zu.js";import"./dropdown-menu-BwL9gQwG.js";import"./index-DE2OlfDP.js";import"./index-C9xvlw_B.js";import"./index-Dr2xmx-F.js";import"./index-Cw7p-pms.js";import"./check-DyecuwP4.js";import"./circle-CyarsADt.js";import"./chevron-right-oMYqDJ_f.js";import"./chevron-down-Bp7zbUB0.js";const ur={title:"Kit/Layouts/Admin",component:a};function j(){const{registerGroup:o,registerItem:t,clear:e}=R();return c.useEffect(()=>{e(),o({id:"overview",label:"Overview"}),t("overview",{id:"home",title:"Home",url:"/",icon:C})},[o,t,e]),null}function v(o){const t=u({component:()=>r.jsx(h,{children:r.jsx(a,{...o,children:r.jsx(j,{})})})}),e=l({getParentRoute:()=>t,path:"/",component:()=>r.jsx("div",{className:"p-6",children:"Home"})}),n=t.addChildren([e]),d=x({routeTree:n,basepath:"/iframe.html"});return r.jsx(b,{router:d})}const i={name:"Custom sidebar title and icon",render:()=>r.jsx(v,{sidebarHeaderIcon:f,sidebarHeaderTitle:r.jsx("span",{children:"Custom Title"})})};var m,s,p;i.parameters={...i.parameters,docs:{...(m=i.parameters)==null?void 0:m.docs,source:{originalSource:`{
2
+ name: 'Custom sidebar title and icon',
3
+ render: () => <App sidebarHeaderIcon={BarChart3} sidebarHeaderTitle={<span>Custom Title</span>} />
4
+ }`,...(p=(s=i.parameters)==null?void 0:s.docs)==null?void 0:p.source}}};const lr=["CustomSidebarTitleAndIcon"];export{i as CustomSidebarTitleAndIcon,lr as __namedExportsOrder,ur as default};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as c}from"./iframe-G-6sM9Mt.js";import{A as p,c as u,a as l,b as x,R as h,T as g,u as f,H as b}from"./AdminLayout-Cxd0-A_L.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-1ZwIAs_l.js";import"./sidebar-CvUiZOJe.js";import"./index-1v1lhNFD.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BTWmFXop.js";import"./input-11YRd9gD.js";import"./separator-DoUX1TNx.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./sheet-n5VQ25jh.js";import"./index-CzJf-yyP.js";import"./index-DW48STyt.js";import"./index-DvM9azdj.js";import"./index-DhoByIgc.js";import"./index-I343IfOC.js";import"./index-CAwQR9Pv.js";import"./index-7yNAGow7.js";import"./index-lH-AZpAn.js";import"./Combination-BT_gXe1L.js";import"./index-d_S6mtzU.js";import"./index-Bq6UNRVc.js";import"./x-DG9mLFAg.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CNONbPiI.js";import"./index-CayhpKmv.js";import"./index-ev1RjzGv.js";import"./index-DNAxNqEO.js";import"./index-SxI7_jxe.js";import"./dropdown-menu-TfFll7G9.js";import"./index-CLmN5G1a.js";import"./index-BDwnENHR.js";import"./index-ClNNG_ys.js";import"./index-CMmbDm5O.js";import"./check-BgWXKGqi.js";import"./circle-DVJTkDI7.js";import"./chevron-right-DpCIoMaJ.js";import"./chevron-down-BqLjUn1_.js";const ne={title:"Kit/Layouts/Admin",component:p};function v(){const{registerGroup:t,registerItem:r,clear:o}=f();return c.useEffect(()=>{o(),t({id:"overview",label:"Overview"}),r("overview",{id:"home",title:"Home",url:"/",icon:b})},[t,r,o]),null}function j(t){const r=u({component:()=>e.jsx(g,{children:e.jsx(p,{...t,children:e.jsx(v,{})})})}),o=l({getParentRoute:()=>r,path:"/",component:()=>e.jsx("div",{className:"p-6",children:"Home"})}),d=r.addChildren([o]),n=x({routeTree:d,basepath:"/iframe.html"});return e.jsx(h,{router:n})}const m={name:"Header slots (after trigger/theme)",render:()=>e.jsx(j,{headerAfterTrigger:e.jsx("input",{className:"h-8 w-64 rounded-md border px-3 text-sm",placeholder:"Search…"}),headerAfterTheme:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("button",{className:"h-8 rounded-md border px-3 text-sm",children:"Invite"}),e.jsx("button",{className:"h-8 rounded-md bg-primary px-3 text-sm text-primary-foreground",children:"New"})]})})};var i,s,a;m.parameters={...m.parameters,docs:{...(i=m.parameters)==null?void 0:i.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as c}from"./iframe-BWjPIle6.js";import{A as p,c as u,a as l,b as x,R as h,T as g,u as f,H as b}from"./AdminLayout-B9bV4J_6.js";import"./preload-helper-Dp1pzeXC.js";import"./createLucideIcon-CLBo0iA0.js";import"./sidebar-BsMnOE7Y.js";import"./index-BcAKBHrX.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";import"./button-BObfgcV1.js";import"./input-11YRd9gD.js";import"./separator-CxCWfpZX.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./sheet-r0VNiBiN.js";import"./index-u70nzfOV.js";import"./index-DW48STyt.js";import"./index-Pk2lGsul.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-7XoYQV2z.js";import"./index-BfKpUbCE.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./x-n8sFtlI2.js";import"./skeleton-CjDnQs43.js";import"./tooltip-CZ1UAE_e.js";import"./index-C6O7WofA.js";import"./index-DMk2qc2_.js";import"./index-URSssr5a.js";import"./index-Dsg7S8zu.js";import"./dropdown-menu-BwL9gQwG.js";import"./index-DE2OlfDP.js";import"./index-C9xvlw_B.js";import"./index-Dr2xmx-F.js";import"./index-Cw7p-pms.js";import"./check-DyecuwP4.js";import"./circle-CyarsADt.js";import"./chevron-right-oMYqDJ_f.js";import"./chevron-down-Bp7zbUB0.js";const ne={title:"Kit/Layouts/Admin",component:p};function v(){const{registerGroup:t,registerItem:r,clear:o}=f();return c.useEffect(()=>{o(),t({id:"overview",label:"Overview"}),r("overview",{id:"home",title:"Home",url:"/",icon:b})},[t,r,o]),null}function j(t){const r=u({component:()=>e.jsx(g,{children:e.jsx(p,{...t,children:e.jsx(v,{})})})}),o=l({getParentRoute:()=>r,path:"/",component:()=>e.jsx("div",{className:"p-6",children:"Home"})}),d=r.addChildren([o]),n=x({routeTree:d,basepath:"/iframe.html"});return e.jsx(h,{router:n})}const m={name:"Header slots (after trigger/theme)",render:()=>e.jsx(j,{headerAfterTrigger:e.jsx("input",{className:"h-8 w-64 rounded-md border px-3 text-sm",placeholder:"Search…"}),headerAfterTheme:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("button",{className:"h-8 rounded-md border px-3 text-sm",children:"Invite"}),e.jsx("button",{className:"h-8 rounded-md bg-primary px-3 text-sm text-primary-foreground",children:"New"})]})})};var i,s,a;m.parameters={...m.parameters,docs:{...(i=m.parameters)==null?void 0:i.docs,source:{originalSource:`{
2
2
  name: 'Header slots (after trigger/theme)',
3
3
  render: () => <App headerAfterTrigger={<input className="h-8 w-64 rounded-md border px-3 text-sm" placeholder="Search…" />} headerAfterTheme={<div className="flex items-center gap-2">
4
4
  <button className="h-8 rounded-md border px-3 text-sm">Invite</button>
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{c as v}from"./index-CGrAONsN.js";import{c as i}from"./utils-D-KgF5mV.js";import{c as h}from"./createLucideIcon-1ZwIAs_l.js";import"./iframe-G-6sM9Mt.js";import"./preload-helper-Dp1pzeXC.js";/**
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{c as v}from"./index-CGrAONsN.js";import{c as i}from"./utils-D-KgF5mV.js";import{c as h}from"./createLucideIcon-CLBo0iA0.js";import"./iframe-BWjPIle6.js";import"./preload-helper-Dp1pzeXC.js";/**
2
2
  * @license lucide-react v0.540.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{A as l,h as d,a as u,b as D,c as A,d as m,e as p,f as h,g as x}from"./alert-dialog-CypF_yaW.js";import{B as j,b as v}from"./button-BTWmFXop.js";import"./iframe-G-6sM9Mt.js";import"./preload-helper-Dp1pzeXC.js";import"./index-DvM9azdj.js";import"./index-1v1lhNFD.js";import"./index-CzJf-yyP.js";import"./index-DW48STyt.js";import"./index-DhoByIgc.js";import"./index-I343IfOC.js";import"./index-CAwQR9Pv.js";import"./index-7yNAGow7.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./index-lH-AZpAn.js";import"./Combination-BT_gXe1L.js";import"./index-d_S6mtzU.js";import"./index-Bq6UNRVc.js";import"./utils-D-KgF5mV.js";import"./index-CGrAONsN.js";const J={title:"Shadcn/UI/AlertDialog",component:l},r={render:o=>e.jsxs(l,{...o,children:[e.jsx(d,{asChild:!0,children:e.jsx(j,{variant:"outline",children:"Show Dialog"})}),e.jsxs(u,{children:[e.jsxs(D,{children:[e.jsx(A,{children:"Are you absolutely sure?"}),e.jsx(m,{children:"This action cannot be undone. This will permanently delete your account and remove your data from our servers."})]}),e.jsxs(p,{children:[e.jsx(h,{children:"Cancel"}),e.jsx(x,{children:"Continue"})]})]})]})},t={render:o=>e.jsxs(l,{...o,children:[e.jsx(d,{asChild:!0,children:e.jsx(j,{variant:"destructive",children:"Delete account"})}),e.jsxs(u,{children:[e.jsxs(D,{children:[e.jsx(A,{children:"Are you absolutely sure?"}),e.jsx(m,{children:"This action cannot be undone. This will permanently delete your account and remove your data from our servers."})]}),e.jsxs(p,{children:[e.jsx(h,{children:"Cancel"}),e.jsx(x,{className:v({variant:"destructive"}),children:"Delete"})]})]})]})};var a,i,n;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{A as l,h as d,a as u,b as D,c as A,d as m,e as p,f as h,g as x}from"./alert-dialog-BYt6Z7Kt.js";import{B as j,b as v}from"./button-BObfgcV1.js";import"./iframe-BWjPIle6.js";import"./preload-helper-Dp1pzeXC.js";import"./index-Pk2lGsul.js";import"./index-BcAKBHrX.js";import"./index-u70nzfOV.js";import"./index-DW48STyt.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-7XoYQV2z.js";import"./index-BfKpUbCE.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./utils-D-KgF5mV.js";import"./index-CGrAONsN.js";const J={title:"Shadcn/UI/AlertDialog",component:l},r={render:o=>e.jsxs(l,{...o,children:[e.jsx(d,{asChild:!0,children:e.jsx(j,{variant:"outline",children:"Show Dialog"})}),e.jsxs(u,{children:[e.jsxs(D,{children:[e.jsx(A,{children:"Are you absolutely sure?"}),e.jsx(m,{children:"This action cannot be undone. This will permanently delete your account and remove your data from our servers."})]}),e.jsxs(p,{children:[e.jsx(h,{children:"Cancel"}),e.jsx(x,{children:"Continue"})]})]})]})},t={render:o=>e.jsxs(l,{...o,children:[e.jsx(d,{asChild:!0,children:e.jsx(j,{variant:"destructive",children:"Delete account"})}),e.jsxs(u,{children:[e.jsxs(D,{children:[e.jsx(A,{children:"Are you absolutely sure?"}),e.jsx(m,{children:"This action cannot be undone. This will permanently delete your account and remove your data from our servers."})]}),e.jsxs(p,{children:[e.jsx(h,{children:"Cancel"}),e.jsx(x,{className:v({variant:"destructive"}),children:"Delete"})]})]})]})};var a,i,n;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`{
2
2
  render: args => <AlertDialog {...args}>
3
3
  <AlertDialogTrigger asChild>
4
4
  <Button variant="outline">Show Dialog</Button>
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as v}from"./iframe-G-6sM9Mt.js";import{P as j}from"./index-DqWzLCH-.js";import"./preload-helper-Dp1pzeXC.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./index-1v1lhNFD.js";var y="AspectRatio",h=v.forwardRef((a,w)=>{const{ratio:g=1/1,style:x,...b}=a;return e.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/g}%`},"data-radix-aspect-ratio-wrapper":"",children:e.jsx(j.div,{...b,ref:w,style:{...x,position:"absolute",top:0,right:0,bottom:0,left:0}})})});h.displayName=y;var N=h;function r({...a}){return e.jsx(N,{"data-slot":"aspect-ratio",...a})}r.__docgenInfo={description:"",methods:[],displayName:"AspectRatio"};const Y={title:"Shadcn/UI/AspectRatio",component:r},t={name:"Image (16:9)",render:a=>e.jsx("div",{className:"w-[450px]",children:e.jsx(r,{ratio:16/9,...a,children:e.jsx("img",{src:"https://images.unsplash.com/photo-1522771930-78848d9293e8?q=80&w=1600&auto=format&fit=crop",alt:"Landscape",className:"h-full w-full rounded-md object-cover"})})})},o={name:"Image (1:1 square)",render:a=>e.jsx("div",{className:"w-[300px]",children:e.jsx(r,{ratio:1/1,...a,children:e.jsx("img",{src:"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=1200&auto=format&fit=crop",alt:"Square",className:"h-full w-full rounded-md object-cover"})})})},s={name:"YouTube Embed (16:9)",render:a=>e.jsx("div",{className:"w-[450px]",children:e.jsx(r,{ratio:16/9,...a,children:e.jsx("iframe",{className:"h-full w-full rounded-md",src:"https://www.youtube.com/embed/yMqDgbZmBdk",title:"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})})};var c,i,m;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as v}from"./iframe-BWjPIle6.js";import{P as j}from"./index-04C4iZwC.js";import"./preload-helper-Dp1pzeXC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./index-BcAKBHrX.js";var y="AspectRatio",h=v.forwardRef((a,w)=>{const{ratio:g=1/1,style:x,...b}=a;return e.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/g}%`},"data-radix-aspect-ratio-wrapper":"",children:e.jsx(j.div,{...b,ref:w,style:{...x,position:"absolute",top:0,right:0,bottom:0,left:0}})})});h.displayName=y;var N=h;function r({...a}){return e.jsx(N,{"data-slot":"aspect-ratio",...a})}r.__docgenInfo={description:"",methods:[],displayName:"AspectRatio"};const Y={title:"Shadcn/UI/AspectRatio",component:r},t={name:"Image (16:9)",render:a=>e.jsx("div",{className:"w-[450px]",children:e.jsx(r,{ratio:16/9,...a,children:e.jsx("img",{src:"https://images.unsplash.com/photo-1522771930-78848d9293e8?q=80&w=1600&auto=format&fit=crop",alt:"Landscape",className:"h-full w-full rounded-md object-cover"})})})},o={name:"Image (1:1 square)",render:a=>e.jsx("div",{className:"w-[300px]",children:e.jsx(r,{ratio:1/1,...a,children:e.jsx("img",{src:"https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=1200&auto=format&fit=crop",alt:"Square",className:"h-full w-full rounded-md object-cover"})})})},s={name:"YouTube Embed (16:9)",render:a=>e.jsx("div",{className:"w-[450px]",children:e.jsx(r,{ratio:16/9,...a,children:e.jsx("iframe",{className:"h-full w-full rounded-md",src:"https://www.youtube.com/embed/yMqDgbZmBdk",title:"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})})};var c,i,m;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{
2
2
  name: 'Image (16:9)',
3
3
  render: args => <div className="w-[450px]">
4
4
  <AspectRatio ratio={16 / 9} {...args}>
@@ -1,4 +1,4 @@
1
- import{j as r}from"./jsx-runtime-D_zvdyIk.js";import{r as e}from"./iframe-G-6sM9Mt.js";import{c as H}from"./utils-D-KgF5mV.js";import{P as U,a as Y,b as Z}from"./popover-DW1K4QCO.js";import{C as z,a as J,b as K,c as Q,d as X,e as ee,f as ne}from"./command-BERL33lL.js";import{B as re}from"./button-BTWmFXop.js";import{c as W}from"./createLucideIcon-1ZwIAs_l.js";import{C as te}from"./check-BgWXKGqi.js";/**
1
+ import{j as r}from"./jsx-runtime-D_zvdyIk.js";import{r as e}from"./iframe-BWjPIle6.js";import{c as H}from"./utils-D-KgF5mV.js";import{P as U,a as Y,b as Z}from"./popover-ClqrrvjL.js";import{C as z,a as J,b as K,c as Q,d as X,e as ee,f as ne}from"./command-DCnXmNmT.js";import{B as re}from"./button-BObfgcV1.js";import{c as W}from"./createLucideIcon-CLBo0iA0.js";import{C as te}from"./check-DyecuwP4.js";/**
2
2
  * @license lucide-react v0.540.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{j as o}from"./jsx-runtime-D_zvdyIk.js";import{A as n}from"./Autocomplete-DngjqsCM.js";import"./iframe-G-6sM9Mt.js";import"./preload-helper-Dp1pzeXC.js";import"./utils-D-KgF5mV.js";import"./popover-DW1K4QCO.js";import"./index-DW48STyt.js";import"./index-1v1lhNFD.js";import"./index-DvM9azdj.js";import"./index-7yNAGow7.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./index-lH-AZpAn.js";import"./Combination-BT_gXe1L.js";import"./index-DhoByIgc.js";import"./index-I343IfOC.js";import"./index-CayhpKmv.js";import"./index-ev1RjzGv.js";import"./index-d_S6mtzU.js";import"./index-Bq6UNRVc.js";import"./index-CAwQR9Pv.js";import"./command-BERL33lL.js";import"./index-CzJf-yyP.js";import"./dialog-DM9YJ1JD.js";import"./x-DG9mLFAg.js";import"./createLucideIcon-1ZwIAs_l.js";import"./button-BTWmFXop.js";import"./index-CGrAONsN.js";import"./check-BgWXKGqi.js";const se={title:"Kit/Components/Autocomplete",component:n,parameters:{controls:{expanded:!0}},argTypes:{mode:{control:"select",options:["client","server"]}}},C=[{label:"New York",value:"nyc"},{label:"San Francisco",value:"sf"},{label:"Los Angeles",value:"la"},{label:"Seattle",value:"sea"},{label:"Austin",value:"aus"},{label:"Chicago",value:"chi"},{label:"Miami",value:"mia"},{label:"Boston",value:"bos"},{label:"Denver",value:"den"},{label:"Portland",value:"pdx"}],t={name:"Client mode",args:{mode:"client",options:C,placeholder:"Select a city...",searchPlaceholder:"Search cities...",pageSize:5,defaultOpen:!1},render:e=>o.jsx(n,{...e})};function j(e,r=350){return async({search:O,page:x,pageSize:l})=>{const m=(O||"").toLowerCase(),A=x??1,p=m?e.filter(c=>c.label.toLowerCase().includes(m)):e,i=(A-1)*l,N=p.slice(i,i+l),T=i+l<p.length;return await new Promise(c=>setTimeout(c,r)),{items:N,hasMore:T,nextCursor:null}}}const y=Array.from({length:100}).map((e,r)=>({label:`Option ${r+1}`,value:r+1})),a={name:"Server mode (infinite scroll)",args:{mode:"server",fetcher:j(y),placeholder:"Pick an option...",searchPlaceholder:"Search options...",pageSize:10},render:e=>o.jsx(n,{...e})},s={name:"Custom option rendering",args:{mode:"client",options:C,renderOption:(e,r)=>o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("span",{className:"inline-block h-2 w-2 rounded-full bg-primary"}),o.jsx("span",{className:r?"font-medium":void 0,children:e.label})]})},render:e=>o.jsx(n,{...e})};var d,u,g;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{
1
+ import{j as o}from"./jsx-runtime-D_zvdyIk.js";import{A as n}from"./Autocomplete-B4gV705L.js";import"./iframe-BWjPIle6.js";import"./preload-helper-Dp1pzeXC.js";import"./utils-D-KgF5mV.js";import"./popover-ClqrrvjL.js";import"./index-DW48STyt.js";import"./index-BcAKBHrX.js";import"./index-Pk2lGsul.js";import"./index-BfKpUbCE.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./index-DschQYGl.js";import"./Combination-CeVus13L.js";import"./index-BN5_W3Yi.js";import"./index-DWC9SV-P.js";import"./index-C6O7WofA.js";import"./index-DMk2qc2_.js";import"./index-Cce91yJQ.js";import"./index-CKwUGXmt.js";import"./index-7XoYQV2z.js";import"./command-DCnXmNmT.js";import"./index-u70nzfOV.js";import"./dialog-DL0QBIbC.js";import"./x-n8sFtlI2.js";import"./createLucideIcon-CLBo0iA0.js";import"./button-BObfgcV1.js";import"./index-CGrAONsN.js";import"./check-DyecuwP4.js";const se={title:"Kit/Components/Autocomplete",component:n,parameters:{controls:{expanded:!0}},argTypes:{mode:{control:"select",options:["client","server"]}}},C=[{label:"New York",value:"nyc"},{label:"San Francisco",value:"sf"},{label:"Los Angeles",value:"la"},{label:"Seattle",value:"sea"},{label:"Austin",value:"aus"},{label:"Chicago",value:"chi"},{label:"Miami",value:"mia"},{label:"Boston",value:"bos"},{label:"Denver",value:"den"},{label:"Portland",value:"pdx"}],t={name:"Client mode",args:{mode:"client",options:C,placeholder:"Select a city...",searchPlaceholder:"Search cities...",pageSize:5,defaultOpen:!1},render:e=>o.jsx(n,{...e})};function j(e,r=350){return async({search:O,page:x,pageSize:l})=>{const m=(O||"").toLowerCase(),A=x??1,p=m?e.filter(c=>c.label.toLowerCase().includes(m)):e,i=(A-1)*l,N=p.slice(i,i+l),T=i+l<p.length;return await new Promise(c=>setTimeout(c,r)),{items:N,hasMore:T,nextCursor:null}}}const y=Array.from({length:100}).map((e,r)=>({label:`Option ${r+1}`,value:r+1})),a={name:"Server mode (infinite scroll)",args:{mode:"server",fetcher:j(y),placeholder:"Pick an option...",searchPlaceholder:"Search options...",pageSize:10},render:e=>o.jsx(n,{...e})},s={name:"Custom option rendering",args:{mode:"client",options:C,renderOption:(e,r)=>o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("span",{className:"inline-block h-2 w-2 rounded-full bg-primary"}),o.jsx("span",{className:r?"font-medium":void 0,children:e.label})]})},render:e=>o.jsx(n,{...e})};var d,u,g;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`{
2
2
  name: 'Client mode',
3
3
  args: {
4
4
  mode: 'client',
@@ -1,4 +1,4 @@
1
- import{j as a}from"./jsx-runtime-D_zvdyIk.js";import{A as t,a as s,b as e}from"./avatar-CukM9hXu.js";import"./iframe-G-6sM9Mt.js";import"./preload-helper-Dp1pzeXC.js";import"./index-DvM9azdj.js";import"./index-lH-AZpAn.js";import"./index-I343IfOC.js";import"./index-DqWzLCH-.js";import"./index-_crRFOM5.js";import"./index-CZaD3imo.js";import"./index-1v1lhNFD.js";import"./index-SxI7_jxe.js";import"./utils-D-KgF5mV.js";const k={title:"Shadcn/UI/Avatar",component:t},r={render:()=>a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsxs(t,{children:[a.jsx(s,{src:"https://github.com/shadcn.png",alt:"@shadcn"}),a.jsx(e,{children:"SC"})]}),a.jsxs(t,{children:[a.jsx(s,{src:"",alt:"fallback"}),a.jsx(e,{children:"JD"})]})]})};var c,n,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{
1
+ import{j as a}from"./jsx-runtime-D_zvdyIk.js";import{A as t,a as s,b as e}from"./avatar-CRn1qQsC.js";import"./iframe-BWjPIle6.js";import"./preload-helper-Dp1pzeXC.js";import"./index-Pk2lGsul.js";import"./index-DschQYGl.js";import"./index-DWC9SV-P.js";import"./index-04C4iZwC.js";import"./index-C5eJ31Z3.js";import"./index-npvyVsxD.js";import"./index-BcAKBHrX.js";import"./index-Dsg7S8zu.js";import"./utils-D-KgF5mV.js";const k={title:"Shadcn/UI/Avatar",component:t},r={render:()=>a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsxs(t,{children:[a.jsx(s,{src:"https://github.com/shadcn.png",alt:"@shadcn"}),a.jsx(e,{children:"SC"})]}),a.jsxs(t,{children:[a.jsx(s,{src:"",alt:"fallback"}),a.jsx(e,{children:"JD"})]})]})};var c,n,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{
2
2
  render: () => <div className="flex items-center gap-4">
3
3
  <Avatar>
4
4
  <AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{S as m}from"./index-1v1lhNFD.js";import{c as f}from"./index-CGrAONsN.js";import{c as x}from"./utils-D-KgF5mV.js";import"./iframe-G-6sM9Mt.js";import"./preload-helper-Dp1pzeXC.js";const b=f("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function r({className:l,variant:u,asChild:g=!1,...p}){const v=g?m:"span";return e.jsx(v,{"data-slot":"badge",className:x(b({variant:u}),l),...p})}r.__docgenInfo={description:"",methods:[],displayName:"Badge",props:{asChild:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}}}};const V={title:"Shadcn/UI/Badge",component:r},a={args:{children:"Badge"}},t={render:()=>e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx(r,{children:"Default"}),e.jsx(r,{variant:"secondary",children:"Secondary"}),e.jsx(r,{variant:"destructive",children:"Destructive"}),e.jsx(r,{variant:"outline",children:"Outline"})]})};var s,n,i;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{S as m}from"./index-BcAKBHrX.js";import{c as f}from"./index-CGrAONsN.js";import{c as x}from"./utils-D-KgF5mV.js";import"./iframe-BWjPIle6.js";import"./preload-helper-Dp1pzeXC.js";const b=f("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function r({className:l,variant:u,asChild:g=!1,...p}){const v=g?m:"span";return e.jsx(v,{"data-slot":"badge",className:x(b({variant:u}),l),...p})}r.__docgenInfo={description:"",methods:[],displayName:"Badge",props:{asChild:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}}}};const V={title:"Shadcn/UI/Badge",component:r},a={args:{children:"Badge"}},t={render:()=>e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx(r,{children:"Default"}),e.jsx(r,{variant:"secondary",children:"Secondary"}),e.jsx(r,{variant:"destructive",children:"Destructive"}),e.jsx(r,{variant:"outline",children:"Outline"})]})};var s,n,i;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:`{
2
2
  args: {
3
3
  children: 'Badge'
4
4
  }
@@ -1,4 +1,4 @@
1
- import{j as r}from"./jsx-runtime-D_zvdyIk.js";import{S as h}from"./index-1v1lhNFD.js";import{c as s}from"./utils-D-KgF5mV.js";import{C as f,D as j}from"./react-icons.esm-n2MUhK0n.js";import"./iframe-G-6sM9Mt.js";import"./preload-helper-Dp1pzeXC.js";function o({...e}){return r.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function b({className:e,...a}){return r.jsx("ol",{"data-slot":"breadcrumb-list",className:s("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",e),...a})}function n({className:e,...a}){return r.jsx("li",{"data-slot":"breadcrumb-item",className:s("inline-flex items-center gap-1.5",e),...a})}function c({asChild:e,className:a,...m}){const x=e?h:"a";return r.jsx(x,{"data-slot":"breadcrumb-link",className:s("hover:text-foreground transition-colors",a),...m})}function p({className:e,...a}){return r.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:s("text-foreground font-normal",e),...a})}function d({children:e,className:a,...m}){return r.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:s("[&>svg]:size-3.5",a),...m,children:e??r.jsx(f,{})})}function B({className:e,...a}){return r.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:s("flex size-9 items-center justify-center",e),...a,children:[r.jsx(j,{className:"size-4"}),r.jsx("span",{className:"sr-only",children:"More"})]})}o.__docgenInfo={description:"",methods:[],displayName:"Breadcrumb"};b.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbList"};n.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbItem"};c.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbLink",props:{asChild:{required:!1,tsType:{name:"boolean"},description:""}}};p.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbPage"};d.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbSeparator"};B.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbEllipsis"};const y={title:"Shadcn/UI/Breadcrumb",component:o},t={render:()=>r.jsx(o,{children:r.jsxs(b,{children:[r.jsx(n,{children:r.jsx(c,{href:"#",children:"Home"})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(c,{href:"#",children:"Components"})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(B,{})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(c,{href:"#",children:"shadcn"})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(p,{children:"Breadcrumb"})})]})})};var i,u,l;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`{
1
+ import{j as r}from"./jsx-runtime-D_zvdyIk.js";import{S as h}from"./index-BcAKBHrX.js";import{c as s}from"./utils-D-KgF5mV.js";import{C as f,D as j}from"./react-icons.esm-DNr9VcvP.js";import"./iframe-BWjPIle6.js";import"./preload-helper-Dp1pzeXC.js";function o({...e}){return r.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function b({className:e,...a}){return r.jsx("ol",{"data-slot":"breadcrumb-list",className:s("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",e),...a})}function n({className:e,...a}){return r.jsx("li",{"data-slot":"breadcrumb-item",className:s("inline-flex items-center gap-1.5",e),...a})}function c({asChild:e,className:a,...m}){const x=e?h:"a";return r.jsx(x,{"data-slot":"breadcrumb-link",className:s("hover:text-foreground transition-colors",a),...m})}function p({className:e,...a}){return r.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:s("text-foreground font-normal",e),...a})}function d({children:e,className:a,...m}){return r.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:s("[&>svg]:size-3.5",a),...m,children:e??r.jsx(f,{})})}function B({className:e,...a}){return r.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:s("flex size-9 items-center justify-center",e),...a,children:[r.jsx(j,{className:"size-4"}),r.jsx("span",{className:"sr-only",children:"More"})]})}o.__docgenInfo={description:"",methods:[],displayName:"Breadcrumb"};b.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbList"};n.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbItem"};c.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbLink",props:{asChild:{required:!1,tsType:{name:"boolean"},description:""}}};p.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbPage"};d.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbSeparator"};B.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbEllipsis"};const y={title:"Shadcn/UI/Breadcrumb",component:o},t={render:()=>r.jsx(o,{children:r.jsxs(b,{children:[r.jsx(n,{children:r.jsx(c,{href:"#",children:"Home"})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(c,{href:"#",children:"Components"})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(B,{})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(c,{href:"#",children:"shadcn"})}),r.jsx(d,{}),r.jsx(n,{children:r.jsx(p,{children:"Breadcrumb"})})]})})};var i,u,l;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`{
2
2
  render: () => <Breadcrumb>
3
3
  <BreadcrumbList>
4
4
  <BreadcrumbItem>
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{B as n}from"./button-BTWmFXop.js";import"./index-1v1lhNFD.js";import"./iframe-G-6sM9Mt.js";import"./preload-helper-Dp1pzeXC.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";const b={title:"Shadcn/UI/Button",component:n,args:{}},t={render:()=>e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(n,{children:"Default"}),e.jsx(n,{variant:"secondary",children:"Secondary"}),e.jsx(n,{variant:"destructive",children:"Destructive"}),e.jsx(n,{variant:"outline",children:"Outline"}),e.jsx(n,{variant:"ghost",children:"Ghost"}),e.jsx(n,{variant:"link",children:"Link"})]})},a={render:()=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(n,{size:"sm",children:"Small"}),e.jsx(n,{size:"default",children:"Default"}),e.jsx(n,{size:"lg",children:"Large"}),e.jsx(n,{size:"icon","aria-label":"icon",className:"rounded-full",children:e.jsx("span",{role:"img","aria-label":"waving hand",children:"👋"})})]})},r={render:()=>e.jsxs("div",{className:"flex gap-2",children:[e.jsx(n,{disabled:!0,children:"Disabled"}),e.jsx(n,{variant:"outline",disabled:!0,children:"Disabled outline"})]})};var s,i,o;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{
1
+ import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{B as n}from"./button-BObfgcV1.js";import"./index-BcAKBHrX.js";import"./iframe-BWjPIle6.js";import"./preload-helper-Dp1pzeXC.js";import"./index-CGrAONsN.js";import"./utils-D-KgF5mV.js";const b={title:"Shadcn/UI/Button",component:n,args:{}},t={render:()=>e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx(n,{children:"Default"}),e.jsx(n,{variant:"secondary",children:"Secondary"}),e.jsx(n,{variant:"destructive",children:"Destructive"}),e.jsx(n,{variant:"outline",children:"Outline"}),e.jsx(n,{variant:"ghost",children:"Ghost"}),e.jsx(n,{variant:"link",children:"Link"})]})},a={render:()=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(n,{size:"sm",children:"Small"}),e.jsx(n,{size:"default",children:"Default"}),e.jsx(n,{size:"lg",children:"Large"}),e.jsx(n,{size:"icon","aria-label":"icon",className:"rounded-full",children:e.jsx("span",{role:"img","aria-label":"waving hand",children:"👋"})})]})},r={render:()=>e.jsxs("div",{className:"flex gap-2",children:[e.jsx(n,{disabled:!0,children:"Disabled"}),e.jsx(n,{variant:"outline",disabled:!0,children:"Disabled outline"})]})};var s,i,o;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{
2
2
  render: () => <div className="flex flex-wrap gap-2">
3
3
  <Button>Default</Button>
4
4
  <Button variant="secondary">Secondary</Button>