@streamlayer/react-ui 0.66.0 → 0.67.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 (83) hide show
  1. package/lib/LeaderBoard_16p26hz-4ed993c7.js +1 -0
  2. package/lib/assets/style.css +1 -0
  3. package/lib/index.js +4 -5
  4. package/lib/index_4nhkck-4ed993c7.js +1 -0
  5. package/lib/masters_k70xsy-4ed993c7.js +1 -0
  6. package/lib/ui/app/Features/FeatureProvider.js +1 -1
  7. package/lib/ui/app/Features/Gamification/Question.js +47 -34
  8. package/lib/ui/app/Features/Gamification/gamification-feature.d.ts +2 -0
  9. package/lib/ui/app/Features/Gamification/gamification-feature.js +66 -0
  10. package/lib/ui/app/Features/Gamification/index.d.ts +0 -1
  11. package/lib/ui/app/Features/Gamification/index.js +51 -38
  12. package/lib/ui/app/Features/index.js +1 -1
  13. package/lib/ui/app/Navigation/MastersNavigation/index.js +13 -10
  14. package/lib/ui/app/Navigation/index.js +13 -12
  15. package/lib/ui/app/Notifications/Onboarding/Notification/index.d.ts +8 -0
  16. package/lib/ui/app/Notifications/Onboarding/Notification/index.js +21 -0
  17. package/lib/ui/app/Notifications/Onboarding/Notification/styles.d.ts +10 -0
  18. package/lib/ui/app/Notifications/Onboarding/Notification/styles.js +52 -0
  19. package/lib/ui/app/Notifications/Onboarding/index.js +95 -73
  20. package/lib/ui/app/Notifications/index.js +37 -13
  21. package/lib/ui/app/Notifications/styles.js +8 -13
  22. package/lib/ui/app/masters.js +49 -28
  23. package/lib/ui/app/styles.js +20 -35
  24. package/lib/ui/app/useMastersApp.js +52 -36
  25. package/lib/ui/button/styles.js +12 -42
  26. package/lib/ui/gamification/detail/header/styles.js +33 -55
  27. package/lib/ui/gamification/detail/sponsor/index.js +18 -11
  28. package/lib/ui/gamification/insight/styles.js +40 -61
  29. package/lib/ui/gamification/insight-list/styles.js +11 -17
  30. package/lib/ui/gamification/invite-link/styles.js +31 -45
  31. package/lib/ui/gamification/leaderboard/list-item/styles.js +42 -64
  32. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +31 -44
  33. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +72 -99
  34. package/lib/ui/gamification/onboarding/slides/onboarding-rules/styles.js +41 -80
  35. package/lib/ui/gamification/onboarding/styles.js +38 -48
  36. package/lib/ui/gamification/points/index.d.ts +1 -1
  37. package/lib/ui/gamification/points/index.js +4 -6
  38. package/lib/ui/gamification/points/styles.js +32 -81
  39. package/lib/ui/gamification/question/insight/styles.js +11 -51
  40. package/lib/ui/gamification/question/list/styles.js +7 -9
  41. package/lib/ui/gamification/question/notification/insight/styles.js +27 -64
  42. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.js +82 -163
  43. package/lib/ui/gamification/question/notification/prediction-result/styles.js +53 -128
  44. package/lib/ui/gamification/question/notification/styles.js +43 -83
  45. package/lib/ui/gamification/question/notification/tweet/styles.js +35 -64
  46. package/lib/ui/gamification/question/styles.js +68 -94
  47. package/lib/ui/gamification/question/twitter/styles.js +13 -23
  48. package/lib/ui/gamification/tabs/styles.js +22 -65
  49. package/lib/ui/gamification/user-statistics/components/rank/styles.js +17 -23
  50. package/lib/ui/gamification/user-statistics/components/statistic/styles.js +17 -21
  51. package/lib/ui/gamification/user-statistics/styles.js +85 -120
  52. package/lib/ui/gamification/vote/expired-alert/styles.js +17 -27
  53. package/lib/ui/gamification/vote/feedback/styles.js +36 -64
  54. package/lib/ui/gamification/vote/insight-details/styles.js +12 -23
  55. package/lib/ui/gamification/vote/styles.js +22 -31
  56. package/lib/ui/gamification/vote/twitter-details/styles.js +7 -9
  57. package/lib/ui/gamification/vote/vote-option/styles.js +63 -147
  58. package/lib/ui/gamification/vote/win-bar/styles.js +37 -45
  59. package/lib/ui/icons/index.js +29 -14
  60. package/lib/ui/login/styles.js +37 -69
  61. package/lib/ui/navigation/button/Channels.js +19 -27
  62. package/lib/ui/navigation/button/FeaturedGroups.js +18 -26
  63. package/lib/ui/navigation/button/LeaderBoard.js +20 -21
  64. package/lib/ui/navigation/button/styles.js +16 -56
  65. package/lib/ui/navigation/index.js +13 -7
  66. package/lib/ui/navigation/masters.js +8 -32
  67. package/lib/ui/questions/insight/styles.js +26 -30
  68. package/lib/ui/questions/twitter/account/styles.js +30 -35
  69. package/lib/ui/questions/twitter/styles.js +31 -42
  70. package/lib/ui/show-in/index.js +18 -63
  71. package/lib/ui/theme/index.js +3 -4
  72. package/lib/ui/theme/masters.js +2 -9
  73. package/lib/ui/theme/theme.js +36 -32
  74. package/lib/ui/timer/index.js +36 -32
  75. package/lib/ui/video-player/styles.js +22 -27
  76. package/lib/utils/debug/components/bypassLogin.js +44 -60
  77. package/lib/utils/debug/components/developer.js +54 -86
  78. package/lib/utils/debug/components/envToggle.js +33 -58
  79. package/lib/utils/debug/components/eventInput.js +4 -4
  80. package/lib/utils/debug/components/styles.js +7 -49
  81. package/lib/utils/decorators/container.js +3 -4
  82. package/lib/utils/decorators/styles.js +7 -21
  83. package/package.json +13 -9
