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

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.
Files changed (48) hide show
  1. package/dist/ContextMenu-CeyT26LX.mjs +229 -0
  2. package/dist/components/ContextMenu/ContextMenu.d.ts +2 -2
  3. package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -1
  4. package/dist/components/ContextMenu/ContextMenu.js +5 -5
  5. package/dist/components/ContextMenu/ContextMenu.props.d.ts +19 -3
  6. package/dist/components/ContextMenu/ContextMenu.props.d.ts.map +1 -1
  7. package/dist/components/ContextMenu/components/CheckboxItem/CheckboxItem.js +1 -1
  8. package/dist/components/ContextMenu/components/Content/Content.d.ts.map +1 -1
  9. package/dist/components/ContextMenu/components/Content/Content.js +1 -1
  10. package/dist/components/ContextMenu/components/Content/index.js +1 -1
  11. package/dist/components/ContextMenu/components/Item/Item.js +1 -1
  12. package/dist/components/ContextMenu/components/Label/Label.js +1 -1
  13. package/dist/components/ContextMenu/components/RadioItem/RadioItem.js +1 -1
  14. package/dist/components/ContextMenu/components/Sub/Sub.js +1 -1
  15. package/dist/components/ContextMenu/components/Sub/Sub.props.d.ts +3 -3
  16. package/dist/components/ContextMenu/components/Sub/Sub.props.d.ts.map +1 -1
  17. package/dist/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.d.ts.map +1 -1
  18. package/dist/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.js +80 -88
  19. package/dist/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.types.d.ts +2 -2
  20. package/dist/components/ContextMenu/components/Sub/hooks/useContextMenuSub/useContextMenuSub.types.d.ts.map +1 -1
  21. package/dist/components/ContextMenu/components/Sub/index.js +1 -1
  22. package/dist/components/ContextMenu/components/SubContent/SubContent.js +1 -1
  23. package/dist/components/ContextMenu/components/SubRoot/components/Content/Content.js +1 -1
  24. package/dist/components/ContextMenu/components/SubRoot/components/Trigger/Trigger.js +1 -1
  25. package/dist/components/ContextMenu/components/SubRoot/hooks/useContextMenuSubMenu/useContextMenuSubMenu.js +1 -1
  26. package/dist/components/ContextMenu/components/SubTrigger/SubTrigger.js +1 -1
  27. package/dist/components/ContextMenu/hooks/index.js +1 -1
  28. package/dist/components/ContextMenu/hooks/useContentPositioning/useContentPositioning.d.ts.map +1 -1
  29. package/dist/components/ContextMenu/hooks/useContentPositioning/useContentPositioning.js +1 -1
  30. package/dist/components/ContextMenu/hooks/useContextMenu/useContextMenu.d.ts.map +1 -1
  31. package/dist/components/ContextMenu/hooks/useContextMenu/useContextMenu.js +142 -133
  32. package/dist/components/ContextMenu/hooks/useContextMenu/useContextMenu.types.d.ts +14 -2
  33. package/dist/components/ContextMenu/hooks/useContextMenu/useContextMenu.types.d.ts.map +1 -1
  34. package/dist/components/ContextMenu/hooks/useContextMenu/utils/contextMenuBus/contextMenuBus.d.ts +3 -1
  35. package/dist/components/ContextMenu/hooks/useContextMenu/utils/contextMenuBus/contextMenuBus.d.ts.map +1 -1
  36. package/dist/components/ContextMenu/hooks/useContextMenu/utils/contextMenuBus/contextMenuBus.js +16 -10
  37. package/dist/components/ContextMenu/hooks/useContextMenu/utils/contextMenuBus/contextMenuBus.types.d.ts +4 -0
  38. package/dist/components/ContextMenu/hooks/useContextMenu/utils/contextMenuBus/contextMenuBus.types.d.ts.map +1 -1
  39. package/dist/components/ContextMenu/hooks/useContextMenuItemFocus/useContextMenuItemFocus.d.ts.map +1 -1
  40. package/dist/components/ContextMenu/hooks/useContextMenuItemFocus/useContextMenuItemFocus.js +47 -42
  41. package/dist/components/ContextMenu/index.js +1 -1
  42. package/dist/components/List/List.js +1 -1
  43. package/dist/components/Select/components/List/List.js +1 -1
  44. package/dist/index-DBS3EIVR.mjs +273 -0
  45. package/dist/{useContentPositioning-DfyirIME.mjs → useContentPositioning-Dfjbylz5.mjs} +456 -451
  46. package/package.json +3 -3
  47. package/dist/ContextMenu-BUiakpJf.mjs +0 -223
  48. package/dist/index-BH2CXQ4d.mjs +0 -257
