@carbon/ibm-products-web-components 0.29.0 → 0.30.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/package.json +8 -8
- package/telemetry.yml +14 -3
- package/custom-elements.json +0 -4446
- package/es/components/about-modal/about-modal.d.ts +0 -458
- package/es/components/about-modal/about-modal.figma.js +0 -59
- package/es/components/about-modal/about-modal.figma.js.map +0 -1
- package/es/components/about-modal/about-modal.js +0 -203
- package/es/components/about-modal/about-modal.js.map +0 -1
- package/es/components/about-modal/about-modal.scss.js +0 -13
- package/es/components/about-modal/about-modal.scss.js.map +0 -1
- package/es/components/about-modal/about-modal.test.d.ts +0 -7
- package/es/components/about-modal/about-modal.test.js +0 -208
- package/es/components/about-modal/about-modal.test.js.map +0 -1
- package/es/components/about-modal/index.d.ts +0 -9
- package/es/components/about-modal/index.js +0 -9
- package/es/components/about-modal/index.js.map +0 -1
- package/es/components/checklist/checklist-chart.d.ts +0 -25
- package/es/components/checklist/checklist-chart.js +0 -81
- package/es/components/checklist/checklist-chart.js.map +0 -1
- package/es/components/checklist/checklist-group.d.ts +0 -25
- package/es/components/checklist/checklist-group.js +0 -58
- package/es/components/checklist/checklist-group.js.map +0 -1
- package/es/components/checklist/checklist-icon.d.ts +0 -26
- package/es/components/checklist/checklist-icon.js +0 -72
- package/es/components/checklist/checklist-icon.js.map +0 -1
- package/es/components/checklist/checklist-item.d.ts +0 -41
- package/es/components/checklist/checklist-item.figma.js +0 -49
- package/es/components/checklist/checklist-item.figma.js.map +0 -1
- package/es/components/checklist/checklist-item.js +0 -128
- package/es/components/checklist/checklist-item.js.map +0 -1
- package/es/components/checklist/checklist.d.ts +0 -73
- package/es/components/checklist/checklist.figma.js +0 -87
- package/es/components/checklist/checklist.figma.js.map +0 -1
- package/es/components/checklist/checklist.js +0 -198
- package/es/components/checklist/checklist.js.map +0 -1
- package/es/components/checklist/checklist.scss.js +0 -13
- package/es/components/checklist/checklist.scss.js.map +0 -1
- package/es/components/checklist/checklist.test.d.ts +0 -7
- package/es/components/checklist/checklist.test.js +0 -172
- package/es/components/checklist/checklist.test.js.map +0 -1
- package/es/components/checklist/checklist.types.d.ts +0 -22
- package/es/components/checklist/checklist.types.js +0 -32
- package/es/components/checklist/checklist.types.js.map +0 -1
- package/es/components/checklist/index.d.ts +0 -13
- package/es/components/checklist/index.js +0 -13
- package/es/components/checklist/index.js.map +0 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -413
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +0 -126
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +0 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +0 -13
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +0 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +0 -9
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +0 -70
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +0 -1
- package/es/components/coachmark/coachmark-beacon/defs.d.ts +0 -14
- package/es/components/coachmark/coachmark-beacon/defs.js +0 -25
- package/es/components/coachmark/coachmark-beacon/defs.js.map +0 -1
- package/es/components/coachmark/coachmark-beacon/index.d.ts +0 -9
- package/es/components/coachmark/coachmark-beacon/index.js +0 -9
- package/es/components/coachmark/coachmark-beacon/index.js.map +0 -1
- package/es/components/full-page-error/assets/error403SVG.js +0 -831
- package/es/components/full-page-error/assets/error403SVG.js.map +0 -1
- package/es/components/full-page-error/assets/error404SVG.js +0 -735
- package/es/components/full-page-error/assets/error404SVG.js.map +0 -1
- package/es/components/full-page-error/assets/errorGenericSVG.js +0 -830
- package/es/components/full-page-error/assets/errorGenericSVG.js.map +0 -1
- package/es/components/full-page-error/full-page-error.d.ts +0 -43
- package/es/components/full-page-error/full-page-error.figma.js +0 -81
- package/es/components/full-page-error/full-page-error.figma.js.map +0 -1
- package/es/components/full-page-error/full-page-error.js +0 -102
- package/es/components/full-page-error/full-page-error.js.map +0 -1
- package/es/components/full-page-error/full-page-error.scss.js +0 -13
- package/es/components/full-page-error/full-page-error.scss.js.map +0 -1
- package/es/components/full-page-error/full-page-error.test.d.ts +0 -7
- package/es/components/full-page-error/full-page-error.test.js +0 -102
- package/es/components/full-page-error/full-page-error.test.js.map +0 -1
- package/es/components/full-page-error/index.d.ts +0 -9
- package/es/components/full-page-error/index.js +0 -9
- package/es/components/full-page-error/index.js.map +0 -1
- package/es/components/full-page-error/types.d.ts +0 -13
- package/es/components/full-page-error/types.js +0 -24
- package/es/components/full-page-error/types.js.map +0 -1
- package/es/components/interstitial-screen/index.d.ts +0 -13
- package/es/components/interstitial-screen/index.js +0 -13
- package/es/components/interstitial-screen/index.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -388
- package/es/components/interstitial-screen/interstitial-screen-body-item.js +0 -71
- package/es/components/interstitial-screen/interstitial-screen-body-item.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js +0 -13
- package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-body.d.ts +0 -402
- package/es/components/interstitial-screen/interstitial-screen-body.js +0 -152
- package/es/components/interstitial-screen/interstitial-screen-body.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-body.scss.js +0 -13
- package/es/components/interstitial-screen/interstitial-screen-body.scss.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-context.d.ts +0 -18
- package/es/components/interstitial-screen/interstitial-screen-context.js +0 -48
- package/es/components/interstitial-screen/interstitial-screen-context.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -429
- package/es/components/interstitial-screen/interstitial-screen-footer.js +0 -263
- package/es/components/interstitial-screen/interstitial-screen-footer.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-footer.scss.js +0 -13
- package/es/components/interstitial-screen/interstitial-screen-footer.scss.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-header.d.ts +0 -413
- package/es/components/interstitial-screen/interstitial-screen-header.js +0 -177
- package/es/components/interstitial-screen/interstitial-screen-header.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen-header.scss.js +0 -13
- package/es/components/interstitial-screen/interstitial-screen-header.scss.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen.d.ts +0 -441
- package/es/components/interstitial-screen/interstitial-screen.js +0 -217
- package/es/components/interstitial-screen/interstitial-screen.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen.scss.js +0 -13
- package/es/components/interstitial-screen/interstitial-screen.scss.js.map +0 -1
- package/es/components/interstitial-screen/interstitial-screen.test.d.ts +0 -1
- package/es/components/interstitial-screen/interstitial-screen.test.js +0 -329
- package/es/components/interstitial-screen/interstitial-screen.test.js.map +0 -1
- package/es/components/notification-panel/_story-assets/unread-notification-bell.d.ts +0 -3
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js +0 -45
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +0 -1
- package/es/components/notification-panel/date-time-context.d.ts +0 -9
- package/es/components/notification-panel/date-time-context.js +0 -19
- package/es/components/notification-panel/date-time-context.js.map +0 -1
- package/es/components/notification-panel/defs.d.ts +0 -8
- package/es/components/notification-panel/defs.js +0 -8
- package/es/components/notification-panel/defs.js.map +0 -1
- package/es/components/notification-panel/index.d.ts +0 -11
- package/es/components/notification-panel/index.js +0 -11
- package/es/components/notification-panel/index.js.map +0 -1
- package/es/components/notification-panel/notification-footer.d.ts +0 -405
- package/es/components/notification-panel/notification-footer.js +0 -120
- package/es/components/notification-panel/notification-footer.js.map +0 -1
- package/es/components/notification-panel/notification-footer.scss.js +0 -13
- package/es/components/notification-panel/notification-footer.scss.js.map +0 -1
- package/es/components/notification-panel/notification-footer.test.d.ts +0 -7
- package/es/components/notification-panel/notification-footer.test.js +0 -65
- package/es/components/notification-panel/notification-footer.test.js.map +0 -1
- package/es/components/notification-panel/notification-panel.d.ts +0 -479
- package/es/components/notification-panel/notification-panel.js +0 -439
- package/es/components/notification-panel/notification-panel.js.map +0 -1
- package/es/components/notification-panel/notification-panel.scss.js +0 -13
- package/es/components/notification-panel/notification-panel.scss.js.map +0 -1
- package/es/components/notification-panel/notification-panel.test.d.ts +0 -7
- package/es/components/notification-panel/notification-panel.test.js +0 -340
- package/es/components/notification-panel/notification-panel.test.js.map +0 -1
- package/es/components/notification-panel/notification.d.ts +0 -415
- package/es/components/notification-panel/notification.js +0 -179
- package/es/components/notification-panel/notification.js.map +0 -1
- package/es/components/notification-panel/notification.scss.js +0 -13
- package/es/components/notification-panel/notification.scss.js.map +0 -1
- package/es/components/notification-panel/notification.test.d.ts +0 -7
- package/es/components/notification-panel/notification.test.js +0 -152
- package/es/components/notification-panel/notification.test.js.map +0 -1
- package/es/components/options-tile/index.d.ts +0 -9
- package/es/components/options-tile/index.js +0 -9
- package/es/components/options-tile/index.js.map +0 -1
- package/es/components/options-tile/options-file.figma.js +0 -96
- package/es/components/options-tile/options-file.figma.js.map +0 -1
- package/es/components/options-tile/options-tile.d.ts +0 -416
- package/es/components/options-tile/options-tile.js +0 -158
- package/es/components/options-tile/options-tile.js.map +0 -1
- package/es/components/options-tile/options-tile.scss.js +0 -13
- package/es/components/options-tile/options-tile.scss.js.map +0 -1
- package/es/components/options-tile/options-tile.test.d.ts +0 -1
- package/es/components/options-tile/options-tile.test.js +0 -129
- package/es/components/options-tile/options-tile.test.js.map +0 -1
- package/es/components/page-header/_story-assets/2x1.jpg.js +0 -11
- package/es/components/page-header/_story-assets/2x1.jpg.js.map +0 -1
- package/es/components/page-header/_story-assets/3x2.jpg.js +0 -11
- package/es/components/page-header/_story-assets/3x2.jpg.js.map +0 -1
- package/es/components/page-header/_story-assets/overflowHandler.d.ts +0 -98
- package/es/components/page-header/_story-assets/overflowHandler.js +0 -156
- package/es/components/page-header/_story-assets/overflowHandler.js.map +0 -1
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +0 -43
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.js +0 -154
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.js.map +0 -1
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +0 -13
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +0 -1
- package/es/components/page-header/_story-assets/set-of-tags/index.d.ts +0 -9
- package/es/components/page-header/_story-assets/set-of-tags/index.js +0 -9
- package/es/components/page-header/_story-assets/set-of-tags/index.js.map +0 -1
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +0 -40
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js +0 -260
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +0 -1
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +0 -13
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js.map +0 -1
- package/es/components/page-header/_story-assets/set-of-tags/utils.d.ts +0 -23
- package/es/components/page-header/_story-assets/set-of-tags/utils.js +0 -44
- package/es/components/page-header/_story-assets/set-of-tags/utils.js.map +0 -1
- package/es/components/page-header/context.d.ts +0 -15
- package/es/components/page-header/context.js +0 -27
- package/es/components/page-header/context.js.map +0 -1
- package/es/components/page-header/index.d.ts +0 -16
- package/es/components/page-header/index.js +0 -16
- package/es/components/page-header/index.js.map +0 -1
- package/es/components/page-header/page-header-breadcrumb.d.ts +0 -36
- package/es/components/page-header/page-header-breadcrumb.js +0 -106
- package/es/components/page-header/page-header-breadcrumb.js.map +0 -1
- package/es/components/page-header/page-header-content-text.d.ts +0 -22
- package/es/components/page-header/page-header-content-text.js +0 -56
- package/es/components/page-header/page-header-content-text.js.map +0 -1
- package/es/components/page-header/page-header-content.d.ts +0 -42
- package/es/components/page-header/page-header-content.js +0 -141
- package/es/components/page-header/page-header-content.js.map +0 -1
- package/es/components/page-header/page-header-hero-image.d.ts +0 -18
- package/es/components/page-header/page-header-hero-image.js +0 -38
- package/es/components/page-header/page-header-hero-image.js.map +0 -1
- package/es/components/page-header/page-header-scroller.d.ts +0 -56
- package/es/components/page-header/page-header-scroller.js +0 -166
- package/es/components/page-header/page-header-scroller.js.map +0 -1
- package/es/components/page-header/page-header-tabs.d.ts +0 -18
- package/es/components/page-header/page-header-tabs.js +0 -48
- package/es/components/page-header/page-header-tabs.js.map +0 -1
- package/es/components/page-header/page-header-title-breadcrumb.d.ts +0 -20
- package/es/components/page-header/page-header-title-breadcrumb.js +0 -71
- package/es/components/page-header/page-header-title-breadcrumb.js.map +0 -1
- package/es/components/page-header/page-header.d.ts +0 -31
- package/es/components/page-header/page-header.js +0 -128
- package/es/components/page-header/page-header.js.map +0 -1
- package/es/components/page-header/page-header.scss.js +0 -13
- package/es/components/page-header/page-header.scss.js.map +0 -1
- package/es/components/page-header/page-header.test.d.ts +0 -1
- package/es/components/page-header/page-header.test.js +0 -349
- package/es/components/page-header/page-header.test.js.map +0 -1
- package/es/components/page-header/utils.d.ts +0 -32
- package/es/components/page-header/utils.js +0 -76
- package/es/components/page-header/utils.js.map +0 -1
- package/es/components/side-panel/_story-assets/index.d.ts +0 -8
- package/es/components/side-panel/_story-assets/index.js +0 -275
- package/es/components/side-panel/_story-assets/index.js.map +0 -1
- package/es/components/side-panel/defs.d.ts +0 -39
- package/es/components/side-panel/defs.js +0 -51
- package/es/components/side-panel/defs.js.map +0 -1
- package/es/components/side-panel/index.d.ts +0 -9
- package/es/components/side-panel/index.js +0 -9
- package/es/components/side-panel/index.js.map +0 -1
- package/es/components/side-panel/side-panel.d.ts +0 -571
- package/es/components/side-panel/side-panel.js +0 -859
- package/es/components/side-panel/side-panel.js.map +0 -1
- package/es/components/side-panel/side-panel.scss.js +0 -13
- package/es/components/side-panel/side-panel.scss.js.map +0 -1
- package/es/components/side-panel/side-panel.test.d.ts +0 -3
- package/es/components/side-panel/side-panel.test.js +0 -273
- package/es/components/side-panel/side-panel.test.js.map +0 -1
- package/es/components/side-panel/story-styles.scss.js +0 -13
- package/es/components/side-panel/story-styles.scss.js.map +0 -1
- package/es/components/tearsheet/defs.d.ts +0 -26
- package/es/components/tearsheet/defs.js +0 -39
- package/es/components/tearsheet/defs.js.map +0 -1
- package/es/components/tearsheet/index.d.ts +0 -9
- package/es/components/tearsheet/index.js +0 -9
- package/es/components/tearsheet/index.js.map +0 -1
- package/es/components/tearsheet/story-styles.scss.js +0 -13
- package/es/components/tearsheet/story-styles.scss.js.map +0 -1
- package/es/components/tearsheet/tearsheet.d.ts +0 -535
- package/es/components/tearsheet/tearsheet.js +0 -721
- package/es/components/tearsheet/tearsheet.js.map +0 -1
- package/es/components/tearsheet/tearsheet.scss.js +0 -13
- package/es/components/tearsheet/tearsheet.scss.js.map +0 -1
- package/es/components/tearsheet/tearsheet.test.d.ts +0 -14
- package/es/components/tearsheet/tearsheet.test.js +0 -305
- package/es/components/tearsheet/tearsheet.test.js.map +0 -1
- package/es/components/tearsheet/utils.d.ts +0 -34
- package/es/components/tearsheet/utils.js +0 -370
- package/es/components/tearsheet/utils.js.map +0 -1
- package/es/components/truncated-text/index.d.ts +0 -9
- package/es/components/truncated-text/index.js +0 -9
- package/es/components/truncated-text/index.js.map +0 -1
- package/es/components/truncated-text/truncated-text.d.ts +0 -78
- package/es/components/truncated-text/truncated-text.js +0 -257
- package/es/components/truncated-text/truncated-text.js.map +0 -1
- package/es/components/truncated-text/truncated-text.scss.js +0 -13
- package/es/components/truncated-text/truncated-text.scss.js.map +0 -1
- package/es/components/truncated-text/truncated-text.test.d.ts +0 -7
- package/es/components/truncated-text/truncated-text.test.js +0 -77
- package/es/components/truncated-text/truncated-text.test.js.map +0 -1
- package/es/components/user-avatar/index.d.ts +0 -9
- package/es/components/user-avatar/index.js +0 -9
- package/es/components/user-avatar/index.js.map +0 -1
- package/es/components/user-avatar/user-avatar.d.ts +0 -425
- package/es/components/user-avatar/user-avatar.figma.js +0 -161
- package/es/components/user-avatar/user-avatar.figma.js.map +0 -1
- package/es/components/user-avatar/user-avatar.js +0 -141
- package/es/components/user-avatar/user-avatar.js.map +0 -1
- package/es/components/user-avatar/user-avatar.scss.js +0 -13
- package/es/components/user-avatar/user-avatar.scss.js.map +0 -1
- package/es/components/user-avatar/user-avatar.test.d.ts +0 -1
- package/es/components/user-avatar/user-avatar.test.js +0 -128
- package/es/components/user-avatar/user-avatar.test.js.map +0 -1
- package/es/globals/internal/handle.d.ts +0 -18
- package/es/globals/internal/handle.js +0 -8
- package/es/globals/internal/handle.js.map +0 -1
- package/es/globals/internal/pconsole.d.ts +0 -15
- package/es/globals/internal/pconsole.js +0 -30
- package/es/globals/internal/pconsole.js.map +0 -1
- package/es/globals/internal/storybook-cdn.js +0 -78
- package/es/globals/internal/storybook-cdn.js.map +0 -1
- package/es/globals/js/utils/getSupportedLocale.d.ts +0 -12
- package/es/globals/js/utils/getSupportedLocale.js +0 -35
- package/es/globals/js/utils/getSupportedLocale.js.map +0 -1
- package/es/globals/settings.d.ts +0 -15
- package/es/globals/settings.js +0 -28
- package/es/globals/settings.js.map +0 -1
- package/es/index.d.ts +0 -21
- package/es/index.js +0 -21
- package/es/index.js.map +0 -1
- package/es/node_modules/@carbon/layout/es/index.js +0 -44
- package/es/node_modules/@carbon/layout/es/index.js.map +0 -1
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +0 -13
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +0 -1
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +0 -11
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +0 -1
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +0 -9
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
- package/es/packages/ibm-products-web-components/package.json.js +0 -13
- package/es/packages/ibm-products-web-components/package.json.js.map +0 -1
- package/es/patterns/step-flow/_story-assets/step-full-page.d.ts +0 -41
- package/es/patterns/step-flow/_story-assets/step-full-page.js +0 -257
- package/es/patterns/step-flow/_story-assets/step-full-page.js.map +0 -1
- package/es/patterns/step-flow/_story-assets/step-full-page.scss.js +0 -13
- package/es/patterns/step-flow/_story-assets/step-full-page.scss.js.map +0 -1
- package/es/patterns/step-flow/_story-assets/step-tearsheet.d.ts +0 -41
- package/es/patterns/step-flow/_story-assets/step-tearsheet.js +0 -255
- package/es/patterns/step-flow/_story-assets/step-tearsheet.js.map +0 -1
- package/es/patterns/step-flow/index.d.ts +0 -10
- package/es/patterns/step-flow/index.js +0 -10
- package/es/patterns/step-flow/index.js.map +0 -1
- package/es/patterns/step-flow/step-flow-signal.d.ts +0 -24
- package/es/patterns/step-flow/step-flow-signal.js +0 -54
- package/es/patterns/step-flow/step-flow-signal.js.map +0 -1
- package/es/patterns/step-flow/step-flow-signal.test.d.ts +0 -7
- package/es/patterns/step-flow/step-flow-signal.test.js +0 -88
- package/es/patterns/step-flow/step-flow-signal.test.js.map +0 -1
- package/es/patterns/step-flow/step-group.d.ts +0 -15
- package/es/patterns/step-flow/step-group.js +0 -28
- package/es/patterns/step-flow/step-group.js.map +0 -1
- package/es/patterns/step-flow/story-styles.scss.js +0 -13
- package/es/patterns/step-flow/story-styles.scss.js.map +0 -1
- package/es/utilities/carousel/carousel.d.ts +0 -14
- package/es/utilities/carousel/carousel.js +0 -341
- package/es/utilities/carousel/carousel.js.map +0 -1
- package/es/utilities/carousel/index.d.ts +0 -8
- package/es/utilities/carousel/index.js +0 -9
- package/es/utilities/carousel/index.js.map +0 -1
- package/es/utilities/carousel/swipeEvents.d.ts +0 -7
- package/es/utilities/carousel/swipeEvents.js +0 -109
- package/es/utilities/carousel/swipeEvents.js.map +0 -1
- package/es/utilities/carousel/types.d.ts +0 -37
- package/es/utilities/carousel/types.js +0 -8
- package/es/utilities/carousel/types.js.map +0 -1
- package/es/utilities/manageFocusTrap/manageFocusTrap.d.ts +0 -13
- package/es/utilities/manageFocusTrap/manageFocusTrap.js +0 -138
- package/es/utilities/manageFocusTrap/manageFocusTrap.js.map +0 -1
- package/es-custom/components/about-modal/about-modal.d.ts +0 -458
- package/es-custom/components/about-modal/about-modal.figma.js +0 -59
- package/es-custom/components/about-modal/about-modal.figma.js.map +0 -1
- package/es-custom/components/about-modal/about-modal.js +0 -203
- package/es-custom/components/about-modal/about-modal.js.map +0 -1
- package/es-custom/components/about-modal/about-modal.scss.js +0 -13
- package/es-custom/components/about-modal/about-modal.scss.js.map +0 -1
- package/es-custom/components/about-modal/about-modal.test.d.ts +0 -7
- package/es-custom/components/about-modal/about-modal.test.js +0 -208
- package/es-custom/components/about-modal/about-modal.test.js.map +0 -1
- package/es-custom/components/about-modal/index.d.ts +0 -9
- package/es-custom/components/about-modal/index.js +0 -9
- package/es-custom/components/about-modal/index.js.map +0 -1
- package/es-custom/components/checklist/checklist-chart.d.ts +0 -25
- package/es-custom/components/checklist/checklist-chart.js +0 -81
- package/es-custom/components/checklist/checklist-chart.js.map +0 -1
- package/es-custom/components/checklist/checklist-group.d.ts +0 -25
- package/es-custom/components/checklist/checklist-group.js +0 -58
- package/es-custom/components/checklist/checklist-group.js.map +0 -1
- package/es-custom/components/checklist/checklist-icon.d.ts +0 -26
- package/es-custom/components/checklist/checklist-icon.js +0 -72
- package/es-custom/components/checklist/checklist-icon.js.map +0 -1
- package/es-custom/components/checklist/checklist-item.d.ts +0 -41
- package/es-custom/components/checklist/checklist-item.figma.js +0 -49
- package/es-custom/components/checklist/checklist-item.figma.js.map +0 -1
- package/es-custom/components/checklist/checklist-item.js +0 -128
- package/es-custom/components/checklist/checklist-item.js.map +0 -1
- package/es-custom/components/checklist/checklist.d.ts +0 -73
- package/es-custom/components/checklist/checklist.figma.js +0 -87
- package/es-custom/components/checklist/checklist.figma.js.map +0 -1
- package/es-custom/components/checklist/checklist.js +0 -198
- package/es-custom/components/checklist/checklist.js.map +0 -1
- package/es-custom/components/checklist/checklist.scss.js +0 -13
- package/es-custom/components/checklist/checklist.scss.js.map +0 -1
- package/es-custom/components/checklist/checklist.test.d.ts +0 -7
- package/es-custom/components/checklist/checklist.test.js +0 -172
- package/es-custom/components/checklist/checklist.test.js.map +0 -1
- package/es-custom/components/checklist/checklist.types.d.ts +0 -22
- package/es-custom/components/checklist/checklist.types.js +0 -32
- package/es-custom/components/checklist/checklist.types.js.map +0 -1
- package/es-custom/components/checklist/index.d.ts +0 -13
- package/es-custom/components/checklist/index.js +0 -13
- package/es-custom/components/checklist/index.js.map +0 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -413
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +0 -126
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +0 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +0 -13
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +0 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +0 -9
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +0 -70
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +0 -1
- package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts +0 -14
- package/es-custom/components/coachmark/coachmark-beacon/defs.js +0 -25
- package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +0 -1
- package/es-custom/components/coachmark/coachmark-beacon/index.d.ts +0 -9
- package/es-custom/components/coachmark/coachmark-beacon/index.js +0 -9
- package/es-custom/components/coachmark/coachmark-beacon/index.js.map +0 -1
- package/es-custom/components/full-page-error/assets/error403SVG.js +0 -831
- package/es-custom/components/full-page-error/assets/error403SVG.js.map +0 -1
- package/es-custom/components/full-page-error/assets/error404SVG.js +0 -735
- package/es-custom/components/full-page-error/assets/error404SVG.js.map +0 -1
- package/es-custom/components/full-page-error/assets/errorGenericSVG.js +0 -830
- package/es-custom/components/full-page-error/assets/errorGenericSVG.js.map +0 -1
- package/es-custom/components/full-page-error/full-page-error.d.ts +0 -43
- package/es-custom/components/full-page-error/full-page-error.figma.js +0 -81
- package/es-custom/components/full-page-error/full-page-error.figma.js.map +0 -1
- package/es-custom/components/full-page-error/full-page-error.js +0 -102
- package/es-custom/components/full-page-error/full-page-error.js.map +0 -1
- package/es-custom/components/full-page-error/full-page-error.scss.js +0 -13
- package/es-custom/components/full-page-error/full-page-error.scss.js.map +0 -1
- package/es-custom/components/full-page-error/full-page-error.test.d.ts +0 -7
- package/es-custom/components/full-page-error/full-page-error.test.js +0 -102
- package/es-custom/components/full-page-error/full-page-error.test.js.map +0 -1
- package/es-custom/components/full-page-error/index.d.ts +0 -9
- package/es-custom/components/full-page-error/index.js +0 -9
- package/es-custom/components/full-page-error/index.js.map +0 -1
- package/es-custom/components/full-page-error/types.d.ts +0 -13
- package/es-custom/components/full-page-error/types.js +0 -24
- package/es-custom/components/full-page-error/types.js.map +0 -1
- package/es-custom/components/interstitial-screen/index.d.ts +0 -13
- package/es-custom/components/interstitial-screen/index.js +0 -13
- package/es-custom/components/interstitial-screen/index.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -388
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js +0 -71
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js +0 -13
- package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-body.d.ts +0 -402
- package/es-custom/components/interstitial-screen/interstitial-screen-body.js +0 -152
- package/es-custom/components/interstitial-screen/interstitial-screen-body.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js +0 -13
- package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-context.d.ts +0 -18
- package/es-custom/components/interstitial-screen/interstitial-screen-context.js +0 -48
- package/es-custom/components/interstitial-screen/interstitial-screen-context.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -429
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.js +0 -263
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js +0 -13
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-header.d.ts +0 -413
- package/es-custom/components/interstitial-screen/interstitial-screen-header.js +0 -177
- package/es-custom/components/interstitial-screen/interstitial-screen-header.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js +0 -13
- package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen.d.ts +0 -441
- package/es-custom/components/interstitial-screen/interstitial-screen.js +0 -217
- package/es-custom/components/interstitial-screen/interstitial-screen.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen.scss.js +0 -13
- package/es-custom/components/interstitial-screen/interstitial-screen.scss.js.map +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen.test.d.ts +0 -1
- package/es-custom/components/interstitial-screen/interstitial-screen.test.js +0 -329
- package/es-custom/components/interstitial-screen/interstitial-screen.test.js.map +0 -1
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.d.ts +0 -3
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js +0 -45
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +0 -1
- package/es-custom/components/notification-panel/date-time-context.d.ts +0 -9
- package/es-custom/components/notification-panel/date-time-context.js +0 -19
- package/es-custom/components/notification-panel/date-time-context.js.map +0 -1
- package/es-custom/components/notification-panel/defs.d.ts +0 -8
- package/es-custom/components/notification-panel/defs.js +0 -8
- package/es-custom/components/notification-panel/defs.js.map +0 -1
- package/es-custom/components/notification-panel/index.d.ts +0 -11
- package/es-custom/components/notification-panel/index.js +0 -11
- package/es-custom/components/notification-panel/index.js.map +0 -1
- package/es-custom/components/notification-panel/notification-footer.d.ts +0 -405
- package/es-custom/components/notification-panel/notification-footer.js +0 -120
- package/es-custom/components/notification-panel/notification-footer.js.map +0 -1
- package/es-custom/components/notification-panel/notification-footer.scss.js +0 -13
- package/es-custom/components/notification-panel/notification-footer.scss.js.map +0 -1
- package/es-custom/components/notification-panel/notification-footer.test.d.ts +0 -7
- package/es-custom/components/notification-panel/notification-footer.test.js +0 -65
- package/es-custom/components/notification-panel/notification-footer.test.js.map +0 -1
- package/es-custom/components/notification-panel/notification-panel.d.ts +0 -479
- package/es-custom/components/notification-panel/notification-panel.js +0 -439
- package/es-custom/components/notification-panel/notification-panel.js.map +0 -1
- package/es-custom/components/notification-panel/notification-panel.scss.js +0 -13
- package/es-custom/components/notification-panel/notification-panel.scss.js.map +0 -1
- package/es-custom/components/notification-panel/notification-panel.test.d.ts +0 -7
- package/es-custom/components/notification-panel/notification-panel.test.js +0 -340
- package/es-custom/components/notification-panel/notification-panel.test.js.map +0 -1
- package/es-custom/components/notification-panel/notification.d.ts +0 -415
- package/es-custom/components/notification-panel/notification.js +0 -179
- package/es-custom/components/notification-panel/notification.js.map +0 -1
- package/es-custom/components/notification-panel/notification.scss.js +0 -13
- package/es-custom/components/notification-panel/notification.scss.js.map +0 -1
- package/es-custom/components/notification-panel/notification.test.d.ts +0 -7
- package/es-custom/components/notification-panel/notification.test.js +0 -152
- package/es-custom/components/notification-panel/notification.test.js.map +0 -1
- package/es-custom/components/options-tile/index.d.ts +0 -9
- package/es-custom/components/options-tile/index.js +0 -9
- package/es-custom/components/options-tile/index.js.map +0 -1
- package/es-custom/components/options-tile/options-file.figma.js +0 -96
- package/es-custom/components/options-tile/options-file.figma.js.map +0 -1
- package/es-custom/components/options-tile/options-tile.d.ts +0 -416
- package/es-custom/components/options-tile/options-tile.js +0 -158
- package/es-custom/components/options-tile/options-tile.js.map +0 -1
- package/es-custom/components/options-tile/options-tile.scss.js +0 -13
- package/es-custom/components/options-tile/options-tile.scss.js.map +0 -1
- package/es-custom/components/options-tile/options-tile.test.d.ts +0 -1
- package/es-custom/components/options-tile/options-tile.test.js +0 -129
- package/es-custom/components/options-tile/options-tile.test.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/2x1.jpg.js +0 -11
- package/es-custom/components/page-header/_story-assets/2x1.jpg.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/3x2.jpg.js +0 -11
- package/es-custom/components/page-header/_story-assets/3x2.jpg.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/overflowHandler.d.ts +0 -98
- package/es-custom/components/page-header/_story-assets/overflowHandler.js +0 -156
- package/es-custom/components/page-header/_story-assets/overflowHandler.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +0 -43
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js +0 -154
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +0 -13
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/index.d.ts +0 -9
- package/es-custom/components/page-header/_story-assets/set-of-tags/index.js +0 -9
- package/es-custom/components/page-header/_story-assets/set-of-tags/index.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +0 -40
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js +0 -260
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +0 -13
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js.map +0 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/utils.d.ts +0 -23
- package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js +0 -44
- package/es-custom/components/page-header/_story-assets/set-of-tags/utils.js.map +0 -1
- package/es-custom/components/page-header/context.d.ts +0 -15
- package/es-custom/components/page-header/context.js +0 -27
- package/es-custom/components/page-header/context.js.map +0 -1
- package/es-custom/components/page-header/index.d.ts +0 -16
- package/es-custom/components/page-header/index.js +0 -16
- package/es-custom/components/page-header/index.js.map +0 -1
- package/es-custom/components/page-header/page-header-breadcrumb.d.ts +0 -36
- package/es-custom/components/page-header/page-header-breadcrumb.js +0 -106
- package/es-custom/components/page-header/page-header-breadcrumb.js.map +0 -1
- package/es-custom/components/page-header/page-header-content-text.d.ts +0 -22
- package/es-custom/components/page-header/page-header-content-text.js +0 -56
- package/es-custom/components/page-header/page-header-content-text.js.map +0 -1
- package/es-custom/components/page-header/page-header-content.d.ts +0 -42
- package/es-custom/components/page-header/page-header-content.js +0 -141
- package/es-custom/components/page-header/page-header-content.js.map +0 -1
- package/es-custom/components/page-header/page-header-hero-image.d.ts +0 -18
- package/es-custom/components/page-header/page-header-hero-image.js +0 -38
- package/es-custom/components/page-header/page-header-hero-image.js.map +0 -1
- package/es-custom/components/page-header/page-header-scroller.d.ts +0 -56
- package/es-custom/components/page-header/page-header-scroller.js +0 -166
- package/es-custom/components/page-header/page-header-scroller.js.map +0 -1
- package/es-custom/components/page-header/page-header-tabs.d.ts +0 -18
- package/es-custom/components/page-header/page-header-tabs.js +0 -48
- package/es-custom/components/page-header/page-header-tabs.js.map +0 -1
- package/es-custom/components/page-header/page-header-title-breadcrumb.d.ts +0 -20
- package/es-custom/components/page-header/page-header-title-breadcrumb.js +0 -71
- package/es-custom/components/page-header/page-header-title-breadcrumb.js.map +0 -1
- package/es-custom/components/page-header/page-header.d.ts +0 -31
- package/es-custom/components/page-header/page-header.js +0 -128
- package/es-custom/components/page-header/page-header.js.map +0 -1
- package/es-custom/components/page-header/page-header.scss.js +0 -13
- package/es-custom/components/page-header/page-header.scss.js.map +0 -1
- package/es-custom/components/page-header/page-header.test.d.ts +0 -1
- package/es-custom/components/page-header/page-header.test.js +0 -349
- package/es-custom/components/page-header/page-header.test.js.map +0 -1
- package/es-custom/components/page-header/utils.d.ts +0 -32
- package/es-custom/components/page-header/utils.js +0 -76
- package/es-custom/components/page-header/utils.js.map +0 -1
- package/es-custom/components/side-panel/_story-assets/index.d.ts +0 -8
- package/es-custom/components/side-panel/_story-assets/index.js +0 -275
- package/es-custom/components/side-panel/_story-assets/index.js.map +0 -1
- package/es-custom/components/side-panel/defs.d.ts +0 -39
- package/es-custom/components/side-panel/defs.js +0 -51
- package/es-custom/components/side-panel/defs.js.map +0 -1
- package/es-custom/components/side-panel/index.d.ts +0 -9
- package/es-custom/components/side-panel/index.js +0 -9
- package/es-custom/components/side-panel/index.js.map +0 -1
- package/es-custom/components/side-panel/side-panel.d.ts +0 -571
- package/es-custom/components/side-panel/side-panel.js +0 -859
- package/es-custom/components/side-panel/side-panel.js.map +0 -1
- package/es-custom/components/side-panel/side-panel.scss.js +0 -13
- package/es-custom/components/side-panel/side-panel.scss.js.map +0 -1
- package/es-custom/components/side-panel/side-panel.test.d.ts +0 -3
- package/es-custom/components/side-panel/side-panel.test.js +0 -273
- package/es-custom/components/side-panel/side-panel.test.js.map +0 -1
- package/es-custom/components/side-panel/story-styles.scss.js +0 -13
- package/es-custom/components/side-panel/story-styles.scss.js.map +0 -1
- package/es-custom/components/tearsheet/defs.d.ts +0 -26
- package/es-custom/components/tearsheet/defs.js +0 -39
- package/es-custom/components/tearsheet/defs.js.map +0 -1
- package/es-custom/components/tearsheet/index.d.ts +0 -9
- package/es-custom/components/tearsheet/index.js +0 -9
- package/es-custom/components/tearsheet/index.js.map +0 -1
- package/es-custom/components/tearsheet/story-styles.scss.js +0 -13
- package/es-custom/components/tearsheet/story-styles.scss.js.map +0 -1
- package/es-custom/components/tearsheet/tearsheet.d.ts +0 -535
- package/es-custom/components/tearsheet/tearsheet.js +0 -721
- package/es-custom/components/tearsheet/tearsheet.js.map +0 -1
- package/es-custom/components/tearsheet/tearsheet.scss.js +0 -13
- package/es-custom/components/tearsheet/tearsheet.scss.js.map +0 -1
- package/es-custom/components/tearsheet/tearsheet.test.d.ts +0 -14
- package/es-custom/components/tearsheet/tearsheet.test.js +0 -305
- package/es-custom/components/tearsheet/tearsheet.test.js.map +0 -1
- package/es-custom/components/tearsheet/utils.d.ts +0 -34
- package/es-custom/components/tearsheet/utils.js +0 -370
- package/es-custom/components/tearsheet/utils.js.map +0 -1
- package/es-custom/components/truncated-text/index.d.ts +0 -9
- package/es-custom/components/truncated-text/index.js +0 -9
- package/es-custom/components/truncated-text/index.js.map +0 -1
- package/es-custom/components/truncated-text/truncated-text.d.ts +0 -78
- package/es-custom/components/truncated-text/truncated-text.js +0 -257
- package/es-custom/components/truncated-text/truncated-text.js.map +0 -1
- package/es-custom/components/truncated-text/truncated-text.scss.js +0 -13
- package/es-custom/components/truncated-text/truncated-text.scss.js.map +0 -1
- package/es-custom/components/truncated-text/truncated-text.test.d.ts +0 -7
- package/es-custom/components/truncated-text/truncated-text.test.js +0 -77
- package/es-custom/components/truncated-text/truncated-text.test.js.map +0 -1
- package/es-custom/components/user-avatar/index.d.ts +0 -9
- package/es-custom/components/user-avatar/index.js +0 -9
- package/es-custom/components/user-avatar/index.js.map +0 -1
- package/es-custom/components/user-avatar/user-avatar.d.ts +0 -425
- package/es-custom/components/user-avatar/user-avatar.figma.js +0 -161
- package/es-custom/components/user-avatar/user-avatar.figma.js.map +0 -1
- package/es-custom/components/user-avatar/user-avatar.js +0 -141
- package/es-custom/components/user-avatar/user-avatar.js.map +0 -1
- package/es-custom/components/user-avatar/user-avatar.scss.js +0 -13
- package/es-custom/components/user-avatar/user-avatar.scss.js.map +0 -1
- package/es-custom/components/user-avatar/user-avatar.test.d.ts +0 -1
- package/es-custom/components/user-avatar/user-avatar.test.js +0 -128
- package/es-custom/components/user-avatar/user-avatar.test.js.map +0 -1
- package/es-custom/globals/internal/handle.d.ts +0 -18
- package/es-custom/globals/internal/handle.js +0 -8
- package/es-custom/globals/internal/handle.js.map +0 -1
- package/es-custom/globals/internal/pconsole.d.ts +0 -15
- package/es-custom/globals/internal/pconsole.js +0 -30
- package/es-custom/globals/internal/pconsole.js.map +0 -1
- package/es-custom/globals/internal/storybook-cdn.js +0 -78
- package/es-custom/globals/internal/storybook-cdn.js.map +0 -1
- package/es-custom/globals/js/utils/getSupportedLocale.d.ts +0 -12
- package/es-custom/globals/js/utils/getSupportedLocale.js +0 -35
- package/es-custom/globals/js/utils/getSupportedLocale.js.map +0 -1
- package/es-custom/globals/settings.d.ts +0 -15
- package/es-custom/globals/settings.js +0 -28
- package/es-custom/globals/settings.js.map +0 -1
- package/es-custom/index.d.ts +0 -21
- package/es-custom/index.js +0 -21
- package/es-custom/index.js.map +0 -1
- package/es-custom/node_modules/@carbon/layout/es/index.js +0 -44
- package/es-custom/node_modules/@carbon/layout/es/index.js.map +0 -1
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +0 -13
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +0 -1
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +0 -11
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +0 -1
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +0 -9
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +0 -1
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +0 -11
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +0 -1
- package/es-custom/packages/ibm-products-web-components/package.json.js +0 -13
- package/es-custom/packages/ibm-products-web-components/package.json.js.map +0 -1
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.d.ts +0 -41
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.js +0 -257
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.js.map +0 -1
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.scss.js +0 -13
- package/es-custom/patterns/step-flow/_story-assets/step-full-page.scss.js.map +0 -1
- package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.d.ts +0 -41
- package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js +0 -255
- package/es-custom/patterns/step-flow/_story-assets/step-tearsheet.js.map +0 -1
- package/es-custom/patterns/step-flow/index.d.ts +0 -10
- package/es-custom/patterns/step-flow/index.js +0 -10
- package/es-custom/patterns/step-flow/index.js.map +0 -1
- package/es-custom/patterns/step-flow/step-flow-signal.d.ts +0 -24
- package/es-custom/patterns/step-flow/step-flow-signal.js +0 -54
- package/es-custom/patterns/step-flow/step-flow-signal.js.map +0 -1
- package/es-custom/patterns/step-flow/step-flow-signal.test.d.ts +0 -7
- package/es-custom/patterns/step-flow/step-flow-signal.test.js +0 -88
- package/es-custom/patterns/step-flow/step-flow-signal.test.js.map +0 -1
- package/es-custom/patterns/step-flow/step-group.d.ts +0 -15
- package/es-custom/patterns/step-flow/step-group.js +0 -28
- package/es-custom/patterns/step-flow/step-group.js.map +0 -1
- package/es-custom/patterns/step-flow/story-styles.scss.js +0 -13
- package/es-custom/patterns/step-flow/story-styles.scss.js.map +0 -1
- package/es-custom/utilities/carousel/carousel.d.ts +0 -14
- package/es-custom/utilities/carousel/carousel.js +0 -341
- package/es-custom/utilities/carousel/carousel.js.map +0 -1
- package/es-custom/utilities/carousel/index.d.ts +0 -8
- package/es-custom/utilities/carousel/index.js +0 -9
- package/es-custom/utilities/carousel/index.js.map +0 -1
- package/es-custom/utilities/carousel/swipeEvents.d.ts +0 -7
- package/es-custom/utilities/carousel/swipeEvents.js +0 -109
- package/es-custom/utilities/carousel/swipeEvents.js.map +0 -1
- package/es-custom/utilities/carousel/types.d.ts +0 -37
- package/es-custom/utilities/carousel/types.js +0 -8
- package/es-custom/utilities/carousel/types.js.map +0 -1
- package/es-custom/utilities/manageFocusTrap/manageFocusTrap.d.ts +0 -13
- package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js +0 -138
- package/es-custom/utilities/manageFocusTrap/manageFocusTrap.js.map +0 -1
- package/lib/components/about-modal/about-modal.d.ts +0 -458
- package/lib/components/about-modal/about-modal.test.d.ts +0 -7
- package/lib/components/about-modal/index.d.ts +0 -9
- package/lib/components/checklist/checklist-chart.d.ts +0 -25
- package/lib/components/checklist/checklist-group.d.ts +0 -25
- package/lib/components/checklist/checklist-icon.d.ts +0 -26
- package/lib/components/checklist/checklist-item.d.ts +0 -41
- package/lib/components/checklist/checklist.d.ts +0 -73
- package/lib/components/checklist/checklist.test.d.ts +0 -7
- package/lib/components/checklist/checklist.types.d.ts +0 -22
- package/lib/components/checklist/index.d.ts +0 -13
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +0 -413
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +0 -9
- package/lib/components/coachmark/coachmark-beacon/defs.d.ts +0 -14
- package/lib/components/coachmark/coachmark-beacon/defs.js +0 -25
- package/lib/components/coachmark/coachmark-beacon/defs.js.map +0 -1
- package/lib/components/coachmark/coachmark-beacon/index.d.ts +0 -9
- package/lib/components/full-page-error/full-page-error.d.ts +0 -43
- package/lib/components/full-page-error/full-page-error.test.d.ts +0 -7
- package/lib/components/full-page-error/index.d.ts +0 -9
- package/lib/components/full-page-error/types.d.ts +0 -13
- package/lib/components/interstitial-screen/index.d.ts +0 -13
- package/lib/components/interstitial-screen/interstitial-screen-body-item.d.ts +0 -388
- package/lib/components/interstitial-screen/interstitial-screen-body.d.ts +0 -402
- package/lib/components/interstitial-screen/interstitial-screen-context.d.ts +0 -18
- package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts +0 -429
- package/lib/components/interstitial-screen/interstitial-screen-header.d.ts +0 -413
- package/lib/components/interstitial-screen/interstitial-screen.d.ts +0 -441
- package/lib/components/interstitial-screen/interstitial-screen.test.d.ts +0 -1
- package/lib/components/notification-panel/_story-assets/unread-notification-bell.d.ts +0 -3
- package/lib/components/notification-panel/date-time-context.d.ts +0 -9
- package/lib/components/notification-panel/defs.d.ts +0 -8
- package/lib/components/notification-panel/defs.js +0 -10
- package/lib/components/notification-panel/defs.js.map +0 -1
- package/lib/components/notification-panel/index.d.ts +0 -11
- package/lib/components/notification-panel/notification-footer.d.ts +0 -405
- package/lib/components/notification-panel/notification-footer.test.d.ts +0 -7
- package/lib/components/notification-panel/notification-panel.d.ts +0 -479
- package/lib/components/notification-panel/notification-panel.test.d.ts +0 -7
- package/lib/components/notification-panel/notification.d.ts +0 -415
- package/lib/components/notification-panel/notification.test.d.ts +0 -7
- package/lib/components/options-tile/index.d.ts +0 -9
- package/lib/components/options-tile/options-tile.d.ts +0 -416
- package/lib/components/options-tile/options-tile.test.d.ts +0 -1
- package/lib/components/page-header/_story-assets/overflowHandler.d.ts +0 -98
- package/lib/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +0 -43
- package/lib/components/page-header/_story-assets/set-of-tags/index.d.ts +0 -9
- package/lib/components/page-header/_story-assets/set-of-tags/set-of-tags.d.ts +0 -40
- package/lib/components/page-header/_story-assets/set-of-tags/utils.d.ts +0 -23
- package/lib/components/page-header/context.d.ts +0 -15
- package/lib/components/page-header/index.d.ts +0 -16
- package/lib/components/page-header/page-header-breadcrumb.d.ts +0 -36
- package/lib/components/page-header/page-header-content-text.d.ts +0 -22
- package/lib/components/page-header/page-header-content.d.ts +0 -42
- package/lib/components/page-header/page-header-hero-image.d.ts +0 -18
- package/lib/components/page-header/page-header-scroller.d.ts +0 -56
- package/lib/components/page-header/page-header-tabs.d.ts +0 -18
- package/lib/components/page-header/page-header-title-breadcrumb.d.ts +0 -20
- package/lib/components/page-header/page-header.d.ts +0 -31
- package/lib/components/page-header/page-header.test.d.ts +0 -1
- package/lib/components/page-header/utils.d.ts +0 -32
- package/lib/components/side-panel/_story-assets/index.d.ts +0 -8
- package/lib/components/side-panel/defs.d.ts +0 -39
- package/lib/components/side-panel/defs.js +0 -51
- package/lib/components/side-panel/defs.js.map +0 -1
- package/lib/components/side-panel/index.d.ts +0 -9
- package/lib/components/side-panel/side-panel.d.ts +0 -571
- package/lib/components/side-panel/side-panel.test.d.ts +0 -3
- package/lib/components/tearsheet/defs.d.ts +0 -26
- package/lib/components/tearsheet/defs.js +0 -39
- package/lib/components/tearsheet/defs.js.map +0 -1
- package/lib/components/tearsheet/index.d.ts +0 -9
- package/lib/components/tearsheet/tearsheet.d.ts +0 -535
- package/lib/components/tearsheet/tearsheet.test.d.ts +0 -14
- package/lib/components/tearsheet/utils.d.ts +0 -34
- package/lib/components/truncated-text/index.d.ts +0 -9
- package/lib/components/truncated-text/truncated-text.d.ts +0 -78
- package/lib/components/truncated-text/truncated-text.test.d.ts +0 -7
- package/lib/components/user-avatar/index.d.ts +0 -9
- package/lib/components/user-avatar/user-avatar.d.ts +0 -425
- package/lib/components/user-avatar/user-avatar.test.d.ts +0 -1
- package/lib/globals/internal/handle.d.ts +0 -18
- package/lib/globals/internal/pconsole.d.ts +0 -15
- package/lib/globals/js/utils/getSupportedLocale.d.ts +0 -12
- package/lib/globals/js/utils/getSupportedLocale.js +0 -37
- package/lib/globals/js/utils/getSupportedLocale.js.map +0 -1
- package/lib/globals/settings.d.ts +0 -15
- package/lib/globals/settings.js +0 -32
- package/lib/globals/settings.js.map +0 -1
- package/lib/index.d.ts +0 -21
- package/lib/patterns/step-flow/_story-assets/step-full-page.d.ts +0 -41
- package/lib/patterns/step-flow/_story-assets/step-tearsheet.d.ts +0 -41
- package/lib/patterns/step-flow/index.d.ts +0 -10
- package/lib/patterns/step-flow/step-flow-signal.d.ts +0 -24
- package/lib/patterns/step-flow/step-flow-signal.test.d.ts +0 -7
- package/lib/patterns/step-flow/step-group.d.ts +0 -15
- package/lib/utilities/carousel/carousel.d.ts +0 -14
- package/lib/utilities/carousel/index.d.ts +0 -8
- package/lib/utilities/carousel/swipeEvents.d.ts +0 -7
- package/lib/utilities/carousel/types.d.ts +0 -37
- package/lib/utilities/manageFocusTrap/manageFocusTrap.d.ts +0 -13
- package/scss/components/about-modal/about-modal.scss +0 -117
- package/scss/components/checklist/checklist.scss +0 -70
- package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +0 -90
- package/scss/components/full-page-error/full-page-error.scss +0 -29
- package/scss/components/interstitial-screen/interstitial-screen-body-item.scss +0 -18
- package/scss/components/interstitial-screen/interstitial-screen-body.scss +0 -29
- package/scss/components/interstitial-screen/interstitial-screen-footer.scss +0 -39
- package/scss/components/interstitial-screen/interstitial-screen-header.scss +0 -13
- package/scss/components/interstitial-screen/interstitial-screen.scss +0 -28
- package/scss/components/notification-panel/notification-footer.scss +0 -65
- package/scss/components/notification-panel/notification-panel.scss +0 -58
- package/scss/components/notification-panel/notification.scss +0 -147
- package/scss/components/options-tile/options-tile.scss +0 -102
- package/scss/components/page-header/_story-assets/_storybook-styles.scss +0 -35
- package/scss/components/page-header/_story-assets/set-of-breadcrumbs.scss +0 -41
- package/scss/components/page-header/_story-assets/set-of-tags/set-of-tags.scss +0 -96
- package/scss/components/page-header/page-header.scss +0 -422
- package/scss/components/side-panel/side-panel.scss +0 -307
- package/scss/components/tearsheet/tearsheet.scss +0 -343
- package/scss/components/truncated-text/truncated-text.scss +0 -110
- package/scss/components/user-avatar/user-avatar.scss +0 -119
|
@@ -1,721 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2024
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { __decorate } from 'tslib';
|
|
9
|
-
import { LitElement, html } from 'lit';
|
|
10
|
-
import { query, queryAssignedElements, state, property } from 'lit/decorators.js';
|
|
11
|
-
import { prefix, carbonPrefix, selectorTabbable } from '../../globals/settings.js';
|
|
12
|
-
import HostListener from '@carbon/web-components/es/globals/decorators/host-listener.js';
|
|
13
|
-
import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';
|
|
14
|
-
import styles from './tearsheet.scss.js';
|
|
15
|
-
import pconsole from '../../globals/internal/pconsole.js';
|
|
16
|
-
import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
|
|
17
|
-
import '@carbon/web-components/es/components/button/index.js';
|
|
18
|
-
import '@carbon/web-components/es/components/layer/index.js';
|
|
19
|
-
import '@carbon/web-components/es/components/button/button-set-base.js';
|
|
20
|
-
import '@carbon/web-components/es/components/modal/index.js';
|
|
21
|
-
import { TEARSHEET_INFLUENCER_PLACEMENT, TEARSHEET_INFLUENCER_WIDTH, TEARSHEET_WIDTH } from './defs.js';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @license
|
|
25
|
-
*
|
|
26
|
-
* Copyright IBM Corp. 2023, 2024
|
|
27
|
-
*
|
|
28
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
29
|
-
* LICENSE file in the root directory of this source tree.
|
|
30
|
-
*/
|
|
31
|
-
var CDSTearsheet_1;
|
|
32
|
-
const maxStackDepth = 3;
|
|
33
|
-
const PRECEDING =
|
|
34
|
-
// eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
|
|
35
|
-
Node.DOCUMENT_POSITION_PRECEDING | Node.DOCUMENT_POSITION_CONTAINS;
|
|
36
|
-
const FOLLOWING =
|
|
37
|
-
// eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
|
|
38
|
-
Node.DOCUMENT_POSITION_FOLLOWING | Node.DOCUMENT_POSITION_CONTAINED_BY;
|
|
39
|
-
const blockClass = `${prefix}--tearsheet`;
|
|
40
|
-
const blockClassModalHeader = `${carbonPrefix}--modal-header`;
|
|
41
|
-
const blockClassActionSet = `${prefix}--action-set`;
|
|
42
|
-
/**
|
|
43
|
-
* Tries to focus on the given elements and bails out if one of them is successful.
|
|
44
|
-
*
|
|
45
|
-
* @param elements The elements.
|
|
46
|
-
* @param reverse `true` to go through the list in reverse order.
|
|
47
|
-
* @returns `true` if one of the attempts is successful, `false` otherwise.
|
|
48
|
-
*/
|
|
49
|
-
function tryFocusElements(elements, reverse) {
|
|
50
|
-
{
|
|
51
|
-
for (let i = elements.length - 1; i >= 0; --i) {
|
|
52
|
-
const elem = elements[i];
|
|
53
|
-
elem.focus();
|
|
54
|
-
if (elem.ownerDocument.activeElement === elem) {
|
|
55
|
-
return true;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return false;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Tearsheet.
|
|
63
|
-
*
|
|
64
|
-
* @element c4p-tearsheet
|
|
65
|
-
* @csspart dialog The dialog.
|
|
66
|
-
* @fires c4p-tearsheet-beingclosed
|
|
67
|
-
* The custom event fired before this tearsheet is being closed upon a user gesture.
|
|
68
|
-
* Cancellation of this event stops the user-initiated action of closing this tearsheet.
|
|
69
|
-
* @fires c4p-tearsheet-closed - The custom event fired after this tearsheet is closed upon a user gesture.
|
|
70
|
-
*/
|
|
71
|
-
let CDSTearsheet = CDSTearsheet_1 = class CDSTearsheet extends HostListenerMixin(LitElement) {
|
|
72
|
-
constructor() {
|
|
73
|
-
super(...arguments);
|
|
74
|
-
/**
|
|
75
|
-
* The element that had focus before this tearsheet gets open.
|
|
76
|
-
*/
|
|
77
|
-
this._launcher = null;
|
|
78
|
-
this._actionsCount = 0;
|
|
79
|
-
this._hasHeaderActions = false;
|
|
80
|
-
this._hasLabel = false;
|
|
81
|
-
this._hasSlug = false;
|
|
82
|
-
this._hasDecorator = false;
|
|
83
|
-
this._hasAILabel = false;
|
|
84
|
-
this._hasTitle = false;
|
|
85
|
-
this._hasDescription = false;
|
|
86
|
-
this._hasInfluencerLeft = false;
|
|
87
|
-
this._hasInfluencerRight = false;
|
|
88
|
-
this._isOpen = false;
|
|
89
|
-
this._hasHeaderNavigation = false;
|
|
90
|
-
/**
|
|
91
|
-
* Handles `click` event on this element.
|
|
92
|
-
*
|
|
93
|
-
* @param event The event.
|
|
94
|
-
*/
|
|
95
|
-
this._handleClick = (event) => {
|
|
96
|
-
if (event.composedPath().indexOf(this.shadowRoot) < 0 &&
|
|
97
|
-
!this.preventCloseOnClickOutside) {
|
|
98
|
-
this._handleUserInitiatedClose(event.target);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Handles `blur` event on this element.
|
|
103
|
-
*
|
|
104
|
-
* @param event The event.
|
|
105
|
-
* @param event.target The event target.
|
|
106
|
-
* @param event.relatedTarget The event relatedTarget.
|
|
107
|
-
*/
|
|
108
|
-
this._handleBlur = async ({ target, relatedTarget }) => {
|
|
109
|
-
var _a;
|
|
110
|
-
if (!this._topOfStack()) {
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
const {
|
|
114
|
-
// condensedActions,
|
|
115
|
-
open, _startSentinelNode: startSentinelNode, _endSentinelNode: endSentinelNode, } = this;
|
|
116
|
-
const oldContains = target !== this && this.contains(target);
|
|
117
|
-
const currentContains = relatedTarget !== this &&
|
|
118
|
-
(this.contains(relatedTarget) ||
|
|
119
|
-
(((_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.contains(relatedTarget)) &&
|
|
120
|
-
relatedTarget !== startSentinelNode &&
|
|
121
|
-
relatedTarget !== endSentinelNode));
|
|
122
|
-
// Performs focus wrapping if _all_ of the following is met:
|
|
123
|
-
// * This tearsheet is open
|
|
124
|
-
// * The viewport still has focus
|
|
125
|
-
// * Tearsheet body used to have focus but no longer has focus
|
|
126
|
-
const { selectorTabbable: selectorTabbableForTearsheet } = this
|
|
127
|
-
.constructor;
|
|
128
|
-
if (open && relatedTarget && oldContains && !currentContains) {
|
|
129
|
-
const comparisonResult = target.compareDocumentPosition(relatedTarget);
|
|
130
|
-
if (relatedTarget === startSentinelNode || comparisonResult & PRECEDING) {
|
|
131
|
-
await this.constructor._delay();
|
|
132
|
-
if (!tryFocusElements(this.querySelectorAll(selectorTabbableForTearsheet)) &&
|
|
133
|
-
relatedTarget !== this) {
|
|
134
|
-
this.focus();
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
else if (relatedTarget === endSentinelNode ||
|
|
138
|
-
comparisonResult & FOLLOWING) {
|
|
139
|
-
await this.constructor._delay();
|
|
140
|
-
if (!tryFocusElements(this.querySelectorAll(selectorTabbableForTearsheet))) {
|
|
141
|
-
this.focus();
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
this._handleKeydown = ({ key, target }) => {
|
|
147
|
-
if ((key === 'Esc' || key === 'Escape') && this._topOfStack()) {
|
|
148
|
-
this._handleUserInitiatedClose(target);
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
/**
|
|
152
|
-
* Optional aria label for the tearsheet
|
|
153
|
-
*/
|
|
154
|
-
this.ariaLabel = '';
|
|
155
|
-
/**
|
|
156
|
-
* Sets the close button icon description
|
|
157
|
-
*/
|
|
158
|
-
this.closeIconDescription = 'Close';
|
|
159
|
-
/**
|
|
160
|
-
* Enable a close icon ('x') in the header area of the tearsheet. By default,
|
|
161
|
-
* (when this prop is omitted, or undefined or null) a tearsheet does not
|
|
162
|
-
* display a close icon if there are navigation actions ("transactional
|
|
163
|
-
* tearsheet") and displays one if there are no navigation actions ("passive
|
|
164
|
-
* tearsheet"), and that behavior can be overridden if required by setting
|
|
165
|
-
* this prop to either true or false.
|
|
166
|
-
*/
|
|
167
|
-
this.hasCloseIcon = false;
|
|
168
|
-
/**
|
|
169
|
-
* The placement of the influencer section, 'left' or 'right'.
|
|
170
|
-
*/
|
|
171
|
-
this.influencerPlacement = TEARSHEET_INFLUENCER_PLACEMENT.RIGHT;
|
|
172
|
-
/**
|
|
173
|
-
* The width of the influencer section, 'narrow' or 'wide'.
|
|
174
|
-
*/
|
|
175
|
-
this.influencerWidth = TEARSHEET_INFLUENCER_WIDTH.NARROW;
|
|
176
|
-
/**
|
|
177
|
-
* `true` if the tearsheet should be open.
|
|
178
|
-
*/
|
|
179
|
-
this.open = false;
|
|
180
|
-
/**
|
|
181
|
-
* Prevent closing on click outside of tearsheet
|
|
182
|
-
*/
|
|
183
|
-
this.preventCloseOnClickOutside = false;
|
|
184
|
-
/**
|
|
185
|
-
* The width of the influencer section, 'narrow' or 'wide'.
|
|
186
|
-
*/
|
|
187
|
-
this.width = TEARSHEET_WIDTH.NARROW;
|
|
188
|
-
this._checkUpdateActionSizes = () => {
|
|
189
|
-
if (this._actions) {
|
|
190
|
-
for (let i = 0; i < this._actions.length; i++) {
|
|
191
|
-
this._actions[i].setAttribute('size', this.width === 'wide' ? '2xl' : 'xl');
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
this._maxActions = 4;
|
|
196
|
-
// Data structure to communicate the state of tearsheet stacking
|
|
197
|
-
// (i.e. when more than one tearsheet is open). Each tearsheet supplies a
|
|
198
|
-
// handler to be called whenever the stacking of the tearsheets changes, which
|
|
199
|
-
// happens when a tearsheet opens or closes. The 'open' array contains one
|
|
200
|
-
// handler per OPEN tearsheet ordered from lowest to highest in visual z-order.
|
|
201
|
-
// The 'all' array contains all the handlers for open and closed tearsheets.
|
|
202
|
-
this._stackDepth = -1;
|
|
203
|
-
this._stackPosition = -1;
|
|
204
|
-
this._topOfStack = () => {
|
|
205
|
-
return this._stackDepth === this._stackPosition;
|
|
206
|
-
};
|
|
207
|
-
this._notifyStack = () => {
|
|
208
|
-
CDSTearsheet_1._stack.all.forEach((handler) => {
|
|
209
|
-
handler(Math.min(CDSTearsheet_1._stack.open.length, maxStackDepth), CDSTearsheet_1._stack.open.indexOf(handler) + 1);
|
|
210
|
-
});
|
|
211
|
-
};
|
|
212
|
-
this._handleStackChange = (newDepth, newPosition) => {
|
|
213
|
-
this._stackDepth = newDepth;
|
|
214
|
-
this._stackPosition = newPosition;
|
|
215
|
-
if (this._stackDepth > 1 && this._stackPosition > 0) {
|
|
216
|
-
this.setAttribute('stack-position', `${newPosition}`);
|
|
217
|
-
this.setAttribute('stack-depth', `${this._stackDepth}`);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
this.removeAttribute('stack-position');
|
|
221
|
-
this.removeAttribute('stack-depth');
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
this._updateStack = () => {
|
|
225
|
-
if (this.open) {
|
|
226
|
-
CDSTearsheet_1._stack.open.push(this._handleStackChange);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
const indexOpen = CDSTearsheet_1._stack.open.indexOf(this._handleStackChange);
|
|
230
|
-
if (indexOpen >= 0) {
|
|
231
|
-
CDSTearsheet_1._stack.open.splice(indexOpen, 1);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
this._notifyStack();
|
|
235
|
-
};
|
|
236
|
-
this.actionsMultiple = ['', 'single', 'double', 'triple'][this._actionsCount];
|
|
237
|
-
this._checkSetOpen = () => {
|
|
238
|
-
const { _tearsheet: tearsheet } = this;
|
|
239
|
-
if (tearsheet && this._isOpen) {
|
|
240
|
-
// wait until the tearsheet has transitioned off the screen to remove
|
|
241
|
-
tearsheet.addEventListener('transitionend', () => {
|
|
242
|
-
this._isOpen = false;
|
|
243
|
-
});
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
// allow the html to render before animating in the tearsheet
|
|
247
|
-
window.requestAnimationFrame(() => {
|
|
248
|
-
this._isOpen = this.open;
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
_checkSetHasSlot(e) {
|
|
254
|
-
var _a, _b;
|
|
255
|
-
const t = e.target;
|
|
256
|
-
const dataPostfix = t.getAttribute('data-postfix');
|
|
257
|
-
const postfix = dataPostfix ? `-${dataPostfix}` : '';
|
|
258
|
-
// snake `ab-cd-ef` to _has camel case _hasAbCdEf
|
|
259
|
-
const hasName = `_has-${t.name}${postfix}`.replace(/-./g, (c) => c[1].toUpperCase());
|
|
260
|
-
this[hasName] = ((_b = (_a = t === null || t === void 0 ? void 0 : t.assignedElements()) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 0;
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* Handles `click` event on the modal container.
|
|
264
|
-
*
|
|
265
|
-
* @param event The event.
|
|
266
|
-
*/
|
|
267
|
-
_handleClickContainer(event) {
|
|
268
|
-
if (event.target.matches(this.constructor.selectorCloseButton)) {
|
|
269
|
-
this._handleUserInitiatedClose(event.target);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* Handles user-initiated close request of this tearsheet.
|
|
274
|
-
*
|
|
275
|
-
* @param triggeredBy The element that triggered this close request.
|
|
276
|
-
*/
|
|
277
|
-
_handleUserInitiatedClose(triggeredBy) {
|
|
278
|
-
if (this.open) {
|
|
279
|
-
const init = {
|
|
280
|
-
bubbles: true,
|
|
281
|
-
cancelable: true,
|
|
282
|
-
composed: true,
|
|
283
|
-
detail: {
|
|
284
|
-
triggeredBy,
|
|
285
|
-
},
|
|
286
|
-
};
|
|
287
|
-
if (this.dispatchEvent(new CustomEvent(this.constructor.eventBeforeClose, init))) {
|
|
288
|
-
this.open = false;
|
|
289
|
-
this.dispatchEvent(new CustomEvent(this.constructor.eventClose, init));
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
_handleSlugChange(e) {
|
|
294
|
-
const childItems = e.target.assignedElements();
|
|
295
|
-
this._hasSlug = childItems.length > 0;
|
|
296
|
-
if (this._hasSlug) {
|
|
297
|
-
childItems[0].setAttribute('size', 'sm');
|
|
298
|
-
this.setAttribute('slug', '');
|
|
299
|
-
}
|
|
300
|
-
else {
|
|
301
|
-
this.removeAttribute('slug');
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
_handleDecoratorChange(e) {
|
|
305
|
-
this._hasAILabel = false;
|
|
306
|
-
const childItems = e.target.assignedElements();
|
|
307
|
-
this._hasDecorator = childItems.length > 0;
|
|
308
|
-
if (this._hasDecorator) {
|
|
309
|
-
for (const item of childItems) {
|
|
310
|
-
if (item.tagName.toLowerCase() === 'cds-ai-label') {
|
|
311
|
-
this._hasAILabel = true;
|
|
312
|
-
break;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
if (this._hasAILabel || this._hasDecorator) {
|
|
317
|
-
childItems[0].setAttribute('size', 'sm');
|
|
318
|
-
this.setAttribute(this._hasAILabel ? 'ai-label' : 'decorator', '');
|
|
319
|
-
this.removeAttribute(this._hasAILabel ? 'decorator' : 'ai-label');
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
this.removeAttribute('decorator');
|
|
323
|
-
this.removeAttribute('ai-label');
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
_handleActionsChange(e) {
|
|
327
|
-
var _a;
|
|
328
|
-
const target = e.target;
|
|
329
|
-
const actions = target === null || target === void 0 ? void 0 : target.assignedElements();
|
|
330
|
-
const actionsCount = (_a = actions === null || actions === void 0 ? void 0 : actions.length) !== null && _a !== void 0 ? _a : 0;
|
|
331
|
-
if (actionsCount > this._maxActions) {
|
|
332
|
-
this._actionsCount = this._maxActions;
|
|
333
|
-
console.error(`Too many tearsheet actions, max ${this._maxActions}.`);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
this._actionsCount = actionsCount;
|
|
337
|
-
}
|
|
338
|
-
for (let i = 0; i < (actions === null || actions === void 0 ? void 0 : actions.length); i++) {
|
|
339
|
-
if (i + 1 > this._maxActions) {
|
|
340
|
-
// hide excessive tearsheet actions
|
|
341
|
-
actions[i].setAttribute('hidden', 'true');
|
|
342
|
-
actions[i].setAttribute(`data-actions-limit-${this._maxActions}-exceeded`, `${actions.length}`);
|
|
343
|
-
}
|
|
344
|
-
else {
|
|
345
|
-
actions[i].classList.add(`${blockClassActionSet}__action-button`);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
this._checkUpdateActionSizes();
|
|
349
|
-
}
|
|
350
|
-
connectedCallback() {
|
|
351
|
-
super.connectedCallback();
|
|
352
|
-
CDSTearsheet_1._stack.all.push(this._handleStackChange);
|
|
353
|
-
}
|
|
354
|
-
disconnectedCallback() {
|
|
355
|
-
super.disconnectedCallback();
|
|
356
|
-
const indexAll = CDSTearsheet_1._stack.all.indexOf(this._handleStackChange);
|
|
357
|
-
CDSTearsheet_1._stack.all.splice(indexAll, 1);
|
|
358
|
-
const indexOpen = CDSTearsheet_1._stack.all.indexOf(this._handleStackChange);
|
|
359
|
-
CDSTearsheet_1._stack.open.splice(indexOpen, 1);
|
|
360
|
-
}
|
|
361
|
-
render() {
|
|
362
|
-
const { closeIconDescription, influencerPlacement, influencerWidth, open, width, } = this;
|
|
363
|
-
const actionsMultiple = ['', 'single', 'double', 'triple'][this._actionsCount];
|
|
364
|
-
const headerFieldsTemplate = html `<div
|
|
365
|
-
class=${`${blockClass}__header-fields`}
|
|
366
|
-
>
|
|
367
|
-
<h2 class=${`${blockClassModalHeader}__label`} ?hidden=${!this._hasLabel}>
|
|
368
|
-
<slot name="label" @slotchange=${this._checkSetHasSlot}></slot>
|
|
369
|
-
</h2>
|
|
370
|
-
<h3
|
|
371
|
-
class=${`${blockClassModalHeader}__heading ${blockClass}__heading`}
|
|
372
|
-
?hidden=${!this._hasTitle}
|
|
373
|
-
>
|
|
374
|
-
<slot name="title" @slotchange=${this._checkSetHasSlot}></slot>
|
|
375
|
-
</h3>
|
|
376
|
-
<div
|
|
377
|
-
class=${`${blockClass}__header-description`}
|
|
378
|
-
?hidden=${!this._hasDescription}
|
|
379
|
-
>
|
|
380
|
-
<slot name="description" @slotchange=${this._checkSetHasSlot}></slot>
|
|
381
|
-
</div>
|
|
382
|
-
</div>`;
|
|
383
|
-
const headerActionsTemplate = html ` <div
|
|
384
|
-
class=${`${blockClass}__header-actions`}
|
|
385
|
-
?hidden=${!this._hasHeaderActions || this.width === 'narrow'}
|
|
386
|
-
>
|
|
387
|
-
<slot name="header-actions" @slotchange=${this._checkSetHasSlot}></slot>
|
|
388
|
-
</div>`;
|
|
389
|
-
const headerTemplate = html ` <cds-modal-header
|
|
390
|
-
class=${`${blockClass}__header`}
|
|
391
|
-
?has-close-icon=${this.hasCloseIcon || (this === null || this === void 0 ? void 0 : this._actionsCount) === 0}
|
|
392
|
-
?has-navigation=${this._hasHeaderNavigation && this.width === 'wide'}
|
|
393
|
-
?has-header-actions=${this._hasHeaderActions && this.width === 'wide'}
|
|
394
|
-
?has-actions=${(this === null || this === void 0 ? void 0 : this._actionsCount) > 0}
|
|
395
|
-
?has-slug=${this === null || this === void 0 ? void 0 : this._hasSlug}
|
|
396
|
-
?has-decorator=${this === null || this === void 0 ? void 0 : this._hasDecorator}
|
|
397
|
-
width=${width}
|
|
398
|
-
>
|
|
399
|
-
${this.width === TEARSHEET_WIDTH.WIDE
|
|
400
|
-
? html `<cds-layer level="1" class=${`${blockClass}__header-content`}
|
|
401
|
-
>${headerFieldsTemplate}${headerActionsTemplate}</cds-layer
|
|
402
|
-
>`
|
|
403
|
-
: html `<div>${headerFieldsTemplate}${headerActionsTemplate}</div>`}
|
|
404
|
-
|
|
405
|
-
<div
|
|
406
|
-
class=${`${blockClass}__header-navigation`}
|
|
407
|
-
?hidden=${!this._hasHeaderNavigation || this.width === 'narrow'}
|
|
408
|
-
>
|
|
409
|
-
<slot
|
|
410
|
-
name="header-navigation"
|
|
411
|
-
@slotchange=${this._checkSetHasSlot}
|
|
412
|
-
></slot>
|
|
413
|
-
</div>
|
|
414
|
-
<slot
|
|
415
|
-
name="decorator"
|
|
416
|
-
slot="ai-label"
|
|
417
|
-
@slotchange=${this._handleDecoratorChange}
|
|
418
|
-
></slot>
|
|
419
|
-
<slot name="slug" @slotchange=${this._handleSlugChange}></slot>
|
|
420
|
-
${this.hasCloseIcon || (this === null || this === void 0 ? void 0 : this._actionsCount) === 0
|
|
421
|
-
? html `<cds-modal-close-button
|
|
422
|
-
close-button-label=${closeIconDescription}
|
|
423
|
-
@click=${this._handleUserInitiatedClose}
|
|
424
|
-
></cds-modal-close-button>`
|
|
425
|
-
: ''}
|
|
426
|
-
</cds-modal-header>`;
|
|
427
|
-
if (this._stackPosition <= this._stackDepth) {
|
|
428
|
-
return html `
|
|
429
|
-
<a
|
|
430
|
-
id="start-sentinel"
|
|
431
|
-
class="${prefix}--visually-hidden"
|
|
432
|
-
href="javascript:void 0"
|
|
433
|
-
role="navigation"
|
|
434
|
-
></a>
|
|
435
|
-
<div
|
|
436
|
-
aria-label=${this.ariaLabel}
|
|
437
|
-
class=${`${blockClass}__container ${carbonPrefix}--modal-container ${carbonPrefix}--modal-container--sm`}
|
|
438
|
-
part="dialog"
|
|
439
|
-
role="complementary"
|
|
440
|
-
?open=${this._isOpen}
|
|
441
|
-
?opening=${open && !this._isOpen}
|
|
442
|
-
?closing=${!open && this._isOpen}
|
|
443
|
-
width=${width}
|
|
444
|
-
stack-position=${this._stackPosition}
|
|
445
|
-
stack-depth=${this._stackDepth}
|
|
446
|
-
@click=${this._handleClickContainer}
|
|
447
|
-
>
|
|
448
|
-
<!-- Header -->
|
|
449
|
-
${headerTemplate}
|
|
450
|
-
|
|
451
|
-
<!-- Body -->
|
|
452
|
-
<cds-modal-body class=${`${blockClass}__body`} width=${width}>
|
|
453
|
-
<!-- Influencer when on left -->
|
|
454
|
-
${influencerPlacement !== TEARSHEET_INFLUENCER_PLACEMENT.RIGHT
|
|
455
|
-
? html `<div
|
|
456
|
-
class=${`${blockClass}__influencer`}
|
|
457
|
-
?wide=${influencerWidth === 'wide'}
|
|
458
|
-
?hidden=${!this._hasInfluencerLeft ||
|
|
459
|
-
this.width === TEARSHEET_WIDTH.NARROW}
|
|
460
|
-
>
|
|
461
|
-
<slot
|
|
462
|
-
name="influencer"
|
|
463
|
-
data-postfix="left"
|
|
464
|
-
@slotchange=${this._checkSetHasSlot}
|
|
465
|
-
></slot>
|
|
466
|
-
</div>`
|
|
467
|
-
: ''}
|
|
468
|
-
|
|
469
|
-
<div class=${`${blockClass}__right`}>
|
|
470
|
-
<div class=${`${blockClass}__main`}>
|
|
471
|
-
<div class=${`${blockClass}__content`}>
|
|
472
|
-
<cds-layer
|
|
473
|
-
level="${this.width === TEARSHEET_WIDTH.NARROW ? 1 : 0}"
|
|
474
|
-
>
|
|
475
|
-
<slot></slot>
|
|
476
|
-
</cds-layer>
|
|
477
|
-
</div>
|
|
478
|
-
|
|
479
|
-
<!-- Influencer when on right -->
|
|
480
|
-
${influencerPlacement === TEARSHEET_INFLUENCER_PLACEMENT.RIGHT
|
|
481
|
-
? html `<div
|
|
482
|
-
class=${`${blockClass}__influencer`}
|
|
483
|
-
?wide=${influencerWidth}
|
|
484
|
-
?hidden=${!this._hasInfluencerRight ||
|
|
485
|
-
this.width === TEARSHEET_WIDTH.NARROW}
|
|
486
|
-
>
|
|
487
|
-
<slot
|
|
488
|
-
name="influencer"
|
|
489
|
-
data-postfix="right"
|
|
490
|
-
@slotchange=${this._checkSetHasSlot}
|
|
491
|
-
></slot>
|
|
492
|
-
</div>`
|
|
493
|
-
: ''}
|
|
494
|
-
</div>
|
|
495
|
-
<!-- Action buttons -->
|
|
496
|
-
<cds-button-set-base
|
|
497
|
-
class=${`${blockClass}__buttons ${blockClass}__button-container`}
|
|
498
|
-
actions-multiple=${actionsMultiple}
|
|
499
|
-
?tearsheet-wide=${width === 'wide'}
|
|
500
|
-
?hidden=${this._actionsCount === 0}
|
|
501
|
-
>
|
|
502
|
-
<slot
|
|
503
|
-
name="actions"
|
|
504
|
-
@slotchange=${this._handleActionsChange}
|
|
505
|
-
></slot>
|
|
506
|
-
</cds-button-set-base>
|
|
507
|
-
</div>
|
|
508
|
-
</cds-modal-body>
|
|
509
|
-
</div>
|
|
510
|
-
<a
|
|
511
|
-
id="end-sentinel"
|
|
512
|
-
class="${prefix}--visually-hidden"
|
|
513
|
-
href="javascript:void 0"
|
|
514
|
-
role="navigation"
|
|
515
|
-
></a>
|
|
516
|
-
`;
|
|
517
|
-
}
|
|
518
|
-
else {
|
|
519
|
-
pconsole.warn('Tearsheet not rendered: maximum stacking depth exceeded.');
|
|
520
|
-
return null;
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
async updated(changedProperties) {
|
|
524
|
-
if (changedProperties.has('width')) {
|
|
525
|
-
this._checkUpdateActionSizes();
|
|
526
|
-
}
|
|
527
|
-
if (process.env.NODE_ENV === 'development' &&
|
|
528
|
-
(changedProperties.has('width') ||
|
|
529
|
-
changedProperties.has('_hasHeaderNavigation') ||
|
|
530
|
-
changedProperties.has('_hasInfluencerLeft') ||
|
|
531
|
-
changedProperties.has('_hasInfluencerRight') ||
|
|
532
|
-
changedProperties.has('_hasHeaderActions'))) {
|
|
533
|
-
if (this.width === 'narrow') {
|
|
534
|
-
if (this._hasHeaderNavigation) {
|
|
535
|
-
console.error(`Header navigation is not permitted in narrow Tearsheet.`);
|
|
536
|
-
}
|
|
537
|
-
if (this._hasInfluencerLeft || this._hasInfluencerRight) {
|
|
538
|
-
console.error(`Influencer is not permitted in narrow Tearsheet.`);
|
|
539
|
-
}
|
|
540
|
-
if (this._hasHeaderActions) {
|
|
541
|
-
console.error(`Header actions are not permitted in narrow Tearsheet.`);
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
if (changedProperties.has('open')) {
|
|
546
|
-
this._updateStack();
|
|
547
|
-
this._checkSetOpen();
|
|
548
|
-
if (this.open) {
|
|
549
|
-
this._launcher = this.ownerDocument.activeElement;
|
|
550
|
-
const focusNode = this.selectorInitialFocus &&
|
|
551
|
-
this.querySelector(this.selectorInitialFocus);
|
|
552
|
-
await this.constructor._delay();
|
|
553
|
-
if (focusNode) {
|
|
554
|
-
// For cases where a `carbon-web-components` component (e.g. `<cds-button>`) being `primaryFocusNode`,
|
|
555
|
-
// where its first update/render cycle that makes it focusable happens after `<c4p-tearsheet>`'s first update/render cycle
|
|
556
|
-
focusNode.focus();
|
|
557
|
-
}
|
|
558
|
-
else if (!tryFocusElements(this.querySelectorAll(this.constructor.selectorTabbable))) {
|
|
559
|
-
this.focus();
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
else if (this._launcher &&
|
|
563
|
-
typeof this._launcher.focus === 'function') {
|
|
564
|
-
this._launcher.focus();
|
|
565
|
-
this._launcher = null;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
/**
|
|
570
|
-
* @param ms The number of milliseconds.
|
|
571
|
-
* @returns A promise that is resolves after the given milliseconds.
|
|
572
|
-
*/
|
|
573
|
-
static _delay(ms = 0) {
|
|
574
|
-
return new Promise((resolve) => {
|
|
575
|
-
setTimeout(resolve, ms);
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
/**
|
|
579
|
-
* A selector selecting buttons that should close this modal.
|
|
580
|
-
*/
|
|
581
|
-
static get selectorCloseButton() {
|
|
582
|
-
return `[data-modal-close],${carbonPrefix}-modal-close-button`;
|
|
583
|
-
}
|
|
584
|
-
/**
|
|
585
|
-
* A selector selecting tabbable nodes.
|
|
586
|
-
*/
|
|
587
|
-
static get selectorTabbable() {
|
|
588
|
-
return selectorTabbable;
|
|
589
|
-
}
|
|
590
|
-
/**
|
|
591
|
-
* The name of the custom event fired before this tearsheet is being closed upon a user gesture.
|
|
592
|
-
* Cancellation of this event stops the user-initiated action of closing this tearsheet.
|
|
593
|
-
*/
|
|
594
|
-
static get eventBeforeClose() {
|
|
595
|
-
return `${prefix}-tearsheet-beingclosed`;
|
|
596
|
-
}
|
|
597
|
-
/**
|
|
598
|
-
* The name of the custom event fired after this tearsheet is closed upon a user gesture.
|
|
599
|
-
*/
|
|
600
|
-
static get eventClose() {
|
|
601
|
-
return `${prefix}-tearsheet-closed`;
|
|
602
|
-
}
|
|
603
|
-
/**
|
|
604
|
-
* The name of the custom event fired on clicking the navigate back button
|
|
605
|
-
*/
|
|
606
|
-
static get eventNavigateBack() {
|
|
607
|
-
return `${prefix}-tearsheet-header-navigate-back`;
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
|
-
CDSTearsheet._stack = {
|
|
611
|
-
open: [],
|
|
612
|
-
all: [],
|
|
613
|
-
};
|
|
614
|
-
CDSTearsheet.styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader
|
|
615
|
-
__decorate([
|
|
616
|
-
query('#start-sentinel')
|
|
617
|
-
], CDSTearsheet.prototype, "_startSentinelNode", void 0);
|
|
618
|
-
__decorate([
|
|
619
|
-
query('#end-sentinel')
|
|
620
|
-
], CDSTearsheet.prototype, "_endSentinelNode", void 0);
|
|
621
|
-
__decorate([
|
|
622
|
-
query(`.${blockClass}__container`)
|
|
623
|
-
], CDSTearsheet.prototype, "_tearsheet", void 0);
|
|
624
|
-
__decorate([
|
|
625
|
-
queryAssignedElements({
|
|
626
|
-
slot: 'actions',
|
|
627
|
-
selector: `${carbonPrefix}-button`,
|
|
628
|
-
})
|
|
629
|
-
], CDSTearsheet.prototype, "_actions", void 0);
|
|
630
|
-
__decorate([
|
|
631
|
-
state()
|
|
632
|
-
], CDSTearsheet.prototype, "_actionsCount", void 0);
|
|
633
|
-
__decorate([
|
|
634
|
-
state()
|
|
635
|
-
], CDSTearsheet.prototype, "_hasHeaderActions", void 0);
|
|
636
|
-
__decorate([
|
|
637
|
-
state()
|
|
638
|
-
], CDSTearsheet.prototype, "_hasLabel", void 0);
|
|
639
|
-
__decorate([
|
|
640
|
-
state()
|
|
641
|
-
], CDSTearsheet.prototype, "_hasSlug", void 0);
|
|
642
|
-
__decorate([
|
|
643
|
-
state()
|
|
644
|
-
], CDSTearsheet.prototype, "_hasDecorator", void 0);
|
|
645
|
-
__decorate([
|
|
646
|
-
state()
|
|
647
|
-
], CDSTearsheet.prototype, "_hasAILabel", void 0);
|
|
648
|
-
__decorate([
|
|
649
|
-
state()
|
|
650
|
-
], CDSTearsheet.prototype, "_hasTitle", void 0);
|
|
651
|
-
__decorate([
|
|
652
|
-
state()
|
|
653
|
-
], CDSTearsheet.prototype, "_hasDescription", void 0);
|
|
654
|
-
__decorate([
|
|
655
|
-
state()
|
|
656
|
-
], CDSTearsheet.prototype, "_hasInfluencerLeft", void 0);
|
|
657
|
-
__decorate([
|
|
658
|
-
state()
|
|
659
|
-
], CDSTearsheet.prototype, "_hasInfluencerRight", void 0);
|
|
660
|
-
__decorate([
|
|
661
|
-
state()
|
|
662
|
-
], CDSTearsheet.prototype, "_isOpen", void 0);
|
|
663
|
-
__decorate([
|
|
664
|
-
state()
|
|
665
|
-
], CDSTearsheet.prototype, "_hasHeaderNavigation", void 0);
|
|
666
|
-
__decorate([
|
|
667
|
-
HostListener('click')
|
|
668
|
-
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
669
|
-
], CDSTearsheet.prototype, "_handleClick", void 0);
|
|
670
|
-
__decorate([
|
|
671
|
-
HostListener('shadowRoot:focusout')
|
|
672
|
-
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
673
|
-
], CDSTearsheet.prototype, "_handleBlur", void 0);
|
|
674
|
-
__decorate([
|
|
675
|
-
HostListener('document:keydown')
|
|
676
|
-
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
677
|
-
], CDSTearsheet.prototype, "_handleKeydown", void 0);
|
|
678
|
-
__decorate([
|
|
679
|
-
property({ reflect: true, attribute: 'aria-label' })
|
|
680
|
-
], CDSTearsheet.prototype, "ariaLabel", void 0);
|
|
681
|
-
__decorate([
|
|
682
|
-
property({ reflect: true, attribute: 'close-icon-description' })
|
|
683
|
-
], CDSTearsheet.prototype, "closeIconDescription", void 0);
|
|
684
|
-
__decorate([
|
|
685
|
-
property({ reflect: true, type: Boolean, attribute: 'has-close-icon' })
|
|
686
|
-
], CDSTearsheet.prototype, "hasCloseIcon", void 0);
|
|
687
|
-
__decorate([
|
|
688
|
-
property({ reflect: true, attribute: 'influencer-placement' })
|
|
689
|
-
], CDSTearsheet.prototype, "influencerPlacement", void 0);
|
|
690
|
-
__decorate([
|
|
691
|
-
property({ reflect: true, attribute: 'influencer-width' })
|
|
692
|
-
], CDSTearsheet.prototype, "influencerWidth", void 0);
|
|
693
|
-
__decorate([
|
|
694
|
-
property({ type: Boolean, reflect: true })
|
|
695
|
-
], CDSTearsheet.prototype, "open", void 0);
|
|
696
|
-
__decorate([
|
|
697
|
-
property({ type: Boolean, attribute: 'prevent-close-on-click-outside' })
|
|
698
|
-
], CDSTearsheet.prototype, "preventCloseOnClickOutside", void 0);
|
|
699
|
-
__decorate([
|
|
700
|
-
property({
|
|
701
|
-
reflect: true,
|
|
702
|
-
attribute: 'selector-initial-focus',
|
|
703
|
-
type: String,
|
|
704
|
-
})
|
|
705
|
-
], CDSTearsheet.prototype, "selectorInitialFocus", void 0);
|
|
706
|
-
__decorate([
|
|
707
|
-
property({ reflect: true, attribute: 'width' })
|
|
708
|
-
], CDSTearsheet.prototype, "width", void 0);
|
|
709
|
-
__decorate([
|
|
710
|
-
state()
|
|
711
|
-
], CDSTearsheet.prototype, "_stackDepth", void 0);
|
|
712
|
-
__decorate([
|
|
713
|
-
state()
|
|
714
|
-
], CDSTearsheet.prototype, "_stackPosition", void 0);
|
|
715
|
-
CDSTearsheet = CDSTearsheet_1 = __decorate([
|
|
716
|
-
carbonElement(`${prefix}-tearsheet`)
|
|
717
|
-
], CDSTearsheet);
|
|
718
|
-
var CDSTearsheet$1 = CDSTearsheet;
|
|
719
|
-
|
|
720
|
-
export { TEARSHEET_INFLUENCER_PLACEMENT, TEARSHEET_INFLUENCER_WIDTH, TEARSHEET_WIDTH, CDSTearsheet$1 as default };
|
|
721
|
-
//# sourceMappingURL=tearsheet.js.map
|