@saasquatch/mint-components 1.5.3-4 → 1.5.3-7

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 (236) hide show
  1. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +26 -20
  2. package/dist/cjs/sqm-stencilbook.cjs.entry.js +5 -5
  3. package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +2 -2
  4. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +4 -1
  5. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -1
  6. package/dist/collection/components/sqm-input-field/sqm-input-field.js +13 -6
  7. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +3 -0
  8. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +1 -1
  9. package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -3
  10. package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -3
  11. package/dist/collection/utils/RequiredPropsError.js +19 -11
  12. package/dist/esm/sqm-big-stat_35.entry.js +26 -20
  13. package/dist/esm/sqm-stencilbook.entry.js +5 -5
  14. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  15. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  16. package/dist/mint-components/mint-components.esm.js +1 -1
  17. package/dist/mint-components/{p-6e3f8914.system.entry.js → p-1cb53b63.system.entry.js} +1 -1
  18. package/dist/mint-components/p-436da6b8.system.js +1 -1
  19. package/dist/mint-components/{p-58704085.entry.js → p-5c1c2d86.entry.js} +2 -2
  20. package/dist/mint-components/{p-0284a378.entry.js → p-dfad44ee.entry.js} +8 -8
  21. package/dist/mint-components/p-ebfefab4.system.entry.js +1 -0
  22. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +4 -1
  23. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +4 -1
  24. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +10 -4
  25. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
  26. package/dist/types/components.d.ts +26 -14
  27. package/dist/types/utils/RequiredPropsError.d.ts +4 -1
  28. package/docs/docs.docx +0 -0
  29. package/docs/raisins.json +1 -0
  30. package/grapesjs/grapesjs.js +1 -1
  31. package/package.json +8 -3
  32. package/CHANGELOG.md +0 -414
  33. package/dist/mint-components/p-2e4453e2.system.entry.js +0 -1
  34. package/shoelace/assets/icons/123.svg +0 -3
  35. package/shoelace/assets/icons/activity.svg +0 -3
  36. package/shoelace/assets/icons/apple.svg +0 -4
  37. package/shoelace/assets/icons/bandaid-fill.svg +0 -3
  38. package/shoelace/assets/icons/bandaid.svg +0 -4
  39. package/shoelace/assets/icons/bank.svg +0 -3
  40. package/shoelace/assets/icons/bank2.svg +0 -3
  41. package/shoelace/assets/icons/behance.svg +0 -3
  42. package/shoelace/assets/icons/bell-slash-fill.svg +0 -3
  43. package/shoelace/assets/icons/bell-slash.svg +0 -3
  44. package/shoelace/assets/icons/bluetooth.svg +0 -3
  45. package/shoelace/assets/icons/body-text.svg +0 -3
  46. package/shoelace/assets/icons/boombox-fill.svg +0 -4
  47. package/shoelace/assets/icons/boombox.svg +0 -6
  48. package/shoelace/assets/icons/boxes.svg +0 -3
  49. package/shoelace/assets/icons/cash-coin.svg +0 -6
  50. package/shoelace/assets/icons/check-lg.svg +0 -3
  51. package/shoelace/assets/icons/cloud-haze2.svg +0 -3
  52. package/shoelace/assets/icons/coin.svg +0 -5
  53. package/shoelace/assets/icons/currency-bitcoin.svg +0 -3
  54. package/shoelace/assets/icons/currency-dollar.svg +0 -3
  55. package/shoelace/assets/icons/currency-euro.svg +0 -3
  56. package/shoelace/assets/icons/currency-exchange.svg +0 -3
  57. package/shoelace/assets/icons/currency-pound.svg +0 -3
  58. package/shoelace/assets/icons/currency-yen.svg +0 -3
  59. package/shoelace/assets/icons/dash-lg.svg +0 -3
  60. package/shoelace/assets/icons/device-hdd-fill.svg +0 -4
  61. package/shoelace/assets/icons/device-hdd.svg +0 -5
  62. package/shoelace/assets/icons/device-ssd-fill.svg +0 -4
  63. package/shoelace/assets/icons/device-ssd.svg +0 -4
  64. package/shoelace/assets/icons/displayport-fill.svg +0 -3
  65. package/shoelace/assets/icons/displayport.svg +0 -4
  66. package/shoelace/assets/icons/dpad-fill.svg +0 -3
  67. package/shoelace/assets/icons/dpad.svg +0 -4
  68. package/shoelace/assets/icons/dribbble.svg +0 -3
  69. package/shoelace/assets/icons/ear-fill.svg +0 -3
  70. package/shoelace/assets/icons/ear.svg +0 -3
  71. package/shoelace/assets/icons/easel2-fill.svg +0 -4
  72. package/shoelace/assets/icons/easel2.svg +0 -3
  73. package/shoelace/assets/icons/easel3-fill.svg +0 -3
  74. package/shoelace/assets/icons/easel3.svg +0 -3
  75. package/shoelace/assets/icons/envelope-check-fill.svg +0 -4
  76. package/shoelace/assets/icons/envelope-check.svg +0 -4
  77. package/shoelace/assets/icons/envelope-dash-fill.svg +0 -4
  78. package/shoelace/assets/icons/envelope-dash.svg +0 -4
  79. package/shoelace/assets/icons/envelope-exclamation-fill.svg +0 -4
  80. package/shoelace/assets/icons/envelope-exclamation.svg +0 -4
  81. package/shoelace/assets/icons/envelope-plus-fill.svg +0 -4
  82. package/shoelace/assets/icons/envelope-plus.svg +0 -4
  83. package/shoelace/assets/icons/envelope-slash-fill.svg +0 -4
  84. package/shoelace/assets/icons/envelope-slash.svg +0 -4
  85. package/shoelace/assets/icons/envelope-x-fill.svg +0 -4
  86. package/shoelace/assets/icons/envelope-x.svg +0 -4
  87. package/shoelace/assets/icons/ethernet.svg +0 -4
  88. package/shoelace/assets/icons/exclamation-lg.svg +0 -3
  89. package/shoelace/assets/icons/explicit-fill.svg +0 -3
  90. package/shoelace/assets/icons/explicit.svg +0 -4
  91. package/shoelace/assets/icons/fan.svg +0 -4
  92. package/shoelace/assets/icons/file-earmark-pdf-fill.svg +0 -4
  93. package/shoelace/assets/icons/file-earmark-pdf.svg +0 -4
  94. package/shoelace/assets/icons/file-pdf-fill.svg +0 -4
  95. package/shoelace/assets/icons/file-pdf.svg +0 -4
  96. package/shoelace/assets/icons/fingerprint.svg +0 -7
  97. package/shoelace/assets/icons/gender-ambiguous.svg +0 -3
  98. package/shoelace/assets/icons/gender-female.svg +0 -3
  99. package/shoelace/assets/icons/gender-male.svg +0 -3
  100. package/shoelace/assets/icons/gender-trans.svg +0 -3
  101. package/shoelace/assets/icons/git.svg +0 -3
  102. package/shoelace/assets/icons/gpu-card.svg +0 -5
  103. package/shoelace/assets/icons/graph-down-arrow.svg +0 -3
  104. package/shoelace/assets/icons/graph-up-arrow.svg +0 -3
  105. package/shoelace/assets/icons/hdmi-fill.svg +0 -3
  106. package/shoelace/assets/icons/hdmi.svg +0 -4
  107. package/shoelace/assets/icons/headset-vr.svg +0 -4
  108. package/shoelace/assets/icons/hypnotize.svg +0 -4
  109. package/shoelace/assets/icons/infinity.svg +0 -3
  110. package/shoelace/assets/icons/info-lg.svg +0 -3
  111. package/shoelace/assets/icons/line.svg +0 -3
  112. package/shoelace/assets/icons/list-columns-reverse.svg +0 -3
  113. package/shoelace/assets/icons/list-columns.svg +0 -3
  114. package/shoelace/assets/icons/magic.svg +0 -3
  115. package/shoelace/assets/icons/mastodon.svg +0 -3
  116. package/shoelace/assets/icons/medium.svg +0 -3
  117. package/shoelace/assets/icons/memory.svg +0 -3
  118. package/shoelace/assets/icons/messenger.svg +0 -3
  119. package/shoelace/assets/icons/meta.svg +0 -3
  120. package/shoelace/assets/icons/microsoft.svg +0 -3
  121. package/shoelace/assets/icons/modem-fill.svg +0 -3
  122. package/shoelace/assets/icons/modem.svg +0 -4
  123. package/shoelace/assets/icons/mortarboard-fill.svg +0 -4
  124. package/shoelace/assets/icons/mortarboard.svg +0 -4
  125. package/shoelace/assets/icons/motherboard-fill.svg +0 -4
  126. package/shoelace/assets/icons/motherboard.svg +0 -4
  127. package/shoelace/assets/icons/nintendo-switch.svg +0 -4
  128. package/shoelace/assets/icons/optical-audio-fill.svg +0 -4
  129. package/shoelace/assets/icons/optical-audio.svg +0 -5
  130. package/shoelace/assets/icons/paypal.svg +0 -3
  131. package/shoelace/assets/icons/pc-display-horizontal.svg +0 -3
  132. package/shoelace/assets/icons/pc-display.svg +0 -3
  133. package/shoelace/assets/icons/pc-horizontal.svg +0 -3
  134. package/shoelace/assets/icons/pc.svg +0 -3
  135. package/shoelace/assets/icons/pci-card.svg +0 -4
  136. package/shoelace/assets/icons/person-rolodex.svg +0 -4
  137. package/shoelace/assets/icons/person-video.svg +0 -4
  138. package/shoelace/assets/icons/person-video2.svg +0 -4
  139. package/shoelace/assets/icons/person-video3.svg +0 -4
  140. package/shoelace/assets/icons/person-workspace.svg +0 -4
  141. package/shoelace/assets/icons/piggy-bank-fill.svg +0 -3
  142. package/shoelace/assets/icons/piggy-bank.svg +0 -4
  143. package/shoelace/assets/icons/pin-map-fill.svg +0 -4
  144. package/shoelace/assets/icons/pin-map.svg +0 -4
  145. package/shoelace/assets/icons/pinterest.svg +0 -3
  146. package/shoelace/assets/icons/playstation.svg +0 -3
  147. package/shoelace/assets/icons/plus-lg.svg +0 -3
  148. package/shoelace/assets/icons/plus-slash-minus.svg +0 -3
  149. package/shoelace/assets/icons/projector-fill.svg +0 -3
  150. package/shoelace/assets/icons/projector.svg +0 -4
  151. package/shoelace/assets/icons/qr-code-scan.svg +0 -7
  152. package/shoelace/assets/icons/qr-code.svg +0 -7
  153. package/shoelace/assets/icons/question-lg.svg +0 -3
  154. package/shoelace/assets/icons/quora.svg +0 -3
  155. package/shoelace/assets/icons/quote.svg +0 -3
  156. package/shoelace/assets/icons/radioactive.svg +0 -4
  157. package/shoelace/assets/icons/recycle.svg +0 -3
  158. package/shoelace/assets/icons/reddit.svg +0 -4
  159. package/shoelace/assets/icons/robot.svg +0 -4
  160. package/shoelace/assets/icons/router-fill.svg +0 -6
  161. package/shoelace/assets/icons/router.svg +0 -6
  162. package/shoelace/assets/icons/safe-fill.svg +0 -4
  163. package/shoelace/assets/icons/safe.svg +0 -4
  164. package/shoelace/assets/icons/safe2-fill.svg +0 -4
  165. package/shoelace/assets/icons/safe2.svg +0 -4
  166. package/shoelace/assets/icons/sd-card-fill.svg +0 -3
  167. package/shoelace/assets/icons/sd-card.svg +0 -4
  168. package/shoelace/assets/icons/send-check-fill.svg +0 -4
  169. package/shoelace/assets/icons/send-check.svg +0 -4
  170. package/shoelace/assets/icons/send-dash-fill.svg +0 -4
  171. package/shoelace/assets/icons/send-dash.svg +0 -4
  172. package/shoelace/assets/icons/send-exclamation-fill.svg +0 -4
  173. package/shoelace/assets/icons/send-exclamation.svg +0 -4
  174. package/shoelace/assets/icons/send-fill.svg +0 -3
  175. package/shoelace/assets/icons/send-plus-fill.svg +0 -4
  176. package/shoelace/assets/icons/send-plus.svg +0 -4
  177. package/shoelace/assets/icons/send-slash-fill.svg +0 -4
  178. package/shoelace/assets/icons/send-slash.svg +0 -4
  179. package/shoelace/assets/icons/send-x-fill.svg +0 -4
  180. package/shoelace/assets/icons/send-x.svg +0 -4
  181. package/shoelace/assets/icons/send.svg +0 -3
  182. package/shoelace/assets/icons/signal.svg +0 -3
  183. package/shoelace/assets/icons/skype.svg +0 -3
  184. package/shoelace/assets/icons/slash-lg.svg +0 -3
  185. package/shoelace/assets/icons/snapchat.svg +0 -3
  186. package/shoelace/assets/icons/spotify.svg +0 -3
  187. package/shoelace/assets/icons/stack-overflow.svg +0 -4
  188. package/shoelace/assets/icons/steam.svg +0 -4
  189. package/shoelace/assets/icons/strava.svg +0 -3
  190. package/shoelace/assets/icons/terminal-dash.svg +0 -4
  191. package/shoelace/assets/icons/terminal-plus.svg +0 -4
  192. package/shoelace/assets/icons/terminal-split.svg +0 -4
  193. package/shoelace/assets/icons/terminal-x.svg +0 -4
  194. package/shoelace/assets/icons/thunderbolt-fill.svg +0 -3
  195. package/shoelace/assets/icons/thunderbolt.svg +0 -4
  196. package/shoelace/assets/icons/ticket-detailed-fill.svg +0 -3
  197. package/shoelace/assets/icons/ticket-detailed.svg +0 -4
  198. package/shoelace/assets/icons/ticket-fill.svg +0 -3
  199. package/shoelace/assets/icons/ticket-perforated-fill.svg +0 -3
  200. package/shoelace/assets/icons/ticket-perforated.svg +0 -4
  201. package/shoelace/assets/icons/ticket.svg +0 -3
  202. package/shoelace/assets/icons/tiktok.svg +0 -3
  203. package/shoelace/assets/icons/translate.svg +0 -4
  204. package/shoelace/assets/icons/usb-c-fill.svg +0 -3
  205. package/shoelace/assets/icons/usb-c.svg +0 -4
  206. package/shoelace/assets/icons/usb-drive-fill.svg +0 -3
  207. package/shoelace/assets/icons/usb-drive.svg +0 -3
  208. package/shoelace/assets/icons/usb-fill.svg +0 -3
  209. package/shoelace/assets/icons/usb-micro-fill.svg +0 -3
  210. package/shoelace/assets/icons/usb-micro.svg +0 -4
  211. package/shoelace/assets/icons/usb-mini-fill.svg +0 -3
  212. package/shoelace/assets/icons/usb-mini.svg +0 -4
  213. package/shoelace/assets/icons/usb-plug-fill.svg +0 -3
  214. package/shoelace/assets/icons/usb-plug.svg +0 -3
  215. package/shoelace/assets/icons/usb-symbol.svg +0 -3
  216. package/shoelace/assets/icons/usb.svg +0 -4
  217. package/shoelace/assets/icons/vimeo.svg +0 -3
  218. package/shoelace/assets/icons/webcam-fill.svg +0 -4
  219. package/shoelace/assets/icons/webcam.svg +0 -4
  220. package/shoelace/assets/icons/window-dash.svg +0 -5
  221. package/shoelace/assets/icons/window-desktop.svg +0 -4
  222. package/shoelace/assets/icons/window-fullscreen.svg +0 -4
  223. package/shoelace/assets/icons/window-plus.svg +0 -5
  224. package/shoelace/assets/icons/window-split.svg +0 -4
  225. package/shoelace/assets/icons/window-stack.svg +0 -4
  226. package/shoelace/assets/icons/window-x.svg +0 -5
  227. package/shoelace/assets/icons/windows.svg +0 -3
  228. package/shoelace/assets/icons/wordpress.svg +0 -5
  229. package/shoelace/assets/icons/x-lg.svg +0 -4
  230. package/shoelace/assets/icons/xbox.svg +0 -3
  231. package/shoelace/assets/icons/yin-yang.svg +0 -4
  232. package/shoelace/themes/themes/dark.styles.d.ts +0 -2
  233. package/shoelace/themes/themes/dark.styles.js +0 -531
  234. package/shoelace/themes/themes/light.css +0 -439
  235. package/shoelace/themes/themes/light.styles.d.ts +0 -2
  236. package/shoelace/themes/themes/light.styles.js +0 -531
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@saasquatch/mint-components",
3
- "version": "1.5.3-4",
3
+ "version": "1.5.3-7",
4
4
  "description": "Mint Components - Built with Shoelace Components",
