@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
@@ -2,7 +2,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
2
2
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
3
  return cooked;
4
4
  };
5
- import { List, ListItem, ListItemButton as SSListItemButton, Paper, Typography } from '../../../../index';
5
+ import { List, ListItem, ListItemButton as SSListItemButton, Paper, Typography, ListItemText } from '../../../../index';
6
6
  import { styled } from '@mui/material/styles';
7
7
  import { NotchMiniSVG } from '../../../../assets/Images';
8
8
  export var DRAWER_WIDTH = {
@@ -11,7 +11,7 @@ export var DRAWER_WIDTH = {
11
11
  };
12
12
  export var FlyoutMenuPaper = styled(Paper, {
13
13
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen' && prop !== 'open' && prop !== 'anchorEl'; }
14
- })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: transparent none;\n box-shadow: none;\n left: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n /* Check against height of browser should be top or bottom positioned */\n top: ", ";\n min-width: 200px;\n z-index: 2;\n"], ["\n background: transparent none;\n box-shadow: none;\n left: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n /* Check against height of browser should be top or bottom positioned */\n top: ", ";\n min-width: 200px;\n z-index: 2;\n"])), function (props) { return props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded, "px") : "".concat(DRAWER_WIDTH.Collapsed - 3, "px"); }, function (props) { return props.open ? 'auto' : 'none'; }, function (props) { return props.anchorEl
14
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: transparent none;\n box-shadow: none;\n left: ", ";\n right: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n /* Check against height of browser should be top or bottom positioned */\n top: ", ";\n min-width: 200px;\n z-index: 2;\n"], ["\n background: transparent none;\n box-shadow: none;\n left: ", ";\n right: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n /* Check against height of browser should be top or bottom positioned */\n top: ", ";\n min-width: 200px;\n z-index: 2;\n"])), function (props) { return props.theme.direction === 'ltr' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded, "px") : "".concat(DRAWER_WIDTH.Collapsed - 3, "px") : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded, "px") : "".concat(DRAWER_WIDTH.Collapsed - 3, "px") : 'auto'; }, function (props) { return props.open ? 'auto' : 'none'; }, function (props) { return props.anchorEl
15
15
  ? "".concat(props.anchorEl.getBoundingClientRect().top, "px")
16
16
  : 'auto'; });
17
17
  export var FlyoutMenuWrap = styled('div', {
@@ -26,11 +26,12 @@ export var FlyoutMenuWrap = styled('div', {
26
26
  export var FlyoutMenuList = styled(List, {
27
27
  shouldForwardProp: function (prop) { return prop !== 'open'; }
28
28
  })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: ", ";\n pointer-events: ", ";\n"], ["\n padding: ", ";\n pointer-events: ", ";\n"])), function (props) { return props.theme.spacing(1, 2); }, function (props) { return props.open ? 'auto' : 'none'; });
29
- export var FlyoutMenuHeader = styled(Typography)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-weight: bold;\n padding: 12px ", " 0 ", ";\n"], ["\n font-weight: bold;\n padding: 12px ", " 0 ", ";\n"])), function (props) { return props.theme.spacing(2); }, function (props) { return props.theme.spacing(3); });
30
- export var FlyoutMenuItem = styled(ListItem)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: 14px;\n padding: 0;\n white-space: normal;\n background: transparent !important;\n"], ["\n font-size: 14px;\n padding: 0;\n white-space: normal;\n background: transparent !important;\n"])));
29
+ export var FlyoutMenuHeader = styled(Typography)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-weight: bold;\n padding: 12px 0 0;\n padding-inline-end: ", ";\n padding-inline-start: ", ";\n text-align: ", ";\n"], ["\n font-weight: bold;\n padding: 12px 0 0;\n padding-inline-end: ", ";\n padding-inline-start: ", ";\n text-align: ", ";\n"])), function (props) { return props.theme.spacing(2); }, function (props) { return props.theme.spacing(3); }, function (props) { return props.theme.direction === 'ltr' ? 'left' : 'right'; });
30
+ export var FlyoutMenuItem = styled(ListItem)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background: transparent !important;\n font-size: 14px;\n padding: 0;\n white-space: normal;\n"], ["\n background: transparent !important;\n font-size: 14px;\n padding: 0;\n white-space: normal;\n"])));
31
+ export var FlyoutMenuItemText = styled(ListItemText)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n text-align: ", ";\n"], ["\n text-align: ", ";\n"])), function (props) { return props.theme.direction === 'ltr' ? 'left' : 'right'; });
31
32
  export var FlyoutMenuButton = styled(SSListItemButton, {
32
33
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen' && prop !== 'isExpanded'; }
33
- })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: flex-start;\n background-color: transparent;\n color: ", ";\n border-radius: 5px;\n display: flex;\n flex-wrap: wrap;\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", ";\n padding: ", ";\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n left: 5px;\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: rgba(0, 0, 0, .05);\n }\n\n :focus {\n background-color: ", ";\n }\n"], ["\n align-items: flex-start;\n background-color: transparent;\n color: ", ";\n border-radius: 5px;\n display: flex;\n flex-wrap: wrap;\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", ";\n padding: ", ";\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n left: 5px;\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: rgba(0, 0, 0, .05);\n }\n\n :focus {\n background-color: ", ";\n }\n"
34
+ })(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: flex-start;\n background-color: transparent;\n color: ", ";\n border-radius: 5px;\n display: flex;\n flex-wrap: wrap;\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", ";\n padding: ", ";\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n left: ", ";\n right: ", ";\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: rgba(0, 0, 0, .05);\n }\n\n :focus {\n background-color: ", ";\n }\n"], ["\n align-items: flex-start;\n background-color: transparent;\n color: ", ";\n border-radius: 5px;\n display: flex;\n flex-wrap: wrap;\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", ";\n padding: ", ";\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n left: ", ";\n right: ", ";\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: rgba(0, 0, 0, .05);\n }\n\n :focus {\n background-color: ", ";\n }\n"
34
35
  // FullHeight
