@salesforcedevs/dx-components 0.26.1-alpha.10 → 0.26.1-alpha.14

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.
Files changed (281) hide show
  1. package/lwc.config.json +1 -1
  2. package/package.json +1 -7
  3. package/src/assets/icons/action-sprite/svg/symbols.svg +1 -0
  4. package/src/assets/icons/brand-sprite/svg/symbols.svg +1381 -0
  5. package/src/assets/icons/custom-sprite/svg/symbols.svg +1 -0
  6. package/src/assets/icons/doctype-sprite/svg/symbols.svg +1 -0
  7. package/src/assets/icons/general-sprite/svg/symbols.svg +3013 -0
  8. package/src/assets/icons/salesforcebrand-sprite/svg/symbols.svg +257 -0
  9. package/src/assets/icons/standard-sprite/svg/symbols.svg +1 -0
  10. package/src/assets/icons/utility-sprite/svg/symbols.svg +1 -0
  11. package/src/assets/svg/card-news-learn-moar.svg +415 -0
  12. package/src/assets/svg/cloud-1.svg +24 -0
  13. package/src/assets/svg/cloud-2.svg +18 -0
  14. package/src/assets/svg/codey.svg +93 -0
  15. package/src/assets/svg/command.svg +9 -0
  16. package/src/assets/svg/control.svg +10 -0
  17. package/src/assets/svg/docs-empty-state-small.svg +72 -0
  18. package/src/assets/svg/docs-empty-state.svg +86 -0
  19. package/src/assets/svg/dsc-home-news-bear.svg +3 -0
  20. package/src/assets/svg/dsc-home-news-community.png +0 -0
  21. package/src/assets/svg/dsc-home-news-goatbear.svg +257 -0
  22. package/src/assets/svg/dsc-home-news-samplegallery.svg +76 -0
  23. package/src/assets/svg/empty-state-assistant.svg +1 -0
  24. package/src/assets/svg/fch-blog-cloud-1.png +0 -0
  25. package/src/assets/svg/fch-blog-cloud-2.png +0 -0
  26. package/src/assets/svg/fch-blog-planet.png +0 -0
  27. package/src/assets/svg/feature-backdrop1.svg +10 -0
  28. package/src/assets/svg/feature-backdrop2.svg +10 -0
  29. package/src/assets/svg/featured-demo-art-blank.svg +76 -0
  30. package/src/assets/svg/featured-demo-art-eBikes.svg +77 -0
  31. package/src/assets/svg/footer-graphic-large.svg +207 -0
  32. package/src/assets/svg/footer-graphic-mountains-small.svg +17 -0
  33. package/src/assets/svg/footer-graphic-mountains.svg +21 -0
  34. package/src/assets/svg/footer-graphic-trees-small.svg +33 -0
  35. package/src/assets/svg/footer-graphic-trees.svg +62 -0
  36. package/src/assets/svg/lake-mountain.svg +79 -0
  37. package/src/assets/svg/podcast-subscription-clouds-small.svg +49 -0
  38. package/src/assets/svg/podcast-subscription-clouds.svg +57 -0
  39. package/src/assets/svg/podcasts-subscription-apple.svg +164 -0
  40. package/src/assets/svg/podcasts-subscription-google.svg +29 -0
  41. package/src/assets/svg/podcasts-subscription-spotify.svg +11 -0
  42. package/src/assets/svg/salesforce-cloud.svg +7 -0
  43. package/src/assets/svg/salesforce-logo-corporate.svg +21 -0
  44. package/src/assets/svg/salesforce-logo.svg +14 -0
  45. package/src/assets/svg/sidebar-loading.svg +34 -0
  46. package/src/assets/svg/slack-cta-podcast-background-left.svg +28 -0
  47. package/src/assets/svg/slack-cta-podcast-background-right.svg +38 -0
  48. package/src/assets/svg/trees.svg +42 -0
  49. package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.ts +1 -1
  50. package/src/modules/dx/cardCallout/cardCallout.ts +1 -1
  51. package/src/modules/dx/cardContent/cardContent.ts +2 -2
  52. package/src/modules/dx/cardDocs/cardDocs.ts +1 -1
  53. package/src/modules/dx/cardExpanded/cardExpanded.ts +1 -1
  54. package/src/modules/dx/cardMinimal/cardMinimal.ts +1 -1
  55. package/src/modules/dx/cardNews/cardNews.ts +1 -1
  56. package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.ts +1 -1
  57. package/src/modules/dx/cardSmall/cardSmall.ts +1 -1
  58. package/src/modules/dx/codeBlock/codeBlock.ts +1 -1
  59. package/src/modules/dx/dropdown/dropdown.ts +1 -1
  60. package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +1 -1
  61. package/src/modules/dx/groupText/groupText.ts +1 -1
  62. package/src/modules/dx/header/header.ts +1 -1
  63. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.ts +1 -1
  64. package/src/modules/dx/headerSearch/headerSearch.ts +1 -1
  65. package/src/modules/dx/icon/icon.ts +1 -1
  66. package/src/modules/dx/iconBadge/iconBadge.ts +1 -1
  67. package/src/modules/dx/input/input.ts +1 -1
  68. package/src/modules/dx/popover/popover.ts +1 -1
  69. package/src/modules/dx/section/section.ts +1 -1
  70. package/src/modules/dx/sidebar/sidebar.ts +1 -1
  71. package/src/modules/dx/sidebarSearch/sidebarSearch.ts +2 -2
  72. package/src/modules/dx/typeBadge/typeBadge.ts +1 -1
  73. package/src/modules/utils/archiveCard/archiveCard.ts +35 -0
  74. package/src/modules/utils/coveo/coveo.ts +70 -0
  75. package/src/modules/utils/css/css.ts +43 -0
  76. package/src/modules/utils/devices/devices.ts +1 -0
  77. package/src/modules/utils/headerBase/headerBase.ts +204 -0
  78. package/src/modules/utils/highlight/highlight.ts +1 -1
  79. package/src/modules/utils/options/options.ts +39 -0
  80. package/src/modules/utils/prismjs/prismjs.html +3 -0
  81. package/src/modules/utils/prismjs/prismjs.ts +3321 -0
  82. package/src/modules/utils/recentSearches/recentSearches.ts +57 -0
  83. package/src/modules/utils/regexps/regexps.ts +5 -0
  84. package/src/modules/utils/seo/seo.ts +4 -0
  85. package/src/modules/utils/slot/slot.ts +17 -0
  86. package/src/modules/utils/wordpress/wordpress.ts +13 -0
  87. package/src/modules/dx/.DS_Store +0 -0
  88. package/src/modules/dx/banner/__tests__/banner.test.ts +0 -33
  89. package/src/modules/dx/brandThemeProvider/__tests__/brandThemeProvider.test.ts +0 -49
  90. package/src/modules/dx/brandThemeProvider/brandThemeProvider.stories.ts +0 -321
  91. package/src/modules/dx/breadcrumbs/__tests__/breadcrumbs.test.ts +0 -140
  92. package/src/modules/dx/breadcrumbs/__tests__/mockProps.ts +0 -28
  93. package/src/modules/dx/breadcrumbs/breadcrumbs.stories.ts +0 -39
  94. package/src/modules/dx/button/__tests__/button.test.ts +0 -107
  95. package/src/modules/dx/button/button.stories.ts +0 -150
  96. package/src/modules/dx/cardBlogPost/__tests__/cardBlogPost.test.ts +0 -26
  97. package/src/modules/dx/cardBlogPost/__tests__/mockProps.ts +0 -12
  98. package/src/modules/dx/cardBlogPost/cardBlogPost.stories.ts +0 -164
  99. package/src/modules/dx/cardBlogPostProvider/__tests__/cardBlogPostProvider.test.ts +0 -34
  100. package/src/modules/dx/cardBlogPostProvider/__tests__/mockWordpressPosts.ts +0 -44
  101. package/src/modules/dx/cardCallout/__tests__/cardCallout.test.ts +0 -20
  102. package/src/modules/dx/cardCallout/__tests__/mockProps.ts +0 -7
  103. package/src/modules/dx/cardCallout/cardCallout.stories.ts +0 -33
  104. package/src/modules/dx/cardContent/__tests__/cardContent.test.ts +0 -100
  105. package/src/modules/dx/cardContent/__tests__/mockProps.ts +0 -13
  106. package/src/modules/dx/cardContent/cardContent.stories.ts +0 -127
  107. package/src/modules/dx/cardDemo/cardDemo.stories.ts +0 -115
  108. package/src/modules/dx/cardDocs/__tests__/cardDocs.test.ts +0 -48
  109. package/src/modules/dx/cardDocs/__tests__/mockProps.ts +0 -9
  110. package/src/modules/dx/cardDocs/cardDocs.stories.ts +0 -299
  111. package/src/modules/dx/cardEvent/__tests__/cardEvent.test.ts +0 -95
  112. package/src/modules/dx/cardEvent/__tests__/mockProps.ts +0 -10
  113. package/src/modules/dx/cardEvent/cardEvent.stories.ts +0 -153
  114. package/src/modules/dx/cardExpanded/__tests__/cardExpanded.test.ts +0 -193
  115. package/src/modules/dx/cardExpanded/__tests__/mockProps.ts +0 -21
  116. package/src/modules/dx/cardExpanded/cardExpanded.stories.ts +0 -59
  117. package/src/modules/dx/cardGrid/__tests__/cardMockProps.ts +0 -431
  118. package/src/modules/dx/cardGrid/__tests__/mockProps.ts +0 -15
  119. package/src/modules/dx/cardGrid/cardGrid.stories.ts +0 -111
  120. package/src/modules/dx/cardMinimal/__tests__/cardMinimal.test.ts +0 -87
  121. package/src/modules/dx/cardMinimal/__tests__/mockProps.ts +0 -10
  122. package/src/modules/dx/cardMinimal/cardMinimal.stories.ts +0 -32
  123. package/src/modules/dx/cardNews/__tests__/cardNews.test.ts +0 -58
  124. package/src/modules/dx/cardNews/__tests__/mockProps.ts +0 -7
  125. package/src/modules/dx/cardNews/cardNews.stories.ts +0 -115
  126. package/src/modules/dx/cardPodcastEpisode/__tests__/cardPodcastEpisode.test.ts +0 -68
  127. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.stories.ts +0 -31
  128. package/src/modules/dx/cardPodcastEpisodeProvider/__tests__/cardPodcastEpisodeProvider.test.ts +0 -36
  129. package/src/modules/dx/cardPodcastEpisodeProvider/__tests__/mockWordpressEpisodes.ts +0 -50
  130. package/src/modules/dx/cardSmall/__tests__/cardSmall.test.ts +0 -66
  131. package/src/modules/dx/cardSmall/__tests__/mockProps.ts +0 -8
  132. package/src/modules/dx/cardSmall/cardSmall.stories.ts +0 -166
  133. package/src/modules/dx/cardTitle/__tests__/cardTitle.test.ts +0 -46
  134. package/src/modules/dx/cardTrailheadModule/__tests__/cardTrailheadModule.test.ts +0 -18
  135. package/src/modules/dx/cardTrailheadModule/__tests__/mockProps.ts +0 -11
  136. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.stories.ts +0 -122
  137. package/src/modules/dx/cardVideoPreview/__tests__/cardVideoPreview.test.ts +0 -22
  138. package/src/modules/dx/cardVideoPreview/__tests__/mockProps.ts +0 -11
  139. package/src/modules/dx/cardVideoPreview/cardVideoPreview.stories.ts +0 -147
  140. package/src/modules/dx/checkbox/__tests__/checkbox.test.ts +0 -85
  141. package/src/modules/dx/checkbox/__tests__/mockProps.ts +0 -5
  142. package/src/modules/dx/checkbox/checkbox.stories.ts +0 -38
  143. package/src/modules/dx/checkboxGroup/__tests__/checkboxGroup.test.ts +0 -80
  144. package/src/modules/dx/checkboxGroup/__tests__/mockProps.ts +0 -14
  145. package/src/modules/dx/checkboxGroup/checkboxGroup.stories.ts +0 -33
  146. package/src/modules/dx/codeBlock/__tests__/codeBlock.test.ts +0 -238
  147. package/src/modules/dx/codeBlock/__tests__/mockProps.ts +0 -160
  148. package/src/modules/dx/codeBlock/codeBlock.stories.ts +0 -143
  149. package/src/modules/dx/dropdown/__tests__/dropdown.test.ts +0 -165
  150. package/src/modules/dx/dropdown/__tests__/mockNestedOptions.ts +0 -96
  151. package/src/modules/dx/dropdown/__tests__/mockOptions.ts +0 -10
  152. package/src/modules/dx/dropdown/__tests__/mockProps.ts +0 -6
  153. package/src/modules/dx/dropdown/dropdown.stories.ts +0 -89
  154. package/src/modules/dx/dropdownOption/__tests__/dropdownOption.test.ts +0 -112
  155. package/src/modules/dx/dropdownOption/__tests__/mockProps.ts +0 -20
  156. package/src/modules/dx/emptyState/__tests__/emptyState.test.ts +0 -52
  157. package/src/modules/dx/emptyState/__tests__/mockProps.ts +0 -4
  158. package/src/modules/dx/emptyState/emptyState.stories.ts +0 -45
  159. package/src/modules/dx/feature/__tests__/feature.test.ts +0 -51
  160. package/src/modules/dx/feature/__tests__/mockProps.ts +0 -8
  161. package/src/modules/dx/featureGrid/__tests__/featureGrid.test.ts +0 -21
  162. package/src/modules/dx/featureGrid/featureGrid.stories.ts +0 -120
  163. package/src/modules/dx/featuredContentHeader/__tests__/featuredContentHeader.test.ts +0 -178
  164. package/src/modules/dx/featuredContentHeader/__tests__/mockProps.ts +0 -73
  165. package/src/modules/dx/featuredContentHeader/featuredContentHeader.stories.ts +0 -153
  166. package/src/modules/dx/featuresList/__tests__/featuresList.test.ts +0 -43
  167. package/src/modules/dx/featuresList/__tests__/mockProps.ts +0 -17
  168. package/src/modules/dx/featuresList/featuresList.stories.ts +0 -30
  169. package/src/modules/dx/footer/__tests__/footer.test.ts +0 -147
  170. package/src/modules/dx/footer/__tests__/mockLocales.ts +0 -7
  171. package/src/modules/dx/footer/footer.stories.ts +0 -88
  172. package/src/modules/dx/footerOption/__tests__/footerOption.test.ts +0 -34
  173. package/src/modules/dx/footerOption/__tests__/mockProps.ts +0 -7
  174. package/src/modules/dx/formattedDateTime/__tests__/formattedDateTime.test.ts +0 -25
  175. package/src/modules/dx/formattedDateTime/__tests__/mockProps.ts +0 -13
  176. package/src/modules/dx/formattedDateTime/formattedDateTime.stories.ts +0 -103
  177. package/src/modules/dx/grid/__tests__/grid.test.ts +0 -32
  178. package/src/modules/dx/grid/grid.stories.ts +0 -134
  179. package/src/modules/dx/groupBio/__tests__/groupBio.test.ts +0 -82
  180. package/src/modules/dx/groupBio/__tests__/mockProps.ts +0 -15
  181. package/src/modules/dx/groupBio/groupBio.stories.ts +0 -66
  182. package/src/modules/dx/groupText/__tests__/groupText.test.ts +0 -69
  183. package/src/modules/dx/groupText/__tests__/mockProps.ts +0 -35
  184. package/src/modules/dx/groupText/groupText.stories.ts +0 -81
  185. package/src/modules/dx/header/__tests__/header.test.ts +0 -236
  186. package/src/modules/dx/header/__tests__/mockNavArchitects.ts +0 -169
  187. package/src/modules/dx/header/__tests__/mockNavDevelopers.ts +0 -419
  188. package/src/modules/dx/header/__tests__/mockNavs.ts +0 -115
  189. package/src/modules/dx/header/__tests__/mockProps.ts +0 -164
  190. package/src/modules/dx/header/header.stories.ts +0 -172
  191. package/src/modules/dx/headerMobileNavMenu/__tests__/headerMobileNavMenu.test.ts +0 -123
  192. package/src/modules/dx/headerMobileNavMenuOption/__tests__/headerMobileNavMenuOption.test.ts +0 -38
  193. package/src/modules/dx/headerNav/__tests__/headerNav.test.ts +0 -49
  194. package/src/modules/dx/headerSearch/__tests__/headerSearch.test.ts +0 -182
  195. package/src/modules/dx/headerSearch/__tests__/mockData.ts +0 -11
  196. package/src/modules/dx/headerSearch/__tests__/mockProps.ts +0 -6
  197. package/src/modules/dx/helmet/__tests__/helmet.test.ts +0 -52
  198. package/src/modules/dx/helmet/helmet.stories.ts +0 -53
  199. package/src/modules/dx/hr/__tests__/hr.test.ts +0 -53
  200. package/src/modules/dx/hr/__tests__/mockProps.ts +0 -16
  201. package/src/modules/dx/hr/hr.stories.ts +0 -50
  202. package/src/modules/dx/icon/__tests__/icon.test.ts +0 -54
  203. package/src/modules/dx/icon/icon.stories.ts +0 -100
  204. package/src/modules/dx/iconBadge/__tests__/iconBadge.test.ts +0 -17
  205. package/src/modules/dx/iconBadge/iconBadge.stories.ts +0 -32
  206. package/src/modules/dx/imageAndLabel/__tests__/imageAndLabel.test.ts +0 -39
  207. package/src/modules/dx/imageAndLabel/__tests__/mockProps.ts +0 -6
  208. package/src/modules/dx/imageAndLabel/imageAndLabel.stories.ts +0 -48
  209. package/src/modules/dx/input/__tests__/input.test.ts +0 -357
  210. package/src/modules/dx/input/input.stories.ts +0 -102
  211. package/src/modules/dx/instrumentation/__tests__/instrumentation.test.ts +0 -86
  212. package/src/modules/dx/interactiveImage/__tests__/interactiveImage.test.ts +0 -83
  213. package/src/modules/dx/interactiveImage/__tests__/mockProps.ts +0 -39
  214. package/src/modules/dx/interactiveImage/interactiveImage.stories.ts +0 -31
  215. package/src/modules/dx/lazy/__tests__/lazy.test.ts +0 -43
  216. package/src/modules/dx/lazy/lazy.stories.ts +0 -132
  217. package/src/modules/dx/pagination/__tests__/pagination.test.ts +0 -121
  218. package/src/modules/dx/pagination/pagination.stories.ts +0 -88
  219. package/src/modules/dx/podcastHost/__tests__/mockProps.ts +0 -8
  220. package/src/modules/dx/podcastHost/__tests__/podcastHost.test.ts +0 -21
  221. package/src/modules/dx/podcastHost/podcastHost.stories.ts +0 -17
  222. package/src/modules/dx/podcastPlayer/__tests__/podcastPlayer.test.ts +0 -20
  223. package/src/modules/dx/podcastPlayer/podcastPlayer.stories.ts +0 -13
  224. package/src/modules/dx/podcastSubscription/__tests__/podcastSubscription.test.ts +0 -16
  225. package/src/modules/dx/podcastSubscription/podcastSubscription.stories.ts +0 -23
  226. package/src/modules/dx/popover/__tests__/mockProps.ts +0 -8
  227. package/src/modules/dx/popover/__tests__/popover.test.ts +0 -313
  228. package/src/modules/dx/popover/popover.stories.ts +0 -82
  229. package/src/modules/dx/radioGroup/__tests__/mockProps.ts +0 -12
  230. package/src/modules/dx/radioGroup/__tests__/radioGroup.test.ts +0 -42
  231. package/src/modules/dx/radioGroup/radioGroup.stories.ts +0 -25
  232. package/src/modules/dx/relativeDateTime/__tests__/mockProps.ts +0 -55
  233. package/src/modules/dx/relativeDateTime/__tests__/relativeDateTime.test.ts +0 -52
  234. package/src/modules/dx/relativeDateTime/relativeDateTime.stories.ts +0 -83
  235. package/src/modules/dx/searchResults/searchResults.stories.ts +0 -36
  236. package/src/modules/dx/section/__tests__/section.test.ts +0 -17
  237. package/src/modules/dx/section/section.stories.ts +0 -381
  238. package/src/modules/dx/sectionSignup/__tests__/sectionSignup.test.ts +0 -66
  239. package/src/modules/dx/sectionSignup/sectionSignup.stories.ts +0 -49
  240. package/src/modules/dx/select/select.stories.ts +0 -59
  241. package/src/modules/dx/sidebar/__tests__/mockProps.ts +0 -181
  242. package/src/modules/dx/sidebar/__tests__/mockSearchChangeEmptyEvent.ts +0 -6
  243. package/src/modules/dx/sidebar/__tests__/mockSearchChangeEvent.ts +0 -527
  244. package/src/modules/dx/sidebar/__tests__/sidebar.test.ts +0 -568
  245. package/src/modules/dx/sidebar/sidebar.stories.ts +0 -188
  246. package/src/modules/dx/sidebarOld/__tests__/mockProps.ts +0 -178
  247. package/src/modules/dx/sidebarOld/__tests__/sidebarOld.test.ts +0 -570
  248. package/src/modules/dx/sidebarOld/sidebarOld.stories.ts +0 -139
  249. package/src/modules/dx/sidebarSearch/__tests__/mockPreloadedState.ts +0 -1686
  250. package/src/modules/dx/sidebarSearch/__tests__/sidebarSearch.test.ts +0 -175
  251. package/src/modules/dx/sidebarSearchResult/__tests__/sidebarSearchResult.test.ts +0 -96
  252. package/src/modules/dx/slackCta/__tests__/slackCta.test.ts +0 -48
  253. package/src/modules/dx/slackCta/slackCta.stories.ts +0 -25
  254. package/src/modules/dx/socials/__tests__/socials.test.ts +0 -114
  255. package/src/modules/dx/socials/socials.stories.ts +0 -24
  256. package/src/modules/dx/spinner/__tests__/spinner.test.ts +0 -37
  257. package/src/modules/dx/spinner/spinner.stories.ts +0 -69
  258. package/src/modules/dx/tab/__tests__/tab.test.ts +0 -129
  259. package/src/modules/dx/tab/tab.stories.ts +0 -57
  260. package/src/modules/dx/toc/__tests__/mockProps.ts +0 -28
  261. package/src/modules/dx/toc/__tests__/toc.test.ts +0 -109
  262. package/src/modules/dx/toc/toc.stories.ts +0 -26
  263. package/src/modules/dx/tooltip/__tests__/tooltip.test.ts +0 -22
  264. package/src/modules/dx/tooltip/tooltip.stories.ts +0 -46
  265. package/src/modules/dx/topics/__tests__/mockProps.ts +0 -3
  266. package/src/modules/dx/topics/__tests__/topics.test.ts +0 -31
  267. package/src/modules/dx/tree/__tests__/mockProps.ts +0 -215
  268. package/src/modules/dx/tree/__tests__/tree.test.ts +0 -346
  269. package/src/modules/dx/tree/__tests__/treeHandler.test.ts +0 -194
  270. package/src/modules/dx/tree/tree.stories.ts +0 -65
  271. package/src/modules/dx/treeItem/__tests__/mockProps.ts +0 -46
  272. package/src/modules/dx/treeItem/__tests__/treeItem.test.ts +0 -377
  273. package/src/modules/dx/treeTile/__tests__/mockProps.ts +0 -16
  274. package/src/modules/dx/treeTile/__tests__/treeTile.test.ts +0 -168
  275. package/src/modules/dx/typeBadge/__tests__/typeBadge.test.ts +0 -77
  276. package/src/modules/dx/typeBadge/typeBadge.stories.ts +0 -114
  277. package/src/modules/dx/typeBadgeGroup/__tests__/mockProps.ts +0 -11
  278. package/src/modules/dx/typeBadgeGroup/__tests__/typeBadgeGroup.test.ts +0 -72
  279. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.stories.ts +0 -19
  280. package/src/modules/utils/highlight/__tests__/highlight.test.ts +0 -108
  281. package/src/modules/utils/highlight/__tests__/mockProps.ts +0 -45
