@everymatrix/general-slider-navigation 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-slider-navigation.cjs.entry.js +362 -0
  2. package/dist/cjs/general-slider-navigation.cjs.js +19 -0
  3. package/dist/cjs/index-3420513e.js +1282 -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-slider-navigation/general-slider-navigation.css +282 -0
  8. package/dist/collection/components/general-slider-navigation/general-slider-navigation.js +586 -0
  9. package/dist/collection/index.js +1 -0
  10. package/dist/collection/utils/locale.utils.js +28 -0
  11. package/dist/collection/utils/utils.js +56 -0
  12. package/dist/components/general-slider-navigation.d.ts +11 -0
  13. package/dist/components/general-slider-navigation.js +398 -0
  14. package/dist/components/index.d.ts +26 -0
  15. package/dist/components/index.js +1 -0
  16. package/dist/esm/general-slider-navigation.entry.js +358 -0
  17. package/dist/esm/general-slider-navigation.js +17 -0
  18. package/dist/esm/index-22e4ccbc.js +1256 -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-slider-navigation/general-slider-navigation.esm.js +1 -0
  28. package/dist/general-slider-navigation/index.esm.js +0 -0
  29. package/dist/general-slider-navigation/p-b72fe935.js +1 -0
  30. package/dist/general-slider-navigation/p-c80bf480.entry.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-slider-navigation/.stencil/packages/general-slider-navigation/stencil.config.d.ts +2 -0
  35. package/dist/types/components/general-slider-navigation/general-slider-navigation.d.ts +100 -0
  36. package/dist/types/components.d.ts +157 -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 +1 -0
  40. package/dist/types/utils/utils.d.ts +10 -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-3420513e.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-slider-navigation.cjs",[[1,"general-slider-navigation",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"cmsEndpoint":[513,"cms-endpoint"],"cmsEnv":[513,"cms-env"],"language":[513],"userRoles":[513,"user-roles"],"showSliderArrows":[516,"show-slider-arrows"],"showSliderArrowsMobile":[516,"show-slider-arrows-mobile"],"showMobileGrid":[516,"show-mobile-grid"],"showNavigationSliderMobile":[516,"show-navigation-slider-mobile"],"showNavigationSliderDesktop":[516,"show-navigation-slider-desktop"],"itemsPerPageDesktop":[514,"items-per-page-desktop"],"itemsPerPageMobile":[514,"items-per-page-mobile"],"externalLinkActive":[1540,"external-link-active"],"internalLinkActive":[1540,"internal-link-active"],"isLoading":[32],"limitStylingAppends":[32],"hasErrors":[32],"device":[32],"activeIndex":[32],"sliderMenuElementWidth":[32]}]]]], options);
