@salesforcedevs/dx-components 0.26.1-alpha0.4 → 0.26.2
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/LICENSE +12 -0
- package/package.json +4 -5
- package/src/assets/icons/action-sprite/svg/symbols.svg +1 -0
- package/src/assets/icons/brand-sprite/svg/symbols.svg +1381 -0
- package/src/assets/icons/custom-sprite/svg/symbols.svg +1 -0
- package/src/assets/icons/doctype-sprite/svg/symbols.svg +1 -0
- package/src/assets/icons/general-sprite/svg/symbols.svg +3013 -0
- package/src/assets/icons/salesforcebrand-sprite/svg/symbols.svg +257 -0
- package/src/assets/icons/standard-sprite/svg/symbols.svg +1 -0
- package/src/assets/icons/utility-sprite/svg/symbols.svg +1 -0
- package/src/assets/svg/card-news-learn-moar.svg +415 -0
- package/src/assets/svg/cloud-1.svg +24 -0
- package/src/assets/svg/cloud-2.svg +18 -0
- package/src/assets/svg/codey.svg +93 -0
- package/src/assets/svg/command.svg +9 -0
- package/src/assets/svg/control.svg +10 -0
- package/src/assets/svg/docs-empty-state-small.svg +72 -0
- package/src/assets/svg/docs-empty-state.svg +86 -0
- package/src/assets/svg/dsc-home-news-bear.svg +3 -0
- package/src/assets/svg/dsc-home-news-community.png +0 -0
- package/src/assets/svg/dsc-home-news-goatbear.svg +257 -0
- package/src/assets/svg/dsc-home-news-samplegallery.svg +76 -0
- package/src/assets/svg/empty-state-assistant.svg +1 -0
- package/src/assets/svg/fch-blog-cloud-1.png +0 -0
- package/src/assets/svg/fch-blog-cloud-2.png +0 -0
- package/src/assets/svg/fch-blog-planet.png +0 -0
- package/src/assets/svg/feature-backdrop1.svg +10 -0
- package/src/assets/svg/feature-backdrop2.svg +10 -0
- package/src/assets/svg/featured-demo-art-blank.svg +76 -0
- package/src/assets/svg/featured-demo-art-eBikes.svg +77 -0
- package/src/assets/svg/footer-graphic-large.svg +207 -0
- package/src/assets/svg/footer-graphic-mountains-small.svg +17 -0
- package/src/assets/svg/footer-graphic-mountains.svg +21 -0
- package/src/assets/svg/footer-graphic-trees-small.svg +33 -0
- package/src/assets/svg/footer-graphic-trees.svg +62 -0
- package/src/assets/svg/lake-mountain.svg +79 -0
- package/src/assets/svg/podcast-subscription-clouds-small.svg +49 -0
- package/src/assets/svg/podcast-subscription-clouds.svg +57 -0
- package/src/assets/svg/podcasts-subscription-apple.svg +164 -0
- package/src/assets/svg/podcasts-subscription-google.svg +29 -0
- package/src/assets/svg/podcasts-subscription-spotify.svg +11 -0
- package/src/assets/svg/salesforce-cloud.svg +7 -0
- package/src/assets/svg/salesforce-logo-corporate.svg +21 -0
- package/src/assets/svg/salesforce-logo.svg +14 -0
- package/src/assets/svg/sidebar-loading.svg +34 -0
- package/src/assets/svg/slack-cta-podcast-background-left.svg +28 -0
- package/src/assets/svg/slack-cta-podcast-background-right.svg +38 -0
- package/src/assets/svg/trees.svg +42 -0
- package/src/modules/dx/banner/__tests__/banner.test.ts +33 -0
- package/src/modules/dx/banner/banner.css +46 -0
- package/src/modules/dx/banner/banner.html +13 -0
- package/src/modules/dx/banner/banner.ts +14 -0
- package/src/modules/dx/brandThemeProvider/__tests__/brandThemeProvider.test.ts +49 -0
- package/src/modules/dx/brandThemeProvider/brandCssVars.ts +10 -0
- package/src/modules/dx/brandThemeProvider/brandThemeProvider.html +3 -0
- package/src/modules/dx/brandThemeProvider/brandThemeProvider.stories.ts +321 -0
- package/src/modules/dx/brandThemeProvider/brandThemeProvider.ts +46 -0
- package/src/modules/dx/breadcrumbs/__tests__/breadcrumbs.test.ts +140 -0
- package/src/modules/dx/breadcrumbs/__tests__/mockProps.ts +28 -0
- package/src/modules/dx/breadcrumbs/breadcrumbs.css +111 -0
- package/src/modules/dx/breadcrumbs/breadcrumbs.html +44 -0
- package/src/modules/dx/breadcrumbs/breadcrumbs.stories.ts +39 -0
- package/src/modules/dx/breadcrumbs/breadcrumbs.ts +122 -0
- package/src/modules/dx/button/__tests__/button.test.ts +107 -0
- package/src/modules/dx/button/button.css +175 -0
- package/src/modules/dx/button/button.html +43 -0
- package/src/modules/dx/button/button.stories.ts +150 -0
- package/src/modules/dx/button/button.ts +63 -0
- package/src/modules/dx/cardBlogPost/__tests__/cardBlogPost.test.ts +26 -0
- package/src/modules/dx/cardBlogPost/__tests__/mockProps.ts +12 -0
- package/src/modules/dx/cardBlogPost/cardBlogPost.css +13 -0
- package/src/modules/dx/cardBlogPost/cardBlogPost.html +24 -0
- package/src/modules/dx/cardBlogPost/cardBlogPost.stories.ts +164 -0
- package/src/modules/dx/cardBlogPost/cardBlogPost.ts +23 -0
- package/src/modules/dx/cardBlogPostProvider/__tests__/cardBlogPostProvider.test.ts +34 -0
- package/src/modules/dx/cardBlogPostProvider/__tests__/mockWordpressPosts.ts +44 -0
- package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.css +3 -0
- package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.html +16 -0
- package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.ts +29 -0
- package/src/modules/dx/cardCallout/__tests__/cardCallout.test.ts +20 -0
- package/src/modules/dx/cardCallout/__tests__/mockProps.ts +7 -0
- package/src/modules/dx/cardCallout/cardCallout.css +57 -0
- package/src/modules/dx/cardCallout/cardCallout.html +15 -0
- package/src/modules/dx/cardCallout/cardCallout.stories.ts +33 -0
- package/src/modules/dx/cardCallout/cardCallout.ts +37 -0
- package/src/modules/dx/cardContent/__tests__/cardContent.test.ts +100 -0
- package/src/modules/dx/cardContent/__tests__/mockProps.ts +13 -0
- package/src/modules/dx/cardContent/cardContent.css +52 -0
- package/src/modules/dx/cardContent/cardContent.html +59 -0
- package/src/modules/dx/cardContent/cardContent.stories.ts +127 -0
- package/src/modules/dx/cardContent/cardContent.ts +68 -0
- package/src/modules/dx/cardDemo/cardDemo.css +1 -0
- package/src/modules/dx/cardDemo/cardDemo.html +12 -0
- package/src/modules/dx/cardDemo/cardDemo.stories.ts +115 -0
- package/src/modules/dx/cardDemo/cardDemo.ts +11 -0
- package/src/modules/dx/cardDocs/__tests__/cardDocs.test.ts +48 -0
- package/src/modules/dx/cardDocs/__tests__/mockProps.ts +9 -0
- package/src/modules/dx/cardDocs/cardDocs.css +50 -0
- package/src/modules/dx/cardDocs/cardDocs.html +20 -0
- package/src/modules/dx/cardDocs/cardDocs.stories.ts +299 -0
- package/src/modules/dx/cardDocs/cardDocs.ts +30 -0
- package/src/modules/dx/cardEvent/__tests__/cardEvent.test.ts +95 -0
- package/src/modules/dx/cardEvent/__tests__/mockProps.ts +10 -0
- package/src/modules/dx/cardEvent/cardEvent.css +107 -0
- package/src/modules/dx/cardEvent/cardEvent.html +94 -0
- package/src/modules/dx/cardEvent/cardEvent.stories.ts +153 -0
- package/src/modules/dx/cardEvent/cardEvent.ts +42 -0
- package/src/modules/dx/cardExpanded/__tests__/cardExpanded.test.ts +193 -0
- package/src/modules/dx/cardExpanded/__tests__/mockProps.ts +21 -0
- package/src/modules/dx/cardExpanded/cardExpanded.css +49 -0
- package/src/modules/dx/cardExpanded/cardExpanded.html +37 -0
- package/src/modules/dx/cardExpanded/cardExpanded.stories.ts +59 -0
- package/src/modules/dx/cardExpanded/cardExpanded.ts +45 -0
- package/src/modules/dx/cardGrid/__tests__/cardMockProps.ts +431 -0
- package/src/modules/dx/cardGrid/__tests__/mockProps.ts +15 -0
- package/src/modules/dx/cardGrid/cardGrid.css +89 -0
- package/src/modules/dx/cardGrid/cardGrid.html +46 -0
- package/src/modules/dx/cardGrid/cardGrid.stories.ts +111 -0
- package/src/modules/dx/cardGrid/cardGrid.ts +140 -0
- package/src/modules/dx/cardMinimal/__tests__/cardMinimal.test.ts +87 -0
- package/src/modules/dx/cardMinimal/__tests__/mockProps.ts +10 -0
- package/src/modules/dx/cardMinimal/cardMinimal.css +31 -0
- package/src/modules/dx/cardMinimal/cardMinimal.html +13 -0
- package/src/modules/dx/cardMinimal/cardMinimal.stories.ts +32 -0
- package/src/modules/dx/cardMinimal/cardMinimal.ts +3 -0
- package/src/modules/dx/cardNews/__tests__/cardNews.test.ts +58 -0
- package/src/modules/dx/cardNews/__tests__/mockProps.ts +7 -0
- package/src/modules/dx/cardNews/cardNews.css +159 -0
- package/src/modules/dx/cardNews/cardNews.html +37 -0
- package/src/modules/dx/cardNews/cardNews.stories.ts +115 -0
- package/src/modules/dx/cardNews/cardNews.ts +62 -0
- package/src/modules/dx/cardPodcastEpisode/__tests__/cardPodcastEpisode.test.ts +68 -0
- package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.css +19 -0
- package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.html +36 -0
- package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.stories.ts +31 -0
- package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.ts +36 -0
- package/src/modules/dx/cardPodcastEpisodeProvider/__tests__/cardPodcastEpisodeProvider.test.ts +36 -0
- package/src/modules/dx/cardPodcastEpisodeProvider/__tests__/mockWordpressEpisodes.ts +50 -0
- package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.css +3 -0
- package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.html +12 -0
- package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.ts +29 -0
- package/src/modules/dx/cardSmall/__tests__/cardSmall.test.ts +66 -0
- package/src/modules/dx/cardSmall/__tests__/mockProps.ts +8 -0
- package/src/modules/dx/cardSmall/cardSmall.css +32 -0
- package/src/modules/dx/cardSmall/cardSmall.html +42 -0
- package/src/modules/dx/cardSmall/cardSmall.stories.ts +166 -0
- package/src/modules/dx/cardSmall/cardSmall.ts +38 -0
- package/src/modules/dx/cardTitle/__tests__/cardTitle.test.ts +46 -0
- package/src/modules/dx/cardTitle/cardTitle.css +41 -0
- package/src/modules/dx/cardTitle/cardTitle.html +20 -0
- package/src/modules/dx/cardTitle/cardTitle.ts +27 -0
- package/src/modules/dx/cardTrailheadModule/__tests__/cardTrailheadModule.test.ts +18 -0
- package/src/modules/dx/cardTrailheadModule/__tests__/mockProps.ts +11 -0
- package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.css +24 -0
- package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.html +20 -0
- package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.stories.ts +122 -0
- package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.ts +18 -0
- package/src/modules/dx/cardVideoPreview/__tests__/cardVideoPreview.test.ts +22 -0
- package/src/modules/dx/cardVideoPreview/__tests__/mockProps.ts +11 -0
- package/src/modules/dx/cardVideoPreview/cardVideoPreview.css +14 -0
- package/src/modules/dx/cardVideoPreview/cardVideoPreview.html +26 -0
- package/src/modules/dx/cardVideoPreview/cardVideoPreview.stories.ts +147 -0
- package/src/modules/dx/cardVideoPreview/cardVideoPreview.ts +13 -0
- package/src/modules/dx/checkbox/__tests__/checkbox.test.ts +85 -0
- package/src/modules/dx/checkbox/__tests__/mockProps.ts +5 -0
- package/src/modules/dx/checkbox/checkbox.css +168 -0
- package/src/modules/dx/checkbox/checkbox.html +26 -0
- package/src/modules/dx/checkbox/checkbox.stories.ts +38 -0
- package/src/modules/dx/checkbox/checkbox.ts +55 -0
- package/src/modules/dx/checkboxGroup/__tests__/checkboxGroup.test.ts +80 -0
- package/src/modules/dx/checkboxGroup/__tests__/mockProps.ts +14 -0
- package/src/modules/dx/checkboxGroup/checkboxGroup.css +12 -0
- package/src/modules/dx/checkboxGroup/checkboxGroup.html +15 -0
- package/src/modules/dx/checkboxGroup/checkboxGroup.stories.ts +33 -0
- package/src/modules/dx/checkboxGroup/checkboxGroup.ts +77 -0
- package/src/modules/dx/codeBlock/__tests__/codeBlock.test.ts +238 -0
- package/src/modules/dx/codeBlock/__tests__/mockProps.ts +160 -0
- package/src/modules/dx/codeBlock/codeBlock.css +128 -0
- package/src/modules/dx/codeBlock/codeBlock.html +79 -0
- package/src/modules/dx/codeBlock/codeBlock.stories.ts +143 -0
- package/src/modules/dx/codeBlock/codeBlock.ts +215 -0
- package/src/modules/dx/codeBlock/darkTheme.css +88 -0
- package/src/modules/dx/codeBlock/lightTheme.css +72 -0
- package/src/modules/dx/dropdown/__tests__/dropdown.test.ts +165 -0
- package/src/modules/dx/dropdown/__tests__/mockNestedOptions.ts +96 -0
- package/src/modules/dx/dropdown/__tests__/mockOptions.ts +10 -0
- package/src/modules/dx/dropdown/__tests__/mockProps.ts +6 -0
- package/src/modules/dx/dropdown/dropdown.css +93 -0
- package/src/modules/dx/dropdown/dropdown.html +67 -0
- package/src/modules/dx/dropdown/dropdown.stories.ts +89 -0
- package/src/modules/dx/dropdown/dropdown.ts +182 -0
- package/src/modules/dx/dropdownOption/__tests__/dropdownOption.test.ts +112 -0
- package/src/modules/dx/dropdownOption/__tests__/mockProps.ts +20 -0
- package/src/modules/dx/dropdownOption/dropdownOption.css +61 -0
- package/src/modules/dx/dropdownOption/dropdownOption.html +53 -0
- package/src/modules/dx/dropdownOption/dropdownOption.ts +39 -0
- package/src/modules/dx/emptyState/__tests__/emptyState.test.ts +52 -0
- package/src/modules/dx/emptyState/__tests__/mockProps.ts +4 -0
- package/src/modules/dx/emptyState/emptyState.css +64 -0
- package/src/modules/dx/emptyState/emptyState.html +9 -0
- package/src/modules/dx/emptyState/emptyState.stories.ts +45 -0
- package/src/modules/dx/emptyState/emptyState.ts +20 -0
- package/src/modules/dx/feature/__tests__/feature.test.ts +51 -0
- package/src/modules/dx/feature/__tests__/mockProps.ts +8 -0
- package/src/modules/dx/feature/feature.css +135 -0
- package/src/modules/dx/feature/feature.html +33 -0
- package/src/modules/dx/feature/feature.ts +34 -0
- package/src/modules/dx/featureGrid/__tests__/featureGrid.test.ts +21 -0
- package/src/modules/dx/featureGrid/featureGrid.html +3 -0
- package/src/modules/dx/featureGrid/featureGrid.stories.ts +120 -0
- package/src/modules/dx/featureGrid/featureGrid.ts +15 -0
- package/src/modules/dx/featuredContentHeader/__tests__/featuredContentHeader.test.ts +178 -0
- package/src/modules/dx/featuredContentHeader/__tests__/mockProps.ts +73 -0
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.css +469 -0
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.html +96 -0
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.stories.ts +153 -0
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +113 -0
- package/src/modules/dx/featuredContentHeader/svgs.ts +35 -0
- package/src/modules/dx/featuresList/__tests__/featuresList.test.ts +43 -0
- package/src/modules/dx/featuresList/__tests__/mockProps.ts +17 -0
- package/src/modules/dx/featuresList/featuresList.css +24 -0
- package/src/modules/dx/featuresList/featuresList.html +20 -0
- package/src/modules/dx/featuresList/featuresList.stories.ts +30 -0
- package/src/modules/dx/featuresList/featuresList.ts +21 -0
- package/src/modules/dx/footer/__tests__/footer.test.ts +147 -0
- package/src/modules/dx/footer/__tests__/mockLocales.ts +7 -0
- package/src/modules/dx/footer/footer.css +405 -0
- package/src/modules/dx/footer/footer.html +145 -0
- package/src/modules/dx/footer/footer.stories.ts +88 -0
- package/src/modules/dx/footer/footer.ts +124 -0
- package/src/modules/dx/footer/links.ts +140 -0
- package/src/modules/dx/footerOption/__tests__/footerOption.test.ts +34 -0
- package/src/modules/dx/footerOption/__tests__/mockProps.ts +7 -0
- package/src/modules/dx/footerOption/footerOption.css +4 -0
- package/src/modules/dx/footerOption/footerOption.html +12 -0
- package/src/modules/dx/footerOption/footerOption.ts +19 -0
- package/src/modules/dx/formattedDateTime/__tests__/formattedDateTime.test.ts +25 -0
- package/src/modules/dx/formattedDateTime/__tests__/mockProps.ts +13 -0
- package/src/modules/dx/formattedDateTime/formattedDateTime.html +1 -0
- package/src/modules/dx/formattedDateTime/formattedDateTime.stories.ts +103 -0
- package/src/modules/dx/formattedDateTime/formattedDateTime.ts +72 -0
- package/src/modules/dx/grid/__tests__/grid.test.ts +32 -0
- package/src/modules/dx/grid/grid.css +48 -0
- package/src/modules/dx/grid/grid.html +3 -0
- package/src/modules/dx/grid/grid.md +14 -0
- package/src/modules/dx/grid/grid.stories.ts +134 -0
- package/src/modules/dx/grid/grid.ts +72 -0
- package/src/modules/dx/groupBio/__tests__/groupBio.test.ts +82 -0
- package/src/modules/dx/groupBio/__tests__/mockProps.ts +15 -0
- package/src/modules/dx/groupBio/groupBio.css +49 -0
- package/src/modules/dx/groupBio/groupBio.html +29 -0
- package/src/modules/dx/groupBio/groupBio.stories.ts +66 -0
- package/src/modules/dx/groupBio/groupBio.ts +41 -0
- package/src/modules/dx/groupText/__tests__/groupText.test.ts +69 -0
- package/src/modules/dx/groupText/__tests__/mockProps.ts +35 -0
- package/src/modules/dx/groupText/groupText.css +119 -0
- package/src/modules/dx/groupText/groupText.html +65 -0
- package/src/modules/dx/groupText/groupText.stories.ts +81 -0
- package/src/modules/dx/groupText/groupText.ts +93 -0
- package/src/modules/dx/headTags/headTags.html +3 -0
- package/src/modules/dx/headTags/headTags.ts +39 -0
- package/src/modules/dx/header/__benchmarks__/header.benchmark.js +45 -0
- package/src/modules/dx/header/__tests__/header.test.ts +236 -0
- package/src/modules/dx/header/__tests__/mockNavArchitects.ts +169 -0
- package/src/modules/dx/header/__tests__/mockNavDevelopers.ts +419 -0
- package/src/modules/dx/header/__tests__/mockNavs.ts +115 -0
- package/src/modules/dx/header/__tests__/mockProps.ts +164 -0
- package/src/modules/dx/header/header.css +109 -0
- package/src/modules/dx/header/header.html +129 -0
- package/src/modules/dx/header/header.stories.ts +172 -0
- package/src/modules/dx/header/header.ts +27 -0
- package/src/modules/dx/headerMobileNavMenu/__tests__/headerMobileNavMenu.test.ts +123 -0
- package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.css +160 -0
- package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.html +73 -0
- package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.ts +102 -0
- package/src/modules/dx/headerMobileNavMenuOption/__tests__/headerMobileNavMenuOption.test.ts +38 -0
- package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.css +5 -0
- package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.html +14 -0
- package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.ts +20 -0
- package/src/modules/dx/headerNav/__tests__/headerNav.test.ts +49 -0
- package/src/modules/dx/headerNav/headerNav.css +31 -0
- package/src/modules/dx/headerNav/headerNav.html +48 -0
- package/src/modules/dx/headerNav/headerNav.ts +56 -0
- package/src/modules/dx/headerSearch/__tests__/headerSearch.test.ts +182 -0
- package/src/modules/dx/headerSearch/__tests__/mockData.ts +11 -0
- package/src/modules/dx/headerSearch/__tests__/mockProps.ts +6 -0
- package/src/modules/dx/headerSearch/headerSearch.css +62 -0
- package/src/modules/dx/headerSearch/headerSearch.html +64 -0
- package/src/modules/dx/headerSearch/headerSearch.ts +159 -0
- package/src/modules/dx/helmet/__tests__/helmet.test.ts +52 -0
- package/src/modules/dx/helmet/helmet.css +83 -0
- package/src/modules/dx/helmet/helmet.html +39 -0
- package/src/modules/dx/helmet/helmet.stories.ts +53 -0
- package/src/modules/dx/helmet/helmet.ts +27 -0
- package/src/modules/dx/hr/__tests__/hr.test.ts +53 -0
- package/src/modules/dx/hr/__tests__/mockProps.ts +16 -0
- package/src/modules/dx/hr/hr.css +55 -0
- package/src/modules/dx/hr/hr.html +23 -0
- package/src/modules/dx/hr/hr.stories.ts +50 -0
- package/src/modules/dx/hr/hr.ts +45 -0
- package/src/modules/dx/icon/__tests__/icon.test.ts +54 -0
- package/src/modules/dx/icon/icon.css +14 -0
- package/src/modules/dx/icon/icon.html +11 -0
- package/src/modules/dx/icon/icon.stories.ts +100 -0
- package/src/modules/dx/icon/icon.ts +85 -0
- package/src/modules/dx/iconBadge/__tests__/iconBadge.test.ts +17 -0
- package/src/modules/dx/iconBadge/iconBadge.css +40 -0
- package/src/modules/dx/iconBadge/iconBadge.html +10 -0
- package/src/modules/dx/iconBadge/iconBadge.stories.ts +32 -0
- package/src/modules/dx/iconBadge/iconBadge.ts +42 -0
- package/src/modules/dx/imageAndLabel/__tests__/imageAndLabel.test.ts +39 -0
- package/src/modules/dx/imageAndLabel/__tests__/mockProps.ts +6 -0
- package/src/modules/dx/imageAndLabel/imageAndLabel.css +54 -0
- package/src/modules/dx/imageAndLabel/imageAndLabel.html +22 -0
- package/src/modules/dx/imageAndLabel/imageAndLabel.stories.ts +48 -0
- package/src/modules/dx/imageAndLabel/imageAndLabel.ts +16 -0
- package/src/modules/dx/input/__tests__/input.test.ts +357 -0
- package/src/modules/dx/input/input.css +165 -0
- package/src/modules/dx/input/input.html +58 -0
- package/src/modules/dx/input/input.stories.ts +102 -0
- package/src/modules/dx/input/input.ts +238 -0
- package/src/modules/dx/input/validators.ts +5 -0
- package/src/modules/dx/instrumentation/__tests__/instrumentation.test.ts +86 -0
- package/src/modules/dx/instrumentation/instrumentation.html +1 -0
- package/src/modules/dx/instrumentation/instrumentation.ts +116 -0
- package/src/modules/dx/interactiveImage/__tests__/interactiveImage.test.ts +83 -0
- package/src/modules/dx/interactiveImage/__tests__/mockProps.ts +39 -0
- package/src/modules/dx/interactiveImage/interactiveImage.css +59 -0
- package/src/modules/dx/interactiveImage/interactiveImage.html +32 -0
- package/src/modules/dx/interactiveImage/interactiveImage.stories.ts +31 -0
- package/src/modules/dx/interactiveImage/interactiveImage.ts +71 -0
- package/src/modules/dx/lazy/__tests__/lazy.test.ts +43 -0
- package/src/modules/dx/lazy/lazy.html +5 -0
- package/src/modules/dx/lazy/lazy.stories.ts +132 -0
- package/src/modules/dx/lazy/lazy.ts +163 -0
- package/src/modules/dx/logo/logo.css +33 -0
- package/src/modules/dx/logo/logo.html +6 -0
- package/src/modules/dx/logo/logo.ts +8 -0
- package/src/modules/dx/newsletterForm/newsletterForm.css +73 -0
- package/src/modules/dx/newsletterForm/newsletterForm.html +73 -0
- package/src/modules/dx/newsletterForm/newsletterForm.ts +238 -0
- package/src/modules/dx/pagination/__tests__/pagination.test.ts +121 -0
- package/src/modules/dx/pagination/pagination.css +51 -0
- package/src/modules/dx/pagination/pagination.html +45 -0
- package/src/modules/dx/pagination/pagination.stories.ts +88 -0
- package/src/modules/dx/pagination/pagination.ts +93 -0
- package/src/modules/dx/podcastHost/__tests__/mockProps.ts +8 -0
- package/src/modules/dx/podcastHost/__tests__/podcastHost.test.ts +21 -0
- package/src/modules/dx/podcastHost/podcastHost.css +62 -0
- package/src/modules/dx/podcastHost/podcastHost.html +28 -0
- package/src/modules/dx/podcastHost/podcastHost.stories.ts +17 -0
- package/src/modules/dx/podcastHost/podcastHost.ts +13 -0
- package/src/modules/dx/podcastPlayer/__tests__/podcastPlayer.test.ts +20 -0
- package/src/modules/dx/podcastPlayer/podcastPlayer.css +10 -0
- package/src/modules/dx/podcastPlayer/podcastPlayer.html +3 -0
- package/src/modules/dx/podcastPlayer/podcastPlayer.stories.ts +13 -0
- package/src/modules/dx/podcastPlayer/podcastPlayer.ts +5 -0
- package/src/modules/dx/podcastSubscription/__tests__/podcastSubscription.test.ts +16 -0
- package/src/modules/dx/podcastSubscription/podcastSubscription.css +91 -0
- package/src/modules/dx/podcastSubscription/podcastSubscription.html +24 -0
- package/src/modules/dx/podcastSubscription/podcastSubscription.stories.ts +23 -0
- package/src/modules/dx/podcastSubscription/podcastSubscription.ts +58 -0
- package/src/modules/dx/popover/__tests__/mockProps.ts +8 -0
- package/src/modules/dx/popover/__tests__/popover.test.ts +313 -0
- package/src/modules/dx/popover/popover.css +63 -0
- package/src/modules/dx/popover/popover.html +16 -0
- package/src/modules/dx/popover/popover.stories.ts +82 -0
- package/src/modules/dx/popover/popover.ts +313 -0
- package/src/modules/dx/radioGroup/__tests__/mockProps.ts +12 -0
- package/src/modules/dx/radioGroup/__tests__/radioGroup.test.ts +42 -0
- package/src/modules/dx/radioGroup/radioGroup.css +12 -0
- package/src/modules/dx/radioGroup/radioGroup.html +16 -0
- package/src/modules/dx/radioGroup/radioGroup.stories.ts +25 -0
- package/src/modules/dx/radioGroup/radioGroup.ts +65 -0
- package/src/modules/dx/relativeDateTime/__tests__/mockProps.ts +55 -0
- package/src/modules/dx/relativeDateTime/__tests__/relativeDateTime.test.ts +52 -0
- package/src/modules/dx/relativeDateTime/relativeDateTime.html +3 -0
- package/src/modules/dx/relativeDateTime/relativeDateTime.stories.ts +83 -0
- package/src/modules/dx/relativeDateTime/relativeDateTime.ts +113 -0
- package/src/modules/dx/searchResults/coveo.css +18989 -0
- package/src/modules/dx/searchResults/searchResults.css +387 -0
- package/src/modules/dx/searchResults/searchResults.html +104 -0
- package/src/modules/dx/searchResults/searchResults.stories.ts +36 -0
- package/src/modules/dx/searchResults/searchResults.ts +186 -0
- package/src/modules/dx/section/__tests__/section.test.ts +17 -0
- package/src/modules/dx/section/section.css +130 -0
- package/src/modules/dx/section/section.html +66 -0
- package/src/modules/dx/section/section.stories.ts +381 -0
- package/src/modules/dx/section/section.ts +41 -0
- package/src/modules/dx/sectionSignup/__tests__/sectionSignup.test.ts +66 -0
- package/src/modules/dx/sectionSignup/sectionSignup.css +43 -0
- package/src/modules/dx/sectionSignup/sectionSignup.html +23 -0
- package/src/modules/dx/sectionSignup/sectionSignup.stories.ts +49 -0
- package/src/modules/dx/sectionSignup/sectionSignup.ts +44 -0
- package/src/modules/dx/select/select.css +44 -0
- package/src/modules/dx/select/select.html +60 -0
- package/src/modules/dx/select/select.stories.ts +59 -0
- package/src/modules/dx/select/select.ts +23 -0
- package/src/modules/dx/sidebar/__tests__/mockProps.ts +181 -0
- package/src/modules/dx/sidebar/__tests__/mockSearchChangeEmptyEvent.ts +6 -0
- package/src/modules/dx/sidebar/__tests__/mockSearchChangeEvent.ts +527 -0
- package/src/modules/dx/sidebar/__tests__/sidebar.test.ts +568 -0
- package/src/modules/dx/sidebar/sidebar.css +192 -0
- package/src/modules/dx/sidebar/sidebar.html +94 -0
- package/src/modules/dx/sidebar/sidebar.stories.ts +188 -0
- package/src/modules/dx/sidebar/sidebar.ts +255 -0
- package/src/modules/dx/sidebarOld/__tests__/mockProps.ts +178 -0
- package/src/modules/dx/sidebarOld/__tests__/sidebarOld.test.ts +570 -0
- package/src/modules/dx/sidebarOld/sidebarOld.css +160 -0
- package/src/modules/dx/sidebarOld/sidebarOld.html +70 -0
- package/src/modules/dx/sidebarOld/sidebarOld.stories.ts +139 -0
- package/src/modules/dx/sidebarOld/sidebarOld.ts +187 -0
- package/src/modules/dx/sidebarSearch/__tests__/mockPreloadedState.ts +1686 -0
- package/src/modules/dx/sidebarSearch/__tests__/sidebarSearch.test.ts +175 -0
- package/src/modules/dx/sidebarSearch/sidebarSearch.css +3 -0
- package/src/modules/dx/sidebarSearch/sidebarSearch.html +26 -0
- package/src/modules/dx/sidebarSearch/sidebarSearch.ts +440 -0
- package/src/modules/dx/sidebarSearchResult/__tests__/sidebarSearchResult.test.ts +96 -0
- package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.css +36 -0
- package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.html +14 -0
- package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.ts +70 -0
- package/src/modules/dx/skipNavLink/skipNavLink.css +21 -0
- package/src/modules/dx/skipNavLink/skipNavLink.html +3 -0
- package/src/modules/dx/skipNavLink/skipNavLink.ts +3 -0
- package/src/modules/dx/slackCta/__tests__/slackCta.test.ts +36 -0
- package/src/modules/dx/slackCta/slackCta.css +47 -0
- package/src/modules/dx/slackCta/slackCta.html +17 -0
- package/src/modules/dx/slackCta/slackCta.stories.ts +25 -0
- package/src/modules/dx/slackCta/slackCta.ts +12 -0
- package/src/modules/dx/socials/__tests__/socials.test.ts +114 -0
- package/src/modules/dx/socials/socials.css +35 -0
- package/src/modules/dx/socials/socials.html +22 -0
- package/src/modules/dx/socials/socials.stories.ts +24 -0
- package/src/modules/dx/socials/socials.ts +81 -0
- package/src/modules/dx/spinner/__tests__/spinner.test.ts +37 -0
- package/src/modules/dx/spinner/spinner.css +750 -0
- package/src/modules/dx/spinner/spinner.html +6 -0
- package/src/modules/dx/spinner/spinner.stories.ts +69 -0
- package/src/modules/dx/spinner/spinner.ts +20 -0
- package/src/modules/dx/tab/__tests__/tab.test.ts +129 -0
- package/src/modules/dx/tab/tab.css +106 -0
- package/src/modules/dx/tab/tab.html +13 -0
- package/src/modules/dx/tab/tab.stories.ts +57 -0
- package/src/modules/dx/tab/tab.ts +52 -0
- package/src/modules/dx/toc/__tests__/mockProps.ts +28 -0
- package/src/modules/dx/toc/__tests__/toc.test.ts +109 -0
- package/src/modules/dx/toc/toc.css +94 -0
- package/src/modules/dx/toc/toc.html +28 -0
- package/src/modules/dx/toc/toc.stories.ts +26 -0
- package/src/modules/dx/toc/toc.ts +77 -0
- package/src/modules/dx/tooltip/__tests__/tooltip.test.ts +22 -0
- package/src/modules/dx/tooltip/microtip.css +269 -0
- package/src/modules/dx/tooltip/tooltip.css +36 -0
- package/src/modules/dx/tooltip/tooltip.html +5 -0
- package/src/modules/dx/tooltip/tooltip.stories.ts +46 -0
- package/src/modules/dx/tooltip/tooltip.ts +6 -0
- package/src/modules/dx/topics/__tests__/mockProps.ts +3 -0
- package/src/modules/dx/topics/__tests__/topics.test.ts +31 -0
- package/src/modules/dx/topics/topics.css +25 -0
- package/src/modules/dx/topics/topics.html +12 -0
- package/src/modules/dx/topics/topics.ts +25 -0
- package/src/modules/dx/tree/__tests__/mockProps.ts +215 -0
- package/src/modules/dx/tree/__tests__/tree.test.ts +346 -0
- package/src/modules/dx/tree/__tests__/treeHandler.test.ts +194 -0
- package/src/modules/dx/tree/tree.css +5 -0
- package/src/modules/dx/tree/tree.html +11 -0
- package/src/modules/dx/tree/tree.stories.ts +65 -0
- package/src/modules/dx/tree/tree.ts +72 -0
- package/src/modules/dx/tree/treeHandler.ts +100 -0
- package/src/modules/dx/treeItem/__tests__/mockProps.ts +46 -0
- package/src/modules/dx/treeItem/__tests__/treeItem.test.ts +377 -0
- package/src/modules/dx/treeItem/treeItem.css +14 -0
- package/src/modules/dx/treeItem/treeItem.html +22 -0
- package/src/modules/dx/treeItem/treeItem.ts +110 -0
- package/src/modules/dx/treeTile/__tests__/mockProps.ts +16 -0
- package/src/modules/dx/treeTile/__tests__/treeTile.test.ts +168 -0
- package/src/modules/dx/treeTile/treeTile.css +190 -0
- package/src/modules/dx/treeTile/treeTile.html +27 -0
- package/src/modules/dx/treeTile/treeTile.ts +59 -0
- package/src/modules/dx/typeBadge/__tests__/typeBadge.test.ts +77 -0
- package/src/modules/dx/typeBadge/typeBadge.css +74 -0
- package/src/modules/dx/typeBadge/typeBadge.html +5 -0
- package/src/modules/dx/typeBadge/typeBadge.stories.ts +114 -0
- package/src/modules/dx/typeBadge/typeBadge.ts +65 -0
- package/src/modules/dx/typeBadgeGroup/__tests__/mockProps.ts +11 -0
- package/src/modules/dx/typeBadgeGroup/__tests__/typeBadgeGroup.test.ts +72 -0
- package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.css +12 -0
- package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.html +11 -0
- package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.stories.ts +19 -0
- package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.ts +18 -0
- package/src/modules/helpers/animations/animations.css +15 -0
- package/src/modules/helpers/button/button.css +4 -0
- package/src/modules/helpers/card/card.css +258 -0
- package/src/modules/helpers/code/code.css +296 -0
- package/src/modules/helpers/commonHeader/commonHeader.css +130 -0
- package/src/modules/helpers/reset/reset.css +559 -0
- package/src/modules/helpers/sidebar/sidebar.css +21 -0
- package/src/modules/helpers/slds/slds.css +191 -0
- package/src/modules/helpers/table/table.css +110 -0
- package/src/modules/helpers/text/text.css +163 -0
- package/src/modules/test-components/buttonTest/buttonTest.html +3 -0
- package/src/modules/test-components/buttonTest/buttonTest.ts +3 -0
- package/src/modules/test-components/codeBlockTest/codeBlockTest.js +4 -0
- package/src/modules/test-components/featureGridTest/featureGridTest.html +7 -0
- package/src/modules/test-components/featureGridTest/featureGridTest.ts +5 -0
- package/src/modules/test-components/instrumentationTest/instrumentationTest.html +4 -0
- package/src/modules/test-components/instrumentationTest/instrumentationTest.ts +8 -0
- package/src/modules/test-components/popoverTest/popoverTest.html +6 -0
- package/src/modules/test-components/popoverTest/popoverTest.ts +5 -0
- package/src/modules/test-components/slackCtaTest/slackCtaTest.html +3 -0
- package/src/modules/test-components/slackCtaTest/slackCtaTest.ts +3 -0
- package/src/modules/utils/highlight/__tests__/highlight.test.ts +108 -0
- package/src/modules/utils/highlight/__tests__/mockProps.ts +45 -0
- package/src/modules/utils/highlight/highlight.ts +32 -0
- package/src/modules/utils/normalizers/normalizers.ts +91 -0
- package/src/modules/utils-internal/archiveCard/archiveCard.ts +35 -0
- package/src/modules/utils-internal/coveo/coveo.ts +70 -0
- package/src/modules/utils-internal/css/css.ts +43 -0
- package/src/modules/utils-internal/devices/devices.ts +1 -0
- package/src/modules/utils-internal/headerBase/headerBase.ts +204 -0
- package/src/modules/utils-internal/jest/jest.ts +58 -0
- package/src/modules/utils-internal/options/options.ts +39 -0
- package/src/modules/utils-internal/prismjs/prismjs.html +3 -0
- package/src/modules/utils-internal/prismjs/prismjs.ts +3321 -0
- package/src/modules/utils-internal/recentSearches/__tests__/recentSearches.test.ts +83 -0
- package/src/modules/utils-internal/recentSearches/recentSearches.ts +57 -0
- package/src/modules/utils-internal/regexps/regexps.ts +5 -0
- package/src/modules/utils-internal/seo/seo.ts +4 -0
- package/src/modules/utils-internal/slot/slot.ts +17 -0
- package/src/modules/utils-internal/storybook/storybook.ts +32 -0
- package/src/modules/utils-internal/tests/tests.ts +38 -0
- package/src/modules/utils-internal/wordpress/__tests__/wordpress.test.ts +15 -0
- package/src/modules/utils-internal/wordpress/wordpress.ts +13 -0
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
title: "Heroku Dev Center",
|
|
4
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
5
|
+
href: "https://devcenter.heroku.com/",
|
|
6
|
+
brand: "platform",
|
|
7
|
+
links: [
|
|
8
|
+
{
|
|
9
|
+
id: 1,
|
|
10
|
+
href: "https://devcenter.heroku.com/",
|
|
11
|
+
title: "Overview"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
id: 1,
|
|
15
|
+
href: "https://devcenter.heroku.com/",
|
|
16
|
+
title: "Guides"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 1,
|
|
20
|
+
href: "https://devcenter.heroku.com/",
|
|
21
|
+
title: "References"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: "Lightning Web Components",
|
|
27
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
28
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
29
|
+
brand: "platform",
|
|
30
|
+
links: [
|
|
31
|
+
{
|
|
32
|
+
id: 1,
|
|
33
|
+
href: "https://devcenter.heroku.com/",
|
|
34
|
+
title: "Overview"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 1,
|
|
38
|
+
href: "https://devcenter.heroku.com/",
|
|
39
|
+
title: "Guides"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: 1,
|
|
43
|
+
href: "https://devcenter.heroku.com/",
|
|
44
|
+
title: "References"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
title: "Lightning Design System",
|
|
50
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
51
|
+
href: "https://www.lightningdesignsystem.com/",
|
|
52
|
+
brand: "platform",
|
|
53
|
+
links: [
|
|
54
|
+
{
|
|
55
|
+
id: 1,
|
|
56
|
+
href: "https://devcenter.heroku.com/",
|
|
57
|
+
title: "Overview"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 1,
|
|
61
|
+
href: "https://devcenter.heroku.com/",
|
|
62
|
+
title: "Guides"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 1,
|
|
66
|
+
href: "https://devcenter.heroku.com/",
|
|
67
|
+
title: "References"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
title: "Commerce Cloud APIs",
|
|
73
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
74
|
+
href: "https://developer.commercecloud.com/s/",
|
|
75
|
+
brand: "commerce"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
title: "MuleSoft Documentation",
|
|
79
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
80
|
+
href: "https://docs.mulesoft.com/",
|
|
81
|
+
brand: "integration"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
title: "Salesforce Extensions for VS Code",
|
|
85
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
86
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
87
|
+
brand: "platform"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
title: "Quip Developer Documentation",
|
|
91
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
92
|
+
href: "https://quip.com/dev",
|
|
93
|
+
brand: "collaboration"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
title: "Tableau Help",
|
|
97
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
98
|
+
href: "https://help.tableau.com/",
|
|
99
|
+
brand: "analytics"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
title: "Einstein Voice & Vision",
|
|
103
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
104
|
+
href: "https://metamind.readme.io",
|
|
105
|
+
brand: "platform"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
title: "Lightning Web Components",
|
|
109
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
110
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
111
|
+
brand: "platform"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
title: "Lightning Design System",
|
|
115
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
116
|
+
href: "https://www.lightningdesignsystem.com/",
|
|
117
|
+
brand: "platform"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
title: "Commerce Cloud APIs",
|
|
121
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
122
|
+
href: "https://developer.commercecloud.com/s/",
|
|
123
|
+
brand: "commerce"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
title: "MuleSoft Documentation",
|
|
127
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
128
|
+
href: "https://docs.mulesoft.com/",
|
|
129
|
+
brand: "integration"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
title: "Salesforce Extensions for VS Code",
|
|
133
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
134
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
135
|
+
brand: "platform"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
title: "Quip Developer Documentation",
|
|
139
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
140
|
+
href: "https://quip.com/dev",
|
|
141
|
+
brand: "collaboration"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
title: "Tableau Help",
|
|
145
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
146
|
+
href: "https://help.tableau.com/",
|
|
147
|
+
brand: "analytics"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
title: "Einstein Voice & Vision",
|
|
151
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
152
|
+
href: "https://metamind.readme.io",
|
|
153
|
+
brand: "platform"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
title: "Lightning Web Components",
|
|
157
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
158
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
159
|
+
brand: "platform"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
title: "Lightning Design System",
|
|
163
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
164
|
+
href: "https://www.lightningdesignsystem.com/",
|
|
165
|
+
brand: "platform"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
title: "Commerce Cloud APIs",
|
|
169
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
170
|
+
href: "https://developer.commercecloud.com/s/",
|
|
171
|
+
brand: "commerce"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
title: "MuleSoft Documentation",
|
|
175
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
176
|
+
href: "https://docs.mulesoft.com/",
|
|
177
|
+
brand: "integration"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
title: "Salesforce Extensions for VS Code",
|
|
181
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
182
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
183
|
+
brand: "platform"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
title: "Quip Developer Documentation",
|
|
187
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
188
|
+
href: "https://quip.com/dev",
|
|
189
|
+
brand: "collaboration"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
title: "Tableau Help",
|
|
193
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
194
|
+
href: "https://help.tableau.com/",
|
|
195
|
+
brand: "analytics"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
title: "Einstein Voice & Vision",
|
|
199
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
200
|
+
href: "https://metamind.readme.io",
|
|
201
|
+
brand: "platform"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
title: "Commerce Cloud APIs",
|
|
205
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
206
|
+
href: "https://developer.commercecloud.com/s/",
|
|
207
|
+
brand: "commerce"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
title: "MuleSoft Documentation",
|
|
211
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
212
|
+
href: "https://docs.mulesoft.com/",
|
|
213
|
+
brand: "integration"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
title: "Salesforce Extensions for VS Code",
|
|
217
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
218
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
219
|
+
brand: "platform"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
title: "Quip Developer Documentation",
|
|
223
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
224
|
+
href: "https://quip.com/dev",
|
|
225
|
+
brand: "collaboration"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
title: "Tableau Help",
|
|
229
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
230
|
+
href: "https://help.tableau.com/",
|
|
231
|
+
brand: "analytics"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
title: "Einstein Voice & Vision",
|
|
235
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
236
|
+
href: "https://metamind.readme.io",
|
|
237
|
+
brand: "platform"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
title: "Lightning Web Components",
|
|
241
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
242
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
243
|
+
brand: "platform"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
title: "Lightning Design System",
|
|
247
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
248
|
+
href: "https://www.lightningdesignsystem.com/",
|
|
249
|
+
brand: "platform"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
title: "Commerce Cloud APIs",
|
|
253
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
254
|
+
href: "https://developer.commercecloud.com/s/",
|
|
255
|
+
brand: "commerce"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
title: "MuleSoft Documentation",
|
|
259
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
260
|
+
href: "https://docs.mulesoft.com/",
|
|
261
|
+
brand: "integration"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
title: "Salesforce Extensions for VS Code",
|
|
265
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
266
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
267
|
+
brand: "platform"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
title: "Quip Developer Documentation",
|
|
271
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
272
|
+
href: "https://quip.com/dev",
|
|
273
|
+
brand: "collaboration"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
title: "Tableau Help",
|
|
277
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
278
|
+
href: "https://help.tableau.com/",
|
|
279
|
+
brand: "analytics"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
title: "Einstein Voice & Vision",
|
|
283
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
284
|
+
href: "https://metamind.readme.io",
|
|
285
|
+
brand: "platform"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
title: "Lightning Web Components",
|
|
289
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
290
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
291
|
+
brand: "platform"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
title: "Lightning Design System",
|
|
295
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
296
|
+
href: "https://www.lightningdesignsystem.com/",
|
|
297
|
+
brand: "platform"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
title: "Commerce Cloud APIs",
|
|
301
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
302
|
+
href: "https://developer.commercecloud.com/s/",
|
|
303
|
+
brand: "commerce"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
title: "MuleSoft Documentation",
|
|
307
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
308
|
+
href: "https://docs.mulesoft.com/",
|
|
309
|
+
brand: "integration"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
title: "Salesforce Extensions for VS Code",
|
|
313
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
314
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
315
|
+
brand: "platform"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
title: "Quip Developer Documentation",
|
|
319
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
320
|
+
href: "https://quip.com/dev",
|
|
321
|
+
brand: "collaboration"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
title: "Tableau Help",
|
|
325
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
326
|
+
href: "https://help.tableau.com/",
|
|
327
|
+
brand: "analytics"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
title: "Einstein Voice & Vision",
|
|
331
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
332
|
+
href: "https://metamind.readme.io",
|
|
333
|
+
brand: "platform"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
title: "Commerce Cloud APIs",
|
|
337
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
338
|
+
href: "https://developer.commercecloud.com/s/",
|
|
339
|
+
brand: "commerce"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
title: "MuleSoft Documentation",
|
|
343
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
344
|
+
href: "https://docs.mulesoft.com/",
|
|
345
|
+
brand: "integration"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
title: "Salesforce Extensions for VS Code",
|
|
349
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
350
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
351
|
+
brand: "platform"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
title: "Quip Developer Documentation",
|
|
355
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
356
|
+
href: "https://quip.com/dev",
|
|
357
|
+
brand: "collaboration"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
title: "Tableau Help",
|
|
361
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
362
|
+
href: "https://help.tableau.com/",
|
|
363
|
+
brand: "analytics"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
title: "Einstein Voice & Vision",
|
|
367
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
368
|
+
href: "https://metamind.readme.io",
|
|
369
|
+
brand: "platform"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
title: "Lightning Web Components",
|
|
373
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
374
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
375
|
+
brand: "platform"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
title: "Lightning Design System",
|
|
379
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
380
|
+
href: "https://www.lightningdesignsystem.com/",
|
|
381
|
+
brand: "platform"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
title: "Commerce Cloud APIs",
|
|
385
|
+
body: "Unlock and integrate data from any system to deliver critical, time-sensitive projects with MuleSoft.",
|
|
386
|
+
href: "https://developer.commercecloud.com/s/",
|
|
387
|
+
brand: "commerce"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
title: "MuleSoft Documentation",
|
|
391
|
+
body: "Explore documentation, APIs, resources, and discussion forums to Develop personalized commerce experiences on a fast, flexible platform.",
|
|
392
|
+
href: "https://docs.mulesoft.com/",
|
|
393
|
+
brand: "integration"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
title: "Salesforce Extensions for VS Code",
|
|
397
|
+
body: "Use Salesforce Extensions for Visual Studio Code to optimize building and debugging code on the Salesforce Platform. From the VS Studio code editor, work seamlessly with scratch orgs, sandboxes, and DE orgs, and code intelligently with Apex, Lightning components, and Visualforce.",
|
|
398
|
+
href: "https://developer.salesforce.com/tools/vscode",
|
|
399
|
+
brand: "platform"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
title: "Quip Developer Documentation",
|
|
403
|
+
body: "Make more intelligent, data-driven decisions that guide your business forward with Quip.",
|
|
404
|
+
href: "https://quip.com/dev",
|
|
405
|
+
brand: "collaboration"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
title: "Tableau Help",
|
|
409
|
+
body: "Tableau brings together data from anywhere to empower your people everywhere.",
|
|
410
|
+
href: "https://help.tableau.com/",
|
|
411
|
+
brand: "analytics"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
title: "Einstein Voice & Vision",
|
|
415
|
+
body: "Einstein Platform Services allows you to seamlessly integrate custom deep learning models into your CRM workflows.",
|
|
416
|
+
href: "https://metamind.readme.io",
|
|
417
|
+
brand: "platform"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
title: "Lightning Web Components",
|
|
421
|
+
body: "Learn about building, deploying, and managing your apps on Heroku.",
|
|
422
|
+
href: "https://developer.salesforce.com/docs/component-library/overview/",
|
|
423
|
+
brand: "platform"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
title: "Lightning Design System",
|
|
427
|
+
body: "Create the World's Best Enterprise App Experiences using Salesforce Lightning Design System.",
|
|
428
|
+
href: "https://www.lightningdesignsystem.com/",
|
|
429
|
+
brand: "platform"
|
|
430
|
+
}
|
|
431
|
+
];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import cards from "./cardMockProps";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
cards,
|
|
5
|
+
languageList: [
|
|
6
|
+
{ label: "English", value: "en-us" },
|
|
7
|
+
{ label: "Japanese", value: "ja-jp" }
|
|
8
|
+
],
|
|
9
|
+
productList: [
|
|
10
|
+
{ label: "All Services", value: "a" },
|
|
11
|
+
{ label: "Analytics", value: "b" },
|
|
12
|
+
{ label: "Commerce", value: "c" },
|
|
13
|
+
{ label: "Digital 360", value: "d" }
|
|
14
|
+
]
|
|
15
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
@import "helpers/reset";
|
|
2
|
+
@import "helpers/text";
|
|
3
|
+
|
|
4
|
+
.docs-action-bar {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
align-items: flex-end;
|
|
8
|
+
padding: var(--dx-g-spacing-md) 0 var(--dx-g-spacing-lg);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.docs-action-bar > .records-container {
|
|
12
|
+
margin-right: auto;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.docs-action-bar .filters-container {
|
|
16
|
+
display: flex;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.filter-checkbox-group,
|
|
20
|
+
.filter-button::part(container) {
|
|
21
|
+
--dx-c-checkbox-text-transform: capitalize;
|
|
22
|
+
|
|
23
|
+
text-transform: var(--dx-c-checkbox-text-transform);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.docs-action-bar .filters-container > *:not(:first-child),
|
|
27
|
+
.docs-search-input {
|
|
28
|
+
margin-left: var(--dx-g-spacing-sm);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.docs-search-input {
|
|
32
|
+
--dx-c-input-width: 285px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.docs-card {
|
|
36
|
+
--dx-c-body-max-lines: 4;
|
|
37
|
+
--dx-c-heading-max-lines: 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.pagination-container {
|
|
41
|
+
max-width: fit-content;
|
|
42
|
+
max-width: -moz-fit-content;
|
|
43
|
+
margin: var(--dx-g-spacing-lg) auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media screen and (max-width: 1024px) {
|
|
47
|
+
.docs-card {
|
|
48
|
+
--dx-c-body-max-lines: 3;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media screen and (max-width: 768px) {
|
|
53
|
+
.docs-action-bar {
|
|
54
|
+
flex-direction: column-reverse;
|
|
55
|
+
width: 100%;
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.docs-search-input {
|
|
60
|
+
--dx-c-input-width: 100%;
|
|
61
|
+
|
|
62
|
+
width: 100%;
|
|
63
|
+
margin-bottom: var(--dx-g-spacing-md);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.docs-action-bar .records-container {
|
|
67
|
+
transform: translateY(-100%);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@media screen and (max-width: 600px) {
|
|
72
|
+
.pagination-container {
|
|
73
|
+
width: 100%;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.pagination-container > * {
|
|
78
|
+
position: absolute;
|
|
79
|
+
left: 50%;
|
|
80
|
+
transform: translateX(-50%);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media screen and (max-width: 460px) {
|
|
85
|
+
.docs-action-bar .records-container {
|
|
86
|
+
transform: initial;
|
|
87
|
+
padding: var(--dx-g-spacing-md) 0;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="card-grid">
|
|
3
|
+
<div class="docs-action-bar">
|
|
4
|
+
<div class="records-container">
|
|
5
|
+
<span if:true={endingRecord}>
|
|
6
|
+
Showing { startingRecord } to { endingRecord } of {
|
|
7
|
+
cards.length }
|
|
8
|
+
</span>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="filters-container">
|
|
11
|
+
<slot name="filters"></slot>
|
|
12
|
+
</div>
|
|
13
|
+
<dx-input
|
|
14
|
+
size="small"
|
|
15
|
+
placeholder="Search..."
|
|
16
|
+
icon-symbol="search"
|
|
17
|
+
shortcut-key="j"
|
|
18
|
+
class="docs-search-input"
|
|
19
|
+
onchange={handleSearchChange}
|
|
20
|
+
value={searchTerm}
|
|
21
|
+
></dx-input>
|
|
22
|
+
</div>
|
|
23
|
+
<dx-grid
|
|
24
|
+
columns={tileColumns}
|
|
25
|
+
if:false={showEmptyState}
|
|
26
|
+
class="card-container"
|
|
27
|
+
></dx-grid>
|
|
28
|
+
<div style="display: none">
|
|
29
|
+
<slot name="cards" onslotchange={onSlotChange}></slot>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="pagination-container" if:false={showEmptyState}>
|
|
32
|
+
<dx-pagination
|
|
33
|
+
current-page={page}
|
|
34
|
+
total-pages={totalPages}
|
|
35
|
+
pages-to-show={pagesToShow}
|
|
36
|
+
onpagechange={goToPage}
|
|
37
|
+
if:false={hidePagination}
|
|
38
|
+
></dx-pagination>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<dx-empty-state
|
|
42
|
+
title="Beep boop. That did not compute."
|
|
43
|
+
subtitle={emptyStateSubtitle}
|
|
44
|
+
if:true={showEmptyState}
|
|
45
|
+
></dx-empty-state>
|
|
46
|
+
</template>
|