@altinn/altinn-components 0.8.3 → 0.9.0

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,6 @@
1
+ import { ListProps } from '../List';
2
+ import { ResourceListItemProps } from './ResourceListItem';
3
+ export interface ResourceListProps extends Omit<ListProps, 'items'> {
4
+ items: ResourceListItemProps[];
5
+ }
6
+ export declare const ResourceList: ({ items, size, ...props }: ResourceListProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { createElement as i } from "react";
3
+ import "../../index-L8X2o7IH.js";
4
+ import "../Icon/SvgIcon.js";
5
+ import "../RootProvider/RootProvider.js";
6
+ import "../Searchbar/AutocompleteBase.js";
7
+ import { ResourceListItem as p } from "./ResourceListItem.js";
8
+ import { ListBase as s } from "../List/ListBase.js";
9
+ const x = ({ items: o, size: t = "md", ...m }) => /* @__PURE__ */ e(s, { ...m, children: o.map((r) => /* @__PURE__ */ i(p, { ...r, key: r.id, size: t })) });
10
+ export {
11
+ x as ResourceList
12
+ };
@@ -0,0 +1,270 @@
1
+ import { ResourceList as n } from "./ResourceList.js";
2
+ const o = [
3
+ {
4
+ identifier: "se_SMUTFL_1",
5
+ resourceName: "Lese Samordnet registermelding - utfylling",
6
+ ownerName: "Brønnøysundregistrene",
7
+ ownerOrgCode: "brg",
8
+ ownerImageUrl: "https://altinncdn.no/orgs/brg/brreg.png"
9
+ },
10
+ {
11
+ identifier: "se_5899_1",
12
+ resourceName: "Signering av digital innsending",
13
+ ownerName: "Brønnøysundregistrene",
14
+ ownerOrgCode: "brg",
15
+ ownerImageUrl: "https://altinncdn.no/orgs/brg/brreg.png"
16
+ },
17
+ {
18
+ identifier: "se_3776_1",
19
+ resourceName: "Global Legal Entity Identifier Norway - signering",
20
+ ownerName: "Brønnøysundregistrene",
21
+ ownerOrgCode: "brg",
22
+ ownerImageUrl: "https://altinncdn.no/orgs/brg/brreg.png"
23
+ },
24
+ {
25
+ identifier: "se_5059_1",
26
+ resourceName: "Årlig melding med krav om innsending av dokumentasjon for godkjent renholdsvirksomhet",
27
+ ownerName: "Arbeidstilsynet",
28
+ ownerOrgCode: "dat",
29
+ ownerImageUrl: "https://altinncdn.no/orgs/dat/arbeidstilsynet.png"
30
+ },
31
+ {
32
+ identifier: "se_5059_2",
33
+ resourceName: "Årlig melding for godkjent renholdsvirksomhet",
34
+ ownerName: "Arbeidstilsynet",
35
+ ownerOrgCode: "dat",
36
+ ownerImageUrl: "https://altinncdn.no/orgs/dat/arbeidstilsynet.png"
37
+ },
38
+ {
39
+ identifier: "se_2482_1",
40
+ resourceName: "Forhåndsmelding av arbeidsplass hvor det utføres midlertidig eller skiftende bygge- eller anleggsarbeid",
41
+ ownerName: "Arbeidstilsynet",
42
+ ownerOrgCode: "dat",
43
+ ownerImageUrl: "https://altinncdn.no/orgs/dat/arbeidstilsynet.png"
44
+ },
45
+ {
46
+ identifier: "se_4354_1",
47
+ resourceName: "Generell henvendelse for renholdsvirksomhet",
48
+ ownerName: "Arbeidstilsynet",
49
+ ownerOrgCode: "dat",
50
+ ownerImageUrl: "https://altinncdn.no/orgs/dat/arbeidstilsynet.png"
51
+ },
52
+ {
53
+ identifier: "se_5693_1",
54
+ resourceName: "Søknad om forhåndsgodkjenning av innkvartering i forbindelse med innreisekarantene",
55
+ ownerName: "Arbeidstilsynet",
56
+ ownerOrgCode: "dat",
57
+ ownerImageUrl: "https://altinncdn.no/orgs/dat/arbeidstilsynet.png"
58
+ },
59
+ {
60
+ identifier: "se_4352_2",
61
+ resourceName: "Lese Meldinger til organisasjoner fra DFØ",
62
+ ownerName: "Direktoratet for forvaltning og økonomistyring",
63
+ ownerOrgCode: "dfo",
64
+ ownerImageUrl: null
65
+ },
66
+ {
67
+ identifier: "se_4351_1",
68
+ resourceName: "Lese Meldinger til privatperson fra DFØ",
69
+ ownerName: "Direktoratet for forvaltning og økonomistyring",
70
+ ownerOrgCode: "dfo",
71
+ ownerImageUrl: null
72
+ },
73
+ {
74
+ identifier: "se_5786_1",
75
+ resourceName: "Publiser tilskudd i Tilskudd.no",
76
+ ownerName: "Direktoratet for forvaltning og økonomistyring",
77
+ ownerOrgCode: "dfo",
78
+ ownerImageUrl: null
79
+ },
80
+ {
81
+ identifier: "se_4965_2",
82
+ resourceName: "Erklæring om ansvarsrett",
83
+ ownerName: "Direktoratet for byggkvalitet",
84
+ ownerOrgCode: "dibk",
85
+ ownerImageUrl: "https://altinncdn.no/orgs/dibk/dibk.png"
86
+ },
87
+ {
88
+ identifier: "se_4398_6",
89
+ resourceName: "Gjennomføringsplan",
90
+ ownerName: "Direktoratet for byggkvalitet",
91
+ ownerOrgCode: "dibk",
92
+ ownerImageUrl: "https://altinncdn.no/orgs/dibk/dibk.png"
93
+ },
94
+ {
95
+ identifier: "se_5444_1",
96
+ resourceName: "Kontrollerklæring med sluttrapport",
97
+ ownerName: "Direktoratet for byggkvalitet",
98
+ ownerOrgCode: "dibk",
99
+ ownerImageUrl: "https://altinncdn.no/orgs/dibk/dibk.png"
100
+ },
101
+ {
102
+ identifier: "se_5445_1",
103
+ resourceName: "Kontrollerklæring med sluttrapport",
104
+ ownerName: "Direktoratet for byggkvalitet",
105
+ ownerOrgCode: "dibk",
106
+ ownerImageUrl: "https://altinncdn.no/orgs/dibk/dibk.png"
107
+ },
108
+ {
109
+ identifier: "se_4662_1",
110
+ resourceName: "Melding fra Fellestjenester Bygg",
111
+ ownerName: "Direktoratet for byggkvalitet",
112
+ ownerOrgCode: "dibk",
113
+ ownerImageUrl: "https://altinncdn.no/orgs/dibk/dibk.png"
114
+ },
115
+ {
116
+ identifier: "se_5968_1",
117
+ resourceName: "Varsel til arving",
118
+ ownerName: "Digitaliseringsdirektoratet",
119
+ ownerOrgCode: "digdir",
120
+ ownerImageUrl: ""
121
+ },
122
+ {
123
+ identifier: "se_5756_1",
124
+ resourceName: "Felles datakatalog - alle kataloger - lesetilgang",
125
+ ownerName: "Digitaliseringsdirektoratet",
126
+ ownerOrgCode: "digdir",
127
+ ownerImageUrl: ""
128
+ },
129
+ {
130
+ identifier: "se_5755_1",
131
+ resourceName: "Felles datakatalog - alle kataloger - skrivetilgang",
132
+ ownerName: "Digitaliseringsdirektoratet",
133
+ ownerOrgCode: "digdir",
134
+ ownerImageUrl: ""
135
+ },
136
+ {
137
+ identifier: "se_5913_1",
138
+ resourceName: "Søknad om helse- og omsorgstjeneste - varsel",
139
+ ownerName: "Digitale Helgeland",
140
+ ownerOrgCode: "dihe",
141
+ ownerImageUrl: ""
142
+ },
143
+ {
144
+ identifier: "se_4290_1",
145
+ resourceName: "Melding om innsendt driftsrapport",
146
+ ownerName: "Direktoratet for mineralforvaltning",
147
+ ownerOrgCode: "dmf",
148
+ ownerImageUrl: "https://altinncdn.no/orgs/dmf/dmf.png"
149
+ },
150
+ {
151
+ identifier: "se_4603_1",
152
+ resourceName: "Melding om avvik",
153
+ ownerName: "Datatilsynet",
154
+ ownerOrgCode: "dpa",
155
+ ownerImageUrl: null
156
+ },
157
+ {
158
+ identifier: "se_4963_1",
159
+ resourceName: "Registrering av personvernombud",
160
+ ownerName: "Datatilsynet",
161
+ ownerOrgCode: "dpa",
162
+ ownerImageUrl: null
163
+ },
164
+ {
165
+ identifier: "se_5733_1",
166
+ resourceName: "Avtale om oppbevaring om eksplosiver",
167
+ ownerName: "Direktoratet for samfunnssikkerhet og beredskap",
168
+ ownerOrgCode: "dsb",
169
+ ownerImageUrl: "https://altinncdn.no/orgs/dsb/dsb.png"
170
+ },
171
+ {
172
+ identifier: "se_5732_1",
173
+ resourceName: "Avtale om retur av eksplosiver",
174
+ ownerName: "Direktoratet for samfunnssikkerhet og beredskap",
175
+ ownerOrgCode: "dsb",
176
+ ownerImageUrl: "https://altinncdn.no/orgs/dsb/dsb.png"
177
+ },
178
+ {
179
+ identifier: "se_3354_2",
180
+ resourceName: "Registrering av virksomheter som prosjekterer, utfører, og vedlikeholder elektriske anlegg",
181
+ ownerName: "Direktoratet for samfunnssikkerhet og beredskap",
182
+ ownerOrgCode: "dsb",
183
+ ownerImageUrl: "https://altinncdn.no/orgs/dsb/dsb.png"
184
+ },
185
+ {
186
+ identifier: "se_5925_1",
187
+ resourceName: "Energitilskudd-rapporteringsskjema",
188
+ ownerName: "Enova SF",
189
+ ownerOrgCode: "eno",
190
+ ownerImageUrl: null
191
+ },
192
+ {
193
+ identifier: "se_5894_1",
194
+ resourceName: "Energitilskuddsordningen",
195
+ ownerName: "Enova SF",
196
+ ownerOrgCode: "eno",
197
+ ownerImageUrl: null
198
+ },
199
+ {
200
+ identifier: "se_6001_1",
201
+ resourceName: "Akvakulturregisteret",
202
+ ownerName: "Fiskeridirektoratet",
203
+ ownerOrgCode: "fd",
204
+ ownerImageUrl: "https://altinncdn.no/orgs/fd/fiskeridirektoratet.png"
205
+ },
206
+ {
207
+ identifier: "se_5817_1",
208
+ resourceName: "Akvakultursøknad",
209
+ ownerName: "Fiskeridirektoratet",
210
+ ownerOrgCode: "fd",
211
+ ownerImageUrl: "https://altinncdn.no/orgs/fd/fiskeridirektoratet.png"
212
+ },
213
+ {
214
+ identifier: "se_5798_1",
215
+ resourceName: "Søknads- og rapporteringsportal for akvakultur",
216
+ ownerName: "Fiskeridirektoratet",
217
+ ownerOrgCode: "fd",
218
+ ownerImageUrl: "https://altinncdn.no/orgs/fd/fiskeridirektoratet.png"
219
+ },
220
+ {
221
+ identifier: "se_5890_1",
222
+ resourceName: "Korrigering av fangst applikasjon",
223
+ ownerName: "Fiskeridirektoratet",
224
+ ownerOrgCode: "fd",
225
+ ownerImageUrl: "https://altinncdn.no/orgs/fd/fiskeridirektoratet.png"
226
+ },
227
+ {
228
+ identifier: "se_2382_3",
229
+ resourceName: "Månedsrapport biomasse FD-0001 - versjon 3",
230
+ ownerName: "Fiskeridirektoratet",
231
+ ownerOrgCode: "fd",
232
+ ownerImageUrl: "https://altinncdn.no/orgs/fd/fiskeridirektoratet.png"
233
+ }
234
+ ], r = o.map((e) => ({
235
+ id: e.identifier,
236
+ ownerName: e.ownerName ?? "",
237
+ resourceName: e.resourceName,
238
+ ownerLogoUrl: e.ownerImageUrl ?? "",
239
+ ownerLogoUrlAlt: `${e.ownerName} logo`
240
+ })), t = {
241
+ title: "List/ResourceList",
242
+ component: n,
243
+ tags: ["autodocs"],
244
+ parameters: {},
245
+ args: {
246
+ spacing: "md",
247
+ items: r,
248
+ size: "md"
249
+ },
250
+ argTypes: {
251
+ size: {
252
+ options: ["sm", "md", "lg"],
253
+ control: {
254
+ type: "inline-radio"
255
+ }
256
+ },
257
+ spacing: {
258
+ options: ["none", "xs", "sm", "md", "lg"],
259
+ control: {
260
+ type: "inline-radio"
261
+ }
262
+ }
263
+ }
264
+ }, a = {
265
+ args: { items: r }
266
+ };
267
+ export {
268
+ a as Default,
269
+ t as default
270
+ };
@@ -0,0 +1,11 @@
1
+ import { ListItemSize } from '../List';
2
+ export interface ResourceListItemProps {
3
+ id: string;
4
+ ownerName: string;
5
+ resourceName: string;
6
+ ownerLogoUrl?: string;
7
+ ownerLogoUrlAlt?: string;
8
+ size?: ListItemSize;
9
+ controls?: React.ReactNode;
10
+ }
11
+ export declare const ResourceListItem: ({ ownerName, resourceName, ownerLogoUrlAlt, ownerLogoUrl, size, controls, }: ResourceListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import "../../index-L8X2o7IH.js";
3
+ import "../Icon/SvgIcon.js";
4
+ import "react";
5
+ import "../RootProvider/RootProvider.js";
6
+ import "../Searchbar/AutocompleteBase.js";
7
+ import { ListItem as a } from "../List/ListItem.js";
8
+ const u = ({
9
+ ownerName: t,
10
+ resourceName: r,
11
+ ownerLogoUrlAlt: m,
12
+ ownerLogoUrl: i,
13
+ size: o = "md",
14
+ controls: p
15
+ }) => /* @__PURE__ */ e(
16
+ a,
17
+ {
18
+ avatar: {
19
+ name: t,
20
+ imageUrl: i,
21
+ imageUrlAlt: m,
22
+ type: "company"
23
+ },
24
+ title: r,
25
+ description: t,
26
+ size: o,
27
+ controls: p
28
+ }
29
+ );
30
+ export {
31
+ u as ResourceListItem
32
+ };
@@ -0,0 +1,33 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import "../../index-L8X2o7IH.js";
3
+ import "../Icon/SvgIcon.js";
4
+ import { Button as o } from "../Button/Button.js";
5
+ import { ResourceListItem as t } from "./ResourceListItem.js";
6
+ const m = {
7
+ title: "List/ResourceListItem",
8
+ component: t,
9
+ tags: ["autodocs"],
10
+ parameters: {},
11
+ args: {
12
+ size: "md",
13
+ id: "se_5733_1",
14
+ resourceName: "Avtale om oppbevaring om eksplosiver",
15
+ ownerName: "Direktoratet for samfunnssikkerhet og beredskap",
16
+ ownerLogoUrl: "https://altinncdn.no/orgs/dsb/dsb.png",
17
+ controls: /* @__PURE__ */ e(o, { icon: "pencil", variant: "text", size: "sm", children: "Endre" })
18
+ },
19
+ argTypes: {
20
+ size: {
21
+ options: ["sm", "md", "lg"],
22
+ control: {
23
+ type: "inline-radio"
24
+ }
25
+ }
26
+ }
27
+ }, p = {
28
+ args: {}
29
+ };
30
+ export {
31
+ p as Default,
32
+ m as default
33
+ };
@@ -0,0 +1,2 @@
1
+ export * from '../ResourceList/ResourceList';
2
+ export * from '../ResourceList/ResourceListItem';
@@ -0,0 +1,6 @@
1
+ import { ResourceList as r } from "./ResourceList.js";
2
+ import { ResourceListItem as s } from "./ResourceListItem.js";
3
+ export {
4
+ r as ResourceList,
5
+ s as ResourceListItem
6
+ };
@@ -23,3 +23,4 @@ export * from './Toolbar';
23
23
  export * from './Page';
24
24
  export * from './Transmission';
25
25
  export * from './Typography';
26
+ export * from './ResourceList';
@@ -3,10 +3,10 @@ import { AttachmentList as m } from "./Attachment/AttachmentList.js";
3
3
  import { AttachmentSection as p } from "./Attachment/AttachmentSection.js";
4
4
  import { Avatar as f } from "./Avatar/Avatar.js";
5
5
  import { AvatarGroup as n } from "./Avatar/AvatarGroup.js";
6
- import { Badge as l } from "./Badge/Badge.js";
6
+ import { Badge as u } from "./Badge/Badge.js";
7
7
  import { BookmarksList as B } from "./Bookmarks/BookmarksList.js";
8
8
  import { BookmarksListItem as g } from "./Bookmarks/BookmarksListItem.js";
9
- import { QueryItem as D, QueryLabel as d } from "./Bookmarks/QueryLabel.js";
9
+ import { QueryItem as D, QueryLabel as I } from "./Bookmarks/QueryLabel.js";
10
10
  import { ButtonBase as M } from "./Button/ButtonBase.js";
11
11
  import { ButtonLabel as S } from "./Button/ButtonLabel.js";
12
12
  import { ButtonIcon as H } from "./Button/ButtonIcon.js";
@@ -30,7 +30,7 @@ import { DialogHeader as ao } from "./Dialog/DialogHeader.js";
30
30
  import { DialogHeaderBase as xo } from "./Dialog/DialogHeaderBase.js";
31
31
  import { DialogHeadings as io } from "./Dialog/DialogHeadings.js";
32
32
  import { DialogHistory as so } from "./Dialog/DialogHistory.js";
33
- import { DialogNav as uo } from "./Dialog/DialogNav.js";
33
+ import { DialogNav as lo } from "./Dialog/DialogNav.js";
34
34
  import { DialogSectionBase as co } from "./Dialog/DialogSectionBase.js";
35
35
  import { DialogSeenBy as Lo } from "./Dialog/DialogSeenBy.js";
36
36
  import { DialogSelect as Io } from "./Dialog/DialogSelect.js";
@@ -56,10 +56,10 @@ import { Header as ar } from "./Header/Header.js";
56
56
  import { HeaderBase as xr } from "./Header/HeaderBase.js";
57
57
  import { HeaderLogo as ir } from "./Header/HeaderLogo.js";
58
58
  import { HeaderButton as sr } from "./Header/HeaderButton.js";
59
- import { HistoryList as ur } from "./History/HistoryList.js";
59
+ import { HistoryList as lr } from "./History/HistoryList.js";
60
60
  import { HistoryItem as cr } from "./History/HistoryItem.js";
61
61
  import { HistoryItemBase as Lr } from "./History/HistoryItemBase.js";
62
- import { Icon as dr } from "./Icon/Icon.js";
62
+ import { Icon as Ir } from "./Icon/Icon.js";
63
63
  import { SvgIcon as Mr } from "./Icon/SvgIcon.js";
64
64
  import { CheckboxIcon as Sr } from "./Icon/CheckboxIcon.js";
65
65
  import { RadioIcon as Hr } from "./Icon/RadioIcon.js";
@@ -83,10 +83,10 @@ import { ListItem as ae } from "./List/ListItem.js";
83
83
  import { ListBase as xe } from "./List/ListBase.js";
84
84
  import { List as ie } from "./List/List.js";
85
85
  import { MenuItemBase as se } from "./Menu/MenuItemBase.js";
86
- import { MenuItemLabel as ue } from "./Menu/MenuItemLabel.js";
86
+ import { MenuItemLabel as le } from "./Menu/MenuItemLabel.js";
87
87
  import { MenuItemMedia as ce } from "./Menu/MenuItemMedia.js";
88
88
  import { MenuItem as Le } from "./Menu/MenuItem.js";
89
- import { MenuInputField as de } from "./Menu/MenuInputField.js";
89
+ import { MenuInputField as Ie } from "./Menu/MenuInputField.js";
90
90
  import { MenuOption as Me } from "./Menu/MenuOption.js";
91
91
  import { MenuSearch as Se } from "./Menu/MenuSearch.js";
92
92
  import { MenuHeader as He } from "./Menu/MenuHeader.js";
@@ -108,10 +108,10 @@ import { SnackbarBase as at } from "./Snackbar/SnackbarBase.js";
108
108
  import { SnackbarMedia as xt } from "./Snackbar/SnackbarMedia.js";
109
109
  import { SnackbarLabel as it } from "./Snackbar/SnackbarLabel.js";
110
110
  import { ToolbarBase as st } from "./Toolbar/ToolbarBase.js";
111
- import { ToolbarButton as ut } from "./Toolbar/ToolbarButton.js";
111
+ import { ToolbarButton as lt } from "./Toolbar/ToolbarButton.js";
112
112
  import { Toolbar as ct } from "./Toolbar/Toolbar.js";
113
113
  import { ToolbarSearch as Lt } from "./Toolbar/ToolbarSearch.js";
114
- import { ToolbarFilter as dt } from "./Toolbar/ToolbarFilter.js";
114
+ import { ToolbarFilter as It } from "./Toolbar/ToolbarFilter.js";
115
115
  import { ToolbarDaterange as Mt } from "./Toolbar/ToolbarDaterange.js";
116
116
  import { PageBase as St } from "./Page/PageBase.js";
117
117
  import { PageHeader as Ht } from "./Page/PageHeader.js";
@@ -123,6 +123,8 @@ import { TransmissionList as Rt } from "./Transmission/TransmissionList.js";
123
123
  import { TransmissionSection as Ot } from "./Transmission/TransmissionSection.js";
124
124
  import { Typography as Et } from "./Typography/Typography.js";
125
125
  import { Heading as jt } from "./Typography/Heading.js";
126
+ import { ResourceList as zt } from "./ResourceList/ResourceList.js";
127
+ import { ResourceListItem as Kt } from "./ResourceList/ResourceListItem.js";
126
128
  export {
127
129
  $o as AccountButton,
128
130
  Xo as AccountMenu,
@@ -136,7 +138,7 @@ export {
136
138
  n as AvatarGroup,
137
139
  rr as BackButton,
138
140
  vo as Backdrop,
139
- l as Badge,
141
+ u as Badge,
140
142
  B as BookmarksList,
141
143
  g as BookmarksListItem,
142
144
  T as Button,
@@ -163,7 +165,7 @@ export {
163
165
  O as DialogList,
164
166
  j as DialogListItem,
165
167
  E as DialogMetadata,
166
- uo as DialogNav,
168
+ lo as DialogNav,
167
169
  co as DialogSectionBase,
168
170
  Lo as DialogSeenBy,
169
171
  Io as DialogSelect,
@@ -187,8 +189,8 @@ export {
187
189
  jt as Heading,
188
190
  cr as HistoryItem,
189
191
  Lr as HistoryItemBase,
190
- ur as HistoryList,
191
- dr as Icon,
192
+ lr as HistoryList,
193
+ Ir as Icon,
192
194
  C as IconButton,
193
195
  Er as Layout,
194
196
  Cr as LayoutBase,
@@ -208,10 +210,10 @@ export {
208
210
  ve as Menu,
209
211
  he as MenuBase,
210
212
  He as MenuHeader,
211
- de as MenuInputField,
213
+ Ie as MenuInputField,
212
214
  Le as MenuItem,
213
215
  se as MenuItemBase,
214
- ue as MenuItemLabel,
216
+ le as MenuItemLabel,
215
217
  ce as MenuItemMedia,
216
218
  Te as MenuItems,
217
219
  we as MenuList,
@@ -231,8 +233,10 @@ export {
231
233
  Ht as PageHeader,
232
234
  Tr as ProgressIcon,
233
235
  D as QueryItem,
234
- d as QueryLabel,
236
+ I as QueryLabel,
235
237
  Hr as RadioIcon,
238
+ zt as ResourceList,
239
+ Kt as ResourceListItem,
236
240
  _e as RootProvider,
237
241
  rt as Searchbar,
238
242
  Tt as SectionBase,
@@ -245,9 +249,9 @@ export {
245
249
  Mr as SvgIcon,
246
250
  ct as Toolbar,
247
251
  st as ToolbarBase,
248
- ut as ToolbarButton,
252
+ lt as ToolbarButton,
249
253
  Mt as ToolbarDaterange,
250
- dt as ToolbarFilter,
254
+ It as ToolbarFilter,
251
255
  Lt as ToolbarSearch,
252
256
  vt as TransmissionItem,
253
257
  Rt as TransmissionList,
package/dist/index.js CHANGED
@@ -4,17 +4,17 @@ import { AttachmentSection as p } from "./components/Attachment/AttachmentSectio
4
4
  import { Avatar as f } from "./components/Avatar/Avatar.js";
5
5
  import { AvatarGroup as n } from "./components/Avatar/AvatarGroup.js";
6
6
  import { Badge as u } from "./components/Badge/Badge.js";
7
- import { BookmarksList as B } from "./components/Bookmarks/BookmarksList.js";
7
+ import { BookmarksList as c } from "./components/Bookmarks/BookmarksList.js";
8
8
  import { BookmarksListItem as g } from "./components/Bookmarks/BookmarksListItem.js";
9
9
  import { QueryItem as D, QueryLabel as d } from "./components/Bookmarks/QueryLabel.js";
10
- import { ButtonBase as I } from "./components/Button/ButtonBase.js";
10
+ import { ButtonBase as M } from "./components/Button/ButtonBase.js";
11
11
  import { ButtonLabel as y } from "./components/Button/ButtonLabel.js";
12
12
  import { ButtonIcon as H } from "./components/Button/ButtonIcon.js";
13
13
  import { Button as A } from "./components/Button/Button.js";
14
14
  import { ComboButton as h } from "./components/Button/ComboButton.js";
15
15
  import { IconButton as C } from "./components/Button/IconButton.js";
16
16
  import { ContextMenu as v } from "./components/ContextMenu/ContextMenu.js";
17
- import { Dialog as O } from "./components/Dialog/Dialog.js";
17
+ import { Dialog as R } from "./components/Dialog/Dialog.js";
18
18
  import { DialogList as E } from "./components/Dialog/DialogList.js";
19
19
  import { DialogMetadata as Q } from "./components/Dialog/DialogMetadata.js";
20
20
  import { DialogListItem as N } from "./components/Dialog/DialogListItem.js";
@@ -31,16 +31,16 @@ import { DialogHeaderBase as xo } from "./components/Dialog/DialogHeaderBase.js"
31
31
  import { DialogHeadings as io } from "./components/Dialog/DialogHeadings.js";
32
32
  import { DialogHistory as so } from "./components/Dialog/DialogHistory.js";
33
33
  import { DialogNav as lo } from "./components/Dialog/DialogNav.js";
34
- import { DialogSectionBase as co } from "./components/Dialog/DialogSectionBase.js";
34
+ import { DialogSectionBase as Bo } from "./components/Dialog/DialogSectionBase.js";
35
35
  import { DialogSeenBy as Lo } from "./components/Dialog/DialogSeenBy.js";
36
- import { DialogSelect as Mo } from "./components/Dialog/DialogSelect.js";
36
+ import { DialogSelect as Io } from "./components/Dialog/DialogSelect.js";
37
37
  import { DialogStatus as bo, DialogStatusEnum as yo } from "./components/Dialog/DialogStatus.js";
38
38
  import { DialogTitle as Ho } from "./components/Dialog/DialogTitle.js";
39
39
  import { DialogTouchedBy as Ao } from "./components/Dialog/DialogTouchedBy.js";
40
40
  import { DialogLabel as ho } from "./components/Dialog/DialogLabel.js";
41
41
  import { DropdownBase as Co } from "./components/Dropdown/DropdownBase.js";
42
42
  import { Backdrop as vo } from "./components/Dropdown/Backdrop.js";
43
- import { DrawerBase as Oo } from "./components/Dropdown/DrawerBase.js";
43
+ import { DrawerBase as Ro } from "./components/Dropdown/DrawerBase.js";
44
44
  import { DrawerHeader as Eo } from "./components/Dropdown/DrawerHeader.js";
45
45
  import { DrawerFooter as Qo } from "./components/Dropdown/DrawerFooter.js";
46
46
  import { DrawerButton as No } from "./components/Dropdown/DrawerButton.js";
@@ -57,17 +57,17 @@ import { HeaderBase as xr } from "./components/Header/HeaderBase.js";
57
57
  import { HeaderLogo as ir } from "./components/Header/HeaderLogo.js";
58
58
  import { HeaderButton as sr } from "./components/Header/HeaderButton.js";
59
59
  import { HistoryList as lr } from "./components/History/HistoryList.js";
60
- import { HistoryItem as cr } from "./components/History/HistoryItem.js";
60
+ import { HistoryItem as Br } from "./components/History/HistoryItem.js";
61
61
  import { HistoryItemBase as Lr } from "./components/History/HistoryItemBase.js";
62
62
  import { Icon as dr } from "./components/Icon/Icon.js";
63
- import { SvgIcon as Ir } from "./components/Icon/SvgIcon.js";
63
+ import { SvgIcon as Mr } from "./components/Icon/SvgIcon.js";
64
64
  import { CheckboxIcon as yr } from "./components/Icon/CheckboxIcon.js";
65
65
  import { RadioIcon as Hr } from "./components/Icon/RadioIcon.js";
66
66
  import { ProgressIcon as Ar } from "./components/Icon/ProgressIcon.js";
67
67
  import { iconsMap as hr } from "./components/Icon/iconsMap.js";
68
68
  import { LayoutBase as Cr } from "./components/Layout/LayoutBase.js";
69
69
  import { LayoutBody as vr } from "./components/Layout/LayoutBody.js";
70
- import { LayoutContent as Or } from "./components/Layout/LayoutContent.js";
70
+ import { LayoutContent as Rr } from "./components/Layout/LayoutContent.js";
71
71
  import { LayoutSidebar as Er } from "./components/Layout/LayoutSidebar.js";
72
72
  import { Layout as Qr } from "./components/Layout/Layout.js";
73
73
  import { ActionHeader as Nr } from "./components/LayoutAction/ActionHeader.js";
@@ -84,16 +84,16 @@ import { ListBase as xe } from "./components/List/ListBase.js";
84
84
  import { List as ie } from "./components/List/List.js";
85
85
  import { MenuItemBase as se } from "./components/Menu/MenuItemBase.js";
86
86
  import { MenuItemLabel as le } from "./components/Menu/MenuItemLabel.js";
87
- import { MenuItemMedia as ce } from "./components/Menu/MenuItemMedia.js";
87
+ import { MenuItemMedia as Be } from "./components/Menu/MenuItemMedia.js";
88
88
  import { MenuItem as Le } from "./components/Menu/MenuItem.js";
89
89
  import { MenuInputField as de } from "./components/Menu/MenuInputField.js";
90
- import { MenuOption as Ie } from "./components/Menu/MenuOption.js";
90
+ import { MenuOption as Me } from "./components/Menu/MenuOption.js";
91
91
  import { MenuSearch as ye } from "./components/Menu/MenuSearch.js";
92
92
  import { MenuHeader as He } from "./components/Menu/MenuHeader.js";
93
93
  import { MenuItems as Ae } from "./components/Menu/MenuItems.js";
94
94
  import { MenuBase as he, MenuList as we, MenuListItem as Ce } from "./components/Menu/MenuBase.js";
95
95
  import { Menu as ve } from "./components/Menu/Menu.js";
96
- import { MetaBase as Oe } from "./components/Meta/MetaBase.js";
96
+ import { MetaBase as Re } from "./components/Meta/MetaBase.js";
97
97
  import { MetaList as Ee, MetaListItem as Ge } from "./components/Meta/MetaList.js";
98
98
  import { MetaItemBase as Ke } from "./components/Meta/MetaItemBase.js";
99
99
  import { MetaItemMedia as je } from "./components/Meta/MetaItemMedia.js";
@@ -109,23 +109,25 @@ import { SnackbarMedia as xt } from "./components/Snackbar/SnackbarMedia.js";
109
109
  import { SnackbarLabel as it } from "./components/Snackbar/SnackbarLabel.js";
110
110
  import { ToolbarBase as st } from "./components/Toolbar/ToolbarBase.js";
111
111
  import { ToolbarButton as lt } from "./components/Toolbar/ToolbarButton.js";
112
- import { Toolbar as ct } from "./components/Toolbar/Toolbar.js";
112
+ import { Toolbar as Bt } from "./components/Toolbar/Toolbar.js";
113
113
  import { ToolbarSearch as Lt } from "./components/Toolbar/ToolbarSearch.js";
114
114
  import { ToolbarFilter as dt } from "./components/Toolbar/ToolbarFilter.js";
115
- import { ToolbarDaterange as It } from "./components/Toolbar/ToolbarDaterange.js";
115
+ import { ToolbarDaterange as Mt } from "./components/Toolbar/ToolbarDaterange.js";
116
116
  import { PageBase as yt } from "./components/Page/PageBase.js";
117
117
  import { PageHeader as Ht } from "./components/Page/PageHeader.js";
118
118
  import { SectionBase as At } from "./components/Page/SectionBase.js";
119
119
  import { SectionHeader as ht } from "./components/Page/SectionHeader.js";
120
120
  import { SectionFooter as Ct } from "./components/Page/SectionFooter.js";
121
121
  import { TransmissionItem as vt } from "./components/Transmission/TransmissionItem.js";
122
- import { TransmissionList as Ot } from "./components/Transmission/TransmissionList.js";
122
+ import { TransmissionList as Rt } from "./components/Transmission/TransmissionList.js";
123
123
  import { TransmissionSection as Et } from "./components/Transmission/TransmissionSection.js";
124
124
  import { Typography as Qt } from "./components/Typography/Typography.js";
125
125
  import { Heading as Nt } from "./components/Typography/Heading.js";
126
- import { useClickOutside as qt } from "./hooks/useClickOutside.js";
127
- import { useEscapeKey as Jt } from "./hooks/useEscapeKey.js";
128
- import { useMenu as Vt } from "./hooks/useMenu.js";
126
+ import { ResourceList as qt } from "./components/ResourceList/ResourceList.js";
127
+ import { ResourceListItem as Jt } from "./components/ResourceList/ResourceListItem.js";
128
+ import { useClickOutside as Vt } from "./hooks/useClickOutside.js";
129
+ import { useEscapeKey as Xt } from "./hooks/useEscapeKey.js";
130
+ import { useMenu as Zt } from "./hooks/useMenu.js";
129
131
  export {
130
132
  $o as AccountButton,
131
133
  Xo as AccountMenu,
@@ -140,16 +142,16 @@ export {
140
142
  rr as BackButton,
141
143
  vo as Backdrop,
142
144
  u as Badge,
143
- B as BookmarksList,
145
+ c as BookmarksList,
144
146
  g as BookmarksListItem,
145
147
  A as Button,
146
- I as ButtonBase,
148
+ M as ButtonBase,
147
149
  H as ButtonIcon,
148
150
  y as ButtonLabel,
149
151
  yr as CheckboxIcon,
150
152
  h as ComboButton,
151
153
  v as ContextMenu,
152
- O as Dialog,
154
+ R as Dialog,
153
155
  q as DialogActions,
154
156
  J as DialogActivityLog,
155
157
  V as DialogArticleBase,
@@ -167,14 +169,14 @@ export {
167
169
  N as DialogListItem,
168
170
  Q as DialogMetadata,
169
171
  lo as DialogNav,
170
- co as DialogSectionBase,
172
+ Bo as DialogSectionBase,
171
173
  Lo as DialogSeenBy,
172
- Mo as DialogSelect,
174
+ Io as DialogSelect,
173
175
  bo as DialogStatus,
174
176
  yo as DialogStatusEnum,
175
177
  Ho as DialogTitle,
176
178
  Ao as DialogTouchedBy,
177
- Oo as DrawerBase,
179
+ Ro as DrawerBase,
178
180
  qo as DrawerBody,
179
181
  No as DrawerButton,
180
182
  Qo as DrawerFooter,
@@ -188,7 +190,7 @@ export {
188
190
  sr as HeaderButton,
189
191
  ir as HeaderLogo,
190
192
  Nt as Heading,
191
- cr as HistoryItem,
193
+ Br as HistoryItem,
192
194
  Lr as HistoryItemBase,
193
195
  lr as HistoryList,
194
196
  dr as Icon,
@@ -196,7 +198,7 @@ export {
196
198
  Qr as Layout,
197
199
  Cr as LayoutBase,
198
200
  vr as LayoutBody,
199
- Or as LayoutContent,
201
+ Rr as LayoutContent,
200
202
  Er as LayoutSidebar,
201
203
  ie as List,
202
204
  xe as ListBase,
@@ -215,13 +217,13 @@ export {
215
217
  Le as MenuItem,
216
218
  se as MenuItemBase,
217
219
  le as MenuItemLabel,
218
- ce as MenuItemMedia,
220
+ Be as MenuItemMedia,
219
221
  Ae as MenuItems,
220
222
  we as MenuList,
221
223
  Ce as MenuListItem,
222
- Ie as MenuOption,
224
+ Me as MenuOption,
223
225
  ye as MenuSearch,
224
- Oe as MetaBase,
226
+ Re as MetaBase,
225
227
  Ue as MetaItem,
226
228
  Ke as MetaItemBase,
227
229
  ze as MetaItemLabel,
@@ -236,6 +238,8 @@ export {
236
238
  D as QueryItem,
237
239
  d as QueryLabel,
238
240
  Hr as RadioIcon,
241
+ qt as ResourceList,
242
+ Jt as ResourceListItem,
239
243
  _e as RootProvider,
240
244
  rt as Searchbar,
241
245
  At as SectionBase,
@@ -245,20 +249,20 @@ export {
245
249
  at as SnackbarBase,
246
250
  it as SnackbarLabel,
247
251
  xt as SnackbarMedia,
248
- Ir as SvgIcon,
249
- ct as Toolbar,
252
+ Mr as SvgIcon,
253
+ Bt as Toolbar,
250
254
  st as ToolbarBase,
251
255
  lt as ToolbarButton,
252
- It as ToolbarDaterange,
256
+ Mt as ToolbarDaterange,
253
257
  dt as ToolbarFilter,
254
258
  Lt as ToolbarSearch,
255
259
  vt as TransmissionItem,
256
- Ot as TransmissionList,
260
+ Rt as TransmissionList,
257
261
  Et as TransmissionSection,
258
262
  Qt as Typography,
259
263
  hr as iconsMap,
260
- qt as useClickOutside,
261
- Jt as useEscapeKey,
262
- Vt as useMenu,
264
+ Vt as useClickOutside,
265
+ Xt as useEscapeKey,
266
+ Zt as useMenu,
263
267
  $e as useRootContext
264
268
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altinn/altinn-components",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [