@carbon/ibmdotcom-web-components 1.37.0-rc.2 → 1.37.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +141 -115
- package/dist/{20-d59d1252.js → 20-2de9f146.js} +8 -1
- package/dist/{20-0dd18a2a.js → 20-3aa01aab.js} +8 -1
- package/dist/{20-b13a7263.js → 20-654642bf.js} +8 -1
- package/dist/{20-db62d123.js → 20-e1b84375.js} +8 -1
- package/dist/cloud-masthead.js +55 -24
- package/dist/cloud-masthead.min.js +10 -3
- package/dist/cloud-masthead.rtl.js +55 -24
- package/dist/cloud-masthead.rtl.min.js +10 -3
- package/dist/dotcom-shell.js +9 -2
- package/dist/dotcom-shell.min.js +8 -1
- package/dist/dotcom-shell.rtl.js +9 -2
- package/dist/dotcom-shell.rtl.min.js +8 -1
- package/dist/ibmdotcom-web-components-dotcom-shell.js +252 -170
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +27 -12
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +252 -170
- package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +27 -12
- package/dist/{left-nav-menu-e3475c54.js → left-nav-menu-0c606dc0.js} +8 -1
- package/dist/{left-nav-menu-9c991783.js → left-nav-menu-90492b23.js} +8 -1
- package/dist/{left-nav-menu-category-heading-f30c16b2.js → left-nav-menu-category-heading-3965c098.js} +8 -1
- package/dist/{left-nav-menu-category-heading-c408c797.js → left-nav-menu-category-heading-a1595fbe.js} +8 -1
- package/dist/{left-nav-menu-category-heading-c11a1c5a.js → left-nav-menu-category-heading-d4fb11a9.js} +8 -1
- package/dist/{left-nav-menu-category-heading-ea722d76.js → left-nav-menu-category-heading-decd4d83.js} +8 -1
- package/dist/{left-nav-menu-4d9029d3.js → left-nav-menu-ebbabdeb.js} +8 -1
- package/dist/{left-nav-menu-f949a3fc.js → left-nav-menu-fb76056e.js} +9 -2
- package/dist/left-nav-menu-item-0c324d91.js +78 -0
- package/dist/left-nav-menu-item-28c4baae.js +78 -0
- package/dist/{left-nav-menu-item-0c593619.js → left-nav-menu-item-b9ed3af7.js} +17 -1
- package/dist/{left-nav-menu-item-7a695a3a.js → left-nav-menu-item-d51991fb.js} +17 -1
- package/dist/{left-nav-menu-section-2b27f90c.js → left-nav-menu-section-104b952b.js} +9 -2
- package/dist/{left-nav-menu-section-9580fed9.js → left-nav-menu-section-35756914.js} +9 -2
- package/dist/{left-nav-menu-section-70361e96.js → left-nav-menu-section-7f96cd92.js} +8 -1
- package/dist/{left-nav-menu-section-723dabdb.js → left-nav-menu-section-ca7e49e9.js} +8 -1
- package/dist/{left-nav-overlay-23420664.js → left-nav-overlay-789e2c5b.js} +8 -1
- package/dist/{left-nav-overlay-4369f445.js → left-nav-overlay-84b5801a.js} +8 -1
- package/dist/{left-nav-overlay-213a2b93.js → left-nav-overlay-85a8a0da.js} +8 -1
- package/dist/{left-nav-overlay-39841e5b.js → left-nav-overlay-c549e901.js} +8 -1
- package/dist/{masthead-composite-306b9aa2.js → masthead-composite-0c8215ba.js} +25 -18
- package/dist/{masthead-composite-7be5e44a.js → masthead-composite-6e631d9f.js} +14 -7
- package/dist/{masthead-composite-549e469b.js → masthead-composite-728fb184.js} +335 -320
- package/dist/{masthead-composite-dfe1f02c.js → masthead-composite-e2535116.js} +335 -320
- package/dist/{megamenu-category-group-04d4c7b5.js → megamenu-category-group-18797750.js} +8 -1
- package/dist/{megamenu-category-group-72763c53.js → megamenu-category-group-6e7f9786.js} +8 -1
- package/dist/{megamenu-category-group-d91eb27d.js → megamenu-category-group-8a288ad7.js} +8 -1
- package/dist/{megamenu-category-group-ec20f1c0.js → megamenu-category-group-9778e30d.js} +8 -1
- package/dist/{megamenu-category-group-copy-b2e1f3b8.js → megamenu-category-group-copy-37aede70.js} +8 -1
- package/dist/{megamenu-category-group-copy-1734a927.js → megamenu-category-group-copy-70515553.js} +8 -1
- package/dist/{megamenu-category-group-copy-b388d655.js → megamenu-category-group-copy-7cc21eda.js} +8 -1
- package/dist/{megamenu-category-group-copy-f1dc57da.js → megamenu-category-group-copy-850e36c3.js} +8 -1
- package/dist/{megamenu-category-link-baa8ed55.js → megamenu-category-link-2161aebd.js} +8 -1
- package/dist/{megamenu-category-link-f7b52727.js → megamenu-category-link-46980387.js} +8 -1
- package/dist/{megamenu-category-link-43f181fe.js → megamenu-category-link-6eb6cb7d.js} +8 -1
- package/dist/{megamenu-category-link-7cdcb4db.js → megamenu-category-link-cb061552.js} +8 -1
- package/dist/{megamenu-left-navigation-024c2f3d.js → megamenu-left-navigation-21c9dd45.js} +8 -1
- package/dist/{megamenu-left-navigation-02cf4776.js → megamenu-left-navigation-7decd28c.js} +8 -1
- package/dist/{megamenu-left-navigation-c5935038.js → megamenu-left-navigation-86f2cf88.js} +8 -1
- package/dist/{megamenu-left-navigation-47ca8cc9.js → megamenu-left-navigation-d3e95498.js} +8 -1
- package/dist/{megamenu-overlay-02fda241.js → megamenu-overlay-01a8f76f.js} +8 -1
- package/dist/{megamenu-overlay-915d9eae.js → megamenu-overlay-1de034cf.js} +8 -1
- package/dist/{megamenu-overlay-2065230d.js → megamenu-overlay-96dbeb3f.js} +8 -1
- package/dist/{megamenu-overlay-f9f8e94a.js → megamenu-overlay-caa12c62.js} +8 -1
- package/es/component-mixins/callout/callout.js +1 -2
- package/es/component-mixins/callout/callout.js.map +1 -1
- package/es/component-mixins/cta/cta.js +4 -8
- package/es/component-mixins/cta/cta.js.map +1 -1
- package/es/component-mixins/cta/video.js +2 -4
- package/es/component-mixins/cta/video.js.map +1 -1
- package/es/component-mixins/media-query/media-query.js +1 -4
- package/es/component-mixins/media-query/media-query.js.map +1 -1
- package/es/component-mixins/parent-visibility/parent-visibility.js +3 -4
- package/es/component-mixins/parent-visibility/parent-visibility.js.map +1 -1
- package/es/components/back-to-top/__stories__/data/content.js +2 -4
- package/es/components/back-to-top/__stories__/data/content.js.map +1 -1
- package/es/components/back-to-top/back-to-top.js +1 -2
- package/es/components/back-to-top/back-to-top.js.map +1 -1
- package/es/components/background-media/background-media.js +4 -5
- package/es/components/background-media/background-media.js.map +1 -1
- package/es/components/background-media/defs.js +0 -2
- package/es/components/background-media/defs.js.map +1 -1
- package/es/components/button/button.js +1 -2
- package/es/components/button/button.js.map +1 -1
- package/es/components/button/defs.js +0 -3
- package/es/components/button/defs.js.map +1 -1
- package/es/components/button-group/button-group-item.js +1 -2
- package/es/components/button-group/button-group-item.js.map +1 -1
- package/es/components/button-group/button-group.js +1 -2
- package/es/components/button-group/button-group.js.map +1 -1
- package/es/components/callout-quote/callout-link-with-icon.js +1 -2
- package/es/components/callout-quote/callout-link-with-icon.js.map +1 -1
- package/es/components/callout-quote/callout-quote.js +1 -2
- package/es/components/callout-quote/callout-quote.js.map +1 -1
- package/es/components/callout-with-media/callout-with-media-copy.js +1 -2
- package/es/components/callout-with-media/callout-with-media-copy.js.map +1 -1
- package/es/components/callout-with-media/callout-with-media-image.js +1 -2
- package/es/components/callout-with-media/callout-with-media-image.js.map +1 -1
- package/es/components/callout-with-media/callout-with-media-video.js +1 -2
- package/es/components/callout-with-media/callout-with-media-video.js.map +1 -1
- package/es/components/callout-with-media/callout-with-media.js +1 -2
- package/es/components/callout-with-media/callout-with-media.js.map +1 -1
- package/es/components/card/card-eyebrow.js +1 -2
- package/es/components/card/card-eyebrow.js.map +1 -1
- package/es/components/card/card-footer.js +7 -8
- package/es/components/card/card-footer.js.map +1 -1
- package/es/components/card/card-heading.js +1 -2
- package/es/components/card/card-heading.js.map +1 -1
- package/es/components/card/card.js +2 -3
- package/es/components/card/card.js.map +1 -1
- package/es/components/card/defs.js +1 -3
- package/es/components/card/defs.js.map +1 -1
- package/es/components/card/image-logo.js +1 -2
- package/es/components/card/image-logo.js.map +1 -1
- package/es/components/card-group/card-group-card-link-item.js +1 -2
- package/es/components/card-group/card-group-card-link-item.js.map +1 -1
- package/es/components/card-group/card-group-item.js +1 -2
- package/es/components/card-group/card-group-item.js.map +1 -1
- package/es/components/card-group/card-group.js +3 -4
- package/es/components/card-group/card-group.js.map +1 -1
- package/es/components/card-group/defs.js +0 -1
- package/es/components/card-group/defs.js.map +1 -1
- package/es/components/card-in-card/card-in-card-image.js +1 -2
- package/es/components/card-in-card/card-in-card-image.js.map +1 -1
- package/es/components/card-in-card/card-in-card.js +6 -9
- package/es/components/card-in-card/card-in-card.js.map +1 -1
- package/es/components/card-link/card-link-heading.js +1 -2
- package/es/components/card-link/card-link-heading.js.map +1 -1
- package/es/components/card-link/card-link.js +1 -2
- package/es/components/card-link/card-link.js.map +1 -1
- package/es/components/card-section-carousel/card-section-carousel.js +1 -2
- package/es/components/card-section-carousel/card-section-carousel.js.map +1 -1
- package/es/components/card-section-images/card-section-images.js +1 -2
- package/es/components/card-section-images/card-section-images.js.map +1 -1
- package/es/components/card-section-offset/card-section-offset.js +1 -2
- package/es/components/card-section-offset/card-section-offset.js.map +1 -1
- package/es/components/card-section-simple/card-section-simple.js +1 -2
- package/es/components/card-section-simple/card-section-simple.js.map +1 -1
- package/es/components/carousel/carousel.js +6 -7
- package/es/components/carousel/carousel.js.map +1 -1
- package/es/components/content-block/content-block-complementary.js +1 -2
- package/es/components/content-block/content-block-complementary.js.map +1 -1
- package/es/components/content-block/content-block-copy.js +1 -2
- package/es/components/content-block/content-block-copy.js.map +1 -1
- package/es/components/content-block/content-block-heading.js +1 -2
- package/es/components/content-block/content-block-heading.js.map +1 -1
- package/es/components/content-block/content-block-paragraph.js +1 -2
- package/es/components/content-block/content-block-paragraph.js.map +1 -1
- package/es/components/content-block/content-block.js +1 -2
- package/es/components/content-block/content-block.js.map +1 -1
- package/es/components/content-block/defs.js +0 -2
- package/es/components/content-block/defs.js.map +1 -1
- package/es/components/content-block-card-static/content-block-card-static.js +2 -3
- package/es/components/content-block-card-static/content-block-card-static.js.map +1 -1
- package/es/components/content-block-cards/content-block-cards.js +1 -2
- package/es/components/content-block-cards/content-block-cards.js.map +1 -1
- package/es/components/content-block-headlines/content-block-headlines-heading.js +1 -2
- package/es/components/content-block-headlines/content-block-headlines-heading.js.map +1 -1
- package/es/components/content-block-headlines/content-block-headlines-item.js +1 -2
- package/es/components/content-block-headlines/content-block-headlines-item.js.map +1 -1
- package/es/components/content-block-headlines/content-block-headlines.js +1 -2
- package/es/components/content-block-headlines/content-block-headlines.js.map +1 -1
- package/es/components/content-block-horizontal/content-block-horizontal.js +1 -2
- package/es/components/content-block-horizontal/content-block-horizontal.js.map +1 -1
- package/es/components/content-block-media/content-block-media-content.js +1 -2
- package/es/components/content-block-media/content-block-media-content.js.map +1 -1
- package/es/components/content-block-media/content-block-media.js +1 -2
- package/es/components/content-block-media/content-block-media.js.map +1 -1
- package/es/components/content-block-mixed/content-block-mixed.js +1 -2
- package/es/components/content-block-mixed/content-block-mixed.js.map +1 -1
- package/es/components/content-block-segmented/content-block-segmented-item.js +1 -2
- package/es/components/content-block-segmented/content-block-segmented-item.js.map +1 -1
- package/es/components/content-block-segmented/content-block-segmented.js +3 -4
- package/es/components/content-block-segmented/content-block-segmented.js.map +1 -1
- package/es/components/content-block-simple/content-block-simple.css.js +1 -1
- package/es/components/content-block-simple/content-block-simple.js +1 -2
- package/es/components/content-block-simple/content-block-simple.js.map +1 -1
- package/es/components/content-block-simple/content-block-simple.rtl.css.js +1 -1
- package/es/components/content-group/content-group-copy.js +1 -2
- package/es/components/content-group/content-group-copy.js.map +1 -1
- package/es/components/content-group/content-group-heading.js +1 -2
- package/es/components/content-group/content-group-heading.js.map +1 -1
- package/es/components/content-group/content-group-paragraph.js +1 -2
- package/es/components/content-group/content-group-paragraph.js.map +1 -1
- package/es/components/content-group/content-group.js +1 -2
- package/es/components/content-group/content-group.js.map +1 -1
- package/es/components/content-group-banner/content-group-banner.js +1 -2
- package/es/components/content-group-banner/content-group-banner.js.map +1 -1
- package/es/components/content-group-cards/content-group-cards-item.js +1 -2
- package/es/components/content-group-cards/content-group-cards-item.js.map +1 -1
- package/es/components/content-group-cards/content-group-cards.js +1 -2
- package/es/components/content-group-cards/content-group-cards.js.map +1 -1
- package/es/components/content-group-horizontal/content-group-horizontal.js +1 -2
- package/es/components/content-group-horizontal/content-group-horizontal.js.map +1 -1
- package/es/components/content-group-pictograms/content-group-pictograms.js +1 -2
- package/es/components/content-group-pictograms/content-group-pictograms.js.map +1 -1
- package/es/components/content-group-simple/content-group-simple.js +1 -2
- package/es/components/content-group-simple/content-group-simple.js.map +1 -1
- package/es/components/content-group-simple/defs.js +0 -1
- package/es/components/content-group-simple/defs.js.map +1 -1
- package/es/components/content-item/content-item-copy.js +1 -2
- package/es/components/content-item/content-item-copy.js.map +1 -1
- package/es/components/content-item/content-item-heading.js +1 -2
- package/es/components/content-item/content-item-heading.js.map +1 -1
- package/es/components/content-item/content-item-paragraph.js +1 -2
- package/es/components/content-item/content-item-paragraph.js.map +1 -1
- package/es/components/content-item/content-item.js +1 -2
- package/es/components/content-item/content-item.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-copy.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal-copy.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-eyebrow.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal-eyebrow.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-media-copy.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal-media-copy.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-media-video.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal-media-video.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-media.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal-media.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal-thumbnail-copy.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal-thumbnail-copy.js.map +1 -1
- package/es/components/content-item-horizontal/content-item-horizontal.js +1 -2
- package/es/components/content-item-horizontal/content-item-horizontal.js.map +1 -1
- package/es/components/content-item-horizontal/defs.js +0 -2
- package/es/components/content-item-horizontal/defs.js.map +1 -1
- package/es/components/content-section/content-section-copy.js +2 -3
- package/es/components/content-section/content-section-copy.js.map +1 -1
- package/es/components/content-section/content-section-heading.js +1 -2
- package/es/components/content-section/content-section-heading.js.map +1 -1
- package/es/components/content-section/content-section.js +1 -2
- package/es/components/content-section/content-section.js.map +1 -1
- package/es/components/cta/button-cta.js +1 -2
- package/es/components/cta/button-cta.js.map +1 -1
- package/es/components/cta/card-cta-footer.js +1 -2
- package/es/components/cta/card-cta-footer.js.map +1 -1
- package/es/components/cta/card-cta-image.js +1 -2
- package/es/components/cta/card-cta-image.js.map +1 -1
- package/es/components/cta/card-cta.js +1 -2
- package/es/components/cta/card-cta.js.map +1 -1
- package/es/components/cta/card-link-cta.js +1 -2
- package/es/components/cta/card-link-cta.js.map +1 -1
- package/es/components/cta/cta.js +5 -6
- package/es/components/cta/cta.js.map +1 -1
- package/es/components/cta/defs.js +0 -2
- package/es/components/cta/defs.js.map +1 -1
- package/es/components/cta/feature-cta-footer.js +1 -2
- package/es/components/cta/feature-cta-footer.js.map +1 -1
- package/es/components/cta/feature-cta.js +1 -2
- package/es/components/cta/feature-cta.js.map +1 -1
- package/es/components/cta/link-list-item-card-cta.js +1 -2
- package/es/components/cta/link-list-item-card-cta.js.map +1 -1
- package/es/components/cta/link-list-item-cta.js +1 -2
- package/es/components/cta/link-list-item-cta.js.map +1 -1
- package/es/components/cta/text-cta.js +1 -2
- package/es/components/cta/text-cta.js.map +1 -1
- package/es/components/cta/video-cta-composite.d.ts +1 -0
- package/es/components/cta/video-cta-composite.d.ts.map +1 -1
- package/es/components/cta/video-cta-composite.js +2 -3
- package/es/components/cta/video-cta-composite.js.map +1 -1
- package/es/components/cta/video-cta-container.js +1 -2
- package/es/components/cta/video-cta-container.js.map +1 -1
- package/es/components/cta-block/cta-block-item-row.js +1 -2
- package/es/components/cta-block/cta-block-item-row.js.map +1 -1
- package/es/components/cta-block/cta-block-item.js +1 -2
- package/es/components/cta-block/cta-block-item.js.map +1 -1
- package/es/components/cta-block/cta-block.js +2 -3
- package/es/components/cta-block/cta-block.js.map +1 -1
- package/es/components/cta-section/cta-section.js +1 -2
- package/es/components/cta-section/cta-section.js.map +1 -1
- package/es/components/dotcom-shell/__stories__/data/content.js +12 -24
- package/es/components/dotcom-shell/__stories__/data/content.js.map +1 -1
- package/es/components/dotcom-shell/dotcom-shell-composite.d.ts +0 -4
- package/es/components/dotcom-shell/dotcom-shell-composite.d.ts.map +1 -1
- package/es/components/dotcom-shell/dotcom-shell-composite.js +5 -21
- package/es/components/dotcom-shell/dotcom-shell-composite.js.map +1 -1
- package/es/components/dotcom-shell/dotcom-shell-container.js +17 -18
- package/es/components/dotcom-shell/dotcom-shell-container.js.map +1 -1
- package/es/components/dotcom-shell/dotcom-shell.js +1 -2
- package/es/components/dotcom-shell/dotcom-shell.js.map +1 -1
- package/es/components/expressive-modal/defs.js +0 -2
- package/es/components/expressive-modal/defs.js.map +1 -1
- package/es/components/expressive-modal/expressive-modal-body.js +1 -2
- package/es/components/expressive-modal/expressive-modal-body.js.map +1 -1
- package/es/components/expressive-modal/expressive-modal-close-button.js +1 -2
- package/es/components/expressive-modal/expressive-modal-close-button.js.map +1 -1
- package/es/components/expressive-modal/expressive-modal-footer.js +1 -2
- package/es/components/expressive-modal/expressive-modal-footer.js.map +1 -1
- package/es/components/expressive-modal/expressive-modal-header.js +1 -2
- package/es/components/expressive-modal/expressive-modal-header.js.map +1 -1
- package/es/components/expressive-modal/expressive-modal-heading.js +1 -2
- package/es/components/expressive-modal/expressive-modal-heading.js.map +1 -1
- package/es/components/expressive-modal/expressive-modal.d.ts.map +1 -1
- package/es/components/expressive-modal/expressive-modal.js +7 -8
- package/es/components/expressive-modal/expressive-modal.js.map +1 -1
- package/es/components/feature-card/feature-card-footer.js +1 -2
- package/es/components/feature-card/feature-card-footer.js.map +1 -1
- package/es/components/feature-card/feature-card.js +1 -2
- package/es/components/feature-card/feature-card.js.map +1 -1
- package/es/components/feature-card-block-large/feature-card-block-large-footer.js +1 -2
- package/es/components/feature-card-block-large/feature-card-block-large-footer.js.map +1 -1
- package/es/components/feature-card-block-large/feature-card-block-large.js +1 -2
- package/es/components/feature-card-block-large/feature-card-block-large.js.map +1 -1
- package/es/components/feature-card-block-medium/feature-card-block-medium-block-heading.js +1 -2
- package/es/components/feature-card-block-medium/feature-card-block-medium-block-heading.js.map +1 -1
- package/es/components/feature-card-block-medium/feature-card-block-medium.js +1 -2
- package/es/components/feature-card-block-medium/feature-card-block-medium.js.map +1 -1
- package/es/components/feature-section/defs.js +0 -1
- package/es/components/feature-section/defs.js.map +1 -1
- package/es/components/feature-section/feature-section-card-link.js +1 -2
- package/es/components/feature-section/feature-section-card-link.js.map +1 -1
- package/es/components/feature-section/feature-section.js +1 -2
- package/es/components/feature-section/feature-section.js.map +1 -1
- package/es/components/filter-panel/filter-group-item.js +1 -2
- package/es/components/filter-panel/filter-group-item.js.map +1 -1
- package/es/components/filter-panel/filter-group.js +1 -2
- package/es/components/filter-panel/filter-group.js.map +1 -1
- package/es/components/filter-panel/filter-modal-button.js +1 -2
- package/es/components/filter-panel/filter-modal-button.js.map +1 -1
- package/es/components/filter-panel/filter-modal-footer.js +1 -2
- package/es/components/filter-panel/filter-modal-footer.js.map +1 -1
- package/es/components/filter-panel/filter-modal-heading.js +1 -2
- package/es/components/filter-panel/filter-modal-heading.js.map +1 -1
- package/es/components/filter-panel/filter-panel-checkbox.js +1 -2
- package/es/components/filter-panel/filter-panel-checkbox.js.map +1 -1
- package/es/components/filter-panel/filter-panel-composite.d.ts +366 -35
- package/es/components/filter-panel/filter-panel-composite.d.ts.map +1 -1
- package/es/components/filter-panel/filter-panel-composite.js +99 -84
- package/es/components/filter-panel/filter-panel-composite.js.map +1 -1
- package/es/components/filter-panel/filter-panel-heading.js +1 -2
- package/es/components/filter-panel/filter-panel-heading.js.map +1 -1
- package/es/components/filter-panel/filter-panel-input-select-item.d.ts +4 -0
- package/es/components/filter-panel/filter-panel-input-select-item.d.ts.map +1 -1
- package/es/components/filter-panel/filter-panel-input-select-item.js +12 -2
- package/es/components/filter-panel/filter-panel-input-select-item.js.map +1 -1
- package/es/components/filter-panel/filter-panel-input-select.js +3 -4
- package/es/components/filter-panel/filter-panel-input-select.js.map +1 -1
- package/es/components/filter-panel/filter-panel-modal.js +1 -2
- package/es/components/filter-panel/filter-panel-modal.js.map +1 -1
- package/es/components/filter-panel/filter-panel.css.js +1 -1
- package/es/components/filter-panel/filter-panel.js +1 -2
- package/es/components/filter-panel/filter-panel.js.map +1 -1
- package/es/components/filter-panel/filter-panel.rtl.css.js +1 -1
- package/es/components/footer/combo-box.d.ts +2 -2
- package/es/components/footer/combo-box.d.ts.map +1 -1
- package/es/components/footer/combo-box.js +6 -6
- package/es/components/footer/combo-box.js.map +1 -1
- package/es/components/footer/defs.js +1 -7
- package/es/components/footer/defs.js.map +1 -1
- package/es/components/footer/dropdown.js +1 -2
- package/es/components/footer/dropdown.js.map +1 -1
- package/es/components/footer/footer-composite.d.ts +13 -17
- package/es/components/footer/footer-composite.d.ts.map +1 -1
- package/es/components/footer/footer-composite.js +79 -48
- package/es/components/footer/footer-composite.js.map +1 -1
- package/es/components/footer/footer-container.js +3 -4
- package/es/components/footer/footer-container.js.map +1 -1
- package/es/components/footer/footer-logo.js +1 -2
- package/es/components/footer/footer-logo.js.map +1 -1
- package/es/components/footer/footer-nav-group.js +3 -4
- package/es/components/footer/footer-nav-group.js.map +1 -1
- package/es/components/footer/footer-nav-item.js +1 -2
- package/es/components/footer/footer-nav-item.js.map +1 -1
- package/es/components/footer/footer-nav.js +1 -2
- package/es/components/footer/footer-nav.js.map +1 -1
- package/es/components/footer/footer.js +1 -2
- package/es/components/footer/footer.js.map +1 -1
- package/es/components/footer/language-selector-desktop.d.ts +367 -0
- package/es/components/footer/language-selector-desktop.d.ts.map +1 -1
- package/es/components/footer/language-selector-desktop.js +2 -5
- package/es/components/footer/language-selector-desktop.js.map +1 -1
- package/es/components/footer/language-selector-mobile.d.ts +14 -0
- package/es/components/footer/language-selector-mobile.d.ts.map +1 -1
- package/es/components/footer/language-selector-mobile.js +1 -3
- package/es/components/footer/language-selector-mobile.js.map +1 -1
- package/es/components/footer/legal-nav-cookie-preferences-placeholder.js +1 -2
- package/es/components/footer/legal-nav-cookie-preferences-placeholder.js.map +1 -1
- package/es/components/footer/legal-nav-item.js +1 -2
- package/es/components/footer/legal-nav-item.js.map +1 -1
- package/es/components/footer/legal-nav.js +1 -2
- package/es/components/footer/legal-nav.js.map +1 -1
- package/es/components/footer/locale-button.js +1 -2
- package/es/components/footer/locale-button.js.map +1 -1
- package/es/components/horizontal-rule/defs.js +0 -4
- package/es/components/horizontal-rule/defs.js.map +1 -1
- package/es/components/horizontal-rule/horizontal-rule.js +1 -2
- package/es/components/horizontal-rule/horizontal-rule.js.map +1 -1
- package/es/components/image/image-item.js +1 -2
- package/es/components/image/image-item.js.map +1 -1
- package/es/components/image/image.d.ts +2 -3
- package/es/components/image/image.d.ts.map +1 -1
- package/es/components/image/image.js +1 -2
- package/es/components/image/image.js.map +1 -1
- package/es/components/image-with-caption/image-with-caption.js +1 -2
- package/es/components/image-with-caption/image-with-caption.js.map +1 -1
- package/es/components/leadspace/breadcrumb-item.js +1 -2
- package/es/components/leadspace/breadcrumb-item.js.map +1 -1
- package/es/components/leadspace/breadcrumb-link.js +1 -2
- package/es/components/leadspace/breadcrumb-link.js.map +1 -1
- package/es/components/leadspace/breadcrumb.js +1 -2
- package/es/components/leadspace/breadcrumb.js.map +1 -1
- package/es/components/leadspace/defs.js +0 -3
- package/es/components/leadspace/defs.js.map +1 -1
- package/es/components/leadspace/leadspace-heading.js +1 -2
- package/es/components/leadspace/leadspace-heading.js.map +1 -1
- package/es/components/leadspace/leadspace-image.js +1 -2
- package/es/components/leadspace/leadspace-image.js.map +1 -1
- package/es/components/leadspace/leadspace.js +1 -2
- package/es/components/leadspace/leadspace.js.map +1 -1
- package/es/components/leadspace-block/leadspace-block-content.js +1 -2
- package/es/components/leadspace-block/leadspace-block-content.js.map +1 -1
- package/es/components/leadspace-block/leadspace-block-cta.js +1 -2
- package/es/components/leadspace-block/leadspace-block-cta.js.map +1 -1
- package/es/components/leadspace-block/leadspace-block-heading.js +1 -2
- package/es/components/leadspace-block/leadspace-block-heading.js.map +1 -1
- package/es/components/leadspace-block/leadspace-block-media.js +1 -2
- package/es/components/leadspace-block/leadspace-block-media.js.map +1 -1
- package/es/components/leadspace-block/leadspace-block.js +1 -2
- package/es/components/leadspace-block/leadspace-block.js.map +1 -1
- package/es/components/leadspace-with-search/defs.js +0 -1
- package/es/components/leadspace-with-search/defs.js.map +1 -1
- package/es/components/leadspace-with-search/leadspace-with-search-content-copy.js +1 -2
- package/es/components/leadspace-with-search/leadspace-with-search-content-copy.js.map +1 -1
- package/es/components/leadspace-with-search/leadspace-with-search-content-heading.js +1 -2
- package/es/components/leadspace-with-search/leadspace-with-search-content-heading.js.map +1 -1
- package/es/components/leadspace-with-search/leadspace-with-search-content.js +1 -2
- package/es/components/leadspace-with-search/leadspace-with-search-content.js.map +1 -1
- package/es/components/leadspace-with-search/leadspace-with-search-heading.js +1 -2
- package/es/components/leadspace-with-search/leadspace-with-search-heading.js.map +1 -1
- package/es/components/leadspace-with-search/leadspace-with-search.js +1 -2
- package/es/components/leadspace-with-search/leadspace-with-search.js.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-composite.d.ts +1 -0
- package/es/components/leaving-ibm/leaving-ibm-composite.d.ts.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-composite.js +4 -5
- package/es/components/leaving-ibm/leaving-ibm-composite.js.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-connect.js +3 -3
- package/es/components/leaving-ibm/leaving-ibm-connect.js.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-container.js +1 -2
- package/es/components/leaving-ibm/leaving-ibm-container.js.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-modal-body.js +1 -2
- package/es/components/leaving-ibm/leaving-ibm-modal-body.js.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-modal-heading.js +1 -2
- package/es/components/leaving-ibm/leaving-ibm-modal-heading.js.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-modal-supplemental.js +1 -2
- package/es/components/leaving-ibm/leaving-ibm-modal-supplemental.js.map +1 -1
- package/es/components/leaving-ibm/leaving-ibm-modal.js +3 -4
- package/es/components/leaving-ibm/leaving-ibm-modal.js.map +1 -1
- package/es/components/lightbox-media-viewer/lightbox-image-viewer.js +1 -2
- package/es/components/lightbox-media-viewer/lightbox-image-viewer.js.map +1 -1
- package/es/components/lightbox-media-viewer/lightbox-media-viewer-body.js +1 -2
- package/es/components/lightbox-media-viewer/lightbox-media-viewer-body.js.map +1 -1
- package/es/components/lightbox-media-viewer/lightbox-media-viewer.js +1 -2
- package/es/components/lightbox-media-viewer/lightbox-media-viewer.js.map +1 -1
- package/es/components/lightbox-media-viewer/lightbox-video-player-composite.d.ts +1 -0
- package/es/components/lightbox-media-viewer/lightbox-video-player-composite.d.ts.map +1 -1
- package/es/components/lightbox-media-viewer/lightbox-video-player-composite.js +8 -9
- package/es/components/lightbox-media-viewer/lightbox-video-player-composite.js.map +1 -1
- package/es/components/lightbox-media-viewer/lightbox-video-player-container.js +1 -2
- package/es/components/lightbox-media-viewer/lightbox-video-player-container.js.map +1 -1
- package/es/components/lightbox-media-viewer/lightbox-video-player.js +1 -2
- package/es/components/lightbox-media-viewer/lightbox-video-player.js.map +1 -1
- package/es/components/link-list/defs.js +0 -2
- package/es/components/link-list/defs.js.map +1 -1
- package/es/components/link-list/link-list-heading.js +1 -2
- package/es/components/link-list/link-list-heading.js.map +1 -1
- package/es/components/link-list/link-list-item-card.js +1 -2
- package/es/components/link-list/link-list-item-card.js.map +1 -1
- package/es/components/link-list/link-list-item.js +1 -2
- package/es/components/link-list/link-list-item.js.map +1 -1
- package/es/components/link-list/link-list.js +1 -3
- package/es/components/link-list/link-list.js.map +1 -1
- package/es/components/link-list-section/link-list-section.js +1 -2
- package/es/components/link-list-section/link-list-section.js.map +1 -1
- package/es/components/link-with-icon/link-with-icon.js +3 -4
- package/es/components/link-with-icon/link-with-icon.js.map +1 -1
- package/es/components/locale-modal/locale-item.js +1 -2
- package/es/components/locale-modal/locale-item.js.map +1 -1
- package/es/components/locale-modal/locale-modal-composite.d.ts +337 -17
- package/es/components/locale-modal/locale-modal-composite.d.ts.map +1 -1
- package/es/components/locale-modal/locale-modal-composite.js +50 -28
- package/es/components/locale-modal/locale-modal-composite.js.map +1 -1
- package/es/components/locale-modal/locale-modal-container.js +1 -2
- package/es/components/locale-modal/locale-modal-container.js.map +1 -1
- package/es/components/locale-modal/locale-modal.d.ts +13 -1
- package/es/components/locale-modal/locale-modal.d.ts.map +1 -1
- package/es/components/locale-modal/locale-modal.js +102 -28
- package/es/components/locale-modal/locale-modal.js.map +1 -1
- package/es/components/locale-modal/locale-search.d.ts +3 -0
- package/es/components/locale-modal/locale-search.d.ts.map +1 -1
- package/es/components/locale-modal/locale-search.js +2 -5
- package/es/components/locale-modal/locale-search.js.map +1 -1
- package/es/components/locale-modal/region-item.js +1 -2
- package/es/components/locale-modal/region-item.js.map +1 -1
- package/es/components/locale-modal/regions.js +1 -2
- package/es/components/locale-modal/regions.js.map +1 -1
- package/es/components/logo-grid/logo-grid-item.js +1 -2
- package/es/components/logo-grid/logo-grid-item.js.map +1 -1
- package/es/components/logo-grid/logo-grid-link.js +1 -2
- package/es/components/logo-grid/logo-grid-link.js.map +1 -1
- package/es/components/logo-grid/logo-grid.js +1 -2
- package/es/components/logo-grid/logo-grid.js.map +1 -1
- package/es/components/markdown/markdown.js +1 -2
- package/es/components/markdown/markdown.js.map +1 -1
- package/es/components/masthead/cloud/cloud-button-cta.js +1 -2
- package/es/components/masthead/cloud/cloud-button-cta.js.map +1 -1
- package/es/components/masthead/cloud/cloud-left-nav-item.js +1 -2
- package/es/components/masthead/cloud/cloud-left-nav-item.js.map +1 -1
- package/es/components/masthead/cloud/cloud-masthead-composite.js +11 -12
- package/es/components/masthead/cloud/cloud-masthead-composite.js.map +1 -1
- package/es/components/masthead/cloud/cloud-masthead-container.js +9 -10
- package/es/components/masthead/cloud/cloud-masthead-container.js.map +1 -1
- package/es/components/masthead/cloud/cloud-masthead-global-bar.js +1 -2
- package/es/components/masthead/cloud/cloud-masthead-global-bar.js.map +1 -1
- package/es/components/masthead/cloud/cloud-masthead-profile.js +1 -2
- package/es/components/masthead/cloud/cloud-masthead-profile.js.map +1 -1
- package/es/components/masthead/cloud/cloud-masthead.css.js +1 -1
- package/es/components/masthead/cloud/cloud-masthead.rtl.css.js +1 -1
- package/es/components/masthead/cloud/cloud-megamenu-category-heading.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu-category-heading.js.map +1 -1
- package/es/components/masthead/cloud/cloud-megamenu-category-link-group.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu-category-link-group.js.map +1 -1
- package/es/components/masthead/cloud/cloud-megamenu-category-link.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu-category-link.js.map +1 -1
- package/es/components/masthead/cloud/cloud-megamenu-left-navigation.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu-left-navigation.js.map +1 -1
- package/es/components/masthead/cloud/cloud-megamenu-right-navigation.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu-right-navigation.js.map +1 -1
- package/es/components/masthead/cloud/cloud-megamenu-tab.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu-tab.js.map +1 -1
- package/es/components/masthead/cloud/cloud-megamenu-tabs.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu-tabs.js.map +1 -1
- package/es/components/masthead/cloud/cloud-megamenu.js +1 -2
- package/es/components/masthead/cloud/cloud-megamenu.js.map +1 -1
- package/es/components/masthead/cloud/cloud-top-nav-name.js +1 -2
- package/es/components/masthead/cloud/cloud-top-nav-name.js.map +1 -1
- package/es/components/masthead/defs.js +0 -2
- package/es/components/masthead/defs.js.map +1 -1
- package/es/components/masthead/left-nav-item.js +1 -2
- package/es/components/masthead/left-nav-item.js.map +1 -1
- package/es/components/masthead/left-nav-menu-category-heading.js +1 -2
- package/es/components/masthead/left-nav-menu-category-heading.js.map +1 -1
- package/es/components/masthead/left-nav-menu-item.js +1 -2
- package/es/components/masthead/left-nav-menu-item.js.map +1 -1
- package/es/components/masthead/left-nav-menu-section.js +1 -2
- package/es/components/masthead/left-nav-menu-section.js.map +1 -1
- package/es/components/masthead/left-nav-menu.js +1 -2
- package/es/components/masthead/left-nav-menu.js.map +1 -1
- package/es/components/masthead/left-nav-name.js +1 -2
- package/es/components/masthead/left-nav-name.js.map +1 -1
- package/es/components/masthead/left-nav-overlay.js +1 -2
- package/es/components/masthead/left-nav-overlay.js.map +1 -1
- package/es/components/masthead/left-nav.js +7 -8
- package/es/components/masthead/left-nav.js.map +1 -1
- package/es/components/masthead/masthead-composite.js +22 -24
- package/es/components/masthead/masthead-composite.js.map +1 -1
- package/es/components/masthead/masthead-container.js +6 -7
- package/es/components/masthead/masthead-container.js.map +1 -1
- package/es/components/masthead/masthead-global-bar.js +1 -2
- package/es/components/masthead/masthead-global-bar.js.map +1 -1
- package/es/components/masthead/masthead-l1-name.js +1 -2
- package/es/components/masthead/masthead-l1-name.js.map +1 -1
- package/es/components/masthead/masthead-l1.js +1 -2
- package/es/components/masthead/masthead-l1.js.map +1 -1
- package/es/components/masthead/masthead-logo.js +1 -2
- package/es/components/masthead/masthead-logo.js.map +1 -1
- package/es/components/masthead/masthead-menu-button.js +1 -2
- package/es/components/masthead/masthead-menu-button.js.map +1 -1
- package/es/components/masthead/masthead-profile-item.js +2 -3
- package/es/components/masthead/masthead-profile-item.js.map +1 -1
- package/es/components/masthead/masthead-profile.js +1 -2
- package/es/components/masthead/masthead-profile.js.map +1 -1
- package/es/components/masthead/masthead.js +1 -2
- package/es/components/masthead/masthead.js.map +1 -1
- package/es/components/masthead/megamenu-category-group-copy.js +1 -2
- package/es/components/masthead/megamenu-category-group-copy.js.map +1 -1
- package/es/components/masthead/megamenu-category-group.js +1 -2
- package/es/components/masthead/megamenu-category-group.js.map +1 -1
- package/es/components/masthead/megamenu-category-link.js +1 -2
- package/es/components/masthead/megamenu-category-link.js.map +1 -1
- package/es/components/masthead/megamenu-left-navigation.js +1 -2
- package/es/components/masthead/megamenu-left-navigation.js.map +1 -1
- package/es/components/masthead/megamenu-link-with-icon.js +1 -2
- package/es/components/masthead/megamenu-link-with-icon.js.map +1 -1
- package/es/components/masthead/megamenu-overlay.js +1 -2
- package/es/components/masthead/megamenu-overlay.js.map +1 -1
- package/es/components/masthead/megamenu-right-navigation.js +1 -2
- package/es/components/masthead/megamenu-right-navigation.js.map +1 -1
- package/es/components/masthead/megamenu-top-nav-menu.js +3 -4
- package/es/components/masthead/megamenu-top-nav-menu.js.map +1 -1
- package/es/components/masthead/megamenu.js +1 -2
- package/es/components/masthead/megamenu.js.map +1 -1
- package/es/components/masthead/skip-to-content.js +1 -2
- package/es/components/masthead/skip-to-content.js.map +1 -1
- package/es/components/masthead/top-nav-item.js +2 -3
- package/es/components/masthead/top-nav-item.js.map +1 -1
- package/es/components/masthead/top-nav-l1.js +1 -2
- package/es/components/masthead/top-nav-l1.js.map +1 -1
- package/es/components/masthead/top-nav-menu-item.js +2 -3
- package/es/components/masthead/top-nav-menu-item.js.map +1 -1
- package/es/components/masthead/top-nav-menu.js +2 -3
- package/es/components/masthead/top-nav-menu.js.map +1 -1
- package/es/components/masthead/top-nav-name.js +1 -2
- package/es/components/masthead/top-nav-name.js.map +1 -1
- package/es/components/masthead/top-nav.d.ts.map +1 -1
- package/es/components/masthead/top-nav.js +2 -3
- package/es/components/masthead/top-nav.js.map +1 -1
- package/es/components/notice-choice/cc-lc-map.js +1 -2
- package/es/components/notice-choice/cc-lc-map.js.map +1 -1
- package/es/components/notice-choice/country-settings.js +1 -2
- package/es/components/notice-choice/country-settings.js.map +1 -1
- package/es/components/notice-choice/notice-choice.d.ts +5 -1
- package/es/components/notice-choice/notice-choice.d.ts.map +1 -1
- package/es/components/notice-choice/notice-choice.js +38 -10
- package/es/components/notice-choice/notice-choice.js.map +1 -1
- package/es/components/notice-choice/utils.d.ts +1 -0
- package/es/components/notice-choice/utils.d.ts.map +1 -1
- package/es/components/notice-choice/utils.js +10 -4
- package/es/components/notice-choice/utils.js.map +1 -1
- package/es/components/notice-choice/world-wide-content.js +1 -2
- package/es/components/notice-choice/world-wide-content.js.map +1 -1
- package/es/components/pictogram-item/defs.js +0 -1
- package/es/components/pictogram-item/defs.js.map +1 -1
- package/es/components/pictogram-item/pictogram-item.js +1 -2
- package/es/components/pictogram-item/pictogram-item.js.map +1 -1
- package/es/components/pricing-table/defs.js +0 -1
- package/es/components/pricing-table/defs.js.map +1 -1
- package/es/components/pricing-table/pricing-table-annotation-toggle.js +1 -2
- package/es/components/pricing-table/pricing-table-annotation-toggle.js.map +1 -1
- package/es/components/pricing-table/pricing-table-body.js +1 -2
- package/es/components/pricing-table/pricing-table-body.js.map +1 -1
- package/es/components/pricing-table/pricing-table-cell-annotation.js +1 -2
- package/es/components/pricing-table/pricing-table-cell-annotation.js.map +1 -1
- package/es/components/pricing-table/pricing-table-cell.js +2 -3
- package/es/components/pricing-table/pricing-table-cell.js.map +1 -1
- package/es/components/pricing-table/pricing-table-group.js +1 -2
- package/es/components/pricing-table/pricing-table-group.js.map +1 -1
- package/es/components/pricing-table/pricing-table-head.js +1 -2
- package/es/components/pricing-table/pricing-table-head.js.map +1 -1
- package/es/components/pricing-table/pricing-table-header-cell-caption.js +1 -2
- package/es/components/pricing-table/pricing-table-header-cell-caption.js.map +1 -1
- package/es/components/pricing-table/pricing-table-header-cell-cta.js +1 -2
- package/es/components/pricing-table/pricing-table-header-cell-cta.js.map +1 -1
- package/es/components/pricing-table/pricing-table-header-cell-description.js +1 -2
- package/es/components/pricing-table/pricing-table-header-cell-description.js.map +1 -1
- package/es/components/pricing-table/pricing-table-header-cell-headline.js +1 -2
- package/es/components/pricing-table/pricing-table-header-cell-headline.js.map +1 -1
- package/es/components/pricing-table/pricing-table-header-cell-tag.js +1 -2
- package/es/components/pricing-table/pricing-table-header-cell-tag.js.map +1 -1
- package/es/components/pricing-table/pricing-table-header-cell.js +1 -2
- package/es/components/pricing-table/pricing-table-header-cell.js.map +1 -1
- package/es/components/pricing-table/pricing-table-header-row.js +1 -2
- package/es/components/pricing-table/pricing-table-header-row.js.map +1 -1
- package/es/components/pricing-table/pricing-table-highlight-label.js +1 -2
- package/es/components/pricing-table/pricing-table-highlight-label.js.map +1 -1
- package/es/components/pricing-table/pricing-table-row.js +1 -2
- package/es/components/pricing-table/pricing-table-row.js.map +1 -1
- package/es/components/pricing-table/pricing-table.js +2 -3
- package/es/components/pricing-table/pricing-table.js.map +1 -1
- package/es/components/pricing-table/utils.js +5 -10
- package/es/components/pricing-table/utils.js.map +1 -1
- package/es/components/quote/defs.js +0 -2
- package/es/components/quote/defs.js.map +1 -1
- package/es/components/quote/index.d.ts +2 -2
- package/es/components/quote/index.d.ts.map +1 -1
- package/es/components/quote/index.js +1 -1
- package/es/components/quote/index.js.map +1 -1
- package/es/components/quote/quote-link-with-icon.js +1 -2
- package/es/components/quote/quote-link-with-icon.js.map +1 -1
- package/es/components/quote/quote-source-bottom-copy.js +1 -2
- package/es/components/quote/quote-source-bottom-copy.js.map +1 -1
- package/es/components/quote/quote-source-copy.js +1 -2
- package/es/components/quote/quote-source-copy.js.map +1 -1
- package/es/components/quote/quote-source-heading.js +1 -2
- package/es/components/quote/quote-source-heading.js.map +1 -1
- package/es/components/quote/quote.js +1 -2
- package/es/components/quote/quote.js.map +1 -1
- package/es/components/scroll-animations/defs.js +0 -1
- package/es/components/scroll-animations/defs.js.map +1 -1
- package/es/components/scroll-animations/scroll-animations.js +5 -6
- package/es/components/scroll-animations/scroll-animations.js.map +1 -1
- package/es/components/search/search.js +3 -4
- package/es/components/search/search.js.map +1 -1
- package/es/components/search-with-typeahead/scoped-search-dropdown-mobile.js +1 -2
- package/es/components/search-with-typeahead/scoped-search-dropdown-mobile.js.map +1 -1
- package/es/components/search-with-typeahead/scoped-search-dropdown.js +3 -4
- package/es/components/search-with-typeahead/scoped-search-dropdown.js.map +1 -1
- package/es/components/search-with-typeahead/search-with-typeahead-item.js +1 -2
- package/es/components/search-with-typeahead/search-with-typeahead-item.js.map +1 -1
- package/es/components/search-with-typeahead/search-with-typeahead.js +16 -17
- package/es/components/search-with-typeahead/search-with-typeahead.js.map +1 -1
- package/es/components/structured-list/structured-list-body.js +1 -2
- package/es/components/structured-list/structured-list-body.js.map +1 -1
- package/es/components/structured-list/structured-list-cell.js +1 -2
- package/es/components/structured-list/structured-list-cell.js.map +1 -1
- package/es/components/structured-list/structured-list-group.js +1 -2
- package/es/components/structured-list/structured-list-group.js.map +1 -1
- package/es/components/structured-list/structured-list-head.js +1 -2
- package/es/components/structured-list/structured-list-head.js.map +1 -1
- package/es/components/structured-list/structured-list-header-cell.js +1 -2
- package/es/components/structured-list/structured-list-header-cell.js.map +1 -1
- package/es/components/structured-list/structured-list-header-row.js +1 -2
- package/es/components/structured-list/structured-list-header-row.js.map +1 -1
- package/es/components/structured-list/structured-list-row.js +1 -2
- package/es/components/structured-list/structured-list-row.js.map +1 -1
- package/es/components/structured-list/structured-list.js +1 -2
- package/es/components/structured-list/structured-list.js.map +1 -1
- package/es/components/table-of-contents/defs.js +0 -1
- package/es/components/table-of-contents/defs.js.map +1 -1
- package/es/components/table-of-contents/table-of-contents.js +2 -3
- package/es/components/table-of-contents/table-of-contents.js.map +1 -1
- package/es/components/tabs-extended/defs.js +0 -1
- package/es/components/tabs-extended/defs.js.map +1 -1
- package/es/components/tabs-extended/tab.js +3 -4
- package/es/components/tabs-extended/tab.js.map +1 -1
- package/es/components/tabs-extended/tabs-extended.js +3 -4
- package/es/components/tabs-extended/tabs-extended.js.map +1 -1
- package/es/components/tabs-extended-media/tabs-extended-media.js +1 -2
- package/es/components/tabs-extended-media/tabs-extended-media.js.map +1 -1
- package/es/components/tag-group/tag-group.js +3 -4
- package/es/components/tag-group/tag-group.js.map +1 -1
- package/es/components/tag-link/tag-link.js +1 -2
- package/es/components/tag-link/tag-link.js.map +1 -1
- package/es/components/universal-banner/universal-banner-copy.js +2 -3
- package/es/components/universal-banner/universal-banner-copy.js.map +1 -1
- package/es/components/universal-banner/universal-banner-heading.js +1 -2
- package/es/components/universal-banner/universal-banner-heading.js.map +1 -1
- package/es/components/universal-banner/universal-banner-image.js +1 -2
- package/es/components/universal-banner/universal-banner-image.js.map +1 -1
- package/es/components/universal-banner/universal-banner.js +1 -2
- package/es/components/universal-banner/universal-banner.js.map +1 -1
- package/es/components/video-player/defs.js +0 -2
- package/es/components/video-player/defs.js.map +1 -1
- package/es/components/video-player/video-player-composite.js +4 -5
- package/es/components/video-player/video-player-composite.js.map +1 -1
- package/es/components/video-player/video-player-container.js +6 -8
- package/es/components/video-player/video-player-container.js.map +1 -1
- package/es/components/video-player/video-player.d.ts.map +1 -1
- package/es/components/video-player/video-player.js +22 -5
- package/es/components/video-player/video-player.js.map +1 -1
- package/es/components-react/dotcom-shell/dotcom-shell-composite.d.ts +0 -4
- package/es/components-react/dotcom-shell/dotcom-shell-composite.js +0 -8
- package/es/components-react/filter-panel/filter-panel-composite.d.ts +2 -7
- package/es/components-react/filter-panel/filter-panel-composite.js +3 -10
- package/es/components-react/filter-panel/filter-panel-input-select-item.d.ts +4 -0
- package/es/components-react/filter-panel/filter-panel-input-select-item.js +5 -0
- package/es/components-react/locale-modal/locale-modal-composite.d.ts +4 -0
- package/es/components-react/locale-modal/locale-modal-composite.js +5 -0
- package/es/globals/defs.js +0 -2
- package/es/globals/defs.js.map +1 -1
- package/es/globals/internal/collection-helpers.js +5 -10
- package/es/globals/internal/collection-helpers.js.map +1 -1
- package/es/globals/internal/feature-flags.js +7 -14
- package/es/globals/internal/feature-flags.js.map +1 -1
- package/es/globals/internal/storybook-cdn.js +3 -6
- package/es/globals/internal/storybook-cdn.js.map +1 -1
- package/es/globals/mixins/connect.js +1 -2
- package/es/globals/mixins/connect.js.map +1 -1
- package/es/globals/mixins/hybrid-render.js +1 -2
- package/es/globals/mixins/hybrid-render.js.map +1 -1
- package/es/globals/mixins/modal-render.d.ts +6 -1
- package/es/globals/mixins/modal-render.d.ts.map +1 -1
- package/es/globals/mixins/modal-render.js +21 -4
- package/es/globals/mixins/modal-render.js.map +1 -1
- package/es/globals/mixins/stable-selector.js +3 -4
- package/es/globals/mixins/stable-selector.js.map +1 -1
- package/es/globals/mixins/throttled-input.js +2 -3
- package/es/globals/mixins/throttled-input.js.map +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +6 -6
- package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +19 -19
- package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +6 -6
- package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +6 -6
- package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/es/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer.js +3 -3
- package/es/internal/vendor/@carbon/ibmdotcom-services/services/Locale/Locale.js +6 -6
- package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js.map +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/es/internal/vendor/@carbon/web-components/components/data-table/table-toolbar-search.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/data-table/table-toolbar-search.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/file-uploader/drop-container.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/file-uploader/drop-container.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/input/input.d.ts +4 -5
- package/es/internal/vendor/@carbon/web-components/components/input/input.d.ts.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/input/input.js +16 -35
- package/es/internal/vendor/@carbon/web-components/components/input/input.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/link/link.d.ts +7 -15
- package/es/internal/vendor/@carbon/web-components/components/link/link.d.ts.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/link/link.js +6 -6
- package/es/internal/vendor/@carbon/web-components/components/link/link.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu-body.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu-body.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/overflow-menu/overflow-menu.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/pagination/page-sizes-select.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/pagination/page-sizes-select.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/slider/slider.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/slider/slider.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/structured-list/structured-list-row.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/structured-list/structured-list-row.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/tabs/tab.d.ts +8 -0
- package/es/internal/vendor/@carbon/web-components/components/tabs/tab.d.ts.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/tabs/tab.js +28 -4
- package/es/internal/vendor/@carbon/web-components/components/tabs/tab.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/tooltip/tooltip.js +2 -2
- package/es/internal/vendor/@carbon/web-components/components/tooltip/tooltip.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-link.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-link.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.d.ts +1 -0
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.d.ts.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.js +11 -0
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu-item.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav-menu.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav.js +1 -1
- package/es/internal/vendor/@carbon/web-components/components/ui-shell/side-nav.js.map +1 -1
- package/es/internal/vendor/@carbon/web-components/components-react/input/input.d.ts +4 -4
- package/es/internal/vendor/@carbon/web-components/components-react/input/input.js +2 -2
- package/es/internal/vendor/@carbon/web-components/components-react/tabs/tab.d.ts +4 -0
- package/es/internal/vendor/@carbon/web-components/components-react/tabs/tab.js +2 -0
- package/es/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js +2 -1
- package/es/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js.map +1 -1
- package/lib/components/background-media/defs.js +2 -4
- package/lib/components/background-media/defs.js.map +1 -1
- package/lib/components/button/defs.js +3 -6
- package/lib/components/button/defs.js.map +1 -1
- package/lib/components/card/defs.js +2 -4
- package/lib/components/card/defs.js.map +1 -1
- package/lib/components/card-group/defs.js +1 -2
- package/lib/components/card-group/defs.js.map +1 -1
- package/lib/components/content-block/defs.js +2 -4
- package/lib/components/content-block/defs.js.map +1 -1
- package/lib/components/content-item-horizontal/defs.js +2 -4
- package/lib/components/content-item-horizontal/defs.js.map +1 -1
- package/lib/components/cta/defs.js +2 -4
- package/lib/components/cta/defs.js.map +1 -1
- package/lib/components/expressive-modal/defs.js +2 -4
- package/lib/components/expressive-modal/defs.js.map +1 -1
- package/lib/components/feature-section/defs.js +1 -2
- package/lib/components/feature-section/defs.js.map +1 -1
- package/lib/components/horizontal-rule/defs.js +4 -8
- package/lib/components/horizontal-rule/defs.js.map +1 -1
- package/lib/components/leadspace/defs.js +3 -6
- package/lib/components/leadspace/defs.js.map +1 -1
- package/lib/components/leadspace-with-search/defs.js +1 -2
- package/lib/components/leadspace-with-search/defs.js.map +1 -1
- package/lib/components/leaving-ibm/leaving-ibm-connect.js +3 -3
- package/lib/components/leaving-ibm/leaving-ibm-connect.js.map +1 -1
- package/lib/components/link-list/defs.js +2 -4
- package/lib/components/link-list/defs.js.map +1 -1
- package/lib/components/pictogram-item/defs.js +1 -2
- package/lib/components/pictogram-item/defs.js.map +1 -1
- package/lib/components/quote/defs.js +2 -4
- package/lib/components/quote/defs.js.map +1 -1
- package/lib/components/table-of-contents/defs.js +1 -2
- package/lib/components/table-of-contents/defs.js.map +1 -1
- package/lib/components/tabs-extended/defs.js +1 -2
- package/lib/components/tabs-extended/defs.js.map +1 -1
- package/lib/components/video-player/defs.js +2 -4
- package/lib/components/video-player/defs.js.map +1 -1
- package/lib/components-react-node/back-to-top/back-to-top.js +25 -45
- package/lib/components-react-node/background-media/background-media.js +5 -8
- package/lib/components-react-node/button/button.js +25 -45
- package/lib/components-react-node/button-group/button-group-item.js +7 -6
- package/lib/components-react-node/button-group/button-group.js +3 -6
- package/lib/components-react-node/callout-quote/callout-link-with-icon.js +7 -6
- package/lib/components-react-node/callout-quote/callout-quote.js +7 -6
- package/lib/components-react-node/callout-with-media/callout-with-media-copy.js +7 -6
- package/lib/components-react-node/callout-with-media/callout-with-media-image.js +5 -8
- package/lib/components-react-node/callout-with-media/callout-with-media-video.js +10 -9
- package/lib/components-react-node/callout-with-media/callout-with-media.js +7 -6
- package/lib/components-react-node/card/card-eyebrow.js +5 -8
- package/lib/components-react-node/card/card-footer.js +40 -56
- package/lib/components-react-node/card/card-heading.js +5 -8
- package/lib/components-react-node/card/card.js +25 -45
- package/lib/components-react-node/card/image-logo.js +7 -6
- package/lib/components-react-node/card-group/card-group-card-link-item.js +38 -54
- package/lib/components-react-node/card-group/card-group-item.js +25 -45
- package/lib/components-react-node/card-group/card-group.js +25 -45
- package/lib/components-react-node/card-in-card/card-in-card-image.js +7 -6
- package/lib/components-react-node/card-in-card/card-in-card.js +7 -6
- package/lib/components-react-node/card-link/card-link-heading.js +7 -6
- package/lib/components-react-node/card-link/card-link.js +25 -45
- package/lib/components-react-node/card-section-carousel/card-section-carousel.js +7 -6
- package/lib/components-react-node/card-section-offset/card-section-offset.js +7 -6
- package/lib/components-react-node/card-section-simple/card-section-simple.js +7 -6
- package/lib/components-react-node/carousel/carousel.js +25 -45
- package/lib/components-react-node/content-block/content-block-complementary.js +5 -8
- package/lib/components-react-node/content-block/content-block-copy.js +5 -8
- package/lib/components-react-node/content-block/content-block-heading.js +5 -8
- package/lib/components-react-node/content-block/content-block-paragraph.js +3 -6
- package/lib/components-react-node/content-block/content-block.js +5 -8
- package/lib/components-react-node/content-block-cards/content-block-cards.js +7 -6
- package/lib/components-react-node/content-block-horizontal/content-block-horizontal.js +33 -49
- package/lib/components-react-node/content-block-media/content-block-media-content.js +7 -6
- package/lib/components-react-node/content-block-media/content-block-media.js +7 -6
- package/lib/components-react-node/content-block-mixed/content-block-mixed.js +7 -6
- package/lib/components-react-node/content-block-segmented/content-block-segmented-item.js +7 -6
- package/lib/components-react-node/content-block-segmented/content-block-segmented.js +7 -6
- package/lib/components-react-node/content-block-simple/content-block-simple.js +7 -6
- package/lib/components-react-node/content-group/content-group-copy.js +5 -8
- package/lib/components-react-node/content-group/content-group-heading.js +5 -8
- package/lib/components-react-node/content-group/content-group-paragraph.js +3 -6
- package/lib/components-react-node/content-group/content-group.js +7 -6
- package/lib/components-react-node/content-group-banner/content-group-banner.js +7 -6
- package/lib/components-react-node/content-group-cards/content-group-cards-item.js +3 -6
- package/lib/components-react-node/content-group-cards/content-group-cards.js +7 -6
- package/lib/components-react-node/content-group-pictograms/content-group-pictograms.js +7 -6
- package/lib/components-react-node/content-group-simple/content-group-simple.js +7 -6
- package/lib/components-react-node/content-item/content-item-copy.js +7 -6
- package/lib/components-react-node/content-item/content-item-heading.js +5 -8
- package/lib/components-react-node/content-item/content-item-paragraph.js +3 -6
- package/lib/components-react-node/content-item/content-item.js +3 -6
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal-copy.js +7 -6
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal-eyebrow.js +5 -8
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-copy.js +7 -6
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-featured.js +7 -6
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media-video.js +10 -9
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal-media.js +10 -9
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal-thumbnail-copy.js +7 -6
- package/lib/components-react-node/content-item-horizontal/content-item-horizontal.js +32 -48
- package/lib/components-react-node/content-section/content-section-copy.js +5 -8
- package/lib/components-react-node/content-section/content-section-heading.js +5 -8
- package/lib/components-react-node/content-section/content-section.js +5 -8
- package/lib/components-react-node/cta/button-cta.js +48 -64
- package/lib/components-react-node/cta/card-cta-footer.js +46 -62
- package/lib/components-react-node/cta/card-cta-image.js +7 -6
- package/lib/components-react-node/cta/card-cta.js +25 -45
- package/lib/components-react-node/cta/card-link-cta.js +25 -45
- package/lib/components-react-node/cta/cta.js +5 -8
- package/lib/components-react-node/cta/feature-cta-footer.js +45 -61
- package/lib/components-react-node/cta/feature-cta.js +58 -74
- package/lib/components-react-node/cta/link-list-item-card-cta.js +7 -6
- package/lib/components-react-node/cta/link-list-item-cta.js +7 -6
- package/lib/components-react-node/cta/text-cta.js +48 -64
- package/lib/components-react-node/cta/video-cta-composite.js +5 -8
- package/lib/components-react-node/cta/video-cta-container.js +7 -6
- package/lib/components-react-node/cta-block/cta-block-item-row.js +25 -45
- package/lib/components-react-node/cta-block/cta-block-item.js +7 -6
- package/lib/components-react-node/cta-block/cta-block.js +33 -49
- package/lib/components-react-node/cta-section/cta-section.js +12 -11
- package/lib/components-react-node/dotcom-shell/dotcom-shell-composite.js +25 -53
- package/lib/components-react-node/dotcom-shell/dotcom-shell-container.js +7 -6
- package/lib/components-react-node/dotcom-shell/dotcom-shell.js +3 -6
- package/lib/components-react-node/expressive-modal/expressive-modal-body.js +3 -6
- package/lib/components-react-node/expressive-modal/expressive-modal-close-button.js +5 -8
- package/lib/components-react-node/expressive-modal/expressive-modal-footer.js +5 -8
- package/lib/components-react-node/expressive-modal/expressive-modal-header.js +5 -8
- package/lib/components-react-node/expressive-modal/expressive-modal-heading.js +3 -6
- package/lib/components-react-node/expressive-modal/expressive-modal.js +25 -45
- package/lib/components-react-node/feature-card/feature-card-footer.js +7 -6
- package/lib/components-react-node/feature-card/feature-card.js +5 -8
- package/lib/components-react-node/feature-section/feature-section-card-link.js +7 -6
- package/lib/components-react-node/feature-section/feature-section.js +12 -11
- package/lib/components-react-node/filter-panel/filter-group-item.js +25 -45
- package/lib/components-react-node/filter-panel/filter-group.js +3 -6
- package/lib/components-react-node/filter-panel/filter-modal-button.js +3 -6
- package/lib/components-react-node/filter-panel/filter-modal-footer.js +3 -6
- package/lib/components-react-node/filter-panel/filter-modal-heading.js +3 -6
- package/lib/components-react-node/filter-panel/filter-panel-checkbox.js +5 -8
- package/lib/components-react-node/filter-panel/filter-panel-composite.js +28 -55
- package/lib/components-react-node/filter-panel/filter-panel-heading.js +5 -8
- package/lib/components-react-node/filter-panel/filter-panel-input-select-item.js +30 -45
- package/lib/components-react-node/filter-panel/filter-panel-input-select.js +25 -45
- package/lib/components-react-node/filter-panel/filter-panel-modal.js +41 -57
- package/lib/components-react-node/filter-panel/filter-panel.js +25 -45
- package/lib/components-react-node/footer/dropdown.js +5 -8
- package/lib/components-react-node/footer/footer-composite.js +25 -45
- package/lib/components-react-node/footer/footer-container.js +7 -6
- package/lib/components-react-node/horizontal-rule/horizontal-rule.js +5 -8
- package/lib/components-react-node/image/image-item.js +3 -6
- package/lib/components-react-node/image/image.js +25 -45
- package/lib/components-react-node/leadspace/breadcrumb-item.js +3 -6
- package/lib/components-react-node/leadspace/breadcrumb-link.js +3 -6
- package/lib/components-react-node/leadspace/breadcrumb.js +3 -6
- package/lib/components-react-node/leadspace/leadspace-heading.js +5 -8
- package/lib/components-react-node/leadspace/leadspace-image.js +7 -6
- package/lib/components-react-node/leadspace/leadspace.js +5 -8
- package/lib/components-react-node/leadspace-block/leadspace-block-content.js +7 -6
- package/lib/components-react-node/leadspace-block/leadspace-block-cta.js +7 -6
- package/lib/components-react-node/leadspace-block/leadspace-block-heading.js +7 -6
- package/lib/components-react-node/leadspace-block/leadspace-block-media.js +3 -6
- package/lib/components-react-node/leadspace-block/leadspace-block.js +3 -6
- package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content-copy.js +10 -9
- package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content-heading.js +7 -6
- package/lib/components-react-node/leadspace-with-search/leadspace-with-search-content.js +10 -9
- package/lib/components-react-node/leadspace-with-search/leadspace-with-search-heading.js +7 -6
- package/lib/components-react-node/leadspace-with-search/leadspace-with-search.js +25 -45
- package/lib/components-react-node/leaving-ibm/leaving-ibm-composite.js +25 -45
- package/lib/components-react-node/leaving-ibm/leaving-ibm-container.js +7 -6
- package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-body.js +5 -8
- package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-heading.js +3 -6
- package/lib/components-react-node/leaving-ibm/leaving-ibm-modal-supplemental.js +5 -8
- package/lib/components-react-node/leaving-ibm/leaving-ibm-modal.js +5 -8
- package/lib/components-react-node/lightbox-media-viewer/lightbox-image-viewer.js +15 -14
- package/lib/components-react-node/lightbox-media-viewer/lightbox-media-viewer-body.js +2 -4
- package/lib/components-react-node/lightbox-media-viewer/lightbox-media-viewer.js +24 -23
- package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player-composite.js +45 -61
- package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player-container.js +4 -7
- package/lib/components-react-node/lightbox-media-viewer/lightbox-video-player.js +40 -56
- package/lib/components-react-node/link-list/link-list-heading.js +5 -8
- package/lib/components-react-node/link-list/link-list-item-card.js +7 -6
- package/lib/components-react-node/link-list/link-list-item.js +33 -49
- package/lib/components-react-node/link-list/link-list.js +5 -8
- package/lib/components-react-node/link-list-section/link-list-section.js +7 -6
- package/lib/components-react-node/link-with-icon/link-with-icon.js +25 -45
- package/lib/components-react-node/locale-modal/locale-modal-composite.js +30 -45
- package/lib/components-react-node/locale-modal/locale-modal-container.js +7 -6
- package/lib/components-react-node/logo-grid/logo-grid-item.js +7 -6
- package/lib/components-react-node/logo-grid/logo-grid-link.js +5 -8
- package/lib/components-react-node/logo-grid/logo-grid.js +39 -55
- package/lib/components-react-node/markdown/markdown.js +5 -8
- package/lib/components-react-node/masthead/masthead-composite.js +25 -45
- package/lib/components-react-node/masthead/masthead-container.js +7 -6
- package/lib/components-react-node/masthead/masthead.js +3 -6
- package/lib/components-react-node/pictogram-item/pictogram-item.js +12 -11
- package/lib/components-react-node/quote/quote-link-with-icon.js +7 -6
- package/lib/components-react-node/quote/quote-source-bottom-copy.js +5 -8
- package/lib/components-react-node/quote/quote-source-copy.js +5 -8
- package/lib/components-react-node/quote/quote-source-heading.js +5 -8
- package/lib/components-react-node/quote/quote.js +5 -8
- package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown-mobile.js +5 -8
- package/lib/components-react-node/search-with-typeahead/scoped-search-dropdown.js +5 -8
- package/lib/components-react-node/search-with-typeahead/search-with-typeahead-item.js +25 -45
- package/lib/components-react-node/search-with-typeahead/search-with-typeahead.js +25 -45
- package/lib/components-react-node/structured-list/structured-list-body.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-cell.js +5 -8
- package/lib/components-react-node/structured-list/structured-list-group.js +5 -8
- package/lib/components-react-node/structured-list/structured-list-head.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-header-cell.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-header-row.js +3 -6
- package/lib/components-react-node/structured-list/structured-list-row.js +3 -6
- package/lib/components-react-node/structured-list/structured-list.js +3 -6
- package/lib/components-react-node/table-of-contents/table-of-contents.js +25 -45
- package/lib/components-react-node/tabs-extended/tab.js +25 -45
- package/lib/components-react-node/tabs-extended/tabs-extended.js +5 -8
- package/lib/components-react-node/tabs-extended-media/tabs-extended-media.js +12 -11
- package/lib/components-react-node/tag-group/tag-group.js +3 -6
- package/lib/components-react-node/tag-link/tag-link.js +5 -8
- package/lib/components-react-node/universal-banner/universal-banner-copy.js +5 -8
- package/lib/components-react-node/universal-banner/universal-banner-heading.js +5 -8
- package/lib/components-react-node/universal-banner/universal-banner-image.js +7 -6
- package/lib/components-react-node/universal-banner/universal-banner.js +25 -45
- package/lib/components-react-node/video-player/video-player-composite.js +25 -45
- package/lib/components-react-node/video-player/video-player-container.js +7 -6
- package/lib/components-react-node/video-player/video-player.js +25 -45
- package/lib/globals/defs.js +2 -4
- package/lib/globals/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +7 -8
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/altlangs/altlangs.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/calculateTotalWidth/calculateTotalWidth.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/decodeString/decodeString.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/escaperegexp/escaperegexp.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/featureflag/featureflag.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +20 -21
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +7 -8
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/loadNonLatinPlex/loadNonLatinPlex.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/markdownToHtml/markdownToHtml.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +7 -8
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/sameHeight/sameHeight.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/serialize/serialize.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +3 -4
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/smoothScroll/smoothScroll.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/stripHTML/stripHTML.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/uniqueid/uniqueid.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Analytics/Analytics.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/CloudAccountAuth/CloudAccountAuth.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/DDO/DDO.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer.js +9 -10
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Locale/Locale.js +7 -8
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/MarketingSearch/MarketingSearch.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/MastheadLogo/MastheadLogo.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Profile/Profile.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/SearchTypeahead/SearchTypeahead.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/Translation/Translation.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services/services/VideoPlayer/VideoPlayer.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/actions/searchAPI.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/index.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/reducers/index.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/store.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/store.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js +2 -4
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/cloudAccountAuthAPI.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/kalturaPlayerAPI.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js +2 -4
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/profileAPI.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/searchAPI.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI.js.map +1 -1
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/StickyHeader/StickyHeader.js +2 -3
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/altlangs/altlangs.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/calculateTotalWidth/calculateTotalWidth.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/decodeString/decodeString.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/escaperegexp/escaperegexp.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/featureflag/featureflag.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/focuswrap/focuswrap.js +2 -3
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/ipcinfoCookie/ipcinfoCookie.js +2 -3
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/loadNonLatinPlex/loadNonLatinPlex.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/markdownToHtml/markdownToHtml.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/parseAspectRatio/parseAspectRatio.js +2 -3
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/sameHeight/sameHeight.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/serialize/serialize.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +3 -4
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/smoothScroll/smoothScroll.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/stripHTML/stripHTML.js +1 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/uniqueid/uniqueid.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/accordion/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/accordion/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/button/defs.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components/button/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/code-snippet/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/code-snippet/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/content-switcher/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/content-switcher/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/data-table/defs.js +5 -10
- package/lib/internal/vendor/@carbon/web-components/components/data-table/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/date-picker/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/date-picker/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/dropdown/defs.js +4 -8
- package/lib/internal/vendor/@carbon/web-components/components/dropdown/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/file-uploader/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/file-uploader/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/floating-menu/defs.js +4 -8
- package/lib/internal/vendor/@carbon/web-components/components/floating-menu/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/inline-loading/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/inline-loading/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/input/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/input/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/loading/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/loading/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/modal/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/modal/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/notification/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/notification/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/number-input/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/number-input/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/overflow-menu/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/overflow-menu/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/progress-indicator/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/progress-indicator/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/radio-button/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/radio-button/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/skeleton-text/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/skeleton-text/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/tabs/defs.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components/tabs/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/tag/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/tag/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/toggle/defs.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/components/toggle/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/tooltip/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/tooltip/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components/ui-shell/defs.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components/ui-shell/defs.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/components-react-node/accordion/accordion-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/accordion/accordion.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-item.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-link.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb-overflow-menu.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/breadcrumb/breadcrumb.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/button/button-skeleton.js +7 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/button/button.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/checkbox/checkbox.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/code-snippet/code-snippet-skeleton.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/code-snippet/code-snippet.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/combo-box/combo-box-item.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/combo-box/combo-box.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/content-switcher/content-switcher-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/content-switcher/content-switcher.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/copy-button/copy-button.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-batch-actions.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-body.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-cell-skeleton.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-cell.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-expand-row.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-expanded-row.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-head.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-cell-skeleton.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-cell.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-expand-row.js +25 -20
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-header-row.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-row.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar-content.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar-search.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table-toolbar.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/data-table/table.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker-input-skeleton.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker-input.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/date-picker/date-picker.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown-skeleton.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/dropdown/dropdown.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/drop-container.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/file-uploader-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/file-uploader/file-uploader.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/floating-menu/floating-menu.js +2 -4
- package/lib/internal/vendor/@carbon/web-components/components-react-node/form/form-item.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/inline-loading/inline-loading.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/input/input.js +27 -47
- package/lib/internal/vendor/@carbon/web-components/components-react-node/link/link.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/list/list-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/list/ordered-list.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/list/unordered-list.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/loading/loading.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-body.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-close-button.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-footer-button.js +7 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-footer.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-header.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-heading.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal-label.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/modal/modal.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/multi-select/multi-select-item.js +41 -53
- package/lib/internal/vendor/@carbon/web-components/components-react-node/multi-select/multi-select.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/notification/inline-notification.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/notification/toast-notification.js +15 -10
- package/lib/internal/vendor/@carbon/web-components/components-react-node/number-input/number-input-skeleton.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/number-input/number-input.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu-body.js +45 -57
- package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/overflow-menu/overflow-menu.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/page-sizes-select.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/pages-select.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/pagination/pagination.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-indicator-skeleton.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-indicator.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-step-skeleton.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/progress-indicator/progress-step.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button-group.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button-skeleton.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/radio-button/radio-button.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/search/search-skeleton.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/search/search.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select-item-group.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/select/select.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/skeleton-placeholder/skeleton-placeholder.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/skeleton-text/skeleton-text.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/skip-to-content/skip-to-content.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider-input.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider-skeleton.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/slider/slider.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-body.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-cell.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-head.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-cell-skeleton.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-cell.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-header-row.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list-row.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/structured-list/structured-list.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tab-skeleton.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tab.js +41 -51
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tabs-skeleton.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tabs/tabs.js +39 -34
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tag/filter-tag.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tag/tag.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/textarea/textarea-skeleton.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/textarea/textarea.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/clickable-tile.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/expandable-tile.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/radio-tile.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/selectable-tile.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/tile-group.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tile/tile.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/toggle/toggle.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-body.js +41 -53
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-definition.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-footer.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip-icon.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/tooltip/tooltip.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu-button.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu-item.js +11 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-menu.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-name.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-nav-item.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header-nav.js +5 -8
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/header.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-divider.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-items.js +3 -6
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-link.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-menu-item.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav-menu.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/components-react-node/ui-shell/side-nav.js +25 -45
- package/lib/internal/vendor/@carbon/web-components/globals/settings.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/globals/settings.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/globals/shared-enums.js +1 -2
- package/lib/internal/vendor/@carbon/web-components/globals/shared-enums.js.map +1 -1
- package/lib/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js +3 -4
- package/lib/internal/vendor/@carbon/web-components/globals/wrappers/createReactCustomElementType.js.map +1 -1
- package/package.json +17 -17
- package/dist/left-nav-menu-item-28b39f86.js +0 -71
- package/dist/left-nav-menu-item-38c7e8e5.js +0 -71
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-player.js","names":["_litElement","require","_classMap2","_settings","_interopRequireDefault","_ifNonNull","_focus","_playVideo","_formatVideoCaption","_settings2","_KalturaPlayer","_defs","_videoPlayerCss","_stableSelector","_parentVisibility","_carbonElement","_templateObject","_templateObject2","_templateObject3","_templateObject4","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSVideoPlayer","_decorate2","customElement","concat","_initialize","_FocusMixin","_FocusMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","reflect","attribute","key","value","VIDEO_PLAYER_PLAYING_MODE","INLINE","_handleClickOverlay","playingMode","contentState","VIDEO_PLAYER_CONTENT_STATE","VIDEO","videoId","name","customVideoDescription","_ref","eventContentStateChange","dispatchEvent","CustomEvent","bubbles","composed","detail","_renderContent","thumbnailUrl","backgroundMode","THUMBNAIL","html","_taggedTemplateLiteral2","ifNonNull","PlayVideo","slot","_updateThumbnailUrl","thumbnailSrc","URL","error","host","toLowerCase","includes","pathname","KalturaPlayerAPI","getThumbnailUrl","mediaId","width","String","offsetWidth","_onParentVisible","userInitiatedTogglePlaybackState","_ref2","eventPlaybackStateChange","type","Number","formatVideoCaption","formatVideoDuration","createRenderRoot","_exec","attachShadow","mode","delegatesFocus","exec","navigator","userAgent","render","_classMap","aspectRatio","duration","formatCaption","formatDuration","hideCaption","aspectRatioClass","classMap","_defineProperty2","undefined","updated","changedProperties","has","caption","setAttribute","firstUpdated","_this$parentElement","tabIndex","parentIsBackground","parentElement","stableSelector","styles","FocusMixin","StableSelectorMixin","ParentVisibilityMixin","LitElement","_default","exports"],"sources":["components/video-player/video-player.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\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 { html, property, LitElement } from 'lit-element';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport FocusMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/focus.js';\nimport PlayVideo from '@carbon/ibmdotcom-styles/icons/svg/play-video.svg';\nimport {\n formatVideoCaption,\n formatVideoDuration,\n} from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/formatVideoCaption/formatVideoCaption.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport KalturaPlayerAPI from '../../internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer';\nimport { VIDEO_PLAYER_CONTENT_STATE, VIDEO_PLAYER_PLAYING_MODE } from './defs';\nimport '../image/image';\nimport styles from './video-player.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport DDSVideoPlayerContainer from './video-player-container';\nimport ParentVisibilityMixin from '../../component-mixins/parent-visibility/parent-visibility';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nexport { VIDEO_PLAYER_CONTENT_STATE };\nexport { VIDEO_PLAYER_PLAYING_MODE };\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Video player.\n *\n * @element dds-video-player\n */\n@customElement(`${ddsPrefix}-video-player`)\nclass DDSVideoPlayer extends FocusMixin(\n StableSelectorMixin(ParentVisibilityMixin(LitElement))\n) {\n /**\n * The video player's mode showing Inline or Lightbox.\n */\n @property({ reflect: true, attribute: 'playing-mode' })\n playingMode = VIDEO_PLAYER_PLAYING_MODE.INLINE;\n\n /**\n * Handles `click` event on the video thumbnail.\n */\n private _handleClickOverlay() {\n if (this.playingMode === VIDEO_PLAYER_PLAYING_MODE.INLINE) {\n this.contentState = VIDEO_PLAYER_CONTENT_STATE.VIDEO;\n }\n const { videoId, name, customVideoDescription } = this;\n const { eventContentStateChange } = this\n .constructor as typeof DDSVideoPlayer;\n this.dispatchEvent(\n new CustomEvent(eventContentStateChange, {\n bubbles: true,\n composed: true,\n detail: {\n videoId,\n contentState: VIDEO_PLAYER_CONTENT_STATE.VIDEO,\n playingMode: this.playingMode,\n name,\n customVideoDescription,\n },\n })\n );\n }\n\n /**\n * @returns The video content.\n */\n private _renderContent() {\n const { contentState, name, thumbnailUrl, backgroundMode } = this;\n return contentState === VIDEO_PLAYER_CONTENT_STATE.THUMBNAIL &&\n !backgroundMode\n ? html`\n <div class=\"${prefix}--video-player__video\">\n <button\n class=\"${prefix}--video-player__image-overlay\"\n @click=\"${this._handleClickOverlay}\">\n <dds-image default-src=\"${thumbnailUrl}\" alt=\"${ifNonNull(name)}\">\n ${PlayVideo({ slot: 'icon' })}\n </dds-image>\n </button>\n </div>\n `\n : html` <slot></slot> `;\n }\n\n /**\n * Updates video thumbnail url to match video width\n */\n private _updateThumbnailUrl() {\n let thumbnailSrc: false | URL = false;\n\n try {\n thumbnailSrc = new URL(this.thumbnailUrl);\n } catch (error) {\n // Do nothing.\n }\n\n // If current thumbnail is from Kaltura and includes this video's ID we should be able to safely update it.\n if (\n thumbnailSrc &&\n thumbnailSrc.host.toLowerCase().includes('kaltura') &&\n thumbnailSrc.pathname.includes(this.videoId!)\n ) {\n this.thumbnailUrl = KalturaPlayerAPI.getThumbnailUrl({\n mediaId: this.videoId,\n width: String(this.offsetWidth),\n });\n }\n }\n\n public _onParentVisible() {\n this._updateThumbnailUrl();\n }\n\n /**\n * userInitiatedTogglePlaybackState\n */\n public userInitiatedTogglePlaybackState() {\n const { videoId } = this;\n const { eventPlaybackStateChange } = this\n .constructor as typeof DDSVideoPlayer;\n this.dispatchEvent(\n new CustomEvent(eventPlaybackStateChange, {\n bubbles: true,\n composed: true,\n detail: {\n videoId,\n playingMode: this.playingMode,\n },\n })\n );\n }\n\n /**\n * The video player's content state.\n */\n @property({ reflect: true, attribute: 'content-state' })\n contentState = VIDEO_PLAYER_CONTENT_STATE.THUMBNAIL;\n\n /**\n * The video duration.\n */\n @property({ type: Number })\n duration?: number;\n\n /**\n * The formatter for the video caption, composed with the video name and the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatCaption = formatVideoCaption;\n\n /**\n * The formatter for the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatDuration = formatVideoDuration;\n\n /**\n * `true` to hide the caption.\n */\n @property({ type: Boolean, attribute: 'hide-caption' })\n hideCaption = false;\n\n /**\n * The video name.\n */\n @property()\n name = '';\n\n /**\n * `true` to autoplay, mute video, and hide UI\n */\n @property({ attribute: 'background-mode', reflect: true })\n backgroundMode: boolean = false;\n\n /**\n * Custom video description. This property should only be set when using `playing-mode=\"lightbox\"`\n */\n @property({ attribute: 'video-description' })\n customVideoDescription?: string;\n\n /**\n * The thumbnail URL.\n */\n @property({ attribute: 'thumbnail-url' })\n thumbnailUrl = '';\n\n /**\n * The video ID.\n */\n @property({ attribute: 'video-id' })\n videoId?: string;\n\n /**\n * Override default aspect ratio of `16x9`.\n * Available aspect ratios:\n *\n * `16x9`, `9x16`, `2x1`, `1x2`, `4x3`, `3x4`, `1x1`\n */\n @property({ attribute: 'aspect-ratio' })\n aspectRatio?: string;\n\n createRenderRoot() {\n return this.attachShadow({\n mode: 'open',\n delegatesFocus:\n Number((/Safari\\/(\\d+)/.exec(navigator.userAgent) ?? ['', 0])[1]) <=\n 537,\n });\n }\n\n render() {\n const {\n aspectRatio,\n duration,\n formatCaption,\n formatDuration,\n hideCaption,\n name,\n } = this;\n\n const aspectRatioClass = classMap({\n [`${prefix}--video-player__video-container`]: true,\n [`${prefix}--video-player__aspect-ratio--${aspectRatio}`]: !!aspectRatio,\n });\n\n return html`\n <div class=\"${aspectRatioClass}\">${this._renderContent()}</div>\n ${hideCaption\n ? undefined\n : html`\n <div class=\"${prefix}--video-player__video-caption\">\n ${formatCaption({\n duration: formatDuration({\n duration: !duration ? duration : duration * 1000,\n }),\n name,\n })}\n </div>\n `}\n `;\n }\n\n updated(changedProperties) {\n if (\n changedProperties.has('duration') ||\n changedProperties.has('formatCaption') ||\n changedProperties.has('name') ||\n changedProperties.has('backgroundMode')\n ) {\n const { duration, formatCaption, formatDuration, name } = this;\n const caption = formatCaption({\n duration: formatDuration({\n duration: !duration ? duration : duration * 1000,\n }),\n name,\n });\n if (caption) {\n this.setAttribute('aria-label', caption);\n }\n }\n\n if (this.offsetWidth > 0) {\n this._updateThumbnailUrl();\n }\n }\n\n firstUpdated() {\n this.tabIndex = 0;\n const parentIsBackground = Boolean(\n (this.parentElement as DDSVideoPlayerContainer)?.backgroundMode\n );\n\n this.backgroundMode = parentIsBackground;\n }\n\n /**\n * The name of the custom event fired after video content state is changed upon a user gesture.\n */\n static get eventContentStateChange() {\n return `${ddsPrefix}-video-player-content-state-changed`;\n }\n\n /**\n * The name of the custom event fired requesting playback state change.\n */\n static get eventPlaybackStateChange() {\n return `${ddsPrefix}-video-player-playback-state-changed`;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--video-player`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSVideoPlayer;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,UAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,MAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,UAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAIA,IAAAQ,UAAA,GAAAL,sBAAA,CAAAH,OAAA;AACA,IAAAS,cAAA,GAAAN,sBAAA,CAAAH,OAAA;AACA,IAAAU,KAAA,GAAAV,OAAA;AACAA,OAAA;AACA,IAAAW,eAAA,GAAAR,sBAAA,CAAAH,OAAA;AACA,IAAAY,eAAA,GAAAT,sBAAA,CAAAH,OAAA;AAEA,IAAAa,iBAAA,GAAAV,sBAAA,CAAAH,OAAA;AACA,IAAAc,cAAA,GAAAd,OAAA;AAAmI,IAAAe,eAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,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,CAAUN,SAAS;MACrB;;MAEA;AACF;AACA;IAFE;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAGA,SAAA4C,yBAAA,EAAsC;QACpC,UAAAnE,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAA8E,eAAA,EAA4B;QAC1B,UAAArG,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEe+E,0BAAM;MAAA;IAAA;EAAA;AAAA,GA1QK,IAAAC,iBAAU,EACrC,IAAAC,0BAAmB,EAAC,IAAAC,4BAAqB,EAACC,sBAAU,CAAC,CACvD,CAAC;AA2QD;AAAA,IAAAC,QAAA,GACe9G,cAAc;AAAA+G,OAAA,cAAAD,QAAA"}
|
|
1
|
+
{"version":3,"file":"video-player.js","names":["_litElement","require","_classMap2","_settings","_interopRequireDefault","_ifNonNull","_focus","_playVideo","_formatVideoCaption","_settings2","_KalturaPlayer","_defs","_videoPlayerCss","_stableSelector","_parentVisibility","_carbonElement","_templateObject","_templateObject2","_templateObject3","_templateObject4","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","DDSVideoPlayer","_decorate2","customElement","concat","_initialize","_FocusMixin","_FocusMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","reflect","attribute","key","value","VIDEO_PLAYER_PLAYING_MODE","INLINE","_handleClickOverlay","playingMode","contentState","VIDEO_PLAYER_CONTENT_STATE","VIDEO","videoId","name","customVideoDescription","_ref","eventContentStateChange","dispatchEvent","CustomEvent","bubbles","composed","detail","_renderContent","thumbnailUrl","backgroundMode","THUMBNAIL","html","_taggedTemplateLiteral2","ifNonNull","PlayVideo","slot","_updateThumbnailUrl","thumbnailSrc","URL","error","host","toLowerCase","includes","pathname","KalturaPlayerAPI","getThumbnailUrl","mediaId","width","String","offsetWidth","_onParentVisible","userInitiatedTogglePlaybackState","_ref2","eventPlaybackStateChange","type","Number","formatVideoCaption","formatVideoDuration","createRenderRoot","_exec","attachShadow","mode","delegatesFocus","exec","navigator","userAgent","render","_classMap","aspectRatio","duration","formatCaption","formatDuration","hideCaption","aspectRatioClass","classMap","_defineProperty2","undefined","updated","changedProperties","_this2","has","caption","setAttribute","setTimeout","_asyncToGenerator2","_regenerator","mark","_callee","wrap","_callee$","_context","prev","next","updateComplete","endsWith","stop","firstUpdated","_this$parentElement","tabIndex","parentIsBackground","parentElement","stableSelector","styles","FocusMixin","StableSelectorMixin","ParentVisibilityMixin","LitElement","_default","exports"],"sources":["components/video-player/video-player.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\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 { html, property, LitElement } from 'lit-element';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport FocusMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/focus.js';\nimport PlayVideo from '@carbon/ibmdotcom-styles/icons/svg/play-video.svg';\nimport {\n formatVideoCaption,\n formatVideoDuration,\n} from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/formatVideoCaption/formatVideoCaption.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport KalturaPlayerAPI from '../../internal/vendor/@carbon/ibmdotcom-services/services/KalturaPlayer/KalturaPlayer';\nimport { VIDEO_PLAYER_CONTENT_STATE, VIDEO_PLAYER_PLAYING_MODE } from './defs';\nimport '../image/image';\nimport styles from './video-player.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport DDSVideoPlayerContainer from './video-player-container';\nimport ParentVisibilityMixin from '../../component-mixins/parent-visibility/parent-visibility';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nexport { VIDEO_PLAYER_CONTENT_STATE };\nexport { VIDEO_PLAYER_PLAYING_MODE };\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Video player.\n *\n * @element dds-video-player\n */\n@customElement(`${ddsPrefix}-video-player`)\nclass DDSVideoPlayer extends FocusMixin(\n StableSelectorMixin(ParentVisibilityMixin(LitElement))\n) {\n /**\n * The video player's mode showing Inline or Lightbox.\n */\n @property({ reflect: true, attribute: 'playing-mode' })\n playingMode = VIDEO_PLAYER_PLAYING_MODE.INLINE;\n\n /**\n * Handles `click` event on the video thumbnail.\n */\n private _handleClickOverlay() {\n if (this.playingMode === VIDEO_PLAYER_PLAYING_MODE.INLINE) {\n this.contentState = VIDEO_PLAYER_CONTENT_STATE.VIDEO;\n }\n const { videoId, name, customVideoDescription } = this;\n const { eventContentStateChange } = this\n .constructor as typeof DDSVideoPlayer;\n this.dispatchEvent(\n new CustomEvent(eventContentStateChange, {\n bubbles: true,\n composed: true,\n detail: {\n videoId,\n contentState: VIDEO_PLAYER_CONTENT_STATE.VIDEO,\n playingMode: this.playingMode,\n name,\n customVideoDescription,\n },\n })\n );\n }\n\n /**\n * @returns The video content.\n */\n private _renderContent() {\n const { contentState, name, thumbnailUrl, backgroundMode } = this;\n return contentState === VIDEO_PLAYER_CONTENT_STATE.THUMBNAIL &&\n !backgroundMode\n ? html`\n <div class=\"${prefix}--video-player__video\">\n <button\n class=\"${prefix}--video-player__image-overlay\"\n @click=\"${this._handleClickOverlay}\">\n <dds-image default-src=\"${thumbnailUrl}\" alt=\"${ifNonNull(name)}\">\n ${PlayVideo({ slot: 'icon' })}\n </dds-image>\n </button>\n </div>\n `\n : html` <slot></slot> `;\n }\n\n /**\n * Updates video thumbnail url to match video width\n */\n private _updateThumbnailUrl() {\n let thumbnailSrc: false | URL = false;\n\n try {\n thumbnailSrc = new URL(this.thumbnailUrl);\n } catch (error) {\n // Do nothing.\n }\n\n // If current thumbnail is from Kaltura and includes this video's ID we should be able to safely update it.\n if (\n thumbnailSrc &&\n thumbnailSrc.host.toLowerCase().includes('kaltura') &&\n thumbnailSrc.pathname.includes(this.videoId!)\n ) {\n this.thumbnailUrl = KalturaPlayerAPI.getThumbnailUrl({\n mediaId: this.videoId,\n width: String(this.offsetWidth),\n });\n }\n }\n\n public _onParentVisible() {\n this._updateThumbnailUrl();\n }\n\n /**\n * userInitiatedTogglePlaybackState\n */\n public userInitiatedTogglePlaybackState() {\n const { videoId } = this;\n const { eventPlaybackStateChange } = this\n .constructor as typeof DDSVideoPlayer;\n this.dispatchEvent(\n new CustomEvent(eventPlaybackStateChange, {\n bubbles: true,\n composed: true,\n detail: {\n videoId,\n playingMode: this.playingMode,\n },\n })\n );\n }\n\n /**\n * The video player's content state.\n */\n @property({ reflect: true, attribute: 'content-state' })\n contentState = VIDEO_PLAYER_CONTENT_STATE.THUMBNAIL;\n\n /**\n * The video duration.\n */\n @property({ type: Number })\n duration?: number;\n\n /**\n * The formatter for the video caption, composed with the video name and the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatCaption = formatVideoCaption;\n\n /**\n * The formatter for the video duration.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatDuration = formatVideoDuration;\n\n /**\n * `true` to hide the caption.\n */\n @property({ type: Boolean, attribute: 'hide-caption' })\n hideCaption = false;\n\n /**\n * The video name.\n */\n @property()\n name = '';\n\n /**\n * `true` to autoplay, mute video, and hide UI\n */\n @property({ attribute: 'background-mode', reflect: true })\n backgroundMode: boolean = false;\n\n /**\n * Custom video description. This property should only be set when using `playing-mode=\"lightbox\"`\n */\n @property({ attribute: 'video-description' })\n customVideoDescription?: string;\n\n /**\n * The thumbnail URL.\n */\n @property({ attribute: 'thumbnail-url' })\n thumbnailUrl = '';\n\n /**\n * The video ID.\n */\n @property({ attribute: 'video-id' })\n videoId?: string;\n\n /**\n * Override default aspect ratio of `16x9`.\n * Available aspect ratios:\n *\n * `16x9`, `9x16`, `2x1`, `1x2`, `4x3`, `3x4`, `1x1`\n */\n @property({ attribute: 'aspect-ratio' })\n aspectRatio?: string;\n\n createRenderRoot() {\n return this.attachShadow({\n mode: 'open',\n delegatesFocus:\n Number((/Safari\\/(\\d+)/.exec(navigator.userAgent) ?? ['', 0])[1]) <=\n 537,\n });\n }\n\n render() {\n const {\n aspectRatio,\n duration,\n formatCaption,\n formatDuration,\n hideCaption,\n name,\n } = this;\n\n const aspectRatioClass = classMap({\n [`${prefix}--video-player__video-container`]: true,\n [`${prefix}--video-player__aspect-ratio--${aspectRatio}`]: !!aspectRatio,\n });\n\n return html`\n <div class=\"${aspectRatioClass}\">${this._renderContent()}</div>\n ${hideCaption\n ? undefined\n : html`\n <div class=\"${prefix}--video-player__video-caption\">\n ${formatCaption({\n duration: formatDuration({\n duration: !duration ? duration : duration * 1000,\n }),\n name,\n })}\n </div>\n `}\n `;\n }\n\n updated(changedProperties) {\n if (\n changedProperties.has('duration') ||\n changedProperties.has('formatCaption') ||\n changedProperties.has('name') ||\n changedProperties.has('backgroundMode')\n ) {\n const { duration, formatCaption, formatDuration, name } = this;\n const caption = formatCaption({\n duration: formatDuration({\n duration: !duration ? duration : duration * 1000,\n }),\n name,\n });\n if (caption) {\n this.setAttribute('aria-label', caption);\n }\n }\n\n // Move measurement & API call to callback queue & wait for update to complete.\n setTimeout(async () => {\n await this.updateComplete;\n if (!this.thumbnailUrl.endsWith(`${this.offsetWidth}`)) {\n this._updateThumbnailUrl();\n }\n }, 0);\n }\n\n firstUpdated() {\n this.tabIndex = 0;\n const parentIsBackground = Boolean(\n (this.parentElement as DDSVideoPlayerContainer)?.backgroundMode\n );\n\n this.backgroundMode = parentIsBackground;\n }\n\n /**\n * The name of the custom event fired after video content state is changed upon a user gesture.\n */\n static get eventContentStateChange() {\n return `${ddsPrefix}-video-player-content-state-changed`;\n }\n\n /**\n * The name of the custom event fired requesting playback state change.\n */\n static get eventPlaybackStateChange() {\n return `${ddsPrefix}-video-player-playback-state-changed`;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--video-player`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSVideoPlayer;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,UAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,MAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,UAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAIA,IAAAQ,UAAA,GAAAL,sBAAA,CAAAH,OAAA;AACA,IAAAS,cAAA,GAAAN,sBAAA,CAAAH,OAAA;AACA,IAAAU,KAAA,GAAAV,OAAA;AACAA,OAAA;AACA,IAAAW,eAAA,GAAAR,sBAAA,CAAAH,OAAA;AACA,IAAAY,eAAA,GAAAT,sBAAA,CAAAH,OAAA;AAEA,IAAAa,iBAAA,GAAAV,sBAAA,CAAAH,OAAA;AACA,IAAAc,cAAA,GAAAd,OAAA;AAAmI,IAAAe,eAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,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,mBAAmB,CAAC,CAAC;gBAC5B;cAAC;cAAA;gBAAA,OAAAsD,QAAA,CAAAK,IAAA;YAAA;UAAA,GAAAR,OAAA;QAAA,CACF,IAAE,CAAC,CAAC;MACP;IAAC;MAAApF,IAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAAuF,aAAA,EAAe;QAAA,IAAAC,mBAAA;QACb,IAAI,CAACC,QAAQ,GAAG,CAAC;QACjB,IAAMC,kBAAkB,GAAG9H,OAAO,EAAA4H,mBAAA,GAC/B,IAAI,CAACG,aAAa,cAAAH,mBAAA,uBAAnBA,mBAAA,CAAiDpE,cACnD,CAAC;QAED,IAAI,CAACA,cAAc,GAAGsE,kBAAkB;MAC1C;;MAEA;AACF;AACA;IAFE;MAAAhG,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAGA,SAAAY,wBAAA,EAAqC;QACnC,UAAAnC,MAAA,CAAUN,SAAS;MACrB;;MAEA;AACF;AACA;IAFE;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAGA,SAAA4C,yBAAA,EAAsC;QACpC,UAAAnE,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAA4F,eAAA,EAA4B;QAC1B,UAAAnH,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEe6F,0BAAM;MAAA;IAAA;EAAA;AAAA,GA9QK,IAAAC,iBAAU,EACrC,IAAAC,0BAAmB,EAAC,IAAAC,4BAAqB,EAACC,sBAAU,CAAC,CACvD,CAAC;AA+QD;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACe7H,cAAc"}
|
|
@@ -134,10 +134,6 @@ export interface ComponentProps {
|
|
|
134
134
|
* The English title of the selected nav item.
|
|
135
135
|
*/
|
|
136
136
|
selectedMenuItem?: string;
|
|
137
|
-
/**
|
|
138
|
-
* `true` to open the locale modal. This goes to footer.
|
|
139
|
-
*/
|
|
140
|
-
openLocaleModal?: boolean;
|
|
141
137
|
/**
|
|
142
138
|
* Footer size. This goes to footer.
|
|
143
139
|
*/
|
|
@@ -100,10 +100,6 @@ export var descriptor = {
|
|
|
100
100
|
selectedMenuItem: {
|
|
101
101
|
attribute: 'selected-menu-item',
|
|
102
102
|
},
|
|
103
|
-
openLocaleModal: {
|
|
104
|
-
serialize: booleanSerializer,
|
|
105
|
-
attribute: 'open-locale-modal',
|
|
106
|
-
},
|
|
107
103
|
footerSize: {
|
|
108
104
|
attribute: 'footer-size',
|
|
109
105
|
},
|
|
@@ -253,10 +249,6 @@ export var propTypes = {
|
|
|
253
249
|
* The English title of the selected nav item.
|
|
254
250
|
*/
|
|
255
251
|
selectedMenuItem: PropTypes.string,
|
|
256
|
-
/**
|
|
257
|
-
* `true` to open the locale modal. This goes to footer.
|
|
258
|
-
*/
|
|
259
|
-
openLocaleModal: PropTypes.bool,
|
|
260
252
|
/**
|
|
261
253
|
* Footer size. This goes to footer.
|
|
262
254
|
*/
|
|
@@ -21,22 +21,17 @@ export interface ComponentProps {
|
|
|
21
21
|
*/
|
|
22
22
|
_contents?: string;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Sets the heading text, to be composed with the current count.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
_heading?: string;
|
|
27
27
|
/**
|
|
28
28
|
* sets the selected values into an array
|
|
29
29
|
*/
|
|
30
30
|
_selectedValues?: string;
|
|
31
|
-
/**
|
|
32
|
-
* sets the filter button title
|
|
33
|
-
*/
|
|
34
|
-
_filterButtonTitle?: string;
|
|
35
31
|
/**
|
|
36
32
|
* stores which filter groups have revealed filters
|
|
37
33
|
*/
|
|
38
34
|
_filterGroupsAllRevealed?: string;
|
|
39
|
-
_isMobile?: string;
|
|
40
35
|
/**
|
|
41
36
|
* The event handler for the custom event captured upon selecting a checkbox
|
|
42
37
|
*/
|
|
@@ -21,11 +21,9 @@ export var descriptor = {
|
|
|
21
21
|
serialize: booleanSerializer,
|
|
22
22
|
},
|
|
23
23
|
_contents: {},
|
|
24
|
-
|
|
24
|
+
_heading: {},
|
|
25
25
|
_selectedValues: {},
|
|
26
|
-
_filterButtonTitle: {},
|
|
27
26
|
_filterGroupsAllRevealed: {},
|
|
28
|
-
_isMobile: {},
|
|
29
27
|
onCheckboxSelect: {
|
|
30
28
|
event: ''.concat(ddsPrefix, '-checkbox-select'),
|
|
31
29
|
},
|
|
@@ -62,22 +60,17 @@ export var propTypes = {
|
|
|
62
60
|
*/
|
|
63
61
|
_contents: PropTypes.string,
|
|
64
62
|
/**
|
|
65
|
-
*
|
|
63
|
+
* Sets the heading text, to be composed with the current count.
|
|
66
64
|
*/
|
|
67
|
-
|
|
65
|
+
_heading: PropTypes.string,
|
|
68
66
|
/**
|
|
69
67
|
* sets the selected values into an array
|
|
70
68
|
*/
|
|
71
69
|
_selectedValues: PropTypes.string,
|
|
72
|
-
/**
|
|
73
|
-
* sets the filter button title
|
|
74
|
-
*/
|
|
75
|
-
_filterButtonTitle: PropTypes.string,
|
|
76
70
|
/**
|
|
77
71
|
* stores which filter groups have revealed filters
|
|
78
72
|
*/
|
|
79
73
|
_filterGroupsAllRevealed: PropTypes.string,
|
|
80
|
-
_isMobile: PropTypes.string,
|
|
81
74
|
/**
|
|
82
75
|
* The name of the custom event captured upon selecting a checkbox
|
|
83
76
|
*/
|
|
@@ -20,6 +20,7 @@ export var descriptor = {
|
|
|
20
20
|
selected: {
|
|
21
21
|
serialize: booleanSerializer,
|
|
22
22
|
},
|
|
23
|
+
value: {},
|
|
23
24
|
};
|
|
24
25
|
export var propTypes = {
|
|
25
26
|
/**
|
|
@@ -30,6 +31,10 @@ export var propTypes = {
|
|
|
30
31
|
* sets the input select dropdown to unselected
|
|
31
32
|
*/
|
|
32
33
|
selected: PropTypes.bool,
|
|
34
|
+
/**
|
|
35
|
+
* Property for setting the value to a string.
|
|
36
|
+
*/
|
|
37
|
+
value: PropTypes.string,
|
|
33
38
|
};
|
|
34
39
|
const Component = createReactCustomElementType(
|
|
35
40
|
''.concat(ddsPrefix, '-filter-panel-input-select-item'),
|
|
@@ -29,6 +29,7 @@ export var descriptor = {
|
|
|
29
29
|
open: {
|
|
30
30
|
serialize: booleanSerializer,
|
|
31
31
|
},
|
|
32
|
+
chosenRegion: {},
|
|
32
33
|
};
|
|
33
34
|
export var propTypes = {
|
|
34
35
|
/**
|
|
@@ -51,6 +52,10 @@ export var propTypes = {
|
|
|
51
52
|
* `true` to open the modal.
|
|
52
53
|
*/
|
|
53
54
|
open: PropTypes.bool,
|
|
55
|
+
/**
|
|
56
|
+
* The region chosen by user.
|
|
57
|
+
*/
|
|
58
|
+
chosenRegion: PropTypes.string,
|
|
54
59
|
};
|
|
55
60
|
const Component = createReactCustomElementType(
|
|
56
61
|
''.concat(ddsPrefix, '-locale-modal-composite'),
|
package/es/globals/defs.js
CHANGED
|
@@ -19,7 +19,6 @@ var BASIC_COLOR_SCHEME;
|
|
|
19
19
|
/**
|
|
20
20
|
* Icon Placement.
|
|
21
21
|
*/
|
|
22
|
-
exports.BASIC_COLOR_SCHEME = BASIC_COLOR_SCHEME;
|
|
23
22
|
(function (BASIC_COLOR_SCHEME) {
|
|
24
23
|
BASIC_COLOR_SCHEME["REGULAR"] = "";
|
|
25
24
|
BASIC_COLOR_SCHEME["INVERSE"] = "inverse";
|
|
@@ -28,7 +27,6 @@ var ICON_PLACEMENT;
|
|
|
28
27
|
/**
|
|
29
28
|
* Constructor type. Used for defining mix-ins.
|
|
30
29
|
*/
|
|
31
|
-
exports.ICON_PLACEMENT = ICON_PLACEMENT;
|
|
32
30
|
(function (ICON_PLACEMENT) {
|
|
33
31
|
ICON_PLACEMENT["LEFT"] = "left";
|
|
34
32
|
ICON_PLACEMENT["RIGHT"] = "right";
|
package/es/globals/defs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","names":["BASIC_COLOR_SCHEME","exports","ICON_PLACEMENT"],"sources":["globals/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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\n/**\n * Basic color scheme for components.\n */\nexport enum BASIC_COLOR_SCHEME {\n /**\n * Regular color scheme.\n */\n REGULAR = '',\n\n /**\n * Inverse color scheme.\n */\n INVERSE = 'inverse',\n}\n\n/**\n * Icon Placement.\n */\nexport enum ICON_PLACEMENT {\n /**\n * left of footer copy\n */\n LEFT = 'left',\n\n /**\n * right of footer copy\n */\n RIGHT = 'right',\n}\n\n/**\n * Constructor type. Used for defining mix-ins.\n */\nexport type Constructor<T> = new (...args: any[]) => T;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,kBAAkB;AAY9B;AACA;AACA;
|
|
1
|
+
{"version":3,"file":"defs.js","names":["BASIC_COLOR_SCHEME","exports","ICON_PLACEMENT"],"sources":["globals/defs.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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\n/**\n * Basic color scheme for components.\n */\nexport enum BASIC_COLOR_SCHEME {\n /**\n * Regular color scheme.\n */\n REGULAR = '',\n\n /**\n * Inverse color scheme.\n */\n INVERSE = 'inverse',\n}\n\n/**\n * Icon Placement.\n */\nexport enum ICON_PLACEMENT {\n /**\n * left of footer copy\n */\n LEFT = 'left',\n\n /**\n * right of footer copy\n */\n RIGHT = 'right',\n}\n\n/**\n * Constructor type. Used for defining mix-ins.\n */\nexport type Constructor<T> = new (...args: any[]) => T;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,kBAAkB;AAY9B;AACA;AACA;AAFA,WAZYA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;AAAA,GAAlBA,kBAAkB,KAAAC,OAAA,CAAAD,kBAAA,GAAlBA,kBAAkB;AAAA,IAelBE,cAAc;AAY1B;AACA;AACA;AAFA,WAZYA,cAAc;EAAdA,cAAc;EAAdA,cAAc;AAAA,GAAdA,cAAc,KAAAD,OAAA,CAAAC,cAAA,GAAdA,cAAc"}
|
|
@@ -19,7 +19,7 @@ exports.indexOf = exports.forEach = exports.findIndex = exports.find = exports.f
|
|
|
19
19
|
* @param [thisObject] The context object for the given callback function.
|
|
20
20
|
* @returns A new array with all elements where `predicate` returns truthy.
|
|
21
21
|
*/
|
|
22
|
-
var filter = function filter(a, predicate, thisObject) {
|
|
22
|
+
var filter = exports.filter = function filter(a, predicate, thisObject) {
|
|
23
23
|
return Array.prototype.filter.call(a, predicate, thisObject);
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -29,8 +29,7 @@ var filter = function filter(a, predicate, thisObject) {
|
|
|
29
29
|
* @param [thisObject] The context object for the given callback function.
|
|
30
30
|
* @returns The index of the first item in the given collection where `predicate` returns `true`. `-1` if no such item is found.
|
|
31
31
|
*/
|
|
32
|
-
exports.
|
|
33
|
-
var findIndex = function findIndex(a, predicate, thisObject) {
|
|
32
|
+
var findIndex = exports.findIndex = function findIndex(a, predicate, thisObject) {
|
|
34
33
|
return Array.prototype.findIndex.call(a, predicate, thisObject);
|
|
35
34
|
};
|
|
36
35
|
|
|
@@ -40,8 +39,7 @@ var findIndex = function findIndex(a, predicate, thisObject) {
|
|
|
40
39
|
* @param [thisObject] The context object for the given callback function.
|
|
41
40
|
* @returns The first item in the given collection where `predicate` returns `true`. `null` if no such item is found.
|
|
42
41
|
*/
|
|
43
|
-
exports.
|
|
44
|
-
var find = function find(a, predicate, thisObject) {
|
|
42
|
+
var find = exports.find = function find(a, predicate, thisObject) {
|
|
45
43
|
return Array.prototype.find.call(a, predicate, thisObject);
|
|
46
44
|
};
|
|
47
45
|
|
|
@@ -52,8 +50,7 @@ var find = function find(a, predicate, thisObject) {
|
|
|
52
50
|
* @param predicate The callback function.
|
|
53
51
|
* @param [thisObject] The context object for the given callback function.
|
|
54
52
|
*/
|
|
55
|
-
exports.
|
|
56
|
-
var forEach = function forEach(a, predicate, thisObject) {
|
|
53
|
+
var forEach = exports.forEach = function forEach(a, predicate, thisObject) {
|
|
57
54
|
return Array.prototype.forEach.call(a, predicate, thisObject);
|
|
58
55
|
};
|
|
59
56
|
|
|
@@ -62,9 +59,7 @@ var forEach = function forEach(a, predicate, thisObject) {
|
|
|
62
59
|
* @param item An item in the DOM collection.
|
|
63
60
|
* @returns The index of the first occurence of the given item in the given collection. `-1` if no such item is found.
|
|
64
61
|
*/
|
|
65
|
-
exports.
|
|
66
|
-
var indexOf = function indexOf(a, item) {
|
|
62
|
+
var indexOf = exports.indexOf = function indexOf(a, item) {
|
|
67
63
|
return Array.prototype.indexOf.call(a, item);
|
|
68
64
|
};
|
|
69
|
-
exports.indexOf = indexOf;
|
|
70
65
|
//# sourceMappingURL=collection-helpers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-helpers.js","names":["filter","a","predicate","thisObject","Array","prototype","call","
|
|
1
|
+
{"version":3,"file":"collection-helpers.js","names":["filter","exports","a","predicate","thisObject","Array","prototype","call","findIndex","find","forEach","indexOf","item"],"sources":["globals/internal/collection-helpers.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\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\n/**\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n * @returns A new array with all elements where `predicate` returns truthy.\n */\nexport const filter = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Node, index?: number) => boolean,\n thisObject?: any\n) => Array.prototype.filter.call(a, predicate, thisObject);\n\n/**\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n * @returns The index of the first item in the given collection where `predicate` returns `true`. `-1` if no such item is found.\n */\nexport const findIndex = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Node, index?: number) => boolean,\n thisObject?: any\n) => Array.prototype.findIndex.call(a, predicate, thisObject);\n\n/**\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n * @returns The first item in the given collection where `predicate` returns `true`. `null` if no such item is found.\n */\nexport const find = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Node, index?: number) => boolean,\n thisObject?: any\n) => Array.prototype.find.call(a, predicate, thisObject);\n\n/**\n * Walks through the given DOM collection and runs the given callback.\n *\n * @param a A DOM collection.\n * @param predicate The callback function.\n * @param [thisObject] The context object for the given callback function.\n */\nexport const forEach = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n predicate: (search: Element, index?: number) => void,\n thisObject?: any\n) => Array.prototype.forEach.call(a, predicate, thisObject);\n\n/**\n * @param a A DOM collection.\n * @param item An item in the DOM collection.\n * @returns The index of the first occurence of the given item in the given collection. `-1` if no such item is found.\n */\nexport const indexOf = (\n a: NodeListOf<Node> | HTMLCollectionOf<Element>,\n item: Node\n) => Array.prototype.indexOf.call(a, item);\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG,SAATA,MAAMA,CACjBE,CAA+C,EAC/CC,SAAoD,EACpDC,UAAgB;EAAA,OACbC,KAAK,CAACC,SAAS,CAACN,MAAM,CAACO,IAAI,CAACL,CAAC,EAAEC,SAAS,EAAEC,UAAU,CAAC;AAAA;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACO,IAAMI,SAAS,GAAAP,OAAA,CAAAO,SAAA,GAAG,SAAZA,SAASA,CACpBN,CAA+C,EAC/CC,SAAoD,EACpDC,UAAgB;EAAA,OACbC,KAAK,CAACC,SAAS,CAACE,SAAS,CAACD,IAAI,CAACL,CAAC,EAAEC,SAAS,EAAEC,UAAU,CAAC;AAAA;;AAE7D;AACA;AACA;AACA;AACA;AACA;AACO,IAAMK,IAAI,GAAAR,OAAA,CAAAQ,IAAA,GAAG,SAAPA,IAAIA,CACfP,CAA+C,EAC/CC,SAAoD,EACpDC,UAAgB;EAAA,OACbC,KAAK,CAACC,SAAS,CAACG,IAAI,CAACF,IAAI,CAACL,CAAC,EAAEC,SAAS,EAAEC,UAAU,CAAC;AAAA;;AAExD;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMM,OAAO,GAAAT,OAAA,CAAAS,OAAA,GAAG,SAAVA,OAAOA,CAClBR,CAA+C,EAC/CC,SAAoD,EACpDC,UAAgB;EAAA,OACbC,KAAK,CAACC,SAAS,CAACI,OAAO,CAACH,IAAI,CAACL,CAAC,EAAEC,SAAS,EAAEC,UAAU,CAAC;AAAA;;AAE3D;AACA;AACA;AACA;AACA;AACO,IAAMO,OAAO,GAAAV,OAAA,CAAAU,OAAA,GAAG,SAAVA,OAAOA,CAClBT,CAA+C,EAC/CU,IAAU;EAAA,OACPP,KAAK,CAACC,SAAS,CAACK,OAAO,CAACJ,IAAI,CAACL,CAAC,EAAEU,IAAI,CAAC;AAAA"}
|
|
@@ -22,54 +22,47 @@ exports.DDS_SCOPED_SEARCH = exports.DDS_PRICING_TABLE = exports.DDS_FLAGS_ALL =
|
|
|
22
22
|
*
|
|
23
23
|
* @type {boolean}
|
|
24
24
|
*/
|
|
25
|
-
var DDS_FLAGS_ALL = process.env.DDS_FLAGS_ALL === 'true' || false;
|
|
25
|
+
var DDS_FLAGS_ALL = exports.DDS_FLAGS_ALL = process.env.DDS_FLAGS_ALL === 'true' || false;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Enables Content Block - Headline
|
|
29
29
|
*
|
|
30
30
|
* @type {boolean}
|
|
31
31
|
*/
|
|
32
|
-
exports.
|
|
33
|
-
var DDS_CONTENT_BLOCK_HEADLINES = process.env.DDS_CONTENT_BLOCK_HEADLINES === 'true' || DDS_FLAGS_ALL || false;
|
|
32
|
+
var DDS_CONTENT_BLOCK_HEADLINES = exports.DDS_CONTENT_BLOCK_HEADLINES = process.env.DDS_CONTENT_BLOCK_HEADLINES === 'true' || DDS_FLAGS_ALL || false;
|
|
34
33
|
|
|
35
34
|
/**
|
|
36
35
|
* Enables Content Block - Card static
|
|
37
36
|
*
|
|
38
37
|
* @type {boolean}
|
|
39
38
|
*/
|
|
40
|
-
exports.
|
|
41
|
-
var DDS_CONTENT_BLOCK_CARD_STATIC = process.env.DDS_CONTENT_BLOCK_CARD_STATIC === 'true' || DDS_FLAGS_ALL || false;
|
|
39
|
+
var DDS_CONTENT_BLOCK_CARD_STATIC = exports.DDS_CONTENT_BLOCK_CARD_STATIC = process.env.DDS_CONTENT_BLOCK_CARD_STATIC === 'true' || DDS_FLAGS_ALL || false;
|
|
42
40
|
|
|
43
41
|
/**
|
|
44
42
|
* Enables scoped search in the Masthead search
|
|
45
43
|
*
|
|
46
44
|
* @type {boolean}
|
|
47
45
|
*/
|
|
48
|
-
exports.
|
|
49
|
-
var DDS_SCOPED_SEARCH = process.env.DDS_SCOPED_SEARCH === 'true' || DDS_FLAGS_ALL || false;
|
|
46
|
+
var DDS_SCOPED_SEARCH = exports.DDS_SCOPED_SEARCH = process.env.DDS_SCOPED_SEARCH === 'true' || DDS_FLAGS_ALL || false;
|
|
50
47
|
|
|
51
48
|
/**
|
|
52
49
|
* Enables Cloud Masthead Components
|
|
53
50
|
*
|
|
54
51
|
* @type {boolean}
|
|
55
52
|
*/
|
|
56
|
-
exports.
|
|
57
|
-
var DDS_CLOUD_MASTHEAD = process.env.DDS_CLOUD_MASTHEAD === 'true' || DDS_FLAGS_ALL || false;
|
|
53
|
+
var DDS_CLOUD_MASTHEAD = exports.DDS_CLOUD_MASTHEAD = process.env.DDS_CLOUD_MASTHEAD === 'true' || DDS_FLAGS_ALL || false;
|
|
58
54
|
|
|
59
55
|
/**
|
|
60
56
|
* Enables custom profile login url in Masthead
|
|
61
57
|
*
|
|
62
58
|
* @type {boolean}
|
|
63
59
|
*/
|
|
64
|
-
exports.
|
|
65
|
-
var DDS_CUSTOM_PROFILE_LOGIN = process.env.DDS_CUSTOM_PROFILE_LOGIN === 'true' || DDS_FLAGS_ALL || false;
|
|
60
|
+
var DDS_CUSTOM_PROFILE_LOGIN = exports.DDS_CUSTOM_PROFILE_LOGIN = process.env.DDS_CUSTOM_PROFILE_LOGIN === 'true' || DDS_FLAGS_ALL || false;
|
|
66
61
|
|
|
67
62
|
/**
|
|
68
63
|
* Enables Pricing Table
|
|
69
64
|
*
|
|
70
65
|
* @type {boolean}
|
|
71
66
|
*/
|
|
72
|
-
exports.
|
|
73
|
-
var DDS_PRICING_TABLE = process.env.DDS_PRICING_TABLE === 'true' || DDS_FLAGS_ALL || false;
|
|
74
|
-
exports.DDS_PRICING_TABLE = DDS_PRICING_TABLE;
|
|
67
|
+
var DDS_PRICING_TABLE = exports.DDS_PRICING_TABLE = process.env.DDS_PRICING_TABLE === 'true' || DDS_FLAGS_ALL || false;
|
|
75
68
|
//# sourceMappingURL=feature-flags.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags.js","names":["DDS_FLAGS_ALL","
|
|
1
|
+
{"version":3,"file":"feature-flags.js","names":["DDS_FLAGS_ALL","exports","process","env","DDS_CONTENT_BLOCK_HEADLINES","DDS_CONTENT_BLOCK_CARD_STATIC","DDS_SCOPED_SEARCH","DDS_CLOUD_MASTHEAD","DDS_CUSTOM_PROFILE_LOGIN","DDS_PRICING_TABLE"],"sources":["globals/internal/feature-flags.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\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\n/**\n * This file contains the list of the default values of compile-time feature flags.\n */\n\n/**\n * This flag will determine if all feature flags should be enabled\n *\n * @type {boolean}\n */\nexport const DDS_FLAGS_ALL: boolean =\n process!.env.DDS_FLAGS_ALL === 'true' || false;\n\n/**\n * Enables Content Block - Headline\n *\n * @type {boolean}\n */\nexport const DDS_CONTENT_BLOCK_HEADLINES: boolean =\n process!.env.DDS_CONTENT_BLOCK_HEADLINES === 'true' || DDS_FLAGS_ALL || false;\n\n/**\n * Enables Content Block - Card static\n *\n * @type {boolean}\n */\nexport const DDS_CONTENT_BLOCK_CARD_STATIC: boolean =\n process!.env.DDS_CONTENT_BLOCK_CARD_STATIC === 'true' ||\n DDS_FLAGS_ALL ||\n false;\n\n/**\n * Enables scoped search in the Masthead search\n *\n * @type {boolean}\n */\nexport const DDS_SCOPED_SEARCH: boolean =\n process!.env.DDS_SCOPED_SEARCH === 'true' || DDS_FLAGS_ALL || false;\n\n/**\n * Enables Cloud Masthead Components\n *\n * @type {boolean}\n */\nexport const DDS_CLOUD_MASTHEAD: boolean =\n process!.env.DDS_CLOUD_MASTHEAD === 'true' || DDS_FLAGS_ALL || false;\n\n/**\n * Enables custom profile login url in Masthead\n *\n * @type {boolean}\n */\nexport const DDS_CUSTOM_PROFILE_LOGIN: boolean =\n process!.env.DDS_CUSTOM_PROFILE_LOGIN === 'true' || DDS_FLAGS_ALL || false;\n\n/**\n * Enables Pricing Table\n *\n * @type {boolean}\n */\nexport const DDS_PRICING_TABLE: boolean =\n process!.env.DDS_PRICING_TABLE === 'true' || DDS_FLAGS_ALL || false;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACO,IAAMA,aAAsB,GAAAC,OAAA,CAAAD,aAAA,GACjCE,OAAO,CAAEC,GAAG,CAACH,aAAa,KAAK,MAAM,IAAI,KAAK;;AAEhD;AACA;AACA;AACA;AACA;AACO,IAAMI,2BAAoC,GAAAH,OAAA,CAAAG,2BAAA,GAC/CF,OAAO,CAAEC,GAAG,CAACC,2BAA2B,KAAK,MAAM,IAAIJ,aAAa,IAAI,KAAK;;AAE/E;AACA;AACA;AACA;AACA;AACO,IAAMK,6BAAsC,GAAAJ,OAAA,CAAAI,6BAAA,GACjDH,OAAO,CAAEC,GAAG,CAACE,6BAA6B,KAAK,MAAM,IACrDL,aAAa,IACb,KAAK;;AAEP;AACA;AACA;AACA;AACA;AACO,IAAMM,iBAA0B,GAAAL,OAAA,CAAAK,iBAAA,GACrCJ,OAAO,CAAEC,GAAG,CAACG,iBAAiB,KAAK,MAAM,IAAIN,aAAa,IAAI,KAAK;;AAErE;AACA;AACA;AACA;AACA;AACO,IAAMO,kBAA2B,GAAAN,OAAA,CAAAM,kBAAA,GACtCL,OAAO,CAAEC,GAAG,CAACI,kBAAkB,KAAK,MAAM,IAAIP,aAAa,IAAI,KAAK;;AAEtE;AACA;AACA;AACA;AACA;AACO,IAAMQ,wBAAiC,GAAAP,OAAA,CAAAO,wBAAA,GAC5CN,OAAO,CAAEC,GAAG,CAACK,wBAAwB,KAAK,MAAM,IAAIR,aAAa,IAAI,KAAK;;AAE5E;AACA;AACA;AACA;AACA;AACO,IAAMS,iBAA0B,GAAAR,OAAA,CAAAQ,iBAAA,GACrCP,OAAO,CAAEC,GAAG,CAACM,iBAAiB,KAAK,MAAM,IAAIT,aAAa,IAAI,KAAK"}
|
|
@@ -57,7 +57,7 @@ function _renderStyle(components, tag) {
|
|
|
57
57
|
*
|
|
58
58
|
* @param {Array} components array of components to render
|
|
59
59
|
*/
|
|
60
|
-
var cdnJs = function cdnJs(_ref) {
|
|
60
|
+
var cdnJs = exports.cdnJs = function cdnJs(_ref) {
|
|
61
61
|
var components = _ref.components;
|
|
62
62
|
return "\n### JS (via CDN)\n\n```html\n// SPECIFIC VERSION (available starting v1.6.0)\n".concat(_renderScript(components, "version/v".concat(_package["default"].version)), "\n\n// LATEST tag\n").concat(_renderScript(components, 'tag/v1/latest'), "\n\n// NEXT tag\n").concat(_renderScript(components, 'tag/v1/next'), "\n```\n\n> NOTE: The `latest`/`next` tags are moving versions.\n>\n> The `latest` tag is only updated every Friday at 6pm EST after a release. When `latest`/`next` tags are updated, Akamai caches can take up to 24 hours to clear, which could result in instability during that time. It is highly recommended to instead use a specific version and to properly test your application when upgrading to a newer version.\n>\n> Please ensure only one version of artifacts is used at a time, having multiple versions will cause rendering issues.\n\n#### Right-to-left (RTL) versions\n\n```html\n// SPECIFIC VERSION (available starting v1.6.0)\n").concat(_renderScript(components, "version/v".concat(_package["default"].version), true), "\n\n// LATEST tag\n").concat(_renderScript(components, 'tag/v1/latest', true), "\n\n// NEXT tag\n").concat(_renderScript(components, 'tag/v1/next', true), "\n```\n ");
|
|
63
63
|
};
|
|
@@ -67,8 +67,7 @@ var cdnJs = function cdnJs(_ref) {
|
|
|
67
67
|
*
|
|
68
68
|
* @param {Array} components array of components to render
|
|
69
69
|
*/
|
|
70
|
-
exports.
|
|
71
|
-
var cdnCssAdditional = function cdnCssAdditional(_ref2) {
|
|
70
|
+
var cdnCssAdditional = exports.cdnCssAdditional = function cdnCssAdditional(_ref2) {
|
|
72
71
|
var components = _ref2.components;
|
|
73
72
|
return "\n### CSS (via CDN)\n\nThis component includes additional styles that are used on the page level in\norder for the component to behave properly. If not including the SCSS version\nin your application's style bundle, this can be included via CDN:\n\n```html\n// SPECIFIC VERSION (available starting v1.6.0)\n".concat(_renderStyle(components, "version/v".concat(_package["default"].version)), "\n\n// LATEST tag\n").concat(_renderStyle(components, 'tag/v1/latest'), "\n\n// NEXT tag\n").concat(_renderStyle(components, 'tag/v1/next'), "\n```\n ");
|
|
74
73
|
};
|
|
@@ -76,9 +75,7 @@ var cdnCssAdditional = function cdnCssAdditional(_ref2) {
|
|
|
76
75
|
/**
|
|
77
76
|
* This is the markdown block for CSS via CDN
|
|
78
77
|
*/
|
|
79
|
-
exports.
|
|
80
|
-
var cdnCss = function cdnCss() {
|
|
78
|
+
var cdnCss = exports.cdnCss = function cdnCss() {
|
|
81
79
|
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 ";
|
|
82
80
|
};
|
|
83
|
-
exports.cdnCss = cdnCss;
|
|
84
81
|
//# sourceMappingURL=storybook-cdn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storybook-cdn.js","names":["_package","_interopRequireDefault","require","_renderScript","components","tag","isRTL","arguments","length","undefined","scripts","rtl","rtlFolder","forEach","component","concat","_renderStyle","styles","cdnJs","_ref","packageJson","version","
|
|
1
|
+
{"version":3,"file":"storybook-cdn.js","names":["_package","_interopRequireDefault","require","_renderScript","components","tag","isRTL","arguments","length","undefined","scripts","rtl","rtlFolder","forEach","component","concat","_renderStyle","styles","cdnJs","exports","_ref","packageJson","version","cdnCssAdditional","_ref2","cdnCss"],"sources":["globals/internal/storybook-cdn.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022\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/* eslint-disable max-len */\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 * @param {boolean} isRTL flag to show rtl version\n */\nfunction _renderScript(components, tag, isRTL = false) {\n let scripts = '';\n const rtl = isRTL ? '.rtl' : '';\n const rtlFolder = isRTL ? 'rtl/' : '';\n components.forEach((component) => {\n scripts += `<script type=\"module\" src=\"https://1.www.s81c.com/common/carbon-for-ibm-dotcom/${tag}/${rtlFolder}${component}${rtl}.min.js\"></script>\\n`;\n });\n return scripts;\n}\n\n/**\n * Renders the component(s) style tag content and returns back the string\n *\n * @param {Array} components array of component names\n * @param {string} tag tag folder\n */\nfunction _renderStyle(components, tag) {\n let styles = '';\n components.forEach((component) => {\n styles += `<link rel=\"stylesheet\" href=\"https://1.www.s81c.com/common/carbon-for-ibm-dotcom/${tag}/${component}.css\" />\\n`;\n });\n return styles;\n}\n\n/**\n * This is the markdown block for JS via CDN\n *\n * @param {Array} components array of components to render\n */\nexport const cdnJs = ({ components }) => {\n return `\n### JS (via CDN)\n\n\\`\\`\\`html\n// SPECIFIC VERSION (available starting v1.6.0)\n${_renderScript(components, `version/v${packageJson.version}`)}\n\n// LATEST tag\n${_renderScript(components, 'tag/v1/latest')}\n\n// NEXT tag\n${_renderScript(components, 'tag/v1/next')}\n\\`\\`\\`\n\n> NOTE: The \\`latest\\`/\\`next\\` tags are moving versions.\n>\n> The \\`latest\\` tag is only updated every Friday at 6pm EST after a release. When \\`latest\\`/\\`next\\` tags are updated, Akamai caches can take up to 24 hours to clear, which could result in instability during that time. It is highly recommended to instead use a specific version and to properly test your application when upgrading to a newer version.\n>\n> Please ensure only one version of artifacts is used at a time, having multiple versions will cause rendering issues.\n\n#### Right-to-left (RTL) versions\n\n\\`\\`\\`html\n// SPECIFIC VERSION (available starting v1.6.0)\n${_renderScript(components, `version/v${packageJson.version}`, true)}\n\n// LATEST tag\n${_renderScript(components, 'tag/v1/latest', true)}\n\n// NEXT tag\n${_renderScript(components, 'tag/v1/next', true)}\n\\`\\`\\`\n `;\n};\n\n/**\n * This is the markdown block for Additional CSS via CDN\n *\n * @param {Array} components array of components to render\n */\nexport const cdnCssAdditional = ({ components }) => {\n return `\n### CSS (via CDN)\n\nThis component includes additional styles that are used on the page level in\norder for the component to behave properly. If not including the SCSS version\nin your application's style bundle, this can be included via CDN:\n\n\\`\\`\\`html\n// SPECIFIC VERSION (available starting v1.6.0)\n${_renderStyle(components, `version/v${packageJson.version}`)}\n\n// LATEST tag\n${_renderStyle(components, 'tag/v1/latest')}\n\n// NEXT tag\n${_renderStyle(components, 'tag/v1/next')}\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"],"mappings":";;;;;;;AASA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AATA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,aAAaA,CAACC,UAAU,EAAEC,GAAG,EAAiB;EAAA,IAAfC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EACnD,IAAIG,OAAO,GAAG,EAAE;EAChB,IAAMC,GAAG,GAAGL,KAAK,GAAG,MAAM,GAAG,EAAE;EAC/B,IAAMM,SAAS,GAAGN,KAAK,GAAG,MAAM,GAAG,EAAE;EACrCF,UAAU,CAACS,OAAO,CAAC,UAACC,SAAS,EAAK;IAChCJ,OAAO,yFAAAK,MAAA,CAAsFV,GAAG,OAAAU,MAAA,CAAIH,SAAS,EAAAG,MAAA,CAAGD,SAAS,EAAAC,MAAA,CAAGJ,GAAG,0BAAsB;EACvJ,CAAC,CAAC;EACF,OAAOD,OAAO;AAChB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAASM,YAAYA,CAACZ,UAAU,EAAEC,GAAG,EAAE;EACrC,IAAIY,MAAM,GAAG,EAAE;EACfb,UAAU,CAACS,OAAO,CAAC,UAACC,SAAS,EAAK;IAChCG,MAAM,2FAAAF,MAAA,CAAwFV,GAAG,OAAAU,MAAA,CAAID,SAAS,gBAAY;EAC5H,CAAC,CAAC;EACF,OAAOG,MAAM;AACf;;AAEA;AACA;AACA;AACA;AACA;AACO,IAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAG,SAARA,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exports["default"] = _default;
|
|
102
|
+
var _default = exports["default"] = ConnectMixin;
|
|
104
103
|
//# sourceMappingURL=connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","names":["ConnectMixin","store","mapStateToProps","mapDispatchToProps","arguments","length","undefined","Base","ConnectMixinImpl","_Base","_inherits2","_super","_createSuper","_this","_classCallCheck2","_len","args","Array","_key","call","apply","concat","_defineProperty2","_assertThisInitialized2","Object","assign","dispatch","_createClass2","key","value","_handleChangeStoreState","state","_this2","props","keys","forEach","name","old","current","is","requestUpdate","connectedCallback","_this3","_get2","_getPrototypeOf2","prototype","getState","unsubscribe","subscribe","_hStore","release","disconnectedCallback","_default","exports"],"sources":["globals/mixins/connect.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\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 { Dispatch, Store, AnyAction } from 'redux';\nimport { Constructor } from '../defs';\nimport Handle from '../internal/handle';\n\n/**\n * @param store A redux store.\n * @returns A funciton that takes a base class and returns a mix-in that connects the component to Redux store.\n */\nconst ConnectMixin =\n <\n TState,\n TAction extends AnyAction = AnyAction,\n TStateProps = { [name: string]: any },\n TDispatchProps = { [name: string]: any }\n >(\n store: Store<TState, TAction>,\n mapStateToProps: (state: TState) => TStateProps,\n mapDispatchToProps: (dispatch: Dispatch<TAction>) => TDispatchProps = () =>\n ({} as TDispatchProps)\n ) =>\n <T extends Constructor<HTMLElement>>(Base: T) => {\n class ConnectMixinImpl extends Base {\n /**\n * The handle for subscribing the Redux store.\n */\n _hStore: Handle | null = null;\n\n _handleChangeStoreState(state: TState) {\n const props = mapStateToProps(state);\n Object.keys(props as any).forEach((name) => {\n const old = this[name];\n const current = props[name];\n if (!Object.is(old, current)) {\n this[name] = current;\n // TODO: Figure out how to make this mix-in type-defined as `LitElement` inheritance\n (this as any).requestUpdate(name, old);\n }\n });\n }\n\n constructor(...args) {\n super(...args);\n Object.assign(this, mapDispatchToProps(store.dispatch));\n }\n\n connectedCallback() {\n // TS seems to miss `HTMLElement.prototype.connectedCallback()` definition\n // @ts-ignore\n super.connectedCallback();\n this._handleChangeStoreState(store.getState());\n const unsubscribe = store.subscribe(() =>\n this._handleChangeStoreState(store.getState())\n );\n this._hStore = {\n release() {\n unsubscribe();\n return null;\n },\n };\n }\n\n disconnectedCallback() {\n if (this._hStore) {\n this._hStore = this._hStore.release();\n }\n // TS seems to miss `HTMLElement.prototype.connectedCallback()` definition\n // @ts-ignore\n super.disconnectedCallback();\n }\n }\n return ConnectMixinImpl;\n };\n\nexport default ConnectMixin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA,IAAMA,YAAY,GAChB,SADIA,YAAYA,CAOdC,KAA6B,EAC7BC,eAA+C;EAAA,IAC/CC,kBAAmE,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG;IAAA,OACnE,CAAC,CAAC;EAAA,CAAmB;EAAA,OAE1B,UAAqCG,IAAO,EAAK;IAAA,IACzCC,gBAAgB,0BAAAC,KAAA;MAAA,IAAAC,UAAA,aAAAF,gBAAA,EAAAC,KAAA;MAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,gBAAA;MAmBpB,SAAAA,iBAAA,EAAqB;QAAA,IAAAK,KAAA;QAAA,IAAAC,gBAAA,mBAAAN,gBAAA;QAAA,SAAAO,IAAA,GAAAX,SAAA,CAAAC,MAAA,EAANW,IAAI,OAAAC,KAAA,CAAAF,IAAA,GAAAG,IAAA,MAAAA,IAAA,GAAAH,IAAA,EAAAG,IAAA;UAAJF,IAAI,CAAAE,IAAA,IAAAd,SAAA,CAAAc,IAAA;QAAA;QACjBL,KAAA,GAAAF,MAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,MAAA,SAAAU,MAAA,CAASL,I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,QAAA,EAAG;cACRH,WAAW,CAAC,CAAC;cACb,OAAO,IAAI;YACb;UACF,CAAC;QACH;MAAC;QAAAnB,GAAA;QAAAC,KAAA,EAED,SAAAsB,qBAAA,EAAuB;UACrB,IAAI,IAAI,CAACF,OAAO,EAAE;YAChB,IAAI,CAACA,OAAO,GAAG,IAAI,CAACA,OAAO,CAACC,OAAO,CAAC,CAAC;UACvC;UACA;UACA;UACA,IAAAP,KAAA,iBAAAC,gBAAA,aAAApC,gBAAA,CAAAqC,SAAA,iCAAA1B,IAAA;QACF;MAAC;MAAA,OAAAX,gBAAA;IAAA,EA/C4BD,IAAI;IAiDnC,OAAOC,gBAAgB;EACzB,CAAC;AAAA;AAAC,IAAA4C,QAAA,
|
|
1
|
+
{"version":3,"file":"connect.js","names":["ConnectMixin","store","mapStateToProps","mapDispatchToProps","arguments","length","undefined","Base","ConnectMixinImpl","_Base","_inherits2","_super","_createSuper","_this","_classCallCheck2","_len","args","Array","_key","call","apply","concat","_defineProperty2","_assertThisInitialized2","Object","assign","dispatch","_createClass2","key","value","_handleChangeStoreState","state","_this2","props","keys","forEach","name","old","current","is","requestUpdate","connectedCallback","_this3","_get2","_getPrototypeOf2","prototype","getState","unsubscribe","subscribe","_hStore","release","disconnectedCallback","_default","exports"],"sources":["globals/mixins/connect.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\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 { Dispatch, Store, AnyAction } from 'redux';\nimport { Constructor } from '../defs';\nimport Handle from '../internal/handle';\n\n/**\n * @param store A redux store.\n * @returns A funciton that takes a base class and returns a mix-in that connects the component to Redux store.\n */\nconst ConnectMixin =\n <\n TState,\n TAction extends AnyAction = AnyAction,\n TStateProps = { [name: string]: any },\n TDispatchProps = { [name: string]: any }\n >(\n store: Store<TState, TAction>,\n mapStateToProps: (state: TState) => TStateProps,\n mapDispatchToProps: (dispatch: Dispatch<TAction>) => TDispatchProps = () =>\n ({} as TDispatchProps)\n ) =>\n <T extends Constructor<HTMLElement>>(Base: T) => {\n class ConnectMixinImpl extends Base {\n /**\n * The handle for subscribing the Redux store.\n */\n _hStore: Handle | null = null;\n\n _handleChangeStoreState(state: TState) {\n const props = mapStateToProps(state);\n Object.keys(props as any).forEach((name) => {\n const old = this[name];\n const current = props[name];\n if (!Object.is(old, current)) {\n this[name] = current;\n // TODO: Figure out how to make this mix-in type-defined as `LitElement` inheritance\n (this as any).requestUpdate(name, old);\n }\n });\n }\n\n constructor(...args) {\n super(...args);\n Object.assign(this, mapDispatchToProps(store.dispatch));\n }\n\n connectedCallback() {\n // TS seems to miss `HTMLElement.prototype.connectedCallback()` definition\n // @ts-ignore\n super.connectedCallback();\n this._handleChangeStoreState(store.getState());\n const unsubscribe = store.subscribe(() =>\n this._handleChangeStoreState(store.getState())\n );\n this._hStore = {\n release() {\n unsubscribe();\n return null;\n },\n };\n }\n\n disconnectedCallback() {\n if (this._hStore) {\n this._hStore = this._hStore.release();\n }\n // TS seems to miss `HTMLElement.prototype.connectedCallback()` definition\n // @ts-ignore\n super.disconnectedCallback();\n }\n }\n return ConnectMixinImpl;\n };\n\nexport default ConnectMixin;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA,IAAMA,YAAY,GAChB,SADIA,YAAYA,CAOdC,KAA6B,EAC7BC,eAA+C;EAAA,IAC/CC,kBAAmE,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG;IAAA,OACnE,CAAC,CAAC;EAAA,CAAmB;EAAA,OAE1B,UAAqCG,IAAO,EAAK;IAAA,IACzCC,gBAAgB,0BAAAC,KAAA;MAAA,IAAAC,UAAA,aAAAF,gBAAA,EAAAC,KAAA;MAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,gBAAA;MAmBpB,SAAAA,iBA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IAAAC,KAAA,iBAAAC,gBAAA,aAAApC,gBAAA,CAAAqC,SAAA,8BAAA1B,IAAA;UACA,IAAI,CAACW,uBAAuB,CAAC7B,KAAK,CAAC6C,QAAQ,CAAC,CAAC,CAAC;UAC9C,IAAMC,WAAW,GAAG9C,KAAK,CAAC+C,SAAS,CAAC;YAAA,OAClCN,MAAI,CAACZ,uBAAuB,CAAC7B,KAAK,CAAC6C,QAAQ,CAAC,CAAC,CAAC;UAAA,CAChD,CAAC;UACD,IAAI,CAACG,OAAO,GAAG;YACbC,OAAO,WAAAA,QAAA,EAAG;cACRH,WAAW,CAAC,CAAC;cACb,OAAO,IAAI;YACb;UACF,CAAC;QACH;MAAC;QAAAnB,GAAA;QAAAC,KAAA,EAED,SAAAsB,qBAAA,EAAuB;UACrB,IAAI,IAAI,CAACF,OAAO,EAAE;YAChB,IAAI,CAACA,OAAO,GAAG,IAAI,CAACA,OAAO,CAACC,OAAO,CAAC,CAAC;UACvC;UACA;UACA;UACA,IAAAP,KAAA,iBAAAC,gBAAA,aAAApC,gBAAA,CAAAqC,SAAA,iCAAA1B,IAAA;QACF;MAAC;MAAA,OAAAX,gBAAA;IAAA,EA/C4BD,IAAI;IAiDnC,OAAOC,gBAAgB;EACzB,CAAC;AAAA;AAAC,IAAA4C,QAAA,GAAAC,OAAA,cAEWrD,YAAY"}
|
|
@@ -74,6 +74,5 @@ var HybridRenderMixin = function HybridRenderMixin(Base) {
|
|
|
74
74
|
}(Base);
|
|
75
75
|
return HybridRenderMixinImpl;
|
|
76
76
|
};
|
|
77
|
-
var _default = HybridRenderMixin;
|
|
78
|
-
exports["default"] = _default;
|
|
77
|
+
var _default = exports["default"] = HybridRenderMixin;
|
|
79
78
|
//# sourceMappingURL=hybrid-render.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hybrid-render.js","names":["_litHtml","require","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","HybridRenderMixin","Base","HybridRenderMixinImpl","_Base","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","concat","_defineProperty2","_assertThisInitialized2","_createClass2","key","value","createLightRenderRoot","update","changedProperties","_get2","lightRenderRoot","render","renderLightDOM","eventContext","_default","exports"],"sources":["globals/mixins/hybrid-render.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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 { render, TemplateResult } from 'lit-html';\nimport { Constructor } from '../defs';\n\n/**\n * @param Base The base class.\n * @returns A mix-in that allows rendering both Shadow DOM and light DOM.\n */\nconst HybridRenderMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class HybridRenderMixinImpl extends Base {\n /**\n * @returns The template to be render into the light DOM.\n */\n abstract renderLightDOM(): TemplateResult | void;\n\n /**\n * The render target in the light DOM.\n */\n lightRenderRoot: Element | null | void = null;\n\n /**\n * @returns The render root of the light DOM.\n */\n createLightRenderRoot(): Element | null | void {\n return this;\n }\n\n update(changedProperties) {\n // TODO: Figure out how to inherit `LitElement` for this mix-in class\n // @ts-ignore\n super.update(changedProperties);\n if (!this.lightRenderRoot) {\n this.lightRenderRoot = this.createLightRenderRoot();\n }\n const { lightRenderRoot } = this;\n if (lightRenderRoot) {\n render(this.renderLightDOM(), lightRenderRoot, { eventContext: this });\n }\n }\n }\n return HybridRenderMixinImpl;\n};\n\nexport default HybridRenderMixin;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,QAAA,GAAAC,OAAA;AAAkD,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,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C,sBAAA,EAA+C;QAC7C,OAAO,IAAI;MACb;IAAC;MAAAF,GAAA;MAAAC,KAAA,EAED,SAAAE,OAAOC,iBAAiB,EAAE;QACxB;QACA;QACA,IAAAC,KAAA,iBAAAtC,gBAAA,aAAAkB,qBAAA,CAAAN,SAAA,mBAAAE,IAAA,OAAauB,iBAAiB;QAC9B,IAAI,CAAC,IAAI,CAACE,eAAe,EAAE;UACzB,IAAI,CAACA,eAAe,GAAG,IAAI,CAACJ,qBAAqB,CAAC,CAAC;QACrD;QACA,IAAQI,eAAe,GAAK,IAAI,CAAxBA,eAAe;QACvB,IAAIA,eAAe,EAAE;UACnB,IAAAC,eAAM,EAAC,IAAI,CAACC,cAAc,CAAC,CAAC,EAAEF,eAAe,EAAE;YAAEG,YAAY,EAAE;UAAK,CAAC,CAAC;QACxE;MACF;IAAC;IAAA,OAAAxB,qBAAA;EAAA,EA7B0CD,IAAI;EA+BjD,OAAOC,qBAAqB;AAC9B,CAAC;AAAC,IAAAyB,QAAA,
|
|
1
|
+
{"version":3,"file":"hybrid-render.js","names":["_litHtml","require","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","HybridRenderMixin","Base","HybridRenderMixinImpl","_Base","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","concat","_defineProperty2","_assertThisInitialized2","_createClass2","key","value","createLightRenderRoot","update","changedProperties","_get2","lightRenderRoot","render","renderLightDOM","eventContext","_default","exports"],"sources":["globals/mixins/hybrid-render.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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 { render, TemplateResult } from 'lit-html';\nimport { Constructor } from '../defs';\n\n/**\n * @param Base The base class.\n * @returns A mix-in that allows rendering both Shadow DOM and light DOM.\n */\nconst HybridRenderMixin = <T extends Constructor<HTMLElement>>(Base: T) => {\n abstract class HybridRenderMixinImpl extends Base {\n /**\n * @returns The template to be render into the light DOM.\n */\n abstract renderLightDOM(): TemplateResult | void;\n\n /**\n * The render target in the light DOM.\n */\n lightRenderRoot: Element | null | void = null;\n\n /**\n * @returns The render root of the light DOM.\n */\n createLightRenderRoot(): Element | null | void {\n return this;\n }\n\n update(changedProperties) {\n // TODO: Figure out how to inherit `LitElement` for this mix-in class\n // @ts-ignore\n super.update(changedProperties);\n if (!this.lightRenderRoot) {\n this.lightRenderRoot = this.createLightRenderRoot();\n }\n const { lightRenderRoot } = this;\n if (lightRenderRoot) {\n render(this.renderLightDOM(), lightRenderRoot, { eventContext: this });\n }\n }\n }\n return HybridRenderMixinImpl;\n};\n\nexport default HybridRenderMixin;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,QAAA,GAAAC,OAAA;AAAkD,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AAAA,SAAAJ,0BAAA,eAAAO,OAAA,qBAAAA,OAAA,CAAAC,SAAA,oBAAAD,OAAA,CAAAC,SAAA,CAAAI,IAAA,2BAAAC,KAAA,oCAAAC,OAAA,CAAAC,SAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAV,OAAA,CAAAC,SAAA,CAAAM,OAAA,8CAAAI,CAAA,sBATlD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA,IAAMC,iBAAi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AE;UAAK,CAAC,CAAC;QACxE;MACF;IAAC;IAAA,OAAAxB,qBAAA;EAAA,EA7B0CD,IAAI;EA+BjD,OAAOC,qBAAqB;AAC9B,CAAC;AAAC,IAAAyB,QAAA,GAAAC,OAAA,cAEa5B,iBAAiB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* Copyright IBM Corp. 2020,
|
|
4
|
+
* Copyright IBM Corp. 2020, 2023
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -33,6 +33,11 @@ declare const ModalRenderMixin: <T extends Constructor<HTMLElement>>(Base: T) =>
|
|
|
33
33
|
* The render target of the modal.
|
|
34
34
|
*/
|
|
35
35
|
modalRenderRoot: Element | null | void;
|
|
36
|
+
/**
|
|
37
|
+
* Defines properties which should trigger modal renders. If none are specified,
|
|
38
|
+
* modal renders on any property update.
|
|
39
|
+
*/
|
|
40
|
+
modalTriggerProps: string[];
|
|
36
41
|
/**
|
|
37
42
|
* The DOM element to put the modal into.
|
|
38
43
|
*/
|