@autoguru/overdrive 4.41.0 → 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.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 +17 -17
- 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/AutoSuggest/AutoSuggest.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 fullScreenRoot = style({
|
|
8
8
|
position: 'fixed',
|
|
9
9
|
zIndex: 1001,
|
|
@@ -5,7 +5,7 @@ __vanilla_filescope__.setFileScope("lib/components/Badge/Badge.css.ts", "@autogu
|
|
|
5
5
|
import { recipe } from '@vanilla-extract/recipes';
|
|
6
6
|
import { styledIntentionalElement } from "../../styles/intentional.css.js";
|
|
7
7
|
import { fontSize, fontWeight } from "../../styles/typography.css.js";
|
|
8
|
-
import {
|
|
8
|
+
import { overdriveTokens as tokens } from "../../themes/theme.css.js";
|
|
9
9
|
export const styledBadge = recipe({
|
|
10
10
|
base: [{
|
|
11
11
|
display: 'inline-block',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"argTypes.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/argTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"argTypes.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/argTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,eAAO,MAAM,YAAY,UAA8B,CAAC;AA0BxD,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,CAoErE,CAAC"}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
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
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 {
|
|
6
|
+
import { colourMap as baseColours } from "../../themes/base/colours.js";
|
|
7
|
+
import { tokens } from "../../themes/base/tokens.js";
|
|
7
8
|
export const scaleOptions = Object.values(tokens.space);
|
|
8
9
|
const boxShadowOptions = Object.keys(tokens.elevation);
|
|
9
10
|
const borderRadiusOptions = Object.keys(tokens.border.radius);
|
|
@@ -12,7 +13,7 @@ const widthOptions = ['full', 'none'];
|
|
|
12
13
|
const orderOptions = [0, 1, 2];
|
|
13
14
|
export const boxArgTypes = _objectSpread({
|
|
14
15
|
backgroundColour: {
|
|
15
|
-
options: Object.keys(
|
|
16
|
+
options: Object.keys(baseColours),
|
|
16
17
|
control: {
|
|
17
18
|
type: 'select'
|
|
18
19
|
}
|
|
@@ -14,10 +14,10 @@ export declare const boxShadow: Record<string | number, any>;
|
|
|
14
14
|
export declare const border: {
|
|
15
15
|
style: string;
|
|
16
16
|
colour: {
|
|
17
|
-
top: Record<
|
|
18
|
-
right: Record<
|
|
19
|
-
bottom: Record<
|
|
20
|
-
left: Record<
|
|
17
|
+
top: Record<"gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark", string>;
|
|
18
|
+
right: Record<"gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark", string>;
|
|
19
|
+
bottom: Record<"gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark", string>;
|
|
20
|
+
left: Record<"gray" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark", string>;
|
|
21
21
|
};
|
|
22
22
|
width: {
|
|
23
23
|
top: Record<string | number, any>;
|
|
@@ -27,8 +27,8 @@ export declare const border: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export declare const borderRadius: Record<string | number, any>;
|
|
30
|
-
export declare const backgroundColours: Record<
|
|
31
|
-
export declare const colours: Record<"
|
|
30
|
+
export declare const backgroundColours: Record<"white" | "black900" | "black800" | "black700" | "black600" | "black500" | "black400" | "black300" | "black200" | "black100" | "gray900" | "gray800" | "gray700" | "gray600" | "gray500" | "gray400" | "gray300" | "gray200" | "gray100" | "green900" | "green800" | "green700" | "green600" | "green500" | "green400" | "green300" | "green200" | "green100" | "blue900" | "blue800" | "blue700" | "blue600" | "blue500" | "blue400" | "blue300" | "blue200" | "blue100" | "yellow900" | "yellow800" | "yellow700" | "yellow600" | "yellow500" | "yellow400" | "yellow300" | "yellow200" | "yellow100" | "red900" | "red800" | "red700" | "red600" | "red500" | "red400" | "red300" | "red200" | "red100" | "success" | "danger" | "warning" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "transparent", string>;
|
|
31
|
+
export declare const colours: Record<"success" | "danger" | "warning" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information", string>;
|
|
32
32
|
export declare const width: Record<"none" | "full", string>;
|
|
33
33
|
export declare const height: Record<"full", string>;
|
|
34
34
|
export declare const position: Record<"fixed" | "absolute" | "relative", string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBoxStyles.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/useBoxStyles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useBoxStyles.css.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/useBoxStyles.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;CAKlB,CAAC;AAEF,eAAO,MAAM,SAAS,8BAAmD,CAAC;AAwC1E,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CAsBlB,CAAC;AAEF,eAAO,MAAM,YAAY,8BAGxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yzBAE7B,CAAC;AAEF,eAAO,MAAM,OAAO,4HAEnB,CAAC;AAEF,eAAO,MAAM,KAAK,iCAOhB,CAAC;AAEH,eAAO,MAAM,MAAM,wBAIjB,CAAC;AAEH,eAAO,MAAM,QAAQ,mDASpB,CAAC;AAEF,eAAO,MAAM,SAAS,6CASrB,CAAC;AAEF,eAAO,MAAM,QAAQ,0DAUpB,CAAC;AAEF,eAAO,MAAM,OAAO,2GAcnB,CAAC;AAEF,eAAO,MAAM,OAAO,uBAGlB,CAAC;AAEH,eAAO,MAAM,UAAU,wBAErB,CAAC;AAIH,eAAO,MAAM,KAAK,8BAOjB,CAAC;AAEF,eAAO,MAAM,UAAU,8BAOtB,CAAC;AAEF,eAAO,MAAM,aAAa,8BAQzB,CAAC;AAEF,eAAO,MAAM,QAAQ,uBAQpB,CAAC;AAEF,eAAO,MAAM,UAAU,mBAOtB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAQpB,CAAC;AAEF,eAAO,MAAM,cAAc,8BAS1B,CAAC;AAEF,eAAO,MAAM,aAAa,wBAExB,CAAC"}
|
|
@@ -6,7 +6,7 @@ __vanilla_filescope__.setFileScope("lib/components/Box/useBoxStyles.css.ts", "@a
|
|
|
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
|
import { makeResponsiveStyle } from "../../utils/responsiveProps.css.js";
|
|
12
12
|
export const padding = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import clsx from 'clsx';
|
|
2
2
|
import type { ElementType } from 'react';
|
|
3
|
-
import { Tokens } from '../../themes
|
|
3
|
+
import { ThemeTokens as Tokens } from '../../themes';
|
|
4
4
|
import { ResponsiveProp } from '../../utils/responsiveProps.css';
|
|
5
5
|
import * as styles from './useBoxStyles.css';
|
|
6
6
|
interface Padding {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBoxStyles.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/useBoxStyles.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useBoxStyles.d.ts","sourceRoot":"","sources":["../../../lib/components/Box/useBoxStyles.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,EAAE,WAAW,EAA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AAC;IAEtC,QAAQ,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,QAAQ,CAAC;IAExC,KAAK,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,MAAM,CAAC;IAEpC,gBAAgB,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,iBAAiB,CAAC;IACzD,MAAM,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC;IAEtC,QAAQ,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,QAAQ,CAAC;IACxC,UAAU,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,UAAU,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,aAAa,CAAC;IAElD,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,YAAY,GAAI,4nBAoD1B,aAAa,WAqHf,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/BulletList/Bullet.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 = styleVariants({
|
|
8
8
|
default: {
|
|
9
9
|
display: 'grid',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/BulletList/BulletList.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
|
listStyle: 'inside none'
|
|
9
9
|
}, "root");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/BulletText/BulletText.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 bullet = style({
|
|
8
8
|
lineHeight: vars.typography.size['2'].lineHeight,
|
|
9
9
|
width: vars.space['6'],
|
|
@@ -5,7 +5,7 @@ __vanilla_filescope__.setFileScope("lib/components/Button/Button.css.ts", "@auto
|
|
|
5
5
|
import { style } from '@vanilla-extract/css';
|
|
6
6
|
import { recipe } from '@vanilla-extract/recipes';
|
|
7
7
|
import { focusOutlineStyle } from "../../styles/focusOutline.css.js";
|
|
8
|
-
import {
|
|
8
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
9
9
|
const intentColors = vars.colours.intent;
|
|
10
10
|
const smallHeight = '36px';
|
|
11
11
|
const selectorFocusHoverActive = '&:focus-visible, &:not(:disabled):hover, &:not(:disabled):active';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/CheckBox/CheckBox.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 { nativeInput, checkable } 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/ColourInput/ColourInput.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 input = style({
|
|
8
8
|
opacity: 0
|
|
9
9
|
}, "input");
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Columns/Columns.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
|
import { makeResponsiveStyle } from "../../utils/responsiveProps.css.js";
|
|
8
8
|
export const space = {
|
|
9
9
|
spaceX: makeResponsiveStyle(vars.space, 'paddingLeft'),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
-
import { Tokens } from '../../themes
|
|
3
|
+
import type { ThemeTokens as Tokens } from '../../themes';
|
|
4
4
|
import { ResponsiveProp } from '../../utils/responsiveProps.css';
|
|
5
5
|
import { Box } from '../Box';
|
|
6
6
|
import * as styles from './Columns.css';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Columns.d.ts","sourceRoot":"","sources":["../../../lib/components/Columns/Columns.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACN,cAAc,EAGd,SAAS,EAET,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,MAAM,EAAE,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
|
@@ -5,16 +5,18 @@ declare const _default: {
|
|
|
5
5
|
decorators: ((story: import("@storybook/core/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
6
6
|
colour?: keyof typeof import("../Box/useBoxStyles.css").colours | undefined;
|
|
7
7
|
backgroundColour?: keyof typeof import("../Box/useBoxStyles.css").backgroundColours | undefined;
|
|
8
|
-
space?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
8
|
+
space?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
9
|
+
color?: string | undefined | undefined;
|
|
10
|
+
content?: string | undefined | undefined;
|
|
11
|
+
placeholder?: string | undefined | undefined;
|
|
9
12
|
width?: keyof typeof import("../Box/useBoxStyles.css").width | undefined;
|
|
10
13
|
min?: number | string | undefined | undefined;
|
|
11
14
|
size?: number | undefined | undefined;
|
|
12
15
|
muted?: boolean | undefined | undefined;
|
|
16
|
+
opacity?: keyof typeof import("../Box/useBoxStyles.css").opacity | undefined;
|
|
13
17
|
name?: string | undefined | undefined;
|
|
14
18
|
alignItems?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").alignItems> | undefined;
|
|
15
19
|
boxShadow?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").boxShadow> | undefined;
|
|
16
|
-
color?: string | undefined | undefined;
|
|
17
|
-
content?: string | undefined | undefined;
|
|
18
20
|
display?: keyof typeof import("../Box/useBoxStyles.css").display | undefined;
|
|
19
21
|
flexDirection?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").flexDirection> | undefined;
|
|
20
22
|
flexGrow?: keyof typeof import("../Box/useBoxStyles.css").flexGrow | undefined;
|
|
@@ -22,30 +24,29 @@ declare const _default: {
|
|
|
22
24
|
flexWrap?: keyof typeof import("../Box/useBoxStyles.css").flexWrap | undefined;
|
|
23
25
|
height?: keyof typeof import("../Box/useBoxStyles.css").height | undefined;
|
|
24
26
|
justifyContent?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").justifyContent> | undefined;
|
|
25
|
-
marginBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
26
|
-
marginLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
27
|
-
marginRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
28
|
-
marginTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
29
|
-
opacity?: keyof typeof import("../Box/useBoxStyles.css").opacity | undefined;
|
|
27
|
+
marginBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
28
|
+
marginLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
29
|
+
marginRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
30
|
+
marginTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
30
31
|
order?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").order> | undefined;
|
|
31
|
-
paddingBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
32
|
-
paddingLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
33
|
-
paddingRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
34
|
-
paddingTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
32
|
+
paddingBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
33
|
+
paddingLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
34
|
+
paddingRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
35
|
+
paddingTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
35
36
|
pointerEvents?: keyof typeof import("../Box/useBoxStyles.css").pointerEvents | undefined;
|
|
36
37
|
position?: keyof typeof import("../Box/useBoxStyles.css").position | undefined;
|
|
37
38
|
textAlign?: keyof typeof import("../Box/useBoxStyles.css").textAlign | undefined;
|
|
38
39
|
translate?: "yes" | "no" | undefined | undefined;
|
|
39
40
|
userSelect?: keyof typeof import("../Box/useBoxStyles.css").userSelect | undefined;
|
|
40
41
|
borderRadius?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof typeof import("../Box/useBoxStyles.css").borderRadius> | undefined;
|
|
41
|
-
borderWidth?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
42
|
+
borderWidth?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
42
43
|
columns?: number | undefined;
|
|
43
|
-
margin?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
44
|
+
margin?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
44
45
|
overflow?: keyof typeof import("../Box/useBoxStyles.css").overflow | undefined;
|
|
45
|
-
padding?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
46
|
-
style?: React.CSSProperties | undefined;
|
|
46
|
+
padding?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
47
47
|
start?: number | undefined | undefined;
|
|
48
48
|
hidden?: boolean | undefined | undefined;
|
|
49
|
+
style?: React.CSSProperties | undefined;
|
|
49
50
|
default?: boolean | undefined | undefined;
|
|
50
51
|
wrap?: string | undefined | undefined;
|
|
51
52
|
open?: boolean | undefined | undefined;
|
|
@@ -56,16 +57,16 @@ declare const _default: {
|
|
|
56
57
|
as?: React.ElementType | undefined;
|
|
57
58
|
is?: React.ElementType | undefined;
|
|
58
59
|
className?: string | undefined;
|
|
59
|
-
paddingX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
60
|
-
paddingY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
61
|
-
marginX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
62
|
-
marginY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
63
|
-
borderWidthX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
64
|
-
borderWidthY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
65
|
-
borderWidthTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
66
|
-
borderWidthRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
67
|
-
borderWidthBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
68
|
-
borderWidthLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes
|
|
60
|
+
paddingX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
61
|
+
paddingY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
62
|
+
marginX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
63
|
+
marginY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["space"]> | undefined;
|
|
64
|
+
borderWidthX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
65
|
+
borderWidthY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
66
|
+
borderWidthTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
67
|
+
borderWidthRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
68
|
+
borderWidthBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
69
|
+
borderWidthLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes").ThemeTokens["border"]["width"]> | undefined;
|
|
69
70
|
borderColour?: keyof typeof import("../Box/useBoxStyles.css").border["colour"]["top"] | undefined;
|
|
70
71
|
borderColourX?: keyof typeof import("../Box/useBoxStyles.css").border["colour"]["top"] | undefined;
|
|
71
72
|
borderColourY?: keyof typeof import("../Box/useBoxStyles.css").border["colour"]["top"] | undefined;
|
|
@@ -137,7 +138,6 @@ declare const _default: {
|
|
|
137
138
|
minLength?: number | undefined | undefined;
|
|
138
139
|
noValidate?: boolean | undefined | undefined;
|
|
139
140
|
optimum?: number | undefined | undefined;
|
|
140
|
-
placeholder?: string | undefined | undefined;
|
|
141
141
|
playsInline?: boolean | undefined | undefined;
|
|
142
142
|
poster?: string | undefined | undefined;
|
|
143
143
|
preload?: string | undefined | undefined;
|
|
@@ -496,16 +496,17 @@ declare const _default: {
|
|
|
496
496
|
flexShrink?: import("@storybook/core/csf").InputType | undefined;
|
|
497
497
|
flexWrap?: import("@storybook/core/csf").InputType | undefined;
|
|
498
498
|
justifyContent?: import("@storybook/core/csf").InputType | undefined;
|
|
499
|
+
color?: import("@storybook/core/csf").InputType | undefined;
|
|
500
|
+
content?: import("@storybook/core/csf").InputType | undefined;
|
|
501
|
+
placeholder?: import("@storybook/core/csf").InputType | undefined;
|
|
499
502
|
min?: import("@storybook/core/csf").InputType | undefined;
|
|
500
503
|
size?: import("@storybook/core/csf").InputType | undefined;
|
|
501
504
|
muted?: import("@storybook/core/csf").InputType | undefined;
|
|
502
505
|
name?: import("@storybook/core/csf").InputType | undefined;
|
|
503
|
-
color?: import("@storybook/core/csf").InputType | undefined;
|
|
504
|
-
content?: import("@storybook/core/csf").InputType | undefined;
|
|
505
506
|
translate?: import("@storybook/core/csf").InputType | undefined;
|
|
506
|
-
style?: import("@storybook/core/csf").InputType | undefined;
|
|
507
507
|
start?: import("@storybook/core/csf").InputType | undefined;
|
|
508
508
|
hidden?: import("@storybook/core/csf").InputType | undefined;
|
|
509
|
+
style?: import("@storybook/core/csf").InputType | undefined;
|
|
509
510
|
default?: import("@storybook/core/csf").InputType | undefined;
|
|
510
511
|
wrap?: import("@storybook/core/csf").InputType | undefined;
|
|
511
512
|
open?: import("@storybook/core/csf").InputType | undefined;
|
|
@@ -576,7 +577,6 @@ declare const _default: {
|
|
|
576
577
|
minLength?: import("@storybook/core/csf").InputType | undefined;
|
|
577
578
|
noValidate?: import("@storybook/core/csf").InputType | undefined;
|
|
578
579
|
optimum?: import("@storybook/core/csf").InputType | undefined;
|
|
579
|
-
placeholder?: import("@storybook/core/csf").InputType | undefined;
|
|
580
580
|
playsInline?: import("@storybook/core/csf").InputType | undefined;
|
|
581
581
|
poster?: import("@storybook/core/csf").InputType | undefined;
|
|
582
582
|
preload?: import("@storybook/core/csf").InputType | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Columns.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Columns/Columns.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;;;;;;;+
|
|
1
|
+
{"version":3,"file":"Columns.stories.d.ts","sourceRoot":"","sources":["../../../lib/components/Columns/Columns.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;;;;;;;+EAmC/C,2CACE;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjGV,wBAkCiC;AA8HjC,eAAO,MAAM,QAAQ,qKAA+B,CAAC;AAQrD,eAAO,MAAM,cAAc,oKAA2C,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/DatePicker/DatePicker.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 input = style({
|
|
8
8
|
top: 0,
|
|
9
9
|
right: 0,
|
|
@@ -7,8 +7,8 @@ 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 { styledFont } from "../../styles/typography.css.js";
|
|
10
|
+
import { overdriveTokens as tokens, overdriveTokens } from "../../themes/index.js";
|
|
10
11
|
import { breakpoints } from "../../themes/makeTheme.js";
|
|
11
|
-
import { themeContractVars as tokens } from "../../themes/theme.css.js";
|
|
12
12
|
import { interactionStyle } from "../../utils/css.js";
|
|
13
13
|
export const queryContainer = createContainer("queryContainer");
|
|
14
14
|
export const queryContainerStyle = style({
|
|
@@ -41,24 +41,24 @@ export const calendarStyle = style({
|
|
|
41
41
|
export const styledCell = recipe({
|
|
42
42
|
base: [{
|
|
43
43
|
alignItems: 'center',
|
|
44
|
-
backgroundColor:
|
|
45
|
-
borderRadius:
|
|
46
|
-
color:
|
|
44
|
+
backgroundColor: overdriveTokens.colours.background.body,
|
|
45
|
+
borderRadius: overdriveTokens.border.radius['md'],
|
|
46
|
+
color: overdriveTokens.colours.foreground.body,
|
|
47
47
|
cursor: 'pointer',
|
|
48
48
|
display: 'inline-flex',
|
|
49
49
|
fontSize: 'md',
|
|
50
50
|
justifyContent: 'center'
|
|
51
51
|
}, interactionStyle({
|
|
52
52
|
hoverNotSelected: {
|
|
53
|
-
backgroundColor:
|
|
53
|
+
backgroundColor: overdriveTokens.colours.gamut.gray200
|
|
54
54
|
},
|
|
55
55
|
selected: {
|
|
56
|
-
backgroundColor:
|
|
57
|
-
color:
|
|
56
|
+
backgroundColor: overdriveTokens.colours.foreground.body,
|
|
57
|
+
color: overdriveTokens.colours.background.body
|
|
58
58
|
},
|
|
59
59
|
disabled: {
|
|
60
|
-
backgroundColor:
|
|
61
|
-
color:
|
|
60
|
+
backgroundColor: overdriveTokens.colours.background.body,
|
|
61
|
+
color: overdriveTokens.colours.gamut.gray400,
|
|
62
62
|
cursor: 'default'
|
|
63
63
|
}
|
|
64
64
|
}), sprinklesResponsive({
|
|
@@ -68,24 +68,24 @@ export const styledCell = recipe({
|
|
|
68
68
|
export const styledButton = recipe({
|
|
69
69
|
base: [{
|
|
70
70
|
alignItems: 'center',
|
|
71
|
-
backgroundColor:
|
|
72
|
-
borderColor:
|
|
73
|
-
borderRadius:
|
|
71
|
+
backgroundColor: overdriveTokens.colours.background.body,
|
|
72
|
+
borderColor: overdriveTokens.border.colours.gray,
|
|
73
|
+
borderRadius: overdriveTokens.border.radius['md'],
|
|
74
74
|
borderStyle: 'solid',
|
|
75
|
-
borderWidth:
|
|
76
|
-
color:
|
|
75
|
+
borderWidth: overdriveTokens.border.width[1],
|
|
76
|
+
color: overdriveTokens.colours.gamut.gray600,
|
|
77
77
|
cursor: 'pointer',
|
|
78
78
|
display: 'flex',
|
|
79
79
|
justifyContent: 'center',
|
|
80
80
|
padding: 0
|
|
81
81
|
}, interactionStyle({
|
|
82
82
|
hover: {
|
|
83
|
-
backgroundColor:
|
|
83
|
+
backgroundColor: overdriveTokens.colours.gamut.gray200
|
|
84
84
|
},
|
|
85
85
|
disabled: {
|
|
86
|
-
backgroundColor:
|
|
87
|
-
borderColor:
|
|
88
|
-
color:
|
|
86
|
+
backgroundColor: overdriveTokens.colours.background.body,
|
|
87
|
+
borderColor: overdriveTokens.border.colours.light,
|
|
88
|
+
color: overdriveTokens.colours.gamut.gray300,
|
|
89
89
|
cursor: 'not-allowed'
|
|
90
90
|
}
|
|
91
91
|
}), sprinklesResponsive({
|
|
@@ -93,10 +93,10 @@ export const styledButton = recipe({
|
|
|
93
93
|
}), focusOutlineStyle]
|
|
94
94
|
}, "styledButton");
|
|
95
95
|
export const thStyle = style({
|
|
96
|
-
color:
|
|
96
|
+
color: overdriveTokens.colours.gamut.gray600
|
|
97
97
|
}, "thStyle");
|
|
98
98
|
export const tdStyle = style({
|
|
99
|
-
padding:
|
|
99
|
+
padding: overdriveTokens.space[1],
|
|
100
100
|
textAlign: 'center'
|
|
101
101
|
}, "tdStyle");
|
|
102
102
|
export const headingStyle = styledFont({
|
|
@@ -108,7 +108,7 @@ export const subheadingStyle = styledFont({
|
|
|
108
108
|
weight: 'bold'
|
|
109
109
|
});
|
|
110
110
|
export const titleStyle = style({
|
|
111
|
-
fontWeight:
|
|
111
|
+
fontWeight: overdriveTokens.typography.fontWeight.bold,
|
|
112
112
|
margin: 0
|
|
113
113
|
}, "titleStyle");
|
|
114
114
|
__vanilla_filescope__.endFileScope();
|
|
@@ -13,7 +13,7 @@ declare const meta: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
colour: {
|
|
16
|
-
options: readonly (
|
|
16
|
+
options: readonly ("white" | "black900" | "black800" | "black700" | "black600" | "black500" | "black400" | "black300" | "black200" | "black100" | "gray900" | "gray800" | "gray700" | "gray600" | "gray500" | "gray400" | "gray300" | "gray200" | "gray100" | "green900" | "green800" | "green700" | "green600" | "green500" | "green400" | "green300" | "green200" | "green100" | "blue900" | "blue800" | "blue700" | "blue600" | "blue500" | "blue400" | "blue300" | "blue200" | "blue100" | "yellow900" | "yellow800" | "yellow700" | "yellow600" | "yellow500" | "yellow400" | "yellow300" | "yellow200" | "yellow100" | "red900" | "red800" | "red700" | "red600" | "red500" | "red400" | "red300" | "red200" | "red100" | "success" | "danger" | "warning" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "transparent" | undefined)[];
|
|
17
17
|
defaultValue: number;
|
|
18
18
|
control: {
|
|
19
19
|
type: "select";
|
|
@@ -31,7 +31,7 @@ declare const meta: {
|
|
|
31
31
|
isVertical?: boolean | undefined;
|
|
32
32
|
className?: string | undefined;
|
|
33
33
|
space: ComponentProps<typeof Box>["marginY"];
|
|
34
|
-
colour?:
|
|
34
|
+
colour?: "white" | "black900" | "black800" | "black700" | "black600" | "black500" | "black400" | "black300" | "black200" | "black100" | "gray900" | "gray800" | "gray700" | "gray600" | "gray500" | "gray400" | "gray300" | "gray200" | "gray100" | "green900" | "green800" | "green700" | "green600" | "green500" | "green400" | "green300" | "green200" | "green100" | "blue900" | "blue800" | "blue700" | "blue600" | "blue500" | "blue400" | "blue300" | "blue200" | "blue100" | "yellow900" | "yellow800" | "yellow700" | "yellow600" | "yellow500" | "yellow400" | "yellow300" | "yellow200" | "yellow100" | "red900" | "red800" | "red700" | "red600" | "red500" | "red400" | "red300" | "red200" | "red100" | "success" | "danger" | "warning" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "transparent" | undefined;
|
|
35
35
|
size?: keyof typeof import("./DividerLine.css").size["horizontal"] | undefined;
|
|
36
36
|
}>) => React.JSX.Element)[];
|
|
37
37
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/DropDown/DropDownOption.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
|
transition: 'background-color 0.2s cubic-bezier(0, 0, 0.2, 1) 0s',
|
|
9
9
|
cursor: 'pointer',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/EditableText/EditableText.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)',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Tokens } from '../../themes
|
|
2
|
+
import type { ThemeTokens as Tokens } from '../../themes';
|
|
3
3
|
import type { WithTestId } from '../../types';
|
|
4
4
|
import { type BoxProps } from '../Box';
|
|
5
5
|
import type { TextStyleProps } from '../Text';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../lib/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../lib/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAG9C,MAAM,WAAW,YAChB,SAAQ,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,EACjC,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,WAAW,GAAG,IAAI,CAAC;IAChD,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;CAChE;AAWD,eAAO,MAAM,OAAO,GAAI,yGAarB,UAAU,CAAC,YAAY,CAAC,sBAoB1B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -27,14 +27,14 @@ declare const _default: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
weight: {
|
|
30
|
-
options: ("
|
|
30
|
+
options: ("bold" | "normal" | "semiBold" | undefined)[];
|
|
31
31
|
defaultValue: null;
|
|
32
32
|
control: {
|
|
33
33
|
type: string;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
size: {
|
|
37
|
-
options: (
|
|
37
|
+
options: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | undefined)[];
|
|
38
38
|
defaultValue: undefined;
|
|
39
39
|
control: {
|
|
40
40
|
type: "select";
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
colour: {
|
|
51
|
-
options: ("
|
|
51
|
+
options: ("link" | "white" | "success" | "danger" | "warning" | "light" | "neutral" | "primary" | "brand" | "secondary" | "shine" | "information" | "dark" | undefined)[];
|
|
52
52
|
defaultValue: undefined;
|
|
53
53
|
control: {
|
|
54
54
|
type: "select";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/HorizontalAutoScroller/HorizontalAutoScroller.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 actionWidth = 50;
|
|
8
8
|
export const controllerBtn = style({
|
|
9
9
|
top: 0,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/components/Icon/Icon.css.ts", "@autoguru/overdrive");
|
|
5
|
-
import {
|
|
5
|
+
import { overdriveTokens as vars } from "../../themes/theme.css.js";
|
|
6
6
|
import { makeResponsiveStyle } from "../../utils/responsiveProps.css.js";
|
|
7
7
|
export const size = makeResponsiveStyle(vars.icon.size, value => ({
|
|
8
8
|
width: value,
|