@altinn/altinn-components 0.24.1 → 0.24.4
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/Checkmark-RgzvRNxP.js +25 -0
- package/dist/altinn-ds-overrides.css +5 -0
- package/dist/assets/MenuBase.css +1 -1
- package/dist/assets/MenuItemsVirtual.css +1 -1
- package/dist/components/Dialog/DialogListGroup.js +13 -32
- package/dist/components/DsComponents/index.js +23 -0
- package/dist/components/GlobalMenu/AccountMenu.js +24 -24
- package/dist/components/List/ListItem.js +50 -49
- package/dist/components/Menu/MenuBase.js +10 -10
- package/dist/components/Menu/MenuItemsVirtual.js +66 -605
- package/dist/components/index.js +162 -141
- package/dist/global.css +3 -0
- package/dist/index-DyDqjche.js +541 -0
- package/dist/index.js +179 -158
- package/dist/types/lib/components/Avatar/Examples.stories.d.ts +1 -1
- package/dist/types/lib/components/Avatar/avatar.stories.d.ts +1 -1
- package/dist/types/lib/components/DsComponents/DsComponents.stories.d.ts +23 -0
- package/dist/types/lib/components/DsComponents/index.d.ts +1 -0
- package/dist/types/lib/components/GlobalMenu/AccountMenu.d.ts +2 -2
- package/dist/types/lib/components/Header/LocaleSwitcher.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/IconOrAvatar.d.ts +1 -1
- package/dist/types/lib/components/Search/AutocompleteBase.d.ts +1 -1
- package/dist/types/lib/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/types/lib/components/Transmission/Transmission.stories.d.ts +9 -9
- package/dist/types/lib/components/index.d.ts +1 -0
- package/dist/usePagination-CBMPUKt_.js +4073 -0
- package/package.json +4 -1
|
@@ -7,7 +7,7 @@ declare const meta: {
|
|
|
7
7
|
args: {
|
|
8
8
|
id: string;
|
|
9
9
|
datetime?: string;
|
|
10
|
-
byline?:
|
|
10
|
+
byline?: React.ReactNode;
|
|
11
11
|
badge?: import('..').BadgeProps;
|
|
12
12
|
createdAt?: string;
|
|
13
13
|
createdAtLabel?: string;
|
|
@@ -16,17 +16,17 @@ declare const meta: {
|
|
|
16
16
|
summary?: string;
|
|
17
17
|
attachments?: import('..').AttachmentListProps;
|
|
18
18
|
type?: import('./Transmission').TransmissionType;
|
|
19
|
-
children?:
|
|
19
|
+
children?: React.ReactNode | (() => React.ReactElement);
|
|
20
20
|
loading?: boolean | undefined;
|
|
21
21
|
size?: import('..').ListItemSize | undefined;
|
|
22
22
|
color?: import('..').ListItemColor | undefined;
|
|
23
23
|
theme?: import('..').ListItemTheme | undefined;
|
|
24
24
|
className?: string | undefined;
|
|
25
|
-
as?:
|
|
26
|
-
label?:
|
|
25
|
+
as?: React.ElementType | undefined;
|
|
26
|
+
label?: React.ReactNode | (() => React.ReactElement);
|
|
27
27
|
select?: import('..').ListItemSelectProps | undefined;
|
|
28
28
|
variant?: import('..').ListItemVariant | undefined;
|
|
29
|
-
icon?: import('..').SvgElement | import('..').IconProps |
|
|
29
|
+
icon?: import('..').SvgElement | import('..').IconProps | React.ReactNode;
|
|
30
30
|
hidden?: boolean | undefined;
|
|
31
31
|
expanded?: boolean | undefined;
|
|
32
32
|
active?: boolean | undefined;
|
|
@@ -35,18 +35,18 @@ declare const meta: {
|
|
|
35
35
|
avatarGroup?: import('..').AvatarGroupProps | undefined;
|
|
36
36
|
href?: string | undefined;
|
|
37
37
|
ariaLabel?: string | undefined;
|
|
38
|
-
titleAs?:
|
|
38
|
+
titleAs?: React.ElementType | undefined;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
linkIcon?: boolean | undefined;
|
|
41
41
|
interactive?: boolean | undefined;
|
|
42
42
|
tabIndex?: number | undefined;
|
|
43
43
|
shadow?: import('..').ListItemShadow | undefined;
|
|
44
44
|
selected?: boolean | undefined;
|
|
45
|
-
onMouseEnter?:
|
|
45
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
46
46
|
collapsible?: boolean | undefined;
|
|
47
|
-
controls?:
|
|
47
|
+
controls?: React.ReactNode;
|
|
48
48
|
onClick?: (() => void) | undefined;
|
|
49
|
-
onKeyPress?:
|
|
49
|
+
onKeyPress?: React.KeyboardEventHandler | undefined;
|
|
50
50
|
describedby?: string | undefined;
|
|
51
51
|
};
|
|
52
52
|
};
|