@ariakit/react-core 0.4.0 → 0.4.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 (183) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/cjs/__chunks/{6RCPYDT6.cjs → 375RXJFL.cjs} +2 -2
  3. package/cjs/__chunks/{OUTZPTLJ.cjs → EYTZU2B4.cjs} +2 -2
  4. package/cjs/__chunks/{T32XRZLL.cjs → FEBBQUM7.cjs} +3 -14
  5. package/cjs/__chunks/{WUK3NG7Y.cjs → GRK5YRZL.cjs} +4 -4
  6. package/cjs/__chunks/{VJIEWS6G.cjs → IFEQZXEG.cjs} +4 -4
  7. package/cjs/__chunks/{MLHQHZEA.cjs → J3NZDY4L.cjs} +2 -2
  8. package/cjs/__chunks/{YHNU4DBC.cjs → JJH3U4MG.cjs} +7 -7
  9. package/cjs/__chunks/{5W6JBMZ4.cjs → KKTRLNQK.cjs} +2 -2
  10. package/cjs/__chunks/{ID5QP4WT.cjs → LM5EDRV3.cjs} +3 -3
  11. package/cjs/__chunks/{MMDU7VRJ.cjs → M7WN4XJH.cjs} +2 -2
  12. package/cjs/__chunks/{RGJCGG4P.cjs → NWGQLRRK.cjs} +2 -2
  13. package/cjs/__chunks/{K5V42RR6.cjs → PIZ222UU.cjs} +2 -2
  14. package/cjs/__chunks/{6U7MUWYL.cjs → PQ4VU6KG.cjs} +2 -2
  15. package/cjs/__chunks/{JH5Y3M4V.cjs → QCQVRINH.cjs} +2 -2
  16. package/cjs/__chunks/{3PW624M3.cjs → QUSHM3AR.cjs} +2 -2
  17. package/cjs/__chunks/{NCXCQQBN.cjs → T5YJMXLP.cjs} +2 -2
  18. package/cjs/__chunks/{JFOUIQSF.cjs → THCBJSSM.cjs} +13 -2
  19. package/cjs/__chunks/{QWP2WC6E.cjs → VYKATRVC.cjs} +2 -2
  20. package/cjs/__chunks/{YEAKVHCK.cjs → W6FESCVU.cjs} +2 -2
  21. package/cjs/__chunks/{PR3MIXQD.cjs → WH5VAOIH.cjs} +2 -2
  22. package/cjs/__chunks/{2FVHSC23.cjs → X3FFBMDH.cjs} +4 -4
  23. package/cjs/__chunks/{LTD4F7TZ.cjs → X3YXQESW.cjs} +2 -2
  24. package/cjs/__chunks/{5QD55NKL.cjs → XRZ2L7EA.cjs} +4 -3
  25. package/cjs/__chunks/{TTVVUWIY.cjs → Z3JYZ4IW.cjs} +2 -2
  26. package/cjs/__chunks/{ZMTZTMRS.cjs → Z7QK7V4M.cjs} +2 -2
  27. package/cjs/button/button.cjs +4 -4
  28. package/cjs/checkbox/checkbox.cjs +4 -4
  29. package/cjs/combobox/combobox-cancel.cjs +4 -4
  30. package/cjs/combobox/combobox-disclosure.cjs +6 -6
  31. package/cjs/combobox/combobox-item.cjs +4 -5
  32. package/cjs/combobox/combobox-item.d.cts +1 -0
  33. package/cjs/combobox/combobox-item.d.ts +1 -0
  34. package/cjs/combobox/combobox-list.cjs +3 -3
  35. package/cjs/combobox/combobox-popover.cjs +9 -9
  36. package/cjs/combobox/combobox.cjs +26 -12
  37. package/cjs/combobox/combobox.d.cts +41 -9
  38. package/cjs/combobox/combobox.d.ts +41 -9
  39. package/cjs/command/command.cjs +3 -3
  40. package/cjs/composite/composite-hover.d.cts +1 -0
  41. package/cjs/composite/composite-hover.d.ts +1 -0
  42. package/cjs/composite/composite-item.cjs +4 -4
  43. package/cjs/composite/composite-overflow-disclosure.cjs +9 -9
  44. package/cjs/composite/composite-overflow.cjs +6 -6
  45. package/cjs/composite/composite.cjs +3 -3
  46. package/cjs/dialog/dialog-backdrop.cjs +3 -3
  47. package/cjs/dialog/dialog-disclosure.cjs +6 -6
  48. package/cjs/dialog/dialog-dismiss.cjs +5 -5
  49. package/cjs/dialog/dialog.cjs +5 -5
  50. package/cjs/disclosure/disclosure-content.cjs +2 -2
  51. package/cjs/disclosure/disclosure-store.d.cts +3 -0
  52. package/cjs/disclosure/disclosure-store.d.ts +3 -0
  53. package/cjs/disclosure/disclosure.cjs +5 -5
  54. package/cjs/focusable/focusable.cjs +2 -2
  55. package/cjs/form/form-checkbox.cjs +4 -4
  56. package/cjs/form/form-input.cjs +2 -2
  57. package/cjs/form/form-push.cjs +4 -4
  58. package/cjs/form/form-radio.cjs +5 -5
  59. package/cjs/form/form-remove.cjs +4 -4
  60. package/cjs/form/form-reset.cjs +4 -4
  61. package/cjs/form/form-submit.cjs +4 -4
  62. package/cjs/hovercard/hovercard-anchor.cjs +3 -3
  63. package/cjs/hovercard/hovercard-disclosure.cjs +6 -6
  64. package/cjs/hovercard/hovercard-dismiss.cjs +7 -7
  65. package/cjs/hovercard/hovercard.cjs +7 -7
  66. package/cjs/menu/menu-bar.cjs +4 -4
  67. package/cjs/menu/menu-button.cjs +9 -9
  68. package/cjs/menu/menu-dismiss.cjs +7 -7
  69. package/cjs/menu/menu-item-checkbox.cjs +7 -7
  70. package/cjs/menu/menu-item-radio.cjs +7 -7
  71. package/cjs/menu/menu-item.cjs +5 -5
  72. package/cjs/menu/menu-list.cjs +5 -5
  73. package/cjs/menu/menu.cjs +11 -11
  74. package/cjs/menubar/menubar.cjs +4 -4
  75. package/cjs/popover/popover-disclosure.cjs +7 -7
  76. package/cjs/popover/popover-dismiss.cjs +6 -6
  77. package/cjs/popover/popover.cjs +6 -6
  78. package/cjs/radio/radio-group.cjs +3 -3
  79. package/cjs/radio/radio.cjs +5 -5
  80. package/cjs/select/select-item.cjs +4 -4
  81. package/cjs/select/select-list.cjs +5 -5
  82. package/cjs/select/select-popover.cjs +10 -10
  83. package/cjs/select/select.cjs +7 -7
  84. package/cjs/tab/tab-list.cjs +3 -3
  85. package/cjs/tab/tab-panel.cjs +4 -4
  86. package/cjs/tab/tab.cjs +4 -4
  87. package/cjs/toolbar/toolbar-container.cjs +5 -5
  88. package/cjs/toolbar/toolbar-input.cjs +5 -5
  89. package/cjs/toolbar/toolbar-item.cjs +5 -5
  90. package/cjs/toolbar/toolbar.cjs +3 -3
  91. package/cjs/tooltip/tooltip-anchor.cjs +3 -3
  92. package/cjs/tooltip/tooltip.cjs +8 -8
  93. package/cjs/tooltip/tooltip.d.cts +6 -2
  94. package/cjs/tooltip/tooltip.d.ts +6 -2
  95. package/esm/__chunks/{KTPXKSJN.js → 237HGZM2.js} +1 -1
  96. package/esm/__chunks/{IU2VX2AY.js → 2P6ANLPF.js} +1 -1
  97. package/esm/__chunks/{WKBVQ2CE.js → 3MQJRHSX.js} +1 -1
  98. package/esm/__chunks/{CJ6B7ETA.js → 3N4FFVWW.js} +1 -1
  99. package/esm/__chunks/{G77JJQ4O.js → 5KB2YIDT.js} +1 -1
  100. package/esm/__chunks/{NNMCIH2I.js → 5SF76VVA.js} +1 -1
  101. package/esm/__chunks/{WWVP4SPG.js → 6YZEXKNV.js} +2 -2
  102. package/esm/__chunks/{TNUQLYBS.js → AFNONYRE.js} +1 -1
  103. package/esm/__chunks/{KMWSQ7OZ.js → BYD75WXE.js} +1 -1
  104. package/esm/__chunks/{VVLSOSIG.js → C6OBNQ4F.js} +1 -1
  105. package/esm/__chunks/{TZP63GN5.js → EF4Q2SSO.js} +2 -2
  106. package/esm/__chunks/{6WQW7ZIA.js → FTNKYK65.js} +1 -1
  107. package/esm/__chunks/{NIWODFOI.js → FWINX72I.js} +1 -1
  108. package/esm/__chunks/{FY6FFKYI.js → IKMNNZAH.js} +1 -1
  109. package/esm/__chunks/{ID4VKXL5.js → JJ3MV4KB.js} +1 -1
  110. package/esm/__chunks/{ZF6ZK5BT.js → KSZPJCUA.js} +1 -1
  111. package/esm/__chunks/{SSK5L4K7.js → KXSO5EFT.js} +3 -3
  112. package/esm/__chunks/{GYVFAVAN.js → PDRDZB4I.js} +2 -2
  113. package/esm/__chunks/{SOGTNTQC.js → RQZGFHI2.js} +14 -3
  114. package/esm/__chunks/{S7DYINJG.js → ULZ2KGZN.js} +1 -1
  115. package/esm/__chunks/{3PDOEITM.js → VYNLQCY5.js} +1 -1
  116. package/esm/__chunks/{VA234QKF.js → WAZE6NXP.js} +4 -3
  117. package/esm/__chunks/{TTFA75QD.js → Y3BYYHRY.js} +2 -13
  118. package/esm/__chunks/{RZWNNUWF.js → Z72LDQLY.js} +1 -1
  119. package/esm/__chunks/{CQJLVEBA.js → ZK5NO24C.js} +1 -1
  120. package/esm/button/button.js +3 -3
  121. package/esm/checkbox/checkbox.js +3 -3
  122. package/esm/combobox/combobox-cancel.js +3 -3
  123. package/esm/combobox/combobox-disclosure.js +5 -5
  124. package/esm/combobox/combobox-item.d.ts +1 -0
  125. package/esm/combobox/combobox-item.js +3 -4
  126. package/esm/combobox/combobox-list.js +2 -2
  127. package/esm/combobox/combobox-popover.js +6 -6
  128. package/esm/combobox/combobox.d.ts +41 -9
  129. package/esm/combobox/combobox.js +25 -11
  130. package/esm/command/command.js +2 -2
  131. package/esm/composite/composite-hover.d.ts +1 -0
  132. package/esm/composite/composite-item.js +3 -3
  133. package/esm/composite/composite-overflow-disclosure.js +7 -7
  134. package/esm/composite/composite-overflow.js +5 -5
  135. package/esm/composite/composite.js +2 -2
  136. package/esm/dialog/dialog-backdrop.js +2 -2
  137. package/esm/dialog/dialog-disclosure.js +5 -5
  138. package/esm/dialog/dialog-dismiss.js +4 -4
  139. package/esm/dialog/dialog.js +4 -4
  140. package/esm/disclosure/disclosure-content.js +1 -1
  141. package/esm/disclosure/disclosure-store.d.ts +3 -0
  142. package/esm/disclosure/disclosure.js +4 -4
  143. package/esm/focusable/focusable.js +1 -1
  144. package/esm/form/form-checkbox.js +3 -3
  145. package/esm/form/form-input.js +1 -1
  146. package/esm/form/form-push.js +3 -3
  147. package/esm/form/form-radio.js +4 -4
  148. package/esm/form/form-remove.js +3 -3
  149. package/esm/form/form-reset.js +3 -3
  150. package/esm/form/form-submit.js +3 -3
  151. package/esm/hovercard/hovercard-anchor.js +2 -2
  152. package/esm/hovercard/hovercard-disclosure.js +5 -5
  153. package/esm/hovercard/hovercard-dismiss.js +6 -6
  154. package/esm/hovercard/hovercard.js +6 -6
  155. package/esm/menu/menu-bar.js +3 -3
  156. package/esm/menu/menu-button.js +7 -7
  157. package/esm/menu/menu-dismiss.js +6 -6
  158. package/esm/menu/menu-item-checkbox.js +5 -5
  159. package/esm/menu/menu-item-radio.js +5 -5
  160. package/esm/menu/menu-item.js +4 -4
  161. package/esm/menu/menu-list.js +4 -4
  162. package/esm/menu/menu.js +8 -8
  163. package/esm/menubar/menubar.js +3 -3
  164. package/esm/popover/popover-disclosure.js +6 -6
  165. package/esm/popover/popover-dismiss.js +5 -5
  166. package/esm/popover/popover.js +5 -5
  167. package/esm/radio/radio-group.js +2 -2
  168. package/esm/radio/radio.js +4 -4
  169. package/esm/select/select-item.js +3 -3
  170. package/esm/select/select-list.js +4 -4
  171. package/esm/select/select-popover.js +7 -7
  172. package/esm/select/select.js +6 -6
  173. package/esm/tab/tab-list.js +2 -2
  174. package/esm/tab/tab-panel.js +2 -2
  175. package/esm/tab/tab.js +3 -3
  176. package/esm/toolbar/toolbar-container.js +4 -4
  177. package/esm/toolbar/toolbar-input.js +4 -4
  178. package/esm/toolbar/toolbar-item.js +4 -4
  179. package/esm/toolbar/toolbar.js +2 -2
  180. package/esm/tooltip/tooltip-anchor.js +2 -2
  181. package/esm/tooltip/tooltip.d.ts +6 -2
  182. package/esm/tooltip/tooltip.js +6 -6
  183. package/package.json +2 -2
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _MMDU7VRJcjs = require('../__chunks/MMDU7VRJ.cjs');
6
- require('../__chunks/ZMTZTMRS.cjs');
7
- require('../__chunks/5QD55NKL.cjs');
5
+ var _M7WN4XJHcjs = require('../__chunks/M7WN4XJH.cjs');
6
+ require('../__chunks/Z7QK7V4M.cjs');
7
+ require('../__chunks/XRZ2L7EA.cjs');
8
8
  require('../__chunks/75KXQZJX.cjs');
