@jordan-mace/chaser-design-system 1.2.8 → 2.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/dist/build-manifest.json +12797 -0
- package/dist/chunk-23CHBI4O.mjs +92 -0
- package/dist/chunk-265HFPSB.mjs +75 -0
- package/dist/chunk-2B6QHVPB.mjs +0 -0
- package/dist/chunk-2D54Z56T.mjs +119 -0
- package/dist/chunk-2GXDW577.mjs +8 -0
- package/dist/chunk-3LJMSR5N.mjs +0 -0
- package/dist/chunk-44TZLEZ7.mjs +44 -0
- package/dist/chunk-4FZIKPNK.mjs +0 -0
- package/dist/chunk-4H42TV7W.mjs +137 -0
- package/dist/chunk-54H4HXDY.mjs +0 -0
- package/dist/chunk-5GW3EWPT.mjs +8 -0
- package/dist/chunk-5IIKGFRC.mjs +69 -0
- package/dist/chunk-5LIOEN4L.mjs +214 -0
- package/dist/chunk-5MWWVBIZ.mjs +20 -0
- package/dist/chunk-7AY5WUX4.mjs +0 -0
- package/dist/chunk-7NAAMXLS.mjs +18 -0
- package/dist/chunk-7UZS7ZPM.mjs +31 -0
- package/dist/chunk-AIBPYS7I.mjs +55 -0
- package/dist/chunk-AIY7XRLG.mjs +0 -0
- package/dist/chunk-ARTXRQO6.mjs +0 -0
- package/dist/chunk-BTENJUDF.mjs +0 -0
- package/dist/chunk-BUO6V4ZK.mjs +0 -0
- package/dist/chunk-CBKQEKIK.mjs +0 -0
- package/dist/chunk-CHNB6YGZ.mjs +35 -0
- package/dist/chunk-CICFJYOG.mjs +20 -0
- package/dist/chunk-CMNJMZXX.mjs +0 -0
- package/dist/chunk-CW4EIBFG.mjs +0 -0
- package/dist/chunk-DAGHRIC3.mjs +0 -0
- package/dist/chunk-DGWDQRZU.mjs +42 -0
- package/dist/chunk-E74W45DC.mjs +0 -0
- package/dist/chunk-E7OMF6QW.mjs +0 -0
- package/dist/chunk-E7VYLVBQ.mjs +84 -0
- package/dist/chunk-EOGH5LUH.mjs +8 -0
- package/dist/chunk-EOH5NK67.mjs +0 -0
- package/dist/chunk-EOXTRIQ7.mjs +0 -0
- package/dist/chunk-EPFXGPPF.mjs +62 -0
- package/dist/chunk-ERWDS6PF.mjs +32 -0
- package/dist/chunk-FCW25RIV.mjs +117 -0
- package/dist/chunk-FSIRD5AM.mjs +57 -0
- package/dist/chunk-FUN4ITNZ.mjs +0 -0
- package/dist/chunk-G2SNFO2A.mjs +41 -0
- package/dist/chunk-GP2LGGIN.mjs +207 -0
- package/dist/chunk-GP5UECUC.mjs +0 -0
- package/dist/chunk-HGOZPEWG.mjs +39 -0
- package/dist/chunk-HJCAHUC5.mjs +45 -0
- package/dist/chunk-HPP5HXXH.mjs +51 -0
- package/dist/chunk-HUED26BN.mjs +0 -0
- package/dist/chunk-HY4GCFFE.mjs +41 -0
- package/dist/chunk-IGKJYJTY.mjs +0 -0
- package/dist/chunk-IMHQ73HA.mjs +0 -0
- package/dist/chunk-J7OJPUGH.mjs +26 -0
- package/dist/chunk-JFYMSGSU.mjs +0 -0
- package/dist/chunk-JG27KRP3.mjs +41 -0
- package/dist/chunk-JIKAPQBJ.mjs +0 -0
- package/dist/chunk-JJMLW4EM.mjs +32 -0
- package/dist/chunk-KEHMUWQ5.mjs +19 -0
- package/dist/chunk-KT7CGXAH.mjs +0 -0
- package/dist/chunk-LV54XRPR.mjs +0 -0
- package/dist/chunk-LVVXUOBP.mjs +49 -0
- package/dist/chunk-LZLK7IOL.mjs +0 -0
- package/dist/chunk-MI63MVYQ.mjs +53 -0
- package/dist/chunk-MWP3WUVH.mjs +0 -0
- package/dist/chunk-N725HZEB.mjs +0 -0
- package/dist/chunk-NIZNDR6T.mjs +0 -0
- package/dist/chunk-NXJKX4QQ.mjs +126 -0
- package/dist/chunk-O3AMXQTY.mjs +0 -0
- package/dist/chunk-OGXD2YVI.mjs +96 -0
- package/dist/chunk-OTC2PREM.mjs +64 -0
- package/dist/chunk-P7WZRYQP.mjs +34 -0
- package/dist/chunk-PK7I6RMV.mjs +0 -0
- package/dist/chunk-PQZZHZIA.mjs +0 -0
- package/dist/chunk-PTU7HTXL.mjs +0 -0
- package/dist/chunk-QNJKEBIF.mjs +0 -0
- package/dist/chunk-R2GRRFQS.mjs +0 -0
- package/dist/chunk-RESHDXF5.mjs +0 -0
- package/dist/chunk-RG5W2FNQ.mjs +42 -0
- package/dist/chunk-RWSFDIB7.mjs +0 -0
- package/dist/chunk-S4M6HQWR.mjs +76 -0
- package/dist/chunk-SGEVTBAH.mjs +80 -0
- package/dist/chunk-SIGP4IGV.mjs +0 -0
- package/dist/chunk-SZ25BX44.mjs +0 -0
- package/dist/chunk-T4CX5DQW.mjs +0 -0
- package/dist/chunk-TNDJWHSF.mjs +0 -0
- package/dist/chunk-UAOAQXIP.mjs +18 -0
- package/dist/chunk-UVITSUYL.mjs +21 -0
- package/dist/chunk-V35FRMOQ.mjs +0 -0
- package/dist/chunk-VGHEJ76E.mjs +0 -0
- package/dist/chunk-VMZLIR3R.mjs +122 -0
- package/dist/chunk-VVJYGPZF.mjs +85 -0
- package/dist/chunk-W2PKPRKR.mjs +51 -0
- package/dist/chunk-WO4QVNEQ.mjs +15 -0
- package/dist/chunk-WPMNFQUN.mjs +0 -0
- package/dist/chunk-WQO4PWCK.mjs +0 -0
- package/dist/chunk-WUO4DJIA.mjs +30 -0
- package/dist/chunk-WX76GCR5.mjs +0 -0
- package/dist/chunk-WXCMK5GH.mjs +141 -0
- package/dist/chunk-X4TLQAME.mjs +118 -0
- package/dist/chunk-X5ENABHC.mjs +6 -0
- package/dist/chunk-XN3QS4PQ.mjs +262 -0
- package/dist/chunk-YHWKSBUV.mjs +93 -0
- package/dist/chunk-YPTRIIDI.mjs +101 -0
- package/dist/chunk-Z3N6BHKG.mjs +43 -0
- package/dist/chunk-ZSRWE6QR.mjs +0 -0
- package/dist/components/Accordion/Accordion.css +2065 -0
- package/dist/components/Accordion/Accordion.mjs +10 -0
- package/dist/components/Accordion/index.css +2065 -0
- package/dist/components/Accordion/index.mjs +11 -0
- package/dist/components/Alert/Alert.css +2054 -0
- package/dist/components/Alert/Alert.mjs +10 -0
- package/dist/components/Alert/index.css +2054 -0
- package/dist/components/Alert/index.mjs +11 -0
- package/dist/components/AspectRatio/AspectRatio.css +1950 -0
- package/dist/components/AspectRatio/AspectRatio.mjs +9 -0
- package/dist/components/AspectRatio/index.css +1950 -0
- package/dist/components/AspectRatio/index.mjs +10 -0
- package/dist/components/Avatar/Avatar.css +2149 -0
- package/dist/components/Avatar/Avatar.mjs +10 -0
- package/dist/components/Avatar/index.css +2149 -0
- package/dist/components/Avatar/index.mjs +11 -0
- package/dist/components/Badge/Badge.css +2076 -0
- package/dist/components/Badge/Badge.mjs +10 -0
- package/dist/components/Badge/index.css +2076 -0
- package/dist/components/Badge/index.mjs +11 -0
- package/dist/components/Box/Box.css +1950 -0
- package/dist/components/Box/Box.mjs +7 -0
- package/dist/components/Box/index.css +1950 -0
- package/dist/components/Box/index.mjs +8 -0
- package/dist/components/Breadcrumb/Breadcrumb.css +2052 -0
- package/dist/components/Breadcrumb/Breadcrumb.mjs +10 -0
- package/dist/components/Breadcrumb/index.css +2052 -0
- package/dist/components/Breadcrumb/index.mjs +11 -0
- package/dist/components/Button/Button.css +2030 -0
- package/dist/components/Button/Button.mjs +10 -0
- package/dist/components/Button/index.css +2030 -0
- package/dist/components/Button/index.mjs +11 -0
- package/dist/components/Card/Card.css +2025 -0
- package/dist/components/Card/Card.mjs +10 -0
- package/dist/components/Card/index.css +2025 -0
- package/dist/components/Card/index.mjs +11 -0
- package/dist/components/Checkbox/Checkbox.css +2033 -0
- package/dist/components/Checkbox/Checkbox.mjs +10 -0
- package/dist/components/Checkbox/index.css +2033 -0
- package/dist/components/Checkbox/index.mjs +11 -0
- package/dist/components/Collapse/Collapse.css +1987 -0
- package/dist/components/Collapse/Collapse.mjs +9 -0
- package/dist/components/Collapse/index.css +1987 -0
- package/dist/components/Collapse/index.mjs +10 -0
- package/dist/components/Combobox/Combobox.css +2139 -0
- package/dist/components/Combobox/Combobox.mjs +10 -0
- package/dist/components/Combobox/index.css +2139 -0
- package/dist/components/Combobox/index.mjs +11 -0
- package/dist/components/Container/Container.css +1950 -0
- package/dist/components/Container/Container.mjs +9 -0
- package/dist/components/Container/index.css +1950 -0
- package/dist/components/Container/index.mjs +10 -0
- package/dist/components/Divider/Divider.css +2037 -0
- package/dist/components/Divider/Divider.mjs +10 -0
- package/dist/components/Divider/index.css +2037 -0
- package/dist/components/Divider/index.mjs +11 -0
- package/dist/components/Drawer/Drawer.css +2143 -0
- package/dist/components/Drawer/Drawer.mjs +10 -0
- package/dist/components/Drawer/index.css +2143 -0
- package/dist/components/Drawer/index.mjs +11 -0
- package/dist/components/DropdownMenu/DropdownMenu.css +2090 -0
- package/dist/components/DropdownMenu/DropdownMenu.mjs +10 -0
- package/dist/components/DropdownMenu/index.css +2090 -0
- package/dist/components/DropdownMenu/index.mjs +11 -0
- package/dist/components/EmptyState/EmptyState.css +2033 -0
- package/dist/components/EmptyState/EmptyState.mjs +10 -0
- package/dist/components/EmptyState/index.css +2033 -0
- package/dist/components/EmptyState/index.mjs +11 -0
- package/dist/components/FileUpload/FileUpload.css +2142 -0
- package/dist/components/FileUpload/FileUpload.mjs +10 -0
- package/dist/components/FileUpload/index.css +2142 -0
- package/dist/components/FileUpload/index.mjs +11 -0
- package/dist/components/Form/Form.css +1965 -0
- package/dist/components/Form/Form.mjs +9 -0
- package/dist/components/Form/FormInput.css +4893 -0
- package/dist/components/Form/FormInput.mjs +108 -0
- package/dist/components/Form/index.css +4893 -0
- package/dist/components/Form/index.mjs +111 -0
- package/dist/components/Grid/Grid.css +1950 -0
- package/dist/components/Grid/Grid.mjs +9 -0
- package/dist/components/Grid/index.css +1950 -0
- package/dist/components/Grid/index.mjs +10 -0
- package/dist/components/Icon/Icon.css +1963 -0
- package/dist/components/Icon/Icon.mjs +9 -0
- package/dist/components/Icon/index.css +1963 -0
- package/dist/components/Icon/index.mjs +10 -0
- package/dist/components/Input/Input.css +2025 -0
- package/dist/components/Input/Input.mjs +11 -0
- package/dist/components/Input/index.css +2025 -0
- package/dist/components/Input/index.mjs +12 -0
- package/dist/components/Kbd/Kbd.css +2005 -0
- package/dist/components/Kbd/Kbd.mjs +8 -0
- package/dist/components/Kbd/index.css +2005 -0
- package/dist/components/Kbd/index.mjs +9 -0
- package/dist/components/List/List.css +2011 -0
- package/dist/components/List/List.mjs +11 -0
- package/dist/components/List/ListItem.css +2011 -0
- package/dist/components/List/ListItem.mjs +11 -0
- package/dist/components/List/index.css +2011 -0
- package/dist/components/List/index.mjs +16 -0
- package/dist/components/Modal/Modal.css +2088 -0
- package/dist/components/Modal/Modal.mjs +10 -0
- package/dist/components/Modal/index.css +2088 -0
- package/dist/components/Modal/index.mjs +11 -0
- package/dist/components/Navbar/Navbar.css +1955 -0
- package/dist/components/Navbar/Navbar.mjs +10 -0
- package/dist/components/Navbar/NavbarItem.css +1955 -0
- package/dist/components/Navbar/NavbarItem.mjs +10 -0
- package/dist/components/Navbar/index.css +1955 -0
- package/dist/components/Navbar/index.mjs +15 -0
- package/dist/components/NumberInput/NumberInput.css +2112 -0
- package/dist/components/NumberInput/NumberInput.mjs +10 -0
- package/dist/components/NumberInput/index.css +2112 -0
- package/dist/components/NumberInput/index.mjs +11 -0
- package/dist/components/Pagination/Pagination.css +2044 -0
- package/dist/components/Pagination/Pagination.mjs +10 -0
- package/dist/components/Pagination/index.css +2044 -0
- package/dist/components/Pagination/index.mjs +11 -0
- package/dist/components/Popover/Popover.css +2189 -0
- package/dist/components/Popover/Popover.mjs +10 -0
- package/dist/components/Popover/index.css +2189 -0
- package/dist/components/Popover/index.mjs +11 -0
- package/dist/components/Progress/Progress.css +2069 -0
- package/dist/components/Progress/Progress.mjs +10 -0
- package/dist/components/Progress/index.css +2069 -0
- package/dist/components/Progress/index.mjs +11 -0
- package/dist/components/Radio/Radio.css +2044 -0
- package/dist/components/Radio/Radio.mjs +10 -0
- package/dist/components/Radio/index.css +2044 -0
- package/dist/components/Radio/index.mjs +11 -0
- package/dist/components/ScrollArea/ScrollArea.css +2025 -0
- package/dist/components/ScrollArea/ScrollArea.mjs +10 -0
- package/dist/components/ScrollArea/index.css +2025 -0
- package/dist/components/ScrollArea/index.mjs +11 -0
- package/dist/components/Select/Select.css +2082 -0
- package/dist/components/Select/Select.mjs +10 -0
- package/dist/components/Select/index.css +2082 -0
- package/dist/components/Select/index.mjs +11 -0
- package/dist/components/Separator/Separator.css +2023 -0
- package/dist/components/Separator/Separator.mjs +10 -0
- package/dist/components/Separator/index.css +2023 -0
- package/dist/components/Separator/index.mjs +11 -0
- package/dist/components/Skeleton/Skeleton.css +2060 -0
- package/dist/components/Skeleton/Skeleton.mjs +10 -0
- package/dist/components/Skeleton/index.css +2060 -0
- package/dist/components/Skeleton/index.mjs +11 -0
- package/dist/components/Spinner/Spinner.css +2055 -0
- package/dist/components/Spinner/Spinner.mjs +10 -0
- package/dist/components/Spinner/index.css +2055 -0
- package/dist/components/Spinner/index.mjs +11 -0
- package/dist/components/Stack/Stack.css +1950 -0
- package/dist/components/Stack/Stack.mjs +9 -0
- package/dist/components/Stack/index.css +1950 -0
- package/dist/components/Stack/index.mjs +10 -0
- package/dist/components/Stepper/Stepper.css +2104 -0
- package/dist/components/Stepper/Stepper.mjs +10 -0
- package/dist/components/Stepper/index.css +2104 -0
- package/dist/components/Stepper/index.mjs +11 -0
- package/dist/components/Table/Table.css +2049 -0
- package/dist/components/Table/Table.mjs +10 -0
- package/dist/components/Table/index.css +2049 -0
- package/dist/components/Table/index.mjs +11 -0
- package/dist/components/Tabs/Tabs.css +2100 -0
- package/dist/components/Tabs/Tabs.mjs +10 -0
- package/dist/components/Tabs/index.css +2100 -0
- package/dist/components/Tabs/index.mjs +11 -0
- package/dist/components/Tag/Tag.css +2093 -0
- package/dist/components/Tag/Tag.mjs +10 -0
- package/dist/components/Tag/index.css +2093 -0
- package/dist/components/Tag/index.mjs +11 -0
- package/dist/components/Text/Header.css +2013 -0
- package/dist/components/Text/Header.mjs +11 -0
- package/dist/components/Text/P.css +2013 -0
- package/dist/components/Text/P.mjs +11 -0
- package/dist/components/Text/index.css +2013 -0
- package/dist/components/Text/index.mjs +16 -0
- package/dist/components/TextArea/TextArea.css +2027 -0
- package/dist/components/TextArea/TextArea.mjs +11 -0
- package/dist/components/TextArea/index.css +2027 -0
- package/dist/components/TextArea/index.mjs +12 -0
- package/dist/components/Toast/Toast.css +2229 -0
- package/dist/components/Toast/Toast.mjs +16 -0
- package/dist/components/Toast/index.css +2229 -0
- package/dist/components/Toast/index.mjs +17 -0
- package/dist/components/Toggle/Toggle.css +2106 -0
- package/dist/components/Toggle/Toggle.mjs +10 -0
- package/dist/components/Toggle/index.css +2106 -0
- package/dist/components/Toggle/index.mjs +11 -0
- package/dist/components/Tooltip/Tooltip.css +2084 -0
- package/dist/components/Tooltip/Tooltip.mjs +10 -0
- package/dist/components/Tooltip/index.css +2084 -0
- package/dist/components/Tooltip/index.mjs +11 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.css +15 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.mjs +6 -0
- package/dist/components/VisuallyHidden/index.css +15 -0
- package/dist/components/VisuallyHidden/index.mjs +7 -0
- package/dist/components/index.css +4893 -0
- package/dist/components/index.mjs +262 -0
- package/dist/index.core.mjs +262 -0
- package/dist/index.css +4893 -0
- package/dist/index.mjs +2 -0
- package/dist/styles/layers.css +0 -0
- package/dist/styles/reset.css +126 -0
- package/dist/styles/reset.css.js +0 -0
- package/dist/styles/sprinkles.css +1938 -0
- package/dist/styles/sprinkles.css.js +218 -163
- package/dist/styles/theme.css +1986 -0
- package/dist/styles/theme.css.js +5 -51
- package/dist/styles/utils.mjs +14 -0
- package/package.json +14 -16
- package/src/components/Box/reset.css.ts +2 -2
- package/src/index.ts +6 -1
- package/dist/components/Accordion/Accordion.d.ts +0 -15
- package/dist/components/Accordion/Accordion.js +0 -43
- package/dist/components/Accordion/index.d.ts +0 -1
- package/dist/components/Accordion/index.js +0 -1
- package/dist/components/Accordion/styles.css.d.ts +0 -7
- package/dist/components/Accordion/styles.css.js +0 -65
- package/dist/components/Alert/Alert.d.ts +0 -10
- package/dist/components/Alert/Alert.js +0 -8
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/Alert/index.js +0 -1
- package/dist/components/Alert/styles.css.d.ts +0 -4
- package/dist/components/Alert/styles.css.js +0 -54
- package/dist/components/AspectRatio/AspectRatio.d.ts +0 -9
- package/dist/components/AspectRatio/AspectRatio.js +0 -12
- package/dist/components/AspectRatio/index.d.ts +0 -2
- package/dist/components/AspectRatio/index.js +0 -1
- package/dist/components/Avatar/Avatar.d.ts +0 -11
- package/dist/components/Avatar/Avatar.js +0 -13
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Avatar/index.js +0 -1
- package/dist/components/Avatar/styles.css.d.ts +0 -4
- package/dist/components/Avatar/styles.css.js +0 -151
- package/dist/components/Badge/Badge.d.ts +0 -12
- package/dist/components/Badge/Badge.js +0 -8
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Badge/index.js +0 -1
- package/dist/components/Badge/styles.css.d.ts +0 -5
- package/dist/components/Badge/styles.css.js +0 -77
- package/dist/components/Box/Box.d.ts +0 -11
- package/dist/components/Box/Box.js +0 -54
- package/dist/components/Box/index.d.ts +0 -2
- package/dist/components/Box/index.js +0 -1
- package/dist/components/Box/reset.css.d.ts +0 -1
- package/dist/components/Box/reset.css.js +0 -15
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -13
- package/dist/components/Breadcrumb/Breadcrumb.js +0 -8
- package/dist/components/Breadcrumb/index.d.ts +0 -1
- package/dist/components/Breadcrumb/index.js +0 -1
- package/dist/components/Breadcrumb/styles.css.d.ts +0 -6
- package/dist/components/Breadcrumb/styles.css.js +0 -50
- package/dist/components/Button/Button.d.ts +0 -10
- package/dist/components/Button/Button.js +0 -8
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Button/index.js +0 -1
- package/dist/components/Button/styles.css.d.ts +0 -2
- package/dist/components/Button/styles.css.js +0 -30
- package/dist/components/Card/Card.d.ts +0 -9
- package/dist/components/Card/Card.js +0 -8
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Card/index.js +0 -1
- package/dist/components/Card/styles.css.d.ts +0 -2
- package/dist/components/Card/styles.css.js +0 -25
- package/dist/components/Checkbox/Checkbox.d.ts +0 -151
- package/dist/components/Checkbox/Checkbox.js +0 -25
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/Checkbox/index.js +0 -1
- package/dist/components/Checkbox/styles.css.d.ts +0 -3
- package/dist/components/Checkbox/styles.css.js +0 -31
- package/dist/components/Collapse/Collapse.d.ts +0 -12
- package/dist/components/Collapse/Collapse.js +0 -56
- package/dist/components/Collapse/index.d.ts +0 -2
- package/dist/components/Collapse/index.js +0 -1
- package/dist/components/Collapse/styles.css.d.ts +0 -3
- package/dist/components/Collapse/styles.css.js +0 -36
- package/dist/components/Combobox/Combobox.d.ts +0 -24
- package/dist/components/Combobox/Combobox.js +0 -111
- package/dist/components/Combobox/index.d.ts +0 -2
- package/dist/components/Combobox/index.js +0 -1
- package/dist/components/Combobox/styles.css.d.ts +0 -13
- package/dist/components/Combobox/styles.css.js +0 -142
- package/dist/components/Container/Container.d.ts +0 -163
- package/dist/components/Container/Container.js +0 -21
- package/dist/components/Container/index.d.ts +0 -2
- package/dist/components/Container/index.js +0 -1
- package/dist/components/Divider/Divider.d.ts +0 -10
- package/dist/components/Divider/Divider.js +0 -10
- package/dist/components/Divider/index.d.ts +0 -2
- package/dist/components/Divider/index.js +0 -1
- package/dist/components/Divider/styles.css.d.ts +0 -4
- package/dist/components/Divider/styles.css.js +0 -41
- package/dist/components/Drawer/Drawer.d.ts +0 -18
- package/dist/components/Drawer/Drawer.js +0 -65
- package/dist/components/Drawer/index.d.ts +0 -2
- package/dist/components/Drawer/index.js +0 -1
- package/dist/components/Drawer/styles.css.d.ts +0 -8
- package/dist/components/Drawer/styles.css.js +0 -125
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +0 -24
- package/dist/components/DropdownMenu/DropdownMenu.js +0 -46
- package/dist/components/DropdownMenu/index.d.ts +0 -2
- package/dist/components/DropdownMenu/index.js +0 -1
- package/dist/components/DropdownMenu/styles.css.d.ts +0 -9
- package/dist/components/DropdownMenu/styles.css.js +0 -93
- package/dist/components/EmptyState/EmptyState.d.ts +0 -10
- package/dist/components/EmptyState/EmptyState.js +0 -8
- package/dist/components/EmptyState/index.d.ts +0 -2
- package/dist/components/EmptyState/index.js +0 -1
- package/dist/components/EmptyState/styles.css.d.ts +0 -5
- package/dist/components/EmptyState/styles.css.js +0 -30
- package/dist/components/FileUpload/FileUpload.d.ts +0 -28
- package/dist/components/FileUpload/FileUpload.js +0 -106
- package/dist/components/FileUpload/index.d.ts +0 -2
- package/dist/components/FileUpload/index.js +0 -1
- package/dist/components/FileUpload/styles.css.d.ts +0 -19
- package/dist/components/FileUpload/styles.css.js +0 -145
- package/dist/components/Form/Form.d.ts +0 -7
- package/dist/components/Form/Form.js +0 -8
- package/dist/components/Form/FormInput.d.ts +0 -5
- package/dist/components/Form/FormInput.js +0 -9
- package/dist/components/Form/index.d.ts +0 -2
- package/dist/components/Form/index.js +0 -2
- package/dist/components/Form/styles.css.d.ts +0 -2
- package/dist/components/Form/styles.css.js +0 -11
- package/dist/components/Grid/Grid.d.ts +0 -162
- package/dist/components/Grid/Grid.js +0 -25
- package/dist/components/Grid/index.d.ts +0 -2
- package/dist/components/Grid/index.js +0 -1
- package/dist/components/Icon/Icon.d.ts +0 -12
- package/dist/components/Icon/Icon.js +0 -21
- package/dist/components/Icon/index.d.ts +0 -1
- package/dist/components/Icon/index.js +0 -1
- package/dist/components/Icon/styles.css.d.ts +0 -1
- package/dist/components/Icon/styles.css.js +0 -9
- package/dist/components/Input/Input.d.ts +0 -8
- package/dist/components/Input/Input.js +0 -9
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Input/index.js +0 -1
- package/dist/components/Input/styles.css.d.ts +0 -2
- package/dist/components/Input/styles.css.js +0 -8
- package/dist/components/Kbd/Kbd.d.ts +0 -7
- package/dist/components/Kbd/Kbd.js +0 -6
- package/dist/components/Kbd/index.d.ts +0 -2
- package/dist/components/Kbd/index.js +0 -1
- package/dist/components/Kbd/styles.css.d.ts +0 -1
- package/dist/components/Kbd/styles.css.js +0 -16
- package/dist/components/List/List.d.ts +0 -6
- package/dist/components/List/List.js +0 -7
- package/dist/components/List/ListItem.d.ts +0 -6
- package/dist/components/List/ListItem.js +0 -7
- package/dist/components/List/index.d.ts +0 -2
- package/dist/components/List/index.js +0 -2
- package/dist/components/List/styles.css.d.ts +0 -2
- package/dist/components/List/styles.css.js +0 -11
- package/dist/components/Modal/Modal.d.ts +0 -15
- package/dist/components/Modal/Modal.js +0 -35
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/Modal/index.js +0 -1
- package/dist/components/Modal/styles.css.d.ts +0 -7
- package/dist/components/Modal/styles.css.js +0 -92
- package/dist/components/Navbar/Navbar.d.ts +0 -7
- package/dist/components/Navbar/Navbar.js +0 -8
- package/dist/components/Navbar/NavbarItem.d.ts +0 -7
- package/dist/components/Navbar/NavbarItem.js +0 -8
- package/dist/components/Navbar/index.d.ts +0 -2
- package/dist/components/Navbar/index.js +0 -2
- package/dist/components/Navbar/styles.css.d.ts +0 -2
- package/dist/components/Navbar/styles.css.js +0 -3
- package/dist/components/NumberInput/NumberInput.d.ts +0 -21
- package/dist/components/NumberInput/NumberInput.js +0 -39
- package/dist/components/NumberInput/index.d.ts +0 -2
- package/dist/components/NumberInput/index.js +0 -1
- package/dist/components/NumberInput/styles.css.d.ts +0 -10
- package/dist/components/NumberInput/styles.css.js +0 -117
- package/dist/components/Pagination/Pagination.d.ts +0 -12
- package/dist/components/Pagination/Pagination.js +0 -50
- package/dist/components/Pagination/index.d.ts +0 -2
- package/dist/components/Pagination/index.js +0 -1
- package/dist/components/Pagination/styles.css.d.ts +0 -4
- package/dist/components/Pagination/styles.css.js +0 -44
- package/dist/components/Popover/Popover.d.ts +0 -19
- package/dist/components/Popover/Popover.js +0 -56
- package/dist/components/Popover/index.d.ts +0 -2
- package/dist/components/Popover/index.js +0 -1
- package/dist/components/Popover/styles.css.d.ts +0 -11
- package/dist/components/Popover/styles.css.js +0 -185
- package/dist/components/Progress/Progress.d.ts +0 -11
- package/dist/components/Progress/Progress.js +0 -9
- package/dist/components/Progress/index.d.ts +0 -1
- package/dist/components/Progress/index.js +0 -1
- package/dist/components/Progress/styles.css.d.ts +0 -4
- package/dist/components/Progress/styles.css.js +0 -71
- package/dist/components/Radio/Radio.d.ts +0 -161
- package/dist/components/Radio/Radio.js +0 -25
- package/dist/components/Radio/index.d.ts +0 -1
- package/dist/components/Radio/index.js +0 -1
- package/dist/components/Radio/styles.css.d.ts +0 -5
- package/dist/components/Radio/styles.css.js +0 -42
- package/dist/components/ScrollArea/ScrollArea.d.ts +0 -11
- package/dist/components/ScrollArea/ScrollArea.js +0 -12
- package/dist/components/ScrollArea/index.d.ts +0 -2
- package/dist/components/ScrollArea/index.js +0 -1
- package/dist/components/ScrollArea/styles.css.d.ts +0 -3
- package/dist/components/ScrollArea/styles.css.js +0 -25
- package/dist/components/Select/Select.d.ts +0 -158
- package/dist/components/Select/Select.js +0 -10
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Select/index.js +0 -1
- package/dist/components/Select/styles.css.d.ts +0 -4
- package/dist/components/Select/styles.css.js +0 -82
- package/dist/components/Separator/Separator.d.ts +0 -9
- package/dist/components/Separator/Separator.js +0 -8
- package/dist/components/Separator/index.d.ts +0 -2
- package/dist/components/Separator/index.js +0 -1
- package/dist/components/Separator/styles.css.d.ts +0 -4
- package/dist/components/Separator/styles.css.js +0 -28
- package/dist/components/Skeleton/Skeleton.d.ts +0 -15
- package/dist/components/Skeleton/Skeleton.js +0 -13
- package/dist/components/Skeleton/index.d.ts +0 -2
- package/dist/components/Skeleton/index.js +0 -1
- package/dist/components/Skeleton/styles.css.d.ts +0 -4
- package/dist/components/Skeleton/styles.css.js +0 -56
- package/dist/components/Spinner/Spinner.d.ts +0 -11
- package/dist/components/Spinner/Spinner.js +0 -8
- package/dist/components/Spinner/index.d.ts +0 -2
- package/dist/components/Spinner/index.js +0 -1
- package/dist/components/Spinner/styles.css.d.ts +0 -4
- package/dist/components/Spinner/styles.css.js +0 -55
- package/dist/components/Stack/Stack.d.ts +0 -167
- package/dist/components/Stack/Stack.js +0 -24
- package/dist/components/Stack/index.d.ts +0 -2
- package/dist/components/Stack/index.js +0 -1
- package/dist/components/Stepper/Stepper.d.ts +0 -19
- package/dist/components/Stepper/Stepper.js +0 -25
- package/dist/components/Stepper/index.d.ts +0 -2
- package/dist/components/Stepper/index.js +0 -1
- package/dist/components/Stepper/styles.css.d.ts +0 -14
- package/dist/components/Stepper/styles.css.js +0 -104
- package/dist/components/Table/Table.d.ts +0 -41
- package/dist/components/Table/Table.js +0 -39
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Table/index.js +0 -1
- package/dist/components/Table/styles.css.d.ts +0 -8
- package/dist/components/Table/styles.css.js +0 -49
- package/dist/components/Tabs/Tabs.d.ts +0 -29
- package/dist/components/Tabs/Tabs.js +0 -52
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/Tabs/index.js +0 -1
- package/dist/components/Tabs/styles.css.d.ts +0 -6
- package/dist/components/Tabs/styles.css.js +0 -100
- package/dist/components/Tag/Tag.d.ts +0 -16
- package/dist/components/Tag/Tag.js +0 -18
- package/dist/components/Tag/index.d.ts +0 -1
- package/dist/components/Tag/index.js +0 -1
- package/dist/components/Tag/styles.css.d.ts +0 -3
- package/dist/components/Tag/styles.css.js +0 -93
- package/dist/components/Text/Header.d.ts +0 -8
- package/dist/components/Text/Header.js +0 -8
- package/dist/components/Text/P.d.ts +0 -7
- package/dist/components/Text/P.js +0 -8
- package/dist/components/Text/index.d.ts +0 -2
- package/dist/components/Text/index.js +0 -2
- package/dist/components/Text/styles.css.d.ts +0 -2
- package/dist/components/Text/styles.css.js +0 -13
- package/dist/components/TextArea/TextArea.d.ts +0 -8
- package/dist/components/TextArea/TextArea.js +0 -9
- package/dist/components/TextArea/index.d.ts +0 -2
- package/dist/components/TextArea/index.js +0 -1
- package/dist/components/TextArea/styles.css.d.ts +0 -2
- package/dist/components/TextArea/styles.css.js +0 -10
- package/dist/components/Toast/Toast.d.ts +0 -34
- package/dist/components/Toast/Toast.js +0 -177
- package/dist/components/Toast/index.d.ts +0 -1
- package/dist/components/Toast/index.js +0 -1
- package/dist/components/Toast/styles.css.d.ts +0 -21
- package/dist/components/Toast/styles.css.js +0 -192
- package/dist/components/Toggle/Toggle.d.ts +0 -11
- package/dist/components/Toggle/Toggle.js +0 -17
- package/dist/components/Toggle/index.d.ts +0 -2
- package/dist/components/Toggle/index.js +0 -1
- package/dist/components/Toggle/styles.css.d.ts +0 -12
- package/dist/components/Toggle/styles.css.js +0 -118
- package/dist/components/Tooltip/Tooltip.d.ts +0 -11
- package/dist/components/Tooltip/Tooltip.js +0 -16
- package/dist/components/Tooltip/index.d.ts +0 -2
- package/dist/components/Tooltip/index.js +0 -1
- package/dist/components/Tooltip/styles.css.d.ts +0 -8
- package/dist/components/Tooltip/styles.css.js +0 -86
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +0 -8
- package/dist/components/VisuallyHidden/VisuallyHidden.js +0 -9
- package/dist/components/VisuallyHidden/index.d.ts +0 -2
- package/dist/components/VisuallyHidden/index.js +0 -1
- package/dist/components/VisuallyHidden/styles.css.d.ts +0 -1
- package/dist/components/VisuallyHidden/styles.css.js +0 -12
- package/dist/components/index.d.ts +0 -68
- package/dist/components/index.js +0 -47
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/styles/layers.css.d.ts +0 -3
- package/dist/styles/layers.css.js +0 -3
- package/dist/styles/sprinkles.css.d.ts +0 -241
- package/dist/styles/theme.css.d.ts +0 -38
- package/dist/styles/utils.d.ts +0 -2
- package/dist/styles/utils.js +0 -7
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { styleVariants } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from '../../styles/theme.css';
|
|
3
|
-
import { styleWithLayer } from '../../styles/utils';
|
|
4
|
-
export const badgeVariants = styleVariants({
|
|
5
|
-
default: {
|
|
6
|
-
backgroundColor: vars.colors.borderDefault,
|
|
7
|
-
color: vars.colors.textPrimary,
|
|
8
|
-
},
|
|
9
|
-
success: {
|
|
10
|
-
backgroundColor: vars.colors.alertSuccessBackground,
|
|
11
|
-
color: vars.colors.alertSuccessText,
|
|
12
|
-
border: `1px solid ${vars.colors.alertSuccessBorder}`,
|
|
13
|
-
},
|
|
14
|
-
warning: {
|
|
15
|
-
backgroundColor: vars.colors.alertWarningBackground,
|
|
16
|
-
color: vars.colors.alertWarningText,
|
|
17
|
-
border: `1px solid ${vars.colors.alertWarningBorder}`,
|
|
18
|
-
},
|
|
19
|
-
error: {
|
|
20
|
-
backgroundColor: vars.colors.alertErrorBackground,
|
|
21
|
-
color: vars.colors.alertErrorText,
|
|
22
|
-
border: `1px solid ${vars.colors.alertErrorBorder}`,
|
|
23
|
-
},
|
|
24
|
-
info: {
|
|
25
|
-
backgroundColor: vars.colors.alertInfoBackground,
|
|
26
|
-
color: vars.colors.alertInfoText,
|
|
27
|
-
border: `1px solid ${vars.colors.alertInfoBorder}`,
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
export const badgeSizes = styleVariants({
|
|
31
|
-
small: {
|
|
32
|
-
fontSize: '0.7rem',
|
|
33
|
-
padding: '0.125rem 0.375rem',
|
|
34
|
-
borderRadius: '0.25rem',
|
|
35
|
-
},
|
|
36
|
-
medium: {
|
|
37
|
-
fontSize: '0.75rem',
|
|
38
|
-
padding: '0.25rem 0.5rem',
|
|
39
|
-
borderRadius: '0.375rem',
|
|
40
|
-
},
|
|
41
|
-
large: {
|
|
42
|
-
fontSize: '0.875rem',
|
|
43
|
-
padding: '0.375rem 0.625rem',
|
|
44
|
-
borderRadius: '0.5rem',
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
export const badge = styleWithLayer({
|
|
48
|
-
display: 'inline-flex',
|
|
49
|
-
alignItems: 'center',
|
|
50
|
-
justifyContent: 'center',
|
|
51
|
-
fontWeight: '500',
|
|
52
|
-
whiteSpace: 'nowrap',
|
|
53
|
-
fontFamily: vars.fontFamily.body,
|
|
54
|
-
transition: 'background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out',
|
|
55
|
-
});
|
|
56
|
-
export const badgeDot = styleWithLayer({
|
|
57
|
-
width: '0.5rem',
|
|
58
|
-
height: '0.5rem',
|
|
59
|
-
borderRadius: '50%',
|
|
60
|
-
display: 'inline-block',
|
|
61
|
-
padding: 0,
|
|
62
|
-
minWidth: 'auto',
|
|
63
|
-
});
|
|
64
|
-
export const badgeDotSizes = styleVariants({
|
|
65
|
-
small: {
|
|
66
|
-
width: '0.375rem',
|
|
67
|
-
height: '0.375rem',
|
|
68
|
-
},
|
|
69
|
-
medium: {
|
|
70
|
-
width: '0.5rem',
|
|
71
|
-
height: '0.5rem',
|
|
72
|
-
},
|
|
73
|
-
large: {
|
|
74
|
-
width: '0.625rem',
|
|
75
|
-
height: '0.625rem',
|
|
76
|
-
},
|
|
77
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Sprinkles } from '../../styles/sprinkles.css';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type BoxProps = Sprinkles & {
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
};
|
|
9
|
-
declare const Box: React.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
10
|
-
export default Box;
|
|
11
|
-
export type { BoxProps };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx';
|
|
2
|
-
import { sprinkles } from '../../styles/sprinkles.css';
|
|
3
|
-
import { reset } from './reset.css';
|
|
4
|
-
import React, { forwardRef } from 'react';
|
|
5
|
-
const Box = forwardRef((props, ref) => {
|
|
6
|
-
const { as: Component = 'div', className, children, ...rest } = props;
|
|
7
|
-
const sprinkleProps = {};
|
|
8
|
-
const otherProps = { ref };
|
|
9
|
-
const sprinkleKeys = new Set([
|
|
10
|
-
'display',
|
|
11
|
-
'width',
|
|
12
|
-
'height',
|
|
13
|
-
'flexDirection',
|
|
14
|
-
'justifyContent',
|
|
15
|
-
'alignItems',
|
|
16
|
-
'paddingTop',
|
|
17
|
-
'paddingBottom',
|
|
18
|
-
'paddingLeft',
|
|
19
|
-
'paddingRight',
|
|
20
|
-
'marginLeft',
|
|
21
|
-
'marginRight',
|
|
22
|
-
'marginTop',
|
|
23
|
-
'marginBottom',
|
|
24
|
-
'borderLeft',
|
|
25
|
-
'borderRight',
|
|
26
|
-
'borderTop',
|
|
27
|
-
'borderBottom',
|
|
28
|
-
'borderRadius',
|
|
29
|
-
'gap',
|
|
30
|
-
'padding',
|
|
31
|
-
'border',
|
|
32
|
-
'paddingX',
|
|
33
|
-
'paddingY',
|
|
34
|
-
'marginX',
|
|
35
|
-
'marginY',
|
|
36
|
-
'placeItems',
|
|
37
|
-
'color',
|
|
38
|
-
'background',
|
|
39
|
-
]);
|
|
40
|
-
Object.entries(rest).forEach(([key, value]) => {
|
|
41
|
-
if (sprinkleKeys.has(key)) {
|
|
42
|
-
sprinkleProps[key] = value;
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
otherProps[key] = value;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
return React.createElement(Component, {
|
|
49
|
-
className: clsx(reset, sprinkles(sprinkleProps), className),
|
|
50
|
-
...otherProps,
|
|
51
|
-
}, children);
|
|
52
|
-
});
|
|
53
|
-
Box.displayName = 'Box';
|
|
54
|
-
export default Box;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Box';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const reset: string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { style } from '@vanilla-extract/css';
|
|
2
|
-
import { componentsLayer } from '../../styles/layers.css';
|
|
3
|
-
export const reset = style({
|
|
4
|
-
'@layer': {
|
|
5
|
-
[componentsLayer]: {
|
|
6
|
-
margin: 0,
|
|
7
|
-
padding: 0,
|
|
8
|
-
border: 0,
|
|
9
|
-
boxSizing: 'border-box',
|
|
10
|
-
fontSize: '100%',
|
|
11
|
-
font: 'inherit',
|
|
12
|
-
verticalAlign: 'baseline',
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
|
3
|
-
type BreadcrumbItem = {
|
|
4
|
-
label: string;
|
|
5
|
-
href?: string;
|
|
6
|
-
current?: boolean;
|
|
7
|
-
};
|
|
8
|
-
type BreadcrumbProps = React.HTMLAttributes<HTMLDivElement> & Sprinkles & {
|
|
9
|
-
items: BreadcrumbItem[];
|
|
10
|
-
separator?: string;
|
|
11
|
-
};
|
|
12
|
-
declare const Breadcrumb: ({ items, className, separator }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default Breadcrumb;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { breadcrumb, breadcrumbList, breadcrumbItem, breadcrumbLink, breadcrumbSeparator, breadcrumbCurrent, } from './styles.css';
|
|
4
|
-
import Box from '../Box';
|
|
5
|
-
const Breadcrumb = ({ items, className, separator = '/' }) => {
|
|
6
|
-
return (_jsx(Box, { as: "nav", "aria-label": "Breadcrumb", className: clsx(breadcrumb, className), display: "flex", alignItems: "center", gap: "small", fontSize: "14px", children: _jsx(Box, { as: "ol", className: breadcrumbList, display: "flex", alignItems: "center", style: { listStyle: 'none' }, margin: "none", padding: "none", gap: "small", children: items.map((item, index) => (_jsxs(Box, { as: "li", className: breadcrumbItem, display: "flex", alignItems: "center", children: [item.href && !item.current ? (_jsx(Box, { as: "a", href: item.href, className: breadcrumbLink, display: "inline", alignItems: "center", color: "c5-600", fontSize: "14px", textDecoration: "none", children: item.label })) : (_jsx(Box, { as: "span", className: breadcrumbCurrent, display: "inline", alignItems: "center", color: "c5-700", fontSize: "14px", fontWeight: "500", children: item.label })), index < items.length - 1 && (_jsx(Box, { as: "span", className: breadcrumbSeparator, color: "c5-500", fontSize: "12px", style: { userSelect: 'none' }, children: separator }))] }, index))) }) }));
|
|
7
|
-
};
|
|
8
|
-
export default Breadcrumb;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Breadcrumb } from './Breadcrumb';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Breadcrumb } from './Breadcrumb';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const breadcrumb: string;
|
|
2
|
-
export declare const breadcrumbList: string;
|
|
3
|
-
export declare const breadcrumbItem: string;
|
|
4
|
-
export declare const breadcrumbLink: string;
|
|
5
|
-
export declare const breadcrumbSeparator: string;
|
|
6
|
-
export declare const breadcrumbCurrent: string;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { style } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from '../../styles/theme.css';
|
|
3
|
-
import { styleWithLayer } from '../../styles/utils';
|
|
4
|
-
export const breadcrumb = styleWithLayer({
|
|
5
|
-
display: 'flex',
|
|
6
|
-
alignItems: 'center',
|
|
7
|
-
gap: '4px',
|
|
8
|
-
fontFamily: vars.fontFamily.body,
|
|
9
|
-
fontSize: '14px',
|
|
10
|
-
});
|
|
11
|
-
export const breadcrumbList = style({
|
|
12
|
-
display: 'flex',
|
|
13
|
-
alignItems: 'center',
|
|
14
|
-
listStyle: 'none',
|
|
15
|
-
margin: 0,
|
|
16
|
-
padding: 0,
|
|
17
|
-
gap: '4px',
|
|
18
|
-
});
|
|
19
|
-
export const breadcrumbItem = style({
|
|
20
|
-
display: 'flex',
|
|
21
|
-
alignItems: 'center',
|
|
22
|
-
});
|
|
23
|
-
export const breadcrumbLink = style({
|
|
24
|
-
display: 'inline-flex',
|
|
25
|
-
alignItems: 'center',
|
|
26
|
-
color: vars.colors.textSecondary,
|
|
27
|
-
textDecoration: 'none',
|
|
28
|
-
fontSize: '14px',
|
|
29
|
-
':hover': {
|
|
30
|
-
color: vars.colors.buttonBackgroundPrimary,
|
|
31
|
-
textDecoration: 'underline',
|
|
32
|
-
},
|
|
33
|
-
':focus-visible': {
|
|
34
|
-
outline: `2px solid ${vars.colors.buttonBackgroundPrimary}`,
|
|
35
|
-
outlineOffset: '2px',
|
|
36
|
-
borderRadius: '4px',
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
export const breadcrumbSeparator = style({
|
|
40
|
-
color: vars.colors.textDisabled,
|
|
41
|
-
fontSize: '12px',
|
|
42
|
-
userSelect: 'none',
|
|
43
|
-
});
|
|
44
|
-
export const breadcrumbCurrent = style({
|
|
45
|
-
display: 'inline-flex',
|
|
46
|
-
alignItems: 'center',
|
|
47
|
-
color: vars.colors.textPrimary,
|
|
48
|
-
fontSize: '14px',
|
|
49
|
-
fontWeight: '500',
|
|
50
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
|
3
|
-
type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & Sprinkles & {
|
|
4
|
-
variant: 'primary' | 'secondary';
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
label?: string;
|
|
7
|
-
fullWidth?: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare const Button: ({ label, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default Button;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { button, buttonVariants } from './styles.css';
|
|
4
|
-
import Box from '../Box';
|
|
5
|
-
const Button = ({ label, ...props }) => {
|
|
6
|
-
return (_jsx(Box, { as: "button", borderRadius: "large", width: props.fullWidth ? '100%' : undefined, className: clsx(buttonVariants[props.variant], button, props.className), ...props, children: props.children || label }));
|
|
7
|
-
};
|
|
8
|
-
export default Button;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Button } from './Button';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Button } from './Button';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { styleVariants } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from '../../styles/theme.css';
|
|
3
|
-
import { styleWithLayer } from '../../styles/utils';
|
|
4
|
-
export const buttonVariants = styleVariants({
|
|
5
|
-
primary: {
|
|
6
|
-
backgroundColor: vars.colors.buttonBackgroundPrimary,
|
|
7
|
-
color: vars.colors.buttonTextPrimary,
|
|
8
|
-
':focus-visible': {
|
|
9
|
-
backgroundColor: vars.colors.buttonBackgroundFocusedPrimary,
|
|
10
|
-
},
|
|
11
|
-
':hover': {
|
|
12
|
-
backgroundColor: vars.colors.buttonBackgroundFocusedPrimary,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
secondary: {
|
|
16
|
-
backgroundColor: vars.colors.buttonBackgroundSecondary,
|
|
17
|
-
color: vars.colors.buttonTextSecondary,
|
|
18
|
-
':focus-visible': {
|
|
19
|
-
backgroundColor: vars.colors.buttonBackgroundFocusedSecondary,
|
|
20
|
-
},
|
|
21
|
-
':hover': {
|
|
22
|
-
backgroundColor: vars.colors.buttonBackgroundFocusedSecondary,
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
export const button = styleWithLayer({
|
|
27
|
-
padding: '1rem',
|
|
28
|
-
borderRadius: '1rem',
|
|
29
|
-
border: 0,
|
|
30
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
|
3
|
-
type CardProps = React.HTMLAttributes<HTMLDivElement> & Sprinkles & {
|
|
4
|
-
variant?: 'elevated' | 'outlined' | 'filled';
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
padding?: 'none' | 'small' | 'medium' | 'large';
|
|
7
|
-
};
|
|
8
|
-
declare const Card: ({ variant, padding, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default Card;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { card, cardVariants } from './styles.css';
|
|
4
|
-
import Box from '../Box';
|
|
5
|
-
const Card = ({ variant = 'elevated', padding = 'medium', ...props }) => {
|
|
6
|
-
return (_jsx(Box, { as: "div", borderRadius: "large", padding: padding !== 'none' ? padding : undefined, className: clsx(cardVariants[variant], card, props.className), ...props, children: props.children }));
|
|
7
|
-
};
|
|
8
|
-
export default Card;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Card } from './Card';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Card } from './Card';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { styleVariants } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from '../../styles/theme.css';
|
|
3
|
-
import { styleWithLayer } from '../../styles/utils';
|
|
4
|
-
export const cardVariants = styleVariants({
|
|
5
|
-
elevated: {
|
|
6
|
-
backgroundColor: vars.colors.backgroundDefault,
|
|
7
|
-
boxShadow: '0 2px 8px rgba(0, 0, 0, 0.1)',
|
|
8
|
-
border: 'none',
|
|
9
|
-
},
|
|
10
|
-
outlined: {
|
|
11
|
-
backgroundColor: vars.colors.backgroundDefault,
|
|
12
|
-
border: `1px solid ${vars.colors.borderDefault}`,
|
|
13
|
-
boxShadow: 'none',
|
|
14
|
-
},
|
|
15
|
-
filled: {
|
|
16
|
-
backgroundColor: vars.colors.backgroundMuted,
|
|
17
|
-
border: 'none',
|
|
18
|
-
boxShadow: 'none',
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
export const card = styleWithLayer({
|
|
22
|
-
display: 'block',
|
|
23
|
-
position: 'relative',
|
|
24
|
-
transition: 'all 0.2s ease-in-out',
|
|
25
|
-
});
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
3
|
-
display?: ("flex" | "none" | "block" | "inline" | {
|
|
4
|
-
mobile?: "flex" | "none" | "block" | "inline";
|
|
5
|
-
tablet?: "flex" | "none" | "block" | "inline";
|
|
6
|
-
desktop?: "flex" | "none" | "block" | "inline";
|
|
7
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "flex" | "none" | "block" | "inline">;
|
|
8
|
-
width?: ("auto" | "100%" | "50%" | "25%" | {
|
|
9
|
-
mobile?: "auto" | "100%" | "50%" | "25%";
|
|
10
|
-
tablet?: "auto" | "100%" | "50%" | "25%";
|
|
11
|
-
desktop?: "auto" | "100%" | "50%" | "25%";
|
|
12
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "100%" | "50%" | "25%">;
|
|
13
|
-
height?: ("auto" | "100%" | "50%" | "25%" | {
|
|
14
|
-
mobile?: "auto" | "100%" | "50%" | "25%";
|
|
15
|
-
tablet?: "auto" | "100%" | "50%" | "25%";
|
|
16
|
-
desktop?: "auto" | "100%" | "50%" | "25%";
|
|
17
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "100%" | "50%" | "25%">;
|
|
18
|
-
flexDirection?: ("column" | "row" | {
|
|
19
|
-
mobile?: "column" | "row";
|
|
20
|
-
tablet?: "column" | "row";
|
|
21
|
-
desktop?: "column" | "row";
|
|
22
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "column" | "row">;
|
|
23
|
-
justifyContent?: ("space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | {
|
|
24
|
-
mobile?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start";
|
|
25
|
-
tablet?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start";
|
|
26
|
-
desktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start";
|
|
27
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start">;
|
|
28
|
-
alignItems?: ("stretch" | "center" | "flex-end" | "flex-start" | {
|
|
29
|
-
mobile?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
30
|
-
tablet?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
31
|
-
desktop?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
32
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "stretch" | "center" | "flex-end" | "flex-start">;
|
|
33
|
-
paddingTop?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
34
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
35
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
36
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
37
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
38
|
-
paddingBottom?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
39
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
40
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
41
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
42
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
43
|
-
paddingLeft?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
44
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
45
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
46
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
47
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
48
|
-
paddingRight?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
49
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
50
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
51
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
52
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
53
|
-
marginLeft?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
54
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
55
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
56
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
57
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
58
|
-
marginRight?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
59
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
60
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
61
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
62
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
63
|
-
marginTop?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
64
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
65
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
66
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
67
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
68
|
-
marginBottom?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
69
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
70
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
71
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
72
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
73
|
-
borderLeft?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
74
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
75
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
76
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
77
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
78
|
-
borderRight?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
79
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
80
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
81
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
82
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
83
|
-
borderTop?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
84
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
85
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
86
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
87
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
88
|
-
borderBottom?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
89
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
90
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
91
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
92
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
93
|
-
borderRadius?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
94
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
95
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
96
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
97
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
98
|
-
gap?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
99
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
100
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
101
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
102
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
103
|
-
padding?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
104
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
105
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
106
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
107
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
108
|
-
border?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
109
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
110
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
111
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
112
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
113
|
-
paddingX?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
114
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
115
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
116
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
117
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
118
|
-
paddingY?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
119
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
120
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
121
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
122
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
123
|
-
marginX?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
124
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
125
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
126
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
127
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
128
|
-
marginY?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
129
|
-
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
130
|
-
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
131
|
-
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
132
|
-
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
133
|
-
placeItems?: import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "stretch" | "center" | "flex-end" | "flex-start"> | ("stretch" | "center" | "flex-end" | "flex-start" | {
|
|
134
|
-
mobile?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
135
|
-
tablet?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
136
|
-
desktop?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
137
|
-
});
|
|
138
|
-
} & {
|
|
139
|
-
color?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | {
|
|
140
|
-
lightMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
141
|
-
darkMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
142
|
-
};
|
|
143
|
-
background?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | {
|
|
144
|
-
lightMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
145
|
-
darkMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
146
|
-
};
|
|
147
|
-
} & {
|
|
148
|
-
label?: string;
|
|
149
|
-
indeterminate?: boolean;
|
|
150
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
151
|
-
export default Checkbox;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { forwardRef, useEffect, useRef } from 'react';
|
|
4
|
-
import { checkboxContainer, checkboxInput, checkboxLabel } from './styles.css';
|
|
5
|
-
import Box from '../Box';
|
|
6
|
-
const Checkbox = forwardRef(({ label, className, indeterminate, ...props }, ref) => {
|
|
7
|
-
const inputRef = useRef(null);
|
|
8
|
-
const combinedRef = (node) => {
|
|
9
|
-
if (typeof ref === 'function') {
|
|
10
|
-
ref(node);
|
|
11
|
-
}
|
|
12
|
-
else if (ref) {
|
|
13
|
-
ref.current = node;
|
|
14
|
-
}
|
|
15
|
-
inputRef.current = node;
|
|
16
|
-
};
|
|
17
|
-
useEffect(() => {
|
|
18
|
-
if (inputRef.current) {
|
|
19
|
-
inputRef.current.indeterminate = !!indeterminate;
|
|
20
|
-
}
|
|
21
|
-
}, [indeterminate]);
|
|
22
|
-
return (_jsxs(Box, { as: "label", className: clsx(checkboxContainer, className), display: "flex", alignItems: "center", gap: "small", cursor: "pointer", style: { userSelect: 'none' }, children: [_jsx(Box, { as: "input", type: "checkbox", ref: combinedRef, className: checkboxInput, style: { width: '18px', height: '18px' }, ...props }), label && (_jsx(Box, { as: "span", className: checkboxLabel, children: label }))] }));
|
|
23
|
-
});
|
|
24
|
-
Checkbox.displayName = 'Checkbox';
|
|
25
|
-
export default Checkbox;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Checkbox } from './Checkbox';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Checkbox } from './Checkbox';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { style } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from '../../styles/theme.css';
|
|
3
|
-
import { styleWithLayer } from '../../styles/utils';
|
|
4
|
-
export const checkboxContainer = styleWithLayer({
|
|
5
|
-
display: 'flex',
|
|
6
|
-
alignItems: 'center',
|
|
7
|
-
gap: '8px',
|
|
8
|
-
cursor: 'pointer',
|
|
9
|
-
userSelect: 'none',
|
|
10
|
-
});
|
|
11
|
-
export const checkboxInput = style({
|
|
12
|
-
width: '18px',
|
|
13
|
-
height: '18px',
|
|
14
|
-
border: `2px solid ${vars.colors.borderDefault}`,
|
|
15
|
-
borderRadius: '4px',
|
|
16
|
-
cursor: 'pointer',
|
|
17
|
-
accentColor: vars.colors.buttonBackgroundPrimary,
|
|
18
|
-
':focus-visible': {
|
|
19
|
-
outline: `2px solid ${vars.colors.buttonBackgroundPrimary}`,
|
|
20
|
-
outlineOffset: '2px',
|
|
21
|
-
},
|
|
22
|
-
':disabled': {
|
|
23
|
-
cursor: 'not-allowed',
|
|
24
|
-
opacity: 0.5,
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
export const checkboxLabel = styleWithLayer({
|
|
28
|
-
fontFamily: vars.fontFamily.body,
|
|
29
|
-
fontSize: '14px',
|
|
30
|
-
color: vars.colors.textPrimary,
|
|
31
|
-
});
|