@@ -1,29 +1,24 @@
1
- import { styled as o } from "@linaria/react";
2
- const i = o.div`
3
- display: flex;
4
- position: relative;
5
- border-radius: 8px;
6
- overflow: hidden;
7
- cursor: pointer;
8
- `, e = o.video`
9
- width: 100%;
10
- `, r = o.img`
11
- position: absolute;
12
- top: 0;
13
- left: 0;
14
- width: 100%;
15
- height: 100%;
16
- `, s = o.div`
17
- display: flex;
18
- position: absolute;
19
- top: 50%;
20
- left: 50%;
21
- transform: translate(-50%, -50%);
22
- cursor: pointer;
23
- `;
1
+ import { styled as s } from "@linaria/react";
2
+ const e = /* @__PURE__ */ s("div")({
3
+ name: "Container",
4
+ class: "c1bgb86j",
5
+ propsAsIs: !1
6
+ }), a = /* @__PURE__ */ s("video")({
7
+ name: "Player",
8
+ class: "p6703cq",
9
+ propsAsIs: !1
10
+ }), l = /* @__PURE__ */ s("img")({
11
+ name: "Poster",
12
+ class: "p12ow7zo",
13
+ propsAsIs: !1
14
+ }), n = /* @__PURE__ */ s("div")({
15
+ name: "Control",
16
+ class: "cdpal9o",
17
+ propsAsIs: !1
18
+ });
24
19
  export {
25
- i as Container,
26
- s as Control,
27
- e as Player,
28
- r as Poster
20
+ e as Container,
21
+ n as Control,
22
+ a as Player,
23
+ l as Poster
29
24
  };
