@streamlayer/react-ui 0.98.1 → 0.100.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.
- package/lib/assets/style.css +1 -1
- package/lib/hooks/showIn.js +45 -0
- package/lib/{index-jRXrW6ie.js → index-Bicco-Aq.js} +1 -1
- package/lib/{index-z0QjLiEL.js → index-CZvwzN5o.js} +1 -1
- package/lib/index.js +4 -8
- package/lib/ui/app/Features/Gamification/Friends.js +10 -23
- package/lib/ui/app/Features/Gamification/Leaderboard.d.ts +1 -2
- package/lib/ui/app/Features/Gamification/Leaderboard.js +37 -54
- package/lib/ui/app/Features/Gamification/Question.js +33 -65
- package/lib/ui/app/Features/Gamification/QuestionsList.js +8 -34
- package/lib/ui/app/Features/Gamification/Tabs.d.ts +1 -2
- package/lib/ui/app/Features/Gamification/Tabs.js +30 -97
- package/lib/ui/app/Features/Gamification/UserSummary.js +12 -21
- package/lib/ui/app/Features/Gamification/gamification-feature.js +2 -93
- package/lib/ui/app/Features/Gamification/index.d.ts +1 -2
- package/lib/ui/app/Features/Gamification/index.js +68 -143
- package/lib/ui/app/Features/index.d.ts +1 -2
- package/lib/ui/app/Features/index.js +20 -109
- package/lib/ui/app/Navigation/MastersNavigation/index.js +16 -22
- package/lib/ui/app/Navigation/index.js +9 -12
- package/lib/ui/app/Notifications/Onboarding/Notification/index.js +13 -16
- package/lib/ui/app/Notifications/Onboarding/Notification/styles.js +18 -20
- package/lib/ui/app/Notifications/Onboarding/index.js +45 -72
- package/lib/ui/app/Notifications/index.js +96 -148
- package/lib/ui/app/Notifications/styles.js +10 -15
- package/lib/ui/app/Points/index.js +18 -26
- package/lib/ui/app/masters.js +71 -190
- package/lib/ui/app/useClipboardCopy.js +11 -15
- package/lib/ui/app/useMastersApp.js +34 -44
- package/lib/ui/app/useSdkResponsive.js +18 -19
- package/lib/ui/app/useSdkScroll.js +28 -26
- package/lib/ui/button/index.js +3 -4
- package/lib/ui/gamification/copyNotification/index.js +5 -7
- package/lib/ui/gamification/detail/header/index.js +15 -18
- package/lib/ui/gamification/detail/header/styles.js +12 -14
- package/lib/ui/gamification/detail/sponsor/index.js +2 -3
- package/lib/ui/gamification/insight/index.js +5 -6
- package/lib/ui/gamification/insight-list/index.js +3 -6
- package/lib/ui/gamification/invite-link/index.js +11 -17
- package/lib/ui/gamification/invite-link/styles.js +13 -15
- package/lib/ui/gamification/leaderboard/index.js +21 -28
- package/lib/ui/gamification/leaderboard/list-item/index.d.ts +0 -1
- package/lib/ui/gamification/leaderboard/list-item/index.js +17 -20
- package/lib/ui/gamification/leaderboard/list-item/styles.js +16 -18
- package/lib/ui/gamification/leaderboard/static.js +34 -31
- package/lib/ui/gamification/leaderboard/styles.js +1 -1
- package/lib/ui/gamification/onboarding/index.js +51 -73
- package/lib/ui/gamification/onboarding/invitingUser/index.js +10 -11
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +3 -2
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.js +17 -20
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +2 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +21 -11
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +21 -30
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +22 -24
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.js +5 -7
- package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.js +2 -3
- package/lib/ui/gamification/onboarding/styles.js +14 -17
- package/lib/ui/gamification/points/index.js +9 -15
- package/lib/ui/gamification/points/styles.js +12 -14
- package/lib/ui/gamification/question/index.d.ts +1 -3
- package/lib/ui/gamification/question/index.js +29 -34
- package/lib/ui/gamification/question/insight/index.d.ts +0 -1
- package/lib/ui/gamification/question/insight/index.js +7 -15
- package/lib/ui/gamification/question/list/index.js +20 -57
- package/lib/ui/gamification/question/notification/index.js +22 -35
- package/lib/ui/gamification/question/notification/insight/index.js +12 -17
- package/lib/ui/gamification/question/notification/pill/index.js +7 -9
- package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.js +11 -12
- package/lib/ui/gamification/question/notification/prediction-result/index.js +45 -51
- package/lib/ui/gamification/question/notification/prediction-result/styles.js +23 -26
- package/lib/ui/gamification/question/notification/styles.js +17 -19
- package/lib/ui/gamification/question/notification/tweet/index.js +8 -18
- package/lib/ui/gamification/question/styles.js +32 -34
- package/lib/ui/gamification/question/twitter/index.d.ts +0 -1
- package/lib/ui/gamification/question/twitter/index.js +8 -20
- package/lib/ui/gamification/question/twitter/styles.js +4 -6
- package/lib/ui/gamification/tabs/index.js +6 -7
- package/lib/ui/gamification/user-statistics/components/rank/index.js +4 -5
- package/lib/ui/gamification/user-statistics/components/statistic/index.js +0 -1
- package/lib/ui/gamification/user-statistics/index.js +2 -6
- package/lib/ui/gamification/vote/alert/index.d.ts +8 -0
- package/lib/ui/gamification/vote/alert/index.js +11 -0
- package/lib/ui/gamification/vote/{expired-alert → alert}/styles.js +7 -7
- package/lib/ui/gamification/vote/feedback/index.js +29 -33
- package/lib/ui/gamification/vote/feedback/styles.js +20 -23
- package/lib/ui/gamification/vote/index.d.ts +1 -0
- package/lib/ui/gamification/vote/index.js +123 -117
- package/lib/ui/gamification/vote/insight-details/index.js +9 -16
- package/lib/ui/gamification/vote/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/styles.js +14 -8
- package/lib/ui/gamification/vote/twitter-details/index.js +7 -17
- package/lib/ui/gamification/vote/vote-option/index.js +38 -41
- package/lib/ui/gamification/vote/vote-option/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/vote-option/styles.js +35 -32
- package/lib/ui/gamification/vote/win-bar/index.js +29 -37
- package/lib/ui/gamification/vote/win-bar/styles.js +16 -19
- package/lib/ui/login/demo.d.ts +1 -0
- package/lib/ui/login/demo.js +5 -17
- package/lib/ui/login/index.js +29 -35
- package/lib/ui/modal/index.js +31 -32
- package/lib/ui/navigation/button/Channels.js +5 -8
- package/lib/ui/navigation/button/FeaturedGroups.js +3 -6
- package/lib/ui/navigation/button/LeaderBoard.js +8 -11
- package/lib/ui/navigation/button/index.js +10 -11
- package/lib/ui/navigation/masters.js +2 -3
- package/lib/ui/questions/insight/index.js +14 -19
- package/lib/ui/questions/twitter/account/index.js +13 -15
- package/lib/ui/questions/twitter/account/styles.js +14 -16
- package/lib/ui/questions/twitter/index.js +31 -38
- package/lib/ui/show-in/index.d.ts +1 -0
- package/lib/ui/show-in/index.js +12 -10
- package/lib/ui/skeleton/index.js +3 -4
- package/lib/ui/theme/index.js +3 -5
- package/lib/ui/video-player/index.js +44 -38
- package/lib/utils/createDemo.js +18 -28
- package/lib/utils/debug/components/copyLogs.js +2 -3
- package/lib/utils/debug/components/developer.js +20 -24
- package/lib/utils/debug/components/eventInput.js +9 -10
- package/lib/utils/debug/components/sdkKey.js +9 -10
- package/lib/utils/debug/index.js +17 -28
- package/lib/utils/debug/storage.js +32 -14
- package/lib/utils/decorators/container.js +5 -9
- package/lib/utils/storage.js +32 -14
- package/package.json +25 -26
- package/lib/ui/gamification/vote/expired-alert/index.d.ts +0 -7
- package/lib/ui/gamification/vote/expired-alert/index.js +0 -13
- /package/lib/{index-uEuzH3jr.js → index-xuotMAFm.js} +0 -0
- /package/lib/{styles_z07sl8-w40geAFS.js → styles_z07sl8-l0sNRNKZ.js} +0 -0
- /package/lib/ui/gamification/vote/{expired-alert → alert}/styles.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/react-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.100.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -36,26 +36,26 @@
|
|
|
36
36
|
],
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@lottiefiles/react-lottie-player": "^3.5.3",
|
|
39
|
-
"@streamlayer/sl-eslib": "^5.
|
|
39
|
+
"@streamlayer/sl-eslib": "^5.85.0",
|
|
40
40
|
"@types/lodash.throttle": "^4.1.9",
|
|
41
41
|
"lodash.throttle": "^4.1.1",
|
|
42
42
|
"nanoid": "3.3.7",
|
|
43
43
|
"react-infinite-scroller": "^1.2.6",
|
|
44
|
-
"react-virtualized-auto-sizer": "^1.0.
|
|
44
|
+
"react-virtualized-auto-sizer": "^1.0.24",
|
|
45
45
|
"react-window": "^1.8.10",
|
|
46
46
|
"react-window-infinite-loader": "^1.0.9",
|
|
47
|
-
"@streamlayer/feature-gamification": "^0.
|
|
48
|
-
"@streamlayer/sdk-web": "^0.33.
|
|
49
|
-
"@streamlayer/sdk-web-analytics": "^0.
|
|
50
|
-
"@streamlayer/sdk-web-anonymous-auth": "^0.11.
|
|
51
|
-
"@streamlayer/sdk-web-api": "^0.
|
|
52
|
-
"@streamlayer/sdk-web-core": "^0.
|
|
53
|
-
"@streamlayer/sdk-web-features": "^0.11.
|
|
54
|
-
"@streamlayer/sdk-web-interfaces": "^0.
|
|
55
|
-
"@streamlayer/sdk-web-logger": "^0.5.
|
|
56
|
-
"@streamlayer/sdk-web-notifications": "^0.
|
|
57
|
-
"@streamlayer/sdk-web-storage": "^0.4.
|
|
58
|
-
"@streamlayer/sdk-web-types": "^0.23.
|
|
47
|
+
"@streamlayer/feature-gamification": "^0.41.0",
|
|
48
|
+
"@streamlayer/sdk-web": "^0.33.4",
|
|
49
|
+
"@streamlayer/sdk-web-analytics": "^0.2.0",
|
|
50
|
+
"@streamlayer/sdk-web-anonymous-auth": "^0.11.46",
|
|
51
|
+
"@streamlayer/sdk-web-api": "^0.25.0",
|
|
52
|
+
"@streamlayer/sdk-web-core": "^0.23.0",
|
|
53
|
+
"@streamlayer/sdk-web-features": "^0.11.28",
|
|
54
|
+
"@streamlayer/sdk-web-interfaces": "^0.22.0",
|
|
55
|
+
"@streamlayer/sdk-web-logger": "^0.5.20",
|
|
56
|
+
"@streamlayer/sdk-web-notifications": "^0.16.0",
|
|
57
|
+
"@streamlayer/sdk-web-storage": "^0.4.7",
|
|
58
|
+
"@streamlayer/sdk-web-types": "^0.23.2"
|
|
59
59
|
},
|
|
60
60
|
"nx": {
|
|
61
61
|
"implicitDependencies": [
|
|
@@ -63,20 +63,19 @@
|
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@connectrpc/connect": "^1.
|
|
67
|
-
"@connectrpc/connect-web": "^1.
|
|
66
|
+
"@connectrpc/connect": "^1.4.0",
|
|
67
|
+
"@connectrpc/connect-web": "^1.4.0",
|
|
68
68
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
69
69
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
70
70
|
"@linaria/babel-preset": "^5.0.4",
|
|
71
71
|
"@linaria/core": "^6.0.0",
|
|
72
72
|
"@linaria/react": "^6.0.0",
|
|
73
73
|
"@nanostores/react": "^0.7.2",
|
|
74
|
-
"@storybook/addon-docs": "^
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/
|
|
77
|
-
"@storybook/blocks": "^7.6.11",
|
|
74
|
+
"@storybook/addon-docs": "^8.0.1",
|
|
75
|
+
"@storybook/addon-viewport": "^8.0.1",
|
|
76
|
+
"@storybook/blocks": "^8.0.1",
|
|
78
77
|
"@storybook/jest": "~0.2.3",
|
|
79
|
-
"@storybook/react": "^
|
|
78
|
+
"@storybook/react": "^8.0.1",
|
|
80
79
|
"@storybook/testing-library": "~0.2.2",
|
|
81
80
|
"@types/react-infinite-scroller": "^1.2.5",
|
|
82
81
|
"@types/react-window": "^1.8.8",
|
|
@@ -91,11 +90,11 @@
|
|
|
91
90
|
"react-phone-number-input": "^3.3.9",
|
|
92
91
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
93
92
|
"tslib": "^2.6.2",
|
|
94
|
-
"vite": "5.
|
|
95
|
-
"vite-plugin-node-polyfills": "^0.
|
|
93
|
+
"vite": "5.1.6",
|
|
94
|
+
"vite-plugin-node-polyfills": "^0.21.0",
|
|
96
95
|
"vite-plugin-svgr": "^4.2.0",
|
|
97
96
|
"vite-svg-loader": "^5.1.0",
|
|
98
|
-
"vite-tsconfig-paths": "^4.3.
|
|
99
|
-
"@streamlayer/react": "^0.41.
|
|
97
|
+
"vite-tsconfig-paths": "^4.3.2",
|
|
98
|
+
"@streamlayer/react": "^0.41.5"
|
|
100
99
|
}
|
|
101
100
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { SvgIcon as t } from "../../../icons/index.js";
|
|
3
|
-
import { Container as c, Title as n, Description as m } from "./styles.js";
|
|
4
|
-
import "@linaria/react";
|
|
5
|
-
import "react";
|
|
6
|
-
const x = ({ title: i, description: o }) => /* @__PURE__ */ e(c, { children: [
|
|
7
|
-
/* @__PURE__ */ r(t, { name: "icon-check-circle" }),
|
|
8
|
-
/* @__PURE__ */ r(n, { children: i }),
|
|
9
|
-
/* @__PURE__ */ r(m, { children: o })
|
|
10
|
-
] });
|
|
11
|
-
export {
|
|
12
|
-
x as ExpiredAlert
|
|
13
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|