@saasquatch/mint-components 1.5.0-113 → 1.5.0-117

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 (276) hide show
  1. package/CHANGELOG.md +82 -15
  2. package/dist/cjs/{GenericTableView-f947b749.js → GenericTableView-ed381b89.js} +7 -6
  3. package/dist/cjs/{ShadowViewAddon-79dd6c07.js → ShadowViewAddon-60ca6e6c.js} +242 -179
  4. package/dist/cjs/{global-633d1fb7.js → global-13123238.js} +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/mint-components.cjs.js +2 -2
  7. package/dist/cjs/{sqm-big-stat_30.cjs.entry.js → sqm-big-stat_31.cjs.entry.js} +198 -154
  8. package/dist/cjs/sqm-empty_5.cjs.entry.js +3 -2
  9. package/dist/cjs/{sqm-hero-view-a13795c0.js → sqm-hero-view-3b0d45d0.js} +1 -0
  10. package/dist/cjs/sqm-hero.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  12. package/dist/cjs/{sqm-portal-container-view-d101032e.js → sqm-portal-container-view-5ea913a8.js} +2 -1
  13. package/dist/cjs/{sqm-portal-email-verification-view-c32a55d6.js → sqm-portal-email-verification-view-535ae80c.js} +2 -2
  14. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-portal-footer-view-cac67bc9.js → sqm-portal-footer-view-3c62d7a6.js} +1 -1
  16. package/dist/cjs/sqm-portal-footer.cjs.entry.js +2 -2
  17. package/dist/cjs/{sqm-portal-forgot-password-view-10c0b54f.js → sqm-portal-forgot-password-view-02b046e1.js} +1 -1
  18. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  19. package/dist/cjs/{sqm-portal-profile-view-72c40619.js → sqm-portal-profile-view-12c9cd73.js} +3 -3
  20. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  21. package/dist/cjs/{sqm-portal-reset-password-view-1fdc957e.js → sqm-portal-reset-password-view-20df8d45.js} +1 -1
  22. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  23. package/dist/cjs/{sqm-portal-section-view-186a5f7e.js → sqm-portal-section-view-f3c8475a.js} +1 -0
  24. package/dist/cjs/{sqm-portal-verify-email-view-4c78e231.js → sqm-portal-verify-email-view-1b07a1ba.js} +1 -1
  25. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +27 -10
  27. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  28. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +37 -21
  29. package/dist/cjs/sqm-stencilbook.cjs.entry.js +252 -115
  30. package/dist/cjs/sqm-text-span-view-c54af22c.js +59 -0
  31. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  32. package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +15 -3
  33. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -0
  34. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +3 -3
  35. package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -1
  36. package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +1 -0
  37. package/dist/collection/components/sqm-hero/sqm-hero-view.js +1 -0
  38. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +9 -2
  39. package/dist/collection/components/sqm-image/sqm-image-view.js +1 -0
  40. package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +2 -2
  41. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +0 -5
  42. package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +72 -0
  43. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +2 -1
  44. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +26 -0
  45. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +40 -38
  46. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -0
  47. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +1 -1
  48. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -1
  49. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +10 -1
  50. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +5 -1
  51. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +12 -10
  52. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -1
  53. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -1
  54. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +11 -9
  55. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +10 -10
  56. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +9 -25
  57. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +7 -27
  58. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -0
  59. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +1 -1
  60. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +14 -9
  61. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +7 -1
  62. package/dist/collection/components/sqm-scroll/Scroll.stories.js +14 -23
  63. package/dist/collection/components/sqm-scroll/sqm-scroll.js +102 -147
  64. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +8 -8
  65. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +29 -29
  66. package/dist/collection/components/sqm-share-button/sqm-share-button.js +21 -21
  67. package/dist/collection/components/sqm-share-code/ShareCode.stories.js +2 -2
  68. package/dist/collection/components/sqm-share-code/sqm-share-code.js +7 -7
  69. package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
  70. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +3 -3
  71. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +3 -3
  72. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +1 -1
  73. package/dist/collection/components/sqm-share-link/sqm-share-link.js +4 -4
  74. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +1 -0
  75. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  76. package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -1
  77. package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
  78. package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +7 -0
  79. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +52 -50
  80. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +18 -10
  81. package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -1
  82. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +42 -42
  83. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +77 -0
  84. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +1 -80
  85. package/dist/collection/components/sqm-timeline/sqm-timeline.js +0 -18
  86. package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +1 -0
  87. package/dist/collection/global/styles.js +1 -0
  88. package/dist/collection/global/styles.ts +1 -0
  89. package/dist/collection/stories/NewPortal.stories.js +2 -2
  90. package/dist/collection/stories/PortalTemplates.stories.js +0 -7
  91. package/dist/collection/stories/Widget.stories.js +49 -0
  92. package/dist/collection/tables/GenericTableView.js +7 -6
  93. package/dist/esm/{GenericTableView-6b7b537b.js → GenericTableView-6924630b.js} +7 -6
  94. package/dist/esm/{ShadowViewAddon-9c382e30.js → ShadowViewAddon-3347acdb.js} +242 -180
  95. package/dist/esm/{global-7d4eb5e5.js → global-9bff4920.js} +1 -0
  96. package/dist/esm/loader.js +2 -2
  97. package/dist/esm/mint-components.js +2 -2
  98. package/dist/esm/{sqm-big-stat_30.entry.js → sqm-big-stat_31.entry.js} +199 -156
  99. package/dist/esm/sqm-empty_5.entry.js +3 -2
  100. package/dist/esm/{sqm-hero-view-5ea17052.js → sqm-hero-view-8e70916e.js} +1 -0
  101. package/dist/esm/sqm-hero.entry.js +1 -1
  102. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  103. package/dist/esm/{sqm-portal-container-view-dea0cdcc.js → sqm-portal-container-view-46929235.js} +2 -1
  104. package/dist/esm/{sqm-portal-email-verification-view-86e3ff2e.js → sqm-portal-email-verification-view-1d7eca0a.js} +2 -2
  105. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  106. package/dist/esm/{sqm-portal-footer-view-d6a43c4d.js → sqm-portal-footer-view-df66904d.js} +1 -1
  107. package/dist/esm/sqm-portal-footer.entry.js +2 -2
  108. package/dist/esm/{sqm-portal-forgot-password-view-fa088f83.js → sqm-portal-forgot-password-view-6b99a1ad.js} +1 -1
  109. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  110. package/dist/esm/{sqm-portal-profile-view-c34e781b.js → sqm-portal-profile-view-b96b89a3.js} +3 -3
  111. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  112. package/dist/esm/{sqm-portal-reset-password-view-73e14282.js → sqm-portal-reset-password-view-2c0da51c.js} +1 -1
  113. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  114. package/dist/esm/{sqm-portal-section-view-88a80af9.js → sqm-portal-section-view-61dbb8a9.js} +1 -0
  115. package/dist/esm/{sqm-portal-verify-email-view-cbf1cfdc.js → sqm-portal-verify-email-view-0d005914.js} +1 -1
  116. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  117. package/dist/esm/sqm-referral-table_11.entry.js +27 -10
  118. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  119. package/dist/esm/sqm-rewards-table_9.entry.js +37 -21
  120. package/dist/esm/sqm-stencilbook.entry.js +248 -111
  121. package/dist/esm/sqm-text-span-view-c8793d61.js +57 -0
  122. package/dist/esm/sqm-text-span.entry.js +1 -1
  123. package/dist/esm-es5/GenericTableView-6924630b.js +1 -0
  124. package/dist/esm-es5/ShadowViewAddon-3347acdb.js +1 -0
  125. package/dist/esm-es5/{global-7d4eb5e5.js → global-9bff4920.js} +1 -1
  126. package/dist/esm-es5/loader.js +1 -1
  127. package/dist/esm-es5/mint-components.js +1 -1
  128. package/dist/esm-es5/sqm-big-stat_31.entry.js +1 -0
  129. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  130. package/dist/esm-es5/{sqm-hero-view-5ea17052.js → sqm-hero-view-8e70916e.js} +0 -0
  131. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  132. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  133. package/dist/esm-es5/sqm-portal-container-view-46929235.js +1 -0
  134. package/dist/esm-es5/{sqm-portal-email-verification-view-86e3ff2e.js → sqm-portal-email-verification-view-1d7eca0a.js} +1 -1
  135. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  136. package/dist/esm-es5/{sqm-portal-footer-view-d6a43c4d.js → sqm-portal-footer-view-df66904d.js} +1 -1
  137. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  138. package/dist/esm-es5/{sqm-portal-forgot-password-view-fa088f83.js → sqm-portal-forgot-password-view-6b99a1ad.js} +1 -1
  139. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  140. package/dist/esm-es5/{sqm-portal-profile-view-c34e781b.js → sqm-portal-profile-view-b96b89a3.js} +1 -1
  141. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  142. package/dist/esm-es5/{sqm-portal-reset-password-view-73e14282.js → sqm-portal-reset-password-view-2c0da51c.js} +1 -1
  143. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  144. package/dist/esm-es5/{sqm-portal-section-view-88a80af9.js → sqm-portal-section-view-61dbb8a9.js} +0 -0
  145. package/dist/esm-es5/{sqm-portal-verify-email-view-cbf1cfdc.js → sqm-portal-verify-email-view-0d005914.js} +1 -1
  146. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  147. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  148. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  149. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  150. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  151. package/dist/{mint-components/p-179988b5.js → esm-es5/sqm-text-span-view-c8793d61.js} +1 -1
  152. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  153. package/dist/mint-components/global/styles.ts +1 -0
  154. package/dist/mint-components/mint-components.esm.js +1 -1
  155. package/dist/mint-components/mint-components.js +1 -1
  156. package/dist/mint-components/{p-e08f5f8e.js → p-00c0fd3c.js} +0 -0
  157. package/dist/mint-components/{p-49667de1.system.entry.js → p-07b18f4a.system.entry.js} +1 -1
  158. package/dist/mint-components/{p-f31a3a08.system.entry.js → p-099d949d.system.entry.js} +1 -1
  159. package/dist/mint-components/{p-ce0ec1c4.system.js → p-1830b02e.system.js} +1 -1
  160. package/dist/mint-components/p-1e57c649.entry.js +9 -0
  161. package/dist/mint-components/p-23a3e161.entry.js +1 -0
  162. package/dist/mint-components/{p-3dbd3303.entry.js → p-258dc62f.entry.js} +1 -1
  163. package/dist/mint-components/{p-1c3c2ddb.system.js → p-26b42a93.system.js} +1 -1
  164. package/dist/mint-components/{p-147440c3.js → p-2ec8c64c.js} +0 -0
  165. package/dist/mint-components/{p-e82076e4.system.js → p-2ef43b0b.system.js} +1 -1
  166. package/dist/mint-components/{p-91951a0a.system.entry.js → p-3295bcea.system.entry.js} +1 -1
  167. package/dist/mint-components/{p-d7736049.system.entry.js → p-32b9d246.system.entry.js} +1 -1
  168. package/dist/mint-components/p-33159b8f.entry.js +99 -0
  169. package/dist/mint-components/p-39928661.system.entry.js +1 -0
  170. package/dist/mint-components/{p-96bbb28a.system.entry.js → p-3bb7f637.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-6b43e4cc.system.js → p-3bf4f950.system.js} +1 -1
  172. package/dist/mint-components/{p-53af4433.system.js → p-3cf449ba.system.js} +0 -0
  173. package/dist/mint-components/{p-fe0d7472.entry.js → p-4556231d.entry.js} +1 -1
  174. package/dist/mint-components/{p-759df017.system.entry.js → p-4fdc7713.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-6a87a09f.entry.js → p-5c35a4e6.entry.js} +1 -1
  176. package/dist/mint-components/p-5c71ba83.js +268 -0
  177. package/dist/mint-components/{p-8d7ae057.system.entry.js → p-60abe71f.system.entry.js} +1 -1
  178. package/dist/mint-components/p-6660f97d.system.js +1 -0
  179. package/dist/mint-components/p-6faceb79.system.entry.js +1 -0
  180. package/dist/mint-components/{p-eb61462d.entry.js → p-710dd330.entry.js} +12 -12
  181. package/dist/mint-components/{p-1959da16.system.js → p-73e64749.system.js} +1 -1
  182. package/dist/mint-components/{p-4f4bdfad.system.entry.js → p-79e4c06a.system.entry.js} +1 -1
  183. package/dist/mint-components/{p-3bdc5918.js → p-7b074331.js} +1 -1
  184. package/dist/mint-components/{p-4a1b7d35.js → p-7fe7dbb0.js} +1 -1
  185. package/dist/mint-components/{p-d264d1a0.system.js → p-80845175.system.js} +1 -1
  186. package/dist/mint-components/{p-200ffff7.entry.js → p-96f571e5.entry.js} +1 -1
  187. package/dist/mint-components/p-99e7434e.js +1 -0
  188. package/dist/mint-components/{p-93e15034.entry.js → p-9dee36f6.entry.js} +1 -1
  189. package/dist/mint-components/{p-16023c39.system.entry.js → p-a35ce12b.system.entry.js} +1 -1
  190. package/dist/mint-components/{p-2af6bb32.system.entry.js → p-a36892ea.system.entry.js} +1 -1
  191. package/dist/mint-components/p-a82df645.system.entry.js +1 -0
  192. package/dist/mint-components/{p-55b6147d.js → p-abc7fa04.js} +1 -1
  193. package/dist/mint-components/p-ad741ee2.system.entry.js +1 -0
  194. package/dist/mint-components/p-aebee81d.system.js +1 -0
  195. package/dist/mint-components/{p-3e65453b.system.js → p-b756428e.system.js} +0 -0
  196. package/dist/mint-components/{p-1d1e9197.js → p-ba597021.js} +1 -1
  197. package/dist/mint-components/p-bb630f90.system.js +1 -0
  198. package/dist/mint-components/p-c887a653.system.js +1 -0
  199. package/dist/mint-components/{p-d33eb961.js → p-c8cb3674.js} +1 -1
  200. package/dist/mint-components/{p-20e8567f.entry.js → p-ca696a40.entry.js} +1 -1
  201. package/dist/mint-components/{p-1204f7df.entry.js → p-cfe3ceb7.entry.js} +1 -1
  202. package/dist/mint-components/{p-a8141e7b.entry.js → p-d073aead.entry.js} +1 -1
  203. package/dist/mint-components/p-db46fe90.js +1 -0
  204. package/dist/mint-components/{p-fcd096b3.entry.js → p-dc0b8fdb.entry.js} +1 -1
  205. package/dist/mint-components/{p-ce8b1b36.system.js → p-e2cb443e.system.js} +1 -1
  206. package/dist/mint-components/{p-72a798c3.entry.js → p-e3fff405.entry.js} +1 -1
  207. package/dist/mint-components/p-ec5633b8.js +1 -0
  208. package/dist/mint-components/p-ec77261d.system.js +1 -0
  209. package/dist/mint-components/{p-e57bb617.entry.js → p-ee1684ae.entry.js} +1 -1
  210. package/dist/mint-components/{p-c5314bbc.js → p-eff88c3d.js} +1 -1
  211. package/dist/mint-components/p-f34dd1c1.js +1 -0
  212. package/dist/mint-components/{p-72296718.system.entry.js → p-f72dc3a5.system.entry.js} +1 -1
  213. package/dist/types/components/sqm-big-stat/UseBigStat.stories.d.ts +24 -0
  214. package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +6 -0
  215. package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
  216. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +6 -0
  217. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -3
  218. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +19 -19
  219. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +1 -1
  220. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +6 -4
  221. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +1 -1
  222. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -1
  223. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +0 -4
  224. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +7 -4
  225. package/dist/types/components/sqm-scroll/Scroll.stories.d.ts +1 -0
  226. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +56 -8
  227. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +6 -6
  228. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +9 -9
  229. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +2 -2
  230. package/dist/types/components/sqm-share-code/useShareCode.d.ts +2 -2
  231. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
  232. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
  233. package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -1
  234. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -1
  235. package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +1 -0
  236. package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +1 -0
  237. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -0
  238. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +9 -0
  239. package/dist/types/components.d.ts +172 -78
  240. package/dist/types/global/styles.d.ts +1 -1
  241. package/dist/types/stories/Widget.stories.d.ts +22 -0
  242. package/grapesjs/grapesjs.js +1 -1
  243. package/package.json +1 -1
  244. package/dist/cjs/sqm-stat-container-view-8aaf6cb8.js +0 -52
  245. package/dist/cjs/sqm-stat-container.cjs.entry.js +0 -36
  246. package/dist/cjs/sqm-text-span-view-f101dedf.js +0 -59
  247. package/dist/esm/sqm-stat-container-view-226b6496.js +0 -50
  248. package/dist/esm/sqm-stat-container.entry.js +0 -32
  249. package/dist/esm/sqm-text-span-view-7e61c95c.js +0 -57
  250. package/dist/esm-es5/GenericTableView-6b7b537b.js +0 -1
  251. package/dist/esm-es5/ShadowViewAddon-9c382e30.js +0 -1
  252. package/dist/esm-es5/sqm-big-stat_30.entry.js +0 -1
  253. package/dist/esm-es5/sqm-portal-container-view-dea0cdcc.js +0 -1
  254. package/dist/esm-es5/sqm-stat-container-view-226b6496.js +0 -1
  255. package/dist/esm-es5/sqm-stat-container.entry.js +0 -1
  256. package/dist/esm-es5/sqm-text-span-view-7e61c95c.js +0 -1
  257. package/dist/mint-components/p-1a786c17.js +0 -1
  258. package/dist/mint-components/p-1b71a09e.system.entry.js +0 -1
  259. package/dist/mint-components/p-1cd23e56.system.entry.js +0 -1
  260. package/dist/mint-components/p-2c5d7a20.js +0 -268
  261. package/dist/mint-components/p-3f88f8eb.system.js +0 -1
  262. package/dist/mint-components/p-45581e0b.entry.js +0 -9
  263. package/dist/mint-components/p-48161ba8.js +0 -1
  264. package/dist/mint-components/p-4e0ce80b.js +0 -1
  265. package/dist/mint-components/p-546ee840.entry.js +0 -1
  266. package/dist/mint-components/p-55f3d841.system.js +0 -1
  267. package/dist/mint-components/p-78df4d2d.system.js +0 -1
  268. package/dist/mint-components/p-8bcaafaf.system.js +0 -1
  269. package/dist/mint-components/p-9e4f0169.system.entry.js +0 -1
  270. package/dist/mint-components/p-a44b64d5.js +0 -1
  271. package/dist/mint-components/p-ac303785.system.js +0 -1
  272. package/dist/mint-components/p-b359d5a5.entry.js +0 -1
  273. package/dist/mint-components/p-bb497e73.entry.js +0 -93
  274. package/dist/mint-components/p-c5086d90.system.js +0 -1
  275. package/dist/mint-components/p-e16186c0.system.entry.js +0 -1
  276. package/dist/mint-components/p-e2731437.system.entry.js +0 -1
