@phillips/seldon 1.279.2 → 1.280.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 (386) hide show
  1. package/README.md +85 -5
  2. package/dist/_virtual/index3.cjs +1 -1
  3. package/dist/_virtual/index3.js +2 -2
  4. package/dist/_virtual/index4.cjs +1 -1
  5. package/dist/_virtual/index4.js +2 -4
  6. package/dist/_virtual/index5.cjs +1 -1
  7. package/dist/_virtual/index5.js +4 -2
  8. package/dist/components/Accordion/Accordion.cjs +2 -1
  9. package/dist/components/Accordion/Accordion.js +5 -3
  10. package/dist/components/Accordion/_accordion.css +1 -0
  11. package/dist/components/AddToCalendar/AddToCalendar.cjs +2 -1
  12. package/dist/components/AddToCalendar/AddToCalendar.js +2 -0
  13. package/dist/components/AddToCalendar/_addToCalendar.css +1 -0
  14. package/dist/components/Article/Article.cjs +2 -1
  15. package/dist/components/Article/Article.js +2 -0
  16. package/dist/components/Article/_article.css +1 -0
  17. package/dist/components/Banner/Banner.cjs +2 -1
  18. package/dist/components/Banner/Banner.js +4 -2
  19. package/dist/components/Banner/_banner.css +1 -0
  20. package/dist/components/Breadcrumb/Breadcrumb.cjs +2 -1
  21. package/dist/components/Breadcrumb/Breadcrumb.js +16 -14
  22. package/dist/components/Breadcrumb/_breadcrumb.css +1 -0
  23. package/dist/components/Button/Button.cjs +2 -1
  24. package/dist/components/Button/Button.js +2 -0
  25. package/dist/components/Button/_button.css +1 -0
  26. package/dist/components/Card/Card.cjs +2 -1
  27. package/dist/components/Card/Card.js +4 -2
  28. package/dist/components/Card/_card.css +1 -0
  29. package/dist/components/Carousel/Carousel.cjs +2 -1
  30. package/dist/components/Carousel/Carousel.js +68 -69
  31. package/dist/components/Carousel/CarouselDot.cjs +1 -1
  32. package/dist/components/Carousel/CarouselDot.d.ts +4 -2
  33. package/dist/components/Carousel/CarouselDot.js +12 -11
  34. package/dist/components/Carousel/CarouselDots.cjs +1 -1
  35. package/dist/components/Carousel/CarouselDots.js +62 -58
  36. package/dist/components/Carousel/_carousel.css +1 -0
  37. package/dist/components/ComboBox/ComboBox.cjs +3 -1
  38. package/dist/components/ComboBox/ComboBox.js +35 -31
  39. package/dist/components/ComboBox/ComboBox.stories.d.ts +1 -0
  40. package/dist/components/ComboBox/_combobox.css +1 -0
  41. package/dist/components/ComposedModal/ComposedModal.cjs +2 -1
  42. package/dist/components/ComposedModal/ComposedModal.js +11 -9
  43. package/dist/components/ComposedModal/_composedModal.css +1 -0
  44. package/dist/components/ContentPeek/ContentPeek.cjs +2 -1
  45. package/dist/components/ContentPeek/ContentPeek.js +2 -0
  46. package/dist/components/ContentPeek/_contentPeek.css +1 -0
  47. package/dist/components/Countdown/Countdown.cjs +2 -1
  48. package/dist/components/Countdown/Countdown.js +13 -11
  49. package/dist/components/Countdown/Duration.cjs +2 -1
  50. package/dist/components/Countdown/Duration.js +4 -2
  51. package/dist/components/Countdown/_countdown.css +1 -0
  52. package/dist/components/Countdown/_duration.css +1 -0
  53. package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.cjs +2 -1
  54. package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +22 -20
  55. package/dist/components/DescriptiveRadioButton/_descriptiveRadioButton.css +1 -0
  56. package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.cjs +2 -1
  57. package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +7 -5
  58. package/dist/components/DescriptiveRadioButtonGroup/_descriptiveRadioButtonGroup.css +1 -0
  59. package/dist/components/Detail/Detail.cjs +2 -1
  60. package/dist/components/Detail/Detail.js +5 -3
  61. package/dist/components/Detail/_detail.css +1 -0
  62. package/dist/components/DetailList/DetailList.cjs +2 -1
  63. package/dist/components/DetailList/DetailList.js +14 -12
  64. package/dist/components/DetailList/_detailList.css +1 -0
  65. package/dist/components/Divider/Divider.cjs +2 -1
  66. package/dist/components/Divider/Divider.js +8 -6
  67. package/dist/components/Divider/_divider.css +1 -0
  68. package/dist/components/Drawer/Drawer.cjs +2 -1
  69. package/dist/components/Drawer/Drawer.js +9 -7
  70. package/dist/components/Drawer/DrawerHeader.cjs +2 -1
  71. package/dist/components/Drawer/DrawerHeader.js +12 -10
  72. package/dist/components/Drawer/_drawer.css +1 -0
  73. package/dist/components/Drawer/_drawerHeader.css +1 -0
  74. package/dist/components/Dropdown/Dropdown.cjs +2 -1
  75. package/dist/components/Dropdown/Dropdown.js +2 -0
  76. package/dist/components/Dropdown/_dropdown.css +1 -0
  77. package/dist/components/ExitGateCard/ExitGateCard.cjs +2 -1
  78. package/dist/components/ExitGateCard/ExitGateCard.js +6 -4
  79. package/dist/components/ExitGateCard/_exitGateCard.css +1 -0
  80. package/dist/components/FavoritingTileButton/FavoritingTileButton.cjs +2 -1
  81. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +8 -6
  82. package/dist/components/FavoritingTileButton/_favoritingTileButton.css +1 -0
  83. package/dist/components/Filter/Filter.cjs +2 -1
  84. package/dist/components/Filter/Filter.js +9 -7
  85. package/dist/components/Filter/_filter.css +1 -0
  86. package/dist/components/Grid/Grid.cjs +2 -1
  87. package/dist/components/Grid/Grid.js +13 -11
  88. package/dist/components/Grid/_grid.css +1 -0
  89. package/dist/components/GridItem/GridItem.cjs +2 -1
  90. package/dist/components/GridItem/GridItem.js +2 -0
  91. package/dist/components/GridItem/_gridItem.css +1 -0
  92. package/dist/components/Icon/Icon.cjs +2 -1
  93. package/dist/components/Icon/Icon.js +6 -4
  94. package/dist/components/Icon/_icon.css +1 -0
  95. package/dist/components/IconButton/IconButton.cjs +2 -1
  96. package/dist/components/IconButton/IconButton.js +11 -9
  97. package/dist/components/IconButton/_iconButton.css +1 -0
  98. package/dist/components/Input/Input.cjs +3 -1
  99. package/dist/components/Input/Input.js +4 -0
  100. package/dist/components/Input/_input.css +1 -0
  101. package/dist/components/Link/Link.cjs +2 -1
  102. package/dist/components/Link/Link.js +10 -8
  103. package/dist/components/Link/_link.css +1 -0
  104. package/dist/components/LinkBlock/LinkBlock.cjs +2 -1
  105. package/dist/components/LinkBlock/LinkBlock.js +8 -6
  106. package/dist/components/LinkBlock/_linkBlock.css +1 -0
  107. package/dist/components/LinkList/LinkList.cjs +2 -1
  108. package/dist/components/LinkList/LinkList.js +11 -9
  109. package/dist/components/LinkList/_linkList.css +1 -0
  110. package/dist/components/Loader/Loader.cjs +2 -1
  111. package/dist/components/Loader/Loader.js +8 -6
  112. package/dist/components/Loader/_loader.css +1 -0
  113. package/dist/components/Modal/Modal.cjs +2 -1
  114. package/dist/components/Modal/Modal.js +6 -4
  115. package/dist/components/Modal/_modal.css +1 -0
  116. package/dist/components/Navigation/Navigation.cjs +2 -1
  117. package/dist/components/Navigation/Navigation.js +10 -8
  118. package/dist/components/Navigation/NavigationItem/NavigationItem.cjs +2 -1
  119. package/dist/components/Navigation/NavigationItem/NavigationItem.js +6 -4
  120. package/dist/components/Navigation/NavigationItem/_navigationItem.css +1 -0
  121. package/dist/components/Navigation/NavigationItemWithSubmenu/NavigationItemWithSubmenu.cjs +2 -1
  122. package/dist/components/Navigation/NavigationItemWithSubmenu/NavigationItemWithSubmenu.js +8 -6
  123. package/dist/components/Navigation/NavigationItemWithSubmenu/_navigationItemWithSubmenu.css +1 -0
  124. package/dist/components/Navigation/NavigationList/NavigationList.cjs +2 -1
  125. package/dist/components/Navigation/NavigationList/NavigationList.js +9 -7
  126. package/dist/components/Navigation/NavigationList/_navigationList.css +1 -0
  127. package/dist/components/Navigation/_navigation.css +1 -0
  128. package/dist/components/NotificationBanner/NotificationBanner.cjs +2 -1
  129. package/dist/components/NotificationBanner/NotificationBanner.js +4 -2
  130. package/dist/components/NotificationBanner/_notificationBanner.css +1 -0
  131. package/dist/components/PageContentWrapper/PageContentWrapper.cjs +2 -1
  132. package/dist/components/PageContentWrapper/PageContentWrapper.js +11 -9
  133. package/dist/components/PageContentWrapper/_pageContentWrapper.css +1 -0
  134. package/dist/components/Pagination/Pagination.cjs +2 -1
  135. package/dist/components/Pagination/Pagination.js +2 -0
  136. package/dist/components/Pagination/_pagination.css +1 -0
  137. package/dist/components/PinchZoom/PinchZoom.cjs +2 -1
  138. package/dist/components/PinchZoom/PinchZoom.js +2 -0
  139. package/dist/components/PinchZoom/_pinchZoom.css +1 -0
  140. package/dist/components/ProgressBar/ProgressBar.cjs +2 -1
  141. package/dist/components/ProgressBar/ProgressBar.js +2 -0
  142. package/dist/components/ProgressBar/_progressBar.css +1 -0
  143. package/dist/components/ProgressIndicator/ProgressIndicator.cjs +2 -1
  144. package/dist/components/ProgressIndicator/ProgressIndicator.js +13 -11
  145. package/dist/components/ProgressIndicator/_progressIndicator.css +1 -0
  146. package/dist/components/Row/Row.cjs +2 -1
  147. package/dist/components/Row/Row.js +6 -4
  148. package/dist/components/Row/_row.css +1 -0
  149. package/dist/components/Search/Search.cjs +2 -1
  150. package/dist/components/Search/Search.js +2 -0
  151. package/dist/components/Search/SearchButton.cjs +2 -1
  152. package/dist/components/Search/SearchButton.js +4 -2
  153. package/dist/components/Search/SearchResults/SearchResults.cjs +2 -1
  154. package/dist/components/Search/SearchResults/SearchResults.js +4 -2
  155. package/dist/components/Search/SearchResults/_searchResults.css +1 -0
  156. package/dist/components/Search/_search.css +1 -0
  157. package/dist/components/Search/_searchButton.css +1 -0
  158. package/dist/components/SeldonImage/SeldonImage.cjs +2 -1
  159. package/dist/components/SeldonImage/SeldonImage.js +2 -0
  160. package/dist/components/SeldonImage/_seldonImage.css +1 -0
  161. package/dist/components/Select/Select.cjs +3 -1
  162. package/dist/components/Select/Select.js +21 -17
  163. package/dist/components/Select/_select.css +1 -0
  164. package/dist/components/SlideToActivate/SlideToActivate.cjs +2 -1
  165. package/dist/components/SlideToActivate/SlideToActivate.js +2 -0
  166. package/dist/components/SlideToActivate/_slideToActivate.css +1 -0
  167. package/dist/components/SplitPanel/SplitPanel.cjs +2 -1
  168. package/dist/components/SplitPanel/SplitPanel.js +6 -4
  169. package/dist/components/SplitPanel/_splitPanel.css +1 -0
  170. package/dist/components/Tabs/TabsContainer.cjs +2 -1
  171. package/dist/components/Tabs/TabsContainer.js +2 -0
  172. package/dist/components/Tabs/_tabs.css +1 -0
  173. package/dist/components/Tags/Tags.cjs +2 -1
  174. package/dist/components/Tags/Tags.js +10 -8
  175. package/dist/components/Tags/_tags.css +1 -0
  176. package/dist/components/Text/Text.cjs +2 -1
  177. package/dist/components/Text/Text.js +6 -4
  178. package/dist/components/Text/_text.css +1 -0
  179. package/dist/components/TextArea/TextArea.cjs +3 -1
  180. package/dist/components/TextArea/TextArea.js +14 -10
  181. package/dist/components/TextArea/TextArea.stories.d.ts +1 -0
  182. package/dist/components/TextArea/_textArea.css +1 -0
  183. package/dist/components/TextSymbol/TextSymbol.cjs +2 -1
  184. package/dist/components/TextSymbol/TextSymbol.js +7 -5
  185. package/dist/components/TextSymbol/_textSymbol.css +1 -0
  186. package/dist/components/Toast/Toast.cjs +2 -1
  187. package/dist/components/Toast/Toast.js +2 -0
  188. package/dist/components/Toast/_toast.css +1 -0
  189. package/dist/components/Toggle/_toggle.css +1 -0
  190. package/dist/components/Video/Video.cjs +2 -1
  191. package/dist/components/Video/Video.js +2 -0
  192. package/dist/components/Video/_video.css +1 -0
  193. package/dist/node_modules/@artsy/fresnel/dist/index.cjs +1 -1
  194. package/dist/node_modules/@artsy/fresnel/dist/index.js +1 -1
  195. package/dist/node_modules/classnames/index.cjs +1 -1
  196. package/dist/node_modules/classnames/index.js +1 -1
  197. package/dist/node_modules/usehooks-ts/dist/index.cjs +1 -1
  198. package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
  199. package/dist/pages/Page.cjs +2 -1
  200. package/dist/pages/Page.js +4 -2
  201. package/dist/pages/_page.css +1 -0
  202. package/dist/patterns/AccountPageHeader/AccountPageHeader.cjs +2 -1
  203. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +11 -9
  204. package/dist/patterns/AccountPageHeader/_accountPageHeader.css +1 -0
  205. package/dist/patterns/BidSnapshot/BidSnapshot.cjs +2 -1
  206. package/dist/patterns/BidSnapshot/BidSnapshot.js +2 -0
  207. package/dist/patterns/BidSnapshot/_bidSnapshot.css +1 -0
  208. package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +4 -0
  209. package/dist/patterns/CountryPicker/CountryPickerModal.cjs +2 -1
  210. package/dist/patterns/CountryPicker/CountryPickerModal.js +8 -6
  211. package/dist/patterns/CountryPicker/CountryPickerOption.cjs +2 -1
  212. package/dist/patterns/CountryPicker/CountryPickerOption.js +6 -4
  213. package/dist/patterns/CountryPicker/CountryPickerTrigger.cjs +3 -1
  214. package/dist/patterns/CountryPicker/CountryPickerTrigger.js +11 -7
  215. package/dist/patterns/CountryPicker/_countryPickerModal.css +1 -0
  216. package/dist/patterns/CountryPicker/_countryPickerOption.css +1 -0
  217. package/dist/patterns/CountryPicker/_countryPickerTrigger.css +1 -0
  218. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.cjs +2 -1
  219. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +4 -2
  220. package/dist/patterns/FavoritesCollectionTile/_favoritesCollectionTile.css +1 -0
  221. package/dist/patterns/FilterMenu/FilterMenu.cjs +2 -1
  222. package/dist/patterns/FilterMenu/FilterMenu.js +6 -4
  223. package/dist/patterns/FilterMenu/_filterMenu.css +1 -0
  224. package/dist/patterns/FiltersInline/FilterButton.cjs +2 -1
  225. package/dist/patterns/FiltersInline/FilterButton.js +11 -9
  226. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.cjs +2 -1
  227. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +16 -14
  228. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.cjs +2 -1
  229. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +6 -4
  230. package/dist/patterns/FiltersInline/FiltersInline.cjs +2 -1
  231. package/dist/patterns/FiltersInline/FiltersInline.js +6 -4
  232. package/dist/patterns/FiltersInline/_filterButton.css +1 -0
  233. package/dist/patterns/FiltersInline/_filterDropdownMenu.css +1 -0
  234. package/dist/patterns/FiltersInline/_filtersInline.css +1 -0
  235. package/dist/patterns/HeroBanner/HeroBanner.cjs +2 -1
  236. package/dist/patterns/HeroBanner/HeroBanner.js +15 -13
  237. package/dist/patterns/HeroBanner/_heroBanner.css +1 -0
  238. package/dist/patterns/LanguageSelector/LanguageSelector.cjs +2 -1
  239. package/dist/patterns/LanguageSelector/LanguageSelector.js +10 -8
  240. package/dist/patterns/LanguageSelector/_languageSelector.css +1 -0
  241. package/dist/patterns/ObjectTile/ObjectTile.cjs +2 -1
  242. package/dist/patterns/ObjectTile/ObjectTile.js +20 -18
  243. package/dist/patterns/ObjectTile/_objectTile.css +1 -0
  244. package/dist/patterns/PhoneNumberInput/PhoneNumberInput.cjs +2 -1
  245. package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +2 -0
  246. package/dist/patterns/PhoneNumberInput/_phoneNumberInput.css +1 -0
  247. package/dist/patterns/ProgressWizard/ProgressWizard.cjs +2 -1
  248. package/dist/patterns/ProgressWizard/ProgressWizard.js +7 -5
  249. package/dist/patterns/ProgressWizard/_progressWizard.css +1 -0
  250. package/dist/patterns/SaleCard/SaleCard.cjs +2 -1
  251. package/dist/patterns/SaleCard/SaleCard.js +12 -10
  252. package/dist/patterns/SaleCard/SaleCardActions.cjs +2 -1
  253. package/dist/patterns/SaleCard/SaleCardActions.js +6 -4
  254. package/dist/patterns/SaleCard/_saleCard.css +1 -0
  255. package/dist/patterns/SaleCard/_saleCardActions.css +1 -0
  256. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.cjs +2 -1
  257. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +2 -0
  258. package/dist/patterns/SaleHeaderBanner/_saleHeaderBanner.css +1 -0
  259. package/dist/patterns/Social/Social.cjs +2 -1
  260. package/dist/patterns/Social/Social.js +2 -0
  261. package/dist/patterns/Social/_social.css +1 -0
  262. package/dist/patterns/Subscribe/Subscribe.cjs +2 -1
  263. package/dist/patterns/Subscribe/Subscribe.js +10 -8
  264. package/dist/patterns/Subscribe/_subscribe.css +1 -0
  265. package/dist/patterns/TextBanner/TextBanner.cjs +2 -1
  266. package/dist/patterns/TextBanner/TextBanner.js +10 -8
  267. package/dist/patterns/TextBanner/_textBanner.css +1 -0
  268. package/dist/patterns/UserManagement/UserManagement.cjs +2 -1
  269. package/dist/patterns/UserManagement/UserManagement.js +13 -11
  270. package/dist/patterns/UserManagement/_userManagement.css +1 -0
  271. package/dist/patterns/ViewingDetails/ViewingDetails.cjs +2 -1
  272. package/dist/patterns/ViewingDetails/ViewingDetails.js +6 -4
  273. package/dist/patterns/ViewingDetails/_viewingDetails.css +1 -0
  274. package/dist/patterns/ViewingsList/ViewingsList.cjs +2 -1
  275. package/dist/patterns/ViewingsList/ViewingsList.js +2 -0
  276. package/dist/patterns/ViewingsList/ViewingsListCard.cjs +2 -1
  277. package/dist/patterns/ViewingsList/ViewingsListCard.js +8 -6
  278. package/dist/patterns/ViewingsList/_viewingsList.css +1 -0
  279. package/dist/providers/SeldonProvider/SeldonProvider.cjs +2 -1
  280. package/dist/providers/SeldonProvider/SeldonProvider.js +3 -1
  281. package/dist/scss/_allPartials.scss +2 -1
  282. package/dist/scss/_foundation.css +1 -0
  283. package/dist/scss/_foundation.scss +69 -0
  284. package/dist/scss/_layers.scss +12 -0
  285. package/dist/scss/_reset.scss +57 -53
  286. package/dist/scss/_sharedClasses.scss +61 -57
  287. package/dist/scss/_typography.scss +64 -52
  288. package/dist/scss/_vars.scss +6 -5
  289. package/dist/scss/_vars.scss.cjs +6 -5
  290. package/dist/scss/_vars.scss.js +6 -5
  291. package/dist/scss/componentStyles.scss +3 -66
  292. package/dist/scss/components/Accordion/_accordion.scss +102 -99
  293. package/dist/scss/components/AddToCalendar/_addToCalendar.scss +69 -52
  294. package/dist/scss/components/Article/_article.scss +22 -19
  295. package/dist/scss/components/Banner/_banner.scss +137 -134
  296. package/dist/scss/components/Breadcrumb/_breadcrumb.scss +47 -44
  297. package/dist/scss/components/Button/_button.scss +240 -216
  298. package/dist/scss/components/Card/_card.scss +86 -83
  299. package/dist/scss/components/Carousel/_carousel.scss +169 -166
  300. package/dist/scss/components/ComboBox/_combobox.scss +144 -141
  301. package/dist/scss/components/ComposedModal/_composedModal.scss +54 -51
  302. package/dist/scss/components/ContentPeek/_contentPeek.scss +48 -45
  303. package/dist/scss/components/Countdown/_countdown.scss +64 -61
  304. package/dist/scss/components/Countdown/_duration.scss +6 -3
  305. package/dist/scss/components/DatePicker/_datePicker.scss +74 -65
  306. package/dist/scss/components/DescriptiveRadioButton/_descriptiveRadioButton.scss +50 -47
  307. package/dist/scss/components/DescriptiveRadioButtonGroup/_descriptiveRadioButtonGroup.scss +24 -21
  308. package/dist/scss/components/Detail/_detail.scss +39 -36
  309. package/dist/scss/components/DetailList/_detailList.scss +37 -34
  310. package/dist/scss/components/Divider/_divider.scss +15 -12
  311. package/dist/scss/components/Drawer/_drawer.scss +189 -186
  312. package/dist/scss/components/Drawer/_drawerHeader.scss +30 -27
  313. package/dist/scss/components/Dropdown/_dropdown.scss +79 -76
  314. package/dist/scss/components/ExitGateCard/_exitGateCard.scss +59 -56
  315. package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +36 -33
  316. package/dist/scss/components/Filter/_filter.scss +87 -84
  317. package/dist/scss/components/Grid/_grid.scss +20 -17
  318. package/dist/scss/components/GridItem/_gridItem.scss +33 -30
  319. package/dist/scss/components/Icon/_icon.scss +10 -7
  320. package/dist/scss/components/IconButton/_iconButton.scss +168 -77
  321. package/dist/scss/components/Input/_input.scss +205 -210
  322. package/dist/scss/components/Link/_link.scss +69 -64
  323. package/dist/scss/components/LinkBlock/_linkBlock.scss +14 -11
  324. package/dist/scss/components/LinkList/_linkList.scss +19 -16
  325. package/dist/scss/components/Loader/_loader.scss +21 -18
  326. package/dist/scss/components/Modal/_modal.scss +29 -26
  327. package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +86 -83
  328. package/dist/scss/components/Navigation/NavigationItemWithSubmenu/_navigationItemWithSubmenu.scss +89 -86
  329. package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +71 -68
  330. package/dist/scss/components/Navigation/_navigation.scss +122 -119
  331. package/dist/scss/components/NotificationBanner/_notificationBanner.scss +33 -30
  332. package/dist/scss/components/PageContentWrapper/_pageContentWrapper.scss +7 -4
  333. package/dist/scss/components/Pagination/_pagination.scss +66 -63
  334. package/dist/scss/components/PinchZoom/_pinchZoom.scss +28 -25
  335. package/dist/scss/components/ProgressBar/_progressBar.scss +77 -74
  336. package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +55 -52
  337. package/dist/scss/components/Row/_row.scss +6 -3
  338. package/dist/scss/components/Search/SearchResults/_searchResults.scss +43 -40
  339. package/dist/scss/components/Search/_search.scss +127 -124
  340. package/dist/scss/components/Search/_searchButton.scss +53 -50
  341. package/dist/scss/components/SeldonImage/_seldonImage.scss +93 -90
  342. package/dist/scss/components/Select/_select.scss +60 -48
  343. package/dist/scss/components/SlideToActivate/_slideToActivate.scss +227 -224
  344. package/dist/scss/components/SplitPanel/_splitPanel.scss +26 -23
  345. package/dist/scss/components/Tabs/_tabs.scss +69 -66
  346. package/dist/scss/components/Tags/_tags.scss +64 -61
  347. package/dist/scss/components/Text/_text.scss +39 -36
  348. package/dist/scss/components/TextArea/_textArea.scss +102 -99
  349. package/dist/scss/components/TextSymbol/_textSymbol.scss +13 -10
  350. package/dist/scss/components/Toast/_toast.scss +82 -79
  351. package/dist/scss/components/Toggle/_toggle.scss +148 -145
  352. package/dist/scss/components/Video/_video.scss +16 -13
  353. package/dist/scss/layers.test.d.ts +1 -0
  354. package/dist/scss/patterns/AccountPageHeader/_accountPageHeader.scss +35 -32
  355. package/dist/scss/patterns/BidSnapshot/_bidSnapshot.scss +43 -40
  356. package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +82 -81
  357. package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +72 -69
  358. package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +83 -80
  359. package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +153 -151
  360. package/dist/scss/patterns/FilterMenu/_filterMenu.scss +14 -11
  361. package/dist/scss/patterns/FiltersInline/_filterButton.scss +41 -38
  362. package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +165 -162
  363. package/dist/scss/patterns/FiltersInline/_filtersInline.scss +31 -28
  364. package/dist/scss/patterns/HeroBanner/_heroBanner.scss +78 -75
  365. package/dist/scss/patterns/LanguageSelector/_languageSelector.scss +47 -43
  366. package/dist/scss/patterns/ObjectTile/_objectTile.scss +84 -81
  367. package/dist/scss/patterns/PhoneNumberInput/_phoneNumberInput.scss +45 -42
  368. package/dist/scss/patterns/ProgressWizard/_progressWizard.scss +66 -63
  369. package/dist/scss/patterns/SaleCard/_saleCard.scss +62 -58
  370. package/dist/scss/patterns/SaleCard/_saleCardActions.scss +11 -8
  371. package/dist/scss/patterns/SaleHeaderBanner/_saleHeaderBanner.scss +75 -72
  372. package/dist/scss/patterns/Social/_social.scss +65 -62
  373. package/dist/scss/patterns/Subscribe/_subscribe.scss +16 -13
  374. package/dist/scss/patterns/TextBanner/_textBanner.scss +35 -32
  375. package/dist/scss/patterns/UserManagement/_userManagement.scss +49 -46
  376. package/dist/scss/patterns/ViewingDetails/_viewingDetails.scss +55 -52
  377. package/dist/scss/patterns/ViewingsList/_viewingsList.scss +44 -41
  378. package/dist/scss/site-furniture/Footer/_footer.scss +104 -95
  379. package/dist/scss/site-furniture/Header/_header.scss +176 -173
  380. package/dist/site-furniture/Footer/Footer.cjs +2 -1
  381. package/dist/site-furniture/Footer/Footer.js +4 -2
  382. package/dist/site-furniture/Footer/_footer.css +1 -0
  383. package/dist/site-furniture/Header/Header.cjs +2 -1
  384. package/dist/site-furniture/Header/Header.js +2 -0
  385. package/dist/site-furniture/Header/_header.css +1 -0
  386. package/package.json +4 -3