35
36
  ])), function (props) {
36
37
  return props.theme.palette.mode === 'dark'
@@ -40,7 +41,7 @@ export var FlyoutMenuButton = styled(SSListItemButton, {
40
41
  return props.theme.palette.mode === 'dark'
41
42
  ? 'rgba(255, 255, 255, 0.5)'
42
43
  : props.theme.palette.primary.main;
43
- }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) {
44
+ }, function (props) { return props.theme.direction === 'ltr' ? '5px' : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? '5px' : 'auto'; }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) {
44
45
  return props.theme.palette.mode === 'dark'
45
46
  ? props.theme.palette.primary.dark
46
47
  : '#E6EAF0';
@@ -48,22 +49,22 @@ export var FlyoutMenuButton = styled(SSListItemButton, {
48
49
  // FullHeight
49
50
  export var FullHeightFlyoutMenuPaper = styled(Paper, {
50
51
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen' && prop !== 'open'; }
51
- })(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background: transparent none;\n box-shadow: none;\n color: ", ";\n height: 100%;\n left: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n top: 0;\n transition: ", ";\n z-index: 1;\n"], ["\n background: transparent none;\n box-shadow: none;\n color: ", ";\n height: 100%;\n left: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n top: 0;\n transition: ", ";\n z-index: 1;\n"])), function (props) { return props.theme.palette.mode === 'dark'
52
+ })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background: transparent none;\n box-shadow: none;\n color: ", ";\n height: 100%;\n left: ", ";\n right: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n top: 0;\n transition: ", ";\n z-index: 1;\n"], ["\n background: transparent none;\n box-shadow: none;\n color: ", ";\n height: 100%;\n left: ", ";\n right: ", ";\n perspective: 800px;\n pointer-events: ", ";\n position: fixed;\n top: 0;\n transition: ", ";\n z-index: 1;\n"])), function (props) { return props.theme.palette.mode === 'dark'
52
53
  ? props.theme.palette.primary.contrastText
53
- : props.theme.palette.getContrastText(props.theme.palette.background.paper); }, function (props) { return props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded, "px") : "".concat(DRAWER_WIDTH.Collapsed - 3, "px"); }, function (props) { return props.open ? 'auto' : 'none'; }, function (props) { return props.open
54
+ : props.theme.palette.getContrastText(props.theme.palette.background.paper); }, function (props) { return props.theme.direction === 'ltr' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded, "px") : "".concat(DRAWER_WIDTH.Collapsed - 3, "px") : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded, "px") : "".concat(DRAWER_WIDTH.Collapsed - 3, "px") : 'auto'; }, function (props) { return props.open ? 'auto' : 'none'; }, function (props) { return props.open
54
55
  ? "all\n ".concat(props.theme.transitions.duration.enteringScreen, "ms\n ").concat(props.theme.transitions.easing.easeOut)
55
56
  : "all\n ".concat(props.theme.transitions.duration.leavingScreen, "ms\n ").concat(props.theme.transitions.easing.easeIn); });
56
57
  export var FullHeightFlyoutMenuWrapper = styled('div', {
57
58
  shouldForwardProp: function (prop) { return prop !== 'open'; }
58
- })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background-color: ", ";\n box-shadow: 35px 0 15px 0 rgb(0 0 0 / 10%);\n height: 100%;\n max-width: 300px;\n min-width: 300px;\n opacity: ", ";\n pointer-events: ", ";\n transform: ", ";\n transform-origin: left center;\n transition: ", ";\n visibility: ", ";\n width: ", ";\n"], ["\n background-color: ", ";\n box-shadow: 35px 0 15px 0 rgb(0 0 0 / 10%);\n height: 100%;\n max-width: 300px;\n min-width: 300px;\n opacity: ", ";\n pointer-events: ", ";\n transform: ", ";\n transform-origin: left center;\n transition: ", ";\n visibility: ", ";\n width: ", ";\n"])), function (props) { return props.theme.palette.mode === 'dark'
59
+ })(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n box-shadow: ", " 0 15px 0 rgb(0 0 0 / 10%);\n height: 100%;\n max-width: 300px;\n min-width: 300px;\n opacity: ", ";\n pointer-events: ", ";\n transform: ", ";\n transform-origin: left center;\n transition: ", ";\n visibility: ", ";\n width: ", ";\n"], ["\n background-color: ", ";\n box-shadow: ", " 0 15px 0 rgb(0 0 0 / 10%);\n height: 100%;\n max-width: 300px;\n min-width: 300px;\n opacity: ", ";\n pointer-events: ", ";\n transform: ", ";\n transform-origin: left center;\n transition: ", ";\n visibility: ", ";\n width: ", ";\n"])), function (props) { return props.theme.palette.mode === 'dark'
59
60
  ? props.theme.palette.primary.main
60
- : props.theme.palette.background.paper; }, function (props) { return props.open ? 1 : 0; }, function (props) { return props.open ? 'auto' : 'none'; }, function (props) { return props.open ? 'rotateY(0deg) scale(1)' : 'rotateY(8deg) scale(.98)'; }, function (props) { return props.open
61
+ : props.theme.palette.background.paper; }, function (props) { return props.theme.direction === 'ltr' ? '35px' : '-35px'; }, function (props) { return props.open ? 1 : 0; }, function (props) { return props.open ? 'auto' : 'none'; }, function (props) { return props.open ? 'rotateY(0deg) scale(1)' : 'rotateY(8deg) scale(.98)'; }, function (props) { return props.open
61
62
  ? "all\n ".concat(props.theme.transitions.duration.enteringScreen, "ms\n ").concat(props.theme.transitions.easing.easeOut)
62
63
  : "all\n ".concat(props.theme.transitions.duration.leavingScreen, "ms\n ").concat(props.theme.transitions.easing.easeIn); }, function (props) { return props.open ? 'visible' : 'hidden'; }, function (props) { return props.open ? '300' : 0; });
63
- export var FlyoutNotchMask = styled('div')(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n content: '';\n display: block;\n height: 80px;\n left: -40px;\n position: absolute;\n top: 65px;\n width: 80px;\n z-index: -1;\n"], ["\n background-color: ", ";\n content: '';\n display: block;\n height: 80px;\n left: -40px;\n position: absolute;\n top: 65px;\n width: 80px;\n z-index: -1;\n"])), function (props) { return props.theme.palette.mode === 'dark'
64
+ export var FlyoutNotchMask = styled('div')(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n content: '';\n display: block;\n height: 80px;\n left: ", ";\n right: ", ";\n position: absolute;\n top: 65px;\n width: 80px;\n z-index: -1;\n"], ["\n background-color: ", ";\n content: '';\n display: block;\n height: 80px;\n left: ", ";\n right: ", ";\n position: absolute;\n top: 65px;\n width: 80px;\n z-index: -1;\n"])), function (props) { return props.theme.palette.mode === 'dark'
64
65
  ? props.theme.palette.primary.dark
65
- : '#E6EAF0'; });
66
- export var NotchMini = styled(NotchMiniSVG)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n fill: ", ";\n left: -12px;\n pointer-events: none;\n position: absolute;\n"], ["\n fill: ", ";\n left: -12px;\n pointer-events: none;\n position: absolute;\n"])), function (props) { return props.theme.palette.mode === 'dark'
66
+ : '#E6EAF0'; }, function (props) { return props.theme.direction === 'ltr' ? '-40px' : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? '-40px' : 'auto'; });
67
+ export var NotchMini = styled(NotchMiniSVG)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n fill: ", ";\n left: ", ";\n right: ", ";\n pointer-events: none;\n position: absolute;\n"], ["\n fill: ", ";\n left: ", ";\n right: ", ";\n pointer-events: none;\n position: absolute;\n"])), function (props) { return props.theme.palette.mode === 'dark'
67
68
  ? props.theme.palette.primary.dark
