@phillips/seldon 1.236.0 → 1.238.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 (261) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +15 -10
  2. package/dist/_virtual/index.js +5 -2
  3. package/dist/_virtual/index11.js +4 -0
  4. package/dist/_virtual/index12.js +4 -0
  5. package/dist/_virtual/index13.js +4 -0
  6. package/dist/_virtual/index14.js +5 -0
  7. package/dist/_virtual/index15.js +5 -0
  8. package/dist/_virtual/index16.js +7 -0
  9. package/dist/_virtual/index17.js +4 -0
  10. package/dist/_virtual/index18.js +4 -0
  11. package/dist/_virtual/index2.js +3 -2
  12. package/dist/_virtual/index3.js +2 -2
  13. package/dist/_virtual/index4.js +2 -2
  14. package/dist/_virtual/index5.js +2 -4
  15. package/dist/_virtual/index6.js +5 -2
  16. package/dist/_virtual/index7.js +3 -2
  17. package/dist/_virtual/index8.js +2 -2
  18. package/dist/_virtual/index9.js +2 -2
  19. package/dist/components/Accordion/Accordion.js +1 -1
  20. package/dist/components/Accordion/AccordionItem.js +1 -1
  21. package/dist/components/Accordion/utils.js +1 -1
  22. package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
  23. package/dist/components/AddToCalendar/calendarLinks.js +10 -10
  24. package/dist/components/Article/Article.js +1 -1
  25. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  26. package/dist/components/Breadcrumb/BreadcrumbItem.js +1 -1
  27. package/dist/components/Button/Button.d.ts +5 -1
  28. package/dist/components/Button/Button.js +49 -47
  29. package/dist/components/Button/Button.stories.d.ts +34 -5
  30. package/dist/components/Button/index.d.ts +3 -0
  31. package/dist/components/Button/types.d.ts +4 -1
  32. package/dist/components/Button/types.js +2 -1
  33. package/dist/components/Carousel/Carousel.js +1 -1
  34. package/dist/components/Carousel/CarouselArrows.js +1 -1
  35. package/dist/components/Carousel/CarouselContent.js +1 -1
  36. package/dist/components/Carousel/CarouselDot.js +1 -1
  37. package/dist/components/Carousel/CarouselDots.js +1 -1
  38. package/dist/components/Carousel/CarouselItem.js +1 -1
  39. package/dist/components/Collapsible/Collapsible.js +1 -1
  40. package/dist/components/Collapsible/CollapsibleContent.js +1 -1
  41. package/dist/components/Collapsible/CollapsibleTrigger.js +1 -1
  42. package/dist/components/ComboBox/ComboBox.js +16 -16
  43. package/dist/components/ComposedModal/ComposedModal.js +1 -1
  44. package/dist/components/ContentPeek/ContentPeek.js +1 -1
  45. package/dist/components/Countdown/Countdown.js +10 -10
  46. package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +1 -1
  47. package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +1 -1
  48. package/dist/components/Detail/Detail.js +1 -1
  49. package/dist/components/DetailList/DetailList.js +1 -1
  50. package/dist/components/Divider/Divider.js +1 -1
  51. package/dist/components/Drawer/Drawer.js +1 -1
  52. package/dist/components/Dropdown/Dropdown.js +1 -1
  53. package/dist/components/ExitGateCard/ExitGateCard.js +1 -1
  54. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +1 -1
  55. package/dist/components/Filter/Filter.js +1 -1
  56. package/dist/components/Filter/FilterHeader.js +1 -1
  57. package/dist/components/Grid/Grid.js +1 -1
  58. package/dist/components/Grid/Grid.stories.d.ts +1 -1
  59. package/dist/components/Grid/utils.js +1 -1
  60. package/dist/components/GridItem/GridItem.js +1 -1
  61. package/dist/components/Icon/Icon.js +1 -1
  62. package/dist/components/IconButton/IconButton.js +1 -1
  63. package/dist/components/Input/Input.js +1 -1
  64. package/dist/components/Input/utils.js +1 -1
  65. package/dist/components/Link/Link.js +1 -1
  66. package/dist/components/LinkBlock/LinkBlock.js +1 -1
  67. package/dist/components/LinkList/LinkList.js +1 -1
  68. package/dist/components/Loader/Loader.js +1 -1
  69. package/dist/components/Modal/Modal.js +1 -1
  70. package/dist/components/Navigation/Navigation.js +1 -1
  71. package/dist/components/Navigation/NavigationItem/NavigationItem.js +1 -1
  72. package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +1 -1
  73. package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +1 -1
  74. package/dist/components/Navigation/NavigationList/NavigationList.js +1 -1
  75. package/dist/components/NotificationBanner/NotificationBanner.js +1 -1
  76. package/dist/components/PageContentWrapper/PageContentWrapper.js +1 -1
  77. package/dist/components/Pagination/Pagination.js +1 -1
  78. package/dist/components/Pictogram/Pictogram.js +1 -1
  79. package/dist/components/PinchZoom/PinchZoom.js +1 -1
  80. package/dist/components/ProgressIndicator/ProgressIndicator.js +1 -1
  81. package/dist/components/Row/Row.js +5 -5
  82. package/dist/components/Search/Search.js +1 -1
  83. package/dist/components/Search/Search.stories.d.ts +1 -1
  84. package/dist/components/SeldonImage/SeldonImage.js +1 -1
  85. package/dist/components/Select/Select.js +2 -2
  86. package/dist/components/SplitPanel/SplitPanel.js +1 -1
  87. package/dist/components/Tabs/TabsContainer.js +1 -1
  88. package/dist/components/Tabs/TabsContent.js +1 -1
  89. package/dist/components/Tags/Tags.js +1 -1
  90. package/dist/components/Text/Text.js +1 -1
  91. package/dist/components/Text/utils.js +1 -0
  92. package/dist/components/TextArea/TextArea.js +2 -2
  93. package/dist/components/TextSymbol/TextSymbol.js +16 -16
  94. package/dist/components/Toast/Toast.js +1 -1
  95. package/dist/components/Video/Video.js +1 -1
  96. package/dist/index.d.ts +1 -1
  97. package/dist/index.js +225 -224
  98. package/dist/node_modules/@artsy/fresnel/dist/Breakpoints.js +261 -260
  99. package/dist/node_modules/@artsy/fresnel/dist/DynamicResponsive.js +148 -143
  100. package/dist/node_modules/@artsy/fresnel/dist/Interactions.js +124 -123
  101. package/dist/node_modules/@artsy/fresnel/dist/Media.js +158 -157
  102. package/dist/node_modules/@artsy/fresnel/dist/MediaQueries.js +120 -120
  103. package/dist/node_modules/@artsy/fresnel/dist/Utils.js +85 -87
  104. package/dist/node_modules/@artsy/fresnel/dist/index.js +25 -21
  105. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +12 -12
  106. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +9 -9
  107. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +23 -24
  108. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  109. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +17 -18
  110. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +24 -25
  111. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  112. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  113. package/dist/node_modules/@radix-ui/react-id/dist/index.js +10 -10
  114. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +8 -8
  115. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  116. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  117. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  118. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +14 -15
  119. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +6 -6
  120. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  121. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  122. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  123. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +13 -14
  124. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  125. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  126. package/dist/node_modules/@radix-ui/react-select/dist/index.js +21 -22
  127. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
  128. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +16 -17
  129. package/dist/node_modules/@radix-ui/react-toast/dist/index.js +43 -44
  130. package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
  131. package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
  132. package/dist/node_modules/change-case/dist/index.js +20 -20
  133. package/dist/node_modules/classnames/index.js +33 -38
  134. package/dist/node_modules/date-fns/_lib/format/formatters.js +51 -20
  135. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -1
  136. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -3
  137. package/dist/node_modules/date-fns/addHours.js +4 -5
  138. package/dist/node_modules/date-fns/addMilliseconds.js +4 -5
  139. package/dist/node_modules/date-fns/constants.js +1 -1
  140. package/dist/node_modules/date-fns/constructFrom.js +1 -2
  141. package/dist/node_modules/date-fns/differenceInCalendarDays.js +4 -5
  142. package/dist/node_modules/date-fns/differenceInDays.js +8 -9
  143. package/dist/node_modules/date-fns/differenceInHours.js +8 -9
  144. package/dist/node_modules/date-fns/differenceInMilliseconds.js +3 -4
  145. package/dist/node_modules/date-fns/differenceInMinutes.js +6 -7
  146. package/dist/node_modules/date-fns/differenceInSeconds.js +5 -6
  147. package/dist/node_modules/date-fns/format.js +7 -8
  148. package/dist/node_modules/date-fns/formatDuration.js +6 -7
  149. package/dist/node_modules/date-fns/getDayOfYear.js +5 -6
  150. package/dist/node_modules/date-fns/getISOWeek.js +2 -3
  151. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -1
  152. package/dist/node_modules/date-fns/getWeek.js +5 -6
  153. package/dist/node_modules/date-fns/getWeekYear.js +5 -6
  154. package/dist/node_modules/date-fns/isAfter.js +2 -3
  155. package/dist/node_modules/date-fns/isDate.js +0 -1
  156. package/dist/node_modules/date-fns/isSameWeek.js +5 -6
  157. package/dist/node_modules/date-fns/isValid.js +4 -5
  158. package/dist/node_modules/date-fns/locale/en-US.js +8 -9
  159. package/dist/node_modules/date-fns/locale/zh-CN.js +8 -9
  160. package/dist/node_modules/date-fns/startOfDay.js +4 -5
  161. package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
  162. package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
  163. package/dist/node_modules/date-fns/startOfWeek.js +5 -6
  164. package/dist/node_modules/date-fns/startOfWeekYear.js +2 -3
  165. package/dist/node_modules/date-fns/startOfYear.js +4 -5
  166. package/dist/node_modules/date-fns/toDate.js +3 -4
  167. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +6 -7
  168. package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -1
  169. package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +1 -1
  170. package/dist/node_modules/ics/dist/defaults.js +21 -19
  171. package/dist/node_modules/ics/dist/index.js +103 -104
  172. package/dist/node_modules/ics/dist/pipeline/build.js +47 -45
  173. package/dist/node_modules/ics/dist/pipeline/format.js +61 -61
  174. package/dist/node_modules/ics/dist/pipeline/index.js +56 -53
  175. package/dist/node_modules/ics/dist/pipeline/validate.js +21 -16
  176. package/dist/node_modules/ics/dist/schema/index.js +203 -201
  177. package/dist/node_modules/ics/dist/utils/encode-new-lines.js +15 -9
  178. package/dist/node_modules/ics/dist/utils/encode-param-value.js +15 -9
  179. package/dist/node_modules/ics/dist/utils/fold-line.js +19 -13
  180. package/dist/node_modules/ics/dist/utils/format-date.js +66 -60
  181. package/dist/node_modules/ics/dist/utils/format-duration.js +16 -10
  182. package/dist/node_modules/ics/dist/utils/format-text.js +15 -9
  183. package/dist/node_modules/ics/dist/utils/index.js +81 -86
  184. package/dist/node_modules/ics/dist/utils/set-alarm.js +47 -44
  185. package/dist/node_modules/ics/dist/utils/set-contact.js +23 -18
  186. package/dist/node_modules/ics/dist/utils/set-description.js +20 -15
  187. package/dist/node_modules/ics/dist/utils/set-geolocation.js +16 -10
  188. package/dist/node_modules/ics/dist/utils/set-location.js +20 -15
  189. package/dist/node_modules/ics/dist/utils/set-organizer.js +21 -16
  190. package/dist/node_modules/ics/dist/utils/set-summary.js +20 -15
  191. package/dist/node_modules/libphonenumber-js/es6/metadata.js +5 -5
  192. package/dist/node_modules/lodash.debounce/index.js +85 -3
  193. package/dist/node_modules/nanoid/index.browser.js +1 -1
  194. package/dist/node_modules/object-assign/index.js +0 -5
  195. package/dist/node_modules/prop-types/checkPropTypes.js +1 -1
  196. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
  197. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  198. package/dist/node_modules/prop-types/index.js +13 -11
  199. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +3 -11
  200. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -9
  201. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  202. package/dist/node_modules/property-expr/index.js +78 -73
  203. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +1 -1
  204. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +3 -3
  205. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +9 -9
  206. package/dist/node_modules/react-transition-group/esm/CSSTransition.js +3 -3
  207. package/dist/node_modules/react-transition-group/esm/Transition.js +3 -3
  208. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  209. package/dist/node_modules/react-zoom-pan-pinch/dist/index.esm.js +2 -3
  210. package/dist/node_modules/runes2/dist/index.cjs.production.min.js +8 -8
  211. package/dist/node_modules/runes2/dist/index.js +8 -6
  212. package/dist/node_modules/tiny-case/index.js +20 -15
  213. package/dist/node_modules/toposort/index.js +57 -56
  214. package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
  215. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -9
  216. package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +2 -2
  217. package/dist/node_modules/yup/index.esm.js +3 -3
  218. package/dist/pages/Page.stories.d.ts +1 -1
  219. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +1 -1
  220. package/dist/patterns/BidSnapshot/BidMessage.js +1 -1
  221. package/dist/patterns/BidSnapshot/BidSnapshot.js +1 -1
  222. package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +1 -1
  223. package/dist/patterns/CountryPicker/CountryPickerModal.stories.d.ts +1 -1
  224. package/dist/patterns/CountryPicker/CountryPickerOption.js +1 -1
  225. package/dist/patterns/CountryPicker/CountryPickerTrigger.js +1 -1
  226. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
  227. package/dist/patterns/FilterMenu/FilterMenu.js +1 -1
  228. package/dist/patterns/FiltersInline/FilterButton.js +1 -1
  229. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +1 -1
  230. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +1 -1
  231. package/dist/patterns/FiltersInline/FiltersInline.js +1 -1
  232. package/dist/patterns/FiltersInline/MainFilterDropdown.js +1 -1
  233. package/dist/patterns/HeroBanner/HeroBanner.js +1 -1
  234. package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +1 -1
  235. package/dist/patterns/LanguageSelector/LanguageSelector.js +1 -1
  236. package/dist/patterns/ObjectTile/ObjectTile.js +1 -1
  237. package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +4 -4
  238. package/dist/patterns/ProgressWizard/ProgressWizard.stories.d.ts +8 -8
  239. package/dist/patterns/SaleCard/SaleCard.js +2 -2
  240. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +1 -1
  241. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +1 -1
  242. package/dist/patterns/Social/Social.js +1 -1
  243. package/dist/patterns/Subscribe/Subscribe.js +1 -1
  244. package/dist/patterns/TextBanner/TextBanner.js +1 -1
  245. package/dist/patterns/UserManagement/UserManagement.js +1 -1
  246. package/dist/patterns/UserManagement/UserManagement.stories.d.ts +1 -1
  247. package/dist/patterns/ViewingDetails/ViewingDetails.js +1 -1
  248. package/dist/patterns/ViewingsList/ViewingsList.js +5 -5
  249. package/dist/patterns/ViewingsList/ViewingsListCard.js +38 -29
  250. package/dist/patterns/ViewingsList/ViewingsListCardForm.js +1 -1
  251. package/dist/providers/SeldonProvider/utils.js +4 -5
  252. package/dist/scss/componentStyles.scss +1 -0
  253. package/dist/scss/components/Button/_button.scss +29 -33
  254. package/dist/scss/components/Button/_button.stories.scss +76 -0
  255. package/dist/scss/components/DatePicker/_datePicker.scss +2 -2
  256. package/dist/scss/components/Drawer/_drawer.scss +1 -1
  257. package/dist/scss/components/Icon/_icon.stories.scss +1 -1
  258. package/dist/scss/patterns/ViewingDetails/_viewingDetails.stories.scss +0 -2
  259. package/dist/site-furniture/Footer/Footer.js +1 -1
  260. package/dist/site-furniture/Header/Header.js +1 -1
  261. package/package.json +27 -30
@@ -10,7 +10,7 @@ import { DismissableLayer as rt } from "../../react-dismissable-layer/dist/index
10
10
  import { useFocusGuards as lt } from "../../react-focus-guards/dist/index.js";
11
11
  import { FocusScope as st } from "../../react-focus-scope/dist/index.js";
12
12
  import { useId as Ie } from "../../react-id/dist/index.js";
13
- import { createPopperScope as Ne, Anchor as ct, Content as it, Arrow as at, Root as dt } from "../../react-popper/dist/index.js";
13
+ import { Root as ct, Anchor as it, createPopperScope as Ne, Content as at, Arrow as dt } from "../../react-popper/dist/index.js";
14
14
  import { Portal as ut } from "../../react-portal/dist/index.js";
15
15
  import { Primitive as M } from "../../react-primitive/dist/index.js";
16
16
  import { createSlot as pt } from "../../react-slot/dist/index.js";
@@ -21,8 +21,8 @@ import { usePrevious as mt } from "../../react-use-previous/dist/index.js";
21
21
  import { VisuallyHidden as ht } from "../../react-visually-hidden/dist/index.js";
22
22
  import { hideOthers as vt } from "../../../aria-hidden/dist/es2015/index.js";
23
23
  import gt from "../../../react-remove-scroll/dist/es2015/Combination.js";
24
- import { jsx as u, Fragment as Te, jsxs as ce } from "react/jsx-runtime";
25
- var St = [" ", "Enter", "ArrowUp", "ArrowDown"], wt = [" ", "Enter"], re = "Select", [ae, de, Ct] = tt(re), [ee, ao] = ot(re, [
24
+ import { jsx as u, jsxs as ce, Fragment as Te } from "react/jsx-runtime";
25
+ var St = [" ", "Enter", "ArrowUp", "ArrowDown"], wt = [" ", "Enter"], re = "Select", [ae, de, Ct] = tt(re), [ee] = ot(re, [
26
26
  Ct,
27
27
  Ne
28
28
  ]), ue = Ne(), [xt, Y] = ee(re), [yt, It] = ee(re), _e = (o) => {
@@ -50,7 +50,7 @@ var St = [" ", "Enter", "ArrowUp", "ArrowDown"], wt = [" ", "Enter"], re = "Sele
50
50
  defaultProp: l,
51
51
  onChange: s
52
52
  }), V = t.useRef(null), B = h ? y || !!h.closest("form") : !0, [G, H] = t.useState(/* @__PURE__ */ new Set()), W = Array.from(G).map((N) => N.props.value).join(";");
53
- return /* @__PURE__ */ u(dt, { ...a, children: /* @__PURE__ */ ce(
53
+ return /* @__PURE__ */ u(ct, { ...a, children: /* @__PURE__ */ ce(
54
54
  xt,
55
55
  {
56
56
  required: T,
@@ -121,7 +121,7 @@ var Me = "SelectTrigger", Oe = t.forwardRef(
121
121
  y: Math.round(a.pageY)
122
122
  });
123
123
  };
124
- return /* @__PURE__ */ u(ct, { asChild: !0, ...d, children: /* @__PURE__ */ u(
124
+ return /* @__PURE__ */ u(it, { asChild: !0, ...d, children: /* @__PURE__ */ u(
125
125
  M.button,
126
126
  {
127
127
  type: "button",
@@ -478,7 +478,7 @@ var Nt = "SelectPopperPosition", Se = t.forwardRef((o, i) => {
478
478
  ...d
479
479
  } = o, n = ue(e);
480
480
  return /* @__PURE__ */ u(
481
- it,
481
+ at,
482
482
  {
483
483
  ...n,
484
484
  ...d,
@@ -751,7 +751,7 @@ Bt.displayName = Vt;
751
751
  var ye = "SelectArrow", Ht = t.forwardRef(
752
752
  (o, i) => {
753
753
  const { __scopeSelect: e, ...c } = o, r = ue(e), d = Y(ye, e), n = q(ye, e);
754
- return d.open && n.position === "popper" ? /* @__PURE__ */ u(at, { ...r, ...c, ref: i }) : null;
754
+ return d.open && n.position === "popper" ? /* @__PURE__ */ u(dt, { ...r, ...c, ref: i }) : null;
755
755
  }
756
756
  );
757
757
  Ht.displayName = ye;
@@ -778,9 +778,9 @@ function Qe(o) {
778
778
  const i = ft(o), e = t.useRef(""), c = t.useRef(0), r = t.useCallback(
779
779
  (n) => {
780
780
  const l = e.current + n;
781
- i(l), function s(f) {
781
+ i(l), (function s(f) {
782
782
  e.current = f, window.clearTimeout(c.current), f !== "" && (c.current = window.setTimeout(() => s(""), 1e3));
783
- }(l);
783
+ })(l);
784
784
  },
785
785
  [i]
786
786
  ), d = t.useCallback(() => {
@@ -800,16 +800,16 @@ function et(o, i, e) {
800
800
  function Wt(o, i) {
801
801
  return o.map((e, c) => o[(i + c) % o.length]);
802
802
  }
803
- var uo = _e, po = Oe, fo = De, mo = Le, ho = ke, vo = Ve, go = Fe, So = ze, wo = je, Co = qe, xo = Xe;
803
+ var ao = _e, uo = Oe, po = De, fo = Le, mo = ke, ho = Ve, vo = Fe, go = ze, So = je, wo = qe, Co = Xe;
804
804
  export {
805
- vo as Content,
806
- mo as Icon,
807
- So as Item,
808
- wo as ItemText,
809
- ho as Portal,
810
- uo as Root,
811
- xo as ScrollDownButton,
812
- Co as ScrollUpButton,
805
+ ho as Content,
806
+ fo as Icon,
807
+ go as Item,
808
+ So as ItemText,
809
+ mo as Portal,
810
+ ao as Root,
811
+ Co as ScrollDownButton,
812
+ wo as ScrollUpButton,
813
813
  _e as Select,
814
814
  Ht as SelectArrow,
815
815
  Ve as SelectContent,
@@ -826,8 +826,7 @@ export {
826
826
  Oe as SelectTrigger,
827
827
  De as SelectValue,
828
828
  Fe as SelectViewport,
829
- po as Trigger,
830
- fo as Value,
831
- go as Viewport,
832
- ao as createSelectScope
829
+ uo as Trigger,
830
+ po as Value,
831
+ vo as Viewport
833
832
  };
@@ -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
  }
@@ -1,14 +1,14 @@
1
1
  import * as v from "react";
2
2
  import { composeEventHandlers as p } from "../../primitive/dist/index.js";
3
3
  import { createContextScope as x } from "../../react-context/dist/index.js";
4
- import { createRovingFocusGroupScope as C, Root as E, Item as F } from "../../react-roving-focus/dist/index.js";
4
+ import { Item as E, createRovingFocusGroupScope as C, Root as F } from "../../react-roving-focus/dist/index.js";
5
5
  import { Presence as w } from "../../react-presence/dist/index.js";
6
6
  import { Primitive as b } from "../../react-primitive/dist/index.js";
7
7
  import { useDirection as D } from "../../react-direction/dist/index.js";
8
8
  import { useControllableState as V } from "../../react-use-controllable-state/dist/index.js";
9
9
  import { useId as G } from "../../react-id/dist/index.js";
10
10
  import { jsx as u } from "react/jsx-runtime";
11
- var g = "Tabs", [L, Q] = x(g, [
11
+ var g = "Tabs", [L] = x(g, [
12
12
  C
13
13
  ]), h = C(), [$, T] = L(g), I = v.forwardRef(
14
14
  (e, r) => {
@@ -54,7 +54,7 @@ var R = "TabsList", _ = v.forwardRef(
54
54
  (e, r) => {
55
55
  const { __scopeTabs: s, loop: t = !0, ...n } = e, c = T(R, s), o = h(s);
56
56
  return /* @__PURE__ */ u(
57
- E,
57
+ F,
58
58
  {
59
59
  asChild: !0,
60
60
  ...o,
@@ -77,9 +77,9 @@ var R = "TabsList", _ = v.forwardRef(
77
77
  _.displayName = R;
78
78
  var y = "TabsTrigger", A = v.forwardRef(
79
79
  (e, r) => {
80
- const { __scopeTabs: s, value: t, disabled: n = !1, ...c } = e, o = T(y, s), d = h(s), f = N(o.baseId, t), m = P(o.baseId, t), i = t === o.value;
80
+ const { __scopeTabs: s, value: t, disabled: n = !1, ...c } = e, o = T(y, s), d = h(s), f = P(o.baseId, t), m = S(o.baseId, t), i = t === o.value;
81
81
  return /* @__PURE__ */ u(
82
- F,
82
+ E,
83
83
  {
84
84
  asChild: !0,
85
85
  ...d,
@@ -115,9 +115,9 @@ var y = "TabsTrigger", A = v.forwardRef(
115
115
  }
116
116
  );
117
117
  A.displayName = y;
118
- var S = "TabsContent", M = v.forwardRef(
118
+ var M = "TabsContent", N = v.forwardRef(
119
119
  (e, r) => {
120
- const { __scopeTabs: s, value: t, forceMount: n, children: c, ...o } = e, d = T(S, s), f = N(d.baseId, t), m = P(d.baseId, t), i = t === d.value, a = v.useRef(i);
120
+ const { __scopeTabs: s, value: t, forceMount: n, children: c, ...o } = e, d = T(M, s), f = P(d.baseId, t), m = S(d.baseId, t), i = t === d.value, a = v.useRef(i);
121
121
  return v.useEffect(() => {
122
122
  const l = requestAnimationFrame(() => a.current = !1);
123
123
  return () => cancelAnimationFrame(l);
@@ -142,22 +142,21 @@ var S = "TabsContent", M = v.forwardRef(
142
142
  ) });
143
143
  }
144
144
  );
145
- M.displayName = S;
146
- function N(e, r) {
145
+ N.displayName = M;
146
+ function P(e, r) {
147
147
  return `${e}-trigger-${r}`;
148
148
  }
149
- function P(e, r) {
149
+ function S(e, r) {
150
150
  return `${e}-content-${r}`;
151
151
  }
152
- var U = I, W = _, X = A, Y = M;
152
+ var Q = I, U = _, W = A, X = N;
153
153
  export {
154
- Y as Content,
155
- W as List,
156
- U as Root,
154
+ X as Content,
155
+ U as List,
156
+ Q as Root,
157
157
  I as Tabs,
158
- M as TabsContent,
158
+ N as TabsContent,
159
159
  _ as TabsList,
160
160
  A as TabsTrigger,
161
- X as Trigger,
162
- Q as createTabsScope
161
+ W as Trigger
163
162
  };
@@ -4,7 +4,7 @@ import { composeEventHandlers as h } from "../../primitive/dist/index.js";
4
4
  import { useComposedRefs as oe } from "../../react-compose-refs/dist/index.js";
5
5
  import { createCollection as Pe } from "../node_modules/@radix-ui/react-collection/dist/index.js";
6
6
  import { createContextScope as Ce } from "../../react-context/dist/index.js";
7
- import { Branch as xe, Root as he } from "../node_modules/@radix-ui/react-dismissable-layer/dist/index.js";
7
+ import { Root as xe, Branch as he } from "../node_modules/@radix-ui/react-dismissable-layer/dist/index.js";
8
8
  import { Portal as Re } from "../node_modules/@radix-ui/react-portal/dist/index.js";
9
9
  import { Presence as be } from "../node_modules/@radix-ui/react-presence/dist/index.js";
10
10
  import { Primitive as A, dispatchDiscreteCustomEvent as ge } from "../node_modules/@radix-ui/react-primitive/dist/index.js";
@@ -12,8 +12,8 @@ import { useCallbackRef as U } from "../../react-use-callback-ref/dist/index.js"
12
12
  import { useControllableState as Se } from "../node_modules/@radix-ui/react-use-controllable-state/dist/index.js";
13
13
  import { useLayoutEffect as Ie } from "../../react-use-layout-effect/dist/index.js";
14
14
  import { VisuallyHidden as re } from "../node_modules/@radix-ui/react-visually-hidden/dist/index.js";
15
- import { jsxs as z, jsx as l, Fragment as ne } from "react/jsx-runtime";
16
- var G = "ToastProvider", [J, Ae, Fe] = Pe("Toast"), [se, at] = Ce("Toast", [Fe]), [_e, X] = se(G), ae = (e) => {
15
+ import { jsx as l, jsxs as z, Fragment as ne } from "react/jsx-runtime";
16
+ var G = "ToastProvider", [J, Ae, Fe] = Pe("Toast"), [se] = Ce("Toast", [Fe]), [_e, X] = se(G), ae = (e) => {
17
17
  const {
18
18
  __scopeToast: o,
19
19
  label: r = "Notification",
@@ -21,7 +21,7 @@ var G = "ToastProvider", [J, Ae, Fe] = Pe("Toast"), [se, at] = Ce("Toast", [Fe])
21
21
  swipeDirection: c = "right",
22
22
  swipeThreshold: d = 50,
23
23
  children: p
24
- } = e, [T, v] = n.useState(null), [i, x] = n.useState(0), E = n.useRef(!1), F = n.useRef(!1);
24
+ } = e, [v, T] = n.useState(null), [i, x] = n.useState(0), E = n.useRef(!1), F = n.useRef(!1);
25
25
  return r.trim() || console.error(
26
26
  `Invalid prop \`label\` supplied to \`${G}\`. Expected non-empty \`string\`.`
27
27
  ), /* @__PURE__ */ l(J.Provider, { scope: o, children: /* @__PURE__ */ l(
@@ -33,8 +33,8 @@ var G = "ToastProvider", [J, Ae, Fe] = Pe("Toast"), [se, at] = Ce("Toast", [Fe])
33
33
  swipeDirection: c,
34
34
  swipeThreshold: d,
35
35
  toastCount: i,
36
- viewport: T,
37
- onViewportChange: v,
36
+ viewport: v,
37
+ onViewportChange: T,
38
38
  onToastAdd: n.useCallback(() => x((g) => g + 1), []),
39
39
  onToastRemove: n.useCallback(() => x((g) => g - 1), []),
40
40
  isFocusedToastEscapeKeyDownRef: E,
@@ -51,14 +51,14 @@ var ie = "ToastViewport", De = ["F8"], B = "toast.viewportPause", j = "toast.vie
51
51
  hotkey: t = De,
52
52
  label: c = "Notifications ({hotkey})",
53
53
  ...d
54
- } = e, p = X(ie, r), T = Ae(r), v = n.useRef(null), i = n.useRef(null), x = n.useRef(null), E = n.useRef(null), F = oe(o, E, p.onViewportChange), g = t.join("+").replace(/Key/g, "").replace(/Digit/g, ""), S = p.toastCount > 0;
54
+ } = e, p = X(ie, r), v = Ae(r), T = n.useRef(null), i = n.useRef(null), x = n.useRef(null), E = n.useRef(null), F = oe(o, E, p.onViewportChange), g = t.join("+").replace(/Key/g, "").replace(/Digit/g, ""), S = p.toastCount > 0;
55
55
  n.useEffect(() => {
56
56
  const a = (y) => {
57
57
  t.length !== 0 && t.every((m) => y[m] || y.code === m) && E.current?.focus();
58
58
  };
59
59
  return document.addEventListener("keydown", a), () => document.removeEventListener("keydown", a);
60
60
  }, [t]), n.useEffect(() => {
61
- const a = v.current, y = E.current;
61
+ const a = T.current, y = E.current;
62
62
  if (S && a && y) {
63
63
  const f = () => {
64
64
  if (!p.isClosePausedRef.current) {
@@ -82,13 +82,13 @@ var ie = "ToastViewport", De = ["F8"], B = "toast.viewportPause", j = "toast.vie
82
82
  }, [S, p.isClosePausedRef]);
83
83
  const u = n.useCallback(
84
84
  ({ tabbingDirection: a }) => {
85
- const f = T().map((m) => {
85
+ const f = v().map((m) => {
86
86
  const P = m.ref.current, C = [P, ...Be(P)];
87
87
  return a === "forwards" ? C : C.reverse();
88
88
  });
89
89
  return (a === "forwards" ? f.reverse() : f).flat();
90
90
  },
91
- [T]
91
+ [v]
92
92
  );
93
93
  return n.useEffect(() => {
94
94
  const a = E.current;
@@ -107,10 +107,10 @@ var ie = "ToastViewport", De = ["F8"], B = "toast.viewportPause", j = "toast.vie
107
107
  };
108
108
  return a.addEventListener("keydown", y), () => a.removeEventListener("keydown", y);
109
109
  }
110
- }, [T, u]), /* @__PURE__ */ z(
111
- xe,
110
+ }, [v, u]), /* @__PURE__ */ z(
111
+ he,
112
112
  {
113
- ref: v,
113
+ ref: T,
114
114
  role: "region",
115
115
  "aria-label": c.replace("{hotkey}", g),
116
116
  tabIndex: -1,
@@ -159,8 +159,8 @@ var ue = "ToastFocusProxy", q = n.forwardRef(
159
159
  ref: o,
160
160
  style: { position: "fixed" },
161
161
  onFocus: (p) => {
162
- const T = p.relatedTarget;
163
- !d.viewport?.contains(T) && t();
162
+ const v = p.relatedTarget;
163
+ !d.viewport?.contains(v) && t();
164
164
  }
165
165
  }
166
166
  );
@@ -169,19 +169,19 @@ var ue = "ToastFocusProxy", q = n.forwardRef(
169
169
  q.displayName = ue;
170
170
  var M = "Toast", Ne = "toast.swipeStart", Le = "toast.swipeMove", Me = "toast.swipeCancel", Oe = "toast.swipeEnd", le = n.forwardRef(
171
171
  (e, o) => {
172
- const { forceMount: r, open: t, defaultOpen: c, onOpenChange: d, ...p } = e, [T, v] = Se({
172
+ const { forceMount: r, open: t, defaultOpen: c, onOpenChange: d, ...p } = e, [v, T] = Se({
173
173
  prop: t,
174
174
  defaultProp: c ?? !0,
175
175
  onChange: d,
176
176
  caller: M
177
177
  });
178
- return /* @__PURE__ */ l(be, { present: r || T, children: /* @__PURE__ */ l(
178
+ return /* @__PURE__ */ l(be, { present: r || v, children: /* @__PURE__ */ l(
179
179
  Ve,
180
180
  {
181
- open: T,
181
+ open: v,
182
182
  ...p,
183
183
  ref: o,
184
- onClose: () => v(!1),
184
+ onClose: () => T(!1),
185
185
  onPause: U(e.onPause),
186
186
  onResume: U(e.onResume),
187
187
  onSwipeStart: h(e.onSwipeStart, (i) => {
@@ -196,7 +196,7 @@ var M = "Toast", Ne = "toast.swipeStart", Le = "toast.swipeMove", Me = "toast.sw
196
196
  }),
197
197
  onSwipeEnd: h(e.onSwipeEnd, (i) => {
198
198
  const { x, y: E } = i.detail.delta;
199
- i.currentTarget.setAttribute("data-swipe", "end"), i.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), i.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), i.currentTarget.style.setProperty("--radix-toast-swipe-end-x", `${x}px`), i.currentTarget.style.setProperty("--radix-toast-swipe-end-y", `${E}px`), v(!1);
199
+ i.currentTarget.setAttribute("data-swipe", "end"), i.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), i.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), i.currentTarget.style.setProperty("--radix-toast-swipe-end-x", `${x}px`), i.currentTarget.style.setProperty("--radix-toast-swipe-end-y", `${E}px`), T(!1);
200
200
  })
201
201
  }
202
202
  ) });
@@ -214,8 +214,8 @@ var [ke, Ke] = se(M, {
214
214
  duration: c,
215
215
  open: d,
216
216
  onClose: p,
217
- onEscapeKeyDown: T,
218
- onPause: v,
217
+ onEscapeKeyDown: v,
218
+ onPause: T,
219
219
  onResume: i,
220
220
  onSwipeStart: x,
221
221
  onSwipeMove: E,
@@ -237,16 +237,16 @@ var [ke, Ke] = se(M, {
237
237
  K(_.current), i?.();
238
238
  }, b = () => {
239
239
  const N = (/* @__PURE__ */ new Date()).getTime() - w.current;
240
- _.current = _.current - N, window.clearTimeout(O.current), v?.();
240
+ _.current = _.current - N, window.clearTimeout(O.current), T?.();
241
241
  };
242
242
  return s.addEventListener(B, b), s.addEventListener(j, R), () => {
243
243
  s.removeEventListener(B, b), s.removeEventListener(j, R);
244
244
  };
245
245
  }
246
- }, [u.viewport, C, v, i, K]), n.useEffect(() => {
246
+ }, [u.viewport, C, T, i, K]), n.useEffect(() => {
247
247
  d && !u.isClosePausedRef.current && K(C);
248
248
  }, [d, C, u.isClosePausedRef, K]), n.useEffect(() => (D(), () => k()), [D, k]);
249
- const Z = n.useMemo(() => a ? ve(a) : null, [a]);
249
+ const Z = n.useMemo(() => a ? Te(a) : null, [a]);
250
250
  return u.viewport ? /* @__PURE__ */ z(ne, { children: [
251
251
  Z && /* @__PURE__ */ l(
252
252
  He,
@@ -260,10 +260,10 @@ var [ke, Ke] = se(M, {
260
260
  ),
261
261
  /* @__PURE__ */ l(ke, { scope: r, onClose: I, children: ye.createPortal(
262
262
  /* @__PURE__ */ l(J.ItemSlot, { scope: r, children: /* @__PURE__ */ l(
263
- he,
263
+ xe,
264
264
  {
265
265
  asChild: !0,
266
- onEscapeKeyDown: h(T, () => {
266
+ onEscapeKeyDown: h(v, () => {
267
267
  u.isFocusedToastEscapeKeyDownRef.current || I(), u.isFocusedToastEscapeKeyDownRef.current = !1;
268
268
  }),
269
269
  children: /* @__PURE__ */ l(
@@ -279,7 +279,7 @@ var [ke, Ke] = se(M, {
279
279
  ref: f,
280
280
  style: { userSelect: "none", touchAction: "none", ...e.style },
281
281
  onKeyDown: h(e.onKeyDown, (s) => {
282
- s.key === "Escape" && (T?.(s.nativeEvent), s.nativeEvent.defaultPrevented || (u.isFocusedToastEscapeKeyDownRef.current = !0, I()));
282
+ s.key === "Escape" && (v?.(s.nativeEvent), s.nativeEvent.defaultPrevented || (u.isFocusedToastEscapeKeyDownRef.current = !0, I()));
283
283
  }),
284
284
  onPointerDown: h(e.onPointerDown, (s) => {
285
285
  s.button === 0 && (m.current = { x: s.clientX, y: s.clientY });
@@ -320,11 +320,11 @@ var [ke, Ke] = se(M, {
320
320
  ] }) : null;
321
321
  }
322
322
  ), He = (e) => {
323
- const { __scopeToast: o, children: r, ...t } = e, c = X(M, o), [d, p] = n.useState(!1), [T, v] = n.useState(!1);
323
+ const { __scopeToast: o, children: r, ...t } = e, c = X(M, o), [d, p] = n.useState(!1), [v, T] = n.useState(!1);
324
324
  return Ye(() => p(!0)), n.useEffect(() => {
325
- const i = window.setTimeout(() => v(!0), 1e3);
325
+ const i = window.setTimeout(() => T(!0), 1e3);
326
326
  return () => window.clearTimeout(i);
327
- }, []), T ? null : /* @__PURE__ */ l(Re, { asChild: !0, children: /* @__PURE__ */ l(re, { ...t, children: d && /* @__PURE__ */ z(ne, { children: [
327
+ }, []), v ? null : /* @__PURE__ */ l(Re, { asChild: !0, children: /* @__PURE__ */ l(re, { ...t, children: d && /* @__PURE__ */ z(ne, { children: [
328
328
  c.label,
329
329
  " ",
330
330
  r
@@ -346,7 +346,7 @@ Xe.displayName = Ue;
346
346
  var pe = "ToastAction", fe = n.forwardRef(
347
347
  (e, o) => {
348
348
  const { altText: r, ...t } = e;
349
- return r.trim() ? /* @__PURE__ */ l(Te, { altText: r, asChild: !0, children: /* @__PURE__ */ l(Q, { ...t, ref: o }) }) : (console.error(
349
+ return r.trim() ? /* @__PURE__ */ l(ve, { altText: r, asChild: !0, children: /* @__PURE__ */ l(Q, { ...t, ref: o }) }) : (console.error(
350
350
  `Invalid prop \`altText\` supplied to \`${pe}\`. Expected non-empty \`string\`.`
351
351
  ), null);
352
352
  }
@@ -355,7 +355,7 @@ fe.displayName = pe;
355
355
  var me = "ToastClose", Q = n.forwardRef(
356
356
  (e, o) => {
357
357
  const { __scopeToast: r, ...t } = e, c = Ke(me, r);
358
- return /* @__PURE__ */ l(Te, { asChild: !0, children: /* @__PURE__ */ l(
358
+ return /* @__PURE__ */ l(ve, { asChild: !0, children: /* @__PURE__ */ l(
359
359
  A.button,
360
360
  {
361
361
  type: "button",
@@ -367,7 +367,7 @@ var me = "ToastClose", Q = n.forwardRef(
367
367
  }
368
368
  );
369
369
  Q.displayName = me;
370
- var Te = n.forwardRef((e, o) => {
370
+ var ve = n.forwardRef((e, o) => {
371
371
  const { __scopeToast: r, altText: t, ...c } = e;
372
372
  return /* @__PURE__ */ l(
373
373
  A.div,
@@ -379,7 +379,7 @@ var Te = n.forwardRef((e, o) => {
379
379
  }
380
380
  );
381
381
  });
382
- function ve(e) {
382
+ function Te(e) {
383
383
  const o = [];
384
384
  return Array.from(e.childNodes).forEach((t) => {
385
385
  if (t.nodeType === t.TEXT_NODE && t.textContent && o.push(t.textContent), $e(t)) {
@@ -389,7 +389,7 @@ function ve(e) {
389
389
  const p = t.dataset.radixToastAnnounceAlt;
390
390
  p && o.push(p);
391
391
  } else
392
- o.push(...ve(t));
392
+ o.push(...Te(t));
393
393
  }
394
394
  }), o;
395
395
  }
@@ -428,13 +428,13 @@ function $(e) {
428
428
  const o = document.activeElement;
429
429
  return e.some((r) => r === o ? !0 : (r.focus(), document.activeElement !== o));
430
430
  }
431
- var it = ae, ct = ce, ut = le, lt = de, dt = fe, pt = Q;
431
+ var at = ae, it = ce, ct = le, ut = de, lt = fe, dt = Q;
432
432
  export {
433
- dt as Action,
434
- pt as Close,
435
- it as Provider,
436
- ut as Root,
437
- lt as Title,
433
+ lt as Action,
434
+ dt as Close,
435
+ at as Provider,
436
+ ct as Root,
437
+ ut as Title,
438
438
  le as Toast,
439
439
  fe as ToastAction,
440
440
  Q as ToastClose,
@@ -442,6 +442,5 @@ export {
442
442
  ae as ToastProvider,
443
443
  de as ToastTitle,
444
444
  ce as ToastViewport,
445
- ct as Viewport,
446
- at as createToastScope
445
+ it as Viewport
447
446
  };
@@ -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
  }, {});
@@ -1,7 +1,7 @@
1
- const h = /([\p{Ll}\d])(\p{Lu})/gu, L = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu, E = /(\d)\p{Ll}|(\p{L})\d/u, d = /[^\p{L}\d]+/giu, a = "$1\0$2", f = "";
2
- function o(t) {
1
+ const E = /([\p{Ll}\d])(\p{Lu})/gu, u = /(\p{Lu})([\p{Lu}][\p{Ll}])/gu, L = /(\d)\p{Ll}|(\p{L})\d/u, _ = /[^\p{L}\d]+/giu, a = "$1\0$2";
2
+ function f(t) {
3
3
  let e = t.trim();
4
- e = e.replace(h, a).replace(L, a), e = e.replace(d, "\0");
4
+ e = e.replace(E, a).replace(u, a), e = e.replace(_, "\0");
5
5
  let r = 0, c = e.length;
6
6
  for (; e.charAt(r) === "\0"; )
7
7
  r++;
@@ -11,10 +11,10 @@ function o(t) {
11
11
  c--;
12
12
  return e.slice(r, c).split(/\0/g);
13
13
  }
14
- function x(t) {
15
- const e = o(t);
14
+ function R(t) {
15
+ const e = f(t);
16
16
  for (let r = 0; r < e.length; r++) {
17
- const c = e[r], l = E.exec(c);
17
+ const c = e[r], l = L.exec(c);
18
18
  if (l) {
19
19
  const s = l.index + (l[1] ?? l[2]).length;
20
20
  e.splice(r, 1, c.slice(0, s), c.slice(s));
@@ -22,18 +22,18 @@ function x(t) {
22
22
  }
23
23
  return e;
24
24
  }
25
- function P(t, e) {
26
- const [r, c, l] = p(t, e);
27
- return r + c.map(_(e?.locale)).join(e?.delimiter ?? " ") + l;
25
+ function h(t, e) {
26
+ const [r, c, l] = P(t, e);
27
+ return r + c.map(A(e?.locale)).join(e?.delimiter ?? " ") + l;
28
28
  }
29
- function R(t, e) {
30
- return P(t, { delimiter: "-", ...e });
29
+ function d(t, e) {
30
+ return h(t, { delimiter: "-", ...e });
31
31
  }
32
- function _(t) {
32
+ function A(t) {
33
33
  return t === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(t);
34
34
  }
35
- function p(t, e = {}) {
36
- const r = e.split ?? (e.separateNumbers ? x : o), c = e.prefixCharacters ?? f, l = e.suffixCharacters ?? f;
35
+ function P(t, e = {}) {
36
+ const r = e.split ?? (e.separateNumbers ? R : f), c = e.prefixCharacters ?? "", l = e.suffixCharacters ?? "";
37
37
  let s = 0, n = t.length;
38
38
  for (; s < t.length; ) {
39
39
  const i = t.charAt(s);
@@ -42,8 +42,8 @@ function p(t, e = {}) {
42
42
  s++;
43
43
  }
44
44
  for (; n > s; ) {
45
- const i = n - 1, u = t.charAt(i);
46
- if (!l.includes(u))
45
+ const i = n - 1, o = t.charAt(i);
46
+ if (!l.includes(o))
47
47
  break;
48
48
  n = i;
49
49
  }
@@ -54,8 +54,8 @@ function p(t, e = {}) {
54
54
  ];
55
55
  }
56
56
  export {
57
- R as kebabCase,
58
- P as noCase,
59
- o as split,
60
- x as splitSeparateNumbers
57
+ d as kebabCase,
58
+ h as noCase,
59
+ f as split,
60
+ R as splitSeparateNumbers
61
61
  };
@@ -1,42 +1,37 @@
1
- import { getDefaultExportFromCjs as u } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as i } from "../../_virtual/index2.js";
3
- /*!
4
- Copyright (c) 2018 Jed Watson.
5
- Licensed under the MIT License (MIT), see
6
- http://jedwatson.github.io/classnames
7
- */
8
- (function(s) {
9
- (function() {
10
- var f = {}.hasOwnProperty;
11
- function e() {
12
- for (var t = "", r = 0; r < arguments.length; r++) {
13
- var n = arguments[r];
14
- n && (t = o(t, a(n)));
1
+ import { __module as s } from "../../_virtual/index4.js";
2
+ var u;
3
+ function c() {
4
+ return u ? s.exports : (u = 1, (function(i) {
5
+ (function() {
6
+ var f = {}.hasOwnProperty;
7
+ function n() {
8
+ for (var r = "", t = 0; t < arguments.length; t++) {
9
+ var e = arguments[t];
10
+ e && (r = o(r, a(e)));
11
+ }
12
+ return r;
15
13
  }
16
- return t;
17
- }
18
- function a(t) {
19
- if (typeof t == "string" || typeof t == "number")
14
+ function a(r) {
15
+ if (typeof r == "string" || typeof r == "number")
16
+ return r;
17
+ if (typeof r != "object")
18
+ return "";
19
+ if (Array.isArray(r))
20
+ return n.apply(null, r);
21
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
22
+ return r.toString();
23
+ var t = "";
24
+ for (var e in r)
25
+ f.call(r, e) && r[e] && (t = o(t, e));
20
26
  return t;
21
- if (typeof t != "object")
22
- return "";
23
- if (Array.isArray(t))
24
- return e.apply(null, t);
25
- if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
26
- return t.toString();
27
- var r = "";
28
- for (var n in t)
29
- f.call(t, n) && t[n] && (r = o(r, n));
30
- return r;
31
- }
32
- function o(t, r) {
33
- return r ? t ? t + " " + r : t + r : t;
34
- }
35
- s.exports ? (e.default = e, s.exports = e) : window.classNames = e;
36
- })();
37
- })(i);
38
- var p = i.exports;
39
- const m = /* @__PURE__ */ u(p);
27
+ }
28
+ function o(r, t) {
29
+ return t ? r ? r + " " + t : r + t : r;
30
+ }
31
+ i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
32
+ })();
33
+ })(s), s.exports);
34
+ }
40
35
  export {
41
- m as default
36
+ c as __require
42
37
  };