@salesforcedevs/dx-components 0.26.2 → 0.28.0

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 (255) hide show
  1. package/lwc.config.json +2 -1
  2. package/package.json +2 -6
  3. package/src/modules/{utils-internal → base-elements}/archiveCard/archiveCard.ts +0 -0
  4. package/src/modules/{utils-internal → base-elements}/headerBase/headerBase.ts +0 -0
  5. package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.ts +1 -1
  6. package/src/modules/dx/cardCallout/cardCallout.ts +1 -1
  7. package/src/modules/dx/cardContent/cardContent.ts +2 -2
  8. package/src/modules/dx/cardDocs/cardDocs.ts +1 -1
  9. package/src/modules/dx/cardExpanded/cardExpanded.ts +1 -1
  10. package/src/modules/dx/cardMinimal/cardMinimal.ts +1 -1
  11. package/src/modules/dx/cardNews/cardNews.ts +1 -1
  12. package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.ts +1 -1
  13. package/src/modules/dx/cardSmall/cardSmall.ts +1 -1
  14. package/src/modules/dx/codeBlock/codeBlock.ts +1 -1
  15. package/src/modules/dx/dropdown/dropdown.ts +1 -1
  16. package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +1 -1
  17. package/src/modules/dx/groupText/groupText.ts +1 -1
  18. package/src/modules/dx/header/header.ts +1 -1
  19. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.ts +1 -1
  20. package/src/modules/dx/headerSearch/headerSearch.ts +1 -1
  21. package/src/modules/dx/icon/icon.ts +1 -1
  22. package/src/modules/dx/iconBadge/iconBadge.ts +1 -1
  23. package/src/modules/dx/input/input.ts +1 -1
  24. package/src/modules/dx/modalDrawer/modalDrawer.css +40 -0
  25. package/src/modules/dx/modalDrawer/modalDrawer.html +11 -0
  26. package/src/modules/dx/modalDrawer/modalDrawer.ts +27 -0
  27. package/src/modules/dx/popover/popover.ts +1 -1
  28. package/src/modules/dx/section/section.ts +1 -1
  29. package/src/modules/dx/sidebar/sidebar.ts +1 -1
  30. package/src/modules/dx/sidebarSearch/sidebarSearch.ts +2 -5
  31. package/src/modules/dx/slackCta/slackCta.css +1 -1
  32. package/src/modules/dx/tooltip/tooltip.css +1 -0
  33. package/src/modules/dx/typeBadge/typeBadge.ts +1 -1
  34. package/src/modules/{utils-internal → utils}/coveo/coveo.ts +0 -0
  35. package/src/modules/{utils-internal → utils}/css/css.ts +0 -0
  36. package/src/modules/{utils-internal → utils}/devices/devices.ts +0 -0
  37. package/src/modules/utils/highlight/highlight.ts +1 -1
  38. package/src/modules/{utils-internal → utils}/options/options.ts +0 -0
  39. package/src/modules/{utils-internal → utils}/prismjs/prismjs.html +0 -0
  40. package/src/modules/{utils-internal → utils}/prismjs/prismjs.ts +0 -0
  41. package/src/modules/{utils-internal → utils}/recentSearches/recentSearches.ts +0 -0
  42. package/src/modules/{utils-internal → utils}/regexps/regexps.ts +0 -0
  43. package/src/modules/{utils-internal → utils}/seo/seo.ts +0 -0
  44. package/src/modules/{utils-internal → utils}/slot/slot.ts +0 -0
  45. package/src/modules/{utils-internal → utils}/wordpress/wordpress.ts +0 -0
  46. package/src/modules/dx/banner/__tests__/banner.test.ts +0 -33
  47. package/src/modules/dx/brandThemeProvider/__tests__/brandThemeProvider.test.ts +0 -49
  48. package/src/modules/dx/brandThemeProvider/brandThemeProvider.stories.ts +0 -321
  49. package/src/modules/dx/breadcrumbs/__tests__/breadcrumbs.test.ts +0 -140
  50. package/src/modules/dx/breadcrumbs/__tests__/mockProps.ts +0 -28
  51. package/src/modules/dx/breadcrumbs/breadcrumbs.stories.ts +0 -39
  52. package/src/modules/dx/button/__tests__/button.test.ts +0 -107
  53. package/src/modules/dx/button/button.stories.ts +0 -150
  54. package/src/modules/dx/cardBlogPost/__tests__/cardBlogPost.test.ts +0 -26
  55. package/src/modules/dx/cardBlogPost/__tests__/mockProps.ts +0 -12
  56. package/src/modules/dx/cardBlogPost/cardBlogPost.stories.ts +0 -164
  57. package/src/modules/dx/cardBlogPostProvider/__tests__/cardBlogPostProvider.test.ts +0 -34
  58. package/src/modules/dx/cardBlogPostProvider/__tests__/mockWordpressPosts.ts +0 -44
  59. package/src/modules/dx/cardCallout/__tests__/cardCallout.test.ts +0 -20
  60. package/src/modules/dx/cardCallout/__tests__/mockProps.ts +0 -7
  61. package/src/modules/dx/cardCallout/cardCallout.stories.ts +0 -33
  62. package/src/modules/dx/cardContent/__tests__/cardContent.test.ts +0 -100
  63. package/src/modules/dx/cardContent/__tests__/mockProps.ts +0 -13
  64. package/src/modules/dx/cardContent/cardContent.stories.ts +0 -127
  65. package/src/modules/dx/cardDemo/cardDemo.stories.ts +0 -115
  66. package/src/modules/dx/cardDocs/__tests__/cardDocs.test.ts +0 -48
  67. package/src/modules/dx/cardDocs/__tests__/mockProps.ts +0 -9
  68. package/src/modules/dx/cardDocs/cardDocs.stories.ts +0 -299
  69. package/src/modules/dx/cardEvent/__tests__/cardEvent.test.ts +0 -95
  70. package/src/modules/dx/cardEvent/__tests__/mockProps.ts +0 -10
  71. package/src/modules/dx/cardEvent/cardEvent.stories.ts +0 -153
  72. package/src/modules/dx/cardExpanded/__tests__/cardExpanded.test.ts +0 -193
  73. package/src/modules/dx/cardExpanded/__tests__/mockProps.ts +0 -21
  74. package/src/modules/dx/cardExpanded/cardExpanded.stories.ts +0 -59
  75. package/src/modules/dx/cardGrid/__tests__/cardMockProps.ts +0 -431
  76. package/src/modules/dx/cardGrid/__tests__/mockProps.ts +0 -15
  77. package/src/modules/dx/cardGrid/cardGrid.stories.ts +0 -111
  78. package/src/modules/dx/cardMinimal/__tests__/cardMinimal.test.ts +0 -87
  79. package/src/modules/dx/cardMinimal/__tests__/mockProps.ts +0 -10
  80. package/src/modules/dx/cardMinimal/cardMinimal.stories.ts +0 -32
  81. package/src/modules/dx/cardNews/__tests__/cardNews.test.ts +0 -58
  82. package/src/modules/dx/cardNews/__tests__/mockProps.ts +0 -7
  83. package/src/modules/dx/cardNews/cardNews.stories.ts +0 -115
  84. package/src/modules/dx/cardPodcastEpisode/__tests__/cardPodcastEpisode.test.ts +0 -68
  85. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.stories.ts +0 -31
  86. package/src/modules/dx/cardPodcastEpisodeProvider/__tests__/cardPodcastEpisodeProvider.test.ts +0 -36
  87. package/src/modules/dx/cardPodcastEpisodeProvider/__tests__/mockWordpressEpisodes.ts +0 -50
  88. package/src/modules/dx/cardSmall/__tests__/cardSmall.test.ts +0 -66
  89. package/src/modules/dx/cardSmall/__tests__/mockProps.ts +0 -8
  90. package/src/modules/dx/cardSmall/cardSmall.stories.ts +0 -166
  91. package/src/modules/dx/cardTitle/__tests__/cardTitle.test.ts +0 -46
  92. package/src/modules/dx/cardTrailheadModule/__tests__/cardTrailheadModule.test.ts +0 -18
  93. package/src/modules/dx/cardTrailheadModule/__tests__/mockProps.ts +0 -11
  94. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.stories.ts +0 -122
  95. package/src/modules/dx/cardVideoPreview/__tests__/cardVideoPreview.test.ts +0 -22
  96. package/src/modules/dx/cardVideoPreview/__tests__/mockProps.ts +0 -11
  97. package/src/modules/dx/cardVideoPreview/cardVideoPreview.stories.ts +0 -147
  98. package/src/modules/dx/checkbox/__tests__/checkbox.test.ts +0 -85
  99. package/src/modules/dx/checkbox/__tests__/mockProps.ts +0 -5
  100. package/src/modules/dx/checkbox/checkbox.stories.ts +0 -38
  101. package/src/modules/dx/checkboxGroup/__tests__/checkboxGroup.test.ts +0 -80
  102. package/src/modules/dx/checkboxGroup/__tests__/mockProps.ts +0 -14
  103. package/src/modules/dx/checkboxGroup/checkboxGroup.stories.ts +0 -33
  104. package/src/modules/dx/codeBlock/__tests__/codeBlock.test.ts +0 -238
  105. package/src/modules/dx/codeBlock/__tests__/mockProps.ts +0 -160
  106. package/src/modules/dx/codeBlock/codeBlock.stories.ts +0 -143
  107. package/src/modules/dx/dropdown/__tests__/dropdown.test.ts +0 -165
  108. package/src/modules/dx/dropdown/__tests__/mockNestedOptions.ts +0 -96
  109. package/src/modules/dx/dropdown/__tests__/mockOptions.ts +0 -10
  110. package/src/modules/dx/dropdown/__tests__/mockProps.ts +0 -6
  111. package/src/modules/dx/dropdown/dropdown.stories.ts +0 -89
  112. package/src/modules/dx/dropdownOption/__tests__/dropdownOption.test.ts +0 -112
  113. package/src/modules/dx/dropdownOption/__tests__/mockProps.ts +0 -20
  114. package/src/modules/dx/emptyState/__tests__/emptyState.test.ts +0 -52
  115. package/src/modules/dx/emptyState/__tests__/mockProps.ts +0 -4
  116. package/src/modules/dx/emptyState/emptyState.stories.ts +0 -45
  117. package/src/modules/dx/feature/__tests__/feature.test.ts +0 -51
  118. package/src/modules/dx/feature/__tests__/mockProps.ts +0 -8
  119. package/src/modules/dx/featureGrid/__tests__/featureGrid.test.ts +0 -21
  120. package/src/modules/dx/featureGrid/featureGrid.stories.ts +0 -120
  121. package/src/modules/dx/featuredContentHeader/__tests__/featuredContentHeader.test.ts +0 -178
  122. package/src/modules/dx/featuredContentHeader/__tests__/mockProps.ts +0 -73
  123. package/src/modules/dx/featuredContentHeader/featuredContentHeader.stories.ts +0 -153
  124. package/src/modules/dx/featuresList/__tests__/featuresList.test.ts +0 -43
  125. package/src/modules/dx/featuresList/__tests__/mockProps.ts +0 -17
  126. package/src/modules/dx/featuresList/featuresList.stories.ts +0 -30
  127. package/src/modules/dx/footer/__tests__/footer.test.ts +0 -147
  128. package/src/modules/dx/footer/__tests__/mockLocales.ts +0 -7
  129. package/src/modules/dx/footer/footer.stories.ts +0 -88
  130. package/src/modules/dx/footerOption/__tests__/footerOption.test.ts +0 -34
  131. package/src/modules/dx/footerOption/__tests__/mockProps.ts +0 -7
  132. package/src/modules/dx/formattedDateTime/__tests__/formattedDateTime.test.ts +0 -25
  133. package/src/modules/dx/formattedDateTime/__tests__/mockProps.ts +0 -13
  134. package/src/modules/dx/formattedDateTime/formattedDateTime.stories.ts +0 -103
  135. package/src/modules/dx/grid/__tests__/grid.test.ts +0 -32
  136. package/src/modules/dx/grid/grid.stories.ts +0 -134
  137. package/src/modules/dx/groupBio/__tests__/groupBio.test.ts +0 -82
  138. package/src/modules/dx/groupBio/__tests__/mockProps.ts +0 -15
  139. package/src/modules/dx/groupBio/groupBio.stories.ts +0 -66
  140. package/src/modules/dx/groupText/__tests__/groupText.test.ts +0 -69
  141. package/src/modules/dx/groupText/__tests__/mockProps.ts +0 -35
  142. package/src/modules/dx/groupText/groupText.stories.ts +0 -81
  143. package/src/modules/dx/header/__tests__/header.test.ts +0 -236
  144. package/src/modules/dx/header/__tests__/mockNavArchitects.ts +0 -169
  145. package/src/modules/dx/header/__tests__/mockNavDevelopers.ts +0 -419
  146. package/src/modules/dx/header/__tests__/mockNavs.ts +0 -115
  147. package/src/modules/dx/header/__tests__/mockProps.ts +0 -164
  148. package/src/modules/dx/header/header.stories.ts +0 -172
  149. package/src/modules/dx/headerMobileNavMenu/__tests__/headerMobileNavMenu.test.ts +0 -123
  150. package/src/modules/dx/headerMobileNavMenuOption/__tests__/headerMobileNavMenuOption.test.ts +0 -38
  151. package/src/modules/dx/headerNav/__tests__/headerNav.test.ts +0 -49
  152. package/src/modules/dx/headerSearch/__tests__/headerSearch.test.ts +0 -182
  153. package/src/modules/dx/headerSearch/__tests__/mockData.ts +0 -11
  154. package/src/modules/dx/headerSearch/__tests__/mockProps.ts +0 -6
  155. package/src/modules/dx/helmet/__tests__/helmet.test.ts +0 -52
  156. package/src/modules/dx/helmet/helmet.stories.ts +0 -53
  157. package/src/modules/dx/hr/__tests__/hr.test.ts +0 -53
  158. package/src/modules/dx/hr/__tests__/mockProps.ts +0 -16
  159. package/src/modules/dx/hr/hr.stories.ts +0 -50
  160. package/src/modules/dx/icon/__tests__/icon.test.ts +0 -54
  161. package/src/modules/dx/icon/icon.stories.ts +0 -100
  162. package/src/modules/dx/iconBadge/__tests__/iconBadge.test.ts +0 -17
  163. package/src/modules/dx/iconBadge/iconBadge.stories.ts +0 -32
  164. package/src/modules/dx/imageAndLabel/__tests__/imageAndLabel.test.ts +0 -39
  165. package/src/modules/dx/imageAndLabel/__tests__/mockProps.ts +0 -6
  166. package/src/modules/dx/imageAndLabel/imageAndLabel.stories.ts +0 -48
  167. package/src/modules/dx/input/__tests__/input.test.ts +0 -357
  168. package/src/modules/dx/input/input.stories.ts +0 -102
  169. package/src/modules/dx/instrumentation/__tests__/instrumentation.test.ts +0 -86
  170. package/src/modules/dx/interactiveImage/__tests__/interactiveImage.test.ts +0 -83
  171. package/src/modules/dx/interactiveImage/__tests__/mockProps.ts +0 -39
  172. package/src/modules/dx/interactiveImage/interactiveImage.stories.ts +0 -31
  173. package/src/modules/dx/lazy/__tests__/lazy.test.ts +0 -43
  174. package/src/modules/dx/lazy/lazy.stories.ts +0 -132
  175. package/src/modules/dx/pagination/__tests__/pagination.test.ts +0 -121
  176. package/src/modules/dx/pagination/pagination.stories.ts +0 -88
  177. package/src/modules/dx/podcastHost/__tests__/mockProps.ts +0 -8
  178. package/src/modules/dx/podcastHost/__tests__/podcastHost.test.ts +0 -21
  179. package/src/modules/dx/podcastHost/podcastHost.stories.ts +0 -17
  180. package/src/modules/dx/podcastPlayer/__tests__/podcastPlayer.test.ts +0 -20
  181. package/src/modules/dx/podcastPlayer/podcastPlayer.stories.ts +0 -13
  182. package/src/modules/dx/podcastSubscription/__tests__/podcastSubscription.test.ts +0 -16
  183. package/src/modules/dx/podcastSubscription/podcastSubscription.stories.ts +0 -23
  184. package/src/modules/dx/popover/__tests__/mockProps.ts +0 -8
  185. package/src/modules/dx/popover/__tests__/popover.test.ts +0 -313
  186. package/src/modules/dx/popover/popover.stories.ts +0 -82
  187. package/src/modules/dx/radioGroup/__tests__/mockProps.ts +0 -12
  188. package/src/modules/dx/radioGroup/__tests__/radioGroup.test.ts +0 -42
  189. package/src/modules/dx/radioGroup/radioGroup.stories.ts +0 -25
  190. package/src/modules/dx/relativeDateTime/__tests__/mockProps.ts +0 -55
  191. package/src/modules/dx/relativeDateTime/__tests__/relativeDateTime.test.ts +0 -52
  192. package/src/modules/dx/relativeDateTime/relativeDateTime.stories.ts +0 -83
  193. package/src/modules/dx/searchResults/searchResults.stories.ts +0 -36
  194. package/src/modules/dx/section/__tests__/section.test.ts +0 -17
  195. package/src/modules/dx/section/section.stories.ts +0 -381
  196. package/src/modules/dx/sectionSignup/__tests__/sectionSignup.test.ts +0 -66
  197. package/src/modules/dx/sectionSignup/sectionSignup.stories.ts +0 -49
  198. package/src/modules/dx/select/select.stories.ts +0 -59
  199. package/src/modules/dx/sidebar/__tests__/mockProps.ts +0 -181
  200. package/src/modules/dx/sidebar/__tests__/mockSearchChangeEmptyEvent.ts +0 -6
  201. package/src/modules/dx/sidebar/__tests__/mockSearchChangeEvent.ts +0 -527
  202. package/src/modules/dx/sidebar/__tests__/sidebar.test.ts +0 -568
  203. package/src/modules/dx/sidebar/sidebar.stories.ts +0 -188
  204. package/src/modules/dx/sidebarOld/__tests__/mockProps.ts +0 -178
  205. package/src/modules/dx/sidebarOld/__tests__/sidebarOld.test.ts +0 -570
  206. package/src/modules/dx/sidebarOld/sidebarOld.stories.ts +0 -139
  207. package/src/modules/dx/sidebarSearch/__tests__/mockPreloadedState.ts +0 -1686
  208. package/src/modules/dx/sidebarSearch/__tests__/sidebarSearch.test.ts +0 -175
  209. package/src/modules/dx/sidebarSearchResult/__tests__/sidebarSearchResult.test.ts +0 -96
  210. package/src/modules/dx/slackCta/__tests__/slackCta.test.ts +0 -36
  211. package/src/modules/dx/slackCta/slackCta.stories.ts +0 -25
  212. package/src/modules/dx/socials/__tests__/socials.test.ts +0 -114
  213. package/src/modules/dx/socials/socials.stories.ts +0 -24
  214. package/src/modules/dx/spinner/__tests__/spinner.test.ts +0 -37
  215. package/src/modules/dx/spinner/spinner.stories.ts +0 -69
  216. package/src/modules/dx/tab/__tests__/tab.test.ts +0 -129
  217. package/src/modules/dx/tab/tab.stories.ts +0 -57
  218. package/src/modules/dx/toc/__tests__/mockProps.ts +0 -28
  219. package/src/modules/dx/toc/__tests__/toc.test.ts +0 -109
  220. package/src/modules/dx/toc/toc.stories.ts +0 -26
  221. package/src/modules/dx/tooltip/__tests__/tooltip.test.ts +0 -22
  222. package/src/modules/dx/tooltip/tooltip.stories.ts +0 -46
  223. package/src/modules/dx/topics/__tests__/mockProps.ts +0 -3
  224. package/src/modules/dx/topics/__tests__/topics.test.ts +0 -31
  225. package/src/modules/dx/tree/__tests__/mockProps.ts +0 -215
  226. package/src/modules/dx/tree/__tests__/tree.test.ts +0 -346
  227. package/src/modules/dx/tree/__tests__/treeHandler.test.ts +0 -194
  228. package/src/modules/dx/tree/tree.stories.ts +0 -65
  229. package/src/modules/dx/treeItem/__tests__/mockProps.ts +0 -46
  230. package/src/modules/dx/treeItem/__tests__/treeItem.test.ts +0 -377
  231. package/src/modules/dx/treeTile/__tests__/mockProps.ts +0 -16
  232. package/src/modules/dx/treeTile/__tests__/treeTile.test.ts +0 -168
  233. package/src/modules/dx/typeBadge/__tests__/typeBadge.test.ts +0 -77
  234. package/src/modules/dx/typeBadge/typeBadge.stories.ts +0 -114
  235. package/src/modules/dx/typeBadgeGroup/__tests__/mockProps.ts +0 -11
  236. package/src/modules/dx/typeBadgeGroup/__tests__/typeBadgeGroup.test.ts +0 -72
  237. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.stories.ts +0 -19
  238. package/src/modules/test-components/buttonTest/buttonTest.html +0 -3
  239. package/src/modules/test-components/buttonTest/buttonTest.ts +0 -3
  240. package/src/modules/test-components/codeBlockTest/codeBlockTest.js +0 -4
  241. package/src/modules/test-components/featureGridTest/featureGridTest.html +0 -7
  242. package/src/modules/test-components/featureGridTest/featureGridTest.ts +0 -5
  243. package/src/modules/test-components/instrumentationTest/instrumentationTest.html +0 -4
  244. package/src/modules/test-components/instrumentationTest/instrumentationTest.ts +0 -8
  245. package/src/modules/test-components/popoverTest/popoverTest.html +0 -6
  246. package/src/modules/test-components/popoverTest/popoverTest.ts +0 -5
  247. package/src/modules/test-components/slackCtaTest/slackCtaTest.html +0 -3
  248. package/src/modules/test-components/slackCtaTest/slackCtaTest.ts +0 -3
  249. package/src/modules/utils/highlight/__tests__/highlight.test.ts +0 -108
  250. package/src/modules/utils/highlight/__tests__/mockProps.ts +0 -45
  251. package/src/modules/utils-internal/jest/jest.ts +0 -58
  252. package/src/modules/utils-internal/recentSearches/__tests__/recentSearches.test.ts +0 -83
  253. package/src/modules/utils-internal/storybook/storybook.ts +0 -32
  254. package/src/modules/utils-internal/tests/tests.ts +0 -38
  255. package/src/modules/utils-internal/wordpress/__tests__/wordpress.test.ts +0 -15
@@ -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
- };