@saasquatch/vanilla-components 1.2.4-3 → 1.2.4-6

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 (26) hide show
  1. package/dist/cjs/sqh-copy-button_12.cjs.entry.js +2 -19
  2. package/dist/collection/components/copy-button/copy-button.js +15 -15
  3. package/dist/collection/components/copy-link-button/copy-link-button.js +8 -5
  4. package/dist/collection/components/global-container/global-container.js +5 -5
  5. package/dist/collection/components/image-component/image-component.js +10 -7
  6. package/dist/collection/components/partner-stat-component/partner-stat-component.js +15 -6
  7. package/dist/collection/components/referral-list/referral-list.js +22 -19
  8. package/dist/collection/components/share-button-container/share-button-container.js +41 -54
  9. package/dist/collection/components/stat-component/stat-component.js +16 -7
  10. package/dist/collection/components/stats-container/stats-container.js +7 -5
  11. package/dist/collection/components/text-component/text-component.js +17 -14
  12. package/dist/esm/sqh-copy-button_12.entry.js +2 -19
  13. package/dist/esm-es5/sqh-copy-button_12.entry.js +2 -19
  14. package/dist/types/components/copy-button/copy-button.d.ts +7 -21
  15. package/dist/types/components/copy-link-button/copy-link-button.d.ts +2 -9
  16. package/dist/types/components/global-container/global-container.d.ts +3 -7
  17. package/dist/types/components/image-component/image-component.d.ts +5 -10
  18. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +7 -8
  19. package/dist/types/components/referral-list/referral-list.d.ts +15 -24
  20. package/dist/types/components/share-button-container/share-button-container.d.ts +10 -65
  21. package/dist/types/components/stat-component/stat-component.d.ts +7 -10
  22. package/dist/types/components/stats-container/stats-container.d.ts +3 -4
  23. package/dist/types/components/text-component/text-component.d.ts +9 -20
  24. package/dist/types/components.d.ts +140 -238
  25. package/docs/raisins.json +1 -1
  26. package/package.json +2 -2
