@pismo/marola 0.0.1-alpha.16 → 0.0.1-alpha.17
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/{Button-B1umG8kJ.js → Button-CSuug0jG.js} +2 -2
- package/dist/{ClickAwayListener-HI1G6ob9.js → ClickAwayListener-hSFuUJnv.js} +3 -3
- package/dist/{Popup-DFJQc_jn.js → Popup-DwaWJ3ye.js} +3 -3
- package/dist/{Portal-D__zvwbZ.js → Portal-CGBQMhI6.js} +2 -2
- package/dist/assets/Chip.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/PageHeader.css +1 -1
- package/dist/{combineHooksSlotProps-BHqhiBfc.js → combineHooksSlotProps-D8j4htsd.js} +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Chip/Chip.js +1 -1
- package/dist/components/Dialog/CloseIconButton.js +1 -1
- package/dist/components/Dialog/Dialog.js +4 -4
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Input/Input.js +51 -51
- package/dist/components/PageHeader/PageHeader.js +23 -23
- package/dist/components/Select/Select.js +5 -5
- package/dist/components/Snackbar/Snackbar.js +4 -4
- package/dist/components/Tabs/Tab.js +3 -3
- package/dist/components/Tabs/TabPanel.js +1 -1
- package/dist/components/Tabs/Tabs.js +3 -3
- package/dist/components/Toggle/Toggle.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -3
- package/dist/{index-BJ8HbRCy.js → index-BfeM9yWx.js} +1 -1
- package/dist/{index-CqjC7P5Y.js → index-CtPvew6C.js} +88 -85
- package/dist/main.d.ts +4 -1
- package/dist/main.js +8 -8
- package/dist/marola.css +1 -0
- package/dist/{useButton-Bc8IAgyk.js → useButton-DSAvAfH_.js} +1 -1
- package/dist/{useEventCallback-vAfOD-oT.js → useEventCallback-lXNMsMLa.js} +1 -1
- package/dist/{useList-ByMguSS_.js → useList-C5PBIv2I.js} +2 -2
- package/package.json +2 -2
- package/dist/_commonjsHelpers-CT_km90n.js +0 -30
- package/dist/components/Advice/Advice.stories.js +0 -48
- package/dist/components/Button/Button.stories.js +0 -40
- package/dist/components/Chip/Chip.stories.js +0 -59
- package/dist/components/Chip/chip.test.js +0 -17303
- package/dist/components/Dialog/Dialog.stories.js +0 -59
- package/dist/components/Input/Input.stories.js +0 -106
- package/dist/components/InputSearch/InputSearch.stories.js +0 -73
- package/dist/components/LoadingSpinner/LoadingSpinner.stories.js +0 -38
- package/dist/components/PageHeader/PageHeader.stories.js +0 -49
- package/dist/components/Select/Select.stories.js +0 -89
- package/dist/components/Snackbar/Snackbar.stories.js +0 -62
- package/dist/components/Toggle/Toggle.stories.js +0 -33
- package/dist/components/Typography/Typography.stories.js +0 -30
- package/dist/components/Typography/typography.test.js +0 -234
- package/dist/magic-string.es-O_8lTkE3.js +0 -738
- package/dist/react.esm-DGd9_oKA.js +0 -11126
- package/dist/utils/styleStrings.test.js +0 -41
- package/dist/vi.Y_w82WR8-XVYrIxgm.js +0 -9861
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "../Chip/Chip.js";
|
|
3
|
-
import { Button as i } from "./Button.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import "../Dialog/Backdrop.js";
|
|
6
|
-
import "../Typography/Typography.js";
|
|
7
|
-
import "../IconButton/IconButton.js";
|
|
8
|
-
import "../Select/Select.js";
|
|
9
|
-
import "../Table/Table.js";
|
|
10
|
-
import "../Tabs/Tabs.js";
|
|
11
|
-
const k = {
|
|
12
|
-
title: "Components/Button",
|
|
13
|
-
component: i,
|
|
14
|
-
tags: ["autodocs"],
|
|
15
|
-
decorators: [
|
|
16
|
-
(o) => /* @__PURE__ */ t("div", { style: { padding: "1em" }, children: /* @__PURE__ */ t(o, {}) })
|
|
17
|
-
],
|
|
18
|
-
argTypes: {
|
|
19
|
-
onClick: {
|
|
20
|
-
if: { arg: "link", exists: !1 }
|
|
21
|
-
},
|
|
22
|
-
type: {
|
|
23
|
-
control: { type: "text" },
|
|
24
|
-
if: { arg: "onClick", exists: !0 }
|
|
25
|
-
},
|
|
26
|
-
link: {
|
|
27
|
-
control: { type: "text" },
|
|
28
|
-
if: { arg: "onClick", exists: !1 }
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}, f = {
|
|
32
|
-
args: { children: "Button", onClick: () => alert("Button was clicked!") }
|
|
33
|
-
}, g = {
|
|
34
|
-
args: { children: "Button", link: "https://marola.pismolabs.io" }
|
|
35
|
-
};
|
|
36
|
-
export {
|
|
37
|
-
g as Link,
|
|
38
|
-
f as Simple,
|
|
39
|
-
k as default
|
|
40
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { Chip as i } from "./Chip.js";
|
|
3
|
-
import { Icon as e } from "../Icon/Icon.js";
|
|
4
|
-
import "../Button/Button.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "../Dialog/Backdrop.js";
|
|
7
|
-
import "../Typography/Typography.js";
|
|
8
|
-
import "../IconButton/IconButton.js";
|
|
9
|
-
import "../Select/Select.js";
|
|
10
|
-
import "../Table/Table.js";
|
|
11
|
-
import "../Tabs/Tabs.js";
|
|
12
|
-
const f = {
|
|
13
|
-
title: "Components/Chip",
|
|
14
|
-
component: i,
|
|
15
|
-
tags: ["autodocs"],
|
|
16
|
-
decorators: [
|
|
17
|
-
(s) => /* @__PURE__ */ a("div", { style: { padding: "1em" }, children: /* @__PURE__ */ a(s, {}) })
|
|
18
|
-
]
|
|
19
|
-
}, r = {
|
|
20
|
-
args: {
|
|
21
|
-
label: "Example text"
|
|
22
|
-
}
|
|
23
|
-
}, t = {
|
|
24
|
-
args: {
|
|
25
|
-
...r == null ? void 0 : r.args,
|
|
26
|
-
onClickContent: () => alert("Button was clicked!")
|
|
27
|
-
}
|
|
28
|
-
}, n = {
|
|
29
|
-
args: {
|
|
30
|
-
...t == null ? void 0 : t.args,
|
|
31
|
-
onClickRemove: () => alert("Remove changes!")
|
|
32
|
-
}
|
|
33
|
-
}, o = {
|
|
34
|
-
args: {
|
|
35
|
-
...n == null ? void 0 : n.args,
|
|
36
|
-
leftAdornment: {
|
|
37
|
-
icon: /* @__PURE__ */ a(e, { icon: "calendar-days", color: "rgba(var(--gray-95-rgb), 0.45)", size: "1.125rem" })
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}, b = {
|
|
41
|
-
args: {
|
|
42
|
-
...o == null ? void 0 : o.args,
|
|
43
|
-
variant: "outlined"
|
|
44
|
-
}
|
|
45
|
-
}, j = {
|
|
46
|
-
args: {
|
|
47
|
-
...o == null ? void 0 : o.args,
|
|
48
|
-
variant: "contained"
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
export {
|
|
52
|
-
t as Clickable,
|
|
53
|
-
n as ClickableWithRemove,
|
|
54
|
-
j as FullContained,
|
|
55
|
-
o as FullDefault,
|
|
56
|
-
b as FullOutlined,
|
|
57
|
-
r as Simple,
|
|
58
|
-
f as default
|
|
59
|
-
};
|