@learningpool/ui 1.6.3 → 1.6.5
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.
- package/{dist/assets → assets}/Images.d.ts +0 -0
- package/{dist/assets → assets}/Images.js +0 -0
- package/{dist/components → components}/atoms/Autocomplete/Autocomplete.d.ts +0 -0
- package/{dist/components → components}/atoms/Autocomplete/Autocomplete.js +0 -0
- package/{dist/components → components}/atoms/Button/Button.d.ts +0 -0
- package/{dist/components → components}/atoms/Button/Button.js +0 -0
- package/{dist/components → components}/atoms/Checkbox/Checkbox.d.ts +0 -0
- package/{dist/components → components}/atoms/Checkbox/Checkbox.js +0 -0
- package/{dist/components → components}/atoms/IconButton/IconButton.d.ts +0 -0
- package/{dist/components → components}/atoms/IconButton/IconButton.js +0 -0
- package/{dist/components → components}/atoms/Radio/Radio.d.ts +0 -0
- package/{dist/components → components}/atoms/Radio/Radio.js +0 -0
- package/{dist/components → components}/atoms/Select/Select.d.ts +0 -0
- package/{dist/components → components}/atoms/Select/Select.js +0 -0
- package/{dist/components → components}/atoms/Slider/Slider.d.ts +0 -0
- package/{dist/components → components}/atoms/Slider/Slider.js +0 -0
- package/{dist/components → components}/atoms/Switch/Switch.d.ts +0 -0
- package/{dist/components → components}/atoms/Switch/Switch.js +0 -0
- package/{dist/components → components}/atoms/TextField/TextField.d.ts +0 -0
- package/{dist/components → components}/atoms/TextField/TextField.js +0 -0
- package/{dist/components → components}/atoms/ToggleButton/ToggleButton.d.ts +0 -0
- package/{dist/components → components}/atoms/ToggleButton/ToggleButton.js +0 -0
- package/{dist/components → components}/datadisplay/Avatar/Avatar.d.ts +0 -0
- package/{dist/components → components}/datadisplay/Avatar/Avatar.js +0 -0
- package/{dist/components → components}/datadisplay/Chip/Chip.d.ts +0 -0
- package/{dist/components → components}/datadisplay/Chip/Chip.js +0 -0
- package/{dist/components → components}/datadisplay/List/List.d.ts +0 -0
- package/{dist/components → components}/datadisplay/List/List.js +0 -0
- package/{dist/components → components}/datadisplay/Tooltip/Tooltip.d.ts +0 -0
- package/{dist/components → components}/datadisplay/Tooltip/Tooltip.js +0 -0
- package/{dist/components → components}/feedback/Alert/Alert.d.ts +0 -0
- package/{dist/components → components}/feedback/Alert/Alert.js +0 -0
- package/{dist/components → components}/landmarks/Header/Header.d.ts +0 -0
- package/{dist/components → components}/landmarks/Header/Header.js +0 -0
- package/{dist/components → components}/landmarks/Header/HeaderActionButtons.d.ts +0 -0
- package/{dist/components → components}/landmarks/Header/HeaderActionButtons.js +0 -0
- package/{dist/components → components}/landmarks/Header/HeaderStyles.d.ts +0 -0
- package/{dist/components → components}/landmarks/Header/HeaderStyles.js +0 -0
- package/{dist/components → components}/navigation/Drawer/Drawer.d.ts +0 -0
- package/{dist/components → components}/navigation/Drawer/Drawer.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigation.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigation.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatar.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatar.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatarStyles.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationAvatarStyles.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawer.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawer.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawerStyles.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationDrawerStyles.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItem.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItem.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenu.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenu.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenuStyles.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenuStyles.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationMotion.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationMotion.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationNotchIndicator.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationNotchIndicator.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearch.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearch.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearchStyles.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationSearchStyles.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationStyles.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationStyles.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleSearchX.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleSearchX.js +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleX.d.ts +0 -0
- package/{dist/components → components}/navigation/MobileNavigation/MobileNavigationToggleX.js +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigation.d.ts +1 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigation.js +12 -10
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationAvatar.d.ts +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationAvatar.js +11 -7
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.d.ts +49 -0
- package/components/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.js +33 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.d.ts +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.js +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.d.ts +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.js +3 -3
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.d.ts +1 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.js +16 -15
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.d.ts +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.js +3 -3
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationMotion.d.ts +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationMotion.js +0 -0
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationStyles.d.ts +6 -1
- package/{dist/components → components}/navigation/VerticalNavigation/VerticalNavigationStyles.js +14 -15
- package/{dist/components → components}/pages/ErrorPage/ErrorPage.d.ts +0 -0
- package/{dist/components → components}/pages/ErrorPage/ErrorPage.js +0 -0
- package/{dist/components → components}/pages/ErrorPage/ErrorPageStyles.d.ts +0 -0
- package/{dist/components → components}/pages/ErrorPage/ErrorPageStyles.js +0 -0
- package/{dist/components → components}/pages/SideInSide/SideInSide.d.ts +0 -0
- package/{dist/components → components}/pages/SideInSide/SideInSide.js +0 -0
- package/{dist/components → components}/pages/SideInSide/SideInSideStyles.d.ts +0 -0
- package/{dist/components → components}/pages/SideInSide/SideInSideStyles.js +0 -0
- package/{dist/components → components}/stream/AppSwitcher/AppSwitcher.d.ts +0 -0
- package/{dist/components → components}/stream/AppSwitcher/AppSwitcher.js +1 -1
- package/{dist/components → components}/stream/AppSwitcher/AppSwitcherItem.d.ts +0 -0
- package/{dist/components → components}/stream/AppSwitcher/AppSwitcherItem.js +0 -0
- package/{dist/components → components}/stream/AppSwitcher/AppSwitcherStyles.d.ts +0 -0
- package/{dist/components → components}/stream/AppSwitcher/AppSwitcherStyles.js +8 -6
- package/{dist/components → components}/stream/AppSwitcher/constants.d.ts +0 -0
- package/{dist/components → components}/stream/AppSwitcher/constants.js +0 -0
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +0 -0
- package/lang/en-us.d.ts +15 -0
- package/lang/en-us.js +18 -0
- package/package.json +3 -70
- package/{dist/types → types}/components/navigation/VerticalNavigation.d.ts +0 -0
- package/{dist/types → types}/components/navigation/VerticalNavigation.js +0 -0
- package/{dist/types → types}/components/navigation/VerticalNavigationAvatar.d.ts +1 -0
- package/{dist/types → types}/components/navigation/VerticalNavigationAvatar.js +0 -0
- package/{dist/types → types}/components/stream/AppSwitcher.d.ts +0 -0
- package/{dist/types → types}/components/stream/AppSwitcher.js +0 -0
- package/{dist/types → types}/index.d.ts +0 -0
- package/{dist/types → types}/index.js +0 -0
- package/{dist/utils → utils}/constants.d.ts +0 -0
- package/{dist/utils → utils}/constants.js +0 -0
- package/{dist/utils → utils}/helpers.d.ts +0 -0
- package/{dist/utils → utils}/helpers.js +0 -0
- package/{dist/utils → utils}/hooks.d.ts +0 -0
- package/{dist/utils → utils}/hooks.js +0 -0
- package/{dist/utils → utils}/index.d.ts +0 -0
- package/{dist/utils → utils}/index.js +0 -0
- package/{dist/utils → utils}/theme.d.ts +0 -0
- package/{dist/utils → utils}/theme.js +0 -0
- package/.eslintrc.js +0 -40
- package/.github/pull_request_template.md +0 -23
- package/.github/renovate.json +0 -57
- package/.github/workflows/integration.yml +0 -53
- package/.github/workflows/wss.yml +0 -22
- package/.jest-test-results.json +0 -1
- package/.releaserc +0 -32
- package/.storybook/learningpoolTheme.js +0 -39
- package/.storybook/main.js +0 -21
- package/.storybook/manager-head.html +0 -175
- package/.storybook/manager.js +0 -34
- package/.storybook/preview-head.html +0 -212
- package/.storybook/preview.js +0 -120
- package/.storybook/storybook-sort.js +0 -54
- package/CHANGELOG.md +0 -20
- package/amplify.yml +0 -16
- package/babel.config.json +0 -14
- package/dist/components/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.js +0 -31
- package/dist/lang/en-us.d.ts +0 -6
- package/dist/lang/en-us.js +0 -6
- package/dist/package.json +0 -41
- package/jest.config.ts +0 -11
- package/jest.setup.ts +0 -5
- package/license +0 -7
- package/merge.js +0 -27
- package/public/android-chrome-192x192.png +0 -0
- package/public/android-chrome-512x512.png +0 -0
- package/public/apple-touch-icon.png +0 -0
- package/public/assets/atoms.svg +0 -5
- package/public/assets/automation.svg +0 -1
- package/public/assets/avatar-1.jpg +0 -0
- package/public/assets/avatar-2.jpg +0 -0
- package/public/assets/avatar-3.jpg +0 -0
- package/public/assets/flux/icon-dark.svg +0 -6
- package/public/assets/flux/icon-light.svg +0 -1
- package/public/assets/flux/icon-white.svg +0 -6
- package/public/assets/flux/icon.svg +0 -6
- package/public/assets/flux/logo-dark.svg +0 -22
- package/public/assets/flux/logo-light.svg +0 -1
- package/public/assets/flux/logo-white.svg +0 -22
- package/public/assets/flux/logo.svg +0 -22
- package/public/assets/iPhone6.jpg +0 -0
- package/public/assets/iPhone6Plus.jpg +0 -0
- package/public/assets/lp-logo.png +0 -0
- package/public/assets/lplogo.svg +0 -1
- package/public/assets/molecules.svg +0 -8
- package/public/assets/organisms.svg +0 -21
- package/public/assets/pages.svg +0 -4
- package/public/assets/particles.svg +0 -3
- package/public/assets/stream-dark.png +0 -0
- package/public/assets/stream-suite-logo.svg +0 -38
- package/public/assets/stream-white.png +0 -0
- package/public/assets/stream.png +0 -0
- package/public/assets/templates.svg +0 -3
- package/public/favicon-16x16.png +0 -0
- package/public/favicon-32x32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/public/site.webmanifest +0 -1
- package/readme.md +0 -132
- package/src/docs.tsx +0 -167
- package/src/lib/assets/Images.tsx +0 -47
- package/src/lib/assets/stream-suite-logo.svg +0 -38
- package/src/lib/components/atoms/Autocomplete/Autocomplete.test.tsx +0 -179
- package/src/lib/components/atoms/Autocomplete/Autocomplete.tsx +0 -14
- package/src/lib/components/atoms/Button/Button.test.tsx +0 -166
- package/src/lib/components/atoms/Button/Button.tsx +0 -16
- package/src/lib/components/atoms/Checkbox/Checkbox.test.tsx +0 -85
- package/src/lib/components/atoms/Checkbox/Checkbox.tsx +0 -10
- package/src/lib/components/atoms/IconButton/IconButton.test.tsx +0 -60
- package/src/lib/components/atoms/IconButton/IconButton.tsx +0 -9
- package/src/lib/components/atoms/Radio/Radio.test.tsx +0 -136
- package/src/lib/components/atoms/Radio/Radio.tsx +0 -10
- package/src/lib/components/atoms/Select/Select.test.tsx +0 -158
- package/src/lib/components/atoms/Select/Select.tsx +0 -12
- package/src/lib/components/atoms/Slider/Slider.test.tsx +0 -103
- package/src/lib/components/atoms/Slider/Slider.tsx +0 -10
- package/src/lib/components/atoms/Switch/Switch.test.tsx +0 -96
- package/src/lib/components/atoms/Switch/Switch.tsx +0 -10
- package/src/lib/components/atoms/TextField/TextField.test.tsx +0 -131
- package/src/lib/components/atoms/TextField/TextField.tsx +0 -31
- package/src/lib/components/atoms/ToggleButton/ToggleButton.test.tsx +0 -122
- package/src/lib/components/atoms/ToggleButton/ToggleButton.tsx +0 -10
- package/src/lib/components/datadisplay/Avatar/Avatar.test.tsx +0 -187
- package/src/lib/components/datadisplay/Avatar/Avatar.tsx +0 -35
- package/src/lib/components/datadisplay/Avatar/avatar-1.jpg +0 -0
- package/src/lib/components/datadisplay/Chip/Chip.test.tsx +0 -82
- package/src/lib/components/datadisplay/Chip/Chip.tsx +0 -11
- package/src/lib/components/datadisplay/List/List.test.tsx +0 -168
- package/src/lib/components/datadisplay/List/List.tsx +0 -8
- package/src/lib/components/datadisplay/Tooltip/Tooltip.test.tsx +0 -98
- package/src/lib/components/datadisplay/Tooltip/Tooltip.tsx +0 -9
- package/src/lib/components/feedback/Alert/Alert.test.tsx +0 -139
- package/src/lib/components/feedback/Alert/Alert.tsx +0 -10
- package/src/lib/components/landmarks/Header/Header.tsx +0 -140
- package/src/lib/components/landmarks/Header/HeaderActionButtons.tsx +0 -117
- package/src/lib/components/landmarks/Header/HeaderStyles.tsx +0 -62
- package/src/lib/components/navigation/Drawer/Drawer.test.tsx +0 -95
- package/src/lib/components/navigation/Drawer/Drawer.tsx +0 -21
- package/src/lib/components/navigation/MobileNavigation/MobileNavigation.tsx +0 -276
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationAvatar.tsx +0 -334
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationAvatarStyles.tsx +0 -77
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationDrawer.tsx +0 -197
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationDrawerStyles.tsx +0 -143
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItem.tsx +0 -192
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenu.tsx +0 -67
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemFlyoutMenuStyles.tsx +0 -192
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationItem/MobileNavigationItemStyles.tsx +0 -217
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationMotion.tsx +0 -119
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationNotchIndicator.tsx +0 -35
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationSearch.tsx +0 -114
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationSearchStyles.tsx +0 -47
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationStyles.tsx +0 -320
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationToggleSearchX.tsx +0 -59
- package/src/lib/components/navigation/MobileNavigation/MobileNavigationToggleX.tsx +0 -51
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigation.tsx +0 -468
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationAvatar.tsx +0 -208
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationAvatarStyles.tsx +0 -75
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItem.tsx +0 -196
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenu.tsx +0 -94
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemFlyoutMenuStyles.tsx +0 -212
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationItem/VerticalNavigationItemStyles.tsx +0 -240
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationMotion.tsx +0 -119
- package/src/lib/components/navigation/VerticalNavigation/VerticalNavigationStyles.tsx +0 -302
- package/src/lib/components/pages/ErrorPage/ErrorPage.test.tsx +0 -78
- package/src/lib/components/pages/ErrorPage/ErrorPage.tsx +0 -50
- package/src/lib/components/pages/ErrorPage/ErrorPageStyles.tsx +0 -30
- package/src/lib/components/pages/SideInSide/SideInSide.tsx +0 -100
- package/src/lib/components/pages/SideInSide/SideInSideStyles.tsx +0 -62
- package/src/lib/components/stream/AppSwitcher/AppSwitcher.tsx +0 -381
- package/src/lib/components/stream/AppSwitcher/AppSwitcherItem.tsx +0 -84
- package/src/lib/components/stream/AppSwitcher/AppSwitcherStyles.tsx +0 -325
- package/src/lib/components/stream/AppSwitcher/constants.tsx +0 -28
- package/src/lib/index.tsx +0 -148
- package/src/lib/lang/en-us.js +0 -6
- package/src/lib/types/components/navigation/VerticalNavigation.ts +0 -52
- package/src/lib/types/components/navigation/VerticalNavigationAvatar.ts +0 -26
- package/src/lib/types/components/stream/AppSwitcher.ts +0 -10
- package/src/lib/types/index.ts +0 -9
- package/src/lib/utils/constants.tsx +0 -11
- package/src/lib/utils/helpers.tsx +0 -77
- package/src/lib/utils/hooks.tsx +0 -33
- package/src/lib/utils/index.tsx +0 -4
- package/src/lib/utils/theme.tsx +0 -79
- package/src/react-app-env.d.ts +0 -1
- package/src/setupTests.ts +0 -5
- package/src/stories/Components/DataDisplay/Avatar/Accessibility.stories.mdx +0 -34
- package/src/stories/Components/DataDisplay/Avatar/AllCombinations.tsx +0 -56
- package/src/stories/Components/DataDisplay/Avatar/Avatar.stories.tsx +0 -19
- package/src/stories/Components/DataDisplay/Avatar/Examples.stories.tsx +0 -278
- package/src/stories/Components/DataDisplay/Avatar/Overview.stories.mdx +0 -47
- package/src/stories/Components/DataDisplay/Chip/Accessibility.stories.mdx +0 -29
- package/src/stories/Components/DataDisplay/Chip/AllCombinations.tsx +0 -58
- package/src/stories/Components/DataDisplay/Chip/Chip.stories.tsx +0 -21
- package/src/stories/Components/DataDisplay/Chip/Examples.stories.tsx +0 -126
- package/src/stories/Components/DataDisplay/Chip/Overview.stories.mdx +0 -57
- package/src/stories/Components/DataDisplay/List/Accessibility.stories.mdx +0 -54
- package/src/stories/Components/DataDisplay/List/AllCombinations.tsx +0 -396
- package/src/stories/Components/DataDisplay/List/Examples.stories.tsx +0 -501
- package/src/stories/Components/DataDisplay/List/List.stories.tsx +0 -35
- package/src/stories/Components/DataDisplay/List/Overview.stories.mdx +0 -69
- package/src/stories/Components/DataDisplay/Table/Overview.stories.mdx +0 -70
- package/src/stories/Components/DataDisplay/Tooltip/Accessibility.stories.mdx +0 -39
- package/src/stories/Components/DataDisplay/Tooltip/AllCombinations.tsx +0 -134
- package/src/stories/Components/DataDisplay/Tooltip/Examples.stories.tsx +0 -237
- package/src/stories/Components/DataDisplay/Tooltip/Overview.stories.mdx +0 -58
- package/src/stories/Components/DataDisplay/Tooltip/Tooltip.stories.tsx +0 -22
- package/src/stories/Components/Feedback/Alert/Accessibility.stories.mdx +0 -25
- package/src/stories/Components/Feedback/Alert/Alert.stories.tsx +0 -22
- package/src/stories/Components/Feedback/Alert/AllCombinations.tsx +0 -37
- package/src/stories/Components/Feedback/Alert/Examples.stories.tsx +0 -137
- package/src/stories/Components/Feedback/Alert/Overview.stories.mdx +0 -62
- package/src/stories/Components/Inputs/Autocomplete/Accessibility.stories.mdx +0 -31
- package/src/stories/Components/Inputs/Autocomplete/AllCombinations.tsx +0 -182
- package/src/stories/Components/Inputs/Autocomplete/Autocomplete.stories.tsx +0 -31
- package/src/stories/Components/Inputs/Autocomplete/Examples.stories.tsx +0 -233
- package/src/stories/Components/Inputs/Autocomplete/Overview.stories.mdx +0 -52
- package/src/stories/Components/Inputs/Button/Accessibility.stories.mdx +0 -52
- package/src/stories/Components/Inputs/Button/AllCombinations.tsx +0 -53
- package/src/stories/Components/Inputs/Button/Button.stories.tsx +0 -23
- package/src/stories/Components/Inputs/Button/Examples.stories.tsx +0 -190
- package/src/stories/Components/Inputs/Button/Overview.stories.mdx +0 -52
- package/src/stories/Components/Inputs/Checkbox/Accessibility.stories.mdx +0 -38
- package/src/stories/Components/Inputs/Checkbox/AllCombinations.tsx +0 -55
- package/src/stories/Components/Inputs/Checkbox/Checkbox.stories.tsx +0 -22
- package/src/stories/Components/Inputs/Checkbox/Examples.stories.tsx +0 -363
- package/src/stories/Components/Inputs/Checkbox/Overview.stories.mdx +0 -63
- package/src/stories/Components/Inputs/IconButton/Examples.stories.tsx +0 -24
- package/src/stories/Components/Inputs/IconButton/IconButton.stories.tsx +0 -26
- package/src/stories/Components/Inputs/Radio/Accessibility.stories.mdx +0 -61
- package/src/stories/Components/Inputs/Radio/AllCombinations.tsx +0 -75
- package/src/stories/Components/Inputs/Radio/Examples.stories.tsx +0 -333
- package/src/stories/Components/Inputs/Radio/Overview.stories.mdx +0 -74
- package/src/stories/Components/Inputs/Radio/Radio.stories.tsx +0 -22
- package/src/stories/Components/Inputs/Select/Accessibility.stories.mdx +0 -51
- package/src/stories/Components/Inputs/Select/AllCombinations.tsx +0 -63
- package/src/stories/Components/Inputs/Select/Examples.stories.tsx +0 -803
- package/src/stories/Components/Inputs/Select/Overview.stories.mdx +0 -73
- package/src/stories/Components/Inputs/Select/Select.stories.tsx +0 -22
- package/src/stories/Components/Inputs/Slider/Accessibility.stories.mdx +0 -43
- package/src/stories/Components/Inputs/Slider/AllCombinations.tsx +0 -30
- package/src/stories/Components/Inputs/Slider/Examples.stories.tsx +0 -146
- package/src/stories/Components/Inputs/Slider/Overview.stories.mdx +0 -59
- package/src/stories/Components/Inputs/Slider/Slider.stories.tsx +0 -27
- package/src/stories/Components/Inputs/Switch/Accessibility.stories.mdx +0 -34
- package/src/stories/Components/Inputs/Switch/AllCombinations.tsx +0 -45
- package/src/stories/Components/Inputs/Switch/Examples.stories.tsx +0 -213
- package/src/stories/Components/Inputs/Switch/Overview.stories.mdx +0 -62
- package/src/stories/Components/Inputs/Switch/Switch.stories.tsx +0 -22
- package/src/stories/Components/Inputs/TextField/Accessibility.stories.mdx +0 -29
- package/src/stories/Components/Inputs/TextField/AllCombinations.tsx +0 -57
- package/src/stories/Components/Inputs/TextField/Examples.stories.tsx +0 -127
- package/src/stories/Components/Inputs/TextField/Overview.stories.mdx +0 -60
- package/src/stories/Components/Inputs/TextField/TextField.stories.tsx +0 -261
- package/src/stories/Components/Inputs/ToggleButton/Accessibility.stories.mdx +0 -32
- package/src/stories/Components/Inputs/ToggleButton/AllCombinations.tsx +0 -113
- package/src/stories/Components/Inputs/ToggleButton/Examples.stories.tsx +0 -339
- package/src/stories/Components/Inputs/ToggleButton/Overview.stories.mdx +0 -55
- package/src/stories/Components/Inputs/ToggleButton/ToggleButton.stories.tsx +0 -19
- package/src/stories/Components/Landmarks/Header/Examples.stories.tsx +0 -197
- package/src/stories/Components/Landmarks/Header/Header.stories.tsx +0 -34
- package/src/stories/Components/Landmarks/Header/Overview.stories.mdx +0 -44
- package/src/stories/Components/Navigation/Drawer/Accessibility.stories.mdx +0 -13
- package/src/stories/Components/Navigation/Drawer/Drawer.stories.tsx +0 -80
- package/src/stories/Components/Navigation/Drawer/Examples.stories.tsx +0 -440
- package/src/stories/Components/Navigation/Drawer/Overview.stories.mdx +0 -43
- package/src/stories/Components/Navigation/MobileNavigation/Accessibility.stories.mdx +0 -14
- package/src/stories/Components/Navigation/MobileNavigation/Examples.stories.tsx +0 -384
- package/src/stories/Components/Navigation/MobileNavigation/MobileNavigation.stories.tsx +0 -24
- package/src/stories/Components/Navigation/MobileNavigation/Overview.stories.mdx +0 -47
- package/src/stories/Components/Navigation/VerticalNavigation/Accessibility.stories.mdx +0 -14
- package/src/stories/Components/Navigation/VerticalNavigation/Examples.stories.tsx +0 -307
- package/src/stories/Components/Navigation/VerticalNavigation/Overview.stories.mdx +0 -47
- package/src/stories/Components/Navigation/VerticalNavigation/VerticalNavigation.stories.tsx +0 -24
- package/src/stories/ContactUs.stories.mdx +0 -21
- package/src/stories/Experimental/Test.stories.mdx +0 -46
- package/src/stories/GettingStarted/Designer.stories.mdx +0 -86
- package/src/stories/GettingStarted/Developer.stories.mdx +0 -134
- package/src/stories/Guidelines/Accessibility/AssistiveTechnology.stories.mdx +0 -70
- package/src/stories/Guidelines/Accessibility/ColorAndContrast.stories.mdx +0 -109
- package/src/stories/Guidelines/Accessibility/Hierarchy.stories.mdx +0 -119
- package/src/stories/Guidelines/Accessibility/Imagery.stories.mdx +0 -136
- package/src/stories/Guidelines/Accessibility/Overview.stories.mdx +0 -44
- package/src/stories/Guidelines/Accessibility/Principles.stories.mdx +0 -156
- package/src/stories/Guidelines/Accessibility/SoundAndMotion.stories.mdx +0 -59
- package/src/stories/Guidelines/Accessibility/Typography.stories.mdx +0 -69
- package/src/stories/Guidelines/Accessibility/Writing.stories.mdx +0 -188
- package/src/stories/Guidelines/Styleguide/ColorSwatch.tsx +0 -53
- package/src/stories/Guidelines/Styleguide/Colors.stories.mdx +0 -118
- package/src/stories/Guidelines/Styleguide/Typography.stories.mdx +0 -84
- package/src/stories/Introduction.stories.mdx +0 -65
- package/src/stories/Pages/ErrorPage.stories.tsx +0 -30
- package/src/stories/Pages/SideInSide.stories.tsx +0 -195
- package/src/stories/Roadmap.stories.mdx +0 -19
- package/src/stories/Templates/Login.stories.mdx +0 -46
- package/src/stories/assets/Atomic_Design_Icons-Dark.svg +0 -24
- package/src/stories/assets/Atomic_Design_Icons-Light.svg +0 -25
- package/src/stories/assets/accessibility-1.png +0 -0
- package/src/stories/assets/accessibility-2.png +0 -0
- package/src/stories/assets/accessibility-3.png +0 -0
- package/src/stories/assets/accessibility-banner.png +0 -0
- package/src/stories/assets/atoms.svg +0 -6
- package/src/stories/assets/design_system_2022-02-11_12.22pm.png +0 -0
- package/src/stories/assets/figma-tokens.png +0 -0
- package/src/stories/assets/hierarchy-1.jpg +0 -0
- package/src/stories/assets/hierarchy-2.jpg +0 -0
- package/src/stories/assets/hierarchy-3.jpg +0 -0
- package/src/stories/assets/icon-contrast-1.jpg +0 -0
- package/src/stories/assets/icon-contrast-2.jpg +0 -0
- package/src/stories/assets/imagery-1.png +0 -0
- package/src/stories/assets/imagery-2.png +0 -0
- package/src/stories/assets/imagery-3.png +0 -0
- package/src/stories/assets/imagery-4.jpg +0 -0
- package/src/stories/assets/molecules.svg +0 -9
- package/src/stories/assets/organisms.svg +0 -22
- package/src/stories/assets/pages.svg +0 -5
- package/src/stories/assets/particles.svg +0 -4
- package/src/stories/assets/templates.svg +0 -4
- package/src/stories/assets/testData.tsx +0 -102
- package/src/stories/assets/text-contrast-1.jpg +0 -0
- package/src/stories/assets/text-contrast-2.jpg +0 -0
- package/src/stories/assets/typography-1.png +0 -0
- package/src/stories/assets/visual-clues-1.png +0 -0
- package/src/stories/assets/visual-clues-2.png +0 -0
- package/src/stories/assets/writing-1.jpg +0 -0
- package/src/stories/assets/writing-2.png +0 -0
- package/src/stories/assets/writing-3.png +0 -0
- package/src/stories/assets/writing-4.png +0 -0
- package/src/stories/utils/CustomIcons.tsx +0 -44
- package/tsconfig.eslint.json +0 -16
- package/tsconfig.json +0 -50
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
import { styled } from '@mui/material/styles'
|
|
2
|
-
|
|
3
|
-
export const AppSwitcherPanel = styled('div')`
|
|
4
|
-
background-color: ${props => props.theme.palette.mode === 'dark'
|
|
5
|
-
? props.theme.palette.primary.dark
|
|
6
|
-
: '#E6EAF0'};
|
|
7
|
-
border-radius: 0 4px 4px 0;
|
|
8
|
-
bottom: 0;
|
|
9
|
-
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%);
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
font-family: 'Roboto';
|
|
12
|
-
height: 450px;
|
|
13
|
-
left: 57px;
|
|
14
|
-
overflow: auto;
|
|
15
|
-
overflow-x: hidden;
|
|
16
|
-
padding: 1rem 1.5rem;
|
|
17
|
-
position: fixed;
|
|
18
|
-
width: 360px;
|
|
19
|
-
z-index: 1;
|
|
20
|
-
|
|
21
|
-
& > div {
|
|
22
|
-
padding-bottom: 3rem;
|
|
23
|
-
}
|
|
24
|
-
`
|
|
25
|
-
|
|
26
|
-
export const List = styled('ul')`
|
|
27
|
-
`
|
|
28
|
-
|
|
29
|
-
export const MenuContent = styled('div')`
|
|
30
|
-
align-items: flex-start;
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
flex-wrap: wrap;
|
|
33
|
-
justify-content: flex-start;
|
|
34
|
-
margin-top: 1rem;
|
|
35
|
-
`
|
|
36
|
-
|
|
37
|
-
export const SearchContent = styled('div')`
|
|
38
|
-
align-items: flex-start;
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
justify-content: flex-start;
|
|
42
|
-
padding: 1rem 1rem 2rem;
|
|
43
|
-
`
|
|
44
|
-
|
|
45
|
-
export const AppListHeader = styled('div')`
|
|
46
|
-
align-items: center;
|
|
47
|
-
color: ${props => props.theme.palette.mode === 'dark'
|
|
48
|
-
? props.theme.palette.primary.contrastText
|
|
49
|
-
: '#555'};
|
|
50
|
-
display: flex;
|
|
51
|
-
font-size: 1.2rem;
|
|
52
|
-
font-weight: normal;
|
|
53
|
-
justify-content: flex-start;
|
|
54
|
-
padding: 1rem 1.25rem 0;
|
|
55
|
-
|
|
56
|
-
& svg {
|
|
57
|
-
height: 24px;
|
|
58
|
-
margin-right: 0.5rem;
|
|
59
|
-
width: 24px;
|
|
60
|
-
}
|
|
61
|
-
`
|
|
62
|
-
export const AppListItem = styled('div')`
|
|
63
|
-
align-items: center;
|
|
64
|
-
align-self: stretch;
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
flex-direction: column;
|
|
67
|
-
flex: 0 0 ${100 / 3}%;
|
|
68
|
-
height: 104px;
|
|
69
|
-
overflow: visible;
|
|
70
|
-
padding: 0.25rem;
|
|
71
|
-
position: relative;
|
|
72
|
-
|
|
73
|
-
&:hover {
|
|
74
|
-
background-color: transparent;
|
|
75
|
-
}
|
|
76
|
-
`
|
|
77
|
-
|
|
78
|
-
export const AppLink = styled('a')`
|
|
79
|
-
align-items: center;
|
|
80
|
-
border-radius: 4px;
|
|
81
|
-
box-shadow: none;
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
font-size: 0.85rem;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
overflow: hidden;
|
|
88
|
-
padding: 1rem 0 0.5rem;
|
|
89
|
-
position: absolute;
|
|
90
|
-
text-align: center;
|
|
91
|
-
text-decoration: none;
|
|
92
|
-
width: 100%;
|
|
93
|
-
|
|
94
|
-
& .MuiTouchRipple-rippleVisible {
|
|
95
|
-
color: #004071;
|
|
96
|
-
opacity: 0.25;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&:hover,
|
|
100
|
-
&:focus {
|
|
101
|
-
background-color: ${props => props.theme.palette.mode === 'dark'
|
|
102
|
-
? 'rgba(22, 92, 141, 1)'
|
|
103
|
-
: '#ebf2fc'};
|
|
104
|
-
text-decoration: none;
|
|
105
|
-
z-index: 2;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&:active {
|
|
109
|
-
background-color: #f1f1f1;
|
|
110
|
-
z-index: 2;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
& svg {
|
|
114
|
-
height: 60px;
|
|
115
|
-
width: 60px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&:hover + span,
|
|
119
|
-
&:focus + span {
|
|
120
|
-
opacity: 1;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&:hover svg,
|
|
124
|
-
&:focus svg {
|
|
125
|
-
background-color: ${props => props.theme.palette.mode === 'dark'
|
|
126
|
-
? 'rgba(22, 92, 141, 1)'
|
|
127
|
-
: '#ebf2fc'};
|
|
128
|
-
border-color: ${props => props.theme.palette.mode === 'dark'
|
|
129
|
-
? 'rgba(22, 92, 141, 1)'
|
|
130
|
-
: '#ebf2fc'};
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// Show full app name on hover
|
|
134
|
-
&:hover div,
|
|
135
|
-
&:focus div {
|
|
136
|
-
white-space: normal;
|
|
137
|
-
word-wrap: break-word;
|
|
138
|
-
}
|
|
139
|
-
`
|
|
140
|
-
|
|
141
|
-
export const AppName = styled('div')`
|
|
142
|
-
color: ${props => props.theme.palette.mode === 'dark'
|
|
143
|
-
? props.theme.palette.primary.contrastText
|
|
144
|
-
: '#555'};
|
|
145
|
-
font-weight: normal;
|
|
146
|
-
margin: 0.5rem 0 0;
|
|
147
|
-
overflow: hidden;
|
|
148
|
-
text-overflow: ellipsis;
|
|
149
|
-
white-space: nowrap;
|
|
150
|
-
width: 90px;
|
|
151
|
-
`
|
|
152
|
-
|
|
153
|
-
export const BackButton = styled('button')`
|
|
154
|
-
align-items: center;
|
|
155
|
-
background: transparent;
|
|
156
|
-
border: 0;
|
|
157
|
-
color: ${props => props.theme.palette.mode === 'dark'
|
|
158
|
-
? props.theme.palette.primary.contrastText
|
|
159
|
-
: '#555'};
|
|
160
|
-
cursor: pointer;
|
|
161
|
-
display: flex;
|
|
162
|
-
padding: 0.25rem 0;
|
|
163
|
-
text-align: left;
|
|
164
|
-
width: 100%;
|
|
165
|
-
|
|
166
|
-
&:focus,
|
|
167
|
-
&:hover {
|
|
168
|
-
background-color: ${props => props.theme.palette.mode === 'dark'
|
|
169
|
-
? 'rgba(255, 255, 255, 0.1)'
|
|
170
|
-
: 'rgba(0, 0, 0, 0.1)'};
|
|
171
|
-
}
|
|
172
|
-
`
|
|
173
|
-
|
|
174
|
-
export const SearchBox = styled('input')`
|
|
175
|
-
background: #f4f4f4;
|
|
176
|
-
border: thin solid #888;
|
|
177
|
-
box-sizing: border-box;
|
|
178
|
-
color: #777;
|
|
179
|
-
padding: 0.5rem;
|
|
180
|
-
width: 100%;
|
|
181
|
-
|
|
182
|
-
&:hover .MuiOutlinedInput-notchedOutline {
|
|
183
|
-
border-color: #888;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
& .MuiOutlinedInput-root {
|
|
187
|
-
border-radius: 0;
|
|
188
|
-
color: #777;
|
|
189
|
-
padding: 0;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
& .MuiOutlinedInput-input {
|
|
193
|
-
padding: 0.5rem;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
& ::placeholder {
|
|
197
|
-
opacity: 0.75;
|
|
198
|
-
}
|
|
199
|
-
`
|
|
200
|
-
|
|
201
|
-
export const AppOrganisationCount = styled('span')`
|
|
202
|
-
background: #00497D;
|
|
203
|
-
border-color: #616161;
|
|
204
|
-
border-radius: 4px;
|
|
205
|
-
border: none;
|
|
206
|
-
color: white;
|
|
207
|
-
font-size: 1rem;
|
|
208
|
-
font-weight: bold;
|
|
209
|
-
height: 48%;
|
|
210
|
-
left: 54%;
|
|
211
|
-
line-height: 50px;
|
|
212
|
-
margin-top: 0;
|
|
213
|
-
opacity: 0;
|
|
214
|
-
pointer-events: none;
|
|
215
|
-
position: absolute;
|
|
216
|
-
text-align: center;
|
|
217
|
-
top: 49%;
|
|
218
|
-
transform: translate(-50%, -50%);
|
|
219
|
-
width: 50%;
|
|
220
|
-
z-index: 3;
|
|
221
|
-
`
|
|
222
|
-
|
|
223
|
-
export const SelectedOrganisation = styled('div')`
|
|
224
|
-
align-items: center;
|
|
225
|
-
color: ${props => props.theme.palette.mode === 'dark'
|
|
226
|
-
? props.theme.palette.primary.contrastText
|
|
227
|
-
: '#555'};
|
|
228
|
-
display: flex;
|
|
229
|
-
flex-direction: row;
|
|
230
|
-
justify-content: flex-start;
|
|
231
|
-
padding: 1.5rem 0;
|
|
232
|
-
width: 100%;
|
|
233
|
-
|
|
234
|
-
& svg,
|
|
235
|
-
& svg image {
|
|
236
|
-
height: 24px;
|
|
237
|
-
width: 24px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
& span {
|
|
241
|
-
font-size: 1.2rem;
|
|
242
|
-
font-weight: normal;
|
|
243
|
-
margin: 0 0 0 .5rem;
|
|
244
|
-
}
|
|
245
|
-
`
|
|
246
|
-
|
|
247
|
-
export const StyledSVG = styled('svg')`
|
|
248
|
-
box-sizing: content-box;
|
|
249
|
-
display: inline-block;
|
|
250
|
-
fill: currentcolor;
|
|
251
|
-
flex-shrink: 0;
|
|
252
|
-
font-size: 1.5rem;
|
|
253
|
-
height: 1em;
|
|
254
|
-
margin: 4px;
|
|
255
|
-
padding: 0;
|
|
256
|
-
user-select: none;
|
|
257
|
-
width: 1em;
|
|
258
|
-
`
|
|
259
|
-
|
|
260
|
-
export const OrganisationList = styled('div')`
|
|
261
|
-
height: 300px;
|
|
262
|
-
overflow: auto;
|
|
263
|
-
padding-top: 0.5rem;
|
|
264
|
-
width: 100%;
|
|
265
|
-
`
|
|
266
|
-
|
|
267
|
-
export const OrganisationLink = styled('a')`
|
|
268
|
-
align-items: center;
|
|
269
|
-
border-radius: 4px;
|
|
270
|
-
box-shadow: none;
|
|
271
|
-
color: ${props => props.theme.palette.mode === 'dark'
|
|
272
|
-
? props.theme.palette.primary.contrastText
|
|
273
|
-
: '#555'};
|
|
274
|
-
display: flex;
|
|
275
|
-
font-size: 1rem;
|
|
276
|
-
justify-content: space-between;
|
|
277
|
-
margin: 0 0.125rem;
|
|
278
|
-
padding: 0.5rem;
|
|
279
|
-
text-decoration: none;
|
|
280
|
-
transition: all 200ms ease;
|
|
281
|
-
|
|
282
|
-
& .MuiTouchRipple-rippleVisible {
|
|
283
|
-
color: #004071;
|
|
284
|
-
opacity: 0.25;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
&:focus,
|
|
288
|
-
&:hover {
|
|
289
|
-
background-color: ${props => props.theme.palette.mode === 'dark'
|
|
290
|
-
? 'rgba(255, 255, 255, 0.1)'
|
|
291
|
-
: 'rgba(0, 0, 0, 0.1)'};
|
|
292
|
-
|
|
293
|
-
& svg {
|
|
294
|
-
visibility: visible;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
&:active {
|
|
299
|
-
background-color: #f1f1f1;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
& .MuiLink-root {
|
|
303
|
-
align-items: center;
|
|
304
|
-
color: #555;
|
|
305
|
-
display: flex;
|
|
306
|
-
justify-content: space-between;
|
|
307
|
-
text-decoration: none;
|
|
308
|
-
width: 100%;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
& svg {
|
|
312
|
-
visibility: hidden;
|
|
313
|
-
}
|
|
314
|
-
`
|
|
315
|
-
|
|
316
|
-
export const StyledLogoSVG = styled('svg')`
|
|
317
|
-
background-color: ${props => props.theme.palette.mode === 'dark'
|
|
318
|
-
? props.theme.palette.primary.dark
|
|
319
|
-
: '#E6EAF0'};
|
|
320
|
-
border: thin solid ${props => props.theme.palette.mode === 'dark'
|
|
321
|
-
? props.theme.palette.primary.dark
|
|
322
|
-
: '#E6EAF0'};
|
|
323
|
-
position: relative;
|
|
324
|
-
z-index: 1;
|
|
325
|
-
`
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export const Constants = Object.freeze({
|
|
2
|
-
LocalStorageKey: {
|
|
3
|
-
Token: 'lp-home-access-token',
|
|
4
|
-
Applications: 'lp-home-applications'
|
|
5
|
-
},
|
|
6
|
-
HomeAttributes: {
|
|
7
|
-
UserId: 'lp-home-user-id'
|
|
8
|
-
},
|
|
9
|
-
BaseUrl: 'https://api.home.learningpool.com/',
|
|
10
|
-
AssetsUrl: 'https://uuicdn.learningpool.com/',
|
|
11
|
-
Layout: {
|
|
12
|
-
Vertical: 'vertical',
|
|
13
|
-
Horizontal: 'horizontal'
|
|
14
|
-
},
|
|
15
|
-
Tabs: {
|
|
16
|
-
ListApplications: 1,
|
|
17
|
-
ListOrgs: 2
|
|
18
|
-
}
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
export const applications = [
|
|
22
|
-
{ applicationId: 1, applicationName: 'Stream LXP', shortName: 'LXP', internalName: 'stream', url: 'https://learningpool.com' },
|
|
23
|
-
{ applicationId: 2, applicationName: 'Stream Analytics', shortName: 'Long Wrapping Test Stream Analytics', internalName: 'analytics', url: 'https://learningpool.com' },
|
|
24
|
-
{ applicationId: 3, applicationName: 'Stream Automation', shortName: 'Event Management', internalName: 'automation', customName: 'Waves 1', url: 'https://learningpool.com' },
|
|
25
|
-
{ applicationId: 3, applicationName: 'Stream Automation', shortName: 'Automation', internalName: 'automation', customName: 'Waves 2', url: 'https://learningpool.com' },
|
|
26
|
-
{ applicationId: 7, applicationName: 'Stream LMS', shortName: 'LMS', internalName: 'lms', customName: '', url: 'https://learningpool.com' },
|
|
27
|
-
{ applicationId: 4, applicationName: 'Stream Authoring', shortName: 'Authoring', internalName: 'authoring', customName: '', url: 'https://learningpool.com' }
|
|
28
|
-
]
|
package/src/lib/index.tsx
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
// Straight from @mui/material
|
|
2
|
-
export { default as Accordion } from '@mui/material/Accordion'
|
|
3
|
-
export { default as AccordionActions } from '@mui/material/AccordionActions'
|
|
4
|
-
export { default as AccordionDetails } from '@mui/material/AccordionDetails'
|
|
5
|
-
export { default as AccordionSummary } from '@mui/material/AccordionSummary'
|
|
6
|
-
export { default as Alert } from '@mui/material/Alert'
|
|
7
|
-
export { default as AlertTitle } from '@mui/material/AlertTitle'
|
|
8
|
-
export { default as AppBar } from '@mui/material/AppBar'
|
|
9
|
-
export { default as Autocomplete } from '@mui/material/Autocomplete'
|
|
10
|
-
// export { default as Avatar } from '@mui/material/Avatar'
|
|
11
|
-
export { default as AvatarGroup } from '@mui/material/AvatarGroup'
|
|
12
|
-
export { default as Backdrop } from '@mui/material/Backdrop'
|
|
13
|
-
export { default as Badge } from '@mui/material/Badge'
|
|
14
|
-
export { default as BottomNavigation } from '@mui/material/BottomNavigation'
|
|
15
|
-
export { default as BottomNavigationAction } from '@mui/material/BottomNavigationAction'
|
|
16
|
-
export { default as Box } from '@mui/material/Box'
|
|
17
|
-
export { default as Breadcrumbs } from '@mui/material/Breadcrumbs'
|
|
18
|
-
// export { default as Button } from '@mui/material/Button'
|
|
19
|
-
export { default as ButtonBase } from '@mui/material/ButtonBase'
|
|
20
|
-
export { default as ButtonGroup } from '@mui/material/ButtonGroup'
|
|
21
|
-
export { default as Card } from '@mui/material/Card'
|
|
22
|
-
export { default as CardActionArea } from '@mui/material/CardActionArea'
|
|
23
|
-
export { default as CardActions } from '@mui/material/CardActions'
|
|
24
|
-
export { default as CardContent } from '@mui/material/CardContent'
|
|
25
|
-
export { default as CardHeader } from '@mui/material/CardHeader'
|
|
26
|
-
export { default as CardMedia } from '@mui/material/CardMedia'
|
|
27
|
-
// export { default as Checkbox } from '@mui/material/Checkbox'
|
|
28
|
-
export { default as Chip } from '@mui/material/Chip'
|
|
29
|
-
export { default as CircularProgress } from '@mui/material/CircularProgress'
|
|
30
|
-
export { default as ClickAwayListener } from '@mui/material/ClickAwayListener'
|
|
31
|
-
export { default as Collapse } from '@mui/material/Collapse'
|
|
32
|
-
export { default as Container } from '@mui/material/Container'
|
|
33
|
-
export { default as CssBaseline } from '@mui/material/CssBaseline'
|
|
34
|
-
export { default as darkScrollbar } from '@mui/material/darkScrollbar'
|
|
35
|
-
export { default as Dialog } from '@mui/material/Dialog'
|
|
36
|
-
export { default as DialogActions } from '@mui/material/DialogActions'
|
|
37
|
-
export { default as DialogContent } from '@mui/material/DialogContent'
|
|
38
|
-
export { default as DialogContentText } from '@mui/material/DialogContentText'
|
|
39
|
-
export { default as DialogTitle } from '@mui/material/DialogTitle'
|
|
40
|
-
export { default as Divider } from '@mui/material/Divider'
|
|
41
|
-
// export { default as Drawer } from '@mui/material/Drawer'
|
|
42
|
-
export { default as Fab } from '@mui/material/Fab'
|
|
43
|
-
export { default as Fade } from '@mui/material/Fade'
|
|
44
|
-
export { default as FilledInput } from '@mui/material/FilledInput'
|
|
45
|
-
export { default as FormControl } from '@mui/material/FormControl'
|
|
46
|
-
export { default as FormControlLabel } from '@mui/material/FormControlLabel'
|
|
47
|
-
export { default as FormGroup } from '@mui/material/FormGroup'
|
|
48
|
-
export { default as FormHelperText } from '@mui/material/FormHelperText'
|
|
49
|
-
export { default as FormLabel } from '@mui/material/FormLabel'
|
|
50
|
-
export { default as Grid } from '@mui/material/Grid'
|
|
51
|
-
export { default as Grow } from '@mui/material/Grow'
|
|
52
|
-
export { default as Hidden } from '@mui/material/Hidden'
|
|
53
|
-
export { default as Icon } from '@mui/material/Icon'
|
|
54
|
-
// export { default as IconButton } from '@mui/material/IconButton'
|
|
55
|
-
export { default as ImageList } from '@mui/material/ImageList'
|
|
56
|
-
export { default as ImageListItem } from '@mui/material/ImageListItem'
|
|
57
|
-
export { default as ImageListItemBar } from '@mui/material/ImageListItemBar'
|
|
58
|
-
export { default as Input } from '@mui/material/Input'
|
|
59
|
-
export { default as InputAdornment } from '@mui/material/InputAdornment'
|
|
60
|
-
export { default as InputBase } from '@mui/material/InputBase'
|
|
61
|
-
export { default as InputLabel } from '@mui/material/InputLabel'
|
|
62
|
-
export { default as LinearProgress } from '@mui/material/LinearProgress'
|
|
63
|
-
export { default as Link } from '@mui/material/Link'
|
|
64
|
-
// export { default as List } from '@mui/material/List'
|
|
65
|
-
export { default as ListItem } from '@mui/material/ListItem'
|
|
66
|
-
export { default as ListItemAvatar } from '@mui/material/ListItemAvatar'
|
|
67
|
-
export { default as ListItemButton } from '@mui/material/ListItemButton'
|
|
68
|
-
export { default as ListItemIcon } from '@mui/material/ListItemIcon'
|
|
69
|
-
export { default as ListItemSecondaryAction } from '@mui/material/ListItemSecondaryAction'
|
|
70
|
-
export { default as ListItemText } from '@mui/material/ListItemText'
|
|
71
|
-
export { default as ListSubheader } from '@mui/material/ListSubheader'
|
|
72
|
-
export { default as Menu } from '@mui/material/Menu'
|
|
73
|
-
export { default as MenuItem } from '@mui/material/MenuItem'
|
|
74
|
-
export { default as MenuList } from '@mui/material/MenuList'
|
|
75
|
-
export { default as MobileStepper } from '@mui/material/MobileStepper'
|
|
76
|
-
export { default as Modal } from '@mui/material/Modal'
|
|
77
|
-
export { default as NativeSelect } from '@mui/material/NativeSelect'
|
|
78
|
-
export { default as NoSsr } from '@mui/material/NoSsr'
|
|
79
|
-
export { default as OutlinedInput } from '@mui/material/OutlinedInput'
|
|
80
|
-
export { default as Pagination } from '@mui/material/Pagination'
|
|
81
|
-
export { default as PaginationItem } from '@mui/material/PaginationItem'
|
|
82
|
-
export { default as Paper } from '@mui/material/Paper'
|
|
83
|
-
export { default as Popover } from '@mui/material/Popover'
|
|
84
|
-
export { default as Popper } from '@mui/material/Popper'
|
|
85
|
-
export { default as Portal } from '@mui/material/Portal'
|
|
86
|
-
export { default as Radio } from '@mui/material/Radio'
|
|
87
|
-
export { default as RadioGroup } from '@mui/material/RadioGroup'
|
|
88
|
-
export { default as Rating } from '@mui/material/Rating'
|
|
89
|
-
export { default as ScopedCssBaseline } from '@mui/material/ScopedCssBaseline'
|
|
90
|
-
export { default as Select } from '@mui/material/Select'
|
|
91
|
-
export { default as Skeleton } from '@mui/material/Skeleton'
|
|
92
|
-
export { default as Slide } from '@mui/material/Slide'
|
|
93
|
-
export { default as Slider } from '@mui/material/Slider'
|
|
94
|
-
export { default as Snackbar } from '@mui/material/Snackbar'
|
|
95
|
-
export { default as SnackbarContent } from '@mui/material/SnackbarContent'
|
|
96
|
-
export { default as SpeedDial } from '@mui/material/SpeedDial'
|
|
97
|
-
export { default as SpeedDialAction } from '@mui/material/SpeedDialAction'
|
|
98
|
-
export { default as SpeedDialIcon } from '@mui/material/SpeedDialIcon'
|
|
99
|
-
export { default as Stack } from '@mui/material/Stack'
|
|
100
|
-
export { default as Step } from '@mui/material/Step'
|
|
101
|
-
export { default as StepButton } from '@mui/material/StepButton'
|
|
102
|
-
export { default as StepConnector } from '@mui/material/StepConnector'
|
|
103
|
-
export { default as StepContent } from '@mui/material/StepContent'
|
|
104
|
-
export { default as StepIcon } from '@mui/material/StepIcon'
|
|
105
|
-
export { default as StepLabel } from '@mui/material/StepLabel'
|
|
106
|
-
export { default as Stepper } from '@mui/material/Stepper'
|
|
107
|
-
export { default as SvgIcon } from '@mui/material/SvgIcon'
|
|
108
|
-
export { default as SwipeableDrawer } from '@mui/material/SwipeableDrawer'
|
|
109
|
-
export { default as Switch } from '@mui/material/Switch'
|
|
110
|
-
export { default as Tab } from '@mui/material/Tab'
|
|
111
|
-
export { default as Table } from '@mui/material/Table'
|
|
112
|
-
export { default as TableBody } from '@mui/material/TableBody'
|
|
113
|
-
export { default as TableCell } from '@mui/material/TableCell'
|
|
114
|
-
export { default as TableContainer } from '@mui/material/TableContainer'
|
|
115
|
-
export { default as TableFooter } from '@mui/material/TableFooter'
|
|
116
|
-
export { default as TableHead } from '@mui/material/TableHead'
|
|
117
|
-
export { default as TablePagination } from '@mui/material/TablePagination'
|
|
118
|
-
export { default as TableRow } from '@mui/material/TableRow'
|
|
119
|
-
export { default as TableSortLabel } from '@mui/material/TableSortLabel'
|
|
120
|
-
export { default as Tabs } from '@mui/material/Tabs'
|
|
121
|
-
export { default as TabScrollButton } from '@mui/material/TabScrollButton'
|
|
122
|
-
// export { default as TextField } from '@mui/material/TextField'
|
|
123
|
-
export { default as TextareaAutosize } from '@mui/material/TextareaAutosize'
|
|
124
|
-
export { default as ToggleButton } from '@mui/material/ToggleButton'
|
|
125
|
-
export { default as ToggleButtonGroup } from '@mui/material/ToggleButtonGroup'
|
|
126
|
-
export { default as Toolbar } from '@mui/material/Toolbar'
|
|
127
|
-
// export { default as Tooltip } from '@mui/material/Tooltip'
|
|
128
|
-
export { default as Typography } from '@mui/material/Typography'
|
|
129
|
-
|
|
130
|
-
// Straight from @mui/x-data-grid
|
|
131
|
-
export * from '@mui/x-data-grid'
|
|
132
|
-
|
|
133
|
-
// Learning Pool intercepted
|
|
134
|
-
export { default as Avatar } from './components/datadisplay/Avatar/Avatar'
|
|
135
|
-
export { default as Button } from './components/atoms/Button/Button'
|
|
136
|
-
export { default as IconButton } from './components/atoms/IconButton/IconButton'
|
|
137
|
-
export { default as Checkbox } from './components/atoms/Checkbox/Checkbox'
|
|
138
|
-
export { default as TextField } from './components/atoms/TextField/TextField'
|
|
139
|
-
export { default as Drawer } from './components/navigation/Drawer/Drawer'
|
|
140
|
-
export { default as List } from './components/datadisplay/List/List'
|
|
141
|
-
export { default as Tooltip } from './components/datadisplay/Tooltip/Tooltip'
|
|
142
|
-
export { default as SideInSide } from './components/pages/SideInSide/SideInSide'
|
|
143
|
-
export { default as ErrorPage } from './components/pages/ErrorPage/ErrorPage'
|
|
144
|
-
|
|
145
|
-
// Stream Suite components
|
|
146
|
-
export { default as Header } from './components/landmarks/Header/Header'
|
|
147
|
-
export { default as MobileNavigation } from './components/navigation/MobileNavigation/MobileNavigation'
|
|
148
|
-
export { default as VerticalNavigation } from './components/navigation/VerticalNavigation/VerticalNavigation'
|
package/src/lib/lang/en-us.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { IApplication } from '../stream/AppSwitcher'
|
|
2
|
-
import { IAvatarMenuItemProps } from './VerticalNavigationAvatar'
|
|
3
|
-
|
|
4
|
-
export interface IVerticalNavigationItemProps {
|
|
5
|
-
label: string
|
|
6
|
-
icon?: JSX.Element
|
|
7
|
-
onClick?: any
|
|
8
|
-
isActive?: boolean
|
|
9
|
-
children?: IVerticalNavigationItemProps[]
|
|
10
|
-
isDrawerOpen?: boolean
|
|
11
|
-
index?: number
|
|
12
|
-
isSecondary?: boolean
|
|
13
|
-
hasFlyout?: boolean
|
|
14
|
-
fullHeightFlyout?: boolean
|
|
15
|
-
content?: JSX.Element
|
|
16
|
-
style?: any
|
|
17
|
-
open?: boolean
|
|
18
|
-
hasCustomContent?: boolean
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface IVerticalNavigationProps {
|
|
22
|
-
logo?: string
|
|
23
|
-
logoText?: string
|
|
24
|
-
logoOnClick?: any
|
|
25
|
-
items?: IVerticalNavigationItemProps[]
|
|
26
|
-
secondaryItems?: IVerticalNavigationItemProps[]
|
|
27
|
-
hasStreamHome?: boolean
|
|
28
|
-
streamHomeAccessToken?: string
|
|
29
|
-
streamHomeBaseUrl?: string
|
|
30
|
-
streamHomeApiKey?: string
|
|
31
|
-
streamHomeApplications?: IApplication[]
|
|
32
|
-
avatarName?: string
|
|
33
|
-
isDrawerOpen?: boolean
|
|
34
|
-
isPersistent?: boolean
|
|
35
|
-
setIsPersistent?: any
|
|
36
|
-
appRootID?: string
|
|
37
|
-
|
|
38
|
-
// Avatar panel props
|
|
39
|
-
hasAvatar?: boolean
|
|
40
|
-
avatarPanelLogoutString?: string
|
|
41
|
-
avatarPanelOnClickSwitchDirection?: any
|
|
42
|
-
avatarPanelOnClickLogout?: any
|
|
43
|
-
avatarPanelOnClickViewProfile?: any
|
|
44
|
-
avatarPanelViewProfileString?: string
|
|
45
|
-
avatarPanelOnClickEditProfile?: any
|
|
46
|
-
avatarPanelEditProfileString?: string
|
|
47
|
-
avatarPanelMenuItems?: Array<IAvatarMenuItemProps>
|
|
48
|
-
avatarPanelOnClickMainAction?: any
|
|
49
|
-
avatarPanelMainActionString?: string
|
|
50
|
-
avatarPanelSettingItems?: Array<IAvatarMenuItemProps>
|
|
51
|
-
avatarPanelFootnote?: any
|
|
52
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export interface IAvatarMenuItemProps {
|
|
3
|
-
label: string
|
|
4
|
-
icon: any
|
|
5
|
-
onClick: any
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface IAvatarPanelProps {
|
|
9
|
-
avatarName: string
|
|
10
|
-
editProfileText?: string
|
|
11
|
-
isAvatarOpen: boolean
|
|
12
|
-
|
|
13
|
-
avatarPanelLogoutString?: string
|
|
14
|
-
avatarPanelOnClickSwitchDirection?: any
|
|
15
|
-
avatarPanelOnClickLogout?: any
|
|
16
|
-
avatarPanelOnClickViewProfile?: any
|
|
17
|
-
avatarPanelViewProfileString?: string
|
|
18
|
-
avatarPanelOnClickEditProfile?: any
|
|
19
|
-
avatarPanelEditProfileString?: string
|
|
20
|
-
avatarPanelMenuItems?: Array<IAvatarMenuItemProps>
|
|
21
|
-
avatarPanelOnClickMainAction?: any
|
|
22
|
-
avatarPanelMainActionString?: string
|
|
23
|
-
avatarPanelSettingItems?: Array<IAvatarMenuItemProps>
|
|
24
|
-
avatarPanelInvertNavString?: string
|
|
25
|
-
avatarPanelFootnote?: any
|
|
26
|
-
}
|
package/src/lib/types/index.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// https://www.typescriptlang.org/play#example/types-vs-interfaces
|
|
2
|
-
// https://stackoverflow.com/questions/56018167/typescript-does-not-copy-d-ts-files-to-build
|
|
3
|
-
|
|
4
|
-
// components
|
|
5
|
-
// -- navigation
|
|
6
|
-
export type { IVerticalNavigationItemProps, IVerticalNavigationProps } from './components/navigation/VerticalNavigation'
|
|
7
|
-
export type { IAvatarMenuItemProps, IAvatarPanelProps } from './components/navigation/VerticalNavigationAvatar'
|
|
8
|
-
// -- stream
|
|
9
|
-
export type { IApplication } from './components/stream/AppSwitcher'
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const DEFAULT_REACT_APP_ID = 'root'
|
|
2
|
-
|
|
3
|
-
export const MOBILE_NAV_PANEL_TYPES = {
|
|
4
|
-
DRAWER: 'drawer',
|
|
5
|
-
SEARCH: 'search',
|
|
6
|
-
AVATAR: 'avatar'
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// 50 seems a reasonable default limit
|
|
10
|
-
// https://m2.material.io/design/typography/understanding-typography.html#readability
|
|
11
|
-
export const DEFAULT_MAX_CHARACTERS_PER_LINE = 50
|