@carbon/ibm-products-web-components 0.34.0 → 0.35.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/custom-elements.json +3162 -172
- package/es/components/about-modal/about-modal-helpers.js.map +1 -1
- package/es/components/about-modal/about-modal.js +2 -2
- package/es/components/about-modal/about-modal.js.map +1 -1
- package/es/components/about-modal/about-modal.scss.js +1 -1
- package/es/components/about-modal/about-modal.test.js.map +1 -1
- package/es/components/big-number/big-number-skeleton.js +2 -2
- package/es/components/big-number/big-number-skeleton.js.map +1 -1
- package/es/components/big-number/big-number-skeleton.scss.js +1 -1
- package/es/components/big-number/big-number.js +2 -2
- package/es/components/big-number/big-number.js.map +1 -1
- package/es/components/big-number/big-number.scss.js +1 -1
- package/es/components/big-number/big-number.test.js.map +1 -1
- package/es/components/big-number/constants.js.map +1 -1
- package/es/components/checklist/checklist-chart.js +2 -2
- package/es/components/checklist/checklist-chart.js.map +1 -1
- package/es/components/checklist/checklist-group.js +2 -2
- package/es/components/checklist/checklist-group.js.map +1 -1
- package/es/components/checklist/checklist-icon.js +2 -2
- package/es/components/checklist/checklist-icon.js.map +1 -1
- package/es/components/checklist/checklist-item.js.map +1 -1
- package/es/components/checklist/checklist.js.map +1 -1
- package/es/components/checklist/checklist.scss.js +1 -1
- package/es/components/checklist/checklist.test.js.map +1 -1
- package/es/components/checklist/checklist.types.js.map +1 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +2 -2
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
- package/es/components/coachmark/coachmark-beacon/defs.js.map +1 -1
- package/es/components/coachmark/coachmark-body.js +2 -2
- package/es/components/coachmark/coachmark-body.js.map +1 -1
- package/es/components/coachmark/coachmark-context.js.map +1 -1
- package/es/components/coachmark/coachmark-header.js +2 -2
- package/es/components/coachmark/coachmark-header.js.map +1 -1
- package/es/components/coachmark/coachmark-helpers.js.map +1 -1
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js +2 -2
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -1
- package/es/components/coachmark/coachmark-tagline/coachmark-tagline.test.js.map +1 -1
- package/es/components/coachmark/coachmark.js +2 -2
- package/es/components/coachmark/coachmark.js.map +1 -1
- package/es/components/coachmark/coachmark.test.js.map +1 -1
- package/es/components/full-page-error/full-page-error.js +2 -2
- package/es/components/full-page-error/full-page-error.js.map +1 -1
- package/es/components/full-page-error/full-page-error.scss.js +1 -1
- package/es/components/full-page-error/full-page-error.test.js.map +1 -1
- package/es/components/full-page-error/types.js.map +1 -1
- package/es/components/guide-banner/guide-banner-element.js.map +1 -1
- package/es/components/guide-banner/guide-banner-element.scss.js +1 -1
- package/es/components/guide-banner/guide-banner-element.test.js.map +1 -1
- package/es/components/guide-banner/guide-banner.js +2 -2
- package/es/components/guide-banner/guide-banner.js.map +1 -1
- package/es/components/guide-banner/guide-banner.scss.js +1 -1
- package/es/components/guide-banner/guide-banner.test.js.map +1 -1
- package/es/components/interstitial-screen/interstitial-screen-body-item.js +2 -2
- package/es/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -1
- package/es/components/interstitial-screen/interstitial-screen-body.js +2 -2
- package/es/components/interstitial-screen/interstitial-screen-body.js.map +1 -1
- package/es/components/interstitial-screen/interstitial-screen-body.scss.js +1 -1
- package/es/components/interstitial-screen/interstitial-screen-context.js.map +1 -1
- package/es/components/interstitial-screen/interstitial-screen-footer.js.map +1 -1
- package/es/components/interstitial-screen/interstitial-screen-footer.scss.js +1 -1
- package/es/components/interstitial-screen/interstitial-screen-header.js +2 -2
- package/es/components/interstitial-screen/interstitial-screen-header.js.map +1 -1
- package/es/components/interstitial-screen/interstitial-screen-header.scss.js +1 -1
- package/es/components/interstitial-screen/interstitial-screen.js +2 -2
- package/es/components/interstitial-screen/interstitial-screen.js.map +1 -1
- package/es/components/interstitial-screen/interstitial-screen.scss.js +1 -1
- package/es/components/interstitial-screen/interstitial-screen.test.js.map +1 -1
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -1
- package/es/components/notification-panel/notification-footer.js +2 -2
- package/es/components/notification-panel/notification-footer.js.map +1 -1
- package/es/components/notification-panel/notification-footer.scss.js +1 -1
- package/es/components/notification-panel/notification-footer.test.js.map +1 -1
- package/es/components/notification-panel/notification-panel.d.ts +2 -0
- package/es/components/notification-panel/notification-panel.js +38 -15
- package/es/components/notification-panel/notification-panel.js.map +1 -1
- package/es/components/notification-panel/notification-panel.scss.js +1 -1
- package/es/components/notification-panel/notification-panel.test.js +22 -0
- package/es/components/notification-panel/notification-panel.test.js.map +1 -1
- package/es/components/notification-panel/notification.js +2 -2
- package/es/components/notification-panel/notification.js.map +1 -1
- package/es/components/notification-panel/notification.scss.js +1 -1
- package/es/components/notification-panel/notification.test.js.map +1 -1
- package/es/components/options-tile/options-tile.js +2 -2
- package/es/components/options-tile/options-tile.js.map +1 -1
- package/es/components/options-tile/options-tile.scss.js +1 -1
- package/es/components/options-tile/options-tile.test.js.map +1 -1
- package/es/components/page-header/_story-assets/overflowHandler.js.map +1 -1
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +1 -1
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.js +3 -3
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -1
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +1 -1
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js +3 -3
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +1 -1
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
- package/es/components/page-header/_story-assets/set-of-tags/utils.js.map +1 -1
- package/es/components/page-header/page-header-breadcrumb.js +2 -2
- package/es/components/page-header/page-header-breadcrumb.js.map +1 -1
- package/es/components/page-header/page-header-content-text.js +2 -2
- package/es/components/page-header/page-header-content-text.js.map +1 -1
- package/es/components/page-header/page-header-content.js.map +1 -1
- package/es/components/page-header/page-header-hero-image.js +2 -2
- package/es/components/page-header/page-header-hero-image.js.map +1 -1
- package/es/components/page-header/page-header-scroller.js.map +1 -1
- package/es/components/page-header/page-header-tabs.js +2 -2
- package/es/components/page-header/page-header-tabs.js.map +1 -1
- package/es/components/page-header/page-header-title-breadcrumb.js +2 -2
- package/es/components/page-header/page-header-title-breadcrumb.js.map +1 -1
- package/es/components/page-header/page-header.figma.js.map +1 -1
- package/es/components/page-header/page-header.js +2 -2
- package/es/components/page-header/page-header.js.map +1 -1
- package/es/components/page-header/page-header.test.js.map +1 -1
- package/es/components/page-header/utils.js.map +1 -1
- package/es/components/side-panel/_story-assets/index.js.map +1 -1
- package/es/components/side-panel/defs.js.map +1 -1
- package/es/components/side-panel/side-panel.js +11 -4
- package/es/components/side-panel/side-panel.js.map +1 -1
- package/es/components/side-panel/side-panel.scss.js +1 -1
- package/es/components/side-panel/side-panel.test.js +3 -3
- package/es/components/side-panel/side-panel.test.js.map +1 -1
- package/es/components/tearsheet/defs.js.map +1 -1
- package/es/components/tearsheet/tearsheet.js +2 -2
- package/es/components/tearsheet/tearsheet.js.map +1 -1
- package/es/components/tearsheet/tearsheet.scss.js +1 -1
- package/es/components/tearsheet/tearsheet.test.js +1 -1
- package/es/components/tearsheet/tearsheet.test.js.map +1 -1
- package/es/components/tearsheet/utils.js.map +1 -1
- package/es/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js +13 -0
- package/es/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js.map +1 -0
- package/es/components/tearsheet-preview/_story-assets/stacking-tearsheet.d.ts +30 -0
- package/es/components/tearsheet-preview/_story-assets/stacking-tearsheet.js +320 -0
- package/es/components/tearsheet-preview/_story-assets/stacking-tearsheet.js.map +1 -0
- package/es/components/tearsheet-preview/_story-assets/step-tearsheet-preview.d.ts +39 -0
- package/es/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js +264 -0
- package/es/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js.map +1 -0
- package/es/components/tearsheet-preview/index.d.ts +17 -0
- package/es/components/tearsheet-preview/index.js +17 -0
- package/es/components/tearsheet-preview/index.js.map +1 -0
- package/es/components/tearsheet-preview/stack-signal.d.ts +27 -0
- package/es/components/tearsheet-preview/stack-signal.js +103 -0
- package/es/components/tearsheet-preview/stack-signal.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-body.d.ts +399 -0
- package/es/components/tearsheet-preview/tearsheet-body.js +131 -0
- package/es/components/tearsheet-preview/tearsheet-body.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-footer.d.ts +385 -0
- package/es/components/tearsheet-preview/tearsheet-footer.js +56 -0
- package/es/components/tearsheet-preview/tearsheet-footer.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-header-content.d.ts +407 -0
- package/es/components/tearsheet-preview/tearsheet-header-content.js +185 -0
- package/es/components/tearsheet-preview/tearsheet-header-content.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-header-content.scss.js +13 -0
- package/es/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-header.d.ts +419 -0
- package/es/components/tearsheet-preview/tearsheet-header.js +204 -0
- package/es/components/tearsheet-preview/tearsheet-header.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-header.scss.js +13 -0
- package/es/components/tearsheet-preview/tearsheet-header.scss.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-influencer.d.ts +398 -0
- package/es/components/tearsheet-preview/tearsheet-influencer.js +92 -0
- package/es/components/tearsheet-preview/tearsheet-influencer.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +384 -0
- package/es/components/tearsheet-preview/tearsheet-navigation-bar.js +51 -0
- package/es/components/tearsheet-preview/tearsheet-navigation-bar.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +13 -0
- package/es/components/tearsheet-preview/tearsheet-navigation-bar.scss.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-scroller.d.ts +40 -0
- package/es/components/tearsheet-preview/tearsheet-scroller.js +112 -0
- package/es/components/tearsheet-preview/tearsheet-scroller.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-signal.d.ts +24 -0
- package/es/components/tearsheet-preview/tearsheet-signal.js +47 -0
- package/es/components/tearsheet-preview/tearsheet-signal.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet-summary-content.d.ts +399 -0
- package/es/components/tearsheet-preview/tearsheet-summary-content.js +97 -0
- package/es/components/tearsheet-preview/tearsheet-summary-content.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet.d.ts +491 -0
- package/es/components/tearsheet-preview/tearsheet.js +414 -0
- package/es/components/tearsheet-preview/tearsheet.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet.scss.js +13 -0
- package/es/components/tearsheet-preview/tearsheet.scss.js.map +1 -0
- package/es/components/tearsheet-preview/tearsheet.test.d.ts +7 -0
- package/es/components/tearsheet-preview/tearsheet.test.js +566 -0
- package/es/components/tearsheet-preview/tearsheet.test.js.map +1 -0
- package/es/components/truncated-text/truncated-text.js +2 -2
- package/es/components/truncated-text/truncated-text.js.map +1 -1
- package/es/components/truncated-text/truncated-text.test.js.map +1 -1
- package/es/components/user-avatar/user-avatar.js +2 -2
- package/es/components/user-avatar/user-avatar.js.map +1 -1
- package/es/components/user-avatar/user-avatar.scss.js +1 -1
- package/es/components/user-avatar/user-avatar.test.js.map +1 -1
- package/es/globals/internal/pconsole.js.map +1 -1
- package/es/globals/internal/storybook-cdn.js.map +1 -1
- package/es/globals/js/utils/collapsible-controller.d.ts +25 -0
- package/es/globals/js/utils/collapsible-controller.js +71 -0
- package/es/globals/js/utils/collapsible-controller.js.map +1 -0
- package/es/globals/js/utils/getSupportedLocale.js.map +1 -1
- package/es/globals/js/utils/match-media-controller.d.ts +16 -0
- package/es/globals/js/utils/match-media-controller.js +29 -0
- package/es/globals/js/utils/match-media-controller.js.map +1 -0
- package/es/globals/settings.js.map +1 -1
- package/es/index.d.ts +9 -0
- package/es/index.js +9 -0
- package/es/index.js.map +1 -1
- package/es/node_modules/@carbon/layout/es/index.js +2 -0
- package/es/node_modules/@carbon/layout/es/index.js.map +1 -1
- package/es/packages/ibm-products-web-components/package.json.js +1 -1
- package/es/patterns/step-flow/_story-assets/step-full-page.js.map +1 -1
- package/es/patterns/step-flow/_story-assets/step-side-panel.js.map +1 -1
- package/es/patterns/step-flow/_story-assets/step-tearsheet.js.map +1 -1
- package/es/patterns/step-flow/step-flow-signal.js.map +1 -1
- package/es/patterns/step-flow/step-flow-signal.test.js.map +1 -1
- package/es/patterns/step-flow/step-group.js.map +1 -1
- package/es/utilities/makeDraggable/makeDraggable.js.map +1 -1
- package/es/utilities/manageFocusTrap/manageFocusTrap.js.map +1 -1
- package/es/utilities/snapscroll/snapscroll.js.map +1 -1
- package/es/utilities/snapscroll/snapscroll.test.js.map +1 -1
- package/es-custom/components/about-modal/about-modal-helpers.js.map +1 -1
- package/es-custom/components/about-modal/about-modal.js +2 -2
- package/es-custom/components/about-modal/about-modal.js.map +1 -1
- package/es-custom/components/about-modal/about-modal.scss.js +1 -1
- package/es-custom/components/about-modal/about-modal.test.js.map +1 -1
- package/es-custom/components/big-number/big-number-skeleton.js +2 -2
- package/es-custom/components/big-number/big-number-skeleton.js.map +1 -1
- package/es-custom/components/big-number/big-number-skeleton.scss.js +1 -1
- package/es-custom/components/big-number/big-number.js +2 -2
- package/es-custom/components/big-number/big-number.js.map +1 -1
- package/es-custom/components/big-number/big-number.scss.js +1 -1
- package/es-custom/components/big-number/big-number.test.js.map +1 -1
- package/es-custom/components/big-number/constants.js.map +1 -1
- package/es-custom/components/checklist/checklist-chart.js +2 -2
- package/es-custom/components/checklist/checklist-chart.js.map +1 -1
- package/es-custom/components/checklist/checklist-group.js +2 -2
- package/es-custom/components/checklist/checklist-group.js.map +1 -1
- package/es-custom/components/checklist/checklist-icon.js +2 -2
- package/es-custom/components/checklist/checklist-icon.js.map +1 -1
- package/es-custom/components/checklist/checklist-item.js.map +1 -1
- package/es-custom/components/checklist/checklist.js.map +1 -1
- package/es-custom/components/checklist/checklist.scss.js +1 -1
- package/es-custom/components/checklist/checklist.test.js.map +1 -1
- package/es-custom/components/checklist/checklist.types.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +2 -2
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-body.js +2 -2
- package/es-custom/components/coachmark/coachmark-body.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-context.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-header.js +2 -2
- package/es-custom/components/coachmark/coachmark-header.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-helpers.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js +2 -2
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.test.js.map +1 -1
- package/es-custom/components/coachmark/coachmark.js +2 -2
- package/es-custom/components/coachmark/coachmark.js.map +1 -1
- package/es-custom/components/coachmark/coachmark.test.js.map +1 -1
- package/es-custom/components/full-page-error/full-page-error.js +2 -2
- package/es-custom/components/full-page-error/full-page-error.js.map +1 -1
- package/es-custom/components/full-page-error/full-page-error.scss.js +1 -1
- package/es-custom/components/full-page-error/full-page-error.test.js.map +1 -1
- package/es-custom/components/full-page-error/types.js.map +1 -1
- package/es-custom/components/guide-banner/guide-banner-element.js.map +1 -1
- package/es-custom/components/guide-banner/guide-banner-element.scss.js +1 -1
- package/es-custom/components/guide-banner/guide-banner-element.test.js.map +1 -1
- package/es-custom/components/guide-banner/guide-banner.js +2 -2
- package/es-custom/components/guide-banner/guide-banner.js.map +1 -1
- package/es-custom/components/guide-banner/guide-banner.scss.js +1 -1
- package/es-custom/components/guide-banner/guide-banner.test.js.map +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js +2 -2
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-body.js +2 -2
- package/es-custom/components/interstitial-screen/interstitial-screen-body.js.map +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-context.js.map +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.js.map +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-header.js +2 -2
- package/es-custom/components/interstitial-screen/interstitial-screen-header.js.map +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen.js +2 -2
- package/es-custom/components/interstitial-screen/interstitial-screen.js.map +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen.scss.js +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen.test.js.map +1 -1
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -1
- package/es-custom/components/notification-panel/notification-footer.js +2 -2
- package/es-custom/components/notification-panel/notification-footer.js.map +1 -1
- package/es-custom/components/notification-panel/notification-footer.scss.js +1 -1
- package/es-custom/components/notification-panel/notification-footer.test.js.map +1 -1
- package/es-custom/components/notification-panel/notification-panel.d.ts +2 -0
- package/es-custom/components/notification-panel/notification-panel.js +38 -15
- package/es-custom/components/notification-panel/notification-panel.js.map +1 -1
- package/es-custom/components/notification-panel/notification-panel.scss.js +1 -1
- package/es-custom/components/notification-panel/notification-panel.test.js +22 -0
- package/es-custom/components/notification-panel/notification-panel.test.js.map +1 -1
- package/es-custom/components/notification-panel/notification.js +2 -2
- package/es-custom/components/notification-panel/notification.js.map +1 -1
- package/es-custom/components/notification-panel/notification.scss.js +1 -1
- package/es-custom/components/notification-panel/notification.test.js.map +1 -1
- package/es-custom/components/options-tile/options-tile.js +2 -2
- package/es-custom/components/options-tile/options-tile.js.map +1 -1
- package/es-custom/components/options-tile/options-tile.scss.js +1 -1
- package/es-custom/components/options-tile/options-tile.test.js.map +1 -1
- package/es-custom/components/page-header/_story-assets/overflowHandler.js.map +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js +3 -3
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js +3 -3
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js.map +1 -1
- package/es-custom/components/page-header/page-header-breadcrumb.js +2 -2
- package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -1
- package/es-custom/components/page-header/page-header-content-text.js +2 -2
- package/es-custom/components/page-header/page-header-content-text.js.map +1 -1
- package/es-custom/components/page-header/page-header-content.js.map +1 -1
- package/es-custom/components/page-header/page-header-hero-image.js +2 -2
- package/es-custom/components/page-header/page-header-hero-image.js.map +1 -1
- package/es-custom/components/page-header/page-header-scroller.js.map +1 -1
- package/es-custom/components/page-header/page-header-tabs.js +2 -2
- package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
- package/es-custom/components/page-header/page-header-title-breadcrumb.js +2 -2
- package/es-custom/components/page-header/page-header-title-breadcrumb.js.map +1 -1
- package/es-custom/components/page-header/page-header.figma.js.map +1 -1
- package/es-custom/components/page-header/page-header.js +2 -2
- package/es-custom/components/page-header/page-header.js.map +1 -1
- package/es-custom/components/page-header/page-header.test.js.map +1 -1
- package/es-custom/components/page-header/utils.js.map +1 -1
- package/es-custom/components/side-panel/_story-assets/index.js.map +1 -1
- package/es-custom/components/side-panel/defs.js.map +1 -1
- package/es-custom/components/side-panel/side-panel.js +11 -4
- package/es-custom/components/side-panel/side-panel.js.map +1 -1
- package/es-custom/components/side-panel/side-panel.scss.js +1 -1
- package/es-custom/components/side-panel/side-panel.test.js +3 -3
- package/es-custom/components/side-panel/side-panel.test.js.map +1 -1
- package/es-custom/components/tearsheet/defs.js.map +1 -1
- package/es-custom/components/tearsheet/tearsheet.js +2 -2
- package/es-custom/components/tearsheet/tearsheet.js.map +1 -1
- package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
- package/es-custom/components/tearsheet/tearsheet.test.js +1 -1
- package/es-custom/components/tearsheet/tearsheet.test.js.map +1 -1
- package/es-custom/components/tearsheet/utils.js.map +1 -1
- package/es-custom/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js +13 -0
- package/es-custom/components/tearsheet-preview/_story-assets/_storybook-styles.scss.js.map +1 -0
- package/es-custom/components/tearsheet-preview/_story-assets/stacking-tearsheet.d.ts +30 -0
- package/es-custom/components/tearsheet-preview/_story-assets/stacking-tearsheet.js +320 -0
- package/es-custom/components/tearsheet-preview/_story-assets/stacking-tearsheet.js.map +1 -0
- package/es-custom/components/tearsheet-preview/_story-assets/step-tearsheet-preview.d.ts +39 -0
- package/es-custom/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js +264 -0
- package/es-custom/components/tearsheet-preview/_story-assets/step-tearsheet-preview.js.map +1 -0
- package/es-custom/components/tearsheet-preview/index.d.ts +17 -0
- package/es-custom/components/tearsheet-preview/index.js +17 -0
- package/es-custom/components/tearsheet-preview/index.js.map +1 -0
- package/es-custom/components/tearsheet-preview/stack-signal.d.ts +27 -0
- package/es-custom/components/tearsheet-preview/stack-signal.js +103 -0
- package/es-custom/components/tearsheet-preview/stack-signal.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-body.d.ts +399 -0
- package/es-custom/components/tearsheet-preview/tearsheet-body.js +131 -0
- package/es-custom/components/tearsheet-preview/tearsheet-body.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-footer.d.ts +385 -0
- package/es-custom/components/tearsheet-preview/tearsheet-footer.js +56 -0
- package/es-custom/components/tearsheet-preview/tearsheet-footer.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header-content.d.ts +407 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header-content.js +185 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header-content.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js +13 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header-content.scss.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header.d.ts +419 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header.js +204 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header.scss.js +13 -0
- package/es-custom/components/tearsheet-preview/tearsheet-header.scss.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-influencer.d.ts +398 -0
- package/es-custom/components/tearsheet-preview/tearsheet-influencer.js +92 -0
- package/es-custom/components/tearsheet-preview/tearsheet-influencer.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +384 -0
- package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.js +51 -0
- package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.scss.js +13 -0
- package/es-custom/components/tearsheet-preview/tearsheet-navigation-bar.scss.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-scroller.d.ts +40 -0
- package/es-custom/components/tearsheet-preview/tearsheet-scroller.js +112 -0
- package/es-custom/components/tearsheet-preview/tearsheet-scroller.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-signal.d.ts +24 -0
- package/es-custom/components/tearsheet-preview/tearsheet-signal.js +47 -0
- package/es-custom/components/tearsheet-preview/tearsheet-signal.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet-summary-content.d.ts +399 -0
- package/es-custom/components/tearsheet-preview/tearsheet-summary-content.js +97 -0
- package/es-custom/components/tearsheet-preview/tearsheet-summary-content.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet.d.ts +491 -0
- package/es-custom/components/tearsheet-preview/tearsheet.js +414 -0
- package/es-custom/components/tearsheet-preview/tearsheet.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet.scss.js +13 -0
- package/es-custom/components/tearsheet-preview/tearsheet.scss.js.map +1 -0
- package/es-custom/components/tearsheet-preview/tearsheet.test.d.ts +7 -0
- package/es-custom/components/tearsheet-preview/tearsheet.test.js +566 -0
- package/es-custom/components/tearsheet-preview/tearsheet.test.js.map +1 -0
- package/es-custom/components/truncated-text/truncated-text.js +2 -2
- package/es-custom/components/truncated-text/truncated-text.js.map +1 -1
- package/es-custom/components/truncated-text/truncated-text.test.js.map +1 -1
- package/es-custom/components/user-avatar/user-avatar.js +2 -2
- package/es-custom/components/user-avatar/user-avatar.js.map +1 -1
- package/es-custom/components/user-avatar/user-avatar.scss.js +1 -1
- package/es-custom/components/user-avatar/user-avatar.test.js.map +1 -1
- package/es-custom/globals/internal/pconsole.js.map +1 -1
- package/es-custom/globals/internal/storybook-cdn.js.map +1 -1
- package/es-custom/globals/js/utils/collapsible-controller.d.ts +25 -0
- package/es-custom/globals/js/utils/collapsible-controller.js +71 -0
- package/es-custom/globals/js/utils/collapsible-controller.js.map +1 -0
- package/es-custom/globals/js/utils/getSupportedLocale.js.map +1 -1
- package/es-custom/globals/js/utils/match-media-controller.d.ts +16 -0
- package/es-custom/globals/js/utils/match-media-controller.js +29 -0
- package/es-custom/globals/js/utils/match-media-controller.js.map +1 -0
- package/es-custom/globals/settings.js.map +1 -1
- package/es-custom/index.d.ts +9 -0
- package/es-custom/index.js +9 -0
- package/es-custom/index.js.map +1 -1
- package/es-custom/node_modules/@carbon/layout/es/index.js +2 -0
- package/es-custom/node_modules/@carbon/layout/es/index.js.map +1 -1
- package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.js.map +1 -1
- package/es-custom/patterns/step-flow/_story-assets/step-side-panel.js.map +1 -1
- package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js.map +1 -1
- package/es-custom/patterns/step-flow/step-flow-signal.js.map +1 -1
- package/es-custom/patterns/step-flow/step-flow-signal.test.js.map +1 -1
- package/es-custom/patterns/step-flow/step-group.js.map +1 -1
- package/es-custom/utilities/makeDraggable/makeDraggable.js.map +1 -1
- package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js.map +1 -1
- package/es-custom/utilities/snapscroll/snapscroll.js.map +1 -1
- package/es-custom/utilities/snapscroll/snapscroll.test.js.map +1 -1
- package/lib/components/coachmark/coachmark-beacon/defs.js.map +1 -1
- package/lib/components/notification-panel/notification-panel.d.ts +2 -0
- package/lib/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +1 -1
- package/lib/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +1 -1
- package/lib/components/side-panel/defs.js.map +1 -1
- package/lib/components/tearsheet/defs.js.map +1 -1
- package/lib/components/tearsheet-preview/_story-assets/stacking-tearsheet.d.ts +30 -0
- package/lib/components/tearsheet-preview/_story-assets/step-tearsheet-preview.d.ts +39 -0
- package/lib/components/tearsheet-preview/index.d.ts +17 -0
- package/lib/components/tearsheet-preview/stack-signal.d.ts +27 -0
- package/lib/components/tearsheet-preview/tearsheet-body.d.ts +399 -0
- package/lib/components/tearsheet-preview/tearsheet-footer.d.ts +385 -0
- package/lib/components/tearsheet-preview/tearsheet-header-content.d.ts +407 -0
- package/lib/components/tearsheet-preview/tearsheet-header.d.ts +419 -0
- package/lib/components/tearsheet-preview/tearsheet-influencer.d.ts +398 -0
- package/lib/components/tearsheet-preview/tearsheet-navigation-bar.d.ts +384 -0
- package/lib/components/tearsheet-preview/tearsheet-scroller.d.ts +40 -0
- package/lib/components/tearsheet-preview/tearsheet-signal.d.ts +24 -0
- package/lib/components/tearsheet-preview/tearsheet-summary-content.d.ts +399 -0
- package/lib/components/tearsheet-preview/tearsheet.d.ts +491 -0
- package/lib/components/tearsheet-preview/tearsheet.test.d.ts +7 -0
- package/lib/globals/js/utils/collapsible-controller.d.ts +25 -0
- package/lib/globals/js/utils/collapsible-controller.js +73 -0
- package/lib/globals/js/utils/collapsible-controller.js.map +1 -0
- package/lib/globals/js/utils/getSupportedLocale.js.map +1 -1
- package/lib/globals/js/utils/match-media-controller.d.ts +16 -0
- package/lib/globals/js/utils/match-media-controller.js +31 -0
- package/lib/globals/js/utils/match-media-controller.js.map +1 -0
- package/lib/globals/settings.js.map +1 -1
- package/lib/index.d.ts +9 -0
- package/package.json +9 -8
- package/scss/components/notification-panel/notification.scss +14 -1
- package/scss/components/tearsheet-preview/_story-assets/_storybook-styles.scss +87 -0
- package/scss/components/tearsheet-preview/tearsheet-header-content.scss +190 -0
- package/scss/components/tearsheet-preview/tearsheet-header.scss +146 -0
- package/scss/components/tearsheet-preview/tearsheet-navigation-bar.scss +27 -0
- package/scss/components/tearsheet-preview/tearsheet.scss +254 -0
- package/telemetry.yml +33 -7
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,15 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export { default as CDSSidePanel } from './components/side-panel/side-panel';
|
|
10
10
|
export { default as CDSTearsheet } from './components/tearsheet/tearsheet';
|
|
11
|
+
export { default as CDSTearsheetPreview } from './components/tearsheet-preview/tearsheet';
|
|
12
|
+
export { default as CDSTearsheetBody } from './components/tearsheet-preview/tearsheet-body';
|
|
13
|
+
export { default as CDSTearsheetFooter } from './components/tearsheet-preview/tearsheet-footer';
|
|
14
|
+
export { default as CDSTearsheetHeader } from './components/tearsheet-preview/tearsheet-header';
|
|
15
|
+
export { default as CDSTearsheetHeaderContent } from './components/tearsheet-preview/tearsheet-header-content';
|
|
16
|
+
export { default as CDSTearsheetInfluencer } from './components/tearsheet-preview/tearsheet-influencer';
|
|
17
|
+
export { default as CDSTearsheetNavigationBar } from './components/tearsheet-preview/tearsheet-navigation-bar';
|
|
18
|
+
export { default as CDSTearsheetScroller } from './components/tearsheet-preview/tearsheet-scroller';
|
|
19
|
+
export { default as CDSTearsheetSummaryContent } from './components/tearsheet-preview/tearsheet-summary-content';
|
|
11
20
|
export { default as CDSFullPageError } from './components/full-page-error/full-page-error';
|
|
12
21
|
export { default as CDSAboutModal } from './components/about-modal/about-modal';
|
|
13
22
|
export { default as CDSUserAvatar } from './components/user-avatar/user-avatar';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibm-products-web-components",
|
|
3
3
|
"description": "Carbon for IBM Products Web Components",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.35.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "es/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -52,14 +52,15 @@
|
|
|
52
52
|
"test": "yarn playwright install --with-deps && vitest run",
|
|
53
53
|
"wca": "web-component-analyzer analyze src --outFile custom-elements.json",
|
|
54
54
|
"coverage": "vitest run --coverage",
|
|
55
|
+
"coverage:report": "open coverage/index.html",
|
|
55
56
|
"telemetry-config": "ibmtelemetry-config generate --wc --id 8a79d901-a9c0-4672-94a4-fa8eea139832 --endpoint https://www-api.ibm.com/ibm-telemetry/v1/metrics --files ./src/components"
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
59
|
"@carbon-labs/wc-empty-state": "^0.13.0",
|
|
59
|
-
"@carbon/ibm-products-styles": "^2.
|
|
60
|
-
"@carbon/styles": "^1.
|
|
60
|
+
"@carbon/ibm-products-styles": "^2.82.0",
|
|
61
|
+
"@carbon/styles": "^1.101.0",
|
|
61
62
|
"@carbon/utilities": "^0.16.0",
|
|
62
|
-
"@carbon/web-components": "2.
|
|
63
|
+
"@carbon/web-components": "2.49.0",
|
|
63
64
|
"@ibm/telemetry-js": "^1.10.2",
|
|
64
65
|
"@lit-labs/signals": "^0.1.2",
|
|
65
66
|
"@lit/context": "^1.1.5",
|
|
@@ -68,9 +69,9 @@
|
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@aarsteinmedia/dotlottie-player": "^6.0.5",
|
|
70
71
|
"@blockquote/rollup-plugin-externalize-source-dependencies": "^1.0.0",
|
|
71
|
-
"@carbon/icon-helpers": "^10.
|
|
72
|
-
"@carbon/icons": "^11.
|
|
73
|
-
"@carbon/motion": "^11.
|
|
72
|
+
"@carbon/icon-helpers": "^10.73.0",
|
|
73
|
+
"@carbon/icons": "^11.76.0",
|
|
74
|
+
"@carbon/motion": "^11.42.0",
|
|
74
75
|
"@figma/code-connect": "^1.4.0",
|
|
75
76
|
"@ibm/telemetry-js-config-generator": "^2.1.0",
|
|
76
77
|
"@mordech/vite-lit-loader": "^0.37.0",
|
|
@@ -112,5 +113,5 @@
|
|
|
112
113
|
"vitest": "^3.2.0",
|
|
113
114
|
"web-component-analyzer": "2.0.0"
|
|
114
115
|
},
|
|
115
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "b850469558c82e297e176a9ac502e9445b9b29c7"
|
|
116
117
|
}
|
|
@@ -129,7 +129,7 @@ $block-notification-class: #{$prefix}--notifications-panel__notification;
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
:host(:hover),
|
|
132
|
-
:host(:focus) {
|
|
132
|
+
:host(:focus-visible) {
|
|
133
133
|
background-color: $layer-accent-01;
|
|
134
134
|
.#{$block-notification-class}__dismiss-single-button {
|
|
135
135
|
opacity: 1;
|
|
@@ -140,6 +140,19 @@ $block-notification-class: #{$prefix}--notifications-panel__notification;
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
:host(:focus-visible) {
|
|
144
|
+
border-color: $focus;
|
|
145
|
+
box-shadow:
|
|
146
|
+
inset 0 0 0 2px $focus,
|
|
147
|
+
inset 0 0 0 2px $background;
|
|
148
|
+
outline: 0;
|
|
149
|
+
|
|
150
|
+
&::before,
|
|
151
|
+
&::after {
|
|
152
|
+
display: none;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
143
156
|
:host(.#{$block-notification-class}--next) {
|
|
144
157
|
&::before {
|
|
145
158
|
background-color: transparent;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
10
|
+
@use '@carbon/styles/scss/utilities/hide-at-breakpoint' as *;
|
|
11
|
+
@use '@carbon/styles/scss/type';
|
|
12
|
+
@use '@carbon/styles/scss/breakpoint' as *;
|
|
13
|
+
|
|
14
|
+
$c4p-prefix: 'c4p';
|
|
15
|
+
$carbon-prefix: 'cds';
|
|
16
|
+
|
|
17
|
+
#{$c4p-prefix}-tearsheet-influencer,
|
|
18
|
+
div[slot='main-content'],
|
|
19
|
+
#{$c4p-prefix}-tearsheet-summary-content {
|
|
20
|
+
padding-block: $spacing-07;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
$block-class__next: #{$c4p-prefix}--tearsheet__next;
|
|
24
|
+
@mixin hideAtLargeScreens() {
|
|
25
|
+
@include hide-at-lg;
|
|
26
|
+
@include hide-at-md;
|
|
27
|
+
@include hide-at-xlg;
|
|
28
|
+
@include hide-at-max;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.summaryPanelTrigger {
|
|
32
|
+
position: absolute;
|
|
33
|
+
inset-block-start: 0;
|
|
34
|
+
inset-inline-end: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.influencerPanelTrigger {
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset-block-start: 0;
|
|
40
|
+
inset-inline-start: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#{$c4p-prefix}-preview-tearsheet:not([variant='narrow']) {
|
|
44
|
+
.summaryPanelTrigger,
|
|
45
|
+
.influencerPanelTrigger {
|
|
46
|
+
@include hideAtLargeScreens();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.summaryPanelHeading {
|
|
51
|
+
@include type.type-style('heading-03');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.stackButtons {
|
|
55
|
+
position: absolute;
|
|
56
|
+
z-index: 9999;
|
|
57
|
+
display: flex;
|
|
58
|
+
gap: $spacing-01;
|
|
59
|
+
inset-block-start: 0;
|
|
60
|
+
inset-inline-start: 0;
|
|
61
|
+
@include hide-at-sm;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.smallScreenButton {
|
|
65
|
+
position: absolute;
|
|
66
|
+
z-index: 9999;
|
|
67
|
+
display: flex;
|
|
68
|
+
gap: $spacing-01;
|
|
69
|
+
inset-block-start: 0;
|
|
70
|
+
inset-inline-start: $spacing-05;
|
|
71
|
+
@include hideAtLargeScreens();
|
|
72
|
+
}
|
|
73
|
+
//footer actions styles
|
|
74
|
+
.default__action-buttons {
|
|
75
|
+
display: grid;
|
|
76
|
+
grid-auto-rows: minmax(auto, auto);
|
|
77
|
+
grid-template-columns: repeat(6, 1fr);
|
|
78
|
+
|
|
79
|
+
> #{$carbon-prefix}-button {
|
|
80
|
+
inline-size: 100%;
|
|
81
|
+
max-inline-size: none;
|
|
82
|
+
|
|
83
|
+
&:first-child {
|
|
84
|
+
grid-column: span 4;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
@use '@carbon/styles/scss/breakpoint' as *;
|
|
10
|
+
@use '@carbon/ibm-products-styles/scss/config';
|
|
11
|
+
@use '@carbon/styles/scss/motion' as *;
|
|
12
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
13
|
+
@use '@carbon/styles/scss/type';
|
|
14
|
+
@use './tearsheet.scss' as *;
|
|
15
|
+
|
|
16
|
+
$prefix: config.$pkg-prefix;
|
|
17
|
+
$carbon-prefix: config.$carbon-prefix;
|
|
18
|
+
$block-class__next: #{$prefix}--tearsheet__next;
|
|
19
|
+
$motion-duration: $duration-moderate-02;
|
|
20
|
+
// Narrow variant styles
|
|
21
|
+
:host-context(#{$c4p-prefix}-preview-tearsheet[variant='narrow']) {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
|
|
25
|
+
.#{$block-class__next}__header-title {
|
|
26
|
+
@include type.type-style('heading-03');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.#{$block-class__next}__header-actions {
|
|
30
|
+
justify-content: flex-start;
|
|
31
|
+
margin-inline-end: 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Hide header actions when collapsed in narrow variant
|
|
36
|
+
:host-context(#{$c4p-prefix}-preview-tearsheet[variant='narrow']) {
|
|
37
|
+
&:host-context(#{$c4p-prefix}-tearsheet-header[collapsed]) {
|
|
38
|
+
.#{$block-class__next}__header-actions {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.#{$block-class__next}__title-start {
|
|
43
|
+
align-items: center;
|
|
44
|
+
|
|
45
|
+
::slotted(*) {
|
|
46
|
+
block-size: $spacing-06;
|
|
47
|
+
inline-size: $spacing-06;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host {
|
|
53
|
+
display: grid;
|
|
54
|
+
flex-basis: unset;
|
|
55
|
+
gap: $spacing-05;
|
|
56
|
+
grid-template-columns: minmax(auto, 40rem) minmax(
|
|
57
|
+
var(--tearsheet-header-title-grid-width, 0),
|
|
58
|
+
1fr
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
inline-size: calc(100% - var(--tearsheet-header-action-offset));
|
|
62
|
+
|
|
63
|
+
@include breakpoint-down(md) {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
|
|
67
|
+
.#{$block-class__next}__header-actions {
|
|
68
|
+
justify-content: flex-start;
|
|
69
|
+
margin-inline-end: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.#{$block-class__next}__header-actions {
|
|
74
|
+
display: flex;
|
|
75
|
+
justify-content: flex-end;
|
|
76
|
+
order: 2; /* Visual order: appears on the right on desktop */
|
|
77
|
+
margin-block-start: -14px;
|
|
78
|
+
|
|
79
|
+
@include breakpoint-down(md) {
|
|
80
|
+
order: 0; /* Reset to DOM order on mobile (header-actions first) */
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.#{$block-class__next}__header-content {
|
|
85
|
+
order: 1; /* Visual order: appears on the left on desktop */
|
|
86
|
+
|
|
87
|
+
@include breakpoint-down(md) {
|
|
88
|
+
order: 0; /* Reset to DOM order on mobile (header-content second) */
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host {
|
|
93
|
+
.#{$block-class__next}__header-actions,
|
|
94
|
+
.#{$block-class__next}__header-content
|
|
95
|
+
*:not(
|
|
96
|
+
.#{$block-class__next}__content__title-wrapper,
|
|
97
|
+
.#{$block-class__next}__header-label
|
|
98
|
+
) {
|
|
99
|
+
opacity: 1;
|
|
100
|
+
transition:
|
|
101
|
+
all $motion-duration motion(entrance, expressive),
|
|
102
|
+
opacity $motion-duration motion(entrance, expressive);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// ──────────────────────────────────────────────────────────────
|
|
107
|
+
// Collapsed Header State
|
|
108
|
+
// ──────────────────────────────────────────────────────────────
|
|
109
|
+
:host-context(#{$c4p-prefix}-tearsheet-header[collapsed]) {
|
|
110
|
+
// Collapse header actions except the main action button
|
|
111
|
+
.#{$block-class__next}__header-actions
|
|
112
|
+
> *:not(.#{$block-class__next}__content__header-actions) {
|
|
113
|
+
@include collapsed-element;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Collapse all header content except title wrapper
|
|
117
|
+
.#{$block-class__next}__header-content
|
|
118
|
+
> *:not(.#{$block-class__next}__content__title-wrapper) {
|
|
119
|
+
@include collapsed-element;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Collapse nested elements within non-title elements
|
|
123
|
+
.#{$block-class__next}__header-content
|
|
124
|
+
> *:not(.#{$block-class__next}__content__title-wrapper)
|
|
125
|
+
* {
|
|
126
|
+
@include collapsed-element;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Header title styling when collapsed
|
|
130
|
+
.#{$block-class__next}__header-title {
|
|
131
|
+
@include type.type-style('label-02');
|
|
132
|
+
|
|
133
|
+
align-items: center;
|
|
134
|
+
margin-block-start: $spacing-02;
|
|
135
|
+
transition: all $motion-duration motion(entrance, expressive);
|
|
136
|
+
|
|
137
|
+
> span {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
block-size: $spacing-06;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// Header content alignment
|
|
145
|
+
.#{$block-class__next}__header-content {
|
|
146
|
+
align-self: center;
|
|
147
|
+
margin-block-end: 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// Hide header actions on small screens when collapsed
|
|
151
|
+
@include breakpoint-down(md) {
|
|
152
|
+
.#{$block-class__next}__header-actions {
|
|
153
|
+
display: none;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Normalize visible elements
|
|
158
|
+
.#{$block-class__next}__header-content,
|
|
159
|
+
.#{$block-class__next}__content__title-wrapper,
|
|
160
|
+
.#{$block-class__next}__header-actions,
|
|
161
|
+
.#{$block-class__next}__header-title {
|
|
162
|
+
margin-block: 0;
|
|
163
|
+
transition: margin-block $motion-duration ease;
|
|
164
|
+
}
|
|
165
|
+
// Header actions adjustment
|
|
166
|
+
.#{$block-class__next}__header-actions {
|
|
167
|
+
margin-block-start: -$spacing-01;
|
|
168
|
+
}
|
|
169
|
+
// Style for title-start slot content (like icons)
|
|
170
|
+
.#{$block-class__next}__title-start {
|
|
171
|
+
display: inline-flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
|
|
174
|
+
::slotted(*) {
|
|
175
|
+
block-size: $spacing-05;
|
|
176
|
+
inline-size: $spacing-05;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
.#{$block-class__next}__title-start {
|
|
181
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
182
|
+
::slotted(*) {
|
|
183
|
+
transition: none;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
::slotted(*) {
|
|
188
|
+
transition: all $motion-duration motion(entrance, expressive);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
@use '@carbon/styles/scss/breakpoint' as *;
|
|
10
|
+
@use '@carbon/ibm-products-styles/scss/config';
|
|
11
|
+
@use '@carbon/styles/scss/motion' as *;
|
|
12
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
13
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
14
|
+
@use './tearsheet.scss' as *;
|
|
15
|
+
|
|
16
|
+
$prefix: config.$pkg-prefix;
|
|
17
|
+
$carbon-prefix: config.$carbon-prefix;
|
|
18
|
+
$block-class__next: #{$prefix}--tearsheet__next;
|
|
19
|
+
$motion-duration: $duration-moderate-02;
|
|
20
|
+
// Narrow variant styles
|
|
21
|
+
:host-context(#{$c4p-prefix}-preview-tearsheet[variant='narrow']) {
|
|
22
|
+
.#{$block-class__next}__header {
|
|
23
|
+
padding-inline: $spacing-05;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host-context(#{$c4p-prefix}-preview-tearsheet[variant='narrow'][collapsed]) {
|
|
28
|
+
.#{$block-class__next}__header-actions {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host {
|
|
34
|
+
position: relative;
|
|
35
|
+
.#{$block-class__next}__header {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
align-content: space-between;
|
|
39
|
+
border-block-end: 1px solid $border-subtle-01;
|
|
40
|
+
margin-block: 0;
|
|
41
|
+
max-block-size: 50vh;
|
|
42
|
+
padding-block-end: 0;
|
|
43
|
+
padding-block-start: $spacing-06;
|
|
44
|
+
padding-inline: $spacing-07;
|
|
45
|
+
@include breakpoint-down(md) {
|
|
46
|
+
padding-inline: $spacing-05;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
::slotted(*:not([slot='header-content'])) {
|
|
51
|
+
flex-basis: 100%;
|
|
52
|
+
margin-block-end: $spacing-06;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
::slotted([slot='header-content']) {
|
|
56
|
+
inline-size: calc(100% - var(--tearsheet-header-action-offset));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host ::slotted([slot='header-content']),
|
|
61
|
+
:host ::slotted([slot='navigation-bar']) {
|
|
62
|
+
margin-block-end: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.#{$block-class__next}__header--no-close-icon {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// ──────────────────────────────────────────────────────────────
|
|
70
|
+
// Header (default vs collapsed)
|
|
71
|
+
// ──────────────────────────────────────────────────────────────
|
|
72
|
+
:host {
|
|
73
|
+
/* Animate all slotted children by default */
|
|
74
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
75
|
+
::slotted(*) {
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
max-block-size: 50vh;
|
|
78
|
+
opacity: 1;
|
|
79
|
+
transition: none;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
::slotted(*) {
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
max-block-size: 50vh;
|
|
86
|
+
opacity: 1;
|
|
87
|
+
transition:
|
|
88
|
+
max-block-size $motion-duration motion(entrance, expressive),
|
|
89
|
+
opacity $motion-duration motion(entrance, expressive),
|
|
90
|
+
margin $motion-duration motion(entrance, expressive),
|
|
91
|
+
padding $motion-duration motion(entrance, expressive);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Exclusions */
|
|
95
|
+
::slotted([slot='navigation-bar']),
|
|
96
|
+
::slotted([slot='header-content']),
|
|
97
|
+
::slotted(.excludeFromCollapse) {
|
|
98
|
+
overflow: visible;
|
|
99
|
+
max-block-size: none;
|
|
100
|
+
opacity: 1;
|
|
101
|
+
transition: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// ──────────────────────────────────────────────────────────────
|
|
106
|
+
// Collapsed Header State
|
|
107
|
+
// ──────────────────────────────────────────────────────────────
|
|
108
|
+
:host([collapsed]) {
|
|
109
|
+
.#{$block-class__next}__header {
|
|
110
|
+
padding-block-start: $spacing-04;
|
|
111
|
+
transition: padding $motion-duration motion(entrance, expressive);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Collapse everything except core elements (navigation-bar, header-content, excludeFromCollapse)
|
|
115
|
+
::slotted(
|
|
116
|
+
*:not(
|
|
117
|
+
[slot='navigation-bar'],
|
|
118
|
+
[slot='header-content'],
|
|
119
|
+
.excludeFromCollapse,
|
|
120
|
+
[slot='decorator']
|
|
121
|
+
)
|
|
122
|
+
) {
|
|
123
|
+
@include collapsed-element;
|
|
124
|
+
|
|
125
|
+
display: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
::slotted([slot='header-content']) {
|
|
129
|
+
min-block-size: $spacing-08;
|
|
130
|
+
padding-block-end: $spacing-04;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Divider line above navigation bar when collapsed
|
|
134
|
+
::slotted([slot='navigation-bar'])::before {
|
|
135
|
+
position: absolute;
|
|
136
|
+
z-index: 1;
|
|
137
|
+
background: rgba(0, 0, 0, 0.12);
|
|
138
|
+
block-size: 1px;
|
|
139
|
+
content: '';
|
|
140
|
+
inline-size: 100vw;
|
|
141
|
+
inset-block-start: -$spacing-02;
|
|
142
|
+
inset-inline-start: 50%;
|
|
143
|
+
pointer-events: none;
|
|
144
|
+
transform: translateX(-50%);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2026
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
@use '@carbon/ibm-products-styles/scss/config';
|
|
10
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
11
|
+
@use './tearsheet';
|
|
12
|
+
|
|
13
|
+
$prefix: config.$pkg-prefix;
|
|
14
|
+
$carbon-prefix: config.$carbon-prefix;
|
|
15
|
+
$block-class__next: #{$prefix}--tearsheet__next;
|
|
16
|
+
|
|
17
|
+
:host {
|
|
18
|
+
@extend .#{$block-class__next}__navigation-bar;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host ::slotted([slot='scroller']) {
|
|
22
|
+
@extend .#{$block-class__next}__scroller-container;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host ::slotted(#{$carbon-prefix}-tabs) {
|
|
26
|
+
margin-inline-start: -$spacing-05;
|
|
27
|
+
}
|