@altinn/altinn-components 0.63.0 → 0.63.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/dist/{ToolbarSearch-56Sm2j7P.js → ToolbarSearch-DT-KvnVb.js} +121 -121
  2. package/dist/assets/SettingsItemBase.css +1 -1
  3. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +1 -1
  4. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +1 -1
  5. package/dist/components/Account/AccountList.js +1 -1
  6. package/dist/components/Account/AccountListItem.js +1 -1
  7. package/dist/components/Account/AccountListItemControls.js +1 -1
  8. package/dist/components/Account/AccountListItemDetails.js +1 -1
  9. package/dist/components/Account/AccountListVirtual.js +1 -1
  10. package/dist/components/Account/AccountMenu.js +1 -1
  11. package/dist/components/Account/AccountNotificationSettings.js +1 -1
  12. package/dist/components/Account/AccountOrganization.js +1 -1
  13. package/dist/components/AccountSelector/AccountSelector.js +1 -1
  14. package/dist/components/ActivityLog/ActivityLog.js +1 -1
  15. package/dist/components/ActivityLog/ActivityLogItem.js +1 -1
  16. package/dist/components/ActivityLog/ActivityLogSegment.js +1 -1
  17. package/dist/components/Alert/Alert.js +1 -1
  18. package/dist/components/Article/Article.js +1 -1
  19. package/dist/components/Article/ArticleContact.js +1 -1
  20. package/dist/components/Article/ArticleHeader.js +1 -1
  21. package/dist/components/Attachment/AttachmentLink.js +1 -1
  22. package/dist/components/Badge/Badge.js +1 -1
  23. package/dist/components/Badge/index.js +1 -1
  24. package/dist/components/Banner/Banner.js +1 -1
  25. package/dist/components/Bookmarks/BookmarkModal.js +1 -1
  26. package/dist/components/Bookmarks/BookmarkSettingsItem.js +1 -1
  27. package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +1 -1
  28. package/dist/components/Bookmarks/BookmarkSettingsList.js +1 -1
  29. package/dist/components/Breadcrumbs/Breadcrumbs.js +1 -1
  30. package/dist/components/Bulk/BulkHeader.js +1 -1
  31. package/dist/components/Button/ButtonIcon.js +1 -1
  32. package/dist/components/Button/ComboButton.js +1 -1
  33. package/dist/components/Button/FloatingActionButton.js +1 -1
  34. package/dist/components/Button/IconButton.js +1 -1
  35. package/dist/components/Byline/Byline.js +1 -1
  36. package/dist/components/Byline/index.js +1 -1
  37. package/dist/components/ContextMenu/ContextMenu.js +1 -1
  38. package/dist/components/Dashboard/DashboardCard.js +1 -1
  39. package/dist/components/Dashboard/DashboardHeader.js +1 -1
  40. package/dist/components/Datepicker/Datepicker.js +1 -1
  41. package/dist/components/Datepicker/DatepickerHeader.js +1 -1
  42. package/dist/components/Datepicker/DatepickerTable.js +1 -1
  43. package/dist/components/Dialog/Dialog.js +1 -1
  44. package/dist/components/Dialog/DialogActions.js +1 -1
  45. package/dist/components/Dialog/DialogActivityLog.js +1 -1
  46. package/dist/components/Dialog/DialogAttachments.js +1 -1
  47. package/dist/components/Dialog/DialogBody.js +1 -1
  48. package/dist/components/Dialog/DialogByline.js +1 -1
  49. package/dist/components/Dialog/DialogContact.js +1 -1
  50. package/dist/components/Dialog/DialogHeader.js +1 -1
  51. package/dist/components/Dialog/DialogHistory.js +1 -1
  52. package/dist/components/Dialog/DialogHistoryItem.js +1 -1
  53. package/dist/components/Dialog/DialogHistorySegment.js +1 -1
  54. package/dist/components/Dialog/DialogLayout.js +1 -1
  55. package/dist/components/Dialog/DialogList.js +1 -1
  56. package/dist/components/Dialog/DialogListItem.js +1 -1
  57. package/dist/components/Dialog/DialogMetadata.js +1 -1
  58. package/dist/components/Dialog/DialogSection.js +1 -1
  59. package/dist/components/Dialog/DialogSeenBy.js +1 -1
  60. package/dist/components/Dialog/DialogSelect.js +1 -1
  61. package/dist/components/Dialog/DialogStatus.js +1 -1
  62. package/dist/components/Dialog/DialogTabs.js +1 -1
  63. package/dist/components/Dialog/SeenByLog.js +1 -1
  64. package/dist/components/Dialog/SeenByLogButton.js +1 -1
  65. package/dist/components/Dialog/SeenByLogItem.js +1 -1
  66. package/dist/components/Dialog/index.js +1 -1
  67. package/dist/components/Dropdown/DrawerButton.js +1 -1
  68. package/dist/components/Dropdown/DrawerHeader.js +1 -1
  69. package/dist/components/Dropdown/Dropdown.js +1 -1
  70. package/dist/components/Dropdown/DropdownBase.js +1 -1
  71. package/dist/components/Dropdown/FloatingDropdown.js +1 -1
  72. package/dist/components/Dropdown/index.js +1 -1
  73. package/dist/components/Forms/Checkbox.js +1 -1
  74. package/dist/components/Forms/CheckboxOptions.js +1 -1
  75. package/dist/components/Forms/FieldBase.js +1 -1
  76. package/dist/components/Forms/FieldsetBase.js +1 -1
  77. package/dist/components/Forms/Radio.js +1 -1
  78. package/dist/components/Forms/RadioOptions.js +1 -1
  79. package/dist/components/Forms/SearchField.js +1 -1
  80. package/dist/components/Forms/SelectField.js +1 -1
  81. package/dist/components/Forms/Switch.js +1 -1
  82. package/dist/components/Forms/SwitchOptions.js +1 -1
  83. package/dist/components/Forms/TextField.js +1 -1
  84. package/dist/components/Forms/TextFieldDropdown.js +1 -1
  85. package/dist/components/Forms/TextareaField.js +1 -1
  86. package/dist/components/Forms/index.js +1 -1
  87. package/dist/components/GlobalHeader/GlobalAccountButton.js +1 -1
  88. package/dist/components/GlobalHeader/GlobalHeader.js +1 -1
  89. package/dist/components/GlobalHeader/GlobalMenuButton.js +1 -1
  90. package/dist/components/GlobalHeader/HeaderDrawer.js +1 -1
  91. package/dist/components/GlobalHeader/HeaderDropdown.js +1 -1
  92. package/dist/components/GlobalHeader/HeaderLogo.js +1 -1
  93. package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
  94. package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
  95. package/dist/components/GlobalMenu/LogoutButton.js +1 -1
  96. package/dist/components/Icon/Icon.js +1 -1
  97. package/dist/components/Icon/index.js +1 -1
  98. package/dist/components/Inbox/InboxPage.js +1 -1
  99. package/dist/components/InboxSearch/InboxSearch.js +1 -1
  100. package/dist/components/Item/ItemLabel.js +1 -1
  101. package/dist/components/Item/ItemMedia.js +1 -1
  102. package/dist/components/Item/ItemSelect.js +1 -1
  103. package/dist/components/Item/index.js +1 -1
  104. package/dist/components/Layout/Layout.js +1 -1
  105. package/dist/components/Layout/LayoutContent.js +4 -4
  106. package/dist/components/List/List.js +1 -1
  107. package/dist/components/List/ListBase.js +1 -1
  108. package/dist/components/List/ListItemHeader.js +1 -1
  109. package/dist/components/List/ListItemIcon.js +1 -1
  110. package/dist/components/List/ListItemLabel.js +1 -1
  111. package/dist/components/Menu/Menu.js +1 -1
  112. package/dist/components/Menu/MenuItem.js +1 -1
  113. package/dist/components/Menu/MenuItems.js +1 -1
  114. package/dist/components/Menu/MenuListSearch.js +1 -1
  115. package/dist/components/Menu/MenuOption.js +1 -1
  116. package/dist/components/Menu/TabMenu.js +1 -1
  117. package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
  118. package/dist/components/Menu/index.js +1 -1
  119. package/dist/components/Menu/useMenuSearch.js +1 -1
  120. package/dist/components/Metadata/MetaItem.js +1 -1
  121. package/dist/components/Metadata/MetaItemIcon.js +1 -1
  122. package/dist/components/Metadata/MetaTimestamp.js +1 -1
  123. package/dist/components/Metadata/Metadata.js +1 -1
  124. package/dist/components/Metadata/index.js +1 -1
  125. package/dist/components/Modal/Modal.js +1 -1
  126. package/dist/components/Modal/ModalBase.js +1 -1
  127. package/dist/components/Modal/ModalHeader.js +1 -1
  128. package/dist/components/Modal/ModalIcon.js +1 -1
  129. package/dist/components/Notifications/NotificationItem.js +1 -1
  130. package/dist/components/Notifications/NotificationItemBase.js +1 -1
  131. package/dist/components/Notifications/NotificationItemControls.js +1 -1
  132. package/dist/components/Notifications/NotificationItemIcon.js +1 -1
  133. package/dist/components/Page/AccordionSection.js +1 -1
  134. package/dist/components/Page/ContactButtons.js +1 -1
  135. package/dist/components/Page/ContactSection.js +1 -1
  136. package/dist/components/Page/PageMenu.js +1 -1
  137. package/dist/components/Page/PageNav.js +1 -1
  138. package/dist/components/Page/Section.js +1 -1
  139. package/dist/components/Pagination/Pagination.js +1 -1
  140. package/dist/components/ResourceListItem/ResourceListItem.js +1 -1
  141. package/dist/components/RootProvider/RootProvider.js +1 -1
  142. package/dist/components/RootProvider/index.js +1 -1
  143. package/dist/components/Search/SearchItem.js +1 -1
  144. package/dist/components/Searchbar/Autocomplete.js +1 -1
  145. package/dist/components/Searchbar/AutocompleteItem.js +1 -1
  146. package/dist/components/Searchbar/Searchbar.js +1 -1
  147. package/dist/components/Searchbar/SearchbarField.js +1 -1
  148. package/dist/components/Settings/SettingsItem.js +1 -1
  149. package/dist/components/Settings/SettingsItemBase.js +40 -40
  150. package/dist/components/Settings/SettingsList.js +1 -1
  151. package/dist/components/Settings/SettingsListVirtual.js +1 -1
  152. package/dist/components/Settings/SettingsModal.js +1 -1
  153. package/dist/components/Settings/SettingsSection.js +1 -1
  154. package/dist/components/Settings/UsedByLog.js +1 -1
  155. package/dist/components/Settings/UsedByLogItem.js +1 -1
  156. package/dist/components/Snackbar/SnackbarItem.js +1 -1
  157. package/dist/components/Timeline/Timeline.js +1 -1
  158. package/dist/components/Timeline/TimelineActivity.js +1 -1
  159. package/dist/components/Timeline/TimelineBase.js +1 -1
  160. package/dist/components/Timeline/TimelineFooter.js +1 -1
  161. package/dist/components/Timeline/TimelineHeader.js +1 -1
  162. package/dist/components/Timeline/TimelineIcon.js +1 -1
  163. package/dist/components/Timeline/TimelineSection.js +1 -1
  164. package/dist/components/Timeline/TimelineSegment.js +1 -1
  165. package/dist/components/Toolbar/DatepickerFilter.js +1 -1
  166. package/dist/components/Toolbar/SelectDateFilter.js +1 -1
  167. package/dist/components/Toolbar/Toolbar.js +1 -1
  168. package/dist/components/Toolbar/ToolbarFilter.js +1 -1
  169. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
  170. package/dist/components/Toolbar/ToolbarFilterButton.js +1 -1
  171. package/dist/components/Toolbar/ToolbarFilterMenu.js +1 -1
  172. package/dist/components/Toolbar/ToolbarMenu.js +1 -1
  173. package/dist/components/Toolbar/ToolbarSearch.js +1 -1
  174. package/dist/components/Toolbar/index.js +1 -1
  175. package/dist/components/Transmission/Transmission.js +1 -1
  176. package/dist/components/Transmission/TransmissionList.js +1 -1
  177. package/dist/components/Transmission/TransmissionType.js +1 -1
  178. package/dist/components/Typography/Heading.js +1 -1
  179. package/dist/components/Typography/index.js +1 -1
  180. package/dist/components/UserListItem/UserListItem.js +1 -1
  181. package/dist/components/index.js +1 -1
  182. package/dist/hooks/useAccountSelector.js +1 -1
  183. package/dist/hooks/useMenu.js +45 -37
  184. package/dist/index.js +1 -1
  185. package/dist/types/lib/components/Toolbar/Toolbar.stories.d.ts +1 -0
  186. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as a, jsxs as I, Fragment as xe } from "react/jsx-runtime";
