@streamlayer/react-ui 1.2.2 → 1.3.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.
- package/lib/app/app/Advertisement/index.d.ts +2 -1
- package/lib/app/app/Advertisement/index.js +66 -47
- package/lib/app/app/Features/FeatureProvider.d.ts +0 -1
- package/lib/app/app/Features/Gamification/Leaderboard.d.ts +0 -1
- package/lib/app/app/Features/Gamification/Question.d.ts +3 -1
- package/lib/app/app/Features/Gamification/Question.js +45 -41
- package/lib/app/app/Features/Gamification/QuestionsList.d.ts +0 -1
- package/lib/app/app/Features/Gamification/Tabs.d.ts +0 -1
- package/lib/app/app/Features/Gamification/UserSummary.d.ts +0 -1
- package/lib/app/app/Features/Gamification/gamification-feature.d.ts +0 -1
- package/lib/app/app/Features/Gamification/index.d.ts +0 -1
- package/lib/app/app/Features/index.d.ts +0 -1
- package/lib/app/app/Insight/index.d.ts +18 -0
- package/lib/app/app/Insight/index.js +62 -0
- package/lib/app/app/Navigation/index.d.ts +0 -1
- package/lib/app/app/Navigation/index.js +39 -31
- package/lib/app/app/Notifications/Onboarding/Notification/index.d.ts +0 -1
- package/lib/app/app/Notifications/Onboarding/index.d.ts +0 -1
- package/lib/app/app/Notifications/index.d.ts +0 -1
- package/lib/app/app/Notifications/styles.d.ts +1 -1
- package/lib/app/app/Points/index.d.ts +0 -1
- package/lib/app/app/index.d.ts +0 -1
- package/lib/app/app/story/index.d.ts +2 -10
- package/lib/app/app/story/index.js +44 -89
- package/lib/app/app/story/insight/index.d.ts +8 -0
- package/lib/app/app/story/insight/index.js +57 -0
- package/lib/app/app/story/insight/styles.d.ts +6 -0
- package/lib/app/app/story/insight/styles.js +30 -0
- package/lib/app/app/story/insight/video.d.ts +4 -0
- package/lib/app/app/story/insight/video.js +30 -0
- package/lib/app/app/story/promotion/content.d.ts +3 -0
- package/lib/app/app/story/{content.js → promotion/content.js} +22 -18
- package/lib/app/app/story/promotion/index.d.ts +9 -0
- package/lib/app/app/story/promotion/index.js +54 -0
- package/lib/app/app/story/promotion/styles.d.ts +6 -0
- package/lib/app/app/story/promotion/styles.js +35 -0
- package/lib/app/app/story/promotion/video.d.ts +8 -0
- package/lib/app/app/story/promotion/video.js +98 -0
- package/lib/app/app/story/settings/index.d.ts +1 -0
- package/lib/app/app/story/settings/index.js +14 -0
- package/lib/app/app/story/styles.d.ts +1 -6
- package/lib/app/app/story/styles.js +9 -34
- package/lib/app/app/story/video.d.ts +1 -10
- package/lib/app/app/story/video.js +35 -62
- package/lib/app/app/useApp.d.ts +0 -1
- package/lib/app/app/useAppContext.d.ts +0 -1
- package/lib/app/login/demo.d.ts +0 -1
- package/lib/app/login/demo.js +23 -9
- package/lib/app/masters/Features/FeatureProvider.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/Leaderboard.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/Question.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/QuestionsList.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/Tabs.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/UserSummary.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/gamification-feature.d.ts +0 -1
- package/lib/app/masters/Features/Gamification/index.d.ts +0 -1
- package/lib/app/masters/Features/index.d.ts +0 -1
- package/lib/app/masters/Navigation/MastersNavigation/index.d.ts +0 -1
- package/lib/app/masters/Notifications/Onboarding/Notification/index.d.ts +0 -1
- package/lib/app/masters/Notifications/Onboarding/index.d.ts +0 -1
- package/lib/app/masters/Notifications/index.d.ts +0 -1
- package/lib/app/masters/Notifications/styles.d.ts +1 -1
- package/lib/app/masters/Points/index.d.ts +0 -1
- package/lib/app/masters/masters.d.ts +0 -1
- package/lib/app/masters/useMastersApp.d.ts +0 -1
- package/lib/app/masters/useMastersContext.d.ts +0 -1
- package/lib/app/styles.d.ts +3 -3
- package/lib/app/useClipboardCopy.d.ts +0 -1
- package/lib/app/useSdkFeature.d.ts +0 -1
- package/lib/app/useSdkResponsive.d.ts +0 -1
- package/lib/app/useSdkScroll.d.ts +0 -1
- package/lib/assets/style.css +1 -1
- package/lib/ui/advertisement/banner/index.d.ts +1 -2
- package/lib/ui/advertisement/banner/index.js +16 -28
- package/lib/ui/advertisement/banner/styles.d.ts +3 -0
- package/lib/ui/advertisement/banner/styles.js +20 -0
- package/lib/ui/advertisement/index.d.ts +0 -1
- package/lib/ui/advertisement/index.js +13 -12
- package/lib/ui/advertisement/mock.d.ts +0 -1
- package/lib/ui/advertisement/overlay/index.d.ts +2 -1
- package/lib/ui/advertisement/overlay/index.js +61 -58
- package/lib/ui/advertisement/overlay/styles.d.ts +8 -4
- package/lib/ui/advertisement/overlay/styles.js +70 -62
- package/lib/ui/animated-counter/index.d.ts +0 -1
- package/lib/ui/gamification/constants.d.ts +0 -1
- package/lib/ui/gamification/detail/header/index.d.ts +0 -1
- package/lib/ui/gamification/insight/index.d.ts +0 -1
- package/lib/ui/gamification/insight-list/index.d.ts +0 -1
- package/lib/ui/gamification/leaderboard/index.d.ts +0 -1
- package/lib/ui/gamification/leaderboard/list-item/index.d.ts +0 -1
- package/lib/ui/gamification/leaderboard/static.d.ts +0 -1
- package/lib/ui/gamification/onboarding/index.d.ts +0 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +0 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +0 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +0 -1
- package/lib/ui/gamification/question/index.d.ts +0 -1
- package/lib/ui/gamification/question/insight/index.d.ts +0 -1
- package/lib/ui/gamification/question/list/index.d.ts +0 -1
- package/lib/ui/gamification/question/notification/index.d.ts +0 -1
- package/lib/ui/gamification/question/notification/insight/index.d.ts +0 -1
- package/lib/ui/gamification/question/notification/prediction-result/animation-lines/styles.d.ts +14 -14
- package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +0 -1
- package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +1 -1
- package/lib/ui/gamification/question/notification/tweet/index.d.ts +0 -1
- package/lib/ui/gamification/question/twitter/index.d.ts +0 -1
- package/lib/ui/gamification/vote/alert/index.d.ts +0 -1
- package/lib/ui/gamification/vote/feedback/index.d.ts +0 -1
- package/lib/ui/gamification/vote/index.d.ts +0 -1
- package/lib/ui/gamification/vote/insight-details/index.d.ts +0 -1
- package/lib/ui/gamification/vote/insight-details/index.js +7 -8
- package/lib/ui/gamification/vote/insight-details/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/insight-details/styles.js +10 -4
- package/lib/ui/gamification/vote/twitter-details/index.d.ts +0 -1
- package/lib/ui/gamification/vote/vote-option/index.d.ts +0 -1
- package/lib/ui/gamification/vote/vote-option/styles.d.ts +2 -2
- package/lib/ui/gamification/vote/win-bar/index.d.ts +0 -1
- package/lib/ui/link/index.d.ts +1 -0
- package/lib/ui/link/index.js +9 -0
- package/lib/ui/navigation/button/Channels.d.ts +0 -1
- package/lib/ui/navigation/button/FeaturedGroups.d.ts +0 -1
- package/lib/ui/navigation/button/LeaderBoard.d.ts +0 -1
- package/lib/ui/navigation/button/index.d.ts +0 -1
- package/lib/ui/navigation/index.d.ts +0 -1
- package/lib/ui/questions/insight/index.d.ts +0 -1
- package/lib/ui/questions/twitter/index.d.ts +0 -1
- package/lib/ui/questions/twitter/styles.d.ts +2 -2
- package/lib/ui/show-in/index.d.ts +0 -1
- package/lib/ui/theme/breakpoints.d.ts +0 -1
- package/lib/ui/theme/index.d.ts +1 -0
- package/lib/ui/theme/index.js +4 -3
- package/lib/ui/theme/masters-theme.d.ts +0 -1
- package/lib/ui/theme/theme.js +42 -16
- package/lib/ui/timer/index.d.ts +0 -1
- package/lib/ui/video-player/index.d.ts +1 -0
- package/lib/ui/video-player/index.js +43 -43
- package/lib/utils/debug/index.js +45 -19
- package/package.json +26 -26
- package/lib/app/app/story/content.d.ts +0 -4
- package/lib/app/app/story/useResponsive.d.ts +0 -1
- package/lib/app/app/story/useResponsive.js +0 -15
- /package/lib/app/app/story/{login.d.ts → settings/login.d.ts} +0 -0
- /package/lib/app/app/story/{login.js → settings/login.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@lottiefiles/react-lottie-player": "^3.5.4",
|
|
49
|
-
"@streamlayer/sl-eslib": "^5.
|
|
49
|
+
"@streamlayer/sl-eslib": "^5.117.0",
|
|
50
50
|
"@types/lodash.throttle": "^4.1.9",
|
|
51
51
|
"lodash.throttle": "^4.1.1",
|
|
52
52
|
"nanoid": "3.3.7",
|
|
@@ -54,18 +54,18 @@
|
|
|
54
54
|
"react-virtualized-auto-sizer": "^1.0.24",
|
|
55
55
|
"react-window": "^1.8.10",
|
|
56
56
|
"react-window-infinite-loader": "^1.0.9",
|
|
57
|
-
"@streamlayer/feature-gamification": "^1.
|
|
58
|
-
"@streamlayer/sdk-web": "^1.
|
|
59
|
-
"@streamlayer/sdk-web-analytics": "^1.
|
|
60
|
-
"@streamlayer/sdk-web-anonymous-auth": "^1.0.
|
|
61
|
-
"@streamlayer/sdk-web-api": "^1.1
|
|
62
|
-
"@streamlayer/sdk-web-core": "^1.
|
|
63
|
-
"@streamlayer/sdk-web-features": "^1.0.
|
|
64
|
-
"@streamlayer/sdk-web-interfaces": "^1.
|
|
65
|
-
"@streamlayer/sdk-web-logger": "^1.0.
|
|
66
|
-
"@streamlayer/sdk-web-notifications": "^1.
|
|
67
|
-
"@streamlayer/sdk-web-storage": "^1.0.
|
|
68
|
-
"@streamlayer/sdk-web-types": "^1.1
|
|
57
|
+
"@streamlayer/feature-gamification": "^1.3.1",
|
|
58
|
+
"@streamlayer/sdk-web": "^1.1.1",
|
|
59
|
+
"@streamlayer/sdk-web-analytics": "^1.1.1",
|
|
60
|
+
"@streamlayer/sdk-web-anonymous-auth": "^1.0.6",
|
|
61
|
+
"@streamlayer/sdk-web-api": "^1.2.1",
|
|
62
|
+
"@streamlayer/sdk-web-core": "^1.1.1",
|
|
63
|
+
"@streamlayer/sdk-web-features": "^1.0.6",
|
|
64
|
+
"@streamlayer/sdk-web-interfaces": "^1.1.1",
|
|
65
|
+
"@streamlayer/sdk-web-logger": "^1.0.6",
|
|
66
|
+
"@streamlayer/sdk-web-notifications": "^1.1.1",
|
|
67
|
+
"@streamlayer/sdk-web-storage": "^1.0.6",
|
|
68
|
+
"@streamlayer/sdk-web-types": "^1.2.1"
|
|
69
69
|
},
|
|
70
70
|
"nx": {
|
|
71
71
|
"implicitDependencies": [
|
|
@@ -73,39 +73,39 @@
|
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@connectrpc/connect": "^1.
|
|
77
|
-
"@connectrpc/connect-web": "^1.
|
|
76
|
+
"@connectrpc/connect": "^1.5.0",
|
|
77
|
+
"@connectrpc/connect-web": "^1.5.0",
|
|
78
78
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
79
79
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
80
80
|
"@linaria/babel-preset": "^5.0.4",
|
|
81
81
|
"@linaria/core": "^6.2.0",
|
|
82
82
|
"@linaria/react": "^6.2.1",
|
|
83
83
|
"@nanostores/react": "^0.7.2",
|
|
84
|
-
"@storybook/addon-docs": "^8.
|
|
85
|
-
"@storybook/addon-viewport": "^8.
|
|
86
|
-
"@storybook/blocks": "^8.
|
|
84
|
+
"@storybook/addon-docs": "^8.3.2",
|
|
85
|
+
"@storybook/addon-viewport": "^8.3.2",
|
|
86
|
+
"@storybook/blocks": "^8.3.2",
|
|
87
87
|
"@storybook/jest": "^0.2.3",
|
|
88
|
-
"@storybook/react": "^8.
|
|
88
|
+
"@storybook/react": "^8.3.2",
|
|
89
89
|
"@storybook/testing-library": "^0.2.2",
|
|
90
90
|
"@types/react-infinite-scroller": "^1.2.5",
|
|
91
91
|
"@types/react-window": "^1.8.8",
|
|
92
92
|
"@types/react-window-infinite-loader": "^1.0.9",
|
|
93
93
|
"@wyw-in-js/vite": "^0.5.3",
|
|
94
94
|
"esbuild-plugin-babel": "^0.2.3",
|
|
95
|
-
"glob": "^
|
|
95
|
+
"glob": "^11.0.0",
|
|
96
96
|
"react": "18.3.1",
|
|
97
97
|
"react-auth-code-input": "^3.2.1",
|
|
98
98
|
"react-countdown-circle-timer": "^3.2.1",
|
|
99
99
|
"react-countup": "^6.5.3",
|
|
100
|
-
"react-phone-number-input": "^3.4.
|
|
100
|
+
"react-phone-number-input": "^3.4.8",
|
|
101
101
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
102
102
|
"screenfull": "^6.0.2",
|
|
103
|
-
"tslib": "^2.
|
|
104
|
-
"vite": "5.
|
|
103
|
+
"tslib": "^2.7.0",
|
|
104
|
+
"vite": "5.4.7",
|
|
105
105
|
"vite-plugin-node-polyfills": "^0.22.0",
|
|
106
106
|
"vite-plugin-svgr": "^4.2.0",
|
|
107
107
|
"vite-svg-loader": "^5.1.0",
|
|
108
|
-
"vite-tsconfig-paths": "^
|
|
109
|
-
"@streamlayer/react": "^1.1.
|
|
108
|
+
"vite-tsconfig-paths": "^5.0.1",
|
|
109
|
+
"@streamlayer/react": "^1.1.5"
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useResponsive: () => boolean;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useState as s, useEffect as i } from "react";
|
|
2
|
-
const t = () => window.innerWidth < 768, c = () => {
|
|
3
|
-
const [e, r] = s(t());
|
|
4
|
-
return i(() => {
|
|
5
|
-
const n = () => {
|
|
6
|
-
r(t());
|
|
7
|
-
};
|
|
8
|
-
return window.addEventListener("resize", n), () => {
|
|
9
|
-
window.removeEventListener("resize", n);
|
|
10
|
-
};
|
|
11
|
-
}, []), e;
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
c as useResponsive
|
|
15
|
-
};
|
|
File without changes
|
|
File without changes
|