@pismo/marola 1.1.6 → 1.1.9
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/Badge.css +1 -0
- package/dist/assets/Calendar.css +1 -1
- package/dist/assets/Table.css +1 -1
- package/dist/components/Badge/Badge.d.ts +10 -0
- package/dist/components/Badge/Badge.js +34 -0
- package/dist/components/Badge/Badge.stories.d.ts +14 -0
- package/dist/components/Badge/Badge.test.d.ts +1 -0
- package/dist/components/Calendar/Calendar.d.ts +2 -1
- package/dist/components/Calendar/Calendar.js +58 -37
- package/dist/components/Calendar/Calendar.stories.d.ts +2 -1
- package/dist/components/Table/Table.d.ts +26 -10
- package/dist/components/Table/Table.js +136 -94
- 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/main.d.ts +1 -0
- package/dist/main.js +99 -97
- package/dist/marola.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._badge-root_1nh6a_1{box-sizing:border-box;margin:0;padding:0;font-variant:tabular-nums;list-style:none;font-family:IBM Plex Sans,sans-serif;position:relative;display:inline-block;line-height:1}._badge_1nh6a_1{z-index:auto;position:absolute;top:.25rem;right:.5rem;min-width:1rem;height:1rem;color:#fff;font-weight:500;font-size:.75rem;line-height:1rem;white-space:nowrap;text-align:center;border-radius:50%;background-color:var(--error-text);transform:translate(50%,-50%);transform-origin:100% 0}._badge--red_1nh6a_31{background-color:var(--error-text)}._badge--green_1nh6a_34{background-color:var(--colors-brand-success-color-success)}._badge--blue_1nh6a_37{background-color:var(--colors-brand-primary-color-primary-active)}._badge--blueInvert_1nh6a_40{background-color:var(--colors-brand-primary-color-primary-bg);color:var(--colors-brand-primary-color-primary-active)}._badge--gray_1nh6a_44{background-color:rgb(from var(--black-100) r g b/.15);color:var(--black)}._badge--basic_1nh6a_48{background-color:#fff;color:var(--black);border:1px solid rgba(from var(--black-100) r g b/.06);line-height:.875rem}._badge--double_1nh6a_54{width:1.625rem;border-radius:100px}._badge--triple_1nh6a_58{width:2.5rem;border-radius:100px}._badge--medium_1nh6a_62{min-width:1.25rem;min-height:1.25rem;line-height:1.25rem}
|
package/dist/assets/Calendar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._calendar-
|
|
1
|
+
._calendar-wrapper_19bxk_1._mode-view_19bxk_1{display:flex;flex-wrap:wrap;transition:.3s}._calendar-wrapper_19bxk_1._mode-view_19bxk_1 ._calendar-day_19bxk_6{display:flex;flex-direction:column;min-height:5rem;padding:1rem;border:.0625rem solid var(--gray-25);border-top:0;border-right:0}._calendar-wrapper_19bxk_1._mode-view_19bxk_1 ._calendar-day_19bxk_6 ._day-number_19bxk_15{padding-bottom:.5rem;padding-left:.625rem;font-size:1rem;line-height:1.5rem;color:var(--gray-50)}._calendar-wrapper_19bxk_1._mode-view_19bxk_1 ._calendar-day_19bxk_6 ._day-id_19bxk_22{flex:1 1;min-width:5.6875rem;padding:0 .625rem;font-size:.875rem;color:var(--gray-75);border-top:none;border-right:none}._calendar-wrapper_19bxk_1._mode-view_19bxk_1 ._calendar-day_19bxk_6._day-active_19bxk_31 ._day-number_19bxk_15{font-weight:700;color:var(--gray-75)}._calendar-wrapper_19bxk_1._mode-edit_19bxk_36{display:flex;flex-wrap:wrap;transition:.3s}._calendar-wrapper_19bxk_1._mode-edit_19bxk_36 ._calendar-day_19bxk_6{display:flex;gap:.5rem;align-items:center;justify-content:center;width:5.188rem;height:3.5rem;margin:.88rem;cursor:pointer;background:var(--cream);border-radius:6px}._calendar-wrapper_19bxk_1._mode-edit_19bxk_36 ._calendar-day_19bxk_6 ._day-checkbox_19bxk_53{position:relative;width:1.5rem;height:1.5rem;border:1px solid var(--gray-25);border-radius:6px;transition:.3s}._calendar-wrapper_19bxk_1._mode-edit_19bxk_36 ._calendar-day_19bxk_6 ._day-number_19bxk_15{font-size:1rem;font-weight:700;color:var(--gray-75)}._calendar-wrapper_19bxk_1._mode-edit_19bxk_36 ._calendar-day_19bxk_6._day-active_19bxk_31 ._day-checkbox_19bxk_53{background-color:var(--blue-6);border:1px solid var(--blue-6);transition:.3s}._calendar-wrapper_19bxk_1._mode-edit_19bxk_36 ._calendar-day_19bxk_6._day-active_19bxk_31 ._day-checkbox_19bxk_53:after{position:absolute;top:5px;left:8px;box-sizing:content-box;width:4px;height:8px;content:"";border-right:2px solid var(--white-100);border-bottom:2px solid var(--white-100);transform:rotate(45deg)}._calendar-wrapper_19bxk_1._mode-edit_19bxk_36 ._calendar-day_19bxk_6._day-active_19bxk_31 ._day-number_19bxk_15{color:var(--blue-6)}._disabled-calendar_19bxk_87{pointer-events:none;filter:grayscale(1) opacity(.75);transition:.3s}
|
package/dist/assets/Table.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._table_r5070_1{color:var(--secondary-orange);border-spacing:0}._table--fixed_r5070_5{table-layout:fixed}._table--full-width_r5070_8{width:100%}._table--white-theme_r5070_11{background:var(--white-100)}._table--transparent-theme_r5070_14{background:transparent}._table_r5070_1 th._cell--left-alignment_r5070_17,._table_r5070_1 td._cell--left-alignment_r5070_17{text-align:left}._table_r5070_1 th._cell--center-alignment_r5070_21,._table_r5070_1 td._cell--center-alignment_r5070_21{text-align:center}._table_r5070_1 th._cell--right-alignment_r5070_25,._table_r5070_1 td._cell--right-alignment_r5070_25{text-align:right}._table_r5070_1 thead{font-size:.75rem;font-weight:900;line-height:1rem;color:var(--colors-neutral-text-color-text);text-transform:uppercase}._table_r5070_1 thead tr th{position:relative;align-items:center;height:3.5rem;padding:0 1rem;line-height:1rem;border-top:.0625rem solid var(--border-secondary);border-bottom:.0625rem solid var(--border-secondary)}._table_r5070_1 thead tr th ._th__wrapper_r5070_45>span,._table_r5070_1 thead tr th ._th__wrapper_r5070_45 span+span{display:inline-flex;align-items:center}._table_r5070_1 thead tr th ._th__wrapper--pressed_r5070_50{padding:.25rem .5rem;margin:0 -.5rem;background-color:var(--gray-10);border-radius:.375rem}._table_r5070_1 thead tr th ._th__wrapper--clickable_r5070_56{cursor:pointer}._table_r5070_1 thead tr th ._th__wrapper_r5070_45 ._th__sort-icon-container_r5070_59{padding-left:.25rem}._table_r5070_1 tbody{font-size:1rem;font-weight:400;line-height:1.3125rem;color:var(--colors-neutral-text-color-text)}._table_r5070_1 tbody tr:hover:not(._tr__row-or-cell--disabled_r5070_68){background-color:rgb(var(--gray-5-rgb),.5)}._table_r5070_1 tbody ._tr_r5070_68,._table_r5070_1 tbody ._td_r5070_72,._table_r5070_1 tbody ._expand-toggle_r5070_73{height:3.5rem;padding:0 1rem;line-height:var(--body-line-height);border-bottom:.0625rem solid var(--border-secondary)}._table_r5070_1 tbody ._tr__row-or-cell--clickable_r5070_79,._table_r5070_1 tbody ._td__row-or-cell--clickable_r5070_80,._table_r5070_1 tbody ._expand-toggle__row-or-cell--clickable_r5070_81{cursor:pointer}._table_r5070_1 tbody ._tr__row-or-cell--disabled_r5070_68,._table_r5070_1 tbody ._td__row-or-cell--disabled_r5070_85,._table_r5070_1 tbody ._expand-toggle__row-or-cell--disabled_r5070_86{background:var(--cream);filter:grayscale(1)}._table_r5070_1 tbody ._tr__row-or-cell--disabled_r5070_68 ._td-wrapper_r5070_90,._table_r5070_1 tbody ._td__row-or-cell--disabled_r5070_85 ._td-wrapper_r5070_90,._table_r5070_1 tbody ._expand-toggle__row-or-cell--disabled_r5070_86 ._td-wrapper_r5070_90{opacity:.25}._table_r5070_1 tbody ._tr_r5070_68 tr,._table_r5070_1 tbody ._td_r5070_72 tr,._table_r5070_1 tbody ._expand-toggle_r5070_73 tr{opacity:1;transition:opacity 1s ease-in-out}._table_r5070_1 tbody ._tr_r5070_68 tr._fade-in_r5070_101,._table_r5070_1 tbody ._td_r5070_72 tr._fade-in_r5070_101,._table_r5070_1 tbody ._expand-toggle_r5070_73 tr._fade-in_r5070_101{opacity:0}._table_r5070_1 tbody ._tr_r5070_68 tr._fade-in_r5070_101 td,._table_r5070_1 tbody ._td_r5070_72 tr._fade-in_r5070_101 td,._table_r5070_1 tbody ._expand-toggle_r5070_73 tr._fade-in_r5070_101 td{padding-top:0;padding-bottom:0;border-top-width:0;border-bottom-width:0}._table_r5070_1 tbody ._tr_r5070_68 td,._table_r5070_1 tbody ._td_r5070_72 td,._table_r5070_1 tbody ._expand-toggle_r5070_73 td{transition:padding 1s ease-in-out,border-width 1s ease-in-out}._table_r5070_1 tbody tr._tr--last-row_r5070_119 td{border-bottom:none}._fade-in_r5070_101{animation:_fadeIn_r5070_1 1s ease-in-out forwards}@keyframes _fadeIn_r5070_1{0%{opacity:0}to{opacity:1}}._expand-toggle_r5070_73{display:inline-flex;gap:.625rem;align-items:center;width:100%;margin-left:-.4rem;cursor:pointer;-webkit-user-select:none;user-select:none}._expand-toggle--expand-icon_r5070_144{transform:rotate(180deg)}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type BadgeProps = {
|
|
4
|
+
count: number;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
variant?: 'red' | 'green' | 'blue' | 'blueInvert' | 'gray' | 'basic';
|
|
7
|
+
size?: 'small' | 'medium';
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const Badge: ({ count, children, variant, size, className }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as l } from "react";
|
|
3
|
+
import { c as t } from "../../clsx-DB4S2d7J.js";
|
|
4
|
+
import '../../assets/Badge.css';const h = "_badge_1nh6a_1", e = {
|
|
5
|
+
"badge-root": "_badge-root_1nh6a_1",
|
|
6
|
+
badge: h,
|
|
7
|
+
"badge--red": "_badge--red_1nh6a_31",
|
|
8
|
+
"badge--green": "_badge--green_1nh6a_34",
|
|
9
|
+
"badge--blue": "_badge--blue_1nh6a_37",
|
|
10
|
+
"badge--blueInvert": "_badge--blueInvert_1nh6a_40",
|
|
11
|
+
"badge--gray": "_badge--gray_1nh6a_44",
|
|
12
|
+
"badge--basic": "_badge--basic_1nh6a_48",
|
|
13
|
+
"badge--double": "_badge--double_1nh6a_54",
|
|
14
|
+
"badge--triple": "_badge--triple_1nh6a_58",
|
|
15
|
+
"badge--medium": "_badge--medium_1nh6a_62"
|
|
16
|
+
}, p = ({ count: a, children: r, variant: d, size: b, className: g }) => {
|
|
17
|
+
const _ = a > 99 ? "triple" : a > 9 ? "double" : "single", s = l(
|
|
18
|
+
() => t([
|
|
19
|
+
e.badge,
|
|
20
|
+
e[`badge--${d}`],
|
|
21
|
+
e[`badge--${b}`],
|
|
22
|
+
e[`badge--${_}`],
|
|
23
|
+
g
|
|
24
|
+
]),
|
|
25
|
+
[g, d, b, _]
|
|
26
|
+
);
|
|
27
|
+
return /* @__PURE__ */ n("span", { className: e["badge-root"], children: [
|
|
28
|
+
r,
|
|
29
|
+
/* @__PURE__ */ o("span", { className: s, children: a > 999 ? "999+" : a })
|
|
30
|
+
] });
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
p as Badge
|
|
34
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BadgeProps } from '../../main';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ count, children, variant, size, className }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
tags: string[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,11 +9,12 @@ export type CalendarProps = {
|
|
|
9
9
|
totalDays?: number;
|
|
10
10
|
days?: Day[];
|
|
11
11
|
mode?: 'view' | 'edit';
|
|
12
|
+
disable?: boolean;
|
|
12
13
|
onChangeDay?: (args: {
|
|
13
14
|
changedDay: Day;
|
|
14
15
|
changedDayIndex?: number;
|
|
15
16
|
selectedDays: Day[];
|
|
16
17
|
}) => void;
|
|
17
18
|
};
|
|
18
|
-
declare const Calendar: ({ days, onChangeDay, mode, totalDays, className, ...rest }: CalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const Calendar: ({ days, onChangeDay, mode, totalDays, className, disable, ...rest }: CalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
export { Calendar };
|
|
@@ -1,43 +1,64 @@
|
|
|
1
1
|
import { jsx as s, jsxs as k } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import '../../assets/Calendar.css';const
|
|
4
|
-
"calendar-wrapper": "_calendar-
|
|
5
|
-
"mode-view": "_mode-
|
|
6
|
-
"calendar-day": "_calendar-
|
|
7
|
-
"day-number": "_day-
|
|
8
|
-
"day-id": "_day-
|
|
9
|
-
"day-active": "_day-
|
|
10
|
-
"mode-edit": "_mode-
|
|
11
|
-
"day-checkbox": "_day-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
import { c as b } from "../../clsx-DB4S2d7J.js";
|
|
3
|
+
import '../../assets/Calendar.css';const d = {
|
|
4
|
+
"calendar-wrapper": "_calendar-wrapper_19bxk_1",
|
|
5
|
+
"mode-view": "_mode-view_19bxk_1",
|
|
6
|
+
"calendar-day": "_calendar-day_19bxk_6",
|
|
7
|
+
"day-number": "_day-number_19bxk_15",
|
|
8
|
+
"day-id": "_day-id_19bxk_22",
|
|
9
|
+
"day-active": "_day-active_19bxk_31",
|
|
10
|
+
"mode-edit": "_mode-edit_19bxk_36",
|
|
11
|
+
"day-checkbox": "_day-checkbox_19bxk_53",
|
|
12
|
+
"disabled-calendar": "_disabled-calendar_19bxk_87"
|
|
13
|
+
}, f = ({
|
|
14
|
+
days: e = [],
|
|
15
|
+
onChangeDay: t,
|
|
16
|
+
mode: l = "view",
|
|
17
|
+
totalDays: v = 28,
|
|
18
|
+
className: n,
|
|
19
|
+
disable: o,
|
|
20
|
+
...m
|
|
21
|
+
}) => {
|
|
22
|
+
const p = (r, _) => {
|
|
23
|
+
let a = [...e];
|
|
24
|
+
_ !== void 0 ? r.active || r.id ? a[_] = r : a.splice(_, 1) : r.active && a.push(r), a = a.sort((c, i) => c.day - i.day), t == null || t({
|
|
25
|
+
changedDay: r,
|
|
26
|
+
changedDayIndex: _,
|
|
27
|
+
selectedDays: a
|
|
19
28
|
});
|
|
20
29
|
};
|
|
21
|
-
return /* @__PURE__ */ s(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
30
|
+
return /* @__PURE__ */ s(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
className: b(
|
|
34
|
+
d["calendar-wrapper"],
|
|
35
|
+
d[`mode-${l}`],
|
|
36
|
+
o && l === "edit" && d["disabled-calendar"],
|
|
37
|
+
n
|
|
38
|
+
),
|
|
39
|
+
...m,
|
|
40
|
+
children: new Array(v).fill(null).map((r, _) => {
|
|
41
|
+
const a = _ + 1, c = e.findIndex((x) => x.day === a), i = c >= 0 ? e[c] : void 0;
|
|
42
|
+
return /* @__PURE__ */ k(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
className: b(d["calendar-day"], (i == null ? void 0 : i.active) && d["day-active"]),
|
|
46
|
+
onClick: l === "edit" ? () => p(
|
|
47
|
+
{ day: a, id: i == null ? void 0 : i.id, active: !(i != null && i.active) },
|
|
48
|
+
c >= 0 ? c : void 0
|
|
49
|
+
) : void 0,
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ s("span", { className: d["day-checkbox"] }),
|
|
52
|
+
/* @__PURE__ */ s("span", { className: d["day-number"], children: String(a).padStart(2, "0") }),
|
|
53
|
+
l === "view" && /* @__PURE__ */ s("span", { className: d["day-id"], children: i != null && i.id && (i != null && i.active) ? `ID: ${i == null ? void 0 : i.id}` : "" })
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
_
|
|
57
|
+
);
|
|
58
|
+
})
|
|
59
|
+
}
|
|
60
|
+
);
|
|
40
61
|
};
|
|
41
62
|
export {
|
|
42
|
-
|
|
63
|
+
f as Calendar
|
|
43
64
|
};
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ days, onChangeDay, mode, totalDays, className, ...rest }: import('./Calendar').CalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
component: ({ days, onChangeDay, mode, totalDays, className, disable, ...rest }: import('./Calendar').CalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
parameters: {
|
|
8
8
|
layout: string;
|
|
@@ -12,3 +12,4 @@ export default meta;
|
|
|
12
12
|
type Story = StoryObj<typeof meta>;
|
|
13
13
|
export declare const CalendarViewMode: Story;
|
|
14
14
|
export declare const CalendarEditMode: Story;
|
|
15
|
+
export declare const CalendarDisable: Story;
|
|
@@ -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,39 +1,45 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { c as
|
|
5
|
-
import { paginationDefaultTranslations as
|
|
6
|
-
import { sortTooltipDefaultTranslations as
|
|
7
|
-
import { TableProvider as
|
|
8
|
-
import '../../assets/Table.css';const
|
|
9
|
-
table:
|
|
10
|
-
"table--fixed": "_table--
|
|
11
|
-
"table--full-width": "_table--full-
|
|
12
|
-
"table--white-theme": "_table--white-
|
|
13
|
-
"table--transparent-theme": "_table--transparent-
|
|
14
|
-
"cell--left-alignment": "_cell--left-
|
|
15
|
-
"cell--center-alignment": "_cell--center-
|
|
16
|
-
"cell--right-alignment": "_cell--right-
|
|
17
|
-
th__wrapper:
|
|
18
|
-
"th__wrapper--pressed": "_th__wrapper--
|
|
19
|
-
"th__wrapper--clickable": "_th__wrapper--
|
|
20
|
-
"th__sort-icon-container": "_th__sort-icon-
|
|
21
|
-
"tr__row-or-cell--disabled": "_tr__row-or-cell--
|
|
22
|
-
tr:
|
|
23
|
-
td:
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"td__row-or-cell--
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
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 = {
|
|
30
36
|
pt: {
|
|
31
|
-
...
|
|
32
|
-
...
|
|
37
|
+
...x.pt,
|
|
38
|
+
...u.pt
|
|
33
39
|
},
|
|
34
40
|
en: {
|
|
35
|
-
...
|
|
36
|
-
...
|
|
41
|
+
...x.en,
|
|
42
|
+
...u.en
|
|
37
43
|
},
|
|
38
44
|
// example to add a new language translation
|
|
39
45
|
es: {
|
|
@@ -45,83 +51,119 @@ import '../../assets/Table.css';const C = (l) => /* @__PURE__ */ i.createElement
|
|
|
45
51
|
of: "de",
|
|
46
52
|
results: "resultados"
|
|
47
53
|
}
|
|
48
|
-
},
|
|
54
|
+
}, s = ({
|
|
49
55
|
children: l,
|
|
50
|
-
theme:
|
|
56
|
+
theme: t = "white",
|
|
51
57
|
fullWidth: a = !0,
|
|
52
|
-
className:
|
|
53
|
-
paginationProps:
|
|
54
|
-
isFixed:
|
|
55
|
-
language:
|
|
56
|
-
translations:
|
|
57
|
-
...
|
|
58
|
+
className: p,
|
|
59
|
+
paginationProps: i,
|
|
60
|
+
isFixed: _,
|
|
61
|
+
language: o,
|
|
62
|
+
translations: c,
|
|
63
|
+
...w
|
|
58
64
|
}) => {
|
|
59
|
-
const d =
|
|
60
|
-
|
|
61
|
-
a &&
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
),
|
|
66
|
-
return /* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */ r("table", { ...
|
|
68
|
-
|
|
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 })
|
|
69
75
|
] });
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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"],
|
|
74
95
|
// Optionally remove border bottom on last row
|
|
75
|
-
|
|
76
|
-
|
|
96
|
+
i && e["tr--last-row"],
|
|
97
|
+
p
|
|
77
98
|
);
|
|
78
|
-
return /* @__PURE__ */
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|
85
118
|
);
|
|
86
|
-
return /* @__PURE__ */ r("td", { ...
|
|
87
|
-
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
|
93
135
|
);
|
|
94
|
-
return /* @__PURE__ */ r("th", { ...
|
|
95
|
-
|
|
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,
|
|
96
138
|
{
|
|
97
|
-
onClose: () =>
|
|
98
|
-
onSort:
|
|
99
|
-
show:
|
|
139
|
+
onClose: () => h(!1),
|
|
140
|
+
onSort: t,
|
|
141
|
+
show: d,
|
|
100
142
|
sortType: a,
|
|
101
|
-
className:
|
|
143
|
+
className: i,
|
|
102
144
|
t: w,
|
|
103
145
|
children: [
|
|
104
146
|
/* @__PURE__ */ r("span", { children: l }),
|
|
105
|
-
/* @__PURE__ */ r("span", { className:
|
|
147
|
+
/* @__PURE__ */ r("span", { className: e["th__sort-icon-container"], children: /* @__PURE__ */ r(I, { width: 12, height: 12 }) })
|
|
106
148
|
]
|
|
107
149
|
}
|
|
108
150
|
) : /* @__PURE__ */ r("span", { children: l }) }) });
|
|
109
151
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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";
|
|
120
162
|
export {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
163
|
+
A as TBody,
|
|
164
|
+
j as THead,
|
|
165
|
+
s as Table,
|
|
166
|
+
W as Td,
|
|
167
|
+
q as Th,
|
|
168
|
+
V as Tr
|
|
127
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;
|
package/dist/main.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './components/Advice/Advice';
|
|
|
7
7
|
export * from './components/Alert/Alert';
|
|
8
8
|
export * from './components/Autocomplete/Autocomplete';
|
|
9
9
|
export * from './components/Avatar/Avatar';
|
|
10
|
+
export * from './components/Badge/Badge';
|
|
10
11
|
export * from './components/BankCard/BankCard';
|
|
11
12
|
export * from './components/Button/Button';
|
|
12
13
|
export * from './components/Calendar/Calendar';
|
package/dist/main.js
CHANGED
|
@@ -3,107 +3,109 @@ import { Advice as p } from "./components/Advice/Advice.js";
|
|
|
3
3
|
import { Alert as f } from "./components/Alert/Alert.js";
|
|
4
4
|
import { Autocomplete as m } from "./components/Autocomplete/Autocomplete.js";
|
|
5
5
|
import { Avatar as l } from "./components/Avatar/Avatar.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { default as Vo } from "./components/Dialog/
|
|
43
|
-
import { default as Yo } from "./components/Dialog/
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
6
|
+
import { Badge as T } from "./components/Badge/Badge.js";
|
|
7
|
+
import { BankCard as c } from "./components/BankCard/BankCard.js";
|
|
8
|
+
import { Button as u } from "./components/Button/Button.js";
|
|
9
|
+
import { Calendar as d } from "./components/Calendar/Calendar.js";
|
|
10
|
+
import { Checkbox as b } from "./components/Checkbox/Checkbox.js";
|
|
11
|
+
import { C as h, R as D, T as A } from "./Toggle-BuZjueQ7.js";
|
|
12
|
+
import { ConfirmationDialog as I } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
13
|
+
import { Description as P } from "./components/Description/Description.js";
|
|
14
|
+
import { Dialog as y } from "./components/Dialog/Dialog.js";
|
|
15
|
+
import { EllipsisTooltip as w } from "./components/EllipsisTooltip/EllipsisTooltip.js";
|
|
16
|
+
import { Icon as E } from "./components/Icon/Icon.js";
|
|
17
|
+
import { IconButton as N } from "./components/IconButton/IconButton.js";
|
|
18
|
+
import { Input as W } from "./components/Input/Input.js";
|
|
19
|
+
import { InputSearch as q } from "./components/InputSearch/InputSearch.js";
|
|
20
|
+
import { LoadingSpinner as F } from "./components/LoadingSpinner/LoadingSpinner.js";
|
|
21
|
+
import { PageHeader as K } from "./components/PageHeader/PageHeader.js";
|
|
22
|
+
import { Pagination as Q, paginationDefaultTranslations as U } from "./components/Pagination/Pagination.js";
|
|
23
|
+
import { Popover as X } from "./components/Popover/Popover.js";
|
|
24
|
+
import { RadioButton as Z } from "./components/RadioButton/RadioButton.js";
|
|
25
|
+
import { ResultWithChips as $ } from "./components/ResultWithChips/ResultWithChips.js";
|
|
26
|
+
import { Select as ro, SelectContext as eo, SelectOption as to, useSelectContext as po } from "./components/Select/Select.js";
|
|
27
|
+
import { Skeleton as fo, SkeletonCircle as xo, SkeletonTable as mo } from "./components/Skeleton/Skeleton.js";
|
|
28
|
+
import { Snackbar as lo } from "./components/Snackbar/Snackbar.js";
|
|
29
|
+
import { SortTooltip as To, sortTooltipDefaultTranslations as so } from "./components/SortTooltip/SortTooltip.js";
|
|
30
|
+
import { Stepper as go } from "./components/Stepper/Stepper.js";
|
|
31
|
+
import { StepperNavigator as So } from "./components/StepperNavigator/StepperNavigator.js";
|
|
32
|
+
import { TBody as bo, THead as ko, Table as ho, Td as Do, Th as Ao, Tr as Bo } from "./components/Table/Table.js";
|
|
33
|
+
import { Tabs as vo } from "./components/Tabs/Tabs.js";
|
|
34
|
+
import { Tag as Ro } from "./components/Tag/Tag.js";
|
|
35
|
+
import { TextDisplay as Go } from "./components/TextDisplay/TextDisplay.js";
|
|
36
|
+
import { Toggle as Ho } from "./components/Toggle/Toggle.js";
|
|
37
|
+
import { G as Lo } from "./Group-ZXteFV4M.js";
|
|
38
|
+
import { Tooltip as Oo } from "./components/Tooltip/Tooltip.js";
|
|
39
|
+
import { TransactionRow as jo } from "./components/TransactionRow/TransactionRow.js";
|
|
40
|
+
import { Text as zo, Typography as Fo } from "./components/Typography/Typography.js";
|
|
41
|
+
import { SnackbarContext as Ko, SnackbarProvider as Mo, useSnackbar as Qo } from "./contexts/SnackbarProvider/SnackbarProvider.js";
|
|
42
|
+
import { default as Vo } from "./components/Dialog/DialogTitle.js";
|
|
43
|
+
import { default as Yo } from "./components/Dialog/Content.js";
|
|
44
|
+
import { default as _o } from "./components/Dialog/Actions.js";
|
|
45
|
+
import { Tab as or } from "./components/Tabs/Tab.js";
|
|
46
|
+
import { TabPanel as er } from "./components/Tabs/TabPanel.js";
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
+
_o as Actions,
|
|
48
49
|
e as Adornment,
|
|
49
50
|
p as Advice,
|
|
50
51
|
f as Alert,
|
|
51
52
|
m as Autocomplete,
|
|
52
53
|
l as Avatar,
|
|
53
|
-
T as
|
|
54
|
-
c as
|
|
55
|
-
u as
|
|
56
|
-
d as
|
|
57
|
-
b as
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
P as
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
w as
|
|
65
|
-
E as
|
|
66
|
-
N as
|
|
67
|
-
W as
|
|
68
|
-
q as
|
|
69
|
-
F as
|
|
70
|
-
K as
|
|
71
|
-
|
|
72
|
-
X as
|
|
73
|
-
Z as
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
mo as
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
go as
|
|
87
|
-
So as
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
or as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
Ho as
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
54
|
+
T as Badge,
|
|
55
|
+
c as BankCard,
|
|
56
|
+
u as Button,
|
|
57
|
+
d as Calendar,
|
|
58
|
+
b as Checkbox,
|
|
59
|
+
h as Chip,
|
|
60
|
+
I as ConfirmationDialog,
|
|
61
|
+
Yo as Content,
|
|
62
|
+
P as Description,
|
|
63
|
+
y as Dialog,
|
|
64
|
+
Vo as DialogTitle,
|
|
65
|
+
w as EllipsisTooltip,
|
|
66
|
+
E as Icon,
|
|
67
|
+
N as IconButton,
|
|
68
|
+
W as Input,
|
|
69
|
+
q as InputSearch,
|
|
70
|
+
F as LoadingSpinner,
|
|
71
|
+
K as PageHeader,
|
|
72
|
+
Q as Pagination,
|
|
73
|
+
X as Popover,
|
|
74
|
+
Z as RadioButton,
|
|
75
|
+
$ as ResultWithChips,
|
|
76
|
+
D as RowItem,
|
|
77
|
+
ro as Select,
|
|
78
|
+
eo as SelectContext,
|
|
79
|
+
to as SelectOption,
|
|
80
|
+
fo as Skeleton,
|
|
81
|
+
xo as SkeletonCircle,
|
|
82
|
+
mo as SkeletonTable,
|
|
83
|
+
lo as Snackbar,
|
|
84
|
+
Ko as SnackbarContext,
|
|
85
|
+
Mo as SnackbarProvider,
|
|
86
|
+
To as SortTooltip,
|
|
87
|
+
go as Stepper,
|
|
88
|
+
So as StepperNavigator,
|
|
89
|
+
bo as TBody,
|
|
90
|
+
ko as THead,
|
|
91
|
+
or as Tab,
|
|
92
|
+
er as TabPanel,
|
|
93
|
+
ho as Table,
|
|
94
|
+
vo as Tabs,
|
|
95
|
+
Ro as Tag,
|
|
96
|
+
Do as Td,
|
|
97
|
+
zo as Text,
|
|
98
|
+
Go as TextDisplay,
|
|
99
|
+
Ao as Th,
|
|
100
|
+
Ho as Toggle,
|
|
101
|
+
Lo as ToggleGroup,
|
|
102
|
+
A as ToggleGroupItem,
|
|
103
|
+
Oo as Tooltip,
|
|
104
|
+
Bo as Tr,
|
|
105
|
+
jo as TransactionRow,
|
|
106
|
+
Fo as Typography,
|
|
107
|
+
U as paginationDefaultTranslations,
|
|
108
|
+
so as sortTooltipDefaultTranslations,
|
|
109
|
+
po as useSelectContext,
|
|
110
|
+
Qo as useSnackbar
|
|
109
111
|
};
|
package/dist/marola.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--secondary-orange: #ffa945;--secondary-orange-rgb: 255, 169, 69;--secondary-orange-dark: #fe8d53;--secondary-orange-dark-rgb: 254, 141, 83;--secondary-orange-light: #525061;--secondary-orange-light-rgb: 82, 80, 97;--secondary-green: #99dec3;--secondary-green-rgb: 153, 222, 195;--secondary-green-dark: #6acbb1;--secondary-green-dark-rgb: 106, 203, 177;--secondary-green-darker: #31aa7e;--secondary-green-darker-rgb: 49, 170, 126;--secondary-green-light: #baedd9;--secondary-green-light-rgb: 186, 237, 217;--accent: #1897f3;--accent-rgb: 24, 151, 243;--accent-dark: #1672c7;--accent-dark-rgb: 22, 114, 199;--accent-light: #4fb1f9;--accent-light-rgb: 79, 177, 249;--accent-lighter: #8ae1fd;--accent-lighter-rgb: 138, 225, 253;--alert: #df4561;--alert-rgb: 223, 69, 97;--alert-dark: #bb2b45;--alert-dark-rgb: 187, 43, 69;--accent-alert-light: #f37c91;--accent-alert-light-rgb: 243, 124, 145;--cream: #fafafa;--cream-rgb: 250, 250, 250;--hover: #42b7ff;--hover-rgb: 66, 183, 255;--active: #0a75cc;--active-rgb: 10, 117, 204;--border: #d9d9d9;--border-rgb: 217, 217, 217;--border-secondary: #f0f0f0;--border-secondary-rgb: 240, 240, 240;--error-background: #fff2f0;--error-background-rgb: 255, 242, 240;--error-border: #ffccc7;--error-border-rgb: 255, 204, 199;--error-text: #d9363e;--error-text-rgb: 217, 54, 62;--success-text: #045440;--success-text-rgb: 4, 84, 64;--warning-text: #874d00;--warning-text-rgb: 135, 77, 0;--warning: #faad14;--warning-rgb: 250, 173, 20;--avatar-background: rgba(63, 61, 75, .2509803922);--avatar-background-rgb: 63, 61, 75}:root{--gray-100: #16161e;--gray-100-rgb: 22, 22, 30;--gray-95: #3f3d4b;--gray-95-rgb: 63, 61, 75;--gray-90: #525061;--gray-90-rgb: 82, 80, 97;--gray-75: #838192;--gray-75-rgb: 131, 129, 146;--gray-50: #bcbac8;--gray-50-rgb: 188, 186, 200;--gray-25: #dbdae2;--gray-25-rgb: 219, 218, 226;--gray-10: #ebeaf0;--gray-10-rgb: 235, 234, 240;--gray-5: #f7f7fc;--gray-5-rgb: 247, 247, 252;--black-100: #000000;--black-100-rgb: 0, 0, 0;--black-75: #616161;--black-75-rgb: 97, 97, 97;--black-50: #838192;--black-50-rgb: 131, 129, 146;--black-25: #bcbac8;--black-25-rgb: 188, 186, 200;--black-10: #ebeaf0;--black-10-rgb: 235, 234, 240;--white-100: #ffffff;--white-100-rgb: 255, 255, 255;--green-1: #f0fff7;--green-1-rgb: 240, 255, 247;--green-3: #a1edcb;--green-3-rgb: 161, 237, 203;--green-6: #28c88f;--green-6-rgb: 40, 200, 143;--blue-1: #e6f9ff;--blue-1-rgb: 230, 249, 255;--blue-3: #94ddff;--blue-3-rgb: 148, 221, 255;--blue-6: #1897f3;--blue-6-rgb: 24, 151, 243;--gold-1: #fffbe6;--gold-1-rgb: 255, 251, 230;--gold-3: #ffe58f;--gold-3-rgb: 255, 229, 143;--gold-6: #faad14;--gold-6-rgb: 250, 173, 20;--magenta-1: #fff0f6;--magenta-1-rgb: 255, 240, 246;--magenta-3: #ffadd2;--magenta-3-rgb: 255, 173, 210;--magenta-6: #eb2f96;--magenta-6-rgb: 235, 47, 150;--cyan-1: #e6fffb;--cyan-1-rgb: 230, 255, 251;--cyan-3: #87e8de;--cyan-3-rgb: 135, 232, 222;--cyan-6: #13c2c2;--cyan-6-rgb: 19, 194, 194;--geek-blue-1: #f0f5ff;--geek-blue-1-rgb: 240, 245, 255;--geek-blue-3: #adc6ff;--geek-blue-3-rgb: 173, 198, 255;--geek-blue-5: #597ef7;--geek-blue-5-rgb: 89, 126, 247;--geek-blue-6: #2f54eb;--geek-blue-6-rgb: 47, 84, 235;--lime-1: #fcffe6;--lime-1-rgb: 252, 255, 230;--lime-3: #eaff8f;--lime-3-rgb: 234, 255, 143;--lime-6: #a0d911;--lime-6-rgb: 160, 217, 17;--orange-1: #fffaf0;--orange-1-rgb: 255, 250, 240;--orange-3: #ffe8bf;--orange-3-rgb: 255, 232, 191;--orange-6: #ffa945;--orange-6-rgb: 255, 169, 69;--purple-1: #f9f0ff;--purple-1-rgb: 249, 240, 255;--purple-3: #d3adf7;--purple-3-rgb: 211, 173, 247;--purple-6: #722ed1;--purple-6-rgb: 114, 46, 209;--red-1: #fff0f0;--red-1-rgb: 255, 240, 240;--red-3: #fcbdc3;--red-3-rgb: 252, 189, 195;--red-6: #d53a56;--red-6-rgb: 213, 58, 86;--volcano-1: #fff2e8;--volcano-1-rgb: 255, 242, 232;--volcano-3: #ffbb96;--volcano-3-rgb: 255, 187, 150;--volcano-6: #fa541c;--volcano-6-rgb: 250, 84, 28}:root{--heading-font-weight: 700;--heading-font-size-1: 3.75rem;--heading-line-height-1: 4.875rem;--heading-font-size-2: 3rem;--heading-line-height-2: 4rem;--heading-font-size-3: 2.25rem;--heading-line-height-3: 2.875rem;--heading-font-size-4: 1.875rem;--heading-line-height-4: 2.375rem;--heading-font-size-5: 1.5rem;--heading-line-height-5: 2rem;--heading-font-size-6: 1.25rem;--heading-line-height-6: 1.75rem;--base-font-size: .875rem;--base-line-height: 1.375rem;--base-weight: 400;--base-bold: 700;--base-font-size-sm: .75rem;--base-line-height-sm: 1.25rem;--base-font-size-lg: 1rem;--base-line-height-lg: 1.5rem;--base-font-size-xl: 1.25rem;--base-line-height-xl: 1.75rem;--base-font-size-xxl: 1.5rem;--base-line-height-xxl: 2rem}:root{--heading-font-weight: 700;--heading-font-size-xl: 3.75rem;--heading-line-height-xl: 4.875rem;--heading-font-size-l: 3rem;--heading-line-height-l: 3.9375rem;--heading-font-size: 2.25rem;--heading-line-height: 2.875rem;--heading-font-size-s: 1.5rem;--heading-line-height-s: 2rem;--body-font-size: 1rem;--body-line-height: 1.3125rem;--body-weight: normal;--body-bold: bold;--body-font-size-large: 1.5rem;--body-line-height-large: 1.625rem;--body-font-size-medium: 1.125;--body-line-height-medium: 1rem;--body-font-size-small: .875rem;--body-line-height-small: 1.125rem;--body-font-size-tiny: .75rem;--body-line-height-tiny: 1rem;--quote-font-size-large: 1.5rem;--quote-line-height-large: 2rem;--quote-font-weight-large: normal;--quote-font-size: 1rem;--quote-line-height: 1.3125rem;--quote-font-weight: normal;--form-input-font-size: 1rem;--form-input-line-height: 1.3125rem;--form-input-font-weight: bold;--form-hint-font-size: .875rem;--form-hint-line-height: 1.3125rem;--form-hint-font-weight: normal;--form-label-font-size: .875rem;--form-label-line-height: 1.3125rem;--form-label-font-weight: normal;--form-dropdown-font-size: 1rem;--form-dropdown-line-height: 1.3125rem;--form-dropdown-font-weight: normal;--table-font-size: .875rem;--table-line-height: 1.0625rem;--table-header-font-weight: bold;--table-body-font-weight: normal;--table-body-secondary-line-height: 1.3125rem;--button-font-size: 1rem;--button-line-height: 1.25rem;--button-font-weight: bold;--font-size-small: .75rem;--font-weight-small: 400;--font-line-height-small: 1.25rem;--font-weight-700: 700}:root{--spacing: 8px;--border-radius: 6px;--border-radius-soft: 4px;--transition-soft: .3s;--transition-long: .75s}*{box-sizing:border-box}:root{--border-radius-border-radius: .375rem;--size-base-size: 1rem;--size-base-size-sm: .75rem;--colors-base-green-3: #a1edcb;--colors-brand-success-color-success-border: var(--colors-base-green-3);--colors-base-green-1: #f0fff7;--colors-brand-success-color-success-bg: var(--colors-base-green-1);--colors-brand-error-color-error-border: #ffccc7;--colors-brand-error-color-error-bg: #fff2f0;--colors-brand-error-color-error-hover: #ff7875;--colors-brand-error-color-error-active: #d9363e;--colors-brand-error-color-error: #ff4d4f;--colors-base-gold-3: #ffe58f;--colors-brand-warning-color-warning-border: var(--colors-base-gold-3);--colors-base-gold-1: #fffbe6;--colors-brand-warning-color-warning-bg: var(--colors-base-gold-1);--colors-base-blue-3: #94ddff;--colors-brand-primary-color-primary-border: var(--colors-base-blue-3);--colors-brand-info-color-info-border: var(--colors-brand-primary-color-primary-border);--colors-
|
|
1
|
+
:root{--secondary-orange: #ffa945;--secondary-orange-rgb: 255, 169, 69;--secondary-orange-dark: #fe8d53;--secondary-orange-dark-rgb: 254, 141, 83;--secondary-orange-light: #525061;--secondary-orange-light-rgb: 82, 80, 97;--secondary-green: #99dec3;--secondary-green-rgb: 153, 222, 195;--secondary-green-dark: #6acbb1;--secondary-green-dark-rgb: 106, 203, 177;--secondary-green-darker: #31aa7e;--secondary-green-darker-rgb: 49, 170, 126;--secondary-green-light: #baedd9;--secondary-green-light-rgb: 186, 237, 217;--accent: #1897f3;--accent-rgb: 24, 151, 243;--accent-dark: #1672c7;--accent-dark-rgb: 22, 114, 199;--accent-light: #4fb1f9;--accent-light-rgb: 79, 177, 249;--accent-lighter: #8ae1fd;--accent-lighter-rgb: 138, 225, 253;--alert: #df4561;--alert-rgb: 223, 69, 97;--alert-dark: #bb2b45;--alert-dark-rgb: 187, 43, 69;--accent-alert-light: #f37c91;--accent-alert-light-rgb: 243, 124, 145;--cream: #fafafa;--cream-rgb: 250, 250, 250;--hover: #42b7ff;--hover-rgb: 66, 183, 255;--active: #0a75cc;--active-rgb: 10, 117, 204;--border: #d9d9d9;--border-rgb: 217, 217, 217;--border-secondary: #f0f0f0;--border-secondary-rgb: 240, 240, 240;--error-background: #fff2f0;--error-background-rgb: 255, 242, 240;--error-border: #ffccc7;--error-border-rgb: 255, 204, 199;--error-text: #d9363e;--error-text-rgb: 217, 54, 62;--success-text: #045440;--success-text-rgb: 4, 84, 64;--warning-text: #874d00;--warning-text-rgb: 135, 77, 0;--warning: #faad14;--warning-rgb: 250, 173, 20;--avatar-background: rgba(63, 61, 75, .2509803922);--avatar-background-rgb: 63, 61, 75}:root{--gray-100: #16161e;--gray-100-rgb: 22, 22, 30;--gray-95: #3f3d4b;--gray-95-rgb: 63, 61, 75;--gray-90: #525061;--gray-90-rgb: 82, 80, 97;--gray-75: #838192;--gray-75-rgb: 131, 129, 146;--gray-50: #bcbac8;--gray-50-rgb: 188, 186, 200;--gray-25: #dbdae2;--gray-25-rgb: 219, 218, 226;--gray-10: #ebeaf0;--gray-10-rgb: 235, 234, 240;--gray-5: #f7f7fc;--gray-5-rgb: 247, 247, 252;--black-100: #000000;--black-100-rgb: 0, 0, 0;--black-75: #616161;--black-75-rgb: 97, 97, 97;--black-50: #838192;--black-50-rgb: 131, 129, 146;--black-25: #bcbac8;--black-25-rgb: 188, 186, 200;--black-10: #ebeaf0;--black-10-rgb: 235, 234, 240;--white-100: #ffffff;--white-100-rgb: 255, 255, 255;--green-1: #f0fff7;--green-1-rgb: 240, 255, 247;--green-3: #a1edcb;--green-3-rgb: 161, 237, 203;--green-6: #28c88f;--green-6-rgb: 40, 200, 143;--blue-1: #e6f9ff;--blue-1-rgb: 230, 249, 255;--blue-3: #94ddff;--blue-3-rgb: 148, 221, 255;--blue-6: #1897f3;--blue-6-rgb: 24, 151, 243;--gold-1: #fffbe6;--gold-1-rgb: 255, 251, 230;--gold-3: #ffe58f;--gold-3-rgb: 255, 229, 143;--gold-6: #faad14;--gold-6-rgb: 250, 173, 20;--magenta-1: #fff0f6;--magenta-1-rgb: 255, 240, 246;--magenta-3: #ffadd2;--magenta-3-rgb: 255, 173, 210;--magenta-6: #eb2f96;--magenta-6-rgb: 235, 47, 150;--cyan-1: #e6fffb;--cyan-1-rgb: 230, 255, 251;--cyan-3: #87e8de;--cyan-3-rgb: 135, 232, 222;--cyan-6: #13c2c2;--cyan-6-rgb: 19, 194, 194;--geek-blue-1: #f0f5ff;--geek-blue-1-rgb: 240, 245, 255;--geek-blue-3: #adc6ff;--geek-blue-3-rgb: 173, 198, 255;--geek-blue-5: #597ef7;--geek-blue-5-rgb: 89, 126, 247;--geek-blue-6: #2f54eb;--geek-blue-6-rgb: 47, 84, 235;--lime-1: #fcffe6;--lime-1-rgb: 252, 255, 230;--lime-3: #eaff8f;--lime-3-rgb: 234, 255, 143;--lime-6: #a0d911;--lime-6-rgb: 160, 217, 17;--orange-1: #fffaf0;--orange-1-rgb: 255, 250, 240;--orange-3: #ffe8bf;--orange-3-rgb: 255, 232, 191;--orange-6: #ffa945;--orange-6-rgb: 255, 169, 69;--purple-1: #f9f0ff;--purple-1-rgb: 249, 240, 255;--purple-3: #d3adf7;--purple-3-rgb: 211, 173, 247;--purple-6: #722ed1;--purple-6-rgb: 114, 46, 209;--red-1: #fff0f0;--red-1-rgb: 255, 240, 240;--red-3: #fcbdc3;--red-3-rgb: 252, 189, 195;--red-6: #d53a56;--red-6-rgb: 213, 58, 86;--volcano-1: #fff2e8;--volcano-1-rgb: 255, 242, 232;--volcano-3: #ffbb96;--volcano-3-rgb: 255, 187, 150;--volcano-6: #fa541c;--volcano-6-rgb: 250, 84, 28}:root{--heading-font-weight: 700;--heading-font-size-1: 3.75rem;--heading-line-height-1: 4.875rem;--heading-font-size-2: 3rem;--heading-line-height-2: 4rem;--heading-font-size-3: 2.25rem;--heading-line-height-3: 2.875rem;--heading-font-size-4: 1.875rem;--heading-line-height-4: 2.375rem;--heading-font-size-5: 1.5rem;--heading-line-height-5: 2rem;--heading-font-size-6: 1.25rem;--heading-line-height-6: 1.75rem;--base-font-size: .875rem;--base-line-height: 1.375rem;--base-weight: 400;--base-bold: 700;--base-font-size-sm: .75rem;--base-line-height-sm: 1.25rem;--base-font-size-lg: 1rem;--base-line-height-lg: 1.5rem;--base-font-size-xl: 1.25rem;--base-line-height-xl: 1.75rem;--base-font-size-xxl: 1.5rem;--base-line-height-xxl: 2rem}:root{--heading-font-weight: 700;--heading-font-size-xl: 3.75rem;--heading-line-height-xl: 4.875rem;--heading-font-size-l: 3rem;--heading-line-height-l: 3.9375rem;--heading-font-size: 2.25rem;--heading-line-height: 2.875rem;--heading-font-size-s: 1.5rem;--heading-line-height-s: 2rem;--body-font-size: 1rem;--body-line-height: 1.3125rem;--body-weight: normal;--body-bold: bold;--body-font-size-large: 1.5rem;--body-line-height-large: 1.625rem;--body-font-size-medium: 1.125;--body-line-height-medium: 1rem;--body-font-size-small: .875rem;--body-line-height-small: 1.125rem;--body-font-size-tiny: .75rem;--body-line-height-tiny: 1rem;--quote-font-size-large: 1.5rem;--quote-line-height-large: 2rem;--quote-font-weight-large: normal;--quote-font-size: 1rem;--quote-line-height: 1.3125rem;--quote-font-weight: normal;--form-input-font-size: 1rem;--form-input-line-height: 1.3125rem;--form-input-font-weight: bold;--form-hint-font-size: .875rem;--form-hint-line-height: 1.3125rem;--form-hint-font-weight: normal;--form-label-font-size: .875rem;--form-label-line-height: 1.3125rem;--form-label-font-weight: normal;--form-dropdown-font-size: 1rem;--form-dropdown-line-height: 1.3125rem;--form-dropdown-font-weight: normal;--table-font-size: .875rem;--table-line-height: 1.0625rem;--table-header-font-weight: bold;--table-body-font-weight: normal;--table-body-secondary-line-height: 1.3125rem;--button-font-size: 1rem;--button-line-height: 1.25rem;--button-font-weight: bold;--font-size-small: .75rem;--font-weight-small: 400;--font-line-height-small: 1.25rem;--font-weight-700: 700}:root{--spacing: 8px;--border-radius: 6px;--border-radius-soft: 4px;--transition-soft: .3s;--transition-long: .75s}*{box-sizing:border-box}:root{--border-radius-border-radius: .375rem;--size-base-size: 1rem;--size-base-size-sm: .75rem;--colors-base-green-3: #a1edcb;--colors-brand-success-color-success-border: var(--colors-base-green-3);--colors-base-green-1: #f0fff7;--colors-brand-success-color-success-bg: var(--colors-base-green-1);--colors-brand-error-color-error-border: #ffccc7;--colors-brand-error-color-error-bg: #fff2f0;--colors-brand-error-color-error-hover: #ff7875;--colors-brand-error-color-error-active: #d9363e;--colors-brand-error-color-error: #ff4d4f;--colors-base-gold-3: #ffe58f;--colors-brand-warning-color-warning-border: var(--colors-base-gold-3);--colors-base-gold-1: #fffbe6;--colors-brand-warning-color-warning-bg: var(--colors-base-gold-1);--colors-base-blue-3: #94ddff;--colors-brand-primary-color-primary-border: var(--colors-base-blue-3);--colors-brand-info-color-info-border: var(--colors-brand-primary-color-primary-border);--colors-brand-info-color-info-bg: var(--colors-brand-primary-color-primary-bg);--colors-base-blue-6: #1897f3;--colors-brand-primary-color-primary: var(--colors-base-blue-6);--colors-base-blue-4: #6bcbff;--colors-brand-primary-color-primary-border-hover: var(--colors-base-blue-4);--colors-base-blue-7: #0a75cc;--colors-brand-primary-color-primary-active: var(--colors-base-blue-7);--colors-neutral-border-color-border: #d9d9d9;--colors-neutral-text-color-text: rgba(63, 61, 75, .8784313725);--colors-neutral-text-color-text-tertiary: rgba(63, 61, 75, .4509803922);--colors-neutral-text-color-text-description: var(--colors-neutral-text-color-text-tertiary);--colors-neutral-text-color-text-quaternary: rgba(63, 61, 75, .2509803922);--colors-neutral-text-color-text-disabled: var(--colors-neutral-text-color-text-quaternary);--colors-neutral-fill-color-fill: rgba(0, 0, 0, .1490196078);--colors-base-green-6: #28c88f;--colors-brand-success-color-success: var(--colors-base-green-6);--colors-base-blue-1: #e6f9ff;--colors-brand-primary-color-primary-bg: var(--colors-base-blue-1)}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pismo/marola",
|
|
3
3
|
"description": "CDX tribe component library",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -100,4 +100,4 @@
|
|
|
100
100
|
"@mui/base": "^5.0.0-beta.40",
|
|
101
101
|
"@mui/material": "^5.15.15"
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
}
|