@pismo/marola 2.1.1 → 2.1.3

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.
Files changed (30) hide show
  1. package/dist/Group-DJz1rK2n.js +39 -0
  2. package/dist/{Toggle-DeMSbC0N.js → Toggle-Dp20f7qn.js} +1 -1
  3. package/dist/assets/Group.css +1 -1
  4. package/dist/components/Chip/Chip.js +2 -2
  5. package/dist/components/Chip/Chip.stories.d.ts +1 -1
  6. package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +1 -1
  7. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -1
  8. package/dist/components/Dialog/Dialog.stories.d.ts +1 -1
  9. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -1
  10. package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
  11. package/dist/components/Popover/Popover.stories.d.ts +1 -1
  12. package/dist/components/RadioButton/RadioButton.js +2 -2
  13. package/dist/components/RadioButton/RadioOption.js +2 -2
  14. package/dist/components/ResultWithChips/ResultWithChips.js +1 -1
  15. package/dist/components/RowItem/RowItem.js +2 -2
  16. package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
  17. package/dist/components/ToggleGroup/Group.js +1 -1
  18. package/dist/components/ToggleGroup/Toggle.d.ts +1 -1
  19. package/dist/components/ToggleGroup/Toggle.js +2 -2
  20. package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
  21. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +2 -1
  22. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
  23. package/dist/components/TransactionRow/TransactionRow.js +17 -17
  24. package/dist/components/TransactionRow/TransactionRow.stories.d.ts +1 -0
  25. package/dist/components/Typography/Typography.stories.d.ts +1 -1
  26. package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +1 -1
  27. package/dist/main.js +2 -2
  28. package/package.json +32 -17
  29. package/dist/Group-Cyc1W1kV.js +0 -39
  30. /package/dist/components/Typography/{Typography.test.d.ts → typography.test.d.ts} +0 -0
@@ -0,0 +1,39 @@
1
+ import { jsxs as g, jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as n } from "react";
3
+ import { c } from "./clsx-OuTLNxxd.js";
4
+ import { Icon as p } from "./components/Icon/Icon.js";
5
+ import { Typography as m } from "./components/Typography/Typography.js";
6
+ import './assets/Group.css';const u = "_toggle__input_1jlyx_1", x = "_toggle__label_1jlyx_11", t = {
7
+ toggle__input: u,
8
+ toggle__label: x,
9
+ "toggle__label--selected": "_toggle__label--selected_1jlyx_24",
10
+ "toggle__label--disabled": "_toggle__label--disabled_1jlyx_24",
11
+ "toggle-group__fieldset": "_toggle-group__fieldset_1jlyx_38",
12
+ "toggle-group__options": "_toggle-group__options_1jlyx_43",
13
+ "toggle-group__options-same-width": "_toggle-group__options-same-width_1jlyx_47",
14
+ "toggle-group__error": "_toggle-group__error_1jlyx_50"
15
+ }, w = n((e, r) => {
16
+ const { children: s, legend: l, error: _, equalWidth: a } = e, i = e["data-testid"] ? `${e["data-testid"]}-legend` : void 0, d = e["data-testid"] ? `${e["data-testid"]}-error` : void 0;
17
+ return /* @__PURE__ */ g("fieldset", { ref: r, "data-testid": e["data-testid"], className: t["toggle-group__fieldset"], children: [
18
+ l && /* @__PURE__ */ o("legend", { "data-testid": i, children: l }),
19
+ /* @__PURE__ */ o(
20
+ "div",
21
+ {
22
+ className: c(
23
+ t["toggle-group__options"],
24
+ a && t["toggle-group__options-same-width"],
25
+ e.classNameForOptions
26
+ ),
27
+ children: s
28
+ }
29
+ ),
30
+ _ && /* @__PURE__ */ g(m, { className: t["toggle-group__error"], "data-testid": d, children: [
31
+ /* @__PURE__ */ o(p, { icon: "circle-exclamation" }),
32
+ _
33
+ ] })
34
+ ] });
35
+ });
36
+ export {
37
+ w as G,
38
+ t as s
39
+ };
@@ -16,7 +16,7 @@ import "./components/Select/Select.js";
16
16
  import "./components/Popover/Popover.js";
17
17
  import "./components/Table/Table.js";
18
18
  import "./components/Tabs/Tabs.js";
