@learningpool/ui 1.18.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/components/datadisplay/WelcomeBanner/WelcomeBannerStyles.js +4 -1
  2. package/components/navigation/VerticalNavigation/VerticalNavigation.js +5 -5
  3. package/components/navigation/VerticalNavigation/VerticalNavigationStyles.js +0 -4
  4. package/components/stream/AppHub/AppHub.js +14 -11
  5. package/components/stream/AppHub/AppHubBannerAdvert.js +13 -2
  6. package/components/stream/AppHub/AppHubCustom.d.ts +1 -0
  7. package/components/stream/AppHub/AppHubCustom.js +20 -12
  8. package/components/stream/AppHub/AppHubCustomStyles.d.ts +1 -13
  9. package/components/stream/AppHub/AppHubProduct.d.ts +1 -0
  10. package/components/stream/AppHub/AppHubProduct.js +7 -13
  11. package/components/stream/AppHub/AppHubProductStyles.d.ts +2 -26
  12. package/components/stream/AppHub/AppHubProductStyles.js +1 -0
  13. package/components/stream/AppHub/AppHubStyles.js +2 -1
  14. package/components/stream/AppSwitcher/AppSwitcher.d.ts +2 -32
  15. package/components/stream/AppSwitcher/AppSwitcher.js +117 -261
  16. package/components/stream/AppSwitcher/AppSwitcherStyles.d.ts +46 -74
  17. package/components/stream/AppSwitcher/AppSwitcherStyles.js +46 -322
  18. package/components/stream/AppSwitcher/constants.d.ts +5 -0
  19. package/components/stream/AppSwitcher/constants.js +8 -3
  20. package/lang/en-us.d.ts +1 -0
  21. package/lang/en-us.js +2 -1
  22. package/package.json +1 -1
  23. package/types/components/navigation/VerticalNavigation.d.ts +0 -5
  24. package/types/components/stream/AppHub.d.ts +8 -0
  25. package/types/components/stream/AppSwitcher.d.ts +58 -8
  26. package/utils/helpers.d.ts +2 -1
  27. package/utils/helpers.js +11 -5
  28. package/components/stream/AppSwitcher/AppSwitcherItem.d.ts +0 -17
  29. package/components/stream/AppSwitcher/AppSwitcherItem.js +0 -40
  30. package/components/stream/AppSwitcher/AppSwitcherStylesStandalone.d.ts +0 -16
  31. package/components/stream/AppSwitcher/AppSwitcherStylesStandalone.js +0 -256
  32. package/components/stream/AppSwitcher/PromotionalCampaignItem.d.ts +0 -9
  33. package/components/stream/AppSwitcher/PromotionalCampaignItem.js +0 -29
@@ -1,23 +1,50 @@
1
1
  /// <reference types="react" />
