@saasquatch/mint-components 1.5.0-46 → 1.5.0-47

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 (47) hide show
  1. package/dist/cjs/{AutoColor-b84c7159.js → AutoColor-c10e3534.js} +11 -56
  2. package/dist/cjs/sqm-brand_26.cjs.entry.js +25 -6
  3. package/dist/cjs/{sqm-stat-container-view-80e19a3e.js → sqm-stat-container-view-5b2db929.js} +1 -1
  4. package/dist/cjs/sqm-stat-container.cjs.entry.js +1 -1
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +14 -8
  6. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -6
  7. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +22 -3
  8. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +6 -6
  9. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +2 -2
  10. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +1 -1
  11. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +9 -54
  12. package/dist/esm/{AutoColor-08674820.js → AutoColor-7514ecea.js} +11 -56
  13. package/dist/esm/sqm-brand_26.entry.js +25 -6
  14. package/dist/esm/{sqm-stat-container-view-3cb831f3.js → sqm-stat-container-view-8a565c5a.js} +1 -1
  15. package/dist/esm/sqm-stat-container.entry.js +1 -1
  16. package/dist/esm/sqm-stencilbook.entry.js +14 -8
  17. package/dist/esm-es5/AutoColor-7514ecea.js +1 -0
  18. package/dist/esm-es5/sqm-brand_26.entry.js +1 -1
  19. package/dist/esm-es5/{sqm-stat-container-view-3cb831f3.js → sqm-stat-container-view-8a565c5a.js} +1 -1
  20. package/dist/esm-es5/sqm-stat-container.entry.js +1 -1
  21. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  22. package/dist/mint-components/mint-components.esm.js +1 -1
  23. package/dist/mint-components/p-204fd08c.js +1 -0
  24. package/dist/mint-components/{p-798122eb.system.entry.js → p-232db563.system.entry.js} +1 -1
  25. package/dist/mint-components/{p-41703514.system.entry.js → p-380cd32f.system.entry.js} +1 -1
  26. package/dist/mint-components/p-3df239df.js +30 -0
  27. package/dist/mint-components/{p-54067c8d.system.entry.js → p-8af1f7fa.system.entry.js} +1 -1
  28. package/dist/mint-components/p-b3201e4c.entry.js +1 -0
  29. package/dist/mint-components/p-b6fac9df.system.js +1 -0
  30. package/dist/mint-components/{p-f86a335b.system.js → p-b8434fc0.system.js} +1 -1
  31. package/dist/mint-components/p-bae9e152.system.js +1 -1
  32. package/dist/mint-components/{p-19021a2f.entry.js → p-ebc52d3e.entry.js} +7 -7
  33. package/dist/mint-components/{p-876c3017.entry.js → p-fa0abfd4.entry.js} +2 -2
  34. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +2 -2
  35. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -2
  36. package/dist/types/components.d.ts +4 -4
  37. package/dist/types/global/android.d.ts +7 -0
  38. package/dist/types/global/demo.d.ts +1 -0
  39. package/dist/types/stories/features.d.ts +4 -0
  40. package/dist/types/stories/templates.d.ts +4 -0
  41. package/grapesjs/grapesjs.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/esm-es5/AutoColor-08674820.js +0 -1
  44. package/dist/mint-components/p-0f6e531a.js +0 -30
  45. package/dist/mint-components/p-a5d83e91.entry.js +0 -1
  46. package/dist/mint-components/p-c660c342.js +0 -1
  47. package/dist/mint-components/p-d1e02b60.system.js +0 -1
@@ -21,8 +21,8 @@ function ShareButtonView(props, children) {
21
21
  border-radius: ${props.borderradius ? props.borderradius + "px" : ""};
22
22
  }
23
23
  *::part(label) {
24
- position: relative;
25
- top: 5%;
24
+ // position: relative;
25
+ // top: 5%;
26
26
  }
