@saasquatch/mint-components 1.6.2-32 → 1.6.2-33

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 (86) hide show
  1. package/CHANGELOG.md +550 -0
  2. package/dist/cjs/{ShadowViewAddon-538d212c.js → ShadowViewAddon-c446e928.js} +5 -1
  3. package/dist/cjs/{global-d275ff17.js → global-12e64346.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/mint-components.cjs.js +1 -1
  6. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +2 -2
  7. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  8. package/dist/cjs/{sqm-portal-email-verification-view-8a73314a.js → sqm-portal-email-verification-view-8af9f355.js} +1 -1
  9. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  10. package/dist/cjs/{sqm-portal-footer-view-8235e651.js → sqm-portal-footer-view-f40940ad.js} +1 -1
  11. package/dist/cjs/sqm-portal-footer.cjs.entry.js +2 -2
  12. package/dist/cjs/{sqm-portal-profile-view-8081c6f3.js → sqm-portal-profile-view-e5998591.js} +1 -1
  13. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
  16. package/dist/cjs/sqm-stencilbook.cjs.entry.js +6 -6
  17. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +4 -0
  18. package/dist/collection/global/styles.js +1 -1
  19. package/dist/collection/global/styles.ts +1 -1
  20. package/dist/esm/{ShadowViewAddon-90188b6c.js → ShadowViewAddon-6d68e61a.js} +5 -1
  21. package/dist/esm/{global-208fb110.js → global-2d53ce16.js} +1 -1
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/esm/mint-components.js +1 -1
  24. package/dist/esm/sqm-big-stat_35.entry.js +2 -2
  25. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  26. package/dist/esm/{sqm-portal-email-verification-view-c108abdc.js → sqm-portal-email-verification-view-c9bf4915.js} +1 -1
  27. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  28. package/dist/esm/{sqm-portal-footer-view-14670afa.js → sqm-portal-footer-view-6b62b435.js} +1 -1
  29. package/dist/esm/sqm-portal-footer.entry.js +2 -2
  30. package/dist/esm/{sqm-portal-profile-view-7dc973ee.js → sqm-portal-profile-view-d81c99eb.js} +1 -1
  31. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  32. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  33. package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
  34. package/dist/esm/sqm-stencilbook.entry.js +6 -6
  35. package/dist/esm-es5/ShadowViewAddon-6d68e61a.js +1 -0
  36. package/dist/esm-es5/{global-208fb110.js → global-2d53ce16.js} +1 -1
  37. package/dist/esm-es5/loader.js +1 -1
  38. package/dist/esm-es5/mint-components.js +1 -1
  39. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  40. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  41. package/dist/esm-es5/{sqm-portal-email-verification-view-c108abdc.js → sqm-portal-email-verification-view-c9bf4915.js} +1 -1
  42. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  43. package/dist/esm-es5/{sqm-portal-footer-view-14670afa.js → sqm-portal-footer-view-6b62b435.js} +1 -1
  44. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  45. package/dist/esm-es5/{sqm-portal-profile-view-7dc973ee.js → sqm-portal-profile-view-d81c99eb.js} +1 -1
  46. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  47. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  48. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  49. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  50. package/dist/mint-components/global/styles.ts +1 -1
  51. package/dist/mint-components/mint-components.esm.js +1 -1
  52. package/dist/mint-components/mint-components.js +1 -1
  53. package/dist/mint-components/{p-205255d4.system.entry.js → p-0a2bce62.system.entry.js} +1 -1
  54. package/dist/mint-components/{p-30ab6943.system.entry.js → p-1938d66f.system.entry.js} +1 -1
  55. package/dist/mint-components/{p-933b0387.entry.js → p-2411589c.entry.js} +2 -2
  56. package/dist/mint-components/{p-6bf5f543.system.js → p-299e1993.system.js} +1 -1
  57. package/dist/mint-components/{p-756260eb.js → p-30b90cbf.js} +1 -1
  58. package/dist/mint-components/{p-f1a6a830.entry.js → p-3644d6d0.entry.js} +1 -1
  59. package/dist/mint-components/{p-2ecd47bc.system.entry.js → p-512dfcf4.system.entry.js} +1 -1
  60. package/dist/mint-components/{p-1635be27.entry.js → p-5656b8ae.entry.js} +1 -1
  61. package/dist/mint-components/{p-56b9639a.entry.js → p-5ee5e7a8.entry.js} +1 -1
  62. package/dist/mint-components/{p-c3588f99.js → p-6029249e.js} +1 -1
  63. package/dist/mint-components/p-6129ae9e.system.js +1 -0
  64. package/dist/mint-components/{p-a9b43086.entry.js → p-6b643128.entry.js} +1 -1
  65. package/dist/mint-components/{p-9e33b802.system.js → p-6b7e68eb.system.js} +1 -1
  66. package/dist/mint-components/{p-81fa0ec3.system.js → p-70d9ab34.system.js} +1 -1
  67. package/dist/mint-components/{p-b816fa78.js → p-71621a16.js} +1 -1
  68. package/dist/mint-components/{p-72bbe832.js → p-730c68cb.js} +1 -1
  69. package/dist/mint-components/{p-932ff1cd.entry.js → p-8be217ba.entry.js} +1 -1
  70. package/dist/mint-components/{p-fb329bb2.system.entry.js → p-a6512084.system.entry.js} +1 -1
  71. package/dist/mint-components/{p-50b27fbd.system.entry.js → p-c5f964fe.system.entry.js} +1 -1
  72. package/dist/mint-components/{p-c89549cc.system.js → p-c673a18d.system.js} +1 -1
  73. package/dist/mint-components/{p-29b9d025.system.entry.js → p-d1120af1.system.entry.js} +1 -1
  74. package/dist/mint-components/{p-d00105d1.entry.js → p-d360ded5.entry.js} +1 -1
  75. package/dist/mint-components/{p-0383ab98.system.entry.js → p-dc4a6915.system.entry.js} +1 -1
  76. package/dist/mint-components/{p-60d3eb09.js → p-e1d417f0.js} +1 -1
  77. package/dist/mint-components/{p-974735e8.entry.js → p-e2be1c03.entry.js} +1 -1
  78. package/dist/mint-components/{p-fefcae33.system.entry.js → p-efcf6de8.system.entry.js} +1 -1
  79. package/dist/mint-components/{p-7f1768be.system.js → p-f2473b87.system.js} +1 -1
  80. package/dist/types/global/styles.d.ts +1 -1
  81. package/docs/docs.docx +0 -0
  82. package/package.json +1 -1
  83. package/dist/esm-es5/ShadowViewAddon-90188b6c.js +0 -1
  84. package/dist/mint-components/p-b8844805.system.js +0 -1
  85. package/docs/grapesjs.js +0 -54
  86. package/docs/stats.json +0 -39222
package/CHANGELOG.md ADDED
@@ -0,0 +1,550 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.6.2] - 2022-07-11
11
+
12
+ ### Added
13
+
14
+ - `<sqm-portal-registration-form>` component added to handle registration form submissions
15
+
16
+ ### Changed
17
+
18
+ - replaced useValidationState with useRegistrationFormState for `<sqm-portal-registration-form>` and `<sqm-portal-register>`
19
+ - useRegistrationFormState allows passing loading, disabled, and initialData states in addition to validationErrors and network errors
20
+ - implemented useRegistrationFormState in the registration form slotted components
21
+ - `<sqm-password-field>`
22
+ - `<sqm-name-fields>`
23
+ - `<sqm-input-field>`
24
+ - `<sqm-dropdown-field>`
25
+ - `<sqm-checkbox-field>`
26
+
27
+ ### Breaking Changes
28
+
29
+ - `showCountry` prop with `true` default replaced with `hideCountry` prop with `false` default for `<sqm-portal-profile>`
30
+ - `enableValidation` prop with `true` default replaced with `disableValidation` prop with `false` default for `<sqm-password-field>`
31
+ - `showPoweredBy` prop with `true` default replaced with `hidePoweredBy` prop with `false` default for `<sqm-portal-footer>`
32
+ - `enablePasswordValidation` prop with `true` default replaced with `disablePasswordValidation` prop with `false` default for `<sqm-portal-register>`
33
+ - `enablePasswordValidation` prop with `true` default replaced with `disablePasswordValidation` prop with `false` default for `<sqm-portal-registration-form>`
34
+
35
+ ## [1.6.1] - 2022-06-09
36
+
37
+ ### Changed
38
+
39
+ - Removed brand color application to `<a>` tags
40
+ - Update templates to portal templates to remove `<sqm-graphql-provider>`
41
+ - Update Referral, Loyalty and Mono widget templates for SSW launch
42
+ - Added [jsDocs](https://jsdoc.app/) to the following components to improve the editability experience in our new Raisins widget editor.
43
+ - Changed components:
44
+ - \<sqm-big-stat>
45
+ - \<sqm-brand>
46
+ - \<sqm-card-feed>
47
+ - \<sqm-divided-layout>
48
+ - \<sqm-empty>
49
+ - \<sqm-hero>
50
+ - \<sqm-hero-image>
51
+ - \<sqm-image>
52
+ - \<sqm-leaderboard>
53
+ - \<sqm-leaderboard-rank>
54
+ - \<sqm-popup-container>
55
+ - \<sqm-portal-container>
56
+ - \<sqm-portal-footer>
57
+ - \<sqm-program-explainer>
58
+ - \<sqm-program-explainer-step>
59
+ - \<sqm-referral-card>
60
+ - \<sqm-referral-table>
61
+ - \<sqm-referral-table-date-column>
62
+ - \<sqm-referral-table-rewards-column>
63
+ - \<sqm-referral-table-status-column>
64
+ - \<sqm-referral-table-user-column>
65
+ - \<sqm-reward-exchange-list>
66
+ - \<sqm-rewards-table>
67
+ - \<sqm-rewards-table-date-column>
68
+ - \<sqm-rewards-table-note-column>
69
+ - \<sqm-rewards-table-source-column>
70
+ - \<sqm-rewards-table-status-column>
71
+ - \<sqm-route>
72
+ - \<sqm-router>
73
+ - \<sqm-scroll>
74
+ - \<sqm-share-button>
75
+ - \<sqm-share-code>
76
+ - \<sqm-share-link>
77
+ - \<sqm-stat-container>
78
+ - \<sqm-tab>
79
+ - \<sqm-table-cell>
80
+ - \<sqm-table-row>
81
+ - \<sqm-tabs>
82
+ - \<sqm-task-card>
83
+ - \<sqm-text>
84
+ - \<sqm-timeline>
85
+ - \<sqm-timeline-entry>
86
+ - \<sqm-titled-section>
87
+ - \<sqm-user-name>
88
+
89
+ ## Breaking Changes
90
+
91
+ - `showLabels` props with `true` default replaced with `hideLabels` prop with `false` default for `<sqm-referral-table>` and `<sqm-rewards-table>`
92
+
93
+ ## [1.6.0] - 2022-05-09
94
+
95
+ ### Changed
96
+
97
+ - Update portal components to use managed identity v2 error responses
98
+ - \<sqm-portal-forgot-password>
99
+ - clear success message on re-send
100
+ - \<sqm-portal-email-verification>
101
+ - clear success message on re-send
102
+ - \<sqm-portal-reset-password>
103
+ - handle network failure of reset password mutation
104
+
105
+ ## [1.5.5] - 2022-04-21
106
+
107
+ - Fixed grapesJs from build by removing window.location.origin from stencil build file
108
+ - Grapes was broken in the previous build
109
+
110
+ ## [1.5.4] - 2022-04-13
111
+
112
+ ### Changed
113
+
114
+ - Changed Component:
115
+ - /<sqm-leaderboard>
116
+ - Now supports a top point earners leaderboard, `topPointEarners`
117
+ - Added a `programId` prop to overwride program context
118
+ - If an empty string is passed, then a global leaderboard is displayed
119
+ - Max number of leaderboard rows displayed is now configurable via prop but defaults to 10
120
+ - /<sqm-leaderboard-rank>
121
+ - Now supports rank from top point earners leaderboard
122
+ - Added a `programId` prop to overwride program context
123
+ - If an empty string is passed, then a global leaderboard rank is displayed
124
+ - /<sqm-reward-exchange-list>
125
+ - Updated `not-available-error` default value to fix issue with error message fallback in ICU message
126
+
127
+ ## [1.5.3] - 2022-03-31
128
+
129
+ ### Added
130
+
131
+ - Input component added for use in \<sqm-portal-register>
132
+ - Added Component:
133
+ - \<sqm-input-field>
134
+ - Required by default but can be optional with the `field-optional` prop
135
+ - Field label and error message are configurable by prop
136
+ - Best used in `formData` slot inside \<sqm-portal-register>
137
+ - Form field name can be customized with the `field-name` prop
138
+ - `field-name` must be a unique string and is submitted as the key to the value submitted
139
+ - For example, with `field-name` set to `businessName` the result is `{"businessName":"SaaSquatch"}`
140
+ - An error is displayed if `field-name` prop is not included
141
+ - Input type can be customized with the `field-type` prop
142
+ - Supports `text`, `tel`, and `date` as types
143
+
144
+ ### Changed
145
+
146
+ - Changed Components:
147
+ - \<sqm-dropdown-field>
148
+ - An error is now displayed if `dropdown-name` prop is not included
149
+ - `dropdown-required` prop deprecated, must use `dropdown-optional` instead
150
+ - Field is still required by default
151
+ - \<sqm-checkbox-field>
152
+ - Error is now displayed if `checkbox-name` prop is not included
153
+ - `checkbox-required` prop deprecated, must use `checkbox-optional` instead
154
+ - Field is still required by default
155
+ - \<sqm-referral-iframe>
156
+ - Updated fail fast state text
157
+
158
+ ## [1.5.2] - 2022-03-08
159
+
160
+ ### Changed
161
+
162
+ - Changed Components:
163
+ - \<sqm-portal-login>
164
+ - Enforce that nextPage redirects are relative
165
+ - \<sqm-portal-reset-password>
166
+ - Enforce that nextPage redirects are relative
167
+ - \<sqm-portal-verify-email>
168
+ - Enforce that nextPage redirects are relative
169
+
170
+ ## [1.5.1] - 2022-03-03
171
+
172
+ ### Added
173
+
174
+ - Checkbox and dropdown components added for use in \<sqm-portal-register>
175
+
176
+ - Added Components:
177
+
178
+ - \<sqm-checkbox-field>
179
+ - Required by default but can be optional
180
+ - Allows for a link in checkbox text to support behaviour like linking out to terms and conditions
181
+ - All text is configurable by prop
182
+ - Best used in the register components `terms` or `formData` slots
183
+ - Form field name can be customized with the `checkbox-name` prop
184
+ - \<sqm-dropdown-field>
185
+ - Required by default but can be optional
186
+ - Dropdown options are \<sl-menu-items>
187
+ - All text is configurable by prop
188
+ - Best used in the register components `formData` slot
189
+ - Form field name can be customized with the `dropdown-name` prop
190
+
191
+ ## [1.5.0] - 2022-02-23
192
+
193
+ ### Added
194
+
195
+ - Added Components:
196
+
197
+ - \<sqm-brand>
198
+ - Takes in a brand colour via prop and creates a colour palette from it.
199
+ - Sets shoelace colour variables from brand palette for child components
200
+ - Takes in a brand font and applies it to child components
201
+ - \<sqm-card-feed>
202
+ - Applies a masonry style grid to child components (created for sqm-task-card)
203
+ - Child width and gap between children is configurable
204
+ - \<sqm-program-explainer>
205
+ - Designed to wrap \<sqm-program-explainer-step>
206
+ - Adds header and footer sections
207
+ - Text (titles and descriptions) and colours (background and text) are configurable
208
+ - \<sqm-program-explainer-step>
209
+ - Card to explain part of a customers program
210
+ - Icon, background colour, text colour, title and description text are configurable
211
+ - Image can be used instead of an icon, image url is configurable by prop
212
+ - \<sqm-reward-exchange-list>
213
+ - Allows users to exchange rewards configured by Tenant level reward exchange rules
214
+ - Includes props for complete text editability
215
+ - Has a 4 step process, select exchange rule, select reward, confirm exchange, exchanged
216
+ - \<sqm-rewards-table>
217
+ - Displays a table of users rewards with help from column and cell components
218
+ - Program Id prop specifies from which programs to show rewards for, defaults to program context but shows rewards globally if no program is provided through prop or context
219
+ - Column titles are shown by default but can be hidden via prop
220
+ - 4 rewards are shown per page by default but is customizable via prop
221
+ - Mobile responsive functionality
222
+ - Includes props for mobile and table breakpoints, which trigger mobile friendly views
223
+ - Includes prop to hide column titles in mobile view
224
+ - \<sqm-rewards-table-date-column>
225
+ - Displays reward dates in a column using the \<sqm-rewards-table-date-cell>
226
+ - Includes prop to configure what date to show (date given, expires, canceled, redeemed, scheduled for)
227
+ - Includes prop to configure column title text
228
+ - \<sqm-rewards-table-date-cell>
229
+ - Displays reward date
230
+ - \<sqm-rewards-table-reward-column>
231
+ - Displays rewards in a column using the \<sqm-rewards-table-rewards-cell>
232
+ - Includes prop to configure column title and other text
233
+ - \<sqm-rewards-table-rewards-cell>
234
+ - Displays the amount and type of a reward
235
+ - Displays how much of the reward is available/redeemed
236
+ - \<sqm-rewards-table-source-column>
237
+ - Displays reward sources in a column using the \<sqm-rewards-table-source-cell>
238
+ - Includes props to configure text elements used in the source cell
239
+ - Includes prop to configure column title
240
+ - \<sqm-rewards-table-source-cell>
241
+ - Displays the source of a reward (Program/Automated, Manual, Referral, Reward Exchange)
242
+ - \<sqm-rewards-table-status-column>
243
+ - Displays reward statuses in a column using the \<sqm-rewards-table-status-cell>
244
+ - Includes props to configure reward status text
245
+ - Includes prop to configure column title
246
+ - Displays associated status dates (date expires, date pending, etc)
247
+ - \<sqm-rewards-table-status-cell>
248
+ - Displays the status of a reward along with status information (expiry or pending date, etc)
249
+ - \<sqm-rewards-table-customer-note-column>
250
+ - Includes prop to configure column title
251
+ - Displays a rewards customer note using the \<sqm-rewards-table-customer-note-cell>
252
+ - \<sqm-rewards-table-customer-note-cell>
253
+ - Displays a rewards customer note
254
+ - \<sqm-task-card>
255
+ - Displays Tasks which correspond to program goals for users to complete
256
+ - Tasks can be one time, repeatable, or finite repeatable, configurable by prop
257
+ - Users progress comes from custom field or program goal, configured by prop
258
+ - Goal value is configurable by prop
259
+ - Includes prop to disable cards outside of an activities duration and show an expiry during, default is no duration (always available)
260
+ - Includes prop to hide cards outside of an activities duration, default is no duration (always displayed)
261
+ - Includes props for text configuration like card title, reward amount/unit, description, CTA button text
262
+ - Includes CTA button to redirect users to where they need to complete the task (new tab or existing tab), route is configurable via prop
263
+ - CTA link can open in a new tab or redirect on the current tab, configurable by prop
264
+ - Can send an event to SSQT and refresh the widget when a user clicks the CTA, event is configurable via prop
265
+ - Progress bar is hidden or shown by prop, hidden by default
266
+ - Includes text showing how many times a user has completed a task if repeatable, text is configurable
267
+ - \<sqm-timeline>
268
+ - Wraps several \<sqm-timeline-entry> to create a program timeline
269
+ - Includes prop to select between a brand colour cirle or gift icon for each entry
270
+ - Links entry's together with a brand colour line
271
+ - \<sqm-timeline-entry>
272
+ - Displays a step of a program
273
+ - Configurable text props for reward, unit, description and icon
274
+ - \<sqm-empty>
275
+ - A reusable empty state component to be slotted into parent components like our tables, leaderboard or reward exchange
276
+ - Includes props to configured image, heading and description
277
+ - Uses `empty` slot
278
+ - \<sqm-tabs>
279
+ - Wraps \<sqm-tab> components to create a collection of tabs
280
+ - Similar to shoelace tabs
281
+ - Placement can be configured to be left, right, bottom, top
282
+ - Pulls headers from child \<sqm-tab> and displays them
283
+ - \<sqm-tab>
284
+ - Wraps a slotted content to be a member of the \<sqm-tabs> component
285
+ - Has a header prop to configure the label displayed by \<sqm-tabs>
286
+ - \<sqm-referral-card>
287
+ - Takes two slots and displays them within a card
288
+ - Slots are named `left` and `right`
289
+ - Vertical alignment can be configured by a prop, defaults to `start` but options for `center` and `end` also available
290
+ - \<sqm-image>
291
+ - Displays an image configured with an `imageUrl` prop
292
+ - Aligned can be `left`, `center` or `right`, defaults to `center` but is configurable by prop
293
+ - A min height can be configured by prop
294
+ - A background colour can be configured by prop
295
+ - \<sqm-hero-image>
296
+ - Displays image and text in two configuration
297
+ - Overlay or column, defaults to overlay
298
+ - Background and text colour are configurable via prop
299
+ - A CTA button can be optionally shown
300
+ - Text, link and behaviour (open in new or same tab) are configurable via prop
301
+ - All text is configurable by props
302
+ - Text and Image padding are configurable via prop
303
+ - \<sqm-scroll>
304
+ - A button that scrolls users to an element in the widget
305
+ - Can scroll by id or tag
306
+ - Visual props mirror that of sl-button
307
+
308
+ ### Changed
309
+
310
+ - Changed Components:
311
+ - \<sqm-big-stat>
312
+ - Added hook functionality to query custom fields
313
+ - Hooks now returns value (number) and statValue (string)
314
+ - Added loading state into the hook
315
+ - \<sqm-leaderboard>
316
+ - Now the viewing user is shown by default, can be disabled via prop
317
+ - If they are in the leaderboard they are highlighted, else they are displayed below the top 10
318
+ - Updated default empty state
319
+ - Added prop to customized anonymous user fallback
320
+ - \<sqm-portal-container>
321
+ - Added max width prop, defaults to 100%
322
+ - Added prop to center children
323
+ - Added display prop, options are grid or flex but defaults to grid
324
+ - \<sqm-referral-table>
325
+ - Added new default empty state
326
+ - Changed default per page value from 3 to 4
327
+ - Added mobile and tablet responsive functionality
328
+ - Added props for mobile and table breakpoints, which trigger mobile friendly views
329
+ - Added prop to hide column titles in mobile view
330
+ - \<sqm-share-button>
331
+ - Added default button colours and icons for all share mediums
332
+ - Added border radius prop
333
+ - Added background colour prop
334
+ - Added text colour prop
335
+ - \<sqm-share-code>
336
+ - Sends a "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT" analytic with "DIRECT" share medium event on copy code click
337
+ - \<sqm-share-link>
338
+ - Sends a "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT" analytic with "DIRECT" share medium event on copy link click
339
+ - \<sqm-titled-section>
340
+ - Added prop to configure text alignment, left, center or right, defaults to left
341
+ - \<sqm-hero>
342
+ - Added default background colour which matches the previous `--sqm-portal-background` colour
343
+ - \<sqm-text>
344
+ - Added styling for subtitle (`sub`) elements
345
+
346
+ ## [1.4.2] - 2022-01-14
347
+
348
+ ### Changed
349
+
350
+ - Added ability to include slotted content on \<sqm-portal-register> using `slot="terms"`
351
+ - Slotted content is displayed above the registration button
352
+
353
+ ## [1.4.1] - 2021-01-17
354
+
355
+ ### Fixed
356
+
357
+ - Fixed broken WhatsApp icon by updating the version of bootstrap icons from 1.2.0 to 1.7.2
358
+
359
+ ## [1.4.0] - 2021-12-09
360
+
361
+ ### Changed
362
+
363
+ - Updated version of component-boilerplate to prevent rare case of user context being deleted during register
364
+ - Updated version of component-boilerplate to support new registration, password reset, and verify requests
365
+ - Changed components:
366
+ - \<sqm-portal-email-verification>
367
+ - Added prop to customize what page a user is redirected to from their verify email, defaults to /verifyEmail
368
+ - \<sqm-portal-forgot-password>
369
+ - Added prop to customize what page a user is redirected to from their password reset email, defaults to /resetPassword
370
+ - Added prop to customize the login button redirection path, defaults to /login
371
+ - \<sqm-portal-login>
372
+ - Added prop to customize the register button redirection path, defaults to /register
373
+ - Added prop to customize the forgot password text link redirection path, defaults to /forgotPassword
374
+ - \<sqm-portal-register>
375
+ - Added prop to customize the login button redirection path, defaults to /login
376
+ - Added prop to customize what page a user is redirect to from their initial verify email, defaults to /verifyEmail
377
+ - \<sqm-portal-reset-password>
378
+ - Added prop to customize what path users are redirected to when oobcode validation fails, defaults to /
379
+ - \<sqm-portal-verify-email>
380
+ - Added prop to customize what path users are redirected to when oobcode validation fails, defaults to /
381
+ - \<sqm-big-stat>
382
+ - Added program ID prop to optionally be used instead of the default program context
383
+
384
+ ## [1.3.0] - 2021-11-08
385
+
386
+ ### Changed
387
+
388
+ - Changed components:
389
+ - \<sqm-share-button>
390
+ - Exported "icon" part so it can be customizable in the future
391
+ - \<sqm-portal-change-password>
392
+ - Changed sl-button in modal to be of type "primary" instead of "default"
393
+ - Swapped location of cancel and change password buttons
394
+ - Added padding between fields
395
+ - Changed hardcoded text into customizable props
396
+ - Changed password field input default label to "New Password"
397
+ - \<sqm-portal-profile>
398
+ - Changed hardcoded text into customizable props
399
+ - Added padding text below header
400
+ - \<sqm-portal-reset-password>
401
+ - Changed hardcoded text into customizable props
402
+ - Changed password field input default label to "New Password"
403
+ - \<sqm-portal-register>
404
+ - Changed hardcoded text into customizable props
405
+ - Changed formData slot to add custom inputs to the top of form instead of the bottom
406
+ - Fixed bug causing the correct error validation message from being shown
407
+ - \<sqm-portal-email-verification>
408
+ - Changed hardcoded text into customizable props
409
+ - \<sqm-portal-verify-email>
410
+ - Fixed bug causing users to get stuck if no userIdent existed when verifying their email
411
+
412
+ ### Added
413
+
414
+ - Default affiliate portal templates now provided in [Stencilbook](https://mint-components.stencilbook.saasquat.ch)
415
+ - Default Portal
416
+ - Multi Program Portal
417
+ - Lead Submit Portal
418
+ - Portal Dashboard (program widget)
419
+ - New components added for default affiliate portals
420
+ - \<sqm-portal-footer> Footer for providing FAQ, T&S, and support email
421
+ - \<sqm-hero> One or two column landing page with an optional background
422
+ - \<sqm-name-fields> First and last name inputs for registration which supports validation errors
423
+ - \<sqm-referral-iframe> Renders an iFrame and passes users referral code as a UTM param named rsCode
424
+
425
+ ## [1.2.1] - 2021-09-21
426
+
427
+ ### Fixed
428
+
429
+ - demoData no longer breaking GrapesJS editability on all components
430
+ - \<sqm-big-stat> properly supports units with/without slashes
431
+ - \<sqm-big-stat> rewardBalance stat now uses format if included for the fallback value
432
+ - \<sqm-referral-table> dateScheduledFor bug fixed, deleted user bug fixed
433
+
434
+ ### Added
435
+
436
+ - Filtered Credit and Integration reward count stats now available in \<sqm-big-stat>
437
+ - formats:
438
+ ```
439
+ /(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?
440
+ /(integrationRewardsCountFiltered)/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?
441
+ ```
442
+ - \<sqm-share-button> loading states and hide text prop
443
+ - \<sqm-divided-layout> border customizable
444
+ - \<sqm-leaderboard> allows rank to be shown
445
+
446
+ ### Removed
447
+
448
+ - menuLabel prop removed from \<sqm-program-menu>
449
+
450
+ ## [1.2.0] - 2021-09-17
451
+
452
+ ### Changed
453
+
454
+ - Changed components:
455
+ - \<sqm-referral-table> can pull only classic referrals
456
+ - \<sqm-referral-table> supports showing "Referred You" row
457
+ - \<sqm-referral-table> supports additional props to override text values
458
+ - \<sqm-referral-table> has default loading and empty slots
459
+ - \<sqm-referral-table> pagination button labels are customizable
460
+ - \<sqm-share-button> text slot (default slot) is hideable
461
+ - \<sqm-big-stat> will return appropriate stats or error for "classic" program id. Height is inherited
462
+
463
+ ## [1.1.1] - 2021-08-20
464
+
465
+ ### Added
466
+
467
+ - Password field component with live validation
468
+ - Newly available component:
469
+ - \<sqm-password-field>
470
+
471
+ ## [1.1.0] - 2021-08-04
472
+
473
+ ### Added
474
+
475
+ - New portal components and additional layout components
476
+ - Newly available components:
477
+ - \<sqm-asset-card>
478
+ - \<sqm-divided-layout>
479
+ - \<sqm-form-message>
480
+ - \<sqm-graphql-client-provider>
481
+ - \<sqm-navigation-sidebar>
482
+ - \<sqm-navigation-sidebar-item>
483
+ - \<sqm-portal-change-password>
484
+ - \<sqm-portal-container>
485
+ - \<sqm-portal-email-verification>
486
+ - \<sqm-portal-forgot-password>
487
+ - \<sqm-portal-login>
488
+ - \<sqm-portal-logout>
489
+ - \<sqm-portal-profile>
490
+ - \<sqm-portal-protected-route>
491
+ - \<sqm-portal-register>
492
+ - \<sqm-portal-reset-password>
493
+ - \<sqm-portal-verify-email>
494
+ - \<sqm-program-menu>
495
+ - \<sqm-referral-table>
496
+ - \<sqm-table-cell>
497
+ - \<sqm-table-row>
498
+ - \<sqm-referral-table-cell>
499
+ - \<sqm-referral-table-date-cell>
500
+ - \<sqm-referral-table-rewards-cell>
501
+ - \<sqm-referral-table-status-cell>
502
+ - \<sqm-referral-table-user-cell>
503
+ - \<sqm-referral-table-column>
504
+ - \<sqm-referral-table-date-column>
505
+ - \<sqm-referral-table-rewards-column>
506
+ - \<sqm-referral-table-status-column>
507
+ - \<sqm-referral-table-user-column>
508
+ - \<sqm-share-code>
509
+ - \<sqm-stat-container>
510
+ - \<sqm-text>
511
+ - \<sqm-text-span>
512
+ - \<sqm-titled-section>
513
+ - \<sqm-user-name>
514
+
515
+ ## [1.0.0-86] - 2021-05-20
516
+
517
+ ### Added
518
+
519
+ - Initial release, components use stencil 2+, Sass mixins, and shoelace web components - https://shoelace.style
520
+ - Available components:
521
+ - \<sqm-big-stat>
522
+ - \<sqm-edit-profile>
523
+ - \<sqm-leaderboard>
524
+ - \<sqm-leaderboard-rank>
525
+ - \<sqm-navigation-menu>
526
+ - \<sqm-portal-frame>
527
+ - \<sqm-route>
528
+ - \<sqm-router>
529
+ - \<sqm-share-button>
530
+ - \<sqm-share-link>
531
+ - \<sqm-form-message>
532
+ - \<sqm-hook-story-container>
533
+ - \<sqm-popup-container>
534
+ - \<sqm-stencilbook>
535
+
536
+ [unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.6.1...HEAD
537
+ [1.6.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.6.1
538
+ [1.6.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.6.0
539
+ [1.5.5]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.5
540
+ [1.5.4]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.4
541
+ [1.5.3]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.3
542
+ [1.5.2]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.2
543
+ [1.5.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.1
544
+ [1.5.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.0
545
+ [1.4.2]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.2
546
+ [1.4.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.1
547
+ [1.4.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.0
548
+ [1.3.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.3.0
549
+ [1.2.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.2.0
550
+ [1.1.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.1.1
@@ -2,7 +2,7 @@
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
4
  const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
5
- const global = require('./global-d275ff17.js');
5
+ const global = require('./global-12e64346.js');
6
6
  const index_module = require('./index.module-a31dd9f8.js');
7
7
  const cjs = require('./cjs-1066ec21.js');
8
8
  const mixins = require('./mixins-338ca5f1.js');
@@ -242,10 +242,14 @@ function BigStatView(props) {
242
242
 
243
243
  const style$3 = {
244
244
  HostBlock: mixins.HostBlock,
245
+ ":host": {
246
+ height: "100vh",
247
+ },
245
248
  Frame: {
246
249
  display: "flex",
247
250
  "flex-direction": "column",
248
251
  "box-sizing": "border-box",
252
+ height: "100%",
249
253
  },
250
254
  FooterWrapper: {
251
255
  width: "100%",
@@ -26489,7 +26489,7 @@ html {
26489
26489
  --sqm-portal-background: transparent;
26490
26490
  --widget-background-color: var(--sl-color-white);
26491
26491
  --sqm-portal-main-width: 900px;
26492
- --sqm-max-width: 1280px;
26492
+ --sqm-max-width: 100%;
26493
26493
  }
26494
26494
 
26495
26495
  body {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  require('./stencil-hooks.module-6fe43579.js');
7
- require('./global-d275ff17.js');
7
+ require('./global-12e64346.js');
8
8
  require('./use-callback-5d15897d.js');
9
9
  require('./index.module-a31dd9f8.js');
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
4
  require('./stencil-hooks.module-6fe43579.js');
5
- require('./global-d275ff17.js');
5
+ require('./global-12e64346.js');
6
6
  require('./use-callback-5d15897d.js');
7
7
  require('./index.module-a31dd9f8.js');
8
8
 
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
7
- const global = require('./global-d275ff17.js');
7
+ const global = require('./global-12e64346.js');
8
8
  const useCallback = require('./use-callback-5d15897d.js');
9
9
  const index_module = require('./index.module-a31dd9f8.js');
10
10
  const jsonpointer = require('./jsonpointer-11327262.js');
@@ -19,7 +19,7 @@ require('./sqm-text-span-view-b0c90c27.js');
19
19
  require('./sqm-portal-container-view-4a8432e9.js');
20
20
  const AsYouType = require('./AsYouType-6788393a.js');
21
21
  const useRegistrationFormState = require('./useRegistrationFormState-ee2c40dd.js');
22
- const ShadowViewAddon = require('./ShadowViewAddon-538d212c.js');
22
+ const ShadowViewAddon = require('./ShadowViewAddon-c446e928.js');
23
23
  require('./sqm-portal-section-view-71a57cd9.js');
24
24
 
25
25
  const BigStat = class {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
7
- const global = require('./global-d275ff17.js');
7
+ const global = require('./global-12e64346.js');
8
8
  require('./use-callback-5d15897d.js');
9
9
  const index_module = require('./index.module-a31dd9f8.js');
10
10
  const cjs = require('./cjs-1066ec21.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-d275ff17.js');
4
+ const global = require('./global-12e64346.js');
5
5
  const mixins = require('./mixins-338ca5f1.js');
6
6
  const JSS = require('./JSS-c73206b7.js');
7
7
  const sqmTextSpanView = require('./sqm-text-span-view-b0c90c27.js');
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
7
- require('./global-d275ff17.js');
7
+ require('./global-12e64346.js');
8
8
  require('./use-callback-5d15897d.js');
9
9
  const index_module = require('./index.module-a31dd9f8.js');
10
10
  const cjs = require('./cjs-1066ec21.js');
11
11
  require('./mixins-338ca5f1.js');
12
12
  require('./JSS-c73206b7.js');
13
13
  require('./sqm-text-span-view-b0c90c27.js');
14
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-8a73314a.js');
14
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-8af9f355.js');
15
15
 
16
16
  function usePortalEmailVerification(props) {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-d275ff17.js');
4
+ const global = require('./global-12e64346.js');
5
5
  const JSS = require('./JSS-c73206b7.js');
6
6
 
7
7
  function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {