@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,13 +1,13 @@
1
1
  import * as p from "react";
2
2
  import { composeEventHandlers as m } from "../../primitive/dist/index.js";
3
3
  import { composeRefs as x } from "../../react-compose-refs/dist/index.js";
4
- import { createContextScope as S } from "../../react-context/dist/index.js";
5
- import { useControllableState as E } from "../node_modules/@radix-ui/react-use-controllable-state/dist/index.js";
4
+ import { createContextScope as E } from "../../react-context/dist/index.js";
5
+ import { useControllableState as S } from "../node_modules/@radix-ui/react-use-controllable-state/dist/index.js";
6
6
  import { Primitive as P } from "../node_modules/@radix-ui/react-primitive/dist/index.js";
7
- import { createMenuScope as D, Anchor as y, Content as O, Group as T, Label as G, Item as k, CheckboxItem as L, RadioGroup as K, RadioItem as U, ItemIndicator as B, Separator as F, Arrow as H, SubTrigger as W, SubContent as $, Root as j, Portal as X } from "../../react-menu/dist/index.js";
7
+ import { Root as y, Anchor as O, Portal as T, Content as G, Item as k, createMenuScope as D, Group as L, Label as K, CheckboxItem as U, RadioGroup as B, RadioItem as F, ItemIndicator as H, Separator as W, Arrow as $, SubTrigger as j, SubContent as X } from "../../react-menu/dist/index.js";
8
8
  import { useId as g } from "../../react-id/dist/index.js";
9
9
  import { jsx as a } from "react/jsx-runtime";
