@altinn/altinn-components 0.58.0 → 0.58.2

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 (212) hide show
  1. package/dist/{Section-DPj8jAL1.js → Section-DvBigBR1.js} +122 -121
  2. package/dist/assets/BookmarkSettingsItemLabel.css +1 -1
  3. package/dist/assets/DialogContact.css +1 -0
  4. package/dist/assets/DialogHeader.css +1 -0
  5. package/dist/assets/DialogLayout.css +1 -0
  6. package/dist/assets/DialogSection.css +1 -0
  7. package/dist/assets/Link.css +1 -0
  8. package/dist/assets/Section.css +1 -1
  9. package/dist/assets/SettingsItemBase.css +1 -1
  10. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +17 -16
  11. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +9 -8
  12. package/dist/components/Account/AccountList.js +7 -6
  13. package/dist/components/Account/AccountListItem.js +8 -7
  14. package/dist/components/Account/AccountListItemControls.js +11 -10
  15. package/dist/components/Account/AccountListItemDetails.js +12 -11
  16. package/dist/components/Account/AccountListVirtual.js +4 -3
  17. package/dist/components/Account/AccountMenu.js +11 -10
  18. package/dist/components/Account/AccountNotificationSettings.js +10 -9
  19. package/dist/components/Account/AccountOrganization.js +15 -14
  20. package/dist/components/AccountSelector/AccountSelector.js +10 -9
  21. package/dist/components/ActivityLog/ActivityLog.js +4 -3
  22. package/dist/components/ActivityLog/ActivityLogItem.js +4 -3
  23. package/dist/components/ActivityLog/ActivityLogSegment.js +4 -3
  24. package/dist/components/Alert/Alert.js +8 -7
  25. package/dist/components/Article/Article.js +4 -3
  26. package/dist/components/Article/ArticleContact.js +4 -3
  27. package/dist/components/Article/ArticleHeader.js +4 -3
  28. package/dist/components/Attachment/AttachmentLink.js +1 -1
  29. package/dist/components/Banner/Banner.js +6 -5
  30. package/dist/components/Bookmarks/BookmarkModal.js +7 -6
  31. package/dist/components/Bookmarks/BookmarkSettingsItem.js +4 -3
  32. package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +12 -11
  33. package/dist/components/Bookmarks/BookmarkSettingsList.js +9 -8
  34. package/dist/components/Breadcrumbs/Breadcrumbs.js +4 -3
  35. package/dist/components/Bulk/BulkHeader.js +8 -7
  36. package/dist/components/Button/ButtonIcon.js +4 -3
  37. package/dist/components/Button/ComboButton.js +4 -3
  38. package/dist/components/Button/FloatingActionButton.js +8 -7
  39. package/dist/components/Button/IconButton.js +5 -4
  40. package/dist/components/Byline/Byline.js +3 -2
  41. package/dist/components/Byline/index.js +1 -1
  42. package/dist/components/ContextMenu/ContextMenu.js +11 -10
  43. package/dist/components/Dashboard/DashboardCard.js +7 -6
  44. package/dist/components/Dashboard/DashboardHeader.js +9 -8
  45. package/dist/components/Datepicker/Datepicker.js +1 -1
  46. package/dist/components/Datepicker/DatepickerHeader.js +4 -3
  47. package/dist/components/Datepicker/DatepickerTable.js +11 -10
  48. package/dist/components/Dialog/Dialog.js +25 -31
  49. package/dist/components/Dialog/DialogActions.js +4 -3
  50. package/dist/components/Dialog/DialogActivityLog.js +4 -3
  51. package/dist/components/Dialog/DialogAttachments.js +6 -5
  52. package/dist/components/Dialog/DialogBody.js +8 -7
  53. package/dist/components/Dialog/DialogByline.js +3 -2
  54. package/dist/components/Dialog/DialogContact.js +47 -11
  55. package/dist/components/Dialog/DialogHeader.js +31 -28
  56. package/dist/components/Dialog/DialogHistory.js +7 -6
  57. package/dist/components/Dialog/DialogHistoryItem.js +4 -3
  58. package/dist/components/Dialog/DialogHistorySegment.js +8 -7
  59. package/dist/components/Dialog/DialogLayout.js +22 -21
  60. package/dist/components/Dialog/DialogList.js +3 -2
  61. package/dist/components/Dialog/DialogListGroup.js +3 -2
  62. package/dist/components/Dialog/DialogListItem.js +3 -2
  63. package/dist/components/Dialog/DialogMetadata.js +3 -2
  64. package/dist/components/Dialog/DialogSection.js +10 -7
  65. package/dist/components/Dialog/DialogSeenBy.js +4 -3
  66. package/dist/components/Dialog/DialogSelect.js +10 -9
  67. package/dist/components/Dialog/DialogStatus.js +4 -3
  68. package/dist/components/Dialog/DialogTabs.js +4 -3
  69. package/dist/components/Dialog/SeenByLog.js +4 -3
  70. package/dist/components/Dialog/SeenByLogButton.js +7 -6
  71. package/dist/components/Dialog/SeenByLogItem.js +12 -11
  72. package/dist/components/Dialog/index.js +1 -1
  73. package/dist/components/Dropdown/DrawerButton.js +4 -3
  74. package/dist/components/Dropdown/DrawerHeader.js +8 -7
  75. package/dist/components/Dropdown/Dropdown.js +3 -2
  76. package/dist/components/Dropdown/DropdownBase.js +8 -7
  77. package/dist/components/Dropdown/FloatingDropdown.js +19 -18
  78. package/dist/components/Dropdown/index.js +1 -1
  79. package/dist/components/DsComponents/index.js +21 -20
  80. package/dist/components/Forms/Checkbox.js +4 -3
  81. package/dist/components/Forms/CheckboxOptions.js +4 -3
  82. package/dist/components/Forms/FieldBase.js +3 -2
  83. package/dist/components/Forms/FieldsetBase.js +4 -3
  84. package/dist/components/Forms/Radio.js +4 -3
  85. package/dist/components/Forms/RadioOptions.js +4 -3
  86. package/dist/components/Forms/SearchField.js +3 -2
  87. package/dist/components/Forms/SelectField.js +5 -4
  88. package/dist/components/Forms/Switch.js +6 -5
  89. package/dist/components/Forms/SwitchOptions.js +4 -3
  90. package/dist/components/Forms/TextField.js +4 -3
  91. package/dist/components/Forms/TextFieldDropdown.js +4 -3
  92. package/dist/components/Forms/TextareaField.js +4 -3
  93. package/dist/components/Forms/index.js +1 -1
  94. package/dist/components/GlobalHeader/GlobalAccountButton.js +8 -7
  95. package/dist/components/GlobalHeader/GlobalHeader.js +10 -9
  96. package/dist/components/GlobalHeader/GlobalMenuButton.js +4 -3
  97. package/dist/components/GlobalHeader/HeaderDrawer.js +9 -8
  98. package/dist/components/GlobalHeader/HeaderDropdown.js +6 -5
  99. package/dist/components/GlobalHeader/HeaderLogo.js +8 -7
  100. package/dist/components/GlobalMenu/GlobalMenu.js +10 -9
  101. package/dist/components/GlobalMenu/LocaleSwitcher.js +13 -12
  102. package/dist/components/GlobalMenu/LogoutButton.js +4 -3
  103. package/dist/components/GlobalMenu_old/BackButton.js +4 -3
  104. package/dist/components/GlobalMenu_old/CurrentAccount.js +4 -3
  105. package/dist/components/GlobalMenu_old/GlobalMenu.js +10 -9
  106. package/dist/components/GlobalMenu_old/GlobalMenuButton.js +12 -11
  107. package/dist/components/GlobalMenu_old/LogoutButton.js +4 -3
  108. package/dist/components/Header/Header.js +4 -3
  109. package/dist/components/Header/HeaderBase.js +7 -6
  110. package/dist/components/Header/HeaderButton.js +18 -17
  111. package/dist/components/Header/LocaleButton.js +12 -11
  112. package/dist/components/Header/LocaleSwitcher.js +9 -8
  113. package/dist/components/Icon/Icon.js +4 -3
  114. package/dist/components/Icon/index.js +1 -1
  115. package/dist/components/Inbox/InboxPage.js +8 -7
  116. package/dist/components/InboxSearch/InboxSearch.js +10 -9
  117. package/dist/components/Item/ItemLabel.js +2 -1
  118. package/dist/components/Item/ItemMedia.js +3 -2
  119. package/dist/components/Item/ItemSelect.js +3 -2
  120. package/dist/components/Item/index.js +1 -1
  121. package/dist/components/Layout/Layout.js +8 -7
  122. package/dist/components/List/List.js +3 -2
  123. package/dist/components/List/ListBase.js +4 -3
  124. package/dist/components/List/ListItem.js +1 -1
  125. package/dist/components/List/ListItemHeader.js +3 -2
  126. package/dist/components/List/ListItemIcon.js +3 -2
  127. package/dist/components/List/ListItemLabel.js +4 -3
  128. package/dist/components/List/index.js +1 -1
  129. package/dist/components/Menu/Menu.js +1 -1
  130. package/dist/components/Menu/MenuItem.js +3 -2
  131. package/dist/components/Menu/MenuItems.js +3 -2
  132. package/dist/components/Menu/MenuListSearch.js +3 -2
  133. package/dist/components/Menu/MenuOption.js +1 -1
  134. package/dist/components/Menu/TabMenu.js +7 -6
  135. package/dist/components/Menu/VirtualizedMenuItems.js +3 -2
  136. package/dist/components/Menu/index.js +1 -1
  137. package/dist/components/Menu/useMenuSearch.js +1 -1
  138. package/dist/components/Metadata/MetaItem.js +3 -2
  139. package/dist/components/Metadata/MetaItemIcon.js +3 -2
  140. package/dist/components/Metadata/MetaProgress.js +3 -2
  141. package/dist/components/Metadata/MetaTimestamp.js +3 -2
  142. package/dist/components/Metadata/Metadata.js +9 -8
  143. package/dist/components/Metadata/index.js +1 -1
  144. package/dist/components/Modal/Modal.js +8 -7
  145. package/dist/components/Modal/ModalBase.js +25 -24
  146. package/dist/components/Modal/ModalHeader.js +10 -9
  147. package/dist/components/Modal/ModalIcon.js +4 -3
  148. package/dist/components/Notifications/NotificationItem.js +4 -3
  149. package/dist/components/Notifications/NotificationItemBase.js +4 -3
  150. package/dist/components/Notifications/NotificationItemControls.js +6 -5
  151. package/dist/components/Notifications/NotificationItemIcon.js +15 -14
  152. package/dist/components/Page/AccordionSection.js +4 -3
  153. package/dist/components/Page/ContactButtons.js +7 -6
  154. package/dist/components/Page/ContactSection.js +7 -6
  155. package/dist/components/Page/PageMenu.js +11 -10
  156. package/dist/components/Page/PageNav.js +7 -6
  157. package/dist/components/Page/Section.js +3 -2
  158. package/dist/components/Page/index.js +1 -1
  159. package/dist/components/ResourceListItem/ResourceListItem.js +8 -7
  160. package/dist/components/RootProvider/RootProvider.js +4 -3
  161. package/dist/components/RootProvider/index.js +1 -1
  162. package/dist/components/Search/SearchItem.js +7 -6
  163. package/dist/components/Searchbar/Autocomplete.js +9 -8
  164. package/dist/components/Searchbar/AutocompleteItem.js +6 -5
  165. package/dist/components/Searchbar/Searchbar.js +4 -3
  166. package/dist/components/Searchbar/SearchbarField.js +4 -3
  167. package/dist/components/Settings/SettingsItem.js +72 -61
  168. package/dist/components/Settings/SettingsItemBase.js +67 -39
  169. package/dist/components/Settings/SettingsList.js +12 -11
  170. package/dist/components/Settings/SettingsModal.js +7 -6
  171. package/dist/components/Settings/SettingsSection.js +10 -9
  172. package/dist/components/Settings/UsedByLog.js +4 -3
  173. package/dist/components/Settings/UsedByLogItem.js +10 -9
  174. package/dist/components/Snackbar/SnackbarItem.js +16 -15
  175. package/dist/components/Timeline/Timeline.js +4 -3
  176. package/dist/components/Timeline/TimelineActivity.js +4 -3
  177. package/dist/components/Timeline/TimelineBase.js +4 -3
  178. package/dist/components/Timeline/TimelineFooter.js +7 -6
  179. package/dist/components/Timeline/TimelineHeader.js +4 -3
  180. package/dist/components/Timeline/TimelineIcon.js +6 -5
  181. package/dist/components/Timeline/TimelineSection.js +4 -3
  182. package/dist/components/Timeline/TimelineSegment.js +7 -6
  183. package/dist/components/Toolbar/DatepickerFilter.js +4 -3
  184. package/dist/components/Toolbar/SelectDateFilter.js +8 -7
  185. package/dist/components/Toolbar/Toolbar.js +1 -1
  186. package/dist/components/Toolbar/ToolbarFilter.js +11 -10
  187. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +18 -17
  188. package/dist/components/Toolbar/ToolbarFilterButton.js +4 -3
  189. package/dist/components/Toolbar/ToolbarFilterMenu.js +11 -10
  190. package/dist/components/Toolbar/ToolbarMenu.js +3 -2
  191. package/dist/components/Toolbar/ToolbarSearch.js +3 -2
  192. package/dist/components/Toolbar/index.js +1 -1
  193. package/dist/components/Transmission/Transmission.js +9 -8
  194. package/dist/components/Transmission/TransmissionList.js +6 -5
  195. package/dist/components/Transmission/TransmissionType.js +4 -3
  196. package/dist/components/Typography/Heading.js +3 -2
  197. package/dist/components/Typography/Link.js +11 -0
  198. package/dist/components/Typography/index.js +4 -2
  199. package/dist/components/UserListItem/UserListItem.js +9 -8
  200. package/dist/components/index.js +137 -134
  201. package/dist/hooks/useAccountSelector.js +18 -17
  202. package/dist/index.js +152 -149
  203. package/dist/link-D1SA3LCe.js +10 -0
  204. package/dist/{textfield-CRXtg-r5.js → textfield-f4Za2qt6.js} +428 -431
  205. package/dist/types/lib/components/Dialog/DialogContact.d.ts +12 -3
  206. package/dist/types/lib/components/Settings/SettingsItem.d.ts +1 -1
  207. package/dist/types/lib/components/Settings/SettingsItemBase.d.ts +16 -10
  208. package/dist/types/lib/components/Typography/Link.d.ts +11 -0
  209. package/dist/types/lib/components/Typography/index.d.ts +1 -0
  210. package/dist/types/lib/stories/Profile.stories.d.ts +1 -0
  211. package/package.json +1 -1
  212. package/dist/types/lib/components/Settings/SettingsItem.stories.d.ts +0 -67
