stone-kit 0.0.779 → 0.0.781

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,10 +1,10 @@
1
1
  import { jsxs as s, jsx as l } from "react/jsx-runtime";
2
2
  import { NewIcon as d } from "../../NewIcon/ui/NewIcon.js";
3
3
  import { Select as O } from "../../Select/ui/Select.js";
4
- const N = "_root_156r8_1", f = "_nameWrapper_156r8_8", p = "_clearBtn_156r8_18", S = "_summaryList_156r8_33", V = "_summaryOption_156r8_40", B = "_categoryOption_156r8_62", b = "_summaryCategory_156r8_71", k = "_headerCategory_156r8_81", T = "_categoryTitle_156r8_87", W = "_categoryOptions_156r8_95", t = {
4
+ const N = "_root_156r8_1", p = "_nameWrapper_156r8_8", f = "_clearBtn_156r8_18", S = "_summaryList_156r8_33", V = "_summaryOption_156r8_40", B = "_categoryOption_156r8_62", b = "_summaryCategory_156r8_71", k = "_headerCategory_156r8_81", T = "_categoryTitle_156r8_87", W = "_categoryOptions_156r8_95", t = {
5
5
  root: N,
6
- nameWrapper: f,
7
- clearBtn: p,
6
+ nameWrapper: p,
7
+ clearBtn: f,
8
8
  summaryList: S,
9
9
  summaryOption: V,
10
10
  categoryOption: B,
@@ -53,7 +53,7 @@ const N = "_root_156r8_1", f = "_nameWrapper_156r8_8", p = "_clearBtn_156r8_18",
53
53
  onChange: c
54
54
  }
55
55
  ),
56
- (a.mode === "options" || a.mode === "single") && a.selectedValues && a.selectedValues.length > 0 && /* @__PURE__ */ l("div", { className: t.summaryList, children: a.selectedValues.map((e) => /* @__PURE__ */ s(
56
+ a.mode === "options" && a.selectedValues && a.selectedValues.length > 0 && /* @__PURE__ */ l("div", { className: t.summaryList, children: a.selectedValues.map((e) => /* @__PURE__ */ s(
57
57
  "div",
58
58
  {
59
59
  onClick: () => u(e.value.toString()),
@@ -4,4 +4,5 @@ export declare const useClientWidth: () => {
4
4
  isTablet: boolean;
5
5
  isDesktop: boolean;
6
6
  isMobileBorder: boolean;
7
+ isFullTablet: boolean;
7
8
  };
@@ -1,14 +1,14 @@
1
1
  import { useState as u, useCallback as c, useEffect as i } from "react";
2
- const l = () => {
2
+ const a = () => {
3
3
  const [e, n] = u(0), t = c(() => {
4
4
  n(window.innerWidth);
5
5
  }, [n]);
6
6
  i(() => (window.addEventListener("resize", t), () => window.removeEventListener("resize", t)), []), i(() => {
7
7
  t();
8
8
  }, []);
9
- const r = e < 1024, s = typeof window < "u" ? window.innerWidth < 768 : !1, o = e > 1023 && e < 1440, d = e >= 1440;
10
- return { currentClientWidth: e, isMobile: r, isTablet: o, isDesktop: d, isMobileBorder: s };
9
+ const s = e < 1024, o = typeof window < "u" ? window.innerWidth < 768 : !1, r = e >= 768 && e < 1440, d = e > 1023 && e < 1440, l = e >= 1440;
10
+ return { currentClientWidth: e, isMobile: s, isTablet: d, isDesktop: l, isMobileBorder: o, isFullTablet: r };
11
11
  };
12
12
  export {
13
- l as useClientWidth
13
+ a as useClientWidth
14
14
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.779",
5
+ "version": "0.0.781",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",