@phillips/seldon 1.237.0 → 1.239.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 (263) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +15 -10
  2. package/dist/_virtual/index.js +5 -2
  3. package/dist/_virtual/index10.js +2 -2
  4. package/dist/_virtual/index11.js +4 -0
  5. package/dist/_virtual/index12.js +4 -0
  6. package/dist/_virtual/index13.js +4 -0
  7. package/dist/_virtual/index14.js +5 -0
  8. package/dist/_virtual/index15.js +5 -0
  9. package/dist/_virtual/index16.js +7 -0
  10. package/dist/_virtual/index17.js +4 -0
  11. package/dist/_virtual/index18.js +4 -0
  12. package/dist/_virtual/index2.js +3 -2
  13. package/dist/_virtual/index3.js +2 -2
  14. package/dist/_virtual/index4.js +2 -2
  15. package/dist/_virtual/index5.js +2 -4
  16. package/dist/_virtual/index6.js +5 -2
  17. package/dist/_virtual/index7.js +3 -2
  18. package/dist/_virtual/index8.js +2 -2
  19. package/dist/_virtual/index9.js +2 -2
  20. package/dist/components/Accordion/Accordion.js +1 -1
  21. package/dist/components/Accordion/AccordionItem.js +1 -1
  22. package/dist/components/Accordion/utils.js +1 -1
  23. package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
  24. package/dist/components/AddToCalendar/calendarLinks.js +10 -10
  25. package/dist/components/Article/Article.js +1 -1
  26. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  27. package/dist/components/Breadcrumb/BreadcrumbItem.js +1 -1
  28. package/dist/components/Button/Button.d.ts +5 -1
  29. package/dist/components/Button/Button.js +49 -47
  30. package/dist/components/Button/Button.stories.d.ts +34 -5
  31. package/dist/components/Button/index.d.ts +3 -0
  32. package/dist/components/Button/types.d.ts +4 -1
  33. package/dist/components/Button/types.js +2 -1
  34. package/dist/components/Carousel/Carousel.js +1 -1
  35. package/dist/components/Carousel/CarouselArrows.js +1 -1
  36. package/dist/components/Carousel/CarouselContent.js +1 -1
  37. package/dist/components/Carousel/CarouselDot.js +1 -1
  38. package/dist/components/Carousel/CarouselDots.js +1 -1
  39. package/dist/components/Carousel/CarouselItem.js +1 -1
  40. package/dist/components/Collapsible/Collapsible.js +1 -1
  41. package/dist/components/Collapsible/CollapsibleContent.js +1 -1
  42. package/dist/components/Collapsible/CollapsibleTrigger.js +1 -1
  43. package/dist/components/ComboBox/ComboBox.js +16 -16
  44. package/dist/components/ComposedModal/ComposedModal.js +1 -1
  45. package/dist/components/ContentPeek/ContentPeek.js +1 -1
  46. package/dist/components/Countdown/Countdown.js +10 -10
  47. package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +1 -1
  48. package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +1 -1
  49. package/dist/components/Detail/Detail.js +1 -1
  50. package/dist/components/DetailList/DetailList.js +1 -1
  51. package/dist/components/Divider/Divider.js +1 -1
  52. package/dist/components/Drawer/Drawer.js +1 -1
  53. package/dist/components/Dropdown/Dropdown.js +1 -1
  54. package/dist/components/ExitGateCard/ExitGateCard.js +1 -1
  55. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +1 -1
  56. package/dist/components/Filter/Filter.js +1 -1
  57. package/dist/components/Filter/FilterHeader.js +1 -1
  58. package/dist/components/Grid/Grid.js +1 -1
  59. package/dist/components/Grid/Grid.stories.d.ts +1 -1
  60. package/dist/components/Grid/utils.js +1 -1
  61. package/dist/components/GridItem/GridItem.js +1 -1
  62. package/dist/components/Icon/Icon.js +1 -1
  63. package/dist/components/IconButton/IconButton.js +1 -1
  64. package/dist/components/Input/Input.js +1 -1
  65. package/dist/components/Input/utils.js +1 -1
  66. package/dist/components/Link/Link.js +1 -1
  67. package/dist/components/LinkBlock/LinkBlock.js +1 -1
  68. package/dist/components/LinkList/LinkList.js +1 -1
  69. package/dist/components/Loader/Loader.js +1 -1
  70. package/dist/components/Modal/Modal.js +1 -1
  71. package/dist/components/Navigation/Navigation.js +1 -1
  72. package/dist/components/Navigation/NavigationItem/NavigationItem.js +1 -1
  73. package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +1 -1
  74. package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +1 -1
  75. package/dist/components/Navigation/NavigationList/NavigationList.js +1 -1
  76. package/dist/components/NotificationBanner/NotificationBanner.js +1 -1
  77. package/dist/components/PageContentWrapper/PageContentWrapper.js +1 -1
  78. package/dist/components/Pagination/Pagination.js +1 -1
  79. package/dist/components/Pictogram/Pictogram.js +1 -1
  80. package/dist/components/PinchZoom/PinchZoom.js +1 -1
  81. package/dist/components/ProgressIndicator/ProgressIndicator.js +1 -1
  82. package/dist/components/Row/Row.js +5 -5
  83. package/dist/components/Search/Search.js +1 -1
  84. package/dist/components/Search/Search.stories.d.ts +1 -1
  85. package/dist/components/SeldonImage/SeldonImage.js +1 -1
  86. package/dist/components/Select/Select.js +2 -2
  87. package/dist/components/SplitPanel/SplitPanel.js +1 -1
  88. package/dist/components/Tabs/TabsContainer.js +1 -1
  89. package/dist/components/Tabs/TabsContent.js +1 -1
  90. package/dist/components/Tags/Tags.js +1 -1
  91. package/dist/components/Text/Text.js +1 -1
  92. package/dist/components/Text/utils.js +1 -0
  93. package/dist/components/TextArea/TextArea.js +2 -2
  94. package/dist/components/TextSymbol/TextSymbol.js +16 -16
  95. package/dist/components/Toast/Toast.js +1 -1
  96. package/dist/components/Video/Video.js +1 -1
  97. package/dist/index.d.ts +1 -1
  98. package/dist/index.js +225 -224
  99. package/dist/node_modules/@artsy/fresnel/dist/Breakpoints.js +261 -260
  100. package/dist/node_modules/@artsy/fresnel/dist/DynamicResponsive.js +148 -143
  101. package/dist/node_modules/@artsy/fresnel/dist/Interactions.js +124 -123
  102. package/dist/node_modules/@artsy/fresnel/dist/Media.js +158 -157
  103. package/dist/node_modules/@artsy/fresnel/dist/MediaQueries.js +120 -120
  104. package/dist/node_modules/@artsy/fresnel/dist/Utils.js +85 -87
  105. package/dist/node_modules/@artsy/fresnel/dist/index.js +25 -21
  106. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +12 -12
  107. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +9 -9
  108. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +23 -24
  109. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  110. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +17 -18
  111. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +24 -25
  112. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  113. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  114. package/dist/node_modules/@radix-ui/react-id/dist/index.js +10 -10
  115. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +8 -8
  116. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  117. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  118. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  119. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +14 -15
  120. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +6 -6
  121. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  122. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  123. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  124. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +13 -14
  125. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  126. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  127. package/dist/node_modules/@radix-ui/react-select/dist/index.js +21 -22
  128. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  129. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +16 -17
  130. package/dist/node_modules/@radix-ui/react-toast/dist/index.js +43 -44
  131. package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  132. package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  133. package/dist/node_modules/change-case/dist/index.js +20 -20
  134. package/dist/node_modules/classnames/index.js +33 -38
  135. package/dist/node_modules/date-fns/_lib/format/formatters.js +51 -20
  136. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -1
  137. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -3
  138. package/dist/node_modules/date-fns/addHours.js +4 -5
  139. package/dist/node_modules/date-fns/addMilliseconds.js +4 -5
  140. package/dist/node_modules/date-fns/constants.js +1 -1
  141. package/dist/node_modules/date-fns/constructFrom.js +1 -2
  142. package/dist/node_modules/date-fns/differenceInCalendarDays.js +4 -5
  143. package/dist/node_modules/date-fns/differenceInDays.js +8 -9
  144. package/dist/node_modules/date-fns/differenceInHours.js +8 -9
  145. package/dist/node_modules/date-fns/differenceInMilliseconds.js +3 -4
  146. package/dist/node_modules/date-fns/differenceInMinutes.js +6 -7
  147. package/dist/node_modules/date-fns/differenceInSeconds.js +5 -6
  148. package/dist/node_modules/date-fns/format.js +7 -8
  149. package/dist/node_modules/date-fns/formatDuration.js +6 -7
  150. package/dist/node_modules/date-fns/getDayOfYear.js +5 -6
  151. package/dist/node_modules/date-fns/getISOWeek.js +2 -3
  152. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -1
  153. package/dist/node_modules/date-fns/getWeek.js +5 -6
  154. package/dist/node_modules/date-fns/getWeekYear.js +5 -6
  155. package/dist/node_modules/date-fns/isAfter.js +2 -3
  156. package/dist/node_modules/date-fns/isDate.js +0 -1
  157. package/dist/node_modules/date-fns/isSameWeek.js +5 -6
  158. package/dist/node_modules/date-fns/isValid.js +4 -5
  159. package/dist/node_modules/date-fns/locale/en-US.js +8 -9
  160. package/dist/node_modules/date-fns/locale/zh-CN.js +8 -9
  161. package/dist/node_modules/date-fns/startOfDay.js +4 -5
  162. package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
  163. package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
  164. package/dist/node_modules/date-fns/startOfWeek.js +5 -6
  165. package/dist/node_modules/date-fns/startOfWeekYear.js +2 -3
  166. package/dist/node_modules/date-fns/startOfYear.js +4 -5
  167. package/dist/node_modules/date-fns/toDate.js +3 -4
  168. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +6 -7
  169. package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -1
  170. package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +1 -1
  171. package/dist/node_modules/ics/dist/defaults.js +21 -19
  172. package/dist/node_modules/ics/dist/index.js +103 -104
  173. package/dist/node_modules/ics/dist/pipeline/build.js +47 -45
  174. package/dist/node_modules/ics/dist/pipeline/format.js +61 -61
  175. package/dist/node_modules/ics/dist/pipeline/index.js +56 -53
  176. package/dist/node_modules/ics/dist/pipeline/validate.js +21 -16
  177. package/dist/node_modules/ics/dist/schema/index.js +203 -201
  178. package/dist/node_modules/ics/dist/utils/encode-new-lines.js +15 -9
  179. package/dist/node_modules/ics/dist/utils/encode-param-value.js +15 -9
  180. package/dist/node_modules/ics/dist/utils/fold-line.js +19 -13
  181. package/dist/node_modules/ics/dist/utils/format-date.js +66 -60
  182. package/dist/node_modules/ics/dist/utils/format-duration.js +16 -10
  183. package/dist/node_modules/ics/dist/utils/format-text.js +15 -9
  184. package/dist/node_modules/ics/dist/utils/index.js +81 -86
  185. package/dist/node_modules/ics/dist/utils/set-alarm.js +47 -44
  186. package/dist/node_modules/ics/dist/utils/set-contact.js +23 -18
  187. package/dist/node_modules/ics/dist/utils/set-description.js +20 -15
  188. package/dist/node_modules/ics/dist/utils/set-geolocation.js +16 -10
  189. package/dist/node_modules/ics/dist/utils/set-location.js +20 -15
  190. package/dist/node_modules/ics/dist/utils/set-organizer.js +21 -16
  191. package/dist/node_modules/ics/dist/utils/set-summary.js +20 -15
  192. package/dist/node_modules/libphonenumber-js/es6/metadata.js +5 -5
  193. package/dist/node_modules/lodash.debounce/index.js +85 -3
  194. package/dist/node_modules/nanoid/index.browser.js +1 -1
  195. package/dist/node_modules/object-assign/index.js +0 -5
  196. package/dist/node_modules/prop-types/checkPropTypes.js +1 -1
  197. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
  198. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  199. package/dist/node_modules/prop-types/index.js +13 -11
  200. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +3 -11
  201. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -9
  202. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  203. package/dist/node_modules/property-expr/index.js +78 -73
  204. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +1 -1
  205. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +3 -3
  206. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +9 -9
  207. package/dist/node_modules/react-transition-group/esm/CSSTransition.js +3 -3
  208. package/dist/node_modules/react-transition-group/esm/Transition.js +3 -3
  209. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  210. package/dist/node_modules/react-zoom-pan-pinch/dist/index.esm.js +2 -3
  211. package/dist/node_modules/runes2/dist/index.cjs.production.min.js +8 -8
  212. package/dist/node_modules/runes2/dist/index.js +8 -6
  213. package/dist/node_modules/tiny-case/index.js +20 -15
  214. package/dist/node_modules/toposort/index.js +57 -56
  215. package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
  216. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -9
  217. package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +2 -2
  218. package/dist/node_modules/yup/index.esm.js +3 -3
  219. package/dist/pages/Page.stories.d.ts +1 -1
  220. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +1 -1
  221. package/dist/patterns/BidSnapshot/BidMessage.js +1 -1
  222. package/dist/patterns/BidSnapshot/BidSnapshot.js +1 -1
  223. package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +1 -1
  224. package/dist/patterns/CountryPicker/CountryPickerModal.stories.d.ts +1 -1
  225. package/dist/patterns/CountryPicker/CountryPickerOption.js +1 -1
  226. package/dist/patterns/CountryPicker/CountryPickerTrigger.js +1 -1
  227. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
  228. package/dist/patterns/FilterMenu/FilterMenu.js +1 -1
  229. package/dist/patterns/FiltersInline/FilterButton.js +1 -1
  230. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +1 -1
  231. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +1 -1
  232. package/dist/patterns/FiltersInline/FiltersInline.js +1 -1
  233. package/dist/patterns/FiltersInline/MainFilterDropdown.js +1 -1
  234. package/dist/patterns/HeroBanner/HeroBanner.js +1 -1
  235. package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +1 -1
  236. package/dist/patterns/LanguageSelector/LanguageSelector.js +1 -1
  237. package/dist/patterns/ObjectTile/ObjectTile.js +1 -1
  238. package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +4 -4
  239. package/dist/patterns/ProgressWizard/ProgressWizard.stories.d.ts +8 -8
  240. package/dist/patterns/SaleCard/SaleCard.js +2 -2
  241. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +1 -1
  242. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +1 -1
  243. package/dist/patterns/Social/Social.js +1 -1
  244. package/dist/patterns/Subscribe/Subscribe.js +1 -1
  245. package/dist/patterns/TextBanner/TextBanner.js +1 -1
  246. package/dist/patterns/UserManagement/UserManagement.js +1 -1
  247. package/dist/patterns/UserManagement/UserManagement.stories.d.ts +1 -1
  248. package/dist/patterns/ViewingDetails/ViewingDetails.js +1 -1
  249. package/dist/patterns/ViewingsList/ViewingsList.js +5 -5
  250. package/dist/patterns/ViewingsList/ViewingsListCard.js +38 -29
  251. package/dist/patterns/ViewingsList/ViewingsListCardForm.js +1 -1
  252. package/dist/providers/SeldonProvider/utils.js +4 -5
  253. package/dist/scss/componentStyles.scss +1 -0
  254. package/dist/scss/components/Button/_button.scss +21 -35
  255. package/dist/scss/components/Button/_button.stories.scss +76 -0
  256. package/dist/scss/components/DatePicker/_datePicker.scss +2 -2
  257. package/dist/scss/components/Drawer/_drawer.scss +1 -1
  258. package/dist/scss/components/Icon/_icon.stories.scss +1 -1
  259. package/dist/scss/patterns/FiltersInline/_filterButton.scss +3 -3
  260. package/dist/scss/patterns/ViewingDetails/_viewingDetails.stories.scss +0 -2
  261. package/dist/site-furniture/Footer/Footer.js +1 -1
  262. package/dist/site-furniture/Header/Header.js +1 -1
  263. package/package.json +27 -30
