@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
|
@@ -0,0 +1,204 @@
|
|
|
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
|
+
|
|
8
|
+
import { __decorate } from 'tslib';
|
|
9
|
+
import { LitElement, html } from 'lit';
|
|
10
|
+
import { property, state, query } from 'lit/decorators.js';
|
|
11
|
+
import { prefix } from '../../globals/settings.js';
|
|
12
|
+
import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';
|
|
13
|
+
import '@carbon/web-components/es-custom/components/modal/index.js';
|
|
14
|
+
import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
|
|
15
|
+
import { classMap } from 'lit-html/directives/class-map.js';
|
|
16
|
+
import styles from './tearsheet-header.scss.js';
|
|
17
|
+
import { updateTearsheetSignals, tearsheetSignal } from './tearsheet-signal.js';
|
|
18
|
+
import { SignalWatcher } from '@lit-labs/signals';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @license
|
|
22
|
+
*
|
|
23
|
+
* Copyright IBM Corp. 2026
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/
|
|
28
|
+
const blockClass = `${prefix}--tearsheet__next`;
|
|
29
|
+
/**
|
|
30
|
+
* Tearsheet Header component - Contains the header section with title, description, and actions.
|
|
31
|
+
*
|
|
32
|
+
* @element c4p-tearsheet-header
|
|
33
|
+
* @slot header-content - The main header content area (use c4p-tearsheet-header-content)
|
|
34
|
+
* @slot header-navigation - Navigation tabs or breadcrumbs below the header
|
|
35
|
+
* @slot header-actions - Action buttons in the header (e.g., settings, delete)
|
|
36
|
+
* @slot decorator - AI label or other decorative elements
|
|
37
|
+
* @fires c4p-tearsheet-header-close-button-clicked - Internal event to notify parent tearsheet
|
|
38
|
+
*/
|
|
39
|
+
let CDSTearsheetHeader = class CDSTearsheetHeader extends SignalWatcher(HostListenerMixin(LitElement)) {
|
|
40
|
+
constructor() {
|
|
41
|
+
super(...arguments);
|
|
42
|
+
this.slot = 'header';
|
|
43
|
+
/**
|
|
44
|
+
* Tooltip text and aria label for the Close button icon.
|
|
45
|
+
*/
|
|
46
|
+
this.closeIconDescription = 'Close';
|
|
47
|
+
/**
|
|
48
|
+
* Optional parameter to hide the progress indicator when multiple steps are used.
|
|
49
|
+
*/
|
|
50
|
+
this.hideCloseButton = false;
|
|
51
|
+
/**
|
|
52
|
+
* Default header collapse/expand while scrolling the main content can be disabled by setting this
|
|
53
|
+
*/
|
|
54
|
+
this.disableHeaderCollapse = false;
|
|
55
|
+
this._hasDecorator = false;
|
|
56
|
+
this._hasAILabel = false;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Handles user-initiated close request of this tearsheet.
|
|
60
|
+
* Dispatches an internal event to notify the parent tearsheet to close.
|
|
61
|
+
*
|
|
62
|
+
* @param triggeredBy The element that triggered this close request.
|
|
63
|
+
*/
|
|
64
|
+
_handleUserInitiatedClose(triggeredBy) {
|
|
65
|
+
const init = {
|
|
66
|
+
bubbles: true,
|
|
67
|
+
composed: true,
|
|
68
|
+
detail: {
|
|
69
|
+
triggeredBy,
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
// Dispatch internal event to notify parent tearsheet
|
|
73
|
+
this.dispatchEvent(new CustomEvent(this.constructor.eventCloseButtonClicked, init));
|
|
74
|
+
}
|
|
75
|
+
connectedCallback() {
|
|
76
|
+
super.connectedCallback();
|
|
77
|
+
// Initialize signal with the initial prop value before any child components connect
|
|
78
|
+
updateTearsheetSignals({
|
|
79
|
+
disableHeaderCollapse: this.disableHeaderCollapse,
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
firstUpdated() {
|
|
83
|
+
this.updateHeaderOffset();
|
|
84
|
+
}
|
|
85
|
+
updated(_changedProperties) {
|
|
86
|
+
if (_changedProperties.has('disableHeaderCollapse')) {
|
|
87
|
+
updateTearsheetSignals({
|
|
88
|
+
disableHeaderCollapse: this.disableHeaderCollapse,
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
this.updateHeaderOffset();
|
|
92
|
+
this.updateCollapsedAttribute();
|
|
93
|
+
}
|
|
94
|
+
updateCollapsedAttribute() {
|
|
95
|
+
const { fullyCollapsed, open } = tearsheetSignal.get();
|
|
96
|
+
if (open) {
|
|
97
|
+
if (fullyCollapsed) {
|
|
98
|
+
this.setAttribute('collapsed', '');
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
this.removeAttribute('collapsed');
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
this.removeAttribute('collapsed');
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
updateHeaderOffset() {
|
|
109
|
+
var _a, _b;
|
|
110
|
+
const { open, isSm } = tearsheetSignal.get();
|
|
111
|
+
if (open) {
|
|
112
|
+
const assigned = this.decoratorSlot.assignedElements({ flatten: true });
|
|
113
|
+
const decoratorWidth = (_b = (_a = assigned === null || assigned === void 0 ? void 0 : assigned[0]) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) !== null && _b !== void 0 ? _b : 0;
|
|
114
|
+
const closeButtonWidth = !this.hideCloseButton ? 24 : 0;
|
|
115
|
+
const offset = decoratorWidth + closeButtonWidth + (isSm ? 8 : 0);
|
|
116
|
+
document.documentElement.style.setProperty('--tearsheet-header-action-offset', `${offset}px`);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
_handleDecoratorChange(e) {
|
|
120
|
+
this._hasAILabel = false;
|
|
121
|
+
const childItems = e.target.assignedElements();
|
|
122
|
+
this._hasDecorator = childItems.length > 0;
|
|
123
|
+
if (this._hasDecorator) {
|
|
124
|
+
for (const item of childItems) {
|
|
125
|
+
if (item.tagName.toLowerCase() === 'cds-custom-ai-label') {
|
|
126
|
+
this._hasAILabel = true;
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (this._hasAILabel || this._hasDecorator) {
|
|
132
|
+
childItems[0].setAttribute('size', 'sm');
|
|
133
|
+
this.setAttribute(this._hasAILabel ? 'ai-label' : 'decorator', '');
|
|
134
|
+
this.removeAttribute(this._hasAILabel ? 'decorator' : 'ai-label');
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
this.removeAttribute('decorator');
|
|
138
|
+
this.removeAttribute('ai-label');
|
|
139
|
+
}
|
|
140
|
+
this.updateHeaderOffset();
|
|
141
|
+
}
|
|
142
|
+
render() {
|
|
143
|
+
const { fullyCollapsed } = tearsheetSignal.get();
|
|
144
|
+
const classes = classMap({
|
|
145
|
+
[`${blockClass}__header`]: true,
|
|
146
|
+
[`${blockClass}__header--with-close-icon`]: !!this.hideCloseButton,
|
|
147
|
+
[`${blockClass}__header-collapsed`]: !!fullyCollapsed,
|
|
148
|
+
});
|
|
149
|
+
return html `<cds-custom-modal-header class="${classes}">
|
|
150
|
+
<slot
|
|
151
|
+
name="decorator"
|
|
152
|
+
slot="ai-label"
|
|
153
|
+
@slotchange=${this._handleDecoratorChange}
|
|
154
|
+
></slot>
|
|
155
|
+
<cds-custom-modal-close-button
|
|
156
|
+
close-button-label=${this.closeIconDescription}
|
|
157
|
+
@click="${this._handleUserInitiatedClose}"
|
|
158
|
+
class="${this.hideCloseButton
|
|
159
|
+
? `${blockClass}__header--no-close-icon`
|
|
160
|
+
: ''}"
|
|
161
|
+
></cds-custom-modal-close-button>
|
|
162
|
+
|
|
163
|
+
<slot name="header-content"></slot>
|
|
164
|
+
<slot></slot>
|
|
165
|
+
<slot name="navigation-bar"></slot>
|
|
166
|
+
</cds-custom-modal-header>`;
|
|
167
|
+
}
|
|
168
|
+
static get eventCloseButtonClicked() {
|
|
169
|
+
return `${prefix}-tearsheet-header-close-button-clicked`;
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
CDSTearsheetHeader.styles = styles;
|
|
173
|
+
__decorate([
|
|
174
|
+
property({ reflect: true })
|
|
175
|
+
], CDSTearsheetHeader.prototype, "slot", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
property({ reflect: true, attribute: 'close-icon-description' })
|
|
178
|
+
], CDSTearsheetHeader.prototype, "closeIconDescription", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
property({ type: Boolean, reflect: true, attribute: 'hide-close-button' })
|
|
181
|
+
], CDSTearsheetHeader.prototype, "hideCloseButton", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
property({
|
|
184
|
+
type: Boolean,
|
|
185
|
+
reflect: true,
|
|
186
|
+
attribute: 'disable-header-collapse',
|
|
187
|
+
})
|
|
188
|
+
], CDSTearsheetHeader.prototype, "disableHeaderCollapse", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
state()
|
|
191
|
+
], CDSTearsheetHeader.prototype, "_hasDecorator", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
state()
|
|
194
|
+
], CDSTearsheetHeader.prototype, "_hasAILabel", void 0);
|
|
195
|
+
__decorate([
|
|
196
|
+
query('slot[name="decorator"]')
|
|
197
|
+
], CDSTearsheetHeader.prototype, "decoratorSlot", void 0);
|
|
198
|
+
CDSTearsheetHeader = __decorate([
|
|
199
|
+
carbonElement(`${prefix}-tearsheet-header`)
|
|
200
|
+
], CDSTearsheetHeader);
|
|
201
|
+
var CDSTearsheetHeader_default = CDSTearsheetHeader;
|
|
202
|
+
|
|
203
|
+
export { CDSTearsheetHeader_default as default };
|
|
204
|
+
//# sourceMappingURL=tearsheet-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tearsheet-header.js","sources":["../../../src/components/tearsheet-preview/tearsheet-header.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAaH,MAAM,UAAU,GAAG,CAAA,EAAG,MAAM,mBAAmB;AAE/C;;;;;;;;;AASG;AAEH,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,aAAa,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAA;AAA7E,IAAA,WAAA,GAAA;;QAEE,IAAA,CAAA,IAAI,GAAG,QAAQ;AAEf;;AAEG;QAEH,IAAA,CAAA,oBAAoB,GAAW,OAAO;AAEt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rC,CAAA,EAAA,kBAAkB,CAsKvB;AACD,iCAAe,kBAAkB;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
|
|
8
|
+
import { css } from 'lit';
|
|
9
|
+
|
|
10
|
+
var styles = css(["@keyframes cds-custom--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds-custom--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds-custom--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.cds-custom--layout--size-xs{--cds-layout-size-height-context:var(--cds-layout-size-height-xs,1.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xs{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xs,1.5rem))}.cds-custom--layout-constraint--size__min-xs{--cds-layout-size-height-min:var(--cds-layout-size-height-xs,1.5rem)}.cds-custom--layout-constraint--size__max-xs{--cds-layout-size-height-max:var(--cds-layout-size-height-xs,1.5rem)}.cds-custom--layout--size-sm{--cds-layout-size-height-context:var(--cds-layout-size-height-sm,2rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-sm{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-sm,2rem))}.cds-custom--layout-constraint--size__min-sm{--cds-layout-size-height-min:var(--cds-layout-size-height-sm,2rem)}.cds-custom--layout-constraint--size__max-sm{--cds-layout-size-height-max:var(--cds-layout-size-height-sm,2rem)}.cds-custom--layout--size-md{--cds-layout-size-height-context:var(--cds-layout-size-height-md,2.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-md{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-md,2.5rem))}.cds-custom--layout-constraint--size__min-md{--cds-layout-size-height-min:var(--cds-layout-size-height-md,2.5rem)}.cds-custom--layout-constraint--size__max-md{--cds-layout-size-height-max:var(--cds-layout-size-height-md,2.5rem)}.cds-custom--layout--size-lg{--cds-layout-size-height-context:var(--cds-layout-size-height-lg,3rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-lg{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-lg,3rem))}.cds-custom--layout-constraint--size__min-lg{--cds-layout-size-height-min:var(--cds-layout-size-height-lg,3rem)}.cds-custom--layout-constraint--size__max-lg{--cds-layout-size-height-max:var(--cds-layout-size-height-lg,3rem)}.cds-custom--layout--size-xl{--cds-layout-size-height-context:var(--cds-layout-size-height-xl,4rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xl,4rem))}.cds-custom--layout-constraint--size__min-xl{--cds-layout-size-height-min:var(--cds-layout-size-height-xl,4rem)}.cds-custom--layout-constraint--size__max-xl{--cds-layout-size-height-max:var(--cds-layout-size-height-xl,4rem)}.cds-custom--layout--size-2xl{--cds-layout-size-height-context:var(--cds-layout-size-height-2xl,5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds-custom--layout-constraint--size__default-2xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-2xl,5rem))}.cds-custom--layout-constraint--size__min-2xl{--cds-layout-size-height-min:var(--cds-layout-size-height-2xl,5rem)}.cds-custom--layout-constraint--size__max-2xl{--cds-layout-size-height-max:var(--cds-layout-size-height-2xl,5rem)}.cds-custom--layout--density-condensed{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-condensed,0.5rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-condensed{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-condensed,0.5rem))}.cds-custom--layout-constraint--density__min-condensed{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout-constraint--density__max-condensed{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout--density-normal{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-normal,1rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-normal{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-normal,1rem))}.cds-custom--layout-constraint--density__min-normal{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-normal,1rem)}.cds-custom--layout-constraint--density__max-normal{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-normal,1rem)}:root{--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px}.cds-custom--assistive-text,.cds-custom--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted){animation:c4p--tearsheet__next--presence-tearsheet__enter .24s cubic-bezier(0,0,.3,1);opacity:1}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:c4p--tearsheet__next--presence-tearsheet--container__enter .24s cubic-bezier(0,0,.3,1);transform:translateZ(0)}@media screen and (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:none}}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted).c4p--tearsheet__next--stacked.is-visible .c4p--tearsheet__next__container{transform:scaleX(var(--scale-factor))}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted)[data-tearsheet-exiting]{animation:c4p--tearsheet__next--presence-tearsheet__exit .24s cubic-bezier(.4,.14,1,1) forwards}.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted)[data-tearsheet-exiting].c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:c4p--tearsheet__next--presence-tearsheet--container__exit .24s cubic-bezier(0,0,.3,1) forwards}@media screen and (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next:not(.c4p--tearsheet__next--keep-mounted)[data-tearsheet-exiting].c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{animation:none}}.c4p--tearsheet__next.c4p--tearsheet__next--keep-mounted:not(.is-visible).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transform:translate3d(0,min(95vh,500px),0)}@keyframes c4p--tearsheet__next--presence-tearsheet__enter{0%{opacity:0;transition:none}}@keyframes c4p--tearsheet__next--presence-tearsheet__exit{to{opacity:0}}@keyframes c4p--tearsheet__next--presence-tearsheet--container__enter{0%{transform:translate3d(0,min(95vh,500px),0);transition:none}}@keyframes c4p--tearsheet__next--presence-tearsheet--container__exit{to{transform:translate3d(0,min(95vh,500px),0)}}.c4p--tearsheet__next .c4p--tearsheet__next__container{align-self:flex-end;block-size:100%;border:1px solid var(--cds-border-subtle-01,#c6c6c6);inset-block-start:auto;max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem));max-inline-size:var(--tearsheet-max-inline-size,1312px)}@media (max-width:41.98rem){.c4p--tearsheet__next:not(.c4p--tearsheet__next--stack-activated.is-visible) .c4p--tearsheet__next__container{max-block-size:none}}.c4p--tearsheet__next:not(.is-visible).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transform:translate3d(0,min(95vh,500px),0)}.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__container{background:linear-gradient(to top,var(--cds-layer),var(--cds-layer)) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,#78a9ff),var(--cds-ai-border-end,#d0e2ff)) border-box,linear-gradient(to top,var(--cds-layer),var(--cds-layer)) border-box;border:1px solid transparent;border-block-end:0;box-shadow:0 4px 10px 2px var(--cds-ai-drop-shadow,rgba(15,98,254,.1))}.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__main-content{background:linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)) 0,var(--cds-ai-aura-start,rgba(69,137,255,.1)) 0,15%,var(--cds-ai-aura-end,hsla(0,0%,100%,0)) 50%) padding-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,rgba(166,200,255,.64)),var(--cds-ai-border-end,#78a9ff)) border-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) border-box;box-shadow:inset 0 -80px 70px -65px var(--cds-ai-inner-shadow,rgba(69,137,255,.1));position:relative}.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transition:transform .24s cubic-bezier(0,0,.3,1),max-block-size .24s cubic-bezier(0,0,.3,1)}@media screen and (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container{transition:none}}.c4p--tearsheet__next .c4p--tearsheet__next__header{align-content:space-between;border-block-end:1px solid var(--cds-border-subtle-01,#c6c6c6);display:flex;flex-wrap:wrap;margin-block:0;max-block-size:50vh;padding-block-end:0;padding-block-start:1.5rem;padding-inline:2rem}.c4p--tearsheet__next .c4p--tearsheet__next__header>*{flex-basis:100%}.c4p--tearsheet__next .c4p--tearsheet__next__header>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button){margin-block-end:1.5rem}@media (max-width:41.98rem){.c4p--tearsheet__next .c4p--tearsheet__next__header{padding-inline:1rem}}.c4p--tearsheet__next .cds-custom--modal-container--sm .cds-custom--modal-header{padding-inline-end:2rem}.c4p--tearsheet__next .c4p--tearsheet__next__header-content-wrapper{display:grid;flex-basis:unset;gap:1rem;grid-template-columns:minmax(auto,40rem) minmax(var(--tearsheet-header-title-grid-width,0),1fr);inline-size:calc(100% - var(--tearsheet-header-action-offset))}@media (max-width:41.98rem){.c4p--tearsheet__next .c4p--tearsheet__next__header-content-wrapper{display:flex;flex-direction:column}}.c4p--tearsheet__next .c4p--tearsheet__next__header>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button,.excludeFromCollapse){max-block-size:50vh;opacity:1;overflow:hidden;transition:max-block-size .24s cubic-bezier(0,0,.3,1),opacity .24s cubic-bezier(0,0,.3,1),margin .24s cubic-bezier(0,0,.3,1),padding .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-actions,.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content :not(.c4p--tearsheet__next__content__title-wrapper,.c4p--tearsheet__next__header-label){opacity:1;transition:all .24s cubic-bezier(0,0,.3,1),opacity .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed{padding-block-start:.75rem;transition:padding .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions>:not(.c4p--tearsheet__next__content__header-actions),.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content>:not(.c4p--tearsheet__next__content__title-wrapper) *,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content>:not(.c4p--tearsheet__next__content__title-wrapper),.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button,.excludeFromCollapse),.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed>:not(.c4p--tearsheet__next__navigation-bar,.c4p--tearsheet__next__header-content-wrapper,.cds-custom--modal-close-button,.excludeFromCollapse) *{margin:0;max-block-size:0;opacity:0;overflow:hidden;padding:0;pointer-events:none;transition:all .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title{align-items:center;font-size:var(--cds-label-02-font-size,.875rem);font-weight:var(--cds-label-02-font-weight,400);letter-spacing:var(--cds-label-02-letter-spacing,.16px);line-height:var(--cds-label-02-line-height,1.28572);margin-block-start:.25rem;transition:all .24s cubic-bezier(0,0,.3,1)}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title>span{align-items:center;block-size:1.5rem;display:flex}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-end svg,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-start svg{inline-size:1rem}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content{align-self:center;margin-block-end:0}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__header-actions{margin-block-start:-.125rem}@media (max-width:41.98rem){.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions{display:none}}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__title-wrapper,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper,.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title{margin-block:0;transition:margin-block .24s ease}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper{min-block-size:2.5rem;padding-block-end:.75rem}.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__navigation-bar:before{background:rgba(0,0,0,.12);block-size:1px;content:\"\";inline-size:100vw;inset-block-start:-.25rem;inset-inline-start:50%;pointer-events:none;position:absolute;transform:translateX(-50%);z-index:1}.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible{--overlay-color:var(--cds-overlay,rgba(0,0,0,.6));--overlay-alpha:0.5;background-color:initial;z-index:calc(9000 - var(--stack-depth, 0))}.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible:before{background:var(--overlay-color);content:\"\";display:block;inset:0;opacity:calc(var(--overlay-alpha) - var(--stack-depth)*.1);position:absolute;transition:background-color .24s cubic-bezier(.4,.14,1,1),opacity .24s cubic-bezier(.4,.14,1,1)}@media (prefers-reduced-motion:reduce){.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible:before{transition:none}}.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible.is-visible .c4p--tearsheet__next__container{max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem) + var(--block-size-change));transform:scaleX(var(--scale-factor))}.c4p--tearsheet__next__header-label{color:var(--cds-text-secondary,#525252);font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);margin-block-end:.25rem}.c4p--tearsheet__next__header-title{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}@media (max-width:41.98rem){.c4p--tearsheet__next__header-title{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}}.c4p--tearsheet__next__header-title{align-items:flex-start;display:flex;gap:1rem;margin-block-end:.5rem}.c4p--tearsheet__next__header-title svg{flex-shrink:0}.c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-end{margin-inline-start:1rem}.c4p--tearsheet__next__header-description{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.c4p--tearsheet__next__navigation-bar{align-items:center;display:flex;gap:.125rem;justify-content:space-between;max-inline-size:calc(100% - .75rem);min-block-size:2.5rem;position:relative}.c4p--tearsheet__next__navigation-bar .cds-custom--tabs{margin-inline-start:-1rem}.c4p--tearsheet__next__scroller-container{inset-block-end:.125rem;inset-inline-end:-2.5rem;position:absolute}@media (max-width:41.98rem){.c4p--tearsheet__next__scroller-container{inset-inline-end:-1.5rem}}.c4p--tearsheet__next__scroller-container .c4p--tearsheet__next__scroller-button-icon-collapsed{transform:rotate(-180deg)}.c4p--tearsheet__next__header-actions{display:flex;justify-content:flex-end}.c4p--tearsheet__next__content__header-actions{align-items:center;block-size:2rem;display:flex;flex:0 0 auto;inline-size:100%;justify-content:flex-end;margin-block-start:-14px;overflow:hidden}.c4p--tearsheet__next__content__header-actions>.c4p--tearsheet__next__header-action-item:not([data-hidden=true]){margin-inline-end:.5rem}.c4p--tearsheet__next__content__header-actions>.c4p--tearsheet__next__header-action-item:not([data-hidden=true]):nth-last-child(2){margin-inline-end:0}.c4p--tearsheet__next__content__header-actions>*{flex-shrink:0}@media (max-width:41.98rem){.c4p--tearsheet__next__content__header-actions{justify-content:flex-start;margin-inline-end:0}}.c4p--tearsheet__next__header-actions,.c4p--tearsheet__next__header-content{margin-block-end:1.5rem}@media (min-width:42rem){.c4p--tearsheet__next--wide .c4p--tearsheet__next__container{inline-size:calc(100% - 8rem)}}.c4p--tearsheet__next__body-layout{display:grid;grid-template-areas:\"influencer body\" \"influencer footer\";grid-template-columns:var(--tearsheet-influencer-width,16rem) 1fr;grid-template-rows:1fr auto;padding-block:0;padding-inline-end:0}.c4p--tearsheet__next__body-layout:not(.c4p--tearsheet__next__body-layout--has-influencer){grid-template-areas:\"body\" \"footer\";grid-template-columns:1fr}.c4p--tearsheet__next__influencer,:host(c4p-preview-tearsheet) ::slotted([slot=influencer]){border-inline-end:1px solid var(--cds-border-subtle-01,#c6c6c6);grid-area:influencer}.c4p--tearsheet__next__body,:host(c4p-preview-tearsheet) ::slotted([slot=body]){display:grid;grid-area:body;grid-template-columns:1fr var(--tearsheet-summary-content-width,16rem);overflow:hidden;position:relative}@media (max-width:41.98rem){.c4p--tearsheet__next__body,:host(c4p-preview-tearsheet) ::slotted([slot=body]){grid-template-columns:1fr 0}}.c4p--tearsheet__next__body>:only-child,:host(c4p-preview-tearsheet) ::slotted([slot=body])>:only-child{grid-column:1/-1}.c4p--tearsheet__next__footer,:host(c4p-preview-tearsheet) ::slotted([slot=footer]){block-size:5rem;border-block-start:1px solid var(--cds-border-subtle-01,#c6c6c6);grid-area:footer;overflow:hidden}@media (max-width:41.98rem){.c4p--tearsheet__next__footer,:host(c4p-preview-tearsheet) ::slotted([slot=footer]){block-size:4rem}}@media (max-width:19.98rem){.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--three-actions,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--three-actions::slotted([slot=footer]){overflow-x:auto;overflow-y:hidden}.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--three-actions .c4p--action-set,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--three-actions::slotted([slot=footer]) .c4p--action-set{display:inline-flex;flex-shrink:0;min-inline-size:-moz-max-content;min-inline-size:max-content}}@media (max-width:41.98rem){.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--many-actions,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--many-actions::slotted([slot=footer]){overflow-x:auto;overflow-y:hidden}.c4p--tearsheet__next__footer.c4p--tearsheet__next__footer--many-actions .c4p--action-set,:host(c4p-preview-tearsheet) .c4p--tearsheet__next__footer--many-actions::slotted([slot=footer]) .c4p--action-set{display:inline-flex;flex-shrink:0;min-inline-size:-moz-max-content;min-inline-size:max-content}}.c4p--tearsheet__next__influencer,.c4p--tearsheet__next__main-content,.c4p--tearsheet__next__summary-content,:host ::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) ::slotted([slot=influencer]){overflow:auto}.c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush),:host :not(.c4p--tearsheet__next__flush)::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) :not(.c4p--tearsheet__next__flush)::slotted([slot=influencer]){padding-inline:2rem}@media (max-width:41.98rem){.c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush),:host :not(.c4p--tearsheet__next__flush)::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) :not(.c4p--tearsheet__next__flush)::slotted([slot=influencer]){padding-inline:1rem}}.c4p--tearsheet__next__side-panel,:host c4p-side-panel::part(dialog){block-size:100%;inline-size:100%!important;inset-block-start:0;max-inline-size:none;position:absolute;z-index:9999}.c4p--tearsheet__next__side-panel .c4p--side-panel__header,:host c4p-side-panel::part(dialog) .c4p--side-panel__header{min-block-size:0}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header{padding-inline:1rem}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header.c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions{display:none}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-content-wrapper{display:flex;flex-direction:column}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-title{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__content__header-actions{justify-content:flex-start;margin-inline-end:0}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__body,:host(c4p-preview-tearsheet) .c4p--tearsheet__next--narrow ::slotted([slot=body]){grid-template-columns:1fr 0}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next--narrow .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),.c4p--tearsheet__next--narrow .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush),:host .c4p--tearsheet__next--narrow :not(.c4p--tearsheet__next__flush)::slotted([slot=summary-content]),:host(c4p-preview-tearsheet) .c4p--tearsheet__next--narrow :not(.c4p--tearsheet__next__flush)::slotted([slot=influencer]){padding-inline:1rem}.c4p--tearsheet__next--narrow .c4p--tearsheet__next__footer,:host(c4p-preview-tearsheet) .c4p--tearsheet__next--narrow ::slotted([slot=footer]){block-size:4rem}.c4p--tearsheet__next--has-ai-label::part(dialog){background:linear-gradient(to top,var(--cds-layer),var(--cds-layer)) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,#78a9ff),var(--cds-ai-border-end,#d0e2ff)) border-box,linear-gradient(to top,var(--cds-layer),var(--cds-layer)) border-box;border:1px solid transparent!important;border-block-end:0;box-shadow:0 4px 10px 2px var(--cds-ai-drop-shadow,rgba(15,98,254,.1))}.c4p--tearsheet__next__main-content{position:relative}.c4p--tearsheet__next__main-content.c4p--tearsheet__next__flush{padding-inline:0}.c4p--tearsheet__next__main-content.c4p--tearsheet__next__main-content--no-summary{grid-column:1/-1}.c4p--tearsheet__next__main-content.c4p--tearsheet__next__main-content--has-ai-label{background:linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)) 0,var(--cds-ai-aura-start,rgba(69,137,255,.1)) 0,15%,var(--cds-ai-aura-end,hsla(0,0%,100%,0)) 50%) padding-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) padding-box,linear-gradient(to bottom,var(--cds-ai-border-start,rgba(166,200,255,.64)),var(--cds-ai-border-end,#78a9ff)) border-box,linear-gradient(to top,var(--cds-background,var(--cds-ai-popover-background,#fff)),var(--cds-background,var(--cds-ai-popover-background,#fff))) border-box;box-shadow:inset 0 -80px 70px -65px var(--cds-ai-inner-shadow,rgba(69,137,255,.1))}:host ::slotted([slot=summary-content][is-flush]){padding-inline:0}@media screen and (prefers-reduced-motion:reduce){:host(c4p-preview-tearsheet) ::part(dialog){align-self:flex-end;block-size:100%;border:1px solid var(--cds-border-subtle-01,#c6c6c6);inset-block-start:auto;max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem));transform:translate3d(0,min(95vh,500px),0);transition:none}}:host(c4p-preview-tearsheet) ::part(dialog){align-self:flex-end;block-size:100%;border:1px solid var(--cds-border-subtle-01,#c6c6c6);inset-block-start:auto;max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem));transform:translate3d(0,min(95vh,500px),0);transition:transform .24s cubic-bezier(0,0,.3,1),max-block-size .24s cubic-bezier(0,0,.3,1)}:host(c4p-preview-tearsheet) ::slotted([slot=influencer][is-flush]){padding-inline:0}:host(c4p-preview-tearsheet[open]) ::part(dialog){transform:translateZ(0);transition:transform .24s cubic-bezier(0,0,.3,1)}@media (prefers-reduced-motion:reduce){:host(c4p-preview-tearsheet[open]) ::part(dialog){transition:none}}@media (max-width:41.98rem){:host(:not(.c4p--tearsheet__next--stack-activated.is-visible)) ::part(dialog){max-block-size:none}}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible){--overlay-color:var(--cds-overlay,rgba(0,0,0,.6));--overlay-alpha:0.5;z-index:calc(9000 - var(--stack-depth, 0))}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible):before{background:var(--overlay-color);content:\"\";display:block;inset:0;opacity:calc(var(--overlay-alpha) - var(--stack-depth)*.1);pointer-events:none;position:fixed;transition:background-color .24s cubic-bezier(.4,.14,1,1),opacity .24s cubic-bezier(.4,.14,1,1);z-index:-1}@media (prefers-reduced-motion:reduce){:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible):before{transition:none}}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible) cds-custom-modal{background-color:transparent}:host(c4p-preview-tearsheet.c4p--tearsheet__next--stack-activated.is-visible) ::part(dialog){max-block-size:calc(100% - var(--tearsheet-vertical-gap, 3rem) + var(--block-size-change));transform:scaleX(var(--scale-factor))}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header{padding-inline:1rem}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header.c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions{display:none}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header-content-wrapper{display:flex;flex-direction:column}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header-title{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__content__header-actions{justify-content:flex-start;margin-inline-end:0}:host(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__body,:host(c4p-preview-tearsheet[variant=narrow]):host(c4p-preview-tearsheet) ::slotted([slot=body]){grid-template-columns:1fr 0}:host(c4p-preview-tearsheet[variant=narrow]) ::slotted([slot=influencer]),:host(c4p-preview-tearsheet[variant=narrow]) ::slotted([slot=summary-content]){padding:0!important}@media (max-width:41.98rem){:host(c4p-preview-tearsheet) ::slotted([slot=influencer]),:host(c4p-preview-tearsheet) ::slotted([slot=summary-content]){padding:0!important}}:host-context(c4p-preview-tearsheet[variant=narrow]) ::slotted([slot=summary-content]){padding:0}:host ::slotted([slot=footer]){padding-block:0}:host-context(c4p-preview-tearsheet[variant=narrow]) .c4p--tearsheet__next__header{padding-inline:1rem}:host-context(c4p-preview-tearsheet[variant=narrow][collapsed]) .c4p--tearsheet__next__header-actions{display:none}:host{position:relative}:host .c4p--tearsheet__next__header{align-content:space-between;border-block-end:1px solid var(--cds-border-subtle-01,#c6c6c6);display:flex;flex-wrap:wrap;margin-block:0;max-block-size:50vh;padding-block-end:0;padding-block-start:1.5rem;padding-inline:2rem}@media (max-width:41.98rem){:host .c4p--tearsheet__next__header{padding-inline:1rem}}:host ::slotted(:not([slot=header-content])){flex-basis:100%;margin-block-end:1.5rem}:host ::slotted([slot=header-content]){inline-size:calc(100% - var(--tearsheet-header-action-offset))}:host ::slotted([slot=header-content]),:host ::slotted([slot=navigation-bar]){margin-block-end:0}.c4p--tearsheet__next__header--no-close-icon{display:none}@media screen and (prefers-reduced-motion:reduce){:host ::slotted(*){max-block-size:50vh;opacity:1;overflow:hidden;transition:none}}:host ::slotted(*){max-block-size:50vh;opacity:1;overflow:hidden;transition:max-block-size .24s cubic-bezier(0,0,.3,1),opacity .24s cubic-bezier(0,0,.3,1),margin .24s cubic-bezier(0,0,.3,1),padding .24s cubic-bezier(0,0,.3,1)}:host ::slotted(.excludeFromCollapse),:host ::slotted([slot=header-content]),:host ::slotted([slot=navigation-bar]){max-block-size:none;opacity:1;overflow:visible;transition:none}:host([collapsed]) .c4p--tearsheet__next__header{padding-block-start:.75rem;transition:padding .24s cubic-bezier(0,0,.3,1)}:host([collapsed]) ::slotted(:not([slot=navigation-bar],[slot=header-content],.excludeFromCollapse,[slot=decorator])){display:none;margin:0;max-block-size:0;opacity:0;overflow:hidden;padding:0;pointer-events:none;transition:all .24s cubic-bezier(0,0,.3,1)}:host([collapsed]) ::slotted([slot=header-content]){min-block-size:2.5rem;padding-block-end:.75rem}:host([collapsed]) ::slotted([slot=navigation-bar]):before{background:rgba(0,0,0,.12);block-size:1px;content:\"\";inline-size:100vw;inset-block-start:-.25rem;inset-inline-start:50%;pointer-events:none;position:absolute;transform:translateX(-50%);z-index:1}"]);
|
|
11
|
+
|
|
12
|
+
export { styles as default };
|
|
13
|
+
//# sourceMappingURL=tearsheet-header.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tearsheet-header.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|