carbon-react 104.0.0 → 104.3.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/lib/__internal__/popover/popover.component.js +2 -6
- package/lib/__internal__/tooltip-provider/index.d.ts +1 -0
- package/lib/__internal__/tooltip-provider/index.js +6 -3
- package/lib/components/accordion/accordion.style.js +20 -45
- package/lib/components/button/button.component.d.ts +21 -1
- package/lib/components/button/button.component.js +63 -52
- package/lib/components/icon/icon.component.js +4 -2
- package/lib/components/icon-button/icon-button.component.js +11 -19
- package/lib/components/portal/portal.js +3 -6
- package/lib/components/step-sequence/step-sequence-item/step-sequence-item.style.js +13 -23
- package/lib/components/tooltip/tooltip.component.js +7 -7
- package/lib/components/tooltip/tooltip.d.ts +1 -0
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +7 -5
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.js +11 -36
- package/lib/style/themes/aegean/aegean-theme.config.d.ts +1 -0
- package/lib/style/themes/aegean/aegean-theme.config.js +2 -1
- package/lib/style/themes/base/base-theme.config.d.ts +162 -93
- package/lib/style/themes/mint/mint-theme.config.d.ts +1 -0
- package/lib/style/themes/mint/mint-theme.config.js +2 -1
- package/lib/style/themes/sage/index.d.ts +162 -93
- package/package.json +4 -3
|
@@ -7,14 +7,69 @@ declare var _default: {
|
|
|
7
7
|
colorsYin030: string;
|
|
8
8
|
colorsYin055: string;
|
|
9
9
|
colorsYin065: string;
|
|
10
|
+
colorsYin075: string;
|
|
10
11
|
colorsYin090: string;
|
|
11
12
|
colorsYang100: string;
|
|
13
|
+
colorsYang080: string;
|
|
14
|
+
colorsGray850: string;
|
|
15
|
+
colorsGray900: string;
|
|
16
|
+
colorsGray1000: string;
|
|
17
|
+
colorsGray000: string;
|
|
12
18
|
colorsDisabled400: string;
|
|
13
19
|
colorsDisabled500: string;
|
|
14
20
|
colorsDisabled600: string;
|
|
15
21
|
colorsReadOnly400: string;
|
|
16
22
|
colorsReadOnly500: string;
|
|
17
23
|
colorsReadOnly600: string;
|
|
24
|
+
colorsComponentsMenuSpringStandard500: string;
|
|
25
|
+
colorsComponentsMenuSpringStandard600: string;
|
|
26
|
+
colorsComponentsMenuSpringStandard700: string;
|
|
27
|
+
colorsComponentsMenuSpringParent500: string;
|
|
28
|
+
colorsComponentsMenuSpringParent600: string;
|
|
29
|
+
colorsComponentsMenuSpringParent700: string;
|
|
30
|
+
colorsComponentsMenuSpringChild400: string;
|
|
31
|
+
colorsComponentsMenuSpringChild500: string;
|
|
32
|
+
colorsComponentsMenuSpringChild600: string;
|
|
33
|
+
colorsComponentsMenuSpringChildAlt500: string;
|
|
34
|
+
colorsComponentsMenuSpringChildAlt600: string;
|
|
35
|
+
colorsComponentsMenuSummerStandard500: string;
|
|
36
|
+
colorsComponentsMenuSummerStandard600: string;
|
|
37
|
+
colorsComponentsMenuSummerStandard700: string;
|
|
38
|
+
colorsComponentsMenuSummerParent500: string;
|
|
39
|
+
colorsComponentsMenuSummerParent600: string;
|
|
40
|
+
colorsComponentsMenuSummerParent700: string;
|
|
41
|
+
colorsComponentsMenuSummerChild400: string;
|
|
42
|
+
colorsComponentsMenuSummerChild500: string;
|
|
43
|
+
colorsComponentsMenuSummerChild600: string;
|
|
44
|
+
colorsComponentsMenuSummerChildAlt500: string;
|
|
45
|
+
colorsComponentsMenuSummerChildAlt600: string;
|
|
46
|
+
colorsComponentsMenuAutumnStandard500: string;
|
|
47
|
+
colorsComponentsMenuAutumnStandard600: string;
|
|
48
|
+
colorsComponentsMenuAutumnStandard700: string;
|
|
49
|
+
colorsComponentsMenuAutumnParent500: string;
|
|
50
|
+
colorsComponentsMenuAutumnParent600: string;
|
|
51
|
+
colorsComponentsMenuAutumnParent700: string;
|
|
52
|
+
colorsComponentsMenuAutumnChild400: string;
|
|
53
|
+
colorsComponentsMenuAutumnChild500: string;
|
|
54
|
+
colorsComponentsMenuAutumnChild600: string;
|
|
55
|
+
colorsComponentsMenuAutumnChildAlt500: string;
|
|
56
|
+
colorsComponentsMenuAutumnChildAlt600: string;
|
|
57
|
+
colorsComponentsMenuWinterStandard500: string;
|
|
58
|
+
colorsComponentsMenuWinterStandard600: string;
|
|
59
|
+
colorsComponentsMenuWinterStandard700: string;
|
|
60
|
+
colorsComponentsMenuWinterParent500: string;
|
|
61
|
+
colorsComponentsMenuWinterParent600: string;
|
|
62
|
+
colorsComponentsMenuWinterParent700: string;
|
|
63
|
+
colorsComponentsMenuWinterChild400: string;
|
|
64
|
+
colorsComponentsMenuWinterChild500: string;
|
|
65
|
+
colorsComponentsMenuWinterChild600: string;
|
|
66
|
+
colorsComponentsMenuWinterChildAlt500: string;
|
|
67
|
+
colorsComponentsMenuWinterChildAlt600: string;
|
|
68
|
+
colorsComponentsMenuYin100: string;
|
|
69
|
+
colorsComponentsMenuYin065: string;
|
|
70
|
+
colorsComponentsMenuYin090: string;
|
|
71
|
+
colorsComponentsMenuYang100: string;
|
|
72
|
+
colorsComponentsMenuYang080: string;
|
|
18
73
|
colorsComponentsNavigation500: string;
|
|
19
74
|
colorsComponentsNavigation600: string;
|
|
20
75
|
colorsComponentsNavigation700: string;
|
|
@@ -33,6 +88,7 @@ declare var _default: {
|
|
|
33
88
|
colorsUtilityMajor500: string;
|
|
34
89
|
colorsUtilityMajor800: string;
|
|
35
90
|
colorsUtilityMajor025: string;
|
|
91
|
+
colorsUtilityMajor040: string;
|
|
36
92
|
colorsUtilityMajor050: string;
|
|
37
93
|
colorsUtilityMajor075: string;
|
|
38
94
|
colorsUtilityMajorTransparent: string;
|
|
@@ -65,7 +121,9 @@ declare var _default: {
|
|
|
65
121
|
colorsActionMinor300: string;
|
|
66
122
|
colorsActionMinor400: string;
|
|
67
123
|
colorsActionMinor500: string;
|
|
124
|
+
colorsActionMinor550: string;
|
|
68
125
|
colorsActionMinor600: string;
|
|
126
|
+
colorsActionMinor850: string;
|
|
69
127
|
colorsActionMinor900: string;
|
|
70
128
|
colorsActionMinor025: string;
|
|
71
129
|
colorsActionMinor050: string;
|
|
@@ -186,6 +244,7 @@ declare var _default: {
|
|
|
186
244
|
fontSizes025: string;
|
|
187
245
|
fontSizes050: string;
|
|
188
246
|
boxShadow100: string;
|
|
247
|
+
boxShadow150: string;
|
|
189
248
|
boxShadow200: string;
|
|
190
249
|
boxShadow300: string;
|
|
191
250
|
boxShadow400: string;
|
|
@@ -201,100 +260,111 @@ declare var _default: {
|
|
|
201
260
|
fontFamiliesAndroid: string;
|
|
202
261
|
fontFamiliesOther: string;
|
|
203
262
|
borderRadiusCircle: string;
|
|
204
|
-
typographyAccordionTitleM:
|
|
205
|
-
typographyAccordionSubtitleM:
|
|
206
|
-
typographyAccordionParagraphM:
|
|
207
|
-
typographyActionPopoverMenuItemM:
|
|
208
|
-
typographyAnchorNavLabelM:
|
|
209
|
-
typographyBadgeLabelM:
|
|
210
|
-
typographyButtonLabelS:
|
|
211
|
-
typographyButtonLabelM:
|
|
212
|
-
typographyButtonLabelL:
|
|
213
|
-
typographyDialogTitleXs:
|
|
214
|
-
typographyDialogTitleS:
|
|
215
|
-
typographyDialogTitleMs:
|
|
216
|
-
typographyDialogTitleM:
|
|
217
|
-
typographyDialogTitleMl:
|
|
218
|
-
typographyDialogTitleL:
|
|
219
|
-
typographyDialogTitleXl:
|
|
220
|
-
typographyDialogParagraphXs:
|
|
221
|
-
typographyDialogParagraphS:
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
263
|
+
typographyAccordionTitleM: string;
|
|
264
|
+
typographyAccordionSubtitleM: string;
|
|
265
|
+
typographyAccordionParagraphM: string;
|
|
266
|
+
typographyActionPopoverMenuItemM: string;
|
|
267
|
+
typographyAnchorNavLabelM: string;
|
|
268
|
+
typographyBadgeLabelM: string;
|
|
269
|
+
typographyButtonLabelS: string;
|
|
270
|
+
typographyButtonLabelM: string;
|
|
271
|
+
typographyButtonLabelL: string;
|
|
272
|
+
typographyDialogTitleXs: string;
|
|
273
|
+
typographyDialogTitleS: string;
|
|
274
|
+
typographyDialogTitleMs: string;
|
|
275
|
+
typographyDialogTitleM: string;
|
|
276
|
+
typographyDialogTitleMl: string;
|
|
277
|
+
typographyDialogTitleL: string;
|
|
278
|
+
typographyDialogTitleXl: string;
|
|
279
|
+
typographyDialogParagraphXs: string;
|
|
280
|
+
typographyDialogParagraphS: string;
|
|
281
|
+
typographyDrawerTitleM: string;
|
|
282
|
+
typographyFlashTextM: string;
|
|
283
|
+
typographyFlashTextL: string;
|
|
284
|
+
typographyFormFieldLabelXs: string;
|
|
285
|
+
typographyFormFieldLabelS: string;
|
|
286
|
+
typographyFormFieldLabelM: string;
|
|
287
|
+
typographyFormFieldLabelL: string;
|
|
288
|
+
typographyFormFieldHintTextXs: string;
|
|
289
|
+
typographyFormFieldHintTextS: string;
|
|
290
|
+
typographyFormFieldHintTextM: string;
|
|
291
|
+
typographyFormFieldHintTextL: string;
|
|
292
|
+
typographyFormFieldErrorMessageXs: string;
|
|
293
|
+
typographyFormFieldErrorMessageS: string;
|
|
294
|
+
typographyFormFieldErrorMessageM: string;
|
|
295
|
+
typographyFormFieldErrorMessageL: string;
|
|
296
|
+
typographyFormFieldCautionMessageXs: string;
|
|
297
|
+
typographyFormFieldCautionMessageS: string;
|
|
298
|
+
typographyFormFieldCautionMessageM: string;
|
|
299
|
+
typographyFormFieldCautionMessageL: string;
|
|
300
|
+
typographyFormFieldInputTextXs: string;
|
|
301
|
+
typographyFormFieldInputTextS: string;
|
|
302
|
+
typographyFormFieldInputTextM: string;
|
|
303
|
+
typographyFormFieldInputTextL: string;
|
|
304
|
+
typographyFormFieldDropdownOptionsXs: string;
|
|
305
|
+
typographyFormFieldDropdownOptionsS: string;
|
|
306
|
+
typographyFormFieldDropdownOptionsM: string;
|
|
307
|
+
typographyFormFieldDropdownOptionsL: string;
|
|
308
|
+
typographyFormFieldSecondLabelXs: string;
|
|
309
|
+
typographyFormFieldSecondLabelS: string;
|
|
310
|
+
typographyFormFieldSecondLabelM: string;
|
|
311
|
+
typographyFormFieldSecondLabelL: string;
|
|
312
|
+
typographyFormFieldCharacterCountXs: string;
|
|
313
|
+
typographyFormFieldCharacterCountS: string;
|
|
314
|
+
typographyFormFieldCharacterCountM: string;
|
|
315
|
+
typographyFormFieldCharacterCountL: string;
|
|
316
|
+
typographyLinkTextM: string;
|
|
317
|
+
typographyLinkTextL: string;
|
|
318
|
+
typographyMenuLabelM: string;
|
|
319
|
+
typographyMenuSegmentTitleM: string;
|
|
320
|
+
typographyMessageHeadingM: string;
|
|
321
|
+
typographyMessageHeadingL: string;
|
|
322
|
+
typographyMessageTextM: string;
|
|
323
|
+
typographyMessageTextL: string;
|
|
324
|
+
typographyPillLabelS: string;
|
|
325
|
+
typographyPillLabelM: string;
|
|
326
|
+
typographyPillLabelL: string;
|
|
327
|
+
typographyPillLabelXl: string;
|
|
328
|
+
typographyProfileEmailXs: string;
|
|
329
|
+
typographyProfileEmailS: string;
|
|
330
|
+
typographyProfileEmailM: string;
|
|
331
|
+
typographyProfileEmailMl: string;
|
|
332
|
+
typographyProfileEmailL: string;
|
|
333
|
+
typographyProfileEmailXl: string;
|
|
334
|
+
typographyProfileEmailXxl: string;
|
|
335
|
+
typographyProfileInitialsXs: string;
|
|
336
|
+
typographyProfileInitialsS: string;
|
|
337
|
+
typographyProfileInitialsM: string;
|
|
338
|
+
typographyProfileInitialsMl: string;
|
|
339
|
+
typographyProfileInitialsL: string;
|
|
340
|
+
typographyProfileInitialsXl: string;
|
|
341
|
+
typographyProfileInitialsXxl: string;
|
|
342
|
+
typographyProfileNameXs: string;
|
|
343
|
+
typographyProfileNameS: string;
|
|
344
|
+
typographyProfileNameM: string;
|
|
345
|
+
typographyProfileNameMl: string;
|
|
346
|
+
typographyProfileNameL: string;
|
|
347
|
+
typographyProfileNameXl: string;
|
|
348
|
+
typographyProfileNameXxl: string;
|
|
349
|
+
typographyProgressTrackerValueLabelS: string;
|
|
350
|
+
typographyProgressTrackerValueLabelM: string;
|
|
351
|
+
typographyProgressTrackerValueLabelL: string;
|
|
352
|
+
typographySearchLabelM: string;
|
|
353
|
+
typographySidebarTitleS: string;
|
|
354
|
+
typographySidebarTitleM: string;
|
|
355
|
+
typographySidebarTitleL: string;
|
|
356
|
+
typographyStepFlowCompleteLabelM: string;
|
|
357
|
+
typographyStepFlowCurrentLabelM: string;
|
|
358
|
+
typographyStepFlowIncompleteLabelM: string;
|
|
359
|
+
typographySwitchOptionLabelM: string;
|
|
360
|
+
typographySwitchOptionLabelL: string;
|
|
361
|
+
typographyTableHeaderTextM: string;
|
|
362
|
+
typographyTableCellTextM: string;
|
|
363
|
+
typographyTooltipTextM: string;
|
|
364
|
+
typographyTooltipTextL: string;
|
|
296
365
|
opacity300: string;
|
|
297
366
|
opacity600: string;
|
|
367
|
+
opacity800: string;
|
|
298
368
|
};
|
|
299
369
|
name: string;
|
|
300
370
|
palette: import("../../palette").Palette & import("../base").ColorsWithHex & {
|
|
@@ -575,4 +645,3 @@ declare var _default: {
|
|
|
575
645
|
};
|
|
576
646
|
};
|
|
577
647
|
export default _default;
|
|
578
|
-
import tokens from "@sage/design-tokens/js/base/common";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "104.
|
|
3
|
+
"version": "104.3.0",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"engineStrict": true,
|
|
6
6
|
"engines": {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"chromatic": "^6.0.5",
|
|
102
102
|
"commitizen": "^4.2.4",
|
|
103
103
|
"conventional-changelog-conventionalcommits": "^4.5.0",
|
|
104
|
-
"core-js": "^3.
|
|
104
|
+
"core-js": "^3.20.3",
|
|
105
105
|
"cpy-cli": "^3.1.1",
|
|
106
106
|
"cross-env": "^5.2.0",
|
|
107
107
|
"cypress": "^9.2.0",
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
"cypress-real-events": "^1.6.0",
|
|
113
113
|
"cypress-storybook": "^0.5.1",
|
|
114
114
|
"cz-conventional-changelog": "^3.3.0",
|
|
115
|
+
"date-fns-tz": "^1.2.2",
|
|
115
116
|
"draft-js": "^0.11.7",
|
|
116
117
|
"enzyme": "^3.3.0",
|
|
117
118
|
"enzyme-adapter-react-16": "^1.14.0",
|
|
@@ -155,7 +156,7 @@
|
|
|
155
156
|
"dependencies": {
|
|
156
157
|
"@octokit/rest": "^18.12.0",
|
|
157
158
|
"@popperjs/core": "^2.9.0",
|
|
158
|
-
"@sage/design-tokens": "^1.
|
|
159
|
+
"@sage/design-tokens": "^1.89.0",
|
|
159
160
|
"@styled-system/prop-types": "^5.1.5",
|
|
160
161
|
"@tippyjs/react": "^4.2.5",
|
|
161
162
|
"@types/styled-system": "^5.1.11",
|