19
- import { s as y } from "./Group-Cyc1W1kV.js";
19
+ import { s as y } from "./Group-DJz1rK2n.js";
20
20
  import "./contexts/SnackbarProvider/SnackbarProvider.js";
21
21
  import { B as x } from "./Button-Bh6rpTyY.js";
22
22
  import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_1wvod_116", z = "_chip__remove_1wvod_121", n = {
@@ -1 +1 @@
1
- ._toggle__input_1fdw4_1{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;visibility:hidden;opacity:0}._toggle__label_1fdw4_11{position:relative;flex-grow:1;padding:.5rem 1rem;color:var(--accent);text-align:center;cursor:pointer;background-color:rgb(var(--accent-rgb),.1);border-radius:6px}._toggle__label_1fdw4_11:hover:not(._toggle__label--selected_1fdw4_21,._toggle__label--disabled_1fdw4_21){border-color:var(--gray-75);opacity:.9}._toggle__label--selected_1fdw4_21{color:var(--white-100);background-color:var(--accent)}._toggle__label--disabled_1fdw4_21{color:rgb(var(--black-100-rgb),.25);cursor:default;background-color:rgb(var(--black-100-rgb),.04)}._toggle-group__fieldset_1fdw4_35{padding:0;margin:0;border:none}._toggle-group__options_1fdw4_40{display:flex;gap:.5rem}._toggle-group__options-same-width_1fdw4_44>*{flex:1}._toggle-group__error_1fdw4_47{display:flex;gap:.375rem;align-items:center;margin-top:.3125rem;color:var(--alert)}._toggle-group__error_1fdw4_47 svg{min-width:1rem;min-height:1rem}
1
+ ._toggle__input_1jlyx_1{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;visibility:hidden;opacity:0}._toggle__label_1jlyx_11{position:relative;display:flex;flex-grow:1;align-items:center;justify-content:center;padding:.5rem 1rem;color:var(--gray-90);text-align:center;cursor:pointer;border:solid 1px var(--gray-25);border-radius:6px}._toggle__label_1jlyx_11:hover:not(._toggle__label--selected_1jlyx_24,._toggle__label--disabled_1jlyx_24){border-color:var(--gray-75);opacity:.9}._toggle__label--selected_1jlyx_24{color:var(--accent);border-color:var(--accent)}._toggle__label--disabled_1jlyx_24{color:rgb(var(--black-100-rgb),.25);cursor:default;background-color:rgb(var(--black-100-rgb),.04)}._toggle-group__fieldset_1jlyx_38{padding:0;margin:0;border:none}._toggle-group__options_1jlyx_43{display:flex;gap:.5rem}._toggle-group__options-same-width_1jlyx_47>*{flex:1}._toggle-group__error_1jlyx_50{display:flex;gap:.375rem;align-items:center;margin-top:.3125rem;color:var(--alert)}._toggle-group__error_1jlyx_50 svg{min-width:1rem;min-height:1rem}
@@ -7,7 +7,7 @@ import "../Typography/Typography.js";
7
7
  import "../Input/Input.js";
8
8
  import "../Avatar/Avatar.js";
9
9
  import "../Button/Button.js";
10
- import { C as v } from "../../Toggle-DeMSbC0N.js";
10
+ import { C as v } from "../../Toggle-Dp20f7qn.js";
11
11
  import "../Dialog/Dialog.js";
12
12
  import "../DatePicker/DatePicker.js";
13
13
  import "../Skeleton/Skeleton.js";
@@ -17,7 +17,7 @@ import "../Select/Select.js";
17
17
  import "../Popover/Popover.js";
18
18
  import "../Table/Table.js";
19
19
  import "../Tabs/Tabs.js";
20
- import "../../Group-Cyc1W1kV.js";
20
+ import "../../Group-DJz1rK2n.js";
21
21
  import "../../contexts/SnackbarProvider/SnackbarProvider.js";
22
22
  import "../../Button-Bh6rpTyY.js";
