@bbl-digital/snorre 2.0.94 → 2.0.95

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 (90) hide show
  1. package/dist/bundle.js +11 -11
  2. package/esm/core/BoxedTable/styles.js +1 -1
  3. package/esm/core/CommentsTimeline/styles.js +1 -1
  4. package/esm/core/InfoButton/styles.js +9 -9
  5. package/lib/core/BoxedTable/styles.js +1 -1
  6. package/lib/core/CommentsTimeline/styles.js +1 -1
  7. package/lib/core/InfoButton/styles.d.ts.map +1 -1
  8. package/lib/core/InfoButton/styles.js +9 -9
  9. package/lib/hooks/useScreenOrientation.d.ts +1 -1
  10. package/package.json +1 -1
  11. package/esm/core/MailMenu/DropdownMenuOption.js +0 -21
  12. package/esm/core/MailMenu/index.js +0 -42
  13. package/esm/core/MailMenu/styles.js +0 -34
  14. package/esm/layout/Sidemenu/AppPicker/index.js +0 -35
  15. package/esm/layout/Sidemenu/AppPicker/styles.js +0 -41
  16. package/esm/layout/Sidemenu/MainMenu/index.js +0 -14
  17. package/esm/layout/Sidemenu/MainMenu/styles.js +0 -18
  18. package/esm/layout/Sidemenu/MenuBottom/index.js +0 -31
  19. package/esm/layout/Sidemenu/MenuBottom/styles.js +0 -48
  20. package/esm/layout/Sidemenu/MenuItem/index.js +0 -29
  21. package/esm/layout/Sidemenu/MenuItem/styles.js +0 -59
  22. package/esm/layout/Sidemenu/MenuTop/index.js +0 -24
  23. package/esm/layout/Sidemenu/MenuTop/styles.js +0 -33
  24. package/esm/layout/Sidemenu/SecondaryMenu/index.js +0 -12
  25. package/esm/layout/Sidemenu/SecondaryMenu/styles.js +0 -19
  26. package/esm/layout/Sidemenu/SecondaryMenuItem/index.js +0 -24
  27. package/esm/layout/Sidemenu/SecondaryMenuItem/styles.js +0 -29
  28. package/esm/layout/Sidemenu/index.js +0 -19
  29. package/esm/layout/Sidemenu/styles.js +0 -17
  30. package/esm/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
  31. package/lib/core/MailMenu/DropdownMenuOption.d.ts +0 -11
  32. package/lib/core/MailMenu/DropdownMenuOption.d.ts.map +0 -1
  33. package/lib/core/MailMenu/DropdownMenuOption.js +0 -21
  34. package/lib/core/MailMenu/index.d.ts +0 -8
  35. package/lib/core/MailMenu/index.d.ts.map +0 -1
  36. package/lib/core/MailMenu/index.js +0 -42
  37. package/lib/core/MailMenu/styles.d.ts +0 -12
  38. package/lib/core/MailMenu/styles.d.ts.map +0 -1
  39. package/lib/core/MailMenu/styles.js +0 -34
  40. package/lib/layout/Sidemenu/AppPicker/index.d.ts +0 -19
  41. package/lib/layout/Sidemenu/AppPicker/index.d.ts.map +0 -1
  42. package/lib/layout/Sidemenu/AppPicker/index.js +0 -35
  43. package/lib/layout/Sidemenu/AppPicker/styles.d.ts +0 -4
  44. package/lib/layout/Sidemenu/AppPicker/styles.d.ts.map +0 -1
  45. package/lib/layout/Sidemenu/AppPicker/styles.js +0 -41
  46. package/lib/layout/Sidemenu/MainMenu/index.d.ts +0 -9
  47. package/lib/layout/Sidemenu/MainMenu/index.d.ts.map +0 -1
  48. package/lib/layout/Sidemenu/MainMenu/index.js +0 -14
  49. package/lib/layout/Sidemenu/MainMenu/styles.d.ts +0 -3
  50. package/lib/layout/Sidemenu/MainMenu/styles.d.ts.map +0 -1
  51. package/lib/layout/Sidemenu/MainMenu/styles.js +0 -18
  52. package/lib/layout/Sidemenu/MenuBottom/index.d.ts +0 -15
  53. package/lib/layout/Sidemenu/MenuBottom/index.d.ts.map +0 -1
  54. package/lib/layout/Sidemenu/MenuBottom/index.js +0 -31
  55. package/lib/layout/Sidemenu/MenuBottom/styles.d.ts +0 -4
  56. package/lib/layout/Sidemenu/MenuBottom/styles.d.ts.map +0 -1
  57. package/lib/layout/Sidemenu/MenuBottom/styles.js +0 -48
  58. package/lib/layout/Sidemenu/MenuItem/index.d.ts +0 -19
  59. package/lib/layout/Sidemenu/MenuItem/index.d.ts.map +0 -1
  60. package/lib/layout/Sidemenu/MenuItem/index.js +0 -29
  61. package/lib/layout/Sidemenu/MenuItem/styles.d.ts +0 -4
  62. package/lib/layout/Sidemenu/MenuItem/styles.d.ts.map +0 -1
  63. package/lib/layout/Sidemenu/MenuItem/styles.js +0 -59
  64. package/lib/layout/Sidemenu/MenuTop/index.d.ts +0 -13
  65. package/lib/layout/Sidemenu/MenuTop/index.d.ts.map +0 -1
  66. package/lib/layout/Sidemenu/MenuTop/index.js +0 -24
  67. package/lib/layout/Sidemenu/MenuTop/styles.d.ts +0 -13
  68. package/lib/layout/Sidemenu/MenuTop/styles.d.ts.map +0 -1
  69. package/lib/layout/Sidemenu/MenuTop/styles.js +0 -33
  70. package/lib/layout/Sidemenu/SecondaryMenu/index.d.ts +0 -9
  71. package/lib/layout/Sidemenu/SecondaryMenu/index.d.ts.map +0 -1
  72. package/lib/layout/Sidemenu/SecondaryMenu/index.js +0 -12
  73. package/lib/layout/Sidemenu/SecondaryMenu/styles.d.ts +0 -3
  74. package/lib/layout/Sidemenu/SecondaryMenu/styles.d.ts.map +0 -1
  75. package/lib/layout/Sidemenu/SecondaryMenu/styles.js +0 -19
  76. package/lib/layout/Sidemenu/SecondaryMenuItem/index.d.ts +0 -15
  77. package/lib/layout/Sidemenu/SecondaryMenuItem/index.d.ts.map +0 -1
  78. package/lib/layout/Sidemenu/SecondaryMenuItem/index.js +0 -24
  79. package/lib/layout/Sidemenu/SecondaryMenuItem/styles.d.ts +0 -7
  80. package/lib/layout/Sidemenu/SecondaryMenuItem/styles.d.ts.map +0 -1
  81. package/lib/layout/Sidemenu/SecondaryMenuItem/styles.js +0 -29
  82. package/lib/layout/Sidemenu/index.d.ts +0 -11
  83. package/lib/layout/Sidemenu/index.d.ts.map +0 -1
  84. package/lib/layout/Sidemenu/index.js +0 -19
  85. package/lib/layout/Sidemenu/styles.d.ts +0 -3
  86. package/lib/layout/Sidemenu/styles.d.ts.map +0 -1
  87. package/lib/layout/Sidemenu/styles.js +0 -17
  88. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts +0 -3
  89. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts.map +0 -1
  90. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
