@altinn/altinn-components 0.52.7 → 0.53.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 (243) hide show
  1. package/dist/assets/AccountSelector.css +1 -1
  2. package/dist/assets/Button.css +1 -1
  3. package/dist/assets/ButtonGroup.css +1 -1
  4. package/dist/assets/ButtonGroupDivider.css +1 -1
  5. package/dist/assets/ButtonLabel.css +1 -1
  6. package/dist/assets/DatepickerTable.css +1 -1
  7. package/dist/assets/IconButton.css +1 -0
  8. package/dist/assets/LocaleButton.css +1 -1
  9. package/dist/assets/ModalBody.css +1 -1
  10. package/dist/assets/ModalHeader.css +1 -1
  11. package/dist/assets/SearchField.css +1 -1
  12. package/dist/button-BB5sYVKY.js +38 -0
  13. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +7 -6
  14. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +3 -2
  15. package/dist/components/Account/AccountList.js +3 -2
  16. package/dist/components/Account/AccountListItem.js +6 -5
  17. package/dist/components/Account/AccountListItemControls.js +16 -16
  18. package/dist/components/Account/AccountListItemDetails.js +2 -2
  19. package/dist/components/Account/AccountListVirtual.js +9 -8
  20. package/dist/components/Account/AccountMenu.js +7 -6
  21. package/dist/components/Account/AccountMenuButton.js +30 -30
  22. package/dist/components/Account/AccountNotificationSettings.js +9 -8
  23. package/dist/components/Account/AccountOrganization.js +7 -6
  24. package/dist/components/ActivityLog/ActivityLogItem.js +3 -2
  25. package/dist/components/ActivityLog/ActivityLogSegment.js +3 -2
  26. package/dist/components/Article/Article.js +3 -2
  27. package/dist/components/Article/ArticleContact.js +3 -2
  28. package/dist/components/Article/ArticleHeader.js +3 -2
  29. package/dist/components/Attachment/AttachmentLink.js +24 -23
  30. package/dist/components/Banner/Banner.js +10 -19
  31. package/dist/components/Button/Button.js +22 -58
  32. package/dist/components/Button/ButtonGroup.js +11 -21
  33. package/dist/components/Button/ButtonGroupDivider.js +5 -4
  34. package/dist/components/Button/ButtonIcon.js +5 -4
  35. package/dist/components/Button/ButtonLabel.js +2 -2
  36. package/dist/components/Button/ComboButton.js +11 -68
  37. package/dist/components/Button/FloatingActionButton.js +13 -18
  38. package/dist/components/Button/IconButton.js +6 -33
  39. package/dist/components/Button/index.js +16 -16
  40. package/dist/components/Byline/Byline.js +7 -6
  41. package/dist/components/ContextMenu/ContextMenu.js +35 -35
  42. package/dist/components/Dashboard/DashboardCard.js +3 -2
  43. package/dist/components/Dashboard/DashboardHeader.js +10 -9
  44. package/dist/components/Dashboard/DashboardIcon.js +3 -2
  45. package/dist/components/Datepicker/DatepickerHeader.js +22 -22
  46. package/dist/components/Datepicker/DatepickerTable.js +14 -14
  47. package/dist/components/Dialog/Dialog.js +3 -2
  48. package/dist/components/Dialog/DialogActions.js +36 -44
  49. package/dist/components/Dialog/DialogActivityLog.js +3 -2
  50. package/dist/components/Dialog/DialogAttachments.js +3 -2
  51. package/dist/components/Dialog/DialogBody.js +3 -2
  52. package/dist/components/Dialog/DialogByline.js +3 -2
  53. package/dist/components/Dialog/DialogContact.js +3 -2
  54. package/dist/components/Dialog/DialogHeader.js +7 -6
  55. package/dist/components/Dialog/DialogHistoryItem.js +3 -2
  56. package/dist/components/Dialog/DialogHistorySegment.js +3 -2
  57. package/dist/components/Dialog/DialogLayout.js +3 -2
  58. package/dist/components/Dialog/DialogList.js +5 -4
  59. package/dist/components/Dialog/DialogListGroup.js +3 -2
  60. package/dist/components/Dialog/DialogListItem.js +3 -2
  61. package/dist/components/Dialog/DialogMetadata.js +3 -2
  62. package/dist/components/Dialog/DialogSection.js +3 -2
  63. package/dist/components/Dialog/DialogSeenBy.js +3 -2
  64. package/dist/components/Dialog/DialogSelect.js +5 -4
  65. package/dist/components/Dialog/DialogStatus.js +3 -2
  66. package/dist/components/Dialog/DialogTabs.js +3 -2
  67. package/dist/components/Dialog/SeenByLog.js +9 -8
  68. package/dist/components/Dialog/SeenByLogButton.js +3 -2
  69. package/dist/components/Dialog/SeenByLogItem.js +11 -10
  70. package/dist/components/Dropdown/DrawerButton.js +3 -3
  71. package/dist/components/Dropdown/DrawerHeader.js +8 -18
  72. package/dist/components/Dropdown/DrawerOrDropdown.js +7 -6
  73. package/dist/components/Dropdown/DropdownBase.js +7 -6
  74. package/dist/components/Dropdown/FloatingDropdown.js +36 -36
  75. package/dist/components/DsComponents/index.js +21 -22
  76. package/dist/components/Forms/Checkbox.js +3 -2
  77. package/dist/components/Forms/CheckboxOptions.js +3 -2
  78. package/dist/components/Forms/FieldBase.js +3 -2
  79. package/dist/components/Forms/FieldsetBase.js +3 -2
  80. package/dist/components/Forms/Radio.js +3 -2
  81. package/dist/components/Forms/RadioOptions.js +3 -2
  82. package/dist/components/Forms/SearchField.js +22 -23
  83. package/dist/components/Forms/SelectField.js +4 -3
  84. package/dist/components/Forms/Switch.js +3 -2
  85. package/dist/components/Forms/SwitchOptions.js +3 -2
  86. package/dist/components/Forms/TextField.js +3 -2
  87. package/dist/components/Forms/TextareaField.js +3 -2
  88. package/dist/components/GlobalHeader/AccountSelector.js +114 -94
  89. package/dist/components/GlobalHeader/GlobalHeader.js +3 -2
  90. package/dist/components/GlobalHeader/GlobalHeaderBase.js +6 -5
  91. package/dist/components/GlobalHeader/GlobalSearch.js +7 -6
  92. package/dist/components/GlobalHeader/GlobalSearchButton.js +8 -7
  93. package/dist/components/GlobalHeader/HeaderLogo.js +13 -16
  94. package/dist/components/GlobalMenu/BackButton.js +3 -2
  95. package/dist/components/GlobalMenu/GlobalMenu.js +9 -8
  96. package/dist/components/GlobalMenu/GlobalMenuButton.js +2 -2
  97. package/dist/components/GlobalMenu/LocaleButton.js +3 -2
  98. package/dist/components/GlobalMenu/LocaleSwitcher.js +3 -2
  99. package/dist/components/GlobalMenu/LogoutButton.js +6 -8
  100. package/dist/components/GlobalMenu_old/BackButton.js +3 -2
  101. package/dist/components/GlobalMenu_old/CurrentAccount.js +5 -4
  102. package/dist/components/GlobalMenu_old/GlobalMenu.js +11 -10
  103. package/dist/components/GlobalMenu_old/GlobalMenuButton.js +23 -23
  104. package/dist/components/GlobalMenu_old/LogoutButton.js +6 -8
  105. package/dist/components/Header/Header.js +3 -2
  106. package/dist/components/Header/HeaderBase.js +5 -4
  107. package/dist/components/Header/HeaderButton.js +22 -22
  108. package/dist/components/Header/HeaderLogo.js +13 -17
  109. package/dist/components/Header/LocaleButton.js +17 -17
  110. package/dist/components/Header/LocaleSwitcher.js +8 -7
  111. package/dist/components/Icon/Icon.js +12 -11
  112. package/dist/components/Icon/IconOrAvatar.js +15 -14
  113. package/dist/components/InboxSearch/InboxSearch.js +11 -10
  114. package/dist/components/Layout/Layout.js +11 -10
  115. package/dist/components/LayoutAction/ActionHeader.js +18 -18
  116. package/dist/components/LayoutAction/LayoutAction.js +3 -2
  117. package/dist/components/List/List.js +3 -2
  118. package/dist/components/List/ListBase.js +3 -2
  119. package/dist/components/List/ListItemHeader.js +5 -4
  120. package/dist/components/List/ListItemIcon.js +3 -2
  121. package/dist/components/List/ListItemLabel.js +16 -15
  122. package/dist/components/List/ListItemSelect.js +4 -3
  123. package/dist/components/Menu/MenuItem.js +15 -14
  124. package/dist/components/Menu/MenuItemBase.js +5 -5
  125. package/dist/components/Menu/MenuItemIcon.js +6 -5
  126. package/dist/components/Menu/MenuItemLabel.js +13 -12
  127. package/dist/components/Menu/MenuItems.js +1 -0
  128. package/dist/components/Menu/MenuItemsVirtual.js +26 -25
  129. package/dist/components/Menu/MenuOption.js +17 -16
  130. package/dist/components/Menu/MenuSearch.js +3 -2
  131. package/dist/components/Metadata/MetaItem.js +7 -6
  132. package/dist/components/Metadata/MetaItemIcon.js +3 -2
  133. package/dist/components/Metadata/MetaProgress.js +3 -2
  134. package/dist/components/Metadata/MetaTimestamp.js +7 -6
  135. package/dist/components/Metadata/Metadata.js +8 -7
  136. package/dist/components/Modal/Modal.js +13 -13
  137. package/dist/components/Modal/ModalBase.js +7 -6
  138. package/dist/components/Modal/ModalBody.js +5 -10
  139. package/dist/components/Modal/ModalFooter.js +3 -2
  140. package/dist/components/Modal/ModalHeader.js +26 -36
  141. package/dist/components/Modal/ModalIcon.js +7 -6
  142. package/dist/components/Notifications/NotificationItem.js +6 -5
  143. package/dist/components/Notifications/NotificationItemBase.js +10 -9
  144. package/dist/components/Notifications/NotificationItemControls.js +14 -24
  145. package/dist/components/Notifications/NotificationItemIcon.js +8 -7
  146. package/dist/components/Page/AccordionSection.js +3 -2
  147. package/dist/components/Page/Breadcrumbs.js +7 -6
  148. package/dist/components/Page/ContactButtons.js +11 -6
  149. package/dist/components/Page/ContactSection.js +3 -2
  150. package/dist/components/Page/PageMenu.js +6 -5
  151. package/dist/components/Page/PageNav.js +11 -8
  152. package/dist/components/Page/PageTabs.js +6 -5
  153. package/dist/components/Page/Section.js +27 -7
  154. package/dist/components/ResourceListItem/ResourceListItem.js +3 -2
  155. package/dist/components/RootProvider/RootProvider.js +9 -8
  156. package/dist/components/Search/SearchItem.js +5 -4
  157. package/dist/components/Searchbar/Autocomplete.js +3 -2
  158. package/dist/components/Searchbar/AutocompleteItem.js +11 -10
  159. package/dist/components/Searchbar/Searchbar.js +10 -9
  160. package/dist/components/Searchbar/SearchbarField.js +54 -53
  161. package/dist/components/Settings/BookmarksSettingsList.js +7 -6
  162. package/dist/components/Settings/SettingsItem.js +3 -2
  163. package/dist/components/Settings/SettingsItemBase.js +7 -6
  164. package/dist/components/Settings/SettingsList.js +7 -6
  165. package/dist/components/Settings/SettingsModal.js +33 -26
  166. package/dist/components/Settings/SettingsSection.js +3 -2
  167. package/dist/components/Settings/UsedByLog.js +8 -7
  168. package/dist/components/Settings/UsedByLogItem.js +10 -9
  169. package/dist/components/Snackbar/SnackbarItem.js +13 -22
  170. package/dist/components/Timeline/Timeline.js +3 -2
  171. package/dist/components/Timeline/TimelineActivity.js +3 -2
  172. package/dist/components/Timeline/TimelineBase.js +10 -9
  173. package/dist/components/Timeline/TimelineFooter.js +6 -5
  174. package/dist/components/Timeline/TimelineHeader.js +3 -2
  175. package/dist/components/Timeline/TimelineIcon.js +6 -5
  176. package/dist/components/Timeline/TimelineSection.js +3 -2
  177. package/dist/components/Timeline/TimelineSegment.js +6 -5
  178. package/dist/components/Timeline/index.js +2 -4
  179. package/dist/components/Toolbar/ToolbarAccountMenu.js +18 -17
  180. package/dist/components/Toolbar/ToolbarAdd.js +5 -4
  181. package/dist/components/Toolbar/ToolbarButton.js +94 -88
  182. package/dist/components/Toolbar/ToolbarDaterange.js +3 -2
  183. package/dist/components/Toolbar/ToolbarFilter.js +24 -23
  184. package/dist/components/Toolbar/ToolbarFilterBase.js +8 -8
  185. package/dist/components/Toolbar/ToolbarMenu.js +3 -2
  186. package/dist/components/Toolbar/ToolbarOptions.js +3 -2
  187. package/dist/components/Toolbar/ToolbarSearch.js +7 -6
  188. package/dist/components/Transmission/Transmission.js +8 -7
  189. package/dist/components/Transmission/TransmissionList.js +8 -7
  190. package/dist/components/Transmission/TransmissionType.js +3 -2
  191. package/dist/components/Typography/Heading.js +3 -2
  192. package/dist/components/UserListItem/UserListItem.js +12 -11
  193. package/dist/components/index.js +192 -195
  194. package/dist/hooks/useAccountSelector.js +130 -108
  195. package/dist/{index-Dg71_7ad.js → index-DttADHE1.js} +1 -1
  196. package/dist/index.js +204 -207
  197. package/dist/switch-Cemfhx0H.js +18 -0
  198. package/dist/{textfield-B_OMMEbF.js → textfield-DAuYWtUj.js} +100 -104
  199. package/dist/types/lib/components/Account/AccountListItemDetails.d.ts +5 -1
  200. package/dist/types/lib/components/Button/Button.d.ts +21 -10
  201. package/dist/types/lib/components/Button/Button.stories.d.ts +13 -10
  202. package/dist/types/lib/components/Button/ButtonGroup.d.ts +6 -6
  203. package/dist/types/lib/components/Button/ButtonGroup.stories.d.ts +3 -1
  204. package/dist/types/lib/components/Button/ButtonGroupDivider.d.ts +5 -1
  205. package/dist/types/lib/components/Button/ButtonIcon.d.ts +2 -1
  206. package/dist/types/lib/components/Button/ButtonLabel.d.ts +1 -1
  207. package/dist/types/lib/components/Button/ComboButton.d.ts +6 -15
  208. package/dist/types/lib/components/Button/ComboButton.stories.d.ts +0 -3
  209. package/dist/types/lib/components/Button/FloatingActionButton.d.ts +5 -12
  210. package/dist/types/lib/components/Button/IconButton.d.ts +4 -17
  211. package/dist/types/lib/components/Button/index.d.ts +4 -4
  212. package/dist/types/lib/components/Datepicker/Datepicker.stories.d.ts +6 -0
  213. package/dist/types/lib/components/Dialog/DialogActions.d.ts +1 -0
  214. package/dist/types/lib/components/Dropdown/FloatingDropdown.d.ts +2 -2
  215. package/dist/types/lib/components/GlobalHeader/AccountSector.stories.d.ts +1 -1
  216. package/dist/types/lib/components/GlobalHeader/AccountSelector.d.ts +5 -1
  217. package/dist/types/lib/components/GlobalHeader/HeaderLogo.d.ts +1 -2
  218. package/dist/types/lib/components/Header/HeaderButton.d.ts +0 -2
  219. package/dist/types/lib/components/Header/HeaderLogo.d.ts +1 -1
  220. package/dist/types/lib/components/Menu/MenuItem.d.ts +1 -1
  221. package/dist/types/lib/components/Menu/MenuItemBase.d.ts +2 -2
  222. package/dist/types/lib/components/Modal/ModalBody.d.ts +2 -3
  223. package/dist/types/lib/components/Page/ContactButtons.d.ts +1 -0
  224. package/dist/types/lib/components/Page/Section.d.ts +1 -1
  225. package/dist/types/lib/components/Settings/SettingsModal.d.ts +1 -0
  226. package/dist/types/lib/components/Settings/VerifySettingsModal.stories.d.ts +14 -0
  227. package/dist/types/lib/components/Timeline/index.d.ts +0 -1
  228. package/dist/types/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
  229. package/dist/types/lib/components/Toolbar/ToolbarButton.stories.d.ts +1 -1
  230. package/dist/types/lib/components/Toolbar/ToolbarFilterBase.d.ts +2 -2
  231. package/dist/types/lib/hooks/useAccountSelector.d.ts +5 -1
  232. package/package.json +2 -2
  233. package/dist/assets/ButtonBase.css +0 -1
  234. package/dist/assets/ComboButton.css +0 -1
  235. package/dist/assets/TimelineLink.css +0 -1
  236. package/dist/button-MzZgmHyA.js +0 -23
  237. package/dist/components/Button/ButtonBase.js +0 -41
  238. package/dist/components/Timeline/TimelineLink.js +0 -36
  239. package/dist/heading-C_XYsUfi.js +0 -12
  240. package/dist/spinner-0Qe_jRGB.js +0 -23
  241. package/dist/types/lib/components/Button/ButtonBase.d.ts +0 -26
  242. package/dist/types/lib/components/Button/IconButton.stories.d.ts +0 -7
  243. package/dist/types/lib/components/Timeline/TimelineLink.d.ts +0 -9