18
+ });
19
+ };
20
+
21
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,12 @@
1
+ {
2
+ "entries": [
3
+ "./components/general-slider-navigation/general-slider-navigation.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,282 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .PageError {
6
+ display: flex;
7
+ justify-content: center;
8
+ flex-direction: column;
9
+ }
10
+ .PageError.TitleError {
11
+ color: red;
12
+ }
13
+
14
+ main {
15
+ width: 100%;
16
+ overflow: hidden;
17
+ }
18
+
19
+ .SliderItemsWrapper {
20
+ display: flex;
21
+ flex-direction: row;
22
+ width: 100%;
23
+ }
24
+
25
+ .SliderWrapperContent {
26
+ display: flex;
27
+ justify-content: center;
28
+ flex-direction: row;
29
+ width: 100%;
30
+ }
31
+
32
+ .SliderItems {
33
+ display: flex;
34
+ transition: transform 0.4s ease-in-out;
35
+ transform: translateX(0px);
36
+ }
37
+
38
+ .SliderItem {
39
+ flex: 0 0 auto;
40
+ width: 100%;
41
+ display: flex;
42
+ flex-direction: column;
43
+ justify-content: flex-start;
44
+ align-items: center;
45
+ border-radius: 5px;
46
+ user-select: none;
47
+ }
48
+
49
+ .GridContainer {
50
+ display: grid;
51
+ grid-template-columns: 1fr;
52
+ grid-template-rows: 1fr 1fr;
53
+ gap: 0px 0px;
54
+ margin: auto;
55
+ width: 220px;
56
+ height: 320px;
57
+ border-radius: 5px;
58
+ margin-bottom: 20px;
59
+ background: var(--emfe-w-color-secondary, #FD2839);
60
+ cursor: pointer;
61
+ }
62
+ .GridContainer .SliderImage {
63
+ grid-area: 1/1/2/2;
64
+ }
65
+ .GridContainer .SliderImage img {
66
+ object-fit: cover;
67
+ height: 320px;
68
+ width: 220px;
69
+ border-radius: 5px;
70
+ }
71
+ .GridContainer .SliderContent {
72
+ grid-area: 1/1/3/2;
73
+ display: flex;
74
+ flex-direction: column;
75
+ flex-wrap: nowrap;
76
+ justify-content: flex-end;
77
+ align-items: baseline;
78
+ gap: 5px;
79
+ margin-left: 20px;
80
+ margin-bottom: 20px;
81
+ }
82
+ .GridContainer .SliderContent .DividerElement {
83
+ background: var(--emfe-w-color-secondary, #FD2839);
84
+ height: 3px;
85
+ width: 60px;
86
+ }
87
+ .GridContainer .SliderContent .Title {
88
+ font-size: 22px;
89
+ font-weight: 400;
90
+ text-transform: uppercase;
91
+ color: var(--emfe-w-color-white, #FFFFFF);
92
+ }
93
+
94
+ .GridItems {
95
+ display: grid;
96
+ grid-template-columns: 49vw 49vw;
97
+ grid-template-rows: auto auto;
98
+ place-content: unset;
99
+ gap: 2vw;
100
+ margin: 0;
101
+ width: 100vw;
102
+ }
103
+
104
+ .GridContainerMobile {
105
+ display: grid;
106
+ grid-template-columns: 1fr;
107
+ grid-template-rows: 1fr 1fr;
108
+ gap: 0px 0px;
109
+ margin: auto;
110
+ width: 49vw;
111
+ height: 240px;
112
+ border-radius: 15px;
113
+ background: var(--emfe-w-color-secondary, #FD2839);
114
+ cursor: pointer;
115
+ }
116
+ .GridContainerMobile .SliderImage {
117
+ grid-area: 1/1/2/2;
118
+ }
119
+ .GridContainerMobile .SliderImage img {
120
+ width: 49vw;
121
+ object-fit: cover;
122
+ height: 240px;
123
+ border-radius: 5px;
124
+ }
125
+ .GridContainerMobile .SliderContent {
126
+ grid-area: 1/1/3/2;
127
+ display: flex;
128
+ flex-flow: column;
129
+ justify-content: flex-end;
130
+ align-items: baseline;
131
+ gap: 5px;
132
+ margin-left: 20px;
133
+ margin-bottom: 20px;
134
+ }
135
+ .GridContainerMobile .SliderContent .DividerElement {
136
+ background: var(--emfe-w-color-secondary, #FD2839);
137
+ height: 3px;
138
+ width: 60px;
139
+ }
140
+ .GridContainerMobile .SliderContent .Title {
141
+ font-size: 22px;
142
+ font-weight: 400;
143
+ text-transform: uppercase;
144
+ color: var(--emfe-w-color-white, #FFFFFF);
145
+ }
146
+
147
+ .GridContainerMobile:nth-last-child(1):nth-child(odd) {
148
+ display: grid;
149
+ gap: 0px 0px;
150
+ margin: auto;
151
+ width: 100vw;
152
+ }
153
+ .GridContainerMobile:nth-last-child(1):nth-child(odd) .SliderImage {
154
+ grid-area: 1/1/2/2;
155
+ }
156
+ .GridContainerMobile:nth-last-child(1):nth-child(odd) .SliderImage img {
157
+ width: 100vw;
158
+ object-fit: cover;
159
+ height: 240px;
160
+ border-radius: 5px;
161
+ }
162
+
163
+ .SliderNavButton {
164
+ border: 0px;
165
+ width: 45px;
166
+ display: flex;
167
+ align-items: center;
168
+ justify-content: center;
169
+ }
170
+ .SliderNavButton svg {
171
+ width: 40px;
172
+ stroke: var(--emfe-w-color-secondary, #FD2839);
173
+ }
174
+
175
+ .DisabledArrow svg {
176
+ opacity: 0.2;
177
+ stroke: var(--emfe-w-color-secondary, #FD2839);
178
+ pointer-events: none;
179
+ }
180
+
181
+ @container (max-width: 475px) {
182
+ .SliderItem {
183
+ display: grid;
184
+ grid-template-columns: repeat(auto-fill, max(250px, 1fr));
185
+ color: var(--emfe-w-color-secondary, #FD2839);
186
+ border-radius: 5px;
187
+ user-select: none;
188
+ }
189
+
190
+ .GridContainer {
191
+ display: grid;
192
+ grid-template-columns: repeat(auto-fill, max(250px, 1fr));
193
+ gap: 10px;
194
+ margin: auto;
195
+ width: 90%;
196
+ height: 220px;
197
+ border-radius: 5px;
198
+ background: var(--emfe-w-color-secondary, #FD2839);
199
+ cursor: pointer;
200
+ }
201
+ .GridContainer .SliderImage {
202
+ grid-area: 1/1/2/2;
203
+ }
204
+ .GridContainer .SliderImage img {
205
+ object-fit: cover;
206
+ height: 220px;
207
+ width: 100%;
208
+ border-radius: 5px;
209
+ }
210
+ .GridContainer .SliderContent {
211
+ grid-area: 1/1/3/2;
212
+ display: flex;
213
+ flex-direction: column;
214
+ flex-wrap: nowrap;
215
+ justify-content: flex-end;
216
+ align-items: baseline;
217
+ gap: 5px;
218
+ margin-left: 20px;
219
+ margin-bottom: 40px;
220
+ }
221
+ .GridContainer .SliderContent .DividerElement {
222
+ background: var(--emfe-w-color-secondary, #FD2839);
223
+ height: 3px;
224
+ width: 60px;
225
+ }
226
+ .GridContainer .SliderContent .Title {
227
+ font-size: 16px;
228
+ font-weight: 400;
229
+ text-transform: uppercase;
230
+ color: var(--emfe-w-color-white, #FFFFFF);
231
+ }
232
+
233
+ .GridItems {
234
+ display: grid;
235
+ grid-template-columns: 1fr 1fr;
236
+ grid-template-rows: auto auto auto auto;
237
+ gap: 2cqw;
238
+ width: 100cqw;
239
+ justify-items: stretch;
240
+ }
241
+
242
+ .GridContainerMobile {
243
+ display: grid;
244
+ grid-template-columns: 1fr 1fr;
245
+ grid-template-rows: 1fr 1fr;
246
+ gap: 0px 0px;
247
+ margin: auto;
248
+ height: 200px;
249
+ border-radius: 15px;
250
+ background: white;
251
+ cursor: pointer;
252
+ }
253
+ .GridContainerMobile .SliderImage {
254
+ grid-area: 1/1/2/2;
255
+ }
256
+ .GridContainerMobile .SliderImage img {
257
+ object-fit: cover;
258
+ height: 200px;
259
+ border-radius: 5px;
260
+ }
261
+ .GridContainerMobile .SliderContent {
262
+ grid-area: 1/1/3/2;
263
+ display: flex;
264
+ flex-flow: column;
265
+ justify-content: flex-end;
266
+ align-items: baseline;
267
+ gap: 5px;
268
+ margin-left: 20px;
269
+ margin-bottom: 20px;
270
+ }
271
+ .GridContainerMobile .SliderContent .DividerElement {
272
+ background: var(--emfe-w-color-secondary, #FD2839);
273
+ height: 3px;
274
+ width: 60px;
275
+ }
276
+ .GridContainerMobile .SliderContent .Title {
277
+ font-size: 22px;
278
+ font-weight: 400;
279
+ text-transform: uppercase;
280
+ color: var(--emfe-w-color-white, #FFFFFF);
281
+ }
282
+ }