27
27
  `;
28
28
  const style = {
@@ -1155,24 +1155,9 @@ function TaskCardView(props) {
1155
1155
  id: "startsOnMessage",
1156
1156
  defaultMessage: content.startsOnMessage,
1157
1157
  }, {
1158
- startDate: states.locale.includes("en")
1159
- ? dateStart
1160
- .setLocale(utils.luxonLocale(states.locale))
1161
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED)
1162
- .split(",")
1163
- .slice(0, 2)
1164
- .join(",") +
1165
- " at " +
1166
- dateStart
1167
- .setLocale(utils.luxonLocale(states.locale))
1168
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED)
1169
- .split(",")
1170
- .slice(2)
1171
- .join(",")
1172
- .toLowerCase()
1173
- : dateStart
1174
- .setLocale(utils.luxonLocale(states.locale))
1175
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
1158
+ startDate: dateStart
1159
+ .setLocale(utils.luxonLocale(states.locale))
1160
+ .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
1176
1161
  }))),
1177
1162
  !states.loading && taskEnded && (index.h("div", { class: sheet$6.classes.Ended },
1178
1163
  index.h("span", { class: "icon" },
@@ -1181,24 +1166,9 @@ function TaskCardView(props) {
1181
1166
  id: "endedMessage",
1182
1167
  defaultMessage: content.endedMessage,
1183
1168
  }, {
1184
- endDate: states.locale.includes("en")
1185
- ? dateEnd
1186
- .setLocale(utils.luxonLocale(states.locale))
1187
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED)
1188
- .split(",")
1189
- .slice(0, 2)
1190
- .join(",") +
1191
- " at " +
1192
- dateEnd
1193
- .setLocale(utils.luxonLocale(states.locale))
1194
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED)
1195
- .split(",")
1196
- .slice(2)
1197
- .join(",")
1198
- .toLowerCase()
1199
- : dateEnd
1200
- .setLocale(states.locale)
1201
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
1169
+ endDate: dateEnd
1170
+ .setLocale(states.locale)
1171
+ .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
1202
1172
  }))),
1203
1173
  index.h("div", { style: {
1204
1174
  borderRadius: taskUnavailable &&
@@ -1249,24 +1219,9 @@ function TaskCardView(props) {
1249
1219
  id: "expiryMessage",
1250
1220
  defaultMessage: content.expiryMessage,
1251
1221
  }, {
1252
- endDate: states.locale.includes("en")
1253
- ? dateEnd
1254
- .setLocale(utils.luxonLocale(states.locale))
1255
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED)
1256
- .split(",")
1257
- .slice(0, 2)
1258
- .join(",") +
1259
- " at " +
1260
- dateEnd
1261
- .setLocale(utils.luxonLocale(states.locale))
1262
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED)
1263
- .split(",")
1264
- .slice(2)
1265
- .join(",")
1266
- .toLowerCase()
1267
- : dateEnd
1268
- .setLocale(utils.luxonLocale(states.locale))
1269
- .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
1222
+ endDate: dateEnd
1223
+ .setLocale(utils.luxonLocale(states.locale))
1224
+ .toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
1270
1225
  })))),
1271
1226
  index.h("sl-button", { class: taskUnavailable
1272
1227
  ? "action neutral"
@@ -20,7 +20,7 @@ const utils = require('./utils-01dbfd4a.js');
20
20
  require('./sqm-text-span-view-f101dedf.js');
21
21
  const useDemoBigStat = require('./useDemoBigStat-5f2198a1.js');
22
22
  const sqmPortalContainerView = require('./sqm-portal-container-view-185b4bd0.js');
23
- const AutoColor = require('./AutoColor-b84c7159.js');
23
+ const AutoColor = require('./AutoColor-c10e3534.js');
24
24
  require('./sqm-portal-section-view-3b6c990e.js');
25
25
 
26
26
  /**
@@ -5223,30 +5223,49 @@ const ProgramMenu = class {
5223
5223
  }
5224
5224
  };
5225
5225
 
5226
- function ReferralCardView(props, children) {
5226
+ function ReferralCardView(props) {
5227
5227
  const style = {
5228
5228
  Container: {
5229
5229
  display: "flex",
5230
+ color: "var(--sl-color-neutral-900)",
5230
5231
  "& .left": {
5231
5232
  width: "50%",
5232
5233
  padding: "var(--sl-spacing-" + props.padding + ")",
5234
+ paddingRight: "var(--sl-spacing-medium)",
5235
+ alignSelf: props.verticalAlignment,
5236
+ "@media (max-width: 499px)": {
5237
+ width: "100%",
5238
+ padding: "0",
5239
+ marginBottom: "var(--sl-spacing-xx-large)",
5240
+ },
5233
5241
  },
5234
5242
  "& .right": {
5235
5243
  width: "50%",
5236
5244
  padding: "var(--sl-spacing-" + props.padding + ")",
5245
+ paddingLeft: "var(--sl-spacing-medium)",
5246
+ alignSelf: props.verticalAlignment,
5247
+ "@media (max-width: 499px)": {
5248
+ width: "100%",
5249
+ padding: "0",
5250
+ },
5237
5251
  },
5238
5252
  border: "1px solid var(--sl-color-neutral-300)",
5239
5253
  borderRadius: "var(--sl-border-radius-large)",
5254
+ "@media (max-width: 499px)": {
5255
+ flexDirection: "column",
5256
+ border: "none",
5257
+ },
5240
5258
  },
5241
5259
  Text: {
5242
5260
  textAlign: "center",
5243
- marginBottom: "var(--sl-spacing-large)",
5261
+ marginBottom: "var(--sl-spacing-xx-large)",
5244
5262
  "& .header": {
5245
- fontSize: "var(--sl-font-size-large)",
5263
+ fontSize: "var(--sl-font-size-x-large)",
5246
5264
  fontWeight: "var(--sl-font-weight-semibold)",
5247
5265
  color: "var(--sl-color-neutral-900)",
5248
5266
  },
5249
5267
  "& .description": {
5268
+ fontSize: "var(--sl-font-size-large)",
5250
5269
  color: "var(--sl-color-neutral-600)",
5251
5270
  },
5252
5271
  },
@@ -5284,9 +5303,9 @@ const ReferralCard = class {
5284
5303
  /**
5285
5304
  * @uiName Padding
5286
5305
  * @uiType string
5287
- * @uiEnum ["top", "center"]
5306
+ * @uiEnum ["start", "center", "end"]
5288
5307
  */
5289
- this.verticalAlignment = "top";
5308
+ this.verticalAlignment = "start";
5290
5309
  stencilHooks_module.h$1(this);
5291
5310
  }
5292
5311
  disconnectedCallback() { }
@@ -24,7 +24,7 @@ function StatContainerView(props, children) {
24
24
  },
25
25
  "& > ::slotted(*)": {
26
26
  "border-right": "1px solid #EAEAEA",
27
- // "padding-right": divideSpace(),
27
+ "padding-right": divideSpace(),
28
28
  height: "100%",
29
29
  },
30
30
  "& > ::slotted(*:last-child)": {
@@ -7,7 +7,7 @@ const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
7
7
  require('./extends-08099afd.js');
8
8
  require('./JSS-c65a40f1.js');
9
9
  const utils = require('./utils-01dbfd4a.js');
10
- const sqmStatContainerView = require('./sqm-stat-container-view-80e19a3e.js');
10
+ const sqmStatContainerView = require('./sqm-stat-container-view-5b2db929.js');
11
11
 
12
12
  const StatContainer = class {
13
13
  constructor(hostRef) {
@@ -33,8 +33,8 @@ const sqmPortalContainerView = require('./sqm-portal-container-view-185b4bd0.js'
33
33
  const sqmPortalProfileView = require('./sqm-portal-profile-view-cdd94542.js');
34
34
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-1fdc957e.js');
35
35
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-4c78e231.js');
36
- const sqmStatContainerView = require('./sqm-stat-container-view-80e19a3e.js');
37
- const AutoColor = require('./AutoColor-b84c7159.js');
36
+ const sqmStatContainerView = require('./sqm-stat-container-view-5b2db929.js');
37
+ const AutoColor = require('./AutoColor-c10e3534.js');
38
38
  const sqmPortalSectionView = require('./sqm-portal-section-view-3b6c990e.js');
39
39
 
40
40
  /**
@@ -10487,13 +10487,19 @@ const ReferralCard = () => {
10487
10487
  return (index.h("div", null,
10488
10488
  index.h("sqm-referral-card", { header: "Share $50 with friends", description: "They\u2019ll get a $50 credit towards a new account and you\u2019ll get up to $1250." },
10489
10489
  index.h("div", { slot: "left" },
10490
- index.h("sqm-text", null,
10491
- index.h("h3", null, "Get rewarded when your friend uses Klip")),
10490
+ "Get rewarded when your friend uses Klip",
10492
10491
  index.h("sqm-media", { "image-url": "https://i.imgur.com/L3aRMde.png", "min-height": "0" })),
10493
- index.h("div", { slot: "right" },
10494
- index.h("sqm-share-code", null),
10495
- index.h("sqm-share-link", null),
10496
- index.h("sqm-share-button", null)))));
10492
+ index.h("sqm-portal-container", { gap: "large", slot: "right" },
10493
+ index.h("sqm-text", null, "Choose how you want to share:"),
10494
+ index.h("sqm-text", { style: {
10495
+ fontSize: "var(--sl-font-size-medium)",
10496
+ color: "var(--sl-color-neutral-600)",
10497
+ } },
10498
+ "Your unique referral link:",
10499
+ index.h("sqm-share-code", null)),
10500
+ index.h("sqm-share-button", { medium: "email", icon: "envelope", backgroundcolor: "#666666", textcolor: "#fff" }, "Share via email"),
10501
+ index.h("sqm-share-button", { medium: "facebook", backgroundcolor: "#0671E6", textcolor: "#fff" }, "Share on Facebook"),
10502
+ index.h("sqm-share-button", { medium: "twitter", backgroundcolor: "#47ACDF", textcolor: "#fff" }, "Tweet about us")))));
10497
10503
  };
10498
10504
  const TimelineWith1Reward = () => {
10499
10505
  return (index.h("div", null,
@@ -3,16 +3,30 @@ export default {
3
3
  title: "Components/Referral Card",
4
4
  };
5
5
  export const ReferralCard = () => {
6
+ const props = {
7
+ medium: "facebook",
8
+ type: "text",
9
+ backgroundcolor: "#3b5998",
10
+ textcolor: "#fff",
11
+ borderradius: 8,
12
+ iconslot: "prefix",
13
+ };
6
14
  return (h("div", null,
7
15
  h("sqm-referral-card", { header: "Share $50 with friends", description: "They\u2019ll get a $50 credit towards a new account and you\u2019ll get up to $1250." },
8
16
  h("div", { slot: "left" },
9
- h("sqm-text", null,
10
- h("h3", null, "Get rewarded when your friend uses Klip")),
17
+ "Get rewarded when your friend uses Klip",
11
18
  h("sqm-media", { "image-url": "https://i.imgur.com/L3aRMde.png", "min-height": "0" })),
12
- h("div", { slot: "right" },
13
- h("sqm-share-code", null),
14
- h("sqm-share-link", null),
15
- h("sqm-share-button", null)))));
19
+ h("sqm-portal-container", { gap: "large", slot: "right" },
20
+ h("sqm-text", null, "Choose how you want to share:"),
21
+ h("sqm-text", { style: {
22
+ fontSize: "var(--sl-font-size-medium)",
23
+ color: "var(--sl-color-neutral-600)",
24
+ } },
25
+ "Your unique referral link:",
26
+ h("sqm-share-code", null)),
27
+ h("sqm-share-button", { medium: "email", icon: "envelope", backgroundcolor: "#666666", textcolor: "#fff" }, "Share via email"),
28
+ h("sqm-share-button", { medium: "facebook", backgroundcolor: "#0671E6", textcolor: "#fff" }, "Share on Facebook"),
29
+ h("sqm-share-button", { medium: "twitter", backgroundcolor: "#47ACDF", textcolor: "#fff" }, "Tweet about us")))));
16
30
  };
17
31
  {
18
32
  /* <sqm-timeline slot="left">
@@ -1,29 +1,48 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { createStyleSheet } from "../../styling/JSS";
3
- export function ReferralCardView(props, children) {
3
+ export function ReferralCardView(props) {
4
4
  const style = {
5
5
  Container: {
6
6
  display: "flex",
7
+ color: "var(--sl-color-neutral-900)",
7
8
  "& .left": {
8
9
  width: "50%",
9
10
  padding: "var(--sl-spacing-" + props.padding + ")",
11
+ paddingRight: "var(--sl-spacing-medium)",
12
+ alignSelf: props.verticalAlignment,
13
+ "@media (max-width: 499px)": {
14
+ width: "100%",
15
+ padding: "0",
16
+ marginBottom: "var(--sl-spacing-xx-large)",
17
+ },
10
18
  },
11
19
  "& .right": {
12
20
  width: "50%",
13
21
  padding: "var(--sl-spacing-" + props.padding + ")",
22
+ paddingLeft: "var(--sl-spacing-medium)",
23
+ alignSelf: props.verticalAlignment,
24
+ "@media (max-width: 499px)": {
25
+ width: "100%",
26
+ padding: "0",
27
+ },
14
28
  },
15
29
  border: "1px solid var(--sl-color-neutral-300)",
16
30
  borderRadius: "var(--sl-border-radius-large)",
31
+ "@media (max-width: 499px)": {
32
+ flexDirection: "column",
33
+ border: "none",
34
+ },
17
35
  },
18
36
  Text: {
19
37
  textAlign: "center",
20
- marginBottom: "var(--sl-spacing-large)",
38
+ marginBottom: "var(--sl-spacing-xx-large)",
21
39
  "& .header": {
22
- fontSize: "var(--sl-font-size-large)",
40
+ fontSize: "var(--sl-font-size-x-large)",
23
41
  fontWeight: "var(--sl-font-weight-semibold)",
24
42
  color: "var(--sl-color-neutral-900)",
25
43
  },
26
44
  "& .description": {
45
+ fontSize: "var(--sl-font-size-large)",
27
46
  color: "var(--sl-color-neutral-600)",
28
47
  },
29
48
  },
@@ -17,9 +17,9 @@ export class ReferralCard {
17
17
  /**
18
18
  * @uiName Padding
19
19
  * @uiType string
20
- * @uiEnum ["top", "center"]
20
+ * @uiEnum ["start", "center", "end"]
21
21
  */
22
- this.verticalAlignment = "top";
22
+ this.verticalAlignment = "start";
23
23
  withHooks(this);
24
24
  }
25
25
  disconnectedCallback() { }
@@ -110,8 +110,8 @@ export class ReferralCard {
110
110
  "type": "string",
111
111
  "mutable": false,
112
112
  "complexType": {
113
- "original": "\"top\" | \"center\"",
114
- "resolved": "\"center\" | \"top\"",
113
+ "original": "\"start\" | \"center\" | \"end\"",
114
+ "resolved": "\"center\" | \"end\" | \"start\"",
115
115
  "references": {}
116
116
  },
117
117
  "required": false,
@@ -124,14 +124,14 @@ export class ReferralCard {
124
124
  "text": "string",
125
125
  "name": "uiType"
126
126
  }, {
127
- "text": "[\"top\", \"center\"]",
127
+ "text": "[\"start\", \"center\", \"end\"]",
128
128
  "name": "uiEnum"
129
129
  }],
130
130
  "text": ""
131
131
  },
132
132
  "attribute": "vertical-alignment",
133
133
  "reflect": false,
134
- "defaultValue": "\"top\""
134
+ "defaultValue": "\"start\""
135
135
  }
136
136
  }; }
137
137
  static get states() { return {
@@ -9,8 +9,8 @@ export function ShareButtonView(props, children) {
9
9
  border-radius: ${props.borderradius ? props.borderradius + "px" : ""};
10
10
  }
11
11
  *::part(label) {
12
- position: relative;
13
- top: 5%;
12
+ // position: relative;
13
+ // top: 5%;
14
14
  }
15
15
  `;
