@altinn/altinn-components 0.63.4 → 0.63.6

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 (217) hide show
  1. package/dist/{ToolbarSearch-CDOcKzpM.js → ToolbarSearch-75dn6Vnh.js} +208 -207
  2. package/dist/assets/ToolbarSearch.css +1 -1
  3. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +4 -3
  4. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +10 -9
  5. package/dist/components/Account/AccountList.js +8 -7
  6. package/dist/components/Account/AccountListItem.js +8 -7
  7. package/dist/components/Account/AccountListItemControls.js +4 -3
  8. package/dist/components/Account/AccountListItemDetails.js +4 -3
  9. package/dist/components/Account/AccountListVirtual.js +4 -3
  10. package/dist/components/Account/AccountMenu.js +8 -7
  11. package/dist/components/Account/AccountNotificationSettings.js +8 -7
  12. package/dist/components/Account/AccountOrganization.js +4 -3
  13. package/dist/components/AccountSelector/AccountSelector.js +18 -19
  14. package/dist/components/ActivityLog/ActivityLog.js +4 -3
  15. package/dist/components/ActivityLog/ActivityLogItem.js +4 -3
  16. package/dist/components/ActivityLog/ActivityLogSegment.js +4 -3
  17. package/dist/components/Alert/Alert.js +8 -7
  18. package/dist/components/Article/Article.js +4 -3
  19. package/dist/components/Article/ArticleContact.js +4 -3
  20. package/dist/components/Article/ArticleHeader.js +4 -3
  21. package/dist/components/Attachment/AttachmentLink.js +1 -1
  22. package/dist/components/Badge/Badge.js +3 -2
  23. package/dist/components/Badge/index.js +1 -1
  24. package/dist/components/Banner/Banner.js +4 -3
  25. package/dist/components/Bookmarks/BookmarkModal.js +7 -6
  26. package/dist/components/Bookmarks/BookmarkSettingsItem.js +4 -3
  27. package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +7 -6
  28. package/dist/components/Bookmarks/BookmarkSettingsList.js +8 -7
  29. package/dist/components/Breadcrumbs/Breadcrumbs.js +4 -3
  30. package/dist/components/Bulk/BulkHeader.js +8 -7
  31. package/dist/components/Button/Button.js +4 -4
  32. package/dist/components/Button/ButtonIcon.js +4 -3
  33. package/dist/components/Button/ComboButton.js +4 -3
  34. package/dist/components/Button/FloatingActionButton.js +4 -3
  35. package/dist/components/Button/IconButton.js +7 -6
  36. package/dist/components/Byline/Byline.js +3 -2
  37. package/dist/components/Byline/index.js +1 -1
  38. package/dist/components/ContextMenu/ContextMenu.js +17 -16
  39. package/dist/components/Dashboard/DashboardCard.js +22 -40
  40. package/dist/components/Dashboard/DashboardHeader.js +8 -7
  41. package/dist/components/Datepicker/Datepicker.js +1 -1
  42. package/dist/components/Datepicker/DatepickerHeader.js +7 -6
  43. package/dist/components/Datepicker/DatepickerTable.js +11 -10
  44. package/dist/components/Dialog/Dialog.js +4 -3
  45. package/dist/components/Dialog/DialogActions.js +4 -3
  46. package/dist/components/Dialog/DialogActivityLog.js +4 -3
  47. package/dist/components/Dialog/DialogAttachments.js +5 -4
  48. package/dist/components/Dialog/DialogBody.js +4 -3
  49. package/dist/components/Dialog/DialogByline.js +3 -2
  50. package/dist/components/Dialog/DialogContact.js +4 -3
  51. package/dist/components/Dialog/DialogHeader.js +8 -7
  52. package/dist/components/Dialog/DialogHistory.js +8 -7
  53. package/dist/components/Dialog/DialogHistoryItem.js +4 -3
  54. package/dist/components/Dialog/DialogHistorySegment.js +4 -3
  55. package/dist/components/Dialog/DialogLayout.js +7 -6
  56. package/dist/components/Dialog/DialogList.js +3 -2
  57. package/dist/components/Dialog/DialogListItem.js +3 -2
  58. package/dist/components/Dialog/DialogMetadata.js +3 -2
  59. package/dist/components/Dialog/DialogSection.js +6 -5
  60. package/dist/components/Dialog/DialogSeenBy.js +19 -18
  61. package/dist/components/Dialog/DialogSelect.js +10 -9
  62. package/dist/components/Dialog/DialogStatus.js +4 -3
  63. package/dist/components/Dialog/DialogTabs.js +4 -3
  64. package/dist/components/Dialog/SeenByLog.js +10 -9
  65. package/dist/components/Dialog/SeenByLogButton.js +4 -3
  66. package/dist/components/Dialog/SeenByLogItem.js +8 -7
  67. package/dist/components/Dialog/index.js +1 -1
  68. package/dist/components/Dropdown/DrawerButton.js +4 -3
  69. package/dist/components/Dropdown/DrawerHeader.js +4 -3
  70. package/dist/components/Dropdown/Dropdown.js +3 -2
  71. package/dist/components/Dropdown/DropdownBase.js +4 -3
  72. package/dist/components/Dropdown/FloatingDropdown.js +4 -3
  73. package/dist/components/Dropdown/index.js +1 -1
  74. package/dist/components/DsComponents/index.js +26 -31
  75. package/dist/components/Forms/Checkbox.js +4 -3
  76. package/dist/components/Forms/CheckboxOptions.js +4 -3
  77. package/dist/components/Forms/Field.js +6 -5
  78. package/dist/components/Forms/FieldBase.js +3 -2
  79. package/dist/components/Forms/Fieldset.js +10 -23
  80. package/dist/components/Forms/FieldsetBase.js +4 -3
  81. package/dist/components/Forms/Input.js +8 -7
  82. package/dist/components/Forms/Label.js +3 -2
  83. package/dist/components/Forms/Legend.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/Select.js +5 -23
  88. package/dist/components/Forms/SelectField.js +4 -3
  89. package/dist/components/Forms/Switch.js +4 -3
  90. package/dist/components/Forms/SwitchOptions.js +4 -3
  91. package/dist/components/Forms/TextField.js +4 -3
  92. package/dist/components/Forms/TextFieldDropdown.js +4 -3
  93. package/dist/components/Forms/Textarea.js +4 -3
  94. package/dist/components/Forms/TextareaField.js +4 -3
  95. package/dist/components/Forms/index.js +1 -1
  96. package/dist/components/GlobalHeader/GlobalAccountButton.js +4 -3
  97. package/dist/components/GlobalHeader/GlobalHeader.js +29 -28
  98. package/dist/components/GlobalHeader/GlobalMenuButton.js +7 -6
  99. package/dist/components/GlobalHeader/HeaderDrawer.js +12 -11
  100. package/dist/components/GlobalHeader/HeaderDropdown.js +6 -5
  101. package/dist/components/GlobalHeader/HeaderLogo.js +4 -3
  102. package/dist/components/GlobalMenu/GlobalMenu.js +11 -10
  103. package/dist/components/GlobalMenu/LocaleSwitcher.js +4 -3
  104. package/dist/components/GlobalMenu/LogoutButton.js +7 -6
  105. package/dist/components/Icon/Icon.js +4 -3
  106. package/dist/components/Icon/index.js +1 -1
  107. package/dist/components/Inbox/InboxPage.js +7 -6
  108. package/dist/components/InboxSearch/InboxSearch.js +7 -6
  109. package/dist/components/Item/ItemLabel.js +1 -1
  110. package/dist/components/Item/ItemMedia.js +3 -2
  111. package/dist/components/Item/ItemSelect.js +5 -4
  112. package/dist/components/Item/index.js +1 -1
  113. package/dist/components/Layout/Layout.js +8 -7
  114. package/dist/components/List/List.js +4 -3
  115. package/dist/components/List/ListBase.js +4 -3
  116. package/dist/components/List/ListItemHeader.js +14 -13
  117. package/dist/components/List/ListItemIcon.js +5 -4
  118. package/dist/components/List/ListItemLabel.js +12 -11
  119. package/dist/components/Menu/Menu.js +1 -1
  120. package/dist/components/Menu/MenuItem.js +3 -2
  121. package/dist/components/Menu/MenuItems.js +3 -2
  122. package/dist/components/Menu/MenuListSearch.js +3 -2
  123. package/dist/components/Menu/MenuOption.js +1 -1
  124. package/dist/components/Menu/TabMenu.js +4 -3
  125. package/dist/components/Menu/VirtualizedMenuItems.js +3 -2
  126. package/dist/components/Menu/index.js +1 -1
  127. package/dist/components/Menu/useMenuSearch.js +1 -1
  128. package/dist/components/Metadata/MetaItem.js +1 -1
  129. package/dist/components/Metadata/MetaItemIcon.js +3 -2
  130. package/dist/components/Metadata/MetaTimestamp.js +1 -1
  131. package/dist/components/Metadata/Metadata.js +4 -3
  132. package/dist/components/Metadata/index.js +1 -1
  133. package/dist/components/Modal/Modal.js +4 -3
  134. package/dist/components/Modal/ModalBase.js +4 -3
  135. package/dist/components/Modal/ModalHeader.js +4 -3
  136. package/dist/components/Modal/ModalIcon.js +6 -5
  137. package/dist/components/Notifications/NotificationItem.js +4 -3
  138. package/dist/components/Notifications/NotificationItemBase.js +4 -3
  139. package/dist/components/Notifications/NotificationItemControls.js +7 -6
  140. package/dist/components/Notifications/NotificationItemIcon.js +6 -5
  141. package/dist/components/Page/AccordionSection.js +4 -3
  142. package/dist/components/Page/ContactButtons.js +4 -3
  143. package/dist/components/Page/ContactSection.js +4 -3
  144. package/dist/components/Page/PageDetails.js +7 -6
  145. package/dist/components/Page/PageMenu.js +9 -8
  146. package/dist/components/Page/PageNav.js +8 -7
  147. package/dist/components/Page/Section.js +8 -7
  148. package/dist/components/Pagination/Pagination.js +11 -10
  149. package/dist/components/ResourceListItem/ResourceListItem.js +4 -3
  150. package/dist/components/RootProvider/RootProvider.js +4 -3
  151. package/dist/components/RootProvider/index.js +1 -1
  152. package/dist/components/Search/SearchItem.js +8 -7
  153. package/dist/components/Searchbar/Autocomplete.js +11 -10
  154. package/dist/components/Searchbar/AutocompleteItem.js +4 -3
  155. package/dist/components/Searchbar/Searchbar.js +8 -7
  156. package/dist/components/Searchbar/SearchbarField.js +8 -7
  157. package/dist/components/Settings/SettingsItem.js +4 -3
  158. package/dist/components/Settings/SettingsItemBase.js +13 -12
  159. package/dist/components/Settings/SettingsList.js +4 -3
  160. package/dist/components/Settings/SettingsListVirtual.js +4 -3
  161. package/dist/components/Settings/SettingsModal.js +4 -3
  162. package/dist/components/Settings/SettingsSection.js +10 -9
  163. package/dist/components/Settings/UsedByLog.js +12 -11
  164. package/dist/components/Settings/UsedByLogItem.js +10 -9
  165. package/dist/components/SkipLink/SkipLink.js +9 -12
  166. package/dist/components/Snackbar/SnackbarItem.js +4 -3
  167. package/dist/components/Timeline/Timeline.js +4 -3
  168. package/dist/components/Timeline/TimelineActivity.js +4 -3
  169. package/dist/components/Timeline/TimelineBase.js +8 -7
  170. package/dist/components/Timeline/TimelineFooter.js +4 -3
  171. package/dist/components/Timeline/TimelineHeader.js +4 -3
  172. package/dist/components/Timeline/TimelineIcon.js +6 -5
  173. package/dist/components/Timeline/TimelineSection.js +4 -3
  174. package/dist/components/Timeline/TimelineSegment.js +4 -3
  175. package/dist/components/Toolbar/DatepickerFilter.js +5 -4
  176. package/dist/components/Toolbar/SelectDateFilter.js +4 -3
  177. package/dist/components/Toolbar/Toolbar.js +1 -1
  178. package/dist/components/Toolbar/ToolbarFilter.js +4 -3
  179. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +4 -3
  180. package/dist/components/Toolbar/ToolbarFilterButton.js +4 -3
  181. package/dist/components/Toolbar/ToolbarFilterMenu.js +12 -11
  182. package/dist/components/Toolbar/ToolbarMenu.js +3 -2
  183. package/dist/components/Toolbar/ToolbarSearch.js +3 -2
  184. package/dist/components/Toolbar/index.js +1 -1
  185. package/dist/components/Tooltip/Tooltip.js +7 -99
  186. package/dist/components/Transmission/Transmission.js +4 -3
  187. package/dist/components/Transmission/TransmissionList.js +10 -9
  188. package/dist/components/Transmission/TransmissionType.js +4 -3
  189. package/dist/components/Typography/Heading.js +3 -2
  190. package/dist/components/Typography/Link.js +4 -4
  191. package/dist/components/Typography/index.js +1 -1
  192. package/dist/components/UserListItem/UserListItem.js +4 -3
  193. package/dist/components/index.js +421 -426
  194. package/dist/hooks/useAccountSelector.js +4 -3
  195. package/dist/index.js +434 -439
  196. package/dist/tooltip-B5zQ3zF0.js +6303 -0
  197. package/dist/types/lib/components/Toolbar/ToolbarSearch.stories.d.ts +2 -0
  198. package/dist/types/lib/components/UserListItem/UserListItem.d.ts +1 -1
  199. package/dist/types/lib/components/UserListItem/UserListItem.stories.d.ts +7 -0
  200. package/dist/use-pagination-mAaJfKMF.js +52 -0
  201. package/package.json +4 -4
  202. package/dist/alert-BzifOfXl.js +0 -10
  203. package/dist/button-BB5sYVKY.js +0 -38
  204. package/dist/fieldset-legend-B6lDmp0N.js +0 -10
  205. package/dist/floating-ui.dom-bEgaHJCq.js +0 -997
  206. package/dist/heading-C_XYsUfi.js +0 -12
  207. package/dist/index-D7FJjvrv.js +0 -86
  208. package/dist/index-Q0EA2XB0.js +0 -111
  209. package/dist/index-z82sbSVU.js +0 -105
  210. package/dist/input-wBv_FkEV.js +0 -12
  211. package/dist/label-xTmTyPhk.js +0 -11
  212. package/dist/link-D1SA3LCe.js +0 -10
  213. package/dist/lite-1fxw3LjI.js +0 -7
  214. package/dist/paragraph-BRiIBpbY.js +0 -11
  215. package/dist/textarea-BBstVlPT.js +0 -10
  216. package/dist/textfield-f4Za2qt6.js +0 -3484
  217. package/dist/use-merge-refs-Cj4kTYVj.js +0 -29
