@nldd/design-system 0.8.37 → 0.8.39
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/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +1 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/components.js +1213 -856
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +28 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +40 -30
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +4 -0
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +15 -5
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +87 -19
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +14 -20
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +2 -2
- package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +19 -24
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +20 -40
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +18 -7
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +18 -7
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +6 -2
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +15 -3
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +15 -3
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +22 -8
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +3 -1
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/layout/app-view/app-view.d.ts +10 -1
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +52 -0
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +1 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +14 -0
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +0 -2
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +4 -0
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +39 -0
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +10 -8
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page/page.template.d.ts.map +1 -1
- package/dist/components/layout/page/page.template.js +12 -10
- package/dist/components/layout/page/page.template.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -2
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +8 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +28 -15
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +11 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +42 -13
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +11 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +42 -13
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +3 -2
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +8 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +34 -15
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +11 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +42 -14
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +42 -3
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +154 -6
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +41 -29
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +2 -0
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +8 -15
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +11 -75
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +3 -51
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js +7 -10
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +80 -67
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +0 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +1 -0
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +5 -0
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +0 -2
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +6 -0
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +29 -5
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +4 -0
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +1 -0
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.d.ts +1 -0
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +10 -1
- package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +10 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +29 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +16 -16
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +16 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +4 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/css/form.css +10 -28
- package/dist/css/rich-text.css +66 -18
- package/dist/css/settings.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.template.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page/page.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,wBAAgB,YAAY,CAAC,SAAS,EAAE,QAAQ,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"page.template.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page/page.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,wBAAgB,YAAY,CAAC,SAAS,EAAE,QAAQ,GAAG,cAAc,CAgBhE"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
2
|
export function pageTemplate(component) {
|
|
3
3
|
return html `
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
4
|
+
<div class="page">
|
|
5
|
+
<header class="page__header ${component._scrolled ? 'is-scrolled' : ''}">
|
|
6
|
+
<slot name="header"></slot>
|
|
7
|
+
</header>
|
|
8
|
+
<div class="page__scroll">
|
|
9
|
+
<main class="page__main">
|
|
10
|
+
<slot></slot>
|
|
11
|
+
</main>
|
|
12
|
+
<footer class="page__footer">
|
|
13
|
+
<slot name="footer"></slot>
|
|
14
|
+
</footer>
|
|
15
|
+
</div>
|
|
14
16
|
</div>
|
|
15
17
|
`;
|
|
16
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.template.js","sourceRoot":"","sources":["../../../../src/components/layout/page/page.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,YAAY,CAAC,SAAmB;IAC/C,OAAO,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"page.template.js","sourceRoot":"","sources":["../../../../src/components/layout/page/page.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,YAAY,CAAC,SAAmB;IAC/C,OAAO,IAAI,CAAA;;iCAEqB,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;;EAYvE,CAAC;AACH,CAAC"}
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
* @slot - Main content
|
|
12
12
|
* @slot footer - Content below the main content
|
|
13
13
|
*
|
|
14
|
-
* @attr {
|
|
14
|
+
* @attr {boolean} [full-width] - Remove the body max-width constraint so the
|
|
15
|
+
* section spans the full available width
|
|
15
16
|
*/
|
|
16
17
|
import { LitElement } from 'lit';
|
|
17
18
|
export declare class NLDDFullBleedSection extends LitElement {
|
|
18
19
|
static styles: import("lit").CSSResult;
|
|
19
|
-
|
|
20
|
+
fullWidth: boolean;
|
|
20
21
|
_onSlotChange(e: Event): void;
|
|
21
22
|
render(): import("lit-html").TemplateResult;
|
|
22
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,oBAAqB,SAAQ,UAAU;IACnD,OAAgB,MAAM,0BAA0B;IAGhD,SAAS,UAAS;IAElB,aAAa,CAAC,CAAC,EAAE,KAAK;IAMb,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,yBAAyB,EAAE,oBAAoB,CAAC;KAChD;CACD"}
|
|
@@ -17,13 +17,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
* @slot - Main content
|
|
18
18
|
* @slot footer - Content below the main content
|
|
19
19
|
*
|
|
20
|
-
* @attr {
|
|
20
|
+
* @attr {boolean} [full-width] - Remove the body max-width constraint so the
|
|
21
|
+
* section spans the full available width
|
|
21
22
|
*/
|
|
22
23
|
import { LitElement } from 'lit';
|
|
23
24
|
import { customElement, property } from 'lit/decorators.js';
|
|
24
25
|
import { fullBleedSectionStyles } from './full-bleed-section.styles.js';
|
|
25
26
|
import { fullBleedSectionTemplate } from './full-bleed-section.template.js';
|
|
26
27
|
let NLDDFullBleedSection = class NLDDFullBleedSection extends LitElement {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
this.fullWidth = false;
|
|
31
|
+
}
|
|
27
32
|
_onSlotChange(e) {
|
|
28
33
|
const slot = e.target;
|
|
29
34
|
const wrapper = slot.parentElement;
|
|
@@ -35,8 +40,8 @@ let NLDDFullBleedSection = class NLDDFullBleedSection extends LitElement {
|
|
|
35
40
|
};
|
|
36
41
|
NLDDFullBleedSection.styles = fullBleedSectionStyles;
|
|
37
42
|
__decorate([
|
|
38
|
-
property({ type:
|
|
39
|
-
], NLDDFullBleedSection.prototype, "
|
|
43
|
+
property({ type: Boolean, reflect: true, attribute: 'full-width' })
|
|
44
|
+
], NLDDFullBleedSection.prototype, "fullWidth", void 0);
|
|
40
45
|
NLDDFullBleedSection = __decorate([
|
|
41
46
|
customElement('nldd-full-bleed-section')
|
|
42
47
|
], NLDDFullBleedSection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAGrE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,UAAU;IAA7C;;QAIN,cAAS,GAAG,KAAK,CAAC;IAWnB,CAAC;IATA,aAAa,CAAC,CAAQ;QACrB,MAAM,IAAI,GAAG,CAAC,CAAC,MAAyB,CAAC;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,aAA4B,CAAC;QAClD,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC;IACvD,CAAC;IAEQ,MAAM;QACd,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;;AAbe,2BAAM,GAAG,sBAAsB,AAAzB,CAA0B;AAGhD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;uDAClD;AAJN,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAehC"}
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"full-bleed-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,sBAAsB,yBAqHlC,CAAC"}
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
import { breakpoints } from '../../../../assets/styles/breakpoints.js';
|
|
3
|
+
const smMax = unsafeCSS(breakpoints.smMax);
|
|
3
4
|
const mdMin = unsafeCSS(breakpoints.mdMin);
|
|
5
|
+
const mdMax = unsafeCSS(breakpoints.mdMax);
|
|
4
6
|
const lgMin = unsafeCSS(breakpoints.lgMin);
|
|
5
7
|
export const fullBleedSectionStyles = css `
|
|
6
8
|
|
|
@@ -11,6 +13,8 @@ export const fullBleedSectionStyles = css `
|
|
|
11
13
|
zonder layout-area dient @media als fallback. */
|
|
12
14
|
|
|
13
15
|
:host {
|
|
16
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
17
|
+
|
|
14
18
|
display: flex;
|
|
15
19
|
flex-direction: column;
|
|
16
20
|
align-items: center;
|
|
@@ -21,13 +25,12 @@ export const fullBleedSectionStyles = css `
|
|
|
21
25
|
display: none;
|
|
22
26
|
}
|
|
23
27
|
|
|
24
|
-
:host([
|
|
25
|
-
|
|
28
|
+
:host([full-width]) {
|
|
29
|
+
--_max-width: none;
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
|
|
29
|
-
/* # Block
|
|
30
|
-
@container layout-area (heeft voorrang binnen layout-area). */
|
|
33
|
+
/* # Block */
|
|
31
34
|
|
|
32
35
|
.full-bleed-section {
|
|
33
36
|
display: flex;
|
|
@@ -35,9 +38,12 @@ export const fullBleedSectionStyles = css `
|
|
|
35
38
|
flex-grow: 1;
|
|
36
39
|
width: 100%;
|
|
37
40
|
box-sizing: border-box;
|
|
38
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
39
41
|
|
|
40
|
-
@media (
|
|
42
|
+
@media (max-width: ${smMax}) {
|
|
43
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
41
47
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
42
48
|
}
|
|
43
49
|
|
|
@@ -45,7 +51,11 @@ export const fullBleedSectionStyles = css `
|
|
|
45
51
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
46
52
|
}
|
|
47
53
|
|
|
48
|
-
@container layout-area (
|
|
54
|
+
@container layout-area (max-width: ${smMax}) {
|
|
55
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
49
59
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
50
60
|
}
|
|
51
61
|
|
|
@@ -69,9 +79,13 @@ export const fullBleedSectionStyles = css `
|
|
|
69
79
|
flex-direction: column;
|
|
70
80
|
flex-grow: 1;
|
|
71
81
|
width: 100%;
|
|
72
|
-
|
|
82
|
+
max-width: var(--_max-width);
|
|
73
83
|
|
|
74
|
-
@media (
|
|
84
|
+
@media (max-width: ${smMax}) {
|
|
85
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
75
89
|
gap: var(--semantics-page-sections-md-gap);
|
|
76
90
|
}
|
|
77
91
|
|
|
@@ -79,7 +93,11 @@ export const fullBleedSectionStyles = css `
|
|
|
79
93
|
gap: var(--semantics-page-sections-lg-gap);
|
|
80
94
|
}
|
|
81
95
|
|
|
82
|
-
@container layout-area (
|
|
96
|
+
@container layout-area (max-width: ${smMax}) {
|
|
97
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
83
101
|
gap: var(--semantics-page-sections-md-gap);
|
|
84
102
|
}
|
|
85
103
|
|
|
@@ -103,10 +121,5 @@ export const fullBleedSectionStyles = css `
|
|
|
103
121
|
flex-direction: column;
|
|
104
122
|
flex-grow: 1;
|
|
105
123
|
}
|
|
106
|
-
|
|
107
|
-
:host([align="center"]) .full-bleed-section__main {
|
|
108
|
-
justify-content: center;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
124
|
`;
|
|
112
125
|
//# sourceMappingURL=full-bleed-section.styles.js.map
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmClB,KAAK;;;;uBAIL,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK;;;;;;;;;;;;;;;;;;;;;;uBAsBrB,KAAK;;;;uBAIL,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK
|
|
1
|
+
{"version":3,"file":"full-bleed-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmClB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;;;;;;;;;;;uBAsBrB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;;;;;;;;;CAoB3C,CAAC"}
|
|
@@ -12,10 +12,14 @@
|
|
|
12
12
|
* @slot left - Left column (1/2)
|
|
13
13
|
* @slot right - Right column (1/2)
|
|
14
14
|
* @slot footer - Content below the columns
|
|
15
|
+
*
|
|
16
|
+
* @attr {boolean} [full-width] - Remove the body max-width constraint so the
|
|
17
|
+
* section spans the full available width
|
|
15
18
|
*/
|
|
16
19
|
import { LitElement } from 'lit';
|
|
17
20
|
export declare class NLDDOneHalfOneHalfSection extends LitElement {
|
|
18
21
|
static styles: import("lit").CSSResult;
|
|
22
|
+
fullWidth: boolean;
|
|
19
23
|
render(): import("lit-html").TemplateResult;
|
|
20
24
|
}
|
|
21
25
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,yBAA0B,SAAQ,UAAU;IACxD,OAAgB,MAAM,0BAA+B;IAGrD,SAAS,UAAS;IAET,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gCAAgC,EAAE,yBAAyB,CAAC;KAC5D;CACD"}
|
package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js
CHANGED
|
@@ -18,17 +18,27 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
* @slot left - Left column (1/2)
|
|
19
19
|
* @slot right - Right column (1/2)
|
|
20
20
|
* @slot footer - Content below the columns
|
|
21
|
+
*
|
|
22
|
+
* @attr {boolean} [full-width] - Remove the body max-width constraint so the
|
|
23
|
+
* section spans the full available width
|
|
21
24
|
*/
|
|
22
25
|
import { LitElement } from 'lit';
|
|
23
|
-
import { customElement } from 'lit/decorators.js';
|
|
26
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
24
27
|
import { oneHalfOneHalfSectionStyles } from './one-half-one-half-section.styles.js';
|
|
25
28
|
import { oneHalfOneHalfSectionTemplate } from './one-half-one-half-section.template.js';
|
|
26
29
|
let NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends LitElement {
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments);
|
|
32
|
+
this.fullWidth = false;
|
|
33
|
+
}
|
|
27
34
|
render() {
|
|
28
35
|
return oneHalfOneHalfSectionTemplate(this);
|
|
29
36
|
}
|
|
30
37
|
};
|
|
31
38
|
NLDDOneHalfOneHalfSection.styles = oneHalfOneHalfSectionStyles;
|
|
39
|
+
__decorate([
|
|
40
|
+
property({ type: Boolean, reflect: true, attribute: 'full-width' })
|
|
41
|
+
], NLDDOneHalfOneHalfSection.prototype, "fullWidth", void 0);
|
|
32
42
|
NLDDOneHalfOneHalfSection = __decorate([
|
|
33
43
|
customElement('nldd-one-half-one-half-section')
|
|
34
44
|
], NLDDOneHalfOneHalfSection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAGjF,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,UAAU;IAAlD;;QAIN,cAAS,GAAG,KAAK,CAAC;IAKnB,CAAC;IAHS,MAAM;QACd,OAAO,6BAA6B,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;;AAPe,gCAAM,GAAG,2BAA2B,AAA9B,CAA+B;AAGrD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;4DAClD;AAJN,yBAAyB;IADrC,aAAa,CAAC,gCAAgC,CAAC;GACnC,yBAAyB,CASrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,2BAA2B,yBA6IvC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
import { breakpoints } from '../../../../assets/styles/breakpoints.js';
|
|
3
|
+
const smMax = unsafeCSS(breakpoints.smMax);
|
|
3
4
|
const mdMin = unsafeCSS(breakpoints.mdMin);
|
|
5
|
+
const mdMax = unsafeCSS(breakpoints.mdMax);
|
|
4
6
|
const lgMin = unsafeCSS(breakpoints.lgMin);
|
|
5
7
|
export const oneHalfOneHalfSectionStyles = css `
|
|
6
8
|
|
|
@@ -11,6 +13,8 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
11
13
|
zonder layout-area dient @media als fallback. */
|
|
12
14
|
|
|
13
15
|
:host {
|
|
16
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
17
|
+
|
|
14
18
|
display: flex;
|
|
15
19
|
flex-direction: column;
|
|
16
20
|
align-items: center;
|
|
@@ -21,9 +25,12 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
21
25
|
display: none;
|
|
22
26
|
}
|
|
23
27
|
|
|
28
|
+
:host([full-width]) {
|
|
29
|
+
--_max-width: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
24
32
|
|
|
25
|
-
/* # Block
|
|
26
|
-
@container layout-area (heeft voorrang binnen layout-area). */
|
|
33
|
+
/* # Block */
|
|
27
34
|
|
|
28
35
|
.one-half-one-half-section {
|
|
29
36
|
display: flex;
|
|
@@ -31,10 +38,13 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
31
38
|
align-items: center;
|
|
32
39
|
width: 100%;
|
|
33
40
|
box-sizing: border-box;
|
|
34
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
35
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
36
41
|
|
|
37
|
-
@media (
|
|
42
|
+
@media (max-width: ${smMax}) {
|
|
43
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
44
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
38
48
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
39
49
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
40
50
|
}
|
|
@@ -44,7 +54,12 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
44
54
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
45
55
|
}
|
|
46
56
|
|
|
47
|
-
@container layout-area (
|
|
57
|
+
@container layout-area (max-width: ${smMax}) {
|
|
58
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
59
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
48
63
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
49
64
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
50
65
|
}
|
|
@@ -62,10 +77,13 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
62
77
|
display: flex;
|
|
63
78
|
flex-direction: column;
|
|
64
79
|
width: 100%;
|
|
65
|
-
max-width: var(--
|
|
66
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
80
|
+
max-width: var(--_max-width);
|
|
67
81
|
|
|
68
|
-
@media (
|
|
82
|
+
@media (max-width: ${smMax}) {
|
|
83
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
69
87
|
gap: var(--semantics-page-sections-md-gap);
|
|
70
88
|
}
|
|
71
89
|
|
|
@@ -73,7 +91,11 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
73
91
|
gap: var(--semantics-page-sections-lg-gap);
|
|
74
92
|
}
|
|
75
93
|
|
|
76
|
-
@container layout-area (
|
|
94
|
+
@container layout-area (max-width: ${smMax}) {
|
|
95
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
77
99
|
gap: var(--semantics-page-sections-md-gap);
|
|
78
100
|
}
|
|
79
101
|
|
|
@@ -88,9 +110,12 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
88
110
|
.one-half-one-half-section__columns {
|
|
89
111
|
display: flex;
|
|
90
112
|
flex-wrap: wrap;
|
|
91
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
92
113
|
|
|
93
|
-
@media (
|
|
114
|
+
@media (max-width: ${smMax}) {
|
|
115
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
94
119
|
gap: var(--semantics-page-sections-md-gap);
|
|
95
120
|
}
|
|
96
121
|
|
|
@@ -98,7 +123,11 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
98
123
|
gap: var(--semantics-page-sections-lg-gap);
|
|
99
124
|
}
|
|
100
125
|
|
|
101
|
-
@container layout-area (
|
|
126
|
+
@container layout-area (max-width: ${smMax}) {
|
|
127
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
102
131
|
gap: var(--semantics-page-sections-md-gap);
|
|
103
132
|
}
|
|
104
133
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmCvB,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;uCAKW,KAAK;;;;;uCAKL,KAAK,qBAAqB,KAAK;;;;;uCAK/B,KAAK;;;;;;;;;;;;;;;uBAerB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;uBAYrB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;;;CAc3C,CAAC"}
|
|
@@ -12,10 +12,14 @@
|
|
|
12
12
|
* @slot - Right column (2/3), alternative for slot="right"
|
|
13
13
|
* @slot right - Right column (2/3)
|
|
14
14
|
* @slot footer - Content below the columns
|
|
15
|
+
*
|
|
16
|
+
* @attr {boolean} [full-width] - Remove the body max-width constraint so the
|
|
17
|
+
* section spans the full available width
|
|
15
18
|
*/
|
|
16
19
|
import { LitElement } from 'lit';
|
|
17
20
|
export declare class NLDDOneThirdTwoThirdsSection extends LitElement {
|
|
18
21
|
static styles: import("lit").CSSResult;
|
|
22
|
+
fullWidth: boolean;
|
|
19
23
|
render(): import("lit-html").TemplateResult;
|
|
20
24
|
}
|
|
21
25
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,4BAA6B,SAAQ,UAAU;IAC3D,OAAgB,MAAM,0BAAkC;IAGxD,SAAS,UAAS;IAET,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mCAAmC,EAAE,4BAA4B,CAAC;KAClE;CACD"}
|
|
@@ -18,17 +18,27 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
* @slot - Right column (2/3), alternative for slot="right"
|
|
19
19
|
* @slot right - Right column (2/3)
|
|
20
20
|
* @slot footer - Content below the columns
|
|
21
|
+
*
|
|
22
|
+
* @attr {boolean} [full-width] - Remove the body max-width constraint so the
|
|
23
|
+
* section spans the full available width
|
|
21
24
|
*/
|
|
22
25
|
import { LitElement } from 'lit';
|
|
23
|
-
import { customElement } from 'lit/decorators.js';
|
|
26
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
24
27
|
import { oneThirdTwoThirdsSectionStyles } from './one-third-two-thirds-section.styles.js';
|
|
25
28
|
import { oneThirdTwoThirdsSectionTemplate } from './one-third-two-thirds-section.template.js';
|
|
26
29
|
let NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends LitElement {
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments);
|
|
32
|
+
this.fullWidth = false;
|
|
33
|
+
}
|
|
27
34
|
render() {
|
|
28
35
|
return oneThirdTwoThirdsSectionTemplate(this);
|
|
29
36
|
}
|
|
30
37
|
};
|
|
31
38
|
NLDDOneThirdTwoThirdsSection.styles = oneThirdTwoThirdsSectionStyles;
|
|
39
|
+
__decorate([
|
|
40
|
+
property({ type: Boolean, reflect: true, attribute: 'full-width' })
|
|
41
|
+
], NLDDOneThirdTwoThirdsSection.prototype, "fullWidth", void 0);
|
|
32
42
|
NLDDOneThirdTwoThirdsSection = __decorate([
|
|
33
43
|
customElement('nldd-one-third-two-thirds-section')
|
|
34
44
|
], NLDDOneThirdTwoThirdsSection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,UAAU;IAArD;;QAIN,cAAS,GAAG,KAAK,CAAC;IAKnB,CAAC;IAHS,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAPe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAGxD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;+DAClD;AAJN,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CASxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,8BAA8B,yBA6I1C,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
import { breakpoints } from '../../../../assets/styles/breakpoints.js';
|
|
3
|
+
const smMax = unsafeCSS(breakpoints.smMax);
|
|
3
4
|
const mdMin = unsafeCSS(breakpoints.mdMin);
|
|
5
|
+
const mdMax = unsafeCSS(breakpoints.mdMax);
|
|
4
6
|
const lgMin = unsafeCSS(breakpoints.lgMin);
|
|
5
7
|
export const oneThirdTwoThirdsSectionStyles = css `
|
|
6
8
|
|
|
@@ -11,6 +13,8 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
11
13
|
zonder layout-area dient @media als fallback. */
|
|
12
14
|
|
|
13
15
|
:host {
|
|
16
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
17
|
+
|
|
14
18
|
display: flex;
|
|
15
19
|
flex-direction: column;
|
|
16
20
|
align-items: center;
|
|
@@ -21,9 +25,12 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
21
25
|
display: none;
|
|
22
26
|
}
|
|
23
27
|
|
|
28
|
+
:host([full-width]) {
|
|
29
|
+
--_max-width: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
24
32
|
|
|
25
|
-
/* # Block
|
|
26
|
-
@container layout-area (heeft voorrang binnen layout-area). */
|
|
33
|
+
/* # Block */
|
|
27
34
|
|
|
28
35
|
.one-third-two-thirds-section {
|
|
29
36
|
display: flex;
|
|
@@ -31,10 +38,13 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
31
38
|
align-items: center;
|
|
32
39
|
width: 100%;
|
|
33
40
|
box-sizing: border-box;
|
|
34
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
35
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
36
41
|
|
|
37
|
-
@media (
|
|
42
|
+
@media (max-width: ${smMax}) {
|
|
43
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
44
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
38
48
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
39
49
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
40
50
|
}
|
|
@@ -44,7 +54,12 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
44
54
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
45
55
|
}
|
|
46
56
|
|
|
47
|
-
@container layout-area (
|
|
57
|
+
@container layout-area (max-width: ${smMax}) {
|
|
58
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
59
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
48
63
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
49
64
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
50
65
|
}
|
|
@@ -62,10 +77,13 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
62
77
|
display: flex;
|
|
63
78
|
flex-direction: column;
|
|
64
79
|
width: 100%;
|
|
65
|
-
max-width: var(--
|
|
66
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
80
|
+
max-width: var(--_max-width);
|
|
67
81
|
|
|
68
|
-
@media (
|
|
82
|
+
@media (max-width: ${smMax}) {
|
|
83
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
69
87
|
gap: var(--semantics-page-sections-md-gap);
|
|
70
88
|
}
|
|
71
89
|
|
|
@@ -73,7 +91,11 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
73
91
|
gap: var(--semantics-page-sections-lg-gap);
|
|
74
92
|
}
|
|
75
93
|
|
|
76
|
-
@container layout-area (
|
|
94
|
+
@container layout-area (max-width: ${smMax}) {
|
|
95
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
77
99
|
gap: var(--semantics-page-sections-md-gap);
|
|
78
100
|
}
|
|
79
101
|
|
|
@@ -88,9 +110,12 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
88
110
|
.one-third-two-thirds-section__columns {
|
|
89
111
|
display: flex;
|
|
90
112
|
flex-wrap: wrap;
|
|
91
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
92
113
|
|
|
93
|
-
@media (
|
|
114
|
+
@media (max-width: ${smMax}) {
|
|
115
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
94
119
|
gap: var(--semantics-page-sections-md-gap);
|
|
95
120
|
}
|
|
96
121
|
|
|
@@ -98,7 +123,11 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
98
123
|
gap: var(--semantics-page-sections-lg-gap);
|
|
99
124
|
}
|
|
100
125
|
|
|
101
|
-
@container layout-area (
|
|
126
|
+
@container layout-area (max-width: ${smMax}) {
|
|
127
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
102
131
|
gap: var(--semantics-page-sections-md-gap);
|
|
103
132
|
}
|
|
104
133
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmC1B,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;uCAKW,KAAK;;;;;uCAKL,KAAK,qBAAqB,KAAK;;;;;uCAK/B,KAAK;;;;;;;;;;;;;;;uBAerB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;uBAYrB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;;;CAc3C,CAAC"}
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
* @slot - Main content
|
|
12
12
|
* @slot footer - Content below the main content
|
|
13
13
|
*
|
|
14
|
-
* @attr {
|
|
14
|
+
* @attr {boolean} [full-width] - Remove the body max-width constraint so the
|
|
15
|
+
* section spans the full available width
|
|
15
16
|
*/
|
|
16
17
|
import { LitElement } from 'lit';
|
|
17
18
|
export declare class NLDDSimpleSection extends LitElement {
|
|
18
19
|
static styles: import("lit").CSSResult;
|
|
19
|
-
|
|
20
|
+
fullWidth: boolean;
|
|
20
21
|
_onSlotChange(e: Event): void;
|
|
21
22
|
render(): import("lit-html").TemplateResult;
|
|
22
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"simple-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,iBAAkB,SAAQ,UAAU;IAChD,OAAgB,MAAM,0BAAuB;IAG7C,SAAS,UAAS;IAElB,aAAa,CAAC,CAAC,EAAE,KAAK;IAMb,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,iBAAiB,CAAC;KACzC;CACD"}
|