@streamlayer/react-ui 1.23.5 → 1.24.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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
2
  import { breakpoints as a } from "./breakpoints.js";
3
3
  import { colors as p, colorsAdvertisement as s, FONT as e } from "./constants.js";
4
- const l = `
4
+ const x = `
5
5
  ${p}
6
6
  ${s}
7
7
  --font-family: ${e.REGULAR};
@@ -70,6 +70,7 @@ const l = `
70
70
  --adv-top-indent: 12px;
71
71
  --adv-header-height: 52px;
72
72
  --adv-media-row-gap: 24px;
73
+ --adv-media-button-indent: 10px;
73
74
  --adv-media-padding: 0 26.5px;
74
75
  --adv-sponsor-logo-size: 32px;
75
76
  --adv-sponsor-font-size: 16px;
@@ -93,6 +94,7 @@ const l = `
93
94
  --adv-header-border: none;
94
95
  --adv-header-height: 48px;
95
96
  --adv-media-row-gap: 22.5px;
97
+ --adv-media-button-indent: 22.5px;
96
98
  --adv-sponsor-logo-size: 28px;
97
99
  --adv-sponsor-font-size: 12px;
98
100
  }
@@ -158,13 +160,13 @@ const l = `
158
160
  })]
159
161
  })
160
162
  }), /* @__PURE__ */ t("tbody", {
161
- children: l.split(";").map((o) => {
162
- const n = o.trim(), [r, d] = n.split(":");
163
+ children: x.split(";").map((o) => {
164
+ const n = o.trim(), [d, r] = n.split(":");
163
165
  return /* @__PURE__ */ i("tr", {
164
166
  children: [/* @__PURE__ */ t("td", {
165
- children: r
166
- }), /* @__PURE__ */ t("td", {
167
167
  children: d
168
+ }), /* @__PURE__ */ t("td", {
169
+ children: r
168
170
  })]
169
171
  }, n);
170
172
  })
@@ -175,5 +177,5 @@ export {
175
177
  g as ThemeVariables,
176
178
  h as resetCss,
177
179
  m as theme,
178
- l as themeStr
180
+ x as themeStr
179
181
  };
@@ -1,25 +1,25 @@
1
- import { createPromiseClient as o } from "@connectrpc/connect";
2
- import { createGrpcWebTransport as i } from "@connectrpc/connect-web";
3
- import { Users as a } from "@streamlayer/sl-eslib/users/users_connect";
4
- const C = async (r, t) => {
5
- const e = i({
6
- baseUrl: r
1
+ import { createClient as o } from "@connectrpc/connect";
2
+ import { createGrpcWebTransport as a } from "@connectrpc/connect-web";
3
+ import { Users as i } from "@streamlayer/sl-eslib/users/users_pb";
4
+ const m = async (t, r) => {
5
+ const e = a({
6
+ baseUrl: t
7
7
  });
8
- return await o(a, e).requestPassword({ id: t }), !0;
9
- }, d = async (r, t) => {
10
- const e = i({
11
- baseUrl: r
8
+ return await o(i, e).requestPassword({ id: r }), !0;
9
+ }, d = async (t, r) => {
10
+ const e = a({
11
+ baseUrl: t
12
12
  });
13
- return await o(a, e).register({ id: t }), !0;
14
- }, w = async (r, t, e) => {
13
+ return await o(i, e).register({ id: r }), !0;
14
+ }, w = async (t, r, e) => {
15
15
  var c;
16
- const s = i({
17
- baseUrl: r
18
- }), n = await o(a, s).login({ id: t, password: e });
16
+ const s = a({
17
+ baseUrl: t
18
+ }), n = await o(i, s).login({ id: r, password: e });
19
19
  return (c = n == null ? void 0 : n.meta) == null ? void 0 : c.jwt;
20
20
  };
21
21
  export {
22
22
  w as login,
23
23
  d as register,
24
- C as requestLoginCode
24
+ m as requestLoginCode
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "1.23.5",
3
+ "version": "1.24.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -61,7 +61,7 @@
61
61
  ],
62
62
  "peerDependencies": {
63
63
  "@lottiefiles/react-lottie-player": "^3.5.4",
64
- "@streamlayer/sl-eslib": "^5.149.1",
64
+ "@streamlayer/sl-eslib": "^5.163.2",
65
65
  "@types/lodash.throttle": "^4.1.9",
66
66
  "lodash.throttle": "^4.1.1",
67
67
  "react-infinite-scroller": "^1.2.6",
@@ -69,19 +69,19 @@
69
69
  "react-window": "^1.8.10",
70
70
  "react-window-infinite-loader": "^1.0.9",
71
71
  "uuid": "^11.1.0",
72
- "@streamlayer/feature-gamification": "^1.16.14",
73
- "@streamlayer/react-polyfills": "^0.1.21",
74
- "@streamlayer/sdk-web": "^1.10.14",
75
- "@streamlayer/sdk-web-anonymous-auth": "^1.1.40",
76
- "@streamlayer/sdk-web-analytics": "^1.7.14",
77
- "@streamlayer/sdk-web-api": "^1.8.14",
78
- "@streamlayer/sdk-web-core": "^1.11.16",
79
- "@streamlayer/sdk-web-features": "^1.0.61",
80
- "@streamlayer/sdk-web-interfaces": "^1.5.5",
81
- "@streamlayer/sdk-web-logger": "^1.0.61",
82
- "@streamlayer/sdk-web-notifications": "^1.3.23",
83
- "@streamlayer/sdk-web-storage": "^1.0.61",
84
- "@streamlayer/sdk-web-types": "^1.10.18"
72
+ "@streamlayer/feature-gamification": "^1.17.0",
73
+ "@streamlayer/react-polyfills": "^0.1.22",
74
+ "@streamlayer/sdk-web": "^1.11.0",
75
+ "@streamlayer/sdk-web-analytics": "^1.8.0",
76
+ "@streamlayer/sdk-web-anonymous-auth": "^1.1.41",
77
+ "@streamlayer/sdk-web-api": "^1.9.0",
78
+ "@streamlayer/sdk-web-core": "^1.12.0",
79
+ "@streamlayer/sdk-web-features": "^1.0.62",
80
+ "@streamlayer/sdk-web-interfaces": "^1.6.0",
81
+ "@streamlayer/sdk-web-logger": "^1.0.62",
82
+ "@streamlayer/sdk-web-notifications": "^1.3.24",
83
+ "@streamlayer/sdk-web-storage": "^1.0.62",
84
+ "@streamlayer/sdk-web-types": "^1.11.0"
85
85
  },
86
86
  "nx": {
87
87
  "implicitDependencies": [
@@ -89,8 +89,8 @@
89
89
  ]
90
90
  },
91
91
  "devDependencies": {
92
- "@connectrpc/connect": "^1.6.1",
93
- "@connectrpc/connect-web": "^1.6.1",
92
+ "@connectrpc/connect": "^2.0.0",
93
+ "@connectrpc/connect-web": "^2.0.0",
94
94
  "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
95
95
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
96
96
  "@linaria/babel-preset": "^5.0.4",
@@ -121,7 +121,7 @@
121
121
  "vite-plugin-svgr": "^4.2.0",
122
122
  "vite-svg-loader": "^5.1.0",
123
123
  "vite-tsconfig-paths": "^5.0.1",
124
- "@streamlayer/react": "^1.15.5"
124
+ "@streamlayer/react": "^1.16.0"
125
125
  },
126
126
  "dependencies": {
127
127
  "@dailymotion/vast-client": "^6.2.0",