@misael703/ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +462 -0
- package/dist/brand.d.mts +46 -0
- package/dist/brand.d.ts +46 -0
- package/dist/brand.js +24 -0
- package/dist/brand.js.map +1 -0
- package/dist/brand.mjs +3 -0
- package/dist/brand.mjs.map +1 -0
- package/dist/chunk-26KJA67X.js +166 -0
- package/dist/chunk-26KJA67X.js.map +1 -0
- package/dist/chunk-2JTBLDMK.js +274 -0
- package/dist/chunk-2JTBLDMK.js.map +1 -0
- package/dist/chunk-2RVSLQEA.mjs +171 -0
- package/dist/chunk-2RVSLQEA.mjs.map +1 -0
- package/dist/chunk-2UV37SEN.mjs +78 -0
- package/dist/chunk-2UV37SEN.mjs.map +1 -0
- package/dist/chunk-33PU6AH7.mjs +123 -0
- package/dist/chunk-33PU6AH7.mjs.map +1 -0
- package/dist/chunk-3PXYCXDW.js +32 -0
- package/dist/chunk-3PXYCXDW.js.map +1 -0
- package/dist/chunk-3TNBETXR.js +116 -0
- package/dist/chunk-3TNBETXR.js.map +1 -0
- package/dist/chunk-3UHX7ITQ.mjs +76 -0
- package/dist/chunk-3UHX7ITQ.mjs.map +1 -0
- package/dist/chunk-4REALDR3.js +4 -0
- package/dist/chunk-4REALDR3.js.map +1 -0
- package/dist/chunk-55TOQMS2.js +142 -0
- package/dist/chunk-55TOQMS2.js.map +1 -0
- package/dist/chunk-5GEWIK4T.mjs +27 -0
- package/dist/chunk-5GEWIK4T.mjs.map +1 -0
- package/dist/chunk-5VMZMDJF.js +145 -0
- package/dist/chunk-5VMZMDJF.js.map +1 -0
- package/dist/chunk-6II4NJQM.js +127 -0
- package/dist/chunk-6II4NJQM.js.map +1 -0
- package/dist/chunk-6LOJIU3C.js +84 -0
- package/dist/chunk-6LOJIU3C.js.map +1 -0
- package/dist/chunk-6MEOR4YO.mjs +45 -0
- package/dist/chunk-6MEOR4YO.mjs.map +1 -0
- package/dist/chunk-6PEC4RRO.mjs +94 -0
- package/dist/chunk-6PEC4RRO.mjs.map +1 -0
- package/dist/chunk-7AKN7FDA.mjs +103 -0
- package/dist/chunk-7AKN7FDA.mjs.map +1 -0
- package/dist/chunk-AAQ7KUZH.mjs +352 -0
- package/dist/chunk-AAQ7KUZH.mjs.map +1 -0
- package/dist/chunk-ADIKHOEG.js +212 -0
- package/dist/chunk-ADIKHOEG.js.map +1 -0
- package/dist/chunk-ADQM725E.js +141 -0
- package/dist/chunk-ADQM725E.js.map +1 -0
- package/dist/chunk-AWYCGJJX.js +102 -0
- package/dist/chunk-AWYCGJJX.js.map +1 -0
- package/dist/chunk-AZBX7UFI.js +100 -0
- package/dist/chunk-AZBX7UFI.js.map +1 -0
- package/dist/chunk-BCIZLGM3.mjs +78 -0
- package/dist/chunk-BCIZLGM3.mjs.map +1 -0
- package/dist/chunk-BMZQ6L2C.js +294 -0
- package/dist/chunk-BMZQ6L2C.js.map +1 -0
- package/dist/chunk-CHVTPN3K.mjs +3 -0
- package/dist/chunk-CHVTPN3K.mjs.map +1 -0
- package/dist/chunk-CIBJKJV3.mjs +314 -0
- package/dist/chunk-CIBJKJV3.mjs.map +1 -0
- package/dist/chunk-CPMQ2DFS.js +197 -0
- package/dist/chunk-CPMQ2DFS.js.map +1 -0
- package/dist/chunk-CVXS7IHA.js +376 -0
- package/dist/chunk-CVXS7IHA.js.map +1 -0
- package/dist/chunk-DHCJMYFD.mjs +76 -0
- package/dist/chunk-DHCJMYFD.mjs.map +1 -0
- package/dist/chunk-DW3XAXHR.mjs +146 -0
- package/dist/chunk-DW3XAXHR.mjs.map +1 -0
- package/dist/chunk-E2XOUDAH.js +215 -0
- package/dist/chunk-E2XOUDAH.js.map +1 -0
- package/dist/chunk-EJJDJJEM.js +505 -0
- package/dist/chunk-EJJDJJEM.js.map +1 -0
- package/dist/chunk-FXM7OKDQ.js +146 -0
- package/dist/chunk-FXM7OKDQ.js.map +1 -0
- package/dist/chunk-GCW5JYWQ.js +69 -0
- package/dist/chunk-GCW5JYWQ.js.map +1 -0
- package/dist/chunk-GDFYAUHT.mjs +192 -0
- package/dist/chunk-GDFYAUHT.mjs.map +1 -0
- package/dist/chunk-GT2KVC2P.mjs +267 -0
- package/dist/chunk-GT2KVC2P.mjs.map +1 -0
- package/dist/chunk-GVYZAOWU.mjs +142 -0
- package/dist/chunk-GVYZAOWU.mjs.map +1 -0
- package/dist/chunk-HI3JT6SI.mjs +174 -0
- package/dist/chunk-HI3JT6SI.mjs.map +1 -0
- package/dist/chunk-HPFJ2A24.js +125 -0
- package/dist/chunk-HPFJ2A24.js.map +1 -0
- package/dist/chunk-HVUNNL3A.mjs +244 -0
- package/dist/chunk-HVUNNL3A.mjs.map +1 -0
- package/dist/chunk-HYUINOPJ.js +173 -0
- package/dist/chunk-HYUINOPJ.js.map +1 -0
- package/dist/chunk-IEPCH3JB.mjs +8 -0
- package/dist/chunk-IEPCH3JB.mjs.map +1 -0
- package/dist/chunk-IIYQO6BL.js +98 -0
- package/dist/chunk-IIYQO6BL.js.map +1 -0
- package/dist/chunk-IMFQ55KO.js +131 -0
- package/dist/chunk-IMFQ55KO.js.map +1 -0
- package/dist/chunk-IVL7P3MF.mjs +105 -0
- package/dist/chunk-IVL7P3MF.mjs.map +1 -0
- package/dist/chunk-JDOXRLZW.js +138 -0
- package/dist/chunk-JDOXRLZW.js.map +1 -0
- package/dist/chunk-JMFDIN5R.mjs +64 -0
- package/dist/chunk-JMFDIN5R.mjs.map +1 -0
- package/dist/chunk-KKOJI25C.mjs +11 -0
- package/dist/chunk-KKOJI25C.mjs.map +1 -0
- package/dist/chunk-L353APIO.js +131 -0
- package/dist/chunk-L353APIO.js.map +1 -0
- package/dist/chunk-LIGJBHXU.js +13 -0
- package/dist/chunk-LIGJBHXU.js.map +1 -0
- package/dist/chunk-LUXTZOTJ.js +204 -0
- package/dist/chunk-LUXTZOTJ.js.map +1 -0
- package/dist/chunk-ML5IYW5D.mjs +82 -0
- package/dist/chunk-ML5IYW5D.mjs.map +1 -0
- package/dist/chunk-NLCKWF3Y.mjs +88 -0
- package/dist/chunk-NLCKWF3Y.mjs.map +1 -0
- package/dist/chunk-NU4GAGUV.js +86 -0
- package/dist/chunk-NU4GAGUV.js.map +1 -0
- package/dist/chunk-NUURPO3J.mjs +120 -0
- package/dist/chunk-NUURPO3J.mjs.map +1 -0
- package/dist/chunk-O6FCBNWN.mjs +191 -0
- package/dist/chunk-O6FCBNWN.mjs.map +1 -0
- package/dist/chunk-OCE4ODTM.mjs +116 -0
- package/dist/chunk-OCE4ODTM.mjs.map +1 -0
- package/dist/chunk-ORUQ5GCU.mjs +120 -0
- package/dist/chunk-ORUQ5GCU.mjs.map +1 -0
- package/dist/chunk-PASF6T4H.js +10 -0
- package/dist/chunk-PASF6T4H.js.map +1 -0
- package/dist/chunk-PCRNKITV.mjs +106 -0
- package/dist/chunk-PCRNKITV.mjs.map +1 -0
- package/dist/chunk-PSJVU4E4.js +72 -0
- package/dist/chunk-PSJVU4E4.js.map +1 -0
- package/dist/chunk-PXCH5Z76.mjs +82 -0
- package/dist/chunk-PXCH5Z76.mjs.map +1 -0
- package/dist/chunk-QHRP73CS.js +106 -0
- package/dist/chunk-QHRP73CS.js.map +1 -0
- package/dist/chunk-QI6TVWWF.js +121 -0
- package/dist/chunk-QI6TVWWF.js.map +1 -0
- package/dist/chunk-QSCJ2CER.mjs +480 -0
- package/dist/chunk-QSCJ2CER.mjs.map +1 -0
- package/dist/chunk-R76YER7O.js +458 -0
- package/dist/chunk-R76YER7O.js.map +1 -0
- package/dist/chunk-RBJRQ44B.mjs +108 -0
- package/dist/chunk-RBJRQ44B.mjs.map +1 -0
- package/dist/chunk-RQOTH7I7.js +401 -0
- package/dist/chunk-RQOTH7I7.js.map +1 -0
- package/dist/chunk-SYX4GZ7E.mjs +134 -0
- package/dist/chunk-SYX4GZ7E.mjs.map +1 -0
- package/dist/chunk-T4R2LSRL.js +148 -0
- package/dist/chunk-T4R2LSRL.js.map +1 -0
- package/dist/chunk-TB6EHWRF.mjs +92 -0
- package/dist/chunk-TB6EHWRF.mjs.map +1 -0
- package/dist/chunk-TEQ67JKX.js +181 -0
- package/dist/chunk-TEQ67JKX.js.map +1 -0
- package/dist/chunk-TXKFCVCN.mjs +426 -0
- package/dist/chunk-TXKFCVCN.mjs.map +1 -0
- package/dist/chunk-TZG34EYW.js +74 -0
- package/dist/chunk-TZG34EYW.js.map +1 -0
- package/dist/chunk-UB2XEZ7C.mjs +72 -0
- package/dist/chunk-UB2XEZ7C.mjs.map +1 -0
- package/dist/chunk-UIKCTWKG.js +116 -0
- package/dist/chunk-UIKCTWKG.js.map +1 -0
- package/dist/chunk-UNOPDYA7.js +107 -0
- package/dist/chunk-UNOPDYA7.js.map +1 -0
- package/dist/chunk-V26K66NP.mjs +49 -0
- package/dist/chunk-V26K66NP.mjs.map +1 -0
- package/dist/chunk-W6YOBPL5.js +110 -0
- package/dist/chunk-W6YOBPL5.js.map +1 -0
- package/dist/chunk-X2DBGT7M.mjs +117 -0
- package/dist/chunk-X2DBGT7M.mjs.map +1 -0
- package/dist/chunk-YBOTLQ3G.mjs +99 -0
- package/dist/chunk-YBOTLQ3G.mjs.map +1 -0
- package/dist/chunk-Z3FAKG3E.mjs +125 -0
- package/dist/chunk-Z3FAKG3E.mjs.map +1 -0
- package/dist/chunk-Z4GRQHIG.mjs +177 -0
- package/dist/chunk-Z4GRQHIG.mjs.map +1 -0
- package/dist/chunk-ZRBVYPKN.js +169 -0
- package/dist/chunk-ZRBVYPKN.js.map +1 -0
- package/dist/chunk-ZRFSTYRL.mjs +157 -0
- package/dist/chunk-ZRFSTYRL.mjs.map +1 -0
- package/dist/chunk-ZXSSOEIM.js +197 -0
- package/dist/chunk-ZXSSOEIM.js.map +1 -0
- package/dist/components/AdvancedPickers.d.mts +77 -0
- package/dist/components/AdvancedPickers.d.ts +77 -0
- package/dist/components/AdvancedPickers.js +30 -0
- package/dist/components/AdvancedPickers.js.map +1 -0
- package/dist/components/AdvancedPickers.mjs +9 -0
- package/dist/components/AdvancedPickers.mjs.map +1 -0
- package/dist/components/AppShell.d.mts +55 -0
- package/dist/components/AppShell.d.ts +55 -0
- package/dist/components/AppShell.js +19 -0
- package/dist/components/AppShell.js.map +1 -0
- package/dist/components/AppShell.mjs +6 -0
- package/dist/components/AppShell.mjs.map +1 -0
- package/dist/components/Button.d.mts +16 -0
- package/dist/components/Button.d.ts +16 -0
- package/dist/components/Button.js +17 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/Button.mjs +4 -0
- package/dist/components/Button.mjs.map +1 -0
- package/dist/components/Carousel.d.mts +17 -0
- package/dist/components/Carousel.d.ts +17 -0
- package/dist/components/Carousel.js +14 -0
- package/dist/components/Carousel.js.map +1 -0
- package/dist/components/Carousel.mjs +5 -0
- package/dist/components/Carousel.mjs.map +1 -0
- package/dist/components/Charts.d.mts +96 -0
- package/dist/components/Charts.d.ts +96 -0
- package/dist/components/Charts.js +29 -0
- package/dist/components/Charts.js.map +1 -0
- package/dist/components/Charts.mjs +4 -0
- package/dist/components/Charts.mjs.map +1 -0
- package/dist/components/Code.d.mts +18 -0
- package/dist/components/Code.d.ts +18 -0
- package/dist/components/Code.js +18 -0
- package/dist/components/Code.js.map +1 -0
- package/dist/components/Code.mjs +5 -0
- package/dist/components/Code.mjs.map +1 -0
- package/dist/components/Collapsible.d.mts +12 -0
- package/dist/components/Collapsible.d.ts +12 -0
- package/dist/components/Collapsible.js +21 -0
- package/dist/components/Collapsible.js.map +1 -0
- package/dist/components/Collapsible.mjs +4 -0
- package/dist/components/Collapsible.mjs.map +1 -0
- package/dist/components/Comments.d.mts +41 -0
- package/dist/components/Comments.d.ts +41 -0
- package/dist/components/Comments.js +25 -0
- package/dist/components/Comments.js.map +1 -0
- package/dist/components/Comments.mjs +8 -0
- package/dist/components/Comments.mjs.map +1 -0
- package/dist/components/Commerce.d.mts +159 -0
- package/dist/components/Commerce.d.ts +159 -0
- package/dist/components/Commerce.js +58 -0
- package/dist/components/Commerce.js.map +1 -0
- package/dist/components/Commerce.mjs +9 -0
- package/dist/components/Commerce.mjs.map +1 -0
- package/dist/components/ContextMenu.d.mts +22 -0
- package/dist/components/ContextMenu.d.ts +22 -0
- package/dist/components/ContextMenu.js +13 -0
- package/dist/components/ContextMenu.js.map +1 -0
- package/dist/components/ContextMenu.mjs +4 -0
- package/dist/components/ContextMenu.mjs.map +1 -0
- package/dist/components/DataTable.d.mts +121 -0
- package/dist/components/DataTable.d.ts +121 -0
- package/dist/components/DataTable.js +38 -0
- package/dist/components/DataTable.js.map +1 -0
- package/dist/components/DataTable.mjs +9 -0
- package/dist/components/DataTable.mjs.map +1 -0
- package/dist/components/Display.d.mts +56 -0
- package/dist/components/Display.d.ts +56 -0
- package/dist/components/Display.js +55 -0
- package/dist/components/Display.js.map +1 -0
- package/dist/components/Display.mjs +6 -0
- package/dist/components/Display.mjs.map +1 -0
- package/dist/components/Display2.d.mts +54 -0
- package/dist/components/Display2.d.ts +54 -0
- package/dist/components/Display2.js +26 -0
- package/dist/components/Display2.js.map +1 -0
- package/dist/components/Display2.mjs +5 -0
- package/dist/components/Display2.mjs.map +1 -0
- package/dist/components/Display3.d.mts +58 -0
- package/dist/components/Display3.d.ts +58 -0
- package/dist/components/Display3.js +36 -0
- package/dist/components/Display3.js.map +1 -0
- package/dist/components/Display3.mjs +7 -0
- package/dist/components/Display3.mjs.map +1 -0
- package/dist/components/Editing.d.mts +52 -0
- package/dist/components/Editing.d.ts +52 -0
- package/dist/components/Editing.js +33 -0
- package/dist/components/Editing.js.map +1 -0
- package/dist/components/Editing.mjs +8 -0
- package/dist/components/Editing.mjs.map +1 -0
- package/dist/components/Filters.d.mts +37 -0
- package/dist/components/Filters.d.ts +37 -0
- package/dist/components/Filters.js +28 -0
- package/dist/components/Filters.js.map +1 -0
- package/dist/components/Filters.mjs +7 -0
- package/dist/components/Filters.mjs.map +1 -0
- package/dist/components/Form.d.mts +55 -0
- package/dist/components/Form.d.ts +55 -0
- package/dist/components/Form.js +50 -0
- package/dist/components/Form.js.map +1 -0
- package/dist/components/Form.mjs +5 -0
- package/dist/components/Form.mjs.map +1 -0
- package/dist/components/Gallery.d.mts +28 -0
- package/dist/components/Gallery.d.ts +28 -0
- package/dist/components/Gallery.js +20 -0
- package/dist/components/Gallery.js.map +1 -0
- package/dist/components/Gallery.mjs +7 -0
- package/dist/components/Gallery.mjs.map +1 -0
- package/dist/components/HoverCard.d.mts +17 -0
- package/dist/components/HoverCard.d.ts +17 -0
- package/dist/components/HoverCard.js +13 -0
- package/dist/components/HoverCard.js.map +1 -0
- package/dist/components/HoverCard.mjs +4 -0
- package/dist/components/HoverCard.mjs.map +1 -0
- package/dist/components/Icons.d.mts +84 -0
- package/dist/components/Icons.d.ts +84 -0
- package/dist/components/Icons.js +272 -0
- package/dist/components/Icons.js.map +1 -0
- package/dist/components/Icons.mjs +3 -0
- package/dist/components/Icons.mjs.map +1 -0
- package/dist/components/InputOTP.d.mts +17 -0
- package/dist/components/InputOTP.d.ts +17 -0
- package/dist/components/InputOTP.js +13 -0
- package/dist/components/InputOTP.js.map +1 -0
- package/dist/components/InputOTP.mjs +4 -0
- package/dist/components/InputOTP.mjs.map +1 -0
- package/dist/components/Inputs.d.mts +45 -0
- package/dist/components/Inputs.d.ts +45 -0
- package/dist/components/Inputs.js +28 -0
- package/dist/components/Inputs.js.map +1 -0
- package/dist/components/Inputs.mjs +7 -0
- package/dist/components/Inputs.mjs.map +1 -0
- package/dist/components/InputsExtra.d.mts +98 -0
- package/dist/components/InputsExtra.d.ts +98 -0
- package/dist/components/InputsExtra.js +49 -0
- package/dist/components/InputsExtra.js.map +1 -0
- package/dist/components/InputsExtra.mjs +8 -0
- package/dist/components/InputsExtra.mjs.map +1 -0
- package/dist/components/Layout.d.mts +83 -0
- package/dist/components/Layout.d.ts +83 -0
- package/dist/components/Layout.js +78 -0
- package/dist/components/Layout.js.map +1 -0
- package/dist/components/Layout.mjs +5 -0
- package/dist/components/Layout.mjs.map +1 -0
- package/dist/components/Logo.d.mts +38 -0
- package/dist/components/Logo.d.ts +38 -0
- package/dist/components/Logo.js +14 -0
- package/dist/components/Logo.js.map +1 -0
- package/dist/components/Logo.mjs +5 -0
- package/dist/components/Logo.mjs.map +1 -0
- package/dist/components/Marketing.d.mts +46 -0
- package/dist/components/Marketing.d.ts +46 -0
- package/dist/components/Marketing.js +22 -0
- package/dist/components/Marketing.js.map +1 -0
- package/dist/components/Marketing.mjs +5 -0
- package/dist/components/Marketing.mjs.map +1 -0
- package/dist/components/Menubar.d.mts +24 -0
- package/dist/components/Menubar.d.ts +24 -0
- package/dist/components/Menubar.js +13 -0
- package/dist/components/Menubar.js.map +1 -0
- package/dist/components/Menubar.mjs +4 -0
- package/dist/components/Menubar.mjs.map +1 -0
- package/dist/components/NavigationMenu.d.mts +28 -0
- package/dist/components/NavigationMenu.d.ts +28 -0
- package/dist/components/NavigationMenu.js +14 -0
- package/dist/components/NavigationMenu.js.map +1 -0
- package/dist/components/NavigationMenu.mjs +5 -0
- package/dist/components/NavigationMenu.mjs.map +1 -0
- package/dist/components/Notifications.d.mts +25 -0
- package/dist/components/Notifications.d.ts +25 -0
- package/dist/components/Notifications.js +16 -0
- package/dist/components/Notifications.js.map +1 -0
- package/dist/components/Notifications.mjs +7 -0
- package/dist/components/Notifications.mjs.map +1 -0
- package/dist/components/Overlay.d.mts +20 -0
- package/dist/components/Overlay.d.ts +20 -0
- package/dist/components/Overlay.js +19 -0
- package/dist/components/Overlay.js.map +1 -0
- package/dist/components/Overlay.mjs +6 -0
- package/dist/components/Overlay.mjs.map +1 -0
- package/dist/components/Permissions.d.mts +23 -0
- package/dist/components/Permissions.d.ts +23 -0
- package/dist/components/Permissions.js +17 -0
- package/dist/components/Permissions.js.map +1 -0
- package/dist/components/Permissions.mjs +8 -0
- package/dist/components/Permissions.mjs.map +1 -0
- package/dist/components/Pickers.d.mts +54 -0
- package/dist/components/Pickers.d.ts +54 -0
- package/dist/components/Pickers.js +25 -0
- package/dist/components/Pickers.js.map +1 -0
- package/dist/components/Pickers.mjs +8 -0
- package/dist/components/Pickers.mjs.map +1 -0
- package/dist/components/Popover.d.mts +23 -0
- package/dist/components/Popover.d.ts +23 -0
- package/dist/components/Popover.js +13 -0
- package/dist/components/Popover.js.map +1 -0
- package/dist/components/Popover.mjs +4 -0
- package/dist/components/Popover.mjs.map +1 -0
- package/dist/components/Primitives.d.mts +18 -0
- package/dist/components/Primitives.d.ts +18 -0
- package/dist/components/Primitives.js +21 -0
- package/dist/components/Primitives.js.map +1 -0
- package/dist/components/Primitives.mjs +4 -0
- package/dist/components/Primitives.mjs.map +1 -0
- package/dist/components/Resizable.d.mts +27 -0
- package/dist/components/Resizable.d.ts +27 -0
- package/dist/components/Resizable.js +21 -0
- package/dist/components/Resizable.js.map +1 -0
- package/dist/components/Resizable.mjs +4 -0
- package/dist/components/Resizable.mjs.map +1 -0
- package/dist/components/Toast.d.mts +21 -0
- package/dist/components/Toast.d.ts +21 -0
- package/dist/components/Toast.js +19 -0
- package/dist/components/Toast.js.map +1 -0
- package/dist/components/Toast.mjs +6 -0
- package/dist/components/Toast.mjs.map +1 -0
- package/dist/components/Toggle.d.mts +42 -0
- package/dist/components/Toggle.d.ts +42 -0
- package/dist/components/Toggle.js +21 -0
- package/dist/components/Toggle.js.map +1 -0
- package/dist/components/Toggle.mjs +4 -0
- package/dist/components/Toggle.mjs.map +1 -0
- package/dist/fonts/DMSans-VariableFont_wght.woff2 +0 -0
- package/dist/fonts/OFL.txt +98 -0
- package/dist/fonts/Outfit-VariableFont_wght.woff2 +0 -0
- package/dist/fonts.css +1 -0
- package/dist/index.d.mts +43 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +926 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +45 -0
- package/dist/index.mjs.map +1 -0
- package/dist/locale/index.d.mts +174 -0
- package/dist/locale/index.d.ts +174 -0
- package/dist/locale/index.js +26 -0
- package/dist/locale/index.js.map +1 -0
- package/dist/locale/index.mjs +5 -0
- package/dist/locale/index.mjs.map +1 -0
- package/dist/presets/elalba/defaults.d.mts +24 -0
- package/dist/presets/elalba/defaults.d.ts +24 -0
- package/dist/presets/elalba/defaults.js +13 -0
- package/dist/presets/elalba/defaults.js.map +1 -0
- package/dist/presets/elalba/defaults.mjs +11 -0
- package/dist/presets/elalba/defaults.mjs.map +1 -0
- package/dist/presets/elalba/logos/logo-horizontal-dark.png +0 -0
- package/dist/presets/elalba/logos/logo-horizontal-dark.svg +58 -0
- package/dist/presets/elalba/logos/logo-horizontal-light.png +0 -0
- package/dist/presets/elalba/logos/logo-horizontal-light.svg +68 -0
- package/dist/presets/elalba/logos/logo-vertical-dark.png +0 -0
- package/dist/presets/elalba/logos/logo-vertical-dark.svg +58 -0
- package/dist/presets/elalba/logos/logo-vertical-light.png +0 -0
- package/dist/presets/elalba/logos/logo-vertical-light.svg +68 -0
- package/dist/presets/elalba/logos/mark-dark.png +0 -0
- package/dist/presets/elalba/logos/mark-dark.svg +27 -0
- package/dist/presets/elalba/logos/mark-light.png +0 -0
- package/dist/presets/elalba/logos/mark-light.svg +27 -0
- package/dist/presets/elalba/logos/wordmark-dark.png +0 -0
- package/dist/presets/elalba/logos/wordmark-dark.svg +36 -0
- package/dist/presets/elalba/logos/wordmark-light.png +0 -0
- package/dist/presets/elalba/logos/wordmark-light.svg +36 -0
- package/dist/presets/elalba/styles.css +1 -0
- package/dist/styles.css +1 -0
- package/dist/tokens.css +1 -0
- package/dist/utils/cx.d.mts +3 -0
- package/dist/utils/cx.d.ts +3 -0
- package/dist/utils/cx.js +12 -0
- package/dist/utils/cx.js.map +1 -0
- package/dist/utils/cx.mjs +3 -0
- package/dist/utils/cx.mjs.map +1 -0
- package/dist/utils/dateFormat.d.mts +35 -0
- package/dist/utils/dateFormat.d.ts +35 -0
- package/dist/utils/dateFormat.js +29 -0
- package/dist/utils/dateFormat.js.map +1 -0
- package/dist/utils/dateFormat.mjs +4 -0
- package/dist/utils/dateFormat.mjs.map +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface RatingProps {
|
|
5
|
+
value: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
/** Si se pasa, se vuelve interactivo. */
|
|
8
|
+
onChange?: (value: number) => void;
|
|
9
|
+
size?: number;
|
|
10
|
+
/** Permite medias estrellas (display only). */
|
|
11
|
+
allowHalf?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function Rating({ value, max, onChange, size, allowHalf, className, ariaLabel, }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
interface PriceDisplayProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
17
|
+
amount: number;
|
|
18
|
+
/** Precio original tachado (para descuentos). */
|
|
19
|
+
compareAt?: number;
|
|
20
|
+
/** ISO 4217. Default desde `getBrand().currency`. */
|
|
21
|
+
currency?: string;
|
|
22
|
+
/** BCP 47. Default desde `getBrand().locale`. */
|
|
23
|
+
locale?: string;
|
|
24
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
25
|
+
/** Muestra "% off" si hay compareAt. Default: true. */
|
|
26
|
+
showDiscount?: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare function PriceDisplay({ amount, compareAt, currency, locale, size, showDiscount, className, ...rest }: PriceDisplayProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
interface QuantitySelectorProps {
|
|
30
|
+
value: number;
|
|
31
|
+
onChange: (v: number) => void;
|
|
32
|
+
min?: number;
|
|
33
|
+
max?: number;
|
|
34
|
+
step?: number;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
size?: 'sm' | 'md';
|
|
37
|
+
className?: string;
|
|
38
|
+
id?: string;
|
|
39
|
+
}
|
|
40
|
+
declare function QuantitySelector({ value, onChange, min, max, step, disabled, size, className, id, }: QuantitySelectorProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
interface VariantOption<T = string> {
|
|
42
|
+
value: T;
|
|
43
|
+
label: React.ReactNode;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/** Color hex/rgb para chips de tipo "color". */
|
|
46
|
+
swatch?: string;
|
|
47
|
+
}
|
|
48
|
+
interface VariantSelectorProps<T = string> {
|
|
49
|
+
label?: React.ReactNode;
|
|
50
|
+
options: VariantOption<T>[];
|
|
51
|
+
value: T | null;
|
|
52
|
+
onChange: (value: T) => void;
|
|
53
|
+
/** 'chip' (default), 'swatch' (círculos de color). */
|
|
54
|
+
appearance?: 'chip' | 'swatch';
|
|
55
|
+
className?: string;
|
|
56
|
+
}
|
|
57
|
+
declare function VariantSelector<T extends string | number = string>({ label, options, value, onChange, appearance, className, }: VariantSelectorProps<T>): react_jsx_runtime.JSX.Element;
|
|
58
|
+
interface WishlistButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
59
|
+
active?: boolean;
|
|
60
|
+
onToggle?: (next: boolean) => void;
|
|
61
|
+
size?: number;
|
|
62
|
+
}
|
|
63
|
+
declare function WishlistButton({ active, onToggle, size, className, ...rest }: WishlistButtonProps): react_jsx_runtime.JSX.Element;
|
|
64
|
+
interface PromoCodeInputProps {
|
|
65
|
+
/** Validador async. Resuelve con un mensaje de éxito o lanza un Error con el mensaje. */
|
|
66
|
+
onApply: (code: string) => Promise<string>;
|
|
67
|
+
placeholder?: string;
|
|
68
|
+
buttonLabel?: string;
|
|
69
|
+
className?: string;
|
|
70
|
+
id?: string;
|
|
71
|
+
}
|
|
72
|
+
declare function PromoCodeInput({ onApply, placeholder, buttonLabel, className, id, }: PromoCodeInputProps): react_jsx_runtime.JSX.Element;
|
|
73
|
+
interface FreeShippingProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
74
|
+
/** Subtotal actual del cart. */
|
|
75
|
+
current: number;
|
|
76
|
+
/** Threshold para envío gratis. */
|
|
77
|
+
threshold: number;
|
|
78
|
+
currency?: string;
|
|
79
|
+
locale?: string;
|
|
80
|
+
achievedMessage?: React.ReactNode;
|
|
81
|
+
}
|
|
82
|
+
declare function FreeShippingProgress({ current, threshold, currency, locale, achievedMessage, className, ...rest }: FreeShippingProgressProps): react_jsx_runtime.JSX.Element;
|
|
83
|
+
interface CartLineItem {
|
|
84
|
+
id: string;
|
|
85
|
+
name: React.ReactNode;
|
|
86
|
+
variant?: React.ReactNode;
|
|
87
|
+
image?: string;
|
|
88
|
+
unitPrice: number;
|
|
89
|
+
quantity: number;
|
|
90
|
+
}
|
|
91
|
+
interface CartDrawerProps {
|
|
92
|
+
open: boolean;
|
|
93
|
+
onClose: () => void;
|
|
94
|
+
items: CartLineItem[];
|
|
95
|
+
onQuantityChange?: (id: string, qty: number) => void;
|
|
96
|
+
onRemove?: (id: string) => void;
|
|
97
|
+
onCheckout?: () => void;
|
|
98
|
+
freeShippingThreshold?: number;
|
|
99
|
+
currency?: string;
|
|
100
|
+
locale?: string;
|
|
101
|
+
}
|
|
102
|
+
declare function CartDrawer({ open, onClose, items, onQuantityChange, onRemove, onCheckout, freeShippingThreshold, currency, locale, }: CartDrawerProps): react_jsx_runtime.JSX.Element;
|
|
103
|
+
interface OrderLineRow {
|
|
104
|
+
label: React.ReactNode;
|
|
105
|
+
value: React.ReactNode;
|
|
106
|
+
/** Aplica estilo de total (negrita, más grande). */
|
|
107
|
+
emphasis?: boolean;
|
|
108
|
+
}
|
|
109
|
+
interface OrderSummaryProps extends Omit<React.HTMLAttributes<HTMLDListElement>, 'title'> {
|
|
110
|
+
rows: OrderLineRow[];
|
|
111
|
+
title?: React.ReactNode;
|
|
112
|
+
}
|
|
113
|
+
declare function OrderSummary({ rows, title, className, ...rest }: OrderSummaryProps): react_jsx_runtime.JSX.Element;
|
|
114
|
+
interface AddressFieldOption {
|
|
115
|
+
value: string;
|
|
116
|
+
label: React.ReactNode;
|
|
117
|
+
}
|
|
118
|
+
interface AddressField {
|
|
119
|
+
/** Key del campo en el objeto `value`. */
|
|
120
|
+
key: string;
|
|
121
|
+
label: React.ReactNode;
|
|
122
|
+
type?: 'text' | 'select' | 'textarea';
|
|
123
|
+
placeholder?: string;
|
|
124
|
+
/** Solo para `type: 'select'`. */
|
|
125
|
+
options?: readonly AddressFieldOption[];
|
|
126
|
+
/** Placeholder de la opción vacía. Default: 'Selecciona…' (locale: `common.search` no aplica). */
|
|
127
|
+
selectPlaceholder?: string;
|
|
128
|
+
/** Anchura en una grilla de 6 columnas. Default: 'full'. */
|
|
129
|
+
width?: 'full' | 'half' | 'third';
|
|
130
|
+
/** Solo para `type: 'textarea'`. */
|
|
131
|
+
rows?: number;
|
|
132
|
+
}
|
|
133
|
+
interface AddressFormProps {
|
|
134
|
+
fields: AddressField[];
|
|
135
|
+
value: Record<string, string>;
|
|
136
|
+
onChange: (value: Record<string, string>) => void;
|
|
137
|
+
className?: string;
|
|
138
|
+
}
|
|
139
|
+
declare function AddressForm({ fields, value, onChange, className }: AddressFormProps): react_jsx_runtime.JSX.Element;
|
|
140
|
+
interface CompareItem {
|
|
141
|
+
id: string;
|
|
142
|
+
name: React.ReactNode;
|
|
143
|
+
image?: string;
|
|
144
|
+
price?: React.ReactNode;
|
|
145
|
+
}
|
|
146
|
+
interface CompareAttribute {
|
|
147
|
+
key: string;
|
|
148
|
+
label: React.ReactNode;
|
|
149
|
+
/** Valor por item, indexado por id. */
|
|
150
|
+
values: Record<string, React.ReactNode>;
|
|
151
|
+
}
|
|
152
|
+
interface CompareTableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
153
|
+
items: CompareItem[];
|
|
154
|
+
attributes: CompareAttribute[];
|
|
155
|
+
onRemove?: (id: string) => void;
|
|
156
|
+
}
|
|
157
|
+
declare function CompareTable({ items, attributes, onRemove, className, ...rest }: CompareTableProps): react_jsx_runtime.JSX.Element;
|
|
158
|
+
|
|
159
|
+
export { type AddressField, type AddressFieldOption, AddressForm, type AddressFormProps, CartDrawer, type CartDrawerProps, type CartLineItem, type CompareAttribute, type CompareItem, CompareTable, type CompareTableProps, FreeShippingProgress, type FreeShippingProgressProps, type OrderLineRow, OrderSummary, type OrderSummaryProps, PriceDisplay, type PriceDisplayProps, PromoCodeInput, type PromoCodeInputProps, QuantitySelector, type QuantitySelectorProps, Rating, type RatingProps, type VariantOption, VariantSelector, type VariantSelectorProps, WishlistButton, type WishlistButtonProps };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface RatingProps {
|
|
5
|
+
value: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
/** Si se pasa, se vuelve interactivo. */
|
|
8
|
+
onChange?: (value: number) => void;
|
|
9
|
+
size?: number;
|
|
10
|
+
/** Permite medias estrellas (display only). */
|
|
11
|
+
allowHalf?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function Rating({ value, max, onChange, size, allowHalf, className, ariaLabel, }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
interface PriceDisplayProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
17
|
+
amount: number;
|
|
18
|
+
/** Precio original tachado (para descuentos). */
|
|
19
|
+
compareAt?: number;
|
|
20
|
+
/** ISO 4217. Default desde `getBrand().currency`. */
|
|
21
|
+
currency?: string;
|
|
22
|
+
/** BCP 47. Default desde `getBrand().locale`. */
|
|
23
|
+
locale?: string;
|
|
24
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
25
|
+
/** Muestra "% off" si hay compareAt. Default: true. */
|
|
26
|
+
showDiscount?: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare function PriceDisplay({ amount, compareAt, currency, locale, size, showDiscount, className, ...rest }: PriceDisplayProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
interface QuantitySelectorProps {
|
|
30
|
+
value: number;
|
|
31
|
+
onChange: (v: number) => void;
|
|
32
|
+
min?: number;
|
|
33
|
+
max?: number;
|
|
34
|
+
step?: number;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
size?: 'sm' | 'md';
|
|
37
|
+
className?: string;
|
|
38
|
+
id?: string;
|
|
39
|
+
}
|
|
40
|
+
declare function QuantitySelector({ value, onChange, min, max, step, disabled, size, className, id, }: QuantitySelectorProps): react_jsx_runtime.JSX.Element;
|
|
41
|
+
interface VariantOption<T = string> {
|
|
42
|
+
value: T;
|
|
43
|
+
label: React.ReactNode;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/** Color hex/rgb para chips de tipo "color". */
|
|
46
|
+
swatch?: string;
|
|
47
|
+
}
|
|
48
|
+
interface VariantSelectorProps<T = string> {
|
|
49
|
+
label?: React.ReactNode;
|
|
50
|
+
options: VariantOption<T>[];
|
|
51
|
+
value: T | null;
|
|
52
|
+
onChange: (value: T) => void;
|
|
53
|
+
/** 'chip' (default), 'swatch' (círculos de color). */
|
|
54
|
+
appearance?: 'chip' | 'swatch';
|
|
55
|
+
className?: string;
|
|
56
|
+
}
|
|
57
|
+
declare function VariantSelector<T extends string | number = string>({ label, options, value, onChange, appearance, className, }: VariantSelectorProps<T>): react_jsx_runtime.JSX.Element;
|
|
58
|
+
interface WishlistButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
59
|
+
active?: boolean;
|
|
60
|
+
onToggle?: (next: boolean) => void;
|
|
61
|
+
size?: number;
|
|
62
|
+
}
|
|
63
|
+
declare function WishlistButton({ active, onToggle, size, className, ...rest }: WishlistButtonProps): react_jsx_runtime.JSX.Element;
|
|
64
|
+
interface PromoCodeInputProps {
|
|
65
|
+
/** Validador async. Resuelve con un mensaje de éxito o lanza un Error con el mensaje. */
|
|
66
|
+
onApply: (code: string) => Promise<string>;
|
|
67
|
+
placeholder?: string;
|
|
68
|
+
buttonLabel?: string;
|
|
69
|
+
className?: string;
|
|
70
|
+
id?: string;
|
|
71
|
+
}
|
|
72
|
+
declare function PromoCodeInput({ onApply, placeholder, buttonLabel, className, id, }: PromoCodeInputProps): react_jsx_runtime.JSX.Element;
|
|
73
|
+
interface FreeShippingProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
74
|
+
/** Subtotal actual del cart. */
|
|
75
|
+
current: number;
|
|
76
|
+
/** Threshold para envío gratis. */
|
|
77
|
+
threshold: number;
|
|
78
|
+
currency?: string;
|
|
79
|
+
locale?: string;
|
|
80
|
+
achievedMessage?: React.ReactNode;
|
|
81
|
+
}
|
|
82
|
+
declare function FreeShippingProgress({ current, threshold, currency, locale, achievedMessage, className, ...rest }: FreeShippingProgressProps): react_jsx_runtime.JSX.Element;
|
|
83
|
+
interface CartLineItem {
|
|
84
|
+
id: string;
|
|
85
|
+
name: React.ReactNode;
|
|
86
|
+
variant?: React.ReactNode;
|
|
87
|
+
image?: string;
|
|
88
|
+
unitPrice: number;
|
|
89
|
+
quantity: number;
|
|
90
|
+
}
|
|
91
|
+
interface CartDrawerProps {
|
|
92
|
+
open: boolean;
|
|
93
|
+
onClose: () => void;
|
|
94
|
+
items: CartLineItem[];
|
|
95
|
+
onQuantityChange?: (id: string, qty: number) => void;
|
|
96
|
+
onRemove?: (id: string) => void;
|
|
97
|
+
onCheckout?: () => void;
|
|
98
|
+
freeShippingThreshold?: number;
|
|
99
|
+
currency?: string;
|
|
100
|
+
locale?: string;
|
|
101
|
+
}
|
|
102
|
+
declare function CartDrawer({ open, onClose, items, onQuantityChange, onRemove, onCheckout, freeShippingThreshold, currency, locale, }: CartDrawerProps): react_jsx_runtime.JSX.Element;
|
|
103
|
+
interface OrderLineRow {
|
|
104
|
+
label: React.ReactNode;
|
|
105
|
+
value: React.ReactNode;
|
|
106
|
+
/** Aplica estilo de total (negrita, más grande). */
|
|
107
|
+
emphasis?: boolean;
|
|
108
|
+
}
|
|
109
|
+
interface OrderSummaryProps extends Omit<React.HTMLAttributes<HTMLDListElement>, 'title'> {
|
|
110
|
+
rows: OrderLineRow[];
|
|
111
|
+
title?: React.ReactNode;
|
|
112
|
+
}
|
|
113
|
+
declare function OrderSummary({ rows, title, className, ...rest }: OrderSummaryProps): react_jsx_runtime.JSX.Element;
|
|
114
|
+
interface AddressFieldOption {
|
|
115
|
+
value: string;
|
|
116
|
+
label: React.ReactNode;
|
|
117
|
+
}
|
|
118
|
+
interface AddressField {
|
|
119
|
+
/** Key del campo en el objeto `value`. */
|
|
120
|
+
key: string;
|
|
121
|
+
label: React.ReactNode;
|
|
122
|
+
type?: 'text' | 'select' | 'textarea';
|
|
123
|
+
placeholder?: string;
|
|
124
|
+
/** Solo para `type: 'select'`. */
|
|
125
|
+
options?: readonly AddressFieldOption[];
|
|
126
|
+
/** Placeholder de la opción vacía. Default: 'Selecciona…' (locale: `common.search` no aplica). */
|
|
127
|
+
selectPlaceholder?: string;
|
|
128
|
+
/** Anchura en una grilla de 6 columnas. Default: 'full'. */
|
|
129
|
+
width?: 'full' | 'half' | 'third';
|
|
130
|
+
/** Solo para `type: 'textarea'`. */
|
|
131
|
+
rows?: number;
|
|
132
|
+
}
|
|
133
|
+
interface AddressFormProps {
|
|
134
|
+
fields: AddressField[];
|
|
135
|
+
value: Record<string, string>;
|
|
136
|
+
onChange: (value: Record<string, string>) => void;
|
|
137
|
+
className?: string;
|
|
138
|
+
}
|
|
139
|
+
declare function AddressForm({ fields, value, onChange, className }: AddressFormProps): react_jsx_runtime.JSX.Element;
|
|
140
|
+
interface CompareItem {
|
|
141
|
+
id: string;
|
|
142
|
+
name: React.ReactNode;
|
|
143
|
+
image?: string;
|
|
144
|
+
price?: React.ReactNode;
|
|
145
|
+
}
|
|
146
|
+
interface CompareAttribute {
|
|
147
|
+
key: string;
|
|
148
|
+
label: React.ReactNode;
|
|
149
|
+
/** Valor por item, indexado por id. */
|
|
150
|
+
values: Record<string, React.ReactNode>;
|
|
151
|
+
}
|
|
152
|
+
interface CompareTableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
153
|
+
items: CompareItem[];
|
|
154
|
+
attributes: CompareAttribute[];
|
|
155
|
+
onRemove?: (id: string) => void;
|
|
156
|
+
}
|
|
157
|
+
declare function CompareTable({ items, attributes, onRemove, className, ...rest }: CompareTableProps): react_jsx_runtime.JSX.Element;
|
|
158
|
+
|
|
159
|
+
export { type AddressField, type AddressFieldOption, AddressForm, type AddressFormProps, CartDrawer, type CartDrawerProps, type CartLineItem, type CompareAttribute, type CompareItem, CompareTable, type CompareTableProps, FreeShippingProgress, type FreeShippingProgressProps, type OrderLineRow, OrderSummary, type OrderSummaryProps, PriceDisplay, type PriceDisplayProps, PromoCodeInput, type PromoCodeInputProps, QuantitySelector, type QuantitySelectorProps, Rating, type RatingProps, type VariantOption, VariantSelector, type VariantSelectorProps, WishlistButton, type WishlistButtonProps };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkR76YER7O_js = require('../chunk-R76YER7O.js');
|
|
4
|
+
require('../chunk-E2XOUDAH.js');
|
|
5
|
+
require('../chunk-LIGJBHXU.js');
|
|
6
|
+
require('../chunk-3PXYCXDW.js');
|
|
7
|
+
require('../chunk-TEQ67JKX.js');
|
|
8
|
+
require('../chunk-RQOTH7I7.js');
|
|
9
|
+
require('../chunk-PASF6T4H.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "AddressForm", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkR76YER7O_js.AddressForm; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "CartDrawer", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkR76YER7O_js.CartDrawer; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "CompareTable", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkR76YER7O_js.CompareTable; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "FreeShippingProgress", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkR76YER7O_js.FreeShippingProgress; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "OrderSummary", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkR76YER7O_js.OrderSummary; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "PriceDisplay", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkR76YER7O_js.PriceDisplay; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "PromoCodeInput", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkR76YER7O_js.PromoCodeInput; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "QuantitySelector", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkR76YER7O_js.QuantitySelector; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "Rating", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkR76YER7O_js.Rating; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "VariantSelector", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkR76YER7O_js.VariantSelector; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "WishlistButton", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkR76YER7O_js.WishlistButton; }
|
|
56
|
+
});
|
|
57
|
+
//# sourceMappingURL=Commerce.js.map
|
|
58
|
+
//# sourceMappingURL=Commerce.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Commerce.js"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { AddressForm, CartDrawer, CompareTable, FreeShippingProgress, OrderSummary, PriceDisplay, PromoCodeInput, QuantitySelector, Rating, VariantSelector, WishlistButton } from '../chunk-TXKFCVCN.mjs';
|
|
2
|
+
import '../chunk-GDFYAUHT.mjs';
|
|
3
|
+
import '../chunk-KKOJI25C.mjs';
|
|
4
|
+
import '../chunk-5GEWIK4T.mjs';
|
|
5
|
+
import '../chunk-ZRFSTYRL.mjs';
|
|
6
|
+
import '../chunk-CIBJKJV3.mjs';
|
|
7
|
+
import '../chunk-IEPCH3JB.mjs';
|
|
8
|
+
//# sourceMappingURL=Commerce.mjs.map
|
|
9
|
+
//# sourceMappingURL=Commerce.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Commerce.mjs"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface ContextMenuItem {
|
|
5
|
+
id: string;
|
|
6
|
+
label?: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
onSelect?: () => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
danger?: boolean;
|
|
11
|
+
separator?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface ContextMenuProps {
|
|
14
|
+
items: ContextMenuItem[];
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
className?: string;
|
|
17
|
+
menuClassName?: string;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
}
|
|
20
|
+
declare function ContextMenu({ items, children, className, menuClassName, ariaLabel }: ContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { ContextMenu, type ContextMenuItem, type ContextMenuProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface ContextMenuItem {
|
|
5
|
+
id: string;
|
|
6
|
+
label?: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
onSelect?: () => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
danger?: boolean;
|
|
11
|
+
separator?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface ContextMenuProps {
|
|
14
|
+
items: ContextMenuItem[];
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
className?: string;
|
|
17
|
+
menuClassName?: string;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
}
|
|
20
|
+
declare function ContextMenu({ items, children, className, menuClassName, ariaLabel }: ContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { ContextMenu, type ContextMenuItem, type ContextMenuProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkIIYQO6BL_js = require('../chunk-IIYQO6BL.js');
|
|
4
|
+
require('../chunk-PASF6T4H.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "ContextMenu", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkIIYQO6BL_js.ContextMenu; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=ContextMenu.js.map
|
|
13
|
+
//# sourceMappingURL=ContextMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContextMenu.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ContextMenu.mjs"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
interface Column<T> {
|
|
5
|
+
key: string;
|
|
6
|
+
header: React.ReactNode;
|
|
7
|
+
accessor?: (row: T) => React.ReactNode;
|
|
8
|
+
sortable?: boolean;
|
|
9
|
+
align?: 'left' | 'right' | 'center';
|
|
10
|
+
width?: number | string;
|
|
11
|
+
/**
|
|
12
|
+
* Marks the column as numeric: cells get the `.table__num` class
|
|
13
|
+
* (monospace + tabular alignment) and right-align by default.
|
|
14
|
+
*/
|
|
15
|
+
numeric?: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface DataTableProps<T> {
|
|
18
|
+
columns: Column<T>[];
|
|
19
|
+
rows: T[];
|
|
20
|
+
rowKey: (row: T) => string;
|
|
21
|
+
sort?: {
|
|
22
|
+
key: string;
|
|
23
|
+
dir: 'asc' | 'desc';
|
|
24
|
+
} | null;
|
|
25
|
+
/**
|
|
26
|
+
* Sorting is uncontrolled inside the table — consumers re-order `rows`
|
|
27
|
+
* in response to `onSortChange`. Stability of equal-keyed rows is the
|
|
28
|
+
* caller's responsibility (use a stable sort like `Array.prototype.sort`
|
|
29
|
+
* in V8/Node ≥ 12, or a tiebreaker on rowKey).
|
|
30
|
+
*/
|
|
31
|
+
onSortChange?: (s: {
|
|
32
|
+
key: string;
|
|
33
|
+
dir: 'asc' | 'desc';
|
|
34
|
+
} | null) => void;
|
|
35
|
+
selectable?: boolean;
|
|
36
|
+
selectedKeys?: Set<string>;
|
|
37
|
+
/**
|
|
38
|
+
* "Select all" toggles only the rows currently passed to the component.
|
|
39
|
+
* If the consumer paginates externally and only passes the visible page,
|
|
40
|
+
* this selects the page — not the dataset across all pages.
|
|
41
|
+
*/
|
|
42
|
+
onSelectionChange?: (keys: Set<string>) => void;
|
|
43
|
+
empty?: React.ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* Renders an error state in place of the body. Takes precedence over
|
|
46
|
+
* `loading`, `empty`, and rows. Use it when a fetch fails.
|
|
47
|
+
*/
|
|
48
|
+
error?: React.ReactNode;
|
|
49
|
+
loading?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Sticky-position the table header so it stays visible while the body
|
|
52
|
+
* scrolls. Requires the consumer to constrain the wrapper's height
|
|
53
|
+
* (e.g. wrapping `<DataTable>` in a `max-height: 60vh; overflow-y: auto`
|
|
54
|
+
* container) — without that, sticky has nothing to stick relative to.
|
|
55
|
+
*/
|
|
56
|
+
stickyHeader?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Layout for narrow viewports (`<600px`):
|
|
59
|
+
* - `'table'` (default): the table scrolls horizontally inside its wrapper.
|
|
60
|
+
* - `'cards'`: each row collapses to a stacked card with the column
|
|
61
|
+
* header as an inline label per cell. Requires string `header` values
|
|
62
|
+
* for the labels to appear; non-string headers render without a label.
|
|
63
|
+
*/
|
|
64
|
+
mobileLayout?: 'table' | 'cards';
|
|
65
|
+
/** Accessible name announced by screen readers (e.g. "Pedidos abiertos"). */
|
|
66
|
+
ariaLabel?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Builds the accessible label for the per-row checkbox so screen-reader
|
|
69
|
+
* users can tell rows apart. Defaults to the row's key. Provide this
|
|
70
|
+
* when the key isn't human-readable (e.g. a UUID).
|
|
71
|
+
*/
|
|
72
|
+
rowLabel?: (row: T) => string;
|
|
73
|
+
className?: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Tabular data renderer with optional sorting, selection, error/empty/
|
|
77
|
+
* loading states.
|
|
78
|
+
*
|
|
79
|
+
* State priority (only one body state renders at a time):
|
|
80
|
+
* error > loading > empty > rows
|
|
81
|
+
*
|
|
82
|
+
* Known limits (deferred to a later release):
|
|
83
|
+
* - No virtualization; tested up to ~200 rows. For large datasets, plug
|
|
84
|
+
* in react-window/tanstack-virtual around the body rows.
|
|
85
|
+
*/
|
|
86
|
+
declare function DataTable<T>({ columns, rows, rowKey, sort, onSortChange, selectable, selectedKeys, onSelectionChange, empty, error, loading, stickyHeader, mobileLayout, ariaLabel, rowLabel, className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
87
|
+
interface AccordionProps {
|
|
88
|
+
multiple?: boolean;
|
|
89
|
+
defaultOpen?: string[];
|
|
90
|
+
children: React.ReactNode;
|
|
91
|
+
className?: string;
|
|
92
|
+
}
|
|
93
|
+
declare function Accordion({ multiple, defaultOpen, children, className }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
94
|
+
declare function AccordionItem({ id, title, children }: {
|
|
95
|
+
id: string;
|
|
96
|
+
title: React.ReactNode;
|
|
97
|
+
children: React.ReactNode;
|
|
98
|
+
}): react_jsx_runtime.JSX.Element;
|
|
99
|
+
interface BreadcrumbItem {
|
|
100
|
+
label: React.ReactNode;
|
|
101
|
+
href?: string;
|
|
102
|
+
}
|
|
103
|
+
declare function Breadcrumbs({ items, className }: {
|
|
104
|
+
items: BreadcrumbItem[];
|
|
105
|
+
className?: string;
|
|
106
|
+
}): react_jsx_runtime.JSX.Element;
|
|
107
|
+
interface TablePaginationProps {
|
|
108
|
+
page: number;
|
|
109
|
+
pageSize: number;
|
|
110
|
+
total: number;
|
|
111
|
+
onPageChange: (page: number) => void;
|
|
112
|
+
/** If set, renders a page-size selector. Omit for fixed-size pagination. */
|
|
113
|
+
onPageSizeChange?: (size: number) => void;
|
|
114
|
+
/** Options shown in the page-size selector. Default `[10, 25, 50, 100]`. */
|
|
115
|
+
pageSizeOptions?: readonly number[];
|
|
116
|
+
className?: string;
|
|
117
|
+
}
|
|
118
|
+
declare function TablePagination({ page, pageSize, total, onPageChange, onPageSizeChange, pageSizeOptions, className, }: TablePaginationProps): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare const TableToolbar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
120
|
+
|
|
121
|
+
export { Accordion, AccordionItem, type AccordionProps, type BreadcrumbItem, Breadcrumbs, type Column, DataTable, type DataTableProps, TablePagination, type TablePaginationProps, TableToolbar };
|