stone-kit 0.0.648 → 0.0.649

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.
package/README.md CHANGED
@@ -1,59 +1,59 @@
1
- # Stone-kit
2
-
3
- Uikit for stone redesign 2.0
4
-
5
- ## Installation
6
-
7
- Package installation:
8
-
9
- ```bash
10
- npm i stone-kit@latest
11
- ```
12
-
13
- ## Usage
14
-
15
- For Next.js page router in App.tsx:
16
-
17
- ```bash
18
- import 'stone-kit/dist/style.css'
19
- ```
20
-
21
- and then:
22
-
23
- ```bash
24
- import {Button} from 'stone-kit'
25
- ```
26
-
27
- For other projects u can immediately:
28
-
29
- ```bash
30
- import {Button} from 'stone-kit'
31
- ```
32
-
33
- ## Docs
34
-
35
- ### ButtonProps
36
-
37
- size: optional, size of button. types : 'large' | 'medium' | 'small' | 'tiny'
38
-
39
- pre: optional, insert icon/text before button text. type: ReactNode
40
-
41
- post: optional, insert icon/text after button text. type: ReactNode
42
-
43
- variant: optional, color variants of button. type:
44
- 'blue',
45
- 'gray',
46
- 'whiteStroke',
47
- 'sokolniki',
48
- 'black',
49
- 'whiteFilled'
50
-
51
- width: optional, width of button. type: 'auto' | 'full'
52
-
53
- additionalClass: optional, add your custom class to button. type: 'string'
54
-
55
- as: optional, u can convert button to link. type: 'button' | 'link'. 'button' by default.
56
-
57
- ### MobileButtonProps
58
-
59
- ### Tag
1
+ # Stone-kit
2
+
3
+ Uikit for stone redesign 2.0
4
+
5
+ ## Installation
6
+
7
+ Package installation:
8
+
9
+ ```bash
10
+ npm i stone-kit@latest
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ For Next.js page router in App.tsx:
16
+
17
+ ```bash
18
+ import 'stone-kit/dist/style.css'
19
+ ```
20
+
21
+ and then:
22
+
23
+ ```bash
24
+ import {Button} from 'stone-kit'
25
+ ```
26
+
27
+ For other projects u can immediately:
28
+
29
+ ```bash
30
+ import {Button} from 'stone-kit'
31
+ ```
32
+
33
+ ## Docs
34
+
35
+ ### ButtonProps
36
+
37
+ size: optional, size of button. types : 'large' | 'medium' | 'small' | 'tiny'
38
+
39
+ pre: optional, insert icon/text before button text. type: ReactNode
40
+
41
+ post: optional, insert icon/text after button text. type: ReactNode
42
+
43
+ variant: optional, color variants of button. type:
44
+ 'blue',
45
+ 'gray',
46
+ 'whiteStroke',
47
+ 'sokolniki',
48
+ 'black',
49
+ 'whiteFilled'
50
+
51
+ width: optional, width of button. type: 'auto' | 'full'
52
+
53
+ additionalClass: optional, add your custom class to button. type: 'string'
54
+
55
+ as: optional, u can convert button to link. type: 'button' | 'link'. 'button' by default.
56
+
57
+ ### MobileButtonProps
58
+
59
+ ### Tag
@@ -0,0 +1,21 @@
1
+ import { TCategory, TModeSelect, TOption } from '../ui/Select.types.ts';
2
+ import { SetStateAction } from 'react';
3
+
4
+ export type TClickOptionProps = {
5
+ option: TOption | TOption[];
6
+ disabledOptions: TOption[];
7
+ selectedOptions: TOption[];
8
+ setSelectedOptions: (value: SetStateAction<TOption[]>) => void;
9
+ mode: TModeSelect;
10
+ onChange?: ((selectedOptions: TOption[]) => unknown);
11
+ optionsParentArr?: TCategory[] | TOption[];
12
+ };
13
+ /**
14
+ * Доп стили для кнопки-контейнера
15
+ *
16
+ * @default true
17
+ */
18
+ declare const handleClickModeOption: ({ option, setSelectedOptions, selectedOptions, disabledOptions, onChange, mode, optionsParentArr }: TClickOptionProps) => void;
19
+ declare const handleClickModeCategory: ({ option, setSelectedOptions, selectedOptions, disabledOptions, onChange }: TClickOptionProps) => void;
20
+ declare const handleClickModeDouble: ({ option, setSelectedOptions, selectedOptions, disabledOptions, onChange }: TClickOptionProps) => void;
21
+ export { handleClickModeCategory, handleClickModeDouble, handleClickModeOption };
@@ -0,0 +1,67 @@
1
+ const n = ({
2
+ option: e,
3
+ setSelectedOptions: y,
4
+ selectedOptions: c,
5
+ disabledOptions: u,
6
+ onChange: l,
7
+ mode: S,
8
+ optionsParentArr: r
9
+ }) => {
10
+ if (!Array.isArray(e)) {
11
+ if (u.includes(e))
12
+ return;
13
+ const i = c.some((f) => f.value === e.value) ? c.filter((f) => f.value !== e.value) : [...c, e];
14
+ if (S === "double") {
15
+ const f = r == null ? void 0 : r.filter((s) => "options" in s && s.options.includes(e))[0];
16
+ !(f && c.includes(f)) && f && i.push(f);
17
+ }
18
+ y(i), l && l(i);
19
+ }
20
+ }, J = ({
21
+ option: e,
22
+ setSelectedOptions: y,
23
+ selectedOptions: c,
24
+ disabledOptions: u,
25
+ onChange: l
26
+ }) => {
27
+ if (Array.isArray(e)) {
28
+ const S = e.filter((r) => !(u != null && u.includes(r)));
29
+ if (S.every((r) => c.map((i) => JSON.stringify(i)).includes(JSON.stringify(r)))) {
30
+ const r = c.filter(
31
+ (i) => !e.map((f) => JSON.stringify(f)).includes(JSON.stringify(i))
32
+ );
33
+ y(r), l && l(r);
34
+ } else {
35
+ const r = S.filter(
36
+ (f) => !c.map((t) => JSON.stringify(t)).includes(JSON.stringify(f))
37
+ ), i = [...c, ...r];
38
+ y(i), l && l(i);
39
+ }
40
+ }
41
+ }, N = ({
42
+ option: e,
43
+ setSelectedOptions: y,
44
+ selectedOptions: c,
45
+ disabledOptions: u,
46
+ onChange: l
47
+ }) => {
48
+ if (Array.isArray(e)) {
49
+ const S = e.filter((r) => !(u != null && u.includes(r)));
50
+ if (S.every((r) => c.map((i) => JSON.stringify(i)).includes(JSON.stringify(r)))) {
51
+ const r = c.filter(
52
+ (i) => !e.map((f) => JSON.stringify(f)).includes(JSON.stringify(i))
53
+ );
54
+ y(r), l && l(r);
55
+ } else {
56
+ const r = S.filter(
57
+ (f) => !c.map((t) => JSON.stringify(t)).includes(JSON.stringify(f))
58
+ ), i = [...c, ...r];
59
+ y(i), l && l(i);
60
+ }
61
+ }
62
+ };
63
+ export {
64
+ J as handleClickModeCategory,
65
+ N as handleClickModeDouble,
66
+ n as handleClickModeOption
67
+ };
@@ -1,4 +1,4 @@
1
- import { TCategory, TOption } from './Select.types.ts';
1
+ import { TCategory, TModeSelect, TOption } from './Select.types.ts';
2
2
 
3
3
  export interface IOption {
4
4
  category: TCategory;
@@ -8,5 +8,6 @@ export interface IOption {
8
8
  clickableOptions?: (string | undefined)[];
9
9
  handleOptionClick: (option: TOption | TOption[]) => void;
10
10
  sizeIcon?: string;
11
+ mode: TModeSelect;
11
12
  }
12
- export declare const Category: ({ category, selectedOptions, disabledOptions, clickableOptions, handleOptionClick, sizeIcon }: IOption) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Category: ({ category, selectedOptions, disabledOptions, clickableOptions, handleOptionClick, sizeIcon, mode }: IOption) => import("react/jsx-runtime").JSX.Element;
@@ -1,70 +1,71 @@
1
- import { jsxs as l, Fragment as v, jsx as s } from "react/jsx-runtime";
2
- import { s as e, O as f } from "../../../Option-a48eBPyn.js";
3
- import { NewIcon as c } from "../../NewIcon/ui/NewIcon.js";
4
- import { c as h } from "../../../index-rKuIKazb.js";
5
- const N = h.bind(e), O = ({
6
- category: o,
7
- selectedOptions: n,
8
- disabledOptions: r,
1
+ import { jsxs as l, Fragment as C, jsx as i } from "react/jsx-runtime";
2
+ import { s as o, O as k } from "../../../Option-a48eBPyn.js";
3
+ import { NewIcon as d } from "../../NewIcon/ui/NewIcon.js";
4
+ import { c as N } from "../../../index-rKuIKazb.js";
5
+ const b = N.bind(o), U = ({
6
+ category: s,
7
+ selectedOptions: t,
8
+ disabledOptions: a,
9
9
  clickableOptions: p,
10
- handleOptionClick: a,
11
- sizeIcon: t
10
+ handleOptionClick: c,
11
+ sizeIcon: n,
12
+ mode: m
12
13
  }) => {
13
- const d = n.map((i) => JSON.stringify(i)), m = o.options.every((i) => d.includes(JSON.stringify(i)));
14
- return /* @__PURE__ */ l(v, { children: [
14
+ const f = t.map((e) => JSON.stringify(e)), r = m === "category", g = m === "double", u = r && s.options.every((e) => f.includes(JSON.stringify(e))), h = r ? u ? "minusCheck" : "selectUnchecked" : g && t.some((e) => e.value === s.value) ? "selectChecked" : "selectUnchecked";
15
+ return /* @__PURE__ */ l(C, { children: [
15
16
  /* @__PURE__ */ l(
16
17
  "div",
17
18
  {
18
- className: N(
19
- e.option,
20
- e.category,
21
- e.optionClickable,
19
+ className: b(
20
+ o.option,
21
+ o.category,
22
+ o.optionClickable,
22
23
  {
23
- [e.selected]: n.some((i) => i.value === o.value),
24
- [e.optionDisabled]: r.some(
25
- (i) => i.value === o.value
24
+ [o.selected]: t.some((e) => e.value === s.value),
25
+ [o.optionDisabled]: a.some(
26
+ (e) => e.value === s.value
26
27
  )
27
28
  }
28
29
  ),
29
- onClick: () => a(o.options),
30
+ onClick: () => c(r ? s.options : s),
30
31
  children: [
31
- /* @__PURE__ */ l("div", { className: e.leftSide, children: [
32
- /* @__PURE__ */ s(
33
- c,
32
+ /* @__PURE__ */ l("div", { className: o.leftSide, children: [
33
+ /* @__PURE__ */ i(
34
+ d,
34
35
  {
35
- size: t ?? "20",
36
- name: m ? "minusCheck" : "selectUnchecked"
36
+ size: n ?? "20",
37
+ name: h
37
38
  }
38
39
  ),
39
- /* @__PURE__ */ s("div", { children: o.label })
40
+ /* @__PURE__ */ i("div", { children: s.label })
40
41
  ] }),
41
- /* @__PURE__ */ s(
42
- c,
42
+ /* @__PURE__ */ i(
43
+ d,
43
44
  {
44
45
  name: "arrowShort",
45
- deg: m ? "180" : "0",
46
- size: t ?? "24",
47
- additionalClass: e.icon
46
+ deg: u ? "180" : "0",
47
+ size: n ?? "24",
48
+ additionalClass: o.icon
48
49
  }
49
50
  )
50
51
  ]
51
52
  }
52
53
  ),
53
- o.options.map((i, u) => /* @__PURE__ */ s(
54
- f,
54
+ s.options.map((e, v) => /* @__PURE__ */ i(
55
+ k,
55
56
  {
56
- option: i,
57
- disabledOptions: r,
58
- selectedOptions: n,
59
- handleOptionClick: () => a(i),
60
- sizeIcon: t,
57
+ option: e,
58
+ disabledOptions: a,
59
+ selectedOptions: t,
60
+ handleOptionClick: () => c(e),
61
+ sizeIcon: n,
61
62
  clickableOptions: p,
62
63
  isOptionCategory: !0
63
64
  },
64
- u
65
+ v
65
66
  ))
66
67
  ] });
67
68
  };
68
69
  export {
69
- O as Category
70
+ U as Category
70
71
  };
@@ -1,182 +1,151 @@
1
- import { jsxs as u, Fragment as W, jsx as o } from "react/jsx-runtime";
2
- import { useState as j, useRef as z, useEffect as B } from "react";
3
- import { c as Q } from "../../../index-rKuIKazb.js";
4
- import { s as e, O as T } from "../../../Option-a48eBPyn.js";
5
- import { NewIcon as L } from "../../NewIcon/ui/NewIcon.js";
6
- import { Category as U } from "./Category.js";
7
- const f = Q.bind(e), te = ({
8
- options: g,
9
- placeholder: _ = "Выберите опции",
10
- error: q,
11
- disabled: N,
12
- disabledOptions: i = [],
13
- additionalClass: C = "",
14
- additionalClassOption: G,
15
- additionalClassBtn: H,
16
- onChange: c,
17
- onBlur: h,
18
- selectedValues: n = [],
19
- isBtn: k = !1,
20
- btnName: F,
21
- clickableOptions: J,
22
- isListRight: K = !1,
23
- sizeIcon: p,
24
- mode: $ = "options",
25
- onClickItem: w,
26
- onCLickSelect: x,
27
- size_s: E = "large",
28
- size_m: A,
29
- size_l: D
1
+ import { jsxs as d, Fragment as R, jsx as s } from "react/jsx-runtime";
2
+ import { useState as b, useRef as A, useEffect as M } from "react";
3
+ import { c as G } from "../../../index-rKuIKazb.js";
4
+ import { s as e, O as H } from "../../../Option-a48eBPyn.js";
5
+ import { NewIcon as W } from "../../NewIcon/ui/NewIcon.js";
6
+ import { Category as J } from "./Category.js";
7
+ import { handleClickModeOption as K, handleClickModeDouble as Q, handleClickModeCategory as T } from "../model/selectMode.js";
8
+ const a = G.bind(e), te = ({
9
+ options: n,
10
+ placeholder: j = "Выберите опции",
11
+ error: w,
12
+ disabled: u,
13
+ disabledOptions: f = [],
14
+ additionalClass: z = "",
15
+ additionalClassOption: B,
16
+ additionalClassBtn: L,
17
+ onChange: F,
18
+ onBlur: g,
19
+ selectedValues: l = [],
20
+ isBtn: O = !1,
21
+ btnName: C,
22
+ clickableOptions: v,
23
+ isListRight: P = !1,
24
+ sizeIcon: m,
25
+ mode: c = "options",
26
+ onClickItem: k,
27
+ onCLickSelect: y,
28
+ size_s: N = "large",
29
+ size_m: S,
30
+ size_l: $
30
31
  }) => {
31
- const v = [
32
- {
33
- value: "Category1",
34
- label: "category1",
35
- options: [
36
- { value: "optionsFake1", label: "labelFake1" },
37
- { value: "optionsFake2", label: "labelFake2" },
38
- { value: "optionsFake3", label: "labelFake3" }
39
- ]
40
- }
41
- // {
42
- // value: 'Category2',
43
- // label: 'category2',
44
- // options: [
45
- // {value: 'optionsFake4', label: 'labelFake4'},
46
- // {value: 'optionsFake5', label: 'labelFake5'},
47
- // {value: 'optionsFake6', label: 'labelFake6'}
48
- // ]
49
- // }
50
- ], [l, d] = j(n), [m, S] = j(!1), y = z(null), R = (t) => {
51
- if (w && w(t), Array.isArray(t)) {
52
- const s = t.filter((r) => !(i != null && i.includes(r)));
53
- if (s.every((r) => l.map((a) => JSON.stringify(a)).includes(JSON.stringify(r)))) {
54
- const r = l.filter(
55
- (a) => !t.map((O) => JSON.stringify(O)).includes(JSON.stringify(a))
56
- );
57
- d(r), c && c(r);
58
- } else {
59
- const r = s.filter(
60
- (O) => !l.map((P) => JSON.stringify(P)).includes(JSON.stringify(O))
61
- ), a = [...l, ...r];
62
- d(a), c && c(a);
63
- }
64
- } else {
65
- if (i.includes(t))
66
- return;
67
- const s = l.some((r) => r.value === t.value) ? l.filter((r) => r.value !== t.value) : [...l, t];
68
- d(s), c && c(s);
69
- }
70
- }, M = () => {
71
- h && h(l);
32
+ const [i, x] = b(l), [o, p] = b(!1), h = A(null), E = (t) => {
33
+ k && k(t);
34
+ const r = { option: t, selectedOptions: i, disabledOptions: f, setSelectedOptions: x, onChange: F, mode: c, optionsParentArr: n };
35
+ Array.isArray(t) ? c === "double" ? Q(r) : T(r) : K(r);
36
+ }, _ = () => {
37
+ g && g(i);
72
38
  };
73
- B(() => {
74
- const t = (s) => {
75
- const r = s.target;
76
- if (y.current && !y.current.contains(s.target)) {
77
- if (r.closest("svg"))
39
+ M(() => {
40
+ const t = (r) => {
41
+ const q = r.target;
42
+ if (h.current && !h.current.contains(r.target)) {
43
+ if (q.closest("svg"))
78
44
  return;
79
- S(!1);
45
+ p(!1);
80
46
  }
81
47
  };
82
48
  return document.addEventListener("click", t), () => {
83
49
  document.removeEventListener("click", t);
84
50
  };
85
51
  }, []);
86
- const b = z(n);
87
- return B(() => {
88
- n.length !== b.current.length && (d(n), b.current = n);
89
- }, [n]), /* @__PURE__ */ u(
52
+ const D = A(l);
53
+ return M(() => {
54
+ l.length !== D.current.length && (x(l), D.current = l);
55
+ }, [l]), /* @__PURE__ */ d(
90
56
  "div",
91
57
  {
92
- ref: y,
93
- className: f(e.multiSelectWrapper, { [e.multiSelectWrapperError]: q }, C),
58
+ ref: h,
59
+ className: a(e.multiSelectWrapper, { [e.multiSelectWrapperError]: w }, z),
94
60
  tabIndex: 0,
95
- onBlur: M,
61
+ onBlur: _,
96
62
  children: [
97
- /* @__PURE__ */ u("div", { className: f(e.inputWrapper), children: [
98
- !k && /* @__PURE__ */ u(W, { children: [
99
- /* @__PURE__ */ o(
63
+ /* @__PURE__ */ d("div", { className: a(e.inputWrapper), children: [
64
+ !O && /* @__PURE__ */ d(R, { children: [
65
+ /* @__PURE__ */ s(
100
66
  "div",
101
67
  {
102
- className: f(
68
+ className: a(
103
69
  e.selectedOptions,
104
- e[`${E}-size`],
105
- e[`${A}-size_m`],
106
- e[`${D}-size)_l`],
107
- { [e.selectedOptionsNotEmpty]: l.length > 0 },
108
- { [e.selectOptionsDisabled]: N }
70
+ e[`${N}-size`],
71
+ e[`${S}-size_m`],
72
+ e[`${$}-size)_l`],
73
+ { [e.selectedOptionsNotEmpty]: i.length > 0 },
74
+ { [e.selectOptionsDisabled]: u }
109
75
  ),
110
- onClick: () => S(!m),
111
- children: l.length === 0 ? _ : "Выбрано " + l.length
76
+ onClick: () => p(!o),
77
+ children: i.length === 0 ? j : "Выбрано " + i.length
112
78
  }
113
79
  ),
114
- /* @__PURE__ */ o(
115
- L,
80
+ /* @__PURE__ */ s(
81
+ W,
116
82
  {
117
83
  name: "arrowShort",
118
- deg: m ? "180" : "0",
119
- size: p ?? "24",
84
+ deg: o ? "180" : "0",
85
+ size: m ?? "24",
120
86
  additionalClass: e.icon
121
87
  }
122
88
  )
123
89
  ] }),
124
- k && /* @__PURE__ */ u(W, { children: [
125
- /* @__PURE__ */ o(
90
+ O && /* @__PURE__ */ d(R, { children: [
91
+ /* @__PURE__ */ s(
126
92
  "button",
127
93
  {
128
- className: f(
94
+ className: a(
129
95
  e.selectedOptions,
130
- e[`${E}-size`],
131
- e[`${A}-size_m`],
132
- e[`${D}-size_l`],
96
+ e[`${N}-size`],
97
+ e[`${S}-size_m`],
98
+ e[`${$}-size_l`],
133
99
  e.selectedOptionsBtn,
134
- { [e.selectOptionsDisabled]: N },
135
- H
100
+ { [e.selectOptionsDisabled]: u },
101
+ L
136
102
  ),
137
103
  onClick: () => {
138
- x && x(), S(!m);
104
+ y && y(), p(!o);
139
105
  },
140
- children: F
106
+ children: C
141
107
  }
142
108
  ),
143
- /* @__PURE__ */ o(
144
- L,
109
+ /* @__PURE__ */ s(
110
+ W,
145
111
  {
146
112
  name: "filter",
147
- deg: m ? "180" : "0",
148
- size: p ?? "24",
149
- additionalClass: f(e.icon, { [e.iconBtn]: !F })
113
+ deg: o ? "180" : "0",
114
+ size: m ?? "24",
115
+ additionalClass: a(e.icon, { [e.iconBtn]: !C })
150
116
  }
151
117
  )
152
118
  ] })
153
119
  ] }),
154
- m && /* @__PURE__ */ u("div", { className: f(e.optionsList, { [e.listRight]: K }, G), children: [
155
- $ === "options" && (g == null ? void 0 : g.map((t, s) => /* @__PURE__ */ o(
156
- T,
120
+ o && /* @__PURE__ */ d("div", { className: a(e.optionsList, { [e.listRight]: P }, B), children: [
121
+ c === "options" && (n == null ? void 0 : n.map((t, r) => /* @__PURE__ */ s(
122
+ H,
157
123
  {
158
- disabledOptions: i,
159
- clickableOptions: J,
160
- selectedOptions: l,
161
- sizeIcon: p,
124
+ disabledOptions: f,
125
+ clickableOptions: v,
126
+ selectedOptions: i,
127
+ sizeIcon: m,
162
128
  option: t,
163
- handleOptionClick: R
129
+ handleOptionClick: E
164
130
  },
165
- s
131
+ r
166
132
  ))),
167
- $ === "category" && (v == null ? void 0 : v.map((t, s) => /* @__PURE__ */ o(
168
- U,
169
- {
170
- disabledOptions: i,
171
- clickableOptions: J,
172
- selectedOptions: l,
173
- sizeIcon: p,
174
- category: t,
175
- selectedValues: n,
176
- handleOptionClick: R
177
- },
178
- s
179
- )))
133
+ (c === "category" || c === "double") && (n == null ? void 0 : n.map(
134
+ (t, r) => "options" in t ? /* @__PURE__ */ s(
135
+ J,
136
+ {
137
+ disabledOptions: f,
138
+ clickableOptions: v,
139
+ selectedOptions: i,
140
+ sizeIcon: m,
141
+ category: t,
142
+ mode: c,
143
+ selectedValues: l,
144
+ handleOptionClick: E
145
+ },
146
+ r
147
+ ) : null
148
+ ))
180
149
  ] })
181
150
  ]
182
151
  }
@@ -8,10 +8,10 @@ export type TCategory = {
8
8
  label: string;
9
9
  options: TOption[];
10
10
  };
11
- export type TModeSelect = 'options' | 'category';
11
+ export type TModeSelect = 'options' | 'category' | 'double';
12
12
  type SelectSizes = 'medium' | 'small' | 'large';
13
13
  export interface MultiSelectProps {
14
- options?: TOption[];
14
+ options?: TOption[] | TCategory[];
15
15
  category?: TCategory[];
16
16
  placeholder?: string;
17
17
  error?: boolean;
@@ -21,20 +21,14 @@ export interface MultiSelectProps {
21
21
  size_l?: SelectSizes;
22
22
  /**
23
23
  * Доп стили для родителя-контейнера
24
- *
25
- * @default false
26
24
  */
27
25
  additionalClass?: string;
28
26
  /**
29
27
  * Доп стили для каждой опции
30
- *
31
- * @default false
32
28
  */
33
29
  additionalClassOption?: string;
34
30
  /**
35
31
  * Доп стили для кнопки-контейнера
36
- *
37
- * @default false
38
32
  */
39
33
  additionalClassBtn?: string;
40
34
  onChange?: (selectedOptions: TOption[]) => unknown;
@@ -47,14 +41,10 @@ export interface MultiSelectProps {
47
41
  isListRight?: boolean;
48
42
  /**
49
43
  * Список опций которые будут задизейблены по умолчанию
50
- *
51
- * @default false
52
44
  */
53
45
  disabledOptions?: TOption[];
54
46
  /**
55
47
  * Список опций которые доступны для клика
56
- *
57
- * @default false
58
48
  */
59
49
  clickableOptions?: (string | undefined)[];
60
50
  sizeIcon?: string;
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.648",
5
+ "version": "0.0.649",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",