@@ -10,8 +10,8 @@ export const ShareCode = () => {
10
10
  return h("sqm-share-code", null);
11
11
  };
12
12
  export const CustomTooltipText = () => {
13
- return h("sqm-share-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
13
+ return h("sqm-share-code", { tooltipText: "CUSTOM TOOLTIP TEXT" });
14
14
  };
15
15
  export const CustomTooltipDuration = () => {
16
- return h("sqm-share-code", { tooltiplifespan: 5000 });
16
+ return h("sqm-share-code", { tooltipLifespan: 5000 });
17
17
  };
@@ -16,13 +16,13 @@ export class ShareCode {
16
16
  *
17
17
  * @uiName Tooltip text
18
18
  */
19
- this.tooltiptext = "Copied to Clipboard";
19
+ this.tooltipText = "Copied to Clipboard";
20
20
  /**
21
21
  * The number of milliseconds that the tooltip will appear for
22
22
  *
23
23
  * @uiName Tooltip lifespan
24
24
  */
25
- this.tooltiplifespan = DEFAULT_TOOLTIP_LIFESPAN;
25
+ this.tooltipLifespan = DEFAULT_TOOLTIP_LIFESPAN;
26
26
  withHooks(this);
27
27
  }
28
28
  disconnectedCallback() { }
@@ -56,7 +56,7 @@ export class ShareCode {
56
56
  "attribute": "program-id",
57
57
  "reflect": false
58
58
  },
59
- "tooltiptext": {
59
+ "tooltipText": {
60
60
  "type": "string",
61
61
  "mutable": false,
62
62
  "complexType": {
@@ -77,7 +77,7 @@ export class ShareCode {
77
77
  "reflect": false,
78
78
  "defaultValue": "\"Copied to Clipboard\""
79
79
  },
80
- "tooltiplifespan": {
80
+ "tooltipLifespan": {
81
81
  "type": "number",
82
82
  "mutable": false,
83
83
  "complexType": {
@@ -103,7 +103,7 @@ export class ShareCode {
103
103
  "mutable": false,
104
104
  "complexType": {
105
105
  "original": "DemoData<ShareLinkViewProps>",
106
- "resolved": "{ disabled?: boolean; onClick?: () => void; shareString?: string; open?: boolean; tooltiptext?: string; }",
106
+ "resolved": "{ disabled?: boolean; onClick?: () => void; shareString?: string; open?: boolean; tooltipText?: string; }",
107
107
  "references": {
108
108
  "DemoData": {
109
109
  "location": "import",
@@ -135,14 +135,14 @@ function useDemoShareCode(props) {
135
135
  const shareString = "SHARECODE001";
136
136
  return deepmerge({
137
137
  shareString,
138
- tooltiptext: props.tooltiptext,
138
+ tooltipText: props.tooltipText,
139
139
  open,
140
140
  onClick: () => {
141
141
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
142
142
  // Only if called from a user-initiated event
143
143
  navigator.clipboard.writeText(shareString);
144
144
  setOpen(true);
145
- setTimeout(() => setOpen(false), props.tooltiplifespan);
145
+ setTimeout(() => setOpen(false), props.tooltipLifespan);
146
146
  },
147
147
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
148
148
  }
@@ -31,7 +31,7 @@ export function useShareCode(props) {
31
31
  // Only if called from a user-initiated event
32
32
  navigator.clipboard.writeText(shareString);
33
33
  setOpen(true);
34
- setTimeout(() => setOpen(false), props.tooltiplifespan);
34
+ setTimeout(() => setOpen(false), props.tooltipLifespan);
35
35
  sendLoadEvent({
36
36
  eventMeta: {
37
37
  programId,
@@ -11,14 +11,14 @@ export const Default = () => {
11
11
  const props = {
12
12
  shareString: "https://noah.example.com",
13
13
  open: false,
14
- tooltiptext: "Copied!",
14
+ tooltipText: "Copied!",
15
15
  };
16
16
  return h(ShareLinkView, Object.assign({}, props));
17
17
  };
18
18
  export const Tooltip = () => {
19
19
  const props = {
20
20
  shareString: "https://noah.example.com",
21
- tooltiptext: "Some text for the tooltip",
21
+ tooltipText: "Some text for the tooltip",
22
22
  open: true,
23
23
  };
24
24
  return h(ShareLinkView, Object.assign({}, props));
@@ -28,7 +28,7 @@ export const Disabled = () => {
28
28
  shareString: "https://noah.example.com",
29
29
  disabled: true,
30
30
  open: true,
31
- tooltiptext: "Copied!",
31
+ tooltipText: "Copied!",
32
32
  };
33
33
  return h(ShareLinkView, Object.assign({}, props));
34
34
  };
@@ -34,7 +34,7 @@ export const BareBonesView = createHookStory(() => {
34
34
  const res = useShareLink({
35
35
  programId: "sam-partner-test-2",
36
36
  tooltiplifespan: 0,
37
- tooltiptext: "",
37
+ tooltipText: "",
38
38
  });
39
39
  return (h("div", null,
40
40
  "Sharelink:",
@@ -45,7 +45,7 @@ export const RegularView = createHookStory(() => {
45
45
  setupGraphQL();
46
46
  return (h(ShareLinkView, Object.assign({}, useShareLink({
47
47
  programId: "sam-partner-test-2",
48
- tooltiptext: "Copied to clipboard",
48
+ tooltipText: "Copied to clipboard",
49
49
  tooltiplifespan: 1000,
50
50
  }))));
51
51
  });
@@ -53,7 +53,7 @@ export const FastTooltip = createHookStory(() => {
53
53
  setupGraphQL();
54
54
  return (h(ShareLinkView, Object.assign({}, useShareLink({
55
55
  programId: "sam-partner-test-2",
56
- tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
56
+ tooltipText: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
57
57
  tooltiplifespan: 500,
58
58
  }))));
59
59
  });
@@ -12,7 +12,7 @@ const styleString = sheet.toString();
12
12
  export function ShareLinkView(props) {
13
13
  return (h("div", null,
14
14
  h("style", { type: "text/css" }, styleString),
15
- h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: "top-end", disabled: props.disabled, open: props.open },
15
+ h("sl-tooltip", { trigger: "manual", content: props.tooltipText, placement: "top-end", disabled: props.disabled, open: props.open },
16
16
  h("sl-input", { class: sheet.classes.inputStyle, exportparts: "label: input-label", value: props.shareString, readonly: true },
17
17
  h("sl-icon-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, slot: "suffix", name: "files", disabled: props.disabled })))));
18
18
  }
@@ -16,7 +16,7 @@ export class ShareLink {
16
16
  *
17
17
  * @uiName Tooltip text
18
18
  */
19
- this.tooltiptext = "Copied to Clipboard";
19
+ this.tooltipText = "Copied to Clipboard";
20
20
  /**
21
21
  * The number of milliseconds that the tooltip will appear for
22
22
  *
@@ -56,7 +56,7 @@ export class ShareLink {
56
56
  "attribute": "program-id",
57
57
  "reflect": false
58
58
  },
59
- "tooltiptext": {
59
+ "tooltipText": {
60
60
  "type": "string",
61
61
  "mutable": false,
62
62
  "complexType": {
@@ -103,7 +103,7 @@ export class ShareLink {
103
103
  "mutable": false,
104
104
  "complexType": {
105
105
  "original": "DemoData<ShareLinkViewProps>",
106
- "resolved": "{ disabled?: boolean; onClick?: () => void; shareString?: string; open?: boolean; tooltiptext?: string; }",
106
+ "resolved": "{ disabled?: boolean; onClick?: () => void; shareString?: string; open?: boolean; tooltipText?: string; }",
107
107
  "references": {
108
108
  "DemoData": {
109
109
  "location": "import",
@@ -135,7 +135,7 @@ function useDemoShareLink(props) {
135
135
  const shareString = "https://www.example.com/sharelink/abc";
136
136
  return deepmerge({
137
137
  shareString,
138
- tooltiptext: props.tooltiptext,
138
+ tooltipText: props.tooltipText,
139
139
  open,
140
140
  onClick: () => {
141
141
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -5,6 +5,7 @@ export function StatContainerView(props, children) {
5
5
  const spaceValue = getComputedStyle(document.documentElement).getPropertyValue(`--sl-spacing-${props.space}`);
6
6
  return `${Math.floor(parseInt(spaceValue) / 2)}rem`;
7
7
  };
8
+ // Dependent on props, not feasiable to move out
8
9
  const style = {
9
10
  StatContainer: {
10
11
  width: "100%",
@@ -20,6 +20,7 @@ import * as UseRewardExchangeList from "../sqm-reward-exchange-list/UseRewardExc
20
20
  import * as UseRewardsTable from "../sqm-rewards-table/UseRewardsTable.stories";
21
21
  import * as UseTaskCard from "../sqm-task-card/UseTaskCard.stories";
22
22
  import * as NewPortal from "../../stories/NewPortal.stories";
23
+ import * as Widget from "../../stories/Widget.stories";
23
24
  import * as SidebarItem from "../sqm-navigation-sidebar-item/SidebarItem.stories";
24
25
  import * as NavigationSidebar from "../sqm-navigation-sidebar/NavigationSidebar.stories";
25
26
  import * as PortalLogin from "../sqm-portal-login/PortalLogin.stories";
@@ -103,6 +104,7 @@ const stories = [
103
104
  PasswordField,
104
105
  TaskCard,
105
106
  PortalTemplates,
107
+ Widget,
106
108
  ProgramMenu,
107
109
  PoweredByImg,
108
110
  PortalFooter,
@@ -4,7 +4,7 @@ import { getProps } from "../../utils/utils";
4
4
  import { TabsView } from "./sqm-tabs-view";
5
5
  import { useTabs } from "./useTabs";
6
6
  /**
7
- * @uiName Tabs
7
+ * @uiName Tab Group
8
8
  */
9
9
  export class Tabs {
10
10
  constructor() {
@@ -43,7 +43,7 @@ const sheet = createStyleSheet(style);
43
43
  const styleString = sheet.toString();
44
44
  export function Details(props) {
45
45
  const rid = Math.random().toString(36).slice(2);
46
- return (h("div", null,
46
+ return (h("div", { style: { opacity: props.opacity } },
47
47
  h("style", { type: "text/css" }, styleString),
48
48
  h("span", { class: sheet.classes.Description },
49
49
  h("input", { type: "checkbox", id: "details-" + rid }),
@@ -6,3 +6,10 @@ export const Gift = () => {
6
6
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.5 9V10H14.5V9H1.5Z", fill: "#BE9720" }),
7
7
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#EB5757" })));
8
8
  };
9
+ export const GreyGift = () => {
10
+ return (h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
11
+ h("path", { d: "M15 5H12.4508H9V16H13.5C14.0523 16 14.5 15.5523 14.5 15V9H15C15.5523 9 16 8.55228 16 8V6C16 5.44772 15.5523 5 15 5Z", fill: "#C9C9C9" }),
12
+ h("path", { d: "M1.5 9V15C1.5 15.5523 1.94772 16 2.5 16H7V5H4.64242H1C0.447715 5 0 5.44772 0 6V8C0 8.55228 0.447715 9 1 9H1.5Z", fill: "#C9C9C9" }),
13
+ h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.5 9V10H14.5V9H1.5Z", fill: "#A5A3A3" }),
14
+ h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
15
+ };
@@ -1,6 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { createStyleSheet } from "../../../styling/JSS";
3
- import { Gift } from "./SVGs";
3
+ import { Gift, GreyGift } from "./SVGs";
4
4
  const style = {
5
5
  ProgressBar: {
6
6
  "& .progress-bar": {
@@ -13,17 +13,34 @@ const style = {
13
13
  lineHeight: "45px",
14
14
  userSelect: "none",
15
15
  },
16
+ "& .progress-bar.repeatable-steps": {
17
+ marginLeft: "var(--sl-spacing-x-small)",
18
+ },
16
19
  "&[data-steps]": {
17
20
  marginTop: "calc(-1*var(--sl-spacing-x-small))",
18
21
  },
19
22
  "&[data-steps] .progress-bar": {
20
23
  marginTop: "var(--sl-spacing-medium)",
21
24
  },
22
- "&[data-expired] .progress-bar": {
23
- filter: "grayscale(1)",
25
+ "&[data-expired] .progress::after": {
26
+ backgroundColor: "#bfbfbf",
24
27
  },
25
- "& .progress-bar.repeatable-steps": {
26
- marginLeft: "var(--sl-spacing-x-small)",
28
+ "&[data-expired] .filled::after": {
29
+ backgroundColor: "#bfbfbf",
30
+ },
31
+ "&[data-complete] .filled::after .progress::after": {
32
+ backgroundColor: "var(--sl-color-primary-200)",
33
+ },
34
+ "& .gift": {
35
+ textAlign: "center",
36
+ marginLeft: "-100px",
37
+ marginRight: "-100px",
38
+ position: "relative",
39
+ top: "-18px",
40
+ },
41
+ "& .gift.start": {
42
+ transform: "scale(80%)",
43
+ top: "-20px",
27
44
  },
28
45
  "& .filled:after": {
29
46
  content: '""',
@@ -94,29 +111,15 @@ const style = {
94
111
  borderRadius: "4px",
95
112
  backgroundColor: "#E0E0E0",
96
113
  },
97
- "& .gift.bw": {
98
- filter: "grayscale(100%)",
99
- },
100
- "& .gift.start": {
101
- transform: "scale(80%)",
102
- top: "-20px",
103
- },
104
- "& .gift": {
105
- textAlign: "center",
106
- marginLeft: "-100px",
107
- marginRight: "-100px",
108
- position: "relative",
109
- top: "-18px",
110
- },
111
114
  },
112
115
  };
113
116
  const sheet = createStyleSheet(style, { classNamePrefix: "sqm-prog-bar" });
114
117
  const styleString = sheet.toString();
115
118
  export function ProgressBarView(props) {
116
- const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, expired = false, finite = 0, } = props;
119
+ const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
117
120
  let aggregate = buildProgressBar(repeatable, steps, props);
118
121
  const { columns, items } = aggregate;
119
- return (h("div", { class: sheet.classes.ProgressBar, "data-expired": expired, "data-steps": steps, "data-done": goal <= progress },
122
+ return (h("div", { class: sheet.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
120
123
  h("style", { type: "text/css" }, styleString),
121
124
  h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
122
125
  (Boolean(finite) && progress > 2 * goal)
@@ -145,7 +148,7 @@ function buildProgressBar(repeatable, steps, props) {
145
148
  }
146
149
  }
147
150
  }
148
- function addSteps({ progress, goal }) {
151
+ function addSteps({ progress, goal, expired }) {
149
152
  const items = [];
150
153
  const columns = [];
151
154
  let ratio = 1 / goal;
@@ -168,21 +171,22 @@ function addSteps({ progress, goal }) {
168
171
  columns.push("0fr");
169
172
  items.push(h("div", { class: "filled" }));
170
173
  items.push(h("div", { class: "progress bg" }, goal));
171
- items.push(h("div", { class: "gift" }, h(Gift, null)));
174
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
172
175
  }
173
176
  // reward fail
174
177
  else {
175
178
  columns.push("0fr");
176
179
  items.push(h("div", { class: "remain" }));
177
180
  items.push(h("div", { class: "empty bg" }, goal));
178
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
181
+ items.push(h("div", { class: "gift" },
182
+ h(GreyGift, null)));
179
183
  }
180
184
  return {
181
185
  items,
182
186
  columns: columns.join(" "),
183
187
  };
184
188
  }
185
- function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
189
+ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired, }) {
186
190
  let repetitions = Math.floor(progress / goal);
187
191
  let ratio = ((progress % goal) / goal) * 0.5;
188
192
  const items = [];
@@ -194,11 +198,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
194
198
  items.push(h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progressBarUnit + progress));
195
199
  items.push(h("div", { class: "remain" }));
196
200
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
197
- items.push(h("div", { class: progress == goal ? "gift" : "gift bw" },
198
- h(Gift, null)));
201
+ items.push(h("div", { class: "gift" }, progress == goal ? expired ? h(GreyGift, null) : h(Gift, null) : h(GreyGift, null)));
199
202
  items.push(h("div", { class: "remain" }));
200
203
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
201
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
204
+ items.push(h("div", { class: "gift" }, h(GreyGift, null)));
202
205
  }
203
206
  // single repetition
204
207
  else if (repetitions == 1) {
@@ -206,18 +209,18 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
206
209
  "0.5fr 0fr 0fr " + ratio + "fr 0fr " + (0.5 - ratio) + "fr 0fr 0fr";
207
210
  items.push(h("div", { class: "filled" }));
208
211
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
209
- items.push(h("div", { class: "gift" }, h(Gift, null)));
212
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
210
213
  items.push(h("div", { class: "filled" }));
211
214
  items.push(h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progress == goal ? "" : progressBarUnit + progress));
212
215
  items.push(h("div", { class: "remain" }));
213
216
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
214
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
217
+ items.push(h("div", { class: "gift" }, h(GreyGift, null)));
215
218
  }
216
219
  // finite repetition hit
217
220
  else if (finite && repetitions >= finite) {
218
221
  if (repetitions > 2) {
219
222
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 2)));
220
- items.push(h("div", { class: "gift start" }, h(Gift, null)));
223
+ items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
221
224
  columns = "0fr 0fr 0.5fr 0fr 0fr 0.5fr 0fr 0fr";
222
225
  }
223
226
  else {
@@ -225,10 +228,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
225
228
  }
226
229
  items.push(h("div", { class: "filled" }));
227
230
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 1)));
228
- items.push(h("div", { class: "gift" }, h(Gift, null)));
231
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
229
232
  items.push(h("div", { class: "filled" }));
230
233
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * finite));
231
- items.push(h("div", { class: "gift" }, h(Gift, null)));
234
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
232
235
  }
233
236
  // multiple repetitions
234
237
  else {
@@ -239,19 +242,19 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
239
242
  (0.5 - ratio) +
240
243
  "fr 0fr 0fr";
241
244
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions - 1)));
242
- items.push(h("div", { class: "gift start" }, h(Gift, null)));
245
+ items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
243
246
  items.push(h("div", { class: "filled" }));
244
247
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * repetitions));
245
- items.push(h("div", { class: "gift" }, h(Gift, null)));
248
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
246
249
  items.push(h("div", { class: "filled" }));
247
250
  items.push(h("div", { class: progress == goal * repetitions ? "progress top bg" : "progress top" }, progress == goal * repetitions ? "" : progressBarUnit + progress));
248
251
  items.push(h("div", { class: "remain" }));
249
252
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions + 1)));
250
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
253
+ items.push(h("div", { class: "gift" }, h(GreyGift, null)));
251
254
  }
252
255
  return { items, columns };
253
256
  }
254
- function addStepsRepeatable({ progress, goal, finite, }) {
257
+ function addStepsRepeatable({ progress, goal, finite, expired, }) {
255
258
  const items = [];
256
259
  const columns = [];
257
260
  let repetitions = Math.floor(progress / goal);
@@ -266,14 +269,14 @@ function addStepsRepeatable({ progress, goal, finite, }) {
266
269
  columns.push("0fr");
267
270
  items.push(h("div", { class: "remain" }));
268
271
  items.push(h("div", { class: "empty bg" }, goal));
269
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
272
+ items.push(h("div", { class: "gift" }, h(GreyGift, null)));
270
273
  }
271
274
  else if (i == goal * 2) {
272
275
  columns.push("0fr");
273
276
  columns.push("0fr");
274
277
  items.push(h("div", { class: "remain" }));
275
278
  items.push(h("div", { class: "empty bg" }, goal * 2));
276
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
279
+ items.push(h("div", { class: "gift" }, h(GreyGift, null)));
277
280
  }
278
281
  else {
279
282
  items.push(h("div", { class: "remain" }));
@@ -284,7 +287,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
284
287
  columns.push("0fr");
285
288
  items.push(h("div", { class: "filled" }));
286
289
  items.push(h("div", { class: "progress bg" }, i));
287
- items.push(h("div", { class: "gift" }, h(Gift, null)));
290
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
288
291
  }
289
292
  else {
290
293
  items.push(h("div", { class: "filled" }));
@@ -299,7 +302,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
299
302
  columns.push("0fr");
300
303
  columns.push("0fr");
301
304
  items.push(h("div", { class: "progress bg" }, goal * (finite - 2)));
302
- items.push(h("div", { class: "gift start" }, h(Gift, null)));
305
+ items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
303
306
  }
304
307
  for (let i = 1; i < goal * 2 + 1; i++) {
305
308
  columns.push(ratio + "fr");
@@ -309,21 +312,21 @@ function addStepsRepeatable({ progress, goal, finite, }) {
309
312
  columns.push("0fr");
310
313
  items.push(h("div", { class: "remain" }));
311
314
  items.push(h("div", { class: "progress bg" }, goal * (finite - 1)));
312
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
315
+ items.push(h("div", { class: "gift" }, h(GreyGift, null)));
313
316
  }
314
317
  }
315
318
  else if (i == goal) {
316
319
  columns.push("0fr");
317
320
  items.push(h("div", { class: "filled" }));
318
321
  items.push(h("div", { class: "progress bg" }, goal * (finite - 1)));
319
- items.push(h("div", { class: "gift" }, h(Gift, null)));
322
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
320
323
  }
321
324
  else if (i == goal * 2) {
322
325
  columns.push("0fr");
323
326
  columns.push("0fr");
324
327
  items.push(h("div", { class: "filled" }));
325
328
  items.push(h("div", { class: "progress bg" }, goal * finite));
326
- items.push(h("div", { class: "gift" }, h(Gift, null)));
329
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
327
330
  }
328
331
  else {
329
332
  items.push(h("div", { class: "filled" }));
@@ -338,7 +341,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
338
341
  columns.push("0fr");
339
342
  columns.push("0fr");
340
343
  items.push(h("div", { class: "progress bg" }, goal * (repetitions - 1)));
341
- items.push(h("div", { class: "gift start" }, h(Gift, null)));
344
+ items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
342
345
  for (let i = 1; i < goal * 2 + 1; i++) {
343
346
  columns.push(ratio + "fr");
344
347
  columns.push("0fr");
@@ -347,7 +350,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
347
350
  columns.push("0fr");
348
351
  items.push(h("div", { class: "filled" }));
349
352
  items.push(h("div", { class: "progress bg" }, i + goal * (repetitions - 1)));
350
- items.push(h("div", { class: "gift" }, h(Gift, null)));
353
+ items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
351
354
  }
352
355
  else {
353
356
  items.push(h("div", { class: "filled" }));
@@ -360,7 +363,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
360
363
  columns.push("0fr");
361
364
  items.push(h("div", { class: "remain" }));
362
365
  items.push(h("div", { class: "empty bg" }, i + goal * (repetitions - 1)));
363
- items.push(h("div", { class: "gift bw" }, h(Gift, null)));
366
+ items.push(h("div", { class: "gift" }, h(GreyGift, null)));
364
367
  }
365
368
  else {
366
369
  items.push(h("div", { class: "remain" }));
@@ -375,7 +378,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
375
378
  }
376
379
  return { items, columns: columns.join(" ") };
377
380
  }
378
- function addLinear({ progress, goal, progressBarUnit, }) {
381
+ function addLinear({ progress, goal, progressBarUnit, expired }) {
379
382
  const items = [];
380
383
  let columns = "";
381
384
  const ratio = progress / goal;
@@ -387,8 +390,7 @@ function addLinear({ progress, goal, progressBarUnit, }) {
387
390
  : progressBarUnit + clamp(progress, 0, goal)));
388
391
  items.push(h("div", { class: "remain" }));
389
392
  items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
390
- items.push(h("div", { class: clamp(progress, 0, goal) == goal ? "gift" : "gift bw" },
391
- h(Gift, null)));
393
+ items.push(h("div", { class: "gift" }, clamp(progress, 0, goal) == goal ? (expired ? (h(GreyGift, null)) : (h(Gift, null))) : (h(GreyGift, null))));
392
394
  return { items, columns };
393
395
  }
394
396
  function clamp(x, min, max) {
@@ -114,6 +114,12 @@ const style = {
114
114
  },
115
115
  },
116
116
  Footer: {
117
+ "&[data-subdue] .success": {
118
+ color: "var(--sl-color-primary-300)",
119
+ },
120
+ "&[data-subdue] .neutral": {
121
+ color: "var(--sl-color-neutral-300)",
122
+ },
117
123
  display: "flex",
118
124
  "& .icon": {
119
125
  fontSize: "var(--sl-font-size-xx-small)",
@@ -151,7 +157,6 @@ const style = {
151
157
  "& .datetime": {
152
158
  display: "block",
153
159
  marginTop: "var(--sl-spacing-xx-small)",
154
- color: "var(--sl-color-neutral-400)",
155
160
  },
156
161
  },
157
162
  };
@@ -225,8 +230,8 @@ export function TaskCardView(props) {
225
230
  : taskComplete
226
231
  ? "main complete"
227
232
  : "main" },
228
- h("div", { class: taskComplete || taskUnavailable ? "container subdued" : "container" },
229
- h("div", { class: sheet.classes.Header }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
233
+ h("div", { class: "container", "data-subdue": taskComplete || taskUnavailable },
234
+ h("div", { class: sheet.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
230
235
  showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled : checkmark_circle)),
231
236
  h("span", { class: "value" }, content.rewardAmount),
232
237
  h("span", { class: "text" }, content.rewardUnit)))),
@@ -238,22 +243,23 @@ export function TaskCardView(props) {
238
243
  ? "var(--sl-spacing-xx-large)"
239
244
  : ""
240
245
  : "",
246
+ opacity: taskComplete || taskUnavailable ? "0.45" : "1",
241
247
  } }, content.cardTitle)),
242
- states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && h(Details, Object.assign({}, props))),
243
- content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { complete: taskComplete, expired: taskUnavailable })))),
244
- h("div", { class: sheet.classes.Footer }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
248
+ states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
249
+ content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
250
+ h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
245
251
  h("span", { class: "text" },
246
252
  content.repeatable && (h("div", null,
247
253
  h("span", { class: repetitions > 0
248
254
  ? taskUnavailable
249
255
  ? "icon neutral"
250
256
  : "icon success"
251
- : "icon" }, arrow_left_right),
257
+ : "icon neutral", "data-subdue": taskComplete || taskUnavailable }, arrow_left_right),
252
258
  h("span", { class: repetitions > 0
253
259
  ? taskUnavailable
254
260
  ? "neutral"
255
261
  : "success"
256
- : "" }, intl.formatMessage({
262
+ : "neutral", "data-subdue": taskComplete || taskUnavailable }, intl.formatMessage({
257
263
  id: "completedMessage",
258
264
  defaultMessage: content.completedText,
259
265
  }, {
@@ -262,7 +268,7 @@ export function TaskCardView(props) {
262
268
  ? Math.min(repetitions, content.finite)
263
269
  : repetitions,
264
270
  })))),
265
- dateEnd && !taskUnavailable && (h("span", { class: "datetime" }, intl.formatMessage({
271
+ dateEnd && !taskUnavailable && (h("span", { class: "datetime neutral", "data-subdue": taskComplete || taskUnavailable }, intl.formatMessage({
266
272
  id: "expiryMessage",
267
273
  defaultMessage: content.expiryMessage,
268
274
  }, {
@@ -274,5 +280,7 @@ export function TaskCardView(props) {
274
280
  ? "action neutral"
275
281
  : taskComplete
276
282
  ? "action disabled"
277
- : "action", type: "primary", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable }, content.buttonText))))))));
283
+ : "action", type: "primary", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
284
+ opacity: taskComplete || taskUnavailable ? "0.45" : "1",
285
+ } }, content.buttonText))))))));
278
286
  }
@@ -45,6 +45,8 @@ export class TaskCard {
45
45
  */
46
46
  this.showProgressBar = false;
47
47
  /**
48
+ * Sets the goal for progress to be completed. If repeatable is checked, repeatable goals will be increments of this.
49
+ *
48
50
  * @uiName Goal Completion Number
49
51
  */
50
52
  this.goal = 1;
@@ -281,7 +283,7 @@ export class TaskCard {
281
283
  "text": "Goal Completion Number",
282
284
  "name": "uiName"
283
285
  }],
284
- "text": ""
286
+ "text": "Sets the goal for progress to be completed. If repeatable is checked, repeatable goals will be increments of this."
285
287
  },
286
288
  "attribute": "goal",
287
289
  "reflect": false,