@@ -1,63 +1,47 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { styled as c } from "@linaria/react";
3
- import { useState as a } from "react";
4
- const d = c.div`
5
- display: flex;
6
- background: rgb(29, 123, 255);
7
- padding: 4px 6px;
8
- border-radius: 5px;
9
- font-size: 16px;
10
-
11
- input {
12
- display: block;
13
- width: 100%;
14
- color: #fff;
15
- font-size: 24px;
16
- border: none;
17
- padding: 2px;
18
- padding-left: 10px;
19
- background: linear-gradient(136.45deg, rgba(60, 139, 251, 0.3) 0.57%, rgba(0, 79, 190, 0.3) 100%);
20
- border: 1px solid transparent;
21
- outline: none;
22
-
23
- &:focus {
24
- border-color: rgb(29, 123, 255);
25
- }
26
- }
27
-
28
- label {
29
- margin-right: 4px;
30
- }
31
-
32
- button {
33
- width: 150px;
34
- color: #fff;
35
- background: transparent;
36
- margin: 0;
37
- padding: 0;
38
- cursor: pointer;
39
- border: none;
40
- text-transform: uppercase;
41
- }
42
-
43
- margin-bottom: 2px;
44
- `, x = ({ sdk: l, storage: t }) => {
45
- const [n, s] = a(t.getSchema() || ""), [o, p] = a(t.getToken() || "");
46
- return /* @__PURE__ */ i("div", { children: [
47
- /* @__PURE__ */ i(d, { children: [
48
- /* @__PURE__ */ e("label", { children: "Bypass Schema" }),
49
- /* @__PURE__ */ e("input", { type: "text", value: n, onChange: (r) => s(r.target.value) }),
50
- /* @__PURE__ */ e("button", { style: { visibility: "hidden" }, children: "login" })
51
- ] }),
52
- /* @__PURE__ */ i(d, { children: [
53
- /* @__PURE__ */ e("label", { children: "Bypass Token" }),
54
- /* @__PURE__ */ e("input", { type: "text", disabled: !n, value: o, onChange: (r) => p(r.target.value) }),
55
- /* @__PURE__ */ e("button", { disabled: !n || !o, onClick: async () => {
56
- await l.authorizationBypass(n, o), t.setSchema(n), t.setToken(o);
57
- }, children: "login" })
58
- ] })
59
- ] });
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { styled as r } from "@linaria/react";
3
+ import { useState as o } from "react";
4
+ const a = /* @__PURE__ */ r("div")({
5
+ name: "InputField",
6
+ class: "i1vlsnk4",
7
+ propsAsIs: !1
8
+ }), g = ({
9
+ sdk: c,
10
+ storage: t
11
+ }) => {
12
+ const [n, d] = o(t.getSchema() || ""), [s, p] = o(t.getToken() || "");
13
+ return /* @__PURE__ */ l("div", {
14
+ children: [/* @__PURE__ */ l(a, {
15
+ children: [/* @__PURE__ */ e("label", {
16
+ children: "Bypass Schema"
17
+ }), /* @__PURE__ */ e("input", {
18
+ type: "text",
19
+ value: n,
20
+ onChange: (i) => d(i.target.value)
21
+ }), /* @__PURE__ */ e("button", {
22
+ style: {
23
+ visibility: "hidden"
24
+ },
25
+ children: "login"
26
+ })]
27
+ }), /* @__PURE__ */ l(a, {
28
+ children: [/* @__PURE__ */ e("label", {
29
+ children: "Bypass Token"
30
+ }), /* @__PURE__ */ e("input", {
31
+ type: "text",
32
+ disabled: !n,
33
+ value: s,
34
+ onChange: (i) => p(i.target.value)
35
+ }), /* @__PURE__ */ e("button", {
36
+ disabled: !n || !s,
37
+ onClick: async () => {
38
+ await c.authorizationBypass(n, s), t.setSchema(n), t.setToken(s);
39
+ },
40
+ children: "login"
41
+ })]
42
+ })]
43
+ });
60
44
  };
61
45
  export {
62
- x as BypassLogin
46
+ g as BypassLogin
63
47
  };
@@ -1,96 +1,64 @@
1
- import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
- import { styled as p } from "@linaria/react";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { styled as s } from "@linaria/react";
3
3
  import { useMemo as g, useState as u } from "react";
4
- import { DeveloperStorage as b } from "../../storage.js";
5
- import { BypassLogin as h } from "./bypassLogin.js";
6
- import { EnvToggle as v } from "./envToggle.js";
7
- import { EventInput as y } from "./eventInput.js";
8
- import { SdkKey as w } from "./sdkKey.js";
4
+ import { DeveloperStorage as D } from "../../storage.js";
5
+ import { BypassLogin as I } from "./bypassLogin.js";
6
+ import { EnvToggle as B } from "./envToggle.js";
7
+ import { EventInput as x } from "./eventInput.js";
8
+ import { SdkKey as h } from "./sdkKey.js";
9
9
  import "@streamlayer/sdk-web-storage";
10
10
  import "@nanostores/react";
11
11
  import "@streamlayer/sdk-web-core";
12
12
  import "./styles.js";
13
- const D = p.div`
14
- position: fixed;
15
- bottom: 0;
16
- right: 0;
17
- max-width: 600px;
18
-
19
- font-family: system-ui;
20
- background: rgba(29, 123, 255, 0.5);
21
- border-top-left-radius: 10px;
22
- backdrop-filter: blur(5px);
23
- `, j = p.div`
24
- flex-direction: column;
25
- gap: 10px;
26
- margin-right: 60px;
27
- display: flex;
28
- margin-left: 10px;
29
- margin-top: 10px;
30
- `, k = p.button`
31
- position: absolute;
32
- z-index: 10000;
33
- bottom: 10px;
34
- right: 10px;
35
- width: 40px;
36
- height: 40px;
37
- display: flex;
38
- flex-direction: column;
39
- justify-content: space-around;
40
- background: rgb(29, 123, 255);
41
- border: none;
42
- border-radius: 6px;
43
- padding: 10px;
44
- cursor: pointer;
45
- transition: all 0.1s ease;
46
-
47
- &:hover {
48
- padding-top: 8px;
49
- padding-bottom: 8px;
50
- }
51
-
52
- &:active {
53
- transform: translateY(4px);
54
- }
55
-
56
- &[data-opened='true'] {
57
- span:nth-child(odd) {
58
- opacity: 0;
59
- }
60
- }
61
-
62
- span {
63
- display: block;
64
- background: #fff;
65
- border-radius: 4px;
66
- width: 100%;
67
- height: 4px;
68
- }
69
- `, A = ({
70
- sdk: t,
71
- sdkKey: d,
72
- setSdkKey: i,
73
- env: s,
13
+ const j = /* @__PURE__ */ s("div")({
14
+ name: "DeveloperContainer",
15
+ class: "d1sqxt7l",
16
+ propsAsIs: !1
17
+ }), A = /* @__PURE__ */ s("div")({
18
+ name: "DeveloperItems",
19
+ class: "d1a3478s",
20
+ propsAsIs: !1
21
+ }), C = /* @__PURE__ */ s("button")({
22
+ name: "BurgerBtn",
23
+ class: "butjcq8",
24
+ propsAsIs: !1
25
+ }), F = ({
26
+ sdk: o,
27
+ sdkKey: i,
28
+ setSdkKey: p,
29
+ env: a,
74
30
  setEnv: n,
75
- event: m,
76
- setEvent: l,
77
- hideAuth: x
31
+ event: l,
32
+ setEvent: c,
33
+ hideAuth: f
78
34
  }) => {
79
- const r = g(() => new b(), []), [a, c] = u(!1);
80
- return /* @__PURE__ */ e(D, { children: [
81
- /* @__PURE__ */ e(k, { "data-opened": a.toString(), onClick: () => c((f) => !f), children: [
82
- /* @__PURE__ */ o("span", {}),
83
- /* @__PURE__ */ o("span", {}),
84
- /* @__PURE__ */ o("span", {})
85
- ] }),
86
- a && /* @__PURE__ */ e(j, { children: [
87
- n && /* @__PURE__ */ o(v, { env: s, setEnv: n, storage: r }),
88
- i && /* @__PURE__ */ o(w, { sdkKey: d, setSdkKey: i, storage: r }),
89
- t && /* @__PURE__ */ o(y, { sdk: t, storage: r, event: m, setEvent: l }),
90
- !x && t && /* @__PURE__ */ o(h, { sdk: t, storage: r })
91
- ] })
92
- ] });
35
+ const r = g(() => new D(), []), [m, d] = u(!1);
36
+ return /* @__PURE__ */ t(j, {
37
+ children: [/* @__PURE__ */ t(C, {
38
+ "data-opened": m.toString(),
39
+ onClick: () => d((v) => !v),
40
+ children: [/* @__PURE__ */ e("span", {}), /* @__PURE__ */ e("span", {}), /* @__PURE__ */ e("span", {})]
41
+ }), m && /* @__PURE__ */ t(A, {
42
+ children: [n && /* @__PURE__ */ e(B, {
43
+ env: a,
44
+ setEnv: n,
45
+ storage: r
46
+ }), p && /* @__PURE__ */ e(h, {
47
+ sdkKey: i,
48
+ setSdkKey: p,
49
+ storage: r
50
+ }), o && /* @__PURE__ */ e(x, {
51
+ sdk: o,
52
+ storage: r,
53
+ event: l,
54
+ setEvent: c
55
+ }), !f && o && /* @__PURE__ */ e(I, {
56
+ sdk: o,
57
+ storage: r
58
+ })]
59
+ })]
60
+ });
93
61
  };
94
62
  export {
95
- A as Developer
63
+ F as Developer
96
64
  };
@@ -1,60 +1,35 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { styled as o } from "@linaria/react";
3
- const d = o.div`
4
- display: flex;
5
- align-items: center;
6
- padding: 4px 6px;
7
- font-size: 16px;
8
- user-select: none;
9
-
10
- label {
11
- cursor: pointer;
12
- }
13
- `, a = o.div`
14
- width: 2rem;
15
- height: 1rem;
16
- background: #fff;
17
- border-radius: 1em;
18
- position: relative;
19
- margin-left: 5px;
20
-
21
- input {
22
- opacity: 0;
23
- position: relative;
24
- z-index: 1;
25
- width: 100%;
26
- cursor: pointer;
27
-
28
- &:checked + span {
29
- transform: translate3d(100%, 0, 0);
30
- background: green;
31
- }
32
- }
33
-
34
- span {
35
- display: block;
36
- position: absolute;
37
- top: 0;
38
- left: 0;
39
- height: 1rem;
40
- width: 1rem;
41
- border-radius: 1em;
42
- background: gray;
43
- box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.3);
44
- transition: all 300ms;
45
- }
46
- `, m = ({ env: r, setEnv: i, storage: s }) => /* @__PURE__ */ t(d, { children: [
47
- /* @__PURE__ */ e("label", { htmlFor: "slEnvCheckbox", children: "Production:" }),
48
- /* @__PURE__ */ t(a, { children: [
49
- /* @__PURE__ */ e("input", { id: "slEnvCheckbox", type: "checkbox", checked: r === "production", onChange: () => {
50
- i((c) => {
51
- const n = c === "production" ? "development" : "production";
52
- return s.setEnv(n), n;
53
- });
54
- } }),
55
- /* @__PURE__ */ e("span", {})
56
- ] })
57
- ] });
1
+ import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
+ import { styled as e } from "@linaria/react";
3
+ const l = /* @__PURE__ */ e("div")({
4
+ name: "Switch",
5
+ class: "s14ex8bw",
6
+ propsAsIs: !1
7
+ }), p = /* @__PURE__ */ e("div")({
8
+ name: "SwitchInput",
9
+ class: "s1fwty0k",
10
+ propsAsIs: !1
11
+ }), a = ({
12
+ env: o,
13
+ setEnv: c,
14
+ storage: i
15
+ }) => /* @__PURE__ */ t(l, {
16
+ children: [/* @__PURE__ */ n("label", {
17
+ htmlFor: "slEnvCheckbox",
18
+ children: "Production:"
19
+ }), /* @__PURE__ */ t(p, {
20
+ children: [/* @__PURE__ */ n("input", {
21
+ id: "slEnvCheckbox",
22
+ type: "checkbox",
23
+ checked: o === "production",
24
+ onChange: () => {
25
+ c((r) => {
26
+ const s = r === "production" ? "development" : "production";
27
+ return i.setEnv(s), s;
28
+ });
29
+ }
30
+ }), /* @__PURE__ */ n("span", {})]
31
+ })]
32
+ });
58
33
  export {
59
- m as EnvToggle
34
+ a as EnvToggle
60
35
  };
@@ -4,16 +4,16 @@ import { useEffect as m } from "react";
4
4
  import "@streamlayer/sdk-web-core";
5
5
  import { InputField as u } from "./styles.js";
6
6
  import "@linaria/react";
7
- const y = ({ sdk: o, storage: i, event: e, setEvent: l }) => {
7
+ const y = ({ sdk: o, storage: i, event: e, setEvent: a }) => {
8
8
  var n;
9
- const { organizationSettings: r } = d(o.sdkStore), a = !((n = r == null ? void 0 : r.data) != null && n.provider), s = () => {
9
+ const r = d(o.sdkStore.organizationSettings), l = !((n = r == null ? void 0 : r.data) != null && n.provider), s = () => {
10
10
  o.createEventSession(e), i.setEvent(e);
11
11
  };
12
12
  return m(() => {
13
13
  e && s();
14
14
  }, []), /* @__PURE__ */ t("div", { children: /* @__PURE__ */ c(u, { children: [
15
- /* @__PURE__ */ t("label", { children: a ? "Use StreamLayer event ids" : "Use your provider event ids" }),
16
- /* @__PURE__ */ t("input", { type: "text", value: e, onChange: (p) => l(p.target.value) }),
15
+ /* @__PURE__ */ t("label", { children: l ? "Use StreamLayer event ids" : "Use your provider event ids" }),
16
+ /* @__PURE__ */ t("input", { type: "text", value: e, onChange: (p) => a(p.target.value) }),
17
17
  /* @__PURE__ */ t("button", { onClick: s, children: "set" })
18
18
  ] }) });
19
19
  };
@@ -1,51 +1,9 @@
1
- import { styled as r } from "@linaria/react";
2
- const n = r.div`
3
- display: flex;
4
- background: rgb(29, 123, 255);
5
- padding: 4px 6px;
6
- border-radius: 5px;
7
- font-size: 16px;
8
-
9
- input {
10
- display: block;
11
- width: 100%;
12
- color: #fff;
13
- font-size: 24px;
14
- border: none;
15
- padding: 2px;
16
- padding-left: 10px;
17
- background: linear-gradient(136.45deg, rgba(60, 139, 251, 0.3) 0.57%, rgba(0, 79, 190, 0.3) 100%);
18
- border: 1px solid transparent;
19
- outline: none;
20
-
21
- &:focus {
22
- border-color: rgb(29, 123, 255);
23
- }
24
- }
25
-
26
- label {
27
- margin-right: 4px;
28
- }
29
-
30
- button {
31
- width: 150px;
32
- color: #fff;
33
- background: transparent;
34
- margin: 0;
35
- padding: 0;
36
- cursor: pointer;
37
- border: none;
38
- text-transform: uppercase;
39
-
40
- &:hover {
41
- transform: scale(1.1);
42
- }
43
-
44
- &:active {
45
- transform: scale(0.9);
46
- }
47
- }
48
- `;
1
+ import { styled as s } from "@linaria/react";
2
+ const t = /* @__PURE__ */ s("div")({
3
+ name: "InputField",
4
+ class: "iwjhb00",
5
+ propsAsIs: !1
6
+ });
49
7
  export {
50
- n as InputField
8
+ t as InputField
51
9
  };
@@ -2,11 +2,10 @@ import { jsx as r } from "react/jsx-runtime";
2
2
  import { StreamLayerThemeProvider as o } from "../../ui/theme/index.js";
3
3
  import { AppContainer as t } from "./styles.js";
4
4
  import "../../ui/theme/theme.js";
5
- import "@linaria/core";
6
5
  import "../../ui/theme/constants.js";
7
6
  import "@linaria/react";
8
- const a = (e) => /* @__PURE__ */ r(o, { children: /* @__PURE__ */ r(e, {}) }), l = (e) => /* @__PURE__ */ r(o, { children: /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(e, {}) }) }) });
7
+ const h = (e) => /* @__PURE__ */ r(o, { children: /* @__PURE__ */ r(e, {}) }), a = (e) => /* @__PURE__ */ r(o, { children: /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(e, {}) }) }) });
9
8
  export {
10
- l as container,
11
- a as theme
9
+ a as container,
10
+ h as theme
12
11
  };
