@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.
Files changed (120) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index9.js +2 -2
  3. package/dist/assets/formatted/Account.js +15 -11
  4. package/dist/assets/formatted/AccountActive.js +17 -13
  5. package/dist/assets/formatted/Add.js +18 -14
  6. package/dist/assets/formatted/AdminCheck.js +19 -15
  7. package/dist/assets/formatted/AdminChevronLeft.js +17 -13
  8. package/dist/assets/formatted/AdminChevronRight.js +19 -15
  9. package/dist/assets/formatted/AdminChevronUp.js +18 -14
  10. package/dist/assets/formatted/AdminClose.js +20 -16
  11. package/dist/assets/formatted/AdminFullscreen.js +19 -21
  12. package/dist/assets/formatted/AdminFullscreenExit.js +19 -15
  13. package/dist/assets/formatted/AdminGavel.js +22 -18
  14. package/dist/assets/formatted/AdminHome.js +19 -15
  15. package/dist/assets/formatted/AdminLiveOnline.js +20 -16
  16. package/dist/assets/formatted/AdminPencil.js +18 -14
  17. package/dist/assets/formatted/AdminPerson.js +16 -12
  18. package/dist/assets/formatted/AdminPlay.js +19 -15
  19. package/dist/assets/formatted/AdminSearch.js +20 -16
  20. package/dist/assets/formatted/AdminTelephone.js +17 -13
  21. package/dist/assets/formatted/AppleAppStoreBadge.js +19 -15
  22. package/dist/assets/formatted/ArrowDown.js +16 -12
  23. package/dist/assets/formatted/ArrowLeft.js +16 -12
  24. package/dist/assets/formatted/ArrowRight.js +17 -13
  25. package/dist/assets/formatted/ArrowUp.js +18 -14
  26. package/dist/assets/formatted/Bag.js +18 -14
  27. package/dist/assets/formatted/Calendar.js +17 -13
  28. package/dist/assets/formatted/ChevronDown.js +17 -13
  29. package/dist/assets/formatted/ChevronLeft.js +17 -13
  30. package/dist/assets/formatted/ChevronRight.js +19 -15
  31. package/dist/assets/formatted/ChevronUp.js +17 -13
  32. package/dist/assets/formatted/Clock.js +18 -14
  33. package/dist/assets/formatted/CloseX.js +14 -10
  34. package/dist/assets/formatted/ConditionReport.js +19 -15
  35. package/dist/assets/formatted/Delete.js +20 -16
  36. package/dist/assets/formatted/Download.js +18 -14
  37. package/dist/assets/formatted/Edit.js +20 -16
  38. package/dist/assets/formatted/Email.js +19 -15
  39. package/dist/assets/formatted/Error.js +20 -16
  40. package/dist/assets/formatted/ExternalLink.js +16 -12
  41. package/dist/assets/formatted/Facebook.js +18 -14
  42. package/dist/assets/formatted/Favorite.js +17 -13
  43. package/dist/assets/formatted/FavoriteActive.js +17 -15
  44. package/dist/assets/formatted/Filters.js +19 -15
  45. package/dist/assets/formatted/Fullscreen.js +17 -13
  46. package/dist/assets/formatted/FullscreenExit.js +17 -13
  47. package/dist/assets/formatted/Gavel.js +19 -15
  48. package/dist/assets/formatted/GavelActive.js +18 -14
  49. package/dist/assets/formatted/Grid.js +16 -12
  50. package/dist/assets/formatted/Hide.js +20 -16
  51. package/dist/assets/formatted/Home.js +17 -13
  52. package/dist/assets/formatted/HomeActive.js +17 -13
  53. package/dist/assets/formatted/Icon.js +19 -15
  54. package/dist/assets/formatted/IconBlueCircle.js +18 -14
  55. package/dist/assets/formatted/IconGreenCircle.js +17 -13
  56. package/dist/assets/formatted/IconOrangeCircle.js +18 -14
  57. package/dist/assets/formatted/IconRedCircle.js +17 -13
  58. package/dist/assets/formatted/ImageUnavailable.js +23 -112
  59. package/dist/assets/formatted/Instagram.js +20 -16
  60. package/dist/assets/formatted/LinkedIn.js +19 -15
  61. package/dist/assets/formatted/List.js +20 -16
  62. package/dist/assets/formatted/LiveNow.js +17 -17
  63. package/dist/assets/formatted/Lock.js +19 -15
  64. package/dist/assets/formatted/MagnificentSeven.js +21 -17
  65. package/dist/assets/formatted/Menu.js +17 -13
  66. package/dist/assets/formatted/Mute.js +22 -18
  67. package/dist/assets/formatted/Pause.js +16 -12
  68. package/dist/assets/formatted/PhillipsAppIcon.js +21 -17
  69. package/dist/assets/formatted/PhillipsLogo.js +17 -13
  70. package/dist/assets/formatted/Play.js +18 -14
  71. package/dist/assets/formatted/Red.js +13 -9
  72. package/dist/assets/formatted/Refresh.js +17 -13
  73. package/dist/assets/formatted/Search.js +19 -14
  74. package/dist/assets/formatted/Sell.js +19 -15
  75. package/dist/assets/formatted/SellActive.js +19 -15
  76. package/dist/assets/formatted/Share.js +15 -11
  77. package/dist/assets/formatted/Subtract.js +19 -15
  78. package/dist/assets/formatted/Success.js +16 -12
  79. package/dist/assets/formatted/Tooltip.js +21 -17
  80. package/dist/assets/formatted/TwitterX.js +19 -15
  81. package/dist/assets/formatted/Upload.js +16 -12
  82. package/dist/assets/formatted/View.js +15 -11
  83. package/dist/assets/formatted/VolumeMaximum.js +17 -13
  84. package/dist/assets/formatted/VolumeMid.js +21 -17
  85. package/dist/assets/formatted/VolumeMinimum.js +19 -15
  86. package/dist/assets/formatted/WeChat.js +19 -15
  87. package/dist/assets/pictograms/formatted/Chat.js +22 -18
  88. package/dist/assets/pictograms/formatted/CreditCard.js +20 -16
  89. package/dist/assets/pictograms/formatted/Form.js +19 -15
  90. package/dist/assets/pictograms/formatted/Live.js +17 -13
  91. package/dist/assets/pictograms/formatted/MobilePhone.js +18 -14
  92. package/dist/assets/pictograms/formatted/Notification.js +21 -17
  93. package/dist/assets/pictograms/formatted/Phone.js +25 -21
  94. package/dist/assets/pictograms/formatted/Photos.js +21 -17
  95. package/dist/assets/pictograms/formatted/Search.js +18 -14
  96. package/dist/assets/pictograms/formatted/Shipping.js +17 -13
  97. package/dist/assets/pictograms/formatted/Sign.js +16 -12
  98. package/dist/assets/pictograms/formatted/Submit.js +21 -17
  99. package/dist/assets/pictograms/formatted/Timer.js +21 -17
  100. package/dist/assets/pictograms/formatted/Verification.js +22 -18
  101. package/dist/components/AddToCalendar/AddToCalendar.js +5 -5
  102. package/dist/components/Carousel/Carousel.js +74 -74
  103. package/dist/components/Carousel/CarouselArrows.js +25 -23
  104. package/dist/components/Carousel/CarouselDot.js +1 -1
  105. package/dist/components/Carousel/CarouselDots.js +27 -25
  106. package/dist/components/Carousel/CarouselItem.js +16 -16
  107. package/dist/components/ComboBox/ComboBox.js +48 -44
  108. package/dist/components/ComboBox/ComboBox.stories.d.ts +10 -0
  109. package/dist/components/Dropdown/Dropdown.js +3 -3
  110. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +13 -14
  111. package/dist/components/IconButton/IconButton.js +16 -15
  112. package/dist/components/SeldonImage/SeldonImage.stories.d.ts +5 -0
  113. package/dist/components/Toast/Toast.stories.d.ts +8 -0
  114. package/dist/components/Video/Video.d.ts +4 -0
  115. package/dist/components/Video/Video.js +12 -11
  116. package/dist/node_modules/ics/dist/index.js +1 -1
  117. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  118. package/dist/scss/components/Countdown/_countdown.scss +1 -1
  119. package/dist/scss/pages/_page.scss +4 -4
  120. package/package.json +10 -5