9
9
  require('../__chunks/Q67LZMDT.cjs');
10
10
  require('../__chunks/EO6LS72H.cjs');
@@ -13,4 +13,4 @@ require('../__chunks/AV6KTKLE.cjs');
13
13
 
14
14
 
15
15
 
16
- exports.Button = _MMDU7VRJcjs.Button; exports.useButton = _MMDU7VRJcjs.useButton;
16
+ exports.Button = _M7WN4XJHcjs.Button; exports.useButton = _M7WN4XJHcjs.useButton;
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _OUTZPTLJcjs = require('../__chunks/OUTZPTLJ.cjs');
5
+ var _EYTZU2B4cjs = require('../__chunks/EYTZU2B4.cjs');
6
6
  require('../__chunks/OIGGI6DI.cjs');
7
7
  require('../__chunks/ERFHNHON.cjs');
8
- require('../__chunks/ZMTZTMRS.cjs');
9
- require('../__chunks/5QD55NKL.cjs');
8
+ require('../__chunks/Z7QK7V4M.cjs');
9
+ require('../__chunks/XRZ2L7EA.cjs');
10
10
  require('../__chunks/75KXQZJX.cjs');
11
11
  require('../__chunks/Q67LZMDT.cjs');
12
12
  require('../__chunks/OLOZ5JT2.cjs');
