@saasquatch/vanilla-components 1.2.3-0 → 1.2.4-0

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 (66) hide show
  1. package/dist/cjs/{WidgetHost-18a663ee.js → WidgetHost-d7b870ce.js} +1 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/sqh-close-button.cjs.entry.js +9 -4
  4. package/dist/cjs/sqh-copy-button_12.cjs.entry.js +184 -9
  5. package/dist/cjs/sqh-referral-code.cjs.entry.js +1 -1
  6. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +15 -0
  7. package/dist/cjs/widget-components.cjs.js +1 -1
  8. package/dist/collection/components/close-button/close-button.js +14 -3
  9. package/dist/collection/components/copy-button/copy-button.js +117 -24
  10. package/dist/collection/components/copy-link-button/copy-link-button.js +60 -12
  11. package/dist/collection/components/global-container/global-container.js +53 -10
  12. package/dist/collection/components/image-component/image-component.js +54 -12
  13. package/dist/collection/components/partner-stat-component/partner-stat-component.js +41 -11
  14. package/dist/collection/components/referral-code/referral-code.js +3 -0
  15. package/dist/collection/components/referral-component/referral-component.js +28 -10
  16. package/dist/collection/components/referral-list/referral-list.js +320 -59
  17. package/dist/collection/components/rewards-actions/rewards-actions.js +33 -6
  18. package/dist/collection/components/share-button/share-button.js +76 -22
  19. package/dist/collection/components/share-button-container/share-button-container.js +1097 -164
  20. package/dist/collection/components/stat-component/stat-component.js +40 -10
  21. package/dist/collection/components/stats-container/stats-container.js +30 -6
  22. package/dist/collection/components/text-component/text-component.js +70 -43
  23. package/dist/collection/services/WidgetHost.js +1 -0
  24. package/dist/esm/{WidgetHost-d643a9de.js → WidgetHost-a27e693d.js} +1 -0
  25. package/dist/esm/loader.mjs +1 -1
  26. package/dist/esm/sqh-close-button.entry.js +9 -4
  27. package/dist/esm/sqh-copy-button_12.entry.js +183 -8
  28. package/dist/esm/sqh-referral-code.entry.js +1 -1
  29. package/dist/esm/sqh-rewards-actions.entry.js +15 -0
  30. package/dist/esm/widget-components.mjs +1 -1
  31. package/dist/esm-es5/{WidgetHost-d643a9de.js → WidgetHost-a27e693d.js} +2 -2
  32. package/dist/esm-es5/loader.mjs +1 -1
  33. package/dist/esm-es5/sqh-close-button.entry.js +15 -10
  34. package/dist/esm-es5/sqh-copy-button_12.entry.js +201 -26
  35. package/dist/esm-es5/sqh-referral-code.entry.js +1 -1
  36. package/dist/esm-es5/sqh-rewards-actions.entry.js +15 -0
  37. package/dist/esm-es5/widget-components.mjs +1 -1
  38. package/dist/types/components/close-button/close-button.d.ts +9 -1
  39. package/dist/types/components/copy-button/copy-button.d.ts +81 -0
  40. package/dist/types/components/copy-link-button/copy-link-button.d.ts +42 -0
  41. package/dist/types/components/global-container/global-container.d.ts +37 -0
  42. package/dist/types/components/image-component/image-component.d.ts +41 -0
  43. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +33 -1
  44. package/dist/types/components/referral-code/referral-code.d.ts +3 -0
  45. package/dist/types/components/referral-component/referral-component.d.ts +28 -0
  46. package/dist/types/components/referral-list/referral-list.d.ts +205 -0
  47. package/dist/types/components/rewards-actions/rewards-actions.d.ts +18 -0
  48. package/dist/types/components/share-button/share-button.d.ts +64 -0
  49. package/dist/types/components/share-button-container/share-button-container.d.ts +584 -0
  50. package/dist/types/components/stat-component/stat-component.d.ts +31 -0
  51. package/dist/types/components/stats-container/stats-container.d.ts +21 -0
  52. package/dist/types/components/text-component/text-component.d.ts +62 -1
  53. package/dist/types/components.d.ts +2052 -2
  54. package/dist/widget-components/p-58be1132.system.js +1 -1
  55. package/dist/widget-components/{p-afd88281.entry.js → p-650d012d.entry.js} +1 -1
  56. package/dist/widget-components/p-908068c2.system.entry.js +1 -0
  57. package/dist/widget-components/{p-b4a53a7e.js → p-9525bf4a.js} +1 -0
  58. package/dist/widget-components/{p-3a627e51.system.js → p-9adc7c50.system.js} +1 -1
  59. package/dist/widget-components/{p-fd5e98db.system.entry.js → p-c0cdba77.system.entry.js} +1 -1
  60. package/dist/widget-components/{p-126c2b5d.entry.js → p-d4b27c72.entry.js} +1 -1
  61. package/dist/widget-components/{p-10f0b8fc.entry.js → p-d7059393.entry.js} +3 -3
  62. package/dist/widget-components/{p-edc35bc4.system.entry.js → p-fba5ea7f.system.entry.js} +2 -2
  63. package/dist/widget-components/widget-components.esm.js +1 -1
  64. package/docs/raisins.json +1 -0
  65. package/package.json +12 -5
  66. package/dist/widget-components/p-023e8818.system.entry.js +0 -1
