@saasquatch/vanilla-components 1.2.4-10 → 1.2.4-11
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.
- package/dist/cjs/sqh-copy-button_14.cjs.entry.js +145 -140
- package/dist/collection/components/copy-button/copy-button.js +4 -4
- package/dist/collection/components/copy-link-button/copy-link-button.js +5 -5
- package/dist/collection/components/cta-component/cta-component.js +27 -24
- package/dist/collection/components/global-container/global-container.js +2 -2
- package/dist/collection/components/image-component/image-component.js +2 -2
- package/dist/collection/components/progress-indicator/progress-indicator.js +187 -175
- package/dist/collection/components/referral-list/referral-list.js +22 -25
- package/dist/collection/components/share-button/share-button.js +1 -1
- package/dist/collection/components/share-button-container/share-button-container.js +37 -37
- package/dist/collection/components/stats-container/stats-container.js +2 -2
- package/dist/collection/components/text-component/text-component.js +4 -4
- package/dist/esm/sqh-copy-button_14.entry.js +145 -140
- package/dist/esm-es5/sqh-copy-button_14.entry.js +83 -76
- package/dist/types/components/copy-button/copy-button.d.ts +4 -4
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +5 -5
- package/dist/types/components/cta-component/cta-component.d.ts +7 -7
- package/dist/types/components/global-container/global-container.d.ts +2 -2
- package/dist/types/components/image-component/image-component.d.ts +2 -2
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +19 -11
- package/dist/types/components/referral-list/referral-list.d.ts +22 -23
- package/dist/types/components/share-button/share-button.d.ts +1 -1
- package/dist/types/components/share-button-container/share-button-container.d.ts +36 -36
- package/dist/types/components/stats-container/stats-container.d.ts +2 -2
- package/dist/types/components/text-component/text-component.d.ts +1 -1
- package/dist/types/components.d.ts +184 -178
- package/dist/widget-components/{p-0839fd2c.system.entry.js → p-0e55cfb5.system.entry.js} +3 -3
- package/dist/widget-components/{p-a952fcf2.entry.js → p-0ec230df.entry.js} +81 -81
- package/dist/widget-components/p-e82def83.system.js +1 -1
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/docs/raisins.json +1 -1
- package/package.json +2 -2
|
@@ -13,7 +13,7 @@ export declare class CopyButton {
|
|
|
13
13
|
ishidden: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @uiName Button Text
|
|
16
|
-
* @default
|
|
16
|
+
* @default COPY CODE
|
|
17
17
|
*/
|
|
18
18
|
text: string;
|
|
19
19
|
/**
|
|
@@ -51,21 +51,21 @@ export declare class CopyButton {
|
|
|
51
51
|
* Shown when the code is successfully copied to the users clipboard.
|
|
52
52
|
*
|
|
53
53
|
* @uiName Copy Success Text
|
|
54
|
-
* @default
|
|
54
|
+
* @default copied!
|
|
55
55
|
*/
|
|
56
56
|
copysuccess: string;
|
|
57
57
|
/**
|
|
58
58
|
* Shown when the button has failed to copy the code to the users clipboard.
|
|
59
59
|
*
|
|
60
60
|
* @uiName Copy Failure Text
|
|
61
|
-
* @default
|
|
61
|
+
* @default Press Ctrl+C to copy
|
|
62
62
|
*/
|
|
63
63
|
copyfailure: string;
|
|
64
64
|
/**
|
|
65
65
|
* The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user.
|
|
66
66
|
*
|
|
67
67
|
* @uiName Reward Key
|
|
68
|
-
* @default
|
|
68
|
+
* @default referredReward
|
|
69
69
|
*/
|
|
70
70
|
rewardkey: string;
|
|
71
71
|
/**
|
|
@@ -13,35 +13,35 @@ export declare class CopyLinkButton {
|
|
|
13
13
|
ishidden: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @uiName Button Text
|
|
16
|
-
* @default
|
|
16
|
+
* @default Copy
|
|
17
17
|
*/
|
|
18
18
|
text: string;
|
|
19
19
|
/**
|
|
20
20
|
* Shown when the code is successfully copied to the users clipboard.
|
|
21
21
|
*
|
|
22
22
|
* @uiName Copy Success Text
|
|
23
|
-
* @default
|
|
23
|
+
* @default copied!
|
|
24
24
|
*/
|
|
25
25
|
copysuccess: string;
|
|
26
26
|
/**
|
|
27
27
|
* Shown when the button has failed to copy the code to the users clipboard.
|
|
28
28
|
*
|
|
29
29
|
* @uiName Copy Failure Text
|
|
30
|
-
* @default
|
|
30
|
+
* @default Press Ctrl+C to copy
|
|
31
31
|
*/
|
|
32
32
|
copyfailure: string;
|
|
33
33
|
/**
|
|
34
34
|
* @uiName Button Color
|
|
35
35
|
* @uiWidget color
|
|
36
36
|
* @format color
|
|
37
|
-
* @default
|
|
37
|
+
* @default #5C6164
|
|
38
38
|
*/
|
|
39
39
|
buttoncolor: string;
|
|
40
40
|
/**
|
|
41
41
|
* @uiName Button Text Color
|
|
42
42
|
* @uiWidget color
|
|
43
43
|
* @format color
|
|
44
|
-
* @default
|
|
44
|
+
* @default #FFFFFF
|
|
45
45
|
*/
|
|
46
46
|
textcolor: string;
|
|
47
47
|
sharelink: string;
|
|
@@ -7,7 +7,7 @@ export declare class CTAComponent {
|
|
|
7
7
|
*/
|
|
8
8
|
ishidden: boolean;
|
|
9
9
|
/**
|
|
10
|
-
* Compile plain text into HTML. See
|
|
10
|
+
* Compile plain text into HTML. See [markdown](https://www.markdownguide.org/getting-started/) for more details.
|
|
11
11
|
*
|
|
12
12
|
* @uiName Use Markdown
|
|
13
13
|
*/
|
|
@@ -31,10 +31,10 @@ export declare class CTAComponent {
|
|
|
31
31
|
*/
|
|
32
32
|
fontsize: string;
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
* Top padding in pixels
|
|
35
|
+
*
|
|
36
|
+
* @uiName Padding Top
|
|
37
|
+
*/
|
|
38
38
|
paddingtop: string;
|
|
39
39
|
/**
|
|
40
40
|
* @uiName Font Weight
|
|
@@ -60,7 +60,7 @@ export declare class CTAComponent {
|
|
|
60
60
|
* @uiName Button Color
|
|
61
61
|
* @uiWidget color
|
|
62
62
|
* @format color
|
|
63
|
-
* @default
|
|
63
|
+
* @default #F5A100
|
|
64
64
|
*/
|
|
65
65
|
buttonbackground: string;
|
|
66
66
|
/**
|
|
@@ -77,7 +77,7 @@ export declare class CTAComponent {
|
|
|
77
77
|
width: string;
|
|
78
78
|
/**
|
|
79
79
|
* @uiName Border Radius
|
|
80
|
-
* @default
|
|
80
|
+
* @default 8px
|
|
81
81
|
*/
|
|
82
82
|
borderradius: string;
|
|
83
83
|
/**
|
|
@@ -8,7 +8,7 @@ export declare class GlobalContainer {
|
|
|
8
8
|
* @uiName Background Color
|
|
9
9
|
* @uiWidget color
|
|
10
10
|
* @format color
|
|
11
|
-
* @default
|
|
11
|
+
* @default #ffffff
|
|
12
12
|
*/
|
|
13
13
|
background: string;
|
|
14
14
|
/**
|
|
@@ -23,7 +23,7 @@ export declare class GlobalContainer {
|
|
|
23
23
|
* Font family used inside the container.
|
|
24
24
|
*
|
|
25
25
|
* @uiName Font Family
|
|
26
|
-
* @default
|
|
26
|
+
* @default Roboto
|
|
27
27
|
* @uiEnum ["Roboto", "Artifakt Element", "Helvetica Neue,Helvetica,Arial,sans-serif", "Lato,sans-serif", "Times New Roman", "Arial", "Courier", "Tahoma", "Verdana", "Georgia"]
|
|
28
28
|
* @uiEnumNames ["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]
|
|
29
29
|
*/
|
|
@@ -31,7 +31,7 @@ export declare class ImageComponent {
|
|
|
31
31
|
* @uiName Horizontal Alignment
|
|
32
32
|
* @uiEnum ["left", "center", "right"]
|
|
33
33
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
34
|
-
* @default
|
|
34
|
+
* @default center
|
|
35
35
|
*/
|
|
36
36
|
alignment: string;
|
|
37
37
|
/**
|
|
@@ -39,7 +39,7 @@ export declare class ImageComponent {
|
|
|
39
39
|
*
|
|
40
40
|
* @uiName CSS
|
|
41
41
|
* @uiWidget textArea
|
|
42
|
-
* @default
|
|
42
|
+
* @default padding-top: 38px; padding-bottom: 7px;
|
|
43
43
|
*/
|
|
44
44
|
css: string;
|
|
45
45
|
render(): any;
|
|
@@ -16,9 +16,12 @@ interface currency {
|
|
|
16
16
|
displayName: string;
|
|
17
17
|
currencyCode: string;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* @uiName Progress Indicator
|
|
21
|
+
* @canvasRenderer always-replace
|
|
22
|
+
*/
|
|
19
23
|
export declare class ProgressIndicator {
|
|
20
24
|
/**
|
|
21
|
-
* @undocumented
|
|
22
25
|
* @uiName Hide Component
|
|
23
26
|
*/
|
|
24
27
|
ishidden: boolean;
|
|
@@ -36,21 +39,21 @@ export declare class ProgressIndicator {
|
|
|
36
39
|
*/
|
|
37
40
|
align: string;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
42
|
+
* The type of icon used to display a user’s progress.
|
|
40
43
|
*
|
|
41
|
-
* @uiName Indicator Icon
|
|
42
|
-
* @uiEnum ["Path", "
|
|
43
|
-
* @uiEnumNames ["Path", "
|
|
44
|
+
* @uiName Indicator Icon
|
|
45
|
+
* @uiEnum ["Path", "Circle", "SemiCircle", "Line"]
|
|
46
|
+
* @uiEnumNames ["Path", "Circle", "Semi Circle", "Line"]
|
|
44
47
|
*/
|
|
45
48
|
progresstype: string;
|
|
46
49
|
/**
|
|
47
|
-
* Text
|
|
50
|
+
* Text displayed before a user’s credit earned amount.
|
|
48
51
|
*
|
|
49
52
|
* @uiName Credit Earned Text
|
|
50
53
|
*/
|
|
51
54
|
earned: string;
|
|
52
55
|
/**
|
|
53
|
-
* Text
|
|
56
|
+
* Text displayed below the completion percentage.
|
|
54
57
|
*
|
|
55
58
|
* @uiName Progress Text
|
|
56
59
|
*/
|
|
@@ -62,19 +65,24 @@ export declare class ProgressIndicator {
|
|
|
62
65
|
*/
|
|
63
66
|
progresswidth: string;
|
|
64
67
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* @uiName Percentage Color
|
|
68
|
+
* @uiName Percentage Text Color
|
|
68
69
|
* @uiWidget color
|
|
69
70
|
* @format color
|
|
70
71
|
*/
|
|
71
72
|
percentagecolor: string;
|
|
72
73
|
/**
|
|
73
|
-
*
|
|
74
|
+
* Define the font size of the percentage text in a pixel amount
|
|
74
75
|
*
|
|
75
76
|
* @uiName Percentage Text Size
|
|
76
77
|
*/
|
|
77
78
|
percentagesize: string;
|
|
79
|
+
/**
|
|
80
|
+
* Color of the progress bar
|
|
81
|
+
*
|
|
82
|
+
* @uiName Progress Color
|
|
83
|
+
* @uiWidget color
|
|
84
|
+
* @format color
|
|
85
|
+
*/
|
|
78
86
|
progresscolor: string;
|
|
79
87
|
stats: stats;
|
|
80
88
|
rewardStats: any;
|
|
@@ -14,21 +14,21 @@ export declare class ReferralList {
|
|
|
14
14
|
* Shown inside the paginate more button.
|
|
15
15
|
*
|
|
16
16
|
* @uiName Paginate More Text
|
|
17
|
-
* @default
|
|
17
|
+
* @default View More
|
|
18
18
|
*/
|
|
19
19
|
paginatemore: string;
|
|
20
20
|
/**
|
|
21
21
|
* Shown inside the paginate less button.
|
|
22
22
|
*
|
|
23
23
|
* @uiName Paginate Less Text
|
|
24
|
-
* @default
|
|
24
|
+
* @default Previous
|
|
25
25
|
*/
|
|
26
26
|
paginateless: string;
|
|
27
27
|
/**
|
|
28
28
|
* Shown when referral list is empty.
|
|
29
29
|
*
|
|
30
30
|
* @uiName Empty Referrals Text
|
|
31
|
-
* @default
|
|
31
|
+
* @default No Referrals Yet...
|
|
32
32
|
*/
|
|
33
33
|
noreferralsyet: string;
|
|
34
34
|
/**
|
|
@@ -37,21 +37,21 @@ export declare class ReferralList {
|
|
|
37
37
|
* @uiName Referral Name Color
|
|
38
38
|
* @uiWidget color
|
|
39
39
|
* @format color
|
|
40
|
-
* @default
|
|
40
|
+
* @default darkslategray
|
|
41
41
|
*/
|
|
42
42
|
referralnamecolor: string;
|
|
43
43
|
/**
|
|
44
44
|
* @uiName Referral Status Text Color
|
|
45
45
|
* @uiWidget color
|
|
46
46
|
* @format color
|
|
47
|
-
* @default
|
|
47
|
+
* @default lightgray
|
|
48
48
|
*/
|
|
49
49
|
referraltextcolor: string;
|
|
50
50
|
/**
|
|
51
51
|
* Text shown when the referred user's name is unknown.
|
|
52
52
|
*
|
|
53
53
|
* @uiName Unknown User Text
|
|
54
|
-
* @default
|
|
54
|
+
* @default Your Friend
|
|
55
55
|
*/
|
|
56
56
|
unknownuser: string;
|
|
57
57
|
/**
|
|
@@ -67,7 +67,7 @@ export declare class ReferralList {
|
|
|
67
67
|
*
|
|
68
68
|
* @uiName Redeemed Text
|
|
69
69
|
* @uiGroup Converted Referrals
|
|
70
|
-
* @default
|
|
70
|
+
* @default Redeemed
|
|
71
71
|
*/
|
|
72
72
|
redeemedvalue: string;
|
|
73
73
|
/**
|
|
@@ -75,7 +75,6 @@ export declare class ReferralList {
|
|
|
75
75
|
*
|
|
76
76
|
* @uiName Show Referred By
|
|
77
77
|
* @uiGroup Referrer
|
|
78
|
-
* @default ""
|
|
79
78
|
*/
|
|
80
79
|
showreferrer: boolean;
|
|
81
80
|
/**
|
|
@@ -83,7 +82,7 @@ export declare class ReferralList {
|
|
|
83
82
|
*
|
|
84
83
|
* @uiName Referrer Description
|
|
85
84
|
* @uiGroup Referrer
|
|
86
|
-
* @default
|
|
85
|
+
* @default Referred you {date}
|
|
87
86
|
*/
|
|
88
87
|
referrercontent: string;
|
|
89
88
|
/**
|
|
@@ -91,7 +90,7 @@ export declare class ReferralList {
|
|
|
91
90
|
*
|
|
92
91
|
* @uiName Referrer Text
|
|
93
92
|
* @uiGroup Referrer
|
|
94
|
-
* @default
|
|
93
|
+
* @default Referred
|
|
95
94
|
*/
|
|
96
95
|
referrervalue: string;
|
|
97
96
|
/**
|
|
@@ -101,7 +100,7 @@ export declare class ReferralList {
|
|
|
101
100
|
* @uiGroup Converted Referrals
|
|
102
101
|
* @uiWidget color
|
|
103
102
|
* @format color
|
|
104
|
-
* @default
|
|
103
|
+
* @default #4BB543
|
|
105
104
|
*/
|
|
106
105
|
rewardcolor: string;
|
|
107
106
|
/**
|
|
@@ -123,16 +122,16 @@ export declare class ReferralList {
|
|
|
123
122
|
*
|
|
124
123
|
* @uiName Converted Description
|
|
125
124
|
* @uiGroup Converted Referrals
|
|
126
|
-
* @default
|
|
125
|
+
* @default Signed up, referred {date}
|
|
127
126
|
*/
|
|
128
127
|
convertedcontent: string;
|
|
129
128
|
/**
|
|
130
|
-
* ICU message shown in the rewards column. See
|
|
129
|
+
* ICU message shown in the rewards column. See [ICU messages](https://unicode-org.github.io/icu/userguide/format_parse/messages/) for more details.
|
|
131
130
|
*
|
|
132
131
|
* @uiName Value Content
|
|
133
132
|
* @uiGroup Converted Referrals
|
|
134
133
|
* @uiWidget textArea
|
|
135
|
-
* @default
|
|
134
|
+
* @default and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}
|
|
136
135
|
*/
|
|
137
136
|
valuecontent: string;
|
|
138
137
|
/**
|
|
@@ -142,7 +141,7 @@ export declare class ReferralList {
|
|
|
142
141
|
* @uiGroup Pending Referrals
|
|
143
142
|
* @uiWidget color
|
|
144
143
|
* @format color
|
|
145
|
-
* @default
|
|
144
|
+
* @default lightgray
|
|
146
145
|
*/
|
|
147
146
|
pendingcolor: string;
|
|
148
147
|
/**
|
|
@@ -150,7 +149,7 @@ export declare class ReferralList {
|
|
|
150
149
|
*
|
|
151
150
|
* @uiName Pending Description
|
|
152
151
|
* @uiGroup Pending Referrals
|
|
153
|
-
* @default
|
|
152
|
+
* @default Trial user, referred {date}
|
|
154
153
|
*/
|
|
155
154
|
pendingcontent: string;
|
|
156
155
|
/**
|
|
@@ -158,7 +157,7 @@ export declare class ReferralList {
|
|
|
158
157
|
*
|
|
159
158
|
* @uiName Pending Text
|
|
160
159
|
* @uiGroup Pending Referrals
|
|
161
|
-
* @default
|
|
160
|
+
* @default Referral pending
|
|
162
161
|
*/
|
|
163
162
|
pendingvalue: string;
|
|
164
163
|
/**
|
|
@@ -168,7 +167,7 @@ export declare class ReferralList {
|
|
|
168
167
|
* @uiGroup Expired Rewards
|
|
169
168
|
* @uiWidget color
|
|
170
169
|
* @format color
|
|
171
|
-
* @default
|
|
170
|
+
* @default lightgray
|
|
172
171
|
*/
|
|
173
172
|
expiredcolor: string;
|
|
174
173
|
/**
|
|
@@ -176,7 +175,7 @@ export declare class ReferralList {
|
|
|
176
175
|
*
|
|
177
176
|
* @uiName Expired Description
|
|
178
177
|
* @uiGroup Expired Rewards
|
|
179
|
-
* @default
|
|
178
|
+
* @default Signed up, referred {date}
|
|
180
179
|
*/
|
|
181
180
|
expiredcontent: string;
|
|
182
181
|
/**
|
|
@@ -184,7 +183,7 @@ export declare class ReferralList {
|
|
|
184
183
|
*
|
|
185
184
|
* @uiName Expired Text
|
|
186
185
|
* @uiGroup Expired Rewards
|
|
187
|
-
* @default
|
|
186
|
+
* @default Expired Reward
|
|
188
187
|
*/
|
|
189
188
|
expiredvalue: string;
|
|
190
189
|
/**
|
|
@@ -201,7 +200,7 @@ export declare class ReferralList {
|
|
|
201
200
|
* @uiGroup Cancelled Rewards
|
|
202
201
|
* @uiWidget color
|
|
203
202
|
* @format color
|
|
204
|
-
* @default
|
|
203
|
+
* @default #C81D05
|
|
205
204
|
*/
|
|
206
205
|
cancelledcolor: string;
|
|
207
206
|
/**
|
|
@@ -209,7 +208,7 @@ export declare class ReferralList {
|
|
|
209
208
|
*
|
|
210
209
|
* @uiName Cancelled Description
|
|
211
210
|
* @uiGroup Cancelled Rewards
|
|
212
|
-
* @default
|
|
211
|
+
* @default Signed up, referred {date}
|
|
213
212
|
*/
|
|
214
213
|
cancelledcontent: string;
|
|
215
214
|
/**
|
|
@@ -217,7 +216,7 @@ export declare class ReferralList {
|
|
|
217
216
|
*
|
|
218
217
|
* @uiName Cancelled Text
|
|
219
218
|
* @uiGroup Cancelled Rewards
|
|
220
|
-
* @default
|
|
219
|
+
* @default Cancelled Reward
|
|
221
220
|
*/
|
|
222
221
|
cancelledvalue: string;
|
|
223
222
|
/**
|
|
@@ -32,7 +32,7 @@ export declare class ShareButton {
|
|
|
32
32
|
*/
|
|
33
33
|
textcolor: string;
|
|
34
34
|
/**
|
|
35
|
-
* Full list of valid icon names available in the
|
|
35
|
+
* Full list of valid icon names available in the [Shoelace Icon Library](https://shoelace.style/components/icon). This value is case sensitive.
|
|
36
36
|
*
|
|
37
37
|
* @uiName Share Button Icon
|
|
38
38
|
*/
|