3
3
  import * as H from "react";
4
- import z, { forwardRef as W, useRef as J, useState as oe, useMemo as le, useEffect as U, 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";
4
+ import C, { forwardRef as W, useRef as J, useState as oe, useMemo as le, useEffect as U, 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
5
  import { c as K } from "./index-p1eeF8LQ.js";
6
6
  import { useEscapeKey as lt } from "./hooks/useEscapeKey.js";
7
7
  import "./components/Typography/Link.js";
@@ -45,11 +45,11 @@ import './assets/ToolbarSearch.css';var Nt = function(e, o) {
45
45
  const zt = W((e, o) => {
46
46
  var { title: n, titleId: t } = e, r = Nt(e, ["title", "titleId"]);
47
47
  let s = Y();
48
- return s = n ? t || "title-" + s : void 0, z.createElement(
48
+ return s = n ? t || "title-" + s : void 0, C.createElement(
49
49
  "svg",
50
50
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
51
- n ? z.createElement("title", { id: s }, n) : null,
52
- z.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" })
51
+ n ? C.createElement("title", { id: s }, n) : null,
52
+ 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" })
53
53
  );
54
54
  });
55
55
  var Ct = function(e, o) {
@@ -63,11 +63,11 @@ var Ct = function(e, o) {
63
63
  const Et = W((e, o) => {
64
64
  var { title: n, titleId: t } = e, r = Ct(e, ["title", "titleId"]);
65
65
  let s = Y();
66
- return s = n ? t || "title-" + s : void 0, z.createElement(
66
+ return s = n ? t || "title-" + s : void 0, C.createElement(
67
67
  "svg",
68
68
  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),
69
- n ? z.createElement("title", { id: s }, n) : null,
70
- z.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" })
69
+ n ? C.createElement("title", { id: s }, n) : null,
70
+ 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" })
71
71
  );
72
72
  });
73
73
  var St = function(e, o) {
@@ -81,11 +81,11 @@ var St = function(e, o) {
81
81
  const Qe = W((e, o) => {
82
82
  var { title: n, titleId: t } = e, r = St(e, ["title", "titleId"]);
83
83
  let s = Y();
84
- return s = n ? t || "title-" + s : void 0, z.createElement(
84
+ return s = n ? t || "title-" + s : void 0, C.createElement(
85
85
  "svg",
86
86
  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),
87
- n ? z.createElement("title", { id: s }, n) : null,
88
- z.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" })
87
+ n ? C.createElement("title", { id: s }, n) : null,
88
+ 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" })
89
89
  );
90
90
  });
91
91
  var kt = function(e, o) {
@@ -99,11 +99,11 @@ var kt = function(e, o) {
99
99
  const Rt = W((e, o) => {
100
100
  var { title: n, titleId: t } = e, r = kt(e, ["title", "titleId"]);
101
101
  let s = Y();
102
- return s = n ? t || "title-" + s : void 0, z.createElement(
102
+ return s = n ? t || "title-" + s : void 0, C.createElement(
103
103
  "svg",
104
104
  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),
105
- n ? z.createElement("title", { id: s }, n) : null,
106
- z.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" })
105
+ n ? C.createElement("title", { id: s }, n) : null,
106
+ 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" })
107
107
  );
108
108
  });
109
109
  var Pt = function(e, o) {
@@ -117,11 +117,11 @@ var Pt = function(e, o) {
117
117
  const Be = W((e, o) => {
118
118
  var { title: n, titleId: t } = e, r = Pt(e, ["title", "titleId"]);
119
119
  let s = Y();
120
- return s = n ? t || "title-" + s : void 0, z.createElement(
120
+ return s = n ? t || "title-" + s : void 0, C.createElement(
121
121
  "svg",
122
122
  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),
123
- n ? z.createElement("title", { id: s }, n) : null,
124
- z.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" })
123
+ n ? C.createElement("title", { id: s }, n) : null,
124
+ 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" })
125
125
  );
126
126
  });
127
127
  var Mt = function(e, o) {
@@ -135,11 +135,11 @@ var Mt = function(e, o) {
135
135
  const $t = W((e, o) => {
136
136
  var { title: n, titleId: t } = e, r = Mt(e, ["title", "titleId"]);
137
137
  let s = Y();
138
- return s = n ? t || "title-" + s : void 0, z.createElement(
138
+ return s = n ? t || "title-" + s : void 0, C.createElement(
139
139
  "svg",
140
140
  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),
141
- n ? z.createElement("title", { id: s }, n) : null,
142
- z.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" })
141
+ n ? C.createElement("title", { id: s }, n) : null,
142
+ 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" })
143
143
  );
144
144
  });
145
145
  var jt = function(e, o) {
@@ -153,11 +153,11 @@ var jt = function(e, o) {
153
153
  const At = W((e, o) => {
154
154
  var { title: n, titleId: t } = e, r = jt(e, ["title", "titleId"]);
155
155
  let s = Y();
156
- return s = n ? t || "title-" + s : void 0, z.createElement(
156
+ return s = n ? t || "title-" + s : void 0, C.createElement(
157
157
  "svg",
158
158
  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),
159
- n ? z.createElement("title", { id: s }, n) : null,
160
- z.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" })
159
+ n ? C.createElement("title", { id: s }, n) : null,
160
+ 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" })
161
161
  );
162
162
  });
163
163
  var Dt = function(e, o) {
@@ -171,11 +171,11 @@ var Dt = function(e, o) {
171
171
  const Bt = W((e, o) => {
172
172
  var { title: n, titleId: t } = e, r = Dt(e, ["title", "titleId"]);
173
173
  let s = Y();
174
- return s = n ? t || "title-" + s : void 0, z.createElement(
174
+ return s = n ? t || "title-" + s : void 0, C.createElement(
175
175
  "svg",
176
176
  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),
177
- n ? z.createElement("title", { id: s }, n) : null,
178
- z.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" })
177
+ n ? C.createElement("title", { id: s }, n) : null,
178
+ 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" })
179
179
  );
180
180
  });
181
181
  var Tt = function(e, o) {
@@ -189,11 +189,11 @@ var Tt = function(e, o) {
189
189
  const Lt = W((e, o) => {
190
190
  var { title: n, titleId: t } = e, r = Tt(e, ["title", "titleId"]);
191
191
  let s = Y();
192
- return s = n ? t || "title-" + s : void 0, z.createElement(
192
+ return s = n ? t || "title-" + s : void 0, C.createElement(
193
193
  "svg",
194
194
  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),
195
- n ? z.createElement("title", { id: s }, n) : null,
196
- z.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" })
195
+ n ? C.createElement("title", { id: s }, n) : null,
196
+ 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" })
197
197
  );
198
198
  });
199
199
  var Ft = function(e, o) {
@@ -207,11 +207,11 @@ var Ft = function(e, o) {
207
207
  const Ht = W((e, o) => {
208
208
  var { title: n, titleId: t } = e, r = Ft(e, ["title", "titleId"]);
209
209
  let s = Y();
210
- return s = n ? t || "title-" + s : void 0, z.createElement(
210
+ return s = n ? t || "title-" + s : void 0, C.createElement(
211
211
  "svg",
212
212
  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),
213
- n ? z.createElement("title", { id: s }, n) : null,
214
- z.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" })
213
+ n ? C.createElement("title", { id: s }, n) : null,
214
+ 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" })
215
215
  );
216
216
  });
217
217
  var Gt = function(e, o) {
@@ -225,11 +225,11 @@ var Gt = function(e, o) {
225
225
  const Ae = W((e, o) => {
226
226
  var { title: n, titleId: t } = e, r = Gt(e, ["title", "titleId"]);
227
227
  let s = Y();
228
- return s = n ? t || "title-" + s : void 0, z.createElement(
228
+ return s = n ? t || "title-" + s : void 0, C.createElement(
229
229
  "svg",
230
230
  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),
231
- n ? z.createElement("title", { id: s }, n) : null,
232
- z.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" })
231
+ n ? C.createElement("title", { id: s }, n) : null,
232
+ 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" })
233
233
  );
234
234
  }), qt = "_badge_5li3b_1", Kt = "_label_5li3b_33", ye = {
235
235
  badge: qt,
@@ -311,7 +311,7 @@ const Ae = W((e, o) => {
311
311
  onKeyDown: w,
312
312
  onInput: v,
313
313
  onFocus: x,
314
- ...C
314
+ ...E
315
315
  }) => /* @__PURE__ */ a("li", { className: ze.search, style: e, "data-index": o, "data-menu-search": "true", children: l ? (
316
316
  // biome-ignore lint/a11y/useFocusableInteractive: <explanation>
317
317
  // biome-ignore lint/a11y/useAriaPropsForRole: <explanation>
@@ -339,7 +339,7 @@ const Ae = W((e, o) => {
339
339
  },
340
340
  onInput: v,
341
341
  onFocus: x,
342
- ...C
342
+ ...E
343
343
  }
344
344
  ) })
345
345
  ) : /* @__PURE__ */ a(
@@ -362,7 +362,7 @@ const Ae = W((e, o) => {
362
362
  },
363
363
  onInput: v,
364
364
  onFocus: x,
365
- ...C
365
+ ...E
366
366
  }
367
367
  ) }), Je = ({
368
368
  level: e = 0,
@@ -380,7 +380,7 @@ const Ae = W((e, o) => {
380
380
  size: w,
381
381
  id: v,
382
382
  color: x,
383
- variant: C,
383
+ variant: E,
384
384
  scrollRefStyles: b = {},
385
385
  keyboardEvents: S = !1,
386
386
  onSelect: j = () => {
@@ -390,12 +390,12 @@ const Ae = W((e, o) => {
390
390
  if (o && e >= o)
391
391
  return null;
392
392
  const _ = t === "combobox", f = _ && v ? `${v}-listbox` : v, D = J(r), P = J(r), [A, M] = oe(!1), $ = le(
393
- () => p.map((u, N) => ({
393
+ () => p.map((u, z) => ({
394
394
  ...u,
395
- id: u.id || `${v}-item-${N}`
395
+ id: u.id || `${v}-item-${z}`
396
396
  })),
397
397
  [p, v]
398
- ), R = J(null), { menu: E, setActiveIndex: h, activeItem: g } = Me({
398
+ ), R = J(null), { menu: N, setActiveIndex: h, activeItem: g } = Me({
399
399
  items: $,
400
400
  groups: i,
401
401
  groupByKey: "groupId",
@@ -424,7 +424,7 @@ const Ae = W((e, o) => {
424
424
  }, [d, _, h]), /* @__PURE__ */ I(
425
425
  Ie,
426
426
  {
427
- variant: C,
427
+ variant: E,
428
428
  expanded: n,
429
429
  ref: R,
430
430
  style: b,
@@ -450,15 +450,15 @@ const Ae = W((e, o) => {
450
450
  M(!1), l.onInput?.(u);
451
451
  },
452
452
  onKeyDown: (u) => {
453
- const N = u.key === "ArrowUp" || u.key === "ArrowDown", L = u.key.length === 1 || u.key === "Backspace" || u.key === "Delete";
454
- _ && !N && L && M(!1), l.onKeyDown?.(u);
453
+ const z = u.key === "ArrowUp" || u.key === "ArrowDown", L = u.key.length === 1 || u.key === "Backspace" || u.key === "Delete";
454
+ _ && !z && L && M(!1), l.onKeyDown?.(u);
455
455
  }
456
456
  }
457
457
  ),
458
- E.map((u, N) => {
458
+ N.map((u, z) => {
459
459
  const L = u?.props || {}, { title: F, hidden: G = !1, divider: V = !0 } = L;
460
460
  return /* @__PURE__ */ I(He, { children: [
461
- (e > 0 || N) && V ? /* @__PURE__ */ a(We, {}) : "",
461
+ (e > 0 || z) && V ? /* @__PURE__ */ a(We, {}) : "",
462
462
  /* @__PURE__ */ a(Ue, { hidden: G, children: /* @__PURE__ */ I(Ie, { role: "presentation", children: [
463
463
  F && /* @__PURE__ */ a(Ye, { title: F, level: e }),
464
464
  u?.items.filter((Q) => !Q.props?.hidden).map((Q, y) => {
@@ -476,7 +476,7 @@ const Ae = W((e, o) => {
476
476
  ...T,
477
477
  size: T?.size || L?.size || w,
478
478
  color: T?.color || L?.color || x,
479
- variant: T?.variant || L?.variant || C,
479
+ variant: T?.variant || L?.variant || E,
480
480
  active: O,
481
481
  role: Ne,
482
482
  selected: T.selected,
@@ -498,7 +498,7 @@ const Ae = W((e, o) => {
498
498
  groups: i,
499
499
  size: w,
500
500
  color: x,
501
- variant: C
501
+ variant: E
502
502
  }
503
503
  )
504
504
  ]
@@ -506,8 +506,8 @@ const Ae = W((e, o) => {
506
506
  y
507
507
  );
508
508
  })
509
- ] }) }, N)
510
- ] }, N);
509
+ ] }) }, z)
510
+ ] }, z);
511
511
  })
512
512
  ]
513
513
  }
@@ -524,26 +524,26 @@ const Ae = W((e, o) => {
524
524
  scrollRefStyles: w = {},
525
525
  id: v,
526
526
  expanded: x,
527
- a11yMode: C = "menu",
527
+ a11yMode: E = "menu",
528
528
  open: b,
529
529
  scrollToTopOnOpen: S = !1,
530
530
  autoActivateFirstItem: j = !0,
531
531
  announceNoResults: k = !1,
532
532
  onActiveItemIdChange: _
533
- } = e, f = C === "combobox", D = f && v ? `${v}-listbox` : v, P = J(b), [A, M] = oe(!1), $ = le(
533
+ } = e, f = E === "combobox", D = f && v ? `${v}-listbox` : v, P = J(b), [A, M] = oe(!1), $ = le(
534
534
  () => m.map((y, O) => ({
535
535
  ...y,
536
536
  id: y.id || `${v}-item-${O}`
537
537
  })),
538
538
  [m, v]
539
- ), { menu: R, activeItem: E, setActiveIndex: h, activeIndex: g } = Me({
539
+ ), { menu: R, activeItem: N, setActiveIndex: h, activeIndex: g } = Me({
540
540
  items: $,
541
541
  groups: c,
542
542
  groupByKey: "groupId",
543
543
  keyboardEvents: i,
544
544
  autoActivateFirstItem: j,
545
545
  ref: o
546
- }), { flatMenu: u, virtualizer: N, scrollMaxHeight: L } = vt({
546
+ }), { flatMenu: u, virtualizer: z, scrollMaxHeight: L } = vt({
547
547
  menu: R,
548
548
  scrollRef: o
549
549
  });
@@ -554,7 +554,7 @@ const Ae = W((e, o) => {
554
554
  r((B) => B === O ? B : O);
555
555
  });
556
556
  const F = le(() => {
557
- const y = E?.id;
557
+ const y = N?.id;
558
558
  if (y)
559
559
  return u.findIndex((B) => B.type === "item" && B.itemProps?.id === y);
560
560
  if (g < 0) return -1;
@@ -563,28 +563,28 @@ const Ae = W((e, o) => {
563
563
  if (u[B]?.type === "item" && (O += 1, O === g))
564
564
  return B;
565
565
  return -1;
566
- }, [E?.id, g, u]), G = J(null);
566
+ }, [N?.id, g, u]), G = J(null);
567
567
  Ce(() => {
568
568
  const y = G?.current, O = typeof y == "number" ? F <= y : !1;
569
569
  G.current = F;
570
570
  const B = O ? F : F + 2;
571
571
  if (!O) {
572
- const ie = N.getOffsetForIndex(B, "auto");
572
+ const ie = z.getOffsetForIndex(B, "auto");
573
573
  if (!ie) return;
574
574
  const [ge, Ne] = ie;
575
575
  if (Ne === "auto") return;
576
- N.scrollToOffset(ge + t + 10, { align: "start" });
576
+ z.scrollToOffset(ge + t + 10, { align: "start" });
577
577
  return;
578
578
  }
579
579
  if (F <= 3) {
580
- N.scrollToOffset(0);
580
+ z.scrollToOffset(0);
581
581
  return;
582
582
  }
583
- const Z = N.getOffsetForIndex(F - 1, "auto");
583
+ const Z = z.getOffsetForIndex(F - 1, "auto");
584
584
  if (!Z) return;
585
585
  const [T, ne] = Z;
586
- ne !== "auto" && N.scrollToOffset(T + t + 10, { align: "start" });
587
- }, [F, t, N, G]);
586
+ ne !== "auto" && z.scrollToOffset(T + t + 10, { align: "start" });
587
+ }, [F, t, z, G]);
588
588
  const V = le(() => {
589
589
  const y = /* @__PURE__ */ new Map();
590
590
  let O = 0;
@@ -593,8 +593,8 @@ const Ae = W((e, o) => {
593
593
  }), { positions: y, total: O };
594
594
  }, [u]);
595
595
  U(() => {
596
- _?.(E?.id);
597
- }, [E?.id, _]), U(() => {
596
+ _?.(N?.id);
597
+ }, [N?.id, _]), U(() => {
598
598
  if (f && k) {
599
599
  h(0), M(!0);
600
600
  return;
@@ -633,7 +633,7 @@ const Ae = W((e, o) => {
633
633
  ...s,
634
634
  combobox: f,
635
635
  listId: D,
636
- "aria-activedescendant": f && A ? E?.id : void 0,
636
+ "aria-activedescendant": f && A ? N?.id : void 0,
637
637
  onNavigate: f ? () => M(!0) : void 0,
638
638
  onChange: (y) => {
639
639
  M(!1), s.onChange?.(y);
@@ -656,10 +656,10 @@ const Ae = W((e, o) => {
656
656
  ref: n,
657
657
  style: {
658
658
  position: "relative",
659
- height: `${N.getTotalSize()}px`,
659
+ height: `${z.getTotalSize()}px`,
660
660
  width: "100%"
661
661
  },
662
- children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: N.getVirtualItems().map((y) => {
662
+ children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: z.getVirtualItems().map((y) => {
663
663
  const O = u[y.index];
664
664
  if (!O) return null;
665
665
  const B = {
@@ -672,7 +672,7 @@ const Ae = W((e, o) => {
672
672
  style: B,
673
673
  index: y.index,
674
674
  "data-index": y.index,
675
- ref: N.measureElement
675
+ ref: z.measureElement
676
676
  };
677
677
  switch (O.type) {
678
678
  case "divider":
@@ -818,7 +818,7 @@ const Ae = W((e, o) => {
818
818
  [n]
819
819
  ), w = H.useCallback(() => {
820
820
  p(""), t?.();
821
- }, [t]), v = H.useMemo(() => l.trim().replace(/\s+/g, " "), [l]), x = v.length > 0, C = H.useMemo(() => v.toLowerCase(), [v]), b = H.useMemo(() => v ? v.split(" ") : [], [v]), S = H.useMemo(
821
+ }, [t]), v = H.useMemo(() => l.trim().replace(/\s+/g, " "), [l]), x = v.length > 0, E = H.useMemo(() => v.toLowerCase(), [v]), b = H.useMemo(() => v ? v.split(" ") : [], [v]), S = H.useMemo(
822
822
  () => ({
823
823
  placeholder: e ?? d.placeholder,
824
824
  name: o ?? "search",
@@ -856,14 +856,14 @@ const Ae = W((e, o) => {
856
856
  }, [s, k]), { selectedItems: f, results: D } = H.useMemo(() => {
857
857
  if (!x) return { selectedItems: [], results: [] };
858
858
  const g = [], u = [];
859
- for (const N of j)
860
- N.checked === !0 && g.push({ ...N, groupId: "selected" }), (N.searchWords ?? []).some((G) => String(G).toLowerCase().includes(C)) && u.push({
861
- ...N,
859
+ for (const z of j)
860
+ z.checked === !0 && g.push({ ...z, groupId: "selected" }), (z.searchWords ?? []).some((G) => String(G).toLowerCase().includes(E)) && u.push({
861
+ ...z,
862
862
  groupId: "search",
863
863
  highlightWords: b
864
864
  });
865
865
  return { selectedItems: g, results: u };
866
- }, [x, j, C, b]), P = D.length, A = f.length, M = H.useMemo(
866
+ }, [x, j, E, b]), P = D.length, A = f.length, M = H.useMemo(
867
867
  () => ({
868
868
  search: {
869
869
  hidden: !0,
@@ -897,7 +897,7 @@ const Ae = W((e, o) => {
897
897
  }
898
898
  }),
899
899
  [M, x, d, P, A]
900
- ), R = H.useMemo(() => x ? rn([...D, ...f]) : [], [x, D, f]), E = H.useMemo(() => [..._ || [], ...f || []], [_, f]), h = H.useMemo(() => x ? P ? R : E : s, [x, s, P, R, E]);
900
+ ), R = H.useMemo(() => x ? rn([...D, ...f]) : [], [x, D, f]), N = H.useMemo(() => [..._ || [], ...f || []], [_, f]), h = H.useMemo(() => x ? P ? R : N : s, [x, s, P, R, N]);
901
901
  return {
902
902
  search: S,
903
903
  results: D,
@@ -922,7 +922,7 @@ const Ae = W((e, o) => {
922
922
  a11yMode: w = "menu",
923
923
  open: v,
924
924
  scrollToTopOnOpen: x,
925
- autoFocusList: C,
925
+ autoFocusList: E,
926
926
  id: b
927
927
  }) => {
928
928
  const S = on({ ...o, items: n, groups: t }), j = e ? S.search : o, k = e && S.hasQuery && S.resultCount === 0, _ = e ? S.items : n, f = e ? { ...t, ...S.groups } : t, D = w !== "combobox";
@@ -945,7 +945,7 @@ const Ae = W((e, o) => {
945
945
  open: v,
946
946
  scrollToTopOnOpen: x,
947
947
  autoActivateFirstItem: D,
948
- autoFocusList: C
948
+ autoFocusList: E
949
949
  }
950
950
  ) : /* @__PURE__ */ a(
951
951
  Je,
@@ -966,7 +966,7 @@ const Ae = W((e, o) => {
966
966
  open: v,
967
967
  scrollToTopOnOpen: x,
968
968
  autoActivateFirstItem: D,
969
- autoFocusList: C
969
+ autoFocusList: E
970
970
  }
971
971
  );
972
972
  }, an = "_media_1089b_3", sn = "_icon_1089b_10", ln = "_avatar_1089b_14", cn = "_avatarGroup_1089b_18", ae = {
@@ -1071,7 +1071,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1071
1071
  name: w,
1072
1072
  value: v,
1073
1073
  checked: x,
1074
- icon: C,
1074
+ icon: E,
1075
1075
  label: b,
1076
1076
  badge: S,
1077
1077
  controls: j,
@@ -1084,18 +1084,18 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1084
1084
  selected: M,
1085
1085
  active: $,
1086
1086
  tabIndex: R = 0,
1087
- className: E,
1087
+ className: N,
1088
1088
  "data-testid": h,
1089
1089
  ...g
1090
1090
  }) => {
1091
- const u = typeof b == "function" ? b() : b, N = ht(g);
1091
+ const u = typeof b == "function" ? b() : b, z = ht(g);
1092
1092
  if (n === "checkbox" || n === "radio") {
1093
- const G = C || (x ? Qe : Lt);
1093
+ const G = E || (x ? Qe : Lt);
1094
1094
  return /* @__PURE__ */ I(
1095
1095
  "label",
1096
1096
  {
1097
- ...N,
1098
- className: K(q.item, E),
1097
+ ...z,
1098
+ className: K(q.item, N),
1099
1099
  id: e,
1100
1100
  "data-id": e,
1101
1101
  "data-group-id": o,
@@ -1167,7 +1167,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1167
1167
  L,
1168
1168
  {
1169
1169
  href: r,
1170
- className: K(q.item, E),
1170
+ className: K(q.item, N),
1171
1171
  id: e,
1172
1172
  "data-id": e,
1173
1173
  "data-group-id": o,
@@ -1188,9 +1188,9 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1188
1188
  onMouseEnter: d,
1189
1189
  tabIndex: A ? -1 : R ?? 0,
1190
1190
  role: n === "menuItem" ? "menuitem" : n,
1191
- ...N,
1191
+ ...z,
1192
1192
  children: [
1193
- C && /* @__PURE__ */ a(Te, { icon: C, className: q.media }),
1193
+ E && /* @__PURE__ */ a(Te, { icon: E, className: q.media }),
1194
1194
  /* @__PURE__ */ a(
1195
1195
  Le,
1196
1196
  {
@@ -1245,32 +1245,32 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1245
1245
  minLength: i,
1246
1246
  ...w
1247
1247
  }) => {
1248
- const v = De(), [x, C] = oe(!1), b = w.id || `search-field-${v}`, S = `${b}-listbox`, [j, k] = oe(void 0), _ = "searchfield-clear-button-" + De(), f = le(() => !p || !c || typeof i == "number" && typeof c == "string" && c.length < i ? !1 : x, [p, x, i, c]), D = le(() => (p?.items ?? []).map((h) => ({
1248
+ const v = De(), [x, E] = oe(!1), b = w.id || `search-field-${v}`, S = `${b}-listbox`, [j, k] = oe(void 0), _ = "searchfield-clear-button-" + De(), f = le(() => !p || !c || typeof i == "number" && typeof c == "string" && c.length < i ? !1 : x, [p, x, i, c]), D = le(() => (p?.items ?? []).map((h) => ({
1249
1249
  ...h,
1250
1250
  onClick: () => {
1251
- h.onClick?.(), C(!1);
1251
+ h.onClick?.(), E(!1);
1252
1252
  }
1253
1253
  })), [p]), P = (h) => {
1254
1254
  if (h.key === "Enter" && f) {
1255
- p?.items?.[0]?.onClick?.(), C(!1);
1255
+ p?.items?.[0]?.onClick?.(), E(!1);
1256
1256
  return;
1257
1257
  }
1258
1258
  if (h.key === "Escape" && f) {
1259
- h.preventDefault(), h.stopPropagation(), C(!1), p?.onClose(), document.getElementById(b)?.focus();
1259
+ h.preventDefault(), h.stopPropagation(), E(!1), p?.onClose(), document.getElementById(b)?.focus();
1260
1260
  return;
1261
1261
  }
1262
- w.onKeyDown?.(h), C(!0);
1262
+ w.onKeyDown?.(h), E(!0);
1263
1263
  }, A = () => {
1264
- C(!0);
1264
+ E(!0);
1265
1265
  }, M = (h) => {
1266
1266
  if (!x) return;
1267
1267
  const g = h.relatedTarget;
1268
- g && h.currentTarget.contains(g) || C(!1);
1268
+ g && h.currentTarget.contains(g) || E(!1);
1269
1269
  }, $ = (h) => {
1270
1270
  h.preventDefault();
1271
1271
  }, R = (h) => {
1272
1272
  h.relatedTarget?.id === _ && k(void 0), w.onBlur?.(h);
1273
- }, E = /* @__PURE__ */ I(
1273
+ }, N = /* @__PURE__ */ I(
1274
1274
  Qt,
1275
1275
  {
1276
1276
  size: r,
@@ -1330,7 +1330,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1330
1330
  }
1331
1331
  );
1332
1332
  return p ? /* @__PURE__ */ I("div", { className: ee.fieldContainer, children: [
1333
- E,
1333
+ N,
1334
1334
  f && /* @__PURE__ */ a("div", { className: ee.autocomplete, "aria-hidden": !f, onMouseDown: $, children: /* @__PURE__ */ a(
1335
1335
  et,
1336
1336
  {
@@ -1345,7 +1345,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1345
1345
  onActiveItemIdChange: k
1346
1346
  }
1347
1347
  ) })
1348
- ] }) : E;
1348
+ ] }) : N;
1349
1349
  }, kn = "_byline_fzp7k_1", Rn = "_avatar_fzp7k_7", Pn = "_avatarGroup_fzp7k_12", Mn = "_label_fzp7k_26", pe = {
1350
1350
  byline: kn,
1351
1351
  avatar: Rn,
@@ -1406,7 +1406,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1406
1406
  onClose: w,
1407
1407
  color: v,
1408
1408
  onSubmit: x,
1409
- activeDescendantId: C,
1409
+ activeDescendantId: E,
1410
1410
  useFixedPosition: b = !1,
1411
1411
  expanded: S = !1
1412
1412
  }) => {
@@ -1420,7 +1420,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1420
1420
  maxHeight: 300
1421
1421
  }), P = qe(() => {
1422
1422
  if (i && j.current && k.current) {
1423
- const $ = j.current.getBoundingClientRect(), R = k.current.getBoundingClientRect(), E = window.innerHeight, h = window.innerWidth, g = 16, u = E - $.bottom, N = $.top, L = h - $.right - R.width, F = u < 250 && N > u, G = F ? "top" : "bottom", V = (F ? N : u) - g, y = L < g ? "right" : "left";
1423
+ const $ = j.current.getBoundingClientRect(), R = k.current.getBoundingClientRect(), N = window.innerHeight, h = window.innerWidth, g = 16, u = N - $.bottom, z = $.top, L = h - $.right - R.width, F = u < 250 && z > u, G = F ? "top" : "bottom", V = (F ? z : u) - g, y = L < g ? "right" : "left";
1424
1424
  D((O) => ({
1425
1425
  ...O,
1426
1426
  yDir: G,
@@ -1437,14 +1437,14 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1437
1437
  const $ = requestAnimationFrame(() => {
1438
1438
  const R = k.current;
1439
1439
  if (!R) return;
1440
- const E = R.querySelector(
1440
+ const N = R.querySelector(
1441
1441
  'input[type="search"]:not([disabled]), input[role="searchbox"]:not([disabled]), input[data-dropdown-search]:not([disabled])'
1442
1442
  );
1443
- if (E) {
1444
- const h = E.value.length;
1445
- E.focus({ preventScroll: !0 });
1443
+ if (N) {
1444
+ const h = N.value.length;
1445
+ N.focus({ preventScroll: !0 });
1446
1446
  try {
1447
- E.setSelectionRange(h, h);
1447
+ N.setSelectionRange(h, h);
1448
1448
  } catch {
1449
1449
  }
1450
1450
  return;
@@ -1453,10 +1453,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1453
1453
  });
1454
1454
  return () => cancelAnimationFrame($);
1455
1455
  }, [i]), U(() => {
1456
- const $ = (E) => {
1457
- E.key === "Escape" && w();
1458
- }, R = (E) => {
1459
- const h = E.target, g = j.current?.contains(h), u = k.current?.contains(h);
1456
+ const $ = (N) => {
1457
+ N.key === "Escape" && (N.preventDefault(), w());
1458
+ }, R = (N) => {
1459
+ const h = N.target, g = j.current?.contains(h), u = k.current?.contains(h);
1460
1460
  !g && !u && w();
1461
1461
  };
1462
1462
  return i && (document.addEventListener("mousedown", R), document.addEventListener("keydown", $)), () => {
@@ -1471,18 +1471,18 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1471
1471
  return;
1472
1472
  const g = h.target;
1473
1473
  g && !$.contains(g) && Hn($);
1474
- }, E = (h) => {
1474
+ }, N = (h) => {
1475
1475
  if (h.key !== "Tab") return;
1476
1476
  const g = nt($);
1477
1477
  if (g.length === 0) {
1478
1478
  h.preventDefault(), $.focus?.({ preventScroll: !0 });
1479
1479
  return;
1480
1480
  }
1481
- const u = g[0], N = g[g.length - 1], L = document.activeElement;
1482
- h.shiftKey ? L === u && (h.preventDefault(), N.focus({ preventScroll: !0 })) : L === N && (h.preventDefault(), u.focus({ preventScroll: !0 }));
1481
+ const u = g[0], z = g[g.length - 1], L = document.activeElement;
1482
+ h.shiftKey ? L === u && (h.preventDefault(), z.focus({ preventScroll: !0 })) : L === z && (h.preventDefault(), u.focus({ preventScroll: !0 }));
1483
1483
  };
1484
- return document.addEventListener("focusin", R), document.addEventListener("keydown", E), () => {
1485
- document.removeEventListener("focusin", R), document.removeEventListener("keydown", E);
1484
+ return document.addEventListener("focusin", R), document.addEventListener("keydown", N), () => {
1485
+ document.removeEventListener("focusin", R), document.removeEventListener("keydown", N);
1486
1486
  };
1487
1487
  }, [i]);
1488
1488
  const A = b && f.triggerRect ? {
@@ -1515,7 +1515,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1515
1515
  tabIndex: -1,
1516
1516
  role: "menu",
1517
1517
  "aria-modal": s === "drawer-dropdown" ? !0 : void 0,
1518
- "aria-activedescendant": C,
1518
+ "aria-activedescendant": E,
1519
1519
  children: [
1520
1520
  /* @__PURE__ */ I("header", { className: ce.header, children: [
1521
1521
  /* @__PURE__ */ a("h2", { className: ce.title, children: m }),
@@ -1592,7 +1592,7 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1592
1592
  recipientLabel: w = "to",
1593
1593
  grouped: v = !1,
1594
1594
  updatedAt: x,
1595
- updatedAtLabel: C,
1595
+ updatedAtLabel: E,
1596
1596
  archived: b,
1597
1597
  archivedAt: S,
1598
1598
  archivedAtLabel: j,
@@ -1605,11 +1605,11 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1605
1605
  unread: M,
1606
1606
  unreadLabel: $ = "Ulest",
1607
1607
  seenByLog: R,
1608
- draftsLabel: E,
1608
+ draftsLabel: N,
1609
1609
  sentCount: h,
1610
1610
  receivedCount: g,
1611
1611
  attachmentsCount: u,
1612
- attachmentsLabel: N,
1612
+ attachmentsLabel: z,
1613
1613
  tooltips: L = {},
1614
1614
  title: F,
1615
1615
  description: G,
@@ -1683,11 +1683,11 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1683
1683
  badge: D,
1684
1684
  status: d,
1685
1685
  extendedStatusLabel: l,
1686
- draftsLabel: E,
1686
+ draftsLabel: N,
1687
1687
  sentCount: h,
1688
1688
  receivedCount: g,
1689
1689
  updatedAt: x,
1690
- updatedAtLabel: C,
1690
+ updatedAtLabel: E,
1691
1691
  archivedAt: S,
1692
1692
  archivedAtLabel: j,
1693
1693
  trashedAt: _,
@@ -1695,7 +1695,7 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1695
1695
  dueAt: P,
1696
1696
  dueAtLabel: A,
1697
1697
  attachmentsCount: u,
1698
- attachmentsLabel: N,
1698
+ attachmentsLabel: z,
1699
1699
  tooltips: L
1700
1700
  }
1701
1701
  ),
@@ -1724,7 +1724,7 @@ const rr = ({
1724
1724
  draftsLabel: w,
1725
1725
  sentCount: v = 0,
1726
1726
  receivedCount: x = 0,
1727
- attachmentsCount: C = 0,
1727
+ attachmentsCount: E = 0,
1728
1728
  attachmentsLabel: b,
1729
1729
  transmissionsLabel: S,
1730
1730
  activityLog: j,
@@ -1739,7 +1739,7 @@ const rr = ({
1739
1739
  s
1740
1740
  ] }),
1741
1741
  m && c && /* @__PURE__ */ a(te, { tooltip: _.dueAt, loading: o, datetime: m, size: "xs", icon: gt, children: c }),
1742
- C > 0 && /* @__PURE__ */ a(te, { tooltip: _.attachments, loading: o, size: "xs", icon: yt, children: b || C }),
1742
+ E > 0 && /* @__PURE__ */ a(te, { tooltip: _.attachments, loading: o, size: "xs", icon: yt, children: b || E }),
1743
1743
  S && /* @__PURE__ */ a(te, { tooltip: _.transmissions, loading: o, size: "xs", icon: At, children: S }),
1744
1744
  v > 0 && /* @__PURE__ */ a(te, { tooltip: _.sent, size: "xs", icon: Qe, children: v }),
1745
1745
  x > 0 && /* @__PURE__ */ a(te, { tooltip: _.received, size: "xs", icon: Et, children: x }),