@box/blueprint-web-assets 4.76.4 → 4.77.1

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.
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const ForwardRef: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
3
+ export default ForwardRef;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from 'react';
3
+ const SvgCheckmark = (props, ref) => (_jsx("svg", { width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", role: "img", ref: ref, ...props, children: _jsx("path", { fill: props.color || '#909090', d: "M19.94 5.94a1.5 1.5 0 0 1 2.12 2.12L10.769 19.355a2.5 2.5 0 0 1-3.536 0L1.94 14.06a1.5 1.5 0 0 1 2.12-2.121L9 16.88 19.94 5.94Z" }) }));
4
+ const ForwardRef = forwardRef(SvgCheckmark);
5
+ export default ForwardRef;
@@ -39,6 +39,7 @@ export { default as Canvas } from './Canvas';
39
39
  export { default as ChartDonut } from './ChartDonut';
40
40
  export { default as ChartLine } from './ChartLine';
41
41
  export { default as CheckList } from './CheckList';
42
+ export { default as Checkmark } from './Checkmark';
42
43
  export { default as CheckmarkCircle } from './CheckmarkCircle';
43
44
  export { default as ChevronDown } from './ChevronDown';
44
45
  export { default as ChevronLeft } from './ChevronLeft';
@@ -39,6 +39,7 @@ export { default as Canvas } from './Canvas';
39
39
  export { default as ChartDonut } from './ChartDonut';
40
40
  export { default as ChartLine } from './ChartLine';
41
41
  export { default as CheckList } from './CheckList';
42
+ export { default as Checkmark } from './Checkmark';
42
43
  export { default as CheckmarkCircle } from './CheckmarkCircle';
43
44
  export { default as ChevronDown } from './ChevronDown';
44
45
  export { default as ChevronLeft } from './ChevronLeft';
@@ -401,6 +401,7 @@ export const bpSurfaceSwitchSurfaceOff: string;
401
401
  export const bpSurfaceSwitchSurfaceOffHover: string;
402
402
  export const bpSurfaceSwitchSurfaceOn: string;
403
403
  export const bpSurfaceSwitchSurfaceOnHover: string;
404
+ export const bpSurfaceTabSurface: string;
404
405
  export const bpSurfaceTabSurfaceHover: string;
405
406
  export const bpSurfaceTabSurfacePressed: string;
406
407
  export const bpSurfaceTextHighlightSurface: string;
@@ -401,6 +401,7 @@ export const bpSurfaceSwitchSurfaceOff = '#d3d3d3';
401
401
  export const bpSurfaceSwitchSurfaceOffHover = '#bcbcbc';
402
402
  export const bpSurfaceSwitchSurfaceOn = '#0061d5';
403
403
  export const bpSurfaceSwitchSurfaceOnHover = '#2079e3';
404
+ export const bpSurfaceTabSurface = 'rgba(255, 255, 255, 0)';
404
405
  export const bpSurfaceTabSurfaceHover = 'rgba(255, 255, 255, 0)';
405
406
  export const bpSurfaceTabSurfacePressed = 'rgba(255, 255, 255, 0)';
406
407
  export const bpSurfaceTextHighlightSurface = '#fff7cc';
@@ -943,6 +943,7 @@
943
943
  --bp-surface-switch-surface-off-hover: var(--bp-gray-30);
944
944
  --bp-surface-switch-surface-on: var(--bp-box-blue-100);
945
945
  --bp-surface-switch-surface-on-hover: var(--bp-light-blue-110);
946
+ --bp-surface-tab-surface: var(--bp-white-opacity-00);
946
947
  --bp-surface-tab-surface-hover: var(--bp-white-opacity-00);
947
948
  --bp-surface-tab-surface-pressed: var(--bp-white-opacity-00);
948
949
  --bp-surface-text-highlight-surface: var(--bp-yellow-20);
@@ -397,6 +397,7 @@ export const bpSurfaceSwitchSurfaceOff: string;
397
397
  export const bpSurfaceSwitchSurfaceOffHover: string;
398
398
  export const bpSurfaceSwitchSurfaceOn: string;
399
399
  export const bpSurfaceSwitchSurfaceOnHover: string;
400
+ export const bpSurfaceTabSurface: string;
400
401
  export const bpSurfaceTabSurfaceHover: string;
401
402
  export const bpSurfaceTabSurfacePressed: string;
402
403
  export const bpSurfaceTextHighlightSurface: string;
@@ -397,6 +397,7 @@ export const bpSurfaceSwitchSurfaceOff = '#d3d3d3';
397
397
  export const bpSurfaceSwitchSurfaceOffHover = '#bcbcbc';
398
398
  export const bpSurfaceSwitchSurfaceOn = '#0061d5';
399
399
  export const bpSurfaceSwitchSurfaceOnHover = '#2079e3';
400
+ export const bpSurfaceTabSurface = 'rgba(255, 255, 255, 0)';
400
401
  export const bpSurfaceTabSurfaceHover = 'rgba(255, 255, 255, 0)';
401
402
  export const bpSurfaceTabSurfacePressed = 'rgba(255, 255, 255, 0)';
402
403
  export const bpSurfaceTextHighlightSurface = '#fff7cc';
@@ -398,6 +398,7 @@
398
398
  "BpSurfaceSwitchSurfaceOffHover": "#bcbcbc",
399
399
  "BpSurfaceSwitchSurfaceOn": "#0061d5",
400
400
  "BpSurfaceSwitchSurfaceOnHover": "#2079e3",
401
+ "BpSurfaceTabSurface": "rgba(255, 255, 255, 0)",
401
402
  "BpSurfaceTabSurfaceHover": "rgba(255, 255, 255, 0)",
402
403
  "BpSurfaceTabSurfacePressed": "rgba(255, 255, 255, 0)",
403
404
  "BpSurfaceTextHighlightSurface": "#fff7cc",
@@ -402,6 +402,7 @@ export const bpSurfaceSwitchSurfaceOff: string;
402
402
  export const bpSurfaceSwitchSurfaceOffHover: string;
403
403
  export const bpSurfaceSwitchSurfaceOn: string;
404
404
  export const bpSurfaceSwitchSurfaceOnHover: string;
405
+ export const bpSurfaceTabSurface: string;
405
406
  export const bpSurfaceTabSurfaceHover: string;
406
407
  export const bpSurfaceTabSurfacePressed: string;
407
408
  export const bpSurfaceTextHighlightSurface: string;
@@ -402,6 +402,7 @@ export const bpSurfaceSwitchSurfaceOff = '#d3d3d3';
402
402
  export const bpSurfaceSwitchSurfaceOffHover = '#bcbcbc';
403
403
  export const bpSurfaceSwitchSurfaceOn = '#0061d5';
404
404
  export const bpSurfaceSwitchSurfaceOnHover = '#2079e3';
405
+ export const bpSurfaceTabSurface = 'rgba(0, 0, 0, 0)';
405
406
  export const bpSurfaceTabSurfaceHover = 'rgba(0, 0, 0, 0)';
406
407
  export const bpSurfaceTabSurfacePressed = 'rgba(0, 0, 0, 0)';
407
408
  export const bpSurfaceTextHighlightSurface = '#fff7cc';
@@ -944,6 +944,7 @@
944
944
  --bp-surface-switch-surface-off-hover: var(--bp-gray-30);
945
945
  --bp-surface-switch-surface-on: var(--bp-box-blue-100);
946
946
  --bp-surface-switch-surface-on-hover: var(--bp-light-blue-110);
947
+ --bp-surface-tab-surface: var(--bp-black-opacity-00);
947
948
  --bp-surface-tab-surface-hover: var(--bp-black-opacity-00);
948
949
  --bp-surface-tab-surface-pressed: var(--bp-black-opacity-00);
949
950
  --bp-surface-text-highlight-surface: var(--bp-yellow-20);
@@ -398,6 +398,7 @@ export const bpSurfaceSwitchSurfaceOff: string;
398
398
  export const bpSurfaceSwitchSurfaceOffHover: string;
399
399
  export const bpSurfaceSwitchSurfaceOn: string;
400
400
  export const bpSurfaceSwitchSurfaceOnHover: string;
401
+ export const bpSurfaceTabSurface: string;
401
402
  export const bpSurfaceTabSurfaceHover: string;
402
403
  export const bpSurfaceTabSurfacePressed: string;
403
404
  export const bpSurfaceTextHighlightSurface: string;
@@ -398,6 +398,7 @@ export const bpSurfaceSwitchSurfaceOff = '#d3d3d3';
398
398
  export const bpSurfaceSwitchSurfaceOffHover = '#bcbcbc';
399
399
  export const bpSurfaceSwitchSurfaceOn = '#0061d5';
400
400
  export const bpSurfaceSwitchSurfaceOnHover = '#2079e3';
401
+ export const bpSurfaceTabSurface = 'rgba(0, 0, 0, 0)';
401
402
  export const bpSurfaceTabSurfaceHover = 'rgba(0, 0, 0, 0)';
402
403
  export const bpSurfaceTabSurfacePressed = 'rgba(0, 0, 0, 0)';
403
404
  export const bpSurfaceTextHighlightSurface = '#fff7cc';
@@ -399,6 +399,7 @@
399
399
  "BpSurfaceSwitchSurfaceOffHover": "#bcbcbc",
400
400
  "BpSurfaceSwitchSurfaceOn": "#0061d5",
401
401
  "BpSurfaceSwitchSurfaceOnHover": "#2079e3",
402
+ "BpSurfaceTabSurface": "rgba(0, 0, 0, 0)",
402
403
  "BpSurfaceTabSurfaceHover": "rgba(0, 0, 0, 0)",
403
404
  "BpSurfaceTabSurfacePressed": "rgba(0, 0, 0, 0)",
404
405
  "BpSurfaceTextHighlightSurface": "#fff7cc",
@@ -13,67 +13,51 @@
13
13
  @mixin title-subtitle {
14
14
  @include font-mixin('title-subtitle');
15
15
  }
16
-
17
16
  @mixin title-small {
18
17
  @include font-mixin('title-small');
19
18
  }
20
-
21
19
  @mixin title-medium {
22
20
  @include font-mixin('title-medium');
23
21
  }
24
-
25
22
  @mixin title-large {
26
23
  @include font-mixin('title-large');
27
24
  }
28
-
29
25
  @mixin title-xlarge {
30
26
  @include font-mixin('title-x-large');
31
27
  }
32
-
33
28
  @mixin title-mondo {
34
29
  @include font-mixin('title-mondo');
35
30
  }
36
-
37
31
  @mixin body-large {
38
32
  @include font-mixin('body-large');
39
33
  }
40
-
41
34
  @mixin body-large-bold {
42
35
  @include font-mixin('body-large-bold');
43
36
  }
44
-
45
37
  @mixin body-default-bold {
46
38
  @include font-mixin('body-default-bold');
47
39
  }
48
-
49
40
  @mixin body-default-semibold {
50
41
  @include font-mixin('body-default-semibold');
51
42
  }
52
-
53
43
  @mixin body-default {
54
44
  @include font-mixin('body-default');
55
45
  }
56
-
57
46
  @mixin caption-bold {
58
47
  @include font-mixin('caption-bold');
59
48
  }
60
-
61
49
  @mixin caption-default {
62
50
  @include font-mixin('caption-default');
63
51
  }
64
-
65
52
  @mixin label-bold {
66
53
  @include font-mixin('label-bold');
67
54
  }
68
-
69
55
  @mixin label-default {
70
56
  @include font-mixin('label-default');
71
57
  }
72
-
73
58
  @mixin link-default {
74
59
  @include font-mixin('link-default');
75
60
  }
76
-
77
61
  @mixin notification-default {
78
62
  @include font-mixin('notification-default');
79
63
  }
@@ -1224,6 +1224,7 @@ export const bpSurfaceSwitchSurfaceOff: string;
1224
1224
  export const bpSurfaceSwitchSurfaceOffHover: string;
1225
1225
  export const bpSurfaceSwitchSurfaceOn: string;
1226
1226
  export const bpSurfaceSwitchSurfaceOnHover: string;
1227
+ export const bpSurfaceTabSurface: string;
1227
1228
  export const bpSurfaceTabSurfaceHover: string;
1228
1229
  export const bpSurfaceTabSurfacePressed: string;
1229
1230
  export const bpSurfaceTextHighlightSurface: string;
@@ -1235,6 +1235,7 @@ export const bpSurfaceSwitchSurfaceOff = '#d3d3d3';
1235
1235
  export const bpSurfaceSwitchSurfaceOffHover = '#bcbcbc';
1236
1236
  export const bpSurfaceSwitchSurfaceOn = '#0061d5';
1237
1237
  export const bpSurfaceSwitchSurfaceOnHover = '#2079e3';
1238
+ export const bpSurfaceTabSurface = 'rgba(0, 0, 0, 0)';
1238
1239
  export const bpSurfaceTabSurfaceHover = 'rgba(0, 0, 0, 0)';
1239
1240
  export const bpSurfaceTabSurfacePressed = 'rgba(0, 0, 0, 0)';
1240
1241
  export const bpSurfaceTextHighlightSurface = '#fff7cc';
@@ -1732,6 +1732,7 @@
1732
1732
  --bp-surface-switch-surface-off-hover: var(--bp-gray-30);
1733
1733
  --bp-surface-switch-surface-on: var(--bp-box-blue-100);
1734
1734
  --bp-surface-switch-surface-on-hover: var(--bp-light-blue-110);
1735
+ --bp-surface-tab-surface: var(--bp-black-opacity-00);
1735
1736
  --bp-surface-tab-surface-hover: var(--bp-black-opacity-00);
1736
1737
  --bp-surface-tab-surface-pressed: var(--bp-black-opacity-00);
1737
1738
  --bp-surface-text-highlight-surface: var(--bp-yellow-20);
@@ -1220,6 +1220,7 @@ export const bpSurfaceSwitchSurfaceOff: string;
1220
1220
  export const bpSurfaceSwitchSurfaceOffHover: string;
1221
1221
  export const bpSurfaceSwitchSurfaceOn: string;
1222
1222
  export const bpSurfaceSwitchSurfaceOnHover: string;
1223
+ export const bpSurfaceTabSurface: string;
1223
1224
  export const bpSurfaceTabSurfaceHover: string;
1224
1225
  export const bpSurfaceTabSurfacePressed: string;
1225
1226
  export const bpSurfaceTextHighlightSurface: string;
@@ -1231,6 +1231,7 @@ export const bpSurfaceSwitchSurfaceOff = '#d3d3d3';
1231
1231
  export const bpSurfaceSwitchSurfaceOffHover = '#bcbcbc';
1232
1232
  export const bpSurfaceSwitchSurfaceOn = '#0061d5';
1233
1233
  export const bpSurfaceSwitchSurfaceOnHover = '#2079e3';
1234
+ export const bpSurfaceTabSurface = 'rgba(0, 0, 0, 0)';
1234
1235
  export const bpSurfaceTabSurfaceHover = 'rgba(0, 0, 0, 0)';
1235
1236
  export const bpSurfaceTabSurfacePressed = 'rgba(0, 0, 0, 0)';
1236
1237
  export const bpSurfaceTextHighlightSurface = '#fff7cc';
@@ -1219,6 +1219,7 @@
1219
1219
  "BpSurfaceSwitchSurfaceOffHover": "#bcbcbc",
1220
1220
  "BpSurfaceSwitchSurfaceOn": "#0061d5",
1221
1221
  "BpSurfaceSwitchSurfaceOnHover": "#2079e3",
1222
+ "BpSurfaceTabSurface": "rgba(0, 0, 0, 0)",
1222
1223
  "BpSurfaceTabSurfaceHover": "rgba(0, 0, 0, 0)",
1223
1224
  "BpSurfaceTabSurfacePressed": "rgba(0, 0, 0, 0)",
1224
1225
  "BpSurfaceTextHighlightSurface": "#fff7cc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web-assets",
3
- "version": "4.76.4",
3
+ "version": "4.77.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "scripts": {
6
6
  "build-local-all": "yarn nx clone-repo && yarn build-local && nx run blueprint-web-assets:format-lint",
@@ -139,7 +139,7 @@
139
139
  }
140
140
  },
141
141
  "devDependencies": {
142
- "@box/storybook-utils": "^0.14.13",
142
+ "@box/storybook-utils": "^0.14.14",
143
143
  "@types/react": "^18.0.0",
144
144
  "@types/react-dom": "^18.0.0",
145
145
  "chalk": "4.1.2",