@taskon/widget-react 0.0.1-beta.5 → 0.0.1-beta.6

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 (58) hide show
  1. package/README.md +13 -4
  2. package/dist/CommunityTaskList.css +9 -1
  3. package/dist/EligibilityInfo.css +46 -42
  4. package/dist/LeaderboardWidget.css +73 -71
  5. package/dist/PageBuilder.css +5 -0
  6. package/dist/Quest.css +18 -14
  7. package/dist/TaskOnProvider.css +2 -0
  8. package/dist/UserCenterWidget.css +6 -6
  9. package/dist/UserCenterWidget2.css +1626 -1601
  10. package/dist/{dynamic-import-helper.css → WidgetShell.css} +2 -2
  11. package/dist/chunks/{CommunityTaskList-CrMvOB8w.js → CommunityTaskList-Hde2OKHH.js} +360 -154
  12. package/dist/chunks/{EligibilityInfo-Beww12QX.js → EligibilityInfo-BV0Z2TgY.js} +533 -561
  13. package/dist/chunks/{LeaderboardWidget-DwuSpVl0.js → LeaderboardWidget-BNGRD5Bu.js} +270 -249
  14. package/dist/chunks/{PageBuilder-DsX6Tv0N.js → PageBuilder-C5DSHiW9.js} +5 -5
  15. package/dist/chunks/{Quest-CuD2LElS.js → Quest-DG9zfXJo.js} +72 -50
  16. package/dist/chunks/{TaskOnProvider-xUeP2Nro.js → TaskOnProvider-BhamHIyY.js} +34 -17
  17. package/dist/chunks/{ThemeProvider-Bt4UZ33y.js → ThemeProvider-mXLdLSkq.js} +81 -18
  18. package/dist/chunks/{UserCenterWidget-CvU6K4AC.js → UserCenterWidget-D5ttw4hO.js} +1328 -1337
  19. package/dist/chunks/{UserCenterWidget-CB0hnj-L.js → UserCenterWidget-jDO5zTN1.js} +298 -231
  20. package/dist/chunks/{dynamic-import-helper-WmIF58Sb.js → WidgetShell-D7yC894Y.js} +447 -457
  21. package/dist/chunks/communitytask-es-CBNnS4o2.js +521 -0
  22. package/dist/chunks/communitytask-ja-GRf9cbdx.js +521 -0
  23. package/dist/chunks/communitytask-ko-Bf24PQKI.js +521 -0
  24. package/dist/chunks/{communitytask-ru-DhySaZL8.js → communitytask-ru-CZm2CPoV.js} +211 -1
  25. package/dist/chunks/leaderboardwidget-es-vKjrjQaz.js +146 -0
  26. package/dist/chunks/leaderboardwidget-ja-Q6u0HxKG.js +146 -0
  27. package/dist/chunks/leaderboardwidget-ko-CG6SWgxf.js +146 -0
  28. package/dist/chunks/leaderboardwidget-ru-DCcHcJGz.js +146 -0
  29. package/dist/chunks/{quest-es-D-b5xcme.js → quest-es-Dyyy0zaw.js} +8 -93
  30. package/dist/chunks/{quest-ja-Dxd2vqBF.js → quest-ja-Depog33y.js} +8 -93
  31. package/dist/chunks/{quest-ko-CSmRWgK_.js → quest-ko-BMu3uRQJ.js} +8 -93
  32. package/dist/chunks/{quest-ru-CkEKv1_F.js → quest-ru-xne814Rw.js} +8 -93
  33. package/dist/chunks/usercenter-es-Dz3Wp2vV.js +512 -0
  34. package/dist/chunks/usercenter-ja-CKE4DJC6.js +512 -0
  35. package/dist/chunks/usercenter-ko-Dtpkn2qb.js +512 -0
  36. package/dist/chunks/usercenter-ru-DnBGee45.js +512 -0
  37. package/dist/community-task.d.ts +0 -390
  38. package/dist/community-task.js +2 -7
  39. package/dist/core.d.ts +29 -5
  40. package/dist/core.js +8 -9
  41. package/dist/index.d.ts +29 -701
  42. package/dist/index.js +18 -29
  43. package/dist/leaderboard.d.ts +0 -498
  44. package/dist/leaderboard.js +2 -16
  45. package/dist/page-builder.js +1 -1
  46. package/dist/quest.d.ts +0 -971
  47. package/dist/quest.js +2 -7
  48. package/dist/user-center.d.ts +0 -1610
  49. package/dist/user-center.js +2 -494
  50. package/package.json +2 -2
  51. package/dist/chunks/communitytask-es-1zawvXEX.js +0 -311
  52. package/dist/chunks/communitytask-ja-CmW6nP-L.js +0 -311
  53. package/dist/chunks/communitytask-ko-BD0hzQSi.js +0 -311
  54. package/dist/chunks/createLocaleLoader-BameiEhU.js +0 -65
  55. package/dist/chunks/leaderboardwidget-ja-Bj6gz6y1.js +0 -119
  56. package/dist/chunks/leaderboardwidget-ko-f1cLO9ic.js +0 -119
  57. package/dist/chunks/usercenter-ja-B2465c1O.js +0 -326
  58. package/dist/chunks/usercenter-ko-xAEYxqLg.js +0 -326
@@ -30,6 +30,11 @@
30
30
  font-size: 14px;
31
31
  }
32
32
 
