@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.
Files changed (176) hide show
  1. package/dist/components/AutoSuggest/AutoSuggest.css.js +1 -1
  2. package/dist/components/Badge/Badge.css.js +1 -1
  3. package/dist/components/Box/argTypes.d.ts.map +1 -1
  4. package/dist/components/Box/argTypes.js +3 -2
  5. package/dist/components/Box/useBoxStyles.css.d.ts +6 -6
  6. package/dist/components/Box/useBoxStyles.css.d.ts.map +1 -1
  7. package/dist/components/Box/useBoxStyles.css.js +1 -1
  8. package/dist/components/Box/useBoxStyles.d.ts +1 -1
  9. package/dist/components/Box/useBoxStyles.d.ts.map +1 -1
  10. package/dist/components/BulletList/Bullet.css.js +1 -1
  11. package/dist/components/BulletList/BulletList.css.js +1 -1
  12. package/dist/components/BulletText/BulletText.css.js +1 -1
  13. package/dist/components/Button/Button.css.js +1 -1
  14. package/dist/components/CheckBox/CheckBox.css.js +1 -1
  15. package/dist/components/ColourInput/ColourInput.css.js +1 -1
  16. package/dist/components/Columns/Columns.css.js +1 -1
  17. package/dist/components/Columns/Columns.d.ts +1 -1
  18. package/dist/components/Columns/Columns.d.ts.map +1 -1
  19. package/dist/components/Columns/Columns.stories.d.ts +31 -31
  20. package/dist/components/Columns/Columns.stories.d.ts.map +1 -1
  21. package/dist/components/DatePicker/DatePicker.css.js +1 -1
  22. package/dist/components/DateTimePicker/DateTimePicker.css.js +21 -21
  23. package/dist/components/DividerLine/DividerLine.stories.d.ts +2 -2
  24. package/dist/components/DropDown/DropDownOption.css.js +1 -1
  25. package/dist/components/EditableText/EditableText.css.js +1 -1
  26. package/dist/components/Heading/Heading.d.ts +1 -1
  27. package/dist/components/Heading/Heading.d.ts.map +1 -1
  28. package/dist/components/Heading/Heading.stories.d.ts +3 -3
  29. package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.css.js +1 -1
  30. package/dist/components/Icon/Icon.css.js +1 -1
  31. package/dist/components/Inline/Inline.d.ts +2 -2
  32. package/dist/components/Inline/Inline.d.ts.map +1 -1
  33. package/dist/components/IntentStripe/IntentStripe.css.js +1 -1
  34. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.js +1 -1
  35. package/dist/components/LoadingBox/LoadingBox.css.js +1 -1
  36. package/dist/components/LoadingBox/LoadingBox.stories.d.ts +26 -26
  37. package/dist/components/LoadingBox/LoadingBox.stories.d.ts.map +1 -1
  38. package/dist/components/Meta/Meta.css.js +1 -1
  39. package/dist/components/MinimalModal/MinimalModal.css.js +1 -1
  40. package/dist/components/Modal/Modal.css.js +1 -1
  41. package/dist/components/OptionGrid/OptionGrid.css.js +1 -1
  42. package/dist/components/OptionList/OptionList.css.js +1 -1
  43. package/dist/components/OrderedList/OrderedList.css.js +1 -1
  44. package/dist/components/OverdriveProvider/OverdriveProvider.d.ts +3 -3
  45. package/dist/components/OverdriveProvider/OverdriveProvider.d.ts.map +1 -1
  46. package/dist/components/OverdriveProvider/useColorOverrides.js +2 -2
  47. package/dist/components/Pagination/Pagination.css.js +1 -1
  48. package/dist/components/ProgressBar/ProgressBar.css.js +1 -1
  49. package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +1 -1
  50. package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +1 -1
  51. package/dist/components/ProgressSpinner/ProgressSpinner.css.js +1 -1
  52. package/dist/components/Radio/Radio.css.js +1 -1
  53. package/dist/components/ScrollPane/ScrollPane.css.js +1 -1
  54. package/dist/components/ScrollPane/ScrollPane.d.ts +1 -1
  55. package/dist/components/ScrollPane/ScrollPane.d.ts.map +1 -1
  56. package/dist/components/Section/Section.css.js +1 -1
  57. package/dist/components/SelectInput/SelectInput.css.js +1 -1
  58. package/dist/components/SliderProgress/SliderProgress.css.js +1 -1
  59. package/dist/components/Stack/Divider.css.js +1 -1
  60. package/dist/components/Stack/Stack.css.js +1 -1
  61. package/dist/components/StandardModal/StandardModal.css.js +1 -1
  62. package/dist/components/StarRating/StarRating.css.js +1 -1
  63. package/dist/components/Stepper/Stepper.css.js +1 -1
  64. package/dist/components/StickyBox/StickyBox.css.js +1 -1
  65. package/dist/components/Switch/Switch.css.js +1 -1
  66. package/dist/components/Table/TableCell.css.js +1 -1
  67. package/dist/components/Table/TableCell.d.ts +1 -1
  68. package/dist/components/Table/TableCell.d.ts.map +1 -1
  69. package/dist/components/Table/TableHeadCell.css.js +1 -1
  70. package/dist/components/Table/context.d.ts +1 -1
  71. package/dist/components/Table/context.d.ts.map +1 -1
  72. package/dist/components/Tabs/Tab.css.js +1 -1
  73. package/dist/components/Tabs/TabList.css.js +1 -1
  74. package/dist/components/Text/useTextStyles.css.d.ts +3 -3
  75. package/dist/components/Text/useTextStyles.css.d.ts.map +1 -1
  76. package/dist/components/Text/useTextStyles.css.js +1 -1
  77. package/dist/components/TextLink/TextLink.css.js +1 -1
  78. package/dist/components/TextLink/TextLink.stories.d.ts +3 -3
  79. package/dist/components/Toaster/Toast.css.js +1 -1
  80. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
  81. package/dist/components/private/CheckableBase/CheckableBase.css.js +1 -1
  82. package/dist/components/private/InputBase/HintText.css.js +1 -1
  83. package/dist/components/private/InputBase/InputState.css.js +1 -1
  84. package/dist/components/private/InputBase/NotchedBase.css.js +1 -1
  85. package/dist/components/private/InputBase/withEnhancedInput.css.js +1 -1
  86. package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.js +1 -1
  87. package/dist/hooks/useMedia/useMedia.d.ts +1 -1
  88. package/dist/hooks/useMedia/useMedia.d.ts.map +1 -1
  89. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.js +1 -1
  90. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts +1 -1
  91. package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts.map +1 -1
  92. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.js +1 -1
  93. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts +1 -1
  94. package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts.map +1 -1
  95. package/dist/hooks/useWindowHeightFill/useWindowHeightFill.d.ts +1 -1
  96. package/dist/hooks/useWindowHeightFill/useWindowHeightFill.d.ts.map +1 -1
  97. package/dist/hooks/useWindowHeightFill/useWindowHeightFill.js +2 -2
  98. package/dist/reset/globalReset.css.js +5 -5
  99. package/dist/reset/reset.css.js +5 -5
  100. package/dist/stories/borders.stories.d.ts.map +1 -1
  101. package/dist/stories/helpers/index.d.ts +5 -2
  102. package/dist/stories/helpers/index.d.ts.map +1 -1
  103. package/dist/stories/helpers/sprinkles.css.d.ts +19 -70
  104. package/dist/stories/helpers/sprinkles.css.d.ts.map +1 -1
  105. package/dist/stories/helpers/styles.css.d.ts +2 -0
  106. package/dist/stories/helpers/styles.css.d.ts.map +1 -1
  107. package/dist/stories/icons.stories.d.ts.map +1 -1
  108. package/dist/stories/intentional-colours.stories.d.ts +6 -0
  109. package/dist/stories/intentional-colours.stories.d.ts.map +1 -0
  110. package/dist/stories/palette.stories.d.ts.map +1 -1
  111. package/dist/stories/space.stories.d.ts.map +1 -1
  112. package/dist/stories/theme.stories.d.ts.map +1 -1
  113. package/dist/styles/focusOutline.css.js +1 -1
  114. package/dist/styles/intentional.css.d.ts +2 -2
  115. package/dist/styles/intentional.css.js +1 -1
  116. package/dist/styles/layers.css.d.ts +4 -0
  117. package/dist/styles/layers.css.d.ts.map +1 -0
  118. package/dist/styles/layers.css.js +11 -0
  119. package/dist/styles/sprinkles.css.js +1 -1
  120. package/dist/styles/stack.css.js +1 -1
  121. package/dist/styles/typography.css.d.ts +2 -2
  122. package/dist/styles/typography.css.js +1 -1
  123. package/dist/themes/base/colours.d.ts +139 -0
  124. package/dist/themes/base/colours.d.ts.map +1 -0
  125. package/dist/themes/base/colours.js +77 -0
  126. package/dist/themes/base/index.d.ts +510 -10
  127. package/dist/themes/base/index.d.ts.map +1 -1
  128. package/dist/themes/base/index.js +4 -4
  129. package/dist/themes/base/theme.css.d.ts +3 -0
  130. package/dist/themes/base/theme.css.d.ts.map +1 -0
  131. package/dist/themes/base/theme.css.js +11 -0
  132. package/dist/themes/base/tokens.d.ts +393 -4
  133. package/dist/themes/base/tokens.d.ts.map +1 -1
  134. package/dist/themes/base/tokens.js +113 -142
  135. package/dist/themes/flat_red/index.d.ts +617 -10
  136. package/dist/themes/flat_red/index.d.ts.map +1 -1
  137. package/dist/themes/flat_red/index.js +4 -4
  138. package/dist/themes/flat_red/theme.css.d.ts +2 -0
  139. package/dist/themes/flat_red/theme.css.d.ts.map +1 -0
  140. package/dist/themes/flat_red/theme.css.js +10 -0
  141. package/dist/themes/flat_red/tokens.d.ts +500 -1
  142. package/dist/themes/flat_red/tokens.d.ts.map +1 -1
  143. package/dist/themes/helpers.d.ts +4 -0
  144. package/dist/themes/helpers.d.ts.map +1 -1
  145. package/dist/themes/index.d.ts +792 -0
  146. package/dist/themes/index.d.ts.map +1 -1
  147. package/dist/themes/index.js +6 -1
  148. package/dist/themes/makeTheme.d.ts +396 -2
  149. package/dist/themes/makeTheme.d.ts.map +1 -1
  150. package/dist/themes/makeTheme.js +4 -0
  151. package/dist/themes/neutral/index.d.ts +750 -10
  152. package/dist/themes/neutral/index.d.ts.map +1 -1
  153. package/dist/themes/neutral/index.js +3 -3
  154. package/dist/themes/neutral/{vars.css.d.ts → theme.css.d.ts} +1 -1
  155. package/dist/themes/neutral/theme.css.d.ts.map +1 -0
  156. package/dist/themes/neutral/theme.css.js +10 -0
  157. package/dist/themes/neutral/tokens.d.ts +633 -2
  158. package/dist/themes/neutral/tokens.d.ts.map +1 -1
  159. package/dist/themes/neutral/tokens.js +5 -4
  160. package/dist/themes/theme.css.d.ts +180 -285
  161. package/dist/themes/theme.css.d.ts.map +1 -1
  162. package/dist/themes/theme.css.js +237 -194
  163. package/dist/themes/types.d.ts +19 -0
  164. package/dist/themes/types.d.ts.map +1 -0
  165. package/package.json +17 -17
  166. package/dist/themes/base/vars.css.d.ts +0 -3
  167. package/dist/themes/base/vars.css.d.ts.map +0 -1
  168. package/dist/themes/base/vars.css.js +0 -10
  169. package/dist/themes/flat_red/vars.css.d.ts +0 -2
  170. package/dist/themes/flat_red/vars.css.d.ts.map +0 -1
  171. package/dist/themes/flat_red/vars.css.js +0 -9
  172. package/dist/themes/neutral/vars.css.d.ts.map +0 -1
  173. package/dist/themes/neutral/vars.css.js +0 -9
  174. package/dist/themes/tokens.d.ts +0 -106
  175. package/dist/themes/tokens.d.ts.map +0 -1
  176. /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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as tokens } from "../../themes/theme.css.js";
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;AAI5C,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"}
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 { defaultGamut, tokens } from "../../themes/base/tokens.js";
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(defaultGamut),
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<("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information") | "light" | "dark" | "gray", string>;
18
- right: Record<("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information") | "light" | "dark" | "gray", string>;
19
- bottom: Record<("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information") | "light" | "dark" | "gray", string>;
20
- left: Record<("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information") | "light" | "dark" | "gray", string>;
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<import("../../themes/tokens").ColourGamut | ("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information") | "white" | "transparent", string>;
31
- export declare const colours: Record<"primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information", string>;
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":"AAOA,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,oMAE7B,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,Q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,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 { themeContractVars as vars } from "../../themes/theme.css.js";
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/tokens';
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":"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M,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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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/tokens';
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,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,MAAM,WAAW,KAAM,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,KAAK,CAAC;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,cAAc,CAAC,MAAM,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9C,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,C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M,CAAC,EAAE,cAAc,CAAC,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,QAAQ,CAAC;IACjD,KAAK,CAAC,EAAE,MAAM,OAAO,MAAM,CAAC,KAAK,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,UAAU,kBAAkB;IAC3B,SAAS,MAAC;IACV,SAAS,MAAC;IACV,MAAM,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,aAAa,0CAAiD,CAAC;AAE5E,eAAO,MAAM,OAAO,wFAmEnB,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -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/tokens").Tokens["space"]> | undefined;
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/tokens").Tokens["space"]> | undefined;
26
- marginLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
27
- marginRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
28
- marginTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
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/tokens").Tokens["space"]> | undefined;
32
- paddingLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
33
- paddingRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
34
- paddingTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
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/tokens").Tokens["border"]["width"]> | undefined;
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/tokens").Tokens["space"]> | undefined;
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/tokens").Tokens["space"]> | undefined;
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/tokens").Tokens["space"]> | undefined;
60
- paddingY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
61
- marginX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
62
- marginY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["space"]> | undefined;
63
- borderWidthX?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["border"]["width"]> | undefined;
64
- borderWidthY?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["border"]["width"]> | undefined;
65
- borderWidthTop?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["border"]["width"]> | undefined;
66
- borderWidthRight?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["border"]["width"]> | undefined;
67
- borderWidthBottom?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["border"]["width"]> | undefined;
68
- borderWidthLeft?: import("../../utils/responsiveProps.css").ResponsiveProp<keyof import("../../themes/tokens").Tokens["border"]["width"]> | undefined;
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;;;;;;;+EAkClC,6CACV;;;;;;;;;;;;;;;;;sFAgBU,6CAAgB;oFAI/B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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 { themeContractVars as vars } from "../../themes/theme.css.js";
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: tokens.colours.background.body,
45
- borderRadius: tokens.border.radius['md'],
46
- color: tokens.colours.foreground.body,
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: tokens.colours.gamut.gray200
53
+ backgroundColor: overdriveTokens.colours.gamut.gray200
54
54
  },