@@ -7237,7 +7237,7 @@ const ShareButtonContainer = class {
7237
7237
  */
7238
7238
  this.emailicon = "mail";
7239
7239
  /**
7240
- * CSS Class name used to style the Email button
7240
+ * CSS class name for additional styling.
7241
7241
  *
7242
7242
  * @uiName Email Class Name
7243
7243
  * @uiGroup Email
@@ -7258,8 +7258,6 @@ const ShareButtonContainer = class {
7258
7258
  */
7259
7259
  this.facebookiconhorizontal = 9;
7260
7260
  /**
7261
- * Size of the facebook button icon
7262
- *
7263
7261
  * @uiName Facebook Icon Size
7264
7262
  * @uiGroup Facebook
7265
7263
  */
@@ -7279,8 +7277,6 @@ const ShareButtonContainer = class {
7279
7277
  */
7280
7278
  this.twittericonhorizontal = 9;
7281
7279
  /**
7282
- * Size of the twitter button icon
7283
- *
7284
7280
  * @uiName Twitter Icon Size
7285
7281
  * @uiGroup Twitter
7286
7282
  */
@@ -7293,8 +7289,6 @@ const ShareButtonContainer = class {
7293
7289
  */
7294
7290
  this.smsicon = "chat";
7295
7291
  /**
7296
- * Color of the text inside the WhatsApp button
7297
- *
7298
7292
  * @uiName WhatsApp Text Color
7299
7293
  * @uiGroup WhatsApp
7300
7294
  * @uiWidget color
@@ -7324,8 +7318,6 @@ const ShareButtonContainer = class {
7324
7318
  */
7325
7319
  this.whatsappiconvertical = 2;
7326
7320
  /**
7327
- * Size of the WhatsApp button icon
7328
- *
7329
7321
  * @uiName WhatsApp Icon Size
7330
7322
  * @uiGroup WhatsApp
7331
7323
  */
@@ -7338,8 +7330,6 @@ const ShareButtonContainer = class {
7338
7330
  */
7339
7331
  this.linkedinicon = "linkedin";
7340
7332
  /**
7341
- * Size of the Linkedin button icon
7342
- *
7343
7333
  * @uiName Linkedin Icon Size
7344
7334
  * @uiGroup LinkedIn
7345
7335
  */
@@ -7366,8 +7356,6 @@ const ShareButtonContainer = class {
7366
7356
  */
7367
7357
  this.pinteresticonvertical = 4;
7368
7358
  /**
7369
- * Size of the Pinterest button icon
7370
- *
7371
7359
  * @uiName Pinterest Icon Size
7372
7360
  * @uiGroup Pinterest
7373
7361
  */
@@ -7394,8 +7382,6 @@ const ShareButtonContainer = class {
7394
7382
  */
7395
7383
  this.messengericonvertical = 3;
7396
7384
  /**
7397
- * Size of the Messenger button icon
7398
- *
7399
7385
  * @uiName Messenger Icon Size
7400
7386
  * @uiGroup Messenger
7401
7387
  */
@@ -7422,8 +7408,6 @@ const ShareButtonContainer = class {
7422
7408
  */
7423
7409
  this.lineiconvertical = -5;
7424
7410
  /**
7425
- * Size of the Line button icon
7426
- *
7427
7411
  * @uiName Line Icon Size
7428
7412
  * @uiGroup Line Messenger
7429
7413
  */
@@ -7814,8 +7798,7 @@ const StatsContainer = class {
7814
7798
  constructor(hostRef) {
7815
7799
  index.registerInstance(this, hostRef);
7816
7800
  /**
7817
- * Hide the component
7818
- *
7801
+ * @undocumented
7819
7802
  * @uiName Is Hidden
7820
7803
  */
7821
7804
  this.ishidden = false;
@@ -103,10 +103,10 @@ export class CopyButton {
103
103
  "text": "Hide Button",
104
104
  "name": "uiName"
105
105
  }, {
106
- "text": "undefined",
107
- "name": "default"
106
+ "text": undefined,
107
+ "name": "undocumented"
108
108
  }],
109
- "text": "Hide or show the component"
109
+ "text": ""
110
110
  },
111
111
  "attribute": "ishidden",
112
112
  "reflect": false
@@ -129,7 +129,7 @@ export class CopyButton {
129
129
  "text": "\"COPY CODE\"",
130
130
  "name": "default"
131
131
  }],
132
- "text": "Text shown inside the copy button."
132
+ "text": ""
133
133
  },
134
134
  "attribute": "text",
135
135
  "reflect": false
@@ -146,13 +146,13 @@ export class CopyButton {
146
146
  "optional": false,
147
147
  "docs": {
148
148
  "tags": [{
149
- "text": "Max Width",
149
+ "text": "Button Max Width",
150
150
  "name": "uiName"
151
151
  }, {
152
152
  "text": "170",
153
153
  "name": "default"
154
154
  }],
155
- "text": "Sets a maximum width on the copy button."
155
+ "text": ""
156
156
  },
157
157
  "attribute": "width",
158
158
  "reflect": false
@@ -169,7 +169,7 @@ export class CopyButton {
169
169
  "optional": false,
170
170
  "docs": {
171
171
  "tags": [{
172
- "text": "Background Color",
172
+ "text": "Button Color",
173
173
  "name": "uiName"
174
174
  }, {
175
175
  "text": "color",
@@ -181,7 +181,7 @@ export class CopyButton {
181
181
  "text": "#35b21e",
182
182
  "name": "default"
183
183
  }],
184
- "text": "Background & border color of the copy button."
184
+ "text": ""
185
185
  },
186
186
  "attribute": "backgroundcolor",
187
187
  "reflect": false
@@ -204,7 +204,7 @@ export class CopyButton {
204
204
  "text": "4",
205
205
  "name": "default"
206
206
  }],
207
- "text": "Configure border radius with pixel amount"
207
+ "text": "Define the radius of the corners with a pixel amount."
208
208
  },
209
209
  "attribute": "borderradius",
210
210
  "reflect": false
@@ -221,7 +221,7 @@ export class CopyButton {
221
221
  "optional": false,
222
222
  "docs": {
223
223
  "tags": [{
224
- "text": "Text Color",
224
+ "text": "Button Text Color",
225
225
  "name": "uiName"
226
226
  }, {
227
227
  "text": "color",
@@ -233,7 +233,7 @@ export class CopyButton {
233
233
  "text": "#ffffff",
234
234
  "name": "default"
235
235
  }],
236
- "text": "Color of text inside the copy button."
236
+ "text": ""
237
237
  },
238
238
  "attribute": "textcolor",
239
239
  "reflect": false
@@ -256,7 +256,7 @@ export class CopyButton {
256
256
  "text": "14",
257
257
  "name": "default"
258
258
  }],
259
- "text": "Font size of the copy button text."
259
+ "text": ""
260
260
  },
261
261
  "attribute": "fontsize",
262
262
  "reflect": false
@@ -325,7 +325,7 @@ export class CopyButton {
325
325
  "text": "\"referredReward\"",
326
326
  "name": "default"
327
327
  }],
328
- "text": "rewardkey is used to get the fuel tank code for a user."
328
+ "text": "The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user."
329
329
  },
330
330
  "attribute": "rewardkey",
331
331
  "reflect": false
@@ -365,7 +365,7 @@ export class CopyButton {
365
365
  "optional": false,
366
366
  "docs": {
367
367
  "tags": [{
368
- "text": "Code Font Color",
368
+ "text": "Fuel Tank Code Color",
369
369
  "name": "uiName"
370
370
  }, {
371
371
  "text": "color",
@@ -377,7 +377,7 @@ export class CopyButton {
377
377
  "text": "#000000",
378
378
  "name": "default"
379
379
  }],
380
- "text": "Text color of the fuel tank code."
380
+ "text": ""
381
381
  },
382
382
  "attribute": "codefontcolor",
383
383
  "reflect": false
@@ -91,10 +91,13 @@ export class CopyLinkButton {
91
91
  "optional": false,
92
92
  "docs": {
93
93
  "tags": [{
94
+ "text": undefined,
95
+ "name": "undocumented"
96
+ }, {
94
97
  "text": "Hide Button",
95
98
  "name": "uiName"
96
99
  }],
97
- "text": "Hide or show the component"
100
+ "text": ""
98
101
  },
99
102
  "attribute": "ishidden",
100
103
  "reflect": false
@@ -117,7 +120,7 @@ export class CopyLinkButton {
117
120
  "text": "\"Copy\"",
118
121
  "name": "default"
119
122
  }],
120
- "text": "Text shown inside the copy button."
123
+ "text": ""
121
124
  },
122
125
  "attribute": "text",
123
126
  "reflect": false
@@ -192,7 +195,7 @@ export class CopyLinkButton {
192
195
  "text": "\"#5C6164\"",
193
196
  "name": "default"
194
197
  }],
195
- "text": "Background & border color of the copy button."
198
+ "text": ""
196
199
  },
197
200
  "attribute": "buttoncolor",
198
201
  "reflect": false
@@ -209,7 +212,7 @@ export class CopyLinkButton {
209
212
  "optional": false,
210
213
  "docs": {
211
214
  "tags": [{
212
- "text": "Text Color",
215
+ "text": "Button Text Color",
213
216
  "name": "uiName"
214
217
  }, {
215
218
  "text": "color",
@@ -221,7 +224,7 @@ export class CopyLinkButton {
221
224
  "text": "\"#FFFFFF\"",
222
225
  "name": "default"
223
226
  }],
224
- "text": "Color of text inside the copy button."
227
+ "text": ""
225
228
  },
226
229
  "attribute": "textcolor",
227
230
  "reflect": false
@@ -66,7 +66,7 @@ export class GlobalContainer {
66
66
  "text": "\"#ffffff\"",
67
67
  "name": "default"
68
68
  }],
69
- "text": "Configure the background color."
69
+ "text": ""
70
70
  },
71
71
  "attribute": "background",
72
72
  "reflect": false
@@ -92,7 +92,7 @@ export class GlobalContainer {
92
92
  "text": "color",
93
93
  "name": "format"
94
94
  }],
95
- "text": "Configure the color of the loading state."
95
+ "text": "The background colour of the component while in the loading state."
96
96
  },
97
97
  "attribute": "loadingcolor",
98
98
  "reflect": false
@@ -138,10 +138,10 @@ export class GlobalContainer {
138
138
  "optional": false,
139
139
  "docs": {
140
140
  "tags": [{
141
- "text": "Max Width",
141
+ "text": "Container Max Width",
142
142
  "name": "uiName"
143
143
  }],
144
- "text": "Maximum width on the container."
144
+ "text": ""
145
145
  },
146
146
  "attribute": "maxwidth",
147
147
  "reflect": false
@@ -161,7 +161,7 @@ export class GlobalContainer {
161
161
  "text": "Show Powered By",
162
162
  "name": "uiName"
163
163
  }],
164
- "text": "Show and hide the powered by SaaSquatch link. Can only be disabled on Pro plans."
164
+ "text": "Show the Powered by SaaSquatch link. This can only be disabled on Pro plans."
165
165
  },