@@ -1,23 +1,9 @@
1
- import { styled as o } from "@linaria/react";
2
- const i = o.div`
3
- width: 100vw;
4
- height: 100vh;
5
- padding: 20px;
6
- box-sizing: border-box;
7
- margin: 0;
8
- font-family: var(--font-family);
9
- color: var(--font-color);
10
-
11
- & > div {
12
- box-sizing: border-box;
13
- width: 370px;
14
- height: 100%;
15
- border-radius: 12px;
16
- overflow: auto;
17
- padding: 10px;
18
- background-color: var(--color-bg-transparent);
19
- }
20
- `;
1
+ import { styled as s } from "@linaria/react";
2
+ const o = /* @__PURE__ */ s("div")({
3
+ name: "AppContainer",
4
+ class: "azqfrs3",
5
+ propsAsIs: !1
6
+ });
21
7
  export {
22
- i as AppContainer
8
+ o as AppContainer
23
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "0.66.0",
3
+ "version": "0.67.1",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -24,6 +24,10 @@
24
24
  "import": "./lib/*/index.js",
25
25
  "default": "./lib/*/index.js",
26
26
  "types": "./lib/*/index.d.js"
27
+ },
28
+ "./style.css": {
29
+ "import": "./lib/assets/style.css",
30
+ "require": "./lib/assets/style.css"
27
31
  }