68
- : '#E6EAF0'; });
69
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
69
+ : '#E6EAF0'; }, function (props) { return props.theme.direction === 'ltr' ? '-12px' : 0; }, function (props) { return props.theme.direction === 'rtl' ? '-12px' : 0; });
70
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
@@ -20,7 +20,7 @@ export var ListItem = styled(SSListItem, {
20
20
  : props.theme.palette.getContrastText(props.theme.palette.background.paper); }, ICON.Height + 8, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.isDrawerOpen ? '0ms' : '250ms'; }, DRAWER_WIDTH.Expanded, function (props) { return props.theme.spacing(0.5); });
21
21
  export var ListItemButton = styled(SSListItemButton, {
22
22
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
23
- })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: flex-start !important;\n background-color: ", ";\n color: ", ";\n display: flex;\n flex-wrap: wrap;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", "\n 0ms !important;\n padding: 0 ", " 0 0;\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n left: 3px;\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus-visible:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: ", ";\n }\n\n :focus-visible {\n background-color: ", ";\n }\n\n :active {\n background-color: transparent\n }\n"], ["\n align-items: flex-start !important;\n background-color: ", ";\n color: ", ";\n display: flex;\n flex-wrap: wrap;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", "\n 0ms !important;\n padding: 0 ", " 0 0;\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n left: 3px;\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus-visible:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: ", ";\n }\n\n :focus-visible {\n background-color: ", ";\n }\n\n :active {\n background-color: transparent\n }\n"])), function (props) {
23
+ })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: flex-start !important;\n background-color: ", ";\n color: ", ";\n display: flex;\n flex-wrap: wrap;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", "\n 0ms !important;\n padding: 0;\n padding-inline-end: ", ";\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n\n left: ", ";\n right: ", ";\n\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus-visible:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: ", ";\n }\n\n :focus-visible {\n background-color: ", ";\n }\n\n :active {\n background-color: transparent\n }\n"], ["\n align-items: flex-start !important;\n background-color: ", ";\n color: ", ";\n display: flex;\n flex-wrap: wrap;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-transform: none;\n transition: all\n ", "ms\n ", "\n 0ms !important;\n padding: 0;\n padding-inline-end: ", ";\n width: 100%;\n\n /* Indicator */\n :before {\n background-color: ", ";\n border-radius: 50px;\n content: '';\n height: calc(100% - 10px);\n opacity: 0;\n position: absolute;\n top: 5px;\n\n left: ", ";\n right: ", ";\n\n transition: all\n ", "ms\n ", ";\n width: 4px;\n transform: scale(.95);\n }\n\n :hover:before,\n :focus-visible:before {\n opacity: 1;\n transform: scale(1);\n }\n\n :hover {\n background-color: ", ";\n }\n\n :focus-visible {\n background-color: ", ";\n }\n\n :active {\n background-color: transparent\n }\n"])), function (props) {
24
24
  return props.theme.palette.mode === 'dark'
25
25
  ? props.theme.palette.primary.main
26
26
  : props.theme.palette.background.paper;