33
+ .taskon-page-builder-error {
34
+ overflow-wrap: anywhere;
35
+ word-break: break-word;
36
+ }
37
+
33
38
  @media (max-width: 750px) {
34
39
  .taskon-page-builder-section {
35
40
  flex-direction: column;
package/dist/Quest.css CHANGED
@@ -508,16 +508,12 @@
508
508
  width: 100%;
509
509
  }
510
510
 
511
- /* 海报顶部 - 绿色渐变区域 */
511
+ /* 海报顶部 - 纯色背景 */
512
512
 
513
513
  .taskon-quest-qr-poster-header {
514
- background: linear-gradient(
515
- 89.87deg,
516
- var(--taskon-color-primary-bg) 0.13%,
517
- var(--taskon-color-primary) 99.92%
518
- );
514
+ background: var(--taskon-color-bg-surface);
519
515
  padding: 30px;
520
- color: var(--taskon-color-text-on-primary);
516
+ color: var(--taskon-color-text);
521
517
  }
522
518
 
523
519
  /* 社区信息 */
@@ -532,7 +528,7 @@
532
528
  height: 30px;
533
529
  border-radius: 50%;
534
530
  margin-right: 6px;
535
- border: 2px solid var(--taskon-color-text-on-primary);
531
+ border: 2px solid var(--taskon-color-border);
536
532
  object-fit: cover;
537
533
  }
538
534
 
@@ -982,6 +978,8 @@
982
978
  .taskon-quest-winner-error p {
983
979
  margin: 0;
984
980
  color: var(--taskon-color-text-secondary);
981
+ overflow-wrap: anywhere;
982
+ word-break: break-word;
985
983
  }
986
984
 
987
985
  /* ============================================================================
@@ -2130,6 +2128,12 @@
2130
2128
  color: var(--taskon-color-text-secondary);
2131
2129
  }
2132
2130
 
2131
+ .taskon-quest-leaderboard-error p {
2132
+ margin: 0;
2133
+ overflow-wrap: anywhere;
2134
+ word-break: break-word;
2135
+ }
2136
+
2133
2137
  .taskon-quest-leaderboard-table {
2134
2138
  margin-top: 8px;
2135
2139
  }
@@ -3093,6 +3097,8 @@ a.taskon-quest-footer-action-btn {
3093
3097
  font-size: var(--taskon-font-size-lg);
3094
3098
  line-height: 1.5;
3095
3099
  color: var(--taskon-color-text);
3100
+ overflow-wrap: anywhere;
3101
+ word-break: break-word;
3096
3102
  }
3097
3103
 
3098
3104
  .taskon-task-validation-dialog-progress {
@@ -3678,6 +3684,8 @@ a.taskon-quest-footer-action-btn {
3678
3684
  .taskon-quest-error-message {
3679
3685
  color: var(--taskon-color-error);
3680
3686
  font-size: var(--taskon-font-size);
3687
+ overflow-wrap: anywhere;
3688
+ word-break: break-word;
3681
3689
  }
3682
3690
 
3683
3691
  .taskon-quest-error-retry {
@@ -4428,7 +4436,6 @@ a.taskon-quest-footer-action-btn {
4428
4436
  ============================================================================ */
4429
4437
 
4430
4438
  .taskon-quest-blindbox-dialog-wrapper {
4431
- background: var(--taskon-color-bg-surface);
4432
4439
  padding: 0;
4433
4440
  width: auto;
4434
4441
  max-width: 560px;
@@ -4438,13 +4445,10 @@ a.taskon-quest-footer-action-btn {
4438
4445
  padding: 0;
4439
4446
  }
4440
4447
 
4441
- .taskon-quest-blindbox-reward-wrapper {
4442
- background: var(--taskon-color-bg-surface);
4443
- padding: 0;
4444
- width: auto;
4448
+ .taskon-quest-blindbox-dialog-wrapper--result {
4445
4449
  max-width: 560px;
4446
4450
  }
4447
4451
 
4448
- .taskon-quest-blindbox-reward-wrapper .taskon-dialog-body {
4452
+ .taskon-quest-blindbox-dialog-wrapper--result .taskon-dialog-body {
4449
4453
  padding: 0;
4450
4454
  }
@@ -121,6 +121,8 @@
121
121
  .taskon-toast-message {
122
122
  flex: 1;
123
123
  margin: 0;
124
+ overflow-wrap: anywhere;
125
+ word-break: break-word;
124
126
  }
125
127
 
126
128
  /* ==================== Toast 类型变体 ==================== */
@@ -122,7 +122,7 @@
122
122
  .taskon-email-bind-dialog__title {
123
123
  font-size: 20px;
124
124
  font-weight: 600;
125
- line-height: 28px;
125
+ line-height: 1.4;
126
126
  color: var(--taskon-color-text);
127
127
  margin: 0 0 24px 0;
128
128
  }
@@ -133,9 +133,9 @@
133
133
 
134
134
  .taskon-email-bind-dialog__label {
135
135
  display: block;
136
- font-size: 14px;
136
+ font-size: var(--taskon-font-size);
137
137
  font-weight: 500;
138
- line-height: 20px;
138
+ line-height: 1.43;
139
139
  color: var(--taskon-color-text);
140
140
  margin-bottom: 8px;
141
141
  }
@@ -148,8 +148,8 @@
148
148
 
149
149
  @media (max-width: 750px) {
150
150
  .taskon-email-bind-dialog__title {
151
- font-size: 18px;
152
- line-height: 24px;
151
+ font-size: var(--taskon-font-size-xl);
152
+ line-height: 1.33;
153
153
  margin-bottom: 16px;
154
154
  }
155
155
 
@@ -158,7 +158,7 @@
158
158
  }
159
159
 
160
160
  .taskon-email-bind-dialog__label {
161
- font-size: 13px;
161
+ font-size: var(--taskon-font-size-sm);
162
162
  margin-bottom: 6px;
163
163
  }
164
164