@streamlayer/react-ui 0.27.3 → 0.28.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 (52) hide show
  1. package/lib/fedex-a8dcc7b2.js +4 -0
  2. package/lib/index.js +44 -40
  3. package/lib/ui/app/Features/FeatureProvider.js +14 -0
  4. package/lib/ui/app/Features/Gamification/Leaderboard.js +48 -0
  5. package/lib/ui/app/Features/Gamification/Question.js +102 -0
  6. package/lib/ui/app/Features/Gamification/QuestionsList.js +16 -0
  7. package/lib/ui/app/Features/Gamification/Tabs.js +47 -0
  8. package/lib/ui/app/Features/Gamification/UserSummary.js +17 -0
  9. package/lib/ui/app/Features/Gamification/index.js +67 -0
  10. package/lib/ui/app/Features/Highlights/Insight.js +31 -0
  11. package/lib/ui/app/Features/Highlights/Insights.js +16 -0
  12. package/lib/ui/app/Features/Highlights/index.js +33 -0
  13. package/lib/ui/app/Features/index.js +64 -0
  14. package/lib/ui/app/Navigation/index.js +31 -0
  15. package/lib/ui/app/Notifications/index.js +18 -0
  16. package/lib/ui/app/index.js +91 -0
  17. package/lib/ui/app/styles.js +8 -0
  18. package/lib/ui/app/useSdkFeature.js +24 -0
  19. package/lib/ui/demo/DemoPoints.js +14 -14
  20. package/lib/ui/demo/Gamification.js +10 -9
  21. package/lib/ui/demo/Highlights.js +8 -7
  22. package/lib/ui/demo/Login.js +8 -7
  23. package/lib/ui/demo/components/Leaderboard.js +2 -2
  24. package/lib/ui/demo/components/Question.js +52 -51
  25. package/lib/ui/demo/components/UserSummary.js +4 -10
  26. package/lib/ui/demo/components/index.js +23 -22
  27. package/lib/ui/demo/index.js +65 -53
  28. package/lib/ui/gamification/leaderboard-invite-link/index.js +4 -4
  29. package/lib/ui/gamification/leaderboard-item-detail/index.js +2 -2
  30. package/lib/ui/gamification/onboarding/index.js +17 -17
  31. package/lib/ui/gamification/points/styles.js +2 -3
  32. package/lib/ui/gamification/question/index.js +6 -6
  33. package/lib/ui/gamification/user-statistics/index.js +3 -3
  34. package/lib/ui/gamification/vote/components/voting-header/index.js +6 -6
  35. package/lib/ui/gamification/vote/index.js +5 -5
  36. package/lib/ui/icons/index.js +27 -27
  37. package/lib/ui/login/index.js +15 -15
  38. package/lib/ui/navigation/index.js +13 -0
  39. package/lib/ui/navigation/styles.js +46 -0
  40. package/lib/ui/notifications/decorator.js +6 -6
  41. package/lib/ui/notifications/index.js +1 -1
  42. package/lib/ui/notifications/notification/index.js +1 -1
  43. package/lib/utils/components/developer.js +18 -18
  44. package/lib/utils/components/envToggle.js +1 -1
  45. package/lib/utils/components/eventInput.js +12 -12
  46. package/lib/utils/components/sdkKey.js +10 -3
  47. package/lib/utils/createDemo.js +37 -24
  48. package/lib/utils/decorators/styles.js +3 -7
  49. package/lib/utils/login.js +8 -8
  50. package/lib/utils/useStreamLayerApp.js +5 -5
  51. package/package.json +6 -6
  52. package/lib/module.d.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react-ui",
3
- "version": "0.27.3",
3
+ "version": "0.28.1",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./lib/index.d.ts",
@@ -22,12 +22,12 @@
22
22
  ],
23
23
  "peerDependencies": {
24
24
  "@streamlayer/sl-eslib": "^5.45.1",
25
- "@streamlayer/feature-gamification": "^0.16.0",
26
- "@streamlayer/sdk-web": "^0.27.0",
27
- "@streamlayer/sdk-web-anonymous-auth": "^0.10.5",
25
+ "@streamlayer/feature-gamification": "^0.17.0",
26
+ "@streamlayer/sdk-web": "^0.27.1",
27
+ "@streamlayer/sdk-web-anonymous-auth": "^0.10.6",
28
28
  "@streamlayer/sdk-web-api": "^0.0.2",
29
- "@streamlayer/sdk-web-core": "^0.12.0",
30
- "@streamlayer/sdk-web-features": "^0.9.5",
29
+ "@streamlayer/sdk-web-core": "^0.13.0",
30
+ "@streamlayer/sdk-web-features": "^0.10.0",
31
31
  "@streamlayer/sdk-web-interfaces": "^0.18.0",
32
32
  "@streamlayer/sdk-web-notifications": "^0.9.4",
33
33
  "@streamlayer/sdk-web-storage": "^0.3.2",
package/lib/module.d.js DELETED
@@ -1 +0,0 @@
1
-