@salesforcedevs/arch-components 1.20.17-alpha1
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/lwc.config.json +7 -0
- package/package.json +19 -0
- package/src/modules/common/context/context.html +1 -0
- package/src/modules/common/context/context.ts +137 -0
- package/src/modules/common/effectAdapter/__tests__/effectAdapter.test.ts +12 -0
- package/src/modules/common/effectAdapter/effectAdapter.html +1 -0
- package/src/modules/common/effectAdapter/effectAdapter.ts +18 -0
- package/src/modules/common/reflectedElement/__tests__/modules/test/select/select.html +3 -0
- package/src/modules/common/reflectedElement/__tests__/modules/test/select/select.ts +7 -0
- package/src/modules/common/reflectedElement/__tests__/modules/test/selectTransform/selectTransform.html +3 -0
- package/src/modules/common/reflectedElement/__tests__/modules/test/selectTransform/selectTransform.ts +18 -0
- package/src/modules/common/reflectedElement/__tests__/reflectedElement.test.ts +75 -0
- package/src/modules/common/reflectedElement/reflectedElement.ts +50 -0
- package/src/modules/common/slot/__tests__/slot.test.ts +96 -0
- package/src/modules/common/slot/slot.ts +20 -0
- package/src/modules/sa/coverage/coverage.css +35 -0
- package/src/modules/sa/coverage/coverage.html +15 -0
- package/src/modules/sa/coverage/coverage.ts +406 -0
- package/src/modules/sa/coverage/types.d.ts +26 -0
- package/src/modules/sa/expandableSection/expandableSection.css +24 -0
- package/src/modules/sa/expandableSection/expandableSection.html +20 -0
- package/src/modules/sa/expandableSection/expandableSection.stories.ts +37 -0
- package/src/modules/sa/expandableSection/expandableSection.ts +24 -0
- package/src/modules/sa/explorer/explorer.css +303 -0
- package/src/modules/sa/explorer/explorer.html +403 -0
- package/src/modules/sa/explorer/explorer.ts +664 -0
- package/src/modules/sa/explorer/types.d.ts +60 -0
- package/src/modules/sa/gallery/gallery.css +358 -0
- package/src/modules/sa/gallery/gallery.html +65 -0
- package/src/modules/sa/gallery/gallery.ts +300 -0
- package/src/modules/sa/gallery/types.d.ts +35 -0
- package/src/modules/sa/socialShare/socialShare.css +49 -0
- package/src/modules/sa/socialShare/socialShare.html +56 -0
- package/src/modules/sa/socialShare/socialShare.ts +29 -0
- package/src/modules/shared/a11y/a11y.ts +25 -0
- package/src/modules/shared/children/children.ts +29 -0
- package/src/modules/shared/color/color.ts +52 -0
- package/src/modules/shared/debounce/debounce.ts +32 -0
- package/src/modules/shared/dialog/dialog.ts +154 -0
- package/src/modules/shared/elements/__tests__/overflow.test.ts +39 -0
- package/src/modules/shared/elements/overflow.ts +71 -0
- package/src/modules/shared/fetch/fetch.ts +52 -0
- package/src/modules/shared/helpers/helpers.ts +141 -0
- package/src/modules/shared/i18n/i18n.ts +74 -0
- package/src/modules/shared/labels/__tests__/helpers.test.ts +107 -0
- package/src/modules/shared/labels/__tests__/pointHelpers.test.ts +33 -0
- package/src/modules/shared/labels/__tests__/timeHelpers.test.ts +89 -0
- package/src/modules/shared/labels/helpers.ts +23 -0
- package/src/modules/shared/labels/pointHelpers.ts +47 -0
- package/src/modules/shared/labels/timeHelpers.ts +182 -0
- package/src/modules/shared/labels/types.d.ts +5 -0
- package/src/modules/shared/logger/logger.ts +33 -0
- package/src/modules/shared/menu/menu.ts +239 -0
- package/src/modules/shared/overflow/__tests__/overflow.test.ts +39 -0
- package/src/modules/shared/overflow/overflow.ts +71 -0
- package/src/modules/shared/polling-request.ts +97 -0
- package/src/modules/shared/testutils.ts +118 -0
- package/src/modules/shared/track/track.ts +23 -0
- package/src/modules/shared/trailhead.ts +123 -0
- package/src/modules/shared/types.d.ts +1 -0
- package/src/modules/shared/useEffectAttr.ts +16 -0
- package/src/modules/shared/withState.ts +21 -0
- package/src/modules/tds/appLauncher/__fixtures__/index.ts +34 -0
- package/src/modules/tds/appLauncher/__tests__/appLauncher.test.ts +119 -0
- package/src/modules/tds/appLauncher/appLauncher.css +65 -0
- package/src/modules/tds/appLauncher/appLauncher.html +38 -0
- package/src/modules/tds/appLauncher/appLauncher.stories.ts +39 -0
- package/src/modules/tds/appLauncher/appLauncher.ts +79 -0
- package/src/modules/tds/appLauncher/types.ts +8 -0
- package/src/modules/tds/avatar/__tests__/avatar.test.ts +11 -0
- package/src/modules/tds/avatar/avatar.css +77 -0
- package/src/modules/tds/avatar/avatar.html +36 -0
- package/src/modules/tds/avatar/avatar.stories.ts +64 -0
- package/src/modules/tds/avatar/avatar.ts +50 -0
- package/src/modules/tds/badge/__tests__/badge.test.js +11 -0
- package/src/modules/tds/badge/badge.css +22 -0
- package/src/modules/tds/badge/badge.html +5 -0
- package/src/modules/tds/badge/badge.stories.ts +10 -0
- package/src/modules/tds/badge/badge.ts +9 -0
- package/src/modules/tds/button/__tests__/button.test.ts +52 -0
- package/src/modules/tds/button/button.css +1 -0
- package/src/modules/tds/button/button.html +20 -0
- package/src/modules/tds/button/button.stories.js +54 -0
- package/src/modules/tds/button/button.ts +59 -0
- package/src/modules/tds/buttonIcon/__tests__/buttonIcon.test.ts +17 -0
- package/src/modules/tds/buttonIcon/buttonIcon.css +1 -0
- package/src/modules/tds/buttonIcon/buttonIcon.html +12 -0
- package/src/modules/tds/buttonIcon/buttonIcon.stories.js +38 -0
- package/src/modules/tds/buttonIcon/buttonIcon.ts +6 -0
- package/src/modules/tds/buttonIconLink/buttonIconLink.css +1 -0
- package/src/modules/tds/buttonIconLink/buttonIconLink.html +14 -0
- package/src/modules/tds/buttonIconLink/buttonIconLink.stories.ts +32 -0
- package/src/modules/tds/buttonIconLink/buttonIconLink.ts +9 -0
- package/src/modules/tds/buttonLink/__tests__/buttonLink.test.ts +17 -0
- package/src/modules/tds/buttonLink/buttonLink.css +1 -0
- package/src/modules/tds/buttonLink/buttonLink.html +19 -0
- package/src/modules/tds/buttonLink/buttonLink.stories.js +24 -0
- package/src/modules/tds/buttonLink/buttonLink.ts +8 -0
- package/src/modules/tds/buttonStyles/buttonStyles.css +232 -0
- package/src/modules/tds/childSummary/__tests__/childSummary.test.js +99 -0
- package/src/modules/tds/childSummary/childSummary.css +74 -0
- package/src/modules/tds/childSummary/childSummary.html +38 -0
- package/src/modules/tds/childSummary/childSummary.stories.ts +40 -0
- package/src/modules/tds/childSummary/childSummary.ts +63 -0
- package/src/modules/tds/childSummary/types.d.ts +10 -0
- package/src/modules/tds/contentChildListItem/__tests__/contentChildListItem.test.ts +32 -0
- package/src/modules/tds/contentChildListItem/contentChildListItem.css +1 -0
- package/src/modules/tds/contentChildListItem/contentChildListItem.html +10 -0
- package/src/modules/tds/contentChildListItem/contentChildListItem.stories.ts +46 -0
- package/src/modules/tds/contentChildListItem/contentChildListItem.ts +34 -0
- package/src/modules/tds/contentIcon/contentIcon.css +47 -0
- package/src/modules/tds/contentIcon/contentIcon.html +15 -0
- package/src/modules/tds/contentIcon/contentIcon.stories.js +110 -0
- package/src/modules/tds/contentIcon/contentIcon.ts +66 -0
- package/src/modules/tds/contextAdapter/__tests__/contextAdapter.test.ts +76 -0
- package/src/modules/tds/contextAdapter/constants.ts +1 -0
- package/src/modules/tds/contextAdapter/contextAdapter.html +1 -0
- package/src/modules/tds/contextAdapter/contextAdapter.ts +54 -0
- package/src/modules/tds/dialogStyles/dialogStyles.css +90 -0
- package/src/modules/tds/footerLinks/__tests__/__snapshots__/footerLinks.test.ts.snap +3 -0
- package/src/modules/tds/footerLinks/__tests__/footerLinks.test.ts +142 -0
- package/src/modules/tds/footerLinks/footerLinks.css +80 -0
- package/src/modules/tds/footerLinks/footerLinks.html +30 -0
- package/src/modules/tds/footerLinks/footerLinks.ts +48 -0
- package/src/modules/tds/footerLinks/types.ts +11 -0
- package/src/modules/tds/footerMfe/footerMfe.html +3 -0
- package/src/modules/tds/footerMfe/footerMfe.ts +19 -0
- package/src/modules/tds/headerAvatar/__tests__/headerAvatar.test.ts +43 -0
- package/src/modules/tds/headerAvatar/headerAvatar.css +45 -0
- package/src/modules/tds/headerAvatar/headerAvatar.html +25 -0
- package/src/modules/tds/headerAvatar/headerAvatar.ts +15 -0
- package/src/modules/tds/headerHelpButton/__tests__/headerHelpButton.test.ts +32 -0
- package/src/modules/tds/headerHelpButton/headerHelpButton.css +14 -0
- package/src/modules/tds/headerHelpButton/headerHelpButton.html +19 -0
- package/src/modules/tds/headerHelpButton/headerHelpButton.ts +12 -0
- package/src/modules/tds/heading/__tests__/heading.test.ts +50 -0
- package/src/modules/tds/heading/heading.css +1 -0
- package/src/modules/tds/heading/heading.html +9 -0
- package/src/modules/tds/heading/heading.stories.ts +36 -0
- package/src/modules/tds/heading/heading.ts +36 -0
- package/src/modules/tds/icon/icon.css +28 -0
- package/src/modules/tds/icon/icon.html +17 -0
- package/src/modules/tds/icon/icon.stories.js +18 -0
- package/src/modules/tds/icon/icon.ts +79 -0
- package/src/modules/tds/input/__tests__/input.test.ts +41 -0
- package/src/modules/tds/input/input.css +34 -0
- package/src/modules/tds/input/input.html +12 -0
- package/src/modules/tds/input/input.stories.ts +25 -0
- package/src/modules/tds/input/input.ts +41 -0
- package/src/modules/tds/instrumentation/instrumentation.css +0 -0
- package/src/modules/tds/instrumentation/instrumentation.html +1 -0
- package/src/modules/tds/instrumentation/instrumentation.ts +113 -0
- package/src/modules/tds/pbCard/pbCard.css +28 -0
- package/src/modules/tds/pbCard/pbCard.html +21 -0
- package/src/modules/tds/pbCard/pbCard.ts +18 -0
- package/src/modules/tds/pill/__tests__/pill.test.ts +56 -0
- package/src/modules/tds/pill/pill.css +70 -0
- package/src/modules/tds/pill/pill.html +17 -0
- package/src/modules/tds/pill/pill.stories.ts +41 -0
- package/src/modules/tds/pill/pill.ts +34 -0
- package/src/modules/tds/progressBar/__tests__/progressBar.test.js +11 -0
- package/src/modules/tds/progressBar/progressBar.css +42 -0
- package/src/modules/tds/progressBar/progressBar.html +14 -0
- package/src/modules/tds/progressBar/progressBar.stories.ts +24 -0
- package/src/modules/tds/progressBar/progressBar.ts +14 -0
- package/src/modules/tds/radio/__tests__/radio.test.ts +29 -0
- package/src/modules/tds/radio/radio.css +89 -0
- package/src/modules/tds/radio/radio.html +17 -0
- package/src/modules/tds/radio/radio.stories.ts +31 -0
- package/src/modules/tds/radio/radio.ts +32 -0
- package/src/modules/tds/reset/reset.css +39 -0
- package/src/modules/tds/search/__fixtures__/index.ts +32 -0
- package/src/modules/tds/search/__tests__/search.test.ts +235 -0
- package/src/modules/tds/search/lib/__tests__/__snapshots__/listbox.test.ts.snap +115 -0
- package/src/modules/tds/search/lib/__tests__/listbox.test.ts +192 -0
- package/src/modules/tds/search/lib/listbox.ts +209 -0
- package/src/modules/tds/search/search.css +122 -0
- package/src/modules/tds/search/search.html +21 -0
- package/src/modules/tds/search/search.stories.ts +20 -0
- package/src/modules/tds/search/search.ts +107 -0
- package/src/modules/tds/search/types.d.ts +22 -0
- package/src/modules/tds/searchList/searchList.css +120 -0
- package/src/modules/tds/searchList/searchList.html +43 -0
- package/src/modules/tds/searchList/searchList.stories.ts +10 -0
- package/src/modules/tds/searchList/searchList.ts +53 -0
- package/src/modules/tds/select/__tests__/select.test.ts +150 -0
- package/src/modules/tds/select/select.css +42 -0
- package/src/modules/tds/select/select.html +24 -0
- package/src/modules/tds/select/select.stories.ts +59 -0
- package/src/modules/tds/select/select.ts +60 -0
- package/src/modules/tds/spinner/__tests__/spinner.test.ts +11 -0
- package/src/modules/tds/spinner/spinner.css +194 -0
- package/src/modules/tds/spinner/spinner.html +9 -0
- package/src/modules/tds/spinner/spinner.stories.ts +20 -0
- package/src/modules/tds/spinner/spinner.ts +15 -0
- package/src/modules/tds/styles/styles.css +24 -0
- package/src/modules/tds/summary/__tests__/summary.test.ts +135 -0
- package/src/modules/tds/summary/summary.css +135 -0
- package/src/modules/tds/summary/summary.html +69 -0
- package/src/modules/tds/summary/summary.stories.js +148 -0
- package/src/modules/tds/summary/summary.ts +95 -0
- package/src/modules/tds/tab/__tests__/tab.test.ts +25 -0
- package/src/modules/tds/tab/tab.css +3 -0
- package/src/modules/tds/tab/tab.html +5 -0
- package/src/modules/tds/tab/tab.ts +46 -0
- package/src/modules/tds/tabset/__tests__/tabset.test.ts +108 -0
- package/src/modules/tds/tabset/tabset.css +112 -0
- package/src/modules/tds/tabset/tabset.html +63 -0
- package/src/modules/tds/tabset/tabset.stories.ts +32 -0
- package/src/modules/tds/tabset/tabset.ts +232 -0
- package/src/modules/tds/themeProvider/themeProvider.css +502 -0
- package/src/modules/tds/themeProvider/themeProvider.html +3 -0
- package/src/modules/tds/themeProvider/themeProvider.ts +37 -0
- package/src/modules/tds/tile/tile.css +23 -0
- package/src/modules/tds/tile/tile.html +5 -0
- package/src/modules/tds/tile/tile.stories.js +14 -0
- package/src/modules/tds/tile/tile.ts +12 -0
- package/src/modules/tds/xsfMfeEvents/xsfMfeEvents.html +1 -0
- package/src/modules/tds/xsfMfeEvents/xsfMfeEvents.ts +47 -0
- package/src/modules/th/contextAdapter/__tests__/contextAdapter.test.ts +104 -0
- package/src/modules/th/contextAdapter/contextAdapter.html +1 -0
- package/src/modules/th/contextAdapter/contextAdapter.ts +49 -0
- package/src/modules/th/favoriteButton/__tests__/favoriteButton.test.ts +56 -0
- package/src/modules/th/favoriteButton/favoriteButton.css +3 -0
- package/src/modules/th/favoriteButton/favoriteButton.html +15 -0
- package/src/modules/th/favoriteButton/favoriteButton.stories.js +30 -0
- package/src/modules/th/favoriteButton/favoriteButton.ts +84 -0
- package/src/modules/th/favoriteButton/mocks/index.ts +12 -0
- package/src/modules/th/search/__fixtures__/index.ts +14 -0
- package/src/modules/th/search/__tests__/search.test.ts +233 -0
- package/src/modules/th/search/constants.ts +2 -0
- package/src/modules/th/search/mocks/index.ts +30 -0
- package/src/modules/th/search/mocks/responses.ts +54 -0
- package/src/modules/th/search/search.css +4 -0
- package/src/modules/th/search/search.html +12 -0
- package/src/modules/th/search/search.ts +172 -0
- package/src/modules/th/search/types.d.ts +29 -0
- package/src/modules/th/tbid/__tests__/__snapshots__/tbid.test.ts.snap +3 -0
- package/src/modules/th/tbid/__tests__/tbid.test.ts +242 -0
- package/src/modules/th/tbid/tbid.html +1 -0
- package/src/modules/th/tbid/tbid.stories.mdx +25 -0
- package/src/modules/th/tbid/tbid.ts +215 -0
- package/src/modules/tm/card/__tests__/card.test.ts +65 -0
- package/src/modules/tm/card/card.css +131 -0
- package/src/modules/tm/card/card.html +81 -0
- package/src/modules/tm/card/card.ts +269 -0
- package/src/modules/tm/cardBase/cardBase.css +11 -0
- package/src/modules/tm/cardGridA/cardGridA.css +11 -0
- package/src/modules/tm/cardGridA/cardGridA.html +21 -0
- package/src/modules/tm/cardGridA/cardGridA.stories.js +107 -0
- package/src/modules/tm/cardGridA/cardGridA.ts +24 -0
- package/src/modules/tm/cardGridB/cardGridB.css +88 -0
- package/src/modules/tm/cardGridB/cardGridB.html +20 -0
- package/src/modules/tm/cardGridB/cardGridB.stories.js +58 -0
- package/src/modules/tm/cardGridB/cardGridB.ts +19 -0
- package/src/modules/tm/cardGridC/cardGridC.css +24 -0
- package/src/modules/tm/cardGridC/cardGridC.html +22 -0
- package/src/modules/tm/cardGridC/cardGridC.stories.js +42 -0
- package/src/modules/tm/cardGridC/cardGridC.ts +11 -0
- package/src/modules/tm/cardGridD/cardGridD.css +17 -0
- package/src/modules/tm/cardGridD/cardGridD.html +20 -0
- package/src/modules/tm/cardGridD/cardGridD.stories.js +34 -0
- package/src/modules/tm/cardGridD/cardGridD.ts +7 -0
- package/src/modules/tm/cardNew/cardNew.css +31 -0
- package/src/modules/tm/cardNew/cardNew.html +29 -0
- package/src/modules/tm/cardNew/cardNew.ts +66 -0
- package/src/modules/tm/content/__fixtures__/index.ts +884 -0
- package/src/modules/tm/content/__tests__/content.test.ts +95 -0
- package/src/modules/tm/content/content.css +641 -0
- package/src/modules/tm/content/content.html +53 -0
- package/src/modules/tm/content/content.stories.js +14 -0
- package/src/modules/tm/content/content.ts +171 -0
- package/src/modules/tm/endCapA/__tests__/endCapA.test.ts +52 -0
- package/src/modules/tm/endCapA/endCapA.css +64 -0
- package/src/modules/tm/endCapA/endCapA.html +21 -0
- package/src/modules/tm/endCapA/endCapA.stories.js +37 -0
- package/src/modules/tm/endCapA/endCapA.ts +23 -0
- package/src/modules/tm/eventsA/eventsA.css +107 -0
- package/src/modules/tm/eventsA/eventsA.html +26 -0
- package/src/modules/tm/eventsA/eventsA.stories.js +51 -0
- package/src/modules/tm/eventsA/eventsA.ts +48 -0
- package/src/modules/tm/faqA/faqA.css +87 -0
- package/src/modules/tm/faqA/faqA.html +27 -0
- package/src/modules/tm/faqA/faqA.stories.js +25 -0
- package/src/modules/tm/faqA/faqA.ts +40 -0
- package/src/modules/tm/featureGridA/__tests__/featureGridA.test.ts +116 -0
- package/src/modules/tm/featureGridA/featureGridA.css +95 -0
- package/src/modules/tm/featureGridA/featureGridA.html +34 -0
- package/src/modules/tm/featureGridA/featureGridA.stories.js +45 -0
- package/src/modules/tm/featureGridA/featureGridA.ts +59 -0
- package/src/modules/tm/footnote/footnote.css +28 -0
- package/src/modules/tm/footnote/footnote.html +3 -0
- package/src/modules/tm/footnote/footnote.stories.js +29 -0
- package/src/modules/tm/footnote/footnote.ts +35 -0
- package/src/modules/tm/heroA/__tests__/heroA.test.ts +51 -0
- package/src/modules/tm/heroA/heroA.css +116 -0
- package/src/modules/tm/heroA/heroA.html +27 -0
- package/src/modules/tm/heroA/heroA.stories.js +49 -0
- package/src/modules/tm/heroA/heroA.ts +56 -0
- package/src/modules/tm/heroB/heroB.css +78 -0
- package/src/modules/tm/heroB/heroB.html +26 -0
- package/src/modules/tm/heroB/heroB.stories.js +44 -0
- package/src/modules/tm/heroB/heroB.ts +26 -0
- package/src/modules/tm/page/__tests__/page.test.ts +35 -0
- package/src/modules/tm/page/page.css +3 -0
- package/src/modules/tm/page/page.html +3 -0
- package/src/modules/tm/page/page.stories.js +10 -0
- package/src/modules/tm/page/page.ts +3 -0
- package/src/modules/tm/pageHeaderA/pageHeaderA.css +82 -0
- package/src/modules/tm/pageHeaderA/pageHeaderA.html +24 -0
- package/src/modules/tm/pageHeaderA/pageHeaderA.stories.js +18 -0
- package/src/modules/tm/pageHeaderA/pageHeaderA.ts +51 -0
- package/src/modules/tm/pageNavigationA/pageNavigationA.css +41 -0
- package/src/modules/tm/pageNavigationA/pageNavigationA.html +9 -0
- package/src/modules/tm/pageNavigationA/pageNavigationA.stories.js +34 -0
- package/src/modules/tm/pageNavigationA/pageNavigationA.ts +18 -0
- package/src/modules/tm/promoA/__tests__/promoA.test.ts +89 -0
- package/src/modules/tm/promoA/promoA.css +95 -0
- package/src/modules/tm/promoA/promoA.html +22 -0
- package/src/modules/tm/promoA/promoA.stories.js +38 -0
- package/src/modules/tm/promoA/promoA.ts +62 -0
- package/src/modules/tm/sectionA/sectionA.css +64 -0
- package/src/modules/tm/sectionA/sectionA.html +21 -0
- package/src/modules/tm/sectionA/sectionA.stories.js +18 -0
- package/src/modules/tm/sectionA/sectionA.ts +27 -0
- package/src/modules/tm/sectionSpacer/sectionSpacer.css +4 -0
- package/src/modules/tm/sectionSpacer/sectionSpacer.html +1 -0
- package/src/modules/tm/sectionSpacer/sectionSpacer.ts +3 -0
- package/src/modules/tm/skillsCardA/skillsCardA.css +73 -0
- package/src/modules/tm/skillsCardA/skillsCardA.html +37 -0
- package/src/modules/tm/skillsCardA/skillsCardA.ts +38 -0
- package/src/modules/tm/skillsGridA/skillsGridA.css +12 -0
- package/src/modules/tm/skillsGridA/skillsGridA.html +5 -0
- package/src/modules/tm/skillsGridA/skillsGridA.stories.ts +65 -0
- package/src/modules/tm/skillsGridA/skillsGridA.ts +3 -0
- package/src/modules/tm/statsA/statsA.css +26 -0
- package/src/modules/tm/statsA/statsA.html +10 -0
- package/src/modules/tm/statsA/statsA.stories.js +29 -0
- package/src/modules/tm/statsA/statsA.ts +20 -0
- package/src/modules/tm/textItem/textItem.css +53 -0
- package/src/modules/tm/textItem/textItem.html +18 -0
- package/src/modules/tm/textItem/textItem.ts +32 -0
- package/src/modules/tm/textItemGridA/textItemGridA.css +11 -0
- package/src/modules/tm/textItemGridA/textItemGridA.html +15 -0
- package/src/modules/tm/textItemGridA/textItemGridA.stories.js +67 -0
- package/src/modules/tm/textItemGridA/textItemGridA.ts +20 -0
- package/src/modules/tm/threeCardGrid/threeCardGrid.css +6 -0
- package/src/modules/tm/threeCardGrid/threeCardGrid.html +5 -0
- package/src/modules/tm/threeCardGrid/threeCardGrid.ts +3 -0
- package/src/modules/tm/trailblazersA/trailblazersA.css +70 -0
- package/src/modules/tm/trailblazersA/trailblazersA.html +42 -0
- package/src/modules/tm/trailblazersA/trailblazersA.stories.js +52 -0
- package/src/modules/tm/trailblazersA/trailblazersA.ts +43 -0
- package/src/modules/tm/utils/utils.ts +18 -0
- package/src/modules/tm/youtube/youtube.css +7 -0
- package/src/modules/tm/youtube/youtube.html +10 -0
- package/src/modules/tm/youtube/youtube.stories.js +15 -0
- package/src/modules/tm/youtube/youtube.ts +27 -0
- package/src/modules/ui/focusTrap/focusTrap.html +5 -0
- package/src/modules/ui/focusTrap/focusTrap.ts +104 -0
- package/src/modules/ui/focusVisible/__tests__/focusVisible.test.ts +95 -0
- package/src/modules/ui/focusVisible/focusVisible.html +3 -0
- package/src/modules/ui/focusVisible/focusVisible.ts +46 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export type Pattern = {
|
|
2
|
+
Name?: string;
|
|
3
|
+
Description: string;
|
|
4
|
+
Example?: string;
|
|
5
|
+
Weight?: number | null;
|
|
6
|
+
LastUpdated?: string;
|
|
7
|
+
Location: string;
|
|
8
|
+
Capability: string;
|
|
9
|
+
Behavior: string;
|
|
10
|
+
Consideration: string;
|
|
11
|
+
ConsiderationURL: string;
|
|
12
|
+
Dimension: string;
|
|
13
|
+
DimensionURL: string;
|
|
14
|
+
Mirror?: Pattern;
|
|
15
|
+
Tools?: Tool[];
|
|
16
|
+
Resources?: Resource[];
|
|
17
|
+
ProductArea: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type Location = {
|
|
21
|
+
Name: string;
|
|
22
|
+
isDisabled: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type Behavior = {
|
|
26
|
+
Capability: string;
|
|
27
|
+
Name: string;
|
|
28
|
+
Weight: number;
|
|
29
|
+
Dimensions: Dimension[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type Dimension = {
|
|
33
|
+
Behavior: string;
|
|
34
|
+
Name: string;
|
|
35
|
+
Weight: number;
|
|
36
|
+
isDisabled: boolean;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type Tool = {
|
|
40
|
+
Name: string;
|
|
41
|
+
Description: string;
|
|
42
|
+
URL: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type Resource = {
|
|
46
|
+
Name: string;
|
|
47
|
+
Description: string;
|
|
48
|
+
URL: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type Filter = {
|
|
52
|
+
Type: string;
|
|
53
|
+
Name: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type VersionInfo = {
|
|
57
|
+
Number: string;
|
|
58
|
+
Name: string;
|
|
59
|
+
URL: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
@import 'tds/reset';
|
|
2
|
+
|
|
3
|
+
:host {
|
|
4
|
+
font-size: var(--tds-font-size-md);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.filter-header {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.filter-title {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
margin-right: var(--tds-spacing-8);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.filter-header h2 {
|
|
19
|
+
font-size: var(--tds-font-size-lg);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.filter-form {
|
|
23
|
+
margin-bottom: var(--tds-spacing-8);
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-wrap: wrap;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.filter-form > * {
|
|
30
|
+
margin-right: var(--tds-spacing-4);
|
|
31
|
+
margin-left: var(--tds-spacing-4);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.filter-form tds-select {
|
|
35
|
+
flex: 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.tds-select {
|
|
39
|
+
width: 60%;
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.search-input {
|
|
44
|
+
width: 40%;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.search-input__wrapper {
|
|
49
|
+
align-items: stretch;
|
|
50
|
+
display: flex;
|
|
51
|
+
position: relative;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.search-input__label {
|
|
55
|
+
overflow-wrap: break-word;
|
|
56
|
+
word-wrap: break-word;
|
|
57
|
+
hyphens: auto;
|
|
58
|
+
display: block;
|
|
59
|
+
padding-right: var(--tds-spacing-2);
|
|
60
|
+
padding-top: var(--tds-spacing-2);
|
|
61
|
+
color: var(--tds-color-meteorite);
|
|
62
|
+
font-size: var(--tds-font-size-xs);
|
|
63
|
+
margin-bottom: var(--tds-spacing-2);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.search-input__input {
|
|
67
|
+
border-radius: var(--tds-radius-md);
|
|
68
|
+
border: 1px solid var(--tds-color-fog);
|
|
69
|
+
color: var(--tds-color-black);
|
|
70
|
+
flex: 1;
|
|
71
|
+
font-family: inherit;
|
|
72
|
+
font-size: var(--tds-font-size-md);
|
|
73
|
+
line-height: 1.875;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
padding: 0.4rem 0;
|
|
76
|
+
padding-left: var(--tds-spacing-8);
|
|
77
|
+
position: relative;
|
|
78
|
+
text-overflow: ellipsis;
|
|
79
|
+
transition: border 0.1s linear, background-color 0.1s linear;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.search-input__icon {
|
|
84
|
+
color: var(--tds-color-granite);
|
|
85
|
+
left: 10px;
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 13px;
|
|
88
|
+
z-index: 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.table-summary {
|
|
92
|
+
display: flex;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
align-items: center;
|
|
95
|
+
margin-bottom: var(--tds-spacing-4);
|
|
96
|
+
}
|
|
97
|
+
.table-summary > div {
|
|
98
|
+
margin-bottom: var(--tds-spacing-4);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.table-summary .page-size-controls,
|
|
102
|
+
.table-summary .collapse-buttons {
|
|
103
|
+
flex-basis: 25%;
|
|
104
|
+
}
|
|
105
|
+
.table-summary .page-size-controls {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
}
|
|
109
|
+
.table-summary .page-size-controls div {
|
|
110
|
+
margin-right: 0.5rem;
|
|
111
|
+
color: var(--tds-color-meteorite);
|
|
112
|
+
}
|
|
113
|
+
.table-summary .collapse-buttons {
|
|
114
|
+
text-align: right;
|
|
115
|
+
}
|
|
116
|
+
.table-summary .collapse-buttons button:first-child {
|
|
117
|
+
margin-right: 0.5rem;
|
|
118
|
+
}
|
|
119
|
+
.table-summary .collapse-buttons button:last-child {
|
|
120
|
+
margin-left: 0.5rem;
|
|
121
|
+
}
|
|
122
|
+
.table-summary .filter-stats {
|
|
123
|
+
text-align: center;
|
|
124
|
+
color: var(--tds-color-meteorite);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
table {
|
|
128
|
+
width: 100%;
|
|
129
|
+
margin: 0 auto;
|
|
130
|
+
border-collapse: separate;
|
|
131
|
+
border-spacing: 0;
|
|
132
|
+
border-right: 1px solid #dddbda;
|
|
133
|
+
border-left: 1px solid #dddbda;
|
|
134
|
+
border-bottom: 1px solid #111111;
|
|
135
|
+
vertical-align: middle;
|
|
136
|
+
margin-bottom: var(--tds-spacing-8);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
thead {
|
|
140
|
+
display: table-header-group;
|
|
141
|
+
border-color: inherit;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
th {
|
|
145
|
+
background-color: #ebf5ff;
|
|
146
|
+
border-top: 1px solid #dddbda;
|
|
147
|
+
border-bottom: 1px solid #111111;
|
|
148
|
+
padding: 1rem;
|
|
149
|
+
vertical-align: middle;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
tr {
|
|
153
|
+
display: table-row;
|
|
154
|
+
vertical-align: middle;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
tr:nth-child(even) td {
|
|
158
|
+
background: #fafaf9;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
tr td:first-child {
|
|
162
|
+
border-left: 3px solid transparent;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
tr td:last-child {
|
|
166
|
+
border-right: 3px solid transparent;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
tr:hover td {
|
|
170
|
+
box-shadow: #dddbda 0 -1px 0 inset, #dddbda 0 1px 0 inset;
|
|
171
|
+
background: #fafaf9;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
tr:hover td:first-child {
|
|
175
|
+
border-left: 3px solid var(--tds-color-brand);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
tr:hover td:last-child {
|
|
179
|
+
border-right: 3px solid var(--tds-color-brand);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
td {
|
|
183
|
+
padding: 0.75rem 1rem;
|
|
184
|
+
border-top: 1px solid #dddbda;
|
|
185
|
+
border-bottom: 1px solid #dddbda;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.status {
|
|
189
|
+
text-align: center;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.feature a {
|
|
193
|
+
color: var(--tds-color-brand);
|
|
194
|
+
text-decoration: none;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.feature a:hover {
|
|
198
|
+
text-decoration: underline;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.feature p {
|
|
202
|
+
margin-bottom: var(--tds-spacing-2);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.feature .inline {
|
|
206
|
+
display: flex;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.feature .inline h4 {
|
|
210
|
+
padding-right: var(--tds-spacing-4);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
td.empty-table {
|
|
214
|
+
height: 20rem;
|
|
215
|
+
text-align: center;
|
|
216
|
+
pointer-events: none;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
td.empty-table tds-spinner {
|
|
220
|
+
display: inline-block;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
button.link {
|
|
224
|
+
background: none;
|
|
225
|
+
border-width: 0;
|
|
226
|
+
text-decoration: underline;
|
|
227
|
+
cursor: pointer;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.pagination-controls {
|
|
231
|
+
display: flex;
|
|
232
|
+
justify-content: center;
|
|
233
|
+
margin-bottom: var(--tds-spacing-8);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.pagination-controls tds-button {
|
|
237
|
+
padding: 0 1rem;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.safe-harbor {
|
|
241
|
+
border-radius: 10px;
|
|
242
|
+
border: 1px solid gray;
|
|
243
|
+
padding: 20px;
|
|
244
|
+
margin-bottom: 20px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.safe-harbor img {
|
|
248
|
+
margin-right: 10px;
|
|
249
|
+
float: left;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@media screen and (max-width: 48rem) {
|
|
253
|
+
.filter-header {
|
|
254
|
+
flex-direction: column-reverse;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.filter-header div {
|
|
258
|
+
width: 100%;
|
|
259
|
+
display: flex;
|
|
260
|
+
justify-content: space-between;
|
|
261
|
+
align-items: center;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.filter-header sa-social-share {
|
|
265
|
+
margin-bottom: var(--tds-spacing-6);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.table-summary {
|
|
269
|
+
flex-direction: column;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.table-wrapper {
|
|
273
|
+
overflow-x: scroll;
|
|
274
|
+
}
|
|
275
|
+
.docs-grid-container {
|
|
276
|
+
position: relative;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.docs-action-bar {
|
|
280
|
+
display: flex;
|
|
281
|
+
justify-content: space-between;
|
|
282
|
+
align-items: flex-end;
|
|
283
|
+
padding: var(--dx-g-spacing-md) 0 var(--dx-g-spacing-lg);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.docs-action-bar > .records-container {
|
|
287
|
+
margin-right: auto;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.docs-action-bar .filters-container {
|
|
291
|
+
display: flex;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.docs-action-bar .filters-container > *:not(:first-child),
|
|
295
|
+
.docs-search-input {
|
|
296
|
+
margin-left: var(--dx-g-spacing-sm);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.docs-search-input {
|
|
300
|
+
--dx-c-input-width: 285px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.docs-card {
|
|
304
|
+
--dx-c-body-max-lines: 4;
|
|
305
|
+
--dx-c-heading-max-lines: 2;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.pagination-container {
|
|
309
|
+
max-width: fit-content;
|
|
310
|
+
max-width: -moz-fit-content;
|
|
311
|
+
margin: var(--dx-g-spacing-lg) auto;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
@media screen and (max-width: 1024px) {
|
|
315
|
+
.docs-card {
|
|
316
|
+
--dx-c-body-max-lines: 3;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media screen and (max-width: 768px) {
|
|
321
|
+
.docs-action-bar {
|
|
322
|
+
flex-direction: column-reverse;
|
|
323
|
+
width: 100%;
|
|
324
|
+
padding: 0;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.docs-search-input {
|
|
328
|
+
--dx-c-input-width: 100%;
|
|
329
|
+
|
|
330
|
+
width: 100%;
|
|
331
|
+
margin-bottom: var(--dx-g-spacing-md);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.docs-action-bar .records-container {
|
|
335
|
+
transform: translateY(-100%);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
@media screen and (max-width: 600px) {
|
|
340
|
+
.pagination-container {
|
|
341
|
+
width: 100%;
|
|
342
|
+
overflow: hidden;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.pagination-container > * {
|
|
346
|
+
position: absolute;
|
|
347
|
+
left: 50%;
|
|
348
|
+
transform: translateX(-50%);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
@media screen and (max-width: 460px) {
|
|
353
|
+
.docs-action-bar .records-container {
|
|
354
|
+
transform: initial;
|
|
355
|
+
padding: var(--dx-g-spacing-md) 0;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="filter-header">
|
|
3
|
+
<div>
|
|
4
|
+
<h2 class="filter-title">Search for {_searchTitle}</h2>
|
|
5
|
+
<tds-button class="clear-filter" onclick={handleResetFiltersClick}
|
|
6
|
+
>Clear filters</tds-button
|
|
7
|
+
>
|
|
8
|
+
</div>
|
|
9
|
+
<sa-social-share title={socialTitle} url={shareUrl}></sa-social-share>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="filter-form">
|
|
12
|
+
<tds-select
|
|
13
|
+
label={_filterLabel}
|
|
14
|
+
value={_selectFilter}
|
|
15
|
+
onchange={filterChange}
|
|
16
|
+
>
|
|
17
|
+
<option value="">- All {_filterLabel}s -</option>
|
|
18
|
+
<template for:each={filterOptions} for:item="item">
|
|
19
|
+
<option key={item.label} value={item.value}>
|
|
20
|
+
{item.label}
|
|
21
|
+
</option>
|
|
22
|
+
</template>
|
|
23
|
+
</tds-select>
|
|
24
|
+
|
|
25
|
+
<template if:true={_showMetaFilter}>
|
|
26
|
+
<tds-select
|
|
27
|
+
label={_metaFilterLabel}
|
|
28
|
+
value={_selectMetaFilter}
|
|
29
|
+
onchange={metaFilterChange}
|
|
30
|
+
>
|
|
31
|
+
<option value="">- All {_metaFilterLabel}s -</option>
|
|
32
|
+
<template for:each={metaFilterOptions} for:item="item">
|
|
33
|
+
<option key={item.label} value={item.value}>
|
|
34
|
+
{item.label}
|
|
35
|
+
</option>
|
|
36
|
+
</template>
|
|
37
|
+
</tds-select>
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<div class="search-input">
|
|
41
|
+
<label class="search-input__label" for="search">Search</label>
|
|
42
|
+
<div class="search-input__wrapper">
|
|
43
|
+
<tds-icon
|
|
44
|
+
class="search-input__icon"
|
|
45
|
+
size="small"
|
|
46
|
+
symbol="search"
|
|
47
|
+
></tds-icon>
|
|
48
|
+
<input
|
|
49
|
+
id="search"
|
|
50
|
+
class="search-input__input"
|
|
51
|
+
placeholder="Search..."
|
|
52
|
+
icon-symbol="search"
|
|
53
|
+
aria-label="Search..."
|
|
54
|
+
value={_keywordFilter}
|
|
55
|
+
oninput={keywordFilterChange}
|
|
56
|
+
disabled={isLoading}
|
|
57
|
+
/>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div role="region" aria-label="Gallery results" aria-live="polite">
|
|
62
|
+
<tm-card-grid-a img-aspect="60%" img-type="full" items={filteredCards}>
|
|
63
|
+
</tm-card-grid-a>
|
|
64
|
+
</div>
|
|
65
|
+
</template>
|