@jeromefitz/design-system 2.1.5 → 3.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/chunk-2KJLB52K.js +1 -0
- package/{chunk-FABH2JPM.cjs → chunk-2LQZA6QC.cjs} +1 -1
- package/{chunk-EYSQXVR6.js → chunk-2YLOVL6N.js} +1 -1
- package/{chunk-TKX2LGUN.cjs → chunk-33NOST3W.cjs} +1 -1
- package/{chunk-UEOTEMEW.cjs → chunk-3HIQ36ED.cjs} +1 -1
- package/{chunk-PA4K3HU4.cjs → chunk-3I5LTQD2.cjs} +1 -1
- package/{chunk-DELTFG5U.js → chunk-3VRM3AQB.js} +1 -1
- package/{chunk-VIOHF2RE.js → chunk-3XPI4BOS.js} +1 -1
- package/{chunk-ZF45BO6M.js → chunk-4EI72CZV.js} +1 -1
- package/chunk-4KL3FMLT.cjs +1 -0
- package/{chunk-AK4UB47B.js → chunk-4XCJ67MS.js} +1 -1
- package/{chunk-2CZE5SHR.cjs → chunk-52VQR3PM.cjs} +1 -1
- package/chunk-5FCM3EYP.js +1 -0
- package/{chunk-X6ZJ2A4C.cjs → chunk-5QEG3QDW.cjs} +1 -1
- package/{chunk-SRH5TVGH.cjs → chunk-5RC4N4FV.cjs} +1 -1
- package/chunk-5ZW24Z33.js +1 -0
- package/{chunk-RPTXBL2J.cjs → chunk-65NTD5UA.cjs} +1 -1
- package/{chunk-KL5YK2F7.cjs → chunk-65XX5MOO.cjs} +1 -1
- package/chunk-677IROTL.js +1 -0
- package/chunk-6F2LGAQ5.js +1 -0
- package/{chunk-R7USV63F.cjs → chunk-6FJ474SZ.cjs} +1 -1
- package/{chunk-GX2BEGOM.cjs → chunk-6FP3PNWP.cjs} +1 -1
- package/chunk-6IOM2DGA.cjs +1 -0
- package/{chunk-GZPVCAAI.cjs → chunk-6PZL7SAY.cjs} +1 -1
- package/{chunk-NLWHFM5W.cjs → chunk-72BRXALM.cjs} +1 -1
- package/chunk-75YBXQTT.cjs +1 -0
- package/chunk-7DHN6WOA.cjs +1 -0
- package/{chunk-R2B7GA4C.js → chunk-7JNOOKQZ.js} +1 -1
- package/{chunk-52436JXZ.cjs → chunk-AADGCUTT.cjs} +1 -1
- package/chunk-AILMVDI2.cjs +1 -0
- package/chunk-ARGBSWG5.cjs +1 -0
- package/{chunk-37NPDQK4.cjs → chunk-ARQWY7V4.cjs} +1 -1
- package/chunk-ATT3LVBX.cjs +1 -0
- package/{chunk-SFLF44Z6.js → chunk-AUWEQTGP.js} +1 -1
- package/{chunk-VHBYBZ23.js → chunk-BCDKHVOW.js} +1 -1
- package/{chunk-MS4IZMC6.js → chunk-BEEDOXWI.js} +1 -1
- package/{chunk-HIQI27BB.js → chunk-BS42PZ37.js} +1 -1
- package/{chunk-EKM5SUQH.cjs → chunk-C3C7NYE5.cjs} +1 -1
- package/{chunk-UG4OFSWK.js → chunk-C4IXQ7R3.js} +1 -1
- package/{chunk-GNKADM3P.cjs → chunk-CSYYYFW4.cjs} +1 -1
- package/{chunk-FBZIHS2U.cjs → chunk-D42QFQZO.cjs} +1 -1
- package/chunk-D5O5G5SL.cjs +1 -0
- package/{chunk-FQ3VXIWR.js → chunk-DEGM3VWZ.js} +1 -1
- package/{chunk-VXXCDUDX.js → chunk-DKGOT4ZX.js} +1 -1
- package/{chunk-FZVDDZCK.cjs → chunk-DMYQSZAI.cjs} +1 -1
- package/{chunk-B324PPBL.cjs → chunk-DSTVUYGB.cjs} +1 -1
- package/{chunk-O44JQ5V2.js → chunk-DU7YCZZA.js} +1 -1
- package/chunk-DWM7IX3Q.cjs +1 -0
- package/{chunk-WBXCC2HF.cjs → chunk-E2J2T55O.cjs} +1 -1
- package/chunk-E2QM23JM.js +1 -0
- package/chunk-E56QF4G7.cjs +1 -0
- package/{chunk-UWZFLKNU.cjs → chunk-ECO6Q5O6.cjs} +1 -1
- package/chunk-EE2XCCJT.js +0 -0
- package/{chunk-ZR4HWCPB.js → chunk-EEZ3JQQI.js} +1 -1
- package/{chunk-XGWCMFEY.js → chunk-EKDGM42C.js} +1 -1
- package/{chunk-CUFD4YHB.cjs → chunk-ELYHE3FM.cjs} +1 -1
- package/{chunk-YXX3F7ZZ.js → chunk-EZ5HWMCV.js} +1 -1
- package/{chunk-XSWHSHJU.js → chunk-FA2HBG6H.js} +1 -1
- package/{chunk-GWXYU5B3.js → chunk-FQBVL64W.js} +1 -1
- package/chunk-FYZY5UZZ.cjs +5 -0
- package/chunk-G5H3FJX4.js +1 -0
- package/{chunk-2UZVTOT3.cjs → chunk-GJ3FTBJR.cjs} +1 -1
- package/chunk-GMX4UE7C.cjs +1 -0
- package/{chunk-FMLYEBHH.cjs → chunk-GNJU6EN3.cjs} +1 -1
- package/chunk-GXA7YZNT.cjs +1 -0
- package/{chunk-LX4BS2KX.cjs → chunk-GYAPBD2J.cjs} +1 -1
- package/{chunk-U3QGHEBM.js → chunk-HHT43MMB.js} +1 -1
- package/{chunk-2QBU2YZV.js → chunk-I3MPYEOH.js} +1 -1
- package/{chunk-YRZC3C2W.js → chunk-I6LUOIIB.js} +1 -1
- package/{chunk-4AIO4XAJ.cjs → chunk-I6WFQKAV.cjs} +1 -1
- package/chunk-J3Q7EJFR.js +1 -0
- package/chunk-KHBGZH63.js +1 -0
- package/chunk-KHROIJW4.js +0 -0
- package/chunk-KMCJRH2I.cjs +1 -0
- package/{chunk-BNDGEYFO.js → chunk-KTN7XNNZ.js} +1 -1
- package/{chunk-65RLKW6H.cjs → chunk-KW66JUO3.cjs} +1 -1
- package/{chunk-DHP7J7JT.cjs → chunk-L4AJKTTL.cjs} +1 -1
- package/{chunk-LIMGS2DJ.js → chunk-L6TATF6G.js} +1 -1
- package/{chunk-QZZJA4MV.cjs → chunk-LSXIZRSS.cjs} +1 -1
- package/{chunk-CICPNPDC.js → chunk-M5XN4CBA.js} +1 -1
- package/{chunk-GJYDN7BE.js → chunk-MFH7VPXC.js} +1 -1
- package/chunk-MLWAQFKB.js +5 -0
- package/{chunk-3YO3SZQ3.js → chunk-MQFQ5ZZI.js} +1 -1
- package/{chunk-ILUTB7GU.js → chunk-N3S7MPNG.js} +1 -1
- package/{chunk-GQXPMBYA.cjs → chunk-NGZ4YIGG.cjs} +1 -1
- package/{chunk-2QNYBGZD.js → chunk-NZLTXXFC.js} +1 -1
- package/{chunk-5GS2IIA2.js → chunk-OHSNOM4C.js} +1 -1
- package/{chunk-WI4XBO7F.js → chunk-OMT47XMG.js} +1 -1
- package/chunk-OQPU2P7P.cjs +1 -0
- package/chunk-OSZ37LGH.js +1 -0
- package/{chunk-WF5SYKHU.cjs → chunk-OWDQG3XV.cjs} +1 -1
- package/{chunk-JURKPTUC.cjs → chunk-P4HNK23S.cjs} +1 -1
- package/chunk-P6CSNP6Z.cjs +1 -0
- package/{chunk-AAYX3AAD.cjs → chunk-PDPROVBV.cjs} +1 -1
- package/chunk-PGQBZDSF.cjs +1 -0
- package/chunk-PL63B3GX.cjs +1 -0
- package/{chunk-AEP6IIXX.js → chunk-PLBXEYKP.js} +1 -1
- package/chunk-PY65ALR2.cjs +1 -0
- package/chunk-Q7GSJVHX.js +0 -0
- package/{chunk-Y5WYHM5T.cjs → chunk-QILRZHGN.cjs} +1 -1
- package/chunk-QIRSGEY3.cjs +1 -0
- package/{chunk-YPANJMLP.cjs → chunk-QWVIMTDH.cjs} +1 -1
- package/chunk-R5LM66IS.js +1 -0
- package/chunk-RATVU6IL.js +1 -0
- package/{chunk-7S3RPM7V.js → chunk-RU32YUIZ.js} +1 -1
- package/{chunk-FER3MBHN.cjs → chunk-RXMLHVGX.cjs} +1 -1
- package/chunk-RZGBXMVL.js +1 -0
- package/{chunk-PIGC73PB.js → chunk-SBC54EPY.js} +1 -1
- package/{chunk-LD6VYO2R.cjs → chunk-SDPHATGE.cjs} +1 -1
- package/{chunk-TDGVZUPA.cjs → chunk-SOWCJ5OX.cjs} +1 -1
- package/{chunk-6B6PLSHG.js → chunk-SQBIJB7U.js} +1 -1
- package/{chunk-NMCAHRY6.js → chunk-SVQGQY4Q.js} +1 -1
- package/{chunk-2TAZBCMP.cjs → chunk-SZSVPARF.cjs} +1 -1
- package/{chunk-63WVUWOY.cjs → chunk-T347D4SQ.cjs} +1 -1
- package/chunk-T354GN6Y.js +1 -0
- package/{chunk-VYWGHOTS.cjs → chunk-TEXABJLH.cjs} +1 -1
- package/chunk-TJTYZ4HF.js +1 -0
- package/{chunk-2OPRFSMM.cjs → chunk-TST2542P.cjs} +1 -1
- package/{chunk-FLEA5UVL.cjs → chunk-U6F5LIYW.cjs} +1 -1
- package/{chunk-2OUP3MXE.cjs → chunk-V3VN75BT.cjs} +1 -1
- package/{chunk-K2GVGEHA.js → chunk-VHUITUWJ.js} +1 -1
- package/{chunk-S4XLMXEV.js → chunk-VI2U6E4Y.js} +1 -1
- package/{chunk-MDA67AGR.cjs → chunk-VJI3MCZI.cjs} +1 -1
- package/{chunk-WCG5CVEX.cjs → chunk-VP6L3NGJ.cjs} +1 -1
- package/chunk-W2REL5SQ.js +1 -0
- package/{chunk-NKKLWNIE.js → chunk-WBXREMXM.js} +1 -1
- package/{chunk-ZYIMXRR5.cjs → chunk-WC5XVUHN.cjs} +2 -2
- package/{chunk-ZV4XF4UO.js → chunk-WE6R4TST.js} +1 -1
- package/{chunk-QJOOYKL4.js → chunk-WEILE7PI.js} +1 -1
- package/{chunk-BRCDBSRN.js → chunk-WJSFGONW.js} +1 -1
- package/{chunk-PYQI46SU.js → chunk-WLLJETDU.js} +1 -1
- package/{chunk-6I3RG7WW.js → chunk-WOLWJMT6.js} +1 -1
- package/{chunk-RLLUDCZZ.js → chunk-WTHTLT4A.js} +1 -1
- package/chunk-WTN325FJ.js +1 -0
- package/{chunk-PVJSKN3O.cjs → chunk-WWARDKDW.cjs} +1 -1
- package/{chunk-BTLSML62.cjs → chunk-X4LEQS5G.cjs} +1 -1
- package/chunk-XJA5JGW6.js +1 -0
- package/{chunk-M5VK2F73.cjs → chunk-XN7XERIW.cjs} +1 -1
- package/{chunk-NI7R2WMJ.js → chunk-XUQYZULD.js} +1 -1
- package/chunk-YFIOFGDA.cjs +1 -0
- package/{chunk-LNRUBQJ2.js → chunk-YGXJLOXR.js} +1 -1
- package/{chunk-Z4XMDZAC.js → chunk-YP3QVUT2.js} +1 -1
- package/{chunk-ZOUXMIHE.cjs → chunk-YTGXWIYS.cjs} +1 -1
- package/{chunk-OPNMXXNN.js → chunk-ZLJ3CODG.js} +1 -1
- package/{chunk-KLCP5KGN.js → chunk-ZNVXWJBR.js} +1 -1
- package/{chunk-AFUCSBMM.js → chunk-ZWYLM7FW.js} +1 -1
- package/components/Accordion/Accordion.cjs +1 -1
- package/components/Accordion/Accordion.d.ts +2 -3
- package/components/Accordion/Accordion.js +1 -1
- package/components/Accordion/index.cjs +1 -1
- package/components/Accordion/index.js +1 -1
- package/components/Alert/Alert.cjs +1 -1
- package/components/Alert/Alert.d.ts +1 -0
- package/components/Alert/Alert.js +1 -1
- package/components/Alert/index.cjs +1 -1
- package/components/Alert/index.js +1 -1
- package/components/AlertDialog/AlertDialog.d.ts +0 -3
- package/components/AppBar/AppBar.cjs +1 -1
- package/components/AppBar/AppBar.d.ts +1 -0
- package/components/AppBar/AppBar.js +1 -1
- package/components/AppBar/index.cjs +1 -1
- package/components/AppBar/index.js +1 -1
- package/components/Avatar/Avatar.cjs +1 -1
- package/components/Avatar/Avatar.d.ts +4 -0
- package/components/Avatar/Avatar.js +1 -1
- package/components/Avatar/Avatar.styles.cjs +1 -1
- package/components/Avatar/Avatar.styles.d.ts +6 -2
- package/components/Avatar/Avatar.styles.js +1 -1
- package/components/Avatar/index.cjs +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Badge/Badge.cjs +1 -1
- package/components/Badge/Badge.d.ts +1 -0
- package/components/Badge/Badge.js +1 -1
- package/components/Badge/index.cjs +1 -1
- package/components/Badge/index.js +1 -1
- package/components/Banner/Banner.cjs +1 -1
- package/components/Banner/Banner.d.ts +2 -2
- package/components/Banner/Banner.js +1 -1
- package/components/Banner/index.cjs +1 -1
- package/components/Banner/index.js +1 -1
- package/components/Box/Box.cjs +1 -1
- package/components/Box/Box.d.ts +1 -0
- package/components/Box/Box.js +1 -1
- package/components/Box/index.cjs +1 -1
- package/components/Box/index.js +1 -1
- package/components/BoxGrab/BoxGrab.cjs +1 -1
- package/components/BoxGrab/BoxGrab.d.ts +1 -0
- package/components/BoxGrab/BoxGrab.js +1 -1
- package/components/BoxGrab/index.cjs +1 -1
- package/components/BoxGrab/index.js +1 -1
- package/components/BoxLink/BoxLink.cjs +1 -1
- package/components/BoxLink/BoxLink.d.ts +1 -0
- package/components/BoxLink/BoxLink.js +1 -1
- package/components/BoxLink/index.cjs +1 -1
- package/components/BoxLink/index.js +1 -1
- package/components/Button/Button.cjs +1 -1
- package/components/Button/Button.d.ts +22 -0
- package/components/Button/Button.js +1 -1
- package/components/Button/ButtonDemo.cjs +1 -1
- package/components/Button/ButtonDemo.d.ts +1 -0
- package/components/Button/ButtonDemo.js +1 -1
- package/components/Button/ButtonDemoIcon.cjs +1 -1
- package/components/Button/ButtonDemoIcon.d.ts +1 -0
- package/components/Button/ButtonDemoIcon.js +1 -1
- package/components/Button/ButtonIcon.cjs +1 -1
- package/components/Button/ButtonIcon.d.ts +1 -0
- package/components/Button/ButtonIcon.js +1 -1
- package/components/Button/ButtonMarketing.cjs +1 -1
- package/components/Button/ButtonMarketing.js +1 -1
- package/components/Button/ButtonMarketing.styles.cjs +1 -1
- package/components/Button/ButtonMarketing.styles.d.ts +1 -0
- package/components/Button/ButtonMarketing.styles.js +1 -1
- package/components/Button/index.cjs +1 -1
- package/components/Button/index.js +1 -1
- package/components/Caption/Caption.cjs +1 -1
- package/components/Caption/Caption.js +1 -1
- package/components/Caption/index.cjs +1 -1
- package/components/Caption/index.js +1 -1
- package/components/Card/Card.cjs +1 -1
- package/components/Card/Card.d.ts +5 -3
- package/components/Card/Card.js +1 -1
- package/components/Card/Show.cjs +1 -1
- package/components/Card/Show.d.ts +13 -0
- package/components/Card/Show.js +1 -1
- package/components/Card/Spotify.cjs +1 -1
- package/components/Card/Spotify.d.ts +1 -0
- package/components/Card/Spotify.js +1 -1
- package/components/Card/index.cjs +1 -1
- package/components/Card/index.js +1 -1
- package/components/Carousel/Carousel.cjs +1 -1
- package/components/Carousel/Carousel.d.ts +1 -0
- package/components/Carousel/Carousel.js +1 -1
- package/components/Carousel/index.cjs +1 -1
- package/components/Carousel/index.js +1 -1
- package/components/Checkbox/Checkbox.cjs +1 -1
- package/components/Checkbox/Checkbox.js +1 -1
- package/components/Checkbox/Checkbox.styles.cjs +1 -1
- package/components/Checkbox/Checkbox.styles.d.ts +2 -0
- package/components/Checkbox/Checkbox.styles.js +1 -1
- package/components/Checkbox/index.cjs +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Code/Code.cjs +1 -1
- package/components/Code/Code.d.ts +1 -0
- package/components/Code/Code.js +1 -1
- package/components/Code/index.cjs +1 -1
- package/components/Code/index.js +1 -1
- package/components/Container/Container.cjs +1 -1
- package/components/Container/Container.d.ts +1 -0
- package/components/Container/Container.js +1 -1
- package/components/Container/index.cjs +1 -1
- package/components/Container/index.js +1 -1
- package/components/ContextMenu/ContextMenu.cjs +1 -1
- package/components/ContextMenu/ContextMenu.d.ts +6 -0
- package/components/ContextMenu/ContextMenu.js +1 -1
- package/components/ContextMenu/index.cjs +1 -1
- package/components/ContextMenu/index.js +1 -1
- package/components/ControlGroup/ControlGroup.cjs +1 -1
- package/components/ControlGroup/ControlGroup.d.ts +1 -0
- package/components/ControlGroup/ControlGroup.js +1 -1
- package/components/ControlGroup/index.cjs +1 -1
- package/components/ControlGroup/index.js +1 -1
- package/components/Dialog/Dialog.cjs +1 -1
- package/components/Dialog/Dialog.d.ts +4 -3
- package/components/Dialog/Dialog.js +1 -1
- package/components/Dialog/index.cjs +1 -1
- package/components/Dialog/index.js +1 -1
- package/components/DropdownMenu/DropdownMenu.cjs +1 -1
- package/components/DropdownMenu/DropdownMenu.d.ts +6 -0
- package/components/DropdownMenu/DropdownMenu.js +1 -1
- package/components/DropdownMenu/index.cjs +1 -1
- package/components/DropdownMenu/index.js +1 -1
- package/components/Flex/Flex.cjs +1 -1
- package/components/Flex/Flex.d.ts +1 -0
- package/components/Flex/Flex.js +1 -1
- package/components/Flex/index.cjs +1 -1
- package/components/Flex/index.js +1 -1
- package/components/FocusArea/FocusArea.cjs +1 -1
- package/components/FocusArea/FocusArea.d.ts +1 -0
- package/components/FocusArea/FocusArea.js +1 -1
- package/components/FocusArea/index.cjs +1 -1
- package/components/FocusArea/index.js +1 -1
- package/components/Grid/Grid.cjs +1 -1
- package/components/Grid/Grid.d.ts +1 -0
- package/components/Grid/Grid.js +1 -1
- package/components/Grid/index.cjs +1 -1
- package/components/Grid/index.js +1 -1
- package/components/Heading/Heading.cjs +1 -1
- package/components/Heading/Heading.js +1 -1
- package/components/Heading/index.cjs +1 -1
- package/components/Heading/index.js +1 -1
- package/components/Hero/Empty.cjs +1 -1
- package/components/Hero/Empty.js +1 -1
- package/components/Hero/HeroImage.cjs +1 -1
- package/components/Hero/HeroImage.js +1 -1
- package/components/Hero/MainHeroDialog.cjs +1 -1
- package/components/Hero/MainHeroDialog.js +1 -1
- package/components/Hero/MainHeroDropdownMenu.cjs +1 -1
- package/components/Hero/MainHeroDropdownMenu.js +1 -1
- package/components/IconButton/IconButton.cjs +1 -1
- package/components/IconButton/IconButton.d.ts +1 -0
- package/components/IconButton/IconButton.js +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.js +1 -1
- package/components/Image/Image.cjs +1 -1
- package/components/Image/Image.d.ts +1 -0
- package/components/Image/Image.js +1 -1
- package/components/Image/index.cjs +1 -1
- package/components/Image/index.js +1 -1
- package/components/KBar/KBar.styles.cjs +1 -1
- package/components/KBar/KBar.styles.d.ts +3 -0
- package/components/KBar/KBar.styles.js +1 -1
- package/components/KBar/KBarDefault.cjs +1 -1
- package/components/KBar/KBarDefault.js +1 -1
- package/components/KBar/KBarPortal.cjs +1 -1
- package/components/KBar/KBarPortal.js +1 -1
- package/components/KBar/KBarSearch.cjs +1 -1
- package/components/KBar/KBarSearch.js +1 -1
- package/components/KBar/KBarSearchResult.cjs +1 -1
- package/components/KBar/KBarSearchResult.js +1 -1
- package/components/KBar/KBarSearchResults.cjs +1 -1
- package/components/KBar/KBarSearchResults.js +1 -1
- package/components/KBar/KBarSubscriptions.cjs +1 -1
- package/components/KBar/KBarSubscriptions.js +1 -1
- package/components/KBar/index.cjs +1 -1
- package/components/KBar/index.js +1 -1
- package/components/Kbd/Kbd.cjs +1 -1
- package/components/Kbd/Kbd.d.ts +1 -0
- package/components/Kbd/Kbd.js +1 -1
- package/components/Kbd/index.cjs +1 -1
- package/components/Kbd/index.js +1 -1
- package/components/Label/Label.cjs +1 -1
- package/components/Label/Label.d.ts +2 -0
- package/components/Label/Label.js +1 -1
- package/components/Label/index.cjs +1 -1
- package/components/Label/index.js +1 -1
- package/components/Link/Link.cjs +1 -1
- package/components/Link/Link.d.ts +4 -6
- package/components/Link/Link.js +1 -1
- package/components/Link/index.cjs +1 -1
- package/components/Link/index.js +1 -1
- package/components/LoadingDots/LoadingDots.cjs +1 -1
- package/components/LoadingDots/LoadingDots.d.ts +1 -0
- package/components/LoadingDots/LoadingDots.js +1 -1
- package/components/LoadingDots/index.cjs +1 -1
- package/components/LoadingDots/index.js +1 -1
- package/components/Menu/Menu.cjs +1 -1
- package/components/Menu/Menu.d.ts +7 -0
- package/components/Menu/Menu.js +1 -1
- package/components/Menu/Menu.styles.cjs +1 -1
- package/components/Menu/Menu.styles.d.ts +7 -0
- package/components/Menu/Menu.styles.js +1 -1
- package/components/Menu/index.cjs +1 -1
- package/components/Menu/index.js +1 -1
- package/components/NavigationMenu/NavigationMenu.cjs +1 -0
- package/components/NavigationMenu/NavigationMenu.d.ts +7053 -0
- package/components/NavigationMenu/NavigationMenu.js +1 -0
- package/components/NavigationMenu/index.cjs +1 -0
- package/components/NavigationMenu/index.d.ts +12 -0
- package/components/NavigationMenu/index.js +1 -0
- package/components/Note/Note.cjs +1 -1
- package/components/Note/Note.js +1 -1
- package/components/Note/index.cjs +1 -1
- package/components/Note/index.js +1 -1
- package/components/Overlay/Overlay.cjs +1 -1
- package/components/Overlay/Overlay.d.ts +1 -0
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/Overlay.styles.cjs +1 -1
- package/components/Overlay/Overlay.styles.d.ts +1 -0
- package/components/Overlay/Overlay.styles.js +1 -1
- package/components/Overlay/index.cjs +1 -1
- package/components/Overlay/index.js +1 -1
- package/components/PageHeading/PageHeading.cjs +1 -1
- package/components/PageHeading/PageHeading.js +1 -1
- package/components/PageHeading/index.cjs +1 -1
- package/components/PageHeading/index.js +1 -1
- package/components/Panel/Panel.cjs +1 -1
- package/components/Panel/Panel.d.ts +1 -0
- package/components/Panel/Panel.js +1 -1
- package/components/Panel/Panel.styles.cjs +1 -1
- package/components/Panel/Panel.styles.d.ts +1 -0
- package/components/Panel/Panel.styles.js +1 -1
- package/components/Panel/index.cjs +1 -1
- package/components/Panel/index.js +1 -1
- package/components/Paragraph/Paragraph.cjs +1 -1
- package/components/Paragraph/Paragraph.js +1 -1
- package/components/Paragraph/index.cjs +1 -1
- package/components/Paragraph/index.js +1 -1
- package/components/Popover/Popover.cjs +1 -1
- package/components/Popover/Popover.d.ts +4 -0
- package/components/Popover/Popover.js +1 -1
- package/components/Popover/index.cjs +1 -1
- package/components/Popover/index.js +1 -1
- package/components/ProgressBar/ProgressBar.cjs +1 -1
- package/components/ProgressBar/ProgressBar.d.ts +1 -0
- package/components/ProgressBar/ProgressBar.js +1 -1
- package/components/ProgressBar/index.cjs +1 -1
- package/components/ProgressBar/index.js +1 -1
- package/components/Radio/Radio.cjs +1 -1
- package/components/Radio/Radio.d.ts +4 -0
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/Radio.styles.cjs +1 -1
- package/components/Radio/Radio.styles.d.ts +3 -0
- package/components/Radio/Radio.styles.js +1 -1
- package/components/Radio/index.cjs +1 -1
- package/components/Radio/index.js +1 -1
- package/components/RadioCard/RadioCard.cjs +1 -1
- package/components/RadioCard/RadioCard.js +1 -1
- package/components/RadioCard/RadioCard.styles.cjs +1 -1
- package/components/RadioCard/RadioCard.styles.d.ts +4 -0
- package/components/RadioCard/RadioCard.styles.js +1 -1
- package/components/RadioCard/index.cjs +1 -1
- package/components/RadioCard/index.js +1 -1
- package/components/RadioGrid/RadioGrid.cjs +1 -1
- package/components/RadioGrid/RadioGrid.d.ts +2 -0
- package/components/RadioGrid/RadioGrid.js +1 -1
- package/components/RadioGrid/index.cjs +1 -1
- package/components/RadioGrid/index.js +1 -1
- package/components/ScrollArea/ScrollArea.cjs +1 -1
- package/components/ScrollArea/ScrollArea.js +1 -1
- package/components/ScrollArea/index.cjs +1 -1
- package/components/ScrollArea/index.js +1 -1
- package/components/Section/Section.cjs +1 -1
- package/components/Section/Section.d.ts +1 -0
- package/components/Section/Section.js +1 -1
- package/components/Section/index.cjs +1 -1
- package/components/Section/index.js +1 -1
- package/components/Select/Select.cjs +1 -1
- package/components/Select/Select.d.ts +4673 -12
- package/components/Select/Select.js +1 -1
- package/components/Select/index.cjs +1 -1
- package/components/Select/index.d.ts +2 -7
- package/components/Select/index.js +1 -1
- package/components/Separator/Separator.cjs +1 -1
- package/components/Separator/Separator.d.ts +1 -0
- package/components/Separator/Separator.js +1 -1
- package/components/Separator/index.cjs +1 -1
- package/components/Separator/index.js +1 -1
- package/components/Sheet/Sheet.cjs +1 -1
- package/components/Sheet/Sheet.js +1 -1
- package/components/Sheet/Sheet.styles.cjs +1 -1
- package/components/Sheet/Sheet.styles.d.ts +3 -0
- package/components/Sheet/Sheet.styles.js +1 -1
- package/components/Sheet/index.cjs +1 -1
- package/components/Sheet/index.js +1 -1
- package/components/Skeleton/Skeleton.cjs +1 -1
- package/components/Skeleton/Skeleton.d.ts +1 -0
- package/components/Skeleton/Skeleton.js +1 -1
- package/components/Skeleton/index.cjs +1 -1
- package/components/Skeleton/index.js +1 -1
- package/components/Slider/Slider.cjs +1 -1
- package/components/Slider/Slider.d.ts +2 -1
- package/components/Slider/Slider.js +1 -1
- package/components/Slider/index.cjs +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Spacer/Spacer.cjs +1 -1
- package/components/Spacer/Spacer.js +1 -1
- package/components/Spacer/index.cjs +1 -1
- package/components/Spacer/index.js +1 -1
- package/components/Status/Status.cjs +1 -1
- package/components/Status/Status.d.ts +1 -0
- package/components/Status/Status.js +1 -1
- package/components/Status/index.cjs +1 -1
- package/components/Status/index.js +1 -1
- package/components/Sub/Sub.cjs +1 -1
- package/components/Sub/Sub.d.ts +1 -0
- package/components/Sub/Sub.js +1 -1
- package/components/Sub/index.cjs +1 -1
- package/components/Sub/index.js +1 -1
- package/components/Sup/Sup.cjs +1 -1
- package/components/Sup/Sup.d.ts +1 -0
- package/components/Sup/Sup.js +1 -1
- package/components/Sup/index.cjs +1 -1
- package/components/Sup/index.js +1 -1
- package/components/Switch/Switch.cjs +1 -1
- package/components/Switch/Switch.d.ts +4 -0
- package/components/Switch/Switch.js +1 -1
- package/components/Switch/Switch.styles.cjs +1 -1
- package/components/Switch/Switch.styles.d.ts +2 -0
- package/components/Switch/Switch.styles.js +1 -1
- package/components/Switch/index.cjs +1 -1
- package/components/Switch/index.js +1 -1
- package/components/TabLink/TabLink.cjs +1 -1
- package/components/TabLink/TabLink.d.ts +1 -0
- package/components/TabLink/TabLink.js +1 -1
- package/components/TabLink/index.cjs +1 -1
- package/components/TabLink/index.js +1 -1
- package/components/Table/Table.cjs +1 -1
- package/components/Table/Table.d.ts +8 -0
- package/components/Table/Table.js +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.js +1 -1
- package/components/Tabs/Tabs.cjs +1 -1
- package/components/Tabs/Tabs.d.ts +4 -0
- package/components/Tabs/Tabs.js +1 -1
- package/components/Tabs/Tabs.styles.cjs +1 -1
- package/components/Tabs/Tabs.styles.d.ts +4 -0
- package/components/Tabs/Tabs.styles.js +1 -1
- package/components/Tabs/index.cjs +1 -1
- package/components/Tabs/index.js +1 -1
- package/components/Text/Text.cjs +1 -1
- package/components/Text/Text.d.ts +1 -0
- package/components/Text/Text.js +1 -1
- package/components/Text/index.cjs +1 -1
- package/components/Text/index.js +1 -1
- package/components/TextArea/TextArea.cjs +1 -1
- package/components/TextArea/TextArea.d.ts +1 -0
- package/components/TextArea/TextArea.js +1 -1
- package/components/TextArea/index.cjs +1 -1
- package/components/TextArea/index.js +1 -1
- package/components/TextField/TextField.cjs +1 -1
- package/components/TextField/TextField.d.ts +1 -0
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/index.cjs +1 -1
- package/components/TextField/index.js +1 -1
- package/components/Toast/Toast.cjs +1 -0
- package/components/Toast/Toast.d.ts +87 -0
- package/components/Toast/Toast.js +1 -0
- package/components/Toast/Toast.types.cjs +1 -1
- package/components/Toast/Toast.types.d.ts +13 -35
- package/components/Toast/Toast.types.js +1 -1
- package/components/Toast/Toaster.cjs +1 -1
- package/components/Toast/Toaster.d.ts +4 -2
- package/components/Toast/Toaster.js +1 -1
- package/components/Toast/index.cjs +1 -1
- package/components/Toast/index.d.ts +5 -5
- package/components/Toast/index.js +1 -1
- package/components/Toggle/Toggle.cjs +1 -1
- package/components/Toggle/Toggle.d.ts +1 -0
- package/components/Toggle/Toggle.js +1 -1
- package/components/Toggle/index.cjs +1 -1
- package/components/Toggle/index.js +1 -1
- package/components/ToggleGroup/ToggleGroup.cjs +1 -0
- package/components/ToggleGroup/ToggleGroup.d.ts +1174 -0
- package/components/ToggleGroup/ToggleGroup.js +1 -0
- package/components/ToggleGroup/index.cjs +1 -0
- package/components/ToggleGroup/index.d.ts +6 -0
- package/components/ToggleGroup/index.js +1 -0
- package/components/Toolbar/Toolbar.cjs +1 -0
- package/components/{Toast/Toast.styles.d.ts → Toolbar/Toolbar.d.ts} +1177 -334
- package/components/Toolbar/Toolbar.js +1 -0
- package/components/Toolbar/index.cjs +1 -0
- package/components/Toolbar/index.d.ts +6 -0
- package/components/Toolbar/index.js +1 -0
- package/components/Tooltip/Tooltip.cjs +1 -1
- package/components/Tooltip/Tooltip.js +1 -1
- package/components/Tooltip/Tooltip.styles.cjs +1 -1
- package/components/Tooltip/Tooltip.styles.d.ts +1 -0
- package/components/Tooltip/Tooltip.styles.js +1 -1
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.js +1 -1
- package/components/TreeItem/TreeItem.cjs +1 -1
- package/components/TreeItem/TreeItem.d.ts +1 -0
- package/components/TreeItem/TreeItem.js +1 -1
- package/components/TreeItem/index.cjs +1 -1
- package/components/TreeItem/index.js +1 -1
- package/components/VerifiedBadge/VerifiedBadge.cjs +1 -1
- package/components/VerifiedBadge/VerifiedBadge.d.ts +2 -0
- package/components/VerifiedBadge/VerifiedBadge.js +1 -1
- package/components/VerifiedBadge/index.cjs +1 -1
- package/components/VerifiedBadge/index.js +1 -1
- package/components/index.cjs +1 -1
- package/components/index.d.ts +11 -6
- package/components/index.js +1 -1
- package/custom/Emoji/index.cjs +1 -1
- package/custom/Emoji/index.js +1 -1
- package/custom/Select/index.cjs +1 -0
- package/custom/Select/index.d.ts +600 -0
- package/custom/Select/index.js +1 -0
- package/custom/Toast/index.cjs +7 -0
- package/custom/Toast/index.d.ts +51 -0
- package/custom/Toast/index.js +7 -0
- package/custom/Tooltip/index.cjs +1 -1
- package/custom/Tooltip/index.d.ts +2 -3
- package/custom/Tooltip/index.js +1 -1
- package/package.json +31 -25
- package/stitches.config.cjs +1 -1
- package/stitches.config.d.ts +10 -0
- package/stitches.config.js +1 -1
- package/chunk-4NINOAAA.cjs +0 -1
- package/chunk-4TS6KO2O.js +0 -1
- package/chunk-4U3DXROV.cjs +0 -1
- package/chunk-4XUUC7GQ.cjs +0 -1
- package/chunk-5PZSLW32.cjs +0 -1
- package/chunk-6CMY3HC6.cjs +0 -1
- package/chunk-6XEUGNTK.js +0 -1
- package/chunk-B2D76IWN.cjs +0 -1
- package/chunk-CYOBXSUB.js +0 -1
- package/chunk-DDWB6Y3Y.js +0 -1
- package/chunk-EJYX7MNF.js +0 -1
- package/chunk-EY4YP5M5.cjs +0 -1
- package/chunk-FLSL6VWE.js +0 -1
- package/chunk-GCSWZXHX.cjs +0 -1
- package/chunk-GIWFMRPJ.js +0 -1
- package/chunk-H2VLABID.cjs +0 -1
- package/chunk-HQQYXTFY.js +0 -1
- package/chunk-I2A6MWO2.cjs +0 -1
- package/chunk-IN2DOAVB.js +0 -1
- package/chunk-JYH7SBKR.js +0 -1
- package/chunk-KLMKENYQ.cjs +0 -11
- package/chunk-LIGQQNPF.js +0 -1
- package/chunk-ONW2ZZKL.js +0 -1
- package/chunk-QITXASTF.cjs +0 -1
- package/chunk-SSDKP4SU.js +0 -1
- package/chunk-SV2G3PX4.js +0 -1
- package/chunk-THBZHXLA.cjs +0 -1
- package/chunk-TIGY536S.js +0 -11
- package/chunk-V5XGFYGI.cjs +0 -1
- package/chunk-VNOETBKS.js +0 -1
- package/chunk-WF3O2PNB.cjs +0 -1
- package/chunk-WOZA7NJ4.js +0 -1
- package/chunk-X6QAG2IF.js +0 -1
- package/chunk-XY2PG4DR.cjs +0 -1
- package/chunk-YV4E4L3H.cjs +0 -1
- package/chunk-ZMPRUXJX.js +0 -1
- package/chunk-ZUX2IAN4.cjs +0 -1
- package/components/Toast/Toast.styles.cjs +0 -1
- package/components/Toast/Toast.styles.js +0 -1
- package/components/Toast/ToastContainer.cjs +0 -1
- package/components/Toast/ToastContainer.d.ts +0 -6
- package/components/Toast/ToastContainer.js +0 -1
- package/components/Toast/ToastProvider.cjs +0 -1
- package/components/Toast/ToastProvider.d.ts +0 -9
- package/components/Toast/ToastProvider.js +0 -1
- package/components/Toast/useToast.cjs +0 -1
- package/components/Toast/useToast.d.ts +0 -5
- package/components/Toast/useToast.js +0 -1
@@ -0,0 +1,600 @@
|
|
1
|
+
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
2
|
+
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
3
|
+
import * as _stitches_react_types_config from '@stitches/react/types/config';
|
4
|
+
import * as React from 'react';
|
5
|
+
import { CSS } from '../../stitches.config';
|
6
|
+
import '@stitches/react/types/theme';
|
7
|
+
import '@stitches/react/types/css';
|
8
|
+
import '@stitches/react/types/util';
|
9
|
+
import '@stitches/react/types/stitches';
|
10
|
+
import '@stitches/react';
|
11
|
+
|
12
|
+
declare const StyledSelect: _stitches_react_types_styled_component.StyledComponent<"select", {}, {
|
13
|
+
bp1: "(min-width: 520px)";
|
14
|
+
bp2: "(min-width: 900px)";
|
15
|
+
bp3: "(min-width: 1200px)";
|
16
|
+
bp4: "(min-width: 1800px)";
|
17
|
+
motion: "(prefers-reduced-motion)";
|
18
|
+
hover: "(any-hover: hover)";
|
19
|
+
dark: "(prefers-color-scheme: dark)";
|
20
|
+
light: "(prefers-color-scheme: light)";
|
21
|
+
}, _stitches_react_types_css_util.CSS<{
|
22
|
+
bp1: "(min-width: 520px)";
|
23
|
+
bp2: "(min-width: 900px)";
|
24
|
+
bp3: "(min-width: 1200px)";
|
25
|
+
bp4: "(min-width: 1800px)";
|
26
|
+
motion: "(prefers-reduced-motion)";
|
27
|
+
hover: "(any-hover: hover)";
|
28
|
+
dark: "(prefers-color-scheme: dark)";
|
29
|
+
light: "(prefers-color-scheme: light)";
|
30
|
+
}, {
|
31
|
+
colors: {
|
32
|
+
hiContrast: string;
|
33
|
+
loContrast: string;
|
34
|
+
canvas: string;
|
35
|
+
panel: string;
|
36
|
+
transparentPanel: string;
|
37
|
+
shadowLight: string;
|
38
|
+
shadowDark: string;
|
39
|
+
whiteA1: string;
|
40
|
+
whiteA2: string;
|
41
|
+
whiteA3: string;
|
42
|
+
whiteA4: string;
|
43
|
+
whiteA5: string;
|
44
|
+
whiteA6: string;
|
45
|
+
whiteA7: string;
|
46
|
+
whiteA8: string;
|
47
|
+
whiteA9: string;
|
48
|
+
whiteA10: string;
|
49
|
+
whiteA11: string;
|
50
|
+
whiteA12: string;
|
51
|
+
violetA1: string;
|
52
|
+
violetA2: string;
|
53
|
+
violetA3: string;
|
54
|
+
violetA4: string;
|
55
|
+
violetA5: string;
|
56
|
+
violetA6: string;
|
57
|
+
violetA7: string;
|
58
|
+
violetA8: string;
|
59
|
+
violetA9: string;
|
60
|
+
violetA10: string;
|
61
|
+
violetA11: string;
|
62
|
+
violetA12: string;
|
63
|
+
violet1: string;
|
64
|
+
violet2: string;
|
65
|
+
violet3: string;
|
66
|
+
violet4: string;
|
67
|
+
violet5: string;
|
68
|
+
violet6: string;
|
69
|
+
violet7: string;
|
70
|
+
violet8: string;
|
71
|
+
violet9: string;
|
72
|
+
violet10: string;
|
73
|
+
violet11: string;
|
74
|
+
violet12: string;
|
75
|
+
slateA1: string;
|
76
|
+
slateA2: string;
|
77
|
+
slateA3: string;
|
78
|
+
slateA4: string;
|
79
|
+
slateA5: string;
|
80
|
+
slateA6: string;
|
81
|
+
slateA7: string;
|
82
|
+
slateA8: string;
|
83
|
+
slateA9: string;
|
84
|
+
slateA10: string;
|
85
|
+
slateA11: string;
|
86
|
+
slateA12: string;
|
87
|
+
slate1: string;
|
88
|
+
slate2: string;
|
89
|
+
slate3: string;
|
90
|
+
slate4: string;
|
91
|
+
slate5: string;
|
92
|
+
slate6: string;
|
93
|
+
slate7: string;
|
94
|
+
slate8: string;
|
95
|
+
slate9: string;
|
96
|
+
slate10: string;
|
97
|
+
slate11: string;
|
98
|
+
slate12: string;
|
99
|
+
redA1: string;
|
100
|
+
redA2: string;
|
101
|
+
redA3: string;
|
102
|
+
redA4: string;
|
103
|
+
redA5: string;
|
104
|
+
redA6: string;
|
105
|
+
redA7: string;
|
106
|
+
redA8: string;
|
107
|
+
redA9: string;
|
108
|
+
redA10: string;
|
109
|
+
redA11: string;
|
110
|
+
redA12: string;
|
111
|
+
red1: string;
|
112
|
+
red2: string;
|
113
|
+
red3: string;
|
114
|
+
red4: string;
|
115
|
+
red5: string;
|
116
|
+
red6: string;
|
117
|
+
red7: string;
|
118
|
+
red8: string;
|
119
|
+
red9: string;
|
120
|
+
red10: string;
|
121
|
+
red11: string;
|
122
|
+
red12: string;
|
123
|
+
orangeA1: string;
|
124
|
+
orangeA2: string;
|
125
|
+
orangeA3: string;
|
126
|
+
orangeA4: string;
|
127
|
+
orangeA5: string;
|
128
|
+
orangeA6: string;
|
129
|
+
orangeA7: string;
|
130
|
+
orangeA8: string;
|
131
|
+
orangeA9: string;
|
132
|
+
orangeA10: string;
|
133
|
+
orangeA11: string;
|
134
|
+
orangeA12: string;
|
135
|
+
orange1: string;
|
136
|
+
orange2: string;
|
137
|
+
orange3: string;
|
138
|
+
orange4: string;
|
139
|
+
orange5: string;
|
140
|
+
orange6: string;
|
141
|
+
orange7: string;
|
142
|
+
orange8: string;
|
143
|
+
orange9: string;
|
144
|
+
orange10: string;
|
145
|
+
orange11: string;
|
146
|
+
orange12: string;
|
147
|
+
greenA1: string;
|
148
|
+
greenA2: string;
|
149
|
+
greenA3: string;
|
150
|
+
greenA4: string;
|
151
|
+
greenA5: string;
|
152
|
+
greenA6: string;
|
153
|
+
greenA7: string;
|
154
|
+
greenA8: string;
|
155
|
+
greenA9: string;
|
156
|
+
greenA10: string;
|
157
|
+
greenA11: string;
|
158
|
+
greenA12: string;
|
159
|
+
green1: string;
|
160
|
+
green2: string;
|
161
|
+
green3: string;
|
162
|
+
green4: string;
|
163
|
+
green5: string;
|
164
|
+
green6: string;
|
165
|
+
green7: string;
|
166
|
+
green8: string;
|
167
|
+
green9: string;
|
168
|
+
green10: string;
|
169
|
+
green11: string;
|
170
|
+
green12: string;
|
171
|
+
grayA1: string;
|
172
|
+
grayA2: string;
|
173
|
+
grayA3: string;
|
174
|
+
grayA4: string;
|
175
|
+
grayA5: string;
|
176
|
+
grayA6: string;
|
177
|
+
grayA7: string;
|
178
|
+
grayA8: string;
|
179
|
+
grayA9: string;
|
180
|
+
grayA10: string;
|
181
|
+
grayA11: string;
|
182
|
+
grayA12: string;
|
183
|
+
gray1: string;
|
184
|
+
gray2: string;
|
185
|
+
gray3: string;
|
186
|
+
gray4: string;
|
187
|
+
gray5: string;
|
188
|
+
gray6: string;
|
189
|
+
gray7: string;
|
190
|
+
gray8: string;
|
191
|
+
gray9: string;
|
192
|
+
gray10: string;
|
193
|
+
gray11: string;
|
194
|
+
gray12: string;
|
195
|
+
blueA1: string;
|
196
|
+
blueA2: string;
|
197
|
+
blueA3: string;
|
198
|
+
blueA4: string;
|
199
|
+
blueA5: string;
|
200
|
+
blueA6: string;
|
201
|
+
blueA7: string;
|
202
|
+
blueA8: string;
|
203
|
+
blueA9: string;
|
204
|
+
blueA10: string;
|
205
|
+
blueA11: string;
|
206
|
+
blueA12: string;
|
207
|
+
blue1: string;
|
208
|
+
blue2: string;
|
209
|
+
blue3: string;
|
210
|
+
blue4: string;
|
211
|
+
blue5: string;
|
212
|
+
blue6: string;
|
213
|
+
blue7: string;
|
214
|
+
blue8: string;
|
215
|
+
blue9: string;
|
216
|
+
blue10: string;
|
217
|
+
blue11: string;
|
218
|
+
blue12: string;
|
219
|
+
blackA1: string;
|
220
|
+
blackA2: string;
|
221
|
+
blackA3: string;
|
222
|
+
blackA4: string;
|
223
|
+
blackA5: string;
|
224
|
+
blackA6: string;
|
225
|
+
blackA7: string;
|
226
|
+
blackA8: string;
|
227
|
+
blackA9: string;
|
228
|
+
blackA10: string;
|
229
|
+
blackA11: string;
|
230
|
+
blackA12: string;
|
231
|
+
};
|
232
|
+
fonts: {
|
233
|
+
mono: string;
|
234
|
+
sans: string;
|
235
|
+
serif: string;
|
236
|
+
};
|
237
|
+
space: {
|
238
|
+
1: string;
|
239
|
+
2: string;
|
240
|
+
3: string;
|
241
|
+
4: string;
|
242
|
+
5: string;
|
243
|
+
6: string;
|
244
|
+
7: string;
|
245
|
+
8: string;
|
246
|
+
9: string;
|
247
|
+
};
|
248
|
+
sizes: {
|
249
|
+
1: string;
|
250
|
+
2: string;
|
251
|
+
3: string;
|
252
|
+
4: string;
|
253
|
+
5: string;
|
254
|
+
6: string;
|
255
|
+
7: string;
|
256
|
+
8: string;
|
257
|
+
9: string;
|
258
|
+
};
|
259
|
+
fontSizes: {
|
260
|
+
1: string;
|
261
|
+
2: string;
|
262
|
+
3: string;
|
263
|
+
4: string;
|
264
|
+
5: string;
|
265
|
+
6: string;
|
266
|
+
7: string;
|
267
|
+
8: string;
|
268
|
+
9: string;
|
269
|
+
};
|
270
|
+
radii: {
|
271
|
+
1: string;
|
272
|
+
2: string;
|
273
|
+
3: string;
|
274
|
+
4: string;
|
275
|
+
round: string;
|
276
|
+
pill: string;
|
277
|
+
};
|
278
|
+
zIndices: {
|
279
|
+
1: string;
|
280
|
+
2: string;
|
281
|
+
3: string;
|
282
|
+
4: string;
|
283
|
+
max: string;
|
284
|
+
toast: string;
|
285
|
+
};
|
286
|
+
}, _stitches_react_types_config.DefaultThemeMap, {
|
287
|
+
p: (value: {
|
288
|
+
readonly [$$PropertyValue]: "padding";
|
289
|
+
}) => {
|
290
|
+
padding: {
|
291
|
+
readonly [$$PropertyValue]: "padding";
|
292
|
+
};
|
293
|
+
};
|
294
|
+
pt: (value: {
|
295
|
+
readonly [$$PropertyValue]: "paddingTop";
|
296
|
+
}) => {
|
297
|
+
paddingTop: {
|
298
|
+
readonly [$$PropertyValue]: "paddingTop";
|
299
|
+
};
|
300
|
+
};
|
301
|
+
pr: (value: {
|
302
|
+
readonly [$$PropertyValue]: "paddingRight";
|
303
|
+
}) => {
|
304
|
+
paddingRight: {
|
305
|
+
readonly [$$PropertyValue]: "paddingRight";
|
306
|
+
};
|
307
|
+
};
|
308
|
+
pb: (value: {
|
309
|
+
readonly [$$PropertyValue]: "paddingBottom";
|
310
|
+
}) => {
|
311
|
+
paddingBottom: {
|
312
|
+
readonly [$$PropertyValue]: "paddingBottom";
|
313
|
+
};
|
314
|
+
};
|
315
|
+
pl: (value: {
|
316
|
+
readonly [$$PropertyValue]: "paddingLeft";
|
317
|
+
}) => {
|
318
|
+
paddingLeft: {
|
319
|
+
readonly [$$PropertyValue]: "paddingLeft";
|
320
|
+
};
|
321
|
+
};
|
322
|
+
px: (value: {
|
323
|
+
readonly [$$PropertyValue]: "paddingLeft";
|
324
|
+
}) => {
|
325
|
+
paddingLeft: {
|
326
|
+
readonly [$$PropertyValue]: "paddingLeft";
|
327
|
+
};
|
328
|
+
paddingRight: {
|
329
|
+
readonly [$$PropertyValue]: "paddingLeft";
|
330
|
+
};
|
331
|
+
};
|
332
|
+
py: (value: {
|
333
|
+
readonly [$$PropertyValue]: "paddingTop";
|
334
|
+
}) => {
|
335
|
+
paddingTop: {
|
336
|
+
readonly [$$PropertyValue]: "paddingTop";
|
337
|
+
};
|
338
|
+
paddingBottom: {
|
339
|
+
readonly [$$PropertyValue]: "paddingTop";
|
340
|
+
};
|
341
|
+
};
|
342
|
+
m: (value: {
|
343
|
+
readonly [$$PropertyValue]: "margin";
|
344
|
+
}) => {
|
345
|
+
margin: {
|
346
|
+
readonly [$$PropertyValue]: "margin";
|
347
|
+
};
|
348
|
+
};
|
349
|
+
mt: (value: {
|
350
|
+
readonly [$$PropertyValue]: "marginTop";
|
351
|
+
}) => {
|
352
|
+
marginTop: {
|
353
|
+
readonly [$$PropertyValue]: "marginTop";
|
354
|
+
};
|
355
|
+
};
|
356
|
+
mr: (value: {
|
357
|
+
readonly [$$PropertyValue]: "marginRight";
|
358
|
+
}) => {
|
359
|
+
marginRight: {
|
360
|
+
readonly [$$PropertyValue]: "marginRight";
|
361
|
+
};
|
362
|
+
};
|
363
|
+
mb: (value: {
|
364
|
+
readonly [$$PropertyValue]: "marginBottom";
|
365
|
+
}) => {
|
366
|
+
marginBottom: {
|
367
|
+
readonly [$$PropertyValue]: "marginBottom";
|
368
|
+
};
|
369
|
+
};
|
370
|
+
ml: (value: {
|
371
|
+
readonly [$$PropertyValue]: "marginLeft";
|
372
|
+
}) => {
|
373
|
+
marginLeft: {
|
374
|
+
readonly [$$PropertyValue]: "marginLeft";
|
375
|
+
};
|
376
|
+
};
|
377
|
+
mx: (value: {
|
378
|
+
readonly [$$PropertyValue]: "marginLeft";
|
379
|
+
}) => {
|
380
|
+
marginLeft: {
|
381
|
+
readonly [$$PropertyValue]: "marginLeft";
|
382
|
+
};
|
383
|
+
marginRight: {
|
384
|
+
readonly [$$PropertyValue]: "marginLeft";
|
385
|
+
};
|
386
|
+
};
|
387
|
+
my: (value: {
|
388
|
+
readonly [$$PropertyValue]: "marginTop";
|
389
|
+
}) => {
|
390
|
+
marginTop: {
|
391
|
+
readonly [$$PropertyValue]: "marginTop";
|
392
|
+
};
|
393
|
+
marginBottom: {
|
394
|
+
readonly [$$PropertyValue]: "marginTop";
|
395
|
+
};
|
396
|
+
};
|
397
|
+
ta: (value: {
|
398
|
+
readonly [$$PropertyValue]: "textAlign";
|
399
|
+
}) => {
|
400
|
+
textAlign: {
|
401
|
+
readonly [$$PropertyValue]: "textAlign";
|
402
|
+
};
|
403
|
+
};
|
404
|
+
fd: (value: {
|
405
|
+
readonly [$$PropertyValue]: "flexDirection";
|
406
|
+
}) => {
|
407
|
+
flexDirection: {
|
408
|
+
readonly [$$PropertyValue]: "flexDirection";
|
409
|
+
};
|
410
|
+
};
|
411
|
+
fw: (value: {
|
412
|
+
readonly [$$PropertyValue]: "flexWrap";
|
413
|
+
}) => {
|
414
|
+
flexWrap: {
|
415
|
+
readonly [$$PropertyValue]: "flexWrap";
|
416
|
+
};
|
417
|
+
};
|
418
|
+
ai: (value: {
|
419
|
+
readonly [$$PropertyValue]: "alignItems";
|
420
|
+
}) => {
|
421
|
+
alignItems: {
|
422
|
+
readonly [$$PropertyValue]: "alignItems";
|
423
|
+
};
|
424
|
+
};
|
425
|
+
ac: (value: {
|
426
|
+
readonly [$$PropertyValue]: "alignContent";
|
427
|
+
}) => {
|
428
|
+
alignContent: {
|
429
|
+
readonly [$$PropertyValue]: "alignContent";
|
430
|
+
};
|
431
|
+
};
|
432
|
+
jc: (value: {
|
433
|
+
readonly [$$PropertyValue]: "justifyContent";
|
434
|
+
}) => {
|
435
|
+
justifyContent: {
|
436
|
+
readonly [$$PropertyValue]: "justifyContent";
|
437
|
+
};
|
438
|
+
};
|
439
|
+
as: (value: {
|
440
|
+
readonly [$$PropertyValue]: "alignSelf";
|
441
|
+
}) => {
|
442
|
+
alignSelf: {
|
443
|
+
readonly [$$PropertyValue]: "alignSelf";
|
444
|
+
};
|
445
|
+
};
|
446
|
+
fg: (value: {
|
447
|
+
readonly [$$PropertyValue]: "flexGrow";
|
448
|
+
}) => {
|
449
|
+
flexGrow: {
|
450
|
+
readonly [$$PropertyValue]: "flexGrow";
|
451
|
+
};
|
452
|
+
};
|
453
|
+
fs: (value: {
|
454
|
+
readonly [$$PropertyValue]: "flexShrink";
|
455
|
+
}) => {
|
456
|
+
flexShrink: {
|
457
|
+
readonly [$$PropertyValue]: "flexShrink";
|
458
|
+
};
|
459
|
+
};
|
460
|
+
fb: (value: {
|
461
|
+
readonly [$$PropertyValue]: "flexBasis";
|
462
|
+
}) => {
|
463
|
+
flexBasis: {
|
464
|
+
readonly [$$PropertyValue]: "flexBasis";
|
465
|
+
};
|
466
|
+
};
|
467
|
+
bc: (value: {
|
468
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
469
|
+
}) => {
|
470
|
+
backgroundColor: {
|
471
|
+
readonly [$$PropertyValue]: "backgroundColor";
|
472
|
+
};
|
473
|
+
};
|
474
|
+
br: (value: {
|
475
|
+
readonly [$$PropertyValue]: "borderRadius";
|
476
|
+
}) => {
|
477
|
+
borderRadius: {
|
478
|
+
readonly [$$PropertyValue]: "borderRadius";
|
479
|
+
};
|
480
|
+
};
|
481
|
+
btrr: (value: {
|
482
|
+
readonly [$$PropertyValue]: "borderTopRightRadius";
|
483
|
+
}) => {
|
484
|
+
borderTopRightRadius: {
|
485
|
+
readonly [$$PropertyValue]: "borderTopRightRadius";
|
486
|
+
};
|
487
|
+
};
|
488
|
+
bbrr: (value: {
|
489
|
+
readonly [$$PropertyValue]: "borderBottomRightRadius";
|
490
|
+
}) => {
|
491
|
+
borderBottomRightRadius: {
|
492
|
+
readonly [$$PropertyValue]: "borderBottomRightRadius";
|
493
|
+
};
|
494
|
+
};
|
495
|
+
bblr: (value: {
|
496
|
+
readonly [$$PropertyValue]: "borderBottomLeftRadius";
|
497
|
+
}) => {
|
498
|
+
borderBottomLeftRadius: {
|
499
|
+
readonly [$$PropertyValue]: "borderBottomLeftRadius";
|
500
|
+
};
|
501
|
+
};
|
502
|
+
btlr: (value: {
|
503
|
+
readonly [$$PropertyValue]: "borderTopLeftRadius";
|
504
|
+
}) => {
|
505
|
+
borderTopLeftRadius: {
|
506
|
+
readonly [$$PropertyValue]: "borderTopLeftRadius";
|
507
|
+
};
|
508
|
+
};
|
509
|
+
bs: (value: {
|
510
|
+
readonly [$$PropertyValue]: "boxShadow";
|
511
|
+
}) => {
|
512
|
+
boxShadow: {
|
513
|
+
readonly [$$PropertyValue]: "boxShadow";
|
514
|
+
};
|
515
|
+
};
|
516
|
+
lh: (value: {
|
517
|
+
readonly [$$PropertyValue]: "lineHeight";
|
518
|
+
}) => {
|
519
|
+
lineHeight: {
|
520
|
+
readonly [$$PropertyValue]: "lineHeight";
|
521
|
+
};
|
522
|
+
};
|
523
|
+
ox: (value: {
|
524
|
+
readonly [$$PropertyValue]: "overflowX";
|
525
|
+
}) => {
|
526
|
+
overflowX: {
|
527
|
+
readonly [$$PropertyValue]: "overflowX";
|
528
|
+
};
|
529
|
+
};
|
530
|
+
oy: (value: {
|
531
|
+
readonly [$$PropertyValue]: "overflowY";
|
532
|
+
}) => {
|
533
|
+
overflowY: {
|
534
|
+
readonly [$$PropertyValue]: "overflowY";
|
535
|
+
};
|
536
|
+
};
|
537
|
+
pe: (value: {
|
538
|
+
readonly [$$PropertyValue]: "pointerEvents";
|
539
|
+
}) => {
|
540
|
+
pointerEvents: {
|
541
|
+
readonly [$$PropertyValue]: "pointerEvents";
|
542
|
+
};
|
543
|
+
};
|
544
|
+
us: (value: {
|
545
|
+
readonly [$$PropertyValue]: "userSelect";
|
546
|
+
}) => {
|
547
|
+
WebkitUserSelect: {
|
548
|
+
readonly [$$PropertyValue]: "userSelect";
|
549
|
+
};
|
550
|
+
userSelect: {
|
551
|
+
readonly [$$PropertyValue]: "userSelect";
|
552
|
+
};
|
553
|
+
};
|
554
|
+
userSelect: (value: {
|
555
|
+
readonly [$$PropertyValue]: "userSelect";
|
556
|
+
}) => {
|
557
|
+
WebkitUserSelect: {
|
558
|
+
readonly [$$PropertyValue]: "userSelect";
|
559
|
+
};
|
560
|
+
userSelect: {
|
561
|
+
readonly [$$PropertyValue]: "userSelect";
|
562
|
+
};
|
563
|
+
};
|
564
|
+
size: (value: {
|
565
|
+
readonly [$$PropertyValue]: "width";
|
566
|
+
}) => {
|
567
|
+
width: {
|
568
|
+
readonly [$$PropertyValue]: "width";
|
569
|
+
};
|
570
|
+
height: {
|
571
|
+
readonly [$$PropertyValue]: "width";
|
572
|
+
};
|
573
|
+
};
|
574
|
+
appearance: (value: {
|
575
|
+
readonly [$$PropertyValue]: "appearance";
|
576
|
+
}) => {
|
577
|
+
WebkitAppearance: {
|
578
|
+
readonly [$$PropertyValue]: "appearance";
|
579
|
+
};
|
580
|
+
appearance: {
|
581
|
+
readonly [$$PropertyValue]: "appearance";
|
582
|
+
};
|
583
|
+
};
|
584
|
+
backgroundClip: (value: {
|
585
|
+
readonly [$$PropertyValue]: "backgroundClip";
|
586
|
+
}) => {
|
587
|
+
WebkitBackgroundClip: {
|
588
|
+
readonly [$$PropertyValue]: "backgroundClip";
|
589
|
+
};
|
590
|
+
backgroundClip: {
|
591
|
+
readonly [$$PropertyValue]: "backgroundClip";
|
592
|
+
};
|
593
|
+
};
|
594
|
+
}>>;
|
595
|
+
declare type SelectProps = React.ComponentProps<typeof StyledSelect> & {
|
596
|
+
css?: CSS;
|
597
|
+
};
|
598
|
+
declare const Select: React.ForwardRefExoticComponent<Pick<SelectProps, "key" | "css" | keyof React.SelectHTMLAttributes<HTMLSelectElement>> & React.RefAttributes<HTMLSelectElement>>;
|
599
|
+
|
600
|
+
export { Select };
|
@@ -0,0 +1 @@
|
|
1
|
+
import{h as t}from"../../chunk-R5LM66IS.js";import{a as r,c as n}from"../../chunk-YAIZK5OY.js";import{CaretSortIcon as d}from"@radix-ui/react-icons";import*as e from"react";var i=t("div",{backgroundColor:"$loContrast",borderRadius:"$2",boxShadow:"inset 0 0 0 1px $colors$slate7",color:"$hiContrast",fontFamily:"$untitled",fontSize:"$1",fontVariantNumeric:"tabular-nums",fontWeight:400,height:"$5",flexShrink:0,"&:focus-within":{zIndex:1,boxShadow:"inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8"}}),f=t("select",{appearance:"none",backgroundColor:"transparent",border:"none",borderRadius:"inherit",color:"inherit",font:"inherit",outline:"none",width:"100%",height:"100%",pl:"$1",pr:"$3",lineHeight:"25px"}),x=t(d,{position:"absolute",pointerEvents:"none",display:"inline",marginTop:5,marginLeft:-16}),l=e.forwardRef((h,c)=>{var o=h,{css:a}=o,p=n(o,["css"]);return e.createElement(i,{css:a},e.createElement(f,r({ref:c},p)),e.createElement(x,null))});l.toString=()=>`.${i.className}`;export{l as Select};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }require('../../chunk-FYZY5UZZ.cjs');require('../../chunk-YTDUBA6S.cjs');require('../../chunk-E2J2T55O.cjs');require('../../chunk-PL63B3GX.cjs');require('../../chunk-GMX4UE7C.cjs');require('../../chunk-E56QF4G7.cjs');require('../../chunk-AILMVDI2.cjs');require('../../chunk-TEXABJLH.cjs');require('../../chunk-N5YRVH3Y.cjs');require('../../chunk-ATT3LVBX.cjs');require('../../chunk-DT2FX5IX.cjs');require('../../chunk-WWARDKDW.cjs');require('../../chunk-72BRXALM.cjs');require('../../chunk-PEFV7H2D.cjs');require('../../chunk-65NTD5UA.cjs');require('../../chunk-W4CU66BU.cjs');require('../../chunk-U6F5LIYW.cjs');require('../../chunk-QIRSGEY3.cjs');require('../../chunk-57F754JY.cjs');require('../../chunk-X4LEQS5G.cjs');require('../../chunk-S2UVGGBI.cjs');require('../../chunk-SZSVPARF.cjs');require('../../chunk-EMWYYCQJ.cjs');require('../../chunk-DMYQSZAI.cjs');require('../../chunk-KTAYSVRX.cjs');require('../../chunk-6PZL7SAY.cjs');require('../../chunk-WQXVO42J.cjs');require('../../chunk-QILRZHGN.cjs');require('../../chunk-IB3YK3LA.cjs');require('../../chunk-65XX5MOO.cjs');require('../../chunk-AADGCUTT.cjs');require('../../chunk-CRX3JQYY.cjs');require('../../chunk-OWDQG3XV.cjs');require('../../chunk-DK2ZG5U4.cjs');require('../../chunk-PY65ALR2.cjs');require('../../chunk-QCUBDP2Y.cjs');require('../../chunk-GYAPBD2J.cjs');require('../../chunk-ZBD5N2K7.cjs');require('../../chunk-4PBJDSZA.cjs');require('../../chunk-XN7XERIW.cjs');require('../../chunk-W7UAY4QM.cjs');require('../../chunk-LFZHI3AD.cjs');require('../../chunk-6FP3PNWP.cjs');require('../../chunk-KW66JUO3.cjs');require('../../chunk-RYYS65RX.cjs');require('../../chunk-YTGXWIYS.cjs');require('../../chunk-55TB7MKH.cjs');require('../../chunk-NQLLYO4G.cjs');require('../../chunk-DSTVUYGB.cjs');require('../../chunk-GNJU6EN3.cjs');require('../../chunk-D42QFQZO.cjs');require('../../chunk-TKKYF5AI.cjs');require('../../chunk-7DHN6WOA.cjs');require('../../chunk-KHCUQUNO.cjs');require('../../chunk-PGQBZDSF.cjs');require('../../chunk-P4HNK23S.cjs');require('../../chunk-VP6L3NGJ.cjs');require('../../chunk-6IOM2DGA.cjs');require('../../chunk-DWM7IX3Q.cjs');require('../../chunk-4KL3FMLT.cjs');require('../../chunk-HSARQ2AO.cjs');require('../../chunk-SOWCJ5OX.cjs');require('../../chunk-DYOQPZ7R.cjs');require('../../chunk-NGZ4YIGG.cjs');require('../../chunk-BQEXOAOS.cjs');require('../../chunk-YFIOFGDA.cjs');require('../../chunk-CQJGNV2W.cjs');require('../../chunk-VJI3MCZI.cjs');require('../../chunk-SSODWN6E.cjs');require('../../chunk-CSYYYFW4.cjs');require('../../chunk-T347D4SQ.cjs');require('../../chunk-5RC4N4FV.cjs');require('../../chunk-L4AJKTTL.cjs');require('../../chunk-HRYAJASA.cjs');require('../../chunk-C3C7NYE5.cjs');require('../../chunk-CBBNEDSS.cjs');require('../../chunk-75YBXQTT.cjs');require('../../chunk-WACRQFIM.cjs');require('../../chunk-3HIQ36ED.cjs');require('../../chunk-U36CEZWL.cjs');require('../../chunk-ELYHE3FM.cjs');require('../../chunk-RLLAQQBY.cjs');require('../../chunk-ECO6Q5O6.cjs');require('../../chunk-OJMAD4G4.cjs');require('../../chunk-GGST46W2.cjs');require('../../chunk-ARQWY7V4.cjs');require('../../chunk-I6WFQKAV.cjs');require('../../chunk-GXA7YZNT.cjs');require('../../chunk-LBKJQQWY.cjs');require('../../chunk-QWVIMTDH.cjs');require('../../chunk-3I5LTQD2.cjs');require('../../chunk-WYCP4QL6.cjs');require('../../chunk-V3VN75BT.cjs');require('../../chunk-6X7SK3TT.cjs');require('../../chunk-33NOST3W.cjs');require('../../chunk-KMCJRH2I.cjs');require('../../chunk-KIGRXK4O.cjs');var _chunk6FJ474SZcjs = require('../../chunk-6FJ474SZ.cjs');require('../../chunk-RXMLHVGX.cjs');require('../../chunk-PDPROVBV.cjs');require('../../chunk-WC5XVUHN.cjs');require('../../chunk-TPOCFECX.cjs');require('../../chunk-7QAJPJSQ.cjs');require('../../chunk-OQPU2P7P.cjs');require('../../chunk-BRMRPZFW.cjs');require('../../chunk-D5O5G5SL.cjs');require('../../chunk-XUMKMCY4.cjs');require('../../chunk-SDPHATGE.cjs');require('../../chunk-52VQR3PM.cjs');require('../../chunk-RWPTRZG7.cjs');require('../../chunk-BLNW7DI2.cjs');require('../../chunk-GJ3FTBJR.cjs');require('../../chunk-LSXIZRSS.cjs');require('../../chunk-5QEG3QDW.cjs');require('../../chunk-VBCERDOG.cjs');require('../../chunk-ARGBSWG5.cjs');require('../../chunk-YINKKOMH.cjs');require('../../chunk-2LQZA6QC.cjs');require('../../chunk-BPLZ3JYI.cjs');require('../../chunk-N3BOQACW.cjs');require('../../chunk-OYSQMU7E.cjs');var _chunkP6CSNP6Zcjs = require('../../chunk-P6CSNP6Z.cjs');var _chunkPBVSJFAZcjs = require('../../chunk-PBVSJFAZ.cjs');var _react = require('react'); var r = _interopRequireWildcard(_react); var d = _interopRequireWildcard(_react); var f = _interopRequireWildcard(_react); var V = _interopRequireWildcard(_react);var k=_chunkP6CSNP6Zcjs.h.call(void 0, "div",{alignItems:"center",display:"flex",fontSize:"0.875rem",justifyContent:"space-between",maxWidth:"100%","@media (prefers-reduced-motion: no-preference)":{transition:"all 0.4s ease"}}),R=_chunkP6CSNP6Zcjs.h.call(void 0, "div",{height:"100%",marginTop:"-1px",opacity:"1","@media (prefers-reduced-motion: no-preference)":{transition:"opacity 0.4s ease"},width:"100%",wordBreak:"break-word",variants:{action:{true:{width:"70%"}},cancel:{true:{marginRight:"$2"}}}}),m=_chunkP6CSNP6Zcjs.h.call(void 0, "div",{background:"$loContrast",borderRadius:"$2",bottom:"0",color:"$hiContrast",opacity:"0",padding:"$4",position:"absolute",right:"0",transform:"translate3d(0, 100%, 150px) scale(1)","@media (prefers-reduced-motion: no-preference)":{transition:"all 0.4s ease"},zIndex:"5000",width:"90vw","@bp1":{maxWidth:"500px"},boxShadow:"0 5px 10px $colors$blackA8",[`.${_chunkP6CSNP6Zcjs.j} &`]:{boxShadow:"0 5px 10px $colors$whiteA4"},variants:{type:{default:{border:"1px solid $colors$gray1",backgroundColor:"$gray3",color:"$gray12","&:hover":{backgroundColor:"$gray4",borderColor:"$gray2"}},error:{border:"1px solid $colors$red7",backgroundColor:"$red9",color:"$red1","&:hover":{backgroundColor:"$red10",borderColor:"$red8"}},info:{border:"1px solid $colors$blue7",backgroundColor:"$blue9",color:"$blue1","&:hover":{backgroundColor:"$blue10",borderColor:"$blue8"}},success:{border:"1px solid $colors$green7",backgroundColor:"$green9",color:"$green1","&:hover":{backgroundColor:"$green10",borderColor:"$green8"}},warning:{border:"1px solid $colors$orange7",backgroundColor:"$orange9",color:"$orange1","&:hover":{backgroundColor:"$orange10",borderColor:"$orange8"}},generic:{border:"1px solid $colors$gray1",backgroundColor:"$gray3",color:"$gray12","&:hover":{backgroundColor:"$gray4",borderColor:"$gray2"}},loading:{border:"1px solid $colors$gray1",backgroundColor:"$gray3",color:"$gray12","&:hover":{backgroundColor:"$gray4",borderColor:"$gray2"}}},visible:{true:{opacity:"1",transform:"none"}}},defaultVariants:{type:"default"}}),M=_chunkP6CSNP6Zcjs.h.call(void 0, "div",{"$$offset-bottom":"0px",bottom:"calc($space$4 + $$offset-bottom)",position:"fixed",right:"$space$4","@media (prefers-reduced-motion: no-preference)":{transition:"transform 0.4s ease, bottom 0.4s ease"},zIndex:"5000",width:"90vh",maxWidth:"325px","@bp1":{minWidth:"420px",width:"100%"},[`${m}:not(:last-child) ${k} ${R}`]:{opacity:0},[`${m}:nth-last-child(n + 4)`]:{opacity:0,pointerEvents:"none"},"@hover":{[`&:hover ${m} ${k} ${R}`]:{opacity:1},[`&:hover ${m}::after`]:{background:"transparent",content:"''",height:"20px",left:"0",position:"absolute",right:"0",top:"calc(100% + 1px)",width:"100%"}},variants:{align:{center:{right:"calc(50% - 210px)"}},multiple:{true:{"@hover":{"&:hover":{transform:"translate3d(0, -10px, 0)"}}}}}});var _={default:1e4,error:8e3,generic:1e4,info:5e3,loading:5e4,success:5e3,warning:8e3};var U={default:"status",error:"alert",generic:"status",info:"status",loading:"status",success:"alert",warning:"alert"},z={default:"polite",error:"assertive",generic:"polite",info:"polite",loading:"polite",success:"assertive",warning:"assertive"};var W=h=>{var u=h,{action:p,cancelAction:g,duration:a,height:s,heights:i,hovering:c,onMount:e,position:t,preserve:v,remove:o,text:$,type:n}=u,P=_chunkPBVSJFAZcjs.c.call(void 0, u,["action","cancelAction","duration","height","heights","hovering","onMount","position","preserve","remove","text","type"]);let[y,w]=r.useState(!1);r.useEffect(()=>{setTimeout(()=>w(!0),0)},[]),r.useEffect(()=>{setTimeout(()=>e==null?void 0:e(),0)},[e]),r.useEffect(()=>{let l;return!v&&!c&&(l=setTimeout(o,_nullishCoalesce(_nullishCoalesce(a, () => (_[n])), () => (_.default)))),()=>{clearTimeout(l)}},[c,v]);let C=r.useRef(s);r.useEffect(()=>(i[t]=C.current,()=>{i.splice(t,1)}),[t,i]);let F=r.useCallback((l,K)=>l+K,[]),H={"aria-live":z[_nullishCoalesce(n, () => ("default"))],role:U[_nullishCoalesce(n, () => ("default"))]};return r.createElement(m,{visible:y,type:_nullishCoalesce(n, () => ("default")),css:{maxHeight:c?`${C.current}px !important`:t===0?C.current:50,transform:c?`translate3d(
|
2
|
+
0px,
|
3
|
+
-${i.slice(0,t).reduce(F,0)+t*20}px,
|
4
|
+
${t*-1}px
|
5
|
+
)
|
6
|
+
scale(1) !important`:t===0?y&&"none":`translate3d(0px, calc(-${i[0]}px + 100% + -${20*t}px),-${t}px)
|
7
|
+
scale(${1-t*.05})`}},r.createElement(k,null,r.createElement(R,_chunkPBVSJFAZcjs.a.call(void 0, {action:!!p,cancel:!!g,ref:l=>C.current=(l==null?void 0:l.offsetHeight)-1+48},H),$),g&&r.createElement(_chunk6FJ474SZcjs.a,{size:"1",variant:"red",css:{mr:10}},g),p&&r.createElement(_chunk6FJ474SZcjs.a,{size:"1",variant:"green",css:{mr:10}},p)))},A= exports.ToastContainer =W;var _reactportal = require('@radix-ui/react-portal'); var O = _interopRequireWildcard(_reactportal);var _interactions = require('@react-aria/interactions');function J(){return d.useReducer(()=>({}),{})[1]}var N=()=>{let{hoverProps:p,isHovered:g}=_interactions.useHover.call(void 0, {}),{current:a}=B(),s=_nullishCoalesce((a==null?void 0:a.messages), () => ([])),i=d.useRef([]),c=J();return d.createElement(O.Root,null,d.createElement(M,_chunkPBVSJFAZcjs.a.call(void 0, {multiple:s.length>1},p),s.map((e,t)=>d.createElement(A,{action:e.action,cancelAction:e.cancelAction,duration:e.duration,height:e.height,heights:i.current,hovering:g,id:e.key,key:e.key,onMount:c,position:s.length-1-t,preserve:e.preserve,remove:()=>{a==null||a.removeToastByKey(e.key)},text:e.text,type:e.type}))))},q= exports.Toaster =N;var x=()=>{throw new Error("Missing a ToastsProvider")},S=f.createContext({current:{messages:[],message:x,error:x,success:x,removeToastByKey:x,warning:x}}),G=({children:p})=>{let[g,a]=f.useState([]),s=(o,$)=>{let n,P,h,u,y=$;typeof o=="string"?n=o:{text:n,type:y,preserve:P,action:h,cancelAction:u}=o,a(w=>[...w,{text:n,preserve:P,height:h||u?72:64,key:(+new Date).toString(),action:h,cancelAction:u,type:y}])},i=o=>{s(o,"default")},c=o=>{s(o,"error")},e=o=>{s(o,"success")},t=o=>{s(o,"warning")},v=o=>{a($=>$.filter(n=>n.key!==o))};return f.createElement(S.Provider,{value:{current:{messages:g,message:i,error:c,success:e,removeToastByKey:v,warning:t}}},p)};var Q=G;function X(){return V.useContext(S)}var B=X;exports.ToastContainer = A; exports.ToastProvider = Q; exports.Toaster = q; exports.useToast = B;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
|
3
|
+
interface ToastContainerProps extends IToast {
|
4
|
+
height: number;
|
5
|
+
heights?: number[];
|
6
|
+
hovering: boolean;
|
7
|
+
id: string;
|
8
|
+
onMount?: () => void;
|
9
|
+
position?: number;
|
10
|
+
preserve?: boolean;
|
11
|
+
remove?: () => void;
|
12
|
+
text: string;
|
13
|
+
}
|
14
|
+
declare type ToastType = 'default' | 'error' | 'generic' | 'info' | 'loading' | 'success' | 'warning';
|
15
|
+
interface IToast {
|
16
|
+
action?: string;
|
17
|
+
cancelAction?: string;
|
18
|
+
duration?: number;
|
19
|
+
height: number;
|
20
|
+
key: string;
|
21
|
+
preserve?: boolean;
|
22
|
+
text: string;
|
23
|
+
type?: ToastType;
|
24
|
+
}
|
25
|
+
interface IToastContext {
|
26
|
+
current?: {
|
27
|
+
messages: IToast[];
|
28
|
+
message: (message: Partial<IToast> | string) => void;
|
29
|
+
error: (message: Partial<IToast> | string) => void;
|
30
|
+
success: (message: Partial<IToast> | string) => void;
|
31
|
+
removeToastByKey: (key: string) => void;
|
32
|
+
warning: (message: Partial<IToast> | string) => void;
|
33
|
+
};
|
34
|
+
}
|
35
|
+
declare enum IToastState {
|
36
|
+
Idle = "idle",
|
37
|
+
Timing = "timing",
|
38
|
+
Interacting = "interacting"
|
39
|
+
}
|
40
|
+
|
41
|
+
declare const ToastContainer: React.ComponentType<ToastContainerProps>;
|
42
|
+
|
43
|
+
declare const Toaster: () => JSX.Element;
|
44
|
+
|
45
|
+
declare const ToastProvider: ({ children }: {
|
46
|
+
children: any;
|
47
|
+
}) => JSX.Element;
|
48
|
+
|
49
|
+
declare function useToast(): IToastContext;
|
50
|
+
|
51
|
+
export { IToast, IToastContext, IToastState, ToastContainer, ToastContainerProps, ToastProvider, ToastType, Toaster, useToast };
|