@@ -1,7 +1,8 @@
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 E, { forwardRef as Y, useRef as J, useState as oe, useMemo as le, useEffect as W, Fragment as He, useLayoutEffect as Ee, createContext as ot, useContext as at, isValidElement as Ge, useId as De, useCallback as qe, memo as Oe, createElement as st } 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";
5
6
  import { c as V } from "./index-p1eeF8LQ.js";
6
7
  import { useEscapeKey as lt } from "./hooks/useEscapeKey.js";
7
8
  import "./components/Typography/Link.js";
@@ -19,8 +20,8 @@ import { Field as mt } from "./components/Forms/Field.js";
19
20
  import { Label as ft } from "./components/Forms/Label.js";
20
21
  import { TypingIcon as pt } from "./components/Icon/TypingIcon.js";
21
22
  import { u as Q } from "./useId-BVFxCjkq.js";
22
- import { isAvatarProps as Se, Avatar as je } from "./components/Avatar/Avatar.js";
23
- import { isAvatarGroupProps as ke, AvatarGroup as be } from "./components/Avatar/AvatarGroup.js";
23
+ import { isAvatarProps as Ee, Avatar as je } from "./components/Avatar/Avatar.js";
24
+ import { isAvatarGroupProps as Se, AvatarGroup as be } from "./components/Avatar/AvatarGroup.js";
24
25
  import { ItemControls as Re } from "./components/Item/ItemControls.js";
25
26
  import { pickAriaProps as ht } from "./components/Menu/aria.js";
26
27
  import { MenuList as Ie } from "./components/Menu/MenuList.js";
@@ -43,17 +44,17 @@ import './assets/ToolbarSearch.css';var Nt = function(e, o) {
43
44
  o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
44
45
  return n;
45
46
  };
