@nldd/design-system 0.8.96 → 0.8.98
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 +528 -107
- package/dist/components/components.js +894 -267
- package/dist/components/content/code-viewer/code-viewer.d.ts +4 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +43 -5
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +11 -0
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +1 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- 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/content/tooltip/tooltip.d.ts +7 -0
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +29 -2
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{dist-CH9m014O.js → dist-B2QcygzG.js} +1 -1
- package/dist/components/{dist-DMHTTJRJ.js → dist-BB5mlo7D.js} +2 -2
- package/dist/components/{dist-C3uWRipu.js → dist-Bo5Jeyfn.js} +1 -1
- package/dist/components/{dist-CpW8MF-L.js → dist-Bud_7w5g.js} +232 -214
- package/dist/components/{dist-CvL6_ezZ.js → dist-CA0yDFIt.js} +2 -2
- package/dist/components/{dist-DV6Mp5N1.js → dist-CaxHkqR2.js} +3 -3
- package/dist/components/{dist-BWRYv3Mp.js → dist-Ch3gNAuT.js} +1 -1
- package/dist/components/{dist-PlhQXXtE.js → dist-DbNhCpS5.js} +1 -1
- package/dist/components/{dist-DTOshgo1.js → dist-DkqAbJH8.js} +1 -1
- package/dist/components/{dist-BWEAw34D.js → dist-DnZmcpbQ.js} +1 -1
- package/dist/components/{dist-Bi4EHsFY.js → dist-iC2RTM0V.js} +2 -2
- package/dist/components/forms/validation-list/validation-list.d.ts +19 -9
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +38 -12
- package/dist/components/forms/validation-list/validation-list.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-CJIikwyu.js} +16 -3
- 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/inputs/segmented-control/segmented-control.d.ts +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +1 -4
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +1 -4
- package/dist/components/inputs/toggle-button/toggle-button.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 +13 -10
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +6 -6
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.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/list.d.ts +6 -1
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +7 -2
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -6
- 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 +55 -11
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +7 -6
- package/dist/components/lists-and-tables/list-item/list-item.template.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/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +19 -2
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +7 -2
- 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 +15 -3
- 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 +1 -0
- 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 +55 -40
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +50 -4
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +140 -13
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +1 -0
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +8 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +9 -2
- 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 +912 -736
- package/dist/types/vue.d.ts +85 -38
- 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 +5 -5
- 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
|
-
{"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,GAAG,WAAW,GAAG,SAAS,CAAC;AAajD,MAAM,MAAM,kBAAkB,GAC3B,MAAM,GAAG,QAAQ,GACjB,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,GACzD,OAAO,GAAG,QAAQ,GAClB,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GACzC,YAAY,GAAG,MAAM,GACrB,aAAa,GAAG,OAAO,GACvB,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;AAEtD,qBACa,QAAS,SAAQ,aAA4B;IACzD,OAAgB,MAAM,0BAAc;IAEpC,qEAAqE;IAErE,KAAK,SAAM;IAGX,MAAM,EAAE,UAAU,CAAa;IAG/B,cAAc,EAAE,kBAAkB,CAAY;IAG9C,SAAS,EAAE,aAAa,CAAU;IAGlC,YAAY,EAAE,gBAAgB,CAAiB;IAE/C;qEACiE;IAEjE,gBAAgB,SAAM;IAGtB,WAAW,SAAM;IAGjB,WAAW,SAAM;IAEjB;;kCAE8B;IAE9B,QAAQ,SAAM;IAGd,WAAW,SAAM;IAGjB,UAAU,SAAM;IAGhB,QAAQ,SAAM;IAGd,aAAa,UAAS;IAEtB,sEAAsE;IACtE,IAAI,SAAS,IAAI,OAAO,CAEvB;IAEQ,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAMzC,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IA8D/C,+CAA+C;IAC/C,OAAO,CAAC,aAAa,CAAS;IAE9B,yFAAyF;IACzF,OAAO,CAAC,gBAAgB,CAA+B;IACvD,OAAO,CAAC,cAAc,CAAS;IAE/B,OAAO,CAAC,aAAa;IAgBrB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAYrB,4EAA4E;IAC5E,kBAAkB,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAKzB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
|
|
@@ -7,15 +7,40 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
/**
|
|
8
8
|
* Nederlandse Digitale Dienst Hero Component (Lit + TypeScript)
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* The section that says what a page is for: it names the main goal of what
|
|
11
|
+
* you can find there, draws the eye and is the visual welcome. It has a media
|
|
12
|
+
* area and a text panel (the main) that can stand in eight positions. Every
|
|
13
|
+
* area is rectangular. Use it on pages where a visitor first has to know where
|
|
14
|
+
* they are, such as a home or a topic page; where the title already does
|
|
15
|
+
* that, a section with a title is enough.
|
|
12
16
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
17
|
+
* The image in a hero sets the mood and is never the main content, so the
|
|
18
|
+
* panel always stands on it. Over an image the panel keeps a section gap from
|
|
19
|
+
* its edges, so it reads as a panel on the image rather than a frame cut out of
|
|
20
|
+
* it; with `main-width="full"` it is a strip across the whole image, the same
|
|
21
|
+
* gap from the sides. On mobile the image comes first and the panel below it,
|
|
22
|
+
* indented by the section gap and overlapping the image by 48px. For an
|
|
23
|
+
* image beside text without that relation, use a section with an image beside
|
|
24
|
+
* text instead. Without media the main fills the whole area; with
|
|
16
25
|
* `main-background="base"` that area gets a border so it stays visible on the
|
|
17
26
|
* base surface.
|
|
18
27
|
*
|
|
28
|
+
* The hero is the head of a page and sits right under the top bar, so its top
|
|
29
|
+
* padding is half that of the other page sections: the full distance is meant
|
|
30
|
+
* to separate two sections, and under the top bar it reads as a gap. The
|
|
31
|
+
* bottom keeps the full distance to the section below. Set `padding-top` to
|
|
32
|
+
* place a hero elsewhere.
|
|
33
|
+
*
|
|
34
|
+
* By default the panel falls over the bottom of the image and runs on below it
|
|
35
|
+
* (`layout="overlap"`), so the image keeps its height whatever the content.
|
|
36
|
+
* `layout="contained"` keeps the panel on the image, for a short panel or one
|
|
37
|
+
* that stands at the top or along a side.
|
|
38
|
+
*
|
|
39
|
+
* The height of a hero comes from its image: `media-aspect-ratio`, or a fixed
|
|
40
|
+
* `media-height`. The `height` of the other page sections is not used here: as
|
|
41
|
+
* a minimum height for the whole hero it stretched the panel once that sat
|
|
42
|
+
* below the image. A hero given `height` says so in development.
|
|
43
|
+
*
|
|
19
44
|
* `main-background` gives the panel a surface color from the filled categories.
|
|
20
45
|
* Those carry a pure white or black content color along, so components with
|
|
21
46
|
* `color="inherit"` (title, rich-text) are guaranteed to keep their contrast.
|
|
@@ -24,17 +49,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
24
49
|
*
|
|
25
50
|
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
26
51
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
27
|
-
* @attr {
|
|
52
|
+
* @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.
|
|
28
53
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
54
|
+
* @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
|
|
29
55
|
* @attr {string} main-background - Surface color of the panel: 'base' (the base surface)
|
|
30
56
|
* or a category color — 'accent' (default) or a Rijkshuisstijl color such as
|
|
31
57
|
* 'lintblauw'|'donkerblauw'|'oranje'
|
|
32
|
-
* @attr {
|
|
33
|
-
*
|
|
34
|
-
* @attr {'top-left'|'top-right'|'bottom-left'|'bottom-right'|'left'|'right'} main-position -
|
|
58
|
+
* @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'
|
|
59
|
+
* @attr {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'|'left'|'right'} main-position -
|
|
35
60
|
* Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height
|
|
61
|
+
* @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
|
|
36
62
|
* @attr {string} media-aspect-ratio - Aspect ratio of the media area (CSS form, '16/9' or '16:9');
|
|
37
63
|
* default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area
|
|
64
|
+
* @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
|
|
38
65
|
* @attr {string} media-src - Source of the media area (an alternative to the media slot);
|
|
39
66
|
* ignored as soon as the media slot is filled
|
|
40
67
|
* @attr {string} media-srcset - Responsive source set for media-src
|
|
@@ -52,17 +79,30 @@ import { PageSectionMixin } from '../../../../utilities/page-section-mixin.js';
|
|
|
52
79
|
import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
|
|
53
80
|
import { heroStyles } from './hero.styles.js';
|
|
54
81
|
import { heroTemplate } from './hero.template.js';
|
|
82
|
+
const CSS_WIDE_KEYWORDS = new Set(['inherit', 'initial', 'unset', 'revert', 'revert-layer']);
|
|
83
|
+
/**
|
|
84
|
+
* Whether `property` takes `value` as a value of its own. CSS.supports alone
|
|
85
|
+
* also says yes to the CSS-wide keywords, for any property; written into a
|
|
86
|
+
* custom property those would not fall back to the default but resolve to
|
|
87
|
+
* something else.
|
|
88
|
+
*/
|
|
89
|
+
function takesValue(property, value) {
|
|
90
|
+
return !CSS_WIDE_KEYWORDS.has(value.trim().toLowerCase()) && CSS.supports(property, value);
|
|
91
|
+
}
|
|
55
92
|
let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
56
93
|
constructor() {
|
|
57
94
|
super(...arguments);
|
|
58
95
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
59
96
|
this.width = '';
|
|
97
|
+
this.layout = 'overlap';
|
|
60
98
|
this.mainBackground = 'accent';
|
|
61
|
-
this.mainWidth = '
|
|
99
|
+
this.mainWidth = 'auto';
|
|
62
100
|
this.mainPosition = 'bottom-left';
|
|
63
101
|
/** Media aspect-ratio in CSS form ('16/9' or '16:9'); default '21/9'. Drives
|
|
64
102
|
* the hero height on md/lg and the media strip height on sm. */
|
|
65
103
|
this.mediaAspectRatio = '';
|
|
104
|
+
this.overlapSize = '';
|
|
105
|
+
this.mediaHeight = '';
|
|
66
106
|
/** Hybrid media source: media-src renders an internal <img>, but a slotted
|
|
67
107
|
* media element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt
|
|
68
108
|
* feed that internal img. */
|
|
@@ -71,6 +111,11 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
71
111
|
this.mediaSizes = '';
|
|
72
112
|
this.mediaAlt = '';
|
|
73
113
|
this._slotHasMedia = false;
|
|
114
|
+
/** DEV-only latch for the `height` warning. */
|
|
115
|
+
this._warnedHeight = false;
|
|
116
|
+
/** DEV-only: watches an overlap hero for a panel that does not reach below its image. */
|
|
117
|
+
this._overlapObserver = null;
|
|
118
|
+
this._warnedOverlap = false;
|
|
74
119
|
}
|
|
75
120
|
/** Media is present when the slot has content or media-src is set. */
|
|
76
121
|
get _hasMedia() {
|
|
@@ -81,25 +126,79 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
81
126
|
// The stylesheet only keys off whether media is present.
|
|
82
127
|
this.toggleAttribute('data-has-media', this._hasMedia);
|
|
83
128
|
}
|
|
129
|
+
connectedCallback() {
|
|
130
|
+
super.connectedCallback();
|
|
131
|
+
if (import.meta.env?.DEV && this.hasUpdated)
|
|
132
|
+
this._watchOverlap();
|
|
133
|
+
}
|
|
134
|
+
disconnectedCallback() {
|
|
135
|
+
super.disconnectedCallback();
|
|
136
|
+
this._overlapObserver?.disconnect();
|
|
137
|
+
this._overlapObserver = null;
|
|
138
|
+
// A hero that comes back is watched again, so it may warn again.
|
|
139
|
+
this._warnedOverlap = false;
|
|
140
|
+
}
|
|
84
141
|
updated(changed) {
|
|
85
142
|
super.updated(changed);
|
|
86
143
|
if (changed.has('width')) {
|
|
87
144
|
// Same contract as the other page sections: the keyword 'full' is
|
|
88
145
|
// handled by CSS; CSS lengths feed --_hero-max-width inline.
|
|
89
146
|
const w = this.width;
|
|
90
|
-
if (w && w !== 'full' &&
|
|
147
|
+
if (w && w !== 'full' && takesValue('max-width', w)) {
|
|
91
148
|
this.style.setProperty('--_hero-max-width', w);
|
|
92
149
|
}
|
|
93
150
|
else {
|
|
94
151
|
this.style.removeProperty('--_hero-max-width');
|
|
95
152
|
}
|
|
96
153
|
}
|
|
154
|
+
if (import.meta.env?.DEV && changed.has('layout'))
|
|
155
|
+
this._watchOverlap();
|
|
156
|
+
if (changed.has('mainWidth')) {
|
|
157
|
+
const width = (this.mainWidth ?? '').trim();
|
|
158
|
+
const length = width !== '' && width !== 'auto' && width !== 'full';
|
|
159
|
+
const valid = length && takesValue('width', width);
|
|
160
|
+
if (valid)
|
|
161
|
+
this.style.setProperty('--_hero-main-width', width);
|
|
162
|
+
else
|
|
163
|
+
this.style.removeProperty('--_hero-main-width');
|
|
164
|
+
this.toggleAttribute('data-main-width-length', valid);
|
|
165
|
+
if (import.meta.env?.DEV && length && !valid) {
|
|
166
|
+
console.warn(`<nldd-hero>: main-width="${width}" is not "auto", "full" or a CSS width, and falls back to "auto", which follows the content between 480px and 640px.`, this);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
if (changed.has('overlapSize')) {
|
|
170
|
+
const size = (this.overlapSize ?? '').trim();
|
|
171
|
+
if (size && takesValue('margin-top', size)) {
|
|
172
|
+
this.style.setProperty('--_hero-overlap-size', size);
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
this.style.removeProperty('--_hero-overlap-size');
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
if (changed.has('mediaHeight')) {
|
|
179
|
+
const height = (this.mediaHeight ?? '').trim();
|
|
180
|
+
if (height && takesValue('height', height)) {
|
|
181
|
+
this.style.setProperty('--_hero-media-height', height);
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
this.style.removeProperty('--_hero-media-height');
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
if (changed.has('height') && this.height) {
|
|
188
|
+
// The section API turns `height` into the host's min-height; a hero
|
|
189
|
+
// takes its height from its image instead.
|
|
190
|
+
this.style.removeProperty('min-height');
|
|
191
|
+
if (import.meta.env?.DEV && !this._warnedHeight) {
|
|
192
|
+
this._warnedHeight = true;
|
|
193
|
+
console.warn('<nldd-hero>: `height` is not used on a hero, whose height comes from its image. Use `media-height` for a fixed height, or `media-aspect-ratio`.', this);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
97
196
|
if (changed.has('mediaAspectRatio')) {
|
|
98
197
|
// Accept '16:9' as well as '16/9' (like nldd-image). Clearing the
|
|
99
198
|
// attribute makes Lit set the property to null, so guard with ?? '';
|
|
100
199
|
// the empty value falls back to the stylesheet's --_hero-media-aspect-ratio.
|
|
101
200
|
const ratio = (this.mediaAspectRatio ?? '').replace(':', '/').trim();
|
|
102
|
-
if (ratio &&
|
|
201
|
+
if (ratio && takesValue('aspect-ratio', ratio)) {
|
|
103
202
|
this.style.setProperty('--_hero-media-aspect-ratio', ratio);
|
|
104
203
|
}
|
|
105
204
|
else {
|
|
@@ -107,6 +206,41 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
107
206
|
}
|
|
108
207
|
}
|
|
109
208
|
}
|
|
209
|
+
_watchOverlap() {
|
|
210
|
+
const watch = this.layout !== 'contained' && typeof ResizeObserver !== 'undefined';
|
|
211
|
+
if (!watch) {
|
|
212
|
+
this._overlapObserver?.disconnect();
|
|
213
|
+
this._overlapObserver = null;
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
if (this._overlapObserver)
|
|
217
|
+
return;
|
|
218
|
+
const media = this.shadowRoot?.querySelector('.hero__media');
|
|
219
|
+
const main = this.shadowRoot?.querySelector('.hero__main');
|
|
220
|
+
if (!media || !main)
|
|
221
|
+
return;
|
|
222
|
+
this._overlapObserver = new ResizeObserver(() => this._checkOverlap(media, main));
|
|
223
|
+
this._overlapObserver.observe(media);
|
|
224
|
+
this._overlapObserver.observe(main);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* In an overlap hero the panel is meant to run on below the image. When it
|
|
228
|
+
* ends inside it, the content is shorter than `overlap-size`; the consumer
|
|
229
|
+
* decides how far it runs on, so this only says so, in development.
|
|
230
|
+
*/
|
|
231
|
+
_checkOverlap(media, main) {
|
|
232
|
+
if (!this._hasMedia || getComputedStyle(media).position === 'static')
|
|
233
|
+
return;
|
|
234
|
+
const falls = main.getBoundingClientRect().bottom <= media.getBoundingClientRect().bottom;
|
|
235
|
+
if (!falls) {
|
|
236
|
+
this._warnedOverlap = false;
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
if (this._warnedOverlap)
|
|
240
|
+
return;
|
|
241
|
+
this._warnedOverlap = true;
|
|
242
|
+
console.warn('<nldd-hero>: With layout="overlap" the panel is shorter than `overlap-size` and ends inside the image. Give it more content or a smaller `overlap-size`, or set layout="contained" to keep the panel on the image.', this);
|
|
243
|
+
}
|
|
110
244
|
/** @internal Tracks the media slot so the no-media mode can collapse it. */
|
|
111
245
|
_onMediaSlotChange(e) {
|
|
112
246
|
const slot = e.target;
|
|
@@ -118,20 +252,29 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
118
252
|
};
|
|
119
253
|
NLDDHero.styles = heroStyles;
|
|
120
254
|
__decorate([
|
|
121
|
-
property({
|
|
255
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
122
256
|
], NLDDHero.prototype, "width", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
property({ reflect: true, converter: reflectNonDefault('overlap') })
|
|
259
|
+
], NLDDHero.prototype, "layout", void 0);
|
|
123
260
|
__decorate([
|
|
124
261
|
property({ reflect: true, attribute: 'main-background', converter: reflectNonDefault('accent') })
|
|
125
262
|
], NLDDHero.prototype, "mainBackground", void 0);
|
|
126
263
|
__decorate([
|
|
127
|
-
property({ reflect: true, attribute: 'main-width', converter: reflectNonDefault('
|
|
264
|
+
property({ reflect: true, attribute: 'main-width', converter: reflectNonDefault('auto') })
|
|
128
265
|
], NLDDHero.prototype, "mainWidth", void 0);
|
|
129
266
|
__decorate([
|
|
130
267
|
property({ reflect: true, attribute: 'main-position', converter: reflectNonDefault('bottom-left') })
|
|
131
268
|
], NLDDHero.prototype, "mainPosition", void 0);
|
|
132
269
|
__decorate([
|
|
133
|
-
property({
|
|
270
|
+
property({ reflect: true, attribute: 'media-aspect-ratio', converter: reflectNonDefault('') })
|
|
134
271
|
], NLDDHero.prototype, "mediaAspectRatio", void 0);
|
|
272
|
+
__decorate([
|
|
273
|
+
property({ reflect: true, attribute: 'overlap-size', converter: reflectNonDefault('') })
|
|
274
|
+
], NLDDHero.prototype, "overlapSize", void 0);
|
|
275
|
+
__decorate([
|
|
276
|
+
property({ reflect: true, attribute: 'media-height', converter: reflectNonDefault('') })
|
|
277
|
+
], NLDDHero.prototype, "mediaHeight", void 0);
|
|
135
278
|
__decorate([
|
|
136
279
|
property({ type: String, attribute: 'media-src' })
|
|
137
280
|
], NLDDHero.prototype, "mediaSrc", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,M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,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;6CAChF;AAGjB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;6CAChF;AAMjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;0CACrC;AAGd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;6CACrC;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;4CACrC;AAGhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;0CACrC;AAGd;IADC,KAAK,EAAE;+CACc;AA9CV,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAuLpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,yBA0atB,CAAC"}
|