@@ -0,0 +1,229 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { S as B, a as K } from "./index-aPaPKjUe.mjs";
3
+ import { useContextMenu as j } from "./components/ContextMenu/hooks/useContextMenu/useContextMenu.js";
4
+ import "react";
5
+ import { C as H } from "./useContentPositioning-Dfjbylz5.mjs";
6
+ import "./components/ContextMenu/components/Content/Content.utils.js";
7
+ import "./components/ContextMenu/providers/LevelProvider/LevelProvider.js";
8
+ import "./components/ContextMenu/providers/SubMenuProvider/SubMenuProvider.js";
9
+ import { useContextMenuKeyboardNavigation as V } from "./components/ContextMenu/hooks/useContextMenuKeyboardNavigation/useContextMenuKeyboardNavigation.js";
10
+ import { Trigger as $ } from "./components/ContextMenu/components/Trigger/Trigger.js";
11
+ import { Portal as q } from "./components/ContextMenu/components/Portal/Portal.js";
12
+ import { ContextMenuMode as z } from "./components/ContextMenu/ContextMenu.enums.js";
13
+ import { SubTrigger as J } from "./components/ContextMenu/components/SubTrigger/SubTrigger.js";
14
+ import { SubContent as Q } from "./components/ContextMenu/components/SubContent/SubContent.js";
15
+ import { Arrow as X } from "./components/ContextMenu/components/Arrow/Arrow.js";
16
+ import { Item as Z } from "./components/ContextMenu/components/Item/Item.js";
17
+ import { ItemRightSlot as ee } from "./components/ContextMenu/components/ItemRightSlot/ItemRightSlot.js";
18
+ import { Group as oe } from "./components/ContextMenu/components/Group/Group.js";
19
+ import { Label as ne } from "./components/ContextMenu/components/Label/Label.js";
20
+ import { CheckboxItem as te } from "./components/ContextMenu/components/CheckboxItem/CheckboxItem.js";
21
+ import { ItemIndicator as ie } from "./components/ContextMenu/components/ItemIndicator/ItemIndicator.js";
22
+ import { RadioGroup as re } from "./components/ContextMenu/components/RadioGroup/RadioGroup.js";
23
+ import { RadioItem as me } from "./components/ContextMenu/components/RadioItem/RadioItem.js";
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";
27
+ import { DISPLAY_NAME as ue, ContextMenuRootProvider as de, ContextMenuProvider as le } from "./components/ContextMenu/ContextMenu.context.js";
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) => {
31
+ const {
32
+ children: a,
33
+ mode: t = z.HOVER,
34
+ onOpen: e,
35
+ defaultOpen: i,
36
+ shouldCloseRootMenuOnSelect: u = !0,
37
+ shouldCloseCurrentMenuOnSelect: d = !0,
38
+ onAiming: l,
39
+ aimingTolerance: c = T,
40
+ aimingIdleTimeout: C = v,
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
60
+ } = ce({
61
+ displayName: L,
62
+ mode: t,
63
+ defaultOpen: i,
64
+ onOpen: e,
65
+ onAiming: l,
66
+ aimingTolerance: c,
67
+ aimingIdleTimeout: C
68
+ });
69
+ return /* @__PURE__ */ n(
70
+ Ce,
71
+ {
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,
85
+ shouldCloseRootMenuOnSelect: u,
86
+ shouldCloseCurrentMenuOnSelect: d,
87
+ closeMenuImmediately: s,
88
+ itemWithFocusedInput: E,
89
+ setItemWithFocusedInput: D,
90
+ isAiming: _,
91
+ onPointerDownOutside: x,
92
+ children: /* @__PURE__ */ n(
93
+ B,
94
+ {
95
+ open: r,
96
+ onOpenChange: m,
97
+ ...O,
98
+ children: a
99
+ }
100
+ )
101
+ }
102
+ );
103
+ };
104
+ N.displayName = L;
105
+ const Oe = 200, fe = 150, T = 20, v = 200, y = (p) => {
106
+ const {
107
+ children: a,
108
+ mode: t,
109
+ isOpen: e,
110
+ defaultOpen: i,
111
+ shouldCloseCurrentMenuOnSelect: u = !0,
112
+ onOpen: d,
113
+ onAnimatedOpen: l,
114
+ onAiming: c,
115
+ aimingTolerance: C = T,
116
+ aimingIdleTimeout: O = v,
117
+ ...r
118
+ } = p, {
119
+ mode: f,
120
+ isOpen: o,
121
+ triggerRef: I,
122
+ contentRef: h,
123
+ isAnimatedOpen: m,
124
+ skipAnimation: g,
125
+ animationDuration: A,
126
+ hoverCloseDelay: M,
127
+ isRootContentBlocked: R,
128
+ isChildOpen: S,
129
+ itemWithFocusedInput: b,
130
+ closeMenuImmediately: s,
131
+ onOpenChange: E,
132
+ onContentEnter: D,
133
+ onContentLeave: _,
134
+ onOpenByKeyboard: x,
135
+ onChildOpen: P,
136
+ onSubmenuOpen: F,
137
+ setItemWithFocusedInput: G,
138
+ shouldPreventFocusRestore: U,
139
+ setOnFocusOutside: W,
140
+ isChildAiming: Y,
141
+ onChildAiming: k
142
+ } = j({
143
+ mode: t,
144
+ defaultOpen: i,
145
+ animationDuration: fe,
146
+ hoverCloseDelay: Oe,
147
+ isOpen: e,
148
+ onOpen: d,
149
+ onAnimatedOpen: l,
150
+ onAiming: c,
151
+ aimingTolerance: C,
152
+ aimingIdleTimeout: O
153
+ }), { navigationContentRef: w } = V({
154
+ isOpen: e ?? o,
155
+ isAnimatedOpen: m
156
+ });
157
+ return /* @__PURE__ */ n(
158
+ de,
159
+ {
160
+ closeRootMenuImmediately: s,
161
+ navigationContentRef: w,
162
+ children: /* @__PURE__ */ n(
163
+ le,
164
+ {
165
+ mode: f,
166
+ triggerRef: I,
167
+ contentRef: h,
168
+ isAnimatedOpen: m,
169
+ skipAnimation: g,
170
+ animationDuration: A,
171
+ hoverCloseDelay: M,
172
+ closeMenuImmediately: s,
173
+ onContentEnter: D,
174
+ onContentLeave: _,
175
+ onOpenByKeyboard: x,
176
+ shouldCloseCurrentMenuOnSelect: u,
177
+ onChildOpen: P,
178
+ isOpen: o,
179
+ onSubmenuOpen: F,
180
+ isRootContentBlocked: R,
181
+ isChildOpen: S,
182
+ itemWithFocusedInput: b,
183
+ setItemWithFocusedInput: G,
184
+ shouldPreventFocusRestore: U,
185
+ setOnFocusOutside: W,
186
+ isChildAiming: Y,
187
+ onChildAiming: k,
188
+ children: /* @__PURE__ */ n(
189
+ K,
190
+ {
191
+ open: e ?? o,
192
+ onOpenChange: E,
193
+ modal: !1,
194
+ ...r,
195
+ children: a
196
+ }
197
+ )
198
+ }
199
+ )
200
+ }
201
+ );
202
+ }, Ve = Object.assign(y, {
203
+ displayName: ue,
204
+ Root: y,
205
+ experimental_SubRoot: ae,
206
+ Trigger: $,
207
+ Content: H,
208
+ Portal: q,
209
+ Sub: N,
210
+ SubTrigger: J,
211
+ SubContent: Q,
212
+ Arrow: X,
213
+ Item: Z,
214
+ ItemRightSlot: ee,
215
+ Group: oe,
216
+ Label: ne,
217
+ CheckboxItem: te,
218
+ RadioGroup: re,
219
+ RadioItem: me,
220
+ ItemIndicator: ie,
221
+ Separator: se,
222
+ ItemIcon: pe
223
+ });
224
+ export {
225
+ Ve as C,
226
+ T as D,
227
+ N as S,
228
+ v as a
229
+ };
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { ContextMenuRootProps } from './ContextMenu.props';
3
- export declare const DEFAULT_IS_AIMING_TOLERANCE = 0;
4
- export declare const DEFAULT_IS_AIMING_IDLE_TIMEOUT = 200;
3
+ export declare const DEFAULT_AIMING_TOLERANCE = 20;
4
+ export declare const DEFAULT_AIMING_IDLE_TIMEOUT = 200;
5
5
  declare const ContextMenuRoot: ((props: ContextMenuRootProps) => React.JSX.Element) & {
6
6
  displayName: string;
7
7
  Root: (props: ContextMenuRootProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AA+B3D,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAoGlD,QAAA,MAAM,eAAe,WAlGO,oBAAoB;;kBAApB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA5BR,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyJjD,CAAC;AAEH,OAAO,EAAE,eAAe,IAAI,WAAW,EAAE,CAAC"}
@@ -2,14 +2,14 @@ import "react/jsx-runtime";
2
2
  import "../../index-aPaPKjUe.mjs";
3
3
  import "./hooks/useContextMenu/useContextMenu.js";
4
4
  import "react";
5
- import "../../useContentPositioning-DfyirIME.mjs";
5
+ import "../../useContentPositioning-Dfjbylz5.mjs";
6
6
  import "./components/Content/Content.utils.js";
7
7
  import "./providers/LevelProvider/LevelProvider.js";
8
8
  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 R, a as b, D as c } from "../../ContextMenu-BUiakpJf.mjs";
12
+ import { C as b, a as c, D as d } from "../../ContextMenu-CeyT26LX.mjs";
13
13
  import "./components/SubTrigger/SubTrigger.js";
14
14
  import "./components/SubContent/SubContent.js";
15
15
  import "./components/Arrow/Arrow.js";
@@ -26,7 +26,7 @@ import "./components/ItemIcon/ItemIcon.js";
26
26
  import "./components/SubRoot/SubRoot.js";
27
27
  import "./ContextMenu.context.js";
28
28
  export {
29
- R as ContextMenu,
30
- b as DEFAULT_IS_AIMING_IDLE_TIMEOUT,
31
- c as DEFAULT_IS_AIMING_TOLERANCE
29
+ b as ContextMenu,
30
+ c as DEFAULT_AIMING_IDLE_TIMEOUT,
31
+ d as DEFAULT_AIMING_TOLERANCE
32
32
  };
@@ -40,16 +40,16 @@ export type ContextMenuRootProps = Omit<RadixDropdownMenuRootProps, 'onOpenChang
40
40
  * Tolerance in pixels for detecting cursor movement toward the menu.
41
41
  * Higher values make the detection more lenient.
42
42
  *
43
- * @default 0
43
+ * @default 20
44
44
  */
45
- isAimingTolerance?: number;
45
+ aimingTolerance?: number;
46
46
  /**
47
47
  * Timeout in milliseconds before considering cursor movement as idle.
48
48
  * Used to reset aiming state when cursor stops moving.
49
49
  *
50
50
  * @default 200
51
51
  */
52
- isAimingIdleTimeout?: number;
52
+ aimingIdleTimeout?: number;
53
53
  };
