@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.
Files changed (52) hide show
  1. package/dist/{Button-Bh6rpTyY.js → Button-BrEDdtHO.js} +2 -2
  2. package/dist/{ClickAwayListener-BjqhGzJh.js → ClickAwayListener-Z08peX_P.js} +3 -3
  3. package/dist/{Popup-aWlctE1C.js → Popup-Dffqo7wT.js} +3 -3
  4. package/dist/{Portal-Dc9ej3DW.js → Portal-DJapUCn6.js} +14 -13
  5. package/dist/{RadioButton.module-VF7v9SuY.js → RadioButton.module-RTKWJmma.js} +1 -1
  6. package/dist/{Toggle-DPXiwAx3.js → Toggle-SlvGYQKW.js} +48 -46
  7. package/dist/assets/Draggable.css +1 -0
  8. package/dist/{combineHooksSlotProps-CNWfgylM.js → combineHooksSlotProps-BhQ14uyD.js} +5 -5
  9. package/dist/components/Autocomplete/Autocomplete.js +38 -38
  10. package/dist/components/Button/Button.js +1 -1
  11. package/dist/components/Chip/Chip.js +6 -3
  12. package/dist/components/DatePicker/DatePicker.js +4 -4
  13. package/dist/components/Dialog/CloseIconButton.js +1 -1
  14. package/dist/components/Dialog/Dialog.js +4 -4
  15. package/dist/components/Draggable/Draggable.d.ts +47 -0
  16. package/dist/components/Draggable/Draggable.js +151 -0
  17. package/dist/components/Draggable/Draggable.spec.d.ts +1 -0
  18. package/dist/components/Draggable/Draggable.stories.d.ts +44 -0
  19. package/dist/components/Draggable/useDraggable.d.ts +20 -0
  20. package/dist/components/Draggable/useDraggable.js +11 -0
  21. package/dist/components/IconButton/IconButton.js +1 -1
  22. package/dist/components/Input/Input.js +1 -1
  23. package/dist/components/Popover/Popover.js +2 -2
  24. package/dist/components/RadioButton/RadioButton.js +17 -15
  25. package/dist/components/RadioButton/RadioOption.js +13 -12
  26. package/dist/components/ResultWithChips/ResultWithChips.js +1 -1
  27. package/dist/components/RowItem/RowItem.js +5 -3
  28. package/dist/components/Select/Select.js +5 -5
  29. package/dist/components/Snackbar/Snackbar.js +3 -3
  30. package/dist/components/Tabs/Tab.js +3 -3
  31. package/dist/components/Tabs/TabPanel.js +1 -1
  32. package/dist/components/Tabs/Tabs.js +3 -3
  33. package/dist/components/Toggle/Toggle.js +1 -1
  34. package/dist/components/ToggleGroup/Toggle.js +4 -2
  35. package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
  36. package/dist/components/Tooltip/Tooltip.js +3 -3
  37. package/dist/contexts/DraggableProvider/DraggableProvider.d.ts +3 -0
  38. package/dist/contexts/DraggableProvider/DraggableProvider.js +6 -0
  39. package/dist/contexts/SnackbarProvider/SnackbarProvider.js +1 -1
  40. package/dist/exactProp-SYjL19cU.js +13 -0
  41. package/dist/{index-Bppuplgd.js → index-1UpBa69h.js} +1361 -1372
  42. package/dist/main.d.ts +6 -0
  43. package/dist/main.js +123 -102
  44. package/dist/{ownerDocument-CXvpb_nj.js → ownerDocument-By592Iy6.js} +1 -1
  45. package/dist/react-BvI-Sw9b.js +509 -0
  46. package/dist/{useButton-B8Y1xR88.js → useButton-CezPDte8.js} +6 -6
  47. package/dist/{useList-9gbS2r78.js → useList-nqLfZem8.js} +2 -2
  48. package/dist/{useSlotProps-C7dqSmdM.js → useSlotProps-CYHDC4TN.js} +2 -2
  49. package/dist/utils/draggable.d.ts +8 -0
  50. package/dist/utils/draggable.js +30 -0
  51. package/dist/utils/draggable.test.d.ts +1 -0
  52. 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 _, b as C, _ as F, c as $, d as N, e as w, P as t } from "../../useSlotProps-C7dqSmdM.js";
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-CNWfgylM.js";
12
- import { l as ee, m as te, u as oe } from "../../useList-9gbS2r78.js";
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, b as y, g as v, a as U, _ as H, c as N, d as M, e as A, P as e } from "../../useSlotProps-C7dqSmdM.js";
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 k } from "../../Toggle-DPXiwAx3.js";
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
- k as default
23
+ q as default
22
24
  };
@@ -1,4 +1,4 @@
1
- import { T as e } from "../../Toggle-DPXiwAx3.js";
1
+ import { T as e } from "../../Toggle-SlvGYQKW.js";
2
2
  import { G as p } from "../../Group-DJz1rK2n.js";
3
3
  export {
4
4
  p as ToggleGroup,
@@ -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-aWlctE1C.js";
4
+ import { T as rt, P as at } from "../../Popup-Dffqo7wT.js";
5
5
  import { c as X } from "../../clsx-OuTLNxxd.js";
6
- import { _ as lt, b as st, P as O } from "../../useSlotProps-C7dqSmdM.js";
7
- import { C as ct } from "../../ClickAwayListener-BjqhGzJh.js";
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)
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export type DraggableProviderProps = React.PropsWithChildren;
3
+ export declare const DraggableProvider: ({ children }: DraggableProviderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { P as e } from "../../react-BvI-Sw9b.js";
3
+ const t = ({ children: r }) => /* @__PURE__ */ o(e, { children: r });
4
+ export {
5
+ t as DraggableProvider
6
+ };
@@ -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-Bppuplgd.js";
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
+ };