container-css 0.3.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.
@@ -0,0 +1,830 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { css, LitElement } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ import { html as staticHtml, unsafeStatic } from 'lit/static-html.js';
10
+ const breakpoints = {
11
+ sm: '30rem',
12
+ md: '48rem',
13
+ lg: '62rem',
14
+ xl: '80rem',
15
+ '2xl': '96rem',
16
+ };
17
+ let ContainerBox = class ContainerBox extends LitElement {
18
+ formatWidth(value) {
19
+ const keywords = ['auto', 'full', 'min-content', 'max-content'];
20
+ if (keywords.includes(value)) {
21
+ return value === 'full' ? '100%' : value;
22
+ }
23
+ return `${value}rem`;
24
+ }
25
+ buildWrapperStyles() {
26
+ const styles = [];
27
+ if (this.p)
28
+ styles.push(`padding: ${this.p}rem;`);
29
+ if (this.pt)
30
+ styles.push(`padding-top: ${this.pt}rem;`);
31
+ if (this.pr)
32
+ styles.push(`padding-right: ${this.pr}rem;`);
33
+ if (this.pb)
34
+ styles.push(`padding-bottom: ${this.pb}rem;`);
35
+ if (this.pl)
36
+ styles.push(`padding-left: ${this.pl}rem;`);
37
+ if (this.bg)
38
+ styles.push(`background-color: ${this.bg};`);
39
+ if (this.borderW)
40
+ styles.push(`border-width: ${this.borderW}px;`);
41
+ if (this.borderStyle)
42
+ styles.push(`border-style: ${this.borderStyle};`);
43
+ if (this.borderColor)
44
+ styles.push(`border-color: ${this.borderColor};`);
45
+ if (this.borderTopW)
46
+ styles.push(`border-top-width: ${this.borderTopW}px;`);
47
+ if (this.borderTopStyle)
48
+ styles.push(`border-top-style: ${this.borderTopStyle};`);
49
+ if (this.borderTopColor)
50
+ styles.push(`border-top-color: ${this.borderTopColor};`);
51
+ if (this.borderRightW)
52
+ styles.push(`border-right-width: ${this.borderRightW}px;`);
53
+ if (this.borderRightStyle)
54
+ styles.push(`border-right-style: ${this.borderRightStyle};`);
55
+ if (this.borderRightColor)
56
+ styles.push(`border-right-color: ${this.borderRightColor};`);
57
+ if (this.borderBottomW)
58
+ styles.push(`border-bottom-width: ${this.borderBottomW}px;`);
59
+ if (this.borderBottomStyle)
60
+ styles.push(`border-bottom-style: ${this.borderBottomStyle};`);
61
+ if (this.borderBottomColor)
62
+ styles.push(`border-bottom-color: ${this.borderBottomColor};`);
63
+ if (this.borderLeftW)
64
+ styles.push(`border-left-width: ${this.borderLeftW}px;`);
65
+ if (this.borderLeftStyle)
66
+ styles.push(`border-left-style: ${this.borderLeftStyle};`);
67
+ if (this.borderLeftColor)
68
+ styles.push(`border-left-color: ${this.borderLeftColor};`);
69
+ if (this.borderRadius)
70
+ styles.push(`border-radius: ${this.borderRadius}px;`);
71
+ return styles.join(' ');
72
+ }
73
+ buildHostStyles() {
74
+ const styles = [];
75
+ if (this.flex)
76
+ styles.push(`flex: ${this.flex};`);
77
+ if (this.w)
78
+ styles.push(`width: ${this.formatWidth(this.w)};`);
79
+ if (this.minW)
80
+ styles.push(`min-width: ${this.formatWidth(this.minW)};`);
81
+ if (this.maxW)
82
+ styles.push(`max-width: ${this.formatWidth(this.maxW)};`);
83
+ return styles.join(' ');
84
+ }
85
+ buildMediaQueries() {
86
+ let mediaStyles = '';
87
+ const breakpointProps = [
88
+ {
89
+ breakpoint: 'sm',
90
+ minWidth: breakpoints.sm,
91
+ props: {
92
+ p: this.smP,
93
+ pt: this.smPt,
94
+ pr: this.smPr,
95
+ pb: this.smPb,
96
+ pl: this.smPl,
97
+ bg: this.smBg,
98
+ borderW: this.smBorderW,
99
+ borderStyle: this.smBorderStyle,
100
+ borderColor: this.smBorderColor,
101
+ borderTopW: this.smBorderTopW,
102
+ borderTopStyle: this.smBorderTopStyle,
103
+ borderTopColor: this.smBorderTopColor,
104
+ borderRightW: this.smBorderRightW,
105
+ borderRightStyle: this.smBorderRightStyle,
106
+ borderRightColor: this.smBorderRightColor,
107
+ borderBottomW: this.smBorderBottomW,
108
+ borderBottomStyle: this.smBorderBottomStyle,
109
+ borderBottomColor: this.smBorderBottomColor,
110
+ borderLeftW: this.smBorderLeftW,
111
+ borderLeftStyle: this.smBorderLeftStyle,
112
+ borderLeftColor: this.smBorderLeftColor,
113
+ borderRadius: this.smBorderRadius,
114
+ flex: this.smFlex,
115
+ w: this.smW,
116
+ minW: this.smMinW,
117
+ maxW: this.smMaxW,
118
+ },
119
+ },
120
+ {
121
+ breakpoint: 'md',
122
+ minWidth: breakpoints.md,
123
+ props: {
124
+ p: this.mdP,
125
+ pt: this.mdPt,
126
+ pr: this.mdPr,
127
+ pb: this.mdPb,
128
+ pl: this.mdPl,
129
+ bg: this.mdBg,
130
+ borderW: this.mdBorderW,
131
+ borderStyle: this.mdBorderStyle,
132
+ borderColor: this.mdBorderColor,
133
+ borderTopW: this.mdBorderTopW,
134
+ borderTopStyle: this.mdBorderTopStyle,
135
+ borderTopColor: this.mdBorderTopColor,
136
+ borderRightW: this.mdBorderRightW,
137
+ borderRightStyle: this.mdBorderRightStyle,
138
+ borderRightColor: this.mdBorderRightColor,
139
+ borderBottomW: this.mdBorderBottomW,
140
+ borderBottomStyle: this.mdBorderBottomStyle,
141
+ borderBottomColor: this.mdBorderBottomColor,
142
+ borderLeftW: this.mdBorderLeftW,
143
+ borderLeftStyle: this.mdBorderLeftStyle,
144
+ borderLeftColor: this.mdBorderLeftColor,
145
+ borderRadius: this.mdBorderRadius,
146
+ flex: this.mdFlex,
147
+ w: this.mdW,
148
+ minW: this.mdMinW,
149
+ maxW: this.mdMaxW,
150
+ },
151
+ },
152
+ {
153
+ breakpoint: 'lg',
154
+ minWidth: breakpoints.lg,
155
+ props: {
156
+ p: this.lgP,
157
+ pt: this.lgPt,
158
+ pr: this.lgPr,
159
+ pb: this.lgPb,
160
+ pl: this.lgPl,
161
+ bg: this.lgBg,
162
+ borderW: this.lgBorderW,
163
+ borderStyle: this.lgBorderStyle,
164
+ borderColor: this.lgBorderColor,
165
+ borderTopW: this.lgBorderTopW,
166
+ borderTopStyle: this.lgBorderTopStyle,
167
+ borderTopColor: this.lgBorderTopColor,
168
+ borderRightW: this.lgBorderRightW,
169
+ borderRightStyle: this.lgBorderRightStyle,
170
+ borderRightColor: this.lgBorderRightColor,
171
+ borderBottomW: this.lgBorderBottomW,
172
+ borderBottomStyle: this.lgBorderBottomStyle,
173
+ borderBottomColor: this.lgBorderBottomColor,
174
+ borderLeftW: this.lgBorderLeftW,
175
+ borderLeftStyle: this.lgBorderLeftStyle,
176
+ borderLeftColor: this.lgBorderLeftColor,
177
+ borderRadius: this.lgBorderRadius,
178
+ flex: this.lgFlex,
179
+ w: this.lgW,
180
+ minW: this.lgMinW,
181
+ maxW: this.lgMaxW,
182
+ },
183
+ },
184
+ {
185
+ breakpoint: 'xl',
186
+ minWidth: breakpoints.xl,
187
+ props: {
188
+ p: this.xlP,
189
+ pt: this.xlPt,
190
+ pr: this.xlPr,
191
+ pb: this.xlPb,
192
+ pl: this.xlPl,
193
+ bg: this.xlBg,
194
+ borderW: this.xlBorderW,
195
+ borderStyle: this.xlBorderStyle,
196
+ borderColor: this.xlBorderColor,
197
+ borderTopW: this.xlBorderTopW,
198
+ borderTopStyle: this.xlBorderTopStyle,
199
+ borderTopColor: this.xlBorderTopColor,
200
+ borderRightW: this.xlBorderRightW,
201
+ borderRightStyle: this.xlBorderRightStyle,
202
+ borderRightColor: this.xlBorderRightColor,
203
+ borderBottomW: this.xlBorderBottomW,
204
+ borderBottomStyle: this.xlBorderBottomStyle,
205
+ borderBottomColor: this.xlBorderBottomColor,
206
+ borderLeftW: this.xlBorderLeftW,
207
+ borderLeftStyle: this.xlBorderLeftStyle,
208
+ borderLeftColor: this.xlBorderLeftColor,
209
+ borderRadius: this.xlBorderRadius,
210
+ flex: this.xlFlex,
211
+ w: this.xlW,
212
+ minW: this.xlMinW,
213
+ maxW: this.xlMaxW,
214
+ },
215
+ },
216
+ {
217
+ breakpoint: '2xl',
218
+ minWidth: breakpoints['2xl'],
219
+ props: {
220
+ p: this.xxlP,
221
+ pt: this.xxlPt,
222
+ pr: this.xxlPr,
223
+ pb: this.xxlPb,
224
+ pl: this.xxlPl,
225
+ bg: this.xxlBg,
226
+ borderW: this.xxlBorderW,
227
+ borderStyle: this.xxlBorderStyle,
228
+ borderColor: this.xxlBorderColor,
229
+ borderTopW: this.xxlBorderTopW,
230
+ borderTopStyle: this.xxlBorderTopStyle,
231
+ borderTopColor: this.xxlBorderTopColor,
232
+ borderRightW: this.xxlBorderRightW,
233
+ borderRightStyle: this.xxlBorderRightStyle,
234
+ borderRightColor: this.xxlBorderRightColor,
235
+ borderBottomW: this.xxlBorderBottomW,
236
+ borderBottomStyle: this.xxlBorderBottomStyle,
237
+ borderBottomColor: this.xxlBorderBottomColor,
238
+ borderLeftW: this.xxlBorderLeftW,
239
+ borderLeftStyle: this.xxlBorderLeftStyle,
240
+ borderLeftColor: this.xxlBorderLeftColor,
241
+ borderRadius: this.xxlBorderRadius,
242
+ flex: this.xxlFlex,
243
+ w: this.xxlW,
244
+ minW: this.xxlMinW,
245
+ maxW: this.xxlMaxW,
246
+ },
247
+ },
248
+ ];
249
+ for (const { minWidth, props } of breakpointProps) {
250
+ const styles = [];
251
+ if (props.p)
252
+ styles.push(`padding: ${props.p}rem;`);
253
+ if (props.pt)
254
+ styles.push(`padding-top: ${props.pt}rem;`);
255
+ if (props.pr)
256
+ styles.push(`padding-right: ${props.pr}rem;`);
257
+ if (props.pb)
258
+ styles.push(`padding-bottom: ${props.pb}rem;`);
259
+ if (props.pl)
260
+ styles.push(`padding-left: ${props.pl}rem;`);
261
+ if (props.bg)
262
+ styles.push(`background-color: ${props.bg};`);
263
+ if (props.borderW)
264
+ styles.push(`border-width: ${props.borderW}px;`);
265
+ if (props.borderStyle)
266
+ styles.push(`border-style: ${props.borderStyle};`);
267
+ if (props.borderColor)
268
+ styles.push(`border-color: ${props.borderColor};`);
269
+ if (props.borderTopW)
270
+ styles.push(`border-top-width: ${props.borderTopW}px;`);
271
+ if (props.borderTopStyle)
272
+ styles.push(`border-top-style: ${props.borderTopStyle};`);
273
+ if (props.borderTopColor)
274
+ styles.push(`border-top-color: ${props.borderTopColor};`);
275
+ if (props.borderRightW)
276
+ styles.push(`border-right-width: ${props.borderRightW}px;`);
277
+ if (props.borderRightStyle)
278
+ styles.push(`border-right-style: ${props.borderRightStyle};`);
279
+ if (props.borderRightColor)
280
+ styles.push(`border-right-color: ${props.borderRightColor};`);
281
+ if (props.borderBottomW)
282
+ styles.push(`border-bottom-width: ${props.borderBottomW}px;`);
283
+ if (props.borderBottomStyle)
284
+ styles.push(`border-bottom-style: ${props.borderBottomStyle};`);
285
+ if (props.borderBottomColor)
286
+ styles.push(`border-bottom-color: ${props.borderBottomColor};`);
287
+ if (props.borderLeftW)
288
+ styles.push(`border-left-width: ${props.borderLeftW}px;`);
289
+ if (props.borderLeftStyle)
290
+ styles.push(`border-left-style: ${props.borderLeftStyle};`);
291
+ if (props.borderLeftColor)
292
+ styles.push(`border-left-color: ${props.borderLeftColor};`);
293
+ if (props.borderRadius)
294
+ styles.push(`border-radius: ${props.borderRadius}px;`);
295
+ if (styles.length > 0) {
296
+ mediaStyles += `
297
+ @media (min-width: ${minWidth}) {
298
+ .wrapper {
299
+ ${styles.join(' ')}
300
+ }
301
+ }
302
+ `;
303
+ }
304
+ const hostStyles = [];
305
+ if (props.flex)
306
+ hostStyles.push(`flex: ${props.flex};`);
307
+ if (props.w)
308
+ hostStyles.push(`width: ${this.formatWidth(props.w)};`);
309
+ if (props.minW)
310
+ hostStyles.push(`min-width: ${this.formatWidth(props.minW)};`);
311
+ if (props.maxW)
312
+ hostStyles.push(`max-width: ${this.formatWidth(props.maxW)};`);
313
+ if (hostStyles.length > 0) {
314
+ mediaStyles += `
315
+ @media (min-width: ${minWidth}) {
316
+ :host {
317
+ ${hostStyles.join(' ')}
318
+ }
319
+ }
320
+ `;
321
+ }
322
+ }
323
+ return mediaStyles;
324
+ }
325
+ render() {
326
+ const wrapperStyles = this.buildWrapperStyles();
327
+ const hostStyles = this.buildHostStyles();
328
+ const mediaQueries = this.buildMediaQueries();
329
+ const tag = unsafeStatic(this.as || 'div');
330
+ return staticHtml `
331
+ <style>
332
+ :host {
333
+ ${hostStyles}
334
+ }
335
+ .wrapper {
336
+ display: block;
337
+ width: 100%;
338
+ box-sizing: border-box;
339
+ ${wrapperStyles}
340
+ }
341
+ ${mediaQueries}
342
+ </style>
343
+ <${tag} class="wrapper">
344
+ <slot></slot>
345
+ </${tag}>
346
+ `;
347
+ }
348
+ };
349
+ ContainerBox.styles = css `
350
+ :host {
351
+ display: block;
352
+ box-sizing: border-box;
353
+ }
354
+ `;
355
+ __decorate([
356
+ property()
357
+ ], ContainerBox.prototype, "as", void 0);
358
+ __decorate([
359
+ property()
360
+ ], ContainerBox.prototype, "p", void 0);
361
+ __decorate([
362
+ property()
363
+ ], ContainerBox.prototype, "pb", void 0);
364
+ __decorate([
365
+ property()
366
+ ], ContainerBox.prototype, "bg", void 0);
367
+ __decorate([
368
+ property({ attribute: 'border-color' })
369
+ ], ContainerBox.prototype, "borderColor", void 0);
370
+ __decorate([
371
+ property({ attribute: 'border-radius' })
372
+ ], ContainerBox.prototype, "borderRadius", void 0);
373
+ __decorate([
374
+ property({ attribute: 'border-style' })
375
+ ], ContainerBox.prototype, "borderStyle", void 0);
376
+ __decorate([
377
+ property({ attribute: 'border-w' })
378
+ ], ContainerBox.prototype, "borderW", void 0);
379
+ __decorate([
380
+ property({ attribute: 'border-top-w' })
381
+ ], ContainerBox.prototype, "borderTopW", void 0);
382
+ __decorate([
383
+ property({ attribute: 'border-top-style' })
384
+ ], ContainerBox.prototype, "borderTopStyle", void 0);
385
+ __decorate([
386
+ property({ attribute: 'border-top-color' })
387
+ ], ContainerBox.prototype, "borderTopColor", void 0);
388
+ __decorate([
389
+ property({ attribute: 'border-right-w' })
390
+ ], ContainerBox.prototype, "borderRightW", void 0);
391
+ __decorate([
392
+ property({ attribute: 'border-right-style' })
393
+ ], ContainerBox.prototype, "borderRightStyle", void 0);
394
+ __decorate([
395
+ property({ attribute: 'border-right-color' })
396
+ ], ContainerBox.prototype, "borderRightColor", void 0);
397
+ __decorate([
398
+ property({ attribute: 'border-bottom-w' })
399
+ ], ContainerBox.prototype, "borderBottomW", void 0);
400
+ __decorate([
401
+ property({ attribute: 'border-bottom-style' })
402
+ ], ContainerBox.prototype, "borderBottomStyle", void 0);
403
+ __decorate([
404
+ property({ attribute: 'border-bottom-color' })
405
+ ], ContainerBox.prototype, "borderBottomColor", void 0);
406
+ __decorate([
407
+ property({ attribute: 'border-left-w' })
408
+ ], ContainerBox.prototype, "borderLeftW", void 0);
409
+ __decorate([
410
+ property({ attribute: 'border-left-style' })
411
+ ], ContainerBox.prototype, "borderLeftStyle", void 0);
412
+ __decorate([
413
+ property({ attribute: 'border-left-color' })
414
+ ], ContainerBox.prototype, "borderLeftColor", void 0);
415
+ __decorate([
416
+ property()
417
+ ], ContainerBox.prototype, "flex", void 0);
418
+ __decorate([
419
+ property()
420
+ ], ContainerBox.prototype, "pl", void 0);
421
+ __decorate([
422
+ property()
423
+ ], ContainerBox.prototype, "pr", void 0);
424
+ __decorate([
425
+ property()
426
+ ], ContainerBox.prototype, "pt", void 0);
427
+ __decorate([
428
+ property()
429
+ ], ContainerBox.prototype, "w", void 0);
430
+ __decorate([
431
+ property({ attribute: 'min-w' })
432
+ ], ContainerBox.prototype, "minW", void 0);
433
+ __decorate([
434
+ property({ attribute: 'max-w' })
435
+ ], ContainerBox.prototype, "maxW", void 0);
436
+ __decorate([
437
+ property({ attribute: 'sm-p' })
438
+ ], ContainerBox.prototype, "smP", void 0);
439
+ __decorate([
440
+ property({ attribute: 'sm-pb' })
441
+ ], ContainerBox.prototype, "smPb", void 0);
442
+ __decorate([
443
+ property({ attribute: 'sm-bg' })
444
+ ], ContainerBox.prototype, "smBg", void 0);
445
+ __decorate([
446
+ property({ attribute: 'sm-border-color' })
447
+ ], ContainerBox.prototype, "smBorderColor", void 0);
448
+ __decorate([
449
+ property({ attribute: 'sm-border-radius' })
450
+ ], ContainerBox.prototype, "smBorderRadius", void 0);
451
+ __decorate([
452
+ property({ attribute: 'sm-border-style' })
453
+ ], ContainerBox.prototype, "smBorderStyle", void 0);
454
+ __decorate([
455
+ property({ attribute: 'sm-border-w' })
456
+ ], ContainerBox.prototype, "smBorderW", void 0);
457
+ __decorate([
458
+ property({ attribute: 'sm-border-top-w' })
459
+ ], ContainerBox.prototype, "smBorderTopW", void 0);
460
+ __decorate([
461
+ property({ attribute: 'sm-border-top-style' })
462
+ ], ContainerBox.prototype, "smBorderTopStyle", void 0);
463
+ __decorate([
464
+ property({ attribute: 'sm-border-top-color' })
465
+ ], ContainerBox.prototype, "smBorderTopColor", void 0);
466
+ __decorate([
467
+ property({ attribute: 'sm-border-right-w' })
468
+ ], ContainerBox.prototype, "smBorderRightW", void 0);
469
+ __decorate([
470
+ property({ attribute: 'sm-border-right-style' })
471
+ ], ContainerBox.prototype, "smBorderRightStyle", void 0);
472
+ __decorate([
473
+ property({ attribute: 'sm-border-right-color' })
474
+ ], ContainerBox.prototype, "smBorderRightColor", void 0);
475
+ __decorate([
476
+ property({ attribute: 'sm-border-bottom-w' })
477
+ ], ContainerBox.prototype, "smBorderBottomW", void 0);
478
+ __decorate([
479
+ property({ attribute: 'sm-border-bottom-style' })
480
+ ], ContainerBox.prototype, "smBorderBottomStyle", void 0);
481
+ __decorate([
482
+ property({ attribute: 'sm-border-bottom-color' })
483
+ ], ContainerBox.prototype, "smBorderBottomColor", void 0);
484
+ __decorate([
485
+ property({ attribute: 'sm-border-left-w' })
486
+ ], ContainerBox.prototype, "smBorderLeftW", void 0);
487
+ __decorate([
488
+ property({ attribute: 'sm-border-left-style' })
489
+ ], ContainerBox.prototype, "smBorderLeftStyle", void 0);
490
+ __decorate([
491
+ property({ attribute: 'sm-border-left-color' })
492
+ ], ContainerBox.prototype, "smBorderLeftColor", void 0);
493
+ __decorate([
494
+ property({ attribute: 'sm-flex' })
495
+ ], ContainerBox.prototype, "smFlex", void 0);
496
+ __decorate([
497
+ property({ attribute: 'sm-pl' })
498
+ ], ContainerBox.prototype, "smPl", void 0);
499
+ __decorate([
500
+ property({ attribute: 'sm-pr' })
501
+ ], ContainerBox.prototype, "smPr", void 0);
502
+ __decorate([
503
+ property({ attribute: 'sm-pt' })
504
+ ], ContainerBox.prototype, "smPt", void 0);
505
+ __decorate([
506
+ property({ attribute: 'sm-w' })
507
+ ], ContainerBox.prototype, "smW", void 0);
508
+ __decorate([
509
+ property({ attribute: 'sm-min-w' })
510
+ ], ContainerBox.prototype, "smMinW", void 0);
511
+ __decorate([
512
+ property({ attribute: 'sm-max-w' })
513
+ ], ContainerBox.prototype, "smMaxW", void 0);
514
+ __decorate([
515
+ property({ attribute: 'md-p' })
516
+ ], ContainerBox.prototype, "mdP", void 0);
517
+ __decorate([
518
+ property({ attribute: 'md-pb' })
519
+ ], ContainerBox.prototype, "mdPb", void 0);
520
+ __decorate([
521
+ property({ attribute: 'md-bg' })
522
+ ], ContainerBox.prototype, "mdBg", void 0);
523
+ __decorate([
524
+ property({ attribute: 'md-border-color' })
525
+ ], ContainerBox.prototype, "mdBorderColor", void 0);
526
+ __decorate([
527
+ property({ attribute: 'md-border-radius' })
528
+ ], ContainerBox.prototype, "mdBorderRadius", void 0);
529
+ __decorate([
530
+ property({ attribute: 'md-border-style' })
531
+ ], ContainerBox.prototype, "mdBorderStyle", void 0);
532
+ __decorate([
533
+ property({ attribute: 'md-border-w' })
534
+ ], ContainerBox.prototype, "mdBorderW", void 0);
535
+ __decorate([
536
+ property({ attribute: 'md-border-top-w' })
537
+ ], ContainerBox.prototype, "mdBorderTopW", void 0);
538
+ __decorate([
539
+ property({ attribute: 'md-border-top-style' })
540
+ ], ContainerBox.prototype, "mdBorderTopStyle", void 0);
541
+ __decorate([
542
+ property({ attribute: 'md-border-top-color' })
543
+ ], ContainerBox.prototype, "mdBorderTopColor", void 0);
544
+ __decorate([
545
+ property({ attribute: 'md-border-right-w' })
546
+ ], ContainerBox.prototype, "mdBorderRightW", void 0);
547
+ __decorate([
548
+ property({ attribute: 'md-border-right-style' })
549
+ ], ContainerBox.prototype, "mdBorderRightStyle", void 0);
550
+ __decorate([
551
+ property({ attribute: 'md-border-right-color' })
552
+ ], ContainerBox.prototype, "mdBorderRightColor", void 0);
553
+ __decorate([
554
+ property({ attribute: 'md-border-bottom-w' })
555
+ ], ContainerBox.prototype, "mdBorderBottomW", void 0);
556
+ __decorate([
557
+ property({ attribute: 'md-border-bottom-style' })
558
+ ], ContainerBox.prototype, "mdBorderBottomStyle", void 0);
559
+ __decorate([
560
+ property({ attribute: 'md-border-bottom-color' })
561
+ ], ContainerBox.prototype, "mdBorderBottomColor", void 0);
562
+ __decorate([
563
+ property({ attribute: 'md-border-left-w' })
564
+ ], ContainerBox.prototype, "mdBorderLeftW", void 0);
565
+ __decorate([
566
+ property({ attribute: 'md-border-left-style' })
567
+ ], ContainerBox.prototype, "mdBorderLeftStyle", void 0);
568
+ __decorate([
569
+ property({ attribute: 'md-border-left-color' })
570
+ ], ContainerBox.prototype, "mdBorderLeftColor", void 0);
571
+ __decorate([
572
+ property({ attribute: 'md-flex' })
573
+ ], ContainerBox.prototype, "mdFlex", void 0);
574
+ __decorate([
575
+ property({ attribute: 'md-pl' })
576
+ ], ContainerBox.prototype, "mdPl", void 0);
577
+ __decorate([
578
+ property({ attribute: 'md-pr' })
579
+ ], ContainerBox.prototype, "mdPr", void 0);
580
+ __decorate([
581
+ property({ attribute: 'md-pt' })
582
+ ], ContainerBox.prototype, "mdPt", void 0);
583
+ __decorate([
584
+ property({ attribute: 'md-w' })
585
+ ], ContainerBox.prototype, "mdW", void 0);
586
+ __decorate([
587
+ property({ attribute: 'md-min-w' })
588
+ ], ContainerBox.prototype, "mdMinW", void 0);
589
+ __decorate([
590
+ property({ attribute: 'md-max-w' })
591
+ ], ContainerBox.prototype, "mdMaxW", void 0);
592
+ __decorate([
593
+ property({ attribute: 'lg-p' })
594
+ ], ContainerBox.prototype, "lgP", void 0);
595
+ __decorate([
596
+ property({ attribute: 'lg-pb' })
597
+ ], ContainerBox.prototype, "lgPb", void 0);
598
+ __decorate([
599
+ property({ attribute: 'lg-bg' })
600
+ ], ContainerBox.prototype, "lgBg", void 0);
601
+ __decorate([
602
+ property({ attribute: 'lg-border-color' })
603
+ ], ContainerBox.prototype, "lgBorderColor", void 0);
604
+ __decorate([
605
+ property({ attribute: 'lg-border-radius' })
606
+ ], ContainerBox.prototype, "lgBorderRadius", void 0);
607
+ __decorate([
608
+ property({ attribute: 'lg-border-style' })
609
+ ], ContainerBox.prototype, "lgBorderStyle", void 0);
610
+ __decorate([
611
+ property({ attribute: 'lg-border-w' })
612
+ ], ContainerBox.prototype, "lgBorderW", void 0);
613
+ __decorate([
614
+ property({ attribute: 'lg-border-top-w' })
615
+ ], ContainerBox.prototype, "lgBorderTopW", void 0);
616
+ __decorate([
617
+ property({ attribute: 'lg-border-top-style' })
618
+ ], ContainerBox.prototype, "lgBorderTopStyle", void 0);
619
+ __decorate([
620
+ property({ attribute: 'lg-border-top-color' })
621
+ ], ContainerBox.prototype, "lgBorderTopColor", void 0);
622
+ __decorate([
623
+ property({ attribute: 'lg-border-right-w' })
624
+ ], ContainerBox.prototype, "lgBorderRightW", void 0);
625
+ __decorate([
626
+ property({ attribute: 'lg-border-right-style' })
627
+ ], ContainerBox.prototype, "lgBorderRightStyle", void 0);
628
+ __decorate([
629
+ property({ attribute: 'lg-border-right-color' })
630
+ ], ContainerBox.prototype, "lgBorderRightColor", void 0);
631
+ __decorate([
632
+ property({ attribute: 'lg-border-bottom-w' })
633
+ ], ContainerBox.prototype, "lgBorderBottomW", void 0);
634
+ __decorate([
635
+ property({ attribute: 'lg-border-bottom-style' })
636
+ ], ContainerBox.prototype, "lgBorderBottomStyle", void 0);
637
+ __decorate([
638
+ property({ attribute: 'lg-border-bottom-color' })
639
+ ], ContainerBox.prototype, "lgBorderBottomColor", void 0);
640
+ __decorate([
641
+ property({ attribute: 'lg-border-left-w' })
642
+ ], ContainerBox.prototype, "lgBorderLeftW", void 0);
643
+ __decorate([
644
+ property({ attribute: 'lg-border-left-style' })
645
+ ], ContainerBox.prototype, "lgBorderLeftStyle", void 0);
646
+ __decorate([
647
+ property({ attribute: 'lg-border-left-color' })
648
+ ], ContainerBox.prototype, "lgBorderLeftColor", void 0);
649
+ __decorate([
650
+ property({ attribute: 'lg-flex' })
651
+ ], ContainerBox.prototype, "lgFlex", void 0);
652
+ __decorate([
653
+ property({ attribute: 'lg-pl' })
654
+ ], ContainerBox.prototype, "lgPl", void 0);
655
+ __decorate([
656
+ property({ attribute: 'lg-pr' })
657
+ ], ContainerBox.prototype, "lgPr", void 0);
658
+ __decorate([
659
+ property({ attribute: 'lg-pt' })
660
+ ], ContainerBox.prototype, "lgPt", void 0);
661
+ __decorate([
662
+ property({ attribute: 'lg-w' })
663
+ ], ContainerBox.prototype, "lgW", void 0);
664
+ __decorate([
665
+ property({ attribute: 'lg-min-w' })
666
+ ], ContainerBox.prototype, "lgMinW", void 0);
667
+ __decorate([
668
+ property({ attribute: 'lg-max-w' })
669
+ ], ContainerBox.prototype, "lgMaxW", void 0);
670
+ __decorate([
671
+ property({ attribute: 'xl-p' })
672
+ ], ContainerBox.prototype, "xlP", void 0);
673
+ __decorate([
674
+ property({ attribute: 'xl-pb' })
675
+ ], ContainerBox.prototype, "xlPb", void 0);
676
+ __decorate([
677
+ property({ attribute: 'xl-bg' })
678
+ ], ContainerBox.prototype, "xlBg", void 0);
679
+ __decorate([
680
+ property({ attribute: 'xl-border-color' })
681
+ ], ContainerBox.prototype, "xlBorderColor", void 0);
682
+ __decorate([
683
+ property({ attribute: 'xl-border-radius' })
684
+ ], ContainerBox.prototype, "xlBorderRadius", void 0);
685
+ __decorate([
686
+ property({ attribute: 'xl-border-style' })
687
+ ], ContainerBox.prototype, "xlBorderStyle", void 0);
688
+ __decorate([
689
+ property({ attribute: 'xl-border-w' })
690
+ ], ContainerBox.prototype, "xlBorderW", void 0);
691
+ __decorate([
692
+ property({ attribute: 'xl-border-top-w' })
693
+ ], ContainerBox.prototype, "xlBorderTopW", void 0);
694
+ __decorate([
695
+ property({ attribute: 'xl-border-top-style' })
696
+ ], ContainerBox.prototype, "xlBorderTopStyle", void 0);
697
+ __decorate([
698
+ property({ attribute: 'xl-border-top-color' })
699
+ ], ContainerBox.prototype, "xlBorderTopColor", void 0);
700
+ __decorate([
701
+ property({ attribute: 'xl-border-right-w' })
702
+ ], ContainerBox.prototype, "xlBorderRightW", void 0);
703
+ __decorate([
704
+ property({ attribute: 'xl-border-right-style' })
705
+ ], ContainerBox.prototype, "xlBorderRightStyle", void 0);
706
+ __decorate([
707
+ property({ attribute: 'xl-border-right-color' })
708
+ ], ContainerBox.prototype, "xlBorderRightColor", void 0);
709
+ __decorate([
710
+ property({ attribute: 'xl-border-bottom-w' })
711
+ ], ContainerBox.prototype, "xlBorderBottomW", void 0);
712
+ __decorate([
713
+ property({ attribute: 'xl-border-bottom-style' })
714
+ ], ContainerBox.prototype, "xlBorderBottomStyle", void 0);
715
+ __decorate([
716
+ property({ attribute: 'xl-border-bottom-color' })
717
+ ], ContainerBox.prototype, "xlBorderBottomColor", void 0);
718
+ __decorate([
719
+ property({ attribute: 'xl-border-left-w' })
720
+ ], ContainerBox.prototype, "xlBorderLeftW", void 0);
721
+ __decorate([
722
+ property({ attribute: 'xl-border-left-style' })
723
+ ], ContainerBox.prototype, "xlBorderLeftStyle", void 0);
724
+ __decorate([
725
+ property({ attribute: 'xl-border-left-color' })
726
+ ], ContainerBox.prototype, "xlBorderLeftColor", void 0);
727
+ __decorate([
728
+ property({ attribute: 'xl-flex' })
729
+ ], ContainerBox.prototype, "xlFlex", void 0);
730
+ __decorate([
731
+ property({ attribute: 'xl-pl' })
732
+ ], ContainerBox.prototype, "xlPl", void 0);
733
+ __decorate([
734
+ property({ attribute: 'xl-pr' })
735
+ ], ContainerBox.prototype, "xlPr", void 0);
736
+ __decorate([
737
+ property({ attribute: 'xl-pt' })
738
+ ], ContainerBox.prototype, "xlPt", void 0);
739
+ __decorate([
740
+ property({ attribute: 'xl-w' })
741
+ ], ContainerBox.prototype, "xlW", void 0);
742
+ __decorate([
743
+ property({ attribute: 'xl-min-w' })
744
+ ], ContainerBox.prototype, "xlMinW", void 0);
745
+ __decorate([
746
+ property({ attribute: 'xl-max-w' })
747
+ ], ContainerBox.prototype, "xlMaxW", void 0);
748
+ __decorate([
749
+ property({ attribute: '2xl-p' })
750
+ ], ContainerBox.prototype, "xxlP", void 0);
751
+ __decorate([
752
+ property({ attribute: '2xl-pb' })
753
+ ], ContainerBox.prototype, "xxlPb", void 0);
754
+ __decorate([
755
+ property({ attribute: '2xl-bg' })
756
+ ], ContainerBox.prototype, "xxlBg", void 0);
757
+ __decorate([
758
+ property({ attribute: '2xl-border-color' })
759
+ ], ContainerBox.prototype, "xxlBorderColor", void 0);
760
+ __decorate([
761
+ property({ attribute: '2xl-border-radius' })
762
+ ], ContainerBox.prototype, "xxlBorderRadius", void 0);
763
+ __decorate([
764
+ property({ attribute: '2xl-border-style' })
765
+ ], ContainerBox.prototype, "xxlBorderStyle", void 0);
766
+ __decorate([
767
+ property({ attribute: '2xl-border-w' })
768
+ ], ContainerBox.prototype, "xxlBorderW", void 0);
769
+ __decorate([
770
+ property({ attribute: '2xl-border-top-w' })
771
+ ], ContainerBox.prototype, "xxlBorderTopW", void 0);
772
+ __decorate([
773
+ property({ attribute: '2xl-border-top-style' })
774
+ ], ContainerBox.prototype, "xxlBorderTopStyle", void 0);
775
+ __decorate([
776
+ property({ attribute: '2xl-border-top-color' })
777
+ ], ContainerBox.prototype, "xxlBorderTopColor", void 0);
778
+ __decorate([
779
+ property({ attribute: '2xl-border-right-w' })
780
+ ], ContainerBox.prototype, "xxlBorderRightW", void 0);
781
+ __decorate([
782
+ property({ attribute: '2xl-border-right-style' })
783
+ ], ContainerBox.prototype, "xxlBorderRightStyle", void 0);
784
+ __decorate([
785
+ property({ attribute: '2xl-border-right-color' })
786
+ ], ContainerBox.prototype, "xxlBorderRightColor", void 0);
787
+ __decorate([
788
+ property({ attribute: '2xl-border-bottom-w' })
789
+ ], ContainerBox.prototype, "xxlBorderBottomW", void 0);
790
+ __decorate([
791
+ property({ attribute: '2xl-border-bottom-style' })
792
+ ], ContainerBox.prototype, "xxlBorderBottomStyle", void 0);
793
+ __decorate([
794
+ property({ attribute: '2xl-border-bottom-color' })
795
+ ], ContainerBox.prototype, "xxlBorderBottomColor", void 0);
796
+ __decorate([
797
+ property({ attribute: '2xl-border-left-w' })
798
+ ], ContainerBox.prototype, "xxlBorderLeftW", void 0);
799
+ __decorate([
800
+ property({ attribute: '2xl-border-left-style' })
801
+ ], ContainerBox.prototype, "xxlBorderLeftStyle", void 0);
802
+ __decorate([
803
+ property({ attribute: '2xl-border-left-color' })
804
+ ], ContainerBox.prototype, "xxlBorderLeftColor", void 0);
805
+ __decorate([
806
+ property({ attribute: '2xl-flex' })
807
+ ], ContainerBox.prototype, "xxlFlex", void 0);
808
+ __decorate([
809
+ property({ attribute: '2xl-pl' })
810
+ ], ContainerBox.prototype, "xxlPl", void 0);
811
+ __decorate([
812
+ property({ attribute: '2xl-pr' })
813
+ ], ContainerBox.prototype, "xxlPr", void 0);
814
+ __decorate([
815
+ property({ attribute: '2xl-pt' })
816
+ ], ContainerBox.prototype, "xxlPt", void 0);
817
+ __decorate([
818
+ property({ attribute: '2xl-w' })
819
+ ], ContainerBox.prototype, "xxlW", void 0);
820
+ __decorate([
821
+ property({ attribute: '2xl-min-w' })
822
+ ], ContainerBox.prototype, "xxlMinW", void 0);
823
+ __decorate([
824
+ property({ attribute: '2xl-max-w' })
825
+ ], ContainerBox.prototype, "xxlMaxW", void 0);
826
+ ContainerBox = __decorate([
827
+ customElement('container-box')
828
+ ], ContainerBox);
829
+ export { ContainerBox };
830
+ //# sourceMappingURL=container-box.js.map