@altinn/altinn-components 0.58.0 → 0.58.2

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 (212) hide show
  1. package/dist/{Section-DPj8jAL1.js → Section-DvBigBR1.js} +122 -121
  2. package/dist/assets/BookmarkSettingsItemLabel.css +1 -1
  3. package/dist/assets/DialogContact.css +1 -0
  4. package/dist/assets/DialogHeader.css +1 -0
  5. package/dist/assets/DialogLayout.css +1 -0
  6. package/dist/assets/DialogSection.css +1 -0
  7. package/dist/assets/Link.css +1 -0
  8. package/dist/assets/Section.css +1 -1
  9. package/dist/assets/SettingsItemBase.css +1 -1
  10. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +17 -16
  11. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +9 -8
  12. package/dist/components/Account/AccountList.js +7 -6
  13. package/dist/components/Account/AccountListItem.js +8 -7
  14. package/dist/components/Account/AccountListItemControls.js +11 -10
  15. package/dist/components/Account/AccountListItemDetails.js +12 -11
  16. package/dist/components/Account/AccountListVirtual.js +4 -3
  17. package/dist/components/Account/AccountMenu.js +11 -10
  18. package/dist/components/Account/AccountNotificationSettings.js +10 -9
  19. package/dist/components/Account/AccountOrganization.js +15 -14
  20. package/dist/components/AccountSelector/AccountSelector.js +10 -9
  21. package/dist/components/ActivityLog/ActivityLog.js +4 -3
  22. package/dist/components/ActivityLog/ActivityLogItem.js +4 -3
  23. package/dist/components/ActivityLog/ActivityLogSegment.js +4 -3
  24. package/dist/components/Alert/Alert.js +8 -7
  25. package/dist/components/Article/Article.js +4 -3
  26. package/dist/components/Article/ArticleContact.js +4 -3
  27. package/dist/components/Article/ArticleHeader.js +4 -3
  28. package/dist/components/Attachment/AttachmentLink.js +1 -1
  29. package/dist/components/Banner/Banner.js +6 -5
  30. package/dist/components/Bookmarks/BookmarkModal.js +7 -6
  31. package/dist/components/Bookmarks/BookmarkSettingsItem.js +4 -3
  32. package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +12 -11
  33. package/dist/components/Bookmarks/BookmarkSettingsList.js +9 -8
  34. package/dist/components/Breadcrumbs/Breadcrumbs.js +4 -3
  35. package/dist/components/Bulk/BulkHeader.js +8 -7
  36. package/dist/components/Button/ButtonIcon.js +4 -3
  37. package/dist/components/Button/ComboButton.js +4 -3
  38. package/dist/components/Button/FloatingActionButton.js +8 -7
  39. package/dist/components/Button/IconButton.js +5 -4
  40. package/dist/components/Byline/Byline.js +3 -2
  41. package/dist/components/Byline/index.js +1 -1
  42. package/dist/components/ContextMenu/ContextMenu.js +11 -10
  43. package/dist/components/Dashboard/DashboardCard.js +7 -6
  44. package/dist/components/Dashboard/DashboardHeader.js +9 -8
  45. package/dist/components/Datepicker/Datepicker.js +1 -1
  46. package/dist/components/Datepicker/DatepickerHeader.js +4 -3
  47. package/dist/components/Datepicker/DatepickerTable.js +11 -10
  48. package/dist/components/Dialog/Dialog.js +25 -31
  49. package/dist/components/Dialog/DialogActions.js +4 -3
  50. package/dist/components/Dialog/DialogActivityLog.js +4 -3
  51. package/dist/components/Dialog/DialogAttachments.js +6 -5
  52. package/dist/components/Dialog/DialogBody.js +8 -7
  53. package/dist/components/Dialog/DialogByline.js +3 -2
  54. package/dist/components/Dialog/DialogContact.js +47 -11
  55. package/dist/components/Dialog/DialogHeader.js +31 -28
  56. package/dist/components/Dialog/DialogHistory.js +7 -6
  57. package/dist/components/Dialog/DialogHistoryItem.js +4 -3
  58. package/dist/components/Dialog/DialogHistorySegment.js +8 -7
  59. package/dist/components/Dialog/DialogLayout.js +22 -21
  60. package/dist/components/Dialog/DialogList.js +3 -2
  61. package/dist/components/Dialog/DialogListGroup.js +3 -2
  62. package/dist/components/Dialog/DialogListItem.js +3 -2
  63. package/dist/components/Dialog/DialogMetadata.js +3 -2
  64. package/dist/components/Dialog/DialogSection.js +10 -7
  65. package/dist/components/Dialog/DialogSeenBy.js +4 -3
  66. package/dist/components/Dialog/DialogSelect.js +10 -9
  67. package/dist/components/Dialog/DialogStatus.js +4 -3
  68. package/dist/components/Dialog/DialogTabs.js +4 -3
  69. package/dist/components/Dialog/SeenByLog.js +4 -3
  70. package/dist/components/Dialog/SeenByLogButton.js +7 -6
  71. package/dist/components/Dialog/SeenByLogItem.js +12 -11
  72. package/dist/components/Dialog/index.js +1 -1
  73. package/dist/components/Dropdown/DrawerButton.js +4 -3
  74. package/dist/components/Dropdown/DrawerHeader.js +8 -7
  75. package/dist/components/Dropdown/Dropdown.js +3 -2
  76. package/dist/components/Dropdown/DropdownBase.js +8 -7
  77. package/dist/components/Dropdown/FloatingDropdown.js +19 -18
  78. package/dist/components/Dropdown/index.js +1 -1
  79. package/dist/components/DsComponents/index.js +21 -20
  80. package/dist/components/Forms/Checkbox.js +4 -3
  81. package/dist/components/Forms/CheckboxOptions.js +4 -3
  82. package/dist/components/Forms/FieldBase.js +3 -2
  83. package/dist/components/Forms/FieldsetBase.js +4 -3
  84. package/dist/components/Forms/Radio.js +4 -3
  85. package/dist/components/Forms/RadioOptions.js +4 -3
  86. package/dist/components/Forms/SearchField.js +3 -2
  87. package/dist/components/Forms/SelectField.js +5 -4
  88. package/dist/components/Forms/Switch.js +6 -5
  89. package/dist/components/Forms/SwitchOptions.js +4 -3
  90. package/dist/components/Forms/TextField.js +4 -3
  91. package/dist/components/Forms/TextFieldDropdown.js +4 -3
  92. package/dist/components/Forms/TextareaField.js +4 -3
  93. package/dist/components/Forms/index.js +1 -1
  94. package/dist/components/GlobalHeader/GlobalAccountButton.js +8 -7
  95. package/dist/components/GlobalHeader/GlobalHeader.js +10 -9
  96. package/dist/components/GlobalHeader/GlobalMenuButton.js +4 -3
  97. package/dist/components/GlobalHeader/HeaderDrawer.js +9 -8
  98. package/dist/components/GlobalHeader/HeaderDropdown.js +6 -5
  99. package/dist/components/GlobalHeader/HeaderLogo.js +8 -7
  100. package/dist/components/GlobalMenu/GlobalMenu.js +10 -9
  101. package/dist/components/GlobalMenu/LocaleSwitcher.js +13 -12
  102. package/dist/components/GlobalMenu/LogoutButton.js +4 -3
  103. package/dist/components/GlobalMenu_old/BackButton.js +4 -3
  104. package/dist/components/GlobalMenu_old/CurrentAccount.js +4 -3
  105. package/dist/components/GlobalMenu_old/GlobalMenu.js +10 -9
  106. package/dist/components/GlobalMenu_old/GlobalMenuButton.js +12 -11
  107. package/dist/components/GlobalMenu_old/LogoutButton.js +4 -3
  108. package/dist/components/Header/Header.js +4 -3
  109. package/dist/components/Header/HeaderBase.js +7 -6
  110. package/dist/components/Header/HeaderButton.js +18 -17
  111. package/dist/components/Header/LocaleButton.js +12 -11
  112. package/dist/components/Header/LocaleSwitcher.js +9 -8
  113. package/dist/components/Icon/Icon.js +4 -3
  114. package/dist/components/Icon/index.js +1 -1
  115. package/dist/components/Inbox/InboxPage.js +8 -7
  116. package/dist/components/InboxSearch/InboxSearch.js +10 -9
  117. package/dist/components/Item/ItemLabel.js +2 -1
  118. package/dist/components/Item/ItemMedia.js +3 -2
  119. package/dist/components/Item/ItemSelect.js +3 -2
  120. package/dist/components/Item/index.js +1 -1
  121. package/dist/components/Layout/Layout.js +8 -7
  122. package/dist/components/List/List.js +3 -2
  123. package/dist/components/List/ListBase.js +4 -3
  124. package/dist/components/List/ListItem.js +1 -1
  125. package/dist/components/List/ListItemHeader.js +3 -2
  126. package/dist/components/List/ListItemIcon.js +3 -2
  127. package/dist/components/List/ListItemLabel.js +4 -3
  128. package/dist/components/List/index.js +1 -1
  129. package/dist/components/Menu/Menu.js +1 -1
  130. package/dist/components/Menu/MenuItem.js +3 -2
  131. package/dist/components/Menu/MenuItems.js +3 -2
  132. package/dist/components/Menu/MenuListSearch.js +3 -2
  133. package/dist/components/Menu/MenuOption.js +1 -1
  134. package/dist/components/Menu/TabMenu.js +7 -6
  135. package/dist/components/Menu/VirtualizedMenuItems.js +3 -2
  136. package/dist/components/Menu/index.js +1 -1
  137. package/dist/components/Menu/useMenuSearch.js +1 -1
  138. package/dist/components/Metadata/MetaItem.js +3 -2
  139. package/dist/components/Metadata/MetaItemIcon.js +3 -2
  140. package/dist/components/Metadata/MetaProgress.js +3 -2
  141. package/dist/components/Metadata/MetaTimestamp.js +3 -2
  142. package/dist/components/Metadata/Metadata.js +9 -8
  143. package/dist/components/Metadata/index.js +1 -1
  144. package/dist/components/Modal/Modal.js +8 -7
  145. package/dist/components/Modal/ModalBase.js +25 -24
  146. package/dist/components/Modal/ModalHeader.js +10 -9
  147. package/dist/components/Modal/ModalIcon.js +4 -3
  148. package/dist/components/Notifications/NotificationItem.js +4 -3
  149. package/dist/components/Notifications/NotificationItemBase.js +4 -3
  150. package/dist/components/Notifications/NotificationItemControls.js +6 -5
  151. package/dist/components/Notifications/NotificationItemIcon.js +15 -14
  152. package/dist/components/Page/AccordionSection.js +4 -3
  153. package/dist/components/Page/ContactButtons.js +7 -6
  154. package/dist/components/Page/ContactSection.js +7 -6
  155. package/dist/components/Page/PageMenu.js +11 -10
  156. package/dist/components/Page/PageNav.js +7 -6
  157. package/dist/components/Page/Section.js +3 -2
  158. package/dist/components/Page/index.js +1 -1
  159. package/dist/components/ResourceListItem/ResourceListItem.js +8 -7
  160. package/dist/components/RootProvider/RootProvider.js +4 -3
  161. package/dist/components/RootProvider/index.js +1 -1
  162. package/dist/components/Search/SearchItem.js +7 -6
  163. package/dist/components/Searchbar/Autocomplete.js +9 -8
  164. package/dist/components/Searchbar/AutocompleteItem.js +6 -5
  165. package/dist/components/Searchbar/Searchbar.js +4 -3
  166. package/dist/components/Searchbar/SearchbarField.js +4 -3
  167. package/dist/components/Settings/SettingsItem.js +72 -61
  168. package/dist/components/Settings/SettingsItemBase.js +67 -39
  169. package/dist/components/Settings/SettingsList.js +12 -11
  170. package/dist/components/Settings/SettingsModal.js +7 -6
  171. package/dist/components/Settings/SettingsSection.js +10 -9
  172. package/dist/components/Settings/UsedByLog.js +4 -3
  173. package/dist/components/Settings/UsedByLogItem.js +10 -9
  174. package/dist/components/Snackbar/SnackbarItem.js +16 -15
  175. package/dist/components/Timeline/Timeline.js +4 -3
  176. package/dist/components/Timeline/TimelineActivity.js +4 -3
  177. package/dist/components/Timeline/TimelineBase.js +4 -3
  178. package/dist/components/Timeline/TimelineFooter.js +7 -6
  179. package/dist/components/Timeline/TimelineHeader.js +4 -3
  180. package/dist/components/Timeline/TimelineIcon.js +6 -5
  181. package/dist/components/Timeline/TimelineSection.js +4 -3
  182. package/dist/components/Timeline/TimelineSegment.js +7 -6
  183. package/dist/components/Toolbar/DatepickerFilter.js +4 -3
  184. package/dist/components/Toolbar/SelectDateFilter.js +8 -7
  185. package/dist/components/Toolbar/Toolbar.js +1 -1
  186. package/dist/components/Toolbar/ToolbarFilter.js +11 -10
  187. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +18 -17
  188. package/dist/components/Toolbar/ToolbarFilterButton.js +4 -3
  189. package/dist/components/Toolbar/ToolbarFilterMenu.js +11 -10
  190. package/dist/components/Toolbar/ToolbarMenu.js +3 -2
  191. package/dist/components/Toolbar/ToolbarSearch.js +3 -2
  192. package/dist/components/Toolbar/index.js +1 -1
  193. package/dist/components/Transmission/Transmission.js +9 -8
  194. package/dist/components/Transmission/TransmissionList.js +6 -5
  195. package/dist/components/Transmission/TransmissionType.js +4 -3
  196. package/dist/components/Typography/Heading.js +3 -2
  197. package/dist/components/Typography/Link.js +11 -0
  198. package/dist/components/Typography/index.js +4 -2
  199. package/dist/components/UserListItem/UserListItem.js +9 -8
  200. package/dist/components/index.js +137 -134
  201. package/dist/hooks/useAccountSelector.js +18 -17
  202. package/dist/index.js +152 -149
  203. package/dist/link-D1SA3LCe.js +10 -0
  204. package/dist/{textfield-CRXtg-r5.js → textfield-f4Za2qt6.js} +428 -431
  205. package/dist/types/lib/components/Dialog/DialogContact.d.ts +12 -3
  206. package/dist/types/lib/components/Settings/SettingsItem.d.ts +1 -1
  207. package/dist/types/lib/components/Settings/SettingsItemBase.d.ts +16 -10
  208. package/dist/types/lib/components/Typography/Link.d.ts +11 -0
  209. package/dist/types/lib/components/Typography/index.d.ts +1 -0
  210. package/dist/types/lib/stories/Profile.stories.d.ts +1 -0
  211. package/package.json +1 -1
  212. package/dist/types/lib/components/Settings/SettingsItem.stories.d.ts +0 -67
