@autoguru/overdrive 4.58.0 → 4.60.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 (126) hide show
  1. package/dist/components/Alert/Alert.js +4 -4
  2. package/dist/components/AutoSuggest/AutoSuggest.css.d.ts.map +1 -1
  3. package/dist/components/AutoSuggest/AutoSuggest.css.js +9 -1
  4. package/dist/components/AutoSuggest/AutoSuggest.js +4 -4
  5. package/dist/components/Badge/Badge.css.js +1 -1
  6. package/dist/components/Box/useBox/useBox.d.ts +3 -3
  7. package/dist/components/BulletList/Bullet.css.js +3 -3
  8. package/dist/components/BulletText/BulletText.css.d.ts.map +1 -1
  9. package/dist/components/BulletText/BulletText.css.js +4 -1
  10. package/dist/components/Button/Button.css.js +7 -7
  11. package/dist/components/Calendar/Calendar.css.js +16 -16
  12. package/dist/components/CheckBox/CheckBox.css.js +2 -2
  13. package/dist/components/ColourInput/ColourInput.css.js +2 -2
  14. package/dist/components/DataTable/DataTable.css.d.ts.map +1 -1
  15. package/dist/components/DataTable/DataTable.css.js +2 -1
  16. package/dist/components/DateInput/DateInput.js +1 -1
  17. package/dist/components/DateTimeField/DateTimeField.css.js +2 -2
  18. package/dist/components/EditableText/EditableText.css.js +1 -1
  19. package/dist/components/EditableText/EditableText.d.ts.map +1 -1
  20. package/dist/components/EditableText/EditableText.js +3 -1
  21. package/dist/components/Flex/flex.d.ts +23 -23
  22. package/dist/components/Flyout/Flyout.js +2 -2
  23. package/dist/components/Heading/Heading.js +1 -1
  24. package/dist/components/LinearProgressIndicator/LinearProgressIndicator.js +2 -2
  25. package/dist/components/MarkdownRenderer/components/MarkdownHeading.js +3 -3
  26. package/dist/components/Meta/Meta.css.d.ts.map +1 -1
  27. package/dist/components/Meta/Meta.css.js +2 -1
  28. package/dist/components/Modal/Modal.d.ts.map +1 -1
  29. package/dist/components/Modal/Modal.js +3 -1
  30. package/dist/components/OptionGrid/OptionGrid.css.js +20 -20
  31. package/dist/components/OptionList/OptionList.css.js +11 -11
  32. package/dist/components/OrderedList/OrderedList.js +1 -1
  33. package/dist/components/Pagination/Bubble.js +3 -3
  34. package/dist/components/Pagination/Pagination.css.js +2 -2
  35. package/dist/components/Popover/Popover.css.js +3 -3
  36. package/dist/components/ProgressBar/ProgressBar.js +2 -2
  37. package/dist/components/ProgressBarGroup/ProgressBarGroup.js +2 -2
  38. package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +1 -1
  39. package/dist/components/ProgressSpinner/ProgressSpinner.css.js +2 -2
  40. package/dist/components/Radio/Radio.css.js +2 -2
  41. package/dist/components/ScrollPane/ScrollPane.css.js +3 -3
  42. package/dist/components/SearchBar/SearchBar.css.js +6 -6
  43. package/dist/components/SelectInput/SelectInput.css.js +1 -1
  44. package/dist/components/Slider/Slider.css.js +6 -6
  45. package/dist/components/SliderProgress/ProgressStep.d.ts.map +1 -1
  46. package/dist/components/SliderProgress/ProgressStep.js +6 -2
  47. package/dist/components/SliderProgress/SliderProgress.d.ts.map +1 -1
  48. package/dist/components/SliderProgress/SliderProgress.js +3 -1
  49. package/dist/components/Stack/Stack.css.d.ts.map +1 -1
  50. package/dist/components/Stack/Stack.css.js +1 -0
  51. package/dist/components/StandardModal/StandardModal.css.js +4 -4
  52. package/dist/components/StandardModal/StandardModal.js +4 -4
  53. package/dist/components/Stepper/Stepper.js +3 -3
  54. package/dist/components/Switch/Switch.css.js +2 -2
  55. package/dist/components/Table/TableCell.css.js +2 -2
  56. package/dist/components/Table/TableCell.js +1 -1
  57. package/dist/components/Table/TableHeadCell.css.js +2 -2
  58. package/dist/components/Tabs/Tab.css.js +6 -6
  59. package/dist/components/Tabs/Tab.js +2 -2
  60. package/dist/components/Tabs/TabList.css.js +1 -1
  61. package/dist/components/Text/Text.d.ts.map +1 -1
  62. package/dist/components/Text/Text.js +3 -3
  63. package/dist/components/TextLink/TextLink.js +1 -1
  64. package/dist/components/Tooltip/useTooltip/useTooltip.js +2 -2
  65. package/dist/components/private/CheckableBase/CheckableBase.css.js +2 -2
  66. package/dist/components/private/InputBase/HintText.js +1 -1
  67. package/dist/components/private/InputBase/InputState.css.js +16 -16
  68. package/dist/components/private/InputBase/NotchedBase.css.js +2 -2
  69. package/dist/components/private/InputBase/withEnhancedInput.css.js +4 -4
  70. package/dist/index.d.ts +1 -1
  71. package/dist/index.d.ts.map +1 -1
  72. package/dist/index.js +1 -1
  73. package/dist/styles/focusOutline.css.d.ts.map +1 -1
  74. package/dist/styles/focusOutline.css.js +2 -0
  75. package/dist/styles/index.d.ts +1 -1
  76. package/dist/styles/index.d.ts.map +1 -1
  77. package/dist/styles/index.js +1 -1
  78. package/dist/styles/intentColorset.css.d.ts +3 -3
  79. package/dist/styles/intentColorset.css.d.ts.map +1 -1
  80. package/dist/styles/intentColorset.css.js +8 -2
  81. package/dist/styles/sprinkles.css.d.ts +290 -275
  82. package/dist/styles/sprinkles.css.d.ts.map +1 -1
  83. package/dist/styles/sprinkles.css.js +87 -10
  84. package/dist/styles/sprinkles.spec.d.ts +2 -0
  85. package/dist/styles/sprinkles.spec.d.ts.map +1 -0
  86. package/dist/styles/sprinkles.spec.js +8 -0
  87. package/dist/styles/typography.css.d.ts +1 -1
  88. package/dist/styles/typography.d.ts +44 -3
  89. package/dist/styles/typography.d.ts.map +1 -1
  90. package/dist/styles/typography.js +74 -17
  91. package/dist/themes/base/colours.d.ts +0 -22
  92. package/dist/themes/base/colours.d.ts.map +1 -1
  93. package/dist/themes/base/colours.js +6 -17
  94. package/dist/themes/base/contrastGuide.d.ts +31 -0
  95. package/dist/themes/base/contrastGuide.d.ts.map +1 -0
  96. package/dist/themes/base/contrastGuide.js +43 -0
  97. package/dist/themes/base/contrastGuide.spec.d.ts +2 -0
  98. package/dist/themes/base/contrastGuide.spec.d.ts.map +1 -0
  99. package/dist/themes/base/contrastGuide.spec.js +51 -0
  100. package/dist/themes/base/index.d.ts +258 -86
  101. package/dist/themes/base/index.d.ts.map +1 -1
  102. package/dist/themes/base/space.spec.d.ts +2 -0
  103. package/dist/themes/base/space.spec.d.ts.map +1 -0
  104. package/dist/themes/base/space.spec.js +41 -0
  105. package/dist/themes/base/tokens.d.ts +163 -66
  106. package/dist/themes/base/tokens.d.ts.map +1 -1
  107. package/dist/themes/base/tokens.js +210 -9
  108. package/dist/themes/flat_red/index.d.ts +264 -95
  109. package/dist/themes/flat_red/index.d.ts.map +1 -1
  110. package/dist/themes/flat_red/tokens.d.ts +158 -75
  111. package/dist/themes/flat_red/tokens.d.ts.map +1 -1
  112. package/dist/themes/flat_red/tokens.js +8 -13
  113. package/dist/themes/index.d.ts +259 -86
  114. package/dist/themes/index.d.ts.map +1 -1
  115. package/dist/themes/index.js +1 -0
  116. package/dist/themes/makeTheme.d.ts +106 -20
  117. package/dist/themes/makeTheme.d.ts.map +1 -1
  118. package/dist/themes/neutral/index.d.ts +258 -107
  119. package/dist/themes/neutral/index.d.ts.map +1 -1
  120. package/dist/themes/neutral/tokens.d.ts +153 -88
  121. package/dist/themes/neutral/tokens.d.ts.map +1 -1
  122. package/dist/themes/neutral/tokens.js +12 -33
  123. package/dist/themes/theme.css.d.ts +106 -31
  124. package/dist/themes/theme.css.d.ts.map +1 -1
  125. package/dist/themes/theme.css.js +130 -12
  126. package/package.json +16 -16
