@box/blueprint-web-assets 4.43.2 → 4.44.2
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/tokens/mixins.scss +41 -28
- package/package.json +2 -2
package/dist/tokens/mixins.scss
CHANGED
|
@@ -1,64 +1,77 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
letter-spacing: map.get($font-values, 'letterSpacing');
|
|
10
|
-
text-transform: map.get($font-values, 'textCase');
|
|
11
|
-
text-decoration: map.get($font-values, 'textDecoration');
|
|
1
|
+
@mixin font-mixin($variant) {
|
|
2
|
+
font-weight: var(--#{$variant}-font-weight);
|
|
3
|
+
font-size: var(--#{$variant}-font-size);
|
|
4
|
+
font-family: var(--#{$variant}-font-family);
|
|
5
|
+
line-height: var(--#{$variant}-line-height);
|
|
6
|
+
letter-spacing: var(--#{$variant}-letter-spacing);
|
|
7
|
+
text-transform: var(--#{$variant}-text-case);
|
|
8
|
+
text-decoration: var(--#{$variant}-text-decoration);
|
|
12
9
|
}
|
|
13
10
|
|
|
14
11
|
@mixin title-subtitle {
|
|
15
|
-
@include font-mixin(
|
|
12
|
+
@include font-mixin('title-subtitle');
|
|
16
13
|
}
|
|
14
|
+
|
|
17
15
|
@mixin title-small {
|
|
18
|
-
@include font-mixin(
|
|
16
|
+
@include font-mixin('title-small');
|
|
19
17
|
}
|
|
18
|
+
|
|
20
19
|
@mixin title-medium {
|
|
21
|
-
@include font-mixin(
|
|
20
|
+
@include font-mixin('title-medium');
|
|
22
21
|
}
|
|
22
|
+
|
|
23
23
|
@mixin title-large {
|
|
24
|
-
@include font-mixin(
|
|
24
|
+
@include font-mixin('title-large');
|
|
25
25
|
}
|
|
26
|
+
|
|
26
27
|
@mixin title-xlarge {
|
|
27
|
-
@include font-mixin(
|
|
28
|
+
@include font-mixin('title-x-large');
|
|
28
29
|
}
|
|
30
|
+
|
|
29
31
|
@mixin title-mondo {
|
|
30
|
-
@include font-mixin(
|
|
32
|
+
@include font-mixin('title-mondo');
|
|
31
33
|
}
|
|
34
|
+
|
|
32
35
|
@mixin body-large {
|
|
33
|
-
@include font-mixin(
|
|
36
|
+
@include font-mixin('body-large');
|
|
34
37
|
}
|
|
38
|
+
|
|
35
39
|
@mixin body-large-bold {
|
|
36
|
-
@include font-mixin(
|
|
40
|
+
@include font-mixin('body-large-bold');
|
|
37
41
|
}
|
|
42
|
+
|
|
38
43
|
@mixin body-default-bold {
|
|
39
|
-
@include font-mixin(
|
|
44
|
+
@include font-mixin('body-default-bold');
|
|
40
45
|
}
|
|
46
|
+
|
|
41
47
|
@mixin body-default-semibold {
|
|
42
|
-
@include font-mixin(
|
|
48
|
+
@include font-mixin('body-default-semibold');
|
|
43
49
|
}
|
|
50
|
+
|
|
44
51
|
@mixin body-default {
|
|
45
|
-
@include font-mixin(
|
|
52
|
+
@include font-mixin('body-default');
|
|
46
53
|
}
|
|
54
|
+
|
|
47
55
|
@mixin caption-bold {
|
|
48
|
-
@include font-mixin(
|
|
56
|
+
@include font-mixin('caption-bold');
|
|
49
57
|
}
|
|
58
|
+
|
|
50
59
|
@mixin caption-default {
|
|
51
|
-
@include font-mixin(
|
|
60
|
+
@include font-mixin('caption-default');
|
|
52
61
|
}
|
|
62
|
+
|
|
53
63
|
@mixin label-bold {
|
|
54
|
-
@include font-mixin(
|
|
64
|
+
@include font-mixin('label-bold');
|
|
55
65
|
}
|
|
66
|
+
|
|
56
67
|
@mixin label-default {
|
|
57
|
-
@include font-mixin(
|
|
68
|
+
@include font-mixin('label-default');
|
|
58
69
|
}
|
|
70
|
+
|
|
59
71
|
@mixin link-default {
|
|
60
|
-
@include font-mixin(
|
|
72
|
+
@include font-mixin('link-default');
|
|
61
73
|
}
|
|
74
|
+
|
|
62
75
|
@mixin notification-default {
|
|
63
|
-
@include font-mixin(
|
|
76
|
+
@include font-mixin('notification-default');
|
|
64
77
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web-assets",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.44.2",
|
|
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",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@box/storybook-utils": "^0.12.
|
|
129
|
+
"@box/storybook-utils": "^0.12.3",
|
|
130
130
|
"@types/react": "^18.0.0",
|
|
131
131
|
"@types/react-dom": "^18.0.0",
|
|
132
132
|
"chalk": "4.1.2",
|