@@ -34,7 +34,7 @@ export var ListItemButton = styled(SSListItemButton, {
34
34
  return props.theme.palette.mode === 'dark'
35
35
  ? 'rgba(255, 255, 255, 0.5)'
36
36
  : props.theme.palette.primary.main;
37
- }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) {
37
+ }, function (props) { return props.theme.direction === 'ltr' ? '3px' : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? '3px' : 'auto'; }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) {
38
38
  return props.theme.palette.mode === 'dark'
39
39
  ? props.theme.palette.primary.main
40
40
  : props.theme.palette.background.paper;
@@ -58,7 +58,7 @@ export var ListItemIcon = styled(SSListItemIcon)(templateObject_5 || (templateOb
58
58
  : props.theme.palette.getContrastText(props.theme.palette.background.paper); }, ICON.Height + 8, ICON.Width, ICON.Width, ICON.Width + 8, ICON.Width + 8);
59
59
  export var ListItemText = styled(SSListItemText, {
60
60
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen' && prop !== 'index'; }
61
- })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n max-width: 210px;\n opacity: ", ";\n padding: 0.5rem;\n transition: opacity\n ", "ms\n ", "\n ", "s !important;\n white-space: normal;\n width: auto;\n"], ["\n max-width: 210px;\n opacity: ", ";\n padding: 0.5rem;\n transition: opacity\n ", "ms\n ", "\n ", "s !important;\n white-space: normal;\n width: auto;\n"])), function (props) { return props.isDrawerOpen ? 1 : 0; }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.index !== undefined ? props.index / 50 : 0.02; });
61
+ })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n max-width: 210px;\n opacity: ", ";\n padding: 0.5rem;\n text-align: ", ";\n transition: opacity\n ", "ms\n ", "\n ", "s !important;\n white-space: normal;\n width: auto;\n"], ["\n max-width: 210px;\n opacity: ", ";\n padding: 0.5rem;\n text-align: ", ";\n transition: opacity\n ", "ms\n ", "\n ", "s !important;\n white-space: normal;\n width: auto;\n"])), function (props) { return props.isDrawerOpen ? 1 : 0; }, function (props) { return props.theme.direction === 'rtl' ? 'right' : 'left'; }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.index !== undefined ? props.index / 50 : 0.02; });
62
62
  export var StyledExpandLess = styled(ArrowRight, {
63
63
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
64
64
  })(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-self: center;\n font-size: 1.25rem;\n left: ", ";\n margin-right: ", ";\n opacity: 1;\n position: relative;\n transition: opacity\n ", "ms\n ", "\n 200ms !important;\n"], ["\n align-self: center;\n font-size: 1.25rem;\n left: ", ";\n margin-right: ", ";\n opacity: 1;\n position: relative;\n transition: opacity\n ", "ms\n ", "\n 200ms !important;\n"])), function (props) { return props.isDrawerOpen ? '20px' : '-40px'; }, function (props) { return props.theme.spacing(1); }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; });
@@ -3,6 +3,9 @@ export declare const DRAWER_WIDTH: {
3
3
  Collapsed: number;
4
4
  Expanded: number;
5
5
  };
6
+ export declare const NOTCH: {
7
+ Width: number;
8
+ };
6
9
  export declare const DrawerHeader: import("@emotion/styled").StyledComponent<import("@react-spring/web").AnimatedProps<{
7
10
  className?: string | undefined;
8
11
  style?: {
@@ -1108,7 +1111,9 @@ export declare const DrawerToggle: import("@emotion/styled").StyledComponent<{
1108
1111
  touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
1109
1112
  }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
1110
1113
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
1111
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
1114
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
1115
+ isDrawerOpen?: any;
1116
+ }, {}, {}>;
1112
1117
  export declare const DrawerToggleHitboxContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
1113
1118
  export declare const StyledAside: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
1114
1119
  export declare const StyledNav: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -14,9 +14,12 @@ var ICON = {
14
14
  Height: 40,
15
15
  Width: 57
16
16
  };
17
+ export var NOTCH = {
18
+ Width: 25
19
+ };
17
20
  export var DrawerHeader = styled(animated.div, {
18
21
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
19
- })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 56px !important;\n padding: ", " 10px 0;\n transition: ", "\n 250ms;\n\n /* Testing secondary nav fix ups */\n width: ", ";\n\n @media (min-width: ", ") {\n min-height: 64px !important;\n width: ", ";\n };\n\n .MuiListItemIcon-root {\n margin: ", " 0 0;\n }\n\n .MuiListItemText-root {\n align-items: center !important;\n color: ", ";\n display: flex;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-dransform: none;\n transition: max-height\n ", "ms\n ", ";\n padding: 0;\n width: 100%;\n\n [theme.breakpoints.up('sm')] {\n max-height: ", ";\n }\n }\n\n .MuiListItemText-root .MuiTypography-root {\n white-space: normal;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 56px !important;\n padding: ", " 10px 0;\n transition: ", "\n 250ms;\n\n /* Testing secondary nav fix ups */\n width: ", ";\n\n @media (min-width: ", ") {\n min-height: 64px !important;\n width: ", ";\n };\n\n .MuiListItemIcon-root {\n margin: ", " 0 0;\n }\n\n .MuiListItemText-root {\n align-items: center !important;\n color: ", ";\n display: flex;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-dransform: none;\n transition: max-height\n ", "ms\n ", ";\n padding: 0;\n width: 100%;\n\n [theme.breakpoints.up('sm')] {\n max-height: ", ";\n }\n }\n\n .MuiListItemText-root .MuiTypography-root {\n white-space: normal;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
22
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 56px !important;\n padding: ", " 10px 0;\n transition: ", "\n 250ms;\n\n width: ", ";\n\n @media (min-width: ", ") {\n min-height: 64px !important;\n width: ", ";\n };\n\n .MuiListItemIcon-root {\n margin: ", " 0 0;\n }\n\n .MuiListItemText-root {\n align-items: center !important;\n color: ", ";\n display: flex;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-dransform: none;\n transition: max-height\n ", "ms\n ", ";\n padding: 0;\n width: 100%;\n\n [theme.breakpoints.up('sm')] {\n max-height: ", ";\n }\n }\n\n .MuiListItemText-root .MuiTypography-root {\n white-space: normal;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n display: flex;\n flex: 1 auto;\n justify-content: flex-start;\n overflow: hidden;\n min-height: 56px !important;\n padding: ", " 10px 0;\n transition: ", "\n 250ms;\n\n width: ", ";\n\n @media (min-width: ", ") {\n min-height: 64px !important;\n width: ", ";\n };\n\n .MuiListItemIcon-root {\n margin: ", " 0 0;\n }\n\n .MuiListItemText-root {\n align-items: center !important;\n color: ", ";\n display: flex;\n min-height: ", "px;\n max-height: ", ";\n text-decoration: none;\n text-dransform: none;\n transition: max-height\n ", "ms\n ", ";\n padding: 0;\n width: 100%;\n\n [theme.breakpoints.up('sm')] {\n max-height: ", ";\n }\n }\n\n .MuiListItemText-root .MuiTypography-root {\n white-space: normal;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
20
23
  ? props.theme.palette.primary.main
21
24
  : props.theme.palette.background.paper; }, function (props) { return props.theme.spacing(1); }, function (props) { return props.isDrawerOpen
22
25
  ? "width\n ".concat(props.theme.transitions.duration.enteringScreen, "ms\n ").concat(props.theme.transitions.easing.easeOut, "\n 0")
@@ -25,7 +28,9 @@ export var DrawerHeader = styled(animated.div, {
25
28
  ? props.theme.palette.primary.contrastText
26
29
  : props.theme.palette.getContrastText(props.theme.palette.background.paper);
27
30
  }, ICON.Height + 8, function (props) { return props.isDrawerOpen ? '200px' : "".concat(ICON.Height + 8, "px"); }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.isDrawerOpen ? '200px' : "".concat(ICON.Height + 8, "px"); });
28
- export var DrawerToggle = styled(IconButton)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transition: all\n ", "ms\n ", ";\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"], ["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transition: all\n ", "ms\n ", ";\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"])), function (props) { return props.theme.spacing(2); }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return props.theme.spacing(2.5); });
31
+ export var DrawerToggle = styled(IconButton, {
32
+ shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
33
+ })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transition: all\n ", "ms\n ", ";\n left: ", ";\n right: ", ";\n transform: translate(0, calc(50% - 5.5px)) rotate(", ");\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"], ["\n background: transparent;\n height: 44px;\n padding: 0 ", " !important;\n position: absolute;\n transition: all\n ", "ms\n ", ";\n left: ", ";\n right: ", ";\n transform: translate(0, calc(50% - 5.5px)) rotate(", ");\n width: 44px;\n z-index: 10;\n\n @media (min-width: ", ") {\n padding: 0 ", " !important;\n }\n"])), function (props) { return props.theme.spacing(2); }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.theme.direction === 'ltr' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 22, "px !important") : '35px !important' : 'auto !important'; }, function (props) { return props.theme.direction === 'rtl' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 22, "px !important") : '35px !important' : 'auto !important'; }, function (props) { return props.theme.direction === 'rtl' ? '180deg' : 0; }, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return props.theme.spacing(2.5); });
29
34
  export var DrawerToggleHitboxContent = styled('span')(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 50%;\n box-shadow: 5px 0 15px 0 rgb(0 0 0 / 10%);\n box-sizing: content-box;\n height: 1.75rem;\n padding: ", ";\n width: 1.75rem;\n"], ["\n background-color: ", ";\n border-radius: 50%;\n box-shadow: 5px 0 15px 0 rgb(0 0 0 / 10%);\n box-sizing: content-box;\n height: 1.75rem;\n padding: ", ";\n width: 1.75rem;\n"])), function (props) { return props.theme.palette.mode === 'dark'
30
35
  ? props.theme.palette.primary.main
31
36
  : props.theme.palette.background.paper; }, function (props) { return props.theme.spacing(0.5); });
@@ -63,28 +68,22 @@ export var StyledDivider = styled('div', {
63
68
  }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; });
64
69
  export var DrawerShadow = styled(Box, {
65
70
  shouldForwardProp: function (prop) { return prop !== 'isDrawerOpen'; }
66
- })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n position: fixed;\n top: 0;\n transition: left\n ", "ms\n ", ";\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n }\n"], ["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n position: fixed;\n top: 0;\n transition: left\n ", "ms\n ", ";\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n }\n"])), function (props) { return props.isDrawerOpen
67
- ? "".concat(DRAWER_WIDTH.Expanded - 38, "px")
68
- : "".concat(DRAWER_WIDTH.Collapsed - 41, "px"); }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.theme.breakpoints.values.sm; }, function (props) {
69
- return props.isDrawerOpen
70
- ? "".concat(DRAWER_WIDTH.Expanded - 38, "px")
71
- : "".concat(DRAWER_WIDTH.Collapsed - 33, "px");
72
- });
71
+ })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n right: ", ";\n position: fixed;\n top: 0;\n transition-duration: ", "ms;\n transition-property: left right;\n transition-timing-function: ", ";\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n right: ", ";\n }\n"], ["\n background: rgba(0,0,0,0.125);\n content: '';\n display: block;\n filter: blur(13px);\n height: 100%;\n left: ", ";\n right: ", ";\n position: fixed;\n top: 0;\n transition-duration: ", "ms;\n transition-property: left right;\n transition-timing-function: ", ";\n visibility: visible;\n width: 40px;\n\n @media (min-width: ", ") {\n left: ", ";\n right: ", ";\n }\n"])), function (props) { return props.theme.direction === 'ltr' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 38, "px") : "".concat(DRAWER_WIDTH.Collapsed - 41, "px") : 0; }, function (props) { return props.theme.direction === 'rtl' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 38, "px") : "".concat(DRAWER_WIDTH.Collapsed - 41, "px") : 0; }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return props.theme.breakpoints.values.sm; }, function (props) { return props.theme.direction === 'ltr' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 38, "px") : "".concat(DRAWER_WIDTH.Collapsed - 33, "px") : 0; }, function (props) { return props.theme.direction === 'rtl' ? props.isDrawerOpen ? "".concat(DRAWER_WIDTH.Expanded - 38, "px") : "".concat(DRAWER_WIDTH.Collapsed - 33, "px") : 0; });
73
72
  export var NotchContainer = styled(Box)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n height: auto;\n margin-top: -", ";\n position: relative;\n transition: width\n ", "ms\n ", ";\n width: 100%;\n z-index: 9;\n"], ["\n display: flex;\n justify-content: flex-end;\n height: auto;\n margin-top: -", ";\n position: relative;\n transition: width\n ", "ms\n ", ";\n width: 100%;\n z-index: 9;\n"])), function (props) { return props.theme.spacing(0.5); }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; });
