@autoguru/overdrive 4.60.0 → 4.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Box/useBox/useBox.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +2 -0
- package/dist/components/DateInput/DateInput.js +1 -1
- package/dist/components/EditableText/EditableText.css.js +1 -1
- package/dist/components/StandardModal/StandardModal.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +5 -5
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +20 -11
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/useTooltip/useTooltip.d.ts +18 -7
- package/dist/components/Tooltip/useTooltip/useTooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/useTooltip/useTooltip.js +11 -9
- 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/styles/sprinkles.css.d.ts +12 -12
- package/dist/styles/sprinkles.css.d.ts.map +1 -1
- package/dist/styles/sprinkles.css.js +10 -8
- package/dist/themes/base/index.d.ts +118 -18
- package/dist/themes/base/index.d.ts.map +1 -1
- package/dist/themes/base/space.spec.js +3 -3
- package/dist/themes/base/tokens.d.ts +59 -9
- package/dist/themes/base/tokens.d.ts.map +1 -1
- package/dist/themes/base/tokens.js +96 -13
- package/dist/themes/flat_red/index.d.ts +118 -18
- package/dist/themes/flat_red/index.d.ts.map +1 -1
- package/dist/themes/flat_red/tokens.d.ts +59 -9
- package/dist/themes/flat_red/tokens.d.ts.map +1 -1
- package/dist/themes/index.d.ts +118 -18
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/makeTheme.d.ts +59 -9
- package/dist/themes/makeTheme.d.ts.map +1 -1
- package/dist/themes/neutral/index.d.ts +118 -18
- package/dist/themes/neutral/index.d.ts.map +1 -1
- package/dist/themes/neutral/tokens.d.ts +59 -9
- package/dist/themes/neutral/tokens.d.ts.map +1 -1
- package/dist/themes/theme.css.d.ts +59 -9
- package/dist/themes/theme.css.d.ts.map +1 -1
- package/dist/themes/theme.css.js +63 -18
- package/package.json +1 -1
package/dist/themes/theme.css.js
CHANGED
|
@@ -137,14 +137,16 @@ const THEME_CONTRACT = {
|
|
|
137
137
|
primary: 'color-foreground-primary',
|
|
138
138
|
secondary: 'color-foreground-secondary',
|
|
139
139
|
reverse: 'color-foreground-reverse',
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
tertiary: 'color-foreground-tertiary',
|
|
141
|
+
placeholder: 'color-foreground-placeholder'
|
|
142
142
|
},
|
|
143
143
|
background: {
|
|
144
144
|
default: 'color-background-default',
|
|
145
145
|
reverse: 'color-background-reverse',
|
|
146
146
|
inactive: 'color-background-inactive',
|
|
147
|
-
emphasisInactive: 'color-background-emphasis-inactive'
|
|
147
|
+
emphasisInactive: 'color-background-emphasis-inactive',
|
|
148
|
+
emphasisLight: 'color-background-emphasis-light',
|
|
149
|
+
modal: 'color-background-modal'
|
|
148
150
|
},
|
|
149
151
|
border: {
|
|
150
152
|
default: 'color-border-default',
|
|
@@ -152,46 +154,94 @@ const THEME_CONTRACT = {
|
|
|
152
154
|
selected: 'color-border-selected',
|
|
153
155
|
strong: 'color-border-strong'
|
|
154
156
|
},
|
|
157
|
+
focus: {
|
|
158
|
+
ring: 'color-focus-ring'
|
|
159
|
+
},
|
|
155
160
|
info: {
|
|
156
161
|
text: 'color-info-text',
|
|
157
162
|
foreground: 'color-info-foreground',
|
|
158
|
-
|
|
163
|
+
backgroundStrong: 'color-info-background-strong',
|
|
164
|
+
backgroundSubtle: 'color-info-background-subtle'
|
|
159
165
|
},
|
|
160
166
|
success: {
|
|
161
167
|
text: 'color-success-text',
|
|
162
168
|
foreground: 'color-success-foreground',
|
|
163
|
-
|
|
164
|
-
|
|
169
|
+
backgroundStrong: 'color-success-background-strong',
|
|
170
|
+
backgroundSubtle: 'color-success-background-subtle'
|
|
165
171
|
},
|
|
166
172
|
warning: {
|
|
167
173
|
text: 'color-warning-text',
|
|
168
174
|
foreground: 'color-warning-foreground',
|
|
169
|
-
|
|
170
|
-
|
|
175
|
+
backgroundStrong: 'color-warning-background-strong',
|
|
176
|
+
backgroundSubtle: 'color-warning-background-subtle'
|
|
171
177
|
},
|
|
172
178
|
alert: {
|
|
173
179
|
text: 'color-alert-text',
|
|
174
180
|
foreground: 'color-alert-foreground',
|
|
175
|
-
|
|
181
|
+
backgroundStrong: 'color-alert-background-strong',
|
|
182
|
+
backgroundSubtle: 'color-alert-background-subtle'
|
|
176
183
|
},
|
|
177
184
|
button: {
|
|
178
185
|
primary: {
|
|
179
186
|
solid: {
|
|
180
187
|
default: 'color-button-primary-solid-default',
|
|
181
188
|
hover: 'color-button-primary-solid-hover',
|
|
189
|
+
border: 'color-button-primary-solid-border',
|
|
182
190
|
pressed: 'color-button-primary-solid-pressed',
|
|
183
|
-
|
|
191
|
+
text: 'color-button-primary-solid-text'
|
|
184
192
|
},
|
|
185
193
|
outlined: {
|
|
186
194
|
border: 'color-button-primary-outlined-border',
|
|
187
|
-
text: 'color-button-primary-outlined-text'
|
|
195
|
+
text: 'color-button-primary-outlined-text',
|
|
196
|
+
hover: 'color-button-primary-outlined-hover',
|
|
197
|
+
pressed: 'color-button-primary-outlined-pressed'
|
|
188
198
|
}
|
|
189
199
|
},
|
|
190
200
|
critical: {
|
|
191
201
|
solid: {
|
|
192
|
-
default: 'color-button-critical-solid-default'
|
|
202
|
+
default: 'color-button-critical-solid-default',
|
|
203
|
+
hover: 'color-button-critical-solid-hover',
|
|
204
|
+
border: 'color-button-critical-solid-border',
|
|
205
|
+
pressed: 'color-button-critical-solid-pressed',
|
|
206
|
+
text: 'color-button-critical-solid-text'
|
|
207
|
+
},
|
|
208
|
+
outlined: {
|
|
209
|
+
border: 'color-button-critical-outlined-border',
|
|
210
|
+
text: 'color-button-critical-outlined-text',
|
|
211
|
+
hover: 'color-button-critical-outlined-hover',
|
|
212
|
+
pressed: 'color-button-critical-outlined-pressed'
|
|
193
213
|
}
|
|
214
|
+
},
|
|
215
|
+
secondary: {
|
|
216
|
+
border: 'color-button-secondary-border',
|
|
217
|
+
hover: 'color-button-secondary-hover',
|
|
218
|
+
pressed: 'color-button-secondary-pressed',
|
|
219
|
+
text: 'color-button-secondary-text'
|
|
220
|
+
},
|
|
221
|
+
disabled: {
|
|
222
|
+
fill: 'color-button-disabled-fill',
|
|
223
|
+
text: 'color-button-disabled-text'
|
|
194
224
|
}
|
|
225
|
+
},
|
|
226
|
+
link: {
|
|
227
|
+
primary: 'color-link-primary',
|
|
228
|
+
secondary: 'color-link-secondary',
|
|
229
|
+
hover: 'color-link-hover',
|
|
230
|
+
pressed: 'color-link-pressed',
|
|
231
|
+
critical: 'color-link-critical',
|
|
232
|
+
criticalHover: 'color-link-critical-hover',
|
|
233
|
+
criticalPressed: 'color-link-critical-pressed'
|
|
234
|
+
},
|
|
235
|
+
illustration: {
|
|
236
|
+
brightSide: 'color-illustration-bright-side',
|
|
237
|
+
darkSide: 'color-illustration-dark-side',
|
|
238
|
+
lightFill: 'color-illustration-light-fill',
|
|
239
|
+
mainFill: 'color-illustration-main-fill',
|
|
240
|
+
outline: 'color-illustration-outline',
|
|
241
|
+
shadow: 'color-illustration-shadow',
|
|
242
|
+
white: 'color-illustration-white',
|
|
243
|
+
yellowDarkSide: 'color-illustration-yellow-dark-side',
|
|
244
|
+
yellowMainFill: 'color-illustration-yellow-main-fill'
|
|
195
245
|
}
|
|
196
246
|
},
|
|
197
247
|
// existing colours for compatability
|
|
@@ -338,12 +388,7 @@ const THEME_CONTRACT = {
|
|
|
338
388
|
md: 'border-radius-md',
|
|
339
389
|
lg: 'border-radius-lg',
|
|
340
390
|
xl: 'border-radius-xl',
|
|
341
|
-
/**
|
|
342
|
-
* @deprecated Use radius.xlarge — removed in v5 (DS-2026 major).
|
|
343
|
-
* Note: values differ today (2xl = 24px, xlarge = 20px); the exact
|
|
344
|
-
* DS-2026 mapping for this key is pending design resolution
|
|
345
|
-
* (master §6-Q2) and will be finalised at the major.
|
|
346
|
-
*/
|
|
391
|
+
/** DS-2026 Extra Large radius (24px) — used for modals. */
|
|
347
392
|
'2xl': 'border-radius-2xl',
|
|
348
393
|
/** @deprecated Use radius.xsmall (identical 4px value) — removed in v5 (DS-2026 major). */
|
|
349
394
|
'1': 'border-radius-1',
|