@jobber/components 6.123.0 → 6.123.2

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 (231) hide show
  1. package/dist/AtlantisThemeContext-cjs.js +1 -1
  2. package/dist/AtlantisThemeContext-es.js +9 -9
  3. package/dist/Autocomplete/Autocomplete.types.d.ts +33 -0
  4. package/dist/Autocomplete/index.cjs +5 -5
  5. package/dist/Autocomplete/index.mjs +8 -8
  6. package/dist/Autocomplete/useAutocomplete.d.ts +2 -57
  7. package/dist/Body-cjs.js +1 -1
  8. package/dist/Body-es.js +2 -2
  9. package/dist/BottomSheet-cjs.js +42 -12
  10. package/dist/BottomSheet-es.js +43 -13
  11. package/dist/Box-cjs.js +2 -2
  12. package/dist/Box-es.js +2 -2
  13. package/dist/Button/index.mjs +1 -1
  14. package/dist/Button-es.js +1 -1
  15. package/dist/Card-cjs.js +1 -1
  16. package/dist/Card-es.js +1 -1
  17. package/dist/Checkbox/index.cjs +1 -1
  18. package/dist/Checkbox/index.mjs +1 -1
  19. package/dist/Chip/index.mjs +1 -1
  20. package/dist/Chip-cjs.js +2 -2
  21. package/dist/Chip-es.js +2 -2
  22. package/dist/ChipDismissible-es.js +1 -1
  23. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +1 -1
  24. package/dist/Combobox-cjs.js +1 -1
  25. package/dist/Combobox-es.js +1 -1
  26. package/dist/ComboboxAction-cjs.js +1 -1
  27. package/dist/ComboboxAction-es.js +1 -1
  28. package/dist/ComboboxContent-cjs.js +1 -1
  29. package/dist/ComboboxContent-es.js +2 -2
  30. package/dist/ComboboxContentHeader-cjs.js +1 -1
  31. package/dist/ComboboxContentHeader-es.js +1 -1
  32. package/dist/ComboboxContentList-es.js +1 -1
  33. package/dist/ComboboxContentSearch-cjs.js +1 -1
  34. package/dist/ComboboxContentSearch-es.js +1 -1
  35. package/dist/ComboboxLoadMore-cjs.js +1 -1
  36. package/dist/ComboboxLoadMore-es.js +1 -1
  37. package/dist/ComboboxOption-cjs.js +1 -1
  38. package/dist/ComboboxOption-es.js +1 -1
  39. package/dist/Container-cjs.js +1 -1
  40. package/dist/Container-es.js +1 -1
  41. package/dist/Content-cjs.js +1 -1
  42. package/dist/Content-es.js +1 -1
  43. package/dist/ContentBlock-cjs.js +1 -1
  44. package/dist/ContentBlock-es.js +1 -1
  45. package/dist/Countdown-cjs.js +7 -3
  46. package/dist/Countdown-es.js +8 -4
  47. package/dist/Cover-cjs.js +1 -1
  48. package/dist/Cover-es.js +1 -1
  49. package/dist/DataList-es.js +3 -3
  50. package/dist/DataList.const-cjs.js +0 -1
  51. package/dist/DataList.const-es.js +1 -2
  52. package/dist/DataList.module-cjs.js +1 -1
  53. package/dist/DataList.module-es.js +1 -1
  54. package/dist/DataList.utils-es.js +6 -6
  55. package/dist/DataListAction-cjs.js +1 -1
  56. package/dist/DataListAction-es.js +1 -1
  57. package/dist/DataListActionsMenu-cjs.js +1 -1
  58. package/dist/DataListActionsMenu-es.js +2 -2
  59. package/dist/DataListBulkActions-cjs.js +1 -1
  60. package/dist/DataListBulkActions-es.js +1 -1
  61. package/dist/DataListContext-cjs.js +6 -5
  62. package/dist/DataListContext-es.js +6 -5
  63. package/dist/DataListEmptyState-cjs.js +1 -1
  64. package/dist/DataListEmptyState-es.js +1 -1
  65. package/dist/DataListHeaderTile-cjs.js +2 -2
  66. package/dist/DataListHeaderTile-es.js +2 -2
  67. package/dist/DataListItemActions-cjs.js +1 -1
  68. package/dist/DataListItemActions-es.js +2 -2
  69. package/dist/DataListLayoutActions-cjs.js +1 -1
  70. package/dist/DataListLayoutActions-es.js +2 -2
  71. package/dist/DataListLoadMore-cjs.js +1 -1
  72. package/dist/DataListLoadMore-es.js +1 -1
  73. package/dist/DataListLoadingState-cjs.js +1 -1
  74. package/dist/DataListLoadingState-es.js +2 -2
  75. package/dist/DataListOverflowFade-cjs.js +1 -1
  76. package/dist/DataListOverflowFade-es.js +1 -1
  77. package/dist/DataListSearch-cjs.js +1 -1
  78. package/dist/DataListSearch-es.js +1 -1
  79. package/dist/DataListSortingOptions-cjs.js +1 -1
  80. package/dist/DataListSortingOptions-es.js +1 -1
  81. package/dist/DataListStickyHeader-cjs.js +1 -1
  82. package/dist/DataListStickyHeader-es.js +1 -1
  83. package/dist/DataListTags-cjs.js +1 -1
  84. package/dist/DataListTags-es.js +1 -1
  85. package/dist/DataListTotalCount-cjs.js +1 -1
  86. package/dist/DataListTotalCount-es.js +2 -2
  87. package/dist/DataTable/index.mjs +1 -1
  88. package/dist/DataTable-cjs.js +3 -3
  89. package/dist/DataTable-es.js +5 -5
  90. package/dist/DataTableTable-cjs.js +2 -2
  91. package/dist/DataTableTable-es.js +3 -3
  92. package/dist/DatePicker-cjs.js +266 -81
  93. package/dist/DatePicker-es.js +268 -83
  94. package/dist/DayOfMonthSelect-cjs.js +5 -5
  95. package/dist/DayOfMonthSelect-es.js +6 -6
  96. package/dist/DescriptionList-cjs.js +1 -1
  97. package/dist/DescriptionList-es.js +1 -1
  98. package/dist/Disclosure-cjs.js +1 -1
  99. package/dist/Disclosure-es.js +1 -1
  100. package/dist/Divider-cjs.js +1 -1
  101. package/dist/Divider-es.js +1 -1
  102. package/dist/DrawerGrid-cjs.js +2 -2
  103. package/dist/DrawerGrid-es.js +2 -2
  104. package/dist/DrawerRoot-cjs.js +10 -48
  105. package/dist/DrawerRoot-es.js +12 -50
  106. package/dist/FeatureSwitch-cjs.js +1 -1
  107. package/dist/FeatureSwitch-es.js +1 -1
  108. package/dist/FormField/index.mjs +1 -1
  109. package/dist/FormField-cjs.js +1 -1
  110. package/dist/FormField-es.js +2 -2
  111. package/dist/FormatEmail-cjs.js +1 -1
  112. package/dist/FormatEmail-es.js +1 -1
  113. package/dist/FormatFile-cjs.js +1 -6
  114. package/dist/FormatFile-es.js +1 -6
  115. package/dist/Frame-cjs.js +1 -1
  116. package/dist/Frame-es.js +1 -1
  117. package/dist/Glimmer/index.mjs +1 -1
  118. package/dist/Glimmer-cjs.js +1 -1
  119. package/dist/Glimmer-es.js +2 -2
  120. package/dist/Grid-cjs.js +1 -1
  121. package/dist/Grid-es.js +1 -1
  122. package/dist/GridCell-cjs.js +1 -1
  123. package/dist/GridCell-es.js +1 -1
  124. package/dist/InputAvatar-cjs.js +1 -1
  125. package/dist/InputAvatar-es.js +1 -1
  126. package/dist/InputDate/index.mjs +1 -1
  127. package/dist/InputEmail/index.mjs +1 -1
  128. package/dist/InputFile-cjs.js +8 -3
  129. package/dist/InputFile-es.js +8 -3
  130. package/dist/InputNumber/index.cjs +181 -69
  131. package/dist/InputNumber/index.mjs +184 -72
  132. package/dist/InputPassword-es.js +1 -1
  133. package/dist/InputPhoneNumber/index.cjs +1 -1
  134. package/dist/InputPhoneNumber/index.mjs +2 -2
  135. package/dist/InputText/InputText.d.ts +2 -70
  136. package/dist/InputText/index.mjs +1 -1
  137. package/dist/InputTime/index.cjs +0 -1
  138. package/dist/InputTime/index.mjs +1 -2
  139. package/dist/InputValidation-cjs.js +1 -1
  140. package/dist/InputValidation-es.js +1 -1
  141. package/dist/InternalChipDismissible-cjs.js +1 -1
  142. package/dist/InternalChipDismissible-es.js +2 -2
  143. package/dist/LightBox-cjs.js +1 -1
  144. package/dist/LightBox-es.js +1 -1
  145. package/dist/Link-cjs.js +1 -1
  146. package/dist/Link-es.js +1 -1
  147. package/dist/List-cjs.js +3 -3
  148. package/dist/List-es.js +7 -7
  149. package/dist/Markdown-cjs.js +604 -961
  150. package/dist/Markdown-es.js +610 -967
  151. package/dist/Menu/Menu.d.ts +1 -1
  152. package/dist/Menu-cjs.js +859 -629
  153. package/dist/Menu-es.js +855 -625
  154. package/dist/Modal/index.cjs +2 -2
  155. package/dist/Modal/index.mjs +2 -2
  156. package/dist/Modal/useModal.d.ts +9 -29
  157. package/dist/MultiSelect-cjs.js +2 -2
  158. package/dist/MultiSelect-es.js +2 -2
  159. package/dist/OverlaySeparator-cjs.js +1 -1
  160. package/dist/OverlaySeparator-es.js +1 -1
  161. package/dist/Popover-cjs.js +1 -1
  162. package/dist/Popover-es.js +2 -2
  163. package/dist/ProgressBar-cjs.js +1 -1
  164. package/dist/ProgressBar-es.js +1 -1
  165. package/dist/RadioGroup-cjs.js +1 -1
  166. package/dist/RadioGroup-es.js +1 -1
  167. package/dist/RecurringSelect/components/index.mjs +1 -1
  168. package/dist/RecurringSelect/index.cjs +1 -0
  169. package/dist/RecurringSelect/index.mjs +1 -0
  170. package/dist/RecurringSelect-cjs.js +1 -1
  171. package/dist/RecurringSelect-es.js +2 -2
  172. package/dist/SegmentedControl-cjs.js +1 -1
  173. package/dist/SegmentedControl-es.js +2 -2
  174. package/dist/Select/index.cjs +1 -1
  175. package/dist/Select/index.mjs +2 -2
  176. package/dist/SideDrawer-cjs.js +1 -1
  177. package/dist/SideDrawer-es.js +1 -1
  178. package/dist/Spinner-cjs.js +1 -1
  179. package/dist/Spinner-es.js +1 -1
  180. package/dist/StatusIndicator-cjs.js +1 -1
  181. package/dist/StatusIndicator-es.js +1 -1
  182. package/dist/Switch-cjs.js +1 -1
  183. package/dist/Switch-es.js +1 -1
  184. package/dist/Table/index.mjs +1 -1
  185. package/dist/Tabs/index.mjs +1 -1
  186. package/dist/Tabs-cjs.js +1 -1
  187. package/dist/Tabs-es.js +6 -6
  188. package/dist/Text-cjs2.js +365 -175
  189. package/dist/Text-es2.js +361 -175
  190. package/dist/Thumbnail-cjs.js +1 -1
  191. package/dist/Thumbnail-es.js +2 -2
  192. package/dist/Tiles-cjs.js +1 -1
  193. package/dist/Tiles-es.js +1 -1
  194. package/dist/Tooltip-cjs.js +1 -1
  195. package/dist/Tooltip-es.js +2 -2
  196. package/dist/Typography-cjs.js +3 -3
  197. package/dist/Typography-es.js +3 -3
  198. package/dist/_baseEach-cjs.js +1 -1
  199. package/dist/_baseEach-es.js +7 -7
  200. package/dist/_baseFlatten-es.js +1 -1
  201. package/dist/_getAllKeys-cjs.js +2 -8
  202. package/dist/_getAllKeys-es.js +4 -10
  203. package/dist/_getTag-es.js +1 -1
  204. package/dist/_isIterateeCall-es.js +3 -3
  205. package/dist/_setToString-es.js +2 -2
  206. package/dist/debounce-es.js +4 -4
  207. package/dist/floating-ui.react-cjs.js +35 -16
  208. package/dist/floating-ui.react-dom-es.js +2 -2
  209. package/dist/floating-ui.react-es.js +37 -18
  210. package/dist/identity-es.js +5 -5
  211. package/dist/index-cjs.js +6 -6
  212. package/dist/index-es.js +6 -6
  213. package/dist/index.esm-es.js +1 -1
  214. package/dist/index.mjs +6 -6
  215. package/dist/isSymbol-es.js +1 -1
  216. package/dist/isTypedArray-cjs.js +4 -4
  217. package/dist/isTypedArray-es.js +6 -6
  218. package/dist/keysIn-cjs.js +2 -2
  219. package/dist/keysIn-es.js +5 -5
  220. package/dist/noop-es.js +4 -4
  221. package/dist/omit-cjs.js +37 -5
  222. package/dist/omit-es.js +46 -14
  223. package/dist/primitives/BottomSheet/BottomSheet.d.ts +13 -8
  224. package/dist/showToast-cjs.js +1 -1
  225. package/dist/showToast-es.js +1 -1
  226. package/dist/styles.css +56 -124
  227. package/dist/unstyledPrimitives/index.mjs +3 -3
  228. package/dist/useScrollToActive-cjs.js +1 -1
  229. package/dist/useScrollToActive-es.js +8 -8
  230. package/package.json +32 -15
  231. package/rollup.config.mjs +4 -1