2
- export declare const AppSwitcherPanel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
3
- hasPromotionalCampaign: boolean;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const List: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
6
- export declare const MenuContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- export declare const SearchContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
- export declare const AppListHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const AppListItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- export declare const AppLink: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
11
- export declare const AppName: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
- export declare const BackButton: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
13
- export declare const SearchBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
14
- export declare const AppOrganisationCount: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
15
- export declare const SelectedOrganisation: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
- export declare const StyledSVG: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGSVGElement>, {}>;
17
- export declare const OrganisationList: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
- export declare const OrganisationLink: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
19
- export declare const StyledLogoSVG: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGSVGElement>, {}>;
20
- export declare const StyleHomeButton: import("@emotion/styled").StyledComponent<{
2
+ export declare const AppSwitcherShadow: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const AppSwitcherPanel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ export declare const AppSwitcherHeaderPanel: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
5
+ children?: import("react").ReactNode;
6
+ component?: import("react").ElementType<any> | undefined;
7
+ ref?: import("react").Ref<unknown> | undefined;
8
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
9
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
12
+ export declare const AppSwitcherFooterPanel: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
13
+ children?: import("react").ReactNode;
14
+ component?: import("react").ElementType<any> | undefined;
15
+ ref?: import("react").Ref<unknown> | undefined;
16
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
17
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "children" | "sx" | "component" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint")> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
20
+ export declare const AppSwitcherHeader: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
21
+ align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
22
+ children?: import("react").ReactNode;
23
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
24
+ gutterBottom?: boolean | undefined;
25
+ noWrap?: boolean | undefined;
26
+ paragraph?: boolean | undefined;
27
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
28
+ variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | undefined;
29
+ variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> | undefined;
30
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
31
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
32
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "align" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
33
+ export declare const AppSwitcherCloseButton: import("@emotion/styled").StyledComponent<{
34
+ children?: import("react").ReactNode;
35
+ classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
36
+ color?: "inherit" | "action" | "disabled" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | undefined;
37
+ fontSize?: "small" | "inherit" | "large" | "medium" | undefined;
38
+ htmlColor?: string | undefined;
39
+ inheritViewBox?: boolean | undefined;
40
+ shapeRendering?: string | undefined;
41
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
42
+ titleAccess?: string | undefined;
43
+ viewBox?: string | undefined;
44
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
45
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
46
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "children" | "sx" | "fontSize" | "shapeRendering" | "viewBox" | "htmlColor" | "inheritViewBox" | "titleAccess"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
47
+ export declare const StyledHomeButton: import("@emotion/styled").StyledComponent<{
21
48
  children?: import("react").ReactNode;
22
49
  classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
23
50
  color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | undefined;
@@ -50,58 +77,3 @@ export declare const StyleHomeButton: import("@emotion/styled").StyledComponent<
50
77
  }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
51
78
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
52
79
  }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "sx" | "variant" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
53
- export declare const PromotionalCampaignImage: import("@emotion/styled").StyledComponent<{
54
- children?: import("react").ReactNode;
55
- classes?: Partial<import("@mui/material").CardMediaClasses> | undefined;
56
- image?: string | undefined;
57
- src?: string | undefined;
58
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
59
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
60
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
61
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "image" | "children" | "src" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
62
- export declare const PromotionalCampaignCard: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").PaperProps<"div", {}>, "classes"> & {
63
- classes?: Partial<import("@mui/material").CardClasses> | undefined;
64
- raised?: boolean | undefined;
65
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
66
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
67
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
68
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "variant" | "square" | "elevation" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
69
- export declare const PromotionalCampaignCardStyled: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").PaperProps<"div", {}>, "classes"> & {
70
- classes?: Partial<import("@mui/material").CardClasses> | undefined;
71
- raised?: boolean | undefined;
72
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
73
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
74
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
75
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "variant" | "square" | "elevation" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
76
- export declare const PromotionalCampaignCardActionArea: import("@emotion/styled").StyledComponent<{
77
- classes?: Partial<import("@mui/material").CardActionAreaClasses> | undefined;
78
- focusVisibleClassName?: string | undefined;
79
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
80
- } & Omit<{
81
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
82
- centerRipple?: boolean | undefined;
83
- children?: import("react").ReactNode;
84
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
85
- disabled?: boolean | undefined;
86
- disableRipple?: boolean | undefined;
87
- disableTouchRipple?: boolean | undefined;
88
- focusRipple?: boolean | undefined;
89
- focusVisibleClassName?: string | undefined;
90
- LinkComponent?: import("react").ElementType<any> | undefined;
91
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
92
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
93
- tabIndex?: number | undefined;
94
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
95
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
96
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
97
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
98
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
99
- export declare const PromotionalCampaignCardMedia: import("@emotion/styled").StyledComponent<{
100
- children?: import("react").ReactNode;
101
- classes?: Partial<import("@mui/material").CardMediaClasses> | undefined;
102
- image?: string | undefined;
103
- src?: string | undefined;
104
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
105
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
106
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
107
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "image" | "children" | "src" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,326 +1,79 @@
1
- import { Card, CardActionArea, CardMedia } from '@mui/material';
1
+ import { Box, Typography } from '@mui/material';
2
+ import CloseIcon from '@mui/icons-material/Close';
2
3
  import { styled } from '@mui/material/styles';
3
4
  import Button from '@mui/material/Button';
5
+ const defaultWhite = '#fff';
6
+ export const AppSwitcherShadow = styled('div') `
7
+ background-color: rgba(0, 0, 0, 0.6);
8
+ bottom: 0;
9
+ height: 100vh;
10
+ left: ${props => props.theme.direction === 'ltr' ? '57px' : 'auto'};
11
+ right: ${props => props.theme.direction === 'rtl' ? '57px' : 'auto'};
12
+ position: fixed;
13
+ width: 100vw;
14
+ z-index: -3;
15
+ `;
4
16
  export const AppSwitcherPanel = styled('div') `
5
17
  background-color: ${props => props.theme.palette.mode === 'dark'
6
18
  ? props.theme.palette.primary.dark
7
- : '#E6EAF0'};
19
+ : defaultWhite};
8
20
  border-radius: 0 4px 4px 0;
9
21
  bottom: 0;
10
- box-shadow: ${props => props.theme.direction === 'ltr'
11
- ? '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%)'
12
- : '-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%)'};
13
22
  box-sizing: border-box;
14
23
  font-family: 'Roboto';
15
- height: ${props => props.hasPromotionalCampaign ? 'calc(450px + 100px)' : '450px'};
24
+ height: 100vh;
16
25
  left: ${props => props.theme.direction === 'ltr' ? '57px' : 'auto'};
17
26
  right: ${props => props.theme.direction === 'rtl' ? '57px' : 'auto'};
18
27
  overflow: auto;
19
28
  overflow-x: hidden;
20
- padding: 1rem 1.5rem;
21
29
  position: fixed;
22
- width: 360px;
23
- z-index: 1;
24
-
25
- & > div {
26
- padding-bottom: 3rem;
27
- }
28
- `;
29
- export const List = styled('ul') `
30
- `;
31
- export const MenuContent = styled('div') `
32
- align-items: flex-start;
33
- flex-direction: row;
34
- flex-wrap: wrap;
35
- justify-content: flex-start;
36
- margin-top: 1rem;
37
- `;
38
- export const SearchContent = styled('div') `
39
- align-items: flex-start;
40
- box-sizing: border-box;
41
- flex-direction: column;
42
- justify-content: flex-start;
43
- padding: 1rem 1rem 2rem;
30
+ width: 50vw;
31
+ z-index: -2;
44
32
  `;
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'};
33
+ export const AppSwitcherHeaderPanel = styled(Box) `
34
+ background-color: ${props => props.theme.palette.mode === 'dark'
35
+ ? props.theme.palette.primary.dark
36
+ : defaultWhite};
50
37
  display: flex;
51
- font-weight: normal;
52
38
  justify-content: space-between;
53
- padding: 1rem 1.25rem 0;
54
-
55
- & svg {
56
- height: 24px;
57
- margin-inline-end: 0.5rem;
58
- width: 24px;
59
- }
60
- `;
61
- export const AppListItem = styled('div') `
62
- align-items: center;
63
- align-self: stretch;
64
- box-sizing: border-box;
65
- flex-direction: column;
66
- flex: 0 0 ${100 / 3}%;
67
- height: 104px;
68
- overflow: visible;
69
- padding: 0.25rem;
70
- position: relative;
71
-
72
- &:hover {
73
- background-color: transparent;
74
- }
75
- `;
76
- export const AppLink = styled('a') `
77
- align-items: center;
78
- border-radius: 4px;
79
- box-shadow: none;
80
- box-sizing: border-box;
81
- display: flex;
82
- flex-direction: column;
83
- font-size: 0.85rem;
84
- justify-content: center;
85
39
  overflow: hidden;
86
- padding: 1rem 0 0.5rem;
87
- position: absolute;
88
- text-align: center;
89
- text-decoration: none;
90
- width: 100%;
91
-
92
- & .MuiTouchRipple-rippleVisible {
93
- color: #004071;
94
- opacity: 0.25;
95
- }
96
-
97
- &:hover,
98
- &:focus {
99
- background-color: ${props => props.theme.palette.mode === 'dark'
100
- ? 'rgba(22, 92, 141, 1)'
101
- : '#ebf2fc'};
102
- text-decoration: none;
103
- z-index: 2;
104
- }
105
-
106
- &:active {
107
- background-color: #f1f1f1;
108
- z-index: 2;
109
- }
110
-
111
- & svg {
112
- height: 60px;
113
- width: 60px;
114
- }
115
-
116
- &:hover + span,
117
- &:focus + span {
118
- opacity: 1;
119
- }
120
-
121
- &:hover svg,
122
- &:focus svg {
123
- background-color: ${props => props.theme.palette.mode === 'dark'
124
- ? 'rgba(22, 92, 141, 1)'
125
- : '#ebf2fc'};
126
- border-color: ${props => props.theme.palette.mode === 'dark'
127
- ? 'rgba(22, 92, 141, 1)'
128
- : '#ebf2fc'};
129
- }
130
-
131
- // Show full app name on hover
132
- &:hover div,
133
- &:focus div {
134
- white-space: normal;
135
- word-wrap: break-word;
136
- }
40
+ position: sticky;
41
+ top: 0;
42
+ z-index: 1;
137
43
  `;
138
- export const AppName = styled('div') `
139
- color: ${props => props.theme.palette.mode === 'dark'
140
- ? props.theme.palette.primary.contrastText
141
- : '#555'};
142
- font-weight: normal;
143
- margin: 0.5rem 0 0;
44
+ export const AppSwitcherFooterPanel = styled(Box) `
45
+ background-color: ${props => props.theme.palette.mode === 'dark'
46
+ ? props.theme.palette.primary.dark
47
+ : defaultWhite};
48
+ box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
144
49
  overflow: hidden;
145
- text-overflow: ellipsis;
146
- white-space: nowrap;
147
- width: 90px;
148
- `;
149
- export const BackButton = styled('button') `
150
- align-items: center;
151
- background: transparent;
152
- border: 0;
153
- color: ${props => props.theme.palette.mode === 'dark'
154
- ? props.theme.palette.primary.contrastText
155
- : '#555'};
156
- cursor: pointer;
157
- display: flex;
158
- padding: 0.25rem 0;
159
- text-align: left;
160
- width: 100%;
161
-
162
- &:focus,
163
- &:hover {
164
- background-color: ${props => props.theme.palette.mode === 'dark'
165
- ? 'rgba(255, 255, 255, 0.1)'
166
- : 'rgba(0, 0, 0, 0.1)'};
167
- }
168
- `;
169
- export const SearchBox = styled('input') `
170
- background: #f4f4f4;
171
- border: thin solid #888;
172
- box-sizing: border-box;
173
- color: #777;
174
- padding: 0.5rem;
175
- width: 100%;
176
-
177
- &:hover .MuiOutlinedInput-notchedOutline {
178
- border-color: #888;
179
- }
180
-
181
- & .MuiOutlinedInput-root {
182
- border-radius: 0;
183
- color: #777;
184
- padding: 0;
185
- }
186
-
187
- & .MuiOutlinedInput-input {
188
- padding: 0.5rem;
189
- }
190
-
191
- & ::placeholder {
192
- opacity: 0.75;
193
- }
194
- `;
195
- export const AppOrganisationCount = styled('span') `
196
- background: #00497D;
197
- border-color: #616161;
198
- border-radius: 4px;
199
- border: none;
200
- color: white;
201
- font-size: 1rem;
202
- font-weight: bold;
203
- height: 48%;
204
- left: ${props => props.theme.direction === 'ltr' ? '54%' : 'auto'};
205
- right: ${props => props.theme.direction === 'rtl' ? '4%' : 'auto'};
206
- line-height: 50px;
207
- margin-top: 0;
208
- opacity: 0;
209
- pointer-events: none;
210
- position: absolute;
211
- text-align: center;
212
- top: 49%;
213
- transform: translate(-50%, -50%);
214
- width: 50%;
215
- z-index: 3;
216
- `;
217
- export const SelectedOrganisation = styled('div') `
218
- align-items: center;
219
- color: ${props => props.theme.palette.mode === 'dark'
220
- ? props.theme.palette.primary.contrastText
221
- : '#555'};
222
- display: flex;
223
- flex-direction: row;
224
- justify-content: flex-start;
225
- padding: 1.5rem 0;
226
- width: 100%;
227
-
228
- & svg,
229
- & svg image {
230
- height: 24px;
231
- width: 24px;
232
- }
233
-
234
- & span {
235
- font-size: 1.2rem;
236
- font-weight: normal;
237
- margin: 0;
238
- margin-inline-start: 0.5rem;
239
- }
50
+ position: fixed;
51
+ bottom: 0;
52
+ z-index: 1;
53
+ width: 50vw;
240
54
  `;
241
- export const StyledSVG = styled('svg') `
242
- box-sizing: content-box;
243
- display: inline-block;
244
- fill: currentcolor;
245
- flex-shrink: 0;
55
+ export const AppSwitcherHeader = styled(Typography) `
246
56
  font-size: 1.5rem;
247
- height: 1em;
248
- margin: 4px;
249
- padding: 0;
250
- transform: rotateY(${props => props.theme.direction === 'ltr' ? '0deg' : '180deg'});
251
- user-select: none;
252
- width: 1em;
253
- `;
254
- export const OrganisationList = styled('div') `
255
- height: 300px;
256
- overflow: auto;
257
- padding-top: 0.5rem;
258
- width: 100%;
57
+ font-weight: 400;
58
+ margin: 1rem;
259
59
  `;
260
- export const OrganisationLink = styled('a') `
261
- align-items: center;
262
- border-radius: 4px;
263
- box-shadow: none;
264
- color: ${props => props.theme.palette.mode === 'dark'
265
- ? props.theme.palette.primary.contrastText
266
- : '#555'};
267
- display: flex;
268
- font-size: 1rem;
269
- justify-content: space-between;
270
- margin: 0 0.125rem;
271
- padding: 0.5rem;
272
- text-decoration: none;
273
- transition: all 200ms ease;
274
-
275
- & .MuiTouchRipple-rippleVisible {
276
- color: #004071;
277
- opacity: 0.25;
278
- }
279
-
280
- &:focus,
60
+ export const AppSwitcherCloseButton = styled(CloseIcon) `
61
+ font-size: 2rem;
62
+ margin: 1rem 0.75rem 0.75rem 0.75rem;
63
+
281
64
  &:hover {
282
- background-color: ${props => props.theme.palette.mode === 'dark'
283
- ? 'rgba(255, 255, 255, 0.1)'
284
- : 'rgba(0, 0, 0, 0.1)'};
285
-
286
- & svg {
287
- visibility: visible;
288
- }
289
- }
290
-
291
- &:active {
292
- background-color: #f1f1f1;
293
- }
294
-
295
- & .MuiLink-root {
296
- align-items: center;
297
- color: #555;
298
- display: flex;
299
- justify-content: space-between;
300
- text-decoration: none;
301
- width: 100%;
65
+ cursor: pointer;
66
+ color: rgba(0, 0, 0, 0.25);
302
67
  }
303
-
304
- & svg {
305
- visibility: hidden;
306
- }
307
- `;
308
- export const StyledLogoSVG = styled('svg') `
309
- background-color: ${props => props.theme.palette.mode === 'dark'
310
- ? props.theme.palette.primary.dark
311
- : '#E6EAF0'};
312
- border: thin solid ${props => props.theme.palette.mode === 'dark'
313
- ? props.theme.palette.primary.dark
314
- : '#E6EAF0'};
315
- position: relative;
316
- z-index: 1;
317
68
  `;
318
- export const StyleHomeButton = styled(Button) `
69
+ export const StyledHomeButton = styled(Button) `
319
70
  align-items: center;
320
71
  color: #00538e;
321
72
  display: flex;
322
73
  flex-wrap: wrap;
323
- margin: 0;
74
+ left: ${props => props.theme.direction === 'ltr' ? '40vw' : 'auto'};
75
+ right: ${props => props.theme.direction === 'ltr' ? 'auto' : '40vw'};
76
+ margin: 1rem 0 .75rem 0;
324
77
  padding: 0;
325
78
  text-decoration: none;
326
79
  text-transform: none;
@@ -329,32 +82,3 @@ export const StyleHomeButton = styled(Button) `
329
82
  background-color: transparent;
330
83
  }
331
84
  `;
332
- export const PromotionalCampaignImage = styled(CardMedia) `
333
- height: 150px;
334
- width: 300px;
335
- `;
336
- export const PromotionalCampaignCard = styled(Card) `
337
- background: ${props => props.theme.palette.primary.main};
338
- `;
339
- export const PromotionalCampaignCardStyled = styled(Card) `
340
- width: 100%;
341
- height: 162px;
342
- margin-bottom: 4px;
343
- background: ${props => props.theme.palette.primary.main};
344
- `;
345
- export const PromotionalCampaignCardActionArea = styled(CardActionArea) `
346
- width: 100%;
347
- height: 100%;
348
- display: flex;
349
- justify-content: center;
350
- align-items: center;
351
- padding: 6px;
352
- `;
353
- export const PromotionalCampaignCardMedia = styled(CardMedia)(() => ({
354
- width: '100%',
355
- height: '100%',
356
- objectFit: 'cover',
357
- '&.MuiCardMedia-img': {
358
- objectPosition: 'center'
359
- }
360
- }));
@@ -3,6 +3,7 @@ export declare const Constants: Readonly<{
3
3
  Token: string;
4
4
  Applications: string;
5
5
  PromotionalCampaigns: string;
6
+ HubDashboard: string;
6
7
  };
7
8
  HomeAttributes: {
8
9
  UserId: string;
@@ -20,6 +21,9 @@ export declare const Constants: Readonly<{
20
21
  DefaultMessages: {
21
22
  'app-switcher': string;
22
23
  'your-apps': string;
24
+ 'explore-custom-apps': string;
25
+ 'useful-links': string;
26
+ 'explore-more': string;
23
27
  'go-to-hub': string;
24
28
  'custom-apps': string;
25
29
  'add-item': string;
@@ -33,6 +37,7 @@ export declare const Constants: Readonly<{
33
37
  'open-in-new-window': string;
34
38
  'stream-hub-welcome': string;
35
39
  'app-switcher-alt-text': string;
40
+ 'data-not-found': string;
36
41
  };
37
42
  DrawerWidth: {
38
43
  Collapsed: number;
@@ -2,7 +2,8 @@ export const Constants = Object.freeze({
2
2
  LocalStorageKey: {
3
3
  Token: 'lp-home-access-token',
4
4
  Applications: 'lp-home-applications',
5
- PromotionalCampaigns: 'lp-home-promotionalCampaigns'
5
+ PromotionalCampaigns: 'lp-home-promotionalCampaigns',
6
+ HubDashboard: 'lp-home-hubDashboard'
6
7
  },
7
8
  HomeAttributes: {
8
9
  UserId: 'lp-home-user-id'
@@ -19,7 +20,10 @@ export const Constants = Object.freeze({
19
20
  },
20
21
  DefaultMessages: {
21
22
  'app-switcher': 'App Switcher',
22
- 'your-apps': 'Your Apps',
23
+ 'your-apps': 'Your Learning Pool Applications',
24
+ 'explore-custom-apps': 'Your Custom Links',
25
+ 'useful-links': 'Useful Information',
26
+ 'explore-more': 'Other Learning Pool Applications',
23
27
  'go-to-hub': 'Go to Hub',
24
28
  'custom-apps': 'Explore Custom Apps',
25
29
  'add-item': 'Add item',
@@ -32,7 +36,8 @@ export const Constants = Object.freeze({
32
36
  'select-org': 'Organisation',
33
37
  'open-in-new-window': 'opens in a new window',
34
38
  'stream-hub-welcome': 'Welcome to Stream Home',
35
- 'app-switcher-alt-text': 'App Switcher image'
39
+ 'app-switcher-alt-text': 'App Switcher image',
40
+ 'data-not-found': 'Data Not Found'
36
41
  },
37
42
  DrawerWidth: {
38
43
  Collapsed: 60,