@customafk/lunas-ui 0.2.32 → 0.2.34
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.
- package/dist/{alert-CqRM6LFa.d.cts → alert-BFLT5Jqg.d.cts} +7 -7
- package/dist/{alert-BC5Nss8t.mjs → alert-BbInRLt4.mjs} +1 -1
- package/dist/{alert-BC5Nss8t.mjs.map → alert-BbInRLt4.mjs.map} +1 -1
- package/dist/{alert-hSQjkSHn.d.mts → alert-DmaYqfy7.d.mts} +7 -7
- package/dist/{avatar-CK1R4r0j.mjs → avatar-1SuFoI5h.mjs} +1 -1
- package/dist/{avatar-CK1R4r0j.mjs.map → avatar-1SuFoI5h.mjs.map} +1 -1
- package/dist/{badge-utjRo-lW.mjs → badge-Bhbhmsic.mjs} +1 -1
- package/dist/{badge-utjRo-lW.mjs.map → badge-Bhbhmsic.mjs.map} +1 -1
- package/dist/{badge-BNlMwt54.d.mts → badge-CSMgaMwT.d.cts} +8 -8
- package/dist/{badge-BXCkfLW0.d.cts → badge-Dxewfuj8.d.mts} +8 -8
- package/dist/{button-BqxBQ4Kr.mjs → button-CfPTDyoq.mjs} +2 -2
- package/dist/{button-BqxBQ4Kr.mjs.map → button-CfPTDyoq.mjs.map} +1 -1
- package/dist/{button-DhUjRe5e.d.mts → button-DeBpvNFE.d.mts} +8 -8
- package/dist/{button-xc_1ixgJ.d.cts → button-soF3CKai.d.cts} +8 -8
- package/dist/{button.variants-CwcJHcI5.mjs → button.variants-B8aRZ52K.mjs} +1 -1
- package/dist/{button.variants-CwcJHcI5.mjs.map → button.variants-B8aRZ52K.mjs.map} +1 -1
- package/dist/{calendar-D8aRFw_F.mjs → calendar-CqeVe3HO.mjs} +2 -2
- package/dist/{calendar-D8aRFw_F.mjs.map → calendar-CqeVe3HO.mjs.map} +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/{checkbox-CJsl9OjF.mjs → checkbox-CrZ80dV_.mjs} +1 -1
- package/dist/{checkbox-CJsl9OjF.mjs.map → checkbox-CrZ80dV_.mjs.map} +1 -1
- package/dist/{close-BMhGSmGs.mjs → close-DTBepcqW.mjs} +1 -1
- package/dist/{close-BMhGSmGs.mjs.map → close-DTBepcqW.mjs.map} +1 -1
- package/dist/{cms-layout-DHzRHAoI.mjs → cms-layout-BvaYr6rb.mjs} +2 -2
- package/dist/{cms-layout-DHzRHAoI.mjs.map → cms-layout-BvaYr6rb.mjs.map} +1 -1
- package/dist/{command-CTdjZi1F.cjs → command-B7DO73K0.cjs} +2 -2
- package/dist/{command-CTdjZi1F.cjs.map → command-B7DO73K0.cjs.map} +1 -1
- package/dist/{command-Bvauothg.mjs → command-YngzaaGP.mjs} +2 -2
- package/dist/{command-Bvauothg.mjs.map → command-YngzaaGP.mjs.map} +1 -1
- package/dist/data-display/country.d.cts +1 -1
- package/dist/data-display/country.d.mts +1 -1
- package/dist/data-display/country.mjs +1 -1
- package/dist/data-display/date-tooltip.mjs +1 -1
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/name.mjs +1 -1
- package/dist/data-display/phone-number.mjs +1 -1
- package/dist/data-display/role-badge.d.cts +1 -1
- package/dist/data-display/role-badge.d.mts +1 -1
- package/dist/data-display/role-badge.mjs +1 -1
- package/dist/data-display/statistic.d.cts +4 -4
- package/dist/data-display/statistic.d.mts +6 -6
- package/dist/data-display/user.mjs +1 -1
- package/dist/{date-BQ0c19uk.mjs → date-CFgc7pK3.mjs} +1 -1
- package/dist/{date-BQ0c19uk.mjs.map → date-CFgc7pK3.mjs.map} +1 -1
- package/dist/{dialog-gZTogunf.d.cts → dialog-BQTnKhUH.d.cts} +12 -12
- package/dist/dialog-Bly2YImt.mjs +2 -0
- package/dist/dialog-Bly2YImt.mjs.map +1 -0
- package/dist/{dialog-KxgG7gFA.d.mts → dialog-DDiSHKlc.d.mts} +12 -12
- package/dist/dialog-DhO0dkO3.cjs +2 -0
- package/dist/dialog-DhO0dkO3.cjs.map +1 -0
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +27 -27
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +2 -2
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/dialogs/error-dialog.mjs +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.mjs +1 -1
- package/dist/{dist-DdGJ50nX.mjs → dist-BQGL-YKY.mjs} +1 -1
- package/dist/{dist-DdGJ50nX.mjs.map → dist-BQGL-YKY.mjs.map} +1 -1
- package/dist/{drawer-j9wcVE50.mjs → drawer-B3GpKBZs.mjs} +1 -1
- package/dist/{drawer-j9wcVE50.mjs.map → drawer-B3GpKBZs.mjs.map} +1 -1
- package/dist/{dropdown-menu-B_uBxY94.mjs → dropdown-menu-BjckWIZH.mjs} +1 -1
- package/dist/{dropdown-menu-B_uBxY94.mjs.map → dropdown-menu-BjckWIZH.mjs.map} +1 -1
- package/dist/features/descriptions/index.d.cts +7 -7
- package/dist/features/descriptions/index.d.mts +7 -7
- package/dist/features/descriptions/index.mjs +1 -1
- package/dist/features/search-modal/index.cjs +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/search-modal/index.mjs +1 -1
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +2 -2
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/text-editor/index.d.cts +1 -1
- package/dist/features/text-editor/index.d.mts +1 -1
- package/dist/features/text-editor/index.mjs +1 -1
- package/dist/{field-B8RhxRCu.mjs → field-0SZIwI1Q.mjs} +2 -2
- package/dist/{field-B8RhxRCu.mjs.map → field-0SZIwI1Q.mjs.map} +1 -1
- package/dist/{field-BxFpcOV1.cjs → field-ThrHQOAI.cjs} +2 -2
- package/dist/{field-BxFpcOV1.cjs.map → field-ThrHQOAI.cjs.map} +1 -1
- package/dist/{flex-Bl5yzx6g.mjs → flex-BAcvp4lB.mjs} +1 -1
- package/dist/{flex-Bl5yzx6g.mjs.map → flex-BAcvp4lB.mjs.map} +1 -1
- package/dist/{heading-B1t9baTw.mjs → heading-woRh-IC7.mjs} +1 -1
- package/dist/{heading-B1t9baTw.mjs.map → heading-woRh-IC7.mjs.map} +1 -1
- package/dist/{image-C4gMBmyV.mjs → image-D2U1SBw5.mjs} +2 -2
- package/dist/{image-C4gMBmyV.mjs.map → image-D2U1SBw5.mjs.map} +1 -1
- package/dist/{index-DMUr1T2A.d.cts → index-B4tGZDYR.d.cts} +6 -6
- package/dist/{index-WCk8mTXV.d.mts → index-BFFBdGdv.d.mts} +361 -361
- package/dist/{index-cSJtvD9W.d.mts → index-BUi04v_-.d.mts} +6 -6
- package/dist/{index-22flsTNt.d.cts → index-Btd0a1HO.d.cts} +28 -28
- package/dist/{index-DDPBbVVt.d.cts → index-Cvjgsouk.d.cts} +361 -361
- package/dist/{index-DdqgMofm.d.mts → index-DWJlXfCi.d.mts} +28 -28
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -10
- package/dist/index.d.mts +9 -10
- package/dist/index.mjs +1 -1
- package/dist/{input-CEYWz7lS.d.cts → input-DHBWjFPA.d.cts} +7 -7
- package/dist/{input-CKFQdvqY.mjs → input-ESg91VId.mjs} +1 -1
- package/dist/{input-CKFQdvqY.mjs.map → input-ESg91VId.mjs.map} +1 -1
- package/dist/{input-BILuHVfC.d.mts → input-wQP8YLOp.d.mts} +7 -7
- package/dist/{label-BHbqbBtO.cjs → label-BzfsTrVt.cjs} +1 -1
- package/dist/{label-BHbqbBtO.cjs.map → label-BzfsTrVt.cjs.map} +1 -1
- package/dist/{label-CE2m0U_j.mjs → label-Cig7a9ON.mjs} +1 -1
- package/dist/{label-CE2m0U_j.mjs.map → label-Cig7a9ON.mjs.map} +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +10 -10
- package/dist/layouts/flex.d.mts +10 -10
- package/dist/layouts/flex.mjs +1 -1
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.d.cts +3 -0
- package/dist/layouts/payment-layout/index.d.mts +3 -0
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/LoginPage.cjs +1 -1
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/LoginPage.d.mts +2 -2
- package/dist/pages/LoginPage.mjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/pages/RegisterPage.cjs +1 -1
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/RegisterPage.d.mts +2 -2
- package/dist/pages/RegisterPage.mjs +1 -1
- package/dist/pages/VerifyEmailPage.cjs +1 -1
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/VerifyEmailPage.d.mts +2 -2
- package/dist/pages/VerifyEmailPage.mjs +1 -1
- package/dist/{paragraph-J_QbLq9_.mjs → paragraph-CjstaJFj.mjs} +1 -1
- package/dist/{paragraph-J_QbLq9_.mjs.map → paragraph-CjstaJFj.mjs.map} +1 -1
- package/dist/{payment-layout-CafCw6lS.mjs → payment-layout-Bd4B4jhp.mjs} +2 -2
- package/dist/payment-layout-Bd4B4jhp.mjs.map +1 -0
- package/dist/{payment-layout-BkSC6JkI.cjs → payment-layout-kh0lLq71.cjs} +2 -2
- package/dist/payment-layout-kh0lLq71.cjs.map +1 -0
- package/dist/{popover-BCzVvfnV.mjs → popover-BXktOcLz.mjs} +2 -2
- package/dist/{popover-BCzVvfnV.mjs.map → popover-BXktOcLz.mjs.map} +1 -1
- package/dist/{popover-Bnrgg4do.cjs → popover-DACS7x0e.cjs} +1 -1
- package/dist/{popover-Bnrgg4do.cjs.map → popover-DACS7x0e.cjs.map} +1 -1
- package/dist/{progress-BcEEbgJJ.mjs → progress-bJYAFoHE.mjs} +1 -1
- package/dist/{progress-BcEEbgJJ.mjs.map → progress-bJYAFoHE.mjs.map} +1 -1
- package/dist/{radio-group-KR6Ck-B9.mjs → radio-group-CTILro-C.mjs} +1 -1
- package/dist/{radio-group-KR6Ck-B9.mjs.map → radio-group-CTILro-C.mjs.map} +1 -1
- package/dist/{resizable-em2svgMz.mjs → resizable-BNYc7hFd.mjs} +1 -1
- package/dist/{resizable-em2svgMz.mjs.map → resizable-BNYc7hFd.mjs.map} +1 -1
- package/dist/{search-modal-zmavzZRx.cjs → search-modal-CsYUvnWi.cjs} +2 -2
- package/dist/{search-modal-zmavzZRx.cjs.map → search-modal-CsYUvnWi.cjs.map} +1 -1
- package/dist/{search-modal-DyOsqK-4.mjs → search-modal-D4ESSOU-.mjs} +2 -2
- package/dist/{search-modal-DyOsqK-4.mjs.map → search-modal-D4ESSOU-.mjs.map} +1 -1
- package/dist/{select-DHiTqZeX.cjs → select-D0m78xbd.cjs} +1 -1
- package/dist/{select-DHiTqZeX.cjs.map → select-D0m78xbd.cjs.map} +1 -1
- package/dist/{select-C2Ro2wmj.mjs → select-DMGFb8TB.mjs} +1 -1
- package/dist/{select-C2Ro2wmj.mjs.map → select-DMGFb8TB.mjs.map} +1 -1
- package/dist/{separator-yTKDuMWb.mjs → separator-DVaVWuNc.mjs} +1 -1
- package/dist/{separator-yTKDuMWb.mjs.map → separator-DVaVWuNc.mjs.map} +1 -1
- package/dist/{sheet-DDBCHwn6.mjs → sheet-BoulTUHV.mjs} +1 -1
- package/dist/{sheet-DDBCHwn6.mjs.map → sheet-BoulTUHV.mjs.map} +1 -1
- package/dist/{sidebar-De1RZMAG.mjs → sidebar-xWo_Rfi-.mjs} +2 -2
- package/dist/{sidebar-De1RZMAG.mjs.map → sidebar-xWo_Rfi-.mjs.map} +1 -1
- package/dist/{skeleton-Czl96pWA.mjs → skeleton-DupQ91XW.mjs} +1 -1
- package/dist/{skeleton-Czl96pWA.mjs.map → skeleton-DupQ91XW.mjs.map} +1 -1
- package/dist/{spinner-CWUvnJQw.mjs → spinner-C2tF8jQt.mjs} +1 -1
- package/dist/{spinner-CWUvnJQw.mjs.map → spinner-C2tF8jQt.mjs.map} +1 -1
- package/dist/{switch-DHsjxnFP.mjs → switch-CY25L6l0.mjs} +1 -1
- package/dist/{switch-DHsjxnFP.mjs.map → switch-CY25L6l0.mjs.map} +1 -1
- package/dist/tables-BvdD0_el.mjs +4 -0
- package/dist/{tables-BQ-QiA1V.mjs.map → tables-BvdD0_el.mjs.map} +1 -1
- package/dist/{tables-LRWPOv2a.cjs → tables-D1SMzDFu.cjs} +2 -2
- package/dist/{tables-LRWPOv2a.cjs.map → tables-D1SMzDFu.cjs.map} +1 -1
- package/dist/{tanstack-form-Be6aIYAW.mjs → tanstack-form-Bof1jeRB.mjs} +2 -2
- package/dist/{tanstack-form-Be6aIYAW.mjs.map → tanstack-form-Bof1jeRB.mjs.map} +1 -1
- package/dist/{tanstack-form-CDgTokmf.cjs → tanstack-form-BulYI2bY.cjs} +2 -2
- package/dist/{tanstack-form-CDgTokmf.cjs.map → tanstack-form-BulYI2bY.cjs.map} +1 -1
- package/dist/{text-editor-CqC44BkO.mjs → text-editor-D61C1dng.mjs} +1 -1
- package/dist/{text-editor-CqC44BkO.mjs.map → text-editor-D61C1dng.mjs.map} +1 -1
- package/dist/{textarea-D0-Gltw6.mjs → textarea-B8eQoQaZ.mjs} +1 -1
- package/dist/{textarea-D0-Gltw6.mjs.map → textarea-B8eQoQaZ.mjs.map} +1 -1
- package/dist/{tooltip-BMdzWaaH.mjs → tooltip-BfBJRYpc.mjs} +1 -1
- package/dist/{tooltip-BMdzWaaH.mjs.map → tooltip-BfBJRYpc.mjs.map} +1 -1
- package/dist/{types-CuAlMviO.mjs → types-CFXgrpTm.mjs} +1 -1
- package/dist/{types-CuAlMviO.mjs.map → types-CFXgrpTm.mjs.map} +1 -1
- package/dist/{types-B2PQbMJL.d.mts → types-Cc_mLRAn.d.cts} +1 -1
- package/dist/{types-CLkAmCre.d.cts → types-DmTyKdm7.d.mts} +1 -1
- package/dist/typography/paragraph.d.cts +5 -5
- package/dist/typography/paragraph.d.mts +5 -5
- package/dist/typography/paragraph.mjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert-dialog.mjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/alert.mjs +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/avatar.mjs +1 -1
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/badge.mjs +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/breadcrumb.mjs +1 -1
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button-group.mjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/carousel.mjs +1 -1
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/checkbox.mjs +1 -1
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/command.mjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/dropdown-menu.mjs +1 -1
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +23 -23
- package/dist/ui/field.d.mts +23 -23
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +1 -1
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +10 -10
- package/dist/ui/form.d.mts +10 -10
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/image.mjs +1 -1
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/inputs/search-input.mjs +1 -1
- package/dist/ui/item.d.cts +15 -15
- package/dist/ui/item.d.mts +15 -15
- package/dist/ui/item.mjs +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/pagination.mjs +1 -1
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/progress.mjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/scroll-area.d.mts +5 -5
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/skeleton.mjs +1 -1
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/spinner.mjs +1 -1
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/switch.mjs +1 -1
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/table.d.mts +17 -17
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +5 -5
- package/dist/ui/toggle.d.mts +5 -5
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/dist/ui/tooltip.mjs +1 -1
- package/dist/{user-DexjSvGZ.mjs → user-Cif7yb1w.mjs} +2 -2
- package/dist/{user-DexjSvGZ.mjs.map → user-Cif7yb1w.mjs.map} +1 -1
- package/package.json +1 -5
- package/dist/dialog-DEnyBH2X.cjs +0 -2
- package/dist/dialog-DEnyBH2X.cjs.map +0 -1
- package/dist/dialog-jqiIqxlm.mjs +0 -2
- package/dist/dialog-jqiIqxlm.mjs.map +0 -1
- package/dist/payment-layout-BkSC6JkI.cjs.map +0 -1
- package/dist/payment-layout-CafCw6lS.mjs.map +0 -1
- package/dist/tables-BQ-QiA1V.mjs +0 -4
- package/dist/ui/sidebar.cjs +0 -2
- package/dist/ui/sidebar.cjs.map +0 -1
- package/dist/ui/sidebar.d.cts +0 -264
- package/dist/ui/sidebar.d.mts +0 -264
- package/dist/ui/sidebar.mjs +0 -2
- package/dist/ui/sidebar.mjs.map +0 -1
package/dist/ui/multi-select.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`);require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`),require(`../close-DUBEKxhw.cjs`),require(`../dialog-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`);require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`),require(`../close-DUBEKxhw.cjs`),require(`../dialog-DhO0dkO3.cjs`);const n=require(`../command-B7DO73K0.cjs`);let r=require(`lucide-react`),i=require(`react`),a=require(`@customafk/react-toolkit/utils`),o=require(`react/jsx-runtime`),s=require(`cmdk`);function c(e,t){let[n,r]=(0,i.useState)(e);return(0,i.useEffect)(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function l(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function u(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function d(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const f=(0,i.forwardRef)(({className:e,...t},n)=>(0,s.useCommandState)(e=>e.filtered.count===0)?(0,o.jsx)(`div`,{ref:n,className:(0,a.cn)(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);f.displayName=`CommandEmpty`;const p=(0,i.forwardRef)(({value:e,onChange:p,placeholder:m,defaultOptions:h=[],options:g,delay:_,onSearch:v,onSearchSync:y,loadingIndicator:b,emptyIndicator:x,maxSelected:S=2**53-1,onMaxSelected:C,hidePlaceholderWhenSelected:w,disabled:T,groupBy:E,className:D,badgeClassName:O,selectFirstItem:k=!0,creatable:A=!1,triggerSearchOnFocus:j=!1,commandProps:M,inputProps:N,hideClearAllButton:P=!1,onAddNewItem:F},I)=>{let L=(0,i.useRef)(null),R=(0,i.useRef)(null),[z,B]=(0,i.useState)(!1),[V,H]=(0,i.useState)(!1),[U,W]=(0,i.useState)(!1),[G,K]=(0,i.useState)(e||[]),[q,J]=(0,i.useState)(l(h,E)),[Y,X]=(0,i.useState)(``),Z=c(Y,_||500);(0,i.useImperativeHandle)(I,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=(0,i.useCallback)(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=(0,i.useCallback)(e=>{let t=G.filter(t=>t.value!==e.value);K(t),p?.(t)},[p,G]),ee=(0,i.useCallback)(e=>{let t=L.current;t&&((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0&&(G[G.length-1].fixed||$(G[G.length-1])),e.key===`Escape`&&t.blur())},[$,G]);(0,i.useEffect)(()=>(z?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[z]),(0,i.useEffect)(()=>{e&&K(e)},[e]),(0,i.useEffect)(()=>{if(!g||v)return;let e=l(g||[],E);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[h,g,E,v,q]),(0,i.useEffect)(()=>{let e=()=>{let e=y?.(Z);J(l(e||[],E))};(async()=>{!y||!z||(j&&e(),Z&&e())})()},[Z,E,z,j]),(0,i.useEffect)(()=>{let e=async()=>{W(!0),J(l(await v?.(Z)||[],E)),W(!1)};(async()=>{!v||!z||(j&&await e(),Z&&await e())})()},[Z,E,z,j]);let te=()=>{if(!A||d(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=(0,o.jsx)(n.o,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=S){C?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),p?.(t)},children:`Create "${Y}"`});if(!v&&Y.length>0||v&&Z.length>0&&!U)return e},ne=(0,i.useCallback)(()=>{if(x)return v&&!A&&Object.keys(q).length===0?(0,o.jsx)(n.o,{value:`-`,disabled:!0,children:x}):(0,o.jsx)(f,{children:x})},[A,x,v,q]),re=(0,i.useMemo)(()=>u(q,G),[q,G]),ie=(0,i.useCallback)(()=>{if(M?.filter)return M.filter;if(A)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[A,M?.filter]);return(0,o.jsxs)(n.t,{ref:R,...M,onKeyDown:e=>{ee(e),M?.onKeyDown?.(e)},className:(0,a.cn)(`h-auto overflow-visible bg-transparent`,M?.className),shouldFilter:M?.shouldFilter===void 0?!v:M.shouldFilter,filter:ie(),children:[(0,o.jsx)(`div`,{className:(0,a.cn)(`border-border-weak relative rounded-md border text-sm transition-shadow`,`focus-within:border-primary`,`focus-within:ring-primary-weak`,`focus-within:ring-4`,`focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,G.length!==0&&`p-1`,!T&&G.length!==0&&`cursor-text`,!P&&`pe-9`,D),onClick:()=>{T||L?.current?.focus()},children:(0,o.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>(0,o.jsxs)(`div`,{className:(0,a.cn)(`animate-fadeIn`,`bg-background`,`hover:bg-background`,`border-border-weak border border-solid`,`text-text-positive-weak relative inline-flex h-7 cursor-default items-center rounded-md ps-2 pe-7 pl-2 text-xs font-medium transition-all`,`disabled:cursor-not-allowed`,`disabled:opacity-50`,`data-fixed:pe-2`,O),"data-fixed":e.fixed,"data-disabled":T||void 0,children:[e.label,(0,o.jsx)(`button`,{type:`button`,disabled:T||e.fixed,className:(0,a.cn)(`text-text-positive-muted absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-primary-weak`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:t=>{t.key===`Enter`&&$(e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(e),"aria-label":`Remove`,children:(0,o.jsx)(r.X,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),(0,o.jsx)(s.Command.Input,{...N,ref:L,value:Y,disabled:T,onValueChange:e=>{X(e),N?.onValueChange?.(e)},onBlur:e=>{V||B(!1),N?.onBlur?.(e)},onFocus:e=>{B(!0),j&&v?.(Z),N?.onFocus?.(e)},placeholder:w&&G.length!==0?``:m,className:(0,a.cn)(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":w,"px-3 py-2":G.length===0,"ml-1":G.length!==0},N?.className)}),(0,o.jsx)(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),p?.(G.filter(e=>e.fixed))},className:(0,a.cn)(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-text-positive`,`focus-visible:outline-primary-weak`,(P||T||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:(0,o.jsx)(r.X,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),(0,o.jsx)(`div`,{className:`relative`,children:(0,o.jsx)(`div`,{className:(0,a.cn)(`shadow-dropdown absolute top-2 z-10 w-full overflow-hidden rounded-lg`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-95`,`data-[state=open]:zoom-in-95`,!z&&`hidden`),"data-state":z?`open`:`closed`,children:z&&(0,o.jsxs)(n.s,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[F&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.c,{}),(0,o.jsx)(n.i,{children:(0,o.jsxs)(t.t,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:F,children:[(0,o.jsx)(r.PlusIcon,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?b:(0,o.jsxs)(o.Fragment,{children:[ne(),te(),!k&&(0,o.jsx)(n.o,{value:`-`,className:`hidden`}),Object.entries(re).map(([e,t])=>(0,o.jsx)(n.i,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>(0,o.jsx)(n.o,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=S){C?.(G.length);return}let t=[...G,e];X(``),K(t),p?.(t)},className:(0,a.cn)(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});p.displayName=`MultipleSelector`,exports.MultipleSelector=p,exports.useDebounce=c;
|
|
2
2
|
//# sourceMappingURL=multi-select.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Command as Command$1 } from "./command.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react145 from "react";
|
|
3
3
|
import { Command } from "cmdk";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/multi-select.d.ts
|
|
@@ -111,7 +111,7 @@ declare function useDebounce<T>(value: T, delay?: number): T;
|
|
|
111
111
|
* />
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
114
|
-
declare const MultipleSelector:
|
|
114
|
+
declare const MultipleSelector: react145.ForwardRefExoticComponent<MultipleSelectorProps & react145.RefAttributes<MultipleSelectorRef>>;
|
|
115
115
|
//#endregion
|
|
116
116
|
export { MultipleSelector, MultipleSelectorRef, Option, useDebounce };
|
|
117
117
|
//# sourceMappingURL=multi-select.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../dialog-
|
|
1
|
+
import "../dialog-DDiSHKlc.mjs";
|
|
2
2
|
import { Command as Command$1 } from "./command.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react286 from "react";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/multi-select.d.ts
|
|
@@ -112,7 +112,7 @@ declare function useDebounce<T>(value: T, delay?: number): T;
|
|
|
112
112
|
* />
|
|
113
113
|
* ```
|
|
114
114
|
*/
|
|
115
|
-
declare const MultipleSelector:
|
|
115
|
+
declare const MultipleSelector: react286.ForwardRefExoticComponent<MultipleSelectorProps & react286.RefAttributes<MultipleSelectorRef>>;
|
|
116
116
|
//#endregion
|
|
117
117
|
export { MultipleSelector, MultipleSelectorRef, Option, useDebounce };
|
|
118
118
|
//# sourceMappingURL=multi-select.d.mts.map
|
package/dist/ui/multi-select.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import"../button.variants-
|
|
1
|
+
"use client";import"../button.variants-B8aRZ52K.mjs";import{t as e}from"../button-CfPTDyoq.mjs";import"../heading-woRh-IC7.mjs";import"../paragraph-CjstaJFj.mjs";import"../close-DTBepcqW.mjs";import"../dialog-Bly2YImt.mjs";import{c as t,i as n,o as r,s as ee,t as te}from"../command-YngzaaGP.mjs";import{PlusIcon as ne,X as i}from"lucide-react";import{forwardRef as a,useCallback as o,useEffect as s,useImperativeHandle as c,useMemo as re,useRef as l,useState as u}from"react";import{cn as d}from"@customafk/react-toolkit/utils";import{Fragment as f,jsx as p,jsxs as m}from"react/jsx-runtime";import{Command as h,useCommandState as g}from"cmdk";function _(e,t){let[n,r]=u(e);return s(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function v(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function ie(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function ae(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const y=a(({className:e,...t},n)=>g(e=>e.filtered.count===0)?p(`div`,{ref:n,className:d(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);y.displayName=`CommandEmpty`;const b=a(({value:a,onChange:g,placeholder:b,defaultOptions:x=[],options:S,delay:oe,onSearch:C,onSearchSync:w,loadingIndicator:se,emptyIndicator:T,maxSelected:E=2**53-1,onMaxSelected:D,hidePlaceholderWhenSelected:O,disabled:k,groupBy:A,className:ce,badgeClassName:le,selectFirstItem:ue=!0,creatable:j=!1,triggerSearchOnFocus:M=!1,commandProps:N,inputProps:P,hideClearAllButton:F=!1,onAddNewItem:I},de)=>{let L=l(null),R=l(null),[z,B]=u(!1),[V,H]=u(!1),[U,W]=u(!1),[G,K]=u(a||[]),[q,J]=u(v(x,A)),[Y,X]=u(``),Z=_(Y,oe||500);c(de,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=o(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=o(e=>{let t=G.filter(t=>t.value!==e.value);K(t),g?.(t)},[g,G]),fe=o(e=>{let t=L.current;t&&((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0&&(G[G.length-1].fixed||$(G[G.length-1])),e.key===`Escape`&&t.blur())},[$,G]);s(()=>(z?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[z]),s(()=>{a&&K(a)},[a]),s(()=>{if(!S||C)return;let e=v(S||[],A);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[x,S,A,C,q]),s(()=>{let e=()=>{let e=w?.(Z);J(v(e||[],A))};(async()=>{!w||!z||(M&&e(),Z&&e())})()},[Z,A,z,M]),s(()=>{let e=async()=>{W(!0),J(v(await C?.(Z)||[],A)),W(!1)};(async()=>{!C||!z||(M&&await e(),Z&&await e())})()},[Z,A,z,M]);let pe=()=>{if(!j||ae(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=p(r,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=E){D?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),g?.(t)},children:`Create "${Y}"`});if(!C&&Y.length>0||C&&Z.length>0&&!U)return e},me=o(()=>{if(T)return C&&!j&&Object.keys(q).length===0?p(r,{value:`-`,disabled:!0,children:T}):p(y,{children:T})},[j,T,C,q]),he=re(()=>ie(q,G),[q,G]),ge=o(()=>{if(N?.filter)return N.filter;if(j)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[j,N?.filter]);return m(te,{ref:R,...N,onKeyDown:e=>{fe(e),N?.onKeyDown?.(e)},className:d(`h-auto overflow-visible bg-transparent`,N?.className),shouldFilter:N?.shouldFilter===void 0?!C:N.shouldFilter,filter:ge(),children:[p(`div`,{className:d(`border-border-weak relative rounded-md border text-sm transition-shadow`,`focus-within:border-primary`,`focus-within:ring-primary-weak`,`focus-within:ring-4`,`focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,G.length!==0&&`p-1`,!k&&G.length!==0&&`cursor-text`,!F&&`pe-9`,ce),onClick:()=>{k||L?.current?.focus()},children:m(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>m(`div`,{className:d(`animate-fadeIn`,`bg-background`,`hover:bg-background`,`border-border-weak border border-solid`,`text-text-positive-weak relative inline-flex h-7 cursor-default items-center rounded-md ps-2 pe-7 pl-2 text-xs font-medium transition-all`,`disabled:cursor-not-allowed`,`disabled:opacity-50`,`data-fixed:pe-2`,le),"data-fixed":e.fixed,"data-disabled":k||void 0,children:[e.label,p(`button`,{type:`button`,disabled:k||e.fixed,className:d(`text-text-positive-muted absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-primary-weak`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:t=>{t.key===`Enter`&&$(e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(e),"aria-label":`Remove`,children:p(i,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),p(h.Input,{...P,ref:L,value:Y,disabled:k,onValueChange:e=>{X(e),P?.onValueChange?.(e)},onBlur:e=>{V||B(!1),P?.onBlur?.(e)},onFocus:e=>{B(!0),M&&C?.(Z),P?.onFocus?.(e)},placeholder:O&&G.length!==0?``:b,className:d(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":O,"px-3 py-2":G.length===0,"ml-1":G.length!==0},P?.className)}),p(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),g?.(G.filter(e=>e.fixed))},className:d(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-text-positive`,`focus-visible:outline-primary-weak`,(F||k||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:p(i,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),p(`div`,{className:`relative`,children:p(`div`,{className:d(`shadow-dropdown absolute top-2 z-10 w-full overflow-hidden rounded-lg`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-95`,`data-[state=open]:zoom-in-95`,!z&&`hidden`),"data-state":z?`open`:`closed`,children:z&&m(ee,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[I&&m(f,{children:[p(t,{}),p(n,{children:m(e,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:I,children:[p(ne,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?se:m(f,{children:[me(),pe(),!ue&&p(r,{value:`-`,className:`hidden`}),Object.entries(he).map(([e,t])=>p(n,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>p(r,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=E){D?.(G.length);return}let t=[...G,e];X(``),K(t),g?.(t)},className:d(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});b.displayName=`MultipleSelector`;export{b as MultipleSelector,_ as useDebounce};
|
|
2
2
|
//# sourceMappingURL=multi-select.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react133 from "react";
|
|
2
2
|
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
3
3
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -34,44 +34,44 @@ declare function NavigationMenu({
|
|
|
34
34
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
35
35
|
/** When false, the viewport animation panel is omitted (useful for inline menus). */
|
|
36
36
|
viewport?: boolean;
|
|
37
|
-
}):
|
|
37
|
+
}): react133.JSX.Element;
|
|
38
38
|
/** Horizontal list that holds NavigationMenuItems. */
|
|
39
39
|
declare function NavigationMenuList({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
42
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react133.JSX.Element;
|
|
43
43
|
/** A single navigation entry that may contain a trigger and a dropdown content panel. */
|
|
44
44
|
declare function NavigationMenuItem({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
47
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react133.JSX.Element;
|
|
48
48
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types5.ClassProp | undefined) => string;
|
|
49
49
|
/** Button that opens the associated NavigationMenuContent panel on focus or hover. */
|
|
50
50
|
declare function NavigationMenuTrigger({
|
|
51
51
|
className,
|
|
52
52
|
children,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
54
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react133.JSX.Element;
|
|
55
55
|
/** Dropdown content panel revealed when a NavigationMenuTrigger is activated. */
|
|
56
56
|
declare function NavigationMenuContent({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
59
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react133.JSX.Element;
|
|
60
60
|
/** Animated viewport container that hosts the active NavigationMenuContent. */
|
|
61
61
|
declare function NavigationMenuViewport({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
64
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react133.JSX.Element;
|
|
65
65
|
/** A styled link used inside NavigationMenuContent that highlights when active. */
|
|
66
66
|
declare function NavigationMenuLink({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
69
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react133.JSX.Element;
|
|
70
70
|
/** Small arrow indicator that points from the active NavigationMenuTrigger to its content panel. */
|
|
71
71
|
declare function NavigationMenuIndicator({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
74
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react133.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
77
77
|
//# sourceMappingURL=navigation-menu.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react219 from "react";
|
|
2
2
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/navigation-menu.d.ts
|
|
6
6
|
|
|
@@ -34,44 +34,44 @@ declare function NavigationMenu({
|
|
|
34
34
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
35
35
|
/** When false, the viewport animation panel is omitted (useful for inline menus). */
|
|
36
36
|
viewport?: boolean;
|
|
37
|
-
}):
|
|
37
|
+
}): react219.JSX.Element;
|
|
38
38
|
/** Horizontal list that holds NavigationMenuItems. */
|
|
39
39
|
declare function NavigationMenuList({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
42
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react219.JSX.Element;
|
|
43
43
|
/** A single navigation entry that may contain a trigger and a dropdown content panel. */
|
|
44
44
|
declare function NavigationMenuItem({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
48
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
47
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react219.JSX.Element;
|
|
48
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types9.ClassProp | undefined) => string;
|
|
49
49
|
/** Button that opens the associated NavigationMenuContent panel on focus or hover. */
|
|
50
50
|
declare function NavigationMenuTrigger({
|
|
51
51
|
className,
|
|
52
52
|
children,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
54
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react219.JSX.Element;
|
|
55
55
|
/** Dropdown content panel revealed when a NavigationMenuTrigger is activated. */
|
|
56
56
|
declare function NavigationMenuContent({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
59
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react219.JSX.Element;
|
|
60
60
|
/** Animated viewport container that hosts the active NavigationMenuContent. */
|
|
61
61
|
declare function NavigationMenuViewport({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
64
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react219.JSX.Element;
|
|
65
65
|
/** A styled link used inside NavigationMenuContent that highlights when active. */
|
|
66
66
|
declare function NavigationMenuLink({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
69
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react219.JSX.Element;
|
|
70
70
|
/** Small arrow indicator that points from the active NavigationMenuTrigger to its content panel. */
|
|
71
71
|
declare function NavigationMenuIndicator({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
74
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react219.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
77
77
|
//# sourceMappingURL=navigation-menu.d.mts.map
|
package/dist/ui/pagination.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-soF3CKai.cjs";
|
|
2
|
+
import * as react90 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
|
|
@@ -26,16 +26,16 @@ import * as react104 from "react";
|
|
|
26
26
|
declare function Pagination({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'nav'>):
|
|
29
|
+
}: React.ComponentProps<'nav'>): react90.JSX.Element;
|
|
30
30
|
/** Horizontal list that holds PaginationItem elements. */
|
|
31
31
|
declare function PaginationContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<'ul'>):
|
|
34
|
+
}: React.ComponentProps<'ul'>): react90.JSX.Element;
|
|
35
35
|
/** Wrapper `<li>` for a single pagination button or link. */
|
|
36
36
|
declare function PaginationItem({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<'li'>):
|
|
38
|
+
}: React.ComponentProps<'li'>): react90.JSX.Element;
|
|
39
39
|
type PaginationLinkProps = {
|
|
40
40
|
/** When true, the link is styled as the currently active page. */
|
|
41
41
|
isActive?: boolean;
|
|
@@ -46,22 +46,22 @@ declare function PaginationLink({
|
|
|
46
46
|
isActive,
|
|
47
47
|
size,
|
|
48
48
|
...props
|
|
49
|
-
}: PaginationLinkProps):
|
|
49
|
+
}: PaginationLinkProps): react90.JSX.Element;
|
|
50
50
|
/** "Previous page" navigation link with a left chevron icon. */
|
|
51
51
|
declare function PaginationPrevious({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
54
|
+
}: React.ComponentProps<typeof PaginationLink>): react90.JSX.Element;
|
|
55
55
|
/** "Next page" navigation link with a right chevron icon. */
|
|
56
56
|
declare function PaginationNext({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
59
|
+
}: React.ComponentProps<typeof PaginationLink>): react90.JSX.Element;
|
|
60
60
|
/** Ellipsis indicator rendered between non-adjacent page numbers. */
|
|
61
61
|
declare function PaginationEllipsis({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'span'>):
|
|
64
|
+
}: React.ComponentProps<'span'>): react90.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
67
67
|
//# sourceMappingURL=pagination.d.cts.map
|
package/dist/ui/pagination.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-DeBpvNFE.mjs";
|
|
2
|
+
import * as react62 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
|
|
@@ -26,16 +26,16 @@ import * as react257 from "react";
|
|
|
26
26
|
declare function Pagination({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'nav'>):
|
|
29
|
+
}: React.ComponentProps<'nav'>): react62.JSX.Element;
|
|
30
30
|
/** Horizontal list that holds PaginationItem elements. */
|
|
31
31
|
declare function PaginationContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<'ul'>):
|
|
34
|
+
}: React.ComponentProps<'ul'>): react62.JSX.Element;
|
|
35
35
|
/** Wrapper `<li>` for a single pagination button or link. */
|
|
36
36
|
declare function PaginationItem({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<'li'>):
|
|
38
|
+
}: React.ComponentProps<'li'>): react62.JSX.Element;
|
|
39
39
|
type PaginationLinkProps = {
|
|
40
40
|
/** When true, the link is styled as the currently active page. */
|
|
41
41
|
isActive?: boolean;
|
|
@@ -46,22 +46,22 @@ declare function PaginationLink({
|
|
|
46
46
|
isActive,
|
|
47
47
|
size,
|
|
48
48
|
...props
|
|
49
|
-
}: PaginationLinkProps):
|
|
49
|
+
}: PaginationLinkProps): react62.JSX.Element;
|
|
50
50
|
/** "Previous page" navigation link with a left chevron icon. */
|
|
51
51
|
declare function PaginationPrevious({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
54
|
+
}: React.ComponentProps<typeof PaginationLink>): react62.JSX.Element;
|
|
55
55
|
/** "Next page" navigation link with a right chevron icon. */
|
|
56
56
|
declare function PaginationNext({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
59
|
+
}: React.ComponentProps<typeof PaginationLink>): react62.JSX.Element;
|
|
60
60
|
/** Ellipsis indicator rendered between non-adjacent page numbers. */
|
|
61
61
|
declare function PaginationEllipsis({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'span'>):
|
|
64
|
+
}: React.ComponentProps<'span'>): react62.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
67
67
|
//# sourceMappingURL=pagination.d.mts.map
|
package/dist/ui/pagination.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{n as e}from"../button.variants-
|
|
1
|
+
"use client";import{n as e}from"../button.variants-B8aRZ52K.mjs";import{ChevronLeftIcon as t,ChevronRightIcon as n,MoreHorizontalIcon as r}from"lucide-react";import{cn as i}from"@customafk/react-toolkit/utils";import{jsx as a,jsxs as o}from"react/jsx-runtime";function s({className:e,...t}){return a(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:i(`mx-auto flex w-full justify-center`,e),...t})}function c({className:e,...t}){return a(`ul`,{"data-slot":`pagination-content`,className:i(`flex flex-row items-center gap-1`,e),...t})}function l({...e}){return a(`li`,{"data-slot":`pagination-item`,...e})}function u({className:t,isActive:n,size:r=`icon`,...o}){return a(`a`,{"aria-current":n?`page`:void 0,"data-slot":`pagination-link`,"data-active":n,className:i(e({variant:n?`outline`:`ghost`,size:r}),t),...o})}function d({className:e,...n}){return o(u,{"aria-label":`Go to previous page`,size:`default`,className:i(`gap-1 px-2.5 sm:pl-2.5`,e),...n,children:[a(t,{}),a(`span`,{className:`hidden sm:block`,children:`Previous`})]})}function f({className:e,...t}){return o(u,{"aria-label":`Go to next page`,size:`default`,className:i(`gap-1 px-2.5 sm:pr-2.5`,e),...t,children:[a(`span`,{className:`hidden sm:block`,children:`Next`}),a(n,{})]})}function p({className:e,...t}){return o(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:i(`flex size-9 items-center justify-center`,e),...t,children:[a(r,{className:`size-4`}),a(`span`,{className:`sr-only`,children:`More pages`})]})}export{s as Pagination,c as PaginationContent,p as PaginationEllipsis,l as PaginationItem,u as PaginationLink,f as PaginationNext,d as PaginationPrevious};
|
|
2
2
|
//# sourceMappingURL=pagination.mjs.map
|
package/dist/ui/popover.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../close-DUBEKxhw.cjs`);const e=require(`../popover-
|
|
1
|
+
"use client";require(`../close-DUBEKxhw.cjs`);const e=require(`../popover-DACS7x0e.cjs`);exports.Popover=e.t,exports.PopoverAnchor=e.n,exports.PopoverClose=e.r,exports.PopoverContent=e.i,exports.PopoverTrigger=e.a;
|
package/dist/ui/popover.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react56 from "react";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
@@ -26,27 +26,27 @@ import { Popover as Popover$1 } from "radix-ui";
|
|
|
26
26
|
*/
|
|
27
27
|
declare function Popover({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react56.JSX.Element;
|
|
30
30
|
/** Element that opens or closes the popover on click; use `asChild` to render a custom trigger element. */
|
|
31
31
|
declare function PopoverTrigger({
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
33
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react56.JSX.Element;
|
|
34
34
|
/** Floating content panel rendered in a portal, matching the trigger width and animated on open/close. */
|
|
35
35
|
declare function PopoverContent({
|
|
36
36
|
className,
|
|
37
37
|
align,
|
|
38
38
|
sideOffset,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
40
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react56.JSX.Element;
|
|
41
41
|
/** Optional anchor element that overrides the trigger as the popover's positioning reference point. */
|
|
42
42
|
declare function PopoverAnchor({
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
44
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react56.JSX.Element;
|
|
45
45
|
/** Close button pre-positioned at the top-right corner of `PopoverContent` using the shared `CloseButton` primitive. */
|
|
46
46
|
declare function PopoverClose({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof Popover$1.Close>):
|
|
49
|
+
}: React.ComponentProps<typeof Popover$1.Close>): react56.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
|
|
52
52
|
//# sourceMappingURL=popover.d.cts.map
|
package/dist/ui/popover.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react84 from "react";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
@@ -26,27 +26,27 @@ import { Popover as Popover$1 } from "radix-ui";
|
|
|
26
26
|
*/
|
|
27
27
|
declare function Popover({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react84.JSX.Element;
|
|
30
30
|
/** Element that opens or closes the popover on click; use `asChild` to render a custom trigger element. */
|
|
31
31
|
declare function PopoverTrigger({
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
33
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react84.JSX.Element;
|
|
34
34
|
/** Floating content panel rendered in a portal, matching the trigger width and animated on open/close. */
|
|
35
35
|
declare function PopoverContent({
|
|
36
36
|
className,
|
|
37
37
|
align,
|
|
38
38
|
sideOffset,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
40
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react84.JSX.Element;
|
|
41
41
|
/** Optional anchor element that overrides the trigger as the popover's positioning reference point. */
|
|
42
42
|
declare function PopoverAnchor({
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
44
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react84.JSX.Element;
|
|
45
45
|
/** Close button pre-positioned at the top-right corner of `PopoverContent` using the shared `CloseButton` primitive. */
|
|
46
46
|
declare function PopoverClose({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof Popover$1.Close>):
|
|
49
|
+
}: React.ComponentProps<typeof Popover$1.Close>): react84.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
|
|
52
52
|
//# sourceMappingURL=popover.d.mts.map
|
package/dist/ui/popover.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../close-
|
|
1
|
+
"use client";import"../close-DTBepcqW.mjs";import{a as e,i as t,n,r,t as i}from"../popover-BXktOcLz.mjs";export{i as Popover,n as PopoverAnchor,r as PopoverClose,t as PopoverContent,e as PopoverTrigger};
|
package/dist/ui/progress.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react97 from "react";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -17,7 +17,7 @@ declare function Progress({
|
|
|
17
17
|
className,
|
|
18
18
|
value,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
20
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react97.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Progress };
|
|
23
23
|
//# sourceMappingURL=progress.d.cts.map
|
package/dist/ui/progress.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react267 from "react";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -17,7 +17,7 @@ declare function Progress({
|
|
|
17
17
|
className,
|
|
18
18
|
value,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
20
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react267.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Progress };
|
|
23
23
|
//# sourceMappingURL=progress.d.mts.map
|
package/dist/ui/progress.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"../progress-
|
|
1
|
+
"use client";import{t as e}from"../progress-bJYAFoHE.mjs";export{e as Progress};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react183 from "react";
|
|
2
2
|
import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/radio-group.d.ts
|
|
@@ -26,12 +26,12 @@ import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
|
26
26
|
declare function RadioGroup({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof RadioGroup$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof RadioGroup$1.Root>): react183.JSX.Element;
|
|
30
30
|
/** Individual radio button within a `RadioGroup`; shows a filled circle indicator when selected. */
|
|
31
31
|
declare function RadioGroupItem({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof RadioGroup$1.Item>):
|
|
34
|
+
}: React.ComponentProps<typeof RadioGroup$1.Item>): react183.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RadioGroup, RadioGroupItem };
|
|
37
37
|
//# sourceMappingURL=radio-group.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react284 from "react";
|
|
2
2
|
import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/radio-group.d.ts
|
|
@@ -26,12 +26,12 @@ import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
|
26
26
|
declare function RadioGroup({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof RadioGroup$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof RadioGroup$1.Root>): react284.JSX.Element;
|
|
30
30
|
/** Individual radio button within a `RadioGroup`; shows a filled circle indicator when selected. */
|
|
31
31
|
declare function RadioGroupItem({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof RadioGroup$1.Item>):
|
|
34
|
+
}: React.ComponentProps<typeof RadioGroup$1.Item>): react284.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RadioGroup, RadioGroupItem };
|
|
37
37
|
//# sourceMappingURL=radio-group.d.mts.map
|
package/dist/ui/radio-group.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"../radio-group-
|
|
1
|
+
"use client";import{n as e,t}from"../radio-group-CTILro-C.mjs";export{t as RadioGroup,e as RadioGroupItem};
|
package/dist/ui/resizable.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react46 from "react";
|
|
2
2
|
import * as node_modules_react_resizable_panels_dist_declarations_src_types0 from "node_modules/react-resizable-panels/dist/declarations/src/types";
|
|
3
3
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
4
4
|
|
|
@@ -20,7 +20,7 @@ type TResizableHandle = React.ComponentProps<typeof ResizablePrimitive.PanelResi
|
|
|
20
20
|
* </ResizablePanelGroup>
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
declare const ResizablePanelGroup:
|
|
23
|
+
declare const ResizablePanelGroup: react46.NamedExoticComponent<Omit<react46.HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> & {
|
|
24
24
|
autoSaveId?: string | null;
|
|
25
25
|
className?: string;
|
|
26
26
|
direction: node_modules_react_resizable_panels_dist_declarations_src_types0.Direction;
|
|
@@ -28,14 +28,14 @@ declare const ResizablePanelGroup: react217.NamedExoticComponent<Omit<react217.H
|
|
|
28
28
|
keyboardResizeBy?: number | null;
|
|
29
29
|
onLayout?: ResizablePrimitive.PanelGroupOnLayout | null;
|
|
30
30
|
storage?: ResizablePrimitive.PanelGroupStorage;
|
|
31
|
-
style?:
|
|
31
|
+
style?: react46.CSSProperties;
|
|
32
32
|
tagName?: keyof HTMLElementTagNameMap;
|
|
33
33
|
dir?: "auto" | "ltr" | "rtl" | undefined;
|
|
34
34
|
} & {
|
|
35
|
-
children?:
|
|
36
|
-
} &
|
|
35
|
+
children?: react46.ReactNode | undefined;
|
|
36
|
+
} & react46.RefAttributes<ResizablePrimitive.ImperativePanelGroupHandle>>;
|
|
37
37
|
/** An individual resizable panel within a ResizablePanelGroup. */
|
|
38
|
-
declare const ResizablePanel:
|
|
38
|
+
declare const ResizablePanel: react46.NamedExoticComponent<Omit<react46.HTMLAttributes<HTMLParagraphElement | HTMLElement | HTMLInputElement | HTMLObjectElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLButtonElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLSpanElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement>, "id" | "onResize"> & {
|
|
39
39
|
className?: string;
|
|
40
40
|
collapsedSize?: number | undefined;
|
|
41
41
|
collapsible?: boolean | undefined;
|
|
@@ -50,14 +50,14 @@ declare const ResizablePanel: react217.NamedExoticComponent<Omit<react217.HTMLAt
|
|
|
50
50
|
style?: object;
|
|
51
51
|
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
52
52
|
} & {
|
|
53
|
-
children?:
|
|
54
|
-
} &
|
|
53
|
+
children?: react46.ReactNode | undefined;
|
|
54
|
+
} & react46.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
55
55
|
/**
|
|
56
56
|
* The drag handle placed between two ResizablePanels to resize them.
|
|
57
57
|
*
|
|
58
58
|
* @param withHandle - When true, renders a visible grip icon centered on the handle.
|
|
59
59
|
*/
|
|
60
|
-
declare const ResizableHandle:
|
|
60
|
+
declare const ResizableHandle: react46.NamedExoticComponent<TResizableHandle>;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
63
63
|
//# sourceMappingURL=resizable.d.cts.map
|