@learningpool/ui 1.6.3 → 1.6.6

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 (424) hide show
  1. package/{dist/assets → assets}/Images.d.ts +0 -0
  2. package/{dist/assets → assets}/Images.js +2 -2
  3. package/{dist/components → components}/atoms/Autocomplete/Autocomplete.d.ts +0 -0
  4. package/{dist/components → components}/atoms/Autocomplete/Autocomplete.js +0 -0
  5. package/{dist/components → components}/atoms/Button/Button.d.ts +0 -0
  6. package/{dist/components → components}/atoms/Button/Button.js +0 -0
  7. package/{dist/components → components}/atoms/Checkbox/Checkbox.d.ts +0 -0
  8. package/{dist/components → components}/atoms/Checkbox/Checkbox.js +0 -0
  9. package/{dist/components → components}/atoms/IconButton/IconButton.d.ts +0 -0
  10. package/{dist/components → components}/atoms/IconButton/IconButton.js +0 -0
  11. package/{dist/components → components}/atoms/Radio/Radio.d.ts +0 -0
  12. package/{dist/components → components}/atoms/Radio/Radio.js +0 -0
  13. package/{dist/components → components}/atoms/Select/Select.d.ts +0 -0
  14. package/{dist/components → components}/atoms/Select/Select.js +0 -0
  15. package/{dist/components → components}/atoms/Slider/Slider.d.ts +0 -0
  16. package/{dist/components → components}/atoms/Slider/Slider.js +0 -0
  17. package/{dist/components → components}/atoms/Switch/Switch.d.ts +0 -0
  18. package/{dist/components → components}/atoms/Switch/Switch.js +0 -0
  19. package/{dist/components → components}/atoms/TextField/TextField.d.ts +0 -0
  20. package/{dist/components → components}/atoms/TextField/TextField.js +0 -0
  21. package/{dist/components → components}/atoms/ToggleButton/ToggleButton.d.ts +0 -0
  22. package/{dist/components → components}/atoms/ToggleButton/ToggleButton.js +0 -0
  23. package/{dist/components → components}/datadisplay/Avatar/Avatar.d.ts +0 -0
  24. package/{dist/components → components}/datadisplay/Avatar/Avatar.js +0 -0
  25. package/{dist/components → components}/datadisplay/Chip/Chip.d.ts +0 -0
  26. package/{dist/components → components}/datadisplay/Chip/Chip.js +0 -0
  27. package/{dist/components → components}/datadisplay/List/List.d.ts +0 -0
  28. package/{dist/components → components}/datadisplay/List/List.js +0 -0
  29. package/{dist/components → components}/datadisplay/Tooltip/Tooltip.d.ts +0 -0
  30. package/{dist/components → components}/datadisplay/Tooltip/Tooltip.js +0 -0
  31. package/{dist/components → components}/feedback/Alert/Alert.d.ts +0 -0
  32. package/{dist/components → components}/feedback/Alert/Alert.js +0 -0
  33. package/{dist/components → components}/landmarks/Header/Header.d.ts +0 -0
  34. package/{dist/components → components}/landmarks/Header/Header.js +0 -0
  35. package/{dist/components → components}/landmarks/Header/HeaderActionButtons.d.ts +0 -0
  36. package/{dist/components → components}/landmarks/Header/HeaderActionButtons.js +0 -0
  37. package/{dist/components → components}/landmarks/Header/HeaderStyles.d.ts +0 -0
  38. package/{dist/components → components}/landmarks/Header/HeaderStyles.js +0 -0
  39. package/{dist/components → components}/navigation/Drawer/Drawer.d.ts +0 -0
  40. package/{dist/components → components}/navigation/Drawer/Drawer.js +0 -0
  41. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigation.d.ts +0 -0
  42. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigation.js +0 -0
  43. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatar.d.ts +0 -0
  44. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatar.js +0 -0
  45. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatarStyles.d.ts +0 -0
  46. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatarStyles.js +0 -0
  47. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawer.d.ts +0 -0
  48. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawer.js +0 -0
  49. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawerStyles.d.ts +0 -0
  50. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawerStyles.js +0 -0
  51. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItem.d.ts +0 -0
  52. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItem.js +1 -1
  53. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenu.d.ts +0 -0
  54. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenu.js +0 -0
  55. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenuStyles.d.ts +0 -0
  56. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenuStyles.js +0 -0
  57. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.d.ts +0 -0
  58. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.js +0 -0
  59. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationMotion.d.ts +0 -0
  60. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationMotion.js +0 -0
  61. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationNotchIndicator.d.ts +0 -0
  62. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationNotchIndicator.js +0 -0
  63. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearch.d.ts +0 -0
  64. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearch.js +0 -0
  65. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearchStyles.d.ts +0 -0
  66. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearchStyles.js +0 -0
  67. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationStyles.d.ts +0 -0
  68. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationStyles.js +0 -0
  69. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleSearchX.d.ts +0 -0
  70. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleSearchX.js +0 -0
  71. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleX.d.ts +0 -0
  72. package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleX.js +0 -0
  73. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigation.d.ts +1 -0
  74. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigation.js +13 -11
  75. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationAvatar.d.ts +0 -0
  76. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationAvatar.js +11 -7
  77. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.d.ts +49 -0
  78. package/components/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.js +33 -0
  79. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.d.ts +0 -0
  80. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.js +1 -1
  81. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.d.ts +0 -0
  82. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.js +3 -3
  83. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.d.ts +1 -0
  84. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.js +16 -15
  85. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.d.ts +0 -0
  86. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.js +3 -3
  87. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationMotion.d.ts +0 -0
  88. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationMotion.js +0 -0
  89. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +6 -1
  90. package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationStyles.js +14 -15
  91. package/{dist/components → components}/pages/ErrorPage/ErrorPage.d.ts +0 -0
  92. package/{dist/components → components}/pages/ErrorPage/ErrorPage.js +0 -0
  93. package/{dist/components → components}/pages/ErrorPage/ErrorPageStyles.d.ts +0 -0
  94. package/{dist/components → components}/pages/ErrorPage/ErrorPageStyles.js +0 -0
  95. package/{dist/components → components}/pages/SideInSide/SideInSide.d.ts +0 -0
  96. package/{dist/components → components}/pages/SideInSide/SideInSide.js +0 -0
  97. package/{dist/components → components}/pages/SideInSide/SideInSideStyles.d.ts +0 -0
  98. package/{dist/components → components}/pages/SideInSide/SideInSideStyles.js +0 -0
  99. package/{dist/components → components}/stream/AppSwitcher/AppSwitcher.d.ts +0 -0
  100. package/{dist/components → components}/stream/AppSwitcher/AppSwitcher.js +1 -1
  101. package/{dist/components → components}/stream/AppSwitcher/AppSwitcherItem.d.ts +0 -0
  102. package/{dist/components → components}/stream/AppSwitcher/AppSwitcherItem.js +0 -0
  103. package/{dist/components → components}/stream/AppSwitcher/AppSwitcherStyles.d.ts +0 -0
  104. package/{dist/components → components}/stream/AppSwitcher/AppSwitcherStyles.js +8 -6
  105. package/{dist/components → components}/stream/AppSwitcher/constants.d.ts +0 -0
  106. package/{dist/components → components}/stream/AppSwitcher/constants.js +0 -0
  107. package/{dist/index.d.ts → index.d.ts} +0 -0
  108. package/{dist/index.js → index.js} +0 -0
  109. package/lang/en-us.d.ts +15 -0
  110. package/lang/en-us.js +18 -0
  111. package/package.json +3 -70
  112. package/{dist/types → types}/components/navigation/VerticalNavigation.d.ts +0 -0
  113. package/{dist/types → types}/components/navigation/VerticalNavigation.js +0 -0
  114. package/{dist/types → types}/components/navigation/VerticalNavigationAvatar.d.ts +1 -0
  115. package/{dist/types → types}/components/navigation/VerticalNavigationAvatar.js +0 -0
  116. package/{dist/types → types}/components/stream/AppSwitcher.d.ts +0 -0
  117. package/{dist/types → types}/components/stream/AppSwitcher.js +0 -0
  118. package/{dist/types → types}/index.d.ts +0 -0
  119. package/{dist/types → types}/index.js +0 -0
  120. package/{dist/utils → utils}/constants.d.ts +0 -0
  121. package/{dist/utils → utils}/constants.js +0 -0
  122. package/{dist/utils → utils}/helpers.d.ts +0 -0
  123. package/{dist/utils → utils}/helpers.js +0 -0
  124. package/{dist/utils → utils}/hooks.d.ts +0 -0
  125. package/{dist/utils → utils}/hooks.js +0 -0
  126. package/{dist/utils → utils}/index.d.ts +0 -0
  127. package/{dist/utils → utils}/index.js +0 -0
  128. package/{dist/utils → utils}/theme.d.ts +0 -0
  129. package/{dist/utils → utils}/theme.js +0 -0
  130. package/.eslintrc.js +0 -40
  131. package/.github/pull_request_template.md +0 -23
  132. package/.github/renovate.json +0 -57
  133. package/.github/workflows/integration.yml +0 -53
  134. package/.github/workflows/wss.yml +0 -22
  135. package/.jest-test-results.json +0 -1
  136. package/.releaserc +0 -32
  137. package/.storybook/learningpoolTheme.js +0 -39
  138. package/.storybook/main.js +0 -21
  139. package/.storybook/manager-head.html +0 -175
  140. package/.storybook/manager.js +0 -34
  141. package/.storybook/preview-head.html +0 -212
  142. package/.storybook/preview.js +0 -120
  143. package/.storybook/storybook-sort.js +0 -54
  144. package/CHANGELOG.md +0 -20
  145. package/amplify.yml +0 -16
  146. package/babel.config.json +0 -14
  147. package/dist/components/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.js +0 -31
  148. package/dist/lang/en-us.d.ts +0 -6
  149. package/dist/lang/en-us.js +0 -6
  150. package/dist/package.json +0 -41
  151. package/jest.config.ts +0 -11
  152. package/jest.setup.ts +0 -5
  153. package/license +0 -7
  154. package/merge.js +0 -27
  155. package/public/android-chrome-192x192.png +0 -0
  156. package/public/android-chrome-512x512.png +0 -0
  157. package/public/apple-touch-icon.png +0 -0
  158. package/public/assets/atoms.svg +0 -5
  159. package/public/assets/automation.svg +0 -1
  160. package/public/assets/avatar-1.jpg +0 -0
  161. package/public/assets/avatar-2.jpg +0 -0
  162. package/public/assets/avatar-3.jpg +0 -0
  163. package/public/assets/flux/icon-dark.svg +0 -6
  164. package/public/assets/flux/icon-light.svg +0 -1
  165. package/public/assets/flux/icon-white.svg +0 -6
  166. package/public/assets/flux/icon.svg +0 -6
  167. package/public/assets/flux/logo-dark.svg +0 -22
  168. package/public/assets/flux/logo-light.svg +0 -1
  169. package/public/assets/flux/logo-white.svg +0 -22
  170. package/public/assets/flux/logo.svg +0 -22
  171. package/public/assets/iPhone6.jpg +0 -0
  172. package/public/assets/iPhone6Plus.jpg +0 -0
  173. package/public/assets/lp-logo.png +0 -0
  174. package/public/assets/lplogo.svg +0 -1
  175. package/public/assets/molecules.svg +0 -8
  176. package/public/assets/organisms.svg +0 -21
  177. package/public/assets/pages.svg +0 -4
  178. package/public/assets/particles.svg +0 -3
  179. package/public/assets/stream-dark.png +0 -0
  180. package/public/assets/stream-suite-logo.svg +0 -38
  181. package/public/assets/stream-white.png +0 -0
  182. package/public/assets/stream.png +0 -0
  183. package/public/assets/templates.svg +0 -3
  184. package/public/favicon-16x16.png +0 -0
  185. package/public/favicon-32x32.png +0 -0
  186. package/public/favicon.ico +0 -0
  187. package/public/index.html +0 -43
  188. package/public/logo192.png +0 -0
  189. package/public/logo512.png +0 -0
  190. package/public/manifest.json +0 -25
  191. package/public/robots.txt +0 -3
  192. package/public/site.webmanifest +0 -1
  193. package/readme.md +0 -132
  194. package/src/docs.tsx +0 -167
  195. package/src/lib/assets/Images.tsx +0 -47
  196. package/src/lib/assets/stream-suite-logo.svg +0 -38
  197. package/src/lib/components/atoms/Autocomplete/Autocomplete.test.tsx +0 -179
  198. package/src/lib/components/atoms/Autocomplete/Autocomplete.tsx +0 -14
  199. package/src/lib/components/atoms/Button/Button.test.tsx +0 -166
  200. package/src/lib/components/atoms/Button/Button.tsx +0 -16
  201. package/src/lib/components/atoms/Checkbox/Checkbox.test.tsx +0 -85
  202. package/src/lib/components/atoms/Checkbox/Checkbox.tsx +0 -10
  203. package/src/lib/components/atoms/IconButton/IconButton.test.tsx +0 -60
  204. package/src/lib/components/atoms/IconButton/IconButton.tsx +0 -9
  205. package/src/lib/components/atoms/Radio/Radio.test.tsx +0 -136
  206. package/src/lib/components/atoms/Radio/Radio.tsx +0 -10
  207. package/src/lib/components/atoms/Select/Select.test.tsx +0 -158
  208. package/src/lib/components/atoms/Select/Select.tsx +0 -12
  209. package/src/lib/components/atoms/Slider/Slider.test.tsx +0 -103
  210. package/src/lib/components/atoms/Slider/Slider.tsx +0 -10
  211. package/src/lib/components/atoms/Switch/Switch.test.tsx +0 -96
  212. package/src/lib/components/atoms/Switch/Switch.tsx +0 -10
  213. package/src/lib/components/atoms/TextField/TextField.test.tsx +0 -131
  214. package/src/lib/components/atoms/TextField/TextField.tsx +0 -31
  215. package/src/lib/components/atoms/ToggleButton/ToggleButton.test.tsx +0 -122
  216. package/src/lib/components/atoms/ToggleButton/ToggleButton.tsx +0 -10
  217. package/src/lib/components/datadisplay/Avatar/Avatar.test.tsx +0 -187
  218. package/src/lib/components/datadisplay/Avatar/Avatar.tsx +0 -35
  219. package/src/lib/components/datadisplay/Avatar/avatar-1.jpg +0 -0
  220. package/src/lib/components/datadisplay/Chip/Chip.test.tsx +0 -82
  221. package/src/lib/components/datadisplay/Chip/Chip.tsx +0 -11
  222. package/src/lib/components/datadisplay/List/List.test.tsx +0 -168
  223. package/src/lib/components/datadisplay/List/List.tsx +0 -8
  224. package/src/lib/components/datadisplay/Tooltip/Tooltip.test.tsx +0 -98
  225. package/src/lib/components/datadisplay/Tooltip/Tooltip.tsx +0 -9
  226. package/src/lib/components/feedback/Alert/Alert.test.tsx +0 -139
  227. package/src/lib/components/feedback/Alert/Alert.tsx +0 -10
  228. package/src/lib/components/landmarks/Header/Header.tsx +0 -140
  229. package/src/lib/components/landmarks/Header/HeaderActionButtons.tsx +0 -117
  230. package/src/lib/components/landmarks/Header/HeaderStyles.tsx +0 -62
  231. package/src/lib/components/navigation/Drawer/Drawer.test.tsx +0 -95
  232. package/src/lib/components/navigation/Drawer/Drawer.tsx +0 -21
  233. package/src/lib/components/navigation/MobileNavigation/MobileNavigation.tsx +0 -276
  234. package/src/lib/components/navigation/MobileNavigation/MobileNavigationAvatar.tsx +0 -334
  235. package/src/lib/components/navigation/MobileNavigation/MobileNavigationAvatarStyles.tsx +0 -77
  236. package/src/lib/components/navigation/MobileNavigation/MobileNavigationDrawer.tsx +0 -197
  237. package/src/lib/components/navigation/MobileNavigation/MobileNavigationDrawerStyles.tsx +0 -143
  238. package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItem.tsx +0 -192
  239. package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenu.tsx +0 -67
  240. package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenuStyles.tsx +0 -192
  241. package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.tsx +0 -217
  242. package/src/lib/components/navigation/MobileNavigation/MobileNavigationMotion.tsx +0 -119
  243. package/src/lib/components/navigation/MobileNavigation/MobileNavigationNotchIndicator.tsx +0 -35
  244. package/src/lib/components/navigation/MobileNavigation/MobileNavigationSearch.tsx +0 -114
  245. package/src/lib/components/navigation/MobileNavigation/MobileNavigationSearchStyles.tsx +0 -47
  246. package/src/lib/components/navigation/MobileNavigation/MobileNavigationStyles.tsx +0 -320
  247. package/src/lib/components/navigation/MobileNavigation/MobileNavigationToggleSearchX.tsx +0 -59
  248. package/src/lib/components/navigation/MobileNavigation/MobileNavigationToggleX.tsx +0 -51
  249. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigation.tsx +0 -468
  250. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationAvatar.tsx +0 -208
  251. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.tsx +0 -75
  252. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.tsx +0 -196
  253. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.tsx +0 -94
  254. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.tsx +0 -212
  255. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.tsx +0 -240
  256. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationMotion.tsx +0 -119
  257. package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationStyles.tsx +0 -302
  258. package/src/lib/components/pages/ErrorPage/ErrorPage.test.tsx +0 -78
  259. package/src/lib/components/pages/ErrorPage/ErrorPage.tsx +0 -50
  260. package/src/lib/components/pages/ErrorPage/ErrorPageStyles.tsx +0 -30
  261. package/src/lib/components/pages/SideInSide/SideInSide.tsx +0 -100
  262. package/src/lib/components/pages/SideInSide/SideInSideStyles.tsx +0 -62
  263. package/src/lib/components/stream/AppSwitcher/AppSwitcher.tsx +0 -381
  264. package/src/lib/components/stream/AppSwitcher/AppSwitcherItem.tsx +0 -84
  265. package/src/lib/components/stream/AppSwitcher/AppSwitcherStyles.tsx +0 -325
  266. package/src/lib/components/stream/AppSwitcher/constants.tsx +0 -28
  267. package/src/lib/index.tsx +0 -148
  268. package/src/lib/lang/en-us.js +0 -6
  269. package/src/lib/types/components/navigation/VerticalNavigation.ts +0 -52
  270. package/src/lib/types/components/navigation/VerticalNavigationAvatar.ts +0 -26
  271. package/src/lib/types/components/stream/AppSwitcher.ts +0 -10
  272. package/src/lib/types/index.ts +0 -9
  273. package/src/lib/utils/constants.tsx +0 -11
  274. package/src/lib/utils/helpers.tsx +0 -77
  275. package/src/lib/utils/hooks.tsx +0 -33
  276. package/src/lib/utils/index.tsx +0 -4
  277. package/src/lib/utils/theme.tsx +0 -79
  278. package/src/react-app-env.d.ts +0 -1
  279. package/src/setupTests.ts +0 -5
  280. package/src/stories/Components/DataDisplay/Avatar/Accessibility.stories.mdx +0 -34
  281. package/src/stories/Components/DataDisplay/Avatar/AllCombinations.tsx +0 -56
  282. package/src/stories/Components/DataDisplay/Avatar/Avatar.stories.tsx +0 -19
  283. package/src/stories/Components/DataDisplay/Avatar/Examples.stories.tsx +0 -278
  284. package/src/stories/Components/DataDisplay/Avatar/Overview.stories.mdx +0 -47
  285. package/src/stories/Components/DataDisplay/Chip/Accessibility.stories.mdx +0 -29
  286. package/src/stories/Components/DataDisplay/Chip/AllCombinations.tsx +0 -58
  287. package/src/stories/Components/DataDisplay/Chip/Chip.stories.tsx +0 -21
  288. package/src/stories/Components/DataDisplay/Chip/Examples.stories.tsx +0 -126
  289. package/src/stories/Components/DataDisplay/Chip/Overview.stories.mdx +0 -57
  290. package/src/stories/Components/DataDisplay/List/Accessibility.stories.mdx +0 -54
  291. package/src/stories/Components/DataDisplay/List/AllCombinations.tsx +0 -396
  292. package/src/stories/Components/DataDisplay/List/Examples.stories.tsx +0 -501
  293. package/src/stories/Components/DataDisplay/List/List.stories.tsx +0 -35
  294. package/src/stories/Components/DataDisplay/List/Overview.stories.mdx +0 -69
  295. package/src/stories/Components/DataDisplay/Table/Overview.stories.mdx +0 -70
  296. package/src/stories/Components/DataDisplay/Tooltip/Accessibility.stories.mdx +0 -39
  297. package/src/stories/Components/DataDisplay/Tooltip/AllCombinations.tsx +0 -134
  298. package/src/stories/Components/DataDisplay/Tooltip/Examples.stories.tsx +0 -237
  299. package/src/stories/Components/DataDisplay/Tooltip/Overview.stories.mdx +0 -58
  300. package/src/stories/Components/DataDisplay/Tooltip/Tooltip.stories.tsx +0 -22
  301. package/src/stories/Components/Feedback/Alert/Accessibility.stories.mdx +0 -25
  302. package/src/stories/Components/Feedback/Alert/Alert.stories.tsx +0 -22
  303. package/src/stories/Components/Feedback/Alert/AllCombinations.tsx +0 -37
  304. package/src/stories/Components/Feedback/Alert/Examples.stories.tsx +0 -137
  305. package/src/stories/Components/Feedback/Alert/Overview.stories.mdx +0 -62
  306. package/src/stories/Components/Inputs/Autocomplete/Accessibility.stories.mdx +0 -31
  307. package/src/stories/Components/Inputs/Autocomplete/AllCombinations.tsx +0 -182
  308. package/src/stories/Components/Inputs/Autocomplete/Autocomplete.stories.tsx +0 -31
  309. package/src/stories/Components/Inputs/Autocomplete/Examples.stories.tsx +0 -233
  310. package/src/stories/Components/Inputs/Autocomplete/Overview.stories.mdx +0 -52
  311. package/src/stories/Components/Inputs/Button/Accessibility.stories.mdx +0 -52
  312. package/src/stories/Components/Inputs/Button/AllCombinations.tsx +0 -53
  313. package/src/stories/Components/Inputs/Button/Button.stories.tsx +0 -23
  314. package/src/stories/Components/Inputs/Button/Examples.stories.tsx +0 -190
  315. package/src/stories/Components/Inputs/Button/Overview.stories.mdx +0 -52
  316. package/src/stories/Components/Inputs/Checkbox/Accessibility.stories.mdx +0 -38
  317. package/src/stories/Components/Inputs/Checkbox/AllCombinations.tsx +0 -55
  318. package/src/stories/Components/Inputs/Checkbox/Checkbox.stories.tsx +0 -22
  319. package/src/stories/Components/Inputs/Checkbox/Examples.stories.tsx +0 -363
  320. package/src/stories/Components/Inputs/Checkbox/Overview.stories.mdx +0 -63
  321. package/src/stories/Components/Inputs/IconButton/Examples.stories.tsx +0 -24
  322. package/src/stories/Components/Inputs/IconButton/IconButton.stories.tsx +0 -26
  323. package/src/stories/Components/Inputs/Radio/Accessibility.stories.mdx +0 -61
  324. package/src/stories/Components/Inputs/Radio/AllCombinations.tsx +0 -75
  325. package/src/stories/Components/Inputs/Radio/Examples.stories.tsx +0 -333
  326. package/src/stories/Components/Inputs/Radio/Overview.stories.mdx +0 -74
  327. package/src/stories/Components/Inputs/Radio/Radio.stories.tsx +0 -22
  328. package/src/stories/Components/Inputs/Select/Accessibility.stories.mdx +0 -51
  329. package/src/stories/Components/Inputs/Select/AllCombinations.tsx +0 -63
  330. package/src/stories/Components/Inputs/Select/Examples.stories.tsx +0 -803
  331. package/src/stories/Components/Inputs/Select/Overview.stories.mdx +0 -73
  332. package/src/stories/Components/Inputs/Select/Select.stories.tsx +0 -22
  333. package/src/stories/Components/Inputs/Slider/Accessibility.stories.mdx +0 -43
  334. package/src/stories/Components/Inputs/Slider/AllCombinations.tsx +0 -30
  335. package/src/stories/Components/Inputs/Slider/Examples.stories.tsx +0 -146
  336. package/src/stories/Components/Inputs/Slider/Overview.stories.mdx +0 -59
  337. package/src/stories/Components/Inputs/Slider/Slider.stories.tsx +0 -27
  338. package/src/stories/Components/Inputs/Switch/Accessibility.stories.mdx +0 -34
  339. package/src/stories/Components/Inputs/Switch/AllCombinations.tsx +0 -45
  340. package/src/stories/Components/Inputs/Switch/Examples.stories.tsx +0 -213
  341. package/src/stories/Components/Inputs/Switch/Overview.stories.mdx +0 -62
  342. package/src/stories/Components/Inputs/Switch/Switch.stories.tsx +0 -22
  343. package/src/stories/Components/Inputs/TextField/Accessibility.stories.mdx +0 -29
  344. package/src/stories/Components/Inputs/TextField/AllCombinations.tsx +0 -57
  345. package/src/stories/Components/Inputs/TextField/Examples.stories.tsx +0 -127
  346. package/src/stories/Components/Inputs/TextField/Overview.stories.mdx +0 -60
  347. package/src/stories/Components/Inputs/TextField/TextField.stories.tsx +0 -261
  348. package/src/stories/Components/Inputs/ToggleButton/Accessibility.stories.mdx +0 -32
  349. package/src/stories/Components/Inputs/ToggleButton/AllCombinations.tsx +0 -113
  350. package/src/stories/Components/Inputs/ToggleButton/Examples.stories.tsx +0 -339
  351. package/src/stories/Components/Inputs/ToggleButton/Overview.stories.mdx +0 -55
  352. package/src/stories/Components/Inputs/ToggleButton/ToggleButton.stories.tsx +0 -19
  353. package/src/stories/Components/Landmarks/Header/Examples.stories.tsx +0 -197
  354. package/src/stories/Components/Landmarks/Header/Header.stories.tsx +0 -34
  355. package/src/stories/Components/Landmarks/Header/Overview.stories.mdx +0 -44
  356. package/src/stories/Components/Navigation/Drawer/Accessibility.stories.mdx +0 -13
  357. package/src/stories/Components/Navigation/Drawer/Drawer.stories.tsx +0 -80
  358. package/src/stories/Components/Navigation/Drawer/Examples.stories.tsx +0 -440
  359. package/src/stories/Components/Navigation/Drawer/Overview.stories.mdx +0 -43
  360. package/src/stories/Components/Navigation/MobileNavigation/Accessibility.stories.mdx +0 -14
  361. package/src/stories/Components/Navigation/MobileNavigation/Examples.stories.tsx +0 -384
  362. package/src/stories/Components/Navigation/MobileNavigation/MobileNavigation.stories.tsx +0 -24
  363. package/src/stories/Components/Navigation/MobileNavigation/Overview.stories.mdx +0 -47
  364. package/src/stories/Components/Navigation/VerticalNavigation/Accessibility.stories.mdx +0 -14
  365. package/src/stories/Components/Navigation/VerticalNavigation/Examples.stories.tsx +0 -307
  366. package/src/stories/Components/Navigation/VerticalNavigation/Overview.stories.mdx +0 -47
  367. package/src/stories/Components/Navigation/VerticalNavigation/VerticalNavigation.stories.tsx +0 -24
  368. package/src/stories/ContactUs.stories.mdx +0 -21
  369. package/src/stories/Experimental/Test.stories.mdx +0 -46
  370. package/src/stories/GettingStarted/Designer.stories.mdx +0 -86
  371. package/src/stories/GettingStarted/Developer.stories.mdx +0 -134
  372. package/src/stories/Guidelines/Accessibility/AssistiveTechnology.stories.mdx +0 -70
  373. package/src/stories/Guidelines/Accessibility/ColorAndContrast.stories.mdx +0 -109
  374. package/src/stories/Guidelines/Accessibility/Hierarchy.stories.mdx +0 -119
  375. package/src/stories/Guidelines/Accessibility/Imagery.stories.mdx +0 -136
  376. package/src/stories/Guidelines/Accessibility/Overview.stories.mdx +0 -44
  377. package/src/stories/Guidelines/Accessibility/Principles.stories.mdx +0 -156
  378. package/src/stories/Guidelines/Accessibility/SoundAndMotion.stories.mdx +0 -59
  379. package/src/stories/Guidelines/Accessibility/Typography.stories.mdx +0 -69
  380. package/src/stories/Guidelines/Accessibility/Writing.stories.mdx +0 -188
  381. package/src/stories/Guidelines/Styleguide/ColorSwatch.tsx +0 -53
  382. package/src/stories/Guidelines/Styleguide/Colors.stories.mdx +0 -118
  383. package/src/stories/Guidelines/Styleguide/Typography.stories.mdx +0 -84
  384. package/src/stories/Introduction.stories.mdx +0 -65
  385. package/src/stories/Pages/ErrorPage.stories.tsx +0 -30
  386. package/src/stories/Pages/SideInSide.stories.tsx +0 -195
  387. package/src/stories/Roadmap.stories.mdx +0 -19
  388. package/src/stories/Templates/Login.stories.mdx +0 -46
  389. package/src/stories/assets/Atomic_Design_Icons-Dark.svg +0 -24
  390. package/src/stories/assets/Atomic_Design_Icons-Light.svg +0 -25
  391. package/src/stories/assets/accessibility-1.png +0 -0
  392. package/src/stories/assets/accessibility-2.png +0 -0
  393. package/src/stories/assets/accessibility-3.png +0 -0
  394. package/src/stories/assets/accessibility-banner.png +0 -0
  395. package/src/stories/assets/atoms.svg +0 -6
  396. package/src/stories/assets/design_system_2022-02-11_12.22pm.png +0 -0
  397. package/src/stories/assets/figma-tokens.png +0 -0
  398. package/src/stories/assets/hierarchy-1.jpg +0 -0
  399. package/src/stories/assets/hierarchy-2.jpg +0 -0
  400. package/src/stories/assets/hierarchy-3.jpg +0 -0
  401. package/src/stories/assets/icon-contrast-1.jpg +0 -0
  402. package/src/stories/assets/icon-contrast-2.jpg +0 -0
  403. package/src/stories/assets/imagery-1.png +0 -0
  404. package/src/stories/assets/imagery-2.png +0 -0
  405. package/src/stories/assets/imagery-3.png +0 -0
  406. package/src/stories/assets/imagery-4.jpg +0 -0
  407. package/src/stories/assets/molecules.svg +0 -9
  408. package/src/stories/assets/organisms.svg +0 -22
  409. package/src/stories/assets/pages.svg +0 -5
  410. package/src/stories/assets/particles.svg +0 -4
  411. package/src/stories/assets/templates.svg +0 -4
  412. package/src/stories/assets/testData.tsx +0 -102
  413. package/src/stories/assets/text-contrast-1.jpg +0 -0
  414. package/src/stories/assets/text-contrast-2.jpg +0 -0
  415. package/src/stories/assets/typography-1.png +0 -0
  416. package/src/stories/assets/visual-clues-1.png +0 -0
  417. package/src/stories/assets/visual-clues-2.png +0 -0
  418. package/src/stories/assets/writing-1.jpg +0 -0
  419. package/src/stories/assets/writing-2.png +0 -0
  420. package/src/stories/assets/writing-3.png +0 -0
  421. package/src/stories/assets/writing-4.png +0 -0
  422. package/src/stories/utils/CustomIcons.tsx +0 -44
  423. package/tsconfig.eslint.json +0 -16
  424. package/tsconfig.json +0 -50