23
23
  export {
@@ -3,7 +3,7 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import('react').ForwardRefExoticComponent<import('./Chip').ChipProps & import('react').RefAttributes<unknown>>;
5
5
  tags: string[];
6
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
6
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
7
7
  label: import('react').ReactNode;
8
8
  loading?: boolean | undefined;
9
9
  leftAdornment?: import('../Adornment/Adornment').AdornmentProps | undefined;
@@ -4,7 +4,7 @@ declare const meta: {
4
4
  title: string;
5
5
  component: ({ open, onClose, title, subtitle, content, cancelAction, confirmAction, confirmLabel, cancelLabel, }: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
6
6
  tags: string[];
7
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
7
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
8
  open: boolean;
9
9
  onClose: () => void;
10
10
  title?: import('react').ReactNode;
@@ -17,7 +17,7 @@ declare const meta: {
17
17
  navigatorInput?: boolean | undefined;
18
18
  }>;
19
19
  tags: string[];
20
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
20
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
21
21
  mode: "range" | "single";
22
22
  viewMode: "month" | "day" | "year";
23
23
  locale?: string | undefined;
@@ -13,7 +13,7 @@ declare const meta: {
13
13
  Actions: import('react').FunctionComponent<import('./Actions').DialogActionProps>;
14
14
  };
15
15
  tags: string[];
16
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
16
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
17
17
  color?: string | undefined;
18
18
  children: import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> & import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
19
19
  title?: string | undefined;
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
10
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
11
11
  children: import('react').ReactNode;
12
12
  title?: import('react').ReactNode;
13
13
  style?: import('react').CSSProperties | undefined;
@@ -3,7 +3,7 @@ declare const meta: {
3
3
  title: string;
4
4
  component: ({ invert, classNames }: import('./LoadingSpinner').LoadingSpinnerProps) => import("react/jsx-runtime").JSX.Element;
5
5
  tags: string[];
6
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
6
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
7
7
  invert?: boolean | undefined;
8
8
  classNames?: string | undefined;
9
9
  }>) => import("react/jsx-runtime").JSX.Element)[];
@@ -24,7 +24,7 @@ declare const meta: {
24
24
  };
25
25
  };
26
26
  tags: string[];
27
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
27
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
28
28
  [x: string]: any;
29
29
  }>) => import("react/jsx-runtime").JSX.Element)[];
30
30
  };
@@ -7,7 +7,7 @@ import { Typography as Me } from "../Typography/Typography.js";
7
7
  import "../Input/Input.js";
8
8
  import "../Avatar/Avatar.js";
9
9
  import "../Button/Button.js";
10
- import "../../Toggle-DeMSbC0N.js";
10
+ import "../../Toggle-Dp20f7qn.js";
11
11
  import "../Dialog/Dialog.js";
12
12
  import "../DatePicker/DatePicker.js";
13
13
  import "../IconButton/IconButton.js";
@@ -16,7 +16,7 @@ import "../Select/Select.js";
16
16
  import "../Popover/Popover.js";
17
17
  import "../Table/Table.js";
18
18
  import "../Tabs/Tabs.js";
19
- import "../../Group-Cyc1W1kV.js";
19
+ import "../../Group-DJz1rK2n.js";
20
20
  import "../../contexts/SnackbarProvider/SnackbarProvider.js";
21
21
  import { u as ne, C as Te, e as Y, b as oe, m as G, D as xe, c as _e, g as Ae, h as ce, j as Pe, r as ke, R as ve, i as He, s as P } from "../../RadioButton.module-VF7v9SuY.js";
22
22
  import { P as d } from "../../useSlotProps-C7dqSmdM.js";
@@ -6,7 +6,7 @@ import * as a from "react";
6
6
  import "../Input/Input.js";
7
7
  import "../Avatar/Avatar.js";
8
8
  import "../Button/Button.js";
9
- import "../../Toggle-DeMSbC0N.js";
9
+ import "../../Toggle-Dp20f7qn.js";
10
10
  import "../Dialog/Dialog.js";
11
11
  import "../DatePicker/DatePicker.js";
12
12
  import "../IconButton/IconButton.js";
@@ -16,7 +16,7 @@ import "../Popover/Popover.js";
16
16
  import { u as v, a as j, b as E, c as U, d as w, e as F, m as I, f as q, g as V, h as M, r as z, i as J, N as Q, s as N } from "../../RadioButton.module-VF7v9SuY.js";
17
17
  import "../Table/Table.js";
18
18
  import "../Tabs/Tabs.js";
19
- import "../../Group-Cyc1W1kV.js";
19
+ import "../../Group-DJz1rK2n.js";
20
20
  import "../../contexts/SnackbarProvider/SnackbarProvider.js";
21
21
  import { P as s } from "../../useSlotProps-C7dqSmdM.js";
22
22
  import { r as W } from "../../index-Bppuplgd.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { C as t } from "../../Toggle-DeMSbC0N.js";
