@salesforcedevs/arch-components 1.20.17-alpha1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/lwc.config.json +7 -0
  2. package/package.json +19 -0
  3. package/src/modules/common/context/context.html +1 -0
  4. package/src/modules/common/context/context.ts +137 -0
  5. package/src/modules/common/effectAdapter/__tests__/effectAdapter.test.ts +12 -0
  6. package/src/modules/common/effectAdapter/effectAdapter.html +1 -0
  7. package/src/modules/common/effectAdapter/effectAdapter.ts +18 -0
  8. package/src/modules/common/reflectedElement/__tests__/modules/test/select/select.html +3 -0
  9. package/src/modules/common/reflectedElement/__tests__/modules/test/select/select.ts +7 -0
  10. package/src/modules/common/reflectedElement/__tests__/modules/test/selectTransform/selectTransform.html +3 -0
  11. package/src/modules/common/reflectedElement/__tests__/modules/test/selectTransform/selectTransform.ts +18 -0
  12. package/src/modules/common/reflectedElement/__tests__/reflectedElement.test.ts +75 -0
  13. package/src/modules/common/reflectedElement/reflectedElement.ts +50 -0
  14. package/src/modules/common/slot/__tests__/slot.test.ts +96 -0
  15. package/src/modules/common/slot/slot.ts +20 -0
  16. package/src/modules/sa/coverage/coverage.css +35 -0
  17. package/src/modules/sa/coverage/coverage.html +15 -0
  18. package/src/modules/sa/coverage/coverage.ts +406 -0
  19. package/src/modules/sa/coverage/types.d.ts +26 -0
  20. package/src/modules/sa/expandableSection/expandableSection.css +24 -0
  21. package/src/modules/sa/expandableSection/expandableSection.html +20 -0
  22. package/src/modules/sa/expandableSection/expandableSection.stories.ts +37 -0
  23. package/src/modules/sa/expandableSection/expandableSection.ts +24 -0
  24. package/src/modules/sa/explorer/explorer.css +303 -0
  25. package/src/modules/sa/explorer/explorer.html +403 -0
  26. package/src/modules/sa/explorer/explorer.ts +664 -0
  27. package/src/modules/sa/explorer/types.d.ts +60 -0
  28. package/src/modules/sa/gallery/gallery.css +358 -0
  29. package/src/modules/sa/gallery/gallery.html +65 -0
  30. package/src/modules/sa/gallery/gallery.ts +300 -0
  31. package/src/modules/sa/gallery/types.d.ts +35 -0
  32. package/src/modules/sa/socialShare/socialShare.css +49 -0
  33. package/src/modules/sa/socialShare/socialShare.html +56 -0
  34. package/src/modules/sa/socialShare/socialShare.ts +29 -0
  35. package/src/modules/shared/a11y/a11y.ts +25 -0
  36. package/src/modules/shared/children/children.ts +29 -0
  37. package/src/modules/shared/color/color.ts +52 -0
  38. package/src/modules/shared/debounce/debounce.ts +32 -0
  39. package/src/modules/shared/dialog/dialog.ts +154 -0
  40. package/src/modules/shared/elements/__tests__/overflow.test.ts +39 -0
  41. package/src/modules/shared/elements/overflow.ts +71 -0
  42. package/src/modules/shared/fetch/fetch.ts +52 -0
  43. package/src/modules/shared/helpers/helpers.ts +141 -0
  44. package/src/modules/shared/i18n/i18n.ts +74 -0
  45. package/src/modules/shared/labels/__tests__/helpers.test.ts +107 -0
  46. package/src/modules/shared/labels/__tests__/pointHelpers.test.ts +33 -0
  47. package/src/modules/shared/labels/__tests__/timeHelpers.test.ts +89 -0
  48. package/src/modules/shared/labels/helpers.ts +23 -0
  49. package/src/modules/shared/labels/pointHelpers.ts +47 -0
  50. package/src/modules/shared/labels/timeHelpers.ts +182 -0
  51. package/src/modules/shared/labels/types.d.ts +5 -0
  52. package/src/modules/shared/logger/logger.ts +33 -0
  53. package/src/modules/shared/menu/menu.ts +239 -0
  54. package/src/modules/shared/overflow/__tests__/overflow.test.ts +39 -0
  55. package/src/modules/shared/overflow/overflow.ts +71 -0
  56. package/src/modules/shared/polling-request.ts +97 -0
  57. package/src/modules/shared/testutils.ts +118 -0
  58. package/src/modules/shared/track/track.ts +23 -0
  59. package/src/modules/shared/trailhead.ts +123 -0
  60. package/src/modules/shared/types.d.ts +1 -0
  61. package/src/modules/shared/useEffectAttr.ts +16 -0
  62. package/src/modules/shared/withState.ts +21 -0
  63. package/src/modules/tds/appLauncher/__fixtures__/index.ts +34 -0
  64. package/src/modules/tds/appLauncher/__tests__/appLauncher.test.ts +119 -0
  65. package/src/modules/tds/appLauncher/appLauncher.css +65 -0
  66. package/src/modules/tds/appLauncher/appLauncher.html +38 -0
  67. package/src/modules/tds/appLauncher/appLauncher.stories.ts +39 -0
  68. package/src/modules/tds/appLauncher/appLauncher.ts +79 -0
  69. package/src/modules/tds/appLauncher/types.ts +8 -0
  70. package/src/modules/tds/avatar/__tests__/avatar.test.ts +11 -0
  71. package/src/modules/tds/avatar/avatar.css +77 -0
  72. package/src/modules/tds/avatar/avatar.html +36 -0
  73. package/src/modules/tds/avatar/avatar.stories.ts +64 -0
  74. package/src/modules/tds/avatar/avatar.ts +50 -0
  75. package/src/modules/tds/badge/__tests__/badge.test.js +11 -0
  76. package/src/modules/tds/badge/badge.css +22 -0
  77. package/src/modules/tds/badge/badge.html +5 -0
  78. package/src/modules/tds/badge/badge.stories.ts +10 -0
  79. package/src/modules/tds/badge/badge.ts +9 -0
  80. package/src/modules/tds/button/__tests__/button.test.ts +52 -0
  81. package/src/modules/tds/button/button.css +1 -0
  82. package/src/modules/tds/button/button.html +20 -0
  83. package/src/modules/tds/button/button.stories.js +54 -0
  84. package/src/modules/tds/button/button.ts +59 -0
  85. package/src/modules/tds/buttonIcon/__tests__/buttonIcon.test.ts +17 -0
  86. package/src/modules/tds/buttonIcon/buttonIcon.css +1 -0
  87. package/src/modules/tds/buttonIcon/buttonIcon.html +12 -0
  88. package/src/modules/tds/buttonIcon/buttonIcon.stories.js +38 -0
  89. package/src/modules/tds/buttonIcon/buttonIcon.ts +6 -0
  90. package/src/modules/tds/buttonIconLink/buttonIconLink.css +1 -0
  91. package/src/modules/tds/buttonIconLink/buttonIconLink.html +14 -0
  92. package/src/modules/tds/buttonIconLink/buttonIconLink.stories.ts +32 -0
  93. package/src/modules/tds/buttonIconLink/buttonIconLink.ts +9 -0
  94. package/src/modules/tds/buttonLink/__tests__/buttonLink.test.ts +17 -0
  95. package/src/modules/tds/buttonLink/buttonLink.css +1 -0
  96. package/src/modules/tds/buttonLink/buttonLink.html +19 -0
  97. package/src/modules/tds/buttonLink/buttonLink.stories.js +24 -0
  98. package/src/modules/tds/buttonLink/buttonLink.ts +8 -0
  99. package/src/modules/tds/buttonStyles/buttonStyles.css +232 -0
  100. package/src/modules/tds/childSummary/__tests__/childSummary.test.js +99 -0
  101. package/src/modules/tds/childSummary/childSummary.css +74 -0
  102. package/src/modules/tds/childSummary/childSummary.html +38 -0
  103. package/src/modules/tds/childSummary/childSummary.stories.ts +40 -0
  104. package/src/modules/tds/childSummary/childSummary.ts +63 -0
  105. package/src/modules/tds/childSummary/types.d.ts +10 -0
  106. package/src/modules/tds/contentChildListItem/__tests__/contentChildListItem.test.ts +32 -0
  107. package/src/modules/tds/contentChildListItem/contentChildListItem.css +1 -0
  108. package/src/modules/tds/contentChildListItem/contentChildListItem.html +10 -0
  109. package/src/modules/tds/contentChildListItem/contentChildListItem.stories.ts +46 -0
  110. package/src/modules/tds/contentChildListItem/contentChildListItem.ts +34 -0
  111. package/src/modules/tds/contentIcon/contentIcon.css +47 -0
  112. package/src/modules/tds/contentIcon/contentIcon.html +15 -0
  113. package/src/modules/tds/contentIcon/contentIcon.stories.js +110 -0
  114. package/src/modules/tds/contentIcon/contentIcon.ts +66 -0
  115. package/src/modules/tds/contextAdapter/__tests__/contextAdapter.test.ts +76 -0
  116. package/src/modules/tds/contextAdapter/constants.ts +1 -0
  117. package/src/modules/tds/contextAdapter/contextAdapter.html +1 -0
  118. package/src/modules/tds/contextAdapter/contextAdapter.ts +54 -0
  119. package/src/modules/tds/dialogStyles/dialogStyles.css +90 -0
  120. package/src/modules/tds/footerLinks/__tests__/__snapshots__/footerLinks.test.ts.snap +3 -0
  121. package/src/modules/tds/footerLinks/__tests__/footerLinks.test.ts +142 -0
  122. package/src/modules/tds/footerLinks/footerLinks.css +80 -0
  123. package/src/modules/tds/footerLinks/footerLinks.html +30 -0
  124. package/src/modules/tds/footerLinks/footerLinks.ts +48 -0
  125. package/src/modules/tds/footerLinks/types.ts +11 -0
  126. package/src/modules/tds/footerMfe/footerMfe.html +3 -0
  127. package/src/modules/tds/footerMfe/footerMfe.ts +19 -0
  128. package/src/modules/tds/headerAvatar/__tests__/headerAvatar.test.ts +43 -0
  129. package/src/modules/tds/headerAvatar/headerAvatar.css +45 -0
  130. package/src/modules/tds/headerAvatar/headerAvatar.html +25 -0
  131. package/src/modules/tds/headerAvatar/headerAvatar.ts +15 -0
  132. package/src/modules/tds/headerHelpButton/__tests__/headerHelpButton.test.ts +32 -0
  133. package/src/modules/tds/headerHelpButton/headerHelpButton.css +14 -0
  134. package/src/modules/tds/headerHelpButton/headerHelpButton.html +19 -0
  135. package/src/modules/tds/headerHelpButton/headerHelpButton.ts +12 -0
  136. package/src/modules/tds/heading/__tests__/heading.test.ts +50 -0
  137. package/src/modules/tds/heading/heading.css +1 -0
  138. package/src/modules/tds/heading/heading.html +9 -0
  139. package/src/modules/tds/heading/heading.stories.ts +36 -0
  140. package/src/modules/tds/heading/heading.ts +36 -0
  141. package/src/modules/tds/icon/icon.css +28 -0
  142. package/src/modules/tds/icon/icon.html +17 -0
  143. package/src/modules/tds/icon/icon.stories.js +18 -0
  144. package/src/modules/tds/icon/icon.ts +79 -0
  145. package/src/modules/tds/input/__tests__/input.test.ts +41 -0
  146. package/src/modules/tds/input/input.css +34 -0
  147. package/src/modules/tds/input/input.html +12 -0
  148. package/src/modules/tds/input/input.stories.ts +25 -0
  149. package/src/modules/tds/input/input.ts +41 -0
  150. package/src/modules/tds/instrumentation/instrumentation.css +0 -0
  151. package/src/modules/tds/instrumentation/instrumentation.html +1 -0
  152. package/src/modules/tds/instrumentation/instrumentation.ts +113 -0
  153. package/src/modules/tds/pbCard/pbCard.css +28 -0
  154. package/src/modules/tds/pbCard/pbCard.html +21 -0
  155. package/src/modules/tds/pbCard/pbCard.ts +18 -0
  156. package/src/modules/tds/pill/__tests__/pill.test.ts +56 -0
  157. package/src/modules/tds/pill/pill.css +70 -0
  158. package/src/modules/tds/pill/pill.html +17 -0
  159. package/src/modules/tds/pill/pill.stories.ts +41 -0
  160. package/src/modules/tds/pill/pill.ts +34 -0
  161. package/src/modules/tds/progressBar/__tests__/progressBar.test.js +11 -0
  162. package/src/modules/tds/progressBar/progressBar.css +42 -0
  163. package/src/modules/tds/progressBar/progressBar.html +14 -0
  164. package/src/modules/tds/progressBar/progressBar.stories.ts +24 -0
  165. package/src/modules/tds/progressBar/progressBar.ts +14 -0
  166. package/src/modules/tds/radio/__tests__/radio.test.ts +29 -0
  167. package/src/modules/tds/radio/radio.css +89 -0
  168. package/src/modules/tds/radio/radio.html +17 -0
  169. package/src/modules/tds/radio/radio.stories.ts +31 -0
  170. package/src/modules/tds/radio/radio.ts +32 -0
  171. package/src/modules/tds/reset/reset.css +39 -0
  172. package/src/modules/tds/search/__fixtures__/index.ts +32 -0
  173. package/src/modules/tds/search/__tests__/search.test.ts +235 -0
  174. package/src/modules/tds/search/lib/__tests__/__snapshots__/listbox.test.ts.snap +115 -0
  175. package/src/modules/tds/search/lib/__tests__/listbox.test.ts +192 -0
  176. package/src/modules/tds/search/lib/listbox.ts +209 -0
  177. package/src/modules/tds/search/search.css +122 -0
  178. package/src/modules/tds/search/search.html +21 -0
  179. package/src/modules/tds/search/search.stories.ts +20 -0
  180. package/src/modules/tds/search/search.ts +107 -0
  181. package/src/modules/tds/search/types.d.ts +22 -0
  182. package/src/modules/tds/searchList/searchList.css +120 -0
  183. package/src/modules/tds/searchList/searchList.html +43 -0
  184. package/src/modules/tds/searchList/searchList.stories.ts +10 -0
  185. package/src/modules/tds/searchList/searchList.ts +53 -0
  186. package/src/modules/tds/select/__tests__/select.test.ts +150 -0
  187. package/src/modules/tds/select/select.css +42 -0
  188. package/src/modules/tds/select/select.html +24 -0
  189. package/src/modules/tds/select/select.stories.ts +59 -0
  190. package/src/modules/tds/select/select.ts +60 -0
  191. package/src/modules/tds/spinner/__tests__/spinner.test.ts +11 -0
  192. package/src/modules/tds/spinner/spinner.css +194 -0
  193. package/src/modules/tds/spinner/spinner.html +9 -0
  194. package/src/modules/tds/spinner/spinner.stories.ts +20 -0
  195. package/src/modules/tds/spinner/spinner.ts +15 -0
  196. package/src/modules/tds/styles/styles.css +24 -0
  197. package/src/modules/tds/summary/__tests__/summary.test.ts +135 -0
  198. package/src/modules/tds/summary/summary.css +135 -0
  199. package/src/modules/tds/summary/summary.html +69 -0
  200. package/src/modules/tds/summary/summary.stories.js +148 -0
  201. package/src/modules/tds/summary/summary.ts +95 -0
  202. package/src/modules/tds/tab/__tests__/tab.test.ts +25 -0
  203. package/src/modules/tds/tab/tab.css +3 -0
  204. package/src/modules/tds/tab/tab.html +5 -0
  205. package/src/modules/tds/tab/tab.ts +46 -0
  206. package/src/modules/tds/tabset/__tests__/tabset.test.ts +108 -0
  207. package/src/modules/tds/tabset/tabset.css +112 -0
  208. package/src/modules/tds/tabset/tabset.html +63 -0
  209. package/src/modules/tds/tabset/tabset.stories.ts +32 -0
  210. package/src/modules/tds/tabset/tabset.ts +232 -0
  211. package/src/modules/tds/themeProvider/themeProvider.css +502 -0
  212. package/src/modules/tds/themeProvider/themeProvider.html +3 -0
  213. package/src/modules/tds/themeProvider/themeProvider.ts +37 -0
  214. package/src/modules/tds/tile/tile.css +23 -0
  215. package/src/modules/tds/tile/tile.html +5 -0
  216. package/src/modules/tds/tile/tile.stories.js +14 -0
  217. package/src/modules/tds/tile/tile.ts +12 -0
  218. package/src/modules/tds/xsfMfeEvents/xsfMfeEvents.html +1 -0
  219. package/src/modules/tds/xsfMfeEvents/xsfMfeEvents.ts +47 -0
  220. package/src/modules/th/contextAdapter/__tests__/contextAdapter.test.ts +104 -0
  221. package/src/modules/th/contextAdapter/contextAdapter.html +1 -0
  222. package/src/modules/th/contextAdapter/contextAdapter.ts +49 -0
  223. package/src/modules/th/favoriteButton/__tests__/favoriteButton.test.ts +56 -0
  224. package/src/modules/th/favoriteButton/favoriteButton.css +3 -0
  225. package/src/modules/th/favoriteButton/favoriteButton.html +15 -0
  226. package/src/modules/th/favoriteButton/favoriteButton.stories.js +30 -0
  227. package/src/modules/th/favoriteButton/favoriteButton.ts +84 -0
  228. package/src/modules/th/favoriteButton/mocks/index.ts +12 -0
  229. package/src/modules/th/search/__fixtures__/index.ts +14 -0
  230. package/src/modules/th/search/__tests__/search.test.ts +233 -0
  231. package/src/modules/th/search/constants.ts +2 -0
  232. package/src/modules/th/search/mocks/index.ts +30 -0
  233. package/src/modules/th/search/mocks/responses.ts +54 -0
  234. package/src/modules/th/search/search.css +4 -0
  235. package/src/modules/th/search/search.html +12 -0
  236. package/src/modules/th/search/search.ts +172 -0
  237. package/src/modules/th/search/types.d.ts +29 -0
  238. package/src/modules/th/tbid/__tests__/__snapshots__/tbid.test.ts.snap +3 -0
  239. package/src/modules/th/tbid/__tests__/tbid.test.ts +242 -0
  240. package/src/modules/th/tbid/tbid.html +1 -0
  241. package/src/modules/th/tbid/tbid.stories.mdx +25 -0
  242. package/src/modules/th/tbid/tbid.ts +215 -0
  243. package/src/modules/tm/card/__tests__/card.test.ts +65 -0
  244. package/src/modules/tm/card/card.css +131 -0
  245. package/src/modules/tm/card/card.html +81 -0
  246. package/src/modules/tm/card/card.ts +269 -0
  247. package/src/modules/tm/cardBase/cardBase.css +11 -0
  248. package/src/modules/tm/cardGridA/cardGridA.css +11 -0
  249. package/src/modules/tm/cardGridA/cardGridA.html +21 -0
  250. package/src/modules/tm/cardGridA/cardGridA.stories.js +107 -0
  251. package/src/modules/tm/cardGridA/cardGridA.ts +24 -0
  252. package/src/modules/tm/cardGridB/cardGridB.css +88 -0
  253. package/src/modules/tm/cardGridB/cardGridB.html +20 -0
  254. package/src/modules/tm/cardGridB/cardGridB.stories.js +58 -0
  255. package/src/modules/tm/cardGridB/cardGridB.ts +19 -0
  256. package/src/modules/tm/cardGridC/cardGridC.css +24 -0
  257. package/src/modules/tm/cardGridC/cardGridC.html +22 -0
  258. package/src/modules/tm/cardGridC/cardGridC.stories.js +42 -0
  259. package/src/modules/tm/cardGridC/cardGridC.ts +11 -0
  260. package/src/modules/tm/cardGridD/cardGridD.css +17 -0
  261. package/src/modules/tm/cardGridD/cardGridD.html +20 -0
  262. package/src/modules/tm/cardGridD/cardGridD.stories.js +34 -0
  263. package/src/modules/tm/cardGridD/cardGridD.ts +7 -0
  264. package/src/modules/tm/cardNew/cardNew.css +31 -0
  265. package/src/modules/tm/cardNew/cardNew.html +29 -0
  266. package/src/modules/tm/cardNew/cardNew.ts +66 -0
  267. package/src/modules/tm/content/__fixtures__/index.ts +884 -0
  268. package/src/modules/tm/content/__tests__/content.test.ts +95 -0
  269. package/src/modules/tm/content/content.css +641 -0
  270. package/src/modules/tm/content/content.html +53 -0
  271. package/src/modules/tm/content/content.stories.js +14 -0
  272. package/src/modules/tm/content/content.ts +171 -0
  273. package/src/modules/tm/endCapA/__tests__/endCapA.test.ts +52 -0
  274. package/src/modules/tm/endCapA/endCapA.css +64 -0
  275. package/src/modules/tm/endCapA/endCapA.html +21 -0
  276. package/src/modules/tm/endCapA/endCapA.stories.js +37 -0
  277. package/src/modules/tm/endCapA/endCapA.ts +23 -0
  278. package/src/modules/tm/eventsA/eventsA.css +107 -0
  279. package/src/modules/tm/eventsA/eventsA.html +26 -0
  280. package/src/modules/tm/eventsA/eventsA.stories.js +51 -0
  281. package/src/modules/tm/eventsA/eventsA.ts +48 -0
  282. package/src/modules/tm/faqA/faqA.css +87 -0
  283. package/src/modules/tm/faqA/faqA.html +27 -0
  284. package/src/modules/tm/faqA/faqA.stories.js +25 -0
  285. package/src/modules/tm/faqA/faqA.ts +40 -0
  286. package/src/modules/tm/featureGridA/__tests__/featureGridA.test.ts +116 -0
  287. package/src/modules/tm/featureGridA/featureGridA.css +95 -0
  288. package/src/modules/tm/featureGridA/featureGridA.html +34 -0
  289. package/src/modules/tm/featureGridA/featureGridA.stories.js +45 -0
  290. package/src/modules/tm/featureGridA/featureGridA.ts +59 -0
  291. package/src/modules/tm/footnote/footnote.css +28 -0
  292. package/src/modules/tm/footnote/footnote.html +3 -0
  293. package/src/modules/tm/footnote/footnote.stories.js +29 -0
  294. package/src/modules/tm/footnote/footnote.ts +35 -0
  295. package/src/modules/tm/heroA/__tests__/heroA.test.ts +51 -0
  296. package/src/modules/tm/heroA/heroA.css +116 -0
  297. package/src/modules/tm/heroA/heroA.html +27 -0
  298. package/src/modules/tm/heroA/heroA.stories.js +49 -0
  299. package/src/modules/tm/heroA/heroA.ts +56 -0
  300. package/src/modules/tm/heroB/heroB.css +78 -0
  301. package/src/modules/tm/heroB/heroB.html +26 -0
  302. package/src/modules/tm/heroB/heroB.stories.js +44 -0
  303. package/src/modules/tm/heroB/heroB.ts +26 -0
  304. package/src/modules/tm/page/__tests__/page.test.ts +35 -0
  305. package/src/modules/tm/page/page.css +3 -0
  306. package/src/modules/tm/page/page.html +3 -0
  307. package/src/modules/tm/page/page.stories.js +10 -0
  308. package/src/modules/tm/page/page.ts +3 -0
  309. package/src/modules/tm/pageHeaderA/pageHeaderA.css +82 -0
  310. package/src/modules/tm/pageHeaderA/pageHeaderA.html +24 -0
  311. package/src/modules/tm/pageHeaderA/pageHeaderA.stories.js +18 -0
  312. package/src/modules/tm/pageHeaderA/pageHeaderA.ts +51 -0
  313. package/src/modules/tm/pageNavigationA/pageNavigationA.css +41 -0
  314. package/src/modules/tm/pageNavigationA/pageNavigationA.html +9 -0
  315. package/src/modules/tm/pageNavigationA/pageNavigationA.stories.js +34 -0
  316. package/src/modules/tm/pageNavigationA/pageNavigationA.ts +18 -0
  317. package/src/modules/tm/promoA/__tests__/promoA.test.ts +89 -0
  318. package/src/modules/tm/promoA/promoA.css +95 -0
  319. package/src/modules/tm/promoA/promoA.html +22 -0
  320. package/src/modules/tm/promoA/promoA.stories.js +38 -0
  321. package/src/modules/tm/promoA/promoA.ts +62 -0
  322. package/src/modules/tm/sectionA/sectionA.css +64 -0
  323. package/src/modules/tm/sectionA/sectionA.html +21 -0
  324. package/src/modules/tm/sectionA/sectionA.stories.js +18 -0
  325. package/src/modules/tm/sectionA/sectionA.ts +27 -0
  326. package/src/modules/tm/sectionSpacer/sectionSpacer.css +4 -0
  327. package/src/modules/tm/sectionSpacer/sectionSpacer.html +1 -0
  328. package/src/modules/tm/sectionSpacer/sectionSpacer.ts +3 -0
  329. package/src/modules/tm/skillsCardA/skillsCardA.css +73 -0
  330. package/src/modules/tm/skillsCardA/skillsCardA.html +37 -0
  331. package/src/modules/tm/skillsCardA/skillsCardA.ts +38 -0
  332. package/src/modules/tm/skillsGridA/skillsGridA.css +12 -0
  333. package/src/modules/tm/skillsGridA/skillsGridA.html +5 -0
  334. package/src/modules/tm/skillsGridA/skillsGridA.stories.ts +65 -0
  335. package/src/modules/tm/skillsGridA/skillsGridA.ts +3 -0
  336. package/src/modules/tm/statsA/statsA.css +26 -0
  337. package/src/modules/tm/statsA/statsA.html +10 -0
  338. package/src/modules/tm/statsA/statsA.stories.js +29 -0
  339. package/src/modules/tm/statsA/statsA.ts +20 -0
  340. package/src/modules/tm/textItem/textItem.css +53 -0
  341. package/src/modules/tm/textItem/textItem.html +18 -0
  342. package/src/modules/tm/textItem/textItem.ts +32 -0
  343. package/src/modules/tm/textItemGridA/textItemGridA.css +11 -0
  344. package/src/modules/tm/textItemGridA/textItemGridA.html +15 -0
  345. package/src/modules/tm/textItemGridA/textItemGridA.stories.js +67 -0
  346. package/src/modules/tm/textItemGridA/textItemGridA.ts +20 -0
  347. package/src/modules/tm/threeCardGrid/threeCardGrid.css +6 -0
  348. package/src/modules/tm/threeCardGrid/threeCardGrid.html +5 -0
  349. package/src/modules/tm/threeCardGrid/threeCardGrid.ts +3 -0
  350. package/src/modules/tm/trailblazersA/trailblazersA.css +70 -0
  351. package/src/modules/tm/trailblazersA/trailblazersA.html +42 -0
  352. package/src/modules/tm/trailblazersA/trailblazersA.stories.js +52 -0
  353. package/src/modules/tm/trailblazersA/trailblazersA.ts +43 -0
  354. package/src/modules/tm/utils/utils.ts +18 -0
  355. package/src/modules/tm/youtube/youtube.css +7 -0
  356. package/src/modules/tm/youtube/youtube.html +10 -0
  357. package/src/modules/tm/youtube/youtube.stories.js +15 -0
  358. package/src/modules/tm/youtube/youtube.ts +27 -0
  359. package/src/modules/ui/focusTrap/focusTrap.html +5 -0
  360. package/src/modules/ui/focusTrap/focusTrap.ts +104 -0
  361. package/src/modules/ui/focusVisible/__tests__/focusVisible.test.ts +95 -0
  362. package/src/modules/ui/focusVisible/focusVisible.html +3 -0
  363. package/src/modules/ui/focusVisible/focusVisible.ts +46 -0
