@carbon/ibm-products 2.72.0 → 2.73.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 +26 -12
- 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 +26 -12
- 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 +26 -12
- 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 +26 -12
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +2 -0
- package/es/components/CreateFullPage/CreateFullPage.js +2 -1
- package/es/components/CreateModal/CreateModal.js +2 -1
- package/es/components/CreateSidePanel/CreateSidePanel.js +2 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +2 -1
- package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -1
- package/es/components/EmptyStates/EmptyStateContent.js +1 -1
- package/es/components/EmptyStates/EmptyStateV2.js +1 -1
- package/es/components/PageHeader/next/PageHeader.js +65 -9
- package/es/components/PageHeader/next/context.d.ts +4 -0
- package/es/components/PageHeader/next/context.js +4 -1
- package/es/components/PageHeader/next/overflowHandler.js +1 -1
- package/es/components/SidePanel/SidePanel.js +1 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +2 -0
- package/lib/components/CreateFullPage/CreateFullPage.js +2 -1
- package/lib/components/CreateModal/CreateModal.js +2 -1
- package/lib/components/CreateSidePanel/CreateSidePanel.js +2 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -1
- package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -1
- package/lib/components/EmptyStates/EmptyStateContent.js +1 -1
- package/lib/components/EmptyStates/EmptyStateV2.js +1 -1
- package/lib/components/PageHeader/next/PageHeader.js +65 -9
- package/lib/components/PageHeader/next/context.d.ts +4 -0
- package/lib/components/PageHeader/next/context.js +4 -1
- package/lib/components/PageHeader/next/overflowHandler.js +1 -1
- package/lib/components/SidePanel/SidePanel.js +1 -1
- package/package.json +6 -6
- package/scss/components/Coachmark/_bubble.scss +1 -2
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +1 -1
- package/scss/components/PageHeader/_page-header.scss +41 -18
- package/scss/components/SidePanel/_side-panel.scss +6 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.
|
4
|
+
"version": "2.73.0-rc.0",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"@storybook/react-vite": "^9.0.13",
|
82
82
|
"@types/react-table": "^7.7.20",
|
83
83
|
"babel-plugin-dev-expression": "^0.2.3",
|
84
|
-
"babel-preset-ibm-cloud-cognitive": "^0.
|
84
|
+
"babel-preset-ibm-cloud-cognitive": "^0.31.0-rc.0",
|
85
85
|
"chalk": "^4.1.2",
|
86
86
|
"change-case": "5.4.4",
|
87
87
|
"classnames": "^2.5.1",
|
@@ -90,7 +90,7 @@
|
|
90
90
|
"fs-extra": "^11.3.0",
|
91
91
|
"glob": "^11.0.1",
|
92
92
|
"jest": "^29.7.0",
|
93
|
-
"jest-config-ibm-cloud-cognitive": "^1.
|
93
|
+
"jest-config-ibm-cloud-cognitive": "^1.32.0-rc.0",
|
94
94
|
"jest-environment-jsdom": "^29.7.0",
|
95
95
|
"namor": "^1.1.2",
|
96
96
|
"npm-run-all": "^4.1.5",
|
@@ -107,9 +107,9 @@
|
|
107
107
|
},
|
108
108
|
"dependencies": {
|
109
109
|
"@babel/runtime": "^7.26.10",
|
110
|
-
"@carbon-labs/react-resizer": "^0.
|
110
|
+
"@carbon-labs/react-resizer": "^0.6.0",
|
111
111
|
"@carbon/feature-flags": "^0.28.1",
|
112
|
-
"@carbon/ibm-products-styles": "^2.
|
112
|
+
"@carbon/ibm-products-styles": "^2.69.0-rc.0",
|
113
113
|
"@carbon/telemetry": "^0.1.0",
|
114
114
|
"@carbon/utilities": "^0.7.0",
|
115
115
|
"@carbon/utilities-react": "0.10.0",
|
@@ -131,5 +131,5 @@
|
|
131
131
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0",
|
132
132
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0"
|
133
133
|
},
|
134
|
-
"gitHead": "
|
134
|
+
"gitHead": "fc508881b9c0d514a376be3440ebd9f9e12bd95a"
|
135
135
|
}
|
@@ -10,8 +10,7 @@
|
|
10
10
|
@use '@carbon/styles/scss/themes' as themes;
|
11
11
|
@use '@carbon/styles/scss/breakpoint' as *;
|
12
12
|
@use '@carbon/styles/scss/utilities';
|
13
|
-
@use '
|
14
|
-
c4p-settings;
|
13
|
+
@use '../../global/styles/project-settings' as c4p-settings;
|
15
14
|
|
16
15
|
$prefix: #{c4p-settings.$pkg-prefix} !default;
|
17
16
|
|
@@ -765,7 +765,7 @@ $duration: 1000ms;
|
|
765
765
|
}
|
766
766
|
|
767
767
|
.#{$block-class}__breadcrumb__content-actions {
|
768
|
-
inline-size:
|
768
|
+
inline-size: fit-content;
|
769
769
|
margin-inline-end: $spacing-04;
|
770
770
|
}
|
771
771
|
|
@@ -856,6 +856,13 @@ $duration: 1000ms;
|
|
856
856
|
.#{$block-class}__content__page-actions {
|
857
857
|
display: flex;
|
858
858
|
justify-content: right;
|
859
|
+
/* stylelint-disable-next-line carbon/motion-easing-use */
|
860
|
+
transition: opacity motion(standard, productive) $duration-moderate-02;
|
861
|
+
|
862
|
+
&.#{$block-class}__content__page-actions--clipped {
|
863
|
+
opacity: 0;
|
864
|
+
visibility: hidden;
|
865
|
+
}
|
859
866
|
|
860
867
|
@include breakpoint-down('md') {
|
861
868
|
justify-content: left;
|
@@ -1012,6 +1019,17 @@ $duration: 1000ms;
|
|
1012
1019
|
}
|
1013
1020
|
}
|
1014
1021
|
|
1022
|
+
.#{$pkg-prefix}--page-header__breadcrumb__content-actions {
|
1023
|
+
opacity: 0;
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
.#{$pkg-prefix}--page-header__breadcrumb__content-actions-with-global-actions--show {
|
1027
|
+
opacity: 1;
|
1028
|
+
transition:
|
1029
|
+
/* stylelint-disable-next-line */ opacity
|
1030
|
+
motion(standard, productive) $duration-moderate-01;
|
1031
|
+
}
|
1032
|
+
|
1015
1033
|
.#{$pkg-prefix}--page-header-title-breadcrumb {
|
1016
1034
|
opacity: 0;
|
1017
1035
|
transform: translateY($spacing-05);
|
@@ -1022,26 +1040,31 @@ $duration: 1000ms;
|
|
1022
1040
|
// Target browsers that do not yet support animation-timeline: scroll()
|
1023
1041
|
@supports not (animation-timeline: scroll()) {
|
1024
1042
|
&.#{$pkg-prefix}--page-header-title-breadcrumb-show {
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
/* stylelint-disable-next-line */
|
1031
|
-
transition: opacity motion(standard, productive) $duration-moderate-01;
|
1043
|
+
@media (prefers-reduced-motion: reduce) {
|
1044
|
+
transform: translateY(0);
|
1045
|
+
/* stylelint-disable-next-line */
|
1046
|
+
transition: opacity motion(standard, productive) $duration-moderate-01;
|
1047
|
+
}
|
1032
1048
|
}
|
1033
1049
|
}
|
1034
|
-
|
1035
|
-
|
1036
|
-
animation-
|
1037
|
-
animation-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1050
|
+
|
1051
|
+
&.#{$pkg-prefix}--page-header-title-breadcrumb-show__with-content-element {
|
1052
|
+
// `animation-timeline: scroll()` only currently supported in Chromium based browsers
|
1053
|
+
@supports (animation-timeline: scroll()) {
|
1054
|
+
animation-direction: alternate;
|
1055
|
+
animation-duration: 1ms; /* Firefox requires this to apply the animation */
|
1056
|
+
animation-name: page-header-title-breadcrumb-animation;
|
1057
|
+
animation-timeline: scroll(block nearest);
|
1058
|
+
|
1059
|
+
@media (prefers-reduced-motion: reduce) {
|
1060
|
+
animation-name: page-header-title-breadcrumb-animation-reduced-motion;
|
1061
|
+
transform: translateY(0);
|
1062
|
+
}
|
1044
1063
|
}
|
1045
1064
|
}
|
1065
|
+
&.#{$pkg-prefix}--page-header-title-breadcrumb-show__without-content-element {
|
1066
|
+
opacity: 1;
|
1067
|
+
transform: translateY(0);
|
1068
|
+
}
|
1046
1069
|
}
|
1047
1070
|
}
|
@@ -36,7 +36,7 @@ $clabs-prefix: 'clabs';
|
|
36
36
|
@property --panel-transform {
|
37
37
|
inherits: true;
|
38
38
|
initial-value: 320px;
|
39
|
-
syntax: '<
|
39
|
+
syntax: '<length>';
|
40
40
|
}
|
41
41
|
|
42
42
|
@mixin setPanelSize($size: map.get($side-panel-sizes, md)) {
|
@@ -351,6 +351,11 @@ $clabs-prefix: 'clabs';
|
|
351
351
|
}
|
352
352
|
}
|
353
353
|
|
354
|
+
// Remove min‑block‑size when the header contains no child elements to prevent unnecessary blank space
|
355
|
+
.#{$block-class}__header:empty {
|
356
|
+
min-block-size: unset;
|
357
|
+
}
|
358
|
+
|
354
359
|
&.#{$block-class}:has(.#{$block-class}__action-toolbar),
|
355
360
|
&.#{$block-class}--has-action-toolbar,
|
356
361
|
&.#{$block-class}--has-slug,
|