2
+ import { C as t } from "../../Toggle-Dp20f7qn.js";
3
3
  import '../../assets/ResultWithChips.css';const r = "_container_hgp0p_1", o = "_label_hgp0p_17", a = {
4
4
  container: r,
5
5
  "chip-item-wrapper": "_chip-item-wrapper_hgp0p_8",
@@ -7,7 +7,7 @@ import "../Typography/Typography.js";
7
7
  import "../Input/Input.js";
8
8
  import "../Avatar/Avatar.js";
9
9
  import "../Button/Button.js";
10
- import { R as j, R as k } from "../../Toggle-DeMSbC0N.js";
10
+ import { R as j, R as k } from "../../Toggle-Dp20f7qn.js";
11
11
  import "../Dialog/Dialog.js";
12
12
  import "../DatePicker/DatePicker.js";
13
13
  import "../IconButton/IconButton.js";
@@ -16,7 +16,7 @@ import "../Select/Select.js";
16
16
  import "../Popover/Popover.js";
17
17
  import "../Table/Table.js";
18
18
  import "../Tabs/Tabs.js";
19
- import "../../Group-Cyc1W1kV.js";
19
+ import "../../Group-DJz1rK2n.js";
20
20
  import "../../contexts/SnackbarProvider/SnackbarProvider.js";
21
21
  export {
22
22
  j as RowItem,
@@ -4,7 +4,7 @@ declare const meta: {
4
4
  title: string;
5
5
  component: ({ snackbarMessage, variant, autoHideDuration, open, onClose, onClosed, classNameWrapper, "data-testid": dataTestId, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
6
6
  tags: string[];
7
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
7
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
8
  accept?: string | undefined;
9
9
  alt?: string | undefined;
10
10
  autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
@@ -3,7 +3,7 @@ import "react";
3
3
  import "../../clsx-OuTLNxxd.js";
4
4
  import "../Icon/Icon.js";
5
5
  import "../Typography/Typography.js";
6
- import { G as e } from "../../Group-Cyc1W1kV.js";
6
+ import { G as e } from "../../Group-DJz1rK2n.js";
7
7
  export {
8
8
  e as default
9
9
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export type ToggleGroupItemProps<T extends string | number> = {
3
3
  /** The display text to show for this option */
4
- text: string;
4
+ text: React.ReactNode;
5
5
  /** The underlining value of this option */
6
6
  value: T;
7
7
  /** Whether this radio button is selected */
@@ -6,7 +6,7 @@ import "../Typography/Typography.js";
6
6
  import "../Input/Input.js";
7
7
  import "../Avatar/Avatar.js";
8
8
  import "../Button/Button.js";
9
- import { T as k } from "../../Toggle-DeMSbC0N.js";
9
+ import { T as k } from "../../Toggle-Dp20f7qn.js";
10
10
  import "../Dialog/Dialog.js";
11
11
  import "../DatePicker/DatePicker.js";
12
12
  import "../IconButton/IconButton.js";
@@ -15,7 +15,7 @@ import "../Select/Select.js";
15
15
  import "../Popover/Popover.js";
16
16
  import "../Table/Table.js";
17
17
  import "../Tabs/Tabs.js";
18
- import "../../Group-Cyc1W1kV.js";
18
+ import "../../Group-DJz1rK2n.js";
19
19
  import "../../contexts/SnackbarProvider/SnackbarProvider.js";
20
20
  export {
21
21
  k as default
@@ -1,5 +1,5 @@
1
- import { T as e } from "../../Toggle-DeMSbC0N.js";
2
- import { G as p } from "../../Group-Cyc1W1kV.js";
1
+ import { T as e } from "../../Toggle-Dp20f7qn.js";
2
+ import { G as p } from "../../Group-DJz1rK2n.js";
3
3
  export {
4
4
  p as ToggleGroup,
5
5
  e as ToggleGroupItem
@@ -5,7 +5,7 @@ declare const meta: {
5
5
  title: string;
6
6
  component: import('react').ForwardRefExoticComponent<ToggleGroupProps & import('react').RefAttributes<HTMLFieldSetElement>>;
7
7
  tags: string[];
8
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
9
9
  legend?: import('react').ReactNode;
10
10
  error?: import('react').ReactNode;
11
11
  children: import('react').ReactElement<import('./Toggle.tsx').ToggleGroupItemProps<string | number>, string | import('react').JSXElementConstructor<any>>[];
@@ -25,3 +25,4 @@ export declare const Simple: Story;
25
25
  export declare const NoLegend: Story;
26
26
  export declare const WithError: Story;
27
27
  export declare const ItemsWithEqualWidth: Story;
28
+ export declare const ItemsWithCustomText: Story;
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
10
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
11
11
  children: import('react').ReactNode;
12
12
  title?: import('react').ReactNode;
13
13
  content: import('react').ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
2
- import { Avatar as d } from "../Avatar/Avatar.js";
3
- import { Icon as l } from "../Icon/Icon.js";
2
+ import { Avatar as l } from "../Avatar/Avatar.js";
3
+ import { Icon as h } from "../Icon/Icon.js";
4
4
  import { Typography as r } from "../Typography/Typography.js";
5
5
  import '../../assets/TransactionRow.css';const f = "_container_1zn5j_1", n = {
6
6
  container: f,
@@ -11,33 +11,33 @@ import '../../assets/TransactionRow.css';const f = "_container_1zn5j_1", n = {
11
11
  "info-section--item": "_info-section--item_1zn5j_29",
12
12
  "info-section--right": "_info-section--right_1zn5j_36"
13
13
  }, j = ({
14
- dateTime: h,
15
- category: v,
16
- name: c,
14
+ dateTime: v,
15
+ category: c,
16
+ name: o,
17
17
  type: m,
18
- installments: o,
19
- amount: t,
18
+ installments: t,
19
+ amount: s,
20
20
  month: g,
21
- icon: s,
21
+ icon: d,
22
22
  onClick: e,
23
23
  isPendingTransaction: _
24
24
  }) => _ ? /* @__PURE__ */ i("div", { className: n.container, children: /* @__PURE__ */ a("div", { className: n["container-pending"], onClick: () => e == null ? void 0 : e(), children: [
25
- /* @__PURE__ */ i(d, { type: "icon", children: /* @__PURE__ */ i(l, { icon: s || "clock" }) }),
26
- /* @__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 }) }) }),
27
- /* @__PURE__ */ i("div", { className: n["container-pending--right"], children: /* @__PURE__ */ i(r, { bold: !0, color: "var(--gray-95)", variant: "base", children: t }) })
25
+ /* @__PURE__ */ i(l, { type: "icon", children: /* @__PURE__ */ i(h, { icon: d || "clock" }) }),
26
+ /* @__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: o }) }) }),
27
+ /* @__PURE__ */ i("div", { className: n["container-pending--right"], children: /* @__PURE__ */ i(r, { bold: !0, color: "var(--gray-95)", variant: "base", children: s }) })
28
28
  ] }) }) : /* @__PURE__ */ i("div", { className: n.container, children: /* @__PURE__ */ a("div", { onClick: () => e == null ? void 0 : e(), className: n["container-grid"], children: [
29
29
  /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: g }) }),
30
- /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: h }) }),
31
- /* @__PURE__ */ i(d, { type: "icon", children: /* @__PURE__ */ i(l, { icon: s || "coin" }) }),
30
+ /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: v }) }),
31
+ /* @__PURE__ */ i(l, { type: "icon", children: /* @__PURE__ */ i(h, { icon: d || "coin" }) }),
32
32
  /* @__PURE__ */ a("div", { className: n["info-section"], children: [
33
- /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: c }) }),
34
- /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: v }) })
33
+ /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: o }) }),
34
+ c && /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: c }) })
35
35
  ] }),
