@pismo/marola 1.0.12 → 1.0.14

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.
@@ -2,4 +2,4 @@
2
2
  * This file is automatically generated. Any changes will be lost.
3
3
  * run "yarn generate-icon-types" or "yarn build" to regenerate it.
4
4
  */
5
- export type IconName = 'arrow-down-arrow-up' | 'arrow-down-z-a' | 'arrow-left' | 'arrow-right-to-arc' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check-double' | 'chevron-down' | 'chevron-up' | 'circle' | 'circle-arrow-right' | 'circle-check' | 'circle-check-outline' | 'circle-exclamation' | 'circle-exclamation-outline' | 'circle-info' | 'circle-minus' | 'circle-xmark' | 'circle-xmark-outline' | 'coins' | 'copy' | 'credit-card' | 'credit-card-blank' | 'credit-card-front' | 'download' | 'ellipsis-vertical' | 'empty-img' | 'empty-set' | 'eye' | 'eye-slash' | 'filter-list' | 'folder-magnifying-glass' | 'grid-horizontal' | 'house-blank' | 'list' | 'loader' | 'lock-keyhole' | 'lock-keyhole-open' | 'logo' | 'magnifying-glass' | 'map-location-dot' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen-to-square' | 'piggy-bank' | 'rectangle-history' | 'rectangle-history-circle-user' | 'rotate' | 'server' | 'sidebar' | 'squirrel' | 'trash' | 'trash-can' | 'upload' | 'user' | 'user-gear' | 'user-group' | 'user-tie' | 'user-tie-hair' | 'user-vneck' | 'users' | 'wallet' | 'warehouse-full' | 'xmark';
5
+ export type IconName = 'arrow-down-arrow-up' | 'arrow-down-z-a' | 'arrow-left' | 'arrow-right-to-arc' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check-double' | 'chevron-down' | 'chevron-up' | 'circle' | 'circle-arrow-right' | 'circle-check' | 'circle-check-outline' | 'circle-exclamation' | 'circle-exclamation-outline' | 'circle-info' | 'circle-minus' | 'circle-xmark' | 'circle-xmark-outline' | 'clock' | 'coin' | 'coins' | 'copy' | 'credit-card' | 'credit-card-blank' | 'credit-card-front' | 'download' | 'ellipsis-vertical' | 'empty-img' | 'empty-set' | 'eye' | 'eye-slash' | 'filter-list' | 'folder-magnifying-glass' | 'grid-horizontal' | 'house-blank' | 'list' | 'loader' | 'lock-keyhole' | 'lock-keyhole-open' | 'logo' | 'magnifying-glass' | 'map-location-dot' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen-to-square' | 'piggy-bank' | 'rectangle-history' | 'rectangle-history-circle-user' | 'rotate' | 'server' | 'sidebar' | 'squirrel' | 'trash' | 'trash-can' | 'upload' | 'user' | 'user-gear' | 'user-group' | 'user-tie' | 'user-tie-hair' | 'user-vneck' | 'users' | 'wallet' | 'warehouse-full' | 'xmark';
@@ -1,92 +1,92 @@
1
1
  import '../../assets/PageHeader.css';