10
- var f = "DropdownMenu", [q, Ao] = S(
10
+ var f = "DropdownMenu", [q] = E(
11
11
  f,
12
12
  [D]
13
13
  ), i = D(), [z, v] = q(f), _ = (o) => {
@@ -19,7 +19,7 @@ var f = "DropdownMenu", [q, Ao] = S(
19
19
  defaultOpen: u,
20
20
  onOpenChange: s,
21
21
  modal: d = !0
22
- } = o, c = i(n), M = p.useRef(null), [l, w] = E({
22
+ } = o, c = i(n), M = p.useRef(null), [l, w] = S({
23
23
  prop: t,
24
24
  defaultProp: u ?? !1,
25
25
  onChange: s,
@@ -36,7 +36,7 @@ var f = "DropdownMenu", [q, Ao] = S(
36
36
  onOpenChange: w,
37
37
  onOpenToggle: p.useCallback(() => w((C) => !C), [w]),
38
38
  modal: d,
39
- children: /* @__PURE__ */ a(j, { ...c, open: l, onOpenChange: w, dir: e, modal: d, children: r })
39
+ children: /* @__PURE__ */ a(y, { ...c, open: l, onOpenChange: w, dir: e, modal: d, children: r })
40
40
  }
41
41
  );
42
42
  };
@@ -44,7 +44,7 @@ _.displayName = f;
44
44
  var R = "DropdownMenuTrigger", h = p.forwardRef(
45
45
  (o, n) => {
46
46
  const { __scopeDropdownMenu: r, disabled: e = !1, ...t } = o, u = v(R, r), s = i(r);
47
- return /* @__PURE__ */ a(y, { asChild: !0, ...s, children: /* @__PURE__ */ a(
47
+ return /* @__PURE__ */ a(O, { asChild: !0, ...s, children: /* @__PURE__ */ a(
48
48
  P.button,
49
49
  {
50
50
  type: "button",
@@ -70,14 +70,14 @@ var R = "DropdownMenuTrigger", h = p.forwardRef(
70
70
  h.displayName = R;
71
71
  var J = "DropdownMenuPortal", I = (o) => {
72
72
  const { __scopeDropdownMenu: n, ...r } = o, e = i(n);
73
- return /* @__PURE__ */ a(X, { ...e, ...r });
73
+ return /* @__PURE__ */ a(T, { ...e, ...r });
74
74
  };
75
75
  I.displayName = J;
76
76
  var N = "DropdownMenuContent", b = p.forwardRef(
77
77
  (o, n) => {
78
78
  const { __scopeDropdownMenu: r, ...e } = o, t = v(N, r), u = i(r), s = p.useRef(!1);
79
79
  return /* @__PURE__ */ a(
80
- O,
80
+ G,
81
81
  {
82
82
  id: t.contentId,
83
83
  "aria-labelledby": t.triggerId,
@@ -107,14 +107,14 @@ b.displayName = N;
107
107
  var Q = "DropdownMenuGroup", V = p.forwardRef(
108
108
  (o, n) => {
109
109
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
110
- return /* @__PURE__ */ a(T, { ...t, ...e, ref: n });
110
+ return /* @__PURE__ */ a(L, { ...t, ...e, ref: n });
111
111
  }
112
112
  );
113
113
  V.displayName = Q;
114
114
  var Y = "DropdownMenuLabel", Z = p.forwardRef(
115
115
  (o, n) => {
116
116
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
117
- return /* @__PURE__ */ a(G, { ...t, ...e, ref: n });
117
+ return /* @__PURE__ */ a(K, { ...t, ...e, ref: n });
118
118
  }
119
119
  );
120
120
  Z.displayName = Y;
@@ -127,45 +127,45 @@ var oo = "DropdownMenuItem", A = p.forwardRef(
127
127
  A.displayName = oo;
128
128
  var eo = "DropdownMenuCheckboxItem", ro = p.forwardRef((o, n) => {
129
129
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
130
- return /* @__PURE__ */ a(L, { ...t, ...e, ref: n });
130
+ return /* @__PURE__ */ a(U, { ...t, ...e, ref: n });
131
131
  });
132
132
  ro.displayName = eo;
133
133
  var no = "DropdownMenuRadioGroup", to = p.forwardRef((o, n) => {
134
134
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
135
- return /* @__PURE__ */ a(K, { ...t, ...e, ref: n });
135
+ return /* @__PURE__ */ a(B, { ...t, ...e, ref: n });
136
136
  });
137
137
  to.displayName = no;
138
138
  var ao = "DropdownMenuRadioItem", po = p.forwardRef((o, n) => {
139
139
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
140
- return /* @__PURE__ */ a(U, { ...t, ...e, ref: n });
140
+ return /* @__PURE__ */ a(F, { ...t, ...e, ref: n });
141
141
  });
142
142
  po.displayName = ao;
143
143
  var io = "DropdownMenuItemIndicator", uo = p.forwardRef((o, n) => {
144
144
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
145
- return /* @__PURE__ */ a(B, { ...t, ...e, ref: n });
145
+ return /* @__PURE__ */ a(H, { ...t, ...e, ref: n });
146
146
  });
147
147
  uo.displayName = io;
148
148
  var so = "DropdownMenuSeparator", co = p.forwardRef((o, n) => {
149
149
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
150
- return /* @__PURE__ */ a(F, { ...t, ...e, ref: n });
150
+ return /* @__PURE__ */ a(W, { ...t, ...e, ref: n });
151
151
  });
152
152
  co.displayName = so;
153
153
  var lo = "DropdownMenuArrow", wo = p.forwardRef(
154
154
  (o, n) => {
155
155
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
156
- return /* @__PURE__ */ a(H, { ...t, ...e, ref: n });
156
+ return /* @__PURE__ */ a($, { ...t, ...e, ref: n });
157
157
  }
158
158
  );
159
159
  wo.displayName = lo;
160
160
  var mo = "DropdownMenuSubTrigger", fo = p.forwardRef((o, n) => {
161
161
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
162
- return /* @__PURE__ */ a(W, { ...t, ...e, ref: n });
162
+ return /* @__PURE__ */ a(j, { ...t, ...e, ref: n });
163
163
  });
164
164
  fo.displayName = mo;
165
165
  var Mo = "DropdownMenuSubContent", go = p.forwardRef((o, n) => {
166
166
  const { __scopeDropdownMenu: r, ...e } = o, t = i(r);
167
167
  return /* @__PURE__ */ a(
168
- $,
168
+ X,
169
169
  {
170
170
  ...t,
171
171
  ...e,
@@ -182,7 +182,7 @@ var Mo = "DropdownMenuSubContent", go = p.forwardRef((o, n) => {
182
182
  );
183
183
  });
184
184
  go.displayName = Mo;
185
- var Co = _, xo = h, So = I, Eo = b, Po = A;
185
+ var Ao = _, Co = h, xo = I, Eo = b, So = A;
186
186
  export {
187
187
  Eo as Content,
188
188
  _ as DropdownMenu,
@@ -200,9 +200,8 @@ export {
200
200
  go as DropdownMenuSubContent,
201
201
  fo as DropdownMenuSubTrigger,
202
202
  h as DropdownMenuTrigger,
203
- Po as Item,
204
- So as Portal,
205
- Co as Root,
206
- xo as Trigger,
207
- Ao as createDropdownMenuScope
203
+ So as Item,
204
+ xo as Portal,
205
+ Ao as Root,
206
+ Co as Trigger
208
207
  };
@@ -23,7 +23,7 @@ var u = [
23
23
  ], w = u.reduce((t, i) => {
24
24
  const o = l(`Primitive.${i}`), r = f.forwardRef((e, m) => {
25
25
  const { asChild: a, ...p } = e, s = a ? o : i;
26
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
26
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
27
27
  });
28
28
  return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
29
29
  }, {});
@@ -25,7 +25,7 @@ function y(e) {
25
25
  });
26
26
  return r.displayName = `${e}.SlotClone`, r;
27
27
  }
28
- var E = Symbol("radix.slottable");
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
29
29
  function g(e) {
30
30
  return t.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
31
  }
@@ -1,13 +1,13 @@
1
- import * as r from "react";
2
- import { useLayoutEffect as e } from "../../react-use-layout-effect/dist/index.js";
3
- var f = r[" useId ".trim().toString()] || (() => {
4
- }), s = 0;
5
- function n(t) {
6
- const [o, u] = r.useState(f());
7
- return e(() => {
8
- t || u((a) => a ?? String(s++));
9
- }, [t]), t || (o ? `radix-${o}` : "");
1
+ import * as e from "react";
2
+ import { useLayoutEffect as a } from "../../react-use-layout-effect/dist/index.js";
3
+ var s = e[" useId ".trim().toString()] || (() => {
4
+ }), i = 0;
5
+ function d(r) {
6
+ const [t, o] = e.useState(s());
7
+ return a(() => {
8
+ o((u) => u ?? String(i++));
9
+ }, [r]), t ? `radix-${t}` : "";
10
10
  }
11
11
  export {
12
- n as useId
12
+ d as useId
13
13
  };
@@ -7,11 +7,11 @@ import { useDirection as He } from "../../react-direction/dist/index.js";
7
7
  import { DismissableLayer as We } from "../node_modules/@radix-ui/react-dismissable-layer/dist/index.js";
8
8
  import { useFocusGuards as ze } from "../../react-focus-guards/dist/index.js";
9
9
  import { FocusScope as Ze } from "../node_modules/@radix-ui/react-focus-scope/dist/index.js";
10
- import { createPopperScope as le, Anchor as $e, Content as qe, Arrow as Je, Root as Qe } from "../node_modules/@radix-ui/react-popper/dist/index.js";
10
+ import { Root as $e, Anchor as qe, createPopperScope as le, Content as Je, Arrow as Qe } from "../node_modules/@radix-ui/react-popper/dist/index.js";
11
11
  import { Portal as et } from "../node_modules/@radix-ui/react-portal/dist/index.js";
12
12
  import { Presence as Y } from "../node_modules/@radix-ui/react-presence/dist/index.js";
13
13
  import { Primitive as N, dispatchDiscreteCustomEvent as tt } from "../node_modules/@radix-ui/react-primitive/dist/index.js";
14
- import { createRovingFocusGroupScope as de, Root as nt, Item as ot } from "../node_modules/@radix-ui/react-roving-focus/dist/index.js";
14
+ import { createRovingFocusGroupScope as de, Item as nt, Root as ot } from "../node_modules/@radix-ui/react-roving-focus/dist/index.js";
15
15
  import { createSlot as rt } from "../node_modules/@radix-ui/react-slot/dist/index.js";
16
16
  import { useCallbackRef as fe } from "../../react-use-callback-ref/dist/index.js";
17
17
  import { hideOthers as ct } from "../../../aria-hidden/dist/es2015/index.js";
@@ -36,7 +36,7 @@ var $ = ["Enter", " "], st = ["ArrowDown", "PageUp", "Home"], me = ["ArrowUp", "
36
36
  return document.addEventListener("keydown", g, { capture: !0 }), () => {
37
37
  document.removeEventListener("keydown", g, { capture: !0 }), document.removeEventListener("pointerdown", v, { capture: !0 }), document.removeEventListener("pointermove", v, { capture: !0 });
38
38
  };
39
- }, []), /* @__PURE__ */ s(Qe, { ...p, children: /* @__PURE__ */ s(
39
+ }, []), /* @__PURE__ */ s($e, { ...p, children: /* @__PURE__ */ s(
40
40
  mt,
41
41
  {
42
42
  scope: n,
@@ -62,7 +62,7 @@ ve.displayName = F;
62
62
  var vt = "MenuAnchor", q = o.forwardRef(
63
63
  (e, n) => {
64
64
  const { __scopeMenu: t, ...r } = e, u = X(t);
65
- return /* @__PURE__ */ s($e, { ...u, ...r, ref: n });
65
+ return /* @__PURE__ */ s(qe, { ...u, ...r, ref: n });
66
66
  }
67
67
  );
68
68
  q.displayName = vt;
@@ -186,7 +186,7 @@ var _ = "MenuContent", [ht, Q] = P(_), Ce = o.forwardRef(
186
186
  onInteractOutside: f,
187
187
  onDismiss: g,
188
188
  children: /* @__PURE__ */ s(
189
- nt,
189
+ ot,
190
190
  {
191
191
  asChild: !0,
192
192
  ...Fe,
@@ -200,7 +200,7 @@ var _ = "MenuContent", [ht, Q] = P(_), Ce = o.forwardRef(
200
200
  }),
201
201
  preventScrollOnEntryFocus: !0,
202
202
  children: /* @__PURE__ */ s(
203
- qe,
203
+ Je,
204
204
  {
205
205
  role: "menu",
206
206
  "aria-orientation": "vertical",
@@ -303,7 +303,7 @@ var _e = o.forwardRef(
303
303
  scope: t,
304
304
  disabled: r,
305
305
  textValue: u ?? f,
306
- children: /* @__PURE__ */ s(ot, { asChild: !0, ...p, focusable: !r, children: /* @__PURE__ */ s(
306
+ children: /* @__PURE__ */ s(nt, { asChild: !0, ...p, focusable: !r, children: /* @__PURE__ */ s(
307
307
  N.div,
308
308
  {
309
309
  role: "menuitem",
@@ -423,7 +423,7 @@ xe.displayName = yt;
423
423
  var xt = "MenuArrow", be = o.forwardRef(
424
424
  (e, n) => {
425
425
  const { __scopeMenu: t, ...r } = e, u = X(t);
426
- return /* @__PURE__ */ s(Je, { ...u, ...r, ref: n });
426
+ return /* @__PURE__ */ s(Qe, { ...u, ...r, ref: n });
427
427
  }
428
428
  );
429
429
  be.displayName = xt;
@@ -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;
@@ -23,7 +23,7 @@ var u = [
23
23
  ], h = u.reduce((t, i) => {
24
24
  const o = c(`Primitive.${i}`), r = f.forwardRef((e, m) => {
25
25
  const { asChild: s, ...a } = e, n = s ? o : i;
26
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(n, { ...a, ref: m });
26
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(n, { ...a, ref: m });
27
27
  });
28
28
  return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
29
29
  }, {});
@@ -25,7 +25,7 @@ function y(e) {
25
25
  });
26
26
  return r.displayName = `${e}.SlotClone`, r;
27
27
  }
28
- var E = Symbol("radix.slottable");
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
29
29
  function g(e) {
30
30
  return t.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
31
  }
@@ -6,7 +6,7 @@ import { DismissableLayer as G } from "../node_modules/@radix-ui/react-dismissab
6
6
  import { useFocusGuards as H } from "../../react-focus-guards/dist/index.js";
7
7
  import { FocusScope as K } from "../node_modules/@radix-ui/react-focus-scope/dist/index.js";
8
8
  import { useId as $ } from "../../react-id/dist/index.js";
9
- import { createPopperScope as _, Anchor as x, Content as j, Arrow as U, Root as V } from "../node_modules/@radix-ui/react-popper/dist/index.js";
9
+ import { Root as j, Anchor as _, createPopperScope as x, Content as U, Arrow as V } from "../node_modules/@radix-ui/react-popper/dist/index.js";
10
10
  import { Portal as W } from "../node_modules/@radix-ui/react-portal/dist/index.js";
11
11
  import { Presence as w } from "../node_modules/@radix-ui/react-presence/dist/index.js";
12
12
  import { Primitive as E } from "../node_modules/@radix-ui/react-primitive/dist/index.js";
@@ -15,9 +15,9 @@ import { useControllableState as q } from "../node_modules/@radix-ui/react-use-c
15
15
  import { hideOthers as z } from "../../../aria-hidden/dist/es2015/index.js";
16
16
  import B from "../../../react-remove-scroll/dist/es2015/Combination.js";
17
17
  import { jsx as p } from "react/jsx-runtime";
18
- var C = "Popover", [b, _o] = L(C, [
19
- _
20
- ]), m = _(), [J, u] = b(C), F = (o) => {
18
+ var C = "Popover", [b] = L(C, [
19
+ x
20
+ ]), m = x(), [J, u] = b(C), F = (o) => {
21
21
  const {
22
22
  __scopePopover: n,
23
23
  children: t,
@@ -31,7 +31,7 @@ var C = "Popover", [b, _o] = L(C, [
31
31
  onChange: r,
32
32
  caller: C
33
33
  });
34
- return /* @__PURE__ */ p(V, { ...i, children: /* @__PURE__ */ p(
34
+ return /* @__PURE__ */ p(j, { ...i, children: /* @__PURE__ */ p(
35
35
  J,
36
36
  {
37
37
  scope: n,
@@ -52,7 +52,7 @@ F.displayName = C;
52
52
  var N = "PopoverAnchor", Q = c.forwardRef(
53
53
  (o, n) => {
54
54
  const { __scopePopover: t, ...a } = o, e = u(N, t), r = m(t), { onCustomAnchorAdd: s, onCustomAnchorRemove: i } = e;
55
- return c.useEffect(() => (s(), () => i()), [s, i]), /* @__PURE__ */ p(x, { ...r, ...a, ref: n });
55
+ return c.useEffect(() => (s(), () => i()), [s, i]), /* @__PURE__ */ p(_, { ...r, ...a, ref: n });
56
56
  }
57
57
  );
58
58
  Q.displayName = N;
@@ -71,7 +71,7 @@ var S = "PopoverTrigger", y = c.forwardRef(
71
71
  onClick: P(o.onClick, e.onOpenToggle)
72
72
  }
73
73
  );
74
- return e.hasCustomAnchor ? i : /* @__PURE__ */ p(x, { asChild: !0, ...r, children: i });
74
+ return e.hasCustomAnchor ? i : /* @__PURE__ */ p(_, { asChild: !0, ...r, children: i });
75
75
  }
76
76
  );
77
77
  y.displayName = S;
@@ -175,7 +175,7 @@ var oo = Z("PopoverContent.RemoveScroll"), eo = c.forwardRef(
175
175
  onFocusOutside: v,
176
176
  onDismiss: () => l.onOpenChange(!1),
177
177
  children: /* @__PURE__ */ p(
178
- j,
178
+ U,
179
179
  {
180
180
  "data-state": T(l.open),
181
181
  role: "dialog",
@@ -216,16 +216,16 @@ to.displayName = I;
216
216
  var no = "PopoverArrow", ao = c.forwardRef(
217
217
  (o, n) => {
218
218
  const { __scopePopover: t, ...a } = o, e = m(t);
219
- return /* @__PURE__ */ p(U, { ...e, ...a, ref: n });
219
+ return /* @__PURE__ */ p(V, { ...e, ...a, ref: n });
220
220
  }
221
221
  );
222
222
  ao.displayName = no;
223
223
  function T(o) {
224
224
  return o ? "open" : "closed";
225
225
  }
226
- var xo = F, wo = y, Eo = D, bo = M;
226
+ var _o = F, xo = y, wo = D, Eo = M;
227
227
  export {
228
- bo as Content,
228
+ Eo as Content,
229
229
  F as Popover,
230
230
  Q as PopoverAnchor,
231
231
  ao as PopoverArrow,
@@ -233,8 +233,7 @@ export {
233
233
  M as PopoverContent,
234
234
  D as PopoverPortal,
235
235
  y as PopoverTrigger,
236
- Eo as Portal,
237
- xo as Root,
238
- wo as Trigger,
239
- _o as createPopoverScope
236
+ wo as Portal,
237
+ _o as Root,
238
+ xo as Trigger
240
239
  };
@@ -1,5 +1,5 @@
1
1
  import * as s from "react";
2
- import { useFloating as fe, offset as me, shift as he, flip as ge, size as ue, arrow as we, hide as Pe, limitShift as xe } from "../../../../../../@floating-ui/react-dom/dist/floating-ui.react-dom.js";
2
+ import { useFloating as fe, offset as me, shift as he, limitShift as ge, flip as ue, size as we, arrow as Pe, hide as xe } from "../../../../../../@floating-ui/react-dom/dist/floating-ui.react-dom.js";
3
3
  import { Root as ye } from "../../react-arrow/dist/index.js";
4
4
  import { useComposedRefs as I } from "../../../../../react-compose-refs/dist/index.js";
5
5
  import { createContextScope as Ae } from "../../../../../react-context/dist/index.js";
@@ -60,20 +60,20 @@ var O = "PopperContent", [Oe, Re] = M(O), B = s.forwardRef(
60
60
  p && he({
61
61
  mainAxis: !0,
62
62
  crossAxis: !1,
63
- limiter: m === "partial" ? xe() : void 0,
63
+ limiter: m === "partial" ? ge() : void 0,
64
64
  ...y
65
65
  }),
66
- p && ge({ ...y }),
67
- ue({
66
+ p && ue({ ...y }),
67
+ we({
68
68
  ...y,
69
69
  apply: ({ elements: w, rects: W, availableWidth: pe, availableHeight: ce }) => {
70
70
  const { width: de, height: le } = W.reference, v = w.floating.style;
71
71
  v.setProperty("--radix-popper-available-width", `${pe}px`), v.setProperty("--radix-popper-available-height", `${ce}px`), v.setProperty("--radix-popper-anchor-width", `${de}px`), v.setProperty("--radix-popper-anchor-height", `${le}px`);
72
72
  }
73
73
  }),
74
- S && we({ element: S, padding: g }),
74
+ S && Pe({ element: S, padding: g }),
75
75
  _e({ arrowWidth: J, arrowHeight: E }),
76
- P && Pe({ strategy: "referenceHidden", ...y })
76
+ P && xe({ strategy: "referenceHidden", ...y })
77
77
  ]
78
78
  }), [$, re] = L(te), H = ve(l);
79
79
  z(() => {
@@ -23,7 +23,7 @@ var u = [
23
23
  ], h = u.reduce((t, i) => {
24
24
  const o = c(`Primitive.${i}`), r = f.forwardRef((e, m) => {
25
25
  const { asChild: s, ...a } = e, n = s ? o : i;
26
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(n, { ...a, ref: m });
26
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(n, { ...a, ref: m });
27
27
  });
28
28
  return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
29
29
  }, {});
@@ -25,7 +25,7 @@ function y(e) {
25
25
  });
26
26
  return r.displayName = `${e}.SlotClone`, r;
27
27
  }
28
- var E = Symbol("radix.slottable");
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
29
29
  function g(e) {
30
30
  return t.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
31
  }
@@ -22,7 +22,7 @@ var l = [
22
22
  ], h = l.reduce((t, i) => {
23
23
  const o = c(`Primitive.${i}`), r = f.forwardRef((e, m) => {
24
24
  const { asChild: a, ...s } = e, n = a ? o : i;
25
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(n, { ...s, ref: m });
25
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(n, { ...s, ref: m });
26
26
  });
27
27
  return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
28
28
  }, {});
@@ -2,29 +2,29 @@ import * as m from "react";
2
2
  import { createContextScope as $ } from "../../react-context/dist/index.js";
3
3
  import { Primitive as c } from "../node_modules/@radix-ui/react-primitive/dist/index.js";
4
4
  import { jsx as l } from "react/jsx-runtime";
5
- var u = "Progress", d = 100, [I, C] = $(u), [h, R] = I(u), f = m.forwardRef(
5
+ var u = "Progress", d = 100, [I] = $(u), [h, R] = I(u), f = m.forwardRef(
6
6
  (r, e) => {
7
7
  const {
8
8
  __scopeProgress: i,
9
9
  value: o = null,
10
10
  max: a,
11
- getValueLabel: x = E,
11
+ getValueLabel: P = E,
12
12
  ...N
13
13
  } = r;
14
14
  (a || a === 0) && !v(a) && console.error(M(`${a}`, "Progress"));
15
15
  const t = v(a) ? a : d;
16
16
  o !== null && !p(o, t) && console.error(V(`${o}`, "Progress"));
17
- const s = p(o, t) ? o : null, b = n(s) ? x(s, t) : void 0;
18
- return /* @__PURE__ */ l(h, { scope: i, value: s, max: t, children: /* @__PURE__ */ l(
17
+ const n = p(o, t) ? o : null, b = s(n) ? P(n, t) : void 0;
18
+ return /* @__PURE__ */ l(h, { scope: i, value: n, max: t, children: /* @__PURE__ */ l(
19
19
  c.div,
20
20
  {
21
21
  "aria-valuemax": t,
22
22
  "aria-valuemin": 0,
23
- "aria-valuenow": n(s) ? s : void 0,
23
+ "aria-valuenow": s(n) ? n : void 0,
24
24
  "aria-valuetext": b,
25
25
  role: "progressbar",
26
- "data-state": P(s, t),
27
- "data-value": s ?? void 0,
26
+ "data-state": x(n, t),
27
+ "data-value": n ?? void 0,
28
28
  "data-max": t,
29
29
  ...N,
30
30
  ref: e
@@ -39,7 +39,7 @@ var g = "ProgressIndicator", _ = m.forwardRef(
39
39
  return /* @__PURE__ */ l(
40
40
  c.div,
41
41
  {
42
- "data-state": P(a.value, a.max),
42
+ "data-state": x(a.value, a.max),
43
43
  "data-value": a.value ?? void 0,
44
44
  "data-max": a.max,
45
45
  ...o,
@@ -52,17 +52,17 @@ _.displayName = g;
52
52
  function E(r, e) {
53
53
  return `${Math.round(r / e * 100)}%`;
54
54
  }
55
- function P(r, e) {
55
+ function x(r, e) {
56
56
  return r == null ? "indeterminate" : r === e ? "complete" : "loading";
57
57
  }
58
- function n(r) {
58
+ function s(r) {
59
59
  return typeof r == "number";
60
60
  }
61
61
  function v(r) {
62
- return n(r) && !isNaN(r) && r > 0;
62
+ return s(r) && !isNaN(r) && r > 0;
63
63
  }
64
64
  function p(r, e) {
65
- return n(r) && !isNaN(r) && r <= e && r >= 0;
65
+ return s(r) && !isNaN(r) && r <= e && r >= 0;
66
66
  }
67
67
  function M(r, e) {
68
68
  return `Invalid prop \`max\` of value \`${r}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${d}\`.`;
@@ -79,6 +79,5 @@ var D = f;
79
79
  export {
80
80
  f as Progress,
81
81
  _ as ProgressIndicator,
82
- D as Root,
83
- C as createProgressScope
82
+ D as Root
84
83
  };
@@ -23,7 +23,7 @@ var u = [
23
23
  ], w = u.reduce((t, i) => {
24
24
  const o = l(`Primitive.${i}`), r = f.forwardRef((e, m) => {
25
25
  const { asChild: a, ...p } = e, s = a ? o : i;
26
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
26
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
27
27
  });
28
28
  return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
29
29
  }, {});
@@ -25,7 +25,7 @@ function y(e) {
25
25
  });
26
26
  return r.displayName = `${e}.SlotClone`, r;
27
27
  }
28
- var g = Symbol("radix.slottable");
28
+ var g = /* @__PURE__ */ Symbol("radix.slottable");
29
29
  function E(e) {
30
30
  return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === g;
31
31
  }