@nldd/design-system 0.8.96 → 0.8.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -10
- package/custom-elements.json +494 -92
- package/dist/components/components.js +609 -177
- package/dist/components/content/icon/icon-aliases.js +1 -1
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +15 -4
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.js +12 -12
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/image/image.d.ts +19 -3
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +25 -4
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +36 -0
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +13 -1
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +25 -12
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +25 -12
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/{icon-DQHT2C7z.js → icon-D_ZGezHx.js} +13 -13
- package/dist/components/{icon-button-mevRsl4C.js → icon-button-NN0SrgS3.js} +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +2 -1
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +9 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +36 -13
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +2 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +5 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +57 -11
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +158 -15
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +95 -41
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +8 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +13 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +8 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +17 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.d.ts +11 -1
- package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +11 -2
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +5 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +6 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +11 -10
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +2 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +3 -2
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +2 -2
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +8 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +17 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.js +1 -1
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/{app-view/app-view.d.ts → shell/shell.d.ts} +11 -11
- package/dist/components/layout/shell/shell.d.ts.map +1 -0
- package/dist/components/layout/{app-view/app-view.js → shell/shell.js} +24 -24
- package/dist/components/layout/shell/shell.js.map +1 -0
- package/dist/components/layout/shell/shell.styles.d.ts +2 -0
- package/dist/components/layout/shell/shell.styles.d.ts.map +1 -0
- package/dist/components/layout/{app-view/app-view.styles.js → shell/shell.styles.js} +8 -8
- package/dist/components/layout/shell/shell.styles.js.map +1 -0
- package/dist/components/layout/shell/shell.template.d.ts +4 -0
- package/dist/components/layout/shell/shell.template.d.ts.map +1 -0
- package/dist/components/layout/shell/shell.template.js +9 -0
- package/dist/components/layout/shell/shell.template.js.map +1 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +2 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +2 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +15 -5
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +20 -7
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +4 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +8 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +5 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +13 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +12 -2
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +11 -10
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +10 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +21 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/css/document-reset.css +3 -3
- package/dist/css/rich-text.css +36 -90
- package/dist/nldd.min.js +506 -349
- package/dist/types/vue.d.ts +67 -24
- package/dist/utilities/page-section-mixin.d.ts +5 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +10 -1
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +29 -13
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +48 -13
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/package.json +4 -4
- package/dist/components/layout/app-view/app-view.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.js.map +0 -1
- package/dist/components/layout/app-view/app-view.styles.d.ts +0 -2
- package/dist/components/layout/app-view/app-view.styles.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.styles.js.map +0 -1
- package/dist/components/layout/app-view/app-view.template.d.ts +0 -4
- package/dist/components/layout/app-view/app-view.template.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.template.js +0 -9
- package/dist/components/layout/app-view/app-view.template.js.map +0 -1
- package/dist/components/palettes.html +0 -245
- package/dist/components/sample-images/butterfly-1200.jpg +0 -0
- package/dist/components/sample-images/butterfly-1600.jpg +0 -0
- package/dist/components/sample-images/butterfly-480.jpg +0 -0
- package/dist/components/sample-images/butterfly-960.jpg +0 -0
- package/dist/palettes.html +0 -245
- package/dist/sample-images/butterfly-1200.jpg +0 -0
- package/dist/sample-images/butterfly-1600.jpg +0 -0
- package/dist/sample-images/butterfly-480.jpg +0 -0
- package/dist/sample-images/butterfly-960.jpg +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{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W,CAGnC;IAED,OAAO,KAAK,SAAS,GAEpB;IAED,OAAO,KAAK,SAAS,GAEpB;IAED,OAAO,KAAK,SAAS,GAEpB;IAEQ,iBAAiB;IAgC1B;yEACqE;IACrE,OAAO,CAAC,oBAAoB,CAM1B;IAEO,oBAAoB;IAYpB,YAAY;IAQZ,OAAO,CAAC,OAAO,EAAE,cAAc;IAKxC;;;OAGG;IACH,cAAc,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI;IAQvC,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,SAAS,CAMf;IAGF,OAAO,CAAC,gBAAgB;IAQxB;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,mBAAmB;IAwB3B,OAAO,CAAC,sBAAsB;IAO9B;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;IAKhB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,uBAAuB;IAO/B,OAAO,CAAC,SAAS,CAIf;IAOF,OAAO,CAAC,sBAAsB;IAa9B,OAAO,CAAC,yBAAyB;IASjC,OAAO,CAAC,gBAAgB,CAQtB;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -15,7 +15,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
15
15
|
* content up under the cursor.
|
|
16
16
|
*
|
|
17
17
|
* In root-scroll mode (--context-scroll-mode: root, derived upstream by
|
|
18
|
-
* nldd-
|
|
18
|
+
* nldd-shell) the page stops owning a scroller: the document scrolls and the
|
|
19
19
|
* sticky header/footer stick against the document, offset by
|
|
20
20
|
* --context-inset-top/bottom. The mode is read on connect/resize and reflected
|
|
21
21
|
* to [data-scroll] so the CSS can branch.
|
|
@@ -67,7 +67,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
67
67
|
*/
|
|
68
68
|
import { LitElement } from 'lit';
|
|
69
69
|
import { customElement, property, state } from 'lit/decorators.js';
|
|
70
|
-
import { findScrollModeProvider } from '../../../utilities/scroll-mode-controller.js';
|
|
70
|
+
import { findScrollModeProvider, whenScrollModeProviderDefined } from '../../../utilities/scroll-mode-controller.js';
|
|
71
71
|
import { pageStyles } from './page.styles.js';
|
|
72
72
|
import { pageTemplate } from './page.template.js';
|
|
73
73
|
/** An overlay is a document of its own, so the page inside it is not the page. */
|
|
@@ -98,7 +98,21 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
98
98
|
this._insetObserver = null;
|
|
99
99
|
this._headerFullHeight = 0;
|
|
100
100
|
this._mainSlot = null;
|
|
101
|
+
/** Watches the main children for a `grow` or `hidden` set after they were
|
|
102
|
+
* slotted, since that changes which section grows. */
|
|
103
|
+
this._mainAttrObserver = null;
|
|
101
104
|
this._resizeRaf = 0;
|
|
105
|
+
/** Switches from stand-alone to push once a shell (or sheet, or modal
|
|
106
|
+
* dialog) that was not yet defined when this page connected, is. */
|
|
107
|
+
this._adoptScrollProvider = (provider) => {
|
|
108
|
+
if (this._scrollProvider)
|
|
109
|
+
return;
|
|
110
|
+
window.removeEventListener('resize', this._onResize);
|
|
111
|
+
this._scrollProvider = provider;
|
|
112
|
+
provider.registerScrollConsumer(this);
|
|
113
|
+
if (this.hasUpdated)
|
|
114
|
+
this._configureScroll();
|
|
115
|
+
};
|
|
102
116
|
this._onResize = () => {
|
|
103
117
|
if (this._resizeRaf)
|
|
104
118
|
return;
|
|
@@ -119,8 +133,9 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
119
133
|
return;
|
|
120
134
|
const items = slot.assignedElements();
|
|
121
135
|
const visible = items.filter(el => !el.hasAttribute('hidden'));
|
|
122
|
-
const
|
|
123
|
-
|
|
136
|
+
const chosen = visible.filter(el => el.hasAttribute('grow'));
|
|
137
|
+
const growing = chosen.length > 0 ? chosen : visible.slice(-1);
|
|
138
|
+
items.forEach(el => el.toggleAttribute('data-growing', growing.includes(el)));
|
|
124
139
|
};
|
|
125
140
|
}
|
|
126
141
|
/** True when this page renders a section instead of the document landmarks. @internal */
|
|
@@ -204,7 +219,7 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
204
219
|
this.style.containerName = 'layout-container';
|
|
205
220
|
this._scrollProvider = findScrollModeProvider(this);
|
|
206
221
|
if (this._scrollProvider) {
|
|
207
|
-
// Push-driven inside
|
|
222
|
+
// Push-driven inside a shell: it pushes the authoritative mode on
|
|
208
223
|
// register (and on every change), so the page never self-reads the var.
|
|
209
224
|
// A stale getComputedStyle read while re-mounting on navigation
|
|
210
225
|
// otherwise stuck the page in nested mode (clipped, footer not sticky
|
|
@@ -221,6 +236,7 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
221
236
|
this._readScrollMode();
|
|
222
237
|
this._configureScroll();
|
|
223
238
|
}
|
|
239
|
+
whenScrollModeProviderDefined(this, this._adoptScrollProvider);
|
|
224
240
|
}
|
|
225
241
|
}
|
|
226
242
|
disconnectedCallback() {
|
|
@@ -249,15 +265,15 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
249
265
|
this._warnOnSecondMain();
|
|
250
266
|
}
|
|
251
267
|
/**
|
|
252
|
-
* ScrollModeConsumer — nldd-
|
|
253
|
-
* no argument (resize / no
|
|
268
|
+
* ScrollModeConsumer — nldd-shell pushes the derived mode here; called with
|
|
269
|
+
* no argument (resize / no shell) it re-reads the inherited var. @internal
|
|
254
270
|
*/
|
|
255
271
|
readScrollMode(mode) {
|
|
256
272
|
if (this._readScrollMode(mode))
|
|
257
273
|
this._configureScroll();
|
|
258
274
|
}
|
|
259
275
|
// Apply the scroll mode; returns true when it changed so callers can
|
|
260
|
-
// reconfigure. With an explicit mode (
|
|
276
|
+
// reconfigure. With an explicit mode (shell's push) it is applied directly
|
|
261
277
|
// — race-free, unlike a getComputedStyle read mid-propagation. Otherwise the
|
|
262
278
|
// inherited --context-scroll-mode is read (anything but 'root' means nested).
|
|
263
279
|
_readScrollMode(mode) {
|
|
@@ -360,11 +376,11 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
360
376
|
this._scrollTarget = null;
|
|
361
377
|
}
|
|
362
378
|
}
|
|
363
|
-
// Mark the
|
|
364
|
-
//
|
|
365
|
-
//
|
|
366
|
-
//
|
|
367
|
-
// nldd-list's _updateItems().
|
|
379
|
+
// Mark the section that takes the remaining height with `data-growing`: the
|
|
380
|
+
// visible main-slot children with `grow`, or the last one when none has it.
|
|
381
|
+
// A data attribute rather than a class, since a framework's class binding
|
|
382
|
+
// rewrites `class` and would wipe it, and not `grow` itself, which is the
|
|
383
|
+
// author's to set. Same shape as nldd-list's _updateItems().
|
|
368
384
|
_setupMainSlotListener() {
|
|
369
385
|
this._teardownMainSlotListener();
|
|
370
386
|
const slot = this.shadowRoot?.querySelector('slot:not([name])') ?? null;
|
|
@@ -372,6 +388,11 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
372
388
|
if (!slot)
|
|
373
389
|
return;
|
|
374
390
|
slot.addEventListener('slotchange', this._updateMainItems);
|
|
391
|
+
this._mainAttrObserver = new MutationObserver((records) => {
|
|
392
|
+
if (records.some(record => record.target.parentElement === this))
|
|
393
|
+
this._updateMainItems();
|
|
394
|
+
});
|
|
395
|
+
this._mainAttrObserver.observe(this, { attributes: true, attributeFilter: ['grow', 'hidden'], subtree: true });
|
|
375
396
|
this._updateMainItems();
|
|
376
397
|
}
|
|
377
398
|
_teardownMainSlotListener() {
|
|
@@ -379,6 +400,8 @@ let NLDDPage = class NLDDPage extends LitElement {
|
|
|
379
400
|
this._mainSlot.removeEventListener('slotchange', this._updateMainItems);
|
|
380
401
|
this._mainSlot = null;
|
|
381
402
|
}
|
|
403
|
+
this._mainAttrObserver?.disconnect();
|
|
404
|
+
this._mainAttrObserver = null;
|
|
382
405
|
}
|
|
383
406
|
render() {
|
|
384
407
|
return pageTemplate(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
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
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
/* Root-scroll mode: the DOCUMENT scrolls (see nldd-
|
|
59
|
+
/* Root-scroll mode: the DOCUMENT scrolls (see nldd-shell), not the page.
|
|
60
60
|
The page stops owning an inner scroll container and its sticky-header/footer
|
|
61
61
|
stick against the document, offset by the insets above and below
|
|
62
62
|
(--context-inset-top/bottom, published by any bars outside the page). The mode is derived upstream and
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
|
+
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
13
14
|
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
14
15
|
* @attr {string} [padding-top] - Top padding override.
|
|
15
16
|
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
@@ -35,6 +36,7 @@ declare const NLDDFullBleedSection_base: typeof LitElement & (new (...args: any[
|
|
|
35
36
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
36
37
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
37
38
|
height?: string;
|
|
39
|
+
grow: boolean;
|
|
38
40
|
_onSlotChange(e: Event): void;
|
|
39
41
|
});
|
|
40
42
|
export declare class NLDDFullBleedSection extends NLDDFullBleedSection_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;AAOjC,qBACa,oBAAqB,SAAQ,yBAA4B;IACrE,OAAgB,MAAM,0BAA0B;IAEhD,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAetD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,yBAAyB,EAAE,oBAAoB,CAAC;KAChD;CACD"}
|
|
@@ -16,6 +16,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
|
+
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
19
20
|
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
20
21
|
* @attr {string} [padding-top] - Top padding override.
|
|
21
22
|
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
@@ -27,6 +28,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
27
28
|
*/
|
|
28
29
|
import { LitElement } from 'lit';
|
|
29
30
|
import { customElement, property } from 'lit/decorators.js';
|
|
31
|
+
import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
|
|
30
32
|
import { PageSectionMixin } from '../../../../utilities/page-section-mixin.js';
|
|
31
33
|
import { fullBleedSectionStyles } from './full-bleed-section.styles.js';
|
|
32
34
|
import { fullBleedSectionTemplate } from './full-bleed-section.template.js';
|
|
@@ -57,7 +59,7 @@ let NLDDFullBleedSection = class NLDDFullBleedSection extends PageSectionMixin(L
|
|
|
57
59
|
};
|
|
58
60
|
NLDDFullBleedSection.styles = fullBleedSectionStyles;
|
|
59
61
|
__decorate([
|
|
60
|
-
property({
|
|
62
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
61
63
|
], NLDDFullBleedSection.prototype, "width", void 0);
|
|
62
64
|
NLDDFullBleedSection = __decorate([
|
|
63
65
|
customElement('nldd-full-bleed-section')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAGrE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAA/D;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;IAoBZ,CAAC;IAlBS,OAAO,CAAC,iBAAuC;QACvD,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QACjC,IAAI,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACrB,iEAAiE;YACjE,0DAA0D;YAC1D,iGAAiG;YACjG,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;YAC9D,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,iCAAiC,CAAC,CAAC;YAC9D,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;;AAvBe,2BAAM,GAAG,sBAAsB,AAAzB,CAA0B;AAIhD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;mDAC3D;AALC,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAyBhC"}
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,sBAAsB,
|
|
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,yBAyGlC,CAAC"}
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqDd,KAAK;;;;;2BAKL,KAAK,qBAAqB,KAAK;;;;;2BAK/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Nederlandse Digitale Dienst Hero Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* The section that says what a page is for: it names the main goal of what
|
|
5
|
+
* you can find there, draws the eye and is the visual welcome. It has a media
|
|
6
|
+
* area and a text panel (the main) that can stand in eight positions. Every
|
|
7
|
+
* area is rectangular. Use it on pages where a visitor first has to know where
|
|
8
|
+
* they are, such as a home or a topic page; where the title already does
|
|
9
|
+
* that, a section with a title is enough.
|
|
6
10
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
11
|
+
* The image in a hero sets the mood and is never the main content, so the
|
|
12
|
+
* panel always stands on it. Over an image the panel keeps a section gap from
|
|
13
|
+
* its edges, so it reads as a panel on the image rather than a frame cut out of
|
|
14
|
+
* it; with `main-width="full"` it is a strip across the whole image, the same
|
|
15
|
+
* gap from the sides. On mobile the image comes first and the panel below it,
|
|
16
|
+
* indented by the section gap and overlapping the image by 48px. For an
|
|
17
|
+
* image beside text without that relation, use a section with an image beside
|
|
18
|
+
* text instead. Without media the main fills the whole area; with
|
|
10
19
|
* `main-background="base"` that area gets a border so it stays visible on the
|
|
11
20
|
* base surface.
|
|
12
21
|
*
|
|
22
|
+
* The hero is the head of a page and sits right under the top bar, so its top
|
|
23
|
+
* padding is half that of the other page sections: the full distance is meant
|
|
24
|
+
* to separate two sections, and under the top bar it reads as a gap. The
|
|
25
|
+
* bottom keeps the full distance to the section below. Set `padding-top` to
|
|
26
|
+
* place a hero elsewhere.
|
|
27
|
+
*
|
|
28
|
+
* By default the panel falls over the bottom of the image and runs on below it
|
|
29
|
+
* (`layout="overlap"`), so the image keeps its height whatever the content.
|
|
30
|
+
* `layout="contained"` keeps the panel on the image, for a short panel or one
|
|
31
|
+
* that stands at the top or along a side.
|
|
32
|
+
*
|
|
33
|
+
* The height of a hero comes from its image: `media-aspect-ratio`, or a fixed
|
|
34
|
+
* `media-height`. The `height` of the other page sections is not used here: as
|
|
35
|
+
* a minimum height for the whole hero it stretched the panel once that sat
|
|
36
|
+
* below the image. A hero given `height` says so in development.
|
|
37
|
+
*
|
|
13
38
|
* `main-background` gives the panel a surface color from the filled categories.
|
|
14
39
|
* Those carry a pure white or black content color along, so components with
|
|
15
40
|
* `color="inherit"` (title, rich-text) are guaranteed to keep their contrast.
|
|
@@ -18,17 +43,19 @@
|
|
|
18
43
|
*
|
|
19
44
|
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
20
45
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
21
|
-
* @attr {
|
|
46
|
+
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
22
47
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
48
|
+
* @attr {'contained'|'overlap'} layout - How the panel relates to the image (default: 'overlap'). 'contained' keeps it on the image, in any of the eight positions; 'overlap' lets it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content. In 'overlap' the image has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and only the horizontal side of `main-position` counts. A panel shorter than `overlap-size` ends inside the image and says so in development
|
|
23
49
|
* @attr {string} main-background - Surface color of the panel: 'base' (the base surface)
|
|
24
50
|
* or a category color — 'accent' (default) or a Rijkshuisstijl color such as
|
|
25
51
|
* 'lintblauw'|'donkerblauw'|'oranje'
|
|
26
|
-
* @attr {
|
|
27
|
-
*
|
|
28
|
-
* @attr {'top-left'|'top-right'|'bottom-left'|'bottom-right'|'left'|'right'} main-position -
|
|
52
|
+
* @attr {string} main-width - Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto'
|
|
53
|
+
* @attr {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'|'left'|'right'} main-position -
|
|
29
54
|
* Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height
|
|
55
|
+
* @attr {string} overlap-size - With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image
|
|
30
56
|
* @attr {string} media-aspect-ratio - Aspect ratio of the media area (CSS form, '16/9' or '16:9');
|
|
31
57
|
* default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area
|
|
58
|
+
* @attr {string} media-height - Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio
|
|
32
59
|
* @attr {string} media-src - Source of the media area (an alternative to the media slot);
|
|
33
60
|
* ignored as soon as the media slot is filled
|
|
34
61
|
* @attr {string} media-srcset - Responsive source set for media-src
|
|
@@ -41,8 +68,9 @@
|
|
|
41
68
|
* @slot - Content of the text panel (nldd-title and nldd-rich-text with color="inherit", for instance)
|
|
42
69
|
*/
|
|
43
70
|
import { LitElement, type PropertyValues } from 'lit';
|
|
44
|
-
export type HeroMainPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
|
|
45
|
-
export type HeroMainWidth = '
|
|
71
|
+
export type HeroMainPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left' | 'right';
|
|
72
|
+
export type HeroMainWidth = 'auto' | 'full' | (string & {});
|
|
73
|
+
export type HeroLayout = 'contained' | 'overlap';
|
|
46
74
|
export type HeroMainBackground = 'base' | 'accent' | 'lintblauw' | 'donkerblauw' | 'hemelblauw' | 'lichtblauw' | 'paars' | 'violet' | 'robijnrood' | 'roze' | 'rood' | 'oranje' | 'donkergeel' | 'geel' | 'donkerbruin' | 'bruin' | 'donkergroen' | 'groen' | 'mosgroen' | 'mintgroen';
|
|
47
75
|
declare const NLDDHero_base: typeof LitElement & (new (...args: any[]) => LitElement & {
|
|
48
76
|
background: import("../../../../utilities/page-section-mixin.js").PageSectionBackground;
|
|
@@ -59,18 +87,22 @@ declare const NLDDHero_base: typeof LitElement & (new (...args: any[]) => LitEle
|
|
|
59
87
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
60
88
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
61
89
|
height?: string;
|
|
90
|
+
grow: boolean;
|
|
62
91
|
_onSlotChange(e: Event): void;
|
|
63
92
|
});
|
|
64
93
|
export declare class NLDDHero extends NLDDHero_base {
|
|
65
94
|
static styles: import("lit").CSSResult;
|
|
66
95
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
67
96
|
width: string;
|
|
97
|
+
layout: HeroLayout;
|
|
68
98
|
mainBackground: HeroMainBackground;
|
|
69
99
|
mainWidth: HeroMainWidth;
|
|
70
100
|
mainPosition: HeroMainPosition;
|
|
71
101
|
/** Media aspect-ratio in CSS form ('16/9' or '16:9'); default '21/9'. Drives
|
|
72
102
|
* the hero height on md/lg and the media strip height on sm. */
|
|
73
103
|
mediaAspectRatio: string;
|
|
104
|
+
overlapSize: string;
|
|
105
|
+
mediaHeight: string;
|
|
74
106
|
/** Hybrid media source: media-src renders an internal <img>, but a slotted
|
|
75
107
|
* media element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt
|
|
76
108
|
* feed that internal img. */
|
|
@@ -82,7 +114,21 @@ export declare class NLDDHero extends NLDDHero_base {
|
|
|
82
114
|
/** Media is present when the slot has content or media-src is set. */
|
|
83
115
|
get _hasMedia(): boolean;
|
|
84
116
|
willUpdate(changed: PropertyValues): void;
|
|
117
|
+
connectedCallback(): void;
|
|
118
|
+
disconnectedCallback(): void;
|
|
85
119
|
updated(changed: PropertyValues): void;
|
|
120
|
+
/** DEV-only latch for the `height` warning. */
|
|
121
|
+
private _warnedHeight;
|
|
122
|
+
/** DEV-only: watches an overlap hero for a panel that does not reach below its image. */
|
|
123
|
+
private _overlapObserver;
|
|
124
|
+
private _warnedOverlap;
|
|
125
|
+
private _watchOverlap;
|
|
126
|
+
/**
|
|
127
|
+
* In an overlap hero the panel is meant to run on below the image. When it
|
|
128
|
+
* ends inside it, the content is shorter than `overlap-size`; the consumer
|
|
129
|
+
* decides how far it runs on, so this only says so, in development.
|
|
130
|
+
*/
|
|
131
|
+
private _checkOverlap;
|
|
86
132
|
/** @internal Tracks the media slot so the no-media mode can collapse it. */
|
|
87
133
|
_onMediaSlotChange(e: Event): void;
|
|
88
134
|
render(): import("lit-html").TemplateResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAOtD,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,GAAG,WAAW,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAC7I,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAC5D,MAAM,MAAM,UAAU,G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