@jobber/components 6.118.2 → 6.119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/Autocomplete/index.cjs +11 -10
  2. package/dist/Autocomplete/index.mjs +2 -1
  3. package/dist/Card/index.cjs +3 -1
  4. package/dist/Card/index.mjs +3 -1
  5. package/dist/Chip/index.cjs +2 -1
  6. package/dist/Chip/index.mjs +2 -1
  7. package/dist/Chips/InternalChipDismissible/hooks/index.cjs +2 -1
  8. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +2 -1
  9. package/dist/Chips/InternalChipDismissible/index.cjs +2 -1
  10. package/dist/Chips/InternalChipDismissible/index.mjs +2 -1
  11. package/dist/Chips/index.cjs +2 -1
  12. package/dist/Chips/index.mjs +2 -1
  13. package/dist/Combobox/components/ComboboxActivator/index.cjs +2 -1
  14. package/dist/Combobox/components/ComboboxActivator/index.mjs +2 -1
  15. package/dist/Combobox/components/ComboboxContent/index.cjs +2 -1
  16. package/dist/Combobox/components/ComboboxContent/index.mjs +2 -1
  17. package/dist/Combobox/components/ComboboxTrigger/index.cjs +2 -1
  18. package/dist/Combobox/components/ComboboxTrigger/index.mjs +2 -1
  19. package/dist/Combobox/index.cjs +2 -1
  20. package/dist/Combobox/index.mjs +2 -1
  21. package/dist/ComboboxContent-cjs.js +5 -4
  22. package/dist/ComboboxContent-es.js +2 -1
  23. package/dist/ConfirmationModal/index.cjs +1 -0
  24. package/dist/ConfirmationModal/index.mjs +1 -0
  25. package/dist/Countdown/index.cjs +1 -1
  26. package/dist/Countdown/index.mjs +1 -1
  27. package/dist/Countdown-cjs.js +1 -1
  28. package/dist/Countdown-es.js +1 -1
  29. package/dist/DataDump/index.cjs +3 -1
  30. package/dist/DataDump/index.mjs +3 -1
  31. package/dist/DataList/components/DataListActions/index.cjs +2 -1
  32. package/dist/DataList/components/DataListActions/index.mjs +2 -1
  33. package/dist/DataList/components/DataListBulkActions/index.cjs +2 -1
  34. package/dist/DataList/components/DataListBulkActions/index.mjs +2 -1
  35. package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +2 -1
  36. package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +2 -1
  37. package/dist/DataList/components/DataListFilters/index.cjs +2 -1
  38. package/dist/DataList/components/DataListFilters/index.mjs +2 -1
  39. package/dist/DataList/components/DataListHeader/index.cjs +2 -1
  40. package/dist/DataList/components/DataListHeader/index.mjs +2 -1
  41. package/dist/DataList/components/DataListItem/index.cjs +2 -1
  42. package/dist/DataList/components/DataListItem/index.mjs +2 -1
  43. package/dist/DataList/components/DataListItemActions/index.cjs +2 -1
  44. package/dist/DataList/components/DataListItemActions/index.mjs +2 -1
  45. package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +2 -1
  46. package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +2 -1
  47. package/dist/DataList/components/DataListItems/index.cjs +2 -1
  48. package/dist/DataList/components/DataListItems/index.mjs +2 -1
  49. package/dist/DataList/components/DataListLayout/index.cjs +2 -1
  50. package/dist/DataList/components/DataListLayout/index.mjs +2 -1
  51. package/dist/DataList/components/DataListLayoutActions/index.cjs +2 -1
  52. package/dist/DataList/components/DataListLayoutActions/index.mjs +2 -1
  53. package/dist/DataList/index.cjs +2 -1
  54. package/dist/DataList/index.mjs +2 -1
  55. package/dist/DatePicker/index.cjs +2 -1
  56. package/dist/DatePicker/index.mjs +2 -1
  57. package/dist/DatePicker-cjs.js +5 -4
  58. package/dist/DatePicker-es.js +2 -1
  59. package/dist/FormatFile/index.cjs +1 -0
  60. package/dist/FormatFile/index.mjs +1 -0
  61. package/dist/Gallery/index.cjs +1 -0
  62. package/dist/Gallery/index.mjs +1 -0
  63. package/dist/InputAvatar/index.cjs +1 -1
  64. package/dist/InputAvatar/index.mjs +1 -1
  65. package/dist/InputDate/index.cjs +2 -1
  66. package/dist/InputDate/index.mjs +2 -1
  67. package/dist/InputFile/index.cjs +1 -1
  68. package/dist/InputFile/index.mjs +1 -1
  69. package/dist/InputFile-cjs.js +1 -1
  70. package/dist/InputFile-es.js +1 -1
  71. package/dist/Menu/index.cjs +3 -1
  72. package/dist/Menu/index.mjs +3 -1
  73. package/dist/Menu-cjs.js +7 -194
  74. package/dist/Menu-es.js +3 -190
  75. package/dist/Modal/index.cjs +1 -0
  76. package/dist/Modal/index.mjs +2 -1
  77. package/dist/Page/index.cjs +2 -0
  78. package/dist/Page/index.mjs +2 -0
  79. package/dist/Popover/index.cjs +2 -1
  80. package/dist/Popover/index.mjs +2 -1
  81. package/dist/Popover-cjs.js +8 -7
  82. package/dist/Popover-es.js +2 -1
  83. package/dist/Tooltip/index.cjs +2 -1
  84. package/dist/Tooltip/index.mjs +2 -1
  85. package/dist/Tooltip-cjs.js +7 -6
  86. package/dist/Tooltip-es.js +2 -1
  87. package/dist/floating-ui.react-cjs.js +218 -3104
  88. package/dist/floating-ui.react-dom-cjs.js +3000 -0
  89. package/dist/floating-ui.react-dom-es.js +2946 -0
  90. package/dist/floating-ui.react-es.js +177 -3054
  91. package/dist/index-cjs.js +166 -1161
  92. package/dist/index-cjs2.js +1189 -0
  93. package/dist/index-es.js +166 -1160
  94. package/dist/index-es2.js +1186 -0
  95. package/dist/index.cjs +4 -2
  96. package/dist/index.mjs +4 -2
  97. package/dist/primitives/index.cjs +2 -0
  98. package/dist/primitives/index.d.ts +7 -0
  99. package/dist/primitives/index.mjs +1 -0
  100. package/dist/unstyledPrimitives/index.cjs +10446 -0
  101. package/dist/unstyledPrimitives/index.d.ts +18 -0
  102. package/dist/unstyledPrimitives/index.mjs +10425 -0
  103. package/dist/useScrollToActive-cjs.js +5 -4
  104. package/dist/useScrollToActive-es.js +2 -1
  105. package/package.json +13 -2
  106. package/primitives.d.ts +1 -0
  107. package/primitives.js +17 -0
  108. package/unstyledPrimitives.d.ts +1 -0
  109. package/unstyledPrimitives.js +17 -0