@@ -2,8 +2,9 @@
2
2
  import { jsx as a, jsxs as x, Fragment as fe } from "react/jsx-runtime";
3
3
  import { c as K } from "./index-p1eeF8LQ.js";
4
4
  import * as H from "react";
5
- import C, { forwardRef as V, useRef as Z, useState as se, useMemo as ce, useEffect as Q, Fragment as vt, useLayoutEffect as Re, createContext as bt, useContext as gt, isValidElement as _e, useId as Oe, useCallback as Qe, memo as we, createElement as Me } from "react";
5
+ import C, { forwardRef as V, useRef as Z, useState as se, useMemo as ce, useEffect as Q, Fragment as vt, useLayoutEffect as je, createContext as bt, useContext as gt, isValidElement as _e, useId as Oe, useCallback as Qe, memo as we, createElement as Me } from "react";
6
6
  import { useEscapeKey as yt } from "./hooks/useEscapeKey.js";
7
+ import "./components/Typography/Link.js";
7
8
  import { Button as pe } from "./components/Button/Button.js";
8
9
  import { createPortal as _t } from "react-dom";
9
10
  import { useMenu as Be } from "./hooks/useMenu.js";
@@ -32,7 +33,7 @@ import { MenuListGroup as et } from "./components/Menu/MenuListGroup.js";
32
33
  import { MenuListDivider as tt } from "./components/Menu/MenuListDivider.js";