74
73
  export var NotchBackground = styled(Box)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n flex: 1;\n height: auto;\n width: auto;\n"], ["\n background-color: ", ";\n flex: 1;\n height: auto;\n width: auto;\n"])), function (props) { return props.theme.palette.mode === 'dark'
75
74
  ? props.theme.palette.primary.main
76
75
  : props.theme.palette.background.paper; });
77
- export var NotchBackgroundClip = styled(Box)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n width: 45px;\n"], ["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n width: 45px;\n"])), function (props) { return props.theme.palette.mode === 'dark'
76
+ export var NotchBackgroundClip = styled(Box)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n transform: rotate(", ");\n width: 45px;\n"], ["\n background-color: ", ";\n clip-path: url(\"#notch\");\n display: flex;\n height: 85px;\n transform: rotate(", ");\n width: 45px;\n"])), function (props) { return props.theme.palette.mode === 'dark'
78
77
  ? props.theme.palette.primary.main
79
- : props.theme.palette.background.paper; });
80
- export var NotchSeemMask = styled(Box)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n height: 90px;\n position: absolute;\n right: 25px;\n top: -2px;\n width: calc(100% - 25px);\n"], ["\n background-color: ", ";\n height: 90px;\n position: absolute;\n right: 25px;\n top: -2px;\n width: calc(100% - 25px);\n"])), function (props) { return props.theme.palette.mode === 'dark'
78
+ : props.theme.palette.background.paper; }, function (props) { return props.theme.direction === 'rtl' ? '180deg' : 0; });
79
+ export var NotchSeemMask = styled(Box)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n height: 90px;\n position: absolute;\n left: ", ";\n right: ", ";\n top: -2px;\n width: calc(100% - ", "px);\n"], ["\n background-color: ", ";\n height: 90px;\n position: absolute;\n left: ", ";\n right: ", ";\n top: -2px;\n width: calc(100% - ", "px);\n"])), function (props) { return props.theme.palette.mode === 'dark'
81
80
  ? props.theme.palette.primary.main
82
- : props.theme.palette.background.paper; });
81
+ : props.theme.palette.background.paper; }, function (props) { return props.theme.direction === 'rtl' ? "".concat(NOTCH.Width, "px") : 'auto'; }, function (props) { return props.theme.direction === 'ltr' ? "".concat(NOTCH.Width, "px") : 'auto'; }, NOTCH.Width);
83
82
  export var StyledDrawer = styled(Drawer, {
84
83
  shouldForwardProp: function (prop) { return prop !== 'open'; }
85
- })(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width\n ", "ms\n ", ";\n white-space: nowrap;\n width: ", ";\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width\n ", "ms\n ", ";\n visibility: visible !important;\n width: ", ";\n }\n"], ["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width\n ", "ms\n ", ";\n white-space: nowrap;\n width: ", ";\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width\n ", "ms\n ", ";\n visibility: visible !important;\n width: ", ";\n }\n"])), function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) {
84
+ })(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width\n ", "ms\n ", ";\n white-space: nowrap;\n width: ", ";\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n left: ", ";\n right: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width\n ", "ms\n ", ";\n visibility: visible !important;\n width: ", ";\n }\n"], ["\n box-shadow: none;\n box-sizing: border-box;\n flexshrink: 0;\n overflow-x: visible;\n transition: width\n ", "ms\n ", ";\n white-space: nowrap;\n width: ", ";\n\n .MuiDrawer-paper {\n background: transparent none;\n border: 0;\n box-shadow: none;\n color: ", ";\n left: ", ";\n right: ", ";\n overflow: visible !important;\n overflow-x: visible;\n transform: translateX(0) !important;\n transition: width\n ", "ms\n ", ";\n visibility: visible !important;\n width: ", ";\n }\n"])), function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); }, function (props) {
86
85
  return props.theme.palette.mode === 'dark'
87
86
  ? props.theme.palette.primary.contrastText
88
87
  : props.theme.palette.getContrastText(props.theme.palette.background.paper);