16
16
  const style = {
@@ -21,7 +21,7 @@ export function StatContainerView(props, children) {
21
21
  },
22
22
  "& > ::slotted(*)": {
23
23
  "border-right": "1px solid #EAEAEA",
24
- // "padding-right": divideSpace(),
24
+ "padding-right": divideSpace(),
25
25
  height: "100%",
26
26
  },
27
27
  "& > ::slotted(*:last-child)": {
@@ -207,24 +207,9 @@ export function TaskCardView(props) {
207
207
  id: "startsOnMessage",
208
208
  defaultMessage: content.startsOnMessage,
209
209
  }, {
210
- startDate: states.locale.includes("en")
211
- ? dateStart
212
- .setLocale(luxonLocale(states.locale))
213
- .toLocaleString(DateTime.DATETIME_MED)
214
- .split(",")
215
- .slice(0, 2)
216
- .join(",") +
217
- " at " +
218
- dateStart
219
- .setLocale(luxonLocale(states.locale))
220
- .toLocaleString(DateTime.DATETIME_MED)
221
- .split(",")
222
- .slice(2)
223
- .join(",")
224
- .toLowerCase()
225
- : dateStart
226
- .setLocale(luxonLocale(states.locale))
227
- .toLocaleString(DateTime.DATETIME_MED),
210
+ startDate: dateStart
211
+ .setLocale(luxonLocale(states.locale))
212
+ .toLocaleString(DateTime.DATETIME_MED),
228
213
  }))),