2
- import { jsx as e, Fragment as l, jsxs as i } from "react/jsx-runtime";
3
- import { useMemo as H } from "react";
4
- import { c as _ } from "../../clsx-DB4S2d7J.js";
5
- import { Icon as I } from "../Icon/Icon.js";
6
- import { IconButton as T } from "../IconButton/IconButton.js";
7
- const $ = "_title_1loyf_22", q = "_subtitle_1loyf_43", a = {
8
- "u-typography-h1": "_u-typography-h1_1loyf_1",
9
- "u-typography-h2": "_u-typography-h2_1loyf_8",
10
- "u-typography-h3": "_u-typography-h3_1loyf_15",
11
- "u-typography-h4": "_u-typography-h4_1loyf_22",
12
- "page-header__main-left-content": "_page-header__main-left-content_1loyf_22",
13
- title: $,
14
- "u-typography-h5": "_u-typography-h5_1loyf_29",
15
- "u-typography-h6": "_u-typography-h6_1loyf_36",
16
- "u-typography-base": "_u-typography-base_1loyf_43",
17
- subtitle: q,
18
- "u-typography-base--xxl": "_u-typography-base--xxl_1loyf_49",
19
- "u-typography-base--xl": "_u-typography-base--xl_1loyf_53",
20
- "u-typography-base--lg": "_u-typography-base--lg_1loyf_57",
21
- "u-typography-base--sm": "_u-typography-base--sm_1loyf_61",
22
- "u-typography-base--bold": "_u-typography-base--bold_1loyf_65",
23
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1loyf_68",
24
- "u-typography-base--underlined": "_u-typography-base--underlined_1loyf_71",
25
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1loyf_74",
26
- "page-header": "_page-header_1loyf_22",
27
- "page-header__top-content": "_page-header__top-content_1loyf_87",
28
- "page-header__main-content": "_page-header__main-content_1loyf_90",
29
- "page-header__bottom-content": "_page-header__bottom-content_1loyf_90",
30
- "page-header__breadcrumb": "_page-header__breadcrumb_1loyf_104",
31
- "page-header__breadcrumb__separator": "_page-header__breadcrumb__separator_1loyf_115",
32
- "account-header": "_account-header_1loyf_139",
33
- "account-header--container": "_account-header--container_1loyf_142",
34
- "page-header__main-right-content": "_page-header__main-right-content_1loyf_150",
35
- "account-header-margin": "_account-header-margin_1loyf_159"
2
+ import { jsx as a, Fragment as i, jsxs as l } from "react/jsx-runtime";
3
+ import { useMemo as B } from "react";
4
+ import { c as d } from "../../clsx-DB4S2d7J.js";
5
+ import { Icon as H } from "../Icon/Icon.js";
6
+ import { IconButton as I } from "../IconButton/IconButton.js";
7
+ const T = "_title_18adz_22", $ = "_subtitle_18adz_43", e = {
8
+ "u-typography-h1": "_u-typography-h1_18adz_1",
9
+ "u-typography-h2": "_u-typography-h2_18adz_8",
10
+ "u-typography-h3": "_u-typography-h3_18adz_15",
11
+ "u-typography-h4": "_u-typography-h4_18adz_22",
12
+ "page-header__main-left-content": "_page-header__main-left-content_18adz_22",
13
+ title: T,
14
+ "u-typography-h5": "_u-typography-h5_18adz_29",
15
+ "u-typography-h6": "_u-typography-h6_18adz_36",
16
+ "u-typography-base": "_u-typography-base_18adz_43",
17
+ subtitle: $,
18
+ "u-typography-base--xxl": "_u-typography-base--xxl_18adz_49",
19
+ "u-typography-base--xl": "_u-typography-base--xl_18adz_53",
20
+ "u-typography-base--lg": "_u-typography-base--lg_18adz_57",
21
+ "u-typography-base--sm": "_u-typography-base--sm_18adz_61",
22
+ "u-typography-base--bold": "_u-typography-base--bold_18adz_65",
23
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_18adz_68",
24
+ "u-typography-base--underlined": "_u-typography-base--underlined_18adz_71",
25
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_18adz_74",
26
+ "page-header": "_page-header_18adz_22",
27
+ "page-header__top-content": "_page-header__top-content_18adz_87",
28
+ "page-header__main-content": "_page-header__main-content_18adz_90",
29
+ "page-header__bottom-content": "_page-header__bottom-content_18adz_90",
30
+ "page-header__breadcrumb": "_page-header__breadcrumb_18adz_104",
31
+ "page-header__breadcrumb__separator": "_page-header__breadcrumb__separator_18adz_115",
32
+ "account-header": "_account-header_18adz_138",
33
+ "account-header--container": "_account-header--container_18adz_141",
34
+ "page-header__main-right-content": "_page-header__main-right-content_18adz_149",
35
+ "account-header-margin": "_account-header-margin_18adz_158"
36
36
  }, D = ({
37
37
  title: n,
38
- subtitle: y,
39
- rightChildren: g,
40
- bottomChildren: h,
41
- classNameWrapper: u,
42
- classNameTitle: f,
38
+ subtitle: g,
39
+ rightChildren: u,
40
+ bottomChildren: o,
41
+ classNameWrapper: y,
42
+ classNameTitle: z,
43
43
  classNameSubtitle: k,
44
44
  headerBubble: r,
45
45
  "data-testid-wrapper": N,
46
- "data-testid-title": v,
47
- "data-testid-subtitle": x,
48
- "data-testid-account-header": C,
49
- ...L
46
+ "data-testid-title": f,
47
+ "data-testid-subtitle": v,
48
+ "data-testid-account-header": x,
49
+ ...C
50
50
  }) => {
51
51
  const {
52
- breadcrumb: s,
53
- backLinkText: p,
54
- onBackLinkClick: c,
52
+ breadcrumb: h,
53
+ backLinkText: s,
54
+ onBackLinkClick: p,
55
55
  classNameBackLink: m,
56
56
  "data-testid-backLink": b,
57
- ...w
58
- } = L;
59
- r && (n || y || h) && console.error("headerBubble prop can not be used with title, subtitle or bottomChildren"), !r && !n && console.error("title prop is required when not using headerBubble");
60
- const j = r ? _([a["page-header"], u, a["account-header-margin"]]) : _([a["page-header"], u]), B = H(() => {
61
- const o = [];
62
- return p && c && o.push({
63
- label: p,
57
+ ...L
58
+ } = C;
59
+ r && (n || g || o) && console.error("headerBubble prop can not be used with title, subtitle or bottomChildren"), !r && !n && console.error("title prop is required when not using headerBubble");
60
+ const w = r ? d([e["page-header"], y, e["account-header-margin"]]) : d([e["page-header"], y]), j = B(() => {
61
+ const _ = [];
62
+ return s && p && _.push({
63
+ label: s,
64
64
  className: m,
65
65
  "data-testid": b,
66
- onClick: c
67
- }), s && o.push(...s), /* @__PURE__ */ e("div", { className: a["page-header__top-content"], children: /* @__PURE__ */ e("div", { className: a["page-header__breadcrumb"], children: o.map((t, d) => /* @__PURE__ */ e(
68
- T,
66
+ onClick: p
67
+ }), h && _.push(...h), /* @__PURE__ */ a("div", { className: e["page-header__top-content"], children: /* @__PURE__ */ a("div", { className: e["page-header__breadcrumb"], children: _.map((t, c) => /* @__PURE__ */ a(
68
+ I,
69
69
  {
70
- icon: d === 0 ? /* @__PURE__ */ e(I, { icon: "house-blank" }) : /* @__PURE__ */ e("span", { className: a["page-header__breadcrumb__separator"], children: "/" }),
70
+ icon: c === 0 ? /* @__PURE__ */ a(H, { icon: "house-blank" }) : /* @__PURE__ */ a("span", { className: e["page-header__breadcrumb__separator"], children: "/" }),
71
71
  onClick: () => t.onClick && t.onClick(),
72
72
  className: t.className,
73
73
  "data-testid": t["data-testid"],
74
- disabled: o.length === 1 ? !1 : d === o.length - 1,
74
+ disabled: _.length === 1 ? !1 : c === _.length - 1,
75
75
  children: t.label
76
76
  },
77
- `${t.label}_${d}`
77
+ `${t.label}_${c}`
78
78
  )) }) });
79
- }, [s, p, m, b, c]);
80
- return /* @__PURE__ */ e(l, { children: /* @__PURE__ */ i("div", { className: j, "data-testid": N, ...w, children: [
81
- B,
82
- /* @__PURE__ */ i("div", { className: a["page-header__main-content"], children: [
83
- /* @__PURE__ */ e("div", { className: a["page-header__main-left-content"], children: r ? /* @__PURE__ */ e(l, { children: /* @__PURE__ */ e("div", { className: a["account-header"], children: /* @__PURE__ */ e("div", { className: a["account-header--container"], "data-testid": C, children: r }) }) }) : /* @__PURE__ */ i(l, { children: [
84
- /* @__PURE__ */ e("h1", { className: _(a.title, f), "data-testid": v, children: n }),
85
- /* @__PURE__ */ e("h2", { className: _(a.subtitle, k), "data-testid": x, children: y })
79
+ }, [h, s, m, b, p]);
80
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ l("div", { className: w, "data-testid": N, ...L, children: [
81
+ j,
82
+ /* @__PURE__ */ l("div", { className: e["page-header__main-content"], children: [
83
+ /* @__PURE__ */ a("div", { className: e["page-header__main-left-content"], children: r ? /* @__PURE__ */ a(i, { children: /* @__PURE__ */ a("div", { className: e["account-header"], children: /* @__PURE__ */ a("div", { className: e["account-header--container"], "data-testid": x, children: r }) }) }) : /* @__PURE__ */ l(i, { children: [
84
+ /* @__PURE__ */ a("h1", { className: d(e.title, z), "data-testid": f, children: n }),
85
+ /* @__PURE__ */ a("h2", { className: d(e.subtitle, k), "data-testid": v, children: g })
86
86
  ] }) }),
87
- g && /* @__PURE__ */ e("div", { className: a["page-header__main-right-content"], children: g })
87
+ u && /* @__PURE__ */ a("div", { className: e["page-header__main-right-content"], children: u })
88
88
  ] }),
89
- h && /* @__PURE__ */ e("div", { className: a["page-header__bottom-content"], children: h })
89
+ o && /* @__PURE__ */ a("div", { className: e["page-header__bottom-content"], children: o })
90
90
  ] }) });
91
91
  };
92
92
  export {
@@ -0,0 +1,16 @@
1
+ import { IconName } from '../Icon/types';
2
+
3
+ type TransactionRowProps = {
4
+ dateTime?: React.ReactNode;
5
+ month?: React.ReactNode;
6
+ category?: React.ReactNode;
7
+ name: React.ReactNode;
8
+ type?: React.ReactNode;
9
+ icon?: IconName;
10
+ amount: React.ReactNode;
11
+ installments?: React.ReactNode;
12
+ onClick?: () => void;
13
+ isPendingTransaction?: boolean;
14
+ };
15
+ export declare const TransactionRow: ({ dateTime, category, name, type, installments, amount, month, icon, onClick, isPendingTransaction, }: TransactionRowProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,45 @@
1
+ import '../../assets/TransactionRow.css';
2
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
3
+ import { Avatar as d } from "../Avatar/Avatar.js";
4
+ import { Icon as l } from "../Icon/Icon.js";
5
+ import { Typography as r } from "../Typography/Typography.js";
6
+ const f = "_container_1zn5j_1", n = {
7
+ container: f,
8
+ "container-grid": "_container-grid_1zn5j_6",
9
+ "container-pending": "_container-pending_1zn5j_13",
10
+ "container-pending--right": "_container-pending--right_1zn5j_19",
11
+ "info-section": "_info-section_1zn5j_26",
12
+ "info-section--item": "_info-section--item_1zn5j_29",
13
+ "info-section--right": "_info-section--right_1zn5j_36"
14
+ }, j = ({
15
+ dateTime: h,
16
+ category: v,
17
+ name: c,
18
+ type: m,
19
+ installments: o,
20
+ amount: t,
21
+ month: g,
22
+ icon: s,
23
+ onClick: e,
24
+ isPendingTransaction: _
25
+ }) => _ ? /* @__PURE__ */ i("div", { className: n.container, children: /* @__PURE__ */ a("div", { className: n["container-pending"], onClick: () => e == null ? void 0 : e(), children: [
26
+ /* @__PURE__ */ i(d, { type: "icon", children: /* @__PURE__ */ i(l, { icon: s || "clock" }) }),
27
+ /* @__PURE__ */ i("div", { className: n["info-section"], children: /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: c }) }) }),
28
+ /* @__PURE__ */ i("div", { className: n["container-pending--right"], children: /* @__PURE__ */ i(r, { bold: !0, color: "var(--gray-95)", variant: "base", children: t }) })
29
+ ] }) }) : /* @__PURE__ */ i("div", { className: n.container, children: /* @__PURE__ */ a("div", { onClick: () => e == null ? void 0 : e(), className: n["container-grid"], children: [
30
+ /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: g }) }),
31
+ /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: h }) }),
32
+ /* @__PURE__ */ i(d, { type: "icon", children: /* @__PURE__ */ i(l, { icon: s || "coin" }) }),
33
+ /* @__PURE__ */ a("div", { className: n["info-section"], children: [
34
+ /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: c }) }),
35
+ /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: v }) })
36
+ ] }),
37
+ /* @__PURE__ */ a("div", { className: n["info-section--right"], children: [
38
+ o && /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: o }) }),
39
+ /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: m }) })
40
+ ] }),
41
+ /* @__PURE__ */ i("div", { className: n["info-section--right"], children: /* @__PURE__ */ i(r, { bold: !0, variant: "base", children: t }) })
42
+ ] }) });
43
+ export {
44
+ j as TransactionRow
45
+ };
@@ -0,0 +1,29 @@
1
+ import { StoryObj } from '@storybook/react';
2
+
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ dateTime, category, name, type, installments, amount, month, icon, onClick, isPendingTransaction, }: {
6
+ dateTime?: import('react').ReactNode;
7
+ month?: import('react').ReactNode;
8
+ category?: import('react').ReactNode;
9
+ name: import('react').ReactNode;
10
+ type?: import('react').ReactNode;
11
+ icon?: import('../Icon/types').IconName | undefined;
12
+ amount: import('react').ReactNode;
13
+ installments?: import('react').ReactNode;
14
+ onClick?: (() => void) | undefined;
15
+ isPendingTransaction?: boolean | undefined;
16
+ }) => import("react/jsx-runtime").JSX.Element;
17
+ tags: string[];
18
+ parameters: {
19
+ layout: string;
20
+ };
21
+ };
22
+ export default meta;
23
+ type Story = StoryObj<typeof meta>;
24
+ export declare const Simple: Story;
25
+ export declare const WithMonth: Story;
26
+ export declare const WithInstallments: Story;
27
+ export declare const WithTwoCurrencies: Story;
28
+ export declare const WithLargeAmount: Story;
29
+ export declare const IsPending: Story;
package/dist/main.d.ts CHANGED
@@ -38,5 +38,6 @@ export * from './components/TextDisplay/TextDisplay';
38
38
  export * from './components/Toggle/Toggle';
