@carbon/styles 1.80.0 → 1.81.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/styles",
3
3
  "description": "Styles for the Carbon Design System",
4
- "version": "1.80.0",
4
+ "version": "1.81.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -40,13 +40,13 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@carbon/colors": "^11.32.0",
43
+ "@carbon/colors": "^11.33.0",
44
44
  "@carbon/feature-flags": "^0.26.0",
45
- "@carbon/grid": "^11.35.0",
46
- "@carbon/layout": "^11.33.0",
47
- "@carbon/motion": "^11.27.0",
48
- "@carbon/themes": "^11.51.0",
49
- "@carbon/type": "^11.39.0",
45
+ "@carbon/grid": "^11.36.0",
46
+ "@carbon/layout": "^11.34.0",
47
+ "@carbon/motion": "^11.28.0",
48
+ "@carbon/themes": "^11.52.0",
49
+ "@carbon/type": "^11.40.0",
50
50
  "@ibm/plex": "6.0.0-next.6",
51
51
  "@ibm/plex-mono": "0.0.3-alpha.0",
52
52
  "@ibm/plex-sans": "0.0.3-alpha.0",
@@ -75,5 +75,5 @@
75
75
  "scss/**/*.css",
76
76
  "css/**/*.css"
77
77
  ],
78
- "gitHead": "01b2d2b1c2d901921c615dcbdb85e0a2340b67e6"
78
+ "gitHead": "ec31b96c91af8208499180eaeae89eb08b7ac8c8"
79
79
  }
@@ -244,6 +244,13 @@
244
244
  }
245
245
 
246
246
  // AILabel styles
247
+ .#{$prefix}--table-sort__header .#{$prefix}--ai-label,
248
+ .#{$prefix}--table-sort__header .#{$prefix}--slug,
249
+ .#{$prefix}--table-sort__header
250
+ .#{$prefix}--table-header-label--decorator-inner {
251
+ display: none;
252
+ }
253
+
247
254
  .#{$prefix}--table-sort__header--slug .#{$prefix}--table-sort__icon,
248
255
  .#{$prefix}--table-sort__header--slug .#{$prefix}--table-sort__icon-unsorted,
249
256
  .#{$prefix}--table-sort__header--ai-label .#{$prefix}--table-sort__icon,
@@ -260,6 +267,7 @@
260
267
  .#{$prefix}--table-header-label--decorator-inner,
261
268
  .#{$prefix}--table-sort__header--ai-label
262
269
  .#{$prefix}--table-header-label--decorator-inner {
270
+ display: block;
263
271
  margin-inline-end: convert.to-rem(8px);
264
272
  }
265
273
 
@@ -189,7 +189,11 @@
189
189
  .#{$prefix}--file-filename-tooltip {
190
190
  inline-size: -webkit-fill-available;
191
191
  padding-inline-start: $spacing-05;
192
- @document url-prefix() {
192
+
193
+ /* This is for targeting styles specific to firefox */
194
+ /* https://sass-lang.com/documentation/breaking-changes/moz-document/ */
195
+ /* stylelint-disable-next-line at-rule-no-vendor-prefix */
196
+ @-moz-document url-prefix() {
193
197
  inline-size: -moz-available;
194
198
  }
195
199
  }
@@ -197,7 +201,11 @@
197
201
 
198
202
  .#{$prefix}--file-filename-tooltip {
199
203
  inline-size: -webkit-fill-available;
200
- @document url-prefix() {
204
+
205
+ /* This is for targeting styles specific to firefox */
206
+ /* https://sass-lang.com/documentation/breaking-changes/moz-document/ */
207
+ /* stylelint-disable-next-line at-rule-no-vendor-prefix */
208
+ @-moz-document url-prefix() {
201
209
  inline-size: -moz-available;
202
210
  }
203
211
  }
@@ -217,7 +225,10 @@
217
225
  text-overflow: ellipsis;
218
226
  white-space: nowrap;
219
227
 
220
- @document url-prefix() {
228
+ /* This is for targeting styles specific to firefox */
229
+ /* https://sass-lang.com/documentation/breaking-changes/moz-document/ */
230
+ /* stylelint-disable-next-line at-rule-no-vendor-prefix */
231
+ @-moz-document url-prefix() {
221
232
  inline-size: -moz-available;
222
233
  }
223
234
  }
@@ -38,12 +38,19 @@
38
38
 
39
39
  .#{$prefix}--page-header__content__title-wrapper {
40
40
  @include breakpoint-down(md) {
41
+ display: flex;
41
42
  flex-direction: column;
43
+ grid-gap: $spacing-05;
42
44
  }
43
45
 
44
- display: flex;
45
- justify-content: space-between;
46
+ display: grid;
46
47
  gap: $spacing-05;
48
+ grid-template-columns: auto minmax(
49
+ var(--pageheader-title-grid-width, 0),
50
+ 1fr
51
+ );
52
+ margin-block-end: 1rem;
53
+ min-block-size: convert.to-rem(40px);
47
54
  }
48
55
 
49
56
  .#{$prefix}--page-header__content__start {
@@ -56,6 +63,11 @@
56
63
  display: flex;
57
64
  }
58
65
 
66
+ .#{$prefix}--page-header__content__title-container
67
+ .#{$prefix}--definition-term {
68
+ border-block-end: none;
69
+ }
70
+
59
71
  .#{$prefix}--page-header__content__contextual-actions {
60
72
  display: flex;
61
73
  }
@@ -85,13 +97,23 @@
85
97
 
86
98
  .#{$prefix}--page-header__content__page-actions {
87
99
  display: flex;
88
- gap: $spacing-05;
100
+ justify-content: right;
101
+
102
+ @include breakpoint-down('md') {
103
+ justify-content: left;
104
+ margin-block-start: 0;
105
+ }
106
+ }
107
+
108
+ .#{$prefix}--page-header__content__page-actions
109
+ .#{$prefix}--menu-button__trigger:not(.#{$prefix}--btn--ghost) {
110
+ min-inline-size: 0;
89
111
  }
90
112
 
91
113
  .#{$prefix}--page-header__content__subtitle {
92
114
  @include type-style('productive-heading-03');
93
115
 
94
- margin-block-start: $spacing-05;
116
+ margin-block-end: $spacing-03;
95
117
  }
96
118
 
97
119
  .#{$prefix}--page-header__content__body {
@@ -108,10 +130,15 @@
108
130
  margin-block-start: $spacing-05;
109
131
  }
110
132
 
133
+ [data-hidden]:not([data-fixed]) {
134
+ display: none;
135
+ }
136
+
111
137
  .#{$prefix}--page-header__hero-image {
112
138
  display: flex;
113
139
  overflow: hidden;
114
140
  align-items: center;
141
+ justify-content: end;
115
142
  block-size: 100%;
116
143
  }
117
144
 
@@ -80,6 +80,8 @@ $progress-indicator-bar-width: 1px inset transparent !default;
80
80
 
81
81
  .#{$prefix}--progress--space-equal .#{$prefix}--progress-text {
82
82
  overflow: hidden;
83
+ padding: $spacing-01;
84
+ margin: -$spacing-01;
83
85
  }
84
86
 
85
87
  .#{$prefix}--progress-label {
@@ -172,6 +172,8 @@
172
172
  .#{$prefix}--btn.#{$prefix}--text-input--password__visibility__toggle.#{$prefix}--tooltip__trigger:focus
173
173
  svg {
174
174
  fill: $icon-primary;
175
+
176
+ @include high-contrast-mode('icon-fill');
175
177
  }
176
178
 
177
179
  .#{$prefix}--text-input--invalid,