@altinn/altinn-components 0.28.0 → 0.28.1

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 (86) hide show
  1. package/dist/{Checkmark-RgzvRNxP.js → Checkmark-D17Nyv_u.js} +1 -1
  2. package/dist/{ChevronRight-DUaHaWi-.js → ChevronRight-BbelnTke.js} +1 -1
  3. package/dist/{ChevronUp-C09jxB5F.js → ChevronUp-DR4Lz2Jb.js} +1 -1
  4. package/dist/{CircleFill-IZdiBc_K.js → CircleFill-BkDF4Wm0.js} +1 -1
  5. package/dist/{DialogActivityLog-wsSwha93.js → DialogActivityLog-BoPREh7Y.js} +1 -1
  6. package/dist/{Eye-CMPIjkcy.js → Eye-BuhFHkaK.js} +1 -1
  7. package/dist/{FieldsetLegend-Dwb3U0vQ.js → FieldsetLegend-CiZWWPgY.js} +1 -1
  8. package/dist/{Label-DjSEhgyW.js → Label-9elsbqMH.js} +1 -1
  9. package/dist/{MagnifyingGlass-DWIcpwS4.js → MagnifyingGlass-3Ln1MufI.js} +1 -1
  10. package/dist/{Paragraph-CFjOkbXa.js → Paragraph-Bm-eoPYv.js} +1 -1
  11. package/dist/{XMark-Bv1I87Ev.js → XMark-DIqxCTTQ.js} +1 -1
  12. package/dist/components/AccessAreaList/AccessAreaListItem.js +13 -13
  13. package/dist/components/AccessPackageList/AccessPackageListItem.js +1 -1
  14. package/dist/components/Attachment/AttachmentLink.js +1 -1
  15. package/dist/components/Avatar/AvatarGroup.js +8 -8
  16. package/dist/components/Bookmarks/EditableBookmark.js +2 -2
  17. package/dist/components/ContextMenu/ContextMenu.js +15 -16
  18. package/dist/components/Dashboard/DashboardCard.js +2 -2
  19. package/dist/components/Dashboard/DashboardIcon.js +1 -1
  20. package/dist/components/Datepicker/DatepickerHeader.js +2 -2
  21. package/dist/components/Dialog/DialogActions.js +1 -1
  22. package/dist/components/Dialog/DialogActivity.js +1 -1
  23. package/dist/components/Dialog/DialogActivityLog.js +1 -1
  24. package/dist/components/Dialog/DialogBody.js +2 -2
  25. package/dist/components/Dialog/DialogByline.js +2 -2
  26. package/dist/components/Dialog/DialogHistoryItem.js +1 -1
  27. package/dist/components/Dialog/DialogHistorySegment.js +1 -1
  28. package/dist/components/Dialog/DialogListGroup.js +1 -1
  29. package/dist/components/Dialog/DialogListItem.js +54 -56
  30. package/dist/components/Dialog/DialogMetadata.js +2 -2
  31. package/dist/components/Dialog/DialogSeenBy.js +2 -2
  32. package/dist/components/Dialog/SeenByLog.js +1 -1
  33. package/dist/components/Dialog/index.js +1 -1
  34. package/dist/components/Dropdown/DrawerHeader.js +1 -1
  35. package/dist/components/DsComponents/index.js +4 -4
  36. package/dist/components/Forms/Field.js +1 -1
  37. package/dist/components/Forms/Fieldset.js +2 -2
  38. package/dist/components/Forms/Label.js +1 -1
  39. package/dist/components/Forms/Legend.js +1 -1
  40. package/dist/components/Forms/Select.js +1 -1
  41. package/dist/components/GlobalMenu/AccountButton.js +15 -17
  42. package/dist/components/GlobalMenu/BackButton.js +1 -1
  43. package/dist/components/GlobalMenu/EndUserLabel.js +1 -1
  44. package/dist/components/GlobalMenu/GlobalMenu.js +14 -14
  45. package/dist/components/GlobalMenu/GlobalMenuBase.js +7 -9
  46. package/dist/components/Header/HeaderButton.js +2 -2
  47. package/dist/components/Header/HeaderLogo.js +10 -11
  48. package/dist/components/Header/LocaleButton.js +15 -16
  49. package/dist/components/Icon/IconOrAvatar.js +17 -17
  50. package/dist/components/LayoutAction/ActionHeader.js +1 -1
  51. package/dist/components/List/ListItemControls.js +6 -8
  52. package/dist/components/List/ListItemHeader.js +13 -13
  53. package/dist/components/List/ListItemIcon.js +1 -1
  54. package/dist/components/Menu/MenuInputField.js +23 -26
  55. package/dist/components/Menu/MenuItem.js +1 -1
  56. package/dist/components/Menu/MenuItemIcon.js +1 -1
  57. package/dist/components/Menu/MenuItemsVirtual.js +7 -7
  58. package/dist/components/Menu/MenuSearch.js +2 -2
  59. package/dist/components/Page/Breadcrumbs.js +1 -1
  60. package/dist/components/Page/PageDetails.js +1 -1
  61. package/dist/components/Page/PageNav.js +15 -16
  62. package/dist/components/Profile/AccountListItem.js +1 -1
  63. package/dist/components/Searchbar/SearchField.js +2 -2
  64. package/dist/components/Skeleton/Skeleton.js +12 -13
  65. package/dist/components/Snackbar/SnackbarItem.js +4 -4
  66. package/dist/components/Timeline/TimelineActivity.js +1 -1
  67. package/dist/components/Timeline/TimelineFooter.js +1 -1
  68. package/dist/components/Timeline/TimelineIcon.js +1 -1
  69. package/dist/components/Timeline/TimelineSegment.js +1 -1
  70. package/dist/components/Toolbar/Toolbar.js +25 -25
  71. package/dist/components/Toolbar/ToolbarButton.js +2 -2
  72. package/dist/components/Toolbar/ToolbarSearch.js +2 -2
  73. package/dist/components/index.js +5 -5
  74. package/dist/{index-Bq6w9CqA.js → index-CnWc2FNH.js} +6 -6
  75. package/dist/{index-DyDqjche.js → index-D-VWMqlv.js} +129 -123
  76. package/dist/{index-B7UjMwQm.js → index-D3Rt9ate.js} +17 -17
  77. package/dist/index-D8Pn8SCu.js +78 -0
  78. package/dist/index.js +5 -5
  79. package/dist/useId-BVFxCjkq.js +16 -0
  80. package/dist/useMergeRefs-DOnoWyUH.js +29 -0
  81. package/dist/usePagination-D247OF6_.js +3838 -0
  82. package/package.json +33 -33
  83. package/dist/floating-ui.react-DpzNAs2N.js +0 -2835
  84. package/dist/index-C8BS_2GY.js +0 -64
  85. package/dist/useId-CsCRkvK3.js +0 -16
  86. package/dist/usePagination-Cpl0NjJN.js +0 -1025
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import * as i from "react";
3
3
  import { forwardRef as a } from "react";
