@autoguru/overdrive 4.1.3 → 4.1.4
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/components/Actions/Actions.js +20 -3
- package/dist/components/Actions/index.js +3 -1
- package/dist/components/Alert/Alert.css.js +28 -20
- package/dist/components/Alert/Alert.js +84 -26
- package/dist/components/Alert/index.js +3 -1
- package/dist/components/Anchor/Anchor.css.js +11 -3
- package/dist/components/Anchor/Anchor.js +53 -28
- package/dist/components/Anchor/index.js +3 -1
- package/dist/components/AutoSuggest/AutoSuggest.css.js +84 -76
- package/dist/components/AutoSuggest/AutoSuggest.js +628 -305
- package/dist/components/AutoSuggest/index.js +3 -1
- package/dist/components/AutoSuggest/useLayoutSuggestionVisible.js +29 -31
- package/dist/components/Badge/Badge.css.js +79 -71
- package/dist/components/Badge/Badge.js +43 -28
- package/dist/components/Badge/index.js +3 -1
- package/dist/components/Box/Box.js +122 -53
- package/dist/components/Box/argTypes.js +64 -94
- package/dist/components/Box/index.js +4 -2
- package/dist/components/Box/useBoxStyles.css.js +105 -85
- package/dist/components/Box/useBoxStyles.js +75 -47
- package/dist/components/BulletList/Bullet.css.js +49 -41
- package/dist/components/BulletList/Bullet.js +38 -24
- package/dist/components/BulletList/BulletList.css.js +13 -5
- package/dist/components/BulletList/BulletList.js +23 -10
- package/dist/components/BulletList/context.js +3 -1
- package/dist/components/BulletList/index.js +4 -2
- package/dist/components/BulletText/BulletText.css.js +21 -13
- package/dist/components/BulletText/BulletText.js +56 -15
- package/dist/components/BulletText/index.js +3 -1
- package/dist/components/Button/Button.css.js +151 -143
- package/dist/components/Button/Button.js +112 -72
- package/dist/components/Button/index.js +3 -1
- package/dist/components/CheckBox/CheckBox.css.js +28 -20
- package/dist/components/CheckBox/CheckBox.js +54 -16
- package/dist/components/CheckBox/index.js +3 -1
- package/dist/components/Columns/Column.css.js +36 -26
- package/dist/components/Columns/Column.js +51 -16
- package/dist/components/Columns/Columns.css.js +39 -31
- package/dist/components/Columns/Columns.js +54 -21
- package/dist/components/Columns/index.js +4 -2
- package/dist/components/DateInput/DateInput.js +33 -7
- package/dist/components/DateInput/index.js +3 -1
- package/dist/components/Flyout/Flyout.js +40 -4
- package/dist/components/Flyout/index.js +3 -1
- package/dist/components/Heading/Heading.js +38 -19
- package/dist/components/Heading/index.js +3 -1
- package/dist/components/Icon/Icon.css.js +13 -5
- package/dist/components/Icon/Icon.js +25 -8
- package/dist/components/Icon/index.js +3 -1
- package/dist/components/Image/Image.js +22 -4
- package/dist/components/Image/ImageServerProvider.js +54 -37
- package/dist/components/Image/ResponsiveImage.js +46 -19
- package/dist/components/Image/SimpleImage.js +29 -1
- package/dist/components/Image/index.js +3 -1
- package/dist/components/Image/types.js +3 -1
- package/dist/components/Inline/Inline.js +71 -30
- package/dist/components/Inline/index.js +3 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.js +56 -48
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.js +31 -7
- package/dist/components/LinearProgressIndicator/index.js +3 -1
- package/dist/components/LoadingBox/LoadingBox.css.js +26 -18
- package/dist/components/LoadingBox/LoadingBox.js +38 -6
- package/dist/components/LoadingBox/index.js +3 -1
- package/dist/components/Meta/Meta.css.js +16 -8
- package/dist/components/Meta/Meta.js +27 -7
- package/dist/components/Meta/index.js +3 -1
- package/dist/components/MinimalModal/MinimalModal.css.js +15 -7
- package/dist/components/MinimalModal/MinimalModal.js +62 -27
- package/dist/components/MinimalModal/index.js +3 -1
- package/dist/components/Modal/Modal.css.js +38 -30
- package/dist/components/Modal/Modal.js +128 -72
- package/dist/components/Modal/index.js +3 -1
- package/dist/components/NumberInput/NumberInput.js +60 -29
- package/dist/components/NumberInput/index.js +3 -1
- package/dist/components/OrderedList/OrderedList.css.js +16 -8
- package/dist/components/OrderedList/OrderedList.js +60 -26
- package/dist/components/OrderedList/index.js +3 -1
- package/dist/components/OutsideClick/OutsideClick.js +40 -35
- package/dist/components/OutsideClick/index.js +3 -1
- package/dist/components/OverdriveProvider/OverdriveProvider.js +34 -18
- package/dist/components/OverdriveProvider/index.js +3 -1
- package/dist/components/Pagination/Bubble.js +41 -19
- package/dist/components/Pagination/Pagination.css.js +28 -20
- package/dist/components/Pagination/Pagination.js +164 -69
- package/dist/components/Pagination/index.js +3 -1
- package/dist/components/Portal/Portal.js +36 -22
- package/dist/components/Portal/index.js +3 -1
- package/dist/components/Positioner/Positioner.css.js +14 -6
- package/dist/components/Positioner/Positioner.js +107 -84
- package/dist/components/Positioner/alignment.js +13 -10
- package/dist/components/Positioner/index.js +4 -2
- package/dist/components/ProgressBar/ProgressBar.css.js +14 -6
- package/dist/components/ProgressBar/ProgressBar.js +29 -11
- package/dist/components/ProgressBar/index.js +3 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +12 -4
- package/dist/components/ProgressBarGroup/ProgressBarGroup.js +42 -14
- package/dist/components/ProgressBarGroup/index.js +3 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.css.js +81 -73
- package/dist/components/ProgressSpinner/ProgressSpinner.js +31 -13
- package/dist/components/ProgressSpinner/index.js +3 -1
- package/dist/components/Radio/Radio.css.js +31 -23
- package/dist/components/Radio/Radio.js +58 -19
- package/dist/components/Radio/RadioGroup.js +32 -7
- package/dist/components/Radio/index.js +4 -2
- package/dist/components/Section/Section.css.js +13 -5
- package/dist/components/Section/Section.js +18 -3
- package/dist/components/Section/index.js +3 -1
- package/dist/components/SelectInput/SelectInput.css.js +19 -11
- package/dist/components/SelectInput/SelectInput.js +59 -11
- package/dist/components/SelectInput/index.js +3 -1
- package/dist/components/SimplePagination/SimplePagination.js +55 -17
- package/dist/components/SimplePagination/index.js +3 -1
- package/dist/components/Stack/Divider.css.js +12 -4
- package/dist/components/Stack/Divider.js +13 -4
- package/dist/components/Stack/Stack.css.js +18 -10
- package/dist/components/Stack/Stack.js +43 -23
- package/dist/components/Stack/index.js +3 -1
- package/dist/components/StandardModal/StandardModal.css.js +69 -57
- package/dist/components/StandardModal/StandardModal.js +123 -50
- package/dist/components/StandardModal/index.js +3 -1
- package/dist/components/StarRating/StarRating.css.js +16 -8
- package/dist/components/StarRating/StarRating.js +89 -46
- package/dist/components/StarRating/index.js +3 -1
- package/dist/components/Stepper/Stepper.css.js +39 -29
- package/dist/components/Stepper/Stepper.js +176 -95
- package/dist/components/Stepper/index.js +3 -1
- package/dist/components/Switch/Switch.css.js +49 -41
- package/dist/components/Switch/Switch.js +62 -27
- package/dist/components/Switch/index.js +3 -1
- package/dist/components/Table/Table.css.js +14 -6
- package/dist/components/Table/Table.js +28 -5
- package/dist/components/Table/TableCell.css.js +28 -20
- package/dist/components/Table/TableCell.js +41 -11
- package/dist/components/Table/TableHeadCell.css.js +61 -50
- package/dist/components/Table/TableHeadCell.js +86 -40
- package/dist/components/Table/TableRow.js +17 -2
- package/dist/components/Table/TableRowGroup.js +15 -2
- package/dist/components/Table/context.js +21 -10
- package/dist/components/Table/index.js +7 -5
- package/dist/components/Tabs/Tab.css.js +43 -35
- package/dist/components/Tabs/Tab.js +80 -50
- package/dist/components/Tabs/TabList.css.js +30 -22
- package/dist/components/Tabs/TabList.js +119 -68
- package/dist/components/Tabs/TabPane.css.js +11 -3
- package/dist/components/Tabs/TabPane.js +32 -15
- package/dist/components/Tabs/TabPanes.css.js +16 -8
- package/dist/components/Tabs/TabPanes.js +22 -5
- package/dist/components/Tabs/Tabs.js +22 -10
- package/dist/components/Tabs/index.js +7 -5
- package/dist/components/Text/Text.js +34 -13
- package/dist/components/Text/index.js +4 -2
- package/dist/components/Text/useTextStyles.css.js +39 -19
- package/dist/components/Text/useTextStyles.js +19 -5
- package/dist/components/TextAreaInput/TextAreaInput.js +34 -7
- package/dist/components/TextAreaInput/index.js +3 -1
- package/dist/components/TextContainer/TextContainer.js +42 -8
- package/dist/components/TextContainer/index.js +3 -1
- package/dist/components/TextInput/TextInput.js +35 -5
- package/dist/components/TextInput/index.js +3 -1
- package/dist/components/TextLink/TextLink.css.js +23 -15
- package/dist/components/TextLink/TextLink.js +63 -25
- package/dist/components/TextLink/index.js +3 -1
- package/dist/components/ThemeProvider/ThemeProvider.js +30 -12
- package/dist/components/ThemeProvider/index.js +3 -1
- package/dist/components/Toaster/Toast.css.js +17 -9
- package/dist/components/Toaster/Toast.js +217 -105
- package/dist/components/Toaster/index.js +3 -1
- package/dist/components/Tooltip/Tooltip.css.js +21 -9
- package/dist/components/Tooltip/Tooltip.js +61 -32
- package/dist/components/Tooltip/index.js +3 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.css.js +13 -5
- package/dist/components/VisuallyHidden/VisuallyHidden.js +19 -3
- package/dist/components/VisuallyHidden/index.js +3 -1
- package/dist/components/index.js +53 -51
- package/dist/components/private/CheckableBase/CheckableBase.css.js +46 -38
- package/dist/components/private/CheckableBase/CheckableBase.js +89 -27
- package/dist/components/private/CheckableBase/index.js +3 -1
- package/dist/components/private/CheckableBase/useCheckableStyles.js +5 -3
- package/dist/components/private/InputBase/HintText.css.js +11 -3
- package/dist/components/private/InputBase/HintText.js +28 -14
- package/dist/components/private/InputBase/InputState.css.js +96 -80
- package/dist/components/private/InputBase/NotchedBase.css.js +78 -83
- package/dist/components/private/InputBase/NotchedBase.js +79 -34
- package/dist/components/private/InputBase/index.js +3 -1
- package/dist/components/private/InputBase/withEnhancedInput.css.js +56 -44
- package/dist/components/private/InputBase/withEnhancedInput.js +176 -89
- package/dist/hooks/useAttachedBoxes/index.js +3 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.js +26 -18
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.js +71 -46
- package/dist/hooks/useMedia/index.js +3 -1
- package/dist/hooks/useMedia/useMedia.js +37 -31
- package/dist/hooks/useNegativeMargin/useNegativeMargin.js +4 -2
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.js +13 -5
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.js +5 -3
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.js +12 -4
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.js +5 -3
- package/dist/hooks/useResponsiveValue/index.js +3 -1
- package/dist/hooks/useResponsiveValue/useResponsiveValue.js +14 -14
- package/dist/index.js +7 -5
- package/dist/reset/globalFonts.css.js +20 -12
- package/dist/reset/globalReset.css.js +21 -13
- package/dist/reset/reset.css.js +105 -109
- package/dist/themes/base/index.js +9 -7
- package/dist/themes/base/tokens.js +256 -249
- package/dist/themes/base/vars.css.js +10 -2
- package/dist/themes/flat_red/index.js +10 -8
- package/dist/themes/flat_red/tokens.js +171 -167
- package/dist/themes/flat_red/vars.css.js +10 -2
- package/dist/themes/helpers.js +9 -10
- package/dist/themes/index.js +4 -2
- package/dist/themes/makeTheme.js +29 -18
- package/dist/themes/tokens.js +3 -1
- package/dist/utils/index.js +93 -77
- package/dist/utils/mapTokenToProperty.js +22 -10
- package/dist/utils/resolveResponsiveProps.js +29 -31
- package/dist/utils/responsiveProps.css.js +29 -17
- package/dist/utils/responsiveStyle.js +26 -16
- package/package.json +1 -1
- package/CHANGELOG.md +0 -1273
- package/dist/components/Actions/Actions.d.ts +0 -7
- package/dist/components/Actions/Actions.d.ts.map +0 -1
- package/dist/components/Actions/index.d.ts +0 -2
- package/dist/components/Actions/index.d.ts.map +0 -1
- package/dist/components/Alert/Alert.css.d.ts +0 -4
- package/dist/components/Alert/Alert.css.d.ts.map +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -15
- package/dist/components/Alert/Alert.d.ts.map +0 -1
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/index.d.ts.map +0 -1
- package/dist/components/Anchor/Anchor.css.d.ts +0 -2
- package/dist/components/Anchor/Anchor.css.d.ts.map +0 -1
- package/dist/components/Anchor/Anchor.d.ts +0 -14
- package/dist/components/Anchor/Anchor.d.ts.map +0 -1
- package/dist/components/Anchor/index.d.ts +0 -2
- package/dist/components/Anchor/index.d.ts.map +0 -1
- package/dist/components/AutoSuggest/AutoSuggest.css.d.ts +0 -15
- package/dist/components/AutoSuggest/AutoSuggest.css.d.ts.map +0 -1
- package/dist/components/AutoSuggest/AutoSuggest.d.ts +0 -30
- package/dist/components/AutoSuggest/AutoSuggest.d.ts.map +0 -1
- package/dist/components/AutoSuggest/index.d.ts +0 -3
- package/dist/components/AutoSuggest/index.d.ts.map +0 -1
- package/dist/components/AutoSuggest/useLayoutSuggestionVisible.d.ts +0 -3
- package/dist/components/AutoSuggest/useLayoutSuggestionVisible.d.ts.map +0 -1
- package/dist/components/Badge/Badge.css.d.ts +0 -13
- package/dist/components/Badge/Badge.css.d.ts.map +0 -1
- package/dist/components/Badge/Badge.d.ts +0 -11
- package/dist/components/Badge/Badge.d.ts.map +0 -1
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Badge/index.d.ts.map +0 -1
- package/dist/components/Box/Box.d.ts +0 -7
- package/dist/components/Box/Box.d.ts.map +0 -1
- package/dist/components/Box/argTypes.d.ts +0 -7
- package/dist/components/Box/argTypes.d.ts.map +0 -1
- package/dist/components/Box/index.d.ts +0 -4
- package/dist/components/Box/index.d.ts.map +0 -1
- package/dist/components/Box/useBoxStyles.css.d.ts +0 -46
- package/dist/components/Box/useBoxStyles.css.d.ts.map +0 -1
- package/dist/components/Box/useBoxStyles.d.ts +0 -66
- package/dist/components/Box/useBoxStyles.d.ts.map +0 -1
- package/dist/components/BulletList/Bullet.css.d.ts +0 -3
- package/dist/components/BulletList/Bullet.css.d.ts.map +0 -1
- package/dist/components/BulletList/Bullet.d.ts +0 -7
- package/dist/components/BulletList/Bullet.d.ts.map +0 -1
- package/dist/components/BulletList/BulletList.css.d.ts +0 -3
- package/dist/components/BulletList/BulletList.css.d.ts.map +0 -1
- package/dist/components/BulletList/BulletList.d.ts +0 -6
- package/dist/components/BulletList/BulletList.d.ts.map +0 -1
- package/dist/components/BulletList/context.d.ts +0 -5
- package/dist/components/BulletList/context.d.ts.map +0 -1
- package/dist/components/BulletList/index.d.ts +0 -3
- package/dist/components/BulletList/index.d.ts.map +0 -1
- package/dist/components/BulletText/BulletText.css.d.ts +0 -6
- package/dist/components/BulletText/BulletText.css.d.ts.map +0 -1
- package/dist/components/BulletText/BulletText.d.ts +0 -8
- package/dist/components/BulletText/BulletText.d.ts.map +0 -1
- package/dist/components/BulletText/index.d.ts +0 -2
- package/dist/components/BulletText/index.d.ts.map +0 -1
- package/dist/components/Button/Button.css.d.ts +0 -30
- package/dist/components/Button/Button.css.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts +0 -20
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.d.ts.map +0 -1
- package/dist/components/CheckBox/CheckBox.css.d.ts +0 -3
- package/dist/components/CheckBox/CheckBox.css.d.ts.map +0 -1
- package/dist/components/CheckBox/CheckBox.d.ts +0 -14
- package/dist/components/CheckBox/CheckBox.d.ts.map +0 -1
- package/dist/components/CheckBox/index.d.ts +0 -2
- package/dist/components/CheckBox/index.d.ts.map +0 -1
- package/dist/components/Columns/Column.css.d.ts +0 -3
- package/dist/components/Columns/Column.css.d.ts.map +0 -1
- package/dist/components/Columns/Column.d.ts +0 -15
- package/dist/components/Columns/Column.d.ts.map +0 -1
- package/dist/components/Columns/Columns.css.d.ts +0 -7
- package/dist/components/Columns/Columns.css.d.ts.map +0 -1
- package/dist/components/Columns/Columns.d.ts +0 -25
- package/dist/components/Columns/Columns.d.ts.map +0 -1
- package/dist/components/Columns/index.d.ts +0 -3
- package/dist/components/Columns/index.d.ts.map +0 -1
- package/dist/components/DateInput/DateInput.d.ts +0 -3
- package/dist/components/DateInput/DateInput.d.ts.map +0 -1
- package/dist/components/DateInput/index.d.ts +0 -2
- package/dist/components/DateInput/index.d.ts.map +0 -1
- package/dist/components/Flyout/Flyout.d.ts +0 -4
- package/dist/components/Flyout/Flyout.d.ts.map +0 -1
- package/dist/components/Flyout/index.d.ts +0 -2
- package/dist/components/Flyout/index.d.ts.map +0 -1
- package/dist/components/Heading/Heading.d.ts +0 -11
- package/dist/components/Heading/Heading.d.ts.map +0 -1
- package/dist/components/Heading/index.d.ts +0 -2
- package/dist/components/Heading/index.d.ts.map +0 -1
- package/dist/components/Icon/Icon.css.d.ts +0 -2
- package/dist/components/Icon/Icon.css.d.ts.map +0 -1
- package/dist/components/Icon/Icon.d.ts +0 -13
- package/dist/components/Icon/Icon.d.ts.map +0 -1
- package/dist/components/Icon/index.d.ts +0 -2
- package/dist/components/Icon/index.d.ts.map +0 -1
- package/dist/components/Image/Image.d.ts +0 -8
- package/dist/components/Image/Image.d.ts.map +0 -1
- package/dist/components/Image/ImageServerProvider.d.ts +0 -18
- package/dist/components/Image/ImageServerProvider.d.ts.map +0 -1
- package/dist/components/Image/ResponsiveImage.d.ts +0 -11
- package/dist/components/Image/ResponsiveImage.d.ts.map +0 -1
- package/dist/components/Image/SimpleImage.d.ts +0 -12
- package/dist/components/Image/SimpleImage.d.ts.map +0 -1
- package/dist/components/Image/index.d.ts +0 -2
- package/dist/components/Image/index.d.ts.map +0 -1
- package/dist/components/Image/types.d.ts +0 -2
- package/dist/components/Image/types.d.ts.map +0 -1
- package/dist/components/Inline/Inline.d.ts +0 -13
- package/dist/components/Inline/Inline.d.ts.map +0 -1
- package/dist/components/Inline/index.d.ts +0 -2
- package/dist/components/Inline/index.d.ts.map +0 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.d.ts +0 -4
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.d.ts.map +0 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.d.ts +0 -6
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.d.ts.map +0 -1
- package/dist/components/LinearProgressIndicator/index.d.ts +0 -2
- package/dist/components/LinearProgressIndicator/index.d.ts.map +0 -1
- package/dist/components/LoadingBox/LoadingBox.css.d.ts +0 -3
- package/dist/components/LoadingBox/LoadingBox.css.d.ts.map +0 -1
- package/dist/components/LoadingBox/LoadingBox.d.ts +0 -9
- package/dist/components/LoadingBox/LoadingBox.d.ts.map +0 -1
- package/dist/components/LoadingBox/index.d.ts +0 -2
- package/dist/components/LoadingBox/index.d.ts.map +0 -1
- package/dist/components/Meta/Meta.css.d.ts +0 -2
- package/dist/components/Meta/Meta.css.d.ts.map +0 -1
- package/dist/components/Meta/Meta.d.ts +0 -10
- package/dist/components/Meta/Meta.d.ts.map +0 -1
- package/dist/components/Meta/index.d.ts +0 -2
- package/dist/components/Meta/index.d.ts.map +0 -1
- package/dist/components/MinimalModal/MinimalModal.css.d.ts +0 -3
- package/dist/components/MinimalModal/MinimalModal.css.d.ts.map +0 -1
- package/dist/components/MinimalModal/MinimalModal.d.ts +0 -7
- package/dist/components/MinimalModal/MinimalModal.d.ts.map +0 -1
- package/dist/components/MinimalModal/index.d.ts +0 -2
- package/dist/components/MinimalModal/index.d.ts.map +0 -1
- package/dist/components/Modal/Modal.css.d.ts +0 -5
- package/dist/components/Modal/Modal.css.d.ts.map +0 -1
- package/dist/components/Modal/Modal.d.ts +0 -9
- package/dist/components/Modal/Modal.d.ts.map +0 -1
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/Modal/index.d.ts.map +0 -1
- package/dist/components/NumberInput/NumberInput.d.ts +0 -7
- package/dist/components/NumberInput/NumberInput.d.ts.map +0 -1
- package/dist/components/NumberInput/index.d.ts +0 -2
- package/dist/components/NumberInput/index.d.ts.map +0 -1
- package/dist/components/OrderedList/OrderedList.css.d.ts +0 -2
- package/dist/components/OrderedList/OrderedList.css.d.ts.map +0 -1
- package/dist/components/OrderedList/OrderedList.d.ts +0 -14
- package/dist/components/OrderedList/OrderedList.d.ts.map +0 -1
- package/dist/components/OrderedList/index.d.ts +0 -2
- package/dist/components/OrderedList/index.d.ts.map +0 -1
- package/dist/components/OutsideClick/OutsideClick.d.ts +0 -8
- package/dist/components/OutsideClick/OutsideClick.d.ts.map +0 -1
- package/dist/components/OutsideClick/index.d.ts +0 -2
- package/dist/components/OutsideClick/index.d.ts.map +0 -1
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts +0 -7
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts.map +0 -1
- package/dist/components/OverdriveProvider/index.d.ts +0 -2
- package/dist/components/OverdriveProvider/index.d.ts.map +0 -1
- package/dist/components/Pagination/Bubble.d.ts +0 -10
- package/dist/components/Pagination/Bubble.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.css.d.ts +0 -4
- package/dist/components/Pagination/Pagination.css.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.d.ts +0 -16
- package/dist/components/Pagination/Pagination.d.ts.map +0 -1
- package/dist/components/Pagination/index.d.ts +0 -2
- package/dist/components/Pagination/index.d.ts.map +0 -1
- package/dist/components/Portal/Portal.d.ts +0 -10
- package/dist/components/Portal/Portal.d.ts.map +0 -1
- package/dist/components/Portal/index.d.ts +0 -2
- package/dist/components/Portal/index.d.ts.map +0 -1
- package/dist/components/Positioner/Positioner.css.d.ts +0 -2
- package/dist/components/Positioner/Positioner.css.d.ts.map +0 -1
- package/dist/components/Positioner/Positioner.d.ts +0 -12
- package/dist/components/Positioner/Positioner.d.ts.map +0 -1
- package/dist/components/Positioner/alignment.d.ts +0 -11
- package/dist/components/Positioner/alignment.d.ts.map +0 -1
- package/dist/components/Positioner/index.d.ts +0 -3
- package/dist/components/Positioner/index.d.ts.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.css.d.ts +0 -3
- package/dist/components/ProgressBar/ProgressBar.css.d.ts.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -9
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/dist/components/ProgressBar/index.d.ts +0 -2
- package/dist/components/ProgressBar/index.d.ts.map +0 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts +0 -2
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts.map +0 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.d.ts +0 -10
- package/dist/components/ProgressBarGroup/ProgressBarGroup.d.ts.map +0 -1
- package/dist/components/ProgressBarGroup/index.d.ts +0 -2
- package/dist/components/ProgressBarGroup/index.d.ts.map +0 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +0 -9
- package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts.map +0 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.d.ts +0 -9
- package/dist/components/ProgressSpinner/ProgressSpinner.d.ts.map +0 -1
- package/dist/components/ProgressSpinner/index.d.ts +0 -2
- package/dist/components/ProgressSpinner/index.d.ts.map +0 -1
- package/dist/components/Radio/Radio.css.d.ts +0 -2
- package/dist/components/Radio/Radio.css.d.ts.map +0 -1
- package/dist/components/Radio/Radio.d.ts +0 -10
- package/dist/components/Radio/Radio.d.ts.map +0 -1
- package/dist/components/Radio/RadioGroup.d.ts +0 -19
- package/dist/components/Radio/RadioGroup.d.ts.map +0 -1
- package/dist/components/Radio/index.d.ts +0 -3
- package/dist/components/Radio/index.d.ts.map +0 -1
- package/dist/components/Section/Section.css.d.ts +0 -3
- package/dist/components/Section/Section.css.d.ts.map +0 -1
- package/dist/components/Section/Section.d.ts +0 -8
- package/dist/components/Section/Section.d.ts.map +0 -1
- package/dist/components/Section/index.d.ts +0 -2
- package/dist/components/Section/index.d.ts.map +0 -1
- package/dist/components/SelectInput/SelectInput.css.d.ts +0 -4
- package/dist/components/SelectInput/SelectInput.css.d.ts.map +0 -1
- package/dist/components/SelectInput/SelectInput.d.ts +0 -6
- package/dist/components/SelectInput/SelectInput.d.ts.map +0 -1
- package/dist/components/SelectInput/index.d.ts +0 -2
- package/dist/components/SelectInput/index.d.ts.map +0 -1
- package/dist/components/SimplePagination/SimplePagination.d.ts +0 -14
- package/dist/components/SimplePagination/SimplePagination.d.ts.map +0 -1
- package/dist/components/SimplePagination/index.d.ts +0 -2
- package/dist/components/SimplePagination/index.d.ts.map +0 -1
- package/dist/components/Stack/Divider.css.d.ts +0 -2
- package/dist/components/Stack/Divider.css.d.ts.map +0 -1
- package/dist/components/Stack/Divider.d.ts +0 -3
- package/dist/components/Stack/Divider.d.ts.map +0 -1
- package/dist/components/Stack/Stack.css.d.ts +0 -5
- package/dist/components/Stack/Stack.css.d.ts.map +0 -1
- package/dist/components/Stack/Stack.d.ts +0 -11
- package/dist/components/Stack/Stack.d.ts.map +0 -1
- package/dist/components/Stack/index.d.ts +0 -2
- package/dist/components/Stack/index.d.ts.map +0 -1
- package/dist/components/StandardModal/StandardModal.css.d.ts +0 -8
- package/dist/components/StandardModal/StandardModal.css.d.ts.map +0 -1
- package/dist/components/StandardModal/StandardModal.d.ts +0 -16
- package/dist/components/StandardModal/StandardModal.d.ts.map +0 -1
- package/dist/components/StandardModal/index.d.ts +0 -2
- package/dist/components/StandardModal/index.d.ts.map +0 -1
- package/dist/components/StarRating/StarRating.css.d.ts +0 -2
- package/dist/components/StarRating/StarRating.css.d.ts.map +0 -1
- package/dist/components/StarRating/StarRating.d.ts +0 -13
- package/dist/components/StarRating/StarRating.d.ts.map +0 -1
- package/dist/components/StarRating/index.d.ts +0 -2
- package/dist/components/StarRating/index.d.ts.map +0 -1
- package/dist/components/Stepper/Stepper.css.d.ts +0 -5
- package/dist/components/Stepper/Stepper.css.d.ts.map +0 -1
- package/dist/components/Stepper/Stepper.d.ts +0 -13
- package/dist/components/Stepper/Stepper.d.ts.map +0 -1
- package/dist/components/Stepper/index.d.ts +0 -2
- package/dist/components/Stepper/index.d.ts.map +0 -1
- package/dist/components/Switch/Switch.css.d.ts +0 -5
- package/dist/components/Switch/Switch.css.d.ts.map +0 -1
- package/dist/components/Switch/Switch.d.ts +0 -9
- package/dist/components/Switch/Switch.d.ts.map +0 -1
- package/dist/components/Switch/index.d.ts +0 -2
- package/dist/components/Switch/index.d.ts.map +0 -1
- package/dist/components/Table/Table.css.d.ts +0 -2
- package/dist/components/Table/Table.css.d.ts.map +0 -1
- package/dist/components/Table/Table.d.ts +0 -9
- package/dist/components/Table/Table.d.ts.map +0 -1
- package/dist/components/Table/TableCell.css.d.ts +0 -2
- package/dist/components/Table/TableCell.css.d.ts.map +0 -1
- package/dist/components/Table/TableCell.d.ts +0 -12
- package/dist/components/Table/TableCell.d.ts.map +0 -1
- package/dist/components/Table/TableHeadCell.css.d.ts +0 -10
- package/dist/components/Table/TableHeadCell.css.d.ts.map +0 -1
- package/dist/components/Table/TableHeadCell.d.ts +0 -14
- package/dist/components/Table/TableHeadCell.d.ts.map +0 -1
- package/dist/components/Table/TableRow.d.ts +0 -8
- package/dist/components/Table/TableRow.d.ts.map +0 -1
- package/dist/components/Table/TableRowGroup.d.ts +0 -7
- package/dist/components/Table/TableRowGroup.d.ts.map +0 -1
- package/dist/components/Table/context.d.ts +0 -9
- package/dist/components/Table/context.d.ts.map +0 -1
- package/dist/components/Table/index.d.ts +0 -6
- package/dist/components/Table/index.d.ts.map +0 -1
- package/dist/components/Tabs/Tab.css.d.ts +0 -7
- package/dist/components/Tabs/Tab.css.d.ts.map +0 -1
- package/dist/components/Tabs/Tab.d.ts +0 -10
- package/dist/components/Tabs/Tab.d.ts.map +0 -1
- package/dist/components/Tabs/TabList.css.d.ts +0 -3
- package/dist/components/Tabs/TabList.css.d.ts.map +0 -1
- package/dist/components/Tabs/TabList.d.ts +0 -9
- package/dist/components/Tabs/TabList.d.ts.map +0 -1
- package/dist/components/Tabs/TabPane.css.d.ts +0 -2
- package/dist/components/Tabs/TabPane.css.d.ts.map +0 -1
- package/dist/components/Tabs/TabPane.d.ts +0 -5
- package/dist/components/Tabs/TabPane.d.ts.map +0 -1
- package/dist/components/Tabs/TabPanes.css.d.ts +0 -2
- package/dist/components/Tabs/TabPanes.css.d.ts.map +0 -1
- package/dist/components/Tabs/TabPanes.d.ts +0 -13
- package/dist/components/Tabs/TabPanes.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -16
- package/dist/components/Tabs/Tabs.d.ts.map +0 -1
- package/dist/components/Tabs/index.d.ts +0 -6
- package/dist/components/Tabs/index.d.ts.map +0 -1
- package/dist/components/Text/Text.d.ts +0 -11
- package/dist/components/Text/Text.d.ts.map +0 -1
- package/dist/components/Text/index.d.ts +0 -4
- package/dist/components/Text/index.d.ts.map +0 -1
- package/dist/components/Text/useTextStyles.css.d.ts +0 -7
- package/dist/components/Text/useTextStyles.css.d.ts.map +0 -1
- package/dist/components/Text/useTextStyles.d.ts +0 -15
- package/dist/components/Text/useTextStyles.d.ts.map +0 -1
- package/dist/components/TextAreaInput/TextAreaInput.d.ts +0 -3
- package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +0 -1
- package/dist/components/TextAreaInput/index.d.ts +0 -2
- package/dist/components/TextAreaInput/index.d.ts.map +0 -1
- package/dist/components/TextContainer/TextContainer.d.ts +0 -9
- package/dist/components/TextContainer/TextContainer.d.ts.map +0 -1
- package/dist/components/TextContainer/index.d.ts +0 -2
- package/dist/components/TextContainer/index.d.ts.map +0 -1
- package/dist/components/TextInput/TextInput.d.ts +0 -3
- package/dist/components/TextInput/TextInput.d.ts.map +0 -1
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/index.d.ts.map +0 -1
- package/dist/components/TextLink/TextLink.css.d.ts +0 -3
- package/dist/components/TextLink/TextLink.css.d.ts.map +0 -1
- package/dist/components/TextLink/TextLink.d.ts +0 -14
- package/dist/components/TextLink/TextLink.d.ts.map +0 -1
- package/dist/components/TextLink/index.d.ts +0 -2
- package/dist/components/TextLink/index.d.ts.map +0 -1
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +0 -19
- package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +0 -1
- package/dist/components/ThemeProvider/index.d.ts +0 -2
- package/dist/components/ThemeProvider/index.d.ts.map +0 -1
- package/dist/components/Toaster/Toast.css.d.ts +0 -3
- package/dist/components/Toaster/Toast.css.d.ts.map +0 -1
- package/dist/components/Toaster/Toast.d.ts +0 -13
- package/dist/components/Toaster/Toast.d.ts.map +0 -1
- package/dist/components/Toaster/index.d.ts +0 -2
- package/dist/components/Toaster/index.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.css.d.ts +0 -2
- package/dist/components/Tooltip/Tooltip.css.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +0 -9
- package/dist/components/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/components/Tooltip/index.d.ts +0 -2
- package/dist/components/Tooltip/index.d.ts.map +0 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.css.d.ts +0 -2
- package/dist/components/VisuallyHidden/VisuallyHidden.css.d.ts.map +0 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +0 -7
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +0 -1
- package/dist/components/VisuallyHidden/index.d.ts +0 -2
- package/dist/components/VisuallyHidden/index.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -52
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/private/CheckableBase/CheckableBase.css.d.ts +0 -7
- package/dist/components/private/CheckableBase/CheckableBase.css.d.ts.map +0 -1
- package/dist/components/private/CheckableBase/CheckableBase.d.ts +0 -16
- package/dist/components/private/CheckableBase/CheckableBase.d.ts.map +0 -1
- package/dist/components/private/CheckableBase/index.d.ts +0 -2
- package/dist/components/private/CheckableBase/index.d.ts.map +0 -1
- package/dist/components/private/CheckableBase/useCheckableStyles.d.ts +0 -4
- package/dist/components/private/CheckableBase/useCheckableStyles.d.ts.map +0 -1
- package/dist/components/private/InputBase/HintText.css.d.ts +0 -2
- package/dist/components/private/InputBase/HintText.css.d.ts.map +0 -1
- package/dist/components/private/InputBase/HintText.d.ts +0 -9
- package/dist/components/private/InputBase/HintText.d.ts.map +0 -1
- package/dist/components/private/InputBase/InputState.css.d.ts +0 -58
- package/dist/components/private/InputBase/InputState.css.d.ts.map +0 -1
- package/dist/components/private/InputBase/NotchedBase.css.d.ts +0 -14
- package/dist/components/private/InputBase/NotchedBase.css.d.ts.map +0 -1
- package/dist/components/private/InputBase/NotchedBase.d.ts +0 -14
- package/dist/components/private/InputBase/NotchedBase.d.ts.map +0 -1
- package/dist/components/private/InputBase/index.d.ts +0 -2
- package/dist/components/private/InputBase/index.d.ts.map +0 -1
- package/dist/components/private/InputBase/withEnhancedInput.css.d.ts +0 -9
- package/dist/components/private/InputBase/withEnhancedInput.css.d.ts.map +0 -1
- package/dist/components/private/InputBase/withEnhancedInput.d.ts +0 -57
- package/dist/components/private/InputBase/withEnhancedInput.d.ts.map +0 -1
- package/dist/hooks/useAttachedBoxes/index.d.ts +0 -2
- package/dist/hooks/useAttachedBoxes/index.d.ts.map +0 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.d.ts +0 -9
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.d.ts.map +0 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.d.ts +0 -18
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.d.ts.map +0 -1
- package/dist/hooks/useMedia/index.d.ts +0 -2
- package/dist/hooks/useMedia/index.d.ts.map +0 -1
- package/dist/hooks/useMedia/useMedia.d.ts +0 -3
- package/dist/hooks/useMedia/useMedia.d.ts.map +0 -1
- package/dist/hooks/useNegativeMargin/useNegativeMargin.d.ts +0 -3
- package/dist/hooks/useNegativeMargin/useNegativeMargin.d.ts.map +0 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.d.ts +0 -2
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.d.ts.map +0 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts +0 -4
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts.map +0 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.d.ts +0 -2
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.d.ts.map +0 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts +0 -4
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts.map +0 -1
- package/dist/hooks/useResponsiveValue/index.d.ts +0 -2
- package/dist/hooks/useResponsiveValue/index.d.ts.map +0 -1
- package/dist/hooks/useResponsiveValue/useResponsiveValue.d.ts +0 -3
- package/dist/hooks/useResponsiveValue/useResponsiveValue.d.ts.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/reset/globalFonts.css.d.ts +0 -2
- package/dist/reset/globalFonts.css.d.ts.map +0 -1
- package/dist/reset/globalReset.css.d.ts +0 -2
- package/dist/reset/globalReset.css.d.ts.map +0 -1
- package/dist/reset/reset.css.d.ts +0 -49
- package/dist/reset/reset.css.d.ts.map +0 -1
- package/dist/themes/base/index.d.ts +0 -8
- package/dist/themes/base/index.d.ts.map +0 -1
- package/dist/themes/base/tokens.d.ts +0 -3
- package/dist/themes/base/tokens.d.ts.map +0 -1
- package/dist/themes/base/vars.css.d.ts +0 -3
- package/dist/themes/base/vars.css.d.ts.map +0 -1
- package/dist/themes/flat_red/index.d.ts +0 -8
- package/dist/themes/flat_red/index.d.ts.map +0 -1
- package/dist/themes/flat_red/tokens.d.ts +0 -3
- package/dist/themes/flat_red/tokens.d.ts.map +0 -1
- package/dist/themes/flat_red/vars.css.d.ts +0 -2
- package/dist/themes/flat_red/vars.css.d.ts.map +0 -1
- package/dist/themes/helpers.d.ts +0 -2
- package/dist/themes/helpers.d.ts.map +0 -1
- package/dist/themes/index.d.ts +0 -3
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/makeTheme.d.ts +0 -12
- package/dist/themes/makeTheme.d.ts.map +0 -1
- package/dist/themes/tokens.d.ts +0 -95
- package/dist/themes/tokens.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -19
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/mapTokenToProperty.d.ts +0 -6
- package/dist/utils/mapTokenToProperty.d.ts.map +0 -1
- package/dist/utils/resolveResponsiveProps.d.ts +0 -7
- package/dist/utils/resolveResponsiveProps.d.ts.map +0 -1
- package/dist/utils/responsiveProps.css.d.ts +0 -5
- package/dist/utils/responsiveProps.css.d.ts.map +0 -1
- package/dist/utils/responsiveStyle.d.ts +0 -4
- package/dist/utils/responsiveStyle.d.ts.map +0 -1
|
@@ -1,112 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
5
|
+
|
|
6
|
+
__vanilla_filescope__.setFileScope("lib/components/Box/useBoxStyles.css.ts", "@autoguru/overdrive");
|
|
7
|
+
|
|
8
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
9
|
+
|
|
10
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
11
|
+
|
|
1
12
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from
|
|
3
|
-
import { mapTokenToProperty } from
|
|
4
|
-
import { makeResponsiveStyle } from
|
|
13
|
+
import { vars } from "../../themes/base/vars.css.js";
|
|
14
|
+
import { mapTokenToProperty } from "../../utils/mapTokenToProperty.js";
|
|
15
|
+
import { makeResponsiveStyle } from "../../utils/responsiveProps.css.js";
|
|
5
16
|
export const padding = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
17
|
+
top: makeResponsiveStyle(vars.space, 'paddingTop'),
|
|
18
|
+
right: makeResponsiveStyle(vars.space, 'paddingRight'),
|
|
19
|
+
bottom: makeResponsiveStyle(vars.space, 'paddingBottom'),
|
|
20
|
+
left: makeResponsiveStyle(vars.space, 'paddingLeft')
|
|
10
21
|
};
|
|
11
22
|
export const margin = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
23
|
+
top: makeResponsiveStyle(vars.space, 'marginTop'),
|
|
24
|
+
right: makeResponsiveStyle(vars.space, 'marginRight'),
|
|
25
|
+
bottom: makeResponsiveStyle(vars.space, 'marginBottom'),
|
|
26
|
+
left: makeResponsiveStyle(vars.space, 'marginLeft')
|
|
16
27
|
};
|
|
17
28
|
export const boxShadow = makeResponsiveStyle(vars.elevation, 'boxShadow');
|
|
18
29
|
export const border = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
style: style({
|
|
31
|
+
borderStyle: 'solid'
|
|
32
|
+
}, "border_style"),
|
|
33
|
+
colour: {
|
|
34
|
+
top: styleVariants(mapTokenToProperty(vars.border.colours, 'borderTopColor'), "border_colour_top"),
|
|
35
|
+
right: styleVariants(mapTokenToProperty(vars.border.colours, 'borderRightColor'), "border_colour_right"),
|
|
36
|
+
bottom: styleVariants(mapTokenToProperty(vars.border.colours, 'borderBottomColor'), "border_colour_bottom"),
|
|
37
|
+
left: styleVariants(mapTokenToProperty(vars.border.colours, 'borderLeftColor'), "border_colour_left")
|
|
38
|
+
},
|
|
39
|
+
width: {
|
|
40
|
+
top: makeResponsiveStyle(vars.border.width, 'borderTopWidth'),
|
|
41
|
+
right: makeResponsiveStyle(vars.border.width, 'borderRightWidth'),
|
|
42
|
+
bottom: makeResponsiveStyle(vars.border.width, 'borderBottomWidth'),
|
|
43
|
+
left: makeResponsiveStyle(vars.border.width, 'borderLeftWidth')
|
|
44
|
+
}
|
|
34
45
|
};
|
|
35
46
|
export const borderRadius = makeResponsiveStyle(vars.border.radius, 'borderRadius');
|
|
36
|
-
export const backgroundColours = styleVariants(mapTokenToProperty({
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}, 'backgroundColor'));
|
|
47
|
+
export const backgroundColours = styleVariants(mapTokenToProperty(_objectSpread(_objectSpread({}, vars.colours.gamut), {}, {
|
|
48
|
+
transparent: 'transparent'
|
|
49
|
+
}), 'backgroundColor'), "backgroundColours");
|
|
40
50
|
export const width = styleVariants({
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
});
|
|
51
|
+
full: {
|
|
52
|
+
width: '100%'
|
|
53
|
+
}
|
|
54
|
+
}, "width");
|
|
45
55
|
export const height = styleVariants({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
});
|
|
56
|
+
full: {
|
|
57
|
+
height: '100%'
|
|
58
|
+
}
|
|
59
|
+
}, "height");
|
|
50
60
|
export const position = styleVariants(mapTokenToProperty({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}, 'position'));
|
|
61
|
+
absolute: 'absolute',
|
|
62
|
+
fixed: 'fixed',
|
|
63
|
+
relative: 'relative'
|
|
64
|
+
}, 'position'), "position");
|
|
55
65
|
export const textAlign = styleVariants(mapTokenToProperty({
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}, 'textAlign'));
|
|
66
|
+
left: 'left',
|
|
67
|
+
center: 'center',
|
|
68
|
+
right: 'right'
|
|
69
|
+
}, 'textAlign'), "textAlign");
|
|
60
70
|
export const overflow = styleVariants(mapTokenToProperty({
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}, 'overflow'));
|
|
71
|
+
hidden: 'hidden',
|
|
72
|
+
scroll: 'scroll',
|
|
73
|
+
visible: 'visible',
|
|
74
|
+
auto: 'auto'
|
|
75
|
+
}, 'overflow'), "overflow");
|
|
66
76
|
export const display = styleVariants(mapTokenToProperty({
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}, 'display'));
|
|
77
|
+
contents: 'contents',
|
|
78
|
+
block: 'block',
|
|
79
|
+
flex: 'flex',
|
|
80
|
+
inlineFlex: 'inline-flex',
|
|
81
|
+
inline: 'inline',
|
|
82
|
+
inlineBlock: 'inline-block',
|
|
83
|
+
none: 'none'
|
|
84
|
+
}, 'display'), "display");
|
|
75
85
|
export const opacity = styleVariants({
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
86
|
+
0: {
|
|
87
|
+
opacity: 0
|
|
88
|
+
},
|
|
89
|
+
1: {
|
|
90
|
+
opacity: 1
|
|
91
|
+
}
|
|
92
|
+
}, "opacity");
|
|
79
93
|
export const userSelect = styleVariants({
|
|
80
|
-
|
|
81
|
-
|
|
94
|
+
none: {
|
|
95
|
+
userSelect: 'none'
|
|
96
|
+
}
|
|
97
|
+
}, "userSelect");
|
|
82
98
|
export const alignItems = makeResponsiveStyle({
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
99
|
+
flexStart: 'flex-start',
|
|
100
|
+
center: 'center',
|
|
101
|
+
flexEnd: 'flex-end'
|
|
86
102
|
}, 'alignItems');
|
|
87
103
|
export const flexDirection = makeResponsiveStyle({
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
104
|
+
row: 'row',
|
|
105
|
+
rowReverse: 'row-reverse',
|
|
106
|
+
column: 'column',
|
|
107
|
+
columnReverse: 'column-reverse'
|
|
92
108
|
}, 'flexDirection');
|
|
93
109
|
export const flexGrow = styleVariants(mapTokenToProperty({
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}, 'flexGrow'));
|
|
110
|
+
0: 0,
|
|
111
|
+
1: 1
|
|
112
|
+
}, 'flexGrow'), "flexGrow");
|
|
97
113
|
export const flexShrink = styleVariants(mapTokenToProperty({
|
|
98
|
-
|
|
99
|
-
}, 'flexShrink'));
|
|
114
|
+
0: 0
|
|
115
|
+
}, 'flexShrink'), "flexShrink");
|
|
100
116
|
export const flexWrap = styleVariants(mapTokenToProperty({
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}, 'flexWrap'));
|
|
117
|
+
wrap: 'wrap',
|
|
118
|
+
nowrap: 'nowrap'
|
|
119
|
+
}, 'flexWrap'), "flexWrap");
|
|
104
120
|
export const justifyContent = makeResponsiveStyle({
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
121
|
+
flexStart: 'flex-start',
|
|
122
|
+
center: 'center',
|
|
123
|
+
flexEnd: 'flex-end',
|
|
124
|
+
spaceBetween: 'space-between'
|
|
109
125
|
}, 'justifyContent');
|
|
110
126
|
export const pointerEvents = styleVariants({
|
|
111
|
-
|
|
112
|
-
|
|
127
|
+
none: {
|
|
128
|
+
pointerEvents: 'none'
|
|
129
|
+
}
|
|
130
|
+
}, "pointerEvents");
|
|
131
|
+
|
|
132
|
+
__vanilla_filescope__.endFileScope();
|
|
@@ -1,48 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import clsx from 'clsx';
|
|
2
|
-
import * as resetStyles from
|
|
3
|
-
import { resolveResponsiveStyle } from
|
|
4
|
-
import * as styles from
|
|
5
|
-
export const useBoxStyles =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
4
|
+
import * as resetStyles from "../../reset/reset.css.js";
|
|
5
|
+
import { resolveResponsiveStyle } from "../../utils/resolveResponsiveProps.js";
|
|
6
|
+
import * as styles from "./useBoxStyles.css.js";
|
|
7
|
+
export const useBoxStyles = _ref => {
|
|
8
|
+
let {
|
|
9
|
+
is,
|
|
10
|
+
display,
|
|
11
|
+
padding,
|
|
12
|
+
paddingX,
|
|
13
|
+
paddingY,
|
|
14
|
+
paddingTop,
|
|
15
|
+
paddingBottom,
|
|
16
|
+
paddingLeft,
|
|
17
|
+
paddingRight,
|
|
18
|
+
margin,
|
|
19
|
+
marginX,
|
|
20
|
+
marginY,
|
|
21
|
+
marginTop,
|
|
22
|
+
marginBottom,
|
|
23
|
+
marginLeft,
|
|
24
|
+
marginRight,
|
|
25
|
+
boxShadow,
|
|
26
|
+
borderWidth,
|
|
27
|
+
borderWidthX,
|
|
28
|
+
borderWidthY,
|
|
29
|
+
borderWidthTop,
|
|
30
|
+
borderWidthRight,
|
|
31
|
+
borderWidthBottom,
|
|
32
|
+
borderWidthLeft,
|
|
33
|
+
borderColour,
|
|
34
|
+
borderColourX,
|
|
35
|
+
borderColourY,
|
|
36
|
+
borderColourTop,
|
|
37
|
+
borderColourRight,
|
|
38
|
+
borderColourBottom,
|
|
39
|
+
borderColourLeft,
|
|
40
|
+
borderRadius,
|
|
41
|
+
backgroundColour,
|
|
42
|
+
opacity,
|
|
43
|
+
width,
|
|
44
|
+
height,
|
|
45
|
+
position,
|
|
46
|
+
overflow,
|
|
47
|
+
userSelect,
|
|
48
|
+
textAlign,
|
|
49
|
+
pointerEvents,
|
|
50
|
+
alignItems,
|
|
51
|
+
flexDirection,
|
|
52
|
+
flexGrow,
|
|
53
|
+
flexShrink,
|
|
54
|
+
flexWrap,
|
|
55
|
+
justifyContent,
|
|
56
|
+
className
|
|
57
|
+
} = _ref;
|
|
58
|
+
const resolvedPaddingTop = paddingTop || paddingY || padding;
|
|
59
|
+
const resolvedPaddingRight = paddingRight || paddingX || padding;
|
|
60
|
+
const resolvedPaddingBottom = paddingBottom || paddingY || padding;
|
|
61
|
+
const resolvedPaddingLeft = paddingLeft || paddingX || padding;
|
|
62
|
+
const resolvedMarginTop = marginTop || marginY || margin;
|
|
63
|
+
const resolvedMarginRight = marginRight || marginX || margin;
|
|
64
|
+
const resolvedMarginBottom = marginBottom || marginY || margin;
|
|
65
|
+
const resolvedMarginLeft = marginLeft || marginX || margin;
|
|
66
|
+
const resolvedBorderWidthTop = borderWidthTop || borderWidthY || borderWidth;
|
|
67
|
+
const resolvedBorderWidthRight = borderWidthRight || borderWidthX || borderWidth;
|
|
68
|
+
const resolvedBorderWidthBottom = borderWidthBottom || borderWidthY || borderWidth;
|
|
69
|
+
const resolvedBorderWidthLeft = borderWidthLeft || borderWidth || borderWidth;
|
|
70
|
+
const resolvedBorderColourTop = borderColourTop || borderColourY || borderColour;
|
|
71
|
+
const resolvedBorderColourRight = borderColourRight || borderColourX || borderColour;
|
|
72
|
+
const resolvedBorderColourBottom = borderColourBottom || borderColourY || borderColour;
|
|
73
|
+
const resolvedBorderColourLeft = borderColourLeft || borderColour || borderColour;
|
|
74
|
+
const hasBorder = resolvedBorderWidthTop || resolvedBorderWidthRight || resolvedBorderWidthBottom || resolvedBorderWidthLeft;
|
|
75
|
+
return clsx(typeof is === 'string' ? [resetStyles.element[is]] : [resetStyles.element.div], resolveResponsiveStyle(resolvedPaddingTop, styles.padding.top), resolveResponsiveStyle(resolvedPaddingRight, styles.padding.right), resolveResponsiveStyle(resolvedPaddingBottom, styles.padding.bottom), resolveResponsiveStyle(resolvedPaddingLeft, styles.padding.left), resolveResponsiveStyle(resolvedMarginTop, styles.margin.top), resolveResponsiveStyle(resolvedMarginRight, styles.margin.right), resolveResponsiveStyle(resolvedMarginBottom, styles.margin.bottom), resolveResponsiveStyle(resolvedMarginLeft, styles.margin.left), styles.display[display], styles.width[width], styles.height[height], styles.position[position], styles.overflow[overflow], styles.userSelect[userSelect], styles.textAlign[textAlign], styles.pointerEvents[pointerEvents], hasBorder && styles.border.style, hasBorder && resolvedBorderColourTop && styles.border.colour.top[resolvedBorderColourTop], hasBorder && resolvedBorderColourRight && styles.border.colour.right[resolvedBorderColourRight], hasBorder && resolvedBorderColourBottom && styles.border.colour.bottom[resolvedBorderColourBottom], hasBorder && resolvedBorderColourLeft && styles.border.colour.left[resolvedBorderColourLeft], hasBorder && resolvedBorderWidthTop && resolveResponsiveStyle(resolvedBorderWidthTop, styles.border.width.top), hasBorder && resolvedBorderWidthRight && resolveResponsiveStyle(resolvedBorderWidthRight, styles.border.width.right), hasBorder && resolvedBorderWidthBottom && resolveResponsiveStyle(resolvedBorderWidthBottom, styles.border.width.bottom), hasBorder && resolvedBorderWidthLeft && resolveResponsiveStyle(resolvedBorderWidthLeft, styles.border.width.left), resolveResponsiveStyle(boxShadow, styles.boxShadow), borderRadius && resolveResponsiveStyle(borderRadius, styles.borderRadius), styles.backgroundColours[backgroundColour], styles.opacity[opacity], alignItems && resolveResponsiveStyle(alignItems, styles.alignItems), flexDirection && resolveResponsiveStyle(flexDirection, styles.flexDirection), styles.flexGrow[flexGrow], styles.flexShrink[flexShrink], styles.flexWrap[flexWrap], justifyContent && resolveResponsiveStyle(justifyContent, styles.justifyContent), className);
|
|
76
|
+
};
|
|
@@ -1,45 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
+
|
|
5
|
+
__vanilla_filescope__.setFileScope("lib/components/BulletList/Bullet.css.ts", "@autoguru/overdrive");
|
|
6
|
+
|
|
1
7
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from
|
|
8
|
+
import { vars } from "../../themes/base/vars.css.js";
|
|
3
9
|
export const root = styleVariants({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
':before': {
|
|
13
|
-
display: 'block',
|
|
14
|
-
alignSelf: 'flex-start',
|
|
15
|
-
width: vars.space['2'],
|
|
16
|
-
height: vars.space['2'],
|
|
17
|
-
marginTop: `calc((1.6em - ${vars.space['2']}) / 2)`,
|
|
18
|
-
content: "' '",
|
|
19
|
-
backgroundColor: vars.typography.colour.dark,
|
|
20
|
-
},
|
|
10
|
+
default: {
|
|
11
|
+
display: 'grid',
|
|
12
|
+
gridTemplateColumns: 'min-content 1fr',
|
|
13
|
+
gridGap: vars.space['4'],
|
|
14
|
+
marginBottom: vars.space['2'],
|
|
15
|
+
':last-of-type': {
|
|
16
|
+
marginBottom: 0
|
|
21
17
|
},
|
|
22
|
-
circle: {
|
|
23
|
-
':before': {
|
|
24
|
-
borderRadius: '50%',
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
disc: {
|
|
28
|
-
':before': {
|
|
29
|
-
border: `2px solid ${vars.typography.colour.dark}`,
|
|
30
|
-
borderRadius: '50%',
|
|
31
|
-
backgroundColor: 'transparent',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
square: {
|
|
35
|
-
':before': {
|
|
36
|
-
border: `2px solid ${vars.typography.colour.dark}`,
|
|
37
|
-
backgroundColor: 'transparent',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
});
|
|
41
|
-
export const noDot = style({
|
|
42
18
|
':before': {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
19
|
+
display: 'block',
|
|
20
|
+
alignSelf: 'flex-start',
|
|
21
|
+
width: vars.space['2'],
|
|
22
|
+
height: vars.space['2'],
|
|
23
|
+
marginTop: "calc((1.6em - ".concat(vars.space['2'], ") / 2)"),
|
|
24
|
+
content: "' '",
|
|
25
|
+
backgroundColor: vars.typography.colour.dark
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
circle: {
|
|
29
|
+
':before': {
|
|
30
|
+
borderRadius: '50%'
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
disc: {
|
|
34
|
+
':before': {
|
|
35
|
+
border: "2px solid ".concat(vars.typography.colour.dark),
|
|
36
|
+
borderRadius: '50%',
|
|
37
|
+
backgroundColor: 'transparent'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
square: {
|
|
41
|
+
':before': {
|
|
42
|
+
border: "2px solid ".concat(vars.typography.colour.dark),
|
|
43
|
+
backgroundColor: 'transparent'
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}, "root");
|
|
47
|
+
export const noDot = style({
|
|
48
|
+
':before': {
|
|
49
|
+
visibility: 'hidden'
|
|
50
|
+
}
|
|
51
|
+
}, "noDot");
|
|
52
|
+
|
|
53
|
+
__vanilla_filescope__.endFileScope();
|
|
@@ -1,27 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import * as React from 'react';
|
|
2
|
-
import { isValidElement, useContext
|
|
3
|
-
import { Box } from
|
|
4
|
-
import * as styles from
|
|
5
|
-
import { BulletList } from
|
|
6
|
-
import { BulletListContext, bulletMap } from
|
|
4
|
+
import { isValidElement, useContext } from 'react';
|
|
5
|
+
import { Box } from "../Box/index.js";
|
|
6
|
+
import * as styles from "./Bullet.css.js";
|
|
7
|
+
import { BulletList } from "./BulletList.js";
|
|
8
|
+
import { BulletListContext, bulletMap } from "./context.js";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
|
|
7
11
|
const getBulletCls = (styles, type) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
switch (type) {
|
|
13
|
+
case 'circle':
|
|
14
|
+
return styles.root.circle;
|
|
15
|
+
|
|
16
|
+
case 'square':
|
|
17
|
+
return styles.root.square;
|
|
18
|
+
|
|
19
|
+
case 'disc':
|
|
20
|
+
return styles.root.disc;
|
|
21
|
+
|
|
22
|
+
default:
|
|
23
|
+
return '';
|
|
24
|
+
}
|
|
18
25
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
|
|
27
|
+
export const Bullet = _ref => {
|
|
28
|
+
var _getBulletCls;
|
|
29
|
+
|
|
30
|
+
let {
|
|
31
|
+
children,
|
|
32
|
+
className
|
|
33
|
+
} = _ref;
|
|
34
|
+
return _jsx(Box, {
|
|
35
|
+
is: "li",
|
|
36
|
+
className: [styles.root.default, (_getBulletCls = getBulletCls(styles, bulletMap[useContext(BulletListContext)])) !== null && _getBulletCls !== void 0 ? _getBulletCls : '', {
|
|
37
|
+
[styles.noDot]: isValidElement(children) && children.type === BulletList
|
|
38
|
+
}, className],
|
|
39
|
+
children: children
|
|
40
|
+
});
|
|
41
|
+
};
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
+
|
|
5
|
+
__vanilla_filescope__.setFileScope("lib/components/BulletList/BulletList.css.ts", "@autoguru/overdrive");
|
|
6
|
+
|
|
1
7
|
import { style } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from
|
|
8
|
+
import { vars } from "../../themes/base/vars.css.js";
|
|
3
9
|
export const root = style({
|
|
4
|
-
|
|
5
|
-
});
|
|
10
|
+
listStyle: 'inside none'
|
|
11
|
+
}, "root");
|
|
6
12
|
export const firstOccurrence = style({
|
|
7
|
-
|
|
8
|
-
});
|
|
13
|
+
paddingLeft: vars.space['6']
|
|
14
|
+
}, "firstOccurrence");
|
|
15
|
+
|
|
16
|
+
__vanilla_filescope__.endFileScope();
|
|
@@ -1,13 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import clsx from 'clsx';
|
|
2
4
|
import * as React from 'react';
|
|
3
5
|
import { useContext } from 'react';
|
|
4
|
-
import { Box } from
|
|
5
|
-
import * as styles from
|
|
6
|
-
import { BulletListContext, bulletMap } from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
import { Box } from "../Box/index.js";
|
|
7
|
+
import * as styles from "./BulletList.css.js";
|
|
8
|
+
import { BulletListContext, bulletMap } from "./context.js";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
export const BulletList = _ref => {
|
|
11
|
+
let {
|
|
12
|
+
children,
|
|
13
|
+
className
|
|
14
|
+
} = _ref;
|
|
15
|
+
const stack = useContext(BulletListContext);
|
|
16
|
+
return _jsx(Box, {
|
|
17
|
+
is: "ul",
|
|
18
|
+
className: clsx(className, styles.root, {
|
|
19
|
+
[styles.firstOccurrence]: stack === -1
|
|
20
|
+
}),
|
|
21
|
+
children: _jsx(BulletListContext.Provider, {
|
|
22
|
+
value: stack + 1 >= bulletMap.length ? 0 : stack + 1,
|
|
23
|
+
children: children
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
@@ -1,19 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
+
|
|
5
|
+
__vanilla_filescope__.setFileScope("lib/components/BulletText/BulletText.css.ts", "@autoguru/overdrive");
|
|
6
|
+
|
|
1
7
|
import { style } from '@vanilla-extract/css';
|
|
2
|
-
import { vars } from
|
|
8
|
+
import { vars } from "../../themes/base/vars.css.js";
|
|
3
9
|
export const bullet = style({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
10
|
+
lineHeight: vars.typography.size['2'].lineHeight,
|
|
11
|
+
width: vars.space['6'],
|
|
12
|
+
height: vars.space['6']
|
|
13
|
+
}, "bullet");
|
|
8
14
|
export const primary = style({
|
|
9
|
-
|
|
10
|
-
});
|
|
15
|
+
backgroundColor: vars.colours.intent.primary.background.mild
|
|
16
|
+
}, "primary");
|
|
11
17
|
export const secondary = style({
|
|
12
|
-
|
|
13
|
-
});
|
|
18
|
+
backgroundColor: vars.colours.background.light
|
|
19
|
+
}, "secondary");
|
|
14
20
|
export const primaryText = style({
|
|
15
|
-
|
|
16
|
-
});
|
|
21
|
+
color: vars.colours.intent.primary.background.standard
|
|
22
|
+
}, "primaryText");
|
|
17
23
|
export const secondaryText = style({
|
|
18
|
-
|
|
19
|
-
});
|
|
24
|
+
color: vars.typography.colour.dark
|
|
25
|
+
}, "secondaryText");
|
|
26
|
+
|
|
27
|
+
__vanilla_filescope__.endFileScope();
|