@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
@@ -1,15 +1,15 @@
1
- import { jsxs as f, jsx as t, Fragment as g } from "react/jsx-runtime";
2
- import * as l from "react";
3
- import ut from "../../node_modules/classnames/index.js";
1
+ import { jsxs as f, jsx as t, Fragment as y } from "react/jsx-runtime";
2
+ import * as a from "react";
3
+ import ut from "../../_virtual/index.js";
4
4
  import { px as c } from "../../utils/index.js";
5
5
  import v from "../../components/Input/Input.js";
6
- import o from "../../components/Button/Button.js";
7
- import { ButtonVariants as r } from "../../components/Button/types.js";
6
+ import l from "../../components/Button/Button.js";
7
+ import { ButtonVariants as o } from "../../components/Button/types.js";
8
8
  import ft from "./ViewingsListCardForm.js";
9
9
  const s = `${c}-viewings-list-card`, Et = ({
10
10
  address1: E,
11
11
  address1Label: $,
12
- addressUrl: y,
12
+ addressUrl: g,
13
13
  addressUrlLabel: C,
14
14
  address2: O,
15
15
  address2Label: w,
@@ -34,8 +34,8 @@ const s = `${c}-viewings-list-card`, Et = ({
34
34
  locationLabel: R = "Location",
35
35
  onCancel: d,
36
36
  onEdit: p,
37
- onDelete: h,
38
- onSave: b,
37
+ onDelete: b,
38
+ onSave: h,
39
39
  previewDates: q,
40
40
  previewDatesLabel: G,
41
41
  previewHours1: H,
@@ -54,20 +54,20 @@ const s = `${c}-viewings-list-card`, Et = ({
54
54
  viewingHours1: et,
55
55
  viewingHours1Label: nt,
56
56
  viewingHours2: it,
57
- viewingHours2Label: at
57
+ viewingHours2Label: rt
58
58
  }) => {
59
- const [lt, ot] = l.useState(m === "true"), a = l.useRef(null);
60
- l.useEffect(() => {
61
- n && a.current && a.current.focus();
62
- }, [n]), l.useEffect(() => {
63
- i && a.current && a.current.closest(`.${c}-viewings-list-card`)?.querySelector(`.${c}-input--invalid input`)?.focus();
59
+ const [at, lt] = a.useState(m === "true"), r = a.useRef(null);
60
+ a.useEffect(() => {
61
+ n && r.current && r.current.focus();
62
+ }, [n]), a.useEffect(() => {
63
+ i && r.current && r.current.closest(`.${c}-viewings-list-card`)?.querySelector(`.${c}-input--invalid input`)?.focus();
64
64
  }, [i]);
65
- const rt = () => {
65
+ const ot = () => {
66
66
  typeof d == "function" && d();
67
67
  }, st = () => {
68
68
  typeof p == "function" && p();
69
69
  }, ct = (u) => {
70
- typeof b == "function" && b(u);
70
+ typeof h == "function" && h(u);
71
71
  };
72
72
  return /* @__PURE__ */ f(
73
73
  "section",
@@ -81,7 +81,7 @@ const s = `${c}-viewings-list-card`, Et = ({
81
81
  /* @__PURE__ */ t(
82
82
  v,
83
83
  {
84
- ref: a,
84
+ ref: r,
85
85
  id: `location-${e}`,
86
86
  defaultValue: D,
87
87
  labelText: R,
@@ -97,7 +97,7 @@ const s = `${c}-viewings-list-card`, Et = ({
97
97
  {
98
98
  address1: E,
99
99
  address1Label: $,
100
- addressUrl: y,
100
+ addressUrl: g,
101
101
  addressUrlLabel: C,
102
102
  address2: O,
103
103
  address2Label: w,
@@ -128,7 +128,7 @@ const s = `${c}-viewings-list-card`, Et = ({
128
128
  viewingHours1: et,
129
129
  viewingHours1Label: nt,
130
130
  viewingHours2: it,
131
- viewingHours2Label: at
131
+ viewingHours2Label: rt
132
132
  }
133
133
  ) : null,
134
134
  /* @__PURE__ */ t(
@@ -142,24 +142,33 @@ const s = `${c}-viewings-list-card`, Et = ({
142
142
  inline: !0,
143
143
  value: "true",
144
144
  name: "enableOnSite",
145
- onChange: () => ot((u) => !u),
145
+ onChange: () => lt((u) => !u),
146
146
  readOnly: !n
147
147
  }
148
148
  ),
149
- lt ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
149
+ at ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
150
150
  /* @__PURE__ */ t("hr", {}),
151
- /* @__PURE__ */ t("div", { className: `${s}__btn-group ${c}-button__group`, children: n ? /* @__PURE__ */ f(g, { children: [
152
- /* @__PURE__ */ t(o, { id: `vlc-save-btn-${e}`, variant: r.ghost, type: "submit", onClick: ct, children: X }),
153
- /* @__PURE__ */ t(o, { id: `vlc-cancel-btn-${e}`, variant: r.ghost, type: "button", onClick: rt, children: L })
154
- ] }) : /* @__PURE__ */ f(g, { children: [
155
- /* @__PURE__ */ t(o, { id: `vlc-edit-btn-${e}`, variant: r.ghost, type: "button", onClick: st, children: _ }),
151
+ /* @__PURE__ */ t("div", { className: `${s}__btn-group ${c}-button__group`, children: n ? /* @__PURE__ */ f(y, { children: [
152
+ /* @__PURE__ */ t(l, { id: `vlc-save-btn-${e}`, variant: o.tertiary, type: "submit", onClick: ct, children: X }),
156
153
  /* @__PURE__ */ t(
157
- o,
154
+ l,
155
+ {
156
+ id: `vlc-cancel-btn-${e}`,
157
+ variant: o.tertiary,
158
+ type: "button",
159
+ onClick: ot,
160
+ children: L
161
+ }
162
+ )
163
+ ] }) : /* @__PURE__ */ f(y, { children: [
164
+ /* @__PURE__ */ t(l, { id: `vlc-edit-btn-${e}`, variant: o.tertiary, type: "button", onClick: st, children: _ }),
165
+ /* @__PURE__ */ t(
166
+ l,
158
167
  {
159
168
  id: `vlc-delete-btn-${e}`,
160
- variant: r.ghost,
169
+ variant: o.tertiary,
161
170
  type: "button",
162
- onClick: () => typeof h == "function" && h(e),
171
+ onClick: () => typeof b == "function" && b(e),
163
172
  children: V
164
173
  }
165
174
  )
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, Fragment as B, jsx as a } from "react/jsx-runtime";
2
- import w from "../../node_modules/classnames/index.js";
2
+ import w from "../../_virtual/index.js";
3
3
  import * as m from "react";
4
4
  import { px as G } from "../../utils/index.js";
5
5
  import s from "../../components/Input/Input.js";
@@ -1,8 +1,7 @@
1
- import "../../node_modules/@artsy/fresnel/dist/index.js";
2
- import { BREAKPOINTS as e } from "../../utils/constants.js";
3
- import { __exports as r } from "../../_virtual/index.js";
4
- const t = r.createMedia({ breakpoints: e }), s = t.createMediaStyle();
1
+ import { d as e } from "../../_virtual/index2.js";
2
+ import { BREAKPOINTS as r } from "../../utils/constants.js";
3
+ const t = e.createMedia({ breakpoints: r }), i = t.createMediaStyle();
5
4
  export {
6
5
  t as SSRMediaQuery,
7
- s as ssrMediaQueryStyle
6
+ i as ssrMediaQueryStyle
8
7
  };
@@ -40,6 +40,7 @@
40
40
  @use 'components/Pagination/pagination';
41
41
  @use 'components/ContentPeek/contentPeek';
42
42
  @use 'components/PageContentWrapper/pageContentWrapper';
43
+ @use 'components/DatePicker/datePicker';
43
44
  @use 'components/Carousel/carousel';
44
45
  @use 'components/ComboBox/combobox';
45
46
  @use 'components/Tags/tags';
@@ -21,6 +21,23 @@
21
21
  color 0.25s,
22
22
  background-color 0.25s;
23
23
 
24
+ &--small {
25
+ height: 32px; // Explicitly defined by design
26
+ max-width: 160px; // Explicitly defined by design
27
+ min-width: 72px; // Explicitly defined by design
28
+ padding: 0 $padding-sm;
29
+
30
+ svg {
31
+ height: calc($font-size-label-small * 1.1);
32
+ width: calc($font-size-label-small * 1.1);
33
+
34
+ @include media($breakpoint-md) {
35
+ height: calc($font-size-label-small * 1.2);
36
+ width: calc($font-size-label-small * 1.2);
37
+ }
38
+ }
39
+ }
40
+
24
41
  svg {
25
42
  fill: $pure-white;
26
43
  height: calc($font-size-label-small * 1.3);
@@ -39,13 +56,21 @@
39
56
 
40
57
  &--primary,
41
58
  &--secondary,
42
- &--ghost,
43
59
  &--tertiary {
44
60
  &.#{$px}-link {
45
61
  text-decoration: none;
46
62
  }
47
63
  }
48
64
 
65
+ &--primary.#{$px}-link,
66
+ &--secondary.#{$px}-link {
67
+ font-variation-settings: 'wght' 600;
68
+
69
+ .#{$px}-text {
70
+ font-variation-settings: 'wght' 600;
71
+ }
72
+ }
73
+
49
74
  &:not(.#{$px}-button--link) {
50
75
  &.#{$px}-button--primary {
51
76
  color: $white-100;
@@ -95,8 +120,7 @@
95
120
  }
96
121
  }
97
122
 
98
- &--secondary,
99
- &--ghost {
123
+ &--secondary {
100
124
  background-color: $pure-white;
101
125
  border: 2px solid $pure-black;
102
126
  color: $pure-black;
@@ -144,37 +168,9 @@
144
168
  }
145
169
  }
146
170
 
147
- &--ghost {
148
- border-color: transparent;
149
-
150
- @include hoverOrActive {
151
- background-color: transparent;
152
- border: 1px solid transparent;
153
- color: $pure-white;
154
-
155
- svg {
156
- fill: $pure-white;
157
-
158
- path {
159
- fill: $pure-white;
160
- }
161
- }
162
-
163
- &::before {
164
- background: $button-hover;
165
- height: 100%;
166
- left: 0;
167
- top: 0;
168
- width: 100%;
169
- }
170
- }
171
- }
172
-
173
171
  &--tertiary {
174
172
  background-color: transparent;
175
- border: 0;
176
173
  color: $pure-black;
177
- padding: 0 $spacing-micro;
178
174
 
179
175
  svg {
180
176
  fill: $pure-black;
@@ -207,7 +203,7 @@
207
203
 
208
204
  &:disabled {
209
205
  background-color: $grey-50;
210
- border: 1px solid $grey-50;
206
+ border: 2px solid $grey-50;
211
207
  color: $grey-75;
212
208
  cursor: default;
213
209
 
@@ -226,8 +222,8 @@
226
222
  }
227
223
  }
228
224
 
229
- &--ghost:disabled,
230
225
  &--tertiary:disabled {
226
+ background-color: transparent;
231
227
  border-color: transparent;
232
228
  }
233
229
 
@@ -0,0 +1,76 @@
1
+ @use '../../allPartials' as *;
2
+
3
+ @mixin grid-layout {
4
+ display: grid;
5
+ gap: 0;
6
+ grid-template-columns: 150px repeat(5, 1fr);
7
+ }
8
+
9
+ @mixin cell-base {
10
+ align-items: center;
11
+ display: flex;
12
+ height: 100%;
13
+ justify-content: center;
14
+ padding: $spacing-sm;
15
+ }
16
+
17
+ @mixin cell-border {
18
+ border-right: 1px solid $bg-border;
19
+ }
20
+
21
+ .all-variants-grid {
22
+ background-color: $bg-default;
23
+ border: 1px solid $bg-border;
24
+ display: flex;
25
+ flex-direction: column;
26
+ overflow: hidden;
27
+
28
+ &__header {
29
+ @include grid-layout;
30
+
31
+ background-color: $grey-25;
32
+ border-bottom: 1px solid $bg-border;
33
+ font-weight: bold;
34
+
35
+ &-cell {
36
+ @include cell-base;
37
+ @include cell-border;
38
+
39
+ justify-content: center;
40
+ text-align: center;
41
+
42
+ &:last-child {
43
+ border-right: none;
44
+ }
45
+ }
46
+ }
47
+
48
+ &__row {
49
+ @include grid-layout;
50
+
51
+ background-color: $pure-white;
52
+ border-bottom: 1px solid $bg-border;
53
+ }
54
+
55
+ &__label-cell {
56
+ @include cell-base;
57
+ @include cell-border;
58
+
59
+ background-color: $grey-25;
60
+ font-weight: 600;
61
+ justify-content: flex-start;
62
+
63
+ &:last-child {
64
+ border-right: none;
65
+ }
66
+ }
67
+
68
+ &__button-cell {
69
+ @include cell-base;
70
+ @include cell-border;
71
+
72
+ &:last-child {
73
+ border-right: none;
74
+ }
75
+ }
76
+ }
@@ -65,11 +65,11 @@
65
65
  .flatpickr-current-month.flatpickr-current-month {
66
66
  @include text($labelLarge);
67
67
 
68
+ padding: 0.65rem 0 0;
69
+
68
70
  .cur-year {
69
71
  @include text($labelLarge);
70
72
  }
71
-
72
- padding: 0.65rem 0 0;
73
73
  }
74
74
 
75
75
  .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n + 1)),
@@ -1,4 +1,4 @@
1
- @import '../../_vars';
1
+ @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-drawer {
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- @import '../../allPartials';
1
+ @use '../../allPartials' as *;
2
2
 
3
3
  .story-icon-flex-wrapper {
4
4
  box-shadow: 0 0 8px 0 rgba($pure-black, 0.2);
@@ -1,5 +1,3 @@
1
- @import '../../allPartials';
2
-
3
1
  .story-center-align {
4
2
  text-align: center;
5
3
  }
@@ -1,5 +1,5 @@
1
1
  import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
- import s from "../../node_modules/classnames/index.js";
2
+ import s from "../../_virtual/index.js";
3
3
  import { px as r, defaultYear as m } from "../../utils/index.js";
4
4
  import { TextVariants as f } from "../../components/Text/types.js";
5
5
  import c from "../../components/Text/Text.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
- import c from "../../node_modules/classnames/index.js";
2
+ import c from "../../_virtual/index.js";
3
3
  import t, { createContext as D, forwardRef as F, useState as u, useEffect as C } from "react";
4
4
  import G from "../../components/Icon/Icon.js";
5
5
  import H from "../../components/Navigation/Navigation.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.236.0",
3
+ "version": "1.238.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"
@@ -39,7 +39,7 @@
39
39
  "create-component": "node --no-warnings --loader ts-node/esm .template/scripts/createComponent.ts",
40
40
  "format": "prettier . --write",
41
41
  "lint": "tsc --noEmit && npm run lint:js && npm run lint:styles && npm run lint:md",
42
- "lint:js": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
42
+ "lint:js": "eslint . --report-unused-disable-directives --max-warnings 0",
43
43
  "lint:styles": "stylelint \"src/**/*.scss\" --fix",
44
44
  "lint:md": "markdownlint \"src/**/*.{md,mdx}\" --fix",
45
45
  "prepare": "husky install",
@@ -79,25 +79,20 @@
79
79
  "uuid": "^11.1.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@chromatic-com/storybook": "^3.2.3",
82
+ "@chromatic-com/storybook": "^5.0.1",
83
83
  "@commitlint/cli": "^19.3.0",
84
84
  "@commitlint/config-conventional": "^19.2.2",
85
+ "@eslint/js": "^9.15.0",
85
86
  "@figma/code-connect": "^0.2.1",
86
87
  "@semantic-release/changelog": "^6.0.3",
87
88
  "@semantic-release/git": "^10.0.1",
88
89
  "@semantic-release/github": "^12.0.0",
89
90
  "@semantic-release/npm": "^13.1.4",
90
- "@storybook/addon-a11y": "^8.5.8",
91
- "@storybook/addon-essentials": "^8.5.0",
92
- "@storybook/addon-interactions": "^8.5.0",
93
- "@storybook/addon-links": "^8.5.0",
94
- "@storybook/addon-mdx-gfm": "^8.5.0",
95
- "@storybook/blocks": "^8.5.0",
96
- "@storybook/manager-api": "^8.5.0",
97
- "@storybook/preview-api": "^8.5.0",
98
- "@storybook/react": "^8.5.0",
99
- "@storybook/react-vite": "^8.5.0",
100
- "@storybook/theming": "^8.5.0",
91
+ "@storybook/addon-a11y": "^10.2.8",
92
+ "@storybook/addon-docs": "^10.2.8",
93
+ "@storybook/addon-links": "^10.2.8",
94
+ "@storybook/react": "^10.2.8",
95
+ "@storybook/react-vite": "^10.2.8",
101
96
  "@svgr/cli": "^8.1.0",
102
97
  "@svgr/plugin-jsx": "^8.1.0",
103
98
  "@svgr/plugin-prettier": "^8.1.0",
@@ -111,18 +106,18 @@
111
106
  "@types/react-dom": "^18.0.11",
112
107
  "@types/react-transition-group": "^4.4.11",
113
108
  "@types/uuid": "^10.0.0",
114
- "@typescript-eslint/eslint-plugin": "^5.62.0",
115
- "@typescript-eslint/parser": "^5.62.0",
116
- "@vitejs/plugin-react": "^4.3.1",
117
- "@vitest/coverage-v8": "^1.6.0",
109
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
110
+ "@typescript-eslint/parser": "^8.18.0",
111
+ "@vitejs/plugin-react": "^5.1.4",
112
+ "@vitest/coverage-v8": "^4.0.18",
118
113
  "chromatic": "^13.1.4",
119
114
  "color": "^4.2.3",
120
- "eslint": "^8.57.0",
121
- "eslint-plugin-local-rules": "^3.0.2",
122
- "eslint-plugin-react": "^7.34.3",
123
- "eslint-plugin-react-hooks": "^4.6.2",
124
- "eslint-plugin-react-refresh": "^0.4.13",
125
- "eslint-plugin-storybook": "^0.11.2",
115
+ "eslint": "^9.15.0",
116
+ "eslint-plugin-react": "^7.37.0",
117
+ "eslint-plugin-react-hooks": "^5.0.0",
118
+ "eslint-plugin-react-refresh": "^0.5.0",
119
+ "eslint-plugin-storybook": "^10.2.8",
120
+ "globals": "^15.14.0",
126
121
  "husky": "^9.1.6",
127
122
  "jsdom": "^26.1.0",
128
123
  "markdownlint-cli": "^0.41.0",
@@ -135,7 +130,8 @@
135
130
  "rollup-plugin-peer-deps-external": "^2.2.4",
136
131
  "sass": "^1.83.4",
137
132
  "semantic-release": "^25.0.0",
138
- "storybook": "^8.6.15",
133
+ "storybook": "^10.2.8",
134
+ "storybook-addon-pseudo-states": "^10.2.8",
139
135
  "stylelint": "^16.8.1",
140
136
  "stylelint-config-standard": "^36.0.1",
141
137
  "stylelint-config-standard-scss": "^13.1.0",
@@ -144,11 +140,12 @@
144
140
  "ts-node": "^10.9.2",
145
141
  "type-fest": "^4.27.0",
146
142
  "typescript": "^5.5.4",
147
- "vite": "^5.4.14",
148
- "vite-plugin-dts": "^4.2.4",
149
- "vite-plugin-svgr": "^4.2.0",
150
- "vite-tsconfig-paths": "^4.3.2",
151
- "vitest": "^1.6.0"
143
+ "typescript-eslint": "^8.18.0",
144
+ "vite": "^7.3.1",
145
+ "vite-plugin-dts": "^4.5.4",
146
+ "vite-plugin-svgr": "^4.5.0",
147
+ "vite-tsconfig-paths": "^6.1.0",
148
+ "vitest": "^4.0.18"
152
149
  },
153
150
  "peerDependencies": {
154
151
  "react": "^18.3.1",