package/src/docs.tsx DELETED
@@ -1,167 +0,0 @@
1
- export const DOCS = {
2
- Button: {
3
- Default: 'Buttons allow users to take actions, and make choices, with a single tap. Buttons communicate actions that users can take. They are typically placed throughout your UI, in places like; Modal windows, Forms, Cards, Toolbars. The Button comes with three variants: text (default), contained, and outlined.',
4
- Text: 'Text buttons are typically used for less-pronounced actions, including those located: in dialogs, in cards. In cards, text buttons help maintain an emphasis on card content.',
5
- Contained: 'Contained buttons are high-emphasis, distinguished by their use of elevation and fill. They contain actions that are primary to your app.',
6
- Outlined: 'Outlined buttons are medium-emphasis buttons. They contain actions that are important but aren\'t the primary action in an app. Outlined buttons are also a lower emphasis alternative to contained buttons, or a higher emphasis alternative to text buttons.',
7
- Colors: '',
8
- Sizes: 'For larger or smaller buttons, use the size prop.',
9
- WithIcon: 'Sometimes you might want to have icons for certain buttons to enhance the UX of the application as we recognize logos more easily than plain text. For example, if you have a delete button you can label it with a dustbin icon.',
10
- IconButtons: 'Icon buttons are commonly found in app bars and toolbars. Icons are also appropriate for toggle buttons that allow a single choice to be selected or deselected, such as adding or removing a star to an item.',
11
- All: ''
12
- },
13
- Checkbox: {
14
- Default: 'Checkboxes allow the user to select one or more items from a set. Checkboxes can be used to turn an option on or off. If you have multiple options appearing in a list, you can preserve space by using checkboxes instead of on/off switches. If you have a single option, avoid using a checkbox and use an on/off switch instead.',
15
- Label: 'You can provide a label to the Checkbox thanks to the FormControlLabel component.',
16
- Colors: '',
17
- Sizes: 'Use the `size` prop or customize the font size of the svg icons to change the size of the checkboxes.',
18
- Icon: '',
19
- Controlled: 'You can control the checkbox with the checked and onChange props:',
20
- Indeterminate: 'A checkbox input can only have two states in a form: checked or unchecked. It either submits its value or doesn\'t. Visually, there are three states a checkbox can be in: checked, unchecked, or indeterminate.\n\n ⚠️ When indeterminate is set, the value of the checked prop only impacts the form submitted values. It has no accessibility or UX implications.',
21
- CheckboxesGroup: 'FormGroup is a helpful wrapper used to group selection control components.',
22
- LabelPosition: 'You can change the placement of the label:',
23
- All: ''
24
- },
25
- Switch: {
26
- Default: 'Switches toggle the state of a single setting on or off. Switches are the preferred way to adjust settings on mobile. The option that the switch controls, as well as the state it\'s in, should be made clear from the corresponding inline label.',
27
- Label: 'You can provide a label to the `Switch` thanks to the `FormControlLabel` component.',
28
- Colors: '',
29
- Sizes: 'Use the `size` prop to change the size of the switch.',
30
- Controlled: 'You can control the switch with the `checked` and `onChange` props:',
31
- SwitchesGroup: '`FormGroup` is a helpful wrapper used to group selection controls components that provides an easier API. However, you are encouraged to use Checkboxes instead if multiple related controls are required. (See: [When to use](https://uxplanet.org/checkbox-vs-toggle-switch-7fc6e83f10b8)).',
32
- LabelPosition: 'You can change the placement of the label:',
33
- All: ''
34
- },
35
- Radio: {
36
- Default: '`RadioGroup` is a helpful wrapper used to group `Radio` components that provides an easier API, and proper keyboard accessibility to the group.',
37
- Direction: 'To lay out the buttons horizontally, set the `row` prop:',
38
- Controlled: 'You can control the radio with the `value` and `onChange` props:',
39
- Standalone: '`Radio` can also be used standalone, without the RadioGroup wrapper.',
40
- Sizes: 'Use the `size` prop or customize the font size of the svg icons to change the size of the radios.',
41
- Colors: '',
42
- Indeterminate: 'A checkbox input can only have two states in a form: checked or unchecked. It either submits its value or doesn\'t. Visually, there are three states a checkbox can be in: checked, unchecked, or indeterminate.\n\n ⚠️ When indeterminate is set, the value of the checked prop only impacts the form submitted values. It has no accessibility or UX implications.',
43
- LabelPosition: 'You can change the placement of the label with the `FormControlLabel` component\'s `labelPlacement` prop:',
44
- ShowError: 'In general, radio buttons should have a value selected by default. If this is not the case, you can display an error if no value is selected when the form is submitted:',
45
- All: ''
46
- },
47
- Select: {
48
- Default: 'Menus are positioned under their emitting elements, unless they are close to the bottom of the viewport.\n\nThe Select component is meant to be interchangeable with a native <select> element.If you are looking for more advanced features, like combobox, multiselect, autocomplete, async or creatable support, head to the `Autocomplete` component. It\'s meant to be an improved version of the \'react-select\' and \'downshift\' packages.',
49
- Variants: 'The Select component is implemented as a custom `<input>` element of the InputBase. It extends the text field components sub-components, either the OutlinedInput, Input, or FilledInput, depending on the variant selected. It shares the same styles and many of the same props. Refer to the respective component\'s API page for details.',
50
- HelperText: '⚠ Note that when using FormControl with the outlined variant of the Select, you need to provide a label in two places: in the InputLabel component and in the `label` prop of the Select component (see the above demo).',
51
- AutoWidth: '',
52
- OtherProps: '',
53
- NativeSelect: 'As the user experience can be improved on mobile using the native select of the platform, we allow such pattern.',
54
- MultipleSelect: 'The `Select` component can handle multiple selections. It\'s enabled with the `multiple` prop.\n\nLike with the single selection, you can pull out the new value by accessing `event.target.value` in the `onChange` callback. It\'s always an array.',
55
- Checkmarks: '',
56
- Chips: '',
57
- Placeholder: '',
58
- Native: '',
59
- Controlled: 'You can control the open state of the select with the `open` prop. Alternatively, it is also possible to set the initial (uncontrolled) open state of the component with the `defaultOpen` prop.',
60
- WithDialog: 'While it\'s discouraged by the Material Design guidelines, you can use a select inside a dialog.',
61
- Grouping: 'Display categories with the `ListSubheader` component or the native `<optgroup>` element.',
62
- All: ''
63
- },
64
- TextField: {
65
- Basic: 'The `TextField` wrapper component is a complete form control including a label, input, and help text. It comes with three variants: outlined (default), filled, and standard.',
66
- Validation: 'The `error` prop toggles the error state. The `helperText` prop can then be used to provide feedback to the user about the error.',
67
- Sizes: 'Fancy smaller inputs? Use the `size` prop.',
68
- Colors: 'The `color` prop changes the highlight color of the text field when focused.',
69
- All: ''
70
- },
71
- Slider: {
72
- Default: 'Continuous sliders allow users to select a value along a subjective range.',
73
- Colors: '',
74
- Sizes: 'For smaller slider, use the prop `size=\'small\'`.',
75
- Discrete: 'Discrete sliders can be adjusted to a specific value by referencing its value indicator. You can generate a mark for each step with `marks={true}`.',
76
- Range: 'The slider can be used to set the start and end of a range by supplying an array of values to the `value` prop.',
77
- All: ''
78
- },
79
- ToggleButton: {
80
- Default: '',
81
- ExclusiveSection: 'With exclusive selection, selecting one option deselects any other. Note: Exclusive selection does not enforce that a button must be active. For that effect see [enforce value set](https://mui.com/components/toggle-button/#enforce-value-set).',
82
- MultipleSection: 'Multiple selection allows for logically-grouped options, like bold, italic, and underline, to have multiple options selected.',
83
- Sizes: 'For larger or smaller buttons, use the `size` prop.',
84
- Colors: '',
85
- EnforceValues: 'If you want to enforce that at least one button must be active, you can adapt your `handleChange` function.',
86
- All: ''
87
- },
88
- Alert: {
89
- Default: 'The alert offers four severity levels that set a distinctive icon and color.',
90
- Description: 'You can use the `AlertTitle` component to display a formatted title above the content.',
91
- Actions: 'An alert can have an action, such as a close or undo button. It is rendered after the message, at the end of the alert.',
92
- Icons: 'The icon prop allows you to add an icon to the beginning of the alert component. This will override the default icon for the specified severity.',
93
- Variants: 'Two variants are available - outlined, and filled:',
94
- All: ''
95
- },
96
- Chip: {
97
- Default: 'The Chip component supports outlined and filled styling.',
98
- Colors: 'You can use the `color` prop to define a color from theme palette.',
99
- Sizes: 'You can use the `size` prop to define a small Chip.',
100
- Adornments: 'You can add ornaments to the beginning of the component. Use the `avatar` prop to add an avatar or use the `icon` prop to add an icon.',
101
- Actions: 'Chips can be both clickable and deletable.',
102
- All: ''
103
- },
104
- Autocomplete: {
105
- Default: '',
106
- ComboBox: 'The value must be chosen from a predefined set of allowed values.',
107
- FreeSolo: 'Set `freeSolo` to true so the textbox can contain any arbitrary value. The prop is designed to cover the primary use case of a search input with suggestions, e.g. Google search or react-autowhatever.',
108
- Grouped: 'You can group the options with the `groupBy` prop. If you do so, make sure that the options are also sorted with the same dimension that they are grouped by, otherwise, you will notice duplicate headers.',
109
- DisabledOptions: 'Use the `getOptionDisabled` prop to set the disabled state of an option.',
110
- MultipleValues: 'Also known as tags, the user is allowed to enter more than one value.',
111
- Sizes: 'Use the `size` prop to render smaller inputs.',
112
- All: ''
113
- },
114
- Tooltip: {
115
- Default: 'When activated, Tooltips display a text label identifying an element, such as a description of its function.',
116
- Position: 'The `Tooltip` has 12 placements choice. They don\'t have directional arrows; instead, they rely on motion emanating from the source to convey direction.',
117
- Arrow: 'You can use the `arrow` prop to give your tooltip an arrow indicating which element it refers to.',
118
- Triggers: 'You can define the types of events that cause a tooltip to show. The touch action requires a long press due to the `enterTouchDelay` prop being set to 700ms by default.',
119
- Transitions: 'There are 3 different transition props available: `grow` `fade` and `zoom`',
120
- FollowCursor: 'You can enable the tooltip to follow the cursor by setting `followCursor={true}.`',
121
- ShowingAndHiding: 'The tooltip is normally shown immediately when the user\'s mouse hovers over the element, and hides immediately when the user\'s mouse leaves. A delay in showing or hiding the tooltip can be added through the `enterDelay` and `leaveDelay` props.',
122
- All: ''
123
- },
124
- List: {
125
- Default: '',
126
- Basic: 'Lists are a continuous group of text or images. They are composed of items containing primary and supplemental actions, which are represented by icons and text.',
127
- Nested: 'List items can easily be nested inside of one another.',
128
- Folder: '',
129
- SelectedListItem: '',
130
- AlignListItems: 'When displaying three lines or more, the avatar is not aligned at the top. You should set the `alignItems="flex-start"` prop to align the avatar at the top, following the Material Design guidelines:',
131
- ListControls: 'List controls can include both a primary and secondary action. The primary action is triggered when a user clicks on the list item. The secondary action is triggered when a user clicks on the secondary action element.',
132
- StickySubheader: 'Upon scrolling, subheaders remain pinned to the top of the screen until pushed off screen by the next subheader. This feature relies on CSS sticky positioning.',
133
- All: ''
134
- },
135
- Drawer: {
136
- Default: 'Navigation drawers (or "sidebars") provide access to destinations and app functionality, such as switching accounts. They can either be permanently on-screen or controlled by a navigation menu icon.',
137
- TemporaryDrawer: 'Temporary navigation drawers can toggle open or closed. Closed by default, the drawer opens temporarily above all other content until a section is selected. The Drawer can be cancelled by clicking the overlay or pressing the `Esc` key. It closes when an item is selected, handled by controlling the `open` prop.',
138
- PersistentDrawer: 'Persistent navigation drawers can toggle open or closed. The drawer sits on the same surface elevation as the content. It is closed by default and opens by selecting the menu icon, and stays open until closed by the user. The state of the drawer is remembered from action to action and session to session. When the drawer is outside of the page grid and opens, the drawer forces other content to change size and adapt to the smaller viewport.',
139
- PermanentDrawer: 'Permanent navigation drawers are always visible and pinned to the left edge, at the same elevation as the content or background. They cannot be closed.'
140
- },
141
- Avatar: {
142
- Default: 'Hi',
143
- ImageAvatars: 'Image avatars can be created by passing standard `img` props `src` or `srcSet` to the component.',
144
- LetterAvatars: 'Avatars containing simple characters can be created by passing a string as `children`.',
145
- Sizes: 'You can change the size of the avatar using the `sx` prop with height and width properties.',
146
- Colors: 'You can use different background colors for the avatar using the `sx` prop with a `bgcolor` property.',
147
- IconAvatars: 'Icon avatars are created by passing an icon as `children`.',
148
- Variants: 'If you need square or rounded avatars, use the `variant` prop.',
149
- Grouped: '`AvatarGroup` renders its children as a stack. Use the `max` prop to limit the number of avatars.',
150
- TotalAvatars: 'If you need to control the total number of avatars not shown, you can use the `total` prop.',
151
- BadgeAvatars: '',
152
- All: ''
153
- },
154
- VerticalNavigation: {
155
- Default: 'Navigation drawers (or "sidebars") provide access to destinations and app functionality, such as switching accounts. They can either be permanently on-screen or controlled by a navigation menu icon.',
156
- Overview: 'Temporary navigation drawers can toggle open or closed. Closed by default, the drawer opens temporarily above all other content until a section is selected. The Drawer can be cancelled by clicking the overlay or pressing the `Esc` key. It closes when an item is selected, handled by controlling the `open` prop.',
157
- Empty: 'Temporary navigation drawers can toggle open or closed. Closed by default, the drawer opens temporarily above all other content until a section is selected. The Drawer can be cancelled by clicking the overlay or pressing the `Esc` key. It closes when an item is selected, handled by controlling the `open` prop.'
158
- },
159
- MobileNavigation: {
160
- Default: 'Navigation drawers (or "sidebars") provide access to destinations and app functionality, such as switching accounts. They can either be permanently on-screen or controlled by a navigation menu icon.',
161
- Overview: 'Temporary navigation drawers can toggle open or closed. Closed by default, the drawer opens temporarily above all other content until a section is selected. The Drawer can be cancelled by clicking the overlay or pressing the `Esc` key. It closes when an item is selected, handled by controlling the `open` prop.'
162
- },
163
- Header: {
164
- Default: 'Navigation drawers (or "sidebars") provide access to destinations and app functionality, such as switching accounts. They can either be permanently on-screen or controlled by a navigation menu icon.',
165
- Overview: 'Temporary navigation drawers can toggle open or closed. Closed by default, the drawer opens temporarily above all other content until a section is selected. The Drawer can be cancelled by clicking the overlay or pressing the `Esc` key. It closes when an item is selected, handled by controlling the `open` prop.'
166
- }
167
- }
@@ -1,47 +0,0 @@
1
- import * as React from 'react'
2
- import { createSvgIcon } from '@mui/material/utils'
3
-
4
- export const StreamSuiteLogo = createSvgIcon(
5
- <svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 447.9 484.8">
6
- <path d="M447.9 304.4V321l-1 5.2c-3 21.8-12.5 40.5-27.4 56.4a102.6 102.6 0 0 1-34.1 24A98 98 0 0 1 325 413c-2.2-.5-3.2 0-4 2.1a100.5 100.5 0 0 1-32.4 47.2 101.3 101.3 0 0 1-48 21l-11 1.4h-11.7a6.8 6.8 0 0 0-1.5-.4A102.5 102.5 0 0 1 172 471a96.6 96.6 0 0 1-30.8-27.6 103.7 103.7 0 0 1-14.6-28.7c-.5-1.4-.8-2.5-2.8-2a98.5 98.5 0 0 1-32.5 1.5 101 101 0 0 1-35.8-10.8 97.8 97.8 0 0 1-29.7-23A102 102 0 0 1 7 350a105.4 105.4 0 0 1-5.5-55.2 100.7 100.7 0 0 1 13-35.3c2.7-4.7 6.3-5.1 10.2-1.3l4.8 4.3a102 102 0 0 0 37.7 20.6c5.1 1.6 6.5 5 3.7 9.6a35.7 35.7 0 0 0 7.9 48.3 36.3 36.3 0 0 0 22.4 9c15.2.5 26.3-6.9 33.8-19.3 10.5-17.2 20.3-34.8 30.3-52.2.6-1 1-2 1.7-3.5l-4-.2c-22.2 0-44.5 0-66.7-.3a103 103 0 0 1-76.3-41A95.8 95.8 0 0 1 .8 161a106 106 0 0 1 33.9-66A90 90 0 0 1 54 81.4c20.6-11 42.5-13.6 65.4-10.3 7.5 1.2 5.5 2.5 8.2-4.7a99 99 0 0 1 32-44.8A102.2 102.2 0 0 1 222.4 0a106 106 0 0 1 32.2 4.5A98.4 98.4 0 0 1 293 25.8a100.2 100.2 0 0 1 28 43.5c.8 2.2 1.6 2.9 4 2.4a102 102 0 0 1 28-1.9 92.8 92.8 0 0 1 37.9 10.6q46 24.9 55.6 76.4c.6 3 1 6 1.4 9.1v14.4a23.2 23.2 0 0 0-.6 2.6 100.8 100.8 0 0 1-14.6 43c-2.3 3.6-6 4-9.1 1-2.1-2-4.1-4-6.3-5.8a97.4 97.4 0 0 0-35.4-19.1c-7-2-8-5.7-4.3-11.5a32.5 32.5 0 0 0 5.1-22.2 37.6 37.6 0 0 0-15-25.7 36.4 36.4 0 0 0-52.8 8c-3.6 4.7-6.2 10-9.2 15l-24 41.6a17 17 0 0 0-.9 2.4l3.7.2 64.2.3a86.7 86.7 0 0 1 24.3 3.4 102.6 102.6 0 0 1 50 32.1 100.7 100.7 0 0 1 23 48l1.9 10.8ZM261.5 102.9a37.2 37.2 0 0 0-4-17c-7-13.4-17.8-21.3-33.2-21.4-13.3 0-24 5.8-31.5 16.7a34.9 34.9 0 0 0-2.3 38.2c7.6 14.2 16 28 24.2 42a9.8 9.8 0 0 1 1 8.7l-12.4 37.7a9.1 9.1 0 0 0 0 2.9 9.3 9.3 0 0 0 2.2-2c2.5-4 4.8-8.2 7.2-12.4l42-72.5c3.9-6.5 7-13.2 6.8-21Zm-.2 278.7a30.6 30.6 0 0 0-4-16c-8.3-14.8-16.9-29.5-25.4-44.2a6 6 0 0 1-.5-5.5l13.1-39.5a6.6 6.6 0 0 0-.2-2.5c-.6.5-1.5.9-1.9 1.5l-20 34.5-29.6 51.2a42.3 42.3 0 0 0-6.5 19.7 35 35 0 0 0 13 29.8 37.3 37.3 0 0 0 62-29Zm-94.2-172-1.4-2.9-27.7-48a54 54 0 0 0-11.5-15.4c-20.4-17-48.8-7-58.2 13.3-12 25.8 9.4 53.5 34 53.2 20.4-.2 41 0 61.4 0l3.4-.3ZM280.7 275a22.1 22.1 0 0 0 .9 2.2c10.4 18 20.7 36 31.3 54a35.5 35.5 0 0 0 29.4 18.6 37.7 37.7 0 0 0 39.9-43.7 37.9 37.9 0 0 0-36-31.2h-65.5Z"/>
7
- </svg>,
8
- 'StreamSuite'
9
- )
10
-
11
- export const LearningPoolLogo = createSvgIcon(
12
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 804 174">
13
- <path fill="#0069B4" d="M155.5 0A44 44 0 0 0 121 16.5l-1 1.2-1.2-1a72.5 72.5 0 1 0-46.4 128.1 72.8 72.8 0 0 0 70.7-56.6l.4-1.5 1.5.4a44.2 44.2 0 0 0 44.8-15 44.2 44.2 0 0 0 5.6-47 44.2 44.2 0 0 0-40-25.1zM113 115.2H72.4a42.9 42.9 0 1 1 29.2-11.5l11.4 11.5zm42.5-47.8h-22l6.1-6.2a23.2 23.2 0 1 1 15.9 6.2zm56.2-8.5h14v84h-14zm76 54.3a31.1 31.1 0 0 0-7.5-21.1 29.2 29.2 0 0 0-40.7.2 31.8 31.8 0 0 0-7.8 22 31.2 31.2 0 0 0 7.9 22.2 27.8 27.8 0 0 0 20.9 8.3c2.8 0 5.6-.3 8.4-1a24 24 0 0 0 7.3-3 28.4 28.4 0 0 0 6.3-5.1c1.7-2 3.3-4 4.7-6.2l-12.7-7a28 28 0 0 1-6 6.9 12.3 12.3 0 0 1-7.4 2.1 13 13 0 0 1-9.6-3.7 15.6 15.6 0 0 1-4-9.1v-.4h40.1v-5.1zm-41.7-5.3.3-1.1a16.8 16.8 0 0 1 2-4.6 14 14 0 0 1 3-3.5 13.3 13.3 0 0 1 4.1-2.2 14.5 14.5 0 0 1 4.8-.8c6.8-.4 12.8 4.4 14 11l.3 1.2H246zm90.4-22.4V91a24.2 24.2 0 0 0-16.9-7.2 24.9 24.9 0 0 0-19.2 8.6 30.7 30.7 0 0 0-7.7 21.2 31.7 31.7 0 0 0 7.7 21.6 25.4 25.4 0 0 0 19.6 8.5 25 25 0 0 0 16.5-6.7v5.1h14.2V85.5h-14.2zm-3.6 41a14.3 14.3 0 0 1-11.1 4.7 13.5 13.5 0 0 1-10.6-4.9 18.9 18.9 0 0 1-4.1-12.6 18 18 0 0 1 4.1-12.2 13.8 13.8 0 0 1 10.9-4.8 14 14 0 0 1 10.8 4.8A18.3 18.3 0 0 1 337 114a18.5 18.5 0 0 1-4.3 12.5zm61.7-38.9-6.3 13-.6-.4a11.3 11.3 0 0 0-6.6-2.5c-6.5 0-9.7 5-9.7 15.4v29.7h-13.7V85.5h13.7v4a23.9 23.9 0 0 1 5.3-4.1 14.6 14.6 0 0 1 6.7-1.5 20.7 20.7 0 0 1 10.7 3.4l.5.3zm53 20.2v35H433v-32a19.7 19.7 0 0 0-2.2-11 8.8 8.8 0 0 0-7.8-3 9.4 9.4 0 0 0-8.7 4 28.9 28.9 0 0 0-2.6 14.3v27.7h-14.3V85.5h14.3v4.4a21.8 21.8 0 0 1 14.9-6 20.3 20.3 0 0 1 15.8 6.4c3.3 3.6 5 9.5 5 17.5m22.9-40a8.7 8.7 0 0 1-2.7 6.4 8.5 8.5 0 0 1-6.3 2.7 9 9 0 0 1-6.4-2.6 9 9 0 0 1-2.6-6.4 8.5 8.5 0 0 1 2.7-6.3 8.6 8.6 0 0 1 6.3-2.7 8.7 8.7 0 0 1 6.3 2.7 8.5 8.5 0 0 1 2.7 6.3m-16 18h14v57h-14zm71 22v35H511v-32a19.7 19.7 0 0 0-2.2-11.1 8.8 8.8 0 0 0-7.8-3 9.4 9.4 0 0 0-8.7 4 28.9 28.9 0 0 0-2.5 14.3v27.7h-14.4V85.5h14.4v4.4a21.8 21.8 0 0 1 14.8-6 20.2 20.2 0 0 1 15.8 6.4c3.3 3.6 5 9.5 5 17.5M574 85.4v5.4a23 23 0 0 0-16.9-6.9 24.4 24.4 0 0 0-19.9 9.3 32.9 32.9 0 0 0-7 21 31.2 31.2 0 0 0 7.6 21.3 25.1 25.1 0 0 0 17.8 8.5 25.2 25.2 0 0 0 18.4-7v6.3c0 11.2-4.4 16.7-13.5 16.7a13.4 13.4 0 0 1-11.2-5 14.2 14.2 0 0 1-2.4-6v-.6h-14.2v.7a25.2 25.2 0 0 0 8.8 17.5 28.4 28.4 0 0 0 19 6.2 26.9 26.9 0 0 0 21.3-9 24.1 24.1 0 0 0 5.4-11 51.2 51.2 0 0 0 .7-5.4c.2-2 .3-4.4.3-7v-55H574zm-3.3 40.6a13.6 13.6 0 0 1-11.2 5 13.6 13.6 0 0 1-11.1-5 18.9 18.9 0 0 1-3.7-12 19.1 19.1 0 0 1 3.7-12.3 13.3 13.3 0 0 1 11-5.1 13.9 13.9 0 0 1 11 4.7 18 18 0 0 1 4.1 12.6 18.6 18.6 0 0 1-3.8 12zm73.7-33.4a24.8 24.8 0 0 0-19.5-8.7 24.4 24.4 0 0 0-16.7 6.8v-5.2h-14v87.3h14V137a24.4 24.4 0 0 0 17 7 24.9 24.9 0 0 0 19.2-8.5 30.9 30.9 0 0 0 7.7-21.3 31.3 31.3 0 0 0-7.7-21.6m-32.5 8.8a14.3 14.3 0 0 1 11-4.7 13.5 13.5 0 0 1 10.7 5 18.6 18.6 0 0 1 4.1 12.5 17.8 17.8 0 0 1-4.3 12.3 13.5 13.5 0 0 1-10.6 4.8 14 14 0 0 1-11-4.8 18.4 18.4 0 0 1-4.2-12.5 18.2 18.2 0 0 1 4.2-12.6m97.4-7.9a31.3 31.3 0 0 0-43.2 0 28.3 28.3 0 0 0-9 21 29.4 29.4 0 0 0 9 21.5 29.3 29.3 0 0 0 21.5 8.8 30.4 30.4 0 0 0 21.9-8.6A28.8 28.8 0 0 0 718 115a29 29 0 0 0-8.8-21.4m-10 34a16.9 16.9 0 0 1-23.3 0 18.1 18.1 0 0 1-4.4-12.8 17.2 17.2 0 0 1 4.5-12.3 15.1 15.1 0 0 1 11.5-4.7c4.4-.1 8.7 1.6 11.7 4.7a17.7 17.7 0 0 1 4.4 12.6 17.7 17.7 0 0 1-4.4 12.5m75-35a31.3 31.3 0 0 0-43.3 0 28.2 28.2 0 0 0-8.9 21 29.4 29.4 0 0 0 8.7 21.5 29.3 29.3 0 0 0 21.5 8.8 30.4 30.4 0 0 0 21.9-8.6 28.8 28.8 0 0 0 8.8-21.4 29 29 0 0 0-8.8-21.3m-10 34a16.8 16.8 0 0 1-23.3 0 18.2 18.2 0 0 1-4.3-12.8 17.2 17.2 0 0 1 4.5-12.3 15.1 15.1 0 0 1 11.6-4.7 15.3 15.3 0 0 1 11.6 4.7 17.7 17.7 0 0 1 4.4 12.6 17.7 17.7 0 0 1-4.4 12.5M790 59h14v84h-14z"/>
14
- </svg>,
15
- 'LearningPool'
16
- )
17
-
18
- export const NotchSVG = createSvgIcon(
19
- <svg className='notch-svg'>
20
- <clipPath id='notch' clipPathUnits='objectBoundingBox'>
21
- <path d='M1,0 H0 v1 h1 v-0.105 c-0.017,-0.074,-0.109,-0.132,-0.168,-0.146 l-0.008,-0.002 a0.5,0.265,0,0,1,0.006,-0.493 c0.062,-0.015,0.16,-0.079,0.169,-0.158 V0'></path>
22
- </clipPath>
23
- </svg>,
24
- 'Notch'
25
- )
26
-
27
- export const NotchMiniSVG = createSvgIcon(
28
- <svg className='notch-mini-svg' width="100%" height="100%" viewBox="0 0 15 26">
29
- <path d="M15 13.09c0 4.456-3.358 8.069-7.5 8.069-4.142 0-7.5-3.613-7.5-8.07 0-4.456 3.358-8.068 7.5-8.068 4.142 0 7.5 3.612 7.5 8.069Z"/>
30
- <path d="M7.333 26c.167-2.869-1.666-5.2-2.666-5.559H10L7.333 26ZM7.333 0C7.5 2.869 5.667 5.2 4.667 5.559H10L7.333 0Z"/>
31
- </svg>,
32
- 'NotchMini'
33
- )
34
-
35
- export const NotchExtendSVG = createSvgIcon(
36
- <svg className='notch-extend-svg' viewBox="0 0 22 85" xmlns="http://www.w3.org/2000/svg">
37
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 0V85V76.0381C0.774 69.7533 4.9101 64.7829 7.5488 63.5975C7.668 63.5518 7.7867 63.5052 7.9049 63.4576C16.1679 60.1279 22 52.035 22 42.5799C22 33.1612 16.2126 25.0941 8 21.7408C7.8723 21.6887 7.7441 21.6377 7.6153 21.5879C4.8325 20.3142 0.4173 14.8748 0 8.13255V0Z" />
38
- </svg>,
39
- 'NotchExtend'
40
- )
41
-
42
- export const NotchBackgroundSVG = createSvgIcon(
43
- <svg className='notch-background-svg' viewBox="0 0 25 865" xmlns="http://www.w3.org/2000/svg">
44
- <path fill="#fff" fill-rule="evenodd" clip-rule="evenodd" d="M25 0H0V865H25V468.5V466.451C24.6432 460.704 21.3624 455.984 18.6792 453.948C9.58731 451.059 3 442.549 3 432.5C3 422.927 8.97844 414.75 17.4054 411.5H17C19.7393 410.587 24.563 405.088 25 398.049V396V0Z" />
45
- </svg>,
46
- 'NotchBackground'
47
- )
@@ -1,38 +0,0 @@
1
- <svg width="199" height="203" viewBox="0 0 199 203" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_121_40535" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="48" y="0" width="116" height="118">
3
- <path d="M89.5 117.5L48 39L121.5 0L163.5 80.5L89.5 117.5Z" fill="#C4C4C4"/>
4
- </mask>
5
- <g mask="url(#mask0_121_40535)">
6
- <path d="M108.125 153.152C102.068 159.877 89.0204 158.715 87.568 142.649L68.767 156.377C76.068 175.816 94.7604 182.131 111.068 177.877C125.876 174.014 135.647 154.052 136.129 142.649C119.538 111.259 108.763 91.4168 101.777 78.8767L96.568 86.8768L99.8756 77.6227C99.8756 77.6227 91.8756 63.2484 89.0204 57.3658C87.3756 53.2484 88.1993 44.834 95.8652 42.2199C108.978 37.7484 115.068 52.3768 115.068 57.3658L134.068 44.8767C123.068 19.8767 101.068 14.8768 81.5378 25.3461C63.304 37.0947 68.767 60.8729 68.767 60.8729C68.767 60.8729 87.9054 95.4522 100.876 120.543L106.876 110.623L102.461 123.623C108.526 135.459 112.867 144.593 112.532 145.884C111.484 149.926 109.158 152.414 108.125 153.152Z" fill="#ffffff"/>
7
- </g>
8
- <mask id="mask1_121_40535" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="80" y="30" width="119" height="78">
9
- <path d="M102 108L80 89.5L126.5 30L174 46.5L198.5 92.5L102 108Z" fill="#C4C4C4"/>
10
- </mask>
11
- <g mask="url(#mask1_121_40535)">
12
- <path d="M55.1406 132.916C51.2692 130.98 46.461 124.361 50.2358 113.058C50.4347 112.462 50.0652 111.819 49.4542 111.673C43.1861 110.181 37.8988 105.621 35.7147 103.51C35.1945 103.007 34.3076 103.162 34.0259 103.829C26.2326 122.27 28.1933 138.968 42.333 150.67C53.8428 160.195 72.0471 158.202 82.0981 152.798C82.2541 152.714 82.3854 152.583 82.4764 152.431C130.828 71.6707 128.143 72.0377 130.833 68.1699C133.009 65.0415 140.533 61.7699 147.333 66.1699C154.935 71.8856 152.231 80.571 150.568 85.3253C150.352 85.9426 150.778 86.5921 151.427 86.6735C160.247 87.7801 165.695 92.6631 167.817 94.9634C168.315 95.5037 169.232 95.4325 169.544 94.7665C174.558 84.0309 178.382 57.5911 155.641 45.4159C137.009 36.339 119.01 51.2295 117.443 52.574L117.434 52.582C117.36 52.6459 117.335 52.6673 117.283 52.7573C115.585 55.7185 71.2564 132.993 67.333 134.17C62.1406 135.728 59.1406 134.916 55.1406 132.916Z" fill="#ffffff"/>
13
- </g>
14
- <mask id="mask2_121_40535" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="97" y="79" width="85" height="84">
15
- <path d="M97 163V79H182V163H97Z" fill="#C4C4C4"/>
16
- </mask>
17
- <g mask="url(#mask2_121_40535)">
18
- <path d="M151.697 119.826C154.719 128.357 144.861 139.052 130.048 132.667L133.548 155.667C155.821 160.167 170.547 149.167 174.832 129.03C179.547 100.167 157.24 90.2953 151.047 90.1669C144.855 90.0385 58.3942 90.9357 58.3942 90.9357C54.8906 89.8938 48.1891 83.6516 49.5475 75.6669C52.0641 60.8736 69.1624 64.7876 73.5475 67.1669C64.855 57.4129 70.855 46.4129 68.9009 45.385C39.355 43.4129 24.855 63.4129 26.682 82.242C28.355 100.185 48.355 109.413 51.8177 110.41C59.855 113.913 141.855 107.413 147.41 112.486C150.464 115.334 151.54 118.566 151.697 119.826Z" fill="#ffffff"/>
19
- </g>
20
- <mask id="mask3_121_40535" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="43" y="85" width="116" height="118">
21
- <path d="M84.5 202.5L43 124L116.5 85L158.5 165.5L84.5 202.5Z" fill="#C4C4C4"/>
22
- </mask>
23
- <g mask="url(#mask3_121_40535)">
24
- <path d="M108.125 154.152C102.068 160.877 89.0204 159.715 87.568 143.649L68.767 157.377C76.068 176.816 94.7604 183.131 111.068 178.877C125.876 175.014 135.647 155.052 136.129 143.649C119.538 112.259 108.763 92.4168 101.777 79.8767L96.568 87.8768L99.8756 78.6227C99.8756 78.6227 91.8756 64.2484 89.0204 58.3658C87.3756 54.2484 88.1993 45.834 95.8652 43.2199C108.978 38.7484 115.068 53.3768 115.068 58.3658L134.068 45.8767C123.068 20.8767 101.068 15.8768 81.5378 26.3461C63.304 38.0947 68.767 61.8729 68.767 61.8729C68.767 61.8729 87.9054 96.4522 100.876 121.543L106.876 111.623L102.461 124.623C108.526 136.459 112.867 145.593 112.532 146.884C111.484 150.926 109.158 153.414 108.125 154.152Z" fill="#ffffff"/>
25
- </g>
26
- <mask id="mask4_121_40535" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="88" width="119" height="78">
27
- <path d="M96.5 88L118.5 106.5L72 166L24.5 149.5L0 103.5L96.5 88Z" fill="#C4C4C4"/>
28
- </mask>
29
- <g mask="url(#mask4_121_40535)">
30
- <path d="M55.1406 132.916C51.2692 130.98 46.461 124.361 50.2358 113.058C50.4347 112.462 50.0652 111.819 49.4542 111.673C43.1861 110.181 37.8988 105.621 35.7147 103.51C35.1945 103.007 34.3076 103.162 34.0259 103.829C26.2326 122.27 28.1933 138.968 42.333 150.67C53.8428 160.195 72.0471 158.202 82.0981 152.798C82.2541 152.714 82.3854 152.583 82.4764 152.431C130.828 71.6707 128.143 72.0377 130.833 68.1699C133.009 65.0415 140.533 61.7699 147.333 66.1699C154.935 71.8856 152.231 80.571 150.568 85.3253C150.352 85.9426 150.778 86.5921 151.427 86.6735C160.247 87.7801 165.695 92.6631 167.817 94.9634C168.315 95.5037 169.232 95.4325 169.544 94.7665C174.558 84.0309 178.382 57.5911 155.641 45.4159C137.009 36.339 119.01 51.2295 117.443 52.574L117.434 52.582C117.36 52.6459 117.335 52.6673 117.283 52.7573C115.585 55.7185 71.2564 132.993 67.333 134.17C62.1406 135.728 59.1406 134.916 55.1406 132.916Z" fill="#ffffff"/>
31
- </g>
32
- <mask id="mask5_121_40535" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="16" y="43" width="85" height="84">
33
- <path d="M16 127V43H101V127H16Z" fill="#C4C4C4"/>
34
- </mask>
35
- <g mask="url(#mask5_121_40535)">
36
- <path d="M151.697 119.826C154.719 128.357 144.861 139.052 130.048 132.667L133.548 155.667C155.821 160.167 170.547 149.167 174.832 129.03C179.547 100.167 157.24 90.2953 151.047 90.1669C144.855 90.0385 58.3942 90.9357 58.3942 90.9357C54.8906 89.8938 48.1891 83.6516 49.5475 75.6669C52.0641 60.8736 69.1624 64.7876 73.5475 67.1669C64.855 57.4129 70.855 46.4129 68.9009 45.385C39.355 43.4129 24.855 63.4129 26.682 82.242C28.355 100.185 48.355 109.413 51.8177 110.41C59.855 113.913 141.855 107.413 147.41 112.486C150.464 115.334 151.54 118.566 151.697 119.826Z" fill="#ffffff"/>
37
- </g>
38
- </svg>
@@ -1,179 +0,0 @@
1
- import React from 'react'
2
- import { cleanup, render, screen } from '@testing-library/react'
3
- import userEvent from '@testing-library/user-event'
4
- import Autocomplete from './Autocomplete'
5
- import TextField from '../TextField/TextField'
6
-
7
- const testData = ['One', 'Two', 'Three']
8
-
9
- // Note: running cleanup afterEach is done automatically for you in @testing-library/react@9.0.0 or higher
10
- // unmount and cleanup DOM after the test is finished.
11
- afterEach(cleanup)
12
-
13
- describe('Test -- Autocomplete component', () => {
14
- it('renders a Autocomplete', () => {
15
- render(
16
- <Autocomplete
17
- renderInput={(params) => <TextField {...params} label="Label" />}
18
- id="combo-box-demo"
19
- options={testData}
20
- sx={{ width: 300 }}
21
- />
22
- )
23
-
24
- expect(screen.getByRole('combobox')).toMatchInlineSnapshot(`
25
- <input
26
- aria-autocomplete="list"
27
- aria-expanded="false"
28
- aria-invalid="false"
29
- autocapitalize="none"
30
- autocomplete="off"
31
- class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-nxo287-MuiInputBase-input-MuiOutlinedInput-input"
32
- id="combo-box-demo"
33
- role="combobox"
34
- spellcheck="false"
35
- type="text"
36
- value=""
37
- />
38
- `)
39
- })
40
-
41
- it('responds to a click event', () => {
42
- const mockCallBack = jest.fn()
43
- render(
44
- <Autocomplete
45
- renderInput={(params) => (
46
- <TextField {...params} label="Label" onClick={mockCallBack} />
47
- )}
48
- id="combo-box-demo"
49
- options={testData}
50
- sx={{ width: 300 }}
51
- />
52
- )
53
-
54
- userEvent.click(screen.getByLabelText('Label'))
55
- expect(mockCallBack.mock.calls.length).toEqual(1)
56
- })
57
-
58
- it('properly renders the options on click', () => {
59
- render(
60
- <Autocomplete
61
- renderInput={(params) => <TextField {...params} label="Label" />}
62
- id="combo-box-demo"
63
- options={testData}
64
- sx={{ width: 300 }}
65
- />
66
- )
67
-
68
- // Check that the options are not rendered
69
- expect(screen.queryByText('One')).toBeNull()
70
-
71
- // Click on the input and check that the options are rendered
72
- userEvent.click(screen.getByLabelText('Label'))
73
- expect(screen.getByText('One')).toBeInTheDocument()
74
- })
75
-
76
- it('properly renders the options on focus', () => {
77
- render(
78
- <Autocomplete
79
- openOnFocus
80
- renderInput={(params) => <TextField {...params} label="Label" />}
81
- id="combo-box-demo"
82
- options={testData}
83
- sx={{ width: 300 }}
84
- />
85
- )
86
-
87
- // Check that the options are not rendered
88
- expect(screen.queryByText('One')).toBeNull()
89
-
90
- // Tab to set focus and check that the options are rendered
91
- userEvent.tab()
92
- expect(screen.getByText('One')).toBeInTheDocument()
93
- })
94
-
95
- it('displays a default value', () => {
96
- render(
97
- <Autocomplete
98
- defaultValue={['test']}
99
- // Prevents the console.warn
100
- // https://stackoverflow.com/questions/61947941/material-ui-autocomplete-warning-the-value-provided-to-autocomplete-is-invalid#answer-65347275
101
- isOptionEqualToValue={(option, value) => option.id === value.id}
102
- getOptionLabel={() => 'test'}
103
- renderInput={(params) => <TextField {...params} label="Label" />}
104
- id="combo-box-demo"
105
- options={['test']}
106
- sx={{ width: 300 }}
107
- />
108
- )
109
-
110
- expect(screen.getByLabelText('Label')).toHaveValue('test')
111
- expect(screen.getByLabelText('Label')).toBeVisible()
112
- })
113
-
114
- it('displays the label text', () => {
115
- render(
116
- <Autocomplete
117
- getOptionLabel={(option) => option}
118
- renderInput={(params) => <TextField {...params} label="Label" />}
119
- id="combo-box-demo"
120
- options={testData}
121
- sx={{ width: 300 }}
122
- />
123
- )
124
-
125
- expect(screen.getByLabelText('Label')).toBeVisible()
126
- })
127
-
128
- it.skip('has the proper attributes', () => {
129
- // Need to revisit this as the selection for the input
130
- // is not correct - role and aria-expanded are checking
131
- // an incorrect element
132
- render(
133
- <Autocomplete
134
- data-testid="AutocompleteTest"
135
- renderInput={(params) => <TextField {...params} label="Label" />}
136
- id="combo-box-demo"
137
- options={testData}
138
- sx={{ width: 300 }}
139
- />
140
- )
141
-
142
- // Check the default container attributes
143
- expect(screen.getByTestId('AutocompleteTest')).toHaveAttribute(
144
- 'role',
145
- 'combobox'
146
- )
147
- expect(screen.getByTestId('AutocompleteTest')).toHaveAttribute(
148
- 'aria-expanded',
149
- 'false'
150
- )
151
-
152
- // Check the default input attributes
153
- expect(screen.getByLabelText('Label')).toHaveAttribute(
154
- 'aria-invalid',
155
- 'false'
156
- )
157
- expect(screen.getByLabelText('Label')).toHaveAttribute(
158
- 'aria-autocomplete',
159
- 'list'
160
- )
161
- expect(screen.getByLabelText('Label')).toHaveAttribute(
162
- 'autocomplete',
163
- 'off'
164
- )
165
-
166
- // Click the input
167
- userEvent.click(screen.getByLabelText('Label'))
168
-
169
- // Check the expanded container attributes
170
- expect(screen.getByTestId('AutocompleteTest')).toHaveAttribute(
171
- 'aria-expanded',
172
- 'true'
173
- )
174
- expect(screen.getByTestId('AutocompleteTest')).toHaveAttribute(
175
- 'aria-owns',
176
- 'combo-box-demo-listbox'
177
- )
178
- })
179
- })
@@ -1,14 +0,0 @@
1
- import React from 'react'
2
- import MUIAutocomplete, { AutocompleteProps } from '@mui/material/Autocomplete'
3
-
4
- interface IAutocompleteProps extends AutocompleteProps<any, true, true, true, 'div'> {}
5
-
6
- const Autocomplete = (
7
- props: IAutocompleteProps
8
- ): JSX.Element => {
9
- return (
10
- <MUIAutocomplete {...props} />
11
- )
12
- }
13
-
14
- export default Autocomplete
@@ -1,166 +0,0 @@
1
- import React from 'react'
2
- import { cleanup, render, screen } from '@testing-library/react'
3
- import userEvent from '@testing-library/user-event'
4
- import Button from './Button'
5
- // import AllCombinations from "./AllCombinations";
6
- import DeleteIcon from '@mui/icons-material/Delete'
7
-
8
- /*
9
-
10
- 1. Displays a label
11
- 2. Conforms to accessibility
12
- 3. (multiple tests) renders differently based on props
13
- a. Renders button with startIcon
14
- b. Renders button with endIcon
15
- 4. Calls a function onClick
16
-
17
- */
18
-
19
- // Note: running cleanup afterEach is done automatically for you in @testing-library/react@9.0.0 or higher
20
- // unmount and cleanup DOM after the test is finished.
21
- afterEach(cleanup)
22
-
23
- describe('Test -- Button component', () => {
24
- it('renders button text', () => {
25
- render(<Button>Button</Button>)
26
-
27
- expect(screen.getByText(/Button/i)).toMatchInlineSnapshot(`
28
- <button
29
- class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-disableElevation css-zddlty-MuiButtonBase-root-MuiButton-root"
30
- tabindex="0"
31
- type="button"
32
- >
33
- Button
34
- <span
35
- class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
36
- />
37
- </button>
38
- `)
39
- })
40
-
41
- it('renders button with startIcon', () => {
42
- render(
43
- <Button data-testid="Button" startIcon={<DeleteIcon />}>
44
- Button
45
- </Button>
46
- )
47
-
48
- expect(screen.getByTestId('Button')).toMatchInlineSnapshot(`
49
- <button
50
- class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-disableElevation css-zddlty-MuiButtonBase-root-MuiButton-root"
51
- data-testid="Button"
52
- tabindex="0"
53
- type="button"
54
- >
55
- <span
56
- class="MuiButton-startIcon MuiButton-iconSizeMedium css-1d6wzja-MuiButton-startIcon"
57
- >
58
- <svg
59
- aria-hidden="true"
60
- class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
61
- data-testid="DeleteIcon"
62
- focusable="false"
63
- viewBox="0 0 24 24"
64
- >
65
- <path
66
- d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
67
- />
68
- </svg>
69
- </span>
70
- Button
71
- <span
72
- class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
73
- />
74
- </button>
75
- `)
76
- })
77
-
78
- it('responds to a click event', () => {
79
- const mockCallBack = jest.fn()
80
- render(
81
- <Button data-testid="Button" onClick={mockCallBack}>
82
- Ok!
83
- </Button>
84
- )
85
-
86
- userEvent.click(screen.getByTestId('Button'))
87
-
88
- expect(mockCallBack.mock.calls.length).toEqual(1)
89
- })
90
-
91
- it('has the proper aria attributes', () => {
92
- const { rerender } = render(<Button>Hello</Button>)
93
-
94
- // button has role="button"
95
- let button = screen.getByRole('button')
96
- expect(button).not.toHaveAttribute('aria-disabled')
97
-
98
- // isLoading sets aria-disabled="true"
99
- // rerender(<Button isLoading>Hello</Button>)
100
- // button = screen.getByRole("button")
101
- // expect(button).toHaveAttribute("data-loading", "")
102
-
103
- // isDisabled sets aria-disabled="true"
104
- rerender(<Button disabled>Hello</Button>)
105
- button = screen.getByRole('button')
106
- expect(button).toHaveAttribute('disabled', '')
107
- })
108
-
109
- it('has the proper type attribute', () => {
110
- const { rerender } = render(<Button data-testid="btn">Email</Button>)
111
- expect(screen.getByTestId('btn')).toHaveAttribute('type', 'button')
112
-
113
- rerender(
114
- <Button data-testid="btn" type="submit">
115
- Email
116
- </Button>
117
- )
118
- expect(screen.getByTestId('btn')).toHaveAttribute('type', 'submit')
119
-
120
- rerender(
121
- <Button data-testid="btn" component="button">
122
- Email
123
- </Button>
124
- )
125
- expect(screen.getByTestId('btn')).toMatchInlineSnapshot(`
126
- <button
127
- class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-disableElevation css-zddlty-MuiButtonBase-root-MuiButton-root"
128
- data-testid="btn"
129
- tabindex="0"
130
- type="button"
131
- >
132
- Email
133
- <span
134
- class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
135
- />
136
- </button>
137
- `)
138
- expect(screen.getByTestId('btn')).toHaveAttribute('type')
139
-
140
- rerender(
141
- <Button data-testid="btn" component="span">
142
- Email
143
- </Button>
144
- )
145
- expect(screen.getByTestId('btn')).not.toHaveAttribute('type')
146
- })
147
-
148
- it('should be disabled', () => {
149
- render(
150
- <Button disabled data-testid="btn">
151
- I'm a invalid button
152
- </Button>
153
- )
154
- const button = screen.getByRole('button')
155
- expect(button).toBeDisabled()
156
- })
157
-
158
- it('should take up full width', () => {
159
- render(
160
- <Button fullWidth data-testid="btn">
161
- i'm a big button
162
- </Button>
163
- )
164
- expect(screen.getByRole('button')).toHaveStyle('width: 100%')
165
- })
166
- })
@@ -1,16 +0,0 @@
1
- import React from 'react'
2
- import MUIButton, { ButtonProps } from '@mui/material/Button'
3
-
4
- const Button = React.forwardRef((
5
- props: ButtonProps,
6
- ref: React.Ref<HTMLButtonElement>
7
- ): JSX.Element => (
8
- <MUIButton
9
- disableElevation
10
- variant='contained'
11
- {...props}
12
- ref={ref}
13
- />
14
- ))
15
-
16
- export default Button