@@ -9,8 +9,9 @@ import '@jobber/design';
9
9
  import '../../../Typography-es.js';
10
10
  import '../../../Tooltip-es.js';
11
11
  import '../../../floating-ui.react-es.js';
12
- import 'react/jsx-runtime';
12
+ import '../../../floating-ui.react-dom-es.js';
13
13
  import 'react-dom';
14
+ import 'react/jsx-runtime';
14
15
  import 'framer-motion';
15
16
  import '@jobber/hooks';
16
17
  import '../../../DataListActionsMenu-es.js';
@@ -15,8 +15,9 @@ require('@jobber/design');
15
15
  require('../../../DataListActions-cjs.js');
16
16
  require('../../../Tooltip-cjs.js');
17
17
  require('../../../floating-ui.react-cjs.js');
18
- require('react/jsx-runtime');
18
+ require('../../../floating-ui.react-dom-cjs.js');
19
19
  require('react-dom');
20
+ require('react/jsx-runtime');
20
21
  require('@jobber/hooks');
21
22
  require('../../../Button-cjs.js');
22
23
  require('react-router-dom');
@@ -13,8 +13,9 @@ import '@jobber/design';
13
13
  import '../../../DataListActions-es.js';
14
14
  import '../../../Tooltip-es.js';
15
15
  import '../../../floating-ui.react-es.js';
