@altinn/altinn-components 0.15.5 → 0.17.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.
Files changed (201) hide show
  1. package/README.md +23 -19
  2. package/dist/ArrowLeft-C91mClJx.js +25 -0
  3. package/dist/ArrowRedo-BYz1MHxK.js +25 -0
  4. package/dist/ArrowRight-OLgmLkGy.js +25 -0
  5. package/dist/Bookmark-85oKfr9m.js +25 -0
  6. package/dist/Buildings2-DO6ftvL7.js +25 -0
  7. package/dist/ChevronDown-CRAwzuD3.js +25 -0
  8. package/dist/ChevronRight-DUaHaWi-.js +25 -0
  9. package/dist/ChevronUp-H8Nuww4h.js +25 -0
  10. package/dist/ClockDashed-PQgzLSPC.js +25 -0
  11. package/dist/DocPencil-CVby07uu.js +25 -0
  12. package/dist/Eye-CMPIjkcy.js +25 -0
  13. package/dist/Handshake-Bz9FuL-x.js +25 -0
  14. package/dist/Inbox-z7qqLz8Y.js +25 -0
  15. package/dist/ListItemBase-BVx5MDhO.js +83 -0
  16. package/dist/MagnifyingGlass-DWIcpwS4.js +25 -0
  17. package/dist/Package-ASRzCHA7.js +25 -0
  18. package/dist/PadlockLocked-xJsxvaHH.js +25 -0
  19. package/dist/Plus-B6MBOAcH.js +25 -0
  20. package/dist/Trash-DMlYh49i.js +44 -0
  21. package/dist/XMark-Bv1I87Ev.js +25 -0
  22. package/dist/assets/Flex.css +1 -1
  23. package/dist/assets/ListItemBase.css +1 -1
  24. package/dist/assets/ListItemIcon.css +1 -1
  25. package/dist/companyAccess-DVKbpCnw.js +626 -0
  26. package/dist/companyMenuItems-E0wNQAfZ.js +105 -0
  27. package/dist/components/AccessAreaList/AccessAreaList.js +4 -5
  28. package/dist/components/AccessAreaList/AccessAreaListItem.js +22 -27
  29. package/dist/components/AccessPackageList/AccessPackageList.js +2 -3
  30. package/dist/components/AccessPackageList/AccessPackageListItem.js +2 -3
  31. package/dist/components/Attachment/AttachmentLink.js +30 -11
  32. package/dist/components/Bookmarks/BookmarksListItem.js +2 -3
  33. package/dist/components/Bookmarks/BookmarksSection.js +21 -22
  34. package/dist/components/Bookmarks/EditableBookmark.js +39 -28
  35. package/dist/components/Button/Button.js +13 -11
  36. package/dist/components/Button/ButtonBase.js +22 -20
  37. package/dist/components/Button/ButtonIcon.js +5 -6
  38. package/dist/components/Button/ComboButton.js +27 -25
  39. package/dist/components/Button/IconButton.js +17 -15
  40. package/dist/components/Byline/Byline.js +7 -8
  41. package/dist/components/ContextMenu/ContextMenu.js +51 -32
  42. package/dist/components/Datepicker/DatepickerHeader.js +34 -14
  43. package/dist/components/Datepicker/DatepickerTable.js +10 -11
  44. package/dist/components/Dialog/ActivityItem.js +6 -7
  45. package/dist/components/Dialog/ActivityItemDetails.js +9 -10
  46. package/dist/components/Dialog/ActivityLog.js +2 -3
  47. package/dist/components/Dialog/Dialog.js +2 -3
  48. package/dist/components/Dialog/DialogActions.js +25 -23
  49. package/dist/components/Dialog/DialogActivityLog.js +3 -3
  50. package/dist/components/Dialog/DialogAttachments.js +2 -3
  51. package/dist/components/Dialog/DialogBody.js +2 -3
  52. package/dist/components/Dialog/DialogByline.js +8 -9
  53. package/dist/components/Dialog/DialogContent.js +2 -3
  54. package/dist/components/Dialog/DialogHeader.js +4 -5
  55. package/dist/components/Dialog/DialogHeading.js +4 -5
  56. package/dist/components/Dialog/DialogHistory.js +61 -25
  57. package/dist/components/Dialog/DialogLabel.js +8 -8
  58. package/dist/components/Dialog/DialogList.js +2 -3
  59. package/dist/components/Dialog/DialogListGroup.js +33 -14
  60. package/dist/components/Dialog/DialogListItem.js +27 -29
  61. package/dist/components/Dialog/DialogMetadata.js +79 -40
  62. package/dist/components/Dialog/DialogSection.js +2 -3
  63. package/dist/components/Dialog/DialogSeenBy.js +33 -13
  64. package/dist/components/Dialog/DialogSelect.js +4 -5
  65. package/dist/components/Dialog/DialogStatus.js +7 -8
  66. package/dist/components/Dialog/DialogTimeline.js +6 -7
  67. package/dist/components/Dialog/DialogTimelineItem.js +4 -5
  68. package/dist/components/Dialog/DialogTransmissions.js +2 -3
  69. package/dist/components/Dialog/SeenByLog.js +5 -7
  70. package/dist/components/Dropdown/DrawerButton.js +2 -3
  71. package/dist/components/Dropdown/DrawerHeader.js +19 -9
  72. package/dist/components/Dropdown/DrawerOrDropdown.js +2 -3
  73. package/dist/components/GlobalMenu/AccountButton.js +3 -3
  74. package/dist/components/GlobalMenu/AccountMenu.js +9 -10
  75. package/dist/components/GlobalMenu/BackButton.js +5 -5
  76. package/dist/components/GlobalMenu/GlobalMenu.js +14 -15
  77. package/dist/components/GlobalMenu/LogoutButton.js +2 -3
  78. package/dist/components/Header/Header.js +2 -3
  79. package/dist/components/Header/HeaderBase.js +2 -3
  80. package/dist/components/Header/HeaderButton.js +35 -34
  81. package/dist/components/Header/HeaderLogo.js +4 -5
  82. package/dist/components/Icon/Icon.js +7 -13
  83. package/dist/components/Icon/IconOrAvatar.js +14 -16
  84. package/dist/components/Icon/index.js +8 -12
  85. package/dist/components/Layout/Layout.js +6 -7
  86. package/dist/components/LayoutAction/ActionHeader.js +25 -14
  87. package/dist/components/LayoutAction/LayoutAction.js +2 -3
  88. package/dist/components/List/List.js +5 -6
  89. package/dist/components/List/ListBase.js +1 -2
  90. package/dist/components/List/ListItem.js +85 -82
  91. package/dist/components/List/ListItemBase.js +4 -78
  92. package/dist/components/List/ListItemHeader.js +57 -58
  93. package/dist/components/List/ListItemIcon.js +6 -6
  94. package/dist/components/List/ListItemSelect.js +4 -5
  95. package/dist/components/List/index.js +1 -1
  96. package/dist/components/Menu/MenuItem.js +32 -31
  97. package/dist/components/Menu/MenuItemBase.js +22 -23
  98. package/dist/components/Menu/MenuItemIcon.js +2 -3
  99. package/dist/components/Menu/MenuItems.js +20 -21
  100. package/dist/components/Menu/MenuOption.js +5 -6
  101. package/dist/components/Menu/MenuSearch.js +32 -14
  102. package/dist/components/Meta/MetaItemMedia.js +7 -8
  103. package/dist/components/Page/Breadcrumbs.js +11 -11
  104. package/dist/components/Page/BreadcrumbsLink.js +9 -11
  105. package/dist/components/Page/ContactSection.js +4 -5
  106. package/dist/components/Page/Flex.js +7 -7
  107. package/dist/components/Page/PageHeader.js +8 -9
  108. package/dist/components/Page/PageMenu.js +6 -7
  109. package/dist/components/Page/PageNav.js +13 -13
  110. package/dist/components/Page/PageTabs.js +2 -3
  111. package/dist/components/Page/Section.js +2 -3
  112. package/dist/components/ResourceList/ResourceList.js +2 -3
  113. package/dist/components/ResourceList/ResourceListItem.js +2 -3
  114. package/dist/components/Search/Autocomplete.js +25 -23
  115. package/dist/components/Search/AutocompleteItem.js +2 -3
  116. package/dist/components/Search/ScopeListItem.js +2 -3
  117. package/dist/components/Search/SearchField.js +48 -43
  118. package/dist/components/Search/Searchbar.js +2 -3
  119. package/dist/components/Search/SuggestListItem.js +2 -3
  120. package/dist/components/Snackbar/SnackbarItem.js +57 -27
  121. package/dist/components/Timeline/TimelineSection.js +6 -7
  122. package/dist/components/Toolbar/Toolbar.js +36 -34
  123. package/dist/components/Toolbar/ToolbarAccountMenu.js +4 -5
  124. package/dist/components/Toolbar/ToolbarAdd.js +5 -6
  125. package/dist/components/Toolbar/ToolbarButton.js +66 -31
  126. package/dist/components/Toolbar/ToolbarDaterange.js +11 -12
  127. package/dist/components/Toolbar/ToolbarFilter.js +30 -29
  128. package/dist/components/Toolbar/ToolbarMenu.js +4 -5
  129. package/dist/components/Toolbar/ToolbarOptions.js +15 -16
  130. package/dist/components/Toolbar/ToolbarSearch.js +37 -19
  131. package/dist/components/Transmission/TransmissionItem.js +67 -48
  132. package/dist/components/Transmission/TransmissionList.js +2 -3
  133. package/dist/components/index.js +198 -202
  134. package/dist/globalMenu-CtokaeGw.js +124 -0
  135. package/dist/index.js +204 -208
  136. package/dist/types/lib/components/AccessAreaList/AccessAreaListItem.d.ts +2 -1
  137. package/dist/types/lib/components/AccessAreaList/AccessAreaListItem.stories.d.ts +2 -1
  138. package/dist/types/lib/components/Attachment/AttachmentLink.d.ts +5 -3
  139. package/dist/types/lib/components/Attachment/AttachmentLink.stories.d.ts +1 -1
  140. package/dist/types/lib/components/Bookmarks/BookmarksSection.stories.d.ts +3 -0
  141. package/dist/types/lib/components/Bookmarks/EditableBookmark.d.ts +4 -1
  142. package/dist/types/lib/components/Button/Button.d.ts +4 -3
  143. package/dist/types/lib/components/Button/Button.stories.d.ts +1 -1
  144. package/dist/types/lib/components/Button/ButtonBase.d.ts +2 -1
  145. package/dist/types/lib/components/Button/ButtonIcon.d.ts +4 -3
  146. package/dist/types/lib/components/Button/ComboButton.d.ts +5 -3
  147. package/dist/types/lib/components/Button/IconButton.d.ts +4 -3
  148. package/dist/types/lib/components/Dialog/DialogListItem.stories.d.ts +4 -3
  149. package/dist/types/lib/components/Dialog/DialogSeenBy.d.ts +2 -0
  150. package/dist/types/lib/components/Dropdown/DrawerHeader.d.ts +2 -1
  151. package/dist/types/lib/components/Header/HeaderButton.d.ts +2 -2
  152. package/dist/types/lib/components/Icon/Icon.d.ts +5 -5
  153. package/dist/types/lib/components/Icon/IconOrAvatar.d.ts +3 -3
  154. package/dist/types/lib/components/Icon/index.d.ts +0 -2
  155. package/dist/types/lib/components/LayoutAction/ActionHeader.d.ts +2 -1
  156. package/dist/types/lib/components/List/ListBase.stories.d.ts +3 -4
  157. package/dist/types/lib/components/List/ListItem.d.ts +4 -2
  158. package/dist/types/lib/components/List/ListItemBase.d.ts +24 -2
  159. package/dist/types/lib/components/List/ListItemHeader.d.ts +8 -7
  160. package/dist/types/lib/components/List/Patterns.stories.d.ts +0 -1
  161. package/dist/types/lib/components/List/Specimens.stories.d.ts +2 -2
  162. package/dist/types/lib/components/Menu/MenuItem.d.ts +3 -3
  163. package/dist/types/lib/components/Menu/MenuItemBase.d.ts +2 -2
  164. package/dist/types/lib/components/Menu/MenuSearch.d.ts +2 -1
  165. package/dist/types/lib/components/Menu/MenuSearch.stories.d.ts +1 -1
  166. package/dist/types/lib/components/Meta/MetaItem.d.ts +2 -2
  167. package/dist/types/lib/components/Meta/MetaItemMedia.d.ts +2 -2
  168. package/dist/types/lib/components/Meta/MetaTimestamp.d.ts +2 -2
  169. package/dist/types/lib/components/Page/BreadcrumbsLink.d.ts +1 -1
  170. package/dist/types/lib/components/Page/Flex.d.ts +1 -1
  171. package/dist/types/lib/components/Page/PageHeader.d.ts +2 -2
  172. package/dist/types/lib/components/Search/SearchField.d.ts +3 -1
  173. package/dist/types/lib/components/Skeleton/Skeleton.d.ts +1 -1
  174. package/dist/types/lib/components/Snackbar/SnackbarItem.d.ts +4 -3
  175. package/dist/types/lib/components/Snackbar/SnackbarItem.stories.d.ts +1 -1
  176. package/dist/types/lib/components/Snackbar/useSnackbar.d.ts +2 -2
  177. package/dist/types/lib/components/Timeline/TimelineSection.d.ts +2 -2
  178. package/dist/types/lib/components/Toolbar/Toolbar.d.ts +2 -1
  179. package/dist/types/lib/components/Toolbar/Toolbar.stories.d.ts +1 -1
  180. package/dist/types/lib/components/Toolbar/ToolbarButton.d.ts +2 -2
  181. package/dist/types/lib/components/Toolbar/ToolbarButton.stories.d.ts +1 -1
  182. package/dist/types/lib/components/Toolbar/ToolbarDate.stories.d.ts +1 -1
  183. package/dist/types/lib/components/Toolbar/ToolbarFilter.d.ts +2 -1
  184. package/dist/types/lib/components/Toolbar/ToolbarFilter.stories.d.ts +1 -1
  185. package/dist/types/lib/components/Toolbar/ToolbarSearch.d.ts +2 -1
  186. package/dist/types/lib/components/Toolbar/ToolbarSearch.stories.d.ts +1 -1
  187. package/dist/types/lib/components/Transmission/TransmissionItem.stories.d.ts +1 -1
  188. package/dist/useId-CsCRkvK3.js +16 -0
  189. package/dist/userMenuItems-vSWEGGu2.js +84 -0
  190. package/package.json +3 -3
  191. package/dist/components/Icon/SvgIcon.js +0 -6
  192. package/dist/components/Icon/iconsMap.js +0 -17395
  193. package/dist/globalMenu-C6osDiF4.js +0 -80
  194. package/dist/types/lib/components/Button/ComboButton.stories.d.ts +0 -19
  195. package/dist/types/lib/components/Button/IconButton.stories.d.ts +0 -16
  196. package/dist/types/lib/components/ContextMenu/ContextMenu.stories.d.ts +0 -19
  197. package/dist/types/lib/components/Icon/SvgIcon.d.ts +0 -9
  198. package/dist/types/lib/components/Icon/iconsMap.d.ts +0 -1911
  199. package/dist/types/lib/components/LayoutAction/LayoutAction.stories.d.ts +0 -19
  200. package/dist/types/lib/components/Page/ContactSection.stories.d.ts +0 -25
  201. package/dist/types/lib/components/Page/PageMenu.stories.d.ts +0 -18
