@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.
- package/README.md +85 -5
- package/dist/_virtual/index3.cjs +1 -1
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.cjs +1 -1
- package/dist/_virtual/index4.js +2 -4
- package/dist/_virtual/index5.cjs +1 -1
- package/dist/_virtual/index5.js +4 -2
- package/dist/components/Accordion/Accordion.cjs +2 -1
- package/dist/components/Accordion/Accordion.js +5 -3
- package/dist/components/Accordion/_accordion.css +1 -0
- package/dist/components/AddToCalendar/AddToCalendar.cjs +2 -1
- package/dist/components/AddToCalendar/AddToCalendar.js +2 -0
- package/dist/components/AddToCalendar/_addToCalendar.css +1 -0
- package/dist/components/Article/Article.cjs +2 -1
- package/dist/components/Article/Article.js +2 -0
- package/dist/components/Article/_article.css +1 -0
- package/dist/components/Banner/Banner.cjs +2 -1
- package/dist/components/Banner/Banner.js +4 -2
- package/dist/components/Banner/_banner.css +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.cjs +2 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +16 -14
- package/dist/components/Breadcrumb/_breadcrumb.css +1 -0
- package/dist/components/Button/Button.cjs +2 -1
- package/dist/components/Button/Button.js +2 -0
- package/dist/components/Button/_button.css +1 -0
- package/dist/components/Card/Card.cjs +2 -1
- package/dist/components/Card/Card.js +4 -2
- package/dist/components/Card/_card.css +1 -0
- package/dist/components/Carousel/Carousel.cjs +2 -1
- package/dist/components/Carousel/Carousel.js +68 -69
- package/dist/components/Carousel/CarouselDot.cjs +1 -1
- package/dist/components/Carousel/CarouselDot.d.ts +4 -2
- package/dist/components/Carousel/CarouselDot.js +12 -11
- package/dist/components/Carousel/CarouselDots.cjs +1 -1
- package/dist/components/Carousel/CarouselDots.js +62 -58
- package/dist/components/Carousel/_carousel.css +1 -0
- package/dist/components/ComboBox/ComboBox.cjs +3 -1
- package/dist/components/ComboBox/ComboBox.js +35 -31
- package/dist/components/ComboBox/ComboBox.stories.d.ts +1 -0
- package/dist/components/ComboBox/_combobox.css +1 -0
- package/dist/components/ComposedModal/ComposedModal.cjs +2 -1
- package/dist/components/ComposedModal/ComposedModal.js +11 -9
- package/dist/components/ComposedModal/_composedModal.css +1 -0
- package/dist/components/ContentPeek/ContentPeek.cjs +2 -1
- package/dist/components/ContentPeek/ContentPeek.js +2 -0
- package/dist/components/ContentPeek/_contentPeek.css +1 -0
- package/dist/components/Countdown/Countdown.cjs +2 -1
- package/dist/components/Countdown/Countdown.js +13 -11
- package/dist/components/Countdown/Duration.cjs +2 -1
- package/dist/components/Countdown/Duration.js +4 -2
- package/dist/components/Countdown/_countdown.css +1 -0
- package/dist/components/Countdown/_duration.css +1 -0
- package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.cjs +2 -1
- package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +22 -20
- package/dist/components/DescriptiveRadioButton/_descriptiveRadioButton.css +1 -0
- package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.cjs +2 -1
- package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +7 -5
- package/dist/components/DescriptiveRadioButtonGroup/_descriptiveRadioButtonGroup.css +1 -0
- package/dist/components/Detail/Detail.cjs +2 -1
- package/dist/components/Detail/Detail.js +5 -3
- package/dist/components/Detail/_detail.css +1 -0
- package/dist/components/DetailList/DetailList.cjs +2 -1
- package/dist/components/DetailList/DetailList.js +14 -12
- package/dist/components/DetailList/_detailList.css +1 -0
- package/dist/components/Divider/Divider.cjs +2 -1
- package/dist/components/Divider/Divider.js +8 -6
- package/dist/components/Divider/_divider.css +1 -0
- package/dist/components/Drawer/Drawer.cjs +2 -1
- package/dist/components/Drawer/Drawer.js +9 -7
- package/dist/components/Drawer/DrawerHeader.cjs +2 -1
- package/dist/components/Drawer/DrawerHeader.js +12 -10
- package/dist/components/Drawer/_drawer.css +1 -0
- package/dist/components/Drawer/_drawerHeader.css +1 -0
- package/dist/components/Dropdown/Dropdown.cjs +2 -1
- package/dist/components/Dropdown/Dropdown.js +2 -0
- package/dist/components/Dropdown/_dropdown.css +1 -0
- package/dist/components/ExitGateCard/ExitGateCard.cjs +2 -1
- package/dist/components/ExitGateCard/ExitGateCard.js +6 -4
- package/dist/components/ExitGateCard/_exitGateCard.css +1 -0
- package/dist/components/FavoritingTileButton/FavoritingTileButton.cjs +2 -1
- package/dist/components/FavoritingTileButton/FavoritingTileButton.js +8 -6
- package/dist/components/FavoritingTileButton/_favoritingTileButton.css +1 -0
- package/dist/components/Filter/Filter.cjs +2 -1
- package/dist/components/Filter/Filter.js +9 -7
- package/dist/components/Filter/_filter.css +1 -0
- package/dist/components/Grid/Grid.cjs +2 -1
- package/dist/components/Grid/Grid.js +13 -11
- package/dist/components/Grid/_grid.css +1 -0
- package/dist/components/GridItem/GridItem.cjs +2 -1
- package/dist/components/GridItem/GridItem.js +2 -0
- package/dist/components/GridItem/_gridItem.css +1 -0
- package/dist/components/Icon/Icon.cjs +2 -1
- package/dist/components/Icon/Icon.js +6 -4
- package/dist/components/Icon/_icon.css +1 -0
- package/dist/components/IconButton/IconButton.cjs +2 -1
- package/dist/components/IconButton/IconButton.js +11 -9
- package/dist/components/IconButton/_iconButton.css +1 -0
- package/dist/components/Input/Input.cjs +3 -1
- package/dist/components/Input/Input.js +4 -0
- package/dist/components/Input/_input.css +1 -0
- package/dist/components/Link/Link.cjs +2 -1
- package/dist/components/Link/Link.js +10 -8
- package/dist/components/Link/_link.css +1 -0
- package/dist/components/LinkBlock/LinkBlock.cjs +2 -1
- package/dist/components/LinkBlock/LinkBlock.js +8 -6
- package/dist/components/LinkBlock/_linkBlock.css +1 -0
- package/dist/components/LinkList/LinkList.cjs +2 -1
- package/dist/components/LinkList/LinkList.js +11 -9
- package/dist/components/LinkList/_linkList.css +1 -0
- package/dist/components/Loader/Loader.cjs +2 -1
- package/dist/components/Loader/Loader.js +8 -6
- package/dist/components/Loader/_loader.css +1 -0
- package/dist/components/Modal/Modal.cjs +2 -1
- package/dist/components/Modal/Modal.js +6 -4
- package/dist/components/Modal/_modal.css +1 -0
- package/dist/components/Navigation/Navigation.cjs +2 -1
- package/dist/components/Navigation/Navigation.js +10 -8
- package/dist/components/Navigation/NavigationItem/NavigationItem.cjs +2 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +6 -4
- package/dist/components/Navigation/NavigationItem/_navigationItem.css +1 -0
- package/dist/components/Navigation/NavigationItemWithSubmenu/NavigationItemWithSubmenu.cjs +2 -1
- package/dist/components/Navigation/NavigationItemWithSubmenu/NavigationItemWithSubmenu.js +8 -6
- package/dist/components/Navigation/NavigationItemWithSubmenu/_navigationItemWithSubmenu.css +1 -0
- package/dist/components/Navigation/NavigationList/NavigationList.cjs +2 -1
- package/dist/components/Navigation/NavigationList/NavigationList.js +9 -7
- package/dist/components/Navigation/NavigationList/_navigationList.css +1 -0
- package/dist/components/Navigation/_navigation.css +1 -0
- package/dist/components/NotificationBanner/NotificationBanner.cjs +2 -1
- package/dist/components/NotificationBanner/NotificationBanner.js +4 -2
- package/dist/components/NotificationBanner/_notificationBanner.css +1 -0
- package/dist/components/PageContentWrapper/PageContentWrapper.cjs +2 -1
- package/dist/components/PageContentWrapper/PageContentWrapper.js +11 -9
- package/dist/components/PageContentWrapper/_pageContentWrapper.css +1 -0
- package/dist/components/Pagination/Pagination.cjs +2 -1
- package/dist/components/Pagination/Pagination.js +2 -0
- package/dist/components/Pagination/_pagination.css +1 -0
- package/dist/components/PinchZoom/PinchZoom.cjs +2 -1
- package/dist/components/PinchZoom/PinchZoom.js +2 -0
- package/dist/components/PinchZoom/_pinchZoom.css +1 -0
- package/dist/components/ProgressBar/ProgressBar.cjs +2 -1
- package/dist/components/ProgressBar/ProgressBar.js +2 -0
- package/dist/components/ProgressBar/_progressBar.css +1 -0
- package/dist/components/ProgressIndicator/ProgressIndicator.cjs +2 -1
- package/dist/components/ProgressIndicator/ProgressIndicator.js +13 -11
- package/dist/components/ProgressIndicator/_progressIndicator.css +1 -0
- package/dist/components/Row/Row.cjs +2 -1
- package/dist/components/Row/Row.js +6 -4
- package/dist/components/Row/_row.css +1 -0
- package/dist/components/Search/Search.cjs +2 -1
- package/dist/components/Search/Search.js +2 -0
- package/dist/components/Search/SearchButton.cjs +2 -1
- package/dist/components/Search/SearchButton.js +4 -2
- package/dist/components/Search/SearchResults/SearchResults.cjs +2 -1
- package/dist/components/Search/SearchResults/SearchResults.js +4 -2
- package/dist/components/Search/SearchResults/_searchResults.css +1 -0
- package/dist/components/Search/_search.css +1 -0
- package/dist/components/Search/_searchButton.css +1 -0
- package/dist/components/SeldonImage/SeldonImage.cjs +2 -1
- package/dist/components/SeldonImage/SeldonImage.js +2 -0
- package/dist/components/SeldonImage/_seldonImage.css +1 -0
- package/dist/components/Select/Select.cjs +3 -1
- package/dist/components/Select/Select.js +21 -17
- package/dist/components/Select/_select.css +1 -0
- package/dist/components/SlideToActivate/SlideToActivate.cjs +2 -1
- package/dist/components/SlideToActivate/SlideToActivate.js +2 -0
- package/dist/components/SlideToActivate/_slideToActivate.css +1 -0
- package/dist/components/SplitPanel/SplitPanel.cjs +2 -1
- package/dist/components/SplitPanel/SplitPanel.js +6 -4
- package/dist/components/SplitPanel/_splitPanel.css +1 -0
- package/dist/components/Tabs/TabsContainer.cjs +2 -1
- package/dist/components/Tabs/TabsContainer.js +2 -0
- package/dist/components/Tabs/_tabs.css +1 -0
- package/dist/components/Tags/Tags.cjs +2 -1
- package/dist/components/Tags/Tags.js +10 -8
- package/dist/components/Tags/_tags.css +1 -0
- package/dist/components/Text/Text.cjs +2 -1
- package/dist/components/Text/Text.js +6 -4
- package/dist/components/Text/_text.css +1 -0
- package/dist/components/TextArea/TextArea.cjs +3 -1
- package/dist/components/TextArea/TextArea.js +14 -10
- package/dist/components/TextArea/TextArea.stories.d.ts +1 -0
- package/dist/components/TextArea/_textArea.css +1 -0
- package/dist/components/TextSymbol/TextSymbol.cjs +2 -1
- package/dist/components/TextSymbol/TextSymbol.js +7 -5
- package/dist/components/TextSymbol/_textSymbol.css +1 -0
- package/dist/components/Toast/Toast.cjs +2 -1
- package/dist/components/Toast/Toast.js +2 -0
- package/dist/components/Toast/_toast.css +1 -0
- package/dist/components/Toggle/_toggle.css +1 -0
- package/dist/components/Video/Video.cjs +2 -1
- package/dist/components/Video/Video.js +2 -0
- package/dist/components/Video/_video.css +1 -0
- package/dist/node_modules/@artsy/fresnel/dist/index.cjs +1 -1
- package/dist/node_modules/@artsy/fresnel/dist/index.js +1 -1
- package/dist/node_modules/classnames/index.cjs +1 -1
- package/dist/node_modules/classnames/index.js +1 -1
- package/dist/node_modules/usehooks-ts/dist/index.cjs +1 -1
- package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
- package/dist/pages/Page.cjs +2 -1
- package/dist/pages/Page.js +4 -2
- package/dist/pages/_page.css +1 -0
- package/dist/patterns/AccountPageHeader/AccountPageHeader.cjs +2 -1
- package/dist/patterns/AccountPageHeader/AccountPageHeader.js +11 -9
- package/dist/patterns/AccountPageHeader/_accountPageHeader.css +1 -0
- package/dist/patterns/BidSnapshot/BidSnapshot.cjs +2 -1
- package/dist/patterns/BidSnapshot/BidSnapshot.js +2 -0
- package/dist/patterns/BidSnapshot/_bidSnapshot.css +1 -0
- package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +4 -0
- package/dist/patterns/CountryPicker/CountryPickerModal.cjs +2 -1
- package/dist/patterns/CountryPicker/CountryPickerModal.js +8 -6
- package/dist/patterns/CountryPicker/CountryPickerOption.cjs +2 -1
- package/dist/patterns/CountryPicker/CountryPickerOption.js +6 -4
- package/dist/patterns/CountryPicker/CountryPickerTrigger.cjs +3 -1
- package/dist/patterns/CountryPicker/CountryPickerTrigger.js +11 -7
- package/dist/patterns/CountryPicker/_countryPickerModal.css +1 -0
- package/dist/patterns/CountryPicker/_countryPickerOption.css +1 -0
- package/dist/patterns/CountryPicker/_countryPickerTrigger.css +1 -0
- package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.cjs +2 -1
- package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +4 -2
- package/dist/patterns/FavoritesCollectionTile/_favoritesCollectionTile.css +1 -0
- package/dist/patterns/FilterMenu/FilterMenu.cjs +2 -1
- package/dist/patterns/FilterMenu/FilterMenu.js +6 -4
- package/dist/patterns/FilterMenu/_filterMenu.css +1 -0
- package/dist/patterns/FiltersInline/FilterButton.cjs +2 -1
- package/dist/patterns/FiltersInline/FilterButton.js +11 -9
- package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.cjs +2 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +16 -14
- package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.cjs +2 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +6 -4
- package/dist/patterns/FiltersInline/FiltersInline.cjs +2 -1
- package/dist/patterns/FiltersInline/FiltersInline.js +6 -4
- package/dist/patterns/FiltersInline/_filterButton.css +1 -0
- package/dist/patterns/FiltersInline/_filterDropdownMenu.css +1 -0
- package/dist/patterns/FiltersInline/_filtersInline.css +1 -0
- package/dist/patterns/HeroBanner/HeroBanner.cjs +2 -1
- package/dist/patterns/HeroBanner/HeroBanner.js +15 -13
- package/dist/patterns/HeroBanner/_heroBanner.css +1 -0
- package/dist/patterns/LanguageSelector/LanguageSelector.cjs +2 -1
- package/dist/patterns/LanguageSelector/LanguageSelector.js +10 -8
- package/dist/patterns/LanguageSelector/_languageSelector.css +1 -0
- package/dist/patterns/ObjectTile/ObjectTile.cjs +2 -1
- package/dist/patterns/ObjectTile/ObjectTile.js +20 -18
- package/dist/patterns/ObjectTile/_objectTile.css +1 -0
- package/dist/patterns/PhoneNumberInput/PhoneNumberInput.cjs +2 -1
- package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +2 -0
- package/dist/patterns/PhoneNumberInput/_phoneNumberInput.css +1 -0
- package/dist/patterns/ProgressWizard/ProgressWizard.cjs +2 -1
- package/dist/patterns/ProgressWizard/ProgressWizard.js +7 -5
- package/dist/patterns/ProgressWizard/_progressWizard.css +1 -0
- package/dist/patterns/SaleCard/SaleCard.cjs +2 -1
- package/dist/patterns/SaleCard/SaleCard.js +12 -10
- package/dist/patterns/SaleCard/SaleCardActions.cjs +2 -1
- package/dist/patterns/SaleCard/SaleCardActions.js +6 -4
- package/dist/patterns/SaleCard/_saleCard.css +1 -0
- package/dist/patterns/SaleCard/_saleCardActions.css +1 -0
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.cjs +2 -1
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +2 -0
- package/dist/patterns/SaleHeaderBanner/_saleHeaderBanner.css +1 -0
- package/dist/patterns/Social/Social.cjs +2 -1
- package/dist/patterns/Social/Social.js +2 -0
- package/dist/patterns/Social/_social.css +1 -0
- package/dist/patterns/Subscribe/Subscribe.cjs +2 -1
- package/dist/patterns/Subscribe/Subscribe.js +10 -8
- package/dist/patterns/Subscribe/_subscribe.css +1 -0
- package/dist/patterns/TextBanner/TextBanner.cjs +2 -1
- package/dist/patterns/TextBanner/TextBanner.js +10 -8
- package/dist/patterns/TextBanner/_textBanner.css +1 -0
- package/dist/patterns/UserManagement/UserManagement.cjs +2 -1
- package/dist/patterns/UserManagement/UserManagement.js +13 -11
- package/dist/patterns/UserManagement/_userManagement.css +1 -0
- package/dist/patterns/ViewingDetails/ViewingDetails.cjs +2 -1
- package/dist/patterns/ViewingDetails/ViewingDetails.js +6 -4
- package/dist/patterns/ViewingDetails/_viewingDetails.css +1 -0
- package/dist/patterns/ViewingsList/ViewingsList.cjs +2 -1
- package/dist/patterns/ViewingsList/ViewingsList.js +2 -0
- package/dist/patterns/ViewingsList/ViewingsListCard.cjs +2 -1
- package/dist/patterns/ViewingsList/ViewingsListCard.js +8 -6
- package/dist/patterns/ViewingsList/_viewingsList.css +1 -0
- package/dist/providers/SeldonProvider/SeldonProvider.cjs +2 -1
- package/dist/providers/SeldonProvider/SeldonProvider.js +3 -1
- package/dist/scss/_allPartials.scss +2 -1
- package/dist/scss/_foundation.css +1 -0
- package/dist/scss/_foundation.scss +69 -0
- package/dist/scss/_layers.scss +12 -0
- package/dist/scss/_reset.scss +57 -53
- package/dist/scss/_sharedClasses.scss +61 -57
- package/dist/scss/_typography.scss +64 -52
- package/dist/scss/_vars.scss +6 -5
- package/dist/scss/_vars.scss.cjs +6 -5
- package/dist/scss/_vars.scss.js +6 -5
- package/dist/scss/componentStyles.scss +3 -66
- package/dist/scss/components/Accordion/_accordion.scss +102 -99
- package/dist/scss/components/AddToCalendar/_addToCalendar.scss +69 -52
- package/dist/scss/components/Article/_article.scss +22 -19
- package/dist/scss/components/Banner/_banner.scss +137 -134
- package/dist/scss/components/Breadcrumb/_breadcrumb.scss +47 -44
- package/dist/scss/components/Button/_button.scss +240 -216
- package/dist/scss/components/Card/_card.scss +86 -83
- package/dist/scss/components/Carousel/_carousel.scss +169 -166
- package/dist/scss/components/ComboBox/_combobox.scss +144 -141
- package/dist/scss/components/ComposedModal/_composedModal.scss +54 -51
- package/dist/scss/components/ContentPeek/_contentPeek.scss +48 -45
- package/dist/scss/components/Countdown/_countdown.scss +64 -61
- package/dist/scss/components/Countdown/_duration.scss +6 -3
- package/dist/scss/components/DatePicker/_datePicker.scss +74 -65
- package/dist/scss/components/DescriptiveRadioButton/_descriptiveRadioButton.scss +50 -47
- package/dist/scss/components/DescriptiveRadioButtonGroup/_descriptiveRadioButtonGroup.scss +24 -21
- package/dist/scss/components/Detail/_detail.scss +39 -36
- package/dist/scss/components/DetailList/_detailList.scss +37 -34
- package/dist/scss/components/Divider/_divider.scss +15 -12
- package/dist/scss/components/Drawer/_drawer.scss +189 -186
- package/dist/scss/components/Drawer/_drawerHeader.scss +30 -27
- package/dist/scss/components/Dropdown/_dropdown.scss +79 -76
- package/dist/scss/components/ExitGateCard/_exitGateCard.scss +59 -56
- package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +36 -33
- package/dist/scss/components/Filter/_filter.scss +87 -84
- package/dist/scss/components/Grid/_grid.scss +20 -17
- package/dist/scss/components/GridItem/_gridItem.scss +33 -30
- package/dist/scss/components/Icon/_icon.scss +10 -7
- package/dist/scss/components/IconButton/_iconButton.scss +168 -77
- package/dist/scss/components/Input/_input.scss +205 -210
- package/dist/scss/components/Link/_link.scss +69 -64
- package/dist/scss/components/LinkBlock/_linkBlock.scss +14 -11
- package/dist/scss/components/LinkList/_linkList.scss +19 -16
- package/dist/scss/components/Loader/_loader.scss +21 -18
- package/dist/scss/components/Modal/_modal.scss +29 -26
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +86 -83
- package/dist/scss/components/Navigation/NavigationItemWithSubmenu/_navigationItemWithSubmenu.scss +89 -86
- package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +71 -68
- package/dist/scss/components/Navigation/_navigation.scss +122 -119
- package/dist/scss/components/NotificationBanner/_notificationBanner.scss +33 -30
- package/dist/scss/components/PageContentWrapper/_pageContentWrapper.scss +7 -4
- package/dist/scss/components/Pagination/_pagination.scss +66 -63
- package/dist/scss/components/PinchZoom/_pinchZoom.scss +28 -25
- package/dist/scss/components/ProgressBar/_progressBar.scss +77 -74
- package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +55 -52
- package/dist/scss/components/Row/_row.scss +6 -3
- package/dist/scss/components/Search/SearchResults/_searchResults.scss +43 -40
- package/dist/scss/components/Search/_search.scss +127 -124
- package/dist/scss/components/Search/_searchButton.scss +53 -50
- package/dist/scss/components/SeldonImage/_seldonImage.scss +93 -90
- package/dist/scss/components/Select/_select.scss +60 -48
- package/dist/scss/components/SlideToActivate/_slideToActivate.scss +227 -224
- package/dist/scss/components/SplitPanel/_splitPanel.scss +26 -23
- package/dist/scss/components/Tabs/_tabs.scss +69 -66
- package/dist/scss/components/Tags/_tags.scss +64 -61
- package/dist/scss/components/Text/_text.scss +39 -36
- package/dist/scss/components/TextArea/_textArea.scss +102 -99
- package/dist/scss/components/TextSymbol/_textSymbol.scss +13 -10
- package/dist/scss/components/Toast/_toast.scss +82 -79
- package/dist/scss/components/Toggle/_toggle.scss +148 -145
- package/dist/scss/components/Video/_video.scss +16 -13
- package/dist/scss/layers.test.d.ts +1 -0
- package/dist/scss/patterns/AccountPageHeader/_accountPageHeader.scss +35 -32
- package/dist/scss/patterns/BidSnapshot/_bidSnapshot.scss +43 -40
- package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +82 -81
- package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +72 -69
- package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +83 -80
- package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +153 -151
- package/dist/scss/patterns/FilterMenu/_filterMenu.scss +14 -11
- package/dist/scss/patterns/FiltersInline/_filterButton.scss +41 -38
- package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +165 -162
- package/dist/scss/patterns/FiltersInline/_filtersInline.scss +31 -28
- package/dist/scss/patterns/HeroBanner/_heroBanner.scss +78 -75
- package/dist/scss/patterns/LanguageSelector/_languageSelector.scss +47 -43
- package/dist/scss/patterns/ObjectTile/_objectTile.scss +84 -81
- package/dist/scss/patterns/PhoneNumberInput/_phoneNumberInput.scss +45 -42
- package/dist/scss/patterns/ProgressWizard/_progressWizard.scss +66 -63
- package/dist/scss/patterns/SaleCard/_saleCard.scss +62 -58
- package/dist/scss/patterns/SaleCard/_saleCardActions.scss +11 -8
- package/dist/scss/patterns/SaleHeaderBanner/_saleHeaderBanner.scss +75 -72
- package/dist/scss/patterns/Social/_social.scss +65 -62
- package/dist/scss/patterns/Subscribe/_subscribe.scss +16 -13
- package/dist/scss/patterns/TextBanner/_textBanner.scss +35 -32
- package/dist/scss/patterns/UserManagement/_userManagement.scss +49 -46
- package/dist/scss/patterns/ViewingDetails/_viewingDetails.scss +55 -52
- package/dist/scss/patterns/ViewingsList/_viewingsList.scss +44 -41
- package/dist/scss/site-furniture/Footer/_footer.scss +104 -95
- package/dist/scss/site-furniture/Header/_header.scss +176 -173
- package/dist/site-furniture/Footer/Footer.cjs +2 -1
- package/dist/site-furniture/Footer/Footer.js +4 -2
- package/dist/site-furniture/Footer/_footer.css +1 -0
- package/dist/site-furniture/Header/Header.cjs +2 -1
- package/dist/site-furniture/Header/Header.js +2 -0
- package/dist/site-furniture/Header/_header.css +1 -0
- package/package.json +4 -3
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_heroBanner.css';
|
|
2
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef as u } from "react";
|
|
3
4
|
import { getCommonProps as _ } from "../../utils/index.js";
|
|
4
5
|
import N from "../../_virtual/index2.js";
|
|
6
|
+
|
|
5
7
|
import t from "../../components/Text/Text.js";
|
|
6
|
-
import { TextVariants as
|
|
8
|
+
import { TextVariants as i } from "../../components/Text/types.js";
|
|
7
9
|
const x = u(
|
|
8
|
-
({ prehead: a, date: n, headerText:
|
|
9
|
-
const { className:
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
({ prehead: a, date: n, headerText: c, subHeadText: s, association: l, background: d, className: p, ...m }, h) => {
|
|
11
|
+
const { className: r, ...f } = _(m, "HeroBanner");
|
|
12
|
+
return /* @__PURE__ */ e(
|
|
11
13
|
"header",
|
|
12
14
|
{
|
|
13
15
|
...f,
|
|
14
|
-
className: N(
|
|
16
|
+
className: N(r, p),
|
|
15
17
|
style: { "--background": d },
|
|
16
18
|
ref: h,
|
|
17
19
|
...m,
|
|
18
|
-
children: /* @__PURE__ */ o("span", { className: `${
|
|
19
|
-
a || n ? /* @__PURE__ */ o("p", { className: `${
|
|
20
|
-
a ? /* @__PURE__ */
|
|
21
|
-
n ? /* @__PURE__ */
|
|
20
|
+
children: /* @__PURE__ */ o("span", { className: `${r}__content-wrapper`, children: [
|
|
21
|
+
a || n ? /* @__PURE__ */ o("p", { className: `${r}__pre-head`, children: [
|
|
22
|
+
a ? /* @__PURE__ */ e("span", { children: a }) : null,
|
|
23
|
+
n ? /* @__PURE__ */ e("span", { children: n }) : null
|
|
22
24
|
] }) : null,
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
s ? /* @__PURE__ */
|
|
25
|
-
l ? /* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ e(t, { className: `${r}__header-text`, variant: i.displayMedium, children: c }),
|
|
26
|
+
s ? /* @__PURE__ */ e(t, { className: `${r}__sub-head-text`, variant: i.headingMedium, children: s }) : null,
|
|
27
|
+
l ? /* @__PURE__ */ e("p", { className: `${r}__after-head`, children: l }) : null
|
|
26
28
|
] })
|
|
27
29
|
}
|
|
28
30
|
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{body:has(.seldon-header__toggle-btn--open){overflow:hidden}.seldon-hero-banner{align-items:center;background:var(--background);background-position:center center;background-repeat:no-repeat;background-size:cover;display:flex;flex-flow:column;justify-content:center;min-height:25rem;padding:1rem;text-transform:uppercase;width:100%}.seldon-hero-banner__header-text{text-align:center}@media(max-width:960px){.seldon-hero-banner{align-items:center;align-self:stretch;background:transparent;background-color:#000;flex-direction:column;gap:1.875rem;min-height:unset;padding:1.875rem .9375rem}.seldon-hero-banner:before{background:var(--background);background-position:center center;background-repeat:no-repeat;background-size:cover;content:"";height:12rem;width:100%}}.seldon-hero-banner h1.seldon-text,.seldon-hero-banner h2.seldon-text{margin:0}.seldon-hero-banner .seldon-hero-banner__content-wrapper{align-items:center;color:#fff;display:flex;flex-direction:column;max-width:1082px}.seldon-hero-banner .seldon-hero-banner__content-wrapper h1,.seldon-hero-banner .seldon-hero-banner__content-wrapper h2,.seldon-hero-banner .seldon-hero-banner__content-wrapper p{color:#fff;text-align:center}.seldon-hero-banner .seldon-hero-banner__content-wrapper p{font-size:.875rem;letter-spacing:.125rem;line-height:1;text-align:center}.seldon-hero-banner .seldon-hero-banner__pre-head{align-items:flex-start;display:flex;font-size:.75rem;gap:1.875rem;padding-bottom:1.875rem}@media(min-width:961px){.seldon-hero-banner .seldon-hero-banner__pre-head{font-size:.875rem}}@media(max-width:960px){.seldon-hero-banner .seldon-hero-banner__pre-head{align-items:center;flex-direction:column;gap:1rem}}.seldon-hero-banner .seldon-hero-banner__after-head{padding-top:1.875rem}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_languageSelector.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),x=require("react"),m=require("../../utils/index.cjs"),L=require("../../_virtual/index2.cjs"),u=require("../../types/commonTypes.cjs"),j=require("../../components/Navigation/NavigationItem/NavigationItem.cjs"),y=require("../../components/Navigation/NavigationList/NavigationList.cjs"),p=require("../../providers/SeldonProvider/utils.cjs"),M=require("./utils.cjs");;const q=require("../../utils/constants.cjs"),T=require("../../components/Dropdown/Dropdown.cjs"),N=require("../../components/Accordion/Accordion.cjs"),k=require("../../components/Accordion/AccordionItem.cjs"),R=require("../../components/Link/types.cjs"),$=require("../../components/Text/Text.cjs"),C=require("../../components/Text/types.cjs"),S=x.forwardRef(({id:r,value:t,onValueChange:n,label:l,options:s,...o},i)=>e.jsx(N.default,{...o,ref:i,children:e.jsx(k.default,{hasTransition:!0,id:r??"language-selector-accordion",label:e.jsx($.default,{variant:C.TextVariants.linkStylised,children:l}),children:e.jsx(y.default,{id:`${r}-navlist`,children:s.map(a=>e.jsx(j.default,{label:a.label,onClick:()=>n(a.value),navType:R.LinkVariants.linkLarge},a.value))})})}));S.displayName="MobileLanguageSelector";const h=x.forwardRef(({className:r,currentLanguage:t=u.SupportedLanguages.en,languageOptions:n=[{label:"English",value:u.SupportedLanguages.en},{label:"中文",value:u.SupportedLanguages.zh}],onLanguageChange:l=m.noOp,id:s,isHidden:o,disabled:i=!1,...a},c)=>{const{className:d,...v}=m.getCommonProps({id:s},"LanguageSelector"),b=M.getLanguageLabel({languageOptions:n,currentLanguage:t}),g={...v,...a,id:s,className:L.default(d,r,{[`${d}--hidden`]:o}),options:n,value:t,onValueChange:f=>l(f),label:b};return e.jsxs(e.Fragment,{children:[e.jsx(p.SSRMediaQuery.Media,{greaterThanOrEqual:q.Breakpoints.md,children:e.jsx(T.default,{...g,disabled:i,ref:c})}),e.jsx(p.SSRMediaQuery.Media,{lessThan:q.Breakpoints.md,children:e.jsx(S,{...g,ref:c})})]})});h.displayName="LanguageSelector";exports.default=h;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './_languageSelector.css';
|
|
1
2
|
import { jsxs as S, Fragment as N, jsx as e } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef as f } from "react";
|
|
3
4
|
import { getCommonProps as T, noOp as k } from "../../utils/index.js";
|
|
@@ -7,6 +8,7 @@ import y from "../../components/Navigation/NavigationItem/NavigationItem.js";
|
|
|
7
8
|
import C from "../../components/Navigation/NavigationList/NavigationList.js";
|
|
8
9
|
import { SSRMediaQuery as g } from "../../providers/SeldonProvider/utils.js";
|
|
9
10
|
import { getLanguageLabel as M } from "./utils.js";
|
|
11
|
+
|
|
10
12
|
import { Breakpoints as u } from "../../utils/constants.js";
|
|
11
13
|
import P from "../../components/Dropdown/Dropdown.js";
|
|
12
14
|
import V from "../../components/Accordion/Accordion.js";
|
|
@@ -17,10 +19,10 @@ import { TextVariants as E } from "../../components/Text/types.js";
|
|
|
17
19
|
const h = f(
|
|
18
20
|
({
|
|
19
21
|
id: o,
|
|
20
|
-
value:
|
|
22
|
+
value: i,
|
|
21
23
|
// can't be passed to the accordion
|
|
22
24
|
onValueChange: r,
|
|
23
|
-
label:
|
|
25
|
+
label: n,
|
|
24
26
|
options: l,
|
|
25
27
|
...t
|
|
26
28
|
}, m) => /* @__PURE__ */ e(V, { ...t, ref: m, children: /* @__PURE__ */ e(
|
|
@@ -28,7 +30,7 @@ const h = f(
|
|
|
28
30
|
{
|
|
29
31
|
hasTransition: !0,
|
|
30
32
|
id: o ?? "language-selector-accordion",
|
|
31
|
-
label: /* @__PURE__ */ e(A, { variant: E.linkStylised, children:
|
|
33
|
+
label: /* @__PURE__ */ e(A, { variant: E.linkStylised, children: n }),
|
|
32
34
|
children: /* @__PURE__ */ e(C, { id: `${o}-navlist`, children: l.map((a) => /* @__PURE__ */ e(
|
|
33
35
|
y,
|
|
34
36
|
{
|
|
@@ -45,18 +47,18 @@ h.displayName = "MobileLanguageSelector";
|
|
|
45
47
|
const I = f(
|
|
46
48
|
({
|
|
47
49
|
className: o,
|
|
48
|
-
currentLanguage:
|
|
50
|
+
currentLanguage: i = s.en,
|
|
49
51
|
languageOptions: r = [
|
|
50
52
|
{ label: "English", value: s.en },
|
|
51
53
|
{ label: "中文", value: s.zh }
|
|
52
54
|
],
|
|
53
|
-
onLanguageChange:
|
|
55
|
+
onLanguageChange: n = k,
|
|
54
56
|
id: l,
|
|
55
57
|
isHidden: t,
|
|
56
58
|
disabled: m = !1,
|
|
57
59
|
...a
|
|
58
60
|
}, c) => {
|
|
59
|
-
const { className: p, ...v } = T({ id: l }, "LanguageSelector"), b = M({ languageOptions: r, currentLanguage:
|
|
61
|
+
const { className: p, ...v } = T({ id: l }, "LanguageSelector"), b = M({ languageOptions: r, currentLanguage: i }), d = {
|
|
60
62
|
...v,
|
|
61
63
|
...a,
|
|
62
64
|
id: l,
|
|
@@ -64,8 +66,8 @@ const I = f(
|
|
|
64
66
|
[`${p}--hidden`]: t
|
|
65
67
|
}),
|
|
66
68
|
options: r,
|
|
67
|
-
value:
|
|
68
|
-
onValueChange: (L) =>
|
|
69
|
+
value: i,
|
|
70
|
+
onValueChange: (L) => n(L),
|
|
69
71
|
label: b
|
|
70
72
|
};
|
|
71
73
|
return /* @__PURE__ */ S(N, { children: [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-language-selector{display:flex;min-width:87px;opacity:1;transition:opacity .25s ease-in}.seldon-language-selector--hidden{opacity:0;pointer-events:none}@media(min-width:961px){.seldon-language-selector.seldon-accordion{display:none}}@media(max-width:960px){.seldon-language-selector{border-top:0}.seldon-language-selector.seldon-accordion{border-bottom:0}.seldon-language-selector .seldon-accordion-item{border-top:1px solid #eae9e6}.seldon-language-selector .seldon-accordion-item .seldon-nav__list{display:flex;flex-direction:column;gap:var(--spacing-xsm);padding:0}.seldon-language-selector .seldon-accordion-item-label{opacity:1;padding:1.25rem 0}.seldon-language-selector .seldon-accordion-item__border-bottom{border-bottom:0}}.seldon-language-selector.seldon-dropdown{display:flex;padding:0}.seldon-language-selector.seldon-dropdown button{border:none;box-shadow:unset;justify-content:center;outline:none;padding:0;text-transform:unset;width:fit-content}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_objectTile.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),x=require("react"),D=require("../../_virtual/index2.cjs"),O=require("../../utils/index.cjs"),M=require("../../components/Detail/types.cjs");;const k=require("../../components/SeldonImage/SeldonImage.cjs"),z=require("../../components/SeldonImage/types.cjs"),s=require("../../components/Text/Text.cjs"),l=require("../../components/Text/types.cjs"),A=require("../../components/DetailList/DetailList.cjs"),F=require("../../components/Detail/Detail.cjs"),h=x.memo(x.forwardRef(({badgeText:j,className:f,children:$,element:g,estimate:t,estimateLabelText:p="Estimate",estimateOnRequestText:i,badgeElement:r,favoriteElement:c,imageAlt:N="Brought to you by Phillips",imageUrl:b="",imageSrcSet:v,imageSizes:S,imageLoading:q,imageFetchPriority:y,imageBlocked:V,lotNumber:T,makerText:m,modelText:d,referenceNumber:o,titleText:u,withdrawnText:n,..._},E)=>{const{className:a,...P}=O.getCommonProps(_,"ObjectTile"),R=g??"a",C=t||i;return e.jsxs(R,{...P,className:D.default(a,f),..._,ref:E,children:[e.jsx(k.default,{alt:N,aspectRatio:z.AspectRatio.Square,className:`${a}__img`,objectFit:"contain",src:b,srcSet:v,sizes:S,loading:q,fetchPriority:y,imageBlocked:V}),n?null:e.jsx(s.default,{element:"span",className:`${a}__badge`,variant:l.TextVariants.badgeSmall,children:j}),e.jsxs("div",{className:`${a}__lot-number-like`,children:[e.jsx(s.default,{element:"span",className:`${a}__lot-number`,variant:l.TextVariants.headingSmall,children:T}),r&&e.jsx("div",{className:`${a}__lot-badge`,children:e.jsx(r,{})}),c&&e.jsx(c,{})]}),n?e.jsx(s.default,{element:"span",className:`${a}__withdrawn`,variant:l.TextVariants.headingSmall,children:n}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`${a}__meta`,children:[m?e.jsx(s.default,{element:"span",className:`${a}__maker`,variant:l.TextVariants.headingSmall,children:m}):null,u?e.jsx(s.default,{element:"cite",className:`${a}__title`,variant:l.TextVariants.headingExtraSmall,children:u}):null,o?e.jsx(s.default,{className:`${a}__reference-number`,variant:l.TextVariants.headingExtraSmall,element:"span",children:o}):null,d?e.jsx(s.default,{className:`${a}__model`,variant:l.TextVariants.headingExtraSmall,element:"span",children:d}):null]}),C?e.jsx(A.default,{hasSeparators:!0,className:`${a}__estimate ${a}__section`,variant:M.DetailVariants.sm,children:e.jsx(F.default,{className:`${a}__estimate__label`,label:p,value:t||i,hasWrap:!1})}):null,e.jsx("div",{className:`${a}__section`,children:$})]})]})}));h.displayName="ObjectTile";exports.default=h;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_objectTile.css';
|
|
2
|
+
import { jsxs as s, jsx as e, Fragment as V } from "react/jsx-runtime";
|
|
2
3
|
import { memo as k, forwardRef as z } from "react";
|
|
3
4
|
import A from "../../_virtual/index2.js";
|
|
4
5
|
import { getCommonProps as F } from "../../utils/index.js";
|
|
5
6
|
import { DetailVariants as I } from "../../components/Detail/types.js";
|
|
7
|
+
|
|
6
8
|
import L from "../../components/SeldonImage/SeldonImage.js";
|
|
7
9
|
import { AspectRatio as W } from "../../components/SeldonImage/types.js";
|
|
8
10
|
import l from "../../components/Text/Text.js";
|
|
9
|
-
import { TextVariants as
|
|
11
|
+
import { TextVariants as m } from "../../components/Text/types.js";
|
|
10
12
|
import q from "../../components/DetailList/DetailList.js";
|
|
11
13
|
import w from "../../components/Detail/Detail.js";
|
|
12
14
|
const B = k(
|
|
@@ -18,7 +20,7 @@ const B = k(
|
|
|
18
20
|
element: u,
|
|
19
21
|
estimate: i,
|
|
20
22
|
estimateLabelText: $ = "Estimate",
|
|
21
|
-
estimateOnRequestText:
|
|
23
|
+
estimateOnRequestText: n,
|
|
22
24
|
badgeElement: r,
|
|
23
25
|
favoriteElement: o,
|
|
24
26
|
imageAlt: b = "Brought to you by Phillips",
|
|
@@ -32,12 +34,12 @@ const B = k(
|
|
|
32
34
|
makerText: c,
|
|
33
35
|
modelText: _,
|
|
34
36
|
referenceNumber: d,
|
|
35
|
-
titleText:
|
|
36
|
-
withdrawnText:
|
|
37
|
-
...
|
|
37
|
+
titleText: p,
|
|
38
|
+
withdrawnText: t,
|
|
39
|
+
...h
|
|
38
40
|
}, D) => {
|
|
39
|
-
const { className: a, ...x } = F(
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
+
const { className: a, ...x } = F(h, "ObjectTile"), O = u ?? "a", R = i || n;
|
|
42
|
+
return /* @__PURE__ */ s(O, { ...x, className: A(a, N), ...h, ref: D, children: [
|
|
41
43
|
/* @__PURE__ */ e(
|
|
42
44
|
L,
|
|
43
45
|
{
|
|
@@ -53,26 +55,26 @@ const B = k(
|
|
|
53
55
|
imageBlocked: P
|
|
54
56
|
}
|
|
55
57
|
),
|
|
56
|
-
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */ e(l, { element: "span", className: `${a}__lot-number`, variant:
|
|
58
|
+
t ? null : /* @__PURE__ */ e(l, { element: "span", className: `${a}__badge`, variant: m.badgeSmall, children: f }),
|
|
59
|
+
/* @__PURE__ */ s("div", { className: `${a}__lot-number-like`, children: [
|
|
60
|
+
/* @__PURE__ */ e(l, { element: "span", className: `${a}__lot-number`, variant: m.headingSmall, children: C }),
|
|
59
61
|
r && /* @__PURE__ */ e("div", { className: `${a}__lot-badge`, children: /* @__PURE__ */ e(r, {}) }),
|
|
60
62
|
o && /* @__PURE__ */ e(o, {})
|
|
61
63
|
] }),
|
|
62
|
-
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
c ? /* @__PURE__ */ e(l, { element: "span", className: `${a}__maker`, variant:
|
|
65
|
-
|
|
64
|
+
t ? /* @__PURE__ */ e(l, { element: "span", className: `${a}__withdrawn`, variant: m.headingSmall, children: t }) : /* @__PURE__ */ s(V, { children: [
|
|
65
|
+
/* @__PURE__ */ s("div", { className: `${a}__meta`, children: [
|
|
66
|
+
c ? /* @__PURE__ */ e(l, { element: "span", className: `${a}__maker`, variant: m.headingSmall, children: c }) : null,
|
|
67
|
+
p ? /* @__PURE__ */ e(l, { element: "cite", className: `${a}__title`, variant: m.headingExtraSmall, children: p }) : null,
|
|
66
68
|
d ? /* @__PURE__ */ e(
|
|
67
69
|
l,
|
|
68
70
|
{
|
|
69
71
|
className: `${a}__reference-number`,
|
|
70
|
-
variant:
|
|
72
|
+
variant: m.headingExtraSmall,
|
|
71
73
|
element: "span",
|
|
72
74
|
children: d
|
|
73
75
|
}
|
|
74
76
|
) : null,
|
|
75
|
-
_ ? /* @__PURE__ */ e(l, { className: `${a}__model`, variant:
|
|
77
|
+
_ ? /* @__PURE__ */ e(l, { className: `${a}__model`, variant: m.headingExtraSmall, element: "span", children: _ }) : null
|
|
76
78
|
] }),
|
|
77
79
|
R ? /* @__PURE__ */ e(
|
|
78
80
|
q,
|
|
@@ -85,7 +87,7 @@ const B = k(
|
|
|
85
87
|
{
|
|
86
88
|
className: `${a}__estimate__label`,
|
|
87
89
|
label: $,
|
|
88
|
-
value: i ||
|
|
90
|
+
value: i || n,
|
|
89
91
|
hasWrap: !1
|
|
90
92
|
}
|
|
91
93
|
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-object-tile{display:flex;flex-direction:column;max-width:24.5rem;text-align:left}.seldon-object-tile__img{margin-bottom:var(--spacing-sm);max-width:100%}.seldon-object-tile__badge{color:#ea0404;display:block;min-height:1rem;text-transform:uppercase}.seldon-object-tile__title,.seldon-object-tile__maker,.seldon-object-tile__model,.seldon-object-tile__reference-number{font-family:DistinctDisplay,sans-serif;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;overflow:hidden}.seldon-object-tile__title.seldon-text,.seldon-object-tile__maker.seldon-text,.seldon-object-tile__model.seldon-text,.seldon-object-tile__reference-number.seldon-text{font-variation-settings:"wght" 600}.seldon-object-tile__lot-number-like{align-items:center;display:flex;font-variation-settings:"wght" 600;margin-bottom:var(--spacing-xsm);position:relative}.seldon-object-tile__lot-number-like>:not(.seldon-object-tile__lot-number):not(.seldon-object-tile__lot-badge){position:absolute;right:0;top:50%;transform:translateY(-50%)}.seldon-object-tile__lot-number-like .seldon-object-tile__lot-badge{display:block;padding-left:var(--spacing-xsm);position:relative}.seldon-object-tile__lot-number-like .seldon-object-tile__lot-badge svg{height:100%;width:100%}.seldon-object-tile__lot-number-like .seldon-object-tile__lot-badge svg path{fill:#000}.seldon-object-tile .seldon-object-tile__lot-number{display:block;margin-bottom:0;padding-top:2px}.seldon-object-tile .seldon-object-tile__maker,.seldon-object-tile .seldon-object-tile__model,.seldon-object-tile .seldon-object-tile__reference-number,.seldon-object-tile .seldon-object-tile__title{display:block;margin-bottom:0}.seldon-object-tile__title,.seldon-object-tile__reference-number,.seldon-object-tile__model{font-style:italic}.seldon-object-tile__meta{display:block;margin-bottom:var(--spacing-sm)}.seldon-object-tile__withdrawn{font-family:Distinct}.seldon-object-tile__section .seldon-has-separators .seldon-detail{flex-wrap:wrap;gap:0 var(--spacing-sm)}.seldon-object-tile__section .seldon-has-separators .seldon-detail .seldon-detail__value{text-align:unset}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_phoneNumberInput.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("react"),u=require("../../utils/index.cjs"),_=require("../../_virtual/index2.cjs"),f=require("../CountryPicker/CountryPicker.cjs"),j=require("../../components/Input/Input.cjs"),$=require("../CountryPicker/utils.cjs"),q=require("../CountryPicker/constants.cjs");;const l=c.forwardRef(({className:p,value:d="",countryCode:h="",handleValueChange:m,label:n="Phone",required:x=!1,error:a,errorText:g,disabled:y=!1,...v},b)=>{const{className:t,...N}=u.getCommonProps(v,"PhoneNumberInput"),[i,C]=c.useState(h||void 0),r=q.countries.find(o=>o.code===i),P=o=>{m?.(o.target.value,i||"")},s=u.useNormalizedInputProps({id:"phone-input",invalid:a,invalidText:g,type:"text"});return e.jsxs("div",{ref:b,className:_.default(`${t}`,p),...N,children:[e.jsxs("div",{className:`${t}__wrapper`,children:[e.jsxs("div",{className:`${t}__country-picker`,children:[e.jsx("input",{type:"hidden",name:"phoneNumber",value:d,"data-testid":"phone-number-hidden-input"}),e.jsx("input",{type:"hidden",name:"phoneCountryCode",value:i||"","data-testid":"phone-country-code-hidden-input"}),e.jsx(f.default,{triggerLabelText:n,triggerAriaLabel:`${n.replace("*","")} country`,triggerDisplayValue:r?`+${$.getSafeCountryCallingCode(r.code)}`:"",hasTriggerError:!!a,modalTitle:"Country code",searchInputLabel:"Search country",searchInputPlaceholder:"Search country",selectButtonLabel:"Select",isPhone:!0,value:r?.code,onChange:C})]}),e.jsx("div",{className:`${t}__input`,children:e.jsx(j.default,{className:`${t}__input-phone`,id:"phone-input",type:"tel",labelText:`${n.replace("*","")} phone`,hideLabel:!0,value:d,onChange:P,required:x,invalid:!!a,disabled:y,invalidText:"","aria-describedby":s.invalidId,maxLength:25})})]}),s.validation?s.validation:e.jsx("p",{className:`${u.px}-input__validation`,children:" "})]})});l.displayName="PhoneNumberInput";exports.default=l;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './_phoneNumberInput.css';
|
|
1
2
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
3
|
import b, { forwardRef as _ } from "react";
|
|
3
4
|
import { getCommonProps as P, useNormalizedInputProps as x, px as I } from "../../utils/index.js";
|
|
@@ -6,6 +7,7 @@ import L from "../CountryPicker/CountryPicker.js";
|
|
|
6
7
|
import S from "../../components/Input/Input.js";
|
|
7
8
|
import { getSafeCountryCallingCode as T } from "../CountryPicker/utils.js";
|
|
8
9
|
import { countries as j } from "../CountryPicker/constants.js";
|
|
10
|
+
|
|
9
11
|
const k = _(
|
|
10
12
|
({
|
|
11
13
|
className: l,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-phone-number-input{display:flex;flex-direction:column;position:relative;width:100%}.seldon-phone-number-input__wrapper{align-items:flex-end;display:flex;flex-direction:row;gap:var(--spacing-xsm);width:100%}.seldon-phone-number-input__country-picker{flex:0 0 30%}.seldon-phone-number-input__input{flex:1 1 70%;min-width:0}.seldon-phone-number-input__input .seldon-input__validation,.seldon-phone-number-input__input .seldon-input__empty-validation{display:none}@media screen{.seldon-phone-number-input__country-picker{flex:0 0 37.5%;min-width:0}.seldon-phone-number-input__input{flex:1 1 62.5%;min-width:0}}.seldon-input__validation{animation:reveal .45s linear forwards}@keyframes reveal{0%{opacity:0}to{opacity:1}}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_progressWizard.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),o=require("react"),u=require("./types.cjs"),A=require("./hooks/useHistoryManagement.cjs"),R=require("../../utils/index.cjs"),B=require("./components/ProgressWizardFooter.cjs"),a=require("./utils.cjs");;const T=require("../../components/ProgressIndicator/ProgressIndicator.cjs"),m=o.forwardRef((S,h)=>{const{isFullHeight:x=!0,hideNavigation:d,hideProgressIndicator:C,isEnableHistoryManagement:c=!1,currentStepIndex:t,defaultStepIndex:I,shouldAllowContinue:f=!0,loadingState:b=u.LoadingState.Idle,buttonLabels:P,onBack:y,onCancel:v,onContinue:w,onFormSubmit:q,children:z,...W}=S,{className:r,...L}=R.getCommonProps(W,"ProgressWizard");let l=I;l!==void 0&&t!==void 0&&(console.warn("ProgressWizard: Both defaultStepIndex and currentStepIndex props are provided. defaultStepIndex will be ignored."),l=void 0);const[p,M]=o.useState(l??0),g=o.useCallback(k=>{!d&&!a.isControlled(t)&&M(k)},[d,t]),e=o.useMemo(()=>t??p,[t,p]);c&&a.isControlled(t)&&console.warn("ProgressWizard: History management is disabled in controlled mode (currentStepIndex prop). To enable history management, remove the currentStepIndex prop. You may also import and use the useHistoryManagement hook directly in your controlling component.");const n=o.Children.toArray(z),N=o.useMemo(()=>a.getLabelsFromChildren(n),[n]),j=o.useMemo(()=>a.wrapChildren(n,e,r),[n,e,r]),s=n.length;(!n||s===0)&&console.warn("ProgressWizard: No children provided. At least one child is required to render steps, two for normal behavior."),n[e]||console.warn(`ProgressWizard: currentStepIndex ${e} is out of bounds (0 to ${s-1})`),A.useHistoryManagement({enabled:!a.isControlled(t)&&c,currentStepIndex:e,stepCount:s,setCurrentStepIndex:g});const H=e===0,_=e===s-1,$=j,F={setCurrentStepIndex:g,isFirstStep:H,isLastStep:_,baseClassName:r,shouldAllowContinue:f,isLoading:[u.LoadingState.Loading,u.LoadingState.Submitting].includes(b),labels:P,onContinue:w,onBack:y,onCancel:v,onFormSubmit:q};return i.jsxs("section",{...L,className:`${r}${x?` ${r}--full-height`:""}`,ref:h,"aria-label":"Progress Wizard",children:[C?null:i.jsx(T.default,{totalSteps:s,currentStep:e+1,stepLabels:N}),i.jsx("div",{className:`${r}__content`,children:$}),d?null:i.jsx("div",{className:`${r}__footer`,children:i.jsx(B.ProgressWizardFooter,{...F})})]})});m.displayName="ProgressWizard";exports.default=m;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './_progressWizard.css';
|
|
1
2
|
import { jsxs as j, jsx as s } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef as B, useState as q, useCallback as E, useMemo as d, Children as R } from "react";
|
|
3
4
|
import { LoadingState as l } from "./types.js";
|
|
@@ -5,6 +6,7 @@ import { useHistoryManagement as T } from "./hooks/useHistoryManagement.js";
|
|
|
5
6
|
import { getCommonProps as Y } from "../../utils/index.js";
|
|
6
7
|
import { ProgressWizardFooter as D } from "./components/ProgressWizardFooter.js";
|
|
7
8
|
import { isControlled as p, getLabelsFromChildren as G, wrapChildren as J } from "./utils.js";
|
|
9
|
+
|
|
8
10
|
import K from "../../components/ProgressIndicator/ProgressIndicator.js";
|
|
9
11
|
const O = B((g, f) => {
|
|
10
12
|
const {
|
|
@@ -28,14 +30,14 @@ const O = B((g, f) => {
|
|
|
28
30
|
i !== void 0 && r !== void 0 && (console.warn(
|
|
29
31
|
"ProgressWizard: Both defaultStepIndex and currentStepIndex props are provided. defaultStepIndex will be ignored."
|
|
30
32
|
), i = void 0);
|
|
31
|
-
const [
|
|
33
|
+
const [m, L] = q(i ?? 0), u = E(
|
|
32
34
|
(A) => {
|
|
33
35
|
!a && !p(r) && L(A);
|
|
34
36
|
},
|
|
35
37
|
[a, r]
|
|
36
38
|
), e = d(
|
|
37
|
-
() => r ??
|
|
38
|
-
[r,
|
|
39
|
+
() => r ?? m,
|
|
40
|
+
[r, m]
|
|
39
41
|
);
|
|
40
42
|
c && p(r) && console.warn(
|
|
41
43
|
"ProgressWizard: History management is disabled in controlled mode (currentStepIndex prop). To enable history management, remove the currentStepIndex prop. You may also import and use the useHistoryManagement hook directly in your controlling component."
|
|
@@ -50,10 +52,10 @@ const O = B((g, f) => {
|
|
|
50
52
|
enabled: !p(r) && c,
|
|
51
53
|
currentStepIndex: e,
|
|
52
54
|
stepCount: n,
|
|
53
|
-
setCurrentStepIndex:
|
|
55
|
+
setCurrentStepIndex: u
|
|
54
56
|
});
|
|
55
57
|
const F = e === 0, _ = e === n - 1, M = H, k = {
|
|
56
|
-
setCurrentStepIndex:
|
|
58
|
+
setCurrentStepIndex: u,
|
|
57
59
|
isFirstStep: F,
|
|
58
60
|
isLastStep: _,
|
|
59
61
|
baseClassName: t,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-progress-wizard{display:flex;flex-direction:column;z-index:100}.seldon-progress-wizard__logo{align-items:center;border-bottom:1px solid #eae9e6;display:flex;justify-content:center;margin-bottom:var(--spacing-md);padding:var(--spacing-sm)}.seldon-progress-wizard__content{flex:1 1 auto;margin-top:var(--spacing-md);overflow-y:visible}.seldon-progress-wizard--full-height{height:100%}.seldon-progress-wizard__footer{align-items:stretch;background-color:#fff;border-top:1px solid #eae9e6;display:flex;flex-shrink:0;gap:var(--spacing-sm);justify-content:stretch;padding:var(--spacing-sm) 0;width:100%}.seldon-progress-wizard__btn{flex:1 1 0}.seldon-progress-wizard-hidden{display:none}@media(max-width:961px){.seldon-progress-wizard{display:flex;flex-direction:column;min-height:0;overflow:visible}.seldon-progress-wizard__content{flex:1 1 auto;height:auto;min-height:0}.seldon-progress-wizard__footer{bottom:0;left:0;position:sticky;right:0;z-index:10}}@media(min-width:961px){.seldon-progress-wizard{display:flex;flex-direction:column}.seldon-progress-wizard__footer{border-top:none;box-shadow:none;margin-top:auto;position:static}}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_saleCard.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),E=require("../../_virtual/index2.cjs"),M=require("react"),y=require("../../components/Button/Button.cjs"),N=require("../../components/Button/types.cjs"),g=require("../../providers/SeldonProvider/utils.cjs"),I=require("../../utils/index.cjs"),t=require("./types.cjs");;const a=require("../../components/Card/Card.cjs"),R=require("../../components/Card/types.cjs"),L=require("../../utils/constants.cjs"),m=M.forwardRef(({className:f,imageSrc:l,imageAlt:j="Auction Image",auctionType:x,titleText:q,date:h,location:C,badgeText:n,modalButtonOnClick:i,modalButtonText:d,variant:r=t.SaleCardVariants.DEFAULT,children:c,imageDisplay:u=t.SaleCardImageDisplay.LEFT,...o},S)=>{const{className:s,..._}=I.getCommonProps(o,"SaleCard"),$=E.default(s,f,{[`${s}--${r}`]:r,[`${s}--image-${u}`]:u}),p={..._,...o};return e.jsxs(a.default.Root,{ref:S,element:"article",variant:R.CardVariants.default,className:$,...p,children:[l?e.jsx(a.default.Image,{alt:j,src:l}):null,e.jsxs(a.default.Content,{children:[e.jsx(a.default.Eyebrow,{children:x}),e.jsx(a.default.Title,{children:q}),n?e.jsx(a.default.Badge,{children:n}):null,e.jsxs(a.default.Meta,{className:`${s}__info`,children:[e.jsx(a.default.MetaItem,{children:C}),e.jsx(a.default.MetaItem,{children:h}),d&&i&&e.jsx("div",{className:`${s}__modal-link`,children:e.jsx(y.default,{onClick:i,variant:N.ButtonVariants.link,linkSize:"sm",children:d})})]})]}),r!==t.SaleCardVariants.RELATED_SALE_TILE&&c&&e.jsx("div",{className:`${s}__ctas`,children:e.jsx(g.SSRMediaQuery.Media,{greaterThanOrEqual:L.Breakpoints.snwMobile,children:c})})]})});m.displayName="SaleCard";exports.default=m;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './_saleCard.css';
|
|
1
2
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
3
|
import M from "../../_virtual/index2.js";
|
|
3
4
|
import { forwardRef as L } from "react";
|
|
@@ -5,28 +6,29 @@ import g from "../../components/Button/Button.js";
|
|
|
5
6
|
import { ButtonVariants as k } from "../../components/Button/types.js";
|
|
6
7
|
import { SSRMediaQuery as A } from "../../providers/SeldonProvider/utils.js";
|
|
7
8
|
import { getCommonProps as R } from "../../utils/index.js";
|
|
8
|
-
import { SaleCardImageDisplay as T, SaleCardVariants as
|
|
9
|
+
import { SaleCardImageDisplay as T, SaleCardVariants as p } from "./types.js";
|
|
10
|
+
|
|
9
11
|
import a from "../../components/Card/Card.js";
|
|
10
12
|
import { CardVariants as w } from "../../components/Card/types.js";
|
|
11
13
|
import { Breakpoints as y } from "../../utils/constants.js";
|
|
12
14
|
const P = L(
|
|
13
15
|
({
|
|
14
|
-
className:
|
|
16
|
+
className: f,
|
|
15
17
|
imageSrc: i,
|
|
16
18
|
imageAlt: h = "Auction Image",
|
|
17
19
|
auctionType: C,
|
|
18
20
|
titleText: u,
|
|
19
21
|
date: E,
|
|
20
22
|
location: S,
|
|
21
|
-
badgeText:
|
|
22
|
-
modalButtonOnClick:
|
|
23
|
-
modalButtonText:
|
|
24
|
-
variant: o =
|
|
23
|
+
badgeText: t,
|
|
24
|
+
modalButtonOnClick: l,
|
|
25
|
+
modalButtonText: s,
|
|
26
|
+
variant: o = p.DEFAULT,
|
|
25
27
|
children: n,
|
|
26
28
|
imageDisplay: c = T.LEFT,
|
|
27
29
|
...d
|
|
28
30
|
}, _) => {
|
|
29
|
-
const { className: e, ...N } = R(d, "SaleCard"), $ = M(e,
|
|
31
|
+
const { className: e, ...N } = R(d, "SaleCard"), $ = M(e, f, {
|
|
30
32
|
[`${e}--${o}`]: o,
|
|
31
33
|
[`${e}--image-${c}`]: c
|
|
32
34
|
}), I = { ...N, ...d };
|
|
@@ -35,14 +37,14 @@ const P = L(
|
|
|
35
37
|
/* @__PURE__ */ m(a.Content, { children: [
|
|
36
38
|
/* @__PURE__ */ r(a.Eyebrow, { children: C }),
|
|
37
39
|
/* @__PURE__ */ r(a.Title, { children: u }),
|
|
38
|
-
|
|
40
|
+
t ? /* @__PURE__ */ r(a.Badge, { children: t }) : null,
|
|
39
41
|
/* @__PURE__ */ m(a.Meta, { className: `${e}__info`, children: [
|
|
40
42
|
/* @__PURE__ */ r(a.MetaItem, { children: S }),
|
|
41
43
|
/* @__PURE__ */ r(a.MetaItem, { children: E }),
|
|
42
|
-
|
|
44
|
+
s && l && /* @__PURE__ */ r("div", { className: `${e}__modal-link`, children: /* @__PURE__ */ r(g, { onClick: l, variant: k.link, linkSize: "sm", children: s }) })
|
|
43
45
|
] })
|
|
44
46
|
] }),
|
|
45
|
-
o !==
|
|
47
|
+
o !== p.RELATED_SALE_TILE && n && /* @__PURE__ */ r("div", { className: `${e}__ctas`, children: /* @__PURE__ */ r(A.Media, { greaterThanOrEqual: y.snwMobile, children: n }) })
|
|
46
48
|
] });
|
|
47
49
|
}
|
|
48
50
|
);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_saleCardActions.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react/jsx-runtime"),n=require("react"),i=require("../../utils/index.cjs");;const l=require("../../components/Text/Text.cjs"),e=n.forwardRef(({children:s,...a},r)=>{const{className:t,...o}=i.getCommonProps(a,"SaleCardActions");return c.jsx(l.default,{className:`${t}__ctas`,...o,ref:r,children:s})});e.displayName="SaleCardActions";exports.SaleCardActions=e;exports.default=e;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import './_saleCardActions.css';
|
|
1
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef as e } from "react";
|
|
3
4
|
import { getCommonProps as c } from "../../utils/index.js";
|
|
5
|
+
|
|
4
6
|
import i from "../../components/Text/Text.js";
|
|
5
|
-
const
|
|
7
|
+
const p = e(({ children: o, ...a }, r) => {
|
|
6
8
|
const { className: s, ...m } = c(a, "SaleCardActions");
|
|
7
9
|
return /* @__PURE__ */ t(i, { className: `${s}__ctas`, ...m, ref: r, children: o });
|
|
8
10
|
});
|
|
9
|
-
|
|
11
|
+
p.displayName = "SaleCardActions";
|
|
10
12
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
p as SaleCardActions,
|
|
14
|
+
p as default
|
|
13
15
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{a:focus-visible>.seldon-sale-card{border-radius:4px;outline:2px solid #07c;outline-offset:4px}a:has(>.seldon-sale-card):focus{outline:none}.seldon-sale-card{align-items:center;display:flex;flex-direction:column;gap:var(--spacing-md)}@media(min-width:768px){.seldon-sale-card--image-left{flex-direction:row}}@media(min-width:768px){.seldon-sale-card--image-right{flex-direction:row-reverse}}.seldon-sale-card__ctas{flex:0 0 0%}@media(min-width:768px){.seldon-sale-card__ctas{flex-basis:250px}}.seldon-sale-card__modal-link .seldon-button{font-family:Montserrat,sans-serif;font-size:var(--font-size-link-small);font-style:unset;font-variation-settings:"wght" 400;letter-spacing:0;line-height:1.2;text-decoration:underline;text-transform:unset}.seldon-sale-card__cta-button{padding:var(--spacing-sm) var(--spacing-lg);white-space:nowrap;width:100%}.seldon-sale-card__pdf-link{align-items:center;align-self:stretch;display:flex;gap:var(--spacing-micro);justify-content:center}.seldon-sale-card__pdf-link a{text-decoration:none}.seldon-sale-card--relatedSaleTile{align-items:flex-start;gap:var(--spacing-sm)}@media(max-width:767px){.seldon-sale-card--relatedSaleTile.seldon-sale-card--image-left{flex-direction:row}.seldon-sale-card--relatedSaleTile.seldon-sale-card--image-right{flex-direction:row-reverse}}.seldon-sale-card--relatedSaleTile>.seldon-card__image{max-width:var(--spacing-xxxl);min-width:94px}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-sale-card-actions__ctas{align-items:flex-start;display:flex;flex-direction:column;gap:var(--spacing-sm);justify-content:center;min-width:200px}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_saleHeaderBanner.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),A=require("react"),z=require("../../utils/index.cjs"),H=require("../../_virtual/index2.cjs"),O=require("../../types/commonTypes.cjs"),x=require("../../providers/SeldonProvider/utils.cjs"),s=require("../../components/Banner/Banner.cjs");;const _=require("../../utils/constants.cjs"),h=require("../../components/Countdown/Countdown.cjs"),j=require("../../components/Banner/types.cjs"),D=require("../../components/PageContentWrapper/PageContentWrapper.cjs"),r=require("../../components/Text/types.cjs"),t=require("../../components/Text/Text.cjs"),F=require("../../components/SeldonImage/SeldonImage.cjs"),L=require("../../components/SeldonImage/types.cjs"),f=A.forwardRef(({auctionEndTime:n,auctionTitle:i,badgeText:l,imageSrcUrl:p,imageSrcSet:q,imageSizes:v,imageLoading:g,imageFetchPriority:S,location:N,countdownTimerLabel:$,countdownFormatDuration:b,auctionState:M,occurrenceInformation:B,onClick:Q,children:y,className:T,footerElement:R,headerLabel:V,showTimer:c,getCurrentDateTime:k,...d},w)=>{const{className:a,...C}=z.getCommonProps(d,"SaleHeaderBanner"),o=M===O.AuctionStatus.live,u={endDateTime:n,label:$,formatDurationStr:b,getCurrentDateTime:k};return e.jsxs("div",{...C,className:H.default(a,T),...d,ref:w,children:[o&&n&&c?e.jsx(x.SSRMediaQuery.Media,{lessThan:_.Breakpoints.md,children:e.jsx("div",{className:`${a}__stack__countdown`,children:e.jsx(h.default,{...u,showBottomBorder:!1,centerAlign:!0})})}):null,e.jsxs(s.default,{variant:j.BannerVariants.top,children:[e.jsx(s.default.Content,{children:e.jsx(D.default,{children:e.jsxs("div",{className:`${a}__stack`,children:[o&&n&&c?e.jsx(x.SSRMediaQuery.Media,{greaterThanOrEqual:_.Breakpoints.md,children:e.jsx("div",{className:`${a}__stack__countdown`,children:e.jsx(h.default,{...u,centerAlign:!0})})}):null,e.jsx(s.default.Eyebrow,{variant:r.TextVariants.labelMedium,className:`${a}__header-label`,children:V}),e.jsx(s.default.Title,{variant:r.TextVariants.headingLarge,element:"h1",className:`${a}__title`,children:i}),l&&e.jsx(t.default,{variant:r.TextVariants.badge,className:`${a}__badge`,children:l}),e.jsx(t.default,{variant:r.TextVariants.labelMedium,className:`${a}__location`,children:N}),e.jsxs("div",{className:`${a}__occurrence-details`,children:[B.map(({date:m,occurrenceLabel:P})=>e.jsxs("div",{className:`${a}__occurrence-details-text`,children:[e.jsx(t.default,{variant:r.TextVariants.labelMedium,children:P}),e.jsx(t.default,{variant:r.TextVariants.labelMedium,className:`${a}__date`,children:m})]},String(m))),y]}),R]})})}),e.jsx(s.default.Media,{size:j.BannerMediaSize.half,className:`${a}__image`,children:e.jsx(F.default,{aspectRatio:L.AspectRatio.Landscape,src:p,alt:String(i),objectFit:"cover",srcSet:q,sizes:v,loading:g,fetchPriority:S})})]})]})});f.displayName="SaleHeaderBanner";exports.default=f;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './_saleHeaderBanner.css';
|
|
1
2
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef as H } from "react";
|
|
3
4
|
import { getCommonProps as D } from "../../utils/index.js";
|
|
@@ -5,6 +6,7 @@ import F from "../../_virtual/index2.js";
|
|
|
5
6
|
import { AuctionStatus as L } from "../../types/commonTypes.js";
|
|
6
7
|
import { SSRMediaQuery as h } from "../../providers/SeldonProvider/utils.js";
|
|
7
8
|
import n from "../../components/Banner/Banner.js";
|
|
9
|
+
|
|
8
10
|
import { Breakpoints as f } from "../../utils/constants.js";
|
|
9
11
|
import u from "../../components/Countdown/Countdown.js";
|
|
10
12
|
import { BannerVariants as O, BannerMediaSize as V } from "../../components/Banner/types.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-sale-header-banner{border-bottom:1px solid #eae9e6;margin-bottom:var(--spacing-md)}@media(max-width:960px){.seldon-sale-header-banner .seldon-banner__inner{gap:0}.seldon-sale-header-banner__stack{padding:var(--spacing-md) 0}}.seldon-sale-header-banner__header-label{margin-bottom:var(--spacing-xsm)}.seldon-sale-header-banner__title.seldon-text{text-transform:uppercase}.seldon-sale-header-banner .seldon-countdown{padding-top:var(--spacing-sm)}.seldon-sale-header-banner__stack{align-items:start;display:flex;flex-direction:column;height:100%;justify-content:center}.seldon-sale-header-banner__stack__countdown{display:flex;width:100%}.seldon-sale-header-banner__stack .seldon-text--badge{margin-bottom:var(--spacing-xsm)}.seldon-sale-header-banner__location{font-variation-settings:"wght" 600;margin:var(--spacing-xsm) 0 var(--spacing-md) 0}.seldon-sale-header-banner__badge{border:1px solid #0065fc;color:#0065fc;margin:var(--spacing-xsm) 0;padding:var(--spacing-micro) var(--spacing-xsm)}.seldon-sale-header-banner__occurrence-details{align-items:center;display:flex;margin-bottom:var(--spacing-xsm)}.seldon-sale-header-banner__occurrence-details-text{align-items:flex-start;display:flex;flex-direction:column;gap:var(--spacing-micro)}.seldon-sale-header-banner__occurrence-details-text:after{content:"";display:block}.seldon-sale-header-banner__occurrence-details-text:first-child{padding-right:var(--spacing-sm)}.seldon-sale-header-banner__occurrence-details-text:not(:first-child){border-left:1px solid #75716f;padding-left:var(--spacing-sm)}.seldon-sale-header-banner__browse-auctions-text{gap:var(--spacing-micro)}.seldon-sale-header-banner__date{font-variation-settings:"wght" 600}.seldon-sale-header-banner__cta{margin:var(--spacing-sm) 0}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_social.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),d=require("../../_virtual/index2.cjs"),m=require("../../utils/index.cjs"),q=require("../../components/Button/Button.cjs"),x=require("react"),f=require("../../components/Button/types.cjs");;const N=require("../../components/Text/Text.cjs"),S=require("../../components/Text/types.cjs"),s=x.forwardRef(({className:a,children:i,titleText:n="Never miss a moment",buttonText:o="Subscribe to our newsletter",onSubscribeClick:c,...r},u)=>{const{className:e,...l}=m.getCommonProps(r,"Social");return t.jsxs("div",{ref:u,...l,className:d.default(e,a),...r,children:[t.jsx(N.default,{variant:S.TextVariants.headingSmall,className:`${e}__header`,children:n}),t.jsx(q.default,{onClick:c,variant:f.ButtonVariants.tertiary,className:`${e}__button`,children:o}),i]})});s.displayName="Social";exports.default=s;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import './_social.css';
|
|
1
2
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
3
|
import f from "../../_virtual/index2.js";
|
|
3
4
|
import { getCommonProps as p } from "../../utils/index.js";
|
|
4
5
|
import d from "../../components/Button/Button.js";
|
|
5
6
|
import { forwardRef as u } from "react";
|
|
6
7
|
import { ButtonVariants as N } from "../../components/Button/types.js";
|
|
8
|
+
|
|
7
9
|
import h from "../../components/Text/Text.js";
|
|
8
10
|
import { TextVariants as x } from "../../components/Text/types.js";
|
|
9
11
|
const S = u(
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer vendor,seldon.foundation,seldon.components,seldon.patterns,seldon.site;@layer seldon.patterns{.seldon-social{align-items:center;display:inline-flex;flex-direction:column;margin-top:var(--spacing-md);padding:0;width:100%}@media(min-width:961px){.seldon-social{margin-top:var(--spacing-sm)}}@media(min-width:1401px){.seldon-social{margin-top:0}}.seldon-social .seldon-text{margin-bottom:var(--spacing-sm)}@media(min-width:961px){.seldon-social .seldon-text{margin-bottom:var(--spacing-sm)}}@media(min-width:961px){.seldon-social{align-items:flex-start}}.seldon-social__button{font-family:Montserrat,sans-serif;font-size:var(--font-size-link-medium);font-style:unset;font-variation-settings:"wght" 400;letter-spacing:0;line-height:1.2;text-transform:unset;border:0;height:auto;margin-bottom:var(--spacing-sm);margin-top:var(--spacing-xsm);padding:0;text-align:left;text-decoration:underline}.seldon-social__button.seldon-social__button{text-transform:none}.seldon-social__button:hover{background-color:unset;color:unset}.seldon-social__button:focus-visible{border-radius:4px;padding:0}.seldon-social.seldon-social ul{align-items:center;border-top:1px solid #eae9e6;display:flex;flex-direction:row;gap:0 2rem;justify-content:flex-start;list-style:none;margin:var(--spacing-md) 0 0;max-width:16.75rem;padding:var(--spacing-sm) 0 0;width:100%}.seldon-social.seldon-social ul li{cursor:pointer}.seldon-social.seldon-social a{display:inline-block}}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
require('./_subscribe.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),R=require("react"),V=require("../../_virtual/index2.cjs"),A=require("../../utils/index.cjs"),B=require("../../components/Input/Input.cjs"),C=require("../../components/Button/Button.cjs"),a=require("./types.cjs"),I=require("../../components/Button/types.cjs");;const u=require("../../components/Text/Text.cjs"),p=require("../../components/Text/types.cjs");function L(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const U=L(R),g=U.forwardRef(({autoFocus:e=!0,blurb:t,buttonText:n="Sign Up",buttonProps:s,className:l,element:S="form",inputLabelText:b="Enter Your Email Address To Sign Up*",inputPlaceholder:x="example@email.com",inputProps:y,title:j="Never Miss A Moment",loadingText:q="Loading...",invalidText:v="",errorText:_="An error occurred. Please try again.",successText:h,privacyText:d="By signing up, you agree to receive email communications from Phillips.",subscriptionState:r=a.SubscriptionState.Default,id:c,...m},N)=>{const{className:o,...T}=A.getCommonProps({id:c,...m},"Subscribe"),$=r===a.SubscriptionState.Invalid,P=r===a.SubscriptionState.Loading,M=r===a.SubscriptionState.Success,O=r===a.SubscriptionState.Error,w={invalid:v,success:h,loading:q,error:_},f=r!==a.SubscriptionState.Default?w[r]:"",D=M||P,E=$||O;return i.jsxs(S,{id:c,...T,className:V.default(o,l),noValidate:!0,ref:N,...m,children:[i.jsx(u.default,{variant:p.TextVariants.headingSmall,className:`${o}__title`,children:j}),t?i.jsx(u.default,{variant:p.TextVariants.bodyMedium,children:t}):null,i.jsx(B.default,{autoFocus:e,className:`${o}__input`,type:"email",name:"email",placeholder:x,labelText:b,invalid:E,invalidText:f,warn:D,warnText:f,required:!0,id:`${c}-input`,...y}),i.jsx(C.default,{className:`${o}__button ${l}`,variant:I.ButtonVariants.secondary,type:"submit",...s,children:n}),d?i.jsx(u.default,{element:"p",children:d}):null]})});g.displayName="Subscribe";exports.default=g;
|