stone-kit 0.0.184 → 0.0.185

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.
@@ -2,6 +2,7 @@
2
2
  type TBtnWhiteFill = {
3
3
  isLong?: boolean;
4
4
  additionalClassName?: string;
5
+ additionalLabelClass?: string;
5
6
  };
6
7
  type BaseInputProps = JSX.IntrinsicElements['input'] & TBtnWhiteFill;
7
8
  interface ITabSelect {
@@ -1,33 +1,41 @@
1
- import { jsxs as f, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as x, Children as d, isValidElement as N, cloneElement as _ } from "react";
3
- import { c as b } from "../../../index-DIxK0V-G.js";
4
- import { Text as h } from "../../Text/ui/Text.js";
5
- const T = "_root_vkp5f_1", u = "_whiteFill_vkp5f_27", w = "_text_vkp5f_31", t = {
6
- root: T,
7
- whiteFill: u,
8
- text: w
9
- }, l = b.bind(t), y = {
1
+ import { jsxs as f, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as x, Children as N, isValidElement as b, cloneElement as _ } from "react";
3
+ import { c as h } from "../../../index-DIxK0V-G.js";
4
+ import { Text as T } from "../../Text/ui/Text.js";
5
+ const u = "_root_vkp5f_1", w = "_whiteFill_vkp5f_27", S = "_text_vkp5f_31", t = {
6
+ root: u,
7
+ whiteFill: w,
8
+ text: S
9
+ }, a = h.bind(t), y = {
10
10
  whiteFill: "whiteFill"
11
- }, S = ({ variant: o = "whiteFill", classname: r, children: e }) => !e || !Array.isArray(e) ? null : /* @__PURE__ */ a("div", { className: l(t.root, t[`${o}`], r), children: d.map(e, (s) => N(s) && e ? _(s, {
12
- className: l(t.item)
13
- }) : s) }), c = x((o, r) => {
14
- const { children: e, className: s, additionalClassName: n, isLong: m, checked: i, ...p } = o;
15
- return /* @__PURE__ */ f("label", { children: [
16
- /* @__PURE__ */ a(
11
+ }, k = ({ variant: i = "whiteFill", classname: o, children: e }) => !e || !Array.isArray(e) ? null : /* @__PURE__ */ l("div", { className: a(t.root, t[`${i}`], o), children: N.map(e, (s) => b(s) && e ? _(s, {
12
+ className: a(t.item)
13
+ }) : s) }), c = x((i, o) => {
14
+ const {
15
+ children: e,
16
+ className: s,
17
+ additionalClassName: n,
18
+ additionalLabelClass: m,
19
+ isLong: p,
20
+ checked: r,
21
+ ...d
22
+ } = i;
23
+ return /* @__PURE__ */ f("label", { className: a(m), children: [
24
+ /* @__PURE__ */ l(
17
25
  "input",
18
26
  {
19
- ref: r,
27
+ ref: o,
20
28
  type: "checkbox",
21
- checked: i,
22
- ...p
29
+ checked: r,
30
+ ...d
23
31
  }
24
32
  ),
25
- /* @__PURE__ */ a("div", { className: l(s, n, { isLong: m }), children: /* @__PURE__ */ a(h, { className: l(t.text, { [t.textChecked]: i }), children: e }) })
33
+ /* @__PURE__ */ l("div", { className: a(s, n, { isLong: p }), children: /* @__PURE__ */ l(T, { className: a(t.text, { [t.textChecked]: r }), children: e }) })
26
34
  ] });
27
35
  });
28
36
  c.displayName = "TabSelectItem";
29
- const C = Object.assign(S, { Item: c });
37
+ const E = Object.assign(k, { Item: c });
30
38
  export {
31
39
  y as TABSELECT_VARIANTS,
32
- C as TabSelect
40
+ E as TabSelect
33
41
  };
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.184",
5
+ "version": "0.0.185",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",