@autoguru/overdrive 4.43.6-next.9 → 4.43.7-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Badge/Badge.css.d.ts +5 -5
- package/dist/components/Box/Box.d.ts +7 -2
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Box/Box.js +3 -5
- package/dist/components/Box/newBox/boxStyles.d.ts +32 -37
- package/dist/components/Box/newBox/boxStyles.d.ts.map +1 -1
- package/dist/components/Box/newBox/boxStyles.js +2 -2
- package/dist/components/Box/newBox/useBox.d.ts +1 -6
- package/dist/components/Box/newBox/useBox.d.ts.map +1 -1
- package/dist/components/Box/useBoxStyles.js +1 -1
- package/dist/components/BulletText/BulletText.js +1 -1
- package/dist/components/Button/Button.css.d.ts +27 -27
- package/dist/components/Columns/Column.css.js +2 -2
- package/dist/components/Columns/ColumnGrid.css.js +4 -4
- package/dist/components/Columns/Columns.css.js +4 -4
- package/dist/components/EditableText/EditableText.js +1 -1
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.js +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/NumberBubble/NumberBubble.js +1 -1
- package/dist/components/StandardModal/StandardModal.js +4 -4
- package/dist/components/Tabs/Tab.css.d.ts +8 -8
- package/dist/components/Tabs/Tab.js +1 -1
- package/dist/components/Tabs/TabList.css.d.ts +2 -2
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Text/textStyles.js +1 -1
- package/dist/components/TextBubble/TextBubble.js +1 -1
- package/dist/components/TextLink/TextLink.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +4 -3
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +47 -16
- package/dist/components/private/CheckableBase/CheckableBase.js +1 -1
- package/dist/styles/{reset.css.d.ts → element.css.d.ts} +1 -1
- package/dist/styles/element.css.d.ts.map +1 -0
- package/dist/styles/{reset.css.js → element.css.js} +1 -1
- package/dist/styles/{resetStyles.d.ts → elementStyles.d.ts} +1 -1
- package/dist/styles/elementStyles.d.ts.map +1 -0
- package/dist/styles/{resetStyles.js → elementStyles.js} +1 -1
- package/dist/styles/index.d.ts +2 -2
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.js +2 -2
- package/dist/styles/sprinkles.css.d.ts +31 -37
- package/dist/styles/sprinkles.css.d.ts.map +1 -1
- package/dist/styles/sprinkles.css.js +8 -10
- package/dist/styles/vars.css.d.ts +1 -1
- package/dist/styles/vars.css.d.ts.map +1 -1
- package/dist/themes/base/index.d.ts +270 -270
- package/dist/themes/flat_red/index.d.ts +270 -270
- package/dist/themes/index.d.ts +270 -270
- package/dist/themes/makeTheme.d.ts +268 -268
- package/dist/themes/neutral/index.d.ts +269 -269
- package/dist/themes/theme.css.d.ts +269 -269
- package/dist/utils/index.js +2 -2
- package/package.json +47 -47
- package/dist/components/Actions/Actions.spec.d.ts +0 -2
- package/dist/components/Actions/Actions.spec.d.ts.map +0 -1
- package/dist/components/Actions/Actions.stories.d.ts +0 -18
- package/dist/components/Actions/Actions.stories.d.ts.map +0 -1
- package/dist/components/Alert/Alert.spec.d.ts +0 -2
- package/dist/components/Alert/Alert.spec.d.ts.map +0 -1
- package/dist/components/Alert/Alert.stories.d.ts +0 -27
- package/dist/components/Alert/Alert.stories.d.ts.map +0 -1
- package/dist/components/Anchor/Anchor.spec.d.ts +0 -2
- package/dist/components/Anchor/Anchor.spec.d.ts.map +0 -1
- package/dist/components/Anchor/Anchor.stories.d.ts +0 -35
- package/dist/components/Anchor/Anchor.stories.d.ts.map +0 -1
- package/dist/components/AutoSuggest/AutoSuggest.stories.d.ts +0 -10
- package/dist/components/AutoSuggest/AutoSuggest.stories.d.ts.map +0 -1
- package/dist/components/Badge/Badge.spec.d.ts +0 -2
- package/dist/components/Badge/Badge.spec.d.ts.map +0 -1
- package/dist/components/Badge/Badge.stories.d.ts +0 -16
- package/dist/components/Badge/Badge.stories.d.ts.map +0 -1
- package/dist/components/Box/Box.spec.d.ts +0 -2
- package/dist/components/Box/Box.spec.d.ts.map +0 -1
- package/dist/components/Box/Box.stories.d.ts +0 -9
- package/dist/components/Box/Box.stories.d.ts.map +0 -1
- package/dist/components/BulletList/Bullet.spec.d.ts +0 -2
- package/dist/components/BulletList/Bullet.spec.d.ts.map +0 -1
- package/dist/components/BulletList/Bullet.stories.d.ts +0 -15
- package/dist/components/BulletList/Bullet.stories.d.ts.map +0 -1
- package/dist/components/BulletList/BulletList.spec.d.ts +0 -2
- package/dist/components/BulletList/BulletList.spec.d.ts.map +0 -1
- package/dist/components/BulletText/BulletText.spec.d.ts +0 -2
- package/dist/components/BulletText/BulletText.spec.d.ts.map +0 -1
- package/dist/components/BulletText/BulletText.stories.d.ts +0 -32
- package/dist/components/BulletText/BulletText.stories.d.ts.map +0 -1
- package/dist/components/Button/Button.spec.d.ts +0 -2
- package/dist/components/Button/Button.spec.d.ts.map +0 -1
- package/dist/components/Button/Button.stories.d.ts +0 -13
- package/dist/components/Button/Button.stories.d.ts.map +0 -1
- package/dist/components/CheckBox/CheckBox.spec.d.ts +0 -2
- package/dist/components/CheckBox/CheckBox.spec.d.ts.map +0 -1
- package/dist/components/CheckBox/CheckBox.stories.d.ts +0 -22
- package/dist/components/CheckBox/CheckBox.stories.d.ts.map +0 -1
- package/dist/components/ColourInput/ColourInput.spec.d.ts +0 -2
- package/dist/components/ColourInput/ColourInput.spec.d.ts.map +0 -1
- package/dist/components/ColourInput/ColourInput.stories.d.ts +0 -8
- package/dist/components/ColourInput/ColourInput.stories.d.ts.map +0 -1
- package/dist/components/Columns/Columns.stories.d.ts +0 -8
- package/dist/components/Columns/Columns.stories.d.ts.map +0 -1
- package/dist/components/DateInput/DateInput.spec.d.ts +0 -2
- package/dist/components/DateInput/DateInput.spec.d.ts.map +0 -1
- package/dist/components/DateInput/DateInput.stories.d.ts +0 -12
- package/dist/components/DateInput/DateInput.stories.d.ts.map +0 -1
- package/dist/components/DatePicker/DatePicker.spec.d.ts +0 -2
- package/dist/components/DatePicker/DatePicker.spec.d.ts.map +0 -1
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -42
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +0 -1
- package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts +0 -8
- package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts.map +0 -1
- package/dist/components/DividerLine/DividerLine.spec.d.ts +0 -2
- package/dist/components/DividerLine/DividerLine.spec.d.ts.map +0 -1
- package/dist/components/DividerLine/DividerLine.stories.d.ts +0 -43
- package/dist/components/DividerLine/DividerLine.stories.d.ts.map +0 -1
- package/dist/components/DropDown/DropDown.spec.d.ts +0 -2
- package/dist/components/DropDown/DropDown.spec.d.ts.map +0 -1
- package/dist/components/DropDown/DropDown.stories.d.ts +0 -61
- package/dist/components/DropDown/DropDown.stories.d.ts.map +0 -1
- package/dist/components/EditableText/EditableText.spec.d.ts +0 -2
- package/dist/components/EditableText/EditableText.spec.d.ts.map +0 -1
- package/dist/components/EditableText/EditableText.stories.d.ts +0 -23
- package/dist/components/EditableText/EditableText.stories.d.ts.map +0 -1
- package/dist/components/FillHeightBox/FillHeightBox.stories.d.ts +0 -11
- package/dist/components/FillHeightBox/FillHeightBox.stories.d.ts.map +0 -1
- package/dist/components/Flyout/Flyout.stories.d.ts +0 -32
- package/dist/components/Flyout/Flyout.stories.d.ts.map +0 -1
- package/dist/components/Heading/Heading.stories.d.ts +0 -855
- package/dist/components/Heading/Heading.stories.d.ts.map +0 -1
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.spec.d.ts +0 -2
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.spec.d.ts.map +0 -1
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.stories.d.ts +0 -34
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.stories.d.ts.map +0 -1
- package/dist/components/Icon/Icon.spec.d.ts +0 -2
- package/dist/components/Icon/Icon.spec.d.ts.map +0 -1
- package/dist/components/Icon/Icon.stories.d.ts +0 -40
- package/dist/components/Icon/Icon.stories.d.ts.map +0 -1
- package/dist/components/Image/Image.spec.d.ts +0 -2
- package/dist/components/Image/Image.spec.d.ts.map +0 -1
- package/dist/components/Image/Image.stories.d.ts +0 -55
- package/dist/components/Image/Image.stories.d.ts.map +0 -1
- package/dist/components/Inline/Inline.spec.d.ts +0 -2
- package/dist/components/Inline/Inline.spec.d.ts.map +0 -1
- package/dist/components/Inline/Inline.stories.d.ts +0 -11
- package/dist/components/Inline/Inline.stories.d.ts.map +0 -1
- package/dist/components/IntentStripe/IntentStripe.spec.d.ts +0 -2
- package/dist/components/IntentStripe/IntentStripe.spec.d.ts.map +0 -1
- package/dist/components/IntentStripe/IntentStripe.stories.d.ts +0 -22
- package/dist/components/IntentStripe/IntentStripe.stories.d.ts.map +0 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.spec.d.ts +0 -2
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.spec.d.ts.map +0 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.stories.d.ts +0 -19
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.stories.d.ts.map +0 -1
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts +0 -852
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts.map +0 -1
- package/dist/components/Meta/Meta.spec.d.ts +0 -2
- package/dist/components/Meta/Meta.spec.d.ts.map +0 -1
- package/dist/components/Meta/Meta.stories.d.ts +0 -30
- package/dist/components/Meta/Meta.stories.d.ts.map +0 -1
- package/dist/components/MinimalModal/MinimalModal.spec.d.ts +0 -2
- package/dist/components/MinimalModal/MinimalModal.spec.d.ts.map +0 -1
- package/dist/components/MinimalModal/MinimalModal.stories.d.ts +0 -38
- package/dist/components/MinimalModal/MinimalModal.stories.d.ts.map +0 -1
- package/dist/components/Modal/Modal.spec.d.ts +0 -2
- package/dist/components/Modal/Modal.spec.d.ts.map +0 -1
- package/dist/components/Modal/Modal.stories.d.ts +0 -16
- package/dist/components/Modal/Modal.stories.d.ts.map +0 -1
- package/dist/components/NumberBubble/NumberBubble.spec.d.ts +0 -2
- package/dist/components/NumberBubble/NumberBubble.spec.d.ts.map +0 -1
- package/dist/components/NumberBubble/NumberBubble.stories.d.ts +0 -11
- package/dist/components/NumberBubble/NumberBubble.stories.d.ts.map +0 -1
- package/dist/components/NumberInput/NumberInput.spec.d.ts +0 -2
- package/dist/components/NumberInput/NumberInput.spec.d.ts.map +0 -1
- package/dist/components/NumberInput/NumberInput.stories.d.ts +0 -13
- package/dist/components/NumberInput/NumberInput.stories.d.ts.map +0 -1
- package/dist/components/OptionGrid/OptionGrid.stories.d.ts +0 -9
- package/dist/components/OptionGrid/OptionGrid.stories.d.ts.map +0 -1
- package/dist/components/OptionList/OptionList.stories.d.ts +0 -10
- package/dist/components/OptionList/OptionList.stories.d.ts.map +0 -1
- package/dist/components/OrderedList/OrderedList.stories.d.ts +0 -13
- package/dist/components/OrderedList/OrderedList.stories.d.ts.map +0 -1
- package/dist/components/OutsideClick/OutsideClick.spec.d.ts +0 -2
- package/dist/components/OutsideClick/OutsideClick.spec.d.ts.map +0 -1
- package/dist/components/OutsideClick/OutsideClick.stories.d.ts +0 -23
- package/dist/components/OutsideClick/OutsideClick.stories.d.ts.map +0 -1
- package/dist/components/OverdriveProvider/OverdriveProvider.stories.d.ts +0 -8
- package/dist/components/OverdriveProvider/OverdriveProvider.stories.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.spec.d.ts +0 -2
- package/dist/components/Pagination/Pagination.spec.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.stories.d.ts +0 -14
- package/dist/components/Pagination/Pagination.stories.d.ts.map +0 -1
- package/dist/components/Portal/Portal.spec.d.ts +0 -2
- package/dist/components/Portal/Portal.spec.d.ts.map +0 -1
- package/dist/components/Portal/Portal.stories.d.ts +0 -29
- package/dist/components/Portal/Portal.stories.d.ts.map +0 -1
- package/dist/components/Positioner/Positioner.spec.d.ts +0 -2
- package/dist/components/Positioner/Positioner.spec.d.ts.map +0 -1
- package/dist/components/Positioner/Positioner.stories.d.ts +0 -33
- package/dist/components/Positioner/Positioner.stories.d.ts.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.spec.d.ts +0 -2
- package/dist/components/ProgressBar/ProgressBar.spec.d.ts.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +0 -13
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts.map +0 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.spec.d.ts +0 -2
- package/dist/components/ProgressBarGroup/ProgressBarGroup.spec.d.ts.map +0 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.stories.d.ts +0 -10
- package/dist/components/ProgressBarGroup/ProgressBarGroup.stories.d.ts.map +0 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.stories.d.ts +0 -21
- package/dist/components/ProgressSpinner/ProgressSpinner.stories.d.ts.map +0 -1
- package/dist/components/Radio/Radio.spec.d.ts +0 -2
- package/dist/components/Radio/Radio.spec.d.ts.map +0 -1
- package/dist/components/Radio/Radio.stories.d.ts +0 -17
- package/dist/components/Radio/Radio.stories.d.ts.map +0 -1
- package/dist/components/ScrollPane/ScrollPane.stories.d.ts +0 -11
- package/dist/components/ScrollPane/ScrollPane.stories.d.ts.map +0 -1
- package/dist/components/SearchBar/SearchBar.stories.d.ts +0 -7
- package/dist/components/SearchBar/SearchBar.stories.d.ts.map +0 -1
- package/dist/components/Section/Section.spec.d.ts +0 -2
- package/dist/components/Section/Section.spec.d.ts.map +0 -1
- package/dist/components/Section/Section.stories.d.ts +0 -15
- package/dist/components/Section/Section.stories.d.ts.map +0 -1
- package/dist/components/SelectInput/SelectInput.spec.d.ts +0 -2
- package/dist/components/SelectInput/SelectInput.spec.d.ts.map +0 -1
- package/dist/components/SelectInput/SelectInput.stories.d.ts +0 -12
- package/dist/components/SelectInput/SelectInput.stories.d.ts.map +0 -1
- package/dist/components/SimplePagination/SimplePagination.spec.d.ts +0 -2
- package/dist/components/SimplePagination/SimplePagination.spec.d.ts.map +0 -1
- package/dist/components/SimplePagination/SimplePagination.stories.d.ts +0 -18
- package/dist/components/SimplePagination/SimplePagination.stories.d.ts.map +0 -1
- package/dist/components/SliderProgress/ProgressSteps.spec.d.ts +0 -2
- package/dist/components/SliderProgress/ProgressSteps.spec.d.ts.map +0 -1
- package/dist/components/SliderProgress/SliderProgress.stories.d.ts +0 -25
- package/dist/components/SliderProgress/SliderProgress.stories.d.ts.map +0 -1
- package/dist/components/Stack/Stack.spec.d.ts +0 -2
- package/dist/components/Stack/Stack.spec.d.ts.map +0 -1
- package/dist/components/Stack/Stack.stories.d.ts +0 -10
- package/dist/components/Stack/Stack.stories.d.ts.map +0 -1
- package/dist/components/StandardModal/StandardModal.spec.d.ts +0 -2
- package/dist/components/StandardModal/StandardModal.spec.d.ts.map +0 -1
- package/dist/components/StandardModal/StandardModal.stories.d.ts +0 -15
- package/dist/components/StandardModal/StandardModal.stories.d.ts.map +0 -1
- package/dist/components/StarRating/StarRating.spec.d.ts +0 -2
- package/dist/components/StarRating/StarRating.spec.d.ts.map +0 -1
- package/dist/components/StarRating/StarRating.stories.d.ts +0 -28
- package/dist/components/StarRating/StarRating.stories.d.ts.map +0 -1
- package/dist/components/Stepper/Stepper.spec.d.ts +0 -2
- package/dist/components/Stepper/Stepper.spec.d.ts.map +0 -1
- package/dist/components/Stepper/Stepper.stories.d.ts +0 -13
- package/dist/components/Stepper/Stepper.stories.d.ts.map +0 -1
- package/dist/components/StickyBox/StickyBox.stories.d.ts +0 -12
- package/dist/components/StickyBox/StickyBox.stories.d.ts.map +0 -1
- package/dist/components/Switch/Switch.spec.d.ts +0 -2
- package/dist/components/Switch/Switch.spec.d.ts.map +0 -1
- package/dist/components/Switch/Switch.stories.d.ts +0 -9
- package/dist/components/Switch/Switch.stories.d.ts.map +0 -1
- package/dist/components/Table/Table.spec.d.ts +0 -2
- package/dist/components/Table/Table.spec.d.ts.map +0 -1
- package/dist/components/Table/Table.stories.d.ts +0 -7
- package/dist/components/Table/Table.stories.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.spec.d.ts +0 -2
- package/dist/components/Tabs/Tabs.spec.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.stories.d.ts +0 -12
- package/dist/components/Tabs/Tabs.stories.d.ts.map +0 -1
- package/dist/components/Text/Text.stories.d.ts +0 -11
- package/dist/components/Text/Text.stories.d.ts.map +0 -1
- package/dist/components/TextAreaInput/TextAreaInput.spec.d.ts +0 -2
- package/dist/components/TextAreaInput/TextAreaInput.spec.d.ts.map +0 -1
- package/dist/components/TextAreaInput/TextAreaInput.stories.d.ts +0 -10
- package/dist/components/TextAreaInput/TextAreaInput.stories.d.ts.map +0 -1
- package/dist/components/TextBubble/TextBubble.spec.d.ts +0 -2
- package/dist/components/TextBubble/TextBubble.spec.d.ts.map +0 -1
- package/dist/components/TextBubble/TextBubble.stories.d.ts +0 -12
- package/dist/components/TextBubble/TextBubble.stories.d.ts.map +0 -1
- package/dist/components/TextContainer/TextContainer.stories.d.ts +0 -34
- package/dist/components/TextContainer/TextContainer.stories.d.ts.map +0 -1
- package/dist/components/TextInput/TextInput.spec.d.ts +0 -2
- package/dist/components/TextInput/TextInput.spec.d.ts.map +0 -1
- package/dist/components/TextInput/TextInput.stories.d.ts +0 -18
- package/dist/components/TextInput/TextInput.stories.d.ts.map +0 -1
- package/dist/components/TextLink/TextLink.stories.d.ts +0 -368
- package/dist/components/TextLink/TextLink.stories.d.ts.map +0 -1
- package/dist/components/Toaster/Toast.stories.d.ts +0 -16
- package/dist/components/Toaster/Toast.stories.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.spec.d.ts +0 -2
- package/dist/components/Tooltip/Tooltip.spec.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -53
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +0 -27
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts.map +0 -1
- package/dist/components/private/InputBase/NotchedBase.spec.d.ts +0 -2
- package/dist/components/private/InputBase/NotchedBase.spec.d.ts.map +0 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.stories.d.ts +0 -10
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.stories.d.ts.map +0 -1
- package/dist/hooks/useMedia/useMedia.stories.d.ts +0 -12
- package/dist/hooks/useMedia/useMedia.stories.d.ts.map +0 -1
- package/dist/hooks/useResponsiveValue/useResponsiveValue.stories.d.ts +0 -12
- package/dist/hooks/useResponsiveValue/useResponsiveValue.stories.d.ts.map +0 -1
- package/dist/stories/borders.stories.d.ts +0 -6
- package/dist/stories/borders.stories.d.ts.map +0 -1
- package/dist/stories/helpers/index.d.ts +0 -20
- package/dist/stories/helpers/index.d.ts.map +0 -1
- package/dist/stories/helpers/sprinkles.css.d.ts +0 -300
- package/dist/stories/helpers/sprinkles.css.d.ts.map +0 -1
- package/dist/stories/helpers/stack.css.d.ts +0 -35
- package/dist/stories/helpers/stack.css.d.ts.map +0 -1
- package/dist/stories/helpers/styles.css.d.ts +0 -35
- package/dist/stories/helpers/styles.css.d.ts.map +0 -1
- package/dist/stories/icons.stories.d.ts +0 -6
- package/dist/stories/icons.stories.d.ts.map +0 -1
- package/dist/stories/intentional-colours.stories.d.ts +0 -6
- package/dist/stories/intentional-colours.stories.d.ts.map +0 -1
- package/dist/stories/palette.stories.d.ts +0 -6
- package/dist/stories/palette.stories.d.ts.map +0 -1
- package/dist/stories/shared/argTypes-box.d.ts +0 -6
- package/dist/stories/shared/argTypes-box.d.ts.map +0 -1
- package/dist/stories/shared/argTypes.d.ts +0 -18
- package/dist/stories/shared/argTypes.d.ts.map +0 -1
- package/dist/stories/space.stories.d.ts +0 -6
- package/dist/stories/space.stories.d.ts.map +0 -1
- package/dist/stories/theme.stories.d.ts +0 -6
- package/dist/stories/theme.stories.d.ts.map +0 -1
- package/dist/styles/reset.css.d.ts.map +0 -1
- package/dist/styles/resetStyles.d.ts.map +0 -1
- package/dist/test/vitest.setup.d.ts +0 -2
- package/dist/test/vitest.setup.d.ts.map +0 -1
- package/dist/test/vitest.setup.js +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { resetStyles } from "../../styles/
|
|
4
|
+
import { resetStyles } from "../../styles/elementStyles.js";
|
|
5
5
|
import { sprinkles, sprinklesLegacyText } from "../../styles/sprinkles.css.js";
|
|
6
6
|
import { typographyStyles } from "../../styles/typography.css.js";
|
|
7
7
|
import { onlyString } from "../../utils/propGuards.js";
|
|
@@ -50,7 +50,7 @@ export const TextBubble = _ref => {
|
|
|
50
50
|
return _jsx(Box, _objectSpread(_objectSpread({
|
|
51
51
|
borderRadius: "full",
|
|
52
52
|
backgroundColour: "gray900",
|
|
53
|
-
display: "
|
|
53
|
+
display: "inline-block",
|
|
54
54
|
position: "relative",
|
|
55
55
|
padding: valuePaddingMap[size]
|
|
56
56
|
}, boxProps), {}, {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { FunctionComponent,
|
|
1
|
+
import { type FunctionComponent, type ReactNode } from 'react';
|
|
2
|
+
import type { TestId } from '../../types';
|
|
2
3
|
import { EAlignment } from '../Positioner/alignment';
|
|
3
4
|
type ToolTipSize = 'medium' | 'large';
|
|
4
|
-
export interface TooltipProps {
|
|
5
|
+
export interface TooltipProps extends TestId {
|
|
5
6
|
size?: ToolTipSize;
|
|
6
7
|
isOpen?: boolean;
|
|
7
8
|
label: string;
|
|
8
9
|
alignment?: EAlignment;
|
|
9
|
-
children:
|
|
10
|
+
children: ReactNode;
|
|
10
11
|
closeAfter?: number;
|
|
11
12
|
}
|
|
12
13
|
export declare const Tooltip: FunctionComponent<TooltipProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../lib/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../lib/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAc,EAEb,KAAK,iBAAiB,EACtB,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKrD,KAAK,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtC,MAAM,WAAW,YAAa,SAAQ,MAAM;IAC3C,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAkGnD,CAAC"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
import React, { useCallback, useEffect, useRef, useState, useId } from 'react';
|
|
7
|
+
import { sprinkles } from "../../styles/sprinkles.css.js";
|
|
8
|
+
import { dataAttrs } from "../../utils/dataAttrs.js";
|
|
5
9
|
import { Box } from "../Box/Box.js";
|
|
6
10
|
import { Positioner } from "../Positioner/Positioner.js";
|
|
7
11
|
import { EAlignment } from "../Positioner/alignment.js";
|
|
8
12
|
import { Text } from "../Text/Text.js";
|
|
9
13
|
import * as styles from "./Tooltip.css.js";
|
|
10
|
-
import {
|
|
14
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
15
|
const sizeMap = {
|
|
12
16
|
medium: '2',
|
|
13
17
|
large: '3'
|
|
@@ -19,11 +23,13 @@ export const Tooltip = _ref => {
|
|
|
19
23
|
label,
|
|
20
24
|
children,
|
|
21
25
|
size = 'medium',
|
|
22
|
-
closeAfter = null
|
|
26
|
+
closeAfter = null,
|
|
27
|
+
testId
|
|
23
28
|
} = _ref;
|
|
29
|
+
const tooltipId = useId();
|
|
24
30
|
const [isOpen, setIsOpen] = useState(incomingIsOpen);
|
|
25
|
-
const childRef = useRef(null);
|
|
26
31
|
const triggerRef = useRef(null);
|
|
32
|
+
const tooltipRef = useRef(null);
|
|
27
33
|
const leaveTimer = useRef(null);
|
|
28
34
|
const enterHandler = useCallback(() => {
|
|
29
35
|
if (leaveTimer.current) {
|
|
@@ -36,22 +42,47 @@ export const Tooltip = _ref => {
|
|
|
36
42
|
setIsOpen(false);
|
|
37
43
|
}, 1e3 / 2);
|
|
38
44
|
}, [setIsOpen]);
|
|
45
|
+
const focusHandler = useCallback(() => {
|
|
46
|
+
setIsOpen(true);
|
|
47
|
+
}, [setIsOpen]);
|
|
48
|
+
const blurHandler = useCallback(() => {
|
|
49
|
+
setIsOpen(false);
|
|
50
|
+
}, [setIsOpen]);
|
|
39
51
|
useEffect(() => {
|
|
40
52
|
let timeout;
|
|
41
|
-
if (isOpen && typeof closeAfter === 'number')
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
53
|
+
if (isOpen && typeof closeAfter === 'number') {
|
|
54
|
+
timeout = setTimeout(() => setIsOpen(false), closeAfter);
|
|
55
|
+
}
|
|
56
|
+
return () => {
|
|
57
|
+
if (timeout) clearTimeout(timeout);
|
|
58
|
+
};
|
|
59
|
+
}, [closeAfter, isOpen]);
|
|
60
|
+
if (!label) return _jsx(_Fragment, {
|
|
61
|
+
children: children
|
|
62
|
+
});
|
|
63
|
+
return _jsxs(_Fragment, {
|
|
64
|
+
children: [_jsx("span", _objectSpread(_objectSpread({
|
|
46
65
|
ref: triggerRef,
|
|
47
66
|
onMouseEnter: enterHandler,
|
|
48
|
-
onMouseLeave: leaveHandler
|
|
49
|
-
|
|
67
|
+
onMouseLeave: leaveHandler,
|
|
68
|
+
onFocus: focusHandler,
|
|
69
|
+
onBlur: blurHandler,
|
|
70
|
+
tabIndex: 0,
|
|
71
|
+
className: sprinkles({
|
|
72
|
+
display: 'inline-block'
|
|
73
|
+
}),
|
|
74
|
+
"aria-describedby": isOpen ? tooltipId : undefined
|
|
75
|
+
}, dataAttrs({
|
|
76
|
+
testid: testId
|
|
77
|
+
})), {}, {
|
|
78
|
+
children: children
|
|
79
|
+
})), _jsx(Positioner, {
|
|
50
80
|
triggerRef: triggerRef,
|
|
51
81
|
alignment: alignment,
|
|
52
82
|
isOpen: typeof incomingIsOpen === 'boolean' ? incomingIsOpen : isOpen,
|
|
53
83
|
children: _jsx(Box, {
|
|
54
|
-
|
|
84
|
+
id: tooltipId,
|
|
85
|
+
ref: tooltipRef,
|
|
55
86
|
className: styles.root,
|
|
56
87
|
width: "full",
|
|
57
88
|
pointerEvents: "none",
|
|
@@ -62,6 +93,7 @@ export const Tooltip = _ref => {
|
|
|
62
93
|
backgroundColour: "gray900",
|
|
63
94
|
paddingY: "2",
|
|
64
95
|
paddingX: "3",
|
|
96
|
+
role: "tooltip",
|
|
65
97
|
children: _jsx(Text, {
|
|
66
98
|
size: sizeMap[size],
|
|
67
99
|
colour: "white",
|
|
@@ -69,7 +101,6 @@ export const Tooltip = _ref => {
|
|
|
69
101
|
})
|
|
70
102
|
})
|
|
71
103
|
})]
|
|
72
|
-
}) : _jsx(_Fragment, {
|
|
73
|
-
children: children
|
|
74
104
|
});
|
|
75
|
-
};
|
|
105
|
+
};
|
|
106
|
+
Tooltip.displayName = 'Tooltip';
|
|
@@ -31,7 +31,7 @@ export const CheckableBase = forwardRef((_ref, ref) => {
|
|
|
31
31
|
display: "flex",
|
|
32
32
|
alignItems: "center",
|
|
33
33
|
flexDirection: "row",
|
|
34
|
-
justifyContent: "
|
|
34
|
+
justifyContent: "start",
|
|
35
35
|
paddingY: "3",
|
|
36
36
|
paddingRight: label ? '3' : 'none',
|
|
37
37
|
paddingLeft: "none",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element.css.d.ts","sourceRoot":"","sources":["../../lib/styles/element.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAQlE,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAUF,eAAO,MAAM,WAAW,QAOtB,CAAC;AAEH,eAAO,MAAM,SAAS,QASpB,CAAC;AAuHH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,OAAO,CAAC;AAEjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAC1C,cAAc,CAAC,OAAO,aAAa,CAAC,CACpC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
5
|
-
__vanilla_filescope__.setFileScope("lib/styles/
|
|
5
|
+
__vanilla_filescope__.setFileScope("lib/styles/element.css.ts", "@autoguru/overdrive");
|
|
6
6
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
8
|
import { style } from '@vanilla-extract/css';
|
|
@@ -7,4 +7,4 @@ export declare const elementResetStyles: (tag: unknown) => string;
|
|
|
7
7
|
export declare const componentStyles: ({ as, ...styleProps }: {
|
|
8
8
|
as?: string | ElementType | ReactElement;
|
|
9
9
|
} & Sprinkles) => string;
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=elementStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementStyles.d.ts","sourceRoot":"","sources":["../../lib/styles/elementStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAM5D,eAAO,MAAM,WAAW,GAAI,aAAa;IAAE,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,WAKlE,CAAC;AAOF,eAAO,MAAM,kBAAkB,GAAI,KAAK,OAAO,WAG9C,CAAC;AAOF,eAAO,MAAM,eAAe,GAAI,uBAG7B;IAAE,EAAE,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,YAAY,CAAA;CAAE,GAAG,SAAS,WACP,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
const _excluded = ["as"];
|
|
5
5
|
import clsx from 'clsx';
|
|
6
|
-
import { element, resetVariants } from "./
|
|
6
|
+
import { element, resetVariants } from "./element.css.js";
|
|
7
7
|
import { sprinkles } from "./sprinkles.css.js";
|
|
8
8
|
export const resetStyles = _ref => {
|
|
9
9
|
let {
|
package/dist/styles/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { cssLayerComponent, cssLayerTheme } from './layers.css';
|
|
2
|
-
export { resetVariants, type ResetVariantProps } from './
|
|
3
|
-
export { componentStyles, elementResetStyles, resetStyles, } from './
|
|
2
|
+
export { resetVariants, type ResetVariantProps } from './element.css';
|
|
3
|
+
export { componentStyles, elementResetStyles, resetStyles, } from './elementStyles';
|
|
4
4
|
export { sprinkles, type Sprinkles, type SprinklesLegacyColours, } from './sprinkles.css';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EACN,eAAe,EACf,kBAAkB,EAClB,WAAW,GACX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,SAAS,EACT,KAAK,SAAS,EACd,KAAK,sBAAsB,GAC3B,MAAM,iBAAiB,CAAC"}
|
package/dist/styles/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
export { cssLayerComponent, cssLayerTheme } from "./layers.css.js";
|
|
4
|
-
export { resetVariants } from "./
|
|
5
|
-
export { componentStyles, elementResetStyles, resetStyles } from "./
|
|
4
|
+
export { resetVariants } from "./element.css.js";
|
|
5
|
+
export { componentStyles, elementResetStyles, resetStyles } from "./elementStyles.js";
|
|
6
6
|
export { sprinkles } from "./sprinkles.css.js";
|
|
@@ -175,36 +175,30 @@ export declare const sprinkles: ((props: {
|
|
|
175
175
|
desktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
176
176
|
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | undefined;
|
|
177
177
|
} | undefined);
|
|
178
|
-
|
|
179
|
-
mobile?: "stretch" | "center" | "
|
|
180
|
-
tablet?: "stretch" | "center" | "
|
|
181
|
-
desktop?: "stretch" | "center" | "
|
|
182
|
-
largeDesktop?: "stretch" | "center" | "
|
|
183
|
-
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "stretch" | "center" | "
|
|
184
|
-
|
|
185
|
-
mobile?: "
|
|
186
|
-
tablet?: "
|
|
187
|
-
desktop?: "
|
|
188
|
-
largeDesktop?: "
|
|
189
|
-
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "
|
|
190
|
-
|
|
191
|
-
mobile?: "
|
|
192
|
-
tablet?: "
|
|
193
|
-
desktop?: "
|
|
194
|
-
largeDesktop?: "
|
|
195
|
-
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "
|
|
196
|
-
|
|
197
|
-
mobile?: "stretch" | "center" | "
|
|
198
|
-
tablet?: "stretch" | "center" | "
|
|
199
|
-
desktop?: "stretch" | "center" | "
|
|
200
|
-
largeDesktop?: "stretch" | "center" | "
|
|
201
|
-
} | undefined)
|
|
202
|
-
justifySelf?: ("center" | "flex-end" | "flex-start" | {
|
|
203
|
-
mobile?: "center" | "flex-end" | "flex-start" | undefined;
|
|
204
|
-
tablet?: "center" | "flex-end" | "flex-start" | undefined;
|
|
205
|
-
desktop?: "center" | "flex-end" | "flex-start" | undefined;
|
|
206
|
-
largeDesktop?: "center" | "flex-end" | "flex-start" | undefined;
|
|
207
|
-
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "center" | "flex-end" | "flex-start" | null>;
|
|
178
|
+
alignContent?: ("space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | {
|
|
179
|
+
mobile?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
180
|
+
tablet?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
181
|
+
desktop?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
182
|
+
largeDesktop?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
183
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | null>;
|
|
184
|
+
alignItems?: ("stretch" | "center" | "end" | "start" | "baseline" | "centre" | "flexEnd" | "flexStart" | {
|
|
185
|
+
mobile?: "stretch" | "center" | "end" | "start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
186
|
+
tablet?: "stretch" | "center" | "end" | "start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
187
|
+
desktop?: "stretch" | "center" | "end" | "start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
188
|
+
largeDesktop?: "stretch" | "center" | "end" | "start" | "baseline" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
189
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "stretch" | "center" | "end" | "start" | "baseline" | "centre" | "flexEnd" | "flexStart" | null>;
|
|
190
|
+
alignSelf?: ("stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | {
|
|
191
|
+
mobile?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
192
|
+
tablet?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
193
|
+
desktop?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
194
|
+
largeDesktop?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
195
|
+
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | null>;
|
|
196
|
+
justifyContent?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | null> | ("space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | {
|
|
197
|
+
mobile?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
198
|
+
tablet?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
199
|
+
desktop?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
200
|
+
largeDesktop?: "space-around" | "space-between" | "space-evenly" | "stretch" | "center" | "end" | "start" | "centre" | "spaceAround" | "spaceBetween" | "flexEnd" | "flexStart" | undefined;
|
|
201
|
+
} | undefined);
|
|
208
202
|
flexDirection?: ("column" | "column-reverse" | "row" | "row-reverse" | {
|
|
209
203
|
mobile?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
210
204
|
tablet?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
|
|
@@ -349,12 +343,12 @@ export declare const sprinkles: ((props: {
|
|
|
349
343
|
desktop?: "1" | "2" | "3" | "none" | undefined;
|
|
350
344
|
largeDesktop?: "1" | "2" | "3" | "none" | undefined;
|
|
351
345
|
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "none" | null>;
|
|
352
|
-
placeItems?: ("stretch" | "center" | "
|
|
353
|
-
mobile?: "stretch" | "center" | "
|
|
354
|
-
tablet?: "stretch" | "center" | "
|
|
355
|
-
desktop?: "stretch" | "center" | "
|
|
356
|
-
largeDesktop?: "stretch" | "center" | "
|
|
357
|
-
} | undefined)
|
|
346
|
+
placeItems?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | null> | ("stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | {
|
|
347
|
+
mobile?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
348
|
+
tablet?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
349
|
+
desktop?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
350
|
+
largeDesktop?: "stretch" | "center" | "end" | "start" | "centre" | "flexEnd" | "flexStart" | undefined;
|
|
351
|
+
} | undefined);
|
|
358
352
|
size?: import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | null> | ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | {
|
|
359
353
|
mobile?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
360
354
|
tablet?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "full" | "auto" | "fit-content" | "max-content" | "min-content" | undefined;
|
|
@@ -482,7 +476,7 @@ export declare const sprinkles: ((props: {
|
|
|
482
476
|
largeDesktop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | undefined;
|
|
483
477
|
} | undefined) | import("@vanilla-extract/sprinkles").ResponsiveArray<1 | 2 | 3 | 4, "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "none" | "auto" | null>;
|
|
484
478
|
}) => string) & {
|
|
485
|
-
properties: Set<"colour" | "backgroundColour" | "color" | "width" | "size" | "fontSize" | "lineHeight" | "fontWeight" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "borderBottomColor" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopStyle" | "borderTopWidth" | "boxShadow" | "columnGap" | "display" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "height" | "justifyContent" | "
|
|
479
|
+
properties: Set<"colour" | "backgroundColour" | "color" | "width" | "size" | "fontSize" | "lineHeight" | "fontWeight" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "backgroundColor" | "borderBottomColor" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopStyle" | "borderTopWidth" | "boxShadow" | "columnGap" | "display" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "height" | "justifyContent" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxWidth" | "minWidth" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pointerEvents" | "position" | "rowGap" | "textAlign" | "textWrap" | "userSelect" | "borderColor" | "borderRadius" | "borderStyle" | "borderWidth" | "gap" | "margin" | "overflow" | "padding" | "placeItems" | "text" | "borderBottomColour" | "borderLeftColour" | "borderRightColour" | "borderTopColour" | "useVar" | "bg" | "fg" | "borderColorX" | "borderColorY" | "borderColour" | "borderColourX" | "borderColourY" | "borderStyleBottom" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "gridColumns" | "borderWidthX" | "borderWidthY" | "borderWidthBottom" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "p" | "paddingX" | "px" | "paddingY" | "py" | "pt" | "pr" | "pb" | "pl" | "m" | "marginX" | "mx" | "marginY" | "my" | "mt" | "mr" | "mb" | "ml">;
|
|
486
480
|
};
|
|
487
481
|
export type Sprinkles = Parameters<typeof sprinkles>[0];
|
|
488
482
|
export type SprinklesLegacyColours = Pick<Sprinkles, 'backgroundColour' | 'borderColour' | 'borderBottomColour' | 'borderLeftColour' | 'borderRightColour' | 'borderTopColour' | 'colour'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sprinkles.css.d.ts","sourceRoot":"","sources":["../../lib/styles/sprinkles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sprinkles.css.d.ts","sourceRoot":"","sources":["../../lib/styles/sprinkles.css.ts"],"names":[],"mappings":"AAoKA,eAAO,MAAM,WAAW;;;;;;6BAUlB,sBAAsB,CAAC,QAAQ,CAAC,EAAE;;CAEvC,CAAC;AA0FF,eAAO,MAAM,mBAAmB;;;;;CAAwC,CAAC;AACzE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,EACzC,OAAO,CACP,CAAC;AAGF,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAOhC,CAAC;AAoIF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwD,CAAC;AAC/E,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AAGxD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACxC,SAAS,EACP,kBAAkB,GAClB,cAAc,GACd,oBAAoB,GACpB,kBAAkB,GAClB,mBAAmB,GACnB,iBAAiB,GACjB,QAAQ,CACV,CAAC"}
|
|
@@ -19,12 +19,12 @@ const {
|
|
|
19
19
|
} = space,
|
|
20
20
|
spaceWithoutNone = _objectWithoutProperties(space, ["none"]);
|
|
21
21
|
const flexAlignments = {
|
|
22
|
-
flexEnd: 'flex-end',
|
|
23
|
-
'flex-end': 'flex-end',
|
|
24
|
-
flexStart: 'flex-start',
|
|
25
|
-
'flex-start': 'flex-start',
|
|
26
22
|
center: 'center',
|
|
27
23
|
centre: 'center',
|
|
24
|
+
end: 'end',
|
|
25
|
+
flexEnd: 'end',
|
|
26
|
+
flexStart: 'start',
|
|
27
|
+
start: 'start',
|
|
28
28
|
stretch: 'stretch'
|
|
29
29
|
};
|
|
30
30
|
const flexAlignmentsWithSpace = _objectSpread(_objectSpread({}, flexAlignments), {}, {
|
|
@@ -32,8 +32,7 @@ const flexAlignmentsWithSpace = _objectSpread(_objectSpread({}, flexAlignments),
|
|
|
32
32
|
'space-around': 'space-around',
|
|
33
33
|
spaceBetween: 'space-between',
|
|
34
34
|
'space-between': 'space-between',
|
|
35
|
-
|
|
36
|
-
'space-evenely': 'space-evenly'
|
|
35
|
+
'space-evenly': 'space-evenly'
|
|
37
36
|
});
|
|
38
37
|
const fontSizes = Object.entries(tokens.typography.size).reduce((sizes, _ref) => {
|
|
39
38
|
let [scale, fontSize] = _ref;
|
|
@@ -271,13 +270,12 @@ const responsiveProperties = defineProperties({
|
|
|
271
270
|
gap: gapSizesWithVar,
|
|
272
271
|
columnGap: space,
|
|
273
272
|
rowGap: space,
|
|
273
|
+
alignContent: flexAlignmentsWithSpace,
|
|
274
274
|
alignItems: _objectSpread(_objectSpread({}, flexAlignments), {}, {
|
|
275
275
|
baseline: 'baseline'
|
|
276
276
|
}),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
alignSelf: ['flex-start', 'center', 'flex-end', 'stretch'],
|
|
280
|
-
justifySelf: ['flex-start', 'center', 'flex-end'],
|
|
277
|
+
alignSelf: flexAlignments,
|
|
278
|
+
justifyContent: _objectSpread({}, flexAlignmentsWithSpace),
|
|
281
279
|
flexDirection: ['row', 'column', 'row-reverse', 'column-reverse'],
|
|
282
280
|
flexGrow: [0, '0', '1'],
|
|
283
281
|
flexShrink: [0, '0', '1'],
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const gapVar: `var(--${string})
|
|
1
|
+
export declare const gapVar: `var(--${string})`;
|
|
2
2
|
//# sourceMappingURL=vars.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.css.d.ts","sourceRoot":"","sources":["../../lib/styles/vars.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"vars.css.d.ts","sourceRoot":"","sources":["../../lib/styles/vars.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,oBAAgC,CAAC"}
|