@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/css/styles.css +97 -0
- package/css/styles.min.css +1 -1
- package/package.json +9 -9
- package/scss/components/_index.scss +2 -1
- package/scss/components/ai-label/_index.scss +7 -0
- package/scss/components/page-header/_index.scss +11 -0
- package/scss/components/page-header/_page-header.scss +121 -0
- package/scss/components/radio-button/_index.scss +7 -0
- package/scss/components/search/_index.scss +7 -0
- package/scss/components/slider/_index.scss +7 -0
- package/scss/components/slug/_index.scss +7 -0
- package/scss/components/slug/_slug.scss +7 -0
- package/scss/components/tabs/_index.scss +7 -0
- package/scss/components/tabs/_vars.scss +7 -0
- package/scss/utilities/_hide-at-breakpoint.scss +7 -0
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.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.
|
|
44
|
-
"@carbon/feature-flags": "^0.25.0
|
|
45
|
-
"@carbon/grid": "^11.
|
|
46
|
-
"@carbon/layout": "^11.
|
|
47
|
-
"@carbon/motion": "^11.
|
|
48
|
-
"@carbon/themes": "^11.
|
|
49
|
-
"@carbon/type": "^11.
|
|
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": "
|
|
78
|
+
"gitHead": "0d87b91846d3b2a877f9f385f4f4b16214388315"
|
|
79
79
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2018,
|
|
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';
|
|
@@ -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. 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 *;
|