@@ -1,48 +0,0 @@
1
- import styled from '@emotion/styled';
2
- import { css } from '@emotion/core';
3
- import bp from '../../../globals/styles/breakpoints';
4
- export const Wrapper = styled.div(props => css`
5
- position: absolute;
6
- bottom: 0;
7
- left: 0;
8
- right: 0;
9
- display: flex;
10
- flex-direction: column;
11
- justify-content: center;
12
- padding-bottom: ${props.open ? '1em' : 'calc(1em + 13px)'};
13
- text-align: center;
14
- & > span {
15
- overflow: hidden;
16
- white-space: nowrap;
17
- }
18
-
19
- @media screen and (max-width: ${bp.medium}) {
20
- position: relative;
21
- margin-top: 2em;
22
- display: block;
23
- button {
24
- display: none;
25
- }
26
- }
27
- `);
28
- export const CollapseIconWrapper = styled.button(props => css`
29
- display: flex;
30
- justify-content: center;
31
- align-items: center;
32
- margin: 0 auto;
33
- height: 24px;
34
- width: 24px;
35
- border-radius: 50%;
36
- border: none;
37
- cursor: pointer;
38
- outline: none;
39
- background: ${props.lightTheme ? props.theme.illustrationPrimary10 : 'rgba(255, 255, 255, 0.16)'};
40
- margin-bottom: 1em;
41
- transition: transform 0.2s ease-in-out;
42
- transform: rotate(${props.open ? '0deg' : '180deg'});
43
-
44
- &:hover,
45
- &:focus {
46
- background: ${props.lightTheme ? props.theme.illustrationPrimary10 : 'rgba(255, 255, 255, 0.16)'};
47
- }
48
- `);
@@ -1,19 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- interface IProps {
4
- /** Set to true if menu is collapsed */
5
- small: boolean;
6
- /** The label of the item */
7
- label: string;
8
- /** The icon of the item */
9
- icon: React.ReactNode;
10
- /** Sets colors to a lighter theme */
11
- lightTheme?: boolean;
12
- /** The item is active */
13
- active?: boolean;
14
- /** CB fired on click */
15
- onClick: () => void;
16
- }
17
- declare const MenuItem: React.FC<IProps>;
18
- export default MenuItem;
19
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/MenuItem/index.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,UAAU,MAAM;IACd,uCAAuC;IACvC,KAAK,EAAE,OAAO,CAAA;IACd,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,2BAA2B;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,yBAAyB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,wBAAwB;IACxB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA0B9B,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1,29 +0,0 @@
1
- /** @jsx jsx */
2
- import { jsx } from '@emotion/core';
3
- import { Wrapper, Span } from './styles';
4
- import { useTheme } from 'emotion-theming';
5
- import Text from '../../../core/Text';
6
-
7
- const MenuItem = ({
8
- small,
9
- icon,
10
- lightTheme,
11
- active,
12
- label,
13
- onClick
14
- }) => {
15
- const theme = useTheme();
16
- return jsx(Wrapper, {
17
- nostyle: true,
18
- small: small,
19
- theme: theme,
20
- lightTheme: lightTheme,
21
- className: active ? 'active' : '',
22
- onClick: onClick
23
- }, jsx(Span, null, icon, jsx(Text, {
24
- color: lightTheme ? '#000000' : 'white',
25
- size: "15px"
26
- }, label)));
27
- };
28
-
29
- export default MenuItem;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, any, object>;
3
- export declare const Span: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "slot" | "style" | "title" | "color" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "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" | "css">, object>;
4
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/MenuItem/styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,OAAO,4KAoEnB,CAAA;AAED,eAAO,MAAM,IAAI,8vJAAgB,CAAA"}
@@ -1,59 +0,0 @@
1
- import styled from '@emotion/styled';
2
- import { css } from '@emotion/core';
3
- import bp from '../../../globals/styles/breakpoints';
4
- export const Wrapper = styled.button(props => css`
5
- display: flex;
6
- height: 50px;
7
- border-radius: 4px 0 0 4px;
8
- border: none;
9
- background-color: transparent;
10
- padding-left: 1em;
11
- padding-right: 0;
12
- align-items: center;
13
- outline: none;
14
- cursor: pointer;
15
-
16
- &.active {
17
- background: ${props.lightTheme ? props.theme.illustrationPrimary10 : 'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), linear-gradient(' + props.theme.primary + ', ' + props.theme.primary + ')'};
18
- }
19
-
20
- &:nth-of-type(6) {
21
- margin-left: ${props.small ? '-18px' : '0'};
22
- }
23
-
24
- & > span {
25
- display: flex;
26
- align-items: center;
27
- width: 100%;
28
- text-align: left;
29
- line-height: 24px;
30
- font-weight: normal;
31
-
32
- & svg {
33
- margin-right: 10px;
34
- }
35
-
36
- & > span {
37
- transition: width 0.2s ease-out;
38
- overflow: hidden;
39
- width: ${props.small ? '0' : '100%'};
40
- }
41
- }
42
-
43
- &:hover,
44
- &:focus {
45
- text-decoration: underline;
46
- background-color: transparent;
47
- text-decoration-color: ${props.lightTheme ? '#000000' : '#ffffff'};
48
-
49
- &.active {
50
- background: ${props.lightTheme ? props.theme.illustrationPrimary10 : 'linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), linear-gradient(' + props.theme.primary + ', ' + props.theme.primary + ')'};
51
- }
52
- }
53
-
54
- @media screen and (max-width: ${bp.medium}) {
55
- padding: 0 40px;
56
- border-radius: 0;
57
- }
58
- `);
59
- export const Span = styled.span``;
@@ -1,13 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- interface IProps {
4
- /** Set to true if menu is collapsed */
5
- small: boolean;
6
- /** Logo to be displayed on top */
7
- logo?: string;
8
- /** CB fired on logo click */
9
- onLogoClick?: () => void;
10
- }
11
- declare const MenuTop: React.FC<IProps>;
12
- export default MenuTop;
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/MenuTop/index.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,UAAU,MAAM;IACd,uCAAuC;IACvC,KAAK,EAAE,OAAO,CAAA;IACd,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;CACzB;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAW7B,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -1,24 +0,0 @@
1
- /** @jsx jsx */
2
- import { Fragment } from 'react';
3
- import { jsx } from '@emotion/core';
4
- import { StyledLink, Logo, AppPickerWrapper } from './styles';
5
-
6
- const MenuTop = ({
7
- small,
8
- logo,
9
- onLogoClick,
10
- children
11
- }) => {
12
- return jsx(Fragment, null, logo && jsx(StyledLink, {
13
- nostyle: true,
14
- onClick: onLogoClick
15
- }, jsx(Logo, {
16
- small: small,
17
- alt: "logo",
18
- src: logo
19
- })), jsx(AppPickerWrapper, {
20
- small: small
21
- }, children));
22
- };
23
-
24
- export default MenuTop;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledLink: import("@emotion/styled-base").StyledComponent<import("react").PropsWithChildren<import("../../../core/private/ButtonOrLink").Props & {
3
- external?: boolean | undefined;
4
- nostyle?: boolean | undefined;
5
- danger?: boolean | undefined;
6
- }>, Pick<import("react").PropsWithChildren<import("../../../core/private/ButtonOrLink").Props & {
7
- external?: boolean | undefined;
8
- nostyle?: boolean | undefined;
9
- danger?: boolean | undefined;
10
- }>, import("react").ReactText>, object>;
11
- export declare const Logo: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, any, object>;
12
- export declare const AppPickerWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, object>;
13
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/MenuTop/styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,UAAU;;;;;;;;uCAEtB,CAAA;AAED,eAAO,MAAM,IAAI,uKAMhB,CAAA;AAED,eAAO,MAAM,gBAAgB,gKAsB5B,CAAA"}
@@ -1,33 +0,0 @@
1
- import styled from '@emotion/styled';
2
- import Link from '../../../core/Link';
3
- import { css } from '@emotion/core';
4
- import bp from '../../../globals/styles/breakpoints';
5
- export const StyledLink = styled(Link)`
6
- height: 40px;
7
- `;
8
- export const Logo = styled.img(props => css`
9
- cursor: pointer;
10
- max-height: 40px;
11
- max-width: ${props.small ? '100%' : 'auto'};
12
- `);
13
- export const AppPickerWrapper = styled.div(props => css`
14
- display: flex;
15
- justify-content: flex-start;
16
- align-items: flex-start;
17
- margin-top: 40px;
18
- overflow: hidden;
19
-
20
- @media screen and (max-width: ${bp.medium}) {
21
- padding: 2em 2.5em;
22
- margin-top: 0;
23
- align-items: center;
24
-
25
- div {
26
- margin-bottom: 0;
27
- }
28
- }
29
-
30
- & > div:first-of-type {
31
- margin-right: ${props.small ? '0' : '0.5em'};
32
- }
33
- `);
@@ -1,9 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- interface IProps {
4
- /** Set to true if menu is collapsed */
5
- small: boolean;
6
- }
7
- declare const SecondaryMenu: React.FC<IProps>;
8
- export default SecondaryMenu;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/SecondaryMenu/index.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,MAAM;IACd,uCAAuC;IACvC,KAAK,EAAE,OAAO,CAAA;CACf;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAEnC,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,12 +0,0 @@
1
- /** @jsx jsx */
2
- import { jsx } from '@emotion/core';
3
- import { Wrapper } from './styles';
4
-
5
- const SecondaryMenu = ({
6
- small,
7
- children
8
- }) => {
9
- return small ? null : jsx(Wrapper, null, children);
10
- };
11
-
12
- export default SecondaryMenu;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children" | "slot" | "style" | "title" | "color" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "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" | "css">, object>;
3
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/SecondaryMenu/styles.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,OAAO,0vJAgBnB,CAAA"}
@@ -1,19 +0,0 @@
1
- import styled from '@emotion/styled';
2
- import bp from '../../../globals/styles/breakpoints';
3
- export const Wrapper = styled.div`
4
- position: absolute;
5
- bottom: 130px;
6
- display: flex;
7
- flex-direction: column;
8
- flex-wrap: wrap;
9
- align-items: flex-start;
10
- width: calc(100% - 40px);
11
- padding-left: 40px;
12
- overflow: hidden;
13
-
14
- @media screen and (max-width: ${bp.medium}) {
15
- position: relative;
16
- bottom: unset;
17
- margin-top: 4em;
18
- }
19
- `;
@@ -1,15 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- interface IProps {
4
- /** The label of the item */
5
- label: string;
6
- /** The icon of the item */
7
- icon: React.ReactNode;
8
- /** Sets colors to a lighter theme */
9
- lightTheme?: boolean;
10
- /** Href of the item */
11
- href: string;
12
- }
13
- declare const SecondaryMenuItem: React.FC<IProps>;
14
- export default SecondaryMenuItem;
15
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/SecondaryMenuItem/index.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,UAAU,MAAM;IACd,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,2BAA2B;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAgBvC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -1,24 +0,0 @@
1
- /** @jsx jsx */
2
- import { jsx } from '@emotion/core';
3
- import { Wrapper } from './styles';
4
- import { useTheme } from 'emotion-theming';
5
- import Text from '../../../core/Text';
6
-
7
- const SecondaryMenuItem = ({
8
- icon,
9
- lightTheme,
10
- label,
11
- href
12
- }) => {
13
- const theme = useTheme();
14
- const color = lightTheme ? theme.primary : '#ffffff';
15
- return jsx(Wrapper, {
16
- href: href,
17
- color: color
18
- }, icon, jsx(Text, {
19
- color: color,
20
- size: "15px"
21
- }, label));
22
- };
23
-
24
- export default SecondaryMenuItem;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").PropsWithChildren<import("../../../core/private/ButtonOrLink").Props & {
3
- external?: boolean | undefined;
4
- nostyle?: boolean | undefined;
5
- danger?: boolean | undefined;
6
- }>, any, object>;
7
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Sidemenu/SecondaryMenuItem/styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,OAAO;;;;gBA2BnB,CAAA"}
@@ -1,29 +0,0 @@
1
- import styled from '@emotion/styled';
2
- import Link from '../../../core/Link';
3
- import { css } from '@emotion/core';
4
- export const Wrapper = styled(Link)(props => css`
5
- width: auto;
6
- border-bottom: 1px solid ${props.color};
7
- border-radius: 0;
8
- padding-bottom: 0.25em;
9
- margin-bottom: 1em;
10
- overflow: hidden;
11
- white-space: nowrap;
12
-
13
- & > span {
14
- display: flex;
15
- align-items: center;
16
- width: 100%;
17
- text-align: left;
18
- line-height: 24px;
19
- font-weight: normal;
20
-
21
- & svg {
22
- margin-right: 10px;
23
- }
24
- }
25
-
26
- &:hover {
27
- border-bottom: 1px solid ${props.color};
28
- }
29
- `);
@@ -1,11 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- interface IProps {
4
- /** Sets colors to a lighter theme */
5
- lightTheme?: boolean;
6
- /** Set to true if menu is not collapsed */
7
- open: boolean;
8
- }
9
- declare const Sidemenu: React.FC<IProps>;
10
- export default Sidemenu;
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Sidemenu/index.tsx"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,UAAU,MAAM;IACd,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2CAA2C;IAC3C,IAAI,EAAE,OAAO,CAAA;CACd;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAO9B,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1,19 +0,0 @@
1
- /** @jsx jsx */
2
- import { jsx } from '@emotion/core';
3
- import { Wrapper } from './styles';
4
- import { useTheme } from 'emotion-theming';
5
-
6
- const Sidemenu = ({
7
- lightTheme,
8
- open,
9
- children
10
- }) => {
11
- const theme = useTheme();
12
- return jsx(Wrapper, {
13
- defaultTheme: !lightTheme,
14
- open: open,
15
- primary: theme.primary
16
- }, children);
17
- };
18
-
19
- export default Sidemenu;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, object>;
3
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Sidemenu/styles.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,OAAO,gKAsBnB,CAAA"}
@@ -1,17 +0,0 @@
1
- import styled from '@emotion/styled';
2
- import { css } from '@emotion/core';
3
- export const Wrapper = styled.div(props => css`
4
- position: fixed;
5
- display: flex;
6
- justify-content: flex-start;
7
- align-items: center;
8
- flex-direction: column;
9
- background-color: ${props.defaultTheme ? '#0b2b71' : 'white'};
10
- background: ${props.defaultTheme ? 'linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), linear-gradient(' + props.primary + ', ' + props.primary + ')' : 'white'};
11
- width: ${props.open ? '250px' : '56px'};
12
- height: calc(100vh - 20px);
13
- box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.05);
14
- z-index: 90;
15
- padding-top: 20px;
16
- transition: width 0.2s ease-in-out;
17
- `);
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Wrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onClick" | "slot" | "style" | "title" | "children" | "color" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "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" | "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" | "css">, object>;
3
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Submenu/SubmenuLightThemeBg/styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,OAAO,0vJAQnB,CAAA"}
@@ -1,10 +0,0 @@
1
- import styled from '@emotion/styled';
2
- export const Wrapper = styled.div`
3
- position: absolute;
4
- top: 0;
5
- left: 0;
6
- right: 0;
7
- bottom: 0;
8
- z-index: 0;
9
- overflow: hidden;
10
- `;