@autoguru/overdrive 4.0.3 → 4.1.2
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/CHANGELOG.md +24 -0
- package/dist/components/Actions/Actions.d.ts +7 -0
- package/dist/components/Actions/Actions.d.ts.map +1 -0
- package/dist/components/Actions/Actions.js +3 -20
- package/dist/components/Actions/index.d.ts +2 -0
- package/dist/components/Actions/index.d.ts.map +1 -0
- package/dist/components/Actions/index.js +1 -3
- package/dist/components/Alert/Alert.css.d.ts +4 -0
- package/dist/components/Alert/Alert.css.d.ts.map +1 -0
- package/dist/components/Alert/Alert.css.js +20 -28
- package/dist/components/Alert/Alert.d.ts +15 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/Alert.js +26 -84
- package/dist/components/Alert/index.d.ts +2 -0
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/Alert/index.js +1 -3
- package/dist/components/Anchor/Anchor.css.d.ts +2 -0
- package/dist/components/Anchor/Anchor.css.d.ts.map +1 -0
- package/dist/components/Anchor/Anchor.css.js +3 -11
- package/dist/components/Anchor/Anchor.d.ts +14 -0
- package/dist/components/Anchor/Anchor.d.ts.map +1 -0
- package/dist/components/Anchor/Anchor.js +28 -53
- package/dist/components/Anchor/index.d.ts +2 -0
- package/dist/components/Anchor/index.d.ts.map +1 -0
- package/dist/components/Anchor/index.js +1 -3
- package/dist/components/AutoSuggest/AutoSuggest.css.d.ts +15 -0
- package/dist/components/AutoSuggest/AutoSuggest.css.d.ts.map +1 -0
- package/dist/components/AutoSuggest/AutoSuggest.css.js +76 -84
- package/dist/components/AutoSuggest/AutoSuggest.d.ts +1 -0
- package/dist/components/AutoSuggest/AutoSuggest.d.ts.map +1 -1
- package/dist/components/AutoSuggest/AutoSuggest.js +302 -617
- package/dist/components/AutoSuggest/index.js +1 -3
- package/dist/components/AutoSuggest/stories.js +1 -0
- package/dist/components/AutoSuggest/useLayoutSuggestionVisible.d.ts +3 -0
- package/dist/components/AutoSuggest/useLayoutSuggestionVisible.d.ts.map +1 -0
- package/dist/components/AutoSuggest/useLayoutSuggestionVisible.js +31 -29
- package/dist/components/Badge/Badge.css.d.ts +13 -0
- package/dist/components/Badge/Badge.css.d.ts.map +1 -0
- package/dist/components/Badge/Badge.css.js +71 -79
- package/dist/components/Badge/Badge.d.ts +11 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -0
- package/dist/components/Badge/Badge.js +28 -43
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Badge/index.d.ts.map +1 -0
- package/dist/components/Badge/index.js +1 -3
- package/dist/components/Box/Box.d.ts +7 -0
- package/dist/components/Box/Box.d.ts.map +1 -0
- package/dist/components/Box/Box.js +53 -122
- package/dist/components/Box/argTypes.d.ts +7 -0
- package/dist/components/Box/argTypes.d.ts.map +1 -0
- package/dist/components/Box/argTypes.js +94 -64
- package/dist/components/Box/index.d.ts +4 -0
- package/dist/components/Box/index.d.ts.map +1 -0
- package/dist/components/Box/index.js +2 -4
- package/dist/components/Box/useBoxStyles.css.d.ts +46 -0
- package/dist/components/Box/useBoxStyles.css.d.ts.map +1 -0
- package/dist/components/Box/useBoxStyles.css.js +85 -105
- package/dist/components/Box/useBoxStyles.d.ts +66 -0
- package/dist/components/Box/useBoxStyles.d.ts.map +1 -0
- package/dist/components/Box/useBoxStyles.js +47 -75
- package/dist/components/BulletList/Bullet.css.d.ts +3 -0
- package/dist/components/BulletList/Bullet.css.d.ts.map +1 -0
- package/dist/components/BulletList/Bullet.css.js +41 -49
- package/dist/components/BulletList/Bullet.d.ts +7 -0
- package/dist/components/BulletList/Bullet.d.ts.map +1 -0
- package/dist/components/BulletList/Bullet.js +24 -38
- package/dist/components/BulletList/BulletList.css.d.ts +3 -0
- package/dist/components/BulletList/BulletList.css.d.ts.map +1 -0
- package/dist/components/BulletList/BulletList.css.js +5 -13
- package/dist/components/BulletList/BulletList.d.ts +6 -0
- package/dist/components/BulletList/BulletList.d.ts.map +1 -0
- package/dist/components/BulletList/BulletList.js +10 -23
- package/dist/components/BulletList/context.d.ts +5 -0
- package/dist/components/BulletList/context.d.ts.map +1 -0
- package/dist/components/BulletList/context.js +1 -3
- package/dist/components/BulletList/index.d.ts +3 -0
- package/dist/components/BulletList/index.d.ts.map +1 -0
- package/dist/components/BulletList/index.js +2 -4
- package/dist/components/BulletText/BulletText.css.d.ts +6 -0
- package/dist/components/BulletText/BulletText.css.d.ts.map +1 -0
- package/dist/components/BulletText/BulletText.css.js +13 -21
- package/dist/components/BulletText/BulletText.d.ts +8 -0
- package/dist/components/BulletText/BulletText.d.ts.map +1 -0
- package/dist/components/BulletText/BulletText.js +15 -56
- package/dist/components/BulletText/index.d.ts +2 -0
- package/dist/components/BulletText/index.d.ts.map +1 -0
- package/dist/components/BulletText/index.js +1 -3
- package/dist/components/Button/Button.css.d.ts +30 -0
- package/dist/components/Button/Button.css.d.ts.map +1 -0
- package/dist/components/Button/Button.css.js +143 -151
- package/dist/components/Button/Button.d.ts +20 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.js +72 -112
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Button/index.js +1 -3
- package/dist/components/CheckBox/CheckBox.css.d.ts +3 -0
- package/dist/components/CheckBox/CheckBox.css.d.ts.map +1 -0
- package/dist/components/CheckBox/CheckBox.css.js +20 -28
- package/dist/components/CheckBox/CheckBox.d.ts +14 -0
- package/dist/components/CheckBox/CheckBox.d.ts.map +1 -0
- package/dist/components/CheckBox/CheckBox.js +16 -54
- package/dist/components/CheckBox/index.d.ts +2 -0
- package/dist/components/CheckBox/index.d.ts.map +1 -0
- package/dist/components/CheckBox/index.js +1 -3
- package/dist/components/Columns/Column.css.d.ts +3 -0
- package/dist/components/Columns/Column.css.d.ts.map +1 -0
- package/dist/components/Columns/Column.css.js +26 -36
- package/dist/components/Columns/Column.d.ts +15 -0
- package/dist/components/Columns/Column.d.ts.map +1 -0
- package/dist/components/Columns/Column.js +16 -51
- package/dist/components/Columns/Columns.css.d.ts +7 -0
- package/dist/components/Columns/Columns.css.d.ts.map +1 -0
- package/dist/components/Columns/Columns.css.js +31 -39
- package/dist/components/Columns/Columns.d.ts +25 -0
- package/dist/components/Columns/Columns.d.ts.map +1 -0
- package/dist/components/Columns/Columns.js +21 -54
- package/dist/components/Columns/index.d.ts +3 -0
- package/dist/components/Columns/index.d.ts.map +1 -0
- package/dist/components/Columns/index.js +2 -4
- package/dist/components/DateInput/DateInput.js +7 -33
- package/dist/components/DateInput/index.js +1 -3
- package/dist/components/Flyout/Flyout.d.ts +4 -0
- package/dist/components/Flyout/Flyout.d.ts.map +1 -0
- package/dist/components/Flyout/Flyout.js +4 -40
- package/dist/components/Flyout/index.d.ts +2 -0
- package/dist/components/Flyout/index.d.ts.map +1 -0
- package/dist/components/Flyout/index.js +1 -3
- package/dist/components/Heading/Heading.d.ts +11 -0
- package/dist/components/Heading/Heading.d.ts.map +1 -0
- package/dist/components/Heading/Heading.js +19 -38
- package/dist/components/Heading/index.d.ts +2 -0
- package/dist/components/Heading/index.d.ts.map +1 -0
- package/dist/components/Heading/index.js +1 -3
- package/dist/components/Icon/Icon.css.d.ts +2 -0
- package/dist/components/Icon/Icon.css.d.ts.map +1 -0
- package/dist/components/Icon/Icon.css.js +5 -13
- package/dist/components/Icon/Icon.d.ts +13 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/Icon.js +8 -25
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/Icon/index.js +1 -3
- package/dist/components/Image/Image.d.ts +8 -0
- package/dist/components/Image/Image.d.ts.map +1 -0
- package/dist/components/Image/Image.js +5 -0
- package/dist/components/Image/ImageServerProvider.d.ts +18 -0
- package/dist/components/Image/ImageServerProvider.d.ts.map +1 -0
- package/dist/components/Image/ImageServerProvider.js +45 -0
- package/dist/components/Image/ResponsiveImage.d.ts +11 -0
- package/dist/components/Image/ResponsiveImage.d.ts.map +1 -0
- package/dist/components/Image/ResponsiveImage.js +22 -0
- package/dist/components/Image/SimpleImage.d.ts +12 -0
- package/dist/components/Image/SimpleImage.d.ts.map +1 -0
- package/dist/components/Image/SimpleImage.js +2 -0
- package/dist/components/Image/index.d.ts +2 -0
- package/dist/components/Image/index.d.ts.map +1 -0
- package/dist/components/Image/index.js +1 -0
- package/dist/components/Image/stories.js +194 -0
- package/dist/components/Image/types.d.ts +2 -0
- package/dist/components/Image/types.d.ts.map +1 -0
- package/dist/components/Image/types.js +1 -0
- package/dist/components/Inline/Inline.d.ts +13 -0
- package/dist/components/Inline/Inline.d.ts.map +1 -0
- package/dist/components/Inline/Inline.js +30 -71
- package/dist/components/Inline/index.d.ts +2 -0
- package/dist/components/Inline/index.d.ts.map +1 -0
- package/dist/components/Inline/index.js +1 -3
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.d.ts +4 -0
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.d.ts.map +1 -0
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.js +48 -56
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.d.ts +6 -0
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.d.ts.map +1 -0
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.js +7 -31
- package/dist/components/LinearProgressIndicator/index.d.ts +2 -0
- package/dist/components/LinearProgressIndicator/index.d.ts.map +1 -0
- package/dist/components/LinearProgressIndicator/index.js +1 -3
- package/dist/components/LoadingBox/LoadingBox.css.d.ts +3 -0
- package/dist/components/LoadingBox/LoadingBox.css.d.ts.map +1 -0
- package/dist/components/LoadingBox/LoadingBox.css.js +18 -26
- package/dist/components/LoadingBox/LoadingBox.d.ts +9 -0
- package/dist/components/LoadingBox/LoadingBox.d.ts.map +1 -0
- package/dist/components/LoadingBox/LoadingBox.js +6 -38
- package/dist/components/LoadingBox/index.d.ts +2 -0
- package/dist/components/LoadingBox/index.d.ts.map +1 -0
- package/dist/components/LoadingBox/index.js +1 -3
- package/dist/components/Meta/Meta.css.d.ts +2 -0
- package/dist/components/Meta/Meta.css.d.ts.map +1 -0
- package/dist/components/Meta/Meta.css.js +8 -16
- package/dist/components/Meta/Meta.js +7 -27
- package/dist/components/Meta/index.js +1 -3
- package/dist/components/MinimalModal/MinimalModal.css.d.ts +3 -0
- package/dist/components/MinimalModal/MinimalModal.css.d.ts.map +1 -0
- package/dist/components/MinimalModal/MinimalModal.css.js +7 -15
- package/dist/components/MinimalModal/MinimalModal.d.ts +7 -0
- package/dist/components/MinimalModal/MinimalModal.d.ts.map +1 -0
- package/dist/components/MinimalModal/MinimalModal.js +27 -62
- package/dist/components/MinimalModal/index.d.ts +2 -0
- package/dist/components/MinimalModal/index.d.ts.map +1 -0
- package/dist/components/MinimalModal/index.js +1 -3
- package/dist/components/Modal/Modal.css.d.ts +5 -0
- package/dist/components/Modal/Modal.css.d.ts.map +1 -0
- package/dist/components/Modal/Modal.css.js +30 -38
- package/dist/components/Modal/Modal.d.ts +9 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/Modal.js +72 -128
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Modal/index.js +1 -3
- package/dist/components/NumberInput/NumberInput.js +29 -60
- package/dist/components/NumberInput/index.js +1 -3
- package/dist/components/OrderedList/OrderedList.css.d.ts +2 -0
- package/dist/components/OrderedList/OrderedList.css.d.ts.map +1 -0
- package/dist/components/OrderedList/OrderedList.css.js +8 -16
- package/dist/components/OrderedList/OrderedList.d.ts +14 -0
- package/dist/components/OrderedList/OrderedList.d.ts.map +1 -0
- package/dist/components/OrderedList/OrderedList.js +26 -60
- package/dist/components/OrderedList/index.d.ts +2 -0
- package/dist/components/OrderedList/index.d.ts.map +1 -0
- package/dist/components/OrderedList/index.js +1 -3
- package/dist/components/OutsideClick/OutsideClick.d.ts +8 -0
- package/dist/components/OutsideClick/OutsideClick.d.ts.map +1 -0
- package/dist/components/OutsideClick/OutsideClick.js +35 -40
- package/dist/components/OutsideClick/index.d.ts +2 -0
- package/dist/components/OutsideClick/index.d.ts.map +1 -0
- package/dist/components/OutsideClick/index.js +1 -3
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts +7 -0
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts.map +1 -0
- package/dist/components/OverdriveProvider/OverdriveProvider.js +18 -34
- package/dist/components/OverdriveProvider/index.d.ts +2 -0
- package/dist/components/OverdriveProvider/index.d.ts.map +1 -0
- package/dist/components/OverdriveProvider/index.js +1 -3
- package/dist/components/Pagination/Bubble.d.ts +10 -0
- package/dist/components/Pagination/Bubble.d.ts.map +1 -0
- package/dist/components/Pagination/Bubble.js +19 -41
- package/dist/components/Pagination/Pagination.css.d.ts +4 -0
- package/dist/components/Pagination/Pagination.css.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.css.js +20 -28
- package/dist/components/Pagination/Pagination.d.ts +16 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.js +69 -164
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/Pagination/index.js +1 -3
- package/dist/components/Portal/Portal.d.ts +10 -0
- package/dist/components/Portal/Portal.d.ts.map +1 -0
- package/dist/components/Portal/Portal.js +22 -36
- package/dist/components/Portal/index.d.ts +2 -0
- package/dist/components/Portal/index.d.ts.map +1 -0
- package/dist/components/Portal/index.js +1 -3
- package/dist/components/Positioner/Positioner.css.d.ts +2 -0
- package/dist/components/Positioner/Positioner.css.d.ts.map +1 -0
- package/dist/components/Positioner/Positioner.css.js +6 -14
- package/dist/components/Positioner/Positioner.d.ts +12 -0
- package/dist/components/Positioner/Positioner.d.ts.map +1 -0
- package/dist/components/Positioner/Positioner.js +84 -107
- package/dist/components/Positioner/alignment.d.ts +11 -0
- package/dist/components/Positioner/alignment.d.ts.map +1 -0
- package/dist/components/Positioner/alignment.js +10 -13
- package/dist/components/Positioner/index.d.ts +3 -0
- package/dist/components/Positioner/index.d.ts.map +1 -0
- package/dist/components/Positioner/index.js +2 -4
- package/dist/components/ProgressBar/ProgressBar.css.d.ts +3 -0
- package/dist/components/ProgressBar/ProgressBar.css.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.css.js +6 -14
- package/dist/components/ProgressBar/ProgressBar.d.ts +9 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.js +11 -29
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.js +1 -3
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts +2 -0
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.d.ts.map +1 -0
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +4 -12
- package/dist/components/ProgressBarGroup/ProgressBarGroup.d.ts +10 -0
- package/dist/components/ProgressBarGroup/ProgressBarGroup.d.ts.map +1 -0
- package/dist/components/ProgressBarGroup/ProgressBarGroup.js +14 -42
- package/dist/components/ProgressBarGroup/index.d.ts +2 -0
- package/dist/components/ProgressBarGroup/index.d.ts.map +1 -0
- package/dist/components/ProgressBarGroup/index.js +1 -3
- package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +9 -0
- package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts.map +1 -0
- package/dist/components/ProgressSpinner/ProgressSpinner.css.js +73 -81
- package/dist/components/ProgressSpinner/ProgressSpinner.d.ts +9 -0
- package/dist/components/ProgressSpinner/ProgressSpinner.d.ts.map +1 -0
- package/dist/components/ProgressSpinner/ProgressSpinner.js +13 -31
- package/dist/components/ProgressSpinner/index.d.ts +2 -0
- package/dist/components/ProgressSpinner/index.d.ts.map +1 -0
- package/dist/components/ProgressSpinner/index.js +1 -3
- package/dist/components/Radio/Radio.css.d.ts +2 -0
- package/dist/components/Radio/Radio.css.d.ts.map +1 -0
- package/dist/components/Radio/Radio.css.js +23 -31
- package/dist/components/Radio/Radio.d.ts +10 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/Radio.js +19 -58
- package/dist/components/Radio/RadioGroup.d.ts +19 -0
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -0
- package/dist/components/Radio/RadioGroup.js +7 -32
- package/dist/components/Radio/index.d.ts +3 -0
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/Radio/index.js +2 -4
- package/dist/components/Section/Section.css.d.ts +3 -0
- package/dist/components/Section/Section.css.d.ts.map +1 -0
- package/dist/components/Section/Section.css.js +5 -13
- package/dist/components/Section/Section.d.ts +8 -0
- package/dist/components/Section/Section.d.ts.map +1 -0
- package/dist/components/Section/Section.js +3 -18
- package/dist/components/Section/index.d.ts +2 -0
- package/dist/components/Section/index.d.ts.map +1 -0
- package/dist/components/Section/index.js +1 -3
- package/dist/components/SelectInput/SelectInput.css.d.ts +4 -0
- package/dist/components/SelectInput/SelectInput.css.d.ts.map +1 -0
- package/dist/components/SelectInput/SelectInput.css.js +11 -19
- package/dist/components/SelectInput/SelectInput.js +11 -59
- package/dist/components/SelectInput/index.js +1 -3
- package/dist/components/SimplePagination/SimplePagination.d.ts +14 -0
- package/dist/components/SimplePagination/SimplePagination.d.ts.map +1 -0
- package/dist/components/SimplePagination/SimplePagination.js +17 -55
- package/dist/components/SimplePagination/index.d.ts +2 -0
- package/dist/components/SimplePagination/index.d.ts.map +1 -0
- package/dist/components/SimplePagination/index.js +1 -3
- package/dist/components/Stack/Divider.css.d.ts +2 -0
- package/dist/components/Stack/Divider.css.d.ts.map +1 -0
- package/dist/components/Stack/Divider.css.js +4 -12
- package/dist/components/Stack/Divider.d.ts +3 -0
- package/dist/components/Stack/Divider.d.ts.map +1 -0
- package/dist/components/Stack/Divider.js +4 -13
- package/dist/components/Stack/Stack.css.d.ts +5 -0
- package/dist/components/Stack/Stack.css.d.ts.map +1 -0
- package/dist/components/Stack/Stack.css.js +10 -18
- package/dist/components/Stack/Stack.d.ts +11 -0
- package/dist/components/Stack/Stack.d.ts.map +1 -0
- package/dist/components/Stack/Stack.js +23 -43
- package/dist/components/Stack/index.d.ts +2 -0
- package/dist/components/Stack/index.d.ts.map +1 -0
- package/dist/components/Stack/index.js +1 -3
- package/dist/components/StandardModal/StandardModal.css.d.ts +8 -0
- package/dist/components/StandardModal/StandardModal.css.d.ts.map +1 -0
- package/dist/components/StandardModal/StandardModal.css.js +57 -69
- package/dist/components/StandardModal/StandardModal.d.ts +16 -0
- package/dist/components/StandardModal/StandardModal.d.ts.map +1 -0
- package/dist/components/StandardModal/StandardModal.js +50 -123
- package/dist/components/StandardModal/index.d.ts +2 -0
- package/dist/components/StandardModal/index.d.ts.map +1 -0
- package/dist/components/StandardModal/index.js +1 -3
- package/dist/components/StarRating/StarRating.css.d.ts +2 -0
- package/dist/components/StarRating/StarRating.css.d.ts.map +1 -0
- package/dist/components/StarRating/StarRating.css.js +8 -16
- package/dist/components/StarRating/StarRating.d.ts +13 -0
- package/dist/components/StarRating/StarRating.d.ts.map +1 -0
- package/dist/components/StarRating/StarRating.js +46 -89
- package/dist/components/StarRating/index.d.ts +2 -0
- package/dist/components/StarRating/index.d.ts.map +1 -0
- package/dist/components/StarRating/index.js +1 -3
- package/dist/components/Stepper/Stepper.css.d.ts +5 -0
- package/dist/components/Stepper/Stepper.css.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.css.js +29 -39
- package/dist/components/Stepper/Stepper.d.ts +13 -0
- package/dist/components/Stepper/Stepper.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.js +95 -176
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/index.d.ts.map +1 -0
- package/dist/components/Stepper/index.js +1 -3
- package/dist/components/Switch/Switch.css.d.ts +5 -0
- package/dist/components/Switch/Switch.css.d.ts.map +1 -0
- package/dist/components/Switch/Switch.css.js +41 -49
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Switch/Switch.js +27 -62
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/Switch/index.js +1 -3
- package/dist/components/Table/Table.css.d.ts +2 -0
- package/dist/components/Table/Table.css.d.ts.map +1 -0
- package/dist/components/Table/Table.css.js +6 -14
- package/dist/components/Table/Table.d.ts +9 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/Table.js +5 -28
- package/dist/components/Table/TableCell.css.d.ts +2 -0
- package/dist/components/Table/TableCell.css.d.ts.map +1 -0
- package/dist/components/Table/TableCell.css.js +20 -28
- package/dist/components/Table/TableCell.d.ts +12 -0
- package/dist/components/Table/TableCell.d.ts.map +1 -0
- package/dist/components/Table/TableCell.js +11 -41
- package/dist/components/Table/TableHeadCell.css.d.ts +10 -0
- package/dist/components/Table/TableHeadCell.css.d.ts.map +1 -0
- package/dist/components/Table/TableHeadCell.css.js +50 -61
- package/dist/components/Table/TableHeadCell.d.ts +14 -0
- package/dist/components/Table/TableHeadCell.d.ts.map +1 -0
- package/dist/components/Table/TableHeadCell.js +40 -86
- package/dist/components/Table/TableRow.d.ts +8 -0
- package/dist/components/Table/TableRow.d.ts.map +1 -0
- package/dist/components/Table/TableRow.js +2 -17
- package/dist/components/Table/TableRowGroup.d.ts +7 -0
- package/dist/components/Table/TableRowGroup.d.ts.map +1 -0
- package/dist/components/Table/TableRowGroup.js +2 -15
- package/dist/components/Table/context.d.ts +9 -0
- package/dist/components/Table/context.d.ts.map +1 -0
- package/dist/components/Table/context.js +10 -21
- package/dist/components/Table/index.d.ts +6 -0
- package/dist/components/Table/index.d.ts.map +1 -0
- package/dist/components/Table/index.js +5 -7
- package/dist/components/Tabs/Tab.css.d.ts +7 -0
- package/dist/components/Tabs/Tab.css.d.ts.map +1 -0
- package/dist/components/Tabs/Tab.css.js +35 -43
- package/dist/components/Tabs/Tab.d.ts +10 -0
- package/dist/components/Tabs/Tab.d.ts.map +1 -0
- package/dist/components/Tabs/Tab.js +50 -80
- package/dist/components/Tabs/TabList.css.d.ts +3 -0
- package/dist/components/Tabs/TabList.css.d.ts.map +1 -0
- package/dist/components/Tabs/TabList.css.js +22 -30
- package/dist/components/Tabs/TabList.d.ts +9 -0
- package/dist/components/Tabs/TabList.d.ts.map +1 -0
- package/dist/components/Tabs/TabList.js +68 -119
- package/dist/components/Tabs/TabPane.css.d.ts +2 -0
- package/dist/components/Tabs/TabPane.css.d.ts.map +1 -0
- package/dist/components/Tabs/TabPane.css.js +3 -11
- package/dist/components/Tabs/TabPane.d.ts +5 -0
- package/dist/components/Tabs/TabPane.d.ts.map +1 -0
- package/dist/components/Tabs/TabPane.js +15 -32
- package/dist/components/Tabs/TabPanes.css.d.ts +2 -0
- package/dist/components/Tabs/TabPanes.css.d.ts.map +1 -0
- package/dist/components/Tabs/TabPanes.css.js +8 -16
- package/dist/components/Tabs/TabPanes.d.ts +13 -0
- package/dist/components/Tabs/TabPanes.d.ts.map +1 -0
- package/dist/components/Tabs/TabPanes.js +5 -22
- package/dist/components/Tabs/Tabs.d.ts +16 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.js +10 -22
- package/dist/components/Tabs/index.d.ts +6 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Tabs/index.js +5 -7
- package/dist/components/Text/Text.d.ts +11 -0
- package/dist/components/Text/Text.d.ts.map +1 -0
- package/dist/components/Text/Text.js +13 -34
- package/dist/components/Text/index.d.ts +4 -0
- package/dist/components/Text/index.d.ts.map +1 -0
- package/dist/components/Text/index.js +2 -4
- package/dist/components/Text/useTextStyles.css.d.ts +7 -0
- package/dist/components/Text/useTextStyles.css.d.ts.map +1 -0
- package/dist/components/Text/useTextStyles.css.js +19 -39
- package/dist/components/Text/useTextStyles.d.ts +15 -0
- package/dist/components/Text/useTextStyles.d.ts.map +1 -0
- package/dist/components/Text/useTextStyles.js +5 -19
- package/dist/components/TextAreaInput/TextAreaInput.js +7 -34
- package/dist/components/TextAreaInput/index.js +1 -3
- package/dist/components/TextContainer/TextContainer.d.ts +9 -0
- package/dist/components/TextContainer/TextContainer.d.ts.map +1 -0
- package/dist/components/TextContainer/TextContainer.js +8 -42
- package/dist/components/TextContainer/index.d.ts +2 -0
- package/dist/components/TextContainer/index.d.ts.map +1 -0
- package/dist/components/TextContainer/index.js +1 -3
- package/dist/components/TextInput/TextInput.js +5 -35
- package/dist/components/TextInput/index.js +1 -3
- package/dist/components/TextLink/TextLink.css.d.ts +3 -0
- package/dist/components/TextLink/TextLink.css.d.ts.map +1 -0
- package/dist/components/TextLink/TextLink.css.js +15 -23
- package/dist/components/TextLink/TextLink.d.ts +14 -0
- package/dist/components/TextLink/TextLink.d.ts.map +1 -0
- package/dist/components/TextLink/TextLink.js +25 -63
- package/dist/components/TextLink/index.d.ts +2 -0
- package/dist/components/TextLink/index.d.ts.map +1 -0
- package/dist/components/TextLink/index.js +1 -3
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +19 -0
- package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +1 -0
- package/dist/components/ThemeProvider/ThemeProvider.js +12 -30
- package/dist/components/ThemeProvider/index.d.ts +2 -0
- package/dist/components/ThemeProvider/index.d.ts.map +1 -0
- package/dist/components/ThemeProvider/index.js +1 -3
- package/dist/components/Toaster/Toast.css.d.ts +3 -0
- package/dist/components/Toaster/Toast.css.d.ts.map +1 -0
- package/dist/components/Toaster/Toast.css.js +9 -17
- package/dist/components/Toaster/Toast.d.ts +13 -0
- package/dist/components/Toaster/Toast.d.ts.map +1 -0
- package/dist/components/Toaster/Toast.js +105 -217
- package/dist/components/Toaster/index.d.ts +2 -0
- package/dist/components/Toaster/index.d.ts.map +1 -0
- package/dist/components/Toaster/index.js +1 -3
- package/dist/components/Tooltip/Tooltip.css.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.css.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.css.js +9 -21
- package/dist/components/Tooltip/Tooltip.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.js +32 -61
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Tooltip/index.js +1 -3
- package/dist/components/VisuallyHidden/VisuallyHidden.css.d.ts +2 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.css.d.ts.map +1 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.css.js +5 -13
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.js +3 -19
- package/dist/components/VisuallyHidden/index.d.ts +2 -0
- package/dist/components/VisuallyHidden/index.d.ts.map +1 -0
- package/dist/components/VisuallyHidden/index.js +1 -3
- package/dist/components/index.js +51 -53
- package/dist/components/private/CheckableBase/CheckableBase.css.d.ts +7 -0
- package/dist/components/private/CheckableBase/CheckableBase.css.d.ts.map +1 -0
- package/dist/components/private/CheckableBase/CheckableBase.css.js +38 -46
- package/dist/components/private/CheckableBase/CheckableBase.d.ts +16 -0
- package/dist/components/private/CheckableBase/CheckableBase.d.ts.map +1 -0
- package/dist/components/private/CheckableBase/CheckableBase.js +27 -89
- package/dist/components/private/CheckableBase/index.d.ts +2 -0
- package/dist/components/private/CheckableBase/index.d.ts.map +1 -0
- package/dist/components/private/CheckableBase/index.js +1 -3
- package/dist/components/private/CheckableBase/useCheckableStyles.d.ts +4 -0
- package/dist/components/private/CheckableBase/useCheckableStyles.d.ts.map +1 -0
- package/dist/components/private/CheckableBase/useCheckableStyles.js +3 -5
- package/dist/components/private/InputBase/HintText.css.d.ts +2 -0
- package/dist/components/private/InputBase/HintText.css.d.ts.map +1 -0
- package/dist/components/private/InputBase/HintText.css.js +3 -11
- package/dist/components/private/InputBase/HintText.d.ts +9 -0
- package/dist/components/private/InputBase/HintText.d.ts.map +1 -0
- package/dist/components/private/InputBase/HintText.js +14 -28
- package/dist/components/private/InputBase/InputState.css.d.ts +58 -0
- package/dist/components/private/InputBase/InputState.css.d.ts.map +1 -0
- package/dist/components/private/InputBase/InputState.css.js +80 -96
- package/dist/components/private/InputBase/NotchedBase.css.d.ts +14 -0
- package/dist/components/private/InputBase/NotchedBase.css.d.ts.map +1 -0
- package/dist/components/private/InputBase/NotchedBase.css.js +83 -78
- package/dist/components/private/InputBase/NotchedBase.d.ts +14 -0
- package/dist/components/private/InputBase/NotchedBase.d.ts.map +1 -0
- package/dist/components/private/InputBase/NotchedBase.js +34 -79
- package/dist/components/private/InputBase/index.js +1 -3
- package/dist/components/private/InputBase/withEnhancedInput.css.d.ts +1 -1
- package/dist/components/private/InputBase/withEnhancedInput.css.d.ts.map +1 -1
- package/dist/components/private/InputBase/withEnhancedInput.js +89 -176
- package/dist/hooks/useAttachedBoxes/index.js +1 -3
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.d.ts +9 -0
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.d.ts.map +1 -0
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.js +18 -26
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.js +46 -71
- package/dist/hooks/useMedia/index.js +1 -3
- package/dist/hooks/useMedia/useMedia.js +31 -37
- package/dist/hooks/useNegativeMargin/useNegativeMargin.d.ts +3 -0
- package/dist/hooks/useNegativeMargin/useNegativeMargin.d.ts.map +1 -0
- package/dist/hooks/useNegativeMargin/useNegativeMargin.js +2 -4
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.d.ts +2 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.d.ts.map +1 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.js +5 -13
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts +4 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts.map +1 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.js +3 -5
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.d.ts +2 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.d.ts.map +1 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.js +4 -12
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts +4 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts.map +1 -0
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.js +3 -5
- package/dist/hooks/useResponsiveValue/index.js +1 -3
- package/dist/hooks/useResponsiveValue/useResponsiveValue.d.ts +1 -1
- package/dist/hooks/useResponsiveValue/useResponsiveValue.d.ts.map +1 -1
- package/dist/hooks/useResponsiveValue/useResponsiveValue.js +15 -14
- package/dist/index.js +5 -7
- package/dist/reset/globalFonts.css.d.ts +2 -0
- package/dist/reset/globalFonts.css.d.ts.map +1 -0
- package/dist/reset/globalFonts.css.js +12 -20
- package/dist/reset/globalReset.css.d.ts +2 -0
- package/dist/reset/globalReset.css.d.ts.map +1 -0
- package/dist/reset/globalReset.css.js +13 -21
- package/dist/reset/reset.css.d.ts +49 -0
- package/dist/reset/reset.css.d.ts.map +1 -0
- package/dist/reset/reset.css.js +109 -105
- package/dist/themes/base/index.d.ts +8 -0
- package/dist/themes/base/index.d.ts.map +1 -0
- package/dist/themes/base/index.js +7 -9
- package/dist/themes/base/tokens.d.ts +3 -0
- package/dist/themes/base/tokens.d.ts.map +1 -0
- package/dist/themes/base/tokens.js +249 -256
- package/dist/themes/base/vars.css.d.ts +3 -0
- package/dist/themes/base/vars.css.d.ts.map +1 -0
- package/dist/themes/base/vars.css.js +2 -10
- package/dist/themes/flat_red/index.d.ts +8 -0
- package/dist/themes/flat_red/index.d.ts.map +1 -0
- package/dist/themes/flat_red/index.js +8 -10
- package/dist/themes/flat_red/tokens.d.ts +3 -0
- package/dist/themes/flat_red/tokens.d.ts.map +1 -0
- package/dist/themes/flat_red/tokens.js +167 -171
- package/dist/themes/flat_red/vars.css.d.ts +2 -0
- package/dist/themes/flat_red/vars.css.d.ts.map +1 -0
- package/dist/themes/flat_red/vars.css.js +2 -10
- package/dist/themes/helpers.d.ts +2 -0
- package/dist/themes/helpers.d.ts.map +1 -0
- package/dist/themes/helpers.js +10 -9
- package/dist/themes/index.d.ts +3 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.js +2 -4
- package/dist/themes/makeTheme.d.ts +12 -0
- package/dist/themes/makeTheme.d.ts.map +1 -0
- package/dist/themes/makeTheme.js +18 -29
- package/dist/themes/tokens.d.ts +95 -0
- package/dist/themes/tokens.d.ts.map +1 -0
- package/dist/themes/tokens.js +1 -3
- package/dist/utils/index.d.ts +19 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +77 -93
- package/dist/utils/mapTokenToProperty.d.ts +6 -0
- package/dist/utils/mapTokenToProperty.d.ts.map +1 -0
- package/dist/utils/mapTokenToProperty.js +10 -22
- package/dist/utils/resolveResponsiveProps.d.ts +7 -0
- package/dist/utils/resolveResponsiveProps.d.ts.map +1 -0
- package/dist/utils/resolveResponsiveProps.js +31 -29
- package/dist/utils/responsiveProps.css.d.ts +5 -0
- package/dist/utils/responsiveProps.css.d.ts.map +1 -0
- package/dist/utils/responsiveProps.css.js +17 -29
- package/dist/utils/responsiveStyle.d.ts +4 -0
- package/dist/utils/responsiveStyle.d.ts.map +1 -0
- package/dist/utils/responsiveStyle.js +16 -26
- package/package.json +1 -1
|
@@ -1,169 +1,161 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
-
|
|
5
|
-
__vanilla_filescope__.setFileScope("lib/components/Button/Button.css.ts", "@autoguru/overdrive");
|
|
6
|
-
|
|
7
1
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
8
|
-
import { vars } from
|
|
2
|
+
import { vars } from '../../themes/base/vars.css';
|
|
9
3
|
export const root = style({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
4
|
+
transitionDelay: '0s',
|
|
5
|
+
transitionTimingFunction: vars.animation.easing.standard,
|
|
6
|
+
transitionDuration: '0.1s',
|
|
7
|
+
transitionProperty: 'color, background-color, border-color, box-shadow, transform',
|
|
8
|
+
transform: 'translate3d(0, 0, 1) scale(1)',
|
|
9
|
+
willChange: 'transform',
|
|
10
|
+
});
|
|
17
11
|
export const body = style({
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
12
|
+
display: 'grid',
|
|
13
|
+
gridAutoFlow: 'column dense',
|
|
14
|
+
gridGap: vars.space['1'],
|
|
15
|
+
});
|
|
22
16
|
export const loading = style({
|
|
23
|
-
|
|
24
|
-
}
|
|
17
|
+
cursor: 'not-allowed',
|
|
18
|
+
});
|
|
25
19
|
export const enabled = style({
|
|
26
|
-
|
|
27
|
-
}
|
|
20
|
+
cursor: 'pointer',
|
|
21
|
+
});
|
|
28
22
|
export const disabled = style({
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
23
|
+
cursor: 'not-allowed',
|
|
24
|
+
opacity: '0.3',
|
|
25
|
+
});
|
|
32
26
|
export const spinner = style({
|
|
33
|
-
|
|
34
|
-
}
|
|
27
|
+
margin: '0 auto',
|
|
28
|
+
});
|
|
35
29
|
const smallHeight = '36px';
|
|
36
30
|
export const size = {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
31
|
+
small: styleVariants({
|
|
32
|
+
default: {
|
|
33
|
+
minWidth: vars.space['8'],
|
|
34
|
+
height: smallHeight,
|
|
35
|
+
gridGap: vars.space['1'],
|
|
36
|
+
},
|
|
37
|
+
rounded: {
|
|
38
|
+
minWidth: smallHeight,
|
|
39
|
+
},
|
|
40
|
+
iconOnly: {
|
|
41
|
+
width: smallHeight,
|
|
42
|
+
},
|
|
43
|
+
}),
|
|
44
|
+
medium: styleVariants({
|
|
45
|
+
default: {
|
|
46
|
+
minWidth: vars.space['9'],
|
|
47
|
+
height: vars.space['8'],
|
|
48
|
+
gridGap: vars.space['2'],
|
|
49
|
+
},
|
|
50
|
+
rounded: {
|
|
51
|
+
minWidth: vars.space['8'],
|
|
52
|
+
},
|
|
53
|
+
iconOnly: {
|
|
54
|
+
width: vars.space['8'],
|
|
55
|
+
},
|
|
56
|
+
}),
|
|
63
57
|
};
|
|
64
58
|
export const variant = {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
59
|
+
primary: style({
|
|
60
|
+
color: vars.colours.intent.primary.foreground,
|
|
61
|
+
backgroundColor: vars.colours.intent.primary.background.standard,
|
|
62
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.background.strong}, ${vars.elevation['2']}`,
|
|
63
|
+
}),
|
|
64
|
+
secondary: style({
|
|
65
|
+
color: vars.colours.intent.secondary.foreground,
|
|
66
|
+
backgroundColor: vars.colours.intent.secondary.background.standard,
|
|
67
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.foreground}, ${vars.elevation['2']}`,
|
|
68
|
+
}),
|
|
69
|
+
danger: style({
|
|
70
|
+
backgroundColor: vars.colours.intent.danger.background.standard,
|
|
71
|
+
color: vars.colours.intent.danger.foreground,
|
|
72
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.background.standard}, ${vars.elevation['2']}`,
|
|
73
|
+
}),
|
|
80
74
|
};
|
|
81
75
|
export const defaultStates = {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
76
|
+
primary: style({
|
|
77
|
+
':hover': {
|
|
78
|
+
color: vars.colours.intent.primary.foreground,
|
|
79
|
+
backgroundColor: vars.colours.intent.primary.background.strong,
|
|
80
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.background.strong}, ${vars.elevation['3']}`,
|
|
81
|
+
},
|
|
82
|
+
':active': {
|
|
83
|
+
transform: 'scale(0.97)',
|
|
84
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.primary.background.strong}, ${vars.elevation['1']}`,
|
|
85
|
+
color: vars.colours.intent.primary.foreground,
|
|
86
|
+
backgroundColor: vars.colours.intent.primary.background.strong,
|
|
87
|
+
},
|
|
88
|
+
}),
|
|
89
|
+
secondary: style({
|
|
90
|
+
':hover': {
|
|
91
|
+
color: vars.colours.intent.secondary.foreground,
|
|
92
|
+
backgroundColor: vars.colours.intent.secondary.background.strong,
|
|
93
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.foreground}, ${vars.elevation['3']}`,
|
|
94
|
+
},
|
|
95
|
+
':active': {
|
|
96
|
+
transform: 'scale(0.97)',
|
|
97
|
+
color: vars.colours.intent.secondary.foreground,
|
|
98
|
+
backgroundColor: vars.colours.intent.secondary.background.strong,
|
|
99
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.secondary.background.strong}, ${vars.elevation['1']}`,
|
|
100
|
+
},
|
|
101
|
+
}),
|
|
102
|
+
danger: style({
|
|
103
|
+
':hover': {
|
|
104
|
+
color: vars.colours.intent.danger.foreground,
|
|
105
|
+
backgroundColor: vars.colours.intent.danger.background.strong,
|
|
106
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.background.strong}, ${vars.elevation['3']}`,
|
|
107
|
+
},
|
|
108
|
+
':active': {
|
|
109
|
+
transform: 'scale(0.97)',
|
|
110
|
+
color: vars.colours.intent.danger.foreground,
|
|
111
|
+
backgroundColor: vars.colours.intent.danger.background.strong,
|
|
112
|
+
boxShadow: `inset 0 0 0 1px ${vars.colours.intent.danger.background.strong}, ${vars.elevation['1']}`,
|
|
113
|
+
},
|
|
114
|
+
}),
|
|
121
115
|
};
|
|
122
116
|
export const minimal = {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
117
|
+
defaults: style({
|
|
118
|
+
color: vars.typography.colour.neutral,
|
|
119
|
+
}),
|
|
120
|
+
noneRounded: style({
|
|
121
|
+
minWidth: '50px',
|
|
122
|
+
}),
|
|
129
123
|
};
|
|
130
124
|
export const minimalStates = {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
125
|
+
primary: style({
|
|
126
|
+
':hover': {
|
|
127
|
+
color: vars.colours.intent.primary.background.strong,
|
|
128
|
+
backgroundColor: vars.colours.intent.primary.background.mild,
|
|
129
|
+
boxShadow: 'none',
|
|
130
|
+
},
|
|
131
|
+
':active': {
|
|
132
|
+
color: vars.colours.intent.primary.background.strong,
|
|
133
|
+
backgroundColor: vars.colours.intent.primary.background.mild,
|
|
134
|
+
boxShadow: 'none',
|
|
135
|
+
},
|
|
136
|
+
}),
|
|
137
|
+
secondary: style({
|
|
138
|
+
':hover': {
|
|
139
|
+
color: vars.typography.colour.secondary,
|
|
140
|
+
backgroundColor: vars.colours.intent.secondary.background.strong,
|
|
141
|
+
boxShadow: 'none',
|
|
142
|
+
},
|
|
143
|
+
':active': {
|
|
144
|
+
color: vars.typography.colour.secondary,
|
|
145
|
+
backgroundColor: vars.colours.intent.secondary.background.strong,
|
|
146
|
+
boxShadow: 'none',
|
|
147
|
+
},
|
|
148
|
+
}),
|
|
149
|
+
danger: style({
|
|
150
|
+
':hover': {
|
|
151
|
+
color: vars.colours.intent.danger.background.strong,
|
|
152
|
+
backgroundColor: vars.colours.intent.danger.background.mild,
|
|
153
|
+
boxShadow: 'none',
|
|
154
|
+
},
|
|
155
|
+
':active': {
|
|
156
|
+
color: vars.colours.intent.danger.background.strong,
|
|
157
|
+
backgroundColor: vars.colours.intent.danger.background.mild,
|
|
158
|
+
boxShadow: 'none',
|
|
159
|
+
},
|
|
160
|
+
}),
|
|
167
161
|
};
|
|
168
|
-
|
|
169
|
-
__vanilla_filescope__.endFileScope();
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IconType } from '@autoguru/icons';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { AriaAttributes, ButtonHTMLAttributes, ElementType, ReactElement } from 'react';
|
|
4
|
+
import * as styles from './Button.css';
|
|
5
|
+
declare type ButtonPrimitive = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
6
|
+
declare type AllowedChildren = string | IconType;
|
|
7
|
+
export interface Props extends Pick<ButtonPrimitive, 'id' | 'onClick' | 'type' | 'className'>, Pick<AriaAttributes, 'aria-label'> {
|
|
8
|
+
children: AllowedChildren | AllowedChildren[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
is?: ElementType | ReactElement;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
isFullWidth?: boolean;
|
|
13
|
+
minimal?: boolean;
|
|
14
|
+
rounded?: boolean;
|
|
15
|
+
size?: keyof typeof styles.size;
|
|
16
|
+
variant?: keyof typeof styles.variant;
|
|
17
|
+
}
|
|
18
|
+
export declare const Button: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../lib/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACN,cAAc,EACd,oBAAoB,EAIpB,WAAW,EAGX,YAAY,EAEZ,MAAM,OAAO,CAAC;AAOf,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AAEvC,aAAK,eAAe,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE/D,aAAK,eAAe,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzC,MAAM,WAAW,KAChB,SAAQ,IAAI,CAAC,eAAe,EAAE,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,CAAC,EACrE,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC;IACnC,QAAQ,EAAE,eAAe,GAAG,eAAe,EAAE,CAAC;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC;CACtC;AAqBD,eAAO,MAAM,MAAM,iFAmHlB,CAAC"}
|
|
@@ -1,122 +1,82 @@
|
|
|
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); if (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 = 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; }
|
|
8
|
-
|
|
9
1
|
import clsx from 'clsx';
|
|
10
2
|
import * as React from 'react';
|
|
11
|
-
import { cloneElement, createElement, forwardRef, isValidElement, useMemo } from 'react';
|
|
12
|
-
import { Box, useBoxStyles } from
|
|
13
|
-
import { Icon } from
|
|
14
|
-
import { ProgressSpinner } from
|
|
15
|
-
import { useTextStyles } from
|
|
16
|
-
import * as styles from
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
|
|
3
|
+
import { cloneElement, createElement, forwardRef, isValidElement, useMemo, } from 'react';
|
|
4
|
+
import { Box, useBoxStyles } from '../Box';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { ProgressSpinner } from '../ProgressSpinner';
|
|
7
|
+
import { useTextStyles } from '../Text';
|
|
8
|
+
import * as styles from './Button.css';
|
|
19
9
|
const getSpinnerColour = (variant, minimal) => minimal || variant === 'secondary' ? 'secondary' : 'light';
|
|
20
|
-
|
|
21
|
-
const getBorderRadius = rounded => rounded ? 'pill' : '1';
|
|
22
|
-
|
|
10
|
+
const getBorderRadius = (rounded) => rounded ? 'pill' : '1';
|
|
23
11
|
const getPadding = (size, loading) => {
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
if (loading)
|
|
13
|
+
return 'none';
|
|
14
|
+
return size === 'small' ? '3' : '4';
|
|
26
15
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
16
|
+
export const Button = forwardRef(({ children, className = '', disabled = false, id, is: Component = 'button', isLoading = false, isFullWidth = false, minimal = false, onClick, rounded = false, size = 'medium', type = 'button', variant = 'secondary', 'aria-label': ariaLabel, }, ref) => {
|
|
17
|
+
const { isSingleIconChild, props: maybeIconProps } = useMemo(() => {
|
|
18
|
+
const maybeIcon = isValidElement(children) && children.type === Icon;
|
|
19
|
+
const maybeProps = children;
|
|
20
|
+
return maybeIcon
|
|
21
|
+
? {
|
|
22
|
+
isSingleIconChild: true,
|
|
23
|
+
props: maybeProps.props,
|
|
24
|
+
}
|
|
25
|
+
: { isSingleIconChild: false };
|
|
26
|
+
}, [children]);
|
|
27
|
+
const props = {
|
|
28
|
+
type: Component === 'button' ? type : undefined,
|
|
29
|
+
id,
|
|
30
|
+
onClick,
|
|
31
|
+
disabled: disabled || isLoading,
|
|
32
|
+
'aria-label': ariaLabel,
|
|
33
|
+
className: clsx(useBoxStyles({
|
|
34
|
+
is: typeof Component === 'string' ? Component : undefined,
|
|
35
|
+
display: 'inlineBlock',
|
|
36
|
+
overflow: 'hidden',
|
|
37
|
+
borderRadius: getBorderRadius(rounded),
|
|
38
|
+
textAlign: 'center',
|
|
39
|
+
borderWidth: 'none',
|
|
40
|
+
paddingY: 'none',
|
|
41
|
+
paddingX: getPadding(size, isLoading),
|
|
42
|
+
width: isFullWidth ? 'full' : void 0,
|
|
43
|
+
}), useTextStyles({
|
|
44
|
+
colour: 'white',
|
|
45
|
+
fontWeight: 'semiBold',
|
|
46
|
+
size: size === 'medium' ? '4' : '3',
|
|
47
|
+
}), styles.root, getButtonStates(styles, variant, disabled || isLoading, minimal, rounded), !minimal && styles.variant[variant], getButtonSize(styles, size, rounded, isSingleIconChild && !isLoading), {
|
|
48
|
+
[styles.disabled]: disabled,
|
|
49
|
+
[styles.enabled]: !disabled && !isLoading,
|
|
50
|
+
[styles.loading]: isLoading,
|
|
51
|
+
}, className),
|
|
52
|
+
ref,
|
|
58
53
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
is: typeof Component === 'string' ? Component : undefined,
|
|
68
|
-
display: 'inlineBlock',
|
|
69
|
-
overflow: 'hidden',
|
|
70
|
-
borderRadius: getBorderRadius(rounded),
|
|
71
|
-
textAlign: 'center',
|
|
72
|
-
borderWidth: 'none',
|
|
73
|
-
paddingY: 'none',
|
|
74
|
-
paddingX: getPadding(size, isLoading),
|
|
75
|
-
width: isFullWidth ? 'full' : void 0
|
|
76
|
-
}), useTextStyles({
|
|
77
|
-
colour: 'white',
|
|
78
|
-
fontWeight: 'semiBold',
|
|
79
|
-
size: size === 'medium' ? '4' : '3'
|
|
80
|
-
}), styles.root, getButtonStates(styles, variant, disabled || isLoading, minimal, rounded), !minimal && styles.variant[variant], getButtonSize(styles, size, rounded, isSingleIconChild && !isLoading), {
|
|
81
|
-
[styles.disabled]: disabled,
|
|
82
|
-
[styles.enabled]: !disabled && !isLoading,
|
|
83
|
-
[styles.loading]: isLoading
|
|
84
|
-
}, className),
|
|
85
|
-
ref
|
|
86
|
-
};
|
|
87
|
-
const child = isLoading ? _jsx(ProgressSpinner, {
|
|
88
|
-
className: styles.spinner,
|
|
89
|
-
colour: getSpinnerColour(variant, minimal)
|
|
90
|
-
}) : _jsx(Box, {
|
|
91
|
-
alignItems: "center",
|
|
92
|
-
justifyContent: "center",
|
|
93
|
-
height: "full",
|
|
94
|
-
className: styles.body,
|
|
95
|
-
children: isSingleIconChild && maybeIconProps ? _jsx(Icon, _objectSpread({
|
|
96
|
-
size: ((_maybeIconProps$size = maybeIconProps.size) !== null && _maybeIconProps$size !== void 0 ? _maybeIconProps$size : size === 'small') ? 'small' : 'medium'
|
|
97
|
-
}, maybeIconProps)) : children
|
|
98
|
-
});
|
|
99
|
-
return isValidElement(Component) ? cloneElement(Component, _objectSpread({
|
|
100
|
-
ref
|
|
101
|
-
}, props), child) : createElement(Component, _objectSpread({
|
|
102
|
-
ref
|
|
103
|
-
}, props), child);
|
|
54
|
+
const child = isLoading ? (React.createElement(ProgressSpinner, { className: styles.spinner, colour: getSpinnerColour(variant, minimal) })) : (React.createElement(Box, { alignItems: "center", justifyContent: "center", height: "full", className: styles.body }, isSingleIconChild && maybeIconProps ? (React.createElement(Icon, { size: maybeIconProps.size ?? size === 'small'
|
|
55
|
+
? 'small'
|
|
56
|
+
: 'medium', ...maybeIconProps })) : (children)));
|
|
57
|
+
return isValidElement(Component)
|
|
58
|
+
?
|
|
59
|
+
cloneElement(Component, { ref, ...props }, child)
|
|
60
|
+
:
|
|
61
|
+
createElement(Component, { ref, ...props }, child);
|
|
104
62
|
});
|
|
105
|
-
|
|
106
63
|
const getButtonStates = (buttonStyles, variant, disabled, minimal, rounded) => {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
64
|
+
if (disabled)
|
|
65
|
+
return minimal
|
|
66
|
+
? clsx(buttonStyles.minimal.defaults, {
|
|
67
|
+
[buttonStyles.minimal.noneRounded]: !rounded,
|
|
68
|
+
})
|
|
69
|
+
: '';
|
|
70
|
+
if (minimal)
|
|
71
|
+
return clsx(styles.minimal.defaults, styles.minimalStates[variant], {
|
|
72
|
+
[styles.minimal.noneRounded]: !rounded,
|
|
73
|
+
});
|
|
74
|
+
return styles.defaultStates[variant];
|
|
114
75
|
};
|
|
115
|
-
|
|
116
76
|
const getButtonSize = (buttonStyles, size, rounded, iconOnly) => {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
};
|
|
77
|
+
const currentSize = buttonStyles.size[size];
|
|
78
|
+
return clsx(currentSize.default, {
|
|
79
|
+
[currentSize.rounded]: rounded,
|
|
80
|
+
[currentSize.iconOnly]: iconOnly,
|
|
81
|
+
});
|
|
82
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckBox.css.d.ts","sourceRoot":"","sources":["../../../lib/components/CheckBox/CheckBox.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,QAMf,CAAC;AAEH,eAAO,MAAM,IAAI,wCAef,CAAC"}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
-
|
|
5
|
-
__vanilla_filescope__.setFileScope("lib/components/CheckBox/CheckBox.css.ts", "@autoguru/overdrive");
|
|
6
|
-
|
|
7
1
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
8
|
-
import { vars } from
|
|
2
|
+
import { vars } from '../../themes/base/vars.css';
|
|
9
3
|
export const icon = style({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
width: vars.space['4'],
|
|
14
|
-
height: vars.space['4']
|
|
15
|
-
}, "icon");
|
|
16
|
-
export const base = styleVariants({
|
|
17
|
-
default: {
|
|
18
|
-
zIndex: 0,
|
|
19
|
-
borderRadius: vars.border.radius['min'],
|
|
20
|
-
top: vars.space['3'],
|
|
21
|
-
left: vars.space['3'],
|
|
4
|
+
zIndex: 1,
|
|
5
|
+
top: `calc(50% - 0.5*(${vars.space['4']}))`,
|
|
6
|
+
left: `calc(50% - 0.5*(${vars.space['4']}))`,
|
|
22
7
|
width: vars.space['4'],
|
|
23
8
|
height: vars.space['4'],
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
9
|
+
});
|
|
10
|
+
export const base = styleVariants({
|
|
11
|
+
default: {
|
|
12
|
+
zIndex: 0,
|
|
13
|
+
borderRadius: vars.border.radius['min'],
|
|
14
|
+
top: vars.space['3'],
|
|
15
|
+
left: vars.space['3'],
|
|
16
|
+
width: vars.space['4'],
|
|
17
|
+
height: vars.space['4'],
|
|
18
|
+
transition: `border-color 0.2s ${vars.animation.easing.decelerate} 0s, background-color 0.2s ${vars.animation.easing.decelerate} 0s`,
|
|
19
|
+
},
|
|
20
|
+
selected: {
|
|
21
|
+
borderColor: vars.colours.intent.primary.background.standard,
|
|
22
|
+
backgroundColor: vars.colours.intent.primary.background.standard,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export interface Props {
|
|
4
|
+
className?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
name?: string;
|
|
8
|
+
value: string;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
onClick?(checked: boolean): void;
|
|
11
|
+
onChange?(checked: boolean): void;
|
|
12
|
+
}
|
|
13
|
+
export declare const CheckBox: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
+
//# sourceMappingURL=CheckBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../lib/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAW9C,MAAM,WAAW,KAAK;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,CAAC;IAEpB,OAAO,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAEjC,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,QAAQ,gFAiDpB,CAAC"}
|