28
32
  },
29
33
  "files": [
@@ -36,16 +40,16 @@
36
40
  "react-window": "^1.8.9",
37
41
  "@lottiefiles/react-lottie-player": "*",
38
42
  "react-window-infinite-loader": "^1.0.9",
39
- "@streamlayer/feature-gamification": "^0.26.1",
40
- "@streamlayer/sdk-web": "^0.28.23",
41
- "@streamlayer/sdk-web-anonymous-auth": "^0.11.18",
43
+ "@streamlayer/feature-gamification": "^0.26.2",
44
+ "@streamlayer/sdk-web": "^0.28.24",
45
+ "@streamlayer/sdk-web-anonymous-auth": "^0.11.19",
42
46
  "@streamlayer/sdk-web-api": "^0.0.1",
43
- "@streamlayer/sdk-web-features": "^0.10.26",
44
- "@streamlayer/sdk-web-core": "^0.17.8",
47
+ "@streamlayer/sdk-web-core": "^0.0.1",
48
+ "@streamlayer/sdk-web-features": "^0.10.27",
45
49
  "@streamlayer/sdk-web-interfaces": "^0.18.15",
46
- "@streamlayer/sdk-web-notifications": "^0.13.0",
50
+ "@streamlayer/sdk-web-notifications": "^0.13.1",
47
51
  "@streamlayer/sdk-web-storage": "^0.0.4",
48
- "@streamlayer/sdk-web-types": "^0.20.1"
52
+ "@streamlayer/sdk-web-types": "^0.0.1"
49
53
  },
50
54
  "nx": {
51
55
  "implicitDependencies": [
@@ -84,6 +88,6 @@
84
88
  "vite-plugin-svgr": "^4.1.0",
85
89
  "vite-svg-loader": "^4.0.0",
86
90
  "vite-tsconfig-paths": "^4.2.1",
87
- "@streamlayer/react": "^0.29.11"
91
+ "@streamlayer/react": "^0.30.1"
88
92
  }
89
93
  }