@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,76 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* @license
|
|
10
|
+
*
|
|
11
|
+
* Copyright IBM Corp. 2025, 2025
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* ----------
|
|
18
|
+
* Utilities
|
|
19
|
+
* ----------
|
|
20
|
+
*/
|
|
21
|
+
const getHeaderOffset = (el) => {
|
|
22
|
+
const scrollableContainer = scrollableAncestor(el);
|
|
23
|
+
const scrollableContainerTop = scrollableContainer
|
|
24
|
+
? scrollableContainer.getBoundingClientRect().top
|
|
25
|
+
: 0;
|
|
26
|
+
const offsetMeasuringTop = el ? el.getBoundingClientRect().top : 0;
|
|
27
|
+
const totalHeaderOffset = offsetMeasuringTop !== 0 ? offsetMeasuringTop - scrollableContainerTop : 0;
|
|
28
|
+
return totalHeaderOffset;
|
|
29
|
+
};
|
|
30
|
+
const windowExists = typeof window !== `undefined`;
|
|
31
|
+
/**
|
|
32
|
+
* Determines if the given target is scrollable
|
|
33
|
+
*
|
|
34
|
+
* @param {HTMLElement} target
|
|
35
|
+
* @returns {boolean}
|
|
36
|
+
*/
|
|
37
|
+
const scrollable = (target) => {
|
|
38
|
+
const style = window.getComputedStyle(target);
|
|
39
|
+
return /(auto|scroll|hidden)/.test(style.overflow);
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Recursively looks for the scrollable ancestor
|
|
43
|
+
*/
|
|
44
|
+
const scrollableAncestorInner = (target) => {
|
|
45
|
+
if (target.parentNode && target.parentNode !== document) {
|
|
46
|
+
if (scrollable(target.parentNode)) {
|
|
47
|
+
return target.parentNode;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
return scrollableAncestorInner(target.parentNode);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
return document.scrollingElement;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Walks up the parent nodes to identify the first scrollable ancestor
|
|
59
|
+
*
|
|
60
|
+
* @param {HTMLElement} target
|
|
61
|
+
* @returns {HTMLElement}
|
|
62
|
+
*/
|
|
63
|
+
const scrollableAncestor = (target) => {
|
|
64
|
+
if (!windowExists || !target) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
// based on https://stackoverflow.com/questions/35939886/find-first-scrollable-parent
|
|
68
|
+
const style = window.getComputedStyle(target);
|
|
69
|
+
if (!target || !style || style.position === 'fixed') {
|
|
70
|
+
return document.scrollingElement;
|
|
71
|
+
}
|
|
72
|
+
return scrollableAncestorInner(target);
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export { getHeaderOffset, scrollable, scrollableAncestor, scrollableAncestorInner };
|
|
76
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../src/components/page-header/utils.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAEH;;;;AAIG;AAEU,MAAA,eAAe,GAAG,CAAC,EAAe,KAAY;AACzD,IAAA,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,EAAE,CAAC;IAClD,MAAM,sBAAsB,GAAG;AAC7B,UAAG,mBAAmC,CAAC,qBAAqB,EAAE,CAAC;UAC7D,CAAC;AACL,IAAA,MAAM,kBAAkB,GAAG,EAAE,GAAG,EAAE,CAAC,qBAAqB,EAAE,CAAC,GAAG,GAAG,CAAC;AAClE,IAAA,MAAM,iBAAiB,GACrB,kBAAkB,KAAK,CAAC,GAAG,kBAAkB,GAAG,sBAAsB,GAAG,CAAC;AAC5E,IAAA,OAAO,iBAAiB;AAC1B;AAEA,MAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW;AAElD;;;;;AAKG;AACU,MAAA,UAAU,GAAG,CAAC,MAAmB,KAAa;IACzD,MAAM,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;IAC7C,OAAO,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;AACpD;AAEA;;AAEG;AACU,MAAA,uBAAuB,GAAG,CAAC,MAAmB,KAAI;IAC7D,IAAI,MAAM,CAAC,UAAU,IAAI,MAAM,CAAC,UAAU,KAAK,QAAQ,EAAE;AACvD,QAAA,IAAI,UAAU,CAAC,MAAM,CAAC,UAAyB,CAAC,EAAE;YAChD,OAAO,MAAM,CAAC,UAAU;;aACnB;AACL,YAAA,OAAO,uBAAuB,CAAC,MAAM,CAAC,UAAyB,CAAC;;;SAE7D;QACL,OAAO,QAAQ,CAAC,gBAAgB;;AAEpC;AAEA;;;;;AAKG;AACU,MAAA,kBAAkB,GAAG,CAAC,MAAmB,KAAI;AACxD,IAAA,IAAI,CAAC,YAAY,IAAI,CAAC,MAAM,EAAE;AAC5B,QAAA,OAAO,IAAI;;;IAIb,MAAM,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC;AAE7C,IAAA,IAAI,CAAC,MAAM,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,QAAQ,KAAK,OAAO,EAAE;QACnD,OAAO,QAAQ,CAAC,gBAAgB;;AAElC,IAAA,OAAO,uBAAuB,CAAC,MAAM,CAAC;AACxC;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import '@carbon/web-components/es-custom/components/breadcrumb/index.js';
|
|
2
|
+
import '@carbon/web-components/es-custom/components/notification/index.js';
|
|
3
|
+
export declare const getContent: (index: any) => import("lit-html").TemplateResult<1> | null;
|
|
4
|
+
export declare const getSubTitle: (index: any) => import("lit-html").TemplateResult<1> | null;
|
|
5
|
+
export declare const getActionToolbarItems: (index: any) => import("lit-html").TemplateResult<1> | null;
|
|
6
|
+
export declare const getActionItems: (index: any) => import("lit-html").TemplateResult<1> | null;
|
|
7
|
+
export declare const getSlug: (index: any) => import("lit-html").TemplateResult<1> | null;
|
|
8
|
+
export declare const getCustomHeaderComponents: (index: any) => import("lit-html").TemplateResult<1> | null;
|
|
@@ -0,0 +1,275 @@
|
|
|
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 { html } from 'lit';
|
|
9
|
+
import styles from '../story-styles.scss.js';
|
|
10
|
+
import { BUTTON_KIND } from '@carbon/web-components/es/components/button/defs.js';
|
|
11
|
+
import TrashCan16 from '@carbon/icons/es/trash-can/16';
|
|
12
|
+
import Settings16 from '@carbon/icons/es/settings/16';
|
|
13
|
+
import { iconLoader } from '@carbon/web-components/es/globals/internal/icon-loader.js';
|
|
14
|
+
import '@carbon/web-components/es-custom/components/breadcrumb/index.js';
|
|
15
|
+
import '@carbon/web-components/es-custom/components/notification/index.js';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Copyright IBM Corp. 2024, 2024
|
|
19
|
+
*
|
|
20
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
21
|
+
* LICENSE file in the root directory of this source tree.
|
|
22
|
+
*/
|
|
23
|
+
const storyPrefix = 'side-panel-stories__';
|
|
24
|
+
const getContent = (index) => {
|
|
25
|
+
switch (index) {
|
|
26
|
+
case 1:
|
|
27
|
+
return html `
|
|
28
|
+
<style>
|
|
29
|
+
${styles}
|
|
30
|
+
</style>
|
|
31
|
+
<h5>Section</h5>
|
|
32
|
+
<cds-custom-text-input
|
|
33
|
+
label="Input A"
|
|
34
|
+
id="side-panel-story-text-input-a"
|
|
35
|
+
class="${storyPrefix}text-input"
|
|
36
|
+
></cds-custom-text-input>
|
|
37
|
+
<cds-custom-text-input
|
|
38
|
+
label="Input B"
|
|
39
|
+
id="side-panel-story-text-input-b"
|
|
40
|
+
class="${storyPrefix}text-input"
|
|
41
|
+
></cds-custom-text-input>
|
|
42
|
+
`;
|
|
43
|
+
case 2:
|
|
44
|
+
return html `
|
|
45
|
+
<style>
|
|
46
|
+
${styles}
|
|
47
|
+
</style>
|
|
48
|
+
<h5>Section</h5>
|
|
49
|
+
<div class="${storyPrefix}text-inputs">
|
|
50
|
+
<cds-custom-text-input
|
|
51
|
+
label="Input A"
|
|
52
|
+
id="side-panel-story-text-input-a"
|
|
53
|
+
></cds-custom-text-input>
|
|
54
|
+
<cds-custom-text-input
|
|
55
|
+
label="Input B"
|
|
56
|
+
id="side-panel-story-text-input-b"
|
|
57
|
+
></cds-custom-text-input>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="${storyPrefix}text-inputs">
|
|
60
|
+
<cds-custom-text-input
|
|
61
|
+
label="Input C"
|
|
62
|
+
id="side-panel-story-text-input-c"
|
|
63
|
+
></cds-custom-text-input>
|
|
64
|
+
<cds-custom-text-input
|
|
65
|
+
label="Input D"
|
|
66
|
+
id="side-panel-story-text-input-d"
|
|
67
|
+
></cds-custom-text-input>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="${storyPrefix}textarea-container">
|
|
70
|
+
<cds-custom-textarea
|
|
71
|
+
label="Notes"
|
|
72
|
+
value="This is a text area"
|
|
73
|
+
></cds-custom-textarea>
|
|
74
|
+
<cds-custom-textarea
|
|
75
|
+
label="Notes"
|
|
76
|
+
value="This is a text area"
|
|
77
|
+
></cds-custom-textarea>
|
|
78
|
+
<cds-custom-textarea
|
|
79
|
+
label="Notes"
|
|
80
|
+
value="This is a text area"
|
|
81
|
+
></cds-custom-textarea>
|
|
82
|
+
</div>
|
|
83
|
+
`;
|
|
84
|
+
default:
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
const getSubTitle = (index) => {
|
|
89
|
+
switch (index) {
|
|
90
|
+
case 1:
|
|
91
|
+
return html `<div slot="subtitle">This is your subtitle slot.</div>`;
|
|
92
|
+
case 2:
|
|
93
|
+
return html `<div slot="subtitle">
|
|
94
|
+
I am your subtitle slot for <strong>adding detail</strong> that can be
|
|
95
|
+
one or two lines.
|
|
96
|
+
</div>`;
|
|
97
|
+
default:
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const getActionToolbarItems = (index) => {
|
|
102
|
+
switch (index) {
|
|
103
|
+
case 1:
|
|
104
|
+
return html `
|
|
105
|
+
<cds-custom-button slot="action-toolbar">Copy</cds-custom-button>
|
|
106
|
+
<cds-custom-button
|
|
107
|
+
slot="action-toolbar"
|
|
108
|
+
aria-label="Settings"
|
|
109
|
+
has-icon-only="true"
|
|
110
|
+
kind=${BUTTON_KIND.GHOST}
|
|
111
|
+
size="sm"
|
|
112
|
+
tooltip-text="Settings"
|
|
113
|
+
>
|
|
114
|
+
${iconLoader(Settings16, { slot: 'icon' })}
|
|
115
|
+
</cds-custom-button>
|
|
116
|
+
<cds-custom-button
|
|
117
|
+
slot="action-toolbar"
|
|
118
|
+
aria-label="Delete"
|
|
119
|
+
has-icon-only="true"
|
|
120
|
+
kind=${BUTTON_KIND.GHOST}
|
|
121
|
+
size="sm"
|
|
122
|
+
tooltip-text="Delete"
|
|
123
|
+
>
|
|
124
|
+
${iconLoader(TrashCan16, { slot: 'icon' })}
|
|
125
|
+
</cds-custom-button>
|
|
126
|
+
`;
|
|
127
|
+
default:
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
// TODO: There are problems switching this
|
|
132
|
+
const getActionItems = (index) => {
|
|
133
|
+
switch (index) {
|
|
134
|
+
case 1:
|
|
135
|
+
return html `<cds-custom-button key="p" slot="actions" kind=${BUTTON_KIND.PRIMARY}
|
|
136
|
+
>Primary</cds-custom-button
|
|
137
|
+
>`;
|
|
138
|
+
case 2:
|
|
139
|
+
return html `
|
|
140
|
+
<cds-custom-button slot="actions" kind=${BUTTON_KIND.GHOST}>Ghost</cds-custom-button>
|
|
141
|
+
<cds-custom-button slot="actions" kind=${BUTTON_KIND.PRIMARY}
|
|
142
|
+
>Primary</cds-custom-button
|
|
143
|
+
>
|
|
144
|
+
`;
|
|
145
|
+
case 3:
|
|
146
|
+
return html ` <cds-custom-button slot="actions" kind=${BUTTON_KIND.DANGER}
|
|
147
|
+
>Danger</cds-custom-button
|
|
148
|
+
>
|
|
149
|
+
<cds-custom-button slot="actions" kind=${BUTTON_KIND.PRIMARY}
|
|
150
|
+
>Primary</cds-custom-button
|
|
151
|
+
>`;
|
|
152
|
+
case 4:
|
|
153
|
+
return html ` <cds-custom-button slot="actions" kind=${BUTTON_KIND.GHOST}
|
|
154
|
+
>Ghost</cds-custom-button
|
|
155
|
+
>
|
|
156
|
+
<cds-custom-button slot="actions" kind=${BUTTON_KIND.SECONDARY}
|
|
157
|
+
>Secondary</cds-custom-button
|
|
158
|
+
>
|
|
159
|
+
<cds-custom-button slot="actions" kind=${BUTTON_KIND.PRIMARY}
|
|
160
|
+
>Primary</cds-custom-button
|
|
161
|
+
>`;
|
|
162
|
+
case 5:
|
|
163
|
+
return html `<cds-custom-button
|
|
164
|
+
key="danger"
|
|
165
|
+
slot="actions"
|
|
166
|
+
kind=${BUTTON_KIND.DANGER}
|
|
167
|
+
>Danger</cds-custom-button
|
|
168
|
+
>
|
|
169
|
+
<cds-custom-button key="secondary" slot="actions" kind=${BUTTON_KIND.SECONDARY}
|
|
170
|
+
>Secondary</cds-custom-button
|
|
171
|
+
>
|
|
172
|
+
<cds-custom-button key="primary" slot="actions" kind=${BUTTON_KIND.PRIMARY}
|
|
173
|
+
>Primary</cds-custom-button
|
|
174
|
+
>`;
|
|
175
|
+
case 6:
|
|
176
|
+
return html `<cds-custom-button
|
|
177
|
+
key="danger"
|
|
178
|
+
slot="actions"
|
|
179
|
+
kind=${BUTTON_KIND.DANGER}
|
|
180
|
+
>Danger</cds-custom-button
|
|
181
|
+
>
|
|
182
|
+
<cds-custom-button key="tertiary" slot="actions" kind=${BUTTON_KIND.TERTIARY}
|
|
183
|
+
>Tertiary</cds-custom-button
|
|
184
|
+
>
|
|
185
|
+
<cds-custom-button key="secondary" slot="actions" kind=${BUTTON_KIND.SECONDARY}
|
|
186
|
+
>Secondary</cds-custom-button
|
|
187
|
+
>
|
|
188
|
+
<cds-custom-button key="primary" slot="actions" kind=${BUTTON_KIND.PRIMARY}
|
|
189
|
+
>Primary</cds-custom-button
|
|
190
|
+
>`;
|
|
191
|
+
default:
|
|
192
|
+
return null;
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
const getSlug = (index) => {
|
|
196
|
+
switch (index) {
|
|
197
|
+
case 1:
|
|
198
|
+
return html `<cds-custom-slug size="xs" alignment="bottom-right">
|
|
199
|
+
<div slot="body-text">
|
|
200
|
+
<p class="secondary">AI Explained</p>
|
|
201
|
+
<h1>84%</h1>
|
|
202
|
+
<p class="secondary bold">Confidence score</p>
|
|
203
|
+
<!-- //cspell: disable -->
|
|
204
|
+
<p class="secondary">
|
|
205
|
+
Lorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed
|
|
206
|
+
do eiusmod tempor incididunt ut fsil labore et dolore magna aliqua.
|
|
207
|
+
</p>
|
|
208
|
+
<!-- //cspell: enable -->
|
|
209
|
+
<hr />
|
|
210
|
+
<p class="secondary">Model type</p>
|
|
211
|
+
<p class="bold">Foundation model</p>
|
|
212
|
+
</div>
|
|
213
|
+
</cds-custom-slug>`;
|
|
214
|
+
default:
|
|
215
|
+
return null;
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
const getCustomHeaderComponents = (index) => {
|
|
219
|
+
switch (index) {
|
|
220
|
+
case 1:
|
|
221
|
+
return html ` <style>
|
|
222
|
+
${styles}
|
|
223
|
+
</style>
|
|
224
|
+
<div slot="above-title" class="${storyPrefix}custom-header-content">
|
|
225
|
+
<cds-custom-breadcrumb aria-label="">
|
|
226
|
+
<cds-custom-breadcrumb-item>
|
|
227
|
+
<cds-custom-breadcrumb-link href="#">Breadcrumb 1</cds-custom-breadcrumb-link>
|
|
228
|
+
</cds-custom-breadcrumb-item>
|
|
229
|
+
<cds-custom-breadcrumb-item>
|
|
230
|
+
<cds-custom-breadcrumb-link href="#">Breadcrumb 2</cds-custom-breadcrumb-link>
|
|
231
|
+
</cds-custom-breadcrumb-item>
|
|
232
|
+
</cds-custom-breadcrumb>
|
|
233
|
+
</div>`;
|
|
234
|
+
case 2:
|
|
235
|
+
return html ` <style>
|
|
236
|
+
${styles}
|
|
237
|
+
</style>
|
|
238
|
+
<div slot="below-title" class="${storyPrefix}custom-header-content">
|
|
239
|
+
<cds-custom-inline-notification
|
|
240
|
+
title="Notification title"
|
|
241
|
+
subtitle="Subtitle text goes here"
|
|
242
|
+
kind="error"
|
|
243
|
+
>
|
|
244
|
+
</cds-custom-inline-notification>
|
|
245
|
+
</div>`;
|
|
246
|
+
case 3:
|
|
247
|
+
return html ` <style>
|
|
248
|
+
${styles}
|
|
249
|
+
</style>
|
|
250
|
+
<div slot="above-title" class="${storyPrefix}custom-header-content">
|
|
251
|
+
<cds-custom-breadcrumb aria-label="">
|
|
252
|
+
<cds-custom-breadcrumb-item>
|
|
253
|
+
<cds-custom-breadcrumb-link href="#">Breadcrumb 1</cds-custom-breadcrumb-link>
|
|
254
|
+
</cds-custom-breadcrumb-item>
|
|
255
|
+
<cds-custom-breadcrumb-item>
|
|
256
|
+
<cds-custom-breadcrumb-link href="#">Breadcrumb 2</cds-custom-breadcrumb-link>
|
|
257
|
+
</cds-custom-breadcrumb-item>
|
|
258
|
+
</cds-custom-breadcrumb>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
<div slot="below-title" class="${storyPrefix}custom-header-content">
|
|
262
|
+
<cds-custom-inline-notification
|
|
263
|
+
title="Notification title"
|
|
264
|
+
subtitle="Subtitle text goes here"
|
|
265
|
+
kind="error"
|
|
266
|
+
>
|
|
267
|
+
</cds-custom-inline-notification>
|
|
268
|
+
</div>`;
|
|
269
|
+
default:
|
|
270
|
+
return null;
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
export { getActionItems, getActionToolbarItems, getContent, getCustomHeaderComponents, getSlug, getSubTitle };
|
|
275
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/side-panel/_story-assets/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;AAKG;AAUH,MAAM,WAAW,GAAG,sBAAsB;AAE7B,MAAA,UAAU,GAAG,CAAC,KAAK,KAAI;IAClC,QAAQ,KAAK;AACX,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA;;YAEL,MAAM;;;;;;mBAMC,WAAW,CAAA;;;;;mBAKX,WAAW,CAAA;;OAEvB;AACH,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA;;YAEL,MAAM;;;sBAGI,WAAW,CAAA;;;;;;;;;;sBAUX,WAAW,CAAA;;;;;;;;;;sBAUX,WAAW,CAAA;;;;;;;;;;;;;;OAc1B;AAEH,QAAA;AACE,YAAA,OAAO,IAAI;;AAEjB;AAEa,MAAA,WAAW,GAAG,CAAC,KAAK,KAAI;IACnC,QAAQ,KAAK;AACX,QAAA,KAAK,CAAC;YACJ,OAAO,IAAI,CAAA,CAAA,sDAAA,CAAwD;AACrE,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAA;;;aAGJ;AACT,QAAA;AACE,YAAA,OAAO,IAAI;;AAEjB;AAEa,MAAA,qBAAqB,GAAG,CAAC,KAAK,KAAI;IAC7C,QAAQ,KAAK;AACX,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA;;;;;;AAMA,eAAA,EAAA,WAAW,CAAC,KAAK;;;;YAItB,UAAU,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;;;;;AAMnC,eAAA,EAAA,WAAW,CAAC,KAAK;;;;YAItB,UAAU,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;OAE7C;AACH,QAAA;AACE,YAAA,OAAO,IAAI;;AAEjB;AAEA;AACa,MAAA,cAAc,GAAG,CAAC,KAAK,KAAI;IACtC,QAAQ,KAAK;AACX,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAA2C,wCAAA,EAAA,WAAW,CAAC,OAAO;;QAEvE;AACJ,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA;AACyB,wCAAA,EAAA,WAAW,CAAC,KAAK,CAAA;AACjB,wCAAA,EAAA,WAAW,CAAC,OAAO;;;OAGtD;AACH,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAoC,iCAAA,EAAA,WAAW,CAAC,MAAM;;;AAG7B,wCAAA,EAAA,WAAW,CAAC,OAAO;;UAEnD;AACN,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAoC,iCAAA,EAAA,WAAW,CAAC,KAAK;;;AAG5B,wCAAA,EAAA,WAAW,CAAC,SAAS;;;AAGrB,wCAAA,EAAA,WAAW,CAAC,OAAO;;UAEnD;AACN,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAA;;;AAGA,eAAA,EAAA,WAAW,CAAC,MAAM;;;AAGuB,wDAAA,EAAA,WAAW,CAAC,SAAS;;;AAGvB,sDAAA,EAAA,WAAW,CAAC,OAAO;;UAEjE;AACN,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAA;;;AAGA,eAAA,EAAA,WAAW,CAAC,MAAM;;;AAGsB,uDAAA,EAAA,WAAW,CAAC,QAAQ;;;AAGnB,wDAAA,EAAA,WAAW,CAAC,SAAS;;;AAGvB,sDAAA,EAAA,WAAW,CAAC,OAAO;;UAEjE;AACN,QAAA;AACE,YAAA,OAAO,IAAI;;AAEjB;AAEa,MAAA,OAAO,GAAG,CAAC,KAAK,KAAI;IAC/B,QAAQ,KAAK;AACX,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAA;;;;;;;;;;;;;;;kBAeC;AACd,QAAA;AACE,YAAA,OAAO,IAAI;;AAEjB;AAEa,MAAA,yBAAyB,GAAG,CAAC,KAAK,KAAI;IACjD,QAAQ,KAAK;AACX,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAA;YACL,MAAM;;yCAEuB,WAAW,CAAA;;;;;;;;;eASrC;AACX,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAA;YACL,MAAM;;yCAEuB,WAAW,CAAA;;;;;;;eAOrC;AACX,QAAA,KAAK,CAAC;AACJ,YAAA,OAAO,IAAI,CAAA,CAAA;YACL,MAAM;;yCAEuB,WAAW,CAAA;;;;;;;;;;;yCAWX,WAAW,CAAA;;;;;;;eAOrC;AACX,QAAA;AACE,YAAA,OAAO,IAAI;;AAEjB;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2023, 2024
|
|
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
|
+
/**
|
|
10
|
+
* Modal size.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum SIDE_PANEL_SIZE {
|
|
13
|
+
/**
|
|
14
|
+
* Extra small size.
|
|
15
|
+
*/
|
|
16
|
+
EXTRA_SMALL = "xs",
|
|
17
|
+
/**
|
|
18
|
+
* Small size.
|
|
19
|
+
*/
|
|
20
|
+
SMALL = "sm",
|
|
21
|
+
/**
|
|
22
|
+
* Medium size.
|
|
23
|
+
*/
|
|
24
|
+
MEDIUM = "md",
|
|
25
|
+
/**
|
|
26
|
+
* Large size.
|
|
27
|
+
*/
|
|
28
|
+
LARGE = "lg",
|
|
29
|
+
/**
|
|
30
|
+
* 2X-Large size.
|
|
31
|
+
*/
|
|
32
|
+
EXTRA_EXTRA_LARGE = "2xl"
|
|
33
|
+
}
|
|
34
|
+
export declare enum SIDE_PANEL_PLACEMENT {
|
|
35
|
+
/** right / default */
|
|
36
|
+
RIGHT = "right",
|
|
37
|
+
/** left */
|
|
38
|
+
LEFT = "left"
|
|
39
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* @license
|
|
10
|
+
*
|
|
11
|
+
* Copyright IBM Corp. 2023, 2024
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Modal size.
|
|
18
|
+
*/
|
|
19
|
+
var SIDE_PANEL_SIZE;
|
|
20
|
+
(function (SIDE_PANEL_SIZE) {
|
|
21
|
+
/**
|
|
22
|
+
* Extra small size.
|
|
23
|
+
*/
|
|
24
|
+
SIDE_PANEL_SIZE["EXTRA_SMALL"] = "xs";
|
|
25
|
+
/**
|
|
26
|
+
* Small size.
|
|
27
|
+
*/
|
|
28
|
+
SIDE_PANEL_SIZE["SMALL"] = "sm";
|
|
29
|
+
/**
|
|
30
|
+
* Medium size.
|
|
31
|
+
*/
|
|
32
|
+
SIDE_PANEL_SIZE["MEDIUM"] = "md";
|
|
33
|
+
/**
|
|
34
|
+
* Large size.
|
|
35
|
+
*/
|
|
36
|
+
SIDE_PANEL_SIZE["LARGE"] = "lg";
|
|
37
|
+
/**
|
|
38
|
+
* 2X-Large size.
|
|
39
|
+
*/
|
|
40
|
+
SIDE_PANEL_SIZE["EXTRA_EXTRA_LARGE"] = "2xl";
|
|
41
|
+
})(SIDE_PANEL_SIZE || (SIDE_PANEL_SIZE = {}));
|
|
42
|
+
var SIDE_PANEL_PLACEMENT;
|
|
43
|
+
(function (SIDE_PANEL_PLACEMENT) {
|
|
44
|
+
/** right / default */
|
|
45
|
+
SIDE_PANEL_PLACEMENT["RIGHT"] = "right";
|
|
46
|
+
/** left */
|
|
47
|
+
SIDE_PANEL_PLACEMENT["LEFT"] = "left";
|
|
48
|
+
})(SIDE_PANEL_PLACEMENT || (SIDE_PANEL_PLACEMENT = {}));
|
|
49
|
+
|
|
50
|
+
export { SIDE_PANEL_PLACEMENT, SIDE_PANEL_SIZE };
|
|
51
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sources":["../../../src/components/side-panel/defs.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAEH;;AAEG;IACS;AAAZ,CAAA,UAAY,eAAe,EAAA;AACzB;;AAEG;AACH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,IAAkB;AAElB;;AAEG;AACH,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,IAAY;AAEZ;;AAEG;AACH,IAAA,eAAA,CAAA,QAAA,CAAA,GAAA,IAAa;AAEb;;AAEG;AACH,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,IAAY;AAEZ;;AAEG;AACH,IAAA,eAAA,CAAA,mBAAA,CAAA,GAAA,KAAyB;AAC3B,CAAC,EAzBW,eAAe,KAAf,eAAe,GAyB1B,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,oBAAoB,EAAA;;AAE9B,IAAA,oBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;;AAGf,IAAA,oBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACf,CAAC,EANW,oBAAoB,KAApB,oBAAoB,GAM/B,EAAA,CAAA,CAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|