@saasquatch/mint-components 1.2.1 → 1.2.2-11

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 (200) hide show
  1. package/CHANGELOG.md +32 -9
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/{sqm-divided-layout_22.cjs.entry.js → sqm-divided-layout_24.cjs.entry.js} +3846 -88
  5. package/dist/cjs/sqm-hero-view-9a179fd2.js +77 -0
  6. package/dist/cjs/sqm-hero.cjs.entry.js +33 -0
  7. package/dist/cjs/{sqm-navigation-sidebar-item-view-089d0eed.js → sqm-navigation-sidebar-item-view-647457cc.js} +2 -2
  8. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  9. package/dist/cjs/{sqm-portal-change-password-view-8d932bce.js → sqm-portal-change-password-view-faf6ad39.js} +15 -8
  10. package/dist/cjs/sqm-portal-change-password.cjs.entry.js +59 -4
  11. package/dist/cjs/{sqm-portal-email-verification-view-d6b7b37e.js → sqm-portal-email-verification-view-626fc886.js} +3 -3
  12. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -2
  13. package/dist/cjs/sqm-portal-footer-view-be3adcf2.js +80 -0
  14. package/dist/cjs/sqm-portal-footer.cjs.entry.js +58 -0
  15. package/dist/cjs/{sqm-portal-profile-view-db5658ba.js → sqm-portal-profile-view-76e3e4bb.js} +5 -5
  16. package/dist/cjs/sqm-portal-profile.cjs.entry.js +25 -7
  17. package/dist/cjs/{sqm-portal-reset-password-view-3980aa63.js → sqm-portal-reset-password-view-b7b52d16.js} +10 -6
  18. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +42 -4
  19. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  20. package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
  21. package/dist/collection/collection-manifest.json +2 -0
  22. package/dist/collection/components/sqm-hero/sqm-hero-view.js +73 -0
  23. package/dist/collection/components/sqm-hero/sqm-hero.js +95 -0
  24. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +2 -2
  25. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +2 -2
  26. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +15 -8
  27. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +215 -2
  28. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +11 -1
  29. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +3 -3
  30. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +55 -3
  31. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -0
  32. package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +11 -0
  33. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +65 -0
  34. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +305 -0
  35. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +5 -5
  36. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +90 -12
  37. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +3 -0
  38. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +3 -3
  39. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +28 -2
  40. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +10 -6
  41. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +137 -1
  42. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +10 -3
  43. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -1
  44. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +0 -6
  45. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +10 -0
  46. package/dist/collection/stories/ChangePassword.stories.js +72 -2
  47. package/dist/collection/stories/Hero.stories.js +98 -0
  48. package/dist/collection/stories/NewPortal.stories.js +19 -1
  49. package/dist/collection/stories/PortalEmailVerification.stories.js +8 -0
  50. package/dist/collection/stories/PortalFooter.stories.js +21 -0
  51. package/dist/collection/stories/PortalProfile.stories.js +18 -0
  52. package/dist/collection/stories/PortalRegister.stories.js +7 -3
  53. package/dist/collection/stories/PortalResetPassword.stories.js +42 -0
  54. package/dist/collection/stories/PortalTemplates.stories.js +143 -0
  55. package/dist/collection/stories/PoweredByImg.stories.js +14 -0
  56. package/dist/collection/stories/ProgramMenu.stories.js +39 -0
  57. package/dist/collection/stories/Router.stories.js +42 -6
  58. package/dist/collection/stories/UseBigStat.stories.js +1 -0
  59. package/dist/esm/loader.js +1 -1
  60. package/dist/esm/mint-components.js +1 -1
  61. package/dist/esm/{sqm-divided-layout_22.entry.js → sqm-divided-layout_24.entry.js} +3844 -88
  62. package/dist/esm/sqm-hero-view-5b9bbae2.js +75 -0
  63. package/dist/esm/sqm-hero.entry.js +29 -0
  64. package/dist/esm/{sqm-navigation-sidebar-item-view-a75802bb.js → sqm-navigation-sidebar-item-view-000b0afb.js} +2 -2
  65. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  66. package/dist/esm/{sqm-portal-change-password-view-8dbe1ea3.js → sqm-portal-change-password-view-24a4adf7.js} +15 -8
  67. package/dist/esm/sqm-portal-change-password.entry.js +59 -4
  68. package/dist/esm/{sqm-portal-email-verification-view-964d21fe.js → sqm-portal-email-verification-view-03495ffa.js} +3 -3
  69. package/dist/esm/sqm-portal-email-verification.entry.js +14 -2
  70. package/dist/esm/sqm-portal-footer-view-728c427c.js +77 -0
  71. package/dist/esm/sqm-portal-footer.entry.js +54 -0
  72. package/dist/esm/{sqm-portal-profile-view-2801882b.js → sqm-portal-profile-view-72e966e2.js} +5 -5
  73. package/dist/esm/sqm-portal-profile.entry.js +25 -7
  74. package/dist/esm/{sqm-portal-reset-password-view-6c1d23eb.js → sqm-portal-reset-password-view-1441849e.js} +10 -6
  75. package/dist/esm/sqm-portal-reset-password.entry.js +42 -4
  76. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  77. package/dist/esm-es5/loader.js +1 -1
  78. package/dist/esm-es5/mint-components.js +1 -1
  79. package/dist/esm-es5/sqm-divided-layout_24.entry.js +1 -0
  80. package/dist/esm-es5/sqm-hero-view-5b9bbae2.js +1 -0
  81. package/dist/esm-es5/sqm-hero.entry.js +1 -0
  82. package/dist/esm-es5/sqm-navigation-sidebar-item-view-000b0afb.js +1 -0
  83. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  84. package/dist/esm-es5/sqm-portal-change-password-view-24a4adf7.js +1 -0
  85. package/dist/esm-es5/sqm-portal-change-password.entry.js +1 -1
  86. package/dist/esm-es5/sqm-portal-email-verification-view-03495ffa.js +1 -0
  87. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  88. package/dist/esm-es5/sqm-portal-footer-view-728c427c.js +1 -0
  89. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -0
  90. package/dist/esm-es5/{sqm-portal-profile-view-2801882b.js → sqm-portal-profile-view-72e966e2.js} +1 -1
  91. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  92. package/dist/esm-es5/sqm-portal-reset-password-view-1441849e.js +1 -0
  93. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  94. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  95. package/dist/mint-components/mint-components.esm.js +1 -1
  96. package/dist/mint-components/p-0747c54d.system.js +1 -1
  97. package/dist/mint-components/{p-1fd262be.system.js → p-1adc0488.system.js} +1 -1
  98. package/dist/mint-components/p-20fa60f6.system.entry.js +1 -0
  99. package/dist/mint-components/p-2addaaff.system.entry.js +1 -0
  100. package/dist/mint-components/p-3a9d8fd9.js +1 -0
  101. package/dist/mint-components/p-3adace56.entry.js +1 -0
  102. package/dist/mint-components/p-51db87f4.js +1 -0
  103. package/dist/mint-components/p-5442b8ad.js +1 -0
  104. package/dist/mint-components/p-609d6b60.system.entry.js +1 -0
  105. package/dist/mint-components/p-634d5bcc.entry.js +222 -0
  106. package/dist/mint-components/p-659298ed.system.entry.js +1 -0
  107. package/dist/mint-components/p-69e263e0.entry.js +1 -0
  108. package/dist/mint-components/p-6dfcecca.entry.js +33 -0
  109. package/dist/mint-components/p-70dd58a4.system.js +1 -0
  110. package/dist/mint-components/p-759095b4.entry.js +1 -0
  111. package/dist/mint-components/p-79e5f02c.entry.js +1 -0
  112. package/dist/mint-components/p-875d1fdc.system.entry.js +1 -0
  113. package/dist/mint-components/p-8a9ebc3f.system.entry.js +1 -0
  114. package/dist/mint-components/p-8dc6f789.js +1 -0
  115. package/dist/mint-components/p-a741d57c.system.js +1 -0
  116. package/dist/mint-components/p-b7159234.system.js +1 -0
  117. package/dist/mint-components/p-c196dc61.js +1 -0
  118. package/dist/mint-components/{p-eb944c84.system.js → p-c366f729.system.js} +1 -1
  119. package/dist/mint-components/p-c5c2d834.system.js +1 -0
  120. package/dist/mint-components/p-d24845cd.js +1 -0
  121. package/dist/mint-components/{p-5d46f5cc.entry.js → p-d37839f3.entry.js} +1 -1
  122. package/dist/mint-components/p-d441144e.js +1 -0
  123. package/dist/mint-components/{p-0396ec57.system.entry.js → p-d65a1cfd.system.entry.js} +1 -1
  124. package/dist/mint-components/p-d95dc3f1.system.js +1 -0
  125. package/dist/mint-components/p-dfcc1950.entry.js +1 -0
  126. package/dist/mint-components/p-e48cd2c5.system.entry.js +1 -0
  127. package/dist/mint-components/p-e6ce03b2.system.entry.js +1 -0
  128. package/dist/mint-components/p-fa4d1c58.entry.js +1 -0
  129. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +13 -0
  130. package/dist/types/components/sqm-hero/sqm-hero.d.ts +16 -0
  131. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +10 -0
  132. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +32 -0
  133. package/dist/types/components/sqm-portal-change-password/usePortalChangePassword.d.ts +11 -1
  134. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +2 -0
  135. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +9 -1
  136. package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +2 -0
  137. package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +7 -0
  138. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +16 -0
  139. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +57 -0
  140. package/dist/types/components/sqm-portal-profile/sqm-portal-profile-view.d.ts +3 -0
  141. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +17 -5
  142. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +3 -0
  143. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +1 -0
  144. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +4 -0
  145. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +7 -0
  146. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +24 -0
  147. package/dist/types/components/sqm-portal-reset-password/usePortalResetPassword.d.ts +2 -4
  148. package/dist/types/components.d.ts +314 -12
  149. package/dist/types/saasquatch.d.ts +1 -1
  150. package/dist/types/stories/Hero.stories.d.ts +11 -0
  151. package/dist/types/stories/PortalFooter.stories.d.ts +10 -0
  152. package/dist/types/stories/PortalTemplates.stories.d.ts +88 -0
  153. package/dist/types/stories/PoweredByImg.stories.d.ts +7 -0
  154. package/dist/types/stories/ProgramMenu.stories.d.ts +28 -0
  155. package/dist/types/stories/Router.stories.d.ts +24 -3
  156. package/dist/types/stories/UseBigStat.stories.d.ts +6 -0
  157. package/dist/types/stories/templates.d.ts +4 -0
  158. package/grapesjs/grapesjs.js +1 -1
  159. package/package.json +2 -1
  160. package/dist/cjs/sqm-portal-login-view-20530cd5.js +0 -53
  161. package/dist/cjs/sqm-portal-login.cjs.entry.js +0 -119
  162. package/dist/cjs/sqm-program-menu.cjs.entry.js +0 -57
  163. package/dist/collection/components/sqm-program-menu/sqm-program-menu.css +0 -25
  164. package/dist/esm/sqm-portal-login-view-7e56a959.js +0 -51
  165. package/dist/esm/sqm-portal-login.entry.js +0 -115
  166. package/dist/esm/sqm-program-menu.entry.js +0 -53
  167. package/dist/esm-es5/sqm-divided-layout_22.entry.js +0 -1
  168. package/dist/esm-es5/sqm-navigation-sidebar-item-view-a75802bb.js +0 -1
  169. package/dist/esm-es5/sqm-portal-change-password-view-8dbe1ea3.js +0 -1
  170. package/dist/esm-es5/sqm-portal-email-verification-view-964d21fe.js +0 -1
  171. package/dist/esm-es5/sqm-portal-login-view-7e56a959.js +0 -1
  172. package/dist/esm-es5/sqm-portal-login.entry.js +0 -1
  173. package/dist/esm-es5/sqm-portal-reset-password-view-6c1d23eb.js +0 -1
  174. package/dist/esm-es5/sqm-program-menu.entry.js +0 -1
  175. package/dist/mint-components/p-18142b08.system.entry.js +0 -1
  176. package/dist/mint-components/p-2019910e.system.entry.js +0 -1
  177. package/dist/mint-components/p-3f40e878.js +0 -1
  178. package/dist/mint-components/p-42ca40ee.system.entry.js +0 -1
  179. package/dist/mint-components/p-4a4f97e3.system.js +0 -1
  180. package/dist/mint-components/p-4e298f2f.entry.js +0 -1
  181. package/dist/mint-components/p-4f7e972b.entry.js +0 -222
  182. package/dist/mint-components/p-511ee8d5.js +0 -1
  183. package/dist/mint-components/p-5c2d4489.entry.js +0 -33
  184. package/dist/mint-components/p-6dcb4084.js +0 -1
  185. package/dist/mint-components/p-6edab0e1.js +0 -1
  186. package/dist/mint-components/p-7b5f70cf.system.entry.js +0 -1
  187. package/dist/mint-components/p-7cf1b6bc.system.js +0 -1
  188. package/dist/mint-components/p-8a647b42.entry.js +0 -1
  189. package/dist/mint-components/p-8a9e36b0.entry.js +0 -1
  190. package/dist/mint-components/p-9ec68457.system.js +0 -1
  191. package/dist/mint-components/p-a19cb5dc.entry.js +0 -1
  192. package/dist/mint-components/p-ac1285f3.js +0 -1
  193. package/dist/mint-components/p-aca6d934.system.entry.js +0 -1
  194. package/dist/mint-components/p-ae8f2817.entry.js +0 -1
  195. package/dist/mint-components/p-bcd56164.system.entry.js +0 -1
  196. package/dist/mint-components/p-cccfe42a.system.js +0 -1
  197. package/dist/mint-components/p-d2dfc374.js +0 -1
  198. package/dist/mint-components/p-db23f907.system.entry.js +0 -1
  199. package/dist/mint-components/p-e896917e.entry.js +0 -1
  200. package/dist/mint-components/p-f305ea91.system.entry.js +0 -1
