@saasquatch/vanilla-components 1.2.4-6 → 1.2.4-9
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/LICENSE +21 -21
- package/dist/cjs/{WidgetHost-71b013eb.js → WidgetHost-cee741d8.js} +772 -615
- package/dist/cjs/{en-a49a5ef5.js → en-3a7cb52e.js} +2 -2
- package/dist/cjs/{index-deb40352.js → index-09a04159.js} +54 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/sqh-close-button.cjs.entry.js +26 -26
- package/dist/cjs/{sqh-copy-button_12.cjs.entry.js → sqh-copy-button_14.cjs.entry.js} +2356 -1104
- package/dist/cjs/sqh-referral-code.cjs.entry.js +23 -23
- package/dist/cjs/sqh-rewards-actions.cjs.entry.js +27 -27
- package/dist/cjs/widget-components.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/close-button/close-button.js +70 -70
- package/dist/collection/components/copy-button/copy-button.js +389 -389
- package/dist/collection/components/copy-link-button/copy-link-button.js +236 -236
- package/dist/collection/components/cta-component/cta-component.css +6 -0
- package/dist/collection/components/cta-component/cta-component.js +396 -0
- package/dist/collection/components/global-container/global-container.js +172 -170
- package/dist/collection/components/image-component/image-component.js +178 -178
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +199 -199
- package/dist/collection/components/progress-indicator/progress-indicator.css +73 -0
- package/dist/collection/components/progress-indicator/progress-indicator.js +493 -0
- package/dist/collection/components/referral-code/referral-code.js +36 -36
- package/dist/collection/components/referral-component/referral-component.js +255 -255
- package/dist/collection/components/referral-list/referral-list.js +935 -935
- package/dist/collection/components/rewards-actions/rewards-actions.js +105 -105
- package/dist/collection/components/share-button/share-button.js +310 -310
- package/dist/collection/components/share-button-container/share-button-container.js +2439 -2457
- package/dist/collection/components/stat-component/stat-component.js +200 -200
- package/dist/collection/components/stats-container/stats-container.js +210 -210
- package/dist/collection/components/text-component/text-component.js +304 -283
- package/dist/collection/entrypoint.js +32 -32
- package/dist/collection/global/global.js +4 -4
- package/dist/collection/services/FormatJs.js +15 -15
- package/dist/collection/services/WidgetHost.js +778 -621
- package/dist/collection/utilities.js +81 -81
- package/dist/esm/{WidgetHost-9c337319.js → WidgetHost-6cd6c29a.js} +772 -615
- package/dist/esm/{en-be593af0.js → en-a652ab83.js} +1 -1
- package/dist/esm/{index-8ea8b6d8.js → index-342d7c26.js} +54 -3
- package/dist/esm/loader.mjs +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/sqh-close-button.entry.js +26 -26
- package/dist/esm/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +2355 -1105
- package/dist/esm/sqh-referral-code.entry.js +23 -23
- package/dist/esm/sqh-rewards-actions.entry.js +27 -27
- package/dist/esm/widget-components.mjs +3 -3
- package/dist/esm-es5/{WidgetHost-9c337319.js → WidgetHost-6cd6c29a.js} +9524 -9432
- package/dist/esm-es5/_commonjsHelpers-1d681858.js +17 -17
- package/dist/esm-es5/css-shim-a659079f.js +122 -122
- package/dist/esm-es5/dom-4061ceba.js +468 -468
- package/dist/esm-es5/{en-be593af0.js → en-a652ab83.js} +1471 -1471
- package/dist/esm-es5/{index-8ea8b6d8.js → index-342d7c26.js} +1808 -1758
- package/dist/esm-es5/loader.mjs +11 -11
- package/dist/esm-es5/sqh-close-button.entry.js +35 -35
- package/dist/esm-es5/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +10669 -9554
- package/dist/esm-es5/sqh-referral-code.entry.js +29 -29
- package/dist/esm-es5/sqh-rewards-actions.entry.js +31 -31
- package/dist/esm-es5/widget-components.mjs +6 -6
- package/dist/types/components/close-button/close-button.d.ts +18 -18
- package/dist/types/components/copy-button/copy-button.d.ts +93 -93
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +55 -55
- package/dist/types/components/cta-component/cta-component.d.ts +86 -0
- package/dist/types/components/global-container/global-container.d.ts +43 -43
- package/dist/types/components/image-component/image-component.d.ts +46 -46
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +52 -52
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +42 -0
- package/dist/types/components/referral-code/referral-code.d.ts +12 -12
- package/dist/types/components/referral-component/referral-component.d.ts +46 -46
- package/dist/types/components/referral-list/referral-list.d.ts +242 -242
- package/dist/types/components/rewards-actions/rewards-actions.d.ts +25 -25
- package/dist/types/components/share-button/share-button.d.ts +80 -82
- package/dist/types/components/share-button-container/share-button-container.d.ts +611 -629
- package/dist/types/components/stat-component/stat-component.d.ts +50 -50
- package/dist/types/components/stats-container/stats-container.d.ts +47 -47
- package/dist/types/components/text-component/text-component.d.ts +74 -70
- package/dist/types/components.d.ts +214 -28
- package/dist/types/global/global.d.ts +4 -4
- package/dist/types/saasquatch.d.ts +105 -103
- package/dist/types/services/FormatJs.d.ts +7 -7
- package/dist/types/services/WidgetHost.d.ts +51 -45
- package/dist/types/utilities.d.ts +7 -7
- package/dist/widget-components/entrypoint.js +32 -32
- package/dist/widget-components/{p-44a6559d.js → p-17d80384.js} +1 -1
- package/dist/widget-components/{p-54ea7a00.entry.js → p-1dfd20e2.entry.js} +1 -1
- package/dist/widget-components/p-24fc4ba9.js +1 -1
- package/dist/widget-components/p-46109683.js +3 -3
- package/dist/widget-components/{p-edd43dbc.js → p-4b1ab75c.js} +68 -3
- package/dist/widget-components/{p-b17efca4.system.entry.js → p-599e6d35.system.entry.js} +1 -1
- package/dist/widget-components/{p-e2b4739f.system.entry.js → p-665b8d42.system.entry.js} +1 -1
- package/dist/widget-components/p-7d98ea96.entry.js +233 -0
- package/dist/widget-components/p-8ca0fd41.system.entry.js +10 -0
- package/dist/widget-components/{p-366f1663.entry.js → p-9ffe6e46.entry.js} +1 -1
- package/dist/widget-components/{p-a846f503.system.js → p-aaf44379.system.js} +1 -1
- package/dist/widget-components/p-ad5121cf.system.js +1 -0
- package/dist/widget-components/{p-8e232564.system.js → p-b67d3319.system.js} +2 -2
- package/dist/widget-components/{p-58be1132.system.js → p-e82def83.system.js} +1 -1
- package/dist/widget-components/p-eeb2bfd4.system.entry.js +1 -0
- package/dist/widget-components/{p-9746ae26.entry.js → p-fb528be6.entry.js} +1 -1
- package/dist/widget-components/p-fbf0c7fe.js +1 -0
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/dist/widget-components/widget-components.js +1 -1
- package/docs/raisins.json +1 -1
- package/package.json +97 -96
- package/readme.md +52 -52
- package/dist/widget-components/p-485eaf44.js +0 -1
- package/dist/widget-components/p-c8bc8c77.system.entry.js +0 -1
- package/dist/widget-components/p-d416634a.entry.js +0 -148
- package/dist/widget-components/p-d97c955d.system.entry.js +0 -8
- package/dist/widget-components/p-e61a8100.system.js +0 -1
|
@@ -124,6 +124,84 @@ export namespace Components {
|
|
|
124
124
|
*/
|
|
125
125
|
"textcolor": string;
|
|
126
126
|
}
|
|
127
|
+
interface SqhCtaComponent {
|
|
128
|
+
/**
|
|
129
|
+
* @uiName Background
|
|
130
|
+
*/
|
|
131
|
+
"background": string;
|
|
132
|
+
/**
|
|
133
|
+
* @uiName Border Radius
|
|
134
|
+
* @default "8px"
|
|
135
|
+
*/
|
|
136
|
+
"borderradius": string;
|
|
137
|
+
/**
|
|
138
|
+
* @uiName Button Color
|
|
139
|
+
* @uiWidget color
|
|
140
|
+
* @format color
|
|
141
|
+
* @default '#F5A100'
|
|
142
|
+
*/
|
|
143
|
+
"buttonbackground": string;
|
|
144
|
+
/**
|
|
145
|
+
* @uiName Text Color
|
|
146
|
+
* @uiWidget color
|
|
147
|
+
* @format color
|
|
148
|
+
*/
|
|
149
|
+
"color": string;
|
|
150
|
+
/**
|
|
151
|
+
* @uiName Font Family
|
|
152
|
+
*/
|
|
153
|
+
"fontfamily": string;
|
|
154
|
+
/**
|
|
155
|
+
* @uiName Font Size
|
|
156
|
+
*/
|
|
157
|
+
"fontsize": string;
|
|
158
|
+
/**
|
|
159
|
+
* @uiName Font Weight
|
|
160
|
+
*/
|
|
161
|
+
"fontweight": string;
|
|
162
|
+
/**
|
|
163
|
+
* Button height in pixels.
|
|
164
|
+
* @uiName Button Height
|
|
165
|
+
*/
|
|
166
|
+
"height": string;
|
|
167
|
+
/**
|
|
168
|
+
* @undocumented
|
|
169
|
+
* @uiName Hide Text
|
|
170
|
+
*/
|
|
171
|
+
"ishidden": boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Compile plain text into markdown.
|
|
174
|
+
* @uiName Use Markdown
|
|
175
|
+
*/
|
|
176
|
+
"ismarkdown": boolean;
|
|
177
|
+
/**
|
|
178
|
+
* @uiName Padding Bottom
|
|
179
|
+
*/
|
|
180
|
+
"paddingbottom": string;
|
|
181
|
+
/**
|
|
182
|
+
* @uiName Padding Top
|
|
183
|
+
*/
|
|
184
|
+
"paddingtop": string;
|
|
185
|
+
/**
|
|
186
|
+
* @uiName Text
|
|
187
|
+
*/
|
|
188
|
+
"text": string;
|
|
189
|
+
/**
|
|
190
|
+
* @uiName Text Alignment
|
|
191
|
+
* @uiEnum ["left", "center", "right"]
|
|
192
|
+
* @uiEnumNames ["Left", "Center", "Right"]
|
|
193
|
+
*/
|
|
194
|
+
"textalign": string;
|
|
195
|
+
/**
|
|
196
|
+
* @uiName Button Link
|
|
197
|
+
*/
|
|
198
|
+
"url": string;
|
|
199
|
+
/**
|
|
200
|
+
* Button width in pixels.
|
|
201
|
+
* @uiName Button Width
|
|
202
|
+
*/
|
|
203
|
+
"width": string;
|
|
204
|
+
}
|
|
127
205
|
interface SqhGlobalContainer {
|
|
128
206
|
/**
|
|
129
207
|
* @uiName Background Color
|
|
@@ -226,6 +304,18 @@ export namespace Components {
|
|
|
226
304
|
*/
|
|
227
305
|
"statvalue": string;
|
|
228
306
|
}
|
|
307
|
+
interface SqhProgressIndicator {
|
|
308
|
+
"align": string;
|
|
309
|
+
"earned": string;
|
|
310
|
+
"ishidden": boolean;
|
|
311
|
+
"percentagecolor": string;
|
|
312
|
+
"percentagesize": string;
|
|
313
|
+
"progress": string;
|
|
314
|
+
"progresscolor": string;
|
|
315
|
+
"progresstype": string;
|
|
316
|
+
"progresswidth": string;
|
|
317
|
+
"textcolor": string;
|
|
318
|
+
}
|
|
229
319
|
interface SqhReferralCode {
|
|
230
320
|
}
|
|
231
321
|
interface SqhReferralComponent {
|
|
@@ -323,7 +413,7 @@ export namespace Components {
|
|
|
323
413
|
*/
|
|
324
414
|
"expiresvalue": string;
|
|
325
415
|
/**
|
|
326
|
-
*
|
|
416
|
+
* Use the value passed to the referral component to set the locale of the user.
|
|
327
417
|
* @uiName Internationalization
|
|
328
418
|
*/
|
|
329
419
|
"internationalization": boolean;
|
|
@@ -490,7 +580,7 @@ export namespace Components {
|
|
|
490
580
|
*/
|
|
491
581
|
"displayrule": string;
|
|
492
582
|
/**
|
|
493
|
-
*
|
|
583
|
+
* Full list of valid icon names available in the {@link https://shoelace.style/components/icon Shoelace Icon Library}. This value is case sensitive.
|
|
494
584
|
* @uiName Share Button Icon
|
|
495
585
|
*/
|
|
496
586
|
"icon": string;
|
|
@@ -500,7 +590,7 @@ export namespace Components {
|
|
|
500
590
|
*/
|
|
501
591
|
"iconhorizontal": number;
|
|
502
592
|
/**
|
|
503
|
-
* Size of the Share button icon
|
|
593
|
+
* Size of the Share button icon in em units
|
|
504
594
|
* @uiName Share Button Icon Size
|
|
505
595
|
*/
|
|
506
596
|
"iconsize": number;
|
|
@@ -522,7 +612,6 @@ export namespace Components {
|
|
|
522
612
|
*/
|
|
523
613
|
"textcolor": string;
|
|
524
614
|
/**
|
|
525
|
-
* Type of the share button
|
|
526
615
|
* @uiName Share Button Type
|
|
527
616
|
*/
|
|
528
617
|
"type": string;
|
|
@@ -560,7 +649,6 @@ export namespace Components {
|
|
|
560
649
|
*/
|
|
561
650
|
"emaildisplayrule": string;
|
|
562
651
|
/**
|
|
563
|
-
* Email button icon
|
|
564
652
|
* @uiName Email Icon
|
|
565
653
|
* @uiGroup Email
|
|
566
654
|
*/
|
|
@@ -621,7 +709,6 @@ export namespace Components {
|
|
|
621
709
|
*/
|
|
622
710
|
"facebookdisplayrule": string;
|
|
623
711
|
/**
|
|
624
|
-
* Facebook button icon
|
|
625
712
|
* @uiName Facebook Icon
|
|
626
713
|
* @uiGroup Facebook
|
|
627
714
|
*/
|
|
@@ -687,7 +774,6 @@ export namespace Components {
|
|
|
687
774
|
*/
|
|
688
775
|
"linedisplayrule": string;
|
|
689
776
|
/**
|
|
690
|
-
* Line button icon
|
|
691
777
|
* @uiName Line Icon
|
|
692
778
|
* @uiGroup Line Messenger
|
|
693
779
|
*/
|
|
@@ -748,7 +834,6 @@ export namespace Components {
|
|
|
748
834
|
*/
|
|
749
835
|
"linkedindisplayrule": string;
|
|
750
836
|
/**
|
|
751
|
-
* Linkedin button icon
|
|
752
837
|
* @uiName Linkedin Icon
|
|
753
838
|
* @uiGroup LinkedIn
|
|
754
839
|
*/
|
|
@@ -809,7 +894,6 @@ export namespace Components {
|
|
|
809
894
|
*/
|
|
810
895
|
"messengerdisplayrule": string;
|
|
811
896
|
/**
|
|
812
|
-
* Messenger button icon
|
|
813
897
|
* @uiName Messenger Icon
|
|
814
898
|
* @uiGroup Messenger
|
|
815
899
|
*/
|
|
@@ -870,7 +954,6 @@ export namespace Components {
|
|
|
870
954
|
*/
|
|
871
955
|
"pinterestdisplayrule": string;
|
|
872
956
|
/**
|
|
873
|
-
* Pinterest button icon
|
|
874
957
|
* @uiName Pinterest Icon
|
|
875
958
|
* @uiGroup Pinterest
|
|
876
959
|
*/
|
|
@@ -931,7 +1014,6 @@ export namespace Components {
|
|
|
931
1014
|
*/
|
|
932
1015
|
"smsdisplayrule": string;
|
|
933
1016
|
/**
|
|
934
|
-
* SMS button icon
|
|
935
1017
|
* @uiName SMS Icon
|
|
936
1018
|
* @uiGroup SMS
|
|
937
1019
|
*/
|
|
@@ -992,7 +1074,6 @@ export namespace Components {
|
|
|
992
1074
|
*/
|
|
993
1075
|
"twitterdisplayrule": string;
|
|
994
1076
|
/**
|
|
995
|
-
* Twitter button icon
|
|
996
1077
|
* @uiName Twitter Icon
|
|
997
1078
|
* @uiGroup Twitter
|
|
998
1079
|
*/
|
|
@@ -1053,7 +1134,6 @@ export namespace Components {
|
|
|
1053
1134
|
*/
|
|
1054
1135
|
"whatsappdisplayrule": string;
|
|
1055
1136
|
/**
|
|
1056
|
-
* WhatsApp button icon
|
|
1057
1137
|
* @uiName WhatsApp Icon
|
|
1058
1138
|
* @uiGroup WhatsApp
|
|
1059
1139
|
*/
|
|
@@ -1160,6 +1240,10 @@ export namespace Components {
|
|
|
1160
1240
|
* @uiName Font Size
|
|
1161
1241
|
*/
|
|
1162
1242
|
"fontsize": string;
|
|
1243
|
+
/**
|
|
1244
|
+
* @uiName Font Weight
|
|
1245
|
+
*/
|
|
1246
|
+
"fontweight": string;
|
|
1163
1247
|
/**
|
|
1164
1248
|
* Define the height of the container with a pixel amount.
|
|
1165
1249
|
* @uiName Height
|
|
@@ -1171,7 +1255,7 @@ export namespace Components {
|
|
|
1171
1255
|
*/
|
|
1172
1256
|
"ishidden": boolean;
|
|
1173
1257
|
/**
|
|
1174
|
-
*
|
|
1258
|
+
* Compiles plain text into {@link https://www.markdownguide.org/getting-started/ markdown}.
|
|
1175
1259
|
* @uiName Use Markdown
|
|
1176
1260
|
*/
|
|
1177
1261
|
"ismarkdown": boolean;
|
|
@@ -1216,6 +1300,12 @@ declare global {
|
|
|
1216
1300
|
prototype: HTMLSqhCopyLinkButtonElement;
|
|
1217
1301
|
new (): HTMLSqhCopyLinkButtonElement;
|
|
1218
1302
|
};
|
|
1303
|
+
interface HTMLSqhCtaComponentElement extends Components.SqhCtaComponent, HTMLStencilElement {
|
|
1304
|
+
}
|
|
1305
|
+
var HTMLSqhCtaComponentElement: {
|
|
1306
|
+
prototype: HTMLSqhCtaComponentElement;
|
|
1307
|
+
new (): HTMLSqhCtaComponentElement;
|
|
1308
|
+
};
|
|
1219
1309
|
interface HTMLSqhGlobalContainerElement extends Components.SqhGlobalContainer, HTMLStencilElement {
|
|
1220
1310
|
}
|
|
1221
1311
|
var HTMLSqhGlobalContainerElement: {
|
|
@@ -1234,6 +1324,12 @@ declare global {
|
|
|
1234
1324
|
prototype: HTMLSqhPartnerStatComponentElement;
|
|
1235
1325
|
new (): HTMLSqhPartnerStatComponentElement;
|
|
1236
1326
|
};
|
|
1327
|
+
interface HTMLSqhProgressIndicatorElement extends Components.SqhProgressIndicator, HTMLStencilElement {
|
|
1328
|
+
}
|
|
1329
|
+
var HTMLSqhProgressIndicatorElement: {
|
|
1330
|
+
prototype: HTMLSqhProgressIndicatorElement;
|
|
1331
|
+
new (): HTMLSqhProgressIndicatorElement;
|
|
1332
|
+
};
|
|
1237
1333
|
interface HTMLSqhReferralCodeElement extends Components.SqhReferralCode, HTMLStencilElement {
|
|
1238
1334
|
}
|
|
1239
1335
|
var HTMLSqhReferralCodeElement: {
|
|
@@ -1292,9 +1388,11 @@ declare global {
|
|
|
1292
1388
|
"sqh-close-button": HTMLSqhCloseButtonElement;
|
|
1293
1389
|
"sqh-copy-button": HTMLSqhCopyButtonElement;
|
|
1294
1390
|
"sqh-copy-link-button": HTMLSqhCopyLinkButtonElement;
|
|
1391
|
+
"sqh-cta-component": HTMLSqhCtaComponentElement;
|
|
1295
1392
|
"sqh-global-container": HTMLSqhGlobalContainerElement;
|
|
1296
1393
|
"sqh-image-component": HTMLSqhImageComponentElement;
|
|
1297
1394
|
"sqh-partner-stat-component": HTMLSqhPartnerStatComponentElement;
|
|
1395
|
+
"sqh-progress-indicator": HTMLSqhProgressIndicatorElement;
|
|
1298
1396
|
"sqh-referral-code": HTMLSqhReferralCodeElement;
|
|
1299
1397
|
"sqh-referral-component": HTMLSqhReferralComponentElement;
|
|
1300
1398
|
"sqh-referral-list": HTMLSqhReferralListElement;
|
|
@@ -1425,6 +1523,84 @@ declare namespace LocalJSX {
|
|
|
1425
1523
|
*/
|
|
1426
1524
|
"textcolor"?: string;
|
|
1427
1525
|
}
|
|
1526
|
+
interface SqhCtaComponent {
|
|
1527
|
+
/**
|
|
1528
|
+
* @uiName Background
|
|
1529
|
+
*/
|
|
1530
|
+
"background"?: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* @uiName Border Radius
|
|
1533
|
+
* @default "8px"
|
|
1534
|
+
*/
|
|
1535
|
+
"borderradius"?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* @uiName Button Color
|
|
1538
|
+
* @uiWidget color
|
|
1539
|
+
* @format color
|
|
1540
|
+
* @default '#F5A100'
|
|
1541
|
+
*/
|
|
1542
|
+
"buttonbackground"?: string;
|
|
1543
|
+
/**
|
|
1544
|
+
* @uiName Text Color
|
|
1545
|
+
* @uiWidget color
|
|
1546
|
+
* @format color
|
|
1547
|
+
*/
|
|
1548
|
+
"color"?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* @uiName Font Family
|
|
1551
|
+
*/
|
|
1552
|
+
"fontfamily"?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* @uiName Font Size
|
|
1555
|
+
*/
|
|
1556
|
+
"fontsize"?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* @uiName Font Weight
|
|
1559
|
+
*/
|
|
1560
|
+
"fontweight"?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* Button height in pixels.
|
|
1563
|
+
* @uiName Button Height
|
|
1564
|
+
*/
|
|
1565
|
+
"height"?: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* @undocumented
|
|
1568
|
+
* @uiName Hide Text
|
|
1569
|
+
*/
|
|
1570
|
+
"ishidden"?: boolean;
|
|
1571
|
+
/**
|
|
1572
|
+
* Compile plain text into markdown.
|
|
1573
|
+
* @uiName Use Markdown
|
|
1574
|
+
*/
|
|
1575
|
+
"ismarkdown"?: boolean;
|
|
1576
|
+
/**
|
|
1577
|
+
* @uiName Padding Bottom
|
|
1578
|
+
*/
|
|
1579
|
+
"paddingbottom"?: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* @uiName Padding Top
|
|
1582
|
+
*/
|
|
1583
|
+
"paddingtop"?: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* @uiName Text
|
|
1586
|
+
*/
|
|
1587
|
+
"text"?: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* @uiName Text Alignment
|
|
1590
|
+
* @uiEnum ["left", "center", "right"]
|
|
1591
|
+
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1592
|
+
*/
|
|
1593
|
+
"textalign"?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* @uiName Button Link
|
|
1596
|
+
*/
|
|
1597
|
+
"url"?: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* Button width in pixels.
|
|
1600
|
+
* @uiName Button Width
|
|
1601
|
+
*/
|
|
1602
|
+
"width"?: string;
|
|
1603
|
+
}
|
|
1428
1604
|
interface SqhGlobalContainer {
|
|
1429
1605
|
/**
|
|
1430
1606
|
* @uiName Background Color
|
|
@@ -1529,6 +1705,18 @@ declare namespace LocalJSX {
|
|
|
1529
1705
|
*/
|
|
1530
1706
|
"statvalue"?: string;
|
|
1531
1707
|
}
|
|
1708
|
+
interface SqhProgressIndicator {
|
|
1709
|
+
"align"?: string;
|
|
1710
|
+
"earned"?: string;
|
|
1711
|
+
"ishidden"?: boolean;
|
|
1712
|
+
"percentagecolor"?: string;
|
|
1713
|
+
"percentagesize"?: string;
|
|
1714
|
+
"progress"?: string;
|
|
1715
|
+
"progresscolor"?: string;
|
|
1716
|
+
"progresstype"?: string;
|
|
1717
|
+
"progresswidth"?: string;
|
|
1718
|
+
"textcolor"?: string;
|
|
1719
|
+
}
|
|
1532
1720
|
interface SqhReferralCode {
|
|
1533
1721
|
}
|
|
1534
1722
|
interface SqhReferralComponent {
|
|
@@ -1626,7 +1814,7 @@ declare namespace LocalJSX {
|
|
|
1626
1814
|
*/
|
|
1627
1815
|
"expiresvalue"?: string;
|
|
1628
1816
|
/**
|
|
1629
|
-
*
|
|
1817
|
+
* Use the value passed to the referral component to set the locale of the user.
|
|
1630
1818
|
* @uiName Internationalization
|
|
1631
1819
|
*/
|
|
1632
1820
|
"internationalization"?: boolean;
|
|
@@ -1793,7 +1981,7 @@ declare namespace LocalJSX {
|
|
|
1793
1981
|
*/
|
|
1794
1982
|
"displayrule"?: string;
|
|
1795
1983
|
/**
|
|
1796
|
-
*
|
|
1984
|
+
* Full list of valid icon names available in the {@link https://shoelace.style/components/icon Shoelace Icon Library}. This value is case sensitive.
|
|
1797
1985
|
* @uiName Share Button Icon
|
|
1798
1986
|
*/
|
|
1799
1987
|
"icon"?: string;
|
|
@@ -1803,7 +1991,7 @@ declare namespace LocalJSX {
|
|
|
1803
1991
|
*/
|
|
1804
1992
|
"iconhorizontal"?: number;
|
|
1805
1993
|
/**
|
|
1806
|
-
* Size of the Share button icon
|
|
1994
|
+
* Size of the Share button icon in em units
|
|
1807
1995
|
* @uiName Share Button Icon Size
|
|
1808
1996
|
*/
|
|
1809
1997
|
"iconsize"?: number;
|
|
@@ -1825,7 +2013,6 @@ declare namespace LocalJSX {
|
|
|
1825
2013
|
*/
|
|
1826
2014
|
"textcolor"?: string;
|
|
1827
2015
|
/**
|
|
1828
|
-
* Type of the share button
|
|
1829
2016
|
* @uiName Share Button Type
|
|
1830
2017
|
*/
|
|
1831
2018
|
"type"?: string;
|
|
@@ -1863,7 +2050,6 @@ declare namespace LocalJSX {
|
|
|
1863
2050
|
*/
|
|
1864
2051
|
"emaildisplayrule"?: string;
|
|
1865
2052
|
/**
|
|
1866
|
-
* Email button icon
|
|
1867
2053
|
* @uiName Email Icon
|
|
1868
2054
|
* @uiGroup Email
|
|
1869
2055
|
*/
|
|
@@ -1924,7 +2110,6 @@ declare namespace LocalJSX {
|
|
|
1924
2110
|
*/
|
|
1925
2111
|
"facebookdisplayrule"?: string;
|
|
1926
2112
|
/**
|
|
1927
|
-
* Facebook button icon
|
|
1928
2113
|
* @uiName Facebook Icon
|
|
1929
2114
|
* @uiGroup Facebook
|
|
1930
2115
|
*/
|
|
@@ -1990,7 +2175,6 @@ declare namespace LocalJSX {
|
|
|
1990
2175
|
*/
|
|
1991
2176
|
"linedisplayrule"?: string;
|
|
1992
2177
|
/**
|
|
1993
|
-
* Line button icon
|
|
1994
2178
|
* @uiName Line Icon
|
|
1995
2179
|
* @uiGroup Line Messenger
|
|
1996
2180
|
*/
|
|
@@ -2051,7 +2235,6 @@ declare namespace LocalJSX {
|
|
|
2051
2235
|
*/
|
|
2052
2236
|
"linkedindisplayrule"?: string;
|
|
2053
2237
|
/**
|
|
2054
|
-
* Linkedin button icon
|
|
2055
2238
|
* @uiName Linkedin Icon
|
|
2056
2239
|
* @uiGroup LinkedIn
|
|
2057
2240
|
*/
|
|
@@ -2112,7 +2295,6 @@ declare namespace LocalJSX {
|
|
|
2112
2295
|
*/
|
|
2113
2296
|
"messengerdisplayrule"?: string;
|
|
2114
2297
|
/**
|
|
2115
|
-
* Messenger button icon
|
|
2116
2298
|
* @uiName Messenger Icon
|
|
2117
2299
|
* @uiGroup Messenger
|
|
2118
2300
|
*/
|
|
@@ -2173,7 +2355,6 @@ declare namespace LocalJSX {
|
|
|
2173
2355
|
*/
|
|
2174
2356
|
"pinterestdisplayrule"?: string;
|
|
2175
2357
|
/**
|
|
2176
|
-
* Pinterest button icon
|
|
2177
2358
|
* @uiName Pinterest Icon
|
|
2178
2359
|
* @uiGroup Pinterest
|
|
2179
2360
|
*/
|
|
@@ -2234,7 +2415,6 @@ declare namespace LocalJSX {
|
|
|
2234
2415
|
*/
|
|
2235
2416
|
"smsdisplayrule"?: string;
|
|
2236
2417
|
/**
|
|
2237
|
-
* SMS button icon
|
|
2238
2418
|
* @uiName SMS Icon
|
|
2239
2419
|
* @uiGroup SMS
|
|
2240
2420
|
*/
|
|
@@ -2295,7 +2475,6 @@ declare namespace LocalJSX {
|
|
|
2295
2475
|
*/
|
|
2296
2476
|
"twitterdisplayrule"?: string;
|
|
2297
2477
|
/**
|
|
2298
|
-
* Twitter button icon
|
|
2299
2478
|
* @uiName Twitter Icon
|
|
2300
2479
|
* @uiGroup Twitter
|
|
2301
2480
|
*/
|
|
@@ -2356,7 +2535,6 @@ declare namespace LocalJSX {
|
|
|
2356
2535
|
*/
|
|
2357
2536
|
"whatsappdisplayrule"?: string;
|
|
2358
2537
|
/**
|
|
2359
|
-
* WhatsApp button icon
|
|
2360
2538
|
* @uiName WhatsApp Icon
|
|
2361
2539
|
* @uiGroup WhatsApp
|
|
2362
2540
|
*/
|
|
@@ -2465,6 +2643,10 @@ declare namespace LocalJSX {
|
|
|
2465
2643
|
* @uiName Font Size
|
|
2466
2644
|
*/
|
|
2467
2645
|
"fontsize"?: string;
|
|
2646
|
+
/**
|
|
2647
|
+
* @uiName Font Weight
|
|
2648
|
+
*/
|
|
2649
|
+
"fontweight"?: string;
|
|
2468
2650
|
/**
|
|
2469
2651
|
* Define the height of the container with a pixel amount.
|
|
2470
2652
|
* @uiName Height
|
|
@@ -2476,7 +2658,7 @@ declare namespace LocalJSX {
|
|
|
2476
2658
|
*/
|
|
2477
2659
|
"ishidden"?: boolean;
|
|
2478
2660
|
/**
|
|
2479
|
-
*
|
|
2661
|
+
* Compiles plain text into {@link https://www.markdownguide.org/getting-started/ markdown}.
|
|
2480
2662
|
* @uiName Use Markdown
|
|
2481
2663
|
*/
|
|
2482
2664
|
"ismarkdown"?: boolean;
|
|
@@ -2505,9 +2687,11 @@ declare namespace LocalJSX {
|
|
|
2505
2687
|
"sqh-close-button": SqhCloseButton;
|
|
2506
2688
|
"sqh-copy-button": SqhCopyButton;
|
|
2507
2689
|
"sqh-copy-link-button": SqhCopyLinkButton;
|
|
2690
|
+
"sqh-cta-component": SqhCtaComponent;
|
|
2508
2691
|
"sqh-global-container": SqhGlobalContainer;
|
|
2509
2692
|
"sqh-image-component": SqhImageComponent;
|
|
2510
2693
|
"sqh-partner-stat-component": SqhPartnerStatComponent;
|
|
2694
|
+
"sqh-progress-indicator": SqhProgressIndicator;
|
|
2511
2695
|
"sqh-referral-code": SqhReferralCode;
|
|
2512
2696
|
"sqh-referral-component": SqhReferralComponent;
|
|
2513
2697
|
"sqh-referral-list": SqhReferralList;
|
|
@@ -2526,9 +2710,11 @@ declare module "@stencil/core" {
|
|
|
2526
2710
|
"sqh-close-button": LocalJSX.SqhCloseButton & JSXBase.HTMLAttributes<HTMLSqhCloseButtonElement>;
|
|
2527
2711
|
"sqh-copy-button": LocalJSX.SqhCopyButton & JSXBase.HTMLAttributes<HTMLSqhCopyButtonElement>;
|
|
2528
2712
|
"sqh-copy-link-button": LocalJSX.SqhCopyLinkButton & JSXBase.HTMLAttributes<HTMLSqhCopyLinkButtonElement>;
|
|
2713
|
+
"sqh-cta-component": LocalJSX.SqhCtaComponent & JSXBase.HTMLAttributes<HTMLSqhCtaComponentElement>;
|
|
2529
2714
|
"sqh-global-container": LocalJSX.SqhGlobalContainer & JSXBase.HTMLAttributes<HTMLSqhGlobalContainerElement>;
|
|
2530
2715
|
"sqh-image-component": LocalJSX.SqhImageComponent & JSXBase.HTMLAttributes<HTMLSqhImageComponentElement>;
|
|
2531
2716
|
"sqh-partner-stat-component": LocalJSX.SqhPartnerStatComponent & JSXBase.HTMLAttributes<HTMLSqhPartnerStatComponentElement>;
|
|
2717
|
+
"sqh-progress-indicator": LocalJSX.SqhProgressIndicator & JSXBase.HTMLAttributes<HTMLSqhProgressIndicatorElement>;
|
|
2532
2718
|
"sqh-referral-code": LocalJSX.SqhReferralCode & JSXBase.HTMLAttributes<HTMLSqhReferralCodeElement>;
|
|
2533
2719
|
"sqh-referral-component": LocalJSX.SqhReferralComponent & JSXBase.HTMLAttributes<HTMLSqhReferralComponentElement>;
|
|
2534
2720
|
"sqh-referral-list": LocalJSX.SqhReferralList & JSXBase.HTMLAttributes<HTMLSqhReferralListElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "@formatjs/intl-relativetimeformat/polyfill";
|
|
2
|
-
import "@formatjs/intl-relativetimeformat/dist/locale-data/en";
|
|
3
|
-
import "@formatjs/intl-pluralrules/polyfill";
|
|
4
|
-
import "@formatjs/intl-pluralrules/dist/locale-data/en";
|
|
1
|
+
import "@formatjs/intl-relativetimeformat/polyfill";
|
|
2
|
+
import "@formatjs/intl-relativetimeformat/dist/locale-data/en";
|
|
3
|
+
import "@formatjs/intl-pluralrules/polyfill";
|
|
4
|
+
import "@formatjs/intl-pluralrules/dist/locale-data/en";
|