@phillips/seldon 1.59.0 → 1.60.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/components/Accordion/Accordion.js +2 -2
- package/dist/components/Accordion/AccordionItem.js +4 -4
- package/dist/components/Button/Button.js +7 -7
- package/dist/components/Carousel/Carousel.d.ts +52 -0
- package/dist/components/Carousel/Carousel.js +72 -0
- package/dist/components/Carousel/CarouselContent.d.ts +19 -0
- package/dist/components/Carousel/CarouselContent.js +33 -0
- package/dist/components/Carousel/CarouselDots.d.ts +26 -0
- package/dist/components/Carousel/CarouselDots.js +75 -0
- package/dist/components/Carousel/CarouselItem.d.ts +11 -0
- package/dist/components/Carousel/CarouselItem.js +25 -0
- package/dist/components/Carousel/index.d.ts +4 -0
- package/dist/components/Carousel/utils.d.ts +8 -0
- package/dist/components/Carousel/utils.js +11 -0
- package/dist/components/ContentPeek/ContentPeek.js +5 -5
- package/dist/components/Drawer/Drawer.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +3 -3
- package/dist/components/Grid/Grid.js +3 -3
- package/dist/components/Grid/utils.js +4 -4
- package/dist/components/GridItem/GridItem.js +8 -8
- package/dist/components/IconButton/IconButton.js +2 -2
- package/dist/components/Link/Link.js +6 -6
- package/dist/components/LinkList/LinkList.js +5 -5
- package/dist/components/Navigation/Navigation.js +4 -4
- package/dist/components/Navigation/NavigationList/NavigationList.js +3 -3
- package/dist/components/PageContentWrapper/PageContentWrapper.js +4 -4
- package/dist/components/Pagination/Pagination.js +6 -6
- package/dist/components/Row/Row.js +4 -4
- package/dist/components/Search/Search.js +7 -7
- package/dist/components/SplitPanel/SplitPanel.js +2 -2
- package/dist/components/Video/Video.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +42 -34
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1198 -0
- package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +24 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +35 -0
- package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +91 -0
- package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +269 -0
- package/dist/patterns/LanguageSelector/LanguageSelector.js +4 -4
- package/dist/patterns/Social/Social.js +5 -5
- package/dist/patterns/Subscribe/Subscribe.js +7 -7
- package/dist/patterns/UserManagement/UserManagement.js +2 -2
- package/dist/patterns/ViewingsList/ViewingsList.js +10 -10
- package/dist/patterns/ViewingsList/ViewingsListCard.js +12 -12
- package/dist/patterns/ViewingsList/ViewingsListCardForm.js +6 -6
- package/dist/scss/_reset.scss +2 -0
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Carousel/_carousel.scss +84 -0
- package/dist/scss/components/IconButton/_iconButton.scss +2 -2
- package/dist/scss/components/Input/_input.scss +1 -0
- package/dist/scss/components/Modal/_modal.scss +1 -0
- package/dist/scss/components/Pagination/_pagination.scss +1 -1
- package/dist/site-furniture/Footer/Footer.js +2 -2
- package/dist/site-furniture/Header/Header.js +4 -4
- package/package.json +3 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@use '../../allPartials' as *;
|
|
2
|
+
|
|
3
|
+
.#{$px}-carousel {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
&-content {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&-content-inner {
|
|
11
|
+
display: flex;
|
|
12
|
+
|
|
13
|
+
@each $spacing-size in $spacing-sizes {
|
|
14
|
+
&--gap-#{$spacing-size} {
|
|
15
|
+
margin-left: calc(-1 * var(--spacing-#{$spacing-size}));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-item {
|
|
21
|
+
flex: 0 0 100%;
|
|
22
|
+
min-width: 0;
|
|
23
|
+
|
|
24
|
+
@each $spacing-size in $spacing-sizes {
|
|
25
|
+
&--gap-#{$spacing-size} {
|
|
26
|
+
padding-left: var(--spacing-#{$spacing-size});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-pagination {
|
|
32
|
+
align-items: center;
|
|
33
|
+
display: flex;
|
|
34
|
+
gap: 12px;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
margin-top: 1rem;
|
|
37
|
+
|
|
38
|
+
button {
|
|
39
|
+
background: none;
|
|
40
|
+
border: none;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-on-content {
|
|
45
|
+
bottom: 16px;
|
|
46
|
+
left: 50%;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
position: absolute;
|
|
49
|
+
transform: translateX(-50%);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-container {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-container-inner {
|
|
59
|
+
display: flex;
|
|
60
|
+
gap: 12px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&-dot-container {
|
|
64
|
+
align-items: center;
|
|
65
|
+
display: flex;
|
|
66
|
+
height: 8px;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
padding: 0;
|
|
69
|
+
width: 8px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&-dot {
|
|
73
|
+
border: 1px solid #adadad;
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
height: 100%;
|
|
76
|
+
width: 100%;
|
|
77
|
+
|
|
78
|
+
&-selected {
|
|
79
|
+
background-color: #525050;
|
|
80
|
+
border-color: #525050;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -4,7 +4,7 @@ import { px as r, defaultYear as m } from "../../utils/index.js";
|
|
|
4
4
|
import f from "../../assets/PhillipsLogo.svg.js";
|
|
5
5
|
import { TextVariants as c } from "../../components/Text/types.js";
|
|
6
6
|
import d from "../../components/Text/Text.js";
|
|
7
|
-
const
|
|
7
|
+
const N = ({
|
|
8
8
|
children: a,
|
|
9
9
|
className: i,
|
|
10
10
|
copyright: s = `© ${m} Phillips Auctioneers, LLC`,
|
|
@@ -17,5 +17,5 @@ const $ = ({
|
|
|
17
17
|
] })
|
|
18
18
|
] });
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
N as default
|
|
21
21
|
};
|
|
@@ -18,8 +18,8 @@ const I = O(R), L = T(
|
|
|
18
18
|
logoText: x = "Home Page",
|
|
19
19
|
...C
|
|
20
20
|
}, y) => {
|
|
21
|
-
const E = s(r, p), m = s(r, g), [c, M] = h(!1),
|
|
22
|
-
|
|
21
|
+
const E = s(r, p), m = s(r, g), [c, M] = h(!1), N = s(r, f), $ = P(r, [f, p, g]), [n, b] = h(!1), S = n ? v : _, H = function() {
|
|
22
|
+
b((t) => !t);
|
|
23
23
|
};
|
|
24
24
|
return /* @__PURE__ */ o("header", { ...C, className: d(`${e}-header`, u), ref: y, children: [
|
|
25
25
|
/* @__PURE__ */ o("div", { className: `${e}-header__top-row`, children: [
|
|
@@ -53,7 +53,7 @@ const I = O(R), L = T(
|
|
|
53
53
|
},
|
|
54
54
|
children: [
|
|
55
55
|
l.Children.map(
|
|
56
|
-
|
|
56
|
+
N,
|
|
57
57
|
(t) => l.isValidElement(t) ? l.cloneElement(t, {
|
|
58
58
|
children: [
|
|
59
59
|
...l.Children.toArray(t.props.children),
|
|
@@ -61,7 +61,7 @@ const I = O(R), L = T(
|
|
|
61
61
|
]
|
|
62
62
|
}) : t
|
|
63
63
|
),
|
|
64
|
-
|
|
64
|
+
$
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
67
|
) }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.60.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/PhillipsAuctionHouse/seldon"
|
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
"change-case": "^5.4.4",
|
|
50
50
|
"classnames": "^2.5.1",
|
|
51
51
|
"dompurify": "^3.1.6",
|
|
52
|
+
"embla-carousel-react": "^8.3.0",
|
|
53
|
+
"embla-carousel-wheel-gestures": "^8.0.1",
|
|
52
54
|
"flatpickr": "^4.6.13",
|
|
53
55
|
"html-react-parser": "^5.1.12",
|
|
54
56
|
"react-modal": "^3.16.1",
|