54
54
  export interface ContextMenuContextProps {
55
55
  /**
@@ -77,6 +77,14 @@ export interface ContextMenuContextProps {
77
77
  * its content (used to coordinate animations).
78
78
  */
79
79
  isAnimatedOpen: boolean;
80
+ /**
81
+ * Whether to skip the animation when closing or opening the menu.
82
+ * Used to instantly close the first and open the second ContextMenu via contextMenuBus.
83
+ *
84
+ * @remarks
85
+ * This prop is only used for `ContextMenu` (root) components.
86
+ */
87
+ skipAnimation?: boolean;
80
88
  /**
81
89
  * The duration of the menu and submenus opening/closing animation in milliseconds.
82
90
  */
@@ -183,6 +191,14 @@ export interface ContextMenuContextProps {
183
191
  * This prop is only used for `ContextMenu` (root) components.
184
192
  */
185
193
  setOnFocusOutside?: (callback: ((event: FocusChangeEvent) => void) | undefined) => void;
194
+ /**
195
+ * Returns whether any child submenu is being aimed at.
196
+ */
197
+ isChildAiming?: () => boolean;
198
+ /**
199
+ * Called when a child submenu's aiming state changes.
200
+ */
201
+ onChildAiming?: (aiming: boolean) => void;
186
202
  }
187
203
  export interface ContextMenuRootContextProps {
188
204
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.props.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,IAAI,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAErG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,0BAA0B,EAC1B,cAAc,GAAG,OAAO,GAAG,MAAM,CAClC,GAAG;IACF;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD;;;;;OAKG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;;OAIG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,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,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;OAEG;IACH,uBAAuB,EAAE,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,OAAO,CAAC;IAC1C;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,CAClB,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC,GAAG,SAAS,KACtD,IAAI,CAAC;CACX;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,wBAAwB,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,oBAAoB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACvD"}
1
+ {"version":3,"file":"ContextMenu.props.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,IAAI,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAErG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,0BAA0B,EAC1B,cAAc,GAAG,OAAO,GAAG,MAAM,CAClC,GAAG;IACF;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD;;;;;OAKG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;;OAIG;IACH,8BAA8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,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,8BAA8B,EAAE,OAAO,CAAC;IACxC;;OAEG;IACH,WAAW,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAClE;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;OAEG;IACH,uBAAuB,EAAE,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;;OAKG;IACH,yBAAyB,CAAC,EAAE,MAAM,OAAO,CAAC;IAC1C;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,CAClB,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC,GAAG,SAAS,KACtD,IAAI,CAAC;IACV;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,wBAAwB,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,oBAAoB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACvD"}
@@ -4,7 +4,7 @@ import { C as W } from "../../../../index-aPaPKjUe.mjs";
4
4
  import { c as X } from "../../../../index-L8X2o7IH.mjs";
5
5
  import { mergeRefs as Z } from "../../../../lib/utils.js";
6
6
  import { useLevelContext as $ } from "../../providers/LevelProvider/LevelProvider.js";
7
- import "../../../../useContentPositioning-DfyirIME.mjs";
7
+ import "../../../../useContentPositioning-Dfjbylz5.mjs";
8
8
  import "../Content/Content.utils.js";
9
9
  import { useSubMenu as ee } from "../../hooks/useSubMenu/useSubMenu.js";
10
10
  import "../../providers/SubMenuProvider/SubMenuProvider.js";
@@ -1 +1 @@
1
- {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Content/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAkDf,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA+OlB,CAAC"}
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Content/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAkDf,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwOlB,CAAC"}
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../index-aPaPKjUe.mjs";
4
4
  import "../../../../index-L8X2o7IH.mjs";
5
- import { C as d } from "../../../../useContentPositioning-DfyirIME.mjs";
5
+ import { C as d } from "../../../../useContentPositioning-Dfjbylz5.mjs";
6
6
  import "../../../../lib/utils.js";
7
7
  import "../../../../lib/keyboard/index.js";
8
8
  import "../../providers/LevelProvider/LevelProvider.js";
@@ -1,4 +1,4 @@
1
- import { C as e } from "../../../../useContentPositioning-DfyirIME.mjs";
1
+ import { C as e } from "../../../../useContentPositioning-Dfjbylz5.mjs";
2
2
  import { Direction as i } from "./Content.enums.js";
3
3
  import { directionToSide as f } from "./Content.utils.js";
4
4
  export {
@@ -4,7 +4,7 @@ import { I as ee } from "../../../../index-aPaPKjUe.mjs";
4
4
  import { c as N } from "../../../../index-L8X2o7IH.mjs";
5
5
  import { mergeRefs as O } from "../../../../lib/utils.js";
6
6
  import { useLevelContext as ne } from "../../providers/LevelProvider/LevelProvider.js";
7
- import "../../../../useContentPositioning-DfyirIME.mjs";
7
+ import "../../../../useContentPositioning-Dfjbylz5.mjs";
8
8
  import "../Content/Content.utils.js";
9
9
  import { useSubMenu as oe } from "../../hooks/useSubMenu/useSubMenu.js";
10
10
  import { useItemInnerFocus as te } from "../../hooks/useItemInnerFocus/useItemInnerFocus.js";
@@ -3,7 +3,7 @@ import { forwardRef as f } from "react";
3
3
  import { L as b } from "../../../../index-aPaPKjUe.mjs";
4
4
  import { c as u } from "../../../../index-L8X2o7IH.mjs";
5
5
  import { mergeRefs as d } from "../../../../lib/utils.js";
6
- import "../../../../useContentPositioning-DfyirIME.mjs";
6
+ import "../../../../useContentPositioning-Dfjbylz5.mjs";
7
7
  import "../Content/Content.utils.js";
8
8
  import { useSubMenu as L } from "../../hooks/useSubMenu/useSubMenu.js";
9
9
  import "../../providers/LevelProvider/LevelProvider.js";
@@ -4,7 +4,7 @@ import { e as Q } from "../../../../index-aPaPKjUe.mjs";
4
4
  import { c as U } from "../../../../index-L8X2o7IH.mjs";
5
5
  import { mergeRefs as V } from "../../../../lib/utils.js";
6
6
  import { useLevelContext as W } from "../../providers/LevelProvider/LevelProvider.js";
7
- import "../../../../useContentPositioning-DfyirIME.mjs";
7
+ import "../../../../useContentPositioning-Dfjbylz5.mjs";
8
8
  import "../Content/Content.utils.js";
9
9
  import { useSubMenu as X } from "../../hooks/useSubMenu/useSubMenu.js";
10
10
  import "../../providers/SubMenuProvider/SubMenuProvider.js";
@@ -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-BUiakpJf.mjs";
4
+ import { S as a } from "../../../../ContextMenu-CeyT26LX.mjs";
5
5
  import "./hooks/useContextMenuSub/useContextMenuSub.js";
6
6
  import "./Sub.context.js";
7
7
  export {
@@ -38,16 +38,16 @@ export type SubProps = Omit<ComponentPropsWithoutRef<typeof RadixDropdownMenuSub
38
38
  * Tolerance in pixels for detecting cursor movement toward the submenu.
39
39
  * Higher values make the detection more lenient.
40
40
  *
41
- * @default 0
41
+ * @default 20
42
42
  */
43
- isAimingTolerance?: number;
43
+ aimingTolerance?: number;
44
44
  /**
45
45
  * Timeout in milliseconds before considering cursor movement as idle.
46
46
  * Used to reset aiming state when cursor stops moving.
47
47
  *
48
48
  * @default 200
49
49
  */
50
- isAimingIdleTimeout?: number;
50
+ aimingIdleTimeout?: number;
51
51
  };
52
52
  export interface ContextMenuSubContextProps {
53
53
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Sub.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Sub/Sub.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,GAAG,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;OAEG;IACH,gBAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C;;OAEG;IACH,WAAW,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,aAAa,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD;;;;OAIG;IACH,2BAA2B,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,8BAA8B,EAAE,OAAO,CAAC;IACxC;;OAEG;IACH,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC;;OAEG;IACH,uBAAuB,EAAE,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB;;OAEG;IACH,oBAAoB,EAAE,CAAC,CAAC,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAC5D"}
1
+ {"version":3,"file":"Sub.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Sub/Sub.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,GAAG,IAAI,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,MAAM,MAAM,QAAQ,GAAG,IAAI,CACzB,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,EACrD,cAAc,CACf,G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C,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,aAAa,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD;;;;OAIG;IACH,2BAA2B,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,8BAA8B,EAAE,OAAO,CAAC;IACxC;;OAEG;IACH,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC;;OAEG;IACH,uBAAuB,EAAE,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACvE;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB;;OAEG;IACH,oBAAoB,EAAE,CAAC,CAAC,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAC5D"}
@@ -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,uBA+fF,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,uBAydF,CAAC"}