4
- import { u as f } from "./useId-CsCRkvK3.js";
4
+ import { u as f } from "./useId-BVFxCjkq.js";
5
5
  var d = function(t, n) {
6
6
  var r = {};
7
7
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import * as i from "react";
3
3
  import { forwardRef as a } from "react";
4
- import { u as f } from "./useId-CsCRkvK3.js";
4
+ import { u as f } from "./useId-BVFxCjkq.js";
5
5
  var d = function(t, n) {
6
6
  var l = {};
7
7
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (l[e] = t[e]);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import * as i from "react";
3
3
  import { forwardRef as a } from "react";
4
- import { u as f } from "./useId-CsCRkvK3.js";
4
+ import { u as f } from "./useId-BVFxCjkq.js";
5
5
  var d = function(t, n) {
6
6
  var r = {};
7
7
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import * as i from "react";
3
3
  import { forwardRef as f } from "react";
4
- import { u as a } from "./useId-CsCRkvK3.js";
4
+ import { u as a } from "./useId-BVFxCjkq.js";
5
5
  var d = function(t, n) {
6
6
  var r = {};
7
7
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
@@ -7,7 +7,7 @@ import "./components/RootProvider/RootProvider.js";
7
7
  import "./components/Searchbar/AutocompleteBase.js";
8
8
  import "./components/Snackbar/useSnackbar.js";
9
9
  import { MetaItem as c } from "./components/Metadata/MetaItem.js";
10
- import { u as f } from "./useId-CsCRkvK3.js";
10
+ import { u as f } from "./useId-BVFxCjkq.js";
11
11
  var d = function(t, o) {
12
12
  var r = {};
13
13
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (r[e] = t[e]);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import * as a from "react";
3
3
  import { forwardRef as i } from "react";
4
- import { u as c } from "./useId-CsCRkvK3.js";
4
+ import { u as c } from "./useId-BVFxCjkq.js";
5
5
  var f = function(t, n) {
6
6
  var r = {};
7
7
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as e } from "react/jsx-runtime";
3
3
  import { forwardRef as o } from "react";
4
- import { L as i } from "./Label-DjSEhgyW.js";
4
+ import { L as i } from "./Label-9elsbqMH.js";
5
5
  const l = o(function(r, t) {
6
6
  return e(i, { asChild: !0, children: e("legend", { ref: t, ...r }) });
7
7
  });
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as a } from "react/jsx-runtime";
3
- import { S as s } from "./index-C8BS_2GY.js";
3
+ import { S as s } from "./index-D8Pn8SCu.js";
4
4
  import { c as l } from "./lite-1fxw3LjI.js";
5
5
  import { forwardRef as n } from "react";
6
6
  const u = n(function({ className: o, weight: e = "medium", asChild: t, ...r }, m) {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import * as i from "react";
3
3
  import { forwardRef as a } from "react";
4
- import { u as f } from "./useId-CsCRkvK3.js";
4
+ import { u as f } from "./useId-BVFxCjkq.js";
5
5
  var d = function(t, n) {
6
6
  var r = {};
7
7
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as m } from "react/jsx-runtime";
3
- import { S as n } from "./index-C8BS_2GY.js";
3
+ import { S as n } from "./index-D8Pn8SCu.js";
4
4
  import { c as s } from "./lite-1fxw3LjI.js";
5
5
  import { forwardRef as e } from "react";
6
6
  const g = e(function({ className: r, asChild: a, variant: o = "default", ...t }, p) {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import * as a from "react";
3
3
  import { forwardRef as i } from "react";
4
- import { u as f } from "./useId-CsCRkvK3.js";
4
+ import { u as f } from "./useId-BVFxCjkq.js";
5
5
  var d = function(t, n) {
6
6
  var l = {};
7
7
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (l[e] = t[e]);
@@ -1,11 +1,11 @@
1
- import { jsx as c } from "react/jsx-runtime";
1
+ import { jsx as n } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
3
  import "react";
4
4
  import "../RootProvider/RootProvider.js";
5
5
  import "../Searchbar/AutocompleteBase.js";
6
6
  import "../Snackbar/useSnackbar.js";
7
7
  import { ListItem as b } from "../List/ListItem.js";
8
- import '../../assets/AccessAreaListItem.css';const d = "_content_7hk0i_1", f = {
8
+ import '../../assets/AccessAreaListItem.css';const d = "_content_7hk0i_1", h = {
9
9
  content: d
10
10
  }, k = ({
11
11
  name: t,
@@ -13,13 +13,13 @@ import '../../assets/AccessAreaListItem.css';const d = "_content_7hk0i_1", f = {
13
13
  iconUrl: r,
14
14
  size: m = "md",
15
15
  children: l,
16
- expanded: e = !1,
16
+ expanded: o = !1,
17
17
  onClick: a,
18
- badgeText: o,
19
- colorTheme: n,
20
- loading: s,
18
+ badgeText: e,
19
+ colorTheme: s,
20
+ loading: c,
21
21
  ...p
22
- }) => /* @__PURE__ */ c(
22
+ }) => /* @__PURE__ */ n(
23
23
  b,
24
24
  {
25
25
  as: "button",
@@ -27,19 +27,19 @@ import '../../assets/AccessAreaListItem.css';const d = "_content_7hk0i_1", f = {
27
27
  svgElement: i,
28
28
  iconUrl: r,
29
29
  theme: "subtle",
30
- color: n,
30
+ color: s,
31
31
  altText: ""
32
32
  },
33
33
  title: t,
34
34
  ariaLabel: t,
35
35
  size: m,
36
- collapsible: !s,
37
- expanded: e,
36
+ collapsible: !c,
37
+ expanded: o,
38
38
  onClick: a,
39
- badge: o ? { label: o, color: n } : void 0,
40
- loading: s,
39
+ badge: e ? { label: e, color: s } : void 0,
40
+ loading: c,
41
41
  ...p,
42
- children: e && /* @__PURE__ */ c("div", { className: f.content, children: l })
42
+ children: o && /* @__PURE__ */ n("div", { className: h.content, children: l })
43
43
  }
44
44
  );
45
45
  export {
@@ -7,7 +7,7 @@ import "../RootProvider/RootProvider.js";
7
7
  import "../Searchbar/AutocompleteBase.js";
8
8
  import "../Snackbar/useSnackbar.js";
9
9
  import { ListItem as f } from "../List/ListItem.js";
10
- import { u as c } from "../../useId-CsCRkvK3.js";
10
+ import { u as c } from "../../useId-BVFxCjkq.js";
11
11
  var d = function(t, o) {
12
12
  var r = {};
13
13
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (r[e] = t[e]);
@@ -7,7 +7,7 @@ import { forwardRef as f } from "react";
7
7
  import "../RootProvider/RootProvider.js";
8
8
  import "../Searchbar/AutocompleteBase.js";
9
9
  import "../Snackbar/useSnackbar.js";
10
- import { u as d } from "../../useId-CsCRkvK3.js";
10
+ import { u as d } from "../../useId-BVFxCjkq.js";
11
11
  import '../../assets/AttachmentLink.css';var p = function(t, n) {
12
12
  var l = {};
13
13
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (l[e] = t[e]);
@@ -1,30 +1,30 @@
1
1
  "use client";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- import { c as s } from "../../index-L8X2o7IH.js";
3
+ import { c } from "../../index-L8X2o7IH.js";
4
4
  import { useMemo as f } from "react";
5
5
  import { Avatar as h } from "./Avatar.js";
6
- import '../../assets/AvatarGroup.css';const A = "_group_1ts6c_1", _ = "_item_1ts6c_10", n = {
6
+ import '../../assets/AvatarGroup.css';const A = "_group_1ts6c_1", _ = "_item_1ts6c_10", s = {
7
7
  group: A,
8
8
  item: _
9
9
  }, G = (e) => typeof e == "object" && e !== null && "items" in e, L = ({
10
10
  items: e = [],
11
11
  maxItemsCount: l = 4,
12
- defaultType: c,
12
+ defaultType: n,
13
13
  size: i,
14
- className: u,
15
- style: m
14
+ className: m,
15
+ style: u
16
16
  }) => {
17
17
  const o = f(() => e.slice(0, l), [e, l]);
18
- return e.length === 0 ? /* @__PURE__ */ r("div", { className: n.avatarGroup }) : /* @__PURE__ */ r("ul", { className: s(n.group, u), "data-size": i, "data-count": o == null ? void 0 : o.length, style: m, children: o.map((t, p) => {
18
+ return e.length === 0 ? /* @__PURE__ */ r("div", { className: s.avatarGroup }) : /* @__PURE__ */ r("ul", { className: c(s.group, m), "data-size": i, "data-count": o == null ? void 0 : o.length, style: u, children: o.map((t, p) => {
19
19
  const g = p === l - 1, d = t.customLabel || g ? e.length.toString() : void 0;
20
- return /* @__PURE__ */ r("li", { className: s(n.item), children: /* @__PURE__ */ r(
20
+ return /* @__PURE__ */ r("li", { className: c(s.item), children: /* @__PURE__ */ r(
21
21
  h,
22
22
  {
23
23
  name: t.name,
24
24
  customLabel: d,
25
25
  imageUrl: t.imageUrl,
26
26
  imageUrlAlt: t.imageUrlAlt,
27
- type: (t == null ? void 0 : t.type) || c,
27
+ type: (t == null ? void 0 : t.type) || n,
28
28
  outline: !0
29
29
  }
30
30
  ) }, t.name);
@@ -13,8 +13,8 @@ import "../Snackbar/useSnackbar.js";
13
13
  import { Flex as S } from "../Page/Flex.js";
14
14
  import { Section as k } from "../Page/Section.js";
15
15
  import { TextField as z } from "../Forms/TextField.js";
16
- import { S as E } from "../../XMark-Bv1I87Ev.js";
17
- import { u as M } from "../../useId-CsCRkvK3.js";
16
+ import { S as E } from "../../XMark-DIqxCTTQ.js";
17
+ import { u as M } from "../../useId-BVFxCjkq.js";
18
18
  var P = function(t, i) {
19
19
  var o = {};
20
20
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && i.indexOf(e) < 0 && (o[e] = t[e]);
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import { jsxs as v, jsx as s } from "react/jsx-runtime";
3
- import { c as _ } from "../../index-L8X2o7IH.js";
3
+ import { c as O } from "../../index-L8X2o7IH.js";
4
4
  import * as a from "react";
5
- import { forwardRef as O, useRef as h, useMemo as w } from "react";
6
- import { IconButton as y } from "../Button/IconButton.js";
7
- import { useClickOutside as I } from "../../hooks/useClickOutside.js";
5
+ import { forwardRef as h, useRef as w, useMemo as y } from "react";
6
+ import { IconButton as I } from "../Button/IconButton.js";
7
+ import { useClickOutside as _ } from "../../hooks/useClickOutside.js";
8
8
  import { DropdownBase as j } from "../Dropdown/DropdownBase.js";
9
9
  import { MenuItems as C } from "../Menu/MenuItems.js";
10
10
  import { useRootContext as R } from "../RootProvider/RootProvider.js";
11
11
  import "../Searchbar/AutocompleteBase.js";
12
12
  import "../Snackbar/useSnackbar.js";
13
- import { u as E } from "../../useId-CsCRkvK3.js";
13
+ import { u as E } from "../../useId-BVFxCjkq.js";
14
14
  import '../../assets/ContextMenu.css';var M = function(e, l) {
15
15
  var n = {};
16
16
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && l.indexOf(t) < 0 && (n[t] = e[t]);
@@ -19,7 +19,7 @@ import '../../assets/ContextMenu.css';var M = function(e, l) {
19
19
  l.indexOf(t[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[o]) && (n[t[o]] = e[t[o]]);
20
20
  return n;
21
21
  };
22
- const k = O((e, l) => {
22
+ const k = h((e, l) => {
23
23
  var { title: n, titleId: t } = e, o = M(e, ["title", "titleId"]);
24
24
  let r = E();
25
25
  return r = n ? t || "title-" + r : void 0, a.createElement(
@@ -28,11 +28,10 @@ const k = O((e, l) => {
28
28
  n ? a.createElement("title", { id: r }, n) : null,
29
29
  a.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M6 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m4.5 1.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m6 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0", clipRule: "evenodd" })
30
30
  );
31
- }), B = "_toggle_nol5i_1", P = "_button_nol5i_5", S = "_icon_nol5i_14", f = {
31
+ }), B = "_toggle_nol5i_1", P = "_button_nol5i_5", f = {
32
32
  toggle: B,
33
- button: P,
34
- icon: S
35
- }, J = ({
33
+ button: P
34
+ }, G = ({
36
35
  id: e = "context-menu",
37
36
  placement: l = "right",
38
37
  size: n = "sm",
@@ -40,18 +39,18 @@ const k = O((e, l) => {
40
39
  className: o,
41
40
  items: r
42
41
  }) => {
43
- const { currentId: p, toggleId: d, closeAll: c } = R(), u = h(null);
44
- I(u, () => c());
45
- const g = () => d(e), b = p === e, x = w(() => r.map((i) => ({
42
+ const { currentId: p, toggleId: d, closeAll: c } = R(), u = w(null);
43
+ _(u, () => c());
44
+ const g = () => d(e), b = p === e, x = y(() => r.map((i) => ({
46
45
  ...i,
47
46
  onClick: () => {
48
47
  var m;
49
48
  (m = i.onClick) == null || m.call(i), c();
50
49
  }
51
50
  })), [r, c]);
52
- return /* @__PURE__ */ v("div", { className: _(f.toggle, o), "data-color": "neutral", ref: u, children: [
51
+ return /* @__PURE__ */ v("div", { className: O(f.toggle, o), "data-color": "neutral", ref: u, children: [
53
52
  /* @__PURE__ */ s(
54
- y,
53
+ I,
55
54
  {
56
55
  className: f.button,
57
56
  size: n,
@@ -66,5 +65,5 @@ const k = O((e, l) => {
66
65
  ] });
67
66
  };
68
67
  export {
69
- J as ContextMenu
68
+ G as ContextMenu
70
69
  };
@@ -8,9 +8,9 @@ import { Heading as w } from "../Typography/Heading.js";
8
8
  import "../Searchbar/AutocompleteBase.js";
9
9
  import "../Snackbar/useSnackbar.js";
10
10
  import { DashboardIcon as y } from "./DashboardIcon.js";
11
- import { u as S } from "../../floating-ui.react-DpzNAs2N.js";
12
- import { S as u } from "../../index-C8BS_2GY.js";
11
+ import { S as u } from "../../index-D8Pn8SCu.js";
13
12
  import { c as h } from "../../lite-1fxw3LjI.js";
13
+ import { u as S } from "../../useMergeRefs-DOnoWyUH.js";
14
14
  const j = p(function({ asChild: n = !1, variant: r = "default", className: s, ...c }, o) {
15
15
  const l = n ? u : "div", m = B(null), k = S([m, o]);
16
16
  return R(() => {
@@ -8,7 +8,7 @@ import { Badge as b } from "../Badge/Badge.js";
8
8
  import "../RootProvider/RootProvider.js";
9
9
  import "../Searchbar/AutocompleteBase.js";
10
10
  import "../Snackbar/useSnackbar.js";
11
- import { S as c } from "../../XMark-Bv1I87Ev.js";
11
+ import { S as c } from "../../XMark-DIqxCTTQ.js";
12
12
  import '../../assets/MenuItemIcon.css';const _ = "_icon_c8ubg_1", v = "_avatarGroup_c8ubg_32", G = "_badge_c8ubg_36", o = {
13
13
  icon: _,
14
14
  avatarGroup: v,
@@ -7,8 +7,8 @@ import "../RootProvider/RootProvider.js";
7
7
  import "../Searchbar/AutocompleteBase.js";
8
8
  import "../Snackbar/useSnackbar.js";
9
9
  import { IconButton as d } from "../Button/IconButton.js";
10
- import { u as f } from "../../useId-CsCRkvK3.js";
11
- import { S as p } from "../../ChevronRight-DUaHaWi-.js";
10
+ import { u as f } from "../../useId-BVFxCjkq.js";
11
+ import { S as p } from "../../ChevronRight-BbelnTke.js";
12
12
  import '../../assets/DatepickerHeader.css';var v = function(t, o) {
13
13
  var r = {};
14
14
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (r[e] = t[e]);
@@ -9,7 +9,7 @@ import { DropdownBase as b } from "../Dropdown/DropdownBase.js";
9
9
  import { Menu as x } from "../Menu/Menu.js";
10
10
  import "../Searchbar/AutocompleteBase.js";
11
11
  import "../Snackbar/useSnackbar.js";
12
- import { S as B, a as _ } from "../../ChevronUp-C09jxB5F.js";
12
+ import { S as B, a as _ } from "../../ChevronUp-DR4Lz2Jb.js";
13
13
  import '../../assets/DialogActions.css';const k = "_action_m3crc_1", I = "_comboButton_m3crc_7", m = {
14
14
  action: k,
15
15
  comboButton: I
@@ -9,7 +9,7 @@ import { Typography as c } from "../Typography/Typography.js";
9
9
  import "../Searchbar/AutocompleteBase.js";
10
10
  import "../Snackbar/useSnackbar.js";
11
11
  import { Section as x } from "../Page/Section.js";
12
- import { S } from "../../CircleFill-IZdiBc_K.js";
12
+ import { S } from "../../CircleFill-BkDF4Wm0.js";
13
13
  const y = ({
14
14
  icon: p = S,
15
15
  color: l = "neutral",
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
3
  import "react";
4
4
  import "../RootProvider/RootProvider.js";
5
- import { D as c } from "../../DialogActivityLog-wsSwha93.js";
5
+ import { D as c } from "../../DialogActivityLog-BoPREh7Y.js";
6
6
  import "../Searchbar/AutocompleteBase.js";
7
7
  import "../Snackbar/useSnackbar.js";
8
8
  import "../Metadata/MetaItem.js";
@@ -9,7 +9,7 @@ import { Typography as s } from "../Typography/Typography.js";
9
9
  import { SeenByLog as x } from "./SeenByLog.js";
10
10
  import "../Searchbar/AutocompleteBase.js";
11
11
  import "../Snackbar/useSnackbar.js";
12
- const W = ({
12
+ const H = ({
13
13
  loading: r,
14
14
  sender: t,
15
15
  recipient: o,
@@ -39,5 +39,5 @@ const W = ({
39
39
  )
40
40
  ] });
41
41
  export {
42
- W as DialogBody
42
+ H as DialogBody
43
43
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as u, jsx as f } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
3
  import "react";
4
- import { Byline as x } from "../Byline/Byline.js";
4
+ import { Byline as v } from "../Byline/Byline.js";
5
5
  import "../RootProvider/RootProvider.js";
6
6
  import "../Searchbar/AutocompleteBase.js";
7
7
  import "../Snackbar/useSnackbar.js";
@@ -12,7 +12,7 @@ const s = ({
12
12
  grouped: l = !1,
13
13
  loading: m,
14
14
  size: r = "xs"
15
- }) => !o && !a ? null : /* @__PURE__ */ u(x, { loading: m, size: r, avatar: o, avatarGroup: !m && l && o && a ? {
15
+ }) => !o && !a ? null : /* @__PURE__ */ u(v, { loading: m, size: r, avatar: o, avatarGroup: !m && l && o && a ? {
16
16
  items: [o, a]
17
17
  } : void 0, children: [
18
18
  /* @__PURE__ */ f("strong", { children: o == null ? void 0 : o.name }),
@@ -11,7 +11,7 @@ import { TimelineLink as c } from "../Timeline/TimelineLink.js";
11
11
  import { Transmission as s } from "../Transmission/Transmission.js";
12
12
  import { Typography as d } from "../Typography/Typography.js";
13
13
  import { List as u } from "../List/List.js";
14
- import { u as g } from "../../useId-CsCRkvK3.js";
14
+ import { u as g } from "../../useId-BVFxCjkq.js";
15
15
  var v = function(r, i) {
16
16
  var o = {};
17
17
  for (var e in r) Object.prototype.hasOwnProperty.call(r, e) && i.indexOf(e) < 0 && (o[e] = r[e]);
@@ -11,7 +11,7 @@ import { Timeline as x } from "../Timeline/Timeline.js";
11
11
  import { TimelineSegment as I } from "../Timeline/TimelineSegment.js";
12
12
  import { TimelineSection as E } from "../Timeline/TimelineSection.js";
13
13
  import { TimelineLink as g } from "../Timeline/TimelineLink.js";
14
- import { u as h } from "../../useId-CsCRkvK3.js";
14
+ import { u as h } from "../../useId-BVFxCjkq.js";
15
15
  var S = function(t, n) {
16
16
  var l = {};
17
17
  for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (l[e] = t[e]);
@@ -9,7 +9,7 @@ import "../Searchbar/AutocompleteBase.js";
9
9
  import "../Snackbar/useSnackbar.js";
10
10
  import { Flex as s } from "../Page/Flex.js";
11
11
  import { Section as c } from "../Page/Section.js";
12
- import { S as a } from "../../Checkmark-RgzvRNxP.js";
12
+ import { S as a } from "../../Checkmark-D17Nyv_u.js";
13
13
  const k = ({ title: i, children: m, checkAllLabel: o }) => /* @__PURE__ */ t(c, { spacing: 3, children: [
14
14
  i && /* @__PURE__ */ t(s, { direction: "row", align: "center", justify: "between", children: [
15
15
  /* @__PURE__ */ r(p, { size: "lg", children: i }),
@@ -1,4 +1,4 @@
1
- import { jsx as a, jsxs as v } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as v } from "react/jsx-runtime";
2
2
  import "../../index-L8X2o7IH.js";
3
3
  import "react";
4
4
  import { Skeleton as E } from "../Skeleton/Skeleton.js";
@@ -10,49 +10,47 @@ import { DialogByline as G } from "./DialogByline.js";
10
10
  import { DialogHeading as J } from "./DialogHeading.js";
11
11
  import "../Searchbar/AutocompleteBase.js";
12
12
  import "../Snackbar/useSnackbar.js";
13
- import '../../assets/DialogListItem.css';const K = "_border_1meh5_1", O = "_controls_1meh5_54", P = "_header_1meh5_60", Q = "_summary_1meh5_72", R = "_footer_1meh5_100", T = "_touchedBy_1meh5_104", U = "_heading_1meh5_113", W = "_title_1meh5_119", t = {
13
+ import '../../assets/DialogListItem.css';const K = "_border_1meh5_1", O = "_controls_1meh5_54", P = "_header_1meh5_60", Q = "_summary_1meh5_72", R = "_footer_1meh5_100", T = "_touchedBy_1meh5_104", m = {
14
14
  border: K,
15
15
  controls: O,
16
16
  header: P,
17
17
  summary: Q,
18
18
  footer: R,
19
- touchedBy: T,
20
- heading: U,
21
- title: W
22
- }, lo = ({
19
+ touchedBy: T
20
+ }, to = ({
23
21
  size: o = "xl",
24
22
  state: B = "normal",
25
- loading: e,
26
- controls: g,
27
- select: X,
23
+ loading: a,
24
+ controls: D,
25
+ select: U,
28
26
  selected: c,
29
- status: r,
30
- sender: d,
31
- recipient: D,
32
- recipientLabel: L = "to",
33
- grouped: I = !1,
27
+ status: e,
28
+ sender: n,
29
+ recipient: L,
30
+ recipientLabel: I = "to",
31
+ grouped: j = !1,
34
32
  updatedAt: i,
35
33
  updatedAtLabel: h,
36
- archivedAt: _,
37
- archivedAtLabel: j,
38
- trashedAt: s,
39
- trashedAtLabel: u,
40
- badge: S,
34
+ archivedAt: s,
35
+ archivedAtLabel: u,
36
+ trashedAt: _,
37
+ trashedAtLabel: S,
38
+ badge: g,
41
39
  dueAt: k,
42
40
  dueAtLabel: H,
43
41
  seen: l = !1,
44
42
  seenBy: M,
45
43
  touchedBy: V,
46
44
  attachmentsCount: q,
47
- title: m,
45
+ title: t,
48
46
  description: p,
49
- summary: n,
47
+ summary: d,
50
48
  variant: w = "default",
51
49
  id: f,
52
50
  ...b
53
51
  }) => {
54
- const C = s ? "trashed" : _ ? "archived" : B, y = c ? "tinted" : w;
55
- return o === "xs" || o === "sm" ? /* @__PURE__ */ a(
52
+ const C = _ ? "trashed" : s ? "archived" : B, y = c ? "tinted" : w;
53
+ return o === "xs" || o === "sm" ? /* @__PURE__ */ r(
56
54
  x,
57
55
  {
58
56
  ...b,
@@ -60,22 +58,22 @@ import '../../assets/DialogListItem.css';const K = "_border_1meh5_1", O = "_cont
60
58
  size: o,
61
59
  selected: c,
62
60
  variant: y,
63
- ariaLabel: m,
64
- label: /* @__PURE__ */ a(
61
+ ariaLabel: t,
62
+ label: /* @__PURE__ */ r(
65
63
  "div",
66
64
  {
67
- className: t.border,
68
- "data-status": r == null ? void 0 : r.value,
65
+ className: m.border,
66
+ "data-status": e == null ? void 0 : e.value,
69
67
  "data-size": o,
70
68
  "data-seen": l,
71
- "data-loading": e,
72
- children: /* @__PURE__ */ a(F, { loading: e, size: o, title: m, description: n || p })
69
+ "data-loading": a,
70
+ children: /* @__PURE__ */ r(F, { loading: a, size: o, title: t, description: d || p })
73
71
  }
74
72
  ),
75
- badge: /* @__PURE__ */ a(N, { loading: e, sender: d, updatedAt: i, updatedAtLabel: h }),
76
- title: m
73
+ badge: /* @__PURE__ */ r(N, { loading: a, sender: n, updatedAt: i, updatedAtLabel: h }),
74
+ title: t
77
75
  }
78
- ) : /* @__PURE__ */ a(
76
+ ) : /* @__PURE__ */ r(
79
77
  x,
80
78
  {
81
79
  ...b,
@@ -83,51 +81,51 @@ import '../../assets/DialogListItem.css';const K = "_border_1meh5_1", O = "_cont
83
81
  size: o,
84
82
  selected: c,
85
83
  variant: y,
86
- controls: /* @__PURE__ */ a("div", { className: t.controls, children: g }),
87
- title: m,
84
+ controls: /* @__PURE__ */ r("div", { className: m.controls, children: D }),
85
+ title: t,
88
86
  label: /* @__PURE__ */ v(
89
87
  "div",
90
88
  {
91
- className: t.border,
92
- "data-status": r == null ? void 0 : r.value,
89
+ className: m.border,
90
+ "data-status": e == null ? void 0 : e.value,
93
91
  "data-size": o,
94
92
  "data-seen": l,
95
- "data-loading": e,
93
+ "data-loading": a,
96
94
  children: [
97
- /* @__PURE__ */ v("header", { className: t.header, "data-size": o, children: [
98
- /* @__PURE__ */ a(J, { loading: e, size: o, state: C, badge: S, seen: l, children: m }),
99
- /* @__PURE__ */ a(
95
+ /* @__PURE__ */ v("header", { className: m.header, "data-size": o, children: [
96
+ /* @__PURE__ */ r(J, { loading: a, size: o, state: C, badge: g, seen: l, children: t }),
97
+ /* @__PURE__ */ r(
100
98
  G,
101
99
  {
102
100
  size: "xs",
103
- loading: e,
104
- sender: d,
105
- recipient: D,
106
- recipientLabel: L,
107
- grouped: I
101
+ loading: a,
102
+ sender: n,
103
+ recipient: L,
104
+ recipientLabel: I,
105
+ grouped: j
108
106
  }
109
107
  ),
110
- o === "xl" && n && /* @__PURE__ */ a(E, { loading: e, children: /* @__PURE__ */ a("p", { "data-size": o, className: t.summary, children: n || p }) })
108
+ o === "xl" && d && /* @__PURE__ */ r(E, { loading: a, children: /* @__PURE__ */ r("p", { "data-size": o, className: m.summary, children: d || p }) })
111
109
  ] }),
112
- /* @__PURE__ */ a(
110
+ /* @__PURE__ */ r(
113
111
  N,
114
112
  {
115
- className: t.footer,
116
- loading: e,
117
- status: r,
113
+ className: m.footer,
114
+ loading: a,
115
+ status: e,
118
116
  updatedAt: i,
119
117
  updatedAtLabel: h,
120
- archivedAt: _,
121
- archivedAtLabel: j,
122
- trashedAt: s,
123
- trashedAtLabel: u,
118
+ archivedAt: s,
119
+ archivedAtLabel: u,
120
+ trashedAt: _,
121
+ trashedAtLabel: S,
124
122
  dueAt: k,
125
123
  dueAtLabel: H,
126
124
  attachmentsCount: q,
127
125
  seenBy: M,
128
126
  touchedBy: {
129
127
  touchedBy: V,
130
- className: t.touchedBy
128
+ className: m.touchedBy
131
129
  }
132
130
  }
133
131
  )
@@ -138,5 +136,5 @@ import '../../assets/DialogListItem.css';const K = "_border_1meh5_1", O = "_cont
138
136
  );
139
137
  };
140
138
  export {
141
- lo as DialogListItem
139
+ to as DialogListItem
142
140
  };