@universal-material/web 3.0.15 → 3.0.17
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/card/card-content.styles.d.ts.map +1 -1
- package/card/card-content.styles.js +4 -0
- package/card/card-content.styles.js.map +1 -1
- package/card/card.styles.d.ts.map +1 -1
- package/card/card.styles.js +4 -0
- package/card/card.styles.js.map +1 -1
- package/container/container.d.ts +4 -5
- package/container/container.d.ts.map +1 -1
- package/container/container.js +11 -7
- package/container/container.js.map +1 -1
- package/container/container.styles.d.ts.map +1 -1
- package/container/container.styles.js +0 -31
- package/container/container.styles.js.map +1 -1
- package/container/grid-base.d.ts +10 -0
- package/container/grid-base.d.ts.map +1 -0
- package/container/grid-base.js +26 -0
- package/container/grid-base.js.map +1 -0
- package/container/grid-base.styles.d.ts +2 -0
- package/container/grid-base.styles.d.ts.map +1 -0
- package/container/grid-base.styles.js +111 -0
- package/container/grid-base.styles.js.map +1 -0
- package/container/grid.d.ts +32 -0
- package/container/grid.d.ts.map +1 -0
- package/container/grid.js +106 -0
- package/container/grid.js.map +1 -0
- package/container/grid.styles.d.ts +2 -0
- package/container/grid.styles.d.ts.map +1 -0
- package/container/grid.styles.js +134 -0
- package/container/grid.styles.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-content.styles.d.ts","sourceRoot":"","sources":["../../src/card/card-content.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"card-content.styles.d.ts","sourceRoot":"","sources":["../../src/card/card-content.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAgBlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-content.styles.js","sourceRoot":"","sources":["../../src/card/card-content.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC
|
|
1
|
+
{"version":3,"file":"card-content.styles.js","sourceRoot":"","sources":["../../src/card/card-content.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;CAgBzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host {\n display: block;\n }\n\n :host(:has(slot > *)) {\n display: none;\n }\n\n :host([has-content]) {\n padding: var(--u-card-padding, 16px);\n }\n\n slot {\n border-radius: inherit;\n }\n`;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.styles.d.ts","sourceRoot":"","sources":["../../src/card/card.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"card.styles.d.ts","sourceRoot":"","sources":["../../src/card/card.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBA6BlB,CAAC"}
|
package/card/card.styles.js
CHANGED
|
@@ -24,5 +24,9 @@ export const styles = css `
|
|
|
24
24
|
:host([variant=outlined]) {
|
|
25
25
|
border: var(--u-outlined-card-outline-width, 1px) solid var(--u-outlined-card-outline-color, var(--u-color-outline-variant, rgb(202, 196, 208)));
|
|
26
26
|
}
|
|
27
|
+
|
|
28
|
+
slot {
|
|
29
|
+
border-radius: inherit;
|
|
30
|
+
}
|
|
27
31
|
`;
|
|
28
32
|
//# sourceMappingURL=card.styles.js.map
|
package/card/card.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.styles.js","sourceRoot":"","sources":["../../src/card/card.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC
|
|
1
|
+
{"version":3,"file":"card.styles.js","sourceRoot":"","sources":["../../src/card/card.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host {\n display: block;\n position: relative;\n border-radius: var(--u-card-shape-corner, var(--u-shape-corner-medium, 12px));\n }\n\n :host(:not(:first-child)) {\n margin-top: 8px;\n }\n\n :host([variant=elevated]) {\n background-color: var(--u-color-surface-container-low, rgb(247, 242, 250));\n }\n :host([variant=elevated]) u-elevation {\n --u-elevation-level: var(--u-elevated-card-elevation-level, 1);\n }\n\n :host([variant=filled]) {\n background-color: var(--u-color-surface-container-highest, rgb(230, 224, 233));\n }\n\n :host([variant=outlined]) {\n border: var(--u-outlined-card-outline-width, 1px) solid var(--u-outlined-card-outline-color, var(--u-color-outline-variant, rgb(202, 196, 208)));\n }\n\n slot {\n border-radius: inherit;\n }\n`;\n"]}
|
package/container/container.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { HTMLTemplateResult
|
|
2
|
-
|
|
3
|
-
export declare class UmContainer extends
|
|
4
|
-
static styles: import("lit").CSSResult;
|
|
5
|
-
margin: UmSpacingSizes | undefined;
|
|
1
|
+
import { HTMLTemplateResult } from 'lit';
|
|
2
|
+
import { GridBase } from './grid-base.js';
|
|
3
|
+
export declare class UmContainer extends GridBase {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
6
5
|
render(): HTMLTemplateResult;
|
|
7
6
|
}
|
|
8
7
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/container/container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/container/container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,kBAAkB,EAAE,MAAM,KAAK,CAAC;AAK/C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,qBACa,WAAY,SAAQ,QAAQ;IAEvC,OAAgB,MAAM,4BAIpB;IAEO,MAAM,IAAI,kBAAkB;CAGtC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,WAAW,CAAC;KAC5B;CACF"}
|
package/container/container.js
CHANGED
|
@@ -4,18 +4,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
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
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { html
|
|
8
|
-
import { customElement
|
|
7
|
+
import { html } from 'lit';
|
|
8
|
+
import { customElement } from 'lit/decorators.js';
|
|
9
|
+
import { styles as baseStyles } from '../shared/base.styles.js';
|
|
9
10
|
import { styles } from './container.styles.js';
|
|
10
|
-
|
|
11
|
+
import { GridBase } from './grid-base.js';
|
|
12
|
+
import { styles as gridBaseStyles } from './grid-base.styles.js';
|
|
13
|
+
let UmContainer = class UmContainer extends GridBase {
|
|
11
14
|
render() {
|
|
12
15
|
return html `<slot></slot>`;
|
|
13
16
|
}
|
|
14
17
|
};
|
|
15
|
-
UmContainer.styles =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
UmContainer.styles = [
|
|
19
|
+
baseStyles,
|
|
20
|
+
gridBaseStyles,
|
|
21
|
+
styles
|
|
22
|
+
];
|
|
19
23
|
UmContainer = __decorate([
|
|
20
24
|
customElement('u-container')
|
|
21
25
|
], UmContainer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/container/container.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAsB,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/container/container.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAsB,MAAM,KAAK,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG1D,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,QAAQ;IAQ9B,MAAM;QACb,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AARe,kBAAM,GAAG;IACvB,UAAU;IACV,cAAc;IACd,MAAM;CACP,AAJqB,CAIpB;AANS,WAAW;IADvB,aAAa,CAAC,aAAa,CAAC;GAChB,WAAW,CAWvB","sourcesContent":["import { html, HTMLTemplateResult } from 'lit';\nimport { customElement } from 'lit/decorators.js';\n\nimport { styles as baseStyles } from '../shared/base.styles.js';\nimport { styles } from './container.styles.js';\nimport { GridBase } from './grid-base.js';\nimport { styles as gridBaseStyles } from './grid-base.styles.js';\n\n@customElement('u-container')\nexport class UmContainer extends GridBase {\n\n static override styles = [\n baseStyles,\n gridBaseStyles,\n styles\n ];\n\n override render(): HTMLTemplateResult {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'u-container': UmContainer;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.styles.d.ts","sourceRoot":"","sources":["../../src/container/container.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"container.styles.d.ts","sourceRoot":"","sources":["../../src/container/container.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBASlB,CAAC"}
|
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
2
|
export const styles = css `
|
|
3
|
-
:host {
|
|
4
|
-
--_grid-spacing-small: var(--u-spacing-sm, 8px);
|
|
5
|
-
--_grid-spacing-medium: var(--u-spacing-md, 16px);
|
|
6
|
-
--_grid-spacing-large: var(--u-spacing-lg, 24px);
|
|
7
|
-
--_grid-spacing-extra-large: var(--u-spacing-xl, 40px);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host([margin=none]) {
|
|
11
|
-
--_container-margin: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:host([margin=small]) {
|
|
15
|
-
--_container-margin: var(--u-container-margin, var(--_grid-spacing-small));
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
:host([margin=medium]) {
|
|
19
|
-
--_container-margin: var(--u-container-margin, var(--_grid-spacing-medium));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:host([margin=large]) {
|
|
23
|
-
--_container-margin: var(--u-container-margin, var(--_grid-spacing-large));
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
:host([margin=extra-large]) {
|
|
27
|
-
--_container-margin: var(--u-container-margin, var(--_grid-spacing-extra-large));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
3
|
:host {
|
|
31
4
|
display: block;
|
|
32
|
-
width: 100%;
|
|
33
|
-
max-width: var(--u-container-max-width, 992px);
|
|
34
|
-
margin-inline: auto;
|
|
35
|
-
padding: var(--_container-margin, var(--_grid-spacing-medium));
|
|
36
5
|
}
|
|
37
6
|
|
|
38
7
|
:host::after {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.styles.js","sourceRoot":"","sources":["../../src/container/container.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC
|
|
1
|
+
{"version":3,"file":"container.styles.js","sourceRoot":"","sources":["../../src/container/container.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;CASzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host {\n display: block;\n }\n\n :host::after {\n content: \"\";\n display: block;\n }\n`;\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type UmSpacingSizes = 'none' | 'small' | 'medium ' | 'large' | 'extra-large';
|
|
3
|
+
export declare abstract class GridBase extends LitElement {
|
|
4
|
+
margin: UmSpacingSizes | undefined;
|
|
5
|
+
marginSmall: UmSpacingSizes | undefined;
|
|
6
|
+
marginMedium: UmSpacingSizes | undefined;
|
|
7
|
+
marginLarge: UmSpacingSizes | undefined;
|
|
8
|
+
marginExtraLarge: UmSpacingSizes | undefined;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=grid-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-base.d.ts","sourceRoot":"","sources":["../../src/container/grid-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGjC,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,CAAC;AAEpF,8BAAsB,QAAS,SAAQ,UAAU;IAEpB,MAAM,EAAE,cAAc,GAAG,SAAS,CAAC;IACX,WAAW,EAAE,cAAc,GAAG,SAAS,CAAC;IACxC,YAAY,EAAE,cAAc,GAAG,SAAS,CAAC;IACzC,WAAW,EAAE,cAAc,GAAG,SAAS,CAAC;IACxC,gBAAgB,EAAE,cAAc,GAAG,SAAS,CAAC;CACjG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { LitElement } from 'lit';
|
|
8
|
+
import { property } from 'lit/decorators.js';
|
|
9
|
+
export class GridBase extends LitElement {
|
|
10
|
+
}
|
|
11
|
+
__decorate([
|
|
12
|
+
property({ reflect: true })
|
|
13
|
+
], GridBase.prototype, "margin", void 0);
|
|
14
|
+
__decorate([
|
|
15
|
+
property({ attribute: 'margin-sm', reflect: true })
|
|
16
|
+
], GridBase.prototype, "marginSmall", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
property({ attribute: 'margin-md', reflect: true })
|
|
19
|
+
], GridBase.prototype, "marginMedium", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
property({ attribute: 'margin-lg', reflect: true })
|
|
22
|
+
], GridBase.prototype, "marginLarge", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
property({ attribute: 'margin-xl', reflect: true })
|
|
25
|
+
], GridBase.prototype, "marginExtraLarge", void 0);
|
|
26
|
+
//# sourceMappingURL=grid-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-base.js","sourceRoot":"","sources":["../../src/container/grid-base.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,MAAM,OAAgB,QAAS,SAAQ,UAAU;CAOhD;AAL4B;IAA1B,QAAQ,CAAC,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC;wCAAoC;AACX;IAAlD,QAAQ,CAAC,EAAC,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;6CAAyC;AACxC;IAAlD,QAAQ,CAAC,EAAC,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;8CAA0C;AACzC;IAAlD,QAAQ,CAAC,EAAC,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;6CAAyC;AACxC;IAAlD,QAAQ,CAAC,EAAC,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;kDAA8C","sourcesContent":["import { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\nexport type UmSpacingSizes = 'none' | 'small' | 'medium ' | 'large' | 'extra-large';\n\nexport abstract class GridBase extends LitElement {\n\n @property({reflect: true}) margin: UmSpacingSizes | undefined;\n @property({attribute: 'margin-sm', reflect: true}) marginSmall: UmSpacingSizes | undefined;\n @property({attribute: 'margin-md', reflect: true}) marginMedium: UmSpacingSizes | undefined;\n @property({attribute: 'margin-lg', reflect: true}) marginLarge: UmSpacingSizes | undefined;\n @property({attribute: 'margin-xl', reflect: true}) marginExtraLarge: UmSpacingSizes | undefined;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-base.styles.d.ts","sourceRoot":"","sources":["../../src/container/grid-base.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBA4GlB,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
--_grid-spacing-sm: var(--u-spacing-sm, 8px);
|
|
5
|
+
--_grid-spacing-md: var(--u-spacing-md, 16px);
|
|
6
|
+
--_grid-spacing-lg: var(--u-spacing-lg, 24px);
|
|
7
|
+
--_grid-spacing-xl: var(--u-spacing-xl, 40px);
|
|
8
|
+
--_grid-spacing-default: var(--u-grid-spacing-default, var(--_grid-spacing-md));
|
|
9
|
+
--_grid-margin: var(--u-grid-margin-default, var(--_grid-spacing-default));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host([margin=none]) {
|
|
13
|
+
--_grid-margin: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host([margin=small]) {
|
|
17
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host([margin=medium]) {
|
|
21
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host([margin=large]) {
|
|
25
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([margin=extra-large]) {
|
|
29
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (min-width: 600px) {
|
|
33
|
+
:host([margin-sm=none]) {
|
|
34
|
+
--_grid-margin: 0;
|
|
35
|
+
}
|
|
36
|
+
:host([margin-sm=small]) {
|
|
37
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));
|
|
38
|
+
}
|
|
39
|
+
:host([margin-sm=medium]) {
|
|
40
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));
|
|
41
|
+
}
|
|
42
|
+
:host([margin-sm=large]) {
|
|
43
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));
|
|
44
|
+
}
|
|
45
|
+
:host([margin-sm=extra-large]) {
|
|
46
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
@media (min-width: 840px) {
|
|
50
|
+
:host([margin-md=none]) {
|
|
51
|
+
--_grid-margin: 0;
|
|
52
|
+
}
|
|
53
|
+
:host([margin-md=small]) {
|
|
54
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));
|
|
55
|
+
}
|
|
56
|
+
:host([margin-md=medium]) {
|
|
57
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));
|
|
58
|
+
}
|
|
59
|
+
:host([margin-md=large]) {
|
|
60
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));
|
|
61
|
+
}
|
|
62
|
+
:host([margin-md=extra-large]) {
|
|
63
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
@media (min-width: 1200px) {
|
|
67
|
+
:host([margin-lg=none]) {
|
|
68
|
+
--_grid-margin: 0;
|
|
69
|
+
}
|
|
70
|
+
:host([margin-lg=small]) {
|
|
71
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));
|
|
72
|
+
}
|
|
73
|
+
:host([margin-lg=medium]) {
|
|
74
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));
|
|
75
|
+
}
|
|
76
|
+
:host([margin-lg=large]) {
|
|
77
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));
|
|
78
|
+
}
|
|
79
|
+
:host([margin-lg=extra-large]) {
|
|
80
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@media (min-width: 1600px) {
|
|
84
|
+
:host([margin-xl=none]) {
|
|
85
|
+
--_grid-margin: 0;
|
|
86
|
+
}
|
|
87
|
+
:host([margin-xl=small]) {
|
|
88
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));
|
|
89
|
+
}
|
|
90
|
+
:host([margin-xl=medium]) {
|
|
91
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));
|
|
92
|
+
}
|
|
93
|
+
:host([margin-xl=large]) {
|
|
94
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));
|
|
95
|
+
}
|
|
96
|
+
:host([margin-xl=extra-large]) {
|
|
97
|
+
--_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
:host {
|
|
101
|
+
width: 100%;
|
|
102
|
+
max-width: var(--u-container-max-width, 992px);
|
|
103
|
+
margin-inline: auto;
|
|
104
|
+
padding: var(--u-grid-margin, var(--_grid-margin));
|
|
105
|
+
}
|
|
106
|
+
:host:host::after {
|
|
107
|
+
content: "";
|
|
108
|
+
display: block;
|
|
109
|
+
}
|
|
110
|
+
`;
|
|
111
|
+
//# sourceMappingURL=grid-base.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-base.styles.js","sourceRoot":"","sources":["../../src/container/grid-base.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4GzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host {\n --_grid-spacing-sm: var(--u-spacing-sm, 8px);\n --_grid-spacing-md: var(--u-spacing-md, 16px);\n --_grid-spacing-lg: var(--u-spacing-lg, 24px);\n --_grid-spacing-xl: var(--u-spacing-xl, 40px);\n --_grid-spacing-default: var(--u-grid-spacing-default, var(--_grid-spacing-md));\n --_grid-margin: var(--u-grid-margin-default, var(--_grid-spacing-default));\n }\n\n :host([margin=none]) {\n --_grid-margin: 0;\n }\n\n :host([margin=small]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));\n }\n\n :host([margin=medium]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));\n }\n\n :host([margin=large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));\n }\n\n :host([margin=extra-large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));\n }\n\n @media (min-width: 600px) {\n :host([margin-sm=none]) {\n --_grid-margin: 0;\n }\n :host([margin-sm=small]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));\n }\n :host([margin-sm=medium]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));\n }\n :host([margin-sm=large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));\n }\n :host([margin-sm=extra-large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));\n }\n }\n @media (min-width: 840px) {\n :host([margin-md=none]) {\n --_grid-margin: 0;\n }\n :host([margin-md=small]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));\n }\n :host([margin-md=medium]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));\n }\n :host([margin-md=large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));\n }\n :host([margin-md=extra-large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));\n }\n }\n @media (min-width: 1200px) {\n :host([margin-lg=none]) {\n --_grid-margin: 0;\n }\n :host([margin-lg=small]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));\n }\n :host([margin-lg=medium]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));\n }\n :host([margin-lg=large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));\n }\n :host([margin-lg=extra-large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));\n }\n }\n @media (min-width: 1600px) {\n :host([margin-xl=none]) {\n --_grid-margin: 0;\n }\n :host([margin-xl=small]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-sm));\n }\n :host([margin-xl=medium]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-md));\n }\n :host([margin-xl=large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-lg));\n }\n :host([margin-xl=extra-large]) {\n --_grid-margin: var(--u-grid-margin, var(--_grid-spacing-xl));\n }\n }\n :host {\n width: 100%;\n max-width: var(--u-container-max-width, 992px);\n margin-inline: auto;\n padding: var(--u-grid-margin, var(--_grid-margin));\n }\n :host:host::after {\n content: \"\";\n display: block;\n }\n`;\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HTMLTemplateResult } from 'lit';
|
|
2
|
+
import './container.js';
|
|
3
|
+
import { GridBase, UmSpacingSizes } from './grid-base.js';
|
|
4
|
+
export declare class UmGrid extends GridBase {
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
gutter: UmSpacingSizes | undefined;
|
|
7
|
+
gutterSmall: UmSpacingSizes | undefined;
|
|
8
|
+
gutterMedium: UmSpacingSizes | undefined;
|
|
9
|
+
gutterLarge: UmSpacingSizes | undefined;
|
|
10
|
+
gutterExtraLarge: UmSpacingSizes | undefined;
|
|
11
|
+
cols: number;
|
|
12
|
+
colsSmall: number | undefined;
|
|
13
|
+
colsMedium: number | undefined;
|
|
14
|
+
colsLarge: number | undefined;
|
|
15
|
+
colsExtraLarge: number | undefined;
|
|
16
|
+
templateColumns: number | undefined;
|
|
17
|
+
templateColumnsSmall: number | undefined;
|
|
18
|
+
templateColumnsMedium: number | undefined;
|
|
19
|
+
templateColumnsLarge: number | undefined;
|
|
20
|
+
templateColumnsExtraLarge: number | undefined;
|
|
21
|
+
render(): HTMLTemplateResult;
|
|
22
|
+
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
23
|
+
private setColumnsVariable;
|
|
24
|
+
private setTemplateColumnsVariable;
|
|
25
|
+
private setProperty;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'u-grid': UmGrid;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../src/container/grid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,kBAAkB,EAAE,MAAM,KAAK,CAAC;AAG/C,OAAO,gBAAgB,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAI1D,qBACa,MAAO,SAAQ,QAAQ;IAElC,OAAgB,MAAM,4BAIpB;IAEyB,MAAM,EAAE,cAAc,GAAG,SAAS,CAAC;IACX,WAAW,EAAE,cAAc,GAAG,SAAS,CAAC;IACxC,YAAY,EAAE,cAAc,GAAG,SAAS,CAAC;IACzC,WAAW,EAAE,cAAc,GAAG,SAAS,CAAC;IACxC,gBAAgB,EAAE,cAAc,GAAG,SAAS,CAAC;IAErE,IAAI,SAAK;IACa,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,eAAe,EAAE,MAAM,GAAG,SAAS,CAAa;IAC7C,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,yBAAyB,EAAE,MAAM,GAAG,SAAS,CAAC;IAElG,MAAM,IAAI,kBAAkB;IAI5B,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAczF,OAAO,CAAC,kBAAkB;IAS1B,OAAO,CAAC,0BAA0B;IAMlC,OAAO,CAAC,WAAW;CAQpB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF"}
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { html } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import './container.js';
|
|
10
|
+
import { styles as baseStyles } from '../shared/base.styles';
|
|
11
|
+
import { GridBase } from './grid-base.js';
|
|
12
|
+
import { styles as gridBaseStyles } from './grid-base.styles.js';
|
|
13
|
+
import { styles } from './grid.styles.js';
|
|
14
|
+
let UmGrid = class UmGrid extends GridBase {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
this.cols = 1;
|
|
18
|
+
this.templateColumns = undefined;
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return html `<slot></slot>`;
|
|
22
|
+
}
|
|
23
|
+
attributeChangedCallback(name, _old, value) {
|
|
24
|
+
super.attributeChangedCallback(name, _old, value);
|
|
25
|
+
if (name.startsWith('cols')) {
|
|
26
|
+
this.setColumnsVariable(name, value);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (name.startsWith('template-columns')) {
|
|
30
|
+
this.setTemplateColumnsVariable(name, value);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
setColumnsVariable(name, value) {
|
|
35
|
+
const propertyName = `--_${name}`;
|
|
36
|
+
this.setProperty(propertyName, value
|
|
37
|
+
? `repeat(${value}, minmax(0, 1fr))`
|
|
38
|
+
: null);
|
|
39
|
+
}
|
|
40
|
+
setTemplateColumnsVariable(name, value) {
|
|
41
|
+
const propertyName = `--_${name}`;
|
|
42
|
+
this.setProperty(propertyName, value);
|
|
43
|
+
}
|
|
44
|
+
setProperty(name, value) {
|
|
45
|
+
if (value) {
|
|
46
|
+
this.style.setProperty(name, value);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.style.removeProperty(name);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
UmGrid.styles = [
|
|
53
|
+
baseStyles,
|
|
54
|
+
gridBaseStyles,
|
|
55
|
+
styles
|
|
56
|
+
];
|
|
57
|
+
__decorate([
|
|
58
|
+
property({ reflect: true })
|
|
59
|
+
], UmGrid.prototype, "gutter", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
property({ attribute: 'gutter-sm', reflect: true })
|
|
62
|
+
], UmGrid.prototype, "gutterSmall", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
property({ attribute: 'gutter-md', reflect: true })
|
|
65
|
+
], UmGrid.prototype, "gutterMedium", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
property({ attribute: 'gutter-lg', reflect: true })
|
|
68
|
+
], UmGrid.prototype, "gutterLarge", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
property({ attribute: 'gutter-xl', reflect: true })
|
|
71
|
+
], UmGrid.prototype, "gutterExtraLarge", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
property({ reflect: true })
|
|
74
|
+
], UmGrid.prototype, "cols", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
property({ attribute: 'cols-sm', reflect: true })
|
|
77
|
+
], UmGrid.prototype, "colsSmall", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
property({ attribute: 'cols-md', reflect: true })
|
|
80
|
+
], UmGrid.prototype, "colsMedium", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
property({ attribute: 'cols-lg', reflect: true })
|
|
83
|
+
], UmGrid.prototype, "colsLarge", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
property({ attribute: 'cols-xl', reflect: true })
|
|
86
|
+
], UmGrid.prototype, "colsExtraLarge", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
property({ attribute: 'template-columns', reflect: true })
|
|
89
|
+
], UmGrid.prototype, "templateColumns", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
property({ attribute: 'template-columns-sm', reflect: true })
|
|
92
|
+
], UmGrid.prototype, "templateColumnsSmall", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
property({ attribute: 'template-columns-md', reflect: true })
|
|
95
|
+
], UmGrid.prototype, "templateColumnsMedium", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
property({ attribute: 'template-columns-lg', reflect: true })
|
|
98
|
+
], UmGrid.prototype, "templateColumnsLarge", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
property({ attribute: 'template-columns-xl', reflect: true })
|
|
101
|
+
], UmGrid.prototype, "templateColumnsExtraLarge", void 0);
|
|
102
|
+
UmGrid = __decorate([
|
|
103
|
+
customElement('u-grid')
|
|
104
|
+
], UmGrid);
|
|
105
|
+
export { UmGrid };
|
|
106
|
+
//# sourceMappingURL=grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.js","sourceRoot":"","sources":["../../src/container/grid.ts"],"names":[],"mappings":"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","sourcesContent":["import { html, HTMLTemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\n\nimport './container.js';\nimport { styles as baseStyles } from '../shared/base.styles';\nimport { GridBase, UmSpacingSizes } from './grid-base.js';\nimport { styles as gridBaseStyles } from './grid-base.styles.js';\nimport { styles } from './grid.styles.js';\n\n@customElement('u-grid')\nexport class UmGrid extends GridBase {\n\n static override styles = [\n baseStyles,\n gridBaseStyles,\n styles\n ];\n\n @property({reflect: true}) gutter: UmSpacingSizes | undefined;\n @property({attribute: 'gutter-sm', reflect: true}) gutterSmall: UmSpacingSizes | undefined;\n @property({attribute: 'gutter-md', reflect: true}) gutterMedium: UmSpacingSizes | undefined;\n @property({attribute: 'gutter-lg', reflect: true}) gutterLarge: UmSpacingSizes | undefined;\n @property({attribute: 'gutter-xl', reflect: true}) gutterExtraLarge: UmSpacingSizes | undefined;\n\n @property({reflect: true}) cols = 1;\n @property({attribute: 'cols-sm', reflect: true}) colsSmall: number | undefined;\n @property({attribute: 'cols-md', reflect: true}) colsMedium: number | undefined;\n @property({attribute: 'cols-lg', reflect: true}) colsLarge: number | undefined;\n @property({attribute: 'cols-xl', reflect: true}) colsExtraLarge: number | undefined;\n\n @property({attribute: 'template-columns', reflect: true}) templateColumns: number | undefined = undefined;\n @property({attribute: 'template-columns-sm', reflect: true}) templateColumnsSmall: number | undefined;\n @property({attribute: 'template-columns-md', reflect: true}) templateColumnsMedium: number | undefined;\n @property({attribute: 'template-columns-lg', reflect: true}) templateColumnsLarge: number | undefined;\n @property({attribute: 'template-columns-xl', reflect: true}) templateColumnsExtraLarge: number | undefined;\n\n override render(): HTMLTemplateResult {\n return html`<slot></slot>`;\n }\n\n override attributeChangedCallback(name: string, _old: string | null, value: string | null) {\n super.attributeChangedCallback(name, _old, value);\n\n if (name.startsWith('cols')) {\n this.setColumnsVariable(name, value);\n return;\n }\n\n if (name.startsWith('template-columns')) {\n this.setTemplateColumnsVariable(name, value);\n return;\n }\n }\n\n private setColumnsVariable(name: string, value: string | null): void {\n\n const propertyName = `--_${name}`;\n\n this.setProperty(propertyName, value\n ? `repeat(${value}, minmax(0, 1fr))`\n : null);\n }\n\n private setTemplateColumnsVariable(name: string, value: string | null): void {\n\n const propertyName = `--_${name}`;\n this.setProperty(propertyName, value);\n }\n\n private setProperty(name: string, value: string | null): void {\n if (value) {\n this.style.setProperty(name, value)\n return;\n }\n\n this.style.removeProperty(name);\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'u-grid': UmGrid;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.styles.d.ts","sourceRoot":"","sources":["../../src/container/grid.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAmIlB,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
--_grid-gutter: var(--u-grid-gutter-default, var(--u-grid-spacing-default, var(--_grid-spacing-default)));
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:host([gutter=none]) {
|
|
9
|
+
--_grid-gutter: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host([gutter=small]) {
|
|
13
|
+
--_grid-gutter: var(--_grid-spacing-sm);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host([gutter=medium]) {
|
|
17
|
+
--_grid-gutter: var(--_grid-spacing-md);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host([gutter=large]) {
|
|
21
|
+
--_grid-gutter: var(--_grid-spacing-lg);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host([gutter=extra-large]) {
|
|
25
|
+
--_grid-gutter: var(--_grid-spacing-xl);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([cols]) slot {
|
|
29
|
+
--_grid-template-columns: var(--_cols);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([template-columns]) slot {
|
|
33
|
+
--_grid-template-columns: var(--_template-columns);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (min-width: 600px) {
|
|
37
|
+
:host([gutter-sm=none]) {
|
|
38
|
+
--_grid-gutter: 0;
|
|
39
|
+
}
|
|
40
|
+
:host([gutter-sm=small]) {
|
|
41
|
+
--_grid-gutter: var(--_grid-spacing-sm);
|
|
42
|
+
}
|
|
43
|
+
:host([gutter-sm=medium]) {
|
|
44
|
+
--_grid-gutter: var(--_grid-spacing-md);
|
|
45
|
+
}
|
|
46
|
+
:host([gutter-sm=large]) {
|
|
47
|
+
--_grid-gutter: var(--_grid-spacing-lg);
|
|
48
|
+
}
|
|
49
|
+
:host([gutter-sm=extra-large]) {
|
|
50
|
+
--_grid-gutter: var(--_grid-spacing-xl);
|
|
51
|
+
}
|
|
52
|
+
:host([cols-sm]) slot {
|
|
53
|
+
--_grid-template-columns: var(--_cols-sm);
|
|
54
|
+
}
|
|
55
|
+
:host([template-columns-sm]) slot {
|
|
56
|
+
--_grid-template-columns: var(--_template-columns-sm);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
@media (min-width: 840px) {
|
|
60
|
+
:host([gutter-md=none]) {
|
|
61
|
+
--_grid-gutter: 0;
|
|
62
|
+
}
|
|
63
|
+
:host([gutter-md=small]) {
|
|
64
|
+
--_grid-gutter: var(--_grid-spacing-sm);
|
|
65
|
+
}
|
|
66
|
+
:host([gutter-md=medium]) {
|
|
67
|
+
--_grid-gutter: var(--_grid-spacing-md);
|
|
68
|
+
}
|
|
69
|
+
:host([gutter-md=large]) {
|
|
70
|
+
--_grid-gutter: var(--_grid-spacing-lg);
|
|
71
|
+
}
|
|
72
|
+
:host([gutter-md=extra-large]) {
|
|
73
|
+
--_grid-gutter: var(--_grid-spacing-xl);
|
|
74
|
+
}
|
|
75
|
+
:host([cols-md]) slot {
|
|
76
|
+
--_grid-template-columns: var(--_cols-md);
|
|
77
|
+
}
|
|
78
|
+
:host([template-columns-md]) slot {
|
|
79
|
+
--_grid-template-columns: var(--_template-columns-md);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
@media (min-width: 1200px) {
|
|
83
|
+
:host([gutter-lg=none]) {
|
|
84
|
+
--_grid-gutter: 0;
|
|
85
|
+
}
|
|
86
|
+
:host([gutter-lg=small]) {
|
|
87
|
+
--_grid-gutter: var(--_grid-spacing-sm);
|
|
88
|
+
}
|
|
89
|
+
:host([gutter-lg=medium]) {
|
|
90
|
+
--_grid-gutter: var(--_grid-spacing-md);
|
|
91
|
+
}
|
|
92
|
+
:host([gutter-lg=large]) {
|
|
93
|
+
--_grid-gutter: var(--_grid-spacing-lg);
|
|
94
|
+
}
|
|
95
|
+
:host([gutter-lg=extra-large]) {
|
|
96
|
+
--_grid-gutter: var(--_grid-spacing-xl);
|
|
97
|
+
}
|
|
98
|
+
:host([cols-lg]) slot {
|
|
99
|
+
--_grid-template-columns: var(--_cols-lg);
|
|
100
|
+
}
|
|
101
|
+
:host([template-columns-lg]) slot {
|
|
102
|
+
--_grid-template-columns: var(--_template-columns-lg);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
@media (min-width: 1600px) {
|
|
106
|
+
:host([gutter-xl=none]) {
|
|
107
|
+
--_grid-gutter: 0;
|
|
108
|
+
}
|
|
109
|
+
:host([gutter-xl=small]) {
|
|
110
|
+
--_grid-gutter: var(--_grid-spacing-sm);
|
|
111
|
+
}
|
|
112
|
+
:host([gutter-xl=medium]) {
|
|
113
|
+
--_grid-gutter: var(--_grid-spacing-md);
|
|
114
|
+
}
|
|
115
|
+
:host([gutter-xl=large]) {
|
|
116
|
+
--_grid-gutter: var(--_grid-spacing-lg);
|
|
117
|
+
}
|
|
118
|
+
:host([gutter-xl=extra-large]) {
|
|
119
|
+
--_grid-gutter: var(--_grid-spacing-xl);
|
|
120
|
+
}
|
|
121
|
+
:host([cols-xl]) slot {
|
|
122
|
+
--_grid-template-columns: var(--_cols-xl);
|
|
123
|
+
}
|
|
124
|
+
:host([template-columns-xl]) slot {
|
|
125
|
+
--_grid-template-columns: var(--_template-columns-xl);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
slot {
|
|
129
|
+
display: grid;
|
|
130
|
+
grid-template-columns: var(--_grid-template-columns);
|
|
131
|
+
gap: var(--u-grid-gutter, var(--_grid-gutter));
|
|
132
|
+
}
|
|
133
|
+
`;
|
|
134
|
+
//# sourceMappingURL=grid.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.styles.js","sourceRoot":"","sources":["../../src/container/grid.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host {\n display: block;\n --_grid-gutter: var(--u-grid-gutter-default, var(--u-grid-spacing-default, var(--_grid-spacing-default)));\n }\n\n :host([gutter=none]) {\n --_grid-gutter: 0;\n }\n\n :host([gutter=small]) {\n --_grid-gutter: var(--_grid-spacing-sm);\n }\n\n :host([gutter=medium]) {\n --_grid-gutter: var(--_grid-spacing-md);\n }\n\n :host([gutter=large]) {\n --_grid-gutter: var(--_grid-spacing-lg);\n }\n\n :host([gutter=extra-large]) {\n --_grid-gutter: var(--_grid-spacing-xl);\n }\n\n :host([cols]) slot {\n --_grid-template-columns: var(--_cols);\n }\n\n :host([template-columns]) slot {\n --_grid-template-columns: var(--_template-columns);\n }\n\n @media (min-width: 600px) {\n :host([gutter-sm=none]) {\n --_grid-gutter: 0;\n }\n :host([gutter-sm=small]) {\n --_grid-gutter: var(--_grid-spacing-sm);\n }\n :host([gutter-sm=medium]) {\n --_grid-gutter: var(--_grid-spacing-md);\n }\n :host([gutter-sm=large]) {\n --_grid-gutter: var(--_grid-spacing-lg);\n }\n :host([gutter-sm=extra-large]) {\n --_grid-gutter: var(--_grid-spacing-xl);\n }\n :host([cols-sm]) slot {\n --_grid-template-columns: var(--_cols-sm);\n }\n :host([template-columns-sm]) slot {\n --_grid-template-columns: var(--_template-columns-sm);\n }\n }\n @media (min-width: 840px) {\n :host([gutter-md=none]) {\n --_grid-gutter: 0;\n }\n :host([gutter-md=small]) {\n --_grid-gutter: var(--_grid-spacing-sm);\n }\n :host([gutter-md=medium]) {\n --_grid-gutter: var(--_grid-spacing-md);\n }\n :host([gutter-md=large]) {\n --_grid-gutter: var(--_grid-spacing-lg);\n }\n :host([gutter-md=extra-large]) {\n --_grid-gutter: var(--_grid-spacing-xl);\n }\n :host([cols-md]) slot {\n --_grid-template-columns: var(--_cols-md);\n }\n :host([template-columns-md]) slot {\n --_grid-template-columns: var(--_template-columns-md);\n }\n }\n @media (min-width: 1200px) {\n :host([gutter-lg=none]) {\n --_grid-gutter: 0;\n }\n :host([gutter-lg=small]) {\n --_grid-gutter: var(--_grid-spacing-sm);\n }\n :host([gutter-lg=medium]) {\n --_grid-gutter: var(--_grid-spacing-md);\n }\n :host([gutter-lg=large]) {\n --_grid-gutter: var(--_grid-spacing-lg);\n }\n :host([gutter-lg=extra-large]) {\n --_grid-gutter: var(--_grid-spacing-xl);\n }\n :host([cols-lg]) slot {\n --_grid-template-columns: var(--_cols-lg);\n }\n :host([template-columns-lg]) slot {\n --_grid-template-columns: var(--_template-columns-lg);\n }\n }\n @media (min-width: 1600px) {\n :host([gutter-xl=none]) {\n --_grid-gutter: 0;\n }\n :host([gutter-xl=small]) {\n --_grid-gutter: var(--_grid-spacing-sm);\n }\n :host([gutter-xl=medium]) {\n --_grid-gutter: var(--_grid-spacing-md);\n }\n :host([gutter-xl=large]) {\n --_grid-gutter: var(--_grid-spacing-lg);\n }\n :host([gutter-xl=extra-large]) {\n --_grid-gutter: var(--_grid-spacing-xl);\n }\n :host([cols-xl]) slot {\n --_grid-template-columns: var(--_cols-xl);\n }\n :host([template-columns-xl]) slot {\n --_grid-template-columns: var(--_template-columns-xl);\n }\n }\n slot {\n display: grid;\n grid-template-columns: var(--_grid-template-columns);\n gap: var(--u-grid-gutter, var(--_grid-gutter));\n }\n`;\n"]}
|
package/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import './button/button-set.js';
|
|
|
5
5
|
import './card/card.js';
|
|
6
6
|
import './checkbox/checkbox.js';
|
|
7
7
|
import './container/container.js';
|
|
8
|
+
import './container/grid.js';
|
|
8
9
|
import './divider/divider.js';
|
|
9
10
|
import './elevation/elevation.js';
|
|
10
11
|
import './ripple/ripple.js';
|
|
@@ -18,6 +19,8 @@ export * from './card/card.js';
|
|
|
18
19
|
export * from './card/card-content.js';
|
|
19
20
|
export * from './card/card-media.js';
|
|
20
21
|
export * from './checkbox/checkbox.js';
|
|
22
|
+
export * from './container/grid-base.js';
|
|
23
|
+
export * from './container/grid.js';
|
|
21
24
|
export * from './container/container.js';
|
|
22
25
|
export * from './divider/divider.js';
|
|
23
26
|
export * from './elevation/elevation.js';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,yBAAyB,CAAC;AACjC,OAAO,wBAAwB,CAAC;AAChC,OAAO,gBAAgB,CAAC;AACxB,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAClC,OAAO,sBAAsB,CAAC;AAC9B,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,kBAAkB,CAAC;AAE1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,yBAAyB,CAAC;AACjC,OAAO,wBAAwB,CAAC;AAChC,OAAO,gBAAgB,CAAC;AACxB,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAClC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,kBAAkB,CAAC;AAE1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC"}
|
package/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import './button/button-set.js';
|
|
|
5
5
|
import './card/card.js';
|
|
6
6
|
import './checkbox/checkbox.js';
|
|
7
7
|
import './container/container.js';
|
|
8
|
+
import './container/grid.js';
|
|
8
9
|
import './divider/divider.js';
|
|
9
10
|
import './elevation/elevation.js';
|
|
10
11
|
import './ripple/ripple.js';
|
|
@@ -18,6 +19,8 @@ export * from './card/card.js';
|
|
|
18
19
|
export * from './card/card-content.js';
|
|
19
20
|
export * from './card/card-media.js';
|
|
20
21
|
export * from './checkbox/checkbox.js';
|
|
22
|
+
export * from './container/grid-base.js';
|
|
23
|
+
export * from './container/grid.js';
|
|
21
24
|
export * from './container/container.js';
|
|
22
25
|
export * from './divider/divider.js';
|
|
23
26
|
export * from './elevation/elevation.js';
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,yBAAyB,CAAC;AACjC,OAAO,wBAAwB,CAAC;AAChC,OAAO,gBAAgB,CAAC;AACxB,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAClC,OAAO,sBAAsB,CAAC;AAC9B,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,kBAAkB,CAAC;AAE1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC","sourcesContent":["import './button/button.js';\nimport './button/fab.js';\nimport './button/icon-button.js';\nimport './button/button-set.js';\nimport './card/card.js';\nimport './checkbox/checkbox.js';\nimport './container/container.js';\nimport './divider/divider.js';\nimport './elevation/elevation.js';\nimport './ripple/ripple.js';\nimport './table/table.js';\n\nexport * from './button/button-base.js';\nexport * from './button/button.js';\nexport * from './button/fab.js';\nexport * from './button/icon-button.js';\nexport * from './button/button-set.js';\nexport * from './card/card.js';\nexport * from './card/card-content.js';\nexport * from './card/card-media.js';\nexport * from './checkbox/checkbox.js';\nexport * from './container/container.js';\nexport * from './divider/divider.js';\nexport * from './elevation/elevation.js';\nexport * from './ripple/ripple.js';\nexport * from './table/table.js';\nexport * from './theme/theme-builder.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,yBAAyB,CAAC;AACjC,OAAO,wBAAwB,CAAC;AAChC,OAAO,gBAAgB,CAAC;AACxB,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAClC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,kBAAkB,CAAC;AAE1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC","sourcesContent":["import './button/button.js';\nimport './button/fab.js';\nimport './button/icon-button.js';\nimport './button/button-set.js';\nimport './card/card.js';\nimport './checkbox/checkbox.js';\nimport './container/container.js';\nimport './container/grid.js';\nimport './divider/divider.js';\nimport './elevation/elevation.js';\nimport './ripple/ripple.js';\nimport './table/table.js';\n\nexport * from './button/button-base.js';\nexport * from './button/button.js';\nexport * from './button/fab.js';\nexport * from './button/icon-button.js';\nexport * from './button/button-set.js';\nexport * from './card/card.js';\nexport * from './card/card-content.js';\nexport * from './card/card-media.js';\nexport * from './checkbox/checkbox.js';\nexport * from './container/grid-base.js';\nexport * from './container/grid.js';\nexport * from './container/container.js';\nexport * from './divider/divider.js';\nexport * from './elevation/elevation.js';\nexport * from './ripple/ripple.js';\nexport * from './table/table.js';\nexport * from './theme/theme-builder.js';\n"]}
|