@streamlayer/react-ui 0.92.0 → 0.94.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.
Files changed (88) hide show
  1. package/lib/assets/style.css +1 -1
  2. package/lib/{useClipboardCopy-E5rEe6It.js → index-jRXrW6ie.js} +1513 -1537
  3. package/lib/index.js +5 -4
  4. package/lib/ui/app/Features/Gamification/Friends.js +6 -5
  5. package/lib/ui/app/Features/Gamification/Leaderboard.js +4 -3
  6. package/lib/ui/app/Features/Gamification/Question.js +19 -21
  7. package/lib/ui/app/Features/Gamification/QuestionsList.js +1 -1
  8. package/lib/ui/app/Features/Gamification/Tabs.js +42 -39
  9. package/lib/ui/app/Features/Gamification/gamification-feature.js +11 -6
  10. package/lib/ui/app/Features/Gamification/index.js +72 -84
  11. package/lib/ui/app/Navigation/MastersNavigation/index.d.ts +2 -0
  12. package/lib/ui/app/Navigation/MastersNavigation/index.js +43 -35
  13. package/lib/ui/app/Notifications/Onboarding/index.d.ts +3 -2
  14. package/lib/ui/app/Notifications/Onboarding/index.js +114 -86
  15. package/lib/ui/app/Notifications/index.js +115 -108
  16. package/lib/ui/app/Points/index.js +6 -5
  17. package/lib/ui/app/masters.js +41 -31
  18. package/lib/ui/app/styles.d.ts +1 -0
  19. package/lib/ui/app/styles.js +6 -1
  20. package/lib/ui/app/useClipboardCopy.js +26 -5
  21. package/lib/ui/app/useImagesPreload.d.ts +4 -0
  22. package/lib/ui/app/useImagesPreload.js +23 -0
  23. package/lib/ui/app/useMastersApp.js +42 -35
  24. package/lib/ui/app/useSdkResponsive.d.ts +1 -1
  25. package/lib/ui/app/useSdkResponsive.js +23 -23
  26. package/lib/ui/app/useSdkScroll.d.ts +1 -0
  27. package/lib/ui/app/useSdkScroll.js +32 -23
  28. package/lib/ui/gamification/detail/header/index.js +11 -11
  29. package/lib/ui/gamification/detail/header/styles.d.ts +1 -1
  30. package/lib/ui/gamification/detail/header/styles.js +11 -11
  31. package/lib/ui/gamification/onboarding/index.d.ts +2 -1
  32. package/lib/ui/gamification/onboarding/index.js +55 -43
  33. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +1 -1
  34. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.js +15 -13
  35. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +1 -1
  36. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +9 -9
  37. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +14 -13
  38. package/lib/ui/gamification/points/index.js +5 -4
  39. package/lib/ui/gamification/question/insight/index.js +4 -5
  40. package/lib/ui/gamification/question/list/index.js +14 -14
  41. package/lib/ui/gamification/question/notification/index.js +3 -2
  42. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.js +17 -17
  43. package/lib/ui/gamification/question/notification/prediction-result/index.js +37 -39
  44. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +1 -1
  45. package/lib/ui/gamification/question/notification/prediction-result/styles.js +12 -12
  46. package/lib/ui/gamification/question/notification/tweet/index.js +10 -7
  47. package/lib/ui/gamification/question/twitter/index.js +16 -33
  48. package/lib/ui/gamification/question/twitter/styles.d.ts +0 -1
  49. package/lib/ui/gamification/question/twitter/styles.js +7 -12
  50. package/lib/ui/gamification/vote/index.js +57 -56
  51. package/lib/ui/gamification/vote/insight-details/index.js +5 -6
  52. package/lib/ui/gamification/vote/twitter-details/index.js +13 -29
  53. package/lib/ui/gamification/vote/twitter-details/styles.d.ts +0 -1
  54. package/lib/ui/gamification/vote/twitter-details/styles.js +3 -8
  55. package/lib/ui/gamification/vote/vote-option/index.js +61 -57
  56. package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -0
  57. package/lib/ui/gamification/vote/win-bar/index.js +21 -20
  58. package/lib/ui/modal/index.d.ts +9 -0
  59. package/lib/ui/modal/index.js +34 -0
  60. package/lib/ui/navigation/button/FeaturedGroups.d.ts +3 -1
  61. package/lib/ui/navigation/button/FeaturedGroups.js +11 -11
  62. package/lib/ui/navigation/masters.d.ts +2 -1
  63. package/lib/ui/navigation/masters.js +9 -4
  64. package/lib/ui/questions/insight/index.d.ts +2 -3
  65. package/lib/ui/questions/insight/index.js +13 -35
  66. package/lib/ui/questions/insight/styles.d.ts +0 -1
  67. package/lib/ui/questions/insight/styles.js +9 -14
  68. package/lib/ui/questions/twitter/account/index.d.ts +2 -1
  69. package/lib/ui/questions/twitter/account/index.js +24 -18
  70. package/lib/ui/questions/twitter/account/styles.d.ts +1 -1
  71. package/lib/ui/questions/twitter/account/styles.js +2 -2
  72. package/lib/ui/questions/twitter/index.d.ts +2 -2
  73. package/lib/ui/questions/twitter/index.js +31 -9
  74. package/lib/ui/questions/twitter/styles.d.ts +1 -0
  75. package/lib/ui/questions/twitter/styles.js +8 -3
  76. package/lib/ui/skeleton/index.d.ts +7 -0
  77. package/lib/ui/skeleton/index.js +7 -0
  78. package/lib/ui/skeleton/styles.d.ts +2 -0
  79. package/lib/ui/skeleton/styles.js +9 -0
  80. package/lib/ui/theme/breakpoints.d.ts +4 -1
  81. package/lib/ui/theme/breakpoints.js +24 -12
  82. package/lib/ui/theme/constants.d.ts +4 -0
  83. package/lib/ui/theme/constants.js +6 -2
  84. package/lib/ui/theme/index.js +4 -3
  85. package/lib/ui/theme/theme.js +29 -21
  86. package/lib/utils/common.js +22 -8
  87. package/lib/utils/decorators/container.js +4 -3
  88. package/package.json +18 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "0.92.0",
