@carbon/ibm-products-web-components 0.30.0-rc.0 → 0.30.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 +5059 -0
- package/es/components/about-modal/about-modal.d.ts +458 -0
- package/es/components/about-modal/about-modal.figma.js +59 -0
- package/es/components/about-modal/about-modal.figma.js.map +1 -0
- package/es/components/about-modal/about-modal.js +203 -0
- package/es/components/about-modal/about-modal.js.map +1 -0
- package/es/components/about-modal/about-modal.scss.js +13 -0
- package/es/components/about-modal/about-modal.scss.js.map +1 -0
- package/es/components/about-modal/about-modal.test.d.ts +7 -0
- package/es/components/about-modal/about-modal.test.js +208 -0
- package/es/components/about-modal/about-modal.test.js.map +1 -0
- package/es/components/about-modal/index.d.ts +9 -0
- package/es/components/about-modal/index.js +9 -0
- package/es/components/about-modal/index.js.map +1 -0
- package/es/components/checklist/checklist-chart.d.ts +25 -0
- package/es/components/checklist/checklist-chart.js +81 -0
- package/es/components/checklist/checklist-chart.js.map +1 -0
- package/es/components/checklist/checklist-group.d.ts +25 -0
- package/es/components/checklist/checklist-group.js +58 -0
- package/es/components/checklist/checklist-group.js.map +1 -0
- package/es/components/checklist/checklist-icon.d.ts +26 -0
- package/es/components/checklist/checklist-icon.js +72 -0
- package/es/components/checklist/checklist-icon.js.map +1 -0
- package/es/components/checklist/checklist-item.d.ts +41 -0
- package/es/components/checklist/checklist-item.figma.js +49 -0
- package/es/components/checklist/checklist-item.figma.js.map +1 -0
- package/es/components/checklist/checklist-item.js +128 -0
- package/es/components/checklist/checklist-item.js.map +1 -0
- package/es/components/checklist/checklist.d.ts +73 -0
- package/es/components/checklist/checklist.figma.js +87 -0
- package/es/components/checklist/checklist.figma.js.map +1 -0
- package/es/components/checklist/checklist.js +198 -0
- package/es/components/checklist/checklist.js.map +1 -0
- package/es/components/checklist/checklist.scss.js +13 -0
- package/es/components/checklist/checklist.scss.js.map +1 -0
- package/es/components/checklist/checklist.test.d.ts +7 -0
- package/es/components/checklist/checklist.test.js +172 -0
- package/es/components/checklist/checklist.test.js.map +1 -0
- package/es/components/checklist/checklist.types.d.ts +22 -0
- package/es/components/checklist/checklist.types.js +32 -0
- package/es/components/checklist/checklist.types.js.map +1 -0
- package/es/components/checklist/index.d.ts +13 -0
- package/es/components/checklist/index.js +13 -0
- package/es/components/checklist/index.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +418 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +139 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +13 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +9 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +77 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/defs.d.ts +14 -0
- package/es/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/es/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/index.d.ts +9 -0
- package/es/components/coachmark/coachmark-beacon/index.js +9 -0
- package/es/components/coachmark/coachmark-beacon/index.js.map +1 -0
- package/es/components/coachmark/coachmark-body.d.ts +382 -0
- package/es/components/coachmark/coachmark-body.js +40 -0
- package/es/components/coachmark/coachmark-body.js.map +1 -0
- package/es/components/coachmark/coachmark-body.scss.js +13 -0
- package/es/components/coachmark/coachmark-body.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-context.d.ts +11 -0
- package/es/components/coachmark/coachmark-context.js +39 -0
- package/es/components/coachmark/coachmark-context.js.map +1 -0
- package/es/components/coachmark/coachmark-header.d.ts +392 -0
- package/es/components/coachmark/coachmark-header.js +92 -0
- package/es/components/coachmark/coachmark-header.js.map +1 -0
- package/es/components/coachmark/coachmark-header.scss.js +13 -0
- package/es/components/coachmark/coachmark-header.scss.js.map +1 -0
- package/es/components/coachmark/coachmark.d.ts +416 -0
- package/es/components/coachmark/coachmark.js +165 -0
- package/es/components/coachmark/coachmark.js.map +1 -0
- package/es/components/coachmark/coachmark.scss.js +13 -0
- package/es/components/coachmark/coachmark.scss.js.map +1 -0
- package/es/components/coachmark/coachmark.test.d.ts +1 -0
- package/es/components/coachmark/coachmark.test.js +168 -0
- package/es/components/coachmark/coachmark.test.js.map +1 -0
- package/es/components/coachmark/index.d.ts +11 -0
- package/es/components/coachmark/index.js +11 -0
- package/es/components/coachmark/index.js.map +1 -0
- package/es/components/full-page-error/assets/error403SVG.js +831 -0
- package/es/components/full-page-error/assets/error403SVG.js.map +1 -0
- package/es/components/full-page-error/assets/error404SVG.js +735 -0
- package/es/components/full-page-error/assets/error404SVG.js.map +1 -0
- package/es/components/full-page-error/assets/errorGenericSVG.js +830 -0
- package/es/components/full-page-error/assets/errorGenericSVG.js.map +1 -0
- package/es/components/full-page-error/full-page-error.d.ts +43 -0
- package/es/components/full-page-error/full-page-error.figma.js +81 -0
- package/es/components/full-page-error/full-page-error.figma.js.map +1 -0
- package/es/components/full-page-error/full-page-error.js +102 -0
- package/es/components/full-page-error/full-page-error.js.map +1 -0
- package/es/components/full-page-error/full-page-error.scss.js +13 -0
- package/es/components/full-page-error/full-page-error.scss.js.map +1 -0
- package/es/components/full-page-error/full-page-error.test.d.ts +7 -0
- package/es/components/full-page-error/full-page-error.test.js +102 -0
- package/es/components/full-page-error/full-page-error.test.js.map +1 -0
- package/es/components/full-page-error/index.d.ts +9 -0
- package/es/components/full-page-error/index.js +9 -0
- package/es/components/full-page-error/index.js.map +1 -0
- package/es/components/full-page-error/types.d.ts +13 -0
- package/es/components/full-page-error/types.js +24 -0
- package/es/components/full-page-error/types.js.map +1 -0
- package/es/components/guide-banner/guide-banner-element.d.ts +378 -0
- package/es/components/guide-banner/guide-banner-element.js +38 -0
- package/es/components/guide-banner/guide-banner-element.js.map +1 -0
- package/es/components/guide-banner/guide-banner.d.ts +398 -0
- package/es/components/guide-banner/guide-banner.js +151 -0
- package/es/components/guide-banner/guide-banner.js.map +1 -0
- package/es/components/guide-banner/guide-banner.scss.js +13 -0
- package/es/components/guide-banner/guide-banner.scss.js.map +1 -0
- package/es/components/guide-banner/guide-banner.test.d.ts +1 -0
- package/es/components/guide-banner/guide-banner.test.js +121 -0
- package/es/components/guide-banner/guide-banner.test.js.map +1 -0
- package/es/components/guide-banner/index.d.ts +10 -0
- package/es/components/guide-banner/index.js +10 -0
- package/es/components/guide-banner/index.js.map +1 -0
- package/es/components/interstitial-screen/index.d.ts +13 -0
- package/es/components/interstitial-screen/index.js +13 -0
- package/es/components/interstitial-screen/index.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-body-item.d.ts +388 -0
- package/es/components/interstitial-screen/interstitial-screen-body-item.js +71 -0
- package/es/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js +13 -0
- package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-body.d.ts +402 -0
- package/es/components/interstitial-screen/interstitial-screen-body.js +152 -0
- package/es/components/interstitial-screen/interstitial-screen-body.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-body.scss.js +13 -0
- package/es/components/interstitial-screen/interstitial-screen-body.scss.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-context.d.ts +18 -0
- package/es/components/interstitial-screen/interstitial-screen-context.js +48 -0
- package/es/components/interstitial-screen/interstitial-screen-context.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-footer.d.ts +429 -0
- package/es/components/interstitial-screen/interstitial-screen-footer.js +263 -0
- package/es/components/interstitial-screen/interstitial-screen-footer.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-footer.scss.js +13 -0
- package/es/components/interstitial-screen/interstitial-screen-footer.scss.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-header.d.ts +413 -0
- package/es/components/interstitial-screen/interstitial-screen-header.js +177 -0
- package/es/components/interstitial-screen/interstitial-screen-header.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-header.scss.js +13 -0
- package/es/components/interstitial-screen/interstitial-screen-header.scss.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen.d.ts +441 -0
- package/es/components/interstitial-screen/interstitial-screen.js +217 -0
- package/es/components/interstitial-screen/interstitial-screen.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen.scss.js +13 -0
- package/es/components/interstitial-screen/interstitial-screen.scss.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen.test.d.ts +1 -0
- package/es/components/interstitial-screen/interstitial-screen.test.js +329 -0
- package/es/components/interstitial-screen/interstitial-screen.test.js.map +1 -0
- package/es/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
- package/es/components/notification-panel/date-time-context.d.ts +9 -0
- package/es/components/notification-panel/date-time-context.js +19 -0
- package/es/components/notification-panel/date-time-context.js.map +1 -0
- package/es/components/notification-panel/defs.d.ts +8 -0
- package/es/components/notification-panel/defs.js +8 -0
- package/es/components/notification-panel/defs.js.map +1 -0
- package/es/components/notification-panel/index.d.ts +11 -0
- package/es/components/notification-panel/index.js +11 -0
- package/es/components/notification-panel/index.js.map +1 -0
- package/es/components/notification-panel/notification-footer.d.ts +405 -0
- package/es/components/notification-panel/notification-footer.js +120 -0
- package/es/components/notification-panel/notification-footer.js.map +1 -0
- package/es/components/notification-panel/notification-footer.scss.js +13 -0
- package/es/components/notification-panel/notification-footer.scss.js.map +1 -0
- package/es/components/notification-panel/notification-footer.test.d.ts +7 -0
- package/es/components/notification-panel/notification-footer.test.js +65 -0
- package/es/components/notification-panel/notification-footer.test.js.map +1 -0
- package/es/components/notification-panel/notification-panel.d.ts +479 -0
- package/es/components/notification-panel/notification-panel.js +439 -0
- package/es/components/notification-panel/notification-panel.js.map +1 -0
- package/es/components/notification-panel/notification-panel.scss.js +13 -0
- package/es/components/notification-panel/notification-panel.scss.js.map +1 -0
- package/es/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/es/components/notification-panel/notification-panel.test.js +340 -0
- package/es/components/notification-panel/notification-panel.test.js.map +1 -0
- package/es/components/notification-panel/notification.d.ts +415 -0
- package/es/components/notification-panel/notification.js +179 -0
- package/es/components/notification-panel/notification.js.map +1 -0
- package/es/components/notification-panel/notification.scss.js +13 -0
- package/es/components/notification-panel/notification.scss.js.map +1 -0
- package/es/components/notification-panel/notification.test.d.ts +7 -0
- package/es/components/notification-panel/notification.test.js +152 -0
- package/es/components/notification-panel/notification.test.js.map +1 -0
- package/es/components/options-tile/index.d.ts +9 -0
- package/es/components/options-tile/index.js +9 -0
- package/es/components/options-tile/index.js.map +1 -0
- package/es/components/options-tile/options-file.figma.js +96 -0
- package/es/components/options-tile/options-file.figma.js.map +1 -0
- package/es/components/options-tile/options-tile.d.ts +416 -0
- package/es/components/options-tile/options-tile.js +158 -0
- package/es/components/options-tile/options-tile.js.map +1 -0
- package/es/components/options-tile/options-tile.scss.js +13 -0
- package/es/components/options-tile/options-tile.scss.js.map +1 -0
- package/es/components/options-tile/options-tile.test.d.ts +1 -0
- package/es/components/options-tile/options-tile.test.js +129 -0
- package/es/components/options-tile/options-tile.test.js.map +1 -0
- package/es/components/page-header/_story-assets/2x1.jpg.js +11 -0
- package/es/components/page-header/_story-assets/2x1.jpg.js.map +1 -0
- package/es/components/page-header/_story-assets/3x2.jpg.js +11 -0
- package/es/components/page-header/_story-assets/3x2.jpg.js.map +1 -0
- package/es/components/page-header/_story-assets/overflowHandler.d.ts +98 -0
- package/es/components/page-header/_story-assets/overflowHandler.js +156 -0
- package/es/components/page-header/_story-assets/overflowHandler.js.map +1 -0
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +43 -0
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.js +154 -0
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -0
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +13 -0
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +1 -0
- package/es/components/page-header/_story-assets/set-of-tags/index.d.ts +9 -0
- package/es/components/page-header/_story-assets/set-of-tags/index.js +9 -0
- package/es/components/page-header/_story-assets/set-of-tags/index.js.map +1 -0
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +40 -0
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js +260 -0
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +1 -0
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +13 -0
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js.map +1 -0
- package/es/components/page-header/_story-assets/set-of-tags/utils.d.ts +23 -0
- package/es/components/page-header/_story-assets/set-of-tags/utils.js +44 -0
- package/es/components/page-header/_story-assets/set-of-tags/utils.js.map +1 -0
- package/es/components/page-header/context.d.ts +15 -0
- package/es/components/page-header/context.js +27 -0
- package/es/components/page-header/context.js.map +1 -0
- package/es/components/page-header/index.d.ts +16 -0
- package/es/components/page-header/index.js +16 -0
- package/es/components/page-header/index.js.map +1 -0
- package/es/components/page-header/page-header-breadcrumb.d.ts +36 -0
- package/es/components/page-header/page-header-breadcrumb.js +106 -0
- package/es/components/page-header/page-header-breadcrumb.js.map +1 -0
- package/es/components/page-header/page-header-content-text.d.ts +22 -0
- package/es/components/page-header/page-header-content-text.js +56 -0
- package/es/components/page-header/page-header-content-text.js.map +1 -0
- package/es/components/page-header/page-header-content.d.ts +42 -0
- package/es/components/page-header/page-header-content.js +141 -0
- package/es/components/page-header/page-header-content.js.map +1 -0
- package/es/components/page-header/page-header-hero-image.d.ts +18 -0
- package/es/components/page-header/page-header-hero-image.js +38 -0
- package/es/components/page-header/page-header-hero-image.js.map +1 -0
- package/es/components/page-header/page-header-scroller.d.ts +56 -0
- package/es/components/page-header/page-header-scroller.js +166 -0
- package/es/components/page-header/page-header-scroller.js.map +1 -0
- package/es/components/page-header/page-header-tabs.d.ts +18 -0
- package/es/components/page-header/page-header-tabs.js +48 -0
- package/es/components/page-header/page-header-tabs.js.map +1 -0
- package/es/components/page-header/page-header-title-breadcrumb.d.ts +20 -0
- package/es/components/page-header/page-header-title-breadcrumb.js +71 -0
- package/es/components/page-header/page-header-title-breadcrumb.js.map +1 -0
- package/es/components/page-header/page-header.d.ts +31 -0
- package/es/components/page-header/page-header.js +128 -0
- package/es/components/page-header/page-header.js.map +1 -0
- package/es/components/page-header/page-header.scss.js +13 -0
- package/es/components/page-header/page-header.scss.js.map +1 -0
- package/es/components/page-header/page-header.test.d.ts +1 -0
- package/es/components/page-header/page-header.test.js +349 -0
- package/es/components/page-header/page-header.test.js.map +1 -0
- package/es/components/page-header/utils.d.ts +32 -0
- package/es/components/page-header/utils.js +76 -0
- package/es/components/page-header/utils.js.map +1 -0
- package/es/components/side-panel/_story-assets/index.d.ts +8 -0
- package/es/components/side-panel/_story-assets/index.js +275 -0
- package/es/components/side-panel/_story-assets/index.js.map +1 -0
- package/es/components/side-panel/defs.d.ts +39 -0
- package/es/components/side-panel/defs.js +51 -0
- package/es/components/side-panel/defs.js.map +1 -0
- package/es/components/side-panel/index.d.ts +9 -0
- package/es/components/side-panel/index.js +9 -0
- package/es/components/side-panel/index.js.map +1 -0
- package/es/components/side-panel/side-panel.d.ts +571 -0
- package/es/components/side-panel/side-panel.js +859 -0
- package/es/components/side-panel/side-panel.js.map +1 -0
- package/es/components/side-panel/side-panel.scss.js +13 -0
- package/es/components/side-panel/side-panel.scss.js.map +1 -0
- package/es/components/side-panel/side-panel.test.d.ts +3 -0
- package/es/components/side-panel/side-panel.test.js +273 -0
- package/es/components/side-panel/side-panel.test.js.map +1 -0
- package/es/components/side-panel/story-styles.scss.js +13 -0
- package/es/components/side-panel/story-styles.scss.js.map +1 -0
- package/es/components/tearsheet/defs.d.ts +26 -0
- package/es/components/tearsheet/defs.js +39 -0
- package/es/components/tearsheet/defs.js.map +1 -0
- package/es/components/tearsheet/index.d.ts +9 -0
- package/es/components/tearsheet/index.js +9 -0
- package/es/components/tearsheet/index.js.map +1 -0
- package/es/components/tearsheet/story-styles.scss.js +13 -0
- package/es/components/tearsheet/story-styles.scss.js.map +1 -0
- package/es/components/tearsheet/tearsheet.d.ts +535 -0
- package/es/components/tearsheet/tearsheet.js +721 -0
- package/es/components/tearsheet/tearsheet.js.map +1 -0
- package/es/components/tearsheet/tearsheet.scss.js +13 -0
- package/es/components/tearsheet/tearsheet.scss.js.map +1 -0
- package/es/components/tearsheet/tearsheet.test.d.ts +14 -0
- package/es/components/tearsheet/tearsheet.test.js +305 -0
- package/es/components/tearsheet/tearsheet.test.js.map +1 -0
- package/es/components/tearsheet/utils.d.ts +34 -0
- package/es/components/tearsheet/utils.js +370 -0
- package/es/components/tearsheet/utils.js.map +1 -0
- package/es/components/truncated-text/index.d.ts +9 -0
- package/es/components/truncated-text/index.js +9 -0
- package/es/components/truncated-text/index.js.map +1 -0
- package/es/components/truncated-text/truncated-text.d.ts +78 -0
- package/es/components/truncated-text/truncated-text.js +257 -0
- package/es/components/truncated-text/truncated-text.js.map +1 -0
- package/es/components/truncated-text/truncated-text.scss.js +13 -0
- package/es/components/truncated-text/truncated-text.scss.js.map +1 -0
- package/es/components/truncated-text/truncated-text.test.d.ts +7 -0
- package/es/components/truncated-text/truncated-text.test.js +77 -0
- package/es/components/truncated-text/truncated-text.test.js.map +1 -0
- package/es/components/user-avatar/index.d.ts +9 -0
- package/es/components/user-avatar/index.js +9 -0
- package/es/components/user-avatar/index.js.map +1 -0
- package/es/components/user-avatar/user-avatar.d.ts +425 -0
- package/es/components/user-avatar/user-avatar.figma.js +161 -0
- package/es/components/user-avatar/user-avatar.figma.js.map +1 -0
- package/es/components/user-avatar/user-avatar.js +141 -0
- package/es/components/user-avatar/user-avatar.js.map +1 -0
- package/es/components/user-avatar/user-avatar.scss.js +13 -0
- package/es/components/user-avatar/user-avatar.scss.js.map +1 -0
- package/es/components/user-avatar/user-avatar.test.d.ts +1 -0
- package/es/components/user-avatar/user-avatar.test.js +128 -0
- package/es/components/user-avatar/user-avatar.test.js.map +1 -0
- package/es/globals/internal/handle.d.ts +18 -0
- package/es/globals/internal/handle.js +8 -0
- package/es/globals/internal/handle.js.map +1 -0
- package/es/globals/internal/pconsole.d.ts +15 -0
- package/es/globals/internal/pconsole.js +30 -0
- package/es/globals/internal/pconsole.js.map +1 -0
- package/es/globals/internal/storybook-cdn.js +78 -0
- package/es/globals/internal/storybook-cdn.js.map +1 -0
- package/es/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/es/globals/js/utils/getSupportedLocale.js +35 -0
- package/es/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/es/globals/settings.d.ts +15 -0
- package/es/globals/settings.js +28 -0
- package/es/globals/settings.js.map +1 -0
- package/es/index.d.ts +25 -0
- package/es/index.js +25 -0
- package/es/index.js.map +1 -0
- package/es/node_modules/@carbon/layout/es/index.js +44 -0
- package/es/node_modules/@carbon/layout/es/index.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +11 -0
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +1 -0
- package/es/packages/ibm-products-web-components/package.json.js +13 -0
- package/es/packages/ibm-products-web-components/package.json.js.map +1 -0
- package/es/patterns/step-flow/_story-assets/step-full-page.d.ts +41 -0
- package/es/patterns/step-flow/_story-assets/step-full-page.js +257 -0
- package/es/patterns/step-flow/_story-assets/step-full-page.js.map +1 -0
- package/es/patterns/step-flow/_story-assets/step-full-page.scss.js +13 -0
- package/es/patterns/step-flow/_story-assets/step-full-page.scss.js.map +1 -0
- package/es/patterns/step-flow/_story-assets/step-tearsheet.d.ts +41 -0
- package/es/patterns/step-flow/_story-assets/step-tearsheet.js +255 -0
- package/es/patterns/step-flow/_story-assets/step-tearsheet.js.map +1 -0
- package/es/patterns/step-flow/index.d.ts +10 -0
- package/es/patterns/step-flow/index.js +10 -0
- package/es/patterns/step-flow/index.js.map +1 -0
- package/es/patterns/step-flow/step-flow-signal.d.ts +24 -0
- package/es/patterns/step-flow/step-flow-signal.js +54 -0
- package/es/patterns/step-flow/step-flow-signal.js.map +1 -0
- package/es/patterns/step-flow/step-flow-signal.test.d.ts +7 -0
- package/es/patterns/step-flow/step-flow-signal.test.js +88 -0
- package/es/patterns/step-flow/step-flow-signal.test.js.map +1 -0
- package/es/patterns/step-flow/step-group.d.ts +15 -0
- package/es/patterns/step-flow/step-group.js +28 -0
- package/es/patterns/step-flow/step-group.js.map +1 -0
- package/es/patterns/step-flow/story-styles.scss.js +13 -0
- package/es/patterns/step-flow/story-styles.scss.js.map +1 -0
- package/es/utilities/carousel/carousel.d.ts +14 -0
- package/es/utilities/carousel/carousel.js +341 -0
- package/es/utilities/carousel/carousel.js.map +1 -0
- package/es/utilities/carousel/index.d.ts +8 -0
- package/es/utilities/carousel/index.js +9 -0
- package/es/utilities/carousel/index.js.map +1 -0
- package/es/utilities/carousel/swipeEvents.d.ts +7 -0
- package/es/utilities/carousel/swipeEvents.js +109 -0
- package/es/utilities/carousel/swipeEvents.js.map +1 -0
- package/es/utilities/carousel/types.d.ts +37 -0
- package/es/utilities/carousel/types.js +8 -0
- package/es/utilities/carousel/types.js.map +1 -0
- package/es/utilities/makeDraggable/makeDraggable.d.ts +38 -0
- package/es/utilities/makeDraggable/makeDraggable.js +136 -0
- package/es/utilities/makeDraggable/makeDraggable.js.map +1 -0
- package/es/utilities/manageFocusTrap/manageFocusTrap.d.ts +13 -0
- package/es/utilities/manageFocusTrap/manageFocusTrap.js +138 -0
- package/es/utilities/manageFocusTrap/manageFocusTrap.js.map +1 -0
- package/es-custom/components/about-modal/about-modal.d.ts +458 -0
- package/es-custom/components/about-modal/about-modal.figma.js +59 -0
- package/es-custom/components/about-modal/about-modal.figma.js.map +1 -0
- package/es-custom/components/about-modal/about-modal.js +203 -0
- package/es-custom/components/about-modal/about-modal.js.map +1 -0
- package/es-custom/components/about-modal/about-modal.scss.js +13 -0
- package/es-custom/components/about-modal/about-modal.scss.js.map +1 -0
- package/es-custom/components/about-modal/about-modal.test.d.ts +7 -0
- package/es-custom/components/about-modal/about-modal.test.js +208 -0
- package/es-custom/components/about-modal/about-modal.test.js.map +1 -0
- package/es-custom/components/about-modal/index.d.ts +9 -0
- package/es-custom/components/about-modal/index.js +9 -0
- package/es-custom/components/about-modal/index.js.map +1 -0
- package/es-custom/components/checklist/checklist-chart.d.ts +25 -0
- package/es-custom/components/checklist/checklist-chart.js +81 -0
- package/es-custom/components/checklist/checklist-chart.js.map +1 -0
- package/es-custom/components/checklist/checklist-group.d.ts +25 -0
- package/es-custom/components/checklist/checklist-group.js +58 -0
- package/es-custom/components/checklist/checklist-group.js.map +1 -0
- package/es-custom/components/checklist/checklist-icon.d.ts +26 -0
- package/es-custom/components/checklist/checklist-icon.js +72 -0
- package/es-custom/components/checklist/checklist-icon.js.map +1 -0
- package/es-custom/components/checklist/checklist-item.d.ts +41 -0
- package/es-custom/components/checklist/checklist-item.figma.js +49 -0
- package/es-custom/components/checklist/checklist-item.figma.js.map +1 -0
- package/es-custom/components/checklist/checklist-item.js +128 -0
- package/es-custom/components/checklist/checklist-item.js.map +1 -0
- package/es-custom/components/checklist/checklist.d.ts +73 -0
- package/es-custom/components/checklist/checklist.figma.js +87 -0
- package/es-custom/components/checklist/checklist.figma.js.map +1 -0
- package/es-custom/components/checklist/checklist.js +198 -0
- package/es-custom/components/checklist/checklist.js.map +1 -0
- package/es-custom/components/checklist/checklist.scss.js +13 -0
- package/es-custom/components/checklist/checklist.scss.js.map +1 -0
- package/es-custom/components/checklist/checklist.test.d.ts +7 -0
- package/es-custom/components/checklist/checklist.test.js +172 -0
- package/es-custom/components/checklist/checklist.test.js.map +1 -0
- package/es-custom/components/checklist/checklist.types.d.ts +22 -0
- package/es-custom/components/checklist/checklist.types.js +32 -0
- package/es-custom/components/checklist/checklist.types.js.map +1 -0
- package/es-custom/components/checklist/index.d.ts +13 -0
- package/es-custom/components/checklist/index.js +13 -0
- package/es-custom/components/checklist/index.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +418 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +139 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +9 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +77 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts +14 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.d.ts +9 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.js +9 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-body.d.ts +382 -0
- package/es-custom/components/coachmark/coachmark-body.js +40 -0
- package/es-custom/components/coachmark/coachmark-body.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-body.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark-body.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-context.d.ts +11 -0
- package/es-custom/components/coachmark/coachmark-context.js +39 -0
- package/es-custom/components/coachmark/coachmark-context.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-header.d.ts +392 -0
- package/es-custom/components/coachmark/coachmark-header.js +92 -0
- package/es-custom/components/coachmark/coachmark-header.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-header.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark-header.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark.d.ts +416 -0
- package/es-custom/components/coachmark/coachmark.js +165 -0
- package/es-custom/components/coachmark/coachmark.js.map +1 -0
- package/es-custom/components/coachmark/coachmark.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark.test.d.ts +1 -0
- package/es-custom/components/coachmark/coachmark.test.js +168 -0
- package/es-custom/components/coachmark/coachmark.test.js.map +1 -0
- package/es-custom/components/coachmark/index.d.ts +11 -0
- package/es-custom/components/coachmark/index.js +11 -0
- package/es-custom/components/coachmark/index.js.map +1 -0
- package/es-custom/components/full-page-error/assets/error403SVG.js +831 -0
- package/es-custom/components/full-page-error/assets/error403SVG.js.map +1 -0
- package/es-custom/components/full-page-error/assets/error404SVG.js +735 -0
- package/es-custom/components/full-page-error/assets/error404SVG.js.map +1 -0
- package/es-custom/components/full-page-error/assets/errorGenericSVG.js +830 -0
- package/es-custom/components/full-page-error/assets/errorGenericSVG.js.map +1 -0
- package/es-custom/components/full-page-error/full-page-error.d.ts +43 -0
- package/es-custom/components/full-page-error/full-page-error.figma.js +81 -0
- package/es-custom/components/full-page-error/full-page-error.figma.js.map +1 -0
- package/es-custom/components/full-page-error/full-page-error.js +102 -0
- package/es-custom/components/full-page-error/full-page-error.js.map +1 -0
- package/es-custom/components/full-page-error/full-page-error.scss.js +13 -0
- package/es-custom/components/full-page-error/full-page-error.scss.js.map +1 -0
- package/es-custom/components/full-page-error/full-page-error.test.d.ts +7 -0
- package/es-custom/components/full-page-error/full-page-error.test.js +102 -0
- package/es-custom/components/full-page-error/full-page-error.test.js.map +1 -0
- package/es-custom/components/full-page-error/index.d.ts +9 -0
- package/es-custom/components/full-page-error/index.js +9 -0
- package/es-custom/components/full-page-error/index.js.map +1 -0
- package/es-custom/components/full-page-error/types.d.ts +13 -0
- package/es-custom/components/full-page-error/types.js +24 -0
- package/es-custom/components/full-page-error/types.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner-element.d.ts +378 -0
- package/es-custom/components/guide-banner/guide-banner-element.js +38 -0
- package/es-custom/components/guide-banner/guide-banner-element.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner.d.ts +398 -0
- package/es-custom/components/guide-banner/guide-banner.js +151 -0
- package/es-custom/components/guide-banner/guide-banner.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner.scss.js +13 -0
- package/es-custom/components/guide-banner/guide-banner.scss.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner.test.d.ts +1 -0
- package/es-custom/components/guide-banner/guide-banner.test.js +121 -0
- package/es-custom/components/guide-banner/guide-banner.test.js.map +1 -0
- package/es-custom/components/guide-banner/index.d.ts +10 -0
- package/es-custom/components/guide-banner/index.js +10 -0
- package/es-custom/components/guide-banner/index.js.map +1 -0
- package/es-custom/components/interstitial-screen/index.d.ts +13 -0
- package/es-custom/components/interstitial-screen/index.js +13 -0
- package/es-custom/components/interstitial-screen/index.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.d.ts +388 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js +71 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js +13 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body.d.ts +402 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body.js +152 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js +13 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-context.d.ts +18 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-context.js +48 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-context.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.d.ts +429 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.js +263 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js +13 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-header.d.ts +413 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-header.js +177 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-header.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js +13 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.d.ts +441 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.js +217 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.scss.js +13 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.scss.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.test.d.ts +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.test.js +329 -0
- package/es-custom/components/interstitial-screen/interstitial-screen.test.js.map +1 -0
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
- package/es-custom/components/notification-panel/date-time-context.d.ts +9 -0
- package/es-custom/components/notification-panel/date-time-context.js +19 -0
- package/es-custom/components/notification-panel/date-time-context.js.map +1 -0
- package/es-custom/components/notification-panel/defs.d.ts +8 -0
- package/es-custom/components/notification-panel/defs.js +8 -0
- package/es-custom/components/notification-panel/defs.js.map +1 -0
- package/es-custom/components/notification-panel/index.d.ts +11 -0
- package/es-custom/components/notification-panel/index.js +11 -0
- package/es-custom/components/notification-panel/index.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.d.ts +405 -0
- package/es-custom/components/notification-panel/notification-footer.js +120 -0
- package/es-custom/components/notification-panel/notification-footer.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.scss.js +13 -0
- package/es-custom/components/notification-panel/notification-footer.scss.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.test.d.ts +7 -0
- package/es-custom/components/notification-panel/notification-footer.test.js +65 -0
- package/es-custom/components/notification-panel/notification-footer.test.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.d.ts +479 -0
- package/es-custom/components/notification-panel/notification-panel.js +439 -0
- package/es-custom/components/notification-panel/notification-panel.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.scss.js +13 -0
- package/es-custom/components/notification-panel/notification-panel.scss.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/es-custom/components/notification-panel/notification-panel.test.js +340 -0
- package/es-custom/components/notification-panel/notification-panel.test.js.map +1 -0
- package/es-custom/components/notification-panel/notification.d.ts +415 -0
- package/es-custom/components/notification-panel/notification.js +179 -0
- package/es-custom/components/notification-panel/notification.js.map +1 -0
- package/es-custom/components/notification-panel/notification.scss.js +13 -0
- package/es-custom/components/notification-panel/notification.scss.js.map +1 -0
- package/es-custom/components/notification-panel/notification.test.d.ts +7 -0
- package/es-custom/components/notification-panel/notification.test.js +152 -0
- package/es-custom/components/notification-panel/notification.test.js.map +1 -0
- package/es-custom/components/options-tile/index.d.ts +9 -0
- package/es-custom/components/options-tile/index.js +9 -0
- package/es-custom/components/options-tile/index.js.map +1 -0
- package/es-custom/components/options-tile/options-file.figma.js +96 -0
- package/es-custom/components/options-tile/options-file.figma.js.map +1 -0
- package/es-custom/components/options-tile/options-tile.d.ts +416 -0
- package/es-custom/components/options-tile/options-tile.js +158 -0
- package/es-custom/components/options-tile/options-tile.js.map +1 -0
- package/es-custom/components/options-tile/options-tile.scss.js +13 -0
- package/es-custom/components/options-tile/options-tile.scss.js.map +1 -0
- package/es-custom/components/options-tile/options-tile.test.d.ts +1 -0
- package/es-custom/components/options-tile/options-tile.test.js +129 -0
- package/es-custom/components/options-tile/options-tile.test.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/2x1.jpg.js +11 -0
- package/es-custom/components/page-header/_story-assets/2x1.jpg.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/3x2.jpg.js +11 -0
- package/es-custom/components/page-header/_story-assets/3x2.jpg.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/overflowHandler.d.ts +98 -0
- package/es-custom/components/page-header/_story-assets/overflowHandler.js +156 -0
- package/es-custom/components/page-header/_story-assets/overflowHandler.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +43 -0
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js +154 -0
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +13 -0
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/index.d.ts +9 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/index.js +9 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/index.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +40 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js +260 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +13 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js.map +1 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/utils.d.ts +23 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js +44 -0
- package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js.map +1 -0
- package/es-custom/components/page-header/context.d.ts +15 -0
- package/es-custom/components/page-header/context.js +27 -0
- package/es-custom/components/page-header/context.js.map +1 -0
- package/es-custom/components/page-header/index.d.ts +16 -0
- package/es-custom/components/page-header/index.js +16 -0
- package/es-custom/components/page-header/index.js.map +1 -0
- package/es-custom/components/page-header/page-header-breadcrumb.d.ts +36 -0
- package/es-custom/components/page-header/page-header-breadcrumb.js +106 -0
- package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -0
- package/es-custom/components/page-header/page-header-content-text.d.ts +22 -0
- package/es-custom/components/page-header/page-header-content-text.js +56 -0
- package/es-custom/components/page-header/page-header-content-text.js.map +1 -0
- package/es-custom/components/page-header/page-header-content.d.ts +42 -0
- package/es-custom/components/page-header/page-header-content.js +141 -0
- package/es-custom/components/page-header/page-header-content.js.map +1 -0
- package/es-custom/components/page-header/page-header-hero-image.d.ts +18 -0
- package/es-custom/components/page-header/page-header-hero-image.js +38 -0
- package/es-custom/components/page-header/page-header-hero-image.js.map +1 -0
- package/es-custom/components/page-header/page-header-scroller.d.ts +56 -0
- package/es-custom/components/page-header/page-header-scroller.js +166 -0
- package/es-custom/components/page-header/page-header-scroller.js.map +1 -0
- package/es-custom/components/page-header/page-header-tabs.d.ts +18 -0
- package/es-custom/components/page-header/page-header-tabs.js +48 -0
- package/es-custom/components/page-header/page-header-tabs.js.map +1 -0
- package/es-custom/components/page-header/page-header-title-breadcrumb.d.ts +20 -0
- package/es-custom/components/page-header/page-header-title-breadcrumb.js +71 -0
- package/es-custom/components/page-header/page-header-title-breadcrumb.js.map +1 -0
- package/es-custom/components/page-header/page-header.d.ts +31 -0
- package/es-custom/components/page-header/page-header.js +128 -0
- package/es-custom/components/page-header/page-header.js.map +1 -0
- package/es-custom/components/page-header/page-header.scss.js +13 -0
- package/es-custom/components/page-header/page-header.scss.js.map +1 -0
- package/es-custom/components/page-header/page-header.test.d.ts +1 -0
- package/es-custom/components/page-header/page-header.test.js +349 -0
- package/es-custom/components/page-header/page-header.test.js.map +1 -0
- package/es-custom/components/page-header/utils.d.ts +32 -0
- package/es-custom/components/page-header/utils.js +76 -0
- package/es-custom/components/page-header/utils.js.map +1 -0
- package/es-custom/components/side-panel/_story-assets/index.d.ts +8 -0
- package/es-custom/components/side-panel/_story-assets/index.js +275 -0
- package/es-custom/components/side-panel/_story-assets/index.js.map +1 -0
- package/es-custom/components/side-panel/defs.d.ts +39 -0
- package/es-custom/components/side-panel/defs.js +51 -0
- package/es-custom/components/side-panel/defs.js.map +1 -0
- package/es-custom/components/side-panel/index.d.ts +9 -0
- package/es-custom/components/side-panel/index.js +9 -0
- package/es-custom/components/side-panel/index.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.d.ts +571 -0
- package/es-custom/components/side-panel/side-panel.js +859 -0
- package/es-custom/components/side-panel/side-panel.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.scss.js +13 -0
- package/es-custom/components/side-panel/side-panel.scss.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.test.d.ts +3 -0
- package/es-custom/components/side-panel/side-panel.test.js +273 -0
- package/es-custom/components/side-panel/side-panel.test.js.map +1 -0
- package/es-custom/components/side-panel/story-styles.scss.js +13 -0
- package/es-custom/components/side-panel/story-styles.scss.js.map +1 -0
- package/es-custom/components/tearsheet/defs.d.ts +26 -0
- package/es-custom/components/tearsheet/defs.js +39 -0
- package/es-custom/components/tearsheet/defs.js.map +1 -0
- package/es-custom/components/tearsheet/index.d.ts +9 -0
- package/es-custom/components/tearsheet/index.js +9 -0
- package/es-custom/components/tearsheet/index.js.map +1 -0
- package/es-custom/components/tearsheet/story-styles.scss.js +13 -0
- package/es-custom/components/tearsheet/story-styles.scss.js.map +1 -0
- package/es-custom/components/tearsheet/tearsheet.d.ts +535 -0
- package/es-custom/components/tearsheet/tearsheet.js +721 -0
- package/es-custom/components/tearsheet/tearsheet.js.map +1 -0
- package/es-custom/components/tearsheet/tearsheet.scss.js +13 -0
- package/es-custom/components/tearsheet/tearsheet.scss.js.map +1 -0
- package/es-custom/components/tearsheet/tearsheet.test.d.ts +14 -0
- package/es-custom/components/tearsheet/tearsheet.test.js +305 -0
- package/es-custom/components/tearsheet/tearsheet.test.js.map +1 -0
- package/es-custom/components/tearsheet/utils.d.ts +34 -0
- package/es-custom/components/tearsheet/utils.js +370 -0
- package/es-custom/components/tearsheet/utils.js.map +1 -0
- package/es-custom/components/truncated-text/index.d.ts +9 -0
- package/es-custom/components/truncated-text/index.js +9 -0
- package/es-custom/components/truncated-text/index.js.map +1 -0
- package/es-custom/components/truncated-text/truncated-text.d.ts +78 -0
- package/es-custom/components/truncated-text/truncated-text.js +257 -0
- package/es-custom/components/truncated-text/truncated-text.js.map +1 -0
- package/es-custom/components/truncated-text/truncated-text.scss.js +13 -0
- package/es-custom/components/truncated-text/truncated-text.scss.js.map +1 -0
- package/es-custom/components/truncated-text/truncated-text.test.d.ts +7 -0
- package/es-custom/components/truncated-text/truncated-text.test.js +77 -0
- package/es-custom/components/truncated-text/truncated-text.test.js.map +1 -0
- package/es-custom/components/user-avatar/index.d.ts +9 -0
- package/es-custom/components/user-avatar/index.js +9 -0
- package/es-custom/components/user-avatar/index.js.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.d.ts +425 -0
- package/es-custom/components/user-avatar/user-avatar.figma.js +161 -0
- package/es-custom/components/user-avatar/user-avatar.figma.js.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.js +141 -0
- package/es-custom/components/user-avatar/user-avatar.js.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.scss.js +13 -0
- package/es-custom/components/user-avatar/user-avatar.scss.js.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.test.d.ts +1 -0
- package/es-custom/components/user-avatar/user-avatar.test.js +128 -0
- package/es-custom/components/user-avatar/user-avatar.test.js.map +1 -0
- package/es-custom/globals/internal/handle.d.ts +18 -0
- package/es-custom/globals/internal/handle.js +8 -0
- package/es-custom/globals/internal/handle.js.map +1 -0
- package/es-custom/globals/internal/pconsole.d.ts +15 -0
- package/es-custom/globals/internal/pconsole.js +30 -0
- package/es-custom/globals/internal/pconsole.js.map +1 -0
- package/es-custom/globals/internal/storybook-cdn.js +78 -0
- package/es-custom/globals/internal/storybook-cdn.js.map +1 -0
- package/es-custom/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/es-custom/globals/js/utils/getSupportedLocale.js +35 -0
- package/es-custom/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/es-custom/globals/settings.d.ts +15 -0
- package/es-custom/globals/settings.js +28 -0
- package/es-custom/globals/settings.js.map +1 -0
- package/es-custom/index.d.ts +25 -0
- package/es-custom/index.js +25 -0
- package/es-custom/index.js.map +1 -0
- package/es-custom/node_modules/@carbon/layout/es/index.js +44 -0
- package/es-custom/node_modules/@carbon/layout/es/index.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +11 -0
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +1 -0
- package/es-custom/packages/ibm-products-web-components/package.json.js +13 -0
- package/es-custom/packages/ibm-products-web-components/package.json.js.map +1 -0
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.d.ts +41 -0
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.js +257 -0
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.js.map +1 -0
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.scss.js +13 -0
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.scss.js.map +1 -0
- package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.d.ts +41 -0
- package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js +255 -0
- package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js.map +1 -0
- package/es-custom/patterns/step-flow/index.d.ts +10 -0
- package/es-custom/patterns/step-flow/index.js +10 -0
- package/es-custom/patterns/step-flow/index.js.map +1 -0
- package/es-custom/patterns/step-flow/step-flow-signal.d.ts +24 -0
- package/es-custom/patterns/step-flow/step-flow-signal.js +54 -0
- package/es-custom/patterns/step-flow/step-flow-signal.js.map +1 -0
- package/es-custom/patterns/step-flow/step-flow-signal.test.d.ts +7 -0
- package/es-custom/patterns/step-flow/step-flow-signal.test.js +88 -0
- package/es-custom/patterns/step-flow/step-flow-signal.test.js.map +1 -0
- package/es-custom/patterns/step-flow/step-group.d.ts +15 -0
- package/es-custom/patterns/step-flow/step-group.js +28 -0
- package/es-custom/patterns/step-flow/step-group.js.map +1 -0
- package/es-custom/patterns/step-flow/story-styles.scss.js +13 -0
- package/es-custom/patterns/step-flow/story-styles.scss.js.map +1 -0
- package/es-custom/utilities/carousel/carousel.d.ts +14 -0
- package/es-custom/utilities/carousel/carousel.js +341 -0
- package/es-custom/utilities/carousel/carousel.js.map +1 -0
- package/es-custom/utilities/carousel/index.d.ts +8 -0
- package/es-custom/utilities/carousel/index.js +9 -0
- package/es-custom/utilities/carousel/index.js.map +1 -0
- package/es-custom/utilities/carousel/swipeEvents.d.ts +7 -0
- package/es-custom/utilities/carousel/swipeEvents.js +109 -0
- package/es-custom/utilities/carousel/swipeEvents.js.map +1 -0
- package/es-custom/utilities/carousel/types.d.ts +37 -0
- package/es-custom/utilities/carousel/types.js +8 -0
- package/es-custom/utilities/carousel/types.js.map +1 -0
- package/es-custom/utilities/makeDraggable/makeDraggable.d.ts +38 -0
- package/es-custom/utilities/makeDraggable/makeDraggable.js +136 -0
- package/es-custom/utilities/makeDraggable/makeDraggable.js.map +1 -0
- package/es-custom/utilities/manageFocusTrap/manageFocusTrap.d.ts +13 -0
- package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js +138 -0
- package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js.map +1 -0
- package/lib/components/about-modal/about-modal.d.ts +458 -0
- package/lib/components/about-modal/about-modal.test.d.ts +7 -0
- package/lib/components/about-modal/index.d.ts +9 -0
- package/lib/components/checklist/checklist-chart.d.ts +25 -0
- package/lib/components/checklist/checklist-group.d.ts +25 -0
- package/lib/components/checklist/checklist-icon.d.ts +26 -0
- package/lib/components/checklist/checklist-item.d.ts +41 -0
- package/lib/components/checklist/checklist.d.ts +73 -0
- package/lib/components/checklist/checklist.test.d.ts +7 -0
- package/lib/components/checklist/checklist.types.d.ts +22 -0
- package/lib/components/checklist/index.d.ts +13 -0
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +418 -0
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +9 -0
- package/lib/components/coachmark/coachmark-beacon/defs.d.ts +14 -0
- package/lib/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/lib/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/lib/components/coachmark/coachmark-beacon/index.d.ts +9 -0
- package/lib/components/coachmark/coachmark-body.d.ts +382 -0
- package/lib/components/coachmark/coachmark-context.d.ts +11 -0
- package/lib/components/coachmark/coachmark-header.d.ts +392 -0
- package/lib/components/coachmark/coachmark.d.ts +416 -0
- package/lib/components/coachmark/coachmark.test.d.ts +1 -0
- package/lib/components/coachmark/index.d.ts +11 -0
- package/lib/components/full-page-error/full-page-error.d.ts +43 -0
- package/lib/components/full-page-error/full-page-error.test.d.ts +7 -0
- package/lib/components/full-page-error/index.d.ts +9 -0
- package/lib/components/full-page-error/types.d.ts +13 -0
- package/lib/components/guide-banner/guide-banner-element.d.ts +378 -0
- package/lib/components/guide-banner/guide-banner.d.ts +398 -0
- package/lib/components/guide-banner/guide-banner.test.d.ts +1 -0
- package/lib/components/guide-banner/index.d.ts +10 -0
- package/lib/components/interstitial-screen/index.d.ts +13 -0
- package/lib/components/interstitial-screen/interstitial-screen-body-item.d.ts +388 -0
- package/lib/components/interstitial-screen/interstitial-screen-body.d.ts +402 -0
- package/lib/components/interstitial-screen/interstitial-screen-context.d.ts +18 -0
- package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts +429 -0
- package/lib/components/interstitial-screen/interstitial-screen-header.d.ts +413 -0
- package/lib/components/interstitial-screen/interstitial-screen.d.ts +441 -0
- package/lib/components/interstitial-screen/interstitial-screen.test.d.ts +1 -0
- package/lib/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/lib/components/notification-panel/date-time-context.d.ts +9 -0
- package/lib/components/notification-panel/defs.d.ts +8 -0
- package/lib/components/notification-panel/defs.js +10 -0
- package/lib/components/notification-panel/defs.js.map +1 -0
- package/lib/components/notification-panel/index.d.ts +11 -0
- package/lib/components/notification-panel/notification-footer.d.ts +405 -0
- package/lib/components/notification-panel/notification-footer.test.d.ts +7 -0
- package/lib/components/notification-panel/notification-panel.d.ts +479 -0
- package/lib/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/lib/components/notification-panel/notification.d.ts +415 -0
- package/lib/components/notification-panel/notification.test.d.ts +7 -0
- package/lib/components/options-tile/index.d.ts +9 -0
- package/lib/components/options-tile/options-tile.d.ts +416 -0
- package/lib/components/options-tile/options-tile.test.d.ts +1 -0
- package/lib/components/page-header/_story-assets/overflowHandler.d.ts +98 -0
- package/lib/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +43 -0
- package/lib/components/page-header/_story-assets/set-of-tags/index.d.ts +9 -0
- package/lib/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +40 -0
- package/lib/components/page-header/_story-assets/set-of-tags/utils.d.ts +23 -0
- package/lib/components/page-header/context.d.ts +15 -0
- package/lib/components/page-header/index.d.ts +16 -0
- package/lib/components/page-header/page-header-breadcrumb.d.ts +36 -0
- package/lib/components/page-header/page-header-content-text.d.ts +22 -0
- package/lib/components/page-header/page-header-content.d.ts +42 -0
- package/lib/components/page-header/page-header-hero-image.d.ts +18 -0
- package/lib/components/page-header/page-header-scroller.d.ts +56 -0
- package/lib/components/page-header/page-header-tabs.d.ts +18 -0
- package/lib/components/page-header/page-header-title-breadcrumb.d.ts +20 -0
- package/lib/components/page-header/page-header.d.ts +31 -0
- package/lib/components/page-header/page-header.test.d.ts +1 -0
- package/lib/components/page-header/utils.d.ts +32 -0
- package/lib/components/side-panel/_story-assets/index.d.ts +8 -0
- package/lib/components/side-panel/defs.d.ts +39 -0
- package/lib/components/side-panel/defs.js +51 -0
- package/lib/components/side-panel/defs.js.map +1 -0
- package/lib/components/side-panel/index.d.ts +9 -0
- package/lib/components/side-panel/side-panel.d.ts +571 -0
- package/lib/components/side-panel/side-panel.test.d.ts +3 -0
- package/lib/components/tearsheet/defs.d.ts +26 -0
- package/lib/components/tearsheet/defs.js +39 -0
- package/lib/components/tearsheet/defs.js.map +1 -0
- package/lib/components/tearsheet/index.d.ts +9 -0
- package/lib/components/tearsheet/tearsheet.d.ts +535 -0
- package/lib/components/tearsheet/tearsheet.test.d.ts +14 -0
- package/lib/components/tearsheet/utils.d.ts +34 -0
- package/lib/components/truncated-text/index.d.ts +9 -0
- package/lib/components/truncated-text/truncated-text.d.ts +78 -0
- package/lib/components/truncated-text/truncated-text.test.d.ts +7 -0
- package/lib/components/user-avatar/index.d.ts +9 -0
- package/lib/components/user-avatar/user-avatar.d.ts +425 -0
- package/lib/components/user-avatar/user-avatar.test.d.ts +1 -0
- package/lib/globals/internal/handle.d.ts +18 -0
- package/lib/globals/internal/pconsole.d.ts +15 -0
- package/lib/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/lib/globals/js/utils/getSupportedLocale.js +37 -0
- package/lib/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/lib/globals/settings.d.ts +15 -0
- package/lib/globals/settings.js +32 -0
- package/lib/globals/settings.js.map +1 -0
- package/lib/index.d.ts +25 -0
- package/lib/patterns/step-flow/_story-assets/step-full-page.d.ts +41 -0
- package/lib/patterns/step-flow/_story-assets/step-tearsheet.d.ts +41 -0
- package/lib/patterns/step-flow/index.d.ts +10 -0
- package/lib/patterns/step-flow/step-flow-signal.d.ts +24 -0
- package/lib/patterns/step-flow/step-flow-signal.test.d.ts +7 -0
- package/lib/patterns/step-flow/step-group.d.ts +15 -0
- package/lib/utilities/carousel/carousel.d.ts +14 -0
- package/lib/utilities/carousel/index.d.ts +8 -0
- package/lib/utilities/carousel/swipeEvents.d.ts +7 -0
- package/lib/utilities/carousel/types.d.ts +37 -0
- package/lib/utilities/makeDraggable/makeDraggable.d.ts +38 -0
- package/lib/utilities/manageFocusTrap/manageFocusTrap.d.ts +13 -0
- package/package.json +3 -3
- package/scss/components/about-modal/about-modal.scss +117 -0
- package/scss/components/checklist/checklist.scss +70 -0
- package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +91 -0
- package/scss/components/coachmark/coachmark-body.scss +19 -0
- package/scss/components/coachmark/coachmark-header.scss +32 -0
- package/scss/components/coachmark/coachmark.scss +30 -0
- package/scss/components/full-page-error/full-page-error.scss +29 -0
- package/scss/components/guide-banner/guide-banner.scss +30 -0
- package/scss/components/interstitial-screen/interstitial-screen-body-item.scss +18 -0
- package/scss/components/interstitial-screen/interstitial-screen-body.scss +29 -0
- package/scss/components/interstitial-screen/interstitial-screen-footer.scss +39 -0
- package/scss/components/interstitial-screen/interstitial-screen-header.scss +13 -0
- package/scss/components/interstitial-screen/interstitial-screen.scss +28 -0
- package/scss/components/notification-panel/notification-footer.scss +65 -0
- package/scss/components/notification-panel/notification-panel.scss +58 -0
- package/scss/components/notification-panel/notification.scss +147 -0
- package/scss/components/options-tile/options-tile.scss +102 -0
- package/scss/components/page-header/_story-assets/_storybook-styles.scss +35 -0
- package/scss/components/page-header/_story-assets/set-of-breadcrumbs.scss +41 -0
- package/scss/components/page-header/_story-assets/set-of-tags/set-of-tags.scss +96 -0
- package/scss/components/page-header/page-header.scss +422 -0
- package/scss/components/side-panel/side-panel.scss +307 -0
- package/scss/components/tearsheet/tearsheet.scss +343 -0
- package/scss/components/truncated-text/truncated-text.scss +110 -0
- package/scss/components/user-avatar/user-avatar.scss +119 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2025, 2025
|
|
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
|
+
import '@carbon/web-components/es/components/button/index.js';
|
|
10
|
+
import CDSButton from '@carbon/web-components/es/components/button/button';
|
|
11
|
+
/**
|
|
12
|
+
* Page header Scroller button
|
|
13
|
+
* @element c4p-page-header-scroller
|
|
14
|
+
*/
|
|
15
|
+
export declare class PageHeaderScroller extends CDSButton {
|
|
16
|
+
/**
|
|
17
|
+
* Specify how the trigger should align with the tooltip
|
|
18
|
+
*/
|
|
19
|
+
align: string;
|
|
20
|
+
/**
|
|
21
|
+
* Specify whether a auto align functionality should be applied
|
|
22
|
+
*/
|
|
23
|
+
autoalign: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Determines whether the tooltip should close when inner content is activated (click, Enter or Space)
|
|
26
|
+
*/
|
|
27
|
+
closeOnActivation: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Specify the collapse text for the scroller button
|
|
30
|
+
*/
|
|
31
|
+
collapseText: string;
|
|
32
|
+
/**
|
|
33
|
+
* Specify whether the tooltip should be open when it first renders
|
|
34
|
+
*/
|
|
35
|
+
defaultOpen: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Specify the duration in milliseconds to delay before displaying the tooltip
|
|
38
|
+
*/
|
|
39
|
+
enterDelayMs: number;
|
|
40
|
+
/**
|
|
41
|
+
* Specify the expand text for the scroller button
|
|
42
|
+
*/
|
|
43
|
+
expandText: string;
|
|
44
|
+
/**
|
|
45
|
+
* Specify the duration in milliseconds to delay before hiding the tooltip
|
|
46
|
+
*/
|
|
47
|
+
leaveDelayMs: number;
|
|
48
|
+
/**
|
|
49
|
+
* Specify the size of the Button. Defaults to `md`.
|
|
50
|
+
*/
|
|
51
|
+
size: string;
|
|
52
|
+
context: any;
|
|
53
|
+
protected _renderTooltipContent(): import("lit-html").TemplateResult<1>;
|
|
54
|
+
private _handleScroller;
|
|
55
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
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 { html } from 'lit';
|
|
10
|
+
import { property } from 'lit/decorators.js';
|
|
11
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
12
|
+
import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
|
|
13
|
+
import Chevron20 from '@carbon/icons/es/chevron--up/20';
|
|
14
|
+
import ChevronDown20 from '@carbon/icons/es/chevron--down/20';
|
|
15
|
+
import { iconLoader } from '@carbon/web-components/es/globals/internal/icon-loader.js';
|
|
16
|
+
import '@carbon/web-components/es/components/button/index.js';
|
|
17
|
+
import { pageHeaderContext } from './context.js';
|
|
18
|
+
import { consume } from '@lit/context';
|
|
19
|
+
import CDSButton from '@carbon/web-components/es/components/button/button';
|
|
20
|
+
import { prefix } from '../../globals/settings.js';
|
|
21
|
+
import { scrollableAncestorInner } from './utils.js';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @license
|
|
25
|
+
*
|
|
26
|
+
* Copyright IBM Corp. 2025, 2025
|
|
27
|
+
*
|
|
28
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
29
|
+
* LICENSE file in the root directory of this source tree.
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Page header Scroller button
|
|
33
|
+
* @element c4p-page-header-scroller
|
|
34
|
+
*/
|
|
35
|
+
let PageHeaderScroller = class PageHeaderScroller extends CDSButton {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments);
|
|
38
|
+
/**
|
|
39
|
+
* Specify how the trigger should align with the tooltip
|
|
40
|
+
*/
|
|
41
|
+
this.align = 'top';
|
|
42
|
+
/**
|
|
43
|
+
* Specify whether a auto align functionality should be applied
|
|
44
|
+
*/
|
|
45
|
+
this.autoalign = true;
|
|
46
|
+
/**
|
|
47
|
+
* Determines whether the tooltip should close when inner content is activated (click, Enter or Space)
|
|
48
|
+
*/
|
|
49
|
+
this.closeOnActivation = true;
|
|
50
|
+
/**
|
|
51
|
+
* Specify the collapse text for the scroller button
|
|
52
|
+
*/
|
|
53
|
+
this.collapseText = 'Collapse';
|
|
54
|
+
/**
|
|
55
|
+
* Specify whether the tooltip should be open when it first renders
|
|
56
|
+
*/
|
|
57
|
+
this.defaultOpen = false;
|
|
58
|
+
/**
|
|
59
|
+
* Specify the duration in milliseconds to delay before displaying the tooltip
|
|
60
|
+
*/
|
|
61
|
+
this.enterDelayMs = 100;
|
|
62
|
+
/**
|
|
63
|
+
* Specify the expand text for the scroller button
|
|
64
|
+
*/
|
|
65
|
+
this.expandText = 'Expand';
|
|
66
|
+
/**
|
|
67
|
+
* Specify the duration in milliseconds to delay before hiding the tooltip
|
|
68
|
+
*/
|
|
69
|
+
this.leaveDelayMs = 300;
|
|
70
|
+
/**
|
|
71
|
+
* Specify the size of the Button. Defaults to `md`.
|
|
72
|
+
*/
|
|
73
|
+
this.size = 'md';
|
|
74
|
+
this._handleScroller = () => {
|
|
75
|
+
const { root, fullyCollapsed } = this.context;
|
|
76
|
+
const contentElement = root.querySelector(`${prefix}-page-header-content`);
|
|
77
|
+
if (!contentElement) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const scrollableTarget = scrollableAncestorInner(contentElement);
|
|
81
|
+
// Page header content is not fully collapsed
|
|
82
|
+
if (!fullyCollapsed) {
|
|
83
|
+
const pageHeaderContentHeight = contentElement.offsetHeight;
|
|
84
|
+
scrollableTarget === null || scrollableTarget === void 0 ? void 0 : scrollableTarget.scrollTo({
|
|
85
|
+
top: pageHeaderContentHeight, // headerTopValue, check if breadcrumb bar is included
|
|
86
|
+
behavior: 'smooth',
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
// Page header content is fully collapsed
|
|
91
|
+
scrollableTarget === null || scrollableTarget === void 0 ? void 0 : scrollableTarget.scrollTo({ top: 0, behavior: 'smooth' });
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
_renderTooltipContent() {
|
|
96
|
+
return html `
|
|
97
|
+
<cds-tooltip-content>
|
|
98
|
+
<slot name="tooltip-content"></slot>
|
|
99
|
+
</cds-tooltip-content>
|
|
100
|
+
`;
|
|
101
|
+
}
|
|
102
|
+
render() {
|
|
103
|
+
const { align, closeOnActivation, defaultOpen, enterDelayMs, leaveDelayMs, disabled, isSelected, size, context, autoalign, } = this;
|
|
104
|
+
const iconClasses = classMap({
|
|
105
|
+
[`${prefix}--page-header-scroller-collapsed`]: !!(context === null || context === void 0 ? void 0 : context.fullyCollapsed),
|
|
106
|
+
[`${prefix}--page-header-scroller-icon`]: true,
|
|
107
|
+
});
|
|
108
|
+
return html `<cds-icon-button
|
|
109
|
+
align=${align}
|
|
110
|
+
?close-on-activation=${closeOnActivation}
|
|
111
|
+
?defaultOpen=${defaultOpen}
|
|
112
|
+
?disabled=${disabled}
|
|
113
|
+
enter-delay-ms=${enterDelayMs}
|
|
114
|
+
?isSelected=${isSelected}
|
|
115
|
+
kind="ghost"
|
|
116
|
+
leave-delay-ms=${leaveDelayMs}
|
|
117
|
+
size=${size}
|
|
118
|
+
?autoalign=${autoalign}
|
|
119
|
+
class=${iconClasses}
|
|
120
|
+
@click=${this._handleScroller}
|
|
121
|
+
>
|
|
122
|
+
${(context === null || context === void 0 ? void 0 : context.fullyCollapsed)
|
|
123
|
+
? html `${iconLoader(ChevronDown20, { slot: 'icon' })}`
|
|
124
|
+
: html `${iconLoader(Chevron20, { slot: 'icon' })}`}
|
|
125
|
+
<span slot="tooltip-content">
|
|
126
|
+
${(context === null || context === void 0 ? void 0 : context.fullyCollapsed) ? this.expandText : this.collapseText}
|
|
127
|
+
</span>
|
|
128
|
+
</cds-icon-button>`;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
__decorate([
|
|
132
|
+
property({ reflect: true, type: String })
|
|
133
|
+
], PageHeaderScroller.prototype, "align", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
property({ type: Boolean, reflect: true })
|
|
136
|
+
], PageHeaderScroller.prototype, "autoalign", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
property({ attribute: 'close-on-activation', reflect: true, type: Boolean })
|
|
139
|
+
], PageHeaderScroller.prototype, "closeOnActivation", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
property({ reflect: true, type: String })
|
|
142
|
+
], PageHeaderScroller.prototype, "collapseText", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
property({ reflect: true, type: Boolean })
|
|
145
|
+
], PageHeaderScroller.prototype, "defaultOpen", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
property({ attribute: 'enter-delay-ms', type: Number })
|
|
148
|
+
], PageHeaderScroller.prototype, "enterDelayMs", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
property({ reflect: true, type: String })
|
|
151
|
+
], PageHeaderScroller.prototype, "expandText", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
property({ attribute: 'leave-delay-ms', type: Number })
|
|
154
|
+
], PageHeaderScroller.prototype, "leaveDelayMs", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
property({ reflect: true })
|
|
157
|
+
], PageHeaderScroller.prototype, "size", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
consume({ context: pageHeaderContext, subscribe: true })
|
|
160
|
+
], PageHeaderScroller.prototype, "context", void 0);
|
|
161
|
+
PageHeaderScroller = __decorate([
|
|
162
|
+
carbonElement(`${prefix}-page-header-scroller`)
|
|
163
|
+
], PageHeaderScroller);
|
|
164
|
+
|
|
165
|
+
export { PageHeaderScroller };
|
|
166
|
+
//# sourceMappingURL=page-header-scroller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-header-scroller.js","sources":["../../../src/components/page-header/page-header-scroller.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAgBH;;;AAGG;AAEI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,SAAS,CAAA;AAA1C,IAAA,WAAA,GAAA;;AACL;;AAEG;QAEH,IAAK,CAAA,KAAA,GAAG,KAAK;AAEb;;AAEG;QAEH,IAAS,CAAA,SAAA,GAAG,IAAI;AAEhB;;AAEG;QAEH,IAAiB,CAAA,iBAAA,GAAG,IAAI;AAExB;;AAEG;QAEH,IAAY,CAAA,YAAA,GAAG,UAAU;AAEzB;;AAEG;QAEH,IAAW,CAAA,WAAA,GAAG,KAAK;AAEnB;;AAEG;QAEH,IAAY,CAAA,YAAA,GAAG,GAAG;AAElB;;AAEG;QAEH,IAAU,CAAA,UAAA,GAAG,QAAQ;AAErB;;A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ClC,CAAA,EAAA,kBAAkB,CAiI9B;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2025, 2025
|
|
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
|
+
import { LitElement } from 'lit';
|
|
10
|
+
/**
|
|
11
|
+
* Page header Tabs Bar.
|
|
12
|
+
* @element c4p-page-header-tabs
|
|
13
|
+
*/
|
|
14
|
+
declare class CDSPageHeaderTabs extends LitElement {
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
static styles: any;
|
|
17
|
+
}
|
|
18
|
+
export default CDSPageHeaderTabs;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { prefix, carbonPrefix } from '../../globals/settings.js';
|
|
11
|
+
import styles from './page-header.scss.js';
|
|
12
|
+
import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @license
|
|
16
|
+
*
|
|
17
|
+
* Copyright IBM Corp. 2025, 2025
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Page header Tabs Bar.
|
|
24
|
+
* @element c4p-page-header-tabs
|
|
25
|
+
*/
|
|
26
|
+
let CDSPageHeaderTabs = class CDSPageHeaderTabs extends LitElement {
|
|
27
|
+
render() {
|
|
28
|
+
return html ` <div class="${carbonPrefix}--css-grid" condensed="">
|
|
29
|
+
<div
|
|
30
|
+
class="${carbonPrefix}--sm:col-span-4 ${carbonPrefix}--md:col-span-8 ${carbonPrefix}--lg:col-span-16 ${carbonPrefix}--css-grid-column"
|
|
31
|
+
>
|
|
32
|
+
<div class="${prefix}--page-header__tab-bar--tablist">
|
|
33
|
+
<slot></slot>
|
|
34
|
+
<slot name="tags"></slot>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<slot name="scroller"></slot>
|
|
38
|
+
</div>`;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
CDSPageHeaderTabs.styles = styles;
|
|
42
|
+
CDSPageHeaderTabs = __decorate([
|
|
43
|
+
carbonElement(`${prefix}-page-header-tabs`)
|
|
44
|
+
], CDSPageHeaderTabs);
|
|
45
|
+
var CDSPageHeaderTabs$1 = CDSPageHeaderTabs;
|
|
46
|
+
|
|
47
|
+
export { CDSPageHeaderTabs$1 as default };
|
|
48
|
+
//# sourceMappingURL=page-header-tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-header-tabs.js","sources":["../../../src/components/page-header/page-header-tabs.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAOH;;;AAGG;AAEH,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU,CAAA;IACxC,MAAM,GAAA;QACJ,OAAO,IAAI,CAAA,CAAA,aAAA,EAAgB,YAAY,CAAA;;AAE1B,eAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,CAAmB,gBAAA,EAAA,YAAY,oBAAoB,YAAY,CAAA;;sBAErG,MAAM,CAAA;;;;;;WAMjB;;;AAGF,iBAAM,CAAA,MAAA,GAAG,MAAH;AAfT,iBAAiB,GAAA,UAAA,CAAA;AADtB,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,iBAAA,CAAmB;AACrC,CAAA,EAAA,iBAAiB,CAgBtB;AAED,0BAAe,iBAAiB;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2025, 2025
|
|
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
|
+
import CDSBreadcrumbItem from '@carbon/web-components/es/components/breadcrumb/breadcrumb-item';
|
|
10
|
+
/**
|
|
11
|
+
* Page header Title Breadcrumb
|
|
12
|
+
* @element c4p-page-header-title-breadcrumb
|
|
13
|
+
*/
|
|
14
|
+
declare class CDSPageHeaderTitleBreadcrumb extends CDSBreadcrumbItem {
|
|
15
|
+
context: any;
|
|
16
|
+
constructor();
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
static styles: any;
|
|
19
|
+
}
|
|
20
|
+
export default CDSPageHeaderTitleBreadcrumb;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { html } from 'lit';
|
|
10
|
+
import { consume, ContextConsumer } from '@lit/context';
|
|
11
|
+
import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
|
|
12
|
+
import CDSBreadcrumbItem from '@carbon/web-components/es/components/breadcrumb/breadcrumb-item';
|
|
13
|
+
import { prefix } from '../../globals/settings.js';
|
|
14
|
+
import styles from './page-header.scss.js';
|
|
15
|
+
import { pageHeaderContext } from './context.js';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @license
|
|
19
|
+
*
|
|
20
|
+
* Copyright IBM Corp. 2025, 2025
|
|
21
|
+
*
|
|
22
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
23
|
+
* LICENSE file in the root directory of this source tree.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Page header Title Breadcrumb
|
|
27
|
+
* @element c4p-page-header-title-breadcrumb
|
|
28
|
+
*/
|
|
29
|
+
let CDSPageHeaderTitleBreadcrumb = class CDSPageHeaderTitleBreadcrumb extends CDSBreadcrumbItem {
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
new ContextConsumer(this, {
|
|
33
|
+
context: pageHeaderContext,
|
|
34
|
+
subscribe: true,
|
|
35
|
+
callback: (state) => {
|
|
36
|
+
if (state.titleClipped) {
|
|
37
|
+
this.classList.add(`${prefix}--page-header-title-breadcrumb-show__fallback`);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this.classList.remove(`${prefix}--page-header-title-breadcrumb-show__fallback`);
|
|
41
|
+
}
|
|
42
|
+
if (state.withContent) {
|
|
43
|
+
this.classList.add(`${prefix}--page-header-title-breadcrumb-show__with-content`);
|
|
44
|
+
this.classList.remove(`${prefix}--page-header-title-breadcrumb-show__by-default`);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
this.classList.remove(`${prefix}--page-header-title-breadcrumb-show__with-content`);
|
|
48
|
+
this.classList.add(`${prefix}--page-header-title-breadcrumb-show__by-default`);
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
return html `
|
|
55
|
+
<cds-breadcrumb-item class="${prefix}--page-header-title-breadcrumb">
|
|
56
|
+
<slot></slot>
|
|
57
|
+
</cds-breadcrumb-item>
|
|
58
|
+
`;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
CDSPageHeaderTitleBreadcrumb.styles = styles;
|
|
62
|
+
__decorate([
|
|
63
|
+
consume({ context: pageHeaderContext, subscribe: true })
|
|
64
|
+
], CDSPageHeaderTitleBreadcrumb.prototype, "context", void 0);
|
|
65
|
+
CDSPageHeaderTitleBreadcrumb = __decorate([
|
|
66
|
+
carbonElement(`${prefix}-page-header-title-breadcrumb`)
|
|
67
|
+
], CDSPageHeaderTitleBreadcrumb);
|
|
68
|
+
var CDSPageHeaderTitleBreadcrumb$1 = CDSPageHeaderTitleBreadcrumb;
|
|
69
|
+
|
|
70
|
+
export { CDSPageHeaderTitleBreadcrumb$1 as default };
|
|
71
|
+
//# sourceMappingURL=page-header-title-breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-header-title-breadcrumb.js","sources":["../../../src/components/page-header/page-header-title-breadcrumb.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAWH;;;AAGG;AAEH,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,iBAAiB,CAAA;AAI1D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QACP,IAAI,eAAe,CAAC,IAAI,EAAE;AACxB,YAAA,OAAO,EAAE,iBAAiB;AAC1B,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,QAAQ,EAAE,CAAC,KAAK,KAAI;AAClB,gBAAA,IAAK,KAA+B,CAAC,YAAY,EAAE;oBACjD,IAAI,CAAC,SAAS,CAAC,GAAG,CAChB,CAAG,EAAA,MAAM,CAA+C,6CAAA,CAAA,CACzD;;qBACI;oBACL,IAAI,CAAC,SAAS,CAAC,MAAM,CACnB,CAAG,EAAA,MAAM,CAA+C,6CAAA,CAAA,CACzD;;AAEH,gBAAA,IAAK,KAA+B,CAAC,WAAW,EAAE;oBAChD,IAAI,CAAC,SAAS,CAAC,GAAG,CAChB,CAAG,EAAA,MAAM,CAAmD,iDAAA,CAAA,CAC7D;oBACD,IAAI,CAAC,SAAS,CAAC,MAAM,CACnB,CAAG,EAAA,MAAM,CAAiD,+CAAA,CAAA,CAC3D;;qBACI;oBACL,IAAI,CAAC,SAAS,CAAC,MAAM,CACnB,CAAG,EAAA,MAAM,CAAmD,iDAAA,CAAA,CAC7D;oBACD,IAAI,CAAC,SAAS,CAAC,GAAG,CAChB,CAAG,EAAA,MAAM,CAAiD,+CAAA,CAAA,CAC3D;;aAEJ;AACF,SAAA,CAAC;;IAEJ,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,CAAA;oCACqB,MAAM,CAAA;;;KAGrC;;;AAGI,4BAAM,CAAA,MAAA,GAAG,MAAH;AA3Cb,UAAA,CAAA;IADC,OAAO,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,IAAI,EAAE;AAChD,CAAA,EAAA,4BAAA,CAAA,SAAA,EAAA,SAAA,EAAA,MAAA,CAAA;AAFJ,4BAA4B,GAAA,UAAA,CAAA;AADjC,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,6BAAA,CAA+B;AACjD,CAAA,EAAA,4BAA4B,CA8CjC;AAED,qCAAe,4BAA4B;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2025, 2025
|
|
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
|
+
import { LitElement } from 'lit';
|
|
10
|
+
export interface pageHeaderContextType {
|
|
11
|
+
breadcrumbOffset?: number;
|
|
12
|
+
headerOffset?: number;
|
|
13
|
+
fullyCollapsed?: boolean;
|
|
14
|
+
titleClipped?: boolean;
|
|
15
|
+
contentActionsClipped?: boolean;
|
|
16
|
+
root?: CDSPageHeader | null;
|
|
17
|
+
withContent?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Page header.
|
|
21
|
+
* @element c4p-page-header
|
|
22
|
+
*/
|
|
23
|
+
declare class CDSPageHeader extends LitElement {
|
|
24
|
+
context: pageHeaderContextType;
|
|
25
|
+
private resizeObserver;
|
|
26
|
+
connectedCallback(): void;
|
|
27
|
+
disconnectedCallback(): void;
|
|
28
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
29
|
+
static styles: any;
|
|
30
|
+
}
|
|
31
|
+
export default CDSPageHeader;
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { state } from 'lit/decorators.js';
|
|
11
|
+
import { provide } from '@lit/context';
|
|
12
|
+
import { prefix } from '../../globals/settings.js';
|
|
13
|
+
import styles from './page-header.scss.js';
|
|
14
|
+
import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
|
|
15
|
+
import { pageHeaderContext } from './context.js';
|
|
16
|
+
import { getHeaderOffset } from './utils.js';
|
|
17
|
+
import CDSPageHeaderContent from './page-header-content.js';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @license
|
|
21
|
+
*
|
|
22
|
+
* Copyright IBM Corp. 2025, 2025
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Page header.
|
|
29
|
+
* @element c4p-page-header
|
|
30
|
+
*/
|
|
31
|
+
let CDSPageHeader = class CDSPageHeader extends LitElement {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.context = {};
|
|
35
|
+
}
|
|
36
|
+
connectedCallback() {
|
|
37
|
+
super.connectedCallback();
|
|
38
|
+
const contentElement = this.querySelector(`${prefix}-page-header-content`);
|
|
39
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
const pageHeaderElement = entries[0];
|
|
42
|
+
const contentEl = pageHeaderElement.target.querySelector(`${prefix}-page-header-content`);
|
|
43
|
+
const contentHeight = contentEl instanceof CDSPageHeaderContent ? contentEl.scrollHeight : 0;
|
|
44
|
+
const padding = contentEl instanceof CDSPageHeaderContent
|
|
45
|
+
? parseFloat((_a = getComputedStyle(contentEl)) === null || _a === void 0 ? void 0 : _a.paddingBlockStart) +
|
|
46
|
+
parseFloat((_b = getComputedStyle(contentEl)) === null || _b === void 0 ? void 0 : _b.paddingBlockEnd)
|
|
47
|
+
: 0;
|
|
48
|
+
const totalContentHeight = contentHeight + padding;
|
|
49
|
+
const headerOffset = getHeaderOffset(this);
|
|
50
|
+
const contentPadding = contentEl instanceof CDSPageHeaderContent ? 48 : 0;
|
|
51
|
+
this.style.setProperty(`--${prefix}-page-header-header-top`, `${(Math.round(totalContentHeight - contentPadding) - headerOffset) * -1}px`);
|
|
52
|
+
this.style.setProperty(`--${prefix}-page-header-breadcrumb-top`, `${headerOffset}px`);
|
|
53
|
+
this.context = Object.assign(Object.assign({}, this.context), { breadcrumbOffset: headerOffset, headerOffset: (Math.round(totalContentHeight) - headerOffset) * -1, root: this, withContent: !!contentEl });
|
|
54
|
+
});
|
|
55
|
+
this.resizeObserver.observe(this);
|
|
56
|
+
const predefinedContentPadding = 24;
|
|
57
|
+
const totalHeaderOffset = getHeaderOffset(this);
|
|
58
|
+
const contentObserver = new IntersectionObserver((entries) => {
|
|
59
|
+
entries.forEach((entry) => {
|
|
60
|
+
if (!entry.isIntersecting) {
|
|
61
|
+
this.context = Object.assign(Object.assign({}, this.context), { fullyCollapsed: true });
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
this.context = Object.assign(Object.assign({}, this.context), { fullyCollapsed: false });
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}, {
|
|
68
|
+
root: null,
|
|
69
|
+
rootMargin: `${(predefinedContentPadding + totalHeaderOffset + 40) * -1}px 0px 0px 0px`,
|
|
70
|
+
threshold: 0.1,
|
|
71
|
+
});
|
|
72
|
+
const titleObserver = new IntersectionObserver((entries) => {
|
|
73
|
+
entries.forEach((entry) => {
|
|
74
|
+
if (!entry.isIntersecting) {
|
|
75
|
+
this.context = Object.assign(Object.assign({}, this.context), { titleClipped: true });
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.context = Object.assign(Object.assign({}, this.context), { titleClipped: false });
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
}, {
|
|
82
|
+
root: null,
|
|
83
|
+
rootMargin: `${(predefinedContentPadding + totalHeaderOffset + 40) * -1}px 0px 0px 0px`,
|
|
84
|
+
threshold: 0.95,
|
|
85
|
+
});
|
|
86
|
+
const actionsObserver = new IntersectionObserver((entries) => {
|
|
87
|
+
entries.forEach((entry) => {
|
|
88
|
+
if (!entry.isIntersecting) {
|
|
89
|
+
this.context = Object.assign(Object.assign({}, this.context), { contentActionsClipped: true });
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.context = Object.assign(Object.assign({}, this.context), { contentActionsClipped: false });
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}, {
|
|
96
|
+
root: null,
|
|
97
|
+
// 48 -> breadcrumb bar
|
|
98
|
+
// 18 -> content padding
|
|
99
|
+
rootMargin: `${(totalHeaderOffset + 48 + 18) * -1}px 0px 0px 0px`,
|
|
100
|
+
threshold: 0.95,
|
|
101
|
+
});
|
|
102
|
+
if (contentElement) {
|
|
103
|
+
contentObserver.observe(contentElement);
|
|
104
|
+
titleObserver.observe(contentElement);
|
|
105
|
+
actionsObserver.observe(contentElement);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
disconnectedCallback() {
|
|
109
|
+
var _a;
|
|
110
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect(); // Clean up
|
|
111
|
+
super.disconnectedCallback();
|
|
112
|
+
}
|
|
113
|
+
render() {
|
|
114
|
+
return html `<slot></slot>`;
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
CDSPageHeader.styles = styles;
|
|
118
|
+
__decorate([
|
|
119
|
+
state(),
|
|
120
|
+
provide({ context: pageHeaderContext })
|
|
121
|
+
], CDSPageHeader.prototype, "context", void 0);
|
|
122
|
+
CDSPageHeader = __decorate([
|
|
123
|
+
carbonElement(`${prefix}-page-header`)
|
|
124
|
+
], CDSPageHeader);
|
|
125
|
+
var CDSPageHeader$1 = CDSPageHeader;
|
|
126
|
+
|
|
127
|
+
export { CDSPageHeader$1 as default };
|
|
128
|
+
//# sourceMappingURL=page-header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-header.js","sources":["../../../src/components/page-header/page-header.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAsBH;;;AAGG;AAEH,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,UAAU,CAAA;AAAtC,IAAA,WAAA,GAAA;;QAGE,IAAO,CAAA,OAAA,GAA0B,EAAE;;IAInC,iBAAiB,GAAA;QACf,KAAK,CAAC,iBAAiB,EAAE;QACzB,MAAM,cAAc,GAAG,IAAI,CAAC,aAAa,CAAC,CAAG,EAAA,MAAM,CAAsB,oBAAA,CAAA,CAAC;QAE1E,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,CAAC,OAAO,KAAI;;AACnD,YAAA,MAAM,iBAAiB,GAAG,OAAO,CAAC,CAAC,CAAC;AACpC,YAAA,MAAM,SAAS,GAAG,iBAAiB,CAAC,MAAM,CAAC,aAAa,CACtD,CAAG,EAAA,MAAM,CAAsB,oBAAA,CAAA,CAChC;AACD,YAAA,MAAM,aAAa,GACjB,SAAS,YAAY,oBAAoB,GAAG,SAAS,C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