@saasquatch/mint-components 1.15.0-37 → 1.15.0-39

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 (171) hide show
  1. package/dist/cjs/{GenericTableView-925a0842.js → GenericTableView-40fd9dd1.js} +1 -1
  2. package/dist/cjs/{ShadowViewAddon-3460f9e5.js → ShadowViewAddon-8993904c.js} +26 -21
  3. package/dist/cjs/{copy-text-view-f0702822.js → copy-text-view-9017cd99.js} +3 -2
  4. package/dist/cjs/{global-efeaed0c.js → global-a1506e15.js} +100 -105
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/mint-components.cjs.js +2 -2
  7. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +217 -133
  8. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +23 -21
  9. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  11. package/dist/cjs/{sqm-invoice-table-view-64038caf.js → sqm-invoice-table-view-d4bc23a8.js} +1 -1
  12. package/dist/cjs/{sqm-leaderboard-rank-view-d39a55d8.js → sqm-leaderboard-rank-view-7c6cebe3.js} +1 -1
  13. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-pagination_3.cjs.entry.js +10 -10
  15. package/dist/cjs/{sqm-portal-email-verification-view-f41d2630.js → sqm-portal-email-verification-view-b6a76150.js} +1 -1
  16. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  17. package/dist/cjs/{sqm-portal-profile-view-8ed04298.js → sqm-portal-profile-view-0639cfa0.js} +1 -1
  18. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
  20. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
  21. package/dist/cjs/sqm-stencilbook.cjs.entry.js +17 -8
  22. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +7 -0
  23. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +3 -3
  24. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
  25. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
  26. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +8 -8
  27. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  28. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  29. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +2 -2
  30. package/dist/collection/components/sqm-pagination/sqm-pagination.js +8 -8
  31. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
  32. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  33. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +9 -9
  34. package/dist/collection/components/sqm-share-code/sqm-share-code.js +9 -9
  35. package/dist/collection/components/sqm-share-link/sqm-share-link.js +9 -9
  36. package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
  37. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
  38. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +8 -10
  39. package/dist/collection/components/sqm-task-card/sqm-task-card.js +10 -10
  40. package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
  41. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -2
  42. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +18 -30
  43. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -2
  44. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +14 -26
  45. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +2 -2
  46. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -11
  47. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +123 -59
  48. package/dist/collection/components/views/copy-text-view.js +3 -2
  49. package/dist/collection/global/styles.js +100 -105
  50. package/dist/collection/global/styles.ts +100 -105
  51. package/dist/collection/tables/GenericTableView.js +1 -1
  52. package/dist/esm/{GenericTableView-cb1581d8.js → GenericTableView-708c49d6.js} +1 -1
  53. package/dist/esm/{ShadowViewAddon-168ab439.js → ShadowViewAddon-4e3d77d4.js} +26 -21
  54. package/dist/esm/{copy-text-view-3f41072a.js → copy-text-view-0faf5db4.js} +3 -2
  55. package/dist/esm/{global-8245250a.js → global-7687af94.js} +100 -105
  56. package/dist/esm/loader.js +2 -2
  57. package/dist/esm/mint-components.js +2 -2
  58. package/dist/esm/sqm-banking-info-form_17.entry.js +217 -133
  59. package/dist/esm/sqm-big-stat_41.entry.js +23 -21
  60. package/dist/esm/sqm-email-verification.entry.js +1 -1
  61. package/dist/esm/sqm-empty_4.entry.js +1 -1
  62. package/dist/esm/{sqm-invoice-table-view-fc6d1809.js → sqm-invoice-table-view-b33d96e3.js} +1 -1
  63. package/dist/esm/{sqm-leaderboard-rank-view-753c8d4a.js → sqm-leaderboard-rank-view-84b3c539.js} +1 -1
  64. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  65. package/dist/esm/sqm-pagination_3.entry.js +10 -10
  66. package/dist/esm/{sqm-portal-email-verification-view-e43830d8.js → sqm-portal-email-verification-view-4a0f0e0e.js} +1 -1
  67. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  68. package/dist/esm/{sqm-portal-profile-view-6168db65.js → sqm-portal-profile-view-62d46ac3.js} +1 -1
  69. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  70. package/dist/esm/sqm-referral-table_11.entry.js +2 -2
  71. package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
  72. package/dist/esm/sqm-stencilbook.entry.js +17 -8
  73. package/dist/esm-es5/{GenericTableView-cb1581d8.js → GenericTableView-708c49d6.js} +1 -1
  74. package/dist/esm-es5/ShadowViewAddon-4e3d77d4.js +1 -0
  75. package/dist/esm-es5/copy-text-view-0faf5db4.js +1 -0
  76. package/dist/esm-es5/{global-8245250a.js → global-7687af94.js} +1 -1
  77. package/dist/esm-es5/loader.js +1 -1
  78. package/dist/esm-es5/mint-components.js +1 -1
  79. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  80. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  81. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  82. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  83. package/dist/esm-es5/{sqm-invoice-table-view-fc6d1809.js → sqm-invoice-table-view-b33d96e3.js} +1 -1
  84. package/dist/esm-es5/sqm-leaderboard-rank-view-84b3c539.js +1 -0
  85. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  86. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  87. package/dist/esm-es5/{sqm-portal-email-verification-view-e43830d8.js → sqm-portal-email-verification-view-4a0f0e0e.js} +1 -1
  88. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  89. package/dist/esm-es5/{sqm-portal-profile-view-6168db65.js → sqm-portal-profile-view-62d46ac3.js} +1 -1
  90. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  91. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  92. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  93. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  94. package/dist/mint-components/global/styles.ts +100 -105
  95. package/dist/mint-components/mint-components.esm.js +1 -1
  96. package/dist/mint-components/mint-components.js +1 -1
  97. package/dist/mint-components/{p-fec8efdd.entry.js → p-08b16fb7.entry.js} +4 -4
  98. package/dist/mint-components/{p-63d1eee7.entry.js → p-0b8d5d3d.entry.js} +8 -8
  99. package/dist/mint-components/{p-6299deb2.js → p-20739990.js} +24 -24
  100. package/dist/mint-components/{p-294f6682.js → p-2e8e67cc.js} +1 -1
  101. package/dist/mint-components/{p-439d83e0.system.js → p-34769eff.system.js} +1 -1
  102. package/dist/mint-components/{p-f5d85e3e.system.entry.js → p-34ac0b09.system.entry.js} +1 -1
  103. package/dist/mint-components/p-3d2f8cbc.system.js +1 -0
  104. package/dist/mint-components/{p-7e946977.js → p-433824e2.js} +1 -1
  105. package/dist/mint-components/{p-ffaaec76.system.js → p-44ac52a2.system.js} +1 -1
  106. package/dist/mint-components/{p-b368a2c8.system.entry.js → p-66f1e3ca.system.entry.js} +1 -1
  107. package/dist/mint-components/p-80ff5401.js +1 -0
  108. package/dist/mint-components/p-848e9ec3.system.entry.js +1 -0
  109. package/dist/mint-components/p-86503f64.system.js +1 -0
  110. package/dist/mint-components/{p-1bce039d.js → p-8c0b1ac0.js} +1 -1
  111. package/dist/mint-components/{p-f028fab1.system.entry.js → p-902b7a82.system.entry.js} +1 -1
  112. package/dist/mint-components/p-9364bafc.js +394 -0
  113. package/dist/mint-components/{p-bae04b8f.system.entry.js → p-98787da3.system.entry.js} +1 -1
  114. package/dist/mint-components/{p-6f6d012c.system.entry.js → p-9cd6bfdc.system.entry.js} +1 -1
  115. package/dist/mint-components/{p-9e1c1de0.entry.js → p-9e9b0872.entry.js} +1 -1
  116. package/dist/mint-components/p-9eefe4c9.entry.js +13 -0
  117. package/dist/mint-components/{p-2351359c.entry.js → p-a0058cc7.entry.js} +2 -2
  118. package/dist/mint-components/{p-2d3f007a.system.js → p-a533896f.system.js} +1 -1
  119. package/dist/mint-components/{p-5c4e52c8.entry.js → p-ae4d913e.entry.js} +1 -1
  120. package/dist/mint-components/p-af1cacf1.system.entry.js +1 -0
  121. package/dist/mint-components/{p-b237385a.system.entry.js → p-b1900e52.system.entry.js} +1 -1
  122. package/dist/mint-components/p-b637f1e4.js +1 -0
  123. package/dist/mint-components/{p-e24fcb4a.system.entry.js → p-c1b344c4.system.entry.js} +1 -1
  124. package/dist/mint-components/{p-42aa0297.js → p-c4fbbc74.js} +1 -1
  125. package/dist/mint-components/{p-0851dfa3.system.js → p-c58b40bf.system.js} +1 -1
  126. package/dist/mint-components/{p-3f62222f.entry.js → p-cc8c9cc9.entry.js} +1 -1
  127. package/dist/mint-components/{p-8436db3c.entry.js → p-ce37a5c3.entry.js} +1 -1
  128. package/dist/mint-components/{p-5a99b353.entry.js → p-d9b35316.entry.js} +2 -2
  129. package/dist/mint-components/{p-2767445a.system.entry.js → p-e19453a5.system.entry.js} +1 -1
  130. package/dist/mint-components/{p-668ccb8e.entry.js → p-e7319266.entry.js} +1 -1
  131. package/dist/mint-components/{p-085ae7a9.system.js → p-e91dc17b.system.js} +1 -1
  132. package/dist/mint-components/{p-d6fbde94.entry.js → p-f2cffad0.entry.js} +1 -1
  133. package/dist/mint-components/{p-aa1e98d1.system.js → p-f53ec590.system.js} +1 -1
  134. package/dist/mint-components/p-fbef4ecb.system.js +1 -0
  135. package/dist/mint-components/p-fd85e5bd.system.entry.js +1 -0
  136. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +2 -0
  137. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +1 -0
  138. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +1 -1
  139. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  140. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -1
  141. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +4 -4
  142. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -1
  143. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +4 -4
  144. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +0 -1
  145. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +4 -4
  146. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +4 -4
  147. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +4 -4
  148. package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
  149. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
  150. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +3 -3
  151. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
  152. package/dist/types/components/views/copy-text-view.d.ts +1 -1
  153. package/dist/types/components.d.ts +58 -58
  154. package/dist/types/global/styles.d.ts +1 -1
  155. package/docs/docs.docx +0 -0
  156. package/docs/raisins.json +1 -1
  157. package/grapesjs/grapesjs.js +1 -1
  158. package/package.json +1 -1
  159. package/dist/esm-es5/ShadowViewAddon-168ab439.js +0 -1
  160. package/dist/esm-es5/copy-text-view-3f41072a.js +0 -1
  161. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
  162. package/dist/mint-components/p-10586a3f.js +0 -1
  163. package/dist/mint-components/p-14a65f29.system.js +0 -1
  164. package/dist/mint-components/p-1c9a93aa.system.entry.js +0 -1
  165. package/dist/mint-components/p-24cedc6c.system.js +0 -1
  166. package/dist/mint-components/p-4e5af50c.js +0 -1
  167. package/dist/mint-components/p-5c9f5fc9.entry.js +0 -13
  168. package/dist/mint-components/p-7e512aab.js +0 -394
  169. package/dist/mint-components/p-81cdc344.system.entry.js +0 -1
  170. package/dist/mint-components/p-96736dfc.system.js +0 -1
  171. package/dist/mint-components/p-d4801585.system.entry.js +0 -1
