@altinn/altinn-components 0.52.7 → 0.53.0

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 (237) hide show
  1. package/dist/assets/Button.css +1 -1
  2. package/dist/assets/ButtonGroup.css +1 -1
  3. package/dist/assets/ButtonGroupDivider.css +1 -1
  4. package/dist/assets/ButtonLabel.css +1 -1
  5. package/dist/assets/DatepickerTable.css +1 -1
  6. package/dist/assets/IconButton.css +1 -0
  7. package/dist/assets/LocaleButton.css +1 -1
  8. package/dist/assets/ModalBody.css +1 -1
  9. package/dist/assets/ModalHeader.css +1 -1
  10. package/dist/assets/SearchField.css +1 -1
  11. package/dist/button-BB5sYVKY.js +38 -0
  12. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +7 -6
  13. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +3 -2
  14. package/dist/components/Account/AccountList.js +3 -2
  15. package/dist/components/Account/AccountListItem.js +6 -5
  16. package/dist/components/Account/AccountListItemControls.js +16 -16
  17. package/dist/components/Account/AccountListItemDetails.js +2 -2
  18. package/dist/components/Account/AccountListVirtual.js +9 -8
  19. package/dist/components/Account/AccountMenu.js +7 -6
  20. package/dist/components/Account/AccountMenuButton.js +30 -30
  21. package/dist/components/Account/AccountNotificationSettings.js +9 -8
  22. package/dist/components/Account/AccountOrganization.js +7 -6
  23. package/dist/components/ActivityLog/ActivityLogItem.js +3 -2
  24. package/dist/components/ActivityLog/ActivityLogSegment.js +3 -2
  25. package/dist/components/Article/Article.js +3 -2
  26. package/dist/components/Article/ArticleContact.js +3 -2
  27. package/dist/components/Article/ArticleHeader.js +3 -2
  28. package/dist/components/Attachment/AttachmentLink.js +24 -23
  29. package/dist/components/Banner/Banner.js +10 -19
  30. package/dist/components/Button/Button.js +22 -58
  31. package/dist/components/Button/ButtonGroup.js +11 -21
  32. package/dist/components/Button/ButtonGroupDivider.js +5 -4
  33. package/dist/components/Button/ButtonIcon.js +5 -4
  34. package/dist/components/Button/ButtonLabel.js +2 -2
  35. package/dist/components/Button/ComboButton.js +11 -68
  36. package/dist/components/Button/FloatingActionButton.js +13 -18
  37. package/dist/components/Button/IconButton.js +6 -33
  38. package/dist/components/Button/index.js +16 -16
  39. package/dist/components/Byline/Byline.js +7 -6
  40. package/dist/components/ContextMenu/ContextMenu.js +35 -35
  41. package/dist/components/Dashboard/DashboardCard.js +3 -2
  42. package/dist/components/Dashboard/DashboardHeader.js +10 -9
  43. package/dist/components/Dashboard/DashboardIcon.js +3 -2
  44. package/dist/components/Datepicker/DatepickerHeader.js +22 -22
  45. package/dist/components/Datepicker/DatepickerTable.js +14 -14
  46. package/dist/components/Dialog/Dialog.js +3 -2
  47. package/dist/components/Dialog/DialogActions.js +36 -44
  48. package/dist/components/Dialog/DialogActivityLog.js +3 -2
  49. package/dist/components/Dialog/DialogAttachments.js +3 -2
  50. package/dist/components/Dialog/DialogBody.js +3 -2
  51. package/dist/components/Dialog/DialogByline.js +3 -2
  52. package/dist/components/Dialog/DialogContact.js +3 -2
  53. package/dist/components/Dialog/DialogHeader.js +7 -6
  54. package/dist/components/Dialog/DialogHistoryItem.js +3 -2
  55. package/dist/components/Dialog/DialogHistorySegment.js +3 -2
  56. package/dist/components/Dialog/DialogLayout.js +3 -2
  57. package/dist/components/Dialog/DialogList.js +5 -4
  58. package/dist/components/Dialog/DialogListGroup.js +3 -2
  59. package/dist/components/Dialog/DialogListItem.js +3 -2
  60. package/dist/components/Dialog/DialogMetadata.js +3 -2
  61. package/dist/components/Dialog/DialogSection.js +3 -2
  62. package/dist/components/Dialog/DialogSeenBy.js +3 -2
  63. package/dist/components/Dialog/DialogSelect.js +5 -4
  64. package/dist/components/Dialog/DialogStatus.js +3 -2
  65. package/dist/components/Dialog/DialogTabs.js +3 -2
  66. package/dist/components/Dialog/SeenByLog.js +9 -8
  67. package/dist/components/Dialog/SeenByLogButton.js +3 -2
  68. package/dist/components/Dialog/SeenByLogItem.js +11 -10
  69. package/dist/components/Dropdown/DrawerButton.js +3 -3
  70. package/dist/components/Dropdown/DrawerHeader.js +8 -18
  71. package/dist/components/Dropdown/DrawerOrDropdown.js +7 -6
  72. package/dist/components/Dropdown/DropdownBase.js +7 -6
  73. package/dist/components/Dropdown/FloatingDropdown.js +36 -36
  74. package/dist/components/DsComponents/index.js +15 -16
  75. package/dist/components/Forms/Checkbox.js +3 -2
  76. package/dist/components/Forms/CheckboxOptions.js +3 -2
  77. package/dist/components/Forms/FieldBase.js +3 -2
  78. package/dist/components/Forms/FieldsetBase.js +3 -2
  79. package/dist/components/Forms/Radio.js +3 -2
  80. package/dist/components/Forms/RadioOptions.js +3 -2
  81. package/dist/components/Forms/SearchField.js +22 -23
  82. package/dist/components/Forms/SelectField.js +4 -3
  83. package/dist/components/Forms/Switch.js +3 -2
  84. package/dist/components/Forms/SwitchOptions.js +3 -2
  85. package/dist/components/Forms/TextField.js +3 -2
  86. package/dist/components/Forms/TextareaField.js +3 -2
  87. package/dist/components/GlobalHeader/AccountSelector.js +2 -2
  88. package/dist/components/GlobalHeader/GlobalHeader.js +3 -2
  89. package/dist/components/GlobalHeader/GlobalHeaderBase.js +6 -5
  90. package/dist/components/GlobalHeader/GlobalSearch.js +7 -6
  91. package/dist/components/GlobalHeader/GlobalSearchButton.js +8 -7
  92. package/dist/components/GlobalHeader/HeaderLogo.js +13 -16
  93. package/dist/components/GlobalMenu/BackButton.js +3 -2
  94. package/dist/components/GlobalMenu/GlobalMenu.js +9 -8
  95. package/dist/components/GlobalMenu/GlobalMenuButton.js +2 -2
  96. package/dist/components/GlobalMenu/LocaleButton.js +3 -2
  97. package/dist/components/GlobalMenu/LocaleSwitcher.js +3 -2
  98. package/dist/components/GlobalMenu/LogoutButton.js +6 -8
  99. package/dist/components/GlobalMenu_old/BackButton.js +3 -2
  100. package/dist/components/GlobalMenu_old/CurrentAccount.js +5 -4
  101. package/dist/components/GlobalMenu_old/GlobalMenu.js +11 -10
  102. package/dist/components/GlobalMenu_old/GlobalMenuButton.js +23 -23
  103. package/dist/components/GlobalMenu_old/LogoutButton.js +6 -8
  104. package/dist/components/Header/Header.js +3 -2
  105. package/dist/components/Header/HeaderBase.js +5 -4
  106. package/dist/components/Header/HeaderButton.js +22 -22
  107. package/dist/components/Header/HeaderLogo.js +13 -17
  108. package/dist/components/Header/LocaleButton.js +17 -17
  109. package/dist/components/Header/LocaleSwitcher.js +8 -7
  110. package/dist/components/Icon/Icon.js +12 -11
  111. package/dist/components/Icon/IconOrAvatar.js +15 -14
  112. package/dist/components/InboxSearch/InboxSearch.js +11 -10
  113. package/dist/components/Layout/Layout.js +11 -10
  114. package/dist/components/LayoutAction/ActionHeader.js +18 -18
  115. package/dist/components/LayoutAction/LayoutAction.js +3 -2
  116. package/dist/components/List/List.js +3 -2
  117. package/dist/components/List/ListBase.js +3 -2
  118. package/dist/components/List/ListItemHeader.js +5 -4
  119. package/dist/components/List/ListItemIcon.js +3 -2
  120. package/dist/components/List/ListItemLabel.js +16 -15
  121. package/dist/components/List/ListItemSelect.js +4 -3
  122. package/dist/components/Menu/MenuItem.js +15 -14
  123. package/dist/components/Menu/MenuItemBase.js +5 -5
  124. package/dist/components/Menu/MenuItemIcon.js +6 -5
  125. package/dist/components/Menu/MenuItemLabel.js +13 -12
  126. package/dist/components/Menu/MenuItems.js +1 -0
  127. package/dist/components/Menu/MenuItemsVirtual.js +26 -25
  128. package/dist/components/Menu/MenuOption.js +17 -16
  129. package/dist/components/Menu/MenuSearch.js +3 -2
  130. package/dist/components/Metadata/MetaItem.js +7 -6
  131. package/dist/components/Metadata/MetaItemIcon.js +3 -2
  132. package/dist/components/Metadata/MetaProgress.js +3 -2
  133. package/dist/components/Metadata/MetaTimestamp.js +7 -6
  134. package/dist/components/Metadata/Metadata.js +8 -7
  135. package/dist/components/Modal/Modal.js +13 -13
  136. package/dist/components/Modal/ModalBase.js +7 -6
  137. package/dist/components/Modal/ModalBody.js +5 -10
  138. package/dist/components/Modal/ModalFooter.js +3 -2
  139. package/dist/components/Modal/ModalHeader.js +26 -36
  140. package/dist/components/Modal/ModalIcon.js +7 -6
  141. package/dist/components/Notifications/NotificationItem.js +6 -5
  142. package/dist/components/Notifications/NotificationItemBase.js +10 -9
  143. package/dist/components/Notifications/NotificationItemControls.js +14 -24
  144. package/dist/components/Notifications/NotificationItemIcon.js +8 -7
  145. package/dist/components/Page/AccordionSection.js +3 -2
  146. package/dist/components/Page/Breadcrumbs.js +7 -6
  147. package/dist/components/Page/ContactButtons.js +11 -6
  148. package/dist/components/Page/ContactSection.js +3 -2
  149. package/dist/components/Page/PageMenu.js +6 -5
  150. package/dist/components/Page/PageNav.js +11 -8
  151. package/dist/components/Page/PageTabs.js +6 -5
  152. package/dist/components/Page/Section.js +27 -7
  153. package/dist/components/ResourceListItem/ResourceListItem.js +3 -2
  154. package/dist/components/RootProvider/RootProvider.js +9 -8
  155. package/dist/components/Search/SearchItem.js +5 -4
  156. package/dist/components/Searchbar/Autocomplete.js +3 -2
  157. package/dist/components/Searchbar/AutocompleteItem.js +11 -10
  158. package/dist/components/Searchbar/Searchbar.js +10 -9
  159. package/dist/components/Searchbar/SearchbarField.js +54 -53
  160. package/dist/components/Settings/BookmarksSettingsList.js +7 -6
  161. package/dist/components/Settings/SettingsItem.js +3 -2
  162. package/dist/components/Settings/SettingsItemBase.js +7 -6
  163. package/dist/components/Settings/SettingsList.js +7 -6
  164. package/dist/components/Settings/SettingsModal.js +33 -26
  165. package/dist/components/Settings/SettingsSection.js +3 -2
  166. package/dist/components/Settings/UsedByLog.js +8 -7
  167. package/dist/components/Settings/UsedByLogItem.js +10 -9
  168. package/dist/components/Snackbar/SnackbarItem.js +13 -22
  169. package/dist/components/Timeline/Timeline.js +3 -2
  170. package/dist/components/Timeline/TimelineActivity.js +3 -2
  171. package/dist/components/Timeline/TimelineBase.js +10 -9
  172. package/dist/components/Timeline/TimelineFooter.js +6 -5
  173. package/dist/components/Timeline/TimelineHeader.js +3 -2
  174. package/dist/components/Timeline/TimelineIcon.js +6 -5
  175. package/dist/components/Timeline/TimelineSection.js +3 -2
  176. package/dist/components/Timeline/TimelineSegment.js +6 -5
  177. package/dist/components/Timeline/index.js +2 -4
  178. package/dist/components/Toolbar/ToolbarAccountMenu.js +18 -17
  179. package/dist/components/Toolbar/ToolbarAdd.js +5 -4
  180. package/dist/components/Toolbar/ToolbarButton.js +94 -88
  181. package/dist/components/Toolbar/ToolbarDaterange.js +3 -2
  182. package/dist/components/Toolbar/ToolbarFilter.js +24 -23
  183. package/dist/components/Toolbar/ToolbarFilterBase.js +8 -8
  184. package/dist/components/Toolbar/ToolbarMenu.js +3 -2
  185. package/dist/components/Toolbar/ToolbarOptions.js +3 -2
  186. package/dist/components/Toolbar/ToolbarSearch.js +7 -6
  187. package/dist/components/Transmission/Transmission.js +8 -7
  188. package/dist/components/Transmission/TransmissionList.js +8 -7
  189. package/dist/components/Transmission/TransmissionType.js +3 -2
  190. package/dist/components/Typography/Heading.js +3 -2
  191. package/dist/components/UserListItem/UserListItem.js +12 -11
  192. package/dist/components/index.js +192 -195
  193. package/dist/hooks/useAccountSelector.js +46 -46
  194. package/dist/{index-Dg71_7ad.js → index-DttADHE1.js} +1 -1
  195. package/dist/index.js +204 -207
  196. package/dist/{textfield-B_OMMEbF.js → textfield-C_c2H05R.js} +25 -26
  197. package/dist/types/lib/components/Account/AccountListItemDetails.d.ts +5 -1
  198. package/dist/types/lib/components/Button/Button.d.ts +21 -10
  199. package/dist/types/lib/components/Button/Button.stories.d.ts +13 -10
  200. package/dist/types/lib/components/Button/ButtonGroup.d.ts +6 -6
  201. package/dist/types/lib/components/Button/ButtonGroup.stories.d.ts +3 -1
  202. package/dist/types/lib/components/Button/ButtonGroupDivider.d.ts +5 -1
  203. package/dist/types/lib/components/Button/ButtonIcon.d.ts +2 -1
  204. package/dist/types/lib/components/Button/ButtonLabel.d.ts +1 -1
  205. package/dist/types/lib/components/Button/ComboButton.d.ts +6 -15
  206. package/dist/types/lib/components/Button/ComboButton.stories.d.ts +0 -3
  207. package/dist/types/lib/components/Button/FloatingActionButton.d.ts +5 -12
  208. package/dist/types/lib/components/Button/IconButton.d.ts +4 -17
  209. package/dist/types/lib/components/Button/index.d.ts +4 -4
  210. package/dist/types/lib/components/Datepicker/Datepicker.stories.d.ts +6 -0
  211. package/dist/types/lib/components/Dialog/DialogActions.d.ts +1 -0
  212. package/dist/types/lib/components/Dropdown/FloatingDropdown.d.ts +2 -2
  213. package/dist/types/lib/components/GlobalHeader/HeaderLogo.d.ts +1 -2
  214. package/dist/types/lib/components/Header/HeaderButton.d.ts +0 -2
  215. package/dist/types/lib/components/Header/HeaderLogo.d.ts +1 -1
  216. package/dist/types/lib/components/Menu/MenuItem.d.ts +1 -1
  217. package/dist/types/lib/components/Menu/MenuItemBase.d.ts +2 -2
  218. package/dist/types/lib/components/Modal/ModalBody.d.ts +2 -3
  219. package/dist/types/lib/components/Page/ContactButtons.d.ts +1 -0
  220. package/dist/types/lib/components/Page/Section.d.ts +1 -1
  221. package/dist/types/lib/components/Settings/SettingsModal.d.ts +1 -0
  222. package/dist/types/lib/components/Settings/VerifySettingsModal.stories.d.ts +14 -0
  223. package/dist/types/lib/components/Timeline/index.d.ts +0 -1
  224. package/dist/types/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
  225. package/dist/types/lib/components/Toolbar/ToolbarButton.stories.d.ts +1 -1
  226. package/dist/types/lib/components/Toolbar/ToolbarFilterBase.d.ts +2 -2
  227. package/package.json +1 -1
  228. package/dist/assets/ButtonBase.css +0 -1
  229. package/dist/assets/ComboButton.css +0 -1
  230. package/dist/assets/TimelineLink.css +0 -1
  231. package/dist/button-MzZgmHyA.js +0 -23
  232. package/dist/components/Button/ButtonBase.js +0 -41
  233. package/dist/components/Timeline/TimelineLink.js +0 -36
  234. package/dist/spinner-0Qe_jRGB.js +0 -23
  235. package/dist/types/lib/components/Button/ButtonBase.d.ts +0 -26
  236. package/dist/types/lib/components/Button/IconButton.stories.d.ts +0 -7
  237. package/dist/types/lib/components/Timeline/TimelineLink.d.ts +0 -9
