@kommo-crm/crm-react-ui-kit 1.1.1-beta.0 → 1.1.1-beta.1

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 (42) hide show
  1. package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -1
  2. package/dist/components/ContextMenu/ContextMenu.js +75 -72
  3. package/dist/components/ContextMenu/ContextMenu.props.d.ts +4 -0
  4. package/dist/components/ContextMenu/ContextMenu.props.d.ts.map +1 -1
  5. package/dist/components/ContextMenu/ContextMenu.types.d.ts +4 -0
  6. package/dist/components/ContextMenu/ContextMenu.types.d.ts.map +1 -1
  7. package/dist/components/ContextMenu/components/CheckboxItem/CheckboxItem.js +1 -1
  8. package/dist/components/ContextMenu/components/Content/Content.js +1 -1
  9. package/dist/components/ContextMenu/components/Content/index.js +1 -1
  10. package/dist/components/ContextMenu/components/Item/Item.d.ts.map +1 -1
  11. package/dist/components/ContextMenu/components/Item/Item.js +64 -56
  12. package/dist/components/ContextMenu/components/Item/Item.props.d.ts +8 -2
  13. package/dist/components/ContextMenu/components/Item/Item.props.d.ts.map +1 -1
  14. package/dist/components/ContextMenu/components/RadioItem/RadioItem.js +1 -1
  15. package/dist/components/ContextMenu/components/Sub/Sub.d.ts.map +1 -1
  16. package/dist/components/ContextMenu/components/Sub/Sub.js +18 -16
  17. package/dist/components/ContextMenu/components/Sub/Sub.props.d.ts +4 -0
  18. package/dist/components/ContextMenu/components/Sub/Sub.props.d.ts.map +1 -1
  19. package/dist/components/ContextMenu/components/SubRoot/SubRoot.d.ts.map +1 -1
  20. package/dist/components/ContextMenu/components/SubRoot/SubRoot.js +56 -53
  21. package/dist/components/ContextMenu/components/SubRoot/components/Content/Content.js +1 -1
  22. package/dist/components/ContextMenu/components/SubRoot/components/Trigger/Trigger.js +1 -1
  23. package/dist/components/ContextMenu/components/SubTrigger/SubTrigger.d.ts.map +1 -1
  24. package/dist/components/ContextMenu/components/SubTrigger/SubTrigger.js +53 -50
  25. package/dist/components/ContextMenu/components/Trigger/Trigger.d.ts.map +1 -1
  26. package/dist/components/ContextMenu/components/Trigger/Trigger.js +24 -24
  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 +1 -0
  31. package/dist/components/ContextMenu/hooks/useContextMenu/useContextMenu.d.ts.map +1 -1
  32. package/dist/components/ContextMenu/hooks/useContextMenu/useContextMenu.js +56 -46
  33. package/dist/components/ContextMenu/hooks/useContextMenuSub/useContextMenuSub.d.ts +4 -3
  34. package/dist/components/ContextMenu/hooks/useContextMenuSub/useContextMenuSub.d.ts.map +1 -1
  35. package/dist/components/ContextMenu/hooks/useContextMenuSub/useContextMenuSub.js +55 -87
  36. package/dist/components/ContextMenu/hooks/useContextMenuSubMenu/useContextMenuSubMenu.d.ts +1 -0
  37. package/dist/components/ContextMenu/hooks/useContextMenuSubMenu/useContextMenuSubMenu.d.ts.map +1 -1
  38. package/dist/components/ContextMenu/hooks/useContextMenuSubMenu/useContextMenuSubMenu.js +57 -54
  39. package/dist/components/ContextMenu/index.js +1 -1
  40. package/dist/useContentPositioning-27D32n5u.mjs +185 -0
  41. package/package.json +1 -1
  42. package/dist/useContentPositioning-BIVWgixU.mjs +0 -174
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAqB,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAKzE,eAAO,MAAM,WAAW,EA2DnB,eAAe,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAqB,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAKzE,eAAO,MAAM,WAAW,EA8DnB,eAAe,CAAC"}
@@ -1,104 +1,107 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as A, useImperativeHandle as M } from "react";
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { forwardRef as M, useImperativeHandle as y } from "react";
3
3
  import { R as v } from "../../index-BA3njR2k.mjs";
