@pismo/marola 1.1.22 → 2.0.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/{Button-BAljjMv3.js → Button-cCziLrIy.js} +2 -2
- package/dist/{ClickAwayListener-DbEYZpyh.js → ClickAwayListener-CUayzVlD.js} +3 -3
- package/dist/Dialog.module-BtKUNFVu.js +13 -0
- package/dist/{Group-BKXO7GzU.js → Group-Cyc1W1kV.js} +1 -1
- package/dist/{Popup-Ck3XlWMq.js → Popup-C7AXLoP0.js} +5 -7
- package/dist/{Portal-oY3enyAm.js → Portal-CYV5TK_i.js} +2 -2
- package/dist/SelectButton-k61YYjLu.js +58 -0
- package/dist/Tabs.module-DyJgAZt8.js +28 -0
- package/dist/{Toggle-Bkf8bKbA.js → Toggle-DEVeyo2f.js} +3 -3
- package/dist/assets/Tabs.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/{combineHooksSlotProps-C-zYvfnF.js → combineHooksSlotProps-BCXoX9Nx.js} +20 -21
- package/dist/components/Adornment/Adornment.d.ts +2 -3
- package/dist/components/Adornment/Adornment.js +1 -1
- package/dist/components/Adornment/Adornment.stories.d.ts +0 -1
- package/dist/components/Advice/Advice.d.ts +2 -3
- package/dist/components/Advice/Advice.js +1 -1
- package/dist/components/Advice/Advice.stories.d.ts +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -1
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/Alert.stories.d.ts +0 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts +1 -2
- package/dist/components/Autocomplete/Autocomplete.js +282 -298
- package/dist/components/Autocomplete/Autocomplete.stories.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +0 -1
- package/dist/components/Avatar/Avatar.js +1 -1
- package/dist/components/Avatar/Avatar.stories.d.ts +0 -1
- package/dist/components/Badge/Badge.d.ts +0 -1
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Badge/Badge.stories.d.ts +1 -2
- package/dist/components/BankCard/BankCard.js +1 -1
- package/dist/components/BankCard/BankCard.stories.d.ts +0 -1
- package/dist/components/Button/Button.d.ts +2 -3
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Button/Button.stories.d.ts +1 -2
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/Calendar/Calendar.stories.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -1
- package/dist/components/Chip/Chip.d.ts +1 -2
- package/dist/components/Chip/Chip.js +4 -4
- package/dist/components/Chip/Chip.stories.d.ts +0 -1
- package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -1
- package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +1 -2
- package/dist/components/Description/Description.d.ts +0 -1
- package/dist/components/Description/Description.js +27 -42
- package/dist/components/Description/Description.stories.d.ts +0 -1
- package/dist/components/Dialog/Actions.d.ts +0 -1
- package/dist/components/Dialog/Actions.js +1 -1
- package/dist/components/Dialog/Backdrop.d.ts +0 -1
- package/dist/components/Dialog/Backdrop.js +2 -2
- package/dist/components/Dialog/CloseIconButton.js +2 -2
- package/dist/components/Dialog/Content.d.ts +0 -1
- package/dist/components/Dialog/Dialog.d.ts +5 -6
- package/dist/components/Dialog/Dialog.js +6 -6
- package/dist/components/Dialog/Dialog.stories.d.ts +0 -1
- package/dist/components/Dialog/DialogTitle.d.ts +1 -2
- package/dist/components/Dialog/DialogTitle.js +1 -1
- package/dist/components/EllipsisTooltip/EllipsisTooltip.d.ts +0 -1
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +1 -1
- package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +9 -5
- package/dist/components/Icon/Icon.d.ts +0 -1
- package/dist/components/Icon/Icon.stories.d.ts +1 -2
- package/dist/components/IconButton/Icon.stories.d.ts +0 -1
- package/dist/components/IconButton/IconButton.d.ts +1 -2
- package/dist/components/IconButton/IconButton.js +2 -2
- package/dist/components/Input/Input.d.ts +0 -1
- package/dist/components/Input/Input.js +259 -274
- package/dist/components/Input/Input.stories.d.ts +0 -1
- package/dist/components/InputSearch/InputSearch.d.ts +0 -1
- package/dist/components/InputSearch/InputSearch.js +1 -1
- package/dist/components/InputSearch/InputSearch.stories.d.ts +0 -1
- package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -1
- package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +0 -1
- package/dist/components/PageHeader/PageHeader.d.ts +1 -2
- package/dist/components/PageHeader/PageHeader.js +65 -80
- package/dist/components/PageHeader/PageHeader.stories.d.ts +0 -1
- package/dist/components/Pagination/Pagination.d.ts +0 -1
- package/dist/components/Pagination/Pagination.js +43 -58
- package/dist/components/Pagination/Pagination.stories.d.ts +1 -2
- package/dist/components/Popover/Popover.d.ts +0 -1
- package/dist/components/Popover/Popover.js +3 -3
- package/dist/components/Popover/Popover.stories.d.ts +1 -2
- package/dist/components/RadioButton/RadioButton.js +1 -1
- package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -1
- package/dist/components/ResultWithChips/ResultWithChips.d.ts +0 -1
- package/dist/components/ResultWithChips/ResultWithChips.js +1 -1
- package/dist/components/RowItem/RowItem.d.ts +2 -3
- package/dist/components/RowItem/RowItem.js +3 -3
- package/dist/components/RowItem/RowItem.stories.d.ts +0 -1
- package/dist/components/Select/Select.d.ts +0 -1
- package/dist/components/Select/Select.js +21 -21
- package/dist/components/Select/Select.stories.d.ts +1 -2
- package/dist/components/Select/SelectButton.d.ts +0 -1
- package/dist/components/Select/SelectButton.js +2 -2
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -1
- package/dist/components/Skeleton/SkeletonCircle.stories.d.ts +0 -1
- package/dist/components/Skeleton/SkeletonTable.stories.d.ts +0 -1
- package/dist/components/Snackbar/Snackbar.d.ts +0 -1
- package/dist/components/Snackbar/Snackbar.js +7 -8
- package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -2
- package/dist/components/SortTooltip/SortTooltip.d.ts +0 -1
- package/dist/components/SortTooltip/SortTooltip.js +34 -51
- package/dist/components/Stepper/Stepper.d.ts +0 -1
- package/dist/components/Stepper/Stepper.js +19 -34
- package/dist/components/Stepper/Stepper.stories.d.ts +1 -2
- package/dist/components/StepperNavigator/StepperNavigator.js +1 -1
- package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +0 -1
- package/dist/components/Table/Table.d.ts +3 -4
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.stories.d.ts +0 -1
- package/dist/components/Table/TableContext.d.ts +2 -3
- package/dist/components/Table/TableContext.js +4 -4
- package/dist/components/Table/_Table.TBody.stories.d.ts +1 -2
- package/dist/components/Table/_Table.THead.stories.d.ts +1 -2
- package/dist/components/Table/_Table.Td.stories.d.ts +1 -2
- package/dist/components/Table/_Table.Th.stories.d.ts +1 -2
- package/dist/components/Table/_Table.Tr.stories.d.ts +1 -2
- package/dist/components/Tabs/Tab.d.ts +4 -2
- package/dist/components/Tabs/Tab.js +102 -100
- package/dist/components/Tabs/Tab.stories.d.ts +3 -2
- package/dist/components/Tabs/TabPanel.d.ts +0 -1
- package/dist/components/Tabs/TabPanel.js +3 -3
- package/dist/components/Tabs/TabPanel.stories.d.ts +1 -2
- package/dist/components/Tabs/Tabs.d.ts +0 -1
- package/dist/components/Tabs/Tabs.js +5 -5
- package/dist/components/Tabs/Tabs.stories.d.ts +2 -2
- package/dist/components/Tag/Tag.d.ts +0 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.stories.d.ts +1 -2
- package/dist/components/TextDisplay/TextDisplay.d.ts +1 -2
- package/dist/components/TextDisplay/TextDisplay.js +1 -1
- package/dist/components/TextDisplay/TextDisplay.stories.d.ts +0 -1
- package/dist/components/ToastCard/ToastCard.d.ts +0 -1
- package/dist/components/ToastCard/ToastCard.js +1 -1
- package/dist/components/ToastCard/ToastCard.stories.d.ts +0 -1
- package/dist/components/Toggle/Toggle.d.ts +0 -1
- package/dist/components/Toggle/Toggle.js +102 -117
- package/dist/components/Toggle/Toggle.stories.d.ts +0 -1
- package/dist/components/ToggleGroup/Group.d.ts +1 -2
- package/dist/components/ToggleGroup/Group.js +2 -2
- package/dist/components/ToggleGroup/Toggle.js +3 -3
- package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +2 -3
- package/dist/components/Tooltip/Tooltip.d.ts +13 -9
- package/dist/components/Tooltip/Tooltip.js +146 -105
- package/dist/components/Tooltip/Tooltip.stories.d.ts +18 -10
- package/dist/components/Tooltip/Tooltip.test.d.ts +1 -0
- package/dist/components/TransactionRow/TransactionRow.d.ts +0 -1
- package/dist/components/TransactionRow/TransactionRow.stories.d.ts +0 -1
- package/dist/components/Typography/Typography.d.ts +0 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/Typography.stories.d.ts +0 -1
- package/dist/contexts/SnackbarProvider/SnackbarProvider.d.ts +0 -1
- package/dist/contexts/SnackbarProvider/SnackbarProvider.js +5 -5
- package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +1 -2
- package/dist/{index-bQFToy-I.js → index-CATDT7fJ.js} +7927 -8368
- package/dist/main.js +2 -2
- package/dist/{ownerDocument-YGhwAnr1.js → ownerDocument-CAHSRRik.js} +1 -1
- package/dist/{useButton-DcihopJG.js → useButton-eF8MXAli.js} +1 -1
- package/dist/{useList-B9C55YB7.js → useList-CPY2roI7.js} +3 -4
- package/dist/{useSlotProps-C_I1kEHr.js → useSlotProps-DSnfx453.js} +123 -126
- package/dist/utils/inputNumberAsText.d.ts +0 -1
- package/dist/utils/inputNumberAsText.js +2 -4
- package/dist/utils/styleStrings.d.ts +0 -1
- package/package.json +1 -1
- package/dist/Dialog.module-CE1Q-5tJ.js +0 -28
- package/dist/SelectButton-DbiTJagF.js +0 -74
- package/dist/Tabs.module-ia-imLti.js +0 -25
- package/dist/clsx-DB4S2d7J.js +0 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as T, a as _, _ as x, b as i, c as B,
|
|
1
|
+
import { g as T, a as _, _ as x, b as i, c as B, d as O, e as D, P as e } from "./useSlotProps-DSnfx453.js";
|
|
2
2
|
import * as c from "react";
|
|
3
3
|
import { jsx as F } from "react/jsx-runtime";
|
|
4
|
-
import { u as S } from "./useButton-
|
|
4
|
+
import { u as S } from "./useButton-eF8MXAli.js";
|
|
5
5
|
const m = "Button";
|
|
6
6
|
function U(s) {
|
|
7
7
|
return T(m, s);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
import { u as C, P as f } from "./useSlotProps-
|
|
2
|
+
import { u as C, P as f } from "./useSlotProps-DSnfx453.js";
|
|
3
3
|
import { jsx as w } from "react/jsx-runtime";
|
|
4
4
|
import { u as L } from "./useEventCallback-BAQJJ3ye.js";
|
|
5
|
-
import { o as h, e as b } from "./ownerDocument-
|
|
6
|
-
import { e as g } from "./index-
|
|
5
|
+
import { o as h, e as b } from "./ownerDocument-CAHSRRik.js";
|
|
6
|
+
import { e as g } from "./index-CATDT7fJ.js";
|
|
7
7
|
function T(c) {
|
|
8
8
|
return c.substring(2).toLowerCase();
|
|
9
9
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './assets/Dialog.css';const _ = "_dialog_1jup2_78", o = "_dialog__backdrop_1jup2_88", i = "_dialog__panel_1jup2_96", l = "_dialog__title_1jup2_112", a = "_dialog__subtitle_1jup2_118", d = "_dialog__divider_1jup2_121", t = "_dialog__actions_1jup2_136", g = {
|
|
2
|
+
dialog: _,
|
|
3
|
+
dialog__backdrop: o,
|
|
4
|
+
dialog__panel: i,
|
|
5
|
+
dialog__title: l,
|
|
6
|
+
dialog__subtitle: a,
|
|
7
|
+
dialog__divider: d,
|
|
8
|
+
"dialog__close-icon": "_dialog__close-icon_1jup2_126",
|
|
9
|
+
dialog__actions: t
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
g as s
|
|
13
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as n } from "react";
|
|
3
|
-
import { c } from "./clsx-
|
|
3
|
+
import { c } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
import { Icon as f } from "./components/Icon/Icon.js";
|
|
5
5
|
import { Typography as p } from "./components/Typography/Typography.js";
|
|
6
6
|
import './assets/Group.css';const m = "_toggle__input_1fdw4_1", u = "_toggle__label_1fdw4_11", t = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as jt, a as zt, _ as It, u as Ut, b as ut, c as Xt,
|
|
1
|
+
import { g as jt, a as zt, _ as It, u as Ut, b as ut, c as Xt, d as Yt, e as Kt, P as x } from "./useSlotProps-DSnfx453.js";
|
|
2
2
|
import * as b from "react";
|
|
3
3
|
import { useLayoutEffect as Gt, useEffect as Jt } from "react";
|
|
4
|
-
import { r as Qt } from "./index-
|
|
4
|
+
import { r as Qt } from "./index-CATDT7fJ.js";
|
|
5
5
|
import { jsx as Z } from "react/jsx-runtime";
|
|
6
6
|
import { u as Zt } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
7
|
-
import { P as qt, H as gt } from "./Portal-
|
|
7
|
+
import { P as qt, H as gt } from "./Portal-CYV5TK_i.js";
|
|
8
8
|
const et = Math.min, z = Math.max, nt = Math.round, q = Math.floor, H = (t) => ({
|
|
9
9
|
x: t,
|
|
10
10
|
y: t
|
|
@@ -739,8 +739,7 @@ function Oe(t, e, o) {
|
|
|
739
739
|
if (($(e) !== "body" || Q(i)) && (c = at(e)), n) {
|
|
740
740
|
const u = U(e, !0, s, e);
|
|
741
741
|
l.x = u.x + e.clientLeft, l.y = u.y + e.clientTop;
|
|
742
|
-
} else
|
|
743
|
-
i && (l.x = Nt(i));
|
|
742
|
+
} else i && (l.x = Nt(i));
|
|
744
743
|
const f = r.left + c.scrollLeft - l.x, a = r.top + c.scrollTop - l.y;
|
|
745
744
|
return {
|
|
746
745
|
x: f,
|
|
@@ -894,8 +893,7 @@ function rt(t, e) {
|
|
|
894
893
|
let o, n, i;
|
|
895
894
|
if (t && e && typeof t == "object") {
|
|
896
895
|
if (Array.isArray(t)) {
|
|
897
|
-
if (o = t.length, o !== e.length)
|
|
898
|
-
return !1;
|
|
896
|
+
if (o = t.length, o !== e.length) return !1;
|
|
899
897
|
for (n = o; n-- !== 0; )
|
|
900
898
|
if (!rt(t[n], e[n]))
|
|
901
899
|
return !1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
|
-
import { r as P, e as y } from "./index-
|
|
3
|
-
import { u as T, s as a, P as i } from "./useSlotProps-
|
|
2
|
+
import { r as P, e as y } from "./index-CATDT7fJ.js";
|
|
3
|
+
import { u as T, s as a, P as i } from "./useSlotProps-DSnfx453.js";
|
|
4
4
|
import { jsx as c } from "react/jsx-runtime";
|
|
5
5
|
import { u as f } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
6
6
|
function N(t, l, s, n, u) {
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x } from "react";
|
|
3
|
+
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
import { Icon as n } from "./components/Icon/Icon.js";
|
|
5
|
+
import { Typography as i } from "./components/Typography/Typography.js";
|
|
6
|
+
import './assets/SelectButton.css';const f = "_select__listbox__option__text_13h6t_65", w = "_select__wrapper_13h6t_78", g = "_select__label_13h6t_84", v = "_select_13h6t_57", y = "_select__popup_13h6t_99", N = "_select__listbox_13h6t_65", S = "_select__listbox__option_13h6t_65", j = "_select__listbox__option__icon_13h6t_129", t = {
|
|
7
|
+
"select-button__text": "_select-button__text_13h6t_57",
|
|
8
|
+
select__listbox__option__text: f,
|
|
9
|
+
select__wrapper: w,
|
|
10
|
+
"select__wrapper--fit-content-width": "_select__wrapper--fit-content-width_13h6t_81",
|
|
11
|
+
select__label: g,
|
|
12
|
+
"messages-wrapper": "_messages-wrapper_13h6t_92",
|
|
13
|
+
select: v,
|
|
14
|
+
select__popup: y,
|
|
15
|
+
select__listbox: N,
|
|
16
|
+
select__listbox__option: S,
|
|
17
|
+
select__listbox__option__icon: j,
|
|
18
|
+
"select__listbox__option--disabled": "_select__listbox__option--disabled_13h6t_132",
|
|
19
|
+
"select__listbox__option--selected": "_select__listbox__option--selected_13h6t_132",
|
|
20
|
+
"select-button": "_select-button_13h6t_57",
|
|
21
|
+
"select-button--full-width": "_select-button--full-width_13h6t_167",
|
|
22
|
+
"select-button--placeholder": "_select-button--placeholder_13h6t_170",
|
|
23
|
+
"select-button__icon": "_select-button__icon_13h6t_188",
|
|
24
|
+
"select-button--active": "_select-button--active_13h6t_191",
|
|
25
|
+
"select-button--error": "_select-button--error_13h6t_194",
|
|
26
|
+
"info-message": "_info-message_13h6t_223",
|
|
27
|
+
"error-message": "_error-message_13h6t_224"
|
|
28
|
+
}, R = x((_, r) => {
|
|
29
|
+
const { children: s, disabled: a, className: p, "data-testid": b, prefix: o, onClick: h, fullWidth: d, placeholder: u } = _, l = _["aria-expanded"];
|
|
30
|
+
return /* @__PURE__ */ c(
|
|
31
|
+
"button",
|
|
32
|
+
{
|
|
33
|
+
className: m(
|
|
34
|
+
p,
|
|
35
|
+
l ? t["select-button--active"] : "",
|
|
36
|
+
t["select-button"],
|
|
37
|
+
d && t["select-button--full-width"],
|
|
38
|
+
String(u) === String(s) && t["select-button--placeholder"]
|
|
39
|
+
),
|
|
40
|
+
type: "button",
|
|
41
|
+
onClick: h,
|
|
42
|
+
disabled: a,
|
|
43
|
+
"data-testid": b,
|
|
44
|
+
ref: r,
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ c("span", { className: t["select-button__text"], children: [
|
|
47
|
+
o && /* @__PURE__ */ e(i, { variant: "base-lg", children: o }),
|
|
48
|
+
/* @__PURE__ */ e(i, { variant: "base-lg", children: s })
|
|
49
|
+
] }),
|
|
50
|
+
/* @__PURE__ */ e("span", { className: t["select-button__icon"], children: l ? /* @__PURE__ */ e(n, { icon: "chevron-up" }) : /* @__PURE__ */ e(n, { icon: "chevron-down" }) })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
R as S,
|
|
57
|
+
t as s
|
|
58
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as _ from "react";
|
|
2
|
+
import './assets/Tabs.css';const a = /* @__PURE__ */ _.createContext(null);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (a.displayName = "TabsContext");
|
|
4
|
+
function e() {
|
|
5
|
+
const t = _.useContext(a);
|
|
6
|
+
if (t == null)
|
|
7
|
+
throw new Error("No TabsContext provided");
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
const s = "_tabs_1kehz_1", b = "_tabs__tab_1kehz_5", i = {
|
|
11
|
+
tabs: s,
|
|
12
|
+
tabs__tab: b,
|
|
13
|
+
"tabs__tab--disabled": "_tabs__tab--disabled_1kehz_23",
|
|
14
|
+
"tabs__tab--selected": "_tabs__tab--selected_1kehz_32",
|
|
15
|
+
"tabs__tab--chip": "_tabs__tab--chip_1kehz_36",
|
|
16
|
+
"tabs__tab--chip--disabled": "_tabs__tab--chip--disabled_1kehz_64",
|
|
17
|
+
"tabs__tab-panel": "_tabs__tab-panel_1kehz_74",
|
|
18
|
+
"tabs__tab-icon": "_tabs__tab-icon_1kehz_78",
|
|
19
|
+
"tabs__tab-indicative": "_tabs__tab-indicative_1kehz_83",
|
|
20
|
+
"tabs__tab-indicative--empty": "_tabs__tab-indicative--empty_1kehz_86",
|
|
21
|
+
"tabs__tab-indicative--success": "_tabs__tab-indicative--success_1kehz_101",
|
|
22
|
+
"tabs__tab-content": "_tabs__tab-content_1kehz_115"
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
a as T,
|
|
26
|
+
i as s,
|
|
27
|
+
e as u
|
|
28
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as u } from "react";
|
|
3
|
-
import { c as l } from "./clsx-
|
|
3
|
+
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
import { Icon as C } from "./components/Icon/Icon.js";
|
|
5
5
|
import { Typography as N } from "./components/Typography/Typography.js";
|
|
6
6
|
import "./components/Input/Input.js";
|
|
@@ -15,9 +15,9 @@ import "./components/Select/Select.js";
|
|
|
15
15
|
import "./components/Popover/Popover.js";
|
|
16
16
|
import "./components/Table/Table.js";
|
|
17
17
|
import "./components/Tabs/Tabs.js";
|
|
18
|
-
import { s as y } from "./Group-
|
|
18
|
+
import { s as y } from "./Group-Cyc1W1kV.js";
|
|
19
19
|
import "./contexts/SnackbarProvider/SnackbarProvider.js";
|
|
20
|
-
import { B as x } from "./Button-
|
|
20
|
+
import { B as x } from "./Button-cCziLrIy.js";
|
|
21
21
|
import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_1wvod_116", z = "_chip__remove_1wvod_121", n = {
|
|
22
22
|
"u-typography-h1": "_u-typography-h1_1wvod_1",
|
|
23
23
|
"u-typography-h2": "_u-typography-h2_1wvod_8",
|
package/dist/assets/Tabs.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tabs_1kehz_1{gap:8px;width:100%}._tabs__tab_1kehz_5{min-width:94px;height:48px;padding:0 4px;color:var(--gray-75);cursor:pointer;background-color:transparent;border:none;border-bottom:2px solid transparent}._tabs__tab_1kehz_5:hover{color:var(--hover);border-bottom:2px solid var(--hover)}._tabs__tab_1kehz_5:active{color:var(--active);border-bottom:2px solid var(--active)}._tabs__tab--disabled_1kehz_23{color:#00000040;cursor:default;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--disabled_1kehz_23:focus,._tabs__tab--disabled_1kehz_23:active,._tabs__tab--disabled_1kehz_23:hover{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--selected_1kehz_32{color:var(--accent);border-bottom:2px solid var(--accent)}._tabs__tab--selected_1kehz_32._tabs__tab--chip_1kehz_36{color:var(--accent);border-color:var(--accent)}._tabs__tab--chip_1kehz_36{display:flex;align-items:center;justify-content:center;min-width:auto;height:32px;padding:0 15px;font-size:.875rem;font-weight:var(--base-bold);line-height:22px;color:var(--gray-95);background-color:transparent;border:1px solid var(--border);border-radius:var(--border-radius)}._tabs__tab--chip_1kehz_36:hover{color:var(--hover);border-color:var(--hover);border-bottom:1px solid var(--hover)}._tabs__tab--chip_1kehz_36:active{color:var(--active);border-color:var(--active)}._tabs__tab--chip--disabled_1kehz_64{color:#00000040;cursor:default;border:1px solid rgba(0,0,0,.25)}._tabs__tab--chip--disabled_1kehz_64:focus,._tabs__tab--chip--disabled_1kehz_64:active,._tabs__tab--chip--disabled_1kehz_64:hover{color:#00000040;background-color:transparent;border:1px solid rgba(0,0,0,.25)}._tabs__tab-panel_1kehz_74{width:100%;margin-top:16px}._tabs__tab-icon_1kehz_78{width:16px;height:16px;margin-right:4px}._tabs__tab-indicative_1kehz_83{margin-right:.5rem}._tabs__tab-indicative--empty_1kehz_86{position:relative;display:inline-flex;width:.5rem;height:.5rem;margin-right:.6rem}._tabs__tab-indicative--empty_1kehz_86>*{position:absolute;top:0;left:0;width:100%;height:100%;transform:scale(1.2)}._tabs__tab-indicative--success_1kehz_101{display:inline-flex;align-items:center;width:.5rem;height:.5rem}._tabs__tab-indicative--success_1kehz_101:before{display:inline-flex;width:.5rem;height:.5rem;content:" ";background-color:var(--green-6);border-radius:100%}._tabs__tab-content_1kehz_115{display:flex;align-items:center;justify-content:center;width:100%}
|
package/dist/assets/Tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._u-typography-h1_f9rcp_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_f9rcp_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_f9rcp_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_f9rcp_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_f9rcp_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_f9rcp_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_f9rcp_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_f9rcp_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_f9rcp_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_f9rcp_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_f9rcp_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_f9rcp_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_f9rcp_68{text-decoration:line-through}._u-typography-base--underlined_f9rcp_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_f9rcp_74{text-decoration:underline line-through}._tooltip_f9rcp_79{position:relative;max-width:16.125rem;padding:.75rem;margin:.375rem;color:var(--white-100);background-color:#003e80;border-radius:var(--border-radius);box-shadow:0 6px 12px #0003}._tooltip_f9rcp_79:after{position:absolute;width:0;height:0;content:"";border-style:solid}._tooltip--bottom_f9rcp_96:after{bottom:100%;left:50%;border-color:transparent transparent #003e80 transparent;border-width:0 8px 8px;transform:translate(-50%)}._tooltip--top_f9rcp_103:after{top:100%;left:50%;border-color:#003e80 transparent transparent transparent;border-width:8px 8px 0;transform:translate(-50%)}._tooltip--right_f9rcp_110:after{top:50%;right:100%;border-color:transparent #003e80 transparent transparent;border-width:8px 8px 8px 0;transform:translateY(-50%)}._tooltip--left_f9rcp_117:after{top:50%;left:100%;border-color:transparent transparent transparent #003e80;border-width:8px 0 8px 8px;transform:translateY(-50%)}._tooltip__container_f9rcp_125{display:flex;flex-direction:column;gap:.25rem}._tooltip__title_f9rcp_131{font-size:var(--base-font-size-lg);font-size:1rem;font-weight:var(--base-bold);line-height:var(--base-line-height-lg)}._tooltip__content_f9rcp_138{flex-grow:1;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._tooltip__footer_f9rcp_145{padding-top:.75rem}._tooltip__footer-button_f9rcp_149{width:100%;padding:.5rem;font-size:var(--base-font-size);font-weight:var(--base-bold);color:var(--white-100);text-align:center;cursor:pointer;background-color:inherit;border:1px solid var(--white-100);border-radius:var(--border-radius)}._tooltip__footer-button_f9rcp_149:hover{background-color:#ffffff1a}._tooltip__footer-button_f9rcp_149:focus{outline:none;box-shadow:0 0 0 2px #ffffff80}._tooltip__footer-link_f9rcp_169{width:100%;padding:.5rem 0;font-size:1rem;font-weight:var(--font-weight-700);color:#fff;text-align:left;text-decoration:none;cursor:pointer}._s--animation_f9rcp_180._tooltip--anim-open_f9rcp_180{animation:_tooltip--open-animation_f9rcp_1 .3s ease-out both}._s--animation_f9rcp_180._tooltip--anim-close_f9rcp_183{animation:_tooltip--close-animation_f9rcp_1 .3s ease-out forwards}@keyframes _tooltip--open-animation_f9rcp_1{0%{opacity:0;transform:translateY(-8px) scale(.95)}50%{opacity:1;transform:translateY(4px) scale(1.05)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes _tooltip--close-animation_f9rcp_1{0%{filter:blur(0);opacity:1;transform:scale(1) rotate(0)}to{filter:blur(3px);opacity:0;transform:scale(1.2) rotate(4deg)}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function a(r) {
|
|
2
|
+
var f, n, t = "";
|
|
3
|
+
if (typeof r == "string" || typeof r == "number") t += r;
|
|
4
|
+
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
5
|
+
var o = r.length;
|
|
6
|
+
for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
|
|
7
|
+
} else for (n in r) r[n] && (t && (t += " "), t += n);
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
function i() {
|
|
11
|
+
for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
i as c
|
|
16
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { f as E, b as
|
|
1
|
+
import { f as E, b as c } from "./useSlotProps-DSnfx453.js";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
const
|
|
3
|
+
const m = {
|
|
4
4
|
blur: "list:blur",
|
|
5
|
-
focus: "list:focus",
|
|
6
5
|
itemClick: "list:itemClick",
|
|
7
6
|
itemHover: "list:itemHover",
|
|
8
7
|
itemsChange: "list:itemsChange",
|
|
@@ -11,30 +10,30 @@ const f = {
|
|
|
11
10
|
highlightLast: "list:highlightLast",
|
|
12
11
|
textNavigation: "list:textNavigation",
|
|
13
12
|
clearSelection: "list:clearSelection"
|
|
14
|
-
},
|
|
15
|
-
process.env.NODE_ENV !== "production" && (
|
|
13
|
+
}, f = /* @__PURE__ */ r.createContext(null);
|
|
14
|
+
process.env.NODE_ENV !== "production" && (f.displayName = "ListContext");
|
|
16
15
|
function b(l) {
|
|
17
16
|
const {
|
|
18
|
-
handlePointerOverEvents:
|
|
17
|
+
handlePointerOverEvents: a = !1,
|
|
19
18
|
item: t
|
|
20
|
-
} = l, s = r.useContext(
|
|
19
|
+
} = l, s = r.useContext(f);
|
|
21
20
|
if (!s)
|
|
22
21
|
throw new Error("useListItem must be used within a ListProvider");
|
|
23
22
|
const {
|
|
24
23
|
dispatch: n,
|
|
25
|
-
getItemState:
|
|
24
|
+
getItemState: d
|
|
26
25
|
} = s, {
|
|
27
|
-
highlighted:
|
|
26
|
+
highlighted: u,
|
|
28
27
|
selected: p,
|
|
29
28
|
focusable: g
|
|
30
|
-
} =
|
|
29
|
+
} = d(t), v = r.useCallback((i) => (e) => {
|
|
31
30
|
var o;
|
|
32
31
|
if ((o = i.onClick) == null || o.call(i, e), !e.defaultPrevented) {
|
|
33
32
|
if (process.env.NODE_ENV !== "production" && t === void 0)
|
|
34
33
|
throw new Error(["MUI: The `item` provided to useListItem() is undefined.", "This should happen only during server-side rendering under React 17."].join(`
|
|
35
34
|
`));
|
|
36
35
|
n({
|
|
37
|
-
type:
|
|
36
|
+
type: m.itemClick,
|
|
38
37
|
item: t,
|
|
39
38
|
event: e
|
|
40
39
|
});
|
|
@@ -46,35 +45,35 @@ function b(l) {
|
|
|
46
45
|
throw new Error(["MUI: The `item` provided to useListItem() is undefined.", "This should happen only during server-side rendering under React 17."].join(`
|
|
47
46
|
`));
|
|
48
47
|
n({
|
|
49
|
-
type:
|
|
48
|
+
type: m.itemHover,
|
|
50
49
|
item: t,
|
|
51
50
|
event: e
|
|
52
51
|
});
|
|
53
52
|
}
|
|
54
53
|
}, [n, t]);
|
|
55
54
|
let h;
|
|
56
|
-
return g && (h =
|
|
55
|
+
return g && (h = u ? 0 : -1), {
|
|
57
56
|
getRootProps: (i = {}) => {
|
|
58
57
|
const e = E(i);
|
|
59
|
-
return
|
|
58
|
+
return c({}, i, {
|
|
60
59
|
onClick: v(e),
|
|
61
|
-
onPointerOver:
|
|
60
|
+
onPointerOver: a ? C(e) : void 0,
|
|
62
61
|
tabIndex: h
|
|
63
62
|
});
|
|
64
63
|
},
|
|
65
|
-
highlighted:
|
|
64
|
+
highlighted: u,
|
|
66
65
|
selected: p
|
|
67
66
|
};
|
|
68
67
|
}
|
|
69
|
-
function x(l,
|
|
68
|
+
function x(l, a) {
|
|
70
69
|
return function(s = {}) {
|
|
71
|
-
const n =
|
|
72
|
-
return
|
|
70
|
+
const n = c({}, s, l(s));
|
|
71
|
+
return c({}, n, a(n));
|
|
73
72
|
};
|
|
74
73
|
}
|
|
75
74
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
m as L,
|
|
76
|
+
f as a,
|
|
78
77
|
x as c,
|
|
79
78
|
b as u
|
|
80
79
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { IconProps } from '../Icon/Icon.tsx';
|
|
2
|
-
import { Either } from '../../types/helpers';
|
|
3
1
|
import { ReactNode } from 'react';
|
|
4
|
-
|
|
2
|
+
import { Either } from '../../types/helpers';
|
|
3
|
+
import { IconProps } from '../Icon/Icon.tsx';
|
|
5
4
|
export type AdornmentSlotProps = {
|
|
6
5
|
/** Any additional classes to apply to the adornment */
|
|
7
6
|
className?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../../clsx-
|
|
2
|
+
import { c } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { Icon as d } from "../Icon/Icon.js";
|
|
4
4
|
import '../../assets/Adornment.css';const l = "_adornment_1bwrg_1", i = {
|
|
5
5
|
adornment: l
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { TypographyProps } from '../Typography/Typography';
|
|
2
|
-
import { IconProps } from '../Icon/Icon';
|
|
3
1
|
import { ReactNode } from 'react';
|
|
4
|
-
|
|
2
|
+
import { IconProps } from '../Icon/Icon';
|
|
3
|
+
import { TypographyProps } from '../Typography/Typography';
|
|
5
4
|
export type AdviceType = 'without-results' | 'no-permission' | 'no-items' | 'error-page';
|
|
6
5
|
type AdviceCommonProps = {
|
|
7
6
|
/** Advice title message */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as _, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as g } from "../../clsx-
|
|
2
|
+
import { c as g } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { Icon as h } from "../Icon/Icon.js";
|
|
4
4
|
import { Typography as m } from "../Typography/Typography.js";
|
|
5
5
|
import '../../assets/Advice.css';const x = "_advice_1wls4_1", f = "_advice__texts_1wls4_8", u = "_advice__content_1wls4_14", c = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: ({ type, icon, iconSvg: IconSvg, content, title, titleProps, description, descriptionProps, className, ...rest }: import('./Advice').AdviceProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as y } from "../../clsx-
|
|
2
|
+
import { c as y } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { Icon as s } from "../Icon/Icon.js";
|
|
4
4
|
import '../../assets/Alert.css';const h = "_container_1043z_78", t = {
|
|
5
5
|
"u-typography-h1": "_u-typography-h1_1043z_1",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { InputProps } from '../Input/Input.tsx';
|
|
2
1
|
import { SyntheticEvent } from 'react';
|
|
3
|
-
|
|
2
|
+
import { InputProps } from '../Input/Input.tsx';
|
|
4
3
|
export type AutocompleteProps<T> = Omit<InputProps, 'onChange' | 'value'> & {
|
|
5
4
|
/** Object key to be used as label when options are an array of object */
|
|
6
5
|
labelKey?: T extends object ? keyof T : never;
|