@autoguru/overdrive 4.41.0-next.6 → 4.42.0-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/AutoSuggest/AutoSuggest.css.js +1 -1
- package/dist/components/Badge/Badge.css.js +1 -1
- package/dist/components/Box/argTypes.d.ts.map +1 -1
- package/dist/components/Box/argTypes.js +3 -2
- package/dist/components/Box/useBoxStyles.css.d.ts +6 -6
- package/dist/components/Box/useBoxStyles.css.d.ts.map +1 -1
- package/dist/components/Box/useBoxStyles.css.js +1 -1
- package/dist/components/Box/useBoxStyles.d.ts +1 -1
- package/dist/components/Box/useBoxStyles.d.ts.map +1 -1
- package/dist/components/BulletList/Bullet.css.js +1 -1
- package/dist/components/BulletList/BulletList.css.js +1 -1
- package/dist/components/BulletText/BulletText.css.js +1 -1
- package/dist/components/Button/Button.css.js +1 -1
- package/dist/components/CheckBox/CheckBox.css.js +1 -1
- package/dist/components/ColourInput/ColourInput.css.js +1 -1
- package/dist/components/Columns/Columns.css.js +1 -1
- package/dist/components/Columns/Columns.d.ts +1 -1
- package/dist/components/Columns/Columns.d.ts.map +1 -1
- package/dist/components/Columns/Columns.stories.d.ts +31 -31
- package/dist/components/Columns/Columns.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.css.js +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.css.js +21 -21
- package/dist/components/DividerLine/DividerLine.stories.d.ts +2 -2
- package/dist/components/DropDown/DropDownOption.css.js +1 -1
- package/dist/components/EditableText/EditableText.css.js +1 -1
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.d.ts.map +1 -1
- package/dist/components/Heading/Heading.stories.d.ts +3 -3
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.css.js +1 -1
- package/dist/components/Icon/Icon.css.js +1 -1
- package/dist/components/Inline/Inline.d.ts +2 -2
- package/dist/components/Inline/Inline.d.ts.map +1 -1
- package/dist/components/IntentStripe/IntentStripe.css.js +1 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.js +1 -1
- package/dist/components/LoadingBox/LoadingBox.css.js +1 -1
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts +26 -26
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts.map +1 -1
- package/dist/components/Meta/Meta.css.js +1 -1
- package/dist/components/MinimalModal/MinimalModal.css.js +1 -1
- package/dist/components/Modal/Modal.css.js +1 -1
- package/dist/components/OptionGrid/OptionGrid.css.js +1 -1
- package/dist/components/OptionList/OptionList.css.js +1 -1
- package/dist/components/OrderedList/OrderedList.css.js +1 -1
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts +3 -3
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts.map +1 -1
- package/dist/components/OverdriveProvider/useColorOverrides.js +2 -2
- package/dist/components/Pagination/Pagination.css.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.css.js +1 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.css.js +1 -1
- package/dist/components/Radio/Radio.css.js +1 -1
- package/dist/components/ScrollPane/ScrollPane.css.js +1 -1
- package/dist/components/ScrollPane/ScrollPane.d.ts +1 -1
- package/dist/components/ScrollPane/ScrollPane.d.ts.map +1 -1
- package/dist/components/Section/Section.css.js +1 -1
- package/dist/components/SelectInput/SelectInput.css.js +1 -1
- package/dist/components/SliderProgress/SliderProgress.css.js +1 -1
- package/dist/components/Stack/Divider.css.js +1 -1
- package/dist/components/Stack/Stack.css.js +1 -1
- package/dist/components/StandardModal/StandardModal.css.js +1 -1
- package/dist/components/StarRating/StarRating.css.js +1 -1
- package/dist/components/Stepper/Stepper.css.js +1 -1
- package/dist/components/StickyBox/StickyBox.css.js +1 -1
- package/dist/components/Switch/Switch.css.js +1 -1
- package/dist/components/Table/TableCell.css.js +1 -1
- package/dist/components/Table/TableCell.d.ts +1 -1
- package/dist/components/Table/TableCell.d.ts.map +1 -1
- package/dist/components/Table/TableHeadCell.css.js +1 -1
- package/dist/components/Table/context.d.ts +1 -1
- package/dist/components/Table/context.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.css.js +1 -1
- package/dist/components/Tabs/TabList.css.js +1 -1
- package/dist/components/Text/useTextStyles.css.d.ts +3 -3
- package/dist/components/Text/useTextStyles.css.d.ts.map +1 -1
- package/dist/components/Text/useTextStyles.css.js +1 -1
- package/dist/components/TextLink/TextLink.css.js +1 -1
- package/dist/components/TextLink/TextLink.stories.d.ts +3 -3
- package/dist/components/Toaster/Toast.css.js +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/components/private/CheckableBase/CheckableBase.css.js +1 -1
- package/dist/components/private/InputBase/HintText.css.js +1 -1
- package/dist/components/private/InputBase/InputState.css.js +1 -1
- package/dist/components/private/InputBase/NotchedBase.css.js +1 -1
- package/dist/components/private/InputBase/withEnhancedInput.css.js +1 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.js +1 -1
- package/dist/hooks/useMedia/useMedia.d.ts +1 -1
- package/dist/hooks/useMedia/useMedia.d.ts.map +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.js +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts.map +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.js +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts.map +1 -1
- package/dist/hooks/useWindowHeightFill/useWindowHeightFill.d.ts +1 -1
- package/dist/hooks/useWindowHeightFill/useWindowHeightFill.d.ts.map +1 -1
- package/dist/hooks/useWindowHeightFill/useWindowHeightFill.js +2 -2
- package/dist/reset/globalReset.css.js +5 -5
- package/dist/reset/reset.css.d.ts.map +1 -1
- package/dist/reset/reset.css.js +5 -5
- package/dist/stories/borders.stories.d.ts.map +1 -1
- package/dist/stories/helpers/index.d.ts +5 -2
- package/dist/stories/helpers/index.d.ts.map +1 -1
- package/dist/stories/helpers/sprinkles.css.d.ts +19 -70
- package/dist/stories/helpers/sprinkles.css.d.ts.map +1 -1
- package/dist/stories/helpers/styles.css.d.ts +2 -0
- package/dist/stories/helpers/styles.css.d.ts.map +1 -1
- package/dist/stories/icons.stories.d.ts.map +1 -1
- package/dist/stories/intentional-colours.stories.d.ts +6 -0
- package/dist/stories/intentional-colours.stories.d.ts.map +1 -0
- package/dist/stories/palette.stories.d.ts.map +1 -1
- package/dist/stories/space.stories.d.ts.map +1 -1
- package/dist/stories/theme.stories.d.ts.map +1 -1
- package/dist/styles/focusOutline.css.js +1 -1
- package/dist/styles/intentional.css.d.ts +2 -2
- package/dist/styles/intentional.css.js +1 -1
- package/dist/styles/layers.css.d.ts +4 -0
- package/dist/styles/layers.css.d.ts.map +1 -0
- package/dist/styles/layers.css.js +11 -0
- package/dist/styles/sprinkles.css.js +1 -1
- package/dist/styles/stack.css.js +1 -1
- package/dist/styles/typography.css.d.ts +2 -2
- package/dist/styles/typography.css.js +1 -1
- package/dist/themes/base/colours.d.ts +139 -0
- package/dist/themes/base/colours.d.ts.map +1 -0
- package/dist/themes/base/colours.js +77 -0
- package/dist/themes/base/index.d.ts +510 -10
- package/dist/themes/base/index.d.ts.map +1 -1
- package/dist/themes/base/index.js +4 -4
- package/dist/themes/base/theme.css.d.ts +3 -0
- package/dist/themes/base/theme.css.d.ts.map +1 -0
- package/dist/themes/base/theme.css.js +11 -0
- package/dist/themes/base/tokens.d.ts +393 -4
- package/dist/themes/base/tokens.d.ts.map +1 -1
- package/dist/themes/base/tokens.js +113 -142
- package/dist/themes/flat_red/index.d.ts +617 -10
- package/dist/themes/flat_red/index.d.ts.map +1 -1
- package/dist/themes/flat_red/index.js +4 -4
- package/dist/themes/flat_red/theme.css.d.ts +2 -0
- package/dist/themes/flat_red/theme.css.d.ts.map +1 -0
- package/dist/themes/flat_red/theme.css.js +10 -0
- package/dist/themes/flat_red/tokens.d.ts +500 -1
- package/dist/themes/flat_red/tokens.d.ts.map +1 -1
- package/dist/themes/helpers.d.ts +4 -0
- package/dist/themes/helpers.d.ts.map +1 -1
- package/dist/themes/index.d.ts +792 -0
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/index.js +6 -1
- package/dist/themes/makeTheme.d.ts +396 -2
- package/dist/themes/makeTheme.d.ts.map +1 -1
- package/dist/themes/makeTheme.js +4 -0
- package/dist/themes/neutral/index.d.ts +750 -10
- package/dist/themes/neutral/index.d.ts.map +1 -1
- package/dist/themes/neutral/index.js +3 -3
- package/dist/themes/neutral/{vars.css.d.ts → theme.css.d.ts} +1 -1
- package/dist/themes/neutral/theme.css.d.ts.map +1 -0
- package/dist/themes/neutral/theme.css.js +10 -0
- package/dist/themes/neutral/tokens.d.ts +633 -2
- package/dist/themes/neutral/tokens.d.ts.map +1 -1
- package/dist/themes/neutral/tokens.js +5 -4
- package/dist/themes/theme.css.d.ts +180 -285
- package/dist/themes/theme.css.d.ts.map +1 -1
- package/dist/themes/theme.css.js +237 -194
- package/dist/themes/types.d.ts +19 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/package.json +20 -20
- package/dist/themes/base/vars.css.d.ts +0 -3
- package/dist/themes/base/vars.css.d.ts.map +0 -1
- package/dist/themes/base/vars.css.js +0 -10
- package/dist/themes/flat_red/vars.css.d.ts +0 -2
- package/dist/themes/flat_red/vars.css.d.ts.map +0 -1
- package/dist/themes/flat_red/vars.css.js +0 -9
- package/dist/themes/neutral/vars.css.d.ts.map +0 -1
- package/dist/themes/neutral/vars.css.js +0 -9
- package/dist/themes/tokens.d.ts +0 -106
- package/dist/themes/tokens.d.ts.map +0 -1
- /package/dist/themes/{tokens.js → types.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FunctionComponent } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { Tokens } from '../../themes
|
|
4
|
-
import { ResponsiveProp } from '../../utils/responsiveProps.css';
|
|
3
|
+
import type { ThemeTokens as Tokens } from '../../themes';
|
|
4
|
+
import type { ResponsiveProp } from '../../utils/responsiveProps.css';
|
|
5
5
|
import type { BoxStyleProps } from '../Box';
|
|
6
6
|
export interface Props extends Pick<BoxStyleProps, 'is' | 'width'> {
|
|
7
7
|
space?: ResponsiveProp<keyof Tokens['space']>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Inline.d.ts","sourceRoot":"","sources":["../../../lib/components/Inline/Inline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAE7D,OAAO,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAC;AAO5D,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Inline.d.ts","sourceRoot":"","sources":["../../../lib/components/Inline/Inline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAE7D,OAAO,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAC;AAO5D,OAAO,KAAK,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,OAAO,CAAC;IACjE,KAAK,CAAC,EAAE,cAAc,CAAC,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,MAAM,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACrC,MAAM,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;AAOD,eAAO,MAAM,MAAM,EAAE,iBAAiB,CAAC,KAAK,CAwD3C,CAAC;AAcF,eAAe,MAAM,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/IntentStripe/IntentStripe.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const intentBox = style({
|
|
8
8
|
top: 0,
|
|
9
9
|
left: 0,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/LinearProgressIndicator/LinearProgressIndicator.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { keyframes, style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
height: vars.space['1'],
|
|
9
9
|
transition: 'opacity 0.25s cubic-bezier(0.4, 0, 0.6, 1) 0ms',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/LoadingBox/LoadingBox.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { keyframes, style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
minHeight: vars.typography.size['3'].fontSize
|
|
9
9
|
}, "root");
|
|
@@ -10,14 +10,16 @@ declare const _default: {
|
|
|
10
10
|
blinking?: boolean | undefined;
|
|
11
11
|
colour?: keyof typeof import("../Box/useBoxStyles.css").colours | undefined;
|
|
12
12
|
backgroundColour?: keyof typeof import("../Box/useBoxStyles.css").backgroundColours | undefined;
|
|
13
|
+
color?: string | undefined | undefined;
|
|
14
|
+
content?: string | undefined | undefined;
|
|
15
|
+
placeholder?: string | undefined | undefined;
|
|
13
16
|
min?: number | string | undefined | undefined;
|
|
14
17
|
size?: number | undefined | undefined;
|
|
15
18
|
muted?: boolean | undefined | undefined;
|
|
19
|
+
opacity?: keyof typeof import("../Box/useBoxStyles.css").opacity | undefined;
|
|
16
20
|
name?: string | undefined | undefined;
|
|
17
21
|
alignItems?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").alignItems> | undefined;
|
|
18
22
|
boxShadow?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").boxShadow> | undefined;
|
|
19
|
-
color?: string | undefined | undefined;
|
|
20
|
-
content?: string | undefined | undefined;
|
|
21
23
|
display?: keyof typeof import("../Box/useBoxStyles.css").display | undefined;
|
|
22
24
|
flexDirection?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").flexDirection> | undefined;
|
|
23
25
|
flexGrow?: keyof typeof import("../Box/useBoxStyles.css").flexGrow | undefined;
|
|
@@ -25,29 +27,28 @@ declare const _default: {
|
|
|
25
27
|
flexWrap?: keyof typeof import("../Box/useBoxStyles.css").flexWrap | undefined;
|
|
26
28
|
height?: keyof typeof import("../Box/useBoxStyles.css").height | undefined;
|
|
27
29
|
justifyContent?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").justifyContent> | undefined;
|
|
28
|
-
marginBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
29
|
-
marginLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
30
|
-
marginRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
31
|
-
marginTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
32
|
-
opacity?: keyof typeof import("../Box/useBoxStyles.css").opacity | undefined;
|
|
30
|
+
marginBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
31
|
+
marginLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
32
|
+
marginRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
33
|
+
marginTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
33
34
|
order?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").order> | undefined;
|
|
34
|
-
paddingBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
35
|
-
paddingLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
36
|
-
paddingRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
37
|
-
paddingTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
35
|
+
paddingBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
36
|
+
paddingLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
37
|
+
paddingRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
38
|
+
paddingTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
38
39
|
pointerEvents?: keyof typeof import("../Box/useBoxStyles.css").pointerEvents | undefined;
|
|
39
40
|
position?: keyof typeof import("../Box/useBoxStyles.css").position | undefined;
|
|
40
41
|
textAlign?: keyof typeof import("../Box/useBoxStyles.css").textAlign | undefined;
|
|
41
42
|
translate?: "yes" | "no" | undefined | undefined;
|
|
42
43
|
userSelect?: keyof typeof import("../Box/useBoxStyles.css").userSelect | undefined;
|
|
43
44
|
borderRadius?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").borderRadius> | undefined;
|
|
44
|
-
borderWidth?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
45
|
-
margin?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
45
|
+
borderWidth?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
46
|
+
margin?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
46
47
|
overflow?: keyof typeof import("../Box/useBoxStyles.css").overflow | undefined;
|
|
47
|
-
padding?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
48
|
-
style?: React.CSSProperties | undefined;
|
|
48
|
+
padding?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
49
49
|
start?: number | undefined | undefined;
|
|
50
50
|
hidden?: boolean | undefined | undefined;
|
|
51
|
+
style?: React.CSSProperties | undefined;
|
|
51
52
|
default?: boolean | undefined | undefined;
|
|
52
53
|
wrap?: string | undefined | undefined;
|
|
53
54
|
open?: boolean | undefined | undefined;
|
|
@@ -57,16 +58,16 @@ declare const _default: {
|
|
|
57
58
|
value?: string | number | readonly string[] | undefined;
|
|
58
59
|
as?: React.ElementType | undefined;
|
|
59
60
|
is?: React.ElementType | undefined;
|
|
60
|
-
paddingX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
61
|
-
paddingY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
62
|
-
marginX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
63
|
-
marginY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
64
|
-
borderWidthX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
65
|
-
borderWidthY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
66
|
-
borderWidthTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
67
|
-
borderWidthRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
68
|
-
borderWidthBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
69
|
-
borderWidthLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
61
|
+
paddingX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
62
|
+
paddingY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
63
|
+
marginX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
64
|
+
marginY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
65
|
+
borderWidthX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
66
|
+
borderWidthY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
67
|
+
borderWidthTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
68
|
+
borderWidthRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
69
|
+
borderWidthBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
70
|
+
borderWidthLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
70
71
|
borderColour?: keyof typeof import("../Box/useBoxStyles.css").border["colour"]["top"] | undefined;
|
|
71
72
|
borderColourX?: keyof typeof import("../Box/useBoxStyles.css").border["colour"]["top"] | undefined;
|
|
72
73
|
borderColourY?: keyof typeof import("../Box/useBoxStyles.css").border["colour"]["top"] | undefined;
|
|
@@ -138,7 +139,6 @@ declare const _default: {
|
|
|
138
139
|
minLength?: number | undefined | undefined;
|
|
139
140
|
noValidate?: boolean | undefined | undefined;
|
|
140
141
|
optimum?: number | undefined | undefined;
|
|
141
|
-
placeholder?: string | undefined | undefined;
|
|
142
142
|
playsInline?: boolean | undefined | undefined;
|
|
143
143
|
poster?: string | undefined | undefined;
|
|
144
144
|
preload?: string | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingBox.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/LoadingBox/LoadingBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC
|
|
1
|
+
{"version":3,"file":"LoadingBox.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/LoadingBox/LoadingBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;sFAiCwU,2CAAgB;oFAAqC,2CAAgB;qFAA5H,2CAAgB;mFAAtE,2CAAgB;;uFAHxQ,2CAAe;qFAGU,2CAAgB;sFAT1B,2CAIX;oFANC,2CAAgB;;;;;;;qFAWyiB,4CAAiB,SAAS;gFAAxf,2CAAgB;;iFApB7G,2CAAgB;;;;;;;;;;;;;kFACW,2CAEtB;kFAER,2CAAgB;iFAekI,2CAAgB;iFAAkC,2CAAgB;sFAA2a,4CAAiB,SAAS;sFAAuC,4CAAiB,SAAS;wFAAyC,4CAAiB,SAAS;0FAA2C,4CAAiB,SAAS;2FAA4C,4CAAiB,SAAS;yFAA0C,4CAAiB,SAAS;6BAAyB,yDAAiC,OAAO;8BAAwB,yDAAiC,OAAO;8BAAwB,yDAAiC,OAAO;gCAA0B,yDAAiC,OAAO;kCAA4B,yDAAiC,OAAO;mCAA6B,yDAAiC,OAAO;iCAA2B,yDAAiC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/B77C,wBAYoC;AAEpC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Meta/Meta.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const variant = styleVariants({
|
|
8
8
|
primary: {
|
|
9
9
|
color: vars.colours.intent.primary.background.strong
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/MinimalModal/MinimalModal.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as tokens } from "../../themes/theme.css.js";
|
|
7
7
|
export const container = style({
|
|
8
8
|
outline: '0'
|
|
9
9
|
}, "container");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Modal/Modal.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
top: 0,
|
|
9
9
|
right: 0,
|
|
@@ -7,7 +7,7 @@ import { recipe } from '@vanilla-extract/recipes';
|
|
|
7
7
|
import { focusOutlineStyle } from "../../styles/focusOutline.css.js";
|
|
8
8
|
import { sprinklesResponsive } from "../../styles/sprinkles.css.js";
|
|
9
9
|
import { breakpoints } from "../../themes/makeTheme.js";
|
|
10
|
-
import {
|
|
10
|
+
import { overdriveTokens as tokens } from "../../themes/theme.css.js";
|
|
11
11
|
import { interactionStyle, notDisabled, notSelected } from "../../utils/css.js";
|
|
12
12
|
export const gridContainer = createContainer("gridContainer");
|
|
13
13
|
export const gridContainerStyle = style({
|
|
@@ -6,7 +6,7 @@ import { style } from '@vanilla-extract/css';
|
|
|
6
6
|
import { recipe } from '@vanilla-extract/recipes';
|
|
7
7
|
import { focusOutlineStyle } from "../../styles/focusOutline.css.js";
|
|
8
8
|
import { sprinklesResponsive } from "../../styles/sprinkles.css.js";
|
|
9
|
-
import {
|
|
9
|
+
import { overdriveTokens as tokens } from "../../themes/theme.css.js";
|
|
10
10
|
import { interactionStyle } from "../../utils/css.js";
|
|
11
11
|
export const groupStyle = style({
|
|
12
12
|
marginTop: tokens.space['6']
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/OrderedList/OrderedList.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = styleVariants({
|
|
8
8
|
default: {
|
|
9
9
|
listStyle: 'outside lower-roman'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import type { BreakPoints } from '../../themes';
|
|
3
4
|
import baseTheme from '../../themes/base';
|
|
4
5
|
import { type RuntimeTokens } from '../../themes/makeTheme';
|
|
5
|
-
import {
|
|
6
|
-
import { type BreakPoints } from '../../themes/tokens';
|
|
6
|
+
import { overdriveTokens } from '../../themes/theme.css';
|
|
7
7
|
import { type ColorOverrides } from './useColorOverrides';
|
|
8
|
-
type ThemeContract = typeof
|
|
8
|
+
type ThemeContract = typeof overdriveTokens;
|
|
9
9
|
type PortalMountPoint = React.RefObject<HTMLElement | null>;
|
|
10
10
|
export interface ProviderProps {
|
|
11
11
|
theme?: typeof baseTheme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverdriveProvider.d.ts","sourceRoot":"","sources":["../../../lib/components/OverdriveProvider/OverdriveProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAwD,MAAM,OAAO,CAAC;AAE7E,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"OverdriveProvider.d.ts","sourceRoot":"","sources":["../../../lib/components/OverdriveProvider/OverdriveProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAwD,MAAM,OAAO,CAAC;AAE7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGzD,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE7E,KAAK,aAAa,GAAG,OAAO,eAAe,CAAC;AAC5C,KAAK,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;AAE5D,MAAM,WAAW,aAAa;IAE7B,KAAK,CAAC,EAAE,OAAO,SAAS,CAAC;IAEzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,cAAc,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAEzC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,eAChB,SAAQ,IAAI,CAAC,aAAa,EAAE,gBAAgB,GAAG,kBAAkB,CAAC;IAClE,UAAU,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;IACpD,IAAI,EAAE,aAAa,CAAC;CACpB;AAMD,eAAO,MAAM,QAAQ,uBAIpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,aAInC,CAAC;AAUF,eAAO,MAAM,QAAQ,GAAI,yFAOtB,aAAa,sBAyDf,CAAC;AAEF,eAAO,MAAM,iBAAiB,2CAK7B,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
|
4
4
|
import { useMemo } from 'react';
|
|
5
5
|
import { shadedColour } from "../../themes/helpers.js";
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens } from "../../themes/theme.css.js";
|
|
7
7
|
const colorOverrideKeys = ['primaryBackground', 'primaryBackgroundMild', 'primaryBackgroundStrong', 'primaryBorder', 'primaryForeground'];
|
|
8
8
|
const isValidColor = color => {
|
|
9
9
|
try {
|
|
@@ -40,7 +40,7 @@ export const useColorOverrides = (overrides, themeMode) => {
|
|
|
40
40
|
intensity: 0.1
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
return assignInlineVars(
|
|
43
|
+
return assignInlineVars(overdriveTokens, {
|
|
44
44
|
colours: {
|
|
45
45
|
intent: {
|
|
46
46
|
primary: {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Pagination/Pagination.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
const paginationBubbleSize = '36px';
|
|
8
8
|
export const disabled = style({
|
|
9
9
|
color: vars.colours.background.neutral
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/ProgressBar/ProgressBar.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const container = style({
|
|
8
8
|
height: vars.space['2']
|
|
9
9
|
}, "container");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/ProgressBarGroup/ProgressBarGroup.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
display: 'grid',
|
|
9
9
|
gridGap: `${vars.space['1']} ${vars.space['5']}`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const circular: string;
|
|
2
2
|
export declare const path: string;
|
|
3
|
-
export declare const colours: Record<"
|
|
3
|
+
export declare const colours: Record<"danger" | "warning" | "light" | "primary" | "secondary" | "default", string>;
|
|
4
4
|
export declare const size: {
|
|
5
5
|
small: Record<"path" | "circular", string>;
|
|
6
6
|
medium: Record<"path" | "circular", string>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/ProgressSpinner/ProgressSpinner.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { keyframes, style, styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
const spinAnim = keyframes({
|
|
8
8
|
'100%': {
|
|
9
9
|
transform: 'rotate(360deg)'
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Radio/Radio.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
import { checkable, nativeInput } from "../private/CheckableBase/CheckableBase.css.js";
|
|
8
8
|
const colorAccent = vars.colours.foreground.body;
|
|
9
9
|
const colorContrast = vars.colours.background.body;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/ScrollPane/ScrollPane.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
'::-webkit-scrollbar': {
|
|
9
9
|
backgroundColor: 'transparent',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FunctionComponent } from 'react';
|
|
2
|
-
import { Tokens } from '../../themes
|
|
2
|
+
import { ThemeTokens as Tokens } from '../../themes';
|
|
3
3
|
import { Box } from '../Box';
|
|
4
4
|
export interface Props extends Omit<ComponentProps<typeof Box>, 'overflow'> {
|
|
5
5
|
bottomGap?: keyof Tokens['space'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollPane.d.ts","sourceRoot":"","sources":["../../../lib/components/ScrollPane/ScrollPane.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ScrollPane.d.ts","sourceRoot":"","sources":["../../../lib/components/ScrollPane/ScrollPane.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAI7B,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC;IAC1E,SAAS,CAAC,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,KAAK,CAW/C,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Section/Section.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
import { mapTokenToProperty } from "../../utils/mapTokenToProperty.js";
|
|
8
8
|
export const root = style({
|
|
9
9
|
margin: '0 auto'
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/SelectInput/SelectInput.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const input = style({
|
|
8
8
|
marginTop: `calc(-1 * ${vars.border.width['1']})`,
|
|
9
9
|
marginBottom: `calc(-1 * ${vars.border.width['1']})`
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/SliderProgress/SliderProgress.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
display: 'grid',
|
|
9
9
|
gridGap: vars.space['1'],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Stack/Divider.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const line = style({
|
|
8
8
|
height: '1px',
|
|
9
9
|
boxShadow: `inset 0 0 0 1px ${vars.colours.background.neutral}`
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Stack/Stack.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
import { mapTokenToProperty } from "../../utils/mapTokenToProperty.js";
|
|
8
8
|
export const child = {
|
|
9
9
|
spaces: styleVariants(mapTokenToProperty(vars.space, value => ({
|
|
@@ -6,7 +6,7 @@ __vanilla_filescope__.setFileScope("lib/components/StandardModal/StandardModal.c
|
|
|
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';
|
|
9
|
-
import {
|
|
9
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
10
10
|
import { responsiveStyle } from "../../utils/responsiveStyle.js";
|
|
11
11
|
export const container = style({
|
|
12
12
|
outline: '0'
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/StarRating/StarRating.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const star = styleVariants({
|
|
8
8
|
default: {
|
|
9
9
|
color: vars.colours.intent.shine.foreground
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Stepper/Stepper.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const disabled = style({
|
|
8
8
|
cursor: 'not-allowed'
|
|
9
9
|
}, "disabled");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/StickyBox/StickyBox.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
import { mapTokenToProperty } from "../../utils/mapTokenToProperty.js";
|
|
8
8
|
export const root = style({
|
|
9
9
|
position: 'sticky',
|
|
@@ -4,7 +4,7 @@ import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Switch/Switch.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style, styleVariants } from '@vanilla-extract/css';
|
|
6
6
|
import { focusOutlineStyle } from "../../styles/focusOutline.css.js";
|
|
7
|
-
import {
|
|
7
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
8
8
|
const colorAccent = vars.colours.foreground.body;
|
|
9
9
|
const colorContrast = vars.colours.background.body;
|
|
10
10
|
const colorMid = vars.colours.background.neutral;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Table/TableCell.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
position: 'relative',
|
|
9
9
|
borderBottomColor: vars.colours.gamut.black100,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { AriaAttributes } from 'react';
|
|
4
|
-
import { Tokens } from '../../themes
|
|
4
|
+
import { ThemeTokens as Tokens } from '../../themes';
|
|
5
5
|
import type { Alignment } from '../../utils';
|
|
6
6
|
export interface Props extends Partial<Pick<AriaAttributes, 'aria-label'>> {
|
|
7
7
|
align?: Alignment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../lib/components/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../lib/components/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,MAAM,WAAW,KAAM,SAAQ,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;IACzE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC;IAEhC,QAAQ,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,8EA4CrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -6,7 +6,7 @@ __vanilla_filescope__.setFileScope("lib/components/Table/TableHeadCell.css.ts",
|
|
|
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, styleVariants } from '@vanilla-extract/css';
|
|
9
|
-
import {
|
|
9
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
10
10
|
export const sorterButton = style({
|
|
11
11
|
userSelect: 'text'
|
|
12
12
|
}, "sorterButton");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FunctionComponent } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { Tokens } from '../../themes
|
|
3
|
+
import type { ThemeTokens as Tokens } from '../../themes';
|
|
4
4
|
export interface TableContext {
|
|
5
5
|
padding?: keyof Tokens['space'];
|
|
6
6
|
stickyHead?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../lib/components/Table/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAiB,SAAS,EAAuB,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../lib/components/Table/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,EAAiB,SAAS,EAAuB,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AAE1D,MAAM,WAAW,YAAY;IAC5B,OAAO,CAAC,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAID,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,YAAY,CAehE,CAAC;AAEF,eAAO,MAAM,eAAe,oBAS3B,CAAC"}
|
|
@@ -7,7 +7,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
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';
|
|
9
9
|
import { recipe } from '@vanilla-extract/recipes';
|
|
10
|
-
import {
|
|
10
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
11
11
|
import { focusOutline } from "./../../styles/focusOutline.css.js";
|
|
12
12
|
const lineBottomHeight = '1px';
|
|
13
13
|
const size = '20px';
|
|
@@ -4,7 +4,7 @@ import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Tabs/TabList.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
6
|
import { recipe } from '@vanilla-extract/recipes';
|
|
7
|
-
import {
|
|
7
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
8
8
|
export const styledTabList = recipe({
|
|
9
9
|
base: {},
|
|
10
10
|
variants: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const root: string;
|
|
2
|
-
export declare const sizes: Record<
|
|
3
|
-
export declare const colours: Record<"
|
|
4
|
-
export declare const fontWeight: Record<"
|
|
2
|
+
export declare const sizes: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9", string>;
|
|
3
|
+
export declare const colours: Record<"link" | "white" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | "muted", string>;
|
|
4
|
+
export declare const fontWeight: Record<"bold" | "normal" | "semiBold", string>;
|
|
5
5
|
export declare const noWrap: string;
|
|
6
6
|
export declare const breakWord: string;
|
|
7
7
|
export declare const transform: Record<"capitalize" | "uppercase", string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTextStyles.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Text/useTextStyles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,QAOf,CAAC;AAEH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"useTextStyles.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Text/useTextStyles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,QAOf,CAAC;AAEH,eAAO,MAAM,KAAK,qEAWjB,CAAC;AAEF,eAAO,MAAM,OAAO,4KAEnB,CAAC;AAEF,eAAO,MAAM,UAAU,gDAEtB,CAAC;AAEF,eAAO,MAAM,MAAM,QAAkC,CAAC;AACtD,eAAO,MAAM,SAAS,QAAqC,CAAC;AAE5D,eAAO,MAAM,SAAS,4CAKrB,CAAC"}
|
|
@@ -6,7 +6,7 @@ __vanilla_filescope__.setFileScope("lib/components/Text/useTextStyles.css.ts", "
|
|
|
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, styleVariants } from '@vanilla-extract/css';
|
|
9
|
-
import {
|
|
9
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
10
10
|
import { mapTokenToProperty } from "../../utils/mapTokenToProperty.js";
|
|
11
11
|
export const root = style({
|
|
12
12
|
selectors: {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/TextLink/TextLink.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
7
7
|
export const root = style({
|
|
8
8
|
transitionDelay: '0s',
|
|
9
9
|
transitionTimingFunction: 'cubic-bezier(0, 0, 0.2, 1)',
|