@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
@@ -3,20 +3,25 @@ function f(e) {
3
3
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
4
  }
5
5
  function l(e) {
6
- if (e.__esModule) return e;
7
- var r = e.default;
8
- if (typeof r == "function") {
9
- var t = function o() {
10
- return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
6
+ if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
7
+ var n = e.default;
8
+ if (typeof n == "function") {
9
+ var t = function r() {
10
+ var o = !1;
11
+ try {
12
+ o = this instanceof r;
13
+ } catch {
14
+ }
15
+ return o ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
11
16
  };
12
- t.prototype = r.prototype;
17
+ t.prototype = n.prototype;
13
18
  } else t = {};
14
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
15
- var n = Object.getOwnPropertyDescriptor(e, o);
16
- Object.defineProperty(t, o, n.get ? n : {
19
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
20
+ var o = Object.getOwnPropertyDescriptor(e, r);
21
+ Object.defineProperty(t, r, o.get ? o : {
17
22
  enumerable: !0,
18
23
  get: function() {
19
- return e[o];
24
+ return e[r];
20
25
  }
21
26
  });
22
27
  }), t;
@@ -1,4 +1,7 @@
1
- var r = {};
1
+ import { getDefaultExportFromCjs as s } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/classnames/index.js";
3
+ var a = r();
4
+ const t = /* @__PURE__ */ s(a);
2
5
  export {
3
- r as __exports
6
+ t as default
4
7
  };
@@ -1,4 +1,4 @@
1
- var o = { exports: {} };
1
+ var e = { exports: {} };
2
2
  export {
3
- o as __module
3
+ e as __module
4
4
  };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var a = {};
2
+ export {
3
+ a as __exports
4
+ };
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "../node_modules/property-expr/index.js";
2
+ var e = r();
3
+ export {
4
+ e as p
5
+ };
@@ -0,0 +1,5 @@
1
+ import { __require as r } from "../node_modules/tiny-case/index.js";
2
+ var a = r();
3
+ export {
4
+ a as t
5
+ };
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as o } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/toposort/index.js";
3
+ var t = r();
4
+ const s = /* @__PURE__ */ o(t);
5
+ export {
6
+ s as default
7
+ };
@@ -0,0 +1,4 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
@@ -0,0 +1,4 @@
1
+ var o = { exports: {} };
2
+ export {
3
+ o as __module
4
+ };
@@ -1,4 +1,5 @@
1
- var s = { exports: {} };
1
+ import { __require as r } from "../node_modules/@artsy/fresnel/dist/index.js";
2
+ var i = r();
2
3
  export {
3
- s as __module
4
+ i as d
4
5
  };
@@ -1,4 +1,4 @@
1
- var p = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- p as __module
3
+ r as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var s = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ s as __module
4
4
  };
@@ -1,4 +1,2 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };
1
+ import { __require as e } from "../node_modules/lodash.debounce/index.js";
2
+ e();
@@ -1,4 +1,7 @@
1
- var e = { exports: {} };
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../node_modules/prop-types/index.js";
3
+ var p = /* @__PURE__ */ o();
4
+ const s = /* @__PURE__ */ r(p);
2
5
  export {
3
- e as __module
6
+ s as default
4
7
  };
@@ -1,4 +1,5 @@
1
- var r = {};
1
+ import { __require as r } from "../node_modules/ics/dist/index.js";
2
+ var i = r();
2
3
  export {
3
- r as __exports
4
+ i as d
4
5
  };