5
+ "raisins": "docs/raisins.json",
5
6
  "main": "dist/index.cjs.js",
6
7
  "es2015": "dist/esm/index.js",
7
8
  "es2017": "dist/esm/index.js",
@@ -13,7 +14,8 @@
13
14
  "files": [
14
15
  "dist/",
15
16
  "grapesjs/",
16
- "shoelace/"
17
+ "shoelace/",
18
+ "docs/"
17
19
  ],
18
20
  "scripts": {
19
21
  "build": "stencil build --docs",
@@ -24,7 +26,9 @@
24
26
  "test": "stencil test --spec --e2e --verbose",
25
27
  "test.watch": "stencil test --spec --e2e --watchAll",
26
28
  "generate": "stencil generate",
27
- "specs": "picklesdoc xlsx src docs --testers=2"
29
+ "specs": "picklesdoc xlsx src docs --testers=2",
30
+ "serve:package": "serve . --cors",
31
+ "start:raisins": "run-p start serve:package"
28
32
  },
29
33
  "devDependencies": {
30
34
  "@formatjs/intl": "1.8.4",
@@ -61,6 +65,7 @@
61
65
  "workbox-build": "4.3.1"
62
66
  },
63
67
  "dependencies": {
68
+ "@raisins/stencil-docs-target": "^0.2.0",
64
69
  "@saasquatch/component-boilerplate": "^1.3.1",
65
70
  "@saasquatch/stencil-hooks": "^2.0.2",
66
71
  "@saasquatch/stencilbook": "^1.0.0",
package/CHANGELOG.md DELETED
@@ -1,414 +0,0 @@
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.5.3] - 2022-03-28
11
-
12
- ### Changed
13
-
14
- - Input component added for use in \<sqm-portal-register>
15
-
16
- - Added Component:
17
-
18
- - \<sqm-input-field>
19
- - Required by default but can be optional
20
- - All text is configurable by props
21
- - Best used in `formData` slot
22
- - Form field name can be customized with the `field-name` prop
23
- - Input type can be customized with the `field-type` prop
24
- - Supports `text`, `tel`, and `date` as types
25
-
26
- ## [1.5.2] - 2022-03-08
27
-
28
- ### Changed
29
-
30
- - Changed Components:
31
- - \<sqm-portal-login>
32
- - Enforce that nextPage redirects are relative
33
- - \<sqm-portal-reset-password>
34
- - Enforce that nextPage redirects are relative
35
- - \<sqm-portal-verify-email>
36
- - Enforce that nextPage redirects are relative
37
-
38
- ## [1.5.1] - 2022-03-03
39
-
40
- ### Added
41
-
42
- - Checkbox and dropdown components added for use in \<sqm-portal-register>
43
-
44
- - Added Components:
45
-
46
- - \<sqm-checkbox-field>
47
- - Required by default but can be optional
48
- - Allows for a link in checkbox text to support behaviour like linking out to terms and conditions
49
- - All text is configurable by prop
50
- - Best used in the register components `terms` or `formData` slots
51
- - Form field name can be customized with the `checkbox-name` prop
52
- - \<sqm-dropdown-field>
53
- - Required by default but can be optional
54
- - Dropdown options are \<sl-menu-items>
55
- - All text is configurable by prop
56
- - Best used in the register components `formData` slot
57
- - Form field name can be customized with the `dropdown-name` prop
58
-
59
- ## [1.5.0] - 2022-02-23
60
-
61
- ### Added
62
-
63
- - Added Components:
64
-
65
- - \<sqm-brand>
66
- - Takes in a brand colour via prop and creates a colour palette from it.
67
- - Sets shoelace colour variables from brand palette for child components
68
- - Takes in a brand font and applies it to child components
69
- - \<sqm-card-feed>
70
- - Applies a masonry style grid to child components (created for sqm-task-card)
71
- - Child width and gap between children is configurable
72
- - \<sqm-program-explainer>
73
- - Designed to wrap \<sqm-program-explainer-step>
74
- - Adds header and footer sections
75
- - Text (titles and descriptions) and colours (background and text) are configurable
76
- - \<sqm-program-explainer-step>
77
- - Card to explain part of a customers program
78
- - Icon, background colour, text colour, title and description text are configurable
79
- - Image can be used instead of an icon, image url is configurable by prop
80
- - \<sqm-reward-exchange-list>
81
- - Allows users to exchange rewards configured by Tenant level reward exchange rules
82
- - Includes props for complete text editability
83
- - Has a 4 step process, select exchange rule, select reward, confirm exchange, exchanged
84
- - \<sqm-rewards-table>
85
- - Displays a table of users rewards with help from column and cell components
86
- - 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
87
- - Column titles are shown by default but can be hidden via prop
88
- - 4 rewards are shown per page by default but is customizable via prop
89
- - Mobile responsive functionality
90
- - Includes props for mobile and table breakpoints, which trigger mobile friendly views
91
- - Includes prop to hide column titles in mobile view
92
- - \<sqm-rewards-table-date-column>
93
- - Displays reward dates in a column using the \<sqm-rewards-table-date-cell>
94
- - Includes prop to configure what date to show (date given, expires, canceled, redeemed, scheduled for)
95
- - Includes prop to configure column title text
96
- - \<sqm-rewards-table-date-cell>
97
- - Displays reward date
98
- - \<sqm-rewards-table-reward-column>
99
- - Displays rewards in a column using the \<sqm-rewards-table-rewards-cell>
100
- - Includes prop to configure column title and other text
101
- - \<sqm-rewards-table-rewards-cell>
102
- - Displays the amount and type of a reward
103
- - Displays how much of the reward is available/redeemed
104
- - \<sqm-rewards-table-source-column>
105
- - Displays reward sources in a column using the \<sqm-rewards-table-source-cell>
106
- - Includes props to configure text elements used in the source cell
107
- - Includes prop to configure column title
108
- - \<sqm-rewards-table-source-cell>
109
- - Displays the source of a reward (Program/Automated, Manual, Referral, Reward Exchange)
110
- - \<sqm-rewards-table-status-column>
111
- - Displays reward statuses in a column using the \<sqm-rewards-table-status-cell>
112
- - Includes props to configure reward status text
113
- - Includes prop to configure column title
114
- - Displays associated status dates (date expires, date pending, etc)
115
- - \<sqm-rewards-table-status-cell>
116
- - Displays the status of a reward along with status information (expiry or pending date, etc)
117
- - \<sqm-rewards-table-customer-note-column>
118
- - Includes prop to configure column title
119
- - Displays a rewards customer note using the \<sqm-rewards-table-customer-note-cell>
120
- - \<sqm-rewards-table-customer-note-cell>
121
- - Displays a rewards customer note
122
- - \<sqm-task-card>
123
- - Displays Tasks which correspond to program goals for users to complete
124
- - Tasks can be one time, repeatable, or finite repeatable, configurable by prop
125
- - Users progress comes from custom field or program goal, configured by prop
126
- - Goal value is configurable by prop
127
- - Includes prop to disable cards outside of an activities duration and show an expiry during, default is no duration (always available)
128
- - Includes prop to hide cards outside of an activities duration, default is no duration (always displayed)
129
- - Includes props for text configuration like card title, reward amount/unit, description, CTA button text
130
- - Includes CTA button to redirect users to where they need to complete the task (new tab or existing tab), route is configurable via prop
131
- - CTA link can open in a new tab or redirect on the current tab, configurable by prop
132
- - Can send an event to SSQT and refresh the widget when a user clicks the CTA, event is configurable via prop
133
- - Progress bar is hidden or shown by prop, hidden by default
134
- - Includes text showing how many times a user has completed a task if repeatable, text is configurable
135
- - \<sqm-timeline>
136
- - Wraps several \<sqm-timeline-entry> to create a program timeline
137
- - Includes prop to select between a brand colour cirle or gift icon for each entry
138
- - Links entry's together with a brand colour line
139
- - \<sqm-timeline-entry>
140
- - Displays a step of a program
141
- - Configurable text props for reward, unit, description and icon
142
- - \<sqm-empty>
143
- - A reusable empty state component to be slotted into parent components like our tables, leaderboard or reward exchange
144
- - Includes props to configured image, heading and description
145
- - Uses `empty` slot
146
- - \<sqm-tabs>
147
- - Wraps \<sqm-tab> components to create a collection of tabs
148
- - Similar to shoelace tabs
149
- - Placement can be configured to be left, right, bottom, top
150
- - Pulls headers from child \<sqm-tab> and displays them
151
- - \<sqm-tab>
152
- - Wraps a slotted content to be a member of the \<sqm-tabs> component
153
- - Has a header prop to configure the label displayed by \<sqm-tabs>
154
- - \<sqm-referral-card>
155
- - Takes two slots and displays them within a card
156
- - Slots are named `left` and `right`
157
- - Vertical alignment can be configured by a prop, defaults to `start` but options for `center` and `end` also available
158
- - \<sqm-image>
159
- - Displays an image configured with an `imageUrl` prop
160
- - Aligned can be `left`, `center` or `right`, defaults to `center` but is configurable by prop
161
- - A min height can be configured by prop
162
- - A background colour can be configured by prop
163
- - \<sqm-hero-image>
164
- - Displays image and text in two configuration
165
- - Overlay or column, defaults to overlay
166
- - Background and text colour are configurable via prop
167
- - A CTA button can be optionally shown
168
- - Text, link and behaviour (open in new or same tab) are configurable via prop
169
- - All text is configurable by props
170
- - Text and Image padding are configurable via prop
171
- - \<sqm-scroll>
172
- - A button that scrolls users to an element in the widget
173
- - Can scroll by id or tag
174
- - Visual props mirror that of sl-button
175
-
176
- ### Changed
177
-
178
- - Changed Components:
179
- - \<sqm-big-stat>
180
- - Added hook functionality to query custom fields
181
- - Hooks now returns value (number) and statValue (string)
182
- - Added loading state into the hook
183
- - \<sqm-leaderboard>
184
- - Now the viewing user is shown by default, can be disabled via prop
185
- - If they are in the leaderboard they are highlighted, else they are displayed below the top 10
186
- - Updated default empty state
187
- - Added prop to customized anonymous user fallback
188
- - \<sqm-portal-container>
189
- - Added max width prop, defaults to 100%
190
- - Added prop to center children
191
- - Added display prop, options are grid or flex but defaults to grid
192
- - \<sqm-referral-table>
193
- - Added new default empty state
194
- - Changed default per page value from 3 to 4
195
- - Added mobile and tablet responsive functionality
196
- - Added props for mobile and table breakpoints, which trigger mobile friendly views
197
- - Added prop to hide column titles in mobile view
198
- - \<sqm-share-button>
199
- - Added default button colours and icons for all share mediums
200
- - Added border radius prop
201
- - Added background colour prop
202
- - Added text colour prop
203
- - \<sqm-share-code>
204
- - Sends a "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT" analytic with "DIRECT" share medium event on copy code click
205
- - \<sqm-share-link>
206
- - Sends a "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT" analytic with "DIRECT" share medium event on copy link click
207
- - \<sqm-titled-section>
208
- - Added prop to configure text alignment, left, center or right, defaults to left
209
- - \<sqm-hero>
210
- - Added default background colour which matches the previous `--sqm-portal-background` colour
211
- - \<sqm-text>
212
- - Added styling for subtitle (`sub`) elements
213
-
214
- ## [1.4.2] - 2022-01-14
215
-
216
- ### Changed
217
-
218
- - Added ability to include slotted content on \<sqm-portal-register> using `slot="terms"`
219
- - Slotted content is displayed above the registration button
220
-
221
- ## [1.4.1] - 2021-01-17
222
-
223
- ### Fixed
224
-
225
- - Fixed broken WhatsApp icon by updating the version of bootstrap icons from 1.2.0 to 1.7.2
226
-
227
- ## [1.4.0] - 2021-12-09
228
-
229
- ### Changed
230
-
231
- - Updated version of component-boilerplate to prevent rare case of user context being deleted during register
232
- - Updated version of component-boilerplate to support new registration, password reset, and verify requests
233
- - Changed components:
234
- - \<sqm-portal-email-verification>
235
- - Added prop to customize what page a user is redirected to from their verify email, defaults to /verifyEmail
236
- - \<sqm-portal-forgot-password>
237
- - Added prop to customize what page a user is redirected to from their password reset email, defaults to /resetPassword
238
- - Added prop to customize the login button redirection path, defaults to /login
239
- - \<sqm-portal-login>
240
- - Added prop to customize the register button redirection path, defaults to /register
241
- - Added prop to customize the forgot password text link redirection path, defaults to /forgotPassword
242
- - \<sqm-portal-register>
243
- - Added prop to customize the login button redirection path, defaults to /login
244
- - Added prop to customize what page a user is redirect to from their initial verify email, defaults to /verifyEmail
245
- - \<sqm-portal-reset-password>
246
- - Added prop to customize what path users are redirected to when oobcode validation fails, defaults to /
247
- - \<sqm-portal-verify-email>
248
- - Added prop to customize what path users are redirected to when oobcode validation fails, defaults to /
249
- - \<sqm-big-stat>
250
- - Added program ID prop to optionally be used instead of the default program context
251
-
252
- ## [1.3.0] - 2021-11-08
253
-
254
- ### Changed
255
-
256
- - Changed components:
257
- - \<sqm-share-button>
258
- - Exported "icon" part so it can be customizable in the future
259
- - \<sqm-portal-change-password>
260
- - Changed sl-button in modal to be of type "primary" instead of "default"
261
- - Swapped location of cancel and change password buttons
262
- - Added padding between fields
263
- - Changed hardcoded text into customizable props
264
- - Changed password field input default label to "New Password"
265
- - \<sqm-portal-profile>
266
- - Changed hardcoded text into customizable props
267
- - Added padding text below header
268
- - \<sqm-portal-reset-password>
269
- - Changed hardcoded text into customizable props
270
- - Changed password field input default label to "New Password"
271
- - \<sqm-portal-register>
272
- - Changed hardcoded text into customizable props
273
- - Changed formData slot to add custom inputs to the top of form instead of the bottom
274
- - Fixed bug causing the correct error validation message from being shown
275
- - \<sqm-portal-email-verification>
276
- - Changed hardcoded text into customizable props
277
- - \<sqm-portal-verify-email>
278
- - Fixed bug causing users to get stuck if no userIdent existed when verifying their email
279
-
280
- ### Added
281
-
282
- - Default affiliate portal templates now provided in [Stencilbook](https://mint-components.stencilbook.saasquat.ch)
283
- - Default Portal
284
- - Multi Program Portal
285
- - Lead Submit Portal
286
- - Portal Dashboard (program widget)
287
- - New components added for default affiliate portals
288
- - \<sqm-portal-footer> Footer for providing FAQ, T&S, and support email
289
- - \<sqm-hero> One or two column landing page with an optional background
290
- - \<sqm-name-fields> First and last name inputs for registration which supports validation errors
291
- - \<sqm-referral-iframe> Renders an iFrame and passes users referral code as a UTM param named rsCode
292
-
293
- ## [1.2.1] - 2021-09-21
294
-
295
- ### Fixed
296
-
297
- - demoData no longer breaking GrapesJS editability on all components
298
- - \<sqm-big-stat> properly supports units with/without slashes
299
- - \<sqm-big-stat> rewardBalance stat now uses format if included for the fallback value
300
- - \<sqm-referral-table> dateScheduledFor bug fixed, deleted user bug fixed
301
-
302
- ### Added
303
-
304
- - Filtered Credit and Integration reward count stats now available in \<sqm-big-stat>
305
- - formats:
306
- ```
307
- /(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?
308
- /(integrationRewardsCountFiltered)/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?
309
- ```
310
- - \<sqm-share-button> loading states and hide text prop
311
- - \<sqm-divided-layout> border customizable
312
- - \<sqm-leaderboard> allows rank to be shown
313
-
314
- ### Removed
315
-
316
- - menuLabel prop removed from \<sqm-program-menu>
317
-
318
- ## [1.2.0] - 2021-09-17
319
-
320
- ### Changed
321
-
322
- - Changed components:
323
- - \<sqm-referral-table> can pull only classic referrals
324
- - \<sqm-referral-table> supports showing "Referred You" row
325
- - \<sqm-referral-table> supports additional props to override text values
326
- - \<sqm-referral-table> has default loading and empty slots
327
- - \<sqm-referral-table> pagination button labels are customizable
328
- - \<sqm-share-button> text slot (default slot) is hideable
329
- - \<sqm-big-stat> will return appropriate stats or error for "classic" program id. Height is inherited
330
-
331
- ## [1.1.1] - 2021-08-20
332
-
333
- ### Added
334
-
335
- - Password field component with live validation
336
- - Newly available component:
337
- - \<sqm-password-field>
338
-
339
- ## [1.1.0] - 2021-08-04
340
-
341
- ### Added
342
-
343
- - New portal components and additional layout components
344
- - Newly available components:
345
- - \<sqm-asset-card>
346
- - \<sqm-divided-layout>
347
- - \<sqm-form-message>
348
- - \<sqm-graphql-client-provider>
349
- - \<sqm-navigation-sidebar>
350
- - \<sqm-navigation-sidebar-item>
351
- - \<sqm-portal-change-password>
352
- - \<sqm-portal-container>
353
- - \<sqm-portal-email-verification>
354
- - \<sqm-portal-forgot-password>
355
- - \<sqm-portal-login>
356
- - \<sqm-portal-logout>
357
- - \<sqm-portal-profile>
358
- - \<sqm-portal-protected-route>
359
- - \<sqm-portal-register>
360
- - \<sqm-portal-reset-password>
361
- - \<sqm-portal-verify-email>
362
- - \<sqm-program-menu>
363
- - \<sqm-referral-table>
364
- - \<sqm-table-cell>
365
- - \<sqm-table-row>
366
- - \<sqm-referral-table-cell>
367
- - \<sqm-referral-table-date-cell>
368
- - \<sqm-referral-table-rewards-cell>
369
- - \<sqm-referral-table-status-cell>
370
- - \<sqm-referral-table-user-cell>
371
- - \<sqm-referral-table-column>
372
- - \<sqm-referral-table-date-column>
373
- - \<sqm-referral-table-rewards-column>
374
- - \<sqm-referral-table-status-column>
375
- - \<sqm-referral-table-user-column>
376
- - \<sqm-share-code>
377
- - \<sqm-stat-container>
378
- - \<sqm-text>
379
- - \<sqm-text-span>
380
- - \<sqm-titled-section>
381
- - \<sqm-user-name>
382
-
383
- ## [1.0.0-86] - 2021-05-20
384
-
385
- ### Added
386
-
387
- - Initial release, components use stencil 2+, Sass mixins, and shoelace web components - https://shoelace.style
388
- - Available components:
389
- - \<sqm-big-stat>
390
- - \<sqm-edit-profile>
391
- - \<sqm-leaderboard>
392
- - \<sqm-leaderboard-rank>
393
- - \<sqm-navigation-menu>
394
- - \<sqm-portal-frame>
395
- - \<sqm-route>
396
- - \<sqm-router>
397
- - \<sqm-share-button>
398
- - \<sqm-share-link>
399
- - \<sqm-form-message>
400
- - \<sqm-hook-story-container>
401
- - \<sqm-popup-container>
402
- - \<sqm-stencilbook>
403
-
404
- [unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.5.3...HEAD
405
- [1.5.3]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.3
406
- [1.5.2]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.2
407
- [1.5.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.1
408
- [1.5.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.5.0
409
- [1.4.2]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.2
410
- [1.4.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.1
411
- [1.4.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.0
412
- [1.3.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.3.0
413
- [1.2.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.2.0
414
- [1.1.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.1.1