@@ -1,24 +1,23 @@
1
1
  import { jsxs as u, jsx as f } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
3
  import "react";
5
- import { Byline as p } from "../Byline/Byline.js";
4
+ import { Byline as x } from "../Byline/Byline.js";
6
5
  import "../RootProvider/RootProvider.js";
7
6
  import "../Search/AutocompleteBase.js";
8
7
  import "../Snackbar/useSnackbar.js";
9
8
  const s = ({
10
9
  sender: o,
11
- recipient: m,
10
+ recipient: a,
12
11
  recipientLabel: t = "to",
13
- grouped: r = !1,
14
- loading: a,
15
- size: l = "xs"
16
- }) => !o && !m ? null : /* @__PURE__ */ u(p, { loading: a, size: l, avatar: o, avatarGroup: !a && r && o && m ? {
17
- items: [o, m]
12
+ grouped: l = !1,
13
+ loading: m,
14
+ size: r = "xs"
15
+ }) => !o && !a ? null : /* @__PURE__ */ u(x, { loading: m, size: r, avatar: o, avatarGroup: !m && l && o && a ? {
16
+ items: [o, a]
18
17
  } : void 0, children: [
19
18
  /* @__PURE__ */ f("strong", { children: o == null ? void 0 : o.name }),
20
19
  " ",
21
- t + " " + (m == null ? void 0 : m.name)
20
+ t + " " + (a == null ? void 0 : a.name)
22
21
  ] });
23
22
  export {
24
23
  s as DialogByline
@@ -1,6 +1,5 @@
1
1
  import { jsx as i, jsxs as o } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
3
  import "react";
5
4
  import { Byline as n } from "../Byline/Byline.js";
6
5
  import "../RootProvider/RootProvider.js";
@@ -12,7 +11,7 @@ import "../Search/AutocompleteBase.js";
12
11
  import "../Snackbar/useSnackbar.js";
13
12
  import { TimelineSection as f } from "../Timeline/TimelineSection.js";
14
13
  import { Section as s } from "../Page/Section.js";
15
- const M = ({ updatedAt: t, updatedAtLabel: e, seenBy: r, activityLog: m, children: p }) => /* @__PURE__ */ i(f, { children: /* @__PURE__ */ o(s, { spacing: 4, margin: "section", children: [
14
+ const C = ({ updatedAt: t, updatedAtLabel: e, seenBy: r, activityLog: m, children: p }) => /* @__PURE__ */ i(f, { children: /* @__PURE__ */ o(s, { spacing: 4, margin: "section", children: [
16
15
  /* @__PURE__ */ o("div", { children: [
17
16
  /* @__PURE__ */ i(n, { datetime: t, children: e }),
18
17
  /* @__PURE__ */ i(d, { size: "md", children: p })
@@ -23,5 +22,5 @@ const M = ({ updatedAt: t, updatedAtLabel: e, seenBy: r, activityLog: m, childre
23
22
  ] })
24
23
  ] }) });
25
24
  export {
26
- M as DialogContent
25
+ C as DialogContent
27
26
  };
@@ -1,6 +1,5 @@
1
- import { jsxs as e, jsx as m } from "react/jsx-runtime";
1
+ import { jsxs as p, jsx as m } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
3
  import "react";
5
4
  import "../RootProvider/RootProvider.js";
6
5
  import { DialogMetadata as a } from "./DialogMetadata.js";
@@ -8,10 +7,10 @@ import { Heading as n } from "../Typography/Heading.js";
8
7
  import "../Search/AutocompleteBase.js";
9
8
  import "../Snackbar/useSnackbar.js";
10
9
  import { Section as c } from "../Page/Section.js";
11
- const z = ({ loading: r, title: t, status: o, dueAt: i, dueAtLabel: p }) => /* @__PURE__ */ e(c, { as: "header", spacing: 3, children: [
10
+ const H = ({ loading: r, title: t, status: o, dueAt: i, dueAtLabel: e }) => /* @__PURE__ */ p(c, { as: "header", spacing: 3, children: [
12
11
  /* @__PURE__ */ m(n, { loading: r, size: "xl", children: t }),
13
- (o || i) && /* @__PURE__ */ m(a, { loading: r, status: o, dueAt: i, dueAtLabel: p })
12
+ (o || i) && /* @__PURE__ */ m(a, { loading: r, status: o, dueAt: i, dueAtLabel: e })
14
13
  ] });
15
14
  export {
16
- z as DialogHeader
15
+ H as DialogHeader
17
16
  };
@@ -1,19 +1,18 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
3
  import "react";
5
4
  import "../RootProvider/RootProvider.js";
6
5
  import { Skeleton as l } from "../Skeleton/Skeleton.js";
7
6
  import { DialogLabel as d } from "./DialogLabel.js";
8
7
  import "../Search/AutocompleteBase.js";
9
8
  import "../Snackbar/useSnackbar.js";
10
- import '../../assets/DialogHeading.css';const p = "_heading_rx9gi_1", c = "_title_rx9gi_7", o = {
9
+ import '../../assets/DialogHeading.css';const p = "_heading_rx9gi_1", c = "_title_rx9gi_7", s = {
11
10
  heading: p,
12
11
  title: c
13
- }, N = ({ loading: i, size: s = "sm", seen: a = !1, state: e, label: r, children: m }) => /* @__PURE__ */ n("div", { className: o.heading, children: [
14
- /* @__PURE__ */ t(l, { loading: i, children: /* @__PURE__ */ t("h2", { className: o.title, "data-seen": a, "data-size": s, "data-state": e, children: m }) }),
12
+ }, D = ({ loading: i, size: o = "sm", seen: a = !1, state: e, label: r, children: m }) => /* @__PURE__ */ n("div", { className: s.heading, children: [
13
+ /* @__PURE__ */ t(l, { loading: i, children: /* @__PURE__ */ t("h2", { className: s.title, "data-seen": a, "data-size": o, "data-state": e, children: m }) }),
15
14
  !i && r && /* @__PURE__ */ t(d, { type: e, size: "xs", children: r })
16
15
  ] });
17
16
  export {
18
- N as DialogHeading
17
+ D as DialogHeading
19
18
  };
@@ -1,44 +1,80 @@
1
1
  "use client";
2
- import { jsxs as m, jsx as e } from "react/jsx-runtime";
3
- import { useState as g, createElement as u } from "react";
4
- import { Icon as f } from "../Icon/Icon.js";
5
- import "../Icon/SvgIcon.js";
2
+ import { jsxs as d, jsx as a } from "react/jsx-runtime";
3
+ import * as i from "react";
4
+ import { forwardRef as p, useState as y, createElement as h } from "react";
5
+ import { Icon as w } from "../Icon/Icon.js";
6
6
  import "../../index-L8X2o7IH.js";
7
- import { ButtonBase as h } from "../Button/ButtonBase.js";
7
+ import { ButtonBase as b } from "../Button/ButtonBase.js";
8
8
  import "../RootProvider/RootProvider.js";
9
- import { ActivityItem as x } from "./ActivityItem.js";
9
+ import { ActivityItem as v } from "./ActivityItem.js";
10
10
  import "../Search/AutocompleteBase.js";
11
11
  import "../Snackbar/useSnackbar.js";
12
- import { TimelineBase as l } from "../Timeline/TimelineBase.js";
13
- import { TimelineSection as y } from "../Timeline/TimelineSection.js";
14
- import '../../assets/DialogHistory.css';const B = "_toggle_1it16_1", T = {
15
- toggle: B
16
- }, s = ({ expanded: t, children: o, onClick: r }) => /* @__PURE__ */ m(
17
- h,
12
+ import { TimelineBase as m } from "../Timeline/TimelineBase.js";
13
+ import { TimelineSection as O } from "../Timeline/TimelineSection.js";
14
+ import { u } from "../../useId-CsCRkvK3.js";
15
+ import '../../assets/DialogHistory.css';var x = function(t, n) {
16
+ var r = {};
17
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
18
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
19
+ for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
20
+ n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
21
+ return r;
22
+ };
23
+ const I = p((t, n) => {
24
+ var { title: r, titleId: e } = t, l = x(t, ["title", "titleId"]);
25
+ let o = u();
26
+ return o = r ? e || "title-" + o : void 0, i.createElement(
27
+ "svg",
28
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": o }, l),
29
+ r ? i.createElement("title", { id: o }, r) : null,
30
+ i.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
31
+ );
32
+ });
33
+ var j = function(t, n) {
34
+ var r = {};
35
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
36
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
37
+ for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
38
+ n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
39
+ return r;
40
+ };
41
+ const E = p((t, n) => {
42
+ var { title: r, titleId: e } = t, l = j(t, ["title", "titleId"]);
43
+ let o = u();
44
+ return o = r ? e || "title-" + o : void 0, i.createElement(
45
+ "svg",
46
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": o }, l),
47
+ r ? i.createElement("title", { id: o }, r) : null,
48
+ i.createElement("path", { fill: "currentColor", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-4.5 4.5a.75.75 0 0 0 1.06 1.06l3.22-3.22V19a.75.75 0 0 0 1.5 0V6.81l3.22 3.22a.75.75 0 1 0 1.06-1.06z" })
49
+ );
50
+ }), _ = "_toggle_1it16_1", S = {
51
+ toggle: _
52
+ }, s = ({ expanded: t, children: n, onClick: r }) => /* @__PURE__ */ d(
53
+ b,
18
54
  {
19
- className: T.toggle,
55
+ className: S.toggle,
20
56
  size: "sm",
21
57
  onClick: r,
22
58
  style: { display: "inline-flex", alignItems: "center" },
23
59
  children: [
24
- o,
25
- /* @__PURE__ */ e(f, { name: t ? "arrow-up" : "arrow-down", size: "sm" })
60
+ n,
61
+ /* @__PURE__ */ a(w, { svgElement: t ? E : I, size: "sm" })
26
62
  ]
27
63
  }
28
- ), H = ({
64
+ ), N = ({
29
65
  items: t,
30
- collapsible: o = !1,
66
+ collapsible: n = !1,
31
67
  expandLabel: r = "Expand history",
32
- collapseLabel: c = "Collapse history"
68
+ collapseLabel: e = "Collapse history"
33
69
  }) => {
34
- const [a, p] = g(!1), i = () => {
35
- p((n) => !n);
70
+ const [l, o] = y(!1), f = () => {
71
+ o((c) => !c);
36
72
  };
37
- return t ? a || !o ? /* @__PURE__ */ m(l, { children: [
38
- t.map((n, d) => /* @__PURE__ */ u(x, { ...n, key: d })),
39
- o && /* @__PURE__ */ e(s, { expanded: !0, onClick: i, children: c })
40
- ] }) : /* @__PURE__ */ e(l, { children: /* @__PURE__ */ e(y, { color: "neutral", children: /* @__PURE__ */ e(s, { onClick: i, children: r }) }) }) : null;
73
+ return t ? l || !n ? /* @__PURE__ */ d(m, { children: [
74
+ t.map((c, g) => /* @__PURE__ */ h(v, { ...c, key: g })),
75
+ n && /* @__PURE__ */ a(s, { expanded: !0, onClick: f, children: e })
76
+ ] }) : /* @__PURE__ */ a(m, { children: /* @__PURE__ */ a(O, { color: "neutral", children: /* @__PURE__ */ a(s, { onClick: f, children: r }) }) }) : null;
41
77
  };
42
78
  export {
43
- H as DialogHistory
79
+ N as DialogHistory
44
80
  };
@@ -1,21 +1,21 @@
1
- import { jsx as i } from "react/jsx-runtime";
1
+ import { jsx as a } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
- import { MetaItem as a } from "../Meta/MetaItem.js";
3
+ import { MetaItem as i } from "../Meta/MetaItem.js";
4
4
  import "react";
5
5
  import "../RootProvider/RootProvider.js";
6
6
  import "../Search/AutocompleteBase.js";
7
7
  import "../Snackbar/useSnackbar.js";
8
- import "../Icon/SvgIcon.js";
9
- const v = ({ size: r = "xs", type: e, label: t, children: o }) => {
8
+ import { S as n, a as m } from "../../Trash-DMlYh49i.js";
9
+ const g = ({ size: r = "xs", type: e, label: t, children: o }) => {
10
10
  switch (e) {
11
11
  case "trashed":
12
- return /* @__PURE__ */ i(a, { size: r, icon: "trash", variant: "rounded", children: o || t });
12
+ return /* @__PURE__ */ a(i, { size: r, icon: m, variant: "rounded", children: o || t });
13
13
  case "archived":
14
- return /* @__PURE__ */ i(a, { size: r, icon: "archive", variant: "rounded", children: o || t });
14
+ return /* @__PURE__ */ a(i, { size: r, icon: n, variant: "rounded", children: o || t });
15
15
  default:
16
- return /* @__PURE__ */ i(a, { size: r, variant: "rounded", children: o || t });
16
+ return /* @__PURE__ */ a(i, { size: r, variant: "rounded", children: o || t });
17
17
  }
18
18
  };
19
19
  export {
20
- v as DialogLabel
20
+ g as DialogLabel
21
21
  };
@@ -1,7 +1,6 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import { createElement as t } from "react";
3
3
  import "../../index-L8X2o7IH.js";
4
- import "../Icon/SvgIcon.js";
5
4
  import { useMenu as f } from "../../hooks/useMenu.js";
6
5
  import "../RootProvider/RootProvider.js";
7
6
  import { DialogListGroup as l } from "./DialogListGroup.js";
@@ -9,7 +8,7 @@ import { DialogListItem as y } from "./DialogListItem.js";
9
8
  import "../Search/AutocompleteBase.js";
10
9
  import "../Snackbar/useSnackbar.js";
11
10
  import { Section as d } from "../Page/Section.js";
12
- const j = ({ items: i, groups: m = {} }) => {
11
+ const h = ({ items: i, groups: m = {} }) => {
13
12
  const { menu: r } = f({
14
13
  items: i,
15
14
  groups: m,
@@ -25,5 +24,5 @@ const j = ({ items: i, groups: m = {} }) => {
25
24
  }) });
26
25
  };
27
26
  export {
28
- j as DialogList
27
+ h as DialogList
29
28
  };
@@ -1,22 +1,41 @@
1
- import { jsxs as o, jsx as r } from "react/jsx-runtime";
1
+ "use client";
2
+ import { jsxs as m, jsx as n } from "react/jsx-runtime";
2
3
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
- import "react";
5
- import { Button as e } from "../Button/Button.js";
4
+ import * as a from "react";
5
+ import { forwardRef as f } from "react";
6
+ import { Button as c } from "../Button/Button.js";
6
7
  import "../RootProvider/RootProvider.js";
7
- import { ListBase as m } from "../List/ListBase.js";
8
- import { Heading as n } from "../Typography/Heading.js";
8
+ import { ListBase as p } from "../List/ListBase.js";
9
+ import { Heading as d } from "../Typography/Heading.js";
9
10
  import "../Search/AutocompleteBase.js";
10
11
  import "../Snackbar/useSnackbar.js";
11
- import { Flex as p } from "../Page/Flex.js";
12
- import { Section as c } from "../Page/Section.js";
13
- const z = ({ title: i, children: t }) => /* @__PURE__ */ o(c, { spacing: 3, children: [
14
- i && /* @__PURE__ */ o(p, { direction: "row", align: "center", justify: "between", children: [
15
- /* @__PURE__ */ r(n, { size: "lg", children: i }),
16
- /* @__PURE__ */ r(e, { variant: "text", icon: "checkmark", size: "sm", children: "Velg alle" })
12
+ import { Flex as s } from "../Page/Flex.js";
13
+ import { Section as u } from "../Page/Section.js";
14
+ import { u as g } from "../../useId-CsCRkvK3.js";
15
+ var b = function(e, i) {
16
+ var o = {};
17
+ for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && i.indexOf(t) < 0 && (o[t] = e[t]);
18
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
19
+ for (var r = 0, t = Object.getOwnPropertySymbols(e); r < t.length; r++)
20
+ i.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (o[t[r]] = e[t[r]]);
21
+ return o;
22
+ };
23
+ const h = f((e, i) => {
24
+ var { title: o, titleId: t } = e, r = b(e, ["title", "titleId"]);
25
+ let l = g();
26
+ return l = o ? t || "title-" + l : void 0, a.createElement(
27
+ "svg",
28
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: i, "aria-labelledby": l }, r),
29
+ o ? a.createElement("title", { id: l }, o) : null,
30
+ a.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
31
+ );
32
+ }), P = ({ title: e, children: i }) => /* @__PURE__ */ m(u, { spacing: 3, children: [
33
+ e && /* @__PURE__ */ m(s, { direction: "row", align: "center", justify: "between", children: [
34
+ /* @__PURE__ */ n(d, { size: "lg", children: e }),
35
+ /* @__PURE__ */ n(c, { variant: "text", icon: h, size: "sm", children: "Velg alle" })
17
36
  ] }),
18
- /* @__PURE__ */ r(m, { spacing: 3, children: t })
37
+ /* @__PURE__ */ n(p, { spacing: 3, children: i })
19
38
  ] });
20
39
  export {
21
- z as DialogListGroup
40
+ P as DialogListGroup
22
41
  };
@@ -1,6 +1,5 @@
1
- import { jsx as e, jsxs as b } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as b } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
3
  import "react";
5
4
  import "../RootProvider/RootProvider.js";
6
5
  import { DialogMetadata as u } from "./DialogMetadata.js";
@@ -22,8 +21,8 @@ import '../../assets/DialogListItem.css';const K = "_link_1yhch_1", O = "_border
22
21
  touchedBy: V,
23
22
  heading: W,
24
23
  title: X
25
- }, lt = ({
26
- size: t = "lg",
24
+ }, he = ({
25
+ size: e = "lg",
27
26
  state: x = "normal",
28
27
  loading: o,
29
28
  select: s,
@@ -32,12 +31,12 @@ import '../../assets/DialogListItem.css';const K = "_link_1yhch_1", O = "_border
32
31
  sender: h,
33
32
  recipient: g,
34
33
  recipientLabel: k = "to",
35
- grouped: I = !1,
34
+ grouped: D = !1,
36
35
  updatedAt: l,
37
36
  updatedAtLabel: i,
38
- archivedAt: n,
39
- archivedAtLabel: D,
40
- trashedAt: d,
37
+ archivedAt: d,
38
+ archivedAtLabel: I,
39
+ trashedAt: _,
41
40
  trashedAtLabel: L,
42
41
  label: S,
43
42
  dueAt: j,
@@ -47,37 +46,36 @@ import '../../assets/DialogListItem.css';const K = "_link_1yhch_1", O = "_border
47
46
  touchedBy: M,
48
47
  attachmentsCount: T,
49
48
  title: r,
50
- description: _,
49
+ description: n,
51
50
  summary: y,
52
51
  theme: q = "default",
53
52
  ...p
54
53
  }) => {
55
- const w = d ? "trashed" : n ? "archived" : x, f = c ? "subtle" : q;
56
- return t === "xs" || t === "sm" || t === "md" ? /* @__PURE__ */ e(
54
+ const w = _ ? "trashed" : d ? "archived" : x, f = c ? "subtle" : q;
55
+ return e === "xs" || e === "sm" || e === "md" ? /* @__PURE__ */ t(
57
56
  N,
58
57
  {
59
58
  ...p,
60
- size: t,
59
+ size: e,
61
60
  selected: c,
62
61
  theme: f,
63
- label: /* @__PURE__ */ e("div", { className: a.border, "data-size": t, "data-seen": m, "data-loading": o, children: /* @__PURE__ */ e(G, { loading: o, size: t, title: r, description: y || _ }) }),
64
- badge: /* @__PURE__ */ e(u, { loading: o, sender: h, updatedAt: l, updatedAtLabel: i }),
62
+ label: /* @__PURE__ */ t("div", { className: a.border, "data-size": e, "data-seen": m, "data-loading": o, children: /* @__PURE__ */ t(G, { loading: o, size: e, title: r, description: y || n }) }),
63
+ badge: /* @__PURE__ */ t(u, { loading: o, sender: h, updatedAt: l, updatedAtLabel: i }),
65
64
  title: r
66
65
  }
67
- ) : /* @__PURE__ */ e(
66
+ ) : /* @__PURE__ */ t(
68
67
  N,
69
68
  {
70
69
  ...p,
71
- size: t,
70
+ size: e,
72
71
  selected: c,
73
72
  theme: f,
74
- linkIcon: null,
75
- controls: s && /* @__PURE__ */ e(J, { className: a.select, ...s, size: "xl" }),
73
+ controls: s && /* @__PURE__ */ t(J, { className: a.select, ...s, size: "xl" }),
76
74
  title: r,
77
- label: /* @__PURE__ */ b("div", { className: a.border, "data-size": t, "data-seen": m, "data-loading": o, children: [
78
- /* @__PURE__ */ b("header", { className: a.header, "data-size": t, children: [
79
- /* @__PURE__ */ e(F, { loading: o, size: t, state: w, label: S, seen: m, children: r }),
80
- /* @__PURE__ */ e(
75
+ label: /* @__PURE__ */ b("div", { className: a.border, "data-size": e, "data-seen": m, "data-loading": o, children: [
76
+ /* @__PURE__ */ b("header", { className: a.header, "data-size": e, children: [
77
+ /* @__PURE__ */ t(F, { loading: o, size: e, state: w, label: S, seen: m, children: r }),
78
+ /* @__PURE__ */ t(
81
79
  C,
82
80
  {
83
81
  size: "xs",
@@ -85,12 +83,12 @@ import '../../assets/DialogListItem.css';const K = "_link_1yhch_1", O = "_border
85
83
  sender: h,
86
84
  recipient: g,
87
85
  recipientLabel: k,
88
- grouped: I
86
+ grouped: D
89
87
  }
90
88
  ),
91
- /* @__PURE__ */ e(E, { loading: o, children: /* @__PURE__ */ e("p", { "data-size": t, className: a.summary, children: y || _ }) })
89
+ /* @__PURE__ */ t(E, { loading: o, children: /* @__PURE__ */ t("p", { "data-size": e, className: a.summary, children: y || n }) })
92
90
  ] }),
93
- /* @__PURE__ */ e(
91
+ /* @__PURE__ */ t(
94
92
  u,
95
93
  {
96
94
  className: a.footer,
@@ -98,9 +96,9 @@ import '../../assets/DialogListItem.css';const K = "_link_1yhch_1", O = "_border
98
96
  status: B,
99
97
  updatedAt: l,
100
98
  updatedAtLabel: i,
101
- archivedAt: n,
102
- archivedAtLabel: D,
103
- trashedAt: d,
99
+ archivedAt: d,
100
+ archivedAtLabel: I,
101
+ trashedAt: _,
104
102
  trashedAtLabel: L,
105
103
  dueAt: j,
106
104
  dueAtLabel: v,
@@ -117,5 +115,5 @@ import '../../assets/DialogListItem.css';const K = "_link_1yhch_1", O = "_border
117
115
  );
118
116
  };
119
117
  export {
120
- lt as DialogListItem
118
+ he as DialogListItem
121
119
  };
@@ -1,49 +1,88 @@
1
- import { jsxs as S, jsx as r } from "react/jsx-runtime";
1
+ "use client";
2
+ import { jsxs as w, jsx as n } from "react/jsx-runtime";
2
3
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
- import "react";
4
+ import * as c from "react";
5
+ import { forwardRef as z } from "react";
5
6
  import "../RootProvider/RootProvider.js";
6
- import { DialogActivityLog as I } from "./DialogActivityLog.js";
7
- import { DialogSeenBy as q } from "./DialogSeenBy.js";
8
- import { DialogStatus as w } from "./DialogStatus.js";
9
- import { DialogTouchedBy as y } from "./DialogTouchedBy.js";
10
- import { MetaBase as E } from "../Meta/MetaBase.js";
11
- import { MetaItem as T } from "../Meta/MetaItem.js";
7
+ import { DialogActivityLog as j } from "./DialogActivityLog.js";
8
+ import { DialogSeenBy as I } from "./DialogSeenBy.js";
9
+ import { DialogStatus as E } from "./DialogStatus.js";
10
+ import { DialogTouchedBy as _ } from "./DialogTouchedBy.js";
11
+ import { MetaBase as M } from "../Meta/MetaBase.js";
12
+ import { MetaItem as b } from "../Meta/MetaItem.js";
12
13
  import { MetaTimestamp as m } from "../Meta/MetaTimestamp.js";
13
14
  import "../Search/AutocompleteBase.js";
14
15
  import "../Snackbar/useSnackbar.js";
15
- const Y = ({
16
- className: k,
17
- loading: i,
18
- status: e,
19
- sender: o,
20
- updatedAt: s,
21
- updatedAtLabel: B,
22
- dueAt: p,
23
- dueAtLabel: t,
24
- trashedAt: c,
25
- trashedAtLabel: x,
26
- archivedAt: z,
27
- archivedAtLabel: f,
28
- seenBy: h,
29
- touchedBy: D,
30
- attachmentsCount: M = 0,
31
- attachmentsLabel: j,
32
- transmissionsLabel: l,
33
- activityLog: n
34
- }) => /* @__PURE__ */ S(E, { className: k, size: "xs", children: [
35
- e && /* @__PURE__ */ r(w, { loading: i, size: "xs", ...e }),
36
- s && /* @__PURE__ */ S(m, { loading: i, datetime: s, size: "xs", children: [
37
- /* @__PURE__ */ r("strong", { children: o && o.name + ", " }),
38
- B
16
+ import { S as P } from "../../ClockDashed-PQgzLSPC.js";
17
+ import { u as S } from "../../useId-CsCRkvK3.js";
18
+ import { a as D, S as R } from "../../Trash-DMlYh49i.js";
19
+ var B = function(t, r) {
20
+ var i = {};
21
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && r.indexOf(e) < 0 && (i[e] = t[e]);
22
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
23
+ for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
24
+ r.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (i[e[l]] = t[e[l]]);
25
+ return i;
26
+ };
27
+ const T = z((t, r) => {
28
+ var { title: i, titleId: e } = t, l = B(t, ["title", "titleId"]);
29
+ let o = S();
30
+ return o = i ? e || "title-" + o : void 0, c.createElement(
31
+ "svg",
32
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: r, "aria-labelledby": o }, l),
33
+ i ? c.createElement("title", { id: o }, i) : null,
34
+ c.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
35
+ );
36
+ });
37
+ var C = function(t, r) {
38
+ var i = {};
39
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && r.indexOf(e) < 0 && (i[e] = t[e]);
40
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
41
+ for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
42
+ r.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (i[e[l]] = t[e[l]]);
43
+ return i;
44
+ };
45
+ const H = z((t, r) => {
46
+ var { title: i, titleId: e } = t, l = C(t, ["title", "titleId"]);
47
+ let o = S();
48
+ return o = i ? e || "title-" + o : void 0, c.createElement(
49
+ "svg",
50
+ Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: r, "aria-labelledby": o }, l),
51
+ i ? c.createElement("title", { id: o }, i) : null,
52
+ c.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M15.912 4.382c-.546.032-1.086.292-1.503.71l-8.132 8.131c-1.2 1.201-1.754 3.549 0 5.304 1.755 1.754 4.103 1.2 5.304 0l7.424-7.425a.75.75 0 0 1 1.06 1.06l-7.424 7.425c-1.627 1.628-4.936 2.488-7.424 0s-1.628-5.797 0-7.424l8.131-8.132c.644-.643 1.518-1.09 2.475-1.146.976-.058 1.978.295 2.829 1.146.85.851 1.203 1.853 1.146 2.828-.056.957-.503 1.832-1.146 2.475l-7.425 7.425c-.316.316-.838.553-1.376.613-.568.063-1.255-.062-1.806-.613-.55-.55-.676-1.238-.613-1.806.06-.538.297-1.06.613-1.376l6.718-6.718a.75.75 0 0 1 1.06 1.061l-6.717 6.718a.95.95 0 0 0-.183.48c-.025.227.026.424.183.58.156.157.353.208.58.183a.95.95 0 0 0 .48-.183l7.425-7.424c.417-.418.678-.957.71-1.503.03-.527-.147-1.116-.71-1.68s-1.152-.74-1.68-.71", clipRule: "evenodd" })
53
+ );
54
+ }), L = ({
55
+ className: t,
56
+ loading: r,
57
+ status: i,
58
+ sender: e,
59
+ updatedAt: l,
60
+ updatedAtLabel: o,
61
+ dueAt: f,
62
+ dueAtLabel: s,
63
+ trashedAt: a,
64
+ trashedAtLabel: p,
65
+ archivedAt: d,
66
+ archivedAtLabel: v,
67
+ seenBy: u,
68
+ touchedBy: h,
69
+ attachmentsCount: x = 0,
70
+ attachmentsLabel: g,
71
+ transmissionsLabel: y,
72
+ activityLog: O
73
+ }) => /* @__PURE__ */ w(M, { className: t, size: "xs", children: [
74
+ i && /* @__PURE__ */ n(E, { loading: r, size: "xs", ...i }),
75
+ l && /* @__PURE__ */ w(m, { loading: r, datetime: l, size: "xs", children: [
76
+ /* @__PURE__ */ n("strong", { children: e && e.name + ", " }),
77
+ o
39
78
  ] }),
40
- p && t && /* @__PURE__ */ r(m, { loading: i, datetime: p, size: "xs", icon: "clock-dashed", children: t }),
41
- (j || M > 0) && /* @__PURE__ */ r(T, { loading: i, size: "xs", icon: "paperclip", children: j || M }),
42
- l && /* @__PURE__ */ r(T, { loading: i, size: "xs", icon: "files", children: l }),
43
- c && x && /* @__PURE__ */ r(m, { loading: i, datetime: c, size: "xs", icon: "trash", children: x }) || z && f && /* @__PURE__ */ r(m, { loading: i, datetime: z, size: "xs", icon: "archive", children: f }) || !i && h && /* @__PURE__ */ r(q, { size: "xs", ...h }),
44
- n && /* @__PURE__ */ r(I, { ...n, loading: i, size: "xs" }),
45
- D && /* @__PURE__ */ r(y, { ...D, loading: i, size: "xs" })
79
+ f && s && /* @__PURE__ */ n(m, { loading: r, datetime: f, size: "xs", icon: P, children: s }),
80
+ (g || x > 0) && /* @__PURE__ */ n(b, { loading: r, size: "xs", icon: H, children: g || x }),
81
+ y && /* @__PURE__ */ n(b, { loading: r, size: "xs", icon: T, children: y }),
82
+ a && p && /* @__PURE__ */ n(m, { loading: r, datetime: a, size: "xs", icon: D, children: p }) || d && v && /* @__PURE__ */ n(m, { loading: r, datetime: d, size: "xs", icon: R, children: v }) || !r && u && /* @__PURE__ */ n(I, { size: "xs", ...u }),
83
+ O && /* @__PURE__ */ n(j, { ...O, loading: r, size: "xs" }),
84
+ h && /* @__PURE__ */ n(_, { ...h, loading: r, size: "xs" })
46
85
  ] });
47
86
  export {
48
- Y as DialogMetadata
87
+ L as DialogMetadata
49
88
  };
@@ -1,6 +1,5 @@
1
1
  import { jsxs as m, jsx as i } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
- import "../Icon/SvgIcon.js";
4
3
  import "react";
5
4
  import "../RootProvider/RootProvider.js";
6
5
  import { Typography as t } from "../Typography/Typography.js";
@@ -8,10 +7,10 @@ import { Heading as p } from "../Typography/Heading.js";
8
7
  import "../Search/AutocompleteBase.js";
9
8
  import "../Snackbar/useSnackbar.js";
10
9
  import { Section as n } from "../Page/Section.js";
11
- const h = ({ title: r, children: o }) => o ? /* @__PURE__ */ m(n, { spacing: 3, margin: "section", children: [
10
+ const d = ({ title: r, children: o }) => o ? /* @__PURE__ */ m(n, { spacing: 3, margin: "section", children: [
12
11
  r && /* @__PURE__ */ i(p, { size: "lg", children: r }),
13
12
  /* @__PURE__ */ i(t, { children: o })
14
13
  ] }) : null;
15
14
  export {
16
- h as DialogSection
15
+ d as DialogSection
17
16
  };