@@ -1,94 +1,92 @@
1
1
  import { __exports as a } from "../../../../_virtual/Utils.js";
2
- import s from "react";
3
- Object.defineProperty(a, "__esModule", {
4
- value: !0
5
- });
6
- a.propKey = g;
7
- a.intersection = v;
8
- a.createRuleSet = O;
9
- a.createClassName = A;
10
- a.castBreakpointsToIntegers = h;
11
- a.memoize = S;
12
- a.useIsFirstRender = j;
13
- var l = s;
14
- function m(r) {
15
- for (var e = 1; e < arguments.length; e++) {
16
- var t = arguments[e] != null ? Object(arguments[e]) : {}, n = Object.keys(t);
17
- typeof Object.getOwnPropertySymbols == "function" && n.push.apply(n, Object.getOwnPropertySymbols(t).filter(function(u) {
18
- return Object.getOwnPropertyDescriptor(t, u).enumerable;
19
- })), n.forEach(function(u) {
20
- f(r, u, t[u]);
21
- });
2
+ import I from "react";
3
+ var s;
4
+ function R() {
5
+ if (s) return a;
6
+ s = 1, Object.defineProperty(a, "__esModule", {
7
+ value: !0
8
+ }), a.propKey = g, a.intersection = v, a.createRuleSet = O, a.createClassName = A, a.castBreakpointsToIntegers = h, a.memoize = S, a.useIsFirstRender = j;
9
+ var l = I;
10
+ function m(r) {
11
+ for (var e = 1; e < arguments.length; e++) {
12
+ var t = arguments[e] != null ? Object(arguments[e]) : {}, n = Object.keys(t);
13
+ typeof Object.getOwnPropertySymbols == "function" && n.push.apply(n, Object.getOwnPropertySymbols(t).filter(function(u) {
14
+ return Object.getOwnPropertyDescriptor(t, u).enumerable;
15
+ })), n.forEach(function(u) {
16
+ f(r, u, t[u]);
17
+ });
18
+ }
19
+ return r;
22
20
  }
23
- return r;
24
- }
25
- function f(r, e, t) {
26
- return e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
27
- }
28
- function o(r) {
29
- return b(r) || d(r) || y(r) || p();
30
- }
31
- function p() {
32
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
21
+ function f(r, e, t) {
22
+ return e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
23
+ }
24
+ function o(r) {
25
+ return b(r) || d(r) || y(r) || p();
26
+ }
27
+ function p() {
28
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
33
29
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
34
- }
35
- function y(r, e) {
36
- if (r) {
37
- if (typeof r == "string") return c(r, e);
38
- var t = Object.prototype.toString.call(r).slice(8, -1);
39
- if (t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set") return Array.from(r);
40
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return c(r, e);
41
30
  }
42
- }
43
- function d(r) {
44
- if (typeof Symbol < "u" && r[Symbol.iterator] != null || r["@@iterator"] != null) return Array.from(r);
45
- }
46
- function b(r) {
47
- if (Array.isArray(r)) return c(r);
48
- }
49
- function c(r, e) {
50
- (e == null || e > r.length) && (e = r.length);
51
- for (var t = 0, n = new Array(e); t < e; t++)
52
- n[t] = r[t];
53
- return n;
54
- }
55
- function g(r) {
56
- return Object.keys(r)[0];
57
- }
58
- function v(r, e) {
59
- return e ? r.filter(function(t) {
60
- return e.indexOf(t) >= 0;
61
- }) : o(r);
62
- }
63
- function O(r, e) {
64
- return "@media ".concat(e, "{.").concat(r, "{display:none!important;}}");
65
- }
66
- function A() {
67
- for (var r = arguments.length, e = new Array(r), t = 0; t < r; t++)
68
- e[t] = arguments[t];
69
- return ["fresnel"].concat(o(e.reduce(function(n, u) {
70
- return Array.isArray(u) ? o(n).concat(o(u)) : o(n).concat([u]);
71
- }, []))).join("-");
72
- }
73
- function h(r) {
74
- var e = Object.keys(r);
75
- return e.reduce(function(t, n, u) {
76
- return m({}, t, f({}, e[u], Math.round(Number(r[n]))));
77
- }, {});
78
- }
79
- function S(r) {
80
- var e = {};
81
- return function() {
82
- for (var t = arguments.length, n = new Array(t), u = 0; u < t; u++)
83
- n[u] = arguments[u];
84
- var i = JSON.stringify(n);
85
- return e[i] || (e[i] = r.apply(void 0, n)), e[i];
86
- };
87
- }
88
- function j() {
89
- var r = (0, l.useRef)(!0);
90
- return r.current ? (r.current = !1, !0) : !1;
31
+ function y(r, e) {
32
+ if (r) {
33
+ if (typeof r == "string") return i(r, e);
34
+ var t = Object.prototype.toString.call(r).slice(8, -1);
35
+ if (t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set") return Array.from(r);
36
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return i(r, e);
37
+ }
38
+ }
39
+ function d(r) {
40
+ if (typeof Symbol < "u" && r[Symbol.iterator] != null || r["@@iterator"] != null) return Array.from(r);
41
+ }
42
+ function b(r) {
43
+ if (Array.isArray(r)) return i(r);
44
+ }
45
+ function i(r, e) {
46
+ (e == null || e > r.length) && (e = r.length);
47
+ for (var t = 0, n = new Array(e); t < e; t++)
48
+ n[t] = r[t];
49
+ return n;
50
+ }
51
+ function g(r) {
52
+ return Object.keys(r)[0];
53
+ }
54
+ function v(r, e) {
55
+ return e ? r.filter(function(t) {
56
+ return e.indexOf(t) >= 0;
57
+ }) : o(r);
58
+ }
59
+ function O(r, e) {
60
+ return "@media ".concat(e, "{.").concat(r, "{display:none!important;}}");
61
+ }
62
+ function A() {
63
+ for (var r = arguments.length, e = new Array(r), t = 0; t < r; t++)
64
+ e[t] = arguments[t];
65
+ return ["fresnel"].concat(o(e.reduce(function(n, u) {
66
+ return Array.isArray(u) ? o(n).concat(o(u)) : o(n).concat([u]);
67
+ }, []))).join("-");
68
+ }
69
+ function h(r) {
70
+ var e = Object.keys(r);
71
+ return e.reduce(function(t, n, u) {
72
+ return m({}, t, f({}, e[u], Math.round(Number(r[n]))));
73
+ }, {});
74
+ }
75
+ function S(r) {
76
+ var e = {};
77
+ return function() {
78
+ for (var t = arguments.length, n = new Array(t), u = 0; u < t; u++)
79
+ n[u] = arguments[u];
80
+ var c = JSON.stringify(n);
81
+ return e[c] || (e[c] = r.apply(void 0, n)), e[c];
82
+ };
83
+ }
84
+ function j() {
85
+ var r = (0, l.useRef)(!0);
86
+ return r.current ? (r.current = !1, !0) : !1;
87
+ }
88
+ return a;
91
89
  }
92
90
  export {
93
- a as default
91
+ R as __require
94
92
  };
@@ -1,21 +1,25 @@
1
- import { __exports as o } from "../../../../_virtual/index.js";
2
- import "./Media.js";
3
- import "./Breakpoints.js";
4
- import { __exports as a } from "../../../../_virtual/Media.js";
5
- import { __exports as n } from "../../../../_virtual/Breakpoints.js";
6
- (function(e) {
7
- Object.defineProperty(e, "__esModule", {
8
- value: !0
9
- }), Object.defineProperty(e, "createMedia", {
10
- enumerable: !0,
11
- get: function() {
12
- return r.createMedia;
13
- }
14
- }), Object.defineProperty(e, "BreakpointKey", {
15
- enumerable: !0,
16
- get: function() {
17
- return t.BreakpointConstraint;
18
- }
19
- });
20
- var r = a, t = n;
21
- })(o);
1
+ import { __exports as r } from "../../../../_virtual/index3.js";
2
+ import { __require as u } from "./Media.js";
3
+ import { __require as o } from "./Breakpoints.js";
4
+ var t;
5
+ function d() {
6
+ return t ? r : (t = 1, (function(e) {
7
+ Object.defineProperty(e, "__esModule", {
8
+ value: !0
9
+ }), Object.defineProperty(e, "createMedia", {
10
+ enumerable: !0,
11
+ get: function() {
12
+ return i.createMedia;
13
+ }
14
+ }), Object.defineProperty(e, "BreakpointKey", {
15
+ enumerable: !0,
16
+ get: function() {
17
+ return n.BreakpointConstraint;
18
+ }
19
+ });
20
+ var i = u(), n = o();
21
+ })(r), r);
22
+ }
23
+ export {
24
+ d as __require
25
+ };
@@ -1,10 +1,10 @@
1
- import { evaluate as D, getSide as F, getSideAxis as V, getOppositePlacement as _, getExpandedPlacements as ee, getOppositeAxisPlacements as te, getAlignmentSides as ne, clamp as $, getAlignment as X, min as W, max as j, getAlignmentAxis as K, getPaddingObject as N, rectToClientRect as I, sides as ie, getOppositeAxis as Q, getAxisLength as U } from "../../utils/dist/floating-ui.utils.js";
1
+ import { getSideAxis as F, getAlignmentAxis as K, getSide as V, getAlignment as X, evaluate as D, clamp as $, getOppositePlacement as _, getExpandedPlacements as ee, getOppositeAxisPlacements as te, getAlignmentSides as ne, min as W, max as j, getAxisLength as N, getPaddingObject as Q, rectToClientRect as I, getOppositeAxis as U, sides as ie } from "../../utils/dist/floating-ui.utils.js";
2
2
  function q(t, e, d) {
3
3
  let {
4
4
  reference: s,
5
5
  floating: r
6
6
  } = t;
7
- const n = V(e), o = K(e), m = U(o), a = F(e), g = n === "y", u = s.x + s.width / 2 - r.width / 2, l = s.y + s.height / 2 - r.height / 2, f = s[m] / 2 - r[m] / 2;
7
+ const n = F(e), o = K(e), m = N(o), a = V(e), g = n === "y", u = s.x + s.width / 2 - r.width / 2, l = s.y + s.height / 2 - r.height / 2, f = s[m] / 2 - r[m] / 2;
8
8
  let i;
9
9
  switch (a) {
10
10
  case "top":
@@ -124,7 +124,7 @@ async function z(t, e) {
124
124
  elementContext: l = "floating",
125
125
  altBoundary: f = !1,
126
126
  padding: i = 0
127
- } = D(e, t), c = N(i), x = m[f ? l === "floating" ? "reference" : "floating" : l], y = I(await n.getClippingRect({
127
+ } = D(e, t), c = Q(i), x = m[f ? l === "floating" ? "reference" : "floating" : l], y = I(await n.getClippingRect({
128
128
  element: (d = await (n.isElement == null ? void 0 : n.isElement(x))) == null || d ? x : x.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(m.floating)),
129
129
  boundary: g,
130
130
  rootBoundary: u,
@@ -171,10 +171,10 @@ const ae = (t) => ({
171
171
  } = D(t, e) || {};
172
172
  if (g == null)
173
173
  return {};
174
- const l = N(u), f = {
174
+ const l = Q(u), f = {
175
175
  x: d,
176
176
  y: s
177
- }, i = K(r), c = U(i), w = await o.getDimensions(g), x = i === "y", y = x ? "top" : "left", v = x ? "bottom" : "right", p = x ? "clientHeight" : "clientWidth", A = n.reference[c] + n.reference[i] - f[i] - n.floating[c], h = f[i] - n.reference[i], O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(g));
177
+ }, i = K(r), c = N(i), w = await o.getDimensions(g), x = i === "y", y = x ? "top" : "left", v = x ? "bottom" : "right", p = x ? "clientHeight" : "clientWidth", A = n.reference[c] + n.reference[i] - f[i] - n.floating[c], h = f[i] - n.reference[i], O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(g));
178
178
  let C = O ? O[p] : 0;
179
179
  (!C || !await (o.isElement == null ? void 0 : o.isElement(O))) && (C = m.floating[p] || n.floating[c]);
180
180
  const M = A / 2 - h / 2, R = C / 2 - w[c] / 2 - 1, P = W(l[y], R), E = W(l[v], R), H = P, Y = C - w[c] - E, b = C / 2 - w[c] / 2 + M, B = $(H, b, Y), k = !a.arrow && X(r) != null && b !== B && n.reference[c] / 2 - (b < H ? P : E) - w[c] / 2 < 0, S = k ? b < H ? b - H : b - Y : 0;
@@ -214,7 +214,7 @@ const ae = (t) => ({
214
214
  } = D(t, e);
215
215
  if ((d = n.arrow) != null && d.alignmentOffset)
216
216
  return {};
217
- const y = F(r), v = V(m), p = F(m) === m, A = await (a.isRTL == null ? void 0 : a.isRTL(g.floating)), h = f || (p || !w ? [_(m)] : ee(m)), O = c !== "none";
217
+ const y = V(r), v = F(m), p = V(m) === m, A = await (a.isRTL == null ? void 0 : a.isRTL(g.floating)), h = f || (p || !w ? [_(m)] : ee(m)), O = c !== "none";
218
218
  !f && O && h.push(...te(m, w, c, A));
219
219
  const C = [m, ...h], M = await z(e, x), R = [];
220
220
  let P = ((s = n.flip) == null ? void 0 : s.overflows) || [];
@@ -245,7 +245,7 @@ const ae = (t) => ({
245
245
  var Y;
246
246
  const S = (Y = P.filter((T) => {
247
247
  if (O) {
248
- const L = V(T.placement);
248
+ const L = F(T.placement);
249
249
  return L === v || // Create a bias to the `y` side axis due to horizontal
250
250
  // reading directions favoring greater width.
251
251
  L === "y";
@@ -328,7 +328,7 @@ async function se(t, e) {
328
328
  placement: d,
329
329
  platform: s,
330
330
  elements: r
331
- } = t, n = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), o = F(d), m = X(d), a = V(d) === "y", g = ["left", "top"].includes(o) ? -1 : 1, u = n && a ? -1 : 1, l = D(e, t);
331
+ } = t, n = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), o = V(d), m = X(d), a = F(d) === "y", g = ["left", "top"].includes(o) ? -1 : 1, u = n && a ? -1 : 1, l = D(e, t);
332
332
  let {
333
333
  mainAxis: f,
334
334
  crossAxis: i,
@@ -401,7 +401,7 @@ const fe = function(t) {
401
401
  } = D(t, e), g = {
402
402
  x: d,
403
403
  y: s
404
- }, u = await z(e, a), l = V(F(r)), f = Q(l);
404
+ }, u = await z(e, a), l = F(V(r)), f = U(l);
405
405
  let i = g[f], c = g[l];
406
406
  if (n) {
407
407
  const x = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", v = i + u[x], p = i - u[y];
@@ -442,7 +442,7 @@ const fe = function(t) {
442
442
  } = D(t, e), u = {
443
443
  x: d,
444
444
  y: s
445
- }, l = V(r), f = Q(l);
445
+ }, l = F(r), f = U(l);
446
446
  let i = u[f], c = u[l];
447
447
  const w = D(m, e), x = typeof w == "number" ? {
448
448
  mainAxis: w,
@@ -458,7 +458,7 @@ const fe = function(t) {
458
458
  }
459
459
  if (g) {
460
460
  var y, v;
461
- const p = f === "y" ? "width" : "height", A = ["top", "left"].includes(F(r)), h = n.reference[l] - n.floating[p] + (A && ((y = o.offset) == null ? void 0 : y[l]) || 0) + (A ? 0 : x.crossAxis), O = n.reference[l] + n.reference[p] + (A ? 0 : ((v = o.offset) == null ? void 0 : v[l]) || 0) - (A ? x.crossAxis : 0);
461
+ const p = f === "y" ? "width" : "height", A = ["top", "left"].includes(V(r)), h = n.reference[l] - n.floating[p] + (A && ((y = o.offset) == null ? void 0 : y[l]) || 0) + (A ? 0 : x.crossAxis), O = n.reference[l] + n.reference[p] + (A ? 0 : ((v = o.offset) == null ? void 0 : v[l]) || 0) - (A ? x.crossAxis : 0);
462
462
  c < h ? c = h : c > O && (c = O);
463
463
  }
464
464
  return {
@@ -481,7 +481,7 @@ const fe = function(t) {
481
481
  apply: o = () => {
482
482
  },
483
483
  ...m
484
- } = D(t, e), a = await z(e, m), g = F(d), u = X(d), l = V(d) === "y", {
484
+ } = D(t, e), a = await z(e, m), g = V(d), u = X(d), l = F(d) === "y", {
485
485
  width: f,
486
486
  height: i
487
487
  } = s.floating;
@@ -1,6 +1,6 @@
1
- import { offset as et, shift as it, flip as nt, size as ot, hide as st, computePosition as rt, arrow as ct, limitShift as lt } from "../../core/dist/floating-ui.core.js";
2
- import { createCoords as b, rectToClientRect as X, round as A, floor as z, max as T, min as V } from "../../utils/dist/floating-ui.utils.js";
3
- import { getOverflowAncestors as $, isElement as x, getWindow as E, getFrameElement as U, getComputedStyle as y, getDocumentElement as C, isHTMLElement as R, isWebKit as j, isTopLayer as S, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getParentNode as W, isLastTraversableNode as D, isTableElement as ft, isContainingBlock as G, getContainingBlock as ut } from "../../utils/dist/floating-ui.utils.dom.js";
1
+ import { computePosition as et, offset as it, shift as nt, flip as ot, size as st, hide as rt, arrow as ct, limitShift as lt } from "../../core/dist/floating-ui.core.js";
2
+ import { createCoords as b, round as A, max as T, min as V, rectToClientRect as X, floor as z } from "../../utils/dist/floating-ui.utils.js";
3
+ import { isElement as x, getDocumentElement as C, getOverflowAncestors as $, getComputedStyle as y, isHTMLElement as R, getWindow as E, isTopLayer as S, getParentNode as W, isLastTraversableNode as D, isTableElement as ft, isContainingBlock as j, getContainingBlock as ut, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getFrameElement as U, isWebKit as G } from "../../utils/dist/floating-ui.utils.dom.js";
4
4
  function J(t) {
5
5
  const e = y(t);
6
6
  let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
@@ -32,7 +32,7 @@ function F(t) {
32
32
  const ht = /* @__PURE__ */ b(0);
33
33
  function Q(t) {
34
34
  const e = E(t);
35
- return !j() || !e.visualViewport ? ht : {
35
+ return !G() || !e.visualViewport ? ht : {
36
36
  x: e.visualViewport.offsetLeft,
37
37
  y: e.visualViewport.offsetTop
38
38
  };
@@ -110,7 +110,7 @@ function mt(t, e) {
110
110
  let c = i.clientWidth, s = i.clientHeight, r = 0, l = 0;
111
111
  if (o) {
112
112
  c = o.width, s = o.height;
113
- const f = j();
113
+ const f = G();
114
114
  (!f || f && e === "fixed") && (r = o.offsetLeft, l = o.offsetTop);
115
115
  }
116
116
  return {
@@ -159,7 +159,7 @@ function vt(t, e) {
159
159
  const c = y(t).position === "fixed";
160
160
  let s = c ? W(t) : t;
161
161
  for (; x(s) && !D(s); ) {
162
- const r = y(s), l = G(s);
162
+ const r = y(s), l = j(s);
163
163
  !l && r.position === "fixed" && (o = null), (c ? !l && !o : !l && r.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || _(s) && !l && Z(t, s)) ? i = i.filter((u) => u !== s) : o = r, s = W(s);
164
164
  }
165
165
  return e.set(t, i), i;
@@ -234,7 +234,7 @@ function tt(t, e) {
234
234
  let i = P(t, e);
235
235
  for (; i && ft(i) && I(i); )
236
236
  i = P(i, e);
237
- return i && D(i) && I(i) && !G(i) ? n : i || ut(t) || n;
237
+ return i && D(i) && I(i) && !j(i) ? n : i || ut(t) || n;
238
238
  }
239
239
  const Rt = async function(t) {
240
240
  const e = this.getOffsetParent || tt, n = this.getDimensions, i = await n(t.floating);
@@ -345,7 +345,7 @@ function Wt(t, e, n, i) {
345
345
  }), h?.(), (d = g) == null || d.disconnect(), g = null, l && cancelAnimationFrame(v);
346
346
  };
347
347
  }
348
- const Bt = et, zt = it, At = nt, Dt = ot, Nt = st, Ht = ct, It = lt, Vt = (t, e, n) => {
348
+ const Bt = it, zt = nt, At = ot, Dt = st, Nt = rt, Ht = ct, It = lt, Vt = (t, e, n) => {
349
349
  const i = /* @__PURE__ */ new Map(), o = {
350
350
  platform: Ot,
351
351
  ...n
@@ -353,7 +353,7 @@ const Bt = et, zt = it, At = nt, Dt = ot, Nt = st, Ht = ct, It = lt, Vt = (t, e,
353
353
  ...o.platform,
354
354
  _c: i
355
355
  };
356
- return rt(t, e, {
356
+ return et(t, e, {
357
357
  ...o,
358
358
  platform: c
359
359
  });
@@ -9,13 +9,13 @@ import { createCollapsibleScope as M, Root as Z, Trigger as $, Content as oo } f
9
9
  import { useId as eo } from "../../react-id/dist/index.js";
10
10
  import { useDirection as ro } from "../../react-direction/dist/index.js";
11
11
  import { jsx as n } from "react/jsx-runtime";
12
- var f = "Accordion", to = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [y, no, co] = Q(f), [b, Ro] = J(f, [
12
+ var f = "Accordion", to = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [E, no, co] = Q(f), [b] = J(f, [
13
13
  co,
14
14
  M
15
- ]), E = M(), V = s.forwardRef(
15
+ ]), S = M(), V = s.forwardRef(
16
16
  (e, c) => {
17
17
  const { type: o, ...t } = e, i = t, r = t;
18
- return /* @__PURE__ */ n(y.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ n(so, { ...r, ref: c }) : /* @__PURE__ */ n(lo, { ...i, ref: c }) });
18
+ return /* @__PURE__ */ n(E.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ n(so, { ...r, ref: c }) : /* @__PURE__ */ n(lo, { ...i, ref: c }) });
19
19
  }
20
20
  );
21
21
  V.displayName = f;
@@ -77,18 +77,18 @@ var [H, io] = b(f), [K, ao] = b(
77
77
  );
78
78
  }), [po, I] = b(f), L = s.forwardRef(
79
79
  (e, c) => {
80
- const { __scopeAccordion: o, disabled: t, dir: i, orientation: r = "vertical", ...a } = e, l = s.useRef(null), d = W(l, c), m = no(o), u = ro(i) === "ltr", h = X(e.onKeyDown, (A) => {
81
- if (!to.includes(A.key)) return;
82
- const B = A.target, x = m().filter((N) => !N.ref.current?.disabled), C = x.findIndex((N) => N.ref.current === B), D = x.length;
83
- if (C === -1) return;
84
- A.preventDefault();
85
- let p = C;
80
+ const { __scopeAccordion: o, disabled: t, dir: i, orientation: r = "vertical", ...a } = e, l = s.useRef(null), d = W(l, c), m = no(o), u = ro(i) === "ltr", h = X(e.onKeyDown, (C) => {
81
+ if (!to.includes(C.key)) return;
82
+ const B = C.target, x = m().filter((N) => !N.ref.current?.disabled), A = x.findIndex((N) => N.ref.current === B), D = x.length;
83
+ if (A === -1) return;
84
+ C.preventDefault();
85
+ let p = A;
86
86
  const _ = 0, w = D - 1, R = () => {
87
- p = C + 1, p > w && (p = _);
87
+ p = A + 1, p > w && (p = _);
88
88
  }, P = () => {
89
- p = C - 1, p < _ && (p = w);
89
+ p = A - 1, p < _ && (p = w);
90
90
  };
91
- switch (A.key) {
91
+ switch (C.key) {
92
92
  case "Home":
93
93
  p = _;
94
94
  break;
@@ -118,7 +118,7 @@ var [H, io] = b(f), [K, ao] = b(
118
118
  disabled: t,
119
119
  direction: i,
120
120
  orientation: r,
121
- children: /* @__PURE__ */ n(y.Slot, { scope: o, children: /* @__PURE__ */ n(
121
+ children: /* @__PURE__ */ n(E.Slot, { scope: o, children: /* @__PURE__ */ n(
122
122
  T.div,
123
123
  {
124
124
  ...a,
@@ -132,7 +132,7 @@ var [H, io] = b(f), [K, ao] = b(
132
132
  }
133
133
  ), g = "AccordionItem", [fo, k] = b(g), z = s.forwardRef(
134
134
  (e, c) => {
135
- const { __scopeAccordion: o, value: t, ...i } = e, r = I(g, o), a = io(g, o), l = E(o), d = eo(), m = t && a.value.includes(t) || !1, v = r.disabled || e.disabled;
135
+ const { __scopeAccordion: o, value: t, ...i } = e, r = I(g, o), a = io(g, o), l = S(o), d = eo(), m = t && a.value.includes(t) || !1, v = r.disabled || e.disabled;
136
136
  return /* @__PURE__ */ n(
137
137
  fo,
138
138
  {
@@ -176,10 +176,10 @@ var G = "AccordionHeader", uo = s.forwardRef(
176
176
  }
177
177
  );
178
178
  uo.displayName = G;
179
- var S = "AccordionTrigger", U = s.forwardRef(
179
+ var y = "AccordionTrigger", U = s.forwardRef(
180
180
  (e, c) => {
181
- const { __scopeAccordion: o, ...t } = e, i = I(f, o), r = k(S, o), a = ao(S, o), l = E(o);
182
- return /* @__PURE__ */ n(y.ItemSlot, { scope: o, children: /* @__PURE__ */ n(
181
+ const { __scopeAccordion: o, ...t } = e, i = I(f, o), r = k(y, o), a = ao(y, o), l = S(o);
182
+ return /* @__PURE__ */ n(E.ItemSlot, { scope: o, children: /* @__PURE__ */ n(
183
183
  $,
184
184
  {
185
185
  "aria-disabled": r.open && !a.collapsible || void 0,
@@ -192,10 +192,10 @@ var S = "AccordionTrigger", U = s.forwardRef(
192
192
  ) });
193
193
  }
194
194
  );
195
- U.displayName = S;
195
+ U.displayName = y;
196
196
  var j = "AccordionContent", Y = s.forwardRef(
197
197
  (e, c) => {
198
- const { __scopeAccordion: o, ...t } = e, i = I(f, o), r = k(j, o), a = E(o);
198
+ const { __scopeAccordion: o, ...t } = e, i = I(f, o), r = k(j, o), a = S(o);
199
199
  return /* @__PURE__ */ n(
200
200
  oo,
201
201
  {
@@ -218,7 +218,7 @@ Y.displayName = j;
218
218
  function q(e) {
219
219
  return e ? "open" : "closed";
220
220
  }
221
- var Po = V, No = z, So = U, yo = Y;
221
+ var Ro = V, Po = z, No = U, yo = Y;
222
222
  export {
223
223
  V as Accordion,
224
224
  Y as AccordionContent,
@@ -226,8 +226,7 @@ export {
226
226
  z as AccordionItem,
227
227
  U as AccordionTrigger,
228
228
  yo as Content,
229
- No as Item,
230
- Po as Root,
231
- So as Trigger,
232
- Ro as createAccordionScope
229
+ Po as Item,
230
+ Ro as Root,
231
+ No as Trigger
233
232
  };
@@ -22,7 +22,9 @@ function g(s) {
22
22
  const d = s + "CollectionItemSlot", R = "data-radix-collection-item", T = x(d), I = r.forwardRef(
23
23
  (c, e) => {
24
24
  const { scope: l, children: o, ...t } = c, n = r.useRef(null), S = M(e, n), i = f(d, l);
25
- return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ u(T, { [R]: "", ref: S, children: o });
25
+ return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => {
26
+ i.itemMap.delete(n);
27
+ })), /* @__PURE__ */ u(T, { [R]: "", ref: S, children: o });
26
28
  }
27
29
  );
28
30
  I.displayName = d;
@@ -14,7 +14,7 @@ import z from "../../../react-remove-scroll/dist/es2015/Combination.js";
14
14
  import { hideOthers as J } from "../../../aria-hidden/dist/es2015/index.js";
15
15
  import { createSlot as Q } from "../../react-slot/dist/index.js";
16
16
  import { jsx as i, jsxs as P, Fragment as O } from "react/jsx-runtime";
17
- var h = "Dialog", [I, Ne] = H(h), [X, u] = I(h), x = (e) => {
17
+ var h = "Dialog", [I] = H(h), [X, u] = I(h), x = (e) => {
18
18
  const {
19
19
  __scopeDialog: t,
20
20
  children: n,
@@ -109,7 +109,7 @@ var ne = s.forwardRef(
109
109
  const o = a.current;
110
110
  if (o) return J(o);
111
111
  }, []), /* @__PURE__ */ i(
112
- S,
112
+ F,
113
113
  {
114
114
  ...e,
115
115
  ref: r,
@@ -133,7 +133,7 @@ var ne = s.forwardRef(
133
133
  (e, t) => {
134
134
  const n = u(d, e.__scopeDialog), a = s.useRef(!1), r = s.useRef(!1);
135
135
  return /* @__PURE__ */ i(
136
- S,
136
+ F,
137
137
  {
138
138
  ...e,
139
139
  ref: t,
@@ -150,7 +150,7 @@ var ne = s.forwardRef(
150
150
  }
151
151
  );
152
152
  }
153
- ), S = s.forwardRef(
153
+ ), F = s.forwardRef(
154
154
  (e, t) => {
155
155
  const { __scopeDialog: n, trapFocus: a, onOpenAutoFocus: r, onCloseAutoFocus: o, ...l } = e, c = u(d, n), f = s.useRef(null), D = R(t, f);
156
156
  return Z(), /* @__PURE__ */ P(O, { children: [
@@ -183,13 +183,13 @@ var ne = s.forwardRef(
183
183
  ] })
184
184
  ] });
185
185
  }
186
- ), y = "DialogTitle", F = s.forwardRef(
186
+ ), y = "DialogTitle", S = s.forwardRef(
187
187
  (e, t) => {
188
188
  const { __scopeDialog: n, ...a } = e, r = u(y, n);
189
189
  return /* @__PURE__ */ i(g.h2, { id: r.titleId, ...a, ref: t });
190
190
  }
191
191
  );
192
- F.displayName = y;
192
+ S.displayName = y;
193
193
  var W = "DialogDescription", k = s.forwardRef(
194
194
  (e, t) => {
195
195
  const { __scopeDialog: n, ...a } = e, r = u(W, n);
@@ -215,7 +215,7 @@ L.displayName = G;
215
215
  function N(e) {
216
216
  return e ? "open" : "closed";
217
217
  }
218
- var $ = "DialogTitleWarning", [Pe, B] = V($, {
218
+ var $ = "DialogTitleWarning", [Ne, B] = V($, {
219
219
  contentName: d,
220
220
  titleName: y,
221
221
  docsSlug: "dialog"
@@ -234,23 +234,22 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
234
234
  const r = e.current?.getAttribute("aria-describedby");
235
235
  t && r && (document.getElementById(t) || console.warn(a));
236
236
  }, [a, e, t]), null;
237
- }, Oe = x, Ie = b, xe = M, Ae = w, Te = F, be = k, Me = L;
237
+ }, Pe = x, Oe = b, Ie = M, xe = w, Ae = S, Te = k, be = L;
238
238
  export {
239
- Me as Close,
240
- Ae as Content,
241
- be as Description,
239
+ be as Close,
240
+ xe as Content,
241
+ Te as Description,
242
242
  x as Dialog,
243
243
  L as DialogClose,
244
244
  w as DialogContent,
245
245
  k as DialogDescription,
246
246
  M as DialogOverlay,
247
247
  b as DialogPortal,
248
- F as DialogTitle,
248
+ S as DialogTitle,
249
249
  ee as DialogTrigger,
250
- xe as Overlay,
251
- Ie as Portal,
252
- Oe as Root,
253
- Te as Title,
254
- Pe as WarningProvider,
255
- Ne as createDialogScope
250
+ Ie as Overlay,
251
+ Oe as Portal,
252
+ Pe as Root,
253
+ Ae as Title,
254
+ Ne as WarningProvider
256
255
  };