55
55
  selected: {
56
- backgroundColor: tokens.colours.foreground.body,
57
- color: tokens.colours.background.body
56
+ backgroundColor: overdriveTokens.colours.foreground.body,
57
+ color: overdriveTokens.colours.background.body
58
58
  },
59
59
  disabled: {
60
- backgroundColor: tokens.colours.background.body,
61
- color: tokens.colours.gamut.gray400,
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: tokens.colours.background.body,
72
- borderColor: tokens.border.colours.gray,
73
- borderRadius: tokens.border.radius['md'],
71
+ backgroundColor: overdriveTokens.colours.background.body,
72
+ borderColor: overdriveTokens.border.colours.gray,
73
+ borderRadius: overdriveTokens.border.radius['md'],
74
74
  borderStyle: 'solid',
75
- borderWidth: tokens.border.width[1],
76
- color: tokens.colours.gamut.gray600,
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: tokens.colours.gamut.gray200
83
+ backgroundColor: overdriveTokens.colours.gamut.gray200
84
84
  },
85
85
  disabled: {
86
- backgroundColor: tokens.colours.background.body,
87
- borderColor: tokens.border.colours.light,
88
- color: tokens.colours.gamut.gray300,
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: tokens.colours.gamut.gray600
96
+ color: overdriveTokens.colours.gamut.gray600
97
97
  }, "thStyle");
98
98
  export const tdStyle = style({
99
- padding: tokens.space[1],
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: tokens.typography.fontWeight.bold,
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 (import("../../themes/tokens").ColourGamut | ("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information") | "white" | "transparent" | undefined)[];
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?: import("../../themes/tokens").ColourGamut | ("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information") | "white" | "transparent" | undefined;
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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/tokens';
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,qBAAqB,CAAC;AAC7C,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;AAG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F,eAAe,OAAO,CAAC"}
@@ -27,14 +27,14 @@ declare const _default: {
27
27
  };
28
28
  };
29
29
  weight: {
30
- options: ("normal" | "semiBold" | "bold" | undefined)[];
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: (import("../../themes/tokens").TextSizeScale | undefined)[];
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: ("primary" | "brand" | "secondary" | "shine" | "neutral" | "danger" | "warning" | "success" | "information" | "light" | "dark" | "white" | "link" | undefined)[];
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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 { themeContractVars as vars } from "../../themes/theme.css.js";
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,