16
- import 'react/jsx-runtime';
16
+ import '../../../floating-ui.react-dom-es.js';
17
17
  import 'react-dom';
18
+ import 'react/jsx-runtime';
18
19
  import '@jobber/hooks';
19
20
  import '../../../Button-es.js';
20
21
  import 'react-router-dom';
@@ -16,8 +16,9 @@ require('@jobber/design');
16
16
  require('../../../DataListActions-cjs.js');
17
17
  require('../../../Tooltip-cjs.js');
18
18
  require('../../../floating-ui.react-cjs.js');
19
- require('react/jsx-runtime');
19
+ require('../../../floating-ui.react-dom-cjs.js');
20
20
  require('react-dom');
21
+ require('react/jsx-runtime');
21
22
  require('@jobber/hooks');
22
23
  require('../../../Button-cjs.js');
23
24
  require('react-router-dom');
@@ -14,8 +14,9 @@ import '@jobber/design';
14
14
  import '../../../DataListActions-es.js';
15
15
  import '../../../Tooltip-es.js';
16
16
  import '../../../floating-ui.react-es.js';
17
- import 'react/jsx-runtime';
17
+ import '../../../floating-ui.react-dom-es.js';
18
18
  import 'react-dom';
19
+ import 'react/jsx-runtime';
19
20
  import '@jobber/hooks';
20
21
  import '../../../Button-es.js';
21
22
  import 'react-router-dom';
@@ -16,8 +16,9 @@ require('@jobber/design');
16
16
  require('../../../Typography-cjs.js');
17
17
  require('../../../Tooltip-cjs.js');
18
18
  require('../../../floating-ui.react-cjs.js');
19
- require('react/jsx-runtime');
19
+ require('../../../floating-ui.react-dom-cjs.js');
20
20
  require('react-dom');
21
+ require('react/jsx-runtime');
21
22
  require('framer-motion');
22
23
  require('@jobber/hooks');
23
24
  require('../../../DataListActionsMenu-cjs.js');
@@ -14,8 +14,9 @@ import '@jobber/design';
14
14
  import '../../../Typography-es.js';
15
15
  import '../../../Tooltip-es.js';
16
16
  import '../../../floating-ui.react-es.js';
17
- import 'react/jsx-runtime';
17
+ import '../../../floating-ui.react-dom-es.js';
18
18
  import 'react-dom';
19
+ import 'react/jsx-runtime';
19
20
  import 'framer-motion';
20
21
  import '@jobber/hooks';
21
22
  import '../../../DataListActionsMenu-es.js';
@@ -27,8 +27,9 @@ require('../DataListItemActions-cjs.js');
27
27
  require('../DataListActions-cjs.js');
28
28
  require('../Tooltip-cjs.js');
29
29
  require('../floating-ui.react-cjs.js');
30
- require('react/jsx-runtime');
30
+ require('../floating-ui.react-dom-cjs.js');
31
31
  require('react-dom');
32
+ require('react/jsx-runtime');
32
33
  require('@jobber/hooks');
33
34
  require('../Button-cjs.js');
34
35
  require('react-router-dom');
@@ -25,8 +25,9 @@ import '../DataListItemActions-es.js';
25
25
  import '../DataListActions-es.js';
26
26
  import '../Tooltip-es.js';
27
27
  import '../floating-ui.react-es.js';
28
- import 'react/jsx-runtime';
28
+ import '../floating-ui.react-dom-es.js';
29
29
  import 'react-dom';
30
+ import 'react/jsx-runtime';
30
31
  import '@jobber/hooks';
31
32
  import '../Button-es.js';
32
33
  import 'react-router-dom';
@@ -5,8 +5,9 @@ require('react');
5
5
  require('classnames');
6
6
  require('../clsx-cjs.js');
7
7
  require('../floating-ui.react-cjs.js');
8
- require('react/jsx-runtime');
8
+ require('../floating-ui.react-dom-cjs.js');
9
9
  require('react-dom');
10
+ require('react/jsx-runtime');
10
11
  require('@jobber/hooks');
