@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.
- package/CHANGELOG.md +32 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-divided-layout_22.cjs.entry.js → sqm-divided-layout_24.cjs.entry.js} +3846 -88
- package/dist/cjs/sqm-hero-view-9a179fd2.js +77 -0
- package/dist/cjs/sqm-hero.cjs.entry.js +33 -0
- package/dist/cjs/{sqm-navigation-sidebar-item-view-089d0eed.js → sqm-navigation-sidebar-item-view-647457cc.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-change-password-view-8d932bce.js → sqm-portal-change-password-view-faf6ad39.js} +15 -8
- package/dist/cjs/sqm-portal-change-password.cjs.entry.js +59 -4
- package/dist/cjs/{sqm-portal-email-verification-view-d6b7b37e.js → sqm-portal-email-verification-view-626fc886.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -2
- package/dist/cjs/sqm-portal-footer-view-be3adcf2.js +80 -0
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +58 -0
- package/dist/cjs/{sqm-portal-profile-view-db5658ba.js → sqm-portal-profile-view-76e3e4bb.js} +5 -5
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +25 -7
- package/dist/cjs/{sqm-portal-reset-password-view-3980aa63.js → sqm-portal-reset-password-view-b7b52d16.js} +10 -6
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +42 -4
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +73 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +95 -0
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +2 -2
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +2 -2
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +15 -8
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +215 -2
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +11 -1
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +3 -3
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +55 -3
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -0
- package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +11 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +65 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +305 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +5 -5
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +90 -12
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +3 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +3 -3
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +28 -2
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +10 -6
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +137 -1
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +10 -3
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -1
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +0 -6
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +10 -0
- package/dist/collection/stories/ChangePassword.stories.js +72 -2
- package/dist/collection/stories/Hero.stories.js +98 -0
- package/dist/collection/stories/NewPortal.stories.js +19 -1
- package/dist/collection/stories/PortalEmailVerification.stories.js +8 -0
- package/dist/collection/stories/PortalFooter.stories.js +21 -0
- package/dist/collection/stories/PortalProfile.stories.js +18 -0
- package/dist/collection/stories/PortalRegister.stories.js +7 -3
- package/dist/collection/stories/PortalResetPassword.stories.js +42 -0
- package/dist/collection/stories/PortalTemplates.stories.js +143 -0
- package/dist/collection/stories/PoweredByImg.stories.js +14 -0
- package/dist/collection/stories/ProgramMenu.stories.js +39 -0
- package/dist/collection/stories/Router.stories.js +42 -6
- package/dist/collection/stories/UseBigStat.stories.js +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{sqm-divided-layout_22.entry.js → sqm-divided-layout_24.entry.js} +3844 -88
- package/dist/esm/sqm-hero-view-5b9bbae2.js +75 -0
- package/dist/esm/sqm-hero.entry.js +29 -0
- package/dist/esm/{sqm-navigation-sidebar-item-view-a75802bb.js → sqm-navigation-sidebar-item-view-000b0afb.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/{sqm-portal-change-password-view-8dbe1ea3.js → sqm-portal-change-password-view-24a4adf7.js} +15 -8
- package/dist/esm/sqm-portal-change-password.entry.js +59 -4
- package/dist/esm/{sqm-portal-email-verification-view-964d21fe.js → sqm-portal-email-verification-view-03495ffa.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +14 -2
- package/dist/esm/sqm-portal-footer-view-728c427c.js +77 -0
- package/dist/esm/sqm-portal-footer.entry.js +54 -0
- package/dist/esm/{sqm-portal-profile-view-2801882b.js → sqm-portal-profile-view-72e966e2.js} +5 -5
- package/dist/esm/sqm-portal-profile.entry.js +25 -7
- package/dist/esm/{sqm-portal-reset-password-view-6c1d23eb.js → sqm-portal-reset-password-view-1441849e.js} +10 -6
- package/dist/esm/sqm-portal-reset-password.entry.js +42 -4
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-divided-layout_24.entry.js +1 -0
- package/dist/esm-es5/sqm-hero-view-5b9bbae2.js +1 -0
- package/dist/esm-es5/sqm-hero.entry.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-000b0afb.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-change-password-view-24a4adf7.js +1 -0
- package/dist/esm-es5/sqm-portal-change-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-03495ffa.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-footer-view-728c427c.js +1 -0
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-profile-view-2801882b.js → sqm-portal-profile-view-72e966e2.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-1441849e.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-0747c54d.system.js +1 -1
- package/dist/mint-components/{p-1fd262be.system.js → p-1adc0488.system.js} +1 -1
- package/dist/mint-components/p-20fa60f6.system.entry.js +1 -0
- package/dist/mint-components/p-2addaaff.system.entry.js +1 -0
- package/dist/mint-components/p-3a9d8fd9.js +1 -0
- package/dist/mint-components/p-3adace56.entry.js +1 -0
- package/dist/mint-components/p-51db87f4.js +1 -0
- package/dist/mint-components/p-5442b8ad.js +1 -0
- package/dist/mint-components/p-609d6b60.system.entry.js +1 -0
- package/dist/mint-components/p-634d5bcc.entry.js +222 -0
- package/dist/mint-components/p-659298ed.system.entry.js +1 -0
- package/dist/mint-components/p-69e263e0.entry.js +1 -0
- package/dist/mint-components/p-6dfcecca.entry.js +33 -0
- package/dist/mint-components/p-70dd58a4.system.js +1 -0
- package/dist/mint-components/p-759095b4.entry.js +1 -0
- package/dist/mint-components/p-79e5f02c.entry.js +1 -0
- package/dist/mint-components/p-875d1fdc.system.entry.js +1 -0
- package/dist/mint-components/p-8a9ebc3f.system.entry.js +1 -0
- package/dist/mint-components/p-8dc6f789.js +1 -0
- package/dist/mint-components/p-a741d57c.system.js +1 -0
- package/dist/mint-components/p-b7159234.system.js +1 -0
- package/dist/mint-components/p-c196dc61.js +1 -0
- package/dist/mint-components/{p-eb944c84.system.js → p-c366f729.system.js} +1 -1
- package/dist/mint-components/p-c5c2d834.system.js +1 -0
- package/dist/mint-components/p-d24845cd.js +1 -0
- package/dist/mint-components/{p-5d46f5cc.entry.js → p-d37839f3.entry.js} +1 -1
- package/dist/mint-components/p-d441144e.js +1 -0
- package/dist/mint-components/{p-0396ec57.system.entry.js → p-d65a1cfd.system.entry.js} +1 -1
- package/dist/mint-components/p-d95dc3f1.system.js +1 -0
- package/dist/mint-components/p-dfcc1950.entry.js +1 -0
- package/dist/mint-components/p-e48cd2c5.system.entry.js +1 -0
- package/dist/mint-components/p-e6ce03b2.system.entry.js +1 -0
- package/dist/mint-components/p-fa4d1c58.entry.js +1 -0
- package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +13 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +16 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +10 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +32 -0
- package/dist/types/components/sqm-portal-change-password/usePortalChangePassword.d.ts +11 -1
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +9 -1
- package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +2 -0
- package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +7 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +16 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +57 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile-view.d.ts +3 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +17 -5
- package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +3 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +4 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +7 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +24 -0
- package/dist/types/components/sqm-portal-reset-password/usePortalResetPassword.d.ts +2 -4
- package/dist/types/components.d.ts +314 -12
- package/dist/types/saasquatch.d.ts +1 -1
- package/dist/types/stories/Hero.stories.d.ts +11 -0
- package/dist/types/stories/PortalFooter.stories.d.ts +10 -0
- package/dist/types/stories/PortalTemplates.stories.d.ts +88 -0
- package/dist/types/stories/PoweredByImg.stories.d.ts +7 -0
- package/dist/types/stories/ProgramMenu.stories.d.ts +28 -0
- package/dist/types/stories/Router.stories.d.ts +24 -3
- package/dist/types/stories/UseBigStat.stories.d.ts +6 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -1
- package/dist/cjs/sqm-portal-login-view-20530cd5.js +0 -53
- package/dist/cjs/sqm-portal-login.cjs.entry.js +0 -119
- package/dist/cjs/sqm-program-menu.cjs.entry.js +0 -57
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.css +0 -25
- package/dist/esm/sqm-portal-login-view-7e56a959.js +0 -51
- package/dist/esm/sqm-portal-login.entry.js +0 -115
- package/dist/esm/sqm-program-menu.entry.js +0 -53
- package/dist/esm-es5/sqm-divided-layout_22.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-a75802bb.js +0 -1
- package/dist/esm-es5/sqm-portal-change-password-view-8dbe1ea3.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-964d21fe.js +0 -1
- package/dist/esm-es5/sqm-portal-login-view-7e56a959.js +0 -1
- package/dist/esm-es5/sqm-portal-login.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-6c1d23eb.js +0 -1
- package/dist/esm-es5/sqm-program-menu.entry.js +0 -1
- package/dist/mint-components/p-18142b08.system.entry.js +0 -1
- package/dist/mint-components/p-2019910e.system.entry.js +0 -1
- package/dist/mint-components/p-3f40e878.js +0 -1
- package/dist/mint-components/p-42ca40ee.system.entry.js +0 -1
- package/dist/mint-components/p-4a4f97e3.system.js +0 -1
- package/dist/mint-components/p-4e298f2f.entry.js +0 -1
- package/dist/mint-components/p-4f7e972b.entry.js +0 -222
- package/dist/mint-components/p-511ee8d5.js +0 -1
- package/dist/mint-components/p-5c2d4489.entry.js +0 -33
- package/dist/mint-components/p-6dcb4084.js +0 -1
- package/dist/mint-components/p-6edab0e1.js +0 -1
- package/dist/mint-components/p-7b5f70cf.system.entry.js +0 -1
- package/dist/mint-components/p-7cf1b6bc.system.js +0 -1
- package/dist/mint-components/p-8a647b42.entry.js +0 -1
- package/dist/mint-components/p-8a9e36b0.entry.js +0 -1
- package/dist/mint-components/p-9ec68457.system.js +0 -1
- package/dist/mint-components/p-a19cb5dc.entry.js +0 -1
- package/dist/mint-components/p-ac1285f3.js +0 -1
- package/dist/mint-components/p-aca6d934.system.entry.js +0 -1
- package/dist/mint-components/p-ae8f2817.entry.js +0 -1
- package/dist/mint-components/p-bcd56164.system.entry.js +0 -1
- package/dist/mint-components/p-cccfe42a.system.js +0 -1
- package/dist/mint-components/p-d2dfc374.js +0 -1
- package/dist/mint-components/p-db23f907.system.entry.js +0 -1
- package/dist/mint-components/p-e896917e.entry.js +0 -1
- package/dist/mint-components/p-f305ea91.system.entry.js +0 -1
|
@@ -12,23 +12,35 @@ export class PortalProfile {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
this.ignored = true;
|
|
14
14
|
/**
|
|
15
|
-
* @uiName First
|
|
15
|
+
* @uiName First name input field label
|
|
16
16
|
*/
|
|
17
17
|
this.firstnametext = "First Name";
|
|
18
18
|
/**
|
|
19
|
-
* @uiName Last
|
|
19
|
+
* @uiName Last name input field label
|
|
20
20
|
*/
|
|
21
21
|
this.lastnametext = "Last Name";
|
|
22
22
|
/**
|
|
23
|
-
* @uiName Email label
|
|
23
|
+
* @uiName Email input field label
|
|
24
24
|
*/
|
|
25
25
|
this.emailtext = "Email";
|
|
26
26
|
/**
|
|
27
|
-
* @uiName Country label
|
|
27
|
+
* @uiName Country input field label
|
|
28
28
|
*/
|
|
29
29
|
this.countrytext = "Country";
|
|
30
30
|
/**
|
|
31
|
-
* @uiName
|
|
31
|
+
* @uiName Edit profile header
|
|
32
|
+
*/
|
|
33
|
+
this.editProfileHeader = "Edit your profile";
|
|
34
|
+
/**
|
|
35
|
+
* @uiName Edit profile sub header
|
|
36
|
+
*/
|
|
37
|
+
this.editProfileSubHeader = "Personal Information";
|
|
38
|
+
/**
|
|
39
|
+
* @uiName Text for the submit changes button
|
|
40
|
+
*/
|
|
41
|
+
this.submitChangeButtonText = "Submit Changes";
|
|
42
|
+
/**
|
|
43
|
+
* @uiName Show or hide country field
|
|
32
44
|
*/
|
|
33
45
|
this.showCountry = true;
|
|
34
46
|
withHooks(this);
|
|
@@ -55,7 +67,7 @@ export class PortalProfile {
|
|
|
55
67
|
"optional": false,
|
|
56
68
|
"docs": {
|
|
57
69
|
"tags": [{
|
|
58
|
-
"text": "First
|
|
70
|
+
"text": "First name input field label",
|
|
59
71
|
"name": "uiName"
|
|
60
72
|
}],
|
|
61
73
|
"text": ""
|
|
@@ -76,7 +88,7 @@ export class PortalProfile {
|
|
|
76
88
|
"optional": false,
|
|
77
89
|
"docs": {
|
|
78
90
|
"tags": [{
|
|
79
|
-
"text": "Last
|
|
91
|
+
"text": "Last name input field label",
|
|
80
92
|
"name": "uiName"
|
|
81
93
|
}],
|
|
82
94
|
"text": ""
|
|
@@ -97,7 +109,7 @@ export class PortalProfile {
|
|
|
97
109
|
"optional": false,
|
|
98
110
|
"docs": {
|
|
99
111
|
"tags": [{
|
|
100
|
-
"text": "Email label",
|
|
112
|
+
"text": "Email input field label",
|
|
101
113
|
"name": "uiName"
|
|
102
114
|
}],
|
|
103
115
|
"text": ""
|
|
@@ -118,7 +130,7 @@ export class PortalProfile {
|
|
|
118
130
|
"optional": false,
|
|
119
131
|
"docs": {
|
|
120
132
|
"tags": [{
|
|
121
|
-
"text": "Country label",
|
|
133
|
+
"text": "Country input field label",
|
|
122
134
|
"name": "uiName"
|
|
123
135
|
}],
|
|
124
136
|
"text": ""
|
|
@@ -127,6 +139,69 @@ export class PortalProfile {
|
|
|
127
139
|
"reflect": false,
|
|
128
140
|
"defaultValue": "\"Country\""
|
|
129
141
|
},
|
|
142
|
+
"editProfileHeader": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "string",
|
|
147
|
+
"resolved": "string",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": false,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [{
|
|
154
|
+
"text": "Edit profile header",
|
|
155
|
+
"name": "uiName"
|
|
156
|
+
}],
|
|
157
|
+
"text": ""
|
|
158
|
+
},
|
|
159
|
+
"attribute": "edit-profile-header",
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"defaultValue": "\"Edit your profile\""
|
|
162
|
+
},
|
|
163
|
+
"editProfileSubHeader": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"mutable": false,
|
|
166
|
+
"complexType": {
|
|
167
|
+
"original": "string",
|
|
168
|
+
"resolved": "string",
|
|
169
|
+
"references": {}
|
|
170
|
+
},
|
|
171
|
+
"required": false,
|
|
172
|
+
"optional": false,
|
|
173
|
+
"docs": {
|
|
174
|
+
"tags": [{
|
|
175
|
+
"text": "Edit profile sub header",
|
|
176
|
+
"name": "uiName"
|
|
177
|
+
}],
|
|
178
|
+
"text": ""
|
|
179
|
+
},
|
|
180
|
+
"attribute": "edit-profile-sub-header",
|
|
181
|
+
"reflect": false,
|
|
182
|
+
"defaultValue": "\"Personal Information\""
|
|
183
|
+
},
|
|
184
|
+
"submitChangeButtonText": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"mutable": false,
|
|
187
|
+
"complexType": {
|
|
188
|
+
"original": "string",
|
|
189
|
+
"resolved": "string",
|
|
190
|
+
"references": {}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": false,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [{
|
|
196
|
+
"text": "Text for the submit changes button",
|
|
197
|
+
"name": "uiName"
|
|
198
|
+
}],
|
|
199
|
+
"text": ""
|
|
200
|
+
},
|
|
201
|
+
"attribute": "submit-change-button-text",
|
|
202
|
+
"reflect": false,
|
|
203
|
+
"defaultValue": "\"Submit Changes\""
|
|
204
|
+
},
|
|
130
205
|
"showCountry": {
|
|
131
206
|
"type": "boolean",
|
|
132
207
|
"mutable": false,
|
|
@@ -139,7 +214,7 @@ export class PortalProfile {
|
|
|
139
214
|
"optional": false,
|
|
140
215
|
"docs": {
|
|
141
216
|
"tags": [{
|
|
142
|
-
"text": "Show country field",
|
|
217
|
+
"text": "Show or hide country field",
|
|
143
218
|
"name": "uiName"
|
|
144
219
|
}],
|
|
145
220
|
"text": ""
|
|
@@ -153,7 +228,7 @@ export class PortalProfile {
|
|
|
153
228
|
"mutable": false,
|
|
154
229
|
"complexType": {
|
|
155
230
|
"original": "DemoData<PortalProfileViewProps>",
|
|
156
|
-
"resolved": "{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; }; }; }",
|
|
231
|
+
"resolved": "{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }",
|
|
157
232
|
"references": {
|
|
158
233
|
"DemoData": {
|
|
159
234
|
"location": "import",
|
|
@@ -196,13 +271,16 @@ function usePortalProfileDemo(props) {
|
|
|
196
271
|
firstName: "Joe",
|
|
197
272
|
lastName: "Smith",
|
|
198
273
|
email: "jsmith@gmail.com",
|
|
199
|
-
countryCode: "
|
|
274
|
+
countryCode: "CA",
|
|
200
275
|
},
|
|
201
276
|
text: {
|
|
202
277
|
firstnametext: "First Name",
|
|
203
278
|
lastnametext: "Last Name",
|
|
204
279
|
emailtext: "Email",
|
|
205
280
|
countrytext: "Country",
|
|
281
|
+
editProfileHeader: "Edit your profile",
|
|
282
|
+
editProfileSubHeader: "Personal Information",
|
|
283
|
+
submitChangeButtonText: "Submit Changes",
|
|
206
284
|
},
|
|
207
285
|
formState: {
|
|
208
286
|
country: "Canada",
|
|
@@ -133,6 +133,9 @@ export function usePortalProfile(props) {
|
|
|
133
133
|
lastnametext: props.lastnametext,
|
|
134
134
|
countrytext: props.countrytext,
|
|
135
135
|
emailtext: props.emailtext,
|
|
136
|
+
editProfileHeader: props.editProfileHeader,
|
|
137
|
+
editProfileSubHeader: props.editProfileSubHeader,
|
|
138
|
+
submitChangeButtonText: props.submitChangeButtonText,
|
|
136
139
|
},
|
|
137
140
|
},
|
|
138
141
|
callbacks: {
|
|
@@ -48,6 +48,7 @@ export function PortalRegisterView(props) {
|
|
|
48
48
|
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
49
49
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
50
50
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
51
|
+
content.formData,
|
|
51
52
|
!states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
|
|
52
53
|
if (!value) {
|
|
53
54
|
return "Cannot be empty";
|
|
@@ -62,15 +63,14 @@ export function PortalRegisterView(props) {
|
|
|
62
63
|
"Cannot be empty",
|
|
63
64
|
}
|
|
64
65
|
: [])))),
|
|
65
|
-
!states.hideInputs && (h("sqm-password-field", { "enable-validation": states.enablePasswordValidation })),
|
|
66
|
+
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "enable-validation": states.enablePasswordValidation })),
|
|
66
67
|
content.passwordField,
|
|
67
|
-
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label:
|
|
68
|
+
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.validationState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
68
69
|
class: sheet.classes.ErrorStyle,
|
|
69
70
|
helpText: ((_h = (_g = states.validationState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) ||
|
|
70
71
|
"Cannot be empty",
|
|
71
72
|
}
|
|
72
73
|
: [])))),
|
|
73
|
-
content.formData,
|
|
74
74
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
75
75
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
76
76
|
content.secondaryButton))));
|
|
@@ -30,6 +30,10 @@ export class PortalRegister {
|
|
|
30
30
|
* @uiName Label for login navigation button
|
|
31
31
|
*/
|
|
32
32
|
this.loginLabel = "Sign in";
|
|
33
|
+
/**
|
|
34
|
+
* @uiName Label for confirm password field
|
|
35
|
+
*/
|
|
36
|
+
this.confirmPasswordLabel = "Confirm Password";
|
|
33
37
|
/**
|
|
34
38
|
* @uiName Show confirm password field
|
|
35
39
|
*/
|
|
@@ -61,6 +65,7 @@ export class PortalRegister {
|
|
|
61
65
|
passwordLabel: this.passwordLabel,
|
|
62
66
|
submitLabel: this.submitLabel,
|
|
63
67
|
pageLabel: this.pageLabel,
|
|
68
|
+
confirmPasswordLabel: this.confirmPasswordLabel,
|
|
64
69
|
};
|
|
65
70
|
return (h(PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
66
71
|
}
|
|
@@ -172,6 +177,27 @@ export class PortalRegister {
|
|
|
172
177
|
"reflect": false,
|
|
173
178
|
"defaultValue": "\"Sign in\""
|
|
174
179
|
},
|
|
180
|
+
"confirmPasswordLabel": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "string",
|
|
185
|
+
"resolved": "string",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": false,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [{
|
|
192
|
+
"text": "Label for confirm password field",
|
|
193
|
+
"name": "uiName"
|
|
194
|
+
}],
|
|
195
|
+
"text": ""
|
|
196
|
+
},
|
|
197
|
+
"attribute": "confirm-password-label",
|
|
198
|
+
"reflect": false,
|
|
199
|
+
"defaultValue": "\"Confirm Password\""
|
|
200
|
+
},
|
|
175
201
|
"confirmPassword": {
|
|
176
202
|
"type": "boolean",
|
|
177
203
|
"mutable": false,
|
|
@@ -261,7 +287,7 @@ export class PortalRegister {
|
|
|
261
287
|
"mutable": false,
|
|
262
288
|
"complexType": {
|
|
263
289
|
"original": "DemoData<PortalRegisterViewProps>",
|
|
264
|
-
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; }; content?: { formData?: any; passwordField?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; refs?: { formRef: any; }; }",
|
|
290
|
+
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; }; content?: { formData?: any; passwordField?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; refs?: { formRef: any; }; }",
|
|
265
291
|
"references": {
|
|
266
292
|
"DemoData": {
|
|
267
293
|
"location": "import",
|
|
@@ -297,7 +323,7 @@ function useRegisterDemo(props) {
|
|
|
297
323
|
error: "",
|
|
298
324
|
loading: false,
|
|
299
325
|
confirmPassword: true,
|
|
300
|
-
hideInputs: false,
|
|
326
|
+
hideInputs: props.hideInputs || false,
|
|
301
327
|
customPasswordField: false,
|
|
302
328
|
},
|
|
303
329
|
callbacks: {
|
package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js
CHANGED
|
@@ -44,11 +44,11 @@ export function PortalResetPasswordView(props) {
|
|
|
44
44
|
if (states.reset) {
|
|
45
45
|
return (h("div", { class: `${sheet.classes.Wrapper} ${sheet.classes.Column}` },
|
|
46
46
|
h("style", { type: "text/css" }, styleString),
|
|
47
|
-
h(TextSpanView, { type: "h3" },
|
|
47
|
+
h(TextSpanView, { type: "h3" }, states.content.resetPasswordHeader),
|
|
48
48
|
h("sqm-form-message", { class: sheet.classes.CodeSuccess, exportparts: "success-icon" },
|
|
49
49
|
h("div", { part: "successalert-text" }, "Your password has been reset and you are being redirected. If you are not redirected, please click Continue.")),
|
|
50
50
|
h("div", null,
|
|
51
|
-
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" },
|
|
51
|
+
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.content.continueButtonText))));
|
|
52
52
|
}
|
|
53
53
|
if (states.oobCodeValidating) {
|
|
54
54
|
return h("div", null);
|
|
@@ -59,18 +59,22 @@ export function PortalResetPasswordView(props) {
|
|
|
59
59
|
h("sqm-form-message", { class: sheet.classes.CodeError, type: "error", exportparts: "erroralert-icon" },
|
|
60
60
|
h("div", { part: "erroralert-text" }, "The password reset code is invalid or has expired, please try again.")),
|
|
61
61
|
h("div", null,
|
|
62
|
-
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, exportparts: "base: primarybutton-base", type: "primary" },
|
|
62
|
+
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, exportparts: "base: primarybutton-base", type: "primary" }, states.content.continueButtonText))));
|
|
63
63
|
}
|
|
64
64
|
return (h("div", { class: sheet.classes.Wrapper },
|
|
65
65
|
h("style", { type: "text/css" },
|
|
66
66
|
vanillaStyle,
|
|
67
67
|
styleString),
|
|
68
|
-
h(TextSpanView, { type: "h2" }, states.reset
|
|
68
|
+
h(TextSpanView, { type: "h2" }, states.reset
|
|
69
|
+
? states.content.passwordResetHeader
|
|
70
|
+
: states.content.resetPasswordHeader),
|
|
69
71
|
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
70
72
|
props.states.error && (h("sqm-form-message", { type: "error", class: sheet.classes.Banner, exportparts: "erroralert-icon" },
|
|
71
73
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
72
74
|
!states.reset && (h("sqm-password-field", { demoData: states.passwordDemoData })),
|
|
73
|
-
!states.reset && states.confirmPassword && (h("sl-input", { exportparts: "label: input-label", type: "password", name: "/confirmPassword", label:
|
|
75
|
+
!states.reset && states.confirmPassword && (h("sl-input", { exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, disabled: states.loading, required: true })),
|
|
74
76
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
75
|
-
h("sl-button", { class: sheet.classes.ContinueButton, submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.reset
|
|
77
|
+
h("sl-button", { class: sheet.classes.ContinueButton, submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.reset
|
|
78
|
+
? states.content.continueButtonText
|
|
79
|
+
: states.content.resetPasswordButtonText)))));
|
|
76
80
|
}
|
|
@@ -18,6 +18,30 @@ export class PortalResetPassword {
|
|
|
18
18
|
* @uiName Show confirm password
|
|
19
19
|
*/
|
|
20
20
|
this.confirmPassword = false;
|
|
21
|
+
/**
|
|
22
|
+
* @uiName Password reset header text
|
|
23
|
+
*/
|
|
24
|
+
this.resetPasswordHeader = "Reset your password";
|
|
25
|
+
/**
|
|
26
|
+
* Displayed after a successful password reset
|
|
27
|
+
*
|
|
28
|
+
* @uiName Password reset header text
|
|
29
|
+
*/
|
|
30
|
+
this.passwordResetHeader = "Password reset";
|
|
31
|
+
/**
|
|
32
|
+
* @uiName Password reset button text
|
|
33
|
+
*/
|
|
34
|
+
this.resetPasswordButtonText = "Reset Password";
|
|
35
|
+
/**
|
|
36
|
+
* Displayed after a successful password reset
|
|
37
|
+
*
|
|
38
|
+
* @uiName Continue button text
|
|
39
|
+
*/
|
|
40
|
+
this.continueButtonText = "Continue";
|
|
41
|
+
/**
|
|
42
|
+
* @uiName Confirm password field label
|
|
43
|
+
*/
|
|
44
|
+
this.confirmPasswordFieldLabel = "Confirm Password";
|
|
21
45
|
withHooks(this);
|
|
22
46
|
}
|
|
23
47
|
disconnectedCallback() { }
|
|
@@ -72,12 +96,117 @@ export class PortalResetPassword {
|
|
|
72
96
|
"reflect": false,
|
|
73
97
|
"defaultValue": "false"
|
|
74
98
|
},
|
|
99
|
+
"resetPasswordHeader": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"mutable": false,
|
|
102
|
+
"complexType": {
|
|
103
|
+
"original": "string",
|
|
104
|
+
"resolved": "string",
|
|
105
|
+
"references": {}
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"optional": false,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [{
|
|
111
|
+
"text": "Password reset header text",
|
|
112
|
+
"name": "uiName"
|
|
113
|
+
}],
|
|
114
|
+
"text": ""
|
|
115
|
+
},
|
|
116
|
+
"attribute": "reset-password-header",
|
|
117
|
+
"reflect": false,
|
|
118
|
+
"defaultValue": "\"Reset your password\""
|
|
119
|
+
},
|
|
120
|
+
"passwordResetHeader": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "string",
|
|
125
|
+
"resolved": "string",
|
|
126
|
+
"references": {}
|
|
127
|
+
},
|
|
128
|
+
"required": false,
|
|
129
|
+
"optional": false,
|
|
130
|
+
"docs": {
|
|
131
|
+
"tags": [{
|
|
132
|
+
"text": "Password reset header text",
|
|
133
|
+
"name": "uiName"
|
|
134
|
+
}],
|
|
135
|
+
"text": "Displayed after a successful password reset"
|
|
136
|
+
},
|
|
137
|
+
"attribute": "password-reset-header",
|
|
138
|
+
"reflect": false,
|
|
139
|
+
"defaultValue": "\"Password reset\""
|
|
140
|
+
},
|
|
141
|
+
"resetPasswordButtonText": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"mutable": false,
|
|
144
|
+
"complexType": {
|
|
145
|
+
"original": "string",
|
|
146
|
+
"resolved": "string",
|
|
147
|
+
"references": {}
|
|
148
|
+
},
|
|
149
|
+
"required": false,
|
|
150
|
+
"optional": false,
|
|
151
|
+
"docs": {
|
|
152
|
+
"tags": [{
|
|
153
|
+
"text": "Password reset button text",
|
|
154
|
+
"name": "uiName"
|
|
155
|
+
}],
|
|
156
|
+
"text": ""
|
|
157
|
+
},
|
|
158
|
+
"attribute": "reset-password-button-text",
|
|
159
|
+
"reflect": false,
|
|
160
|
+
"defaultValue": "\"Reset Password\""
|
|
161
|
+
},
|
|
162
|
+
"continueButtonText": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "string",
|
|
167
|
+
"resolved": "string",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": false,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [{
|
|
174
|
+
"text": "Continue button text",
|
|
175
|
+
"name": "uiName"
|
|
176
|
+
}],
|
|
177
|
+
"text": "Displayed after a successful password reset"
|
|
178
|
+
},
|
|
179
|
+
"attribute": "continue-button-text",
|
|
180
|
+
"reflect": false,
|
|
181
|
+
"defaultValue": "\"Continue\""
|
|
182
|
+
},
|
|
183
|
+
"confirmPasswordFieldLabel": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"mutable": false,
|
|
186
|
+
"complexType": {
|
|
187
|
+
"original": "string",
|
|
188
|
+
"resolved": "string",
|
|
189
|
+
"references": {}
|
|
190
|
+
},
|
|
191
|
+
"required": false,
|
|
192
|
+
"optional": false,
|
|
193
|
+
"docs": {
|
|
194
|
+
"tags": [{
|
|
195
|
+
"text": "Confirm password field label",
|
|
196
|
+
"name": "uiName"
|
|
197
|
+
}],
|
|
198
|
+
"text": ""
|
|
199
|
+
},
|
|
200
|
+
"attribute": "confirm-password-field-label",
|
|
201
|
+
"reflect": false,
|
|
202
|
+
"defaultValue": "\"Confirm Password\""
|
|
203
|
+
},
|
|
75
204
|
"demoData": {
|
|
76
205
|
"type": "unknown",
|
|
77
206
|
"mutable": false,
|
|
78
207
|
"complexType": {
|
|
79
208
|
"original": "DemoData<PortalResetPasswordViewProps>",
|
|
80
|
-
"resolved": "{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; }; }",
|
|
209
|
+
"resolved": "{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; }; }; }",
|
|
81
210
|
"references": {
|
|
82
211
|
"DemoData": {
|
|
83
212
|
"location": "import",
|
|
@@ -116,6 +245,13 @@ function usePortalResetPasswordDemo(props) {
|
|
|
116
245
|
confirmPassword: true,
|
|
117
246
|
oobCodeValidating: false,
|
|
118
247
|
oobCodeValid: true,
|
|
248
|
+
content: {
|
|
249
|
+
passwordResetHeader: "Password reset",
|
|
250
|
+
resetPasswordHeader: "Reset your password",
|
|
251
|
+
continueButtonText: "Continue",
|
|
252
|
+
resetPasswordButtonText: "Reset Password",
|
|
253
|
+
confirmPasswordFieldLabel: "Confirm Password",
|
|
254
|
+
},
|
|
119
255
|
},
|
|
120
256
|
callbacks: {
|
|
121
257
|
submit: async (_event) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import jsonpointer from "jsonpointer";
|
|
2
2
|
import { useEffect, useState } from "@saasquatch/universal-hooks";
|
|
3
3
|
import { navigation, useVerifyPasswordResetCodeMutation, useResetPasswordMutation, } from "@saasquatch/component-boilerplate";
|
|
4
|
-
export function usePortalResetPassword(
|
|
4
|
+
export function usePortalResetPassword(props) {
|
|
5
5
|
var _a, _b, _c, _d, _e, _f;
|
|
6
6
|
const [reset, setReset] = useState(false);
|
|
7
7
|
const [error, setError] = useState("");
|
|
@@ -27,7 +27,7 @@ export function usePortalResetPassword({ nextPage, confirmPassword, }) {
|
|
|
27
27
|
const gotoNextPage = () => {
|
|
28
28
|
urlParams.delete("nextPage");
|
|
29
29
|
navigation.push({
|
|
30
|
-
pathname: nextPageOverride || nextPage,
|
|
30
|
+
pathname: nextPageOverride || props.nextPage,
|
|
31
31
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
32
32
|
});
|
|
33
33
|
};
|
|
@@ -59,10 +59,17 @@ export function usePortalResetPassword({ nextPage, confirmPassword, }) {
|
|
|
59
59
|
states: {
|
|
60
60
|
loading: resetPasswordState.loading,
|
|
61
61
|
reset,
|
|
62
|
-
confirmPassword,
|
|
62
|
+
confirmPassword: props.confirmPassword,
|
|
63
63
|
error: ((_e = (_d = (_c = (_b = resetPasswordState.errors) === null || _b === void 0 ? void 0 : _b.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.message) || error,
|
|
64
64
|
oobCodeValidating: verifyPasswordResetCodeState.loading,
|
|
65
65
|
oobCodeValid: (_f = verifyPasswordResetCodeState.data) === null || _f === void 0 ? void 0 : _f.verifyManagedIdentityPasswordResetCode.success,
|
|
66
|
+
content: {
|
|
67
|
+
passwordResetHeader: props.passwordResetHeader,
|
|
68
|
+
resetPasswordHeader: props.resetPasswordHeader,
|
|
69
|
+
continueButtonText: props.continueButtonText,
|
|
70
|
+
resetPasswordButtonText: props.resetPasswordButtonText,
|
|
71
|
+
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
72
|
+
},
|
|
66
73
|
},
|
|
67
74
|
callbacks: { submit, failed, gotoNextPage },
|
|
68
75
|
};
|
|
@@ -18,12 +18,6 @@ export class ProgramMenu {
|
|
|
18
18
|
h("slot", null))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "sqm-program-menu"; }
|
|
21
|
-
static get originalStyleUrls() { return {
|
|
22
|
-
"$": ["sqm-program-menu.scss"]
|
|
23
|
-
}; }
|
|
24
|
-
static get styleUrls() { return {
|
|
25
|
-
"$": ["sqm-program-menu.css"]
|
|
26
|
-
}; }
|
|
27
21
|
static get states() { return {
|
|
28
22
|
"ignored": {}
|
|
29
23
|
}; }
|
|
@@ -33,6 +33,11 @@ import * as ReferralTableCell from "../../stories/ReferralTableCell.stories";
|
|
|
33
33
|
import * as ReferralTableRewardsCell from "../../stories/ReferralTableRewardsCell.stories";
|
|
34
34
|
import * as UserName from "../../stories/UserName.stories";
|
|
35
35
|
import * as PasswordField from "../../stories/PasswordField.stories";
|
|
36
|
+
import * as PortalTemplates from "../../stories/PortalTemplates.stories";
|
|
37
|
+
import * as ProgramMenu from "../../stories/ProgramMenu.stories";
|
|
38
|
+
import * as PoweredByImg from "../../stories/PoweredByImg.stories";
|
|
39
|
+
import * as PortalFooter from "../../stories/PortalFooter.stories";
|
|
40
|
+
import * as Hero from "../../stories/Hero.stories";
|
|
36
41
|
import { CucumberAddon } from "./CucumberAddon";
|
|
37
42
|
import { HookStoryAddon } from "./HookStoryAddon";
|
|
38
43
|
import { ShadowViewAddon } from "../../ShadowViewAddon";
|
|
@@ -69,6 +74,11 @@ const stories = [
|
|
|
69
74
|
ReferralTableRewardsCell,
|
|
70
75
|
UserName,
|
|
71
76
|
PasswordField,
|
|
77
|
+
PortalTemplates,
|
|
78
|
+
ProgramMenu,
|
|
79
|
+
PoweredByImg,
|
|
80
|
+
PortalFooter,
|
|
81
|
+
Hero
|
|
72
82
|
];
|
|
73
83
|
/**
|
|
74
84
|
* For internal documentation
|