@proximus/lavender-container 2.0.0-alpha.17 → 2.0.0-alpha.170
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/Container.d.ts +131 -114
- package/dist/index.es.js +620 -645
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,646 +1,621 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
u.replaceSync(C);
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}
|
|
619
|
-
set backgroundPosition(t) {
|
|
620
|
-
this.setAttribute("background-position", t);
|
|
621
|
-
}
|
|
622
|
-
get boxShadow() {
|
|
623
|
-
return this.getAttribute("box-shadow");
|
|
624
|
-
}
|
|
625
|
-
set boxShadow(t) {
|
|
626
|
-
this.setAttribute("box-shadow", t);
|
|
627
|
-
}
|
|
628
|
-
get anchorOffset() {
|
|
629
|
-
return this.getAttribute("anchor-offset");
|
|
630
|
-
}
|
|
631
|
-
set anchorOffset(t) {
|
|
632
|
-
this.setAttribute("anchor-offset", t);
|
|
633
|
-
}
|
|
634
|
-
get inverted() {
|
|
635
|
-
return this.getAttribute("inverted");
|
|
636
|
-
}
|
|
637
|
-
set inverted(t) {
|
|
638
|
-
this.setAttribute("inverted", t);
|
|
639
|
-
}
|
|
640
|
-
};
|
|
641
|
-
p.nativeName = "div";
|
|
642
|
-
let g = p;
|
|
643
|
-
customElements.get("px-container") || customElements.define("px-container", g);
|
|
644
|
-
export {
|
|
645
|
-
g as Container
|
|
1
|
+
import { WithExtraAttributes as e, backgroundColorValues as t, backgroundSizeValues as n, booleanPropertyToAttributeSetter as r, borderColorValues as i, borderRadiusValues as a, borderSideValues as o, borderValues as s, boxShadowValues as c, checkName as l, cssTokenBreakpoints as u, gapValues as d, gradientValues as f, log as p, noBorderRadiusValues as m, paddingValues as h, propertyToAttributeSetter as g } from "@proximus/lavender-common";
|
|
2
|
+
//#region src/container.css?inline
|
|
3
|
+
var _ = ":host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-left-style:none;border-right-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-position:50%;background-size:cover}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]),::slotted([slot=anchor-full]){position:absolute;top:0}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]){z-index:3;transform:translateY(-50%)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--mobile,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--mobile,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-full]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (width<=47.938rem){.container{background-color:var(--background-color--mobile,var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile,var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var(--background-gradient--mobile,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--mobile,var(--background-color-inverted))}.border-side-top--mobile{border-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (width>=48rem) and (width<=64rem){.container{background-color:var(--background-color--tablet,var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet,var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var(--background-gradient--tablet,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--tablet,var(--background-color-inverted))}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--tablet,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--tablet,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (width>=64.0625rem){.container{background-color:var(--background-color--laptop,var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop,var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var(--background-gradient--laptop,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--laptop,var(--background-color-inverted))}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--laptop,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--laptop,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (width>=90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}", v = new CSSStyleSheet();
|
|
4
|
+
v.replaceSync(_);
|
|
5
|
+
var y = [
|
|
6
|
+
"top-patch",
|
|
7
|
+
"top-neighbor-patch",
|
|
8
|
+
"top-ribbon",
|
|
9
|
+
"top-neighbor-ribbon",
|
|
10
|
+
"top-patch-and-neighbor-ribbon"
|
|
11
|
+
], b = [
|
|
12
|
+
"1",
|
|
13
|
+
"2",
|
|
14
|
+
"3",
|
|
15
|
+
"4",
|
|
16
|
+
"5",
|
|
17
|
+
"6",
|
|
18
|
+
"7",
|
|
19
|
+
"8",
|
|
20
|
+
"9",
|
|
21
|
+
"10",
|
|
22
|
+
"11",
|
|
23
|
+
"12"
|
|
24
|
+
], x = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, S = "px-padding", C = [
|
|
25
|
+
u("padding", x, h, S, "--container-padding"),
|
|
26
|
+
u("padding-inline", x, h, S),
|
|
27
|
+
u("padding-block", x, h, S),
|
|
28
|
+
u("padding-top", x, h, S),
|
|
29
|
+
u("padding-right", x, h, S, "--container-padding-right"),
|
|
30
|
+
u("padding-bottom", x, h, S),
|
|
31
|
+
u("padding-left", x, h, S, "--container-padding-left"),
|
|
32
|
+
u("gap", x, d, "px-spacing", void 0, "subgrid-gap")
|
|
33
|
+
], w = class extends e {
|
|
34
|
+
static {
|
|
35
|
+
this.nativeName = "div";
|
|
36
|
+
}
|
|
37
|
+
constructor() {
|
|
38
|
+
super(v, ...C), this.template = () => "<div class=\"container\">\n <slot></slot>\n <slot name=\"anchor-left\"></slot>\n <slot name=\"anchor-right\"></slot>\n <slot name=\"anchor-full\"></slot>\n </div>", this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, this.shadowRoot.innerHTML = this.template();
|
|
39
|
+
}
|
|
40
|
+
static get observedAttributes() {
|
|
41
|
+
return [
|
|
42
|
+
...super.observedAttributes,
|
|
43
|
+
"border",
|
|
44
|
+
"border-color",
|
|
45
|
+
"border-side",
|
|
46
|
+
"border-side--mobile",
|
|
47
|
+
"border-side--tablet",
|
|
48
|
+
"border-side--laptop",
|
|
49
|
+
"border-radius",
|
|
50
|
+
"no-border-radius",
|
|
51
|
+
"no-border-radius--mobile",
|
|
52
|
+
"no-border-radius--tablet",
|
|
53
|
+
"no-border-radius--laptop",
|
|
54
|
+
"background-color",
|
|
55
|
+
"background-color--mobile",
|
|
56
|
+
"background-color--tablet",
|
|
57
|
+
"background-color--laptop",
|
|
58
|
+
"background-gradient",
|
|
59
|
+
"background-gradient--mobile",
|
|
60
|
+
"background-gradient--tablet",
|
|
61
|
+
"background-gradient--laptop",
|
|
62
|
+
"background-image",
|
|
63
|
+
"background-image--mobile",
|
|
64
|
+
"background-image--tablet",
|
|
65
|
+
"background-image--laptop",
|
|
66
|
+
"background-size",
|
|
67
|
+
"background-position",
|
|
68
|
+
"box-shadow",
|
|
69
|
+
"anchor-offset",
|
|
70
|
+
"anchor-spacing",
|
|
71
|
+
"inverted",
|
|
72
|
+
"subgrid-rows"
|
|
73
|
+
];
|
|
74
|
+
}
|
|
75
|
+
connectedCallback() {
|
|
76
|
+
this.padding ||= "m", this.backgroundColor ||= "surface-light", this.borderColor ||= "main", this.$slotAnchor && this.addAnchorClass(), this.contentObserver = new MutationObserver(() => {
|
|
77
|
+
this.$slotAnchor && this.addAnchorClass();
|
|
78
|
+
}), this.contentObserver.observe(this, {
|
|
79
|
+
childList: !0,
|
|
80
|
+
subtree: !0,
|
|
81
|
+
characterData: !0
|
|
82
|
+
}), this._bgObserver = new IntersectionObserver((e) => {
|
|
83
|
+
e.forEach((e) => {
|
|
84
|
+
e.isIntersecting && (this._isInViewport = !0, this._loadBackgroundImages(), this._bgObserver?.disconnect());
|
|
85
|
+
});
|
|
86
|
+
}), this._bgObserver.observe(this.$el);
|
|
87
|
+
}
|
|
88
|
+
disconnectedCallback() {
|
|
89
|
+
this._bgObserver?.disconnect(), this.contentObserver?.disconnect();
|
|
90
|
+
}
|
|
91
|
+
attributeChangedCallback(e, t, r) {
|
|
92
|
+
if (t !== r) switch (e) {
|
|
93
|
+
case "border":
|
|
94
|
+
this.updateAttribute(e, t, r, s);
|
|
95
|
+
break;
|
|
96
|
+
case "border-color":
|
|
97
|
+
this.updateBorderColor(e, r);
|
|
98
|
+
break;
|
|
99
|
+
case "border-side":
|
|
100
|
+
case "border-side--mobile":
|
|
101
|
+
case "border-side--tablet":
|
|
102
|
+
case "border-side--laptop":
|
|
103
|
+
this.updateAttribute(e, t, r, o);
|
|
104
|
+
break;
|
|
105
|
+
case "border-radius":
|
|
106
|
+
this.updateAttribute(e, t, r, a);
|
|
107
|
+
break;
|
|
108
|
+
case "no-border-radius":
|
|
109
|
+
case "no-border-radius--mobile":
|
|
110
|
+
case "no-border-radius--tablet":
|
|
111
|
+
case "no-border-radius--laptop":
|
|
112
|
+
this.updateNoBorderRadius(e, t, r, m);
|
|
113
|
+
break;
|
|
114
|
+
case "background-color":
|
|
115
|
+
case "background-color--mobile":
|
|
116
|
+
case "background-color--tablet":
|
|
117
|
+
case "background-color--laptop":
|
|
118
|
+
this.updateBackgroundColor(e, r);
|
|
119
|
+
break;
|
|
120
|
+
case "background-gradient":
|
|
121
|
+
case "background-gradient--mobile":
|
|
122
|
+
case "background-gradient--tablet":
|
|
123
|
+
case "background-gradient--laptop":
|
|
124
|
+
this.updateGradient(e, r);
|
|
125
|
+
break;
|
|
126
|
+
case "background-size":
|
|
127
|
+
this.updateAttribute(e, t, r, n);
|
|
128
|
+
break;
|
|
129
|
+
case "background-image":
|
|
130
|
+
case "background-image--mobile":
|
|
131
|
+
case "background-image--tablet":
|
|
132
|
+
case "background-image--laptop":
|
|
133
|
+
this._isInViewport && this.updateBackgroundImg(e, r);
|
|
134
|
+
break;
|
|
135
|
+
case "background-position":
|
|
136
|
+
r !== null && r !== "" && (this.$el.style.backgroundPosition = r);
|
|
137
|
+
break;
|
|
138
|
+
case "box-shadow":
|
|
139
|
+
this.updateAttribute(e, t, r, c);
|
|
140
|
+
break;
|
|
141
|
+
case "anchor-offset":
|
|
142
|
+
this.updateAnchorOffset(t, r, h);
|
|
143
|
+
break;
|
|
144
|
+
case "anchor-spacing":
|
|
145
|
+
this.updateAnchorSpacing(t, r, y);
|
|
146
|
+
break;
|
|
147
|
+
case "subgrid-rows":
|
|
148
|
+
this.updateSubgridRows(e, t, r, b);
|
|
149
|
+
break;
|
|
150
|
+
default: super.attributeChangedCallback(e, t, r);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
_loadBackgroundImages() {
|
|
154
|
+
[
|
|
155
|
+
"background-image",
|
|
156
|
+
"background-image--mobile",
|
|
157
|
+
"background-image--tablet",
|
|
158
|
+
"background-image--laptop"
|
|
159
|
+
].forEach((e) => {
|
|
160
|
+
let t = this.getAttribute(e);
|
|
161
|
+
t && this.updateBackgroundImg(e, t);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
updateBackgroundImg(e, t) {
|
|
165
|
+
this.$el.style.setProperty(`--${e}`, `url("${t}")`);
|
|
166
|
+
}
|
|
167
|
+
updateGradient(e, t) {
|
|
168
|
+
if (this.checkName(f, t)) {
|
|
169
|
+
let n = this.splitAttrNameFromBreakpoint(e);
|
|
170
|
+
e = n.attrName;
|
|
171
|
+
let r = n.breakpoint;
|
|
172
|
+
this.$el.style.setProperty(`--${e}${r}`, `linear-gradient(var(--px-color-background-gradient-${t}))`);
|
|
173
|
+
} else p(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${f.join("\", \"")}".`);
|
|
174
|
+
}
|
|
175
|
+
updateBackgroundColor(e, n) {
|
|
176
|
+
let r = n.startsWith("surface-");
|
|
177
|
+
if (this.checkName(t, n)) {
|
|
178
|
+
let t = this.splitAttrNameFromBreakpoint(e), i = t.breakpoint;
|
|
179
|
+
this.$el.style.setProperty(`--${t.attrName}${i}`, `var(--px-color-background-${n}${r ? "" : "-default"})`), this.$el.style.setProperty(`--${t.attrName}-inverted${i}`, `var(--px-color-background-${n}${r ? "" : "-inverted"})`);
|
|
180
|
+
} else p(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${t.join("\", \"")}".`);
|
|
181
|
+
}
|
|
182
|
+
updateBorderColor(e, t) {
|
|
183
|
+
this.checkName(i, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) : p(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
184
|
+
}
|
|
185
|
+
updateNoBorderRadius(e, t, n, r) {
|
|
186
|
+
if (!this.checkName(r, n)) p(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
187
|
+
else {
|
|
188
|
+
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
189
|
+
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
updateAttribute(e, t, n, r) {
|
|
193
|
+
if (!this.checkName(r, n)) p(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
194
|
+
else {
|
|
195
|
+
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
196
|
+
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
splitAttrNameFromBreakpoint(e) {
|
|
200
|
+
let t = "";
|
|
201
|
+
if ([
|
|
202
|
+
"--mobile",
|
|
203
|
+
"--tablet",
|
|
204
|
+
"--laptop"
|
|
205
|
+
].some((t) => e.includes(t))) {
|
|
206
|
+
let n = e.split("--");
|
|
207
|
+
e = n[0], t = `--${n[1]}`;
|
|
208
|
+
}
|
|
209
|
+
return {
|
|
210
|
+
attrName: e,
|
|
211
|
+
breakpoint: t
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
updateAnchorOffset(e, t, n) {
|
|
215
|
+
if (!l(n, t)) {
|
|
216
|
+
p(`"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
let r = (e) => {
|
|
220
|
+
e !== null && e !== "" && e !== "default" && (this.$el.style.setProperty("--container-anchor-offset--mobile", `var(--px-padding-${e}-mobile)`), this.$el.style.setProperty("--container-anchor-offset--tablet", `var(--px-padding-${e}-tablet)`), this.$el.style.setProperty("--container-anchor-offset--laptop", `var(--px-padding-${e}-laptop)`));
|
|
221
|
+
};
|
|
222
|
+
r(e), r(t);
|
|
223
|
+
}
|
|
224
|
+
addAnchorClass() {
|
|
225
|
+
this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
|
|
226
|
+
}
|
|
227
|
+
updateAnchorSpacing(e, t, n) {
|
|
228
|
+
if (!l(n, t)) {
|
|
229
|
+
p(`"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
let r = (e) => {
|
|
233
|
+
e !== null && e !== "" && e !== "default" && (this.style.setProperty("--container-anchor-spacing--mobile", `var(--px-spacing-${e}-mobile)`), this.style.setProperty("--container-anchor-spacing--tablet", `var(--px-spacing-${e}-tablet)`), this.style.setProperty("--container-anchor-spacing--laptop", `var(--px-spacing-${e}-laptop)`), this.style.setProperty("--container-anchor-spacing--desktop", `var(--px-spacing-${e}-desktop)`));
|
|
234
|
+
};
|
|
235
|
+
r(e), r(t);
|
|
236
|
+
}
|
|
237
|
+
updateSubgridRows(e, t, n, r) {
|
|
238
|
+
l(r, n) ? this.style.setProperty(`--${e}`, n) : p(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
239
|
+
}
|
|
240
|
+
get $el() {
|
|
241
|
+
return this?.shadowRoot?.querySelector(".container");
|
|
242
|
+
}
|
|
243
|
+
get $slotAnchor() {
|
|
244
|
+
return this.querySelector("[slot^=\"anchor\"]");
|
|
245
|
+
}
|
|
246
|
+
get padding() {
|
|
247
|
+
return this.getAttribute("padding");
|
|
248
|
+
}
|
|
249
|
+
set padding(e) {
|
|
250
|
+
g(this, "padding", e);
|
|
251
|
+
}
|
|
252
|
+
get paddingBlock() {
|
|
253
|
+
return this.getAttribute("padding-block");
|
|
254
|
+
}
|
|
255
|
+
set paddingBlock(e) {
|
|
256
|
+
g(this, "padding-block", e);
|
|
257
|
+
}
|
|
258
|
+
get paddingInline() {
|
|
259
|
+
return this.getAttribute("padding-inline");
|
|
260
|
+
}
|
|
261
|
+
set paddingInline(e) {
|
|
262
|
+
g(this, "padding-inline", e);
|
|
263
|
+
}
|
|
264
|
+
get paddingTop() {
|
|
265
|
+
return this.getAttribute("padding-top");
|
|
266
|
+
}
|
|
267
|
+
set paddingTop(e) {
|
|
268
|
+
g(this, "padding-top", e);
|
|
269
|
+
}
|
|
270
|
+
get paddingRight() {
|
|
271
|
+
return this.getAttribute("padding-right");
|
|
272
|
+
}
|
|
273
|
+
set paddingRight(e) {
|
|
274
|
+
g(this, "padding-right", e);
|
|
275
|
+
}
|
|
276
|
+
get paddingBottom() {
|
|
277
|
+
return this.getAttribute("padding-bottom");
|
|
278
|
+
}
|
|
279
|
+
set paddingBottom(e) {
|
|
280
|
+
g(this, "padding-bottom", e);
|
|
281
|
+
}
|
|
282
|
+
get paddingLeft() {
|
|
283
|
+
return this.getAttribute("padding-left");
|
|
284
|
+
}
|
|
285
|
+
set paddingLeft(e) {
|
|
286
|
+
g(this, "padding-left", e);
|
|
287
|
+
}
|
|
288
|
+
get paddingMobile() {
|
|
289
|
+
return this.getAttribute("padding--mobile");
|
|
290
|
+
}
|
|
291
|
+
set paddingMobile(e) {
|
|
292
|
+
g(this, "padding--mobile", e);
|
|
293
|
+
}
|
|
294
|
+
get paddingBlockMobile() {
|
|
295
|
+
return this.getAttribute("padding-block--mobile");
|
|
296
|
+
}
|
|
297
|
+
set paddingBlockMobile(e) {
|
|
298
|
+
g(this, "padding-block--mobile", e);
|
|
299
|
+
}
|
|
300
|
+
get paddingInlineMobile() {
|
|
301
|
+
return this.getAttribute("padding-inline--mobile");
|
|
302
|
+
}
|
|
303
|
+
set paddingInlineMobile(e) {
|
|
304
|
+
g(this, "padding-inline--mobile", e);
|
|
305
|
+
}
|
|
306
|
+
get paddingTopMobile() {
|
|
307
|
+
return this.getAttribute("padding-top--mobile");
|
|
308
|
+
}
|
|
309
|
+
set paddingTopMobile(e) {
|
|
310
|
+
g(this, "padding-top--mobile", e);
|
|
311
|
+
}
|
|
312
|
+
get paddingRightMobile() {
|
|
313
|
+
return this.getAttribute("padding-right--mobile");
|
|
314
|
+
}
|
|
315
|
+
set paddingRightMobile(e) {
|
|
316
|
+
g(this, "padding-right--mobile", e);
|
|
317
|
+
}
|
|
318
|
+
get paddingBottomMobile() {
|
|
319
|
+
return this.getAttribute("padding-bottom--mobile");
|
|
320
|
+
}
|
|
321
|
+
set paddingBottomMobile(e) {
|
|
322
|
+
g(this, "padding-bottom--mobile", e);
|
|
323
|
+
}
|
|
324
|
+
get paddingLeftMobile() {
|
|
325
|
+
return this.getAttribute("padding-left--mobile");
|
|
326
|
+
}
|
|
327
|
+
set paddingLeftMobile(e) {
|
|
328
|
+
g(this, "padding-left--mobile", e);
|
|
329
|
+
}
|
|
330
|
+
get paddingTablet() {
|
|
331
|
+
return this.getAttribute("padding--tablet");
|
|
332
|
+
}
|
|
333
|
+
set paddingTablet(e) {
|
|
334
|
+
g(this, "padding--tablet", e);
|
|
335
|
+
}
|
|
336
|
+
get paddingBlockTablet() {
|
|
337
|
+
return this.getAttribute("padding-block--tablet");
|
|
338
|
+
}
|
|
339
|
+
set paddingBlockTablet(e) {
|
|
340
|
+
g(this, "padding-block--tablet", e);
|
|
341
|
+
}
|
|
342
|
+
get paddingInlineTablet() {
|
|
343
|
+
return this.getAttribute("padding-inline--tablet");
|
|
344
|
+
}
|
|
345
|
+
set paddingInlineTablet(e) {
|
|
346
|
+
g(this, "padding-inline--tablet", e);
|
|
347
|
+
}
|
|
348
|
+
get paddingTopTablet() {
|
|
349
|
+
return this.getAttribute("padding-top--tablet");
|
|
350
|
+
}
|
|
351
|
+
set paddingTopTablet(e) {
|
|
352
|
+
g(this, "padding-top--tablet", e);
|
|
353
|
+
}
|
|
354
|
+
get paddingRightTablet() {
|
|
355
|
+
return this.getAttribute("padding-right--tablet");
|
|
356
|
+
}
|
|
357
|
+
set paddingRightTablet(e) {
|
|
358
|
+
g(this, "padding-right--tablet", e);
|
|
359
|
+
}
|
|
360
|
+
get paddingBottomTablet() {
|
|
361
|
+
return this.getAttribute("padding-bottom--tablet");
|
|
362
|
+
}
|
|
363
|
+
set paddingBottomTablet(e) {
|
|
364
|
+
g(this, "padding-bottom--tablet", e);
|
|
365
|
+
}
|
|
366
|
+
get paddingLeftTablet() {
|
|
367
|
+
return this.getAttribute("padding-left--tablet");
|
|
368
|
+
}
|
|
369
|
+
set paddingLeftTablet(e) {
|
|
370
|
+
g(this, "padding-left--tablet", e);
|
|
371
|
+
}
|
|
372
|
+
get paddingLaptop() {
|
|
373
|
+
return this.getAttribute("padding--laptop");
|
|
374
|
+
}
|
|
375
|
+
set paddingLaptop(e) {
|
|
376
|
+
g(this, "padding--laptop", e);
|
|
377
|
+
}
|
|
378
|
+
get paddingBlockLaptop() {
|
|
379
|
+
return this.getAttribute("padding-block--laptop");
|
|
380
|
+
}
|
|
381
|
+
set paddingBlockLaptop(e) {
|
|
382
|
+
g(this, "padding-block--laptop", e);
|
|
383
|
+
}
|
|
384
|
+
get paddingInlineLaptop() {
|
|
385
|
+
return this.getAttribute("padding-inline--laptop");
|
|
386
|
+
}
|
|
387
|
+
set paddingInlineLaptop(e) {
|
|
388
|
+
g(this, "padding-inline--laptop", e);
|
|
389
|
+
}
|
|
390
|
+
get paddingTopLaptop() {
|
|
391
|
+
return this.getAttribute("padding-top--laptop");
|
|
392
|
+
}
|
|
393
|
+
set paddingTopLaptop(e) {
|
|
394
|
+
g(this, "padding-top--laptop", e);
|
|
395
|
+
}
|
|
396
|
+
get paddingRightLaptop() {
|
|
397
|
+
return this.getAttribute("padding-right--laptop");
|
|
398
|
+
}
|
|
399
|
+
set paddingRightLaptop(e) {
|
|
400
|
+
g(this, "padding-right--laptop", e);
|
|
401
|
+
}
|
|
402
|
+
get paddingBottomLaptop() {
|
|
403
|
+
return this.getAttribute("padding-bottom--laptop");
|
|
404
|
+
}
|
|
405
|
+
set paddingBottomLaptop(e) {
|
|
406
|
+
g(this, "padding-bottom--laptop", e);
|
|
407
|
+
}
|
|
408
|
+
get paddingLeftLaptop() {
|
|
409
|
+
return this.getAttribute("padding-left--laptop");
|
|
410
|
+
}
|
|
411
|
+
set paddingLeftLaptop(e) {
|
|
412
|
+
g(this, "padding-left--laptop", e);
|
|
413
|
+
}
|
|
414
|
+
get border() {
|
|
415
|
+
return this.getAttribute("border");
|
|
416
|
+
}
|
|
417
|
+
set border(e) {
|
|
418
|
+
g(this, "border", e);
|
|
419
|
+
}
|
|
420
|
+
get borderColor() {
|
|
421
|
+
return this.getAttribute("border-color");
|
|
422
|
+
}
|
|
423
|
+
set borderColor(e) {
|
|
424
|
+
g(this, "border-color", e);
|
|
425
|
+
}
|
|
426
|
+
get borderSide() {
|
|
427
|
+
return this.getAttribute("border-side");
|
|
428
|
+
}
|
|
429
|
+
set borderSide(e) {
|
|
430
|
+
g(this, "border-side", e);
|
|
431
|
+
}
|
|
432
|
+
get borderSideMobile() {
|
|
433
|
+
return this.getAttribute("border-side--mobile");
|
|
434
|
+
}
|
|
435
|
+
set borderSideMobile(e) {
|
|
436
|
+
g(this, "border-side--mobile", e);
|
|
437
|
+
}
|
|
438
|
+
get borderSideTablet() {
|
|
439
|
+
return this.getAttribute("border-side--tablet");
|
|
440
|
+
}
|
|
441
|
+
set borderSideTablet(e) {
|
|
442
|
+
g(this, "border-side--tablet", e);
|
|
443
|
+
}
|
|
444
|
+
get borderSideLaptop() {
|
|
445
|
+
return this.getAttribute("border-side--laptop");
|
|
446
|
+
}
|
|
447
|
+
set borderSideLaptop(e) {
|
|
448
|
+
g(this, "border-side--laptop", e);
|
|
449
|
+
}
|
|
450
|
+
get borderRadius() {
|
|
451
|
+
return this.getAttribute("border-radius");
|
|
452
|
+
}
|
|
453
|
+
set borderRadius(e) {
|
|
454
|
+
g(this, "border-radius", e);
|
|
455
|
+
}
|
|
456
|
+
get noBorderRadius() {
|
|
457
|
+
return this.getAttribute("no-border-radius");
|
|
458
|
+
}
|
|
459
|
+
set noBorderRadius(e) {
|
|
460
|
+
g(this, "no-border-radius", e);
|
|
461
|
+
}
|
|
462
|
+
get noBorderRadiusMobile() {
|
|
463
|
+
return this.getAttribute("no-border-radius--mobile");
|
|
464
|
+
}
|
|
465
|
+
set noBorderRadiusMobile(e) {
|
|
466
|
+
g(this, "no-border-radius--mobile", e);
|
|
467
|
+
}
|
|
468
|
+
get noBorderRadiusTablet() {
|
|
469
|
+
return this.getAttribute("no-border-radius--tablet");
|
|
470
|
+
}
|
|
471
|
+
set noBorderRadiusTablet(e) {
|
|
472
|
+
g(this, "no-border-radius--tablet", e);
|
|
473
|
+
}
|
|
474
|
+
get noBorderRadiusLaptop() {
|
|
475
|
+
return this.getAttribute("no-border-radius--laptop");
|
|
476
|
+
}
|
|
477
|
+
set noBorderRadiusLaptop(e) {
|
|
478
|
+
g(this, "no-border-radius--laptop", e);
|
|
479
|
+
}
|
|
480
|
+
get backgroundColor() {
|
|
481
|
+
return this.getAttribute("background-color");
|
|
482
|
+
}
|
|
483
|
+
set backgroundColor(e) {
|
|
484
|
+
g(this, "background-color", e);
|
|
485
|
+
}
|
|
486
|
+
get backgroundColorMobile() {
|
|
487
|
+
return this.getAttribute("background-color--mobile");
|
|
488
|
+
}
|
|
489
|
+
set backgroundColorMobile(e) {
|
|
490
|
+
g(this, "background-color--mobile", e);
|
|
491
|
+
}
|
|
492
|
+
get backgroundColorTablet() {
|
|
493
|
+
return this.getAttribute("background-color--tablet");
|
|
494
|
+
}
|
|
495
|
+
set backgroundColorTablet(e) {
|
|
496
|
+
g(this, "background-color--tablet", e);
|
|
497
|
+
}
|
|
498
|
+
get backgroundColorLaptop() {
|
|
499
|
+
return this.getAttribute("background-color--laptop");
|
|
500
|
+
}
|
|
501
|
+
set backgroundColorLaptop(e) {
|
|
502
|
+
g(this, "background-color--laptop", e);
|
|
503
|
+
}
|
|
504
|
+
get gradient() {
|
|
505
|
+
return this.getAttribute("background-gradient");
|
|
506
|
+
}
|
|
507
|
+
set gradient(e) {
|
|
508
|
+
g(this, "background-gradient", e);
|
|
509
|
+
}
|
|
510
|
+
get gradientMobile() {
|
|
511
|
+
return this.getAttribute("background-gradient--mobile");
|
|
512
|
+
}
|
|
513
|
+
set gradientMobile(e) {
|
|
514
|
+
g(this, "background-gradient--mobile", e);
|
|
515
|
+
}
|
|
516
|
+
get gradientTablet() {
|
|
517
|
+
return this.getAttribute("background-gradient--tablet");
|
|
518
|
+
}
|
|
519
|
+
set gradientTablet(e) {
|
|
520
|
+
g(this, "background-gradient--tablet", e);
|
|
521
|
+
}
|
|
522
|
+
get gradientLaptop() {
|
|
523
|
+
return this.getAttribute("background-gradient--laptop");
|
|
524
|
+
}
|
|
525
|
+
set gradientLaptop(e) {
|
|
526
|
+
g(this, "background-gradient--laptop", e);
|
|
527
|
+
}
|
|
528
|
+
get backgroundImage() {
|
|
529
|
+
return this.getAttribute("background-image");
|
|
530
|
+
}
|
|
531
|
+
set backgroundImage(e) {
|
|
532
|
+
g(this, "background-image", e);
|
|
533
|
+
}
|
|
534
|
+
get backgroundImageMobile() {
|
|
535
|
+
return this.getAttribute("background-image--mobile");
|
|
536
|
+
}
|
|
537
|
+
set backgroundImageMobile(e) {
|
|
538
|
+
g(this, "background-image--mobile", e);
|
|
539
|
+
}
|
|
540
|
+
get backgroundImageTablet() {
|
|
541
|
+
return this.getAttribute("background-image--tablet");
|
|
542
|
+
}
|
|
543
|
+
set backgroundImageTablet(e) {
|
|
544
|
+
g(this, "background-image--tablet", e);
|
|
545
|
+
}
|
|
546
|
+
get backgroundImageLaptop() {
|
|
547
|
+
return this.getAttribute("background-image--laptop");
|
|
548
|
+
}
|
|
549
|
+
set backgroundImageLaptop(e) {
|
|
550
|
+
g(this, "background-image--laptop", e);
|
|
551
|
+
}
|
|
552
|
+
get backgroundSize() {
|
|
553
|
+
return this.getAttribute("background-size");
|
|
554
|
+
}
|
|
555
|
+
set backgroundSize(e) {
|
|
556
|
+
g(this, "background-size", e);
|
|
557
|
+
}
|
|
558
|
+
get backgroundPosition() {
|
|
559
|
+
return this.getAttribute("background-position");
|
|
560
|
+
}
|
|
561
|
+
set backgroundPosition(e) {
|
|
562
|
+
g(this, "background-position", e);
|
|
563
|
+
}
|
|
564
|
+
get boxShadow() {
|
|
565
|
+
return this.getAttribute("box-shadow");
|
|
566
|
+
}
|
|
567
|
+
set boxShadow(e) {
|
|
568
|
+
g(this, "box-shadow", e);
|
|
569
|
+
}
|
|
570
|
+
get anchorOffset() {
|
|
571
|
+
return this.getAttribute("anchor-offset");
|
|
572
|
+
}
|
|
573
|
+
set anchorOffset(e) {
|
|
574
|
+
g(this, "anchor-offset", e);
|
|
575
|
+
}
|
|
576
|
+
get anchorSpacing() {
|
|
577
|
+
return this.getAttribute("anchor-spacing");
|
|
578
|
+
}
|
|
579
|
+
set anchorSpacing(e) {
|
|
580
|
+
g(this, "anchor-spacing", e);
|
|
581
|
+
}
|
|
582
|
+
get inverted() {
|
|
583
|
+
return this.hasAttribute("inverted");
|
|
584
|
+
}
|
|
585
|
+
set inverted(e) {
|
|
586
|
+
r(this, "inverted", e);
|
|
587
|
+
}
|
|
588
|
+
get subgridRows() {
|
|
589
|
+
return this.getAttribute("subgrid-rows");
|
|
590
|
+
}
|
|
591
|
+
set subgridRows(e) {
|
|
592
|
+
g(this, "subgrid-rows", e);
|
|
593
|
+
}
|
|
594
|
+
get subgridGap() {
|
|
595
|
+
return this.getAttribute("subgrid-gap");
|
|
596
|
+
}
|
|
597
|
+
set subgridGap(e) {
|
|
598
|
+
g(this, "subgrid-gap", e);
|
|
599
|
+
}
|
|
600
|
+
get subgridGapMobile() {
|
|
601
|
+
return this.getAttribute("subgrid-gap--mobile");
|
|
602
|
+
}
|
|
603
|
+
set subgridGapMobile(e) {
|
|
604
|
+
g(this, "subgrid-gap--mobile", e);
|
|
605
|
+
}
|
|
606
|
+
get subgridGapTablet() {
|
|
607
|
+
return this.getAttribute("subgrid-gap--tablet");
|
|
608
|
+
}
|
|
609
|
+
set subgridGapTablet(e) {
|
|
610
|
+
g(this, "subgrid-gap--tablet", e);
|
|
611
|
+
}
|
|
612
|
+
get subgridGapLaptop() {
|
|
613
|
+
return this.getAttribute("subgrid-gap--laptop");
|
|
614
|
+
}
|
|
615
|
+
set subgridGapLaptop(e) {
|
|
616
|
+
g(this, "subgrid-gap--laptop", e);
|
|
617
|
+
}
|
|
646
618
|
};
|
|
619
|
+
customElements.get("px-container") || customElements.define("px-container", w);
|
|
620
|
+
//#endregion
|
|
621
|
+
export { w as Container, y as anchorSpacingValues, b as subgridRowsValues };
|