33
34
  import { MenuListHeading as nt } from "./components/Menu/MenuListHeading.js";
34
35
  import { a as zt } from "./useMenuVirtualization-Cs426RCN.js";
35
- import { S as jt, a as $t, b as Rt, d as Mt, c as At } from "./Trash-BG9YcGIl.js";
36
+ import { S as $t, a as Rt, b as jt, d as Mt, c as At } from "./Trash-BG9YcGIl.js";
36
37
  import { useDropdownMenuController as Dt } from "./components/Menu/useDropdownMenuController.js";
37
38
  import { ProgressIcon as Bt } from "./components/Icon/ProgressIcon.js";
38
39
  import { MetaItemLabel as Fe } from "./components/Metadata/MetaItemLabel.js";
@@ -279,7 +280,7 @@ const ze = V((e, o) => {
279
280
  n && /* @__PURE__ */ a(Et, { size: e, children: n }),
280
281
  r,
281
282
  t && /* @__PURE__ */ a(Xe, { size: "xs", children: t })
282
- ] }), pn = "_search_18jfe_1", hn = "_searchInput_18jfe_8", $e = {
283
+ ] }), pn = "_search_18jfe_1", hn = "_searchInput_18jfe_8", Re = {
283
284
  search: pn,
284
285
  searchInput: hn
285
286
  }, at = ({
@@ -299,7 +300,7 @@ const ze = V((e, o) => {
299
300
  onInput: b,
300
301
  onFocus: _,
301
302
  ...N
302
- }) => /* @__PURE__ */ a("li", { className: $e.search, style: e, "data-index": o, "data-menu-search": "true", children: l ? (
303
+ }) => /* @__PURE__ */ a("li", { className: Re.search, style: e, "data-index": o, "data-menu-search": "true", children: l ? (
303
304
  // biome-ignore lint/a11y/useFocusableInteractive: <explanation>
304
305
  // biome-ignore lint/a11y/useAriaPropsForRole: <explanation>
305
306
  // biome-ignore lint/a11y/useSemanticElements: <explanation>
@@ -307,7 +308,7 @@ const ze = V((e, o) => {
307
308
  De,
308
309
  {
309
310
  size: "xs",
310
- className: $e.searchInput,
311
+ className: Re.searchInput,
311
312
  name: n,
312
313
  value: t,
313
314
  placeholder: r,
@@ -333,7 +334,7 @@ const ze = V((e, o) => {
333
334
  De,
334
335
  {
335
336
  size: "xs",
336
- className: $e.searchInput,
337
+ className: Re.searchInput,
337
338
  name: n,
338
339
  value: t,
339
340
  placeholder: r,
@@ -370,25 +371,25 @@ const ze = V((e, o) => {
370
371
  variant: N,
371
372
  scrollRefStyles: v = {},
372
373
  keyboardEvents: E = !1,
373
- onSelect: R = () => {
374
+ onSelect: j = () => {
374
375
  },
375
376
  onActiveItemIdChange: O
376
377
  }) => {
377
378
  if (o && e >= o)
378
379
  return null;
379
- const h = t === "combobox", m = h && b ? `${b}-listbox` : b, M = Z(r), S = Z(r), [A, j] = se(!1), $ = ce(
380
+ const h = t === "combobox", m = h && b ? `${b}-listbox` : b, M = Z(r), S = Z(r), [A, $] = se(!1), R = ce(
380
381
  () => f.map((p, P) => ({
381
382
  ...p,
382
383
  id: p.id || `${b}-item-${P}`
383
384
  })),
384
385
  [f, b]
385
386
  ), D = Z(null), { menu: z, setActiveIndex: g, activeItem: w } = Be({
386
- items: $,
387
+ items: R,
387
388
  groups: i,
388
389
  groupByKey: "groupId",
389
390
  keyboardEvents: E,
390
391
  autoActivateFirstItem: c,
391
- onSelect: R,
392
+ onSelect: j,
392
393
  ref: D
393
394
  });
394
395
  return Q(() => {
@@ -405,7 +406,7 @@ const ze = V((e, o) => {
405
406
  S.current = r, !(!E || l || !u) && r && !p && requestAnimationFrame(() => D.current?.focus?.({ preventScroll: !0 }));
406
407
  }, [r, E, l]), Q(() => {
407
408
  if (h && d) {
408
- g(0), j(!0);
409
+ g(0), $(!0);
409
410
  return;
410
411
  }
411
412
  }, [d, h, g]), /* @__PURE__ */ x(
@@ -426,19 +427,19 @@ const ze = V((e, o) => {
426
427
  combobox: h,
427
428
  listId: m,
428
429
  "aria-activedescendant": h && A ? w?.id : void 0,
429
- onNavigate: h ? () => j(!0) : void 0,
430
+ onNavigate: h ? () => $(!0) : void 0,
430
431
  onChange: (p) => {
431
- j(!1), l.onChange?.(p);
432
+ $(!1), l.onChange?.(p);
432
433
  },
433
434
  onFocus: (p) => {
434
- j(!1), l.onFocus?.(p);
435
+ $(!1), l.onFocus?.(p);
435
436
  },
436
437
  onInput: (p) => {
437
- j(!1), l.onInput?.(p);
438
+ $(!1), l.onInput?.(p);
438
439
  },
439
440
  onKeyDown: (p) => {
440
441
  const P = p.key === "ArrowUp" || p.key === "ArrowDown", F = p.key.length === 1 || p.key === "Backspace" || p.key === "Delete";
441
- h && !P && F && j(!1), l.onKeyDown?.(p);
442
+ h && !P && F && $(!1), l.onKeyDown?.(p);
442
443
  }
443
444
  }
444
445
  ),
@@ -449,7 +450,7 @@ const ze = V((e, o) => {
449
450
  /* @__PURE__ */ a(et, { hidden: G, children: /* @__PURE__ */ x(Ee, { role: "presentation", children: [
450
451
  T && /* @__PURE__ */ a(nt, { title: T, level: e }),
451
452
  p?.items.filter((ee) => !ee.props?.hidden).map((ee, I) => {
452
- const { active: k, onMouseEnter: L } = ee, { groupId: te, ...B } = ee.props || {}, { expanded: ae } = B, de = Array.isArray(B?.items) && B.items.length > 0, Ie = B.role === "checkbox" || B.role === "radio", je = h && !Ie ? "option" : B.role;
453
+ const { active: k, onMouseEnter: L } = ee, { groupId: te, ...B } = ee.props || {}, { expanded: ae } = B, de = Array.isArray(B?.items) && B.items.length > 0, Ie = B.role === "checkbox" || B.role === "radio", $e = h && !Ie ? "option" : B.role;
453
454
  return /* @__PURE__ */ x(
454
455
  Ze,
455
456
  {
@@ -465,7 +466,7 @@ const ze = V((e, o) => {
465
466
  color: B?.color || F?.color || _,
466
467
  variant: B?.variant || F?.variant || N,
467
468
  active: k,
468
- role: je,
469
+ role: $e,
469
470
  selected: B.selected,
470
471
  tabIndex: B?.disabled || E ? -1 : B.tabIndex ?? 0,
471
472
  onMouseEnter: L,
@@ -514,27 +515,27 @@ const ze = V((e, o) => {
514
515
  a11yMode: N = "menu",
515
516
  open: v,
516
517
  scrollToTopOnOpen: E = !1,
517
- autoActivateFirstItem: R = !0,
518
+ autoActivateFirstItem: j = !0,
518
519
  announceNoResults: O = !1,
519
520
  onActiveItemIdChange: h
520
- } = e, m = N === "combobox", M = m && b ? `${b}-listbox` : b, S = Z(v), [A, j] = se(!1), $ = ce(
521
+ } = e, m = N === "combobox", M = m && b ? `${b}-listbox` : b, S = Z(v), [A, $] = se(!1), R = ce(
521
522
  () => c.map((I, k) => ({
522
523
  ...I,
523
524
  id: I.id || `${b}-item-${k}`
524
525
  })),
525
526
  [c, b]
526
527
  ), { menu: D, activeItem: z, setActiveIndex: g, activeIndex: w } = Be({
527
- items: $,
528
+ items: R,
528
529
  groups: u,
529
530
  groupByKey: "groupId",
530
531
  keyboardEvents: i,
531
- autoActivateFirstItem: R,
532
+ autoActivateFirstItem: j,
532
533
  ref: o
533
534
  }), { flatMenu: p, virtualizer: P, scrollMaxHeight: F } = zt({
534
535
  menu: D,
535
536
  scrollRef: o
536
537
  });
537
- Re(() => {
538
+ je(() => {
538
539
  const I = n.current;
539
540
  if (!I) return;
540
541
  const k = Math.round(I.offsetTop);
@@ -551,15 +552,15 @@ const ze = V((e, o) => {
551
552
  return L;
552
553
  return -1;
553
554
  }, [z?.id, w, p]), G = Z(null);
554
- Re(() => {
555
+ je(() => {
555
556
  const I = G?.current, k = typeof I == "number" ? T <= I : !1;
556
557
  G.current = T;
557
558
  const L = k ? T : T + 2;
558
559
  if (!k) {
559
560
  const de = P.getOffsetForIndex(L, "auto");
560
561
  if (!de) return;
561
- const [Ie, je] = de;
562
- if (je === "auto") return;
562
+ const [Ie, $e] = de;
563
+ if ($e === "auto") return;
563
564
  P.scrollToOffset(Ie + t + 10, { align: "start" });
564
565
  return;
565
566
  }
@@ -583,7 +584,7 @@ const ze = V((e, o) => {
583
584
  h?.(z?.id);
584
585
  }, [z?.id, h]), Q(() => {
585
586
  if (m && O) {
586
- g(0), j(!0);
587
+ g(0), $(!0);
587
588
  return;
588
589
  }
589
590
  }, [O, m, g]), Q(() => {
@@ -621,19 +622,19 @@ const ze = V((e, o) => {
621
622
  combobox: m,
622
623
  listId: M,
623
624
  "aria-activedescendant": m && A ? z?.id : void 0,
624
- onNavigate: m ? () => j(!0) : void 0,
625
+ onNavigate: m ? () => $(!0) : void 0,
625
626
  onChange: (I) => {
626
- j(!1), s.onChange?.(I);
627
+ $(!1), s.onChange?.(I);
627
628
  },
628
629
  onFocus: (I) => {
629
- j(!1), s.onFocus?.(I);
630
+ $(!1), s.onFocus?.(I);
630
631
  },
631
632
  onInput: (I) => {
632
- j(!1), s.onInput?.(I);
633
+ $(!1), s.onInput?.(I);
633
634
  },
634
635
  onKeyDown: (I) => {
635
636
  const k = I.key === "ArrowUp" || I.key === "ArrowDown", L = I.key.length === 1 || I.key === "Backspace" || I.key === "Delete";
636
- m && !k && L && j(!1), s.onKeyDown?.(I);
637
+ m && !k && L && $(!1), s.onKeyDown?.(I);
637
638
  }
638
639
  }
639
640
  ),
@@ -717,7 +718,7 @@ const ze = V((e, o) => {
717
718
  console.warn("setPreviousId called outside of RootProvider context");
718
719
  },
719
720
  languageCode: "nb"
720
- }, lt = bt(bn), Fo = ({ children: e, initialValue: o, debug: n, languageCode: t }) => {
721
+ }, lt = bt(bn), To = ({ children: e, initialValue: o, debug: n, languageCode: t }) => {
721
722
  const [r, s] = se(o?.currentId || ""), [c, u] = se(o?.previousId || "");
722
723
  return /* @__PURE__ */ a(
723
724
  lt.Provider,
@@ -815,7 +816,7 @@ const ze = V((e, o) => {
815
816
  clearButtonAltText: r
816
817
  }),
817
818
  [e, d.placeholder, o, l, i, y, r]
818
- ), R = H.useMemo(
819
+ ), j = H.useMemo(
819
820
  () => s.map((w) => {
820
821
  const p = w?.searchWords?.length ? w.searchWords : [w?.title, w?.description].filter(Boolean);
821
822
  return {
@@ -831,7 +832,7 @@ const ze = V((e, o) => {
831
832
  "aria-disabled": !0,
832
833
  title: d.noResults,
833
834
  groupId: "emptySearch",
834
- icon: jt,
835
+ icon: $t,
835
836
  size: "sm",
836
837
  as: "div"
837
838
  }
@@ -843,14 +844,14 @@ const ze = V((e, o) => {
843
844
  }, [s, O]), { selectedItems: m, results: M } = H.useMemo(() => {
844
845
  if (!_) return { selectedItems: [], results: [] };
845
846
  const w = [], p = [];
846
- for (const P of R)
847
+ for (const P of j)
847
848
  P.checked === !0 && w.push({ ...P, groupId: "selected" }), (P.searchWords ?? []).some((G) => String(G).toLowerCase().includes(N)) && p.push({
848
849
  ...P,
849
850
  groupId: "search",
850
851
  highlightWords: v
851
852
  });
852
853
  return { selectedItems: w, results: p };
853
- }, [_, R, N, v]), S = M.length, A = m.length, j = H.useMemo(
854
+ }, [_, j, N, v]), S = M.length, A = m.length, $ = H.useMemo(
854
855
  () => ({
855
856
  search: {
856
857
  hidden: !0,
@@ -867,9 +868,9 @@ const ze = V((e, o) => {
867
868
  ...c
868
869
  }),
869
870
  [d, S, A, c]
870
- ), $ = H.useMemo(
871
+ ), R = H.useMemo(
871
872
  () => ({
872
- ...j,
873
+ ...$,
873
874
  search: {
874
875
  hidden: !_,
875
876
  title: d.hits(S)
@@ -883,7 +884,7 @@ const ze = V((e, o) => {
883
884
  title: d.noResults
884
885
  }
885
886
  }),
886
- [j, _, d, S, A]
887
+ [$, _, d, S, A]
887
888
  ), D = H.useMemo(() => _ ? _n([...M, ...m]) : [], [_, M, m]), z = H.useMemo(() => [...h || [], ...m || []], [h, m]), g = H.useMemo(() => _ ? S ? D : z : s, [_, s, S, D, z]);
888
889
  return {
889
890
  search: E,
@@ -891,7 +892,7 @@ const ze = V((e, o) => {
891
892
  resultCount: S,
892
893
  hasQuery: _,
893
894
  items: g,
894
- groups: $
895
+ groups: R
895
896
  };
896
897
  }, it = ({
897
898
  searchable: e,
@@ -912,12 +913,12 @@ const ze = V((e, o) => {
912
913
  autoFocusList: N,
913
914
  id: v
914
915
  }) => {
915
- const E = wn({ ...o, items: n, groups: t }), R = e ? E.search : o, O = e && E.hasQuery && E.resultCount === 0, h = e ? E.items : n, m = e ? { ...t, ...E.groups } : t, M = y !== "combobox";
916
+ const E = wn({ ...o, items: n, groups: t }), j = e ? E.search : o, O = e && E.hasQuery && E.resultCount === 0, h = e ? E.items : n, m = e ? { ...t, ...E.groups } : t, M = y !== "combobox";
916
917
  return d ? /* @__PURE__ */ a(
917
918
  vn,
918
919
  {
919
920
  id: v,
920
- search: R,
921
+ search: j,
921
922
  announceNoResults: O,
922
923
  items: h,
923
924
  groups: m,
@@ -938,7 +939,7 @@ const ze = V((e, o) => {
938
939
  st,
939
940
  {
940
941
  id: v,
941
- search: R,
942
+ search: j,
942
943
  announceNoResults: O,
943
944
  items: h,
944
945
  groups: m,
@@ -1034,10 +1035,10 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1034
1035
  children: t
1035
1036
  }
1036
1037
  )
1037
- ] }) }), zn = ({ className: e, onClick: o, checked: n, onChange: t, ...r }) => /* @__PURE__ */ a(pe, { className: e, size: "xs", variant: "ghost", icon: !0, rounded: !0, onClick: o, children: /* @__PURE__ */ a(Je, { ...r, type: "checkbox", size: "xs", checked: n, onChange: t }) }), jn = "_item_h7sxa_3", $n = "_media_h7sxa_136", Rn = "_label_h7sxa_157", Mn = "_title_h7sxa_172", An = "_description_h7sxa_176", Dn = "_count_h7sxa_188", Bn = "_linkIcon_h7sxa_196", q = {
1038
- item: jn,
1039
- media: $n,
1040
- label: Rn,
1038
+ ] }) }), zn = ({ className: e, onClick: o, checked: n, onChange: t, ...r }) => /* @__PURE__ */ a(pe, { className: e, size: "xs", variant: "ghost", icon: !0, rounded: !0, onClick: o, children: /* @__PURE__ */ a(Je, { ...r, type: "checkbox", size: "xs", checked: n, onChange: t }) }), $n = "_item_h7sxa_3", Rn = "_media_h7sxa_136", jn = "_label_h7sxa_157", Mn = "_title_h7sxa_172", An = "_description_h7sxa_176", Dn = "_count_h7sxa_188", Bn = "_linkIcon_h7sxa_196", q = {
1039
+ item: $n,
1040
+ media: Rn,
1041
+ label: jn,
1041
1042
  title: Mn,
1042
1043
  description: An,
1043
1044
  count: Dn,
@@ -1061,15 +1062,15 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1061
1062
  icon: N,
1062
1063
  label: v,
1063
1064
  badge: E,
1064
- controls: R,
1065
+ controls: j,
1065
1066
  title: O,
1066
1067
  description: h,
1067
1068
  highlightWords: m,
1068
1069
  count: M,
1069
1070
  linkIcon: S = !1,
1070
1071
  disabled: A,
1071
- selected: j,
1072
- active: $,
1072
+ selected: $,
1073
+ active: R,
1073
1074
  tabIndex: D = 0,
1074
1075
  className: z,
1075
1076
  "data-testid": g,
@@ -1089,7 +1090,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1089
1090
  "data-size": l,
1090
1091
  "data-variant": f,
1091
1092
  "data-color": i,
1092
- "data-active": $,
1093
+ "data-active": R,
1093
1094
  role: n,
1094
1095
  "aria-disabled": A,
1095
1096
  "aria-checked": _,
@@ -1143,7 +1144,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1143
1144
  ),
1144
1145
  /* @__PURE__ */ x(Ae, { children: [
1145
1146
  E && /* @__PURE__ */ a(ye, { ...E }),
1146
- !A && R
1147
+ !A && j
1147
1148
  ] })
1148
1149
  ]
1149
1150
  }
@@ -1161,11 +1162,11 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1161
1162
  "data-size": l,
1162
1163
  "data-variant": f,
1163
1164
  "data-color": i,
1164
- "data-active": $,
1165
+ "data-active": R,
1165
1166
  "aria-disabled": A,
1166
1167
  ...A ? { disabled: A } : {},
1167
- "aria-selected": j,
1168
- "data-selected": j,
1168
+ "aria-selected": $,
1169
+ "data-selected": $,
1169
1170
  "aria-label": O,
1170
1171
  "data-testid": g,
1171
1172
  onKeyUp: (G) => {
@@ -1202,7 +1203,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1202
1203
  ),
1203
1204
  /* @__PURE__ */ x(Ae, { children: [
1204
1205
  E && /* @__PURE__ */ a(ye, { ...E }),
1205
- !A && R,
1206
+ !A && j,
1206
1207
  S && /* @__PURE__ */ a(X, { svgElement: T, className: q.linkIcon })
1207
1208
  ] })
1208
1209
  ]
@@ -1232,7 +1233,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1232
1233
  minLength: i,
1233
1234
  ...y
1234
1235
  }) => {
1235
- const b = Oe(), [_, N] = se(!1), v = y.id || `search-field-${b}`, E = `${v}-listbox`, [R, O] = se(void 0), h = "searchfield-clear-button-" + Oe(), m = ce(() => !f || !u || typeof i == "number" && typeof u == "string" && u.length < i ? !1 : _, [f, _, i, u]), M = ce(() => (f?.items ?? []).map((g) => ({
1236
+ const b = Oe(), [_, N] = se(!1), v = y.id || `search-field-${b}`, E = `${v}-listbox`, [j, O] = se(void 0), h = "searchfield-clear-button-" + Oe(), m = ce(() => !f || !u || typeof i == "number" && typeof u == "string" && u.length < i ? !1 : _, [f, _, i, u]), M = ce(() => (f?.items ?? []).map((g) => ({
1236
1237
  ...g,
1237
1238
  onClick: () => {
1238
1239
  g.onClick?.(), N(!1);
@@ -1249,11 +1250,11 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1249
1250
  y.onKeyDown?.(g), N(!0);
1250
1251
  }, A = () => {
1251
1252
  N(!0);
1252
- }, j = (g) => {
1253
+ }, $ = (g) => {
1253
1254
  if (!_) return;
1254
1255
  const w = g.relatedTarget;
1255
1256
  w && g.currentTarget.contains(w) || N(!1);
1256
- }, $ = (g) => {
1257
+ }, R = (g) => {
1257
1258
  g.preventDefault();
1258
1259
  }, D = (g) => {
1259
1260
  g.relatedTarget?.id === h && O(void 0), y.onBlur?.(g);
@@ -1265,7 +1266,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1265
1266
  label: c,
1266
1267
  className: K(ne.field, e),
1267
1268
  "data-collapsible": o,
1268
- onBlurCapture: j,
1269
+ onBlurCapture: $,
1269
1270
  children: [
1270
1271
  /* @__PURE__ */ a("span", { className: ne.hiddenInput, "aria-hidden": "true", children: u + " " }),
1271
1272
  /* @__PURE__ */ a(
@@ -1289,7 +1290,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1289
1290
  "aria-expanded": !!m,
1290
1291
  "aria-haspopup": "listbox",
1291
1292
  "aria-controls": E,
1292
- "aria-activedescendant": m ? R : void 0,
1293
+ "aria-activedescendant": m ? j : void 0,
1293
1294
  onFocus: A
1294
1295
  }
1295
1296
  }
@@ -1318,7 +1319,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1318
1319
  );
1319
1320
  return f ? /* @__PURE__ */ x("div", { className: ne.fieldContainer, children: [
1320
1321
  z,
1321
- m && /* @__PURE__ */ a("div", { className: ne.autocomplete, "aria-hidden": !m, onMouseDown: $, children: /* @__PURE__ */ a(
1322
+ m && /* @__PURE__ */ a("div", { className: ne.autocomplete, "aria-hidden": !m, onMouseDown: R, children: /* @__PURE__ */ a(
1322
1323
  it,
1323
1324
  {
1324
1325
  ...f,
@@ -1397,7 +1398,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1397
1398
  useFixedPosition: v = !1,
1398
1399
  expanded: E = !1
1399
1400
  }) => {
1400
- const R = Z(null), O = Z(null), h = Z(i);
1401
+ const j = Z(null), O = Z(null), h = Z(i);
1401
1402
  Q(() => {
1402
1403
  h.current = i;
1403
1404
  }, [i]);
@@ -1406,22 +1407,22 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1406
1407
  xDir: r.includes("right") ? "right" : "left",
1407
1408
  maxHeight: 300
1408
1409
  }), S = Qe(() => {
1409
- if (i && R.current && O.current) {
1410
- const $ = R.current.getBoundingClientRect(), D = O.current.getBoundingClientRect(), z = window.innerHeight, g = window.innerWidth, w = 16, p = z - $.bottom, P = $.top, F = g - $.right - D.width, T = p < 250 && P > p, G = T ? "top" : "bottom", U = (T ? P : p) - w, I = F < w ? "right" : "left";
1410
+ if (i && j.current && O.current) {
1411
+ const R = j.current.getBoundingClientRect(), D = O.current.getBoundingClientRect(), z = window.innerHeight, g = window.innerWidth, w = 16, p = z - R.bottom, P = R.top, F = g - R.right - D.width, T = p < 250 && P > p, G = T ? "top" : "bottom", U = (T ? P : p) - w, I = F < w ? "right" : "left";
1411
1412
  M((k) => ({
1412
1413
  ...k,
1413
1414
  yDir: G,
1414
1415
  maxHeight: U,
1415
1416
  xDir: I,
1416
- triggerRect: v ? $ : void 0
1417
+ triggerRect: v ? R : void 0
1417
1418
  }));
1418
1419
  }
1419
1420
  }, [i, v]);
1420
- Re(() => (S(), window.addEventListener("resize", S), v && window.addEventListener("scroll", S, !0), () => {
1421
+ je(() => (S(), window.addEventListener("resize", S), v && window.addEventListener("scroll", S, !0), () => {
1421
1422
  window.removeEventListener("resize", S), v && window.removeEventListener("scroll", S, !0);
1422
1423
  }), [S, v]), Q(() => {
1423
1424
  if (!i) return;
1424
- const $ = requestAnimationFrame(() => {
1425
+ const R = requestAnimationFrame(() => {
1425
1426
  const D = O.current;
1426
1427
  if (!D) return;
1427
1428
  const z = D.querySelector(
@@ -1438,31 +1439,31 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1438
1439
  }
1439
1440
  D.focus?.({ preventScroll: !0 });
1440
1441
  });
1441
- return () => cancelAnimationFrame($);
1442
+ return () => cancelAnimationFrame(R);
1442
1443
  }, [i]), Q(() => {
1443
- const $ = (z) => {
1444
+ const R = (z) => {
1444
1445
  z.key === "Escape" && y();
1445
1446
  }, D = (z) => {
1446
- const g = z.target, w = R.current?.contains(g), p = O.current?.contains(g);
1447
+ const g = z.target, w = j.current?.contains(g), p = O.current?.contains(g);
1447
1448
  !w && !p && y();
1448
1449
  };
1449
- return i && (document.addEventListener("mousedown", D), document.addEventListener("keydown", $)), () => {
1450
- document.removeEventListener("mousedown", D), document.removeEventListener("keydown", $);
1450
+ return i && (document.addEventListener("mousedown", D), document.addEventListener("keydown", R)), () => {
1451
+ document.removeEventListener("mousedown", D), document.removeEventListener("keydown", R);
1451
1452
  };
1452
1453
  }, [i, y]), Q(() => {
1453
1454
  if (!i) return;
1454
- const $ = O.current;
1455
- if (!$) return;
1455
+ const R = O.current;
1456
+ if (!R) return;
1456
1457
  const D = (g) => {
1457
1458
  if (!h.current)
1458
1459
  return;
1459
1460
  const w = g.target;
1460
- w && !$.contains(w) && ar($);
1461
+ w && !R.contains(w) && ar(R);
1461
1462
  }, z = (g) => {
1462
1463
  if (g.key !== "Tab") return;
1463
- const w = dt($);
1464
+ const w = dt(R);
1464
1465
  if (w.length === 0) {
1465
- g.preventDefault(), $.focus?.({ preventScroll: !0 });
1466
+ g.preventDefault(), R.focus?.({ preventScroll: !0 });
1466
1467
  return;
1467
1468
  }
1468
1469
  const p = w[0], P = w[w.length - 1], F = document.activeElement;
@@ -1488,7 +1489,7 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1488
1489
  overflowY: "auto",
1489
1490
  [m.xDir]: 0,
1490
1491
  [m.yDir === "bottom" ? "top" : "bottom"]: "100%"
1491
- }, j = /* @__PURE__ */ x(
1492
+ }, $ = /* @__PURE__ */ x(
1492
1493
  "div",
1493
1494
  {
1494
1495
  ref: O,
@@ -1515,9 +1516,9 @@ const Ke = ({ className: e, loading: o, icon: n, children: t }) => {
1515
1516
  );
1516
1517
  return /* @__PURE__ */ x(fe, { children: [
1517
1518
  t && /* @__PURE__ */ a("div", { className: ue.backdrop, "aria-hidden": !i }),
1518
- /* @__PURE__ */ x("div", { id: e + "-root", ref: R, style: { position: "relative", display: "inline-block" }, children: [
1519
+ /* @__PURE__ */ x("div", { id: e + "-root", ref: j, style: { position: "relative", display: "inline-block" }, children: [
1519
1520
  l,
1520
- v ? _t(j, document.body) : j
1521
+ v ? _t($, document.body) : $
1521
1522
  ] })
1522
1523
  ] });
1523
1524
  }, lr = we(({ items: e, groups: o = {}, sortGroupBy: n, highlightWords: t, isLoading: r }) => {
@@ -1545,7 +1546,7 @@ const ut = we(({ title: e, description: o, children: n }) => /* @__PURE__ */ x(h
1545
1546
  /* @__PURE__ */ a(Vr, { spacing: 3, children: n })
1546
1547
  ] }));
1547
1548
  ut.displayName = "DialogListGroup";
1548
- const ir = "_item_e034j_3", cr = "_border_e034j_58", dr = "_header_e034j_69", ur = "_summary_e034j_85", mr = "_controls_e034j_99", fr = "_footer_e034j_106", pr = "_seenBy_e034j_111", hr = "_link_e034j_121", vr = "_title_e034j_126", br = "_badge_e034j_140", Y = {
1549
+ const ir = "_item_1uioh_3", cr = "_border_1uioh_68", dr = "_header_1uioh_79", ur = "_summary_1uioh_95", mr = "_controls_1uioh_109", fr = "_footer_1uioh_116", pr = "_seenBy_1uioh_121", hr = "_link_1uioh_131", vr = "_title_1uioh_136", br = "_badge_1uioh_150", Y = {
1549
1550
  item: ir,
1550
1551
  border: cr,
1551
1552
  header: dr,
@@ -1576,15 +1577,15 @@ const ir = "_item_e034j_3", cr = "_border_e034j_58", dr = "_header_e034j_69", ur
1576
1577
  updatedAtLabel: N,
1577
1578
  archived: v,
1578
1579
  archivedAt: E,
1579
- archivedAtLabel: R,
1580
+ archivedAtLabel: j,
1580
1581
  trashed: O,
1581
1582
  trashedAt: h,
1582
1583
  trashedAtLabel: m,
1583
1584
  badge: M,
1584
1585
  dueAt: S,
1585
1586
  dueAtLabel: A,
1586
- unread: j,
1587
- seenByLog: $,
1587
+ unread: $,
1588
+ seenByLog: R,
1588
1589
  draftsLabel: D,
1589
1590
  sentCount: z,
1590
1591
  receivedCount: g,
@@ -1608,7 +1609,7 @@ const ir = "_item_e034j_3", cr = "_border_e034j_58", dr = "_header_e034j_69", ur
1608
1609
  size: o,
1609
1610
  color: t,
1610
1611
  variant: k,
1611
- "data-unread": j ? "true" : "false",
1612
+ "data-unread": $ ? "true" : "false",
1612
1613
  "data-selected": u,
1613
1614
  "data-trashed": O,
1614
1615
  "data-archived": v,
@@ -1621,7 +1622,7 @@ const ir = "_item_e034j_3", cr = "_border_e034j_58", dr = "_header_e034j_69", ur
1621
1622
  {
1622
1623
  as: "h2",
1623
1624
  highlightWords: U,
1624
- weight: j ? "bold" : "normal",
1625
+ weight: $ ? "bold" : "normal",
1625
1626
  loading: r,
1626
1627
  maxRows: 2,
1627
1628
  className: Y.title,
@@ -1668,7 +1669,7 @@ const ir = "_item_e034j_3", cr = "_border_e034j_58", dr = "_header_e034j_69", ur
1668
1669
  updatedAt: _,
1669
1670
  updatedAtLabel: N,
1670
1671
  archivedAt: E,
1671
- archivedAtLabel: R,
1672
+ archivedAtLabel: j,
1672
1673
  trashedAt: h,
1673
1674
  trashedAtLabel: m,
1674
1675
  dueAt: S,
@@ -1678,7 +1679,7 @@ const ir = "_item_e034j_3", cr = "_border_e034j_58", dr = "_header_e034j_69", ur
1678
1679
  tooltips: P
1679
1680
  }
1680
1681
  ),
1681
- $ && P?.seenBy ? /* @__PURE__ */ a(Ot, { placement: "bottom", content: P?.seenBy, children: /* @__PURE__ */ a("span", { className: Y.seenBy, children: /* @__PURE__ */ a(he, { items: $.items }) }) }) : $ && /* @__PURE__ */ a(he, { items: $.items, className: Y.seenBy })
1682
+ R && P?.seenBy ? /* @__PURE__ */ a(Ot, { placement: "bottom", content: P?.seenBy, children: /* @__PURE__ */ a("span", { className: Y.seenBy, children: /* @__PURE__ */ a(he, { items: R.items }) }) }) : R && /* @__PURE__ */ a(he, { items: R.items, className: Y.seenBy })
1682
1683
  ] }) }),
1683
1684
  /* @__PURE__ */ a(Ae, { className: Y.controls, children: s })
1684
1685
  ]
@@ -1706,7 +1707,7 @@ const gr = ({
1706
1707
  attachmentsCount: N = 0,
1707
1708
  attachmentsLabel: v,
1708
1709
  transmissionsLabel: E,
1709
- activityLog: R,
1710
+ activityLog: j,
1710
1711
  extendedStatusLabel: O,
1711
1712
  tooltips: h = {}
1712
1713
  }) => /* @__PURE__ */ x(Nt, { className: e, size: "xs", children: [
@@ -1719,8 +1720,8 @@ const gr = ({
1719
1720
  /* @__PURE__ */ a("strong", { children: t && t.name + ", " }),
1720
1721
  s
1721
1722
  ] }),
1722
- c && u && /* @__PURE__ */ a(xe, { tooltip: h.dueAt, loading: o, datetime: c, size: "xs", icon: $t, children: u }),
1723
- N > 0 && /* @__PURE__ */ a(J, { tooltip: h.attachments, loading: o, size: "xs", icon: Rt, children: v || N }),
1723
+ c && u && /* @__PURE__ */ a(xe, { tooltip: h.dueAt, loading: o, datetime: c, size: "xs", icon: Rt, children: u }),
1724
+ N > 0 && /* @__PURE__ */ a(J, { tooltip: h.attachments, loading: o, size: "xs", icon: jt, children: v || N }),
1724
1725
  E && /* @__PURE__ */ a(J, { tooltip: h.transmissions, loading: o, size: "xs", icon: en, children: E }),
1725
1726
  f && i && /* @__PURE__ */ a(xe, { tooltip: h.trashedAt, loading: o, datetime: f, size: "xs", icon: Mt, children: i }) || d && l && /* @__PURE__ */ a(
1726
1727
  xe,
@@ -1733,16 +1734,16 @@ const gr = ({
1733
1734
  children: l
1734
1735
  }
1735
1736
  ),
1736
- R && /* @__PURE__ */ a(
1737
+ j && /* @__PURE__ */ a(
1737
1738
  J,
1738
1739
  {
1739
1740
  tooltip: h.activityLog,
1740
1741
  loading: o,
1741
1742
  size: "xs",
1742
1743
  icon: Jt,
1743
- as: R?.onClick ? "button" : "span",
1744
- onClick: R?.onClick,
1745
- children: R?.label || "Activity log"
1744
+ as: j?.onClick ? "button" : "span",
1745
+ onClick: j?.onClick,
1746
+ children: j?.label || "Activity log"
1746
1747
  }
1747
1748
  )
1748
1749
  ] }), yr = ({
@@ -1814,15 +1815,15 @@ const Nr = ({ loading: e, size: o = "xs", value: n = "not-applicable", label: t,
1814
1815
  default:
1815
1816
  return null;
1816
1817
  }
1817
- }, kr = "_header_29hv7_1", Cr = "_label_29hv7_27", Er = "_link_29hv7_43", Pr = "_badge_29hv7_47", Sr = "_linkIcon_29hv7_51", zr = "_linkFocus_29hv7_61", jr = "_controls_29hv7_69", re = {
1818
+ }, kr = "_header_29hv7_1", Cr = "_label_29hv7_27", Er = "_link_29hv7_43", Pr = "_badge_29hv7_47", Sr = "_linkIcon_29hv7_51", zr = "_linkFocus_29hv7_61", $r = "_controls_29hv7_69", re = {
1818
1819
  header: kr,
1819
1820
  label: Cr,
1820
1821
  link: Er,
1821
1822
  badge: Pr,
1822
1823
  linkIcon: Sr,
1823
1824
  linkFocus: zr,
1824
- controls: jr
1825
- }, $r = ({
1825
+ controls: $r
1826
+ }, Rr = ({
1826
1827
  as: e,
1827
1828
  highlightWords: o,
1828
1829
  interactive: n = !0,
@@ -1841,7 +1842,7 @@ const Nr = ({ loading: e, size: o = "xs", value: n = "not-applicable", label: t,
1841
1842
  title: N,
1842
1843
  description: v,
1843
1844
  icon: E,
1844
- active: R,
1845
+ active: j,
1845
1846
  badge: O,
1846
1847
  controls: h,
1847
1848
  className: m,
@@ -1849,7 +1850,7 @@ const Nr = ({ loading: e, size: o = "xs", value: n = "not-applicable", label: t,
1849
1850
  ariaLabel: S,
1850
1851
  ariaControlsId: A
1851
1852
  }) => {
1852
- const j = c ? d ? Yt : Ut : u ? ot : void 0, $ = () => O && !r && typeof O == "object" && "label" in O ? /* @__PURE__ */ a(ye, { ...O, className: re.badge }) : _e(O) ? O : null, D = S !== void 0 ? S : typeof N == "string" ? N : void 0, z = Oe();
1853
+ const $ = c ? d ? Yt : Ut : u ? ot : void 0, R = () => O && !r && typeof O == "object" && "label" in O ? /* @__PURE__ */ a(ye, { ...O, className: re.badge }) : _e(O) ? O : null, D = S !== void 0 ? S : typeof N == "string" ? N : void 0, z = Oe();
1853
1854
  return /* @__PURE__ */ x(
1854
1855
  "div",
1855
1856
  {
@@ -1857,7 +1858,7 @@ const Nr = ({ loading: e, size: o = "xs", value: n = "not-applicable", label: t,
1857
1858
  "data-color": t,
1858
1859
  "data-interactive": n,
1859
1860
  "data-size": _,
1860
- "data-has-active-child": R,
1861
+ "data-has-active-child": j,
1861
1862
  "aria-disabled": s,
1862
1863
  children: [
1863
1864
  /* @__PURE__ */ x(
@@ -1870,7 +1871,7 @@ const Nr = ({ loading: e, size: o = "xs", value: n = "not-applicable", label: t,
1870
1871
  tabIndex: b,
1871
1872
  loading: r,
1872
1873
  disabled: s || r,
1873
- active: R,
1874
+ active: j,
1874
1875
  ariaLabel: D,
1875
1876
  className: re.link,
1876
1877
  expanded: d,
@@ -1898,11 +1899,11 @@ const Nr = ({ loading: e, size: o = "xs", value: n = "not-applicable", label: t,
1898
1899
  ),
1899
1900
  /* @__PURE__ */ x(Tt, { className: re.controls, children: [
1900
1901
  h && !r && /* @__PURE__ */ a("span", { className: re.customControls, children: h }),
1901
- $(),
1902
- j && !s && /* @__PURE__ */ a("span", { className: re.linkIcon, children: /* @__PURE__ */ a(
1902
+ R(),
1903
+ $ && !s && /* @__PURE__ */ a("span", { className: re.linkIcon, children: /* @__PURE__ */ a(
1903
1904
  X,
1904
1905
  {
1905
- svgElement: j,
1906
+ svgElement: $,
1906
1907
  style: {
1907
1908
  fontSize: "1.5rem"
1908
1909
  }
@@ -1912,8 +1913,8 @@ const Nr = ({ loading: e, size: o = "xs", value: n = "not-applicable", label: t,
1912
1913
  ]
1913
1914
  }
1914
1915
  );
1915
- }, Rr = "_label_1tmg6_1", Ve = {
1916
- label: Rr
1916
+ }, jr = "_label_1tmg6_1", Ve = {
1917
+ label: jr
1917
1918
  }, ft = (e) => typeof e == "object" && e !== null && "children" in e;
1918
1919
  function pt(e) {
1919
1920
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || _e(e);
@@ -1994,14 +1995,14 @@ const Tr = ({ loading: e, size: o, icon: n, theme: t, badge: r }) => n ? e ? /*
1994
1995
  linkIcon: N = !1,
1995
1996
  select: v,
1996
1997
  selected: E,
1997
- controls: R,
1998
+ controls: j,
1998
1999
  children: O,
1999
2000
  interactive: h,
2000
2001
  id: m,
2001
2002
  containerAs: M,
2002
2003
  ...S
2003
2004
  }) => {
2004
- const A = typeof i == "function" ? i() : i, j = Oe();
2005
+ const A = typeof i == "function" ? i() : i, $ = Oe();
2005
2006
  return /* @__PURE__ */ x(
2006
2007
  Lt,
2007
2008
  {
@@ -2020,7 +2021,7 @@ const Tr = ({ loading: e, size: o, icon: n, theme: t, badge: r }) => n ? e ? /*
2020
2021
  as: M,
2021
2022
  children: [
2022
2023
  /* @__PURE__ */ a(
2023
- $r,
2024
+ Rr,
2024
2025
  {
2025
2026
  color: o,
2026
2027
  loading: s,
@@ -2034,14 +2035,14 @@ const Tr = ({ loading: e, size: o, icon: n, theme: t, badge: r }) => n ? e ? /*
2034
2035
  description: b,
2035
2036
  icon: f,
2036
2037
  badge: _,
2037
- controls: R,
2038
+ controls: j,
2038
2039
  interactive: h,
2039
- ariaControlsId: d ? j : void 0,
2040
+ ariaControlsId: d ? $ : void 0,
2040
2041
  ...S,
2041
2042
  children: A
2042
2043
  }
2043
2044
  ),
2044
- d ? /* @__PURE__ */ a("div", { id: j, children: O }) : null
2045
+ d ? /* @__PURE__ */ a("div", { id: $, children: O }) : null
2045
2046
  ]
2046
2047
  }
2047
2048
  );
@@ -2051,7 +2052,7 @@ const Tr = ({ loading: e, size: o, icon: n, theme: t, badge: r }) => n ? e ? /*
2051
2052
  menu: Wr,
2052
2053
  button: Yr,
2053
2054
  label: Qr
2054
- }, To = we(
2055
+ }, Go = we(
2055
2056
  ({
2056
2057
  disabled: e,
2057
2058
  label: o = "Label",
@@ -2119,7 +2120,7 @@ const Tr = ({ loading: e, size: o, icon: n, theme: t, badge: r }) => n ? e ? /*
2119
2120
  }
2120
2121
  ) });
2121
2122
  }
2122
- ), Go = we(
2123
+ ), Ho = we(
2123
2124
  ({
2124
2125
  value: e,
2125
2126
  name: o,
@@ -2188,13 +2189,13 @@ export {
2188
2189
  X as I,
2189
2190
  Yt as J,
2190
2191
  Ut as K,
2191
- $r as L,
2192
+ Rr as L,
2192
2193
  it as M,
2193
2194
  ot as N,
2194
2195
  wn as O,
2195
- Fo as R,
2196
+ To as R,
2196
2197
  ht as S,
2197
- Go as T,
2198
+ Ho as T,
2198
2199
  vn as V,
2199
2200
  ut as a,
2200
2201
  mt as b,
@@ -2220,6 +2221,6 @@ export {
2220
2221
  Ue as v,
2221
2222
  xe as w,
2222
2223
  gn as x,
2223
- To as y,
2224
+ Go as y,
2224
2225
  De as z
2225
2226
  };