@streamlayer/react-ui 1.11.4 → 1.12.1

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 (47) hide show
  1. package/lib/app/app/Advertisement/index.d.ts +1 -0
  2. package/lib/app/app/Advertisement/index.js +86 -67
  3. package/lib/app/app/Features/Gamification/Tabs.js +13 -13
  4. package/lib/app/app/Navigation/index.js +70 -64
  5. package/lib/app/app/Notifications/Onboarding/index.js +66 -72
  6. package/lib/app/app/Notifications/index.d.ts +1 -0
  7. package/lib/app/app/Notifications/index.js +76 -72
  8. package/lib/app/app/index.js +28 -27
  9. package/lib/app/app/story/index.d.ts +3 -1
  10. package/lib/app/app/story/index.js +29 -26
  11. package/lib/app/app/story/promotion/video.js +34 -34
  12. package/lib/app/app/styles.d.ts +5 -0
  13. package/lib/app/app/styles.js +25 -20
  14. package/lib/assets/style.css +1 -1
  15. package/lib/ui/advertisement/index.d.ts +3 -0
  16. package/lib/ui/advertisement/index.js +25 -19
  17. package/lib/ui/advertisement/mock.d.ts +1 -0
  18. package/lib/ui/advertisement/mock.js +39 -5
  19. package/lib/ui/advertisement/overlay/externalAd/controls.d.ts +5 -0
  20. package/lib/ui/advertisement/overlay/externalAd/controls.js +33 -0
  21. package/lib/ui/advertisement/overlay/externalAd/index.d.ts +2 -0
  22. package/lib/ui/advertisement/overlay/externalAd/index.js +121 -0
  23. package/lib/ui/advertisement/overlay/index.d.ts +7 -2
  24. package/lib/ui/advertisement/overlay/index.js +67 -58
  25. package/lib/ui/close-btn/index.d.ts +1 -0
  26. package/lib/ui/close-btn/index.js +25 -23
  27. package/lib/ui/gamification/question/insight/styles.d.ts +10 -2
  28. package/lib/ui/gamification/question/insight/styles.js +8 -7
  29. package/lib/ui/gamification/question/notification/prediction-result/index.js +84 -64
  30. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +2 -0
  31. package/lib/ui/gamification/question/notification/prediction-result/styles.js +36 -26
  32. package/lib/ui/gamification/question/twitter/styles.d.ts +5 -1
  33. package/lib/ui/gamification/question/twitter/styles.js +9 -8
  34. package/lib/ui/gamification/vote/alert/index.js +7 -8
  35. package/lib/ui/gamification/vote/alert/styles.d.ts +1 -0
  36. package/lib/ui/gamification/vote/alert/styles.js +12 -6
  37. package/lib/ui/gamification/vote/vote-option/index.js +59 -58
  38. package/lib/ui/icons/index.d.ts +1 -0
  39. package/lib/ui/icons/index.js +45 -44
  40. package/lib/ui/skeleton/index.d.ts +1 -1
  41. package/lib/ui/theme/constants.d.ts +32 -1
  42. package/lib/ui/theme/constants.js +50 -17
  43. package/lib/ui/theme/masters-theme.js +9 -4
  44. package/lib/ui/theme/theme.js +16 -9
  45. package/lib/ui/video-player/index.d.ts +2 -0
  46. package/lib/ui/video-player/index.js +57 -56
  47. package/package.json +14 -14
@@ -9,6 +9,7 @@ export type StreamLayerSDKAdvertisementProps = {
9
9
  banner?: 'top' | 'bottom';
10
10
  layoutMode?: 'cover' | 'side-by-side';
11
11
  skipAutoClose?: boolean;
12
+ externalAd?: boolean;
12
13
  };