@@ -1,419 +0,0 @@
1
- export default [
2
- {
3
- id: "home",
4
- label: "Home",
5
- link: {
6
- href: "/developers",
7
- target: null
8
- }
9
- },
10
- {
11
- id: "documentation",
12
- label: "Documentation",
13
- link: {
14
- href: "/docs",
15
- target: null
16
- }
17
- },
18
- {
19
- id: "discover",
20
- label: "Discover",
21
- options: [
22
- {
23
- id: "possibilities",
24
- label: "Learn What Is Possible",
25
- options: [
26
- {
27
- id: "platform",
28
- label: "Salesforce Platform",
29
- link: {
30
- href:
31
- "/developers/discover/possibilities/salesforce-platform",
32
- target: null
33
- }
34
- },
35
- {
36
- id: "building-on-salesforce",
37
- label: "Building on Salesforce",
38
- link: {
39
- href:
40
- "/developers/discover/possibilities/building-on-salesforce",
41
- target: null
42
- }
43
- },
44
- {
45
- id: "being-a-salesforce-developer",
46
- label: "Being a Salesforce Developer",
47
- link: {
48
- href:
49
- "/developers/discover/possibilities/being-a-salesforce-developer",
50
- target: null
51
- }
52
- }
53
- ]
54
- },
55
- {
56
- id: "explorations",
57
- label: "Start Exploring",
58
- options: [
59
- {
60
- description: "Find answers by product or topic",
61
- id: "build-guides",
62
- label: "Build Guides",
63
- link: {
64
- href:
65
- "/developers/discover/explorations/build-guides",
66
- target: null
67
- }
68
- },
69
- {
70
- description:
71
- "Hear short and insightful stories for developers, from developers",
72
- id: "podcast",
73
- label: "Podcast",
74
- link: {
75
- href: "/developers/discover/explorations/podcast",
76
- target: null
77
- }
78
- },
79
- {
80
- description: "Get inspired and explore reference code",
81
- id: "sample-gallery",
82
- label: "Sample Gallery",
83
- link: {
84
- href:
85
- "/developers/discover/explorations/sample-gallery",
86
- target: null
87
- }
88
- },
89
- {
90
- description:
91
- "Search from over 550 demo videos and presentations",
92
- id: "video-gallery",
93
- label: "Video Gallery",
94
- link: {
95
- href:
96
- "/developers/discover/explorations/video-gallery",
97
- target: null
98
- }
99
- }
100
- ]
101
- }
102
- ]
103
- },
104
- {
105
- id: "build",
106
- label: "Build",
107
- options: [
108
- {
109
- id: "build-skills-solutions",
110
- label: "Build Skills & Find Solutions",
111
- options: [
112
- {
113
- description:
114
- "Learn by topic and build exactly what you need",
115
- id: "build-guides",
116
- label: "Build Guides",
117
- link: {
118
- href: "/developers/build/skills/build-guides",
119
- target: null
120
- }
121
- },
122
- {
123
- description: "Learn from what others have done",
124
- id: "demos-videos",
125
- label: "Demos & Videos",
126
- link: {
127
- href: "/developers/build/skills/demos-videos",
128
- target: null
129
- }
130
- },
131
- {
132
- description:
133
- "Get step-by-step instruction with Trailhead’s guided learning options",
134
- id: "courses",
135
- label: "Courses",
136
- link: {
137
- href: "/developers/build/skills/courses",
138
- target: null
139
- }
140
- },
141
- {
142
- description:
143
- "Get globally-recognized, role-based credentials with Trailhead",
144
- id: "certification",
145
- label: "Certification",
146
- link: {
147
- href: "/developers/build/skills/certification",
148
- target: null
149
- }
150
- }
151
- ]
152
- },
153
- {
154
- id: "resources-for-building",
155
- label: "Resources for Building",
156
- options: [
157
- {
158
- description:
159
- "Easily find answers for building within the Salesforce ecosystem",
160
- id: "documentation",
161
- label: "Documentation",
162
- link: {
163
- href: "/developers/build/resources/documentation",
164
- target: null
165
- }
166
- },
167
- {
168
- description:
169
- "Find, add, and learn more about the power of APIs and Salesforce",
170
- id: "api-hub",
171
- label: "API Hub",
172
- link: {
173
- href: "/developers/build/resources/api-hub",
174
- target: null
175
- }
176
- },
177
- {
178
- description:
179
- "Quickly find and use Lightning Web Components in your app",
180
- id: "component-library",
181
- label: "Component Library",
182
- link: {
183
- href:
184
- "/developers/build/resources/component-library",
185
- target: null
186
- }
187
- }
188
- ]
189
- },
190
- {
191
- id: "packages-and-addons",
192
- label: "Extend Salesforce with Packages and Add-Ons",
193
- options: [
194
- {
195
- id: "app-exchange",
196
- label: "AppExchange",
197
- link: {
198
- href: "/developers/build/packages/app-exchange",
199
- target: null
200
- }
201
- },
202
- {
203
- id: "heroku-elements-marketplace",
204
- label: "Heroku Elements Marketplace",
205
- link: {
206
- href:
207
- "/developers/build/packages/heroku-elements-marketplace",
208
- target: null
209
- }
210
- },
211
- {
212
- id: "mulesoft-marketplace",
213
- label: "MuleSoft Marketplace",
214
- link: {
215
- href:
216
- "/developers/build/packages/mulesoft-marketplace",
217
- target: null
218
- }
219
- }
220
- ]
221
- }
222
- ]
223
- },
224
- {
225
- id: "connect",
226
- label: "Connect",
227
- options: [
228
- {
229
- id: "stay-up-to-date",
230
- label: "Stay Up To Date",
231
- options: [
232
- {
233
- id: "events-and-webinars",
234
- label: "Events & Webinars",
235
- link: {
236
- href: "/developers/connect/events-and-webinars",
237
- target: null
238
- }
239
- },
240
- {
241
- id: "podcast",
242
- label: "Podcast",
243
- link: {
244
- href: "/developers/connect/podcast",
245
- target: null
246
- }
247
- },
248
- {
249
- id: "blog",
250
- label: "Blog",
251
- link: {
252
- href: "/developers/connect/blog",
253
- target: null
254
- }
255
- }
256
- ]
257
- },
258
- {
259
- id: "community",
260
- label: "Find Community",
261
- options: [
262
- {
263
- id: "forum",
264
- label: "Discussion Forum",
265
- link: {
266
- href: "/developers/connect/community/forum",
267
- target: null
268
- }
269
- },
270
- {
271
- id: "trailblazer-community",
272
- label: "Trailblazer Community",
273
- link: {
274
- href:
275
- "/developers/connect/community/trailblazer-community",
276
- target: null
277
- }
278
- },
279
- {
280
- id: "parter-community",
281
- label: "Partner Community",
282
- link: {
283
- href:
284
- "/developers/connect/community/parter-community",
285
- target: null
286
- }
287
- }
288
- ]
289
- }
290
- ]
291
- },
292
- {
293
- id: "covid-19",
294
- label: "COVID-19",
295
- options: [
296
- {
297
- id: "covid-resources",
298
- label: "COVID-19 Resources",
299
- options: [
300
- {
301
- id: "covid19-work",
302
- label: "Work.com",
303
- link: {
304
- href: "https://www.salesforce.com/work",
305
- target: "_blank"
306
- }
307
- },
308
- {
309
- id: "covid19-leading-through-change-with-data",
310
- label: "Leading Through Change with Data",
311
- link: {
312
- href:
313
- "https://www.tableau.com/leading-through-change?placement=homepage&utm_medium=Referral&utm_source=Salesforce",
314
- target: "_blank"
315
- }
316
- },
317
- {
318
- id: "covid19-data-hub",
319
- label: "COVID-19 Data Hub",
320
- link: {
321
- href:
322
- "https://www.tableau.com/covid-19-coronavirus-data-resources?placement=homepage&utm_medium=Referral&utm_source=Salesforce",
323
- target: "_blank"
324
- }
325
- },
326
- {
327
- id: "covid19-global-daily-tracker",
328
- label: "COVID-19 Global Daily Tracker",
329
- link: {
330
- href:
331
- "https://www.tableau.com/covid-19-coronavirus-data-resources/global-tracker?placement=homepage&utm_medium=Referral&utm_source=Salesforce",
332
- target: "_blank"
333
- }
334
- },
335
- {
336
- id: "covid19-global-economy-data-track",
337
- label: "Global Economy Data Track",
338
- link: {
339
- href:
340
- "https://www.tableau.com/covid-19-coronavirus-data-resources/economy-data-track?placement=homepage&utm_medium=Referral&utm_source=Salesforce",
341
- target: "_blank"
342
- }
343
- },
344
- {
345
- id: "covid19-government-data-track",
346
- label: "Government Data Track",
347
- link: {
348
- href:
349
- "https://www.tableau.com/covid-19-coronavirus-data-resources/government-data-track?placement=homepage&utm_medium=Referral&utm_source=Salesforce",
350
- target: "_blank"
351
- }
352
- },
353
- {
354
- id: "covid19-healthcare-data-track",
355
- label: "Healthcare Data Track",
356
- link: {
357
- href:
358
- "https://www.tableau.com/covid-19-coronavirus-data-resources/healthcare-data-track?placement=homepage&utm_medium=Referral&utm_source=Salesforce",
359
- target: "_blank"
360
- }
361
- },
362
- {
363
- id: "covid19-b-well-together",
364
- label: "B-Well Together",
365
- link: {
366
- href:
367
- "https://www.salesforce.com/resources/videos/be-well/?d=cta-glob-nav-5",
368
- target: "_blank"
369
- }
370
- },
371
- {
372
- id: "covid19-leading-through-change",
373
- label: "Leading Through Change",
374
- link: {
375
- href:
376
- "https://www.salesforce.com/resources/leading-through-change/#!page=1",
377
- target: "_blank"
378
- }
379
- },
380
- {
381
- id: "covid19-salesforce-care",
382
- label: "Salesforce Care",
383
- link: {
384
- href:
385
- "https://www.salesforce.com/solutions/covid-19-response/overview/?d=cta-glob-nav-7",
386
- target: "_blank"
387
- }
388
- },
389
- {
390
- id: "covid19-trailhead-resources",
391
- label: "Trailhead Resources",
392
- link: {
393
- href:
394
- "https://trailhead.salesforce.com/users/strailhead/trailmixes/trailhead-resources-during-covid-19?utm_source=salesforce_properties&utm_medium=global_nav&utm_campaign=covid19&utm_content=covid_resources_trailmix",
395
- target: "_blank"
396
- }
397
- },
398
- {
399
- id: "covid19-appexchange-resources",
400
- label: "AppExchange Resources",
401
- link: {
402
- href:
403
- "https://appexchange.salesforce.com/mktcollections/curated/c19response?d=cta-nav-external",
404
- target: "_blank"
405
- }
406
- },
407
- {
408
- id: "covid19-mulesoft-resources",
409
- label: "MuleSoft Resources",
410
- link: {
411
- href: "https://www.mulesoft.com/resources/covid-19",
412
- target: "_blank"
413
- }
414
- }
415
- ]
416
- }
417
- ]
418
- }
419
- ];
@@ -1,115 +0,0 @@
1
- export const mockNav = [
2
- {
3
- id: "overview",
4
- label: "Overview",
5
- link: {
6
- href: "/overview",
7
- target: null
8
- }
9
- },
10
- {
11
- id: "guides",
12
- label: "Guides",
13
- link: {
14
- href: "/guides",
15
- target: null
16
- }
17
- },
18
- {
19
- id: "reference",
20
- label: "Reference",
21
- link: {
22
- href: "/reference",
23
- target: null
24
- }
25
- },
26
- {
27
- id: "examples",
28
- label: "Examples",
29
- link: {
30
- href: "/examples",
31
- target: null
32
- }
33
- }
34
- ];
35
-
36
- export const mockNavEmployees = [
37
- {
38
- id: "overview",
39
- label: "Overview",
40
- link: {
41
- href: "/overview",
42
- target: null
43
- }
44
- },
45
- {
46
- id: "guides",
47
- label: "Guides",
48
- link: {
49
- href: "/guides",
50
- target: null
51
- }
52
- },
53
- {
54
- id: "reference",
55
- label: "Reference",
56
- link: {
57
- href: "/reference",
58
- target: null
59
- }
60
- },
61
- {
62
- id: "examples",
63
- label: "Examples",
64
- link: {
65
- href: "/examples",
66
- target: null
67
- }
68
- }
69
- ];
70
-
71
- export const mockNavMarketing = [
72
- {
73
- id: "overview",
74
- label: "Overview",
75
- link: {
76
- href: "/overview",
77
- target: null
78
- }
79
- },
80
- {
81
- id: "guides",
82
- label: "Guides",
83
- link: {
84
- href: "/guides",
85
- target: null
86
- }
87
- },
88
- {
89
- id: "reference",
90
- label: "Reference",
91
- link: {
92
- href: "/reference",
93
- target: null
94
- }
95
- },
96
- {
97
- id: "examples",
98
- label: "Examples",
99
- link: {
100
- href: "/examples",
101
- target: null
102
- }
103
- }
104
- ];
105
-
106
- export const mockNavPartners = mockNav;
107
- export const mockNavCommerce = mockNav;
108
- export const mockNavSales = mockNav;
109
- export const mockNavSuccess = mockNav;
110
- export const mockNavIntegration = mockNav;
111
- export const mockNavPlatform = mockNav;
112
- export const mockNavIndustries = mockNav;
113
- export const mockNavLearning = mockNav;
114
- export const mockNavService = mockNav;
115
- export const mockNavAnalytics = mockNav;
@@ -1,164 +0,0 @@
1
- import {
2
- mockNavEmployees,
3
- mockNavMarketing,
4
- mockNavPartners,
5
- mockNavCommerce,
6
- mockNavSales,
7
- mockNavSuccess,
8
- mockNavIntegration,
9
- mockNavPlatform,
10
- mockNavIndustries,
11
- mockNavLearning,
12
- mockNavService,
13
- mockNavAnalytics
14
- } from "./mockNavs";
15
- import mockNavDevelopers from "./mockNavDevelopers";
16
- import { coveoHeaderConfig } from "../../../utils-internal/coveo/coveo";
17
-
18
- const versions = JSON.stringify([
19
- {
20
- id: "1",
21
- label: "v1"
22
- },
23
- {
24
- id: "2",
25
- label: "v2"
26
- },
27
- {
28
- id: "3",
29
- label: "v3"
30
- },
31
- {
32
- id: "4",
33
- label: "v4"
34
- }
35
- ]);
36
-
37
- export const mockPropsDevelopers = {
38
- navItems: JSON.stringify(mockNavDevelopers),
39
- subtitle: "Developers",
40
- signupLink: "/sign-up",
41
- ...coveoHeaderConfig
42
- };
43
-
44
- export const mockPropsNoNavigation = {
45
- subtitle: "Developers",
46
- ...coveoHeaderConfig
47
- };
48
-
49
- export const mockPropsDevWebsite = {
50
- version: "1",
51
- versions,
52
- ...coveoHeaderConfig,
53
- signupLink: "/sign-up",
54
- bannerMarkup:
55
- '<span><a href="https://forms.gle/TdSyKFPHXoBx7seM9" target="blank">Share your feedback</a>about our new site.</span>'
56
- };
57
-
58
- export const mockPropsEmployees = {
59
- bailHref: "/quip-dev-center",
60
- bailLabel: "Quip Development Center",
61
- brand: "employees",
62
- navItems: JSON.stringify(mockNavEmployees),
63
- subtitle: "Employees",
64
- ...mockPropsDevWebsite
65
- };
66
-
67
- export const mockPropsMarketing = {
68
- bailHref: "/quip-dev-center",
69
- bailLabel: "Quip Development Center",
70
- brand: "marketing",
71
- navItems: JSON.stringify(mockNavMarketing),
72
- subtitle: "Marketing",
73
- ...mockPropsDevWebsite
74
- };
75
-
76
- export const mockPropsPartners = {
77
- bailHref: "/quip-dev-center",
78
- bailLabel: "Quip Development Center",
79
- brand: "partners",
80
- navItems: JSON.stringify(mockNavPartners),
81
- subtitle: "Partners",
82
- ...mockPropsDevWebsite
83
- };
84
-
85
- export const mockPropsCommerce = {
86
- bailHref: "/quip-dev-center",
87
- bailLabel: "Quip Development Center",
88
- brand: "commerce",
89
- navItems: JSON.stringify(mockNavCommerce),
90
- subtitle: "Commerce",
91
- ...mockPropsDevWebsite
92
- };
93
-
94
- export const mockPropsSales = {
95
- bailHref: "/quip-dev-center",
96
- bailLabel: "Quip Development Center",
97
- brand: "sales",
98
- navItems: JSON.stringify(mockNavSales),
99
- subtitle: "Sales",
100
- ...mockPropsDevWebsite
101
- };
102
-
103
- export const mockPropsSuccess = {
104
- bailHref: "/quip-dev-center",
105
- bailLabel: "Quip Development Center",
106
- brand: "success",
107
- navItems: JSON.stringify(mockNavSuccess),
108
- subtitle: "Success",
109
- ...mockPropsDevWebsite
110
- };
111
-
112
- export const mockPropsIntegration = {
113
- bailHref: "/quip-dev-center",
114
- bailLabel: "Quip Development Center",
115
- brand: "integration",
116
- navItems: JSON.stringify(mockNavIntegration),
117
- subtitle: "Integration",
118
- ...mockPropsDevWebsite
119
- };
120
-
121
- export const mockPropsPlatform = {
122
- bailHref: "/quip-dev-center",
123
- bailLabel: "Quip Development Center",
124
- brand: "platform",
125
- navItems: JSON.stringify(mockNavPlatform),
126
- subtitle: "Platform",
127
- ...mockPropsDevWebsite
128
- };
129
-
130
- export const mockPropsIndustries = {
131
- bailHref: "/quip-dev-center",
132
- bailLabel: "Quip Development Center",
133
- brand: "industries",
134
- navItems: JSON.stringify(mockNavIndustries),
135
- subtitle: "Industries",
136
- ...mockPropsDevWebsite
137
- };
138
-
139
- export const mockPropsLearning = {
140
- bailHref: "/quip-dev-center",
141
- bailLabel: "Quip Development Center",
142
- brand: "learning",
143
- navItems: JSON.stringify(mockNavLearning),
144
- subtitle: "Learning",
145
- ...mockPropsDevWebsite
146
- };
147
-
148
- export const mockPropsService = {
149
- bailHref: "/quip-dev-center",
150
- bailLabel: "Quip Development Center",
151
- brand: "service",
152
- navItems: JSON.stringify(mockNavService),
153
- subtitle: "Service",
154
- ...mockPropsDevWebsite
155
- };
156
-
157
- export const mockPropsAnalytics = {
158
- bailHref: "/quip-dev-center",
159
- bailLabel: "Quip Development Center",
160
- brand: "analytics",
161
- navItems: JSON.stringify(mockNavAnalytics),
162
- subtitle: "Analytics",
163
- ...mockPropsDevWebsite
164
- };