@@ -1,39 +1,43 @@
1
- import { jsxs as n, jsx as l } from "react/jsx-runtime";
2
- import { memo as s, forwardRef as f } from "react";
3
- import { kebabCase as m } from "../../../node_modules/change-case/dist/index.js";
4
- const w = s(
5
- f((i, d) => {
6
- const { color: e, height: r, width: a, title: t, titleId: h } = i, o = h || m(t || "");
7
- return /* @__PURE__ */ n(
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: a,
18
+ width: s,
15
19
  role: "img",
16
- ref: d,
17
- "aria-labelledby": o,
18
- ...i,
20
+ ref: i,
21
+ "aria-labelledby": a,
22
+ ...h,
19
23
  children: [
20
- t ? /* @__PURE__ */ l("title", { id: o, children: t }) : null,
21
- /* @__PURE__ */ l("path", { fill: e, d: "M40.667 20.333a2.667 2.667 0 1 0 0-5.333 2.667 2.667 0 0 0 0 5.333" }),
22
- /* @__PURE__ */ l(
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: e,
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__ */ l("path", { fill: e, d: "M55.5 13.5v3H57V57H14.5v-1.5h-3V60H60V13.5z" })
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
- w as default
42
+ u as default
39
43
  };
@@ -1,34 +1,38 @@
1
- import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { memo as n, forwardRef as c } from "react";
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 = n(
5
- c((t, r) => {
6
- const { color: i, height: d, width: s, title: l, titleId: a } = t, o = a || f(l || "");
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: d,
14
- width: s,
17
+ height: s,
18
+ width: i,
15
19
  role: "img",
16
20
  ref: r,
17
- "aria-labelledby": o,
18
- ...t,
21
+ "aria-labelledby": a,
22
+ ...c,
19
23
  children: [
20
- l ? /* @__PURE__ */ e("title", { id: o, children: l }) : null,
21
- /* @__PURE__ */ e(
24
+ l ? /* @__PURE__ */ t("title", { id: a, children: l }) : null,
25
+ /* @__PURE__ */ t(
22
26
  "path",
23
27
  {
24
- fill: i,
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__ */ e(
32
+ /* @__PURE__ */ t(
29
33
  "path",
30
34
  {
31
- fill: i,
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 i } from "react/jsx-runtime";
2
- import { memo as n, forwardRef as s } from "react";
3
- import { kebabCase as v } from "../../../node_modules/change-case/dist/index.js";
4
- const w = n(
5
- s((e, o) => {
6
- const { color: h, height: r, width: d, title: l, titleId: a } = e, t = a || v(l || "");
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: r,
14
- width: d,
17
+ height: h,
18
+ width: r,
15
19
  role: "img",
16
20
  ref: o,
17
21
  "aria-labelledby": t,
18
- ...e,
22
+ ...d,
19
23
  children: [
20
- l ? /* @__PURE__ */ i("title", { id: t, children: l }) : null,
21
- /* @__PURE__ */ i(
24
+ l ? /* @__PURE__ */ a("title", { id: t, children: l }) : null,
25
+ /* @__PURE__ */ a(
22
26
  "path",
23
27
  {
24
- fill: h,
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
- w as default
40
+ g as default
37
41
  };
@@ -1,27 +1,31 @@
1
- import { jsxs as m, jsx as i } from "react/jsx-runtime";
2
- import { memo as s, forwardRef as c } from "react";
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 g = s(
5
- c((e, o) => {
6
- const { color: r, height: a, width: d, title: l, titleId: n } = e, t = n || f(l || "");
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: a,
14
- width: d,
17
+ height: r,
18
+ width: s,
15
19
  role: "img",
16
20
  ref: o,
17
21
  "aria-labelledby": t,
18
- ...e,
22
+ ...c,
19
23
  children: [
20
- l ? /* @__PURE__ */ i("title", { id: t, children: l }) : null,
21
- /* @__PURE__ */ i(
24
+ l ? /* @__PURE__ */ a("title", { id: t, children: l }) : null,
25
+ /* @__PURE__ */ a(
22
26
  "path",
23
27
  {
24
- fill: r,
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
- g as default
40
+ u as default
37
41
  };
@@ -1,28 +1,32 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
- import { memo as a, forwardRef as f } from "react";
3
- import { kebabCase as c } from "../../../node_modules/change-case/dist/index.js";
4
- const u = a(
5
- f((t, r) => {
6
- const { color: i, height: d, width: m, title: l, titleId: n } = t, o = n || c(l || "");
7
- return /* @__PURE__ */ s(
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: d,
14
- width: m,
17
+ height: r,
18
+ width: s,
15
19
  role: "img",
16
- ref: r,
17
- "aria-labelledby": o,
18
- ...t,
20
+ ref: a,
21
+ "aria-labelledby": i,
22
+ ...c,
19
23
  children: [
20
- l ? /* @__PURE__ */ e("title", { id: o, children: l }) : null,
21
- /* @__PURE__ */ e("path", { fill: i, d: "m40.07 23 2.122 2.121-7.07 7.071L33 30.072z" }),
22
- /* @__PURE__ */ e(
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: i,
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
- u as default
41
+ v as default
38
42
  };
@@ -1,39 +1,43 @@
1
- import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
- import { memo as n, forwardRef as a } from "react";
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 w = n(
5
- a((i, r) => {
6
- const { color: e, height: d, width: h, title: t, titleId: s } = i, o = s || f(t || "");
7
- return /* @__PURE__ */ m(
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: d,
14
- width: h,
17
+ height: r,
18
+ width: s,
15
19
  role: "img",
16
- ref: r,
17
- "aria-labelledby": o,
18
- ...i,
20
+ ref: a,
21
+ "aria-labelledby": i,
22
+ ...h,
19
23
  children: [
20
- t ? /* @__PURE__ */ l("title", { id: o, children: t }) : null,
21
- /* @__PURE__ */ l("path", { fill: e, d: "M33.5 23h-3v9H29v6h6v-1.5h13v-3H35V32h-1.5z" }),
22
- /* @__PURE__ */ l(
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: e,
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__ */ l("path", { fill: e, d: "M25 4h14v3h-5.5v1.667h-3V7H25zM16.364 13.121 14.243 11 10 15.243l2.121 2.121z" })
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
- w as default
42
+ u as default
39
43
  };
@@ -1,29 +1,33 @@
1
- import { jsxs as a, jsx as l } from "react/jsx-runtime";
2
- import { memo as f, forwardRef as v } from "react";
3
- import { kebabCase as m } from "../../../node_modules/change-case/dist/index.js";
4
- const u = f(
5
- v((t, d) => {
6
- const { color: e, height: r, width: h, title: i, titleId: n } = t, o = n || m(i || "");
7
- return /* @__PURE__ */ a(
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: r,
14
- width: h,
17
+ height: d,
18
+ width: r,
15
19
  role: "img",
16
- ref: d,
17
- "aria-labelledby": o,
18
- ...t,
20
+ ref: a,
21
+ "aria-labelledby": i,
22
+ ...s,
19
23
  children: [
20
- i ? /* @__PURE__ */ l("title", { id: o, children: i }) : null,
21
- /* @__PURE__ */ l("path", { fill: e, fillRule: "evenodd", d: "M10 29V17h12v12zm3-9h6v6h-6z", clipRule: "evenodd" }),
22
- /* @__PURE__ */ l("path", { fill: e, d: "M26 18h19v3H26zM26 24h19v3H26zM55.121 37.5 46 46.621 40.879 41.5 43 39.379l3 3 7-7z" }),
23
- /* @__PURE__ */ l(
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: e,
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
- u as default
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: r, event: o, label: s = "Add to calendar", linkElement: d = P, ...n }, c) => {
14
- const { className: l, ...m } = g(n, "AddToCalendar"), [t, f] = h(!1), k = (e, i) => {
15
- e === "file" ? S(o) : e === "link" && i && window.open(i, "_blank");
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, r), ...n, ref: c, children: /* @__PURE__ */ C(O, { open: t, onOpenChange: f, children: [
24
- /* @__PURE__ */ a(I, { asChild: !0, children: /* @__PURE__ */ a(j, { children: /* @__PURE__ */ a(L, { icon: t ? "CloseX" : "Calendar", title: s }) }) }),
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 c } from "react/jsx-runtime";
2
- import { createContext as R, forwardRef as K, useState as f, useEffect as m, useCallback as u } from "react";
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 L } from "../../node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js";
8
- const q = R(null), z = K(
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: d,
11
- loop: p = !1,
12
- startIndex: w = 0,
13
- onSlideChange: o,
14
- className: x,
15
- children: N,
16
- columnGap: v,
17
- useWheelGestures: C = !1,
18
- disableDrag: n = !1,
19
- disableNavigationDrag: b = null,
20
- inViewThreshold: h = 0.99,
21
- ...i
22
- }, g) => {
23
- const k = d || "div", { className: P, ...D } = W(i, "Carousel");
24
- let l = {};
25
- switch (b) {
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
- l = { breakpoints: { "(max-width: 960px)": { watchDrag: !1 } } };
27
+ o = { breakpoints: { "(max-width: 960px)": { watchDrag: !1 } } };
28
28
  break;
29
29
  case "desktop":
30
- l = { breakpoints: { "(min-width: 961px)": { watchDrag: !1 } } };
30
+ o = { breakpoints: { "(min-width: 961px)": { watchDrag: !1 } } };
31
31
  break;
32
32
  case "all":
33
- l = { watchDrag: !1 };
33
+ o = { watchDrag: !1 };
34
34
  break;
35
35
  default:
36
- l = {};
36
+ o = {};
37
37
  }
38
- const [S, I] = f(!1), [E, y] = f(!1), [V, e] = G(
38
+ const [E, I] = u(!1), [y, V] = u(!1), [A, e] = G(
39
39
  {
40
- loop: p,
41
- startIndex: w,
42
- inViewThreshold: h,
43
- ...l
40
+ loop: x,
41
+ startIndex: v,
42
+ inViewThreshold: k,
43
+ ...o
44
44
  },
45
45
  [
46
- ...C ? [
47
- L({
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
- m(() => {
57
- n ? e?.reInit({
56
+ d(() => {
57
+ i ? e?.reInit({
58
58
  watchDrag: () => !1
59
59
  }) : e?.reInit({
60
60
  watchDrag: () => !0
61
61
  });
62
- }, [n, e]);
63
- const A = u(
64
- (r) => {
65
- if (r.key === "ArrowLeft") {
66
- r.preventDefault(), e?.scrollPrev();
67
- const s = e?.slideNodes().filter((a) => a === document.activeElement)[0]?.previousElementSibling;
68
- s && s?.focus();
69
- } else if (r.key === "ArrowRight") {
70
- r.preventDefault(), e?.scrollNext();
71
- const s = e?.slideNodes().filter((a) => a === document.activeElement)[0]?.nextElementSibling;
72
- s && s?.focus();
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
- ), t = u(
77
- (r) => {
78
- if (!r) return;
79
- I(r?.canScrollPrev()), y(r?.canScrollNext());
80
- const s = r.slidesInView()?.[0];
81
- s !== void 0 && o?.(s);
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
- [o]
83
+ [r]
84
84
  );
85
- return m(() => {
85
+ return d(() => {
86
86
  if (e)
87
- return e.on("slidesInView", t), () => {
88
- e.off("slidesInView", t);
87
+ return e.on("slidesInView", a), () => {
88
+ e.off("slidesInView", a);
89
89
  };
90
- }, [e, t]), /* @__PURE__ */ c(
91
- q.Provider,
90
+ }, [e, a]), /* @__PURE__ */ m(
91
+ z.Provider,
92
92
  {
93
93
  value: {
94
- carouselRef: V,
94
+ carouselRef: A,
95
95
  api: e,
96
96
  scrollPrev: () => e?.scrollPrev(),
97
97
  scrollNext: () => e?.scrollNext(),
98
- canScrollPrev: S,
99
- canScrollNext: E,
100
- columnGap: v,
101
- onSlideChange: o
98
+ canScrollPrev: E,
99
+ canScrollNext: y,
100
+ columnGap: b,
101
+ onSlideChange: r
102
102
  },
103
- children: /* @__PURE__ */ c(
104
- k,
103
+ children: /* @__PURE__ */ m(
104
+ t,
105
105
  {
106
- ref: g,
107
- onKeyDownCapture: A,
108
- className: j(P, x),
109
- role: "region",
110
- "aria-roledescription": "carousel",
111
- ...i,
112
- ...D,
113
- children: N
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
- z.displayName = "Carousel";
120
+ F.displayName = "Carousel";
121
121
  export {
122
- q as CarouselContext,
123
- z as default
122
+ z as CarouselContext,
123
+ F as default
124
124
  };