3
+ "version": "0.94.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -36,24 +36,24 @@
36
36
  ],
37
37
  "peerDependencies": {
38
38
  "@lottiefiles/react-lottie-player": "*",
39
- "@streamlayer/sl-eslib": "^5.63.3",
39
+ "@streamlayer/sl-eslib": "^5.66.0",
40
40
  "@types/lodash.throttle": "^4.1.9",
41
41
  "lodash.throttle": "^4.1.1",
42
42
  "react-infinite-scroller": "^1.2.6",
43
43
  "react-virtualized-auto-sizer": "^1.0.21",
44
44
  "react-window": "^1.8.10",
45
45
  "react-window-infinite-loader": "^1.0.9",
46
- "@streamlayer/feature-gamification": "^0.35.0",
47
- "@streamlayer/sdk-web": "^0.30.1",
48
- "@streamlayer/sdk-web-anonymous-auth": "^0.11.33",
49
- "@streamlayer/sdk-web-api": "^0.20.0",
50
- "@streamlayer/sdk-web-core": "^0.18.1",
51
- "@streamlayer/sdk-web-features": "^0.11.15",
52
- "@streamlayer/sdk-web-interfaces": "^0.20.0",
53
- "@streamlayer/sdk-web-notifications": "^0.13.6",
54
- "@streamlayer/sdk-web-storage": "^0.3.11",
55
- "@streamlayer/sdk-web-types": "^0.21.0",
56
- "@streamlayer/sdk-web-logger": "^0.5.11"
46
+ "@streamlayer/feature-gamification": "^0.36.0",
47
+ "@streamlayer/sdk-web": "^0.31.0",
48
+ "@streamlayer/sdk-web-api": "^0.21.0",
49
+ "@streamlayer/sdk-web-anonymous-auth": "^0.11.35",
50
+ "@streamlayer/sdk-web-core": "^0.19.0",
51
+ "@streamlayer/sdk-web-features": "^0.11.17",
52
+ "@streamlayer/sdk-web-interfaces": "^0.20.2",
53
+ "@streamlayer/sdk-web-logger": "^0.5.13",
54
+ "@streamlayer/sdk-web-notifications": "^0.13.8",
55
+ "@streamlayer/sdk-web-storage": "^0.4.0",
56
+ "@streamlayer/sdk-web-types": "^0.22.0"
57
57
  },
58
58
  "nx": {
59
59
  "implicitDependencies": [
@@ -69,12 +69,12 @@
69
69
  "@linaria/core": "^6.0.0",
70
70
  "@linaria/react": "^6.0.0",
71
71
  "@nanostores/react": "^0.7.1",
72
- "@storybook/addon-docs": "^7.6.10",
72
+ "@storybook/addon-docs": "^7.6.11",
73
73
  "@storybook/addon-styling": "^1.3.7",
74
- "@storybook/addon-viewport": "^7.6.10",
75
- "@storybook/blocks": "^7.6.10",
74
+ "@storybook/addon-viewport": "^7.6.11",
75
+ "@storybook/blocks": "^7.6.11",
76
76
  "@storybook/jest": "^0.2.3",
77
- "@storybook/react": "^7.6.10",
77
+ "@storybook/react": "^7.6.11",
78
78
  "@storybook/testing-library": "^0.2.2",
79
79
  "@types/react-infinite-scroller": "^1.2.5",
80
80
  "@types/react-window": "^1.8.8",
@@ -94,6 +94,6 @@
94
94
  "vite-plugin-svgr": "^4.2.0",
95
95
  "vite-svg-loader": "^5.1.0",
96
96
  "vite-tsconfig-paths": "^4.3.1",
97
- "@streamlayer/react": "^0.37.0"
97
+ "@streamlayer/react": "^0.38.0"
98
98
  }
99
99
  }