@@ -16,4 +16,4 @@ require('../__chunks/AV6KTKLE.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.Checkbox = _OUTZPTLJcjs.Checkbox; exports.useCheckbox = _OUTZPTLJcjs.useCheckbox;
19
+ exports.Checkbox = _EYTZU2B4cjs.Checkbox; exports.useCheckbox = _EYTZU2B4cjs.useCheckbox;
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _MMDU7VRJcjs = require('../__chunks/MMDU7VRJ.cjs');
4
+ var _M7WN4XJHcjs = require('../__chunks/M7WN4XJH.cjs');
5
5
 
6
6
 
7
7
  var _OBT2YMBCcjs = require('../__chunks/OBT2YMBC.cjs');
8
- require('../__chunks/ZMTZTMRS.cjs');
8
+ require('../__chunks/Z7QK7V4M.cjs');
9
9
  require('../__chunks/4XFLDG56.cjs');
10
10
  require('../__chunks/Q6CVYJBO.cjs');
11
11
  require('../__chunks/FNVFJ5AF.cjs');
12
12
  require('../__chunks/OLPMMKKO.cjs');
13
13
  require('../__chunks/XRJBC7H7.cjs');
14
- require('../__chunks/5QD55NKL.cjs');
14
+ require('../__chunks/XRZ2L7EA.cjs');
15
15
  require('../__chunks/75KXQZJX.cjs');
16
16
 
17
17
 
@@ -83,7 +83,7 @@ var useComboboxCancel = _Q67LZMDTcjs.createHook.call(void 0,
83
83
  }, props), {
84
84
  onClick
85
85
  });
