@pismo/marola 2.1.19 → 2.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/{Button-Bh6rpTyY.js → Button-BrEDdtHO.js} +2 -2
- package/dist/{ClickAwayListener-BjqhGzJh.js → ClickAwayListener-Z08peX_P.js} +3 -3
- package/dist/{Popup-aWlctE1C.js → Popup-Dffqo7wT.js} +3 -3
- package/dist/{Portal-Dc9ej3DW.js → Portal-DJapUCn6.js} +14 -13
- package/dist/{RadioButton.module-VF7v9SuY.js → RadioButton.module-RTKWJmma.js} +1 -1
- package/dist/{Toggle-DPXiwAx3.js → Toggle-SlvGYQKW.js} +48 -46
- package/dist/assets/Draggable.css +1 -0
- package/dist/{combineHooksSlotProps-CNWfgylM.js → combineHooksSlotProps-BhQ14uyD.js} +5 -5
- package/dist/components/Autocomplete/Autocomplete.js +38 -38
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Chip/Chip.js +6 -3
- package/dist/components/DatePicker/DatePicker.js +4 -4
- package/dist/components/Dialog/CloseIconButton.js +1 -1
- package/dist/components/Dialog/Dialog.js +4 -4
- package/dist/components/Draggable/Draggable.d.ts +47 -0
- package/dist/components/Draggable/Draggable.js +151 -0
- package/dist/components/Draggable/Draggable.spec.d.ts +1 -0
- package/dist/components/Draggable/Draggable.stories.d.ts +44 -0
- package/dist/components/Draggable/useDraggable.d.ts +20 -0
- package/dist/components/Draggable/useDraggable.js +11 -0
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Popover/Popover.js +2 -2
- package/dist/components/RadioButton/RadioButton.js +17 -15
- package/dist/components/RadioButton/RadioOption.js +13 -12
- package/dist/components/ResultWithChips/ResultWithChips.js +1 -1
- package/dist/components/RowItem/RowItem.js +5 -3
- package/dist/components/Select/Select.js +5 -5
- package/dist/components/Snackbar/Snackbar.js +3 -3
- 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/ToggleGroup/Toggle.js +4 -2
- package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -3
- package/dist/contexts/DraggableProvider/DraggableProvider.d.ts +3 -0
- package/dist/contexts/DraggableProvider/DraggableProvider.js +6 -0
- package/dist/contexts/SnackbarProvider/SnackbarProvider.js +1 -1
- package/dist/exactProp-SYjL19cU.js +13 -0
- package/dist/{index-Bppuplgd.js → index-1UpBa69h.js} +1361 -1372
- package/dist/main.d.ts +6 -0
- package/dist/main.js +123 -102
- package/dist/{ownerDocument-CXvpb_nj.js → ownerDocument-By592Iy6.js} +1 -1
- package/dist/react-BvI-Sw9b.js +509 -0
- package/dist/{useButton-B8Y1xR88.js → useButton-CezPDte8.js} +6 -6
- package/dist/{useList-9gbS2r78.js → useList-nqLfZem8.js} +2 -2
- package/dist/{useSlotProps-C7dqSmdM.js → useSlotProps-CYHDC4TN.js} +2 -2
- package/dist/utils/draggable.d.ts +8 -0
- package/dist/utils/draggable.js +30 -0
- package/dist/utils/draggable.test.d.ts +1 -0
- package/package.json +3 -2
|
@@ -5,11 +5,11 @@ import { c as B } from "../../clsx-OuTLNxxd.js";
|
|
|
5
5
|
import { T as G, u as J, s as Q } from "../../Tabs.module-DyJgAZt8.js";
|
|
6
6
|
import { Tab as Ie } from "./Tab.js";
|
|
7
7
|
import { TabPanel as Fe } from "./TabPanel.js";
|
|
8
|
-
import { g as I, a as _,
|
|
8
|
+
import { g as I, a as _, _ as C, b as F, c as $, d as N, e as w, P as t } from "../../useSlotProps-CYHDC4TN.js";
|
|
9
9
|
import { a as M, C as O } from "../../useCompoundItem-B7Eo_qZk.js";
|
|
10
10
|
import { u as X } from "../../useControlled-CCMYYdCM.js";
|
|
11
|
-
import { L as Y, a as Z } from "../../combineHooksSlotProps-
|
|
12
|
-
import { l as ee, m as te, u as oe } from "../../useList-
|
|
11
|
+
import { L as Y, a as Z } from "../../combineHooksSlotProps-BhQ14uyD.js";
|
|
12
|
+
import { l as ee, m as te, u as oe } from "../../useList-nqLfZem8.js";
|
|
13
13
|
const k = "Tabs";
|
|
14
14
|
function se(s) {
|
|
15
15
|
return I(k, s);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as j, jsx as T } from "react/jsx-runtime";
|
|
2
2
|
import { c as F } from "../../clsx-OuTLNxxd.js";
|
|
3
|
-
import { u as E,
|
|
3
|
+
import { u as E, _ as y, g as v, a as U, b as H, c as N, d as M, e as A, P as e } from "../../useSlotProps-CYHDC4TN.js";
|
|
4
4
|
import * as V from "react";
|
|
5
5
|
import { u as D } from "../../useControlled-CCMYYdCM.js";
|
|
6
6
|
import { u as L } from "../../useIsFocusVisible-BH4IAdcw.js";
|
|
@@ -6,9 +6,11 @@ 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
|
|
9
|
+
import { T as q } from "../../Toggle-SlvGYQKW.js";
|
|
10
10
|
import "../Dialog/Dialog.js";
|
|
11
11
|
import "../DatePicker/DatePicker.js";
|
|
12
|
+
import "../../index-1UpBa69h.js";
|
|
13
|
+
import "../Draggable/useDraggable.js";
|
|
12
14
|
import "../IconButton/IconButton.js";
|
|
13
15
|
import "../InputSearch/InputSearch.js";
|
|
14
16
|
import "../Select/Select.js";
|
|
@@ -18,5 +20,5 @@ import "../Tabs/Tabs.js";
|
|
|
18
20
|
import "../../Group-DJz1rK2n.js";
|
|
19
21
|
import "../../contexts/SnackbarProvider/SnackbarProvider.js";
|
|
20
22
|
export {
|
|
21
|
-
|
|
23
|
+
q as default
|
|
22
24
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as x, jsxs as $, Fragment as et } from "react/jsx-runtime";
|
|
2
2
|
import * as j from "react";
|
|
3
3
|
import { useRef as ot, useState as G, useEffect as J, isValidElement as nt, cloneElement as it } from "react";
|
|
4
|
-
import { T as rt, P as at } from "../../Popup-
|
|
4
|
+
import { T as rt, P as at } from "../../Popup-Dffqo7wT.js";
|
|
5
5
|
import { c as X } from "../../clsx-OuTLNxxd.js";
|
|
6
|
-
import {
|
|
7
|
-
import { C as ct } from "../../ClickAwayListener-
|
|
6
|
+
import { b as lt, _ as st, P as O } from "../../useSlotProps-CYHDC4TN.js";
|
|
7
|
+
import { C as ct } from "../../ClickAwayListener-Z08peX_P.js";
|
|
8
8
|
import '../../assets/Tooltip.css';function pt() {
|
|
9
9
|
const t = j.useContext(rt);
|
|
10
10
|
if (!t)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u, jsxs as l, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as p, useContext as f, useState as b, useCallback as k, createElement as C } from "react";
|
|
3
|
-
import { r as v } from "../../index-
|
|
3
|
+
import { r as v } from "../../index-1UpBa69h.js";
|
|
4
4
|
import { Snackbar as x } from "../../components/Snackbar/Snackbar.js";
|
|
5
5
|
const o = p({
|
|
6
6
|
showMessage: () => {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { _ as n } from "./useSlotProps-CYHDC4TN.js";
|
|
2
|
+
const s = "exact-prop: ";
|
|
3
|
+
function u(e) {
|
|
4
|
+
return process.env.NODE_ENV === "production" ? e : n({}, e, {
|
|
5
|
+
[s]: (o) => {
|
|
6
|
+
const t = Object.keys(o).filter((r) => !e.hasOwnProperty(r));
|
|
7
|
+
return t.length > 0 ? new Error(`The following props are not supported: ${t.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
u as e
|
|
13
|
+
};
|