@bbl-digital/snorre 2.4.57 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +35 -19
- package/esm/app-shell/index.js +1 -1
- package/esm/core/BoxedTable/RowCell/index.js +1 -1
- package/esm/core/Calendar/CalendarEvent/index.js +1 -2
- package/esm/core/CommentsTimeline/CommentLine/index.js +1 -0
- package/esm/core/List/Item.js +1 -1
- package/esm/core/Skeleton/index.js +3 -0
- package/esm/core/UserMenu/UserMenuOption.js +7 -4
- package/esm/layout/Footer/FooterCol/index.js +4 -2
- package/esm/layout/Footer/FooterGroup/index.js +4 -2
- package/esm/layout/Footer/FooterLabel/index.js +4 -2
- package/esm/layout/Footer/index.js +4 -2
- package/esm/layout/Layout/index.js +4 -2
- package/jest.config.js +1 -5
- package/lib/app-shell/index.d.ts +3 -0
- package/lib/app-shell/index.d.ts.map +1 -1
- package/lib/app-shell/index.js +1 -1
- package/lib/core/Alert/index.d.ts +2 -0
- package/lib/core/Alert/index.d.ts.map +1 -1
- package/lib/core/Banner/index.d.ts +1 -1
- package/lib/core/Banner/index.d.ts.map +1 -1
- package/lib/core/Box/index.d.ts +2 -0
- package/lib/core/Box/index.d.ts.map +1 -1
- package/lib/core/Box/styles.d.ts +0 -2
- package/lib/core/Box/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/HeaderCell/index.d.ts +2 -0
- package/lib/core/BoxedTable/HeaderCell/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/RowCell/index.d.ts +2 -0
- package/lib/core/BoxedTable/RowCell/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/RowCell/index.js +1 -1
- package/lib/core/BoxedTable/TableHeader/index.d.ts +2 -0
- package/lib/core/BoxedTable/TableHeader/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/index.d.ts +2 -0
- package/lib/core/BoxedTable/TableRow/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/index.d.ts +2 -0
- package/lib/core/BoxedTable/index.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.js +1 -2
- package/lib/core/Card/index.d.ts +2 -0
- package/lib/core/Card/index.d.ts.map +1 -1
- package/lib/core/CollapseList/index.d.ts +5 -1
- package/lib/core/CollapseList/index.d.ts.map +1 -1
- package/lib/core/CollapseList/styles.d.ts +0 -3
- package/lib/core/CollapseList/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentLine/index.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentLine/index.js +1 -0
- package/lib/core/CommentsTimeline/index.d.ts +2 -0
- package/lib/core/CommentsTimeline/index.d.ts.map +1 -1
- package/lib/core/DropdownMenu/DropdownMenuOption.d.ts +2 -0
- package/lib/core/DropdownMenu/DropdownMenuOption.d.ts.map +1 -1
- package/lib/core/DropdownMenu/index.d.ts +2 -0
- package/lib/core/DropdownMenu/index.d.ts.map +1 -1
- package/lib/core/FileInput/styles.d.ts +0 -2
- package/lib/core/FileInput/styles.d.ts.map +1 -1
- package/lib/core/Header/index.d.ts +2 -0
- package/lib/core/Header/index.d.ts.map +1 -1
- package/lib/core/InfoButton/index.d.ts +2 -0
- package/lib/core/InfoButton/index.d.ts.map +1 -1
- package/lib/core/InfoButton/styles.d.ts +0 -2
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/List/Item.d.ts +4 -1
- package/lib/core/List/Item.d.ts.map +1 -1
- package/lib/core/List/Item.js +1 -1
- package/lib/core/List/index.d.ts +2 -0
- package/lib/core/List/index.d.ts.map +1 -1
- package/lib/core/Modal/index.d.ts +2 -0
- package/lib/core/Modal/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/index.d.ts +2 -0
- package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
- package/lib/core/Radio/index.d.ts +13 -4
- package/lib/core/Radio/index.d.ts.map +1 -1
- package/lib/core/Select/Option.d.ts +1 -1
- package/lib/core/Select/Option.d.ts.map +1 -1
- package/lib/core/Skeleton/index.d.ts +5 -0
- package/lib/core/Skeleton/index.d.ts.map +1 -1
- package/lib/core/Skeleton/index.js +3 -0
- package/lib/core/Skeleton/styles.d.ts +0 -6
- package/lib/core/Skeleton/styles.d.ts.map +1 -1
- package/lib/core/TabBar/index.d.ts +2 -0
- package/lib/core/TabBar/index.d.ts.map +1 -1
- package/lib/core/TabNav/TabContext.d.ts +1 -0
- package/lib/core/TabNav/TabContext.d.ts.map +1 -1
- package/lib/core/TabNav/index.d.ts +2 -0
- package/lib/core/TabNav/index.d.ts.map +1 -1
- package/lib/core/Table/Cell.d.ts +1 -1
- package/lib/core/Table/Cell.d.ts.map +1 -1
- package/lib/core/Tag/index.d.ts +2 -0
- package/lib/core/Tag/index.d.ts.map +1 -1
- package/lib/core/Timeline/index.d.ts +5 -1
- package/lib/core/Timeline/index.d.ts.map +1 -1
- package/lib/core/UserMenu/UserMenuOption.d.ts +3 -0
- package/lib/core/UserMenu/UserMenuOption.d.ts.map +1 -1
- package/lib/core/UserMenu/UserMenuOption.js +7 -4
- package/lib/core/UserMenu/index.d.ts +2 -0
- package/lib/core/UserMenu/index.d.ts.map +1 -1
- package/lib/layout/Footer/FooterButton/styles.d.ts +0 -3
- package/lib/layout/Footer/FooterButton/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterCol/index.d.ts +2 -0
- package/lib/layout/Footer/FooterCol/index.d.ts.map +1 -1
- package/lib/layout/Footer/FooterCol/index.js +4 -2
- package/lib/layout/Footer/FooterGroup/index.d.ts +2 -0
- package/lib/layout/Footer/FooterGroup/index.d.ts.map +1 -1
- package/lib/layout/Footer/FooterGroup/index.js +4 -2
- package/lib/layout/Footer/FooterLabel/index.d.ts +2 -0
- package/lib/layout/Footer/FooterLabel/index.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLabel/index.js +4 -2
- package/lib/layout/Footer/FooterLink/styles.d.ts +0 -3
- package/lib/layout/Footer/FooterLink/styles.d.ts.map +1 -1
- package/lib/layout/Footer/index.d.ts +2 -0
- package/lib/layout/Footer/index.d.ts.map +1 -1
- package/lib/layout/Footer/index.js +4 -2
- package/lib/layout/Layout/index.d.ts +2 -1
- package/lib/layout/Layout/index.d.ts.map +1 -1
- package/lib/layout/Layout/index.js +4 -2
- package/lib/layout/LayoutShell/index.d.ts +2 -0
- package/lib/layout/LayoutShell/index.d.ts.map +1 -1
- package/lib/layout/Menu/MainMenu/index.d.ts +2 -0
- package/lib/layout/Menu/MainMenu/index.d.ts.map +1 -1
- package/lib/layout/Menu/MenuSpacer/index.d.ts +6 -2
- package/lib/layout/Menu/MenuSpacer/index.d.ts.map +1 -1
- package/lib/layout/Menu/MenuTop/index.d.ts +2 -0
- package/lib/layout/Menu/MenuTop/index.d.ts.map +1 -1
- package/lib/layout/Menu/MenuTop/styles.d.ts +0 -2
- package/lib/layout/Menu/MenuTop/styles.d.ts.map +1 -1
- package/lib/layout/Menu/SecondaryMenu/index.d.ts +2 -0
- package/lib/layout/Menu/SecondaryMenu/index.d.ts.map +1 -1
- package/lib/layout/Menu/index.d.ts +2 -0
- package/lib/layout/Menu/index.d.ts.map +1 -1
- package/lib/layout/Topbar/index.d.ts +4 -0
- package/lib/layout/Topbar/index.d.ts.map +1 -1
- package/package.json +30 -28
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Footer/FooterGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Footer/FooterGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;IACd,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAEjC,CAAA;AAED,eAAe,WAAW,CAAA"}
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
2
2
|
import { Wrapper } from './styles';
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
4
4
|
|
5
|
-
const FooterGroup =
|
5
|
+
const FooterGroup = ({
|
6
|
+
children
|
7
|
+
}) => {
|
6
8
|
return /*#__PURE__*/_jsx(Wrapper, {
|
7
|
-
children:
|
9
|
+
children: children
|
8
10
|
});
|
9
11
|
};
|
10
12
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Footer/FooterLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Footer/FooterLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;IACd,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAEjC,CAAA;AAED,eAAe,WAAW,CAAA"}
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
2
2
|
import { FooterLabelSpan } from './styles';
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
4
4
|
|
5
|
-
const FooterLabel =
|
5
|
+
const FooterLabel = ({
|
6
|
+
children
|
7
|
+
}) => {
|
6
8
|
return /*#__PURE__*/_jsx(FooterLabelSpan, {
|
7
|
-
children:
|
9
|
+
children: children
|
8
10
|
});
|
9
11
|
};
|
10
12
|
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("../../../core/private/ButtonOrLink").Props & {
|
3
2
|
external?: boolean | undefined;
|
4
3
|
target?: string | undefined;
|
@@ -9,8 +8,6 @@ export declare const Wrapper: import("@emotion/styled").StyledComponent<import("
|
|
9
8
|
small?: boolean | undefined;
|
10
9
|
removeUnderline?: boolean | undefined;
|
11
10
|
wordBreak?: string | undefined;
|
12
|
-
} & {
|
13
|
-
children?: import("react").ReactNode;
|
14
11
|
} & {
|
15
12
|
theme?: import("@emotion/react").Theme | undefined;
|
16
13
|
}, {}, {}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Footer/FooterLink/styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Footer/FooterLink/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;;UAgBnB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Footer/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Footer/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;IACd,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAM5B,CAAA;AAED,eAAe,MAAM,CAAA"}
|
@@ -3,11 +3,13 @@ import React from 'react';
|
|
3
3
|
import { wrapper, Content } from './styles';
|
4
4
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
5
5
|
|
6
|
-
const Footer =
|
6
|
+
const Footer = ({
|
7
|
+
children
|
8
|
+
}) => {
|
7
9
|
return _jsx("div", {
|
8
10
|
css: theme => [wrapper(theme)],
|
9
11
|
children: _jsx(Content, {
|
10
|
-
children:
|
12
|
+
children: children
|
11
13
|
})
|
12
14
|
});
|
13
15
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Layout/index.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Layout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;IACd,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAE5B,CAAA;AAED,eAAe,MAAM,CAAA"}
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
2
2
|
import { Wrapper } from './styles';
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
4
4
|
|
5
|
-
const Layout =
|
5
|
+
const Layout = ({
|
6
|
+
children
|
7
|
+
}) => {
|
6
8
|
return /*#__PURE__*/_jsx(Wrapper, {
|
7
|
-
children:
|
9
|
+
children: children
|
8
10
|
});
|
9
11
|
};
|
10
12
|
|
@@ -15,6 +15,8 @@ interface IProps {
|
|
15
15
|
onSkipToMainContent?: () => void;
|
16
16
|
/** Add hidden skip to navbar link with event */
|
17
17
|
onSkipToNav?: () => void;
|
18
|
+
/** Children */
|
19
|
+
children?: React.ReactNode;
|
18
20
|
}
|
19
21
|
declare const LayoutShell: React.FC<IProps>;
|
20
22
|
export default LayoutShell;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/LayoutShell/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAmB,MAAM,OAAO,CAAA;AAYvC,UAAU,MAAM;IACd,wBAAwB;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uBAAuB;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,uBAAuB;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/LayoutShell/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAmB,MAAM,OAAO,CAAA;AAYvC,UAAU,MAAM;IACd,wBAAwB;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uBAAuB;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,uBAAuB;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA8DjC,CAAA;AAED,eAAe,WAAW,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MainMenu/index.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MainMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,MAAM;IACd,uCAAuC;IACvC,KAAK,EAAE,OAAO,CAAA;IACd,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC/C;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAM9B,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
@@ -1,4 +1,8 @@
|
|
1
|
-
import { FC } from 'react';
|
2
|
-
|
1
|
+
import React, { FC } from 'react';
|
2
|
+
interface IProps {
|
3
|
+
/** Children */
|
4
|
+
children?: React.ReactNode;
|
5
|
+
}
|
6
|
+
declare const MenuSpacer: FC<IProps>;
|
3
7
|
export default MenuSpacer;
|
4
8
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MenuSpacer/index.tsx"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MenuSpacer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjC,UAAU,MAAM;IACd,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,MAAM,CAE1B,CAAA;AAED,eAAe,UAAU,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MenuTop/index.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MenuTop/index.tsx"],"names":[],"mappings":"AAAA,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;IACxB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC/C;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAgB7B,CAAA;AAED,eAAe,OAAO,CAAA"}
|
@@ -9,8 +9,6 @@ export declare const StyledLink: import("@emotion/styled").StyledComponent<impor
|
|
9
9
|
small?: boolean | undefined;
|
10
10
|
removeUnderline?: boolean | undefined;
|
11
11
|
wordBreak?: string | undefined;
|
12
|
-
} & {
|
13
|
-
children?: import("react").ReactNode;
|
14
12
|
} & {
|
15
13
|
theme?: import("@emotion/react").Theme | undefined;
|
16
14
|
}, {}, {}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MenuTop/styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,UAAU
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/MenuTop/styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;UAGtB,CAAA;AAED,eAAO,MAAM,IAAI,8JAMhB,CAAA;AAED,eAAO,MAAM,gBAAgB;;;yGA8B5B,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/SecondaryMenu/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,UAAU,MAAM;IACd,uCAAuC;IACvC,KAAK,EAAE,OAAO,CAAA;IACd,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/layout/Menu/SecondaryMenu/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,UAAU,MAAM;IACd,uCAAuC;IACvC,KAAK,EAAE,OAAO,CAAA;IACd,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAoCnC,CAAA;AAED,eAAe,aAAa,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Menu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,UAAU,MAAM;IACd,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2CAA2C;IAC3C,IAAI,EAAE,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Menu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,UAAU,MAAM;IACd,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2CAA2C;IAC3C,IAAI,EAAE,OAAO,CAAA;IACb,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAY1B,CAAA;AAED,eAAe,IAAI,CAAA"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
interface IProps {
|
3
|
+
/** Width of sidebar, if any */
|
3
4
|
sideBarWidth?: string;
|
5
|
+
/** Background color */
|
4
6
|
bgcolor?: string;
|
7
|
+
/** Children */
|
8
|
+
children?: React.ReactNode;
|
5
9
|
}
|
6
10
|
declare const Topbar: React.FC<IProps>;
|
7
11
|
export default Topbar;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Topbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/layout/Topbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;IACd,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uBAAuB;IACvB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAU5B,CAAA;AAED,eAAe,MAAM,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bbl-digital/snorre",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.2",
|
4
4
|
"description": "Design library for BBL Digital",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "./lib/index.js",
|
@@ -19,18 +19,21 @@
|
|
19
19
|
"homepage": "https://github.com/BBL-Digital/snorre#readme",
|
20
20
|
"author": "bbl-digital",
|
21
21
|
"dependencies": {
|
22
|
+
"@popperjs/core": "^2.11.5",
|
22
23
|
"@tinymce/tinymce-react": "^3.14.0",
|
24
|
+
"@types/react-test-renderer": "^18.0.0",
|
23
25
|
"date-fns": "^2.28.0",
|
24
|
-
"focus-trap-react": "^9.0.
|
26
|
+
"focus-trap-react": "^9.0.2",
|
25
27
|
"react-beautiful-dnd": "^13.1.0",
|
26
28
|
"react-day-picker": "^8.0.7",
|
29
|
+
"react-test-renderer": "^18.2.0",
|
27
30
|
"recharts": "2.1.5"
|
28
31
|
},
|
29
32
|
"peerDependencies": {
|
30
33
|
"@emotion/react": "^11.4.0",
|
31
34
|
"@emotion/styled": "^11.3.0",
|
32
|
-
"react": "^
|
33
|
-
"react-dom": "^
|
35
|
+
"react": "^18.2.0",
|
36
|
+
"react-dom": "^18.2.0",
|
34
37
|
"react-transition-group": "^4.4.2"
|
35
38
|
},
|
36
39
|
"scripts": {
|
@@ -46,11 +49,12 @@
|
|
46
49
|
"test": "jest",
|
47
50
|
"test:watch": "jest --watch",
|
48
51
|
"npm-publish": "npm version patch && yarn run build && yarn run build:tsc && npm publish",
|
49
|
-
"npm-publish-minor": "npm version minor && yarn run build && yarn run build:tsc && npm publish"
|
52
|
+
"npm-publish-minor": "npm version minor && yarn run build && yarn run build:tsc && npm publish",
|
53
|
+
"npm-publish-major": "npm version major && yarn run build && yarn run build:tsc && npm publish"
|
50
54
|
},
|
51
55
|
"devDependencies": {
|
52
56
|
"@babel/cli": "^7.17.10",
|
53
|
-
"@babel/preset-react": "^7.
|
57
|
+
"@babel/preset-react": "^7.18.6",
|
54
58
|
"@babel/preset-typescript": "^7.17.12",
|
55
59
|
"@emotion/babel-plugin": "^11.9.2",
|
56
60
|
"@emotion/babel-preset-css-prop": "^11.2.0",
|
@@ -58,40 +62,34 @@
|
|
58
62
|
"@emotion/react": "^11.9.3",
|
59
63
|
"@emotion/styled": "^11.9.3",
|
60
64
|
"@rollup/plugin-commonjs": "^20.0.0",
|
61
|
-
"@storybook/addon-a11y": "6.
|
62
|
-
"@storybook/addon-actions": "6.
|
63
|
-
"@storybook/addon-docs": "6.
|
65
|
+
"@storybook/addon-a11y": "6.5.10",
|
66
|
+
"@storybook/addon-actions": "6.5.10",
|
67
|
+
"@storybook/addon-docs": "6.5.10",
|
64
68
|
"@storybook/addon-knobs": "^6.3.1",
|
65
|
-
"@storybook/addon-links": "6.
|
66
|
-
"@storybook/addons": "6.
|
69
|
+
"@storybook/addon-links": "6.5.10",
|
70
|
+
"@storybook/addons": "6.5.10",
|
67
71
|
"@storybook/preset-create-react-app": "^3.2.0",
|
68
|
-
"@storybook/react": "6.
|
69
|
-
"@testing-library/jest-dom": "^5.
|
70
|
-
"@testing-library/react": "^
|
71
|
-
"@testing-library/user-event": "^
|
72
|
+
"@storybook/react": "6.5.10",
|
73
|
+
"@testing-library/jest-dom": "^5.16.4",
|
74
|
+
"@testing-library/react": "^13.3.0",
|
75
|
+
"@testing-library/user-event": "^14.3.0",
|
72
76
|
"@types/body-scroll-lock": "^3.1.0",
|
73
|
-
"@types/enzyme": "^3.10.12",
|
74
|
-
"@types/enzyme-adapter-react-16": "^1.0.6",
|
75
77
|
"@types/jest": "^26.0.23",
|
76
|
-
"@types/node": "^
|
77
|
-
"@types/react": "^
|
78
|
+
"@types/node": "^18.6.2",
|
79
|
+
"@types/react": "^18.0.15",
|
78
80
|
"@types/react-beautiful-dnd": "^13.1.2",
|
79
|
-
"@types/react-dom": "^
|
81
|
+
"@types/react-dom": "^18.0.6",
|
80
82
|
"@types/react-transition-group": "^4.4.5",
|
81
83
|
"@types/recharts": "^1.8.23",
|
82
|
-
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
83
84
|
"babel-loader": "^8.2.5",
|
84
85
|
"body-scroll-lock": "^3.1.5",
|
85
|
-
"enzyme": "^3.11.0",
|
86
|
-
"enzyme-adapter-react-16": "^1.15.6",
|
87
|
-
"enzyme-to-json": "^3.6.2",
|
88
86
|
"husky": "^4.2.5",
|
89
87
|
"jest": "^27.0.4",
|
90
88
|
"lint-staged": "^11.0.0",
|
91
89
|
"prettier": "^2.3.1",
|
92
|
-
"react": "^
|
93
|
-
"react-dom": "^
|
94
|
-
"react-is": "^
|
90
|
+
"react": "^18.2.0",
|
91
|
+
"react-dom": "^18.2.0",
|
92
|
+
"react-is": "^18.2.0",
|
95
93
|
"react-popper": "^2.3.0",
|
96
94
|
"react-scripts": "^4.0.3",
|
97
95
|
"react-transition-group": "^4.4.2",
|
@@ -99,7 +97,7 @@
|
|
99
97
|
"rollup": "^2.75.7",
|
100
98
|
"storybook-addon-emotion-theme": "^2.1.1",
|
101
99
|
"ts-jest": "^27.0.3",
|
102
|
-
"typescript": "
|
100
|
+
"typescript": "4.3.4"
|
103
101
|
},
|
104
102
|
"babel": {
|
105
103
|
"presets": [
|
@@ -131,5 +129,9 @@
|
|
131
129
|
"react-app",
|
132
130
|
"react-app/jest"
|
133
131
|
]
|
132
|
+
},
|
133
|
+
"resolutions": {
|
134
|
+
"@types/react": "^18.0.15",
|
135
|
+
"@types/react-dom": "^18.0.6"
|
134
136
|
}
|
135
137
|
}
|