86
- props = _MMDU7VRJcjs.useButton.call(void 0, props);
86
+ props = _M7WN4XJHcjs.useButton.call(void 0, props);
87
87
  return props;
88
88
  }
89
89
  );
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _K5V42RR6cjs = require('../__chunks/K5V42RR6.cjs');
5
- require('../__chunks/JH5Y3M4V.cjs');
6
- require('../__chunks/MMDU7VRJ.cjs');
4
+ var _PIZ222UUcjs = require('../__chunks/PIZ222UU.cjs');
5
+ require('../__chunks/QCQVRINH.cjs');
6
+ require('../__chunks/M7WN4XJH.cjs');
7
7
 
8
8
 
9
9
  var _OBT2YMBCcjs = require('../__chunks/OBT2YMBC.cjs');
10
- require('../__chunks/ZMTZTMRS.cjs');
10
+ require('../__chunks/Z7QK7V4M.cjs');
11
11
  require('../__chunks/4XFLDG56.cjs');
12
12
  require('../__chunks/Q6CVYJBO.cjs');
13
13
  require('../__chunks/FNVFJ5AF.cjs');
14
14
  require('../__chunks/OLPMMKKO.cjs');
15
15
  require('../__chunks/XRJBC7H7.cjs');
16
- require('../__chunks/5QD55NKL.cjs');
16
+ require('../__chunks/XRZ2L7EA.cjs');
17
17
  require('../__chunks/75KXQZJX.cjs');
18
18
 
19
19
 
@@ -85,7 +85,7 @@ var useComboboxDisclosure = _Q67LZMDTcjs.createHook.call(void 0, function useCom
85
85
  onMouseDown,
86
86
  onClick
87
87
  });
88
- props = _K5V42RR6cjs.useDialogDisclosure.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, { store }, props));
88
+ props = _PIZ222UUcjs.useDialogDisclosure.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, { store }, props));
89
89
  return props;
90
90
  });
91
91
  var ComboboxDisclosure = _Q67LZMDTcjs.forwardRef.call(void 0, function ComboboxDisclosure2(props) {
@@ -9,8 +9,8 @@ var _JAG4YGQZcjs = require('../__chunks/JAG4YGQZ.cjs');
9
9
  var _OBT2YMBCcjs = require('../__chunks/OBT2YMBC.cjs');
10
10
 
11
11
 
12
- var _QWP2WC6Ecjs = require('../__chunks/QWP2WC6E.cjs');
13
- require('../__chunks/ZMTZTMRS.cjs');
12
+ var _VYKATRVCcjs = require('../__chunks/VYKATRVC.cjs');
13
+ require('../__chunks/Z7QK7V4M.cjs');
14
14
  require('../__chunks/XWCNZ2IP.cjs');
15
15
  require('../__chunks/6ZZYUFPW.cjs');
16
16
  require('../__chunks/4XFLDG56.cjs');
@@ -18,7 +18,7 @@ require('../__chunks/Q6CVYJBO.cjs');
18
18
  require('../__chunks/FNVFJ5AF.cjs');
19
19
  require('../__chunks/OLPMMKKO.cjs');
20
20
  require('../__chunks/XRJBC7H7.cjs');
21
- require('../__chunks/5QD55NKL.cjs');
21
+ require('../__chunks/XRZ2L7EA.cjs');
22
22
  require('../__chunks/75KXQZJX.cjs');
23
23
 
24
24
 
@@ -127,7 +127,6 @@ var useComboboxItem = _Q67LZMDTcjs.createHook.call(void 0,
127
127
  }
128
128
  }
129
129
  if (hideOnClickProp(event)) {
130
- store == null ? void 0 : store.move(null);
131
130
  store == null ? void 0 : store.hide();
132
131
  }
133
132
  });
@@ -171,7 +170,7 @@ var useComboboxItem = _Q67LZMDTcjs.createHook.call(void 0,
171
170
  onKeyDown
172
171
  });
173
172
  const moveOnKeyPressProp = _EO6LS72Hcjs.useBooleanEvent.call(void 0, moveOnKeyPress);
174
- props = _QWP2WC6Ecjs.useCompositeItem.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
173
+ props = _VYKATRVCcjs.useCompositeItem.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
175
174
  store