4
4
  import { useContextMenu as x } from "./hooks/useContextMenu/useContextMenu.js";
5
5
  import "./providers/LevelProvider/LevelProvider.js";
6
- import { C as D } from "../../useContentPositioning-BIVWgixU.mjs";
6
+ import { C as D } from "../../useContentPositioning-27D32n5u.mjs";
7
7
  import "./components/Content/Content.utils.js";
8
- import { ContextMenuProvider as T, DISPLAY_NAME as y } from "./ContextMenu.context.js";
8
+ import { ContextMenuProvider as O, DISPLAY_NAME as T } from "./ContextMenu.context.js";
9
9
  import { Trigger as L } from "./components/Trigger/Trigger.js";
10
- import { Portal as O } from "./components/Portal/Portal.js";
11
- import { Sub as E } from "./components/Sub/Sub.js";
12
- import { SubTrigger as N } from "./components/SubTrigger/SubTrigger.js";
13
- import { SubContent as w } from "./components/SubContent/SubContent.js";
14
- import { Arrow as G } from "./components/Arrow/Arrow.js";
15
- import { Item as H } from "./components/Item/Item.js";
16
- import { ItemRightSlot as P } from "./components/ItemRightSlot/ItemRightSlot.js";
17
- import { Group as _ } from "./components/Group/Group.js";
18
- import { Label as k } from "./components/Label/Label.js";
19
- import { CheckboxItem as Y } from "./components/CheckboxItem/CheckboxItem.js";
20
- import { ItemIndicator as j } from "./components/ItemIndicator/ItemIndicator.js";
21
- import { RadioGroup as U } from "./components/RadioGroup/RadioGroup.js";
22
- import { RadioItem as V } from "./components/RadioItem/RadioItem.js";
23
- import { Separator as q } from "./components/Separator/Separator.js";
24
- import { ItemIcon as z } from "./components/ItemIcon/ItemIcon.js";
25
- import { SubRoot as B } from "./components/SubRoot/SubRoot.js";
26
- const F = 200, J = 150, o = A(
27
- ({ children: m, mode: i, onOpen: n, defaultOpen: a, ...p }, f) => {
10
+ import { Portal as E } from "./components/Portal/Portal.js";
11
+ import { Sub as N } from "./components/Sub/Sub.js";
12
+ import { SubTrigger as w } from "./components/SubTrigger/SubTrigger.js";
13
+ import { SubContent as G } from "./components/SubContent/SubContent.js";
14
+ import { Arrow as H } from "./components/Arrow/Arrow.js";
15
+ import { Item as P } from "./components/Item/Item.js";
16
+ import { ItemRightSlot as _ } from "./components/ItemRightSlot/ItemRightSlot.js";
17
+ import { Group as k } from "./components/Group/Group.js";
18
+ import { Label as Y } from "./components/Label/Label.js";
19
+ import { CheckboxItem as j } from "./components/CheckboxItem/CheckboxItem.js";
20
+ import { ItemIndicator as B } from "./components/ItemIndicator/ItemIndicator.js";
21
+ import { RadioGroup as K } from "./components/RadioGroup/RadioGroup.js";
22
+ import { RadioItem as U } from "./components/RadioItem/RadioItem.js";
23
+ import { Separator as V } from "./components/Separator/Separator.js";
24
+ import { ItemIcon as q } from "./components/ItemIcon/ItemIcon.js";
25
+ import { SubRoot as z } from "./components/SubRoot/SubRoot.js";
26
+ const F = 200, J = 150, o = M(
27
+ ({ children: i, mode: n, onOpen: a, defaultOpen: p, ...f }, u) => {
28
28
  const {
29
- mode: u,
30
- open: I,
31
- onOpenChange: l,
32
- triggerRef: d,
33
- contentRef: s,
34
- inheritedArrowColor: C,
35
- animatedOpen: R,
29
+ mode: I,
30
+ open: l,
31
+ onOpenChange: d,
32
+ triggerRef: s,
33
+ contentRef: C,
34
+ inheritedArrowColor: R,
35
+ animatedOpen: b,
36
36
  animationDuration: S,
37
- hoverCloseDelay: b,
38
- temporaryHoverClose: c,
37
+ hoverCloseDelay: c,
38
+ temporaryHoverClose: g,
39
39
  closeMenuImmediately: r,
40
- onMouseEnter: g,
41
- onMouseLeave: h,
42
- enableTemporaryHoverClose: t
40
+ onMouseEnter: h,
41
+ onMouseLeave: A,
42
+ enableTemporaryHoverClose: t,
43
+ onOpenByKeyboard: e
43
44
  } = x({
44
- mode: i,
45
- defaultOpen: a,
46
- onOpen: n,
45
+ mode: n,
46
+ defaultOpen: p,
47
+ onOpen: a,
47
48
  animationDuration: J,
48
49
  hoverCloseDelay: F
49
50
  });
50
- return M(f, () => ({
51
+ return y(u, () => ({
51
52
  closeMenuImmediately: r,
52
- enableTemporaryHoverClose: t
53
- })), /* @__PURE__ */ e(
54
- T,
53
+ enableTemporaryHoverClose: t,
54
+ onOpenByKeyboard: e
55
+ })), /* @__PURE__ */ m(
56
+ O,
55
57
  {
56
- mode: u,
57
- triggerRef: d,
58
- contentRef: s,
59
- inheritedArrowColor: C,
60
- animatedOpen: R,
58
+ mode: I,
59
+ triggerRef: s,
60
+ contentRef: C,
61
+ inheritedArrowColor: R,
62
+ animatedOpen: b,
61
63
  animationDuration: S,
62
- hoverCloseDelay: b,
63
- temporaryHoverClose: c,
64
+ hoverCloseDelay: c,
65
+ temporaryHoverClose: g,
64
66
  closeMenuImmediately: r,
65
- onMouseEnter: g,
66
- onMouseLeave: h,
67
+ onMouseEnter: h,
68
+ onMouseLeave: A,
67
69
  enableTemporaryHoverClose: t,
68
- children: /* @__PURE__ */ e(
70
+ onOpenByKeyboard: e,
71
+ children: /* @__PURE__ */ m(
69
72
  v,
70
73
  {
71
- open: I,
72
- onOpenChange: l,
74
+ open: l,
75
+ onOpenChange: d,
73
76
  modal: !1,
74
- ...p,
75
- children: m
77
+ ...f,
78
+ children: i
76
79
  }
77
80
  )
78
81
  }
79
82
  );
80
83
  }
81
84
  );
82
- o.displayName = y;
85
+ o.displayName = T;
83
86
  o.Root = o;
84
- o.SubRoot = B;
87
+ o.SubRoot = z;
85
88
  o.Trigger = L;
86
89
  o.Content = D;
87
- o.Portal = O;
88
- o.Sub = E;
89
- o.SubTrigger = N;
90
- o.SubContent = w;
91
- o.Arrow = G;
92
- o.Item = H;
93
- o.ItemRightSlot = P;
94
- o.Group = _;
95
- o.Label = k;
96
- o.CheckboxItem = Y;
97
- o.RadioGroup = U;
98
- o.RadioItem = V;
99
- o.ItemIndicator = j;
100
- o.Separator = q;
101
- o.ItemIcon = z;
90
+ o.Portal = E;
91
+ o.Sub = N;
92
+ o.SubTrigger = w;
93
+ o.SubContent = G;
94
+ o.Arrow = H;
95
+ o.Item = P;
96
+ o.ItemRightSlot = _;
97
+ o.Group = k;
98
+ o.Label = Y;
99
+ o.CheckboxItem = j;
100
+ o.RadioGroup = K;
101
+ o.RadioItem = U;
102
+ o.ItemIndicator = B;
103
+ o.Separator = V;
104
+ o.ItemIcon = q;
102
105
  export {
103
106
  o as ContextMenu
104
107
  };
@@ -101,5 +101,9 @@ export interface ContextMenuContextProps {
101
101
  * This prop is only used for `SubRoot` (submenu) components.
102
102
  */
103
103
  triggerId?: string;
104
+ /**
105
+ * The callback function to be called when the menu is opened by keyboard.
106
+ */
107
+ onOpenByKeyboard: (value: boolean) => void;
104
108
  }
105
109
  //# sourceMappingURL=ContextMenu.props.d.ts.map
@@ -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,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,0BAA0B,EAC1B,cAAc,GAAG,OAAO,CACzB,GAAG;IACF;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC;;;;;OAKG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC/C;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAC7B;;;;;OAKG;IACH,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC;;;OAGG;IACH,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,oBAAoB,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
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,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,0BAA0B,EAC1B,cAAc,GAAG,OAAO,CACzB,GAAG;IACF;;OAEG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gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C"}
@@ -32,6 +32,10 @@ export interface ContextMenuHandle {
32
32
  * Enables the temporary hover close.
33
33
  */
34
34
  enableTemporaryHoverClose: () => void;
35
+ /**
36
+ * The callback function to be called when the menu is opened by keyboard.
37
+ */
38
+ onOpenByKeyboard: (value: boolean) => void;
35
39
  }
36
40
  export type ContextMenuComponentType = ForwardRefExoticComponent<ContextMenuRootProps & RefAttributes<ContextMenuHandle>>;
37
41
  export interface ContextMenuType extends ContextMenuComponentType {
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.types.d.ts","sourceRoot":"","sources":["../../../src/components/ContextMenu/ContextMenu.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,GAAG,EAAE,MA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+5,7 @@ import { c as v } from "../../../../index-L8X2o7IH.mjs";
5
5
  import { useLevelContext as N } from "../../providers/LevelProvider/LevelProvider.js";
6
6
  import { useContextMenuContext as y } from "../../ContextMenu.context.js";
7
7
  import { hasItemIcon as L } from "../../utils/hasItemIcon/hasItemIcon.js";
8
- import "../../../../useContentPositioning-BIVWgixU.mjs";
8
+ import "../../../../useContentPositioning-27D32n5u.mjs";
9
9
  import "../Content/Content.utils.js";
10
10
  import { useContextMenuItemFocus as A } from "../../hooks/useContextMenuItemFocus/useContextMenuItemFocus.js";
11
11
  import '../../../../assets/CheckboxItem.css';const E = "_checkbox_item_16brq_1", F = {
@@ -7,7 +7,7 @@ import "../../../../lib/utils.js";
7
7
  import "../../providers/LevelProvider/LevelProvider.js";
8
8
  import "../../ContextMenu.context.js";
9
9
  import "../../ContextMenu.enums.js";
10
- import { C as b } from "../../../../useContentPositioning-BIVWgixU.mjs";
10
+ import { C as b } from "../../../../useContentPositioning-27D32n5u.mjs";
11
11
  import "./Content.enums.js";
12
12
  import "./Content.utils.js";
13
13
  export {
@@ -1,4 +1,4 @@
1
- import { C as e } from "../../../../useContentPositioning-BIVWgixU.mjs";
1
+ import { C as e } from "../../../../useContentPositioning-27D32n5u.mjs";
2
2
  import { Direction as i } from "./Content.enums.js";
3
3
  import { directionToSide as f } from "./Content.utils.js";
4
4
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAcf,OAAO,KAAK,EAAa,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAQnE,eAAO,MAAM,IAAI,wKAuGf,CAAC"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAcf,OAAO,KAAK,EAAa,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAQnE,eAAO,MAAM,IAAI,wKAoHf,CAAC"}
@@ -1,87 +1,95 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as F, useId as L, useState as d, useRef as B, useEffect as H, useMemo as K } from "react";
3
- import { I as O } from "../../../../index-BA3njR2k.mjs";
4
- import { c as f } from "../../../../index-L8X2o7IH.mjs";
5
- import { mergeRefs as P } from "../../../../lib/utils.js";
6
- import { useLevelContext as j } from "../../providers/LevelProvider/LevelProvider.js";
7
- import { useContextMenuContext as q } from "../../ContextMenu.context.js";
8
- import { hasItemIcon as W } from "../../utils/hasItemIcon/hasItemIcon.js";
9
- import "../../../../useContentPositioning-BIVWgixU.mjs";
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { forwardRef as K, useMemo as f, useId as O, useState as I, useRef as P, useEffect as j } from "react";
3
+ import { I as q } from "../../../../index-BA3njR2k.mjs";
4
+ import { c as g } from "../../../../index-L8X2o7IH.mjs";
5
+ import { mergeRefs as W } from "../../../../lib/utils.js";
6
+ import { useLevelContext as Y } from "../../providers/LevelProvider/LevelProvider.js";
7
+ import { useContextMenuContext as z } from "../../ContextMenu.context.js";
8
+ import { hasItemIcon as b } from "../../utils/hasItemIcon/hasItemIcon.js";
9
+ import "../../../../useContentPositioning-27D32n5u.mjs";
10
10
  import "../Content/Content.utils.js";
11
- import { useContextMenuItemFocus as Y } from "../../hooks/useContextMenuItemFocus/useContextMenuItemFocus.js";
12
- import { ContextMenuItemProvider as z } from "./Item.context.js";
13
- import '../../../../assets/Item2.css';const G = "_item_128tk_1", h = {
14
- item: G
15
- }, s = "ContextMenu.Item", J = F((t, m) => {
16
- if ("isNotSelectable" in t && t.isNotSelectable) {
17
- const { className: e, children: k, isNotSelectable: A, ...E } = t;
18
- return /* @__PURE__ */ i(
11
+ import { useContextMenuItemFocus as G } from "../../hooks/useContextMenuItemFocus/useContextMenuItemFocus.js";
12
+ import { ContextMenuItemProvider as J } from "./Item.context.js";
13
+ import '../../../../assets/Item2.css';const Q = "_item_128tk_1", p = {
14
+ item: Q
15
+ }, s = "ContextMenu.Item", T = K((t, m) => {
16
+ const { hasItemWithIcon: u } = Y(s);
17
+ if ("isSelectable" in t && t.isSelectable === !1) {
18
+ const {
19
+ className: e,
20
+ children: r,
21
+ isSelectable: E,
22
+ hasIconCheckFn: L = b,
23
+ ...B
24
+ } = t, H = f(() => L(r), [r]);
25
+ return /* @__PURE__ */ c(
19
26
  "div",
20
27
  {
21
28
  ref: m,
22
- className: f(h.item, e),
23
- "data-not-selectable": A,
24
- ...E,
25
- children: k
29
+ className: g(p.item, e),
30
+ "data-not-selectable": !E,
31
+ "data-no-icon-align": H || !u ? "" : void 0,
32
+ ...B,
33
+ children: r
26
34
  }
27
35
  );
28
36
  }
29
37
  const {
30
- className: I,
31
- children: r,
32
- isDisabled: c,
33
- isDanger: g,
34
- hasIconCheckFn: b = W,
35
- onSelect: a,
36
- ...p
37
- } = t, M = L(), [u, l] = d(!1), [o, N] = d(!1), n = B(null), { hasItemWithIcon: x } = j(s), { closeMenuImmediately: S } = q(s), { dataHighlighted: v, onFocus: y, onMouseEnter: C, onBlur: D, onMouseLeave: R } = Y({
38
+ className: M,
39
+ children: a,
40
+ isDisabled: l,
41
+ isDanger: x,
42
+ hasIconCheckFn: C = b,
43
+ onSelect: i,
44
+ ...S
45
+ } = t, v = O(), [d, h] = I(!1), [o, N] = I(!1), n = P(null), y = f(() => C(a), [a]), { closeMenuImmediately: k } = z(s), { dataHighlighted: D, onFocus: F, onMouseEnter: R, onBlur: w, onMouseLeave: _ } = G({
38
46
  displayName: s,
39
- id: M,
40
- isDisabled: c,
47
+ id: v,
48
+ isDisabled: l,
41
49
  hasSubmenu: o
42
50
  });
43
- H(() => {
51
+ j(() => {
44
52
  if (!n.current)
45
53
  return;
46
54
  const e = n.current.querySelector("[data-submenu-trigger]");
47
55
  N(!!e);
48
56
  }, [n]);
49
- const w = K(() => b(r), [r]), _ = (e) => {
50
- o && e.key === "ArrowRight" && l(!0);
57
+ const A = (e) => {
58
+ o && e.key === "ArrowRight" && h(!0);
51
59
  };
52
- return /* @__PURE__ */ i(
53
- z,
60
+ return /* @__PURE__ */ c(
61
+ J,
54
62
  {
55
63
  hasSubmenu: o,
56
- subMenuOpen: u,
57
- setSubMenuOpen: l,
58
- children: /* @__PURE__ */ i(
59
- O,
64
+ subMenuOpen: d,
65
+ setSubMenuOpen: h,
66
+ children: /* @__PURE__ */ c(
67
+ q,
60
68
  {
61
- ref: P(m, n),
62
- className: f(h.item, I),
63
- disabled: c,
69
+ ref: W(m, n),
70
+ className: g(p.item, M),
71
+ disabled: l,
64
72
  "data-item": !0,
65
- "data-danger": g ? "" : void 0,
66
- "data-no-icon-align": w || !x ? "" : void 0,
73
+ "data-danger": x ? "" : void 0,
74
+ "data-no-icon-align": y || !u ? "" : void 0,
67
75
  "data-has-submenu": o ? "" : void 0,
68
76
  onSelect: (e) => {
69
- a == null || a(e), S(!0);
77
+ i == null || i(e), k(!0);
70
78
  },
71
- "data-highlighted": u || v,
72
- onFocus: y,
73
- onMouseEnter: C,
74
- onBlur: D,
75
- onMouseLeave: R,
76
- onKeyDown: _,
77
- ...p,
78
- children: r
79
+ "data-highlighted": d || D,
80
+ onFocus: F,
81
+ onMouseEnter: R,
82
+ onBlur: w,
83
+ onMouseLeave: _,
84
+ onKeyDown: A,
85
+ ...S,
86
+ children: a
79
87
  }
80
88
  )
81
89
  }
82
90
  );
83
91
  });
84
- J.displayName = s;
92
+ T.displayName = s;
85
93
  export {
86
- J as Item
94
+ T as Item
87
95
  };
@@ -18,9 +18,15 @@ export type SelectableItemProps = RadixItemProps & {
18
18
  };
19
19
  export type NotSelectableItemProps = React.ComponentPropsWithRef<'div'> & {
20
20
  /**
21
- * Whether the item is not selectable.
21
+ * Whether the item is selectable.
22
22
  */
23
- isNotSelectable?: boolean;
23
+ isSelectable?: false;
24
+ /**
25
+ * A function for checking the presence of an icon.
26
+ *
27
+ * By default, the `hasItemIcon` from utils is used.
28
+ */
29
+ hasIconCheckFn?: (children: React.ReactNode) => boolean;
24
30
  };
25
31
  export type ItemProps = SelectableItemProps | NotSelectableItemProps;
26
32
  export interface ContextMenuItemContextProps {
@@ -1 +1 @@
1
- {"version":3,"file":"Item.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Item/Item.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEnF,KAAK,cAAc,GAAG,IAAI,CACxB,KAAK,CAAC,qBAAqB,CAAC,OAAO,qBAAqB,CAAC,EACzD,UAAU,CACX,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IACjD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,OAAO,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,GAAG;IACxE;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,mBAAmB,GAAG,sBAAsB,CAAC;AAErE,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C"}
1
+ {"version":3,"file":"Item.props.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/Item/Item.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEnF,KAAK,cAAc,GAAG,IAAI,CACxB,KAAK,CAAC,qBAAqB,CAAC,OAAO,qBAAqB,CAAC,EACzD,UAAU,CACX,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IACjD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,OAAO,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,GAAG;IACxE;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,OAAO,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,mBAAmB,GAAG,sBAAsB,CAAC;AAErE,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C"}
@@ -5,7 +5,7 @@ import { c as C } from "../../../../index-L8X2o7IH.mjs";
5
5
  import { useLevelContext as N } from "../../providers/LevelProvider/LevelProvider.js";
6
6
  import { useContextMenuContext as R } from "../../ContextMenu.context.js";
7
7
  import { hasItemIcon as v } from "../../utils/hasItemIcon/hasItemIcon.js";
8
- import "../../../../useContentPositioning-BIVWgixU.mjs";
8
+ import "../../../../useContentPositioning-27D32n5u.mjs";
9
9
  import "../Content/Content.utils.js";
10
10
  import { useContextMenuItemFocus as y } from "../../hooks/useContextMenuItemFocus/useContextMenuItemFocus.js";
11
11
  import '../../../../assets/RadioItem.css';const L = "_radio_item_zek17_1", A = {
@@ -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;AAO1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,GAAG;+CAKb,QAAQ;;CAqCV,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;AAO1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,GAAG;+CAKb,QAAQ;;CAuCV,CAAC"}
@@ -1,13 +1,13 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { S } from "../../../../index-BA3njR2k.mjs";
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { S as b } from "../../../../index-BA3njR2k.mjs";
3
3
  import "react";
4
4
  import { ContextMenuMode as l } from "../../ContextMenu.enums.js";
5
5
  import "../../providers/LevelProvider/LevelProvider.js";
6
- import "../../../../useContentPositioning-BIVWgixU.mjs";
6
+ import "../../../../useContentPositioning-27D32n5u.mjs";
7
7
  import "../Content/Content.utils.js";
8
8
  import { useContextMenuSub as x } from "../../hooks/useContextMenuSub/useContextMenuSub.js";
9
- import { ContextMenuSubProvider as C, DISPLAY_NAME as r } from "./Sub.context.js";
10
- const b = ({
9
+ import { ContextMenuSubProvider as C, DISPLAY_NAME as t } from "./Sub.context.js";
10
+ const O = ({
11
11
  children: i,
12
12
  mode: e = l.HOVER,
13
13
  defaultOpen: o,
@@ -19,15 +19,16 @@ const b = ({
19
19
  animatedOpen: a,
20
20
  startAnimation: s,
21
21
  handleMouseEnter: u,
22
- handleMouseLeave: M,
23
- handleOpenChange: d,
24
- triggerId: h
22
+ handleMouseLeave: d,
23
+ handleOpenChange: M,
24
+ triggerId: h,
25
+ onOpenByKeyboard: S
25
26
  } = x({
26
- displayName: r,
27
+ displayName: t,
27
28
  mode: e,
28
29
  defaultOpen: o
29
30
  });
30
- return /* @__PURE__ */ t(
31
+ return /* @__PURE__ */ r(
31
32
  C,
32
33
  {
33
34
  mode: e,
@@ -37,13 +38,14 @@ const b = ({
37
38
  defaultOpen: o,
38
39
  startAnimation: s,
39
40
  onMouseEnter: u,
40
- onMouseLeave: M,
41
+ onMouseLeave: d,
42
+ onOpenByKeyboard: S,
41
43
  triggerId: h,
42
- children: /* @__PURE__ */ t(
43
- S,
44
+ children: /* @__PURE__ */ r(
45
+ b,
44
46
  {
45
47
  open: n,
46
- onOpenChange: d,
48
+ onOpenChange: M,
47
49
  ...m,
48
50
  children: i
49
51
  }
@@ -51,7 +53,7 @@ const b = ({
51
53
  }
52
54
  );
53
55
  };
54
- b.displayName = r;
56
+ O.displayName = t;
55
57
  export {
56
- b as Sub
58
+ O as Sub
57
59
  };
@@ -46,5 +46,9 @@ export interface ContextMenuSubContextProps {
46
46
  * The id of the trigger of the submenu.
47
47
  */
48
48
  triggerId: string;
49
+ /**
50
+ * The callback function to be called when the submenu is opened by keyboard.
51
+ */
52
+ onOpenByKeyboard: (value: boolean) => void;
49
53
  }
50
54
  //# sourceMappingURL=Sub.props.d.ts.map
@@ -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,IAAI,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,MAAM,QAAQ,GAAG,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,GAAG;IAC7E;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC5B,CAAC;AAEF,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
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;AAE9D,MAAM,MAAM,QAAQ,GAAG,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,GAAG;IAC7E;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC5B,CAAC;AAEF,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"SubRoot.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/SubRoot/SubRoot.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAIzD,eAAO,MAAM,OAAO,EAoFf,sBAAsB,CAAC"}
1
+ {"version":3,"file":"SubRoot.d.ts","sourceRoot":"","sources":["../../../../../src/components/ContextMenu/components/SubRoot/SubRoot.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAIzD,eAAO,MAAM,OAAO,EAuFf,sBAAsB,CAAC"}