@carbon/styles 1.53.0 → 1.54.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/css/styles.css +383 -300
- package/css/styles.min.css +1 -1
- package/package.json +4 -4
- package/scss/__tests__/theme-test.js +3 -7
- package/scss/components/data-table/_data-table.scss +1 -1
- package/scss/components/data-table/action/_data-table-action.scss +10 -1
- package/scss/components/date-picker/_date-picker.scss +1 -0
- package/scss/components/link/_link.scss +2 -2
- package/scss/components/list-box/_list-box.scss +2 -2
- package/scss/components/modal/_modal.scss +3 -2
- package/scss/components/popover/_popover.scss +296 -41
- package/scss/components/slug/_slug.scss +182 -143
- package/scss/components/tile/_tile.scss +1 -1
- package/scss/components/ui-shell/content/_content.scss +2 -1
- package/scss/components/ui-shell/side-nav/_side-nav.scss +3 -2
- package/scss/utilities/_ai-gradient.scss +8 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/styles",
|
|
3
3
|
"description": "Styles for the Carbon Design System",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.54.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@carbon/colors": "^11.21.0",
|
|
44
|
-
"@carbon/feature-flags": "^0.
|
|
44
|
+
"@carbon/feature-flags": "^0.19.0-rc.0",
|
|
45
45
|
"@carbon/grid": "^11.22.0",
|
|
46
46
|
"@carbon/layout": "^11.21.0",
|
|
47
47
|
"@carbon/motion": "^11.17.0",
|
|
48
|
-
"@carbon/themes": "^11.
|
|
48
|
+
"@carbon/themes": "^11.34.0-rc.0",
|
|
49
49
|
"@carbon/type": "^11.26.0",
|
|
50
50
|
"@ibm/plex": "6.0.0-next.6",
|
|
51
51
|
"@ibm/telemetry-js": "^1.2.1"
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"scss/**/*.css",
|
|
69
69
|
"css/**/*.css"
|
|
70
70
|
],
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "4e0c7c56e1217ff9b73042006e4ea1d12a39e769"
|
|
72
72
|
}
|
|
@@ -127,16 +127,12 @@ describe('@carbon/styles/scss/theme', () => {
|
|
|
127
127
|
"support-caution-major",
|
|
128
128
|
"support-caution-minor",
|
|
129
129
|
"support-caution-undefined",
|
|
130
|
-
"
|
|
131
|
-
"slug-gradient",
|
|
132
|
-
"slug-background-hover",
|
|
133
|
-
"slug-gradient-hover",
|
|
134
|
-
"slug-hollow-hover",
|
|
130
|
+
"ai-popover-background",
|
|
135
131
|
"ai-popover-shadow-outer-01",
|
|
136
132
|
"ai-popover-shadow-outer-02",
|
|
137
133
|
"ai-inner-shadow",
|
|
134
|
+
"ai-aura-start-sm",
|
|
138
135
|
"ai-aura-start",
|
|
139
|
-
"ai-aura-start-table",
|
|
140
136
|
"ai-aura-end",
|
|
141
137
|
"ai-aura-hover-background",
|
|
142
138
|
"ai-aura-hover-start",
|
|
@@ -157,7 +153,7 @@ describe('@carbon/styles/scss/theme', () => {
|
|
|
157
153
|
"chat-prompt-border-end",
|
|
158
154
|
"chat-bubble-user",
|
|
159
155
|
"chat-bubble-agent",
|
|
160
|
-
"chat-bubble-
|
|
156
|
+
"chat-bubble-border",
|
|
161
157
|
"chat-avatar-bot",
|
|
162
158
|
"chat-avatar-agent",
|
|
163
159
|
"chat-avatar-user",
|
|
@@ -272,8 +272,9 @@
|
|
|
272
272
|
background-color: $field-hover;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
.#{$prefix}--toolbar-action[aria-expanded='true'],
|
|
275
276
|
.#{$prefix}--toolbar-action:hover[aria-expanded='true'] {
|
|
276
|
-
background-color: $layer;
|
|
277
|
+
background-color: $layer-02;
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
.#{$prefix}--toolbar-action[disabled] {
|
|
@@ -315,6 +316,14 @@
|
|
|
315
316
|
max-inline-size: $spacing-05;
|
|
316
317
|
}
|
|
317
318
|
|
|
319
|
+
//-------------------------------------------------
|
|
320
|
+
//TOOLBAR Menu
|
|
321
|
+
//-------------------------------------------------
|
|
322
|
+
.#{$prefix}--toolbar-action__menu,
|
|
323
|
+
.#{$prefix}--toolbar-action__menu.#{$prefix}--overflow-menu-options::after {
|
|
324
|
+
background-color: $layer-02;
|
|
325
|
+
}
|
|
326
|
+
|
|
318
327
|
//-------------------------------------------------
|
|
319
328
|
//PERSISTENT SEARCH - OPTIONAL TOOLBAR
|
|
320
329
|
//-------------------------------------------------
|
|
@@ -65,11 +65,11 @@ $link-focus-text-color: custom-property.get-var(
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&:visited {
|
|
68
|
-
color: $link-
|
|
68
|
+
color: $link-text-color;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&:visited:hover {
|
|
72
|
-
color: $link-
|
|
72
|
+
color: $link-hover-text-color;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -1050,11 +1050,11 @@ $list-box-menu-width: convert.to-rem(300px);
|
|
|
1050
1050
|
|
|
1051
1051
|
.#{$prefix}--list-box__wrapper--slug:has(.#{$prefix}--multi-select)
|
|
1052
1052
|
.#{$prefix}--list-box__menu-icon {
|
|
1053
|
-
inset-inline-end:
|
|
1053
|
+
inset-inline-end: $spacing-04;
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
1056
|
.#{$prefix}--list-box__wrapper--slug:has(.#{$prefix}--dropdown)
|
|
1057
1057
|
.#{$prefix}--list-box__menu-icon {
|
|
1058
|
-
inset-inline-end:
|
|
1058
|
+
inset-inline-end: $spacing-04;
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
border: 1px solid transparent;
|
|
462
462
|
background-color: $layer;
|
|
463
463
|
box-shadow: inset 0 -80px 70px -65px $ai-inner-shadow,
|
|
464
|
-
0
|
|
464
|
+
0 24px 40px -24px $ai-drop-shadow;
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
.#{$prefix}--modal--slug
|
|
@@ -469,7 +469,8 @@
|
|
|
469
469
|
@include ai-popover-gradient('default', 64px, 'layer');
|
|
470
470
|
|
|
471
471
|
box-shadow: inset 0 -80px 0 -16px $layer,
|
|
472
|
-
inset 0 -160px 70px -65px $ai-inner-shadow,
|
|
472
|
+
inset 0 -160px 70px -65px $ai-inner-shadow,
|
|
473
|
+
0 24px 40px -24px $ai-drop-shadow;
|
|
473
474
|
}
|
|
474
475
|
|
|
475
476
|
.#{$prefix}--modal--slug .#{$prefix}--slug {
|