@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
|
@@ -38,7 +38,6 @@ var ddsPrefix = _settings["default"].stablePrefix;
|
|
|
38
38
|
* The API for language selection is still subject to change.
|
|
39
39
|
*
|
|
40
40
|
* @element dds-language-selector-desktop
|
|
41
|
-
* @internal
|
|
42
41
|
*/
|
|
43
42
|
var DDSLanguageSelectorDesktop = (0, _decorate2["default"])([(0, _carbonElement.carbonElement)("".concat(ddsPrefix, "-language-selector-desktop"))], function (_initialize, _HostListenerMixin) {
|
|
44
43
|
var DDSLanguageSelectorDesktop = /*#__PURE__*/function (_HostListenerMixin2) {
|
|
@@ -192,9 +191,8 @@ var DDSLanguageSelectorDesktop = (0, _decorate2["default"])([(0, _carbonElement.
|
|
|
192
191
|
/**
|
|
193
192
|
* The shadow slot this language-selector should be in.
|
|
194
193
|
*/
|
|
195
|
-
// @ts-ignore
|
|
196
194
|
function updated(changedProperties) {
|
|
197
|
-
(0, _get2["default"])((0, _getPrototypeOf2["default"])(DDSLanguageSelectorDesktop.prototype), "updated", this).call(this);
|
|
195
|
+
(0, _get2["default"])((0, _getPrototypeOf2["default"])(DDSLanguageSelectorDesktop.prototype), "updated", this).call(this, changedProperties);
|
|
198
196
|
if (changedProperties.has('value')) {
|
|
199
197
|
this._lastValidLang = this.value;
|
|
200
198
|
}
|
|
@@ -209,6 +207,5 @@ var DDSLanguageSelectorDesktop = (0, _decorate2["default"])([(0, _carbonElement.
|
|
|
209
207
|
}]
|
|
210
208
|
};
|
|
211
209
|
}, (0, _hostListener2["default"])(_comboBox["default"]));
|
|
212
|
-
var _default = DDSLanguageSelectorDesktop;
|
|
213
|
-
exports["default"] = _default;
|
|
210
|
+
var _default = exports["default"] = DDSLanguageSelectorDesktop;
|
|
214
211
|
//# sourceMappingURL=language-selector-desktop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-selector-desktop.js","names":["_litElement","require","_hostListener","_interopRequireDefault","_hostListener2","_settings","_defs","_comboBox","_footerCss","_collectionHelpers","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSLanguageSelectorDesktop","_decorate2","customElement","concat","_initialize","_HostListenerMixin","_HostListenerMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","state","key","value","query","HostListener","_this2","event","contains","target","_filterInputValue","_lastValidLang","_filterInputNode","open","requestUpdate","_handleInput","items","querySelectorAll","selectorItem","index","findIndex","_testItemWithQueryText","forEach","item","i","scrollIntoView","highlighted","filterInput","_handleUserInitiatedClearInput","selected","focus","_handleUserInitiatedSelectItem","_selectionShouldChange","textContent","_get2","property","attribute","LANGUAGE_SELECTOR_STYLE_SCHEME","REGULAR","reflect","updated","changedProperties","has","styles","HostListenerMixin","DDSComboBox","_default","exports"],"sources":["components/footer/language-selector-desktop.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 { property, query, state } from 'lit-element';\nimport HostListener from '../../internal/vendor/@carbon/web-components/globals/decorators/host-listener.js';\nimport HostListenerMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/host-listener.js';\nimport BXComboBoxItem from '../../internal/vendor/@carbon/web-components/components/combo-box/combo-box-item.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { LANGUAGE_SELECTOR_STYLE_SCHEME } from './defs';\nimport DDSComboBox from './combo-box';\nimport styles from './footer.scss';\nimport { findIndex, forEach } from '../../globals/internal/collection-helpers';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Language selector component - desktop.\n * The API for language selection is still subject to change.\n *\n * @element dds-language-selector-desktop\n * @internal\n */\n@customElement(`${ddsPrefix}-language-selector-desktop`)\nclass DDSLanguageSelectorDesktop extends HostListenerMixin(DDSComboBox) {\n /**\n * Property that saves the last valid language to use on reset cases.\n */\n @state()\n private _lastValidLang?: string;\n\n /**\n * The `<input>` for filtering.\n */\n @query('input')\n private _filterInputNode!: HTMLInputElement;\n\n /**\n * Reverts input value to last chosen valid language.\n *\n * @param event the event\n */\n @HostListener('document:click')\n protected _handleClickOutside = (event: MouseEvent) => {\n if (!this.contains(event.target as Node)) {\n this._filterInputValue = this._lastValidLang as string;\n this._filterInputNode.value = this._lastValidLang as string;\n this.open = false;\n this.requestUpdate(); // If the only change is to `_filterInputValue`, auto-update doesn't happen\n }\n };\n\n /**\n * Handles `input` event on the `<input>` for filtering.\n * Highlights and scrolls into the view the matched item.\n */\n protected _handleInput() {\n const items = this.querySelectorAll(\n (this.constructor as typeof DDSComboBox).selectorItem\n );\n const index = !this._filterInputNode.value\n ? -1\n : findIndex(items, this._testItemWithQueryText, this);\n forEach(items, (item, i) => {\n if (i === index) item.scrollIntoView();\n (item as BXComboBoxItem).highlighted = i === index;\n });\n const { _filterInputNode: filterInput } = this;\n this._filterInputValue = !filterInput ? '' : filterInput.value;\n this.open = true;\n this.requestUpdate(); // If the only change is to `_filterInputValue`, auto-update doesn't happen\n }\n\n /**\n * Handles user-initiated clearing the `<input>` for filtering.\n * Also saves the current valid language.\n */\n protected _handleUserInitiatedClearInput() {\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof DDSComboBox).selectorItem\n ),\n (item) => {\n (item as BXComboBoxItem).highlighted = false;\n (item as BXComboBoxItem).selected = false;\n }\n );\n this._lastValidLang = this._filterInputValue;\n this._filterInputValue = '';\n this._filterInputNode.focus();\n this.open = false;\n this.requestUpdate();\n }\n\n /**\n * Updates the input and last valid language to the selected item text.\n *\n * @param item that was selected\n */\n protected _handleUserInitiatedSelectItem(item?: BXComboBoxItem) {\n if (item && !this._selectionShouldChange(item)) {\n // Escape hatch for `shouldUpdate()` logic that updates `._filterInputValue()` when selection changes,\n // given we want to update the `<input>` and close the dropdown even if selection doesn't update.\n // Use case:\n // 1. Select the 2nd item in combo box drop down\n // 2. Type some text in the `<input>`\n // 3. Re-select the 2nd item in combo box drop down,\n // the `<input>` has to updated with the 2nd item and the dropdown should be closed,\n // even if there is no change in the selected value\n this._filterInputValue = item.textContent || '';\n this.open = false;\n this.requestUpdate();\n }\n this._lastValidLang = item?.textContent as string;\n (item as BXComboBoxItem).selected = true;\n super._handleUserInitiatedSelectItem(item);\n }\n\n /**\n * Size property to apply different styles.\n */\n @property({ attribute: 'style-scheme' })\n styleScheme = LANGUAGE_SELECTOR_STYLE_SCHEME.REGULAR;\n\n /**\n * The shadow slot this language-selector should be in.\n */\n @property({ reflect: true })\n slot = 'language-selector';\n\n // @ts-ignore\n updated(changedProperties) {\n super.updated();\n if (changedProperties.has('value')) {\n this._lastValidLang = this.value;\n }\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLanguageSelectorDesktop;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,cAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,UAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,cAAA,GAAAT,OAAA;AAAmI,SAAAU,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,sBAlBnI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAaA,IAAsBC,SAAS,GAAKC,oBAAW,CAAvCC,YAAY;;AAEpB;AACA;AACA;AACA;AACA;AACA;AACA;AANA,IAQMC,0BAA0B,OAAAC,UAAA,cAD/B,IAAAC,4BAAa,KAAAC,MAA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WAAAA,MAAA;QAAA,OACrB,mBAAmB;MAAA;IAAA;MAAAJ,IAAA;MAAAG,GAAA;MAAAC,KAAA;MAJ1B;AACF;AACA;MAIE;MACA,SAAAqC,QAAQC,iBAAiB,EAAE;QACzB,IAAAP,KAAA,iBAAA1E,gBAAA,aA5GEmB,0BAA0B,CAAAP,SAAA,oBAAAE,IAAA;QA6G5B,IAAImE,iBAAiB,CAACC,GAAG,CAAC,OAAO,CAAC,EAAE;UAClC,IAAI,CAAC/B,cAAc,GAAG,IAAI,CAACR,KAAK;QAClC;MACF;IAAC;MAAAJ,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEewC,qBAAM;MAAA;IAAA;EAAA;AAAA,GAlHiB,IAAAC,yBAAiB,EAACC,oBAAW,CAAC;AAAA,IAAAC,QAAA,GAqHxDnE,0BAA0B;AAAAoE,OAAA,cAAAD,QAAA"}
|
|
1
|
+
{"version":3,"file":"language-selector-desktop.js","names":["_litElement","require","_hostListener","_interopRequireDefault","_hostListener2","_settings","_defs","_comboBox","_footerCss","_collectionHelpers","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSLanguageSelectorDesktop","_decorate2","customElement","concat","_initialize","_HostListenerMixin","_HostListenerMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","state","key","value","query","HostListener","_this2","event","contains","target","_filterInputValue","_lastValidLang","_filterInputNode","open","requestUpdate","_handleInput","items","querySelectorAll","selectorItem","index","findIndex","_testItemWithQueryText","forEach","item","i","scrollIntoView","highlighted","filterInput","_handleUserInitiatedClearInput","selected","focus","_handleUserInitiatedSelectItem","_selectionShouldChange","textContent","_get2","property","attribute","LANGUAGE_SELECTOR_STYLE_SCHEME","REGULAR","reflect","updated","changedProperties","has","styles","HostListenerMixin","DDSComboBox","_default","exports"],"sources":["components/footer/language-selector-desktop.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 { property, query, state } from 'lit-element';\nimport HostListener from '../../internal/vendor/@carbon/web-components/globals/decorators/host-listener.js';\nimport HostListenerMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/host-listener.js';\nimport BXComboBoxItem from '../../internal/vendor/@carbon/web-components/components/combo-box/combo-box-item.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { LANGUAGE_SELECTOR_STYLE_SCHEME } from './defs';\nimport DDSComboBox from './combo-box';\nimport styles from './footer.scss';\nimport { findIndex, forEach } from '../../globals/internal/collection-helpers';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Language selector component - desktop.\n * The API for language selection is still subject to change.\n *\n * @element dds-language-selector-desktop\n */\n@customElement(`${ddsPrefix}-language-selector-desktop`)\nclass DDSLanguageSelectorDesktop extends HostListenerMixin(DDSComboBox) {\n /**\n * Property that saves the last valid language to use on reset cases.\n */\n @state()\n private _lastValidLang?: string;\n\n /**\n * The `<input>` for filtering.\n */\n @query('input')\n protected _filterInputNode!: HTMLInputElement;\n\n /**\n * Reverts input value to last chosen valid language.\n *\n * @param event the event\n */\n @HostListener('document:click')\n protected _handleClickOutside = (event: MouseEvent) => {\n if (!this.contains(event.target as Node)) {\n this._filterInputValue = this._lastValidLang as string;\n this._filterInputNode.value = this._lastValidLang as string;\n this.open = false;\n this.requestUpdate(); // If the only change is to `_filterInputValue`, auto-update doesn't happen\n }\n };\n\n /**\n * Handles `input` event on the `<input>` for filtering.\n * Highlights and scrolls into the view the matched item.\n */\n protected _handleInput() {\n const items = this.querySelectorAll(\n (this.constructor as typeof DDSComboBox).selectorItem\n );\n const index = !this._filterInputNode.value\n ? -1\n : findIndex(items, this._testItemWithQueryText, this);\n forEach(items, (item, i) => {\n if (i === index) item.scrollIntoView();\n (item as BXComboBoxItem).highlighted = i === index;\n });\n const { _filterInputNode: filterInput } = this;\n this._filterInputValue = !filterInput ? '' : filterInput.value;\n this.open = true;\n this.requestUpdate(); // If the only change is to `_filterInputValue`, auto-update doesn't happen\n }\n\n /**\n * Handles user-initiated clearing the `<input>` for filtering.\n * Also saves the current valid language.\n */\n protected _handleUserInitiatedClearInput() {\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof DDSComboBox).selectorItem\n ),\n (item) => {\n (item as BXComboBoxItem).highlighted = false;\n (item as BXComboBoxItem).selected = false;\n }\n );\n this._lastValidLang = this._filterInputValue;\n this._filterInputValue = '';\n this._filterInputNode.focus();\n this.open = false;\n this.requestUpdate();\n }\n\n /**\n * Updates the input and last valid language to the selected item text.\n *\n * @param item that was selected\n */\n protected _handleUserInitiatedSelectItem(item?: BXComboBoxItem) {\n if (item && !this._selectionShouldChange(item)) {\n // Escape hatch for `shouldUpdate()` logic that updates `._filterInputValue()` when selection changes,\n // given we want to update the `<input>` and close the dropdown even if selection doesn't update.\n // Use case:\n // 1. Select the 2nd item in combo box drop down\n // 2. Type some text in the `<input>`\n // 3. Re-select the 2nd item in combo box drop down,\n // the `<input>` has to updated with the 2nd item and the dropdown should be closed,\n // even if there is no change in the selected value\n this._filterInputValue = item.textContent || '';\n this.open = false;\n this.requestUpdate();\n }\n this._lastValidLang = item?.textContent as string;\n (item as BXComboBoxItem).selected = true;\n super._handleUserInitiatedSelectItem(item);\n }\n\n /**\n * Size property to apply different styles.\n */\n @property({ attribute: 'style-scheme' })\n styleScheme = LANGUAGE_SELECTOR_STYLE_SCHEME.REGULAR;\n\n /**\n * The shadow slot this language-selector should be in.\n */\n @property({ reflect: true })\n slot = 'language-selector';\n\n updated(changedProperties) {\n super.updated(changedProperties);\n if (changedProperties.has('value')) {\n this._lastValidLang = this.value;\n }\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLanguageSelectorDesktop;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,cAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,UAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,cAAA,GAAAT,OAAA;AAAmI,SAAAU,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,sBAlBnI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAaA,IAAsBC,SAAS,GAAKC,oBAAW,CAAvCC,YAAY;;AAEpB;AACA;AACA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mC,oBAAQ,EAAC;QAAEI,OAAO,EAAE;MAAK,CAAC,CAAC;MAAArC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OACrB,mBAAmB;MAAA;IAAA;MAAAJ,IAAA;MAAAG,GAAA;MAAAC,KAAA;MAJ1B;AACF;AACA;MAIE,SAAAqC,QAAQC,iBAAiB,EAAE;QACzB,IAAAP,KAAA,iBAAA1E,gBAAA,aA3GEmB,0BAA0B,CAAAP,SAAA,oBAAAE,IAAA,OA2GdmE,iBAAiB;QAC/B,IAAIA,iBAAiB,CAACC,GAAG,CAAC,OAAO,CAAC,EAAE;UAClC,IAAI,CAAC/B,cAAc,GAAG,IAAI,CAACR,KAAK;QAClC;MACF;IAAC;MAAAJ,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEewC,qBAAM;MAAA;IAAA;EAAA;AAAA,GAjHiB,IAAAC,yBAAiB,EAACC,oBAAW,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAoHxDpE,0BAA0B"}
|
|
@@ -6,6 +6,20 @@
|
|
|
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.
|
|
8
8
|
*/
|
|
9
|
+
import BXSelect from '../../internal/vendor/@carbon/web-components/components/select/select.js';
|
|
10
|
+
/**
|
|
11
|
+
* Language selector component - mobile version.
|
|
12
|
+
* The API for language selection is still subject to change.
|
|
13
|
+
*
|
|
14
|
+
* @element dds-language-selector-mobile
|
|
15
|
+
*/
|
|
16
|
+
declare class DDSLanguageSelectorMobile extends BXSelect {
|
|
17
|
+
/**
|
|
18
|
+
* The shadow slot this language-selector should be in.
|
|
19
|
+
*/
|
|
20
|
+
slot: string;
|
|
21
|
+
static styles: any;
|
|
22
|
+
}
|
|
9
23
|
export default DDSLanguageSelectorMobile;
|
|
10
24
|
|
|
11
25
|
//# sourceMappingURL=language-selector-mobile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["components/footer/language-selector-mobile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"sources":["components/footer/language-selector-mobile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,QAAQ,MAAM,0EAA0E,CAAC;AAOhG;;;;;GAKG;AACH,cACM,yBAA0B,SAAQ,QAAQ;IAC9C;;OAEG;IAEH,IAAI,SAAuB;IAE3B,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,yBAAyB,CAAC","file":"language-selector-mobile.d.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 { property } from 'lit-element';\nimport BXSelect from '../../internal/vendor/@carbon/web-components/components/select/select.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Language selector component - mobile version.\n * The API for language selection is still subject to change.\n *\n * @element dds-language-selector-mobile\n */\n@customElement(`${ddsPrefix}-language-selector-mobile`)\nclass DDSLanguageSelectorMobile extends BXSelect {\n /**\n * The shadow slot this language-selector should be in.\n */\n @property({ reflect: true })\n slot = 'language-selector';\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLanguageSelectorMobile;\n"]}
|
|
@@ -33,7 +33,6 @@ var ddsPrefix = _settings["default"].stablePrefix;
|
|
|
33
33
|
* The API for language selection is still subject to change.
|
|
34
34
|
*
|
|
35
35
|
* @element dds-language-selector-mobile
|
|
36
|
-
* @internal
|
|
37
36
|
*/
|
|
38
37
|
var DDSLanguageSelectorMobile = (0, _decorate2["default"])([(0, _carbonElement.carbonElement)("".concat(ddsPrefix, "-language-selector-mobile"))], function (_initialize, _BXSelect) {
|
|
39
38
|
var DDSLanguageSelectorMobile = /*#__PURE__*/function (_BXSelect2) {
|
|
@@ -72,6 +71,5 @@ var DDSLanguageSelectorMobile = (0, _decorate2["default"])([(0, _carbonElement.c
|
|
|
72
71
|
}]
|
|
73
72
|
};
|
|
74
73
|
}, _select["default"]);
|
|
75
|
-
var _default = DDSLanguageSelectorMobile;
|
|
76
|
-
exports["default"] = _default;
|
|
74
|
+
var _default = exports["default"] = DDSLanguageSelectorMobile;
|
|
77
75
|
//# sourceMappingURL=language-selector-mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-selector-mobile.js","names":["_litElement","require","_select","_interopRequireDefault","_settings","_footerCss","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSLanguageSelectorMobile","_decorate2","customElement","concat","_initialize","_BXSelect","_BXSelect2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","reflect","key","value","styles","BXSelect","_default","exports"],"sources":["components/footer/language-selector-mobile.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 { property } from 'lit-element';\nimport BXSelect from '../../internal/vendor/@carbon/web-components/components/select/select.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Language selector component - mobile version.\n * The API for language selection is still subject to change.\n *\n * @element dds-language-selector-mobile\n
|
|
1
|
+
{"version":3,"file":"language-selector-mobile.js","names":["_litElement","require","_select","_interopRequireDefault","_settings","_footerCss","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSLanguageSelectorMobile","_decorate2","customElement","concat","_initialize","_BXSelect","_BXSelect2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","reflect","key","value","styles","BXSelect","_default","exports"],"sources":["components/footer/language-selector-mobile.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 { property } from 'lit-element';\nimport BXSelect from '../../internal/vendor/@carbon/web-components/components/select/select.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Language selector component - mobile version.\n * The API for language selection is still subject to change.\n *\n * @element dds-language-selector-mobile\n */\n@customElement(`${ddsPrefix}-language-selector-mobile`)\nclass DDSLanguageSelectorMobile extends BXSelect {\n /**\n * The shadow slot this language-selector should be in.\n */\n @property({ reflect: true })\n slot = 'language-selector';\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLanguageSelectorMobile;\n"],"mappings":";;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,SAAA,GAAAD,sBAAA,CAAAF,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,IAAA,EAAAI,IAAA;QAAAF,IAAA,CAAAE,IAAA,IAAA5B,SAAA,CAAA4B,IAAA;MAAA;MAAAN,KAAA,GAAAD,MAAA,CAAAb,IAAA,CAAAP,KAAA,CAAAoB,MAAA,SAAAL,MAAA,CAAAU,IAAA;MAAAT,WAAA,KAAAY,uBAAA,aAAAP,KAAA;MAAA,OAAAA,KAAA;IAAA;IAAA,WAAAQ,aAAA,aAAAjB,yBAAA;EAAA,EAAAK,SAAA;EAAA;IAAAa,CAAA,EAAzBlB,yBAAyB;IAAAmB,CAAA;MAAAC,IAAA;MAAAC,UAAA,GAI5B,IAAAC,oBAAQ,EAAC;QAAEC,OAAO,EAAE;MAAK,CAAC,CAAC;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OACrB,mBAAmB;MAAA;IAAA;MAAAL,IAAA;MAAA;MAAAI,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEVC,qBAAM;MAAA;IAAA;EAAA;AAAA,GAPgBC,kBAAQ;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAUjC7B,yBAAyB"}
|
|
@@ -100,6 +100,5 @@ var DDSLegalNavCookiePreferencesPlaceholder = (0, _decorate2["default"])([(0, _c
|
|
|
100
100
|
}]
|
|
101
101
|
};
|
|
102
102
|
}, (0, _stableSelector["default"])(_litElement.LitElement));
|
|
103
|
-
var _default = DDSLegalNavCookiePreferencesPlaceholder;
|
|
104
|
-
exports["default"] = _default;
|
|
103
|
+
var _default = exports["default"] = DDSLegalNavCookiePreferencesPlaceholder;
|
|
105
104
|
//# sourceMappingURL=legal-nav-cookie-preferences-placeholder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legal-nav-cookie-preferences-placeholder.js","names":["_litElement","require","_settings","_interopRequireDefault","_settings2","_stableSelector","_footerCss","_carbonElement","_templateObject","_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","DDSLegalNavCookiePreferencesPlaceholder","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","_handleSlotChange","event","_this2","linkNodes","target","assignedNodes","filter","node","tagName","forEach","classList","add","shadowRoot","appendChild","render","handleSlotchange","html","_taggedTemplateLiteral2","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/footer/legal-nav-cookie-preferences-placeholder.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, LitElement } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Legal nav item, working as a placeholder for cookie perference link.\n *\n * @element dds-legal-nav-cookie-preferences-placeholder\n */\n@customElement(`${ddsPrefix}-legal-nav-cookie-preferences-placeholder`)\nclass DDSLegalNavCookiePreferencesPlaceholder extends StableSelectorMixin(\n LitElement\n) {\n /**\n * Handles `slotchange` event.\n */\n private _handleSlotChange(event: Event) {\n // Finds new injected links\n const linkNodes = (event.target as HTMLSlotElement)\n .assignedNodes()\n .filter((node) => (node as Element).tagName === 'A') as HTMLLinkElement[];\n linkNodes.forEach((node) => {\n // Adds Carbon CSS classes\n node.classList.add(`${prefix}--link`);\n node.classList.add(`${prefix}--footer__link`);\n // Moves new injected links to shadow DOM\n this.shadowRoot!.appendChild(node);\n });\n }\n\n render() {\n const { _handleSlotChange: handleSlotchange } = this;\n return html` <slot @slotchange=\"${handleSlotchange}\"></slot> `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--privacy-cp`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLegalNavCookiePreferencesPlaceholder;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,eAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,UAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AAAgI,IAAAO,eAAA;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,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,sBAdhI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AASA,IAAQC,MAAM,GAAKC,oBAAQ,CAAnBD,MAAM;AACd,IAA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C,GAAG,IAAA/B,MAAA,CAAIR,MAAM,WAAQ,CAAC;UACrCmC,IAAI,CAACG,SAAS,CAACC,GAAG,IAAA/B,MAAA,CAAIR,MAAM,mBAAgB,CAAC;UAC7C;UACA8B,MAAI,CAACU,UAAU,CAAEC,WAAW,CAACN,IAAI,CAAC;QACpC,CAAC,CAAC;MACJ;IAAC;MAAAV,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAe,OAAA,EAAS;QACP,IAA2BC,gBAAgB,GAAK,IAAI,CAA5Cf,iBAAiB;QACzB,WAAOgB,gBAAI,EAAAnE,eAAA,KAAAA,eAAA,OAAAoE,uBAAA,yDAAuBF,gBAAgB;MACpD;IAAC;MAAAlB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAmB,eAAA,EAA4B;QAC1B,UAAAtC,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeoB,qBAAM;MAAA;IAAA;EAAA;AAAA,GA7B8B,IAAAC,0BAAmB,EACvEC,sBACF,CAAC;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"legal-nav-cookie-preferences-placeholder.js","names":["_litElement","require","_settings","_interopRequireDefault","_settings2","_stableSelector","_footerCss","_carbonElement","_templateObject","_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","DDSLegalNavCookiePreferencesPlaceholder","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","_handleSlotChange","event","_this2","linkNodes","target","assignedNodes","filter","node","tagName","forEach","classList","add","shadowRoot","appendChild","render","handleSlotchange","html","_taggedTemplateLiteral2","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/footer/legal-nav-cookie-preferences-placeholder.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, LitElement } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Legal nav item, working as a placeholder for cookie perference link.\n *\n * @element dds-legal-nav-cookie-preferences-placeholder\n */\n@customElement(`${ddsPrefix}-legal-nav-cookie-preferences-placeholder`)\nclass DDSLegalNavCookiePreferencesPlaceholder extends StableSelectorMixin(\n LitElement\n) {\n /**\n * Handles `slotchange` event.\n */\n private _handleSlotChange(event: Event) {\n // Finds new injected links\n const linkNodes = (event.target as HTMLSlotElement)\n .assignedNodes()\n .filter((node) => (node as Element).tagName === 'A') as HTMLLinkElement[];\n linkNodes.forEach((node) => {\n // Adds Carbon CSS classes\n node.classList.add(`${prefix}--link`);\n node.classList.add(`${prefix}--footer__link`);\n // Moves new injected links to shadow DOM\n this.shadowRoot!.appendChild(node);\n });\n }\n\n render() {\n const { _handleSlotChange: handleSlotchange } = this;\n return html` <slot @slotchange=\"${handleSlotchange}\"></slot> `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--privacy-cp`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLegalNavCookiePreferencesPlaceholder;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAA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AAI,CAA5Cf,iBAAiB;QACzB,WAAOgB,gBAAI,EAAAnE,eAAA,KAAAA,eAAA,OAAAoE,uBAAA,yDAAuBF,gBAAgB;MACpD;IAAC;MAAAlB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAmB,eAAA,EAA4B;QAC1B,UAAAtC,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeoB,qBAAM;MAAA;IAAA;EAAA;AAAA,GA7B8B,IAAAC,0BAAmB,EACvEC,sBACF,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cA8Bc9C,uCAAuC"}
|
|
@@ -79,6 +79,5 @@ var DDSLegalNavItem = (0, _decorate2["default"])([(0, _carbonElement.carbonEleme
|
|
|
79
79
|
}]
|
|
80
80
|
};
|
|
81
81
|
}, _footerNavItem["default"]);
|
|
82
|
-
var _default = DDSLegalNavItem;
|
|
83
|
-
exports["default"] = _default;
|
|
82
|
+
var _default = exports["default"] = DDSLegalNavItem;
|
|
84
83
|
//# sourceMappingURL=legal-nav-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legal-nav-item.js","names":["_litElement","require","_settings","_interopRequireDefault","_settings2","_footerNavItem","_carbonElement","_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","DDSLegalNavItem","_decorate2","customElement","concat","_initialize","_DDSFooterNavItem","_DDSFooterNavItem2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","key","value","updated","linkNode","_linkNode","_this$autoid","dataTitle","autoid","replace","toLowerCase","classList","add","setAttribute","DDSFooterNavItem","_default","exports"],"sources":["components/footer/legal-nav-item.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 { property } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport DDSFooterNavItem from './footer-nav-item';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Legal nav item.\n *\n * @element dds-legal-nav-item\n */\n@customElement(`${ddsPrefix}-legal-nav-item`)\nclass DDSLegalNavItem extends DDSFooterNavItem {\n /**\n * autoid text.\n */\n @property()\n autoid = '';\n\n updated() {\n const { _linkNode: linkNode } = this;\n if (linkNode) {\n const dataTitle = this.autoid\n ?.replace(/[^-a-zA-Z0-9_ ]/g, '')\n .replace(/ +/g, '-')\n .toLowerCase();\n linkNode.classList.add(`${prefix}--footer__link`);\n linkNode.setAttribute(\n 'data-autoid',\n `${ddsPrefix}--footer-legal-nav__link-${dataTitle}`\n );\n }\n }\n}\n\nexport default DDSLegalNavItem;\n"],"mappings":";;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,cAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAAgI,SAAAM,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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AQ,aAAA,aAAAjB,eAAA;EAAA,EAAAK,iBAAA;EAAA;IAAAa,CAAA,EAAflB,eAAe;IAAAmB,CAAA;MAAAC,IAAA;MAAAC,UAAA,GAIlB,IAAAC,oBAAQ,EAAC,CAAC;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OACF,EAAE;MAAA;IAAA;MAAAJ,IAAA;MAAAG,GAAA;MAAAC,KAAA;MAJX;AACF;AACA;;MAIE,SAAAC,QAAA,EAAU;QACR,IAAmBC,QAAQ,GAAK,IAAI,CAA5BC,SAAS;QACjB,IAAID,QAAQ,EAAE;UAAA,IAAAE,YAAA;UACZ,IAAMC,SAAS,IAAAD,YAAA,GAAG,IAAI,CAACE,MAAM,cAAAF,YAAA,uBAAXA,YAAA,CACdG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAChCA,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CACnBC,WAAW,CAAC,CAAC;UAChBN,QAAQ,CAACO,SAAS,CAACC,GAAG,IAAA/B,MAAA,CAAIR,MAAM,mBAAgB,CAAC;UACjD+B,QAAQ,CAACS,YAAY,CACnB,aAAa,KAAAhC,MAAA,CACVN,SAAS,+BAAAM,MAAA,CAA4B0B,SAAS,CACnD,CAAC;QACH;MACF;IAAC;EAAA;AAAA,GApB2BO,yBAAgB;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"legal-nav-item.js","names":["_litElement","require","_settings","_interopRequireDefault","_settings2","_footerNavItem","_carbonElement","_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","DDSLegalNavItem","_decorate2","customElement","concat","_initialize","_DDSFooterNavItem","_DDSFooterNavItem2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","key","value","updated","linkNode","_linkNode","_this$autoid","dataTitle","autoid","replace","toLowerCase","classList","add","setAttribute","DDSFooterNavItem","_default","exports"],"sources":["components/footer/legal-nav-item.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 { property } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport DDSFooterNavItem from './footer-nav-item';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Legal nav item.\n *\n * @element dds-legal-nav-item\n */\n@customElement(`${ddsPrefix}-legal-nav-item`)\nclass DDSLegalNavItem extends DDSFooterNavItem {\n /**\n * autoid text.\n */\n @property()\n autoid = '';\n\n updated() {\n const { _linkNode: linkNode } = this;\n if (linkNode) {\n const dataTitle = this.autoid\n ?.replace(/[^-a-zA-Z0-9_ ]/g, '')\n .replace(/ +/g, '-')\n .toLowerCase();\n linkNode.classList.add(`${prefix}--footer__link`);\n linkNode.setAttribute(\n 'data-autoid',\n `${ddsPrefix}--footer-legal-nav__link-${dataTitle}`\n );\n }\n }\n}\n\nexport default DDSLegalNavItem;\n"],"mappings":";;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,cAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAAgI,SAAAM,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBA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sB,MAAA,SAAAL,MAAA,CAAAU,IAAA;MAAAT,WAAA,KAAAY,uBAAA,aAAAP,KAAA;MAAA,OAAAA,KAAA;IAAA;IAAA,WAAAQ,aAAA,aAAAjB,eAAA;EAAA,EAAAK,iBAAA;EAAA;IAAAa,CAAA,EAAflB,eAAe;IAAAmB,CAAA;MAAAC,IAAA;MAAAC,UAAA,GAIlB,IAAAC,oBAAQ,EAAC,CAAC;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OACF,EAAE;MAAA;IAAA;MAAAJ,IAAA;MAAAG,GAAA;MAAAC,KAAA;MAJX;AACF;AACA;;MAIE,SAAAC,QAAA,EAAU;QACR,IAAmBC,QAAQ,GAAK,IAAI,CAA5BC,SAAS;QACjB,IAAID,QAAQ,EAAE;UAAA,IAAAE,YAAA;UACZ,IAAMC,SAAS,IAAAD,YAAA,GAAG,IAAI,CAACE,MAAM,cAAAF,YAAA,uBAAXA,YAAA,CACdG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAChCA,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CACnBC,WAAW,CAAC,CAAC;UAChBN,QAAQ,CAACO,SAAS,CAACC,GAAG,IAAA/B,MAAA,CAAIR,MAAM,mBAAgB,CAAC;UACjD+B,QAAQ,CAACS,YAAY,CACnB,aAAa,KAAAhC,MAAA,CACVN,SAAS,+BAAAM,MAAA,CAA4B0B,SAAS,CACnD,CAAC;QACH;MACF;IAAC;EAAA;AAAA,GApB2BO,yBAAgB;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAuB/BtC,eAAe"}
|
|
@@ -153,6 +153,5 @@ var DDSLegalNav = (0, _decorate2["default"])([(0, _carbonElement.carbonElement)(
|
|
|
153
153
|
}]
|
|
154
154
|
};
|
|
155
155
|
}, (0, _stableSelector["default"])(_litElement.LitElement));
|
|
156
|
-
var _default = DDSLegalNav;
|
|
157
|
-
exports["default"] = _default;
|
|
156
|
+
var _default = exports["default"] = DDSLegalNav;
|
|
158
157
|
//# sourceMappingURL=legal-nav.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legal-nav.js","names":["_litElement","require","_classMap2","_settings","_interopRequireDefault","_settings2","_footer","_stableSelector","_footerCss","_carbonElement","_templateObject","_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","DDSLegalNav","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","key","value","FOOTER_SIZE","REGULAR","query","_getTypeClass","_classMap","classMap","_defineProperty2","size","MICRO","reflect","connectedCallback","hasAttribute","removeAttribute","_get2","render","html","_taggedTemplateLiteral2","firstUpdated","adjunctLinksContainer","_adjunctLinksContainer","adjunctLinksSlot","_adjunctLinksSlot","hideAdjunctLinksContainer","assignedNodes","classList","add","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/footer/legal-nav.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, query, LitElement } from 'lit-element';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { FOOTER_SIZE } from './footer';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Legal nav.\n *\n * @element dds-legal-nav\n */\n@customElement(`${ddsPrefix}-legal-nav`)\nclass DDSLegalNav extends StableSelectorMixin(LitElement) {\n /**\n * Size property used for applying classes\n */\n @property()\n size = FOOTER_SIZE.REGULAR;\n\n /**\n * The adjunct links container\n */\n @query(`.${prefix}--adjunct-links__container`)\n private _adjunctLinksContainer?: HTMLDivElement;\n\n /**\n * The adjunct links slot\n */\n @query('[name=\"adjunct-links\"]')\n private _adjunctLinksSlot?: HTMLSlotElement;\n\n /**\n * Returns a class-name based on the type parameter type\n */\n protected _getTypeClass() {\n return classMap({\n [`${prefix}--legal-nav__list`]: true,\n [`${prefix}--legal-nav__micro`]: this.size === FOOTER_SIZE.MICRO,\n });\n }\n\n /**\n * The shadow slot this legal nav should be in.\n */\n @property({ reflect: true })\n slot = 'legal-nav';\n\n connectedCallback() {\n if (this.hasAttribute('role')) {\n this.removeAttribute('role');\n }\n super.connectedCallback();\n }\n\n render() {\n return html`\n <nav class=\"${prefix}--legal-nav\">\n <div class=\"${this._getTypeClass()}\">\n <ul>\n <slot></slot>\n </ul>\n <div class=\"${prefix}--adjunct-links__container\">\n <div class=\"${prefix}--adjunct-links__row\">\n <div class=\"${prefix}--adjunct-links__col\">\n <slot name=\"adjunct-links\"></slot>\n </div>\n </div>\n </div>\n <slot name=\"locale\"></slot>\n </div>\n </nav>\n `;\n }\n\n firstUpdated() {\n const {\n _adjunctLinksContainer: adjunctLinksContainer,\n _adjunctLinksSlot: adjunctLinksSlot,\n } = this;\n const hideAdjunctLinksContainer =\n adjunctLinksSlot?.assignedNodes().length === 0\n ? adjunctLinksContainer?.classList.add(\n `${prefix}--adjunct-links__container--hidden`\n )\n : '';\n return hideAdjunctLinksContainer;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--footer-legal-nav`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLegalNav;\n"],"mappings":";;;;;;;;;;;;;;;;;AASA,IAAAA,WA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CACX,CAAC,GACD,EAAE;QACR,OAAOoD,yBAAyB;MAClC;IAAC;MAAA3B,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,EAED,SAAA2B,eAAA,EAA4B;QAC1B,UAAAhD,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEe4B,qBAAM;MAAA;IAAA;EAAA;AAAA,GAhFE,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"legal-nav.js","names":["_litElement","require","_classMap2","_settings","_interopRequireDefault","_settings2","_footer","_stableSelector","_footerCss","_carbonElement","_templateObject","_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","DDSLegalNav","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","key","value","FOOTER_SIZE","REGULAR","query","_getTypeClass","_classMap","classMap","_defineProperty2","size","MICRO","reflect","connectedCallback","hasAttribute","removeAttribute","_get2","render","html","_taggedTemplateLiteral2","firstUpdated","adjunctLinksContainer","_adjunctLinksContainer","adjunctLinksSlot","_adjunctLinksSlot","hideAdjunctLinksContainer","assignedNodes","classList","add","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/footer/legal-nav.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, query, LitElement } from 'lit-element';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { FOOTER_SIZE } from './footer';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Legal nav.\n *\n * @element dds-legal-nav\n */\n@customElement(`${ddsPrefix}-legal-nav`)\nclass DDSLegalNav extends StableSelectorMixin(LitElement) {\n /**\n * Size property used for applying classes\n */\n @property()\n size = FOOTER_SIZE.REGULAR;\n\n /**\n * The adjunct links container\n */\n @query(`.${prefix}--adjunct-links__container`)\n private _adjunctLinksContainer?: HTMLDivElement;\n\n /**\n * The adjunct links slot\n */\n @query('[name=\"adjunct-links\"]')\n private _adjunctLinksSlot?: HTMLSlotElement;\n\n /**\n * Returns a class-name based on the type parameter type\n */\n protected _getTypeClass() {\n return classMap({\n [`${prefix}--legal-nav__list`]: true,\n [`${prefix}--legal-nav__micro`]: this.size === FOOTER_SIZE.MICRO,\n });\n }\n\n /**\n * The shadow slot this legal nav should be in.\n */\n @property({ reflect: true })\n slot = 'legal-nav';\n\n connectedCallback() {\n if (this.hasAttribute('role')) {\n this.removeAttribute('role');\n }\n super.connectedCallback();\n }\n\n render() {\n return html`\n <nav class=\"${prefix}--legal-nav\">\n <div class=\"${this._getTypeClass()}\">\n <ul>\n <slot></slot>\n </ul>\n <div class=\"${prefix}--adjunct-links__container\">\n <div class=\"${prefix}--adjunct-links__row\">\n <div class=\"${prefix}--adjunct-links__col\">\n <slot name=\"adjunct-links\"></slot>\n </div>\n </div>\n </div>\n <slot name=\"locale\"></slot>\n </div>\n </nav>\n `;\n }\n\n firstUpdated() {\n const {\n _adjunctLinksContainer: adjunctLinksContainer,\n _adjunctLinksSlot: adjunctLinksSlot,\n } = this;\n const hideAdjunctLinksContainer =\n adjunctLinksSlot?.assignedNodes().length === 0\n ? adjunctLinksContainer?.classList.add(\n `${prefix}--adjunct-links__container--hidden`\n )\n : '';\n return hideAdjunctLinksContainer;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--footer-legal-nav`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLegalNav;\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,OAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,UAAA,GAAAJ,sBAAA,CAAAH,OAAA;AACA,IAAAQ,cAAA,GAAAR,OAAA;AAAgI,IAAAS,eAAA;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,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,sBAhBhI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAWA,IAAQC,MA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AAsB;UACHC,gBAAgB,GACjC,IAAI,CADNC,iBAAiB;QAEnB,IAAMC,yBAAyB,GAC7B,CAAAF,gBAAgB,aAAhBA,gBAAgB,uBAAhBA,gBAAgB,CAAEG,aAAa,CAAC,CAAC,CAACpC,MAAM,MAAK,CAAC,GAC1C+B,qBAAqB,aAArBA,qBAAqB,uBAArBA,qBAAqB,CAAEM,SAAS,CAACC,GAAG,IAAA/C,MAAA,CAC/BR,MAAM,uCACX,CAAC,GACD,EAAE;QACR,OAAOoD,yBAAyB;MAClC;IAAC;MAAA3B,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,EAED,SAAA2B,eAAA,EAA4B;QAC1B,UAAAhD,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEe4B,qBAAM;MAAA;IAAA;EAAA;AAAA,GAhFE,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAmF1CxD,WAAW"}
|
|
@@ -129,6 +129,5 @@ var DDSLocaleButton = (0, _decorate2["default"])([(0, _carbonElement.carbonEleme
|
|
|
129
129
|
}]
|
|
130
130
|
};
|
|
131
131
|
}, (0, _stableSelector["default"])((0, _focus["default"])(_litElement.LitElement)));
|
|
132
|
-
var _default = DDSLocaleButton;
|
|
133
|
-
exports["default"] = _default;
|
|
132
|
+
var _default = exports["default"] = DDSLocaleButton;
|
|
134
133
|
//# sourceMappingURL=locale-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale-button.js","names":["_litElement","require","_","_interopRequireDefault","_focus","_ifNonNull","_settings","_settings2","_footer","_stableSelector","_footerCss","_carbonElement","_templateObject","_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","DDSLocaleButton","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","key","value","FOOTER_SIZE","REGULAR","reflect","createRenderRoot","_exec","attachShadow","mode","delegatesFocus","Number","exec","navigator","userAgent","render","buttonLabel","html","_taggedTemplateLiteral2","ifNonNull","EarthFilled16","stableSelector","styles","StableSelectorMixin","FocusMixin","LitElement","_default","exports"],"sources":["components/footer/locale-button.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 EarthFilled16 from '../../internal/vendor/@carbon/web-components/icons/earth--filled/16.js';\nimport FocusMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/focus.js';\nimport ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { FOOTER_SIZE } from './footer';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Locale button.\n *\n * @element dds-locale-button\n */\n@customElement(`${ddsPrefix}-locale-button`)\nclass DDSLocaleButton extends StableSelectorMixin(FocusMixin(LitElement)) {\n /**\n * Button label for accessibility.\n */\n @property()\n buttonLabel = 'Select geographic area';\n\n /**\n * Size property to apply different styles.\n */\n @property()\n size = FOOTER_SIZE.REGULAR;\n\n /**\n * The shadow slot this locale button should be in.\n */\n @property({ reflect: true })\n slot = 'locale-button';\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 { buttonLabel } = this;\n return html`\n <button\n id=\"button\"\n class=\"${prefix}--btn ${prefix}--btn--tertiary ${prefix}--locale-btn\"\n aria-label=\"${ifNonNull(buttonLabel)}\">\n <slot></slot>\n ${EarthFilled16()}\n </button>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--locale-btn`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLocaleButton;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,UAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,SAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,UAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,eAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,UAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,cAAA,GAAAV,OAAA;AAAmI,IAAAW,eAAA;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,SAAA,EAAAJ,SAAA,YAAAD,MAAA,GAAAF,KAAA,CAAAQ,KAAA,OAAAD,SAAA,gBAAAE,2BAAA,mBAAAP,MAAA;AA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C;MAAAuB,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeoB,qBAAM;MAAA;IAAA;EAAA;AAAA,GA7CM,IAAAC,0BAAmB,EAAC,IAAAC,iBAAU,EAACC,sBAAU,CAAC,CAAC;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"locale-button.js","names":["_litElement","require","_","_interopRequireDefault","_focus","_ifNonNull","_settings","_settings2","_footer","_stableSelector","_footerCss","_carbonElement","_templateObject","_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","DDSLocaleButton","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","key","value","FOOTER_SIZE","REGULAR","reflect","createRenderRoot","_exec","attachShadow","mode","delegatesFocus","Number","exec","navigator","userAgent","render","buttonLabel","html","_taggedTemplateLiteral2","ifNonNull","EarthFilled16","stableSelector","styles","StableSelectorMixin","FocusMixin","LitElement","_default","exports"],"sources":["components/footer/locale-button.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 EarthFilled16 from '../../internal/vendor/@carbon/web-components/icons/earth--filled/16.js';\nimport FocusMixin from '../../internal/vendor/@carbon/web-components/globals/mixins/focus.js';\nimport ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport { FOOTER_SIZE } from './footer';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './footer.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Locale button.\n *\n * @element dds-locale-button\n */\n@customElement(`${ddsPrefix}-locale-button`)\nclass DDSLocaleButton extends StableSelectorMixin(FocusMixin(LitElement)) {\n /**\n * Button label for accessibility.\n */\n @property()\n buttonLabel = 'Select geographic area';\n\n /**\n * Size property to apply different styles.\n */\n @property()\n size = FOOTER_SIZE.REGULAR;\n\n /**\n * The shadow slot this locale button should be in.\n */\n @property({ reflect: true })\n slot = 'locale-button';\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 { buttonLabel } = this;\n return html`\n <button\n id=\"button\"\n class=\"${prefix}--btn ${prefix}--btn--tertiary ${prefix}--locale-btn\"\n aria-label=\"${ifNonNull(buttonLabel)}\">\n <slot></slot>\n ${EarthFilled16()}\n </button>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--locale-btn`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default DDSLocaleButton;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,UAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,SAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,UAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,eAAA,GAAAN,sBAAA,CAAA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AC,IACjE;QACJ,CAAC,CAAC;MACJ;IAAC;MAAAT,IAAA;MAAAG,GAAA;MAAAC,KAAA,EAED,SAAAa,OAAA,EAAS;QACP,IAAQC,WAAW,GAAK,IAAI,CAApBA,WAAW;QACnB,WAAOC,gBAAI,EAAAnE,eAAA,KAAAA,eAAA,OAAAoE,uBAAA,uNAGE7C,MAAM,EAASA,MAAM,EAAmBA,MAAM,EACzC,IAAA8C,qBAAS,EAACH,WAAW,CAAC,EAElC,IAAAI,YAAa,EAAC,CAAC;MAGvB;IAAC;MAAAtB,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,EAED,SAAAmB,eAAA,EAA4B;QAC1B,UAAAxC,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAG,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeoB,qBAAM;MAAA;IAAA;EAAA;AAAA,GA7CM,IAAAC,0BAAmB,EAAC,IAAAC,iBAAU,EAACC,sBAAU,CAAC,CAAC;AAAA,IAAAC,QAAA,GAAAC,OAAA,cAgD1DjD,eAAe"}
|
|
@@ -19,7 +19,6 @@ var HR_TYPE;
|
|
|
19
19
|
/**
|
|
20
20
|
* Length of the HR
|
|
21
21
|
*/
|
|
22
|
-
exports.HR_TYPE = HR_TYPE;
|
|
23
22
|
(function (HR_TYPE) {
|
|
24
23
|
HR_TYPE["SOLID"] = "solid";
|
|
25
24
|
HR_TYPE["DASHED"] = "dashed";
|
|
@@ -28,7 +27,6 @@ var HR_SIZE;
|
|
|
28
27
|
/**
|
|
29
28
|
* Contrast of the HR
|
|
30
29
|
*/
|
|
31
|
-
exports.HR_SIZE = HR_SIZE;
|
|
32
30
|
(function (HR_SIZE) {
|
|
33
31
|
HR_SIZE["FLUID"] = "fluid";
|
|
34
32
|
HR_SIZE["SMALL"] = "small";
|
|
@@ -39,14 +37,12 @@ var HR_CONTRAST;
|
|
|
39
37
|
/**
|
|
40
38
|
* Weight of the HR
|
|
41
39
|
*/
|
|
42
|
-
exports.HR_CONTRAST = HR_CONTRAST;
|
|
43
40
|
(function (HR_CONTRAST) {
|
|
44
41
|
HR_CONTRAST["MEDIUM_CONTRAST"] = "medium-contrast";
|
|
45
42
|
HR_CONTRAST["LOW_CONTRAST"] = "low-contrast";
|
|
46
43
|
HR_CONTRAST["HIGH_CONTRAST"] = "high-contrast";
|
|
47
44
|
})(HR_CONTRAST || (exports.HR_CONTRAST = HR_CONTRAST = {}));
|
|
48
45
|
var HR_WEIGHT;
|
|
49
|
-
exports.HR_WEIGHT = HR_WEIGHT;
|
|
50
46
|
(function (HR_WEIGHT) {
|
|
51
47
|
HR_WEIGHT["THIN"] = "thin";
|
|
52
48
|
HR_WEIGHT["THICK"] = "thick";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","names":["HR_TYPE","exports","HR_SIZE","HR_CONTRAST","HR_WEIGHT"],"sources":["components/horizontal-rule/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 * Type of the HR\n */\nexport enum HR_TYPE {\n /**\n * solid type of hr\n */\n SOLID = 'solid',\n\n /**\n * dashed/dotted type of hr\n */\n DASHED = 'dashed',\n}\n\n/**\n * Length of the HR\n */\nexport enum HR_SIZE {\n /**\n * fluid length of hr, takes full width of the grid\n */\n FLUID = 'fluid',\n\n /**\n * Small length of hr\n */\n SMALL = 'small',\n\n /**\n * Medium length of hr\n */\n MEDIUM = 'medium',\n\n /**\n * Large length of hr\n */\n LARGE = 'large',\n}\n\n/**\n * Contrast of the HR\n */\nexport enum HR_CONTRAST {\n /**\n * medium-contrast of hr\n */\n MEDIUM_CONTRAST = 'medium-contrast',\n\n /**\n * low-contrast of hr\n */\n LOW_CONTRAST = 'low-contrast',\n\n /**\n * high-contrast of hr\n */\n HIGH_CONTRAST = 'high-contrast',\n}\n\n/**\n * Weight of the HR\n */\nexport enum HR_WEIGHT {\n /**\n * thin weight of hr\n */\n THIN = 'thin',\n\n /**\n * thick weight of hr\n */\n THICK = 'thick',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,OAAO;AAYnB;AACA;AACA;
|
|
1
|
+
{"version":3,"file":"defs.js","names":["HR_TYPE","exports","HR_SIZE","HR_CONTRAST","HR_WEIGHT"],"sources":["components/horizontal-rule/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 * Type of the HR\n */\nexport enum HR_TYPE {\n /**\n * solid type of hr\n */\n SOLID = 'solid',\n\n /**\n * dashed/dotted type of hr\n */\n DASHED = 'dashed',\n}\n\n/**\n * Length of the HR\n */\nexport enum HR_SIZE {\n /**\n * fluid length of hr, takes full width of the grid\n */\n FLUID = 'fluid',\n\n /**\n * Small length of hr\n */\n SMALL = 'small',\n\n /**\n * Medium length of hr\n */\n MEDIUM = 'medium',\n\n /**\n * Large length of hr\n */\n LARGE = 'large',\n}\n\n/**\n * Contrast of the HR\n */\nexport enum HR_CONTRAST {\n /**\n * medium-contrast of hr\n */\n MEDIUM_CONTRAST = 'medium-contrast',\n\n /**\n * low-contrast of hr\n */\n LOW_CONTRAST = 'low-contrast',\n\n /**\n * high-contrast of hr\n */\n HIGH_CONTRAST = 'high-contrast',\n}\n\n/**\n * Weight of the HR\n */\nexport enum HR_WEIGHT {\n /**\n * thin weight of hr\n */\n THIN = 'thin',\n\n /**\n * thick weight of hr\n */\n THICK = 'thick',\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAFA,IAGYA,OAAO;AAYnB;AACA;AACA;AAFA,WAZYA,OAAO;EAAPA,OAAO;EAAPA,OAAO;AAAA,GAAPA,OAAO,KAAAC,OAAA,CAAAD,OAAA,GAAPA,OAAO;AAAA,IAePE,OAAO;AAsBnB;AACA;AACA;AAFA,WAtBYA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;EAAPA,OAAO;AAAA,GAAPA,OAAO,KAAAD,OAAA,CAAAC,OAAA,GAAPA,OAAO;AAAA,IAyBPC,WAAW;AAiBvB;AACA;AACA;AAFA,WAjBYA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAAF,OAAA,CAAAE,WAAA,GAAXA,WAAW;AAAA,IAoBXC,SAAS;AAAA,WAATA,SAAS;EAATA,SAAS;EAATA,SAAS;AAAA,GAATA,SAAS,KAAAH,OAAA,CAAAG,SAAA,GAATA,SAAS"}
|
|
@@ -164,6 +164,5 @@ var DDSHorizontalRule = (0, _decorate2["default"])([(0, _carbonElement.carbonEle
|
|
|
164
164
|
};
|
|
165
165
|
}, (0, _stableSelector["default"])(_litElement.LitElement));
|
|
166
166
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
167
|
-
var _default = DDSHorizontalRule;
|
|
168
|
-
exports["default"] = _default;
|
|
167
|
+
var _default = exports["default"] = DDSHorizontalRule;
|
|
169
168
|
//# sourceMappingURL=horizontal-rule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"horizontal-rule.js","names":["_litElement","require","_settings","_interopRequireDefault","_stableSelector","_defs","_horizontalRuleCss","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSHorizontalRule","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","attribute","reflect","key","value","HR_TYPE","SOLID","HR_SIZE","FLUID","HR_CONTRAST","MEDIUM_CONTRAST","HR_WEIGHT","THIN","connectedCallback","hasAttribute","setAttribute","_get2","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/horizontal-rule/horizontal-rule.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 { property, LitElement } from 'lit-element';\nimport ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { HR_TYPE, HR_SIZE, HR_CONTRAST, HR_WEIGHT } from './defs';\nimport styles from './horizontal-rule.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nexport { HR_TYPE, HR_SIZE, HR_CONTRAST, HR_WEIGHT };\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Horizontal Rule\n *\n * @element dds-hr\n */\n@customElement(`${ddsPrefix}-hr`)\nclass DDSHorizontalRule extends StableSelectorMixin(LitElement) {\n /**\n * Style of the HR (solid (default) | dashed)\n */\n @property({ attribute: 'type', reflect: true })\n type = HR_TYPE.SOLID;\n\n /**\n * Length of the HR\n * (fluid (default) | small | medium | large)\n */\n @property({ attribute: 'size', reflect: true })\n size = HR_SIZE.FLUID;\n\n /**\n * Contrast of the HR\n * (medium-contrast (default) | low-contrast | high-contrast)\n */\n @property({ attribute: 'contrast', reflect: true })\n contrast = HR_CONTRAST.MEDIUM_CONTRAST;\n\n /**\n * Weight of the HR\n * (thin (default) | thick)\n */\n @property({ attribute: 'weight', reflect: true })\n weight = HR_WEIGHT.THIN;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'separator');\n }\n super.connectedCallback();\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--hr`;\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 DDSHorizontalRule;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,eAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AAAgI,SAAAO,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,sBAdhI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAWA,IAAsBC,SAAS,GAAKC,oBAAW,CAAvCC,YAAY;;AAEpB;AACA;AACA;AACA;AACA;AAJA,IAMMC,iBAAiB,OAAAC,UAAA,cADtB,IAAAC,4BAAa,KAAAC,MAAA,CAAIN,SAAS,QAAK,CAAC,aAAAO,WAAA,EAAAC,oBAAA;EA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A,MAAA;QAAA,OACxCK,iBAAW,CAACC,eAAe;MAAA;IAAA;MAAAZ,IAAA;MAAAC,UAAA,GAMrC,IAAAC,oBAAQ,EAAC;QAAEC,SAAS,EAAE,QAAQ;QAAEC,OAAO,EAAE;MAAK,CAAC,CAAC;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OACxCO,eAAS,CAACC,IAAI;MAAA;IAAA;MAAAd,IAAA;MAAAK,GAAA;MAAAC,KAAA;MAzBvB;AACF;AACA;;MAIE;AACF;AACA;AACA;;MAIE;AACF;AACA;AACA;;MAIE;AACF;AACA;AACA;;MAIE,SAAAS,kBAAA,EAAoB;QAClB,IAAI,CAAC,IAAI,CAACC,YAAY,CAAC,MAAM,CAAC,EAAE;UAC9B,IAAI,CAACC,YAAY,CAAC,MAAM,EAAE,WAAW,CAAC;QACxC;QACA,IAAAC,KAAA,iBAAAzD,gBAAA,aAhCEmB,iBAAiB,CAAAP,SAAA,8BAAAE,IAAA;MAiCrB;IAAC;MAAAyB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAAa,eAAA,EAA4B;QAC1B,UAAApC,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEec,6BAAM;MAAA;IAAA;EAAA;AAAA,GAvCQ,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AA0C/D;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"horizontal-rule.js","names":["_litElement","require","_settings","_interopRequireDefault","_stableSelector","_defs","_horizontalRuleCss","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSHorizontalRule","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","attribute","reflect","key","value","HR_TYPE","SOLID","HR_SIZE","FLUID","HR_CONTRAST","MEDIUM_CONTRAST","HR_WEIGHT","THIN","connectedCallback","hasAttribute","setAttribute","_get2","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/horizontal-rule/horizontal-rule.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 { property, LitElement } from 'lit-element';\nimport ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { HR_TYPE, HR_SIZE, HR_CONTRAST, HR_WEIGHT } from './defs';\nimport styles from './horizontal-rule.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nexport { HR_TYPE, HR_SIZE, HR_CONTRAST, HR_WEIGHT };\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Horizontal Rule\n *\n * @element dds-hr\n */\n@customElement(`${ddsPrefix}-hr`)\nclass DDSHorizontalRule extends StableSelectorMixin(LitElement) {\n /**\n * Style of the HR (solid (default) | dashed)\n */\n @property({ attribute: 'type', reflect: true })\n type = HR_TYPE.SOLID;\n\n /**\n * Length of the HR\n * (fluid (default) | small | medium | large)\n */\n @property({ attribute: 'size', reflect: true })\n size = HR_SIZE.FLUID;\n\n /**\n * Contrast of the HR\n * (medium-contrast (default) | low-contrast | high-contrast)\n */\n @property({ attribute: 'contrast', reflect: true })\n contrast = HR_CONTRAST.MEDIUM_CONTRAST;\n\n /**\n * Weight of the HR\n * (thin (default) | thick)\n */\n @property({ attribute: 'weight', reflect: true })\n weight = HR_WEIGHT.THIN;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'separator');\n }\n super.connectedCallback();\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--hr`;\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 DDSHorizontalRule;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,eAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AAAgI,SAAAO,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,sBAdhI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAWA,IAAsBC,SAAS,GAAKC,oBAAW,CAAvCC,YAAY;;AAEpB;AACA;AACA;AACA;AACA;AAJA,IAMMC,iBAAiB,OAAAC,UAAA,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C,SAAS,EAAE,UAAU;QAAEC,OAAO,EAAE;MAAK,CAAC,CAAC;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OACxCK,iBAAW,CAACC,eAAe;MAAA;IAAA;MAAAZ,IAAA;MAAAC,UAAA,GAMrC,IAAAC,oBAAQ,EAAC;QAAEC,SAAS,EAAE,QAAQ;QAAEC,OAAO,EAAE;MAAK,CAAC,CAAC;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OACxCO,eAAS,CAACC,IAAI;MAAA;IAAA;MAAAd,IAAA;MAAAK,GAAA;MAAAC,KAAA;MAzBvB;AACF;AACA;;MAIE;AACF;AACA;AACA;;MAIE;AACF;AACA;AACA;;MAIE;AACF;AACA;AACA;;MAIE,SAAAS,kBAAA,EAAoB;QAClB,IAAI,CAAC,IAAI,CAACC,YAAY,CAAC,MAAM,CAAC,EAAE;UAC9B,IAAI,CAACC,YAAY,CAAC,MAAM,EAAE,WAAW,CAAC;QACxC;QACA,IAAAC,KAAA,iBAAAzD,gBAAA,aAhCEmB,iBAAiB,CAAAP,SAAA,8BAAAE,IAAA;MAiCrB;IAAC;MAAAyB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAAa,eAAA,EAA4B;QAC1B,UAAApC,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEec,6BAAM;MAAA;IAAA;EAAA;AAAA,GAvCQ,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AA0C/D;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACe5C,iBAAiB"}
|
|
@@ -69,6 +69,5 @@ var DDSImageItem = (0, _decorate2["default"])([(0, _carbonElement.carbonElement)
|
|
|
69
69
|
};
|
|
70
70
|
}, (0, _stableSelector["default"])(_litElement.LitElement));
|
|
71
71
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
72
|
-
var _default = DDSImageItem;
|
|
73
|
-
exports["default"] = _default;
|
|
72
|
+
var _default = exports["default"] = DDSImageItem;
|
|
74
73
|
//# sourceMappingURL=image-item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-item.js","names":["_litElement","require","_settings","_interopRequireDefault","_stableSelector","_imageCss","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSImageItem","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/image/image-item.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 */\nimport { LitElement } from 'lit-element';\nimport ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './image.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Image item.\n *\n * @element dds-image-item\n */\n\n@customElement(`${ddsPrefix}-image-item`)\nclass DDSImageItem extends StableSelectorMixin(LitElement) {\n static get stableSelector() {\n return `${ddsPrefix}-image-item`;\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 DDSImageItem;\n"],"mappings":";;;;;;;;;;;;;;AAQA,IAAAA,WAAA,GAAAC,OAAA;AAC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AAAC,IAAA,OAAAC,KAAA,CAAAH,IAAA,GAAAI,IAAA,MAAAA,IAAA,GAAAJ,IAAA,EAAAI,IAAA;QAAAF,IAAA,CAAAE,IAAA,IAAA5B,SAAA,CAAA4B,IAAA;MAAA;MAAAN,KAAA,GAAAD,MAAA,CAAAb,IAAA,CAAAP,KAAA,CAAAoB,MAAA,SAAAL,MAAA,CAAAU,IAAA;MAAAT,WAAA,KAAAY,uBAAA,aAAAP,KAAA;MAAA,OAAAA,KAAA;IAAA;IAAA,WAAAQ,aAAA,aAAAjB,YAAA;EAAA,EAAAK,oBAAA;EAAA;IAAAa,CAAA,EAAZlB,YAAY;IAAAmB,CAAA;MAAAC,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,EAChB,SAAAC,eAAA,EAA4B;QAC1B,UAAApB,MAAA,CAAUN,SAAS;MACrB;IAAC;MAAAuB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeE,oBAAM;MAAA;IAAA;EAAA;AAAA,GALG,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AAQ1D;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"image-item.js","names":["_litElement","require","_settings","_interopRequireDefault","_stableSelector","_imageCss","_carbonElement","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","ddsPrefix","ddsSettings","stablePrefix","DDSImageItem","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/image/image-item.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 */\nimport { LitElement } from 'lit-element';\nimport ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport styles from './image.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Image item.\n *\n * @element dds-image-item\n */\n\n@customElement(`${ddsPrefix}-image-item`)\nclass DDSImageItem extends StableSelectorMixin(LitElement) {\n static get stableSelector() {\n return `${ddsPrefix}-image-item`;\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 DDSImageItem;\n"],"mappings":";;;;;;;;;;;;;;AAQA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,eAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAAgI,SAAAM,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,CA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AACC,sBAAU,CAAC;AAQ1D;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACe5B,YAAY"}
|
|
@@ -331,11 +331,10 @@ declare const DDSImage_base: {
|
|
|
331
331
|
_createAndRenderModal(): void;
|
|
332
332
|
renderModal(): void | import("lit-element").TemplateResult;
|
|
333
333
|
modalRenderRoot: void | Element | null;
|
|
334
|
+
modalTriggerProps: string[];
|
|
334
335
|
readonly container: any;
|
|
335
336
|
createModalRenderRoot(): void | Element | null;
|
|
336
|
-
connectedCallback(): void;
|
|
337
|
-
* The handle for the listener of `${ddsPrefix}-expressive-modal-closed` event.
|
|
338
|
-
*/
|
|
337
|
+
connectedCallback(): void;
|
|
339
338
|
disconnectedCallback(): void;
|
|
340
339
|
update(changedProperties: any): void;
|
|
341
340
|
accessKey: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["components/image/image.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAkB,UAAU,EAAS,MAAM,aAAa,CAAC;AAMhE,OAAO,sCAAsC,CAAC;AAC9C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,gDAAgD,CAAC;AACxD,OAAO,kBAAkB,CAAC
|
|
1
|
+
{"version":3,"sources":["components/image/image.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAkB,UAAU,EAAS,MAAM,aAAa,CAAC;AAMhE,OAAO,sCAAsC,CAAC;AAC9C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,gDAAgD,CAAC;AACxD,OAAO,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,OAAO,SAAM;IAGb,iCAAiC,SAAmC;IAEpE;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,IAAI,UAAS;IAEb,gBAAgB;IAShB,iBAAiB;IAWjB,oBAAoB;IAOpB,WAAW;IAqCX,WAAW;IAiBX,MAAM;IA+BN;;OAEG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED,MAAM,KAAK,cAAc,WAExB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAGD,eAAe,QAAQ,CAAC","file":"image.d.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, state } from 'lit-element';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport on from 'carbon-components/es/globals/js/misc/on.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 '../expressive-modal/expressive-modal';\nimport '../expressive-modal/expressive-modal-close-button';\nimport '../lightbox-media-viewer/lightbox-image-viewer';\nimport '../button/button';\nimport ZoomIn20 from '../../internal/vendor/@carbon/web-components/icons/zoom--in/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './image.scss';\nimport ModalRenderMixin from '../../globals/mixins/modal-render';\nimport Handle from '../../globals/internal/handle';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * Image.\n *\n * @element dds-image\n * @slot long-description - The long description content.\n * @slot icon - The icon content.\n */\n@customElement(`${ddsPrefix}-image`)\nclass DDSImage extends StableSelectorMixin(\n ModalRenderMixin(FocusMixin(LitElement))\n) {\n /**\n * The image data, harvested from `<dds-image-item>`.\n */\n @state()\n private _images: HTMLElement[] = [];\n\n /**\n * Handles `slotchange` event.\n */\n private _handleSlotChange({ target }: Event) {\n const { selectorItem } = this.constructor as typeof DDSImage;\n this._images = (target as HTMLSlotElement)\n .assignedNodes()\n // Supports `<dds-image><slot></slot></dds-image>` rendered in shadow DOM\n .reduce((acc, node) => {\n if ((node as Element).tagName === 'SLOT') {\n acc.push(...(node as HTMLSlotElement).assignedNodes());\n } else {\n acc.push(node);\n }\n return acc;\n }, [] as Node[])\n .filter(\n (node) =>\n node.nodeType === Node.ELEMENT_NODE &&\n (node as Element).matches(selectorItem)\n ) as HTMLElement[];\n }\n\n /**\n * `true` handles re-opening after model is closed\n *\n * @private\n */\n private _handleClick() {\n this.open = true;\n }\n\n /**\n * The handler of `${ddsPrefix}-expressive-modal-closed` event from `<dds-expressive-modal>`.\n */\n private _handleCloseModal = () => {\n this.open = false;\n };\n\n /**\n * The handle for the listener of `${ddsPrefix}-expressive-modal-closed` event.\n */\n private _hCloseModal: Handle | null = null;\n\n /**\n * The alternate text.\n */\n @property()\n alt = '';\n\n /**\n * The image source.\n */\n @property({ attribute: 'default-src' })\n defaultSrc = '';\n\n /**\n * Whether or not to apply a border around the image.\n */\n @property({ type: Boolean, reflect: true })\n border = false;\n\n /**\n * The lightbox.\n */\n @property({ type: Boolean, reflect: true })\n lightbox = false;\n\n /**\n * The heading.\n */\n @property()\n heading = '';\n\n @property({ attribute: 'launch-lightbox-button-assistive-text' })\n launchLightboxButtonAssistiveText = 'launch light box media viewer';\n\n /**\n * The description.\n */\n @property()\n copy = '';\n\n /**\n * `true` if the modal should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\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 connectedCallback() {\n super.connectedCallback();\n this.modalRenderRoot = this.createModalRenderRoot(); // Creates modal render root up-front to hook the event listener\n // Manually hooks the event listeners on the modal render root to make the event names configurable\n this._hCloseModal = on(\n this.modalRenderRoot,\n (this.constructor as typeof DDSImage).eventCloseModal,\n this._handleCloseModal as EventListener\n );\n }\n\n disconnectedCallback() {\n if (this._hCloseModal) {\n this._hCloseModal = this._hCloseModal.release();\n }\n super.disconnectedCallback();\n }\n\n renderImage() {\n const {\n alt,\n border,\n defaultSrc,\n _images: images,\n _handleSlotChange: handleSlotChange,\n } = this;\n const imgClasses = classMap({\n [`${prefix}--image__img`]: true,\n [`${prefix}--image__img--border`]: border,\n });\n\n return html`\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <picture>\n ${images.map(\n (image) =>\n html`<source media=\"${image.getAttribute(\n 'media'\n )}\" srcset=\"${image.getAttribute('srcset')}\"></source>`\n )}\n <img\n class=\"${imgClasses}\"\n src=\"${defaultSrc}\"\n alt=\"${alt}\"\n aria-describedby=\"image-caption long-description\"\n part=\"image\"\n loading=\"lazy\" />\n </picture>\n <div id=\"long-description\" class=\"${prefix}--image__longdescription\">\n <slot name=\"long-description\"></slot>\n </div>\n <slot name=\"icon\"></slot>\n `;\n }\n\n renderModal() {\n const { alt, copy, defaultSrc, heading, lightbox, open } = this;\n return !lightbox\n ? undefined\n : html`\n <dds-expressive-modal ?open=\"${open}\" expressive-size=\"full-width\">\n <dds-expressive-modal-close-button></dds-expressive-modal-close-button>\n <dds-lightbox-image-viewer\n alt=\"${ifNonNull(alt)}\"\n default-src=\"${ifNonNull(defaultSrc)}\"\n description=\"${ifNonNull(copy)}\"\n title=\"${ifNonNull(heading)}\">\n </dds-lightbox-image-viewer>\n </dds-expressive-modal>\n `;\n }\n\n render() {\n const {\n heading,\n launchLightboxButtonAssistiveText,\n lightbox,\n _handleClick: handleClick,\n } = this;\n return html`\n ${lightbox\n ? html`\n <button\n class=\"${prefix}--image-with-caption__image\"\n aria-label=\"${ifNonNull(launchLightboxButtonAssistiveText)}\"\n @click=\"${handleClick}\">\n ${this.renderImage()}\n <div class=\"${prefix}--image-with-caption__zoom-button\">\n ${ZoomIn20()}\n </div>\n </button>\n `\n : html` ${this.renderImage()} `}\n ${heading\n ? html`\n <p id=\"image-caption\" class=\"${prefix}--image__caption\">\n ${heading}\n </p>\n `\n : ``}\n `;\n }\n\n /**\n * The name of the custom event fired after the modal is closed upon a user gesture.\n */\n static get eventCloseModal() {\n return `${ddsPrefix}-expressive-modal-closed`;\n }\n\n /**\n * A selector that will return image items.\n */\n static get selectorItem() {\n return `${ddsPrefix}-image-item`;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--image`;\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 DDSImage;\n"]}
|
|
@@ -335,6 +335,5 @@ var DDSImage = (0, _decorate2["default"])([(0, _carbonElement.carbonElement)("".
|
|
|
335
335
|
};
|
|
336
336
|
}, (0, _stableSelector["default"])((0, _modalRender["default"])((0, _focus["default"])(_litElement.LitElement))));
|
|
337
337
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
338
|
-
var _default = DDSImage;
|
|
339
|
-
exports["default"] = _default;
|
|
338
|
+
var _default = exports["default"] = DDSImage;
|
|
340
339
|
//# sourceMappingURL=image.js.map
|