@@ -10,6 +10,7 @@ export declare const tokens: {
10
10
  medium: string;
11
11
  };
12
12
  space: {
13
+ '0': string;
13
14
  '1': string;
14
15
  '2': string;
15
16
  '3': string;
@@ -19,77 +20,69 @@ export declare const tokens: {
19
20
  '7': string;
20
21
  '8': string;
21
22
  '9': string;
23
+ '10': string;
24
+ '11': string;
25
+ '12': string;
22
26
  none: string;
23
27
  };
24
28
  color: {
25
29
  gamut: {
26
- white: string;
27
- black: {
28
- '900': string;
29
- '800': string;
30
- '700': string;
31
- '600': string;
32
- '500': string;
33
- '400': string;
34
- '300': string;
35
- '200': string;
36
- '100': string;
37
- };
38
30
  gray: {
39
- '900': string;
40
- '800': string;
41
- '700': string;
42
- '600': string;
43
- '500': string;
44
- '400': string;
45
- '300': string;
46
- '200': string;
47
- '100': string;
31
+ '900': `var(--${string})`;
32
+ '800': `var(--${string})`;
33
+ '700': `var(--${string})`;
34
+ '600': `var(--${string})`;
35
+ '500': `var(--${string})`;
36
+ '400': `var(--${string})`;
37
+ '300': `var(--${string})`;
38
+ '200': `var(--${string})`;
39
+ '100': `var(--${string})`;
48
40
  };
49
41
  green: {
50
- '900': string;
51
- '800': string;
52
- '700': string;
53
- '600': string;
54
- '500': string;
55
- '400': string;
56
- '300': string;
57
- '200': string;
58
- '100': string;
42
+ '900': `var(--${string})`;
43
+ '800': `var(--${string})`;
44
+ '700': `var(--${string})`;
45
+ '600': `var(--${string})`;
46
+ '500': `var(--${string})`;
47
+ '400': `var(--${string})`;
48
+ '300': `var(--${string})`;
49
+ '200': `var(--${string})`;
50
+ '100': `var(--${string})`;
59
51
  };
60
52
  blue: {
61
- '900': string;
62
- '800': string;
63
- '700': string;
64
- '600': string;
65
- '500': string;
66
- '400': string;
67
- '300': string;
68
- '200': string;
69
- '100': string;
53
+ '900': `var(--${string})`;
54
+ '800': `var(--${string})`;
55
+ '700': `var(--${string})`;
56
+ '600': `var(--${string})`;
57
+ '500': `var(--${string})`;
58
+ '400': `var(--${string})`;
59
+ '300': `var(--${string})`;
60
+ '200': `var(--${string})`;
61
+ '100': `var(--${string})`;
70
62
  };
71
63
  yellow: {
72
- '900': string;
73
- '800': string;
74
- '700': string;
75
- '600': string;
76
- '500': string;
77
- '400': string;
78
- '300': string;
79
- '200': string;
80
- '100': string;
64
+ '900': `var(--${string})`;
65
+ '800': `var(--${string})`;
66
+ '700': `var(--${string})`;
67
+ '600': `var(--${string})`;
68
+ '500': `var(--${string})`;
69
+ '400': `var(--${string})`;
70
+ '300': `var(--${string})`;
71
+ '200': `var(--${string})`;
72
+ '100': `var(--${string})`;
81
73
  };
82
74
  red: {
83
- '900': string;
84
- '800': string;
85
- '700': string;
86
- '600': string;
87
- '500': string;
88
- '400': string;
89
- '300': string;
90
- '200': string;
91
- '100': string;
75
+ '900': `var(--${string})`;
76
+ '800': `var(--${string})`;
77
+ '700': `var(--${string})`;
78
+ '600': `var(--${string})`;
79
+ '500': `var(--${string})`;
80
+ '400': `var(--${string})`;
81
+ '300': `var(--${string})`;
82
+ '200': `var(--${string})`;
83
+ '100': `var(--${string})`;
92
84
  };
85
+ white: `var(--${string})`;
93
86
  };
94
87
  surface: {
95
88
  page: string;
@@ -123,19 +116,70 @@ export declare const tokens: {
123
116
  placeholder: string;
124
117
  focusOutline: string;
125
118
  };
119
+ foreground: {
120
+ primary: string;
121
+ secondary: string;
122
+ reverse: string;
123
+ tertiaryInactive: string;
124
+ tertiaryInactiveLight: string;
125
+ };
126
+ background: {
127
+ default: string;
128
+ reverse: string;
129
+ inactive: string;
130
+ emphasisInactive: string;
131
+ };
132
+ border: {
133
+ default: string;
134
+ emphasis: string;
135
+ selected: string;
136
+ strong: string;
137
+ };
138
+ info: {
139
+ text: string;
140
+ foreground: string;
141
+ background: string;
142
+ };
143
+ success: {
144
+ text: string;
145
+ foreground: string;
146
+ backgroundDark: string;
147
+ backgroundLight: string;
148
+ };
149
+ warning: {
150
+ text: string;
151
+ foreground: string;
152
+ backgroundDark: string;
153
+ backgroundLight: string;
154
+ };
155
+ alert: {
156
+ text: string;
157
+ foreground: string;
158
+ background: string;
159
+ };
160
+ button: {
161
+ primary: {
162
+ solid: {
163
+ default: string;
164
+ hover: string;
165
+ pressed: string;
166
+ border: string;
167
+ };
168
+ outlined: {
169
+ border: string;
170
+ text: string;
171
+ };
172
+ };
173
+ critical: {
174
+ solid: {
175
+ default: string;
176
+ };
177
+ };
178
+ };
126
179
  };
127
180
  colours: {
128
181
  gamut: {
129
182
  white: string;
130
- black900: string;
131
- black800: string;
132
- black700: string;
133
- black600: string;
134
- black500: string;
135
- black400: string;
136
- black300: string;
137
- black200: string;
138
- black100: string;
139
183
  gray900: string;
140
184
  gray800: string;
141
185
  gray700: string;
@@ -283,6 +327,10 @@ export declare const tokens: {
283
327
  '3': string;
284
328
  '4': string;
285
329
  '5': string;
330
+ z1: string;
331
+ z2: string;
332
+ z3: string;
333
+ z4: string;
286
334
  };
287
335
  border: {
288
336
  width: {
@@ -307,6 +355,11 @@ export declare const tokens: {
307
355
  '1': string;
308
356
  pill: string;
309
357
  full: string;
358
+ xsmall: string;
359
+ small: string;
360
+ medium: string;
361
+ large: string;
362
+ xlarge: string;
310
363
  };
311
364
  };
312
365
  typography: {
@@ -347,6 +400,38 @@ export declare const tokens: {
347
400
  fontSize: string;
348
401
  lineHeight: string;
349
402
  };
403
+ h1: {
404
+ fontSize: string;
405
+ lineHeight: string;
406
+ };
407
+ h2: {
408
+ fontSize: string;
409
+ lineHeight: string;
410
+ };
411
+ h3: {
412
+ fontSize: string;
413
+ lineHeight: string;
414
+ };
415
+ h4: {
416
+ fontSize: string;
417
+ lineHeight: string;
418
+ };
419
+ p1: {
420
+ fontSize: string;
421
+ lineHeight: string;
422
+ };
423
+ p2: {
424
+ fontSize: string;
425
+ lineHeight: string;
426
+ };
427
+ p3: {
428
+ fontSize: string;
429
+ lineHeight: string;
430
+ };
431
+ p4: {
432
+ fontSize: string;
433
+ lineHeight: string;
434
+ };
350
435
  };
351
436
  colour: {
352
437
  primary: string;
@@ -368,6 +453,7 @@ export declare const tokens: {
368
453
  fontFamilyMono: string;
369
454
  fontWeight: {
370
455
  normal: string;
456
+ medium: string;
371
457
  semiBold: string;
372
458
  bold: string;
373
459
  };
@@ -392,15 +478,6 @@ export declare const tokens: {
392
478
  } & {
393
479
  colours: {
394
480
  gamut: {
395
- black900: string;
396
- black800: string;
397
- black700: string;
398
- black600: string;
399
- black500: string;
400
- black400: string;
401
- black300: string;
402
- black200: string;
403
- black100: string;
404
481
  gray900: string;
405
482
  gray800: string;
406
483
  gray700: string;
@@ -482,6 +559,10 @@ export declare const tokens: {
482
559
  '3': string;
483
560
  '4': string;
484
561
  '5': string;
562
+ z1: string;
563
+ z2: string;
564
+ z3: string;
565
+ z4: string;
485
566
  };
486
567
  border: {
487
568
  radius: {
@@ -489,6 +570,8 @@ export declare const tokens: {
489
570
  sm: string;
490
571
  md: string;
491
572
  '1': string;
573
+ xsmall: string;
574
+ small: string;
492
575
  };
493
576
  };
494
577
  typography: {
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/flat_red/tokens.ts"],"names":[],"mappings":"AA8EA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDK,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../lib/themes/flat_red/tokens.ts"],"names":[],"mappings":"AAmEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DK,CAAC"}
@@ -5,17 +5,6 @@ import deepmerge from 'deepmerge';
5
5
  import { tokens as baseTokens } from "../base/tokens.js";
6
6
  import { buildColourGamut } from "../makeTheme.js";
7
7
  const colours = {
8
- black: {
9
- 900: '#222222',
10
- 800: '#2A2C2A',
11
- 700: '#444644',
12
- 600: '#626262',
13
- 500: '#808080',
14
- 400: '#ADB1B5',
15
- 300: '#D4D9DD',
16
- 200: '#DDE0E3',
17
- 100: '#E4E4E4'
18
- },
19
8
  gray: {
20
9
  900: '#263238',
21
10
  800: '#37474F',
@@ -110,14 +99,20 @@ export const tokens = deepmerge(baseTokens, {
110
99
  '2': flatElevation,
111
100
  '3': flatElevation,
112
101
  '4': flatElevation,
113
- '5': flatElevation
102
+ '5': flatElevation,
103
+ z1: flatElevation,
104
+ z2: flatElevation,
105
+ z3: flatElevation,
106
+ z4: flatElevation
114
107
  },
115
108
  border: {
116
109
  radius: {
117
110
  min: 'none',
118
111
  sm: 'none',
119
112
  md: 'none',
120
- '1': 'none'
113
+ '1': 'none',
114
+ xsmall: 'none',
115
+ small: 'none'
121
116
  }
122
117
  },
123
118
  typography: {