@saasquatch/vanilla-components 1.2.4-14 → 1.2.4-17

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.
@@ -7940,7 +7940,7 @@ const ProgressIndicator = class {
7940
7940
  const formatVariables = {
7941
7941
  amountNeeded: this.rewardStats.progressToGoal,
7942
7942
  };
7943
- this.progressMessage = FormatJS.format(this.progress, formatVariables, this.locale);
7943
+ this.progressMessage = FormatJS.format(this.progress || "", formatVariables, this.locale);
7944
7944
  this.getProgress();
7945
7945
  }
7946
7946
  getProgress() {
@@ -99,7 +99,7 @@ export class CTAComponent {
99
99
  "optional": false,
100
100
  "docs": {
101
101
  "tags": [{
102
- "text": "Text",
102
+ "text": "Button Text",
103
103
  "name": "uiName"
104
104
  }],
105
105
  "text": ""
@@ -165,7 +165,7 @@ export class CTAComponent {
165
165
  "text": "Font Size",
166
166
  "name": "uiName"
167
167
  }],
168
- "text": ""
168
+ "text": "Define the font size of the button text with pixel amount."
169
169
  },
170
170
  "attribute": "fontsize",
171
171
  "reflect": false
@@ -205,7 +205,7 @@ export class CTAComponent {
205
205
  "text": "Font Weight",
206
206
  "name": "uiName"
207
207
  }],
208
- "text": ""
208
+ "text": "Define the font weight of the button text."
209
209
  },
210
210
  "attribute": "fontweight",
211
211
  "reflect": false
@@ -242,7 +242,7 @@ export class CTAComponent {
242
242
  "optional": false,
243
243
  "docs": {
244
244
  "tags": [{
245
- "text": "Text Alignment",
245
+ "text": "Button Alignment",
246
246
  "name": "uiName"
247
247
  }, {
248
248
  "text": "[\"left\", \"center\", \"right\"]",
@@ -320,7 +320,7 @@ export class CTAComponent {
320
320
  "text": "Button Height",
321
321
  "name": "uiName"
322
322
  }],
323
- "text": "Button height in pixels."
323
+ "text": "Define the height of the container with a pixel amount."
324
324
  },
325
325
  "attribute": "height",
326
326
  "reflect": false
@@ -360,10 +360,13 @@ export class CTAComponent {
360
360
  "text": "Border Radius",
361
361
  "name": "uiName"
362
362
  }, {
363
- "text": "8px",
363
+ "text": "8",
364
364
  "name": "default"
365
+ }, {
366
+ "text": "number",
367
+ "name": "uiWidget"
365
368
  }],
366
- "text": ""
369
+ "text": "Define the border radius of the button with a pixel amount."
367
370
  },
368
371
  "attribute": "borderradius",
369
372
  "reflect": false
@@ -76,7 +76,7 @@ export class PartnerStatComponent {
76
76
  "text": "Stat Type",
77
77
  "name": "uiName"
78
78
  }, {
79
- "text": "statTypeSelector",
79
+ "text": "statTypeSelectorWidget",
80
80
  "name": "uiWidget"
81
81
  }, {
82
82
  "text": undefined,
@@ -65,7 +65,7 @@ export class ProgressIndicator {
65
65
  const formatVariables = {
66
66
  amountNeeded: this.rewardStats.progressToGoal,
67
67
  };
68
- this.progressMessage = FormatJS.format(this.progress, formatVariables, this.locale);
68
+ this.progressMessage = FormatJS.format(this.progress || "", formatVariables, this.locale);
69
69
  this.getProgress();
70
70
  }
71
71
  getProgress() {
@@ -408,10 +408,10 @@ export class ProgressIndicator {
408
408
  "text": "Indicator Icon",
409
409
  "name": "uiName"
410
410
  }, {
411
- "text": "[\"Path\", \"Circle\", \"SemiCircle\", \"Line\"]",
411
+ "text": "[\"Path\"]",
412
412
  "name": "uiEnum"
413
413
  }, {
414
- "text": "[\"Path\", \"Circle\", \"Semi Circle\", \"Line\"]",
414
+ "text": "[\"Path\"]",
415
415
  "name": "uiEnumNames"
416
416
  }],
417
417
  "text": "The type of icon used to display a user\u2019s progress."
@@ -540,7 +540,7 @@ export class ProgressIndicator {
540
540
  "text": "color",
541
541
  "name": "uiWidget"
542
542
  }],
543
- "text": "Color of the progress bar"
543
+ "text": ""
544
544
  },
545
545
  "attribute": "progresscolor",
546
546
  "reflect": false
