@everymatrix/blog-articles-grid 1.0.69
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/blog-articles-grid/blog-articles-grid.esm.js +1 -0
- package/dist/blog-articles-grid/index.esm.js +0 -0
- package/dist/blog-articles-grid/p-786304d4.js +2 -0
- package/dist/blog-articles-grid/p-b88c9233.entry.js +1 -0
- package/dist/blog-articles-grid/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/blog-articles-grid.cjs.js +25 -0
- package/dist/cjs/blog-articles-grid_2.cjs.entry.js +623 -0
- package/dist/cjs/index-fad8e671.js +1332 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/blog-articles-grid/blog-articles-grid.css +167 -0
- package/dist/collection/components/blog-articles-grid/blog-articles-grid.js +740 -0
- package/dist/collection/components/blog-articles-grid/index.js +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +40 -0
- package/dist/collection/utils/utils.js +67 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/blog-articles-grid.js +20 -0
- package/dist/esm/blog-articles-grid_2.entry.js +618 -0
- package/dist/esm/index-2c19cd94.js +1305 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +17 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/blog-articles-grid/.stencil/packages/stencil/blog-articles-grid/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/blog-articles-grid/.stencil/packages/stencil/blog-articles-grid/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/blog-articles-grid/blog-articles-grid.d.ts +117 -0
- package/dist/types/components/blog-articles-grid/index.d.ts +1 -0
- package/dist/types/components.d.ts +213 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +4 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +29 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-fad8e671.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
|
+
|
|
8
|
+
const defineCustomElements = async (win, options) => {
|
|
9
|
+
if (typeof window === 'undefined') return undefined;
|
|
10
|
+
await appGlobals.globalScripts();
|
|
11
|
+
return index.bootstrapLazy([["blog-articles-grid_2.cjs",[[1,"blog-articles-grid",{"cmsEndpoint":[513,"cms-endpoint"],"language":[513],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"showPublishingDate":[516,"show-publishing-date"],"showImage":[516,"show-image"],"showTitle":[516,"show-title"],"showContent":[516,"show-content"],"showButton":[516,"show-button"],"usePostmessage":[516,"use-postmessage"],"postMessageEvent":[513,"post-message-event"],"blogsLimit":[513,"blogs-limit"],"paginationActive":[516,"pagination-active"],"arrowsActive":[516,"arrows-active"],"secondaryArrowsActive":[516,"secondary-arrows-active"],"numberedNavActive":[516,"numbered-nav-active"],"intlDateTimeFormat":[513,"intl-date-time-format"],"page":[513],"paginationBlogList":[32],"currentPage":[32],"hasErrors":[32],"isLoading":[32],"bannerMatrixReady":[32],"nextPage":[32],"previousPage":[32],"device":[32],"blogData":[32],"totalBlogs":[32]},[[8,"BannerMatrixReady","handleBannerReady"],[0,"hpPageChange","hpPageChange"]],{"page":["watchEndpoint"],"hasErrors":["watchEndpoint"],"cmsEndpoint":["watchEndpoint"],"language":["watchEndpoint"],"cmsEnv":["watchEndpoint"],"userRoles":["watchEndpoint"],"blogsLimit":["watchEndpoint"],"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingChange"]}],[1,"helper-pagination",{"nextPage":[1537,"next-page"],"prevPage":[1537,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrlContent":[1537,"client-styling-url-content"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32],"limitStylingAppends":[32]}]]]], options);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
exports.setNonce = index.setNonce;
|
|
15
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"components/blog-articles-grid/blog-articles-grid.js"
|
|
4
|
+
],
|
|
5
|
+
"compiler": {
|
|
6
|
+
"name": "@stencil/core",
|
|
7
|
+
"version": "4.20.0",
|
|
8
|
+
"typescriptVersion": "5.5.3"
|
|
9
|
+
},
|
|
10
|
+
"collections": [
|
|
11
|
+
{
|
|
12
|
+
"name": "@everymatrix/helper-pagination",
|
|
13
|
+
"tags": [
|
|
14
|
+
"helper-pagination"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"bundles": []
|
|
19
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.BlogPageContainer {
|
|
6
|
+
background: #0A0A17;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.GridContainerWrapper {
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-columns: 1fr 1fr;
|
|
13
|
+
gap: 20px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.BlogPage-0 .GridContainer.FeaturedPost:first-child {
|
|
17
|
+
width: 100%;
|
|
18
|
+
flex-basis: auto;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.GridContainer {
|
|
22
|
+
container-type: inline-size;
|
|
23
|
+
container-name: article;
|
|
24
|
+
border-radius: 15px;
|
|
25
|
+
color: #000;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
}
|
|
28
|
+
.GridContainer.FeaturedPost:first-child {
|
|
29
|
+
grid-column: 1/-1;
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
.GridContainer .GridWrapper {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
height: 280px;
|
|
36
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
37
|
+
}
|
|
38
|
+
.GridContainer .GridSector {
|
|
39
|
+
flex-basis: 50%;
|
|
40
|
+
position: relative;
|
|
41
|
+
}
|
|
42
|
+
.GridContainer .GridSector:first-of-type {
|
|
43
|
+
height: 280px;
|
|
44
|
+
display: flex;
|
|
45
|
+
}
|
|
46
|
+
.GridContainer .GridSector:last-of-type {
|
|
47
|
+
padding: 20px 40px;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
}
|
|
51
|
+
.GridContainer .VisualContent {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
.GridContainer .BlogDate {
|
|
55
|
+
position: absolute;
|
|
56
|
+
bottom: 0px;
|
|
57
|
+
left: 30px;
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
border-radius: 5px 5px 0 0;
|
|
60
|
+
padding: 10px;
|
|
61
|
+
width: fit-content;
|
|
62
|
+
text-align: center;
|
|
63
|
+
color: var(--emfe-w-color-white, #FFFFFF);
|
|
64
|
+
background-color: #CD0B5E;
|
|
65
|
+
z-index: 1;
|
|
66
|
+
}
|
|
67
|
+
.GridContainer .BlogTitle {
|
|
68
|
+
font-size: 24px;
|
|
69
|
+
color: #000;
|
|
70
|
+
padding-bottom: 10px;
|
|
71
|
+
}
|
|
72
|
+
.GridContainer .BlogContent {
|
|
73
|
+
display: -webkit-box;
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
line-height: 1.2em;
|
|
76
|
+
-webkit-line-clamp: 6;
|
|
77
|
+
color: #000;
|
|
78
|
+
-webkit-box-orient: vertical;
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
text-overflow: ellipsis;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
}
|
|
83
|
+
.GridContainer .BlogLink {
|
|
84
|
+
color: #000;
|
|
85
|
+
position: absolute;
|
|
86
|
+
bottom: 16px;
|
|
87
|
+
}
|
|
88
|
+
.GridContainer .BlogLink button {
|
|
89
|
+
font-size: 14px;
|
|
90
|
+
border: none;
|
|
91
|
+
padding: 0;
|
|
92
|
+
background: none;
|
|
93
|
+
color: #D0046C;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@container article (max-width: 550px) {
|
|
98
|
+
.GridContainer .GridWrapper {
|
|
99
|
+
height: 380px;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
}
|
|
102
|
+
.GridContainer .GridWrapper .GridSector:first-of-type {
|
|
103
|
+
height: 120px;
|
|
104
|
+
flex-shrink: 0;
|
|
105
|
+
flex-basis: 150px;
|
|
106
|
+
}
|
|
107
|
+
.GridContainer .GridWrapper .GridSector:last-of-type {
|
|
108
|
+
padding: 20px 20px 40px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
.LoadingImage {
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 100%;
|
|
114
|
+
background-color: var(--emfe-w-color-gray-100, #E6E6E6);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.LoadingStripe {
|
|
118
|
+
border: 1px solid var(--emfe-w-color-white, #FFFFFF);
|
|
119
|
+
height: 20%;
|
|
120
|
+
background-color: var(--emfe-w-color-gray-100, #E6E6E6);
|
|
121
|
+
margin-bottom: 5px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.LoadingSmallStripe {
|
|
125
|
+
width: 40%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.LoadingMediumStripe {
|
|
129
|
+
width: 70%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.BlogLink.LoadingLongStripe {
|
|
133
|
+
position: static;
|
|
134
|
+
width: 100%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.GridContainerWrapper.LoadingGrid .GridSector {
|
|
138
|
+
justify-content: space-around;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.GridContainerWrapper.LoadingGrid .LoadingImage, .GridContainerWrapper.LoadingGrid .LoadingStripe {
|
|
142
|
+
animation: pulsatingLoader 2s ease-in-out 0s infinite reverse;
|
|
143
|
+
-webkit-animation: pulsatingLoader 2s ease-in-out 0s infinite reverse;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@keyframes pulsatingLoader {
|
|
147
|
+
0% {
|
|
148
|
+
opacity: 0.5;
|
|
149
|
+
}
|
|
150
|
+
50% {
|
|
151
|
+
opacity: 1;
|
|
152
|
+
}
|
|
153
|
+
100% {
|
|
154
|
+
opacity: 0.5;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
@-webkit-keyframes pulsatingLoader {
|
|
158
|
+
0% {
|
|
159
|
+
opacity: 0.5;
|
|
160
|
+
}
|
|
161
|
+
50% {
|
|
162
|
+
opacity: 1;
|
|
163
|
+
}
|
|
164
|
+
100% {
|
|
165
|
+
opacity: 0.5;
|
|
166
|
+
}
|
|
167
|
+
}
|