@@ -0,0 +1,884 @@
1
+ import { html } from 'lit-html';
2
+
3
+ export const ContentExamples = () => html`
4
+ <!-- INTRO -->
5
+ <h2>Learning Objectives</h2>
6
+ <p>
7
+ Learning objectives are a great way to summarize expectations to users.
8
+ </p>
9
+ <ul>
10
+ <li>Understand the vision for what content look like</li>
11
+ <li>Explain the different types of text elements used in a unit</li>
12
+ <li>Explain how to properly use each text element</li>
13
+ <li>
14
+ Use text elements to create content that is easy to read, consumable
15
+ and consistent!
16
+ </li>
17
+ </ul>
18
+
19
+ <h2>The future is now</h2>
20
+
21
+ <p>
22
+ This is "example" content to help visulize the <em>future </em>of units,
23
+ documentation, blogs and any other type of content in Trailhead. This
24
+ unit will present all text elements available and guidelines for use. If
25
+ I (Cameron) have forgotten one, please let me know! Also, please forgive
26
+ the many spelling errors.
27
+ </p>
28
+
29
+ <!-- HEADINGS -->
30
+ <h2>Headings (h1, h2, h3)</h2>
31
+
32
+ <p>
33
+ Heading are foundational. Proper usage of headings is essential to good
34
+ accessibility and readability. All h2 headings are autogenerated in the
35
+ table of contents in the sidebar.
36
+ </p>
37
+ <p>
38
+ Technically only 2 levels of headings are supported: h2 & h3. Anything
39
+ beyond h3 <strong>should not be used</strong> and the content should
40
+ instead be broken into higher level sections. (If you happen to use an
41
+ h4-h6, it will be styled the same as an h3).
42
+ </p>
43
+ <p>
44
+ H1 is used only for the title (Use the Page Header component). There
45
+ should only be <strong>one</strong> h1 per page.
46
+ </p>
47
+
48
+ <dl>
49
+ <dt><h2>Headings 2</h2></dt>
50
+ <dd>
51
+ H2's are the most common header used to devide content sections into
52
+ bite sized chunks.
53
+ </dd>
54
+ </dl>
55
+
56
+ <dl>
57
+ <dt><h3>Headings 3</h3></dt>
58
+ <dd>
59
+ H3's are used to create additional sections and
60
+ <strong>should only be used if contained within an h2</strong>.
61
+ </dd>
62
+ </dl>
63
+
64
+ <p>
65
+ Remember! Do not include text styling like <em>em</em>,
66
+ <strong>strong</strong>, <samp>samp</samp>, <a>a</a>, <kbd>kbd</kbd>,
67
+ etc. within a header.
68
+ </p>
69
+
70
+ <!-- PARAGRAPHS -->
71
+ <h2>Paragraphs (p)</h2>
72
+
73
+ <p>
74
+ Paragraphs make up the bulk of content (obvs). They are the bread and
75
+ butter. In general, paragraphs should be chunked into readible sections.
76
+ P.S. Emojis are cool to add sometimes, but please dont over due it! 🙌
77
+ </p>
78
+
79
+ <!-- TEXT STYLING -->
80
+ <h2>Text Styling</h2>
81
+
82
+ <p>
83
+ Paragraphs often contain many text styling to provide emphasis or
84
+ provide clarity. Remember! You should use correct semantics.
85
+ <strong
86
+ >Do not use tags to achieve certain styling that does not fit proper
87
+ usage</strong
88
+ >.
89
+ </p>
90
+
91
+ <dl>
92
+ <dt><em>em, i</em></dt>
93
+ <dd>
94
+ Renders as italic text. This is used for a subtle emphasis of a word
95
+ or statement. For example: "It is <em>recommended</em> you save at
96
+ this point."
97
+ </dd>
98
+ </dl>
99
+
100
+ <dl>
101
+ <dt><strong>strong, b</strong></dt>
102
+ <dd>
103
+ Renders as bold text. This is used for a bold emphasis of a word or
104
+ statement. For example: "It is
105
+ <strong>strongly recommended</strong> you save at this point."
106
+ </dd>
107
+ </dl>
108
+
109
+ <dl>
110
+ <code>code</code>
111
+ <dd>
112
+ Defines a piece of computer code you want to display inline. For
113
+ example: "The following code will start the robot:
114
+ <code>function Panel(element, canClose, closeHandler)</code>"
115
+ </dd>
116
+ </dl>
117
+
118
+ <dl>
119
+ <dt><samp>samp</samp></dt>
120
+ <dd>
121
+ Defines text that should be interpreted as sample output from an
122
+ app. For example: "After clicking enter, you should recive the
123
+ message:
124
+ <samp>File Not Found! Please Contact Support.</samp>"
125
+ </dd>
126
+ </dl>
127
+
128
+ <dl>
129
+ <dt><kbd>kbd</kbd></dt>
130
+ <dd>
131
+ Defines keyboard input or menu selection. For example: "Click
132
+ <kbd>File</kbd> in the menu." or "For Field Label, enter
133
+ <kbd>Technical Site</kbd>."
134
+ </dd>
135
+ </dl>
136
+
137
+ <dl>
138
+ <var>var</var>
139
+ <dd>
140
+ Should be used for variables in a mathematical expression or code.
141
+ For example: "The volume of a box is <var>l</var> × <var>w</var> ×
142
+ <var>h</var>, where <var>l</var> represents the length,
143
+ <var>w</var> the width and <var>h</var> the height of the box.
144
+ </dd>
145
+ </dl>
146
+
147
+ <dl>
148
+ <dt><dfn>dfn</dfn></dt>
149
+ <dd>
150
+ Defines an inline term within a paragraph. For example: "A
151
+ <dfn>validator</dfn> is a program that checks for syntax errors in
152
+ code or documents."
153
+ </dd>
154
+ </dl>
155
+
156
+ <dl>
157
+ <dt><del>del, s</del> & <ins>ins</ins></dt>
158
+ <dd>
159
+ This formatting is acceptable if we need to archive previously
160
+ displayed text. It should <strong>almost always</strong> be followed
161
+ by <code>&lt;ins&gt;</code>. For example: "This great features is
162
+ planning to be released <del>Winter '19</del>
163
+ <ins>Winter '20</ins>."
164
+ </dd>
165
+ </dl>
166
+
167
+ <dl>
168
+ <dt><abbr title="Abbreviation">abbr</abbr></dt>
169
+ <dd>
170
+ Used to wrap around an abbreviation or acronym. If if you use
171
+ <code>&lt;abbr&gt;</code>, you <strong>must</strong> provide a full
172
+ expansion of the term with a <code>&lt;title&gt;</code> attribute.
173
+ For example: "We use
174
+ <abbr title="Hypertext Markup Language">HTML</abbr> to structure our
175
+ web documents."
176
+ </dd>
177
+ </dl>
178
+
179
+ <dl>
180
+ <dt><sup>sup</sup> & <sub>sub</sub></dt>
181
+ <dd>
182
+ Occasionally you may need to use superscript and subscript when
183
+ marking up items like dates, chemical formulae, and mathematical
184
+ equations so they have the correct meaning. The
185
+ <code>&lt;sup&gt;</code> and <code>&lt;sub&gt;</code> elements
186
+ handle this job. For example: "My birthday is on the 25<sup>th</sup>
187
+ of May 2001. Caffeine's chemical formula is
188
+ C<sub>8</sub>H<sub>10</sub>N<sub>4</sub>O<sub>2</sub>."
189
+ </dd>
190
+ </dl>
191
+
192
+ <dl>
193
+ <dt>
194
+ <small>small</small>
195
+ </dt>
196
+ <dd>
197
+ Represents small print like copyright and legal text. This should
198
+ rarely be used. For example:
199
+ <p>
200
+ <small
201
+ >Copyright: Rights of ALBERT EINSTEIN are used with
202
+ permission of The Hebrew University of Jerusalem.
203
+ Represented exclusively by Greenlight.</small
204
+ >
205
+ </p>
206
+ </dd>
207
+ </dl>
208
+
209
+ <dl>
210
+ <dt>
211
+ <mark>mark</mark>
212
+ </dt>
213
+ <dd>
214
+ Mark highlights text for reference or notation purposes. Highlighted
215
+ text is pretty aggressive so <em>please</em> just use
216
+ <strong>strong</strong>.
217
+ </dd>
218
+ </dl>
219
+
220
+ <dl>
221
+ <dt>
222
+ <u>underline</u>
223
+ </dt>
224
+ <dd>
225
+ Technically this should be used to represend mispelled words. We
226
+ don't misspell words so this should not be used. 😀
227
+ </dd>
228
+ </dl>
229
+
230
+ <!-- CODE BLOCKS -->
231
+ <h2>Code Blocks</h2>
232
+
233
+ <h3>Component (Coming Soon)</h3>
234
+ <p>
235
+ Our code block component brings code samples to life with code
236
+ highlighted in differened colors for readability and actions like copy &
237
+ paste built in.
238
+ </p>
239
+
240
+ <h3>HTML</h3>
241
+ <p>
242
+ Technically you could also use <code>pre code</code>. But we would
243
+ recommened using our code block component for richer output
244
+ </p>
245
+
246
+ <pre><code>
247
+ function Panel(element, canClose, closeHandler) {
248
+ this.element = element;
249
+ this.canClose = canClose;
250
+ this.closeHandler = function () { if (closeHandler) closeHandler() };
251
+ }
252
+ </code></pre>
253
+
254
+ <!-- QUOTES -->
255
+ <h2>Quotes (blockquote & q)</h2>
256
+
257
+ <p>
258
+ Quotes are a wonderful way to highlight an important sentance to two of
259
+ the content. We have two quote options to choose from: block quote and
260
+ pull quotes.
261
+ </p>
262
+
263
+ <p>
264
+ Additionally, it is recommened you include a "cite" for additionaly
265
+ context.
266
+ </p>
267
+
268
+ <h3>Component (Coming Soon)</h3>
269
+ <p>
270
+ Our quote component allows you to add a picture of the quote authoer.
271
+ Cite images are cropped to be a perfect circle.
272
+ </p>
273
+
274
+ <!-- Block Quote -->
275
+ <h3>HTML Blockquote</h3>
276
+ <p>
277
+ Block quotes are also set off from the main text as a distinct block.
278
+ However, they refer to some external citation which isn’t already
279
+ mentioned in the article. <strong>Do not use a cite.</strong>
280
+ </p>
281
+ <blockquote>
282
+ One of the biggest values of 1:1s is discovering where employees are
283
+ struggling or stuck, and helping them find a path forward. Not by
284
+ telling them how you'd do it, but by guiding them to come up with their
285
+ own solution
286
+ </blockquote>
287
+
288
+ <!-- Pull Quote -->
289
+ <h3>HTML Pull quotes</h3>
290
+ <p>
291
+ Pull quotes are short excerpts from the presented text. They are used to
292
+ pull a text passage out of the reader’s flow and give it a more dominant
293
+ position in the unit.
294
+ </p>
295
+ <q
296
+ >As a marathon runner, I think of 1:1s as a way to ensure we are aligned
297
+ on the best path to achieve the goal, as well as a point to pick up
298
+ water to hydrate to ensure we are prepared to go the distance."
299
+ <cite>Jon Plax, Senior Director, Salesforce</cite></q
300
+ >
301
+
302
+ <!-- EMBEDDED MEDIA -->
303
+ <h2>Embeded Media</h2>
304
+
305
+ <p>
306
+ Media makes units fun and more engaging. There are many types of media
307
+ objects you can include!
308
+ </p>
309
+
310
+ <h3>Inline Image Component (Coming Soon)</h3>
311
+ <p>
312
+ Inline images provide an extra visual to help guide users for what they
313
+ are looking for.
314
+ </p>
315
+
316
+ <h3>Image</h3>
317
+ <p>
318
+ Images are a great tool to help users visualize the written
319
+ instructions. Large images will span 100% width. Small images will be
320
+ left aligned. By default, a border will be added the image (Do not add
321
+ borders to your image! We will add the border with code.). You can use
322
+ many different types of images like .jpg, .png, .svg and .gif!
323
+ </p>
324
+
325
+ <img src="/images/photo-1508144753681-9986d4df99b3.webp" />
326
+
327
+ <h3>Image with Footnote</h3>
328
+ <p>
329
+ Use captions only when they're absolutely needed for clarity. If clear
330
+ introductions precede graphics or tables, captions aren't needed. Avoid
331
+ using captions for inline graphics or simple icons.
332
+ </p>
333
+
334
+ <p>
335
+ When using the <code>&lt;figcaption&gt;</code> element, be sure to wrap
336
+ the image with <code>&lt;figure&gt;</code>
337
+ </p>
338
+
339
+ <figure>
340
+ <img src="/images/lex.png" />
341
+ <figcaption>Screenshot of details on a Salesforce Lead</figcaption>
342
+ </figure>
343
+
344
+ <h3>YouTube & Vidyard Video Component (Coming Soon)</h3>
345
+ <p>
346
+ Video is a great way to embed interactive content. You can embed YouTube
347
+ or use the Vidyard player.
348
+ </p>
349
+
350
+ <!-- LIST -->
351
+ <h2>Lists</h2>
352
+
353
+ <p>
354
+ Lists are great ways to organize information in a clear and structured
355
+ way. We have two lists options to choose from: rdered lists and
356
+ unordered lists (well three, because you can mix and match).
357
+ </p>
358
+
359
+ <p>
360
+ Even though you can technically go up to 5 levels, it is
361
+ <strong>best to keep to 3 levels</strong>. Never go more then 5 levels
362
+ deep.
363
+ </p>
364
+
365
+ <p>
366
+ In general, avoid putting to much media, code boxes, messages, quotes
367
+ and other elaborate elements in a list. It's not a hard rule, but it
368
+ generally looks better.
369
+ </p>
370
+
371
+ <!-- Ordered List -->
372
+ <h3>Ordered list</h3>
373
+ <p>
374
+ Ordered list items are marked with numbers or letters. They are perfect
375
+ to use when showing steps or order.
376
+ </p>
377
+
378
+ <ol>
379
+ <li>Level one: Step one</li>
380
+ <li>
381
+ Level one: Step two
382
+ <ol>
383
+ <li>Level two: Step one</li>
384
+ <li>
385
+ Level two: Step two
386
+ <ol>
387
+ <li>Level three: Step one</li>
388
+ <li>
389
+ Level three: Step two
390
+ <ol>
391
+ <li>Level four: Step one</li>
392
+ <li>
393
+ Level four: Step two
394
+ <ol>
395
+ <li>Level five: Step one</li>
396
+ <li>Level five: Step two</li>
397
+ </ol>
398
+ </li>
399
+ </ol>
400
+ </li>
401
+ </ol>
402
+ </li>
403
+ </ol>
404
+ </li>
405
+ </ol>
406
+
407
+ <!-- Unordered list -->
408
+ <h3>Unordered list</h3>
409
+ <p>
410
+ Ordered list items are marked with numbers or letters. They are perfect
411
+ to use when showing steps or order.
412
+ </p>
413
+
414
+ <ul>
415
+ <li>Level one: Step one</li>
416
+ <li>
417
+ Level one: Step two
418
+ <ul>
419
+ <li>Level two: Step one</li>
420
+ <li>
421
+ Level two: Step two
422
+ <ul>
423
+ <li>Level three: Step one</li>
424
+ <li>
425
+ Level three: Step two
426
+ <ul>
427
+ <li>Level four: Step one</li>
428
+ <li>
429
+ Level four: Step two
430
+ <ul>
431
+ <li>Level five: Step one</li>
432
+ <li>Level five: Step two</li>
433
+ </ul>
434
+ </li>
435
+ </ul>
436
+ </li>
437
+ </ul>
438
+ </li>
439
+ </ul>
440
+ </li>
441
+ </ul>
442
+
443
+ <!-- Mixed -->
444
+ <h3>Mixed</h3>
445
+ <p>In certain situations, it may make sense to use both.</p>
446
+
447
+ <ol>
448
+ <li>Level one: Step one</li>
449
+ <li>
450
+ Level one: Step two
451
+ <ul>
452
+ <li>Level two: Step one</li>
453
+ <li>
454
+ Level two: Step two
455
+ <ol>
456
+ <li>Level three: Step one</li>
457
+ <li>
458
+ Level three: Step two
459
+ <ul>
460
+ <li>Level four: Step one</li>
461
+ <li>
462
+ Level four: Step two
463
+ <ol>
464
+ <li>Level five: Step one</li>
465
+ <li>Level five: Step two</li>
466
+ </ol>
467
+ </li>
468
+ </ul>
469
+ </li>
470
+ </ol>
471
+ </li>
472
+ </ul>
473
+ </li>
474
+ </ol>
475
+ <h3>Steps using List</h3>
476
+ <p>
477
+ A common pattern is to display steps with supporting visuals like images
478
+ and tables.
479
+ </p>
480
+
481
+ <ol>
482
+ <li>
483
+ Navigation menu—available when you tap Salesforce App Nav from the
484
+ mobile app.
485
+ <img class="img-list" src="/images/mobile_1.png" />
486
+ </li>
487
+
488
+ <li>
489
+ Repeat steps in folders:
490
+ <ul>
491
+ <li>Admin Lightning Experience Reports</li>
492
+ <li>Marketing Reports</li>
493
+ <li>Marketing Reports</li>
494
+ </ul>
495
+ </li>
496
+
497
+ <li>
498
+ Fill in the folder information: (List item with table)
499
+ <table>
500
+ <thead>
501
+ <tr>
502
+ <th>Field</th>
503
+ <th>Value</th>
504
+ </tr>
505
+ </thead>
506
+ <tbody>
507
+ <tr>
508
+ <td>Email Template Folder Label</td>
509
+ <td>Discount Request Responses</td>
510
+ </tr>
511
+ <tr>
512
+ <td>Folder Unique Name</td>
513
+ <td>(this field auto-populates)</td>
514
+ </tr>
515
+ <tr>
516
+ <td>Public Folder access</td>
517
+ <td>Read/Write</td>
518
+ </tr>
519
+ </tbody>
520
+ </table>
521
+ </li>
522
+ </ol>
523
+
524
+ <!-- Definition List -->
525
+ <h3>Definition List</h3>
526
+ <p>
527
+ Definition lists are perfect for defining terms. Think like a
528
+ dictionary. Definition lists have been restyled from the past to ensure
529
+ they are used properly.
530
+ </p>
531
+ <p>
532
+ It can be easy to confuse when a definition list should be used vs. an
533
+ h3. In general, reserve dl for a specific and concise definition. Use h3
534
+ for a more verbose section about a certian topic.
535
+ </p>
536
+ <dl>
537
+ <dt>Term 1</dt>
538
+ <dd>Definition</dd>
539
+ <dt>Term 2</dt>
540
+ <dd>Definition</dd>
541
+ <dt>Term 3</dt>
542
+ <dd>Definition</dd>
543
+ </dl>
544
+
545
+ <!-- A Real World List -->
546
+ <h3>A Real World List</h3>
547
+ <p>
548
+ This section has a little sprinkle of some of the elements we have
549
+ discussed thus far.
550
+ </p>
551
+ <ol class="ol steps enumList">
552
+ <li>Scroll to the bottom of this page.</li>
553
+ <li>
554
+ Click the arrow next to Launch and select
555
+ <strong>Create a Trailhead Playground</strong>. Don’t skip this
556
+ step! You need to use a fresh and clean Trailhead Playground for
557
+ this module.
558
+ </li>
559
+ <li>
560
+ Once your TP is created (it takes a minute!), press
561
+ <strong>Launch</strong>
562
+ </li>
563
+ <li>
564
+ In your TP’s URL, replace everything following lightning.force.com
565
+ with:
566
+ <kbd>/packagingSetupUI/ipLanding.app?apvId=04tB00000009UeX</kbd>.
567
+ Your URL should look similar to
568
+ <samp
569
+ >https://playful-raccoon-21646-dev-ed.lightning.force.com/packagingSetupUI/ipLanding.app?apvId=04tB00000009UeX</samp
570
+ >.
571
+ </li>
572
+ <li>
573
+ Select <strong>Install for All Users</strong> and grant access to
574
+ all third-party applications.
575
+ </li>
576
+ <li>
577
+ Once the installation is complete, click <strong>Done</strong> and
578
+ then open the App Launcher in the upper-left corner.
579
+ </li>
580
+
581
+ <li>
582
+ You can also access and preview Visualforce pages by searching
583
+ <kbd>Visualforce Pages</kbd> from the Quick Find bar in Setup.
584
+ </li>
585
+ </ol>
586
+
587
+ <!-- MESSAGE BOXES -->
588
+ <h2>Message Box Component (Coming Soon)</h2>
589
+ <p>Messages are an excellent way to call out something of importance.</p>
590
+
591
+ <!-- TABLES -->
592
+ <h2>Tables</h2>
593
+ <p>
594
+ Tables are an arrangement of information in rows and columns containing
595
+ cells that make comparing and contrasting information easier.
596
+ </p>
597
+
598
+ <p>
599
+ Tables should alwasy include a table header (<code>&lt;th&gt;</code>).
600
+ </p>
601
+
602
+ <p>
603
+ In general, avoid putting media, code boxes, messages, quotes and other
604
+ elaborate elements in a table. It's not a hard rule, but it generally
605
+ looks better.
606
+ </p>
607
+
608
+ <h3>Top Header</h3>
609
+ <p>
610
+ The top header should be the default go to for tables. It is the most
611
+ recognizable and easy to consume.
612
+ </p>
613
+
614
+ <table>
615
+ <thead>
616
+ <tr>
617
+ <th>Function</th>
618
+ <th>Description</th>
619
+ </tr>
620
+ </thead>
621
+ <tbody>
622
+ <tr>
623
+ <td>AVG()</td>
624
+ <td>Returns the average value of a numeric field.</td>
625
+ </tr>
626
+ <tr>
627
+ <td>COUNT() and COUNT(fieldName) and COUNT_DISTINCT()</td>
628
+ <td>Returns the number of rows matching the query criteria.</td>
629
+ </tr>
630
+ <tr>
631
+ <td>MIN()</td>
632
+ <td>Returns the minimum value of a field.</td>
633
+ </tr>
634
+ <tr>
635
+ <td>MAX()</td>
636
+ <td>Returns the maximum value of a field.</td>
637
+ </tr>
638
+ <tr>
639
+ <td>SUM()</td>
640
+ <td>Returns the total sum of a numeric field.</td>
641
+ </tr>
642
+ </tbody>
643
+ </table>
644
+
645
+ <h3>Left Header</h3>
646
+ <p>In certain situations, a left header makes more sense.</p>
647
+ <table>
648
+ <tbody>
649
+ <tr>
650
+ <th>First Name</th>
651
+ <td>John</td>
652
+ <td>Peter</td>
653
+ <td>John</td>
654
+ </tr>
655
+ <tr>
656
+ <th>Last Name</th>
657
+ <td>Carter</td>
658
+ <td>Parker</td>
659
+ <td>Rambo</td>
660
+ </tr>
661
+ <tr>
662
+ <th>Email</th>
663
+ <td>johncarter@mail.com</td>
664
+ <td>peterparker@mail.com</td>
665
+ <td>johnrambo@mail.com</td>
666
+ </tr>
667
+ </tbody>
668
+ </table>
669
+
670
+ <h3>Span header</h3>
671
+ <p>
672
+ In certain situations, spanning a header is a good way to organize
673
+ information.
674
+ </p>
675
+ <table class="featureTable sort_table">
676
+ <tbody>
677
+ <tr>
678
+ <th rowspan="3">
679
+ <strong>Publish</strong>
680
+ <br />
681
+ </th>
682
+ <td>
683
+ Emojis
684
+ <br />
685
+ </td>
686
+ <td>
687
+ With this release, you can search and select specific emojis
688
+ for hip and dynamic content for social networks that support
689
+ emoji use.
690
+ <br />
691
+ </td>
692
+ </tr>
693
+ <tr>
694
+ <td>
695
+ @mention
696
+ <br />
697
+ </td>
698
+ <td>
699
+ We have made improvements to the @mention capability. As
700
+ Internet Explorer 11 now supports this functionality, we now
701
+ display more matching results.
702
+ <br />
703
+ </td>
704
+ </tr>
705
+ <tr>
706
+ <td>
707
+ Facebook carousel posts
708
+ <br />
709
+ </td>
710
+ <td>
711
+ You can now embed up to five images or videos with the
712
+ carousel format and customize the headlines and links for
713
+ each image or video in the post. You can also save carousel
714
+ posts as shared content.
715
+ <br />
716
+ </td>
717
+ </tr>
718
+ <tr>
719
+ <th rowspan="3">
720
+ <strong>Engage</strong>
721
+ <br />
722
+ </th>
723
+ <td>
724
+ In-reply to information
725
+ <br />
726
+ </td>
727
+ <td>
728
+ With this release, you can now see in-reply to information
729
+ on each post, making it easier to keep track of
730
+ conversations in Engage.
731
+ <br />
732
+ </td>
733
+ </tr>
734
+ <tr>
735
+ <td>
736
+ Bitly link shortening
737
+ <br />
738
+ </td>
739
+ <td>
740
+ You can now shorten links in a reply using the Post
741
+ Inspector Palette in Engage. If you have added your Bitly
742
+ account to their workspace, you can use Bitly to shorten
743
+ links and track link metrics through bitly.com.
744
+ <br />
745
+ </td>
746
+ </tr>
747
+ <tr>
748
+ <td>
749
+ Macros
750
+ <br />
751
+ </td>
752
+ <td>
753
+ Through Engage column or Analyze Dashboard, you can use
754
+ macros to simplify tagging processes and engaging with
755
+ posts. See the Analyze section for more on macros.
756
+ <br />
757
+ </td>
758
+ </tr>
759
+ <tr>
760
+ <th rowspan="3">
761
+ <strong>Analyze</strong>
762
+ <br />
763
+ </th>
764
+ <td>
765
+ Macros
766
+ <br />
767
+ </td>
768
+ <td>
769
+ With this release, you can apply multiple workflow actions
770
+ to any post with a single click. You can also send cases to
771
+ Service Cloud and leads to Sales Cloud and view this
772
+ information within the post feed.
773
+ <br />
774
+ </td>
775
+ </tr>
776
+ <tr>
777
+ <td>
778
+ Advanced card configuration
779
+ <br />
780
+ </td>
781
+ <td>
782
+ By using these with Analyze dashboards, you can focus in on
783
+ the exact metrics important to you. You can apply filters to
784
+ individual cards and rename them to provide context for your
785
+ stakeholders.
786
+ </td>
787
+ </tr>
788
+ </tbody>
789
+ </table>
790
+
791
+ <h3>Footnote</h3>
792
+ <p>
793
+ In general, avoid using table captions. In certain circumstances,
794
+ captions are good to use when you have multiple tables and need to
795
+ reference them to your reader. To add a caption to a table, use the
796
+ <code>&lt;caption&gt;</code> tag.
797
+ </p>
798
+
799
+ <table>
800
+ <caption>
801
+ Table 1. Colors and objects
802
+ </caption>
803
+ <thead>
804
+ <tr>
805
+ <th>Color</th>
806
+ <th>Looks Like</th>
807
+ </tr>
808
+ </thead>
809
+ <tbody>
810
+ <tr>
811
+ <td>Blue</td>
812
+ <td>Sky</td>
813
+ </tr>
814
+ <tr>
815
+ <td>Red</td>
816
+ <td>Lava</td>
817
+ </tr>
818
+ <tr>
819
+ <td>Green</td>
820
+ <td>Grass</td>
821
+ </tr>
822
+ </tbody>
823
+ </table>
824
+
825
+ <h3>Checkmarks</h3>
826
+ <p>Many times checkmarks may be used to say yes.</p>
827
+
828
+ <table>
829
+ <thead>
830
+ <tr>
831
+ <th>Feature</th>
832
+ <th>Lightning</th>
833
+ <th>Aloha</th>
834
+ </tr>
835
+ </thead>
836
+ <tbody>
837
+ <tr>
838
+ <td>Fast</td>
839
+ <td><span class="check">✅</span></td>
840
+ <td><span class="check">✅</span></td>
841
+ </tr>
842
+ <tr>
843
+ <td>Affordable</td>
844
+ <td><span class="check"></span></td>
845
+ <td><span class="check">✅</span></td>
846
+ </tr>
847
+ <tr>
848
+ <td>Fun</td>
849
+ <td><span class="check">✅</span></td>
850
+ <td><span class="check"></span></td>
851
+ </tr>
852
+ </tbody>
853
+ </table>
854
+
855
+ <h2>Download Links</h2>
856
+ <p>
857
+ <a href="/images/photo-1508144753681-9986d4df99b3.webp" download
858
+ >Download file</a
859
+ >
860
+ </p>
861
+
862
+ <h2>Concluding Thoughts</h2>
863
+ <p>
864
+ These guidelines will ultimately help people consume content better.
865
+ Consistency throughout the product will allow our users to feel
866
+ comfortable and familiar with our content. Constraints and rules allow
867
+ us to maintain that consistency. That said, I want us to feel free to
868
+ evolve our patterns to fit the needs of our writers. That includes
869
+ changing or adding new elements.
870
+ </p>
871
+
872
+ <small
873
+ >Copyright: Rights of ALBERT EINSTEIN are used with permission of The
874
+ Hebrew University of Jerusalem. Represented exclusively by Greenlight.
875
+ 👈 Use this for adding a copyright.</small
876
+ >
877
+
878
+ <h2>Resources Component (Coming Soon)</h2>
879
+ <p>
880
+ Resources cap the end of content. It should be a simple list of links
881
+ with no levels. Each resource will have an icon (we will have to
882
+ extreact a few from SLDS we would like to use.)
883
+ </p>
884
+ `;