@box/blueprint-web-assets 4.23.0 → 4.24.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/package.json +2 -2
- package/tokens/px-tokens.d.ts +11 -1
- package/tokens/px-tokens.js +11 -1
- package/tokens/tokens-css-vars.scss +11 -1
- package/tokens/tokens.d.ts +10 -0
- package/tokens/tokens.js +10 -0
- package/tokens/tokens.json +10 -0
- package/tokens/tokens.scss +20 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web-assets",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build-local-all": "yarn nx clone-repo && yarn build-local && yarn lint-local && yarn lint-local-css",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"react": "^18.3.0",
|
|
106
106
|
"react-dom": "^18.3.0"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "aa5870125c7788a07adcc307775630d30dcaee13"
|
|
109
109
|
}
|
package/tokens/px-tokens.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 20 Sep 2024 16:32:53 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const BackgroundBackground: string;
|
|
@@ -230,6 +230,9 @@ export const SurfaceCtaSurfaceDisabled: string;
|
|
|
230
230
|
export const SurfaceRadiotileSurface: string;
|
|
231
231
|
export const SurfaceRadiotileSurfaceHover: string;
|
|
232
232
|
export const SurfaceRadiotileSurfaceSelected: string;
|
|
233
|
+
export const SurfaceToggletextSurfaceOn: string;
|
|
234
|
+
export const SurfaceToggletextSurfaceOnHover: string;
|
|
235
|
+
export const SurfaceToggletextSurfaceOnPressed: string;
|
|
233
236
|
export const BorderCtaBorderSecondary: string;
|
|
234
237
|
export const BorderCtaBorderSecondaryPressed: string;
|
|
235
238
|
export const BorderCtaBorderSecondaryHover: string;
|
|
@@ -304,6 +307,12 @@ export const BorderCtaBorderOutlineDisabled: string;
|
|
|
304
307
|
export const BorderRadiotileBorder: string;
|
|
305
308
|
export const BorderRadiotileBorderHover: string;
|
|
306
309
|
export const BorderRadiotileBorderSelected: string;
|
|
310
|
+
export const BorderToggletextBorderOff: string;
|
|
311
|
+
export const BorderToggletextBorderOffHover: string;
|
|
312
|
+
export const BorderToggletextBorderOffPressed: string;
|
|
313
|
+
export const BorderToggletextBorderOn: string;
|
|
314
|
+
export const BorderToggletextBorderOnHover: string;
|
|
315
|
+
export const BorderToggletextBorderOnPressed: string;
|
|
307
316
|
export const IconIconOnLight: string;
|
|
308
317
|
export const IconIconOnLightSecondary: string;
|
|
309
318
|
export const IconIconOnLightTertiary: string;
|
|
@@ -354,6 +363,7 @@ export const TextCtaLinkSecondaryHover: string;
|
|
|
354
363
|
export const TextCtaPromo: string;
|
|
355
364
|
export const TextCtaLinkDisabled: string;
|
|
356
365
|
export const TextTextOnLightDisabled: string;
|
|
366
|
+
export const TextToggletextText: string;
|
|
357
367
|
export const OverlaySidepanelOverlay: string;
|
|
358
368
|
export const OverlayModalOverlay: string;
|
|
359
369
|
export const BrandBoxPrimary: string;
|
package/tokens/px-tokens.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 20 Sep 2024 16:32:53 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const BackgroundBackground = '#ffffff';
|
|
@@ -230,6 +230,9 @@ export const SurfaceCtaSurfaceDisabled = '#b2cff2';
|
|
|
230
230
|
export const SurfaceRadiotileSurface = '#ffffff';
|
|
231
231
|
export const SurfaceRadiotileSurfaceHover = '#f4f4f4';
|
|
232
232
|
export const SurfaceRadiotileSurfaceSelected = '#f2f7fd';
|
|
233
|
+
export const SurfaceToggletextSurfaceOn = '#f2f7fd';
|
|
234
|
+
export const SurfaceToggletextSurfaceOnHover = '#ccdff7';
|
|
235
|
+
export const SurfaceToggletextSurfaceOnPressed = '#b2cff2';
|
|
233
236
|
export const BorderCtaBorderSecondary = '#bcbcbc';
|
|
234
237
|
export const BorderCtaBorderSecondaryPressed = '#bcbcbc';
|
|
235
238
|
export const BorderCtaBorderSecondaryHover = '#bcbcbc';
|
|
@@ -304,6 +307,12 @@ export const BorderCtaBorderOutlineDisabled = '#646464';
|
|
|
304
307
|
export const BorderRadiotileBorder = '#bcbcbc';
|
|
305
308
|
export const BorderRadiotileBorderHover = '#bcbcbc';
|
|
306
309
|
export const BorderRadiotileBorderSelected = '#0061d5';
|
|
310
|
+
export const BorderToggletextBorderOff = '#6F6F6F';
|
|
311
|
+
export const BorderToggletextBorderOffHover = '#6F6F6F';
|
|
312
|
+
export const BorderToggletextBorderOffPressed = '#6F6F6F';
|
|
313
|
+
export const BorderToggletextBorderOn = '#f2f7fd';
|
|
314
|
+
export const BorderToggletextBorderOnHover = '#ccdff7';
|
|
315
|
+
export const BorderToggletextBorderOnPressed = '#b2cff2';
|
|
307
316
|
export const IconIconOnLight = '#222222';
|
|
308
317
|
export const IconIconOnLightSecondary = '#6F6F6F';
|
|
309
318
|
export const IconIconOnLightTertiary = '#909090';
|
|
@@ -354,6 +363,7 @@ export const TextCtaLinkSecondaryHover = '#6F6F6F';
|
|
|
354
363
|
export const TextCtaPromo = '#4826c2';
|
|
355
364
|
export const TextCtaLinkDisabled = '#b2cff2';
|
|
356
365
|
export const TextTextOnLightDisabled = '#bcbcbc';
|
|
366
|
+
export const TextToggletextText = '#001D40';
|
|
357
367
|
export const OverlaySidepanelOverlay = 'rgba(0,0,0,0.5)';
|
|
358
368
|
export const OverlayModalOverlay = 'rgba(0,0,0,0.8)';
|
|
359
369
|
export const BrandBoxPrimary = '#0061d5';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 20 Sep 2024 16:32:53 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
--brand-box-primary: var(--box-blue-100);
|
|
388
388
|
--overlay-modal-overlay: var(--black-opacity-80);
|
|
389
389
|
--overlay-sidepanel-overlay: var(--black-opacity-50);
|
|
390
|
+
--text-toggletext-text: var(--box-blue-170);
|
|
390
391
|
--text-text-on-light-disabled: var(--gray-30);
|
|
391
392
|
--text-cta-link-disabled: var(--box-blue-30);
|
|
392
393
|
--text-cta-promo: var(--grimace-100);
|
|
@@ -437,6 +438,12 @@
|
|
|
437
438
|
--icon-icon-on-light-tertiary: var(--gray-50);
|
|
438
439
|
--icon-icon-on-light-secondary: var(--gray-65);
|
|
439
440
|
--icon-icon-on-light: var(--gray-100);
|
|
441
|
+
--border-toggletext-border-on-pressed: var(--box-blue-30);
|
|
442
|
+
--border-toggletext-border-on-hover: var(--box-blue-20);
|
|
443
|
+
--border-toggletext-border-on: var(--box-blue-05);
|
|
444
|
+
--border-toggletext-border-off-pressed: var(--gray-65);
|
|
445
|
+
--border-toggletext-border-off-hover: var(--gray-65);
|
|
446
|
+
--border-toggletext-border-off: var(--gray-65);
|
|
440
447
|
--border-radiotile-border-selected: var(--box-blue-100);
|
|
441
448
|
--border-radiotile-border-hover: var(--gray-30);
|
|
442
449
|
--border-radiotile-border: var(--gray-30);
|
|
@@ -508,6 +515,9 @@
|
|
|
508
515
|
--border-cta-border-secondary-hover: var(--gray-30);
|
|
509
516
|
--border-cta-border-secondary-pressed: var(--gray-30);
|
|
510
517
|
--border-cta-border-secondary: var(--gray-30);
|
|
518
|
+
--surface-toggletext-surface-on-pressed: var(--box-blue-30);
|
|
519
|
+
--surface-toggletext-surface-on-hover: var(--box-blue-20);
|
|
520
|
+
--surface-toggletext-surface-on: var(--box-blue-05);
|
|
511
521
|
--surface-radiotile-surface-selected: var(--box-blue-05);
|
|
512
522
|
--surface-radiotile-surface-hover: var(--gray-05);
|
|
513
523
|
--surface-radiotile-surface: var(--gray-white);
|
package/tokens/tokens.d.ts
CHANGED
|
@@ -225,6 +225,9 @@ export const SurfaceCtaSurfaceDisabled: string;
|
|
|
225
225
|
export const SurfaceRadiotileSurface: string;
|
|
226
226
|
export const SurfaceRadiotileSurfaceHover: string;
|
|
227
227
|
export const SurfaceRadiotileSurfaceSelected: string;
|
|
228
|
+
export const SurfaceToggletextSurfaceOn: string;
|
|
229
|
+
export const SurfaceToggletextSurfaceOnHover: string;
|
|
230
|
+
export const SurfaceToggletextSurfaceOnPressed: string;
|
|
228
231
|
export const BorderCtaBorderSecondary: string;
|
|
229
232
|
export const BorderCtaBorderSecondaryPressed: string;
|
|
230
233
|
export const BorderCtaBorderSecondaryHover: string;
|
|
@@ -299,6 +302,12 @@ export const BorderCtaBorderOutlineDisabled: string;
|
|
|
299
302
|
export const BorderRadiotileBorder: string;
|
|
300
303
|
export const BorderRadiotileBorderHover: string;
|
|
301
304
|
export const BorderRadiotileBorderSelected: string;
|
|
305
|
+
export const BorderToggletextBorderOff: string;
|
|
306
|
+
export const BorderToggletextBorderOffHover: string;
|
|
307
|
+
export const BorderToggletextBorderOffPressed: string;
|
|
308
|
+
export const BorderToggletextBorderOn: string;
|
|
309
|
+
export const BorderToggletextBorderOnHover: string;
|
|
310
|
+
export const BorderToggletextBorderOnPressed: string;
|
|
302
311
|
export const IconIconOnLight: string;
|
|
303
312
|
export const IconIconOnLightSecondary: string;
|
|
304
313
|
export const IconIconOnLightTertiary: string;
|
|
@@ -349,6 +358,7 @@ export const TextCtaLinkSecondaryHover: string;
|
|
|
349
358
|
export const TextCtaPromo: string;
|
|
350
359
|
export const TextCtaLinkDisabled: string;
|
|
351
360
|
export const TextTextOnLightDisabled: string;
|
|
361
|
+
export const TextToggletextText: string;
|
|
352
362
|
export const OverlaySidepanelOverlay: string;
|
|
353
363
|
export const OverlayModalOverlay: string;
|
|
354
364
|
export const BrandBoxPrimary: string;
|
package/tokens/tokens.js
CHANGED
|
@@ -225,6 +225,9 @@ export const SurfaceCtaSurfaceDisabled = '#b2cff2';
|
|
|
225
225
|
export const SurfaceRadiotileSurface = '#ffffff';
|
|
226
226
|
export const SurfaceRadiotileSurfaceHover = '#f4f4f4';
|
|
227
227
|
export const SurfaceRadiotileSurfaceSelected = '#f2f7fd';
|
|
228
|
+
export const SurfaceToggletextSurfaceOn = '#f2f7fd';
|
|
229
|
+
export const SurfaceToggletextSurfaceOnHover = '#ccdff7';
|
|
230
|
+
export const SurfaceToggletextSurfaceOnPressed = '#b2cff2';
|
|
228
231
|
export const BorderCtaBorderSecondary = '#bcbcbc';
|
|
229
232
|
export const BorderCtaBorderSecondaryPressed = '#bcbcbc';
|
|
230
233
|
export const BorderCtaBorderSecondaryHover = '#bcbcbc';
|
|
@@ -299,6 +302,12 @@ export const BorderCtaBorderOutlineDisabled = '#646464';
|
|
|
299
302
|
export const BorderRadiotileBorder = '#bcbcbc';
|
|
300
303
|
export const BorderRadiotileBorderHover = '#bcbcbc';
|
|
301
304
|
export const BorderRadiotileBorderSelected = '#0061d5';
|
|
305
|
+
export const BorderToggletextBorderOff = '#6F6F6F';
|
|
306
|
+
export const BorderToggletextBorderOffHover = '#6F6F6F';
|
|
307
|
+
export const BorderToggletextBorderOffPressed = '#6F6F6F';
|
|
308
|
+
export const BorderToggletextBorderOn = '#f2f7fd';
|
|
309
|
+
export const BorderToggletextBorderOnHover = '#ccdff7';
|
|
310
|
+
export const BorderToggletextBorderOnPressed = '#b2cff2';
|
|
302
311
|
export const IconIconOnLight = '#222222';
|
|
303
312
|
export const IconIconOnLightSecondary = '#6F6F6F';
|
|
304
313
|
export const IconIconOnLightTertiary = '#909090';
|
|
@@ -349,6 +358,7 @@ export const TextCtaLinkSecondaryHover = '#6F6F6F';
|
|
|
349
358
|
export const TextCtaPromo = '#4826c2';
|
|
350
359
|
export const TextCtaLinkDisabled = '#b2cff2';
|
|
351
360
|
export const TextTextOnLightDisabled = '#bcbcbc';
|
|
361
|
+
export const TextToggletextText = '#001D40';
|
|
352
362
|
export const OverlaySidepanelOverlay = 'rgba(0,0,0,0.5)';
|
|
353
363
|
export const OverlayModalOverlay = 'rgba(0,0,0,0.8)';
|
|
354
364
|
export const BrandBoxPrimary = '#0061d5';
|
package/tokens/tokens.json
CHANGED
|
@@ -226,6 +226,9 @@
|
|
|
226
226
|
"SurfaceRadiotileSurface": "#ffffff",
|
|
227
227
|
"SurfaceRadiotileSurfaceHover": "#f4f4f4",
|
|
228
228
|
"SurfaceRadiotileSurfaceSelected": "#f2f7fd",
|
|
229
|
+
"SurfaceToggletextSurfaceOn": "#f2f7fd",
|
|
230
|
+
"SurfaceToggletextSurfaceOnHover": "#ccdff7",
|
|
231
|
+
"SurfaceToggletextSurfaceOnPressed": "#b2cff2",
|
|
229
232
|
"BorderCtaBorderSecondary": "#bcbcbc",
|
|
230
233
|
"BorderCtaBorderSecondaryPressed": "#bcbcbc",
|
|
231
234
|
"BorderCtaBorderSecondaryHover": "#bcbcbc",
|
|
@@ -300,6 +303,12 @@
|
|
|
300
303
|
"BorderRadiotileBorder": "#bcbcbc",
|
|
301
304
|
"BorderRadiotileBorderHover": "#bcbcbc",
|
|
302
305
|
"BorderRadiotileBorderSelected": "#0061d5",
|
|
306
|
+
"BorderToggletextBorderOff": "#6F6F6F",
|
|
307
|
+
"BorderToggletextBorderOffHover": "#6F6F6F",
|
|
308
|
+
"BorderToggletextBorderOffPressed": "#6F6F6F",
|
|
309
|
+
"BorderToggletextBorderOn": "#f2f7fd",
|
|
310
|
+
"BorderToggletextBorderOnHover": "#ccdff7",
|
|
311
|
+
"BorderToggletextBorderOnPressed": "#b2cff2",
|
|
303
312
|
"IconIconOnLight": "#222222",
|
|
304
313
|
"IconIconOnLightSecondary": "#6F6F6F",
|
|
305
314
|
"IconIconOnLightTertiary": "#909090",
|
|
@@ -350,6 +359,7 @@
|
|
|
350
359
|
"TextCtaPromo": "#4826c2",
|
|
351
360
|
"TextCtaLinkDisabled": "#b2cff2",
|
|
352
361
|
"TextTextOnLightDisabled": "#bcbcbc",
|
|
362
|
+
"TextToggletextText": "#001D40",
|
|
353
363
|
"OverlaySidepanelOverlay": "rgba(0,0,0,0.5)",
|
|
354
364
|
"OverlayModalOverlay": "rgba(0,0,0,0.8)",
|
|
355
365
|
"BrandBoxPrimary": "#0061d5",
|
package/tokens/tokens.scss
CHANGED
|
@@ -225,6 +225,9 @@ $surface-cta-surface-disabled: #b2cff2 !default;
|
|
|
225
225
|
$surface-radiotile-surface: #ffffff !default;
|
|
226
226
|
$surface-radiotile-surface-hover: #f4f4f4 !default;
|
|
227
227
|
$surface-radiotile-surface-selected: #f2f7fd !default;
|
|
228
|
+
$surface-toggletext-surface-on: #f2f7fd !default;
|
|
229
|
+
$surface-toggletext-surface-on-hover: #ccdff7 !default;
|
|
230
|
+
$surface-toggletext-surface-on-pressed: #b2cff2 !default;
|
|
228
231
|
$border-cta-border-secondary: #bcbcbc !default;
|
|
229
232
|
$border-cta-border-secondary-pressed: #bcbcbc !default;
|
|
230
233
|
$border-cta-border-secondary-hover: #bcbcbc !default;
|
|
@@ -299,6 +302,12 @@ $border-cta-border-outline-disabled: #646464 !default;
|
|
|
299
302
|
$border-radiotile-border: #bcbcbc !default;
|
|
300
303
|
$border-radiotile-border-hover: #bcbcbc !default;
|
|
301
304
|
$border-radiotile-border-selected: #0061d5 !default;
|
|
305
|
+
$border-toggletext-border-off: #6f6f6f !default;
|
|
306
|
+
$border-toggletext-border-off-hover: #6f6f6f !default;
|
|
307
|
+
$border-toggletext-border-off-pressed: #6f6f6f !default;
|
|
308
|
+
$border-toggletext-border-on: #f2f7fd !default;
|
|
309
|
+
$border-toggletext-border-on-hover: #ccdff7 !default;
|
|
310
|
+
$border-toggletext-border-on-pressed: #b2cff2 !default;
|
|
302
311
|
$icon-icon-on-light: #222222 !default;
|
|
303
312
|
$icon-icon-on-light-secondary: #6f6f6f !default;
|
|
304
313
|
$icon-icon-on-light-tertiary: #909090 !default;
|
|
@@ -349,6 +358,7 @@ $text-cta-link-secondary-hover: #6f6f6f !default;
|
|
|
349
358
|
$text-cta-promo: #4826c2 !default;
|
|
350
359
|
$text-cta-link-disabled: #b2cff2 !default;
|
|
351
360
|
$text-text-on-light-disabled: #bcbcbc !default;
|
|
361
|
+
$text-toggletext-text: #001d40 !default;
|
|
352
362
|
$overlay-sidepanel-overlay: rgba(0, 0, 0, 0.5) !default;
|
|
353
363
|
$overlay-modal-overlay: rgba(0, 0, 0, 0.8) !default;
|
|
354
364
|
$brand-box-primary: #0061d5 !default;
|
|
@@ -967,6 +977,9 @@ $tokens: (
|
|
|
967
977
|
'radiotile-surface': $surface-radiotile-surface,
|
|
968
978
|
'radiotile-surface-hover': $surface-radiotile-surface-hover,
|
|
969
979
|
'radiotile-surface-selected': $surface-radiotile-surface-selected,
|
|
980
|
+
'toggletext-surface-on': $surface-toggletext-surface-on,
|
|
981
|
+
'toggletext-surface-on-hover': $surface-toggletext-surface-on-hover,
|
|
982
|
+
'toggletext-surface-on-pressed': $surface-toggletext-surface-on-pressed,
|
|
970
983
|
),
|
|
971
984
|
'Border': (
|
|
972
985
|
'cta-border-secondary': $border-cta-border-secondary,
|
|
@@ -1043,6 +1056,12 @@ $tokens: (
|
|
|
1043
1056
|
'radiotile-border': $border-radiotile-border,
|
|
1044
1057
|
'radiotile-border-hover': $border-radiotile-border-hover,
|
|
1045
1058
|
'radiotile-border-selected': $border-radiotile-border-selected,
|
|
1059
|
+
'toggletext-border-off': $border-toggletext-border-off,
|
|
1060
|
+
'toggletext-border-off-hover': $border-toggletext-border-off-hover,
|
|
1061
|
+
'toggletext-border-off-pressed': $border-toggletext-border-off-pressed,
|
|
1062
|
+
'toggletext-border-on': $border-toggletext-border-on,
|
|
1063
|
+
'toggletext-border-on-hover': $border-toggletext-border-on-hover,
|
|
1064
|
+
'toggletext-border-on-pressed': $border-toggletext-border-on-pressed,
|
|
1046
1065
|
),
|
|
1047
1066
|
'Icon': (
|
|
1048
1067
|
'icon-on-light': $icon-icon-on-light,
|
|
@@ -1099,6 +1118,7 @@ $tokens: (
|
|
|
1099
1118
|
'cta-promo': $text-cta-promo,
|
|
1100
1119
|
'cta-link-disabled': $text-cta-link-disabled,
|
|
1101
1120
|
'text-on-light-disabled': $text-text-on-light-disabled,
|
|
1121
|
+
'toggletext-text': $text-toggletext-text,
|
|
1102
1122
|
),
|
|
1103
1123
|
'Overlay': (
|
|
1104
1124
|
'sidepanel-overlay': $overlay-sidepanel-overlay,
|