@@ -4,6 +4,7 @@ import "react";
4
4
  import { Avatar as f } from "../Avatar/Avatar.js";
5
5
  import { AvatarGroup as d } from "../Avatar/AvatarGroup.js";
6
6
  import { Skeleton as n } from "../Skeleton/Skeleton.js";
7
+ import "../Button/Button.js";
7
8
  import "../RootProvider/RootProvider.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import '../../assets/Byline.css';const y = "_byline_fzp7k_1", k = "_avatar_fzp7k_7", u = "_avatarGroup_fzp7k_12", N = "_label_fzp7k_26", t = {
@@ -11,23 +12,23 @@ import '../../assets/Byline.css';const y = "_byline_fzp7k_1", k = "_avatar_fzp7k
11
12
  avatar: k,
12
13
  avatarGroup: u,
13
14
  label: N
14
- }, L = ({
15
+ }, S = ({
15
16
  loading: l,
16
- color: c = "neutral",
17
+ color: m = "neutral",
17
18
  size: r = "xs",
18
19
  avatar: o,
19
20
  avatarGroup: e,
20
21
  datetime: s,
21
- children: m,
22
+ children: c,
22
23
  as: i,
23
24
  ...p
24
25
  }) => {
25
26
  const _ = i || "div", b = s ? "time" : "span";
26
- return /* @__PURE__ */ v(_, { ...p, className: t.byline, "data-color": c, "data-size": r, children: [
27
+ return /* @__PURE__ */ v(_, { ...p, className: t.byline, "data-color": m, "data-size": r, children: [
27
28
  (e || o) && /* @__PURE__ */ a(n, { variant: "circle", className: t.avatar, loading: l, children: e ? /* @__PURE__ */ a(d, { ...e, size: r, className: t.avatarGroup }) : o && /* @__PURE__ */ a(f, { ...o, size: r, className: t.avatar }) }),
28
- /* @__PURE__ */ a(b, { "data-size": r, dateTime: s, className: t.label, children: /* @__PURE__ */ a(n, { loading: l, children: m }) })
29
+ /* @__PURE__ */ a(b, { "data-size": r, dateTime: s, className: t.label, children: /* @__PURE__ */ a(n, { loading: l, children: c }) })
29
30
  ] });
30
31
  };
31
32
  export {
32
- L as Byline
33
+ S as Byline
33
34
  };
@@ -1,77 +1,77 @@
1
1
  "use client";
2
- import { jsxs as h, jsx as d } from "react/jsx-runtime";
2
+ import { jsxs as h, jsx as u } from "react/jsx-runtime";
3
3
  import { c as y } from "../../index-p1eeF8LQ.js";
4
- import f, { forwardRef as I, useRef as w, useMemo as O } from "react";
4
+ import f, { forwardRef as w, useRef as I, useMemo as O } from "react";
5
5
  import { useClickOutside as k } from "../../hooks/useClickOutside.js";
6
6
  import { useEnterKey as E } from "../../hooks/useEnterKey.js";
7
- import { IconButton as _ } from "../Button/IconButton.js";
7
+ import { Button as _ } from "../Button/Button.js";
8
8
  import { DropdownBase as C } from "../Dropdown/DropdownBase.js";
9
9
  import { useRootContext as M } from "../RootProvider/RootProvider.js";
10
10
  import { MenuItems as j } from "../Menu/MenuItems.js";
11
11
  import "../Snackbar/useSnackbar.js";
12
12
  import { u as R } from "../../useId-BVFxCjkq.js";
13
13
  import '../../assets/ContextMenu.css';var P = function(e, l) {
14
- var n = {};
15
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && l.indexOf(t) < 0 && (n[t] = e[t]);
14
+ var r = {};
15
+ for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && l.indexOf(t) < 0 && (r[t] = e[t]);
16
16
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
17
17
  for (var o = 0, t = Object.getOwnPropertySymbols(e); o < t.length; o++)
18
- l.indexOf(t[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[o]) && (n[t[o]] = e[t[o]]);
19
- return n;
18
+ l.indexOf(t[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[o]) && (r[t[o]] = e[t[o]]);
19
+ return r;
20
20
  };
21
- const T = I((e, l) => {
22
- var { title: n, titleId: t } = e, o = P(e, ["title", "titleId"]);
23
- let r = R();
24
- return r = n ? t || "title-" + r : void 0, f.createElement(
21
+ const S = w((e, l) => {
22
+ var { title: r, titleId: t } = e, o = P(e, ["title", "titleId"]);
23
+ let n = R();
24
+ return n = r ? t || "title-" + n : void 0, f.createElement(
25
25
  "svg",
26
- 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: l, "aria-labelledby": r }, o),
27
- n ? f.createElement("title", { id: r }, n) : null,
26
+ 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: l, "aria-labelledby": n }, o),
27
+ r ? f.createElement("title", { id: n }, r) : null,
28
28
  f.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M6 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m4.5 1.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0m6 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0", clipRule: "evenodd" })
29
29
  );
30
- }), A = "_toggle_nol5i_1", B = {
31
- toggle: A
30
+ }), B = "_toggle_nol5i_1", T = {
31
+ toggle: B
32
32
  }, J = ({
33
33
  id: e = "context-menu",
34
34
  ariaLabel: l,
35
- placement: n = "right",
35
+ placement: r = "right",
36
36
  groups: t = {},
37
37
  className: o,
38
- items: r
38
+ items: n
39
39
  }) => {
40
- const { currentId: g, toggleId: m, closeAll: c } = M(), u = w(null), p = "context-menu-" + e, v = () => m(e), a = g === e;
41
- k(u, () => {
42
- a && m(e);
40
+ const { currentId: g, toggleId: m, closeAll: a } = M(), d = I(null), p = "context-menu-" + e, v = () => m(e), c = g === e;
41
+ k(d, () => {
42
+ c && m(e);
43
43
  });
44
- const x = O(() => r.map((i) => ({
44
+ const b = O(() => n.map((i) => ({
45
45
  ...i,
46
46
  tabIndex: -1,
47
47
  onClick: () => {
48
- i.onClick?.(), c();
48
+ i.onClick?.(), a();
49
49
  }
50
- })), [r, c]);
50
+ })), [n, a]);
51
51
  E((i) => {
52
- if (a) {
52
+ if (c) {
53
53
  i.preventDefault();
54
- const s = u.current?.querySelector('[data-active="true"]');
55
- s && (s.tagName === "A" && s.hasAttribute("href") ? s.click() : s.dispatchEvent(new MouseEvent("click", { bubbles: !0 }))), c();
54
+ const s = d.current?.querySelector('[data-active="true"]');
55
+ s && (s.tagName === "A" && s.hasAttribute("href") ? s.click() : s.dispatchEvent(new MouseEvent("click", { bubbles: !0 }))), a();
56
56
  }
57
57
  });
58
- const b = (i) => {
59
- i?.relatedTarget?.closest(`[data-testid="${p}"]`) || c();
58
+ const x = (i) => {
59
+ i?.relatedTarget?.closest(`[data-testid="${p}"]`) || a();
60
60
  };
61
- return /* @__PURE__ */ h("div", { className: y(B.toggle, o), ref: u, "data-testid": p, children: [
62
- /* @__PURE__ */ d(
61
+ return /* @__PURE__ */ h("div", { className: y(T.toggle, o), ref: d, "data-testid": p, children: [
62
+ /* @__PURE__ */ u(
63
63
  _,
64
64
  {
65
65
  size: "xs",
66
66
  rounded: !0,
67
- icon: T,
68
- variant: "text",
67
+ variant: "ghost",
69
68
  onClick: v,
70
- iconAltText: l || `Open ${e}`,
71
- onBlurCapture: b
69
+ "aria-label": l || `Open ${e}`,
70
+ onBlurCapture: x,
71
+ children: /* @__PURE__ */ u(S, { style: { fontSize: "1.5em" } })
72
72
  }
73
73
  ),
74
- a && /* @__PURE__ */ d(C, { placement: n, open: a, children: /* @__PURE__ */ d(j, { groups: t, items: x, keyboardEvents: !0 }) })
74
+ c && /* @__PURE__ */ u(C, { placement: r, open: c, children: /* @__PURE__ */ u(j, { groups: t, items: b, keyboardEvents: !0 }) })
75
75
  ] });
76
76
  };
77
77
  export {
@@ -4,6 +4,7 @@ import "../../index-p1eeF8LQ.js";
4
4
  import { forwardRef as p, useRef as g, useEffect as B } from "react";
5
5
  import { Typography as R } from "../Typography/Typography.js";
6
6
  import { Heading as b } from "../Typography/Heading.js";
7
+ import "../Button/Button.js";
7
8
  import "../RootProvider/RootProvider.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { DashboardIcon as w } from "./DashboardIcon.js";
@@ -25,7 +26,7 @@ const D = p(function({ asChild: n = !1, variant: r = "default", className: e, ..
25
26
  Block: E
26
27
  });
27
28
  C.Block.displayName = "Card.Block";
28
- function T({
29
+ function A({
29
30
  color: l,
30
31
  theme: n = "tinted",
31
32
  icon: r,
@@ -55,5 +56,5 @@ function T({
55
56
  ] });
56
57
  }
57
58
  export {
58
- T as DashboardCard
59
+ A as DashboardCard
59
60
  };
@@ -1,24 +1,25 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { Skeleton as a } from "../Skeleton/Skeleton.js";
5
5
  import { Typography as n } from "../Typography/Typography.js";
6
6
  import { Heading as c } from "../Typography/Heading.js";
7
+ import "../Button/Button.js";
7
8
  import "../RootProvider/RootProvider.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { Flex as t } from "../Page/Flex.js";
10
11
  import { Section as d } from "../Page/Section.js";
11
12
  import { DashboardIcon as h } from "./DashboardIcon.js";
12
- const H = ({ icon: i, title: m, description: p, loading: r, children: s }) => /* @__PURE__ */ o(d, { as: "header", theme: "default", padding: "page", spacing: 6, shadow: "xs", children: [
13
- /* @__PURE__ */ o(t, { direction: "row", align: "center", spacing: 3, children: [
14
- i && /* @__PURE__ */ e(h, { loading: r, icon: i }),
15
- /* @__PURE__ */ o(t, { direction: "col", spacing: 0, children: [
16
- /* @__PURE__ */ e(c, { size: "lg", loading: r, children: m }),
17
- /* @__PURE__ */ e(n, { as: "section", variant: "subtle", size: "xs", loading: r, children: p })
13
+ const S = ({ icon: i, title: m, description: p, loading: r, children: s }) => /* @__PURE__ */ e(d, { as: "header", theme: "default", padding: "page", spacing: 6, shadow: "xs", children: [
14
+ /* @__PURE__ */ e(t, { direction: "row", align: "center", spacing: 3, children: [
15
+ i && /* @__PURE__ */ o(h, { loading: r, icon: i }),
16
+ /* @__PURE__ */ e(t, { direction: "col", spacing: 0, children: [
17
+ /* @__PURE__ */ o(c, { size: "lg", loading: r, children: m }),
18
+ /* @__PURE__ */ o(n, { as: "section", variant: "subtle", size: "xs", loading: r, children: p })
18
19
  ] })
19
20
  ] }),
20
- /* @__PURE__ */ e(a, { loading: r, children: s })
21
+ /* @__PURE__ */ o(a, { loading: r, children: s })
21
22
  ] });
22
23
  export {
23
- H as DashboardHeader
24
+ S as DashboardHeader
24
25
  };
@@ -1,10 +1,11 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
+ import "../Button/Button.js";
4
5
  import "../RootProvider/RootProvider.js";
5
6
  import { MenuItemIcon as i } from "../Menu/MenuItemIcon.js";
6
7
  import "../Snackbar/useSnackbar.js";
7
- const a = ({ loading: o, icon: r, theme: t }) => /* @__PURE__ */ m(i, { icon: r, size: "lg", theme: t, loading: o });
8
+ const f = ({ loading: o, icon: r, theme: t }) => /* @__PURE__ */ m(i, { icon: r, size: "lg", theme: t, loading: o });
8
9
  export {
9
- a as DashboardIcon
10
+ f as DashboardIcon
10
11
  };
@@ -1,38 +1,38 @@
1
1
  "use client";
2
- import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
+ import { jsxs as s, jsx as a } from "react/jsx-runtime";
3
+ import { Button as d } from "../Button/Button.js";
3
4
  import "../../index-p1eeF8LQ.js";
4
- import a, { forwardRef as f } from "react";
5
+ import o, { forwardRef as f } from "react";
5
6
  import "../RootProvider/RootProvider.js";
6
7
  import "../Snackbar/useSnackbar.js";
7
- import { IconButton as d } from "../Button/IconButton.js";
8
8
  import { u as m } from "../../useId-BVFxCjkq.js";
9
9
  import { S as p } from "../../ChevronRight-ANFWmIs1.js";
10
- import '../../assets/DatepickerHeader.css';var v = function(t, l) {
10
+ import '../../assets/DatepickerHeader.css';var h = function(t, n) {
11
11
  var r = {};
12
- for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && l.indexOf(e) < 0 && (r[e] = t[e]);
12
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
13
13
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
- for (var n = 0, e = Object.getOwnPropertySymbols(t); n < e.length; n++)
15
- l.indexOf(e[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[n]) && (r[e[n]] = t[e[n]]);
14
+ for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
15
+ n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
16
16
  return r;
17
17
  };
18
- const u = f((t, l) => {
19
- var { title: r, titleId: e } = t, n = v(t, ["title", "titleId"]);
20
- let o = m();
21
- return o = r ? e || "title-" + o : void 0, a.createElement(
18
+ const v = f((t, n) => {
19
+ var { title: r, titleId: e } = t, l = h(t, ["title", "titleId"]);
20
+ let i = m();
21
+ return i = r ? e || "title-" + i : void 0, o.createElement(
22
22
  "svg",
23
- 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: l, "aria-labelledby": o }, n),
24
- r ? a.createElement("title", { id: o }, r) : null,
25
- a.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.53 5.97a.75.75 0 0 1 0 1.06L9.56 12l4.97 4.97a.75.75 0 1 1-1.06 1.06l-5.5-5.5a.75.75 0 0 1 0-1.06l5.5-5.5a.75.75 0 0 1 1.06 0", clipRule: "evenodd" })
23
+ 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": i }, l),
24
+ r ? o.createElement("title", { id: i }, r) : null,
25
+ o.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.53 5.97a.75.75 0 0 1 0 1.06L9.56 12l4.97 4.97a.75.75 0 1 1-1.06 1.06l-5.5-5.5a.75.75 0 0 1 0-1.06l5.5-5.5a.75.75 0 0 1 1.06 0", clipRule: "evenodd" })
26
26
  );
27
- }), h = "_header_xt893_1", x = "_title_xt893_8", _ = "_nav_xt893_14", c = {
28
- header: h,
29
- title: x,
30
- nav: _
31
- }, R = ({ title: t, onNext: l, onPrev: r }) => /* @__PURE__ */ s("header", { className: c.header, children: [
32
- /* @__PURE__ */ i("h2", { className: c.title, children: t }),
27
+ }), u = "_header_xt893_1", _ = "_title_xt893_8", g = "_nav_xt893_14", c = {
28
+ header: u,
29
+ title: _,
30
+ nav: g
31
+ }, R = ({ title: t, onNext: n, onPrev: r }) => /* @__PURE__ */ s("header", { className: c.header, children: [
32
+ /* @__PURE__ */ a("h2", { className: c.title, children: t }),
33
33
  /* @__PURE__ */ s("nav", { className: c.nav, children: [
34
- /* @__PURE__ */ i(d, { icon: u, size: "sm", variant: "text", onClick: r, iconAltText: "prev icon" }),
35
- /* @__PURE__ */ i(d, { icon: p, size: "sm", variant: "text", onClick: l, iconAltText: "next icon" })
34
+ /* @__PURE__ */ a(d, { size: "xs", variant: "ghost", onClick: r, "aria-label": "prev icon", children: /* @__PURE__ */ a(v, {}) }),
35
+ /* @__PURE__ */ a(d, { size: "xs", variant: "ghost", onClick: n, "aria-label": "next icon", children: /* @__PURE__ */ a(p, {}) })
36
36
  ] })
37
37
  ] });
38
38
  export {
@@ -1,34 +1,34 @@
1
- import { jsxs as u, jsx as t } from "react/jsx-runtime";
2
- import { ButtonBase as h } from "../Button/ButtonBase.js";
1
+ import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
+ import { Button as h } from "../Button/Button.js";
3
3
  import "../../index-p1eeF8LQ.js";
4
4
  import "react";
5
5
  import "../RootProvider/RootProvider.js";
6
6
  import "../Snackbar/useSnackbar.js";
7
- import '../../assets/DatepickerTable.css';const y = "_table_fmil8_1", b = "_weekday_fmil8_7", _ = "_date_fmil8_13", p = "_button_fmil8_23", a = {
8
- table: y,
9
- weekday: b,
7
+ import '../../assets/DatepickerTable.css';const u = "_table_ex6ab_1", y = "_weekday_ex6ab_7", _ = "_date_ex6ab_13", p = "_button_ex6ab_23", a = {
8
+ table: u,
9
+ weekday: y,
10
10
  date: _,
11
11
  button: p
12
- }, j = ({
12
+ }, g = ({
13
13
  weekdays: n = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
14
14
  rows: d = [],
15
15
  onSelect: s
16
- }) => /* @__PURE__ */ u("table", { className: a.table, children: [
16
+ }) => /* @__PURE__ */ m("table", { className: a.table, children: [
17
17
  /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ t("tr", { children: n.map((e) => /* @__PURE__ */ t("th", { className: a.weekday, children: e.substring(0, 2) }, e)) }) }),
18
- /* @__PURE__ */ t("tbody", { children: d.map((e, o) => /* @__PURE__ */ t("tr", { children: e.map((l) => {
19
- const { day: i, date: r, selected: c, isCurrentMonth: m } = l;
20
- return /* @__PURE__ */ t("td", { className: a.date, "data-current-month": m, children: /* @__PURE__ */ t(
18
+ /* @__PURE__ */ t("tbody", { children: d.map((e, o) => /* @__PURE__ */ t("tr", { children: e.map((c) => {
19
+ const { day: l, date: r, selected: i, isCurrentMonth: b } = c;
20
+ return /* @__PURE__ */ t("td", { className: a.date, "data-current-month": b, children: /* @__PURE__ */ t(
21
21
  h,
22
22
  {
23
- variant: "text",
24
- selected: c,
23
+ variant: "ghost",
24
+ "aria-selected": i,
25
25
  className: a.button,
26
26
  onClick: () => s(r),
27
- children: i
27
+ children: l
28
28
  }
29
29
  ) }, r);
30
30
  }) }, o)) })
31
31
  ] });
32
32
  export {
33
- j as DatepickerTable
33
+ g as DatepickerTable
34
34
  };
@@ -1,6 +1,7 @@
1
1
  import { jsxs as r, jsx as o, Fragment as f } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
+ import "../Button/Button.js";
4
5
  import "../RootProvider/RootProvider.js";
5
6
  import { DialogLayout as d } from "./DialogLayout.js";
6
7
  import { DialogHeader as j } from "./DialogHeader.js";
@@ -10,7 +11,7 @@ import { DialogContact as H } from "./DialogContact.js";
10
11
  import { DialogHistory as h } from "./DialogHistory.js";
11
12
  import { Divider as g } from "../Divider/Divider.js";
12
13
  import "../Snackbar/useSnackbar.js";
13
- const E = ({
14
+ const G = ({
14
15
  loading: m,
15
16
  backButton: l,
16
17
  contextMenu: c,
@@ -37,5 +38,5 @@ const E = ({
37
38
  ] })
38
39
  ] });
39
40
  export {
40
- E as Dialog
41
+ G as Dialog
41
42
  };
@@ -1,55 +1,47 @@
1
1
  "use client";
2
- import { jsxs as y, jsx as t } from "react/jsx-runtime";
3
- import { useMemo as a } from "react";
2
+ import { jsxs as a, jsx as n } from "react/jsx-runtime";
3
+ import { useMemo as p } from "react";
4
4
  import "../../index-p1eeF8LQ.js";
5
- import { Button as g } from "../Button/Button.js";
6
- import { ComboButton as C } from "../Button/ComboButton.js";
7
- import { useRootContext as v } from "../RootProvider/RootProvider.js";
8
- import { DropdownBase as x } from "../Dropdown/DropdownBase.js";
9
- import { Menu as B } from "../Menu/Menu.js";
5
+ import { Button as l } from "../Button/Button.js";
6
+ import { ButtonGroup as C } from "../Button/ButtonGroup.js";
7
+ import { ButtonGroupDivider as B } from "../Button/ButtonGroupDivider.js";
8
+ import { useRootContext as _ } from "../RootProvider/RootProvider.js";
9
+ import { DropdownBase as v } from "../Dropdown/DropdownBase.js";
10
+ import { Menu as x } from "../Menu/Menu.js";
10
11
  import "../Snackbar/useSnackbar.js";
11
- import { S as _, a as k } from "../../ChevronUp-_BBfEirx.js";
12
- import '../../assets/DialogActions.css';const D = "_action_1n930_1", I = "_comboButton_1n930_8", d = {
13
- action: D,
14
- comboButton: I
15
- }, U = ({ items: i, maxItems: s = 2, id: l = "dialog-actions", expandAltLabel: p }) => {
16
- const { currentId: m, closeAll: u, toggleId: b } = v(), e = m === l, r = a(() => (i || []).filter((o) => !o.hidden).sort((o, n) => {
17
- const c = ["primary", "secondary", "tertiary"];
18
- return c.indexOf(o?.priority) - c.indexOf(n?.priority);
19
- }), [i]), f = a(() => i.find((o) => o.priority === "primary")?.disabled, [i]);
20
- if (!r.length || s <= 0)
12
+ import { S as k, a as D } from "../../ChevronUp-_BBfEirx.js";
13
+ import '../../assets/DialogActions.css';const I = "_action_1n930_1", O = "_comboButton_1n930_8", m = {
14
+ action: I,
15
+ comboButton: O
16
+ }, F = ({ items: i, maxItems: s = 2, id: d = "dialog-actions", expandAltLabel: u }) => {
17
+ const { currentId: f, closeAll: h, toggleId: b } = _(), c = f === d, t = p(() => (i || []).filter((o) => !o.hidden).sort((o, r) => {
18
+ const e = ["primary", "secondary", "tertiary"];
19
+ return e.indexOf(o?.priority) - e.indexOf(r?.priority);
20
+ }), [i]), y = p(() => i.find((o) => o.priority === "primary")?.disabled, [i]);
21
+ if (!t.length || s <= 0)
21
22
  return null;
22
- if (r.length > s) {
23
- const o = r.slice(1).map((n) => ({
24
- id: n.id,
25
- title: n.label,
26
- onClick: n.onClick,
27
- group: n.priority,
28
- hidden: n.hidden
23
+ if (t.length > s) {
24
+ const o = t.slice(1).map((r) => ({
25
+ id: r.id,
26
+ title: r.label,
27
+ onClick: r.onClick,
28
+ group: r.priority,
29
+ hidden: r.hidden
29
30
  }));
30
- return /* @__PURE__ */ y("section", { className: d.comboButton, children: [
31
- /* @__PURE__ */ t(
32
- C,
33
- {
34
- variant: "solid",
35
- icon: e ? _ : k,
36
- size: "md",
37
- onIconClick: () => b(l),
38
- onLabelClick: r[0].onClick,
39
- ariaLabel: e ? "chevron up icon" : "chevron down icon",
40
- iconAltText: p,
41
- disabled: f,
42
- children: r[0].label
43
- }
44
- ),
45
- e && /* @__PURE__ */ t(x, { open: e, onClose: u, children: /* @__PURE__ */ t(B, { items: o }) })
31
+ return /* @__PURE__ */ a("section", { className: m.comboButton, children: [
32
+ /* @__PURE__ */ a(C, { connected: !0, size: "md", children: [
33
+ /* @__PURE__ */ n(l, { disabled: y, onClick: t[0].onClick, children: t[0].label }),
34
+ /* @__PURE__ */ n(B, {}),
35
+ /* @__PURE__ */ n(l, { "aria-label": u, onClick: () => b(d), children: c ? /* @__PURE__ */ n(k, {}) : /* @__PURE__ */ n(D, {}) })
36
+ ] }),
37
+ c && /* @__PURE__ */ n(v, { open: c, onClose: h, children: /* @__PURE__ */ n(x, { items: o }) })
46
38
  ] });
47
39
  }
48
- return /* @__PURE__ */ t("section", { className: d.action, children: r.map((o, n) => {
49
- const { priority: c, id: w, ...h } = o;
50
- return /* @__PURE__ */ t(g, { variant: c === "primary" ? "solid" : "outline", size: "md", ...h, children: o.label }, "button-" + n);
40
+ return /* @__PURE__ */ n("section", { className: m.action, children: t.map((o, r) => {
41
+ const { priority: e, id: S, ...g } = o;
42
+ return /* @__PURE__ */ n(l, { variant: e === "primary" ? "solid" : "outline", size: "md", ...g, children: o.label }, "button-" + r);
51
43
  }) });
52
44
  };
53
45
  export {
54
- U as DialogActions
46
+ F as DialogActions
55
47
  };
@@ -1,16 +1,17 @@
1
1
  import { jsxs as p, 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 "../RootProvider/RootProvider.js";
5
6
  import "../Snackbar/useSnackbar.js";
6
7
  import { ActivityLog as a } from "../ActivityLog/ActivityLog.js";
7
8
  import { ModalBase as d } from "../Modal/ModalBase.js";
8
9
  import { ModalHeader as e } from "../Modal/ModalHeader.js";
9
10
  import { ModalBody as c } from "../Modal/ModalBody.js";
10
- const h = ({ title: t, items: i, open: m, onClose: r }) => /* @__PURE__ */ p(d, { open: m, onClose: r, variant: "content", children: [
11
+ const j = ({ title: t, items: i, open: m, onClose: r }) => /* @__PURE__ */ p(d, { open: m, onClose: r, variant: "content", children: [
11
12
  /* @__PURE__ */ o(e, { title: t, onClose: r }),
12
13
  /* @__PURE__ */ o(c, { children: /* @__PURE__ */ o(a, { items: i }) })
13
14
  ] });
14
15
  export {
15
- h as DialogActivityLog
16
+ j as DialogActivityLog
16
17
  };
@@ -3,13 +3,14 @@ import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { AttachmentList as m } from "../Attachment/AttachmentList.js";
5
5
  import { Heading as n } from "../Typography/Heading.js";
6
+ import "../Button/Button.js";
6
7
  import "../RootProvider/RootProvider.js";
7
8
  import "../Snackbar/useSnackbar.js";
8
9
  import { Section as e } from "../Page/Section.js";
9
- const u = ({ title: i = "Attachments", items: t }) => t?.length ? /* @__PURE__ */ o(e, { spacing: 1, children: [
10
+ const x = ({ title: i = "Attachments", items: t }) => t?.length ? /* @__PURE__ */ o(e, { spacing: 1, children: [
10
11
  /* @__PURE__ */ r(n, { as: "h2", size: "xs", weight: "normal", variant: "subtle", children: i }),
11
12
  /* @__PURE__ */ r(m, { items: t })
12
13
  ] }) : null;
13
14
  export {
14
- u as DialogAttachments
15
+ x as DialogAttachments
15
16
  };
@@ -2,13 +2,14 @@ import { jsxs as i, jsx as o, Fragment as c } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { Typography as a } from "../Typography/Typography.js";
5
+ import "../Button/Button.js";
5
6
  import "../RootProvider/RootProvider.js";
6
7
  import { Timeline as h } from "../Timeline/Timeline.js";
7
8
  import { TimelineSection as f } from "../Timeline/TimelineSection.js";
8
9
  import { TimelineHeader as s } from "../Timeline/TimelineHeader.js";
9
10
  import { SeenByLog as d } from "./SeenByLog.js";
10
11
  import "../Snackbar/useSnackbar.js";
11
- const D = ({
12
+ const F = ({
12
13
  loading: r = !1,
13
14
  unread: t,
14
15
  sender: m,
@@ -27,5 +28,5 @@ const D = ({
27
28
  ] }) })
28
29
  ] });
29
30
  export {
30
- D as DialogBody
31
+ F as DialogBody
31
32
  };
@@ -1,10 +1,11 @@
1
1
  import { jsxs as i, jsx as p } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
+ import "../Button/Button.js";
4
5
  import { Byline as s } from "../Byline/Byline.js";
5
6
  import "../RootProvider/RootProvider.js";
6
7
  import "../Snackbar/useSnackbar.js";
7
- const y = ({
8
+ const B = ({
8
9
  sender: o,
9
10
  recipient: r,
10
11
  recipientLabel: a = "to",
@@ -19,5 +20,5 @@ const y = ({
19
20
  r && a + " " + r?.name
20
21
  ] });
21
22
  export {
22
- y as DialogByline
23
+ B as DialogByline
23
24
  };
@@ -3,15 +3,16 @@ import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { Typography as n } from "../Typography/Typography.js";
5
5
  import { Heading as c } from "../Typography/Heading.js";
6
+ import "../Button/Button.js";
6
7
  import "../RootProvider/RootProvider.js";
7
8
  import "../Snackbar/useSnackbar.js";
8
9
  import { Section as a } from "../Page/Section.js";
9
10
  import { ContactButtons as s } from "../Page/ContactButtons.js";
10
- const y = ({ id: t = "dialog-contact", title: r, children: i, items: m = [] }) => /* @__PURE__ */ p(a, { spacing: 4, id: t, children: [
11
+ const C = ({ id: t = "dialog-contact", title: r, children: i, items: m = [] }) => /* @__PURE__ */ p(a, { spacing: 4, id: t, children: [
11
12
  r && /* @__PURE__ */ o(c, { size: "lg", children: r }),
12
13
  /* @__PURE__ */ o(n, { children: i }),
13
14
  /* @__PURE__ */ o(s, { items: m })
14
15
  ] });
15
16
  export {
16
- y as DialogContact
17
+ C as DialogContact
17
18
  };
@@ -4,18 +4,19 @@ import "../../index-p1eeF8LQ.js";
4
4
  import "react";
5
5
  import { Skeleton as j } from "../Skeleton/Skeleton.js";
6
6
  import { Heading as D } from "../Typography/Heading.js";
7
+ import "../Button/Button.js";
7
8
  import "../RootProvider/RootProvider.js";
8
9
  import { DialogMetadata as H } from "./DialogMetadata.js";
9
10
  import "../Snackbar/useSnackbar.js";
10
11
  import { Flex as S } from "../Page/Flex.js";
11
12
  import { Section as k } from "../Page/Section.js";
12
- const E = ({
13
+ const G = ({
13
14
  loading: i,
14
15
  title: e,
15
16
  badge: o,
16
17
  status: m,
17
- extendedStatusLabel: n,
18
- draftsLabel: p,
18
+ extendedStatusLabel: p,
19
+ draftsLabel: n,
19
20
  sentCount: a,
20
21
  receivedCount: l,
21
22
  updatedAt: c,
@@ -34,8 +35,8 @@ const E = ({
34
35
  {
35
36
  loading: i,
36
37
  status: m,
37
- extendedStatusLabel: n,
38
- draftsLabel: p,
38
+ extendedStatusLabel: p,
39
+ draftsLabel: n,
39
40
  sentCount: a,
40
41
  receivedCount: l,
41
42
  updatedAt: c,
@@ -48,5 +49,5 @@ const E = ({
48
49
  )
49
50
  ] });
50
51
  export {
51
- E as DialogHeader
52
+ G as DialogHeader
52
53
  };
@@ -2,10 +2,11 @@ import { jsx as r } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
4
  import { Typography as f } from "../Typography/Typography.js";
5
+ import "../Button/Button.js";
5
6
  import "../RootProvider/RootProvider.js";
6
7
  import "../Snackbar/useSnackbar.js";
7
8
  import { TimelineActivity as p } from "../Timeline/TimelineActivity.js";
8
- const u = ({ byline: o, datetime: i, children: t, summary: e, ...m }) => t ? /* @__PURE__ */ r(p, { byline: o, datetime: i, ...m, children: t }) : /* @__PURE__ */ r(p, { byline: o, datetime: i, ...m, children: /* @__PURE__ */ r(f, { children: e }) });
9
+ const x = ({ byline: o, datetime: i, children: t, summary: e, ...m }) => t ? /* @__PURE__ */ r(p, { byline: o, datetime: i, ...m, children: t }) : /* @__PURE__ */ r(p, { byline: o, datetime: i, ...m, children: /* @__PURE__ */ r(f, { children: e }) });
9
10
  export {
10
- u as DialogHistoryItem
11
+ x as DialogHistoryItem
11
12
  };