@altinn/altinn-components 0.52.6 → 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.
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ButtonGroup.css +1 -1
- package/dist/assets/ButtonGroupDivider.css +1 -1
- package/dist/assets/ButtonLabel.css +1 -1
- package/dist/assets/DatepickerTable.css +1 -1
- package/dist/assets/IconButton.css +1 -0
- package/dist/assets/LocaleButton.css +1 -1
- package/dist/assets/ModalBody.css +1 -1
- package/dist/assets/ModalHeader.css +1 -1
- package/dist/assets/SearchField.css +1 -1
- package/dist/button-BB5sYVKY.js +38 -0
- package/dist/components/AccessAreaListItem/AccessAreaListItem.js +7 -6
- package/dist/components/AccessPackageListItem/AccessPackageListItem.js +3 -2
- package/dist/components/Account/AccountList.js +3 -2
- package/dist/components/Account/AccountListItem.js +6 -5
- package/dist/components/Account/AccountListItemControls.js +16 -16
- package/dist/components/Account/AccountListItemDetails.js +2 -2
- package/dist/components/Account/AccountListVirtual.js +9 -8
- package/dist/components/Account/AccountMenu.js +7 -6
- package/dist/components/Account/AccountMenuButton.js +30 -30
- package/dist/components/Account/AccountNotificationSettings.js +9 -8
- package/dist/components/Account/AccountOrganization.js +7 -6
- package/dist/components/ActivityLog/ActivityLogItem.js +3 -2
- package/dist/components/ActivityLog/ActivityLogSegment.js +3 -2
- package/dist/components/Article/Article.js +3 -2
- package/dist/components/Article/ArticleContact.js +3 -2
- package/dist/components/Article/ArticleHeader.js +3 -2
- package/dist/components/Attachment/AttachmentLink.js +24 -23
- package/dist/components/Banner/Banner.js +10 -19
- package/dist/components/Button/Button.js +22 -58
- package/dist/components/Button/ButtonGroup.js +11 -21
- package/dist/components/Button/ButtonGroupDivider.js +5 -4
- package/dist/components/Button/ButtonIcon.js +5 -4
- package/dist/components/Button/ButtonLabel.js +2 -2
- package/dist/components/Button/ComboButton.js +11 -68
- package/dist/components/Button/FloatingActionButton.js +13 -18
- package/dist/components/Button/IconButton.js +6 -33
- package/dist/components/Button/index.js +16 -16
- package/dist/components/Byline/Byline.js +7 -6
- package/dist/components/ContextMenu/ContextMenu.js +35 -35
- package/dist/components/Dashboard/DashboardCard.js +3 -2
- package/dist/components/Dashboard/DashboardHeader.js +10 -9
- package/dist/components/Dashboard/DashboardIcon.js +3 -2
- package/dist/components/Datepicker/DatepickerHeader.js +22 -22
- package/dist/components/Datepicker/DatepickerTable.js +14 -14
- package/dist/components/Dialog/Dialog.js +3 -2
- package/dist/components/Dialog/DialogActions.js +36 -44
- package/dist/components/Dialog/DialogActivityLog.js +3 -2
- package/dist/components/Dialog/DialogAttachments.js +3 -2
- package/dist/components/Dialog/DialogBody.js +3 -2
- package/dist/components/Dialog/DialogByline.js +3 -2
- package/dist/components/Dialog/DialogContact.js +3 -2
- package/dist/components/Dialog/DialogHeader.js +7 -6
- package/dist/components/Dialog/DialogHistoryItem.js +3 -2
- package/dist/components/Dialog/DialogHistorySegment.js +3 -2
- package/dist/components/Dialog/DialogLayout.js +3 -2
- package/dist/components/Dialog/DialogList.js +5 -4
- package/dist/components/Dialog/DialogListGroup.js +3 -2
- package/dist/components/Dialog/DialogListItem.js +3 -2
- package/dist/components/Dialog/DialogMetadata.js +3 -2
- package/dist/components/Dialog/DialogSection.js +3 -2
- package/dist/components/Dialog/DialogSeenBy.js +3 -2
- package/dist/components/Dialog/DialogSelect.js +5 -4
- package/dist/components/Dialog/DialogStatus.js +3 -2
- package/dist/components/Dialog/DialogTabs.js +3 -2
- package/dist/components/Dialog/SeenByLog.js +9 -8
- package/dist/components/Dialog/SeenByLogButton.js +3 -2
- package/dist/components/Dialog/SeenByLogItem.js +11 -10
- package/dist/components/Dropdown/DrawerButton.js +3 -3
- package/dist/components/Dropdown/DrawerHeader.js +8 -18
- package/dist/components/Dropdown/DrawerOrDropdown.js +7 -6
- package/dist/components/Dropdown/DropdownBase.js +7 -6
- package/dist/components/Dropdown/FloatingDropdown.js +36 -36
- package/dist/components/DsComponents/index.js +15 -16
- package/dist/components/Forms/Checkbox.js +3 -2
- package/dist/components/Forms/CheckboxOptions.js +3 -2
- package/dist/components/Forms/FieldBase.js +3 -2
- package/dist/components/Forms/FieldsetBase.js +3 -2
- package/dist/components/Forms/Radio.js +3 -2
- package/dist/components/Forms/RadioOptions.js +3 -2
- package/dist/components/Forms/SearchField.js +22 -23
- package/dist/components/Forms/SelectField.js +4 -3
- package/dist/components/Forms/Switch.js +3 -2
- package/dist/components/Forms/SwitchOptions.js +3 -2
- package/dist/components/Forms/TextField.js +3 -2
- package/dist/components/Forms/TextareaField.js +3 -2
- package/dist/components/GlobalHeader/AccountSelector.js +2 -2
- package/dist/components/GlobalHeader/GlobalHeader.js +3 -2
- package/dist/components/GlobalHeader/GlobalHeaderBase.js +6 -5
- package/dist/components/GlobalHeader/GlobalSearch.js +7 -6
- package/dist/components/GlobalHeader/GlobalSearchButton.js +8 -7
- package/dist/components/GlobalHeader/HeaderLogo.js +13 -16
- package/dist/components/GlobalMenu/BackButton.js +3 -2
- package/dist/components/GlobalMenu/GlobalMenu.js +9 -8
- package/dist/components/GlobalMenu/GlobalMenuButton.js +2 -2
- package/dist/components/GlobalMenu/LocaleButton.js +3 -2
- package/dist/components/GlobalMenu/LocaleSwitcher.js +3 -2
- package/dist/components/GlobalMenu/LogoutButton.js +6 -8
- package/dist/components/GlobalMenu_old/BackButton.js +3 -2
- package/dist/components/GlobalMenu_old/CurrentAccount.js +5 -4
- package/dist/components/GlobalMenu_old/GlobalMenu.js +11 -10
- package/dist/components/GlobalMenu_old/GlobalMenuButton.js +23 -23
- package/dist/components/GlobalMenu_old/LogoutButton.js +6 -8
- package/dist/components/Header/Header.js +3 -2
- package/dist/components/Header/HeaderBase.js +5 -4
- package/dist/components/Header/HeaderButton.js +22 -22
- package/dist/components/Header/HeaderLogo.js +13 -17
- package/dist/components/Header/LocaleButton.js +17 -17
- package/dist/components/Header/LocaleSwitcher.js +8 -7
- package/dist/components/Icon/Icon.js +12 -11
- package/dist/components/Icon/IconOrAvatar.js +15 -14
- package/dist/components/InboxSearch/InboxSearch.js +11 -10
- package/dist/components/Layout/Layout.js +11 -10
- package/dist/components/LayoutAction/ActionHeader.js +18 -18
- package/dist/components/LayoutAction/LayoutAction.js +3 -2
- package/dist/components/List/List.js +3 -2
- package/dist/components/List/ListBase.js +3 -2
- package/dist/components/List/ListItemHeader.js +5 -4
- package/dist/components/List/ListItemIcon.js +3 -2
- package/dist/components/List/ListItemLabel.js +16 -15
- package/dist/components/List/ListItemSelect.js +4 -3
- package/dist/components/Menu/MenuItem.js +15 -14
- package/dist/components/Menu/MenuItemBase.js +5 -5
- package/dist/components/Menu/MenuItemIcon.js +6 -5
- package/dist/components/Menu/MenuItemLabel.js +13 -12
- package/dist/components/Menu/MenuItems.js +1 -0
- package/dist/components/Menu/MenuItemsVirtual.js +26 -25
- package/dist/components/Menu/MenuOption.js +17 -16
- package/dist/components/Menu/MenuSearch.js +3 -2
- package/dist/components/Metadata/MetaItem.js +7 -6
- package/dist/components/Metadata/MetaItemIcon.js +3 -2
- package/dist/components/Metadata/MetaProgress.js +3 -2
- package/dist/components/Metadata/MetaTimestamp.js +7 -6
- package/dist/components/Metadata/Metadata.js +8 -7
- package/dist/components/Modal/Modal.js +13 -13
- package/dist/components/Modal/ModalBase.js +7 -6
- package/dist/components/Modal/ModalBody.js +5 -10
- package/dist/components/Modal/ModalFooter.js +3 -2
- package/dist/components/Modal/ModalHeader.js +26 -36
- package/dist/components/Modal/ModalIcon.js +7 -6
- package/dist/components/Notifications/NotificationItem.js +6 -5
- package/dist/components/Notifications/NotificationItemBase.js +10 -9
- package/dist/components/Notifications/NotificationItemControls.js +14 -24
- package/dist/components/Notifications/NotificationItemIcon.js +8 -7
- package/dist/components/Page/AccordionSection.js +3 -2
- package/dist/components/Page/Breadcrumbs.js +7 -6
- package/dist/components/Page/ContactButtons.js +11 -6
- package/dist/components/Page/ContactSection.js +3 -2
- package/dist/components/Page/PageMenu.js +6 -5
- package/dist/components/Page/PageNav.js +11 -8
- package/dist/components/Page/PageTabs.js +6 -5
- package/dist/components/Page/Section.js +27 -7
- package/dist/components/ResourceListItem/ResourceListItem.js +3 -2
- package/dist/components/RootProvider/RootProvider.js +9 -8
- package/dist/components/Search/SearchItem.js +5 -4
- package/dist/components/Searchbar/Autocomplete.js +3 -2
- package/dist/components/Searchbar/AutocompleteItem.js +11 -10
- package/dist/components/Searchbar/Searchbar.js +10 -9
- package/dist/components/Searchbar/SearchbarField.js +54 -53
- package/dist/components/Settings/BookmarksSettingsList.js +7 -6
- package/dist/components/Settings/SettingsItem.js +3 -2
- package/dist/components/Settings/SettingsItemBase.js +7 -6
- package/dist/components/Settings/SettingsList.js +7 -6
- package/dist/components/Settings/SettingsModal.js +33 -26
- package/dist/components/Settings/SettingsSection.js +3 -2
- package/dist/components/Settings/UsedByLog.js +8 -7
- package/dist/components/Settings/UsedByLogItem.js +10 -9
- package/dist/components/Snackbar/SnackbarItem.js +13 -22
- package/dist/components/Timeline/Timeline.js +3 -2
- package/dist/components/Timeline/TimelineActivity.js +3 -2
- package/dist/components/Timeline/TimelineBase.js +10 -9
- package/dist/components/Timeline/TimelineFooter.js +6 -5
- package/dist/components/Timeline/TimelineHeader.js +3 -2
- package/dist/components/Timeline/TimelineIcon.js +6 -5
- package/dist/components/Timeline/TimelineSection.js +3 -2
- package/dist/components/Timeline/TimelineSegment.js +6 -5
- package/dist/components/Timeline/index.js +2 -4
- package/dist/components/Toolbar/ToolbarAccountMenu.js +18 -17
- package/dist/components/Toolbar/ToolbarAdd.js +5 -4
- package/dist/components/Toolbar/ToolbarButton.js +94 -88
- package/dist/components/Toolbar/ToolbarDaterange.js +3 -2
- package/dist/components/Toolbar/ToolbarFilter.js +24 -23
- package/dist/components/Toolbar/ToolbarFilterBase.js +8 -8
- package/dist/components/Toolbar/ToolbarMenu.js +3 -2
- package/dist/components/Toolbar/ToolbarOptions.js +3 -2
- package/dist/components/Toolbar/ToolbarSearch.js +7 -6
- package/dist/components/Transmission/Transmission.js +8 -7
- package/dist/components/Transmission/TransmissionList.js +8 -7
- package/dist/components/Transmission/TransmissionType.js +3 -2
- package/dist/components/Typography/Heading.js +3 -2
- package/dist/components/UserListItem/UserListItem.js +12 -11
- package/dist/components/index.js +192 -195
- package/dist/functions/name/name.js +16 -12
- package/dist/functions/name/name.spec.js +14 -0
- package/dist/hooks/useAccountSelector.js +46 -46
- package/dist/{index-Dg71_7ad.js → index-DttADHE1.js} +1 -1
- package/dist/index.js +204 -207
- package/dist/{textfield-B_OMMEbF.js → textfield-C_c2H05R.js} +25 -26
- package/dist/types/lib/components/Account/AccountListItemDetails.d.ts +5 -1
- package/dist/types/lib/components/Button/Button.d.ts +21 -10
- package/dist/types/lib/components/Button/Button.stories.d.ts +13 -10
- package/dist/types/lib/components/Button/ButtonGroup.d.ts +6 -6
- package/dist/types/lib/components/Button/ButtonGroup.stories.d.ts +3 -1
- package/dist/types/lib/components/Button/ButtonGroupDivider.d.ts +5 -1
- package/dist/types/lib/components/Button/ButtonIcon.d.ts +2 -1
- package/dist/types/lib/components/Button/ButtonLabel.d.ts +1 -1
- package/dist/types/lib/components/Button/ComboButton.d.ts +6 -15
- package/dist/types/lib/components/Button/ComboButton.stories.d.ts +0 -3
- package/dist/types/lib/components/Button/FloatingActionButton.d.ts +5 -12
- package/dist/types/lib/components/Button/IconButton.d.ts +4 -17
- package/dist/types/lib/components/Button/index.d.ts +4 -4
- package/dist/types/lib/components/Datepicker/Datepicker.stories.d.ts +6 -0
- package/dist/types/lib/components/Dialog/DialogActions.d.ts +1 -0
- package/dist/types/lib/components/Dropdown/FloatingDropdown.d.ts +2 -2
- package/dist/types/lib/components/GlobalHeader/HeaderLogo.d.ts +1 -2
- package/dist/types/lib/components/Header/HeaderButton.d.ts +0 -2
- package/dist/types/lib/components/Header/HeaderLogo.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuItem.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuItemBase.d.ts +2 -2
- package/dist/types/lib/components/Modal/ModalBody.d.ts +2 -3
- package/dist/types/lib/components/Page/ContactButtons.d.ts +1 -0
- package/dist/types/lib/components/Page/Section.d.ts +1 -1
- package/dist/types/lib/components/Settings/SettingsModal.d.ts +1 -0
- package/dist/types/lib/components/Settings/VerifySettingsModal.stories.d.ts +14 -0
- package/dist/types/lib/components/Timeline/index.d.ts +0 -1
- package/dist/types/lib/components/Toolbar/ToolbarButton.d.ts +2 -3
- package/dist/types/lib/components/Toolbar/ToolbarButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarFilterBase.d.ts +2 -2
- package/package.json +2 -1
- package/dist/assets/ButtonBase.css +0 -1
- package/dist/assets/ComboButton.css +0 -1
- package/dist/assets/TimelineLink.css +0 -1
- package/dist/button-MzZgmHyA.js +0 -23
- package/dist/components/Button/ButtonBase.js +0 -41
- package/dist/components/Timeline/TimelineLink.js +0 -36
- package/dist/spinner-0Qe_jRGB.js +0 -23
- package/dist/types/lib/components/Button/ButtonBase.d.ts +0 -26
- package/dist/types/lib/components/Button/IconButton.stories.d.ts +0 -7
- package/dist/types/lib/components/Timeline/TimelineLink.d.ts +0 -9
|
@@ -2,15 +2,16 @@ import { jsxs as n, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { createElement as g } from "react";
|
|
3
3
|
import "../../index-p1eeF8LQ.js";
|
|
4
4
|
import { Typography as f } from "../Typography/Typography.js";
|
|
5
|
+
import "../Button/Button.js";
|
|
5
6
|
import "../RootProvider/RootProvider.js";
|
|
6
7
|
import { TimelineSegment as l } from "../Timeline/TimelineSegment.js";
|
|
7
8
|
import "../Snackbar/useSnackbar.js";
|
|
8
9
|
import { ActivityLogItem as y } from "./ActivityLogItem.js";
|
|
9
|
-
const
|
|
10
|
+
const S = ({ id: o, items: r, datetime: m, byline: e, children: p, summary: t }) => /* @__PURE__ */ n(l, { datetime: m, byline: e, spacing: 2, id: o, children: [
|
|
10
11
|
t && /* @__PURE__ */ c(f, { children: t }),
|
|
11
12
|
p,
|
|
12
13
|
r?.map((i) => /* @__PURE__ */ g(y, { ...i, key: "activity-log-item" + i.id }))
|
|
13
14
|
] });
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
S as ActivityLogSegment
|
|
16
17
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { 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 { Section as i } from "../Page/Section.js";
|
|
7
|
-
const
|
|
8
|
+
const f = ({ color: r, children: t }) => /* @__PURE__ */ o(i, { as: "article", color: r, spacing: 6, children: t });
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
f as Article
|
|
10
11
|
};
|
|
@@ -3,11 +3,12 @@ import "../../index-p1eeF8LQ.js";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import { Typography as c } from "../Typography/Typography.js";
|
|
5
5
|
import { Heading as e } 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 d } from "../Page/Section.js";
|
|
9
10
|
import { ContactButtons as a } from "../Page/ContactButtons.js";
|
|
10
|
-
const
|
|
11
|
+
const b = ({
|
|
11
12
|
color: t,
|
|
12
13
|
theme: p = "subtle",
|
|
13
14
|
title: o,
|
|
@@ -20,5 +21,5 @@ const C = ({
|
|
|
20
21
|
i && /* @__PURE__ */ r(a, { items: i })
|
|
21
22
|
] });
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
b as ArticleContact
|
|
24
25
|
};
|
|
@@ -2,13 +2,14 @@ import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import "../../index-p1eeF8LQ.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Heading as m } from "../Typography/Heading.js";
|
|
5
|
+
import "../Button/Button.js";
|
|
5
6
|
import "../RootProvider/RootProvider.js";
|
|
6
7
|
import "../Snackbar/useSnackbar.js";
|
|
7
8
|
import { Section as t } from "../Page/Section.js";
|
|
8
|
-
const
|
|
9
|
+
const h = ({ title: r, children: i }) => /* @__PURE__ */ o(t, { as: "header", spacing: 2, children: [
|
|
9
10
|
r && /* @__PURE__ */ e(m, { size: "xl", children: r }),
|
|
10
11
|
i
|
|
11
12
|
] });
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
h as ArticleHeader
|
|
14
15
|
};
|
|
@@ -4,42 +4,43 @@ import { Badge as u } from "../Badge/Badge.js";
|
|
|
4
4
|
import { Icon as b } from "../Icon/Icon.js";
|
|
5
5
|
import "../../index-p1eeF8LQ.js";
|
|
6
6
|
import o, { forwardRef as f } from "react";
|
|
7
|
+
import "../Button/Button.js";
|
|
7
8
|
import "../RootProvider/RootProvider.js";
|
|
8
9
|
import "../Snackbar/useSnackbar.js";
|
|
9
10
|
import { u as p } from "../../useId-BVFxCjkq.js";
|
|
10
11
|
import '../../assets/AttachmentLink.css';var h = function(t, a) {
|
|
11
|
-
var
|
|
12
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && a.indexOf(e) < 0 && (
|
|
12
|
+
var r = {};
|
|
13
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && a.indexOf(e) < 0 && (r[e] = t[e]);
|
|
13
14
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
14
15
|
for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
|
|
15
|
-
a.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (
|
|
16
|
-
return
|
|
16
|
+
a.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
|
|
17
|
+
return r;
|
|
17
18
|
};
|
|
18
19
|
const _ = f((t, a) => {
|
|
19
|
-
var { title:
|
|
20
|
-
let
|
|
21
|
-
return
|
|
20
|
+
var { title: r, titleId: e } = t, l = h(t, ["title", "titleId"]);
|
|
21
|
+
let n = p();
|
|
22
|
+
return n = r ? e || "title-" + n : void 0, o.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: a, "aria-labelledby":
|
|
24
|
-
|
|
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: a, "aria-labelledby": n }, l),
|
|
25
|
+
r ? o.createElement("title", { id: n }, r) : null,
|
|
25
26
|
o.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M6.5 3.25c-.69 0-1.25.56-1.25 1.25v15c0 .69.56 1.25 1.25 1.25h11c.69 0 1.25-.56 1.25-1.25V8a.75.75 0 0 0-.22-.53l-4-4a.75.75 0 0 0-.53-.22zm6.75 4.25c0 .69.56 1.25 1.25 1.25h2.75v10.5H6.75V4.75h6.5zm2.94-.25-1.44-1.44v1.44z", clipRule: "evenodd" })
|
|
26
27
|
);
|
|
27
28
|
});
|
|
28
29
|
var v = function(t, a) {
|
|
29
|
-
var
|
|
30
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && a.indexOf(e) < 0 && (
|
|
30
|
+
var r = {};
|
|
31
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && a.indexOf(e) < 0 && (r[e] = t[e]);
|
|
31
32
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
32
33
|
for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
|
|
33
|
-
a.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (
|
|
34
|
-
return
|
|
34
|
+
a.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
|
|
35
|
+
return r;
|
|
35
36
|
};
|
|
36
37
|
const g = f((t, a) => {
|
|
37
|
-
var { title:
|
|
38
|
-
let
|
|
39
|
-
return
|
|
38
|
+
var { title: r, titleId: e } = t, l = v(t, ["title", "titleId"]);
|
|
39
|
+
let n = p();
|
|
40
|
+
return n = r ? e || "title-" + n : void 0, o.createElement(
|
|
40
41
|
"svg",
|
|
41
|
-
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: a, "aria-labelledby":
|
|
42
|
-
|
|
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: a, "aria-labelledby": n }, l),
|
|
43
|
+
r ? o.createElement("title", { id: n }, r) : null,
|
|
43
44
|
o.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M5.25 4.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l4 4c.141.14.22.331.22.53v11.5c0 .69-.56 1.25-1.25 1.25h-11c-.69 0-1.25-.56-1.25-1.25zm9.25 4.25c-.69 0-1.25-.56-1.25-1.25V4.75h-6.5v14.5h10.5V8.75zm.25-2.94 1.44 1.44h-1.44zm-.72 6.16a.75.75 0 0 1 0 1.06l-.97.97.97.97a.75.75 0 1 1-1.06 1.06l-.97-.97-.97.97a.75.75 0 1 1-1.06-1.06l.97-.97-.97-.97a.75.75 0 1 1 1.06-1.06l.97.97.97-.97a.75.75 0 0 1 1.06 0", clipRule: "evenodd" })
|
|
44
45
|
);
|
|
45
46
|
}), y = "_item_w0iww_1", O = "_icon_w0iww_9", I = "_link_w0iww_16", j = "_label_w0iww_27", x = "_badge_w0iww_39", E = "_metadata_w0iww_44", i = {
|
|
@@ -49,16 +50,16 @@ const g = f((t, a) => {
|
|
|
49
50
|
label: j,
|
|
50
51
|
badge: x,
|
|
51
52
|
metadata: E
|
|
52
|
-
},
|
|
53
|
+
}, M = ({ icon: t, iconAltText: a, href: r, label: e, metadata: l, badge: n, disabled: m }) => {
|
|
53
54
|
const w = t || m ? g : _;
|
|
54
55
|
return /* @__PURE__ */ c("span", { className: i.item, children: /* @__PURE__ */ d("span", { children: [
|
|
55
|
-
/* @__PURE__ */ d("a", { href:
|
|
56
|
+
/* @__PURE__ */ d("a", { href: r, "aria-disabled": m, className: i.link, target: "_blank", rel: "noreferrer", children: [
|
|
56
57
|
/* @__PURE__ */ c(b, { svgElement: w, altText: a, className: i.icon }),
|
|
57
58
|
/* @__PURE__ */ c("span", { className: i.label, children: e })
|
|
58
59
|
] }),
|
|
59
|
-
|
|
60
|
+
n && /* @__PURE__ */ d(s, { children: [
|
|
60
61
|
" ",
|
|
61
|
-
/* @__PURE__ */ c(u, { ...
|
|
62
|
+
/* @__PURE__ */ c(u, { ...n, className: i.badge })
|
|
62
63
|
] }),
|
|
63
64
|
l && /* @__PURE__ */ d(s, { children: [
|
|
64
65
|
" ",
|
|
@@ -67,5 +68,5 @@ const g = f((t, a) => {
|
|
|
67
68
|
] }) });
|
|
68
69
|
};
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
+
M as AttachmentLink
|
|
71
72
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as s, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import { c as f } from "../../index-p1eeF8LQ.js";
|
|
4
|
-
import
|
|
4
|
+
import { Button as d } from "../Button/Button.js";
|
|
5
|
+
import c, { forwardRef as m } from "react";
|
|
5
6
|
import "../RootProvider/RootProvider.js";
|
|
6
7
|
import "../Snackbar/useSnackbar.js";
|
|
7
|
-
import { IconButton as m } from "../Button/IconButton.js";
|
|
8
8
|
import { u as p } from "../../useId-BVFxCjkq.js";
|
|
9
9
|
import { S as u } from "../../XMark-tKk6aExO.js";
|
|
10
10
|
import '../../assets/Banner.css';var v = function(e, i) {
|
|
@@ -15,7 +15,7 @@ import '../../assets/Banner.css';var v = function(e, i) {
|
|
|
15
15
|
i.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
|
|
16
16
|
return n;
|
|
17
17
|
};
|
|
18
|
-
const
|
|
18
|
+
const h = m((e, i) => {
|
|
19
19
|
var { title: n, titleId: t } = e, r = v(e, ["title", "titleId"]);
|
|
20
20
|
let a = p();
|
|
21
21
|
return a = n ? t || "title-" + a : void 0, c.createElement(
|
|
@@ -24,14 +24,14 @@ const _ = d((e, i) => {
|
|
|
24
24
|
n ? c.createElement("title", { id: a }, n) : null,
|
|
25
25
|
c.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v16c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm.75 16V4.75h14.5v14.5zM11 7.75a1 1 0 1 1 2 0 1 1 0 0 1-2 0M10.5 10a.75.75 0 0 0 0 1.5h.75v4h-.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-.75v-4.75A.75.75 0 0 0 12 10z", clipRule: "evenodd" })
|
|
26
26
|
);
|
|
27
|
-
}),
|
|
28
|
-
banner:
|
|
29
|
-
sticky:
|
|
27
|
+
}), y = "_banner_1of7r_1", _ = "_sticky_1of7r_12", b = "_title_1of7r_18", g = "_infoIcon_1of7r_25", o = {
|
|
28
|
+
banner: y,
|
|
29
|
+
sticky: _,
|
|
30
30
|
title: b,
|
|
31
31
|
infoIcon: g
|
|
32
32
|
};
|
|
33
33
|
var w = /* @__PURE__ */ ((e) => (e.company = "company", e.success = "success", e.warning = "warning", e.danger = "danger", e.info = "info", e))(w || {});
|
|
34
|
-
const
|
|
34
|
+
const N = ({ closeTitle: e = "close", onClose: i, text: n, color: t, sticky: r = !0 }) => /* @__PURE__ */ s(
|
|
35
35
|
"section",
|
|
36
36
|
{
|
|
37
37
|
className: f(o.banner, { [o.sticky]: r }),
|
|
@@ -40,23 +40,14 @@ const R = ({ closeTitle: e = "close", onClose: i, text: n, color: t, sticky: r =
|
|
|
40
40
|
"data-color": t,
|
|
41
41
|
children: [
|
|
42
42
|
/* @__PURE__ */ s("div", { className: o.title, children: [
|
|
43
|
-
/* @__PURE__ */ l(
|
|
43
|
+
/* @__PURE__ */ l(h, { className: o.infoIcon, "aria-hidden": !0 }),
|
|
44
44
|
/* @__PURE__ */ l("span", { children: n })
|
|
45
45
|
] }),
|
|
46
|
-
!!i && /* @__PURE__ */ l(
|
|
47
|
-
m,
|
|
48
|
-
{
|
|
49
|
-
icon: u,
|
|
50
|
-
variant: "solid",
|
|
51
|
-
onClick: i,
|
|
52
|
-
className: o.dismiss,
|
|
53
|
-
iconAltText: e
|
|
54
|
-
}
|
|
55
|
-
)
|
|
46
|
+
!!i && /* @__PURE__ */ l(d, { variant: "solid", onClick: i, className: o.dismiss, "aria-label": e, children: /* @__PURE__ */ l(u, { style: { fontSize: "1.5em" } }) })
|
|
56
47
|
]
|
|
57
48
|
}
|
|
58
49
|
);
|
|
59
50
|
export {
|
|
60
|
-
|
|
51
|
+
N as Banner,
|
|
61
52
|
w as BannerColorEnum
|
|
62
53
|
};
|
|
@@ -1,60 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
children: l,
|
|
23
|
-
className: b,
|
|
24
|
-
loading: B,
|
|
25
|
-
ariaLabel: h,
|
|
26
|
-
...c
|
|
27
|
-
}) => B ? /* @__PURE__ */ t(
|
|
28
|
-
f,
|
|
29
|
-
{
|
|
30
|
-
variant: n,
|
|
31
|
-
"aria-busy": !0,
|
|
32
|
-
color: s,
|
|
33
|
-
size: m,
|
|
34
|
-
selected: u,
|
|
35
|
-
href: e,
|
|
36
|
-
className: p(r.button, b),
|
|
37
|
-
...c,
|
|
38
|
-
disabled: !0,
|
|
39
|
-
children: /* @__PURE__ */ t(_, { size: o, children: l || a })
|
|
40
|
-
}
|
|
41
|
-
) : /* @__PURE__ */ x(
|
|
42
|
-
f,
|
|
43
|
-
{
|
|
44
|
-
variant: n,
|
|
45
|
-
color: s,
|
|
46
|
-
size: m,
|
|
47
|
-
ariaLabel: h,
|
|
48
|
-
selected: u,
|
|
49
|
-
href: e,
|
|
50
|
-
className: p(r.button, b),
|
|
51
|
-
...c,
|
|
52
|
-
children: [
|
|
53
|
-
i && /* @__PURE__ */ t(g, { icon: i, size: d || o }),
|
|
54
|
-
/* @__PURE__ */ t(_, { className: r.label, size: o, children: l || a })
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
);
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import { B as m } from "../../button-BB5sYVKY.js";
|
|
4
|
+
import '../../assets/Button.css';const h = "_button_11lhb_1", p = {
|
|
5
|
+
button: h
|
|
6
|
+
}, x = f.forwardRef(function({ as: s = "button", children: r, size: d, icon: i, variant: t, color: e, rounded: u, loading: o, ...a }, c) {
|
|
7
|
+
const b = t === "outline" ? "secondary" : t === "ghost" ? "tertiary" : t, l = a?.disabled || a?.["aria-disabled"] || o;
|
|
8
|
+
return /* @__PURE__ */ n(
|
|
9
|
+
m,
|
|
10
|
+
{
|
|
11
|
+
className: p.button,
|
|
12
|
+
"data-variant": b,
|
|
13
|
+
"data-size": d,
|
|
14
|
+
"data-color": e,
|
|
15
|
+
"data-icon": i,
|
|
16
|
+
"data-rounded": u,
|
|
17
|
+
asChild: !0,
|
|
18
|
+
children: /* @__PURE__ */ n(s, { ...a, ref: c, "aria-busy": o, "aria-disabled": l, children: r })
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
});
|
|
58
22
|
export {
|
|
59
|
-
|
|
23
|
+
x as Button
|
|
60
24
|
};
|
|
@@ -1,30 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import '../../assets/ButtonGroup.css';const
|
|
4
|
-
buttonGroup:
|
|
5
|
-
},
|
|
6
|
-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Button as p } from "./Button.js";
|
|
3
|
+
import '../../assets/ButtonGroup.css';const c = "_buttonGroup_1f7xc_1", e = {
|
|
4
|
+
buttonGroup: c
|
|
5
|
+
}, G = ({ children: t, variant: o, size: n, disabled: r, connected: u, color: s }) => /* @__PURE__ */ a(
|
|
6
|
+
p,
|
|
7
7
|
{
|
|
8
8
|
as: "span",
|
|
9
|
-
className:
|
|
10
|
-
size:
|
|
11
|
-
color:
|
|
9
|
+
className: e.buttonGroup,
|
|
10
|
+
size: n,
|
|
11
|
+
color: s,
|
|
12
12
|
variant: o,
|
|
13
13
|
"data-connected": u,
|
|
14
|
-
"aria-disabled":
|
|
15
|
-
children: t
|
|
16
|
-
}
|
|
17
|
-
) : /* @__PURE__ */ n(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
className: p.buttonGroup,
|
|
21
|
-
"data-size": r,
|
|
22
|
-
"data-variant": o,
|
|
23
|
-
"data-color": a,
|
|
24
|
-
"aria-disabled": s,
|
|
14
|
+
"aria-disabled": r,
|
|
25
15
|
children: t
|
|
26
16
|
}
|
|
27
17
|
);
|
|
28
18
|
export {
|
|
29
|
-
|
|
19
|
+
G as ButtonGroup
|
|
30
20
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import { Button as i } from "./Button.js";
|
|
3
|
+
import '../../assets/ButtonGroupDivider.css';const d = "_divider_1eeu8_1", t = "_border_1eeu8_17", e = {
|
|
3
4
|
divider: d,
|
|
4
|
-
border:
|
|
5
|
-
},
|
|
5
|
+
border: t
|
|
6
|
+
}, a = ({ variant: o }) => /* @__PURE__ */ r(i, { as: "span", color: "inherit", variant: o, "aria-hidden": "true", className: e.divider, children: /* @__PURE__ */ r("span", { className: e.border }) });
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
a as ButtonGroupDivider
|
|
8
9
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as m } from "../../index-p1eeF8LQ.js";
|
|
3
3
|
import { isValidElement as n } from "react";
|
|
4
|
-
import { isIconProps as
|
|
5
|
-
import { isAvatarProps as
|
|
4
|
+
import { isIconProps as i, Icon as o } from "../Icon/Icon.js";
|
|
5
|
+
import { isAvatarProps as c, Avatar as _ } from "../Avatar/Avatar.js";
|
|
6
6
|
import { isAvatarGroupProps as l, AvatarGroup as f } from "../Avatar/AvatarGroup.js";
|
|
7
|
+
import "./Button.js";
|
|
7
8
|
import "../RootProvider/RootProvider.js";
|
|
8
9
|
import "../Snackbar/useSnackbar.js";
|
|
9
10
|
import '../../assets/ButtonIcon.css';const v = "_wrapper_1y1r9_1", u = "_icon_1y1r9_8", y = "_avatar_1y1r9_31", G = "_avatarGroup_1y1r9_35", t = {
|
|
@@ -15,7 +16,7 @@ import '../../assets/ButtonIcon.css';const v = "_wrapper_1y1r9_1", u = "_icon_1y
|
|
|
15
16
|
function N(r) {
|
|
16
17
|
return typeof r == "string" || typeof r == "number" || typeof r == "boolean" || r === null || n(r);
|
|
17
18
|
}
|
|
18
|
-
const
|
|
19
|
+
const h = ({ icon: r, size: s, iconAltText: p, className: e }) => /* @__PURE__ */ a("span", { className: m(t.wrapper, e), "data-size": s, "aria-label": p, children: c(r) && /* @__PURE__ */ a(_, { ...r, className: t.avatar }) || l(r) && /* @__PURE__ */ a(f, { ...r, className: t.avatarGroup }) || i(r) && /* @__PURE__ */ a(o, { ...r, className: t.icon }) || N(r) && r || /* @__PURE__ */ a(o, { svgElement: r, className: t.icon }) });
|
|
19
20
|
export {
|
|
20
|
-
|
|
21
|
+
h as ButtonIcon
|
|
21
22
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as e } from "../../index-p1eeF8LQ.js";
|
|
3
|
-
import '../../assets/ButtonLabel.css';const o = "
|
|
3
|
+
import '../../assets/ButtonLabel.css';const o = "_label_18rn3_1", r = {
|
|
4
4
|
label: o
|
|
5
|
-
}, b = ({ className: a, size: l, children: s }) => /* @__PURE__ */ t("span", { className: e(
|
|
5
|
+
}, b = ({ className: a, size: l, children: s }) => /* @__PURE__ */ t("span", { className: e(r.label, a), "data-size": l, children: s });
|
|
6
6
|
export {
|
|
7
7
|
b as ButtonLabel
|
|
8
8
|
};
|
|
@@ -1,73 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Button as m } from "./Button.js";
|
|
3
|
+
import "../../index-p1eeF8LQ.js";
|
|
3
4
|
import "react";
|
|
4
|
-
import { ButtonBase as s } from "./ButtonBase.js";
|
|
5
|
-
import { ButtonLabel as N } from "./ButtonLabel.js";
|
|
6
|
-
import { ButtonIcon as C } from "./ButtonIcon.js";
|
|
7
5
|
import "../RootProvider/RootProvider.js";
|
|
8
6
|
import "../Snackbar/useSnackbar.js";
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
color: c,
|
|
17
|
-
size: t,
|
|
18
|
-
selected: m = !1,
|
|
19
|
-
icon: n,
|
|
20
|
-
iconSize: d,
|
|
21
|
-
iconAltText: l,
|
|
22
|
-
label: p,
|
|
23
|
-
labelSize: i,
|
|
24
|
-
children: _,
|
|
25
|
-
className: b,
|
|
26
|
-
ariaLabel: u,
|
|
27
|
-
onLabelClick: y,
|
|
28
|
-
onIconClick: h,
|
|
29
|
-
dataTestId: f,
|
|
30
|
-
tabIndex: a = 0,
|
|
31
|
-
disabled: v = !1
|
|
32
|
-
}) => /* @__PURE__ */ B(
|
|
33
|
-
s,
|
|
34
|
-
{
|
|
35
|
-
as: "div",
|
|
36
|
-
size: t,
|
|
37
|
-
variant: e,
|
|
38
|
-
color: c,
|
|
39
|
-
selected: m,
|
|
40
|
-
className: x(r.button, b),
|
|
41
|
-
tabIndex: -1,
|
|
42
|
-
disabled: v,
|
|
43
|
-
children: [
|
|
44
|
-
/* @__PURE__ */ o(
|
|
45
|
-
s,
|
|
46
|
-
{
|
|
47
|
-
ariaLabel: u,
|
|
48
|
-
size: t,
|
|
49
|
-
onClick: y,
|
|
50
|
-
className: r.primary,
|
|
51
|
-
dataTestId: f,
|
|
52
|
-
tabIndex: a,
|
|
53
|
-
children: /* @__PURE__ */ o(N, { size: i, children: _ || p })
|
|
54
|
-
}
|
|
55
|
-
),
|
|
56
|
-
/* @__PURE__ */ o("span", { "data-size": t, className: r.divider }),
|
|
57
|
-
/* @__PURE__ */ o(
|
|
58
|
-
s,
|
|
59
|
-
{
|
|
60
|
-
onClick: h,
|
|
61
|
-
className: r.secondary,
|
|
62
|
-
ariaLabel: l,
|
|
63
|
-
size: d || i,
|
|
64
|
-
tabIndex: a,
|
|
65
|
-
children: n && /* @__PURE__ */ o(C, { icon: n })
|
|
66
|
-
}
|
|
67
|
-
)
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
);
|
|
7
|
+
import { ButtonGroup as c } from "./ButtonGroup.js";
|
|
8
|
+
import { ButtonGroupDivider as f } from "./ButtonGroupDivider.js";
|
|
9
|
+
const l = ({ secondaryButton: p, size: t, variant: o, color: u, disabled: i, ...n }) => /* @__PURE__ */ e(c, { size: t, variant: o, color: u, disabled: i, connected: !0, children: [
|
|
10
|
+
/* @__PURE__ */ r(m, { ...n, variant: o, size: t }),
|
|
11
|
+
/* @__PURE__ */ r(f, { variant: o }),
|
|
12
|
+
/* @__PURE__ */ r(m, { ...p, variant: o, size: t })
|
|
13
|
+
] });
|
|
71
14
|
export {
|
|
72
|
-
|
|
15
|
+
l as ComboButton
|
|
73
16
|
};
|
|
@@ -1,36 +1,31 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Button as l } from "./Button.js";
|
|
3
|
+
import { ButtonIcon as a } from "./ButtonIcon.js";
|
|
2
4
|
import "../../index-p1eeF8LQ.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { ButtonBase as u } from "./ButtonBase.js";
|
|
5
|
-
import { ButtonIcon as l } from "./ButtonIcon.js";
|
|
6
|
-
import "../RootProvider/RootProvider.js";
|
|
7
|
-
import "../Snackbar/useSnackbar.js";
|
|
8
5
|
import '../../assets/FloatingActionButton.css';const c = "_button_1n5nt_1", b = {
|
|
9
6
|
button: c
|
|
10
|
-
},
|
|
7
|
+
}, d = ({
|
|
11
8
|
variant: n = "solid",
|
|
12
9
|
size: r,
|
|
13
10
|
icon: t,
|
|
14
|
-
iconSize:
|
|
15
|
-
iconAltText:
|
|
11
|
+
iconSize: s,
|
|
12
|
+
iconAltText: i,
|
|
16
13
|
color: m,
|
|
17
|
-
onClick:
|
|
18
|
-
|
|
19
|
-
onBlurCapture: p
|
|
14
|
+
onClick: u,
|
|
15
|
+
onBlurCapture: e
|
|
20
16
|
}) => /* @__PURE__ */ o(
|
|
21
|
-
|
|
17
|
+
l,
|
|
22
18
|
{
|
|
23
19
|
className: b.button,
|
|
24
20
|
variant: n,
|
|
25
21
|
color: m,
|
|
26
22
|
size: r,
|
|
27
|
-
onClick:
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
children: t && /* @__PURE__ */ o(l, { icon: t, size: i })
|
|
23
|
+
onClick: u,
|
|
24
|
+
"aria-label": i,
|
|
25
|
+
onBlurCapture: e,
|
|
26
|
+
children: t && /* @__PURE__ */ o(a, { icon: t, size: s })
|
|
32
27
|
}
|
|
33
28
|
);
|
|
34
29
|
export {
|
|
35
|
-
|
|
30
|
+
d as FloatingActionButton
|
|
36
31
|
};
|
|
@@ -1,39 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Button as m } from "./Button.js";
|
|
2
3
|
import "../../index-p1eeF8LQ.js";
|
|
3
4
|
import "react";
|
|
4
|
-
import { ButtonBase as u } from "./ButtonBase.js";
|
|
5
|
-
import { ButtonIcon as B } from "./ButtonIcon.js";
|
|
6
5
|
import "../RootProvider/RootProvider.js";
|
|
7
6
|
import "../Snackbar/useSnackbar.js";
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
size: m,
|
|
12
|
-
icon: t,
|
|
13
|
-
iconSize: e,
|
|
14
|
-
iconAltText: p,
|
|
15
|
-
color: a,
|
|
16
|
-
className: n,
|
|
17
|
-
selected: s,
|
|
18
|
-
onClick: l,
|
|
19
|
-
dataTestId: d,
|
|
20
|
-
onBlurCapture: f
|
|
21
|
-
}) => /* @__PURE__ */ o(
|
|
22
|
-
u,
|
|
23
|
-
{
|
|
24
|
-
variant: r,
|
|
25
|
-
rounded: i,
|
|
26
|
-
color: a,
|
|
27
|
-
size: m,
|
|
28
|
-
className: n,
|
|
29
|
-
onClick: l,
|
|
30
|
-
selected: s,
|
|
31
|
-
"data-testid": d,
|
|
32
|
-
"aria-label": p,
|
|
33
|
-
onBlurCapture: f,
|
|
34
|
-
children: t && /* @__PURE__ */ o(B, { icon: t, size: e })
|
|
35
|
-
}
|
|
36
|
-
);
|
|
7
|
+
import '../../assets/IconButton.css';const u = "_button_z82uk_1", i = {
|
|
8
|
+
button: u
|
|
9
|
+
}, l = ({ children: t, label: o, ...r }) => /* @__PURE__ */ n(m, { ...r, className: i.button, icon: !0, "aria-label": o, children: t });
|
|
37
10
|
export {
|
|
38
|
-
|
|
11
|
+
l as IconButton
|
|
39
12
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { Button as r } from "./Button.js";
|
|
2
|
+
import { ButtonIcon as e } from "./ButtonIcon.js";
|
|
3
|
+
import { ButtonLabel as u } from "./ButtonLabel.js";
|
|
4
|
+
import { ButtonGroup as f } from "./ButtonGroup.js";
|
|
5
|
+
import { ButtonGroupDivider as B } from "./ButtonGroupDivider.js";
|
|
6
|
+
import { ComboButton as c } from "./ComboButton.js";
|
|
7
|
+
import { IconButton as b } from "./IconButton.js";
|
|
8
|
+
import { FloatingActionButton as G } from "./FloatingActionButton.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
r as Button,
|
|
11
|
+
f as ButtonGroup,
|
|
12
|
+
B as ButtonGroupDivider,
|
|
13
|
+
e as ButtonIcon,
|
|
14
|
+
u as ButtonLabel,
|
|
15
|
+
c as ComboButton,
|
|
16
|
+
G as FloatingActionButton,
|
|
17
|
+
b as IconButton
|
|
18
18
|
};
|