166
166
  "attribute": "poweredby",
167
167
  "reflect": false
@@ -42,10 +42,13 @@ export class ImageComponent {
42
42
  "optional": false,
43
43
  "docs": {
44
44
  "tags": [{
45
+ "text": undefined,
46
+ "name": "undocumented"
47
+ }, {
45
48
  "text": "Hide Image",
46
49
  "name": "uiName"
47
50
  }],
48
- "text": "Hide or show the component"
51
+ "text": ""
49
52
  },
50
53
  "attribute": "ishidden",
51
54
  "reflect": false
@@ -62,7 +65,7 @@ export class ImageComponent {
62
65
  "optional": false,
63
66
  "docs": {
64
67
  "tags": [{
65
- "text": "URL",
68
+ "text": "Image URL",
66
69
  "name": "uiName"
67
70
  }, {
68
71
  "text": "imageUpload",
@@ -71,7 +74,7 @@ export class ImageComponent {
71
74
  "text": "url",
72
75
  "name": "format"
73
76
  }],
74
- "text": "Image link"
77
+ "text": ""
75
78
  },
76
79
  "attribute": "url",
77
80
  "reflect": false
@@ -91,7 +94,7 @@ export class ImageComponent {
91
94
  "text": "Width",
92
95
  "name": "uiName"
93
96
  }],
94
- "text": "Image width"
97
+ "text": "Define the width of the image with a pixel amount."
95
98
  },
96
99
  "attribute": "width",
97
100
  "reflect": false
@@ -111,7 +114,7 @@ export class ImageComponent {
111
114
  "text": "Border Radius",
112
115
  "name": "uiName"
113
116
  }],
