@carbon/styles 1.78.0-rc.0 → 1.79.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/styles",
3
3
  "description": "Styles for the Carbon Design System",
4
- "version": "1.78.0-rc.0",
4
+ "version": "1.79.0-rc.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.30.0",
44
- "@carbon/feature-flags": "^0.25.0-rc.0",
45
- "@carbon/grid": "^11.33.0-rc.0",
46
- "@carbon/layout": "^11.31.0-rc.0",
47
- "@carbon/motion": "^11.25.0",
48
- "@carbon/themes": "^11.49.0-rc.0",
49
- "@carbon/type": "^11.37.0-rc.0",
43
+ "@carbon/colors": "^11.31.0-rc.0",
44
+ "@carbon/feature-flags": "^0.25.0",
45
+ "@carbon/grid": "^11.34.0-rc.0",
46
+ "@carbon/layout": "^11.32.0-rc.0",
47
+ "@carbon/motion": "^11.26.0-rc.0",
48
+ "@carbon/themes": "^11.50.0-rc.0",
49
+ "@carbon/type": "^11.38.0-rc.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": "0c142888f7e3aefd5a5b5b0b2c34c2552894bb56"
78
+ "gitHead": "0d87b91846d3b2a877f9f385f4f4b16214388315"
79
79
  }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2023
2
+ // Copyright IBM Corp. 2018, 2025
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -53,6 +53,7 @@
53
53
  @use 'notification';
54
54
  @use 'number-input';
55
55
  @use 'overflow-menu';
56
+ @use 'page-header';
56
57
  @use 'pagination';
57
58
  @use 'pagination-nav';
58
59
  @use 'popover';
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2024
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @forward 'ai-label';
2
9
  @use 'ai-label';
3
10
 
@@ -0,0 +1,11 @@
1
+ //
2
+ // Copyright IBM Corp. 2025
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @forward 'page-header';
9
+ @use 'page-header';
10
+
11
+ @include page-header.page-header;
@@ -0,0 +1,121 @@
1
+ //
2
+ // Copyright IBM Corp. 2025
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @use '../../config' as *;
9
+ @use '../../breakpoint' as *;
10
+ // @use '../../motion' as *;
11
+ @use '../../spacing' as *;
12
+ // @use '../../theme' as *;
13
+ @use '../../type' as *;
14
+ // @use '../../layer' as *;
15
+ // @use '../../utilities/box-shadow' as *;
16
+ // @use '../../utilities/button-reset';
17
+ // @use '../../utilities/component-reset';
18
+ // @use '../../utilities/focus-outline' as *;
19
+ // @use '../../utilities/high-contrast-mode' as *;
20
+ @use '../../utilities/convert';
21
+ // @use '../../utilities/z-index' as *;
22
+ // @use '../../utilities/custom-property';
23
+
24
+ /// Page header styles
25
+ /// @access public
26
+ /// @group page-header
27
+ @mixin page-header {
28
+ .#{$prefix}--page-header {
29
+ border: 1px solid rebeccapurple; /* stylelint-disable-line */
30
+ }
31
+ .#{$prefix}--page-header__breadcrumb-bar {
32
+ border: 1px solid blue; /* stylelint-disable-line */
33
+ }
34
+ .#{$prefix}--page-header__content {
35
+ margin: $spacing-06 0;
36
+ border: 1px solid red; /* stylelint-disable-line */
37
+ }
38
+
39
+ .#{$prefix}--page-header__content__title-wrapper {
40
+ @include breakpoint-down(md) {
41
+ flex-direction: column;
42
+ }
43
+
44
+ display: flex;
45
+ justify-content: space-between;
46
+ gap: $spacing-05;
47
+ }
48
+
49
+ .#{$prefix}--page-header__content__start {
50
+ display: flex;
51
+ flex-wrap: wrap;
52
+ gap: $spacing-05;
53
+ }
54
+
55
+ .#{$prefix}--page-header__content__title-container {
56
+ display: flex;
57
+ }
58
+
59
+ .#{$prefix}--page-header__content__contextual-actions {
60
+ display: flex;
61
+ }
62
+
63
+ .#{$prefix}--page-header__content__title {
64
+ @include type-style('productive-heading-04');
65
+
66
+ display: -webkit-box;
67
+ overflow: hidden;
68
+ -webkit-box-orient: vertical;
69
+ -webkit-line-clamp: 2;
70
+ max-inline-size: convert.to-rem(640px);
71
+ text-overflow: ellipsis;
72
+ white-space: normal;
73
+ }
74
+
75
+ .#{$prefix}--page-header__content:has(
76
+ .#{$prefix}--page-header__content__contextual-actions
77
+ )
78
+ .#{$prefix}--page-header__content__title {
79
+ -webkit-line-clamp: 1;
80
+ }
81
+
82
+ .#{$prefix}--page-header__content__icon {
83
+ margin-inline-end: $spacing-05;
84
+ }
85
+
86
+ .#{$prefix}--page-header__content__page-actions {
87
+ display: flex;
88
+ gap: $spacing-05;
89
+ }
90
+
91
+ .#{$prefix}--page-header__content__subtitle {
92
+ @include type-style('productive-heading-03');
93
+
94
+ margin-block-start: $spacing-05;
95
+ }
96
+
97
+ .#{$prefix}--page-header__content__body {
98
+ @include type-style('body-01');
99
+
100
+ margin-block-start: $spacing-03;
101
+ max-inline-size: convert.to-rem(640px);
102
+ }
103
+
104
+ .#{$prefix}--page-header__content:not(
105
+ :has(.#{$prefix}--page-header__content__sub-title)
106
+ )
107
+ .#{$prefix}--page-header__content__body {
108
+ margin-block-start: $spacing-05;
109
+ }
110
+
111
+ .#{$prefix}--page-header__hero-image {
112
+ display: flex;
113
+ overflow: hidden;
114
+ align-items: center;
115
+ block-size: 100%;
116
+ }
117
+
118
+ .#{$prefix}--page-header__tab-bar {
119
+ border: 1px solid green; /* stylelint-disable-line */
120
+ }
121
+ }
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2021
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @forward 'radio-button';
2
9
  @use 'radio-button';
3
10
 
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2021
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @forward 'search';
2
9
  @use 'search';
3
10
 
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2021
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @forward 'slider';
2
9
  @use 'slider';
3
10
 
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2023
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @forward 'slug';
2
9
  @use 'slug';
3
10
 
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2023, 2024
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @use '../../config' as *;
2
9
  @use '../../colors' as *;
3
10
  @use '../../motion' as *;
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2021
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @forward 'tabs';
2
9
  @use 'tabs';
3
10
 
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2021
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  // Tabs
2
9
 
3
10
  @use '../../theme' as *;
@@ -1,3 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2022, 2023
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
1
8
  @use '../breakpoint' as *;
2
9
  @use '../config';
3
10