@@ -8,7 +8,7 @@ var Typography = require('./Typography-cjs.js');
8
8
 
9
9
  var styles$1 = {"content":"b9lhF-BkUnI-","hasName":"BJLJeUxloeQ-","large":"t5IzWH6-Sy0-","fileName":"tj--cPRjQfI-","base":"l2Vxo1qaR8U-","spinning":"LDAOyzklETo-"};
10
10
 
11
- var styles = {"image":"qOmZU-rbNf4-","fadeIn":"zB1aNhsmmqY-","hidden":"_2bihNsPs7w4-","spinning":"ZLMkLuZeH-o-"};
11
+ var styles = {"image":"qOmZU-rbNf4-","hidden":"_2bihNsPs7w4-"};
12
12
 
13
13
  function InternalThumbnailImage({ file, UNSAFE_className, UNSAFE_style, }) {
14
14
  const { name, src } = file;
@@ -1,12 +1,12 @@
1
1
  import React__default, { useState, useEffect } from 'react';
2
2
  import classnames from 'classnames';
3
- import { G as Glimmer } from './Glimmer-es.js';
3
+ import { a as Glimmer } from './Glimmer-es.js';
4
4
  import { I as Icon } from './Icon-es.js';
5
5
  import { T as Typography } from './Typography-es.js';
6
6
 
7
7
  var styles$1 = {"content":"b9lhF-BkUnI-","hasName":"BJLJeUxloeQ-","large":"t5IzWH6-Sy0-","fileName":"tj--cPRjQfI-","base":"l2Vxo1qaR8U-","spinning":"LDAOyzklETo-"};
8
8
 
9
- var styles = {"image":"qOmZU-rbNf4-","fadeIn":"zB1aNhsmmqY-","hidden":"_2bihNsPs7w4-","spinning":"ZLMkLuZeH-o-"};
9
+ var styles = {"image":"qOmZU-rbNf4-","hidden":"_2bihNsPs7w4-"};
10
10
 
11
11
  function InternalThumbnailImage({ file, UNSAFE_className, UNSAFE_style, }) {
12
12
  const { name, src } = file;
package/dist/Tiles-cjs.js CHANGED
@@ -4,7 +4,7 @@ var React = require('react');
4
4
  var classnames = require('classnames');
5
5
  var getMappedAtlantisSpaceToken = require('./getMappedAtlantisSpaceToken-cjs.js');
6
6
 
7
- var styles = {"tiles":"jC1GzRIJp74-","spinning":"Ou05ff3MXU8-"};
7
+ var styles = {"tiles":"jC1GzRIJp74-"};
8
8
 
9
9
  function Tiles({ children, minSize = "30ch", gap = "base", autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, align = "start", }) {
10
10
  return (React.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-tile-min-size": minSize, "--public-tile-space": getMappedAtlantisSpaceToken.getMappedAtlantisSpaceToken(gap), "--public-tiles-width": autoWidth ? "auto" : "100%", "--public-tiles-align": align }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.tiles, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
package/dist/Tiles-es.js CHANGED
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import classnames from 'classnames';
3
3
  import { g as getMappedAtlantisSpaceToken } from './getMappedAtlantisSpaceToken-es.js';
4
4
 
5
- var styles = {"tiles":"jC1GzRIJp74-","spinning":"Ou05ff3MXU8-"};
5
+ var styles = {"tiles":"jC1GzRIJp74-"};
6
6
 
7
7
  function Tiles({ children, minSize = "30ch", gap = "base", autoWidth = false, as: Tag = "div", dataAttributes, ariaAttributes, role, id, UNSAFE_className, UNSAFE_style, align = "start", }) {
8
8
  return (React__default.createElement(Tag, Object.assign({ role: role, id: id }, dataAttributes, ariaAttributes, { style: Object.assign({ "--public-tile-min-size": minSize, "--public-tile-space": getMappedAtlantisSpaceToken(gap), "--public-tiles-width": autoWidth ? "auto" : "100%", "--public-tiles-align": align }, UNSAFE_style === null || UNSAFE_style === void 0 ? void 0 : UNSAFE_style.container), className: classnames(styles.tiles, UNSAFE_className === null || UNSAFE_className === void 0 ? void 0 : UNSAFE_className.container) }), children));
@@ -7,7 +7,7 @@ var framerMotion = require('framer-motion');
7
7
  var jobberHooks = require('@jobber/hooks');
8
8
  var floatingUi_reactDom = require('./floating-ui.react-dom-cjs.js');
9
9
 
10
- var styles = {"shadowActivator":"sZQ1M6tj8-c-","tooltipWrapper":"_0o-yEgfXmSQ-","tooltip":"Q1YfFqI71cw-","arrow":"ZP3ev-wT-OI-","top":"jlEmO6f6uHg-","bottom":"z9JQ-DR-QYc-","left":"zWATWgq3bS4-","right":"-tDm6lNCCic-","tooltipMessage":"djrmr4mADlA-","hidden":"p92TIli5Sgw-","spinning":"bobYmlUMnuY-"};
10
+ var styles = {"shadowActivator":"sZQ1M6tj8-c-","tooltipWrapper":"_0o-yEgfXmSQ-","tooltip":"Q1YfFqI71cw-","arrow":"ZP3ev-wT-OI-","top":"jlEmO6f6uHg-","bottom":"z9JQ-DR-QYc-","left":"zWATWgq3bS4-","right":"-tDm6lNCCic-","tooltipMessage":"djrmr4mADlA-","hidden":"p92TIli5Sgw-"};
11
11
 
12
12
  const TOOLTIP_SHIFT_PADDING = 8;
13
13
  const TOOLTIP_ARROW_PADDING = 6;
@@ -3,9 +3,9 @@ import classnames from 'classnames';
3
3
  import { u as useFloating, F as FloatingPortal } from './floating-ui.react-es.js';
4
4
  import { motion } from 'framer-motion';
5
5
  import { useSafeLayoutEffect, useIsMounted } from '@jobber/hooks';
6
- import { s as shift, f as flip, a as arrow, h as hide, b as autoUpdate, l as limitShift } from './floating-ui.react-dom-es.js';
6
+ import { a as autoUpdate, s as shift, f as flip, b as arrow, h as hide, l as limitShift } from './floating-ui.react-dom-es.js';
7
7
 
8
- var styles = {"shadowActivator":"sZQ1M6tj8-c-","tooltipWrapper":"_0o-yEgfXmSQ-","tooltip":"Q1YfFqI71cw-","arrow":"ZP3ev-wT-OI-","top":"jlEmO6f6uHg-","bottom":"z9JQ-DR-QYc-","left":"zWATWgq3bS4-","right":"-tDm6lNCCic-","tooltipMessage":"djrmr4mADlA-","hidden":"p92TIli5Sgw-","spinning":"bobYmlUMnuY-"};
8
+ var styles = {"shadowActivator":"sZQ1M6tj8-c-","tooltipWrapper":"_0o-yEgfXmSQ-","tooltip":"Q1YfFqI71cw-","arrow":"ZP3ev-wT-OI-","top":"jlEmO6f6uHg-","bottom":"z9JQ-DR-QYc-","left":"zWATWgq3bS4-","right":"-tDm6lNCCic-","tooltipMessage":"djrmr4mADlA-","hidden":"p92TIli5Sgw-"};
9
9
 
10
10
  const TOOLTIP_SHIFT_PADDING = 8;
11
11
  const TOOLTIP_ARROW_PADDING = 6;
@@ -3,7 +3,7 @@
3
3
  var React = require('react');
4
4
  var classnames = require('classnames');
5
5
 
6
- var styles = {"base":"j4h-0Mxa5gk-","spinning":"vNKBQk0oak4-"};
6
+ var styles = {"base":"j4h-0Mxa5gk-"};
7
7
 
8
8
  var fontSizes = {"extravagant":"_1CXlSTO0w8g-","jumbo":"v5TK2OwNTaI-","largest":"CcGPmsMUVfg-","larger":"ETyC5vbbImA-","large":"ejYSlnHYn2U-","base":"e9lFMke1PNs-","small":"MiITdlbzofc-","smaller":"hs1hcOgrK1s-","spinning":"wbsSTlLw-cA-"};
9
9
 
@@ -15,13 +15,13 @@ var textColors = {"blue":"xNqFL54SrGc-","grey":"_9XmiMJWBidk-","greyBlueDark":"Y
15
15
 
16
16
  var emphasis = {"italic":"ws2Y0LqNNfk-","highlight":"kw63z71hYYU-","spinning":"ki-I8aPAhmA-"};
17
17
 
18
- var truncate = {"textTruncate":"bvnCrlndVHs-","spinning":"kdOkoNCczRo-"};
18
+ var truncate = {"textTruncate":"bvnCrlndVHs-"};
19
19
 
20
20
  var alignment = {"start":"r5lyOVfBlMI-","center":"w1MIwv35jXA-","end":"oOJPwUQFllQ-","spinning":"geH1XNdqO8M-"};
21
21
 
22
22
  var fontFamilies = {"base":"V9SSKxs15xE-","display":"dvw7zxC9s9g-","spinning":"NBpK9JnmLJ4-"};
23
23
 
24
- var underlineStyles = {"basicUnderline":"qp8E5e4q-so-","spinning":"F-Ybr7sJi6Q-"};
24
+ var underlineStyles = {"basicUnderline":"qp8E5e4q-so-"};
25
25
 
26
26
  function Typography({ id, children, element: Tag = "p", size, align, fontWeight = "regular", textCase, textColor, emphasisType, numberOfLines, fontFamily, underline, UNSAFE_className, UNSAFE_style, }) {
27
27
  const shouldTruncateText = numberOfLines && numberOfLines > 0;
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import classnames from 'classnames';
3
3
 
4
- var styles = {"base":"j4h-0Mxa5gk-","spinning":"vNKBQk0oak4-"};
4
+ var styles = {"base":"j4h-0Mxa5gk-"};
5
5
 
6
6
  var fontSizes = {"extravagant":"_1CXlSTO0w8g-","jumbo":"v5TK2OwNTaI-","largest":"CcGPmsMUVfg-","larger":"ETyC5vbbImA-","large":"ejYSlnHYn2U-","base":"e9lFMke1PNs-","small":"MiITdlbzofc-","smaller":"hs1hcOgrK1s-","spinning":"wbsSTlLw-cA-"};
7
7
 
@@ -13,13 +13,13 @@ var textColors = {"blue":"xNqFL54SrGc-","grey":"_9XmiMJWBidk-","greyBlueDark":"Y
13
13
 
14
14
  var emphasis = {"italic":"ws2Y0LqNNfk-","highlight":"kw63z71hYYU-","spinning":"ki-I8aPAhmA-"};
15
15
 
16
- var truncate = {"textTruncate":"bvnCrlndVHs-","spinning":"kdOkoNCczRo-"};
16
+ var truncate = {"textTruncate":"bvnCrlndVHs-"};
17
17
 
18
18
  var alignment = {"start":"r5lyOVfBlMI-","center":"w1MIwv35jXA-","end":"oOJPwUQFllQ-","spinning":"geH1XNdqO8M-"};
19
19
 
20
20
  var fontFamilies = {"base":"V9SSKxs15xE-","display":"dvw7zxC9s9g-","spinning":"NBpK9JnmLJ4-"};
21
21
 
22
- var underlineStyles = {"basicUnderline":"qp8E5e4q-so-","spinning":"F-Ybr7sJi6Q-"};
22
+ var underlineStyles = {"basicUnderline":"qp8E5e4q-so-"};
23
23
 
24
24
  function Typography({ id, children, element: Tag = "p", size, align, fontWeight = "regular", textCase, textColor, emphasisType, numberOfLines, fontFamily, underline, UNSAFE_className, UNSAFE_style, }) {
25
25
  const shouldTruncateText = numberOfLines && numberOfLines > 0;
@@ -36,7 +36,7 @@ var _setCacheAdd = setCacheAdd$1;
36
36
  * @name has
37
37
  * @memberOf SetCache
38
38
  * @param {*} value The value to search for.
39
- * @returns {number} Returns `true` if `value` is found, else `false`.
39
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
40
40
  */
41
41
 
42
42
  function setCacheHas$1(value) {
@@ -1,8 +1,8 @@
1
1
  import { g as _MapCache, d as _Uint8Array, e as eq_1, c as _Stack, a as _isIndex, i as identity_1 } from './identity-es.js';
2
2
  import { b as _Symbol, i as isObjectLike_1, a as isObject_1 } from './isObjectLike-es.js';
3
3
  import { e as _getAllKeys, k as keys_1, b as _baseGet, f as _castPath, g as _toKey, h as _isKey } from './_getAllKeys-es.js';
4
- import { a as _getTag } from './_getTag-es.js';
5
- import { c as isBufferExports, d as isTypedArray_1, a as isArray_1, i as isArguments_1, m as isLength_1, b as isArrayLike_1 } from './isTypedArray-es.js';
4
+ import { _ as _getTag } from './_getTag-es.js';
5
+ import { b as isBufferExports, c as isTypedArray_1, a as isArray_1, m as isLength_1, d as isArguments_1, i as isArrayLike_1 } from './isTypedArray-es.js';
6
6
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
7
7
  import { _ as _baseFor } from './_baseFor-es.js';
8
8
 
@@ -34,7 +34,7 @@ var _setCacheAdd = setCacheAdd$1;
34
34
  * @name has
35
35
  * @memberOf SetCache
36
36
  * @param {*} value The value to search for.
37
- * @returns {number} Returns `true` if `value` is found, else `false`.
37
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
38
38
  */
39
39
 
40
40
  function setCacheHas$1(value) {
@@ -729,14 +729,14 @@ var baseGet$1 = _baseGet;
729
729
  * _.get(object, 'a.b.c', 'default');
730
730
  * // => 'default'
731
731
  */
732
- function get$1(object, path, defaultValue) {
732
+ function get$2(object, path, defaultValue) {
733
733
  var result = object == null ? undefined : baseGet$1(object, path);
734
734
  return result === undefined ? defaultValue : result;
735
735
  }
736
736
 
737
- var get_1 = get$1;
737
+ var get_1 = get$2;
738
738
 
739
- var get$2 = /*@__PURE__*/getDefaultExportFromCjs(get_1);
739
+ var get$1 = /*@__PURE__*/getDefaultExportFromCjs(get_1);
740
740
 
741
741
  /**
742
742
  * The base implementation of `_.hasIn` without support for deep paths.
@@ -1025,4 +1025,4 @@ var baseEach = createBaseEach(baseForOwn);
1025
1025
 
1026
1026
  var _baseEach = baseEach;
1027
1027
 
1028
- export { _baseEach as _, _baseIteratee as a, get$2 as g };
1028
+ export { _baseEach as _, _baseIteratee as a, get$1 as g };
@@ -1,6 +1,6 @@
1
1
  import { _ as _arrayPush } from './_getAllKeys-es.js';
2
2
  import { b as _Symbol } from './isObjectLike-es.js';
3
- import { i as isArguments_1, a as isArray_1 } from './isTypedArray-es.js';
3
+ import { a as isArray_1, d as isArguments_1 } from './isTypedArray-es.js';
4
4
 
5
5
  var Symbol = _Symbol,
6
6
  isArguments = isArguments_1,
@@ -215,9 +215,6 @@ var Symbol = isObjectLike._Symbol,
215
215
  isArray$2 = isTypedArray.isArray_1,
216
216
  isSymbol$1 = isSymbol$3.isSymbol_1;
217
217
 
218
- /** Used as references for various `Number` constants. */
219
- var INFINITY$1 = 1 / 0;
220
-
221
218
  /** Used to convert symbols to primitives and strings. */
222
219
  var symbolProto = Symbol ? Symbol.prototype : undefined,
223
220
  symbolToString = symbolProto ? symbolProto.toString : undefined;
@@ -243,7 +240,7 @@ function baseToString$1(value) {
243
240
  return symbolToString ? symbolToString.call(value) : '';
244
241
  }
245
242
  var result = (value + '');
246
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
243
+ return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
247
244
  }
248
245
 
249
246
  var _baseToString = baseToString$1;
@@ -301,9 +298,6 @@ var _castPath = castPath$1;
301
298
 
302
299
  var isSymbol = isSymbol$3.isSymbol_1;
303
300
 
304
- /** Used as references for various `Number` constants. */
305
- var INFINITY = 1 / 0;
306
-
307
301
  /**
308
302
  * Converts `value` to a string key if it's not a string or symbol.
309
303
  *
@@ -316,7 +310,7 @@ function toKey$1(value) {
316
310
  return value;
317
311
  }
318
312
  var result = (value + '');
319
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
313
+ return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
320
314
  }
321
315
 
322
316
  var _toKey = toKey$1;
@@ -1,8 +1,8 @@
1
- import { a as isArray_1, b as isArrayLike_1 } from './isTypedArray-es.js';
1
+ import { a as isArray_1, i as isArrayLike_1 } from './isTypedArray-es.js';
2
2
  import { i as isSymbol_1 } from './isSymbol-es.js';
3
3
  import { g as _MapCache, f as _arrayLikeKeys } from './identity-es.js';
4
4
  import { b as _Symbol } from './isObjectLike-es.js';
5
- import { _ as _baseKeys } from './_getTag-es.js';
5
+ import { a as _baseKeys } from './_getTag-es.js';
6
6
 
7
7
  /**
8
8
  * Appends the elements of `values` to `array`.
@@ -213,9 +213,6 @@ var Symbol = _Symbol,
213
213
  isArray$2 = isArray_1,
214
214
  isSymbol$1 = isSymbol_1;
215
215
 
216
- /** Used as references for various `Number` constants. */
217
- var INFINITY$1 = 1 / 0;
218
-
219
216
  /** Used to convert symbols to primitives and strings. */
220
217
  var symbolProto = Symbol ? Symbol.prototype : undefined,
221
218
  symbolToString = symbolProto ? symbolProto.toString : undefined;
@@ -241,7 +238,7 @@ function baseToString$1(value) {
241
238
  return symbolToString ? symbolToString.call(value) : '';
242
239
  }
243
240
  var result = (value + '');
244
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
241
+ return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
245
242
  }
246
243
 
247
244
  var _baseToString = baseToString$1;
@@ -299,9 +296,6 @@ var _castPath = castPath$1;
299
296
 
300
297
  var isSymbol = isSymbol_1;
301
298
 
302
- /** Used as references for various `Number` constants. */
303
- var INFINITY = 1 / 0;
304
-
305
299
  /**
306
300
  * Converts `value` to a string key if it's not a string or symbol.
307
301
  *
@@ -314,7 +308,7 @@ function toKey$1(value) {
314
308
  return value;
315
309
  }
316
310
  var result = (value + '');
317
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
311
+ return (result == '0' && (1 / value) == -Infinity) ? '-0' : result;
318
312
  }
319
313
 
320
314
  var _toKey = toKey$1;
@@ -130,4 +130,4 @@ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
130
130
 
131
131
  var _getTag = getTag;
132
132
 
133
- export { _baseKeys as _, _getTag as a };
133
+ export { _getTag as _, _baseKeys as a };
@@ -1,6 +1,6 @@
1
- import { i as identity_1, e as eq_1, a as _isIndex } from './identity-es.js';
2
- import { _ as _overRest, a as _setToString } from './_setToString-es.js';
3
- import { b as isArrayLike_1 } from './isTypedArray-es.js';
1
+ import { i as identity_1, a as _isIndex, e as eq_1 } from './identity-es.js';
2
+ import { _ as _setToString, a as _overRest } from './_setToString-es.js';
3
+ import { i as isArrayLike_1 } from './isTypedArray-es.js';
4
4
  import { a as isObject_1 } from './isObjectLike-es.js';
5
5
 
6
6
  var identity = identity_1,
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, i as identity_1 } from './identity-es.js';
1
+ import { i as identity_1, _ as _defineProperty } from './identity-es.js';
2
2
 
3
3
  /**
4
4
  * A faster alternative to `Function#apply`, this function invokes `func`
@@ -165,4 +165,4 @@ var setToString = shortOut(baseSetToString);
165
165
 
166
166
  var _setToString = setToString;
167
167
 
168
- export { _overRest as _, _setToString as a };
168
+ export { _setToString as _, _overRest as a };
@@ -197,7 +197,7 @@ var nativeMax = Math.max,
197
197
  * // Cancel the trailing debounced invocation.
198
198
  * jQuery(window).on('popstate', debounced.cancel);
199
199
  */
200
- function debounce(func, wait, options) {
200
+ function debounce$1(func, wait, options) {
201
201
  var lastArgs,
202
202
  lastThis,
203
203
  maxWait,
@@ -322,8 +322,8 @@ function debounce(func, wait, options) {
322
322
  return debounced;
323
323
  }
324
324
 
325
- var debounce_1 = debounce;
325
+ var debounce_1 = debounce$1;
326
326
 
327
- var debounce$1 = /*@__PURE__*/getDefaultExportFromCjs(debounce_1);
327
+ var debounce = /*@__PURE__*/getDefaultExportFromCjs(debounce_1);
328
328
 
329
- export { debounce$1 as a, debounce_1 as d };
329
+ export { debounce as a, debounce_1 as d };
@@ -886,7 +886,12 @@ let uncontrolledElementsSet = /*#__PURE__*/new WeakSet();
886
886
  let markerMap = {};
887
887
  let lockCount$1 = 0;
888
888
  const supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;
889
- const unwrapHost = node => node && (node.host || unwrapHost(node.parentNode));
889
+ function unwrapHost(node) {
890
+ if (!node) {
891
+ return null;
892
+ }
893
+ return index_esm.isShadowRoot(node) ? node.host : unwrapHost(node.parentNode);
894
+ }
890
895
  const correctElements = (parent, targets) => targets.map(target => {
891
896
  if (parent.contains(target)) {
892
897
  return target;
@@ -1027,6 +1032,12 @@ const FocusGuard = /*#__PURE__*/React__namespace.forwardRef(function FocusGuard(
1027
1032
  });
1028
1033
  });
1029
1034
 
1035
+ const HIDDEN_OWNER_STYLES = {
1036
+ clipPath: 'inset(50%)',
1037
+ position: 'fixed',
1038
+ top: 0,
1039
+ left: 0
1040
+ };
1030
1041
  const PortalContext = /*#__PURE__*/React__namespace.createContext(null);
1031
1042
  const attr = /*#__PURE__*/createAttribute('portal');
1032
1043
  /**
@@ -1185,7 +1196,7 @@ function FloatingPortal(props) {
1185
1196
  }
1186
1197
  }), shouldRenderGuards && portalNode && /*#__PURE__*/jsxRuntime.jsx("span", {
1187
1198
  "aria-owns": portalNode.id,
1188
- style: HIDDEN_STYLES
1199
+ style: HIDDEN_OWNER_STYLES
1189
1200
  }), portalNode && /*#__PURE__*/ReactDOM__namespace.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/jsxRuntime.jsx(FocusGuard, {
1190
1201
  "data-type": "outside",
1191
1202
  ref: afterOutsideRef,
@@ -1221,20 +1232,24 @@ function useLiteMergeRefs(refs) {
1221
1232
  const LIST_LIMIT = 20;
1222
1233
  let previouslyFocusedElements = [];
1223
1234
  function clearDisconnectedPreviouslyFocusedElements() {
1224
- previouslyFocusedElements = previouslyFocusedElements.filter(el => el.isConnected);
1235
+ previouslyFocusedElements = previouslyFocusedElements.filter(elementRef => {
1236
+ var _elementRef$deref;
1237
+ return (_elementRef$deref = elementRef.deref()) == null ? void 0 : _elementRef$deref.isConnected;
1238
+ });
1225
1239
  }
1226
1240
  function addPreviouslyFocusedElement(element) {
1227
1241
  clearDisconnectedPreviouslyFocusedElements();
1228
1242
  if (element && index_esm.getNodeName(element) !== 'body') {
1229
- previouslyFocusedElements.push(element);
1243
+ previouslyFocusedElements.push(new WeakRef(element));
1230
1244
  if (previouslyFocusedElements.length > LIST_LIMIT) {
1231
- previouslyFocusedElements = previouslyFocusedElements.slice(-20);
1245
+ previouslyFocusedElements = previouslyFocusedElements.slice(-LIST_LIMIT);
1232
1246
  }
1233
1247
  }
1234
1248
  }
1235
1249
  function getPreviouslyFocusedElement() {
1236
1250
  clearDisconnectedPreviouslyFocusedElements();
1237
- return previouslyFocusedElements[previouslyFocusedElements.length - 1];
1251
+ const elementRef = previouslyFocusedElements[previouslyFocusedElements.length - 1];
1252
+ return elementRef == null ? void 0 : elementRef.deref();
1238
1253
  }
1239
1254
  function getFirstTabbableElement(container) {
1240
1255
  const tabbableOptions = getTabbableOptions();
@@ -2166,18 +2181,22 @@ function useDismiss(context, props) {
2166
2181
  })
2167
2182
  })
2168
2183
  }), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);
2169
- const floating = React__namespace.useMemo(() => ({
2170
- onKeyDown: closeOnEscapeKeyDown,
2171
- onMouseDown() {
2172
- endedOrStartedInsideRef.current = true;
2173
- },
2174
- onMouseUp() {
2184
+ const floating = React__namespace.useMemo(() => {
2185
+ function setMouseDownOrUpInside(event) {
2186
+ if (event.button !== 0) {
2187
+ return;
2188
+ }
2175
2189
  endedOrStartedInsideRef.current = true;
2176
- },
2177
- [captureHandlerKeys[outsidePressEvent]]: () => {
2178
- dataRef.current.insideReactTree = true;
2179
2190
  }
2180
- }), [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
2191
+ return {
2192
+ onKeyDown: closeOnEscapeKeyDown,
2193
+ onMouseDown: setMouseDownOrUpInside,
2194
+ onMouseUp: setMouseDownOrUpInside,
2195
+ [captureHandlerKeys[outsidePressEvent]]: () => {
2196
+ dataRef.current.insideReactTree = true;
2197
+ }
2198
+ };
2199
+ }, [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
2181
2200
  return React__namespace.useMemo(() => enabled ? {
2182
2201
  reference,
2183
2202
  floating
@@ -1,4 +1,4 @@
1
- import { n as evaluate, o as getSide, p as getSideAxis, q as getOppositePlacement, r as getExpandedPlacements, s as getOppositeAxisPlacements, u as getAlignmentSides, v as getAlignment, w as min, x as max, y as getAlignmentAxis, z as getPaddingObject, A as rectToClientRect, B as clamp, C as getAxisLength, D as sides, E as getOppositeAxis, F as placements, G as getOppositeAlignmentPlacement, g as getOverflowAncestors, b as isElement, H as createCoords, I as getWindow, J as getFrameElement, l as getComputedStyle$1, K as getDocumentElement, a as isHTMLElement, L as round, m as isWebKit, f as floor, M as isTopLayer, d as getNodeName, N as isOverflowElement, O as getNodeScroll, k as getParentNode, j as isLastTraversableNode, P as isTableElement, Q as isContainingBlock, R as getContainingBlock } from './index.esm-es.js';
1
+ import { n as getSideAxis, o as getAlignmentAxis, p as getSide, q as getAlignment, r as evaluate, s as getPaddingObject, u as rectToClientRect, v as getOppositePlacement, w as getExpandedPlacements, x as getOppositeAxisPlacements, y as getAlignmentSides, z as min, A as max, B as getAxisLength, C as clamp, D as getOppositeAxis, E as sides, F as placements, G as getOppositeAlignmentPlacement, g as getOverflowAncestors, b as isElement, H as getDocumentElement, I as createCoords, J as getWindow, K as getFrameElement, m as getComputedStyle$1, a as isHTMLElement, L as round, M as isTopLayer, l as getParentNode, k as isLastTraversableNode, N as isTableElement, O as isContainingBlock, P as getContainingBlock, d as getNodeName, Q as isOverflowElement, R as getNodeScroll, f as floor, j as isWebKit } from './index.esm-es.js';
2
2
  import * as React from 'react';
3
3
  import { useLayoutEffect } from 'react';
4
4
  import * as ReactDOM from 'react-dom';
@@ -2069,4 +2069,4 @@ const arrow = (options, deps) => {
2069
2069
  };
2070
2070
  };
2071
2071
 
2072
- export { arrow as a, autoUpdate as b, autoPlacement as c, size as d, flip as f, hide as h, limitShift as l, offset as o, shift as s, useFloating as u };
2072
+ export { autoUpdate as a, arrow as b, autoPlacement as c, size as d, flip as f, hide as h, limitShift as l, offset as o, shift as s, useFloating as u };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { useLayoutEffect } from 'react';
3
- import { i as isShadowRoot, a as isHTMLElement, t as tabbable, f as floor, b as isElement, g as getOverflowAncestors, c as isNode, d as getNodeName, e as isTabbable, h as focusable, j as isLastTraversableNode, k as getParentNode, l as getComputedStyle, m as isWebKit } from './index.esm-es.js';
4
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
+ import { i as isShadowRoot, t as tabbable, a as isHTMLElement, f as floor, b as isElement, g as getOverflowAncestors, c as isNode, d as getNodeName, e as isTabbable, h as focusable, j as isWebKit, k as isLastTraversableNode, l as getParentNode, m as getComputedStyle } from './index.esm-es.js';
4
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
5
5
  import * as ReactDOM from 'react-dom';
6
6
  import { u as useFloating$1 } from './floating-ui.react-dom-es.js';
7
7
 
@@ -865,7 +865,12 @@ let uncontrolledElementsSet = /*#__PURE__*/new WeakSet();
865
865
  let markerMap = {};
866
866
  let lockCount$1 = 0;
867
867
  const supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;
868
- const unwrapHost = node => node && (node.host || unwrapHost(node.parentNode));
868
+ function unwrapHost(node) {
869
+ if (!node) {
870
+ return null;
871
+ }
872
+ return isShadowRoot(node) ? node.host : unwrapHost(node.parentNode);
873
+ }
869
874
  const correctElements = (parent, targets) => targets.map(target => {
870
875
  if (parent.contains(target)) {
871
876
  return target;
@@ -1006,6 +1011,12 @@ const FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref)
1006
1011
  });
1007
1012
  });
1008
1013
 
1014
+ const HIDDEN_OWNER_STYLES = {
1015
+ clipPath: 'inset(50%)',
1016
+ position: 'fixed',
1017
+ top: 0,
1018
+ left: 0
1019
+ };
1009
1020
  const PortalContext = /*#__PURE__*/React.createContext(null);
1010
1021
  const attr = /*#__PURE__*/createAttribute('portal');
1011
1022
  /**
@@ -1164,7 +1175,7 @@ function FloatingPortal(props) {
1164
1175
  }
1165
1176
  }), shouldRenderGuards && portalNode && /*#__PURE__*/jsx("span", {
1166
1177
  "aria-owns": portalNode.id,
1167
- style: HIDDEN_STYLES
1178
+ style: HIDDEN_OWNER_STYLES
1168
1179
  }), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/jsx(FocusGuard, {
1169
1180
  "data-type": "outside",
1170
1181
  ref: afterOutsideRef,
@@ -1200,20 +1211,24 @@ function useLiteMergeRefs(refs) {
1200
1211
  const LIST_LIMIT = 20;
1201
1212
  let previouslyFocusedElements = [];
1202
1213
  function clearDisconnectedPreviouslyFocusedElements() {
1203
- previouslyFocusedElements = previouslyFocusedElements.filter(el => el.isConnected);
1214
+ previouslyFocusedElements = previouslyFocusedElements.filter(elementRef => {
1215
+ var _elementRef$deref;
1216
+ return (_elementRef$deref = elementRef.deref()) == null ? void 0 : _elementRef$deref.isConnected;
1217
+ });
1204
1218
  }
1205
1219
  function addPreviouslyFocusedElement(element) {
1206
1220
  clearDisconnectedPreviouslyFocusedElements();
1207
1221
  if (element && getNodeName(element) !== 'body') {
1208
- previouslyFocusedElements.push(element);
1222
+ previouslyFocusedElements.push(new WeakRef(element));
1209
1223
  if (previouslyFocusedElements.length > LIST_LIMIT) {
1210
- previouslyFocusedElements = previouslyFocusedElements.slice(-20);
1224
+ previouslyFocusedElements = previouslyFocusedElements.slice(-LIST_LIMIT);
1211
1225
  }
1212
1226
  }
1213
1227
  }
1214
1228
  function getPreviouslyFocusedElement() {
1215
1229
  clearDisconnectedPreviouslyFocusedElements();
1216
- return previouslyFocusedElements[previouslyFocusedElements.length - 1];
1230
+ const elementRef = previouslyFocusedElements[previouslyFocusedElements.length - 1];
1231
+ return elementRef == null ? void 0 : elementRef.deref();
1217
1232
  }
1218
1233
  function getFirstTabbableElement(container) {
1219
1234
  const tabbableOptions = getTabbableOptions();
@@ -2145,18 +2160,22 @@ function useDismiss(context, props) {
2145
2160
  })
2146
2161
  })
2147
2162
  }), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);
2148
- const floating = React.useMemo(() => ({
2149
- onKeyDown: closeOnEscapeKeyDown,
2150
- onMouseDown() {
2151
- endedOrStartedInsideRef.current = true;
2152
- },
2153
- onMouseUp() {
2163
+ const floating = React.useMemo(() => {
2164
+ function setMouseDownOrUpInside(event) {
2165
+ if (event.button !== 0) {
2166
+ return;
2167
+ }
2154
2168
  endedOrStartedInsideRef.current = true;
2155
- },
2156
- [captureHandlerKeys[outsidePressEvent]]: () => {
2157
- dataRef.current.insideReactTree = true;
2158
2169
  }
2159
- }), [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
2170
+ return {
2171
+ onKeyDown: closeOnEscapeKeyDown,
2172
+ onMouseDown: setMouseDownOrUpInside,
2173
+ onMouseUp: setMouseDownOrUpInside,
2174
+ [captureHandlerKeys[outsidePressEvent]]: () => {
2175
+ dataRef.current.insideReactTree = true;
2176
+ }
2177
+ };
2178
+ }, [closeOnEscapeKeyDown, outsidePressEvent, dataRef]);
2160
2179
  return React.useMemo(() => enabled ? {
2161
2180
  reference,
2162
2181
  floating
@@ -1,4 +1,4 @@
1
- import { f as _getNative, g as _Map, i as isArguments_1, c as isBufferExports, d as isTypedArray_1, a as isArray_1 } from './isTypedArray-es.js';
1
+ import { f as _getNative, g as _Map, d as isArguments_1, b as isBufferExports, c as isTypedArray_1, a as isArray_1 } from './isTypedArray-es.js';
2
2
  import { c as _root } from './isObjectLike-es.js';
3
3
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
4
4
 
@@ -798,12 +798,12 @@ var _arrayLikeKeys = arrayLikeKeys;
798
798
  * // => true
799
799
  */
800
800
 
801
- function identity(value) {
801
+ function identity$1(value) {
802
802
  return value;
803
803
  }
804
804
 
805
- var identity_1 = identity;
805
+ var identity_1 = identity$1;
806
806
 
807
- var identity$1 = /*@__PURE__*/getDefaultExportFromCjs(identity_1);
807
+ var identity = /*@__PURE__*/getDefaultExportFromCjs(identity_1);
808
808
 
809
- export { _defineProperty as _, _isIndex as a, identity$1 as b, _Stack as c, _Uint8Array as d, eq_1 as e, _arrayLikeKeys as f, _MapCache as g, identity_1 as i };
809
+ export { _defineProperty as _, _isIndex as a, identity as b, _Stack as c, _Uint8Array as d, eq_1 as e, _arrayLikeKeys as f, _MapCache as g, identity_1 as i };
package/dist/index-cjs.js CHANGED
@@ -62,7 +62,7 @@ function requireUseSyncExternalStoreShim_production () {
62
62
  var nextValue = latestGetSnapshot();
63
63
  return !objectIs(inst, nextValue);
64
64
  } catch (error) {
65
- return !0;
65
+ return true;
66
66
  }
67
67
  }
68
68
  function useSyncExternalStore$1(subscribe, getSnapshot) {
@@ -104,7 +104,7 @@ function requireUseSyncExternalStoreShim_development () {
104
104
  function useSyncExternalStore$2(subscribe, getSnapshot) {
105
105
  didWarnOld18Alpha ||
106
106
  void 0 === React$1.startTransition ||
107
- ((didWarnOld18Alpha = !0),
107
+ ((didWarnOld18Alpha = true),
108
108
  console.error(
109
109
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
110
110
  ));
@@ -115,7 +115,7 @@ function requireUseSyncExternalStoreShim_development () {
115
115
  (console.error(
116
116
  "The result of getSnapshot should be cached to avoid an infinite loop"
117
117
  ),
118
- (didWarnUncachedGetSnapshot = !0));
118
+ (didWarnUncachedGetSnapshot = true));
119
119
  }
120
120
  cachedValue = useState({
121
121
  inst: { value: value, getSnapshot: getSnapshot }
@@ -149,7 +149,7 @@ function requireUseSyncExternalStoreShim_development () {
149
149
  var nextValue = latestGetSnapshot();
150
150
  return !objectIs(inst, nextValue);
151
151
  } catch (error) {
152
- return !0;
152
+ return true;
153
153
  }
154
154
  }
155
155
  function useSyncExternalStore$1(subscribe, getSnapshot) {
@@ -165,8 +165,8 @@ function requireUseSyncExternalStoreShim_development () {
165
165
  useEffect = React$1.useEffect,
166
166
  useLayoutEffect = React$1.useLayoutEffect,
167
167
  useDebugValue = React$1.useDebugValue,
168
- didWarnOld18Alpha = !1,
169
- didWarnUncachedGetSnapshot = !1,
168
+ didWarnOld18Alpha = false,
169
+ didWarnUncachedGetSnapshot = false,
170
170
  shim =
171
171
  "undefined" === typeof window ||
172
172
  "undefined" === typeof window.document ||