@altinn/altinn-components 0.63.6 → 0.63.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/README.md +0 -1
  2. package/dist/{HeartFill-CYSrJ_xK.js → HeartFill-CbQmSZr5.js} +2 -2
  3. package/dist/{Paperclip-DjN7qVfQ.js → Paperclip-DhP0Uo69.js} +2 -2
  4. package/dist/{ToolbarSearch-75dn6Vnh.js → ToolbarSearch-DXJIRXFI.js} +180 -168
  5. package/dist/{Trash-B4TuJwxR.js → Trash-C8XKwDQS.js} +5 -5
  6. package/dist/assets/ToolbarSearch.css +1 -1
  7. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +2 -2
  8. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +2 -2
  9. package/dist/components/Account/AccountList.js +2 -2
  10. package/dist/components/Account/AccountListItem.js +2 -2
  11. package/dist/components/Account/AccountListItemControls.js +3 -3
  12. package/dist/components/Account/AccountListItemDetails.js +2 -2
  13. package/dist/components/Account/AccountListVirtual.js +3 -3
  14. package/dist/components/Account/AccountMenu.js +2 -2
  15. package/dist/components/Account/AccountNotificationSettings.js +2 -2
  16. package/dist/components/Account/AccountOrganization.js +2 -2
  17. package/dist/components/AccountSelector/AccountSelector.js +6 -6
  18. package/dist/components/ActivityLog/ActivityLog.js +2 -2
  19. package/dist/components/ActivityLog/ActivityLogItem.js +2 -2
  20. package/dist/components/ActivityLog/ActivityLogSegment.js +2 -2
  21. package/dist/components/Alert/Alert.js +2 -2
  22. package/dist/components/Article/Article.js +2 -2
  23. package/dist/components/Article/ArticleContact.js +2 -2
  24. package/dist/components/Article/ArticleHeader.js +2 -2
  25. package/dist/components/Attachment/AttachmentLink.js +1 -1
  26. package/dist/components/Badge/Badge.js +2 -2
  27. package/dist/components/Badge/index.js +1 -1
  28. package/dist/components/Banner/Banner.js +3 -3
  29. package/dist/components/Bookmarks/BookmarkModal.js +4 -4
  30. package/dist/components/Bookmarks/BookmarkSettingsItem.js +4 -4
  31. package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +2 -2
  32. package/dist/components/Bookmarks/BookmarkSettingsList.js +2 -2
  33. package/dist/components/Breadcrumbs/Breadcrumbs.js +2 -2
  34. package/dist/components/Bulk/BulkHeader.js +2 -2
  35. package/dist/components/Button/Button.js +1 -1
  36. package/dist/components/Button/ButtonIcon.js +5 -5
  37. package/dist/components/Button/ComboButton.js +2 -2
  38. package/dist/components/Button/FloatingActionButton.js +3 -3
  39. package/dist/components/Button/IconButton.js +2 -2
  40. package/dist/components/Byline/Byline.js +2 -2
  41. package/dist/components/Byline/index.js +1 -1
  42. package/dist/components/ContextMenu/ContextMenu.js +8 -8
  43. package/dist/components/Dashboard/DashboardCard.js +4 -4
  44. package/dist/components/Dashboard/DashboardHeader.js +2 -2
  45. package/dist/components/Datepicker/Datepicker.js +7 -7
  46. package/dist/components/Datepicker/DatepickerHeader.js +6 -6
  47. package/dist/components/Datepicker/DatepickerTable.js +2 -2
  48. package/dist/components/Dialog/Dialog.js +2 -2
  49. package/dist/components/Dialog/DialogActions.js +5 -5
  50. package/dist/components/Dialog/DialogActivityLog.js +2 -2
  51. package/dist/components/Dialog/DialogAttachments.js +2 -2
  52. package/dist/components/Dialog/DialogBody.js +2 -2
  53. package/dist/components/Dialog/DialogByline.js +2 -2
  54. package/dist/components/Dialog/DialogContact.js +2 -2
  55. package/dist/components/Dialog/DialogHeader.js +6 -6
  56. package/dist/components/Dialog/DialogHistory.js +2 -2
  57. package/dist/components/Dialog/DialogHistoryItem.js +2 -2
  58. package/dist/components/Dialog/DialogHistorySegment.js +2 -2
  59. package/dist/components/Dialog/DialogLayout.js +2 -2
  60. package/dist/components/Dialog/DialogList.js +2 -2
  61. package/dist/components/Dialog/DialogListItem.js +2 -2
  62. package/dist/components/Dialog/DialogMetadata.js +4 -4
  63. package/dist/components/Dialog/DialogSection.js +2 -2
  64. package/dist/components/Dialog/DialogSeenBy.js +2 -2
  65. package/dist/components/Dialog/DialogSelect.js +2 -2
  66. package/dist/components/Dialog/DialogStatus.js +2 -2
  67. package/dist/components/Dialog/DialogTabs.js +2 -2
  68. package/dist/components/Dialog/SeenByLog.js +2 -2
  69. package/dist/components/Dialog/SeenByLogButton.js +2 -2
  70. package/dist/components/Dialog/SeenByLogItem.js +2 -2
  71. package/dist/components/Dialog/index.js +1 -1
  72. package/dist/components/Dropdown/DrawerButton.js +2 -2
  73. package/dist/components/Dropdown/DrawerHeader.js +2 -2
  74. package/dist/components/Dropdown/Dropdown.js +2 -2
  75. package/dist/components/Dropdown/DropdownBase.js +2 -2
  76. package/dist/components/Dropdown/FloatingDropdown.js +2 -2
  77. package/dist/components/Dropdown/index.js +1 -1
  78. package/dist/components/DsComponents/index.js +14 -14
  79. package/dist/components/Forms/Checkbox.js +2 -2
  80. package/dist/components/Forms/CheckboxOptions.js +2 -2
  81. package/dist/components/Forms/Field.js +1 -1
  82. package/dist/components/Forms/FieldBase.js +2 -2
  83. package/dist/components/Forms/Fieldset.js +1 -1
  84. package/dist/components/Forms/FieldsetBase.js +2 -2
  85. package/dist/components/Forms/Input.js +1 -1
  86. package/dist/components/Forms/Label.js +1 -1
  87. package/dist/components/Forms/Legend.js +5 -5
  88. package/dist/components/Forms/Radio.js +2 -2
  89. package/dist/components/Forms/RadioOptions.js +2 -2
  90. package/dist/components/Forms/SearchField.js +2 -2
  91. package/dist/components/Forms/Select.js +3 -3
  92. package/dist/components/Forms/SelectField.js +2 -2
  93. package/dist/components/Forms/Switch.js +2 -2
  94. package/dist/components/Forms/SwitchOptions.js +2 -2
  95. package/dist/components/Forms/TextField.js +2 -2
  96. package/dist/components/Forms/TextFieldDropdown.js +10 -10
  97. package/dist/components/Forms/Textarea.js +1 -1
  98. package/dist/components/Forms/TextareaField.js +2 -2
  99. package/dist/components/Forms/index.js +1 -1
  100. package/dist/components/GlobalHeader/GlobalAccountButton.js +2 -2
  101. package/dist/components/GlobalHeader/GlobalHeader.js +7 -7
  102. package/dist/components/GlobalHeader/GlobalMenuButton.js +2 -2
  103. package/dist/components/GlobalHeader/HeaderDrawer.js +2 -2
  104. package/dist/components/GlobalHeader/HeaderDropdown.js +2 -2
  105. package/dist/components/GlobalHeader/HeaderLogo.js +2 -2
  106. package/dist/components/GlobalMenu/GlobalMenu.js +2 -2
  107. package/dist/components/GlobalMenu/LocaleSwitcher.js +8 -8
  108. package/dist/components/GlobalMenu/LogoutButton.js +2 -2
  109. package/dist/components/Icon/Icon.js +3 -3
  110. package/dist/components/Icon/index.js +1 -1
  111. package/dist/components/Inbox/InboxPage.js +2 -2
  112. package/dist/components/InboxSearch/InboxSearch.js +2 -2
  113. package/dist/components/Item/ItemLabel.js +1 -1
  114. package/dist/components/Item/ItemMedia.js +3 -3
  115. package/dist/components/Item/ItemSelect.js +2 -2
  116. package/dist/components/Item/index.js +3 -3
  117. package/dist/components/Layout/Layout.js +16 -16
  118. package/dist/components/List/List.js +2 -2
  119. package/dist/components/List/ListBase.js +2 -2
  120. package/dist/components/List/ListItemHeader.js +8 -8
  121. package/dist/components/List/ListItemIcon.js +5 -5
  122. package/dist/components/List/ListItemLabel.js +2 -2
  123. package/dist/components/Menu/Menu.js +1 -1
  124. package/dist/components/Menu/MenuItem.js +2 -2
  125. package/dist/components/Menu/MenuItems.js +2 -2
  126. package/dist/components/Menu/MenuListSearch.js +2 -2
  127. package/dist/components/Menu/MenuOption.js +1 -1
  128. package/dist/components/Menu/TabMenu.js +4 -4
  129. package/dist/components/Menu/VirtualizedMenuItems.js +3 -3
  130. package/dist/components/Menu/example.data.js +2 -2
  131. package/dist/components/Menu/index.js +4 -4
  132. package/dist/components/Menu/useMenuSearch.js +2 -2
  133. package/dist/components/Menu/useMenuVirtualization.js +2 -2
  134. package/dist/components/Metadata/MetaItem.js +1 -1
  135. package/dist/components/Metadata/MetaItemIcon.js +2 -2
  136. package/dist/components/Metadata/MetaTimestamp.js +3 -3
  137. package/dist/components/Metadata/Metadata.js +3 -3
  138. package/dist/components/Metadata/index.js +2 -2
  139. package/dist/components/Modal/Modal.js +2 -2
  140. package/dist/components/Modal/ModalBase.js +2 -2
  141. package/dist/components/Modal/ModalHeader.js +2 -2
  142. package/dist/components/Modal/ModalIcon.js +6 -6
  143. package/dist/components/Notifications/NotificationItem.js +2 -2
  144. package/dist/components/Notifications/NotificationItemBase.js +2 -2
  145. package/dist/components/Notifications/NotificationItemControls.js +2 -2
  146. package/dist/components/Notifications/NotificationItemIcon.js +2 -2
  147. package/dist/components/Page/AccordionSection.js +2 -2
  148. package/dist/components/Page/ContactButtons.js +2 -2
  149. package/dist/components/Page/ContactSection.js +2 -2
  150. package/dist/components/Page/PageDetails.js +5 -5
  151. package/dist/components/Page/PageMenu.js +2 -2
  152. package/dist/components/Page/PageNav.js +2 -2
  153. package/dist/components/Page/Section.js +2 -2
  154. package/dist/components/Pagination/Pagination.js +2 -2
  155. package/dist/components/ResourceListItem/ResourceListItem.js +2 -2
  156. package/dist/components/RootProvider/RootProvider.js +4 -4
  157. package/dist/components/RootProvider/index.js +1 -1
  158. package/dist/components/Search/SearchItem.js +2 -2
  159. package/dist/components/Searchbar/Autocomplete.js +2 -2
  160. package/dist/components/Searchbar/AutocompleteItem.js +2 -2
  161. package/dist/components/Searchbar/Searchbar.js +4 -4
  162. package/dist/components/Searchbar/SearchbarField.js +4 -4
  163. package/dist/components/Settings/SettingsItem.js +2 -2
  164. package/dist/components/Settings/SettingsItemBase.js +11 -11
  165. package/dist/components/Settings/SettingsList.js +2 -2
  166. package/dist/components/Settings/SettingsListVirtual.js +3 -3
  167. package/dist/components/Settings/SettingsModal.js +2 -2
  168. package/dist/components/Settings/SettingsSection.js +2 -2
  169. package/dist/components/Settings/UsedByLog.js +2 -2
  170. package/dist/components/Settings/UsedByLogItem.js +2 -2
  171. package/dist/components/SkipLink/SkipLink.js +4 -4
  172. package/dist/components/Snackbar/SnackbarItem.js +2 -2
  173. package/dist/components/Timeline/Timeline.js +2 -2
  174. package/dist/components/Timeline/TimelineActivity.js +2 -2
  175. package/dist/components/Timeline/TimelineBase.js +2 -2
  176. package/dist/components/Timeline/TimelineFooter.js +2 -2
  177. package/dist/components/Timeline/TimelineHeader.js +2 -2
  178. package/dist/components/Timeline/TimelineIcon.js +2 -2
  179. package/dist/components/Timeline/TimelineSection.js +2 -2
  180. package/dist/components/Timeline/TimelineSegment.js +2 -2
  181. package/dist/components/Toolbar/DatepickerFilter.js +4 -4
  182. package/dist/components/Toolbar/SelectDateFilter.js +2 -2
  183. package/dist/components/Toolbar/Toolbar.js +6 -6
  184. package/dist/components/Toolbar/ToolbarFilter.js +2 -2
  185. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +2 -2
  186. package/dist/components/Toolbar/ToolbarFilterButton.js +4 -4
  187. package/dist/components/Toolbar/ToolbarFilterMenu.js +2 -2
  188. package/dist/components/Toolbar/ToolbarMenu.js +3 -3
  189. package/dist/components/Toolbar/ToolbarSearch.js +3 -3
  190. package/dist/components/Toolbar/example.data.js +2 -2
  191. package/dist/components/Toolbar/example.hooks.js +1 -1
  192. package/dist/components/Toolbar/index.js +2 -2
  193. package/dist/components/Tooltip/Tooltip.js +1 -1
  194. package/dist/components/Transmission/Transmission.js +2 -2
  195. package/dist/components/Transmission/TransmissionList.js +2 -2
  196. package/dist/components/Transmission/TransmissionType.js +2 -2
  197. package/dist/components/Typography/Heading.js +2 -2
  198. package/dist/components/Typography/Link.js +1 -1
  199. package/dist/components/Typography/index.js +1 -1
  200. package/dist/components/UserListItem/UserListItem.js +2 -2
  201. package/dist/components/index.js +3 -3
  202. package/dist/hooks/useAccountSelector.js +3 -3
  203. package/dist/index.js +3 -3
  204. package/dist/{tooltip-B5zQ3zF0.js → tooltip-Ct39-719.js} +26 -26
  205. package/dist/types/lib/components/Dialog/DialogMetadata.stories.d.ts +2 -0
  206. package/dist/{use-pagination-mAaJfKMF.js → use-pagination-BBfRRN5_.js} +1 -1
  207. package/dist/{useMenuVirtualization-Cs426RCN.js → useMenuVirtualization-DpvWCsyD.js} +2 -2
  208. package/package.json +5 -5
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsx as a, jsxs as I, Fragment as xe } from "react/jsx-runtime";
3
3
  import * as G from "react";