36
36
  /* @__PURE__ */ a("div", { className: n["info-section--right"], children: [
37
- o && /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: o }) }),
37
+ t && /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: t }) }),
38
38
  /* @__PURE__ */ i("div", { className: n["info-section--item"], children: /* @__PURE__ */ i(r, { color: "var(--gray-95)", variant: "base", children: m }) })
39
39
  ] }),
40
- /* @__PURE__ */ i("div", { className: n["info-section--right"], children: /* @__PURE__ */ i(r, { bold: !0, variant: "base", children: t }) })
40
+ /* @__PURE__ */ i("div", { className: n["info-section--right"], children: /* @__PURE__ */ i(r, { bold: !0, variant: "base", children: s }) })
41
41
  ] }) });
42
42
  export {
43
43
  j as TransactionRow
@@ -23,6 +23,7 @@ type Story = StoryObj<typeof meta>;
23
23
  export declare const Simple: Story;
24
24
  export declare const WithMonth: Story;
25
25
  export declare const WithInstallments: Story;
26
+ export declare const WithoutCategory: Story;
26
27
  export declare const WithTwoCurrencies: Story;
27
28
  export declare const WithLargeAmount: Story;
28
29
  export declare const IsPending: Story;
@@ -11,7 +11,7 @@ declare const meta: {
11
11
  };
12
12
  };