39
39
  export * from './components/ToggleGroup/ToggleGroup';
40
40
  export * from './components/Tooltip/Tooltip';
41
+ export * from './components/TransactionRow/TransactionRow';
41
42
  export * from './components/Typography/Typography';
42
43
  export * from './contexts/SnackbarProvider/SnackbarProvider';
package/dist/main.js CHANGED
@@ -4,15 +4,15 @@ import { Alert as f } from "./components/Alert/Alert.js";
4
4
  import { Autocomplete as x } from "./components/Autocomplete/Autocomplete.js";
5
5
  import { Avatar as i } from "./components/Avatar/Avatar.js";
6
6
  import { Button as T } from "./components/Button/Button.js";
7
- import { Checkbox as g } from "./components/Checkbox/Checkbox.js";
7
+ import { Checkbox as c } from "./components/Checkbox/Checkbox.js";
8
8
  import { C as u, R as S, T as d } from "./Toggle-BuZjueQ7.js";
9
9
  import { ConfirmationDialog as k } from "./components/ConfirmationDialog/ConfirmationDialog.js";
10
10
  import { Description as h } from "./components/Description/Description.js";
11
11
  import { Dialog as A } from "./components/Dialog/Dialog.js";
12
12
  import { EllipsisTooltip as v } from "./components/EllipsisTooltip/EllipsisTooltip.js";
