@carbon/ibm-products-web-components 0.30.0-rc.0 → 0.31.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +5202 -0
- package/es/components/about-modal/_story-assets/ansible-logo.svg.js +11 -0
- package/es/components/about-modal/_story-assets/ansible-logo.svg.js.map +1 -0
- package/es/components/about-modal/_story-assets/grafana-logo.svg.js +11 -0
- package/es/components/about-modal/_story-assets/grafana-logo.svg.js.map +1 -0
- package/es/components/about-modal/_story-assets/js-logo.svg.js +11 -0
- package/es/components/about-modal/_story-assets/js-logo.svg.js.map +1 -0
- package/es/components/about-modal/about-modal-helpers.d.ts +15 -0
- package/es/components/about-modal/about-modal-helpers.js +141 -0
- package/es/components/about-modal/about-modal-helpers.js.map +1 -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-footer.figma.js +31 -0
- package/es/components/notification-panel/notification-panel-footer.figma.js.map +1 -0
- package/es/components/notification-panel/notification-panel.d.ts +479 -0
- package/es/components/notification-panel/notification-panel.figma.js +114 -0
- package/es/components/notification-panel/notification-panel.figma.js.map +1 -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.figma.js +55 -0
- package/es/components/notification-panel/notification.figma.js.map +1 -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-side-panel.d.ts +38 -0
- package/es/patterns/step-flow/_story-assets/step-side-panel.js +217 -0
- package/es/patterns/step-flow/_story-assets/step-side-panel.js.map +1 -0
- package/es/patterns/step-flow/_story-assets/step-side-panel.scss.js +13 -0
- package/es/patterns/step-flow/_story-assets/step-side-panel.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/_story-assets/ansible-logo.svg.js +11 -0
- package/es-custom/components/about-modal/_story-assets/ansible-logo.svg.js.map +1 -0
- package/es-custom/components/about-modal/_story-assets/grafana-logo.svg.js +11 -0
- package/es-custom/components/about-modal/_story-assets/grafana-logo.svg.js.map +1 -0
- package/es-custom/components/about-modal/_story-assets/js-logo.svg.js +11 -0
- package/es-custom/components/about-modal/_story-assets/js-logo.svg.js.map +1 -0
- package/es-custom/components/about-modal/about-modal-helpers.d.ts +15 -0
- package/es-custom/components/about-modal/about-modal-helpers.js +141 -0
- package/es-custom/components/about-modal/about-modal-helpers.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-footer.figma.js +31 -0
- package/es-custom/components/notification-panel/notification-panel-footer.figma.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.d.ts +479 -0
- package/es-custom/components/notification-panel/notification-panel.figma.js +114 -0
- package/es-custom/components/notification-panel/notification-panel.figma.js.map +1 -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.figma.js +55 -0
- package/es-custom/components/notification-panel/notification.figma.js.map +1 -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-side-panel.d.ts +38 -0
- package/es-custom/patterns/step-flow/_story-assets/step-side-panel.js +217 -0
- package/es-custom/patterns/step-flow/_story-assets/step-side-panel.js.map +1 -0
- package/es-custom/patterns/step-flow/_story-assets/step-side-panel.scss.js +13 -0
- package/es-custom/patterns/step-flow/_story-assets/step-side-panel.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-helpers.d.ts +15 -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-side-panel.d.ts +38 -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 +5 -4
- 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,370 @@
|
|
|
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 { BUTTON_KIND } from '@carbon/web-components/es/components/button/defs.js';
|
|
9
|
+
import '@carbon/web-components/es/components/tabs/index.js';
|
|
10
|
+
import '@carbon/web-components/es/components/text-input/index.js';
|
|
11
|
+
import '@carbon/web-components/es/components/textarea/index.js';
|
|
12
|
+
import '@carbon/web-components/es/components/slug/index.js';
|
|
13
|
+
import '@carbon/web-components/es/components/ai-label/index.js';
|
|
14
|
+
import '@carbon/web-components/es/components/toggle-tip/index.js';
|
|
15
|
+
import '@carbon/web-components/es/components/dropdown/index.js';
|
|
16
|
+
import '@carbon/web-components/es/components/progress-indicator/index.js';
|
|
17
|
+
import '@carbon/web-components/es/components/progress-bar/index.js';
|
|
18
|
+
import './tearsheet.js';
|
|
19
|
+
import '../truncated-text/truncated-text.js';
|
|
20
|
+
import { html } from 'lit';
|
|
21
|
+
import { prefix } from '../../globals/settings.js';
|
|
22
|
+
import styles from './story-styles.scss.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @license
|
|
26
|
+
*
|
|
27
|
+
* Copyright IBM Corp. 2024, 2024
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
30
|
+
* LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/
|
|
32
|
+
const storyPrefix = 'tearsheet-stories';
|
|
33
|
+
const cancelButton = () => {
|
|
34
|
+
var _a;
|
|
35
|
+
(_a = document.querySelector(`${prefix}-tearsheet`)) === null || _a === void 0 ? void 0 : _a.removeAttribute('open');
|
|
36
|
+
};
|
|
37
|
+
const influencers = {
|
|
38
|
+
'No influencer': 0,
|
|
39
|
+
'Simple influencer': 1,
|
|
40
|
+
'Progress influencer': 2,
|
|
41
|
+
};
|
|
42
|
+
const getInfluencer = (index) => {
|
|
43
|
+
switch (index) {
|
|
44
|
+
case 1:
|
|
45
|
+
return html `<div
|
|
46
|
+
slot="influencer"
|
|
47
|
+
class=${`${storyPrefix}__dummy-content-block`}
|
|
48
|
+
>
|
|
49
|
+
Influencer
|
|
50
|
+
</div>`;
|
|
51
|
+
case 2:
|
|
52
|
+
return html ` <cds-progress-indicator
|
|
53
|
+
vertical
|
|
54
|
+
slot="influencer"
|
|
55
|
+
class=${`${storyPrefix}__dummy-content-block`}
|
|
56
|
+
>
|
|
57
|
+
<cds-progress-step
|
|
58
|
+
state="complete"
|
|
59
|
+
label="First step"
|
|
60
|
+
secondary-label="Optional label"
|
|
61
|
+
description="Step 1: Getting started with Carbon Design System"
|
|
62
|
+
></cds-progress-step>
|
|
63
|
+
<cds-progress-step
|
|
64
|
+
label="Second step with tooltip"
|
|
65
|
+
state="current"
|
|
66
|
+
></cds-progress-step>
|
|
67
|
+
<cds-progress-step
|
|
68
|
+
label="Third step with tooltip"
|
|
69
|
+
state="incomplete"
|
|
70
|
+
></cds-progress-step>
|
|
71
|
+
<cds-progress-step
|
|
72
|
+
label="Fourth step"
|
|
73
|
+
secondary-label="Example invalid step"
|
|
74
|
+
state="invalid"
|
|
75
|
+
></cds-progress-step>
|
|
76
|
+
<cds-progress-step
|
|
77
|
+
disabled
|
|
78
|
+
label="Fifth step"
|
|
79
|
+
state="incomplete"
|
|
80
|
+
></cds-progress-step>
|
|
81
|
+
</cds-progress-indicator>`;
|
|
82
|
+
default:
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const getContent = (index) => {
|
|
87
|
+
switch (index) {
|
|
88
|
+
case 1:
|
|
89
|
+
return html `
|
|
90
|
+
<style>
|
|
91
|
+
${styles}
|
|
92
|
+
</style>
|
|
93
|
+
<div class=${`${storyPrefix}__dummy-content-block`}>
|
|
94
|
+
<h5>Section</h5>
|
|
95
|
+
<cds-text-input
|
|
96
|
+
label="Input A"
|
|
97
|
+
id="tearsheet-story-text-input-a"
|
|
98
|
+
class="${storyPrefix}text-input"
|
|
99
|
+
></cds-text-input>
|
|
100
|
+
<cds-text-input
|
|
101
|
+
label="Input B"
|
|
102
|
+
id="tearsheet-story-text-input-b"
|
|
103
|
+
class="${storyPrefix}text-input"
|
|
104
|
+
></cds-text-input>
|
|
105
|
+
</div>
|
|
106
|
+
`;
|
|
107
|
+
case 2:
|
|
108
|
+
return html ` <style>
|
|
109
|
+
${styles}
|
|
110
|
+
</style>
|
|
111
|
+
<div class=${`${storyPrefix}__dummy-content-block`}>
|
|
112
|
+
<h5>Section</h5>
|
|
113
|
+
<div class="${storyPrefix}text-inputs">
|
|
114
|
+
<cds-text-input
|
|
115
|
+
label="Input A"
|
|
116
|
+
id="tearsheet-story-text-input-a"
|
|
117
|
+
></cds-text-input>
|
|
118
|
+
<cds-text-input
|
|
119
|
+
label="Input B"
|
|
120
|
+
id="tearsheet-story-text-input-b"
|
|
121
|
+
></cds-text-input>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="${storyPrefix}text-inputs">
|
|
124
|
+
<cds-text-input
|
|
125
|
+
label="Input C"
|
|
126
|
+
id="tearsheet-story-text-input-c"
|
|
127
|
+
></cds-text-input>
|
|
128
|
+
<cds-text-input
|
|
129
|
+
label="Input D"
|
|
130
|
+
id="tearsheet-story-text-input-d"
|
|
131
|
+
></cds-text-input>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="${storyPrefix}textarea-container">
|
|
134
|
+
<cds-textarea
|
|
135
|
+
label="Notes"
|
|
136
|
+
value="This is a text area"
|
|
137
|
+
></cds-textarea>
|
|
138
|
+
<cds-textarea
|
|
139
|
+
label="Notes"
|
|
140
|
+
value="This is a text area"
|
|
141
|
+
></cds-textarea>
|
|
142
|
+
<cds-textarea
|
|
143
|
+
label="Notes"
|
|
144
|
+
value="This is a text area"
|
|
145
|
+
></cds-textarea>
|
|
146
|
+
</div>
|
|
147
|
+
</div>`;
|
|
148
|
+
default:
|
|
149
|
+
return null;
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
const getLabel = (index) => {
|
|
153
|
+
switch (index) {
|
|
154
|
+
case 1:
|
|
155
|
+
return html `<span slot="label">Optional label for context</span>`;
|
|
156
|
+
case 2:
|
|
157
|
+
return html `<span slot="label"
|
|
158
|
+
>A longer label giving a bit more context
|
|
159
|
+
</span>`;
|
|
160
|
+
default:
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
const getActionToolbarItems = (index) => {
|
|
165
|
+
switch (index) {
|
|
166
|
+
case 1:
|
|
167
|
+
return html `<cds-dropdown slot="header-actions" value="option 1">
|
|
168
|
+
${['option 1', 'option 2', 'option 3', 'option 4'].map((option) => html ` <cds-dropdown-item value="${option}"
|
|
169
|
+
>${option}</cds-dropdown-item
|
|
170
|
+
>`)}
|
|
171
|
+
</cds-dropdown>`;
|
|
172
|
+
case 2:
|
|
173
|
+
return html `
|
|
174
|
+
<cds-button
|
|
175
|
+
slot="header-actions"
|
|
176
|
+
kind=${BUTTON_KIND.SECONDARY}
|
|
177
|
+
size="sm"
|
|
178
|
+
style="width: initial"
|
|
179
|
+
>
|
|
180
|
+
Secondary
|
|
181
|
+
</cds-button>
|
|
182
|
+
<cds-button
|
|
183
|
+
slot="header-actions"
|
|
184
|
+
kind=${BUTTON_KIND.PRIMARY}
|
|
185
|
+
size="sm"
|
|
186
|
+
style="width: initial"
|
|
187
|
+
>
|
|
188
|
+
Primary
|
|
189
|
+
</cds-button>
|
|
190
|
+
`;
|
|
191
|
+
default:
|
|
192
|
+
return null;
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
const toActions = (kinds) => {
|
|
196
|
+
return kinds === null || kinds === void 0 ? void 0 : kinds.map((kind) => {
|
|
197
|
+
return html `<cds-button
|
|
198
|
+
key=${kind}
|
|
199
|
+
slot="actions"
|
|
200
|
+
kind=${kind}
|
|
201
|
+
@click=${kind === 'ghost' && cancelButton}
|
|
202
|
+
>
|
|
203
|
+
${kind.charAt(0).toUpperCase() + kind.slice(1)}
|
|
204
|
+
</cds-button>`;
|
|
205
|
+
});
|
|
206
|
+
};
|
|
207
|
+
// TODO: There are problems switching this
|
|
208
|
+
const getActionItems = (index) => {
|
|
209
|
+
switch (index) {
|
|
210
|
+
case 1:
|
|
211
|
+
return toActions([BUTTON_KIND.PRIMARY]);
|
|
212
|
+
case 2:
|
|
213
|
+
return toActions([BUTTON_KIND.GHOST, BUTTON_KIND.PRIMARY]);
|
|
214
|
+
case 3:
|
|
215
|
+
return toActions([BUTTON_KIND.DANGER, BUTTON_KIND.PRIMARY]);
|
|
216
|
+
case 4:
|
|
217
|
+
return toActions([
|
|
218
|
+
BUTTON_KIND.GHOST,
|
|
219
|
+
BUTTON_KIND.SECONDARY,
|
|
220
|
+
BUTTON_KIND.PRIMARY,
|
|
221
|
+
]);
|
|
222
|
+
case 5:
|
|
223
|
+
return toActions([
|
|
224
|
+
BUTTON_KIND.DANGER,
|
|
225
|
+
BUTTON_KIND.SECONDARY,
|
|
226
|
+
BUTTON_KIND.PRIMARY,
|
|
227
|
+
]);
|
|
228
|
+
case 6:
|
|
229
|
+
return toActions([
|
|
230
|
+
BUTTON_KIND.GHOST,
|
|
231
|
+
BUTTON_KIND.TERTIARY,
|
|
232
|
+
BUTTON_KIND.SECONDARY,
|
|
233
|
+
BUTTON_KIND.PRIMARY,
|
|
234
|
+
]);
|
|
235
|
+
case 7:
|
|
236
|
+
return toActions([
|
|
237
|
+
BUTTON_KIND.DANGER,
|
|
238
|
+
BUTTON_KIND.TERTIARY,
|
|
239
|
+
BUTTON_KIND.SECONDARY,
|
|
240
|
+
BUTTON_KIND.PRIMARY,
|
|
241
|
+
]);
|
|
242
|
+
case 8:
|
|
243
|
+
return toActions([
|
|
244
|
+
BUTTON_KIND.GHOST,
|
|
245
|
+
BUTTON_KIND.DANGER,
|
|
246
|
+
BUTTON_KIND.TERTIARY,
|
|
247
|
+
BUTTON_KIND.SECONDARY,
|
|
248
|
+
BUTTON_KIND.PRIMARY,
|
|
249
|
+
]);
|
|
250
|
+
default:
|
|
251
|
+
return null;
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
const getNavigation = (index) => {
|
|
255
|
+
switch (index) {
|
|
256
|
+
case 1:
|
|
257
|
+
return html ` <div
|
|
258
|
+
className="tearsheet-stories__tabs"
|
|
259
|
+
slot="header-navigation"
|
|
260
|
+
>
|
|
261
|
+
<cds-tabs value="1">
|
|
262
|
+
<cds-tab value="1">Tab 1</cds-tab>
|
|
263
|
+
<cds-tab value="2">Tab 2</cds-tab>
|
|
264
|
+
<cds-tab value="3">Tab 3</cds-tab>
|
|
265
|
+
<cds-tab value="4">Tab 4</cds-tab>
|
|
266
|
+
</cds-tabs>
|
|
267
|
+
</div>`;
|
|
268
|
+
default:
|
|
269
|
+
return null;
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
const getSlug = (index) => {
|
|
273
|
+
switch (index) {
|
|
274
|
+
case 1:
|
|
275
|
+
return html `<cds-slug size="xs" alignment="bottom-right">
|
|
276
|
+
<div slot="body-text">
|
|
277
|
+
<p class="secondary">AI Explained</p>
|
|
278
|
+
<h1>84%</h1>
|
|
279
|
+
<p class="secondary bold">Confidence score</p>
|
|
280
|
+
<!-- //cspell: disable -->
|
|
281
|
+
<p class="secondary">
|
|
282
|
+
Lorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed
|
|
283
|
+
do eiusmod tempor incididunt ut fsil labore et dolore magna aliqua.
|
|
284
|
+
</p>
|
|
285
|
+
<!-- //cspell: enable -->
|
|
286
|
+
<hr />
|
|
287
|
+
<p class="secondary">Model type</p>
|
|
288
|
+
<p class="bold">Foundation model</p>
|
|
289
|
+
</div>
|
|
290
|
+
</cds-slug>`;
|
|
291
|
+
default:
|
|
292
|
+
return null;
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
// cspell: disable
|
|
296
|
+
const getDecorator = (decorator) => {
|
|
297
|
+
switch (decorator) {
|
|
298
|
+
case 'WITH_AI_LABEL':
|
|
299
|
+
return html `
|
|
300
|
+
<cds-ai-label alignment="bottom-right" slot="decorator">
|
|
301
|
+
<div slot="body-text">
|
|
302
|
+
<p class="secondary">AI Explained</p>
|
|
303
|
+
<h2 class="ai-label-heading">84%</h2>
|
|
304
|
+
<p class="secondary bold">Confidence score</p>
|
|
305
|
+
<p class="secondary">
|
|
306
|
+
Lorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed
|
|
307
|
+
do eiusmod tempor incididunt ut fsil labore et dolore magna
|
|
308
|
+
aliqua.
|
|
309
|
+
</p>
|
|
310
|
+
<hr />
|
|
311
|
+
<p class="secondary">Model type</p>
|
|
312
|
+
<p class="bold">Foundation model</p>
|
|
313
|
+
</div>
|
|
314
|
+
</cds-ai-label>
|
|
315
|
+
`;
|
|
316
|
+
case 'NON_AI_LABEL_DECORATOR':
|
|
317
|
+
return html `
|
|
318
|
+
<cds-toggletip slot="decorator" alignment="bottom">
|
|
319
|
+
<p slot="body-text">
|
|
320
|
+
Lorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed
|
|
321
|
+
do eiusmod tempor incididunt ut fsil labore et dolore magna aliqua.
|
|
322
|
+
</p>
|
|
323
|
+
<cds-link slot="actions">Test</cds-link>
|
|
324
|
+
<cds-button slot="actions">Button</cds-button>
|
|
325
|
+
</cds-toggletip>
|
|
326
|
+
`;
|
|
327
|
+
default:
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
// cspell: enable
|
|
332
|
+
const getDescription = (index) => {
|
|
333
|
+
switch (index) {
|
|
334
|
+
case 1:
|
|
335
|
+
return html `
|
|
336
|
+
<span slot="description">
|
|
337
|
+
This is a description for the tearsheet, providing an opportunity to
|
|
338
|
+
describe the flow over a couple of lines in the header of the
|
|
339
|
+
tearsheet.
|
|
340
|
+
</span>
|
|
341
|
+
`;
|
|
342
|
+
case 2:
|
|
343
|
+
return html `
|
|
344
|
+
<span slot="description">
|
|
345
|
+
<c4p-truncated-text
|
|
346
|
+
value="This is a description for the tearsheet, providing an opportunity to describe the flow over a couple of lines in the header of the tearsheet."
|
|
347
|
+
lines="1"
|
|
348
|
+
autoalign="true"
|
|
349
|
+
align="bottom"
|
|
350
|
+
/>
|
|
351
|
+
</span>
|
|
352
|
+
`;
|
|
353
|
+
case 3:
|
|
354
|
+
return html `
|
|
355
|
+
<span slot="description">
|
|
356
|
+
<c4p-truncated-text
|
|
357
|
+
value="This is a description for the tearsheet, providing an opportunity to describe the flow over a couple of lines in the header of the tearsheet."
|
|
358
|
+
lines="2"
|
|
359
|
+
autoalign="true"
|
|
360
|
+
align="bottom"
|
|
361
|
+
/>
|
|
362
|
+
</span>
|
|
363
|
+
`;
|
|
364
|
+
default:
|
|
365
|
+
return null;
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
export { getActionItems, getActionToolbarItems, getContent, getDecorator, getDescription, getInfluencer, getLabel, getNavigation, getSlug, influencers };
|
|
370
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../src/components/tearsheet/utils.ts"],"sourcesContent":[null],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
import '@carbon/web-components/es/components/tooltip/index.js';
|
|
11
|
+
import '@carbon/web-components/es/components/button/button.js';
|
|
12
|
+
import '@carbon/web-components/es/components/link/index.js';
|
|
13
|
+
export declare const blockClass = "c4p--truncated-text";
|
|
14
|
+
declare const elementName = "c4p-truncated-text";
|
|
15
|
+
/**
|
|
16
|
+
* TruncatedText.
|
|
17
|
+
*
|
|
18
|
+
* @element c4p-truncated-text
|
|
19
|
+
*/
|
|
20
|
+
export declare class CDSTruncatedText extends LitElement {
|
|
21
|
+
/**
|
|
22
|
+
* Specify how the tooltip should align with the content.
|
|
23
|
+
*/
|
|
24
|
+
align: string;
|
|
25
|
+
/**
|
|
26
|
+
* Specify whether a auto align functionality should be applied
|
|
27
|
+
*/
|
|
28
|
+
autoalign: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The label on the collapse button.
|
|
31
|
+
*/
|
|
32
|
+
collapseLabel: string;
|
|
33
|
+
/**
|
|
34
|
+
* The label on expand button.
|
|
35
|
+
*/
|
|
36
|
+
expandLabel: string;
|
|
37
|
+
/**
|
|
38
|
+
* Unique identifier for the element.
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* The maximum number of lines to display before truncation.
|
|
43
|
+
*/
|
|
44
|
+
lines: number;
|
|
45
|
+
/**
|
|
46
|
+
* The method to display the full text when truncated. Options are "tooltip" or "expand". if not passed, the text would just be truncated with ellipsis.
|
|
47
|
+
*/
|
|
48
|
+
type: 'tooltip' | 'expand';
|
|
49
|
+
/**
|
|
50
|
+
* The string value to be truncated.
|
|
51
|
+
*/
|
|
52
|
+
value: string;
|
|
53
|
+
private _isOverflowing;
|
|
54
|
+
private _isExpanded;
|
|
55
|
+
private _maxHeight;
|
|
56
|
+
private _textElement;
|
|
57
|
+
private _lineHeight;
|
|
58
|
+
private _isLayered;
|
|
59
|
+
private _resizeObserver?;
|
|
60
|
+
static styles: any;
|
|
61
|
+
connectedCallback(): void;
|
|
62
|
+
disconnectedCallback(): void;
|
|
63
|
+
protected firstUpdated(): void;
|
|
64
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
65
|
+
private _updateMaxHeight;
|
|
66
|
+
private _setupResizeObserver;
|
|
67
|
+
private _updateOverflowStatus;
|
|
68
|
+
private _handleKeydown;
|
|
69
|
+
private _toggleExpansion;
|
|
70
|
+
private _renderToggleButton;
|
|
71
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
72
|
+
}
|
|
73
|
+
declare global {
|
|
74
|
+
interface HTMLElementTagNameMap {
|
|
75
|
+
[elementName]: CDSTruncatedText;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export default CDSTruncatedText;
|