@saasquatch/vanilla-components 1.2.4-1 → 1.2.4-12
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} +1182 -42
- 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/close-button/close-button.js +3 -0
- package/dist/collection/components/copy-button/copy-button.js +22 -28
- package/dist/collection/components/copy-link-button/copy-link-button.js +16 -16
- package/dist/collection/components/cta-component/cta-component.css +6 -0
- package/dist/collection/components/cta-component/cta-component.js +393 -0
- package/dist/collection/components/global-container/global-container.js +9 -20
- package/dist/collection/components/image-component/image-component.js +13 -12
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +20 -9
- package/dist/collection/components/progress-indicator/progress-indicator.css +73 -0
- package/dist/collection/components/progress-indicator/progress-indicator.js +557 -0
- package/dist/collection/components/referral-code/referral-code.js +3 -0
- package/dist/collection/components/referral-component/referral-component.js +1 -0
- package/dist/collection/components/referral-list/referral-list.js +70 -88
- package/dist/collection/components/rewards-actions/rewards-actions.js +1 -0
- package/dist/collection/components/share-button/share-button.js +4 -12
- package/dist/collection/components/share-button-container/share-button-container.js +90 -173
- package/dist/collection/components/stat-component/stat-component.js +22 -10
- package/dist/collection/components/stats-container/stats-container.js +15 -9
- package/dist/collection/components/text-component/text-component.js +42 -17
- 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} +1181 -43
- 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} +1073 -56
- 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/close-button/close-button.d.ts +3 -0
- package/dist/types/components/copy-button/copy-button.d.ts +14 -28
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +10 -16
- package/dist/types/components/cta-component/cta-component.d.ts +88 -0
- package/dist/types/components/global-container/global-container.d.ts +7 -14
- package/dist/types/components/image-component/image-component.d.ts +8 -13
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +12 -9
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +96 -0
- package/dist/types/components/referral-code/referral-code.d.ts +3 -0
- package/dist/types/components/referral-component/referral-component.d.ts +1 -0
- package/dist/types/components/referral-list/referral-list.d.ts +63 -77
- package/dist/types/components/rewards-actions/rewards-actions.d.ts +1 -0
- package/dist/types/components/share-button/share-button.d.ts +3 -7
- package/dist/types/components/share-button-container/share-button-container.d.ts +49 -137
- package/dist/types/components/stat-component/stat-component.d.ts +13 -11
- package/dist/types/components/stats-container/stats-container.d.ts +10 -7
- package/dist/types/components/text-component/text-component.d.ts +17 -21
- package/dist/types/components.d.ts +634 -542
- package/dist/types/saasquatch.d.ts +3 -1
- package/dist/types/services/WidgetHost.d.ts +6 -0
- package/dist/widget-components/p-0e55cfb5.system.entry.js +10 -0
- package/dist/widget-components/p-0ec230df.entry.js +233 -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-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
|
@@ -1,73 +1,69 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Text Component
|
|
3
|
+
* @canvasRenderer always-replace
|
|
4
|
+
* @exampleGroup Common Components
|
|
5
|
+
* @example Header Text - <sqh-text-component sqhheader="true" ishidden="false" ismarkdown="false" text="Give $10 and Get $10!" color="#4486E1" fontsize="30" textalign="center" paddingtop="30" paddingbottom="10"></sqh-text-component>
|
|
6
|
+
* @example Paragraph Text - <sqh-text-component sqhbody="true" ishidden="false" ismarkdown="true" text="Give a friend a $10 and receive $10 for yourself when they purchase.<br/><br/>Share the link below or use the code **<sqh-referral-code />**" color="#000000" fontsize="13" textalign="center" paddingtop="5" paddingbottom="20"></sqh-text-component>
|
|
3
7
|
*/
|
|
4
8
|
export declare class TextComponent {
|
|
5
9
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
10
|
+
* @undocumented
|
|
8
11
|
* @uiName Hide Text
|
|
9
12
|
*/
|
|
10
13
|
ishidden: boolean;
|
|
11
14
|
/**
|
|
12
|
-
*
|
|
15
|
+
* Compile plain text into HTML. See [markdown](https://www.markdownguide.org/getting-started/) for more details.
|
|
13
16
|
*
|
|
14
|
-
* @uiName
|
|
17
|
+
* @uiName Use Markdown
|
|
15
18
|
*/
|
|
16
19
|
ismarkdown: boolean;
|
|
17
20
|
/**
|
|
18
|
-
* The text content
|
|
19
|
-
*
|
|
20
21
|
* @uiName Text
|
|
21
22
|
*/
|
|
22
23
|
text: string;
|
|
23
24
|
/**
|
|
24
|
-
* Font family of the text
|
|
25
|
-
*
|
|
26
25
|
* @uiName Font Family
|
|
27
26
|
*/
|
|
28
27
|
fontfamily: string;
|
|
29
28
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @uiName Color
|
|
29
|
+
* @uiName Text Color
|
|
33
30
|
* @uiWidget color
|
|
34
|
-
* @format color
|
|
35
31
|
*/
|
|
36
32
|
color: string;
|
|
37
33
|
/**
|
|
38
|
-
* Size of the text
|
|
39
|
-
*
|
|
40
34
|
* @uiName Font Size
|
|
41
35
|
*/
|
|
42
36
|
fontsize: string;
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
38
|
+
* Define the top padding of the container with a pixel amount.
|
|
45
39
|
*
|
|
46
40
|
* @uiName Padding Top
|
|
47
41
|
*/
|
|
48
42
|
paddingtop: string;
|
|
49
43
|
/**
|
|
50
|
-
*
|
|
44
|
+
* @uiName Font Weight
|
|
45
|
+
*/
|
|
46
|
+
fontweight: string;
|
|
47
|
+
/**
|
|
48
|
+
* Define the bottom padding of the container with a pixel amount.
|
|
51
49
|
*
|
|
52
50
|
* @uiName Padding Bottom
|
|
53
51
|
*/
|
|
54
52
|
paddingbottom: string;
|
|
55
53
|
/**
|
|
56
|
-
* Text
|
|
57
|
-
*
|
|
58
|
-
* @uiName Text Align
|
|
54
|
+
* @uiName Text Alignment
|
|
59
55
|
* @uiEnum ["left", "center", "right"]
|
|
60
56
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
61
57
|
*/
|
|
62
58
|
textalign: string;
|
|
63
59
|
/**
|
|
64
|
-
*
|
|
60
|
+
* Fill the background with a color or image. Input color values as a HEX code and an image as a URL.
|
|
65
61
|
*
|
|
66
62
|
* @uiName Background
|
|
67
63
|
*/
|
|
68
64
|
background: string;
|
|
69
65
|
/**
|
|
70
|
-
*
|
|
66
|
+
* Define the height of the container with a pixel amount.
|
|
71
67
|
*
|
|
72
68
|
* @uiName Height
|
|
73
69
|
*/
|