@saasquatch/mint-components 1.7.0-1 → 1.7.0-2

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 (40) hide show
  1. package/dist/cjs/{ShadowViewAddon-1fe631ba.js → ShadowViewAddon-1f9650bf.js} +3 -3
  2. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +3 -4
  3. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  4. package/dist/collection/components/sqm-brand/sqm-brand.js +4 -5
  5. package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +3 -3
  6. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  7. package/dist/collection/components/sqm-image/sqm-image.js +2 -2
  8. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
  9. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -2
  10. package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -2
  11. package/dist/esm/{ShadowViewAddon-c8e40951.js → ShadowViewAddon-9365d567.js} +3 -3
  12. package/dist/esm/sqm-big-stat_35.entry.js +3 -4
  13. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  14. package/dist/esm-es5/{ShadowViewAddon-c8e40951.js → ShadowViewAddon-9365d567.js} +1 -1
  15. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  16. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  17. package/dist/mint-components/mint-components.esm.js +1 -1
  18. package/dist/mint-components/{p-2bed0c6a.entry.js → p-077a4326.entry.js} +1 -1
  19. package/dist/mint-components/p-0ec3b3e5.system.js +1 -1
  20. package/dist/mint-components/p-3d52dceb.system.entry.js +1 -0
  21. package/dist/mint-components/{p-75982d34.system.js → p-4476b10c.system.js} +1 -1
  22. package/dist/mint-components/{p-1b3afdee.entry.js → p-45643ed7.entry.js} +1 -1
  23. package/dist/mint-components/{p-ea03ec68.system.entry.js → p-ae580128.system.entry.js} +1 -1
  24. package/dist/mint-components/{p-9f082483.js → p-fb978128.js} +1 -1
  25. package/dist/types/components/sqm-brand/sqm-brand.d.ts +2 -1
  26. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -1
  27. package/dist/types/components/sqm-image/sqm-image.d.ts +2 -1
  28. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -1
  29. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -1
  30. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -1
  31. package/dist/types/components.d.ts +24 -12
  32. package/docs/docs.docx +0 -0
  33. package/docs/raisins.json +1 -1
  34. package/grapesjs/grapesjs.js +1 -1
  35. package/package.json +1 -1
  36. package/dist/mint-components/p-491eb934.system.entry.js +0 -1
  37. package/dist/types/global/android.d.ts +0 -7
  38. package/dist/types/global/demo.d.ts +0 -1
  39. package/dist/types/stories/features.d.ts +0 -4
  40. package/dist/types/stories/templates.d.ts +0 -4
