fsk-design-system 1.9.0 → 1.9.1

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.
@@ -7,27 +7,27 @@ import { useMediaQuery as w } from "../../utils/useMediaQuery.js";
7
7
  import { StyledDrawer as h } from "./Drawer.styles.js";
8
8
  import { useDrawerSwipeGesture as b } from "./useDrawerSwipeGesture.js";
9
9
  import D from "../../icons/svgs/CloseOutline.svg.js";
10
- const M = (i) => {
10
+ const $ = (i) => {
11
11
  const {
12
12
  classNames: l,
13
13
  rootClassName: p = "",
14
- breakpoint: r = 1079,
14
+ breakpoint: o = 1079,
15
15
  placement: n = "right",
16
- onClose: e,
17
- open: s = !1,
16
+ onClose: r,
17
+ open: e = !1,
18
18
  ...c
19
- } = i, t = u(), o = r === null ? !1 : w(`(max-width: ${r}px)`), a = o ? "bottom" : n;
19
+ } = i, s = u(), t = o === null ? !1 : w(`(max-width: ${o}px)`), a = t ? "bottom" : n;
20
20
  return b({
21
21
  placement: a,
22
- open: s,
23
- onClose: e,
24
- drawerId: t
22
+ open: e,
23
+ onClose: r,
24
+ drawerId: s
25
25
  }), /* @__PURE__ */ m(d, { rootClassName: f(h, p, {
26
- "is-mobile": o
26
+ "is-mobile": t
27
27
  }), classNames: l, closable: {
28
28
  closeIcon: /* @__PURE__ */ m(D, {})
29
- }, placement: a, onClose: e, open: s, "data-drawer-id": t, width: "auto", height: o ? void 0 : "auto", ...c });
29
+ }, placement: a, onClose: r, open: e, "data-drawer-id": s, width: "auto", height: "auto", ...c });
30
30
  };
31
31
  export {
32
- M as Drawer
32
+ $ as Drawer
33
33
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fsk-design-system",
3
3
  "description": "FSK UI components library",
4
- "version": "1.9.0",
4
+ "version": "1.9.1",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "files": [