@bbl-digital/snorre 2.0.96 → 2.0.97

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 (110) hide show
  1. package/dist/bundle.js +68 -26
  2. package/esm/core/BoxedTable/styles.js +1 -1
  3. package/esm/core/CommentsTimeline/styles.js +1 -1
  4. package/esm/core/Modal/index.js +1 -0
  5. package/esm/core/Modal/styles.js +8 -24
  6. package/esm/core/SimpleBarChart/SimpleBarChart.data.js +49 -0
  7. package/esm/core/SimpleBarChart/index.js +56 -0
  8. package/esm/core/SimpleBarChart/styles.js +7 -0
  9. package/esm/index.js +2 -1
  10. package/lib/core/BoxedTable/styles.js +1 -1
  11. package/lib/core/CommentsTimeline/styles.js +1 -1
  12. package/lib/core/Modal/index.d.ts.map +1 -1
  13. package/lib/core/Modal/index.js +1 -0
  14. package/lib/core/Modal/styles.d.ts +2 -0
  15. package/lib/core/Modal/styles.d.ts.map +1 -1
  16. package/lib/core/Modal/styles.js +8 -24
  17. package/lib/core/SimpleBarChart/SimpleBarChart.data.d.ts +6 -0
  18. package/lib/core/SimpleBarChart/SimpleBarChart.data.d.ts.map +1 -0
  19. package/lib/core/SimpleBarChart/SimpleBarChart.data.js +49 -0
  20. package/lib/core/SimpleBarChart/index.d.ts +36 -0
  21. package/lib/core/SimpleBarChart/index.d.ts.map +1 -0
  22. package/lib/core/SimpleBarChart/index.js +56 -0
  23. package/lib/core/SimpleBarChart/styles.d.ts +9 -0
  24. package/lib/core/SimpleBarChart/styles.d.ts.map +1 -0
  25. package/lib/core/SimpleBarChart/styles.js +7 -0
  26. package/lib/hooks/useScreenOrientation.d.ts +1 -1
  27. package/lib/index.d.ts +2 -1
  28. package/lib/index.d.ts.map +1 -1
  29. package/lib/index.js +2 -1
  30. package/package.json +1 -1
  31. package/esm/core/MailMenu/DropdownMenuOption.js +0 -21
  32. package/esm/core/MailMenu/index.js +0 -42
  33. package/esm/core/MailMenu/styles.js +0 -34
  34. package/esm/layout/Sidemenu/AppPicker/index.js +0 -35
  35. package/esm/layout/Sidemenu/AppPicker/styles.js +0 -41
  36. package/esm/layout/Sidemenu/MainMenu/index.js +0 -14
  37. package/esm/layout/Sidemenu/MainMenu/styles.js +0 -18
  38. package/esm/layout/Sidemenu/MenuBottom/index.js +0 -31
  39. package/esm/layout/Sidemenu/MenuBottom/styles.js +0 -48
  40. package/esm/layout/Sidemenu/MenuItem/index.js +0 -29
  41. package/esm/layout/Sidemenu/MenuItem/styles.js +0 -59
  42. package/esm/layout/Sidemenu/MenuTop/index.js +0 -24
  43. package/esm/layout/Sidemenu/MenuTop/styles.js +0 -33
  44. package/esm/layout/Sidemenu/SecondaryMenu/index.js +0 -12
  45. package/esm/layout/Sidemenu/SecondaryMenu/styles.js +0 -19
  46. package/esm/layout/Sidemenu/SecondaryMenuItem/index.js +0 -24
  47. package/esm/layout/Sidemenu/SecondaryMenuItem/styles.js +0 -29
  48. package/esm/layout/Sidemenu/index.js +0 -19
  49. package/esm/layout/Sidemenu/styles.js +0 -17
  50. package/esm/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
  51. package/lib/core/MailMenu/DropdownMenuOption.d.ts +0 -11
  52. package/lib/core/MailMenu/DropdownMenuOption.d.ts.map +0 -1
  53. package/lib/core/MailMenu/DropdownMenuOption.js +0 -21
  54. package/lib/core/MailMenu/index.d.ts +0 -8
  55. package/lib/core/MailMenu/index.d.ts.map +0 -1
  56. package/lib/core/MailMenu/index.js +0 -42
  57. package/lib/core/MailMenu/styles.d.ts +0 -12
  58. package/lib/core/MailMenu/styles.d.ts.map +0 -1
  59. package/lib/core/MailMenu/styles.js +0 -34
  60. package/lib/layout/Sidemenu/AppPicker/index.d.ts +0 -19
  61. package/lib/layout/Sidemenu/AppPicker/index.d.ts.map +0 -1
  62. package/lib/layout/Sidemenu/AppPicker/index.js +0 -35
  63. package/lib/layout/Sidemenu/AppPicker/styles.d.ts +0 -4
  64. package/lib/layout/Sidemenu/AppPicker/styles.d.ts.map +0 -1
  65. package/lib/layout/Sidemenu/AppPicker/styles.js +0 -41
  66. package/lib/layout/Sidemenu/MainMenu/index.d.ts +0 -9
  67. package/lib/layout/Sidemenu/MainMenu/index.d.ts.map +0 -1
  68. package/lib/layout/Sidemenu/MainMenu/index.js +0 -14
  69. package/lib/layout/Sidemenu/MainMenu/styles.d.ts +0 -3
  70. package/lib/layout/Sidemenu/MainMenu/styles.d.ts.map +0 -1
  71. package/lib/layout/Sidemenu/MainMenu/styles.js +0 -18
  72. package/lib/layout/Sidemenu/MenuBottom/index.d.ts +0 -15
  73. package/lib/layout/Sidemenu/MenuBottom/index.d.ts.map +0 -1
  74. package/lib/layout/Sidemenu/MenuBottom/index.js +0 -31
  75. package/lib/layout/Sidemenu/MenuBottom/styles.d.ts +0 -4
  76. package/lib/layout/Sidemenu/MenuBottom/styles.d.ts.map +0 -1
  77. package/lib/layout/Sidemenu/MenuBottom/styles.js +0 -48
  78. package/lib/layout/Sidemenu/MenuItem/index.d.ts +0 -19
  79. package/lib/layout/Sidemenu/MenuItem/index.d.ts.map +0 -1
  80. package/lib/layout/Sidemenu/MenuItem/index.js +0 -29
  81. package/lib/layout/Sidemenu/MenuItem/styles.d.ts +0 -4
  82. package/lib/layout/Sidemenu/MenuItem/styles.d.ts.map +0 -1
  83. package/lib/layout/Sidemenu/MenuItem/styles.js +0 -59
  84. package/lib/layout/Sidemenu/MenuTop/index.d.ts +0 -13
  85. package/lib/layout/Sidemenu/MenuTop/index.d.ts.map +0 -1
  86. package/lib/layout/Sidemenu/MenuTop/index.js +0 -24
  87. package/lib/layout/Sidemenu/MenuTop/styles.d.ts +0 -13
  88. package/lib/layout/Sidemenu/MenuTop/styles.d.ts.map +0 -1
  89. package/lib/layout/Sidemenu/MenuTop/styles.js +0 -33
  90. package/lib/layout/Sidemenu/SecondaryMenu/index.d.ts +0 -9
  91. package/lib/layout/Sidemenu/SecondaryMenu/index.d.ts.map +0 -1
  92. package/lib/layout/Sidemenu/SecondaryMenu/index.js +0 -12
  93. package/lib/layout/Sidemenu/SecondaryMenu/styles.d.ts +0 -3
  94. package/lib/layout/Sidemenu/SecondaryMenu/styles.d.ts.map +0 -1
  95. package/lib/layout/Sidemenu/SecondaryMenu/styles.js +0 -19
  96. package/lib/layout/Sidemenu/SecondaryMenuItem/index.d.ts +0 -15
  97. package/lib/layout/Sidemenu/SecondaryMenuItem/index.d.ts.map +0 -1
  98. package/lib/layout/Sidemenu/SecondaryMenuItem/index.js +0 -24
  99. package/lib/layout/Sidemenu/SecondaryMenuItem/styles.d.ts +0 -7
  100. package/lib/layout/Sidemenu/SecondaryMenuItem/styles.d.ts.map +0 -1
  101. package/lib/layout/Sidemenu/SecondaryMenuItem/styles.js +0 -29
  102. package/lib/layout/Sidemenu/index.d.ts +0 -11
  103. package/lib/layout/Sidemenu/index.d.ts.map +0 -1
  104. package/lib/layout/Sidemenu/index.js +0 -19
  105. package/lib/layout/Sidemenu/styles.d.ts +0 -3
  106. package/lib/layout/Sidemenu/styles.d.ts.map +0 -1
  107. package/lib/layout/Sidemenu/styles.js +0 -17
  108. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts +0 -3
  109. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts.map +0 -1
  110. package/lib/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
@@ -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
- `;