176
175
  }, props), {
177
176
  getItem,
@@ -90,6 +90,7 @@ export interface ComboboxItemOptions<T extends ElementType = TagName> extends Co
90
90
  * - [Combobox with links](https://ariakit.org/examples/combobox-links)
91
91
  * - [Submenu with
92
92
  * Combobox](https://ariakit.org/examples/menu-nested-combobox)
93
+ * - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
93
94
  */
94
95
  hideOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
95
96
  /**
@@ -90,6 +90,7 @@ export interface ComboboxItemOptions<T extends ElementType = TagName> extends Co
90
90
  * - [Combobox with links](https://ariakit.org/examples/combobox-links)
91
91
  * - [Submenu with
92
92
  * Combobox](https://ariakit.org/examples/menu-nested-combobox)
93
+ * - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
93
94
  */
94
95
  hideOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
95
96
  /**
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _T32XRZLLcjs = require('../__chunks/T32XRZLL.cjs');
5
+ var _FEBBQUM7cjs = require('../__chunks/FEBBQUM7.cjs');
6
6
  require('../__chunks/OBT2YMBC.cjs');
7
7
  require('../__chunks/4XFLDG56.cjs');
8
8
  require('../__chunks/Q6CVYJBO.cjs');
9
- require('../__chunks/JFOUIQSF.cjs');
9
+ require('../__chunks/THCBJSSM.cjs');
10
10
  require('../__chunks/FNVFJ5AF.cjs');
11
11
  require('../__chunks/OLPMMKKO.cjs');
12
12
  require('../__chunks/XRJBC7H7.cjs');
@@ -18,4 +18,4 @@ require('../__chunks/AV6KTKLE.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.ComboboxList = _T32XRZLLcjs.ComboboxList; exports.useComboboxList = _T32XRZLLcjs.useComboboxList;
21
+ exports.ComboboxList = _FEBBQUM7cjs.ComboboxList; exports.useComboboxList = _FEBBQUM7cjs.useComboboxList;
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _T32XRZLLcjs = require('../__chunks/T32XRZLL.cjs');
4
+ var _FEBBQUM7cjs = require('../__chunks/FEBBQUM7.cjs');
5
5
 
6
6
 
7
7
  var _OBT2YMBCcjs = require('../__chunks/OBT2YMBC.cjs');
@@ -9,11 +9,11 @@ require('../__chunks/4XFLDG56.cjs');
9
9
  require('../__chunks/Q6CVYJBO.cjs');
10
10
 
11
11
 
12
- var _ID5QP4WTcjs = require('../__chunks/ID5QP4WT.cjs');
12
+ var _LM5EDRV3cjs = require('../__chunks/LM5EDRV3.cjs');
13
13
 
14
14
 
15
- var _YHNU4DBCcjs = require('../__chunks/YHNU4DBC.cjs');
16
- require('../__chunks/6RCPYDT6.cjs');
15
+ var _JJH3U4MGcjs = require('../__chunks/JJH3U4MG.cjs');
16
+ require('../__chunks/375RXJFL.cjs');
17
17
  require('../__chunks/4OFNVXGN.cjs');
18
18
  require('../__chunks/PZL34OVO.cjs');
19
19
  require('../__chunks/344F3DYO.cjs');
@@ -34,11 +34,11 @@ require('../__chunks/O2WTAUCQ.cjs');
34
34
  require('../__chunks/CVD2AZE2.cjs');
35
35
  require('../__chunks/2BIO7R5N.cjs');
36
36
  require('../__chunks/SFDUOV6F.cjs');
37
- require('../__chunks/JFOUIQSF.cjs');
37
+ require('../__chunks/THCBJSSM.cjs');
38
38
  require('../__chunks/FNVFJ5AF.cjs');
39
39
  require('../__chunks/OLPMMKKO.cjs');
40
40
  require('../__chunks/XRJBC7H7.cjs');
41
- require('../__chunks/5QD55NKL.cjs');
41
+ require('../__chunks/XRZ2L7EA.cjs');
42
42
  require('../__chunks/75KXQZJX.cjs');
43
43
  require('../__chunks/HQKST6ZJ.cjs');
44
44
 
@@ -94,8 +94,8 @@ var useComboboxPopover = _Q67LZMDTcjs.createHook.call(void 0,
94
94
  process.env.NODE_ENV !== "production" && "ComboboxPopover must receive a `store` prop or be wrapped in a ComboboxProvider component."
95
95
  );
96
96
  const baseElement = store.useState("baseElement");
97
- props = _T32XRZLLcjs.useComboboxList.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, { store, alwaysVisible }, props));
98
- props = _ID5QP4WTcjs.usePopover.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
97
+ props = _FEBBQUM7cjs.useComboboxList.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, { store, alwaysVisible }, props));
98
+ props = _LM5EDRV3cjs.usePopover.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
99
99
  store,
100
100
  modal,
101
101
  alwaysVisible,
@@ -151,7 +151,7 @@ var useComboboxPopover = _Q67LZMDTcjs.createHook.call(void 0,
151
151
  return props;
152
152
  }
153
153
  );
154
- var ComboboxPopover = _YHNU4DBCcjs.createDialogComponent.call(void 0,
154
+ var ComboboxPopover = _JJH3U4MGcjs.createDialogComponent.call(void 0,
155
155
  _Q67LZMDTcjs.forwardRef.call(void 0, function ComboboxPopover2(props) {
156
156
  const htmlProps = useComboboxPopover(props);
157
157
  return _Q67LZMDTcjs.createElement.call(void 0, TagName, htmlProps);
@@ -7,14 +7,14 @@ var _O45NLQRZcjs = require('../__chunks/O45NLQRZ.cjs');
7
7
  var _OBT2YMBCcjs = require('../__chunks/OBT2YMBC.cjs');
8
8
 
9
9
 
10
- var _NCXCQQBNcjs = require('../__chunks/NCXCQQBN.cjs');
10
+ var _T5YJMXLPcjs = require('../__chunks/T5YJMXLP.cjs');
11
11
  require('../__chunks/6ZZYUFPW.cjs');
12
12
  require('../__chunks/4XFLDG56.cjs');
13
13
  require('../__chunks/Q6CVYJBO.cjs');
14
14
  require('../__chunks/FNVFJ5AF.cjs');
15
15
  require('../__chunks/OLPMMKKO.cjs');
16
16
  require('../__chunks/XRJBC7H7.cjs');
17
- require('../__chunks/5QD55NKL.cjs');
17
+ require('../__chunks/XRZ2L7EA.cjs');
18
18
  require('../__chunks/75KXQZJX.cjs');
19
19
 
20
20
 
@@ -87,8 +87,11 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
87
87
  showOnChange = true,
88
88
  setValueOnChange = true,
89
89
  showOnMouseDown = true,
90
+ showOnClick = showOnMouseDown,
91
+ blurActiveItemOnClick,
90
92
  setValueOnClick = true,
91
93
  showOnKeyDown = true,
94
+ showOnKeyPress = showOnKeyDown,
92
95
  moveOnKeyPress = true,
93
96
  autoComplete = "list"
94
97
  } = _b, props = _AV6KTKLEcjs.__objRest.call(void 0, _b, [
@@ -99,8 +102,11 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
99
102
  "showOnChange",
100
103
  "setValueOnChange",
101
104
  "showOnMouseDown",
105
+ "showOnClick",
106
+ "blurActiveItemOnClick",
102
107
  "setValueOnClick",
103
108
  "showOnKeyDown",
109
+ "showOnKeyPress",
104
110
  "moveOnKeyPress",
105
111
  "autoComplete"
106
112
  ]);
@@ -115,7 +121,7 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
115
121
  const canAutoSelectRef = _react.useRef.call(void 0, false);
116
122
  const composingRef = _react.useRef.call(void 0, false);
117
123
  const autoSelect = store.useState(
118
- (state) => !!autoSelectProp && state.virtualFocus
124
+ (state) => state.virtualFocus && autoSelectProp
119
125
  );
120
126
  const inline = autoComplete === "inline" || autoComplete === "both";
121
127
  const [canInline, setCanInline] = _react.useState.call(void 0, inline);
@@ -234,16 +240,18 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
234
240
  canAutoSelectRef.current = true;
235
241
  }, [storeValue]);
236
242
  _EO6LS72Hcjs.useSafeLayoutEffect.call(void 0, () => {
237
- if (open)
243
+ if (autoSelect !== "always" && open)
238
244
  return;
239
- canAutoSelectRef.current = false;
240
- }, [open]);
245
+ canAutoSelectRef.current = open;
246
+ }, [autoSelect, open]);
241
247
  const resetValueOnSelect = store.useState("resetValueOnSelect");
242
248
  _EO6LS72Hcjs.useUpdateEffect.call(void 0, () => {
243
249
  var _a2;
244
250
  const canAutoSelect = canAutoSelectRef.current;
245
251
  if (!store)
246
252
  return;
253
+ if (!open)
254
+ return;
247
255
  if ((!autoSelect || !canAutoSelect) && !resetValueOnSelect)
248
256
  return;
249
257
  const { baseElement, contentElement: contentElement2, activeId } = store.getState();
@@ -268,6 +276,7 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
268
276
  return;
269
277
  }, [
270
278
  store,
279
+ open,
271
280
  valueUpdated,
272
281
  storeValue,
273
282
  autoSelect,
@@ -344,8 +353,11 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
344
353
  forceValueUpdate();
345
354
  });
346
355
  const onMouseDownProp = props.onMouseDown;
356
+ const blurActiveItemOnClickProp = _EO6LS72Hcjs.useBooleanEvent.call(void 0,
357
+ blurActiveItemOnClick != null ? blurActiveItemOnClick : () => !!(store == null ? void 0 : store.getState().includesBaseElement)
358
+ );
347
359
  const setValueOnClickProp = _EO6LS72Hcjs.useBooleanEvent.call(void 0, setValueOnClick);
348
- const showOnMouseDownProp = _EO6LS72Hcjs.useBooleanEvent.call(void 0, showOnMouseDown);
360
+ const showOnClickProp = _EO6LS72Hcjs.useBooleanEvent.call(void 0, showOnClick);
349
361
  const onMouseDown = _EO6LS72Hcjs.useEvent.call(void 0, (event) => {
350
362
  onMouseDownProp == null ? void 0 : onMouseDownProp(event);
351
363
  if (event.defaultPrevented)
@@ -356,16 +368,18 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
356
368
  return;
357
369
  if (!store)
358
370
  return;
359
- store.setActiveId(null);
371
+ if (blurActiveItemOnClickProp(event)) {
372
+ store.setActiveId(null);
373
+ }
360
374
  if (setValueOnClickProp(event)) {
361
375
  store.setValue(value);
362
376
  }
363
- if (showOnMouseDownProp(event)) {
377
+ if (showOnClickProp(event)) {
364
378
  _events.queueBeforeEvent.call(void 0, event.currentTarget, "mouseup", store.show);
365
379
  }
366
380
  });
367
381
  const onKeyDownProp = props.onKeyDown;
368
- const showOnKeyDownProp = _EO6LS72Hcjs.useBooleanEvent.call(void 0, showOnKeyDown);
382
+ const showOnKeyPressProp = _EO6LS72Hcjs.useBooleanEvent.call(void 0, showOnKeyPress);
369
383
  const onKeyDown = _EO6LS72Hcjs.useEvent.call(void 0, (event) => {
370
384
  onKeyDownProp == null ? void 0 : onKeyDownProp(event);
371
385
  if (!event.repeat) {
@@ -389,7 +403,7 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
389
403
  if (activeId !== null)
390
404
  return;
391
405
  if (event.key === "ArrowUp" || event.key === "ArrowDown") {
392
- if (showOnKeyDownProp(event)) {
406
+ if (showOnKeyPressProp(event)) {
393
407
  event.preventDefault();
394
408
  store.show();
395
409
  }
@@ -422,7 +436,7 @@ var useCombobox = _Q67LZMDTcjs.createHook.call(void 0,
422
436
  onKeyDown,
423
437
  onBlur
424
438
  });
425
- props = _NCXCQQBNcjs.useComposite.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
439
+ props = _T5YJMXLPcjs.useComposite.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
426
440
  store,
427
441
  focusable
428
442
  }, props), {
@@ -49,8 +49,8 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
49
49
  store?: ComboboxStore;
50
50
  /**
51
51
  * Whether the first enabled item will be automatically selected when the
52
- * combobox input value changes. When it's set to `true`, the exact behavior
53
- * will depend on the value of the
52
+ * combobox input value changes. When it's set to `true` or `"always"`, the
53
+ * exact behavior will depend on the value of the
54
54
  * [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete) prop:
55
55
  * - If [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete)
56
56
  * is `both` or `inline`, the first item is automatically focused when the
@@ -60,13 +60,16 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
60
60
  * is `list` or `none`, the first item is automatically focused when the
61
61
  * popup opens, but the input value doesn't change.
62
62
  *
63
+ * When it's set to `"always"`, the first enabled item will be automatically
64
+ * highlighted when the combobox list opens.
65
+ *
63
66
  * To change which item is auto selected, use the
64
67
  * [`getAutoSelectId`](https://ariakit.org/reference/combobox#getautoselectid)
65
68
  * prop.
66
69
  *
70
+ *
67
71
  * Live examples:
68
- * - [Combobox with integrated
69
- * filter](https://ariakit.org/examples/combobox-filtering-integrated)
72
+ * - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
70
73
  * - [ComboboxGroup](https://ariakit.org/examples/combobox-group)
71
74
  * - [Combobox with links](https://ariakit.org/examples/combobox-links)
72
75
  * - [Textarea with inline
@@ -75,7 +78,7 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
75
78
  * - [Select with Combobox](https://ariakit.org/examples/select-combobox)
76
79
  * @default false
77
80
  */
78
- autoSelect?: boolean;
81
+ autoSelect?: boolean | "always";
79
82
  /**
80
83
  * Function that takes the currently rendered items and returns the id of the
81
84
  * item to be auto selected when the
@@ -134,6 +137,14 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
134
137
  * @default "list"
135
138
  */
136
139
  autoComplete?: StringWithValue<Required<AriaAttributes>["aria-autocomplete"]>;
140
+ /**
141
+ * Determines if the highlighted item should lose focus when the user clicks
142
+ * on the combobox input element. By default, this prop's value is set
143
+ * according to the
144
+ * [`includesBaseElement`](https://ariakit.org/reference/combobox-provider#includesbaseelement)
145
+ * value.
146
+ */
147
+ blurActiveItemOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
137
148
  /**
138
149
  * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
139
150
  * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
@@ -149,6 +160,16 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
149
160
  * ```
150
161
  */
151
162
  showOnChange?: BooleanOrCallback<ChangeEvent<HTMLElement>>;
163
+ /**
164
+ * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
165
+ * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
166
+ * components should be shown when the input is clicked.
167
+ * @deprecated Use
168
+ * [`showOnClick`](https://ariakit.org/reference/combobox#showonclick)
169
+ * instead.
170
+ * @default true
171
+ */
172
+ showOnMouseDown?: BooleanOrCallback<MouseEvent<HTMLElement>>;
152
173
  /**
153
174
  * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
154
175
  * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
@@ -160,10 +181,21 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
160
181
  * @default true
161
182
  * @example
162
183
  * ```jsx
163
- * <Combobox showOnMouseDown={value.length > 1} />
184
+ * <Combobox showOnClick={value.length > 1} />
164
185
  * ```
165
186
  */
166
- showOnMouseDown?: BooleanOrCallback<MouseEvent<HTMLElement>>;
187
+ showOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
188
+ /**
189
+ * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
190
+ * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
191
+ * components should be shown when the user presses the arrow up or down keys
192
+ * while focusing on the combobox input element.
193
+ * @deprecated Use
194
+ * [`showOnKeyPress`](https://ariakit.org/reference/combobox#showonkeypress)
195
+ * instead.
196
+ * @default true
197
+ */
198
+ showOnKeyDown?: BooleanOrCallback<ReactKeyboardEvent<HTMLElement>>;
167
199
  /**
168
200
  * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
169
201
  * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
@@ -176,10 +208,10 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
176
208
  * @default true
177
209
  * @example
178
210
  * ```jsx
179
- * <Combobox showOnKeyDown={value.length > 1} />
211
+ * <Combobox showOnKeyPress={value.length > 1} />
180
212
  * ```
181
213
  */
182
- showOnKeyDown?: BooleanOrCallback<ReactKeyboardEvent<HTMLElement>>;
214
+ showOnKeyPress?: BooleanOrCallback<ReactKeyboardEvent<HTMLElement>>;
183
215
  /**
184
216
  * Whether the combobox
185
217
  * [`value`](https://ariakit.org/reference/combobox-provider#value) state
@@ -49,8 +49,8 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
49
49
  store?: ComboboxStore;
50
50
  /**
51
51
  * Whether the first enabled item will be automatically selected when the
52
- * combobox input value changes. When it's set to `true`, the exact behavior
53
- * will depend on the value of the
52
+ * combobox input value changes. When it's set to `true` or `"always"`, the
53
+ * exact behavior will depend on the value of the
54
54
  * [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete) prop:
55
55
  * - If [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete)
56
56
  * is `both` or `inline`, the first item is automatically focused when the
@@ -60,13 +60,16 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
60
60
  * is `list` or `none`, the first item is automatically focused when the
61
61
  * popup opens, but the input value doesn't change.
62
62
  *
63
+ * When it's set to `"always"`, the first enabled item will be automatically
64
+ * highlighted when the combobox list opens.
65
+ *
63
66
  * To change which item is auto selected, use the
64
67
  * [`getAutoSelectId`](https://ariakit.org/reference/combobox#getautoselectid)
65
68
  * prop.
66
69
  *
70
+ *
67
71
  * Live examples:
68
- * - [Combobox with integrated
69
- * filter](https://ariakit.org/examples/combobox-filtering-integrated)
72
+ * - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
70
73
  * - [ComboboxGroup](https://ariakit.org/examples/combobox-group)
71
74
  * - [Combobox with links](https://ariakit.org/examples/combobox-links)
72
75
  * - [Textarea with inline
@@ -75,7 +78,7 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
75
78
  * - [Select with Combobox](https://ariakit.org/examples/select-combobox)
76
79
  * @default false
77
80
  */
78
- autoSelect?: boolean;
81
+ autoSelect?: boolean | "always";
79
82
  /**
80
83
  * Function that takes the currently rendered items and returns the id of the
81
84
  * item to be auto selected when the
@@ -134,6 +137,14 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
134
137
  * @default "list"
135
138
  */
136
139
  autoComplete?: StringWithValue<Required<AriaAttributes>["aria-autocomplete"]>;
140
+ /**
141
+ * Determines if the highlighted item should lose focus when the user clicks
142
+ * on the combobox input element. By default, this prop's value is set
143
+ * according to the
144
+ * [`includesBaseElement`](https://ariakit.org/reference/combobox-provider#includesbaseelement)
145
+ * value.
146
+ */
147
+ blurActiveItemOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
137
148
  /**
138
149
  * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
139
150
  * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
@@ -149,6 +160,16 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
149
160
  * ```
150
161
  */
151
162
  showOnChange?: BooleanOrCallback<ChangeEvent<HTMLElement>>;
163
+ /**
164
+ * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
165
+ * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
166
+ * components should be shown when the input is clicked.
167
+ * @deprecated Use
168
+ * [`showOnClick`](https://ariakit.org/reference/combobox#showonclick)
169
+ * instead.
170
+ * @default true
171
+ */
172
+ showOnMouseDown?: BooleanOrCallback<MouseEvent<HTMLElement>>;
152
173
  /**
153
174
  * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
154
175
  * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
@@ -160,10 +181,21 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
160
181
  * @default true
161
182
  * @example
162
183
  * ```jsx
163
- * <Combobox showOnMouseDown={value.length > 1} />
184
+ * <Combobox showOnClick={value.length > 1} />
164
185
  * ```
165
186
  */
166
- showOnMouseDown?: BooleanOrCallback<MouseEvent<HTMLElement>>;
187
+ showOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
188
+ /**
189
+ * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
190
+ * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
191
+ * components should be shown when the user presses the arrow up or down keys
192
+ * while focusing on the combobox input element.
193
+ * @deprecated Use
194
+ * [`showOnKeyPress`](https://ariakit.org/reference/combobox#showonkeypress)
195
+ * instead.
196
+ * @default true
197
+ */
198
+ showOnKeyDown?: BooleanOrCallback<ReactKeyboardEvent<HTMLElement>>;
167
199
  /**
168
200
  * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
169
201
  * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
@@ -176,10 +208,10 @@ export interface ComboboxOptions<T extends ElementType = TagName> extends Compos
176
208
  * @default true
177
209
  * @example
178
210
  * ```jsx
179
- * <Combobox showOnKeyDown={value.length > 1} />
211
+ * <Combobox showOnKeyPress={value.length > 1} />
180
212
  * ```
181
213
  */
182
- showOnKeyDown?: BooleanOrCallback<ReactKeyboardEvent<HTMLElement>>;
214
+ showOnKeyPress?: BooleanOrCallback<ReactKeyboardEvent<HTMLElement>>;
183
215
  /**
184
216
  * Whether the combobox
185
217
  * [`value`](https://ariakit.org/reference/combobox-provider#value) state
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _ZMTZTMRScjs = require('../__chunks/ZMTZTMRS.cjs');
6
- require('../__chunks/5QD55NKL.cjs');
5
+ var _Z7QK7V4Mcjs = require('../__chunks/Z7QK7V4M.cjs');
6
+ require('../__chunks/XRZ2L7EA.cjs');
7
7
  require('../__chunks/75KXQZJX.cjs');
8
8
  require('../__chunks/Q67LZMDT.cjs');
9
9
  require('../__chunks/EO6LS72H.cjs');
@@ -12,4 +12,4 @@ require('../__chunks/AV6KTKLE.cjs');
12
12
 
13
13
 
14
14
 
15
- exports.Command = _ZMTZTMRScjs.Command; exports.useCommand = _ZMTZTMRScjs.useCommand;
15
+ exports.Command = _Z7QK7V4Mcjs.Command; exports.useCommand = _Z7QK7V4Mcjs.useCommand;
@@ -88,6 +88,7 @@ export interface CompositeHoverOptions<_T extends ElementType = TagName> extends
88
88
  * - [Submenu with
89
89
  * Combobox](https://ariakit.org/examples/menu-nested-combobox)
90
90
  * - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
91
+ * - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
91
92
  */
92
93
  blurOnHoverEnd?: BooleanOrCallback<ReactMouseEvent<HTMLElement>>;
93
94
  }
@@ -88,6 +88,7 @@ export interface CompositeHoverOptions<_T extends ElementType = TagName> extends
88
88
  * - [Submenu with
89
89
  * Combobox](https://ariakit.org/examples/menu-nested-combobox)
90
90
  * - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
91
+ * - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
91
92
  */
92
93
  blurOnHoverEnd?: BooleanOrCallback<ReactMouseEvent<HTMLElement>>;
93
94
  }
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _QWP2WC6Ecjs = require('../__chunks/QWP2WC6E.cjs');
6
- require('../__chunks/ZMTZTMRS.cjs');
5
+ var _VYKATRVCcjs = require('../__chunks/VYKATRVC.cjs');
6
+ require('../__chunks/Z7QK7V4M.cjs');
7
7
  require('../__chunks/XWCNZ2IP.cjs');
8
8
  require('../__chunks/6ZZYUFPW.cjs');
9
9
  require('../__chunks/4XFLDG56.cjs');
10
10
  require('../__chunks/Q6CVYJBO.cjs');
11
- require('../__chunks/5QD55NKL.cjs');
11
+ require('../__chunks/XRZ2L7EA.cjs');
12
12
  require('../__chunks/75KXQZJX.cjs');
13
13
  require('../__chunks/Q67LZMDT.cjs');
14
14
  require('../__chunks/OLOZ5JT2.cjs');
@@ -18,4 +18,4 @@ require('../__chunks/AV6KTKLE.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.CompositeItem = _QWP2WC6Ecjs.CompositeItem; exports.useCompositeItem = _QWP2WC6Ecjs.useCompositeItem;
21
+ exports.CompositeItem = _VYKATRVCcjs.CompositeItem; exports.useCompositeItem = _VYKATRVCcjs.useCompositeItem;