@carbon/elements 10.54.2 → 11.0.0-rc.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 +12 -13
- package/src/__tests__/__snapshots__/PublicAPI-test.js.snap +44 -130
- package/scss/colors/colors.scss +0 -12
- package/scss/colors/index.scss +0 -12
- package/scss/colors/mixins.scss +0 -1456
- package/scss/elements.scss +0 -17
- package/scss/grid/12.scss +0 -41
- package/scss/grid/_inlined/12.scss +0 -41
- package/scss/grid/_inlined/_mixins.import.scss +0 -431
- package/scss/grid/_inlined/_mixins.scss +0 -415
- package/scss/grid/_inlined/_prefix.scss +0 -12
- package/scss/grid/_mixins.import.scss +0 -431
- package/scss/grid/_mixins.scss +0 -415
- package/scss/grid/_prefix.scss +0 -12
- package/scss/grid/grid.scss +0 -10
- package/scss/grid/index.scss +0 -10
- package/scss/grid/modules/_breakpoint.scss +0 -198
- package/scss/grid/modules/_config.scss +0 -94
- package/scss/grid/modules/_css-grid.scss +0 -470
- package/scss/grid/modules/_flex-grid.scss +0 -363
- package/scss/grid/modules/_mixins.scss +0 -336
- package/scss/grid/vendor/@carbon/import-once/import-once.scss +0 -27
- package/scss/grid/vendor/@carbon/import-once/index.scss +0 -8
- package/scss/grid/vendor/@carbon/layout/_breakpoint.scss +0 -246
- package/scss/grid/vendor/@carbon/layout/_convert.import.scss +0 -65
- package/scss/grid/vendor/@carbon/layout/_convert.scss +0 -54
- package/scss/grid/vendor/@carbon/layout/_key-height.import.scss +0 -117
- package/scss/grid/vendor/@carbon/layout/_key-height.scss +0 -111
- package/scss/grid/vendor/@carbon/layout/_mini-unit.scss +0 -23
- package/scss/grid/vendor/@carbon/layout/_spacing.scss +0 -12
- package/scss/grid/vendor/@carbon/layout/_utilities.scss +0 -41
- package/scss/grid/vendor/@carbon/layout/generated/_container.scss +0 -73
- package/scss/grid/vendor/@carbon/layout/generated/_fluid-spacing.scss +0 -61
- package/scss/grid/vendor/@carbon/layout/generated/_icon-size.scss +0 -34
- package/scss/grid/vendor/@carbon/layout/generated/_layout.scss +0 -97
- package/scss/grid/vendor/@carbon/layout/generated/_size.scss +0 -17
- package/scss/grid/vendor/@carbon/layout/generated/_spacing.scss +0 -169
- package/scss/grid/vendor/@carbon/layout/index.scss +0 -8
- package/scss/grid/vendor/@carbon/layout/layout.scss +0 -12
- package/scss/grid/vendor/@carbon/layout/modules/_convert.scss +0 -51
- package/scss/grid/vendor/@carbon/layout/modules/_spacing.scss +0 -9
- package/scss/grid/vendor/@carbon/layout/modules/_utilities.scss +0 -41
- package/scss/grid/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +0 -37
- package/scss/grid/vendor/@carbon/layout/modules/generated/_spacing.scss +0 -91
- package/scss/icons/icons.scss +0 -10
- package/scss/icons/index.scss +0 -8
- package/scss/icons/mixins.scss +0 -18
- package/scss/import-once/import-once.scss +0 -27
- package/scss/import-once/index.scss +0 -8
- package/scss/index.scss +0 -15
- package/scss/layout/_breakpoint.scss +0 -246
- package/scss/layout/_convert.import.scss +0 -65
- package/scss/layout/_convert.scss +0 -54
- package/scss/layout/_key-height.import.scss +0 -117
- package/scss/layout/_key-height.scss +0 -111
- package/scss/layout/_mini-unit.scss +0 -23
- package/scss/layout/_spacing.scss +0 -12
- package/scss/layout/_utilities.scss +0 -41
- package/scss/layout/generated/_container.scss +0 -73
- package/scss/layout/generated/_fluid-spacing.scss +0 -61
- package/scss/layout/generated/_icon-size.scss +0 -34
- package/scss/layout/generated/_layout.scss +0 -97
- package/scss/layout/generated/_size.scss +0 -17
- package/scss/layout/generated/_spacing.scss +0 -169
- package/scss/layout/index.scss +0 -8
- package/scss/layout/layout.scss +0 -12
- package/scss/layout/modules/_convert.scss +0 -51
- package/scss/layout/modules/_spacing.scss +0 -9
- package/scss/layout/modules/_utilities.scss +0 -41
- package/scss/layout/modules/generated/_fluid-spacing.scss +0 -37
- package/scss/layout/modules/generated/_spacing.scss +0 -91
- package/scss/motion/index.scss +0 -8
- package/scss/motion/motion.scss +0 -78
- package/scss/themes/_mixins.scss +0 -39
- package/scss/themes/_theme-maps.scss +0 -9
- package/scss/themes/_tokens.scss +0 -8
- package/scss/themes/compat/_themes.scss +0 -8
- package/scss/themes/compat/_tokens.scss +0 -8
- package/scss/themes/compat/generated/_themes.scss +0 -271
- package/scss/themes/compat/generated/_tokens.scss +0 -206
- package/scss/themes/generated/_mixins.scss +0 -3622
- package/scss/themes/generated/_themes.scss +0 -2955
- package/scss/themes/generated/_tokens.scss +0 -3179
- package/scss/themes/index.scss +0 -8
- package/scss/themes/modules/_config.scss +0 -11
- package/scss/themes/modules/_theme.scss +0 -120
- package/scss/themes/modules/_themes.scss +0 -8
- package/scss/themes/modules/_tokens.scss +0 -8
- package/scss/themes/modules/_utilities.scss +0 -18
- package/scss/themes/modules/generated/_themes.scss +0 -432
- package/scss/themes/modules/generated/_tokens.scss +0 -308
- package/scss/themes/themes.scss +0 -10
- package/scss/type/_classes.scss +0 -41
- package/scss/type/_font-family.scss +0 -70
- package/scss/type/_inlined/_classes.scss +0 -41
- package/scss/type/_inlined/_font-family.scss +0 -70
- package/scss/type/_inlined/_prefix.scss +0 -11
- package/scss/type/_inlined/_reset.scss +0 -90
- package/scss/type/_inlined/_scale.scss +0 -59
- package/scss/type/_inlined/_styles.import.scss +0 -766
- package/scss/type/_inlined/_styles.scss +0 -924
- package/scss/type/_inlined/font-face/_mono.scss +0 -430
- package/scss/type/_inlined/font-face/_sans-condensed.scss +0 -302
- package/scss/type/_inlined/font-face/_sans.scss +0 -497
- package/scss/type/_inlined/font-face/_serif.scss +0 -430
- package/scss/type/_inlined/font-face/_settings.scss +0 -12
- package/scss/type/_prefix.scss +0 -11
- package/scss/type/_reset.scss +0 -90
- package/scss/type/_scale.scss +0 -59
- package/scss/type/_styles.import.scss +0 -766
- package/scss/type/_styles.scss +0 -924
- package/scss/type/font-face/_mono.scss +0 -430
- package/scss/type/font-face/_sans-condensed.scss +0 -302
- package/scss/type/font-face/_sans.scss +0 -497
- package/scss/type/font-face/_serif.scss +0 -430
- package/scss/type/font-face/_settings.scss +0 -12
- package/scss/type/index.scss +0 -8
- package/scss/type/modules/_classes.scss +0 -42
- package/scss/type/modules/_default-type.scss +0 -55
- package/scss/type/modules/_font-family.scss +0 -104
- package/scss/type/modules/_prefix.scss +0 -11
- package/scss/type/modules/_reset.scss +0 -44
- package/scss/type/modules/_scale.scss +0 -57
- package/scss/type/modules/_styles.scss +0 -876
- package/scss/type/type.scss +0 -8
- package/scss/type/vendor/@carbon/grid/12.scss +0 -41
- package/scss/type/vendor/@carbon/grid/_inlined/12.scss +0 -41
- package/scss/type/vendor/@carbon/grid/_inlined/_mixins.import.scss +0 -431
- package/scss/type/vendor/@carbon/grid/_inlined/_mixins.scss +0 -415
- package/scss/type/vendor/@carbon/grid/_inlined/_prefix.scss +0 -12
- package/scss/type/vendor/@carbon/grid/_mixins.import.scss +0 -431
- package/scss/type/vendor/@carbon/grid/_mixins.scss +0 -415
- package/scss/type/vendor/@carbon/grid/_prefix.scss +0 -12
- package/scss/type/vendor/@carbon/grid/grid.scss +0 -10
- package/scss/type/vendor/@carbon/grid/index.scss +0 -10
- package/scss/type/vendor/@carbon/grid/modules/_breakpoint.scss +0 -198
- package/scss/type/vendor/@carbon/grid/modules/_config.scss +0 -94
- package/scss/type/vendor/@carbon/grid/modules/_css-grid.scss +0 -470
- package/scss/type/vendor/@carbon/grid/modules/_flex-grid.scss +0 -363
- package/scss/type/vendor/@carbon/grid/modules/_mixins.scss +0 -336
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/import-once/import-once.scss +0 -27
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/import-once/index.scss +0 -8
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_breakpoint.scss +0 -246
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_convert.import.scss +0 -65
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_convert.scss +0 -54
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_key-height.import.scss +0 -117
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_key-height.scss +0 -111
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_mini-unit.scss +0 -23
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_spacing.scss +0 -12
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_utilities.scss +0 -41
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_container.scss +0 -73
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_fluid-spacing.scss +0 -61
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_icon-size.scss +0 -34
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_layout.scss +0 -97
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_size.scss +0 -17
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_spacing.scss +0 -169
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/index.scss +0 -8
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/layout.scss +0 -12
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/_convert.scss +0 -51
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/_spacing.scss +0 -9
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/_utilities.scss +0 -41
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +0 -37
- package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/generated/_spacing.scss +0 -91
- package/scss/type/vendor/@carbon/import-once/import-once.scss +0 -27
- package/scss/type/vendor/@carbon/import-once/index.scss +0 -8
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
// Code generated by @carbon/themes. DO NOT EDIT.
|
|
2
|
-
//
|
|
3
|
-
// Copyright IBM Corp. 2018, 2019
|
|
4
|
-
//
|
|
5
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
-
// LICENSE file in the root directory of this source tree.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
@use 'sass:map';
|
|
10
|
-
@use '../../modules/config';
|
|
11
|
-
@use '../../modules/theme';
|
|
12
|
-
|
|
13
|
-
/// Internal helper for generating CSS Custom Properties
|
|
14
|
-
@function _get($token) {
|
|
15
|
-
@if config.$use-fallback-value == false {
|
|
16
|
-
@return var(--#{config.$prefix}-#{$token});
|
|
17
|
-
} @else {
|
|
18
|
-
@return var(--#{config.$prefix}-#{$token}, #{theme.get($token)});
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/// CSS Custom Property for the interactive-01 token
|
|
23
|
-
$interactive-01: _get('interactive-01') !default;
|
|
24
|
-
|
|
25
|
-
/// CSS Custom Property for the interactive-02 token
|
|
26
|
-
$interactive-02: _get('interactive-02') !default;
|
|
27
|
-
|
|
28
|
-
/// CSS Custom Property for the interactive-03 token
|
|
29
|
-
$interactive-03: _get('interactive-03') !default;
|
|
30
|
-
|
|
31
|
-
/// CSS Custom Property for the interactive-04 token
|
|
32
|
-
$interactive-04: _get('interactive-04') !default;
|
|
33
|
-
|
|
34
|
-
/// CSS Custom Property for the ui-background token
|
|
35
|
-
$ui-background: _get('ui-background') !default;
|
|
36
|
-
|
|
37
|
-
/// CSS Custom Property for the ui-01 token
|
|
38
|
-
$ui-01: _get('ui-01') !default;
|
|
39
|
-
|
|
40
|
-
/// CSS Custom Property for the ui-02 token
|
|
41
|
-
$ui-02: _get('ui-02') !default;
|
|
42
|
-
|
|
43
|
-
/// CSS Custom Property for the ui-03 token
|
|
44
|
-
$ui-03: _get('ui-03') !default;
|
|
45
|
-
|
|
46
|
-
/// CSS Custom Property for the ui-04 token
|
|
47
|
-
$ui-04: _get('ui-04') !default;
|
|
48
|
-
|
|
49
|
-
/// CSS Custom Property for the ui-05 token
|
|
50
|
-
$ui-05: _get('ui-05') !default;
|
|
51
|
-
|
|
52
|
-
/// CSS Custom Property for the text-01 token
|
|
53
|
-
$text-01: _get('text-01') !default;
|
|
54
|
-
|
|
55
|
-
/// CSS Custom Property for the text-02 token
|
|
56
|
-
$text-02: _get('text-02') !default;
|
|
57
|
-
|
|
58
|
-
/// CSS Custom Property for the text-03 token
|
|
59
|
-
$text-03: _get('text-03') !default;
|
|
60
|
-
|
|
61
|
-
/// CSS Custom Property for the text-04 token
|
|
62
|
-
$text-04: _get('text-04') !default;
|
|
63
|
-
|
|
64
|
-
/// CSS Custom Property for the text-05 token
|
|
65
|
-
$text-05: _get('text-05') !default;
|
|
66
|
-
|
|
67
|
-
/// CSS Custom Property for the icon-01 token
|
|
68
|
-
$icon-01: _get('icon-01') !default;
|
|
69
|
-
|
|
70
|
-
/// CSS Custom Property for the icon-02 token
|
|
71
|
-
$icon-02: _get('icon-02') !default;
|
|
72
|
-
|
|
73
|
-
/// CSS Custom Property for the icon-03 token
|
|
74
|
-
$icon-03: _get('icon-03') !default;
|
|
75
|
-
|
|
76
|
-
/// CSS Custom Property for the link-01 token
|
|
77
|
-
$link-01: _get('link-01') !default;
|
|
78
|
-
|
|
79
|
-
/// CSS Custom Property for the link-02 token
|
|
80
|
-
$link-02: _get('link-02') !default;
|
|
81
|
-
|
|
82
|
-
/// CSS Custom Property for the inverse-link token
|
|
83
|
-
$inverse-link: _get('inverse-link') !default;
|
|
84
|
-
|
|
85
|
-
/// CSS Custom Property for the inverse-01 token
|
|
86
|
-
$inverse-01: _get('inverse-01') !default;
|
|
87
|
-
|
|
88
|
-
/// CSS Custom Property for the inverse-02 token
|
|
89
|
-
$inverse-02: _get('inverse-02') !default;
|
|
90
|
-
|
|
91
|
-
/// CSS Custom Property for the support-01 token
|
|
92
|
-
$support-01: _get('support-01') !default;
|
|
93
|
-
|
|
94
|
-
/// CSS Custom Property for the support-02 token
|
|
95
|
-
$support-02: _get('support-02') !default;
|
|
96
|
-
|
|
97
|
-
/// CSS Custom Property for the support-03 token
|
|
98
|
-
$support-03: _get('support-03') !default;
|
|
99
|
-
|
|
100
|
-
/// CSS Custom Property for the support-04 token
|
|
101
|
-
$support-04: _get('support-04') !default;
|
|
102
|
-
|
|
103
|
-
/// CSS Custom Property for the inverse-support-01 token
|
|
104
|
-
$inverse-support-01: _get('inverse-support-01') !default;
|
|
105
|
-
|
|
106
|
-
/// CSS Custom Property for the inverse-support-02 token
|
|
107
|
-
$inverse-support-02: _get('inverse-support-02') !default;
|
|
108
|
-
|
|
109
|
-
/// CSS Custom Property for the inverse-support-03 token
|
|
110
|
-
$inverse-support-03: _get('inverse-support-03') !default;
|
|
111
|
-
|
|
112
|
-
/// CSS Custom Property for the inverse-support-04 token
|
|
113
|
-
$inverse-support-04: _get('inverse-support-04') !default;
|
|
114
|
-
|
|
115
|
-
/// CSS Custom Property for the overlay-01 token
|
|
116
|
-
$overlay-01: _get('overlay-01') !default;
|
|
117
|
-
|
|
118
|
-
/// CSS Custom Property for the danger-01 token
|
|
119
|
-
$danger-01: _get('danger-01') !default;
|
|
120
|
-
|
|
121
|
-
/// CSS Custom Property for the danger-02 token
|
|
122
|
-
$danger-02: _get('danger-02') !default;
|
|
123
|
-
|
|
124
|
-
/// CSS Custom Property for the inverse-focus-ui token
|
|
125
|
-
$inverse-focus-ui: _get('inverse-focus-ui') !default;
|
|
126
|
-
|
|
127
|
-
/// CSS Custom Property for the hover-primary token
|
|
128
|
-
$hover-primary: _get('hover-primary') !default;
|
|
129
|
-
|
|
130
|
-
/// CSS Custom Property for the active-primary token
|
|
131
|
-
$active-primary: _get('active-primary') !default;
|
|
132
|
-
|
|
133
|
-
/// CSS Custom Property for the hover-primary-text token
|
|
134
|
-
$hover-primary-text: _get('hover-primary-text') !default;
|
|
135
|
-
|
|
136
|
-
/// CSS Custom Property for the hover-secondary token
|
|
137
|
-
$hover-secondary: _get('hover-secondary') !default;
|
|
138
|
-
|
|
139
|
-
/// CSS Custom Property for the active-secondary token
|
|
140
|
-
$active-secondary: _get('active-secondary') !default;
|
|
141
|
-
|
|
142
|
-
/// CSS Custom Property for the hover-tertiary token
|
|
143
|
-
$hover-tertiary: _get('hover-tertiary') !default;
|
|
144
|
-
|
|
145
|
-
/// CSS Custom Property for the active-tertiary token
|
|
146
|
-
$active-tertiary: _get('active-tertiary') !default;
|
|
147
|
-
|
|
148
|
-
/// CSS Custom Property for the hover-ui token
|
|
149
|
-
$hover-ui: _get('hover-ui') !default;
|
|
150
|
-
|
|
151
|
-
/// CSS Custom Property for the hover-light-ui token
|
|
152
|
-
$hover-light-ui: _get('hover-light-ui') !default;
|
|
153
|
-
|
|
154
|
-
/// CSS Custom Property for the hover-selected-ui token
|
|
155
|
-
$hover-selected-ui: _get('hover-selected-ui') !default;
|
|
156
|
-
|
|
157
|
-
/// CSS Custom Property for the active-ui token
|
|
158
|
-
$active-ui: _get('active-ui') !default;
|
|
159
|
-
|
|
160
|
-
/// CSS Custom Property for the active-light-ui token
|
|
161
|
-
$active-light-ui: _get('active-light-ui') !default;
|
|
162
|
-
|
|
163
|
-
/// CSS Custom Property for the selected-ui token
|
|
164
|
-
$selected-ui: _get('selected-ui') !default;
|
|
165
|
-
|
|
166
|
-
/// CSS Custom Property for the selected-light-ui token
|
|
167
|
-
$selected-light-ui: _get('selected-light-ui') !default;
|
|
168
|
-
|
|
169
|
-
/// CSS Custom Property for the inverse-hover-ui token
|
|
170
|
-
$inverse-hover-ui: _get('inverse-hover-ui') !default;
|
|
171
|
-
|
|
172
|
-
/// CSS Custom Property for the hover-danger token
|
|
173
|
-
$hover-danger: _get('hover-danger') !default;
|
|
174
|
-
|
|
175
|
-
/// CSS Custom Property for the active-danger token
|
|
176
|
-
$active-danger: _get('active-danger') !default;
|
|
177
|
-
|
|
178
|
-
/// CSS Custom Property for the hover-row token
|
|
179
|
-
$hover-row: _get('hover-row') !default;
|
|
180
|
-
|
|
181
|
-
/// CSS Custom Property for the visited-link token
|
|
182
|
-
$visited-link: _get('visited-link') !default;
|
|
183
|
-
|
|
184
|
-
/// CSS Custom Property for the disabled-01 token
|
|
185
|
-
$disabled-01: _get('disabled-01') !default;
|
|
186
|
-
|
|
187
|
-
/// CSS Custom Property for the disabled-02 token
|
|
188
|
-
$disabled-02: _get('disabled-02') !default;
|
|
189
|
-
|
|
190
|
-
/// CSS Custom Property for the disabled-03 token
|
|
191
|
-
$disabled-03: _get('disabled-03') !default;
|
|
192
|
-
|
|
193
|
-
/// CSS Custom Property for the decorative-01 token
|
|
194
|
-
$decorative-01: _get('decorative-01') !default;
|
|
195
|
-
|
|
196
|
-
/// CSS Custom Property for the button-separator token
|
|
197
|
-
$button-separator: _get('button-separator') !default;
|
|
198
|
-
|
|
199
|
-
/// CSS Custom Property for the skeleton-01 token
|
|
200
|
-
$skeleton-01: _get('skeleton-01') !default;
|
|
201
|
-
|
|
202
|
-
/// CSS Custom Property for the skeleton-02 token
|
|
203
|
-
$skeleton-02: _get('skeleton-02') !default;
|
|
204
|
-
|
|
205
|
-
/// CSS Custom Property for the hover-field token
|
|
206
|
-
$hover-field: _get('hover-field') !default;
|