@carbon/ibm-products-web-components 0.19.0-rc.0 → 0.20.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/es/components/about-modal/about-modal.scss.js +1 -1
- package/es/components/notification-panel/notification-footer.test.d.ts +7 -0
- package/es/components/notification-panel/notification-footer.test.js +65 -0
- package/es/components/notification-panel/notification-footer.test.js.map +1 -0
- package/es/components/notification-panel/notification-panel.js +8 -2
- package/es/components/notification-panel/notification-panel.js.map +1 -1
- package/es/components/notification-panel/notification-panel.test.js +266 -9
- package/es/components/notification-panel/notification-panel.test.js.map +1 -1
- package/es/components/notification-panel/notification.test.d.ts +7 -0
- package/es/components/notification-panel/notification.test.js +149 -0
- package/es/components/notification-panel/notification.test.js.map +1 -0
- package/es/components/page-header/page-header.d.ts +2 -1
- package/es/components/page-header/page-header.js +76 -1
- package/es/components/page-header/page-header.js.map +1 -1
- package/es/components/page-header/page-header.scss.js +1 -1
- package/es/components/page-header/page-header.test.js +19 -0
- package/es/components/page-header/page-header.test.js.map +1 -1
- package/es/components/side-panel/side-panel.scss.js +1 -1
- package/es/components/tearsheet/utils.d.ts +2 -0
- package/es/components/tearsheet/utils.js +38 -1
- package/es/components/tearsheet/utils.js.map +1 -1
- package/es/components/truncated-text/truncated-text.js +1 -1
- package/es/components/truncated-text/truncated-text.js.map +1 -1
- package/es/packages/ibm-products-web-components/package.json.js +1 -1
- package/es-custom/components/about-modal/about-modal.scss.js +1 -1
- package/es-custom/components/notification-panel/notification-footer.test.d.ts +7 -0
- package/es-custom/components/notification-panel/notification-footer.test.js +65 -0
- package/es-custom/components/notification-panel/notification-footer.test.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.js +8 -2
- package/es-custom/components/notification-panel/notification-panel.js.map +1 -1
- package/es-custom/components/notification-panel/notification-panel.test.js +266 -9
- package/es-custom/components/notification-panel/notification-panel.test.js.map +1 -1
- package/es-custom/components/notification-panel/notification.test.d.ts +7 -0
- package/es-custom/components/notification-panel/notification.test.js +149 -0
- package/es-custom/components/notification-panel/notification.test.js.map +1 -0
- package/es-custom/components/page-header/page-header.d.ts +2 -1
- package/es-custom/components/page-header/page-header.js +76 -1
- package/es-custom/components/page-header/page-header.js.map +1 -1
- package/es-custom/components/page-header/page-header.scss.js +1 -1
- package/es-custom/components/page-header/page-header.test.js +19 -0
- package/es-custom/components/page-header/page-header.test.js.map +1 -1
- package/es-custom/components/side-panel/side-panel.scss.js +1 -1
- package/es-custom/components/tearsheet/utils.d.ts +2 -0
- package/es-custom/components/tearsheet/utils.js +38 -1
- package/es-custom/components/tearsheet/utils.js.map +1 -1
- package/es-custom/components/truncated-text/truncated-text.js +1 -1
- package/es-custom/components/truncated-text/truncated-text.js.map +1 -1
- package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
- package/lib/components/notification-panel/notification-footer.test.d.ts +7 -0
- package/lib/components/notification-panel/notification.test.d.ts +7 -0
- package/lib/components/page-header/page-header.d.ts +2 -1
- package/lib/components/tearsheet/utils.d.ts +2 -0
- package/package.json +16 -22
- package/scss/components/page-header/_story-assets/_storybook-styles.scss +35 -0
- package/scss/components/page-header/page-header.scss +11 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2025, 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 '@carbon/styles/scss/spacing';
|
9
|
+
|
10
|
+
.page-header--docs-demo .docs-story div:first-child {
|
11
|
+
padding: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
.tabs-demo {
|
15
|
+
block-size: 200vh;
|
16
|
+
}
|
17
|
+
|
18
|
+
.page-header--docs-demo .tabs-demo {
|
19
|
+
block-size: 100%;
|
20
|
+
}
|
21
|
+
|
22
|
+
#main-content main {
|
23
|
+
margin-block-start: spacing.$spacing-09;
|
24
|
+
}
|
25
|
+
|
26
|
+
.page-header--docs-demo .innerZoomElementWrapper > * {
|
27
|
+
/* Used to override storybook styling from a dynamically generated class in the canvas preview */
|
28
|
+
/* stylelint-disable-next-line declaration-no-important */
|
29
|
+
border: 0 !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
.page-header--docs-demo .ui-shell--header {
|
33
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
34
|
+
transform: translateY(-48px);
|
35
|
+
}
|
@@ -26,9 +26,13 @@ $carbon-prefix: 'cds';
|
|
26
26
|
// TODO: remove above styles when styles from React have been migrated
|
27
27
|
// and use the extend below
|
28
28
|
// @extend .#{$prefix}--page-header;
|
29
|
+
position: sticky;
|
29
30
|
display: block;
|
30
31
|
background-color: $layer-01;
|
31
32
|
border-block-end: 1px solid $border-subtle-01;
|
33
|
+
/* custom css property used from calculation of header offset */
|
34
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
35
|
+
inset-block-start: var(--c4p-page-header-header-top);
|
32
36
|
}
|
33
37
|
|
34
38
|
:host(#{$prefix}-page-header-breadcrumb),
|
@@ -40,7 +44,14 @@ $carbon-prefix: 'cds';
|
|
40
44
|
}
|
41
45
|
|
42
46
|
:host(#{$prefix}-page-header-breadcrumb) {
|
47
|
+
position: sticky;
|
48
|
+
background-color: $layer-01;
|
43
49
|
block-size: convert.to-rem(40px);
|
50
|
+
border-block-end: $border-subtle;
|
51
|
+
|
52
|
+
/* custom css property used from calculation of breadcrumb offset */
|
53
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
54
|
+
inset-block-start: var(--c4p-page-header-breadcrumb-top);
|
44
55
|
// TODO: remove above styles when styles from React have been migrated
|
45
56
|
// and use the extend below
|
46
57
|
// @extend .#{$prefix}--page-header__breadcrumb-bar;
|