@@ -786,13 +786,13 @@ export class ReferralList {
786
786
  "optional": false,
787
787
  "docs": {
788
788
  "tags": [{
789
- "text": "Expires Text",
789
+ "text": "Expiring Text",
790
790
  "name": "uiName"
791
791
  }, {
792
792
  "text": "Expired Rewards",
793
793
  "name": "uiGroup"
794
794
  }],
795
- "text": "Reward expiry ICU message"
795
+ "text": "ICU message shown in the rewards column for expiring rewards. See [ICU messages](https://unicode-org.github.io/icu/userguide/format_parse/messages/) for more details."
796
796
  },
797
797
  "attribute": "expiresvalue",
798
798
  "reflect": false
@@ -77,7 +77,7 @@ export class StatComponent {
77
77
  "text": "Stat Type",
78
78
  "name": "uiName"
79
79
  }, {
80
- "text": "statTypeSelector",
80
+ "text": "statTypeSelectorWidget",
81
81
  "name": "uiWidget"
82
82
  }, {
83
83
  "text": undefined,
@@ -7936,7 +7936,7 @@ const ProgressIndicator = class {
7936
7936
  const formatVariables = {
7937
7937
  amountNeeded: this.rewardStats.progressToGoal,
7938
7938
  };
7939
- this.progressMessage = FormatJS.format(this.progress, formatVariables, this.locale);
7939
+ this.progressMessage = FormatJS.format(this.progress || "", formatVariables, this.locale);
7940
7940
  this.getProgress();
7941
7941
  }
7942
7942
  getProgress() {
@@ -7451,7 +7451,7 @@ var ProgressIndicator = /** @class */ (function () {
7451
7451
  formatVariables = {
7452
7452
  amountNeeded: this.rewardStats.progressToGoal,
7453
7453
  };
7454
- this.progressMessage = FormatJS.format(this.progress, formatVariables, this.locale);
7454
+ this.progressMessage = FormatJS.format(this.progress || "", formatVariables, this.locale);
7455
7455
  this.getProgress();
7456
7456
  return [2 /*return*/];
7457
7457
  });
@@ -13,7 +13,7 @@ export declare class CTAComponent {
13
13
  */
14
14
  ismarkdown: boolean;
15
15
  /**
16
- * @uiName Text
16
+ * @uiName Button Text
17
17
  */
18
18
  text: string;
19
19
  /**
@@ -26,6 +26,8 @@ export declare class CTAComponent {
26
26
  */
27
27
  color: string;
28
28
  /**
29
+ * Define the font size of the button text with pixel amount.
30
+ *
29
31
  * @uiName Font Size
30
32
  */
31
33
  fontsize: string;
@@ -36,6 +38,8 @@ export declare class CTAComponent {
36
38
  */
37
39
  paddingtop: string;
38
40
  /**
41
+ * Define the font weight of the button text.
42
+ *
39
43
  * @uiName Font Weight
40
44
  */
41
45
  fontweight: string;
@@ -46,7 +50,7 @@ export declare class CTAComponent {
46
50
  */
47
51
  paddingbottom: string;
48
52
  /**
49
- * @uiName Text Alignment
53
+ * @uiName Button Alignment
50
54
  * @uiEnum ["left", "center", "right"]
51
55
  * @uiEnumNames ["Left", "Center", "Right"]
52
56
  */
@@ -63,7 +67,7 @@ export declare class CTAComponent {
63
67
  */
64
68
  buttonbackground: string;
65
69
  /**
66
- * Button height in pixels.
70
+ * Define the height of the container with a pixel amount.
67
71
  *
68
72
  * @uiName Button Height
69
73
  */
@@ -75,8 +79,11 @@ export declare class CTAComponent {
75
79
  */
76
80
  width: string;
77
81
  /**
82
+ * Define the border radius of the button with a pixel amount.
83
+ *
78
84
  * @uiName Border Radius
79
- * @default 8px
85
+ * @default 8
86
+ * @uiWidget number
80
87
  */
81
88
  borderradius: string;
82
89
  /**
@@ -18,7 +18,7 @@ export declare class PartnerStatComponent {
18
18
  * Determines what type of stat is displayed. Manual paths are also supported.
19
19
  *
20
20
  * @uiName Stat Type
21
- * @uiWidget statTypeSelector
21
+ * @uiWidget statTypeSelectorWidget
22
22
  * @required
23
23
  * @minLength 1
24
24
  */
@@ -41,8 +41,8 @@ export declare class ProgressIndicator {
41
41
  * The type of icon used to display a user’s progress.
42
42
  *
43
43
  * @uiName Indicator Icon
44
- * @uiEnum ["Path", "Circle", "SemiCircle", "Line"]
45
- * @uiEnumNames ["Path", "Circle", "Semi Circle", "Line"]
44
+ * @uiEnum ["Path"]
45
+ * @uiEnumNames ["Path"]
46
46
  */
47
47
  progresstype: string;
48
48
  /**
@@ -75,8 +75,6 @@ export declare class ProgressIndicator {
75
75
  */
76
76
  percentagesize: string;
77
77
  /**
78
- * Color of the progress bar
79
- *
80
78
  * @uiName Progress Color
81
79
  * @uiWidget color
82
80
  */
@@ -181,9 +181,9 @@ export declare class ReferralList {
181
181
  */
182
182
  expiredvalue: string;
183
183
  /**
184
- * Reward expiry ICU message
184
+ * ICU message shown in the rewards column for expiring rewards. See [ICU messages](https://unicode-org.github.io/icu/userguide/format_parse/messages/) for more details.
185
185
  *
186
- * @uiName Expires Text
186
+ * @uiName Expiring Text
187
187
  * @uiGroup Expired Rewards
188
188
  */
189
189
  expiresvalue: string;
@@ -18,7 +18,7 @@ export declare class StatComponent {
18
18
  /**
19
19
  * Type of stat being displayed. e.g /rewardsCount
20
20
  * @uiName Stat Type
21
- * @uiWidget statTypeSelector
21
+ * @uiWidget statTypeSelectorWidget
22
22
  * @required
23
23
  * @minLength 1
24
24
  */
@@ -126,8 +126,10 @@ export namespace Components {
126
126
  */
127
127
  "background": string;
128
128
  /**
129
+ * Define the border radius of the button with a pixel amount.
129
130
  * @uiName Border Radius
130
- * @default 8px
131
+ * @default 8
132
+ * @uiWidget number
131
133
  */
132
134
  "borderradius": string;
133
135
  /**
@@ -146,15 +148,17 @@ export namespace Components {
146
148
  */
147
149
  "fontfamily": string;
148
150
  /**
151
+ * Define the font size of the button text with pixel amount.
149
152
  * @uiName Font Size
150
153
  */
151
154
  "fontsize": string;
152
155
  /**
156
+ * Define the font weight of the button text.
153
157
  * @uiName Font Weight
154
158
  */
155
159
  "fontweight": string;
156
160
  /**
157
- * Button height in pixels.
161
+ * Define the height of the container with a pixel amount.
158
162
  * @uiName Button Height
159
163
  */
160
164
  "height": string;
@@ -178,11 +182,11 @@ export namespace Components {
178
182
  */
179
183
  "paddingtop": string;
180
184
  /**
181
- * @uiName Text
185
+ * @uiName Button Text
182
186
  */
183
187
  "text": string;
184
188
  /**
185
- * @uiName Text Alignment
189
+ * @uiName Button Alignment
186
190
  * @uiEnum ["left", "center", "right"]
187
191
  * @uiEnumNames ["Left", "Center", "Right"]
188
192
  */
@@ -281,7 +285,7 @@ export namespace Components {
281
285
  /**
282
286
  * Determines what type of stat is displayed. Manual paths are also supported.
283
287
  * @uiName Stat Type
284
- * @uiWidget statTypeSelector
288
+ * @uiWidget statTypeSelectorWidget
285
289
  * @required
286
290
  * @minLength 1
287
291
  */
@@ -326,7 +330,6 @@ export namespace Components {
326
330
  */
327
331
  "progress": string;
328
332
  /**
329
- * Color of the progress bar
330
333
  * @uiName Progress Color
331
334
  * @uiWidget color
332
335
  */
@@ -334,8 +337,8 @@ export namespace Components {
334
337
  /**
335
338
  * The type of icon used to display a user’s progress.
336
339
  * @uiName Indicator Icon
337
- * @uiEnum ["Path", "Circle", "SemiCircle", "Line"]
338
- * @uiEnumNames ["Path", "Circle", "Semi Circle", "Line"]
340
+ * @uiEnum ["Path"]
341
+ * @uiEnumNames ["Path"]
339
342
  */
340
343
  "progresstype": string;
341
344
  /**
@@ -437,8 +440,8 @@ export namespace Components {
437
440
  */
438
441
  "expiredvalue": string;
439
442
  /**
440
- * Reward expiry ICU message
441
- * @uiName Expires Text
443
+ * ICU message shown in the rewards column for expiring rewards. See [ICU messages](https://unicode-org.github.io/icu/userguide/format_parse/messages/) for more details.
444
+ * @uiName Expiring Text
442
445
  * @uiGroup Expired Rewards
443
446
  */
444
447
  "expiresvalue": string;
@@ -1193,7 +1196,7 @@ export namespace Components {
1193
1196
  /**
1194
1197
  * Type of stat being displayed. e.g /rewardsCount
1195
1198
  * @uiName Stat Type
1196
- * @uiWidget statTypeSelector
1199
+ * @uiWidget statTypeSelectorWidget
1197
1200
  * @required
1198
1201
  * @minLength 1
1199
1202
  */
@@ -1527,8 +1530,10 @@ declare namespace LocalJSX {
1527
1530
  */
1528
1531
  "background"?: string;
1529
1532
  /**
1533
+ * Define the border radius of the button with a pixel amount.
1530
1534
  * @uiName Border Radius
1531
- * @default 8px
1535
+ * @default 8
1536
+ * @uiWidget number
1532
1537
  */
1533
1538
  "borderradius"?: string;
1534
1539
  /**
@@ -1547,15 +1552,17 @@ declare namespace LocalJSX {
1547
1552
  */
1548
1553
  "fontfamily"?: string;
1549
1554
  /**
1555
+ * Define the font size of the button text with pixel amount.
1550
1556
  * @uiName Font Size
1551
1557
  */
1552
1558
  "fontsize"?: string;
1553
1559
  /**
1560
+ * Define the font weight of the button text.
1554
1561
  * @uiName Font Weight
1555
1562
  */
1556
1563
  "fontweight"?: string;
1557
1564
  /**
1558
- * Button height in pixels.
1565
+ * Define the height of the container with a pixel amount.
1559
1566
  * @uiName Button Height
1560
1567
  */
1561
1568
  "height"?: string;
@@ -1579,11 +1586,11 @@ declare namespace LocalJSX {
1579
1586
  */
1580
1587
  "paddingtop"?: string;
1581
1588
  /**
1582
- * @uiName Text
1589
+ * @uiName Button Text
1583
1590
  */
1584
1591
  "text"?: string;
1585
1592
  /**
1586
- * @uiName Text Alignment
1593
+ * @uiName Button Alignment
1587
1594
  * @uiEnum ["left", "center", "right"]
1588
1595
  * @uiEnumNames ["Left", "Center", "Right"]
1589
1596
  */
@@ -1684,7 +1691,7 @@ declare namespace LocalJSX {
1684
1691
  /**
1685
1692
  * Determines what type of stat is displayed. Manual paths are also supported.
1686
1693
  * @uiName Stat Type
1687
- * @uiWidget statTypeSelector
1694
+ * @uiWidget statTypeSelectorWidget
1688
1695
  * @required
1689
1696
  * @minLength 1
1690
1697
  */
@@ -1729,7 +1736,6 @@ declare namespace LocalJSX {
1729
1736
  */
1730
1737
  "progress"?: string;
1731
1738
  /**
1732
- * Color of the progress bar
1733
1739
  * @uiName Progress Color
1734
1740
  * @uiWidget color
1735
1741
  */
@@ -1737,8 +1743,8 @@ declare namespace LocalJSX {
1737
1743
  /**
1738
1744
  * The type of icon used to display a user’s progress.
1739
1745
  * @uiName Indicator Icon
1740
- * @uiEnum ["Path", "Circle", "SemiCircle", "Line"]
1741
- * @uiEnumNames ["Path", "Circle", "Semi Circle", "Line"]
1746
+ * @uiEnum ["Path"]
1747
+ * @uiEnumNames ["Path"]
1742
1748
  */
1743
1749
  "progresstype"?: string;
1744
1750
  /**
@@ -1840,8 +1846,8 @@ declare namespace LocalJSX {
1840
1846
  */
1841
1847
  "expiredvalue"?: string;
1842
1848
  /**
1843
- * Reward expiry ICU message
1844
- * @uiName Expires Text
1849
+ * ICU message shown in the rewards column for expiring rewards. See [ICU messages](https://unicode-org.github.io/icu/userguide/format_parse/messages/) for more details.
1850
+ * @uiName Expiring Text
1845
1851
  * @uiGroup Expired Rewards
1846
1852
  */
1847
1853
  "expiresvalue"?: string;
@@ -2598,7 +2604,7 @@ declare namespace LocalJSX {
2598
2604
  /**
2599
2605
  * Type of stat being displayed. e.g /rewardsCount
2600
2606
  * @uiName Stat Type
2601
- * @uiWidget statTypeSelector
2607
+ * @uiWidget statTypeSelectorWidget
2602
2608
  * @required
2603
2609
  * @minLength 1
2604
2610
  */