@@ -0,0 +1,88 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const DefaultPortal: {
6
+ (): any;
7
+ parameters: {
8
+ hookStory: Function;
9
+ };
10
+ };
11
+ export declare const MultiProgramPortal: {
12
+ (): any;
13
+ parameters: {
14
+ hookStory: Function;
15
+ };
16
+ };
17
+ export declare const Login: {
18
+ (): any;
19
+ parameters: {
20
+ hookStory: Function;
21
+ };
22
+ };
23
+ export declare const ForgotPassword: {
24
+ (): any;
25
+ parameters: {
26
+ hookStory: Function;
27
+ };
28
+ };
29
+ export declare const Register: {
30
+ (): any;
31
+ parameters: {
32
+ hookStory: Function;
33
+ };
34
+ };
35
+ export declare const Dashboard: {
36
+ (): any;
37
+ parameters: {
38
+ hookStory: Function;
39
+ };
40
+ };
41
+ export declare const Activity: {
42
+ (): any;
43
+ parameters: {
44
+ hookStory: Function;
45
+ };
46
+ };
47
+ export declare const EditProfile: {
48
+ (): any;
49
+ parameters: {
50
+ hookStory: Function;
51
+ };
52
+ };
53
+ export declare const ResetPassword: {
54
+ (): any;
55
+ parameters: {
56
+ hookStory: Function;
57
+ };
58
+ };
59
+ export declare const EmailVerification: {
60
+ (): any;
61
+ parameters: {
62
+ hookStory: Function;
63
+ };
64
+ };
65
+ export declare const EmailVerified: {
66
+ (): any;
67
+ parameters: {
68
+ hookStory: Function;
69
+ };
70
+ };
71
+ export declare const Widget: {
72
+ (): any;
73
+ parameters: {
74
+ hookStory: Function;
75
+ };
76
+ };
77
+ export declare const ResetPasswordEmail: {
78
+ (): any;
79
+ parameters: {
80
+ hookStory: Function;
81
+ };
82
+ };
83
+ export declare const VerifyEmail: {
84
+ (): any;
85
+ parameters: {
86
+ hookStory: Function;
87
+ };
88
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Default: () => any;
6
+ export declare const CustomColor: () => any;
7
+ export declare const CustomWidthAndHeight: () => any;
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const OneProgram: {
6
+ (): any;
7
+ parameters: {
8
+ hookStory: Function;
9
+ };
10
+ };
11
+ export declare const TwoProgram: {
12
+ (): any;
13
+ parameters: {
14
+ hookStory: Function;
15
+ };
16
+ };
17
+ export declare const FiveProgram: {
18
+ (): any;
19
+ parameters: {
20
+ hookStory: Function;
21
+ };
22
+ };
23
+ export declare const ProgramMenuWithSwitch: {
24
+ (): any;
25
+ parameters: {
26
+ hookStory: Function;
27
+ };
28
+ };
@@ -2,6 +2,27 @@ declare const _default: {
2
2
  title: string;
3
3
  };
4
4
  export default _default;
5
- export declare const TemplateNavigation: () => any;
6
- export declare const RouteNavigation: () => any;
7
- export declare const Styling: () => any;
5
+ export declare const TemplateNavigation: {
6
+ (): any;
7
+ parameters: {
8
+ hookStory: Function;
9
+ };
10
+ };
11
+ export declare const RouteNavigation: {
12
+ (): any;
13
+ parameters: {
14
+ hookStory: Function;
15
+ };
16
+ };
17
+ export declare const Styling: {
18
+ (): any;
19
+ parameters: {
20
+ hookStory: Function;
21
+ };
22
+ };
23
+ export declare const RouterPlayground: {
24
+ (): any;
25
+ parameters: {
26
+ hookStory: Function;
27
+ };
28
+ };
@@ -86,6 +86,12 @@ export declare const GlobalPendingRewardsCount: {
86
86
  hookStory: Function;
87
87
  };
88
88
  };
