@proximus/lavender-layout 1.1.0-alpha.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 (2) hide show
  1. package/dist/index.js +604 -0
  2. package/package.json +40 -0
package/dist/index.js ADDED
@@ -0,0 +1,604 @@
1
+ import { WithFlexAttributes as s, bgColorValues as p } from "@proximus/lavender-common";
2
+ const c = ".flex-container{display:flex;height:100%;width:100%;box-sizing:border-box;flex-direction:var(--flex-direction-mobile-value);gap:var(--flex-gap-mobile-value);flex-wrap:var(--flex-wrap-mobile-value);justify-content:var(--flex-justify-content-mobile-value);align-items:var(--flex-align-items-mobile-value)}@media screen and (min-width: 768px){.flex-container{flex-direction:var(--flex-direction-tablet-value);gap:var(--flex-gap-tablet-value);flex-wrap:var(--flex-wrap-tablet-value);justify-content:var(--flex-justify-content-tablet-value);align-items:var(--flex-align-items-tablet-value)}}@media screen and (min-width: 1025px){.flex-container{flex-direction:var(--flex-direction-laptop-value);gap:var(--flex-gap-laptop-value);flex-wrap:var(--flex-wrap-laptop-value);justify-content:var(--flex-justify-content-laptop-value);align-items:var(--flex-align-items-laptop-value)}}@media screen and (min-width: 1441px){.flex-container{flex-direction:var(--flex-direction-desktop-value);gap:var(--flex-gap-desktop-value);flex-wrap:var(--flex-wrap-desktop-value);justify-content:var(--flex-justify-content-desktop-value);align-items:var(--flex-align-items-desktop-value)}}", r = new CSSStyleSheet();
3
+ r.replaceSync(c);
4
+ const g = [
5
+ // Vertical
6
+ "between-section-vertical",
7
+ "between-options-vertical",
8
+ "under-text-vertical",
9
+ "display-to-subtitle-vertical",
10
+ "under-display-vertical",
11
+ "component-default-vertical",
12
+ "component-expanded-vertical",
13
+ "between-section-vertical-mobile",
14
+ "between-options-vertical-mobile",
15
+ "under-text-vertical-mobile",
16
+ "display-to-subtitle-vertical-mobile",
17
+ "under-display-vertical-mobile",
18
+ "component-default-vertical-mobile",
19
+ "component-expanded-vertical-mobile",
20
+ // Horizontal
21
+ "between-icon-horizontal",
22
+ "text-to-icon-compact-horizontal",
23
+ "text-to-icon-horizontal",
24
+ "component-compact-horizontal",
25
+ "component-default-horizontal",
26
+ "component-expanded-horizontal",
27
+ "between-icon-horizontal-mobile",
28
+ "text-to-icon-compact-horizontal-mobile",
29
+ "text-to-icon-horizontal-mobile",
30
+ "component-compact-horizontal-mobile",
31
+ "component-default-horizontal-mobile"
32
+ ];
33
+ class o extends s {
34
+ constructor() {
35
+ super(r), this.template = `<div class="flex-container">
36
+ <slot></slot>
37
+ </div>`, this.shadowRoot.innerHTML = this.template;
38
+ }
39
+ connectedCallback() {
40
+ this.hasAttribute("direction") || (this.direction = "row");
41
+ }
42
+ static get observedAttributes() {
43
+ return [
44
+ ...super.observedAttributes,
45
+ "direction",
46
+ "direction-mobile",
47
+ "direction-tablet",
48
+ "direction-laptop",
49
+ "direction-desktop",
50
+ "gap",
51
+ "gap-mobile",
52
+ "gap-tablet",
53
+ "gap-laptop",
54
+ "gap-desktop",
55
+ "justify-content",
56
+ "justify-content-mobile",
57
+ "justify-content-tablet",
58
+ "justify-content-laptop",
59
+ "justify-content-desktop",
60
+ "align-items",
61
+ "align-items-mobile",
62
+ "align-items-tablet",
63
+ "align-items-laptop",
64
+ "align-items-desktop",
65
+ "wrap",
66
+ "wrap-mobile",
67
+ "wrap-tablet",
68
+ "wrap-laptop",
69
+ "wrap-desktop"
70
+ ];
71
+ }
72
+ attributeChangedCallback(t, i, e) {
73
+ if (t.indexOf("direction") > -1 && !["column", "row"].includes(e))
74
+ throw new Error("Invalid direction");
75
+ switch (t) {
76
+ case "gap":
77
+ this.$el.style.getPropertyValue("--flex-gap-mobile-value") || this.$el.style.setProperty(
78
+ "--flex-gap-mobile-value",
79
+ this.getGapCSSVariable(e)
80
+ ), this.$el.style.getPropertyValue("--flex-gap-tablet-value") || this.$el.style.setProperty(
81
+ "--flex-gap-tablet-value",
82
+ this.getGapCSSVariable(e)
83
+ ), this.$el.style.getPropertyValue("--flex-gap-laptop-value") || this.$el.style.setProperty(
84
+ "--flex-gap-laptop-value",
85
+ this.getGapCSSVariable(e)
86
+ ), this.$el.style.getPropertyValue("--flex-gap-desktop-value") || this.$el.style.setProperty(
87
+ "--flex-gap-desktop-value",
88
+ this.getGapCSSVariable(e)
89
+ );
90
+ break;
91
+ case "gap-mobile":
92
+ case "gap-tablet":
93
+ case "gap-laptop":
94
+ case "gap-desktop":
95
+ this.$el.style.setProperty(
96
+ `--flex-${t}-value`,
97
+ this.getGapCSSVariable(e)
98
+ );
99
+ break;
100
+ case "direction":
101
+ this.$el.style.getPropertyValue("--flex-direction-mobile-value") || this.$el.style.setProperty("--flex-direction-mobile-value", e), this.$el.style.getPropertyValue("--flex-direction-tablet-value") || this.$el.style.setProperty("--flex-direction-tablet-value", e), this.$el.style.getPropertyValue("--flex-direction-laptop-value") || this.$el.style.setProperty("--flex-direction-laptop-value", e), this.$el.style.getPropertyValue("--flex-direction-desktop-value") || this.$el.style.setProperty(
102
+ "--flex-direction-desktop-value",
103
+ e
104
+ );
105
+ break;
106
+ case "justify-content":
107
+ this.$el.style.getPropertyValue(
108
+ "--flex-justify-content-mobile-value"
109
+ ) || this.$el.style.setProperty(
110
+ "--flex-justify-content-mobile-value",
111
+ e
112
+ ), this.$el.style.getPropertyValue(
113
+ "--flex-justify-content-tablet-value"
114
+ ) || this.$el.style.setProperty(
115
+ "--flex-justify-content-tablet-value",
116
+ e
117
+ ), this.$el.style.getPropertyValue(
118
+ "--flex-justify-content-laptop-value"
119
+ ) || this.$el.style.setProperty(
120
+ "--flex-justify-content-laptop-value",
121
+ e
122
+ ), this.$el.style.getPropertyValue(
123
+ "--flex-justify-content-desktop-value"
124
+ ) || this.$el.style.setProperty(
125
+ "--flex-justify-content-desktop-value",
126
+ e
127
+ );
128
+ break;
129
+ case "align-items":
130
+ this.$el.style.getPropertyValue("--flex-align-items-mobile-value") || this.$el.style.setProperty(
131
+ "--flex-align-items-mobile-value",
132
+ e
133
+ ), this.$el.style.getPropertyValue("--flex-align-items-tablet-value") || this.$el.style.setProperty(
134
+ "--flex-align-items-tablet-value",
135
+ e
136
+ ), this.$el.style.getPropertyValue("--flex-align-items-laptop-value") || this.$el.style.setProperty(
137
+ "--flex-align-items-laptop-value",
138
+ e
139
+ ), this.$el.style.getPropertyValue("--flex-align-items-desktop-value") || this.$el.style.setProperty(
140
+ "--flex-align-items-desktop-value",
141
+ e
142
+ );
143
+ break;
144
+ case "wrap":
145
+ this.$el.style.getPropertyValue("--flex-wrap-mobile-value") || this.$el.style.setProperty("--flex-wrap-mobile-value", e), this.$el.style.getPropertyValue("--flex-wrap-tablet-value") || this.$el.style.setProperty("--flex-wrap-tablet-value", e), this.$el.style.getPropertyValue("--flex-wrap-laptop-value") || this.$el.style.setProperty("--flex-wrap-laptop-value", e), this.$el.style.getPropertyValue("--flex-wrap-desktop-value") || this.$el.style.setProperty("--flex-wrap-desktop-value", e);
146
+ break;
147
+ case "direction-mobile":
148
+ case "direction-tablet":
149
+ case "direction-laptop":
150
+ case "direction-desktop":
151
+ case "justify-content-mobile":
152
+ case "justify-content-tablet":
153
+ case "justify-content-laptop":
154
+ case "justify-content-desktop":
155
+ case "align-items-mobile":
156
+ case "align-items-tablet":
157
+ case "align-items-laptop":
158
+ case "align-items-desktop":
159
+ case "wrap-mobile":
160
+ case "wrap-tablet":
161
+ case "wrap-laptop":
162
+ case "wrap-desktop":
163
+ this.$el.style.setProperty(`--flex-${t}-value`, e);
164
+ break;
165
+ default:
166
+ super.attributeChangedCallback(t, i, e);
167
+ break;
168
+ }
169
+ }
170
+ getGapCSSVariable(t) {
171
+ return g.includes(t) ? `var(--px-spacing-${t})` : t;
172
+ }
173
+ get direction() {
174
+ return this.getAttribute("direction");
175
+ }
176
+ set direction(t) {
177
+ this.setAttribute("direction", t);
178
+ }
179
+ get directionMobile() {
180
+ return this.getAttribute("direction-mobile");
181
+ }
182
+ set directionMobile(t) {
183
+ this.setAttribute("direction-mobile", t);
184
+ }
185
+ get directionTablet() {
186
+ return this.getAttribute("direction-tablet");
187
+ }
188
+ set directionTablet(t) {
189
+ this.setAttribute("direction-tablet", t);
190
+ }
191
+ get directionLaptop() {
192
+ return this.getAttribute("direction-laptop");
193
+ }
194
+ set directionLaptop(t) {
195
+ this.setAttribute("direction-laptop", t);
196
+ }
197
+ get directionDesktop() {
198
+ return this.getAttribute("direction-desktop");
199
+ }
200
+ set directionDesktop(t) {
201
+ this.setAttribute("direction-desktop", t);
202
+ }
203
+ get gap() {
204
+ return this.getAttribute("gap");
205
+ }
206
+ set gap(t) {
207
+ this.setAttribute("gap", t);
208
+ }
209
+ get gapMobile() {
210
+ return this.getAttribute("gap-mobile");
211
+ }
212
+ set gapMobile(t) {
213
+ this.setAttribute("gap-mobile", t);
214
+ }
215
+ get gapTablet() {
216
+ return this.getAttribute("gap-tablet");
217
+ }
218
+ set gapTablet(t) {
219
+ this.setAttribute("gap-tablet", t);
220
+ }
221
+ get gapLaptop() {
222
+ return this.getAttribute("gap-laptop");
223
+ }
224
+ set gapLaptop(t) {
225
+ this.setAttribute("gap-laptop", t);
226
+ }
227
+ get justifyContent() {
228
+ return this.getAttribute("justify-content");
229
+ }
230
+ set justifyContent(t) {
231
+ this.setAttribute("justify-content", t);
232
+ }
233
+ get justifyContentMobile() {
234
+ return this.getAttribute("justify-content-mobile");
235
+ }
236
+ set justifyContentMobile(t) {
237
+ this.setAttribute("justify-content-mobile", t);
238
+ }
239
+ get justifyContentTablet() {
240
+ return this.getAttribute("justify-content-tablet");
241
+ }
242
+ set justifyContentTablet(t) {
243
+ this.setAttribute("justify-content-tablet", t);
244
+ }
245
+ get justifyContentLaptop() {
246
+ return this.getAttribute("justify-content-laptop");
247
+ }
248
+ set justifyContentLaptop(t) {
249
+ this.setAttribute("justify-content-laptop", t);
250
+ }
251
+ get justifyContentDesktop() {
252
+ return this.getAttribute("justify-content-desktop");
253
+ }
254
+ set justifyContentDesktop(t) {
255
+ this.setAttribute("justify-content-desktop", t);
256
+ }
257
+ get alignItems() {
258
+ return this.getAttribute("align-items");
259
+ }
260
+ set alignItems(t) {
261
+ this.setAttribute("align-items", t);
262
+ }
263
+ get alignItemsMobile() {
264
+ return this.getAttribute("align-items-mobile");
265
+ }
266
+ set alignItemsMobile(t) {
267
+ this.setAttribute("align-items-mobile", t);
268
+ }
269
+ get alignItemsTablet() {
270
+ return this.getAttribute("align-items-tablet");
271
+ }
272
+ set alignItemsTablet(t) {
273
+ this.setAttribute("align-items-tablet", t);
274
+ }
275
+ get alignItemsLaptop() {
276
+ return this.getAttribute("align-items-laptop");
277
+ }
278
+ set alignItemsLaptop(t) {
279
+ this.setAttribute("align-items-laptop", t);
280
+ }
281
+ get alignItemsDesktop() {
282
+ return this.getAttribute("align-items-desktop");
283
+ }
284
+ set alignItemsDesktop(t) {
285
+ this.setAttribute("align-items-desktop", t);
286
+ }
287
+ get wrap() {
288
+ return this.getAttribute("wrap");
289
+ }
290
+ set wrap(t) {
291
+ this.setAttribute("wrap", t);
292
+ }
293
+ get wrapMobile() {
294
+ return this.getAttribute("wrap-mobile");
295
+ }
296
+ set wrapMobile(t) {
297
+ this.setAttribute("wrap-mobile", t);
298
+ }
299
+ get wrapTablet() {
300
+ return this.getAttribute("wrap-tablet");
301
+ }
302
+ set wrapTablet(t) {
303
+ this.setAttribute("wrap-tablet", t);
304
+ }
305
+ get wrapLaptop() {
306
+ return this.getAttribute("wrap-laptop");
307
+ }
308
+ set wrapLaptop(t) {
309
+ this.setAttribute("wrap-laptop", t);
310
+ }
311
+ get wrapDesktop() {
312
+ return this.getAttribute("wrap-desktop");
313
+ }
314
+ set wrapDesktop(t) {
315
+ this.setAttribute("wrap-desktop", t);
316
+ }
317
+ get $el() {
318
+ return this.shadowRoot.querySelector(".flex-container");
319
+ }
320
+ }
321
+ customElements.get("px-stack") || customElements.define("px-stack", o);
322
+ class d extends o {
323
+ constructor() {
324
+ super();
325
+ }
326
+ connectedCallback() {
327
+ super.connectedCallback(), this.direction = "column", this.directionMobile = "column", this.directionTablet = "column", this.directionLaptop = "column", this.directionDesktop = "column";
328
+ }
329
+ }
330
+ customElements.get("px-vstack") || customElements.define("px-vstack", d);
331
+ class b extends o {
332
+ constructor() {
333
+ super();
334
+ }
335
+ connectedCallback() {
336
+ super.connectedCallback(), this.direction = "row", this.directionMobile = "row", this.directionTablet = "row", this.directionLaptop = "row", this.directionDesktop = "row";
337
+ }
338
+ }
339
+ customElements.get("px-hstack") || customElements.define("px-hstack", b);
340
+ class u extends HTMLElement {
341
+ constructor() {
342
+ super();
343
+ }
344
+ static get observedAttributes() {
345
+ return ["grow"];
346
+ }
347
+ attributeChangedCallback(t, i, e) {
348
+ t === "grow" && (this.style.flexGrow = e);
349
+ }
350
+ connectedCallback() {
351
+ this.style.flexGrow = this.getAttribute("grow") || "1";
352
+ }
353
+ get grow() {
354
+ return this.getAttribute("grow");
355
+ }
356
+ set grow(t) {
357
+ this.setAttribute("grow", t);
358
+ }
359
+ }
360
+ customElements.define("px-spacer", u);
361
+ const h = "slot[name=heading]{display:block;margin-top:1rem;margin-bottom:1rem}", n = new CSSStyleSheet();
362
+ n.replaceSync(h);
363
+ class m extends s {
364
+ constructor() {
365
+ super(n), this.template = `
366
+ <section>
367
+ <slot name="heading"></slot>
368
+ <px-stack direction="column" gap="1rem">
369
+ <slot></slot>
370
+ </px-stack>
371
+ </section>`, this.shadowRoot.innerHTML = this.template;
372
+ }
373
+ static get observedAttributes() {
374
+ return [...super.observedAttributes, "gap"];
375
+ }
376
+ attributeChangedCallback(t, i, e) {
377
+ if (t === "gap" && i !== e) {
378
+ this.$el.gap = e;
379
+ return;
380
+ }
381
+ super.attributeChangedCallback(t, i, e);
382
+ }
383
+ get gap() {
384
+ return this.getAttribute("gap");
385
+ }
386
+ set gap(t) {
387
+ this.setAttribute("gap", t);
388
+ }
389
+ get $el() {
390
+ return this.shadowRoot.querySelector('px-stack[direction="column"]');
391
+ }
392
+ }
393
+ customElements.define("px-section-damien", m);
394
+ const x = ":host{display:block;box-sizing:border-box}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", l = new CSSStyleSheet();
395
+ l.replaceSync(x);
396
+ class f extends s {
397
+ constructor() {
398
+ super(l), this.template = (t) => `
399
+ <px-container borderradius="none" padding="none">
400
+ <px-vstack>
401
+ <px-container id="header-container" borderradius="none">
402
+ <px-hstack>
403
+ <px-spacer></px-spacer>
404
+ <px-vstack
405
+ id="header-vstack-container"
406
+ gap="1rem"
407
+ grow="${this.grow}"
408
+ basis="${this.basis}"
409
+ >
410
+ <slot name="header-container"></slot>
411
+ </px-vstack>
412
+ <px-spacer></px-spacer>
413
+ </px-hstack>
414
+ </px-container>
415
+ <px-container
416
+ id="image-container"
417
+ borderradius="none"
418
+ padding="none"
419
+ paddingtop="xl"
420
+ id="image-box"
421
+ bgimgsize="cover"
422
+ bgimgposition="top center"
423
+ paddingbottom="xl"
424
+ borderradius="none"
425
+ bgimg="${this.backgroundImage}"
426
+ >
427
+ <px-hstack>
428
+ <px-spacer></px-spacer>
429
+ <px-vstack grow="${this.grow}" basis="${this.basis}">
430
+ <slot name="image-container"></slot>
431
+ </px-vstack>
432
+ <px-spacer></px-spacer>
433
+ </px-hstack>
434
+ </px-container>
435
+ ${t ? ` <px-hstack>
436
+ <px-spacer></px-spacer>
437
+ <px-container borderradius="none" shadow="xl" id="image-sticky-box" border="s" grow="${this.grow}" basis="${this.basis}" borderradius="m">
438
+ <px-vstack gap="1rem">
439
+ <slot name="image-sticky-container"></slot>
440
+ </px-vstack>
441
+ </px-container>
442
+ <px-spacer></px-spacer>
443
+ </px-hstack>` : ""}
444
+ <px-container
445
+ id="body-container"
446
+ id="main"
447
+ bgcolor="${this.backgroundColor}"
448
+ padding="none"
449
+ paddingtop="xl"
450
+ paddingbottom="xl"
451
+ >
452
+ <px-hstack>
453
+ <px-spacer></px-spacer>
454
+ <px-vstack
455
+ id="body-vstack-container"
456
+ gap="3rem"
457
+ grow="${this.grow}"
458
+ basis="${this.basis}"
459
+ >
460
+ <slot name="body-container"></slot>
461
+ </px-vstack>
462
+ <px-spacer></px-spacer>
463
+ </px-hstack>
464
+ </px-container>
465
+ <px-container
466
+ id="contact-container"
467
+ borderradius="none"
468
+ id="main"
469
+ bgcolor="weak"
470
+ padding="none"
471
+ paddingtop="xl"
472
+ paddingbottom="xl"
473
+ >
474
+ <px-hstack>
475
+ <px-spacer></px-spacer>
476
+ <px-vstack gap="3rem" grow="${this.grow}" basis="${this.basis}">
477
+ <slot name="contact-container"></slot>
478
+ </px-vstack>
479
+ <px-spacer></px-spacer>
480
+ </px-hstack>
481
+ </px-container>
482
+ <px-container
483
+ id="footer-container"
484
+ bgcolor="none"
485
+ borderradius="none"
486
+ style="background-color: rgb(108, 66, 156)"
487
+ paddingtop="xl"
488
+ paddingbottom="xl"
489
+ >
490
+ <px-hstack>
491
+ <px-spacer></px-spacer>
492
+ <px-vstack gap="3rem" grow="${this.grow}" basis="${this.basis}">
493
+ <slot name="footer-container"></slot>
494
+ </px-vstack>
495
+ <px-spacer></px-spacer>
496
+ </px-hstack>
497
+ </px-container>
498
+ </px-vstack>
499
+ </px-container>
500
+ `, this.shadowRoot.innerHTML = this.template(!!this.$imageStickySlot);
501
+ }
502
+ static get observedAttributes() {
503
+ return [
504
+ ...super.observedAttributes,
505
+ "background-image",
506
+ "gap",
507
+ "background-color",
508
+ "padding-vertical",
509
+ "padding-horizontal"
510
+ ];
511
+ }
512
+ get $wideImage() {
513
+ return this.shadowRoot.querySelector("#image-box");
514
+ }
515
+ get $bodyVStackContainer() {
516
+ return this.shadowRoot.querySelector("#header-vstack-container");
517
+ }
518
+ get $bodyContainer() {
519
+ return this.shadowRoot.querySelector("#body-container");
520
+ }
521
+ get $contactContainer() {
522
+ return this.shadowRoot.querySelector("#contact-container");
523
+ }
524
+ get $footerContainer() {
525
+ return this.shadowRoot.querySelector("#footer-container");
526
+ }
527
+ get $headerContainer() {
528
+ return this.shadowRoot.querySelector("#header-container");
529
+ }
530
+ get $imageContainer() {
531
+ return this.shadowRoot.querySelector("#image-container");
532
+ }
533
+ get backgroundImage() {
534
+ return this.getAttribute("background-image");
535
+ }
536
+ get $imageStickySlot() {
537
+ return this.querySelector('*[slot="image-sticky-container"]');
538
+ }
539
+ get $main() {
540
+ return this.shadowRoot.querySelector("#main");
541
+ }
542
+ get backgroundColor() {
543
+ return this.getAttribute("background-color") || "none";
544
+ }
545
+ get paddingVertical() {
546
+ return this.getAttribute("padding-vertical");
547
+ }
548
+ get paddingHorizontal() {
549
+ return this.getAttribute("padding-horizontal");
550
+ }
551
+ set paddingVertical(t) {
552
+ this.setAttribute("padding-vertical", t);
553
+ }
554
+ set paddingHorizontal(t) {
555
+ this.setAttribute("padding-horizontal", t);
556
+ }
557
+ get gap() {
558
+ return this.getAttribute("gap");
559
+ }
560
+ connectedCallback() {
561
+ this.handlePaddingVerticalChange(this.paddingVertical), this.handlePaddingHorizontalChange(this.paddingHorizontal);
562
+ }
563
+ attributeChangedCallback(t, i, e) {
564
+ if (i !== e)
565
+ switch (t) {
566
+ case "background-image":
567
+ this.$imageContainer.setAttribute("bgimg-mobile", e);
568
+ break;
569
+ case "gap":
570
+ this.$bodyVStackContainer.setAttribute("gap", e);
571
+ break;
572
+ case "background-color":
573
+ this.$bodyContainer.setAttribute(
574
+ "bgcolor",
575
+ p.indexOf(e) > 0 ? e : "none"
576
+ );
577
+ break;
578
+ case "padding-vertical":
579
+ this.handlePaddingVerticalChange(e);
580
+ break;
581
+ case "padding-horizontal":
582
+ this.handlePaddingHorizontalChange(e);
583
+ break;
584
+ default:
585
+ super.attributeChangedCallback(t, i, e);
586
+ }
587
+ }
588
+ handlePaddingVerticalChange(t) {
589
+ this.$headerContainer.setAttribute("paddingtop", t), this.$footerContainer.setAttribute("paddingbottom", t);
590
+ }
591
+ handlePaddingHorizontalChange(t) {
592
+ this.$headerContainer.paddingLeft = t, this.$headerContainer.paddingRight = t, this.$bodyContainer.paddingLeft = t, this.$bodyContainer.paddingRight = t, this.$contactContainer.paddingLeft = t, this.$contactContainer.paddingRight = t, this.$footerContainer.paddingLeft = t, this.$footerContainer.paddingRight = t, this.$imageContainer.paddingLeft = t, this.$imageContainer.paddingRight = t;
593
+ }
594
+ }
595
+ customElements.get("px-page") === void 0 && customElements.define("px-page", f);
596
+ export {
597
+ b as HStack,
598
+ f as Page,
599
+ m as Section,
600
+ u as Spacer,
601
+ o as Stack,
602
+ d as VStack,
603
+ g as gapValues
604
+ };
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@proximus/lavender-layout",
3
+ "version": "1.1.0-alpha.0",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./src/index.ts",
9
+ "development": "./src/index.ts",
10
+ "default": "./dist/index.js"
11
+ },
12
+ "./src/*.css": {
13
+ "development": "src/*.css"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist/*"
18
+ ],
19
+ "type": "module",
20
+ "scripts": {
21
+ "build": "rm -rf dist;tsc; vite build",
22
+ "test": "vitest run --coverage"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "gitHead": "15a231df98020f83813279639a9a7712a5a5e759",
28
+ "lerna": {
29
+ "command": {
30
+ "publish": {
31
+ "assets": [
32
+ "CHANGELOG.md",
33
+ "package.json",
34
+ "dist/*.js",
35
+ "dist/css/**/*.css"
36
+ ]
37
+ }
38
+ }
39
+ }
40
+ }