13
14
  export declare const StreamLayerSDKAdvertisement: React.FC<StreamLayerSDKAdvertisementProps & {
14
15
  sdk: StreamLayerSDK;
@@ -1,27 +1,27 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { cx as b } from "@linaria/core";
3
- import { styled as g } from "@linaria/react";
4
- import { useStore as A } from "@nanostores/react";
5
- import { useAnalyticsListener as h } from "../../../hooks/analytics.js";
6
- import { useRef as L } from "react";
7
- import { eventBus as v } from "@streamlayer/sdk-web-interfaces";
8
- import { FeatureType as I, NotificationPromotionMode as w, PromotionType as T } from "@streamlayer/sdk-web-types";
9
- import { AdvertisementUI as U } from "../../../ui/advertisement/index.js";
10
- const N = /* @__PURE__ */ g("div")({
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { cx as g } from "@linaria/core";
3
+ import { styled as L } from "@linaria/react";
4
+ import { useStore as h } from "@nanostores/react";
5
+ import { useAnalyticsListener as w } from "../../../hooks/analytics.js";
6
+ import { useEffect as I, useRef as E } from "react";
7
+ import { eventBus as A } from "@streamlayer/sdk-web-interfaces";
8
+ import { FeatureType as T, NotificationPromotionMode as U, PromotionType as N } from "@streamlayer/sdk-web-types";
9
+ import { AdvertisementUI as V } from "../../../ui/advertisement/index.js";
10
+ const W = /* @__PURE__ */ L("div")({
11
11
  name: "AdvertisementUIWrap",
12
12
  class: "aa6pjif",
13
13
  propsAsIs: !1
14
- }), W = (r) => {
15
- const e = r.target;
16
- if (e instanceof HTMLAnchorElement && e.target === "_blank") {
17
- const o = e.getAttribute("data-promo-id") || "", i = e.getAttribute("data-promo-type") || T.UNSET;
18
- e.getAttribute("data-analytics") === "button" && v.emit("advertisement", {
14
+ }), j = (r) => {
15
+ const t = r.target;
16
+ if (t instanceof HTMLAnchorElement && t.target === "_blank") {
17
+ const o = t.getAttribute("data-promo-id") || "", i = t.getAttribute("data-promo-type") || N.UNSET;
18
+ t.getAttribute("data-analytics") === "button" && A.emit("advertisement", {
19
19
  action: "buttonSelect",
20
20
  payload: {
21
21
  id: o,
22
22
  type: i
23
23
  }
24
- }), e.getAttribute("data-analytics") === "banner" && v.emit("advertisement", {
24
+ }), t.getAttribute("data-analytics") === "banner" && A.emit("advertisement", {
25
25
  action: "bannerSelect",
26
26
  payload: {
27
27
  id: o,
@@ -29,82 +29,101 @@ const N = /* @__PURE__ */ g("div")({
29
29
  }
30
30
  });
31
31
  }
32
- }, E = ({
32
+ }, k = ({
33
33
  gamification: r,
34
- layoutMode: e,
34
+ layoutMode: t,
35
35
  skipAutoClose: o,
36
36
  skipTypeCheck: i,
37
- sidebar: n,
38
- banner: a,
39
- notification: d,
40
- isMobileScreen: l,
41
- persistent: c
37
+ sidebar: a,
38
+ banner: d,
39
+ notification: m,
40
+ isMobileScreen: c,
41
+ persistent: l,
42
+ externalAd: p,
43
+ controlVideo: u
42
44
  }) => {
43
- var f, p, u;
44
- const s = L(null), t = A(r.advertisement.$store);
45
- h(s, {
46
- enabled: !!t.data,
45
+ var f, v, y;
46
+ const n = E(null), e = h(r.advertisement.$store);
47
+ w(n, {
48
+ enabled: !!e.data,
47
49
  event: "click",
48
- listener: W
50
+ listener: j
49
51
  });
50
- const y = !a && !n;
51
- if (t.data === void 0 || !c && t.isViewed)
52
+ const S = !d && !a;
53
+ if (e.data === void 0 || !l && e.isViewed)
52
54
  return null;
53
- const S = ((u = (p = (f = t == null ? void 0 : t.data) == null ? void 0 : f.notification) == null ? void 0 : p.promotion) == null ? void 0 : u.mode) === w.LOWER_THIRD;
54
- return /* @__PURE__ */ m(N, {
55
- ref: s,
55
+ const b = ((y = (v = (f = e == null ? void 0 : e.data) == null ? void 0 : f.notification) == null ? void 0 : v.promotion) == null ? void 0 : y.mode) === U.LOWER_THIRD;
56
+ return /* @__PURE__ */ s(W, {
57
+ ref: n,
56
58
  style: {
57
- height: y ? "auto" : "100%"
59
+ height: S ? "auto" : "100%"
58
60
  },
59
- className: b("SL-AdvertisementUIWrap", l && "mobile-view", S && "SL-AdvertisementUIWrap--lower-third"),
60
- children: /* @__PURE__ */ m(U, {
61
+ className: g("SL-AdvertisementUIWrap", c && "mobile-view", b && "SL-AdvertisementUIWrap--lower-third"),
62
+ children: /* @__PURE__ */ s(V, {
61
63
  skipTypeCheck: i,
62
- sidebar: n,
63
- banner: a,
64
- advertisement: t.data,
65
- close: t.close,
64
+ sidebar: a,
65
+ banner: d,
66
+ advertisement: e.data,
67
+ close: e.close,
68
+ externalAd: p ? e.externalAd : void 0,
66
69
  markAsViewed: r.advertisement.markAsViewed,
67
70
  open: r.advertisement.open,
68
- layoutMode: e,
69
- isNotification: d,
70
- skipAutoClose: o
71
+ layoutMode: t,
72
+ isNotification: m,
73
+ skipAutoClose: o,
74
+ controlVideo: u
71
75
  })
72
76
  });
73
- }, H = ({
77
+ }, _ = ({
74
78
  sdk: r,
75
- sidebar: e,
76
- banner: o,
77
- skipAutoClose: i,
78
- skipTypeCheck: n,
79
- layoutMode: a,
80
- isMobileScreen: d,
79
+ sidebar: t,
80
+ externalAd: o,
81
+ banner: i,
82
+ skipAutoClose: a,
83
+ skipTypeCheck: d,
84
+ layoutMode: m,
85
+ isMobileScreen: c,
81
86
  persistent: l,
82
- notification: c
87
+ notification: p
83
88
  }) => {
84
- const s = A(r.featuresList.getStore());
85
- if (e && o)
86
- return /* @__PURE__ */ m("div", {
89
+ const u = h(r.featuresList.getStore());
90
+ if (I(() => {
91
+ if (o) {
92
+ const e = document.createElement("script");
93
+ e.async = !0, e.src = "https://imasdk.googleapis.com/js/sdkloader/ima3.js", document.body.appendChild(e);
94
+ }
95
+ }, [o]), t && i)
96
+ return /* @__PURE__ */ s("div", {
87
97
  style: {
88
98
  color: "red"
89
99
  },
90
100
  children: "define either sidebar or banner, not both."
91
101
  });
92
- if (!s)
102
+ if (i && o)
103
+ return /* @__PURE__ */ s("div", {
104
+ style: {
105
+ color: "red"
106
+ },
107
+ children: "externalAd is not supported with banner"
108
+ });
109
+ if (!u)
93
110
  return null;
94
- const t = r.getFeature(I.GAMES);
95
- return t ? /* @__PURE__ */ m(E, {
96
- gamification: t,
97
- sidebar: e,
98
- banner: o,
99
- layoutMode: a,
100
- isMobileScreen: d,
111
+ const n = r.getFeature(T.GAMES);
112
+ return n ? /* @__PURE__ */ s(k, {
113
+ gamification: n,
114
+ sidebar: t,
115
+ banner: i,
116
+ layoutMode: m,
117
+ isMobileScreen: c,
101
118
  persistent: l,
102
- notification: c,
103
- skipTypeCheck: n,
104
- skipAutoClose: i
119
+ notification: p,
120
+ skipTypeCheck: d,
121
+ skipAutoClose: a,
122
+ externalAd: o,
123
+ controlVideo: r.controlVideoPlayer
105
124
  }) : null;
106
125
  };
107
126
  export {
108
- N as AdvertisementUIWrap,
109
- H as StreamLayerSDKAdvertisement
127
+ W as AdvertisementUIWrap,
128
+ _ as StreamLayerSDKAdvertisement
110
129
  };
@@ -1,18 +1,18 @@
1
- import { jsxs as u, jsx as e, Fragment as x } from "react/jsx-runtime";
2
- import { cx as T } from "@linaria/core";
1
+ import { jsxs as p, jsx as e, Fragment as x } from "react/jsx-runtime";
2
+ import { cx as D } from "@linaria/core";
3
3
  import { useStore as h } from "@nanostores/react";
4
- import { TabsContainer as D, TabsNavContainer as C, SDKWhiteContainer as S, UserSummaryContainer as v, SDKContentContainer as A, LeaderboardContainer as I } from "../../styles.js";
4
+ import { TabsContainer as T, TabsNavContainer as C, SDKSummaryContainer as S, UserSummaryContainer as v, SDKContentContainer as A, LeaderboardContainer as I } from "../../styles.js";
5
5
  import { scrollIntoAppView as L } from "../../../useSdkScroll.js";
6
6
  import { useState as P, useTransition as V, useEffect as E } from "react";
7
7
  import { ActivePages as a, Tabs as K } from "../../../../ui/gamification/tabs/index.js";
8
8
  import { Leaderboard as F } from "./Leaderboard.js";
9
9
  import { QuestionsList as O } from "./QuestionsList.js";
10
10
  import { UserSummary as Q } from "./UserSummary.js";
11
- const G = ({ gamification: r, className: l, scrollStore: t, scrollNode: b, appNode: m, style: f, responsiveStore: n }) => {
12
- const { tabsShown: c } = h(t, { keys: ["tabsShown"] }), [i, w] = P(a.HOME), [, y] = V(), { sdkInDesktopView: d, screen: g } = h(n, { keys: ["sdkInDesktopView"] }), k = (s) => {
11
+ const J = ({ gamification: r, className: b, scrollStore: t, scrollNode: f, appNode: m, style: l, responsiveStore: n }) => {
12
+ const { tabsShown: c } = h(t, { keys: ["tabsShown"] }), [i, w] = P(a.HOME), [, y] = V(), { sdkInDesktopView: u, screen: k } = h(n, { keys: ["sdkInDesktopView"] }), g = (s) => {
13
13
  y(() => {
14
- var p;
15
- w(s), d === !1 && (((p = m.current) == null ? void 0 : p.getBoundingClientRect().y) || 0) < 0 && L(m, g.size, { behavior: "instant" });
14
+ var d;
15
+ w(s), u === !1 && (((d = m.current) == null ? void 0 : d.getBoundingClientRect().y) || 0) < 0 && L(m, k.size, { behavior: "instant" });
16
16
  });
17
17
  };
18
18
  E(() => t.subscribe((s) => {
@@ -23,23 +23,23 @@ const G = ({ gamification: r, className: l, scrollStore: t, scrollNode: b, appNo
23
23
  n.get().sdkInDesktopView ? t.setKey("tabsShown", s.scrollDirection === "backward") : t.setKey("tabsShown", s.scrollDirection === "forward");
24
24
  }), [t, n]);
25
25
  let o = "0px";
26
- return d ? o = c ? "0px" : "calc(0px - var(--header-height))" : o = c ? "var(--header-height)" : "0px", /* @__PURE__ */ u(D, { className: T(l, "SL-Tabs"), style: f, children: [
26
+ return u ? o = c ? "0px" : "calc(0px - var(--header-height))" : o = c ? "var(--header-height)" : "0px", /* @__PURE__ */ p(T, { className: D(b, "SL-Tabs"), style: l, children: [
27
27
  /* @__PURE__ */ e(
28
28
  C,
29
29
  {
30
30
  style: {
31
31
  top: o
32
32
  },
33
- children: /* @__PURE__ */ e(K, { activePage: i, toggleActivePage: k })
33
+ children: /* @__PURE__ */ e(K, { activePage: i, toggleActivePage: g })
34
34
  }
35
35
  ),
36
- i === a.HOME && /* @__PURE__ */ u(x, { children: [
37
- /* @__PURE__ */ e(S, { style: { paddingTop: "8px" }, children: /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(Q, { userSummary: r.userSummary }) }) }),
36
+ i === a.HOME && /* @__PURE__ */ p(x, { children: [
37
+ /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(Q, { userSummary: r.userSummary }) }) }),
38
38
  /* @__PURE__ */ e(A, { style: { flex: 1 }, children: /* @__PURE__ */ e(O, { openQuestion: r.openQuestion, store: r.feedList.getStore() }) })
39
39
  ] }),
40
- i === a.LEADERBOARD && /* @__PURE__ */ e(I, { children: /* @__PURE__ */ e(F, { scrollStore: t, scrollNode: b, gamification: r }) })
40
+ i === a.LEADERBOARD && /* @__PURE__ */ e(I, { children: /* @__PURE__ */ e(F, { scrollStore: t, scrollNode: f, gamification: r }) })
41
41
  ] });
42
42
  };
43
43
  export {
44
- G as Tabs
44
+ J as Tabs
45
45
  };
@@ -1,112 +1,118 @@
1
- import { jsxs as v, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
2
  import { cx as S } from "@linaria/core";
3
3
  import { styled as n } from "@linaria/react";
4
- import { useStore as m } from "@nanostores/react";
5
- import { forwardRef as y, useMemo as h } from "react";
6
- import { AvailableFeatures as I } from "@streamlayer/sdk-web-features";
7
- import { FeatureType as u } from "@streamlayer/sdk-web-types";
8
- import { SvgIcon as g } from "../../../ui/icons/index.js";
9
- import { Navigation as A, NavigationItems as C } from "../../../ui/navigation/index.js";
4
+ import { useStore as v } from "@nanostores/react";
5
+ import { forwardRef as y, useMemo as u } from "react";
6
+ import { AvailableFeatures as b } from "@streamlayer/sdk-web-features";
7
+ import { FeatureType as C } from "@streamlayer/sdk-web-types";
8
+ import { SvgIcon as h } from "../../../ui/icons/index.js";
9
+ import { Navigation as A, NavigationItems as I } from "../../../ui/navigation/index.js";
10
10
  import { Button as t } from "../../../ui/navigation/button/index.js";
11
- const F = () => g, x = /* @__PURE__ */ n(F())({
11
+ const g = () => h, x = /* @__PURE__ */ n(g())({
12
12
  name: "ButtonIcon",
13
13
  class: "b11wpe79",
14
14
  propsAsIs: !0
15
- }), N = /* @__PURE__ */ n("div")({
15
+ }), F = /* @__PURE__ */ n("div")({
16
16
  name: "Container",
17
17
  class: "calnblm",
18
18
  propsAsIs: !1
19
- }), b = /* @__PURE__ */ n("div")({
19
+ }), D = /* @__PURE__ */ n("div")({
20
20
  name: "Title",
21
21
  class: "t1438p52",
22
22
  propsAsIs: !1
23
- }), B = /* @__PURE__ */ n("div")({
23
+ }), N = /* @__PURE__ */ n("div")({
24
24
  name: "CloseIconWrap",
25
25
  class: "c17srj38",
26
26
  propsAsIs: !1
27
- }), j = () => g, w = /* @__PURE__ */ n(j())({
27
+ }), B = () => h, j = /* @__PURE__ */ n(B())({
28
28
  name: "CloseIcon",
29
29
  class: "clqia8k",
30
30
  propsAsIs: !0
31
- }), G = "hf5w958", H = y(({
31
+ }), w = () => h, G = /* @__PURE__ */ n(w())({
32
+ name: "DashboardIcon",
33
+ class: "df5w958",
34
+ propsAsIs: !0
35
+ }), M = "h12x6aiv", z = y(({
32
36
  sdk: s,
33
- className: c
34
- }, l) => {
35
- const i = () => {
37
+ className: l
38
+ }, p) => {
39
+ const a = () => {
36
40
  s.closeFeature();
37
41
  };
38
- return /* @__PURE__ */ v(A, {
39
- className: S(c, G),
40
- children: [/* @__PURE__ */ v(N, {
41
- children: [/* @__PURE__ */ o(b, {
42
- children: "Live Challenge"
43
- }), /* @__PURE__ */ o(B, {
44
- onClick: i,
45
- children: /* @__PURE__ */ o(w, {
42
+ return /* @__PURE__ */ c(A, {
43
+ className: S(l, M),
44
+ children: [/* @__PURE__ */ c(F, {
45
+ children: [/* @__PURE__ */ c(D, {
46
+ children: [/* @__PURE__ */ e(G, {
47
+ name: "dashboard"
48
+ }), "Dashboard"]
49
+ }), /* @__PURE__ */ e(N, {
50
+ onClick: a,
51
+ children: /* @__PURE__ */ e(j, {
46
52
  name: "icon-cross"
47
53
  })
48
54
  })]
49
- }), /* @__PURE__ */ o("div", {
50
- ref: l
55
+ }), /* @__PURE__ */ e("div", {
56
+ ref: p
51
57
  })]
52
58
  });
53
- }), R = y(({
59
+ }), J = y(({
54
60
  sdk: s,
55
- className: c
56
- }, l) => {
57
- const i = m(s.sdkStore.organizationSettings), r = m(s.sdkStore.streamSettings), a = m(s.getActiveFeature()), f = h(() => {
58
- const e = (r == null ? void 0 : r.data) || (i == null ? void 0 : i.data);
59
- return e != null && e.overlays ? e.overlays : [];
60
- }, [i, r]), p = h(() => [...f.filter(({
61
- enableSdkButton: e,
62
- type: d
63
- }) => d === u.GAMES || e).map((e) => ({
64
- id: e.type,
65
- onClick: () => s.openFeature(e.type),
66
- disabled: !(e.type in I),
67
- label: e.name,
68
- icon: /* @__PURE__ */ o("img", {
69
- src: e.icon,
61
+ className: l
62
+ }, p) => {
63
+ const a = v(s.sdkStore.organizationSettings), r = v(s.sdkStore.streamSettings), i = v(s.getActiveFeature()), f = u(() => {
64
+ const o = (r == null ? void 0 : r.data) || (a == null ? void 0 : a.data);
65
+ return o != null && o.overlays ? o.overlays : [];
66
+ }, [a, r]), d = u(() => [...f.filter(({
67
+ enableSdkButton: o,
68
+ type: m
69
+ }) => m === C.GAMES || o).map((o) => ({
70
+ id: o.type,
71
+ onClick: () => s.openFeature(o.type),
72
+ disabled: !(o.type in b),
73
+ label: o.name,
74
+ icon: /* @__PURE__ */ e("img", {
75
+ src: o.icon,
70
76
  alt: ""
71
77
  }),
72
78
  /** multiplied by 10 to add the ability to insert custom buttons between our buttons */
73
- position: e.position * 10
74
- }))].sort((e, d) => e.position - d.position), [f, s]);
75
- return /* @__PURE__ */ v(A, {
76
- className: c,
77
- children: [p.length !== 0 && /* @__PURE__ */ o(C, {
78
- children: [/* @__PURE__ */ o(t, {
79
+ position: o.position * 10
80
+ }))].sort((o, m) => o.position - m.position), [f, s]);
81
+ return /* @__PURE__ */ c(A, {
82
+ className: l,
83
+ children: [d.length !== 0 && /* @__PURE__ */ e(I, {
84
+ children: [/* @__PURE__ */ e(t, {
79
85
  id: "Channels",
80
86
  onClick: () => s.closeFeature(),
81
87
  label: "Channels",
82
- active: a === 0
83
- }, "Channels"), ...p.map((e) => e.id === u.GAMES ? /* @__PURE__ */ o(t, {
84
- ...e,
85
- active: e.id === a,
88
+ active: i === 0
89
+ }, "Channels"), ...d.map((o) => o.id === C.GAMES ? /* @__PURE__ */ e(t, {
90
+ ...o,
91
+ active: o.id === i,
86
92
  label: "StreamLayer +",
87
93
  id: "featuredGroups",
88
- icon: /* @__PURE__ */ o(x, {
94
+ icon: /* @__PURE__ */ e(x, {
89
95
  name: "icon-btn-feature-groups",
90
- "data-selected": e.id === a
96
+ "data-selected": o.id === i
91
97
  })
92
- }, e.id) : /* @__PURE__ */ o(t, {
93
- ...e,
98
+ }, o.id) : /* @__PURE__ */ e(t, {
99
+ ...o,
94
100
  icon: void 0,
95
- active: e.id === a
96
- }, e.id))]
97
- }), !p.length && /* @__PURE__ */ o(C, {
98
- children: [/* @__PURE__ */ o(t, {
101
+ active: o.id === i
102
+ }, o.id))]
103
+ }), !d.length && /* @__PURE__ */ e(I, {
104
+ children: [/* @__PURE__ */ e(t, {
99
105
  id: "empty",
100
106
  label: "No Features...",
101
107
  active: !1,
102
108
  disabled: !0
103
109
  }, "empty")]
104
- }), /* @__PURE__ */ o("div", {
105
- ref: l
110
+ }), /* @__PURE__ */ e("div", {
111
+ ref: p
106
112
  })]
107
113
  });
108
114
  });
109
115
  export {
110
- H as SDKHeader,
111
- R as SDKNavigation
116
+ z as SDKHeader,
117
+ J as SDKNavigation
112
118
  };