grep-components 2.4.0 → 2.4.1-GREPF-2459.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.
@@ -0,0 +1,29 @@
1
+ import { Theme, MUIStyledCommonProps } from '@mui/system';
2
+ import { v0colors } from './types';
3
+ export declare const dimensions: {
4
+ breadcrumbsFontSize: number;
5
+ contentWidth: number;
6
+ footerHeight: number;
7
+ inputBoxHeight: number;
8
+ toolbarHeight: number;
9
+ toolbarHeightMobile: number;
10
+ toolbarWidth: number;
11
+ toolbarMenuWidth: number;
12
+ toolbarMenuHeight: number;
13
+ };
14
+ export declare const ToolbarTitle: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
15
+ export declare const EnvironmentTitle: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
+ export declare const Toolbar: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
+ export declare const ToolbarFixer: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
+ export declare const ToolbarInner: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
19
+ colors: v0colors;
20
+ } & MUIStyledCommonProps<Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
21
+ export declare const ToolbarLeft: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
22
+ export declare const ToolbarRight: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
+ export declare const UserContainer: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
24
+ export declare const AccountName: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
25
+ export declare const ToolbarMenu: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
26
+ export declare const MobileToolbarMenu: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
+ export declare const ToolbarMenuInner: import("@emotion/styled").StyledComponent<MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
28
+ export declare const ToolbarMenuItem: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
29
+ export declare const MobileToolbarMenuItem: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
package/dist/index.js CHANGED
@@ -17,7 +17,6 @@ import Menu from '@mui/material/Menu';
17
17
  import MenuItem from '@mui/material/MenuItem';
18
18
  import ExpandMore from '@mui/icons-material/ExpandMore';
19
19
  import List$1 from '@mui/material/List';
20
- import ListItem$1 from '@mui/material/ListItem';
21
20
  import ListItemText$1 from '@mui/material/ListItemText';
22
21
  import ListItemIcon from '@mui/material/ListItemIcon';
23
22
  import Divider from '@mui/material/Divider';
@@ -43,6 +42,7 @@ import Info from '@mui/icons-material/Info';
43
42
  import Grid from '@mui/material/Grid';
44
43
  import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
45
44
  import { LocalizationProvider, DesktopDatePicker } from '@mui/x-date-pickers';
45
+ import ListItem$1 from '@mui/material/ListItem';
46
46
  import Collapse$1 from '@mui/material/Collapse';
47
47
  import ExpandLess from '@mui/icons-material/ExpandLess';
48
48
  import Warning from '@mui/icons-material/Warning';
@@ -2002,7 +2002,7 @@ const Footer = ({ items, serviceNameText, udirLink, udirLogo, }) => {
2002
2002
  const LinkList = (props) => (React__default.createElement(Box$1, { width: "100%", flexDirection: "column" },
2003
2003
  React__default.createElement(Typography$1, { style: { fontSize: 24, color: Colors.black, marginBottom: 20 } }, props.title),
2004
2004
  React__default.createElement(List$1, null, props.pages.map((page) => (React__default.createElement(Box$1, { key: page.id },
2005
- React__default.createElement(ListItem$1, { button: true, onClick: () => props.onPageClick(page), style: { padding: '12px 4px' } },
2005
+ React__default.createElement(ListItemButton, { onClick: () => props.onPageClick(page), style: { padding: '12px 4px' } },
2006
2006
  React__default.createElement(ListItemText$1, { primary: page.label, primaryTypographyProps: {
2007
2007
  color: 'primary',
2008
2008
  style: { fontSize: 18 },