@nldd/design-system 0.8.37 → 0.8.38

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 (158) 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 +1145 -826
  5. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  6. package/dist/components/content/title/title.styles.js +4 -0
  7. package/dist/components/content/title/title.styles.js.map +1 -1
  8. package/dist/components/content/tooltip/tooltip.d.ts +15 -5
  9. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  10. package/dist/components/content/tooltip/tooltip.js +87 -19
  11. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  12. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  13. package/dist/components/content/tooltip/tooltip.styles.js +14 -20
  14. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  15. package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
  16. package/dist/components/content/tooltip/tooltip.template.js +2 -2
  17. package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
  18. package/dist/components/forms/form/form.d.ts +19 -24
  19. package/dist/components/forms/form/form.d.ts.map +1 -1
  20. package/dist/components/forms/form/form.js +20 -40
  21. package/dist/components/forms/form/form.js.map +1 -1
  22. package/dist/components/forms/form-actions/form-actions.d.ts +18 -7
  23. package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
  24. package/dist/components/forms/form-actions/form-actions.js +18 -7
  25. package/dist/components/forms/form-actions/form-actions.js.map +1 -1
  26. package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
  27. package/dist/components/forms/form-actions/form-actions.styles.js +6 -2
  28. package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
  29. package/dist/components/forms/form-field/form-field.d.ts +15 -3
  30. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  31. package/dist/components/forms/form-field/form-field.js +15 -3
  32. package/dist/components/forms/form-field/form-field.js.map +1 -1
  33. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  34. package/dist/components/forms/form-field/form-field.styles.js +22 -8
  35. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  36. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  37. package/dist/components/inputs/search-field/search-field.styles.js +3 -1
  38. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  39. package/dist/components/layout/app-view/app-view.d.ts +10 -1
  40. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  41. package/dist/components/layout/app-view/app-view.js +52 -0
  42. package/dist/components/layout/app-view/app-view.js.map +1 -1
  43. package/dist/components/layout/card/card.d.ts +1 -0
  44. package/dist/components/layout/card/card.d.ts.map +1 -1
  45. package/dist/components/layout/card/card.js +14 -0
  46. package/dist/components/layout/card/card.js.map +1 -1
  47. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  48. package/dist/components/layout/card/card.styles.js +0 -2
  49. package/dist/components/layout/card/card.styles.js.map +1 -1
  50. package/dist/components/layout/page/page.d.ts +4 -0
  51. package/dist/components/layout/page/page.d.ts.map +1 -1
  52. package/dist/components/layout/page/page.js +39 -0
  53. package/dist/components/layout/page/page.js.map +1 -1
  54. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  55. package/dist/components/layout/page/page.styles.js +10 -8
  56. package/dist/components/layout/page/page.styles.js.map +1 -1
  57. package/dist/components/layout/page/page.template.d.ts.map +1 -1
  58. package/dist/components/layout/page/page.template.js +12 -10
  59. package/dist/components/layout/page/page.template.js.map +1 -1
  60. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -2
  61. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  62. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +8 -3
  63. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  64. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  65. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +28 -15
  66. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  67. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -0
  68. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  69. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +11 -1
  70. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  71. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  72. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +42 -13
  73. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  74. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -0
  75. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  76. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +11 -1
  77. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  78. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  79. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +42 -13
  80. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  81. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +3 -2
  82. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  83. package/dist/components/layout/page-sections/simple-section/simple-section.js +8 -3
  84. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  85. package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
  86. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +34 -15
  87. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  88. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
  89. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  90. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +11 -1
  91. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  92. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  93. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +42 -14
  94. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  95. package/dist/components/layout/popover/popover.d.ts +42 -3
  96. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  97. package/dist/components/layout/popover/popover.js +154 -6
  98. package/dist/components/layout/popover/popover.js.map +1 -1
  99. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  100. package/dist/components/layout/popover/popover.styles.js +41 -29
  101. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  102. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  103. package/dist/components/layout/sheet/sheet.js +2 -0
  104. package/dist/components/layout/sheet/sheet.js.map +1 -1
  105. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +8 -15
  106. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  107. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +11 -75
  108. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  109. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
  110. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +3 -51
  111. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
  112. package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.d.ts.map +1 -1
  113. package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js +7 -10
  114. package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js.map +1 -1
  115. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  116. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +80 -67
  117. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  118. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
  119. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +0 -2
  120. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
  121. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +1 -0
  122. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  123. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +5 -0
  124. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  125. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
  126. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +0 -2
  127. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
  128. package/dist/components/layout/window/window.d.ts +6 -0
  129. package/dist/components/layout/window/window.d.ts.map +1 -1
  130. package/dist/components/layout/window/window.js +29 -5
  131. package/dist/components/layout/window/window.js.map +1 -1
  132. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  133. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +4 -0
  134. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
  135. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  136. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +1 -0
  137. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
  138. package/dist/components/lists-and-menus/menu/menu.d.ts +1 -0
  139. package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
  140. package/dist/components/lists-and-menus/menu/menu.js +10 -1
  141. package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
  142. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +10 -0
  143. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  144. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +29 -0
  145. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  146. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +16 -16
  147. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  148. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
  149. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  150. package/dist/components/navigation/top-title-bar/top-title-bar.js +16 -0
  151. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  152. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
  153. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +4 -0
  154. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
  155. package/dist/css/form.css +10 -28
  156. package/dist/css/rich-text.css +66 -18
  157. package/dist/css/settings.css +1 -1
  158. package/package.json +1 -1
