@phillips/seldon 1.237.0 → 1.238.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +15 -10
- package/dist/_virtual/index.js +5 -2
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index12.js +4 -0
- package/dist/_virtual/index13.js +4 -0
- package/dist/_virtual/index14.js +5 -0
- package/dist/_virtual/index15.js +5 -0
- package/dist/_virtual/index16.js +7 -0
- package/dist/_virtual/index17.js +4 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index2.js +3 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +2 -4
- package/dist/_virtual/index6.js +5 -2
- package/dist/_virtual/index7.js +3 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Accordion/utils.js +1 -1
- package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
- package/dist/components/AddToCalendar/calendarLinks.js +10 -10
- package/dist/components/Article/Article.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/components/Button/Button.d.ts +5 -1
- package/dist/components/Button/Button.js +49 -47
- package/dist/components/Button/Button.stories.d.ts +34 -5
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/types.d.ts +4 -1
- package/dist/components/Button/types.js +2 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/CarouselArrows.js +1 -1
- package/dist/components/Carousel/CarouselContent.js +1 -1
- package/dist/components/Carousel/CarouselDot.js +1 -1
- package/dist/components/Carousel/CarouselDots.js +1 -1
- package/dist/components/Carousel/CarouselItem.js +1 -1
- package/dist/components/Collapsible/Collapsible.js +1 -1
- package/dist/components/Collapsible/CollapsibleContent.js +1 -1
- package/dist/components/Collapsible/CollapsibleTrigger.js +1 -1
- package/dist/components/ComboBox/ComboBox.js +16 -16
- package/dist/components/ComposedModal/ComposedModal.js +1 -1
- package/dist/components/ContentPeek/ContentPeek.js +1 -1
- package/dist/components/Countdown/Countdown.js +10 -10
- package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +1 -1
- package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +1 -1
- package/dist/components/Detail/Detail.js +1 -1
- package/dist/components/DetailList/DetailList.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/ExitGateCard/ExitGateCard.js +1 -1
- package/dist/components/FavoritingTileButton/FavoritingTileButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/FilterHeader.js +1 -1
- package/dist/components/Grid/Grid.js +1 -1
- package/dist/components/Grid/Grid.stories.d.ts +1 -1
- package/dist/components/Grid/utils.js +1 -1
- package/dist/components/GridItem/GridItem.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/utils.js +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/LinkBlock/LinkBlock.js +1 -1
- package/dist/components/LinkList/LinkList.js +1 -1
- package/dist/components/Loader/Loader.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Navigation/Navigation.js +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +1 -1
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +1 -1
- package/dist/components/Navigation/NavigationList/NavigationList.js +1 -1
- package/dist/components/NotificationBanner/NotificationBanner.js +1 -1
- package/dist/components/PageContentWrapper/PageContentWrapper.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pictogram/Pictogram.js +1 -1
- package/dist/components/PinchZoom/PinchZoom.js +1 -1
- package/dist/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/dist/components/Row/Row.js +5 -5
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Search/Search.stories.d.ts +1 -1
- package/dist/components/SeldonImage/SeldonImage.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/SplitPanel/SplitPanel.js +1 -1
- package/dist/components/Tabs/TabsContainer.js +1 -1
- package/dist/components/Tabs/TabsContent.js +1 -1
- package/dist/components/Tags/Tags.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Text/utils.js +1 -0
- package/dist/components/TextArea/TextArea.js +2 -2
- package/dist/components/TextSymbol/TextSymbol.js +16 -16
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Video/Video.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +225 -224
- package/dist/node_modules/@artsy/fresnel/dist/Breakpoints.js +261 -260
- package/dist/node_modules/@artsy/fresnel/dist/DynamicResponsive.js +148 -143
- package/dist/node_modules/@artsy/fresnel/dist/Interactions.js +124 -123
- package/dist/node_modules/@artsy/fresnel/dist/Media.js +158 -157
- package/dist/node_modules/@artsy/fresnel/dist/MediaQueries.js +120 -120
- package/dist/node_modules/@artsy/fresnel/dist/Utils.js +85 -87
- package/dist/node_modules/@artsy/fresnel/dist/index.js +25 -21
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +12 -12
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +9 -9
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +23 -24
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +17 -18
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +24 -25
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +14 -15
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +13 -14
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +21 -22
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +16 -17
- package/dist/node_modules/@radix-ui/react-toast/dist/index.js +43 -44
- package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/change-case/dist/index.js +20 -20
- package/dist/node_modules/classnames/index.js +33 -38
- package/dist/node_modules/date-fns/_lib/format/formatters.js +51 -20
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -3
- package/dist/node_modules/date-fns/addHours.js +4 -5
- package/dist/node_modules/date-fns/addMilliseconds.js +4 -5
- package/dist/node_modules/date-fns/constants.js +1 -1
- package/dist/node_modules/date-fns/constructFrom.js +1 -2
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +4 -5
- package/dist/node_modules/date-fns/differenceInDays.js +8 -9
- package/dist/node_modules/date-fns/differenceInHours.js +8 -9
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +3 -4
- package/dist/node_modules/date-fns/differenceInMinutes.js +6 -7
- package/dist/node_modules/date-fns/differenceInSeconds.js +5 -6
- package/dist/node_modules/date-fns/format.js +7 -8
- package/dist/node_modules/date-fns/formatDuration.js +6 -7
- package/dist/node_modules/date-fns/getDayOfYear.js +5 -6
- package/dist/node_modules/date-fns/getISOWeek.js +2 -3
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/getWeek.js +5 -6
- package/dist/node_modules/date-fns/getWeekYear.js +5 -6
- package/dist/node_modules/date-fns/isAfter.js +2 -3
- package/dist/node_modules/date-fns/isDate.js +0 -1
- package/dist/node_modules/date-fns/isSameWeek.js +5 -6
- package/dist/node_modules/date-fns/isValid.js +4 -5
- package/dist/node_modules/date-fns/locale/en-US.js +8 -9
- package/dist/node_modules/date-fns/locale/zh-CN.js +8 -9
- package/dist/node_modules/date-fns/startOfDay.js +4 -5
- package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
- package/dist/node_modules/date-fns/startOfWeek.js +5 -6
- package/dist/node_modules/date-fns/startOfWeekYear.js +2 -3
- package/dist/node_modules/date-fns/startOfYear.js +4 -5
- package/dist/node_modules/date-fns/toDate.js +3 -4
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +6 -7
- package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -1
- package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +1 -1
- package/dist/node_modules/ics/dist/defaults.js +21 -19
- package/dist/node_modules/ics/dist/index.js +103 -104
- package/dist/node_modules/ics/dist/pipeline/build.js +47 -45
- package/dist/node_modules/ics/dist/pipeline/format.js +61 -61
- package/dist/node_modules/ics/dist/pipeline/index.js +56 -53
- package/dist/node_modules/ics/dist/pipeline/validate.js +21 -16
- package/dist/node_modules/ics/dist/schema/index.js +203 -201
- package/dist/node_modules/ics/dist/utils/encode-new-lines.js +15 -9
- package/dist/node_modules/ics/dist/utils/encode-param-value.js +15 -9
- package/dist/node_modules/ics/dist/utils/fold-line.js +19 -13
- package/dist/node_modules/ics/dist/utils/format-date.js +66 -60
- package/dist/node_modules/ics/dist/utils/format-duration.js +16 -10
- package/dist/node_modules/ics/dist/utils/format-text.js +15 -9
- package/dist/node_modules/ics/dist/utils/index.js +81 -86
- package/dist/node_modules/ics/dist/utils/set-alarm.js +47 -44
- package/dist/node_modules/ics/dist/utils/set-contact.js +23 -18
- package/dist/node_modules/ics/dist/utils/set-description.js +20 -15
- package/dist/node_modules/ics/dist/utils/set-geolocation.js +16 -10
- package/dist/node_modules/ics/dist/utils/set-location.js +20 -15
- package/dist/node_modules/ics/dist/utils/set-organizer.js +21 -16
- package/dist/node_modules/ics/dist/utils/set-summary.js +20 -15
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +5 -5
- package/dist/node_modules/lodash.debounce/index.js +85 -3
- package/dist/node_modules/nanoid/index.browser.js +1 -1
- package/dist/node_modules/object-assign/index.js +0 -5
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/node_modules/prop-types/index.js +13 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +3 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -9
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/property-expr/index.js +78 -73
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +3 -3
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +9 -9
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js +3 -3
- package/dist/node_modules/react-transition-group/esm/Transition.js +3 -3
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/react-zoom-pan-pinch/dist/index.esm.js +2 -3
- package/dist/node_modules/runes2/dist/index.cjs.production.min.js +8 -8
- package/dist/node_modules/runes2/dist/index.js +8 -6
- package/dist/node_modules/tiny-case/index.js +20 -15
- package/dist/node_modules/toposort/index.js +57 -56
- package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -9
- package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +2 -2
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/pages/Page.stories.d.ts +1 -1
- package/dist/patterns/AccountPageHeader/AccountPageHeader.js +1 -1
- package/dist/patterns/BidSnapshot/BidMessage.js +1 -1
- package/dist/patterns/BidSnapshot/BidSnapshot.js +1 -1
- package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +1 -1
- package/dist/patterns/CountryPicker/CountryPickerModal.stories.d.ts +1 -1
- package/dist/patterns/CountryPicker/CountryPickerOption.js +1 -1
- package/dist/patterns/CountryPicker/CountryPickerTrigger.js +1 -1
- package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
- package/dist/patterns/FilterMenu/FilterMenu.js +1 -1
- package/dist/patterns/FiltersInline/FilterButton.js +1 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +1 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +1 -1
- package/dist/patterns/FiltersInline/FiltersInline.js +1 -1
- package/dist/patterns/FiltersInline/MainFilterDropdown.js +1 -1
- package/dist/patterns/HeroBanner/HeroBanner.js +1 -1
- package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +1 -1
- package/dist/patterns/LanguageSelector/LanguageSelector.js +1 -1
- package/dist/patterns/ObjectTile/ObjectTile.js +1 -1
- package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +4 -4
- package/dist/patterns/ProgressWizard/ProgressWizard.stories.d.ts +8 -8
- package/dist/patterns/SaleCard/SaleCard.js +2 -2
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +1 -1
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +1 -1
- package/dist/patterns/Social/Social.js +1 -1
- package/dist/patterns/Subscribe/Subscribe.js +1 -1
- package/dist/patterns/TextBanner/TextBanner.js +1 -1
- package/dist/patterns/UserManagement/UserManagement.js +1 -1
- package/dist/patterns/UserManagement/UserManagement.stories.d.ts +1 -1
- package/dist/patterns/ViewingDetails/ViewingDetails.js +1 -1
- package/dist/patterns/ViewingsList/ViewingsList.js +5 -5
- package/dist/patterns/ViewingsList/ViewingsListCard.js +38 -29
- package/dist/patterns/ViewingsList/ViewingsListCardForm.js +1 -1
- package/dist/providers/SeldonProvider/utils.js +4 -5
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Button/_button.scss +21 -35
- package/dist/scss/components/Button/_button.stories.scss +76 -0
- package/dist/scss/components/DatePicker/_datePicker.scss +2 -2
- package/dist/scss/components/Drawer/_drawer.scss +1 -1
- package/dist/scss/components/Icon/_icon.stories.scss +1 -1
- package/dist/scss/patterns/ViewingDetails/_viewingDetails.stories.scss +0 -2
- package/dist/site-furniture/Footer/Footer.js +1 -1
- package/dist/site-furniture/Header/Header.js +1 -1
- package/package.json +27 -30
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as f, jsx as t, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import ut from "../../
|
|
1
|
+
import { jsxs as f, jsx as t, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import ut from "../../_virtual/index.js";
|
|
4
4
|
import { px as c } from "../../utils/index.js";
|
|
5
5
|
import v from "../../components/Input/Input.js";
|
|
6
|
-
import
|
|
7
|
-
import { ButtonVariants as
|
|
6
|
+
import l from "../../components/Button/Button.js";
|
|
7
|
+
import { ButtonVariants as o } from "../../components/Button/types.js";
|
|
8
8
|
import ft from "./ViewingsListCardForm.js";
|
|
9
9
|
const s = `${c}-viewings-list-card`, Et = ({
|
|
10
10
|
address1: E,
|
|
11
11
|
address1Label: $,
|
|
12
|
-
addressUrl:
|
|
12
|
+
addressUrl: g,
|
|
13
13
|
addressUrlLabel: C,
|
|
14
14
|
address2: O,
|
|
15
15
|
address2Label: w,
|
|
@@ -34,8 +34,8 @@ const s = `${c}-viewings-list-card`, Et = ({
|
|
|
34
34
|
locationLabel: R = "Location",
|
|
35
35
|
onCancel: d,
|
|
36
36
|
onEdit: p,
|
|
37
|
-
onDelete:
|
|
38
|
-
onSave:
|
|
37
|
+
onDelete: b,
|
|
38
|
+
onSave: h,
|
|
39
39
|
previewDates: q,
|
|
40
40
|
previewDatesLabel: G,
|
|
41
41
|
previewHours1: H,
|
|
@@ -54,20 +54,20 @@ const s = `${c}-viewings-list-card`, Et = ({
|
|
|
54
54
|
viewingHours1: et,
|
|
55
55
|
viewingHours1Label: nt,
|
|
56
56
|
viewingHours2: it,
|
|
57
|
-
viewingHours2Label:
|
|
57
|
+
viewingHours2Label: rt
|
|
58
58
|
}) => {
|
|
59
|
-
const [
|
|
60
|
-
|
|
61
|
-
n &&
|
|
62
|
-
}, [n]),
|
|
63
|
-
i &&
|
|
59
|
+
const [at, lt] = a.useState(m === "true"), r = a.useRef(null);
|
|
60
|
+
a.useEffect(() => {
|
|
61
|
+
n && r.current && r.current.focus();
|
|
62
|
+
}, [n]), a.useEffect(() => {
|
|
63
|
+
i && r.current && r.current.closest(`.${c}-viewings-list-card`)?.querySelector(`.${c}-input--invalid input`)?.focus();
|
|
64
64
|
}, [i]);
|
|
65
|
-
const
|
|
65
|
+
const ot = () => {
|
|
66
66
|
typeof d == "function" && d();
|
|
67
67
|
}, st = () => {
|
|
68
68
|
typeof p == "function" && p();
|
|
69
69
|
}, ct = (u) => {
|
|
70
|
-
typeof
|
|
70
|
+
typeof h == "function" && h(u);
|
|
71
71
|
};
|
|
72
72
|
return /* @__PURE__ */ f(
|
|
73
73
|
"section",
|
|
@@ -81,7 +81,7 @@ const s = `${c}-viewings-list-card`, Et = ({
|
|
|
81
81
|
/* @__PURE__ */ t(
|
|
82
82
|
v,
|
|
83
83
|
{
|
|
84
|
-
ref:
|
|
84
|
+
ref: r,
|
|
85
85
|
id: `location-${e}`,
|
|
86
86
|
defaultValue: D,
|
|
87
87
|
labelText: R,
|
|
@@ -97,7 +97,7 @@ const s = `${c}-viewings-list-card`, Et = ({
|
|
|
97
97
|
{
|
|
98
98
|
address1: E,
|
|
99
99
|
address1Label: $,
|
|
100
|
-
addressUrl:
|
|
100
|
+
addressUrl: g,
|
|
101
101
|
addressUrlLabel: C,
|
|
102
102
|
address2: O,
|
|
103
103
|
address2Label: w,
|
|
@@ -128,7 +128,7 @@ const s = `${c}-viewings-list-card`, Et = ({
|
|
|
128
128
|
viewingHours1: et,
|
|
129
129
|
viewingHours1Label: nt,
|
|
130
130
|
viewingHours2: it,
|
|
131
|
-
viewingHours2Label:
|
|
131
|
+
viewingHours2Label: rt
|
|
132
132
|
}
|
|
133
133
|
) : null,
|
|
134
134
|
/* @__PURE__ */ t(
|
|
@@ -142,24 +142,33 @@ const s = `${c}-viewings-list-card`, Et = ({
|
|
|
142
142
|
inline: !0,
|
|
143
143
|
value: "true",
|
|
144
144
|
name: "enableOnSite",
|
|
145
|
-
onChange: () =>
|
|
145
|
+
onChange: () => lt((u) => !u),
|
|
146
146
|
readOnly: !n
|
|
147
147
|
}
|
|
148
148
|
),
|
|
149
|
-
|
|
149
|
+
at ? null : /* @__PURE__ */ t("input", { type: "hidden", name: "enableOnSite", value: "false" }),
|
|
150
150
|
/* @__PURE__ */ t("hr", {}),
|
|
151
|
-
/* @__PURE__ */ t("div", { className: `${s}__btn-group ${c}-button__group`, children: n ? /* @__PURE__ */ f(
|
|
152
|
-
/* @__PURE__ */ t(
|
|
153
|
-
/* @__PURE__ */ t(o, { id: `vlc-cancel-btn-${e}`, variant: r.ghost, type: "button", onClick: rt, children: L })
|
|
154
|
-
] }) : /* @__PURE__ */ f(g, { children: [
|
|
155
|
-
/* @__PURE__ */ t(o, { id: `vlc-edit-btn-${e}`, variant: r.ghost, type: "button", onClick: st, children: _ }),
|
|
151
|
+
/* @__PURE__ */ t("div", { className: `${s}__btn-group ${c}-button__group`, children: n ? /* @__PURE__ */ f(y, { children: [
|
|
152
|
+
/* @__PURE__ */ t(l, { id: `vlc-save-btn-${e}`, variant: o.tertiary, type: "submit", onClick: ct, children: X }),
|
|
156
153
|
/* @__PURE__ */ t(
|
|
157
|
-
|
|
154
|
+
l,
|
|
155
|
+
{
|
|
156
|
+
id: `vlc-cancel-btn-${e}`,
|
|
157
|
+
variant: o.tertiary,
|
|
158
|
+
type: "button",
|
|
159
|
+
onClick: ot,
|
|
160
|
+
children: L
|
|
161
|
+
}
|
|
162
|
+
)
|
|
163
|
+
] }) : /* @__PURE__ */ f(y, { children: [
|
|
164
|
+
/* @__PURE__ */ t(l, { id: `vlc-edit-btn-${e}`, variant: o.tertiary, type: "button", onClick: st, children: _ }),
|
|
165
|
+
/* @__PURE__ */ t(
|
|
166
|
+
l,
|
|
158
167
|
{
|
|
159
168
|
id: `vlc-delete-btn-${e}`,
|
|
160
|
-
variant:
|
|
169
|
+
variant: o.tertiary,
|
|
161
170
|
type: "button",
|
|
162
|
-
onClick: () => typeof
|
|
171
|
+
onClick: () => typeof b == "function" && b(e),
|
|
163
172
|
children: V
|
|
164
173
|
}
|
|
165
174
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, Fragment as B, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import w from "../../
|
|
2
|
+
import w from "../../_virtual/index.js";
|
|
3
3
|
import * as m from "react";
|
|
4
4
|
import { px as G } from "../../utils/index.js";
|
|
5
5
|
import s from "../../components/Input/Input.js";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import { BREAKPOINTS as
|
|
3
|
-
|
|
4
|
-
const t = r.createMedia({ breakpoints: e }), s = t.createMediaStyle();
|
|
1
|
+
import { d as e } from "../../_virtual/index2.js";
|
|
2
|
+
import { BREAKPOINTS as r } from "../../utils/constants.js";
|
|
3
|
+
const t = e.createMedia({ breakpoints: r }), i = t.createMediaStyle();
|
|
5
4
|
export {
|
|
6
5
|
t as SSRMediaQuery,
|
|
7
|
-
|
|
6
|
+
i as ssrMediaQueryStyle
|
|
8
7
|
};
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
@use 'components/Pagination/pagination';
|
|
41
41
|
@use 'components/ContentPeek/contentPeek';
|
|
42
42
|
@use 'components/PageContentWrapper/pageContentWrapper';
|
|
43
|
+
@use 'components/DatePicker/datePicker';
|
|
43
44
|
@use 'components/Carousel/carousel';
|
|
44
45
|
@use 'components/ComboBox/combobox';
|
|
45
46
|
@use 'components/Tags/tags';
|
|
@@ -21,6 +21,23 @@
|
|
|
21
21
|
color 0.25s,
|
|
22
22
|
background-color 0.25s;
|
|
23
23
|
|
|
24
|
+
&--small {
|
|
25
|
+
height: 32px; // Explicitly defined by design
|
|
26
|
+
max-width: 160px; // Explicitly defined by design
|
|
27
|
+
min-width: 72px; // Explicitly defined by design
|
|
28
|
+
padding: 0 $padding-sm;
|
|
29
|
+
|
|
30
|
+
svg {
|
|
31
|
+
height: calc($font-size-label-small * 1.1);
|
|
32
|
+
width: calc($font-size-label-small * 1.1);
|
|
33
|
+
|
|
34
|
+
@include media($breakpoint-md) {
|
|
35
|
+
height: calc($font-size-label-small * 1.2);
|
|
36
|
+
width: calc($font-size-label-small * 1.2);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
24
41
|
svg {
|
|
25
42
|
fill: $pure-white;
|
|
26
43
|
height: calc($font-size-label-small * 1.3);
|
|
@@ -39,7 +56,6 @@
|
|
|
39
56
|
|
|
40
57
|
&--primary,
|
|
41
58
|
&--secondary,
|
|
42
|
-
&--ghost,
|
|
43
59
|
&--tertiary {
|
|
44
60
|
&.#{$px}-link {
|
|
45
61
|
text-decoration: none;
|
|
@@ -47,8 +63,7 @@
|
|
|
47
63
|
}
|
|
48
64
|
|
|
49
65
|
&--primary.#{$px}-link,
|
|
50
|
-
&--secondary.#{$px}-link
|
|
51
|
-
&--ghost.#{$px}-link {
|
|
66
|
+
&--secondary.#{$px}-link {
|
|
52
67
|
font-variation-settings: 'wght' 600;
|
|
53
68
|
|
|
54
69
|
.#{$px}-text {
|
|
@@ -105,8 +120,7 @@
|
|
|
105
120
|
}
|
|
106
121
|
}
|
|
107
122
|
|
|
108
|
-
&--secondary
|
|
109
|
-
&--ghost {
|
|
123
|
+
&--secondary {
|
|
110
124
|
background-color: $pure-white;
|
|
111
125
|
border: 2px solid $pure-black;
|
|
112
126
|
color: $pure-black;
|
|
@@ -154,37 +168,9 @@
|
|
|
154
168
|
}
|
|
155
169
|
}
|
|
156
170
|
|
|
157
|
-
&--ghost {
|
|
158
|
-
border-color: transparent;
|
|
159
|
-
|
|
160
|
-
@include hoverOrActive {
|
|
161
|
-
background-color: transparent;
|
|
162
|
-
border: 1px solid transparent;
|
|
163
|
-
color: $pure-white;
|
|
164
|
-
|
|
165
|
-
svg {
|
|
166
|
-
fill: $pure-white;
|
|
167
|
-
|
|
168
|
-
path {
|
|
169
|
-
fill: $pure-white;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
&::before {
|
|
174
|
-
background: $button-hover;
|
|
175
|
-
height: 100%;
|
|
176
|
-
left: 0;
|
|
177
|
-
top: 0;
|
|
178
|
-
width: 100%;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
171
|
&--tertiary {
|
|
184
172
|
background-color: transparent;
|
|
185
|
-
border: 0;
|
|
186
173
|
color: $pure-black;
|
|
187
|
-
padding: 0 $spacing-micro;
|
|
188
174
|
|
|
189
175
|
svg {
|
|
190
176
|
fill: $pure-black;
|
|
@@ -217,7 +203,7 @@
|
|
|
217
203
|
|
|
218
204
|
&:disabled {
|
|
219
205
|
background-color: $grey-50;
|
|
220
|
-
border:
|
|
206
|
+
border: 2px solid $grey-50;
|
|
221
207
|
color: $grey-75;
|
|
222
208
|
cursor: default;
|
|
223
209
|
|
|
@@ -236,8 +222,8 @@
|
|
|
236
222
|
}
|
|
237
223
|
}
|
|
238
224
|
|
|
239
|
-
&--ghost:disabled,
|
|
240
225
|
&--tertiary:disabled {
|
|
226
|
+
background-color: transparent;
|
|
241
227
|
border-color: transparent;
|
|
242
228
|
}
|
|
243
229
|
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
@use '../../allPartials' as *;
|
|
2
|
+
|
|
3
|
+
@mixin grid-layout {
|
|
4
|
+
display: grid;
|
|
5
|
+
gap: 0;
|
|
6
|
+
grid-template-columns: 150px repeat(5, 1fr);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin cell-base {
|
|
10
|
+
align-items: center;
|
|
11
|
+
display: flex;
|
|
12
|
+
height: 100%;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
padding: $spacing-sm;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin cell-border {
|
|
18
|
+
border-right: 1px solid $bg-border;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.all-variants-grid {
|
|
22
|
+
background-color: $bg-default;
|
|
23
|
+
border: 1px solid $bg-border;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
|
|
28
|
+
&__header {
|
|
29
|
+
@include grid-layout;
|
|
30
|
+
|
|
31
|
+
background-color: $grey-25;
|
|
32
|
+
border-bottom: 1px solid $bg-border;
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
|
|
35
|
+
&-cell {
|
|
36
|
+
@include cell-base;
|
|
37
|
+
@include cell-border;
|
|
38
|
+
|
|
39
|
+
justify-content: center;
|
|
40
|
+
text-align: center;
|
|
41
|
+
|
|
42
|
+
&:last-child {
|
|
43
|
+
border-right: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__row {
|
|
49
|
+
@include grid-layout;
|
|
50
|
+
|
|
51
|
+
background-color: $pure-white;
|
|
52
|
+
border-bottom: 1px solid $bg-border;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__label-cell {
|
|
56
|
+
@include cell-base;
|
|
57
|
+
@include cell-border;
|
|
58
|
+
|
|
59
|
+
background-color: $grey-25;
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
justify-content: flex-start;
|
|
62
|
+
|
|
63
|
+
&:last-child {
|
|
64
|
+
border-right: none;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__button-cell {
|
|
69
|
+
@include cell-base;
|
|
70
|
+
@include cell-border;
|
|
71
|
+
|
|
72
|
+
&:last-child {
|
|
73
|
+
border-right: none;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
.flatpickr-current-month.flatpickr-current-month {
|
|
66
66
|
@include text($labelLarge);
|
|
67
67
|
|
|
68
|
+
padding: 0.65rem 0 0;
|
|
69
|
+
|
|
68
70
|
.cur-year {
|
|
69
71
|
@include text($labelLarge);
|
|
70
72
|
}
|
|
71
|
-
|
|
72
|
-
padding: 0.65rem 0 0;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n + 1)),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import s from "../../
|
|
2
|
+
import s from "../../_virtual/index.js";
|
|
3
3
|
import { px as r, defaultYear as m } from "../../utils/index.js";
|
|
4
4
|
import { TextVariants as f } from "../../components/Text/types.js";
|
|
5
5
|
import c from "../../components/Text/Text.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import c from "../../
|
|
2
|
+
import c from "../../_virtual/index.js";
|
|
3
3
|
import t, { createContext as D, forwardRef as F, useState as u, useEffect as C } from "react";
|
|
4
4
|
import G from "../../components/Icon/Icon.js";
|
|
5
5
|
import H from "../../components/Navigation/Navigation.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.238.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/PhillipsAuctionHouse/seldon"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"create-component": "node --no-warnings --loader ts-node/esm .template/scripts/createComponent.ts",
|
|
40
40
|
"format": "prettier . --write",
|
|
41
41
|
"lint": "tsc --noEmit && npm run lint:js && npm run lint:styles && npm run lint:md",
|
|
42
|
-
"lint:js": "eslint . --
|
|
42
|
+
"lint:js": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
43
43
|
"lint:styles": "stylelint \"src/**/*.scss\" --fix",
|
|
44
44
|
"lint:md": "markdownlint \"src/**/*.{md,mdx}\" --fix",
|
|
45
45
|
"prepare": "husky install",
|
|
@@ -79,25 +79,20 @@
|
|
|
79
79
|
"uuid": "^11.1.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@chromatic-com/storybook": "^
|
|
82
|
+
"@chromatic-com/storybook": "^5.0.1",
|
|
83
83
|
"@commitlint/cli": "^19.3.0",
|
|
84
84
|
"@commitlint/config-conventional": "^19.2.2",
|
|
85
|
+
"@eslint/js": "^9.15.0",
|
|
85
86
|
"@figma/code-connect": "^0.2.1",
|
|
86
87
|
"@semantic-release/changelog": "^6.0.3",
|
|
87
88
|
"@semantic-release/git": "^10.0.1",
|
|
88
89
|
"@semantic-release/github": "^12.0.0",
|
|
89
90
|
"@semantic-release/npm": "^13.1.4",
|
|
90
|
-
"@storybook/addon-a11y": "^
|
|
91
|
-
"@storybook/addon-
|
|
92
|
-
"@storybook/addon-
|
|
93
|
-
"@storybook/
|
|
94
|
-
"@storybook/
|
|
95
|
-
"@storybook/blocks": "^8.5.0",
|
|
96
|
-
"@storybook/manager-api": "^8.5.0",
|
|
97
|
-
"@storybook/preview-api": "^8.5.0",
|
|
98
|
-
"@storybook/react": "^8.5.0",
|
|
99
|
-
"@storybook/react-vite": "^8.5.0",
|
|
100
|
-
"@storybook/theming": "^8.5.0",
|
|
91
|
+
"@storybook/addon-a11y": "^10.2.8",
|
|
92
|
+
"@storybook/addon-docs": "^10.2.8",
|
|
93
|
+
"@storybook/addon-links": "^10.2.8",
|
|
94
|
+
"@storybook/react": "^10.2.8",
|
|
95
|
+
"@storybook/react-vite": "^10.2.8",
|
|
101
96
|
"@svgr/cli": "^8.1.0",
|
|
102
97
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
103
98
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
@@ -111,18 +106,18 @@
|
|
|
111
106
|
"@types/react-dom": "^18.0.11",
|
|
112
107
|
"@types/react-transition-group": "^4.4.11",
|
|
113
108
|
"@types/uuid": "^10.0.0",
|
|
114
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
115
|
-
"@typescript-eslint/parser": "^
|
|
116
|
-
"@vitejs/plugin-react": "^
|
|
117
|
-
"@vitest/coverage-v8": "^
|
|
109
|
+
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
110
|
+
"@typescript-eslint/parser": "^8.18.0",
|
|
111
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
112
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
118
113
|
"chromatic": "^13.1.4",
|
|
119
114
|
"color": "^4.2.3",
|
|
120
|
-
"eslint": "^
|
|
121
|
-
"eslint-plugin-
|
|
122
|
-
"eslint-plugin-react": "^
|
|
123
|
-
"eslint-plugin-react-
|
|
124
|
-
"eslint-plugin-
|
|
125
|
-
"
|
|
115
|
+
"eslint": "^9.15.0",
|
|
116
|
+
"eslint-plugin-react": "^7.37.0",
|
|
117
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
118
|
+
"eslint-plugin-react-refresh": "^0.5.0",
|
|
119
|
+
"eslint-plugin-storybook": "^10.2.8",
|
|
120
|
+
"globals": "^15.14.0",
|
|
126
121
|
"husky": "^9.1.6",
|
|
127
122
|
"jsdom": "^26.1.0",
|
|
128
123
|
"markdownlint-cli": "^0.41.0",
|
|
@@ -135,7 +130,8 @@
|
|
|
135
130
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
136
131
|
"sass": "^1.83.4",
|
|
137
132
|
"semantic-release": "^25.0.0",
|
|
138
|
-
"storybook": "^
|
|
133
|
+
"storybook": "^10.2.8",
|
|
134
|
+
"storybook-addon-pseudo-states": "^10.2.8",
|
|
139
135
|
"stylelint": "^16.8.1",
|
|
140
136
|
"stylelint-config-standard": "^36.0.1",
|
|
141
137
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
@@ -144,11 +140,12 @@
|
|
|
144
140
|
"ts-node": "^10.9.2",
|
|
145
141
|
"type-fest": "^4.27.0",
|
|
146
142
|
"typescript": "^5.5.4",
|
|
147
|
-
"
|
|
148
|
-
"vite
|
|
149
|
-
"vite-plugin-
|
|
150
|
-
"vite-
|
|
151
|
-
"
|
|
143
|
+
"typescript-eslint": "^8.18.0",
|
|
144
|
+
"vite": "^7.3.1",
|
|
145
|
+
"vite-plugin-dts": "^4.5.4",
|
|
146
|
+
"vite-plugin-svgr": "^4.5.0",
|
|
147
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
148
|
+
"vitest": "^4.0.18"
|
|
152
149
|
},
|
|
153
150
|
"peerDependencies": {
|
|
154
151
|
"react": "^18.3.1",
|