4
- import C, { forwardRef as Y, useRef as J, useState as oe, useMemo as le, useEffect as W, Fragment as He, useLayoutEffect as Ce, createContext as ot, useContext as at, isValidElement as Ge, useId as De, useCallback as qe, memo as Oe, createElement as st } from "react";
5
- import "./tooltip-B5zQ3zF0.js";
4
+ import C, { forwardRef as Y, useRef as J, useState as oe, useMemo as ie, useEffect as W, Fragment as He, useLayoutEffect as Ce, createContext as ot, useContext as at, isValidElement as Ge, useId as De, useCallback as qe, memo as Oe, createElement as st } from "react";
5
+ import "./tooltip-Ct39-719.js";
6
6
  import { c as V } from "./index-p1eeF8LQ.js";
7
- import { useEscapeKey as lt } from "./hooks/useEscapeKey.js";
7
+ import { useEscapeKey as it } from "./hooks/useEscapeKey.js";
8
8
  import "./components/Typography/Link.js";
9
9
  import { Button as ve } from "./components/Button/Button.js";
10
- import { createPortal as it } from "react-dom";
10
+ import { createPortal as lt } from "react-dom";
11
11
  import { useMenu as Me } from "./hooks/useMenu.js";
12
12
  import { Typography as Ke } from "./components/Typography/Typography.js";
13
13
  import { Skeleton as ue } from "./components/Skeleton/Skeleton.js";
@@ -29,8 +29,8 @@ import { MenuListItem as Ve } from "./components/Menu/MenuListItem.js";
29
29
  import { MenuListGroup as Ue } from "./components/Menu/MenuListGroup.js";
30
30
  import { MenuListDivider as We } from "./components/Menu/MenuListDivider.js";