@@ -1,120 +1,131 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { jsx as t } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
- import { useState as h } from "react";
4
- import { Input as f } from "../Forms/Input.js";
5
- import "../../Section-DPj8jAL1.js";
3
+ import { useState as g } from "react";
4
+ import { Input as b } from "../Forms/Input.js";
5
+ import "../../Section-DvBigBR1.js";
6
+ import "../Typography/Link.js";
6
7
  import "../Button/Button.js";
7
8
  import "react-dom";
8
9
  import "../Snackbar/useSnackbar.js";
9
- import { SettingsItemBase as i } from "./SettingsItemBase.js";
10
- import { SettingsModal as v } from "./SettingsModal.js";
11
- const j = ({
10
+ import { SettingsItemBase as n } from "./SettingsItemBase.js";
11
+ import { SettingsModal as x } from "./SettingsModal.js";
12
+ const M = ({
12
13
  loading: c,
13
- variant: r = "default",
14
+ variant: m = "default",
14
15
  id: d = "settings",
15
- name: m,
16
- checked: u,
17
- onChange: o,
18
- modalProps: n,
19
- children: s,
20
- ...t
16
+ name: h,
17
+ title: e,
18
+ value: r,
19
+ description: s,
20
+ checked: p,
21
+ onChange: u,
22
+ modalProps: o,
23
+ children: f,
24
+ ...i
21
25
  }) => {
22
- const [l, a] = h(!1);
26
+ const [l, a] = g(!1);
23
27
  if (c)
24
- return /* @__PURE__ */ e(i, { icon: t?.icon, title: t?.title, loading: !0 });
25
- switch (r) {
28
+ return /* @__PURE__ */ t(n, { icon: i?.icon, titleProps: { children: e }, loading: !0 });
29
+ switch (m) {
26
30
  case "link":
27
- return /* @__PURE__ */ e(
28
- i,
31
+ return /* @__PURE__ */ t(
32
+ n,
29
33
  {
30
- ...t,
31
- title: {
32
- children: t?.title
34
+ ...i,
35
+ titleProps: {
36
+ children: e
33
37
  },
34
- description: t?.description,
35
- value: void 0
38
+ descriptionProps: {
39
+ size: "xs",
40
+ weight: "normal",
41
+ variant: "subtle",
42
+ children: s
43
+ }
36
44
  }
37
45
  );
38
46
  case "switch":
39
- return /* @__PURE__ */ e(
40
- i,
47
+ return /* @__PURE__ */ t(
48
+ n,
41
49
  {
42
- ...t,
43
- title: {
44
- children: t?.title
50
+ ...i,
51
+ as: "div",
52
+ titleProps: {
53
+ children: e
45
54
  },
46
- description: {
47
- children: t?.description
55
+ descriptionProps: {
56
+ size: "xs",
57
+ weight: "normal",
58
+ variant: "subtle",
59
+ children: s
48
60
  },
49
- interactive: !1,
50
- controls: /* @__PURE__ */ e(
51
- f,
61
+ controls: /* @__PURE__ */ t(
62
+ b,
52
63
  {
53
64
  type: "checkbox",
54
65
  role: "switch",
55
66
  "aria-labelledby": d,
56
- name: m,
57
- value: t?.value,
58
- checked: u,
59
- onChange: o,
67
+ name: h,
68
+ value: r,
69
+ checked: p,
70
+ onChange: u,
60
71
  style: { marginRight: "0.5em" }
61
72
  }
62
73
  )
63
74
  }
64
75
  );
65
76
  case "modal":
66
- return /* @__PURE__ */ e(
67
- i,
77
+ return /* @__PURE__ */ t(
78
+ n,
68
79
  {
69
- ...t,
70
- title: {
71
- size: t?.value ? "xs" : "sm",
80
+ ...i,
81
+ titleProps: {
82
+ size: r ? "xs" : "sm",
72
83
  variant: "subtle",
73
84
  weight: "normal",
74
- children: t?.title
85
+ children: e
75
86
  },
76
- description: {
87
+ descriptionProps: {
77
88
  size: "sm",
78
89
  variant: "default",
79
- children: t?.description || t?.value
90
+ children: s || r
80
91
  },
81
92
  as: "button",
82
93
  linkIcon: !0,
83
94
  onClick: () => a(!0),
84
95
  expanded: l,
85
- children: l && /* @__PURE__ */ e(
86
- v,
96
+ children: l && /* @__PURE__ */ t(
97
+ x,
87
98
  {
88
- ...n,
89
- icon: n?.icon || t?.icon,
90
- title: n?.title || t?.title,
99
+ ...o,
100
+ icon: o?.icon || i?.icon,
101
+ title: o?.title || e,
91
102
  open: l,
92
103
  onClose: () => a(!1),
93
- children: s
104
+ children: f
94
105
  }
95
106
  )
96
107
  }
97
108
  );
98
109
  default:
99
- return /* @__PURE__ */ e(
100
- i,
110
+ return /* @__PURE__ */ t(
111
+ n,
101
112
  {
102
- ...t,
103
- title: {
104
- size: t?.value ? "xs" : "sm",
113
+ ...i,
114
+ titleProps: {
115
+ size: r ? "xs" : "sm",
105
116
  variant: "subtle",
106
117
  weight: "normal",
107
- children: t?.title
118
+ children: e
108
119
  },
109
- description: {
120
+ descriptionProps: {
110
121
  size: "sm",
111
122
  variant: "default",
112
- children: t?.description || t?.value
123
+ children: s || r
113
124
  }
114
125
  }
115
126
  );
116
127
  }
117
128
  };
118
129
  export {
119
- j as SettingsItem
130
+ M as SettingsItem
120
131
  };
@@ -1,46 +1,74 @@
1
- import { jsxs as p, jsx as m } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as s } from "react/jsx-runtime";
2
+ import { Badge as q } from "../Badge/Badge.js";
2
3
  import "../../index-p1eeF8LQ.js";
3
4
  import "react";
4
- import { L as d, m as I } from "../../Section-DPj8jAL1.js";
5
+ import { h, H as i, N as b } from "../../Section-DvBigBR1.js";
6
+ import "../Typography/Link.js";
7
+ import { ItemControls as B } from "../Item/ItemControls.js";
8
+ import { ItemBase as R } from "../Item/ItemBase.js";
9
+ import { ItemLink as j } from "../Item/ItemLink.js";
5
10
  import "../Button/Button.js";
6
11
  import "react-dom";
7
- import { ListItemBase as f } from "../List/ListItemBase.js";
8
12
  import "../Snackbar/useSnackbar.js";
9
- import '../../assets/SettingsItemBase.css';const g = "_item_lk1g7_1", k = "_label_lk1g7_20", N = "_header_lk1g7_24", e = {
10
- item: g,
11
- label: k,
12
- header: N
13
- }, w = ({
14
- ref: r,
15
- loading: t,
16
- color: l,
17
- size: i,
18
- expanded: a,
19
- icon: o,
20
- label: c,
21
- title: n,
22
- value: j,
23
- description: _,
24
- children: b,
25
- highlightWords: h,
26
- ...s
27
- }) => {
28
- const L = s.ariaLabel;
29
- return /* @__PURE__ */ p(f, { ref: r, className: e.item, color: l, size: i, expanded: a, children: [
30
- /* @__PURE__ */ m(d, { ...s, loading: t, ariaLabel: L, className: e.header, icon: o, children: /* @__PURE__ */ m(
31
- I,
32
- {
33
- loading: t,
34
- highlightWords: h,
35
- className: e.label,
36
- title: n,
37
- description: _,
38
- children: c
39
- }
40
- ) }),
41
- a && b
42
- ] });
43
- };
13
+ import '../../assets/SettingsItemBase.css';const v = "_item_1xpqe_1", w = "_media_1xpqe_24", C = "_link_1xpqe_38", H = "_linkIcon_1xpqe_48", S = "_label_1xpqe_54", g = "_controls_1xpqe_67", e = {
14
+ item: v,
15
+ media: w,
16
+ link: C,
17
+ linkIcon: H,
18
+ label: S,
19
+ controls: g
20
+ }, P = ({
21
+ as: n,
22
+ ref: l,
23
+ hidden: r,
24
+ loading: o,
25
+ color: c,
26
+ expanded: u,
27
+ icon: p,
28
+ label: _,
29
+ titleProps: d = {},
30
+ descriptionProps: x = {},
31
+ children: k,
32
+ highlightWords: t,
33
+ badge: m,
34
+ linkIcon: I,
35
+ controls: N,
36
+ ...f
37
+ }) => /* @__PURE__ */ a(R, { as: "li", ref: l, className: e.item, color: c, "aria-hidden": r, "data-loading": o, children: [
38
+ /* @__PURE__ */ a(j, { ...f, className: e.link, as: n, children: [
39
+ /* @__PURE__ */ s(h, { icon: p, className: e.media }),
40
+ _ || /* @__PURE__ */ a("span", { className: e.label, children: [
41
+ /* @__PURE__ */ s(
42
+ i,
43
+ {
44
+ ...d,
45
+ as: "span",
46
+ highlightWords: t,
47
+ loading: o,
48
+ maxRows: 2,
49
+ className: e.title
50
+ }
51
+ ),
52
+ /* @__PURE__ */ s(
53
+ i,
54
+ {
55
+ ...x,
56
+ as: "span",
57
+ highlightWords: t,
58
+ loading: o,
59
+ maxRows: 2,
60
+ className: e.description
61
+ }
62
+ )
63
+ ] })
64
+ ] }),
65
+ /* @__PURE__ */ a(B, { className: e.controls, children: [
66
+ N,
67
+ m && /* @__PURE__ */ s(q, { ...m }),
68
+ I && /* @__PURE__ */ s(b, { className: e.linkIcon })
69
+ ] }),
70
+ k
71
+ ] });
44
72
  export {
45
- w as SettingsItemBase
73
+ P as SettingsItemBase
46
74
  };
@@ -1,8 +1,9 @@
1
1
  import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
- import { Fragment as s, createElement as d } from "react";
2
+ import { Fragment as m, createElement as d } from "react";
3
3
  import "../../index-p1eeF8LQ.js";
4
4
  import { useMenu as f } from "../../hooks/useMenu.js";
5
- import { H as u, p as h } from "../../Section-DPj8jAL1.js";
5
+ import { H as u, p as h } from "../../Section-DvBigBR1.js";
6
+ import "../Typography/Link.js";
6
7
  import "../Button/Button.js";
7
8
  import "react-dom";
8
9
  import { Divider as y } from "../Divider/Divider.js";
@@ -10,21 +11,21 @@ import "../Snackbar/useSnackbar.js";
10
11
  import { Flex as S } from "../Page/Flex.js";
11
12
  import { SettingsItem as v } from "./SettingsItem.js";
12
13
  import { SettingsSection as j } from "./SettingsSection.js";
13
- const K = ({ items: m, groups: p = {}, sortGroupBy: n }) => {
14
+ const M = ({ items: s, groups: p = {}, sortGroupBy: n }) => {
14
15
  const { menu: c } = f({
15
- items: m,
16
+ items: s,
16
17
  groups: p,
17
18
  groupByKey: "groupId",
18
19
  keyboardEvents: !1,
19
20
  sortGroupBy: n
20
21
  });
21
- return /* @__PURE__ */ t(S, { as: "div", spacing: "page", direction: "col", children: c?.map((e, l) => {
22
- const i = e.props || {};
23
- return /* @__PURE__ */ o(s, { children: [
24
- i?.title && /* @__PURE__ */ t(u, { size: "lg", children: i.title }),
25
- /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(h, { size: "sm", children: e?.items.map((a, r) => {
22
+ return /* @__PURE__ */ t(S, { as: "div", spacing: "page", direction: "col", children: c?.map((i, l) => {
23
+ const e = i.props || {};
24
+ return /* @__PURE__ */ o(m, { children: [
25
+ e?.title && /* @__PURE__ */ t(u, { size: "lg", children: e.title }),
26
+ /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(h, { size: "sm", children: i?.items.map((a, r) => {
26
27
  const g = a.props || {};
27
- return /* @__PURE__ */ o(s, { children: [
28
+ return /* @__PURE__ */ o(m, { children: [
28
29
  r > 0 && /* @__PURE__ */ t(y, { as: "li" }),
29
30
  /* @__PURE__ */ d(v, { ...g, key: "settings-list-item" + r })
30
31
  ] }, r);
@@ -33,5 +34,5 @@ const K = ({ items: m, groups: p = {}, sortGroupBy: n }) => {
33
34
  }) });
34
35
  };
35
36
  export {
36
- K as SettingsList
37
+ M as SettingsList
37
38
  };
@@ -1,7 +1,8 @@
1
1
  import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
2
  import { createElement as u } from "react";
3
3
  import "../../index-p1eeF8LQ.js";
4
- import "../../Section-DPj8jAL1.js";
4
+ import "../../Section-DvBigBR1.js";
5
+ import "../Typography/Link.js";
5
6
  import { Button as M } from "../Button/Button.js";
6
7
  import { ButtonIcon as k } from "../Button/ButtonIcon.js";
7
8
  import { ButtonLabel as x } from "../Button/ButtonLabel.js";
@@ -11,9 +12,9 @@ import "../Snackbar/useSnackbar.js";
11
12
  import { ModalBase as j } from "../Modal/ModalBase.js";
12
13
  import { ModalHeader as y } from "../Modal/ModalHeader.js";
13
14
  import { ModalBody as E } from "../Modal/ModalBody.js";
14
- const D = ({
15
- icon: n,
16
- title: p,
15
+ const F = ({
16
+ icon: p,
17
+ title: n,
17
18
  description: c,
18
19
  open: l,
19
20
  onClose: r,
@@ -21,7 +22,7 @@ const D = ({
21
22
  children: a,
22
23
  ...d
23
24
  }) => /* @__PURE__ */ e(j, { ...d, open: l, onClose: r, children: [
24
- /* @__PURE__ */ o(y, { icon: n, title: p, description: c, onClose: r }),
25
+ /* @__PURE__ */ o(y, { icon: p, title: n, description: c, onClose: r }),
25
26
  /* @__PURE__ */ e(E, { children: [
26
27
  a,
27
28
  m?.length && /* @__PURE__ */ o(g, { children: m?.map((t, f) => {
@@ -42,5 +43,5 @@ const D = ({
42
43
  ] })
43
44
  ] });
44
45
  export {
45
- D as SettingsModal
46
+ F as SettingsModal
46
47
  };
@@ -1,20 +1,21 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as m } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
- import { S as c } from "../../Section-DPj8jAL1.js";
4
+ import { S as n } from "../../Section-DvBigBR1.js";
5
+ import "../Typography/Link.js";
5
6
  import "../Button/Button.js";
6
7
  import "react-dom";
7
8
  import "../Snackbar/useSnackbar.js";
8
- import '../../assets/SettingsSection.css';const m = "_section_13ero_1", p = {
9
- section: m
10
- }, u = ({
9
+ import '../../assets/SettingsSection.css';const c = "_section_13ero_1", p = {
10
+ section: c
11
+ }, d = ({
11
12
  size: t = "sm",
12
13
  theme: o = "default",
13
14
  shadow: s = "xs",
14
15
  as: i,
15
- color: e,
16
- children: r
17
- }) => /* @__PURE__ */ n(c, { as: i, size: t, color: e, theme: o, shadow: s, className: p.section, spacing: 2, children: r });
16
+ color: r,
17
+ children: e
18
+ }) => /* @__PURE__ */ m(n, { as: i, size: t, color: r, theme: o, shadow: s, className: p.section, spacing: 2, children: e });
18
19
  export {
19
- u as SettingsSection
20
+ d as SettingsSection
20
21
  };
@@ -2,7 +2,8 @@
2
2
  import { jsx as o, jsxs as a } from "react/jsx-runtime";
3
3
  import { useState as y, createElement as B, useMemo as S, Fragment as L } from "react";
4
4
  import "../../index-p1eeF8LQ.js";
5
- import { S as s, p as d } from "../../Section-DPj8jAL1.js";
5
+ import { S as s, p as d } from "../../Section-DvBigBR1.js";
6
+ import "../Typography/Link.js";
6
7
  import "../Button/Button.js";
7
8
  import "react-dom";
8
9
  import { SeenByLogButton as u } from "../Dialog/SeenByLogButton.js";
@@ -10,7 +11,7 @@ import { Divider as g } from "../Divider/Divider.js";
10
11
  import "../Snackbar/useSnackbar.js";
11
12
  import { Flex as j } from "../Page/Flex.js";
12
13
  import { UsedByLogItem as h } from "./UsedByLogItem.js";
13
- const q = ({
14
+ const w = ({
14
15
  collapsible: p = !0,
15
16
  expanded: f,
16
17
  title: t,
@@ -40,5 +41,5 @@ const q = ({
40
41
  ] });
41
42
  };
42
43
  export {
43
- q as UsedByLog
44
+ w as UsedByLog
44
45
  };
@@ -1,24 +1,25 @@
1
- import { jsxs as r, jsx as n } from "react/jsx-runtime";
2
- import { Badge as p } from "../Badge/Badge.js";
1
+ import { jsxs as r, jsx as l } from "react/jsx-runtime";
2
+ import { Badge as n } from "../Badge/Badge.js";
3
3
  import "../../index-p1eeF8LQ.js";
4
4
  import "react";
5
- import { B as c } from "../../Section-DPj8jAL1.js";
5
+ import { B as c } from "../../Section-DvBigBR1.js";
6
+ import "../Typography/Link.js";
6
7
  import "../Button/Button.js";
7
8
  import "react-dom";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { Flex as g } from "../Page/Flex.js";
10
- const y = ({
11
+ const N = ({
11
12
  type: m,
12
13
  name: t,
13
14
  description: o,
14
15
  isEndUser: e,
15
16
  endUserLabel: a,
16
- avatar: s,
17
- size: l = "sm"
17
+ avatar: p,
18
+ size: s = "sm"
18
19
  }) => {
19
20
  const i = e && { label: a };
20
21
  return /* @__PURE__ */ r(g, { align: "center", spacing: 2, as: "li", children: [
21
- /* @__PURE__ */ r(c, { size: l, avatar: { name: t, type: m, ...s }, children: [
22
+ /* @__PURE__ */ r(c, { size: s, avatar: { name: t, type: m, ...p }, children: [
22
23
  /* @__PURE__ */ r("strong", { children: [
23
24
  t,
24
25
  o && NaN
@@ -26,9 +27,9 @@ const y = ({
26
27
  " ",
27
28
  o
28
29
  ] }),
29
- i && /* @__PURE__ */ n(p, { variant: "subtle", ...i })
30
+ i && /* @__PURE__ */ l(n, { variant: "subtle", ...i })
30
31
  ] });
31
32
  };
32
33
  export {
33
- y as UsedByLogItem
34
+ N as UsedByLogItem
34
35
  };
@@ -1,8 +1,9 @@
1
1
  "use client";
2
- import { jsxs as f, jsx as r } from "react/jsx-runtime";
2
+ import { jsxs as f, jsx as l } from "react/jsx-runtime";
3
3
  import { c as p } from "../../index-p1eeF8LQ.js";
4
- import { I as u, E as v } from "../../Section-DPj8jAL1.js";
4
+ import { I as u, E as v } from "../../Section-DvBigBR1.js";
5
5
  import a, { forwardRef as _ } from "react";
6
+ import "../Typography/Link.js";
6
7
  import { Button as g } from "../Button/Button.js";
7
8
  import "react-dom";
8
9
  import "./useSnackbar.js";
@@ -17,11 +18,11 @@ import '../../assets/SnackbarItem.css';var y = function(e, i) {
17
18
  };
18
19
  const w = _((e, i) => {
19
20
  var { title: o, titleId: t } = e, n = y(e, ["title", "titleId"]);
20
- let l = h();
21
- return l = o ? t || "title-" + l : void 0, a.createElement(
21
+ let r = h();
22
+ return r = o ? t || "title-" + r : void 0, a.createElement(
22
23
  "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: i, "aria-labelledby": l }, n),
24
- o ? a.createElement("title", { id: l }, o) : null,
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: i, "aria-labelledby": r }, n),
25
+ o ? a.createElement("title", { id: r }, o) : null,
25
26
  a.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.75 2.5a.75.75 0 0 0-1.5 0v1.273c-2.222.14-3.655.92-4.499 2.186-.887 1.33-1.001 3.04-1.001 4.541v3c0 .809-.424 1.92-.92 2.915a18 18 0 0 1-.936 1.641l-.014.022-.004.006A.75.75 0 0 0 4.5 19.25h4.338a3.25 3.25 0 0 0 6.324 0H19.5a.75.75 0 0 0 .624-1.166l-.004-.006-.014-.022-.06-.091c-.05-.081-.125-.2-.215-.35-.18-.301-.42-.722-.66-1.2-.497-.994-.921-2.106-.921-2.915v-3c0-1.501-.114-3.21-1.001-4.541-.844-1.266-2.277-2.046-4.499-2.186zm-1.987 17.237a1.8 1.8 0 0 1-.344-.487h3.162a1.75 1.75 0 0 1-1.581 1 1.75 1.75 0 0 1-1.237-.513", clipRule: "evenodd" })
26
27
  );
27
28
  }), O = "_item_1a13i_1", b = "_icon_1a13i_23", x = "_content_1a13i_33", I = "_action_1a13i_41", c = {
@@ -31,22 +32,22 @@ const w = _((e, i) => {
31
32
  action: I
32
33
  };
33
34
  var j = /* @__PURE__ */ ((e) => (e.company = "company", e.success = "success", e.warning = "warning", e.danger = "danger", e.info = "info", e))(j || {});
34
- const F = ({
35
+ const H = ({
35
36
  as: e,
36
37
  message: i,
37
38
  className: o,
38
39
  color: t,
39
40
  icon: n = w,
40
- iconAltText: l = "Bell icon",
41
+ iconAltText: r = "Bell icon",
41
42
  dismissable: s = !0,
42
- onDismiss: d,
43
- ...m
44
- }) => /* @__PURE__ */ f(e || "div", { className: p(c.item, o), "data-color": t, role: "alert", ...m, children: [
45
- /* @__PURE__ */ r(u, { svgElement: n, className: c.icon, "aria-hidden": "true" }),
46
- /* @__PURE__ */ r("div", { className: c.content, children: i }),
47
- s && /* @__PURE__ */ r("div", { className: c.action, children: /* @__PURE__ */ r(g, { variant: "solid", onClick: d, "aria-label": "close", children: /* @__PURE__ */ r(v, { style: { fontSize: "1.5em" } }) }) })
43
+ onDismiss: m,
44
+ ...d
45
+ }) => /* @__PURE__ */ f(e || "div", { className: p(c.item, o), "data-color": t, role: "alert", ...d, children: [
46
+ /* @__PURE__ */ l(u, { svgElement: n, className: c.icon, "aria-hidden": "true" }),
47
+ /* @__PURE__ */ l("div", { className: c.content, children: i }),
48
+ s && /* @__PURE__ */ l("div", { className: c.action, children: /* @__PURE__ */ l(g, { variant: "solid", onClick: m, "aria-label": "close", children: /* @__PURE__ */ l(v, { style: { fontSize: "1.5em" } }) }) })
48
49
  ] });
49
50
  export {
50
51
  j as SnackbarColorEnum,
51
- F as SnackbarItem
52
+ H as SnackbarItem
52
53
  };
@@ -1,11 +1,12 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
- import { S as m } from "../../Section-DPj8jAL1.js";
4
+ import { S as m } from "../../Section-DvBigBR1.js";
5
+ import "../Typography/Link.js";
5
6
  import "../Button/Button.js";
6
7
  import "react-dom";
7
8
  import "../Snackbar/useSnackbar.js";
8
- const u = ({ as: t = "ul", spacing: o = 2, children: r }) => /* @__PURE__ */ i(m, { as: t, spacing: o, style: { width: "100%" }, children: r });
9
+ const x = ({ as: t = "ul", spacing: o = 2, children: r }) => /* @__PURE__ */ i(m, { as: t, spacing: o, style: { width: "100%" }, children: r });
9
10
  export {
10
- u as Timeline
11
+ x as Timeline
11
12
  };
@@ -1,13 +1,14 @@
1
1
  import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
- import { S as c, B as n } from "../../Section-DPj8jAL1.js";
4
+ import { S as c, B as n } from "../../Section-DvBigBR1.js";
5
5
  import { Typography as l } from "../Typography/Typography.js";
6
+ import "../Typography/Link.js";
6
7
  import "../Button/Button.js";
7
8
  import "react-dom";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { S as y } from "../../CircleFill-yFbEHBRX.js";
10
- const h = ({
11
+ const k = ({
11
12
  loading: r,
12
13
  byline: t,
13
14
  icon: S = y,
@@ -24,5 +25,5 @@ const h = ({
24
25
  o && typeof o == "string" ? /* @__PURE__ */ i(l, { as: "p", loading: r, size: "md", ...m, children: o }) : o
25
26
  ] });
26
27
  export {
27
- h as TimelineActivity
28
+ k as TimelineActivity
28
29
  };
@@ -1,7 +1,8 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
- import "../../Section-DPj8jAL1.js";
4
+ import "../../Section-DvBigBR1.js";
5
+ import "../Typography/Link.js";
5
6
  import "../Button/Button.js";
6
7
  import "react-dom";
7
8
  import { TimelineIcon as v } from "./TimelineIcon.js";
@@ -12,7 +13,7 @@ import '../../assets/TimelineBase.css';const N = "_section_4e55r_1", f = "_sideb
12
13
  sidebar: f,
13
14
  content: h,
14
15
  border: j
15
- }, q = ({
16
+ }, w = ({
16
17
  as: n = "section",
17
18
  loading: o,
18
19
  border: a = "solid",
@@ -33,5 +34,5 @@ import '../../assets/TimelineBase.css';const N = "_section_4e55r_1", f = "_sideb
33
34
  /* @__PURE__ */ t("div", { className: e.content, children: _ })
34
35
  ] });
35
36
  export {
36
- q as TimelineBase
37
+ w as TimelineBase
37
38
  };
@@ -1,20 +1,21 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import "../../index-p1eeF8LQ.js";
3
3
  import "react";
4
- import { B as l } from "../../Section-DPj8jAL1.js";
4
+ import { B as l } from "../../Section-DvBigBR1.js";
5
+ import "../Typography/Link.js";
5
6
  import "../Button/Button.js";
6
7
  import "react-dom";
7
8
  import { TimelineBase as n } from "./TimelineBase.js";
8
9
  import "../Snackbar/useSnackbar.js";
9
10
  import { S as s } from "../../CircleFill-yFbEHBRX.js";
10
- const S = ({
11
+ const T = ({
11
12
  loading: r,
12
13
  as: o = "li",
13
14
  color: m = "neutral",
14
- icon: e = s,
15
- iconColor: t,
15
+ icon: t = s,
16
+ iconColor: e,
16
17
  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 }) });
18
+ }) => /* @__PURE__ */ i(n, { loading: r, as: o, icon: t, color: m, iconColor: e, border: "hidden", children: /* @__PURE__ */ i(l, { loading: r, children: p }) });
18
19
  export {
19
- S as TimelineFooter
20
+ T as TimelineFooter
20
21
  };