114
- "text": "Configure border radius with pixel amount"
117
+ "text": "Define the radius of the corners with a pixel amount."
115
118
  },
116
119
  "attribute": "borderradius",
117
120
  "reflect": false
@@ -128,7 +131,7 @@ export class ImageComponent {
128
131
  "optional": false,
129
132
  "docs": {
130
133
  "tags": [{
131
- "text": "Alignment",
134
+ "text": "Horizontal Alignment",
132
135
  "name": "uiName"
133
136
  }, {
134
137
  "text": "[\"left\", \"center\", \"right\"]",
@@ -140,7 +143,7 @@ export class ImageComponent {
140
143
  "text": "\"center\"",
141
144
  "name": "default"
142
145
  }],
143
- "text": "Configure alignment of the image"
146
+ "text": ""
144
147
  },
145
148
  "attribute": "alignment",
146
149
  "reflect": false
@@ -50,10 +50,13 @@ export class PartnerStatComponent {
50
50
  "optional": false,
51
51
  "docs": {
52
52
  "tags": [{
53
+ "text": undefined,
54
+ "name": "undocumented"
55
+ }, {
53
56
  "text": "Hide Stat",
54
57
  "name": "uiName"
55
58
  }],
56
- "text": "Hide or show the component"
59
+ "text": ""
57
60
  },
58
61
  "attribute": "ishidden",
59
62
  "reflect": false
@@ -78,8 +81,11 @@ export class PartnerStatComponent {
78
81
  }, {
79
82
  "text": undefined,
80
83
  "name": "required"
84
+ }, {
85
+ "text": "1",
86
+ "name": "minLength"
81
87
  }],
82
- "text": "Used to query the stats for a user"
88
+ "text": "Determines what type of stat is displayed. Manual paths are also supported."
83
89
  },
84
90
  "attribute": "stattype",
85
91
  "reflect": false
@@ -96,8 +102,11 @@ export class PartnerStatComponent {
96
102
  "optional": false,
97
103
  "docs": {
98
104
  "tags": [{
99
- "text": "Stat Value",
105
+ "text": "Value",
100
106
  "name": "uiName"
107
+ }, {
108
+ "text": undefined,
109
+ "name": "undocumented"
101
110
  }],
102
111
  "text": "Value of the stat"
103
112
  },
@@ -116,10 +125,10 @@ export class PartnerStatComponent {
116
125
  "optional": false,
117
126
  "docs": {
118
127
  "tags": [{
119
- "text": "Stat Description",
128
+ "text": "Description",
120
129
  "name": "uiName"
121
130
  }],
122
- "text": "Description of the stat"
131
+ "text": ""
123
132
  },
124
133
  "attribute": "statdescription",
125
134
  "reflect": false
@@ -136,7 +145,7 @@ export class PartnerStatComponent {
136
145
  "optional": false,
137
146
  "docs": {
138
147
  "tags": [{
139
- "text": "Stat Color",
148
+ "text": "Color",
140
149
  "name": "uiName"
141
150
  }, {
142
151
  "text": "color",
@@ -183,10 +183,13 @@ export class ReferralList {
183
183
  "optional": false,
184
184
  "docs": {
185
185
  "tags": [{
186
+ "text": undefined,
187
+ "name": "undocumented"
188
+ }, {
186
189
  "text": "Hide Referral List",
187
190
  "name": "uiName"
188
191
  }],
189
- "text": "Hide or show the component"
192
+ "text": ""
190
193
  },
191
194
  "attribute": "ishidden",
192
195
  "reflect": false
@@ -284,7 +287,7 @@ export class ReferralList {
284
287
  "text": "\"darkslategray\"",
285
288
  "name": "default"
286
289
  }],
287
- "text": "Text color of the referred users name"
290
+ "text": "Text color of the referred user's name"
288
291
  },
289
292
  "attribute": "referralnamecolor",
290
293
  "reflect": false
@@ -301,7 +304,7 @@ export class ReferralList {
301
304
  "optional": false,
302
305
  "docs": {
303
306
  "tags": [{
304
- "text": "Referral Text Color",
307
+ "text": "Referral Status Text Color",
305
308
  "name": "uiName"
306
309
  }, {
307
310
  "text": "color",
@@ -313,7 +316,7 @@ export class ReferralList {
313
316
  "text": "\"lightgray\"",
314
317
  "name": "default"
315
318
  }],
316
- "text": "Text color of the referral status"
319
+ "text": ""
317
320
  },
318
321
  "attribute": "referraltextcolor",
319
322
  "reflect": false
@@ -336,7 +339,7 @@ export class ReferralList {
336
339
  "text": "\"Your Friend\"",
337
340
  "name": "default"
338
341
  }],
339
- "text": "Text shown when the referred users name is unknown"
342
+ "text": "Text shown when the referred user's name is unknown"
340
343
  },
341
344
  "attribute": "unknownuser",
342
345
  "reflect": false
@@ -353,10 +356,10 @@ export class ReferralList {
353
356
  "optional": false,
354
357
  "docs": {
355
358
  "tags": [{
356
- "text": "Show Expiry",
359
+ "text": "Show Expired Rewards",
357
360
  "name": "uiName"
358
361
  }],
359
- "text": "Show or hide expired rewards"
362
+ "text": ""
360
363
  },
361
364
  "attribute": "showexpiry",
362
365
  "reflect": false
@@ -376,7 +379,7 @@ export class ReferralList {
376
379
  "text": "Show Customer Note",
377
380
  "name": "uiName"
378
381
  }],
379
- "text": "Show the customer note for a referral"
382
+ "text": ""
380
383
  },
381
384
  "attribute": "shownotes",
382
385
  "reflect": false
@@ -419,7 +422,7 @@ export class ReferralList {
419
422
  "optional": false,
420
423
  "docs": {
421
424
  "tags": [{
422
- "text": "Show Referrer",
425
+ "text": "Show Referred By",
423
426
  "name": "uiName"
424
427
  }, {
425
428
  "text": "Referrer",
@@ -428,7 +431,7 @@ export class ReferralList {
428
431
  "text": "\"\"",
429
432
  "name": "default"
430
433
  }],
431
- "text": "Show or hide the referrer"
434
+ "text": "Show referral and reward information on who referred you."
432
435
  },
433
436
  "attribute": "showreferrer",
434
437
  "reflect": false
@@ -512,7 +515,7 @@ export class ReferralList {
512
515
  "text": "\"#4BB543\"",
513
516
  "name": "default"
514
517
  }],
515
- "text": "Color of the successful reward icon and the text value"
518
+ "text": "Color of the successful reward icon and text in the rewards column."
516
519
  },
517
520
  "attribute": "rewardcolor",
518
521
  "reflect": false
@@ -529,7 +532,7 @@ export class ReferralList {
529
532
  "optional": false,
530
533
  "docs": {
531
534
  "tags": [{
532
- "text": "Reward Color",
535
+ "text": "Customer Note Color",
533
536
  "name": "uiName"
534
537
  }, {
535
538
  "text": "Converted Referrals",
@@ -541,7 +544,7 @@ export class ReferralList {
541
544
  "text": "color",
542
545
  "name": "format"
543
546
  }],
544
- "text": "Color of the customer note"
547
+ "text": ""
545
548
  },
546
549
  "attribute": "customernotecolor",
547
550
  "reflect": false
@@ -564,7 +567,7 @@ export class ReferralList {
564
567
  "text": "Converted Referrals",
565
568
  "name": "uiGroup"
566
569
  }],
567
- "text": "Show value of the first earned reward inside the rewards column"
570
+ "text": "Show the value of the first earned reward inside the rewards column"
568
571
  },
569
572
  "attribute": "usefirstreward",
570
573
  "reflect": false
@@ -651,7 +654,7 @@ export class ReferralList {
651
654
  "text": "\"lightgray\"",
652
655
  "name": "default"
653
656
  }],
654
- "text": "Color of the pending icon and text"
657
+ "text": "Color of the pending reward icon and text in the rewards column."
655
658
  },
656
659
  "attribute": "pendingcolor",
657
660
  "reflect": false
@@ -735,7 +738,7 @@ export class ReferralList {
735
738
  "text": "\"lightgray\"",
736
739
  "name": "default"
737
740
  }],
738
- "text": "Color of the expired icon and text"
741
+ "text": "Color of the expired reward icon and text in the rewards column."
739
742
  },
740
743
  "attribute": "expiredcolor",
741
744
  "reflect": false
@@ -842,7 +845,7 @@ export class ReferralList {
842
845
  "text": "\"#C81D05\"",
843
846
  "name": "default"
844
847
  }],
845
- "text": "Color of the cancelled icon and text"
848
+ "text": "Color of the cancelled icon and text in the rewards column."
846
849
  },
847
850
  "attribute": "cancelledcolor",
848
851
  "reflect": false
@@ -868,7 +871,7 @@ export class ReferralList {
868
871
  "text": "\"Signed up, referred {date}\"",
869
872
  "name": "default"
870
873
  }],
871
- "text": "Cancelled text content shown in the user column"
874
+ "text": "Content shown in the referral column for a cancelled reward."
872
875
  },
873
876
  "attribute": "cancelledcontent",
874
877
  "reflect": false
@@ -894,7 +897,7 @@ export class ReferralList {
894
897
  "text": "\"Cancelled Reward\"",
895
898
  "name": "default"
896
899
  }],
897
- "text": "Cancelled text content shown alongside the icon in the referral column"
900
+ "text": "Text shown alongside the icon in the referral column for a cancelled reward."
898
901
  },
899
902
  "attribute": "cancelledvalue",
900
903
  "reflect": false