229
214
  !states.loading && taskEnded && (h("div", { class: sheet.classes.Ended },
230
215
  h("span", { class: "icon" },
@@ -233,24 +218,9 @@ export function TaskCardView(props) {
233
218
  id: "endedMessage",
234
219
  defaultMessage: content.endedMessage,
235
220
  }, {
236
- endDate: states.locale.includes("en")
237
- ? dateEnd
238
- .setLocale(luxonLocale(states.locale))
239
- .toLocaleString(DateTime.DATETIME_MED)
240
- .split(",")
241
- .slice(0, 2)
242
- .join(",") +
243
- " at " +
244
- dateEnd
245
- .setLocale(luxonLocale(states.locale))
246
- .toLocaleString(DateTime.DATETIME_MED)
247
- .split(",")
248
- .slice(2)
249
- .join(",")
250
- .toLowerCase()
251
- : dateEnd
252
- .setLocale(states.locale)
253
- .toLocaleString(DateTime.DATETIME_MED),
221
+ endDate: dateEnd
222
+ .setLocale(states.locale)
223
+ .toLocaleString(DateTime.DATETIME_MED),
254
224
  }))),
255
225
  h("div", { style: {
256
226
  borderRadius: taskUnavailable &&
@@ -301,24 +271,9 @@ export function TaskCardView(props) {
301
271
  id: "expiryMessage",
302
272
  defaultMessage: content.expiryMessage,
303
273
  }, {
304
- endDate: states.locale.includes("en")
305
- ? dateEnd
306
- .setLocale(luxonLocale(states.locale))
307
- .toLocaleString(DateTime.DATETIME_MED)
308
- .split(",")
309
- .slice(0, 2)
310
- .join(",") +
311
- " at " +
312
- dateEnd
313
- .setLocale(luxonLocale(states.locale))
314
- .toLocaleString(DateTime.DATETIME_MED)
315
- .split(",")
316
- .slice(2)
317
- .join(",")
318
- .toLowerCase()
319
- : dateEnd
320
- .setLocale(luxonLocale(states.locale))
321
- .toLocaleString(DateTime.DATETIME_MED),
274
+ endDate: dateEnd
275
+ .setLocale(luxonLocale(states.locale))
276
+ .toLocaleString(DateTime.DATETIME_MED),
322
277
  })))),
