@phillips/seldon 1.249.0 → 1.250.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/index10.js +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/assets/formatted/Account.js +15 -11
- package/dist/assets/formatted/AccountActive.js +17 -13
- package/dist/assets/formatted/Add.js +18 -14
- package/dist/assets/formatted/AdminCheck.js +19 -15
- package/dist/assets/formatted/AdminChevronLeft.js +17 -13
- package/dist/assets/formatted/AdminChevronRight.js +19 -15
- package/dist/assets/formatted/AdminChevronUp.js +18 -14
- package/dist/assets/formatted/AdminClose.js +20 -16
- package/dist/assets/formatted/AdminFullscreen.js +19 -21
- package/dist/assets/formatted/AdminFullscreenExit.js +19 -15
- package/dist/assets/formatted/AdminGavel.js +22 -18
- package/dist/assets/formatted/AdminHome.js +19 -15
- package/dist/assets/formatted/AdminLiveOnline.js +20 -16
- package/dist/assets/formatted/AdminPencil.js +18 -14
- package/dist/assets/formatted/AdminPerson.js +16 -12
- package/dist/assets/formatted/AdminPlay.js +19 -15
- package/dist/assets/formatted/AdminSearch.js +20 -16
- package/dist/assets/formatted/AdminTelephone.js +17 -13
- package/dist/assets/formatted/AppleAppStoreBadge.js +19 -15
- package/dist/assets/formatted/ArrowDown.js +16 -12
- package/dist/assets/formatted/ArrowLeft.js +16 -12
- package/dist/assets/formatted/ArrowRight.js +17 -13
- package/dist/assets/formatted/ArrowUp.js +18 -14
- package/dist/assets/formatted/Bag.js +18 -14
- package/dist/assets/formatted/Calendar.js +17 -13
- package/dist/assets/formatted/ChevronDown.js +17 -13
- package/dist/assets/formatted/ChevronLeft.js +17 -13
- package/dist/assets/formatted/ChevronRight.js +19 -15
- package/dist/assets/formatted/ChevronUp.js +17 -13
- package/dist/assets/formatted/Clock.js +18 -14
- package/dist/assets/formatted/CloseX.js +14 -10
- package/dist/assets/formatted/ConditionReport.js +19 -15
- package/dist/assets/formatted/Delete.js +20 -16
- package/dist/assets/formatted/Download.js +18 -14
- package/dist/assets/formatted/Edit.js +20 -16
- package/dist/assets/formatted/Email.js +19 -15
- package/dist/assets/formatted/Error.js +20 -16
- package/dist/assets/formatted/ExternalLink.js +16 -12
- package/dist/assets/formatted/Facebook.js +18 -14
- package/dist/assets/formatted/Favorite.js +17 -13
- package/dist/assets/formatted/FavoriteActive.js +17 -15
- package/dist/assets/formatted/Filters.js +19 -15
- package/dist/assets/formatted/Fullscreen.js +17 -13
- package/dist/assets/formatted/FullscreenExit.js +17 -13
- package/dist/assets/formatted/Gavel.js +19 -15
- package/dist/assets/formatted/GavelActive.js +18 -14
- package/dist/assets/formatted/Grid.js +16 -12
- package/dist/assets/formatted/Hide.js +20 -16
- package/dist/assets/formatted/Home.js +17 -13
- package/dist/assets/formatted/HomeActive.js +17 -13
- package/dist/assets/formatted/Icon.js +19 -15
- package/dist/assets/formatted/IconBlueCircle.js +18 -14
- package/dist/assets/formatted/IconGreenCircle.js +17 -13
- package/dist/assets/formatted/IconOrangeCircle.js +18 -14
- package/dist/assets/formatted/IconRedCircle.js +17 -13
- package/dist/assets/formatted/ImageUnavailable.js +23 -112
- package/dist/assets/formatted/Instagram.js +20 -16
- package/dist/assets/formatted/LinkedIn.js +19 -15
- package/dist/assets/formatted/List.js +20 -16
- package/dist/assets/formatted/LiveNow.js +17 -17
- package/dist/assets/formatted/Lock.js +19 -15
- package/dist/assets/formatted/MagnificentSeven.js +21 -17
- package/dist/assets/formatted/Menu.js +17 -13
- package/dist/assets/formatted/Mute.js +22 -18
- package/dist/assets/formatted/Pause.js +16 -12
- package/dist/assets/formatted/PhillipsAppIcon.js +21 -17
- package/dist/assets/formatted/PhillipsLogo.js +17 -13
- package/dist/assets/formatted/Play.js +18 -14
- package/dist/assets/formatted/Red.js +13 -9
- package/dist/assets/formatted/Refresh.js +17 -13
- package/dist/assets/formatted/Search.js +19 -14
- package/dist/assets/formatted/Sell.js +19 -15
- package/dist/assets/formatted/SellActive.js +19 -15
- package/dist/assets/formatted/Share.js +15 -11
- package/dist/assets/formatted/Subtract.js +19 -15
- package/dist/assets/formatted/Success.js +16 -12
- package/dist/assets/formatted/Tooltip.js +21 -17
- package/dist/assets/formatted/TwitterX.js +19 -15
- package/dist/assets/formatted/Upload.js +16 -12
- package/dist/assets/formatted/View.js +15 -11
- package/dist/assets/formatted/VolumeMaximum.js +17 -13
- package/dist/assets/formatted/VolumeMid.js +21 -17
- package/dist/assets/formatted/VolumeMinimum.js +19 -15
- package/dist/assets/formatted/WeChat.js +19 -15
- package/dist/assets/pictograms/formatted/Chat.js +22 -18
- package/dist/assets/pictograms/formatted/CreditCard.js +20 -16
- package/dist/assets/pictograms/formatted/Form.js +19 -15
- package/dist/assets/pictograms/formatted/Live.js +17 -13
- package/dist/assets/pictograms/formatted/MobilePhone.js +18 -14
- package/dist/assets/pictograms/formatted/Notification.js +21 -17
- package/dist/assets/pictograms/formatted/Phone.js +25 -21
- package/dist/assets/pictograms/formatted/Photos.js +21 -17
- package/dist/assets/pictograms/formatted/Search.js +18 -14
- package/dist/assets/pictograms/formatted/Shipping.js +17 -13
- package/dist/assets/pictograms/formatted/Sign.js +16 -12
- package/dist/assets/pictograms/formatted/Submit.js +21 -17
- package/dist/assets/pictograms/formatted/Timer.js +21 -17
- package/dist/assets/pictograms/formatted/Verification.js +22 -18
- package/dist/components/AddToCalendar/AddToCalendar.js +5 -5
- package/dist/components/Carousel/Carousel.js +74 -74
- package/dist/components/Carousel/CarouselArrows.js +25 -23
- package/dist/components/Carousel/CarouselDot.js +1 -1
- package/dist/components/Carousel/CarouselDots.js +27 -25
- package/dist/components/Carousel/CarouselItem.js +16 -16
- package/dist/components/ComboBox/ComboBox.js +48 -44
- package/dist/components/ComboBox/ComboBox.stories.d.ts +10 -0
- package/dist/components/Dropdown/Dropdown.js +3 -3
- package/dist/components/FavoritingTileButton/FavoritingTileButton.js +13 -14
- package/dist/components/IconButton/IconButton.js +16 -15
- package/dist/components/SeldonImage/SeldonImage.stories.d.ts +5 -0
- package/dist/components/Toast/Toast.stories.d.ts +8 -0
- package/dist/components/Video/Video.d.ts +4 -0
- package/dist/components/Video/Video.js +12 -11
- package/dist/node_modules/ics/dist/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/scss/components/Countdown/_countdown.scss +1 -1
- package/dist/scss/pages/_page.scss +4 -4
- package/package.json +10 -5
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { kebabCase as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const { color:
|
|
7
|
-
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as m, forwardRef as n } from "react";
|
|
3
|
+
import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
|
|
4
|
+
const u = m(
|
|
5
|
+
n((e, i) => {
|
|
6
|
+
const { color: o, height: r, width: s, title: l, titleId: d } = e, a = d || f(l || ""), h = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ c(
|
|
8
12
|
"svg",
|
|
9
13
|
{
|
|
10
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
15
|
fill: "none",
|
|
12
16
|
viewBox: "0 0 64 64",
|
|
13
17
|
height: r,
|
|
14
|
-
width:
|
|
18
|
+
width: s,
|
|
15
19
|
role: "img",
|
|
16
|
-
ref:
|
|
17
|
-
"aria-labelledby":
|
|
18
|
-
...
|
|
20
|
+
ref: i,
|
|
21
|
+
"aria-labelledby": a,
|
|
22
|
+
...h,
|
|
19
23
|
children: [
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
24
|
+
l ? /* @__PURE__ */ t("title", { id: a, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ t("path", { fill: o, d: "M40.667 20.333a2.667 2.667 0 1 0 0-5.333 2.667 2.667 0 0 0 0 5.333" }),
|
|
26
|
+
/* @__PURE__ */ t(
|
|
23
27
|
"path",
|
|
24
28
|
{
|
|
25
|
-
fill:
|
|
29
|
+
fill: o,
|
|
26
30
|
fillRule: "evenodd",
|
|
27
31
|
d: "M54 4H4v50h50zm-3 3H7v22.572l11.084-14.483L31.486 35.19l10.373-12.047L51 37.77zM7 51V34.508l10.916-14.263 11.682 17.523a2.167 2.167 0 0 0 3.445.212l8.431-9.791L51 43.43V51z",
|
|
28
32
|
clipRule: "evenodd"
|
|
29
33
|
}
|
|
30
34
|
),
|
|
31
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ t("path", { fill: o, d: "M55.5 13.5v3H57V57H14.5v-1.5h-3V60H60V13.5z" })
|
|
32
36
|
]
|
|
33
37
|
}
|
|
34
38
|
);
|
|
35
39
|
})
|
|
36
40
|
);
|
|
37
41
|
export {
|
|
38
|
-
|
|
42
|
+
u as default
|
|
39
43
|
};
|
|
@@ -1,34 +1,38 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import { memo as
|
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as h, forwardRef as n } from "react";
|
|
3
3
|
import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
|
|
4
|
-
const g =
|
|
5
|
-
|
|
6
|
-
const { color:
|
|
4
|
+
const g = h(
|
|
5
|
+
n((e, r) => {
|
|
6
|
+
const { color: o, height: s, width: i, title: l, titleId: d } = e, a = d || f(l || ""), c = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
7
11
|
return /* @__PURE__ */ m(
|
|
8
12
|
"svg",
|
|
9
13
|
{
|
|
10
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
15
|
fill: "none",
|
|
12
16
|
viewBox: "0 0 64 64",
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
17
|
+
height: s,
|
|
18
|
+
width: i,
|
|
15
19
|
role: "img",
|
|
16
20
|
ref: r,
|
|
17
|
-
"aria-labelledby":
|
|
18
|
-
...
|
|
21
|
+
"aria-labelledby": a,
|
|
22
|
+
...c,
|
|
19
23
|
children: [
|
|
20
|
-
l ? /* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
24
|
+
l ? /* @__PURE__ */ t("title", { id: a, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ t(
|
|
22
26
|
"path",
|
|
23
27
|
{
|
|
24
|
-
fill:
|
|
28
|
+
fill: o,
|
|
25
29
|
d: "M16.02 30.85a10.485 10.485 0 0 1 4.988-17.679l-.57-2.448a13 13 0 0 0-6.03 3.258 13 13 0 0 0-.153 18.658z"
|
|
26
30
|
}
|
|
27
31
|
),
|
|
28
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ t(
|
|
29
33
|
"path",
|
|
30
34
|
{
|
|
31
|
-
fill:
|
|
35
|
+
fill: o,
|
|
32
36
|
fillRule: "evenodd",
|
|
33
37
|
d: "M23 41c9.941 0 18-8.059 18-18S32.941 5 23 5 5 13.059 5 23s8.059 18 18 18m0-3c8.284 0 15-6.716 15-15S31.284 8 23 8 8 14.716 8 23s6.716 15 15 15M36.397 38.427s.568-.493 1.098-1.023 1.024-1.098 1.024-1.098l5.344 5.344 1.65-1.65L58.24 52.728l-5.657 5.657-12.728-12.728 1.885-1.886zm9.116 5.816-1.415 1.414 8.486 8.485 1.414-1.414z",
|
|
34
38
|
clipRule: "evenodd"
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { kebabCase as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const { color:
|
|
1
|
+
import { jsxs as m, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { memo as c, forwardRef as n } from "react";
|
|
3
|
+
import { kebabCase as p } from "../../../node_modules/change-case/dist/index.js";
|
|
4
|
+
const g = c(
|
|
5
|
+
n((e, o) => {
|
|
6
|
+
const { color: i, height: h, width: r, title: l, titleId: s } = e, t = s || p(l || ""), d = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
7
11
|
return /* @__PURE__ */ m(
|
|
8
12
|
"svg",
|
|
9
13
|
{
|
|
10
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
15
|
fill: "none",
|
|
12
16
|
viewBox: "0 0 64 64",
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
17
|
+
height: h,
|
|
18
|
+
width: r,
|
|
15
19
|
role: "img",
|
|
16
20
|
ref: o,
|
|
17
21
|
"aria-labelledby": t,
|
|
18
|
-
...
|
|
22
|
+
...d,
|
|
19
23
|
children: [
|
|
20
|
-
l ? /* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
24
|
+
l ? /* @__PURE__ */ a("title", { id: t, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ a(
|
|
22
26
|
"path",
|
|
23
27
|
{
|
|
24
|
-
fill:
|
|
28
|
+
fill: i,
|
|
25
29
|
fillRule: "evenodd",
|
|
26
30
|
d: "M6 11h38v13h12.097l3.776 12.578a3 3 0 0 1 .127.863V46H49.981q.02.248.019.5a6.5 6.5 0 1 1-12.981-.5H21.98q.02.248.019.5A6.5 6.5 0 1 1 9.019 46H4v-6h2zm4.022 32a6.5 6.5 0 0 1 5.478-3 6.5 6.5 0 0 1 5.478 3h17.044A6.52 6.52 0 0 1 41 40.498V14H9v29zM57 43h-8.022A6.5 6.5 0 0 0 44 40.019V27h4.5v10.5H57zm-5.5-8.5V27h2.403l2.597 7.5zM23 20H11v3h12zm-6 6h-6v3h6zm26.5 24a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7M19 46.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0",
|
|
27
31
|
clipRule: "evenodd"
|
|
@@ -33,5 +37,5 @@ const w = n(
|
|
|
33
37
|
})
|
|
34
38
|
);
|
|
35
39
|
export {
|
|
36
|
-
|
|
40
|
+
g as default
|
|
37
41
|
};
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import { memo as
|
|
1
|
+
import { jsxs as m, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { memo as n, forwardRef as h } from "react";
|
|
3
3
|
import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const { color:
|
|
4
|
+
const u = n(
|
|
5
|
+
h((e, o) => {
|
|
6
|
+
const { color: i, height: r, width: s, title: l, titleId: d } = e, t = d || f(l || ""), c = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
7
11
|
return /* @__PURE__ */ m(
|
|
8
12
|
"svg",
|
|
9
13
|
{
|
|
10
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
15
|
fill: "none",
|
|
12
16
|
viewBox: "0 0 64 64",
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
17
|
+
height: r,
|
|
18
|
+
width: s,
|
|
15
19
|
role: "img",
|
|
16
20
|
ref: o,
|
|
17
21
|
"aria-labelledby": t,
|
|
18
|
-
...
|
|
22
|
+
...c,
|
|
19
23
|
children: [
|
|
20
|
-
l ? /* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
24
|
+
l ? /* @__PURE__ */ a("title", { id: t, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ a(
|
|
22
26
|
"path",
|
|
23
27
|
{
|
|
24
|
-
fill:
|
|
28
|
+
fill: i,
|
|
25
29
|
fillRule: "evenodd",
|
|
26
30
|
d: "m53.668 23.516 4.067-4.067a3.333 3.333 0 0 0 0-4.714l-9.428-9.428a3.333 3.333 0 0 0-4.714 0l-4.067 4.067a.5.5 0 0 0-.212.004L26.862 12.32a.5.5 0 0 0-.341.282L7.54 54.8a.5.5 0 0 0 .66.66l42.239-18.94a.5.5 0 0 0 .282-.342l2.943-12.452a.5.5 0 0 0 .004-.211M46.185 7.428l9.429 9.428c.13.13.13.341 0 .472l-3.772 3.77-9.9-9.899 3.772-3.77c.13-.131.341-.131.471 0m1.9 26.86-31.288 14.03 14.898-14.897-2.122-2.121-14.855 14.855L28.75 14.957l9.897-2.339 11.775 11.776z",
|
|
27
31
|
clipRule: "evenodd"
|
|
@@ -33,5 +37,5 @@ const g = s(
|
|
|
33
37
|
})
|
|
34
38
|
);
|
|
35
39
|
export {
|
|
36
|
-
|
|
40
|
+
u as default
|
|
37
41
|
};
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { kebabCase as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const { color:
|
|
7
|
-
|
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as n, forwardRef as h } from "react";
|
|
3
|
+
import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
|
|
4
|
+
const v = n(
|
|
5
|
+
h((e, a) => {
|
|
6
|
+
const { color: o, height: r, width: s, title: l, titleId: d } = e, i = d || f(l || ""), c = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ m(
|
|
8
12
|
"svg",
|
|
9
13
|
{
|
|
10
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
15
|
fill: "none",
|
|
12
16
|
viewBox: "0 0 64 64",
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
17
|
+
height: r,
|
|
18
|
+
width: s,
|
|
15
19
|
role: "img",
|
|
16
|
-
ref:
|
|
17
|
-
"aria-labelledby":
|
|
18
|
-
...
|
|
20
|
+
ref: a,
|
|
21
|
+
"aria-labelledby": i,
|
|
22
|
+
...c,
|
|
19
23
|
children: [
|
|
20
|
-
l ? /* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
24
|
+
l ? /* @__PURE__ */ t("title", { id: i, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ t("path", { fill: o, d: "m40.07 23 2.122 2.121-7.07 7.071L33 30.072z" }),
|
|
26
|
+
/* @__PURE__ */ t(
|
|
23
27
|
"path",
|
|
24
28
|
{
|
|
25
|
-
fill:
|
|
29
|
+
fill: o,
|
|
26
30
|
fillRule: "evenodd",
|
|
27
31
|
d: "M2.824 29.078 56.93 7.096l-8.964 52.662-11.069-11.99L27.5 57.792V38.051zM30.5 40.837v9.37l4.358-4.649zM11.176 28.922l18.184 6.613c.325.118.617.313.852.567l15.821 17.14 7.036-41.339z",
|
|
28
32
|
clipRule: "evenodd"
|
|
@@ -34,5 +38,5 @@ const u = a(
|
|
|
34
38
|
})
|
|
35
39
|
);
|
|
36
40
|
export {
|
|
37
|
-
|
|
41
|
+
v as default
|
|
38
42
|
};
|
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as m, forwardRef as n } from "react";
|
|
3
3
|
import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const { color:
|
|
7
|
-
|
|
4
|
+
const u = m(
|
|
5
|
+
n((e, a) => {
|
|
6
|
+
const { color: o, height: r, width: s, title: l, titleId: d } = e, i = d || f(l || ""), h = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ c(
|
|
8
12
|
"svg",
|
|
9
13
|
{
|
|
10
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
15
|
fill: "none",
|
|
12
16
|
viewBox: "0 0 64 64",
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
17
|
+
height: r,
|
|
18
|
+
width: s,
|
|
15
19
|
role: "img",
|
|
16
|
-
ref:
|
|
17
|
-
"aria-labelledby":
|
|
18
|
-
...
|
|
20
|
+
ref: a,
|
|
21
|
+
"aria-labelledby": i,
|
|
22
|
+
...h,
|
|
19
23
|
children: [
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
24
|
+
l ? /* @__PURE__ */ t("title", { id: i, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ t("path", { fill: o, d: "M33.5 23h-3v9H29v6h6v-1.5h13v-3H35V32h-1.5z" }),
|
|
26
|
+
/* @__PURE__ */ t(
|
|
23
27
|
"path",
|
|
24
28
|
{
|
|
25
|
-
fill:
|
|
29
|
+
fill: o,
|
|
26
30
|
fillRule: "evenodd",
|
|
27
31
|
d: "M57 35c0 13.807-11.193 25-25 25S7 48.807 7 35s11.193-25 25-25 25 11.193 25 25m-3 0c0 12.15-9.85 22-22 22s-22-9.85-22-22 9.85-22 22-22 22 9.85 22 22",
|
|
28
32
|
clipRule: "evenodd"
|
|
29
33
|
}
|
|
30
34
|
),
|
|
31
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ t("path", { fill: o, d: "M25 4h14v3h-5.5v1.667h-3V7H25zM16.364 13.121 14.243 11 10 15.243l2.121 2.121z" })
|
|
32
36
|
]
|
|
33
37
|
}
|
|
34
38
|
);
|
|
35
39
|
})
|
|
36
40
|
);
|
|
37
41
|
export {
|
|
38
|
-
|
|
42
|
+
u as default
|
|
39
43
|
};
|
|
@@ -1,29 +1,33 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { kebabCase as
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const { color:
|
|
7
|
-
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { memo as n, forwardRef as m } from "react";
|
|
3
|
+
import { kebabCase as f } from "../../../node_modules/change-case/dist/index.js";
|
|
4
|
+
const w = n(
|
|
5
|
+
m((e, a) => {
|
|
6
|
+
const { color: o, height: d, width: r, title: l, titleId: h } = e, i = h || f(l || ""), s = !!(l || e["aria-label"]) ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
"aria-hidden": !0,
|
|
9
|
+
role: "presentation"
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ c(
|
|
8
12
|
"svg",
|
|
9
13
|
{
|
|
10
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
15
|
fill: "none",
|
|
12
16
|
viewBox: "0 0 64 64",
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
17
|
+
height: d,
|
|
18
|
+
width: r,
|
|
15
19
|
role: "img",
|
|
16
|
-
ref:
|
|
17
|
-
"aria-labelledby":
|
|
18
|
-
...
|
|
20
|
+
ref: a,
|
|
21
|
+
"aria-labelledby": i,
|
|
22
|
+
...s,
|
|
19
23
|
children: [
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
+
l ? /* @__PURE__ */ t("title", { id: i, children: l }) : null,
|
|
25
|
+
/* @__PURE__ */ t("path", { fill: o, fillRule: "evenodd", d: "M10 29V17h12v12zm3-9h6v6h-6z", clipRule: "evenodd" }),
|
|
26
|
+
/* @__PURE__ */ t("path", { fill: o, d: "M26 18h19v3H26zM26 24h19v3H26zM55.121 37.5 46 46.621 40.879 41.5 43 39.379l3 3 7-7z" }),
|
|
27
|
+
/* @__PURE__ */ t(
|
|
24
28
|
"path",
|
|
25
29
|
{
|
|
26
|
-
fill:
|
|
30
|
+
fill: o,
|
|
27
31
|
fillRule: "evenodd",
|
|
28
32
|
d: "M4 43h32.166c.952 5.675 5.888 10 11.834 10 6.627 0 12-5.373 12-12 0-4.843-2.869-9.016-7-10.912V11H4zm46-13.834V14H7v20h31.252c2.178-3.028 5.733-5 9.748-5q1.023.001 2 .166M36.683 37H7v3h29.041a12 12 0 0 1 .642-3M48 50a9 9 0 1 0 0-18 9 9 0 0 0 0 18",
|
|
29
33
|
clipRule: "evenodd"
|
|
@@ -35,5 +39,5 @@ const u = f(
|
|
|
35
39
|
})
|
|
36
40
|
);
|
|
37
41
|
export {
|
|
38
|
-
|
|
42
|
+
w as default
|
|
39
43
|
};
|
|
@@ -10,9 +10,9 @@ import P from "../Link/Link.js";
|
|
|
10
10
|
import { generateGoogleCalendarLink as $, generateOutlookOnlineLink as w, generateYahooCalendarLink as R, generateCalendarFile as S } from "./calendarLinks.js";
|
|
11
11
|
import j from "../IconButton/IconButton.js";
|
|
12
12
|
const G = b(
|
|
13
|
-
({ className:
|
|
14
|
-
const { className: l, ...m } = g(
|
|
15
|
-
e === "file" ? S(o) : e === "link" &&
|
|
13
|
+
({ className: s, event: o, label: n = "Add to calendar", linkElement: d = P, ...t }, c) => {
|
|
14
|
+
const { className: l, ...m } = g(t, "AddToCalendar"), [i, f] = h(!1), k = (e, r) => {
|
|
15
|
+
e === "file" ? S(o) : e === "link" && r && window.open(r, "_blank");
|
|
16
16
|
}, p = [
|
|
17
17
|
{ label: "iCalendar", action: "file" },
|
|
18
18
|
{ label: "Google Calendar", action: "link", link: $(o) },
|
|
@@ -20,8 +20,8 @@ const G = b(
|
|
|
20
20
|
{ label: "Outlook Online", action: "link", link: w(o) },
|
|
21
21
|
{ label: "Yahoo Calendar", action: "link", link: R(o) }
|
|
22
22
|
];
|
|
23
|
-
return /* @__PURE__ */ a("div", { ...m, className: u(l,
|
|
24
|
-
/* @__PURE__ */ a(I, { asChild: !0, children: /* @__PURE__ */ a(j, { children: /* @__PURE__ */ a(L, { icon:
|
|
23
|
+
return /* @__PURE__ */ a("div", { ...m, className: u(l, s), ...t, ref: c, children: /* @__PURE__ */ C(O, { open: i, onOpenChange: f, children: [
|
|
24
|
+
/* @__PURE__ */ a(I, { asChild: !0, children: /* @__PURE__ */ a(j, { "aria-label": n, children: /* @__PURE__ */ a(L, { icon: i ? "CloseX" : "Calendar", title: n }) }) }),
|
|
25
25
|
/* @__PURE__ */ a(T, { children: /* @__PURE__ */ a(
|
|
26
26
|
x,
|
|
27
27
|
{
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { createContext as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as K, forwardRef as L, useState as u, useEffect as d, useCallback as p } from "react";
|
|
3
3
|
import { getCommonProps as W } from "../../utils/index.js";
|
|
4
4
|
import j from "../../_virtual/index.js";
|
|
5
5
|
import B from "../../node_modules/embla-carousel-class-names/esm/embla-carousel-class-names.esm.js";
|
|
6
6
|
import G from "../../node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js";
|
|
7
|
-
import { WheelGesturesPlugin as
|
|
8
|
-
const
|
|
7
|
+
import { WheelGesturesPlugin as q } from "../../node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js";
|
|
8
|
+
const z = K(null), F = L(
|
|
9
9
|
({
|
|
10
|
-
element:
|
|
11
|
-
loop:
|
|
12
|
-
startIndex:
|
|
13
|
-
onSlideChange:
|
|
14
|
-
className:
|
|
15
|
-
children:
|
|
16
|
-
columnGap:
|
|
17
|
-
useWheelGestures:
|
|
18
|
-
disableDrag:
|
|
19
|
-
disableNavigationDrag:
|
|
20
|
-
inViewThreshold:
|
|
21
|
-
...
|
|
22
|
-
},
|
|
23
|
-
const
|
|
24
|
-
let
|
|
25
|
-
switch (
|
|
10
|
+
element: w,
|
|
11
|
+
loop: x = !1,
|
|
12
|
+
startIndex: v = 0,
|
|
13
|
+
onSlideChange: r,
|
|
14
|
+
className: N,
|
|
15
|
+
children: C,
|
|
16
|
+
columnGap: b,
|
|
17
|
+
useWheelGestures: h = !1,
|
|
18
|
+
disableDrag: i = !1,
|
|
19
|
+
disableNavigationDrag: g = null,
|
|
20
|
+
inViewThreshold: k = 0.99,
|
|
21
|
+
...c
|
|
22
|
+
}, P) => {
|
|
23
|
+
const t = w || "div", f = t === "ul" || t === "ol", { className: D, ...S } = W(c, "Carousel");
|
|
24
|
+
let o = {};
|
|
25
|
+
switch (g) {
|
|
26
26
|
case "mobile":
|
|
27
|
-
|
|
27
|
+
o = { breakpoints: { "(max-width: 960px)": { watchDrag: !1 } } };
|
|
28
28
|
break;
|
|
29
29
|
case "desktop":
|
|
30
|
-
|
|
30
|
+
o = { breakpoints: { "(min-width: 961px)": { watchDrag: !1 } } };
|
|
31
31
|
break;
|
|
32
32
|
case "all":
|
|
33
|
-
|
|
33
|
+
o = { watchDrag: !1 };
|
|
34
34
|
break;
|
|
35
35
|
default:
|
|
36
|
-
|
|
36
|
+
o = {};
|
|
37
37
|
}
|
|
38
|
-
const [
|
|
38
|
+
const [E, I] = u(!1), [y, V] = u(!1), [A, e] = G(
|
|
39
39
|
{
|
|
40
|
-
loop:
|
|
41
|
-
startIndex:
|
|
42
|
-
inViewThreshold:
|
|
43
|
-
...
|
|
40
|
+
loop: x,
|
|
41
|
+
startIndex: v,
|
|
42
|
+
inViewThreshold: k,
|
|
43
|
+
...o
|
|
44
44
|
},
|
|
45
45
|
[
|
|
46
|
-
...
|
|
47
|
-
|
|
46
|
+
...h ? [
|
|
47
|
+
q({
|
|
48
48
|
forceWheelAxis: "x"
|
|
49
49
|
})
|
|
50
50
|
] : [],
|
|
@@ -53,72 +53,72 @@ const q = R(null), z = K(
|
|
|
53
53
|
})
|
|
54
54
|
]
|
|
55
55
|
);
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
d(() => {
|
|
57
|
+
i ? e?.reInit({
|
|
58
58
|
watchDrag: () => !1
|
|
59
59
|
}) : e?.reInit({
|
|
60
60
|
watchDrag: () => !0
|
|
61
61
|
});
|
|
62
|
-
}, [
|
|
63
|
-
const
|
|
64
|
-
(
|
|
65
|
-
if (
|
|
66
|
-
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
} else if (
|
|
70
|
-
|
|
71
|
-
const
|
|
72
|
-
|
|
62
|
+
}, [i, e]);
|
|
63
|
+
const R = p(
|
|
64
|
+
(s) => {
|
|
65
|
+
if (s.key === "ArrowLeft") {
|
|
66
|
+
s.preventDefault(), e?.scrollPrev();
|
|
67
|
+
const l = e?.slideNodes().filter((n) => n === document.activeElement)[0]?.previousElementSibling;
|
|
68
|
+
l && l?.focus();
|
|
69
|
+
} else if (s.key === "ArrowRight") {
|
|
70
|
+
s.preventDefault(), e?.scrollNext();
|
|
71
|
+
const l = e?.slideNodes().filter((n) => n === document.activeElement)[0]?.nextElementSibling;
|
|
72
|
+
l && l?.focus();
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
[e]
|
|
76
|
-
),
|
|
77
|
-
(
|
|
78
|
-
if (!
|
|
79
|
-
I(
|
|
80
|
-
const
|
|
81
|
-
|
|
76
|
+
), a = p(
|
|
77
|
+
(s) => {
|
|
78
|
+
if (!s) return;
|
|
79
|
+
I(s?.canScrollPrev()), V(s?.canScrollNext());
|
|
80
|
+
const l = s.slidesInView()?.[0];
|
|
81
|
+
l !== void 0 && r?.(l);
|
|
82
82
|
},
|
|
83
|
-
[
|
|
83
|
+
[r]
|
|
84
84
|
);
|
|
85
|
-
return
|
|
85
|
+
return d(() => {
|
|
86
86
|
if (e)
|
|
87
|
-
return e.on("slidesInView",
|
|
88
|
-
e.off("slidesInView",
|
|
87
|
+
return e.on("slidesInView", a), () => {
|
|
88
|
+
e.off("slidesInView", a);
|
|
89
89
|
};
|
|
90
|
-
}, [e,
|
|
91
|
-
|
|
90
|
+
}, [e, a]), /* @__PURE__ */ m(
|
|
91
|
+
z.Provider,
|
|
92
92
|
{
|
|
93
93
|
value: {
|
|
94
|
-
carouselRef:
|
|
94
|
+
carouselRef: A,
|
|
95
95
|
api: e,
|
|
96
96
|
scrollPrev: () => e?.scrollPrev(),
|
|
97
97
|
scrollNext: () => e?.scrollNext(),
|
|
98
|
-
canScrollPrev:
|
|
99
|
-
canScrollNext:
|
|
100
|
-
columnGap:
|
|
101
|
-
onSlideChange:
|
|
98
|
+
canScrollPrev: E,
|
|
99
|
+
canScrollNext: y,
|
|
100
|
+
columnGap: b,
|
|
101
|
+
onSlideChange: r
|
|
102
102
|
},
|
|
103
|
-
children: /* @__PURE__ */
|
|
104
|
-
|
|
103
|
+
children: /* @__PURE__ */ m(
|
|
104
|
+
t,
|
|
105
105
|
{
|
|
106
|
-
ref:
|
|
107
|
-
onKeyDownCapture:
|
|
108
|
-
className: j(
|
|
109
|
-
role: "region",
|
|
110
|
-
"aria-roledescription": "carousel",
|
|
111
|
-
...
|
|
112
|
-
...
|
|
113
|
-
children:
|
|
106
|
+
ref: P,
|
|
107
|
+
onKeyDownCapture: R,
|
|
108
|
+
className: j(D, N),
|
|
109
|
+
role: f ? void 0 : "region",
|
|
110
|
+
"aria-roledescription": f ? void 0 : "carousel",
|
|
111
|
+
...c,
|
|
112
|
+
...S,
|
|
113
|
+
children: C
|
|
114
114
|
}
|
|
115
115
|
)
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
119
|
);
|
|
120
|
-
|
|
120
|
+
F.displayName = "Carousel";
|
|
121
121
|
export {
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
z as CarouselContext,
|
|
123
|
+
F as default
|
|
124
124
|
};
|