@kommo-crm/crm-react-ui-kit 1.3.0-beta.3 → 1.3.0

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.
@@ -22,45 +22,46 @@ import { ItemIndicator as ie } from "./components/ContextMenu/components/ItemInd
22
22
  import { RadioGroup as re } from "./components/ContextMenu/components/RadioGroup/RadioGroup.js";
23
23
  import { RadioItem as me } from "./components/ContextMenu/components/RadioItem/RadioItem.js";
24
24
  import { Separator as se } from "./components/ContextMenu/components/Separator/Separator.js";
25
- import { ItemIcon as pe } from "./components/ContextMenu/components/ItemIcon/ItemIcon.js";
26
- import { __experimental_SubRoot as ae } from "./components/ContextMenu/components/SubRoot/SubRoot.js";
25
+ import { ItemIcon as ae } from "./components/ContextMenu/components/ItemIcon/ItemIcon.js";
26
+ import { __experimental_SubRoot as pe } from "./components/ContextMenu/components/SubRoot/SubRoot.js";
27
27
  import { DISPLAY_NAME as ue, ContextMenuRootProvider as de, ContextMenuProvider as le } from "./components/ContextMenu/ContextMenu.context.js";
28
28
  import { useContextMenuSub as ce } from "./components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.js";
29
- import { ContextMenuSubProvider as Ce, DISPLAY_NAME as L } from "./components/ContextMenu/components/Sub/Sub.context.js";
30
- const N = (p) => {
29
+ import { ContextMenuSubProvider as Ce, DISPLAY_NAME as N } from "./components/ContextMenu/components/Sub/Sub.context.js";
30
+ const T = (s) => {
31
31
  const {
32
32
  children: a,
33
- mode: t = z.HOVER,
33
+ mode: p = z.HOVER,
34
34
  onOpen: e,
35
- defaultOpen: i,
35
+ defaultOpen: t,
36
36
  shouldCloseRootMenuOnSelect: u = !0,
37
37
  shouldCloseCurrentMenuOnSelect: d = !0,
38
38
  onAiming: l,
39
- aimingTolerance: c = T,
40
- aimingIdleTimeout: C = v,
39
+ aimingTolerance: c = v,
40
+ aimingIdleTimeout: C = P,
41
41
  ...O
42
- } = p, {
43
- isOpen: r,
44
- setIsOpen: f,
45
- isAnimatedOpen: o,
46
- handleContentEnter: I,
47
- handleContentLeave: h,
48
- handleOpenChange: m,
49
- triggerId: g,
50
- onOpenByKeyboard: A,
51
- contentRef: M,
52
- triggerRef: R,
53
- onChildOpen: S,
54
- onSubRootOpen: b,
55
- closeMenuImmediately: s,
56
- itemWithFocusedInput: E,
57
- setItemWithFocusedInput: D,
58
- isAiming: _,
59
- handlePointerDownOutside: x
42
+ } = s, {
43
+ mode: f,
44
+ isOpen: i,
45
+ setIsOpen: o,
46
+ isAnimatedOpen: I,
47
+ handleContentEnter: h,
48
+ handleContentLeave: r,
49
+ handleOpenChange: g,
50
+ triggerId: A,
51
+ onOpenByKeyboard: M,
52
+ contentRef: R,
53
+ triggerRef: S,
54
+ onChildOpen: b,
55
+ onSubRootOpen: m,
56
+ closeMenuImmediately: E,
57
+ itemWithFocusedInput: D,
58
+ setItemWithFocusedInput: _,
59
+ isAiming: x,
60
+ handlePointerDownOutside: y
60
61
  } = ce({
61
- displayName: L,
62
- mode: t,
63
- defaultOpen: i,
62
+ displayName: N,
63
+ mode: p,
64
+ defaultOpen: t,
64
65
  onOpen: e,
65
66
  onAiming: l,
66
67
  aimingTolerance: c,
@@ -69,31 +70,31 @@ const N = (p) => {
69
70
  return /* @__PURE__ */ n(
70
71
  Ce,
71
72
  {
72
- mode: t,
73
- isOpen: r,
74
- setIsOpen: f,
75
- isAnimatedOpen: o,
76
- defaultOpen: i,
77
- onContentEnter: I,
78
- onContentLeave: h,
79
- onOpenByKeyboard: A,
80
- triggerId: g,
81
- contentRef: M,
82
- triggerRef: R,
83
- onChildOpen: S,
84
- onSubRootOpen: b,
73
+ mode: f,
74
+ isOpen: i,
75
+ setIsOpen: o,
76
+ isAnimatedOpen: I,
77
+ defaultOpen: t,
78
+ onContentEnter: h,
79
+ onContentLeave: r,
80
+ onOpenByKeyboard: M,
81
+ triggerId: A,
82
+ contentRef: R,
83
+ triggerRef: S,
84
+ onChildOpen: b,
85
+ onSubRootOpen: m,
85
86
  shouldCloseRootMenuOnSelect: u,
86
87
  shouldCloseCurrentMenuOnSelect: d,
87
- closeMenuImmediately: s,
88
- itemWithFocusedInput: E,
89
- setItemWithFocusedInput: D,
90
- isAiming: _,
91
- onPointerDownOutside: x,
88
+ closeMenuImmediately: E,
89
+ itemWithFocusedInput: D,
90
+ setItemWithFocusedInput: _,
91
+ isAiming: x,
92
+ onPointerDownOutside: y,
92
93
  children: /* @__PURE__ */ n(
93
94
  B,
94
95
  {
95
- open: r,
96
- onOpenChange: m,
96
+ open: i,
97
+ onOpenChange: g,
97
98
  ...O,
98
99
  children: a
99
100
  }
@@ -101,38 +102,38 @@ const N = (p) => {
101
102
  }
102
103
  );
103
104
  };
104
- N.displayName = L;
105
- const Oe = 200, fe = 150, T = 20, v = 200, y = (p) => {
105
+ T.displayName = N;
106
+ const Oe = 200, fe = 150, v = 20, P = 200, L = (s) => {
106
107
  const {
107
108
  children: a,
108
- mode: t,
109
+ mode: p,
109
110
  isOpen: e,
110
- defaultOpen: i,
111
+ defaultOpen: t,
111
112
  shouldCloseCurrentMenuOnSelect: u = !0,
112
113
  onOpen: d,
113
114
  onAnimatedOpen: l,
114
115
  onAiming: c,
115
- aimingTolerance: C = T,
116
- aimingIdleTimeout: O = v,
117
- ...r
118
- } = p, {
119
- mode: f,
116
+ aimingTolerance: C = v,
117
+ aimingIdleTimeout: O = P,
118
+ ...f
119
+ } = s, {
120
+ mode: i,
120
121
  isOpen: o,
121
122
  triggerRef: I,
122
123
  contentRef: h,
123
- isAnimatedOpen: m,
124
+ isAnimatedOpen: r,
124
125
  skipAnimation: g,
125
126
  animationDuration: A,
126
127
  hoverCloseDelay: M,
127
128
  isRootContentBlocked: R,
128
129
  isChildOpen: S,
129
130
  itemWithFocusedInput: b,
130
- closeMenuImmediately: s,
131
+ closeMenuImmediately: m,
131
132
  onOpenChange: E,
132
133
  onContentEnter: D,
133
134
  onContentLeave: _,
134
135
  onOpenByKeyboard: x,
135
- onChildOpen: P,
136
+ onChildOpen: y,
136
137
  onSubmenuOpen: F,
137
138
  setItemWithFocusedInput: G,
138
139
  shouldPreventFocusRestore: U,
@@ -140,8 +141,8 @@ const Oe = 200, fe = 150, T = 20, v = 200, y = (p) => {
140
141
  isChildAiming: Y,
141
142
  onChildAiming: k
142
143
  } = j({
143
- mode: t,
144
- defaultOpen: i,
144
+ mode: p,
145
+ defaultOpen: t,
145
146
  animationDuration: fe,
146
147
  hoverCloseDelay: Oe,
147
148
  isOpen: e,
@@ -152,29 +153,29 @@ const Oe = 200, fe = 150, T = 20, v = 200, y = (p) => {
152
153
  aimingIdleTimeout: O
153
154
  }), { navigationContentRef: w } = V({
154
155
  isOpen: e ?? o,
155
- isAnimatedOpen: m
156
+ isAnimatedOpen: r
156
157
  });
157
158
  return /* @__PURE__ */ n(
158
159
  de,
159
160
  {
160
- closeRootMenuImmediately: s,
161
+ closeRootMenuImmediately: m,
161
162
  navigationContentRef: w,
162
163
  children: /* @__PURE__ */ n(
163
164
  le,
164
165
  {
165
- mode: f,
166
+ mode: i,
166
167
  triggerRef: I,
167
168
  contentRef: h,
168
- isAnimatedOpen: m,
169
+ isAnimatedOpen: r,
169
170
  skipAnimation: g,
170
171
  animationDuration: A,
171
172
  hoverCloseDelay: M,
172
- closeMenuImmediately: s,
173
+ closeMenuImmediately: m,
173
174
  onContentEnter: D,
174
175
  onContentLeave: _,
175
176
  onOpenByKeyboard: x,
176
177
  shouldCloseCurrentMenuOnSelect: u,
177
- onChildOpen: P,
178
+ onChildOpen: y,
178
179
  isOpen: o,
179
180
  onSubmenuOpen: F,
180
181
  isRootContentBlocked: R,
@@ -191,7 +192,7 @@ const Oe = 200, fe = 150, T = 20, v = 200, y = (p) => {
191
192
  open: e ?? o,
192
193
  onOpenChange: E,
193
194
  modal: !1,
194
- ...r,
195
+ ...f,
195
196
  children: a
196
197
  }
197
198
  )
@@ -199,14 +200,14 @@ const Oe = 200, fe = 150, T = 20, v = 200, y = (p) => {
199
200
  )
200
201
  }
201
202
  );
202
- }, Ve = Object.assign(y, {
203
+ }, Ve = Object.assign(L, {
203
204
  displayName: ue,
204
- Root: y,
205
- experimental_SubRoot: ae,
205
+ Root: L,
206
+ experimental_SubRoot: pe,
206
207
  Trigger: $,
207
208
  Content: H,
208
209
  Portal: q,
209
- Sub: N,
210
+ Sub: T,
210
211
  SubTrigger: J,
211
212
  SubContent: Q,
212
213
  Arrow: X,
@@ -219,11 +220,11 @@ const Oe = 200, fe = 150, T = 20, v = 200, y = (p) => {
219
220
  RadioItem: me,
220
221
  ItemIndicator: ie,
221
222
  Separator: se,
222
- ItemIcon: pe
223
+ ItemIcon: ae
223
224
  });
224
225
  export {
225
226
  Ve as C,
226
- T as D,
227
- N as S,
228
- v as a
227
+ v as D,
228
+ T as S,
229
+ P as a
229
230
  };
@@ -9,7 +9,7 @@ import "./providers/SubMenuProvider/SubMenuProvider.js";
9
9
  import "./hooks/useContextMenuKeyboardNavigation/useContextMenuKeyboardNavigation.js";
10
10
  import "./components/Trigger/Trigger.js";
11
11
  import "./components/Portal/Portal.js";
12
- import { C as b, a as c, D as d } from "../../ContextMenu-CeyT26LX.mjs";
12
+ import { C as b, a as c, D as d } from "../../ContextMenu-DFahDlEy.mjs";
13
13
  import "./components/SubTrigger/SubTrigger.js";
14
14
  import "./components/SubContent/SubContent.js";
15
15
  import "./components/Arrow/Arrow.js";
@@ -1 +1 @@
1
- {"version":3,"file":"Sub.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Sub/Sub.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,GAAG;YAAW,QAAQ;;CA2ElC,CAAC"}
1
+ {"version":3,"file":"Sub.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Sub/Sub.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,GAAG;YAAW,QAAQ;;CA4ElC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../../../index-aPaPKjUe.mjs";
3
3
  import "../../ContextMenu.enums.js";
4
- import { S as a } from "../../../../ContextMenu-CeyT26LX.mjs";
4
+ import { S as a } from "../../../../ContextMenu-DFahDlEy.mjs";
5
5
  import "./hooks/useContextMenuSub/useContextMenuSub.js";
6
6
  import "./Sub.context.js";
7
7
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useContextMenuSub.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,iBAAiB,YACnB,wBAAwB,KAChC,uBAydF,CAAC"}
1
+ {"version":3,"file":"useContextMenuSub.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,iBAAiB,YACnB,wBAAwB,KAChC,uBA0dF,CAAC"}
@@ -19,54 +19,54 @@ const Re = (z) => {
19
19
  isAnimatedOpen: k,
20
20
  onChildAiming: h,
21
21
  isChildAiming: v
22
- } = me(W), D = ie(), [s, f] = m(o || !1), [U, u] = m(!1), [H, R] = m(!1), [V, d] = m(!1), [A, X] = m(!1), [b, Y] = m(null), [q, Z] = m(!1), [y, _] = m(null), r = g(null), c = g(null), B = g(null), w = g(!0), a = g(!1), I = g(!1), $ = oe(), { hoverCloseDelay: P, animationDuration: E } = ae(W), l = $ ? i.CLICK : G, C = (t) => {
22
+ } = me(W), D = ie(), [s, f] = m(o || !1), [U, c] = m(!1), [H, R] = m(!1), [V, d] = m(!1), [A, X] = m(!1), [b, Y] = m(null), [q, Z] = m(!1), [y, _] = m(null), r = g(null), l = g(null), B = g(null), w = g(!0), a = g(!1), I = g(!1), $ = oe(), { hoverCloseDelay: P, animationDuration: E } = ae(W), u = $ ? i.CLICK : G, C = (t) => {
23
23
  setTimeout(() => S == null ? void 0 : S(t), 0);
24
24
  }, K = () => {
25
- r.current && (clearTimeout(r.current), r.current = null), c.current && (clearTimeout(c.current), c.current = null);
25
+ r.current && (clearTimeout(r.current), r.current = null), l.current && (clearTimeout(l.current), l.current = null);
26
26
  }, F = () => {
27
27
  K(), a.current = !1, f(!1), e == null || e(!1), C(!1), R(!1), I.current = !1, d(!1);
28
28
  }, M = () => {
29
- K(), u(!1), f(!1), e == null || e(!1), C(!1), R(!1), I.current = !1, d(!1);
29
+ K(), c(!1), f(!1), e == null || e(!1), C(!1), R(!1), I.current = !1, d(!1);
30
30
  }, ee = (t) => {
31
- p == null || p(t), h == null || h(t), !t && a.current && !I.current && (a.current = !1, u(!1), c.current = setTimeout(() => {
31
+ p == null || p(t), h == null || h(t), !t && a.current && !I.current && (a.current = !1, c(!1), l.current = setTimeout(() => {
32
32
  F();
33
33
  }, E));
34
34
  }, { isAiming: L, ref: te } = fe({
35
- isEnabled: s && l === i.HOVER,
35
+ isEnabled: s && u === i.HOVER,
36
36
  onChange: ee,
37
37
  tolerance: J,
38
38
  idleTimeout: Q
39
39
  }), O = () => {
40
- if (K(), l === i.HOVER) {
40
+ if (K(), u === i.HOVER) {
41
41
  if (A && b === i.CLICK || y !== null)
42
42
  return;
43
43
  if (H) {
44
- u(!1), c.current = setTimeout(() => {
44
+ c(!1), l.current = setTimeout(() => {
45
45
  f(!1), e == null || e(!1), C(!1), R(!1), I.current = !1, d(!1);
46
46
  }, E);
47
47
  return;
48
48
  }
49
- a.current = !0, L() || (a.current = !1, u(!1), c.current = setTimeout(() => {
49
+ a.current = !0, L() || (a.current = !1, c(!1), l.current = setTimeout(() => {
50
50
  F();
51
51
  }, E));
52
52
  } else
53
53
  M();
54
54
  }, j = (t) => {
55
55
  if (o !== void 0) {
56
- f(o), e == null || e(o), C(o), u(o), d(!1);
56
+ f(o), e == null || e(o), C(o), c(o), d(!1);
57
57
  return;
58
58
  }
59
- if (l === i.CLICK || V) {
60
- f(t), e == null || e(t), C(t), setTimeout(() => u(t), 0);
59
+ if (u === i.CLICK || V) {
60
+ f(t), e == null || e(t), C(t), setTimeout(() => c(t), 0);
61
61
  return;
62
62
  }
63
- t ? (c.current && (clearTimeout(c.current), c.current = null), f(!0), e == null || e(!0), u(!0), C(!0)) : O();
63
+ t ? (l.current && (clearTimeout(l.current), l.current = null), f(!0), e == null || e(!0), c(!0), C(!0)) : O();
64
64
  }, re = (t) => {
65
65
  d(t);
66
66
  }, se = () => {
67
- l !== i.HOVER || L() && x !== D || v != null && v() && !s || (d(!1), K(), a.current = !1, s ? (R(!0), I.current = !0, u(!0)) : (r.current && (clearTimeout(r.current), r.current = null), u(!0), e == null || e(!0), C(!0), f(!0), R(!0), I.current = !0));
67
+ u !== i.HOVER || L() && x !== D || v != null && v() && !s || (d(!1), K(), a.current = !1, s ? (R(!0), I.current = !0, c(!0)) : (r.current && (clearTimeout(r.current), r.current = null), c(!0), e == null || e(!0), C(!0), f(!0), R(!0), I.current = !0));
68
68
  }, ne = () => {
69
- l === i.HOVER && (d(!1), R(!1), I.current = !1, r.current && (clearTimeout(r.current), r.current = null), a.current && !L() && (a.current = !1, u(!1), c.current = setTimeout(() => {
69
+ u === i.HOVER && (d(!1), R(!1), I.current = !1, r.current && (clearTimeout(r.current), r.current = null), a.current && !L() && (a.current = !1, c(!1), l.current = setTimeout(() => {
70
70
  F();
71
71
  }, E)));
72
72
  }, ue = (t, N) => {
@@ -80,7 +80,7 @@ const Re = (z) => {
80
80
  return T(() => {
81
81
  (x !== D || q) && s && o === void 0 && M();
82
82
  }, [x, s, o]), T(() => {
83
- if (!(!s || l !== i.HOVER || V)) {
83
+ if (!(!s || u !== i.HOVER || V)) {
84
84
  if (H) {
85
85
  r.current && (clearTimeout(r.current), r.current = null);
86
86
  return;
@@ -91,9 +91,9 @@ const Re = (z) => {
91
91
  r.current && (clearTimeout(r.current), r.current = null);
92
92
  };
93
93
  }
94
- }, [l, s, H, P, V]), T(() => {
95
- n == null || n(s, l);
96
- }, [s, l]), T(() => {
94
+ }, [u, s, H, P, V]), T(() => {
95
+ n == null || n(s, u);
96
+ }, [s, u]), T(() => {
97
97
  y !== null && (n == null || n(!0, i.CLICK));
98
98
  }, [y]), T(() => {
99
99
  if (b !== null) {
@@ -101,7 +101,7 @@ const Re = (z) => {
101
101
  w.current = !1;
102
102
  return;
103
103
  }
104
- A && b === i.CLICK ? n == null || n(!0, b) : n == null || n(s, l);
104
+ A && b === i.CLICK ? n == null || n(!0, b) : n == null || n(s, u);
105
105
  }
106
106
  }, [A, b]), T(() => {
107
107
  j(s), s || h == null || h(!1);
@@ -124,7 +124,8 @@ const Re = (z) => {
124
124
  closeMenuImmediately: M,
125
125
  itemWithFocusedInput: y,
126
126
  setItemWithFocusedInput: _,
127
- isAiming: L
127
+ isAiming: L,
128
+ mode: u
128
129
  };
129
130
  };
130
131
  export {
@@ -107,5 +107,9 @@ export interface UseContextMenuSubResult {
107
107
  * Returns whether the cursor is currently moving toward the submenu.
108
108
  */
109
109
  isAiming: () => boolean;
110
+ /**
111
+ * The mode of the submenu.
112
+ */
113
+ mode: ContextMenuModeType;
110
114
  }
111
115
  //# sourceMappingURL=useContextMenuSub.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useContextMenuSub.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,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AE,CAAC,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC3E;;OAEG;IACH,aAAa,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD;;OAEG;IACH,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,uBAAuB,EAAE,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"useContextMenuSub.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,OAAO,CA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,4 +1,4 @@
1
- import { C as t } from "../../ContextMenu-CeyT26LX.mjs";
1
+ import { C as t } from "../../ContextMenu-DFahDlEy.mjs";
2
2
  export {
3
3
  t as ContextMenu
4
4
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kommo-crm/crm-react-ui-kit",
3
3
  "description": "Ready-to-use React components which implements Kommo design",
4
- "version": "1.3.0-beta.3",
4
+ "version": "1.3.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "engines": {
@@ -204,7 +204,7 @@
204
204
  "vite-plugin-svgr": "4.2.0"
205
205
  },
206
206
  "dependencies": {
207
- "@kommo-crm/react-hooks": "1.2.1-beta.2",
207
+ "@kommo-crm/react-hooks": "1.2.1",
208
208
  "@radix-ui/react-dropdown-menu": "2.1.15",
209
209
  "@react-spring/web": "10.0.1",
210
210
  "classnames": "2.5.1",
@@ -221,4 +221,4 @@
221
221
  "react-dom": "^18.0"
222
222
  },
223
223
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
224
- }
224
+ }