@@ -3741,11 +3741,11 @@ function CardFeedView(props, children) {
3741
3741
  display: block;
3742
3742
  ${props.cardBackgroundColor &&
3743
3743
  `--sl-color-neutral-0: ${props.cardBackgroundColor};`}
3744
- ${props.cardBackgroundColor &&
3744
+ ${props.cardTextColor &&
3745
3745
  `--sl-color-neutral-950: ${props.cardTextColor};`}
3746
- ${props.cardBackgroundColor &&
3746
+ ${props.cardTextColor &&
3747
3747
  `--sl-color-neutral-600: ${props.cardTextColor};`}
3748
- ${props.cardBackgroundColor &&
3748
+ ${props.cardTextColor &&
3749
3749
  `--sl-color-neutral-700: ${props.cardTextColor};`}
3750
3750
  ${props.cardBorderColor &&
3751
3751
  `--sl-color-neutral-200: ${props.cardBorderColor};`}
@@ -18,7 +18,7 @@ require('./luxon-59ca7d19.js');
18
18
  const utils = require('./utils-8ef4fe4a.js');
19
19
  require('./sqm-text-span-view-ab4ad6ef.js');
20
20
  require('./sqm-portal-container-view-a3e86fc2.js');
21
- const ShadowViewAddon = require('./ShadowViewAddon-1fe631ba.js');
21
+ const ShadowViewAddon = require('./ShadowViewAddon-1f9650bf.js');
22
22
  require('./sqm-portal-section-view-765aae4d.js');
23
23
 
24
24
  const BigStat = class {
@@ -100,7 +100,8 @@ const BrandComponent = class {
100
100
 
101
101
  :host{
102
102
  display: contents;
103
-
103
+ ${this.borderRadius && `border-radius: ${this.borderRadius};`}
104
+ ${this.backgroundColor && `background: ${this.backgroundColor};`}
104
105
  }
105
106
  /*
106
107
  Selects any element placed inside a slot
@@ -114,8 +115,6 @@ const BrandComponent = class {
114
115
  font-family: "${font}", arial;
115
116
 
116
117
  ${this.brandColor && css}
117
- ${this.borderRadius && `border-radius: ${this.borderRadius};`}
118
- ${this.backgroundColor && `background: ${this.backgroundColor};`}
119
118
  ${this.fontColor && `color: ${this.fontColor};`}
120
119
  --sl-focus-ring-color-primary: var(--sl-color-primary-100);
121
120
  --sl-input-border-color-focus: var(--sl-color-primary-500);
@@ -28,7 +28,7 @@ const sqmPortalContainerView = require('./sqm-portal-container-view-a3e86fc2.js'
28
28
  const sqmPortalProfileView = require('./sqm-portal-profile-view-a8ee44c2.js');
29
29
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-042073ca.js');
30
30
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-cb3c9c2f.js');
31
- const ShadowViewAddon = require('./ShadowViewAddon-1fe631ba.js');
31
+ const ShadowViewAddon = require('./ShadowViewAddon-1f9650bf.js');
32
32
  const sqmPortalSectionView = require('./sqm-portal-section-view-765aae4d.js');
33
33
 
34
34
  /**
@@ -36,7 +36,8 @@ export class BrandComponent {
36
36
 
37
37
  :host{
38
38
  display: contents;
39
-
39
+ ${this.borderRadius && `border-radius: ${this.borderRadius};`}
40
+ ${this.backgroundColor && `background: ${this.backgroundColor};`}
40
41
  }
41
42
  /*
42
43
  Selects any element placed inside a slot
@@ -50,8 +51,6 @@ export class BrandComponent {
50
51
  font-family: "${font}", arial;
51
52
 
52
53
  ${this.brandColor && css}
53
- ${this.borderRadius && `border-radius: ${this.borderRadius};`}
54
- ${this.backgroundColor && `background: ${this.backgroundColor};`}
55
54
  ${this.fontColor && `color: ${this.fontColor};`}
56
55
  --sl-focus-ring-color-primary: var(--sl-color-primary-100);
57
56
  --sl-input-border-color-focus: var(--sl-color-primary-500);
@@ -146,10 +145,10 @@ export class BrandComponent {
146
145
  "optional": true,
147
146
  "docs": {
148
147
  "tags": [{
149
- "text": "Configure border radius with pixel amount",
148
+ "text": "Border Radius",
150
149
  "name": "uiName"
151
150
  }],
152
- "text": ""
151
+ "text": "Configure border radius with pixel amount"
153
152
  },
154
153
  "attribute": "border-radius",
155
154
  "reflect": false
@@ -18,11 +18,11 @@ export function CardFeedView(props, children) {
18
18
  display: block;
19
19
  ${props.cardBackgroundColor &&
20
20
  `--sl-color-neutral-0: ${props.cardBackgroundColor};`}
21
- ${props.cardBackgroundColor &&
21
+ ${props.cardTextColor &&
22
22
  `--sl-color-neutral-950: ${props.cardTextColor};`}
23
- ${props.cardBackgroundColor &&
23
+ ${props.cardTextColor &&
24
24
  `--sl-color-neutral-600: ${props.cardTextColor};`}
25
- ${props.cardBackgroundColor &&
25
+ ${props.cardTextColor &&
26
26
  `--sl-color-neutral-700: ${props.cardTextColor};`}
27
27
  ${props.cardBorderColor &&
28
28
  `--sl-color-neutral-200: ${props.cardBorderColor};`}
@@ -497,10 +497,10 @@ export class HeroImage {
497
497
  "optional": true,
498
498
  "docs": {
499
499
  "tags": [{
500
- "text": "Configure border radius with pixel amount",
500
+ "text": "Border Radius",
501
501
  "name": "uiName"
502
502
  }],
503
- "text": ""
503
+ "text": "Configure border radius with pixel amount."
504
504
  },
505
505
  "attribute": "border-radius",
506
506
  "reflect": false
@@ -139,10 +139,10 @@ export class Image {
139
139
  "optional": true,
140
140
  "docs": {
141
141
  "tags": [{
142
- "text": "Configure border radius with pixel amount",
142
+ "text": "Border Radius",
143
143
  "name": "uiName"
144
144
  }],
145
- "text": ""
145
+ "text": "Configure border radius with pixel amount."
146
146
  },
147
147
  "attribute": "border-radius",
148
148
  "reflect": false
@@ -181,10 +181,10 @@ export class PortalContainer {
181
181
  "optional": true,
182
182
  "docs": {
183
183
  "tags": [{
184
- "text": "Configure border radius with pixel amount",
184
+ "text": "Border Radius",
185
185
  "name": "uiName"
186
186
  }],
187
- "text": ""
187
+ "text": "Configure border radius with pixel amount."
188
188
  },
189
189
  "attribute": "border-radius",
190
190
  "reflect": false
@@ -127,10 +127,10 @@ export class ReferralCard {
127
127
  "optional": true,
128
128
  "docs": {
129
129
  "tags": [{
130
- "text": "Configure border radius with pixel amount",
130
+ "text": "Border Radius",
131
131
  "name": "uiName"
132
132
  }],
133
- "text": ""
133
+ "text": "Configure border radius with pixel amount."
134
134
  },
135
135
  "attribute": "border-radius",
136
136
  "reflect": false
@@ -212,10 +212,10 @@ export class ShareLink {
212
212
  "optional": true,
213
213
  "docs": {
214
214
  "tags": [{
215
- "text": "Configure border radius with pixel amount",
215
+ "text": "Border Radius",
216
216
  "name": "uiName"
217
217
  }],
218
- "text": ""
218
+ "text": "Configure border radius with pixel amount."
219
219
  },
220
220
  "attribute": "border-radius",
221
221
  "reflect": false
@@ -3739,11 +3739,11 @@ function CardFeedView(props, children) {
3739
3739
  display: block;
3740
3740
  ${props.cardBackgroundColor &&
3741
3741
  `--sl-color-neutral-0: ${props.cardBackgroundColor};`}
3742
- ${props.cardBackgroundColor &&
3742
+ ${props.cardTextColor &&
3743
3743
  `--sl-color-neutral-950: ${props.cardTextColor};`}
3744
- ${props.cardBackgroundColor &&
3744
+ ${props.cardTextColor &&
3745
3745
  `--sl-color-neutral-600: ${props.cardTextColor};`}
3746
- ${props.cardBackgroundColor &&
3746
+ ${props.cardTextColor &&
3747
3747
  `--sl-color-neutral-700: ${props.cardTextColor};`}
3748
3748
  ${props.cardBorderColor &&
3749
3749
  `--sl-color-neutral-200: ${props.cardBorderColor};`}
@@ -14,7 +14,7 @@ import './luxon-578505e2.js';
14
14
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-d7bbb0e2.js';
15
15
  import './sqm-text-span-view-020db63f.js';
16
16
  import './sqm-portal-container-view-5d6f1411.js';
17
- import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-c8e40951.js';
17
+ import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-9365d567.js';
18
18
  import './sqm-portal-section-view-c8d1c727.js';
19
19
 
20
20
  const BigStat = class {
@@ -96,7 +96,8 @@ const BrandComponent = class {
96
96
 
97
97
  :host{
98
98
  display: contents;
99
-
99
+ ${this.borderRadius && `border-radius: ${this.borderRadius};`}
100
+ ${this.backgroundColor && `background: ${this.backgroundColor};`}
100
101
  }
101
102
  /*
102
103
  Selects any element placed inside a slot
@@ -110,8 +111,6 @@ const BrandComponent = class {
110
111
  font-family: "${font}", arial;
111
112
 
112
113
  ${this.brandColor && css}
113
- ${this.borderRadius && `border-radius: ${this.borderRadius};`}
114
- ${this.backgroundColor && `background: ${this.backgroundColor};`}
115
114
  ${this.fontColor && `color: ${this.fontColor};`}
116
115
  --sl-focus-ring-color-primary: var(--sl-color-primary-100);
117
116
  --sl-input-border-color-focus: var(--sl-color-primary-500);
@@ -24,7 +24,7 @@ import { P as PortalContainerView } from './sqm-portal-container-view-5d6f1411.j
24
24
  import { P as PortalProfileView } from './sqm-portal-profile-view-3d621db8.js';
25
25
  import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-e0436989.js';
26
26
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c489166b.js';
27
- import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-c8e40951.js';
27
+ import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-9365d567.js';
28
28
  import { P as PortalSectionView } from './sqm-portal-section-view-c8d1c727.js';
29
29
 
30
30
  /**