@@ -1,4 +1,4 @@
1
- var a = {};
1
+ var p = { exports: {} };
2
2
  export {
3
- a as __exports
3
+ p as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- e as __module
3
+ r as __exports
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { forwardRef as d } from "react";
3
- import f from "../../node_modules/classnames/index.js";
3
+ import f from "../../_virtual/index.js";
4
4
  import { getCommonProps as l } from "../../utils/index.js";
5
5
  import { Root as A } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
6
6
  import { getAccordionVariantProps as C } from "./utils.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as N, jsx as t } from "react/jsx-runtime";
2
2
  import { Item as A, Trigger as _, Content as k } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
3
- import C from "../../node_modules/classnames/index.js";
3
+ import C from "../../_virtual/index.js";
4
4
  import { forwardRef as v, useRef as w, useCallback as T } from "react";
5
5
  import $ from "../Icon/Icon.js";
6
6
  import { getCommonProps as y, px as R } from "../../utils/index.js";
@@ -1,4 +1,4 @@
1
- import s from "../../node_modules/classnames/index.js";
1
+ import s from "../../_virtual/index.js";
2
2
  import { AccordionVariants as n, AccordionItemVariant as i } from "./types.js";
3
3
  const p = (o, e) => {
4
4
  const r = { type: "multiple" };
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as C } from "react/jsx-runtime";
2
2
  import { forwardRef as b, useState as h } from "react";
3
3
  import { getCommonProps as g } from "../../utils/index.js";
4
- import u from "../../node_modules/classnames/index.js";
4
+ import u from "../../_virtual/index.js";
5
5
  import N from "../Text/Text.js";
6
6
  import { Root as O, Trigger as I, Portal as T, Content as x, Item as A } from "../../node_modules/@radix-ui/react-dropdown-menu/dist/index.js";
7
7
  import L from "../Icon/Icon.js";
@@ -1,8 +1,8 @@
1
- import { createEvent as u } from "../../node_modules/ics/dist/index.js";
1
+ import { d as u } from "../../_virtual/index7.js";
2
2
  import { isValid as p } from "../../node_modules/date-fns/isValid.js";
3
3
  import { toZonedTime as m } from "../../node_modules/date-fns-tz/dist/esm/toZonedTime/index.js";
4
- import { formatDate as a } from "../../node_modules/date-fns/format.js";
5
4
  import { addHours as i } from "../../node_modules/date-fns/addHours.js";
5
+ import { format as s } from "../../node_modules/date-fns/format.js";
6
6
  const l = {
7
7
  google: "https://calendar.google.com/calendar/u/0/r/eventedit",
8
8
  outlook: "https://outlook.office.com/calendar/0/deeplink/compose",
@@ -30,7 +30,7 @@ const l = {
30
30
  }, H = (o, t, e) => {
31
31
  const n = y({
32
32
  text: e.title,
33
- dates: t ? `${a(o, "yyyyMMdd'T'HHmmss")}/${a(t, "yyyyMMdd'T'HHmmss")}` : `${a(o, "yyyyMMdd'T'HHmmss")}/${a(i(o, 1), "yyyyMMdd'T'HHmmss")}`,
33
+ dates: t ? `${s(o, "yyyyMMdd'T'HHmmss")}/${s(t, "yyyyMMdd'T'HHmmss")}` : `${s(o, "yyyyMMdd'T'HHmmss")}/${s(i(o, 1), "yyyyMMdd'T'HHmmss")}`,
34
34
  ctz: e.timezone,
35
35
  details: e.description,
36
36
  location: e.location
@@ -41,23 +41,23 @@ const l = {
41
41
  path: "/calendar/action/compose",
42
42
  rru: "addevent",
43
43
  subject: e.title,
44
- startdt: a(o, "yyyy-MM-dd'T'HH:mm:ssXXX"),
45
- enddt: t ? a(t, "yyyy-MM-dd'T'HH:mm:ssXXX") : a(i(o, 1), "yyyy-MM-dd'T'HH:mm:ssXXX"),
44
+ startdt: s(o, "yyyy-MM-dd'T'HH:mm:ssXXX"),
45
+ enddt: t ? s(t, "yyyy-MM-dd'T'HH:mm:ssXXX") : s(i(o, 1), "yyyy-MM-dd'T'HH:mm:ssXXX"),
46
46
  body: e.description,
47
47
  location: e.location,
48
48
  allday: "false"
49
49
  }), r = new URL(l.outlook);
50
50
  return r.search = n.toString(), r.toString();
51
51
  }, k = (o, t, e) => {
52
- const n = encodeURIComponent(e.title), r = encodeURIComponent(e.description), c = encodeURIComponent(e.location), s = a(o, "yyyyMMdd'T'HHmmss"), g = t ? a(t, "yyyyMMdd'T'HHmmss") : a(i(o, 1), "yyyyMMdd'T'HHmmss");
53
- return `${l.yahoo}?v=60&view=d&type=20&title=${n}&st=${s}&et=${g}&desc=${r}&in_loc=${c}`;
52
+ const n = encodeURIComponent(e.title), r = encodeURIComponent(e.description), c = encodeURIComponent(e.location), a = s(o, "yyyyMMdd'T'HHmmss"), g = t ? s(t, "yyyyMMdd'T'HHmmss") : s(i(o, 1), "yyyyMMdd'T'HHmmss");
53
+ return `${l.yahoo}?v=60&view=d&type=20&title=${n}&st=${a}&et=${g}&desc=${r}&in_loc=${c}`;
54
54
  }, R = (o) => d("google", o), $ = (o) => d("outlook", o), X = (o) => d("yahoo", o), b = (o) => {
55
55
  if (!o.start) {
56
56
  console.error("Invalid event start date:", o);
57
57
  return;
58
58
  }
59
59
  const t = o.end ? o.end : i(o.start, 1);
60
- u(
60
+ u.createEvent(
61
61
  {
62
62
  title: o.title,
63
63
  description: o.description,
@@ -75,8 +75,8 @@ const l = {
75
75
  if (e)
76
76
  console.error("Error creating iCalendar event:", e);
77
77
  else {
78
- const r = new File([n], `${o.title}.ics`, { type: "text/calendar" }), c = URL.createObjectURL(r), s = document.createElement("a");
79
- s.href = c, s.download = r.name, document.body.appendChild(s), s.click(), document.body.removeChild(s), URL.revokeObjectURL(c);
78
+ const r = new File([n], `${o.title}.ics`, { type: "text/calendar" }), c = URL.createObjectURL(r), a = document.createElement("a");
79
+ a.href = c, a.download = r.name, document.body.appendChild(a), a.click(), document.body.removeChild(a), URL.revokeObjectURL(c);
80
80
  }
81
81
  }
82
82
  );
@@ -1,7 +1,7 @@
1
1
  import { jsxs as s, jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as N } from "react";
3
3
  import { getCommonProps as h } from "../../utils/index.js";
4
- import x from "../../node_modules/classnames/index.js";
4
+ import x from "../../_virtual/index.js";
5
5
  import $ from "../SeldonImage/SeldonImage.js";
6
6
  import { TextVariants as c } from "../Text/types.js";
7
7
  import t from "../Text/Text.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as f, jsx as r } from "react/jsx-runtime";
2
2
  import { getCommonProps as h, px as m } from "../../utils/index.js";
3
- import u from "../../node_modules/classnames/index.js";
3
+ import u from "../../_virtual/index.js";
4
4
  import p from "./BreadcrumbItem.js";
5
5
  import { SSRMediaQuery as c } from "../../providers/SeldonProvider/utils.js";
6
6
  import x from "../Icon/Icon.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as h, jsx as m } from "react/jsx-runtime";
2
2
  import { getCommonProps as d } from "../../utils/index.js";
3
- import o from "../../node_modules/classnames/index.js";
3
+ import o from "../../_virtual/index.js";
4
4
  import u from "../Icon/Icon.js";
5
5
  const b = ({
6
6
  className: c,
@@ -1,4 +1,4 @@
1
- import { ButtonVariants } from './types';
1
+ import { ButtonVariants, ButtonSizes } from './types';
2
2
  export interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
3
3
  /**
4
4
  * Button contents
@@ -16,6 +16,10 @@ export interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement | HT
16
16
  * Is this the principal call to action on the page?
17
17
  */
18
18
  variant?: ButtonVariants;
19
+ /**
20
+ * The size of the button
21
+ */
22
+ size?: ButtonSizes;
19
23
  /**
20
24
  * The type of the button.
21
25
  */
@@ -1,96 +1,98 @@
1
- import { jsxs as P, Fragment as B, jsx as n } from "react/jsx-runtime";
2
- import C from "../../node_modules/classnames/index.js";
3
- import { getCommonProps as V, px as j } from "../../utils/index.js";
4
- import { ButtonVariants as s } from "./types.js";
5
- import { forwardRef as v, useState as w } from "react";
6
- import { LinkVariants as l } from "../Link/types.js";
7
- import H from "../Link/Link.js";
8
- const g = v(
1
+ import { jsxs as j, Fragment as C, jsx as n } from "react/jsx-runtime";
2
+ import N from "../../_virtual/index.js";
3
+ import { getCommonProps as v, px as w } from "../../utils/index.js";
4
+ import { ButtonVariants as l, ButtonSizes as y } from "./types.js";
5
+ import { forwardRef as H, useState as g } from "react";
6
+ import { LinkVariants as s } from "../Link/types.js";
7
+ import F from "../Link/Link.js";
8
+ const I = H(
9
9
  ({
10
- variant: t = s.primary,
11
- children: k,
10
+ variant: t = l.primary,
11
+ size: k = y.default,
12
+ children: u,
12
13
  className: c,
13
- isIconLast: u = !1,
14
- type: N = "button",
14
+ isIconLast: f = !1,
15
+ type: L = "button",
15
16
  isDisabled: a = !1,
16
17
  href: o,
17
- target: f,
18
- prefetch: d = "none",
18
+ target: d,
19
+ prefetch: p = "none",
19
20
  isSkeletonLoading: i,
20
- linkSize: y = "md",
21
+ linkSize: M = "md",
21
22
  ...m
22
- }, p) => {
23
- const { className: e, ...$ } = V(m, "Button"), [L, M] = w(!1);
24
- if (o || t === s.link) {
25
- const b = () => /* @__PURE__ */ n(B, { children: /* @__PURE__ */ n("link", { "data-testid": "prefetch-link", rel: "prefetch", href: o }) });
26
- let r = l.linkMedium;
27
- switch (y) {
23
+ }, $) => {
24
+ const { className: e, ...b } = v(m, "Button"), [P, V] = g(!1);
25
+ if (o || t === l.link) {
26
+ const B = () => /* @__PURE__ */ n(C, { children: /* @__PURE__ */ n("link", { "data-testid": "prefetch-link", rel: "prefetch", href: o }) });
27
+ let r = s.linkMedium;
28
+ switch (M) {
28
29
  case "lg":
29
- r = l.linkLarge;
30
+ r = s.linkLarge;
30
31
  break;
31
32
  case "md":
32
- r = l.linkMedium;
33
+ r = s.linkMedium;
33
34
  break;
34
35
  case "sm":
35
- r = l.linkSmall;
36
+ r = s.linkSmall;
36
37
  break;
37
38
  }
38
- return /* @__PURE__ */ P(B, { children: [
39
+ return /* @__PURE__ */ j(C, { children: [
39
40
  /* @__PURE__ */ n(
40
- H,
41
+ F,
41
42
  {
42
- ...$,
43
+ ...b,
43
44
  variant: r,
44
- ref: p,
45
+ ref: $,
45
46
  href: o,
46
- className: C(
47
+ className: N(
47
48
  `${e}`,
48
- { [`${e}--${t}`]: t !== s.link },
49
- { [`${e}--link`]: t === s.link },
49
+ { [`${e}--${t}`]: t !== l.link },
50
+ { [`${e}--link`]: t === l.link },
50
51
  {
51
- [`${e}--icon-last`]: u
52
+ [`${e}--icon-last`]: f
52
53
  },
53
54
  c
54
55
  ),
55
- target: f,
56
- rel: f === "_blank" ? "noopener noreferrer" : void 0,
56
+ target: d,
57
+ rel: d === "_blank" ? "noopener noreferrer" : void 0,
57
58
  onMouseOver: () => {
58
- a || M(!0);
59
+ a || V(!0);
59
60
  },
60
61
  onClick: (x) => {
61
62
  a ? x.preventDefault() : m.onClick?.(x);
62
63
  },
63
- children: k
64
+ children: u
64
65
  }
65
66
  ),
66
- d === "intent" && o && L && /* @__PURE__ */ n(b, {}),
67
- d === "render" && o && /* @__PURE__ */ n(b, {})
67
+ p === "intent" && o && P && /* @__PURE__ */ n(B, {}),
68
+ p === "render" && o && /* @__PURE__ */ n(B, {})
68
69
  ] });
69
70
  } else
70
71
  return /* @__PURE__ */ n(
71
72
  "button",
72
73
  {
73
- ...$,
74
- ref: p,
75
- type: N,
74
+ ...b,
75
+ ref: $,
76
+ type: L,
76
77
  "aria-busy": i,
77
- className: C(
78
+ className: N(
78
79
  `${e}`,
79
80
  `${e}--${t}`,
81
+ { [`${e}--${k}`]: k !== y.default },
80
82
  {
81
- [`${e}--icon-last`]: u,
82
- [`${j}-skeleton`]: i
83
+ [`${e}--icon-last`]: f,
84
+ [`${w}-skeleton`]: i
83
85
  },
84
86
  c
85
87
  ),
86
88
  disabled: i || a,
87
89
  ...m,
88
- children: k
90
+ children: u
89
91
  }
90
92
  );
91
93
  }
92
94
  );
93
- g.displayName = "Button";
95
+ I.displayName = "Button";
94
96
  export {
95
- g as default
97
+ I as default
96
98
  };
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps } from './Button';
2
- import { ButtonVariants } from './types';
2
+ import { ButtonVariants, ButtonSizes } from './types';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
@@ -10,6 +10,12 @@ declare const meta: {
10
10
  type: "select";
11
11
  };
12
12
  };
13
+ size: {
14
+ options: ButtonSizes[];
15
+ control: {
16
+ type: "select";
17
+ };
18
+ };
13
19
  linkSize: {
14
20
  options: string[];
15
21
  control: {
@@ -36,13 +42,36 @@ export declare const ButtonAsLinkWithPrefetch: {
36
42
  (props: ButtonProps): import("react/jsx-runtime").JSX.Element;
37
43
  args: {
38
44
  variant: ButtonVariants;
39
- size: string;
40
- } | {
41
- variant: ButtonVariants;
42
- size: string;
45
+ linkSize: string;
43
46
  };
44
47
  };
45
48
  export declare const ButtonWithSkeleton: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
49
+ export declare const SmallButtonVariant: {
50
+ (props: ButtonProps): import("react/jsx-runtime").JSX.Element;
51
+ argTypes: {
52
+ size: {
53
+ control: boolean;
54
+ };
55
+ };
56
+ };
57
+ export declare const SmallButtonWithIcons: {
58
+ (): import("react/jsx-runtime").JSX.Element;
59
+ argTypes: {
60
+ size: {
61
+ control: boolean;
62
+ };
63
+ };
64
+ };
65
+ export declare const AllVariantsGrid: {
66
+ (): import("react/jsx-runtime").JSX.Element;
67
+ parameters: {
68
+ pseudo: {
69
+ hover: string[];
70
+ focus: string[];
71
+ focusVisible: string[];
72
+ };
73
+ };
74
+ };
46
75
  export declare const Playground: {
47
76
  args: {
48
77
  children: string;
@@ -0,0 +1,3 @@
1
+ export { default } from './Button';
2
+ export type { ButtonProps } from './Button';
3
+ export { ButtonVariants, ButtonSizes } from './types';
@@ -1,7 +1,10 @@
1
1
  export declare enum ButtonVariants {
2
2
  primary = "primary",
3
3
  secondary = "secondary",
4
- ghost = "ghost",
5
4
  tertiary = "tertiary",
6
5
  link = "link"
7
6
  }
7
+ export declare enum ButtonSizes {
8
+ default = "default",
9
+ small = "small"
10
+ }
@@ -1,4 +1,5 @@
1
- var e = /* @__PURE__ */ ((r) => (r.primary = "primary", r.secondary = "secondary", r.ghost = "ghost", r.tertiary = "tertiary", r.link = "link", r))(e || {});
1
+ var e = /* @__PURE__ */ ((r) => (r.primary = "primary", r.secondary = "secondary", r.tertiary = "tertiary", r.link = "link", r))(e || {}), l = /* @__PURE__ */ ((r) => (r.default = "default", r.small = "small", r))(l || {});
2
2
  export {
3
+ l as ButtonSizes,
3
4
  e as ButtonVariants
4
5
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
2
  import { createContext as R, forwardRef as K, useState as f, useEffect as m, useCallback as u } from "react";
3
3
  import { getCommonProps as W } from "../../utils/index.js";
4
- import j from "../../node_modules/classnames/index.js";
4
+ import j from "../../_virtual/index.js";
5
5
  import B from "../../node_modules/embla-carousel-class-names/esm/embla-carousel-class-names.esm.js";
6
6
  import G from "../../node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js";
7
7
  import { WheelGesturesPlugin as L } from "../../node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as b, jsx as r } from "react/jsx-runtime";
2
- import n from "../../node_modules/classnames/index.js";
2
+ import n from "../../_virtual/index.js";
3
3
  import { forwardRef as p, useCallback as l } from "react";
4
4
  import { getCommonProps as u } from "../../utils/index.js";
5
5
  import { useCarousel as f } from "./utils.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as f } from "react";
3
- import a from "../../node_modules/classnames/index.js";
3
+ import a from "../../_virtual/index.js";
4
4
  import { useCarousel as p } from "./utils.js";
5
5
  import { getCommonProps as u } from "../../utils/index.js";
6
6
  const C = f(
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import r from "../../node_modules/classnames/index.js";
2
+ import r from "../../_virtual/index.js";
3
3
  import { useInView as i } from "../../node_modules/react-intersection-observer/dist/index.js";
4
4
  import { getCommonProps as f } from "../../utils/index.js";
5
5
  const N = ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import E from "../../node_modules/classnames/index.js";
2
+ import E from "../../_virtual/index.js";
3
3
  import { forwardRef as G, useState as S, useRef as L, useCallback as l, useEffect as M, useMemo as q } from "react";
4
4
  import { useCarousel as z } from "./utils.js";
5
5
  import { getCommonProps as A } from "../../utils/index.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import i from "../../node_modules/classnames/index.js";
2
+ import i from "../../_virtual/index.js";
3
3
  import { forwardRef as c } from "react";
4
4
  import { getCommonProps as u } from "../../utils/index.js";
5
5
  import { useCarousel as p } from "./utils.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { Root as e } from "../../node_modules/@radix-ui/react-collapsible/dist/index.js";
3
3
  import { getCommonProps as t } from "../../utils/index.js";
4
- import p from "../../node_modules/classnames/index.js";
4
+ import p from "../../_virtual/index.js";
5
5
  import { forwardRef as i } from "react";
6
6
  const f = i(({ className: m, ...o }, s) => {
7
7
  const { className: a, ...r } = t(o, "Collapsible");
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
2
2
  import l from "react";
3
3
  import { Content as r } from "../../node_modules/@radix-ui/react-collapsible/dist/index.js";
4
4
  import { getCommonProps as n } from "../../utils/index.js";
5
- import p from "../../node_modules/classnames/index.js";
5
+ import p from "../../_virtual/index.js";
6
6
  const f = l.forwardRef(({ className: t, ...o }, e) => {
7
7
  const { className: a, ...m } = n(o, "CollapsibleContent");
8
8
  return /* @__PURE__ */ s(