@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.
Files changed (164) hide show
  1. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  2. package/dist/components/actions/button/button.styles.js +1 -0
  3. package/dist/components/actions/button/button.styles.js.map +1 -1
  4. package/dist/components/components.js +1213 -856
  5. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  6. package/dist/components/content/icon/icon-aliases.js +28 -0
  7. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  8. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  9. package/dist/components/content/icon/icon-registry.js +40 -30
  10. package/dist/components/content/icon/icon-registry.js.map +1 -1
  11. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  12. package/dist/components/content/title/title.styles.js +4 -0
  13. package/dist/components/content/title/title.styles.js.map +1 -1
  14. package/dist/components/content/tooltip/tooltip.d.ts +15 -5
  15. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  16. package/dist/components/content/tooltip/tooltip.js +87 -19
  17. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  18. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  19. package/dist/components/content/tooltip/tooltip.styles.js +14 -20
  20. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  21. package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
  22. package/dist/components/content/tooltip/tooltip.template.js +2 -2
  23. package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
  24. package/dist/components/forms/form/form.d.ts +19 -24
  25. package/dist/components/forms/form/form.d.ts.map +1 -1
  26. package/dist/components/forms/form/form.js +20 -40
  27. package/dist/components/forms/form/form.js.map +1 -1
  28. package/dist/components/forms/form-actions/form-actions.d.ts +18 -7
  29. package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
  30. package/dist/components/forms/form-actions/form-actions.js +18 -7
  31. package/dist/components/forms/form-actions/form-actions.js.map +1 -1
  32. package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
  33. package/dist/components/forms/form-actions/form-actions.styles.js +6 -2
  34. package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
  35. package/dist/components/forms/form-field/form-field.d.ts +15 -3
  36. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  37. package/dist/components/forms/form-field/form-field.js +15 -3
  38. package/dist/components/forms/form-field/form-field.js.map +1 -1
  39. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  40. package/dist/components/forms/form-field/form-field.styles.js +22 -8
  41. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  42. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  43. package/dist/components/inputs/search-field/search-field.styles.js +3 -1
  44. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  45. package/dist/components/layout/app-view/app-view.d.ts +10 -1
  46. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  47. package/dist/components/layout/app-view/app-view.js +52 -0
  48. package/dist/components/layout/app-view/app-view.js.map +1 -1
  49. package/dist/components/layout/card/card.d.ts +1 -0
  50. package/dist/components/layout/card/card.d.ts.map +1 -1
  51. package/dist/components/layout/card/card.js +14 -0
  52. package/dist/components/layout/card/card.js.map +1 -1
  53. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  54. package/dist/components/layout/card/card.styles.js +0 -2
  55. package/dist/components/layout/card/card.styles.js.map +1 -1
  56. package/dist/components/layout/page/page.d.ts +4 -0
  57. package/dist/components/layout/page/page.d.ts.map +1 -1
  58. package/dist/components/layout/page/page.js +39 -0
  59. package/dist/components/layout/page/page.js.map +1 -1
  60. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  61. package/dist/components/layout/page/page.styles.js +10 -8
  62. package/dist/components/layout/page/page.styles.js.map +1 -1
  63. package/dist/components/layout/page/page.template.d.ts.map +1 -1
  64. package/dist/components/layout/page/page.template.js +12 -10
  65. package/dist/components/layout/page/page.template.js.map +1 -1
  66. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -2
  67. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  68. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +8 -3
  69. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  70. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  71. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +28 -15
  72. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  73. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -0
  74. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  75. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +11 -1
  76. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  77. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  78. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +42 -13
  79. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  80. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -0
  81. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  82. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +11 -1
  83. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  84. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  85. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +42 -13
  86. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  87. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +3 -2
  88. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  89. package/dist/components/layout/page-sections/simple-section/simple-section.js +8 -3
  90. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  91. package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
  92. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +34 -15
  93. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  94. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
  95. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  96. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +11 -1
  97. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  98. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  99. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +42 -14
  100. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  101. package/dist/components/layout/popover/popover.d.ts +42 -3
  102. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  103. package/dist/components/layout/popover/popover.js +154 -6
  104. package/dist/components/layout/popover/popover.js.map +1 -1
  105. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  106. package/dist/components/layout/popover/popover.styles.js +41 -29
  107. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  108. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  109. package/dist/components/layout/sheet/sheet.js +2 -0
  110. package/dist/components/layout/sheet/sheet.js.map +1 -1
  111. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +8 -15
  112. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  113. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +11 -75
  114. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  115. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
  116. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +3 -51
  117. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
  118. package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.d.ts.map +1 -1
  119. package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js +7 -10
  120. package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js.map +1 -1
  121. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  122. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +80 -67
  123. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  124. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
  125. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +0 -2
  126. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
  127. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +1 -0
  128. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  129. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +5 -0
  130. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  131. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
  132. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +0 -2
  133. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
  134. package/dist/components/layout/window/window.d.ts +6 -0
  135. package/dist/components/layout/window/window.d.ts.map +1 -1
  136. package/dist/components/layout/window/window.js +29 -5
  137. package/dist/components/layout/window/window.js.map +1 -1
  138. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  139. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +4 -0
  140. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
  141. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  142. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +1 -0
  143. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
  144. package/dist/components/lists-and-menus/menu/menu.d.ts +1 -0
  145. package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
  146. package/dist/components/lists-and-menus/menu/menu.js +10 -1
  147. package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
  148. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +10 -0
  149. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  150. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +29 -0
  151. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  152. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +16 -16
  153. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  154. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
  155. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  156. package/dist/components/navigation/top-title-bar/top-title-bar.js +16 -0
  157. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  158. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
  159. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +4 -0
  160. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
  161. package/dist/css/form.css +10 -28
  162. package/dist/css/rich-text.css +66 -18
  163. package/dist/css/settings.css +1 -1
  164. 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,CAchE"}
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
- <header class="page__header ${component._scrolled ? 'is-scrolled' : ''}">
5
- <slot name="header"></slot>
6
- </header>
7
- <div class="page__scroll">
8
- <main class="page__main">
9
- <slot></slot>
10
- </main>
11
- <footer class="page__footer">
12
- <slot name="footer"></slot>
13
- </footer>
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;gCACoB,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;EAWtE,CAAC;AACH,CAAC"}
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 {string} [align] - Set to "center" to vertically center section content
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
- align?: string;
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;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,oBAAqB,SAAQ,UAAU;IACnD,OAAgB,MAAM,0BAA0B;IAGhD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,aAAa,CAAC,CAAC,EAAE,KAAK;IAMb,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,yBAAyB,EAAE,oBAAoB,CAAC;KAChD;CACD"}
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 {string} [align] - Set to "center" to vertically center section content
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: String, reflect: true })
39
- ], NLDDFullBleedSection.prototype, "align", void 0);
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;;;;;;;;;;;;;;GAcG;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;IAMnD,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,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAC3B;AAJH,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAehC"}
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"}
@@ -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":"AAMA,eAAO,MAAM,sBAAsB,yBA0GlC,CAAC"}
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"}
@@ -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([align="center"]) {
25
- flex-grow: 1;
28
+ :host([full-width]) {
29
+ --_max-width: none;
26
30
  }
27
31
 
28
32
 
29
- /* # Block — sm = base; md/lg via @media (fallback) en
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 (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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
- gap: var(--semantics-page-sections-sm-gap);
82
+ max-width: var(--_max-width);
73
83
 
74
- @media (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;CAyB3C,CAAC"}
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;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,yBAA0B,SAAQ,UAAU;IACxD,OAAgB,MAAM,0BAA+B;IAE5C,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gCAAgC,EAAE,yBAAyB,CAAC;KAC5D;CACD"}
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"}
@@ -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;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAGjF,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,UAAU;IAG/C,MAAM;QACd,OAAO,6BAA6B,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;;AAJe,gCAAM,GAAG,2BAA2B,AAA9B,CAA+B;AADzC,yBAAyB;IADrC,aAAa,CAAC,gCAAgC,CAAC;GACnC,yBAAyB,CAMrC"}
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":"AAMA,eAAO,MAAM,2BAA2B,yBAkHvC,CAAC"}
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 — sm = base; md/lg via @media (fallback) en
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 (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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(--semantics-page-sections-body-max-width);
66
- gap: var(--semantics-page-sections-sm-gap);
80
+ max-width: var(--_max-width);
67
81
 
68
- @media (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAgCvB,KAAK;;;;;uBAKL,KAAK;;;;;uCAKW,KAAK;;;;;uCAKL,KAAK;;;;;;;;;;;;;;;;uBAgBrB,KAAK;;;;uBAIL,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK;;;;;;;;;;;;;uBAarB,KAAK;;;;uBAIL,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK;;;;;;;;;;;;;;CAc3C,CAAC"}
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;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,4BAA6B,SAAQ,UAAU;IAC3D,OAAgB,MAAM,0BAAkC;IAE/C,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mCAAmC,EAAE,4BAA4B,CAAC;KAClE;CACD"}
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;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,UAAU;IAGlD,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAJe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAD5C,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CAMxC"}
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":"AAMA,eAAO,MAAM,8BAA8B,yBAkH1C,CAAC"}
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 — sm = base; md/lg via @media (fallback) en
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 (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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(--semantics-page-sections-body-max-width);
66
- gap: var(--semantics-page-sections-sm-gap);
80
+ max-width: var(--_max-width);
67
81
 
68
- @media (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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 (min-width: ${mdMin}) {
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAgC1B,KAAK;;;;;uBAKL,KAAK;;;;;uCAKW,KAAK;;;;;uCAKL,KAAK;;;;;;;;;;;;;;;;uBAgBrB,KAAK;;;;uBAIL,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK;;;;;;;;;;;;;uBAarB,KAAK;;;;uBAIL,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK;;;;;;;;;;;;;;CAc3C,CAAC"}
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 {string} [align] - Set to "center" to vertically center section content
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
- align?: string;
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;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,iBAAkB,SAAQ,UAAU;IAChD,OAAgB,MAAM,0BAAuB;IAG7C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,aAAa,CAAC,CAAC,EAAE,KAAK;IAMb,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,iBAAiB,CAAC;KACzC;CACD"}
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"}