@saasquatch/vanilla-components 1.2.4-5 → 1.2.4-8
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/{WidgetHost-71b013eb.js → WidgetHost-f349e877.js} +157 -0
- 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 +2 -2
- package/dist/cjs/{sqh-copy-button_12.cjs.entry.js → sqh-copy-button_14.cjs.entry.js} +1172 -22
- package/dist/cjs/sqh-referral-code.cjs.entry.js +2 -2
- package/dist/cjs/sqh-rewards-actions.cjs.entry.js +1 -1
- package/dist/cjs/widget-components.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/copy-button/copy-button.js +3 -3
- package/dist/collection/components/copy-link-button/copy-link-button.js +4 -1
- 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 +1 -1
- package/dist/collection/components/image-component/image-component.js +4 -1
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +4 -1
- 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-list/referral-list.js +5 -2
- package/dist/collection/components/share-button-container/share-button-container.js +31 -44
- package/dist/collection/components/stat-component/stat-component.js +13 -7
- package/dist/collection/components/stats-container/stats-container.js +7 -5
- package/dist/collection/components/text-component/text-component.js +40 -16
- package/dist/collection/services/WidgetHost.js +157 -0
- package/dist/esm/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +157 -0
- 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/sqh-close-button.entry.js +2 -2
- package/dist/esm/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1171 -23
- package/dist/esm/sqh-referral-code.entry.js +2 -2
- package/dist/esm/sqh-rewards-actions.entry.js +1 -1
- package/dist/esm/widget-components.mjs +3 -3
- package/dist/esm-es5/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +96 -4
- package/dist/esm-es5/{en-be593af0.js → en-a652ab83.js} +1 -1
- package/dist/esm-es5/{index-8ea8b6d8.js → index-342d7c26.js} +53 -3
- package/dist/esm-es5/loader.mjs +3 -3
- package/dist/esm-es5/sqh-close-button.entry.js +2 -2
- package/dist/esm-es5/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1059 -34
- package/dist/esm-es5/sqh-referral-code.entry.js +2 -2
- package/dist/esm-es5/sqh-rewards-actions.entry.js +1 -1
- package/dist/esm-es5/widget-components.mjs +3 -3
- package/dist/types/components/copy-button/copy-button.d.ts +1 -3
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +1 -2
- package/dist/types/components/cta-component/cta-component.d.ts +86 -0
- package/dist/types/components/global-container/global-container.d.ts +0 -2
- package/dist/types/components/image-component/image-component.d.ts +1 -2
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +1 -2
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +42 -0
- package/dist/types/components/referral-list/referral-list.d.ts +2 -3
- package/dist/types/components/share-button-container/share-button-container.d.ts +1 -56
- package/dist/types/components/stat-component/stat-component.d.ts +6 -10
- package/dist/types/components/stats-container/stats-container.d.ts +3 -4
- package/dist/types/components/text-component/text-component.d.ts +13 -20
- package/dist/types/components.d.ts +256 -120
- package/dist/types/saasquatch.d.ts +3 -1
- package/dist/types/services/WidgetHost.d.ts +5 -0
- package/dist/widget-components/p-0839fd2c.system.entry.js +10 -0
- package/dist/widget-components/{p-44a6559d.js → p-17d80384.js} +1 -1
- package/dist/widget-components/{p-54ea7a00.entry.js → p-3ba562d0.entry.js} +1 -1
- package/dist/widget-components/{p-366f1663.entry.js → p-4293e873.entry.js} +1 -1
- package/dist/widget-components/{p-8e232564.system.js → p-54e83dfb.system.js} +2 -2
- package/dist/widget-components/{p-e2b4739f.system.entry.js → p-665b8d42.system.entry.js} +1 -1
- package/dist/widget-components/{p-edd43dbc.js → p-6e753d23.js} +68 -3
- package/dist/widget-components/p-a952fcf2.entry.js +233 -0
- package/dist/widget-components/{p-a846f503.system.js → p-aaf44379.system.js} +1 -1
- package/dist/widget-components/{p-b17efca4.system.entry.js → p-abf8a511.system.entry.js} +1 -1
- package/dist/widget-components/p-ad5121cf.system.js +1 -0
- package/dist/widget-components/p-d9e9c55c.system.entry.js +1 -0
- package/dist/widget-components/{p-58be1132.system.js → p-e82def83.system.js} +1 -1
- 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 +4 -3
- 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
|
@@ -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": "
|
|
192
|
+
"text": ""
|
|
190
193
|
},
|
|
191
194
|
"attribute": "ishidden",
|
|
192
195
|
"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",
|
|
@@ -37,8 +37,6 @@ export class ShareButtonContainer {
|
|
|
37
37
|
*/
|
|
38
38
|
this.facebookiconhorizontal = 9;
|
|
39
39
|
/**
|
|
40
|
-
* Size of the facebook button icon
|
|
41
|
-
*
|
|
42
40
|
* @uiName Facebook Icon Size
|
|
43
41
|
* @uiGroup Facebook
|
|
44
42
|
*/
|
|
@@ -58,8 +56,6 @@ export class ShareButtonContainer {
|
|
|
58
56
|
*/
|
|
59
57
|
this.twittericonhorizontal = 9;
|
|
60
58
|
/**
|
|
61
|
-
* Size of the twitter button icon
|
|
62
|
-
*
|
|
63
59
|
* @uiName Twitter Icon Size
|
|
64
60
|
* @uiGroup Twitter
|
|
65
61
|
*/
|
|
@@ -72,8 +68,6 @@ export class ShareButtonContainer {
|
|
|
72
68
|
*/
|
|
73
69
|
this.smsicon = "chat";
|
|
74
70
|
/**
|
|
75
|
-
* Color of the text inside the WhatsApp button
|
|
76
|
-
*
|
|
77
71
|
* @uiName WhatsApp Text Color
|
|
78
72
|
* @uiGroup WhatsApp
|
|
79
73
|
* @uiWidget color
|
|
@@ -103,8 +97,6 @@ export class ShareButtonContainer {
|
|
|
103
97
|
*/
|
|
104
98
|
this.whatsappiconvertical = 2;
|
|
105
99
|
/**
|
|
106
|
-
* Size of the WhatsApp button icon
|
|
107
|
-
*
|
|
108
100
|
* @uiName WhatsApp Icon Size
|
|
109
101
|
* @uiGroup WhatsApp
|
|
110
102
|
*/
|
|
@@ -117,8 +109,6 @@ export class ShareButtonContainer {
|
|
|
117
109
|
*/
|
|
118
110
|
this.linkedinicon = "linkedin";
|
|
119
111
|
/**
|
|
120
|
-
* Size of the Linkedin button icon
|
|
121
|
-
*
|
|
122
112
|
* @uiName Linkedin Icon Size
|
|
123
113
|
* @uiGroup LinkedIn
|
|
124
114
|
*/
|
|
@@ -145,8 +135,6 @@ export class ShareButtonContainer {
|
|
|
145
135
|
*/
|
|
146
136
|
this.pinteresticonvertical = 4;
|
|
147
137
|
/**
|
|
148
|
-
* Size of the Pinterest button icon
|
|
149
|
-
*
|
|
150
138
|
* @uiName Pinterest Icon Size
|
|
151
139
|
* @uiGroup Pinterest
|
|
152
140
|
*/
|
|
@@ -173,8 +161,6 @@ export class ShareButtonContainer {
|
|
|
173
161
|
*/
|
|
174
162
|
this.messengericonvertical = 3;
|
|
175
163
|
/**
|
|
176
|
-
* Size of the Messenger button icon
|
|
177
|
-
*
|
|
178
164
|
* @uiName Messenger Icon Size
|
|
179
165
|
* @uiGroup Messenger
|
|
180
166
|
*/
|
|
@@ -201,8 +187,6 @@ export class ShareButtonContainer {
|
|
|
201
187
|
*/
|
|
202
188
|
this.lineiconvertical = -5;
|
|
203
189
|
/**
|
|
204
|
-
* Size of the Line button icon
|
|
205
|
-
*
|
|
206
190
|
* @uiName Line Icon Size
|
|
207
191
|
* @uiGroup Line Messenger
|
|
208
192
|
*/
|
|
@@ -286,10 +270,13 @@ export class ShareButtonContainer {
|
|
|
286
270
|
"optional": false,
|
|
287
271
|
"docs": {
|
|
288
272
|
"tags": [{
|
|
273
|
+
"text": undefined,
|
|
274
|
+
"name": "undocumented"
|
|
275
|
+
}, {
|
|
289
276
|
"text": "Hide Share Buttons",
|
|
290
277
|
"name": "uiName"
|
|
291
278
|
}],
|
|
292
|
-
"text": "
|
|
279
|
+
"text": ""
|
|
293
280
|
},
|
|
294
281
|
"attribute": "ishidden",
|
|
295
282
|
"reflect": false
|
|
@@ -347,7 +334,7 @@ export class ShareButtonContainer {
|
|
|
347
334
|
"text": "\"Email\"",
|
|
348
335
|
"name": "default"
|
|
349
336
|
}],
|
|
350
|
-
"text": "
|
|
337
|
+
"text": ""
|
|
351
338
|
},
|
|
352
339
|
"attribute": "emailtext",
|
|
353
340
|
"reflect": false
|
|
@@ -411,7 +398,7 @@ export class ShareButtonContainer {
|
|
|
411
398
|
"text": "\"#ffffff\"",
|
|
412
399
|
"name": "default"
|
|
413
400
|
}],
|
|
414
|
-
"text": "
|
|
401
|
+
"text": ""
|
|
415
402
|
},
|
|
416
403
|
"attribute": "emailtextcolor",
|
|
417
404
|
"reflect": false
|
|
@@ -528,7 +515,7 @@ export class ShareButtonContainer {
|
|
|
528
515
|
"text": "Email",
|
|
529
516
|
"name": "uiGroup"
|
|
530
517
|
}],
|
|
531
|
-
"text": "
|
|
518
|
+
"text": ""
|
|
532
519
|
},
|
|
533
520
|
"attribute": "emailiconsize",
|
|
534
521
|
"reflect": false
|
|
@@ -586,7 +573,7 @@ export class ShareButtonContainer {
|
|
|
586
573
|
"text": "\"Facebook\"",
|
|
587
574
|
"name": "default"
|
|
588
575
|
}],
|
|
589
|
-
"text": "
|
|
576
|
+
"text": ""
|
|
590
577
|
},
|
|
591
578
|
"attribute": "facebooktext",
|
|
592
579
|
"reflect": false
|
|
@@ -650,7 +637,7 @@ export class ShareButtonContainer {
|
|
|
650
637
|
"text": "\"#ffffff\"",
|
|
651
638
|
"name": "default"
|
|
652
639
|
}],
|
|
653
|
-
"text": "
|
|
640
|
+
"text": ""
|
|
654
641
|
},
|
|
655
642
|
"attribute": "facebooktextcolor",
|
|
656
643
|
"reflect": false
|
|
@@ -767,7 +754,7 @@ export class ShareButtonContainer {
|
|
|
767
754
|
"text": "Facebook",
|
|
768
755
|
"name": "uiGroup"
|
|
769
756
|
}],
|
|
770
|
-
"text": "
|
|
757
|
+
"text": ""
|
|
771
758
|
},
|
|
772
759
|
"attribute": "facebookiconsize",
|
|
773
760
|
"reflect": false,
|
|
@@ -826,7 +813,7 @@ export class ShareButtonContainer {
|
|
|
826
813
|
"text": "\"Twitter\"",
|
|
827
814
|
"name": "default"
|
|
828
815
|
}],
|
|
829
|
-
"text": "
|
|
816
|
+
"text": ""
|
|
830
817
|
},
|
|
831
818
|
"attribute": "twittertext",
|
|
832
819
|
"reflect": false
|
|
@@ -890,7 +877,7 @@ export class ShareButtonContainer {
|
|
|
890
877
|
"text": "\"#ffffff\"",
|
|
891
878
|
"name": "default"
|
|
892
879
|
}],
|
|
893
|
-
"text": "
|
|
880
|
+
"text": ""
|
|
894
881
|
},
|
|
895
882
|
"attribute": "twittertextcolor",
|
|
896
883
|
"reflect": false
|
|
@@ -1007,7 +994,7 @@ export class ShareButtonContainer {
|
|
|
1007
994
|
"text": "Twitter",
|
|
1008
995
|
"name": "uiGroup"
|
|
1009
996
|
}],
|
|
1010
|
-
"text": "
|
|
997
|
+
"text": ""
|
|
1011
998
|
},
|
|
1012
999
|
"attribute": "twittericonsize",
|
|
1013
1000
|
"reflect": false,
|
|
@@ -1066,7 +1053,7 @@ export class ShareButtonContainer {
|
|
|
1066
1053
|
"text": "\"SMS\"",
|
|
1067
1054
|
"name": "default"
|
|
1068
1055
|
}],
|
|
1069
|
-
"text": "
|
|
1056
|
+
"text": ""
|
|
1070
1057
|
},
|
|
1071
1058
|
"attribute": "smstext",
|
|
1072
1059
|
"reflect": false
|
|
@@ -1130,7 +1117,7 @@ export class ShareButtonContainer {
|
|
|
1130
1117
|
"text": "\"#ffffff\"",
|
|
1131
1118
|
"name": "default"
|
|
1132
1119
|
}],
|
|
1133
|
-
"text": "
|
|
1120
|
+
"text": ""
|
|
1134
1121
|
},
|
|
1135
1122
|
"attribute": "smstextcolor",
|
|
1136
1123
|
"reflect": false
|
|
@@ -1246,7 +1233,7 @@ export class ShareButtonContainer {
|
|
|
1246
1233
|
"text": "SMS",
|
|
1247
1234
|
"name": "uiGroup"
|
|
1248
1235
|
}],
|
|
1249
|
-
"text": "
|
|
1236
|
+
"text": ""
|
|
1250
1237
|
},
|
|
1251
1238
|
"attribute": "smsiconsize",
|
|
1252
1239
|
"reflect": false
|
|
@@ -1304,7 +1291,7 @@ export class ShareButtonContainer {
|
|
|
1304
1291
|
"text": "\"Whatspp\"",
|
|
1305
1292
|
"name": "default"
|
|
1306
1293
|
}],
|
|
1307
|
-
"text": "
|
|
1294
|
+
"text": ""
|
|
1308
1295
|
},
|
|
1309
1296
|
"attribute": "whatsapptext",
|
|
1310
1297
|
"reflect": false
|
|
@@ -1368,7 +1355,7 @@ export class ShareButtonContainer {
|
|
|
1368
1355
|
"text": "\"#ffffff\"",
|
|
1369
1356
|
"name": "default"
|
|
1370
1357
|
}],
|
|
1371
|
-
"text": "
|
|
1358
|
+
"text": ""
|
|
1372
1359
|
},
|
|
1373
1360
|
"attribute": "whatsapptextcolor",
|
|
1374
1361
|
"reflect": false,
|
|
@@ -1487,7 +1474,7 @@ export class ShareButtonContainer {
|
|
|
1487
1474
|
"text": "WhatsApp",
|
|
1488
1475
|
"name": "uiGroup"
|
|
1489
1476
|
}],
|
|
1490
|
-
"text": "
|
|
1477
|
+
"text": ""
|
|
1491
1478
|
},
|
|
1492
1479
|
"attribute": "whatsappiconsize",
|
|
1493
1480
|
"reflect": false,
|
|
@@ -1546,7 +1533,7 @@ export class ShareButtonContainer {
|
|
|
1546
1533
|
"text": "\"LinkedIn\"",
|
|
1547
1534
|
"name": "default"
|
|
1548
1535
|
}],
|
|
1549
|
-
"text": "
|
|
1536
|
+
"text": ""
|
|
1550
1537
|
},
|
|
1551
1538
|
"attribute": "linkedintext",
|
|
1552
1539
|
"reflect": false
|
|
@@ -1610,7 +1597,7 @@ export class ShareButtonContainer {
|
|
|
1610
1597
|
"text": "\"#0084b9\"",
|
|
1611
1598
|
"name": "default"
|
|
1612
1599
|
}],
|
|
1613
|
-
"text": "
|
|
1600
|
+
"text": ""
|
|
1614
1601
|
},
|
|
1615
1602
|
"attribute": "linkedintextcolor",
|
|
1616
1603
|
"reflect": false
|
|
@@ -1726,7 +1713,7 @@ export class ShareButtonContainer {
|
|
|
1726
1713
|
"text": "LinkedIn",
|
|
1727
1714
|
"name": "uiGroup"
|
|
1728
1715
|
}],
|
|
1729
|
-
"text": "
|
|
1716
|
+
"text": ""
|
|
1730
1717
|
},
|
|
1731
1718
|
"attribute": "linkediniconsize",
|
|
1732
1719
|
"reflect": false,
|
|
@@ -1785,7 +1772,7 @@ export class ShareButtonContainer {
|
|
|
1785
1772
|
"text": "\"Pinterest\"",
|
|
1786
1773
|
"name": "default"
|
|
1787
1774
|
}],
|
|
1788
|
-
"text": "
|
|
1775
|
+
"text": ""
|
|
1789
1776
|
},
|
|
1790
1777
|
"attribute": "pinteresttext",
|
|
1791
1778
|
"reflect": false
|
|
@@ -1849,7 +1836,7 @@ export class ShareButtonContainer {
|
|
|
1849
1836
|
"text": "\"#ffffff\"",
|
|
1850
1837
|
"name": "default"
|
|
1851
1838
|
}],
|
|
1852
|
-
"text": "
|
|
1839
|
+
"text": ""
|
|
1853
1840
|
},
|
|
1854
1841
|
"attribute": "pinteresttextcolor",
|
|
1855
1842
|
"reflect": false
|
|
@@ -1967,7 +1954,7 @@ export class ShareButtonContainer {
|
|
|
1967
1954
|
"text": "Pinterest",
|
|
1968
1955
|
"name": "uiGroup"
|
|
1969
1956
|
}],
|
|
1970
|
-
"text": "
|
|
1957
|
+
"text": ""
|
|
1971
1958
|
},
|
|
1972
1959
|
"attribute": "pinteresticonsize",
|
|
1973
1960
|
"reflect": false,
|
|
@@ -2026,7 +2013,7 @@ export class ShareButtonContainer {
|
|
|
2026
2013
|
"text": "\"Messenger\"",
|
|
2027
2014
|
"name": "default"
|
|
2028
2015
|
}],
|
|
2029
|
-
"text": "
|
|
2016
|
+
"text": ""
|
|
2030
2017
|
},
|
|
2031
2018
|
"attribute": "messengertext",
|
|
2032
2019
|
"reflect": false
|
|
@@ -2090,7 +2077,7 @@ export class ShareButtonContainer {
|
|
|
2090
2077
|
"text": "\"#ffffff\"",
|
|
2091
2078
|
"name": "default"
|
|
2092
2079
|
}],
|
|
2093
|
-
"text": "
|
|
2080
|
+
"text": ""
|
|
2094
2081
|
},
|
|
2095
2082
|
"attribute": "messengertextcolor",
|
|
2096
2083
|
"reflect": false
|
|
@@ -2208,7 +2195,7 @@ export class ShareButtonContainer {
|
|
|
2208
2195
|
"text": "Messenger",
|
|
2209
2196
|
"name": "uiGroup"
|
|
2210
2197
|
}],
|
|
2211
|
-
"text": "
|
|
2198
|
+
"text": ""
|
|
2212
2199
|
},
|
|
2213
2200
|
"attribute": "messengericonsize",
|
|
2214
2201
|
"reflect": false,
|
|
@@ -2267,7 +2254,7 @@ export class ShareButtonContainer {
|
|
|
2267
2254
|
"text": "\"Line Messenger\"",
|
|
2268
2255
|
"name": "default"
|
|
2269
2256
|
}],
|
|
2270
|
-
"text": "
|
|
2257
|
+
"text": ""
|
|
2271
2258
|
},
|
|
2272
2259
|
"attribute": "linetext",
|
|
2273
2260
|
"reflect": false
|
|
@@ -2331,7 +2318,7 @@ export class ShareButtonContainer {
|
|
|
2331
2318
|
"text": "\"#ffffff\"",
|
|
2332
2319
|
"name": "default"
|
|
2333
2320
|
}],
|
|
2334
|
-
"text": "
|
|
2321
|
+
"text": ""
|
|
2335
2322
|
},
|
|
2336
2323
|
"attribute": "linetextcolor",
|
|
2337
2324
|
"reflect": false
|
|
@@ -2449,7 +2436,7 @@ export class ShareButtonContainer {
|
|
|
2449
2436
|
"text": "Line Messenger",
|
|
2450
2437
|
"name": "uiGroup"
|
|
2451
2438
|
}],
|
|
2452
|
-
"text": "
|
|
2439
|
+
"text": ""
|
|
2453
2440
|
},
|
|
2454
2441
|
"attribute": "lineiconsize",
|
|
2455
2442
|
"reflect": false,
|
|
@@ -51,10 +51,13 @@ export class StatComponent {
|
|
|
51
51
|
"optional": false,
|
|
52
52
|
"docs": {
|
|
53
53
|
"tags": [{
|
|
54
|
-
"text":
|
|
54
|
+
"text": undefined,
|
|
55
|
+
"name": "undocumented"
|
|
56
|
+
}, {
|
|
57
|
+
"text": "Hide Component",
|
|
55
58
|
"name": "uiName"
|
|
56
59
|
}],
|
|
57
|
-
"text": "
|
|
60
|
+
"text": ""
|
|
58
61
|
},
|
|
59
62
|
"attribute": "ishidden",
|
|
60
63
|
"reflect": false
|
|
@@ -100,10 +103,13 @@ export class StatComponent {
|
|
|
100
103
|
"optional": false,
|
|
101
104
|
"docs": {
|
|
102
105
|
"tags": [{
|
|
106
|
+
"text": undefined,
|
|
107
|
+
"name": "undocumented"
|
|
108
|
+
}, {
|
|
103
109
|
"text": "Stat Value",
|
|
104
110
|
"name": "uiName"
|
|
105
111
|
}],
|
|
106
|
-
"text": "
|
|
112
|
+
"text": ""
|
|
107
113
|
},
|
|
108
114
|
"attribute": "statvalue",
|
|
109
115
|
"reflect": false
|
|
@@ -120,10 +126,10 @@ export class StatComponent {
|
|
|
120
126
|
"optional": false,
|
|
121
127
|
"docs": {
|
|
122
128
|
"tags": [{
|
|
123
|
-
"text": "
|
|
129
|
+
"text": "Description",
|
|
124
130
|
"name": "uiName"
|
|
125
131
|
}],
|
|
126
|
-
"text": "
|
|
132
|
+
"text": "Text shown underneath the stat value"
|
|
127
133
|
},
|
|
128
134
|
"attribute": "statdescription",
|
|
129
135
|
"reflect": false
|
|
@@ -140,7 +146,7 @@ export class StatComponent {
|
|
|
140
146
|
"optional": false,
|
|
141
147
|
"docs": {
|
|
142
148
|
"tags": [{
|
|
143
|
-
"text": "
|
|
149
|
+
"text": "Color",
|
|
144
150
|
"name": "uiName"
|
|
145
151
|
}, {
|
|
146
152
|
"text": "color",
|
|
@@ -149,7 +155,7 @@ export class StatComponent {
|
|
|
149
155
|
"text": "color",
|
|
150
156
|
"name": "format"
|
|
151
157
|
}],
|
|
152
|
-
"text": "
|
|
158
|
+
"text": ""
|
|
153
159
|
},
|
|
154
160
|
"attribute": "statcolor",
|
|
155
161
|
"reflect": false
|
|
@@ -13,8 +13,7 @@ import { css } from "emotion";
|
|
|
13
13
|
export class StatsContainer {
|
|
14
14
|
constructor() {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* @undocumented
|
|
18
17
|
* @uiName Is Hidden
|
|
19
18
|
*/
|
|
20
19
|
this.ishidden = false;
|
|
@@ -131,10 +130,13 @@ export class StatsContainer {
|
|
|
131
130
|
"optional": false,
|
|
132
131
|
"docs": {
|
|
133
132
|
"tags": [{
|
|
133
|
+
"text": undefined,
|
|
134
|
+
"name": "undocumented"
|
|
135
|
+
}, {
|
|
134
136
|
"text": "Is Hidden",
|
|
135
137
|
"name": "uiName"
|
|
136
138
|
}],
|
|
137
|
-
"text": "
|
|
139
|
+
"text": ""
|
|
138
140
|
},
|
|
139
141
|
"attribute": "ishidden",
|
|
140
142
|
"reflect": false,
|
|
@@ -158,7 +160,7 @@ export class StatsContainer {
|
|
|
158
160
|
"text": "\"0\"",
|
|
159
161
|
"name": "default"
|
|
160
162
|
}],
|
|
161
|
-
"text": "
|
|
163
|
+
"text": "Define the bottom padding of the container with a pixel amount."
|
|
162
164
|
},
|
|
163
165
|
"attribute": "paddingtop",
|
|
164
166
|
"reflect": false
|
|
@@ -181,7 +183,7 @@ export class StatsContainer {
|
|
|
181
183
|
"text": "\"0\"",
|
|
182
184
|
"name": "default"
|
|
183
185
|
}],
|
|
184
|
-
"text": "
|
|
186
|
+
"text": "Define the top padding of the container with a pixel amount."
|
|
185
187
|
},
|
|
186
188
|
"attribute": "paddingbottom",
|
|
187
189
|
"reflect": false
|
|
@@ -12,8 +12,9 @@ export class TextComponent {
|
|
|
12
12
|
render() {
|
|
13
13
|
const regex = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i;
|
|
14
14
|
const textStyle = css `
|
|
15
|
-
font-family: ${this.fontfamily ||
|
|
16
|
-
font-size: ${this.fontsize ? this.fontsize +
|
|
15
|
+
font-family: ${this.fontfamily || 'inherit'};
|
|
16
|
+
font-size: ${this.fontsize ? this.fontsize + 'px' : 'inherit'};
|
|
17
|
+
font-weight: ${this.fontweight ? this.fontweight : 'inherit'};
|
|
17
18
|
text-align: ${this.textalign};
|
|
18
19
|
color: ${this.color || "inherit"};
|
|
19
20
|
padding-top: ${this.paddingtop ? this.paddingtop + "px" : "inherit"};
|
|
@@ -55,10 +56,13 @@ export class TextComponent {
|
|
|
55
56
|
"optional": false,
|
|
56
57
|
"docs": {
|
|
57
58
|
"tags": [{
|
|
59
|
+
"text": undefined,
|
|
60
|
+
"name": "undocumented"
|
|
61
|
+
}, {
|
|
58
62
|
"text": "Hide Text",
|
|
59
63
|
"name": "uiName"
|
|
60
64
|
}],
|
|
61
|
-
"text": "
|
|
65
|
+
"text": ""
|
|
62
66
|
},
|
|
63
67
|
"attribute": "ishidden",
|
|
64
68
|
"reflect": false
|
|
@@ -75,10 +79,10 @@ export class TextComponent {
|
|
|
75
79
|
"optional": false,
|
|
76
80
|
"docs": {
|
|
77
81
|
"tags": [{
|
|
78
|
-
"text": "
|
|
82
|
+
"text": "Use Markdown",
|
|
79
83
|
"name": "uiName"
|
|
80
84
|
}],
|
|
81
|
-
"text": "
|
|
85
|
+
"text": "Compile plain text into markdown."
|
|
82
86
|
},
|
|
83
87
|
"attribute": "ismarkdown",
|
|
84
88
|
"reflect": false
|
|
@@ -98,7 +102,7 @@ export class TextComponent {
|
|
|
98
102
|
"text": "Text",
|
|
99
103
|
"name": "uiName"
|
|
100
104
|
}],
|
|
101
|
-
"text": "
|
|
105
|
+
"text": ""
|
|
102
106
|
},
|
|
103
107
|
"attribute": "text",
|
|
104
108
|
"reflect": false
|
|
@@ -118,7 +122,7 @@ export class TextComponent {
|
|
|
118
122
|
"text": "Font Family",
|
|
119
123
|
"name": "uiName"
|
|
120
124
|
}],
|
|
121
|
-
"text": "
|
|
125
|
+
"text": ""
|
|
122
126
|
},
|
|
123
127
|
"attribute": "fontfamily",
|
|
124
128
|
"reflect": false
|
|
@@ -135,7 +139,7 @@ export class TextComponent {
|
|
|
135
139
|
"optional": false,
|
|
136
140
|
"docs": {
|
|
137
141
|
"tags": [{
|
|
138
|
-
"text": "Color",
|
|
142
|
+
"text": "Text Color",
|
|
139
143
|
"name": "uiName"
|
|
140
144
|
}, {
|
|
141
145
|
"text": "color",
|
|
@@ -144,7 +148,7 @@ export class TextComponent {
|
|
|
144
148
|
"text": "color",
|
|
145
149
|
"name": "format"
|
|
146
150
|
}],
|
|
147
|
-
"text": "
|
|
151
|
+
"text": ""
|
|
148
152
|
},
|
|
149
153
|
"attribute": "color",
|
|
150
154
|
"reflect": false
|
|
@@ -164,7 +168,7 @@ export class TextComponent {
|
|
|
164
168
|
"text": "Font Size",
|
|
165
169
|
"name": "uiName"
|
|
166
170
|
}],
|
|
167
|
-
"text": "
|
|
171
|
+
"text": ""
|
|
168
172
|
},
|
|
169
173
|
"attribute": "fontsize",
|
|
170
174
|
"reflect": false
|
|
@@ -184,11 +188,31 @@ export class TextComponent {
|
|
|
184
188
|
"text": "Padding Top",
|
|
185
189
|
"name": "uiName"
|
|
186
190
|
}],
|
|
187
|
-
"text": "
|
|
191
|
+
"text": "Define the top padding of the container with a pixel amount."
|
|
188
192
|
},
|
|
189
193
|
"attribute": "paddingtop",
|
|
190
194
|
"reflect": false
|
|
191
195
|
},
|
|
196
|
+
"fontweight": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"mutable": false,
|
|
199
|
+
"complexType": {
|
|
200
|
+
"original": "string",
|
|
201
|
+
"resolved": "string",
|
|
202
|
+
"references": {}
|
|
203
|
+
},
|
|
204
|
+
"required": false,
|
|
205
|
+
"optional": false,
|
|
206
|
+
"docs": {
|
|
207
|
+
"tags": [{
|
|
208
|
+
"text": "Font Weight",
|
|
209
|
+
"name": "uiName"
|
|
210
|
+
}],
|
|
211
|
+
"text": ""
|
|
212
|
+
},
|
|
213
|
+
"attribute": "fontweight",
|
|
214
|
+
"reflect": false
|
|
215
|
+
},
|
|
192
216
|
"paddingbottom": {
|
|
193
217
|
"type": "string",
|
|
194
218
|
"mutable": false,
|
|
@@ -204,7 +228,7 @@ export class TextComponent {
|
|
|
204
228
|
"text": "Padding Bottom",
|
|
205
229
|
"name": "uiName"
|
|
206
230
|
}],
|
|
207
|
-
"text": "
|
|
231
|
+
"text": "Define the bottom padding of the container with a pixel amount."
|
|
208
232
|
},
|
|
209
233
|
"attribute": "paddingbottom",
|
|
210
234
|
"reflect": false
|
|
@@ -221,7 +245,7 @@ export class TextComponent {
|
|
|
221
245
|
"optional": false,
|
|
222
246
|
"docs": {
|
|
223
247
|
"tags": [{
|
|
224
|
-
"text": "Text
|
|
248
|
+
"text": "Text Alignment",
|
|
225
249
|
"name": "uiName"
|
|
226
250
|
}, {
|
|
227
251
|
"text": "[\"left\", \"center\", \"right\"]",
|
|
@@ -230,7 +254,7 @@ export class TextComponent {
|
|
|
230
254
|
"text": "[\"Left\", \"Center\", \"Right\"]",
|
|
231
255
|
"name": "uiEnumNames"
|
|
232
256
|
}],
|
|
233
|
-
"text": "
|
|
257
|
+
"text": ""
|
|
234
258
|
},
|
|
235
259
|
"attribute": "textalign",
|
|
236
260
|
"reflect": false
|
|
@@ -250,7 +274,7 @@ export class TextComponent {
|
|
|
250
274
|
"text": "Background",
|
|
251
275
|
"name": "uiName"
|
|
252
276
|
}],
|
|
253
|
-
"text": "
|
|
277
|
+
"text": "Fill the background with a color or image. Input color values as a HEX code and an image as a URL."
|
|
254
278
|
},
|
|
255
279
|
"attribute": "background",
|
|
256
280
|
"reflect": false
|
|
@@ -270,7 +294,7 @@ export class TextComponent {
|
|
|
270
294
|
"text": "Height",
|
|
271
295
|
"name": "uiName"
|
|
272
296
|
}],
|
|
273
|
-
"text": "
|
|
297
|
+
"text": "Define the height of the container with a pixel amount."
|
|
274
298
|
},
|
|
275
299
|
"attribute": "height",
|
|
276
300
|
"reflect": false
|