grep-components 1.29.0 → 1.29.1-GREPF-2262.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.d.ts +2 -2
- package/dist/components/AppBar/AppBar.d.ts +16 -14
- package/dist/components/AppBar/MainAppStyles.d.ts +30 -30
- package/dist/components/AppBar/MobileAppBar.d.ts +9 -9
- package/dist/components/AppBar/stories/AppBarStory.stories.d.ts +29 -27
- package/dist/components/AppBar/types.d.ts +33 -33
- package/dist/components/AppBarNavList/MobileAppBarNavList.d.ts +13 -13
- package/dist/components/AppBarNavList/index.d.ts +15 -15
- package/dist/components/AppBarNavList/stories/AppBarNavList.stories.d.ts +22 -20
- package/dist/components/AppBarNavList/styles/index.d.ts +19 -19
- package/dist/components/AppBarProfile/index.d.ts +8 -8
- package/dist/components/AppBarProfile/stories/AppBarProfile.stories.d.ts +11 -11
- package/dist/components/AppBarProfile/styles/index.d.ts +9 -9
- package/dist/components/BodyLayout/index.d.ts +6 -6
- package/dist/components/CircularLoading/index.d.ts +7 -7
- package/dist/components/CircularLoading/stories/CircularLoading.stories.d.ts +17 -17
- package/dist/components/ConfirmationDialog/components/dialog.d.ts +15 -15
- package/dist/components/ConfirmationDialog/index.d.ts +6 -6
- package/dist/components/ConfirmationDialog/stories/dialog.stories.d.ts +18 -18
- package/dist/components/ConfirmationDialog/styles/index.d.ts +9 -9
- package/dist/components/ContainedLinkList/index.d.ts +10 -10
- package/dist/components/ContainedLinkList/stories/ContainedLinkList.stories.d.ts +14 -14
- package/dist/components/ContainedLinkList/styles/index.d.ts +9 -9
- package/dist/components/DropdownMenu/components/collapsable-menu-item.d.ts +25 -25
- package/dist/components/DropdownMenu/components/collapsable-menu.d.ts +8 -8
- package/dist/components/DropdownMenu/index.d.ts +16 -16
- package/dist/components/DropdownMenu/stories/DropDownMenu.stories.d.ts +19 -19
- package/dist/components/DropdownMenu/styles/collapsable-menu-item.style.d.ts +11 -11
- package/dist/components/DropdownMenu/styles/dropdown-menu.style.d.ts +9 -9
- package/dist/components/Footer/index.d.ts +14 -14
- package/dist/components/Footer/stories/Footer.stories.d.ts +20 -20
- package/dist/components/Footer/styles/index.d.ts +9 -9
- package/dist/components/GDPR/index.d.ts +5 -5
- package/dist/components/GDPR/stories/GDPR.stories.d.ts +13 -13
- package/dist/components/GDPR/styles/index.d.ts +9 -9
- package/dist/components/GrepCrumbs/index.d.ts +12 -12
- package/dist/components/GrepCrumbs/stories/GrepCrumbs.stories.d.ts +20 -20
- package/dist/components/GrepCrumbs/styles/styles.d.ts +9 -9
- package/dist/components/GrepDatePicker/index.d.ts +13 -13
- package/dist/components/GrepDatePicker/stories/DatePicker.stories.d.ts +9 -9
- package/dist/components/GrepDateRange/index.d.ts +20 -19
- package/dist/components/GrepDateRange/stories/GrepDateRange.stories.d.ts +8 -8
- package/dist/components/GrepDialog/dialog.d.ts +13 -13
- package/dist/components/GrepDialog/index.d.ts +6 -6
- package/dist/components/GrepDialog/stories/dialog.stories.d.ts +18 -18
- package/dist/components/GrepEditor/components/buttons/InlineButton.d.ts +11 -11
- package/dist/components/GrepEditor/components/buttons/button.d.ts +12 -12
- package/dist/components/GrepEditor/components/buttons/index.d.ts +2 -2
- package/dist/components/GrepEditor/components/editor.d.ts +38 -38
- package/dist/components/GrepEditor/components/toolbars/floating-toolbar.d.ts +5 -5
- package/dist/components/GrepEditor/components/toolbars/index.d.ts +8 -8
- package/dist/components/GrepEditor/context/index.d.ts +10 -10
- package/dist/components/GrepEditor/context/provider.d.ts +9 -9
- package/dist/components/GrepEditor/index.d.ts +12 -12
- package/dist/components/GrepEditor/misc/handlers/key.d.ts +6 -6
- package/dist/components/GrepEditor/misc/plugins/_link.d.ts +14 -14
- package/dist/components/GrepEditor/misc/utils.d.ts +16 -16
- package/dist/components/GrepEditor/stories/GrepEditor.stories.d.ts +49 -49
- package/dist/components/GrepEditor/styles/buttonStyles.d.ts +9 -9
- package/dist/components/GrepEditor/styles/editorStyles.d.ts +15 -15
- package/dist/components/GrepEditor/styles/index.d.ts +3 -3
- package/dist/components/GrepEditor/styles/toolbarStyles.d.ts +11 -11
- package/dist/components/GrepInput/index.d.ts +8 -8
- package/dist/components/GrepInput/stories/GrepInput.stories.d.ts +13 -13
- package/dist/components/GrepSelect/index.d.ts +20 -20
- package/dist/components/GrepSelect/stories/GrepSelect.stories.d.ts +8 -8
- package/dist/components/GrepTable/components/GrepPaginationActions.d.ts +10 -10
- package/dist/components/GrepTable/components/grep-table-cell.d.ts +12 -14
- package/dist/components/GrepTable/components/grep-table-header-cell.d.ts +10 -11
- package/dist/components/GrepTable/components/grep-table-header.d.ts +13 -14
- package/dist/components/GrepTable/components/grep-table-pagination.d.ts +4 -4
- package/dist/components/GrepTable/components/grep-table-placeholder.d.ts +9 -10
- package/dist/components/GrepTable/components/grep-table-row.d.ts +14 -15
- package/dist/components/GrepTable/index.d.ts +73 -73
- package/dist/components/GrepTable/stories/GrepTable.stories.d.ts +77 -77
- package/dist/components/GrepTable/styles/index.d.ts +30 -30
- package/dist/components/GrepTableCard/index.d.ts +7 -7
- package/dist/components/GrepTableCard/stories/GrepTableCard.stories.d.ts +14 -14
- package/dist/components/GrepTableCard/styles/index.d.ts +9 -9
- package/dist/components/GreyCover/index.d.ts +7 -7
- package/dist/components/GreyCover/stories/GreyCover.stories.d.ts +11 -11
- package/dist/components/GreyCover/styles/index.d.ts +11 -11
- package/dist/components/InfoContainer/index.d.ts +13 -13
- package/dist/components/InfoContainer/stories/infoContainer.stories.d.ts +17 -17
- package/dist/components/LinkList/index.d.ts +9 -9
- package/dist/components/LinkList/stories/LinkList.stories.d.ts +14 -14
- package/dist/components/LoadingOverlay/index.d.ts +13 -13
- package/dist/components/LoadingOverlay/stories/LoadingOverlay.stories.d.ts +11 -11
- package/dist/components/MainLayout/index.d.ts +6 -6
- package/dist/components/MainLayout/stories/MainLayout.stories.d.ts +11 -11
- package/dist/components/NavGuard/index.d.ts +14 -14
- package/dist/components/NavGuard/stories/NavGuard.stories.d.ts +11 -11
- package/dist/components/NavGuard/stories/_scaffold.d.ts +5 -5
- package/dist/components/NavGuard/stories/standard.d.ts +3 -3
- package/dist/components/OverflowTooltip/index.d.ts +9 -7
- package/dist/components/ProfileInfo/index.d.ts +10 -10
- package/dist/components/ProfileInfo/stories/ProfileInfo.stories.d.ts +19 -19
- package/dist/components/ProfileInfo/styles/index.d.ts +9 -9
- package/dist/components/SearchBar/index.d.ts +16 -16
- package/dist/components/SearchBar/stories/SearchBar.stories.d.ts +11 -11
- package/dist/components/SearchBar/styles/index.d.ts +9 -9
- package/dist/components/ServiceMessage/index.d.ts +9 -9
- package/dist/components/ServiceMessage/styles/index.d.ts +10 -10
- package/dist/components/Sidebar/index.d.ts +10 -10
- package/dist/components/Sidebar/stories/Sidebar.stories.d.ts +20 -20
- package/dist/components/Sidebar/styles/index.d.ts +9 -9
- package/dist/components/SortableTable/components/cell.d.ts +7 -7
- package/dist/components/SortableTable/components/row.d.ts +11 -11
- package/dist/components/SortableTable/index.d.ts +20 -20
- package/dist/components/SortableTable/stories/SortableTable.stories.d.ts +11 -11
- package/dist/components/SortableTable/styles/row.style.d.ts +12 -12
- package/dist/components/ToC/components/nav-tree-node.d.ts +21 -21
- package/dist/components/ToC/components/nav-tree.d.ts +11 -11
- package/dist/components/ToC/components/nav.d.ts +9 -9
- package/dist/components/ToC/context/index.d.ts +11 -11
- package/dist/components/ToC/context/provider.d.ts +17 -17
- package/dist/components/ToC/index.d.ts +10 -10
- package/dist/components/ToC/stories/ToC.stories.d.ts +11 -11
- package/dist/components/ToC/stories/_scaffold.d.ts +5 -5
- package/dist/components/ToC/stories/_text.d.ts +3 -3
- package/dist/components/ToC/stories/standard.d.ts +3 -3
- package/dist/components/ToC/styles/nav-tree-node.style.d.ts +11 -11
- package/dist/components/ToC/styles/nav-tree.style.d.ts +9 -9
- package/dist/components/ToC/styles/nav.style.d.ts +9 -9
- package/dist/components/ToC/utils/element-level.d.ts +5 -5
- package/dist/components/ToC/utils/identity-element.d.ts +8 -8
- package/dist/components/ToC/utils/normalize.d.ts +12 -12
- package/dist/components/ToC/utils/tree-builder.d.ts +7 -7
- package/dist/components/index.d.ts +59 -59
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/use-content-elements.d.ts +9 -9
- package/dist/hooks/use-date.d.ts +10 -10
- package/dist/hooks/use-debounce.d.ts +21 -21
- package/dist/index.d.ts +36 -36
- package/dist/index.js +2685 -2660
- package/dist/index.js.map +1 -1
- package/dist/setupTests.d.ts +1 -1
- package/dist/stories/index.stories.d.ts +15 -15
- package/dist/styling/Colors/colors.d.ts +27 -27
- package/dist/styling/Colors/index.d.ts +2 -2
- package/dist/styling/hex2rgb.d.ts +3 -3
- package/dist/styling/index.d.ts +4 -4
- package/dist/styling/makeStyles.d.ts +36 -36
- package/dist/utils/dateHelper.d.ts +27 -27
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/keyboard.d.ts +6 -6
- package/package.json +50 -42
package/dist/assets/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import UdirLogo from './utdanningsdirektoratet-logo-rgb-neg.png';
|
|
2
|
-
export { UdirLogo };
|
|
1
|
+
import UdirLogo from './utdanningsdirektoratet-logo-rgb-neg.png';
|
|
2
|
+
export { UdirLogo };
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IAuthorizedPage, UserMenuItem, v0colors } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IAuthorizedPage, UserMenuItem, v0colors } from './types';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
type AppBarProps = {
|
|
5
|
+
isProd: boolean;
|
|
6
|
+
username: string;
|
|
7
|
+
currentPath: string;
|
|
8
|
+
appTitle: string;
|
|
9
|
+
userMenuItems: UserMenuItem[];
|
|
10
|
+
menuItems: IAuthorizedPage[];
|
|
11
|
+
userRole?: string;
|
|
12
|
+
colors: v0colors;
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
declare const AppBar: React.FunctionComponent<AppBarProps>;
|
|
16
|
+
export default AppBar;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Theme, MUIStyledCommonProps } from '@mui/system';
|
|
3
|
-
import { v0colors } from './types';
|
|
4
|
-
export declare const dimensions: {
|
|
5
|
-
breadcrumbsFontSize: number;
|
|
6
|
-
contentWidth: number;
|
|
7
|
-
footerHeight: number;
|
|
8
|
-
inputBoxHeight: number;
|
|
9
|
-
toolbarHeight: number;
|
|
10
|
-
toolbarHeightMobile: number;
|
|
11
|
-
toolbarWidth: number;
|
|
12
|
-
toolbarMenuWidth: number;
|
|
13
|
-
toolbarMenuHeight: number;
|
|
14
|
-
};
|
|
15
|
-
export declare const ToolbarTitle: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps
|
|
16
|
-
export declare const EnvironmentTitle: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
-
export declare const Toolbar: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
-
export declare const ToolbarFixer: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
-
export declare const ToolbarInner: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
20
|
-
colors: v0colors;
|
|
21
|
-
} & MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
|
-
export declare const ToolbarLeft: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
-
export declare const ToolbarRight: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
24
|
-
export declare const UserContainer: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
-
export declare const AccountName: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
26
|
-
export declare const ToolbarMenu: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
27
|
-
export declare const MobileToolbarMenu: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
-
export declare const ToolbarMenuInner: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
|
-
export declare const ToolbarMenuItem: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps
|
|
30
|
-
export declare const MobileToolbarMenuItem: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme, MUIStyledCommonProps } from '@mui/system';
|
|
3
|
+
import { v0colors } from './types';
|
|
4
|
+
export declare const dimensions: {
|
|
5
|
+
breadcrumbsFontSize: number;
|
|
6
|
+
contentWidth: number;
|
|
7
|
+
footerHeight: number;
|
|
8
|
+
inputBoxHeight: number;
|
|
9
|
+
toolbarHeight: number;
|
|
10
|
+
toolbarHeightMobile: number;
|
|
11
|
+
toolbarWidth: number;
|
|
12
|
+
toolbarMenuWidth: number;
|
|
13
|
+
toolbarMenuHeight: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const ToolbarTitle: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
|
+
export declare const EnvironmentTitle: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
+
export declare const Toolbar: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
+
export declare const ToolbarFixer: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
+
export declare const ToolbarInner: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
20
|
+
colors: v0colors;
|
|
21
|
+
} & MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
|
+
export declare const ToolbarLeft: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
+
export declare const ToolbarRight: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
24
|
+
export declare const UserContainer: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
+
export declare const AccountName: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
26
|
+
export declare const ToolbarMenu: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
27
|
+
export declare const MobileToolbarMenu: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
+
export declare const ToolbarMenuInner: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
|
+
export declare const ToolbarMenuItem: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
30
|
+
export declare const MobileToolbarMenuItem: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IAuthorizedPage, UserMenuItem, v0colors } from './types';
|
|
3
|
-
type Props = {
|
|
4
|
-
userMenuItems: UserMenuItem[];
|
|
5
|
-
menuItems: IAuthorizedPage[];
|
|
6
|
-
colors: v0colors;
|
|
7
|
-
};
|
|
8
|
-
declare const MobileAppBar: React.FunctionComponent<Props>;
|
|
9
|
-
export default MobileAppBar;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IAuthorizedPage, UserMenuItem, v0colors } from './types';
|
|
3
|
+
type Props = {
|
|
4
|
+
userMenuItems: UserMenuItem[];
|
|
5
|
+
menuItems: IAuthorizedPage[];
|
|
6
|
+
colors: v0colors;
|
|
7
|
+
};
|
|
8
|
+
declare const MobileAppBar: React.FunctionComponent<Props>;
|
|
9
|
+
export default MobileAppBar;
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const v0colors: {
|
|
3
|
-
primary: string;
|
|
4
|
-
secondary: string;
|
|
5
|
-
body: string;
|
|
6
|
-
headerBackgroundColor: string;
|
|
7
|
-
borderColor: string;
|
|
8
|
-
primaryFade: string;
|
|
9
|
-
greyText: string;
|
|
10
|
-
placeholderText: string;
|
|
11
|
-
textColor: string;
|
|
12
|
-
textColorFade: string;
|
|
13
|
-
textColorMoreFade: string;
|
|
14
|
-
white: string;
|
|
15
|
-
lightGrey: string;
|
|
16
|
-
};
|
|
17
|
-
declare const _default: {
|
|
18
|
-
title: string;
|
|
19
|
-
excludeStories: string[];
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const v0colors: {
|
|
3
|
+
primary: string;
|
|
4
|
+
secondary: string;
|
|
5
|
+
body: string;
|
|
6
|
+
headerBackgroundColor: string;
|
|
7
|
+
borderColor: string;
|
|
8
|
+
primaryFade: string;
|
|
9
|
+
greyText: string;
|
|
10
|
+
placeholderText: string;
|
|
11
|
+
textColor: string;
|
|
12
|
+
textColorFade: string;
|
|
13
|
+
textColorMoreFade: string;
|
|
14
|
+
white: string;
|
|
15
|
+
lightGrey: string;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: {
|
|
18
|
+
title: string;
|
|
19
|
+
excludeStories: string[];
|
|
20
|
+
render: () => React.JSX.Element;
|
|
21
|
+
decorators: import("@storybook/preview-api/dist/addons").MakeDecoratorResult[];
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
export declare const WithContent: {
|
|
25
|
+
(): React.JSX.Element;
|
|
26
|
+
story: {
|
|
27
|
+
name: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
export type UserMenuItem = {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
action?: () => void;
|
|
5
|
-
isAnchor?: boolean;
|
|
6
|
-
href?: string;
|
|
7
|
-
onClick?: (e: any) => void;
|
|
8
|
-
};
|
|
9
|
-
export interface IAuthorizedPage {
|
|
10
|
-
name: string;
|
|
11
|
-
translatedTextRef?: string;
|
|
12
|
-
accessTextRef?: string;
|
|
13
|
-
redirectUrl?: string;
|
|
14
|
-
path: string;
|
|
15
|
-
exact?: boolean;
|
|
16
|
-
link?: boolean;
|
|
17
|
-
accessLink?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export type v0colors = {
|
|
20
|
-
body: string;
|
|
21
|
-
headerBackgroundColor: string;
|
|
22
|
-
borderColor: string;
|
|
23
|
-
primaryFade: string;
|
|
24
|
-
greyText: string;
|
|
25
|
-
placeholderText: string;
|
|
26
|
-
textColor: string;
|
|
27
|
-
textColorFade: string;
|
|
28
|
-
textColorMoreFade: string;
|
|
29
|
-
white: string;
|
|
30
|
-
lightGrey: string;
|
|
31
|
-
primary: string;
|
|
32
|
-
secondary: string;
|
|
33
|
-
};
|
|
1
|
+
export type UserMenuItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
action?: () => void;
|
|
5
|
+
isAnchor?: boolean;
|
|
6
|
+
href?: string;
|
|
7
|
+
onClick?: (e: any) => void;
|
|
8
|
+
};
|
|
9
|
+
export interface IAuthorizedPage {
|
|
10
|
+
name: string;
|
|
11
|
+
translatedTextRef?: string;
|
|
12
|
+
accessTextRef?: string;
|
|
13
|
+
redirectUrl?: string;
|
|
14
|
+
path: string;
|
|
15
|
+
exact?: boolean;
|
|
16
|
+
link?: boolean;
|
|
17
|
+
accessLink?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export type v0colors = {
|
|
20
|
+
body: string;
|
|
21
|
+
headerBackgroundColor: string;
|
|
22
|
+
borderColor: string;
|
|
23
|
+
primaryFade: string;
|
|
24
|
+
greyText: string;
|
|
25
|
+
placeholderText: string;
|
|
26
|
+
textColor: string;
|
|
27
|
+
textColorFade: string;
|
|
28
|
+
textColorMoreFade: string;
|
|
29
|
+
white: string;
|
|
30
|
+
lightGrey: string;
|
|
31
|
+
primary: string;
|
|
32
|
+
secondary: string;
|
|
33
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface NavigationProps {
|
|
3
|
-
id: number;
|
|
4
|
-
label: string;
|
|
5
|
-
toUrl?: string;
|
|
6
|
-
children?: NavigationProps[];
|
|
7
|
-
linkIcon?: React.ReactElement<
|
|
8
|
-
}
|
|
9
|
-
export interface AppBarNavListProps {
|
|
10
|
-
pages: NavigationProps[];
|
|
11
|
-
}
|
|
12
|
-
declare const _default: React.ComponentType<AppBarNavListProps>;
|
|
13
|
-
export default _default;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface NavigationProps {
|
|
3
|
+
id: number;
|
|
4
|
+
label: string;
|
|
5
|
+
toUrl?: string;
|
|
6
|
+
children?: NavigationProps[];
|
|
7
|
+
linkIcon?: React.ReactElement<unknown>;
|
|
8
|
+
}
|
|
9
|
+
export interface AppBarNavListProps {
|
|
10
|
+
pages: NavigationProps[];
|
|
11
|
+
}
|
|
12
|
+
declare const _default: React.ComponentType<AppBarNavListProps>;
|
|
13
|
+
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface NavigationProps {
|
|
3
|
-
id: number;
|
|
4
|
-
label: string;
|
|
5
|
-
toUrl?: string;
|
|
6
|
-
children?: NavigationProps[];
|
|
7
|
-
linkIcon?: React.ReactElement<
|
|
8
|
-
}
|
|
9
|
-
export interface AppBarNavListProps {
|
|
10
|
-
selectedPage: number;
|
|
11
|
-
pages: NavigationProps[];
|
|
12
|
-
onChange: (selectedPage: number) => void;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: React.ComponentType<AppBarNavListProps>;
|
|
15
|
-
export default _default;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface NavigationProps {
|
|
3
|
+
id: number;
|
|
4
|
+
label: string;
|
|
5
|
+
toUrl?: string;
|
|
6
|
+
children?: NavigationProps[];
|
|
7
|
+
linkIcon?: React.ReactElement<unknown>;
|
|
8
|
+
}
|
|
9
|
+
export interface AppBarNavListProps {
|
|
10
|
+
selectedPage: number;
|
|
11
|
+
pages: NavigationProps[];
|
|
12
|
+
onChange: (selectedPage: number) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: React.ComponentType<AppBarNavListProps>;
|
|
15
|
+
export default _default;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const navbarPages: {
|
|
3
|
-
id: number;
|
|
4
|
-
label: string;
|
|
5
|
-
onClick: (url: string) => void;
|
|
6
|
-
toUrl: string;
|
|
7
|
-
name: string;
|
|
8
|
-
path: string;
|
|
9
|
-
}[];
|
|
10
|
-
declare const _default: {
|
|
11
|
-
title: string;
|
|
12
|
-
excludeStories: string[];
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const navbarPages: {
|
|
3
|
+
id: number;
|
|
4
|
+
label: string;
|
|
5
|
+
onClick: (url: string) => void;
|
|
6
|
+
toUrl: string;
|
|
7
|
+
name: string;
|
|
8
|
+
path: string;
|
|
9
|
+
}[];
|
|
10
|
+
declare const _default: {
|
|
11
|
+
title: string;
|
|
12
|
+
excludeStories: string[];
|
|
13
|
+
render: () => React.JSX.Element;
|
|
14
|
+
decorators: import("@storybook/preview-api/dist/addons").MakeDecoratorResult[];
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const WithThemeAndAppbar: {
|
|
18
|
+
(): React.JSX.Element;
|
|
19
|
+
story: {
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Theme } from '@mui/material';
|
|
2
|
-
export declare const useStyles: (params: void, muiStyleOverridesParams?: {
|
|
3
|
-
props: Record<string, unknown>;
|
|
4
|
-
ownerState?: Record<string, unknown> | undefined;
|
|
5
|
-
} | undefined) => {
|
|
6
|
-
classes: Record<"tabs" | "tab" | "indicator", string>;
|
|
7
|
-
theme: Theme;
|
|
8
|
-
css: import("tss-react").Css;
|
|
9
|
-
cx: import("tss-react").Cx;
|
|
10
|
-
};
|
|
11
|
-
export declare const useMobileStyles: (params: void, muiStyleOverridesParams?: {
|
|
12
|
-
props: Record<string, unknown>;
|
|
13
|
-
ownerState?: Record<string, unknown> | undefined;
|
|
14
|
-
} | undefined) => {
|
|
15
|
-
classes: Record<"mobileNavList", string>;
|
|
16
|
-
theme: Theme;
|
|
17
|
-
css: import("tss-react").Css;
|
|
18
|
-
cx: import("tss-react").Cx;
|
|
19
|
-
};
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
|
+
export declare const useStyles: (params: void, muiStyleOverridesParams?: {
|
|
3
|
+
props: Record<string, unknown>;
|
|
4
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
5
|
+
} | undefined) => {
|
|
6
|
+
classes: Record<"tabs" | "tab" | "indicator", string>;
|
|
7
|
+
theme: Theme;
|
|
8
|
+
css: import("tss-react").Css;
|
|
9
|
+
cx: import("tss-react").Cx;
|
|
10
|
+
};
|
|
11
|
+
export declare const useMobileStyles: (params: void, muiStyleOverridesParams?: {
|
|
12
|
+
props: Record<string, unknown>;
|
|
13
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
14
|
+
} | undefined) => {
|
|
15
|
+
classes: Record<"mobileNavList", string>;
|
|
16
|
+
theme: Theme;
|
|
17
|
+
css: import("tss-react").Css;
|
|
18
|
+
cx: import("tss-react").Cx;
|
|
19
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface AppBarProfileProps {
|
|
3
|
-
userRole: string;
|
|
4
|
-
fullName: string;
|
|
5
|
-
onButtonClick: (args?:
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.ComponentType<AppBarProfileProps>;
|
|
8
|
-
export default _default;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface AppBarProfileProps {
|
|
3
|
+
userRole: string;
|
|
4
|
+
fullName: string;
|
|
5
|
+
onButtonClick: (args?: unknown) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: React.ComponentType<AppBarProfileProps>;
|
|
8
|
+
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Standard: {
|
|
7
|
-
(): JSX.Element;
|
|
8
|
-
story: {
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Standard: {
|
|
7
|
+
(): React.JSX.Element;
|
|
8
|
+
story: {
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const useStyles: (params: void, muiStyleOverridesParams?: {
|
|
2
|
-
props: Record<string, unknown>;
|
|
3
|
-
ownerState?: Record<string, unknown> | undefined;
|
|
4
|
-
} | undefined) => {
|
|
5
|
-
classes: Record<"user", string>;
|
|
6
|
-
theme: import("@mui/material").Theme;
|
|
7
|
-
css: import("tss-react").Css;
|
|
8
|
-
cx: import("tss-react").Cx;
|
|
9
|
-
};
|
|
1
|
+
export declare const useStyles: (params: void, muiStyleOverridesParams?: {
|
|
2
|
+
props: Record<string, unknown>;
|
|
3
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
4
|
+
} | undefined) => {
|
|
5
|
+
classes: Record<"user", string>;
|
|
6
|
+
theme: import("@mui/material").Theme;
|
|
7
|
+
css: import("tss-react").Css;
|
|
8
|
+
cx: import("tss-react").Cx;
|
|
9
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface BodyLayoutProps {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: React.ComponentType<BodyLayoutProps>;
|
|
6
|
-
export default _default;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface BodyLayoutProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: React.ComponentType<BodyLayoutProps>;
|
|
6
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { CircularProgressProps } from '@mui/material/CircularProgress';
|
|
3
|
-
interface Props extends CircularProgressProps {
|
|
4
|
-
height?: number | string;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: React.ComponentType<Props>;
|
|
7
|
-
export default _default;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { CircularProgressProps } from '@mui/material/CircularProgress';
|
|
3
|
+
interface Props extends CircularProgressProps {
|
|
4
|
+
height?: number | string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: React.ComponentType<Props>;
|
|
7
|
+
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Standard: {
|
|
7
|
-
(): JSX.Element;
|
|
8
|
-
story: {
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const CustomHeight: {
|
|
13
|
-
(): JSX.Element;
|
|
14
|
-
story: {
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Standard: {
|
|
7
|
+
(): React.JSX.Element;
|
|
8
|
+
story: {
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const CustomHeight: {
|
|
13
|
+
(): React.JSX.Element;
|
|
14
|
+
story: {
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ConfirmationOptions {
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
warning?: boolean;
|
|
6
|
-
confirmText?: string;
|
|
7
|
-
cancelText?: string;
|
|
8
|
-
}
|
|
9
|
-
interface Props extends Partial<ConfirmationOptions> {
|
|
10
|
-
open: boolean;
|
|
11
|
-
onSubmit: () => void;
|
|
12
|
-
onCancel: () => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const ConfirmationDialog: React.FC<Props>;
|
|
15
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ConfirmationOptions {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
warning?: boolean;
|
|
6
|
+
confirmText?: string;
|
|
7
|
+
cancelText?: string;
|
|
8
|
+
}
|
|
9
|
+
interface Props extends Partial<ConfirmationOptions> {
|
|
10
|
+
open: boolean;
|
|
11
|
+
onSubmit: () => void;
|
|
12
|
+
onCancel: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const ConfirmationDialog: React.FC<Props>;
|
|
15
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ConfirmationOptions } from './components/dialog';
|
|
3
|
-
export declare const ConfirmationServiceProvider: React.FC<{
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const useConfirmation: () => (options: ConfirmationOptions) => Promise<void>;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { ConfirmationOptions } from './components/dialog';
|
|
3
|
+
export declare const ConfirmationServiceProvider: React.FC<{
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const useConfirmation: () => (options: ConfirmationOptions) => Promise<void>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
decorators: ((storyFn: any) => JSX.Element)[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Standard: {
|
|
8
|
-
(): JSX.Element;
|
|
9
|
-
story: {
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const Warning: {
|
|
14
|
-
(): JSX.Element;
|
|
15
|
-
story: {
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
decorators: ((storyFn: any) => React.JSX.Element)[];
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Standard: {
|
|
8
|
+
(): React.JSX.Element;
|
|
9
|
+
story: {
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const Warning: {
|
|
14
|
+
(): React.JSX.Element;
|
|
15
|
+
story: {
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const useStyles: (params: void, muiStyleOverridesParams?: {
|
|
2
|
-
props: Record<string, unknown>;
|
|
3
|
-
ownerState?: Record<string, unknown> | undefined;
|
|
4
|
-
} | undefined) => {
|
|
5
|
-
classes: Record<"discard", string>;
|
|
6
|
-
theme: import("@mui/material").Theme;
|
|
7
|
-
css: import("tss-react").Css;
|
|
8
|
-
cx: import("tss-react").Cx;
|
|
9
|
-
};
|
|
1
|
+
export declare const useStyles: (params: void, muiStyleOverridesParams?: {
|
|
2
|
+
props: Record<string, unknown>;
|
|
3
|
+
ownerState?: Record<string, unknown> | undefined;
|
|
4
|
+
} | undefined) => {
|
|
5
|
+
classes: Record<"discard", string>;
|
|
6
|
+
theme: import("@mui/material").Theme;
|
|
7
|
+
css: import("tss-react").Css;
|
|
8
|
+
cx: import("tss-react").Cx;
|
|
9
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { NavigationProps } from '..';
|
|
3
|
-
interface Props {
|
|
4
|
-
title: string;
|
|
5
|
-
pages: NavigationProps[];
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
onPageClick: (page: NavigationProps) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ComponentType<Props>;
|
|
10
|
-
export default _default;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { NavigationProps } from '..';
|
|
3
|
+
interface Props {
|
|
4
|
+
title: string;
|
|
5
|
+
pages: NavigationProps[];
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
onPageClick: (page: NavigationProps) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: React.ComponentType<Props>;
|
|
10
|
+
export default _default;
|