31
31
  import { MenuListHeading as Ye } from "./components/Menu/MenuListHeading.js";
32
- import { a as vt } from "./useMenuVirtualization-Cs426RCN.js";
33
- import { S as bt, a as gt, b as yt } from "./Paperclip-DjN7qVfQ.js";
32
+ import { u as vt } from "./useMenuVirtualization-DpvWCsyD.js";
33
+ import { a as bt, b as gt, S as yt } from "./Paperclip-DhP0Uo69.js";
34
34
  import { useDropdownMenuController as _t } from "./components/Menu/useDropdownMenuController.js";
35
35
  import { ItemBase as wt } from "./components/Item/ItemBase.js";
36
36
  import { ItemLink as xt } from "./components/Item/ItemLink.js";
@@ -245,7 +245,7 @@ const Ae = Y((e, o) => {
245
245
  tooltip: s,
246
246
  className: u,
247
247
  style: f,
248
- children: i
248
+ children: l
249
249
  }) => s ? /* @__PURE__ */ a($e, { content: s, children: /* @__PURE__ */ a(
250
250
  "span",
251
251
  {
@@ -256,7 +256,7 @@ const Ae = Y((e, o) => {
256
256
  "data-theme": t,
257
257
  "data-size": r,
258
258
  ...r === "xs" && { "aria-hidden": !0 },
259
- children: /* @__PURE__ */ a("span", { className: ye.label, children: e || i })
259
+ children: /* @__PURE__ */ a("span", { className: ye.label, children: e || l })
260
260
  }
261
261
  ) }) : /* @__PURE__ */ a(
262
262
  "span",
@@ -268,7 +268,7 @@ const Ae = Y((e, o) => {
268
268
  "data-theme": t,
269
269
  "data-size": r,
270
270
  ...r === "xs" && { "aria-hidden": !0 },
271
- children: /* @__PURE__ */ a("span", { className: ye.label, children: e || i })
271
+ children: /* @__PURE__ */ a("span", { className: ye.label, children: e || l })
272
272
  }
273
273
  ), Vt = "_icon_1y3dz_1", Ut = "_shape_1y3dz_9", Wt = "_svg_1y3dz_14", Yt = "_image_1y3dz_15", fe = {
274
274
  icon: Vt,
@@ -284,12 +284,12 @@ const Ae = Y((e, o) => {
284
284
  iconUrl: s,
285
285
  className: u,
286
286
  style: f,
287
- children: i
287
+ children: l
288
288
  }) => /* @__PURE__ */ a("span", { "data-ui": "icon", "data-size": t, "data-color": r, className: V(fe.icon, u), style: f, children: /* @__PURE__ */ I(ue, { loading: e, variant: "circle", className: fe.shape, children: [
289
289
  /* @__PURE__ */ a("span", { className: fe.shape }),
290
290
  n && /* @__PURE__ */ a(n, { "aria-hidden": "true", "alt-label": o, className: fe.svg }),
291
291
  s && /* @__PURE__ */ a("img", { src: s, alt: o, className: fe.image }),
292
- i
292
+ l
293
293
  ] }) }), Qt = ({ size: e, color: o, label: n, htmlFor: t, helperText: r, children: s, ...u }) => /* @__PURE__ */ I(mt, { size: e, color: o, ...u, children: [
294
294
  n && /* @__PURE__ */ a(ft, { size: e, htmlFor: t, children: n }),
295
295
  s,
@@ -306,10 +306,10 @@ const Ae = Y((e, o) => {
306
306
  clearButtonAltText: s = "Clear search",
307
307
  onChange: u,
308
308
  onClear: f,
309
- onNavigate: i,
309
+ onNavigate: l,
310
310
  combobox: c = !1,
311
311
  listId: _,
312
- "aria-activedescendant": l,
312
+ "aria-activedescendant": i,
313
313
  onKeyDown: b,
314
314
  onInput: p,
315
315
  onFocus: w,
@@ -334,10 +334,10 @@ const Ae = Y((e, o) => {
334
334
  autoCapitalize: "off",
335
335
  "aria-autocomplete": "list",
336
336
  "aria-controls": _,
337
- "aria-activedescendant": l,
337
+ "aria-activedescendant": i,
338
338
  autoFocus: !0,
339
339
  onKeyDown: (h) => {
340
- (h.key === "ArrowUp" || h.key === "ArrowDown") && (h.preventDefault(), i?.()), b?.(h);
340
+ (h.key === "ArrowUp" || h.key === "ArrowDown") && (h.preventDefault(), l?.()), b?.(h);
341
341
  },
342
342
  onInput: p,
343
343
  onFocus: w,
@@ -360,7 +360,7 @@ const Ae = Y((e, o) => {
360
360
  autoCapitalize: "off",
361
361
  autoFocus: !0,
362
362
  onKeyDown: (h) => {
363
- (h.key === "ArrowUp" || h.key === "ArrowDown") && (h.preventDefault(), i?.()), b?.(h);
363
+ (h.key === "ArrowUp" || h.key === "ArrowDown") && (h.preventDefault(), l?.()), b?.(h);
364
364
  },
365
365
  onInput: p,
366
366
  onFocus: w,
@@ -375,10 +375,10 @@ const Ae = Y((e, o) => {
375
375
  scrollToTopOnOpen: s = !1,
376
376
  autoActivateFirstItem: u = !0,
377
377
  autoFocusList: f = !0,
378
- announceNoResults: i = !1,
378
+ announceNoResults: l = !1,
379
379
  search: c,
380
380
  items: _,
381
- groups: l = {},
381
+ groups: i = {},
382
382
  size: b,
383
383
  id: p,
384
384
  color: w,
@@ -391,7 +391,7 @@ const Ae = Y((e, o) => {
391
391
  }) => {
392
392
  if (o && e >= o)
393
393
  return null;
394
- const y = t === "combobox", v = y && p ? `${p}-listbox` : p, S = J(r), P = J(r), [D, M] = oe(!1), $ = le(
394
+ const y = t === "combobox", v = y && p ? `${p}-listbox` : p, S = J(r), P = J(r), [D, M] = oe(!1), $ = ie(
395
395
  () => _.map((d, k) => ({
396
396
  ...d,
397
397
  id: d.id || `${p}-item-${k}`
@@ -399,7 +399,7 @@ const Ae = Y((e, o) => {
399
399
  [_, p]
400
400
  ), j = J(null), { menu: E, setActiveIndex: O, activeItem: m } = Me({
401
401
  items: $,
402
- groups: l,
402
+ groups: i,
403
403
  groupByKey: "groupId",
404
404
  keyboardEvents: N,
405
405
  autoActivateFirstItem: u,
@@ -419,11 +419,11 @@ const Ae = Y((e, o) => {
419
419
  const d = P.current;
420
420
  P.current = r, !(!N || c || !f) && r && !d && requestAnimationFrame(() => j.current?.focus?.({ preventScroll: !0 }));
421
421
  }, [r, N, c]), W(() => {
422
- if (y && i) {
422
+ if (y && l) {
423
423
  O(0), M(!0);
424
424
  return;
425
425
  }
426
- }, [i, y, O]), /* @__PURE__ */ I(
426
+ }, [l, y, O]), /* @__PURE__ */ I(
427
427
  Ie,
428
428
  {
429
429
  variant: z,
@@ -464,7 +464,7 @@ const Ae = Y((e, o) => {
464
464
  /* @__PURE__ */ a(Ue, { hidden: L, children: /* @__PURE__ */ I(Ie, { role: "presentation", children: [
465
465
  H && /* @__PURE__ */ a(Ye, { title: H, level: e }),
466
466
  d?.items.filter((ne) => !ne.props?.hidden).map((ne, g) => {
467
- const { active: x, onMouseEnter: T } = ne, { groupId: U, ...B } = ne.props || {}, { expanded: re } = B, ie = Array.isArray(B?.items) && B.items.length > 0, ge = B.role === "checkbox" || B.role === "radio", Ne = y && !ge ? "option" : B.role;
467
+ const { active: x, onMouseEnter: T } = ne, { groupId: U, ...B } = ne.props || {}, { expanded: re } = B, le = Array.isArray(B?.items) && B.items.length > 0, ge = B.role === "checkbox" || B.role === "radio", Ne = y && !ge ? "option" : B.role;
468
468
  return /* @__PURE__ */ I(
469
469
  Ve,
470
470
  {
@@ -484,9 +484,9 @@ const Ae = Y((e, o) => {
484
484
  selected: B.selected,
485
485
  tabIndex: B?.disabled || N ? -1 : B.tabIndex ?? 0,
486
486
  onMouseEnter: T,
487
- "aria-haspopup": ie ? "menu" : void 0,
488
- "aria-expanded": ie ? re : void 0,
489
- "aria-controls": ie ? B.id + "-menu" : void 0
487
+ "aria-haspopup": le ? "menu" : void 0,
488
+ "aria-expanded": le ? re : void 0,
489
+ "aria-controls": le ? B.id + "-menu" : void 0
490
490
  }
491
491
  ),
492
492
  re && B?.items && /* @__PURE__ */ a(
@@ -497,7 +497,7 @@ const Ae = Y((e, o) => {
497
497
  level: e + 1,
498
498
  maxLevels: o,
499
499
  items: B?.items,
500
- groups: l,
500
+ groups: i,
501
501
  size: b,
502
502
  color: w,
503
503
  variant: z
@@ -519,10 +519,10 @@ const Ae = Y((e, o) => {
519
519
  search: s,
520
520
  items: u,
521
521
  groups: f = {},
522
- size: i,
522
+ size: l,
523
523
  color: c,
524
524
  variant: _,
525
- keyboardEvents: l,
525
+ keyboardEvents: i,
526
526
  scrollRefStyles: b = {},
527
527
  id: p,
528
528
  expanded: w,
@@ -532,7 +532,7 @@ const Ae = Y((e, o) => {
532
532
  autoActivateFirstItem: A = !0,
533
533
  announceNoResults: R = !1,
534
534
  onActiveItemIdChange: y
535
- } = e, v = z === "combobox", S = v && p ? `${p}-listbox` : p, P = J(h), [D, M] = oe(!1), $ = le(
535
+ } = e, v = z === "combobox", S = v && p ? `${p}-listbox` : p, P = J(h), [D, M] = oe(!1), $ = ie(
536
536
  () => u.map((g, x) => ({
537
537
  ...g,
538
538
  id: g.id || `${p}-item-${x}`
@@ -542,7 +542,7 @@ const Ae = Y((e, o) => {
542
542
  items: $,
543
543
  groups: f,
544
544
  groupByKey: "groupId",
545
- keyboardEvents: l,
545
+ keyboardEvents: i,
546
546
  autoActivateFirstItem: A,
547
547
  ref: o
548
548
  }), { flatMenu: d, virtualizer: k, scrollMaxHeight: F } = vt({
@@ -555,7 +555,7 @@ const Ae = Y((e, o) => {
555
555
  const x = Math.round(g.offsetTop);
556
556
  r((T) => T === x ? T : x);
557
557
  });
558
- const H = le(() => {
558
+ const H = ie(() => {
559
559
  const g = E?.id;
560
560
  if (g)
561
561
  return d.findIndex((T) => T.type === "item" && T.itemProps?.id === g);
@@ -571,9 +571,9 @@ const Ae = Y((e, o) => {
571
571
  L.current = H;
572
572
  const T = x ? H : H + 2;
573
573
  if (!x) {
574
- const ie = k.getOffsetForIndex(T, "auto");
575
- if (!ie) return;
576
- const [ge, Ne] = ie;
574
+ const le = k.getOffsetForIndex(T, "auto");
575
+ if (!le) return;
576
+ const [ge, Ne] = le;
577
577
  if (Ne === "auto") return;
578
578
  k.scrollToOffset(ge + t + 10, { align: "start" });
579
579
  return;
@@ -587,7 +587,7 @@ const Ae = Y((e, o) => {
587
587
  const [B, re] = U;
588
588
  re !== "auto" && k.scrollToOffset(B + t + 10, { align: "start" });
589
589
  }, [H, t, k, L]);
590
- const q = le(() => {
590
+ const q = ie(() => {
591
591
  const g = /* @__PURE__ */ new Map();
592
592
  let x = 0;
593
593
  return d.forEach((T, U) => {
@@ -699,7 +699,7 @@ const Ae = Y((e, o) => {
699
699
  tt,
700
700
  {
701
701
  ...x.itemProps || {},
702
- size: x.itemProps?.size || i,
702
+ size: x.itemProps?.size || l,
703
703
  color: x.itemProps?.color || c,
704
704
  variant: x.itemProps?.variant || _,
705
705
  active: x.active,
@@ -707,7 +707,7 @@ const Ae = Y((e, o) => {
707
707
  selected: x.itemProps?.selected,
708
708
  "aria-posinset": v ? q.positions.get(g.index) : void 0,
709
709
  "aria-setsize": v ? q.total : void 0,
710
- tabIndex: x.itemProps?.disabled || l ? -1 : 0
710
+ tabIndex: x.itemProps?.disabled || i ? -1 : 0
711
711
  }
712
712
  )
713
713
  },
@@ -752,20 +752,20 @@ const Ae = Y((e, o) => {
752
752
  const e = at(Ze);
753
753
  if (!e)
754
754
  throw new Error("useRootContext must be used within a RootProvider.");
755
- const { currentId: o, setCurrentId: n, debug: t, setPreviousId: r, previousId: s, languageCode: u } = e, f = (l) => {
756
- o && r(o), n(l);
757
- }, i = (l) => {
758
- t && console.debug(`useRootContext: toggleId called with value: ${l}`), f(o === l ? "" : l);
755
+ const { currentId: o, setCurrentId: n, debug: t, setPreviousId: r, previousId: s, languageCode: u } = e, f = (i) => {
756
+ o && r(o), n(i);
757
+ }, l = (i) => {
758
+ t && console.debug(`useRootContext: toggleId called with value: ${i}`), f(o === i ? "" : i);
759
759
  }, c = () => {
760
760
  t && console.debug("useRootContext: closeAll called"), f("");
761
761
  };
762
- return lt(c), {
762
+ return it(c), {
763
763
  currentId: o,
764
764
  previousId: s,
765
- toggleId: i,
765
+ toggleId: l,
766
766
  closeAll: c,
767
- openId: (l) => {
768
- t && console.debug(`useRootContext: openId called with value: ${l}`), f(l);
767
+ openId: (i) => {
768
+ t && console.debug(`useRootContext: openId called with value: ${i}`), f(i);
769
769
  },
770
770
  languageCode: u
771
771
  };
@@ -813,7 +813,7 @@ const Ae = Y((e, o) => {
813
813
  items: s = [],
814
814
  groups: u = {}
815
815
  }) => {
816
- const { languageCode: f } = tn(), i = G.useMemo(() => nn(f), [f]), [c, _] = G.useState(""), l = G.useCallback(
816
+ const { languageCode: f } = tn(), l = G.useMemo(() => nn(f), [f]), [c, _] = G.useState(""), i = G.useCallback(
817
817
  (m) => {
818
818
  _(m.target.value), n?.(m);
819
819
  },
@@ -822,14 +822,14 @@ const Ae = Y((e, o) => {
822
822
  _(""), t?.();
823
823
  }, [t]), p = G.useMemo(() => c.trim().replace(/\s+/g, " "), [c]), w = p.length > 0, z = G.useMemo(() => p.toLowerCase(), [p]), h = G.useMemo(() => p ? p.split(" ") : [], [p]), N = G.useMemo(
824
824
  () => ({
825
- placeholder: e ?? i.placeholder,
825
+ placeholder: e ?? l.placeholder,
826
826
  name: o ?? "search",
827
827
  value: c,
828
- onChange: l,
828
+ onChange: i,
829
829
  onClear: b,
830
830
  clearButtonAltText: r
831
831
  }),
832
- [e, i.placeholder, o, c, l, b, r]
832
+ [e, l.placeholder, o, c, i, b, r]
833
833
  ), A = G.useMemo(
834
834
  () => s.map((m) => {
835
835
  const d = m?.searchWords?.length ? m.searchWords : [m?.title, m?.description].filter(Boolean);
@@ -844,14 +844,14 @@ const Ae = Y((e, o) => {
844
844
  {
845
845
  id: "emptySearch",
846
846
  "aria-disabled": !0,
847
- title: i.noResults,
847
+ title: l.noResults,
848
848
  groupId: "emptySearch",
849
849
  icon: bt,
850
850
  size: "sm",
851
851
  as: "div"
852
852
  }
853
853
  ],
854
- [i.noResults]
854
+ [l.noResults]
855
855
  ), y = G.useMemo(() => {
856
856
  const m = s.filter((d) => d.groupId === "emptySearch").map((d) => ({ ...d, hidden: !1 }));
857
857
  return m.length ? m : R;
@@ -869,36 +869,36 @@ const Ae = Y((e, o) => {
869
869
  () => ({
870
870
  search: {
871
871
  hidden: !0,
872
- title: i.hits(P)
872
+ title: l.hits(P)
873
873
  },
874
874
  selected: {
875
875
  hidden: !0,
876
- title: i.selected(D)
876
+ title: l.selected(D)
877
877
  },
878
878
  emptySearch: {
879
879
  hidden: !0,
880
- title: i.noResults
880
+ title: l.noResults
881
881
  },
882
882
  ...u
883
883
  }),
884
- [i, P, D, u]
884
+ [l, P, D, u]
885
885
  ), $ = G.useMemo(
886
886
  () => ({
887
887
  ...M,
888
888
  search: {
889
889
  hidden: !w,
890
- title: i.hits(P)
890
+ title: l.hits(P)
891
891
  },
892
892
  selected: {
893
893
  hidden: D === 0,
894
- title: i.selected(D)
894
+ title: l.selected(D)
895
895
  },
896
896
  emptySearch: {
897
897
  hidden: w && (P > 0 || D > 0),
898
- title: i.noResults
898
+ title: l.noResults
899
899
  }
900
900
  }),
901
- [M, w, i, P, D]
901
+ [M, w, l, P, D]
902
902
  ), j = G.useMemo(() => w ? rn([...S, ...v]) : [], [w, S, v]), E = G.useMemo(() => [...y || [], ...v || []], [y, v]), O = G.useMemo(() => w ? P ? j : E : s, [w, s, P, j, E]);
903
903
  return {
904
904
  search: N,
@@ -917,10 +917,10 @@ const Ae = Y((e, o) => {
917
917
  size: s,
918
918
  level: u = 0,
919
919
  maxLevels: f = 3,
920
- virtualized: i = !1,
920
+ virtualized: l = !1,
921
921
  keyboardEvents: c = !1,
922
922
  scrollRefStyles: _ = {},
923
- onActiveItemIdChange: l,
923
+ onActiveItemIdChange: i,
924
924
  a11yMode: b = "menu",
925
925
  open: p,
926
926
  scrollToTopOnOpen: w,
@@ -928,7 +928,7 @@ const Ae = Y((e, o) => {
928
928
  id: h
929
929
  }) => {
930
930
  const N = on({ ...o, items: n, groups: t }), A = e ? N.search : o, R = e && N.hasQuery && N.resultCount === 0, y = e ? N.items : n, v = e ? { ...t, ...N.groups } : t, S = b !== "combobox";
931
- return i ? /* @__PURE__ */ a(
931
+ return l ? /* @__PURE__ */ a(
932
932
  Zt,
933
933
  {
934
934
  id: h,
@@ -942,7 +942,7 @@ const Ae = Y((e, o) => {
942
942
  maxLevels: f,
943
943
  keyboardEvents: c,
944
944
  scrollRefStyles: _,
945
- onActiveItemIdChange: l,
945
+ onActiveItemIdChange: i,
946
946
  a11yMode: b,
947
947
  open: p,
948
948
  scrollToTopOnOpen: w,
@@ -963,7 +963,7 @@ const Ae = Y((e, o) => {
963
963
  maxLevels: f,
964
964
  keyboardEvents: c,
965
965
  scrollRefStyles: _,
966
- onActiveItemIdChange: l,
966
+ onActiveItemIdChange: i,
967
967
  a11yMode: b,
968
968
  open: p,
969
969
  scrollToTopOnOpen: w,
@@ -1001,10 +1001,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1001
1001
  leading: s = "tight",
1002
1002
  weight: u = "medium",
1003
1003
  color: f,
1004
- variant: i,
1004
+ variant: l,
1005
1005
  maxRows: c,
1006
1006
  className: _,
1007
- style: l,
1007
+ style: i,
1008
1008
  children: b
1009
1009
  }) => {
1010
1010
  const p = t, w = ct(b, n || []);
@@ -1013,12 +1013,12 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1013
1013
  {
1014
1014
  id: e,
1015
1015
  className: V(mn.heading, _),
1016
- style: l,
1016
+ style: i,
1017
1017
  "data-size": r,
1018
1018
  "data-leading": s,
1019
1019
  "data-weight": u,
1020
1020
  "data-color": f,
1021
- "data-variant": r === "xxs" && "default" || i,
1021
+ "data-variant": r === "xxs" && "default" || l,
1022
1022
  "data-max-rows": c,
1023
1023
  children: /* @__PURE__ */ a(ue, { loading: o, children: w })
1024
1024
  }
@@ -1066,10 +1066,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1066
1066
  onClick: s,
1067
1067
  onChange: u,
1068
1068
  onKeyPress: f,
1069
- onMouseEnter: i,
1069
+ onMouseEnter: l,
1070
1070
  size: c = "sm",
1071
1071
  variant: _,
1072
- color: l,
1072
+ color: i,
1073
1073
  name: b,
1074
1074
  value: p,
1075
1075
  checked: w,
@@ -1103,7 +1103,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1103
1103
  "data-group-id": o,
1104
1104
  "data-size": c,
1105
1105
  "data-variant": _,
1106
- "data-color": l,
1106
+ "data-color": i,
1107
1107
  "data-active": $,
1108
1108
  role: n,
1109
1109
  "aria-disabled": D,
@@ -1116,7 +1116,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1116
1116
  D || (q.target === q.currentTarget && q.key === "Enter" && s?.(), f?.(q));
1117
1117
  },
1118
1118
  onClick: s,
1119
- onMouseEnter: i,
1119
+ onMouseEnter: l,
1120
1120
  tabIndex: j,
1121
1121
  children: [
1122
1122
  /* @__PURE__ */ a(
@@ -1175,12 +1175,12 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1175
1175
  "data-group-id": o,
1176
1176
  "data-size": c,
1177
1177
  "data-variant": _,
1178
- "data-color": l,
1178
+ "data-color": i,
1179
1179
  "data-active": $,
1180
1180
  "aria-disabled": D,
1181
1181
  ...D ? { disabled: D } : {},
1182
- "aria-current": r && M ? "page" : void 0,
1183
- "aria-selected": r ? void 0 : M,
1182
+ "aria-current": n !== "option" && M ? "page" : void 0,
1183
+ "aria-selected": n === "option" ? M : void 0,
1184
1184
  "data-selected": M,
1185
1185
  "aria-label": R,
1186
1186
  "data-testid": O,
@@ -1188,7 +1188,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1188
1188
  D || (L.target === L.currentTarget && L.key === "Enter" && s?.(), f?.(L));
1189
1189
  },
1190
1190
  onClick: s,
1191
- onMouseEnter: i,
1191
+ onMouseEnter: l,
1192
1192
  tabIndex: D ? -1 : j ?? 0,
1193
1193
  role: n === "menuItem" ? "menuitem" : n,
1194
1194
  ...k,
@@ -1242,25 +1242,25 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1242
1242
  color: s = "neutral",
1243
1243
  label: u,
1244
1244
  hideLabel: f,
1245
- value: i,
1245
+ value: l,
1246
1246
  onClear: c,
1247
1247
  clearButtonAltText: _ = "Clear search",
1248
- menu: l,
1248
+ menu: i,
1249
1249
  minLength: b,
1250
1250
  ...p
1251
1251
  }) => {
1252
- const w = De(), [z, h] = oe(!1), N = p.id || `search-field-${w}`, A = `${N}-listbox`, [R, y] = oe(void 0), v = "searchfield-clear-button-" + De(), S = le(() => !l || !i || typeof b == "number" && typeof i == "string" && i.length < b ? !1 : z, [l, z, b, i]), P = le(() => (l?.items ?? []).map((m) => ({
1252
+ const w = De(), [z, h] = oe(!1), N = p.id || `search-field-${w}`, A = `${N}-listbox`, [R, y] = oe(void 0), v = "searchfield-clear-button-" + De(), S = ie(() => !i || !l || typeof b == "number" && typeof l == "string" && l.length < b ? !1 : z, [i, z, b, l]), P = ie(() => (i?.items ?? []).map((m) => ({
1253
1253
  ...m,
1254
1254
  onClick: () => {
1255
1255
  m.onClick?.(), h(!1);
1256
1256
  }
1257
- })), [l]), D = (m) => {
1257
+ })), [i]), D = (m) => {
1258
1258
  if (m.key === "Enter" && S) {
1259
- l?.items?.[0]?.onClick?.(), h(!1);
1259
+ i?.items?.[0]?.onClick?.(), h(!1);
1260
1260
  return;
1261
1261
  }
1262
1262
  if (m.key === "Escape" && S) {
1263
- m.preventDefault(), m.stopPropagation(), h(!1), l?.onClose(), document.getElementById(N)?.focus();
1263
+ m.preventDefault(), m.stopPropagation(), h(!1), i?.onClose(), document.getElementById(N)?.focus();
1264
1264
  return;
1265
1265
  }
1266
1266
  p.onKeyDown?.(m), h(!0);
@@ -1285,7 +1285,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1285
1285
  "data-collapsible": o ? !0 : void 0,
1286
1286
  onBlurCapture: $,
1287
1287
  children: [
1288
- /* @__PURE__ */ a("span", { className: Z.hiddenInput, "aria-hidden": "true", children: i + " " }),
1288
+ /* @__PURE__ */ a("span", { className: Z.hiddenInput, "aria-hidden": "true", children: l + " " }),
1289
1289
  /* @__PURE__ */ a(
1290
1290
  ut,
1291
1291
  {
@@ -1294,7 +1294,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1294
1294
  "aria-label": f && typeof u == "string" ? u : void 0,
1295
1295
  inputSize: 5,
1296
1296
  type: "search",
1297
- value: i,
1297
+ value: l,
1298
1298
  className: Z.input,
1299
1299
  "data-collapsible": o ? !0 : void 0,
1300
1300
  autoCapitalize: "off",
@@ -1302,7 +1302,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1302
1302
  minLength: b,
1303
1303
  onKeyDown: D,
1304
1304
  onBlur: E,
1305
- ...l && {
1305
+ ...i && {
1306
1306
  role: "combobox",
1307
1307
  "aria-autocomplete": "list",
1308
1308
  "aria-expanded": !!S,
@@ -1314,7 +1314,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1314
1314
  }
1315
1315
  ),
1316
1316
  n ? /* @__PURE__ */ a(pt, { "aria-hidden": !0, className: Z.icon }) : /* @__PURE__ */ a(Bt, { "aria-hidden": !0, className: Z.icon }),
1317
- c && !!i && /* @__PURE__ */ a("span", { className: Z.clear, children: /* @__PURE__ */ a(
1317
+ c && !!l && /* @__PURE__ */ a("span", { className: Z.clear, children: /* @__PURE__ */ a(
1318
1318
  ve,
1319
1319
  {
1320
1320
  id: v,
@@ -1335,15 +1335,15 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1335
1335
  ]
1336
1336
  }
1337
1337
  );
1338
- return l ? /* @__PURE__ */ I("div", { className: Z.fieldContainer, children: [
1338
+ return i ? /* @__PURE__ */ I("div", { className: Z.fieldContainer, children: [
1339
1339
  O,
1340
1340
  S && /* @__PURE__ */ a("div", { className: Z.autocomplete, "aria-hidden": !S, onMouseDown: j, children: /* @__PURE__ */ a(
1341
1341
  et,
1342
1342
  {
1343
- ...l,
1343
+ ...i,
1344
1344
  id: A,
1345
1345
  items: P,
1346
- groups: l?.groups,
1346
+ groups: i?.groups,
1347
1347
  keyboardEvents: !0,
1348
1348
  a11yMode: "combobox",
1349
1349
  open: S,
@@ -1366,10 +1366,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1366
1366
  datetime: s,
1367
1367
  children: u,
1368
1368
  as: f,
1369
- ...i
1369
+ ...l
1370
1370
  }) => {
1371
1371
  const c = f || "div", _ = s ? "time" : "span";
1372
- return /* @__PURE__ */ I(c, { ...i, className: pe.byline, "data-color": o, "data-size": n, children: [
1372
+ return /* @__PURE__ */ I(c, { ...l, className: pe.byline, "data-color": o, "data-size": n, children: [
1373
1373
  (r || t) && /* @__PURE__ */ a(ue, { variant: "circle", className: pe.avatar, loading: e, children: r ? /* @__PURE__ */ a(be, { ...r, size: n, className: pe.avatarGroup }) : t && /* @__PURE__ */ a(je, { ...t, size: n, className: pe.avatar }) }),
1374
1374
  /* @__PURE__ */ a(_, { "data-size": n, dateTime: s, className: pe.label, children: /* @__PURE__ */ a(ue, { loading: e, children: u }) })
1375
1375
  ] });
@@ -1405,10 +1405,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1405
1405
  variant: s = "dropdown",
1406
1406
  title: u = "Title",
1407
1407
  closeLabel: f = "Close",
1408
- submitLabel: i,
1408
+ submitLabel: l,
1409
1409
  trigger: c,
1410
1410
  children: _,
1411
- open: l,
1411
+ open: i,
1412
1412
  onClose: b,
1413
1413
  color: p,
1414
1414
  onSubmit: w,
@@ -1416,16 +1416,16 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1416
1416
  useFixedPosition: h = !1,
1417
1417
  expanded: N = !1
1418
1418
  }) => {
1419
- const A = J(null), R = J(null), y = J(l);
1419
+ const A = J(null), R = J(null), y = J(i);
1420
1420
  W(() => {
1421
- y.current = l;
1422
- }, [l]);
1421
+ y.current = i;
1422
+ }, [i]);
1423
1423
  const [v, S] = oe({
1424
1424
  yDir: r.includes("top") ? "top" : "bottom",
1425
1425
  xDir: r.includes("right") ? "right" : "left",
1426
1426
  maxHeight: 300
1427
1427
  }), P = qe(() => {
1428
- if (l && A.current && R.current) {
1428
+ if (i && A.current && R.current) {
1429
1429
  const $ = A.current.getBoundingClientRect(), j = R.current.getBoundingClientRect(), E = window.innerHeight, O = window.innerWidth, m = 16, d = E - $.bottom, k = $.top, F = O - $.right - j.width, H = d < 250 && k > d, L = H ? "top" : "bottom", q = (H ? k : d) - m, g = F < m ? "right" : "left";
1430
1430
  S((x) => ({
1431
1431
  ...x,
@@ -1435,11 +1435,11 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1435
1435
  triggerRect: h ? $ : void 0
1436
1436
  }));
1437
1437
  }
1438
- }, [l, h]);
1438
+ }, [i, h]);
1439
1439
  Ce(() => (P(), window.addEventListener("resize", P), h && window.addEventListener("scroll", P, !0), () => {
1440
1440
  window.removeEventListener("resize", P), h && window.removeEventListener("scroll", P, !0);
1441
1441
  }), [P, h]), W(() => {
1442
- if (!l) return;
1442
+ if (!i) return;
1443
1443
  const $ = requestAnimationFrame(() => {
1444
1444
  const j = R.current;
1445
1445
  if (!j) return;
@@ -1458,18 +1458,18 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1458
1458
  j.focus?.({ preventScroll: !0 });
1459
1459
  });
1460
1460
  return () => cancelAnimationFrame($);
1461
- }, [l]), W(() => {
1461
+ }, [i]), W(() => {
1462
1462
  const $ = (E) => {
1463
1463
  E.key === "Escape" && (E.preventDefault(), b());
1464
1464
  }, j = (E) => {
1465
1465
  const O = E.target, m = A.current?.contains(O), d = R.current?.contains(O);
1466
1466
  !m && !d && b();
1467
1467
  };
1468
- return l && (document.addEventListener("mousedown", j), document.addEventListener("keydown", $)), () => {
1468
+ return i && (document.addEventListener("mousedown", j), document.addEventListener("keydown", $)), () => {
1469
1469
  document.removeEventListener("mousedown", j), document.removeEventListener("keydown", $);
1470
1470
  };
1471
- }, [l, b]), W(() => {
1472
- if (!l) return;
1471
+ }, [i, b]), W(() => {
1472
+ if (!i) return;
1473
1473
  const $ = R.current;
1474
1474
  if (!$) return;
1475
1475
  const j = (O) => {
@@ -1490,7 +1490,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1490
1490
  return document.addEventListener("focusin", j), document.addEventListener("keydown", E), () => {
1491
1491
  document.removeEventListener("focusin", j), document.removeEventListener("keydown", E);
1492
1492
  };
1493
- }, [l]);
1493
+ }, [i]);
1494
1494
  const D = h && v.triggerRect ? {
1495
1495
  position: "fixed",
1496
1496
  zIndex: 1e3,
@@ -1513,7 +1513,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1513
1513
  ref: R,
1514
1514
  className: V(ce.dropdown, n),
1515
1515
  style: D,
1516
- "aria-hidden": !l,
1516
+ "aria-hidden": !i,
1517
1517
  "data-variant": s,
1518
1518
  "data-color": p,
1519
1519
  "data-expanded": N,
@@ -1528,15 +1528,15 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1528
1528
  /* @__PURE__ */ a(ve, { size: "sm", variant: "outline", onClick: b, "aria-label": f, children: /* @__PURE__ */ a(Ae, {}) })
1529
1529
  ] }),
1530
1530
  /* @__PURE__ */ a("div", { className: ce.content, children: _ }),
1531
- i && /* @__PURE__ */ a("footer", { className: ce.footer, children: /* @__PURE__ */ a(ve, { size: "lg", variant: "solid", onClick: w || b, rounded: !0, children: /* @__PURE__ */ a("span", { "data-size": "md", children: i }) }) })
1531
+ l && /* @__PURE__ */ a("footer", { className: ce.footer, children: /* @__PURE__ */ a(ve, { size: "lg", variant: "solid", onClick: w || b, rounded: !0, children: /* @__PURE__ */ a("span", { "data-size": "md", children: l }) }) })
1532
1532
  ]
1533
1533
  }
1534
1534
  );
1535
1535
  return /* @__PURE__ */ I(xe, { children: [
1536
- t && /* @__PURE__ */ a("div", { className: ce.backdrop, "aria-hidden": !l }),
1536
+ t && /* @__PURE__ */ a("div", { className: ce.backdrop, "aria-hidden": !i }),
1537
1537
  /* @__PURE__ */ I("div", { id: e + "-root", ref: A, style: { position: "relative", display: "inline-block" }, children: [
1538
1538
  c,
1539
- h ? it(M, document.body) : M
1539
+ h ? lt(M, document.body) : M
1540
1540
  ] })
1541
1541
  ] });
1542
1542
  }, qn = "_section_1v20z_1", Kn = "_header_1v20z_7", Vn = "_list_1v20z_13", _e = {
@@ -1557,12 +1557,12 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1557
1557
  e && /* @__PURE__ */ a(me, { as: "h1", size: "lg", children: e }),
1558
1558
  o && /* @__PURE__ */ a(Ke, { as: "p", size: "sm", variant: "subtle", className: _e.description, children: o })
1559
1559
  ] }) : null,
1560
- f?.map((i, c) => {
1561
- const _ = i.props || {};
1560
+ f?.map((l, c) => {
1561
+ const _ = l.props || {};
1562
1562
  return /* @__PURE__ */ I(He, { children: [
1563
1563
  _?.title && /* @__PURE__ */ a(me, { as: "h2", size: "lg", children: _.title }),
1564
- /* @__PURE__ */ a("ul", { className: _e.list, children: i?.items.map((l, b) => {
1565
- const p = l.props || {};
1564
+ /* @__PURE__ */ a("ul", { className: _e.list, children: l?.items.map((i, b) => {
1565
+ const p = i.props || {};
1566
1566
  return /* @__PURE__ */ st(rt, { ...p, highlightWords: s, key: "dialog-list-item" + b });
1567
1567
  }) })
1568
1568
  ] }, "dialog-list-item" + c);
@@ -1591,10 +1591,10 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1591
1591
  controls: s,
1592
1592
  selectable: u,
1593
1593
  selected: f,
1594
- status: i,
1594
+ status: l,
1595
1595
  extendedStatusLabel: c,
1596
1596
  sender: _,
1597
- recipient: l,
1597
+ recipient: i,
1598
1598
  recipientLabel: b = "to",
1599
1599
  grouped: p = !1,
1600
1600
  updatedAt: w,
@@ -1665,7 +1665,7 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1665
1665
  size: "xs",
1666
1666
  loading: r,
1667
1667
  sender: _,
1668
- recipient: l,
1668
+ recipient: i,
1669
1669
  recipientLabel: b,
1670
1670
  grouped: p
1671
1671
  }
@@ -1689,7 +1689,7 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1689
1689
  className: X.footer,
1690
1690
  loading: r,
1691
1691
  badge: S,
1692
- status: i,
1692
+ status: l,
1693
1693
  extendedStatusLabel: c,
1694
1694
  draftsLabel: m,
1695
1695
  sentCount: d,
@@ -1725,10 +1725,10 @@ const rr = ({
1725
1725
  updatedAtLabel: s,
1726
1726
  dueAt: u,
1727
1727
  dueAtLabel: f,
1728
- archivedAt: i,
1728
+ archivedAt: l,
1729
1729
  archivedAtLabel: c,
1730
1730
  trashedAt: _,
1731
- trashedAtLabel: l,
1731
+ trashedAtLabel: i,
1732
1732
  draftsLabel: b,
1733
1733
  sentCount: p = 0,
1734
1734
  receivedCount: w = 0,
@@ -1746,12 +1746,24 @@ const rr = ({
1746
1746
  /* @__PURE__ */ a("strong", { children: t && t.name + ", " }),
1747
1747
  s
1748
1748
  ] }),
1749
- u && f && /* @__PURE__ */ a(ee, { tooltip: y.dueAt, loading: o, datetime: u, size: "xs", icon: gt, children: f }),
1750
- z > 0 && /* @__PURE__ */ a(ee, { tooltip: y.attachments, loading: o, size: "xs", icon: yt, children: h || z }),
1749
+ z > 0 && /* @__PURE__ */ a(ee, { tooltip: y.attachments, loading: o, size: "xs", icon: gt, children: h || z }),
1751
1750
  N && /* @__PURE__ */ a(ee, { tooltip: y.transmissions, loading: o, size: "xs", icon: At, children: N }),
1752
1751
  p > 0 && /* @__PURE__ */ a(ee, { tooltip: y.sent, size: "xs", icon: Qe, children: p }),
1753
1752
  w > 0 && /* @__PURE__ */ a(ee, { tooltip: y.received, size: "xs", icon: Et, children: w }),
1754
- l && /* @__PURE__ */ a(
1753
+ u && f && /* @__PURE__ */ a(
1754
+ ee,
1755
+ {
1756
+ variant: "tinted",
1757
+ color: "warning",
1758
+ tooltip: y.dueAt,
1759
+ loading: o,
1760
+ datetime: u,
1761
+ size: "xs",
1762
+ icon: yt,
1763
+ children: f
1764
+ }
1765
+ ),
1766
+ i && /* @__PURE__ */ a(
1755
1767
  ee,
1756
1768
  {
1757
1769
  variant: "tinted",
@@ -1761,7 +1773,7 @@ const rr = ({
1761
1773
  datetime: _,
1762
1774
  size: "xs",
1763
1775
  icon: Ht,
1764
- children: l
1776
+ children: i
1765
1777
  }
1766
1778
  ) || c && /* @__PURE__ */ a(
1767
1779
  ee,
@@ -1770,7 +1782,7 @@ const rr = ({
1770
1782
  color: "neutral",
1771
1783
  tooltip: y.archivedAt,
1772
1784
  loading: o,
1773
- datetime: i,
1785
+ datetime: l,
1774
1786
  size: "xs",
1775
1787
  icon: kt,
1776
1788
  children: c
@@ -1801,18 +1813,18 @@ const rr = ({
1801
1813
  /* @__PURE__ */ a("strong", { children: e?.name }),
1802
1814
  " ",
1803
1815
  o && n + " " + o?.name
1804
- ] }), ar = "_media_1x8z9_1", sr = "_icon_1x8z9_10", lr = "_avatarGroup_1x8z9_17", de = {
1816
+ ] }), ar = "_media_1x8z9_1", sr = "_icon_1x8z9_10", ir = "_avatarGroup_1x8z9_17", de = {
1805
1817
  media: ar,
1806
1818
  icon: sr,
1807
- avatarGroup: lr
1819
+ avatarGroup: ir
1808
1820
  };
1809
- function ir(e) {
1821
+ function lr(e) {
1810
1822
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || Ge(e);
1811
1823
  }
1812
1824
  const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "number" ? !1 : /* @__PURE__ */ I("span", { className: de.media, "data-size": e, children: [
1813
- Ee(o) && /* @__PURE__ */ a(je, { ...o, className: de.avatar }) || Se(o) && /* @__PURE__ */ a(be, { ...o, className: de.avatarGroup }) || ze(o) && /* @__PURE__ */ a(se, { ...o, className: de.icon }) || ir(o) && o || /* @__PURE__ */ a(se, { svgElement: o, className: de.icon }),
1825
+ Ee(o) && /* @__PURE__ */ a(je, { ...o, className: de.avatar }) || Se(o) && /* @__PURE__ */ a(be, { ...o, className: de.avatarGroup }) || ze(o) && /* @__PURE__ */ a(se, { ...o, className: de.icon }) || lr(o) && o || /* @__PURE__ */ a(se, { svgElement: o, className: de.icon }),
1814
1826
  n && /* @__PURE__ */ a(Ot, { value: n, className: de.icon })
1815
- ] }), cr = "_item_ugak2_1", dr = "_label_ugak2_53", we = {
1827
+ ] }), cr = "_item_cqtms_1", dr = "_label_cqtms_54", we = {
1816
1828
  item: cr,
1817
1829
  label: dr
1818
1830
  }, ee = ({
@@ -1824,10 +1836,10 @@ const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "numb
1824
1836
  variant: s,
1825
1837
  color: u,
1826
1838
  icon: f,
1827
- children: i,
1839
+ children: l,
1828
1840
  datetime: c,
1829
1841
  tooltip: _,
1830
- ...l
1842
+ ...i
1831
1843
  }) => {
1832
1844
  const b = e || (c ? "time" : "span");
1833
1845
  return _ ? /* @__PURE__ */ a($e, { content: _, placement: "bottom", children: /* @__PURE__ */ a(
@@ -1838,10 +1850,10 @@ const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "numb
1838
1850
  "data-variant": s,
1839
1851
  dateTime: c,
1840
1852
  className: V(we.item, n),
1841
- ...l,
1853
+ ...i,
1842
1854
  children: /* @__PURE__ */ I(ue, { loading: o, children: [
1843
1855
  !o && f && /* @__PURE__ */ a(Fe, { size: r, icon: f }),
1844
- /* @__PURE__ */ a("span", { className: we.label, children: i })
1856
+ /* @__PURE__ */ a("span", { className: we.label, children: l })
1845
1857
  ] })
1846
1858
  }
1847
1859
  ) }) : /* @__PURE__ */ a(
@@ -1852,10 +1864,10 @@ const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "numb
1852
1864
  "data-variant": s,
1853
1865
  dateTime: c,
1854
1866
  className: V(we.item, n),
1855
- ...l,
1867
+ ...i,
1856
1868
  children: /* @__PURE__ */ I(ue, { loading: o, children: [
1857
1869
  !o && f && /* @__PURE__ */ a(Fe, { size: r, icon: f }),
1858
- /* @__PURE__ */ a("span", { className: we.label, children: i })
1870
+ /* @__PURE__ */ a("span", { className: we.label, children: l })
1859
1871
  ] })
1860
1872
  }
1861
1873
  );
@@ -1888,19 +1900,19 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1888
1900
  dropdownSize: s = "sm",
1889
1901
  id: u = "toolbar-menu",
1890
1902
  onSelectId: f,
1891
- ...i
1903
+ ...l
1892
1904
  }) => {
1893
- const c = _t({ id: u, returnFocusOnClose: !0 }), _ = i.searchable ? "combobox" : "menu", l = qe(
1905
+ const c = _t({ id: u, returnFocusOnClose: !0 }), _ = l.searchable ? "combobox" : "menu", i = qe(
1894
1906
  (p) => {
1895
1907
  f?.(p?.id ?? ""), p?.role !== "checkbox" && c.setOpen(!1);
1896
1908
  },
1897
1909
  [f, c]
1898
- ), b = le(
1910
+ ), b = ie(
1899
1911
  () => r.map((p) => ({
1900
1912
  ...p,
1901
- onClick: () => l(p)
1913
+ onClick: () => i(p)
1902
1914
  })),
1903
- [r, l]
1915
+ [r, i]
1904
1916
  );
1905
1917
  return e ? /* @__PURE__ */ I(ve, { className: he.button, variant: n, disabled: !0, children: [
1906
1918
  /* @__PURE__ */ a("span", { className: he.label, children: o }),
@@ -1930,16 +1942,16 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1930
1942
  ),
1931
1943
  open: c.open,
1932
1944
  onClose: () => c.setOpen(!1),
1933
- ...i?.searchable ? {} : c.dropdownA11yProps,
1945
+ ...l?.searchable ? {} : c.dropdownA11yProps,
1934
1946
  children: /* @__PURE__ */ a(
1935
1947
  et,
1936
1948
  {
1937
- ...i,
1949
+ ...l,
1938
1950
  items: b,
1939
1951
  keyboardEvents: c.open,
1940
1952
  a11yMode: _,
1941
1953
  open: c.open,
1942
- scrollToTopOnOpen: i.virtualized,
1954
+ scrollToTopOnOpen: l.virtualized,
1943
1955
  ..._ === "combobox" ? { id: c.menuId } : c.menuA11yProps
1944
1956
  }
1945
1957
  )
@@ -1956,10 +1968,10 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1956
1968
  loading: s,
1957
1969
  collapsible: u,
1958
1970
  clearButtonAltText: f = "Clear search",
1959
- onChange: i,
1971
+ onChange: l,
1960
1972
  onClear: c,
1961
1973
  onKeyDown: _,
1962
- menu: l,
1974
+ menu: i,
1963
1975
  minLength: b,
1964
1976
  disabled: p
1965
1977
  }) => /* @__PURE__ */ a(
@@ -1972,7 +1984,7 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1972
1984
  name: t,
1973
1985
  placeholder: r,
1974
1986
  clearButtonAltText: f,
1975
- onChange: i,
1987
+ onChange: l,
1976
1988
  onClear: c,
1977
1989
  onKeyDown: _,
1978
1990
  collapsible: u,
@@ -1981,43 +1993,43 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1981
1993
  type: "search",
1982
1994
  minLength: b,
1983
1995
  loading: s,
1984
- menu: l,
1996
+ menu: i,
1985
1997
  disabled: p
1986
1998
  }
1987
1999
  )
1988
2000
  );
1989
2001
  export {
1990
2002
  te as B,
1991
- Un as D,
2003
+ or as D,
1992
2004
  Qt as F,
1993
2005
  me as H,
1994
2006
  se as I,
1995
2007
  et as M,
1996
2008
  Jr as R,
1997
2009
  Pe as S,
1998
- eo as T,
2010
+ Zr as T,
1999
2011
  Zt as V,
2000
2012
  $n as a,
2001
- rt as b,
2002
- rr as c,
2003
- or as d,
2004
- ur as e,
2005
- mr as f,
2013
+ Un as b,
2014
+ rt as c,
2015
+ rr as d,
2016
+ mr as e,
2017
+ ur as f,
2006
2018
  Gn as g,
2007
- Te as h,
2008
- ze as i,
2009
- Le as j,
2010
- tt as k,
2011
- Je as l,
2012
- Xe as m,
2019
+ Le as h,
2020
+ Te as i,
2021
+ tt as j,
2022
+ Je as k,
2023
+ Xe as l,
2024
+ ee as m,
2013
2025
  Fe as n,
2014
- ee as o,
2015
- Zr as p,
2016
- Bt as q,
2017
- Qe as r,
2026
+ Qe as o,
2027
+ zt as p,
2028
+ Be as q,
2029
+ Bt as r,
2018
2030
  Ae as s,
2019
- Be as t,
2020
- tn as u,
2021
- zt as v,
2022
- on as w
2031
+ eo as t,
2032
+ ze as u,
2033
+ on as v,
2034
+ tn as w
2023
2035
  };