46
- const Ct = Y((e, o) => {
47
+ const kt = Y((e, o) => {
47
48
  var { title: n, titleId: t } = e, r = Nt(e, ["title", "titleId"]);
48
49
  let s = Q();
49
- return s = n ? t || "title-" + s : void 0, E.createElement(
50
+ return s = n ? t || "title-" + s : void 0, C.createElement(
50
51
  "svg",
51
52
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
52
- n ? E.createElement("title", { id: s }, n) : null,
53
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v3.5c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm15.5 6a.25.25 0 0 1 .25.25V19A1.75 1.75 0 0 1 18 20.75H6A1.75 1.75 0 0 1 4.25 19V9.5a.25.25 0 0 1 .25-.25zm-4.75 3.25a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75", clipRule: "evenodd" })
53
+ n ? C.createElement("title", { id: s }, n) : null,
54
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v3.5c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm15.5 6a.25.25 0 0 1 .25.25V19A1.75 1.75 0 0 1 18 20.75H6A1.75 1.75 0 0 1 4.25 19V9.5a.25.25 0 0 1 .25-.25zm-4.75 3.25a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75", clipRule: "evenodd" })
54
55
  );
55
56
  });
56
- var Et = function(e, o) {
57
+ var Ct = function(e, o) {
57
58
  var n = {};
58
59
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (n[t] = e[t]);
59
60
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -61,17 +62,17 @@ var Et = function(e, o) {
61
62
  o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
62
63
  return n;
63
64
  };
64
- const St = Y((e, o) => {
65
- var { title: n, titleId: t } = e, r = Et(e, ["title", "titleId"]);
65
+ const Et = Y((e, o) => {
66
+ var { title: n, titleId: t } = e, r = Ct(e, ["title", "titleId"]);
66
67
  let s = Q();
67
- return s = n ? t || "title-" + s : void 0, E.createElement(
68
+ return s = n ? t || "title-" + s : void 0, C.createElement(
68
69
  "svg",
69
70
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
70
- n ? E.createElement("title", { id: s }, n) : null,
71
- E.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
71
+ n ? C.createElement("title", { id: s }, n) : null,
72
+ C.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
72
73
  );
73
74
  });
74
- var kt = function(e, o) {
75
+ var St = function(e, o) {
75
76
  var n = {};
76
77
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (n[t] = e[t]);
77
78
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -80,13 +81,13 @@ var kt = function(e, o) {
80
81
  return n;
81
82
  };
82
83
  const Qe = Y((e, o) => {
83
- var { title: n, titleId: t } = e, r = kt(e, ["title", "titleId"]);
84
+ var { title: n, titleId: t } = e, r = St(e, ["title", "titleId"]);
84
85
  let s = Q();
85
- return s = n ? t || "title-" + s : void 0, E.createElement(
86
+ return s = n ? t || "title-" + s : void 0, C.createElement(
86
87
  "svg",
87
88
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
88
- n ? E.createElement("title", { id: s }, n) : null,
89
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
89
+ n ? C.createElement("title", { id: s }, n) : null,
90
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
90
91
  );
91
92
  });
92
93
  var Rt = function(e, o) {
@@ -97,17 +98,17 @@ var Rt = function(e, o) {
97
98
  o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
98
99
  return n;
99
100
  };
100
- const Pt = Y((e, o) => {
101
+ const zt = Y((e, o) => {
101
102
  var { title: n, titleId: t } = e, r = Rt(e, ["title", "titleId"]);
102
103
  let s = Q();
103
- return s = n ? t || "title-" + s : void 0, E.createElement(
104
+ return s = n ? t || "title-" + s : void 0, C.createElement(
104
105
  "svg",
105
106
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
106
- n ? E.createElement("title", { id: s }, n) : null,
107
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.47 5.97a.75.75 0 0 1 1.06 0l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 1 1-1.06-1.06L14.44 12 9.47 7.03a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
107
+ n ? C.createElement("title", { id: s }, n) : null,
108
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.47 5.97a.75.75 0 0 1 1.06 0l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 1 1-1.06-1.06L14.44 12 9.47 7.03a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
108
109
  );
109
110
  });
110
- var zt = function(e, o) {
111
+ var Pt = function(e, o) {
111
112
  var n = {};
112
113
  for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (n[t] = e[t]);
113
114
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -116,13 +117,13 @@ var zt = function(e, o) {
116
117
  return n;
117
118
  };
118
119
  const Be = Y((e, o) => {
119
- var { title: n, titleId: t } = e, r = zt(e, ["title", "titleId"]);
120
+ var { title: n, titleId: t } = e, r = Pt(e, ["title", "titleId"]);
120
121
  let s = Q();
121
- return s = n ? t || "title-" + s : void 0, E.createElement(
122
+ return s = n ? t || "title-" + s : void 0, C.createElement(
122
123
  "svg",
123
124
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
124
- n ? E.createElement("title", { id: s }, n) : null,
125
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06L12 6.06l2.97 2.97a.75.75 0 1 0 1.06-1.06zm-3.5 10.5a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06L12 17.94z", clipRule: "evenodd" })
125
+ n ? C.createElement("title", { id: s }, n) : null,
126
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06L12 6.06l2.97 2.97a.75.75 0 1 0 1.06-1.06zm-3.5 10.5a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06L12 17.94z", clipRule: "evenodd" })
126
127
  );
127
128
  });
128
129
  var Mt = function(e, o) {
@@ -136,11 +137,11 @@ var Mt = function(e, o) {
136
137
  const $t = Y((e, o) => {
137
138
  var { title: n, titleId: t } = e, r = Mt(e, ["title", "titleId"]);
138
139
  let s = Q();
139
- return s = n ? t || "title-" + s : void 0, E.createElement(
140
+ return s = n ? t || "title-" + s : void 0, C.createElement(
140
141
  "svg",
141
142
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
142
- n ? E.createElement("title", { id: s }, n) : null,
143
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 1.75a.75.75 0 0 1 .75.75v2.464a9.75 9.75 0 1 1 12.342 15.023.75.75 0 1 1-.86-1.229A8.251 8.251 0 1 0 6.084 6.25H9a.75.75 0 0 1 0 1.5H4.5A.75.75 0 0 1 3.75 7V2.5a.75.75 0 0 1 .75-.75M12.75 6a.75.75 0 0 0-1.5 0v6c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28zM3 11.25a.75.75 0 0 1 .75.75q0 .66.105 1.31a.75.75 0 0 1-1.481.24A10 10 0 0 1 2.25 12a.75.75 0 0 1 .75-.75m1.855 4.875a.75.75 0 0 0-1.299.75q.39.675.882 1.28a.75.75 0 1 0 1.163-.947 8 8 0 0 1-.746-1.083m1.995 3.294a.75.75 0 0 1 1.025-.274q.57.33 1.188.564a.75.75 0 1 1-.535 1.402 10 10 0 0 1-1.403-.667.75.75 0 0 1-.275-1.025m6.7 2.207a.75.75 0 1 0-.24-1.48q-.65.104-1.31.104a.75.75 0 0 0 0 1.5q.78 0 1.55-.124", clipRule: "evenodd" })
143
+ n ? C.createElement("title", { id: s }, n) : null,
144
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 1.75a.75.75 0 0 1 .75.75v2.464a9.75 9.75 0 1 1 12.342 15.023.75.75 0 1 1-.86-1.229A8.251 8.251 0 1 0 6.084 6.25H9a.75.75 0 0 1 0 1.5H4.5A.75.75 0 0 1 3.75 7V2.5a.75.75 0 0 1 .75-.75M12.75 6a.75.75 0 0 0-1.5 0v6c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28zM3 11.25a.75.75 0 0 1 .75.75q0 .66.105 1.31a.75.75 0 0 1-1.481.24A10 10 0 0 1 2.25 12a.75.75 0 0 1 .75-.75m1.855 4.875a.75.75 0 0 0-1.299.75q.39.675.882 1.28a.75.75 0 1 0 1.163-.947 8 8 0 0 1-.746-1.083m1.995 3.294a.75.75 0 0 1 1.025-.274q.57.33 1.188.564a.75.75 0 1 1-.535 1.402 10 10 0 0 1-1.403-.667.75.75 0 0 1-.275-1.025m6.7 2.207a.75.75 0 1 0-.24-1.48q-.65.104-1.31.104a.75.75 0 0 0 0 1.5q.78 0 1.55-.124", clipRule: "evenodd" })
144
145
  );
145
146
  });
146
147
  var jt = function(e, o) {
@@ -154,11 +155,11 @@ var jt = function(e, o) {
154
155
  const At = Y((e, o) => {
155
156
  var { title: n, titleId: t } = e, r = jt(e, ["title", "titleId"]);
156
157
  let s = Q();
157
- return s = n ? t || "title-" + s : void 0, E.createElement(
158
+ return s = n ? t || "title-" + s : void 0, C.createElement(
158
159
  "svg",
159
160
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
160
- n ? E.createElement("title", { id: s }, n) : null,
161
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
161
+ n ? C.createElement("title", { id: s }, n) : null,
162
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
162
163
  );
163
164
  });
164
165
  var Dt = function(e, o) {
@@ -172,11 +173,11 @@ var Dt = function(e, o) {
172
173
  const Bt = Y((e, o) => {
173
174
  var { title: n, titleId: t } = e, r = Dt(e, ["title", "titleId"]);
174
175
  let s = Q();
175
- return s = n ? t || "title-" + s : void 0, E.createElement(
176
+ return s = n ? t || "title-" + s : void 0, C.createElement(
176
177
  "svg",
177
178
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
178
- n ? E.createElement("title", { id: s }, n) : null,
179
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25M4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0", clipRule: "evenodd" })
179
+ n ? C.createElement("title", { id: s }, n) : null,
180
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25M4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0", clipRule: "evenodd" })
180
181
  );
181
182
  });
182
183
  var Tt = function(e, o) {
@@ -190,11 +191,11 @@ var Tt = function(e, o) {
190
191
  const Lt = Y((e, o) => {
191
192
  var { title: n, titleId: t } = e, r = Tt(e, ["title", "titleId"]);
192
193
  let s = Q();
193
- return s = n ? t || "title-" + s : void 0, E.createElement(
194
+ return s = n ? t || "title-" + s : void 0, C.createElement(
194
195
  "svg",
195
196
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
196
- n ? E.createElement("title", { id: s }, n) : null,
197
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
197
+ n ? C.createElement("title", { id: s }, n) : null,
198
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
198
199
  );
199
200
  });
200
201
  var Ft = function(e, o) {
@@ -208,11 +209,11 @@ var Ft = function(e, o) {
208
209
  const Ht = Y((e, o) => {
209
210
  var { title: n, titleId: t } = e, r = Ft(e, ["title", "titleId"]);
210
211
  let s = Q();
211
- return s = n ? t || "title-" + s : void 0, E.createElement(
212
+ return s = n ? t || "title-" + s : void 0, C.createElement(
212
213
  "svg",
213
214
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
214
- n ? E.createElement("title", { id: s }, n) : null,
215
- E.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10 4.75c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm6.75 1.5V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.875-11.384h.806a.75.75 0 0 0 0-1.5h-2.75m-6 4.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0zM14 9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75", clipRule: "evenodd" })
215
+ n ? C.createElement("title", { id: s }, n) : null,
216
+ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10 4.75c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm6.75 1.5V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.875-11.384h.806a.75.75 0 0 0 0-1.5h-2.75m-6 4.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0zM14 9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75", clipRule: "evenodd" })
216
217
  );
217
218
  });
218
219
  var Gt = function(e, o) {
@@ -226,11 +227,11 @@ var Gt = function(e, o) {
226
227
  const Ae = Y((e, o) => {
227
228
  var { title: n, titleId: t } = e, r = Gt(e, ["title", "titleId"]);
228
229
  let s = Q();
229
- return s = n ? t || "title-" + s : void 0, E.createElement(
230
+ return s = n ? t || "title-" + s : void 0, C.createElement(
230
231
  "svg",
231
232
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
232
- n ? E.createElement("title", { id: s }, n) : null,
233
- E.createElement("path", { fill: "currentColor", d: "M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z" })
233
+ n ? C.createElement("title", { id: s }, n) : null,
234
+ C.createElement("path", { fill: "currentColor", d: "M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z" })
234
235
  );
235
236
  }), qt = "_badge_5li3b_1", Kt = "_label_5li3b_33", ye = {
236
237
  badge: qt,
@@ -274,7 +275,7 @@ const Ae = Y((e, o) => {
274
275
  shape: Ut,
275
276
  svg: Wt,
276
277
  image: Yt
277
- }, Pe = (e) => typeof e == "object" && e !== null && ("svgElement" in e || "iconUrl" in e), se = ({
278
+ }, ze = (e) => typeof e == "object" && e !== null && ("svgElement" in e || "iconUrl" in e), se = ({
278
279
  loading: e,
279
280
  altText: o,
280
281
  svgElement: n,
@@ -293,7 +294,7 @@ const Ae = Y((e, o) => {
293
294
  n && /* @__PURE__ */ a(ft, { size: e, htmlFor: t, children: n }),
294
295
  s,
295
296
  r && /* @__PURE__ */ a(Ke, { size: "xs", children: r })
296
- ] }), Xt = "_search_18jfe_1", Jt = "_searchInput_18jfe_8", Ce = {
297
+ ] }), Xt = "_search_18jfe_1", Jt = "_searchInput_18jfe_8", ke = {
297
298
  search: Xt,
298
299
  searchInput: Jt
299
300
  }, Xe = ({
@@ -312,16 +313,16 @@ const Ae = Y((e, o) => {
312
313
  onKeyDown: b,
313
314
  onInput: p,
314
315
  onFocus: w,
315
- ...P
316
- }) => /* @__PURE__ */ a("li", { className: Ce.search, style: e, "data-index": o, "data-menu-search": "true", children: c ? (
316
+ ...z
317
+ }) => /* @__PURE__ */ a("li", { className: ke.search, style: e, "data-index": o, "data-menu-search": "true", children: c ? (
317
318
  // biome-ignore lint/a11y/useFocusableInteractive: <explanation>
318
319
  // biome-ignore lint/a11y/useAriaPropsForRole: <explanation>
319
320
  // biome-ignore lint/a11y/useSemanticElements: <explanation>
320
321
  /* @__PURE__ */ a("div", { role: "combobox", "aria-expanded": !0, "aria-haspopup": "listbox", "aria-owns": _, children: /* @__PURE__ */ a(
321
- ze,
322
+ Pe,
322
323
  {
323
324
  size: "xs",
324
- className: Ce.searchInput,
325
+ className: ke.searchInput,
325
326
  name: n,
326
327
  value: t,
327
328
  placeholder: r,
@@ -340,14 +341,14 @@ const Ae = Y((e, o) => {
340
341
  },
341
342
  onInput: p,
342
343
  onFocus: w,
343
- ...P
344
+ ...z
344
345
  }
345
346
  ) })
346
347
  ) : /* @__PURE__ */ a(
347
- ze,
348
+ Pe,
348
349
  {
349
350
  size: "xs",
350
- className: Ce.searchInput,
351
+ className: ke.searchInput,
351
352
  name: n,
352
353
  value: t,
353
354
  placeholder: r,
@@ -363,7 +364,7 @@ const Ae = Y((e, o) => {
363
364
  },
364
365
  onInput: p,
365
366
  onFocus: w,
366
- ...P
367
+ ...z
367
368
  }
368
369
  ) }), Je = ({
369
370
  level: e = 0,
@@ -381,7 +382,7 @@ const Ae = Y((e, o) => {
381
382
  size: b,
382
383
  id: p,
383
384
  color: w,
384
- variant: P,
385
+ variant: z,
385
386
  scrollRefStyles: h = {},
386
387
  keyboardEvents: N = !1,
387
388
  onSelect: A = () => {
@@ -390,13 +391,13 @@ const Ae = Y((e, o) => {
390
391
  }) => {
391
392
  if (o && e >= o)
392
393
  return null;
393
- const y = t === "combobox", v = y && p ? `${p}-listbox` : p, k = J(r), z = J(r), [D, M] = oe(!1), $ = le(
394
- () => _.map((d, C) => ({
394
+ const y = t === "combobox", v = y && p ? `${p}-listbox` : p, S = J(r), P = J(r), [D, M] = oe(!1), $ = le(
395
+ () => _.map((d, k) => ({
395
396
  ...d,
396
- id: d.id || `${p}-item-${C}`
397
+ id: d.id || `${p}-item-${k}`
397
398
  })),
398
399
  [_, p]
399
- ), j = J(null), { menu: S, setActiveIndex: O, activeItem: m } = Me({
400
+ ), j = J(null), { menu: E, setActiveIndex: O, activeItem: m } = Me({
400
401
  items: $,
401
402
  groups: l,
402
403
  groupByKey: "groupId",
@@ -409,14 +410,14 @@ const Ae = Y((e, o) => {
409
410
  R?.(m?.id);
410
411
  }, [m?.id, R]), W(() => {
411
412
  if (!s) {
412
- k.current = r;
413
+ S.current = r;
413
414
  return;
414
415
  }
415
- const d = k.current;
416
- k.current = r, r && !d && j.current?.scrollTo({ top: 0 });
416
+ const d = S.current;
417
+ S.current = r, r && !d && j.current?.scrollTo({ top: 0 });
417
418
  }, [r, s]), W(() => {
418
- const d = z.current;
419
- z.current = r, !(!N || c || !f) && r && !d && requestAnimationFrame(() => j.current?.focus?.({ preventScroll: !0 }));
419
+ const d = P.current;
420
+ P.current = r, !(!N || c || !f) && r && !d && requestAnimationFrame(() => j.current?.focus?.({ preventScroll: !0 }));
420
421
  }, [r, N, c]), W(() => {
421
422
  if (y && i) {
422
423
  O(0), M(!0);
@@ -425,7 +426,7 @@ const Ae = Y((e, o) => {
425
426
  }, [i, y, O]), /* @__PURE__ */ I(
426
427
  Ie,
427
428
  {
428
- variant: P,
429
+ variant: z,
429
430
  expanded: n,
430
431
  ref: j,
431
432
  style: h,
@@ -451,15 +452,15 @@ const Ae = Y((e, o) => {
451
452
  M(!1), c.onInput?.(d);
452
453
  },
453
454
  onKeyDown: (d) => {
454
- const C = d.key === "ArrowUp" || d.key === "ArrowDown", F = d.key.length === 1 || d.key === "Backspace" || d.key === "Delete";
455
- y && !C && F && M(!1), c.onKeyDown?.(d);
455
+ const k = d.key === "ArrowUp" || d.key === "ArrowDown", F = d.key.length === 1 || d.key === "Backspace" || d.key === "Delete";
456
+ y && !k && F && M(!1), c.onKeyDown?.(d);
456
457
  }
457
458
  }
458
459
  ),
459
- S.map((d, C) => {
460
+ E.map((d, k) => {
460
461
  const F = d?.props || {}, { title: H, hidden: L = !1, divider: q = !0 } = F;
461
462
  return /* @__PURE__ */ I(He, { children: [
462
- (e > 0 || C) && q ? /* @__PURE__ */ a(We, {}) : "",
463
+ (e > 0 || k) && q ? /* @__PURE__ */ a(We, {}) : "",
463
464
  /* @__PURE__ */ a(Ue, { hidden: L, children: /* @__PURE__ */ I(Ie, { role: "presentation", children: [
464
465
  H && /* @__PURE__ */ a(Ye, { title: H, level: e }),
465
466
  d?.items.filter((ne) => !ne.props?.hidden).map((ne, g) => {
@@ -477,7 +478,7 @@ const Ae = Y((e, o) => {
477
478
  ...B,
478
479
  size: B?.size || F?.size || b,
479
480
  color: B?.color || F?.color || w,
480
- variant: B?.variant || F?.variant || P,
481
+ variant: B?.variant || F?.variant || z,
481
482
  active: x,
482
483
  role: Ne,
483
484
  selected: B.selected,
@@ -499,7 +500,7 @@ const Ae = Y((e, o) => {
499
500
  groups: l,
500
501
  size: b,
501
502
  color: w,
502
- variant: P
503
+ variant: z
503
504
  }
504
505
  )
505
506
  ]
@@ -507,8 +508,8 @@ const Ae = Y((e, o) => {
507
508
  g
508
509
  );
509
510
  })
510
- ] }) }, C)
511
- ] }, C);
511
+ ] }) }, k)
512
+ ] }, k);
512
513
  })
513
514
  ]
514
515
  }
@@ -525,37 +526,37 @@ const Ae = Y((e, o) => {
525
526
  scrollRefStyles: b = {},
526
527
  id: p,
527
528
  expanded: w,
528
- a11yMode: P = "menu",
529
+ a11yMode: z = "menu",
529
530
  open: h,
530
531
  scrollToTopOnOpen: N = !1,
531
532
  autoActivateFirstItem: A = !0,
532
533
  announceNoResults: R = !1,
533
534
  onActiveItemIdChange: y
534
- } = e, v = P === "combobox", k = v && p ? `${p}-listbox` : p, z = 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), $ = le(
535
536
  () => u.map((g, x) => ({
536
537
  ...g,
537
538
  id: g.id || `${p}-item-${x}`
538
539
  })),
539
540
  [u, p]
540
- ), { menu: j, activeItem: S, setActiveIndex: O, activeIndex: m } = Me({
541
+ ), { menu: j, activeItem: E, setActiveIndex: O, activeIndex: m } = Me({
541
542
  items: $,
542
543
  groups: f,
543
544
  groupByKey: "groupId",
544
545
  keyboardEvents: l,
545
546
  autoActivateFirstItem: A,
546
547
  ref: o
547
- }), { flatMenu: d, virtualizer: C, scrollMaxHeight: F } = vt({
548
+ }), { flatMenu: d, virtualizer: k, scrollMaxHeight: F } = vt({
548
549
  menu: j,
549
550
  scrollRef: o
550
551
  });
551
- Ee(() => {
552
+ Ce(() => {
552
553
  const g = n.current;
553
554
  if (!g) return;
554
555
  const x = Math.round(g.offsetTop);
555
556
  r((T) => T === x ? T : x);
556
557
  });
557
558
  const H = le(() => {
558
- const g = S?.id;
559
+ const g = E?.id;
559
560
  if (g)
560
561
  return d.findIndex((T) => T.type === "item" && T.itemProps?.id === g);
561
562
  if (m < 0) return -1;
@@ -564,28 +565,28 @@ const Ae = Y((e, o) => {
564
565
  if (d[T]?.type === "item" && (x += 1, x === m))
565
566
  return T;
566
567
  return -1;
567
- }, [S?.id, m, d]), L = J(null);
568
- Ee(() => {
568
+ }, [E?.id, m, d]), L = J(null);
569
+ Ce(() => {
569
570
  const g = L?.current, x = typeof g == "number" ? H <= g : !1;
570
571
  L.current = H;
571
572
  const T = x ? H : H + 2;
572
573
  if (!x) {
573
- const ie = C.getOffsetForIndex(T, "auto");
574
+ const ie = k.getOffsetForIndex(T, "auto");
574
575
  if (!ie) return;
575
576
  const [ge, Ne] = ie;
576
577
  if (Ne === "auto") return;
577
- C.scrollToOffset(ge + t + 10, { align: "start" });
578
+ k.scrollToOffset(ge + t + 10, { align: "start" });
578
579
  return;
579
580
  }
580
581
  if (H <= 3) {
581
- C.scrollToOffset(0);
582
+ k.scrollToOffset(0);
582
583
  return;
583
584
  }
584
- const U = C.getOffsetForIndex(H - 1, "auto");
585
+ const U = k.getOffsetForIndex(H - 1, "auto");
585
586
  if (!U) return;
586
587
  const [B, re] = U;
587
- re !== "auto" && C.scrollToOffset(B + t + 10, { align: "start" });
588
- }, [H, t, C, L]);
588
+ re !== "auto" && k.scrollToOffset(B + t + 10, { align: "start" });
589
+ }, [H, t, k, L]);
589
590
  const q = le(() => {
590
591
  const g = /* @__PURE__ */ new Map();
591
592
  let x = 0;
@@ -594,19 +595,19 @@ const Ae = Y((e, o) => {
594
595
  }), { positions: g, total: x };
595
596
  }, [d]);
596
597
  W(() => {
597
- y?.(S?.id);
598
- }, [S?.id, y]), W(() => {
598
+ y?.(E?.id);
599
+ }, [E?.id, y]), W(() => {
599
600
  if (v && R) {
600
601
  O(0), M(!0);
601
602
  return;
602
603
  }
603
604
  }, [R, v, O]), W(() => {
604
605
  if (!N) {
605
- z.current = h;
606
+ P.current = h;
606
607
  return;
607
608
  }
608
- const g = z.current;
609
- z.current = h, h && !g && o.current?.scrollTo({ top: 0 });
609
+ const g = P.current;
610
+ P.current = h, h && !g && o.current?.scrollTo({ top: 0 });
610
611
  }, [h, N]);
611
612
  const ne = {
612
613
  position: "relative",
@@ -625,7 +626,7 @@ const Ae = Y((e, o) => {
625
626
  variant: _,
626
627
  color: c,
627
628
  expanded: w,
628
- id: k,
629
+ id: S,
629
630
  role: v ? "listbox" : void 0,
630
631
  children: [
631
632
  s && /* @__PURE__ */ a(
@@ -633,8 +634,8 @@ const Ae = Y((e, o) => {
633
634
  {
634
635
  ...s,
635
636
  combobox: v,
636
- listId: k,
637
- "aria-activedescendant": v && D ? S?.id : void 0,
637
+ listId: S,
638
+ "aria-activedescendant": v && D ? E?.id : void 0,
638
639
  onNavigate: v ? () => M(!0) : void 0,
639
640
  onChange: (g) => {
640
641
  M(!1), s.onChange?.(g);
@@ -657,10 +658,10 @@ const Ae = Y((e, o) => {
657
658
  ref: n,
658
659
  style: {
659
660
  position: "relative",
660
- height: `${C.getTotalSize()}px`,
661
+ height: `${k.getTotalSize()}px`,
661
662
  width: "100%"
662
663
  },
663
- children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: C.getVirtualItems().map((g) => {
664
+ children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: k.getVirtualItems().map((g) => {
664
665
  const x = d[g.index];
665
666
  if (!x) return null;
666
667
  const T = {
@@ -673,7 +674,7 @@ const Ae = Y((e, o) => {
673
674
  style: T,
674
675
  index: g.index,
675
676
  "data-index": g.index,
676
- ref: C.measureElement
677
+ ref: k.measureElement
677
678
  };
678
679
  switch (x.type) {
679
680
  case "divider":
@@ -731,7 +732,7 @@ const Ae = Y((e, o) => {
731
732
  console.warn("setPreviousId called outside of RootProvider context");
732
733
  },
733
734
  languageCode: "nb"
734
- }, Ze = ot(en), Xr = ({ children: e, initialValue: o, debug: n, languageCode: t }) => {
735
+ }, Ze = ot(en), Jr = ({ children: e, initialValue: o, debug: n, languageCode: t }) => {
735
736
  const [r, s] = oe(o?.currentId || ""), [u, f] = oe(o?.previousId || "");
736
737
  return /* @__PURE__ */ a(
737
738
  Ze.Provider,
@@ -819,7 +820,7 @@ const Ae = Y((e, o) => {
819
820
  [n]
820
821
  ), b = G.useCallback(() => {
821
822
  _(""), t?.();
822
- }, [t]), p = G.useMemo(() => c.trim().replace(/\s+/g, " "), [c]), w = p.length > 0, P = G.useMemo(() => p.toLowerCase(), [p]), h = G.useMemo(() => p ? p.split(" ") : [], [p]), N = G.useMemo(
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(
823
824
  () => ({
824
825
  placeholder: e ?? i.placeholder,
825
826
  name: o ?? "search",
@@ -854,21 +855,21 @@ const Ae = Y((e, o) => {
854
855
  ), y = G.useMemo(() => {
855
856
  const m = s.filter((d) => d.groupId === "emptySearch").map((d) => ({ ...d, hidden: !1 }));
856
857
  return m.length ? m : R;
857
- }, [s, R]), { selectedItems: v, results: k } = G.useMemo(() => {
858
+ }, [s, R]), { selectedItems: v, results: S } = G.useMemo(() => {
858
859
  if (!w) return { selectedItems: [], results: [] };
859
860
  const m = [], d = [];
860
- for (const C of A)
861
- C.checked === !0 && m.push({ ...C, groupId: "selected" }), (C.searchWords ?? []).some((L) => String(L).toLowerCase().includes(P)) && d.push({
862
- ...C,
861
+ for (const k of A)
862
+ k.checked === !0 && m.push({ ...k, groupId: "selected" }), (k.searchWords ?? []).some((L) => String(L).toLowerCase().includes(z)) && d.push({
863
+ ...k,
863
864
  groupId: "search",
864
865
  highlightWords: h
865
866
  });
866
867
  return { selectedItems: m, results: d };
867
- }, [w, A, P, h]), z = k.length, D = v.length, M = G.useMemo(
868
+ }, [w, A, z, h]), P = S.length, D = v.length, M = G.useMemo(
868
869
  () => ({
869
870
  search: {
870
871
  hidden: !0,
871
- title: i.hits(z)
872
+ title: i.hits(P)
872
873
  },
873
874
  selected: {
874
875
  hidden: !0,
@@ -880,29 +881,29 @@ const Ae = Y((e, o) => {
880
881
  },
881
882
  ...u
882
883
  }),
883
- [i, z, D, u]
884
+ [i, P, D, u]
884
885
  ), $ = G.useMemo(
885
886
  () => ({
886
887
  ...M,
887
888
  search: {
888
889
  hidden: !w,
889
- title: i.hits(z)
890
+ title: i.hits(P)
890
891
  },
891
892
  selected: {
892
893
  hidden: D === 0,
893
894
  title: i.selected(D)
894
895
  },
895
896
  emptySearch: {
896
- hidden: w && (z > 0 || D > 0),
897
+ hidden: w && (P > 0 || D > 0),
897
898
  title: i.noResults
898
899
  }
899
900
  }),
900
- [M, w, i, z, D]
901
- ), j = G.useMemo(() => w ? rn([...k, ...v]) : [], [w, k, v]), S = G.useMemo(() => [...y || [], ...v || []], [y, v]), O = G.useMemo(() => w ? z ? j : S : s, [w, s, z, j, S]);
901
+ [M, w, i, P, D]
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]);
902
903
  return {
903
904
  search: N,
904
- results: k,
905
- resultCount: z,
905
+ results: S,
906
+ resultCount: P,
906
907
  hasQuery: w,
907
908
  items: O,
908
909
  groups: $
@@ -923,10 +924,10 @@ const Ae = Y((e, o) => {
923
924
  a11yMode: b = "menu",
924
925
  open: p,
925
926
  scrollToTopOnOpen: w,
926
- autoFocusList: P,
927
+ autoFocusList: z,
927
928
  id: h
928
929
  }) => {
929
- 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, k = b !== "combobox";
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";
930
931
  return i ? /* @__PURE__ */ a(
931
932
  Zt,
932
933
  {
@@ -945,8 +946,8 @@ const Ae = Y((e, o) => {
945
946
  a11yMode: b,
946
947
  open: p,
947
948
  scrollToTopOnOpen: w,
948
- autoActivateFirstItem: k,
949
- autoFocusList: P
949
+ autoActivateFirstItem: S,
950
+ autoFocusList: z
950
951
  }
951
952
  ) : /* @__PURE__ */ a(
952
953
  Je,
@@ -966,8 +967,8 @@ const Ae = Y((e, o) => {
966
967
  a11yMode: b,
967
968
  open: p,
968
969
  scrollToTopOnOpen: w,
969
- autoActivateFirstItem: k,
970
- autoFocusList: P
970
+ autoActivateFirstItem: S,
971
+ autoFocusList: z
971
972
  }
972
973
  );
973
974
  }, an = "_media_1089b_3", sn = "_icon_1089b_10", ln = "_avatar_1089b_14", cn = "_avatarGroup_1089b_18", ae = {
@@ -984,9 +985,9 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
984
985
  return null;
985
986
  if (o)
986
987
  return /* @__PURE__ */ a("div", { className: V(ae.icon, e), children: /* @__PURE__ */ a(se, { svgElement: Ae, loading: !0 }) });
987
- const r = Se(n) ? "avatar" : ke(n) ? "avatarGroup" : (Pe(n), "icon");
988
+ const r = Ee(n) ? "avatar" : Se(n) ? "avatarGroup" : (ze(n), "icon");
988
989
  return /* @__PURE__ */ I("div", { className: V(ae.media, e), "data-variant": r, children: [
989
- Se(n) && /* @__PURE__ */ a(je, { ...n, className: ae.avatar }) || ke(n) && /* @__PURE__ */ a(be, { ...n, className: ae.avatarGroup }) || Pe(n) && /* @__PURE__ */ a(se, { ...n, className: ae.icon }) || dn(n) && /* @__PURE__ */ a(se, { className: ae.icon, children: n }) || /* @__PURE__ */ a(se, { className: ae.icon, svgElement: n }),
990
+ Ee(n) && /* @__PURE__ */ a(je, { ...n, className: ae.avatar }) || Se(n) && /* @__PURE__ */ a(be, { ...n, className: ae.avatarGroup }) || ze(n) && /* @__PURE__ */ a(se, { ...n, className: ae.icon }) || dn(n) && /* @__PURE__ */ a(se, { className: ae.icon, children: n }) || /* @__PURE__ */ a(se, { className: ae.icon, svgElement: n }),
990
991
  t
991
992
  ] });
992
993
  }, un = "_heading_ydkmu_1", mn = {
@@ -1072,31 +1073,31 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1072
1073
  name: b,
1073
1074
  value: p,
1074
1075
  checked: w,
1075
- icon: P,
1076
+ icon: z,
1076
1077
  label: h,
1077
1078
  badge: N,
1078
1079
  controls: A,
1079
1080
  title: R,
1080
1081
  description: y,
1081
1082
  highlightWords: v,
1082
- count: k,
1083
- linkIcon: z = !1,
1083
+ count: S,
1084
+ linkIcon: P = !1,
1084
1085
  disabled: D,
1085
1086
  selected: M,
1086
1087
  active: $,
1087
1088
  tabIndex: j = 0,
1088
- className: S,
1089
+ className: E,
1089
1090
  "data-testid": O,
1090
1091
  ...m
1091
1092
  }) => {
1092
- const d = typeof h == "function" ? h() : h, C = ht(m);
1093
+ const d = typeof h == "function" ? h() : h, k = ht(m);
1093
1094
  if (n === "checkbox" || n === "radio") {
1094
- const L = P || (w ? Qe : Lt);
1095
+ const L = z || (w ? Qe : Lt);
1095
1096
  return /* @__PURE__ */ I(
1096
1097
  "label",
1097
1098
  {
1098
- ...C,
1099
- className: V(K.item, S),
1099
+ ...k,
1100
+ className: V(K.item, E),
1100
1101
  id: e,
1101
1102
  "data-id": e,
1102
1103
  "data-group-id": o,
@@ -1140,7 +1141,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1140
1141
  title: /* @__PURE__ */ I(xe, { children: [
1141
1142
  R,
1142
1143
  " ",
1143
- k && /* @__PURE__ */ a("i", { className: K.count, children: k })
1144
+ S && /* @__PURE__ */ a("i", { className: K.count, children: S })
1144
1145
  ] }),
1145
1146
  titleProps: {
1146
1147
  weight: "medium",
@@ -1163,12 +1164,12 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1163
1164
  }
1164
1165
  );
1165
1166
  }
1166
- const F = t || (r ? "a" : "button"), H = z && Pt;
1167
+ const F = t || (r ? "a" : "button"), H = P && zt;
1167
1168
  return /* @__PURE__ */ I(
1168
1169
  F,
1169
1170
  {
1170
1171
  href: r,
1171
- className: V(K.item, S),
1172
+ className: V(K.item, E),
1172
1173
  id: e,
1173
1174
  "data-id": e,
1174
1175
  "data-group-id": o,
@@ -1190,9 +1191,9 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1190
1191
  onMouseEnter: i,
1191
1192
  tabIndex: D ? -1 : j ?? 0,
1192
1193
  role: n === "menuItem" ? "menuitem" : n,
1193
- ...C,
1194
+ ...k,
1194
1195
  children: [
1195
- P && /* @__PURE__ */ a(Te, { icon: P, className: K.media }),
1196
+ z && /* @__PURE__ */ a(Te, { icon: z, className: K.media }),
1196
1197
  /* @__PURE__ */ a(
1197
1198
  Le,
1198
1199
  {
@@ -1201,7 +1202,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1201
1202
  title: /* @__PURE__ */ I(xe, { children: [
1202
1203
  R,
1203
1204
  " ",
1204
- k && /* @__PURE__ */ a("i", { className: K.count, children: k })
1205
+ S && /* @__PURE__ */ a("i", { className: K.count, children: S })
1205
1206
  ] }),
1206
1207
  titleProps: {
1207
1208
  weight: "medium",
@@ -1218,21 +1219,21 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1218
1219
  /* @__PURE__ */ I(Re, { children: [
1219
1220
  N && /* @__PURE__ */ a(te, { ...N }),
1220
1221
  !D && A,
1221
- z && /* @__PURE__ */ a(se, { svgElement: H, className: K.linkIcon })
1222
+ P && /* @__PURE__ */ a(se, { svgElement: H, className: K.linkIcon })
1222
1223
  ] })
1223
1224
  ]
1224
1225
  }
1225
1226
  );
1226
- }, xn = "_fieldContainer_1g9fo_13", In = "_field_1g9fo_13", On = "_input_1g9fo_28", Nn = "_hiddenInput_1g9fo_29", Cn = "_icon_1g9fo_62", En = "_clear_1g9fo_80", Sn = "_clearButton_1g9fo_93", kn = "_autocomplete_1g9fo_120", Z = {
1227
+ }, xn = "_fieldContainer_kk0vx_13", In = "_field_kk0vx_13", On = "_input_kk0vx_28", Nn = "_hiddenInput_kk0vx_29", kn = "_icon_kk0vx_62", Cn = "_clear_kk0vx_80", En = "_clearButton_kk0vx_93", Sn = "_autocomplete_kk0vx_120", Z = {
1227
1228
  fieldContainer: xn,
1228
1229
  field: In,
1229
1230
  input: On,
1230
1231
  hiddenInput: Nn,
1231
- icon: Cn,
1232
- clear: En,
1233
- clearButton: Sn,
1234
- autocomplete: kn
1235
- }, ze = ({
1232
+ icon: kn,
1233
+ clear: Cn,
1234
+ clearButton: En,
1235
+ autocomplete: Sn
1236
+ }, Pe = ({
1236
1237
  className: e,
1237
1238
  collapsible: o,
1238
1239
  loading: n,
@@ -1248,17 +1249,17 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1248
1249
  minLength: b,
1249
1250
  ...p
1250
1251
  }) => {
1251
- const w = De(), [P, h] = oe(!1), N = p.id || `search-field-${w}`, A = `${N}-listbox`, [R, y] = oe(void 0), v = "searchfield-clear-button-" + De(), k = le(() => !l || !i || typeof b == "number" && typeof i == "string" && i.length < b ? !1 : P, [l, P, b, i]), z = 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 = 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
1253
  ...m,
1253
1254
  onClick: () => {
1254
1255
  m.onClick?.(), h(!1);
1255
1256
  }
1256
1257
  })), [l]), D = (m) => {
1257
- if (m.key === "Enter" && k) {
1258
+ if (m.key === "Enter" && S) {
1258
1259
  l?.items?.[0]?.onClick?.(), h(!1);
1259
1260
  return;
1260
1261
  }
1261
- if (m.key === "Escape" && k) {
1262
+ if (m.key === "Escape" && S) {
1262
1263
  m.preventDefault(), m.stopPropagation(), h(!1), l?.onClose(), document.getElementById(N)?.focus();
1263
1264
  return;
1264
1265
  }
@@ -1266,12 +1267,12 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1266
1267
  }, M = () => {
1267
1268
  h(!0);
1268
1269
  }, $ = (m) => {
1269
- if (!P) return;
1270
+ if (!z) return;
1270
1271
  const d = m.relatedTarget;
1271
1272
  d && m.currentTarget.contains(d) || h(!1);
1272
1273
  }, j = (m) => {
1273
1274
  m.preventDefault();
1274
- }, S = (m) => {
1275
+ }, E = (m) => {
1275
1276
  m.relatedTarget?.id === v && y(void 0), p.onBlur?.(m);
1276
1277
  }, O = /* @__PURE__ */ I(
1277
1278
  Qt,
@@ -1281,7 +1282,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1281
1282
  label: f ? void 0 : u,
1282
1283
  htmlFor: N,
1283
1284
  className: V(Z.field, e),
1284
- "data-collapsible": o,
1285
+ "data-collapsible": o ? !0 : void 0,
1285
1286
  onBlurCapture: $,
1286
1287
  children: [
1287
1288
  /* @__PURE__ */ a("span", { className: Z.hiddenInput, "aria-hidden": "true", children: i + " " }),
@@ -1295,19 +1296,19 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1295
1296
  type: "search",
1296
1297
  value: i,
1297
1298
  className: Z.input,
1298
- "data-collapsible": o,
1299
+ "data-collapsible": o ? !0 : void 0,
1299
1300
  autoCapitalize: "off",
1300
1301
  autoComplete: "off",
1301
1302
  minLength: b,
1302
1303
  onKeyDown: D,
1303
- onBlur: S,
1304
+ onBlur: E,
1304
1305
  ...l && {
1305
1306
  role: "combobox",
1306
1307
  "aria-autocomplete": "list",
1307
- "aria-expanded": !!k,
1308
+ "aria-expanded": !!S,
1308
1309
  "aria-haspopup": "listbox",
1309
1310
  "aria-controls": A,
1310
- "aria-activedescendant": k ? R : void 0,
1311
+ "aria-activedescendant": S ? R : void 0,
1311
1312
  onFocus: M
1312
1313
  }
1313
1314
  }
@@ -1336,25 +1337,25 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1336
1337
  );
1337
1338
  return l ? /* @__PURE__ */ I("div", { className: Z.fieldContainer, children: [
1338
1339
  O,
1339
- k && /* @__PURE__ */ a("div", { className: Z.autocomplete, "aria-hidden": !k, onMouseDown: j, children: /* @__PURE__ */ a(
1340
+ S && /* @__PURE__ */ a("div", { className: Z.autocomplete, "aria-hidden": !S, onMouseDown: j, children: /* @__PURE__ */ a(
1340
1341
  et,
1341
1342
  {
1342
1343
  ...l,
1343
1344
  id: A,
1344
- items: z,
1345
+ items: P,
1345
1346
  groups: l?.groups,
1346
1347
  keyboardEvents: !0,
1347
1348
  a11yMode: "combobox",
1348
- open: k,
1349
+ open: S,
1349
1350
  autoFocusList: !1,
1350
1351
  onActiveItemIdChange: y
1351
1352
  }
1352
1353
  ) })
1353
1354
  ] }) : O;
1354
- }, Rn = "_byline_fzp7k_1", Pn = "_avatar_fzp7k_7", zn = "_avatarGroup_fzp7k_12", Mn = "_label_fzp7k_26", pe = {
1355
+ }, Rn = "_byline_fzp7k_1", zn = "_avatar_fzp7k_7", Pn = "_avatarGroup_fzp7k_12", Mn = "_label_fzp7k_26", pe = {
1355
1356
  byline: Rn,
1356
- avatar: Pn,
1357
- avatarGroup: zn,
1357
+ avatar: zn,
1358
+ avatarGroup: Pn,
1358
1359
  label: Mn
1359
1360
  }, $n = ({
1360
1361
  loading: e,
@@ -1372,7 +1373,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1372
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 }) }),
1373
1374
  /* @__PURE__ */ a(_, { "data-size": n, dateTime: s, className: pe.label, children: /* @__PURE__ */ a(ue, { loading: e, children: u }) })
1374
1375
  ] });
1375
- }, jn = "_dropdown_1mtdm_1", An = "_content_1mtdm_17", Dn = "_backdrop_1mtdm_47", Bn = "_header_1mtdm_76", Tn = "_footer_1mtdm_77", Ln = "_title_1mtdm_148", ce = {
1376
+ }, jn = "_dropdown_11cza_1", An = "_content_11cza_17", Dn = "_backdrop_11cza_47", Bn = "_header_11cza_76", Tn = "_footer_11cza_77", Ln = "_title_11cza_156", ce = {
1376
1377
  dropdown: jn,
1377
1378
  content: An,
1378
1379
  backdrop: Dn,
@@ -1411,7 +1412,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1411
1412
  onClose: b,
1412
1413
  color: p,
1413
1414
  onSubmit: w,
1414
- activeDescendantId: P,
1415
+ activeDescendantId: z,
1415
1416
  useFixedPosition: h = !1,
1416
1417
  expanded: N = !1
1417
1418
  }) => {
@@ -1419,14 +1420,14 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1419
1420
  W(() => {
1420
1421
  y.current = l;
1421
1422
  }, [l]);
1422
- const [v, k] = oe({
1423
+ const [v, S] = oe({
1423
1424
  yDir: r.includes("top") ? "top" : "bottom",
1424
1425
  xDir: r.includes("right") ? "right" : "left",
1425
1426
  maxHeight: 300
1426
- }), z = qe(() => {
1427
+ }), P = qe(() => {
1427
1428
  if (l && A.current && R.current) {
1428
- const $ = A.current.getBoundingClientRect(), j = R.current.getBoundingClientRect(), S = window.innerHeight, O = window.innerWidth, m = 16, d = S - $.bottom, C = $.top, F = O - $.right - j.width, H = d < 250 && C > d, L = H ? "top" : "bottom", q = (H ? C : d) - m, g = F < m ? "right" : "left";
1429
- k((x) => ({
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
+ S((x) => ({
1430
1431
  ...x,
1431
1432
  yDir: L,
1432
1433
  maxHeight: q,
@@ -1435,21 +1436,21 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1435
1436
  }));
1436
1437
  }
1437
1438
  }, [l, h]);
1438
- Ee(() => (z(), window.addEventListener("resize", z), h && window.addEventListener("scroll", z, !0), () => {
1439
- window.removeEventListener("resize", z), h && window.removeEventListener("scroll", z, !0);
1440
- }), [z, h]), W(() => {
1439
+ Ce(() => (P(), window.addEventListener("resize", P), h && window.addEventListener("scroll", P, !0), () => {
1440
+ window.removeEventListener("resize", P), h && window.removeEventListener("scroll", P, !0);
1441
+ }), [P, h]), W(() => {
1441
1442
  if (!l) return;
1442
1443
  const $ = requestAnimationFrame(() => {
1443
1444
  const j = R.current;
1444
1445
  if (!j) return;
1445
- const S = j.querySelector(
1446
+ const E = j.querySelector(
1446
1447
  'input[type="search"]:not([disabled]), input[role="searchbox"]:not([disabled]), input[data-dropdown-search]:not([disabled])'
1447
1448
  );
1448
- if (S) {
1449
- const O = S.value.length;
1450
- S.focus({ preventScroll: !0 });
1449
+ if (E) {
1450
+ const O = E.value.length;
1451
+ E.focus({ preventScroll: !0 });
1451
1452
  try {
1452
- S.setSelectionRange(O, O);
1453
+ E.setSelectionRange(O, O);
1453
1454
  } catch {
1454
1455
  }
1455
1456
  return;
@@ -1458,10 +1459,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1458
1459
  });
1459
1460
  return () => cancelAnimationFrame($);
1460
1461
  }, [l]), W(() => {
1461
- const $ = (S) => {
1462
- S.key === "Escape" && (S.preventDefault(), b());
1463
- }, j = (S) => {
1464
- const O = S.target, m = A.current?.contains(O), d = R.current?.contains(O);
1462
+ const $ = (E) => {
1463
+ E.key === "Escape" && (E.preventDefault(), b());
1464
+ }, j = (E) => {
1465
+ const O = E.target, m = A.current?.contains(O), d = R.current?.contains(O);
1465
1466
  !m && !d && b();
1466
1467
  };
1467
1468
  return l && (document.addEventListener("mousedown", j), document.addEventListener("keydown", $)), () => {
@@ -1476,18 +1477,18 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1476
1477
  return;
1477
1478
  const m = O.target;
1478
1479
  m && !$.contains(m) && Hn($);
1479
- }, S = (O) => {
1480
+ }, E = (O) => {
1480
1481
  if (O.key !== "Tab") return;
1481
1482
  const m = nt($);
1482
1483
  if (m.length === 0) {
1483
1484
  O.preventDefault(), $.focus?.({ preventScroll: !0 });
1484
1485
  return;
1485
1486
  }
1486
- const d = m[0], C = m[m.length - 1], F = document.activeElement;
1487
- O.shiftKey ? F === d && (O.preventDefault(), C.focus({ preventScroll: !0 })) : F === C && (O.preventDefault(), d.focus({ preventScroll: !0 }));
1487
+ const d = m[0], k = m[m.length - 1], F = document.activeElement;
1488
+ O.shiftKey ? F === d && (O.preventDefault(), k.focus({ preventScroll: !0 })) : F === k && (O.preventDefault(), d.focus({ preventScroll: !0 }));
1488
1489
  };
1489
- return document.addEventListener("focusin", j), document.addEventListener("keydown", S), () => {
1490
- document.removeEventListener("focusin", j), document.removeEventListener("keydown", S);
1490
+ return document.addEventListener("focusin", j), document.addEventListener("keydown", E), () => {
1491
+ document.removeEventListener("focusin", j), document.removeEventListener("keydown", E);
1491
1492
  };
1492
1493
  }, [l]);
1493
1494
  const D = h && v.triggerRect ? {
@@ -1520,7 +1521,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1520
1521
  tabIndex: -1,
1521
1522
  role: "menu",
1522
1523
  "aria-modal": s === "drawer-dropdown" ? !0 : void 0,
1523
- "aria-activedescendant": P,
1524
+ "aria-activedescendant": z,
1524
1525
  children: [
1525
1526
  /* @__PURE__ */ I("header", { className: ce.header, children: [
1526
1527
  /* @__PURE__ */ a("h2", { className: ce.title, children: u }),
@@ -1597,24 +1598,24 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1597
1598
  recipientLabel: b = "to",
1598
1599
  grouped: p = !1,
1599
1600
  updatedAt: w,
1600
- updatedAtLabel: P,
1601
+ updatedAtLabel: z,
1601
1602
  archived: h,
1602
1603
  archivedAt: N,
1603
1604
  archivedAtLabel: A,
1604
1605
  trashed: R,
1605
1606
  trashedAt: y,
1606
1607
  trashedAtLabel: v,
1607
- badge: k,
1608
- dueAt: z,
1608
+ badge: S,
1609
+ dueAt: P,
1609
1610
  dueAtLabel: D,
1610
1611
  unread: M,
1611
1612
  unreadLabel: $ = "Ulest",
1612
1613
  unreadItems: j,
1613
- unreadItemsLabel: S = "Ulest innhold",
1614
+ unreadItemsLabel: E = "Ulest innhold",
1614
1615
  seenByLog: O,
1615
1616
  draftsLabel: m,
1616
1617
  sentCount: d,
1617
- receivedCount: C,
1618
+ receivedCount: k,
1618
1619
  attachmentsCount: F,
1619
1620
  attachmentsLabel: H,
1620
1621
  tooltips: L = {},
@@ -1654,7 +1655,7 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1654
1655
  className: X.title,
1655
1656
  children: [
1656
1657
  q,
1657
- M && /* @__PURE__ */ a(te, { label: $, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || j && /* @__PURE__ */ a(te, { label: S, style: { marginLeft: "0.75em", marginTop: "-2px" } })
1658
+ M && /* @__PURE__ */ a(te, { label: $, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || j && /* @__PURE__ */ a(te, { label: E, style: { marginLeft: "0.75em", marginTop: "-2px" } })
1658
1659
  ]
1659
1660
  }
1660
1661
  ),
@@ -1687,19 +1688,19 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1687
1688
  {
1688
1689
  className: X.footer,
1689
1690
  loading: r,
1690
- badge: k,
1691
+ badge: S,
1691
1692
  status: i,
1692
1693
  extendedStatusLabel: c,
1693
1694
  draftsLabel: m,
1694
1695
  sentCount: d,
1695
- receivedCount: C,
1696
+ receivedCount: k,
1696
1697
  updatedAt: w,
1697
- updatedAtLabel: P,
1698
+ updatedAtLabel: z,
1698
1699
  archivedAt: N,
1699
1700
  archivedAtLabel: A,
1700
1701
  trashedAt: y,
1701
1702
  trashedAtLabel: v,
1702
- dueAt: z,
1703
+ dueAt: P,
1703
1704
  dueAtLabel: D,
1704
1705
  attachmentsCount: F,
1705
1706
  attachmentsLabel: H,
@@ -1731,7 +1732,7 @@ const rr = ({
1731
1732
  draftsLabel: b,
1732
1733
  sentCount: p = 0,
1733
1734
  receivedCount: w = 0,
1734
- attachmentsCount: P = 0,
1735
+ attachmentsCount: z = 0,
1735
1736
  attachmentsLabel: h,
1736
1737
  transmissionsLabel: N,
1737
1738
  activityLog: A,
@@ -1746,10 +1747,10 @@ const rr = ({
1746
1747
  s
1747
1748
  ] }),
1748
1749
  u && f && /* @__PURE__ */ a(ee, { tooltip: y.dueAt, loading: o, datetime: u, size: "xs", icon: gt, children: f }),
1749
- P > 0 && /* @__PURE__ */ a(ee, { tooltip: y.attachments, loading: o, size: "xs", icon: yt, children: h || P }),
1750
+ z > 0 && /* @__PURE__ */ a(ee, { tooltip: y.attachments, loading: o, size: "xs", icon: yt, children: h || z }),
1750
1751
  N && /* @__PURE__ */ a(ee, { tooltip: y.transmissions, loading: o, size: "xs", icon: At, children: N }),
1751
1752
  p > 0 && /* @__PURE__ */ a(ee, { tooltip: y.sent, size: "xs", icon: Qe, children: p }),
1752
- w > 0 && /* @__PURE__ */ a(ee, { tooltip: y.received, size: "xs", icon: St, children: w }),
1753
+ w > 0 && /* @__PURE__ */ a(ee, { tooltip: y.received, size: "xs", icon: Et, children: w }),
1753
1754
  l && /* @__PURE__ */ a(
1754
1755
  ee,
1755
1756
  {
@@ -1771,7 +1772,7 @@ const rr = ({
1771
1772
  loading: o,
1772
1773
  datetime: i,
1773
1774
  size: "xs",
1774
- icon: Ct,
1775
+ icon: kt,
1775
1776
  children: c
1776
1777
  }
1777
1778
  ),
@@ -1809,7 +1810,7 @@ function ir(e) {
1809
1810
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || Ge(e);
1810
1811
  }
1811
1812
  const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "number" ? !1 : /* @__PURE__ */ I("span", { className: de.media, "data-size": e, children: [
1812
- Se(o) && /* @__PURE__ */ a(je, { ...o, className: de.avatar }) || ke(o) && /* @__PURE__ */ a(be, { ...o, className: de.avatarGroup }) || Pe(o) && /* @__PURE__ */ a(se, { ...o, className: de.icon }) || ir(o) && o || /* @__PURE__ */ a(se, { svgElement: o, className: de.icon }),
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 }),
1813
1814
  n && /* @__PURE__ */ a(Ot, { value: n, className: de.icon })
1814
1815
  ] }), cr = "_item_ugak2_1", dr = "_label_ugak2_53", we = {
1815
1816
  item: cr,
@@ -1877,7 +1878,7 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1877
1878
  menu: fr,
1878
1879
  button: pr,
1879
1880
  label: hr
1880
- }, Jr = Oe(
1881
+ }, Zr = Oe(
1881
1882
  ({
1882
1883
  disabled: e,
1883
1884
  label: o = "Label",
@@ -1945,7 +1946,7 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1945
1946
  }
1946
1947
  ) });
1947
1948
  }
1948
- ), Zr = Oe(
1949
+ ), eo = Oe(
1949
1950
  ({
1950
1951
  label: e,
1951
1952
  hideLabel: o = !0,
@@ -1962,7 +1963,7 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1962
1963
  minLength: b,
1963
1964
  disabled: p
1964
1965
  }) => /* @__PURE__ */ a(
1965
- ze,
1966
+ Pe,
1966
1967
  {
1967
1968
  size: "xs",
1968
1969
  label: e,
@@ -1992,9 +1993,9 @@ export {
1992
1993
  me as H,
1993
1994
  se as I,
1994
1995
  et as M,
1995
- Xr as R,
1996
- ze as S,
1997
- Zr as T,
1996
+ Jr as R,
1997
+ Pe as S,
1998
+ eo as T,
1998
1999
  Zt as V,
1999
2000
  $n as a,
2000
2001
  rt as b,
@@ -2004,19 +2005,19 @@ export {
2004
2005
  mr as f,
2005
2006
  Gn as g,
2006
2007
  Te as h,
2007
- Pe as i,
2008
+ ze as i,
2008
2009
  Le as j,
2009
2010
  tt as k,
2010
2011
  Je as l,
2011
2012
  Xe as m,
2012
2013
  Fe as n,
2013
2014
  ee as o,
2014
- Jr as p,
2015
+ Zr as p,
2015
2016
  Bt as q,
2016
2017
  Qe as r,
2017
2018
  Ae as s,
2018
2019
  Be as t,
2019
2020
  tn as u,
2020
- Pt as v,
2021
+ zt as v,
2021
2022
  on as w
2022
2023
  };