@customafk/lunas-ui 0.2.20 → 0.2.21
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-iwPuxYjG.d.cts → alert-BVAbQWFI.d.cts} +7 -7
- package/dist/{alert-Dn5x8pBc.mjs → alert-C-Y4ZWNd.mjs} +1 -1
- package/dist/{alert-Dn5x8pBc.mjs.map → alert-C-Y4ZWNd.mjs.map} +1 -1
- package/dist/{alert-CwIH3Hkd.d.mts → alert-CSWXGnl2.d.mts} +7 -7
- package/dist/{avatar-5LzTjIjo.mjs → avatar-SJmvlfqm.mjs} +1 -1
- package/dist/{avatar-5LzTjIjo.mjs.map → avatar-SJmvlfqm.mjs.map} +1 -1
- package/dist/{badge-DBsYYM8d.d.cts → badge-BnpWeeM-.d.cts} +5 -5
- package/dist/{badge-DYcJtNU0.mjs → badge-DSwkF4C4.mjs} +1 -1
- package/dist/{badge-DYcJtNU0.mjs.map → badge-DSwkF4C4.mjs.map} +1 -1
- package/dist/{badge-CINaZwOW.d.mts → badge-DjmK3DTo.d.mts} +3 -3
- package/dist/{button-DPABon17.mjs → button-Bc8L9sFb.mjs} +2 -2
- package/dist/{button-DPABon17.mjs.map → button-Bc8L9sFb.mjs.map} +1 -1
- package/dist/{button-UgIAM1cP.d.cts → button-BxGWLI9o.d.cts} +5 -5
- package/dist/{button-DdwLbwWQ.d.mts → button-DxWrJ_EO.d.mts} +5 -5
- package/dist/{button.variants-B8KCLWPT.mjs → button.variants-CwcJHcI5.mjs} +1 -1
- package/dist/{button.variants-B8KCLWPT.mjs.map → button.variants-CwcJHcI5.mjs.map} +1 -1
- package/dist/{calendar-DJnuujFC.mjs → calendar-C2psGpju.mjs} +2 -2
- package/dist/{calendar-DJnuujFC.mjs.map → calendar-C2psGpju.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-dDSDiwLB.mjs → checkbox-Bwy_4QS_.mjs} +1 -1
- package/dist/{checkbox-dDSDiwLB.mjs.map → checkbox-Bwy_4QS_.mjs.map} +1 -1
- package/dist/{close-BcOkVqd8.mjs → close-BS6EeCrQ.mjs} +1 -1
- package/dist/{close-BcOkVqd8.mjs.map → close-BS6EeCrQ.mjs.map} +1 -1
- package/dist/{cms-layout-CujBx9FA.mjs → cms-layout-DCODI3eE.mjs} +2 -2
- package/dist/{cms-layout-CujBx9FA.mjs.map → cms-layout-DCODI3eE.mjs.map} +1 -1
- package/dist/{command-B8y4H5q5.mjs → command-B5DpL6OG.mjs} +2 -2
- package/dist/{command-B8y4H5q5.mjs.map → command-B5DpL6OG.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.mts +2 -2
- package/dist/data-display/user.mjs +1 -1
- package/dist/{date-C76vNHGL.mjs → date-D_nB7Lh1.mjs} +1 -1
- package/dist/{date-C76vNHGL.mjs.map → date-D_nB7Lh1.mjs.map} +1 -1
- package/dist/{dialog-HXH3FYKH.d.cts → dialog-D28jTUyP.d.cts} +12 -12
- package/dist/{dialog-dqqupmOT.mjs → dialog-DG4vMCr5.mjs} +2 -2
- package/dist/{dialog-dqqupmOT.mjs.map → dialog-DG4vMCr5.mjs.map} +1 -1
- package/dist/{dialog-CfbtCisP.d.mts → dialog-Fcy96kRf.d.mts} +12 -12
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
- 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.mjs +1 -1
- package/dist/{dist-DPEjz4kv.mjs → dist-XxWAVHy8.mjs} +1 -1
- package/dist/{dist-DPEjz4kv.mjs.map → dist-XxWAVHy8.mjs.map} +1 -1
- package/dist/{dropdown-menu-BocQ2Vev.mjs → dropdown-menu-BlsIwe4B.mjs} +1 -1
- package/dist/{dropdown-menu-BocQ2Vev.mjs.map → dropdown-menu-BlsIwe4B.mjs.map} +1 -1
- package/dist/features/descriptions/index.d.cts +5 -5
- package/dist/features/descriptions/index.d.mts +5 -5
- package/dist/features/descriptions/index.mjs +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.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.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-DaZocB_E.mjs → field-Mn2bf2Ns.mjs} +2 -2
- package/dist/{field-DaZocB_E.mjs.map → field-Mn2bf2Ns.mjs.map} +1 -1
- package/dist/{flex-zl_w1yeZ.mjs → flex-Br7F9Fln.mjs} +1 -1
- package/dist/{flex-zl_w1yeZ.mjs.map → flex-Br7F9Fln.mjs.map} +1 -1
- package/dist/{heading-D8K7UGv2.mjs → heading-BnaNuvDS.mjs} +1 -1
- package/dist/{heading-D8K7UGv2.mjs.map → heading-BnaNuvDS.mjs.map} +1 -1
- package/dist/{image-WRAFECmc.mjs → image-C-CdKKP1.mjs} +2 -2
- package/dist/{image-WRAFECmc.mjs.map → image-C-CdKKP1.mjs.map} +1 -1
- package/dist/{index-DWGlOnex.d.cts → index--EqgvW4c.d.cts} +29 -29
- package/dist/{index-D09-9eQ8.d.cts → index-CST_ZBzY.d.mts} +294 -294
- package/dist/{index-Dn6FVL5X.d.cts → index-CrnEUjWU.d.mts} +6 -6
- package/dist/{index-DXXR4oq-.d.mts → index-DYKVk2cJ.d.cts} +102 -102
- package/dist/{index-BreahdZP.d.mts → index-DtwMtKUS.d.mts} +9 -9
- package/dist/{index-3ZBP9XKI.d.mts → index-y3v1_4XZ.d.cts} +6 -6
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +13 -10
- package/dist/index.d.mts +13 -10
- package/dist/index.mjs +1 -1
- package/dist/{input-BpTmuYnJ.d.mts → input-CK10I74-.d.cts} +5 -5
- package/dist/{input-BTm2GrZP.mjs → input-DLRypEj3.mjs} +1 -1
- package/dist/{input-BTm2GrZP.mjs.map → input-DLRypEj3.mjs.map} +1 -1
- package/dist/{input-DjEul_uK.d.cts → input-DP5cYLNw.d.mts} +5 -5
- package/dist/{label-BC2u42kJ.mjs → label-BukQnBn7.mjs} +1 -1
- package/dist/{label-BC2u42kJ.mjs.map → label-BukQnBn7.mjs.map} +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.mts +4 -4
- package/dist/layouts/flex.mjs +1 -1
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.d.cts +17 -2
- package/dist/layouts/payment-layout/index.d.mts +17 -2
- 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 +2 -0
- package/dist/pages/LoginPage.cjs.map +1 -0
- package/dist/pages/LoginPage.d.cts +55 -0
- package/dist/pages/LoginPage.d.mts +55 -0
- package/dist/pages/LoginPage.mjs +2 -0
- package/dist/pages/LoginPage.mjs.map +1 -0
- 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 +2 -0
- package/dist/pages/RegisterPage.cjs.map +1 -0
- package/dist/pages/RegisterPage.d.cts +52 -0
- package/dist/pages/RegisterPage.d.mts +52 -0
- package/dist/pages/RegisterPage.mjs +2 -0
- package/dist/pages/RegisterPage.mjs.map +1 -0
- package/dist/pages/VerifyEmailPage.cjs +2 -0
- package/dist/pages/VerifyEmailPage.cjs.map +1 -0
- package/dist/pages/VerifyEmailPage.d.cts +64 -0
- package/dist/pages/VerifyEmailPage.d.mts +64 -0
- package/dist/pages/VerifyEmailPage.mjs +2 -0
- package/dist/pages/VerifyEmailPage.mjs.map +1 -0
- package/dist/{paragraph-jzLzzEYZ.mjs → paragraph-CnHNC0rS.mjs} +1 -1
- package/dist/{paragraph-jzLzzEYZ.mjs.map → paragraph-CnHNC0rS.mjs.map} +1 -1
- package/dist/payment-layout-0mqqno1V.cjs +2 -0
- package/dist/payment-layout-0mqqno1V.cjs.map +1 -0
- package/dist/payment-layout-ClqGIxV7.mjs +2 -0
- package/dist/payment-layout-ClqGIxV7.mjs.map +1 -0
- package/dist/{popover-HZvZNeka.mjs → popover-DvGJ23lJ.mjs} +2 -2
- package/dist/{popover-HZvZNeka.mjs.map → popover-DvGJ23lJ.mjs.map} +1 -1
- package/dist/{progress-CgQ13rSf.mjs → progress-2G9rCupJ.mjs} +1 -1
- package/dist/{progress-CgQ13rSf.mjs.map → progress-2G9rCupJ.mjs.map} +1 -1
- package/dist/{radio-group-BN5y5gZY.mjs → radio-group-fN6o0QBx.mjs} +1 -1
- package/dist/{radio-group-BN5y5gZY.mjs.map → radio-group-fN6o0QBx.mjs.map} +1 -1
- package/dist/{resizable-CLUR91Hx.mjs → resizable-BxsL978e.mjs} +1 -1
- package/dist/{resizable-CLUR91Hx.mjs.map → resizable-BxsL978e.mjs.map} +1 -1
- package/dist/{search-modal-Dz7rfifb.mjs → search-modal-DZI6O6ua.mjs} +2 -2
- package/dist/{search-modal-Dz7rfifb.mjs.map → search-modal-DZI6O6ua.mjs.map} +1 -1
- package/dist/{select-1Z1p9bmp.mjs → select-Ze8Fq88G.mjs} +1 -1
- package/dist/{select-1Z1p9bmp.mjs.map → select-Ze8Fq88G.mjs.map} +1 -1
- package/dist/{separator-DVI2h_rd.mjs → separator-DXnFHf3v.mjs} +1 -1
- package/dist/{separator-DVI2h_rd.mjs.map → separator-DXnFHf3v.mjs.map} +1 -1
- package/dist/{sheet-BRXYSJDv.mjs → sheet-GUUifKAd.mjs} +1 -1
- package/dist/{sheet-BRXYSJDv.mjs.map → sheet-GUUifKAd.mjs.map} +1 -1
- package/dist/{sidebar-QPaK3ryM.mjs → sidebar-C_jArO1q.mjs} +2 -2
- package/dist/{sidebar-QPaK3ryM.mjs.map → sidebar-C_jArO1q.mjs.map} +1 -1
- package/dist/{skeleton-CZVkWN4p.mjs → skeleton-BLwzHejl.mjs} +1 -1
- package/dist/{skeleton-CZVkWN4p.mjs.map → skeleton-BLwzHejl.mjs.map} +1 -1
- package/dist/{spinner-DkmcGiVT.mjs → spinner-BaZ19Lla.mjs} +1 -1
- package/dist/{spinner-DkmcGiVT.mjs.map → spinner-BaZ19Lla.mjs.map} +1 -1
- package/dist/{tables-BZ5jLRGG.mjs → tables-BZQ6E523.mjs} +2 -2
- package/dist/{tables-BZ5jLRGG.mjs.map → tables-BZQ6E523.mjs.map} +1 -1
- package/dist/{tanstack-form-Sqj9ZD9z.mjs → tanstack-form-C1EVQJ-n.mjs} +2 -2
- package/dist/{tanstack-form-Sqj9ZD9z.mjs.map → tanstack-form-C1EVQJ-n.mjs.map} +1 -1
- package/dist/{text-editor-BLK_EeiU.mjs → text-editor-ae2UTKW8.mjs} +1 -1
- package/dist/{text-editor-BLK_EeiU.mjs.map → text-editor-ae2UTKW8.mjs.map} +1 -1
- package/dist/{textarea-D2ILgz82.mjs → textarea-CEtUNLwy.mjs} +1 -1
- package/dist/{textarea-D2ILgz82.mjs.map → textarea-CEtUNLwy.mjs.map} +1 -1
- package/dist/{tooltip-C7UhtrFf.mjs → tooltip-Cy0HbyAx.mjs} +1 -1
- package/dist/{tooltip-C7UhtrFf.mjs.map → tooltip-Cy0HbyAx.mjs.map} +1 -1
- package/dist/{types-BonWRhox.d.mts → types-CLkAmCre.d.cts} +1 -1
- package/dist/{types-COppLTPh.mjs → types-CuAlMviO.mjs} +1 -1
- package/dist/{types-COppLTPh.mjs.map → types-CuAlMviO.mjs.map} +1 -1
- package/dist/{types-CILbFL3j.d.cts → types-wApFGHmV.d.mts} +1 -1
- package/dist/typography/paragraph.d.cts +3 -3
- package/dist/typography/paragraph.d.mts +5 -5
- package/dist/typography/paragraph.mjs +1 -1
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- 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 +4 -4
- 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.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.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/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 +7 -7
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.mts +13 -13
- 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.d.cts +11 -11
- package/dist/ui/form.d.mts +11 -11
- 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 +14 -14
- package/dist/ui/item.d.mts +11 -11
- package/dist/ui/item.mjs +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.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 +11 -11
- package/dist/ui/navigation-menu.d.mts +9 -9
- 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.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 +1 -1
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.mts +6 -6
- 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/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/sidebar.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/table.d.cts +18 -18
- package/dist/ui/table.d.mts +18 -18
- 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 +4 -4
- package/dist/ui/toggle.d.mts +4 -4
- 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-DIEH54XW.mjs → user-DxSilm4V.mjs} +2 -2
- package/dist/{user-DIEH54XW.mjs.map → user-DxSilm4V.mjs.map} +1 -1
- package/package.json +13 -1
- package/dist/payment-layout-BKJ5xJra.mjs +0 -2
- package/dist/payment-layout-BKJ5xJra.mjs.map +0 -1
- package/dist/payment-layout-CcMvKPaX.cjs +0 -2
- package/dist/payment-layout-CcMvKPaX.cjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{t as e}from"../../paragraph-jzLzzEYZ.mjs";import"../../skeleton-CZVkWN4p.mjs";import{t}from"../../image-WRAFECmc.mjs";import"../../flex-zl_w1yeZ.mjs";import{t as n}from"../../date-C76vNHGL.mjs";import{t as r}from"../../badge-DYcJtNU0.mjs";import{i,n as a,r as o,t as s}from"../../tooltip-C7UhtrFf.mjs";import"../../avatar-5LzTjIjo.mjs";import{t as c}from"../../user-DIEH54XW.mjs";import{CheckIcon as l,CopyIcon as u,ExternalLinkIcon as d,LinkIcon as f}from"lucide-react";import{createContext as p,memo as m,useCallback as h,useContext as g,useMemo as _,useState as v}from"react";import{jsx as y,jsxs as b}from"react/jsx-runtime";import{cn as x}from"@customafk/react-toolkit/utils";import{cva as S}from"class-variance-authority";const C=()=>y(`span`,{"data-slot":`description-empty`,"aria-label":`Empty value`,className:`select-none font-medium text-sm text-text-positive-muted`,children:`—`}),w=({label:e,color:t=`secondary`,variant:n=`soft`,size:i=`sm`})=>e?y(r,{"data-slot":`description-badge`,color:t,variant:n,size:i,children:e}):y(C,{}),T=({value:e,trueLabel:t=`Yes`,falseLabel:n=`No`})=>e==null?y(C,{}):y(r,{"data-slot":`description-boolean`,variant:`soft`,color:e?`success`:`danger`,size:`sm`,children:e?t:n}),E=({value:e,truncate:t=!0})=>{let[n,r]=v(!1),i=h(async()=>{e&&(await navigator.clipboard.writeText(e),r(!0),setTimeout(()=>r(!1),1500))},[e]);return e?b(`button`,{type:`button`,"data-slot":`description-copy`,onClick:i,className:x(`group inline-flex max-w-full cursor-pointer items-center gap-1.5 rounded-sm border border-border-weak bg-secondary-muted px-2 py-0.5 font-mono text-xs text-text-positive-weak transition-[border-color,color,box-shadow] hover:border-border hover:text-text-positive hover:shadow-xs`,t&&`min-w-0`),children:[y(`span`,{className:x(`tabular-nums`,t&&`truncate`),children:e}),n?y(l,{size:12,className:`shrink-0 text-success`}):y(u,{size:12,className:`shrink-0 opacity-50 group-hover:opacity-100`})]}):y(C,{})},D=({date:e})=>e==null?y(C,{}):y(o,{children:b(s,{children:[y(i,{asChild:!0,children:y(n,{"data-slot":`description-date`,date:e,format:`medium`,className:`cursor-help underline decoration-dashed decoration-border-strong underline-offset-2`})}),y(a,{children:y(n,{date:e,format:`full`,showTime:!0,className:`text-xs font-medium`})})]})}),O=({images:e})=>{if(!e?.length)return y(C,{});let n=e.length===1;return y(`div`,{"data-slot":`description-images`,className:`flex flex-wrap gap-4`,children:e.map(e=>y(`div`,{className:n?`group relative size-42 overflow-hidden rounded-sm border border-border shadow-xs transition-shadow hover:shadow-card`:`group relative size-16 overflow-hidden rounded-lg border border-border shadow-xs transition-shadow hover:shadow-card`,children:y(t,{src:e.src,alt:e.alt,width:`100%`,height:`100%`,className:`transition-transform duration-200 group-hover:scale-105`})},e.id))})},k=({href:e,label:t,external:n=!0,className:r})=>e?b(`a`,{"data-slot":`description-link`,href:e,target:n?`_blank`:void 0,rel:n?`noopener noreferrer`:void 0,className:x(`inline-flex max-w-full items-center gap-1 text-sm text-primary underline decoration-dashed underline-offset-2 transition-colors hover:text-primary-strong hover:decoration-solid`,r),children:[!n&&y(f,{size:12,className:`shrink-0 opacity-70`}),y(`span`,{className:`truncate`,children:t??e}),n&&y(d,{size:12,className:`shrink-0 opacity-70`})]}):y(C,{}),A=({content:t})=>t==null?y(C,{}):b(s,{children:[y(i,{asChild:!0,children:y(e,{"data-slot":`description-longtext`,variant:`sm`,className:`line-clamp-2 cursor-pointer whitespace-pre-line break-all text-start text-sm underline decoration-dashed decoration-border-strong underline-offset-2`,children:t})}),y(a,{align:`start`,className:`h-fit min-w-48 max-w-80 pt-4`,children:b(`div`,{className:`flex flex-col gap-y-2`,children:[y(`p`,{className:`whitespace-pre-line text-wrap break-keep`,children:t}),b(`p`,{className:`w-full text-end text-text-positive-subtle`,children:[t.toString().length,` chars`]})]})})]}),j=({name:t})=>t?b(s,{children:[y(i,{asChild:!0,children:y(e,{"data-slot":`description-name`,variant:`sm`,className:`line-clamp-2 w-full cursor-pointer truncate underline decoration-dashed decoration-border-strong underline-offset-2`,children:t})}),y(a,{align:`start`,className:`h-fit min-w-48 max-w-80 pt-4`,children:b(`div`,{className:`flex flex-col gap-y-2`,children:[y(`p`,{className:`whitespace-pre-line text-wrap break-keep`,children:t}),b(`p`,{className:`w-full text-end text-text-positive-subtle`,children:[t.length,` chars`]})]})})]}):y(C,{}),M=({value:t})=>b(s,{children:[y(i,{"data-slot":`description-phone`,children:y(e,{variant:`sm`,className:`tabular-nums transition-colors`,children:t.replace(/(\d{3})(\d{3})(\d{4})/,`($1) $2-$3`)})}),y(a,{align:`start`,children:y(`p`,{className:`tabular-nums`,children:t.slice(1).replace(/(\d{2})(\d{3})(\d{4})/,`(00) (+84) ($1) $2-$3`)})})]}),N=(e,t,n)=>{let r=10**t;switch(n){case`floor`:return Math.floor(e*r)/r;case`ceil`:return Math.ceil(e*r)/r;default:return Math.round(e*r)/r}},P=S(`inline-flex items-center gap-1 font-number tabular-nums transition-colors`,{variants:{size:{xs:`text-xs`,sm:`text-sm`,md:`text-base`,lg:`text-lg`,xl:`text-xl`},trend:{neutral:`text-text-positive`,up:`text-success`,down:`text-danger`}},defaultVariants:{size:`sm`,trend:`neutral`}}),F=m(({decimalSeparator:e=`.`,groupSeparator:t=`,`,prefix:n,suffix:r,precision:i,roundingMode:a=`round`,showTrailingZeros:o=!1,size:s=`sm`,trend:c=`neutral`,value:l=0,className:u})=>{let d=_(()=>{let e={};return typeof i==`number`&&i>=0&&(o&&(e.minimumFractionDigits=i),e.maximumFractionDigits=i),e},[i,o]),f=h(e=>{let t=e;return typeof i==`number`&&i>=0&&(t=N(e,i,a)),t.toLocaleString(`en-US`,d)},[a,d,i]),p=_(()=>{if(typeof l==`number`)return Number.isNaN(l)||!Number.isFinite(l)?`N/A`:f(l);if(typeof l==`string`){let e=l.trim();if(!e)return`N/A`;let t=Number(e);return Number.isNaN(t)||!Number.isFinite(t)?`N/A`:f(t)}return`N/A`},[l,f]),m=_(()=>e===`.`&&t===`,`?p:p.replace(/,/g,t).replace(/\./g,e),[p,e,t]);return m===`0`||m===`N/A`||!m?y(C,{}):b(`div`,{"data-slot":`description-statistic`,className:x(P({size:s,trend:c}),u),children:[n&&y(`span`,{"data-slot":`description-statistic-prefix`,children:n}),y(`p`,{"data-slot":`description-statistic-value`,children:m}),r&&y(`span`,{"data-slot":`description-statistic-suffix`,children:r})]})});F.displayName=`DescriptionStatistic`;const I={primary:`bg-primary`,secondary:`bg-secondary`,muted:`bg-muted`,accent:`bg-accent`,info:`bg-info`,success:`bg-success`,warning:`bg-warning`,danger:`bg-danger`},L=({label:e,color:t=`info`,dot:n=!0})=>e?b(r,{"data-slot":`description-status`,variant:`soft`,color:t,size:`sm`,className:`gap-1.5`,children:[n&&y(`span`,{className:x(`inline-block size-1.5 shrink-0 rounded-full`,I[t])}),e]}):y(C,{}),R=({tags:e,max:t=5,color:n=`secondary`,variant:i=`soft`})=>{if(!e?.length)return y(C,{});let a=e.slice(0,t),o=e.length-a.length;return b(`div`,{"data-slot":`description-tag-list`,className:`flex flex-wrap gap-1`,children:[a.map((e,t)=>y(r,{variant:i,color:n,size:`sm`,children:e},t)),o>0&&b(r,{variant:`outline`,color:`muted`,size:`sm`,children:[`+`,o]})]})},z=({uuid:e,username:t,email:n})=>!e||!t||!n?y(C,{}):y(c,{uuid:e,username:t,email:n}),B=p(!1),V=({label:e,labelColSpan:t=3,orientation:n=`horizontal`,action:r,children:i})=>n===`vertical`?b(`div`,{"data-slot":`description-item`,className:`flex flex-col border-b border-b-border last:border-b-0`,children:[b(`div`,{"data-slot":`description-item-label`,className:`flex items-center justify-between border-b border-b-border bg-secondary-muted py-2 pr-2 pl-4 text-sm font-medium text-text-positive-weak`,children:[y(`span`,{children:e}),r&&y(`div`,{className:`shrink-0`,children:r})]}),y(`div`,{"data-slot":`description-item-value`,className:`flex flex-wrap items-center gap-2 py-3 pr-2 pl-4 text-sm text-text-positive`,children:i})]}):b(`div`,{"data-slot":`description-item`,style:{display:`grid`,gridTemplateColumns:`repeat(12, minmax(0, 1fr))`},className:`grid border-b border-b-border last:border-b-0`,children:[b(`div`,{"data-slot":`description-item-label`,style:{gridColumn:`span ${t} / span ${t}`},className:`flex min-w-full items-center justify-between overflow-x-hidden text-wrap break-all border-r border-r-border bg-secondary-muted py-3 pr-2 pl-4 text-sm font-medium text-text-positive-weak tabular-nums`,children:[y(`span`,{children:e}),r&&y(`div`,{className:`shrink-0 pr-1`,children:r})]}),y(`div`,{"data-slot":`description-item-value`,style:{gridColumn:`span ${12-t} / span ${12-t}`},className:`flex flex-wrap items-center gap-2 py-3 pr-2 pl-4 text-sm text-text-positive`,children:i})]}),H=({title:e,description:t,extra:n,className:r})=>b(`div`,{"data-slot":`description-header`,className:x(`sticky top-0 z-10 flex items-start justify-between gap-4 border-b border-b-border bg-card px-4 py-3`,r),children:[b(`div`,{className:`flex flex-col gap-0.5`,children:[y(`p`,{className:`text-sm font-semibold text-text-positive`,children:e}),t&&y(`p`,{className:`text-xs text-text-positive-weak`,children:t})]}),n&&y(`div`,{className:`shrink-0`,children:n})]}),U=({title:e,className:t})=>b(`div`,{"data-slot":`description-section`,className:x(`flex items-center gap-3 border-b border-b-border bg-secondary-muted px-4 py-2`,t),children:[e&&y(`p`,{className:`text-xs font-semibold uppercase tracking-wide text-text-positive-muted`,children:e}),y(`div`,{className:`h-px flex-1 bg-border-weak`})]}),W=({rows:e})=>b(`div`,{"data-slot":`description-loading`,className:`animate-pulse`,children:[b(`div`,{className:`flex items-center justify-between border-b border-b-border px-4 py-3`,children:[b(`div`,{className:`flex flex-col gap-1.5`,children:[y(`div`,{className:`h-3.5 w-36 rounded bg-border`}),y(`div`,{className:`h-2.5 w-24 rounded bg-border-weak`})]}),y(`div`,{className:`h-5 w-16 rounded bg-border-weak`})]}),Array.from({length:e}).map((e,t)=>b(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(12, minmax(0, 1fr))`},className:`grid border-b border-b-border last:border-b-0`,children:[y(`div`,{style:{gridColumn:`span 3 / span 3`},className:`flex items-center border-r border-r-border bg-secondary-muted py-3 pl-4 pr-2`,children:y(`div`,{className:`h-3 w-20 rounded bg-border`})}),y(`div`,{style:{gridColumn:`span 9 / span 9`},className:`flex items-center py-3 pl-4 pr-2`,children:y(`div`,{className:`h-3 w-28 rounded bg-border-weak`})})]},t))]}),G=({children:e,className:t,nested:n=!1,loading:r=!1,loadingRows:i=4})=>{let a=g(B);return y(`div`,{"data-slot":`description`,className:x(`relative flex flex-col bg-card`,a?`border-b border-b-border last:border-b-0`:n?`w-full overflow-hidden rounded-md border border-border`:`size-full overflow-y-auto rounded-lg border border-border shadow-card ring-1 ring-border-weak`,t),children:r?y(W,{rows:i}):e})},K=({children:e,className:t})=>y(B.Provider,{value:!0,children:y(`div`,{"data-slot":`description-group`,className:x(`relative size-full overflow-y-auto rounded-lg border border-border bg-card shadow-card ring-1 ring-border-weak`,t),children:e})});export{G as Description,w as DescriptionBadge,T as DescriptionBoolean,E as DescriptionCopy,D as DescriptionDate,C as DescriptionEmpty,K as DescriptionGroup,H as DescriptionHeader,O as DescriptionImages,V as DescriptionItem,k as DescriptionLink,A as DescriptionLongText,j as DescriptionName,M as DescriptionNumberPhone,U as DescriptionSection,F as DescriptionStatistic,L as DescriptionStatus,R as DescriptionTagList,z as DescriptionUser};
|
|
1
|
+
"use client";import{t as e}from"../../paragraph-CnHNC0rS.mjs";import"../../skeleton-BLwzHejl.mjs";import{t}from"../../image-C-CdKKP1.mjs";import"../../flex-Br7F9Fln.mjs";import{t as n}from"../../date-D_nB7Lh1.mjs";import{t as r}from"../../badge-DSwkF4C4.mjs";import{i,n as a,r as o,t as s}from"../../tooltip-Cy0HbyAx.mjs";import"../../avatar-SJmvlfqm.mjs";import{t as c}from"../../user-DxSilm4V.mjs";import{CheckIcon as l,CopyIcon as u,ExternalLinkIcon as d,LinkIcon as f}from"lucide-react";import{createContext as p,memo as m,useCallback as h,useContext as g,useMemo as _,useState as v}from"react";import{jsx as y,jsxs as b}from"react/jsx-runtime";import{cn as x}from"@customafk/react-toolkit/utils";import{cva as S}from"class-variance-authority";const C=()=>y(`span`,{"data-slot":`description-empty`,"aria-label":`Empty value`,className:`select-none font-medium text-sm text-text-positive-muted`,children:`—`}),w=({label:e,color:t=`secondary`,variant:n=`soft`,size:i=`sm`})=>e?y(r,{"data-slot":`description-badge`,color:t,variant:n,size:i,children:e}):y(C,{}),T=({value:e,trueLabel:t=`Yes`,falseLabel:n=`No`})=>e==null?y(C,{}):y(r,{"data-slot":`description-boolean`,variant:`soft`,color:e?`success`:`danger`,size:`sm`,children:e?t:n}),E=({value:e,truncate:t=!0})=>{let[n,r]=v(!1),i=h(async()=>{e&&(await navigator.clipboard.writeText(e),r(!0),setTimeout(()=>r(!1),1500))},[e]);return e?b(`button`,{type:`button`,"data-slot":`description-copy`,onClick:i,className:x(`group inline-flex max-w-full cursor-pointer items-center gap-1.5 rounded-sm border border-border-weak bg-secondary-muted px-2 py-0.5 font-mono text-xs text-text-positive-weak transition-[border-color,color,box-shadow] hover:border-border hover:text-text-positive hover:shadow-xs`,t&&`min-w-0`),children:[y(`span`,{className:x(`tabular-nums`,t&&`truncate`),children:e}),n?y(l,{size:12,className:`shrink-0 text-success`}):y(u,{size:12,className:`shrink-0 opacity-50 group-hover:opacity-100`})]}):y(C,{})},D=({date:e})=>e==null?y(C,{}):y(o,{children:b(s,{children:[y(i,{asChild:!0,children:y(n,{"data-slot":`description-date`,date:e,format:`medium`,className:`cursor-help underline decoration-dashed decoration-border-strong underline-offset-2`})}),y(a,{children:y(n,{date:e,format:`full`,showTime:!0,className:`text-xs font-medium`})})]})}),O=({images:e})=>{if(!e?.length)return y(C,{});let n=e.length===1;return y(`div`,{"data-slot":`description-images`,className:`flex flex-wrap gap-4`,children:e.map(e=>y(`div`,{className:n?`group relative size-42 overflow-hidden rounded-sm border border-border shadow-xs transition-shadow hover:shadow-card`:`group relative size-16 overflow-hidden rounded-lg border border-border shadow-xs transition-shadow hover:shadow-card`,children:y(t,{src:e.src,alt:e.alt,width:`100%`,height:`100%`,className:`transition-transform duration-200 group-hover:scale-105`})},e.id))})},k=({href:e,label:t,external:n=!0,className:r})=>e?b(`a`,{"data-slot":`description-link`,href:e,target:n?`_blank`:void 0,rel:n?`noopener noreferrer`:void 0,className:x(`inline-flex max-w-full items-center gap-1 text-sm text-primary underline decoration-dashed underline-offset-2 transition-colors hover:text-primary-strong hover:decoration-solid`,r),children:[!n&&y(f,{size:12,className:`shrink-0 opacity-70`}),y(`span`,{className:`truncate`,children:t??e}),n&&y(d,{size:12,className:`shrink-0 opacity-70`})]}):y(C,{}),A=({content:t})=>t==null?y(C,{}):b(s,{children:[y(i,{asChild:!0,children:y(e,{"data-slot":`description-longtext`,variant:`sm`,className:`line-clamp-2 cursor-pointer whitespace-pre-line break-all text-start text-sm underline decoration-dashed decoration-border-strong underline-offset-2`,children:t})}),y(a,{align:`start`,className:`h-fit min-w-48 max-w-80 pt-4`,children:b(`div`,{className:`flex flex-col gap-y-2`,children:[y(`p`,{className:`whitespace-pre-line text-wrap break-keep`,children:t}),b(`p`,{className:`w-full text-end text-text-positive-subtle`,children:[t.toString().length,` chars`]})]})})]}),j=({name:t})=>t?b(s,{children:[y(i,{asChild:!0,children:y(e,{"data-slot":`description-name`,variant:`sm`,className:`line-clamp-2 w-full cursor-pointer truncate underline decoration-dashed decoration-border-strong underline-offset-2`,children:t})}),y(a,{align:`start`,className:`h-fit min-w-48 max-w-80 pt-4`,children:b(`div`,{className:`flex flex-col gap-y-2`,children:[y(`p`,{className:`whitespace-pre-line text-wrap break-keep`,children:t}),b(`p`,{className:`w-full text-end text-text-positive-subtle`,children:[t.length,` chars`]})]})})]}):y(C,{}),M=({value:t})=>b(s,{children:[y(i,{"data-slot":`description-phone`,children:y(e,{variant:`sm`,className:`tabular-nums transition-colors`,children:t.replace(/(\d{3})(\d{3})(\d{4})/,`($1) $2-$3`)})}),y(a,{align:`start`,children:y(`p`,{className:`tabular-nums`,children:t.slice(1).replace(/(\d{2})(\d{3})(\d{4})/,`(00) (+84) ($1) $2-$3`)})})]}),N=(e,t,n)=>{let r=10**t;switch(n){case`floor`:return Math.floor(e*r)/r;case`ceil`:return Math.ceil(e*r)/r;default:return Math.round(e*r)/r}},P=S(`inline-flex items-center gap-1 font-number tabular-nums transition-colors`,{variants:{size:{xs:`text-xs`,sm:`text-sm`,md:`text-base`,lg:`text-lg`,xl:`text-xl`},trend:{neutral:`text-text-positive`,up:`text-success`,down:`text-danger`}},defaultVariants:{size:`sm`,trend:`neutral`}}),F=m(({decimalSeparator:e=`.`,groupSeparator:t=`,`,prefix:n,suffix:r,precision:i,roundingMode:a=`round`,showTrailingZeros:o=!1,size:s=`sm`,trend:c=`neutral`,value:l=0,className:u})=>{let d=_(()=>{let e={};return typeof i==`number`&&i>=0&&(o&&(e.minimumFractionDigits=i),e.maximumFractionDigits=i),e},[i,o]),f=h(e=>{let t=e;return typeof i==`number`&&i>=0&&(t=N(e,i,a)),t.toLocaleString(`en-US`,d)},[a,d,i]),p=_(()=>{if(typeof l==`number`)return Number.isNaN(l)||!Number.isFinite(l)?`N/A`:f(l);if(typeof l==`string`){let e=l.trim();if(!e)return`N/A`;let t=Number(e);return Number.isNaN(t)||!Number.isFinite(t)?`N/A`:f(t)}return`N/A`},[l,f]),m=_(()=>e===`.`&&t===`,`?p:p.replace(/,/g,t).replace(/\./g,e),[p,e,t]);return m===`0`||m===`N/A`||!m?y(C,{}):b(`div`,{"data-slot":`description-statistic`,className:x(P({size:s,trend:c}),u),children:[n&&y(`span`,{"data-slot":`description-statistic-prefix`,children:n}),y(`p`,{"data-slot":`description-statistic-value`,children:m}),r&&y(`span`,{"data-slot":`description-statistic-suffix`,children:r})]})});F.displayName=`DescriptionStatistic`;const I={primary:`bg-primary`,secondary:`bg-secondary`,muted:`bg-muted`,accent:`bg-accent`,info:`bg-info`,success:`bg-success`,warning:`bg-warning`,danger:`bg-danger`},L=({label:e,color:t=`info`,dot:n=!0})=>e?b(r,{"data-slot":`description-status`,variant:`soft`,color:t,size:`sm`,className:`gap-1.5`,children:[n&&y(`span`,{className:x(`inline-block size-1.5 shrink-0 rounded-full`,I[t])}),e]}):y(C,{}),R=({tags:e,max:t=5,color:n=`secondary`,variant:i=`soft`})=>{if(!e?.length)return y(C,{});let a=e.slice(0,t),o=e.length-a.length;return b(`div`,{"data-slot":`description-tag-list`,className:`flex flex-wrap gap-1`,children:[a.map((e,t)=>y(r,{variant:i,color:n,size:`sm`,children:e},t)),o>0&&b(r,{variant:`outline`,color:`muted`,size:`sm`,children:[`+`,o]})]})},z=({uuid:e,username:t,email:n})=>!e||!t||!n?y(C,{}):y(c,{uuid:e,username:t,email:n}),B=p(!1),V=({label:e,labelColSpan:t=3,orientation:n=`horizontal`,action:r,children:i})=>n===`vertical`?b(`div`,{"data-slot":`description-item`,className:`flex flex-col border-b border-b-border last:border-b-0`,children:[b(`div`,{"data-slot":`description-item-label`,className:`flex items-center justify-between border-b border-b-border bg-secondary-muted py-2 pr-2 pl-4 text-sm font-medium text-text-positive-weak`,children:[y(`span`,{children:e}),r&&y(`div`,{className:`shrink-0`,children:r})]}),y(`div`,{"data-slot":`description-item-value`,className:`flex flex-wrap items-center gap-2 py-3 pr-2 pl-4 text-sm text-text-positive`,children:i})]}):b(`div`,{"data-slot":`description-item`,style:{display:`grid`,gridTemplateColumns:`repeat(12, minmax(0, 1fr))`},className:`grid border-b border-b-border last:border-b-0`,children:[b(`div`,{"data-slot":`description-item-label`,style:{gridColumn:`span ${t} / span ${t}`},className:`flex min-w-full items-center justify-between overflow-x-hidden text-wrap break-all border-r border-r-border bg-secondary-muted py-3 pr-2 pl-4 text-sm font-medium text-text-positive-weak tabular-nums`,children:[y(`span`,{children:e}),r&&y(`div`,{className:`shrink-0 pr-1`,children:r})]}),y(`div`,{"data-slot":`description-item-value`,style:{gridColumn:`span ${12-t} / span ${12-t}`},className:`flex flex-wrap items-center gap-2 py-3 pr-2 pl-4 text-sm text-text-positive`,children:i})]}),H=({title:e,description:t,extra:n,className:r})=>b(`div`,{"data-slot":`description-header`,className:x(`sticky top-0 z-10 flex items-start justify-between gap-4 border-b border-b-border bg-card px-4 py-3`,r),children:[b(`div`,{className:`flex flex-col gap-0.5`,children:[y(`p`,{className:`text-sm font-semibold text-text-positive`,children:e}),t&&y(`p`,{className:`text-xs text-text-positive-weak`,children:t})]}),n&&y(`div`,{className:`shrink-0`,children:n})]}),U=({title:e,className:t})=>b(`div`,{"data-slot":`description-section`,className:x(`flex items-center gap-3 border-b border-b-border bg-secondary-muted px-4 py-2`,t),children:[e&&y(`p`,{className:`text-xs font-semibold uppercase tracking-wide text-text-positive-muted`,children:e}),y(`div`,{className:`h-px flex-1 bg-border-weak`})]}),W=({rows:e})=>b(`div`,{"data-slot":`description-loading`,className:`animate-pulse`,children:[b(`div`,{className:`flex items-center justify-between border-b border-b-border px-4 py-3`,children:[b(`div`,{className:`flex flex-col gap-1.5`,children:[y(`div`,{className:`h-3.5 w-36 rounded bg-border`}),y(`div`,{className:`h-2.5 w-24 rounded bg-border-weak`})]}),y(`div`,{className:`h-5 w-16 rounded bg-border-weak`})]}),Array.from({length:e}).map((e,t)=>b(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(12, minmax(0, 1fr))`},className:`grid border-b border-b-border last:border-b-0`,children:[y(`div`,{style:{gridColumn:`span 3 / span 3`},className:`flex items-center border-r border-r-border bg-secondary-muted py-3 pl-4 pr-2`,children:y(`div`,{className:`h-3 w-20 rounded bg-border`})}),y(`div`,{style:{gridColumn:`span 9 / span 9`},className:`flex items-center py-3 pl-4 pr-2`,children:y(`div`,{className:`h-3 w-28 rounded bg-border-weak`})})]},t))]}),G=({children:e,className:t,nested:n=!1,loading:r=!1,loadingRows:i=4})=>{let a=g(B);return y(`div`,{"data-slot":`description`,className:x(`relative flex flex-col bg-card`,a?`border-b border-b-border last:border-b-0`:n?`w-full overflow-hidden rounded-md border border-border`:`size-full overflow-y-auto rounded-lg border border-border shadow-card ring-1 ring-border-weak`,t),children:r?y(W,{rows:i}):e})},K=({children:e,className:t})=>y(B.Provider,{value:!0,children:y(`div`,{"data-slot":`description-group`,className:x(`relative size-full overflow-y-auto rounded-lg border border-border bg-card shadow-card ring-1 ring-border-weak`,t),children:e})});export{G as Description,w as DescriptionBadge,T as DescriptionBoolean,E as DescriptionCopy,D as DescriptionDate,C as DescriptionEmpty,K as DescriptionGroup,H as DescriptionHeader,O as DescriptionImages,V as DescriptionItem,k as DescriptionLink,A as DescriptionLongText,j as DescriptionName,M as DescriptionNumberPhone,U as DescriptionSection,F as DescriptionStatistic,L as DescriptionStatus,R as DescriptionTagList,z as DescriptionUser};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/features/search-modal/index.d.ts
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
|
11
11
|
* // Render conditionally based on application state
|
|
12
12
|
* {isSearchOpen && <SearchModal />}
|
|
13
13
|
*/
|
|
14
|
-
declare const SearchModal: () =>
|
|
14
|
+
declare const SearchModal: () => react_jsx_runtime23.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { SearchModal };
|
|
17
17
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/features/search-modal/index.d.ts
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
|
11
11
|
* // Render conditionally based on application state
|
|
12
12
|
* {isSearchOpen && <SearchModal />}
|
|
13
13
|
*/
|
|
14
|
-
declare const SearchModal: () =>
|
|
14
|
+
declare const SearchModal: () => react_jsx_runtime0.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { SearchModal };
|
|
17
17
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../heading-
|
|
1
|
+
import"../../heading-BnaNuvDS.mjs";import"../../paragraph-CnHNC0rS.mjs";import"../../close-BS6EeCrQ.mjs";import"../../dialog-DG4vMCr5.mjs";import"../../command-B5DpL6OG.mjs";import{t as e}from"../../search-modal-DZI6O6ua.mjs";export{e as SearchModal};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index
|
|
1
|
+
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index--EqgvW4c.cjs";
|
|
2
2
|
export { ActiveFilter, BooleanFilterValue, CsvCell, DateRangeFilterValue, FilterDefinition, FilterOption, FilterType, FilterValue, NumberFilterValue, RowData, SingleTagFilterValue, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableVirtualizerContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, TagFilterValue, TextFilterValue, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEmailDisplay, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index-
|
|
2
|
-
import "../../input-
|
|
1
|
+
import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index-DtwMtKUS.mjs";
|
|
2
|
+
import "../../input-DP5cYLNw.mjs";
|
|
3
3
|
export { ActiveFilter, BooleanFilterValue, CsvCell, DateRangeFilterValue, FilterDefinition, FilterOption, FilterType, FilterValue, NumberFilterValue, RowData, SingleTagFilterValue, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableVirtualizerContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, TagFilterValue, TextFilterValue, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEmailDisplay, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../button.variants-
|
|
1
|
+
import"../../button.variants-CwcJHcI5.mjs";import"../../button-Bc8L9sFb.mjs";import"../../paragraph-CnHNC0rS.mjs";import"../../flex-Br7F9Fln.mjs";import"../../date-D_nB7Lh1.mjs";import"../../badge-DSwkF4C4.mjs";import"../../tooltip-Cy0HbyAx.mjs";import"../../avatar-SJmvlfqm.mjs";import"../../separator-DXnFHf3v.mjs";import"../../close-BS6EeCrQ.mjs";import{A as e,C as t,D as n,E as r,F as i,I as a,L as o,M as s,N as c,O as l,P as u,R as d,S as f,T as p,_ as m,a as h,b as g,c as _,d as v,f as y,g as b,h as x,i as S,j as C,k as w,l as T,m as E,n as D,o as O,p as k,r as A,s as j,t as M,u as N,v as P,w as F,x as I,y as L}from"../../tables-BZQ6E523.mjs";import"../../dropdown-menu-BlsIwe4B.mjs";import"../../progress-2G9rCupJ.mjs";import"../../checkbox-Bwy_4QS_.mjs";import"../../spinner-BaZ19Lla.mjs";import"../../resizable-BxsL978e.mjs";import"../../input-DLRypEj3.mjs";import"../../popover-DvGJ23lJ.mjs";import"../../select-Ze8Fq88G.mjs";import"../../label-BukQnBn7.mjs";export{d as UITableBadgeDisplay,f as UITableBody,o as UITableBooleanDisplay,I as UITableCell,g as UITableCellActions,L as UITableCellSelect,O as UITableContainer,a as UITableCurrencyDisplay,i as UITableDateDisplay,u as UITableDescriptionDisplay,c as UITableEmailDisplay,P as UITableEmptyDisplay,h as UITableFilter,m as UITableFooter,b as UITableHead,E as UITableHeadCell,x as UITableHeadCellOption,k as UITableHeadCellSelect,y as UITableHeadRow,v as UITableInnerTable,N as UITableInnerWrapper,s as UITableListDisplay,T as UITableLoadMore,C as UITableMoreButton,e as UITableNameDisplay,w as UITablePermalink,l as UITablePhoneNumberDisplay,n as UITableProgressDisplay,S as UITableProvider,r as UITableRemoveButton,_ as UITableRow,p as UITableStatisticDisplay,F as UITableStatusDisplay,M as UITableTooltip,D as UITableTooltipActions,A as UITableTooltipFilter,t as UITableUserDataDisplay,j as UITableWrapper};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-
|
|
1
|
+
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-DYKVk2cJ.cjs";
|
|
2
2
|
export { Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldSeparator, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-
|
|
1
|
+
import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-CST_ZBzY.mjs";
|
|
2
2
|
export { Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldSeparator, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../button.variants-
|
|
1
|
+
import"../../button.variants-CwcJHcI5.mjs";import"../../button-Bc8L9sFb.mjs";import"../../heading-BnaNuvDS.mjs";import"../../paragraph-CnHNC0rS.mjs";import"../../tooltip-Cy0HbyAx.mjs";import"../../separator-DXnFHf3v.mjs";import"../../close-BS6EeCrQ.mjs";import"../../dialog-DG4vMCr5.mjs";import"../../command-B5DpL6OG.mjs";import"../../checkbox-Bwy_4QS_.mjs";import"../../input-DLRypEj3.mjs";import"../../popover-DvGJ23lJ.mjs";import"../../select-Ze8Fq88G.mjs";import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,r as c,s as l,t as u,u as d}from"../../tanstack-form-C1EVQJ-n.mjs";import"../../calendar-C2psGpju.mjs";import"../../radio-group-fN6o0QBx.mjs";import"../../textarea-CEtUNLwy.mjs";import"../../text-editor-ae2UTKW8.mjs";export{s as Field,l as FieldContent,t as FieldContentMain,a as FieldError,d as FieldGroup,n as FieldLabel,r as FieldSeparator,u as useTanStackFieldContext,o as useTanStackForm,c as useTanStackFormContext,i as withTanStackFieldGroup,e as withTanStackForm};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-
|
|
1
|
+
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-y3v1_4XZ.cjs";
|
|
2
2
|
export { TextEditor, TextEditorProps, TextEditorToolbar, TextEditorToolbarProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-
|
|
1
|
+
import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-CrnEUjWU.mjs";
|
|
2
2
|
export { TextEditor, TextEditorProps, TextEditorToolbar, TextEditorToolbarProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"../../text-editor-
|
|
1
|
+
"use client";import{n as e,t}from"../../text-editor-ae2UTKW8.mjs";export{t as TextEditor,e as TextEditorToolbar};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./separator-
|
|
2
|
-
//# sourceMappingURL=field-
|
|
1
|
+
import{t as e}from"./separator-DXnFHf3v.mjs";import{t}from"./label-BukQnBn7.mjs";import{BanIcon as n}from"lucide-react";import{memo as r,useMemo as i}from"react";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{cn as s}from"@customafk/react-toolkit/utils";import{cva as c}from"class-variance-authority";const l=r(({className:e,...t})=>a(`fieldset`,{"data-slot":`field-set`,className:s(`flex flex-col gap-6`,`has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3`,e),...t}));l.displayName=`FieldSet`;const u=r(({className:e,variant:t=`legend`,...n})=>a(`legend`,{"data-slot":`field-legend`,"data-variant":t,className:s(`mb-3 font-medium`,`data-[variant=legend]:text-base`,`data-[variant=label]:text-sm`,e),...n}));u.displayName=`FieldLegend`;const d=r(({className:e,...t})=>a(`div`,{"data-slot":`field-group`,className:s(`group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4`,e),...t}));d.displayName=`FieldGroup`;const f=c(`group/field flex w-full gap-3 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:[`flex-col *:w-full [&>.sr-only]:w-auto`],horizontal:[`flex-row items-center`,`*:data-[slot=field-label]:flex-auto`,`has-[>[data-slot=field-content]]:items-start`,`has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`],responsive:[`flex-col *:w-full [&>.sr-only]:w-auto`,`@md/field-group:flex-row`,`@md/field-group:items-center`,`@md/field-group:*:w-auto`,`@md/field-group:*:data-[slot=field-label]:flex-auto`,`@md/field-group:has-[>[data-slot=field-content]]:items-start`,`@md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`]}},defaultVariants:{orientation:`vertical`}}),p=r(({className:e,orientation:t=`vertical`,...n})=>a(`div`,{"data-slot":`field`,"data-orientation":t,className:s(f({orientation:t}),e),...n}));p.displayName=`Field`;const m=r(({className:e,...t})=>a(`div`,{"data-slot":`field-content`,className:s(`group/field-content flex basis-2/5 flex-col gap-1.5 leading-snug`,e),...t}));m.displayName=`FieldContent`;const h=r(({className:e,...n})=>a(t,{"data-slot":`field-label`,className:s(`group/field-label peer/field-label flex w-fit gap-2 leading-snug`,`group-data-[disabled=true]/field:opacity-50`,`has-[>[data-slot=field]]:w-full`,`has-[>[data-slot=field]]:flex-col`,`has-[>[data-slot=field]]:rounded-md`,`has-[>[data-slot=field]]:border`,`*:data-[slot=field]:p-4`,`has-data-[state=checked]:bg-primary/5`,`has-data-[state=checked]:border-primary`,e),...n}));h.displayName=`FieldLabel`;const g=r(({className:e,...t})=>a(`div`,{"data-slot":`field-label`,className:s(`flex w-fit items-center gap-2 font-medium text-sm leading-snug group-data-[disabled=true]/field:opacity-50`,e),...t}));g.displayName=`FieldTitle`;const _=r(({className:e,...t})=>a(`p`,{"data-slot":`field-description`,className:s(`text-text-positive-weak text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...t}));_.displayName=`FieldDescription`;const v=r(({children:t,className:n,...r})=>o(`div`,{"data-slot":`field-separator`,"data-content":!!t,className:s(`relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2`,n),...r,children:[a(e,{className:`absolute inset-0 top-1/2`}),t&&a(`span`,{className:`relative mx-auto block w-fit bg-background px-2 text-text-positive-weak`,"data-slot":`field-separator-content`,children:t})]}));v.displayName=`FieldSeparator`;const y=r(({className:e,children:t,errors:r,...c})=>{let l=i(()=>t||(r?r?.length===1&&r[0]?.message?o(`div`,{className:`flex flex-row items-center justify-start gap-x-0.5`,children:[a(n,{size:14}),a(`p`,{children:r[0].message})]}):a(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(e=>typeof e==`string`?a(`li`,{children:e},e):e?.message?a(`li`,{children:e.message},e.message):null)}):null),[t,r]);return l?a(`div`,{role:`alert`,"data-slot":`field-error`,className:s(`w-full font-normal text-danger text-xs`,e),...c,children:l}):null});y.displayName=`FieldError`;export{d as a,v as c,y as i,l,m as n,h as o,_ as r,u as s,p as t,g as u};
|
|
2
|
+
//# sourceMappingURL=field-Mn2bf2Ns.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-
|
|
1
|
+
{"version":3,"file":"field-Mn2bf2Ns.mjs","names":[],"sources":["../packages/components/ui/field.tsx"],"sourcesContent":["'use client';\n\nimport { memo, useMemo } from 'react';\n\nimport { BanIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { Label } from '@/components/ui/label';\nimport { Separator } from '@/components/ui/separator';\n\nconst FieldSet = memo(({ className, ...props }: React.ComponentProps<'fieldset'>) => {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn('flex flex-col gap-6', 'has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3', className)}\n {...props}\n />\n );\n});\nFieldSet.displayName = 'FieldSet';\n\nconst FieldLegend = memo(({ className, variant = 'legend', ...props }: React.ComponentProps<'legend'> & { variant?: 'legend' | 'label' }) => {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn('mb-3 font-medium', 'data-[variant=legend]:text-base', 'data-[variant=label]:text-sm', className)}\n {...props}\n />\n );\n});\nFieldLegend.displayName = 'FieldLegend';\n\nconst FieldGroup = memo(({ className, ...props }: React.ComponentProps<'div'>) => {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n 'group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4',\n className\n )}\n {...props}\n />\n );\n});\nFieldGroup.displayName = 'FieldGroup';\n\nconst fieldVariants = cva('group/field flex w-full gap-3 data-[invalid=true]:text-destructive', {\n variants: {\n orientation: {\n vertical: ['flex-col *:w-full [&>.sr-only]:w-auto'],\n horizontal: [\n 'flex-row items-center',\n '*:data-[slot=field-label]:flex-auto',\n 'has-[>[data-slot=field-content]]:items-start',\n 'has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n responsive: [\n 'flex-col *:w-full [&>.sr-only]:w-auto',\n '@md/field-group:flex-row',\n '@md/field-group:items-center',\n '@md/field-group:*:w-auto',\n '@md/field-group:*:data-[slot=field-label]:flex-auto',\n '@md/field-group:has-[>[data-slot=field-content]]:items-start',\n '@md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n },\n },\n defaultVariants: {\n orientation: 'vertical',\n },\n});\n\nconst Field = memo(({ className, orientation = 'vertical', ...props }: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>) => {\n return <div data-slot=\"field\" data-orientation={orientation} className={cn(fieldVariants({ orientation }), className)} {...props} />;\n});\nField.displayName = 'Field';\n\nconst FieldContent = memo(({ className, ...props }: React.ComponentProps<'div'>) => {\n return <div data-slot=\"field-content\" className={cn('group/field-content flex basis-2/5 flex-col gap-1.5 leading-snug', className)} {...props} />;\n});\nFieldContent.displayName = 'FieldContent';\n\nconst FieldLabel = memo(({ className, ...props }: React.ComponentProps<typeof Label>) => {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n 'group/field-label peer/field-label flex w-fit gap-2 leading-snug',\n 'group-data-[disabled=true]/field:opacity-50',\n 'has-[>[data-slot=field]]:w-full',\n 'has-[>[data-slot=field]]:flex-col',\n 'has-[>[data-slot=field]]:rounded-md',\n 'has-[>[data-slot=field]]:border',\n '*:data-[slot=field]:p-4',\n 'has-data-[state=checked]:bg-primary/5',\n 'has-data-[state=checked]:border-primary',\n className\n )}\n {...props}\n />\n );\n});\nFieldLabel.displayName = 'FieldLabel';\n\nconst FieldTitle = memo(({ className, ...props }: React.ComponentProps<'div'>) => {\n return (\n <div\n data-slot=\"field-label\"\n className={cn('flex w-fit items-center gap-2 font-medium text-sm leading-snug group-data-[disabled=true]/field:opacity-50', className)}\n {...props}\n />\n );\n});\nFieldTitle.displayName = 'FieldTitle';\n\nconst FieldDescription = memo(({ className, ...props }: React.ComponentProps<'p'>) => {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n 'text-text-positive-weak text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance',\n 'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',\n '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n className\n )}\n {...props}\n />\n );\n});\nFieldDescription.displayName = 'FieldDescription';\n\nconst FieldSeparator = memo(\n ({\n children,\n className,\n ...props\n }: React.ComponentProps<'div'> & {\n children?: React.ReactNode;\n }) => {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn('relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2', className)}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span className=\"relative mx-auto block w-fit bg-background px-2 text-text-positive-weak\" data-slot=\"field-separator-content\">\n {children}\n </span>\n )}\n </div>\n );\n }\n);\nFieldSeparator.displayName = 'FieldSeparator';\n\nconst FieldError = memo(\n ({\n className,\n children,\n errors,\n ...props\n }: React.ComponentProps<'div'> & {\n errors?: Array<{ message?: string } | undefined>;\n }) => {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors) {\n return null;\n }\n\n if (errors?.length === 1 && errors[0]?.message) {\n return (\n <div className=\"flex flex-row items-center justify-start gap-x-0.5\">\n <BanIcon size={14} />\n <p>{errors[0].message}</p>\n </div>\n );\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {errors.map(error => {\n if (typeof error === 'string') return <li key={error}>{error}</li>;\n if (!error?.message) return null;\n return <li key={error.message}>{error.message}</li>;\n })}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div role=\"alert\" data-slot=\"field-error\" className={cn('w-full font-normal text-danger text-xs', className)} {...props}>\n {content}\n </div>\n );\n }\n);\nFieldError.displayName = 'FieldError';\n\nexport { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle };\n"],"mappings":"uTAYA,MAAM,EAAW,GAAM,CAAE,YAAW,GAAG,KAEnC,EAAC,WAAA,CACC,YAAU,YACV,UAAW,EAAG,sBAAuB,+EAAgF,EAAU,CAC/H,GAAI,GACJ,CAEJ,CACF,EAAS,YAAc,WAEvB,MAAM,EAAc,GAAM,CAAE,YAAW,UAAU,SAAU,GAAG,KAE1D,EAAC,SAAA,CACC,YAAU,eACV,eAAc,EACd,UAAW,EAAG,mBAAoB,kCAAmC,+BAAgC,EAAU,CAC/G,GAAI,GACJ,CAEJ,CACF,EAAY,YAAc,cAE1B,MAAM,EAAa,GAAM,CAAE,YAAW,GAAG,KAErC,EAAC,MAAA,CACC,YAAU,cACV,UAAW,EACT,uIACA,EACD,CACD,GAAI,GACJ,CAEJ,CACF,EAAW,YAAc,aAEzB,MAAM,EAAgB,EAAI,qEAAsE,CAC9F,SAAU,CACR,YAAa,CACX,SAAU,CAAC,wCAAwC,CACnD,WAAY,CACV,wBACA,sCACA,+CACA,0EACD,CACD,WAAY,CACV,wCACA,2BACA,+BACA,2BACA,sDACA,+DACA,0FACD,CACF,CACF,CACD,gBAAiB,CACf,YAAa,WACd,CACF,CAAC,CAEI,EAAQ,GAAM,CAAE,YAAW,cAAc,WAAY,GAAG,KACrD,EAAC,MAAA,CAAI,YAAU,QAAQ,mBAAkB,EAAa,UAAW,EAAG,EAAc,CAAE,cAAa,CAAC,CAAE,EAAU,CAAE,GAAI,GAAS,CACpI,CACF,EAAM,YAAc,QAEpB,MAAM,EAAe,GAAM,CAAE,YAAW,GAAG,KAClC,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,mEAAoE,EAAU,CAAE,GAAI,GAAS,CACjJ,CACF,EAAa,YAAc,eAE3B,MAAM,EAAa,GAAM,CAAE,YAAW,GAAG,KAErC,EAAC,EAAA,CACC,YAAU,cACV,UAAW,EACT,mEACA,8CACA,kCACA,oCACA,sCACA,kCACA,0BACA,wCACA,0CACA,EACD,CACD,GAAI,GACJ,CAEJ,CACF,EAAW,YAAc,aAEzB,MAAM,EAAa,GAAM,CAAE,YAAW,GAAG,KAErC,EAAC,MAAA,CACC,YAAU,cACV,UAAW,EAAG,6GAA8G,EAAU,CACtI,GAAI,GACJ,CAEJ,CACF,EAAW,YAAc,aAEzB,MAAM,EAAmB,GAAM,CAAE,YAAW,GAAG,KAE3C,EAAC,IAAA,CACC,YAAU,oBACV,UAAW,EACT,wHACA,+DACA,oEACA,EACD,CACD,GAAI,GACJ,CAEJ,CACF,EAAiB,YAAc,mBAE/B,MAAM,EAAiB,GACpB,CACC,WACA,YACA,GAAG,KAKD,EAAC,MAAA,CACC,YAAU,kBACV,eAAc,CAAC,CAAC,EAChB,UAAW,EAAG,4EAA6E,EAAU,CACrG,GAAI,YAEJ,EAAC,EAAA,CAAU,UAAU,2BAAA,CAA6B,CACjD,GACC,EAAC,OAAA,CAAK,UAAU,0EAA0E,YAAU,0BACjG,YACI,CAAA,EAEL,CAGX,CACD,EAAe,YAAc,iBAE7B,MAAM,EAAa,GAChB,CACC,YACA,WACA,SACA,GAAG,KAGC,CACJ,IAAM,EAAU,MACV,IAIC,EAID,GAAQ,SAAW,GAAK,EAAO,IAAI,QAEnC,EAAC,MAAA,CAAI,UAAU,+DACb,EAAC,EAAA,CAAQ,KAAM,GAAA,CAAM,CACrB,EAAC,IAAA,CAAA,SAAG,EAAO,GAAG,QAAA,CAAY,CAAA,EACtB,CAKR,EAAC,KAAA,CAAG,UAAU,8CACX,EAAO,IAAI,GACN,OAAO,GAAU,SAAiB,EAAC,KAAA,CAAA,SAAgB,EAAA,CAAR,EAAmB,CAC7D,GAAO,QACL,EAAC,KAAA,CAAA,SAAwB,EAAM,QAAA,CAAtB,EAAM,QAA6B,CADvB,KAE5B,EACC,CAnBE,MAqBR,CAAC,EAAU,EAAO,CAAC,CAMtB,OAJK,EAKH,EAAC,MAAA,CAAI,KAAK,QAAQ,YAAU,cAAc,UAAW,EAAG,yCAA0C,EAAU,CAAE,GAAI,WAC/G,GACG,CANC,MASZ,CACD,EAAW,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{memo as e}from"react";import{jsx as t}from"react/jsx-runtime";import{cn as n}from"@customafk/react-toolkit/utils";import{cva as r}from"class-variance-authority";const i=r([`relative flex`,`text-sm`],{variants:{vertical:{true:`flex-col`,false:`flex-row`},width:{full:`w-full`,auto:`w-auto`,fit:`w-fit`,screen:`w-screen`,min:`w-min`,max:`w-max`,null:``},wrap:{true:`flex-wrap`,false:`flex-nowrap`},margin:{sm:`m-2`,md:`m-4`,lg:`m-6`,xl:`m-8`,none:`m-0`},padding:{sm:`p-2`,md:`p-4`,lg:`p-6`,xl:`p-8`,none:`p-0`},gap:{xs:`gap-1`,sm:`gap-2`,md:`gap-4`,lg:`gap-6`,xl:`gap-8`,none:`gap-0`},justify:{start:`justify-start`,center:`justify-center`,end:`justify-end`,between:`justify-between`,around:`justify-around`,evenly:`justify-evenly`,stretch:`justify-stretch`},align:{start:`items-start`,center:`items-center`,end:`items-end`,baseline:`items-baseline`,stretch:`items-stretch`}},defaultVariants:{vertical:!1,wrap:!0,width:`fit`,margin:`none`,padding:`sm`,gap:`xs`,justify:`start`,align:`center`}}),a=e(({vertical:e,wrap:r,width:a,margin:o,padding:s,gap:c,justify:l,align:u,className:d,children:f})=>t(`div`,{className:n(i({vertical:e,width:a,wrap:r,margin:o,padding:s,gap:c,justify:l,align:u,className:d})),children:f}));a.displayName=`Flex`;export{a as t};
|
|
2
|
-
//# sourceMappingURL=flex-
|
|
2
|
+
//# sourceMappingURL=flex-Br7F9Fln.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-
|
|
1
|
+
{"version":3,"file":"flex-Br7F9Fln.mjs","names":[],"sources":["../packages/components/layouts/flex.tsx"],"sourcesContent":["'use client';\nimport { memo } from 'react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nconst flexVariants = cva(['relative flex', 'text-sm'], {\n variants: {\n vertical: {\n true: 'flex-col',\n false: 'flex-row',\n },\n width: {\n full: 'w-full',\n auto: 'w-auto',\n fit: 'w-fit',\n screen: 'w-screen',\n min: 'w-min',\n max: 'w-max',\n null: '',\n },\n wrap: {\n true: 'flex-wrap',\n false: 'flex-nowrap',\n },\n margin: {\n sm: 'm-2',\n md: 'm-4',\n lg: 'm-6',\n xl: 'm-8',\n none: 'm-0',\n },\n padding: {\n sm: 'p-2',\n md: 'p-4',\n lg: 'p-6',\n xl: 'p-8',\n none: 'p-0',\n },\n gap: {\n xs: 'gap-1',\n sm: 'gap-2',\n md: 'gap-4',\n lg: 'gap-6',\n xl: 'gap-8',\n none: 'gap-0',\n },\n justify: {\n start: 'justify-start',\n center: 'justify-center',\n end: 'justify-end',\n between: 'justify-between',\n around: 'justify-around',\n evenly: 'justify-evenly',\n stretch: 'justify-stretch',\n },\n align: {\n start: 'items-start',\n center: 'items-center',\n end: 'items-end',\n baseline: 'items-baseline',\n stretch: 'items-stretch',\n },\n },\n defaultVariants: {\n vertical: false,\n wrap: true,\n width: 'fit',\n margin: 'none',\n padding: 'sm',\n gap: 'xs',\n justify: 'start',\n align: 'center',\n },\n});\n\ntype Props = {\n /** Additional Tailwind classes merged on top of the variant-generated classes. */\n className?: string;\n /**\n * Stacks children vertically (`flex-col`) when `true`, horizontally (`flex-row`) when `false`.\n * @default false\n */\n vertical?: boolean;\n /**\n * Controls the width of the flex container.\n * - `'full'` — `w-full`\n * - `'auto'` — `w-auto`\n * - `'fit'` — `w-fit` (default)\n * - `'screen'` — `w-screen`\n * - `'min'` — `w-min`\n * - `'max'` — `w-max`\n * - `'null'` — no width utility applied\n * @default 'fit'\n */\n width?: 'full' | 'auto' | 'fit' | 'screen' | 'min' | 'max' | 'null';\n /**\n * Allows children to wrap onto multiple lines when `true`.\n * @default true\n */\n wrap?: boolean;\n /**\n * Uniform margin applied to the container.\n * - `'none'` — `m-0` (default)\n * - `'sm'` — `m-2`\n * - `'md'` — `m-4`\n * - `'lg'` — `m-6`\n * - `'xl'` — `m-8`\n * @default 'none'\n */\n margin?: 'sm' | 'md' | 'lg' | 'xl' | 'none';\n /**\n * Uniform padding applied to the container.\n * - `'none'` — `p-0`\n * - `'sm'` — `p-2` (default)\n * - `'md'` — `p-4`\n * - `'lg'` — `p-6`\n * - `'xl'` — `p-8`\n * @default 'sm'\n */\n padding?: 'sm' | 'md' | 'lg' | 'xl' | 'none';\n /**\n * Gap between child elements.\n * - `'none'` — `gap-0`\n * - `'xs'` — `gap-1` (default)\n * - `'sm'` — `gap-2`\n * - `'md'` — `gap-4`\n * - `'lg'` — `gap-6`\n * - `'xl'` — `gap-8`\n * @default 'xs'\n */\n gap?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none';\n /**\n * Justification of children along the main axis (`justify-content`).\n * @default 'start'\n */\n justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly' | 'stretch';\n /**\n * Alignment of children along the cross axis (`align-items`).\n * @default 'center'\n */\n align?: 'start' | 'center' | 'end' | 'baseline' | 'stretch';\n} & VariantProps<typeof flexVariants>;\n\n/**\n * A flexible, variant-driven flex container built on CVA and TailwindCSS.\n *\n * @example\n * ```tsx\n * import { Flex } from '@customafk/lunas-ui/layouts/flex';\n *\n * // Horizontal row with centered children and a medium gap\n * <Flex gap=\"md\" justify=\"between\" align=\"center\">\n * <span>Left</span>\n * <span>Right</span>\n * </Flex>\n *\n * // Vertical stack that fills parent width\n * <Flex vertical width=\"full\" gap=\"sm\" padding=\"md\">\n * <p>First item</p>\n * <p>Second item</p>\n * </Flex>\n * ```\n */\nexport const Flex = memo(({ vertical, wrap, width, margin, padding, gap, justify, align, className, children }: React.PropsWithChildren<Props>) => {\n return (\n <div\n className={cn(\n flexVariants({\n vertical,\n width,\n wrap,\n margin,\n padding,\n gap,\n justify,\n align,\n className,\n })\n )}\n >\n {children}\n </div>\n );\n});\nFlex.displayName = 'Flex';\n"],"mappings":"wKAOA,MAAM,EAAe,EAAI,CAAC,gBAAiB,UAAU,CAAE,CACrD,SAAU,CACR,SAAU,CACR,KAAM,WACN,MAAO,WACR,CACD,MAAO,CACL,KAAM,SACN,KAAM,SACN,IAAK,QACL,OAAQ,WACR,IAAK,QACL,IAAK,QACL,KAAM,GACP,CACD,KAAM,CACJ,KAAM,YACN,MAAO,cACR,CACD,OAAQ,CACN,GAAI,MACJ,GAAI,MACJ,GAAI,MACJ,GAAI,MACJ,KAAM,MACP,CACD,QAAS,CACP,GAAI,MACJ,GAAI,MACJ,GAAI,MACJ,GAAI,MACJ,KAAM,MACP,CACD,IAAK,CACH,GAAI,QACJ,GAAI,QACJ,GAAI,QACJ,GAAI,QACJ,GAAI,QACJ,KAAM,QACP,CACD,QAAS,CACP,MAAO,gBACP,OAAQ,iBACR,IAAK,cACL,QAAS,kBACT,OAAQ,iBACR,OAAQ,iBACR,QAAS,kBACV,CACD,MAAO,CACL,MAAO,cACP,OAAQ,eACR,IAAK,YACL,SAAU,iBACV,QAAS,gBACV,CACF,CACD,gBAAiB,CACf,SAAU,GACV,KAAM,GACN,MAAO,MACP,OAAQ,OACR,QAAS,KACT,IAAK,KACL,QAAS,QACT,MAAO,SACR,CACF,CAAC,CA0FW,EAAO,GAAM,CAAE,WAAU,OAAM,QAAO,SAAQ,UAAS,MAAK,UAAS,QAAO,YAAW,cAEhG,EAAC,MAAA,CACC,UAAW,EACT,EAAa,CACX,WACA,QACA,OACA,SACA,UACA,MACA,UACA,QACA,YACD,CAAC,CACH,CAEA,YACG,CAER,CACF,EAAK,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{jsx as e}from"react/jsx-runtime";import{cn as t}from"@customafk/react-toolkit/utils";import{cva as n}from"class-variance-authority";const r=n(`scroll-m-20 text-start text-balance text-text-positive-strong tracking-tight transition-colors`,{variants:{level:{h1:`text-3xl leading-tight font-bold md:text-4xl`,h2:`text-2xl leading-tight font-semibold md:text-3xl`,h3:`text-xl leading-snug font-semibold md:text-2xl`,h4:`text-lg leading-snug font-semibold md:text-xl`,h5:`text-base leading-normal font-semibold md:text-lg`}},defaultVariants:{level:`h2`}});export{r as t};
|
|
2
|
-
//# sourceMappingURL=heading-
|
|
2
|
+
//# sourceMappingURL=heading-BnaNuvDS.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading-
|
|
1
|
+
{"version":3,"file":"heading-BnaNuvDS.mjs","names":[],"sources":["../packages/components/typography/heading.tsx"],"sourcesContent":["'use client';\n\nimport type { ElementType, ReactNode } from 'react';\nimport { cn } from '@customafk/react-toolkit/utils';\nimport { cva } from 'class-variance-authority';\n\ntype HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5';\n\nexport type HeadingProps = {\n level?: HeadingLevel;\n className?: string;\n children?: ReactNode;\n as?: ElementType;\n};\n\nexport const headingVariants = cva('scroll-m-20 text-start text-balance text-text-positive-strong tracking-tight transition-colors', {\n variants: {\n level: {\n h1: 'text-3xl leading-tight font-bold md:text-4xl',\n h2: 'text-2xl leading-tight font-semibold md:text-3xl',\n h3: 'text-xl leading-snug font-semibold md:text-2xl',\n h4: 'text-lg leading-snug font-semibold md:text-xl',\n h5: 'text-base leading-normal font-semibold md:text-lg',\n },\n },\n defaultVariants: {\n level: 'h2',\n },\n});\n\nexport const Heading = ({ level = 'h3', className, as, children }: HeadingProps) => {\n const Component = as || level;\n\n return (\n <Component data-slot=\"heading\" className={cn(headingVariants({ level }), className)}>\n {children}\n </Component>\n );\n};\n"],"mappings":"2IAeA,MAAa,EAAkB,EAAI,iGAAkG,CACnI,SAAU,CACR,MAAO,CACL,GAAI,+CACJ,GAAI,mDACJ,GAAI,iDACJ,GAAI,gDACJ,GAAI,oDACL,CACF,CACD,gBAAiB,CACf,MAAO,KACR,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./skeleton-
|
|
2
|
-
//# sourceMappingURL=image-
|
|
1
|
+
import{t as e}from"./skeleton-BLwzHejl.mjs";import{AlertCircleIcon as t}from"lucide-react";import{useCallback as n,useRef as r,useState as i}from"react";import{jsx as a,jsxs as o}from"react/jsx-runtime";import{cn as s}from"@customafk/react-toolkit/utils";const c=({src:c,alt:l,width:u,height:d,maxRetries:f=3,retryDelay:p=500,className:m,imageClassName:h,onClick:g})=>{let _=r(null),[v,y]=i(c),[b,x]=i(0),[S,C]=i(!1),[w,T]=i(!1),E=n(()=>{C(!0)},[]),D=n(()=>{if(b<f){T(!1);let e=b+1;x(e),setTimeout(()=>{y(c+`?retry=${Date.now()}&attempt=${e}`)},p*e);return}T(!0),C(!0),y(c)},[f,b,p,c]);return w?a(`div`,{style:{width:u,height:d},className:s(`@container relative inline-block`,m),children:o(`div`,{className:`flex size-full flex-col items-center justify-center gap-y-2 rounded-md bg-danger-muted shadow-card`,children:[a(t,{className:`@max-[52px]:size-6 size-8 text-danger`}),a(`span`,{className:`@max-[96px]:sr-only text-center text-danger-weak text-xs`,children:`Image failed to load`})]})}):o(`div`,{style:{width:u,height:d},className:s(`relative flex items-center justify-center overflow-hidden rounded-md`,m),onClick:g,children:[!S&&a(e,{className:`absolute inset-0 flex size-full animate-pulse items-center justify-center`}),a(`img`,{src:v,className:`absolute inset-0 z-0 size-full scale-110 object-cover blur-xl brightness-60`}),a(`img`,{id:v,ref:_,src:v,alt:l,loading:`lazy`,className:s(`relative h-6/5 w-auto object-cover shadow-card transition-opacity duration-300`,S&&`opacity-100`,!S&&`pointer-events-none opacity-0`,h),onLoad:E,onError:D})]})};export{c as t};
|
|
2
|
+
//# sourceMappingURL=image-C-CdKKP1.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-
|
|
1
|
+
{"version":3,"file":"image-C-CdKKP1.mjs","names":["Image: React.FC<Props>"],"sources":["../packages/components/ui/image.tsx"],"sourcesContent":["import { useCallback, useRef, useState } from 'react';\n\nimport { AlertCircleIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Skeleton } from './skeleton';\n\n/** Props for the Image component. */\ntype Props = {\n /** URL of the image to display. */\n src?: string;\n /** Accessible alt text for the image. */\n alt?: string;\n /** Width of the image container (number treated as pixels). */\n width?: number | string;\n /** Height of the image container (number treated as pixels). */\n height?: number | string;\n /** Maximum number of retry attempts on load failure before showing an error state. @default 3 */\n maxRetries?: number;\n /** Base delay in milliseconds between retry attempts (multiplied by the attempt count). @default 500 */\n retryDelay?: number;\n /** Class name applied to the outer container div. */\n className?: string;\n /** Class name applied to the `<img>` element. */\n imageClassName?: string;\n /** Click handler for the image container. */\n onClick?: () => void;\n};\n\n/**\n * A lazy-loading image with an automatic retry mechanism, a blurred background placeholder, a skeleton loader, and an error fallback.\n *\n * @example\n * ```tsx\n * import { Image } from '@customafk/lunas-ui/ui/image';\n *\n * <Image src=\"/hero.jpg\" alt=\"Hero\" width={400} height={300} maxRetries={3} />\n * ```\n */\nexport const Image: React.FC<Props> = ({ src, alt, width, height, maxRetries = 3, retryDelay = 500, className, imageClassName, onClick }) => {\n const imageRef = useRef<HTMLImageElement>(null);\n const [currentSrc, setCurrentSrc] = useState<string | undefined>(src);\n const [retryCount, setRetryCount] = useState<number>(0);\n const [isLoaded, setIsLoaded] = useState<boolean>(false);\n const [hasError, setHasError] = useState<boolean>(false);\n\n const handleLoad = useCallback(() => {\n setIsLoaded(true);\n }, []);\n\n const handleError = useCallback(() => {\n if (retryCount < maxRetries) {\n // imageRef.current?.style.setProperty('display', 'none')\n setHasError(false);\n const newRetryCount = retryCount + 1;\n setRetryCount(newRetryCount);\n\n // Retry with exponential backoff and cache busting\n setTimeout(() => {\n const cacheBuster = `?retry=${Date.now()}&attempt=${newRetryCount}`;\n setCurrentSrc(src + cacheBuster);\n }, retryDelay * newRetryCount);\n return;\n }\n\n setHasError(true);\n setIsLoaded(true);\n setCurrentSrc(src);\n }, [maxRetries, retryCount, retryDelay, src]);\n\n if (hasError) {\n return (\n <div style={{ width, height }} className={cn('@container relative inline-block', className)}>\n <div className=\"flex size-full flex-col items-center justify-center gap-y-2 rounded-md bg-danger-muted shadow-card\">\n <AlertCircleIcon className=\"@max-[52px]:size-6 size-8 text-danger\" />\n <span className=\"@max-[96px]:sr-only text-center text-danger-weak text-xs\">Image failed to load</span>\n </div>\n </div>\n );\n }\n\n return (\n <div style={{ width, height }} className={cn('relative flex items-center justify-center overflow-hidden rounded-md', className)} onClick={onClick}>\n {!isLoaded && <Skeleton className=\"absolute inset-0 flex size-full animate-pulse items-center justify-center\" />}\n <img src={currentSrc} className=\"absolute inset-0 z-0 size-full scale-110 object-cover blur-xl brightness-60\" />\n <img\n id={currentSrc}\n ref={imageRef}\n src={currentSrc}\n alt={alt}\n loading=\"lazy\"\n className={cn(\n 'relative h-6/5 w-auto object-cover shadow-card transition-opacity duration-300',\n isLoaded && 'opacity-100',\n !isLoaded && 'pointer-events-none opacity-0',\n imageClassName\n )}\n onLoad={handleLoad}\n onError={handleError}\n />\n </div>\n );\n};\n"],"mappings":"+PAwCA,MAAaA,GAA0B,CAAE,MAAK,MAAK,QAAO,SAAQ,aAAa,EAAG,aAAa,IAAK,YAAW,iBAAgB,aAAc,CAC3I,IAAM,EAAW,EAAyB,KAAK,CACzC,CAAC,EAAY,GAAiB,EAA6B,EAAI,CAC/D,CAAC,EAAY,GAAiB,EAAiB,EAAE,CACjD,CAAC,EAAU,GAAe,EAAkB,GAAM,CAClD,CAAC,EAAU,GAAe,EAAkB,GAAM,CAElD,EAAa,MAAkB,CACnC,EAAY,GAAK,EAChB,EAAE,CAAC,CAEA,EAAc,MAAkB,CACpC,GAAI,EAAa,EAAY,CAE3B,EAAY,GAAM,CAClB,IAAM,EAAgB,EAAa,EACnC,EAAc,EAAc,CAG5B,eAAiB,CAEf,EAAc,EADM,UAAU,KAAK,KAAK,CAAC,WAAW,IACpB,EAC/B,EAAa,EAAc,CAC9B,OAGF,EAAY,GAAK,CACjB,EAAY,GAAK,CACjB,EAAc,EAAI,EACjB,CAAC,EAAY,EAAY,EAAY,EAAI,CAAC,CAa7C,OAXI,EAEA,EAAC,MAAA,CAAI,MAAO,CAAE,QAAO,SAAQ,CAAE,UAAW,EAAG,mCAAoC,EAAU,UACzF,EAAC,MAAA,CAAI,UAAU,+GACb,EAAC,EAAA,CAAgB,UAAU,wCAAA,CAA0C,CACrE,EAAC,OAAA,CAAK,UAAU,oEAA2D,wBAA2B,CAAA,EAClG,EACF,CAKR,EAAC,MAAA,CAAI,MAAO,CAAE,QAAO,SAAQ,CAAE,UAAW,EAAG,uEAAwE,EAAU,CAAW,oBACvI,CAAC,GAAY,EAAC,EAAA,CAAS,UAAU,4EAAA,CAA8E,CAChH,EAAC,MAAA,CAAI,IAAK,EAAY,UAAU,+EAAgF,CAChH,EAAC,MAAA,CACC,GAAI,EACJ,IAAK,EACL,IAAK,EACA,MACL,QAAQ,OACR,UAAW,EACT,iFACA,GAAY,cACZ,CAAC,GAAY,gCACb,EACD,CACD,OAAQ,EACR,QAAS,GACT,GACE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as AnyEntity } from "./types-
|
|
2
|
-
import { t as Input } from "./input-
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
1
|
+
import { t as AnyEntity } from "./types-CLkAmCre.cjs";
|
|
2
|
+
import { t as Input } from "./input-CK10I74-.cjs";
|
|
3
|
+
import * as react_jsx_runtime337 from "react/jsx-runtime";
|
|
4
|
+
import * as react263 from "react";
|
|
5
5
|
import { AccessorKeyColumnDef, CellContext, Column, ColumnPinningPosition, ColumnPinningState, Header, HeaderGroup, Row, RowSelectionState, Table } from "@tanstack/react-table";
|
|
6
6
|
import { VirtualItem, Virtualizer } from "@tanstack/react-virtual";
|
|
7
7
|
|
|
@@ -76,14 +76,14 @@ type Props$7 = {
|
|
|
76
76
|
*
|
|
77
77
|
* <UITableCurrencyDisplay value={1234.5} currency="USD" colorize />
|
|
78
78
|
*/
|
|
79
|
-
declare const UITableCurrencyDisplay:
|
|
79
|
+
declare const UITableCurrencyDisplay: react263.MemoExoticComponent<({
|
|
80
80
|
value,
|
|
81
81
|
currency,
|
|
82
82
|
locale,
|
|
83
83
|
display,
|
|
84
84
|
size,
|
|
85
85
|
colorize
|
|
86
|
-
}: Props$7) =>
|
|
86
|
+
}: Props$7) => react_jsx_runtime337.JSX.Element>;
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region packages/components/features/tables/components/atoms/date-display.d.ts
|
|
89
89
|
/** Props for the {@link UITableDateDisplay} component. */
|
|
@@ -273,12 +273,12 @@ type Props$3 = {
|
|
|
273
273
|
*
|
|
274
274
|
* <UITableProgressDisplay value={75} />
|
|
275
275
|
*/
|
|
276
|
-
declare const UITableProgressDisplay:
|
|
276
|
+
declare const UITableProgressDisplay: react263.MemoExoticComponent<({
|
|
277
277
|
value,
|
|
278
278
|
showLabel,
|
|
279
279
|
successThreshold,
|
|
280
280
|
warningThreshold
|
|
281
|
-
}: Props$3) =>
|
|
281
|
+
}: Props$3) => react_jsx_runtime337.JSX.Element>;
|
|
282
282
|
//#endregion
|
|
283
283
|
//#region packages/components/features/tables/components/atoms/remove-button.d.ts
|
|
284
284
|
/**
|
|
@@ -332,7 +332,7 @@ type Props$2 = {
|
|
|
332
332
|
*
|
|
333
333
|
* <UITableStatisticDisplay value={1234567.89} precision={2} prefix="$" size="md" />
|
|
334
334
|
*/
|
|
335
|
-
declare const UITableStatisticDisplay:
|
|
335
|
+
declare const UITableStatisticDisplay: react263.MemoExoticComponent<({
|
|
336
336
|
decimalSeparator,
|
|
337
337
|
groupSeparator,
|
|
338
338
|
prefix: Prefix,
|
|
@@ -342,7 +342,7 @@ declare const UITableStatisticDisplay: react276.MemoExoticComponent<({
|
|
|
342
342
|
showTrailingZeros,
|
|
343
343
|
size,
|
|
344
344
|
value
|
|
345
|
-
}: Props$2) =>
|
|
345
|
+
}: Props$2) => react_jsx_runtime337.JSX.Element>;
|
|
346
346
|
//#endregion
|
|
347
347
|
//#region packages/components/features/tables/components/atoms/status-display.d.ts
|
|
348
348
|
type BadgeColor = 'primary' | 'secondary' | 'muted' | 'accent' | 'info' | 'success' | 'warning' | 'danger';
|
|
@@ -806,52 +806,52 @@ type TTableFilterContext = {
|
|
|
806
806
|
};
|
|
807
807
|
//#endregion
|
|
808
808
|
//#region packages/components/features/tables/components/commons/body.d.ts
|
|
809
|
-
declare const UITableBody:
|
|
809
|
+
declare const UITableBody: react263.NamedExoticComponent<TUITableBody>;
|
|
810
810
|
//#endregion
|
|
811
811
|
//#region packages/components/features/tables/components/commons/cell.d.ts
|
|
812
|
-
declare const UITableCell:
|
|
812
|
+
declare const UITableCell: react263.NamedExoticComponent<TUITableCell>;
|
|
813
813
|
//#endregion
|
|
814
814
|
//#region packages/components/features/tables/components/commons/cell-actions.d.ts
|
|
815
|
-
declare const UITableCellActions:
|
|
815
|
+
declare const UITableCellActions: react263.NamedExoticComponent<TUITableCellActions>;
|
|
816
816
|
//#endregion
|
|
817
817
|
//#region packages/components/features/tables/components/commons/cell-select.d.ts
|
|
818
|
-
declare const UITableCellSelect:
|
|
818
|
+
declare const UITableCellSelect: react263.NamedExoticComponent<TUITableCellSelect>;
|
|
819
819
|
//#endregion
|
|
820
820
|
//#region packages/components/features/tables/components/commons/empty-display.d.ts
|
|
821
|
-
declare const UITableEmptyDisplay:
|
|
821
|
+
declare const UITableEmptyDisplay: react263.NamedExoticComponent<TUITableEmptyDisplay>;
|
|
822
822
|
//#endregion
|
|
823
823
|
//#region packages/components/features/tables/components/commons/footer.d.ts
|
|
824
|
-
declare const UITableFooter:
|
|
824
|
+
declare const UITableFooter: react263.NamedExoticComponent<TUITableFooter>;
|
|
825
825
|
//#endregion
|
|
826
826
|
//#region packages/components/features/tables/components/commons/head.d.ts
|
|
827
|
-
declare const UITableHead:
|
|
827
|
+
declare const UITableHead: react263.NamedExoticComponent<TUITableHead>;
|
|
828
828
|
//#endregion
|
|
829
829
|
//#region packages/components/features/tables/components/commons/head-cell.d.ts
|
|
830
|
-
declare const UITableHeadCell:
|
|
830
|
+
declare const UITableHeadCell: react263.NamedExoticComponent<TUITableHeadCell>;
|
|
831
831
|
//#endregion
|
|
832
832
|
//#region packages/components/features/tables/components/commons/head-cell-option.d.ts
|
|
833
|
-
declare const UITableHeadCellOption:
|
|
833
|
+
declare const UITableHeadCellOption: react263.NamedExoticComponent<TUITableHeadCellOption>;
|
|
834
834
|
//#endregion
|
|
835
835
|
//#region packages/components/features/tables/components/commons/head-cell-select.d.ts
|
|
836
|
-
declare const UITableHeadCellSelect:
|
|
836
|
+
declare const UITableHeadCellSelect: react263.NamedExoticComponent<TUITableHeadCellSelect>;
|
|
837
837
|
//#endregion
|
|
838
838
|
//#region packages/components/features/tables/components/commons/head-row.d.ts
|
|
839
|
-
declare const UITableHeadRow:
|
|
839
|
+
declare const UITableHeadRow: react263.NamedExoticComponent<TUITableHeadRow>;
|
|
840
840
|
//#endregion
|
|
841
841
|
//#region packages/components/features/tables/components/commons/inner-table.d.ts
|
|
842
|
-
declare const UITableInnerTable:
|
|
842
|
+
declare const UITableInnerTable: react263.NamedExoticComponent<TUITableInnerTable>;
|
|
843
843
|
//#endregion
|
|
844
844
|
//#region packages/components/features/tables/components/commons/inner-wrapper.d.ts
|
|
845
|
-
declare const UITableInnerWrapper:
|
|
845
|
+
declare const UITableInnerWrapper: react263.NamedExoticComponent<TUITableInnerWrapper>;
|
|
846
846
|
//#endregion
|
|
847
847
|
//#region packages/components/features/tables/components/commons/load-more.d.ts
|
|
848
|
-
declare const UITableLoadMore:
|
|
848
|
+
declare const UITableLoadMore: react263.NamedExoticComponent<TUITableLoadMore>;
|
|
849
849
|
//#endregion
|
|
850
850
|
//#region packages/components/features/tables/components/commons/row.d.ts
|
|
851
|
-
declare const UITableRow:
|
|
851
|
+
declare const UITableRow: react263.NamedExoticComponent<TUITableRow>;
|
|
852
852
|
//#endregion
|
|
853
853
|
//#region packages/components/features/tables/components/commons/wrapper.d.ts
|
|
854
|
-
declare const UITableWrapper:
|
|
854
|
+
declare const UITableWrapper: react263.NamedExoticComponent<TUITableWrapper>;
|
|
855
855
|
//#endregion
|
|
856
856
|
//#region packages/components/features/tables/components/table.d.ts
|
|
857
857
|
declare const UITableContainer: React.FC<React.PropsWithChildren>;
|
|
@@ -885,7 +885,7 @@ declare const UITableContainer: React.FC<React.PropsWithChildren>;
|
|
|
885
885
|
* </UITableProvider>
|
|
886
886
|
* ```
|
|
887
887
|
*/
|
|
888
|
-
declare const UITableFilter: () =>
|
|
888
|
+
declare const UITableFilter: () => react_jsx_runtime337.JSX.Element;
|
|
889
889
|
//#endregion
|
|
890
890
|
//#region packages/components/features/tables/components/table/provider.d.ts
|
|
891
891
|
/**
|
|
@@ -942,7 +942,7 @@ declare const UITableProvider: <TData extends RowData<TData> = RowData<AnyEntity
|
|
|
942
942
|
filterDefinitions,
|
|
943
943
|
onFilterChange,
|
|
944
944
|
children
|
|
945
|
-
}: React.PropsWithChildren<TableProviderProps<TData, TKey, TColumns>>) =>
|
|
945
|
+
}: React.PropsWithChildren<TableProviderProps<TData, TKey, TColumns>>) => react_jsx_runtime337.JSX.Element;
|
|
946
946
|
//#endregion
|
|
947
947
|
//#region packages/components/features/tables/components/table/tooltip.d.ts
|
|
948
948
|
/**
|
|
@@ -1010,4 +1010,4 @@ declare const UITableTooltipActions: React.FC<{
|
|
|
1010
1010
|
declare const UITableTooltip: React.FC<React.PropsWithChildren>;
|
|
1011
1011
|
//#endregion
|
|
1012
1012
|
export { TUITableHeadRow as $, FilterValue as A, TTableRowContext as B, ActiveFilter as C, UITableBadgeDisplay as Ct, FilterDefinition as D, DateRangeFilterValue as E, TTableContext as F, TUITableCellSelect as G, TUITableBody as H, TTableFilterContext as I, TUITableFooter as J, TUITableColumn as K, TTableHeadRowContext as L, RowData as M, SingleTagFilterValue as N, FilterOption as O, TTableBodyContext as P, TUITableHeadCellSelect as Q, TTableInnerTableContext as R, UITableBody as S, UITableBooleanDisplay as St, CsvCell as T, TUITableCell as U, TTableVirtualizerContext as V, TUITableCellActions as W, TUITableHeadCell as X, TUITableHead as Y, TUITableHeadCellOption as Z, UITableFooter as _, UITableListDisplay as _t, UITableFilter as a, TableProviderProps as at, UITableCellActions as b, UITableDateDisplay as bt, UITableRow as c, UITableUserDataDisplay as ct, UITableInnerTable as d, UITableRemoveButton as dt, TUITableInnerTable as et, UITableHeadRow as f, UITableProgressDisplay as ft, UITableHead as g, UITableMoreButton as gt, UITableHeadCell as h, UITableNameDisplay as ht, UITableProvider as i, TUITableWrapper as it, NumberFilterValue as j, FilterType as k, UITableLoadMore as l, UITableStatusDisplay as lt, UITableHeadCellOption as m, UITablePermalink as mt, UITableTooltipActions as n, TUITableLoadMore as nt, UITableContainer as o, TagFilterValue as ot, UITableHeadCellSelect as p, UITablePhoneNumberDisplay as pt, TUITableEmptyDisplay as q, UITableTooltipFilter as r, TUITableRow as rt, UITableWrapper as s, TextFilterValue as st, UITableTooltip as t, TUITableInnerWrapper as tt, UITableInnerWrapper as u, UITableStatisticDisplay as ut, UITableEmptyDisplay as v, UITableEmailDisplay as vt, BooleanFilterValue as w, UITableCell as x, UITableCurrencyDisplay as xt, UITableCellSelect as y, UITableDescriptionDisplay as yt, TTableInnerWrapperContext as z };
|
|
1013
|
-
//# sourceMappingURL=index
|
|
1013
|
+
//# sourceMappingURL=index--EqgvW4c.d.cts.map
|