13
- import { Icon as y } from "./components/Icon/Icon.js";
14
- import { IconButton as R } from "./components/IconButton/IconButton.js";
15
- import { Input as H } from "./components/Input/Input.js";
13
+ import { Icon as R } from "./components/Icon/Icon.js";
14
+ import { IconButton as B } from "./components/IconButton/IconButton.js";
15
+ import { Input as w } from "./components/Input/Input.js";
16
16
  import { InputSearch as E } from "./components/InputSearch/InputSearch.js";
17
17
  import { LoadingSpinner as N } from "./components/LoadingSpinner/LoadingSpinner.js";
18
18
  import { PageHeader as W } from "./components/PageHeader/PageHeader.js";
@@ -26,39 +26,40 @@ import { Snackbar as to } from "./components/Snackbar/Snackbar.js";
26
26
  import { SortTooltip as po, sortTooltipDefaultTranslations as ao } from "./components/SortTooltip/SortTooltip.js";
27
27
  import { Stepper as mo } from "./components/Stepper/Stepper.js";
28
28
  import { StepperNavigator as no } from "./components/StepperNavigator/StepperNavigator.js";
29
- import { TBody as lo, THead as To, Table as so, Td as go, Th as co, Tr as uo } from "./components/Table/Table.js";
29
+ import { TBody as lo, THead as To, Table as so, Td as co, Th as go, Tr as uo } from "./components/Table/Table.js";
30
30
  import { Tabs as bo } from "./components/Tabs/Tabs.js";