89
+ export declare const RewardsAvailableCount: {
90
+ (): any;
91
+ parameters: {
92
+ hookStory: Function;
93
+ };
94
+ };
89
95
  export declare const GlobalRewardsCountByIntegration: {
90
96
  (): any;
91
97
  parameters: {
@@ -0,0 +1,4 @@
1
+ declare module "*.html" {
2
+ const content: string;
3
+ export default content;
4
+ }
@@ -5,7 +5,7 @@ System.register([], function (exports_1, context_1) {
5
5
  return {
6
6
  setters: [],
7
7
  execute: function () {
8
- components = [{ "tag": "sqm-asset-card", "name": "Asset Card", "uiSchema": { "demoData": { "ui:help": "" }, "img-url": { "ui:name": "Banner image", "ui:help": "" }, "title-text": { "ui:name": "Banner title", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "img-url", "type": "string", "title": "Banner image" }, { "name": "title-text", "type": "string", "title": "Banner title" }] }, { "tag": "sqm-big-stat", "name": "Big Stat", "uiSchema": { "alignment": { "ui:name": "Alignment - controls the alignment of the flexbox", "ui:help": "" }, "demoData": { "ui:help": "" }, "flex-reverse": { "ui:name": "Flex Reverse - controls the order of the stat value & description column", "ui:help": "" }, "stat-type": { "ui:widget": "StatTypeSelectWidget", "ui:name": "Stat Type", "ui:help": "Select what type of stat to display. Manual paths are also supported.", "ui:options": { "version": 1.1 } } }, "traits": [{ "name": "alignment", "type": "string", "title": "Alignment - controls the alignment of the flexbox", "enum": ["left", "right", "center"] }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "flex-reverse", "type": "boolean", "title": "Flex Reverse - controls the order of the stat value & description column" }, { "name": "stat-type", "type": "string", "title": "Stat Type" }] }, { "tag": "sqm-divided-layout", "name": "Divided Layout", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "divider-style": { "ui:name": "Border style", "ui:help": "Uses CSS border style syntax" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "divider-style", "type": "string", "title": "Border style" }] }, { "tag": "sqm-edit-profile", "name": "Edit Profile", "uiSchema": { "canceltext": { "ui:name": "Cancel button text", "ui:help": "" }, "currentregiontext": { "ui:name": "Region field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "editprofileheader": { "ui:name": "Heading", "ui:help": "" }, "editprofiletext": { "ui:name": "Enable editing button text", "ui:help": "" }, "firstnametext": { "ui:name": "First name field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name field label", "ui:help": "" }, "showregion": { "ui:name": "Show or hide current region", "ui:help": "" }, "updatetext": { "ui:name": "Update info button text", "ui:help": "" } }, "traits": [{ "name": "canceltext", "type": "string", "title": "Cancel button text" }, { "name": "currentregiontext", "type": "string", "title": "Region field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "editprofileheader", "type": "string", "title": "Heading" }, { "name": "editprofiletext", "type": "string", "title": "Enable editing button text" }, { "name": "firstnametext", "type": "string", "title": "First name field label" }, { "name": "lastnametext", "type": "string", "title": "Last name field label" }, { "name": "showregion", "type": "boolean", "title": "Show or hide current region" }, { "name": "updatetext", "type": "string", "title": "Update info button text" }] }, { "tag": "sqm-form-message", "name": "Form Message", "uiSchema": { "icon": { "ui:name": "Icon to use in alert", "ui:help": "" }, "type": { "ui:name": "Type of alert", "ui:help": "" } }, "traits": [{ "name": "icon", "type": "string", "title": "Icon to use in alert" }, { "name": "type", "type": "string", "title": "Type of alert" }] }, { "tag": "sqm-graphql-client-provider", "name": "GraphQL Client Provider", "uiSchema": { "domain": { "ui:name": "Domain", "ui:help": "" } }, "traits": [{ "name": "domain", "type": "string", "title": "Domain" }] }, { "tag": "sqm-hook-story-container", "name": "sqm-hook-story-container", "uiSchema": { "hookStory": { "ui:help": "" } }, "traits": [{ "name": "hookStory", "type": "FunctionalComponent<{}>", "title": "hookStory" }] }, { "tag": "sqm-leaderboard", "name": "Leaderboard", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-type": { "ui:name": "Rank type", "ui:help": "" }, "rankheading": { "ui:name": "Rank Heading", "ui:help": "" }, "show-rank": { "ui:name": "Show the ranking numbers", "ui:help": "" }, "statsheading": { "ui:name": "Stats Column Heading", "ui:help": "" }, "usersheading": { "ui:name": "User Column Heading", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-type", "type": "string", "title": "Rank type", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "rankheading", "type": "string", "title": "Rank Heading" }, { "name": "show-rank", "type": "boolean", "title": "Show the ranking numbers" }, { "name": "statsheading", "type": "string", "title": "Stats Column Heading" }, { "name": "usersheading", "type": "string", "title": "User Column Heading" }] }, { "tag": "sqm-leaderboard-rank", "name": "Leaderboard Rank", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-text": { "ui:name": "Rank Text", "ui:help": "" }, "rank-type": { "ui:name": "Default rank", "ui:help": "" }, "unranked-text": { "ui:name": "Unranked Text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-text", "type": "string", "title": "Rank Text" }, { "name": "rank-type", "type": "string", "title": "Default rank", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "unranked-text", "type": "string", "title": "Unranked Text" }] }, { "tag": "sqm-navigation-menu", "name": "Navigation Menu", "uiSchema": { "demoData": { "ui:help": "" }, "include-dropdown": { "ui:name": "Include dropdown menu", "ui:help": "" }, "menu-label": { "ui:name": "Label on the header menu", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "include-dropdown", "type": "boolean", "title": "Include dropdown menu" }, { "name": "menu-label", "type": "string", "title": "Label on the header menu" }] }, { "tag": "sqm-navigation-sidebar", "name": "Navigation Sidebar", "uiSchema": {}, "traits": [] }, { "tag": "sqm-navigation-sidebar-item", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "icon": { "ui:name": "Icon", "ui:help": "" }, "label": { "ui:name": "Label", "ui:help": "" }, "path": { "ui:name": "Navigation path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "icon", "type": "string", "title": "Icon" }, { "name": "label", "type": "string", "title": "Label" }, { "name": "path", "type": "string", "title": "Navigation path" }] }, { "tag": "sqm-password-field", "name": "Portal Password Field", "uiSchema": { "demoData": { "ui:help": "" }, "enable-validation": { "ui:name": "Enable live password validation", "ui:help": "" }, "field-label": { "ui:name": "Label for password field", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "enable-validation", "type": "boolean", "title": "Enable live password validation" }, { "name": "field-label", "type": "string", "title": "Label for password field" }] }, { "tag": "sqm-popup-container", "name": "Popup container for widgets", "uiSchema": { "close-button": { "ui:name": "Display a close button on the popup", "ui:help": "" }, "close-button-text": { "ui:name": "Text to be used as the close button", "ui:help": "" }, "embed-padding": { "ui:name": "Specify padding on the popup contents when in embedded mode", "ui:help": "" }, "popup-padding": { "ui:name": "Specify padding on the popup contents when in popup mode", "ui:help": "" }, "powered-by": { "ui:name": "Show SaaSquatch Powered By messaging", "ui:help": "" } }, "traits": [{ "name": "close-button", "type": "boolean", "title": "Display a close button on the popup" }, { "name": "close-button-text", "type": "string", "title": "Text to be used as the close button" }, { "name": "embed-padding", "type": "string", "title": "Specify padding on the popup contents when in embedded mode", "enum": ["none", "small", "medium", "large"] }, { "name": "popup-padding", "type": "string", "title": "Specify padding on the popup contents when in popup mode", "enum": ["none", "small", "medium", "large"] }, { "name": "powered-by", "type": "boolean", "title": "Show SaaSquatch Powered By messaging" }] }, { "tag": "sqm-portal-change-password", "name": "Portal Profile", "uiSchema": { "demoData": { "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }] }, { "tag": "sqm-portal-container", "name": "Portal Container", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "gap": { "ui:name": "Gap", "ui:help": "" }, "min-width": { "ui:name": "Gap", "ui:help": "" }, "padding": { "ui:name": "Padding", "ui:help": "" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "gap", "type": "string", "title": "Gap", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "min-width", "type": "string", "title": "Gap" }, { "name": "padding", "type": "string", "title": "Padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-portal-email-verification", "name": "Portal Email Verification", "uiSchema": { "demoData": { "ui:help": "" }, "verify-message": { "ui:name": "Verification message", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "verify-message", "type": "string", "title": "Verification message" }] }, { "tag": "sqm-portal-forgot-password", "name": "Portal Forgot Password", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Email label", "ui:help": "" }, "submit-label": { "ui:name": "Password reset button text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Email label" }, { "name": "submit-label", "type": "string", "title": "Password reset button text" }] }, { "tag": "sqm-portal-frame", "name": "Portal Frame", "uiSchema": { "demoData": { "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }] }, { "tag": "sqm-portal-login", "name": "Portal Login", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "forgot-password-label": { "ui:name": "Label for forgotten password button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after sign-in", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "register-label": { "ui:name": "Label for register navigation button", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "forgot-password-label", "type": "string", "title": "Label for forgotten password button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after sign-in" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "register-label", "type": "string", "title": "Label for register navigation button" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-logout", "name": "Portal Logout", "uiSchema": { "next-page": { "ui:name": "Next Page path", "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "Next Page path" }] }, { "tag": "sqm-portal-profile", "name": "Portal Profile", "uiSchema": { "countrytext": { "ui:name": "Country label", "ui:help": "" }, "demoData": { "ui:help": "" }, "emailtext": { "ui:name": "Email label", "ui:help": "" }, "firstnametext": { "ui:name": "First Name label", "ui:help": "" }, "lastnametext": { "ui:name": "Last Name label", "ui:help": "" }, "show-country": { "ui:name": "Show country field", "ui:help": "" } }, "traits": [{ "name": "countrytext", "type": "string", "title": "Country label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "emailtext", "type": "string", "title": "Email label" }, { "name": "firstnametext", "type": "string", "title": "First Name label" }, { "name": "lastnametext", "type": "string", "title": "Last Name label" }, { "name": "show-country", "type": "boolean", "title": "Show country field" }] }, { "tag": "sqm-portal-protected-route", "name": "Portal Protected Route", "uiSchema": { "redirect-to": { "ui:name": "Redirect Path", "ui:help": "" }, "redirect-to-unverified": { "ui:name": "Redirect unverified users path", "ui:help": "" }, "require-email-verification": { "ui:name": "Require Email Verification", "ui:help": "" } }, "traits": [{ "name": "redirect-to", "type": "string", "title": "Redirect Path" }, { "name": "redirect-to-unverified", "type": "string", "title": "Redirect unverified users path" }, { "name": "require-email-verification", "type": "boolean", "title": "Require Email Verification" }] }, { "tag": "sqm-portal-register", "name": "Portal Register", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password field", "ui:help": "" }, "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "enable-password-validation": { "ui:name": "Use password field with live validation", "ui:help": "" }, "hide-inputs": { "ui:name": "Hide default input fields to use custom fields", "ui:help": "" }, "login-label": { "ui:name": "Label for login navigation button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after registration", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password field" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "enable-password-validation", "type": "boolean", "title": "Use password field with live validation" }, { "name": "hide-inputs", "type": "boolean", "title": "Hide default input fields to use custom fields" }, { "name": "login-label", "type": "string", "title": "Label for login navigation button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after registration" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-reset-password", "name": "Portal Reset Password", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password", "ui:help": "" }, "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }] }, { "tag": "sqm-portal-verify-email", "name": "Portal Verify Email", "uiSchema": { "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }] }, { "tag": "sqm-program-menu", "name": "Portal Menu", "uiSchema": {}, "traits": [] }, { "tag": "sqm-referral-table", "name": "Referral Table", "uiSchema": { "demoData": { "ui:help": "" }, "more-label": { "ui:name": "View More button text", "ui:help": "" }, "per-page": { "ui:name": "Number of referrals per page", "ui:help": "" }, "prev-label": { "ui:name": "Previous button text", "ui:help": "" }, "program-id": { "ui:name": "Program", "ui:help": "Filters to only show referrals in this program. Will default to filtering by the program context where\r\nthis table lives. If no program ID is set or provided by context, then shows all referrals from all programs.\r\nIf program ID is \"classic\", shows classic-only referrals" }, "show-labels": { "ui:name": "Show column labels", "ui:help": "" }, "show-referrer": { "ui:name": "Show Referred by user in table", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "more-label", "type": "string", "title": "View More button text" }, { "name": "per-page", "type": "number", "title": "Number of referrals per page" }, { "name": "prev-label", "type": "string", "title": "Previous button text" }, { "name": "program-id", "type": "string", "title": "Program" }, { "name": "show-labels", "type": "boolean", "title": "Show column labels" }, { "name": "show-referrer", "type": "boolean", "title": "Show Referred by user in table" }] }, { "tag": "sqm-referral-table-cell", "name": "sqm-referral-table-cell", "uiSchema": { "inner-template": { "ui:help": "" } }, "traits": [{ "name": "inner-template", "type": "string", "title": "inner-template" }] }, { "tag": "sqm-referral-table-column", "name": "Referral Table Generic Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }] }, { "tag": "sqm-referral-table-date-cell", "name": "sqm-referral-table-date-cell", "uiSchema": { "date": { "ui:help": "" } }, "traits": [{ "name": "date", "type": "number", "title": "date" }] }, { "tag": "sqm-referral-table-date-column", "name": "Referral Table Date Column", "uiSchema": { "column-title": { "ui:name": "Date Column Title", "ui:help": "" }, "date-shown": { "ui:name": "Date Displayed", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Date Column Title" }, { "name": "date-shown", "type": "string", "title": "Date Displayed", "enum": ["dateConverted", "dateReferralStarted", "dateFraudChecksCompleted", "dateModerated", "dateModified", "dateReferralEnded", "dateReferralPaid", "dateUserModified"] }] }, { "tag": "sqm-referral-table-rewards-cell", "name": "sqm-referral-table-rewards-cell", "uiSchema": { "hide-details": { "ui:help": "" }, "rewards": { "ui:help": "" } }, "traits": [{ "name": "hide-details", "type": "boolean", "title": "hide-details" }, { "name": "rewards", "type": "Reward[]", "title": "rewards" }] }, { "tag": "sqm-referral-table-rewards-column", "name": "Referral Table Rewards Column", "uiSchema": { "column-title": { "ui:name": "Reward column title", "ui:help": "" }, "hide-details": { "ui:name": "Hide dropdown details of reward", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Reward column title" }, { "name": "hide-details", "type": "boolean", "title": "Hide dropdown details of reward" }] }, { "tag": "sqm-referral-table-status-cell", "name": "sqm-referral-table-status-cell", "uiSchema": { "converted": { "ui:help": "" }, "status-text": { "ui:help": "" } }, "traits": [{ "name": "converted", "type": "boolean", "title": "converted" }, { "name": "status-text", "type": "string", "title": "status-text" }] }, { "tag": "sqm-referral-table-status-column", "name": "Referral Table Status Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" }, "converted-status-text": { "ui:name": "Converted Status Text", "ui:help": "" }, "in-progress-status-text": { "ui:name": "In Progress Status Text", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }, { "name": "converted-status-text", "type": "string", "title": "Converted Status Text" }, { "name": "in-progress-status-text", "type": "string", "title": "In Progress Status Text" }] }, { "tag": "sqm-referral-table-user-cell", "name": "sqm-referral-table-user-cell", "uiSchema": { "name": { "ui:help": "" } }, "traits": [{ "name": "name", "type": "string", "title": "name" }] }, { "tag": "sqm-referral-table-user-column", "name": "Referral Table User Column", "uiSchema": { "anonymous-user": { "ui:name": "Name displayed for anonymous users", "ui:help": "" }, "column-title": { "ui:name": "User Column Title", "ui:help": "" }, "deleted-user": { "ui:name": "Name displayed for deleted users", "ui:help": "" } }, "traits": [{ "name": "anonymous-user", "type": "string", "title": "Name displayed for anonymous users" }, { "name": "column-title", "type": "string", "title": "User Column Title" }, { "name": "deleted-user", "type": "string", "title": "Name displayed for deleted users" }] }, { "tag": "sqm-route", "name": "Route (for pages)", "uiSchema": { "path": { "ui:name": "Navigation path name", "ui:help": "" } }, "traits": [{ "name": "path", "type": "string", "title": "Navigation path name" }] }, { "tag": "sqm-router", "name": "Router (for pages)", "uiSchema": {}, "traits": [] }, { "tag": "sqm-share-button", "name": "Share Button", "uiSchema": { "ui:order": ["medium", "program-id", "*", "pill", "disabled", "hideicon"], "demoData": { "ui:help": "" }, "disabled": { "ui:name": "Disabled", "ui:help": "" }, "hideicon": { "ui:name": "Hide the icon", "ui:help": "" }, "hidetext": { "ui:name": "Hide the text", "ui:help": "" }, "icon": { "ui:name": "Icon used in button. Will try to select an icon based on the share medium if left empty.", "ui:help": "" }, "iconslot": { "ui:name": "Icon Location", "ui:help": "" }, "medium": { "ui:name": "Share Medium", "ui:help": "The social medium to share on. Share messages and links\r\nwill be pulled from your program config and tagged for analytics." }, "pill": { "ui:name": "Display as pill", "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "Optional programId, or uses the programId context where this button is rendered." }, "sharetext": { "ui:name": "Text used for native sharing (mobile only)", "ui:help": "" }, "sharetitle": { "ui:name": "Title used for native sharing (mobile only)", "ui:help": "" }, "size": { "ui:name": "Button Size", "ui:help": "" }, "type": { "ui:name": "Button Style", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "disabled", "type": "boolean", "title": "Disabled" }, { "name": "hideicon", "type": "boolean", "title": "Hide the icon" }, { "name": "hidetext", "type": "boolean", "title": "Hide the text" }, { "name": "icon", "type": "string", "title": "Icon used in button. Will try to select an icon based on the share medium if left empty." }, { "name": "iconslot", "type": "string", "title": "Icon Location", "enum": ["prefix", "suffix"], "enumNames": ["Prefix", "Suffix"] }, { "name": "medium", "type": "string", "title": "Share Medium", "enum": ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest", "reminder", "unknown"], "enumNames": ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest", "Reminder", "Unknown"] }, { "name": "pill", "type": "boolean", "title": "Display as pill" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "sharetext", "type": "string", "title": "Text used for native sharing (mobile only)" }, { "name": "sharetitle", "type": "string", "title": "Title used for native sharing (mobile only)" }, { "name": "size", "type": "string", "title": "Button Size", "enum": ["small", "medium", "large"], "enumNames": ["Small", "Medium", "Large"] }, { "name": "type", "type": "string", "title": "Button Style", "enum": ["primary", "success", "info", "warning", "danger", "default", "text"] }] }, { "tag": "sqm-share-code", "name": "Share Code", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the code. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the cpde to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-share-link", "name": "Share Link", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the link to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-stat-container", "name": "Stat Container", "uiSchema": { "space": { "ui:name": "Space between stats", "ui:help": "" } }, "traits": [{ "name": "space", "type": "string", "title": "Space between stats", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-stencilbook", "name": "sqm-stencilbook", "uiSchema": {}, "traits": [] }, { "tag": "sqm-table-cell", "name": "sqm-table-cell", "uiSchema": { "colspan": { "ui:help": "" }, "padding": { "ui:help": "" } }, "traits": [{ "name": "colspan", "type": "number", "title": "colspan" }, { "name": "padding", "type": "string", "title": "padding" }] }, { "tag": "sqm-table-row", "name": "sqm-table-row", "uiSchema": { "border": { "ui:help": "" } }, "traits": [{ "name": "border", "type": "string", "title": "border" }] }, { "tag": "sqm-text", "name": "Text", "uiSchema": {}, "traits": [] }, { "tag": "sqm-text-span", "name": "Text Span", "uiSchema": { "text": { "ui:name": "Text", "ui:help": "" }, "type": { "ui:name": "Text", "ui:help": "" } }, "traits": [{ "name": "text", "type": "string", "title": "Text" }, { "name": "type", "type": "string", "title": "Text", "enum": ["p", "subtext", "h1", "h2", "h3", "h4"] }] }, { "tag": "sqm-titled-section", "name": "Section (with title)", "uiSchema": { "label": { "ui:help": "" }, "label-margin": { "ui:name": "Label margin style", "ui:help": "" }, "padding": { "ui:name": "Section padding", "ui:help": "" } }, "traits": [{ "name": "label", "type": "string", "title": "label" }, { "name": "label-margin", "type": "string", "title": "Label margin style", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "padding", "type": "string", "title": "Section padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-user-name", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "fallback": { "ui:name": "Fallback name for nameless users", "ui:help": "" }, "loading-text": { "ui:name": "Loading text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "fallback", "type": "string", "title": "Fallback name for nameless users" }, { "name": "loading-text", "type": "string", "title": "Loading text" }] }, { "tag": "sl-details", "name": "Details", "traits": [{ "type": "string", "name": "summary", "title": "Label" }] }, { "tag": "sl-tab", "name": "Tab", "traits": [{ "type": "string", "name": "panel", "title": "Panel ID" }] }, { "tag": "sl-tab-panel", "name": "Tab Panel", "traits": [{ "type": "string", "name": "name", "title": "Panel ID" }] }, { "tag": "sl-tab-group", "name": "Tab Group", "traits": [{ "type": "string", "name": "placement", "title": "Placement of Tabs", "enum": ["top", "right", "bottom", "left"] }] }, { "tag": "sl-skeleton", "name": "Loading Skeleton", "traits": [] }];
8
+ components = [{ "tag": "sqm-asset-card", "name": "Asset Card", "uiSchema": { "demoData": { "ui:help": "" }, "img-url": { "ui:name": "Banner image", "ui:help": "" }, "title-text": { "ui:name": "Banner title", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "img-url", "type": "string", "title": "Banner image" }, { "name": "title-text", "type": "string", "title": "Banner title" }] }, { "tag": "sqm-big-stat", "name": "Big Stat", "uiSchema": { "alignment": { "ui:name": "Alignment - controls the alignment of the flexbox", "ui:help": "" }, "demoData": { "ui:help": "" }, "flex-reverse": { "ui:name": "Flex Reverse - controls the order of the stat value & description column", "ui:help": "" }, "stat-type": { "ui:widget": "StatTypeSelectWidget", "ui:name": "Stat Type", "ui:help": "Select what type of stat to display. Manual paths are also supported.", "ui:options": { "version": 1.1 } } }, "traits": [{ "name": "alignment", "type": "string", "title": "Alignment - controls the alignment of the flexbox", "enum": ["left", "right", "center"] }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "flex-reverse", "type": "boolean", "title": "Flex Reverse - controls the order of the stat value & description column" }, { "name": "stat-type", "type": "string", "title": "Stat Type" }] }, { "tag": "sqm-divided-layout", "name": "Divided Layout", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "divider-style": { "ui:name": "Border style", "ui:help": "Uses CSS border style syntax" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "divider-style", "type": "string", "title": "Border style" }] }, { "tag": "sqm-edit-profile", "name": "Edit Profile", "uiSchema": { "canceltext": { "ui:name": "Cancel button text", "ui:help": "" }, "currentregiontext": { "ui:name": "Region field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "editprofileheader": { "ui:name": "Heading", "ui:help": "" }, "editprofiletext": { "ui:name": "Enable editing button text", "ui:help": "" }, "firstnametext": { "ui:name": "First name field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name field label", "ui:help": "" }, "showregion": { "ui:name": "Show or hide current region", "ui:help": "" }, "updatetext": { "ui:name": "Update info button text", "ui:help": "" } }, "traits": [{ "name": "canceltext", "type": "string", "title": "Cancel button text" }, { "name": "currentregiontext", "type": "string", "title": "Region field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "editprofileheader", "type": "string", "title": "Heading" }, { "name": "editprofiletext", "type": "string", "title": "Enable editing button text" }, { "name": "firstnametext", "type": "string", "title": "First name field label" }, { "name": "lastnametext", "type": "string", "title": "Last name field label" }, { "name": "showregion", "type": "boolean", "title": "Show or hide current region" }, { "name": "updatetext", "type": "string", "title": "Update info button text" }] }, { "tag": "sqm-form-message", "name": "Form Message", "uiSchema": { "icon": { "ui:name": "Icon to use in alert", "ui:help": "" }, "type": { "ui:name": "Type of alert", "ui:help": "" } }, "traits": [{ "name": "icon", "type": "string", "title": "Icon to use in alert" }, { "name": "type", "type": "string", "title": "Type of alert" }] }, { "tag": "sqm-graphql-client-provider", "name": "GraphQL Client Provider", "uiSchema": { "domain": { "ui:name": "Domain", "ui:help": "" } }, "traits": [{ "name": "domain", "type": "string", "title": "Domain" }] }, { "tag": "sqm-hero", "name": "Hero Layout", "uiSchema": { "background": { "ui:name": "Background image or color", "ui:help": "" }, "columns": { "ui:name": "Number of columns in the layout", "ui:help": "" }, "wrap-direction": { "ui:name": "Wrap direction", "ui:help": "" } }, "traits": [{ "name": "background", "type": "string", "title": "Background image or color" }, { "name": "columns", "type": "1 | 2", "title": "Number of columns in the layout" }, { "name": "wrap-direction", "type": "\"wrap\" | \"wrap-reverse\"", "title": "Wrap direction" }] }, { "tag": "sqm-hook-story-container", "name": "sqm-hook-story-container", "uiSchema": { "hookStory": { "ui:help": "" } }, "traits": [{ "name": "hookStory", "type": "FunctionalComponent<{}>", "title": "hookStory" }] }, { "tag": "sqm-leaderboard", "name": "Leaderboard", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-type": { "ui:name": "Rank type", "ui:help": "" }, "rankheading": { "ui:name": "Rank Heading", "ui:help": "" }, "show-rank": { "ui:name": "Show the ranking numbers", "ui:help": "" }, "statsheading": { "ui:name": "Stats Column Heading", "ui:help": "" }, "usersheading": { "ui:name": "User Column Heading", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-type", "type": "string", "title": "Rank type", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "rankheading", "type": "string", "title": "Rank Heading" }, { "name": "show-rank", "type": "boolean", "title": "Show the ranking numbers" }, { "name": "statsheading", "type": "string", "title": "Stats Column Heading" }, { "name": "usersheading", "type": "string", "title": "User Column Heading" }] }, { "tag": "sqm-leaderboard-rank", "name": "Leaderboard Rank", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-text": { "ui:name": "Rank Text", "ui:help": "" }, "rank-type": { "ui:name": "Default rank", "ui:help": "" }, "unranked-text": { "ui:name": "Unranked Text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-text", "type": "string", "title": "Rank Text" }, { "name": "rank-type", "type": "string", "title": "Default rank", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "unranked-text", "type": "string", "title": "Unranked Text" }] }, { "tag": "sqm-navigation-menu", "name": "Navigation Menu", "uiSchema": { "demoData": { "ui:help": "" }, "include-dropdown": { "ui:name": "Include dropdown menu", "ui:help": "" }, "menu-label": { "ui:name": "Label on the header menu", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "include-dropdown", "type": "boolean", "title": "Include dropdown menu" }, { "name": "menu-label", "type": "string", "title": "Label on the header menu" }] }, { "tag": "sqm-navigation-sidebar", "name": "Navigation Sidebar", "uiSchema": {}, "traits": [] }, { "tag": "sqm-navigation-sidebar-item", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "icon": { "ui:name": "Icon", "ui:help": "" }, "label": { "ui:name": "Label", "ui:help": "" }, "path": { "ui:name": "Navigation path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "icon", "type": "string", "title": "Icon" }, { "name": "label", "type": "string", "title": "Label" }, { "name": "path", "type": "string", "title": "Navigation path" }] }, { "tag": "sqm-password-field", "name": "Portal Password Field", "uiSchema": { "demoData": { "ui:help": "" }, "enable-validation": { "ui:name": "Enable live password validation", "ui:help": "" }, "field-label": { "ui:name": "Label for password field", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "enable-validation", "type": "boolean", "title": "Enable live password validation" }, { "name": "field-label", "type": "string", "title": "Label for password field" }] }, { "tag": "sqm-popup-container", "name": "Popup container for widgets", "uiSchema": { "close-button": { "ui:name": "Display a close button on the popup", "ui:help": "" }, "close-button-text": { "ui:name": "Text to be used as the close button", "ui:help": "" }, "embed-padding": { "ui:name": "Specify padding on the popup contents when in embedded mode", "ui:help": "" }, "popup-padding": { "ui:name": "Specify padding on the popup contents when in popup mode", "ui:help": "" }, "powered-by": { "ui:name": "Show SaaSquatch Powered By messaging", "ui:help": "" } }, "traits": [{ "name": "close-button", "type": "boolean", "title": "Display a close button on the popup" }, { "name": "close-button-text", "type": "string", "title": "Text to be used as the close button" }, { "name": "embed-padding", "type": "string", "title": "Specify padding on the popup contents when in embedded mode", "enum": ["none", "small", "medium", "large"] }, { "name": "popup-padding", "type": "string", "title": "Specify padding on the popup contents when in popup mode", "enum": ["none", "small", "medium", "large"] }, { "name": "powered-by", "type": "boolean", "title": "Show SaaSquatch Powered By messaging" }] }, { "tag": "sqm-portal-change-password", "name": "Portal Profile", "uiSchema": { "cancel-text": { "ui:name": "Modal cancel password change button text", "ui:help": "" }, "change-password-button-text": { "ui:name": "Modal change password button text", "ui:help": "" }, "confirm-password-field-label": { "ui:name": "Password confirmation input field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "modal-change-password-header": { "ui:name": "Change password modal header", "ui:help": "" }, "password-field-label": { "ui:name": "Password input field label", "ui:help": "" }, "portal-change-password-button-text": { "ui:name": "Portal change password button text", "ui:help": "" }, "portal-change-password-header": { "ui:name": "Portal change password section header", "ui:help": "" }, "success-message": { "ui:name": "Successful password change message", "ui:help": "" } }, "traits": [{ "name": "cancel-text", "type": "string", "title": "Modal cancel password change button text" }, { "name": "change-password-button-text", "type": "string", "title": "Modal change password button text" }, { "name": "confirm-password-field-label", "type": "string", "title": "Password confirmation input field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "modal-change-password-header", "type": "string", "title": "Change password modal header" }, { "name": "password-field-label", "type": "string", "title": "Password input field label" }, { "name": "portal-change-password-button-text", "type": "string", "title": "Portal change password button text" }, { "name": "portal-change-password-header", "type": "string", "title": "Portal change password section header" }, { "name": "success-message", "type": "string", "title": "Successful password change message" }] }, { "tag": "sqm-portal-container", "name": "Portal Container", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "gap": { "ui:name": "Gap", "ui:help": "" }, "min-width": { "ui:name": "Gap", "ui:help": "" }, "padding": { "ui:name": "Padding", "ui:help": "" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "gap", "type": "string", "title": "Gap", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "min-width", "type": "string", "title": "Gap" }, { "name": "padding", "type": "string", "title": "Padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-portal-email-verification", "name": "Portal Email Verification", "uiSchema": { "demoData": { "ui:help": "" }, "email-verification-header": { "ui:name": "Email verification header text", "ui:help": "" }, "resend-email-button-text": { "ui:name": "Re-send email button text", "ui:help": "" }, "verify-message": { "ui:name": "Email verification body text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-verification-header", "type": "string", "title": "Email verification header text" }, { "name": "resend-email-button-text", "type": "string", "title": "Re-send email button text" }, { "name": "verify-message", "type": "string", "title": "Email verification body text" }] }, { "tag": "sqm-portal-footer", "name": "Portal Footer", "uiSchema": { "faq-link": { "ui:name": "FAQ Link", "ui:help": "" }, "faq-text": { "ui:name": "FAQ Text", "ui:help": "" }, "padding-bottom": { "ui:name": "Padding Bottom", "ui:help": "" }, "padding-left": { "ui:name": "Padding Left", "ui:help": "" }, "padding-right": { "ui:name": "Padding Right", "ui:help": "" }, "padding-top": { "ui:name": "Padding Top", "ui:help": "" }, "powered-by-link": { "ui:name": "Powered By Link", "ui:help": "" }, "show-powered-by": { "ui:name": "Show Powered By SaaSquatch", "ui:help": "" }, "support-email": { "ui:name": "Support Email", "ui:help": "" }, "support-text": { "ui:name": "Support Text", "ui:help": "" }, "terms-link": { "ui:name": "Terms and Conditions Link", "ui:help": "" }, "terms-text": { "ui:name": "Terms and Conditions Text", "ui:help": "" } }, "traits": [{ "name": "faq-link", "type": "string", "title": "FAQ Link" }, { "name": "faq-text", "type": "string", "title": "FAQ Text" }, { "name": "padding-bottom", "type": "string", "title": "Padding Bottom" }, { "name": "padding-left", "type": "string", "title": "Padding Left" }, { "name": "padding-right", "type": "string", "title": "Padding Right" }, { "name": "padding-top", "type": "string", "title": "Padding Top" }, { "name": "powered-by-link", "type": "string", "title": "Powered By Link" }, { "name": "show-powered-by", "type": "boolean", "title": "Show Powered By SaaSquatch" }, { "name": "support-email", "type": "string", "title": "Support Email" }, { "name": "support-text", "type": "string", "title": "Support Text" }, { "name": "terms-link", "type": "string", "title": "Terms and Conditions Link" }, { "name": "terms-text", "type": "string", "title": "Terms and Conditions Text" }] }, { "tag": "sqm-portal-forgot-password", "name": "Portal Forgot Password", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Email label", "ui:help": "" }, "submit-label": { "ui:name": "Password reset button text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Email label" }, { "name": "submit-label", "type": "string", "title": "Password reset button text" }] }, { "tag": "sqm-portal-frame", "name": "Portal Frame", "uiSchema": { "demoData": { "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }] }, { "tag": "sqm-portal-login", "name": "Portal Login", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "forgot-password-label": { "ui:name": "Label for forgotten password button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after sign-in", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "register-label": { "ui:name": "Label for register navigation button", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "forgot-password-label", "type": "string", "title": "Label for forgotten password button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after sign-in" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "register-label", "type": "string", "title": "Label for register navigation button" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-logout", "name": "Portal Logout", "uiSchema": { "next-page": { "ui:name": "Next Page path", "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "Next Page path" }] }, { "tag": "sqm-portal-profile", "name": "Portal Profile", "uiSchema": { "countrytext": { "ui:name": "Country input field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "edit-profile-header": { "ui:name": "Edit profile header", "ui:help": "" }, "edit-profile-sub-header": { "ui:name": "Edit profile sub header", "ui:help": "" }, "emailtext": { "ui:name": "Email input field label", "ui:help": "" }, "firstnametext": { "ui:name": "First name input field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name input field label", "ui:help": "" }, "show-country": { "ui:name": "Show or hide country field", "ui:help": "" }, "submit-change-button-text": { "ui:name": "Text for the submit changes button", "ui:help": "" } }, "traits": [{ "name": "countrytext", "type": "string", "title": "Country input field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "edit-profile-header", "type": "string", "title": "Edit profile header" }, { "name": "edit-profile-sub-header", "type": "string", "title": "Edit profile sub header" }, { "name": "emailtext", "type": "string", "title": "Email input field label" }, { "name": "firstnametext", "type": "string", "title": "First name input field label" }, { "name": "lastnametext", "type": "string", "title": "Last name input field label" }, { "name": "show-country", "type": "boolean", "title": "Show or hide country field" }, { "name": "submit-change-button-text", "type": "string", "title": "Text for the submit changes button" }] }, { "tag": "sqm-portal-protected-route", "name": "Portal Protected Route", "uiSchema": { "redirect-to": { "ui:name": "Redirect Path", "ui:help": "" }, "redirect-to-unverified": { "ui:name": "Redirect unverified users path", "ui:help": "" }, "require-email-verification": { "ui:name": "Require Email Verification", "ui:help": "" } }, "traits": [{ "name": "redirect-to", "type": "string", "title": "Redirect Path" }, { "name": "redirect-to-unverified", "type": "string", "title": "Redirect unverified users path" }, { "name": "require-email-verification", "type": "boolean", "title": "Require Email Verification" }] }, { "tag": "sqm-portal-register", "name": "Portal Register", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password field", "ui:help": "" }, "confirm-password-label": { "ui:name": "Label for confirm password field", "ui:help": "" }, "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "enable-password-validation": { "ui:name": "Use password field with live validation", "ui:help": "" }, "hide-inputs": { "ui:name": "Hide default input fields to use custom fields", "ui:help": "" }, "login-label": { "ui:name": "Label for login navigation button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after registration", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password field" }, { "name": "confirm-password-label", "type": "string", "title": "Label for confirm password field" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "enable-password-validation", "type": "boolean", "title": "Use password field with live validation" }, { "name": "hide-inputs", "type": "boolean", "title": "Hide default input fields to use custom fields" }, { "name": "login-label", "type": "string", "title": "Label for login navigation button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after registration" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-reset-password", "name": "Portal Reset Password", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password", "ui:help": "" }, "confirm-password-field-label": { "ui:name": "Confirm password field label", "ui:help": "" }, "continue-button-text": { "ui:name": "Continue button text", "ui:help": "Displayed after a successful password reset" }, "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" }, "password-reset-header": { "ui:name": "Password reset header text", "ui:help": "Displayed after a successful password reset" }, "reset-password-button-text": { "ui:name": "Password reset button text", "ui:help": "" }, "reset-password-header": { "ui:name": "Password reset header text", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password" }, { "name": "confirm-password-field-label", "type": "string", "title": "Confirm password field label" }, { "name": "continue-button-text", "type": "string", "title": "Continue button text" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }, { "name": "password-reset-header", "type": "string", "title": "Password reset header text" }, { "name": "reset-password-button-text", "type": "string", "title": "Password reset button text" }, { "name": "reset-password-header", "type": "string", "title": "Password reset header text" }] }, { "tag": "sqm-portal-verify-email", "name": "Portal Verify Email", "uiSchema": { "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }] }, { "tag": "sqm-program-menu", "name": "Portal Menu", "uiSchema": {}, "traits": [] }, { "tag": "sqm-referral-table", "name": "Referral Table", "uiSchema": { "demoData": { "ui:help": "" }, "more-label": { "ui:name": "View More button text", "ui:help": "" }, "per-page": { "ui:name": "Number of referrals per page", "ui:help": "" }, "prev-label": { "ui:name": "Previous button text", "ui:help": "" }, "program-id": { "ui:name": "Program", "ui:help": "Filters to only show referrals in this program. Will default to filtering by the program context where\r\nthis table lives. If no program ID is set or provided by context, then shows all referrals from all programs.\r\nIf program ID is \"classic\", shows classic-only referrals" }, "show-labels": { "ui:name": "Show column labels", "ui:help": "" }, "show-referrer": { "ui:name": "Show Referred by user in table", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "more-label", "type": "string", "title": "View More button text" }, { "name": "per-page", "type": "number", "title": "Number of referrals per page" }, { "name": "prev-label", "type": "string", "title": "Previous button text" }, { "name": "program-id", "type": "string", "title": "Program" }, { "name": "show-labels", "type": "boolean", "title": "Show column labels" }, { "name": "show-referrer", "type": "boolean", "title": "Show Referred by user in table" }] }, { "tag": "sqm-referral-table-cell", "name": "sqm-referral-table-cell", "uiSchema": { "inner-template": { "ui:help": "" } }, "traits": [{ "name": "inner-template", "type": "string", "title": "inner-template" }] }, { "tag": "sqm-referral-table-column", "name": "Referral Table Generic Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }] }, { "tag": "sqm-referral-table-date-cell", "name": "sqm-referral-table-date-cell", "uiSchema": { "date": { "ui:help": "" } }, "traits": [{ "name": "date", "type": "number", "title": "date" }] }, { "tag": "sqm-referral-table-date-column", "name": "Referral Table Date Column", "uiSchema": { "column-title": { "ui:name": "Date Column Title", "ui:help": "" }, "date-shown": { "ui:name": "Date Displayed", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Date Column Title" }, { "name": "date-shown", "type": "string", "title": "Date Displayed", "enum": ["dateConverted", "dateReferralStarted", "dateFraudChecksCompleted", "dateModerated", "dateModified", "dateReferralEnded", "dateReferralPaid", "dateUserModified"] }] }, { "tag": "sqm-referral-table-rewards-cell", "name": "sqm-referral-table-rewards-cell", "uiSchema": { "hide-details": { "ui:help": "" }, "rewards": { "ui:help": "" } }, "traits": [{ "name": "hide-details", "type": "boolean", "title": "hide-details" }, { "name": "rewards", "type": "Reward[]", "title": "rewards" }] }, { "tag": "sqm-referral-table-rewards-column", "name": "Referral Table Rewards Column", "uiSchema": { "column-title": { "ui:name": "Reward column title", "ui:help": "" }, "hide-details": { "ui:name": "Hide dropdown details of reward", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Reward column title" }, { "name": "hide-details", "type": "boolean", "title": "Hide dropdown details of reward" }] }, { "tag": "sqm-referral-table-status-cell", "name": "sqm-referral-table-status-cell", "uiSchema": { "converted": { "ui:help": "" }, "status-text": { "ui:help": "" } }, "traits": [{ "name": "converted", "type": "boolean", "title": "converted" }, { "name": "status-text", "type": "string", "title": "status-text" }] }, { "tag": "sqm-referral-table-status-column", "name": "Referral Table Status Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" }, "converted-status-text": { "ui:name": "Converted Status Text", "ui:help": "" }, "in-progress-status-text": { "ui:name": "In Progress Status Text", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }, { "name": "converted-status-text", "type": "string", "title": "Converted Status Text" }, { "name": "in-progress-status-text", "type": "string", "title": "In Progress Status Text" }] }, { "tag": "sqm-referral-table-user-cell", "name": "sqm-referral-table-user-cell", "uiSchema": { "name": { "ui:help": "" } }, "traits": [{ "name": "name", "type": "string", "title": "name" }] }, { "tag": "sqm-referral-table-user-column", "name": "Referral Table User Column", "uiSchema": { "anonymous-user": { "ui:name": "Name displayed for anonymous users", "ui:help": "" }, "column-title": { "ui:name": "User Column Title", "ui:help": "" }, "deleted-user": { "ui:name": "Name displayed for deleted users", "ui:help": "" } }, "traits": [{ "name": "anonymous-user", "type": "string", "title": "Name displayed for anonymous users" }, { "name": "column-title", "type": "string", "title": "User Column Title" }, { "name": "deleted-user", "type": "string", "title": "Name displayed for deleted users" }] }, { "tag": "sqm-route", "name": "Route (for pages)", "uiSchema": { "path": { "ui:name": "Navigation path name", "ui:help": "" } }, "traits": [{ "name": "path", "type": "string", "title": "Navigation path name" }] }, { "tag": "sqm-router", "name": "Router (for pages)", "uiSchema": {}, "traits": [] }, { "tag": "sqm-share-button", "name": "Share Button", "uiSchema": { "ui:order": ["medium", "program-id", "*", "pill", "disabled", "hideicon"], "demoData": { "ui:help": "" }, "disabled": { "ui:name": "Disabled", "ui:help": "" }, "hideicon": { "ui:name": "Hide the icon", "ui:help": "" }, "hidetext": { "ui:name": "Hide the text", "ui:help": "" }, "icon": { "ui:name": "Icon used in button. Will try to select an icon based on the share medium if left empty.", "ui:help": "" }, "iconslot": { "ui:name": "Icon Location", "ui:help": "" }, "medium": { "ui:name": "Share Medium", "ui:help": "The social medium to share on. Share messages and links\r\nwill be pulled from your program config and tagged for analytics." }, "pill": { "ui:name": "Display as pill", "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "Optional programId, or uses the programId context where this button is rendered." }, "sharetext": { "ui:name": "Text used for native sharing (mobile only)", "ui:help": "" }, "sharetitle": { "ui:name": "Title used for native sharing (mobile only)", "ui:help": "" }, "size": { "ui:name": "Button Size", "ui:help": "" }, "type": { "ui:name": "Button Style", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "disabled", "type": "boolean", "title": "Disabled" }, { "name": "hideicon", "type": "boolean", "title": "Hide the icon" }, { "name": "hidetext", "type": "boolean", "title": "Hide the text" }, { "name": "icon", "type": "string", "title": "Icon used in button. Will try to select an icon based on the share medium if left empty." }, { "name": "iconslot", "type": "string", "title": "Icon Location", "enum": ["prefix", "suffix"], "enumNames": ["Prefix", "Suffix"] }, { "name": "medium", "type": "string", "title": "Share Medium", "enum": ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest", "reminder", "unknown"], "enumNames": ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest", "Reminder", "Unknown"] }, { "name": "pill", "type": "boolean", "title": "Display as pill" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "sharetext", "type": "string", "title": "Text used for native sharing (mobile only)" }, { "name": "sharetitle", "type": "string", "title": "Title used for native sharing (mobile only)" }, { "name": "size", "type": "string", "title": "Button Size", "enum": ["small", "medium", "large"], "enumNames": ["Small", "Medium", "Large"] }, { "name": "type", "type": "string", "title": "Button Style", "enum": ["primary", "success", "info", "warning", "danger", "default", "text"] }] }, { "tag": "sqm-share-code", "name": "Share Code", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the code. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the cpde to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-share-link", "name": "Share Link", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the link to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-stat-container", "name": "Stat Container", "uiSchema": { "space": { "ui:name": "Space between stats", "ui:help": "" } }, "traits": [{ "name": "space", "type": "string", "title": "Space between stats", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-stencilbook", "name": "sqm-stencilbook", "uiSchema": {}, "traits": [] }, { "tag": "sqm-table-cell", "name": "sqm-table-cell", "uiSchema": { "colspan": { "ui:help": "" }, "padding": { "ui:help": "" } }, "traits": [{ "name": "colspan", "type": "number", "title": "colspan" }, { "name": "padding", "type": "string", "title": "padding" }] }, { "tag": "sqm-table-row", "name": "sqm-table-row", "uiSchema": { "border": { "ui:help": "" } }, "traits": [{ "name": "border", "type": "string", "title": "border" }] }, { "tag": "sqm-text", "name": "Text", "uiSchema": {}, "traits": [] }, { "tag": "sqm-text-span", "name": "Text Span", "uiSchema": { "text": { "ui:name": "Text", "ui:help": "" }, "type": { "ui:name": "Text", "ui:help": "" } }, "traits": [{ "name": "text", "type": "string", "title": "Text" }, { "name": "type", "type": "string", "title": "Text", "enum": ["p", "subtext", "h1", "h2", "h3", "h4"] }] }, { "tag": "sqm-titled-section", "name": "Section (with title)", "uiSchema": { "label": { "ui:help": "" }, "label-margin": { "ui:name": "Label margin style", "ui:help": "" }, "padding": { "ui:name": "Section padding", "ui:help": "" } }, "traits": [{ "name": "label", "type": "string", "title": "label" }, { "name": "label-margin", "type": "string", "title": "Label margin style", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "padding", "type": "string", "title": "Section padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-user-name", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "fallback": { "ui:name": "Fallback name for nameless users", "ui:help": "" }, "loading-text": { "ui:name": "Loading text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "fallback", "type": "string", "title": "Fallback name for nameless users" }, { "name": "loading-text", "type": "string", "title": "Loading text" }] }, { "tag": "sl-details", "name": "Details", "traits": [{ "type": "string", "name": "summary", "title": "Label" }] }, { "tag": "sl-tab", "name": "Tab", "traits": [{ "type": "string", "name": "panel", "title": "Panel ID" }] }, { "tag": "sl-tab-panel", "name": "Tab Panel", "traits": [{ "type": "string", "name": "name", "title": "Panel ID" }] }, { "tag": "sl-tab-group", "name": "Tab Group", "traits": [{ "type": "string", "name": "placement", "title": "Placement of Tabs", "enum": ["top", "right", "bottom", "left"] }] }, { "tag": "sl-skeleton", "name": "Loading Skeleton", "traits": [] }];
9
9
  exports_1("default", (function (editor, config) {
10
10
  if (config === void 0) { config = {}; }
11
11
  // Get DomComponents module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/mint-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2-11",
4
4
  "description": "Mint Components - Built with Shoelace Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "es2015": "dist/esm/index.js",
@@ -47,6 +47,7 @@
47
47
  "jest": "^26.6.3",
48
48
  "jest-cli": "^26.6.3",
49
49
  "jest-config": "^26.6.3",
50
+ "marked": "^3.0.4",
50
51
  "rollup-plugin-copy": "^3.4.0",
51
52
  "rollup-plugin-css-only": "^3.1.0",
52
53
  "rollup-plugin-string": "^3.0.0",
@@ -1,53 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-b0129cd6.js');
4
- const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
5
- const mixins = require('./mixins-232c94a0.js');
6
- const sqmTextSpanView = require('./sqm-text-span-view-b5ae787b.js');
7
-
8
- const style = {
9
- Wrapper: mixins.AuthWrapper,
10
- Column: mixins.AuthColumn,
11
- ForgotButtonContainer: {
12
- display: "inline",
13
- cursor: "pointer",
14
- "font-size": "13px",
15
- "font-weight": "600",
16
- color: "#AAAAAA",
17
- margin: "0",
18
- },
19
- ButtonsContainer: mixins.AuthButtonsContainer,
20
- };
21
- const vanillaStyle = `
22
- :host {
23
- margin: 0 auto;
24
- width: 100%;
25
- display: block;
26
- }
27
- :host([hidden]): {
28
- display: none;
29
- }
30
- `;
31
- jssPresetDefault_esm.jss.setup(jssPresetDefault_esm.create());
32
- const sheet = jssPresetDefault_esm.jss.createStyleSheet(style);
33
- const styleString = sheet.toString();
34
- function PortalLoginView(props) {
35
- const { states, callbacks, content } = props;
36
- return (index.h("div", { class: sheet.classes.Wrapper },
37
- index.h("style", { type: "text/css" },
38
- vanillaStyle,
39
- styleString),
40
- index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
41
- index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
42
- props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
43
- index.h("div", { part: "erroralert-text" }, props.states.error))),
44
- index.h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
45
- index.h("div", null,
46
- index.h("sl-input", { exportparts: "label: input-label", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
47
- index.h("div", { class: sheet.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
48
- index.h("div", { class: sheet.classes.ButtonsContainer },
49
- index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
50
- content.secondaryButton))));
51
- }
52
-
53
- exports.PortalLoginView = PortalLoginView;
@@ -1,119 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-b0129cd6.js');
6
- const _extends = require('./extends-0302d27d.js');
7
- const index_module = require('./index.module-c7136d45.js');
8
- const jsonpointer = require('./jsonpointer-11327262.js');
9
- require('./jss-preset-default.esm-6304d24f.js');
10
- const cjs = require('./cjs-1066ec21.js');
11
- require('./mixins-232c94a0.js');
12
- require('./sqm-text-span-view-b5ae787b.js');
13
- const sqmPortalLoginView = require('./sqm-portal-login-view-20530cd5.js');
14
-
15
- function usePortalLogin({ nextPage }) {
16
- var _a, _b, _c, _d;
17
- const [request, { loading, errors, data }] = index_module.qe();
18
- const [error, setError] = _extends.useState("");
19
- const urlParams = new URLSearchParams(window.location.search);
20
- const nextPageOverride = urlParams.get("nextPage");
21
- const submit = async (event) => {
22
- setError("");
23
- let formData = event.detail.formData;
24
- formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
25
- jsonpointer.jsonpointer.set(formData, key, value);
26
- });
27
- const variables = { email: formData.email, password: formData.password };
28
- await request(variables);
29
- };
30
- _extends.useEffect(() => {
31
- var _a;
32
- if ((_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
33
- urlParams.delete("nextPage");
34
- index_module.rn.push({
35
- pathname: nextPageOverride || nextPage,
36
- search: urlParams.toString() && "?" + urlParams.toString(),
37
- });
38
- }
39
- }, [(_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
40
- _extends.useEffect(() => {
41
- var _a;
42
- if ((errors === null || errors === void 0 ? void 0 : errors.message) || ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"])) {
43
- setError("Network request failed.");
44
- }
45
- }, [errors]);
46
- const errorMessage = ((_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) || error;
47
- return {
48
- states: {
49
- loading,
50
- error: errorMessage,
51
- },
52
- callbacks: {
53
- submit,
54
- },
55
- };
56
- }
57
-
58
- const PortalLogin = class {
59
- constructor(hostRef) {
60
- index.registerInstance(this, hostRef);
61
- this.ignored = true;
62
- /**
63
- * @uiName Page navigated to after sign-in
64
- */
65
- this.nextPage = "/";
66
- /**
67
- * @uiName Label for email field
68
- */
69
- this.emailLabel = "Email";
70
- /**
71
- * @uiName Label for password field
72
- */
73
- this.passwordLabel = "Password";
74
- /**
75
- * @uiName Label for submit button
76
- */
77
- this.submitLabel = "Sign In";
78
- /**
79
- * @uiName Label for forgotten password button
80
- */
81
- this.forgotPasswordLabel = "Forgot Password?";
82
- /**
83
- * @uiName Label for register navigation button
84
- */
85
- this.registerLabel = "Register";
86
- /**
87
- * @uiName Heading label
88
- */
89
- this.pageLabel = "Sign in to your account";
90
- _extends.h$1(this);
91
- }
92
- disconnectedCallback() { }
93
- render() {
94
- const { states, callbacks } = index_module.j()
95
- ? useLoginDemo(this)
96
- : usePortalLogin(this);
97
- const content = {
98
- forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.rn.push("/forgotPassword") }, this.forgotPasswordLabel))),
99
- secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.rn.push("/register") }, this.registerLabel))),
100
- emailLabel: this.emailLabel,
101
- passwordLabel: this.passwordLabel,
102
- submitLabel: this.submitLabel,
103
- pageLabel: this.pageLabel,
104
- };
105
- return (index.h(sqmPortalLoginView.PortalLoginView, { states: states, callbacks: callbacks, content: content }));
106
- }
107
- };
108
- function useLoginDemo(props) {
109
- return cjs.cjs({
110
- states: { error: "", loading: false },
111
- callbacks: {
112
- submit: async (_event) => {
113
- console.log("submit");
114
- },
115
- },
116
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
117
- }
118
-
119
- exports.sqm_portal_login = PortalLogin;