@everymatrix/general-preview-social-posts 1.16.1

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 (47) hide show
  1. package/dist/cjs/general-preview-social-posts.cjs.entry.js +349 -0
  2. package/dist/cjs/general-preview-social-posts.cjs.js +19 -0
  3. package/dist/cjs/index-e178764e.js +1223 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +21 -0
  6. package/dist/collection/collection-manifest.json +12 -0
  7. package/dist/collection/components/general-preview-social-posts/general-preview-social-posts.css +114 -0
  8. package/dist/collection/components/general-preview-social-posts/general-preview-social-posts.js +578 -0
  9. package/dist/collection/index.js +1 -0
  10. package/dist/collection/utils/locale.utils.js +60 -0
  11. package/dist/collection/utils/utils.js +39 -0
  12. package/dist/components/general-preview-social-posts.d.ts +11 -0
  13. package/dist/components/general-preview-social-posts.js +384 -0
  14. package/dist/components/index.d.ts +26 -0
  15. package/dist/components/index.js +1 -0
  16. package/dist/esm/general-preview-social-posts.entry.js +345 -0
  17. package/dist/esm/general-preview-social-posts.js +17 -0
  18. package/dist/esm/index-8a671ab9.js +1197 -0
  19. package/dist/esm/index.js +1 -0
  20. package/dist/esm/loader.js +17 -0
  21. package/dist/esm/polyfills/core-js.js +11 -0
  22. package/dist/esm/polyfills/css-shim.js +1 -0
  23. package/dist/esm/polyfills/dom.js +79 -0
  24. package/dist/esm/polyfills/es5-html-element.js +1 -0
  25. package/dist/esm/polyfills/index.js +34 -0
  26. package/dist/esm/polyfills/system.js +6 -0
  27. package/dist/general-preview-social-posts/general-preview-social-posts.esm.js +1 -0
  28. package/dist/general-preview-social-posts/index.esm.js +0 -0
  29. package/dist/general-preview-social-posts/p-b79fd2fe.entry.js +1 -0
  30. package/dist/general-preview-social-posts/p-c682801c.js +1 -0
  31. package/dist/index.cjs.js +1 -0
  32. package/dist/index.js +1 -0
  33. package/dist/stencil.config.js +22 -0
  34. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/general-preview-social-posts/.stencil/packages/general-preview-social-posts/stencil.config.d.ts +2 -0
  35. package/dist/types/components/general-preview-social-posts/general-preview-social-posts.d.ts +84 -0
  36. package/dist/types/components.d.ts +152 -0
  37. package/dist/types/index.d.ts +1 -0
  38. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  39. package/dist/types/utils/locale.utils.d.ts +2 -0
  40. package/dist/types/utils/utils.d.ts +9 -0
  41. package/loader/cdn.js +3 -0
  42. package/loader/index.cjs.js +3 -0
  43. package/loader/index.d.ts +12 -0
  44. package/loader/index.es2017.js +3 -0
  45. package/loader/index.js +4 -0
  46. package/loader/package.json +10 -0
  47. package/package.json +19 -0
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-e178764e.js');
6
+
7
+ /*
8
+ Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
9
+ */
10
+ const patchEsm = () => {
11
+ return index.promiseResolve();
12
+ };
13
+
14
+ const defineCustomElements = (win, options) => {
15
+ if (typeof window === 'undefined') return Promise.resolve();
16
+ return patchEsm().then(() => {
17
+ return index.bootstrapLazy([["general-preview-social-posts.cjs",[[1,"general-preview-social-posts",{"userId":[513,"user-id"],"session":[513],"postsTitle":[513,"posts-title"],"maxCards":[513,"max-cards"],"language":[513],"datasource":[513],"endpoint":[513],"cmsEndpoint":[513,"cms-endpoint"],"userRoles":[513,"user-roles"],"translationUrl":[513,"translation-url"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"cmsEnv":[513,"cms-env"],"pageName":[513,"page-name"],"posts":[32],"stylingAppends":[32],"isLoading":[32],"isLoggedIn":[32],"dataImages":[32],"gameIds":[32]}]]]], options);
18
+ });
19
+ };
20
+
21
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,12 @@
1
+ {
2
+ "entries": [
3
+ "./components/general-preview-social-posts/general-preview-social-posts.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "2.15.2",
8
+ "typescriptVersion": "4.5.4"
9
+ },
10
+ "collections": [],
11
+ "bundles": []
12
+ }
@@ -0,0 +1,114 @@
1
+ :host {
2
+ font-family: "Roboto", sans-serif;
3
+ display: block;
4
+ }
5
+
6
+ .ModalContainer {
7
+ container-type: inline-size;
8
+ }
9
+
10
+ .sliderWidget {
11
+ display: block;
12
+ max-width: 780px;
13
+ margin: 0 auto;
14
+ padding: 16px;
15
+ max-height: 500px;
16
+ }
17
+ .sliderWidget h2 {
18
+ font-size: 20px;
19
+ }
20
+ .sliderWidget .headerHontainer {
21
+ display: flex;
22
+ justify-content: space-between;
23
+ align-items: center;
24
+ }
25
+ .sliderWidget .headerHontainer .viewAllButton {
26
+ cursor: pointer;
27
+ font-weight: bold;
28
+ color: #8e8e8e;
29
+ }
30
+ .sliderWidget .postSlider {
31
+ display: flex;
32
+ overflow-x: auto;
33
+ scroll-snap-type: x mandatory;
34
+ gap: 24px;
35
+ }
36
+ .sliderWidget .postSlider .postCard {
37
+ display: flex;
38
+ flex-direction: column;
39
+ justify-content: space-between;
40
+ scroll-snap-align: start;
41
+ padding: 20px;
42
+ border-radius: 6px;
43
+ min-width: 360px;
44
+ background-color: #f4f4f4;
45
+ }
46
+ .sliderWidget .postSlider .postCard .Description {
47
+ display: -webkit-box;
48
+ -webkit-line-clamp: 5;
49
+ -webkit-box-orient: vertical;
50
+ overflow: hidden;
51
+ margin-bottom: 14px;
52
+ }
53
+ .sliderWidget .postSlider .postCard .imageTitle {
54
+ display: flex;
55
+ justify-content: flex-start;
56
+ gap: 20px;
57
+ }
58
+ .sliderWidget .postSlider .postCard .imageTitle img {
59
+ height: 120px;
60
+ width: 120px;
61
+ border-radius: 6px;
62
+ }
63
+ .sliderWidget .postSlider .postCard .imageTitle .titleSubtitle {
64
+ display: flex;
65
+ flex-direction: column;
66
+ }
67
+ .sliderWidget .postSlider .postCard .buttons {
68
+ display: flex;
69
+ justify-content: center;
70
+ gap: 12px;
71
+ }
72
+ .sliderWidget .postSlider .postCard .buttons .moreInfoButton, .sliderWidget .postSlider .postCard .buttons .playNowButton {
73
+ width: 172px;
74
+ display: block;
75
+ padding: 8px 16px;
76
+ border: 3px solid #63B250;
77
+ border-radius: 6px;
78
+ cursor: pointer;
79
+ font-weight: bold;
80
+ }
81
+ .sliderWidget .postSlider .postCard .buttons .moreInfoButton {
82
+ background-color: #f4f4f4;
83
+ color: #63B250;
84
+ }
85
+ .sliderWidget .postSlider .postCard .buttons .playNowButton {
86
+ background-color: #63B250;
87
+ color: #fff;
88
+ }
89
+
90
+ h3, h4 {
91
+ font-size: 18px;
92
+ }
93
+
94
+ p {
95
+ font-size: 14px;
96
+ color: #5b5b5b;
97
+ }
98
+
99
+ @container (max-width: 480px) {
100
+ .sliderWidget h2 {
101
+ font-size: 18px;
102
+ }
103
+ .sliderWidget .postSlider .postCard {
104
+ min-width: 250px;
105
+ }
106
+
107
+ h3, h4 {
108
+ font-size: 16px;
109
+ }
110
+
111
+ p {
112
+ font-size: 12px;
113
+ }
114
+ }