89
- }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); });
88
+ }, function (props) { return props.theme.direction === 'ltr' ? 0 : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? 0 : 'auto'; }, function (props) { return props.theme.transitions.duration.enteringScreen; }, function (props) { return props.theme.transitions.easing.easeOut; }, function (props) { return !props.open ? "calc(".concat(props.theme.spacing(7), " + 1px)") : "".concat(DRAWER_WIDTH.Expanded, "px"); });
90
89
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
@@ -69,7 +69,7 @@ var AppSwitcher = function (props) {
69
69
  var _f = useState(null), activeApplication = _f[0], setActiveApplication = _f[1];
70
70
  // Stores any org filter text (on the second tab).
71
71
  var _g = useState(''), searchString = _g[0], setSearchString = _g[1];
72
- var messages = __assign(__assign({}, localization), defaultMessages);
72
+ var messages = __assign(__assign({}, defaultMessages), localization);
73
73
  var userId = (_a = props.userId) !== null && _a !== void 0 ? _a : '';
74
74
  /**
75
75
  * Handles closing of the application dialog.
@@ -3,13 +3,15 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  return cooked;
4
4
  };
5
5
  import { styled } from '@mui/material/styles';
6
- export var AppSwitcherPanel = styled('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 0 4px 4px 0;\n bottom: 0;\n box-shadow: 5px 7px 8px -10px rgb(0 0 0 / 20%), 5px 12px 17px -10px rgb(0 0 0 / 14%), 5px 5px 22px -10px rgb(0 0 0 / 12%);\n box-sizing: border-box;\n font-family: 'Roboto';\n height: 450px;\n left: 57px;\n overflow: auto;\n overflow-x: hidden;\n padding: 1rem 1.5rem;\n position: fixed;\n width: 360px;\n z-index: 1;\n\n & > div {\n padding-bottom: 3rem;\n }\n"], ["\n background-color: ", ";\n border-radius: 0 4px 4px 0;\n bottom: 0;\n box-shadow: 5px 7px 8px -10px rgb(0 0 0 / 20%), 5px 12px 17px -10px rgb(0 0 0 / 14%), 5px 5px 22px -10px rgb(0 0 0 / 12%);\n box-sizing: border-box;\n font-family: 'Roboto';\n height: 450px;\n left: 57px;\n overflow: auto;\n overflow-x: hidden;\n padding: 1rem 1.5rem;\n position: fixed;\n width: 360px;\n z-index: 1;\n\n & > div {\n padding-bottom: 3rem;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
6
+ export var AppSwitcherPanel = styled('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 0 4px 4px 0;\n bottom: 0;\n box-shadow: ", ";\n box-sizing: border-box;\n font-family: 'Roboto';\n height: 450px;\n left: ", ";\n right: ", ";\n overflow: auto;\n overflow-x: hidden;\n padding: 1rem 1.5rem;\n position: fixed;\n width: 360px;\n z-index: 1;\n\n & > div {\n padding-bottom: 3rem;\n }\n"], ["\n background-color: ", ";\n border-radius: 0 4px 4px 0;\n bottom: 0;\n box-shadow: ", ";\n box-sizing: border-box;\n font-family: 'Roboto';\n height: 450px;\n left: ", ";\n right: ", ";\n overflow: auto;\n overflow-x: hidden;\n padding: 1rem 1.5rem;\n position: fixed;\n width: 360px;\n z-index: 1;\n\n & > div {\n padding-bottom: 3rem;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
7
7
  ? props.theme.palette.primary.dark
8
- : '#E6EAF0'; });
8
+ : '#E6EAF0'; }, function (props) { return props.theme.direction === 'ltr'
9
+ ? '5px 7px 8px -10px rgb(0 0 0 / 20%), 5px 12px 17px -10px rgb(0 0 0 / 14%), 5px 5px 22px -10px rgb(0 0 0 / 12%)'
10
+ : '-5px 7px 8px -10px rgb(0 0 0 / 20%), -5px 12px 17px -10px rgb(0 0 0 / 14%), -5px 5px 22px -10px rgb(0 0 0 / 12%)'; }, function (props) { return props.theme.direction === 'ltr' ? '57px' : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? '57px' : 'auto'; });
9
11
  export var List = styled('ul')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n"], ["\n"])));
10
12
  export var MenuContent = styled('div')(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: flex-start;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-start;\n margin-top: 1rem;\n"], ["\n align-items: flex-start;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-start;\n margin-top: 1rem;\n"])));
11
13
  export var SearchContent = styled('div')(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n align-items: flex-start;\n box-sizing: border-box;\n flex-direction: column;\n justify-content: flex-start;\n padding: 1rem 1rem 2rem;\n"], ["\n align-items: flex-start;\n box-sizing: border-box;\n flex-direction: column;\n justify-content: flex-start;\n padding: 1rem 1rem 2rem;\n"])));
12
- export var AppListHeader = styled('div')(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-size: 1.2rem;\n font-weight: normal;\n justify-content: flex-start;\n padding: 1rem 1.25rem 0;\n\n & svg {\n height: 24px;\n margin-right: 0.5rem;\n width: 24px;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-size: 1.2rem;\n font-weight: normal;\n justify-content: flex-start;\n padding: 1rem 1.25rem 0;\n\n & svg {\n height: 24px;\n margin-right: 0.5rem;\n width: 24px;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
14
+ export var AppListHeader = styled('div')(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n font-size: 1.2rem;\n font-weight: normal;\n justify-content: flex-start;\n padding: 1rem 1.25rem 0;\n\n & svg {\n height: 24px;\n margin-inline-end: 0.5rem;\n width: 24px;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n font-size: 1.2rem;\n font-weight: normal;\n justify-content: flex-start;\n padding: 1rem 1.25rem 0;\n\n & svg {\n height: 24px;\n margin-inline-end: 0.5rem;\n width: 24px;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
13
15
  ? props.theme.palette.primary.contrastText
14
16
  : '#555'; });
15
17
  export var AppListItem = styled('div')(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n align-self: stretch;\n box-sizing: border-box;\n flex-direction: column;\n flex: 0 0 ", "%;\n height: 104px;\n overflow: visible;\n padding: 0.25rem;\n position: relative;\n\n &:hover {\n background-color: transparent;\n }\n"], ["\n align-items: center;\n align-self: stretch;\n box-sizing: border-box;\n flex-direction: column;\n flex: 0 0 ", "%;\n height: 104px;\n overflow: visible;\n padding: 0.25rem;\n position: relative;\n\n &:hover {\n background-color: transparent;\n }\n"])), 100 / 3);
@@ -29,11 +31,11 @@ export var BackButton = styled('button')(templateObject_9 || (templateObject_9 =
29
31
  ? 'rgba(255, 255, 255, 0.1)'
30
32
  : 'rgba(0, 0, 0, 0.1)'; });
31
33
  export var SearchBox = styled('input')(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background: #f4f4f4;\n border: thin solid #888;\n box-sizing: border-box;\n color: #777;\n padding: 0.5rem;\n width: 100%;\n\n &:hover .MuiOutlinedInput-notchedOutline {\n border-color: #888;\n }\n\n & .MuiOutlinedInput-root {\n border-radius: 0;\n color: #777;\n padding: 0;\n }\n\n & .MuiOutlinedInput-input {\n padding: 0.5rem;\n }\n\n & ::placeholder {\n opacity: 0.75;\n }\n"], ["\n background: #f4f4f4;\n border: thin solid #888;\n box-sizing: border-box;\n color: #777;\n padding: 0.5rem;\n width: 100%;\n\n &:hover .MuiOutlinedInput-notchedOutline {\n border-color: #888;\n }\n\n & .MuiOutlinedInput-root {\n border-radius: 0;\n color: #777;\n padding: 0;\n }\n\n & .MuiOutlinedInput-input {\n padding: 0.5rem;\n }\n\n & ::placeholder {\n opacity: 0.75;\n }\n"])));
32
- export var AppOrganisationCount = styled('span')(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background: #00497D;\n border-color: #616161;\n border-radius: 4px;\n border: none;\n color: white;\n font-size: 1rem;\n font-weight: bold;\n height: 48%;\n left: 54%;\n line-height: 50px;\n margin-top: 0;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n text-align: center;\n top: 49%;\n transform: translate(-50%, -50%);\n width: 50%;\n z-index: 3;\n"], ["\n background: #00497D;\n border-color: #616161;\n border-radius: 4px;\n border: none;\n color: white;\n font-size: 1rem;\n font-weight: bold;\n height: 48%;\n left: 54%;\n line-height: 50px;\n margin-top: 0;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n text-align: center;\n top: 49%;\n transform: translate(-50%, -50%);\n width: 50%;\n z-index: 3;\n"])));
33
- export var SelectedOrganisation = styled('div')(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: 1.5rem 0;\n width: 100%;\n\n & svg,\n & svg image {\n height: 24px;\n width: 24px;\n }\n\n & span {\n font-size: 1.2rem;\n font-weight: normal;\n margin: 0 0 0 .5rem;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: 1.5rem 0;\n width: 100%;\n\n & svg,\n & svg image {\n height: 24px;\n width: 24px;\n }\n\n & span {\n font-size: 1.2rem;\n font-weight: normal;\n margin: 0 0 0 .5rem;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
34
+ export var AppOrganisationCount = styled('span')(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background: #00497D;\n border-color: #616161;\n border-radius: 4px;\n border: none;\n color: white;\n font-size: 1rem;\n font-weight: bold;\n height: 48%;\n left: ", ";\n right: ", ";\n line-height: 50px;\n margin-top: 0;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n text-align: center;\n top: 49%;\n transform: translate(-50%, -50%);\n width: 50%;\n z-index: 3;\n"], ["\n background: #00497D;\n border-color: #616161;\n border-radius: 4px;\n border: none;\n color: white;\n font-size: 1rem;\n font-weight: bold;\n height: 48%;\n left: ", ";\n right: ", ";\n line-height: 50px;\n margin-top: 0;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n text-align: center;\n top: 49%;\n transform: translate(-50%, -50%);\n width: 50%;\n z-index: 3;\n"])), function (props) { return props.theme.direction === 'ltr' ? '54%' : 'auto'; }, function (props) { return props.theme.direction === 'rtl' ? '4%' : 'auto'; });
35
+ export var SelectedOrganisation = styled('div')(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: 1.5rem 0;\n width: 100%;\n\n & svg,\n & svg image {\n height: 24px;\n width: 24px;\n }\n\n & span {\n font-size: 1.2rem;\n font-weight: normal;\n margin: 0;\n margin-inline-start: 0.5rem;\n }\n"], ["\n align-items: center;\n color: ", ";\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n padding: 1.5rem 0;\n width: 100%;\n\n & svg,\n & svg image {\n height: 24px;\n width: 24px;\n }\n\n & span {\n font-size: 1.2rem;\n font-weight: normal;\n margin: 0;\n margin-inline-start: 0.5rem;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
34
36
  ? props.theme.palette.primary.contrastText
35
37
  : '#555'; });
36
- export var StyledSVG = styled('svg')(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n box-sizing: content-box;\n display: inline-block;\n fill: currentcolor;\n flex-shrink: 0;\n font-size: 1.5rem;\n height: 1em;\n margin: 4px;\n padding: 0;\n user-select: none;\n width: 1em;\n"], ["\n box-sizing: content-box;\n display: inline-block;\n fill: currentcolor;\n flex-shrink: 0;\n font-size: 1.5rem;\n height: 1em;\n margin: 4px;\n padding: 0;\n user-select: none;\n width: 1em;\n"])));
38
+ export var StyledSVG = styled('svg')(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n box-sizing: content-box;\n display: inline-block;\n fill: currentcolor;\n flex-shrink: 0;\n font-size: 1.5rem;\n height: 1em;\n margin: 4px;\n padding: 0;\n transform: rotateY(", ");\n user-select: none;\n width: 1em;\n"], ["\n box-sizing: content-box;\n display: inline-block;\n fill: currentcolor;\n flex-shrink: 0;\n font-size: 1.5rem;\n height: 1em;\n margin: 4px;\n padding: 0;\n transform: rotateY(", ");\n user-select: none;\n width: 1em;\n"])), function (props) { return props.theme.direction === 'ltr' ? '0deg' : '180deg'; });
37
39
  export var OrganisationList = styled('div')(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n height: 300px;\n overflow: auto;\n padding-top: 0.5rem;\n width: 100%;\n"], ["\n height: 300px;\n overflow: auto;\n padding-top: 0.5rem;\n width: 100%;\n"])));
38
40
  export var OrganisationLink = styled('a')(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n align-items: center;\n border-radius: 4px;\n box-shadow: none;\n color: ", ";\n display: flex;\n font-size: 1rem;\n justify-content: space-between;\n margin: 0 0.125rem;\n padding: 0.5rem;\n text-decoration: none;\n transition: all 200ms ease;\n\n & .MuiTouchRipple-rippleVisible {\n color: #004071;\n opacity: 0.25;\n }\n\n &:focus,\n &:hover {\n background-color: ", ";\n\n & svg {\n visibility: visible;\n }\n }\n\n &:active {\n background-color: #f1f1f1;\n }\n\n & .MuiLink-root {\n align-items: center;\n color: #555;\n display: flex;\n justify-content: space-between;\n text-decoration: none;\n width: 100%;\n }\n\n & svg {\n visibility: hidden;\n }\n"], ["\n align-items: center;\n border-radius: 4px;\n box-shadow: none;\n color: ", ";\n display: flex;\n font-size: 1rem;\n justify-content: space-between;\n margin: 0 0.125rem;\n padding: 0.5rem;\n text-decoration: none;\n transition: all 200ms ease;\n\n & .MuiTouchRipple-rippleVisible {\n color: #004071;\n opacity: 0.25;\n }\n\n &:focus,\n &:hover {\n background-color: ", ";\n\n & svg {\n visibility: visible;\n }\n }\n\n &:active {\n background-color: #f1f1f1;\n }\n\n & .MuiLink-root {\n align-items: center;\n color: #555;\n display: flex;\n justify-content: space-between;\n text-decoration: none;\n width: 100%;\n }\n\n & svg {\n visibility: hidden;\n }\n"])), function (props) { return props.theme.palette.mode === 'dark'
39
41
  ? props.theme.palette.primary.contrastText
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+ export const defaultMessages: {
2
+ 'app-switcher': string;
3
+ 'your-apps': string;
4
+ 'back-to': string;
5
+ 'select-an-organisation': string;
6
+ search: string;
7
+ 'site-navigation': string;
8
+ 'open-navigation': string;
9
+ 'close-navigation': string;
10
+ 'site-logo': string;
11
+ greeting: string;
12
+ logout: string;
13
+ 'view-profile': string;
14
+ 'edit-profile': string;
15
+ };
package/lang/en-us.js ADDED
@@ -0,0 +1,18 @@
1
+ export var defaultMessages = {
2
+ // App Switcher
3
+ 'app-switcher': 'App Switcher',
4
+ 'your-apps': 'Your Stream suite apps',
5
+ 'back-to': 'Back',
6
+ 'select-an-organisation': 'Select an organisation',
7
+ search: 'Search',
8
+ // Navigation
9
+ 'site-navigation': 'Site navigation',
10
+ 'open-navigation': 'Open navigation',
11
+ 'close-navigation': 'Close navigation',
12
+ 'site-logo': 'Site logo',
13
+ // Avatar Panel
14
+ greeting: 'Hi',
15
+ logout: 'Logout',
16
+ 'view-profile': 'View Profile',
17
+ 'edit-profile': 'Edit Profile'
18
+ };
package/package.json CHANGED
@@ -9,10 +9,10 @@
9
9
  "components",
10
10
  "ui"
11
11
  ],
12
- "version": "1.6.3",
12
+ "version": "1.6.6",
13
13
  "private": false,
14
- "main": "dist/index.js",
15
- "module": "dist/index.js",
14
+ "main": "index.js",
15
+ "module": "index.js",
16
16
  "dependencies": {
17
17
  "@emotion/react": "^11.7.1",
18
18
  "@emotion/styled": "^11.6.0",
@@ -21,9 +21,6 @@
21
21
  "@mui/material": "^5.8.5",
22
22
  "@mui/x-data-grid": "^5.12.3",
23
23
  "@react-spring/web": "^9.6.1",
24
- "@testing-library/jest-dom": "^5.16.1",
25
- "@testing-library/react": "^12.1.5",
26
- "@testing-library/user-event": "^13.5.0",
27
24
  "@types/jest": "^27.4.0",
28
25
  "@types/node": "^16.11.45",
29
26
  "@types/react": "^17.0.48",
@@ -34,74 +31,10 @@
34
31
  "focus-trap-react": "^8.11.0",
35
32
  "jwt-decode": "^3.1.2",
36
33
  "query-string": "^7.1.1",
37
- "react": "^17.0.2",
38
- "react-dom": "^17.0.2",
39
- "react-scripts": "5.0.1",
40
34
  "tss-react": "^3.3.6",
41
35
  "typescript": "^4.6.2",
42
36
  "web-vitals": "^2.1.4"
43
37
  },
44
- "scripts": {
45
- "analyze:build": "source-map-explorer 'build/static/js/*.js'",
46
- "analyze:module": "source-map-explorer 'dist/*.js'",
47
- "build": "build-storybook",
48
- "build:module": "rm -rf dist && tsc && npm run generate:package",
49
- "generate:package": "node ./merge.js",
50
- "lint": "eslint --ext .tsx ./src",
51
- "lint:fix": "eslint --ext .tsx ./src --fix",
52
- "start": "start-storybook -p 6006",
53
- "start:run-tests": "npm run test:generate-output && npm run start",
54
- "test": "jest",
55
- "test:u": "jest --updateSnapshot && npm run lint:fix",
56
- "test:update-snapshot": "test:u",
57
- "test:generate-output": "jest --json --outputFile=.jest-test-results.json"
58
- },
59
- "browserslist": {
60
- "production": [
61
- ">0.2%",
62
- "not dead",
63
- "not op_mini all"
64
- ],
65
- "development": [
66
- "last 1 chrome version",
67
- "last 1 firefox version",
68
- "last 1 safari version"
69
- ]
70
- },
71
- "devDependencies": {
72
- "@babel/cli": "7.20.7",
73
- "@babel/core": "7.20.12",
74
- "@babel/preset-env": "7.20.2",
75
- "@babel/preset-react": "7.18.6",
76
- "@babel/preset-typescript": "7.18.6",
77
- "@semantic-release/changelog": "^6.0.2",
78
- "@semantic-release/git": "^10.0.1",
79
- "@semantic-release/github": "^8.0.7",
80
- "@semantic-release/npm": "^9.0.2",
81
- "@semantic-release/release-notes-generator": "^10.0.3",
82
- "@storybook/addon-a11y": "6.5.16",
83
- "@storybook/addon-actions": "6.5.16",
84
- "@storybook/addon-essentials": "6.5.16",
85
- "@storybook/addon-jest": "6.5.16",
86
- "@storybook/addon-links": "6.5.16",
87
- "@storybook/addons": "6.5.16",
88
- "@storybook/builder-webpack5": "6.5.16",
89
- "@storybook/manager-webpack5": "6.5.16",
90
- "@storybook/node-logger": "6.5.16",
91
- "@storybook/preset-create-react-app": "4.1.2",
92
- "@storybook/react": "6.5.16",
93
- "@storybook/theming": "6.5.16",
94
- "babel-preset-minify": "0.5.2",
95
- "eslint-config-standard": "17.0.0",
96
- "eslint-plugin-node": "11.1.0",
97
- "eslint-plugin-promise": "6.1.1",
98
- "semantic-release": "^19.0.5",
99
- "source-map-explorer": "2.5.3",
100
- "source-map-loader": "3.0.2",
101
- "storybook-rtl-addon": "0.3.3",
102
- "ts-node": "10.9.1",
103
- "webpack": "5.75.0"
104
- },
105
38
  "publishConfig": {
106
39
  "access": "public"
107
40
  }
@@ -7,6 +7,7 @@ export interface IAvatarPanelProps {
7
7
  avatarName: string;
8
8
  editProfileText?: string;
9
9
  isAvatarOpen: boolean;
10
+ localization?: any;
10
11
  avatarPanelLogoutString?: string;
11
12
  avatarPanelOnClickSwitchDirection?: any;
12
13
  avatarPanelOnClickLogout?: any;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes