@carbon/ibm-products-styles 2.61.0-rc.0 → 2.62.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/index-full-carbon.css +482 -64
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +14 -20
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +29 -22
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +123 -39
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/package.json +8 -8
- package/scss/components/Datagrid/styles/_useSortableColumns.scss +3 -0
- package/scss/components/NotificationsPanel/_notifications-panel.scss +16 -4
- package/scss/components/StringFormatter/_string-formatter.scss +18 -2
- package/scss/components/Tearsheet/_tearsheet.scss +1 -22
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibm-products-styles",
|
|
3
3
|
"description": "Carbon for IBM Products styles",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.62.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"installConfig": {
|
|
7
7
|
"hoistingLimits": "none"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"cross-env": "^7.0.3",
|
|
53
53
|
"glob": "^11.0.1",
|
|
54
54
|
"jest": "^29.7.0",
|
|
55
|
-
"jest-config-ibm-cloud-cognitive": "^1.
|
|
55
|
+
"jest-config-ibm-cloud-cognitive": "^1.25.0-rc.0",
|
|
56
56
|
"jest-environment-jsdom": "^29.7.0",
|
|
57
57
|
"npm-check-updates": "^17.1.15",
|
|
58
58
|
"npm-run-all": "^4.1.5",
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"yargs": "^17.7.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@carbon/grid": "^11.
|
|
65
|
-
"@carbon/layout": "^11.
|
|
66
|
-
"@carbon/motion": "^11.
|
|
67
|
-
"@carbon/themes": "^11.
|
|
68
|
-
"@carbon/type": "^11.
|
|
64
|
+
"@carbon/grid": "^11.34.0",
|
|
65
|
+
"@carbon/layout": "^11.32.0",
|
|
66
|
+
"@carbon/motion": "^11.26.0",
|
|
67
|
+
"@carbon/themes": "^11.50.0",
|
|
68
|
+
"@carbon/type": "^11.38.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@ibm/telemetry-js": "^1.9.1"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "4949e7eacdce0ffc474cc34e7df381ff153f3e83"
|
|
74
74
|
}
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
@use './variables' as *;
|
|
12
12
|
|
|
13
13
|
.#{$block-class}__sortableColumn {
|
|
14
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
15
|
+
padding-inline: $spacing-05 !important;
|
|
16
|
+
|
|
14
17
|
.#{c4p-settings.$carbon-prefix}--table-header-label .header-title {
|
|
15
18
|
display: inline-block;
|
|
16
19
|
inline-size: auto;
|
|
@@ -108,7 +108,7 @@ $block-size: 38.5rem;
|
|
|
108
108
|
.#{$block-class}__header-container {
|
|
109
109
|
position: sticky;
|
|
110
110
|
z-index: 2;
|
|
111
|
-
padding: $spacing-03 $spacing-05
|
|
111
|
+
padding: $spacing-03 $spacing-05;
|
|
112
112
|
background-color: $layer-01;
|
|
113
113
|
border-block-end: 1px solid $border-subtle-01;
|
|
114
114
|
inset-block-start: 0;
|
|
@@ -117,9 +117,12 @@ $block-size: 38.5rem;
|
|
|
117
117
|
align-items: center;
|
|
118
118
|
justify-content: space-between;
|
|
119
119
|
}
|
|
120
|
-
.#{$block-class}__do-not-disturb-toggle
|
|
120
|
+
.#{$block-class}__do-not-disturb-toggle {
|
|
121
|
+
padding-block-end: $spacing-03;
|
|
122
|
+
|
|
121
123
|
.#{c4p-settings.$carbon-prefix}--toggle__label-text {
|
|
122
|
-
|
|
124
|
+
@include utilities.visually-hidden;
|
|
125
|
+
}
|
|
123
126
|
}
|
|
124
127
|
.#{$block-class}__dismiss-button {
|
|
125
128
|
color: $text-primary;
|
|
@@ -140,7 +143,7 @@ $block-size: 38.5rem;
|
|
|
140
143
|
background-color: $layer-01;
|
|
141
144
|
color: $text-secondary;
|
|
142
145
|
// stylelint-disable-next-line carbon/layout-use
|
|
143
|
-
inset-block-start:
|
|
146
|
+
inset-block-start: 3.0625rem;
|
|
144
147
|
}
|
|
145
148
|
.#{$block-class}__notification:hover,
|
|
146
149
|
.#{$block-class}__notification:focus {
|
|
@@ -345,3 +348,12 @@ $block-size: 38.5rem;
|
|
|
345
348
|
}
|
|
346
349
|
}
|
|
347
350
|
}
|
|
351
|
+
|
|
352
|
+
.#{$block-class}__header-container:has(
|
|
353
|
+
.#{$block-class}__do-not-disturb-toggle
|
|
354
|
+
) {
|
|
355
|
+
+ .#{$block-class}__main-section .#{$block-class}__time-section-label {
|
|
356
|
+
// stylelint-disable-next-line carbon/layout-use
|
|
357
|
+
inset-block-start: 4.8125rem;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
@@ -24,7 +24,24 @@ $popover-block-class: #{c4p-settings.$carbon-prefix}--popover;
|
|
|
24
24
|
|
|
25
25
|
.#{$block-class} {
|
|
26
26
|
display: inline-block;
|
|
27
|
-
|
|
27
|
+
|
|
28
|
+
&--truncate {
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
-webkit-box-orient: vertical;
|
|
32
|
+
line-height: inherit;
|
|
33
|
+
text-overflow: ellipsis;
|
|
34
|
+
word-break: break-word;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
button.cds--definition-term {
|
|
38
|
+
border-block-end: none;
|
|
39
|
+
letter-spacing: inherit;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.cds--popover-container {
|
|
43
|
+
display: flex;
|
|
44
|
+
}
|
|
28
45
|
}
|
|
29
46
|
|
|
30
47
|
.#{$block-class}--content {
|
|
@@ -37,7 +54,6 @@ $popover-block-class: #{c4p-settings.$carbon-prefix}--popover;
|
|
|
37
54
|
overflow: hidden;
|
|
38
55
|
-webkit-box-orient: vertical;
|
|
39
56
|
-webkit-line-clamp: 1;
|
|
40
|
-
max-inline-size: 80ch;
|
|
41
57
|
}
|
|
42
58
|
|
|
43
59
|
.#{$block-class}__tooltip > button {
|
|
@@ -253,6 +253,7 @@ $motion-duration: $duration-moderate-02;
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.#{$block-class}__header-description {
|
|
256
|
+
display: inline-flex;
|
|
256
257
|
margin-block-start: $spacing-05;
|
|
257
258
|
max-inline-size: 100%;
|
|
258
259
|
|
|
@@ -263,28 +264,6 @@ $motion-duration: $duration-moderate-02;
|
|
|
263
264
|
}
|
|
264
265
|
}
|
|
265
266
|
|
|
266
|
-
.#{$block-class}__description-tooltip .#{$carbon-prefix}--definition-term {
|
|
267
|
-
border-block-end: 0;
|
|
268
|
-
letter-spacing: inherit;
|
|
269
|
-
word-break: break-word;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
// overwrites the existing styles to make the popover bigger because in some cases the narrow space can be too constricting for the description
|
|
273
|
-
.#{$block-class}__description-tooltip {
|
|
274
|
-
display: inline-flex;
|
|
275
|
-
.#{$carbon-prefix}--popover-content.#{$carbon-prefix}--definition-tooltip {
|
|
276
|
-
max-inline-size: fit-content;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.#{$block-class}__description-text {
|
|
281
|
-
display: -webkit-box;
|
|
282
|
-
overflow: hidden;
|
|
283
|
-
-webkit-box-orient: vertical;
|
|
284
|
-
-webkit-line-clamp: 2;
|
|
285
|
-
line-clamp: 2;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
267
|
&.#{$block-class}--narrow .#{$block-class}__header-description {
|
|
289
268
|
margin-block-start: $spacing-03;
|
|
290
269
|
}
|