323
278
  h("sl-button", { class: taskUnavailable
324
279
  ? "action neutral"
@@ -19,8 +19,8 @@ function ShareButtonView(props, children) {
19
19
  border-radius: ${props.borderradius ? props.borderradius + "px" : ""};
20
20
  }
21
21
  *::part(label) {
22
- position: relative;
23
- top: 5%;
22
+ // position: relative;
23
+ // top: 5%;
24
24
  }
25
25
  `;
26
26
  const style = {
@@ -1153,24 +1153,9 @@ function TaskCardView(props) {
1153
1153
  id: "startsOnMessage",
1154
1154
  defaultMessage: content.startsOnMessage,
1155
1155
  }, {
1156
- startDate: states.locale.includes("en")
1157
- ? dateStart
1158
- .setLocale(luxonLocale(states.locale))
1159
- .toLocaleString(luxon.DateTime.DATETIME_MED)
1160
- .split(",")
1161
- .slice(0, 2)
1162
- .join(",") +
1163
- " at " +
1164
- dateStart
1165
- .setLocale(luxonLocale(states.locale))
1166
- .toLocaleString(luxon.DateTime.DATETIME_MED)
1167
- .split(",")
1168
- .slice(2)
1169
- .join(",")
1170
- .toLowerCase()
1171
- : dateStart
1172
- .setLocale(luxonLocale(states.locale))
1173
- .toLocaleString(luxon.DateTime.DATETIME_MED),
1156
+ startDate: dateStart
1157
+ .setLocale(luxonLocale(states.locale))
1158
+ .toLocaleString(luxon.DateTime.DATETIME_MED),
1174
1159
  }))),
1175
1160
  !states.loading && taskEnded && (h("div", { class: sheet$6.classes.Ended },
1176
1161
  h("span", { class: "icon" },
@@ -1179,24 +1164,9 @@ function TaskCardView(props) {
1179
1164
  id: "endedMessage",
1180
1165
  defaultMessage: content.endedMessage,
1181
1166
  }, {
1182
- endDate: states.locale.includes("en")
1183
- ? dateEnd
1184
- .setLocale(luxonLocale(states.locale))
1185
- .toLocaleString(luxon.DateTime.DATETIME_MED)
1186
- .split(",")
1187
- .slice(0, 2)
1188
- .join(",") +
1189
- " at " +
1190
- dateEnd
1191
- .setLocale(luxonLocale(states.locale))
1192
- .toLocaleString(luxon.DateTime.DATETIME_MED)
1193
- .split(",")
1194
- .slice(2)
1195
- .join(",")
1196
- .toLowerCase()
1197
- : dateEnd
1198
- .setLocale(states.locale)
1199
- .toLocaleString(luxon.DateTime.DATETIME_MED),
1167
+ endDate: dateEnd
1168
+ .setLocale(states.locale)
1169
+ .toLocaleString(luxon.DateTime.DATETIME_MED),
1200
1170
  }))),
1201
1171
  h("div", { style: {
1202
1172
  borderRadius: taskUnavailable &&
@@ -1247,24 +1217,9 @@ function TaskCardView(props) {
1247
1217
  id: "expiryMessage",
1248
1218
  defaultMessage: content.expiryMessage,
1249
1219
  }, {
1250
- endDate: states.locale.includes("en")
1251
- ? dateEnd
1252
- .setLocale(luxonLocale(states.locale))
1253
- .toLocaleString(luxon.DateTime.DATETIME_MED)
1254
- .split(",")
1255
- .slice(0, 2)
1256
- .join(",") +
1257
- " at " +
1258
- dateEnd
1259
- .setLocale(luxonLocale(states.locale))
1260
- .toLocaleString(luxon.DateTime.DATETIME_MED)
1261
- .split(",")
1262
- .slice(2)
1263
- .join(",")
1264
- .toLowerCase()
1265
- : dateEnd
1266
- .setLocale(luxonLocale(states.locale))
1267
- .toLocaleString(luxon.DateTime.DATETIME_MED),
1220
+ endDate: dateEnd
1221
+ .setLocale(luxonLocale(states.locale))
1222
+ .toLocaleString(luxon.DateTime.DATETIME_MED),
1268
1223
  })))),
1269
1224
  h("sl-button", { class: taskUnavailable
1270
1225
  ? "action neutral"
@@ -16,7 +16,7 @@ import { g as getProps, a as getMissingProps } from './utils-1d345130.js';
16
16
  import './sqm-text-span-view-7e61c95c.js';
17
17
  import { p as pathToRegexp, u as useDemoBigStat, a as useBigStat } from './useDemoBigStat-f62fbdcd.js';
18
18
  import { P as PortalContainerView } from './sqm-portal-container-view-cf79ed90.js';
19
- import { h as autoColorScaleCss, C as CardFeedView, E as EditProfileView, c as PortalChangePasswordView, P as PortalFrameView, d as PortalLoginView, e as PortalRegisterView, R as ReferralIframeView, g as RewardExchangeView, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, T as TaskCardView } from './AutoColor-08674820.js';
19
+ import { h as autoColorScaleCss, C as CardFeedView, E as EditProfileView, c as PortalChangePasswordView, P as PortalFrameView, d as PortalLoginView, e as PortalRegisterView, R as ReferralIframeView, g as RewardExchangeView, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, T as TaskCardView } from './AutoColor-7514ecea.js';
20
20
  import './sqm-portal-section-view-d3098f7f.js';
21
21
 
22
22
  /**
@@ -5219,30 +5219,49 @@ const ProgramMenu = class {
5219
5219
  }
5220
5220
  };
5221
5221
 
5222
- function ReferralCardView(props, children) {
5222
+ function ReferralCardView(props) {
5223
5223
  const style = {
5224
5224
  Container: {
5225
5225
  display: "flex",
5226
+ color: "var(--sl-color-neutral-900)",
5226
5227
  "& .left": {
5227
5228
  width: "50%",
5228
5229
  padding: "var(--sl-spacing-" + props.padding + ")",
5230
+ paddingRight: "var(--sl-spacing-medium)",
5231
+ alignSelf: props.verticalAlignment,
5232
+ "@media (max-width: 499px)": {
5233
+ width: "100%",
5234
+ padding: "0",
5235
+ marginBottom: "var(--sl-spacing-xx-large)",
5236
+ },
5229
5237
  },
5230
5238
  "& .right": {
5231
5239
  width: "50%",
5232
5240
  padding: "var(--sl-spacing-" + props.padding + ")",
5241
+ paddingLeft: "var(--sl-spacing-medium)",
5242
+ alignSelf: props.verticalAlignment,
5243
+ "@media (max-width: 499px)": {
5244
+ width: "100%",
5245
+ padding: "0",
5246
+ },
5233
5247
  },
5234
5248
  border: "1px solid var(--sl-color-neutral-300)",
5235
5249
  borderRadius: "var(--sl-border-radius-large)",
5250
+ "@media (max-width: 499px)": {
5251
+ flexDirection: "column",
5252
+ border: "none",
5253
+ },
5236
5254
  },
5237
5255
  Text: {
5238
5256
  textAlign: "center",
5239
- marginBottom: "var(--sl-spacing-large)",
5257
+ marginBottom: "var(--sl-spacing-xx-large)",
5240
5258
  "& .header": {
5241
- fontSize: "var(--sl-font-size-large)",
5259
+ fontSize: "var(--sl-font-size-x-large)",
5242
5260
  fontWeight: "var(--sl-font-weight-semibold)",
5243
5261
  color: "var(--sl-color-neutral-900)",
5244
5262
  },
5245
5263
  "& .description": {
5264
+ fontSize: "var(--sl-font-size-large)",
5246
5265
  color: "var(--sl-color-neutral-600)",
5247
5266
  },
5248
5267
  },
@@ -5280,9 +5299,9 @@ const ReferralCard = class {
5280
5299
  /**
5281
5300
  * @uiName Padding
5282
5301
  * @uiType string
5283
- * @uiEnum ["top", "center"]
5302
+ * @uiEnum ["start", "center", "end"]
5284
5303
  */
5285
- this.verticalAlignment = "top";
5304
+ this.verticalAlignment = "start";
5286
5305
  h(this);
5287
5306
  }
5288
5307
  disconnectedCallback() { }
@@ -22,7 +22,7 @@ function StatContainerView(props, children) {
22
22
  },
23
23
  "& > ::slotted(*)": {
24
24
  "border-right": "1px solid #EAEAEA",
25
- // "padding-right": divideSpace(),
25
+ "padding-right": divideSpace(),
26
26
  height: "100%",
27
27
  },
28
28
  "& > ::slotted(*:last-child)": {
@@ -3,7 +3,7 @@ import { m as h } from './stencil-hooks.module-2f159754.js';
3
3
  import './extends-c31f1eff.js';
4
4
  import './JSS-96eeab98.js';
5
5
  import { g as getProps } from './utils-1d345130.js';
6
- import { S as StatContainerView } from './sqm-stat-container-view-3cb831f3.js';
6
+ import { S as StatContainerView } from './sqm-stat-container-view-8a565c5a.js';
7
7
 
8
8
  const StatContainer = class {
9
9
  constructor(hostRef) {