@altinn/altinn-components 0.56.9 → 0.56.11
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/{SearchField-CXMhgFiw.js → SearchField-CYYz0JvC.js} +91 -91
- package/dist/assets/DatepickerFilter.css +1 -0
- package/dist/assets/FooterBase.css +1 -1
- package/dist/assets/GlobalHeaderBase.css +1 -1
- package/dist/assets/LayoutBody.css +1 -1
- package/dist/assets/LayoutContent.css +1 -1
- package/dist/assets/LayoutGrid.css +1 -0
- package/dist/assets/LayoutSidebar.css +1 -1
- package/dist/assets/SearchField.css +1 -1
- package/dist/components/Account/AccountMenu.js +1 -1
- package/dist/components/Breadcrumbs/index.js +6 -0
- package/dist/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/components/Dialog/DialogActions.js +1 -1
- package/dist/components/Footer/FooterBase.js +7 -7
- package/dist/components/Forms/SearchField.js +1 -1
- package/dist/components/Forms/index.js +1 -1
- package/dist/components/GlobalHeader/AccountSelector.js +1 -1
- package/dist/components/GlobalHeader/GlobalHeaderBase.js +4 -4
- package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
- package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
- package/dist/components/GlobalMenu_old/GlobalMenu.js +1 -1
- package/dist/components/Header/LocaleSwitcher.js +1 -1
- package/dist/components/Layout/Layout.js +44 -33
- package/dist/components/Layout/LayoutBody.js +5 -5
- package/dist/components/Layout/LayoutContent.js +1 -1
- package/dist/components/Layout/LayoutGrid.js +7 -0
- package/dist/components/Layout/LayoutSidebar.js +4 -4
- package/dist/components/Layout/index.js +12 -10
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuItems.js +1 -1
- package/dist/components/Menu/MenuListSearch.js +1 -1
- package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Page/PageNav.js +4 -4
- package/dist/components/Page/index.js +18 -22
- package/dist/components/Toolbar/DatepickerFilter.js +57 -57
- package/dist/components/Toolbar/SelectDateFilter.js +49 -34
- package/dist/components/Toolbar/ToolbarFilter.js +6 -6
- package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarFilterMenu.js +83 -78
- package/dist/components/Toolbar/ToolbarMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarSearch.js +1 -1
- package/dist/components/Toolbar/index.js +10 -8
- package/dist/components/index.js +445 -441
- package/dist/index.js +457 -453
- package/dist/types/lib/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/types/lib/components/Layout/Layout.d.ts +3 -1
- package/dist/types/lib/components/Layout/Layout.stories.d.ts +2 -1
- package/dist/types/lib/components/Layout/LayoutGrid.d.ts +13 -0
- package/dist/types/lib/components/Layout/index.d.ts +1 -0
- package/dist/types/lib/components/Page/index.d.ts +0 -2
- package/dist/types/lib/components/Toolbar/SelectDateFilter.d.ts +1 -0
- package/dist/types/lib/components/Toolbar/index.d.ts +1 -0
- package/dist/types/lib/components/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/{Page → Breadcrumbs}/Breadcrumbs.js +1 -1
- /package/dist/components/{Page → Breadcrumbs}/BreadcrumbsLink.js +0 -0
- /package/dist/types/lib/components/{Page → Breadcrumbs}/Breadcrumbs.d.ts +0 -0
- /package/dist/types/lib/components/{Page → Breadcrumbs}/Breadcrumbs.stories.d.ts +0 -0
- /package/dist/types/lib/components/{Page → Breadcrumbs}/BreadcrumbsLink.d.ts +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { LayoutColor, LayoutSidebarProps, LayoutTheme } from '.';
|
|
3
|
+
import { BreadcrumbsProps } from '../Breadcrumbs';
|
|
3
4
|
import { FooterProps } from '../Footer';
|
|
4
5
|
import { GlobalHeaderProps } from '../GlobalHeader';
|
|
5
6
|
import { HeaderProps } from '../Header';
|
|
@@ -22,6 +23,7 @@ export interface LayoutProps {
|
|
|
22
23
|
children?: ReactNode;
|
|
23
24
|
skipLink?: SkipLinkProps;
|
|
24
25
|
useGlobalHeader?: boolean;
|
|
26
|
+
breadcrumbs?: BreadcrumbsProps['items'];
|
|
25
27
|
}
|
|
26
|
-
export declare const Layout: ({ color, theme, header, footer, sidebar, content, children, skipLink, useGlobalHeader, }: LayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare const Layout: ({ color, theme, header, footer, sidebar, content, children, skipLink, breadcrumbs, useGlobalHeader, }: LayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
29
|
export {};
|
|
@@ -4,7 +4,7 @@ interface LayoutStoryArgs extends LayoutProps {
|
|
|
4
4
|
}
|
|
5
5
|
declare const meta: {
|
|
6
6
|
title: string;
|
|
7
|
-
component: ({ color, theme, header, footer, sidebar, content, children, skipLink, useGlobalHeader, }: LayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
component: ({ color, theme, header, footer, sidebar, content, children, skipLink, breadcrumbs, useGlobalHeader, }: LayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
10
10
|
};
|
|
@@ -52,3 +52,4 @@ export declare const HiddenSidebar: (args: LayoutStoryArgs) => import("react/jsx
|
|
|
52
52
|
export declare const Fullscreen: (args: LayoutStoryArgs) => import("react/jsx-runtime").JSX.Element;
|
|
53
53
|
export declare const Profile: (args: LayoutStoryArgs) => import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
export declare const SidebarReference: (args: LayoutStoryArgs) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export declare const InboxLayout: (args: LayoutStoryArgs) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface LayoutGridProps {
|
|
3
|
+
currentId?: string;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
variant?: 'default' | 'narrow' | 'wide';
|
|
6
|
+
color?: 'neutral' | 'person' | 'company';
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Body layout container. Should be a child of LayoutBase.
|
|
10
|
+
* Defines a max-width for the application body.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare const LayoutGrid: ({ currentId, children, variant, color }: LayoutGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,8 +5,6 @@ export * from './PageTabs';
|
|
|
5
5
|
export * from './PageDetails';
|
|
6
6
|
export * from './Flex';
|
|
7
7
|
export * from './Grid';
|
|
8
|
-
export * from './Breadcrumbs';
|
|
9
|
-
export * from './BreadcrumbsLink';
|
|
10
8
|
export * from './Section';
|
|
11
9
|
export * from './ContactSection';
|
|
12
10
|
export * from './ContactButtons';
|
package/package.json
CHANGED
|
@@ -4,10 +4,10 @@ import "../../index-p1eeF8LQ.js";
|
|
|
4
4
|
import { Icon as f } from "../Icon/Icon.js";
|
|
5
5
|
import s, { forwardRef as p } from "react";
|
|
6
6
|
import "../Button/Button.js";
|
|
7
|
+
import { BreadcrumbsLink as c } from "./BreadcrumbsLink.js";
|
|
7
8
|
import "react-dom";
|
|
8
9
|
import "../RootProvider/RootProvider.js";
|
|
9
10
|
import "../Snackbar/useSnackbar.js";
|
|
10
|
-
import { BreadcrumbsLink as c } from "./BreadcrumbsLink.js";
|
|
11
11
|
import { u as d } from "../../useId-BVFxCjkq.js";
|
|
12
12
|
import '../../assets/Breadcrumbs.css';var u = function(e, n) {
|
|
13
13
|
var r = {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|