@@ -1,19 +1,20 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
+ import "../Button/Button.js";
4
5
  import { Byline as l } from "../Byline/Byline.js";
5
6
  import "../RootProvider/RootProvider.js";
6
7
  import { TimelineBase as n } from "./TimelineBase.js";
7
8
  import "../Snackbar/useSnackbar.js";
8
9
  import { S as f } from "../../CircleFill-yFbEHBRX.js";
9
- const F = ({
10
+ const S = ({
10
11
  loading: r,
11
12
  as: o = "li",
12
- color: e = "neutral",
13
- icon: m = f,
13
+ color: m = "neutral",
14
+ icon: e = f,
14
15
  iconColor: t,
15
16
  children: p
16
- }) => /* @__PURE__ */ i(n, { loading: r, as: o, icon: m, color: e, iconColor: t, border: "hidden", children: /* @__PURE__ */ i(l, { loading: r, children: p }) });
17
+ }) => /* @__PURE__ */ i(n, { loading: r, as: o, icon: e, color: m, iconColor: t, border: "hidden", children: /* @__PURE__ */ i(l, { loading: r, children: p }) });
17
18
  export {
18
- F as TimelineFooter
19
+ S as TimelineFooter
19
20
  };
@@ -2,6 +2,7 @@ import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { Skeleton as c } from "../Skeleton/Skeleton.js";
5
+ import "../Button/Button.js";
5
6
  import { Byline as a } from "../Byline/Byline.js";