13
13
  };
14
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
14
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
15
15
  children: import('react').ReactNode;
16
16
  element?: import('react').ElementType | undefined;
17
17
  variant?: import('./Typography').VariantType | undefined;
@@ -11,7 +11,7 @@ declare const meta: {
11
11
  };
12
12
  };
13
13
  tags: string[];
14
- decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
14
+ decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
15
15
  [x: string]: any;
16
16
  }>) => import("react/jsx-runtime").JSX.Element)[];
17
17
  };
package/dist/main.js CHANGED
@@ -8,7 +8,7 @@ import { BankCard as g } from "./components/BankCard/BankCard.js";
8
8
  import { Button as u } from "./components/Button/Button.js";
9
9
  import { Calendar as C } from "./components/Calendar/Calendar.js";
10
10
  import { Checkbox as k } from "./components/Checkbox/Checkbox.js";
11
- import { C as D, R as A, T as B } from "./Toggle-DeMSbC0N.js";
11
+ import { C as D, R as A, T as B } from "./Toggle-Dp20f7qn.js";
12
12
  import { ConfirmationDialog as v } from "./components/ConfirmationDialog/ConfirmationDialog.js";
13
13
  import "./components/DatePicker/DatePicker.js";
14
14
  import { Description as R } from "./components/Description/Description.js";
@@ -36,7 +36,7 @@ import { Tag as yo } from "./components/Tag/Tag.js";
36
36
  import { TextDisplay as wo } from "./components/TextDisplay/TextDisplay.js";
37
37
  import { ToastCard as Eo } from "./components/ToastCard/ToastCard.js";
38
38
  import { Toggle as No } from "./components/Toggle/Toggle.js";
39
- import { G as Wo } from "./Group-Cyc1W1kV.js";
39
+ import { G as Wo } from "./Group-DJz1rK2n.js";
40
40
  import { Tooltip as qo } from "./components/Tooltip/Tooltip.js";
41
41
  import { TransactionRow as Fo } from "./components/TransactionRow/TransactionRow.js";
42
42
  import { Text as Ko, Typography as Mo } from "./components/Typography/Typography.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pismo/marola",
3
3
  "description": "CDX tribe component library",
4
- "version": "2.1.1",
4
+ "version": "2.1.3",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -25,7 +25,6 @@
25
25
  "prepublishOnly": "npm run build",
26
26
  "test": "yarn test:unit",
27
27
  "test:unit": "vitest run",
28
- "test:unit:visual": "vitest-preview",
29
28
  "test:unit:watch": "vitest",
30
29
  "test:e2e": "echo \"no test implemented\"",
31
30
  "coverage": "vitest run --coverage",
@@ -45,17 +44,17 @@
45
44
  "@commitlint/cli": "^19.3.0",
46
45
  "@commitlint/config-conventional": "^19.2.2",
47
46
  "@ianvs/prettier-plugin-sort-imports": "^4.2.1",
48
- "@storybook/addon-a11y": "^8.3.4",
49
- "@storybook/addon-essentials": "^8.3.4",
50
- "@storybook/addon-interactions": "^8.3.4",
51
- "@storybook/addon-links": "^8.3.4",
52
- "@storybook/blocks": "^8.3.4",
53
- "@storybook/manager-api": "^8.3.4",
54
- "@storybook/preview-api": "^8.3.4",
55
- "@storybook/react": "^8.3.4",
56
- "@storybook/react-vite": "^8.3.4",
57
- "@storybook/test": "^8.3.4",
58
- "@storybook/theming": "^8.3.4",
47
+ "@storybook/addon-a11y": "^8.6.14",
48
+ "@storybook/addon-essentials": "^8.6.14",
49
+ "@storybook/addon-interactions": "^8.6.14",
50
+ "@storybook/addon-links": "^8.6.14",
51
+ "@storybook/blocks": "^8.6.14",
52
+ "@storybook/manager-api": "^8.6.14",
53
+ "@storybook/preview-api": "^8.6.14",
54
+ "@storybook/react": "^8.6.14",
55
+ "@storybook/react-vite": "^8.6.14",
56
+ "@storybook/test": "^8.6.14",
57
+ "@storybook/theming": "^8.6.14",
59
58
  "@testing-library/jest-dom": "^6.4.6",
