@autoguru/overdrive 4.11.0 → 4.11.1
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/Box/Box.js +6 -2
- package/dist/components/Box/argTypes.js +8 -0
- package/dist/components/Box/stories.js +2 -1
- package/dist/components/Box/useBoxStyles.css.js +17 -4
- package/dist/components/Box/useBoxStyles.js +3 -1
- package/dist/components/Columns/Column.js +4 -2
- package/dist/components/Columns/stories.js +1 -0
- package/dist/components/Section/stories.js +2 -1
- package/dist/themes/base/tokens.js +1 -1
- package/dist/themes/flat_red/vars.css.js +1 -1
- package/dist/themes/index.js +2 -1
- package/dist/themes/neutral/index.js +11 -0
- package/dist/themes/neutral/tokens.js +283 -0
- package/dist/themes/neutral/vars.css.js +12 -0
- package/package.json +4 -4
- package/dist/components/Actions/Actions.d.ts +0 -8
- 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 -16
- 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 -31
- 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 -12
- 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 -10
- 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 -8
- 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 -10
- 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 -40
- package/dist/components/Button/Button.css.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts +0 -21
- 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 -15
- 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/ColourInput/ColourInput.css.d.ts +0 -6
- package/dist/components/ColourInput/ColourInput.css.d.ts.map +0 -1
- package/dist/components/ColourInput/ColourInput.d.ts +0 -4
- package/dist/components/ColourInput/ColourInput.d.ts.map +0 -1
- package/dist/components/ColourInput/index.d.ts +0 -2
- package/dist/components/ColourInput/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 -16
- 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 -26
- 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 -4
- 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/DatePicker/DatePicker.css.d.ts +0 -4
- package/dist/components/DatePicker/DatePicker.css.d.ts.map +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -13
- package/dist/components/DatePicker/DatePicker.d.ts.map +0 -1
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/index.d.ts.map +0 -1
- package/dist/components/DividerLine/DividerLine.css.d.ts +0 -10
- package/dist/components/DividerLine/DividerLine.css.d.ts.map +0 -1
- package/dist/components/DividerLine/DividerLine.d.ts +0 -13
- package/dist/components/DividerLine/DividerLine.d.ts.map +0 -1
- package/dist/components/DividerLine/index.d.ts +0 -2
- package/dist/components/DividerLine/index.d.ts.map +0 -1
- package/dist/components/Flyout/Flyout.d.ts +0 -5
- 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 -13
- 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 -14
- 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 -19
- package/dist/components/Image/ImageServerProvider.d.ts.map +0 -1
- package/dist/components/Image/ResponsiveImage.d.ts +0 -12
- package/dist/components/Image/ResponsiveImage.d.ts.map +0 -1
- package/dist/components/Image/SimpleImage.d.ts +0 -13
- package/dist/components/Image/SimpleImage.d.ts.map +0 -1
- package/dist/components/Image/index.d.ts +0 -3
- 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 -16
- 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 -7
- 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 -10
- 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 -12
- 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 -11
- 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 -12
- 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/NumberBubble/NumberBubble.css.d.ts +0 -2
- package/dist/components/NumberBubble/NumberBubble.css.d.ts.map +0 -1
- package/dist/components/NumberBubble/NumberBubble.d.ts +0 -11
- package/dist/components/NumberBubble/NumberBubble.d.ts.map +0 -1
- package/dist/components/NumberBubble/index.d.ts +0 -2
- package/dist/components/NumberBubble/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 -16
- 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 -9
- 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 -9
- 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 -13
- 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 -12
- 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 -14
- 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 -11
- 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 -10
- 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 -11
- 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 -10
- 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 -12
- 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 -14
- 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 -6
- package/dist/components/Stepper/Stepper.css.d.ts.map +0 -1
- package/dist/components/Stepper/Stepper.d.ts +0 -15
- 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 -10
- 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 -10
- 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 -13
- 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 -9
- package/dist/components/Table/TableRow.d.ts.map +0 -1
- package/dist/components/Table/TableRowGroup.d.ts +0 -8
- package/dist/components/Table/TableRowGroup.d.ts.map +0 -1
- package/dist/components/Table/context.d.ts +0 -11
- 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 -11
- 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 -12
- 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 -8
- 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 -15
- package/dist/components/Tabs/TabPanes.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -18
- 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 -13
- 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 -8
- package/dist/components/Text/useTextStyles.css.d.ts.map +0 -1
- package/dist/components/Text/useTextStyles.d.ts +0 -17
- package/dist/components/Text/useTextStyles.d.ts.map +0 -1
- package/dist/components/TextAreaInput/TextAreaInput.d.ts +0 -4
- 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/TextBubble/TextBubble.css.d.ts +0 -2
- package/dist/components/TextBubble/TextBubble.css.d.ts.map +0 -1
- package/dist/components/TextBubble/TextBubble.d.ts +0 -11
- package/dist/components/TextBubble/TextBubble.d.ts.map +0 -1
- package/dist/components/TextBubble/index.d.ts +0 -2
- package/dist/components/TextBubble/index.d.ts.map +0 -1
- package/dist/components/TextContainer/TextContainer.d.ts +0 -10
- 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 -4
- 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/ThemeOverrideProvider/ThemeOverrideDebugger.d.ts +0 -3
- package/dist/components/ThemeOverrideProvider/ThemeOverrideDebugger.d.ts.map +0 -1
- package/dist/components/ThemeOverrideProvider/ThemeOverrideProvider.d.ts +0 -22
- package/dist/components/ThemeOverrideProvider/ThemeOverrideProvider.d.ts.map +0 -1
- package/dist/components/ThemeOverrideProvider/index.d.ts +0 -3
- package/dist/components/ThemeOverrideProvider/index.d.ts.map +0 -1
- package/dist/components/ThemeOverrideProvider/useBuildThemeOverrides.d.ts +0 -17
- package/dist/components/ThemeOverrideProvider/useBuildThemeOverrides.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 -22
- 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 -13
- 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 -9
- 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 -58
- 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 -17
- 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 -22
- package/dist/components/private/InputBase/NotchedBase.css.d.ts.map +0 -1
- package/dist/components/private/InputBase/NotchedBase.d.ts +0 -21
- 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 -29
- package/dist/components/private/InputBase/withEnhancedInput.css.d.ts.map +0 -1
- package/dist/components/private/InputBase/withEnhancedInput.d.ts +0 -58
- 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 -4
- 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 -5
- 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 -5
- 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 -4
- package/dist/hooks/useResponsiveValue/useResponsiveValue.d.ts.map +0 -1
- package/dist/hooks/useWindowScrollLock/index.d.ts +0 -2
- package/dist/hooks/useWindowScrollLock/index.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 -267
- 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 -2
- package/dist/themes/base/vars.css.d.ts.map +0 -1
- package/dist/themes/flat_red/index.d.ts +0 -267
- package/dist/themes/flat_red/index.d.ts.map +0 -1
- package/dist/themes/flat_red/tokens.d.ts +0 -2
- 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 -28
- 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 -8
- package/dist/themes/makeTheme.d.ts.map +0 -1
- package/dist/themes/theme.css.d.ts +0 -262
- package/dist/themes/theme.css.d.ts.map +0 -1
- package/dist/themes/tokens.d.ts +0 -96
- 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/number.d.ts +0 -7
- package/dist/utils/number.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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
-
const _excluded = ["is", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginLeft", "marginRight", "display", "width", "height", "position", "overflow", "userSelect", "textAlign", "pointerEvents", "borderColour", "borderColourX", "borderColourY", "borderColourTop", "borderColourRight", "borderColourBottom", "borderColourLeft", "borderWidth", "borderWidthX", "borderWidthY", "borderWidthTop", "borderWidthRight", "borderWidthBottom", "borderWidthLeft", "boxShadow", "borderRadius", "backgroundColour", "opacity", "className", "alignItems", "flexDirection", "flexGrow", "flexShrink", "flexWrap", "justifyContent", "children"];
|
|
5
|
+
const _excluded = ["is", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginLeft", "marginRight", "display", "width", "height", "position", "overflow", "userSelect", "textAlign", "pointerEvents", "borderColour", "borderColourX", "borderColourY", "borderColourTop", "borderColourRight", "borderColourBottom", "borderColourLeft", "borderWidth", "borderWidthX", "borderWidthY", "borderWidthTop", "borderWidthRight", "borderWidthBottom", "borderWidthLeft", "boxShadow", "borderRadius", "backgroundColour", "colour", "opacity", "className", "alignItems", "order", "flexDirection", "flexGrow", "flexShrink", "flexWrap", "justifyContent", "children"];
|
|
6
6
|
|
|
7
7
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
8
|
|
|
@@ -31,7 +31,7 @@ export const Box = forwardRef((_ref, ref) => {
|
|
|
31
31
|
marginLeft,
|
|
32
32
|
marginRight,
|
|
33
33
|
display,
|
|
34
|
-
width
|
|
34
|
+
width,
|
|
35
35
|
height,
|
|
36
36
|
position,
|
|
37
37
|
overflow,
|
|
@@ -55,9 +55,11 @@ export const Box = forwardRef((_ref, ref) => {
|
|
|
55
55
|
boxShadow,
|
|
56
56
|
borderRadius,
|
|
57
57
|
backgroundColour,
|
|
58
|
+
colour,
|
|
58
59
|
opacity,
|
|
59
60
|
className = '',
|
|
60
61
|
alignItems,
|
|
62
|
+
order,
|
|
61
63
|
flexDirection,
|
|
62
64
|
flexGrow,
|
|
63
65
|
flexShrink,
|
|
@@ -70,7 +72,9 @@ export const Box = forwardRef((_ref, ref) => {
|
|
|
70
72
|
const cls = useBoxStyles({
|
|
71
73
|
is: Component,
|
|
72
74
|
alignItems,
|
|
75
|
+
order,
|
|
73
76
|
backgroundColour,
|
|
77
|
+
colour,
|
|
74
78
|
borderColour,
|
|
75
79
|
borderColourBottom,
|
|
76
80
|
borderColourLeft,
|
|
@@ -11,6 +11,7 @@ const scaledProps = ['padding', 'paddingX', 'paddingY', 'paddingTop', 'paddingRi
|
|
|
11
11
|
const boxShadowOptions = ['none', '1', '2', '3', '4', '5'];
|
|
12
12
|
const borderRadiusOptions = ['none', '1', 'min', 'full', 'pill'];
|
|
13
13
|
const widthOptions = ['full', 'none'];
|
|
14
|
+
const oderOptions = [0, 1, 2];
|
|
14
15
|
export const boxArgTypes = _objectSpread({
|
|
15
16
|
boxShadow: {
|
|
16
17
|
options: boxShadowOptions,
|
|
@@ -60,6 +61,13 @@ export const boxArgTypes = _objectSpread({
|
|
|
60
61
|
control: {
|
|
61
62
|
type: 'select'
|
|
62
63
|
}
|
|
64
|
+
},
|
|
65
|
+
order: {
|
|
66
|
+
options: oderOptions,
|
|
67
|
+
defaultValue: null,
|
|
68
|
+
control: {
|
|
69
|
+
type: 'select'
|
|
70
|
+
}
|
|
63
71
|
}
|
|
64
72
|
}, scaledProps.reduce((argTypes, prop) => {
|
|
65
73
|
argTypes[prop] = {
|
|
@@ -39,7 +39,8 @@ const standardProps = {
|
|
|
39
39
|
padding: ['2', '4'],
|
|
40
40
|
marginBottom: ['2', '4', '5', '8'],
|
|
41
41
|
marginX: ['none', '3', '5'],
|
|
42
|
-
backgroundColour: '
|
|
42
|
+
backgroundColour: 'primary',
|
|
43
|
+
colour: 'primary',
|
|
43
44
|
borderRadius: 'pill',
|
|
44
45
|
boxShadow: ['none', '1', '2', '3']
|
|
45
46
|
};
|
|
@@ -31,6 +31,15 @@ const borderColours = _objectSpread(_objectSpread({}, vars.border.colours), Obje
|
|
|
31
31
|
[entry[0]]: entry[1].border
|
|
32
32
|
}), {}));
|
|
33
33
|
|
|
34
|
+
const backgroundColourTokens = _objectSpread(_objectSpread(_objectSpread({}, vars.colours.gamut), Object.entries(vars.colours.intent).reduce((map, entry) => _objectSpread(_objectSpread({}, map), {}, {
|
|
35
|
+
[entry[0]]: entry[1].background.standard
|
|
36
|
+
}), {})), {}, {
|
|
37
|
+
transparent: 'transparent'
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
const foregroundColourTokens = Object.entries(vars.colours.intent).reduce((map, entry) => _objectSpread(_objectSpread({}, map), {}, {
|
|
41
|
+
[entry[0]]: entry[1].foreground
|
|
42
|
+
}), {});
|
|
34
43
|
export const border = {
|
|
35
44
|
style: style({
|
|
36
45
|
borderStyle: 'solid'
|
|
@@ -49,15 +58,14 @@ export const border = {
|
|
|
49
58
|
}
|
|
50
59
|
};
|
|
51
60
|
export const borderRadius = makeResponsiveStyle(vars.border.radius, 'borderRadius');
|
|
52
|
-
export const backgroundColours = styleVariants(mapTokenToProperty(
|
|
53
|
-
|
|
54
|
-
}), 'backgroundColor'), "backgroundColours");
|
|
61
|
+
export const backgroundColours = styleVariants(mapTokenToProperty(backgroundColourTokens, 'backgroundColor'), "backgroundColours");
|
|
62
|
+
export const colours = styleVariants(mapTokenToProperty(foregroundColourTokens, 'color'), "colours");
|
|
55
63
|
export const width = styleVariants({
|
|
56
64
|
full: {
|
|
57
65
|
width: '100%'
|
|
58
66
|
},
|
|
59
67
|
none: {
|
|
60
|
-
width:
|
|
68
|
+
width: 'auto'
|
|
61
69
|
}
|
|
62
70
|
}, "width");
|
|
63
71
|
export const height = styleVariants({
|
|
@@ -103,6 +111,11 @@ export const userSelect = styleVariants({
|
|
|
103
111
|
userSelect: 'none'
|
|
104
112
|
}
|
|
105
113
|
}, "userSelect");
|
|
114
|
+
export const order = makeResponsiveStyle({
|
|
115
|
+
0: '0',
|
|
116
|
+
1: '1',
|
|
117
|
+
2: '2'
|
|
118
|
+
}, 'order');
|
|
106
119
|
export const alignItems = makeResponsiveStyle({
|
|
107
120
|
flexStart: 'flex-start',
|
|
108
121
|
center: 'center',
|
|
@@ -39,6 +39,7 @@ export const useBoxStyles = _ref => {
|
|
|
39
39
|
borderColourLeft,
|
|
40
40
|
borderRadius,
|
|
41
41
|
backgroundColour,
|
|
42
|
+
colour,
|
|
42
43
|
opacity,
|
|
43
44
|
width,
|
|
44
45
|
height,
|
|
@@ -48,6 +49,7 @@ export const useBoxStyles = _ref => {
|
|
|
48
49
|
textAlign,
|
|
49
50
|
pointerEvents,
|
|
50
51
|
alignItems,
|
|
52
|
+
order,
|
|
51
53
|
flexDirection,
|
|
52
54
|
flexGrow,
|
|
53
55
|
flexShrink,
|
|
@@ -72,6 +74,6 @@ export const useBoxStyles = _ref => {
|
|
|
72
74
|
const resolvedBorderColourBottom = borderColourBottom || borderColourY || borderColour;
|
|
73
75
|
const resolvedBorderColourLeft = borderColourLeft || borderColour || borderColour;
|
|
74
76
|
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);
|
|
77
|
+
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.colours[colour], styles.opacity[opacity], alignItems && resolveResponsiveStyle(alignItems, styles.alignItems), order && resolveResponsiveStyle(order, styles.order), flexDirection && resolveResponsiveStyle(flexDirection, styles.flexDirection), styles.flexGrow[flexGrow], styles.flexShrink[flexShrink], styles.flexWrap[flexWrap], justifyContent && resolveResponsiveStyle(justifyContent, styles.justifyContent), className);
|
|
76
78
|
};
|
|
77
79
|
export default useBoxStyles;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
-
const _excluded = ["className", "children", "width", "alignSelf", "is", "noShrink", "grow"];
|
|
5
|
+
const _excluded = ["className", "children", "width", "alignSelf", "is", "noShrink", "grow", "order"];
|
|
6
6
|
|
|
7
7
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
8
|
|
|
@@ -24,7 +24,8 @@ export const Column = forwardRef((_ref, ref) => {
|
|
|
24
24
|
alignSelf,
|
|
25
25
|
is,
|
|
26
26
|
noShrink = false,
|
|
27
|
-
grow = false
|
|
27
|
+
grow = false,
|
|
28
|
+
order
|
|
28
29
|
} = _ref,
|
|
29
30
|
boxProps = _objectWithoutProperties(_ref, _excluded);
|
|
30
31
|
|
|
@@ -37,6 +38,7 @@ export const Column = forwardRef((_ref, ref) => {
|
|
|
37
38
|
} = columnsContext;
|
|
38
39
|
return _jsx(Box, {
|
|
39
40
|
is: isList ? 'li' : 'div',
|
|
41
|
+
order: order,
|
|
40
42
|
flexGrow: grow ? 1 : 0,
|
|
41
43
|
flexShrink: noShrink ? 0 : void 0,
|
|
42
44
|
className: [spaceXCls, spaceYCls, resolveResponsiveStyle(width, styles.width), styles.align[alignSelf]],
|
|
@@ -33,9 +33,10 @@ const boxPropsProps = {
|
|
|
33
33
|
borderColour: 'dark',
|
|
34
34
|
borderWidth: ['none', 'none', '1', '2'],
|
|
35
35
|
padding: ['2', '4'],
|
|
36
|
+
backgroundColour: 'primary',
|
|
37
|
+
colour: 'primary',
|
|
36
38
|
marginBottom: ['2', '4', '5', '8'],
|
|
37
39
|
marginX: ['none', '3', '5'],
|
|
38
|
-
backgroundColour: 'green500',
|
|
39
40
|
borderRadius: 'pill',
|
|
40
41
|
boxShadow: ['none', '1', '2', '3']
|
|
41
42
|
};
|
|
@@ -7,6 +7,6 @@ __vanilla_filescope__.setFileScope("lib/themes/flat_red/vars.css.ts", "@autoguru
|
|
|
7
7
|
import { createTheme } from '@vanilla-extract/css';
|
|
8
8
|
import { themeContractVars } from "../theme.css.js";
|
|
9
9
|
import { tokens } from "./tokens.js";
|
|
10
|
-
export const themeRef = createTheme(themeContractVars, tokens, '
|
|
10
|
+
export const themeRef = createTheme(themeContractVars, tokens, 'OD_flatRed');
|
|
11
11
|
|
|
12
12
|
__vanilla_filescope__.endFileScope();
|
package/dist/themes/index.js
CHANGED
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
+
|
|
5
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
|
+
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
|
+
|
|
9
|
+
import { buildColourGamut } from "../makeTheme.js";
|
|
10
|
+
const colours = {
|
|
11
|
+
gray: {
|
|
12
|
+
'900': '#212338',
|
|
13
|
+
'800': '#34384c',
|
|
14
|
+
'700': '#484c5f',
|
|
15
|
+
'600': '#5c6172',
|
|
16
|
+
'500': '#6c7283',
|
|
17
|
+
'400': '#8f95a1',
|
|
18
|
+
'300': '#d4d9dd',
|
|
19
|
+
'200': '#eef0f2',
|
|
20
|
+
'100': '#fafbfc'
|
|
21
|
+
},
|
|
22
|
+
green: {
|
|
23
|
+
'900': '#078171',
|
|
24
|
+
'800': '#05987a',
|
|
25
|
+
'700': '#03af83',
|
|
26
|
+
'600': '#01c68c',
|
|
27
|
+
'500': '#00dd95',
|
|
28
|
+
'400': '#36e5aa',
|
|
29
|
+
'300': '#71edc2',
|
|
30
|
+
'200': '#e3f8f0',
|
|
31
|
+
'100': '#f2fdf9'
|
|
32
|
+
},
|
|
33
|
+
blue: {
|
|
34
|
+
'900': '#0d47a1',
|
|
35
|
+
'800': '#0d4bb7',
|
|
36
|
+
'700': '#0d50ce',
|
|
37
|
+
'600': '#0d54e5',
|
|
38
|
+
'500': '#0d59fc',
|
|
39
|
+
'400': '#4680fc',
|
|
40
|
+
'300': '#80a7fd',
|
|
41
|
+
'200': '#e1edfe',
|
|
42
|
+
'100': '#f3f8ff'
|
|
43
|
+
},
|
|
44
|
+
yellow: {
|
|
45
|
+
'900': '#f38e29',
|
|
46
|
+
'800': '#f69a1f',
|
|
47
|
+
'700': '#f9a715',
|
|
48
|
+
'600': '#fcb30b',
|
|
49
|
+
'500': '#ffc001',
|
|
50
|
+
'400': '#ffcf3d',
|
|
51
|
+
'300': '#ffde79',
|
|
52
|
+
'200': '#ffedb5',
|
|
53
|
+
'100': '#fffcf2'
|
|
54
|
+
},
|
|
55
|
+
red: {
|
|
56
|
+
'900': '#780502',
|
|
57
|
+
'800': '#96110e',
|
|
58
|
+
'700': '#b51e1a',
|
|
59
|
+
'600': '#d42b26',
|
|
60
|
+
'500': '#e12e28',
|
|
61
|
+
'400': '#e85f5b',
|
|
62
|
+
'300': '#ef918e',
|
|
63
|
+
'200': '#ffd4d4',
|
|
64
|
+
'100': '#fdf4f4'
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
const white = '#fff';
|
|
68
|
+
const secondaryForeground = colours.gray['700'];
|
|
69
|
+
export const tokens = {
|
|
70
|
+
mode: 'light',
|
|
71
|
+
body: {
|
|
72
|
+
backgroundColour: white,
|
|
73
|
+
colour: colours.gray['900']
|
|
74
|
+
},
|
|
75
|
+
contentWidth: {
|
|
76
|
+
small: '592px',
|
|
77
|
+
large: '1344px',
|
|
78
|
+
medium: '940px'
|
|
79
|
+
},
|
|
80
|
+
space: {
|
|
81
|
+
'1': '4px',
|
|
82
|
+
'2': '8px',
|
|
83
|
+
'3': '12px',
|
|
84
|
+
'4': '16px',
|
|
85
|
+
'5': '20px',
|
|
86
|
+
'6': '24px',
|
|
87
|
+
'7': '32px',
|
|
88
|
+
'8': '48px',
|
|
89
|
+
'9': '96px',
|
|
90
|
+
none: '0px'
|
|
91
|
+
},
|
|
92
|
+
colours: {
|
|
93
|
+
gamut: _objectSpread(_objectSpread({}, buildColourGamut(colours)), {}, {
|
|
94
|
+
white
|
|
95
|
+
}),
|
|
96
|
+
foreground: {
|
|
97
|
+
body: colours.gray['900'],
|
|
98
|
+
link: colours.blue['500']
|
|
99
|
+
},
|
|
100
|
+
background: {
|
|
101
|
+
body: white,
|
|
102
|
+
light: colours.gray['200'],
|
|
103
|
+
neutral: colours.gray['400'],
|
|
104
|
+
neutralDark: colours.gray['800']
|
|
105
|
+
},
|
|
106
|
+
intent: {
|
|
107
|
+
primary: {
|
|
108
|
+
background: {
|
|
109
|
+
standard: colours.gray['700'],
|
|
110
|
+
mild: colours.gray['200'],
|
|
111
|
+
strong: colours.gray['900']
|
|
112
|
+
},
|
|
113
|
+
foreground: white,
|
|
114
|
+
border: colours.gray['900']
|
|
115
|
+
},
|
|
116
|
+
secondary: {
|
|
117
|
+
background: {
|
|
118
|
+
standard: white,
|
|
119
|
+
mild: white,
|
|
120
|
+
strong: colours.gray['200']
|
|
121
|
+
},
|
|
122
|
+
foreground: secondaryForeground,
|
|
123
|
+
border: colours.gray['300']
|
|
124
|
+
},
|
|
125
|
+
shine: {
|
|
126
|
+
background: {
|
|
127
|
+
standard: colours.gray['200'],
|
|
128
|
+
mild: colours.gray['100'],
|
|
129
|
+
strong: colours.gray['300']
|
|
130
|
+
},
|
|
131
|
+
foreground: colours.yellow['500'],
|
|
132
|
+
border: colours.gray['300']
|
|
133
|
+
},
|
|
134
|
+
danger: {
|
|
135
|
+
background: {
|
|
136
|
+
standard: colours.red['600'],
|
|
137
|
+
mild: colours.red['100'],
|
|
138
|
+
strong: colours.red['800']
|
|
139
|
+
},
|
|
140
|
+
foreground: white,
|
|
141
|
+
border: colours.red['800']
|
|
142
|
+
},
|
|
143
|
+
warning: {
|
|
144
|
+
background: {
|
|
145
|
+
standard: colours.yellow['800'],
|
|
146
|
+
mild: colours.yellow['100'],
|
|
147
|
+
strong: colours.yellow['900']
|
|
148
|
+
},
|
|
149
|
+
foreground: white,
|
|
150
|
+
border: colours.yellow['900']
|
|
151
|
+
},
|
|
152
|
+
neutral: {
|
|
153
|
+
background: {
|
|
154
|
+
standard: colours.gray['700'],
|
|
155
|
+
mild: colours.gray['200'],
|
|
156
|
+
strong: colours.gray['900']
|
|
157
|
+
},
|
|
158
|
+
foreground: white,
|
|
159
|
+
border: colours.gray['900']
|
|
160
|
+
},
|
|
161
|
+
success: {
|
|
162
|
+
background: {
|
|
163
|
+
standard: colours.green['700'],
|
|
164
|
+
mild: colours.green['200'],
|
|
165
|
+
strong: colours.green['900']
|
|
166
|
+
},
|
|
167
|
+
foreground: colours.green['200'],
|
|
168
|
+
border: colours.green['900']
|
|
169
|
+
},
|
|
170
|
+
information: {
|
|
171
|
+
background: {
|
|
172
|
+
standard: colours.blue['800'],
|
|
173
|
+
mild: colours.blue['200'],
|
|
174
|
+
strong: colours.blue['900']
|
|
175
|
+
},
|
|
176
|
+
foreground: white,
|
|
177
|
+
border: colours.blue['900']
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
elevation: {
|
|
182
|
+
none: 'none',
|
|
183
|
+
'1': '0 1px 5px 0 rgba(0, 0, 0, 0.03), 0 2px 2px 0 rgba(0, 0, 0, 0.03), 0 3px 1px -2px rgba(0, 0, 0, 0.05)',
|
|
184
|
+
'2': '0 1px 10px 0 rgba(0, 0, 0, 0.03), 0 4px 5px 0 rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.05)',
|
|
185
|
+
'3': '0 3px 14px 2px rgba(0, 0, 0, 0.03), 0 8px 10px 1px rgba(0, 0, 0, 0.03), 0 5px 5px -3px rgba(0, 0, 0, 0.05)',
|
|
186
|
+
'4': '0 6px 30px 5px rgba(0, 0, 0, 0.03), 0 16px 24px 2px rgba(0, 0, 0, 0.03), 0 8px 10px -5px rgba(0, 0, 0, 0.05)',
|
|
187
|
+
'5': '0 9px 46px 8px rgba(0, 0, 0, 0.03), 0 24px 38px 3px rgba(0, 0, 0, 0.03), 0 11px 15px -7px rgba(0, 0, 0, 0.05)'
|
|
188
|
+
},
|
|
189
|
+
border: {
|
|
190
|
+
width: {
|
|
191
|
+
none: '0',
|
|
192
|
+
'1': '1px',
|
|
193
|
+
'2': '2px',
|
|
194
|
+
'3': '4px'
|
|
195
|
+
},
|
|
196
|
+
colours: {
|
|
197
|
+
light: colours.gray['200'],
|
|
198
|
+
gray: colours.gray['300'],
|
|
199
|
+
dark: colours.gray['900']
|
|
200
|
+
},
|
|
201
|
+
radius: {
|
|
202
|
+
none: 'none',
|
|
203
|
+
pill: "".concat(1e9, "px"),
|
|
204
|
+
full: '50%',
|
|
205
|
+
'1': '4px',
|
|
206
|
+
min: '2px'
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
typography: {
|
|
210
|
+
size: {
|
|
211
|
+
'1': {
|
|
212
|
+
fontSize: '10px',
|
|
213
|
+
lineHeight: '12px'
|
|
214
|
+
},
|
|
215
|
+
'2': {
|
|
216
|
+
fontSize: '12px',
|
|
217
|
+
lineHeight: '18px'
|
|
218
|
+
},
|
|
219
|
+
'3': {
|
|
220
|
+
fontSize: '14px',
|
|
221
|
+
lineHeight: '20px'
|
|
222
|
+
},
|
|
223
|
+
'4': {
|
|
224
|
+
fontSize: '16px',
|
|
225
|
+
lineHeight: '22px'
|
|
226
|
+
},
|
|
227
|
+
'5': {
|
|
228
|
+
fontSize: '18px',
|
|
229
|
+
lineHeight: '26px'
|
|
230
|
+
},
|
|
231
|
+
'6': {
|
|
232
|
+
fontSize: '20px',
|
|
233
|
+
lineHeight: '28px'
|
|
234
|
+
},
|
|
235
|
+
'7': {
|
|
236
|
+
fontSize: '24px',
|
|
237
|
+
lineHeight: '30px'
|
|
238
|
+
},
|
|
239
|
+
'8': {
|
|
240
|
+
fontSize: '30px',
|
|
241
|
+
lineHeight: '40px'
|
|
242
|
+
},
|
|
243
|
+
'9': {
|
|
244
|
+
fontSize: '40px',
|
|
245
|
+
lineHeight: '48px'
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
colour: {
|
|
249
|
+
primary: colours.gray['800'],
|
|
250
|
+
secondary: colours.gray['600'],
|
|
251
|
+
shine: colours.yellow['500'],
|
|
252
|
+
link: colours.blue['500'],
|
|
253
|
+
dark: colours.gray['900'],
|
|
254
|
+
white,
|
|
255
|
+
muted: colours.gray['400'],
|
|
256
|
+
neutral: colours.gray['700'],
|
|
257
|
+
light: colours.gray['600'],
|
|
258
|
+
danger: colours.red['600'],
|
|
259
|
+
warning: colours.yellow['800'],
|
|
260
|
+
success: colours.green['600'],
|
|
261
|
+
information: colours.blue['500']
|
|
262
|
+
},
|
|
263
|
+
fontWeight: {
|
|
264
|
+
normal: '400',
|
|
265
|
+
semiBold: '500',
|
|
266
|
+
bold: '700'
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
animation: {
|
|
270
|
+
easing: {
|
|
271
|
+
standard: 'cubic-bezier(0.4, 0.0, 0.2, 1)',
|
|
272
|
+
decelerate: 'cubic-bezier(0.0, 0.0, 0.2, 1)',
|
|
273
|
+
accelerate: 'cubic-bezier(0.4, 0.0, 1, 1)'
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
icon: {
|
|
277
|
+
size: {
|
|
278
|
+
small: '16px',
|
|
279
|
+
medium: '20px',
|
|
280
|
+
large: '32px'
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
+
|
|
5
|
+
__vanilla_filescope__.setFileScope("lib/themes/neutral/vars.css.ts", "@autoguru/overdrive");
|
|
6
|
+
|
|
7
|
+
import { createTheme } from '@vanilla-extract/css';
|
|
8
|
+
import { themeContractVars } from "../theme.css.js";
|
|
9
|
+
import { tokens } from "./tokens.js";
|
|
10
|
+
export const themeRef = createTheme(themeContractVars, tokens, 'OD_Neutral');
|
|
11
|
+
|
|
12
|
+
__vanilla_filescope__.endFileScope();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autoguru/overdrive",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.1",
|
|
4
4
|
"description": "Overdrive is a product component library, and design system for AutoGuru.",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"
|
|
34
|
-
"typeEmit": "tsc -d --declarationDir dist",
|
|
35
|
-
"build": "babel lib --out-dir dist --extensions '.ts,.tsx, .css'
|
|
33
|
+
"lint": "tsc --noEmit --skipLibCheck",
|
|
34
|
+
"typeEmit": "tsc -d --declarationDir dist --emitDeclarationOnly",
|
|
35
|
+
"build": "babel lib --out-dir dist --extensions '.ts,.tsx, .css'",
|
|
36
36
|
"prepublishOnly": "yarn run build",
|
|
37
37
|
"watch": "tsc --watch"
|
|
38
38
|
},
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, FunctionComponent, ReactElement } from 'react';
|
|
2
|
-
import { Columns } from '../Columns';
|
|
3
|
-
export interface Props extends Partial<Pick<ComponentProps<typeof Columns>, 'noWrap' | 'wrappingDirection'>> {
|
|
4
|
-
children: ReactElement | ReactElement[];
|
|
5
|
-
}
|
|
6
|
-
export declare const Actions: FunctionComponent<Props>;
|
|
7
|
-
export default Actions;
|
|
8
|
-
//# sourceMappingURL=Actions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../lib/components/Actions/Actions.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,MAAM,OAAO,CAAC;AAGf,OAAO,EAAU,OAAO,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,WAAW,KAChB,SAAQ,OAAO,CACd,IAAI,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,EAAE,QAAQ,GAAG,mBAAmB,CAAC,CACpE;IACD,QAAQ,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;CACxC;AAED,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAU5C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Alert/Alert.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,QASf,CAAC;AAEH,eAAO,MAAM,MAAM,kHAWlB,CAAC;AAEF,eAAO,MAAM,SAAS,QAGpB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import { Button } from '../Button';
|
|
3
|
-
import * as styles from './Alert.css';
|
|
4
|
-
declare type Intent = keyof Omit<typeof styles.intent, 'neutral' | 'shine' | 'primary' | 'secondary'>;
|
|
5
|
-
export interface Props {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
intent?: Intent;
|
|
9
|
-
inline?: boolean;
|
|
10
|
-
dismissible?: boolean;
|
|
11
|
-
onRequestClose?: ComponentProps<typeof Button>['onClick'];
|
|
12
|
-
}
|
|
13
|
-
export declare const Alert: FunctionComponent<Props>;
|
|
14
|
-
export default Alert;
|
|
15
|
-
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../lib/components/Alert/Alert.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAKnC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,aAAK,MAAM,GAAG,MAAM,IAAI,CACvB,OAAO,MAAM,CAAC,MAAM,EACpB,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAC7C,CAAC;AAEF,MAAM,WAAW,KAAK;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,cAAc,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAC1D;AASD,eAAO,MAAM,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAsE1C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Anchor.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Anchor/Anchor.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,QAGf,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IconType } from '@autoguru/icons';
|
|
2
|
-
import { ElementType, FunctionComponent, ReactElement, ReactNode } from 'react';
|
|
3
|
-
export interface Props {
|
|
4
|
-
rel?: string;
|
|
5
|
-
href?: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
target?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
is?: ElementType | ReactElement;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
icon?: IconType;
|
|
13
|
-
}
|
|
14
|
-
export declare const Anchor: FunctionComponent<Props>;
|
|
15
|
-
export default Anchor;
|
|
16
|
-
//# sourceMappingURL=Anchor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Anchor.d.ts","sourceRoot":"","sources":["../../../lib/components/Anchor/Anchor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,OAAO,EAGN,WAAW,EACX,iBAAiB,EAEjB,YAAY,EACZ,SAAS,EACT,MAAM,OAAO,CAAC;AASf,MAAM,WAAW,KAAK;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,IAAI,CAAC,EAAE,QAAQ,CAAC;CAChB;AAED,eAAO,MAAM,MAAM,EAAE,iBAAiB,CAAC,KAAK,CAgD3C,CAAC;AAEF,eAAe,MAAM,CAAC"}
|