6
7
  import "../RootProvider/RootProvider.js";
7
8
  import { TimelineIcon as l } from "./TimelineIcon.js";
@@ -11,10 +12,10 @@ import '../../assets/TimelineHeader.css';const p = "_header_177gq_1", h = "_side
11
12
  header: p,
12
13
  sidebar: h,
13
14
  content: _
14
- }, z = ({ as: t = "li", loading: i, color: o, icon: s, children: n }) => /* @__PURE__ */ m(d, { as: t, className: r.header, color: o, children: [
15
+ }, T = ({ as: t = "li", loading: i, color: o, icon: s, children: n }) => /* @__PURE__ */ m(d, { as: t, className: r.header, color: o, children: [
15
16
  /* @__PURE__ */ e("aside", { className: r.sidebar, children: /* @__PURE__ */ e(c, { variant: "circle", loading: i, children: /* @__PURE__ */ e(l, { icon: s, theme: "base", size: "lg" }) }) }),
16
17
  /* @__PURE__ */ e("div", { className: r.content, children: /* @__PURE__ */ e(a, { loading: i, size: "lg", children: n }) })
17
18
  ] });
18
19
  export {
19
- z as TimelineHeader
20
+ T as TimelineHeader
20
21
  };
@@ -1,9 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { isValidElement as n } from "react";
2
+ import { isValidElement as p } from "react";
3
3
  import "../../index-p1eeF8LQ.js";
4
- import { Icon as s, isIconProps as p } from "../Icon/Icon.js";
4
+ import { Icon as s, isIconProps as n } from "../Icon/Icon.js";
5
5
  import { isAvatarProps as l, Avatar as f } from "../Avatar/Avatar.js";
6
6
  import { isAvatarGroupProps as c, AvatarGroup as u } from "../Avatar/AvatarGroup.js";
7
+ import "../Button/Button.js";
7
8
  import "../RootProvider/RootProvider.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { S as d } from "../../XMark-tKk6aExO.js";
@@ -11,9 +12,9 @@ import '../../assets/TimelineIcon.css';const g = "_icon_13w5g_1", a = {
11
12
  icon: g
12
13
  };
13
14
  function v(o) {
14
- return typeof o == "string" || typeof o == "number" || typeof o == "boolean" || o === null || n(o);
15
+ return typeof o == "string" || typeof o == "number" || typeof o == "boolean" || o === null || p(o);
15
16
  }
16
- const x = ({ loading: o, size: e, color: i, theme: m, icon: r }) => r ? o ? /* @__PURE__ */ t(s, { className: a.icon, svgElement: d, loading: !0 }) : /* @__PURE__ */ t("div", { className: a.icon, "data-color": i, "data-size": e, children: l(r) && /* @__PURE__ */ t(f, { ...r }) || c(r) && /* @__PURE__ */ t(u, { ...r, className: a.avatarGroup }) || p(r) && /* @__PURE__ */ t(s, { ...r, theme: m }) || v(r) && r || /* @__PURE__ */ t(s, { theme: m, svgElement: r }) }) : null;
17
+ const S = ({ loading: o, size: i, color: e, theme: m, icon: r }) => r ? o ? /* @__PURE__ */ t(s, { className: a.icon, svgElement: d, loading: !0 }) : /* @__PURE__ */ t("div", { className: a.icon, "data-color": e, "data-size": i, children: l(r) && /* @__PURE__ */ t(f, { ...r }) || c(r) && /* @__PURE__ */ t(u, { ...r, className: a.avatarGroup }) || n(r) && /* @__PURE__ */ t(s, { ...r, theme: m }) || v(r) && r || /* @__PURE__ */ t(s, { theme: m, svgElement: r }) }) : null;
17
18
  export {
18
- x as TimelineIcon
19
+ S as TimelineIcon
19
20
  };
@@ -2,12 +2,13 @@ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { Typography as c } from "../Typography/Typography.js";
5
+ import "../Button/Button.js";
5
6
  import { Byline as j } from "../Byline/Byline.js";
6
7
  import "../RootProvider/RootProvider.js";
7
8
  import { TimelineBase as l } from "./TimelineBase.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { Section as u } from "../Page/Section.js";
10
- const q = ({
11
+ const v = ({
11
12
  loading: o,
12
13
  unread: p,
13
14
  level: e,
@@ -36,5 +37,5 @@ const q = ({
36
37
  }
37
38
  );
38
39
  export {
39
- q as TimelineSection
40
+ v as TimelineSection
40
41
  };
@@ -1,29 +1,30 @@
1
1
  import { jsx as i, jsxs as S } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
+ import "../Button/Button.js";
4
5
  import { Byline as a } from "../Byline/Byline.js";
5
6
  import "../RootProvider/RootProvider.js";
6
7
  import { TimelineBase as h } from "./TimelineBase.js";
7
8
  import "../Snackbar/useSnackbar.js";
8
9
  import { Section as x } from "../Page/Section.js";
9
10
  import { S as d } from "../../CircleFill-yFbEHBRX.js";
10
- const q = ({
11
+ const w = ({
11
12
  loading: r,
12
13
  unread: m,
13
14
  datetime: t,
14
15
  byline: o,
15
16
  icon: e = d,
16
- color: l,
17
- spacing: p = 2,
17
+ color: p,
18
+ spacing: l = 2,
18
19
  margin: n = "bottom",
19
20
  children: c,
20
21
  id: s,
21
22
  footer: j,
22
23
  ...f
23
- }) => /* @__PURE__ */ i(h, { loading: r, color: m ? l : "neutral", icon: e, as: "li", ...f, id: s, children: /* @__PURE__ */ S(x, { margin: n, spacing: p, children: [
24
+ }) => /* @__PURE__ */ i(h, { loading: r, color: m ? p : "neutral", icon: e, as: "li", ...f, id: s, children: /* @__PURE__ */ S(x, { margin: n, spacing: l, children: [
24
25
  o && /* @__PURE__ */ i(a, { loading: r, datetime: t, children: o }),
25
26
  c
26
27
  ] }) });
27
28
  export {
28
- q as TimelineSegment
29
+ w as TimelineSegment
29
30
  };
@@ -1,4 +1,4 @@
1
- import { Timeline as o } from "./Timeline.js";
1
+ import { Timeline as i } from "./Timeline.js";
2
2
  import { TimelineSegment as m } from "./TimelineSegment.js";
3
3
  import { TimelineActivity as n } from "./TimelineActivity.js";
4
4
  import { TimelineBase as l } from "./TimelineBase.js";
@@ -6,15 +6,13 @@ import { TimelineSection as x } from "./TimelineSection.js";
6
6
  import { TimelineHeader as c } from "./TimelineHeader.js";
7
7
  import { TimelineFooter as S } from "./TimelineFooter.js";
8
8
  import { TimelineIcon as g } from "./TimelineIcon.js";
9
- import { TimelineLink as s } from "./TimelineLink.js";
10
9
  export {
11
- o as Timeline,
10
+ i as Timeline,
12
11
  n as TimelineActivity,
13
12
  l as TimelineBase,
14
13
  S as TimelineFooter,
15
14
  c as TimelineHeader,
16
15
  g as TimelineIcon,
17
- s as TimelineLink,
18
16
  x as TimelineSection,
19
17
  m as TimelineSegment
20
18
  };
@@ -1,45 +1,46 @@
1
- import { jsxs as T, jsx as c } from "react/jsx-runtime";
2
- import { createElement as g } from "react";
1
+ import { jsxs as g, jsx as i } from "react/jsx-runtime";
2
+ import { createElement as x } from "react";
3
3
  import "../../index-p1eeF8LQ.js";
4
- import { AccountMenu as x } from "../Account/AccountMenu.js";
4
+ import { AccountMenu as T } from "../Account/AccountMenu.js";
5
5
  import { useIsDesktop as b } from "../../hooks/useIsDesktop.js";
6
+ import "../Button/Button.js";
6
7
  import { useRootContext as k } from "../RootProvider/RootProvider.js";
7
- import { DrawerOrDropdown as I } from "../Dropdown/DrawerOrDropdown.js";
8
+ import { DrawerOrDropdown as h } from "../Dropdown/DrawerOrDropdown.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
- import { ToolbarButton as h } from "./ToolbarButton.js";
10
- import { ToolbarFilterBase as w } from "./ToolbarFilterBase.js";
11
- const O = ({
10
+ import { ToolbarButton as w } from "./ToolbarButton.js";
11
+ import { ToolbarFilterBase as B } from "./ToolbarFilterBase.js";
12
+ const R = ({
12
13
  currentAccount: e,
13
14
  id: n = "toolbar-accounts",
14
- onSelectAccount: i,
15
+ onSelectAccount: c,
15
16
  buttonTestId: l,
16
17
  title: m = "Endre aktør",
17
18
  ...p
18
19
  }) => {
19
20
  const { currentId: a, toggleId: d, closeAll: r } = k(), u = b(), f = () => d(n), o = a === n;
20
- return /* @__PURE__ */ T(w, { expanded: o, onBlurCapture: (t) => {
21
+ return /* @__PURE__ */ g(B, { expanded: o, onBlurCapture: (t) => {
21
22
  const s = t.relatedTarget;
22
23
  (!s || !t.currentTarget.contains(s)) && r();
23
- }, dataTestId: "filter-base-accounts", children: [
24
- /* @__PURE__ */ c(
25
- h,
24
+ }, "data-testid": "filter-base-accounts", children: [
25
+ /* @__PURE__ */ i(
26
+ w,
26
27
  {
27
28
  type: "switch",
28
29
  onToggle: f,
29
30
  active: !!e,
30
- dataTestId: l,
31
+ "data-testid": l,
31
32
  "aria-expanded": o,
32
33
  children: e?.name
33
34
  }
34
35
  ),
35
- /* @__PURE__ */ c(I, { open: o, size: "lg", drawerTitle: m, onClose: r, children: /* @__PURE__ */ g(
36
- x,
36
+ /* @__PURE__ */ i(h, { open: o, size: "lg", drawerTitle: m, onClose: r, children: /* @__PURE__ */ x(
37
+ T,
37
38
  {
38
39
  ...p,
39
40
  keyboardEvents: o && u,
40
41
  key: a,
41
42
  onSelectAccount: (t) => {
42
- i?.(t), r();
43
+ c?.(t), r();
43
44
  },
44
45
  currentAccount: e
45
46
  }
@@ -47,5 +48,5 @@ const O = ({
47
48
  ] });
48
49
  };
49
50
  export {
50
- O as ToolbarAccountMenu
51
+ R as ToolbarAccountMenu
51
52
  };
@@ -2,22 +2,23 @@ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { useIsDesktop as u } from "../../hooks/useIsDesktop.js";
5
+ import "../Button/Button.js";
5
6
  import { useRootContext as f } from "../RootProvider/RootProvider.js";
6
7
  import { DrawerOrDropdown as g } from "../Dropdown/DrawerOrDropdown.js";
7
8
  import { Menu as x } from "../Menu/Menu.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { ToolbarButton as T } from "./ToolbarButton.js";
10
11
  import { ToolbarFilterBase as B } from "./ToolbarFilterBase.js";
11
- const v = ({ label: t = "Legg til", items: a, id: e }) => {
12
- const { currentId: l, closeAll: n, toggleId: d } = f(), o = l === e, m = () => d(e), s = u();
12
+ const E = ({ label: t = "Legg til", items: a, id: e }) => {
13
+ const { currentId: l, closeAll: n, toggleId: m } = f(), o = l === e, d = () => m(e), s = u();
13
14
  return /* @__PURE__ */ c(B, { expanded: o, onBlurCapture: (p) => {
14
15
  const i = p.relatedTarget;
15
16
  s && (!i || !p.currentTarget.contains(i)) && n();
16
17
  }, children: [
17
- /* @__PURE__ */ r(T, { type: "add", onToggle: m, "aria-expanded": o, children: t }),
18
+ /* @__PURE__ */ r(T, { type: "add", onToggle: d, "aria-expanded": o, children: t }),
18
19
  /* @__PURE__ */ r(g, { drawerTitle: t, open: o, onClose: n, children: /* @__PURE__ */ r(x, { color: "neutral", items: a, keyboardEvents: o && s }) })
19
20
  ] });
20
21
  };
21
22
  export {
22
- v as ToolbarAdd
23
+ E as ToolbarAdd
23
24
  };
@@ -1,109 +1,115 @@
1
1
  "use client";
2
- import { jsx as d } from "react/jsx-runtime";
2
+ import { jsxs as s, jsx as i } from "react/jsx-runtime";
3
+ import { Button as f } from "../Button/Button.js";
3
4
  import "../../index-p1eeF8LQ.js";
4
- import i, { forwardRef as s } from "react";
5
+ import a, { forwardRef as p } from "react";
5
6
  import "../RootProvider/RootProvider.js";
6
7
  import "../Snackbar/useSnackbar.js";
7
- import { Button as c } from "../Button/Button.js";
8
- import { ComboButton as y } from "../Button/ComboButton.js";
9
- import { S as w } from "../../XMark-tKk6aExO.js";
10
- import { u as p } from "../../useId-BVFxCjkq.js";
11
- import '../../assets/ToolbarButton.css';var O = function(t, n) {
12
- var o = {};
13
- for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (o[e] = t[e]);
8
+ import { ButtonGroup as h } from "../Button/ButtonGroup.js";
9
+ import { ButtonGroupDivider as w } from "../Button/ButtonGroupDivider.js";
10
+ import { S as O } from "../../XMark-tKk6aExO.js";
11
+ import { u as v } from "../../useId-BVFxCjkq.js";
12
+ import '../../assets/ToolbarButton.css';var g = function(t, o) {
13
+ var l = {};
14
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (l[e] = t[e]);
14
15
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
15
16
  for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
16
- n.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (o[e[r]] = t[e[r]]);
17
- return o;
17
+ o.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
18
+ return l;
18
19
  };
19
- const g = s((t, n) => {
20
- var { title: o, titleId: e } = t, r = O(t, ["title", "titleId"]);
21
- let l = p();
22
- return l = o ? e || "title-" + l : void 0, i.createElement(
20
+ const x = p((t, o) => {
21
+ var { title: l, titleId: e } = t, r = g(t, ["title", "titleId"]);
22
+ let n = v();
23
+ return n = l ? e || "title-" + n : void 0, a.createElement(
23
24
  "svg",
24
- 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: n, "aria-labelledby": l }, r),
25
- o ? i.createElement("title", { id: l }, o) : null,
26
- i.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" })
25
+ 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": n }, r),
26
+ l ? a.createElement("title", { id: n }, l) : null,
27
+ a.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" })
27
28
  );
28
29
  });
29
- var h = function(t, n) {
30
- var o = {};
31
- for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (o[e] = t[e]);
30
+ var _ = function(t, o) {
31
+ var l = {};
32
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (l[e] = t[e]);
32
33
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
33
34
  for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
34
- n.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (o[e[r]] = t[e[r]]);
35
- return o;
35
+ o.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
36
+ return l;
36
37
  };
37
- const x = s((t, n) => {
38
- var { title: o, titleId: e } = t, r = h(t, ["title", "titleId"]);
39
- let l = p();
40
- return l = o ? e || "title-" + l : void 0, i.createElement(
38
+ const j = p((t, o) => {
39
+ var { title: l, titleId: e } = t, r = _(t, ["title", "titleId"]);
40
+ let n = v();
41
+ return n = l ? e || "title-" + n : void 0, a.createElement(
41
42
  "svg",
42
- 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: n, "aria-labelledby": l }, r),
43
- o ? i.createElement("title", { id: l }, o) : null,
44
- i.createElement("path", { fill: "currentColor", d: "M12.75 5.5a.75.75 0 0 0-1.5 0v5.75H5.5a.75.75 0 0 0 0 1.5h5.75v5.75a.75.75 0 0 0 1.5 0v-5.75h5.75a.75.75 0 0 0 0-1.5h-5.75z" })
43
+ 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": n }, r),
44
+ l ? a.createElement("title", { id: n }, l) : null,
45
+ a.createElement("path", { fill: "currentColor", d: "M12.75 5.5a.75.75 0 0 0-1.5 0v5.75H5.5a.75.75 0 0 0 0 1.5h5.75v5.75a.75.75 0 0 0 1.5 0v-5.75h5.75a.75.75 0 0 0 0-1.5h-5.75z" })
45
46
  );
46
- }), _ = "_removeButton_fxc8_1", j = {
47
- removeButton: _
48
- }, L = ({
47
+ }), B = "_removeButton_fxc8_1", I = {
48
+ removeButton: B
49
+ }, H = ({
49
50
  type: t = "select",
50
- selected: n = !1,
51
51
  removable: o = !1,
52
- ariaLabel: e,
53
- active: r,
54
- children: l,
55
- onToggle: a,
56
- onRemove: v,
57
- iconAltText: b,
58
- dataTestId: f,
52
+ ariaLabel: l,
53
+ active: e,
54
+ children: r,
55
+ onToggle: n,
56
+ onRemove: b,
57
+ iconAltText: y,
58
+ "data-testid": u,
59
59
  tabIndex: m,
60
- "aria-expanded": u
61
- }) => o ? /* @__PURE__ */ d(
62
- y,
63
- {
64
- className: j.removeButton,
65
- variant: r ? "solid" : "outline",
66
- size: "xs",
67
- icon: w,
68
- selected: n,
69
- onLabelClick: a,
70
- onIconClick: v,
71
- iconAltText: b,
72
- ariaLabel: typeof l != "string" ? e : void 0,
73
- "aria-expanded": u,
74
- dataTestId: f,
75
- tabIndex: m,
76
- children: l
60
+ "aria-expanded": c
61
+ }) => {
62
+ if (o) {
63
+ const d = e ? "tinted" : "outline";
64
+ return /* @__PURE__ */ s(
65
+ h,
66
+ {
67
+ connected: !0,
68
+ className: I.removeButton,
69
+ variant: d,
70
+ size: "xs",
71
+ "aria-expanded": c,
72
+ "data-testid": u,
73
+ tabIndex: m,
74
+ children: [
75
+ /* @__PURE__ */ i(f, { variant: d, onClick: n, children: r }),
76
+ /* @__PURE__ */ i(w, { variant: d }),
77
+ /* @__PURE__ */ i(f, { variant: d, "aria-label": y || "remove", onClick: b, children: /* @__PURE__ */ i(O, {}) })
78
+ ]
79
+ }
80
+ );
77
81
  }
78
- ) : t === "add" ? /* @__PURE__ */ d(
79
- c,
80
- {
81
- variant: "dotted",
82
- size: "xs",
83
- icon: x,
84
- selected: n,
85
- onClick: a,
86
- ariaLabel: e || "add",
87
- "aria-expanded": u,
88
- dataTestId: f,
89
- tabIndex: m,
90
- children: l
91
- }
92
- ) : /* @__PURE__ */ d(
93
- c,
94
- {
95
- dataTestId: f,
96
- variant: r ? "solid" : "outline",
97
- size: "xs",
98
- icon: g,
99
- ariaLabel: e,
100
- selected: n,
101
- onClick: a,
102
- "aria-expanded": u,
103
- reverse: !0,
104
- children: l
105
- }
106
- );
82
+ return t === "add" ? /* @__PURE__ */ s(
83
+ f,
84
+ {
85
+ variant: "outline",
86
+ size: "xs",
87
+ onClick: n,
88
+ "aria-label": l || "add",
89
+ "aria-expanded": c,
90
+ "data-testid": u,
91
+ tabIndex: m,
92
+ children: [
93
+ /* @__PURE__ */ i(j, {}),
94
+ /* @__PURE__ */ i("span", { children: r })
95
+ ]
96
+ }
97
+ ) : /* @__PURE__ */ s(
98
+ f,
99
+ {
100
+ "data-testid": u,
101
+ variant: e ? "solid" : "outline",
102
+ size: "xs",
103
+ "aria-label": l,
104
+ onClick: n,
105
+ "aria-expanded": c,
106
+ children: [
107
+ /* @__PURE__ */ i("span", { children: r }),
108
+ /* @__PURE__ */ i(x, {})
109
+ ]
110
+ }
111
+ );
112
+ };
107
113
  export {
108
- L as ToolbarButton
114
+ H as ToolbarButton
109
115
  };
@@ -1,6 +1,7 @@
1
1
  import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as m } from "react";
3
3
  import "../../index-p1eeF8LQ.js";
4
+ import "../Button/Button.js";
4
5
  import { useRootContext as F } from "../RootProvider/RootProvider.js";
5
6
  import { DrawerOrDropdown as x } from "../Dropdown/DrawerOrDropdown.js";
6
7
  import { MenuInputField as p } from "../Menu/MenuInputField.js";
@@ -13,7 +14,7 @@ import '../../assets/ToolbarDaterange.css';const I = "_datepicker_ud6cb_1", N =
13
14
  datepicker: I,
14
15
  fields: N,
15
16
  description: j
16
- }, L = ({
17
+ }, P = ({
17
18
  id: i = "toolbar-filter-datetange",
18
19
  title: f = "Select daterange",
19
20
  description: g = "Choose dates or click to set daterange.",
@@ -53,5 +54,5 @@ import '../../assets/ToolbarDaterange.css';const I = "_datepicker_ud6cb_1", N =
53
54
  ] });
54
55
  };
55
56
  export {
56
- L as ToolbarDaterange
57
+ P as ToolbarDaterange
57
58
  };
@@ -1,53 +1,54 @@
1
- import { jsxs as C, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as D, jsx as a } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
- import { useIsDesktop as D } from "../../hooks/useIsDesktop.js";
4
+ import { useIsDesktop as I } from "../../hooks/useIsDesktop.js";
5
+ import "../Button/Button.js";
5
6
  import { useRootContext as j } from "../RootProvider/RootProvider.js";
6
7
  import { DrawerOrDropdown as F } from "../Dropdown/DrawerOrDropdown.js";
7
8
  import "../Snackbar/useSnackbar.js";
8
9
  import { ToolbarButton as L } from "./ToolbarButton.js";
9
10
  import { ToolbarFilterBase as O } from "./ToolbarFilterBase.js";
10
11
  import { ToolbarOptions as R } from "./ToolbarOptions.js";
11
- const E = (c, t) => Array.isArray(t) ? t.join(", ") : t, N = ({
12
- removable: c,
12
+ const E = (i, t) => Array.isArray(t) ? t.join(", ") : t, P = ({
13
+ removable: i,
13
14
  label: t,
14
15
  name: o,
15
- filterState: i,
16
- options: b,
17
- optionGroups: m,
18
- onChange: T,
19
- onRemove: y,
16
+ filterState: c,
17
+ options: m,
18
+ optionGroups: b,
19
+ onChange: y,
20
+ onRemove: T,
20
21
  buttonAltText: p = "Remove button",
21
22
  getSelectedLabel: g,
22
23
  showResultsLabel: x = "Show results",
23
24
  optionType: A,
24
25
  id: s = `toolbar-filter-${o}`
25
26
  }) => {
26
- const { currentId: h, toggleId: v, closeAll: d } = j(), u = D(), I = (b ?? []).map((r) => {
27
- const e = i?.[r.name || o];
27
+ const { currentId: h, toggleId: v, closeAll: d } = j(), u = I(), k = (m ?? []).map((r) => {
28
+ const e = c?.[r.name || o];
28
29
  return {
29
30
  name: o,
30
31
  ...r,
31
32
  checked: Array.isArray(e) ? e.includes(r.value) : r.value === e
32
33
  };
33
- }), n = i?.[o], k = g?.(o, n) ?? E(o, n), f = () => v(s), l = h === s, w = (r) => {
34
+ }), n = c?.[o], w = g?.(o, n) ?? E(o, n), f = () => v(s), l = h === s, B = (r) => {
34
35
  const e = r.relatedTarget;
35
36
  u && (!e || !r.currentTarget.contains(e)) && d();
36
- }, B = Array.isArray(n) ? n.length > 0 : typeof n < "u";
37
- return /* @__PURE__ */ C(O, { expanded: l, onBlurCapture: w, dataTestId: "filter-base-" + s, children: [
37
+ }, C = Array.isArray(n) ? n.length > 0 : typeof n < "u";
38
+ return /* @__PURE__ */ D(O, { expanded: l, onBlurCapture: B, "data-testid": "filter-base-" + s, children: [
38
39
  /* @__PURE__ */ a(
39
40
  L,
40
41
  {
41
42
  type: "select",
42
- removable: c,
43
- active: B,
43
+ removable: i,
44
+ active: C,
44
45
  onToggle: f,
45
46
  ariaLabel: p,
46
47
  iconAltText: p,
47
- onRemove: y,
48
- dataTestId: s,
48
+ onRemove: T,
49
+ "data-testid": s,
49
50
  tabIndex: l ? -1 : 0,
50
- children: k || t
51
+ children: w || t
51
52
  }
52
53
  ),
53
54
  /* @__PURE__ */ a(
@@ -64,9 +65,9 @@ const E = (c, t) => Array.isArray(t) ? t.join(", ") : t, N = ({
64
65
  R,
65
66
  {
66
67
  name: o,
67
- options: I,
68
- optionGroups: m,
69
- onChange: T,
68
+ options: k,
69
+ optionGroups: b,
70
+ onChange: y,
70
71
  optionType: A,
71
72
  keyboardEvents: l && u
72
73
  }
@@ -76,5 +77,5 @@ const E = (c, t) => Array.isArray(t) ? t.join(", ") : t, N = ({
76
77
  ] });
77
78
  };
78
79
  export {
79
- N as ToolbarFilter
80
+ P as ToolbarFilter
80
81
  };
@@ -1,17 +1,17 @@
1
- import { jsx as d } from "react/jsx-runtime";
1
+ import { jsx as o } from "react/jsx-runtime";
2
2
  import { c as r } from "../../index-p1eeF8LQ.js";
3
- import '../../assets/ToolbarFilterBase.css';const c = "_base_4n04w_1", l = "_expanded_4n04w_5", e = {
3
+ import '../../assets/ToolbarFilterBase.css';const c = "_base_4n04w_1", i = "_expanded_4n04w_5", e = {
4
4
  base: c,
5
- expanded: l
6
- }, i = ({
5
+ expanded: i
6
+ }, x = ({
7
7
  expanded: s = !1,
8
8
  children: a,
9
9
  onBlurCapture: t,
10
- dataTestId: n
10
+ "data-testid": d
11
11
  }) => {
12
- const o = r(e.base, s && e.expanded);
13
- return /* @__PURE__ */ d("div", { onBlurCapture: t, className: o, "data-testid": n, children: a });
12
+ const n = r(e.base, s && e.expanded);
13
+ return /* @__PURE__ */ o("div", { onBlurCapture: t, className: n, "data-testid": d, children: a });
14
14
  };
15
15
  export {
16
- i as ToolbarFilterBase
16
+ x as ToolbarFilterBase
17
17
  };
@@ -1,13 +1,14 @@
1
1
  import { jsxs as u, jsx as o } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
+ import "../Button/Button.js";
4
5
  import { useRootContext as f } from "../RootProvider/RootProvider.js";
5
6
  import { DrawerOrDropdown as x } from "../Dropdown/DrawerOrDropdown.js";
6
7
  import { Menu as T } from "../Menu/Menu.js";
7
8
  import "../Snackbar/useSnackbar.js";
8
9
  import { ToolbarButton as b } from "./ToolbarButton.js";
9
10
  import { ToolbarFilterBase as g } from "./ToolbarFilterBase.js";
10
- const v = ({
11
+ const y = ({
11
12
  label: e,
12
13
  value: n,
13
14
  groups: m,
@@ -23,5 +24,5 @@ const v = ({
23
24
  ] });
24
25
  };
25
26
  export {
26
- v as ToolbarMenu
27
+ y as ToolbarMenu
27
28
  };