@pismo/marola 1.1.18 → 1.1.20
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/Group-BKXO7GzU.js +39 -0
- package/dist/{Toggle-BuZjueQ7.js → Toggle-Bkf8bKbA.js} +1 -1
- package/dist/assets/Group.css +1 -1
- package/dist/components/Chip/Chip.js +2 -2
- package/dist/components/ResultWithChips/ResultWithChips.js +1 -1
- package/dist/components/RowItem/RowItem.js +2 -2
- package/dist/components/ToggleGroup/Group.js +1 -1
- package/dist/components/ToggleGroup/Toggle.js +2 -2
- package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
- package/dist/main.js +2 -2
- package/package.json +9 -9
- package/dist/Group-ZXteFV4M.js +0 -39
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as n } from "react";
|
|
3
|
+
import { c } from "./clsx-DB4S2d7J.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
|
+
};
|
|
@@ -15,7 +15,7 @@ import "./components/Select/Select.js";
|
|
|
15
15
|
import "./components/Popover/Popover.js";
|
|
16
16
|
import "./components/Table/Table.js";
|
|
17
17
|
import "./components/Tabs/Tabs.js";
|
|
18
|
-
import { s as y } from "./Group-
|
|
18
|
+
import { s as y } from "./Group-BKXO7GzU.js";
|
|
19
19
|
import "./contexts/SnackbarProvider/SnackbarProvider.js";
|
|
20
20
|
import { B as x } from "./Button-BAljjMv3.js";
|
|
21
21
|
import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_1wvod_116", z = "_chip__remove_1wvod_121", n = {
|
package/dist/assets/Group.css
CHANGED
|
@@ -1 +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}
|
|
@@ -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 u } from "../../Toggle-
|
|
10
|
+
import { C as u } from "../../Toggle-Bkf8bKbA.js";
|
|
11
11
|
import "../Dialog/Dialog.js";
|
|
12
12
|
import "../Skeleton/Skeleton.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-
|
|
19
|
+
import "../../Group-BKXO7GzU.js";
|
|
20
20
|
import "../../contexts/SnackbarProvider/SnackbarProvider.js";
|
|
21
21
|
import "../../Button-BAljjMv3.js";
|
|
22
22
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { C as t } from "../../Toggle-
|
|
2
|
+
import { C as t } from "../../Toggle-Bkf8bKbA.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 h, R as j } from "../../Toggle-
|
|
10
|
+
import { R as h, R as j } from "../../Toggle-Bkf8bKbA.js";
|
|
11
11
|
import "../Dialog/Dialog.js";
|
|
12
12
|
import "../IconButton/IconButton.js";
|
|
13
13
|
import "../InputSearch/InputSearch.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-
|
|
18
|
+
import "../../Group-BKXO7GzU.js";
|
|
19
19
|
import "../../contexts/SnackbarProvider/SnackbarProvider.js";
|
|
20
20
|
export {
|
|
21
21
|
h as RowItem,
|
|
@@ -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 j } from "../../Toggle-
|
|
9
|
+
import { T as j } from "../../Toggle-Bkf8bKbA.js";
|
|
10
10
|
import "../Dialog/Dialog.js";
|
|
11
11
|
import "../IconButton/IconButton.js";
|
|
12
12
|
import "../InputSearch/InputSearch.js";
|
|
@@ -14,7 +14,7 @@ import "../Select/Select.js";
|
|
|
14
14
|
import "../Popover/Popover.js";
|
|
15
15
|
import "../Table/Table.js";
|
|
16
16
|
import "../Tabs/Tabs.js";
|
|
17
|
-
import "../../Group-
|
|
17
|
+
import "../../Group-BKXO7GzU.js";
|
|
18
18
|
import "../../contexts/SnackbarProvider/SnackbarProvider.js";
|
|
19
19
|
export {
|
|
20
20
|
j as default
|
package/dist/main.js
CHANGED
|
@@ -8,7 +8,7 @@ import { BankCard as c } from "./components/BankCard/BankCard.js";
|
|
|
8
8
|
import { Button as d } from "./components/Button/Button.js";
|
|
9
9
|
import { Calendar as S } from "./components/Calendar/Calendar.js";
|
|
10
10
|
import { Checkbox as b } from "./components/Checkbox/Checkbox.js";
|
|
11
|
-
import { C as h, R as D, T as A } from "./Toggle-
|
|
11
|
+
import { C as h, R as D, T as A } from "./Toggle-Bkf8bKbA.js";
|
|
12
12
|
import { ConfirmationDialog as I } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
13
13
|
import { Description as P } from "./components/Description/Description.js";
|
|
14
14
|
import { Dialog as y } from "./components/Dialog/Dialog.js";
|
|
@@ -35,7 +35,7 @@ import { Tag as Ro } from "./components/Tag/Tag.js";
|
|
|
35
35
|
import { TextDisplay as Go } from "./components/TextDisplay/TextDisplay.js";
|
|
36
36
|
import { ToastCard as Ho } from "./components/ToastCard/ToastCard.js";
|
|
37
37
|
import { Toggle as Lo } from "./components/Toggle/Toggle.js";
|
|
38
|
-
import { G as Oo } from "./Group-
|
|
38
|
+
import { G as Oo } from "./Group-BKXO7GzU.js";
|
|
39
39
|
import { Tooltip as jo } from "./components/Tooltip/Tooltip.js";
|
|
40
40
|
import { TransactionRow as zo } from "./components/TransactionRow/TransactionRow.js";
|
|
41
41
|
import { Text as Jo, Typography as Ko } 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": "1.1.
|
|
4
|
+
"version": "1.1.20",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
65
65
|
"@typescript-eslint/parser": "^7.6.0",
|
|
66
66
|
"@vitejs/plugin-react": "^4.2.1",
|
|
67
|
-
"@vitest/coverage-v8": "^
|
|
67
|
+
"@vitest/coverage-v8": "^3.0.9",
|
|
68
68
|
"clsx": "^2.1.0",
|
|
69
69
|
"commitlint": "^19.2.1",
|
|
70
70
|
"cypress": "^13.8.1",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"eslint-plugin-storybook": "^0.9.0",
|
|
78
78
|
"glob": "^10.3.14",
|
|
79
79
|
"husky": "^9.0.11",
|
|
80
|
-
"jsdom": "^
|
|
80
|
+
"jsdom": "^26.0.0",
|
|
81
81
|
"lint-staged": "^15.2.7",
|
|
82
82
|
"prettier": "^3.2.5",
|
|
83
83
|
"react": "^18.2.0",
|
|
@@ -89,15 +89,15 @@
|
|
|
89
89
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
90
90
|
"stylelint-prettier": "^5.0.0",
|
|
91
91
|
"typescript": "^5.2.2",
|
|
92
|
-
"vite": "^
|
|
93
|
-
"vite-plugin-dts": "^
|
|
94
|
-
"vite-plugin-lib-inject-css": "^2.
|
|
95
|
-
"vite-plugin-svgr": "^4.
|
|
96
|
-
"vitest": "^
|
|
92
|
+
"vite": "^6.2.3",
|
|
93
|
+
"vite-plugin-dts": "^4.5.3",
|
|
94
|
+
"vite-plugin-lib-inject-css": "^2.2.1",
|
|
95
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
96
|
+
"vitest": "^3.0.9",
|
|
97
97
|
"vitest-preview": "^0.0.1"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"@mui/base": "^5.0.0-beta.40",
|
|
101
101
|
"@mui/material": "^5.15.15"
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
}
|
package/dist/Group-ZXteFV4M.js
DELETED
|
@@ -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 as m } from "./clsx-DB4S2d7J.js";
|
|
4
|
-
import { Icon as u } from "./components/Icon/Icon.js";
|
|
5
|
-
import { Typography as c } from "./components/Typography/Typography.js";
|
|
6
|
-
import './assets/Group.css';const p = "_toggle__input_hu6m0_1", h = "_toggle__label_hu6m0_11", t = {
|
|
7
|
-
toggle__input: p,
|
|
8
|
-
toggle__label: h,
|
|
9
|
-
"toggle__label--selected": "_toggle__label--selected_hu6m0_21",
|
|
10
|
-
"toggle__label--disabled": "_toggle__label--disabled_hu6m0_21",
|
|
11
|
-
"toggle-group__fieldset": "_toggle-group__fieldset_hu6m0_35",
|
|
12
|
-
"toggle-group__options": "_toggle-group__options_hu6m0_40",
|
|
13
|
-
"toggle-group__options-same-width": "_toggle-group__options-same-width_hu6m0_44",
|
|
14
|
-
"toggle-group__error": "_toggle-group__error_hu6m0_47"
|
|
15
|
-
}, v = n((e, r) => {
|
|
16
|
-
const { children: s, legend: _, error: g, 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__ */ l("fieldset", { ref: r, "data-testid": e["data-testid"], className: t["toggle-group__fieldset"], children: [
|
|
18
|
-
_ && /* @__PURE__ */ o("legend", { "data-testid": i, children: _ }),
|
|
19
|
-
/* @__PURE__ */ o(
|
|
20
|
-
"div",
|
|
21
|
-
{
|
|
22
|
-
className: m(
|
|
23
|
-
t["toggle-group__options"],
|
|
24
|
-
a && t["toggle-group__options-same-width"],
|
|
25
|
-
e.classNameForOptions
|
|
26
|
-
),
|
|
27
|
-
children: s
|
|
28
|
-
}
|
|
29
|
-
),
|
|
30
|
-
g && /* @__PURE__ */ l(c, { className: t["toggle-group__error"], "data-testid": d, children: [
|
|
31
|
-
/* @__PURE__ */ o(u, { icon: "circle-exclamation" }),
|
|
32
|
-
g
|
|
33
|
-
] })
|
|
34
|
-
] });
|
|
35
|
-
});
|
|
36
|
-
export {
|
|
37
|
-
v as G,
|
|
38
|
-
t as s
|
|
39
|
-
};
|