60
59
  "@testing-library/react": "^15.0.5",
61
60
  "@types/node": "^20.12.2",
@@ -83,22 +82,38 @@
83
82
  "react": "^18.2.0",
84
83
  "react-dom": "^18.2.0",
85
84
  "sass": "^1.72.0",
86
- "storybook": "^8.3.4",
85
+ "storybook": "^8.6.14",
87
86
  "stylelint": "^16.3.1",
88
87
  "stylelint-config-recess-order": "^5.0.0",
89
88
  "stylelint-config-standard-scss": "^13.1.0",
90
89
  "stylelint-prettier": "^5.0.0",
91
90
  "typescript": "^5.2.2",
92
- "vite": "^6.2.3",
91
+ "vite": "^6.3.5",
93
92
  "vite-plugin-dts": "^4.5.3",
94
93
  "vite-plugin-lib-inject-css": "^2.2.1",
95
94
  "vite-plugin-svgr": "^4.3.0",
96
- "vitest": "^3.0.9",
97
- "vitest-preview": "^0.0.1"
95
+ "vitest": "^3.1.4"
98
96
  },
99
97
  "dependencies": {
100
98
  "@base-ui-components/react": "^1.0.0-alpha.6",
101
99
  "@mui/base": "^5.0.0-beta.40",
102
100
  "@mui/material": "^5.15.15"
101
+ },
102
+ "resolutions": {
103
+ "@babel/helpers": "^7.27.1",
104
+ "body-parser": "^2.2.0",
105
+ "braces": "^3.0.3",
106
+ "cookie": "^1.0.2",
107
+ "cross-spawn": "^7.0.6",
108
+ "esbuild": "^0.25.3",
109
+ "express": "^5.1.0",
110
+ "micromatch": "^4.0.8",
111
+ "nanoid": "^3.3.11",
112
+ "path-to-regexp": "^0.1.12",
113
+ "rollup": "^4.40.1",
114
+ "send": "^1.2.0",
115
+ "serve-static": "^2.2.0",
116
+ "vite": "^6.3.5",
117
+ "ws": "^8.18.1"
103
118
  }
104
119
  }
@@ -1,39 +0,0 @@
1
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as n } from "react";
3
- import { c } from "./clsx-OuTLNxxd.js";
4
- import { Icon as f } from "./components/Icon/Icon.js";
5
- import { Typography as p } from "./components/Typography/Typography.js";
6
- import './assets/Group.css';const m = "_toggle__input_1fdw4_1", u = "_toggle__label_1fdw4_11", t = {
7
- toggle__input: m,
8
- toggle__label: u,
9
- "toggle__label--selected": "_toggle__label--selected_1fdw4_21",
10
- "toggle__label--disabled": "_toggle__label--disabled_1fdw4_21",
11
- "toggle-group__fieldset": "_toggle-group__fieldset_1fdw4_35",
12
- "toggle-group__options": "_toggle-group__options_1fdw4_40",
13
- "toggle-group__options-same-width": "_toggle-group__options-same-width_1fdw4_44",
14
- "toggle-group__error": "_toggle-group__error_1fdw4_47"
15
- }, v = n((e, d) => {
16
- const { children: r, legend: _, error: g, equalWidth: s } = e, a = e["data-testid"] ? `${e["data-testid"]}-legend` : void 0, i = e["data-testid"] ? `${e["data-testid"]}-error` : void 0;
17
- return /* @__PURE__ */ l("fieldset", { ref: d, "data-testid": e["data-testid"], className: t["toggle-group__fieldset"], children: [
18
- _ && /* @__PURE__ */ o("legend", { "data-testid": a, children: _ }),
19
- /* @__PURE__ */ o(
20
- "div",
21
- {
22
- className: c(
23
- t["toggle-group__options"],
24
- s && t["toggle-group__options-same-width"],
25
- e.classNameForOptions
26
- ),
27
- children: r
28
- }
29
- ),
30
- g && /* @__PURE__ */ l(p, { className: t["toggle-group__error"], "data-testid": i, children: [
31
- /* @__PURE__ */ o(f, { icon: "circle-exclamation" }),
32
- g
33
- ] })
34
- ] });
35
- });
36
- export {
37
- v as G,
38
- t as s
39
- };