@@ -1,7 +1,28 @@
1
+ /**
2
+ * @uiName Stats Container
3
+ * @slots [{"name":"","title":"Stats"}]
4
+ */
1
5
  export declare class StatsContainer {
2
6
  container: HTMLElement;
7
+ /**
8
+ * Hide the component
9
+ *
10
+ * @uiName Is Hidden
11
+ */
3
12
  ishidden: boolean;
13
+ /**
14
+ * Configure the padding top of the container
15
+ *
16
+ * @uiName Padding Top
17
+ * @default "0"
18
+ */
4
19
  paddingtop: string;
20
+ /**
21
+ * Configure the padding bottom of the container
22
+ *
23
+ * @uiName Padding Bottom
24
+ * @default "0"
25
+ */
5
26
  paddingbottom: string;
6
27
  loading: boolean;
7
28
  stats: object;
@@ -1,15 +1,76 @@
1
+ /**
2
+ * @uiName Text Component
3
+ */
1
4
  export declare class TextComponent {
5
+ /**
6
+ * Hide or show the component
7
+ *
8
+ * @uiName Hide Text
9
+ */
2
10
  ishidden: boolean;
11
+ /**
12
+ * Compiles plain text into markdown
13
+ *
14
+ * @uiName Is Markdown
15
+ */
3
16
  ismarkdown: boolean;
17
+ /**
18
+ * The text content
19
+ *
20
+ * @uiName Text
21
+ */
4
22
  text: string;
23
+ /**
24
+ * Font family of the text
25
+ *
26
+ * @uiName Font Family
27
+ */
5
28
  fontfamily: string;
29
+ /**
30
+ * Color of the text
31
+ *
32
+ * @uiName Color
33
+ * @uiWidget color
34
+ * @format color
35
+ */
6
36
  color: string;
37
+ /**
38
+ * Size of the text
39
+ *
40
+ * @uiName Font Size
41
+ */
7
42
  fontsize: string;
43
+ /**
44
+ * Top padding on text
45
+ *
46
+ * @uiName Padding Top
47
+ */
8
48
  paddingtop: string;
49
+ /**
50
+ * Bottom padding on text
51
+ *
52
+ * @uiName Padding Bottom
53
+ */
9
54
  paddingbottom: string;
10
- padding: string;
55
+ /**
56
+ * Text alignment
57
+ *
58
+ * @uiName Text Align
59
+ * @uiEnum ["left", "center", "right"]
60
+ * @uiEnumNames ["Left", "Center", "Right"]
61
+ */
11
62
  textalign: string;
63
+ /**
64
+ * Background the container, color or url
65
+ *
66
+ * @uiName Background
67
+ */
12
68
  background: string;
69
+ /**
70
+ * Height of the container
71
+ *
72
+ * @uiName Height
73
+ */
13
74
  height: string;
14
75
  textEl: HTMLElement;
15
76
  render(): any;