@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,141 +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 { property } from 'lit/decorators.js';
|
|
11
|
-
import { classMap } from 'lit/directives/class-map.js';
|
|
12
|
-
import { prefix, carbonPrefix } from '../../globals/settings.js';
|
|
13
|
-
import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';
|
|
14
|
-
import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
|
|
15
|
-
import styles from './user-avatar.scss.js';
|
|
16
|
-
import '@carbon/web-components/es/components/tooltip/index.js';
|
|
17
|
-
import User from '@carbon/icons/es/user/16';
|
|
18
|
-
import { iconLoader } from '@carbon/web-components/es/globals/internal/icon-loader.js';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @license
|
|
22
|
-
*
|
|
23
|
-
* Copyright IBM Corp. 2025, 2025
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/
|
|
28
|
-
const blockClass = `${prefix}--user-avatar`;
|
|
29
|
-
/**
|
|
30
|
-
* Useravatar.
|
|
31
|
-
*
|
|
32
|
-
* @element c4p-user-avatar
|
|
33
|
-
* */
|
|
34
|
-
let CDSUseravatar = class CDSUseravatar extends HostListenerMixin(LitElement) {
|
|
35
|
-
constructor() {
|
|
36
|
-
super(...arguments);
|
|
37
|
-
/**
|
|
38
|
-
* Specify the alignment of the tooltip.
|
|
39
|
-
*/
|
|
40
|
-
this.tooltipAlignment = 'bottom';
|
|
41
|
-
/**
|
|
42
|
-
* Provide the background color need to be set for UserAvatar.
|
|
43
|
-
*/
|
|
44
|
-
this.backgroundColor = 'order-1-cyan';
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
const getItem = () => {
|
|
48
|
-
var _a;
|
|
49
|
-
if (this.image) {
|
|
50
|
-
const imageClasses = classMap({
|
|
51
|
-
[`${blockClass}__photo`]: true,
|
|
52
|
-
[`${blockClass}__photo--${this.size}`]: this.size,
|
|
53
|
-
});
|
|
54
|
-
return html ` <img
|
|
55
|
-
alt="${this.imageDescription}"
|
|
56
|
-
src="${this.image}"
|
|
57
|
-
class="${imageClasses}"
|
|
58
|
-
/>`;
|
|
59
|
-
}
|
|
60
|
-
if (this.querySelector('[slot="rendericon"]')) {
|
|
61
|
-
return html `<slot name="rendericon"></slot>`;
|
|
62
|
-
}
|
|
63
|
-
if (this.name) {
|
|
64
|
-
const parts = ((_a = this.name) === null || _a === void 0 ? void 0 : _a.split(' ')) || [];
|
|
65
|
-
const firstChar = parts[0].charAt(0).toUpperCase();
|
|
66
|
-
const secondChar = parts[0].charAt(1).toUpperCase();
|
|
67
|
-
if (parts.length === 1) {
|
|
68
|
-
return firstChar + secondChar;
|
|
69
|
-
}
|
|
70
|
-
const lastChar = parts[parts.length - 1].charAt(0).toUpperCase();
|
|
71
|
-
const initials = [firstChar];
|
|
72
|
-
if (lastChar) {
|
|
73
|
-
initials.push(lastChar);
|
|
74
|
-
}
|
|
75
|
-
return ''.concat(...initials);
|
|
76
|
-
}
|
|
77
|
-
return html `${iconLoader(User, { slot: 'rendericon' })} `;
|
|
78
|
-
};
|
|
79
|
-
const { tooltipText, tooltipAlignment, size, backgroundColor, theme } = this;
|
|
80
|
-
const classes = classMap({
|
|
81
|
-
[`${blockClass}`]: true,
|
|
82
|
-
[`${blockClass}--${size}`]: size,
|
|
83
|
-
[`${blockClass}--${backgroundColor}`]: backgroundColor,
|
|
84
|
-
[`${blockClass}--${theme}`]: theme,
|
|
85
|
-
});
|
|
86
|
-
const Avatar = () => html `<div class="${classes}">${getItem()}</div>`;
|
|
87
|
-
if (tooltipText) {
|
|
88
|
-
return html `<cds-tooltip
|
|
89
|
-
align=${tooltipAlignment}
|
|
90
|
-
aria-label=${tooltipText}
|
|
91
|
-
class=${`${blockClass}__tooltip ${carbonPrefix}--icon-tooltip`}
|
|
92
|
-
>
|
|
93
|
-
<button class=${`${blockClass}__tooltip-trigger`} role="button">
|
|
94
|
-
${Avatar()}
|
|
95
|
-
</button>
|
|
96
|
-
<cds-tooltip-content
|
|
97
|
-
class=${`${blockClass}__tooltip-content`}
|
|
98
|
-
id="content"
|
|
99
|
-
>
|
|
100
|
-
${tooltipText}
|
|
101
|
-
</cds-tooltip-content>
|
|
102
|
-
</cds-tooltip>`;
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
return html ` ${Avatar()}`;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
CDSUseravatar.shadowRootOptions = Object.assign(Object.assign({}, LitElement.shadowRootOptions), { delegatesFocus: true });
|
|
110
|
-
CDSUseravatar.styles = styles;
|
|
111
|
-
__decorate([
|
|
112
|
-
property({ reflect: true, attribute: 'tooltip-text' })
|
|
113
|
-
], CDSUseravatar.prototype, "tooltipText", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
property({ reflect: true, attribute: 'tooltip-alignment' })
|
|
116
|
-
], CDSUseravatar.prototype, "tooltipAlignment", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
property({ reflect: true })
|
|
119
|
-
], CDSUseravatar.prototype, "name", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
property({ reflect: true })
|
|
122
|
-
], CDSUseravatar.prototype, "size", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
property({ reflect: true })
|
|
125
|
-
], CDSUseravatar.prototype, "image", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
property({ reflect: true, attribute: 'image-description' })
|
|
128
|
-
], CDSUseravatar.prototype, "imageDescription", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
property({ reflect: true, attribute: 'background-color' })
|
|
131
|
-
], CDSUseravatar.prototype, "backgroundColor", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
property({ reflect: true })
|
|
134
|
-
], CDSUseravatar.prototype, "theme", void 0);
|
|
135
|
-
CDSUseravatar = __decorate([
|
|
136
|
-
carbonElement(`${prefix}-user-avatar`)
|
|
137
|
-
], CDSUseravatar);
|
|
138
|
-
var CDSUseravatar$1 = CDSUseravatar;
|
|
139
|
-
|
|
140
|
-
export { CDSUseravatar$1 as default };
|
|
141
|
-
//# sourceMappingURL=user-avatar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-avatar.js","sources":["../../../src/components/user-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C,EAAE,OAAO,EAAE,IAAI,EAAE;AACrB,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AAKN,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,EAAE;AAC1C,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,kBAAA,EAAA,MAAA,CAAA;AAMjB,UAAA,CAAA;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE;AACzB,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,iBAAA,EAAA,MAAA,CAAA;AAMjC,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE;AACrB,CAAA,EAAA,aAAA,CAAA,SAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AA/CF,aAAa,GAAA,UAAA,CAAA;AADlB,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,YAAA,CAAc;AAChC,CAAA,EAAA,aAAa,CAuHlB;AACD,sBAAe,aAAa;;;;"}
|
|
@@ -1,13 +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 { css } from 'lit';
|
|
9
|
-
|
|
10
|
-
var styles = css(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-feature-settings:\"liga\" 1;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{background-color:var(--cds-background,#fff);color:var(--cds-text-primary,#161616);line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{font-size:100%}body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-heading-06-font-size,2.625rem);font-weight:var(--cds-heading-06-font-weight,300);letter-spacing:var(--cds-heading-06-letter-spacing,0);line-height:var(--cds-heading-06-line-height,1.199)}h2{font-size:var(--cds-heading-05-font-size,2rem);font-weight:var(--cds-heading-05-font-weight,400);letter-spacing:var(--cds-heading-05-letter-spacing,0);line-height:var(--cds-heading-05-line-height,1.25)}h3{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}h4{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}h5{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}p{font-size:var(--cds-body-02-font-size,1rem);font-weight:var(--cds-body-02-font-weight,400);letter-spacing:var(--cds-body-02-letter-spacing,0);line-height:var(--cds-body-02-line-height,1.5)}a{color:var(--cds-link-primary,#0062fe)}em{font-style:italic}.cds--layout--size-xs{--cds-layout-size-height-context:var(--cds-layout-size-height-xs,1.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-xs{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xs,1.5rem))}.cds--layout-constraint--size__min-xs{--cds-layout-size-height-min:var(--cds-layout-size-height-xs,1.5rem)}.cds--layout-constraint--size__max-xs{--cds-layout-size-height-max:var(--cds-layout-size-height-xs,1.5rem)}.cds--layout--size-sm{--cds-layout-size-height-context:var(--cds-layout-size-height-sm,2rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-sm{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-sm,2rem))}.cds--layout-constraint--size__min-sm{--cds-layout-size-height-min:var(--cds-layout-size-height-sm,2rem)}.cds--layout-constraint--size__max-sm{--cds-layout-size-height-max:var(--cds-layout-size-height-sm,2rem)}.cds--layout--size-md{--cds-layout-size-height-context:var(--cds-layout-size-height-md,2.5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-md{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-md,2.5rem))}.cds--layout-constraint--size__min-md{--cds-layout-size-height-min:var(--cds-layout-size-height-md,2.5rem)}.cds--layout-constraint--size__max-md{--cds-layout-size-height-max:var(--cds-layout-size-height-md,2.5rem)}.cds--layout--size-lg{--cds-layout-size-height-context:var(--cds-layout-size-height-lg,3rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-lg{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-lg,3rem))}.cds--layout-constraint--size__min-lg{--cds-layout-size-height-min:var(--cds-layout-size-height-lg,3rem)}.cds--layout-constraint--size__max-lg{--cds-layout-size-height-max:var(--cds-layout-size-height-lg,3rem)}.cds--layout--size-xl{--cds-layout-size-height-context:var(--cds-layout-size-height-xl,4rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-xl,4rem))}.cds--layout-constraint--size__min-xl{--cds-layout-size-height-min:var(--cds-layout-size-height-xl,4rem)}.cds--layout-constraint--size__max-xl{--cds-layout-size-height-max:var(--cds-layout-size-height-xl,4rem)}.cds--layout--size-2xl{--cds-layout-size-height-context:var(--cds-layout-size-height-2xl,5rem);--cds-layout-size-height:var(--cds-layout-size-height-context)}.cds--layout-constraint--size__default-2xl{--cds-layout-size-height:var(--cds-layout-size-height-context,var(--cds-layout-size-height-2xl,5rem))}.cds--layout-constraint--size__min-2xl{--cds-layout-size-height-min:var(--cds-layout-size-height-2xl,5rem)}.cds--layout-constraint--size__max-2xl{--cds-layout-size-height-max:var(--cds-layout-size-height-2xl,5rem)}.cds--layout--density-condensed{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-condensed,0.5rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds--layout-constraint--density__default-condensed{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-condensed,0.5rem))}.cds--layout-constraint--density__min-condensed{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds--layout-constraint--density__max-condensed{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-condensed,0.5rem)}.cds--layout--density-normal{--cds-layout-density-padding-inline-context:var(--cds-layout-density-padding-inline-normal,1rem);--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context)}.cds--layout-constraint--density__default-normal{--cds-layout-density-padding-inline:var(--cds-layout-density-padding-inline-context,var(--cds-layout-density-padding-inline-normal,1rem))}.cds--layout-constraint--density__min-normal{--cds-layout-density-padding-inline-min:var(--cds-layout-density-padding-inline-normal,1rem)}.cds--layout-constraint--density__max-normal{--cds-layout-density-padding-inline-max:var(--cds-layout-density-padding-inline-normal,1rem)}:root{--cds-layout-size-height-xs:1.5rem;--cds-layout-size-height-sm:2rem;--cds-layout-size-height-md:2.5rem;--cds-layout-size-height-lg:3rem;--cds-layout-size-height-xl:4rem;--cds-layout-size-height-2xl:5rem;--cds-layout-size-height-min:0px;--cds-layout-size-height-max:999999999px;--cds-layout-density-padding-inline-condensed:0.5rem;--cds-layout-density-padding-inline-normal:1rem;--cds-layout-density-padding-inline-min:0px;--cds-layout-density-padding-inline-max:999999999px}@keyframes cds--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.cds--assistive-text,.cds--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--user-avatar{align-items:center;block-size:4rem;border:.5px solid transparent;border-radius:100%;color:var(--cds-text-inverse,#fff);display:flex;inline-size:4rem;justify-content:center;outline:none;outline-offset:3px;position:relative}.c4p--user-avatar svg{color:var(--cds-icon-inverse,#fff)}.c4p--user-avatar__tooltip:focus-within .c4p--user-avatar{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:1px}.cds--g10 .c4p--user-avatar--order-1-cyan,.cds--white .c4p--user-avatar--order-1-cyan,:root .c4p--user-avatar--order-1-cyan{background-color:#0072c3}.cds--g10 .c4p--user-avatar--order-2-gray,.cds--white .c4p--user-avatar--order-2-gray,:root .c4p--user-avatar--order-2-gray{background-color:#6f6f6f}.cds--g10 .c4p--user-avatar--order-3-green,.cds--white .c4p--user-avatar--order-3-green,:root .c4p--user-avatar--order-3-green{background-color:#198038}.cds--g10 .c4p--user-avatar--order-4-magenta,.cds--white .c4p--user-avatar--order-4-magenta,:root .c4p--user-avatar--order-4-magenta{background-color:#d02670}.cds--g10 .c4p--user-avatar--order-5-purple,.cds--white .c4p--user-avatar--order-5-purple,:root .c4p--user-avatar--order-5-purple{background-color:#8a3ffc}.cds--g10 .c4p--user-avatar--order-6-teal,.cds--white .c4p--user-avatar--order-6-teal,:root .c4p--user-avatar--order-6-teal{background-color:#007d79}.cds--g10 .c4p--user-avatar--order-7-cyan,.cds--white .c4p--user-avatar--order-7-cyan,:root .c4p--user-avatar--order-7-cyan{background-color:#003a6d}.cds--g10 .c4p--user-avatar--order-8-gray,.cds--white .c4p--user-avatar--order-8-gray,:root .c4p--user-avatar--order-8-gray{background-color:#393939}.cds--g10 .c4p--user-avatar--order-9-green,.cds--white .c4p--user-avatar--order-9-green,:root .c4p--user-avatar--order-9-green{background-color:#044317}.cds--g10 .c4p--user-avatar--order-10-magenta,.cds--white .c4p--user-avatar--order-10-magenta,:root .c4p--user-avatar--order-10-magenta{background-color:#740937}.cds--g10 .c4p--user-avatar--order-11-purple,.cds--white .c4p--user-avatar--order-11-purple,:root .c4p--user-avatar--order-11-purple{background-color:#491d8b}.cds--g10 .c4p--user-avatar--order-12-teal,.cds--white .c4p--user-avatar--order-12-teal,:root .c4p--user-avatar--order-12-teal{background-color:#004144}.cds--g100 .c4p--user-avatar--order-1-cyan,.cds--g90 .c4p--user-avatar--order-1-cyan{background-color:#1192e8}.cds--g100 .c4p--user-avatar--order-2-gray,.cds--g90 .c4p--user-avatar--order-2-gray{background-color:#8d8d8d}.cds--g100 .c4p--user-avatar--order-3-green,.cds--g90 .c4p--user-avatar--order-3-green{background-color:#24a148}.cds--g100 .c4p--user-avatar--order-4-magenta,.cds--g90 .c4p--user-avatar--order-4-magenta{background-color:#ee5396}.cds--g100 .c4p--user-avatar--order-5-purple,.cds--g90 .c4p--user-avatar--order-5-purple{background-color:#a56eff}.cds--g100 .c4p--user-avatar--order-6-teal,.cds--g90 .c4p--user-avatar--order-6-teal{background-color:#009d9a}.cds--g100 .c4p--user-avatar--order-7-cyan,.cds--g90 .c4p--user-avatar--order-7-cyan{background-color:#82cfff}.cds--g100 .c4p--user-avatar--order-8-gray,.cds--g90 .c4p--user-avatar--order-8-gray{background-color:#c6c6c6}.cds--g100 .c4p--user-avatar--order-9-green,.cds--g90 .c4p--user-avatar--order-9-green{background-color:#6fdc8c}.cds--g100 .c4p--user-avatar--order-10-magenta,.cds--g90 .c4p--user-avatar--order-10-magenta{background-color:#ffafd2}.cds--g100 .c4p--user-avatar--order-11-purple,.cds--g90 .c4p--user-avatar--order-11-purple{background-color:#d4bbff}.cds--g100 .c4p--user-avatar--order-12-teal,.cds--g90 .c4p--user-avatar--order-12-teal{background-color:#3ddbd9}.c4p--user-avatar--xl{block-size:4rem;font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);inline-size:4rem;letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}.c4p--user-avatar--lg{block-size:3rem;font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);inline-size:3rem;letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}.c4p--user-avatar--md{block-size:2rem;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);inline-size:2rem;letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}.c4p--user-avatar--sm{block-size:1.5rem;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);inline-size:1.5rem;letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.c4p--user-avatar__photo{border-radius:100%;-o-object-fit:contain;object-fit:contain}.c4p--user-avatar__photo--xl{block-size:4rem;border-radius:100%;inline-size:4rem;-o-object-fit:fill;object-fit:fill}.c4p--user-avatar__photo--lg{block-size:3rem;border-radius:100%;inline-size:3rem;-o-object-fit:fill;object-fit:fill}.c4p--user-avatar__photo--md{block-size:2rem;border-radius:100%;inline-size:2rem;-o-object-fit:fill;object-fit:fill}.c4p--user-avatar__photo--sm{block-size:1.5rem;border-radius:100%;inline-size:1.5rem;-o-object-fit:fill;object-fit:fill}:host(c4p-user-avatar){display:inline-block}:host(c4p-user-avatar) .c4p--user-avatar{box-sizing:border-box}:host(c4p-user-avatar) .c4p--user-avatar--xl ::slotted([slot=rendericon]){block-size:2rem;inline-size:2rem}:host(c4p-user-avatar) .c4p--user-avatar--lg ::slotted([slot=rendericon]){block-size:1.5rem;inline-size:1.5rem}:host(c4p-user-avatar) .c4p--user-avatar--md ::slotted([slot=rendericon]){block-size:1.25rem;inline-size:1.25rem}:host(c4p-user-avatar) .c4p--user-avatar--sm ::slotted([slot=rendericon]){block-size:1rem;inline-size:1rem}:host(c4p-user-avatar) .c4p--user-avatar__tooltip-trigger{background:none;border:0;outline:none;padding:0}:host(c4p-user-avatar) .c4p--user-avatar__tooltip-content{--cds-tooltip-padding-block:0.125rem}:host(c4p-user-avatar) .c4p--user-avatar__tooltip-content:focus-within{outline:.125rem solid var(--cds-focus,#0f62fe);outline-offset:1px}:host(c4p-user-avatar) .c4p--user-avatar--order-1-cyan,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-1-cyan{background-color:#0072c3}:host(c4p-user-avatar) .c4p--user-avatar--order-2-gray,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-2-gray{background-color:#6f6f6f}:host(c4p-user-avatar) .c4p--user-avatar--order-3-green,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-3-green{background-color:#198038}:host(c4p-user-avatar) .c4p--user-avatar--order-4-magenta,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-4-magenta{background-color:#d02670}:host(c4p-user-avatar) .c4p--user-avatar--order-5-purple,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-5-purple{background-color:#8a3ffc}:host(c4p-user-avatar) .c4p--user-avatar--order-6-teal,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-6-teal{background-color:#007d79}:host(c4p-user-avatar) .c4p--user-avatar--order-7-cyan,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-7-cyan{background-color:#003a6d}:host(c4p-user-avatar) .c4p--user-avatar--order-8-gray,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-8-gray{background-color:#393939}:host(c4p-user-avatar) .c4p--user-avatar--order-9-green,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-9-green{background-color:#044317}:host(c4p-user-avatar) .c4p--user-avatar--order-10-magenta,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-10-magenta{background-color:#740937}:host(c4p-user-avatar) .c4p--user-avatar--order-11-purple,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-11-purple{background-color:#491d8b}:host(c4p-user-avatar) .c4p--user-avatar--order-12-teal,:host(c4p-user-avatar[theme=light]) .c4p--user-avatar--order-12-teal{background-color:#004144}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-1-cyan{background-color:#1192e8}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-2-gray{background-color:#8d8d8d}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-3-green{background-color:#24a148}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-4-magenta{background-color:#ee5396}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-5-purple{background-color:#a56eff}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-6-teal{background-color:#009d9a}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-7-cyan{background-color:#82cfff}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-8-gray{background-color:#c6c6c6}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-9-green{background-color:#6fdc8c}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-10-magenta{background-color:#ffafd2}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-11-purple{background-color:#d4bbff}:host(c4p-user-avatar[theme=dark]) .c4p--user-avatar--order-12-teal{background-color:#3ddbd9}"]);
|
|
11
|
-
|
|
12
|
-
export { styles as default };
|
|
13
|
-
//# sourceMappingURL=user-avatar.scss.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-avatar.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index';
|
|
@@ -1,128 +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 { vi, describe, it, expect } from 'vitest';
|
|
9
|
-
import { fixture, html } from '@open-wc/testing';
|
|
10
|
-
import './user-avatar.js';
|
|
11
|
-
import { prefix } from '../../globals/settings.js';
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Copyright IBM Corp. 2024, 2024
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
|
-
vi.mock('./_story-assets/headshot.jpg', () => 'mock-image-path');
|
|
20
|
-
const blockClass = `${prefix}--user-avatar`;
|
|
21
|
-
const defaultProps = {
|
|
22
|
-
tooltipText: 'TW, Thomas J. Watson user profile',
|
|
23
|
-
name: 'Thomas J. Watson',
|
|
24
|
-
backgroundColor: 'order-1-cyan',
|
|
25
|
-
};
|
|
26
|
-
const template = (props = defaultProps) => html `
|
|
27
|
-
<c4p-user-avatar
|
|
28
|
-
tooltip-text=${props.tooltipText}
|
|
29
|
-
name=${props.name}
|
|
30
|
-
background-color=${props.backgroundColor}
|
|
31
|
-
size=${props.size}
|
|
32
|
-
image=${props.image}
|
|
33
|
-
imageDescription=${props.imageDescription}
|
|
34
|
-
>
|
|
35
|
-
</c4p-user-avatar>
|
|
36
|
-
`;
|
|
37
|
-
const iconTemplate = (props = defaultProps) => html `
|
|
38
|
-
<c4p-user-avatar
|
|
39
|
-
tooltip-text=${props.tooltipText}
|
|
40
|
-
name=${props.name}
|
|
41
|
-
background-color=${props.backgroundColor}
|
|
42
|
-
size=${props.size}
|
|
43
|
-
image=${props.image}
|
|
44
|
-
imageDescription=${props.imageDescription}
|
|
45
|
-
>
|
|
46
|
-
<svg slot="rendericon" data-test-id="mock-icon" viewBox="0 0 32 32">
|
|
47
|
-
<circle cx="16" cy="10" r="6"></circle>
|
|
48
|
-
<path d="M16 18C10 18 4 22 4 26V28H28V26C28 22 22 18 16 18Z"></path>
|
|
49
|
-
</svg>
|
|
50
|
-
</c4p-user-avatar>
|
|
51
|
-
`;
|
|
52
|
-
describe('c4p-user-avatar', () => {
|
|
53
|
-
it('should render a user avatar', async () => {
|
|
54
|
-
const userAvatar = await fixture(template(Object.assign({}, defaultProps)));
|
|
55
|
-
expect(userAvatar).toBeDefined();
|
|
56
|
-
});
|
|
57
|
-
it('should return a circle with background color', async () => {
|
|
58
|
-
var _a, _b;
|
|
59
|
-
const userAvatar = await fixture(template(Object.assign({}, defaultProps)));
|
|
60
|
-
expect(userAvatar).toBeDefined();
|
|
61
|
-
expect(userAvatar.getAttribute('background-color')).toBe('order-1-cyan');
|
|
62
|
-
const bgClass = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`.${blockClass}--order-1-cyan`)) === null || _b === void 0 ? void 0 : _b[0];
|
|
63
|
-
expect(bgClass).toBeDefined();
|
|
64
|
-
});
|
|
65
|
-
it('should return a circle with updated background color', async () => {
|
|
66
|
-
var _a, _b;
|
|
67
|
-
const userAvatar = await fixture(template(Object.assign(Object.assign({}, defaultProps), { backgroundColor: 'order-3-green' })));
|
|
68
|
-
expect(userAvatar).toBeDefined();
|
|
69
|
-
expect(userAvatar.getAttribute('background-color')).toBe('order-3-green');
|
|
70
|
-
const bgClass = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`.${blockClass}--order-3-green`)) === null || _b === void 0 ? void 0 : _b[0];
|
|
71
|
-
expect(bgClass).toBeDefined();
|
|
72
|
-
});
|
|
73
|
-
it('applies className to the containing node', async () => {
|
|
74
|
-
const customClass = 'test';
|
|
75
|
-
const userAvatar = await fixture(template(Object.assign({}, defaultProps)));
|
|
76
|
-
userAvatar.classList.add(customClass);
|
|
77
|
-
expect(userAvatar.getAttribute('class')).to.include(customClass);
|
|
78
|
-
});
|
|
79
|
-
it('should return appropriately size circle based on size prop', async () => {
|
|
80
|
-
var _a, _b;
|
|
81
|
-
const userAvatar = await fixture(template(Object.assign(Object.assign({}, defaultProps), { size: 'md' })));
|
|
82
|
-
const hasSizeClass = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`.${blockClass}--md`)) === null || _b === void 0 ? void 0 : _b[0];
|
|
83
|
-
// expect the element is present
|
|
84
|
-
expect(hasSizeClass).toBeDefined();
|
|
85
|
-
});
|
|
86
|
-
it('should render the initials when passed the name prop', async () => {
|
|
87
|
-
var _a, _b;
|
|
88
|
-
const userAvatar = await fixture(template(Object.assign({}, defaultProps)));
|
|
89
|
-
const initials = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`.${blockClass}`)) === null || _b === void 0 ? void 0 : _b[0];
|
|
90
|
-
expect(initials).to.exist;
|
|
91
|
-
expect(initials === null || initials === void 0 ? void 0 : initials.textContent).to.equal('TW');
|
|
92
|
-
});
|
|
93
|
-
it('should render the initials when simply passing two names to the name prop', async () => {
|
|
94
|
-
var _a, _b;
|
|
95
|
-
const userAvatar = await fixture(template(Object.assign(Object.assign({}, defaultProps), { name: 'DN' })));
|
|
96
|
-
const initials = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`.${blockClass}`)) === null || _b === void 0 ? void 0 : _b[0];
|
|
97
|
-
expect(initials).to.exist;
|
|
98
|
-
expect(initials === null || initials === void 0 ? void 0 : initials.textContent).to.equal('DN');
|
|
99
|
-
});
|
|
100
|
-
it('should render a tooltip if the tooltipText is supplied', async () => {
|
|
101
|
-
var _a, _b;
|
|
102
|
-
const userAvatar = await fixture(template(Object.assign({}, defaultProps)));
|
|
103
|
-
const tooltipElement = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`.${blockClass}__tooltip`)) === null || _b === void 0 ? void 0 : _b[0];
|
|
104
|
-
expect(tooltipElement).to.exist;
|
|
105
|
-
});
|
|
106
|
-
it('should render a tooltip if the tooltipText is supplied', async () => {
|
|
107
|
-
var _a, _b;
|
|
108
|
-
const userAvatar = await fixture(template(Object.assign(Object.assign({}, defaultProps), { tooltipText: '' })));
|
|
109
|
-
const tooltipElement = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(`${blockClass}__tooltip`)) === null || _b === void 0 ? void 0 : _b[0];
|
|
110
|
-
expect(tooltipElement).to.not.exist;
|
|
111
|
-
});
|
|
112
|
-
it('should return an icon for the avatar image', async () => {
|
|
113
|
-
var _a;
|
|
114
|
-
const userAvatar = await fixture(iconTemplate(Object.assign(Object.assign({}, defaultProps), { size: 'md' })));
|
|
115
|
-
const renderedSVG = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot[name="rendericon"]');
|
|
116
|
-
expect(renderedSVG).to.exist;
|
|
117
|
-
const assignedNodes = renderedSVG.assignedNodes({ flatten: true });
|
|
118
|
-
const svg = assignedNodes.find((node) => node.nodeName.toLowerCase() === 'svg');
|
|
119
|
-
expect(svg).to.exist;
|
|
120
|
-
});
|
|
121
|
-
it('should render image for the avatar image', async () => {
|
|
122
|
-
var _a, _b;
|
|
123
|
-
const userAvatar = await fixture(template(Object.assign(Object.assign({}, defaultProps), { image: 'mock-image-path', imageDescription: 'test alt text' })));
|
|
124
|
-
const imagePath = (_b = (_a = userAvatar === null || userAvatar === void 0 ? void 0 : userAvatar.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('img')) === null || _b === void 0 ? void 0 : _b.getAttribute('src');
|
|
125
|
-
expect(typeof imagePath).toBe('string');
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
//# sourceMappingURL=user-avatar.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-avatar.test.js","sources":["../../../src/components/user-avatar/user-avatar.test.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;AAKG;AAKH,EAAE,CAAC,IAAI,CAAC,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAEhE,MAAM,UAAU,GAAG,CAAG,EAAA,MAAM,eAAe;AAE3C,MAAM,YAAY,GAAG;AACnB,IAAA,WA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ACzC,KAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2019
|
|
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
|
-
* An object to keep track of things that can be cleaned up.
|
|
11
|
-
*/
|
|
12
|
-
export default interface Handle {
|
|
13
|
-
/**
|
|
14
|
-
* Releases the thing that this object is keeping track of.
|
|
15
|
-
* For example, if this `Handle` is keeping track of an event listener, this `release()` method removes the event listener.
|
|
16
|
-
*/
|
|
17
|
-
release(): null;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const isProduction: boolean;
|
|
2
|
-
export declare const noop: () => undefined;
|
|
3
|
-
export declare const shimIfProduction: (fn: any) => any;
|
|
4
|
-
export declare const log: any;
|
|
5
|
-
export declare const warn: any;
|
|
6
|
-
export declare const error: any;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
isProduction: boolean;
|
|
9
|
-
noop: () => undefined;
|
|
10
|
-
shimIfProduction: (fn: any) => any;
|
|
11
|
-
log: any;
|
|
12
|
-
warn: any;
|
|
13
|
-
error: any;
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1,30 +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
|
-
//
|
|
9
|
-
// Copyright IBM Corp. 2020, 2021
|
|
10
|
-
//
|
|
11
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
|
12
|
-
// LICENSE file in the root directory of this source tree.
|
|
13
|
-
//
|
|
14
|
-
const isProduction = process.env.NODE_ENV === 'production';
|
|
15
|
-
const noop = () => undefined;
|
|
16
|
-
const shimIfProduction = (fn) => (isProduction ? noop : fn);
|
|
17
|
-
const log = shimIfProduction((...args) => console.log(...args));
|
|
18
|
-
const warn = shimIfProduction((...args) => console.warn(...args));
|
|
19
|
-
const error = shimIfProduction((...args) => console.error(...args));
|
|
20
|
-
var pconsole = {
|
|
21
|
-
isProduction,
|
|
22
|
-
noop,
|
|
23
|
-
shimIfProduction,
|
|
24
|
-
log,
|
|
25
|
-
warn,
|
|
26
|
-
error,
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export { pconsole as default, error, isProduction, log, noop, shimIfProduction, warn };
|
|
30
|
-
//# sourceMappingURL=pconsole.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pconsole.js","sources":["../../../src/globals/internal/pconsole.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAEa,MAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK;MACxC,IAAI,GAAG,MAAM;MACb,gBAAgB,GAAG,CAAC,EAAE,MAAM,YAAY,GAAG,IAAI,GAAG,EAAE;MACpD,GAAG,GAAG,gBAAgB,CAAC,CAAC,GAAG,IAAI,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;MACxD,IAAI,GAAG,gBAAgB,CAAC,CAAC,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;MAC1D,KAAK,GAAG,gBAAgB,CAAC,CAAC,GAAG,IAAI,KAAK,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;AAEzE,eAAe;IACb,YAAY;IACZ,IAAI;IACJ,gBAAgB;IAChB,GAAG;IACH,IAAI;IACJ,KAAK;CACN;;;;"}
|
|
@@ -1,78 +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 packageJson from '../../packages/ibm-products-web-components/package.json.js';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @license
|
|
12
|
-
*
|
|
13
|
-
* Copyright IBM Corp. 2021, 2025
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
* Renders the component(s) script tag content and returns back the string
|
|
25
|
-
*
|
|
26
|
-
* @param {Array} components array of component names
|
|
27
|
-
* @param {string} tag tag folder
|
|
28
|
-
*/
|
|
29
|
-
function _renderScript(components, tag) {
|
|
30
|
-
let scripts = '';
|
|
31
|
-
components.forEach((component) => {
|
|
32
|
-
scripts += `<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/${tag}/${component}.min.js"></script>\n`;
|
|
33
|
-
});
|
|
34
|
-
return scripts;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* This is the markdown block for JS via CDN
|
|
39
|
-
*
|
|
40
|
-
* @param {Array} components array of components to render
|
|
41
|
-
* @param components.components components to render
|
|
42
|
-
*/
|
|
43
|
-
const cdnJs = ({ components }) => {
|
|
44
|
-
return `
|
|
45
|
-
### JS (via CDN)
|
|
46
|
-
|
|
47
|
-
> NOTE: Only one version of artifacts should be used. Mixing versions will cause rendering issues.
|
|
48
|
-
|
|
49
|
-
\`\`\`html
|
|
50
|
-
// SPECIFIC VERSION (available starting v2.0.0)
|
|
51
|
-
${_renderScript(components, `version/v${packageJson.version}`)}
|
|
52
|
-
\`\`\`
|
|
53
|
-
|
|
54
|
-
#### Right-to-left (RTL) versions
|
|
55
|
-
|
|
56
|
-
\`\`\`html
|
|
57
|
-
// SPECIFIC VERSION (available starting v2.0.0)
|
|
58
|
-
${_renderScript(components, `version/v${packageJson.version}`)}
|
|
59
|
-
\`\`\`
|
|
60
|
-
`;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* This is the markdown block for CSS via CDN
|
|
65
|
-
*/
|
|
66
|
-
const cdnCss = () => {
|
|
67
|
-
return `
|
|
68
|
-
### Carbon CDN style helpers (optional)
|
|
69
|
-
|
|
70
|
-
There are optional CDN artifacts available that can assist with global Carbon
|
|
71
|
-
styles in lieu of including into your specific application bundle.
|
|
72
|
-
|
|
73
|
-
[Click here to learn more](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md)\n\n
|
|
74
|
-
`;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
export { cdnCss, cdnJs };
|
|
78
|
-
//# sourceMappingURL=storybook-cdn.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storybook-cdn.js","sources":["../../../src/globals/internal/storybook-cdn.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2025\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport packageJson from '../../../package.json';\n\n/**\n *\n */\n/**\n * Renders the component(s) script tag content and returns back the string\n *\n * @param {Array} components array of component names\n * @param {string} tag tag folder\n */\nfunction _renderScript(components, tag) {\n let scripts = '';\n components.forEach((component) => {\n scripts += `<script type=\"module\" src=\"https://1.www.s81c.com/common/carbon/web-components/${tag}/${component}.min.js\"></script>\\n`;\n });\n return scripts;\n}\n\n/**\n * This is the markdown block for JS via CDN\n *\n * @param {Array} components array of components to render\n * @param components.components components to render\n */\nexport const cdnJs = ({ components }) => {\n return `\n### JS (via CDN)\n\n > NOTE: Only one version of artifacts should be used. Mixing versions will cause rendering issues.\n\n \\`\\`\\`html\n // SPECIFIC VERSION (available starting v2.0.0)\n ${_renderScript(components, `version/v${packageJson.version}`)}\n \\`\\`\\`\n\n #### Right-to-left (RTL) versions\n\n \\`\\`\\`html\n // SPECIFIC VERSION (available starting v2.0.0)\n ${_renderScript(components, `version/v${packageJson.version}`)}\n \\`\\`\\`\n `;\n};\n\n/**\n * This is the markdown block for CSS via CDN\n */\nexport const cdnCss = () => {\n return `\n### Carbon CDN style helpers (optional)\n\nThere are optional CDN artifacts available that can assist with global Carbon\nstyles in lieu of including into your specific application bundle.\n\n[Click here to learn more](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md)\\n\\n\n `;\n};\n"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,UAAU,EAAE,GAAG,EAAE;AACxC,EAAE,IAAI,OAAO,GAAG,EAAE;AAClB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,KAAK;AACpC,IAAI,OAAO,IAAI,CAAC,+EAA+E,EAAE,GAAG,CAAC,CAAC,EAAE,SAAS,CAAC,oBAAoB,CAAC;AACvI,GAAG,CAAC;AACJ,EAAE,OAAO,OAAO;AAChB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,KAAK,GAAG,CAAC,EAAE,UAAU,EAAE,KAAK;AACzC,EAAE,OAAO;AACT;;AAEA;;AAEA;AACA;AACA,CAAC,EAAE,aAAa,CAAC,UAAU,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D;;AAEA;;AAEA;AACA;AACA,CAAC,EAAE,aAAa,CAAC,UAAU,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D;AACA,GAAG,CAAC;AACJ;;AAEA;AACA;AACA;AACY,MAAC,MAAM,GAAG,MAAM;AAC5B,EAAE,OAAO;AACT;;AAEA;AACA;;AAEA;AACA,EAAE,CAAC;AACH;;;;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2025
|
|
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
|
-
* Ensures the requested `locale` is valid, else returns the default locale.
|
|
9
|
-
*
|
|
10
|
-
* Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#locales
|
|
11
|
-
*/
|
|
12
|
-
export declare const getSupportedLocale: (locale: Intl.LocalesArgument, defaultLocale?: string) => Intl.LocalesArgument;
|
|
@@ -1,35 +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
|
-
/**
|
|
9
|
-
* Copyright IBM Corp. 2025
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
12
|
-
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Ensures the requested `locale` is valid, else returns the default locale.
|
|
16
|
-
*
|
|
17
|
-
* Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#locales
|
|
18
|
-
*/
|
|
19
|
-
const getSupportedLocale = (locale, defaultLocale = 'en-US') => {
|
|
20
|
-
let supportedLocale;
|
|
21
|
-
try {
|
|
22
|
-
// This line will throw an error if `locale` is not supported.
|
|
23
|
-
Intl.NumberFormat.supportedLocalesOf(locale);
|
|
24
|
-
// If no error is thrown, return `locale`,
|
|
25
|
-
supportedLocale = locale;
|
|
26
|
-
}
|
|
27
|
-
catch (error) {
|
|
28
|
-
// else return `defaultLocale`.
|
|
29
|
-
supportedLocale = defaultLocale;
|
|
30
|
-
}
|
|
31
|
-
return supportedLocale;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { getSupportedLocale };
|
|
35
|
-
//# sourceMappingURL=getSupportedLocale.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSupportedLocale.js","sources":["../../../../src/globals/js/utils/getSupportedLocale.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;AAKG;AAEH;;;;AAIG;AAEU,MAAA,kBAAkB,GAAG,CAChC,MAA4B,EAC5B,aAAA,GAAwB,OAAO,KACP;AACxB,IAAA,IAAI,eAAqC;AAEzC,IAAA,IAAI;;AAEF,QAAA,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,MAAM,CAAC;;QAE5C,eAAe,GAAG,MAAM;;IACxB,OAAO,KAAK,EAAE;;QAEd,eAAe,GAAG,aAAa;;AAGjC,IAAA,OAAO,eAAe;AACxB;;;;"}
|
package/es/globals/settings.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright IBM Corp. 2024, 2024
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
declare const prefix = "c4p";
|
|
9
|
-
declare const carbonPrefix = "cds";
|
|
10
|
-
/**
|
|
11
|
-
* A selector selecting tabbable nodes.
|
|
12
|
-
* Borrowed from `carbon-angular`. tabbable === focusable.
|
|
13
|
-
*/
|
|
14
|
-
declare const selectorTabbable = "\n c4p-side-nav-link,\n c4p-side-nav-menu,\n c4p-side-nav-menu-item\n";
|
|
15
|
-
export { prefix, carbonPrefix, selectorTabbable };
|
package/es/globals/settings.js
DELETED
|
@@ -1,28 +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
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* Copyright IBM Corp. 2024, 2024
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
const prefix = 'c4p';
|
|
16
|
-
const carbonPrefix = 'cds';
|
|
17
|
-
/**
|
|
18
|
-
* A selector selecting tabbable nodes.
|
|
19
|
-
* Borrowed from `carbon-angular`. tabbable === focusable.
|
|
20
|
-
*/
|
|
21
|
-
const selectorTabbable = `
|
|
22
|
-
${prefix}-side-nav-link,
|
|
23
|
-
${prefix}-side-nav-menu,
|
|
24
|
-
${prefix}-side-nav-menu-item
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
export { carbonPrefix, prefix, selectorTabbable };
|
|
28
|
-
//# sourceMappingURL=settings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sources":["../../src/globals/settings.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;AAMG;AAEG,MAAA,MAAM,GAAG;AACT,MAAA,YAAY,GAAG;AAErB;;;AAGG;AACH,MAAM,gBAAgB,GAAG;IACrB,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;;;;;"}
|