@@ -1,3 +1,4 @@
1
+ import './_subscribe.css';
1
2
  import { jsxs as L, jsx as o } from "react/jsx-runtime";
2
3
  import * as M from "react";
3
4
  import V from "../../_virtual/index2.js";
@@ -6,7 +7,8 @@ import D from "../../components/Input/Input.js";
6
7
  import R from "../../components/Button/Button.js";
7
8
  import { SubscriptionState as r } from "./types.js";
8
9
  import { ButtonVariants as U } from "../../components/Button/types.js";
9
- import i from "../../components/Text/Text.js";
10
+
11
+ import n from "../../components/Text/Text.js";
10
12
  import { TextVariants as d } from "../../components/Text/types.js";
11
13
  const q = M.forwardRef(
12
14
  ({
@@ -26,10 +28,10 @@ const q = M.forwardRef(
26
28
  successText: S,
27
29
  privacyText: s = "By signing up, you agree to receive email communications from Phillips.",
28
30
  subscriptionState: e = r.Default,
29
- id: n,
31
+ id: i,
30
32
  ...l
31
33
  }, T) => {
32
- const { className: a, ...$ } = j({ id: n, ...l }, "Subscribe"), E = e === r.Invalid, P = e === r.Loading, w = e === r.Success, A = e === r.Error, B = {
34
+ const { className: a, ...$ } = j({ id: i, ...l }, "Subscribe"), E = e === r.Invalid, P = e === r.Loading, w = e === r.Success, A = e === r.Error, B = {
33
35
  invalid: _,
34
36
  success: S,
35
37
  loading: N,
@@ -38,15 +40,15 @@ const q = M.forwardRef(
38
40
  return /* @__PURE__ */ L(
39
41
  g,
40
42
  {
41
- id: n,
43
+ id: i,
42
44
  ...$,
43
45
  className: V(a, m),
44
46
  noValidate: !0,
45
47
  ref: T,
46
48
  ...l,
47
49
  children: [
48
- /* @__PURE__ */ o(i, { variant: d.headingSmall, className: `${a}__title`, children: y }),
49
- t ? /* @__PURE__ */ o(i, { variant: d.bodyMedium, children: t }) : null,
50
+ /* @__PURE__ */ o(n, { variant: d.headingSmall, className: `${a}__title`, children: y }),
51
+ t ? /* @__PURE__ */ o(n, { variant: d.bodyMedium, children: t }) : null,
50
52
  /* @__PURE__ */ o(
51
53
  D,
52
54
  {
@@ -61,7 +63,7 @@ const q = M.forwardRef(
61
63
  warn: C,
62
64
  warnText: c,
63
65
  required: !0,
64
- id: `${n}-input`,
66
+ id: `${i}-input`,
65
67
  ...h
66
68
  }
67
69
  ),
@@ -75,7 +77,7 @@ const q = M.forwardRef(
75
77
  children: p
76
78
  }
77
79
  ),
78
- s ? /* @__PURE__ */ o(i, { element: "p", children: s }) : null
80
+ s ? /* @__PURE__ */ o(n, { element: "p", children: s }) : null
79
81
  ]
80
82
  }
81
83
  );
@@ -0,0 +1 @@
1
+ @layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-subscribe{max-width:600px;width:100%}.seldon-subscribe__title{margin-bottom:var(--spacing-xsm)}.seldon-subscribe__input__wrapper{margin-top:var(--spacing-md)}.seldon-subscribe__button{margin:.25rem 0 var(--spacing-sm);max-width:240px;width:100%}}
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),d=require("react"),m=require("../../utils/index.cjs"),s=require("../../_virtual/index2.cjs"),n=require("../../components/Text/Text.cjs"),x=require("../../components/Text/types.cjs"),l=d.forwardRef(({headerText:c,className:u,description:a,...r},i)=>{const{className:t,...o}=m.getCommonProps(r,"TextBanner");return e.jsx("header",{...o,className:s.default(t,u),ref:i,...r,children:e.jsxs("span",{className:s.default(`${t}__content-wrapper`),children:[e.jsx(n.default,{className:`${t}__header-text`,variant:x.TextVariants.displaySmall,children:c}),a?e.jsx(n.default,{element:"p",children:a}):null]})})});l.displayName="TextBanner";exports.default=l;
1
+ require('./_textBanner.css');
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),d=require("react"),m=require("../../utils/index.cjs"),s=require("../../_virtual/index2.cjs");;const n=require("../../components/Text/Text.cjs"),x=require("../../components/Text/types.cjs"),l=d.forwardRef(({headerText:u,className:c,description:t,...a},i)=>{const{className:r,...o}=m.getCommonProps(a,"TextBanner");return e.jsx("header",{...o,className:s.default(r,c),ref:i,...a,children:e.jsxs("span",{className:s.default(`${r}__content-wrapper`),children:[e.jsx(n.default,{className:`${r}__header-text`,variant:x.TextVariants.displaySmall,children:u}),t?e.jsx(n.default,{element:"p",children:t}):null]})})});l.displayName="TextBanner";exports.default=l;
@@ -1,15 +1,17 @@
1
- import { jsx as a, jsxs as i } from "react/jsx-runtime";
2
- import { forwardRef as p } from "react";
1
+ import './_textBanner.css';
2
+ import { jsx as r, jsxs as p } from "react/jsx-runtime";
3
+ import { forwardRef as c } from "react";
3
4
  import { getCommonProps as d } from "../../utils/index.js";
4
5
  import s from "../../_virtual/index2.js";
6
+
5
7
  import t from "../../components/Text/Text.js";
6
8
  import { TextVariants as f } from "../../components/Text/types.js";
7
- const x = p(
8
- ({ headerText: n, className: o, description: r, ...m }, l) => {
9
- const { className: e, ...c } = d(m, "TextBanner");
10
- return /* @__PURE__ */ a("header", { ...c, className: s(e, o), ref: l, ...m, children: /* @__PURE__ */ i("span", { className: s(`${e}__content-wrapper`), children: [
11
- /* @__PURE__ */ a(t, { className: `${e}__header-text`, variant: f.displaySmall, children: n }),
12
- r ? /* @__PURE__ */ a(t, { element: "p", children: r }) : null
9
+ const x = c(
10
+ ({ headerText: n, className: o, description: a, ...m }, l) => {
11
+ const { className: e, ...i } = d(m, "TextBanner");
12
+ return /* @__PURE__ */ r("header", { ...i, className: s(e, o), ref: l, ...m, children: /* @__PURE__ */ p("span", { className: s(`${e}__content-wrapper`), children: [
13
+ /* @__PURE__ */ r(t, { className: `${e}__header-text`, variant: f.displaySmall, children: n }),
14
+ a ? /* @__PURE__ */ r(t, { element: "p", children: a }) : null
13
15
  ] }) });
14
16
  }
15
17
  );
@@ -0,0 +1 @@
1
+ @layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-text-banner__header-text{align-items:center;display:flex;text-transform:none}.seldon-text-banner__content-wrapper{align-items:flex-start;display:flex;flex-direction:column;justify-content:space-between;max-width:none;padding:var(--spacing-lg) 0}.seldon-text-banner__content-wrapper h1{white-space:nowrap}.seldon-text-banner__content-wrapper h1,.seldon-text-banner__content-wrapper p,.seldon-text-banner__content-wrapper span{color:#000;margin:0;max-width:100%;min-height:48px;text-align:left;text-transform:none}@media(min-width:961px){.seldon-text-banner__content-wrapper{flex-direction:row}.seldon-text-banner__content-wrapper h1,.seldon-text-banner__content-wrapper p,.seldon-text-banner__content-wrapper span{max-width:50%;width:50%}}}
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),y=require("react"),r=require("../../utils/index.cjs"),A=require("../../_virtual/index2.cjs"),a=require("./types.cjs"),u=require("../../components/Icon/Icon.cjs"),l=require("../../components/Text/Text.cjs"),d=require("../../components/Text/types.cjs"),m=y.forwardRef(({accountDetailsLinkComponent:g="a",className:h,onLogin:x=r.noOp,authState:o=a.AuthState.LoggedOut,loginLabel:n="Login",accountLabel:s="Account",href:f="/account",disabled:c=!1,...i},j)=>{const{className:t,..._}=r.getCommonProps(i,"UserManagement"),p=o===a.AuthState.LoggedIn,q=o!==a.AuthState.Loading;return e.jsx("div",{..._,className:A.default(t,h),...i,ref:j,children:q&&e.jsx(e.Fragment,{children:p?e.jsxs(g,{"aria-label":typeof s=="string"?s:"Account",className:`${t}__login`,href:f,disabled:c,children:[e.jsx(u.default,{icon:"Account",className:`${t}__account-icon`,height:"100%",width:"100%"}),e.jsx(l.default,{variant:d.TextVariants.bodySmall,children:s})]}):e.jsxs("button",{"aria-label":typeof n=="string"?n:"Login",className:`${t}__login`,onClick:x,disabled:c,children:[e.jsx(u.default,{icon:"Account",className:`${t}__account-icon`,height:"100%",width:"100%"}),e.jsx(l.default,{variant:d.TextVariants.bodySmall,children:n})]})})})});m.displayName="UserManagement";exports.default=m;
1
+ require('./_userManagement.css');
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),y=require("react"),r=require("../../utils/index.cjs"),A=require("../../_virtual/index2.cjs"),a=require("./types.cjs");;const u=require("../../components/Icon/Icon.cjs"),l=require("../../components/Text/Text.cjs"),d=require("../../components/Text/types.cjs"),m=y.forwardRef(({accountDetailsLinkComponent:g="a",className:h,onLogin:x=r.noOp,authState:o=a.AuthState.LoggedOut,loginLabel:n="Login",accountLabel:s="Account",href:f="/account",disabled:c=!1,...i},j)=>{const{className:t,..._}=r.getCommonProps(i,"UserManagement"),q=o===a.AuthState.LoggedIn,p=o!==a.AuthState.Loading;return e.jsx("div",{..._,className:A.default(t,h),...i,ref:j,children:p&&e.jsx(e.Fragment,{children:q?e.jsxs(g,{"aria-label":typeof s=="string"?s:"Account",className:`${t}__login`,href:f,disabled:c,children:[e.jsx(u.default,{icon:"Account",className:`${t}__account-icon`,height:"100%",width:"100%"}),e.jsx(l.default,{variant:d.TextVariants.bodySmall,children:s})]}):e.jsxs("button",{"aria-label":typeof n=="string"?n:"Login",className:`${t}__login`,onClick:x,disabled:c,children:[e.jsx(u.default,{icon:"Account",className:`${t}__account-icon`,height:"100%",width:"100%"}),e.jsx(l.default,{variant:d.TextVariants.bodySmall,children:n})]})})})});m.displayName="UserManagement";exports.default=m;
@@ -1,31 +1,33 @@
1
+ import './_userManagement.css';
1
2
  import { jsx as o, Fragment as x, jsxs as s } from "react/jsx-runtime";
2
3
  import { forwardRef as y } from "react";
3
4
  import { getCommonProps as w, noOp as C } from "../../utils/index.js";
4
5
  import $ from "../../_virtual/index2.js";
5
6
  import { AuthState as e } from "./types.js";
7
+
6
8
  import m from "../../components/Icon/Icon.js";
7
9
  import l from "../../components/Text/Text.js";
8
10
  import { TextVariants as g } from "../../components/Text/types.js";
9
11
  const v = y(
10
12
  ({
11
13
  accountDetailsLinkComponent: d = "a",
12
- className: f,
13
- onLogin: h = C,
14
+ className: p,
15
+ onLogin: f = C,
14
16
  authState: r = e.LoggedOut,
15
17
  loginLabel: t = "Login",
16
18
  accountLabel: a = "Account",
17
- href: p = "/account",
18
- disabled: c = !1,
19
- ...i
19
+ href: h = "/account",
20
+ disabled: i = !1,
21
+ ...c
20
22
  }, u) => {
21
- const { className: n, ...N } = w(i, "UserManagement"), _ = r === e.LoggedIn, A = r !== e.Loading;
22
- return /* @__PURE__ */ o("div", { ...N, className: $(n, f), ...i, ref: u, children: A && /* @__PURE__ */ o(x, { children: _ ? /* @__PURE__ */ s(
23
+ const { className: n, ...N } = w(c, "UserManagement"), _ = r === e.LoggedIn, A = r !== e.Loading;
24
+ return /* @__PURE__ */ o("div", { ...N, className: $(n, p), ...c, ref: u, children: A && /* @__PURE__ */ o(x, { children: _ ? /* @__PURE__ */ s(
23
25
  d,
24
26
  {
25
27
  "aria-label": typeof a == "string" ? a : "Account",
26
28
  className: `${n}__login`,
27
- href: p,
28
- disabled: c,
29
+ href: h,
30
+ disabled: i,
29
31
  children: [
30
32
  /* @__PURE__ */ o(m, { icon: "Account", className: `${n}__account-icon`, height: "100%", width: "100%" }),
31
33
  /* @__PURE__ */ o(l, { variant: g.bodySmall, children: a })
@@ -36,8 +38,8 @@ const v = y(
36
38
  {
37
39
  "aria-label": typeof t == "string" ? t : "Login",
38
40
  className: `${n}__login`,
39
- onClick: h,
40
- disabled: c,
41
+ onClick: f,
42
+ disabled: i,
41
43
  children: [
42
44
  /* @__PURE__ */ o(m, { icon: "Account", className: `${n}__account-icon`, height: "100%", width: "100%" }),
43
45
  /* @__PURE__ */ o(l, { variant: g.bodySmall, children: t })
@@ -0,0 +1 @@
1
+ @layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-user-management{align-items:center;display:flex;gap:0 var(--spacing-xsm);justify-content:flex-end;min-height:49px;min-width:92px;padding-top:var(--spacing-xsm)}@media(max-width:960px){.seldon-user-management{min-width:44px}}.seldon-user-management__login{align-items:center;background-color:unset;border:unset;border-bottom:1px solid transparent;cursor:pointer;display:flex;gap:0 var(--spacing-xsm);justify-content:center;margin-bottom:var(--spacing-xsm);padding:0}.seldon-user-management__login:disabled{cursor:default;opacity:.5;pointer-events:none}.seldon-user-management__login:focus-visible{border-radius:4px;outline:2px solid #07c;outline-offset:4px}.seldon-user-management__login:hover:not(:disabled){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:var(--spacing-micro)}@media(max-width:960px){.seldon-user-management__login{justify-content:flex-end;padding-right:0}}.seldon-user-management__login>.seldon-text{margin:0}@media(max-width:960px){.seldon-user-management__login>.seldon-text{display:none;min-height:2rem}}.seldon-user-management__account-icon{height:1.5rem;width:1.5rem}}
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),$=require("../../_virtual/index2.cjs"),g=require("react"),v=require("../../utils/index.cjs"),s=require("../../components/Text/Text.cjs"),t=require("../../components/Text/types.cjs"),q=require("../../components/Link/Link.cjs"),V=require("../../components/Link/types.cjs"),o=g.forwardRef(({className:x,children:r,label:h,sessionTimesLabel:d,sessionTimes:i,viewingTimes:n,viewingTimesLabel:c,location:u,mapLink:m,onClose:p,linkElement:f=q.default,..._},j)=>{const{className:a,...N}=v.getCommonProps(_,"ViewingDetails");return e.jsx("div",{...N,..._,className:$.default(a,x),ref:j,children:e.jsxs("div",{className:`${a}__content`,children:[e.jsx(s.default,{variant:t.TextVariants.headingMedium,className:`${a}__title`,children:h}),r&&e.jsx("div",{className:`${a}__children`,children:r}),d&&e.jsx(s.default,{variant:t.TextVariants.headingSmall,className:`${a}__heading`,children:d}),i&&i.length>0&&i.map(l=>e.jsxs("div",{className:`${a}__session`,children:[l.sessionLabel&&e.jsx(s.default,{variant:t.TextVariants.labelMedium,className:`${a}__label`,children:l.sessionLabel}),l.sessionTime&&e.jsx(s.default,{className:`${a}__text`,children:l.sessionTime})]},`${l.sessionLabel??""}-${l.sessionTime??""}`)),c&&e.jsx(s.default,{variant:t.TextVariants.headingSmall,className:`${a}__heading`,children:c}),n&&n.length>0&&n.map(l=>e.jsx(s.default,{className:`${a}__viewing-time`,children:l},l)),u&&e.jsx(s.default,{className:`${a}__location`,children:u}),m&&e.jsx(s.default,{className:`${a}__map-link`,children:e.jsx(f,{href:m,variant:V.LinkVariants.linkMedium,children:"(Map)"})})]})})});o.displayName="ViewingDetails";exports.default=o;
1
+ require('./_viewingDetails.css');
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),$=require("../../_virtual/index2.cjs"),g=require("react"),q=require("../../utils/index.cjs");;const s=require("../../components/Text/Text.cjs"),t=require("../../components/Text/types.cjs"),v=require("../../components/Link/Link.cjs"),V=require("../../components/Link/types.cjs"),o=g.forwardRef(({className:x,children:r,label:h,sessionTimesLabel:d,sessionTimes:i,viewingTimes:n,viewingTimesLabel:c,location:u,mapLink:m,onClose:p,linkElement:f=v.default,..._},j)=>{const{className:a,...N}=q.getCommonProps(_,"ViewingDetails");return e.jsx("div",{...N,..._,className:$.default(a,x),ref:j,children:e.jsxs("div",{className:`${a}__content`,children:[e.jsx(s.default,{variant:t.TextVariants.headingMedium,className:`${a}__title`,children:h}),r&&e.jsx("div",{className:`${a}__children`,children:r}),d&&e.jsx(s.default,{variant:t.TextVariants.headingSmall,className:`${a}__heading`,children:d}),i&&i.length>0&&i.map(l=>e.jsxs("div",{className:`${a}__session`,children:[l.sessionLabel&&e.jsx(s.default,{variant:t.TextVariants.labelMedium,className:`${a}__label`,children:l.sessionLabel}),l.sessionTime&&e.jsx(s.default,{className:`${a}__text`,children:l.sessionTime})]},`${l.sessionLabel??""}-${l.sessionTime??""}`)),c&&e.jsx(s.default,{variant:t.TextVariants.headingSmall,className:`${a}__heading`,children:c}),n&&n.length>0&&n.map(l=>e.jsx(s.default,{className:`${a}__viewing-time`,children:l},l)),u&&e.jsx(s.default,{className:`${a}__location`,children:u}),m&&e.jsx(s.default,{className:`${a}__map-link`,children:e.jsx(f,{href:m,variant:V.LinkVariants.linkMedium,children:"(Map)"})})]})})});o.displayName="ViewingDetails";exports.default=o;
@@ -1,7 +1,9 @@
1
+ import './_viewingDetails.css';
1
2
  import { jsx as e, jsxs as h } from "react/jsx-runtime";
2
3
  import v from "../../_virtual/index2.js";
3
4
  import { forwardRef as x } from "react";
4
5
  import { getCommonProps as u } from "../../utils/index.js";
6
+
5
7
  import i from "../../components/Text/Text.js";
6
8
  import { TextVariants as r } from "../../components/Text/types.js";
7
9
  import V from "../../components/Link/Link.js";
@@ -15,8 +17,8 @@ const k = x(
15
17
  sessionTimes: m,
16
18
  viewingTimes: n,
17
19
  viewingTimesLabel: c,
18
- location: d,
19
- mapLink: o,
20
+ location: o,
21
+ mapLink: d,
20
22
  onClose: M,
21
23
  linkElement: $ = V,
22
24
  ..._
@@ -39,8 +41,8 @@ const k = x(
39
41
  )),
40
42
  c && /* @__PURE__ */ e(i, { variant: r.headingSmall, className: `${a}__heading`, children: c }),
41
43
  n && n.length > 0 && n.map((l) => /* @__PURE__ */ e(i, { className: `${a}__viewing-time`, children: l }, l)),
42
- d && /* @__PURE__ */ e(i, { className: `${a}__location`, children: d }),
43
- o && /* @__PURE__ */ e(i, { className: `${a}__map-link`, children: /* @__PURE__ */ e($, { href: o, variant: b.linkMedium, children: "(Map)" }) })
44
+ o && /* @__PURE__ */ e(i, { className: `${a}__location`, children: o }),
45
+ d && /* @__PURE__ */ e(i, { className: `${a}__map-link`, children: /* @__PURE__ */ e($, { href: d, variant: b.linkMedium, children: "(Map)" }) })
44
46
  ] }) });
45
47
  }
46
48
  );
@@ -0,0 +1 @@
1
+ @layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-viewing-details__content{position:relative}.seldon-viewing-details__title{padding-bottom:var(--spacing-sm)}.seldon-viewing-details__children{margin-bottom:var(--spacing-md)}.seldon-viewing-details__center-align{text-align:center}.seldon-viewing-details__label{display:block;font-variation-settings:"wght" 600;margin-bottom:0}.seldon-viewing-details__heading{padding-bottom:var(--spacing-xsm)}.seldon-viewing-details__session{margin-bottom:var(--spacing-sm)}.seldon-viewing-details__viewing-time{display:block}.seldon-viewing-details__close-icon{cursor:pointer;position:absolute;right:var(--spacing-sm);top:var(--spacing-sm)}.seldon-viewing-details__text{margin-bottom:var(--spacing-sm)}.seldon-viewing-details__location{display:block;margin-top:var(--spacing-sm)}.seldon-viewing-details__map-link{margin-bottom:var(--spacing-md)}.seldon-viewing-details__content .seldon-viewing-details__label{margin-bottom:0}.seldon-viewing-details__content .seldon-viewing-details__text{margin-bottom:var(--spacing-sm)}.seldon-viewing-details__content{margin-bottom:var(--spacing-xsm);margin-top:var(--spacing-md)}}
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("react/jsx-runtime"),m=require("react"),b=require("../../_virtual/index2.cjs"),E=require("../../utils/index.cjs"),M=require("./ViewingsListCard.cjs"),P=require("../../components/Button/Button.cjs");function R(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const d=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(s,n,d.get?d:{enumerable:!0,get:()=>t[n]})}}return s.default=t,Object.freeze(s)}const r=R(m),D=()=>Math.floor(Math.random()*100)+Date.now(),j=m.forwardRef((t,s)=>{const{cardTitle:n="Viewing Details",className:d,i18n:S={},onAdd:p,onDelete:c,onSave:y,title:N,viewings:u,...h}=t,[l,v]=r.useState(u),[f,a]=r.useState(""),[o,w]=r.useState(),{className:O,...V}=E.getCommonProps(h,"ViewingsList");r.useEffect(()=>{v(u)},[u]);const{addViewingsBtnLabel:$="ADD VIEWINGS"}=S,L=()=>{const e=`${D()}${l?"-"+l.length:""}`;a(e),w(e),p&&p(e)},_=e=>{a(""),typeof c=="function"&&c(e)},q=e=>{a(e),w(l?.find(i=>i.id===e))},x=e=>{y(e)&&a("")},C=()=>{typeof o=="string"?typeof c=="function"&&c(o):f===o?.id&&v(e=>e?.map(i=>i.id===o.id?o:i)),a("")};return m.createElement("div",{ref:s,...V,className:b.default(O,d),key:f,...h},g.jsx("h2",{className:b.default(`${O}__title`),children:N}),l?.map((e,i)=>g.jsx(M.default,{...e,...S,cardTitle:e.location?`${n} ${i+1}`:void 0,isEditState:f===e.id,onCancel:C,onDelete:_,onEdit:()=>q(e.id),onSave:x},`${e.id}`)),g.jsx(P.default,{id:`viewings-list-add-btn-${t.id||D()}`,onClick:L,children:$}))});j.displayName="ViewingsList";exports.default=j;
1
+ require('./_viewingsList.css');
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("react/jsx-runtime"),m=require("react");;const b=require("../../_virtual/index2.cjs"),E=require("../../utils/index.cjs"),M=require("./ViewingsListCard.cjs"),P=require("../../components/Button/Button.cjs");function R(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const d=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(s,n,d.get?d:{enumerable:!0,get:()=>t[n]})}}return s.default=t,Object.freeze(s)}const r=R(m),D=()=>Math.floor(Math.random()*100)+Date.now(),j=m.forwardRef((t,s)=>{const{cardTitle:n="Viewing Details",className:d,i18n:S={},onAdd:p,onDelete:c,onSave:y,title:N,viewings:u,...h}=t,[l,v]=r.useState(u),[f,a]=r.useState(""),[o,w]=r.useState(),{className:O,...V}=E.getCommonProps(h,"ViewingsList");r.useEffect(()=>{v(u)},[u]);const{addViewingsBtnLabel:$="ADD VIEWINGS"}=S,q=()=>{const e=`${D()}${l?"-"+l.length:""}`;a(e),w(e),p&&p(e)},L=e=>{a(""),typeof c=="function"&&c(e)},_=e=>{a(e),w(l?.find(i=>i.id===e))},x=e=>{y(e)&&a("")},C=()=>{typeof o=="string"?typeof c=="function"&&c(o):f===o?.id&&v(e=>e?.map(i=>i.id===o.id?o:i)),a("")};return m.createElement("div",{ref:s,...V,className:b.default(O,d),key:f,...h},g.jsx("h2",{className:b.default(`${O}__title`),children:N}),l?.map((e,i)=>g.jsx(M.default,{...e,...S,cardTitle:e.location?`${n} ${i+1}`:void 0,isEditState:f===e.id,onCancel:C,onDelete:L,onEdit:()=>_(e.id),onSave:x},`${e.id}`)),g.jsx(P.default,{id:`viewings-list-add-btn-${t.id||D()}`,onClick:q,children:$}))});j.displayName="ViewingsList";exports.default=j;
@@ -1,6 +1,8 @@
1
+ import './_viewingsList.css';
1
2
  import { jsx as c } from "react/jsx-runtime";
2
3
  import * as o from "react";
3
4
  import { forwardRef as R, createElement as k } from "react";
5
+
4
6
  import w from "../../_virtual/index2.js";
5
7
  import { getCommonProps as x } from "../../utils/index.js";
6
8
  import B from "./ViewingsListCard.js";
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),ue=require("react"),ce=require("../../_virtual/index2.cjs"),p=require("../../utils/index.cjs"),h=require("../../components/Input/Input.cjs"),c=require("../../components/Button/Button.cjs"),o=require("../../components/Button/types.cjs"),oe=require("./ViewingsListCardForm.cjs");function de(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(i,r,u.get?u:{enumerable:!0,get:()=>n[r]})}}return i.default=n,Object.freeze(i)}const d=de(ue),f=`${p.px}-viewings-list-card`,fe=({address1:n,address1Label:i,addressUrl:r,addressUrlLabel:u,address2:v,address2Label:$,address3:E,address3Label:O,cancelBtnLabel:C="CANCEL",cardTitle:_="Add New Viewing",deleteBtnLabel:q="DELETE",editBtnLabel:w="EDIT",isEditState:a,enableOnSite:x="false",enableOnSiteToggleLabel:S="Enabled on website",email:V,emailLabel:T="Email",emailLink:k,emailLinkLabel:A="Email Address",emailOn:L="false",emailToggleLabel:N="Include Email Address",id:t,invalidFields:s,location:B,locationLabel:I="Location",onCancel:y,onEdit:m,onDelete:j,onSave:g,previewDates:D,previewDatesLabel:R,previewHours1:z,previewHours1Label:M,previewHours2:P,previewHours2Label:G,previewLabel:H,previewLabelValue:J,previewOn:K,previewToggleLabel:Q,saveBtnLabel:U="SAVE DETAILS",viewingLabel:W,viewingLabelValue:X,viewingDates:Y,viewingDatesLabel:Z,viewingHours1:F,viewingHours1Label:ee,viewingHours2:te,viewingHours2Label:ne})=>{const[ae,re]=d.useState(x==="true"),l=d.useRef(null);d.useEffect(()=>{a&&l.current&&l.current.focus()},[a]),d.useEffect(()=>{s&&l.current&&l.current.closest(`.${p.px}-viewings-list-card`)?.querySelector(`.${p.px}-input--invalid input`)?.focus()},[s]);const ie=()=>{typeof y=="function"&&y()},se=()=>{typeof m=="function"&&m()},le=b=>{typeof g=="function"&&g(b)};return e.jsxs("section",{"data-testid":`viewings-list-card-${t}`,id:t,className:ce.default(`${f}`,{[`${f}--edit-state`]:a}),children:[e.jsx("h3",{className:`${f}__title`,children:_}),e.jsx("input",{type:"hidden",name:"id",value:t}),e.jsx(h.default,{ref:l,id:`location-${t}`,defaultValue:B,labelText:I,size:"sm",name:"location",invalid:!!s?.location,invalidText:s?.location,readOnly:!a}),a?e.jsx(oe.default,{address1:n,address1Label:i,addressUrl:r,addressUrlLabel:u,address2:v,address2Label:$,address3:E,address3Label:O,email:V,emailLabel:T,emailLink:k,emailLinkLabel:A,emailOn:L,emailToggleLabel:N,id:t,invalidFields:s,previewDates:D,previewDatesLabel:R,previewHours1:z,previewHours1Label:M,previewHours2:P,previewHours2Label:G,previewLabel:H,previewLabelValue:J,previewOn:K,previewToggleLabel:Q,viewingLabel:W,viewingLabelValue:X,viewingDates:Y,viewingDatesLabel:Z,viewingHours1:F,viewingHours1Label:ee,viewingHours2:te,viewingHours2Label:ne}):null,e.jsx(h.default,{id:`enableOnSite-${t}`,type:"toggle",defaultChecked:x==="true",labelText:S,size:"md",inline:!0,value:"true",name:"enableOnSite",onChange:()=>re(b=>!b),readOnly:!a}),ae?null:e.jsx("input",{type:"hidden",name:"enableOnSite",value:"false"}),e.jsx("hr",{}),e.jsx("div",{className:`${f}__btn-group ${p.px}-button__group`,children:a?e.jsxs(e.Fragment,{children:[e.jsx(c.default,{id:`vlc-save-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"submit",onClick:le,children:U}),e.jsx(c.default,{id:`vlc-cancel-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"button",onClick:ie,children:C})]}):e.jsxs(e.Fragment,{children:[e.jsx(c.default,{id:`vlc-edit-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"button",onClick:se,children:w}),e.jsx(c.default,{id:`vlc-delete-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"button",onClick:()=>typeof j=="function"&&j(t),children:q})]})})]})};exports.default=fe;
1
+ require('./_viewingsList.css');
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime");;const ue=require("react"),ce=require("../../_virtual/index2.cjs"),p=require("../../utils/index.cjs"),h=require("../../components/Input/Input.cjs"),c=require("../../components/Button/Button.cjs"),o=require("../../components/Button/types.cjs"),oe=require("./ViewingsListCardForm.cjs");function de(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(i,r,u.get?u:{enumerable:!0,get:()=>n[r]})}}return i.default=n,Object.freeze(i)}const d=de(ue),f=`${p.px}-viewings-list-card`,fe=({address1:n,address1Label:i,addressUrl:r,addressUrlLabel:u,address2:v,address2Label:$,address3:E,address3Label:O,cancelBtnLabel:C="CANCEL",cardTitle:_="Add New Viewing",deleteBtnLabel:q="DELETE",editBtnLabel:w="EDIT",isEditState:a,enableOnSite:x="false",enableOnSiteToggleLabel:S="Enabled on website",email:V,emailLabel:T="Email",emailLink:k,emailLinkLabel:A="Email Address",emailOn:L="false",emailToggleLabel:N="Include Email Address",id:t,invalidFields:s,location:B,locationLabel:I="Location",onCancel:y,onEdit:m,onDelete:j,onSave:g,previewDates:D,previewDatesLabel:R,previewHours1:z,previewHours1Label:M,previewHours2:P,previewHours2Label:G,previewLabel:H,previewLabelValue:J,previewOn:K,previewToggleLabel:Q,saveBtnLabel:U="SAVE DETAILS",viewingLabel:W,viewingLabelValue:X,viewingDates:Y,viewingDatesLabel:Z,viewingHours1:F,viewingHours1Label:ee,viewingHours2:te,viewingHours2Label:ne})=>{const[ae,re]=d.useState(x==="true"),l=d.useRef(null);d.useEffect(()=>{a&&l.current&&l.current.focus()},[a]),d.useEffect(()=>{s&&l.current&&l.current.closest(`.${p.px}-viewings-list-card`)?.querySelector(`.${p.px}-input--invalid input`)?.focus()},[s]);const ie=()=>{typeof y=="function"&&y()},se=()=>{typeof m=="function"&&m()},le=b=>{typeof g=="function"&&g(b)};return e.jsxs("section",{"data-testid":`viewings-list-card-${t}`,id:t,className:ce.default(`${f}`,{[`${f}--edit-state`]:a}),children:[e.jsx("h3",{className:`${f}__title`,children:_}),e.jsx("input",{type:"hidden",name:"id",value:t}),e.jsx(h.default,{ref:l,id:`location-${t}`,defaultValue:B,labelText:I,size:"sm",name:"location",invalid:!!s?.location,invalidText:s?.location,readOnly:!a}),a?e.jsx(oe.default,{address1:n,address1Label:i,addressUrl:r,addressUrlLabel:u,address2:v,address2Label:$,address3:E,address3Label:O,email:V,emailLabel:T,emailLink:k,emailLinkLabel:A,emailOn:L,emailToggleLabel:N,id:t,invalidFields:s,previewDates:D,previewDatesLabel:R,previewHours1:z,previewHours1Label:M,previewHours2:P,previewHours2Label:G,previewLabel:H,previewLabelValue:J,previewOn:K,previewToggleLabel:Q,viewingLabel:W,viewingLabelValue:X,viewingDates:Y,viewingDatesLabel:Z,viewingHours1:F,viewingHours1Label:ee,viewingHours2:te,viewingHours2Label:ne}):null,e.jsx(h.default,{id:`enableOnSite-${t}`,type:"toggle",defaultChecked:x==="true",labelText:S,size:"md",inline:!0,value:"true",name:"enableOnSite",onChange:()=>re(b=>!b),readOnly:!a}),ae?null:e.jsx("input",{type:"hidden",name:"enableOnSite",value:"false"}),e.jsx("hr",{}),e.jsx("div",{className:`${f}__btn-group ${p.px}-button__group`,children:a?e.jsxs(e.Fragment,{children:[e.jsx(c.default,{id:`vlc-save-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"submit",onClick:le,children:U}),e.jsx(c.default,{id:`vlc-cancel-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"button",onClick:ie,children:C})]}):e.jsxs(e.Fragment,{children:[e.jsx(c.default,{id:`vlc-edit-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"button",onClick:se,children:w}),e.jsx(c.default,{id:`vlc-delete-btn-${t}`,variant:o.ButtonVariants.tertiary,type:"button",onClick:()=>typeof j=="function"&&j(t),children:q})]})})]})};exports.default=fe;
@@ -1,4 +1,6 @@
1
+ import './_viewingsList.css';
1
2
  import { jsxs as f, jsx as t, Fragment as y } from "react/jsx-runtime";
3
+
2
4
  import * as a from "react";
3
5
  import ut from "../../_virtual/index2.js";
4
6
  import { px as c } from "../../utils/index.js";
@@ -6,7 +8,7 @@ import v from "../../components/Input/Input.js";
6
8
  import l from "../../components/Button/Button.js";
7
9
  import { ButtonVariants as o } from "../../components/Button/types.js";
8
10
  import ft from "./ViewingsListCardForm.js";
9
- const s = `${c}-viewings-list-card`, Et = ({
11
+ const s = `${c}-viewings-list-card`, $t = ({
10
12
  address1: E,
11
13
  address1Label: $,
12
14
  addressUrl: g,
@@ -32,8 +34,8 @@ const s = `${c}-viewings-list-card`, Et = ({
32
34
  invalidFields: i,
33
35
  location: D,
34
36
  locationLabel: R = "Location",
35
- onCancel: d,
36
- onEdit: p,
37
+ onCancel: p,
38
+ onEdit: d,
37
39
  onDelete: b,
38
40
  onSave: h,
39
41
  previewDates: q,
@@ -63,9 +65,9 @@ const s = `${c}-viewings-list-card`, Et = ({
63
65
  i && r.current && r.current.closest(`.${c}-viewings-list-card`)?.querySelector(`.${c}-input--invalid input`)?.focus();
64
66
  }, [i]);
65
67
  const ot = () => {
66
- typeof d == "function" && d();
67
- }, st = () => {
68
68
  typeof p == "function" && p();
69
+ }, st = () => {
70
+ typeof d == "function" && d();
69
71
  }, ct = (u) => {
70
72
  typeof h == "function" && h(u);
71
73
  };
@@ -178,5 +180,5 @@ const s = `${c}-viewings-list-card`, Et = ({
178
180
  );
179
181
  };
180
182
  export {
181
- Et as default
183
+ $t as default
182
184
  };
@@ -0,0 +1 @@
1
+ @layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-viewings-list{align-items:center;background-color:#fff;display:flex;flex-direction:column;gap:2.5rem;max-width:38rem;padding:1rem}.seldon-viewings-list__title{font-family:DistinctDisplay,sans-serif;color:#000000bf;font-variation-settings:"wght" 400}.seldon-viewings-list-card{align-items:flex-start;background-color:#fff;border:1px solid;display:flex;flex-direction:column;gap:1.5rem;max-width:34rem;padding:2rem;width:100%}.seldon-viewings-list-card__title{font-family:DistinctDisplay,sans-serif;color:#000000bf;font-variation-settings:"wght" 400;color:#545454}.seldon-viewings-list-card__location{font-size:1.25rem}.seldon-viewings-list-card-form__preview-set{display:flex;flex-direction:column;gap:2rem;padding-inline-start:1rem;width:100%}.seldon-viewings-list-card-form__preview-set--hidden{block-size:1px;border:0;clip-path:inset(100%);inline-size:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;visibility:inherit;white-space:nowrap}.seldon-viewings-list-card hr{width:100%}}
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./utils.cjs"),t=({children:i})=>e.jsxs(r.SSRMediaQuery.MediaContextProvider,{children:[e.jsx("style",{children:r.ssrMediaQueryStyle}),i]});exports.SeldonProvider=t;
1
+ require('../../scss/_foundation.css');
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");;const r=require("./utils.cjs"),o=({children:i})=>e.jsxs(r.SSRMediaQuery.MediaContextProvider,{children:[e.jsx("style",{children:`@layer seldon.foundation {${r.ssrMediaQueryStyle}}`}),i]});exports.SeldonProvider=o;
@@ -1,7 +1,9 @@
1
+ import '../../scss/_foundation.css';
1
2
  import { jsxs as r, jsx as o } from "react/jsx-runtime";
3
+
2
4
  import { SSRMediaQuery as i, ssrMediaQueryStyle as d } from "./utils.js";
3
5
  const l = ({ children: e }) => /* @__PURE__ */ r(i.MediaContextProvider, { children: [
4
- /* @__PURE__ */ o("style", { children: d }),
6
+ /* @__PURE__ */ o("style", { children: `@layer seldon.foundation {${d}}` }),
5
7
  e
6
8
  ] });
7
9
  export {
@@ -1,4 +1,5 @@
1
- @forward './sharedClasses';
1
+ // Mixins and variables only. CSS-emitting sheets (sharedClasses, typography,
2
+ // :root tokens) live in foundation.scss so consumers can load them once.
2
3
  @forward './type';
3
4
  @forward './utils';
4
5
  @forward './vars';
@@ -0,0 +1 @@
1
+ @layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.foundation{html,body{font-family:Montserrat,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Cantarell,Ubuntu,roboto,noto,arial,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:rgba(0,0,0,0)}@font-face{font-display:swap;font-family:DistinctDisplay;src:url(../fonts/Distinct-Display.woff2) format("woff2"),url(../fonts/Distinct-Display.woff) format("woff")}@font-face{font-display:swap;font-family:DistinctDisplay;font-style:italic;src:url(../fonts/Distinct-DisplayItalic.woff2) format("woff2"),url(../fonts/Distinct-DisplayItalic.woff) format("woff")}@font-face{font-display:swap;font-family:Montserrat;src:url(../fonts/Montserrat.woff2) format("woff2"),url(../fonts/Montserrat.woff) format("woff")}@font-face{font-display:swap;font-family:Distinct;src:url(../fonts/Distinct-Text.woff2) format("woff2"),url(../fonts/Distinct-Text.woff) format("woff")}@font-face{font-display:swap;font-family:Distinct;font-style:italic;src:url(../fonts/Distinct-Italic.woff2) format("woff2"),url(../fonts/Distinct-Italic.woff) format("woff")}}@layer seldon.foundation{.seldon-padding-vertical-micro-start{padding-top:var(--spacing-micro)}.seldon-padding-vertical-micro-end{padding-bottom:var(--spacing-micro)}.seldon-padding-vertical-micro-both{padding-top:var(--spacing-micro);padding-bottom:var(--spacing-micro)}.seldon-padding-vertical-xsm-start{padding-top:var(--spacing-xsm)}.seldon-padding-vertical-xsm-end{padding-bottom:var(--spacing-xsm)}.seldon-padding-vertical-xsm-both{padding-top:var(--spacing-xsm);padding-bottom:var(--spacing-xsm)}.seldon-padding-vertical-sm-start{padding-top:var(--spacing-sm)}.seldon-padding-vertical-sm-end{padding-bottom:var(--spacing-sm)}.seldon-padding-vertical-sm-both{padding-top:var(--spacing-sm);padding-bottom:var(--spacing-sm)}.seldon-padding-vertical-md-start{padding-top:var(--spacing-md)}.seldon-padding-vertical-md-end{padding-bottom:var(--spacing-md)}.seldon-padding-vertical-md-both{padding-top:var(--spacing-md);padding-bottom:var(--spacing-md)}.seldon-padding-vertical-lg-start{padding-top:var(--spacing-lg)}.seldon-padding-vertical-lg-end{padding-bottom:var(--spacing-lg)}.seldon-padding-vertical-lg-both{padding-top:var(--spacing-lg);padding-bottom:var(--spacing-lg)}.seldon-padding-vertical-xl-start{padding-top:var(--spacing-xl)}.seldon-padding-vertical-xl-end{padding-bottom:var(--spacing-xl)}.seldon-padding-vertical-xl-both{padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}.seldon-padding-vertical-xxl-start{padding-top:var(--spacing-xxl)}.seldon-padding-vertical-xxl-end{padding-bottom:var(--spacing-xxl)}.seldon-padding-vertical-xxl-both{padding-top:var(--spacing-xxl);padding-bottom:var(--spacing-xxl)}.seldon-padding-horizontal-micro-start{padding-left:var(--spacing-micro)}.seldon-padding-horizontal-micro-end{padding-right:var(--spacing-micro)}.seldon-padding-horizontal-micro-both{padding-left:var(--spacing-micro);padding-right:var(--spacing-micro)}.seldon-padding-horizontal-xsm-start{padding-left:var(--spacing-xsm)}.seldon-padding-horizontal-xsm-end{padding-right:var(--spacing-xsm)}.seldon-padding-horizontal-xsm-both{padding-left:var(--spacing-xsm);padding-right:var(--spacing-xsm)}.seldon-padding-horizontal-sm-start{padding-left:var(--spacing-sm)}.seldon-padding-horizontal-sm-end{padding-right:var(--spacing-sm)}.seldon-padding-horizontal-sm-both{padding-left:var(--spacing-sm);padding-right:var(--spacing-sm)}.seldon-padding-horizontal-md-start{padding-left:var(--spacing-md)}.seldon-padding-horizontal-md-end{padding-right:var(--spacing-md)}.seldon-padding-horizontal-md-both{padding-left:var(--spacing-md);padding-right:var(--spacing-md)}.seldon-padding-horizontal-lg-start{padding-left:var(--spacing-lg)}.seldon-padding-horizontal-lg-end{padding-right:var(--spacing-lg)}.seldon-padding-horizontal-lg-both{padding-left:var(--spacing-lg);padding-right:var(--spacing-lg)}.seldon-padding-horizontal-xl-start{padding-left:var(--spacing-xl)}.seldon-padding-horizontal-xl-end{padding-right:var(--spacing-xl)}.seldon-padding-horizontal-xl-both{padding-left:var(--spacing-xl);padding-right:var(--spacing-xl)}.seldon-padding-horizontal-xxl-start{padding-left:var(--spacing-xxl)}.seldon-padding-horizontal-xxl-end{padding-right:var(--spacing-xxl)}.seldon-padding-horizontal-xxl-both{padding-left:var(--spacing-xxl);padding-right:var(--spacing-xxl)}.seldon-skeleton,.seldon-skeleton:before,.seldon-skeleton:after{animation:skeleton-pulse 1s infinite alternate-reverse!important;background-image:none!important;background-clip:initial!important;border-radius:4px!important;border-color:#0000!important;box-shadow:none!important;-webkit-box-decoration-break:clone!important;box-decoration-break:clone!important;color:#0000!important;outline:none!important;pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important;cursor:default!important}input[type=checkbox].seldon-skeleton,input[type=radio].seldon-skeleton{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0!important;width:13px!important;height:13px!important}button.seldon-skeleton{border-radius:4px!important}button.seldon-skeleton svg path{fill:transparent!important}.seldon-toggle-input .seldon-skeleton:before,.seldon-toggle-input .seldon-skeleton:after{border-radius:4px!important}.seldon-toggle-input .seldon-skeleton:after{display:none!important}@keyframes skeleton-pulse{0%{background-color:#eae9e6}to{background-color:#00000040}}}@layer seldon.foundation{:root{--desktop-max-width: 120rem;--quote-size: 1.5rem;--quote-line-height: 2rem;--heading-size1: 1.5rem;--heading-line-height-size1: 1.75rem;--heading-size2: 1.5rem;--heading-line-height-size2: 1.75rem;--heading-size3: 1.25rem;--heading-line-height-size3: 1.5rem;--heading-size4: 1rem;--heading-line-height-size4: 1.25rem;--heading-size5: .75rem;--heading-line-height-size5: 1rem;--string-size1: 1rem;--string-line-height-size1: 1.25rem;--string-size2: .75rem;--string-line-height-size2: 1rem;--string-size3: .5rem;--string-line-height-size3: .75rem;--body-size1: 1rem;--body-line-height-size1: 1.5rem;--body-size2: .75rem;--body-line-height-size2: 1.25rem;--body-size3: .5rem;--body-line-height-size3: 1rem;--label-size1: 1rem;--label-size2: .75rem;--label-size3: .56rem;--label-size4: .56rem;--link-label-size: .75rem;--link-label-line-height: .75rem;--button-label-size: .75rem;--button-label-line-height: 1rem;--button-tertiary-height: 1.75rem;--badge-label-size: .5rem;--badge-label-line-height: .67rem;--snw-header-link-size: 1rem;--snw-header-link-line-height: 1.5rem;--snw-flyout-link-size: 1rem;--snw-flyout-link-line-height: 1.75rem;--snw-heading-hero-size1: 2rem;--snw-heading-hero-line-height-size1: 2.375rem;--snw-heading-hero-size2: 1.625rem;--snw-heading-hero-line-height-size2: 1.9375rem;--snw-button-padding: .5rem;--spacing-micro: .25rem;--spacing-xsm: .5rem;--spacing-sm: .75rem;--spacing-md: 1.75rem;--spacing-lg: 2.75rem;--spacing-xl: 3.75rem;--spacing-xxl: 4.75rem;--spacing-xxxl: 5.75rem;--header-height: 56px;--search-size: 2.32rem;--banner-height: 0px;--font-size-display-medium: 2.5rem;--font-size-display-small: 2rem;--font-size-heading-large: 1.5rem;--font-size-heading-medium: 1.25rem;--font-size-heading-small: 1rem;--font-size-heading-extra-small: .75rem;--font-size-body-large: 1rem;--font-size-body-medium: .875rem;--font-size-body-small: .75rem;--font-size-label-large: 1rem;--font-size-label-medium: .875rem;--font-size-label-small: .75rem;--font-size-link-stylised: 1rem;--font-size-link-large: 1rem;--font-size-link-medium: .875rem;--font-size-link-small: .75rem;--font-size-badge-small: .75rem;--font-size-badge-medium: .875rem}}
@@ -0,0 +1,69 @@
1
+ @use './typography' as *;
2
+ @use './vars' as *;
3
+ @use './sharedClasses';
4
+ @use './layers';
5
+
6
+ @layer seldon.foundation {
7
+ :root {
8
+ --desktop-max-width: 120rem;
9
+ --quote-size: 1.5rem;
10
+ --quote-line-height: 2rem;
11
+ --heading-size1: 1.5rem;
12
+ --heading-line-height-size1: 1.75rem;
13
+ --heading-size2: 1.5rem;
14
+ --heading-line-height-size2: 1.75rem;
15
+ --heading-size3: 1.25rem;
16
+ --heading-line-height-size3: 1.5rem;
17
+ --heading-size4: 1rem;
18
+ --heading-line-height-size4: 1.25rem;
19
+ --heading-size5: 0.75rem;
20
+ --heading-line-height-size5: 1rem;
21
+ --string-size1: 1rem;
22
+ --string-line-height-size1: 1.25rem;
23
+ --string-size2: 0.75rem;
24
+ --string-line-height-size2: 1rem;
25
+ --string-size3: 0.5rem;
26
+ --string-line-height-size3: 0.75rem;
27
+ --body-size1: 1rem;
28
+ --body-line-height-size1: 1.5rem;
29
+ --body-size2: 0.75rem;
30
+ --body-line-height-size2: 1.25rem;
31
+ --body-size3: 0.5rem;
32
+ --body-line-height-size3: 1rem;
33
+ --label-size1: 1rem;
34
+ --label-size2: 0.75rem;
35
+ --label-size3: 0.56rem;
36
+ --label-size4: 0.56rem;
37
+ --link-label-size: 0.75rem;
38
+ --link-label-line-height: 0.75rem;
39
+ --button-label-size: 0.75rem;
40
+ --button-label-line-height: 1rem;
41
+ --button-tertiary-height: 1.75rem;
42
+ --badge-label-size: 0.5rem;
43
+ --badge-label-line-height: 0.67rem;
44
+ --snw-header-link-size: 1rem;
45
+ --snw-header-link-line-height: 1.5rem;
46
+ --snw-flyout-link-size: 1rem;
47
+ --snw-flyout-link-line-height: 1.75rem;
48
+ --snw-heading-hero-size1: 2rem;
49
+ --snw-heading-hero-line-height-size1: 2.375rem;
50
+ --snw-heading-hero-size2: 1.625rem;
51
+ --snw-heading-hero-line-height-size2: 1.9375rem;
52
+ --snw-button-padding: 0.5rem;
53
+ --spacing-micro: 0.25rem;
54
+ --spacing-xsm: 0.5rem;
55
+ --spacing-sm: 0.75rem;
56
+ --spacing-md: 1.75rem;
57
+ --spacing-lg: 2.75rem;
58
+ --spacing-xl: 3.75rem;
59
+ --spacing-xxl: 4.75rem;
60
+ --spacing-xxxl: 5.75rem;
61
+ --header-height: 56px; // Set dynamically by Header component on mount
62
+ --search-size: 2.32rem; // This should be calculated from the scaling text and scaling spacing tokens instead of hardcoding in case they change
63
+ --banner-height: 0px;
64
+
65
+ // FONT SIZES
66
+
67
+ @include font-size-vars;
68
+ }
69
+ }
@@ -0,0 +1,12 @@
1
+ // Repeated at the top of every CSS-emitting sheet on purpose. CSS records
2
+ // layer order from the first `@layer` statement in the document; later
3
+ // restatements of names that already exist are ignored. Whichever Seldon
4
+ // file the consumer evaluates first therefore has to list the full order.
5
+ // `vendor` is reserved for third-party CSS (e.g. flatpickr) so Seldon can
6
+ // override it. Unlayered consumer CSS still beats every named layer.
7
+ @layer vendor, seldon.foundation, seldon.components, seldon.patterns, seldon.site;
8
+
9
+ // These tiers order CSS across tiers only. Two sheets in the same tier that style
10
+ // the same element at the same specificity still tie, and a tie inside one layer
11
+ // falls back to source order -- i.e. to JS import order. Keep each component's own
12
+ // stylesheet import last so it wins those ties; see Button.tsx for the live case.
@@ -1,64 +1,68 @@
1
- *,
2
- *::before,
3
- *::after {
4
- box-sizing: border-box;
5
- }
1
+ @use './layers';
6
2
 
7
- * {
8
- margin: 0;
9
- }
3
+ @layer seldon.foundation {
4
+ *,
5
+ *::before,
6
+ *::after {
7
+ box-sizing: border-box;
8
+ }
10
9
 
11
- body {
12
- -webkit-font-smoothing: antialiased;
13
- line-height: 1.5;
14
- }
10
+ * {
11
+ margin: 0;
12
+ }
15
13
 
16
- img,
17
- picture,
18
- video,
19
- canvas,
20
- svg {
21
- display: block;
22
- max-width: 100%;
23
- }
14
+ body {
15
+ -webkit-font-smoothing: antialiased;
16
+ line-height: 1.5;
17
+ }
24
18
 
25
- input,
26
- button,
27
- textarea,
28
- select {
29
- font: inherit;
30
- }
19
+ img,
20
+ picture,
21
+ video,
22
+ canvas,
23
+ svg {
24
+ display: block;
25
+ max-width: 100%;
26
+ }
31
27
 
32
- p,
33
- h1,
34
- h2,
35
- h3,
36
- h4,
37
- h5,
38
- h6 {
39
- /* stylelint-disable-next-line declaration-property-value-disallowed-list */
40
- font-weight: unset;
41
- overflow-wrap: break-word;
42
- }
28
+ input,
29
+ button,
30
+ textarea,
31
+ select {
32
+ font: inherit;
33
+ }
43
34
 
44
- a {
45
- color: inherit;
46
- text-decoration: none;
47
- }
35
+ p,
36
+ h1,
37
+ h2,
38
+ h3,
39
+ h4,
40
+ h5,
41
+ h6 {
42
+ /* stylelint-disable-next-line declaration-property-value-disallowed-list */
43
+ font-weight: unset;
44
+ overflow-wrap: break-word;
45
+ }
48
46
 
49
- ul {
50
- list-style: none;
51
- padding: 0;
52
- }
47
+ a {
48
+ color: inherit;
49
+ text-decoration: none;
50
+ }
53
51
 
54
- li {
55
- list-style: none;
56
- }
52
+ ul {
53
+ list-style: none;
54
+ padding: 0;
55
+ }
57
56
 
58
- #root {
59
- isolation: isolate;
60
- }
57
+ li {
58
+ list-style: none;
59
+ }
60
+
61
+ #root {
62
+ isolation: isolate;
63
+ }
61
64
 
62
- label {
63
- cursor: inherit;
65
+ label {
66
+ cursor: inherit;
67
+ }
64
68
  }