@pismo/marola 1.1.7 → 1.1.10
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/Dialog.module-CE1Q-5tJ.js +1 -2
- package/dist/Group-ZXteFV4M.js +1 -2
- package/dist/Popover.module-B4boCutS.js +1 -2
- package/dist/SelectButton-DbiTJagF.js +1 -2
- package/dist/Tabs.module-BNRwj3Z0.js +1 -2
- package/dist/Toggle-BuZjueQ7.js +1 -2
- package/dist/assets/Calendar.css +1 -1
- package/dist/assets/Table.css +1 -1
- package/dist/components/Adornment/Adornment.js +1 -2
- package/dist/components/Advice/Advice.js +1 -2
- package/dist/components/Alert/Alert.js +1 -2
- package/dist/components/Autocomplete/Autocomplete.js +1 -2
- package/dist/components/Avatar/Avatar.js +1 -2
- package/dist/components/Badge/Badge.js +1 -2
- package/dist/components/BankCard/BankCard.js +1 -2
- package/dist/components/Button/Button.js +1 -2
- package/dist/components/Calendar/Calendar.d.ts +2 -1
- package/dist/components/Calendar/Calendar.js +58 -38
- package/dist/components/Calendar/Calendar.stories.d.ts +2 -1
- package/dist/components/Checkbox/Checkbox.js +1 -2
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js +1 -1
- package/dist/components/Description/Description.js +1 -2
- package/dist/components/Dialog/Dialog.d.ts +10 -9
- package/dist/components/Dialog/Dialog.js +230 -222
- package/dist/components/Dialog/Dialog.stories.d.ts +9 -5
- package/dist/components/Dialog/Dialog.test.d.ts +1 -0
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +1 -2
- package/dist/components/IconButton/IconButton.js +1 -2
- package/dist/components/Input/Input.js +1 -2
- package/dist/components/InputSearch/InputSearch.js +1 -2
- package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -2
- package/dist/components/PageHeader/PageHeader.js +1 -2
- package/dist/components/Pagination/Pagination.js +1 -2
- package/dist/components/RadioButton/RadioButton.js +1 -2
- package/dist/components/ResultWithChips/ResultWithChips.js +1 -2
- package/dist/components/Skeleton/Skeleton.js +1 -2
- package/dist/components/Snackbar/Snackbar.js +1 -2
- package/dist/components/SortTooltip/SortTooltip.js +1 -2
- package/dist/components/Stepper/Stepper.js +1 -2
- package/dist/components/StepperNavigator/StepperNavigator.js +1 -2
- package/dist/components/Table/Table.d.ts +26 -10
- package/dist/components/Table/Table.js +136 -95
- package/dist/components/Table/Table.stories.d.ts +4 -0
- package/dist/components/Table/Table.test.d.ts +1 -0
- package/dist/components/Table/_Table.Td.stories.d.ts +1 -1
- package/dist/components/Table/_Table.Th.stories.d.ts +1 -1
- package/dist/components/Table/_Table.Tr.stories.d.ts +1 -1
- package/dist/components/Tag/Tag.js +1 -2
- package/dist/components/TextDisplay/TextDisplay.js +1 -2
- package/dist/components/Toggle/Toggle.js +1 -2
- package/dist/components/Tooltip/Tooltip.js +1 -2
- package/dist/components/TransactionRow/TransactionRow.js +1 -2
- package/dist/components/Typography/Typography.js +1 -2
- package/package.json +1 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { DialogProps } from '../../main';
|
|
2
1
|
import { StoryObj } from '@storybook/react';
|
|
3
2
|
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component: {
|
|
7
|
-
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('@mui/base').ModalProps, "ref" | "onClose"> & {
|
|
6
|
+
children: import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
|
|
7
|
+
dialogTitle: import('react').ReactNode;
|
|
8
|
+
dialogSubtitle?: import('react').ReactNode;
|
|
9
|
+
icon?: import('../Icon/Icon').IconProps | undefined;
|
|
10
|
+
onClose?: ((reason: import('./Dialog').CloseReason) => void) | undefined;
|
|
11
|
+
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
8
12
|
Title: import('react').FunctionComponent<import('./DialogTitle').DialogTitleProps>;
|
|
9
13
|
Content: import('react').FunctionComponent<import('./Content').DialogContentProps>;
|
|
10
14
|
Actions: import('react').FunctionComponent<import('./Actions').DialogActionProps>;
|
|
@@ -12,7 +16,6 @@ declare const meta: {
|
|
|
12
16
|
tags: string[];
|
|
13
17
|
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
14
18
|
color?: string | undefined;
|
|
15
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
16
19
|
children: import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> & import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
|
|
17
20
|
title?: string | undefined;
|
|
18
21
|
style?: import('react').CSSProperties | undefined;
|
|
@@ -340,7 +343,8 @@ declare const meta: {
|
|
|
340
343
|
dialogTitle: import('react').ReactNode;
|
|
341
344
|
dialogSubtitle?: import('react').ReactNode;
|
|
342
345
|
icon?: import('../Icon/Icon').IconProps | undefined;
|
|
343
|
-
onClose?: ((reason
|
|
346
|
+
onClose?: ((reason: import('./Dialog').CloseReason) => void) | undefined;
|
|
347
|
+
ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
|
|
344
348
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
345
349
|
};
|
|
346
350
|
export default meta;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '../../assets/EllipsisTooltip.css';
|
|
2
1
|
import { jsx as s, jsxs as d, Fragment as f } from "react/jsx-runtime";
|
|
3
2
|
import { useState as g } from "react";
|
|
4
3
|
import { c as v } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { Tooltip as x } from "../Tooltip/Tooltip.js";
|
|
6
|
-
const H = {
|
|
5
|
+
import '../../assets/EllipsisTooltip.css';const H = {
|
|
7
6
|
"ellipsis-tooltip": "_ellipsis-tooltip_1ov97_1"
|
|
8
7
|
}, W = ({
|
|
9
8
|
lineClamp: e = 1,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import '../../assets/IconButton.css';
|
|
2
1
|
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
3
2
|
import { forwardRef as d, useMemo as l } from "react";
|
|
4
3
|
import { c as j } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { LoadingSpinner as m } from "../LoadingSpinner/LoadingSpinner.js";
|
|
6
5
|
import { B as x } from "../../Button-BAljjMv3.js";
|
|
7
|
-
const o = {
|
|
6
|
+
import '../../assets/IconButton.css';const o = {
|
|
8
7
|
"u-typography-h1": "_u-typography-h1_gt5j9_1",
|
|
9
8
|
"u-typography-h2": "_u-typography-h2_gt5j9_8",
|
|
10
9
|
"u-typography-h3": "_u-typography-h3_gt5j9_15",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import '../../assets/Input.css';
|
|
2
1
|
import { jsxs as D, jsx as M } from "react/jsx-runtime";
|
|
3
2
|
import * as V from "react";
|
|
4
3
|
import { forwardRef as _e, useState as fe, useId as me, useMemo as re } from "react";
|
|
@@ -7,7 +6,7 @@ import { c as k } from "../../clsx-DB4S2d7J.js";
|
|
|
7
6
|
import { Icon as ye } from "../Icon/Icon.js";
|
|
8
7
|
import { Typography as le } from "../Typography/Typography.js";
|
|
9
8
|
import { g as we, a as Ne, u as xe, f as ue, b as v, _ as Ce, c as se, i as ve, P as t, d as qe, e as Pe } from "../../useSlotProps-C_I1kEHr.js";
|
|
10
|
-
function Re(i) {
|
|
9
|
+
import '../../assets/Input.css';function Re(i) {
|
|
11
10
|
let s = "https://mui.com/production-error/?code=" + i;
|
|
12
11
|
for (let f = 1; f < arguments.length; f += 1)
|
|
13
12
|
s += "&args[]=" + encodeURIComponent(arguments[f]);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import '../../assets/InputSearch.css';
|
|
2
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
2
|
import { forwardRef as p } from "react";
|
|
4
3
|
import { c as u } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { Icon as f } from "../Icon/Icon.js";
|
|
6
5
|
import { Input as l } from "../Input/Input.js";
|
|
7
|
-
const h = "_inputSearch_114e1_1", g = {
|
|
6
|
+
import '../../assets/InputSearch.css';const h = "_inputSearch_114e1_1", g = {
|
|
8
7
|
inputSearch: h
|
|
9
8
|
};
|
|
10
9
|
let r;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import '../../assets/LoadingSpinner.css';
|
|
2
1
|
import { jsxs as e, jsx as s } from "react/jsx-runtime";
|
|
3
2
|
import { useMemo as o } from "react";
|
|
4
3
|
import { c as t } from "../../clsx-DB4S2d7J.js";
|
|
5
|
-
const n = {
|
|
4
|
+
import '../../assets/LoadingSpinner.css';const n = {
|
|
6
5
|
"ls-ring": "_ls-ring_elvjz_1",
|
|
7
6
|
"ls-ring--invert": "_ls-ring--invert_elvjz_34"
|
|
8
7
|
}, a = ({ invert: i = !1, classNames: r }) => {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import '../../assets/PageHeader.css';
|
|
2
1
|
import { jsx as e, jsxs as _, Fragment as h } from "react/jsx-runtime";
|
|
3
2
|
import { useMemo as I } from "react";
|
|
4
3
|
import { c as y } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { Icon as P } from "../Icon/Icon.js";
|
|
6
5
|
import { IconButton as $ } from "../IconButton/IconButton.js";
|
|
7
6
|
import { Text as m } from "../Typography/Typography.js";
|
|
8
|
-
const a = {
|
|
7
|
+
import '../../assets/PageHeader.css';const a = {
|
|
9
8
|
"u-typography-h1": "_u-typography-h1_10ecr_1",
|
|
10
9
|
"u-typography-h2": "_u-typography-h2_10ecr_8",
|
|
11
10
|
"u-typography-h3": "_u-typography-h3_10ecr_15",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '../../assets/Pagination.css';
|
|
2
1
|
import { jsxs as s, Fragment as h, jsx as a } from "react/jsx-runtime";
|
|
3
2
|
import { c as _ } from "../../clsx-DB4S2d7J.js";
|
|
4
3
|
import { Select as p } from "../Select/Select.js";
|
|
5
4
|
import C from "./usePagination.js";
|
|
6
|
-
const w = "_pagination_2kmrd_43", n = {
|
|
5
|
+
import '../../assets/Pagination.css';const w = "_pagination_2kmrd_43", n = {
|
|
7
6
|
"u-typography-h1": "_u-typography-h1_2kmrd_1",
|
|
8
7
|
"u-typography-h2": "_u-typography-h2_2kmrd_8",
|
|
9
8
|
"u-typography-h3": "_u-typography-h3_2kmrd_15",
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import '../../assets/RadioButton.css';
|
|
2
1
|
import { jsxs as h, jsx as t } from "react/jsx-runtime";
|
|
3
2
|
import { useState as x, useEffect as y } from "react";
|
|
4
3
|
import { c as s } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { Icon as C } from "../Icon/Icon.js";
|
|
6
5
|
import { Typography as S } from "../Typography/Typography.js";
|
|
7
|
-
const g = "_radio_1t160_1", a = {
|
|
6
|
+
import '../../assets/RadioButton.css';const g = "_radio_1t160_1", a = {
|
|
8
7
|
radio: g,
|
|
9
8
|
"radio--label": "_radio--label_1t160_9",
|
|
10
9
|
"radio--label__disabled": "_radio--label__disabled_1t160_12",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import '../../assets/ResultWithChips.css';
|
|
2
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
3
2
|
import { C as t } from "../../Toggle-BuZjueQ7.js";
|
|
4
|
-
const r = "_container_hgp0p_1", o = "_label_hgp0p_17", a = {
|
|
3
|
+
import '../../assets/ResultWithChips.css';const r = "_container_hgp0p_1", o = "_label_hgp0p_17", a = {
|
|
5
4
|
container: r,
|
|
6
5
|
"chip-item-wrapper": "_chip-item-wrapper_hgp0p_8",
|
|
7
6
|
label: o,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import '../../assets/Skeleton.css';
|
|
2
1
|
import { jsx as t, jsxs as N } from "react/jsx-runtime";
|
|
3
2
|
import { c as r } from "../../clsx-DB4S2d7J.js";
|
|
4
|
-
const u = "_skeleton_mst8q_1", b = "_skeletonLoading_mst8q_1", o = {
|
|
3
|
+
import '../../assets/Skeleton.css';const u = "_skeleton_mst8q_1", b = "_skeletonLoading_mst8q_1", o = {
|
|
5
4
|
skeleton: u,
|
|
6
5
|
skeletonLoading: b,
|
|
7
6
|
"skeleton--circle-type": "_skeleton--circle-type_mst8q_13",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import '../../assets/Snackbar.css';
|
|
2
1
|
import { jsx as h, jsxs as Y } from "react/jsx-runtime";
|
|
3
2
|
import * as N from "react";
|
|
4
3
|
import S, { useState as V, useRef as X } from "react";
|
|
@@ -10,7 +9,7 @@ import { u as ee } from "../../useTimeout-DxF9kiZL.js";
|
|
|
10
9
|
import { u as I } from "../../useEventCallback-BAQJJ3ye.js";
|
|
11
10
|
import { C as B } from "../../ClickAwayListener-DbEYZpyh.js";
|
|
12
11
|
import { R as P } from "../../index-bQFToy-I.js";
|
|
13
|
-
const W = "Snackbar";
|
|
12
|
+
import '../../assets/Snackbar.css';const W = "Snackbar";
|
|
14
13
|
function te(u) {
|
|
15
14
|
return z(W, u);
|
|
16
15
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '../../assets/SortTooltip.css';
|
|
2
1
|
import { jsx as h, jsxs as s } from "react/jsx-runtime";
|
|
3
2
|
import { c as d } from "../../clsx-DB4S2d7J.js";
|
|
4
3
|
import { Tooltip as b } from "../Tooltip/Tooltip.js";
|
|
5
4
|
import * as t from "react";
|
|
6
|
-
const f = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M4.73768 14.6906C4.35893 15.105 3.64205 15.105 3.26299 14.6906L0.541112 11.6878C0.167987 11.28 0.195487 10.6469 0.602643 10.2731C1.00952 9.89969 1.64233 9.92812 2.01577 10.3348L3.00017 11.4406V2.00094C3.00017 1.44781 3.44799 1 4.00017 1C4.55236 1 5.00017 1.44781 5.00017 2.00094V11.4384L6.01267 10.3325C6.3708 9.94219 7.00236 9.88281 7.4258 10.2708C7.83299 10.6443 7.86018 11.2777 7.48733 11.6855L4.73768 14.6906Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M14.0001 13H12.4141L14.7073 10.7069C14.9934 10.4208 15.0788 9.99098 14.9241 9.61691C14.7693 9.24285 14.4032 9.00004 13.972 9.00004H9.97196C9.44696 9.00004 9.00008 9.44691 9.00008 10C9.00008 10.5532 9.4479 11 10.0001 11H11.586L9.2929 13.2932C9.00677 13.5793 8.92133 14.0091 9.07608 14.3832C9.23083 14.7572 9.59696 15 9.97196 15H13.9438C14.5532 15 15.0001 14.5532 15.0001 14C15.0001 13.4469 14.5532 13 14.0001 13ZM15.3938 6.54066L12.8941 1.53754C12.5554 0.855977 11.4441 0.855977 11.1054 1.53754L8.60633 6.54066C8.35927 7.03785 8.55946 7.64191 9.05352 7.89035C9.54946 8.13791 10.1485 7.93651 10.3951 7.44035L10.6186 6.99066H13.3821L13.6056 7.44035C13.7986 7.82879 14.3547 8.18629 14.9472 7.89035C15.4407 7.64379 15.6407 7.03754 15.3938 6.54066ZM11.4938 5.23129L12.0001 4.20941L12.507 5.2291H11.4938V5.23129Z", fill: "#1897F3" })), m = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M0.512792 11.6594C0.139667 11.2516 0.167167 10.6184 0.574323 10.2447C0.766229 10.0688 1.00839 9.98175 1.24964 9.98175C1.52063 9.98175 1.79026 10.0912 1.98745 10.3064L2.99998 11.4406V2.00094C2.99998 1.44781 3.44779 1 3.99998 1C4.55217 1 4.99998 1.44781 4.99998 2.00094V11.4384L6.01248 10.3325C6.38748 9.92812 7.01873 9.89687 7.42498 10.2719C7.83216 10.6453 7.85935 11.2787 7.48651 11.6866L4.76463 14.6894C4.38588 15.1037 3.66901 15.1037 3.28995 14.6894L0.512792 11.6594Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M10.0002 3H11.5862L9.29303 5.29313C9.00691 5.57925 8.92147 6.00906 9.07622 6.38313C9.23097 6.75719 9.59591 7 9.99997 7H13.9718C14.5533 6.97188 15.0002 6.55313 15.0002 6C15.0002 5.44688 14.5524 5 14.0002 5H12.4143L14.7074 2.70688C14.9935 2.42075 15.079 1.99094 14.9242 1.61688C14.7695 1.24281 14.4033 1 13.9721 1H10.0002C9.44709 1 9.00022 1.44719 9.00022 2C9.00022 2.55281 9.44709 3 10.0002 3ZM15.394 13.5406L12.8943 8.5375C12.5555 7.85594 11.4443 7.85594 11.1055 8.5375L8.60584 13.5406C8.35878 14.0378 8.55897 14.6419 9.05303 14.8903C9.54897 15.1379 10.148 14.9365 10.3946 14.4403L10.6182 13.9906H13.3816L13.6052 14.4403C13.7981 14.8288 14.3542 15.1863 14.9467 14.8903C15.4408 14.6438 15.6408 14.0375 15.394 13.5406ZM11.494 12.2313L12.0002 11.2094L12.5071 12.2291H11.494V12.2313Z", fill: "#1897F3" })), a = {
|
|
5
|
+
import '../../assets/SortTooltip.css';const f = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M4.73768 14.6906C4.35893 15.105 3.64205 15.105 3.26299 14.6906L0.541112 11.6878C0.167987 11.28 0.195487 10.6469 0.602643 10.2731C1.00952 9.89969 1.64233 9.92812 2.01577 10.3348L3.00017 11.4406V2.00094C3.00017 1.44781 3.44799 1 4.00017 1C4.55236 1 5.00017 1.44781 5.00017 2.00094V11.4384L6.01267 10.3325C6.3708 9.94219 7.00236 9.88281 7.4258 10.2708C7.83299 10.6443 7.86018 11.2777 7.48733 11.6855L4.73768 14.6906Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M14.0001 13H12.4141L14.7073 10.7069C14.9934 10.4208 15.0788 9.99098 14.9241 9.61691C14.7693 9.24285 14.4032 9.00004 13.972 9.00004H9.97196C9.44696 9.00004 9.00008 9.44691 9.00008 10C9.00008 10.5532 9.4479 11 10.0001 11H11.586L9.2929 13.2932C9.00677 13.5793 8.92133 14.0091 9.07608 14.3832C9.23083 14.7572 9.59696 15 9.97196 15H13.9438C14.5532 15 15.0001 14.5532 15.0001 14C15.0001 13.4469 14.5532 13 14.0001 13ZM15.3938 6.54066L12.8941 1.53754C12.5554 0.855977 11.4441 0.855977 11.1054 1.53754L8.60633 6.54066C8.35927 7.03785 8.55946 7.64191 9.05352 7.89035C9.54946 8.13791 10.1485 7.93651 10.3951 7.44035L10.6186 6.99066H13.3821L13.6056 7.44035C13.7986 7.82879 14.3547 8.18629 14.9472 7.89035C15.4407 7.64379 15.6407 7.03754 15.3938 6.54066ZM11.4938 5.23129L12.0001 4.20941L12.507 5.2291H11.4938V5.23129Z", fill: "#1897F3" })), m = (e) => /* @__PURE__ */ t.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M0.512792 11.6594C0.139667 11.2516 0.167167 10.6184 0.574323 10.2447C0.766229 10.0688 1.00839 9.98175 1.24964 9.98175C1.52063 9.98175 1.79026 10.0912 1.98745 10.3064L2.99998 11.4406V2.00094C2.99998 1.44781 3.44779 1 3.99998 1C4.55217 1 4.99998 1.44781 4.99998 2.00094V11.4384L6.01248 10.3325C6.38748 9.92812 7.01873 9.89687 7.42498 10.2719C7.83216 10.6453 7.85935 11.2787 7.48651 11.6866L4.76463 14.6894C4.38588 15.1037 3.66901 15.1037 3.28995 14.6894L0.512792 11.6594Z", fill: "#1897F3" }), /* @__PURE__ */ t.createElement("path", { opacity: 0.4, d: "M10.0002 3H11.5862L9.29303 5.29313C9.00691 5.57925 8.92147 6.00906 9.07622 6.38313C9.23097 6.75719 9.59591 7 9.99997 7H13.9718C14.5533 6.97188 15.0002 6.55313 15.0002 6C15.0002 5.44688 14.5524 5 14.0002 5H12.4143L14.7074 2.70688C14.9935 2.42075 15.079 1.99094 14.9242 1.61688C14.7695 1.24281 14.4033 1 13.9721 1H10.0002C9.44709 1 9.00022 1.44719 9.00022 2C9.00022 2.55281 9.44709 3 10.0002 3ZM15.394 13.5406L12.8943 8.5375C12.5555 7.85594 11.4443 7.85594 11.1055 8.5375L8.60584 13.5406C8.35878 14.0378 8.55897 14.6419 9.05303 14.8903C9.54897 15.1379 10.148 14.9365 10.3946 14.4403L10.6182 13.9906H13.3816L13.6052 14.4403C13.7981 14.8288 14.3542 15.1863 14.9467 14.8903C15.4408 14.6438 15.6408 14.0375 15.394 13.5406ZM11.494 12.2313L12.0002 11.2094L12.5071 12.2291H11.494V12.2313Z", fill: "#1897F3" })), a = {
|
|
7
6
|
"u-typography-h1": "_u-typography-h1_3hhsf_1",
|
|
8
7
|
"u-typography-h2": "_u-typography-h2_3hhsf_8",
|
|
9
8
|
"u-typography-h3": "_u-typography-h3_3hhsf_15",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import '../../assets/Stepper.css';
|
|
2
1
|
import { jsx as h, jsxs as d } from "react/jsx-runtime";
|
|
3
2
|
import { c as p } from "../../clsx-DB4S2d7J.js";
|
|
4
|
-
const m = "_stepper_1h8au_61", c = "_item_1h8au_61", n = "_name_1h8au_61", l = "_counter_1h8au_65", a = {
|
|
3
|
+
import '../../assets/Stepper.css';const m = "_stepper_1h8au_61", c = "_item_1h8au_61", n = "_name_1h8au_61", l = "_counter_1h8au_65", a = {
|
|
5
4
|
"u-typography-h1": "_u-typography-h1_1h8au_1",
|
|
6
5
|
"u-typography-h2": "_u-typography-h2_1h8au_8",
|
|
7
6
|
"u-typography-h3": "_u-typography-h3_1h8au_15",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import '../../assets/StepperNavigator.css';
|
|
2
1
|
import { jsxs as _, jsx as I } from "react/jsx-runtime";
|
|
3
2
|
import { c as g } from "../../clsx-DB4S2d7J.js";
|
|
4
3
|
import { Button as c } from "../Button/Button.js";
|
|
5
|
-
const b = {
|
|
4
|
+
import '../../assets/StepperNavigator.css';const b = {
|
|
6
5
|
"stepper-navigator": "_stepper-navigator_v6lmn_1",
|
|
7
6
|
"previous-button": "_previous-button_v6lmn_14",
|
|
8
7
|
"cancel-button": "_cancel-button_v6lmn_15",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TableTranslations } from './TableContext';
|
|
2
2
|
import { SortType } from '../SortTooltip/SortTooltip';
|
|
3
3
|
import { PaginationProps } from '../Pagination/Pagination';
|
|
4
|
+
import { default as React } from 'react';
|
|
4
5
|
|
|
5
6
|
export type ChildrenProps = {
|
|
6
7
|
/** Children of the component */
|
|
@@ -20,6 +21,17 @@ type AlignProps = {
|
|
|
20
21
|
/** Alignment */
|
|
21
22
|
align?: 'left' | 'right' | 'center';
|
|
22
23
|
};
|
|
24
|
+
type ExpandableProps = {
|
|
25
|
+
/** Whether the row should be expandable */
|
|
26
|
+
expandable?: boolean;
|
|
27
|
+
/** Text label for the expanadable row */
|
|
28
|
+
expandLabel?: string;
|
|
29
|
+
expandedRows?: React.ReactNode[];
|
|
30
|
+
/** Initially expanded state */
|
|
31
|
+
defaultExpanded?: boolean;
|
|
32
|
+
/** indentation level for nested expandable rows */
|
|
33
|
+
level?: number;
|
|
34
|
+
};
|
|
23
35
|
type TableTheme = 'white' | 'transparent';
|
|
24
36
|
export type TableProps = ChildrenProps & {
|
|
25
37
|
/** Set if the table is full width */
|
|
@@ -37,24 +49,28 @@ export type TableProps = ChildrenProps & {
|
|
|
37
49
|
};
|
|
38
50
|
declare const Table: {
|
|
39
51
|
({ children, theme, fullWidth, className, paginationProps, isFixed, language, translations, ...rest }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
THead:
|
|
41
|
-
TBody:
|
|
42
|
-
Tr:
|
|
43
|
-
Td:
|
|
44
|
-
Th:
|
|
52
|
+
THead: React.FunctionComponent<ChildrenProps>;
|
|
53
|
+
TBody: React.FunctionComponent<ChildrenProps>;
|
|
54
|
+
Tr: React.FunctionComponent<TrProps>;
|
|
55
|
+
Td: React.FunctionComponent<TdProps>;
|
|
56
|
+
Th: React.FunctionComponent<ThProps>;
|
|
45
57
|
};
|
|
46
58
|
export declare const THead: ({ children, ...rest }: ChildrenProps) => import("react/jsx-runtime").JSX.Element;
|
|
47
59
|
export declare const TBody: ({ children, ...rest }: ChildrenProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export type TrProps = ChildrenProps & ActionProps & {
|
|
60
|
+
export type TrProps = ChildrenProps & ActionProps & ExpandableProps & {
|
|
49
61
|
lastRow?: boolean;
|
|
50
62
|
};
|
|
51
|
-
export declare const Tr: ({ children, onClick, disabled, className, lastRow, ...rest }: TrProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
export type TdProps = ChildrenProps & ActionProps & AlignProps
|
|
53
|
-
|
|
63
|
+
export declare const Tr: ({ children, onClick, disabled, className, lastRow, expandable, expandLabel, expandedRows, defaultExpanded, level, ...rest }: TrProps) => import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export type TdProps = ChildrenProps & ActionProps & AlignProps & {
|
|
65
|
+
width?: string;
|
|
66
|
+
colSpan?: number;
|
|
67
|
+
};
|
|
68
|
+
export declare const Td: ({ children, onClick, disabled, className, align, width, ...rest }: TdProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
69
|
export type ThProps = ChildrenProps & AlignProps & {
|
|
55
70
|
onSort?: (order: SortType) => void;
|
|
56
71
|
sortType?: SortType;
|
|
57
72
|
classNameTooltip?: string;
|
|
73
|
+
width?: string;
|
|
58
74
|
};
|
|
59
|
-
export declare const Th: ({ children, onSort, sortType, className, classNameTooltip, align, ...rest }: ThProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
export declare const Th: ({ children, onSort, sortType, className, classNameTooltip, align, width, ...rest }: ThProps) => import("react/jsx-runtime").JSX.Element;
|
|
60
76
|
export { Table, type TableTranslations };
|
|
@@ -1,40 +1,45 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
table:
|
|
11
|
-
"table--
|
|
12
|
-
"table--
|
|
13
|
-
"table--
|
|
14
|
-
"
|
|
15
|
-
"cell--
|
|
16
|
-
"cell--
|
|
17
|
-
|
|
18
|
-
th__wrapper:
|
|
19
|
-
"th__wrapper--
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"tr__row-or-cell--clickable": "_tr__row-or-cell--
|
|
26
|
-
"td__row-or-cell--clickable": "_td__row-or-cell--
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
1
|
+
import { jsxs as g, jsx as r, Fragment as B } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import T, { useState as C } from "react";
|
|
4
|
+
import { c as f } from "../../clsx-DB4S2d7J.js";
|
|
5
|
+
import { paginationDefaultTranslations as x, Pagination as F } from "../Pagination/Pagination.js";
|
|
6
|
+
import { sortTooltipDefaultTranslations as u, SortTooltip as k } from "../SortTooltip/SortTooltip.js";
|
|
7
|
+
import { TableProvider as D, useTable as H } from "./TableContext.js";
|
|
8
|
+
import '../../assets/Table.css';const N = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("g", { id: "chevron-down" }, /* @__PURE__ */ n.createElement("path", { id: "Vector", d: "M12 17C11.7441 17 11.4881 16.9023 11.2931 16.707L5.29309 10.707C4.90247 10.3164 4.90247 9.68359 5.29309 9.29297C5.68372 8.90234 6.31653 8.90234 6.70715 9.29297L12 14.5875L17.2937 9.29375C17.6843 8.90312 18.3172 8.90312 18.7078 9.29375C19.0984 9.68437 19.0984 10.3172 18.7078 10.7078L12.7078 16.7078C12.5125 16.9031 12.2562 17 12 17Z", fill: "#1897F3" }))), I = (l) => /* @__PURE__ */ n.createElement("svg", { width: 7, height: 10, viewBox: "0 0 7 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("g", { clipPath: "url(#clip0_2291_2457)" }, /* @__PURE__ */ n.createElement("path", { d: "M6.41658 3.93794C6.26731 3.93794 6.11798 3.88301 6.00423 3.77314L3.49991 1.35923L0.995768 3.77271C0.767904 3.99243 0.398763 3.99243 0.170898 3.77271C-0.0569661 3.55298 -0.0569661 3.19702 0.170898 2.97729L3.08756 0.164795C3.31543 -0.0549316 3.68457 -0.0549316 3.91243 0.164795L6.8291 2.97729C7.05697 3.19702 7.05697 3.55298 6.8291 3.77271C6.71553 3.88345 6.56605 3.93794 6.41658 3.93794Z", fill: "#1897F3" }), /* @__PURE__ */ n.createElement("path", { opacity: 0.4, d: "M6.41663 5.38022C6.26737 5.38022 6.11804 5.43516 6.00429 5.54502L3.49997 7.95894L0.99528 5.5437C0.767415 5.32397 0.398275 5.32397 0.17041 5.5437C-0.0574544 5.76343 -0.0574544 6.11938 0.17041 6.33911L3.08708 9.15161C3.31494 9.37134 3.68408 9.37134 3.91195 9.15161L6.82861 6.33911C7.05648 6.11938 7.05648 5.76343 6.82861 5.5437C6.71559 5.43472 6.56611 5.38022 6.41663 5.38022Z", fill: "#1897F3" })), /* @__PURE__ */ n.createElement("defs", null, /* @__PURE__ */ n.createElement("clipPath", { id: "clip0_2291_2457" }, /* @__PURE__ */ n.createElement("rect", { width: 7, height: 10, fill: "white" })))), M = "_table_r5070_1", P = "_th__wrapper_r5070_45", $ = "_tr_r5070_68", O = "_td_r5070_72", S = "_fadeIn_r5070_1", e = {
|
|
9
|
+
table: M,
|
|
10
|
+
"table--fixed": "_table--fixed_r5070_5",
|
|
11
|
+
"table--full-width": "_table--full-width_r5070_8",
|
|
12
|
+
"table--white-theme": "_table--white-theme_r5070_11",
|
|
13
|
+
"table--transparent-theme": "_table--transparent-theme_r5070_14",
|
|
14
|
+
"cell--left-alignment": "_cell--left-alignment_r5070_17",
|
|
15
|
+
"cell--center-alignment": "_cell--center-alignment_r5070_21",
|
|
16
|
+
"cell--right-alignment": "_cell--right-alignment_r5070_25",
|
|
17
|
+
th__wrapper: P,
|
|
18
|
+
"th__wrapper--pressed": "_th__wrapper--pressed_r5070_50",
|
|
19
|
+
"th__wrapper--clickable": "_th__wrapper--clickable_r5070_56",
|
|
20
|
+
"th__sort-icon-container": "_th__sort-icon-container_r5070_59",
|
|
21
|
+
"tr__row-or-cell--disabled": "_tr__row-or-cell--disabled_r5070_68",
|
|
22
|
+
tr: $,
|
|
23
|
+
td: O,
|
|
24
|
+
"expand-toggle": "_expand-toggle_r5070_73",
|
|
25
|
+
"tr__row-or-cell--clickable": "_tr__row-or-cell--clickable_r5070_79",
|
|
26
|
+
"td__row-or-cell--clickable": "_td__row-or-cell--clickable_r5070_80",
|
|
27
|
+
"expand-toggle__row-or-cell--clickable": "_expand-toggle__row-or-cell--clickable_r5070_81",
|
|
28
|
+
"td__row-or-cell--disabled": "_td__row-or-cell--disabled_r5070_85",
|
|
29
|
+
"expand-toggle__row-or-cell--disabled": "_expand-toggle__row-or-cell--disabled_r5070_86",
|
|
30
|
+
"td-wrapper": "_td-wrapper_r5070_90",
|
|
31
|
+
"fade-in": "_fade-in_r5070_101",
|
|
32
|
+
"tr--last-row": "_tr--last-row_r5070_119",
|
|
33
|
+
fadeIn: S,
|
|
34
|
+
"expand-toggle--expand-icon": "_expand-toggle--expand-icon_r5070_144"
|
|
35
|
+
}, Z = {
|
|
31
36
|
pt: {
|
|
32
|
-
...
|
|
33
|
-
...
|
|
37
|
+
...x.pt,
|
|
38
|
+
...u.pt
|
|
34
39
|
},
|
|
35
40
|
en: {
|
|
36
|
-
...
|
|
37
|
-
...
|
|
41
|
+
...x.en,
|
|
42
|
+
...u.en
|
|
38
43
|
},
|
|
39
44
|
// example to add a new language translation
|
|
40
45
|
es: {
|
|
@@ -46,83 +51,119 @@ const C = (l) => /* @__PURE__ */ i.createElement("svg", { width: 7, height: 10,
|
|
|
46
51
|
of: "de",
|
|
47
52
|
results: "resultados"
|
|
48
53
|
}
|
|
49
|
-
},
|
|
54
|
+
}, s = ({
|
|
50
55
|
children: l,
|
|
51
|
-
theme:
|
|
56
|
+
theme: t = "white",
|
|
52
57
|
fullWidth: a = !0,
|
|
53
|
-
className:
|
|
54
|
-
paginationProps:
|
|
55
|
-
isFixed:
|
|
56
|
-
language:
|
|
57
|
-
translations:
|
|
58
|
-
...
|
|
58
|
+
className: p,
|
|
59
|
+
paginationProps: i,
|
|
60
|
+
isFixed: _,
|
|
61
|
+
language: o,
|
|
62
|
+
translations: c,
|
|
63
|
+
...w
|
|
59
64
|
}) => {
|
|
60
|
-
const d =
|
|
61
|
-
|
|
62
|
-
a &&
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
),
|
|
67
|
-
return /* @__PURE__ */
|
|
68
|
-
/* @__PURE__ */ r("table", { ...
|
|
69
|
-
|
|
65
|
+
const d = f(
|
|
66
|
+
e.table,
|
|
67
|
+
a && e["table--full-width"],
|
|
68
|
+
_ && e["table--fixed"],
|
|
69
|
+
e[`table--${t}-theme`],
|
|
70
|
+
p
|
|
71
|
+
), h = o && Z[o || "en"] || c;
|
|
72
|
+
return /* @__PURE__ */ g(D, { initialTranslations: h, children: [
|
|
73
|
+
/* @__PURE__ */ r("table", { ...w, className: d, children: l }),
|
|
74
|
+
i && /* @__PURE__ */ r(F, { ...i, t: h || x.en })
|
|
70
75
|
] });
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
}, j = ({ children: l, ...t }) => /* @__PURE__ */ r("thead", { ...t, children: l }), A = ({ children: l, ...t }) => /* @__PURE__ */ r("tbody", { ...t, children: l }), V = ({
|
|
77
|
+
children: l,
|
|
78
|
+
onClick: t,
|
|
79
|
+
disabled: a,
|
|
80
|
+
className: p,
|
|
81
|
+
lastRow: i,
|
|
82
|
+
expandable: _ = !1,
|
|
83
|
+
expandLabel: o,
|
|
84
|
+
expandedRows: c,
|
|
85
|
+
defaultExpanded: w = !1,
|
|
86
|
+
level: d = 0,
|
|
87
|
+
...h
|
|
88
|
+
}) => {
|
|
89
|
+
const [b, y] = C(w), E = () => {
|
|
90
|
+
a || y((m) => !m);
|
|
91
|
+
}, v = f(
|
|
92
|
+
e.tr,
|
|
93
|
+
t && !a ? e["tr__row-or-cell--clickable"] : a ? e["tr__row-or-cell--disabled"] : "",
|
|
94
|
+
_ && e["tr-expandable"],
|
|
75
95
|
// Optionally remove border bottom on last row
|
|
76
|
-
|
|
77
|
-
|
|
96
|
+
i && e["tr--last-row"],
|
|
97
|
+
p
|
|
78
98
|
);
|
|
79
|
-
return /* @__PURE__ */
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
99
|
+
return /* @__PURE__ */ g(B, { children: [
|
|
100
|
+
/* @__PURE__ */ g("tr", { ...h, className: v, onClick: _ ? E : () => !a && (t == null ? void 0 : t()), children: [
|
|
101
|
+
_ && /* @__PURE__ */ r("td", { colSpan: T.Children.count(l) + 1, style: { paddingLeft: `${d * 16}px` }, children: /* @__PURE__ */ g("div", { className: e["expand-toggle"], children: [
|
|
102
|
+
b ? /* @__PURE__ */ r(N, { width: 24, height: 24, className: e["expand-toggle--expand-icon"] }) : /* @__PURE__ */ r(N, { width: 24, height: 24 }),
|
|
103
|
+
o
|
|
104
|
+
] }) }),
|
|
105
|
+
!_ && l
|
|
106
|
+
] }),
|
|
107
|
+
_ && b && (c == null ? void 0 : c.map((m, L) => /* @__PURE__ */ r(T.Fragment, { children: T.isValidElement(m) ? T.cloneElement(m, {
|
|
108
|
+
className: f(m.props.className, e["fade-in"]),
|
|
109
|
+
level: d + 1
|
|
110
|
+
}) : m }, L)))
|
|
111
|
+
] });
|
|
112
|
+
}, W = ({ children: l, onClick: t, disabled: a, className: p, align: i = "left", width: _, ...o }) => {
|
|
113
|
+
const c = f(
|
|
114
|
+
e.td,
|
|
115
|
+
t && !a ? e["td__row-or-cell--clickable"] : a ? e["td__row-or-cell--disabled"] : "",
|
|
116
|
+
e[`cell--${i}-alignment`],
|
|
117
|
+
p
|
|
86
118
|
);
|
|
87
|
-
return /* @__PURE__ */ r("td", { ...
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
119
|
+
return /* @__PURE__ */ r("td", { ...o, className: c, style: { width: _ }, onClick: () => !a && (t == null ? void 0 : t()), children: /* @__PURE__ */ r("span", { className: e["td-wrapper"], children: l }) });
|
|
120
|
+
}, q = ({
|
|
121
|
+
children: l,
|
|
122
|
+
onSort: t,
|
|
123
|
+
sortType: a,
|
|
124
|
+
className: p,
|
|
125
|
+
classNameTooltip: i,
|
|
126
|
+
align: _ = "left",
|
|
127
|
+
width: o,
|
|
128
|
+
...c
|
|
129
|
+
}) => {
|
|
130
|
+
const { translations: w } = H(), [d, h] = C(!1), b = f(
|
|
131
|
+
e.th__wrapper,
|
|
132
|
+
d ? e["th__wrapper--pressed"] : "",
|
|
133
|
+
t ? e["th__wrapper--clickable"] : "",
|
|
134
|
+
p
|
|
94
135
|
);
|
|
95
|
-
return /* @__PURE__ */ r("th", { ...
|
|
96
|
-
|
|
136
|
+
return /* @__PURE__ */ r("th", { ...c, className: e[`cell--${_}-alignment`], style: o ? { width: o } : {}, children: /* @__PURE__ */ r("span", { className: b, onClick: t && (() => h(!d)), children: t ? /* @__PURE__ */ g(
|
|
137
|
+
k,
|
|
97
138
|
{
|
|
98
|
-
onClose: () =>
|
|
99
|
-
onSort:
|
|
100
|
-
show:
|
|
139
|
+
onClose: () => h(!1),
|
|
140
|
+
onSort: t,
|
|
141
|
+
show: d,
|
|
101
142
|
sortType: a,
|
|
102
|
-
className:
|
|
143
|
+
className: i,
|
|
103
144
|
t: w,
|
|
104
145
|
children: [
|
|
105
146
|
/* @__PURE__ */ r("span", { children: l }),
|
|
106
|
-
/* @__PURE__ */ r("span", { className:
|
|
147
|
+
/* @__PURE__ */ r("span", { className: e["th__sort-icon-container"], children: /* @__PURE__ */ r(I, { width: 12, height: 12 }) })
|
|
107
148
|
]
|
|
108
149
|
}
|
|
109
150
|
) : /* @__PURE__ */ r("span", { children: l }) }) });
|
|
110
151
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
152
|
+
s.THead = j;
|
|
153
|
+
s.THead.displayName = "Table.THead";
|
|
154
|
+
s.TBody = A;
|
|
155
|
+
s.TBody.displayName = "Table.TBody";
|
|
156
|
+
s.Tr = V;
|
|
157
|
+
s.Tr.displayName = "Table.Tr";
|
|
158
|
+
s.Td = W;
|
|
159
|
+
s.Td.displayName = "Table.Td";
|
|
160
|
+
s.Th = q;
|
|
161
|
+
s.Th.displayName = "Table.Th";
|
|
121
162
|
export {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
163
|
+
A as TBody,
|
|
164
|
+
j as THead,
|
|
165
|
+
s as Table,
|
|
166
|
+
W as Td,
|
|
167
|
+
q as Th,
|
|
168
|
+
V as Tr
|
|
128
169
|
};
|
|
@@ -27,3 +27,7 @@ type Story = StoryObj<typeof meta>;
|
|
|
27
27
|
export declare const Default: Story;
|
|
28
28
|
export declare const WithPagination: Story;
|
|
29
29
|
export declare const WithLanguage: Story;
|
|
30
|
+
export declare const WithCustomColumnWidths: Story;
|
|
31
|
+
export declare const WithExpandingRowAndNoLastRowBorder: Story;
|
|
32
|
+
export declare const WithMutiLevelExpandingRows: Story;
|
|
33
|
+
export declare const WithExpandingReactNode: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
3
3
|
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: ({ children, onClick, disabled, className, align, ...rest }: TdProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
component: ({ children, onClick, disabled, className, align, width, ...rest }: TdProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
@@ -3,7 +3,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
3
3
|
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: ({ children, onSort, sortType, className, classNameTooltip, align, ...rest }: ThProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
component: ({ children, onSort, sortType, className, classNameTooltip, align, width, ...rest }: ThProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
@@ -3,7 +3,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
3
3
|
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: ({ children, onClick, disabled, className, lastRow, ...rest }: TrProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
component: ({ children, onClick, disabled, className, lastRow, expandable, expandLabel, expandedRows, defaultExpanded, level, ...rest }: TrProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '../../assets/Tag.css';
|
|
2
1
|
import { jsx as c, jsxs as z } from "react/jsx-runtime";
|
|
3
2
|
import { useMemo as q } from "react";
|
|
4
3
|
import { c as i } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { Icon as g } from "../Icon/Icon.js";
|
|
6
|
-
const m = "_container_cza2q_1", e = {
|
|
5
|
+
import '../../assets/Tag.css';const m = "_container_cza2q_1", e = {
|
|
7
6
|
container: m,
|
|
8
7
|
"container--content": "_container--content_cza2q_9",
|
|
9
8
|
"container--content__icon": "_container--content__icon_cza2q_14",
|