@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
@@ -7233,7 +7233,7 @@ const ShareButtonContainer = class {
7233
7233
  */
7234
7234
  this.emailicon = "mail";
7235
7235
  /**
7236
- * CSS Class name used to style the Email button
7236
+ * CSS class name for additional styling.
7237
7237
  *
7238
7238
  * @uiName Email Class Name
7239
7239
  * @uiGroup Email
@@ -7254,8 +7254,6 @@ const ShareButtonContainer = class {
7254
7254
  */
7255
7255
  this.facebookiconhorizontal = 9;
7256
7256
  /**
7257
- * Size of the facebook button icon
7258
- *
7259
7257
  * @uiName Facebook Icon Size
7260
7258
  * @uiGroup Facebook
7261
7259
  */
@@ -7275,8 +7273,6 @@ const ShareButtonContainer = class {
7275
7273
  */
7276
7274
  this.twittericonhorizontal = 9;
7277
7275
  /**
7278
- * Size of the twitter button icon
7279
- *
7280
7276
  * @uiName Twitter Icon Size
7281
7277
  * @uiGroup Twitter
7282
7278
  */
@@ -7289,8 +7285,6 @@ const ShareButtonContainer = class {
7289
7285
  */
7290
7286
  this.smsicon = "chat";
7291
7287
  /**
7292
- * Color of the text inside the WhatsApp button
7293
- *
7294
7288
  * @uiName WhatsApp Text Color
7295
7289
  * @uiGroup WhatsApp
7296
7290
  * @uiWidget color
@@ -7320,8 +7314,6 @@ const ShareButtonContainer = class {
7320
7314
  */
7321
7315
  this.whatsappiconvertical = 2;
7322
7316
  /**
7323
- * Size of the WhatsApp button icon
7324
- *
7325
7317
  * @uiName WhatsApp Icon Size
7326
7318
  * @uiGroup WhatsApp
7327
7319
  */
@@ -7334,8 +7326,6 @@ const ShareButtonContainer = class {
7334
7326
  */
7335
7327
  this.linkedinicon = "linkedin";
7336
7328
  /**
7337
- * Size of the Linkedin button icon
7338
- *
7339
7329
  * @uiName Linkedin Icon Size
7340
7330
  * @uiGroup LinkedIn
7341
7331
  */
@@ -7362,8 +7352,6 @@ const ShareButtonContainer = class {
7362
7352
  */
7363
7353
  this.pinteresticonvertical = 4;
7364
7354
  /**
7365
- * Size of the Pinterest button icon
7366
- *
7367
7355
  * @uiName Pinterest Icon Size
7368
7356
  * @uiGroup Pinterest
7369
7357
  */
@@ -7390,8 +7378,6 @@ const ShareButtonContainer = class {
7390
7378
  */
7391
7379
  this.messengericonvertical = 3;
7392
7380
  /**
7393
- * Size of the Messenger button icon
7394
- *
7395
7381
  * @uiName Messenger Icon Size
7396
7382
  * @uiGroup Messenger
7397
7383
  */
@@ -7418,8 +7404,6 @@ const ShareButtonContainer = class {
7418
7404
  */
7419
7405
  this.lineiconvertical = -5;
7420
7406
  /**
7421
- * Size of the Line button icon
7422
- *
7423
7407
  * @uiName Line Icon Size
7424
7408
  * @uiGroup Line Messenger
7425
7409
  */
@@ -7810,8 +7794,7 @@ const StatsContainer = class {
7810
7794
  constructor(hostRef) {
7811
7795
  registerInstance(this, hostRef);
7812
7796
  /**
7813
- * Hide the component
7814
- *
7797
+ * @undocumented
7815
7798
  * @uiName Is Hidden
7816
7799
  */
7817
7800
  this.ishidden = false;
@@ -6752,7 +6752,7 @@ var ShareButtonContainer = /** @class */ (function () {
6752
6752
  */
6753
6753
  this.emailicon = "mail";
6754
6754
  /**
6755
- * CSS Class name used to style the Email button
6755
+ * CSS class name for additional styling.
6756
6756
  *
6757
6757
  * @uiName Email Class Name
6758
6758
  * @uiGroup Email
@@ -6773,8 +6773,6 @@ var ShareButtonContainer = /** @class */ (function () {
6773
6773
  */
6774
6774
  this.facebookiconhorizontal = 9;
6775
6775
  /**
6776
- * Size of the facebook button icon
6777
- *
6778
6776
  * @uiName Facebook Icon Size
6779
6777
  * @uiGroup Facebook
6780
6778
  */
@@ -6794,8 +6792,6 @@ var ShareButtonContainer = /** @class */ (function () {
6794
6792
  */
6795
6793
  this.twittericonhorizontal = 9;
6796
6794
  /**
6797
- * Size of the twitter button icon
6798
- *
6799
6795
  * @uiName Twitter Icon Size
6800
6796
  * @uiGroup Twitter
6801
6797
  */
@@ -6808,8 +6804,6 @@ var ShareButtonContainer = /** @class */ (function () {
6808
6804
  */
6809
6805
  this.smsicon = "chat";
6810
6806
  /**
6811
- * Color of the text inside the WhatsApp button
6812
- *
6813
6807
  * @uiName WhatsApp Text Color
6814
6808
  * @uiGroup WhatsApp
6815
6809
  * @uiWidget color
@@ -6839,8 +6833,6 @@ var ShareButtonContainer = /** @class */ (function () {
6839
6833
  */
6840
6834
  this.whatsappiconvertical = 2;
6841
6835
  /**
6842
- * Size of the WhatsApp button icon
6843
- *
6844
6836
  * @uiName WhatsApp Icon Size
6845
6837
  * @uiGroup WhatsApp
6846
6838
  */
@@ -6853,8 +6845,6 @@ var ShareButtonContainer = /** @class */ (function () {
6853
6845
  */
6854
6846
  this.linkedinicon = "linkedin";
6855
6847
  /**
6856
- * Size of the Linkedin button icon
6857
- *
6858
6848
  * @uiName Linkedin Icon Size
6859
6849
  * @uiGroup LinkedIn
6860
6850
  */
@@ -6881,8 +6871,6 @@ var ShareButtonContainer = /** @class */ (function () {
6881
6871
  */
6882
6872
  this.pinteresticonvertical = 4;
6883
6873
  /**
6884
- * Size of the Pinterest button icon
6885
- *
6886
6874
  * @uiName Pinterest Icon Size
6887
6875
  * @uiGroup Pinterest
6888
6876
  */
@@ -6909,8 +6897,6 @@ var ShareButtonContainer = /** @class */ (function () {
6909
6897
  */
6910
6898
  this.messengericonvertical = 3;
6911
6899
  /**
6912
- * Size of the Messenger button icon
6913
- *
6914
6900
  * @uiName Messenger Icon Size
6915
6901
  * @uiGroup Messenger
6916
6902
  */
@@ -6937,8 +6923,6 @@ var ShareButtonContainer = /** @class */ (function () {
6937
6923
  */
6938
6924
  this.lineiconvertical = -5;
6939
6925
  /**
6940
- * Size of the Line button icon
6941
- *
6942
6926
  * @uiName Line Icon Size
6943
6927
  * @uiGroup Line Messenger
6944
6928
  */
@@ -7339,8 +7323,7 @@ var StatsContainer = /** @class */ (function () {
7339
7323
  function StatsContainer(hostRef) {
7340
7324
  registerInstance(this, hostRef);
7341
7325
  /**
7342
- * Hide the component
7343
- *
7326
+ * @undocumented
7344
7327
  * @uiName Is Hidden
7345
7328
  */
7346
7329
  this.ishidden = false;
@@ -7,54 +7,42 @@ import Clipboard from "clipboard";
7
7
  */
8
8
  export declare class CopyButton {
9
9
  /**
10
- * Hide or show the component
11
- *
12
10
  * @uiName Hide Button
13
- * @default undefined
11
+ * @undocumented
14
12
  */
15
13
  ishidden: boolean;
16
14
  /**
17
- * Text shown inside the copy button.
18
- *
19
15
  * @uiName Button Text
20
16
  * @default "COPY CODE"
21
17
  */
22
18
  text: string;
23
19
  /**
24
- * Sets a maximum width on the copy button.
25
- *
26
- * @uiName Max Width
20
+ * @uiName Button Max Width
27
21
  * @default 170
28
22
  */
29
23
  width: number;
30
24
  /**
31
- * Background & border color of the copy button.
32
- *
33
- * @uiName Background Color
25
+ * @uiName Button Color
34
26
  * @uiWidget color
35
27
  * @format color
36
28
  * @default #35b21e
37
29
  */
38
30
  backgroundcolor: string;
39
31
  /**
40
- * Configure border radius with pixel amount
32
+ * Define the radius of the corners with a pixel amount.
41
33
  *
42
34
  * @uiName Border Radius
43
35
  * @default 4
44
36
  */
45
37
  borderradius: number;
46
38
  /**
47
- * Color of text inside the copy button.
48
- *
49
- * @uiName Text Color
39
+ * @uiName Button Text Color
50
40
  * @uiWidget color
51
41
  * @format color
52
42
  * @default #ffffff
53
43
  */
54
44
  textcolor: string;
55
45
  /**
56
- * Font size of the copy button text.
57
- *
58
46
  * @uiName Font Size
59
47
  * @default 14
60
48
  */
@@ -74,7 +62,7 @@ export declare class CopyButton {
74
62
  */
75
63
  copyfailure: string;
76
64
  /**
77
- * rewardkey is used to get the fuel tank code for a user.
65
+ * The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user.
78
66
  *
79
67
  * @uiName Reward Key
80
68
  * @default "referredReward"
@@ -88,9 +76,7 @@ export declare class CopyButton {
88
76
  */
89
77
  codefontsize: number;
90
78
  /**
91
- * Text color of the fuel tank code.
92
- *
93
- * @uiName Code Font Color
79
+ * @uiName Fuel Tank Code Color
94
80
  * @uiWidget color
95
81
  * @format color
96
82
  * @default #000000
@@ -7,14 +7,11 @@ import Clipboard from "clipboard";
7
7
  */
8
8
  export declare class CopyLinkButton {
9
9
  /**
10
- * Hide or show the component
11
- *
10
+ * @undocumented
12
11
  * @uiName Hide Button
13
12
  */
14
13
  ishidden: boolean;
15
14
  /**
16
- * Text shown inside the copy button.
17
- *
18
15
  * @uiName Button Text
19
16
  * @default "Copy"
20
17
  */
@@ -34,8 +31,6 @@ export declare class CopyLinkButton {
34
31
  */
35
32
  copyfailure: string;
36
33
  /**
37
- * Background & border color of the copy button.
38
- *
39
34
  * @uiName Button Color
40
35
  * @uiWidget color
41
36
  * @format color
@@ -43,9 +38,7 @@ export declare class CopyLinkButton {
43
38
  */
44
39
  buttoncolor: string;
45
40
  /**
46
- * Color of text inside the copy button.
47
- *
48
- * @uiName Text Color
41
+ * @uiName Button Text Color
49
42
  * @uiWidget color
50
43
  * @format color
51
44
  * @default "#FFFFFF"
@@ -5,8 +5,6 @@
5
5
  */
6
6
  export declare class GlobalContainer {
7
7
  /**
8
- * Configure the background color.
9
- *
10
8
  * @uiName Background Color
11
9
  * @uiWidget color
12
10
  * @format color
@@ -14,7 +12,7 @@ export declare class GlobalContainer {
14
12
  */
15
13
  background: string;
16
14
  /**
17
- * Configure the color of the loading state.
15
+ * The background colour of the component while in the loading state.
18
16
  *
19
17
  * @uiName Loading Color
20
18
  * @uiWidget color
@@ -31,13 +29,11 @@ export declare class GlobalContainer {
31
29
  */
32
30
  fontfamily: string;
33
31
  /**
34
- * Maximum width on the container.
35
- *
36
- * @uiName Max Width
32
+ * @uiName Container Max Width
37
33
  */
38
34
  maxwidth: string;
39
35
  /**
40
- * Show and hide the powered by SaaSquatch link. Can only be disabled on Pro plans.
36
+ * Show the Powered by SaaSquatch link. This can only be disabled on Pro plans.
41
37
  *
42
38
  * @uiName Show Powered By
43
39
  */
@@ -4,36 +4,31 @@
4
4
  */
5
5
  export declare class ImageComponent {
6
6
  /**
7
- * Hide or show the component
8
- *
7
+ * @undocumented
9
8
  * @uiName Hide Image
10
9
  */
11
10
  ishidden: boolean;
12
11
  /**
13
- * Image link
14
- *
15
- * @uiName URL
12
+ * @uiName Image URL
16
13
  * @uiWidget imageUpload
17
14
  * @format url
18
15
  *
19
16
  */
20
17
  url: string;
21
18
  /**
22
- * Image width
19
+ * Define the width of the image with a pixel amount.
23
20
  *
24
21
  * @uiName Width
25
22
  */
26
23
  width: number;
27
24
  /**
28
- * Configure border radius with pixel amount
25
+ * Define the radius of the corners with a pixel amount.
29
26
  *
30
27
  * @uiName Border Radius
31
28
  */
32
29
  borderradius: number;
33
30
  /**
34
- * Configure alignment of the image
35
- *
36
- * @uiName Alignment
31
+ * @uiName Horizontal Alignment
37
32
  * @uiEnum ["left", "center", "right"]
38
33
  * @uiEnumNames ["Left", "Center", "Right"]
39
34
  * @default "center"
@@ -10,35 +10,34 @@ import { EventEmitter } from "../../stencil-public-runtime";
10
10
  export declare class PartnerStatComponent {
11
11
  elem: HTMLElement;
12
12
  /**
13
- * Hide or show the component
14
- *
13
+ * @undocumented
15
14
  * @uiName Hide Stat
16
15
  */
17
16
  ishidden: boolean;
18
17
  /**
19
- * Used to query the stats for a user
18
+ * Determines what type of stat is displayed. Manual paths are also supported.
20
19
  *
21
20
  * @uiName Stat Type
22
21
  * @uiWidget statTypeSelector
23
22
  * @required
23
+ * @minLength 1
24
24
  */
25
25
  stattype: string;
26
26
  /**
27
27
  * Value of the stat
28
28
  *
29
- * @uiName Stat Value
29
+ * @uiName Value
30
+ * @undocumented
30
31
  */
31
32
  statvalue: string;
32
33
  /**
33
- * Description of the stat
34
- *
35
- * @uiName Stat Description
34
+ * @uiName Description
36
35
  */
37
36
  statdescription: string;
38
37
  /**
39
38
  * Color of the stat value and description
40
39
  *
41
- * @uiName Stat Color
40
+ * @uiName Color
42
41
  * @uiWidget color
43
42
  * @format color
44
43
  */
@@ -6,8 +6,7 @@
6
6
  */
7
7
  export declare class ReferralList {
8
8
  /**
9
- * Hide or show the component
10
- *
9
+ * @undocumented
11
10
  * @uiName Hide Referral List
12
11
  */
13
12
  ishidden: boolean;
@@ -33,7 +32,7 @@ export declare class ReferralList {
33
32
  */
34
33
  noreferralsyet: string;
35
34
  /**
36
- * Text color of the referred users name
35
+ * Text color of the referred user's name
37
36
  *
38
37
  * @uiName Referral Name Color
39
38
  * @uiWidget color
@@ -42,30 +41,24 @@ export declare class ReferralList {
42
41
  */
43
42
  referralnamecolor: string;
44
43
  /**
45
- * Text color of the referral status
46
- *
47
- * @uiName Referral Text Color
44
+ * @uiName Referral Status Text Color
48
45
  * @uiWidget color
49
46
  * @format color
50
47
  * @default "lightgray"
51
48
  */
52
49
  referraltextcolor: string;
53
50
  /**
54
- * Text shown when the referred users name is unknown
51
+ * Text shown when the referred user's name is unknown
55
52
  *
56
53
  * @uiName Unknown User Text
57
54
  * @default "Your Friend"
58
55
  */
59
56
  unknownuser: string;
60
57
  /**
61
- * Show or hide expired rewards
62
- *
63
- * @uiName Show Expiry
58
+ * @uiName Show Expired Rewards
64
59
  */
65
60
  showexpiry: boolean;
66
61
  /**
67
- * Show the customer note for a referral
68
- *
69
62
  * @uiName Show Customer Note
70
63
  */
71
64
  shownotes: boolean;
@@ -78,9 +71,9 @@ export declare class ReferralList {
78
71
  */
79
72
  redeemedvalue: string;
80
73
  /**
81
- * Show or hide the referrer
74
+ * Show referral and reward information on who referred you.
82
75
  *
83
- * @uiName Show Referrer
76
+ * @uiName Show Referred By
84
77
  * @uiGroup Referrer
85
78
  * @default ""
86
79
  */
@@ -102,7 +95,7 @@ export declare class ReferralList {
102
95
  */
103
96
  referrervalue: string;
104
97
  /**
105
- * Color of the successful reward icon and the text value
98
+ * Color of the successful reward icon and text in the rewards column.
106
99
  *
107
100
  * @uiName Reward Color
108
101
  * @uiGroup Converted Referrals
@@ -112,16 +105,14 @@ export declare class ReferralList {
112
105
  */
113
106
  rewardcolor: string;
114
107
  /**
115
- * Color of the customer note
116
- *
117
- * @uiName Reward Color
108
+ * @uiName Customer Note Color
118
109
  * @uiGroup Converted Referrals
119
110
  * @uiWidget color
120
111
  * @format color
121
112
  */
122
113
  customernotecolor: string;
123
114
  /**
124
- * Show value of the first earned reward inside the rewards column
115
+ * Show the value of the first earned reward inside the rewards column
125
116
  *
126
117
  * @uiName Use First Reward
127
118
  * @uiGroup Converted Referrals
@@ -145,7 +136,7 @@ export declare class ReferralList {
145
136
  */
146
137
  valuecontent: string;
147
138
  /**
148
- * Color of the pending icon and text
139
+ * Color of the pending reward icon and text in the rewards column.
149
140
  *
150
141
  * @uiName Pending Color
151
142
  * @uiGroup Pending Referrals
@@ -171,7 +162,7 @@ export declare class ReferralList {
171
162
  */
172
163
  pendingvalue: string;
173
164
  /**
174
- * Color of the expired icon and text
165
+ * Color of the expired reward icon and text in the rewards column.
175
166
  *
176
167
  * @uiName Expired Color
177
168
  * @uiGroup Expired Rewards
@@ -204,7 +195,7 @@ export declare class ReferralList {
204
195
  */
205
196
  expiresvalue: string;
206
197
  /**
207
- * Color of the cancelled icon and text
198
+ * Color of the cancelled icon and text in the rewards column.
208
199
  *
209
200
  * @uiName Cancelled Color
210
201
  * @uiGroup Cancelled Rewards
@@ -214,7 +205,7 @@ export declare class ReferralList {
214
205
  */
215
206
  cancelledcolor: string;
216
207
  /**
217
- * Cancelled text content shown in the user column
208
+ * Content shown in the referral column for a cancelled reward.
218
209
  *
219
210
  * @uiName Cancelled Content
220
211
  * @uiGroup Cancelled Rewards
@@ -222,7 +213,7 @@ export declare class ReferralList {
222
213
  */
223
214
  cancelledcontent: string;
224
215
  /**
225
- * Cancelled text content shown alongside the icon in the referral column
216
+ * Text shown alongside the icon in the referral column for a cancelled reward.
226
217
  *
227
218
  * @uiName Cancelled Value
228
219
  * @uiGroup Cancelled Rewards