@@ -20,11 +20,11 @@ export class Pagination {
20
20
  */
21
21
  this.paginationText = "{currentPage} of {totalPages}";
22
22
  /**
23
- * The type of the button (primary or secondary) that will be used to copy the link.
23
+ * The type of the button that is used (primary, secondary, or tertiary).
24
24
  * @uiName Button Type
25
25
  * @uiType string
26
- * @uiEnum ["primary", "secondary"]
27
- * @uiEnumNames ["Primary", "Secondary"]
26
+ * @uiEnum ["primary", "secondary", "tertiary"]
27
+ * @uiEnumNames ["Primary", "Secondary", "Tertiary"]
28
28
  * @uiGroup Style
29
29
  */
30
30
  this.buttonType = "secondary";
@@ -65,8 +65,8 @@ export class Pagination {
65
65
  "type": "string",
66
66
  "mutable": false,
67
67
  "complexType": {
68
- "original": "\"primary\" | \"secondary\"",
69
- "resolved": "\"primary\" | \"secondary\"",
68
+ "original": "\"primary\" | \"secondary\" | \"tertiary\"",
69
+ "resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
70
70
  "references": {}
71
71
  },
72
72
  "required": false,
@@ -79,16 +79,16 @@ export class Pagination {
79
79
  "text": "string",
80
80
  "name": "uiType"
81
81
  }, {
82
- "text": "[\"primary\", \"secondary\"]",
82
+ "text": "[\"primary\", \"secondary\", \"tertiary\"]",
83
83
  "name": "uiEnum"
84
84
  }, {
85
- "text": "[\"Primary\", \"Secondary\"]",
85
+ "text": "[\"Primary\", \"Secondary\", \"Tertiary\"]",
86
86
  "name": "uiEnumNames"
87
87
  }, {
88
88
  "text": "Style",
89
89
  "name": "uiGroup"
90
90
  }],
91
- "text": "The type of the button (primary or secondary) that will be used to copy the link."
91
+ "text": "The type of the button that is used (primary, secondary, or tertiary)."
92
92
  },
