@streamlayer/react-ui 1.8.0 → 1.8.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.
@@ -1,3 +1,2 @@
1
1
  export declare const BannerContainer: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
2
2
  export declare const BannerLink: any;
3
- export declare const BannerImg: import('@linaria/react').StyledComponent<import('react').ClassAttributes<HTMLImageElement> & import('react').ImgHTMLAttributes<HTMLImageElement> & Record<never, unknown>>;
@@ -1,6 +1,6 @@
1
1
  import { styled as n } from "@linaria/react";
2
2
  import { Link as s } from "../../link/index.js";
3
- const o = /* @__PURE__ */ n("div")({
3
+ const a = /* @__PURE__ */ n("div")({
4
4
  name: "BannerContainer",
5
5
  class: "b7yfc72",
6
6
  propsAsIs: !1
@@ -8,13 +8,8 @@ const o = /* @__PURE__ */ n("div")({
8
8
  name: "BannerLink",
9
9
  class: "bejjq94",
10
10
  propsAsIs: !0
11
- }), m = /* @__PURE__ */ n("img")({
12
- name: "BannerImg",
13
- class: "b1j94hdr",
14
- propsAsIs: !1
15
11
  });
16
12
  export {
17
- o as BannerContainer,
18
- m as BannerImg,
13
+ a as BannerContainer,
19
14
  t as BannerLink
20
15
  };
@@ -1,6 +1,6 @@
1
1
  import { Advertisement } from '@streamlayer/feature-gamification';
2
2
  export declare const AdvertisementUI: React.FC<{
3
- advertisement: Advertisement;
3
+ advertisement: Exclude<Advertisement['data'], undefined>;
4
4
  layoutMode?: 'cover' | 'side-by-side';
5
5
  sidebar?: 'left' | 'right';
6
6
  banner?: 'top' | 'bottom';
@@ -5,23 +5,23 @@ import { Notification as y } from "./notification/index.js";
5
5
  import { Overlay as u } from "./overlay/index.js";
6
6
  import { Sidebar as A } from "./sidebar/index.js";
7
7
  import { OverlayContainer as a } from "./overlay/styles.js";
8
- const d = (i) => (i == null ? void 0 : i.type) === r.INGAME_IAB11_LBAR || (i == null ? void 0 : i.type) === r.INGAME_IAB21_LBAR, e = (i) => (i == null ? void 0 : i.type) === r.INGAME_IAB11 || (i == null ? void 0 : i.type) === r.INGAME_IAB21, C = ({
8
+ const d = (i) => (i == null ? void 0 : i.type) === r.INGAME_IAB11_LBAR || (i == null ? void 0 : i.type) === r.INGAME_IAB21_LBAR, B = (i) => (i == null ? void 0 : i.type) === r.INGAME_IAB11 || (i == null ? void 0 : i.type) === r.INGAME_IAB21, C = ({
9
9
  advertisement: i,
10
- close: f,
10
+ close: t,
11
11
  skipTypeCheck: l,
12
- layoutMode: s = "side-by-side",
12
+ layoutMode: N = "side-by-side",
13
13
  sidebar: n,
14
14
  isNotification: I,
15
- banner: t
16
- }) => I && i.notification ? /* @__PURE__ */ o(y, { notification: i.notification, promotionId: i.question.id }) : !n && !t && (l || e(i.promotion)) ? /* @__PURE__ */ o(a, { className: "PromoOverlayContainer", children: /* @__PURE__ */ o(u, { promotionId: i.question.id, promotion: i.promotion, onClose: f }) }) : n && (l || d(i.promotion)) ? /* @__PURE__ */ o(A, { className: "PromoSidebarContainer", direction: n, hiding: !1, children: /* @__PURE__ */ o(u, { promotionId: i.question.id, promotion: i.promotion, onClose: f }) }) : t ? /* @__PURE__ */ o(
15
+ banner: f
16
+ }) => i.promotion ? I && i.notification ? /* @__PURE__ */ o(y, { notification: i.notification, promotionId: i.question.id }) : !n && !f && (l || B(i.promotion)) ? /* @__PURE__ */ o(a, { className: "PromoOverlayContainer", children: /* @__PURE__ */ o(u, { promotionId: i.question.id, promotion: i.promotion, onClose: t }) }) : n && (l || d(i.promotion)) ? /* @__PURE__ */ o(A, { className: "PromoSidebarContainer", direction: n, hiding: !1, children: /* @__PURE__ */ o(u, { promotionId: i.question.id, promotion: i.promotion, onClose: t }) }) : f ? /* @__PURE__ */ o(
17
17
  c,
18
18
  {
19
19
  promotionId: i.question.id,
20
20
  hiding: !1,
21
21
  promotion: i.promotion,
22
- direction: t
22
+ direction: f
23
23
  }
24
- ) : null;
24
+ ) : null : null;
25
25
  export {
26
26
  C as AdvertisementUI
27
27
  };
@@ -1,45 +1,45 @@
1
1
  import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
2
  import { cx as D } from "@linaria/core";
3
- import { eventBus as U } from "@streamlayer/sdk-web-interfaces";
4
- import { PromotionType as R, PromotionLogoMode as l } from "@streamlayer/sdk-web-types";
5
- import { VideoPlayer as j } from "../../video-player/index.js";
6
- import { PromoOverlay as G, Header as H, HeaderContent as W, headerContentShift as V, SponsorLogo as F, Sponsor as q, SponsorName as w, SponsorText as z, ADLogo as J, SponsoredText as K, CloseIconWrap as Q, CloseIcon as X, Media as Y, shiftMedia as Z, Content as _, PromoImg as $, Title as ee, hideOnMobile as re, Description as ae, ActionBtnWrap as le, ActionButton as ne } from "./styles.js";
7
- import { OverlayContainer as ge } from "./styles.js";
8
- const he = ({ promotion: e, promotionId: s, onClose: k }) => {
9
- var t, c, d, i, h, b, y, g, p, m, f, u, v, C, N, x, A, T, M, P, B, I, S, E, L, O;
10
- const n = e.type === R.INGAME_IAB11_LBAR || e.type === R.INGAME_IAB11, o = ((t = e.sponsor) == null ? void 0 : t.logo) && e.logoMode === l.CENTER;
11
- return /* @__PURE__ */ a(G, { className: "PromoOverlay", children: [
12
- /* @__PURE__ */ a(H, { children: [
13
- /* @__PURE__ */ a(W, { className: D(!o && V), children: [
14
- ((c = e.sponsor) == null ? void 0 : c.logo) && e.logoMode === l.LEFT && /* @__PURE__ */ r(F, { src: (d = e.sponsor) == null ? void 0 : d.logo, alt: "promo" }),
3
+ import { eventBus as k } from "@streamlayer/sdk-web-interfaces";
4
+ import { PromotionType as R, PromotionLogoMode as n, PromotionButtonType as j } from "@streamlayer/sdk-web-types";
5
+ import { VideoPlayer as G } from "../../video-player/index.js";
6
+ import { PromoOverlay as H, Header as W, HeaderContent as V, headerContentShift as q, SponsorLogo as _, Sponsor as w, SponsorName as z, SponsorText as J, ADLogo as K, SponsoredText as Q, CloseIconWrap as X, CloseIcon as Y, Media as Z, shiftMedia as $, Content as F, PromoImg as ee, Title as re, hideOnMobile as ae, Description as ne, ActionBtnWrap as le, ActionButton as oe } from "./styles.js";
7
+ import { OverlayContainer as pe } from "./styles.js";
8
+ const be = ({ promotion: e, promotionId: s, onClose: U }) => {
9
+ var t, c, d, i, y, b, h, g, p, u, m, T, f, v, N, C, x, A, B, P, M, I, O, S, E, L;
10
+ const l = e.type === R.INGAME_IAB11_LBAR || e.type === R.INGAME_IAB11, o = ((t = e.sponsor) == null ? void 0 : t.logo) && e.logoMode === n.CENTER;
11
+ return /* @__PURE__ */ a(H, { className: "PromoOverlay", children: [
12
+ /* @__PURE__ */ a(W, { children: [
13
+ /* @__PURE__ */ a(V, { className: D(!o && q), children: [
14
+ ((c = e.sponsor) == null ? void 0 : c.logo) && e.logoMode === n.LEFT && /* @__PURE__ */ r(_, { src: (d = e.sponsor) == null ? void 0 : d.logo, alt: "promo" }),
15
15
  /* @__PURE__ */ a(
16
- q,
16
+ w,
17
17
  {
18
18
  style: {
19
- paddingLeft: (i = e.sponsor) != null && i.logo && e.logoMode === l.LEFT ? "0px" : "8px"
19
+ paddingLeft: (i = e.sponsor) != null && i.logo && e.logoMode === n.LEFT ? "0px" : "8px"
20
20
  },
21
21
  children: [
22
- ((h = e.sponsor) == null ? void 0 : h.logo) && e.logoMode === l.LEFT && /* @__PURE__ */ r(w, { children: (b = e.sponsor) == null ? void 0 : b.name }),
23
- /* @__PURE__ */ a(z, { className: "SponsorText", children: [
24
- /* @__PURE__ */ r(J, { children: "AD" }),
25
- /* @__PURE__ */ r(K, { children: "SPONSORED" })
22
+ ((y = e.sponsor) == null ? void 0 : y.logo) && e.logoMode === n.LEFT && /* @__PURE__ */ r(z, { children: (b = e.sponsor) == null ? void 0 : b.name }),
23
+ /* @__PURE__ */ a(J, { className: "SponsorText", children: [
24
+ /* @__PURE__ */ r(K, { children: "AD" }),
25
+ /* @__PURE__ */ r(Q, { children: "SPONSORED" })
26
26
  ] })
27
27
  ]
28
28
  }
29
29
  )
30
30
  ] }),
31
- /* @__PURE__ */ r(Q, { className: "ClosePromoIcon", onClick: k, children: /* @__PURE__ */ r(X, { name: "icon-cross" }) })
31
+ /* @__PURE__ */ r(X, { className: "ClosePromoIcon", onClick: U, children: /* @__PURE__ */ r(Y, { name: "icon-cross" }) })
32
32
  ] }),
33
- /* @__PURE__ */ a(Y, { children: [
34
- o && /* @__PURE__ */ r(F, { className: Z, src: (y = e.sponsor) == null ? void 0 : y.logo, alt: "promo" }),
35
- /* @__PURE__ */ r(_, { children: (p = (g = e.banner) == null ? void 0 : g.video) != null && p.url ? /* @__PURE__ */ r(
36
- j,
33
+ /* @__PURE__ */ a(Z, { children: [
34
+ o && /* @__PURE__ */ r(_, { className: $, src: (h = e.sponsor) == null ? void 0 : h.logo, alt: "promo" }),
35
+ /* @__PURE__ */ r(F, { children: (p = (g = e.banner) == null ? void 0 : g.video) != null && p.url ? /* @__PURE__ */ r(
36
+ G,
37
37
  {
38
- source: (f = (m = e.banner) == null ? void 0 : m.video) == null ? void 0 : f.url,
39
- poster: (v = (u = e.banner) == null ? void 0 : u.video) == null ? void 0 : v.thumbnailUrl,
40
- aspectRatio: n ? "1/1" : "16/9",
38
+ source: (m = (u = e.banner) == null ? void 0 : u.video) == null ? void 0 : m.url,
39
+ poster: (f = (T = e.banner) == null ? void 0 : T.video) == null ? void 0 : f.thumbnailUrl,
40
+ aspectRatio: l ? "1/1" : "16/9",
41
41
  onPlay: () => {
42
- U.emit("advertisement", {
42
+ k.emit("advertisement", {
43
43
  action: "videoPlay",
44
44
  payload: {
45
45
  advertisementId: s,
@@ -48,30 +48,30 @@ const he = ({ promotion: e, promotionId: s, onClose: k }) => {
48
48
  });
49
49
  }
50
50
  }
51
- ) : (C = e.banner) != null && C.imageUrl ? /* @__PURE__ */ r($, { style: n ? { aspectRatio: "1/1" } : {}, src: (N = e.banner) == null ? void 0 : N.imageUrl, alt: "promo" }) : null }),
52
- !n && /* @__PURE__ */ a(_, { children: [
53
- ((x = e.banner) == null ? void 0 : x.title) && /* @__PURE__ */ r(ee, { className: D("AdvTitle", o && re), children: (A = e.banner) == null ? void 0 : A.title }),
54
- ((T = e.banner) == null ? void 0 : T.body) && /* @__PURE__ */ r(ae, { className: "AdvDescription", children: (M = e.banner) == null ? void 0 : M.body })
51
+ ) : (v = e.banner) != null && v.imageUrl ? /* @__PURE__ */ r(ee, { style: l ? { aspectRatio: "1/1" } : {}, src: (N = e.banner) == null ? void 0 : N.imageUrl, alt: "promo" }) : null }),
52
+ !l && /* @__PURE__ */ a(F, { children: [
53
+ ((C = e.banner) == null ? void 0 : C.title) && /* @__PURE__ */ r(re, { className: D("AdvTitle", o && ae), children: (x = e.banner) == null ? void 0 : x.title }),
54
+ ((A = e.banner) == null ? void 0 : A.body) && /* @__PURE__ */ r(ne, { className: "AdvDescription", children: (B = e.banner) == null ? void 0 : B.body })
55
55
  ] })
56
56
  ] }),
57
- /* @__PURE__ */ r(le, { children: /* @__PURE__ */ r(
58
- ne,
57
+ e.buttonType !== j.NO_BUTTON && /* @__PURE__ */ r(le, { children: /* @__PURE__ */ r(
58
+ oe,
59
59
  {
60
60
  href: (P = e.banner) == null ? void 0 : P.url,
61
61
  style: {
62
- backgroundColor: ((I = (B = e.banner) == null ? void 0 : B.ctaButton) == null ? void 0 : I.color) || "#009dc4",
63
- color: ((E = (S = e.banner) == null ? void 0 : S.ctaButton) == null ? void 0 : E.textColor) || "#fff"
62
+ backgroundColor: ((I = (M = e.banner) == null ? void 0 : M.ctaButton) == null ? void 0 : I.color) || "#009dc4",
63
+ color: ((S = (O = e.banner) == null ? void 0 : O.ctaButton) == null ? void 0 : S.textColor) || "#fff"
64
64
  },
65
65
  "data-analytics": "button",
66
66
  "data-promo-id": s,
67
67
  "data-promo-type": e.type,
68
68
  target: "_blank",
69
- children: (O = (L = e.banner) == null ? void 0 : L.ctaButton) == null ? void 0 : O.label
69
+ children: (L = (E = e.banner) == null ? void 0 : E.ctaButton) == null ? void 0 : L.label
70
70
  }
71
71
  ) })
72
72
  ] });
73
73
  };
74
74
  export {
75
- he as Overlay,
76
- ge as OverlayContainer
75
+ be as Overlay,
76
+ pe as OverlayContainer
77
77
  };
@@ -12,6 +12,7 @@ export declare const COLORS: {
12
12
  UNSUCCESS: string;
13
13
  SECONDARY_RED1: string;
14
14
  NEUTRALS_WHITE: string;
15
+ NEUTRALS_WHITE1: string;
15
16
  NEUTRALS_GRAY1: string;
16
17
  NEUTRALS_GRAY2: string;
17
18
  NEUTRALS_GRAY3: string;
@@ -27,6 +28,7 @@ export declare const COLORS_ADVERTISEMENT: {
27
28
  BG_SECONDARY1: string;
28
29
  BORDER_PRIMARY: string;
29
30
  TEXT_PRIMARY: string;
31
+ TEXT_PRIMARY1: string;
30
32
  TEXT_SECONDARY: string;
31
33
  TEXT_SECONDARY1: string;
32
34
  WHITE: string;
@@ -41,6 +43,14 @@ export declare const FONT: {
41
43
  SERIF: string;
42
44
  COLOR: string;
43
45
  WEIGHT_DEFAULT: string;
46
+ WEIGHT_DEFAULT1: string;
47
+ WEIGHT_DEFAULT2: string;
48
+ WEIGHT_DEFAULT3: string;
49
+ SIZE_DEFAULT: string;
50
+ SIZE_DEFAULT1: string;
51
+ SIZE_DEFAULT2: string;
52
+ LINE_HEIGHT: string;
53
+ MARGIN_TITLE_DEFAULT: string;
44
54
  };
45
55
  export declare const BREAKPOINTS: {
46
56
  xs: number;
@@ -1,4 +1,4 @@
1
- const e = {
1
+ const T = {
2
2
  BG_TRANSPARENT: "rgba(0,0,0, .8)",
3
3
  BLUE_QUESTION_ACTION_BTN: "#1589ee",
4
4
  WHITE: "#FFFFFF",
@@ -12,6 +12,7 @@ const e = {
12
12
  UNSUCCESS: "#DF2F3B",
13
13
  SECONDARY_RED1: "#DF2F3B",
14
14
  NEUTRALS_WHITE: "#FFFFFF",
15
+ NEUTRALS_WHITE1: "#FFFFFF",
15
16
  NEUTRALS_GRAY1: "#F7F7F7",
16
17
  NEUTRALS_GRAY2: "#F2F2F1",
17
18
  NEUTRALS_GRAY3: "#E8E8E8",
@@ -20,47 +21,56 @@ const e = {
20
21
  NEUTRALS_GRAY6: "#888B8D",
21
22
  NEUTRALS_GRAY7: "#6B6F73",
22
23
  NEUTRALS_GRAY9: "#25282A"
23
- }, T = {
24
+ }, F = {
24
25
  BG_PRIMARY: "#13212b",
25
26
  BG_SECONDARY: "#152430",
26
27
  BG_SECONDARY1: "#435059",
27
28
  BORDER_PRIMARY: "rgba(255, 255, 255, 0.1)",
28
29
  TEXT_PRIMARY: "#f9f9f9",
30
+ TEXT_PRIMARY1: "#f9f9f9",
29
31
  TEXT_SECONDARY: "rgba(255, 255, 255, 0.8)",
30
32
  TEXT_SECONDARY1: "#878787",
31
33
  WHITE: "#fff"
32
- }, _ = ["#107D57", "#DF2F3B", "#DF2F3B", "#E8E8E8"], F = "#cee5de", r = "#f9d6d8", S = "#E8E8E8", s = {
34
+ }, _ = ["#107D57", "#DF2F3B", "#DF2F3B", "#E8E8E8"], e = "#cee5de", I = "#f9d6d8", S = "#E8E8E8", N = {
33
35
  REGULAR: "'SF Pro Text', Arial, Helvetica, sans-serif",
34
36
  SERIF: "'SF Pro Display', Arial, Helvetica, sans-serif",
35
37
  COLOR: "#fff",
36
- WEIGHT_DEFAULT: "500"
37
- }, t = {
38
+ WEIGHT_DEFAULT: "500",
39
+ WEIGHT_DEFAULT1: "500",
40
+ WEIGHT_DEFAULT2: "400",
41
+ WEIGHT_DEFAULT3: "500",
42
+ SIZE_DEFAULT: "16px",
43
+ SIZE_DEFAULT1: "14px",
44
+ SIZE_DEFAULT2: "12px",
45
+ LINE_HEIGHT: "24px",
46
+ MARGIN_TITLE_DEFAULT: "24px 0px"
47
+ }, r = {
38
48
  xs: 324,
39
49
  sm: 576,
40
50
  md: 768,
41
51
  lg: 992,
42
52
  xl: 1200,
43
53
  xxl: 1440
44
- }, N = {
54
+ }, D = {
45
55
  landscape: "landscape",
46
56
  portrait: "portrait"
47
- }, o = Object.entries(e).reduce((R, [E, A]) => `
48
- ${R}
49
- --color-${E.toLowerCase().replaceAll("_", "-")}: ${A};
50
- `, ""), c = Object.entries(T).reduce((R, [E, A]) => `
51
- ${R}
52
- --color-adv-${E.toLowerCase().replaceAll("_", "-")}: ${A};
57
+ }, s = Object.entries(T).reduce((E, [R, A]) => `
58
+ ${E}
59
+ --color-${R.toLowerCase().replaceAll("_", "-")}: ${A};
60
+ `, ""), t = Object.entries(F).reduce((E, [R, A]) => `
61
+ ${E}
62
+ --color-adv-${R.toLowerCase().replaceAll("_", "-")}: ${A};
53
63
  `, "");
54
64
  export {
55
- t as BREAKPOINTS,
56
- e as COLORS,
57
- T as COLORS_ADVERTISEMENT,
58
- s as FONT,
59
- N as ORIENTATION,
65
+ r as BREAKPOINTS,
66
+ T as COLORS,
67
+ F as COLORS_ADVERTISEMENT,
68
+ N as FONT,
69
+ D as ORIENTATION,
60
70
  _ as TIMER_COLORS,
61
71
  S as TIMER_GRAY,
62
- F as TIMER_GREEN,
63
- r as TIMER_RED,
64
- o as colors,
65
- c as colorsAdvertisement
72
+ e as TIMER_GREEN,
73
+ I as TIMER_RED,
74
+ s as colors,
75
+ t as colorsAdvertisement
66
76
  };
@@ -1,14 +1,22 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
2
  import { breakpoints as d } from "./breakpoints.js";
3
- import { colors as p, colorsAdvertisement as s, FONT as i } from "./constants.js";
4
- const h = `
3
+ import { colors as p, colorsAdvertisement as s, FONT as e } from "./constants.js";
4
+ const l = `
5
5
  ${p}
6
6
  ${s}
7
- --font-family: ${i.REGULAR};
8
- --font-regular: ${i.REGULAR};
9
- --font-color: ${i.COLOR};
10
- --font-serif: ${i.SERIF};
11
- --font-weight-default: ${i.WEIGHT_DEFAULT};
7
+ --font-family: ${e.REGULAR};
8
+ --font-regular: ${e.REGULAR};
9
+ --font-color: ${e.COLOR};
10
+ --font-serif: ${e.SERIF};
11
+ --font-weight-default: ${e.WEIGHT_DEFAULT};
12
+ --font-weight-default1: ${e.WEIGHT_DEFAULT1};
13
+ --font-weight-default2: ${e.WEIGHT_DEFAULT2};
14
+ --font-weight-default3: ${e.WEIGHT_DEFAULT3};
15
+ --font-size-default: ${e.SIZE_DEFAULT};
16
+ --font-size-default1: ${e.SIZE_DEFAULT1};
17
+ --font-size-default2: ${e.SIZE_DEFAULT2};
18
+ --line-height-default: ${e.LINE_HEIGHT};
19
+ --margin-title-default: ${e.MARGIN_TITLE_DEFAULT};
12
20
 
13
21
  --header-offset: 0px;
14
22
  --header-height: 68px;
@@ -22,6 +30,20 @@ const h = `
22
30
  --pill-offset: 0px;
23
31
  --max-width: 600px;
24
32
  --max-notifications-width: 400px;
33
+ --promo-header-line-height: 18.5px;
34
+ --row-gap-default: 12px;
35
+ --row-gap-default1: 12px;
36
+ --row-gap-default2: 16px;
37
+ --header-padding: 12px 12px 12px 16px;
38
+ --margin-web-link-btn: 0px;
39
+ --padding-web-link-btn: 11px 16px;
40
+ --insight-content-padding: 0px;
41
+ --close-icon-size: 12px;
42
+ --close-icon-stroke-width: 1.5;
43
+ --padding-title-default: 0px;
44
+ --insight-image-display: inline;
45
+ --web-link-align-items: center;
46
+ --web-link-column-gap: 10px;
25
47
 
26
48
  ${d.down("xl")`
27
49
  --header-offset: 0px;
@@ -64,23 +86,23 @@ const h = `
64
86
  --adv-sponsor-logo-size: 28px;
65
87
  --adv-sponsor-font-size: 12px;
66
88
  }
67
- `, v = "StreamLayerCSSReset", f = "ttkj0ah", c = () => /* @__PURE__ */ e("table", {
68
- children: /* @__PURE__ */ t("table", {
69
- children: [/* @__PURE__ */ e("thead", {
70
- children: /* @__PURE__ */ t("tr", {
71
- children: [/* @__PURE__ */ e("th", {
89
+ `, m = "StreamLayerCSSReset", g = "ttkj0ah", c = () => /* @__PURE__ */ t("table", {
90
+ children: /* @__PURE__ */ i("table", {
91
+ children: [/* @__PURE__ */ t("thead", {
92
+ children: /* @__PURE__ */ i("tr", {
93
+ children: [/* @__PURE__ */ t("th", {
72
94
  children: "name"
73
- }), /* @__PURE__ */ e("th", {
95
+ }), /* @__PURE__ */ t("th", {
74
96
  children: "value"
75
97
  })]
76
98
  })
77
- }), /* @__PURE__ */ e("tbody", {
78
- children: h.split(";").map((o) => {
79
- const a = o.trim(), [n, r] = a.split(":");
80
- return /* @__PURE__ */ t("tr", {
81
- children: [/* @__PURE__ */ e("td", {
82
- children: n
83
- }), /* @__PURE__ */ e("td", {
99
+ }), /* @__PURE__ */ t("tbody", {
100
+ children: l.split(";").map((n) => {
101
+ const a = n.trim(), [o, r] = a.split(":");
102
+ return /* @__PURE__ */ i("tr", {
103
+ children: [/* @__PURE__ */ t("td", {
104
+ children: o
105
+ }), /* @__PURE__ */ t("td", {
84
106
  children: r
85
107
  })]
86
108
  }, a);
@@ -90,7 +112,7 @@ const h = `
90
112
  });
91
113
  export {
92
114
  c as ThemeVariables,
93
- v as resetCss,
94
- f as theme,
95
- h as themeStr
115
+ m as resetCss,
116
+ g as theme,
117
+ l as themeStr
96
118
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -59,18 +59,18 @@
59
59
  "react-virtualized-auto-sizer": "^1.0.24",
60
60
  "react-window": "^1.8.10",
61
61
  "react-window-infinite-loader": "^1.0.9",
62
- "@streamlayer/feature-gamification": "^1.6.0",
63
- "@streamlayer/sdk-web": "^1.3.0",
64
- "@streamlayer/sdk-web-analytics": "^1.3.0",
65
- "@streamlayer/sdk-web-anonymous-auth": "^1.0.17",
66
- "@streamlayer/sdk-web-api": "^1.5.0",
67
- "@streamlayer/sdk-web-features": "^1.0.17",
68
- "@streamlayer/sdk-web-core": "^1.4.0",
69
- "@streamlayer/sdk-web-interfaces": "^1.1.12",
70
- "@streamlayer/sdk-web-logger": "^1.0.17",
71
- "@streamlayer/sdk-web-notifications": "^1.1.12",
72
- "@streamlayer/sdk-web-storage": "^1.0.17",
73
- "@streamlayer/sdk-web-types": "^1.6.0"
62
+ "@streamlayer/feature-gamification": "^1.6.1",
63
+ "@streamlayer/sdk-web": "^1.3.1",
64
+ "@streamlayer/sdk-web-analytics": "^1.3.1",
65
+ "@streamlayer/sdk-web-anonymous-auth": "^1.0.18",
66
+ "@streamlayer/sdk-web-api": "^1.5.1",
67
+ "@streamlayer/sdk-web-core": "^1.4.1",
68
+ "@streamlayer/sdk-web-features": "^1.0.18",
69
+ "@streamlayer/sdk-web-interfaces": "^1.1.13",
70
+ "@streamlayer/sdk-web-logger": "^1.0.18",
71
+ "@streamlayer/sdk-web-notifications": "^1.1.13",
72
+ "@streamlayer/sdk-web-storage": "^1.0.18",
73
+ "@streamlayer/sdk-web-types": "^1.6.1"
74
74
  },
75
75
  "nx": {
76
76
  "implicitDependencies": [
@@ -111,6 +111,6 @@
111
111
  "vite-plugin-svgr": "^4.2.0",
112
112
  "vite-svg-loader": "^5.1.0",
113
113
  "vite-tsconfig-paths": "^5.0.1",
114
- "@streamlayer/react": "^1.5.0"
114
+ "@streamlayer/react": "^1.5.1"
115
115
  }
116
116
  }