@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
|
@@ -36,8 +36,8 @@ var _stableSelector = _interopRequireDefault(require("../../globals/mixins/stabl
|
|
|
36
36
|
require("./search-with-typeahead-item.js");
|
|
37
37
|
var _carbonElement = require("../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js");
|
|
38
38
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
|
|
39
|
-
function _getRequireWildcardCache(
|
|
40
|
-
function _interopRequireWildcard(
|
|
39
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
40
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
41
41
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
42
42
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
|
|
43
43
|
* @license
|
|
@@ -295,7 +295,7 @@ var DDSSearchWithTypeahead = (0, _decorate2["default"])([(0, _carbonElement.carb
|
|
|
295
295
|
while (1) switch (_context3.prev = _context3.next) {
|
|
296
296
|
case 0:
|
|
297
297
|
if (this.leadspaceSearch) {
|
|
298
|
-
(_this$_closeButtonNod = this._closeButtonNode) === null || _this$_closeButtonNod === void 0
|
|
298
|
+
(_this$_closeButtonNod = this._closeButtonNode) === null || _this$_closeButtonNod === void 0 || _this$_closeButtonNod.classList.add("".concat(prefix, "--header__search--hide"));
|
|
299
299
|
}
|
|
300
300
|
this._handleUserInitiatedToggleActiveState(false);
|
|
301
301
|
case 2:
|
|
@@ -322,7 +322,7 @@ var DDSSearchWithTypeahead = (0, _decorate2["default"])([(0, _carbonElement.carb
|
|
|
322
322
|
this._handleUserInitiatedToggle();
|
|
323
323
|
if (this._searchInputNode.value && this.leadspaceSearch) {
|
|
324
324
|
var _this$_closeButtonNod2;
|
|
325
|
-
(_this$_closeButtonNod2 = this._closeButtonNode) === null || _this$_closeButtonNod2 === void 0
|
|
325
|
+
(_this$_closeButtonNod2 = this._closeButtonNode) === null || _this$_closeButtonNod2 === void 0 || _this$_closeButtonNod2.classList.remove("".concat(prefix, "--header__search--hide"));
|
|
326
326
|
}
|
|
327
327
|
} else {
|
|
328
328
|
var item = event.target.closest(this.constructor.selectorItem);
|
|
@@ -602,17 +602,17 @@ var DDSSearchWithTypeahead = (0, _decorate2["default"])([(0, _carbonElement.carb
|
|
|
602
602
|
if (value) {
|
|
603
603
|
var _this$_closeButtonNod3;
|
|
604
604
|
this.open = true;
|
|
605
|
-
if (this.leadspaceSearch) (_this$_closeButtonNod3 = this._closeButtonNode) === null || _this$_closeButtonNod3 === void 0
|
|
605
|
+
if (this.leadspaceSearch) (_this$_closeButtonNod3 = this._closeButtonNode) === null || _this$_closeButtonNod3 === void 0 || _this$_closeButtonNod3.classList.remove("".concat(prefix, "--header__search--hide"));
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
// accomodate search results box's width with the scope dropdown
|
|
609
609
|
if (gridBreakpoint < document.body.clientWidth && this._searchSuggestions && this.scopeParameters) {
|
|
610
|
-
var _this$shadowRoot, _this$_searchSuggesti
|
|
610
|
+
var _this$shadowRoot, _this$_searchSuggesti;
|
|
611
611
|
var scopeBarWidth = ((_this$shadowRoot = this.shadowRoot) === null || _this$shadowRoot === void 0 ? void 0 : _this$shadowRoot.querySelector('dds-scoped-search-dropdown')).offsetWidth;
|
|
612
|
-
(_this$_searchSuggesti = this._searchSuggestions) === null || _this$_searchSuggesti === void 0
|
|
612
|
+
(_this$_searchSuggesti = this._searchSuggestions) === null || _this$_searchSuggesti === void 0 || (_this$_searchSuggesti = _this$_searchSuggesti.parentElement) === null || _this$_searchSuggesti === void 0 || _this$_searchSuggesti.setAttribute('style', "left: ".concat(scopeBarWidth, "px; width: calc(100% - ").concat(scopeBarWidth, "px);"));
|
|
613
613
|
} else {
|
|
614
|
-
var _this$
|
|
615
|
-
(_this$
|
|
614
|
+
var _this$_searchSuggesti2;
|
|
615
|
+
(_this$_searchSuggesti2 = this._searchSuggestions) === null || _this$_searchSuggesti2 === void 0 || (_this$_searchSuggesti2 = _this$_searchSuggesti2.parentElement) === null || _this$_searchSuggesti2 === void 0 || _this$_searchSuggesti2.removeAttribute('style');
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
|
|
@@ -999,20 +999,20 @@ var DDSSearchWithTypeahead = (0, _decorate2["default"])([(0, _carbonElement.carb
|
|
|
999
999
|
if (changedProperties.has('searchResults')) {
|
|
1000
1000
|
var _this$shadowRoot2;
|
|
1001
1001
|
var titleElements = (_this$shadowRoot2 = this.shadowRoot) === null || _this$shadowRoot2 === void 0 ? void 0 : _this$shadowRoot2.querySelectorAll('dds-search-with-typeahead-item[groupTitle]');
|
|
1002
|
-
titleElements === null || titleElements === void 0
|
|
1002
|
+
titleElements === null || titleElements === void 0 || titleElements.forEach(function (e) {
|
|
1003
1003
|
var _e$previousElementSib;
|
|
1004
|
-
(_e$previousElementSib = e.previousElementSibling) === null || _e$previousElementSib === void 0
|
|
1004
|
+
(_e$previousElementSib = e.previousElementSibling) === null || _e$previousElementSib === void 0 || _e$previousElementSib.setAttribute('lastBeforeGroup', '');
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
1007
1007
|
if (changedProperties.has('appId')) {
|
|
1008
1008
|
var _this$scopeParameters;
|
|
1009
1009
|
if (gridBreakpoint < document.body.clientWidth && this._searchSuggestions && this.scopeParameters) {
|
|
1010
|
-
var _this$shadowRoot3, _this$
|
|
1010
|
+
var _this$shadowRoot3, _this$_searchSuggesti3;
|
|
1011
1011
|
var scopeBarWidth = ((_this$shadowRoot3 = this.shadowRoot) === null || _this$shadowRoot3 === void 0 ? void 0 : _this$shadowRoot3.querySelector('dds-scoped-search-dropdown')).offsetWidth;
|
|
1012
|
-
(_this$
|
|
1012
|
+
(_this$_searchSuggesti3 = this._searchSuggestions) === null || _this$_searchSuggesti3 === void 0 || (_this$_searchSuggesti3 = _this$_searchSuggesti3.parentElement) === null || _this$_searchSuggesti3 === void 0 || _this$_searchSuggesti3.setAttribute('style', "left: ".concat(scopeBarWidth, "px; width: calc(100% - ").concat(scopeBarWidth, "px);"));
|
|
1013
1013
|
} else {
|
|
1014
|
-
var _this$
|
|
1015
|
-
(_this$
|
|
1014
|
+
var _this$_searchSuggesti4;
|
|
1015
|
+
(_this$_searchSuggesti4 = this._searchSuggestions) === null || _this$_searchSuggesti4 === void 0 || (_this$_searchSuggesti4 = _this$_searchSuggesti4.parentElement) === null || _this$_searchSuggesti4 === void 0 || _this$_searchSuggesti4.removeAttribute('style');
|
|
1016
1016
|
}
|
|
1017
1017
|
if (!this.customTypeaheadAPI) {
|
|
1018
1018
|
this.getResults(this.value).then(function (res) {
|
|
@@ -1144,6 +1144,5 @@ var DDSSearchWithTypeahead = (0, _decorate2["default"])([(0, _carbonElement.carb
|
|
|
1144
1144
|
};
|
|
1145
1145
|
}, (0, _hostListener2["default"])((0, _stableSelector["default"])(_dropdown["default"])));
|
|
1146
1146
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
1147
|
-
var _default = DDSSearchWithTypeahead;
|
|
1148
|
-
exports["default"] = _default;
|
|
1147
|
+
var _default = exports["default"] = DDSSearchWithTypeahead;
|
|
1149
1148
|
//# sourceMappingURL=search-with-typeahead.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-with-typeahead.js","names":["_ifNonNull","_interopRequireDefault","require","_classMap","_litElement","_settings","_","_2","_dropdown","_interopRequireWildcard","_hostListener","_hostListener2","_layout","_settings2","_SearchTypeahead","_collectionHelpers","_searchWithTypeaheadCss","_stableSelector","_carbonElement","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_templateObject10","_templateObject11","_templateObject12","_templateObject13","_templateObject14","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","valueOf","e","ddsPrefix","ddsSettings","stablePrefix","prefix","settings","gridBreakpoint","parseFloat","breakpoints","lg","width","baseFontSize","DDSSearchWithTypeahead","_decorate2","customElement","concat","_initialize","_HostListenerMixin","_HostListenerMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","value","_getResults","_asyncToGenerator2","_regenerator","mark","_callee","searchQuery","response","wrap","_callee$","_context","prev","next","SearchTypeaheadAPI","getResults","appId","sent","abrupt","map","res","stop","_x","decorators","property","attribute","_ref","type","reflect","query","HostListener","_this2","_ref3","_callee2","_ref2","target","_callee2$","_context2","_searchSuggestions","_searchInputNode","removeAttribute","_searchButtonNode","_closeButtonNode","setAttribute","_x2","_handleClickCloseButton2","_callee3","_this$_closeButtonNod","_callee3$","_context3","leadspaceSearch","classList","add","_handleUserInitiatedToggleActiveState","_handleClickCloseButton","_handleClickInner","event","closest","_handleUserInitiatedToggle","_this$_closeButtonNod2","remove","item","selectorItem","shadowRoot","contains","hasAttribute","_handleUserInitiatedSelectItem","_handleClickSearchButton2","_callee4","active","_callee4$","_context4","_handleUserInitiatedRedirect","_handleClickSearchButton","_handleUserInitiatedToggleActiveState2","_callee5","moveFocus","searchInputNode","_ref4","eventInput","eventToggle","_args5","_callee5$","_context5","undefined","dispatchEvent","CustomEvent","bubbles","composed","cancelable","detail","shouldRemainOpen","searchResults","groupedResults","updateComplete","focus","_x3","_handleKeyInput","getAction","DROPDOWN_KEYBOARD_ACTION","NONE","stopPropagation","_this$_searchInputNod","_ref5","targetQuery","targetHref","_ref6","eventBeforeRedirect","language","redirectUrl","_language$split","split","_language$split2","_slicedToArray2","primary","country","tokens","base","shift","searchParams","URLSearchParams","join","append","scopeValue","scopeLabel","_this$scopeLabel","redirectUrlWithSearch","toString","_redirect","_handleFocusOut","_get2","_this3","customTypeaheadAPI","_event$detail","slice","_this4","_targetScope","_targetScope$label","targetScope","scopeParameters","forEach","scope","isArray","word","trim","label","_handleInput","_this5","_ref7","items","querySelectorAll","then","_this$_closeButtonNod3","open","document","body","clientWidth","_this$shadowRoot","_this$_searchSuggesti","_this$_searchSuggesti2","scopeBarWidth","querySelector","offsetWidth","parentElement","_this$_searchSuggesti3","_this$_searchSuggesti4","_handleSubmit","_ref8","_ref9","selectorItemHighlighted","highlightedItem","preventDefault","text","href","_handleKeypressInner","action","TRIGGERING","ownerDocument","defaultView","location","assign","_navigate","direction","highlightedIndex","indexOf","nextIndex","i","highlighted","nextItem","scrollIntoView","block","nextItemText","_assistiveStatusText","requestUpdate","_renderTriggerContent","searchPlaceholder","searchLabel","handleInput","handleKeyInput","html","_taggedTemplateLiteral2","ifNonNull","_handleClickItem","_renderForm","assistiveStatusText","handleClickInner","handleKeydownInner","_handleKeydownInner","handleKeypressInner","handleSubmit","_language$split3","_language$split4","classes","classMap","name","group","title","_selectionShouldChange","searchQueryString","_this$_searchInputNod2","_this$_searchInputNod3","_setSearchParam","URLParams","search","searchParam","searchOpenOnload","firstUpdated","updated","changedProperties","_this6","_this$shadowRoot2","titleElements","_e$previousElementSib","previousElementSibling","_this$scopeParameters","_this$shadowRoot3","_this$_searchSuggesti5","_this$_searchSuggesti6","_this$_searchSuggesti7","_this$_searchSuggesti8","newPlaceholder","placeholderFormatter","filter","performSearchButtonAssistiveText","render","closeSearchButtonAssistiveText","openSearchButtonAssistiveText","handleClickCloseButton","handleClickSearchButton","handleClickItem","searchButtonAssistiveText","Search20","Close20","part","role","eventSelectScope","eventCustomResults","stableSelector","styles","HostListenerMixin","StableSelectorMixin","BXDropdown","_default","exports"],"sources":["components/search-with-typeahead/search-with-typeahead.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 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 ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport { html, property, query } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport Close20 from '../../internal/vendor/@carbon/web-components/icons/close/20.js';\nimport Search20 from '../../internal/vendor/@carbon/web-components/icons/search/20.js';\nimport BXDropdown, {\n DROPDOWN_KEYBOARD_ACTION,\n} from '../../internal/vendor/@carbon/web-components/components/dropdown/dropdown.js';\nimport BXDropdownItem from '../../internal/vendor/@carbon/web-components/components/dropdown/dropdown-item.js';\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 { baseFontSize, breakpoints } from '@carbon/layout';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport SearchTypeaheadAPI from '../../internal/vendor/@carbon/ibmdotcom-services/services/SearchTypeahead/SearchTypeahead';\nimport { forEach, indexOf } from '../../globals/internal/collection-helpers';\nimport styles from './search-with-typeahead.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport './search-with-typeahead-item';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\nconst { prefix } = settings;\nconst gridBreakpoint = parseFloat(breakpoints.lg.width) * baseFontSize;\n\n/**\n * Search with Typeahead\n *\n * @element dds-search-with-typeahead\n * @csspart open-button The button to show the search box.\n * @csspart close-button The button to hide the search box.\n * @csspart search-input The input box for search.\n * @fires dds-search-with-typeahead-beingredirected\n * The custom event fired before the page is being redirected to the search result page.\n * Cancellation of this event stops the user-initiated action of redirection.\n * @fires dds-search-with-typeahead-input\n * The name of the custom event fired after the search content is changed upon a user gesture.\n * @fires dds-search-with-typeahead-toggled\n * The name of the custom event fired after this search box is toggled upon a user gesture.\n */\n@customElement(`${ddsPrefix}-search-with-typeahead`)\nclass DDSSearchWithTypeahead extends HostListenerMixin(\n StableSelectorMixin(BXDropdown)\n) {\n // eslint-disable-next-line class-methods-use-this\n async getResults(searchQuery) {\n const response = await SearchTypeaheadAPI.getResults(\n searchQuery,\n this.appId\n );\n return response.map((res) => res[0]);\n }\n\n /**\n * The formatter for the placeholder text on the search box.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n placeholderFormatter = ({ appId }) => `Search in ${appId}`;\n\n @property({ attribute: 'leadspace-search', type: Boolean })\n leadspaceSearch = false;\n\n @property({ attribute: 'custom-typeahead-api', type: Boolean })\n customTypeaheadAPI = false;\n\n @property()\n currentSearchResults;\n\n @property()\n searchResults;\n\n @property()\n groupedResults;\n\n @property({ attribute: 'scope-parameters' })\n scopeParameters;\n\n @property({ attribute: 'should-remain-open', type: Boolean })\n shouldRemainOpen = false;\n\n @property({ attribute: 'appid', reflect: true })\n appId;\n\n @property({ attribute: 'scope-label', reflect: true })\n scopeLabel;\n\n @property({ attribute: 'scope-value', reflect: true })\n scopeValue;\n\n /**\n * The `<button>` to open the search box.\n */\n @query(`.${prefix}--header__search--search`)\n private _searchButtonNode!: HTMLButtonElement;\n\n /**\n * The `<button>` to open the search box.\n */\n @query(`.${prefix}--header__search--close`)\n private _closeButtonNode!: HTMLButtonElement;\n\n /**\n * The `<input>` of the search box.\n */\n @query(`.${prefix}--header__search--input`)\n private _searchInputNode!: HTMLInputElement;\n\n /**\n * The `<ul>` containing the search suggestions.\n */\n @query(`.react-autosuggest__suggestions-list`)\n private _searchSuggestions!: HTMLElement;\n\n /**\n * Handles hiding search suggestions if focusing on other buttons.\n *\n * @param event The event.\n */\n @HostListener('shadowRoot:focusin')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocus = async ({ target }: FocusEvent) => {\n if (!this._searchSuggestions) return;\n\n if (target === this._searchInputNode) {\n this._searchSuggestions.removeAttribute('hidden');\n } else if (target === (this._searchButtonNode || this._closeButtonNode)) {\n this._searchSuggestions.setAttribute('hidden', '');\n }\n\n if (target === this._closeButtonNode) {\n this.setAttribute('unfocused', '');\n } else {\n this.removeAttribute('unfocused');\n }\n };\n\n /**\n * Handles `click` event on the close button.\n */\n private async _handleClickCloseButton() {\n if (this.leadspaceSearch) {\n this._closeButtonNode?.classList.add(`${prefix}--header__search--hide`);\n }\n this._handleUserInitiatedToggleActiveState(false);\n }\n\n /**\n * Handles `click` event on the top-level element in the shadow DOM.\n *\n * @param event The event.\n */\n protected _handleClickInner(event: MouseEvent) {\n if (\n (event.target as HTMLElement).closest('.bx--header__search--input') ===\n event.target\n ) {\n this._handleUserInitiatedToggle();\n if (this._searchInputNode.value && this.leadspaceSearch) {\n this._closeButtonNode?.classList.remove(\n `${prefix}--header__search--hide`\n );\n }\n } else {\n const item = (event.target as Element).closest(\n (this.constructor as typeof BXDropdown).selectorItem\n ) as BXDropdownItem;\n if (this.shadowRoot!.contains(item) && !item.hasAttribute('groupTitle')) {\n this._handleUserInitiatedSelectItem(item);\n }\n }\n }\n\n /**\n * Handles `click` event on the search button.\n */\n private async _handleClickSearchButton() {\n const { active } = this;\n\n if (active) {\n if (this._searchInputNode.value) {\n this._handleUserInitiatedRedirect();\n }\n } else {\n this._handleUserInitiatedToggleActiveState(true);\n }\n }\n\n /**\n * Handles user-initiated toggling of activated state of the search box.\n *\n * @param active `true` to activate the search box.\n * @param moveFocus\n * `true` to move focus upon toggling, to the input box when activated, to the trigger button when deactivated.\n */\n private async _handleUserInitiatedToggleActiveState(\n active,\n moveFocus = true\n ) {\n if (active === this.active) {\n return;\n }\n const { _searchInputNode: searchInputNode } = this;\n const { eventInput, eventToggle } = this\n .constructor as typeof DDSSearchWithTypeahead;\n if (!active && searchInputNode.value) {\n searchInputNode.value = '';\n this.dispatchEvent(\n new CustomEvent(eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: '',\n },\n })\n );\n }\n this.active = this.shouldRemainOpen ? true : !this.active;\n this.searchResults = [];\n this.groupedResults = [];\n\n this.dispatchEvent(\n new CustomEvent(eventToggle, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n active,\n },\n })\n );\n await this.updateComplete;\n if (moveFocus) {\n // Does not reuse destructed `searchInputNode` given it's `null` before expanded\n (this.active ? this._searchInputNode : this._searchButtonNode).focus();\n }\n }\n\n /**\n * Prevents key types in the `<input>` causing other keyboard shortcuts in application UI.\n *\n * @param event The event.\n */\n private _handleKeyInput(event: KeyboardEvent) {\n if (\n (this.constructor as typeof DDSSearchWithTypeahead).getAction(\n event.key\n ) === DROPDOWN_KEYBOARD_ACTION.NONE\n ) {\n event.stopPropagation();\n }\n }\n\n /**\n * Handles user-initiated redirect to the search query page.\n *\n * @param [options] The options.\n * @param [options.targetQuery] The query string the search query page should be of.\n * @param [options.targetHref] The href string to be redirected to.\n */\n private _handleUserInitiatedRedirect({\n targetQuery,\n targetHref,\n }: { targetQuery?: string; targetHref?: string } = {}) {\n const { eventBeforeRedirect, eventInput } = this\n .constructor as typeof DDSSearchWithTypeahead;\n const { language, redirectUrl } = this;\n const [primary, country] = language.split('-');\n const tokens = redirectUrl.split('?');\n const base = tokens.shift();\n const searchParams = new URLSearchParams(tokens.join('?'));\n // Setting `this._searchInputNode?.value` as the default value of `targetQuery` seems to cause a Babel bug\n searchParams.append('q', targetQuery ?? this._searchInputNode?.value);\n searchParams.append('lang', primary);\n searchParams.append('cc', country);\n\n this.dispatchEvent(\n new CustomEvent(eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: targetQuery,\n },\n })\n );\n\n if (this.appId) {\n searchParams.append('scope-domain', 'scope');\n searchParams.append('scope-value', this.scopeValue);\n searchParams.append('scope-type', this.appId);\n\n if (this.scopeLabel) {\n searchParams.append('scope-label', this.scopeLabel ?? '');\n }\n }\n\n const redirectUrlWithSearch = targetHref\n ? `${targetHref}`\n : `${base}?${searchParams.toString()}`;\n if (\n this.dispatchEvent(\n new CustomEvent(eventBeforeRedirect, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n redirectUrl: redirectUrlWithSearch,\n },\n })\n )\n ) {\n this._redirect(redirectUrlWithSearch);\n }\n }\n\n /**\n * Handles component reset if focusing outside.\n *\n * @param event The event.\n */\n @HostListener('focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n protected _handleFocusOut(event: FocusEvent) {\n super._handleFocusOut(event);\n }\n\n /**\n * Handles search results when using a custom API.\n *\n * @param event The event.\n */\n @HostListener('document:eventCustomResults')\n protected _handleCustomResults = (event: CustomEvent) => {\n if (this.customTypeaheadAPI) {\n [this.searchResults] = event.detail;\n this.groupedResults = event.detail.slice(1);\n }\n };\n\n /**\n * Queries scoped search suggestions.\n *\n * @param event The event.\n */\n @HostListener('document:eventSelectScope')\n protected _handleScopeSelect = (event: CustomEvent) => {\n this.appId = event.detail.appId;\n let targetScope;\n this.scopeParameters.forEach((scope) => {\n if (scope.appId === this.appId) {\n targetScope = scope;\n }\n });\n\n this.scopeValue = Array.isArray(targetScope?.value)\n ? `[${targetScope.value\n .toString()\n .split(',')\n .map((word) => `\"${word.trim()}\"`)\n .join(',')}]`\n : targetScope.value;\n this.scopeLabel = targetScope.label ?? '';\n };\n\n /**\n * Handles `input` event in the search input.\n */\n private _handleInput(event: InputEvent) {\n const { target } = event;\n const { value } = target as HTMLInputElement;\n this.removeAttribute('unfocused');\n\n const items = this.shadowRoot!.querySelectorAll(\n (this.constructor as typeof BXDropdown).selectorItem\n );\n items.forEach((e) => {\n if (e.hasAttribute('highlighted')) {\n this.setAttribute('unfocused', '');\n }\n });\n\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof DDSSearchWithTypeahead).eventInput,\n {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value,\n },\n }\n )\n );\n this.value = value;\n\n if (!this.customTypeaheadAPI) {\n this.getResults(value).then((res) => {\n this.searchResults = res;\n });\n }\n\n if (value) {\n this.open = true;\n if (this.leadspaceSearch)\n this._closeButtonNode?.classList.remove(\n `${prefix}--header__search--hide`\n );\n }\n\n // accomodate search results box's width with the scope dropdown\n if (\n gridBreakpoint < document.body.clientWidth &&\n this._searchSuggestions &&\n this.scopeParameters\n ) {\n const scopeBarWidth = (\n this.shadowRoot?.querySelector(\n 'dds-scoped-search-dropdown'\n ) as HTMLElement\n ).offsetWidth;\n (this._searchSuggestions?.parentElement as HTMLElement)?.setAttribute(\n 'style',\n `left: ${scopeBarWidth}px; width: calc(100% - ${scopeBarWidth}px);`\n );\n } else {\n (this._searchSuggestions?.parentElement as HTMLElement)?.removeAttribute(\n 'style'\n );\n }\n }\n\n /**\n * Prevents form submission if there is a highlighted item.\n * In such case, `._handleUserInitiatedRedirect()` should have navigated the user to the search result page.\n *\n * @param event The event.\n */\n private _handleSubmit(event: Event) {\n const { eventBeforeRedirect } = this\n .constructor as typeof DDSSearchWithTypeahead;\n const { selectorItemHighlighted } = this.constructor as typeof BXDropdown;\n const highlightedItem = this.shadowRoot!.querySelector(\n selectorItemHighlighted\n ) as BXDropdownItem;\n if (highlightedItem || !this._searchInputNode.value) {\n event.preventDefault();\n }\n if (\n !this.dispatchEvent(\n new CustomEvent(eventBeforeRedirect, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n redirectUrl: this.redirectUrl,\n },\n })\n )\n ) {\n event.preventDefault();\n }\n }\n\n protected _handleUserInitiatedSelectItem(item?: BXDropdownItem) {\n if (item) {\n this._searchInputNode.value = (item as unknown as any).text;\n this._handleUserInitiatedRedirect({\n targetQuery: (item as unknown as any).text,\n targetHref: (item as unknown as any).href,\n });\n }\n }\n\n /**\n * Handler for the `keypress` event on the top-level element in the shadow DOM.\n */\n protected _handleKeypressInner(event: KeyboardEvent) {\n const { key } = event;\n const action = (this.constructor as typeof BXDropdown).getAction(key);\n if (!this.open) {\n switch (action) {\n case DROPDOWN_KEYBOARD_ACTION.TRIGGERING:\n this._handleUserInitiatedToggle(true);\n break;\n default:\n break;\n }\n } else {\n switch (action) {\n case DROPDOWN_KEYBOARD_ACTION.TRIGGERING:\n {\n const constructor = this.constructor as typeof BXDropdown;\n const highlightedItem = this.shadowRoot!.querySelector(\n constructor.selectorItemHighlighted\n ) as BXDropdownItem;\n if (highlightedItem) {\n this._handleUserInitiatedSelectItem(highlightedItem);\n } else {\n this._handleUserInitiatedToggle(false);\n }\n }\n break;\n default:\n break;\n }\n }\n }\n\n /**\n * Redirects the page to the given target.\n *\n * @param target The target URL.\n */\n private _redirect(target) {\n this.ownerDocument!.defaultView!.location.assign(target);\n }\n\n /**\n * Navigate through dropdown items.\n *\n * @param direction `-1` to navigate backward, `1` to navigate forward.\n */\n protected _navigate(direction: number) {\n const constructor = this.constructor as typeof DDSSearchWithTypeahead;\n const items = this.shadowRoot!.querySelectorAll(constructor.selectorItem);\n const highlightedItem = this.shadowRoot!.querySelector(\n constructor.selectorItemHighlighted\n );\n const highlightedIndex = indexOf(items, highlightedItem!);\n let nextIndex = highlightedIndex + direction;\n\n if (items[nextIndex] && items[nextIndex].hasAttribute('groupTitle')) {\n nextIndex += direction;\n }\n\n if (nextIndex < 0) {\n nextIndex = items.length - 1;\n }\n if (nextIndex >= items.length) {\n nextIndex = 0;\n }\n forEach(items, (item, i) => {\n (item as BXDropdownItem).highlighted = i === nextIndex;\n });\n\n this.setAttribute('unfocused', '');\n\n const nextItem = items[nextIndex];\n // Using `{ block: 'nearest' }` to prevent scrolling unless scrolling is absolutely necessary.\n // `scrollIntoViewOptions` seems to work in latest Safari despite of MDN/caniuse table.\n // IE falls back to the old behavior.\n nextItem.scrollIntoView({ block: 'nearest' });\n\n // @ts-ignore: TS does not believe nextItem has a text object\n const nextItemText = nextItem.text;\n if (nextItemText) {\n this._assistiveStatusText = nextItemText;\n }\n this.requestUpdate();\n }\n\n /**\n * @returns The main content of the trigger button.\n */\n protected _renderTriggerContent() {\n const {\n searchPlaceholder,\n searchLabel,\n _handleInput: handleInput,\n _handleKeyInput: handleKeyInput,\n } = this;\n return html`\n <input\n type=\"text\"\n part=\"search-input\"\n class=\"${prefix}--header__search--input\"\n name=\"q\"\n placeholder=\"${searchPlaceholder}\"\n autocomplete=\"off\"\n aria-controls=\"result-list\"\n aria-autocomplete=\"list\"\n aria-label=\"${ifNonNull(searchLabel)}\"\n @input=\"${handleInput}\"\n @keydown=\"${handleKeyInput}\"\n @keypress=\"${handleKeyInput}\" />\n `;\n }\n\n /**\n * Handles `click` event to redirect based on selected item.\n *\n * @param event The event.\n */\n protected _handleClickItem(event: MouseEvent) {\n const item = (event.target as Element).closest(\n (this.constructor as typeof BXDropdown).selectorItem\n ) as BXDropdownItem;\n if (this.shadowRoot!.contains(item)) {\n this._handleUserInitiatedSelectItem(item);\n }\n }\n\n /**\n * @returns The content of the search box.\n */\n private _renderForm() {\n const {\n active,\n language,\n open,\n redirectUrl,\n searchLabel,\n _assistiveStatusText: assistiveStatusText,\n _handleClickInner: handleClickInner,\n _handleKeydownInner: handleKeydownInner,\n _handleKeypressInner: handleKeypressInner,\n _handleSubmit: handleSubmit,\n } = this;\n if (!active) {\n return undefined;\n }\n const [primary, country] = language.split('-');\n const classes = classMap({\n 'react-autosuggest__container': true,\n 'react-autosuggest__suggestions-container--open': open,\n });\n return html`\n <form\n role=\"search\"\n method=\"get\"\n action=\"${redirectUrl}\"\n @submit=\"${handleSubmit}\">\n <input type=\"hidden\" name=\"lang\" value=\"${primary}\" />\n <input type=\"hidden\" name=\"cc\" value=\"${country}\" />\n <input type=\"hidden\" name=\"lnk\" value=\"mhsrch\" />\n ${this.scopeParameters\n ? html`\n <input type=\"hidden\" name=\"scope-domain\" value=\"scope\" />\n <input type=\"hidden\" name=\"scope-type\" value=\"${this.appId}\" />\n <input\n type=\"hidden\"\n name=\"scope-value\"\n value=\"${this.scopeValue}\" />\n <input\n type=\"hidden\"\n name=\"scope-label\"\n value=\"${this.scopeLabel}\" />\n `\n : ''}\n\n <div\n role=\"combobox\"\n class=\"${classes}\"\n aria-haspopup=\"listbox\"\n aria-owns=\"result-list\"\n aria-expanded=\"${Boolean(this.active)}\"\n aria-label=\"${ifNonNull(searchLabel)}\"\n @click=${handleClickInner}\n @keydown=\"${handleKeydownInner}\"\n @keypress=\"${handleKeypressInner}\">\n ${this.scopeParameters\n ? html`\n <dds-scoped-search-dropdown value=\"${this.appId}\">\n ${this.scopeParameters.map(\n (scope) => html`\n <bx-dropdown-item value=\"${scope.appId}\"\n >${scope.name}</bx-dropdown-item\n >\n `\n )}\n </dds-scoped-search-dropdown>\n\n <dds-scoped-search-dropdown-mobile value=\"${this.appId}\">\n ${this.scopeParameters.map(\n (scope) => html`\n <bx-select-item\n label=\"${scope.name}\"\n value=\"${scope.appId}\"\n >${scope.name}</bx-select-item\n >\n `\n )}\n </dds-scoped-search-dropdown-mobile>\n `\n : ``}\n ${this._renderTriggerContent()}\n ${!this.leadspaceSearch\n ? html`\n <div\n id=\"result-list\"\n class=\"react-autosuggest__suggestions-container\">\n <ul\n role=\"listbox\"\n class=\"${ddsPrefix}-ce__search__list react-autosuggest__suggestions-list\">\n ${this.searchResults &&\n this.searchResults.map(\n (item) =>\n html`\n <dds-search-with-typeahead-item\n text=\"${item}\"></dds-search-with-typeahead-item>\n `\n )}\n ${this.groupedResults &&\n this.groupedResults.map(\n (group) =>\n html`\n <dds-search-with-typeahead-item\n groupTitle\n text=\"${group.title}\"></dds-search-with-typeahead-item>\n ${group.items.map(\n (item) =>\n html`\n <dds-search-with-typeahead-item\n text=\"${item.name}\"\n href=\"${item.href}\"></dds-search-with-typeahead-item>\n `\n )}\n `\n )}\n </ul>\n </div>\n `\n : ``}\n </div>\n </form>\n <div\n class=\"${prefix}--assistive-text\"\n role=\"status\"\n aria-live=\"assertive\"\n aria-relevant=\"additions text\">\n ${assistiveStatusText}\n </div>\n `;\n }\n\n /**\n * @returns `true` if the selection of this dropdown should change if the given item is selected upon user interaction.\n */\n // eslint-disable-next-line class-methods-use-this\n protected _selectionShouldChange() {\n return true;\n }\n\n /**\n * `true` if this the search box should represent its active state.\n */\n @property({ type: Boolean, reflect: true })\n active = false;\n\n /**\n * The assistive text for the button to close the search box.\n */\n @property({ attribute: 'close-search-button-assistive-text' })\n closeSearchButtonAssistiveText = 'Clear input';\n\n /**\n * The language embedded in the inner form.\n */\n @property()\n language = 'en-US';\n\n /**\n * The assistive text for the button to open the search box.\n */\n @property({ attribute: 'open-search-button-assistive-text' })\n openSearchButtonAssistiveText = 'Open IBM search field';\n\n /**\n * The assistive text for the button to perform search.\n */\n @property({ attribute: 'perform-search-button-assistive-text' })\n performSearchButtonAssistiveText = 'Search all of IBM';\n\n /**\n * Value to display when the input has an empty `value`.\n */\n @property({ attribute: 'placeholder', reflect: true })\n searchPlaceholder = 'Search all of IBM';\n\n /**\n * The redirect URL when a user selects a search suggestion.\n */\n @property({ attribute: 'redirect-url' })\n redirectUrl = 'https://www.ibm.com/search?lnk=mhsrch';\n\n /**\n * The `aria-label` attribute for the search input.\n */\n @property({ attribute: 'search-label' })\n searchLabel = 'IBM search field';\n\n /**\n * The shadow slot this search UI should be in.\n */\n @property({ reflect: true })\n slot = 'search';\n\n /**\n * `true` to activate the search box on page load.\n */\n @property({ type: Boolean, attribute: 'search-open-on-load' })\n searchOpenOnload = false;\n\n /**\n * The input value.\n */\n get searchQueryString() {\n return this._searchInputNode?.value ?? '';\n }\n\n /**\n * Returns query param `q` for search input if exists. Only available when searchOpenOnload is `true`\n */\n private _setSearchParam() {\n const { _searchInputNode: searchInputNode } = this;\n const URLParams = new URLSearchParams(\n this.ownerDocument!.defaultView!.location.search\n );\n const searchParam: any = this.searchOpenOnload ? URLParams.get('q') : '';\n if (searchParam) {\n searchInputNode.value = searchParam;\n }\n }\n\n firstUpdated() {\n this._setSearchParam();\n if (this.leadspaceSearch) {\n this.setAttribute('should-remain-open', '');\n this.setAttribute('active', '');\n }\n\n if (!this.appId && this.scopeParameters) {\n this.appId = 'all';\n this.redirectUrl = 'https://www.ibm.com/search/scoped';\n }\n }\n\n updated(changedProperties) {\n if (changedProperties.has('searchResults')) {\n const titleElements = this.shadowRoot?.querySelectorAll(\n 'dds-search-with-typeahead-item[groupTitle]'\n );\n titleElements?.forEach((e) => {\n e.previousElementSibling?.setAttribute('lastBeforeGroup', '');\n });\n }\n\n if (changedProperties.has('appId')) {\n if (\n gridBreakpoint < document.body.clientWidth &&\n this._searchSuggestions &&\n this.scopeParameters\n ) {\n const scopeBarWidth = (\n this.shadowRoot?.querySelector(\n 'dds-scoped-search-dropdown'\n ) as HTMLElement\n ).offsetWidth;\n (this._searchSuggestions?.parentElement as HTMLElement)?.setAttribute(\n 'style',\n `left: ${scopeBarWidth}px; width: calc(100% - ${scopeBarWidth}px);`\n );\n } else {\n (\n this._searchSuggestions?.parentElement as HTMLElement\n )?.removeAttribute('style');\n }\n\n if (!this.customTypeaheadAPI) {\n this.getResults(this.value).then((res) => {\n this.searchResults = res;\n });\n }\n\n const newPlaceholder = this.placeholderFormatter({\n appId: this.scopeParameters.filter(\n (e) => e.value === `${this.appId}`\n )[0]?.name,\n });\n this.setAttribute('placeholder', newPlaceholder);\n this.performSearchButtonAssistiveText = newPlaceholder;\n }\n }\n\n render() {\n const {\n active,\n closeSearchButtonAssistiveText,\n openSearchButtonAssistiveText,\n performSearchButtonAssistiveText,\n _handleClickCloseButton: handleClickCloseButton,\n _handleClickSearchButton: handleClickSearchButton,\n _handleClickItem: handleClickItem,\n } = this;\n const searchButtonAssistiveText = !active\n ? openSearchButtonAssistiveText\n : performSearchButtonAssistiveText;\n return html`\n ${!this.leadspaceSearch\n ? html`\n ${this._renderForm()}\n <div class=\"${prefix}--header__search--actions\">\n <button\n type=\"button\"\n part=\"open-button\"\n class=\"${prefix}--header__action ${prefix}--header__search--search\"\n aria-label=\"${searchButtonAssistiveText}\"\n @click=\"${handleClickSearchButton}\">\n ${Search20()}\n </button>\n <button\n type=\"button\"\n part=\"close-button\"\n class=\"${prefix}--header__action ${prefix}--header__search--close\"\n aria-label=\"${closeSearchButtonAssistiveText}\"\n @click=\"${handleClickCloseButton}\">\n ${Close20()}\n </button>\n </div>\n `\n : html`\n <div class=\"${prefix}--header__search--actions\">\n ${Search20({\n part: 'search-icon',\n class: `${prefix}--search-magnifier-icon`,\n role: 'img',\n })}\n ${this._renderForm()}\n <button\n type=\"button\"\n part=\"close-button\"\n class=\"${prefix}--header__action ${prefix}--header__search--close ${this\n .value.length === 0\n ? `${prefix}--header__search--hide`\n : ''}\"\n aria-label=\"${closeSearchButtonAssistiveText}\"\n @click=\"${handleClickCloseButton}\">\n ${Close20()}\n </button>\n </div>\n <div\n id=\"result-list\"\n class=\"react-autosuggest__suggestions-container\">\n <ul\n role=\"listbox\"\n class=\"${ddsPrefix}-ce__search__list react-autosuggest__suggestions-list\">\n ${this.searchResults &&\n this.searchResults.map(\n (item) =>\n html`\n <dds-search-with-typeahead-item\n text=\"${item}\"\n @click=${handleClickItem}></dds-search-with-typeahead-item>\n `\n )}\n </ul>\n </div>\n `}\n `;\n }\n\n /**\n * A selector that will return highlighted search result items.\n */\n static get selectorItemHighlighted() {\n return `${ddsPrefix}-search-with-typeahead-item[highlighted]`;\n }\n\n /**\n * A selector that will return search result items.\n */\n static get selectorItem() {\n return `${ddsPrefix}-search-with-typeahead-item`;\n }\n\n /**\n * The name of the custom event fired before the page is being redirected to the search result page.\n * Cancellation of this event stops the user-initiated action of redirection.\n */\n static get eventBeforeRedirect() {\n return `${ddsPrefix}-search-with-typeahead-beingredirected`;\n }\n\n /**\n * The name of the custom event fired after the search content is changed upon a user gesture.\n */\n static get eventInput() {\n return `${ddsPrefix}-search-with-typeahead-input`;\n }\n\n /**\n * The name of the custom event captured to retrieve the new search scope.\n */\n static get eventSelectScope() {\n return `${prefix}-select-selected`;\n }\n\n /**\n * The name of the custom event captured to retrieve the custom typeahead API results.\n */\n static get eventCustomResults() {\n return `${ddsPrefix}-custom-typeahead-api-results`;\n }\n\n /**\n * The name of the custom event fired after this search box is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${ddsPrefix}-search-with-typeahead-toggled`;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--search-with-typeahead`;\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 DDSSearchWithTypeahead;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AASA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,CAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,EAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,SAAA,GAAAC,uBAAA,CAAAP,OAAA;AAIA,IAAAQ,aAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,cAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,gBAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,kBAAA,GAAAb,OAAA;AACA,IAAAc,uBAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,eAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAgB,cAAA,GAAAhB,OAAA;AAAmI,IAAAiB,eAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,gBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC,iBAAA,EAAAC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A;AACF;AACA;IAFE;MAAA4B,IAAA;MAAA;MAAAzD,GAAA;MAAA0D,KAAA,EAGA,SAAA+P,mBAAA,EAAgC;QAC9B,UAAAjR,MAAA,CAAUd,SAAS;MACrB;;MAEA;AACF;AACA;IAFE;MAAA+B,IAAA;MAAA;MAAAzD,GAAA;MAAA0D,KAAA,EAGA,SAAA+E,YAAA,EAAyB;QACvB,UAAAjG,MAAA,CAAUd,SAAS;MACrB;IAAC;MAAA+B,IAAA;MAAA;MAAAzD,GAAA;MAAA0D,KAAA,EAED,SAAAgQ,eAAA,EAA4B;QAC1B,UAAAlR,MAAA,CAAUd,SAAS;MACrB;IAAC;MAAA+B,IAAA;MAAA;MAAAzD,GAAA;MAAA0D,KAAA,WAAAA,MAAA;QAAA,OAEeiQ,kCAAM;MAAA;IAAA;EAAA;AAAA,GAj9Ba,IAAAC,yBAAiB,EACpD,IAAAC,0BAAmB,EAACC,oBAAU,CAChC,CAAC;AAk9BD;AAAA,IAAAC,QAAA,GACe1R,sBAAsB;AAAA2R,OAAA,cAAAD,QAAA"}
|
|
1
|
+
{"version":3,"file":"search-with-typeahead.js","names":["_ifNonNull","_interopRequireDefault","require","_classMap","_litElement","_settings","_","_2","_dropdown","_interopRequireWildcard","_hostListener","_hostListener2","_layout","_settings2","_SearchTypeahead","_collectionHelpers","_searchWithTypeaheadCss","_stableSelector","_carbonElement","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_templateObject10","_templateObject11","_templateObject12","_templateObject13","_templateObject14","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","valueOf","ddsPrefix","ddsSettings","stablePrefix","prefix","settings","gridBreakpoint","parseFloat","breakpoints","lg","width","baseFontSize","DDSSearchWithTypeahead","_decorate2","customElement","concat","_initialize","_HostListenerMixin","_HostListenerMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","_getResults","_asyncToGenerator2","_regenerator","mark","_callee","searchQuery","response","wrap","_callee$","_context","prev","next","SearchTypeaheadAPI","getResults","appId","sent","abrupt","map","res","stop","_x","decorators","property","attribute","_ref","type","reflect","query","HostListener","_this2","_ref3","_callee2","_ref2","target","_callee2$","_context2","_searchSuggestions","_searchInputNode","removeAttribute","_searchButtonNode","_closeButtonNode","setAttribute","_x2","_handleClickCloseButton2","_callee3","_this$_closeButtonNod","_callee3$","_context3","leadspaceSearch","classList","add","_handleUserInitiatedToggleActiveState","_handleClickCloseButton","_handleClickInner","event","closest","_handleUserInitiatedToggle","_this$_closeButtonNod2","remove","item","selectorItem","shadowRoot","contains","hasAttribute","_handleUserInitiatedSelectItem","_handleClickSearchButton2","_callee4","active","_callee4$","_context4","_handleUserInitiatedRedirect","_handleClickSearchButton","_handleUserInitiatedToggleActiveState2","_callee5","moveFocus","searchInputNode","_ref4","eventInput","eventToggle","_args5","_callee5$","_context5","undefined","dispatchEvent","CustomEvent","bubbles","composed","cancelable","detail","shouldRemainOpen","searchResults","groupedResults","updateComplete","focus","_x3","_handleKeyInput","getAction","DROPDOWN_KEYBOARD_ACTION","NONE","stopPropagation","_this$_searchInputNod","_ref5","targetQuery","targetHref","_ref6","eventBeforeRedirect","language","redirectUrl","_language$split","split","_language$split2","_slicedToArray2","primary","country","tokens","base","shift","searchParams","URLSearchParams","join","append","scopeValue","scopeLabel","_this$scopeLabel","redirectUrlWithSearch","toString","_redirect","_handleFocusOut","_get2","_this3","customTypeaheadAPI","_event$detail","slice","_this4","_targetScope","_targetScope$label","targetScope","scopeParameters","forEach","scope","isArray","word","trim","label","_handleInput","_this5","_ref7","items","querySelectorAll","then","_this$_closeButtonNod3","open","document","body","clientWidth","_this$shadowRoot","_this$_searchSuggesti","scopeBarWidth","querySelector","offsetWidth","parentElement","_this$_searchSuggesti2","_handleSubmit","_ref8","_ref9","selectorItemHighlighted","highlightedItem","preventDefault","text","href","_handleKeypressInner","action","TRIGGERING","ownerDocument","defaultView","location","assign","_navigate","direction","highlightedIndex","indexOf","nextIndex","highlighted","nextItem","scrollIntoView","block","nextItemText","_assistiveStatusText","requestUpdate","_renderTriggerContent","searchPlaceholder","searchLabel","handleInput","handleKeyInput","html","_taggedTemplateLiteral2","ifNonNull","_handleClickItem","_renderForm","assistiveStatusText","handleClickInner","handleKeydownInner","_handleKeydownInner","handleKeypressInner","handleSubmit","_language$split3","_language$split4","classes","classMap","name","group","title","_selectionShouldChange","searchQueryString","_this$_searchInputNod2","_this$_searchInputNod3","_setSearchParam","URLParams","search","searchParam","searchOpenOnload","firstUpdated","updated","changedProperties","_this6","_this$shadowRoot2","titleElements","_e$previousElementSib","previousElementSibling","_this$scopeParameters","_this$shadowRoot3","_this$_searchSuggesti3","_this$_searchSuggesti4","newPlaceholder","placeholderFormatter","filter","performSearchButtonAssistiveText","render","closeSearchButtonAssistiveText","openSearchButtonAssistiveText","handleClickCloseButton","handleClickSearchButton","handleClickItem","searchButtonAssistiveText","Search20","Close20","part","role","eventSelectScope","eventCustomResults","stableSelector","styles","HostListenerMixin","StableSelectorMixin","BXDropdown","_default","exports"],"sources":["components/search-with-typeahead/search-with-typeahead.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 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 ifNonNull from '../../internal/vendor/@carbon/web-components/globals/directives/if-non-null.js';\nimport { classMap } from 'lit-html/directives/class-map.js';\nimport { html, property, query } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport Close20 from '../../internal/vendor/@carbon/web-components/icons/close/20.js';\nimport Search20 from '../../internal/vendor/@carbon/web-components/icons/search/20.js';\nimport BXDropdown, {\n DROPDOWN_KEYBOARD_ACTION,\n} from '../../internal/vendor/@carbon/web-components/components/dropdown/dropdown.js';\nimport BXDropdownItem from '../../internal/vendor/@carbon/web-components/components/dropdown/dropdown-item.js';\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 { baseFontSize, breakpoints } from '@carbon/layout';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport SearchTypeaheadAPI from '../../internal/vendor/@carbon/ibmdotcom-services/services/SearchTypeahead/SearchTypeahead';\nimport { forEach, indexOf } from '../../globals/internal/collection-helpers';\nimport styles from './search-with-typeahead.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport './search-with-typeahead-item';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\nconst { prefix } = settings;\nconst gridBreakpoint = parseFloat(breakpoints.lg.width) * baseFontSize;\n\n/**\n * Search with Typeahead\n *\n * @element dds-search-with-typeahead\n * @csspart open-button The button to show the search box.\n * @csspart close-button The button to hide the search box.\n * @csspart search-input The input box for search.\n * @fires dds-search-with-typeahead-beingredirected\n * The custom event fired before the page is being redirected to the search result page.\n * Cancellation of this event stops the user-initiated action of redirection.\n * @fires dds-search-with-typeahead-input\n * The name of the custom event fired after the search content is changed upon a user gesture.\n * @fires dds-search-with-typeahead-toggled\n * The name of the custom event fired after this search box is toggled upon a user gesture.\n */\n@customElement(`${ddsPrefix}-search-with-typeahead`)\nclass DDSSearchWithTypeahead extends HostListenerMixin(\n StableSelectorMixin(BXDropdown)\n) {\n // eslint-disable-next-line class-methods-use-this\n async getResults(searchQuery) {\n const response = await SearchTypeaheadAPI.getResults(\n searchQuery,\n this.appId\n );\n return response.map((res) => res[0]);\n }\n\n /**\n * The formatter for the placeholder text on the search box.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n placeholderFormatter = ({ appId }) => `Search in ${appId}`;\n\n @property({ attribute: 'leadspace-search', type: Boolean })\n leadspaceSearch = false;\n\n @property({ attribute: 'custom-typeahead-api', type: Boolean })\n customTypeaheadAPI = false;\n\n @property()\n currentSearchResults;\n\n @property()\n searchResults;\n\n @property()\n groupedResults;\n\n @property({ attribute: 'scope-parameters' })\n scopeParameters;\n\n @property({ attribute: 'should-remain-open', type: Boolean })\n shouldRemainOpen = false;\n\n @property({ attribute: 'appid', reflect: true })\n appId;\n\n @property({ attribute: 'scope-label', reflect: true })\n scopeLabel;\n\n @property({ attribute: 'scope-value', reflect: true })\n scopeValue;\n\n /**\n * The `<button>` to open the search box.\n */\n @query(`.${prefix}--header__search--search`)\n private _searchButtonNode!: HTMLButtonElement;\n\n /**\n * The `<button>` to open the search box.\n */\n @query(`.${prefix}--header__search--close`)\n private _closeButtonNode!: HTMLButtonElement;\n\n /**\n * The `<input>` of the search box.\n */\n @query(`.${prefix}--header__search--input`)\n private _searchInputNode!: HTMLInputElement;\n\n /**\n * The `<ul>` containing the search suggestions.\n */\n @query(`.react-autosuggest__suggestions-list`)\n private _searchSuggestions!: HTMLElement;\n\n /**\n * Handles hiding search suggestions if focusing on other buttons.\n *\n * @param event The event.\n */\n @HostListener('shadowRoot:focusin')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocus = async ({ target }: FocusEvent) => {\n if (!this._searchSuggestions) return;\n\n if (target === this._searchInputNode) {\n this._searchSuggestions.removeAttribute('hidden');\n } else if (target === (this._searchButtonNode || this._closeButtonNode)) {\n this._searchSuggestions.setAttribute('hidden', '');\n }\n\n if (target === this._closeButtonNode) {\n this.setAttribute('unfocused', '');\n } else {\n this.removeAttribute('unfocused');\n }\n };\n\n /**\n * Handles `click` event on the close button.\n */\n private async _handleClickCloseButton() {\n if (this.leadspaceSearch) {\n this._closeButtonNode?.classList.add(`${prefix}--header__search--hide`);\n }\n this._handleUserInitiatedToggleActiveState(false);\n }\n\n /**\n * Handles `click` event on the top-level element in the shadow DOM.\n *\n * @param event The event.\n */\n protected _handleClickInner(event: MouseEvent) {\n if (\n (event.target as HTMLElement).closest('.bx--header__search--input') ===\n event.target\n ) {\n this._handleUserInitiatedToggle();\n if (this._searchInputNode.value && this.leadspaceSearch) {\n this._closeButtonNode?.classList.remove(\n `${prefix}--header__search--hide`\n );\n }\n } else {\n const item = (event.target as Element).closest(\n (this.constructor as typeof BXDropdown).selectorItem\n ) as BXDropdownItem;\n if (this.shadowRoot!.contains(item) && !item.hasAttribute('groupTitle')) {\n this._handleUserInitiatedSelectItem(item);\n }\n }\n }\n\n /**\n * Handles `click` event on the search button.\n */\n private async _handleClickSearchButton() {\n const { active } = this;\n\n if (active) {\n if (this._searchInputNode.value) {\n this._handleUserInitiatedRedirect();\n }\n } else {\n this._handleUserInitiatedToggleActiveState(true);\n }\n }\n\n /**\n * Handles user-initiated toggling of activated state of the search box.\n *\n * @param active `true` to activate the search box.\n * @param moveFocus\n * `true` to move focus upon toggling, to the input box when activated, to the trigger button when deactivated.\n */\n private async _handleUserInitiatedToggleActiveState(\n active,\n moveFocus = true\n ) {\n if (active === this.active) {\n return;\n }\n const { _searchInputNode: searchInputNode } = this;\n const { eventInput, eventToggle } = this\n .constructor as typeof DDSSearchWithTypeahead;\n if (!active && searchInputNode.value) {\n searchInputNode.value = '';\n this.dispatchEvent(\n new CustomEvent(eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: '',\n },\n })\n );\n }\n this.active = this.shouldRemainOpen ? true : !this.active;\n this.searchResults = [];\n this.groupedResults = [];\n\n this.dispatchEvent(\n new CustomEvent(eventToggle, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n active,\n },\n })\n );\n await this.updateComplete;\n if (moveFocus) {\n // Does not reuse destructed `searchInputNode` given it's `null` before expanded\n (this.active ? this._searchInputNode : this._searchButtonNode).focus();\n }\n }\n\n /**\n * Prevents key types in the `<input>` causing other keyboard shortcuts in application UI.\n *\n * @param event The event.\n */\n private _handleKeyInput(event: KeyboardEvent) {\n if (\n (this.constructor as typeof DDSSearchWithTypeahead).getAction(\n event.key\n ) === DROPDOWN_KEYBOARD_ACTION.NONE\n ) {\n event.stopPropagation();\n }\n }\n\n /**\n * Handles user-initiated redirect to the search query page.\n *\n * @param [options] The options.\n * @param [options.targetQuery] The query string the search query page should be of.\n * @param [options.targetHref] The href string to be redirected to.\n */\n private _handleUserInitiatedRedirect({\n targetQuery,\n targetHref,\n }: { targetQuery?: string; targetHref?: string } = {}) {\n const { eventBeforeRedirect, eventInput } = this\n .constructor as typeof DDSSearchWithTypeahead;\n const { language, redirectUrl } = this;\n const [primary, country] = language.split('-');\n const tokens = redirectUrl.split('?');\n const base = tokens.shift();\n const searchParams = new URLSearchParams(tokens.join('?'));\n // Setting `this._searchInputNode?.value` as the default value of `targetQuery` seems to cause a Babel bug\n searchParams.append('q', targetQuery ?? this._searchInputNode?.value);\n searchParams.append('lang', primary);\n searchParams.append('cc', country);\n\n this.dispatchEvent(\n new CustomEvent(eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: targetQuery,\n },\n })\n );\n\n if (this.appId) {\n searchParams.append('scope-domain', 'scope');\n searchParams.append('scope-value', this.scopeValue);\n searchParams.append('scope-type', this.appId);\n\n if (this.scopeLabel) {\n searchParams.append('scope-label', this.scopeLabel ?? '');\n }\n }\n\n const redirectUrlWithSearch = targetHref\n ? `${targetHref}`\n : `${base}?${searchParams.toString()}`;\n if (\n this.dispatchEvent(\n new CustomEvent(eventBeforeRedirect, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n redirectUrl: redirectUrlWithSearch,\n },\n })\n )\n ) {\n this._redirect(redirectUrlWithSearch);\n }\n }\n\n /**\n * Handles component reset if focusing outside.\n *\n * @param event The event.\n */\n @HostListener('focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n protected _handleFocusOut(event: FocusEvent) {\n super._handleFocusOut(event);\n }\n\n /**\n * Handles search results when using a custom API.\n *\n * @param event The event.\n */\n @HostListener('document:eventCustomResults')\n protected _handleCustomResults = (event: CustomEvent) => {\n if (this.customTypeaheadAPI) {\n [this.searchResults] = event.detail;\n this.groupedResults = event.detail.slice(1);\n }\n };\n\n /**\n * Queries scoped search suggestions.\n *\n * @param event The event.\n */\n @HostListener('document:eventSelectScope')\n protected _handleScopeSelect = (event: CustomEvent) => {\n this.appId = event.detail.appId;\n let targetScope;\n this.scopeParameters.forEach((scope) => {\n if (scope.appId === this.appId) {\n targetScope = scope;\n }\n });\n\n this.scopeValue = Array.isArray(targetScope?.value)\n ? `[${targetScope.value\n .toString()\n .split(',')\n .map((word) => `\"${word.trim()}\"`)\n .join(',')}]`\n : targetScope.value;\n this.scopeLabel = targetScope.label ?? '';\n };\n\n /**\n * Handles `input` event in the search input.\n */\n private _handleInput(event: InputEvent) {\n const { target } = event;\n const { value } = target as HTMLInputElement;\n this.removeAttribute('unfocused');\n\n const items = this.shadowRoot!.querySelectorAll(\n (this.constructor as typeof BXDropdown).selectorItem\n );\n items.forEach((e) => {\n if (e.hasAttribute('highlighted')) {\n this.setAttribute('unfocused', '');\n }\n });\n\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof DDSSearchWithTypeahead).eventInput,\n {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value,\n },\n }\n )\n );\n this.value = value;\n\n if (!this.customTypeaheadAPI) {\n this.getResults(value).then((res) => {\n this.searchResults = res;\n });\n }\n\n if (value) {\n this.open = true;\n if (this.leadspaceSearch)\n this._closeButtonNode?.classList.remove(\n `${prefix}--header__search--hide`\n );\n }\n\n // accomodate search results box's width with the scope dropdown\n if (\n gridBreakpoint < document.body.clientWidth &&\n this._searchSuggestions &&\n this.scopeParameters\n ) {\n const scopeBarWidth = (\n this.shadowRoot?.querySelector(\n 'dds-scoped-search-dropdown'\n ) as HTMLElement\n ).offsetWidth;\n (this._searchSuggestions?.parentElement as HTMLElement)?.setAttribute(\n 'style',\n `left: ${scopeBarWidth}px; width: calc(100% - ${scopeBarWidth}px);`\n );\n } else {\n (this._searchSuggestions?.parentElement as HTMLElement)?.removeAttribute(\n 'style'\n );\n }\n }\n\n /**\n * Prevents form submission if there is a highlighted item.\n * In such case, `._handleUserInitiatedRedirect()` should have navigated the user to the search result page.\n *\n * @param event The event.\n */\n private _handleSubmit(event: Event) {\n const { eventBeforeRedirect } = this\n .constructor as typeof DDSSearchWithTypeahead;\n const { selectorItemHighlighted } = this.constructor as typeof BXDropdown;\n const highlightedItem = this.shadowRoot!.querySelector(\n selectorItemHighlighted\n ) as BXDropdownItem;\n if (highlightedItem || !this._searchInputNode.value) {\n event.preventDefault();\n }\n if (\n !this.dispatchEvent(\n new CustomEvent(eventBeforeRedirect, {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n redirectUrl: this.redirectUrl,\n },\n })\n )\n ) {\n event.preventDefault();\n }\n }\n\n protected _handleUserInitiatedSelectItem(item?: BXDropdownItem) {\n if (item) {\n this._searchInputNode.value = (item as unknown as any).text;\n this._handleUserInitiatedRedirect({\n targetQuery: (item as unknown as any).text,\n targetHref: (item as unknown as any).href,\n });\n }\n }\n\n /**\n * Handler for the `keypress` event on the top-level element in the shadow DOM.\n */\n protected _handleKeypressInner(event: KeyboardEvent) {\n const { key } = event;\n const action = (this.constructor as typeof BXDropdown).getAction(key);\n if (!this.open) {\n switch (action) {\n case DROPDOWN_KEYBOARD_ACTION.TRIGGERING:\n this._handleUserInitiatedToggle(true);\n break;\n default:\n break;\n }\n } else {\n switch (action) {\n case DROPDOWN_KEYBOARD_ACTION.TRIGGERING:\n {\n const constructor = this.constructor as typeof BXDropdown;\n const highlightedItem = this.shadowRoot!.querySelector(\n constructor.selectorItemHighlighted\n ) as BXDropdownItem;\n if (highlightedItem) {\n this._handleUserInitiatedSelectItem(highlightedItem);\n } else {\n this._handleUserInitiatedToggle(false);\n }\n }\n break;\n default:\n break;\n }\n }\n }\n\n /**\n * Redirects the page to the given target.\n *\n * @param target The target URL.\n */\n private _redirect(target) {\n this.ownerDocument!.defaultView!.location.assign(target);\n }\n\n /**\n * Navigate through dropdown items.\n *\n * @param direction `-1` to navigate backward, `1` to navigate forward.\n */\n protected _navigate(direction: number) {\n const constructor = this.constructor as typeof DDSSearchWithTypeahead;\n const items = this.shadowRoot!.querySelectorAll(constructor.selectorItem);\n const highlightedItem = this.shadowRoot!.querySelector(\n constructor.selectorItemHighlighted\n );\n const highlightedIndex = indexOf(items, highlightedItem!);\n let nextIndex = highlightedIndex + direction;\n\n if (items[nextIndex] && items[nextIndex].hasAttribute('groupTitle')) {\n nextIndex += direction;\n }\n\n if (nextIndex < 0) {\n nextIndex = items.length - 1;\n }\n if (nextIndex >= items.length) {\n nextIndex = 0;\n }\n forEach(items, (item, i) => {\n (item as BXDropdownItem).highlighted = i === nextIndex;\n });\n\n this.setAttribute('unfocused', '');\n\n const nextItem = items[nextIndex];\n // Using `{ block: 'nearest' }` to prevent scrolling unless scrolling is absolutely necessary.\n // `scrollIntoViewOptions` seems to work in latest Safari despite of MDN/caniuse table.\n // IE falls back to the old behavior.\n nextItem.scrollIntoView({ block: 'nearest' });\n\n // @ts-ignore: TS does not believe nextItem has a text object\n const nextItemText = nextItem.text;\n if (nextItemText) {\n this._assistiveStatusText = nextItemText;\n }\n this.requestUpdate();\n }\n\n /**\n * @returns The main content of the trigger button.\n */\n protected _renderTriggerContent() {\n const {\n searchPlaceholder,\n searchLabel,\n _handleInput: handleInput,\n _handleKeyInput: handleKeyInput,\n } = this;\n return html`\n <input\n type=\"text\"\n part=\"search-input\"\n class=\"${prefix}--header__search--input\"\n name=\"q\"\n placeholder=\"${searchPlaceholder}\"\n autocomplete=\"off\"\n aria-controls=\"result-list\"\n aria-autocomplete=\"list\"\n aria-label=\"${ifNonNull(searchLabel)}\"\n @input=\"${handleInput}\"\n @keydown=\"${handleKeyInput}\"\n @keypress=\"${handleKeyInput}\" />\n `;\n }\n\n /**\n * Handles `click` event to redirect based on selected item.\n *\n * @param event The event.\n */\n protected _handleClickItem(event: MouseEvent) {\n const item = (event.target as Element).closest(\n (this.constructor as typeof BXDropdown).selectorItem\n ) as BXDropdownItem;\n if (this.shadowRoot!.contains(item)) {\n this._handleUserInitiatedSelectItem(item);\n }\n }\n\n /**\n * @returns The content of the search box.\n */\n private _renderForm() {\n const {\n active,\n language,\n open,\n redirectUrl,\n searchLabel,\n _assistiveStatusText: assistiveStatusText,\n _handleClickInner: handleClickInner,\n _handleKeydownInner: handleKeydownInner,\n _handleKeypressInner: handleKeypressInner,\n _handleSubmit: handleSubmit,\n } = this;\n if (!active) {\n return undefined;\n }\n const [primary, country] = language.split('-');\n const classes = classMap({\n 'react-autosuggest__container': true,\n 'react-autosuggest__suggestions-container--open': open,\n });\n return html`\n <form\n role=\"search\"\n method=\"get\"\n action=\"${redirectUrl}\"\n @submit=\"${handleSubmit}\">\n <input type=\"hidden\" name=\"lang\" value=\"${primary}\" />\n <input type=\"hidden\" name=\"cc\" value=\"${country}\" />\n <input type=\"hidden\" name=\"lnk\" value=\"mhsrch\" />\n ${this.scopeParameters\n ? html`\n <input type=\"hidden\" name=\"scope-domain\" value=\"scope\" />\n <input type=\"hidden\" name=\"scope-type\" value=\"${this.appId}\" />\n <input\n type=\"hidden\"\n name=\"scope-value\"\n value=\"${this.scopeValue}\" />\n <input\n type=\"hidden\"\n name=\"scope-label\"\n value=\"${this.scopeLabel}\" />\n `\n : ''}\n\n <div\n role=\"combobox\"\n class=\"${classes}\"\n aria-haspopup=\"listbox\"\n aria-owns=\"result-list\"\n aria-expanded=\"${Boolean(this.active)}\"\n aria-label=\"${ifNonNull(searchLabel)}\"\n @click=${handleClickInner}\n @keydown=\"${handleKeydownInner}\"\n @keypress=\"${handleKeypressInner}\">\n ${this.scopeParameters\n ? html`\n <dds-scoped-search-dropdown value=\"${this.appId}\">\n ${this.scopeParameters.map(\n (scope) => html`\n <bx-dropdown-item value=\"${scope.appId}\"\n >${scope.name}</bx-dropdown-item\n >\n `\n )}\n </dds-scoped-search-dropdown>\n\n <dds-scoped-search-dropdown-mobile value=\"${this.appId}\">\n ${this.scopeParameters.map(\n (scope) => html`\n <bx-select-item\n label=\"${scope.name}\"\n value=\"${scope.appId}\"\n >${scope.name}</bx-select-item\n >\n `\n )}\n </dds-scoped-search-dropdown-mobile>\n `\n : ``}\n ${this._renderTriggerContent()}\n ${!this.leadspaceSearch\n ? html`\n <div\n id=\"result-list\"\n class=\"react-autosuggest__suggestions-container\">\n <ul\n role=\"listbox\"\n class=\"${ddsPrefix}-ce__search__list react-autosuggest__suggestions-list\">\n ${this.searchResults &&\n this.searchResults.map(\n (item) =>\n html`\n <dds-search-with-typeahead-item\n text=\"${item}\"></dds-search-with-typeahead-item>\n `\n )}\n ${this.groupedResults &&\n this.groupedResults.map(\n (group) =>\n html`\n <dds-search-with-typeahead-item\n groupTitle\n text=\"${group.title}\"></dds-search-with-typeahead-item>\n ${group.items.map(\n (item) =>\n html`\n <dds-search-with-typeahead-item\n text=\"${item.name}\"\n href=\"${item.href}\"></dds-search-with-typeahead-item>\n `\n )}\n `\n )}\n </ul>\n </div>\n `\n : ``}\n </div>\n </form>\n <div\n class=\"${prefix}--assistive-text\"\n role=\"status\"\n aria-live=\"assertive\"\n aria-relevant=\"additions text\">\n ${assistiveStatusText}\n </div>\n `;\n }\n\n /**\n * @returns `true` if the selection of this dropdown should change if the given item is selected upon user interaction.\n */\n // eslint-disable-next-line class-methods-use-this\n protected _selectionShouldChange() {\n return true;\n }\n\n /**\n * `true` if this the search box should represent its active state.\n */\n @property({ type: Boolean, reflect: true })\n active = false;\n\n /**\n * The assistive text for the button to close the search box.\n */\n @property({ attribute: 'close-search-button-assistive-text' })\n closeSearchButtonAssistiveText = 'Clear input';\n\n /**\n * The language embedded in the inner form.\n */\n @property()\n language = 'en-US';\n\n /**\n * The assistive text for the button to open the search box.\n */\n @property({ attribute: 'open-search-button-assistive-text' })\n openSearchButtonAssistiveText = 'Open IBM search field';\n\n /**\n * The assistive text for the button to perform search.\n */\n @property({ attribute: 'perform-search-button-assistive-text' })\n performSearchButtonAssistiveText = 'Search all of IBM';\n\n /**\n * Value to display when the input has an empty `value`.\n */\n @property({ attribute: 'placeholder', reflect: true })\n searchPlaceholder = 'Search all of IBM';\n\n /**\n * The redirect URL when a user selects a search suggestion.\n */\n @property({ attribute: 'redirect-url' })\n redirectUrl = 'https://www.ibm.com/search?lnk=mhsrch';\n\n /**\n * The `aria-label` attribute for the search input.\n */\n @property({ attribute: 'search-label' })\n searchLabel = 'IBM search field';\n\n /**\n * The shadow slot this search UI should be in.\n */\n @property({ reflect: true })\n slot = 'search';\n\n /**\n * `true` to activate the search box on page load.\n */\n @property({ type: Boolean, attribute: 'search-open-on-load' })\n searchOpenOnload = false;\n\n /**\n * The input value.\n */\n get searchQueryString() {\n return this._searchInputNode?.value ?? '';\n }\n\n /**\n * Returns query param `q` for search input if exists. Only available when searchOpenOnload is `true`\n */\n private _setSearchParam() {\n const { _searchInputNode: searchInputNode } = this;\n const URLParams = new URLSearchParams(\n this.ownerDocument!.defaultView!.location.search\n );\n const searchParam: any = this.searchOpenOnload ? URLParams.get('q') : '';\n if (searchParam) {\n searchInputNode.value = searchParam;\n }\n }\n\n firstUpdated() {\n this._setSearchParam();\n if (this.leadspaceSearch) {\n this.setAttribute('should-remain-open', '');\n this.setAttribute('active', '');\n }\n\n if (!this.appId && this.scopeParameters) {\n this.appId = 'all';\n this.redirectUrl = 'https://www.ibm.com/search/scoped';\n }\n }\n\n updated(changedProperties) {\n if (changedProperties.has('searchResults')) {\n const titleElements = this.shadowRoot?.querySelectorAll(\n 'dds-search-with-typeahead-item[groupTitle]'\n );\n titleElements?.forEach((e) => {\n e.previousElementSibling?.setAttribute('lastBeforeGroup', '');\n });\n }\n\n if (changedProperties.has('appId')) {\n if (\n gridBreakpoint < document.body.clientWidth &&\n this._searchSuggestions &&\n this.scopeParameters\n ) {\n const scopeBarWidth = (\n this.shadowRoot?.querySelector(\n 'dds-scoped-search-dropdown'\n ) as HTMLElement\n ).offsetWidth;\n (this._searchSuggestions?.parentElement as HTMLElement)?.setAttribute(\n 'style',\n `left: ${scopeBarWidth}px; width: calc(100% - ${scopeBarWidth}px);`\n );\n } else {\n (\n this._searchSuggestions?.parentElement as HTMLElement\n )?.removeAttribute('style');\n }\n\n if (!this.customTypeaheadAPI) {\n this.getResults(this.value).then((res) => {\n this.searchResults = res;\n });\n }\n\n const newPlaceholder = this.placeholderFormatter({\n appId: this.scopeParameters.filter(\n (e) => e.value === `${this.appId}`\n )[0]?.name,\n });\n this.setAttribute('placeholder', newPlaceholder);\n this.performSearchButtonAssistiveText = newPlaceholder;\n }\n }\n\n render() {\n const {\n active,\n closeSearchButtonAssistiveText,\n openSearchButtonAssistiveText,\n performSearchButtonAssistiveText,\n _handleClickCloseButton: handleClickCloseButton,\n _handleClickSearchButton: handleClickSearchButton,\n _handleClickItem: handleClickItem,\n } = this;\n const searchButtonAssistiveText = !active\n ? openSearchButtonAssistiveText\n : performSearchButtonAssistiveText;\n return html`\n ${!this.leadspaceSearch\n ? html`\n ${this._renderForm()}\n <div class=\"${prefix}--header__search--actions\">\n <button\n type=\"button\"\n part=\"open-button\"\n class=\"${prefix}--header__action ${prefix}--header__search--search\"\n aria-label=\"${searchButtonAssistiveText}\"\n @click=\"${handleClickSearchButton}\">\n ${Search20()}\n </button>\n <button\n type=\"button\"\n part=\"close-button\"\n class=\"${prefix}--header__action ${prefix}--header__search--close\"\n aria-label=\"${closeSearchButtonAssistiveText}\"\n @click=\"${handleClickCloseButton}\">\n ${Close20()}\n </button>\n </div>\n `\n : html`\n <div class=\"${prefix}--header__search--actions\">\n ${Search20({\n part: 'search-icon',\n class: `${prefix}--search-magnifier-icon`,\n role: 'img',\n })}\n ${this._renderForm()}\n <button\n type=\"button\"\n part=\"close-button\"\n class=\"${prefix}--header__action ${prefix}--header__search--close ${this\n .value.length === 0\n ? `${prefix}--header__search--hide`\n : ''}\"\n aria-label=\"${closeSearchButtonAssistiveText}\"\n @click=\"${handleClickCloseButton}\">\n ${Close20()}\n </button>\n </div>\n <div\n id=\"result-list\"\n class=\"react-autosuggest__suggestions-container\">\n <ul\n role=\"listbox\"\n class=\"${ddsPrefix}-ce__search__list react-autosuggest__suggestions-list\">\n ${this.searchResults &&\n this.searchResults.map(\n (item) =>\n html`\n <dds-search-with-typeahead-item\n text=\"${item}\"\n @click=${handleClickItem}></dds-search-with-typeahead-item>\n `\n )}\n </ul>\n </div>\n `}\n `;\n }\n\n /**\n * A selector that will return highlighted search result items.\n */\n static get selectorItemHighlighted() {\n return `${ddsPrefix}-search-with-typeahead-item[highlighted]`;\n }\n\n /**\n * A selector that will return search result items.\n */\n static get selectorItem() {\n return `${ddsPrefix}-search-with-typeahead-item`;\n }\n\n /**\n * The name of the custom event fired before the page is being redirected to the search result page.\n * Cancellation of this event stops the user-initiated action of redirection.\n */\n static get eventBeforeRedirect() {\n return `${ddsPrefix}-search-with-typeahead-beingredirected`;\n }\n\n /**\n * The name of the custom event fired after the search content is changed upon a user gesture.\n */\n static get eventInput() {\n return `${ddsPrefix}-search-with-typeahead-input`;\n }\n\n /**\n * The name of the custom event captured to retrieve the new search scope.\n */\n static get eventSelectScope() {\n return `${prefix}-select-selected`;\n }\n\n /**\n * The name of the custom event captured to retrieve the custom typeahead API results.\n */\n static get eventCustomResults() {\n return `${ddsPrefix}-custom-typeahead-api-results`;\n }\n\n /**\n * The name of the custom event fired after this search box is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${ddsPrefix}-search-with-typeahead-toggled`;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--search-with-typeahead`;\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 DDSSearchWithTypeahead;\n"],"mappings":";;;;;;;;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;IAAA;EAAA;AAAA,GAj9Ba,IAAAC,yBAAiB,EACpD,IAAAC,0BAAmB,EAACC,oBAAU,CAChC,CAAC;AAk9BD;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACevR,sBAAsB"}
|
|
@@ -69,6 +69,5 @@ var DDSStructuredListBody = (0, _decorate2["default"])([(0, _carbonElement.carbo
|
|
|
69
69
|
};
|
|
70
70
|
}, _structuredListBody["default"]);
|
|
71
71
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
72
|
-
var _default = DDSStructuredListBody;
|
|
73
|
-
exports["default"] = _default;
|
|
72
|
+
var _default = exports["default"] = DDSStructuredListBody;
|
|
74
73
|
//# sourceMappingURL=structured-list-body.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-list-body.js","names":["_structuredListBody","_interopRequireDefault","require","_settings","_structuredListCss","_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","DDSStructuredListBody","_decorate2","customElement","concat","_initialize","_BXStructuredListBody","_BXStructuredListBody2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","connectedCallback","_get2","styles","BXStructuredListBody","_default","exports"],"sources":["components/structured-list/structured-list-body.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 BXStructuredListBody from '../../internal/vendor/@carbon/web-components/components/structured-list/structured-list-body.js';\nimport {} from 'lit-element';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * StructuredListBody\n *\n * @element dds-structured-list-body\n */\n@customElement(`${ddsPrefix}-structured-list-body`)\nclass DDSStructuredListBody extends BXStructuredListBody {\n connectedCallback() {\n super.connectedCallback();\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSStructuredListBody;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,kBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAAmI,SAAAI,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,sBAbnI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA,IAAsBC,SAAS,GAAKC,oBAAW,CAAvCC,YAAY;;AAEpB;AACA;AACA;AACA;AACA;AAJA,IAMMC,qBAAqB,OAAAC,UAAA,cAD1B,IAAAC,4BAAa,KAAAC,MAAA,CAAIN,SAAS,0BAAuB,CAAC,aAAAO,WAAA,EAAAC,qBAAA;EAAA,IAC7CL,qBAAqB,0BAAAM,sBAAA;IAAA,IAAAC,UAAA,aAAAP,qBAAA,EAAAM,sBAAA;IAAA,IAAAE,MAAA,GAAAjC,YAAA,CAAAyB,qBAAA;IAAA,SAAAA,sBAAA;MAAA,IAAAS,KAAA;MAAA,IAAAC,gBAAA,mBAAAV,qBAAA;MAAA,SAAAW,IAAA,GAAAxB,SAAA,CAAAyB,MAAA,EAAAC,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,qBAAA;EAAA,EAAAK,qBAAA;EAAA;IAAAa,CAAA,EAArBlB,qBAAqB;IAAAmB,CAAA;MAAAC,IAAA;MAAAC,GAAA;MAAAC,KAAA,EACzB,SAAAC,kBAAA,EAAoB;QAClB,IAAAC,KAAA,iBAAA3C,gBAAA,aAFEmB,qBAAqB,CAAAP,SAAA,8BAAAE,IAAA;MAGzB;IAAC;MAAAyB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeG,6BAAM;MAAA;IAAA;EAAA;AAAA,GALYC,8BAAoB;AAQxD;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"structured-list-body.js","names":["_structuredListBody","_interopRequireDefault","require","_settings","_structuredListCss","_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","DDSStructuredListBody","_decorate2","customElement","concat","_initialize","_BXStructuredListBody","_BXStructuredListBody2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","connectedCallback","_get2","styles","BXStructuredListBody","_default","exports"],"sources":["components/structured-list/structured-list-body.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 BXStructuredListBody from '../../internal/vendor/@carbon/web-components/components/structured-list/structured-list-body.js';\nimport {} from 'lit-element';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * StructuredListBody\n *\n * @element dds-structured-list-body\n */\n@customElement(`${ddsPrefix}-structured-list-body`)\nclass DDSStructuredListBody extends BXStructuredListBody {\n connectedCallback() {\n super.connectedCallback();\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSStructuredListBody;\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,kBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAAmI,SAAAI,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,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A;MAAA,OAAAA,KAAA;IAAA;IAAA,WAAAQ,aAAA,aAAAjB,qBAAA;EAAA,EAAAK,qBAAA;EAAA;IAAAa,CAAA,EAArBlB,qBAAqB;IAAAmB,CAAA;MAAAC,IAAA;MAAAC,GAAA;MAAAC,KAAA,EACzB,SAAAC,kBAAA,EAAoB;QAClB,IAAAC,KAAA,iBAAA3C,gBAAA,aAFEmB,qBAAqB,CAAAP,SAAA,8BAAAE,IAAA;MAGzB;IAAC;MAAAyB,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeG,6BAAM;MAAA;IAAA;EAAA;AAAA,GALYC,8BAAoB;AAQxD;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACe5B,qBAAqB"}
|
|
@@ -162,6 +162,5 @@ var DDSStructuredListCell = (0, _decorate2["default"])([(0, _carbonElement.carbo
|
|
|
162
162
|
};
|
|
163
163
|
}, _structuredListCell["default"]);
|
|
164
164
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
165
|
-
var _default = DDSStructuredListCell;
|
|
166
|
-
exports["default"] = _default;
|
|
165
|
+
var _default = exports["default"] = DDSStructuredListCell;
|
|
167
166
|
//# sourceMappingURL=structured-list-cell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-list-cell.js","names":["_structuredListCell","_interopRequireDefault","require","_litElement","_","_2","_3","_settings","_structuredListCss","_carbonElement","_settings2","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_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","DDSStructuredListCell","_decorate2","customElement","concat","_initialize","_BXStructuredListCell","_BXStructuredListCell2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","closest","decorators","property","attribute","reflect","checkmark","Checkmark20","error","Error20","connectedCallback","_this$parentGroup","_get2","groupLabel","parentGroup","groupTitle","_renderIcon","icon","iconMap","_iconsAllowed","html","_taggedTemplateLiteral2","toLowerCase","_renderTags","tags","split","map","tag","trim","_renderTooltip","tooltip","tooltipText","Info16","render","iconsAllowed","Object","keys","includes","styles","BXStructuredListCell","_default","exports"],"sources":["components/structured-list/structured-list-cell.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 BXStructuredListCell from '../../internal/vendor/@carbon/web-components/components/structured-list/structured-list-cell.js';\nimport { property, html } from 'lit-element';\nimport Info16 from '../../internal/vendor/@carbon/web-components/icons/information/16.js';\nimport Checkmark20 from '../../internal/vendor/@carbon/web-components/icons/checkmark/20.js';\nimport Error20 from '../../internal/vendor/@carbon/web-components/icons/error/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport DDSStructuredListGroup from './structured-list-group';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\nimport settings from 'carbon-components/es/globals/js/settings';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * StructuredListCell\n *\n * @element dds-structured-list-cell\n */\n@customElement(`${ddsPrefix}-structured-list-cell`)\nclass DDSStructuredListCell extends BXStructuredListCell {\n parentGroup: DDSStructuredListGroup | null = this.closest(\n `${ddsPrefix}-structured-list-group`\n );\n\n @property({ attribute: 'aria-label', reflect: true })\n groupLabel?: string;\n\n @property({ attribute: 'tooltip', reflect: true })\n tooltipText?: string;\n\n @property({ attribute: 'icon', reflect: true })\n icon?: string;\n\n private _iconsAllowed = {\n checkmark: Checkmark20,\n error: Error20,\n };\n\n @property({ attribute: 'tags', reflect: true })\n tags?: string;\n\n connectedCallback() {\n super.connectedCallback();\n this.groupLabel = this.parentGroup?.groupTitle;\n }\n\n private _renderIcon() {\n const { icon, _iconsAllowed: iconMap } = this;\n\n return html`${iconMap[icon!.toLowerCase()].call()}\n <span class=\"${prefix}--structured-list-cell-icon-text\">\n <slot></slot>\n </span>`;\n }\n\n private _renderTags() {\n const { tags } = this;\n\n return html`\n ${tags!\n .split(',')\n .map(\n (tag) => html` <bx-tag size=\"sm\" type=\"green\">${tag.trim()}</bx-tag> `\n )}\n `;\n }\n\n private _renderTooltip() {\n const { tooltipText: tooltip } = this;\n\n return html`\n <bx-tooltip-icon\n alignment=\"start\"\n body-text=\"${tooltip}\"\n direction=\"right\">\n ${Info16()}\n </bx-tooltip-icon>\n `;\n }\n\n render() {\n const {\n tooltipText: tooltip,\n icon,\n _iconsAllowed: iconsAllowed,\n tags,\n } = this;\n\n if (icon && Object.keys(iconsAllowed).includes(icon.toLowerCase())) {\n return html` ${this._renderIcon()} `;\n }\n\n return html`\n ${super.render()} ${tags ? this._renderTags() : ''}\n ${tooltip ? this._renderTooltip() : ''}\n `;\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSStructuredListCell;\n"],"mappings":";;;;;;;;;;;;;;;;AASA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,CAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,EAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,EAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AAEA,IAAAM,kBAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAT,sBAAA,CAAAC,OAAA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AyE,uBAAA,kLAGMS,OAAO,EAElB,IAAAE,YAAM,EAAC,CAAC;MAGhB;IAAC;MAAAlC,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAiC,OAAA,EAAS;QACP,IACeH,OAAO,GAIlB,IAAI,CAJNC,WAAW;UACXd,IAAI,GAGF,IAAI,CAHNA,IAAI;UACWiB,YAAY,GAEzB,IAAI,CAFNf,aAAa;UACbK,IAAI,GACF,IAAI,CADNA,IAAI;QAGN,IAAIP,IAAI,IAAIkB,MAAM,CAACC,IAAI,CAACF,YAAY,CAAC,CAACG,QAAQ,CAACpB,IAAI,CAACK,WAAW,CAAC,CAAC,CAAC,EAAE;UAClE,WAAOF,gBAAI,EAAAvE,gBAAA,KAAAA,gBAAA,OAAAwE,uBAAA,2BAAI,IAAI,CAACL,WAAW,CAAC,CAAC;QACnC;QAEA,WAAOI,gBAAI,EAAAtE,gBAAA,KAAAA,gBAAA,OAAAuE,uBAAA,4DAAAT,KAAA,iBAAAvD,gBAAA,aAzETqB,qBAAqB,CAAAT,SAAA,mBAAAE,IAAA,QA0EDqD,IAAI,GAAG,IAAI,CAACD,WAAW,CAAC,CAAC,GAAG,EAAE,EAChDO,OAAO,GAAG,IAAI,CAACD,cAAc,CAAC,CAAC,GAAG,EAAE;MAE1C;IAAC;MAAA/B,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEesC,6BAAM;MAAA;IAAA;EAAA;AAAA,GA/EYC,8BAAoB;AAkFxD;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"structured-list-cell.js","names":["_structuredListCell","_interopRequireDefault","require","_litElement","_","_2","_3","_settings","_structuredListCss","_carbonElement","_settings2","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_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","DDSStructuredListCell","_decorate2","customElement","concat","_initialize","_BXStructuredListCell","_BXStructuredListCell2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","closest","decorators","property","attribute","reflect","checkmark","Checkmark20","error","Error20","connectedCallback","_this$parentGroup","_get2","groupLabel","parentGroup","groupTitle","_renderIcon","icon","iconMap","_iconsAllowed","html","_taggedTemplateLiteral2","toLowerCase","_renderTags","tags","split","map","tag","trim","_renderTooltip","tooltip","tooltipText","Info16","render","iconsAllowed","Object","keys","includes","styles","BXStructuredListCell","_default","exports"],"sources":["components/structured-list/structured-list-cell.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 BXStructuredListCell from '../../internal/vendor/@carbon/web-components/components/structured-list/structured-list-cell.js';\nimport { property, html } from 'lit-element';\nimport Info16 from '../../internal/vendor/@carbon/web-components/icons/information/16.js';\nimport Checkmark20 from '../../internal/vendor/@carbon/web-components/icons/checkmark/20.js';\nimport Error20 from '../../internal/vendor/@carbon/web-components/icons/error/20.js';\nimport ddsSettings from '../../internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings';\nimport DDSStructuredListGroup from './structured-list-group';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js';\nimport settings from 'carbon-components/es/globals/js/settings';\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * StructuredListCell\n *\n * @element dds-structured-list-cell\n */\n@customElement(`${ddsPrefix}-structured-list-cell`)\nclass DDSStructuredListCell extends BXStructuredListCell {\n parentGroup: DDSStructuredListGroup | null = this.closest(\n `${ddsPrefix}-structured-list-group`\n );\n\n @property({ attribute: 'aria-label', reflect: true })\n groupLabel?: string;\n\n @property({ attribute: 'tooltip', reflect: true })\n tooltipText?: string;\n\n @property({ attribute: 'icon', reflect: true })\n icon?: string;\n\n private _iconsAllowed = {\n checkmark: Checkmark20,\n error: Error20,\n };\n\n @property({ attribute: 'tags', reflect: true })\n tags?: string;\n\n connectedCallback() {\n super.connectedCallback();\n this.groupLabel = this.parentGroup?.groupTitle;\n }\n\n private _renderIcon() {\n const { icon, _iconsAllowed: iconMap } = this;\n\n return html`${iconMap[icon!.toLowerCase()].call()}\n <span class=\"${prefix}--structured-list-cell-icon-text\">\n <slot></slot>\n </span>`;\n }\n\n private _renderTags() {\n const { tags } = this;\n\n return html`\n ${tags!\n .split(',')\n .map(\n (tag) => html` <bx-tag size=\"sm\" type=\"green\">${tag.trim()}</bx-tag> `\n )}\n `;\n }\n\n private _renderTooltip() {\n const { tooltipText: tooltip } = this;\n\n return html`\n <bx-tooltip-icon\n alignment=\"start\"\n body-text=\"${tooltip}\"\n direction=\"right\">\n ${Info16()}\n </bx-tooltip-icon>\n `;\n }\n\n render() {\n const {\n tooltipText: tooltip,\n icon,\n _iconsAllowed: iconsAllowed,\n tags,\n } = this;\n\n if (icon && Object.keys(iconsAllowed).includes(icon.toLowerCase())) {\n return html` ${this._renderIcon()} `;\n }\n\n return html`\n ${super.render()} ${tags ? this._renderTags() : ''}\n ${tooltip ? this._renderTooltip() : ''}\n `;\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSStructuredListCell;\n"],"mappings":";;;;;;;;;;;;;;;;AASA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,CAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,EAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,EAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,SAA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|
|
98
98
|
}, (0, _stableSelector["default"])(_litElement.LitElement));
|
|
99
99
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
100
|
-
var _default = DDSStructuredListGroup;
|
|
101
|
-
exports["default"] = _default;
|
|
100
|
+
var _default = exports["default"] = DDSStructuredListGroup;
|
|
102
101
|
//# sourceMappingURL=structured-list-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-list-group.js","names":["_litElement","require","_settings","_interopRequireDefault","_stableSelector","_structuredListCss","_carbonElement","_templateObject","_templateObject2","_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","DDSStructuredListGroup","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","closest","decorators","property","attribute","connectedCallback","_get2","_renderTitle","html","_taggedTemplateLiteral2","groupTitle","render","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/structured-list/structured-list-group.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 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 ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport DDSStructuredList from './structured-list';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * StructuredListGroup\n *\n * @element dds-structured-list-group\n */\n@customElement(`${ddsPrefix}-structured-list-group`)\nclass DDSStructuredListGroup extends StableSelectorMixin(LitElement) {\n _parentTable: DDSStructuredList | null = this.closest(\n `${ddsPrefix}-structured-list`\n );\n\n @property({ attribute: 'title' })\n groupTitle?: string;\n\n connectedCallback() {\n super.connectedCallback();\n }\n\n private _renderTitle() {\n // set colspan to max value to ensure it spans all columns\n return html`\n <tr>\n <th colspan=\"999\">${this.groupTitle}</th>\n </tr>\n `;\n }\n\n render() {\n return html`\n ${this.groupTitle ? this._renderTitle() : ''}\n <slot></slot>\n `;\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSStructuredListGroup;\n"],"mappings":";;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,eAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,kBAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAAgI,IAAAM,eAAA,EAAAC,gBAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAAA,GAAAM,MAAA,MAAAL,yBAAA,QAAAM,SAAA,OAAAF,gBAAA,mBAAAG,WAAA,EAAAF,MAAA,GAAAG,OAAA,CAAAC,SAAA,CAAAN,KAAA,EAAAO,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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;MAAAC,KAAA,EAGjC,SAAAK,kBAAA,EAAoB;QAClB,IAAAC,KAAA,iBAAA/C,gBAAA,aATEmB,sBAAsB,CAAAP,SAAA,8BAAAE,IAAA;MAU1B;IAAC;MAAAyB,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAO,aAAA,EAAuB;QACrB;QACA,WAAOC,gBAAI,EAAAzD,eAAA,KAAAA,eAAA,OAAA0D,uBAAA,2FAEa,IAAI,CAACC,UAAU;MAGzC;IAAC;MAAAZ,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAW,OAAA,EAAS;QACP,WAAOH,gBAAI,EAAAxD,gBAAA,KAAAA,gBAAA,OAAAyD,uBAAA,4DACP,IAAI,CAACC,UAAU,GAAG,IAAI,CAACH,YAAY,CAAC,CAAC,GAAG,EAAE;MAGhD;IAAC;MAAAT,IAAA;MAAA;MAAAC,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEeY,6BAAM;MAAA;IAAA;EAAA;AAAA,GA5Ba,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AA+BpE;AAAA,IAAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"structured-list-group.js","names":["_litElement","require","_settings","_interopRequireDefault","_stableSelector","_structuredListCss","_carbonElement","_templateObject","_templateObject2","_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","DDSStructuredListGroup","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","key","value","closest","decorators","property","attribute","connectedCallback","_get2","_renderTitle","html","_taggedTemplateLiteral2","groupTitle","render","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/structured-list/structured-list-group.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 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 ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport DDSStructuredList from './structured-list';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\n\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\n/**\n * StructuredListGroup\n *\n * @element dds-structured-list-group\n */\n@customElement(`${ddsPrefix}-structured-list-group`)\nclass DDSStructuredListGroup extends StableSelectorMixin(LitElement) {\n _parentTable: DDSStructuredList | null = this.closest(\n `${ddsPrefix}-structured-list`\n );\n\n @property({ attribute: 'title' })\n groupTitle?: string;\n\n connectedCallback() {\n super.connectedCallback();\n }\n\n private _renderTitle() {\n // set colspan to max value to ensure it spans all columns\n return html`\n <tr>\n <th colspan=\"999\">${this.groupTitle}</th>\n </tr>\n `;\n }\n\n render() {\n return html`\n ${this.groupTitle ? this._renderTitle() : ''}\n <slot></slot>\n `;\n }\n\n static styles = styles;\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSStructuredListGroup;\n"],"mappings":";;;;;;;;;;;;;;;;AASA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,eAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,kBAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AAAgI,IAAAM,eAAA,EAAAC,gBAAA;AAAA,SAAAC,aAAAC,OAAA,QAAAC,yBAAA,GAAAC,yBAAA,oBAAAC,qBAAA,QAAAC,KAAA,OAAAC,gBAAA,aAAAL,OAA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onElement.carbo
|
|
|
69
69
|
};
|
|
70
70
|
}, _structuredListHead["default"]);
|
|
71
71
|
/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */
|
|
72
|
-
var _default = DDSStructuredListHead;
|
|
73
|
-
exports["default"] = _default;
|
|
72
|
+
var _default = exports["default"] = DDSStructuredListHead;
|
|
74
73
|
//# sourceMappingURL=structured-list-head.js.map
|