11
12
  require('../Typography-cjs.js');
12
13
  require('../Button-cjs.js');
@@ -3,8 +3,9 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../clsx-es.js';
5
5
  import '../floating-ui.react-es.js';
6
- import 'react/jsx-runtime';
6
+ import '../floating-ui.react-dom-es.js';
7
7
  import 'react-dom';
8
+ import 'react/jsx-runtime';
8
9
  import '@jobber/hooks';
9
10
  import '../Typography-es.js';
10
11
  import '../Button-es.js';
@@ -5,6 +5,7 @@ var classnames = require('classnames');
5
5
  var clsx = require('./clsx-cjs.js');
6
6
  var floatingUi_react = require('./floating-ui.react-cjs.js');
7
7
  var ReactDOM = require('react-dom');
8
+ var floatingUi_reactDom = require('./floating-ui.react-dom-cjs.js');
8
9
  var jobberHooks = require('@jobber/hooks');
9
10
  var Typography = require('./Typography-cjs.js');
10
11
  var Button = require('./Button-cjs.js');
@@ -11622,10 +11623,10 @@ function withFloating(Component) {
11622
11623
  var _a;
11623
11624
  var hidePopper = typeof props.hidePopper === "boolean" ? props.hidePopper : true;
11624
11625
  var arrowRef = React.useRef(null);
11625
- var floatingProps = floatingUi_react.useFloating(_assign({ open: !hidePopper, whileElementsMounted: floatingUi_react.autoUpdate, placement: props.popperPlacement, middleware: __spreadArray([
11626
- floatingUi_react.flip({ padding: 15 }),
11627
- floatingUi_react.offset(10),
11628
- floatingUi_react.arrow({ element: arrowRef })
11626
+ var floatingProps = floatingUi_react.useFloating(_assign({ open: !hidePopper, whileElementsMounted: floatingUi_reactDom.autoUpdate, placement: props.popperPlacement, middleware: __spreadArray([
11627
+ floatingUi_reactDom.flip({ padding: 15 }),
11628
+ floatingUi_reactDom.offset(10),
11629
+ floatingUi_reactDom.arrow({ element: arrowRef })
11629
11630
  ], ((_a = props.popperModifiers) !== null && _a !== void 0 ? _a : []), true) }, props.popperProps));
11630
11631
  var componentProps = _assign(_assign({}, props), { hidePopper: hidePopper, popperProps: _assign(_assign({}, floatingProps), { arrowRef: arrowRef }) });
11631
11632
  return React.createElement(Component, _assign({}, componentProps));
@@ -1,8 +1,9 @@
1
1
  import React__default, { cloneElement, Component, createRef, useRef, useCallback, useEffect, createElement, forwardRef, isValidElement, useState, useId } from 'react';
2
2
  import classnames from 'classnames';
3
3
  import { c as clsx } from './clsx-es.js';
4
- import { u as useFloating, b as autoUpdate, f as flip, o as offset, a as arrow, w as FloatingArrow, d as useFloatingNodeId, c as useFloatingParentNodeId, i as FloatingTree, j as FloatingNode, F as FloatingPortal } from './floating-ui.react-es.js';
4
+ import { u as useFloating, m as FloatingArrow, b as useFloatingNodeId, a as useFloatingParentNodeId, e as FloatingTree, f as FloatingNode, F as FloatingPortal } from './floating-ui.react-es.js';
5
5
  import ReactDOM__default from 'react-dom';
6
+ import { q as autoUpdate, n as flip, v as offset, o as arrow } from './floating-ui.react-dom-es.js';
6
7
  import { useRefocusOnActivator } from '@jobber/hooks';
7
8
  import { T as Typography } from './Typography-es.js';
8
9
  import { B as Button } from './Button-es.js';
@@ -25,6 +25,7 @@ require('../ButtonDismiss-cjs.js');
25
25
  require('../noop-cjs.js');
26
26
  require('../_commonjsHelpers-cjs.js');
27
27
  require('../floating-ui.react-cjs.js');
28
+ require('../floating-ui.react-dom-cjs.js');
28
29
  require('react/jsx-runtime');
29
30
  require('../identity-cjs.js');
30
31
  require('../isTypedArray-cjs.js');
@@ -23,6 +23,7 @@ import '../ButtonDismiss-es.js';
23
23
  import '../noop-es.js';
24
24
  import '../_commonjsHelpers-es.js';
25
25
  import '../floating-ui.react-es.js';
26
+ import '../floating-ui.react-dom-es.js';
26
27
  import 'react/jsx-runtime';
27
28
  import '../identity-es.js';
28
29
  import '../isTypedArray-es.js';
@@ -36,6 +36,7 @@ require('../ProgressBar-cjs.js');
36
36
  require('../ConfirmationModal-cjs.js');
37
37
  require('../Modal/index.cjs');
38
38
  require('../floating-ui.react-cjs.js');
39
+ require('../floating-ui.react-dom-cjs.js');
39
40
  require('react/jsx-runtime');
40
41
  require('../AtlantisPortalContent-cjs.js');
41
42
  require('../Markdown-cjs.js');
@@ -34,6 +34,7 @@ import '../ProgressBar-es.js';
34
34
  import '../ConfirmationModal-es.js';
35
35
  import '../Modal/index.mjs';
36
36
  import '../floating-ui.react-es.js';
37
+ import '../floating-ui.react-dom-es.js';
37
38
  import 'react/jsx-runtime';
38
39
  import '../AtlantisPortalContent-es.js';
39
40
  import '../Markdown-es.js';
@@ -9,7 +9,7 @@ require('color');
9
9
  require('../Icon-cjs.js');
10
10
  require('@jobber/design');
11
11
  require('../InputFile-cjs.js');
12
- require('../index-cjs.js');
12
+ require('../index-cjs2.js');
13
13
  require('../_commonjsHelpers-cjs.js');
14
14
  require('axios');
15
15
  require('../Text-cjs.js');
@@ -7,7 +7,7 @@ import 'color';
7
7
  import '../Icon-es.js';
8
8
  import '@jobber/design';
9
9
  import '../InputFile-es.js';
10
- import '../index-es.js';
10
+ import '../index-es2.js';
11
11
  import '../_commonjsHelpers-es.js';
12
12
  import 'axios';
13
13
  import '../Text-es.js';
@@ -32,8 +32,9 @@ require('../Spinner-cjs.js');
32
32
  require('react-router-dom');
33
33
  require('../clsx-cjs.js');
34
34
  require('../floating-ui.react-cjs.js');
35
- require('react/jsx-runtime');
35
+ require('../floating-ui.react-dom-cjs.js');
36
36
  require('react-dom');
37
+ require('react/jsx-runtime');
37
38
  require('../AtlantisContext-cjs.js');
38
39
  require('../filterDataAttributes-cjs.js');
39
40
 
@@ -30,8 +30,9 @@ import '../Spinner-es.js';
30
30
  import 'react-router-dom';
31
31
  import '../clsx-es.js';
32
32
  import '../floating-ui.react-es.js';
33
- import 'react/jsx-runtime';
33
+ import '../floating-ui.react-dom-es.js';
34
34
  import 'react-dom';
35
+ import 'react/jsx-runtime';
35
36
  import '../AtlantisContext-es.js';
36
37
  import '../filterDataAttributes-es.js';
37
38
 
@@ -4,7 +4,7 @@ var InputFile = require('../InputFile-cjs.js');
4
4
  require('../tslib.es6-cjs.js');
5
5
  require('react');
6
6
  require('classnames');
7
- require('../index-cjs.js');
7
+ require('../index-cjs2.js');
8
8
  require('../_commonjsHelpers-cjs.js');
9
9
  require('axios');
10
10
  require('../Text-cjs.js');
@@ -2,7 +2,7 @@ export { I as InputFile, a as InputFileContentContext, u as updateFiles, b as us
2
2
  import '../tslib.es6-es.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
- import '../index-es.js';
5
+ import '../index-es2.js';
6
6
  import '../_commonjsHelpers-es.js';
7
7
  import 'axios';
8
8
  import '../Text-es.js';
@@ -3,7 +3,7 @@
3
3
  var tslib_es6 = require('./tslib.es6-cjs.js');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
- var index = require('./index-cjs.js');
6
+ var index = require('./index-cjs2.js');
7
7
  var axios = require('axios');
8
8
  var Text = require('./Text-cjs.js');
9
9
  var Button = require('./Button-cjs.js');
@@ -1,7 +1,7 @@
1
1
  import { a as __awaiter, b as __generator, c as __spread, _ as __rest } from './tslib.es6-es.js';
2
2
  import React__default, { useMemo, useRef, useReducer, useEffect, useCallback, forwardRef, useImperativeHandle, Fragment, createContext, useContext } from 'react';
3
3
  import classnames from 'classnames';
4
- import { P as PropTypes } from './index-es.js';
4
+ import { P as PropTypes } from './index-es2.js';
5
5
  import axios from 'axios';
6
6
  import { T as Text } from './Text-es.js';
7
7
  import { B as Button } from './Button-es.js';
@@ -6,10 +6,12 @@ require('classnames');
6
6
  require('framer-motion');
7
7
  require('@jobber/hooks');
8
8
  require('../floating-ui.react-cjs.js');
9
- require('react/jsx-runtime');
9
+ require('../floating-ui.react-dom-cjs.js');
10
10
  require('react-dom');
11
+ require('react/jsx-runtime');
11
12
  require('../Text-cjs2.js');
12
13
  require('../clsx-cjs.js');
14
+ require('../index-cjs.js');
13
15
  require('../Button-cjs.js');
14
16
  require('react-router-dom');
15
17
  require('../tslib.es6-cjs.js');
@@ -4,10 +4,12 @@ import 'classnames';
4
4
  import 'framer-motion';
5
5
  import '@jobber/hooks';
6
6
  import '../floating-ui.react-es.js';
7
- import 'react/jsx-runtime';
7
+ import '../floating-ui.react-dom-es.js';
8
8
  import 'react-dom';
9
+ import 'react/jsx-runtime';
9
10
  import '../Text-es2.js';
10
11
  import '../clsx-es.js';
12
+ import '../index-es.js';
11
13
  import '../Button-es.js';
12
14
  import 'react-router-dom';
13
15
  import '../tslib.es6-es.js';
package/dist/Menu-cjs.js CHANGED
@@ -7,11 +7,13 @@ var jobberHooks = require('@jobber/hooks');
7
7
  var floatingUi_react = require('./floating-ui.react-cjs.js');
8
8
  var Text = require('./Text-cjs2.js');
9
9
  var ReactDOM = require('react-dom');
10
+ var index = require('./index-cjs.js');
10
11
  var Button = require('./Button-cjs.js');
11
12
  var Typography = require('./Typography-cjs.js');
12
13
  var Icon = require('./Icon-cjs.js');
13
14
  var useFormFieldFocus = require('./useFormFieldFocus-cjs.js');
14
15
  var maxHeight = require('./maxHeight-cjs.js');
16
+ var floatingUi_reactDom = require('./floating-ui.react-dom-cjs.js');
15
17
 
16
18
  /*
17
19
  * Copyright 2025 Adobe. All rights reserved.
@@ -6671,195 +6673,6 @@ function $e948873055cbafe4$export$727c8fc270210f13(props) {
6671
6673
  ]);
6672
6674
  }
6673
6675
 
6674
- var shim = {exports: {}};
6675
-
6676
- var useSyncExternalStoreShim_production = {};
6677
-
6678
- /**
6679
- * @license React
6680
- * use-sync-external-store-shim.production.js
6681
- *
6682
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6683
- *
6684
- * This source code is licensed under the MIT license found in the
6685
- * LICENSE file in the root directory of this source tree.
6686
- */
6687
-
6688
- var hasRequiredUseSyncExternalStoreShim_production;
6689
-
6690
- function requireUseSyncExternalStoreShim_production () {
6691
- if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
6692
- hasRequiredUseSyncExternalStoreShim_production = 1;
6693
- var React$1 = React;
6694
- function is(x, y) {
6695
- return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
6696
- }
6697
- var objectIs = "function" === typeof Object.is ? Object.is : is,
6698
- useState = React$1.useState,
6699
- useEffect = React$1.useEffect,
6700
- useLayoutEffect = React$1.useLayoutEffect,
6701
- useDebugValue = React$1.useDebugValue;
6702
- function useSyncExternalStore$2(subscribe, getSnapshot) {
6703
- var value = getSnapshot(),
6704
- _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),
6705
- inst = _useState[0].inst,
6706
- forceUpdate = _useState[1];
6707
- useLayoutEffect(
6708
- function () {
6709
- inst.value = value;
6710
- inst.getSnapshot = getSnapshot;
6711
- checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6712
- },
6713
- [subscribe, value, getSnapshot]
6714
- );
6715
- useEffect(
6716
- function () {
6717
- checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6718
- return subscribe(function () {
6719
- checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6720
- });
6721
- },
6722
- [subscribe]
6723
- );
6724
- useDebugValue(value);
6725
- return value;
6726
- }
6727
- function checkIfSnapshotChanged(inst) {
6728
- var latestGetSnapshot = inst.getSnapshot;
6729
- inst = inst.value;
6730
- try {
6731
- var nextValue = latestGetSnapshot();
6732
- return !objectIs(inst, nextValue);
6733
- } catch (error) {
6734
- return !0;
6735
- }
6736
- }
6737
- function useSyncExternalStore$1(subscribe, getSnapshot) {
6738
- return getSnapshot();
6739
- }
6740
- var shim =
6741
- "undefined" === typeof window ||
6742
- "undefined" === typeof window.document ||
6743
- "undefined" === typeof window.document.createElement
6744
- ? useSyncExternalStore$1
6745
- : useSyncExternalStore$2;
6746
- useSyncExternalStoreShim_production.useSyncExternalStore =
6747
- void 0 !== React$1.useSyncExternalStore ? React$1.useSyncExternalStore : shim;
6748
- return useSyncExternalStoreShim_production;
6749
- }
6750
-
6751
- var useSyncExternalStoreShim_development = {};
6752
-
6753
- /**
6754
- * @license React
6755
- * use-sync-external-store-shim.development.js
6756
- *
6757
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6758
- *
6759
- * This source code is licensed under the MIT license found in the
6760
- * LICENSE file in the root directory of this source tree.
6761
- */
6762
-
6763
- var hasRequiredUseSyncExternalStoreShim_development;
6764
-
6765
- function requireUseSyncExternalStoreShim_development () {
6766
- if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
6767
- hasRequiredUseSyncExternalStoreShim_development = 1;
6768
- "production" !== process.env.NODE_ENV &&
6769
- (function () {
6770
- function is(x, y) {
6771
- return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
6772
- }
6773
- function useSyncExternalStore$2(subscribe, getSnapshot) {
6774
- didWarnOld18Alpha ||
6775
- void 0 === React$1.startTransition ||
6776
- ((didWarnOld18Alpha = !0),
6777
- console.error(
6778
- "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."
6779
- ));
6780
- var value = getSnapshot();
6781
- if (!didWarnUncachedGetSnapshot) {
6782
- var cachedValue = getSnapshot();
6783
- objectIs(value, cachedValue) ||
6784
- (console.error(
6785
- "The result of getSnapshot should be cached to avoid an infinite loop"
6786
- ),
6787
- (didWarnUncachedGetSnapshot = !0));
6788
- }
6789
- cachedValue = useState({
6790
- inst: { value: value, getSnapshot: getSnapshot }
6791
- });
6792
- var inst = cachedValue[0].inst,
6793
- forceUpdate = cachedValue[1];
6794
- useLayoutEffect(
6795
- function () {
6796
- inst.value = value;
6797
- inst.getSnapshot = getSnapshot;
6798
- checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6799
- },
6800
- [subscribe, value, getSnapshot]
6801
- );
6802
- useEffect(
6803
- function () {
6804
- checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6805
- return subscribe(function () {
6806
- checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });
6807
- });
6808
- },
6809
- [subscribe]
6810
- );
6811
- useDebugValue(value);
6812
- return value;
6813
- }
6814
- function checkIfSnapshotChanged(inst) {
6815
- var latestGetSnapshot = inst.getSnapshot;
6816
- inst = inst.value;
6817
- try {
6818
- var nextValue = latestGetSnapshot();
6819
- return !objectIs(inst, nextValue);
6820
- } catch (error) {
6821
- return !0;
6822
- }
6823
- }
6824
- function useSyncExternalStore$1(subscribe, getSnapshot) {
6825
- return getSnapshot();
6826
- }
6827
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
6828
- "function" ===
6829
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
6830
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
6831
- var React$1 = React,
6832
- objectIs = "function" === typeof Object.is ? Object.is : is,
6833
- useState = React$1.useState,
6834
- useEffect = React$1.useEffect,
6835
- useLayoutEffect = React$1.useLayoutEffect,
6836
- useDebugValue = React$1.useDebugValue,
6837
- didWarnOld18Alpha = !1,
6838
- didWarnUncachedGetSnapshot = !1,
6839
- shim =
6840
- "undefined" === typeof window ||
6841
- "undefined" === typeof window.document ||
6842
- "undefined" === typeof window.document.createElement
6843
- ? useSyncExternalStore$1
6844
- : useSyncExternalStore$2;
6845
- useSyncExternalStoreShim_development.useSyncExternalStore =
6846
- void 0 !== React$1.useSyncExternalStore ? React$1.useSyncExternalStore : shim;
6847
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
6848
- "function" ===
6849
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
6850
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
6851
- })();
6852
- return useSyncExternalStoreShim_development;
6853
- }
6854
-
6855
- if (process.env.NODE_ENV === 'production') {
6856
- shim.exports = requireUseSyncExternalStoreShim_production();
6857
- } else {
6858
- shim.exports = requireUseSyncExternalStoreShim_development();
6859
- }
6860
-
6861
- var shimExports = shim.exports;
6862
-
6863
6676
  /*
6864
6677
  * Copyright 2024 Adobe. All rights reserved.
6865
6678
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -6922,7 +6735,7 @@ function $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapsh
6922
6735
  getSnapshot,
6923
6736
  getServerSnapshot
6924
6737
  ]);
6925
- return (shimExports.useSyncExternalStore)(subscribe, getSnapshotWrapper);
6738
+ return (index.shimExports.useSyncExternalStore)(subscribe, getSnapshotWrapper);
6926
6739
  }
6927
6740
  const $e1995378a142960e$var$useSyncExternalStore = typeof (React)['useSyncExternalStore'] === 'function' ? (React)['useSyncExternalStore'] : $e1995378a142960e$var$useSyncExternalStoreFallback;
6928
6741
  function $e1995378a142960e$var$useCollectionDocument(createCollection) {
@@ -8542,9 +8355,9 @@ function MenuLegacy({ activator, items, UNSAFE_className, UNSAFE_style, }) {
8542
8355
  const middleware = React.useMemo(() => {
8543
8356
  if (isLargeScreen) {
8544
8357
  return [
8545
- floatingUi_react.offset(MENU_OFFSET),
8546
- floatingUi_react.flip({ fallbackPlacements: ["bottom-end", "top-start", "top-end"] }),
8547
- floatingUi_react.size({
8358
+ floatingUi_reactDom.offset(MENU_OFFSET),
8359
+ floatingUi_reactDom.flip({ fallbackPlacements: ["bottom-end", "top-start", "top-end"] }),
8360
+ floatingUi_reactDom.size({
8548
8361
  apply({ availableHeight, elements }) {
8549
8362
  // The inner element is the scrollable menu that requires the max height
8550
8363
  const menuElement = elements.floating.querySelector('[role="menu"]');
@@ -8575,7 +8388,7 @@ function MenuLegacy({ activator, items, UNSAFE_className, UNSAFE_style, }) {
8575
8388
  elements: {
8576
8389
  reference: referenceElement,
8577
8390
  },
8578
- whileElementsMounted: floatingUi_react.autoUpdate,
8391
+ whileElementsMounted: floatingUi_reactDom.autoUpdate,
8579
8392
  });
8580
8393
  const dismiss = floatingUi_react.useDismiss(context);
8581
8394
  const listNavigation = floatingUi_react.useListNavigation(context, {