@altinn/altinn-components 0.18.7 → 0.18.8

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.
@@ -1,47 +1,47 @@
1
- import { jsxs as o, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
3
  import "react";
4
4
  import "../RootProvider/RootProvider.js";
5
- import { DialogMetadata as m } from "./DialogMetadata.js";
5
+ import { DialogMetadata as t } from "./DialogMetadata.js";
6
6
  import { DialogByline as g } from "./DialogByline.js";
7
- import { Skeleton as y } from "../Skeleton/Skeleton.js";
7
+ import { Skeleton as S } from "../Skeleton/Skeleton.js";
8
8
  import { Typography as x } from "../Typography/Typography.js";
9
9
  import "../Search/AutocompleteBase.js";
10
10
  import "../Snackbar/useSnackbar.js";
11
11
  import { TimelineSection as D } from "../Timeline/TimelineSection.js";
12
- import { Section as t } from "../Page/Section.js";
13
- const w = ({
12
+ import { Section as p } from "../Page/Section.js";
13
+ const q = ({
14
14
  loading: i,
15
15
  loadingText: e = "Loading ...",
16
- grouped: p,
16
+ grouped: c,
17
17
  sender: n,
18
- recipient: c,
18
+ recipient: d,
19
19
  recipientLabel: l,
20
- updatedAt: s,
21
- updatedAtLabel: h,
22
- children: d,
23
- seenBy: f,
20
+ updatedAt: h,
21
+ updatedAtLabel: s,
22
+ children: f,
23
+ seenBy: o,
24
24
  activityLog: a
25
- }) => /* @__PURE__ */ o(t, { spacing: 6, children: [
25
+ }) => /* @__PURE__ */ m(p, { spacing: 6, children: [
26
26
  /* @__PURE__ */ r(
27
27
  g,
28
28
  {
29
29
  size: "lg",
30
30
  sender: n,
31
- recipient: c,
31
+ recipient: d,
32
32
  recipientLabel: l,
33
- grouped: p,
33
+ grouped: c,
34
34
  loading: i
35
35
  }
36
36
  ),
37
- /* @__PURE__ */ r(D, { children: /* @__PURE__ */ o(t, { spacing: 4, margin: "section", children: [
38
- /* @__PURE__ */ o("div", { children: [
39
- /* @__PURE__ */ r(m, { loading: i, updatedAt: s, updatedAtLabel: h }),
40
- /* @__PURE__ */ r(x, { loading: i, size: "md", children: i && /* @__PURE__ */ r("p", { children: /* @__PURE__ */ r(y, { loading: i, children: e }) }) || d })
37
+ /* @__PURE__ */ r(D, { isSeenByEndUser: o == null ? void 0 : o.seenByEndUser, children: /* @__PURE__ */ m(p, { spacing: 4, margin: "section", children: [
38
+ /* @__PURE__ */ m("div", { children: [
39
+ /* @__PURE__ */ r(t, { loading: i, updatedAt: h, updatedAtLabel: s }),
40
+ /* @__PURE__ */ r(x, { loading: i, size: "md", children: i && /* @__PURE__ */ r("p", { children: /* @__PURE__ */ r(S, { loading: i, children: e }) }) || f })
41
41
  ] }),
42
- /* @__PURE__ */ r(m, { loading: i, seenBy: f, activityLog: a })
42
+ /* @__PURE__ */ r(t, { loading: i, seenBy: o, activityLog: a })
43
43
  ] }) })
44
44
  ] });
45
45
  export {
46
- w as DialogBody
46
+ q as DialogBody
47
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altinn/altinn-components",
3
- "version": "0.18.7",
3
+ "version": "0.18.8",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist/",