@@ -36,10 +36,20 @@ let NLDDPage = class NLDDPage extends LitElement {
36
36
  this._scrolled = false;
37
37
  this._scrollTarget = null;
38
38
  this._headerObserver = null;
39
+ this._mainSlot = null;
39
40
  this._onScroll = () => {
40
41
  const target = (this.stickyHeader ? this._scrollEl : this);
41
42
  this._scrolled = target.scrollTop > 0;
42
43
  };
44
+ this._updateMainItems = () => {
45
+ const slot = this._mainSlot;
46
+ if (!slot)
47
+ return;
48
+ const items = slot.assignedElements();
49
+ const visible = items.filter(el => !el.hasAttribute('hidden'));
50
+ const last = visible[visible.length - 1];
51
+ items.forEach(el => el.classList.toggle('is-last', el === last));
52
+ };
43
53
  }
44
54
  get scrollTarget() {
45
55
  return (this.stickyHeader ? (this._scrollEl ?? this) : this);
@@ -52,6 +62,13 @@ let NLDDPage = class NLDDPage extends LitElement {
52
62
  }
53
63
  connectedCallback() {
54
64
  super.connectedCallback();
65
+ // Set container-type/name as inline style on the host element. Doing
66
+ // this from a `:host` rule inside the shadow DOM works in Chromium
67
+ // but Safari does not always recognise the host as a container for
68
+ // slotted descendants — a known engine inconsistency. Inline on the
69
+ // light-DOM host avoids it entirely.
70
+ this.style.containerType = 'inline-size';
71
+ this.style.containerName = 'layout-area';
55
72
  if (this.hasUpdated) {
56
73
  this._setupScrollListener();
57
74
  if (this.stickyHeader)
@@ -62,11 +79,13 @@ let NLDDPage = class NLDDPage extends LitElement {
62
79
  super.disconnectedCallback();
63
80
  this._teardownScrollListener();
64
81
  this._teardownHeaderObserver();
82
+ this._teardownMainSlotListener();
65
83
  }
66
84
  firstUpdated() {
67
85
  this._setupScrollListener();
68
86
  if (this.stickyHeader)
69
87
  this._setupHeaderObserver();
88
+ this._setupMainSlotListener();
70
89
  }
71
90
  updated(changed) {
72
91
  if (changed.has('stickyHeader')) {
@@ -114,6 +133,26 @@ let NLDDPage = class NLDDPage extends LitElement {
114
133
  this._headerObserver = null;
115
134
  }
116
135
  }
136
+ // Mark the last visible main-slot child with `is-last`, so section-style
137
+ // components can grow to fill remaining vertical space without coupling
138
+ // to specific tag types or relying on light-DOM `:last-child` (which
139
+ // breaks when slot="footer" siblings are present). Same shape as
140
+ // nldd-list's _updateItems().
141
+ _setupMainSlotListener() {
142
+ this._teardownMainSlotListener();
143
+ const slot = this.shadowRoot?.querySelector('slot:not([name])') ?? null;
144
+ this._mainSlot = slot;
145
+ if (!slot)
146
+ return;
147
+ slot.addEventListener('slotchange', this._updateMainItems);
148
+ this._updateMainItems();
149
+ }
150
+ _teardownMainSlotListener() {
151
+ if (this._mainSlot) {
152
+ this._mainSlot.removeEventListener('slotchange', this._updateMainItems);
153
+ this._mainSlot = null;
154
+ }
155
+ }
117
156
  render() {
118
157
  return pageTemplate(this);
119
158
  }
@@ -1 +1 @@
1
- {"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../src/components/layout/page/page.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAG3C,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;IAAjC;;QAIN,iBAAY,GAAG,KAAK,CAAC;QAGrB,iBAAY,GAAG,KAAK,CAAC;QAGrB,eAAU,GAAqC,SAAS,CAAC;QAGzD,cAAS,GAAG,KAAK,CAAC;QAEV,kBAAa,GAAuB,IAAI,CAAC;QACzC,oBAAe,GAA0B,IAAI,CAAC;QAiF9C,cAAS,GAAG,GAAG,EAAE;YACxB,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAgB,CAAC;YAC1E,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,GAAG,CAAC,CAAC;QACvC,CAAC,CAAC;IAKH,CAAC;IAvFA,IAAI,YAAY;QACf,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC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AC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC3D,IAAI,CAAC,gBAAgB,EAAE,CAAC;IACzB,CAAC;IAEO,yBAAyB;QAChC,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACxE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACvB,CAAC;IACF,CAAC;IAWQ,MAAM;QACd,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;;AA/Ie,eAAM,GAAG,UAAU,AAAb,CAAc;AAGpC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;8CAClD;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;8CAClD;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CACe;AAGzD;IADC,KAAK,EAAE;2CACU;AAbN,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAiJpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"page.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page/page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,yBAkItB,CAAC"}
1
+ {"version":3,"file":"page.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page/page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,yBAoItB,CAAC"}
@@ -14,8 +14,6 @@ export const pageStyles = css `
14
14
  overflow-y: auto;
15
15
  overflow-x: hidden;
16
16
  background-color: var(--_background-color);
17
- padding-top: var(--context-bar-split-view-top-bars-height, 0px);
18
- padding-bottom: var(--context-bar-split-view-bottom-bars-height, 0px);
19
17
  }
20
18
 
21
19
  /* Overflow hidden prevents content from escaping the scroll wrapper.
@@ -41,13 +39,21 @@ export const pageStyles = css `
41
39
  }
42
40
 
43
41
 
42
+ /* # Block */
43
+
44
+ .page {
45
+ display: flex;
46
+ flex-direction: column;
47
+ flex-grow: 1;
48
+ min-height: 0;
49
+ }
50
+
51
+
44
52
  /* # Header */
45
53
 
46
54
  .page__header {
47
55
  flex-shrink: 0;
48
56
  position: relative;
49
- container-type: inline-size;
50
- container-name: layout-area;
51
57
  }
52
58
 
53
59
  :host([sticky-header]) .page__header {
@@ -98,8 +104,6 @@ export const pageStyles = css `
98
104
  display: flex;
99
105
  flex-direction: column;
100
106
  flex-grow: 1;
101
- container-type: inline-size;
102
- container-name: layout-area;
103
107
  }
104
108
 
105
109
 
@@ -108,8 +112,6 @@ export const pageStyles = css `
108
112
  .page__footer {
109
113
  flex-shrink: 0;
110
114
  position: relative;
111
- container-type: inline-size;
112
- container-name: layout-area;
113
115
  }
114
116
 
115
117
  :host([sticky-footer]) .page__footer {
@@ -1 +1 @@
1
- {"version":3,"file":"page.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page/page.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkI5B,CAAC"}
1
+ {"version":3,"file":"page.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page/page.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoI5B,CAAC"}
@@ -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"}