31
31
  import { Tag as Co } from "./components/Tag/Tag.js";
32
32
  import { TextDisplay as Do } from "./components/TextDisplay/TextDisplay.js";
33
33
  import { Toggle as Io } from "./components/Toggle/Toggle.js";
34
34
  import { G as Po } from "./Group-ZXteFV4M.js";
35
- import { Tooltip as Bo } from "./components/Tooltip/Tooltip.js";
36
- import { Text as Go, Typography as Ho } from "./components/Typography/Typography.js";
37
- import { SnackbarContext as Eo, SnackbarProvider as Lo, useSnackbar as No } from "./contexts/SnackbarProvider/SnackbarProvider.js";
38
- import { default as Wo } from "./components/Dialog/DialogTitle.js";
39
- import { default as qo } from "./components/Dialog/Content.js";
40
- import { default as Fo } from "./components/Dialog/Actions.js";
41
- import { Tab as Ko } from "./components/Tabs/Tab.js";
42
- import { TabPanel as Qo } from "./components/Tabs/TabPanel.js";
35
+ import { Tooltip as yo } from "./components/Tooltip/Tooltip.js";
36
+ import { TransactionRow as Go } from "./components/TransactionRow/TransactionRow.js";
37
+ import { Text as Ho, Typography as Eo } from "./components/Typography/Typography.js";
38
+ import { SnackbarContext as No, SnackbarProvider as Oo, useSnackbar as Wo } from "./contexts/SnackbarProvider/SnackbarProvider.js";
39
+ import { default as qo } from "./components/Dialog/DialogTitle.js";
40
+ import { default as Fo } from "./components/Dialog/Content.js";
41
+ import { default as Ko } from "./components/Dialog/Actions.js";
42
+ import { Tab as Qo } from "./components/Tabs/Tab.js";
43
+ import { TabPanel as Vo } from "./components/Tabs/TabPanel.js";
43
44
  export {
44
- Fo as Actions,
45
+ Ko as Actions,
45
46
  t as Adornment,
46
47
  p as Advice,
47
48
  f as Alert,
48
49
  x as Autocomplete,
49
50
  i as Avatar,
50
51
  T as Button,
51
- g as Checkbox,
52
+ c as Checkbox,
52
53
  u as Chip,
53
54
  k as ConfirmationDialog,
54
- qo as Content,
55
+ Fo as Content,
55
56
  h as Description,
56
57
  A as Dialog,
57
- Wo as DialogTitle,
58
+ qo as DialogTitle,
58
59
  v as EllipsisTooltip,
59
- y as Icon,
60
- R as IconButton,
61
- H as Input,
60
+ R as Icon,
61
+ B as IconButton,
62
+ w as Input,
62
63
  E as InputSearch,
63
64
  N as LoadingSpinner,
64
65
  W as PageHeader,
@@ -73,29 +74,30 @@ export {
73
74
  $ as SkeletonCircle,
74
75
  oo as SkeletonTable,
75
76
  to as Snackbar,
76
- Eo as SnackbarContext,
77
- Lo as SnackbarProvider,
77
+ No as SnackbarContext,
78
+ Oo as SnackbarProvider,
78
79
  po as SortTooltip,
79
80
  mo as Stepper,
80
81
  no as StepperNavigator,
81
82
  lo as TBody,
82
83
  To as THead,
83
- Ko as Tab,
84
- Qo as TabPanel,
84
+ Qo as Tab,
85
+ Vo as TabPanel,
85
86
  so as Table,
86
87
  bo as Tabs,
87
88
  Co as Tag,
88
- go as Td,
89
- Go as Text,
89
+ co as Td,
90
+ Ho as Text,
90
91
  Do as TextDisplay,
91
- co as Th,
92
+ go as Th,
92
93
  Io as Toggle,
93
94
  Po as ToggleGroup,
94
95
  d as ToggleGroupItem,
95
- Bo as Tooltip,
96
+ yo as Tooltip,
96
97
  uo as Tr,
97
- Ho as Typography,
98
+ Go as TransactionRow,
99
+ Eo as Typography,
98
100
  z as paginationDefaultTranslations,
99
101
  ao as sortTooltipDefaultTranslations,
100
- No as useSnackbar
102
+ Wo as useSnackbar
101
103
  };
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}: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-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-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-base-blue-1: #e6f9ff;--colors-brand-primary-color-primary-bg: var(--colors-base-blue-1);--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-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)}
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-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-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-base-blue-1: #e6f9ff;--colors-brand-primary-color-primary-bg: var(--colors-base-blue-1);--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-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)}
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.0.12",
4
+ "version": "1.0.14",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",