93
93
  "attribute": "button-type",
94
94
  "reflect": false,
@@ -445,7 +445,7 @@ export class PortalChangePassword {
445
445
  "mutable": false,
446
446
  "complexType": {
447
447
  "original": "DemoData<PortalChangePasswordViewProps>",
448
- "resolved": "{ states?: { open: boolean; error: string; loading: boolean; success: boolean; content: { modalChangePasswordHeader: string; cancelText: string; changePasswordButtonText: string; passwordFieldLabel: string; confirmPasswordFieldLabel: string; successMessage: string; portalChangePasswordHeader: string; portalChangePasswordButtonText: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }; borderRadius?: string; buttonType?: \"primary\" | \"secondary\" | \"tertiary\"; background?: string; }",
448
+ "resolved": "{ states?: { open: boolean; error: string; loading: boolean; success: boolean; content: { modalChangePasswordHeader: string; cancelText: string; changePasswordButtonText: string; passwordFieldLabel: string; confirmPasswordFieldLabel: string; successMessage: string; portalChangePasswordHeader: string; portalChangePasswordButtonText: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }; borderRadius?: string; background?: string; }",
449
449
  "references": {
450
450
  "DemoData": {
451
451
  "location": "import",
@@ -9,8 +9,8 @@ const vanillaStyle = `
9
9
  }
10
10
  a{
11
11
  cursor:pointer;
12
- color: inherit;
13
- text-decoration: none;
12
+ color: var(--sqm-text-subdued);
13
+ text-decoration: none ;
14
14
  }
15
15
  `;
16
16
  export function PortalFooterView(props) {
@@ -26,14 +26,14 @@ export function PortalFooterView(props) {
26
26
  "flex-direction": "column",
27
27
  "align-items": "center",
28
28
  "font-size": "var(--sl-font-size-small)",
29
- color: "var(--sl-color-gray-600)",
29
+ color: "var(--sqm-text-subdued)",
30
30
  "padding-top": `var(--sl-spacing-${props.paddingTop})`,
31
31
  "padding-right": `var(--sl-spacing-${props.paddingRight})`,
32
32
  "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
33
33
  "padding-left": `var(--sl-spacing-${props.paddingLeft})`,
34
34
  "row-gap": `var(--sl-spacing-small)`,
35
35
  "& a:hover": {
36
- color: "var(--sl-color-gray-900)",
36
+ color: "var(--sqm-text)",
37
37
  },
38
38
  },
39
39
  SupportText: {
@@ -41,7 +41,7 @@ export function PortalFooterView(props) {
41
41
  margin: 0,
42
42
  },
43
43
  PoweredByLink: {
44
- color: "var(--sl-color-gray-400)",
44
+ color: "var(--sqm-text-subdued)",
45
45
  "font-size": "var(--sl-font-size-small)",
46
46
  display: "flex",
47
47
  alignItems: "center",
@@ -50,7 +50,7 @@ export function PortalFooterView(props) {
50
50
  shapeRendering: "geometricprecision",
51
51
  },
52
52
  "&:hover, &:hover *": {
53
- color: "var(--sl-color-gray-900)",
53
+ color: "var(--sqm-text)",
54
54
  },
55
55
  },
56
56
  };
@@ -62,11 +62,11 @@ export class ReferralCode {
62
62
  */
63
63
  this.buttonStyle = "icon";
64
64
  /**
65
- * The type of the button (primary or secondary) that will be used to copy the link.
65
+ * The type of the button that is used (primary, secondary, or tertiary).
66
66
  * @uiName Button Type
67
67
  * @uiType string
68
- * @uiEnum ["primary", "secondary"]
69
- * @uiEnumNames ["Primary", "Secondary"]
68
+ * @uiEnum ["primary", "secondary", "tertiary"]
69
+ * @uiEnumNames ["Primary", "Secondary", "Tertiary"]
70
70
  * @uiGroup Style
71
71
  */
72
72
  this.buttonType = "primary";
@@ -394,8 +394,8 @@ export class ReferralCode {
394
394
  "type": "string",
395
395
  "mutable": false,
396
396
  "complexType": {
397
- "original": "\"primary\" | \"secondary\"",
398
- "resolved": "\"primary\" | \"secondary\"",
397
+ "original": "\"primary\" | \"secondary\" | \"tertiary\"",
398
+ "resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
399
399
  "references": {}
400
400
  },
401
401
  "required": false,
@@ -408,16 +408,16 @@ export class ReferralCode {
408
408
  "text": "string",
409
409
  "name": "uiType"
410
410
  }, {
411
- "text": "[\"primary\", \"secondary\"]",
411
+ "text": "[\"primary\", \"secondary\", \"tertiary\"]",
412
412
  "name": "uiEnum"
413
413
  }, {
414
- "text": "[\"Primary\", \"Secondary\"]",
414
+ "text": "[\"Primary\", \"Secondary\", \"Tertiary\"]",
415
415
  "name": "uiEnumNames"
416
416
  }, {
417
417
  "text": "Style",
418
418
  "name": "uiGroup"
419
419
  }],
420
- "text": "The type of the button (primary or secondary) that will be used to copy the link."
420
+ "text": "The type of the button that is used (primary, secondary, or tertiary)."
421
421
  },
422
422
  "attribute": "button-type",
423
423
  "reflect": false,
@@ -428,7 +428,7 @@ export class ReferralCode {
428
428
  "mutable": false,
429
429
  "complexType": {
430
430
  "original": "DemoData<CopyTextViewProps>",
431
- "resolved": "{ loading?: boolean; textColor?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
431
+ "resolved": "{ loading?: boolean; textColor?: string; buttonType?: \"primary\" | \"secondary\" | \"tertiary\"; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; borderColor?: string; onClick?: () => void; }",
432
432
  "references": {
433
433
  "DemoData": {
434
434
  "location": "import",
@@ -50,11 +50,11 @@ export class ShareCode {
50
50
  */
51
51
  this.buttonStyle = "icon";
52
52
  /**
53
- * The type of the button (primary or secondary) that will be used to copy the link.
53
+ * The type of the button that is used (primary, secondary, or tertiary).
54
54
  * @uiName Button Type
55
55
  * @uiType string
56
- * @uiEnum ["primary", "secondary"]
57
- * @uiEnumNames ["Primary", "Secondary"]
56
+ * @uiEnum ["primary", "secondary", "tertiary"]
57
+ * @uiEnumNames ["Primary", "Secondary", "Tertiary"]
58
58
  * @uiGroup Style
59
59
  */
60
60
  this.buttonType = "primary";
@@ -311,8 +311,8 @@ export class ShareCode {
311
311
  "type": "string",
312
312
  "mutable": false,
313
313
  "complexType": {
314
- "original": "\"primary\" | \"secondary\"",
315
- "resolved": "\"primary\" | \"secondary\"",
314
+ "original": "\"primary\" | \"secondary\" | \"tertiary\"",
315
+ "resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
316
316
  "references": {}
317
317
  },
318
318
  "required": false,
@@ -325,16 +325,16 @@ export class ShareCode {
325
325
  "text": "string",
326
326
  "name": "uiType"
327
327
  }, {
328
- "text": "[\"primary\", \"secondary\"]",
328
+ "text": "[\"primary\", \"secondary\", \"tertiary\"]",
329
329
  "name": "uiEnum"
330
330
  }, {
331
- "text": "[\"Primary\", \"Secondary\"]",
331
+ "text": "[\"Primary\", \"Secondary\", \"Tertiary\"]",
332
332
  "name": "uiEnumNames"
333
333
  }, {
334
334
  "text": "Style",
335
335
  "name": "uiGroup"
336
336
  }],
337
- "text": "The type of the button (primary or secondary) that will be used to copy the link."
337
+ "text": "The type of the button that is used (primary, secondary, or tertiary)."
338
338
  },
339
339
  "attribute": "button-type",
340
340
  "reflect": false,
@@ -374,7 +374,7 @@ export class ShareCode {
374
374
  "mutable": false,
375
375
  "complexType": {
376
376
  "original": "DemoData<CopyTextViewProps>",
377
- "resolved": "{ loading?: boolean; textColor?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
377
+ "resolved": "{ loading?: boolean; textColor?: string; buttonType?: \"primary\" | \"secondary\" | \"tertiary\"; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; borderColor?: string; onClick?: () => void; }",
378
378
  "references": {
379
379
  "DemoData": {
380
380
  "location": "import",
@@ -39,11 +39,11 @@ export class ShareLink {
39
39
  */
40
40
  this.copyButtonLabel = "Copy Link";
41
41
  /**
42
- * The type of the button (primary or secondary) that will be used to copy the link.
42
+ * The type of the button that is used (primary, secondary, or tertiary).
43
43
  * @uiName Button Type
44
44
  * @uiType string
45
- * @uiEnum ["primary", "secondary"]
46
- * @uiEnumNames ["Primary", "Secondary"]
45
+ * @uiEnum ["primary", "secondary", "tertiary"]
46
+ * @uiEnumNames ["Primary", "Secondary", "Tertiary"]
47
47
  * @uiGroup Style
48
48
  */
49
49
  this.buttonType = "primary";
@@ -306,8 +306,8 @@ export class ShareLink {
306
306
  "type": "string",
307
307
  "mutable": false,
308
308
  "complexType": {
309
- "original": "\"primary\" | \"secondary\"",
310
- "resolved": "\"primary\" | \"secondary\"",
309
+ "original": "\"primary\" | \"secondary\" | \"tertiary\"",
310
+ "resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
311
311
  "references": {}
312
312
  },
313
313
  "required": false,
@@ -320,16 +320,16 @@ export class ShareLink {
320
320
  "text": "string",
321
321
  "name": "uiType"
322
322
  }, {
323
- "text": "[\"primary\", \"secondary\"]",
323
+ "text": "[\"primary\", \"secondary\", \"tertiary\"]",
324
324
  "name": "uiEnum"
325
325
  }, {
326
- "text": "[\"Primary\", \"Secondary\"]",
326
+ "text": "[\"Primary\", \"Secondary\", \"Tertiary\"]",
327
327
  "name": "uiEnumNames"
328
328
  }, {
329
329
  "text": "Style",
330
330
  "name": "uiGroup"
331
331
  }],
332
- "text": "The type of the button (primary or secondary) that will be used to copy the link."
332
+ "text": "The type of the button that is used (primary, secondary, or tertiary)."
333
333
  },
334
334
  "attribute": "button-type",
335
335
  "reflect": false,
@@ -373,7 +373,7 @@ export class ShareLink {
373
373
  "mutable": false,
374
374
  "complexType": {
375
375
  "original": "DemoData<CopyTextViewProps>",
376
- "resolved": "{ loading?: boolean; textColor?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
376
+ "resolved": "{ loading?: boolean; textColor?: string; buttonType?: \"primary\" | \"secondary\" | \"tertiary\"; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; borderColor?: string; onClick?: () => void; }",
377
377
  "references": {
378
378
  "DemoData": {
379
379
  "location": "import",
@@ -2,6 +2,12 @@ import { h } from "@stencil/core";
2
2
  import { createStyleSheet } from "../../styling/JSS";
3
3
  export const style = {
4
4
  Description: {
5
+ "& .icon": {
6
+ color: "var(--sqm-text)",
7
+ "&:hover": {
8
+ color: "var(--sqm-accent-color-icon)",
9
+ },
10
+ },
5
11
  "& input[type=checkbox]": {
6
12
  display: "none",
7
13
  },
@@ -48,6 +54,6 @@ export function Details(props) {
48
54
  h("span", { class: sheet.classes.Description },
49
55
  h("input", { type: "checkbox", id: "details-" + rid }),
50
56
  h("label", { class: "details", htmlFor: "details-" + rid },
51
- h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
57
+ h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
52
58
  h("span", { class: "summary", "progress-bar": props.progressBar }, props.content.description))));
53
59
  }
@@ -48,7 +48,8 @@ const style = {
48
48
  width: "100%",
49
49
  height: "4px",
50
50
  borderRadius: "4px",
51
- backgroundColor: "var(--sl-color-primary-300)",
51
+ backgroundColor: "var(--sqm-accent-color-icon)",
52
+ background: "red",
52
53
  },
53
54
  "& .progress": {
54
55
  display: "block",
@@ -61,7 +62,7 @@ const style = {
61
62
  width: "12px",
62
63
  height: "12px",
63
64
  display: "flex",
64
- backgroundColor: "var(--sl-color-primary-300)",
65
+ backgroundColor: "var(--sqm-accent-color-icon)",
65
66
  borderRadius: "50%",
66
67
  position: "relative",
67
68
  left: "47%",
@@ -9,7 +9,7 @@ import * as SVGs from "./SVGs";
9
9
  export function TaskCardView(props) {
10
10
  var _a, _b;
11
11
  const { callbacks, states, content } = props;
12
- console.log("text color from the view ", content.textColor);
12
+ console.log("buttonType ", content.buttonType);
13
13
  const style = {
14
14
  TaskCard: {
15
15
  display: "inline-block",
@@ -26,8 +26,8 @@ export function TaskCardView(props) {
26
26
  color: content.textColor || "var(--sqm-text)",
27
27
  },
28
28
  "& .main.complete": {
29
- background: content.backgroundColor || "var(--sl-color-primary-50)",
30
- borderColor: content.borderColor || "var(--sl-color-primary-500)",
29
+ background: "var(--sl-color-primary-50)",
30
+ borderColor: "var(--sqm-accent-color-border)",
31
31
  },
32
32
  "& .main.expired": {
33
33
  color: content.textColor || "var(--sqm-text)",
@@ -88,7 +88,7 @@ export function TaskCardView(props) {
88
88
  top: "5%",
89
89
  alignSelf: "center",
90
90
  lineHeight: "0",
91
- color: content.textColor || "var(--sqm-text)",
91
+ color: "var(--sqm-accent-color-icon)",
92
92
  fontSize: "var(--sl-font-size-large)",
93
93
  marginRight: "var(--sl-spacing-x-small)",
94
94
  },
@@ -150,7 +150,7 @@ export function TaskCardView(props) {
150
150
  },
151
151
  };
152
152
  const sheet = createStyleSheet(style);
153
- const contenttring = sheet.toString();
153
+ const contentString = sheet.toString();
154
154
  const dateStart = content.rewardDuration &&
155
155
  DateTime.fromISO(content.rewardDuration.split("/")[0]);
156
156
  const dateEnd = content.rewardDuration &&
@@ -185,7 +185,7 @@ export function TaskCardView(props) {
185
185
  `;
186
186
  return (h("div", { class: sheet.classes.TaskCard, part: "sqm-base" },
187
187
  h("style", { type: "text/css" },
188
- contenttring,
188
+ contentString,
189
189
  vanillaStyle),
190
190
  !states.loading && taskNotStarted && (h("div", { class: sheet.classes.NotStarted },
191
191
  h("span", { class: "icon" },
@@ -233,7 +233,7 @@ export function TaskCardView(props) {
233
233
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
234
234
  } }, content.cardTitle)),
235
235
  states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
236
- content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
236
+ content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable })))),
237
237
  h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
238
238
  h("span", { class: "text" },
239
239
  content.repeatable && (h("div", null,
@@ -263,9 +263,7 @@ export function TaskCardView(props) {
263
263
  .setLocale(luxonLocale(states.locale))
264
264
  .toLocaleString(DateTime.DATETIME_MED),
265
265
  })))),
266
- content.hideButton ? ("") : (h("sl-button", { exportparts: `base: ${content.buttonStyle === "primary"
267
- ? "primary"
268
- : "secondary"}button-base`, id: "sl-button", type: content.buttonStyle === "primary" ? "primary" : "default", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
266
+ content.hideButton ? ("") : (h("sl-button", { exportparts: `base: ${content.buttonType || "primary"}button-base`, type: "primary", id: "sl-button", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
269
267
  opacity: taskComplete || taskUnavailable ? "0.45" : "1",
270
268
  } }, content.buttonText)))))))));
271
269
  }
@@ -127,11 +127,11 @@ export class TaskCard {
127
127
  /**
128
128
  * @uiName Button Style
129
129
  * @uiType string
130
- * @uiEnum ["primary", "secondary"]
131
- * @uiEnumNames ["Primary", "Secondary"]
130
+ * @uiEnum ["primary", "secondary", "tertiary"]
131
+ * @uiEnumNames ["Primary", "Secondary", "Tertiary"]
132
132
  * @uiGroup Style
133
133
  */
134
- this.buttonStyle = "primary";
134
+ this.buttonType = "primary";
135
135
  withHooks(this);
136
136
  }
137
137
  disconnectedCallback() { }
@@ -143,7 +143,6 @@ export class TaskCard {
143
143
  const { states, callbacks } = isDemo()
144
144
  ? useTaskCardDemo(this)
145
145
  : useTaskCard(this);
146
- console.log("button style from controller", this.buttonStyle);
147
146
  return (h(TaskCardView, { callbacks: callbacks, states: {
148
147
  loading,
149
148
  loadingEvent: states.loadingEvent,
@@ -846,12 +845,12 @@ export class TaskCard {
846
845
  "attribute": "border-radius",
847
846
  "reflect": false
848
847
  },
849
- "buttonStyle": {
848
+ "buttonType": {
850
849
  "type": "string",
851
850
  "mutable": false,
852
851
  "complexType": {
853
- "original": "\"primary\" | \"secondary\"",
854
- "resolved": "\"primary\" | \"secondary\"",
852
+ "original": "\"primary\" | \"secondary\" | \"tertiary\"",
853
+ "resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
855
854
  "references": {}
856
855
  },
857
856
  "required": false,
@@ -864,10 +863,10 @@ export class TaskCard {
864
863
  "text": "string",
865
864
  "name": "uiType"
866
865
  }, {
867
- "text": "[\"primary\", \"secondary\"]",
866
+ "text": "[\"primary\", \"secondary\", \"tertiary\"]",
868
867
  "name": "uiEnum"
869
868
  }, {
870
- "text": "[\"Primary\", \"Secondary\"]",
869
+ "text": "[\"Primary\", \"Secondary\", \"Tertiary\"]",
871
870
  "name": "uiEnumNames"
872
871
  }, {
873
872
  "text": "Style",
@@ -875,7 +874,7 @@ export class TaskCard {
875
874
  }],
876
875
  "text": ""
877
876
  },
878
- "attribute": "button-style",
877
+ "attribute": "button-type",
879
878
  "reflect": false,
880
879
  "defaultValue": "\"primary\""
881
880
  },
@@ -920,6 +919,7 @@ export class TaskCard {
920
919
  }
921
920
  function useTaskCardDemo(props) {
922
921
  return deepmerge({
922
+ content: { ...props },
923
923
  states: { loadingEvent: false, locale: "en" },
924
924
  callbacks: {
925
925
  sendEvent: (event) => console.log(event),
@@ -42,7 +42,7 @@ export function useTaskCard(props) {
42
42
  textColor: props.textColor,
43
43
  borderColor: props.borderColor,
44
44
  borderRadius: props.borderRadius,
45
- buttonStyle: props.buttonStyle,
45
+ buttonType: props.buttonType,
46
46
  },
47
47
  };
48
48
  return {
@@ -24,7 +24,7 @@ export function TimelineEntryView(props) {
24
24
  display: "none",
25
25
  color: "transparent",
26
26
  userSelect: "none",
27
- background: props.lineColor || "var(--sl-color-primary-500)",
27
+ background: props.lineColor || "var(--sqm-accent-color-icon)",
28
28
  width: "4px",
29
29
  borderRadius: "4px",
30
30
  margin: "-2px",
@@ -39,7 +39,7 @@ export function TimelineEntryView(props) {
39
39
  position: "relative",
40
40
  top: "4px",
41
41
  zIndex: "1",
42
- color: props.lineColor || "var(--sl-color-primary-500)",
42
+ color: props.lineColor || "var(--sqm-accent-color-icon)",
43
43
  marginRight: "var(--sl-spacing-large)",
44
44
  },
45
45
  "& .reward": {
@@ -33,24 +33,26 @@ const style = {
33
33
  gap: "8px",
34
34
  },
35
35
  ErrorText: {
36
- color: "var(--sl-color-danger-500)",
36
+ color: "var(--sqm-danger-color-icon)",
37
37
  marginTop: "10px",
38
38
  },
39
39
  PageDescriptionText: {
40
- color: "var(--sl-color-neutral-500)",
40
+ color: "var(--sqm-text-subdued)",
41
41
  fontSize: "var(--sl-font-size-medium)",
42
42
  },
43
43
  DescriptionText: {
44
- color: "var(--sl-color-neutral-500)",
44
+ color: "var(--sqm-text-subdued)",
45
45
  },
46
46
  AlertContainer: {
47
47
  "&::part(base)": {
48
- backgroundColor: "var(--sl-color-red-100)",
49
- borderTop: "none",
48
+ backgroundColor: "var(--sqm-danger-color-background)",
49
+ border: "none",
50
50
  padding: "0 16px",
51
+ color: "var(--sqm-danger-color-text)",
52
+ marginBottom: "16px",
51
53
  },
52
54
  "& sl-icon::part(base)": {
53
- color: "var(--sl-color-danger-500)",
55
+ color: "var(--sqm-danger-color-icon)",
54
56
  },
55
57
  },
56
58
  RadioContainer: {
@@ -59,12 +61,15 @@ const style = {
59
61
  },
60
62
  PartnerAlertContainer: {
61
63
  "&::part(base)": {
62
- backgroundColor: "var(--sl-color-sky-100)",
64
+ backgroundColor: "var(--sqm-informative-color-background)",
63
65
  borderTop: "none",
64
66
  padding: "0 16px",
67
+ border: "none",
68
+ color: "var(--sqm-informative-color-text)",
69
+ marginBottom: "16px",
65
70
  },
66
71
  "& sl-icon::part(base)": {
67
- color: "var(--sl-color-blue-500)",
72
+ color: "var(--sqm-informative-color-icon)",
68
73
  },
69
74
  },
70
75
  Checkbox: {
@@ -78,8 +83,8 @@ const style = {
78
83
  InputContainer: {
79
84
  padding: "16px",
80
85
  margin: "16px 0px 16px 0px",
81
- borderTop: "1px solid var(--sl-color-gray-300)",
82
- borderBottom: "1px solid var(--sl-color-gray-300)",
86
+ borderTop: "1px solid var(--sqm-border-color)",
87
+ borderBottom: "1px solid var(--sqm-border-color)",
83
88
  display: "flex",
84
89
  flexDirection: "column",
85
90
  width: "100%",
@@ -116,23 +121,6 @@ const style = {
116
121
  borderRadius: "50px",
117
122
  background: "var(--sl-color-gray-200)",
118
123
  },
119
- InfoAlert: {
120
- "&::part(base)": {
121
- backgroundColor: "transparent",
122
- borderTop: "none",
123
- border: "none",
124
- },
125
- "&::part(message)": {
126
- display: "flex",
127
- alignItems: "center",
128
- justifyContent: "flex-start",
129
- padding: "10px",
130
- height: "max-content",
131
- },
132
- "& sl-icon::part(base)": {
133
- color: "var(--sl-color-yellow-500)",
134
- },
135
- },
136
124
  InfoWarningIcon: {
137
125
  height: "26px",
138
126
  width: "26px",
@@ -157,12 +145,12 @@ const vanillaStyle = `
157
145
 
158
146
  /* this class is dynamically applied in controller */
159
147
  .error-input::part(base) {
160
- border: 1px solid var(--sl-color-danger-500);
161
- border-radius: var(--sl-input-border-radius-medium);
148
+ border: 1px solid var(--sqm-danger-color-border);
149
+ border-radius: var(--sqm-input-border-radius);
162
150
  }
163
151
 
164
152
  .error-input::part(help-text) {
165
- color: var(--sl-color-danger-500) !important;
153
+ color: var(--sqm-danger-color-text);
166
154
  }
167
155
 
168
156
  `;
@@ -40,7 +40,7 @@ export const DocusignExpiredView = (props) => {
40
40
  h("sl-icon", { style: {
41
41
  width: "50px",
42
42
  height: "50px",
43
- color: "var(--sl-color-neutral-500)",
43
+ color: "var(--sqm-text)",
44
44
  }, name: "clock" }),
45
45
  h("div", { class: classes.MessageContainer },
46
46
  h("p", { style: { margin: "0" } }, text.docusignExpired)),
@@ -55,7 +55,7 @@ export const DocusignErrorView = (props) => {
55
55
  h("sl-icon", { style: {
56
56
  width: "50px",
57
57
  height: "50px",
58
- color: "var(--sl-color-gray-500)",
58
+ color: "var(--sqm-text)",
59
59
  }, name: "exclamation-octagon" }),
60
60
  h("div", { class: classes.MessageContainer },
61
61
  h("p", { style: { margin: "0" } }, text.docusignError)),