quirk-ui 0.0.148 → 0.0.149

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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as n, jsxs as f } from "react/jsx-runtime";
2
- import { useState as u, useRef as m, useCallback as v, useEffect as E } from "react";
3
- import { CallToAction as I } from "../CallToAction/index.js";
4
- import { ButtonGroup as L } from "../ButtonGroup/index.js";
2
+ import { useState as u, useRef as m, useCallback as v, useEffect as M } from "react";
3
+ import { CallToAction as E } from "../CallToAction/index.js";
4
+ import { ButtonGroup as I } from "../ButtonGroup/index.js";
5
5
  import { X as F } from "../../x-CnsEH4Ox.js";
6
6
  import { c as H } from "../../createLucideIcon-C8GTh_Qx.js";
7
7
  import { C as J } from "../../chevron-down-DSUzBz9F.js";
@@ -82,12 +82,12 @@ function Re({
82
82
  S(t), V(!0);
83
83
  }
84
84
  }, []);
85
- E(() => {
85
+ M(() => {
86
86
  const t = typeof window < "u", o = typeof document < "u";
87
87
  return t && (window.addEventListener("resize", j), window.addEventListener("scroll", z)), o && document.addEventListener("click", k), N(), () => {
88
88
  t && (window.removeEventListener("resize", j), window.removeEventListener("scroll", z)), o && document.removeEventListener("click", k);
89
89
  };
90
- }, []), E(() => {
90
+ }, []), M(() => {
91
91
  if (typeof document < "u")
92
92
  return document.body.style.overflow = l ? "hidden" : "", () => {
93
93
  document.body.style.overflow = "";
@@ -109,8 +109,8 @@ function Re({
109
109
  target: s.isExternal ? "_blank" : "_self",
110
110
  rel: s.isExternal ? "noopener noreferrer" : void 0,
111
111
  onClick: () => {
112
- var M;
113
- r(null), (M = s.onClick) == null || M.call(s);
112
+ var L;
113
+ r(null), (L = s.onClick) == null || L.call(s);
114
114
  },
115
115
  onMouseEnter: () => {
116
116
  o || r(null);
@@ -183,7 +183,7 @@ function Re({
183
183
  "polygon",
184
184
  {
185
185
  points: "50,5 95,70 5,70",
186
- "stroke-linejoin": "round",
186
+ strokeLinejoin: "round",
187
187
  fill: "white",
188
188
  stroke: "white"
189
189
  }
@@ -200,8 +200,8 @@ function Re({
200
200
  ] })
201
201
  }
202
202
  ),
203
- a && /* @__PURE__ */ n("nav", { className: e.utility, children: /* @__PURE__ */ n(L, { children: a.map((t, o) => /* @__PURE__ */ n(
204
- I,
203
+ a && /* @__PURE__ */ n("nav", { className: e.utility, children: /* @__PURE__ */ n(I, { children: a.map((t, o) => /* @__PURE__ */ n(
204
+ E,
205
205
  {
206
206
  as: "a",
207
207
  href: t.href ?? "/",
@@ -214,8 +214,8 @@ function Re({
214
214
  "nav",
215
215
  {
216
216
  className: `${e.utilityMobile} ${l ? e.open : ""}`,
217
- children: /* @__PURE__ */ n(L, { alignment: "center", children: /* @__PURE__ */ n(
218
- I,
217
+ children: /* @__PURE__ */ n(I, { alignment: "center", children: /* @__PURE__ */ n(
218
+ E,
219
219
  {
220
220
  as: "a",
221
221
  href: a[0].href ?? "/",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.148",
4
+ "version": "0.0.149",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {