@nldd/design-system 0.30.1 → 0.32.0
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/custom-elements.json +2319 -110
- package/dist/cdn/autoloader.js +139 -139
- package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-CLT6C7Ys.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DqkLuze7.js} +5 -5
- package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-DYgJcdQr.js} +7 -6
- package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-307OSenQ.js} +5 -5
- package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-DZx4eWGL.js} +7 -7
- package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-D0Z4Yu0y.js} +15 -15
- package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-Ez8ID47C.js} +6 -6
- package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-Cu1cwuLr.js} +9 -8
- package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-7bviCuBj.js} +52 -32
- package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-PCr0GO6z.js} +7 -7
- package/dist/cdn/chunks/{box-CasAZ5pk.js → box-BOZDuPmd.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-CVXCsvXU.js} +6 -6
- package/dist/cdn/chunks/{button-IRm7Oibq.js → button-3Up7cEWx.js} +14 -10
- package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-bK3oi0e-.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-DSBBqKvs.js} +2 -2
- package/dist/cdn/chunks/{card-BaomP9oB.js → card-CH0xAbO6.js} +4 -4
- package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-BwW6TV8v.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-CYR3ChYP.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-D43DeCUk.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group-BVr37vFn.js} +3 -3
- package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-B9MjP-Ik.js} +1 -1
- package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-CGx_sn9q.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CyEZJm0a.js} +38 -38
- package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-BRShjOew.js} +345 -345
- package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-B3wQHswI.js} +8 -8
- package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-UI2A1nHw.js} +11 -9
- package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-GzgjWXSY.js} +3 -3
- package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-CF94IDoN.js} +1 -1
- package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-BoAnSKOD.js} +14 -12
- package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-Dn80yrfN.js} +11 -11
- package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-DNdCDV-Z.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-6MEe_hOH.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-QR-as1SF.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-DlNQtR5p.js} +24 -19
- package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-9JM8Li8K.js} +1 -1
- package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-B5rtEAPd.js} +35 -35
- package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-BGxQOo33.js} +103 -103
- package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-BKGDiUni.js} +75 -75
- package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BvZqEQHV.js} +36 -36
- package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C6dhaR9M.js} +12 -12
- package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-CIp0mUeR.js} +83 -83
- package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-DVm3azdM.js} +66 -66
- package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-Drahkxmv.js} +1 -1
- package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-Dtrv48QJ.js} +47 -47
- package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-Duw9BWmb.js} +307 -307
- package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-QKanuZ5c.js} +36 -36
- package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-gCusBxjl.js} +66 -66
- package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-z3iYo2pQ.js} +80 -80
- package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-Dv0ZKI-0.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-Dzp5ncIl.js} +9 -9
- package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-kVarufY1.js} +5 -5
- package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-B0aEvinG.js} +14 -14
- package/dist/cdn/chunks/{form-mkjbjprY.js → form-CvuALdyG.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-BPehBKcl.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BMdwBjn_.js} +29 -3
- package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-B0pcB33o.js} +8 -8
- package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-DWlfhgMj.js} +3 -3
- package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-4orVi9nk.js} +3 -3
- package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-DvG8bQx1.js} +155 -103
- package/dist/cdn/chunks/{icon-CeybqndL.js → icon-CoujQk37.js} +3 -3
- package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-CghwJ1ZM.js} +10 -10
- package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-CB8JJxPx.js} +5 -5
- package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D7knBYp4.js} +7 -7
- package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-DogpZQqB.js} +1 -1
- package/dist/cdn/chunks/{image-7aQSrryL.js → image-Cabp3_Mm.js} +19 -14
- package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-BA1HLcgr.js} +8 -8
- package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-k1iYVZNa.js} +5 -5
- package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-MhZkM6ah.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-EHsh2VXL.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-ClT66akm.js} +4 -4
- package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-ksBh8Hul.js} +181 -170
- package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-B9gG-fEr.js} +6 -6
- package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-C3Z_3TDw.js} +2 -2
- package/dist/cdn/chunks/{list-D2vWEpYC.js → list-BqJ_ucfa.js} +9 -9
- package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-DpQBn1El.js} +74 -73
- package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-AVJcFdeh.js} +29 -28
- package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-CYxTNgBa.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-BcZ1EP6b.js} +13 -8
- package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-D0UrqKlH.js} +7 -7
- package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-uvK-8rJG.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-BIPjBdrU.js} +4 -4
- package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-DcBe9_qD.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-BFq905uv.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-CXfPMsvc.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-BLibOq1E.js} +8 -6
- package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-jk6HesTp.js} +5 -5
- package/dist/cdn/chunks/{nl.generated-CrkPlg69.js → nl.generated-Bu83qDco.js} +1 -1
- package/dist/cdn/chunks/{notification-DxsARz6U.js → notification-Bc53Pa5u.js} +7 -7
- package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CYDiJ7CO.js} +40 -16
- package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-DTTHJknv.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-C0YU3ss3.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-DsfKUJDd.js} +18 -13
- package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-8GWanho5.js} +1 -1
- package/dist/cdn/chunks/{page-DpGgV58g.js → page-BIXY8Czs.js} +5 -5
- package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-BSPneEMd.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-HrMHOk9c.js} +3 -3
- package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-DkV6axw8.js} +7 -7
- package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-eZtU3DR2.js} +11 -9
- package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-BjXDnHDF.js} +5 -5
- package/dist/cdn/chunks/press-feedback-BtUqwC_0.js +12 -0
- package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-D5-CB4NJ.js} +14 -15
- package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-tXH6BMlN.js} +18 -16
- package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-CsgnS_Qn.js} +4 -4
- package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DbnG-fR8.js} +7 -7
- package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-BUujUoVm.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-BSbmklIR.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-Bi_v5VZB.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Cu-u0TY-.js} +2 -2
- package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-DU632DST.js} +2 -2
- package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-C4DZxOTU.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-CMAyjE-7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-DBQ2mD8Y.js} +2 -2
- package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-NJcMkh2l.js} +12 -10
- package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-Bx0X7A2X.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-BplgOKPc.js} +2 -2
- package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-96shetPW.js} +3 -3
- package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-D53z8Daa.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-CA3ZYDmC.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-oUXcNchf.js} +8 -8
- package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-DhSCulaz.js} +3 -3
- package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-CNvkL2ng.js} +5 -5
- package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-Ba5O0jF6.js} +12 -11
- package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-Bz-xBLrh.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-k1AYw_80.js} +4 -4
- package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-DwHGhJ94.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-BTt7hrtq.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-Cq3kBEo7.js} +4 -4
- package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-C1_QY9-9.js} +1 -1
- package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Y3NC9vFo.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-DEOX-7NN.js} +7 -7
- package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-Crml9Hpt.js} +5 -5
- package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-XZGIlIIU.js} +7 -7
- package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-Bznyirg7.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-4fIhPJQc.js} +6 -6
- package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-DPjb_Wtv.js} +6 -6
- package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DF96_PUQ.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-CtZpacEn.js} +8 -8
- package/dist/cdn/chunks/{table-BLvkO5AG.js → table-S76Xq4j8.js} +5 -5
- package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Bzem1z9I.js} +5 -5
- package/dist/cdn/chunks/{term-D79d-lz3.js → term-Bbuv7_kb.js} +12 -12
- package/dist/cdn/chunks/{text-kRZ3cyId.js → text-C7mSKF-E.js} +4 -4
- package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CMXSo5Ra.js} +9 -9
- package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-DgkEF4fV.js} +1307 -903
- package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
- package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-B06CiuOY.js} +8 -6
- package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-EQF-fBi4.js} +2 -2
- package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CUvhCoHF.js} +16 -14
- package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-wgfjQpFB.js} +6 -6
- package/dist/cdn/chunks/{title-DsOLSMHj.js → title-Uzi0g--W.js} +5 -5
- package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-Cc9j1I4W.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-DeKfh6eM.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-DU2SGR3P.js} +2 -2
- package/dist/cdn/chunks/{token-BYCl-dDP.js → token-BC3tY59o.js} +5 -5
- package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-BO_hUPuR.js} +13 -11
- package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-BWmrbOds.js} +9 -9
- package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-jnrwcrih.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-STB4FCnn.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-D7-Iy0U9.js} +3 -11
- package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-C1qPjhuT.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-9Iy3niRW.js} +117 -128
- package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-AiWXxvEn.js} +6 -6
- package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-B4-HS2qN.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-_cQOzDKg.js} +5 -5
- package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-yf02zdEy.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-hjpQo7w2.js} +2 -2
- package/dist/cdn/chunks/{window-D4rLzdHo.js → window-Br52FScm.js} +4 -4
- package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-Z7dHTxzy.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +4 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +0 -8
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +2 -2
- package/dist/components/content/blockquote/blockquote.js +2 -2
- package/dist/components/content/blockquote/blockquote.styles.js +2 -2
- package/dist/components/content/icon/icon.d.ts +1 -1
- package/dist/components/content/icon/icon.js +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/identity/identity.d.ts +1 -1
- package/dist/components/content/identity/identity.js +1 -1
- package/dist/components/content/image/image.d.ts +2 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +3 -3
- 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 +5 -2
- 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 +3 -1
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +1 -1
- package/dist/components/content/text/text.d.ts +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +2 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +10 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +32 -4
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +15 -5
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +10 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +16 -6
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +2 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +2 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +3 -2
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +1 -1
- package/dist/components/inputs/switch/switch.js +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +67 -6
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +2 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +2 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -0
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts +3 -3
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +31 -24
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +9 -9
- package/dist/components/layout/page-sections/hero/hero.d.ts +32 -28
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +40 -33
- 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 +61 -23
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +20 -10
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +80 -32
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +2 -1
- 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 +6 -3
- 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 +1 -0
- 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 +4 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +21 -7
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- 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 +4 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +5 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +10 -21
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +1 -0
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -7
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -8
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +6 -6
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +0 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +3 -2
- 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 +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
- package/dist/css/rich-text.css +2 -3
- package/dist/css/themes/donkergeel.css +5 -6
- package/dist/css/themes/geel.css +5 -6
- package/dist/css/themes.css +10 -12
- package/dist/css/variables.css +24 -15
- package/dist/nldd.min.js +1006 -846
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +40 -44
- package/dist/types/vue.d.ts +213 -55
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +23 -18
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +49 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/press-feedback.d.ts +16 -0
- package/dist/utilities/press-feedback.d.ts.map +1 -0
- package/dist/utilities/press-feedback.js +27 -0
- package/dist/utilities/press-feedback.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -6
- package/lint/rule.schema.json +2 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
9
9
|
*
|
|
10
10
|
* The section that says what a page is for: it names the main goal of what
|
|
11
11
|
* you can find there, draws the eye and is the visual welcome. It has a media
|
|
12
|
-
* area and a
|
|
12
|
+
* area and a content area (the main) that can stand in eleven positions. The
|
|
13
13
|
* areas are rectangular; `corner` rounds one corner of each. Use it on pages
|
|
14
14
|
* where a visitor first has to know where they are, such as a home or a topic
|
|
15
15
|
* page; where the title already does that, a section with a title is enough.
|
|
@@ -17,15 +17,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
* lays out by the width of that page.
|
|
18
18
|
*
|
|
19
19
|
* The image in a hero sets the mood and is never the main content, so the
|
|
20
|
-
*
|
|
21
|
-
* its edges, so it reads as a
|
|
20
|
+
* content area always stands on it. Over an image the content area keeps a section gap from
|
|
21
|
+
* its edges, so it reads as a content area on the image rather than a frame cut out of
|
|
22
22
|
* it; with `main-width="full"` it is a strip across the whole image, the same
|
|
23
|
-
* gap from the sides. On mobile the image comes first and the
|
|
23
|
+
* gap from the sides. On mobile the image comes first and the content area below it,
|
|
24
24
|
* indented by the section gap and overlapping the image by 48px. For an
|
|
25
25
|
* image beside text without that relation, use a section with an image beside
|
|
26
|
-
* text instead. Without media the main fills the whole area
|
|
27
|
-
* `main-background="base"`
|
|
28
|
-
* base surface.
|
|
26
|
+
* text instead. Without media the main fills the whole area. With
|
|
27
|
+
* `main-background="base"` the content area gets the highlight border of a card, with
|
|
28
|
+
* or without media, so its edge shows where it stands on the base surface.
|
|
29
29
|
*
|
|
30
30
|
* The hero is the head of a page and sits right under the top bar, so on md
|
|
31
31
|
* and lg its top padding is half that of the other page sections: the full
|
|
@@ -34,17 +34,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
34
34
|
* The bottom keeps the full distance to the section below. Set `padding-top`
|
|
35
35
|
* to place a hero elsewhere.
|
|
36
36
|
*
|
|
37
|
-
* By default the
|
|
38
|
-
* (`
|
|
39
|
-
*
|
|
40
|
-
* that stands at the top or along
|
|
37
|
+
* By default the content area falls over the bottom of the image and runs on below it
|
|
38
|
+
* (`main-position="overlap-left"`, `overlap-center` or `overlap-right`), so the
|
|
39
|
+
* image keeps its height whatever the content. The other positions keep the
|
|
40
|
+
* content area on the image, for a short content area or one that stands at the top or along
|
|
41
|
+
* a side.
|
|
41
42
|
*
|
|
42
43
|
* The height of a hero comes from its image: `media-aspect-ratio`, or a fixed
|
|
43
44
|
* `media-height`. The `height` of the other page sections is not used here: as
|
|
44
|
-
* a minimum height for the whole hero it stretched the
|
|
45
|
+
* a minimum height for the whole hero it stretched the content area once that sat
|
|
45
46
|
* below the image. A hero given `height` says so in development.
|
|
46
47
|
*
|
|
47
|
-
* The
|
|
48
|
+
* The content area takes the accent color of the theme, closest to its reference
|
|
48
49
|
* color in both modes, with a pure white or black content color that it
|
|
49
50
|
* passes on, so the text, links and icons on it keep their contrast. `main-background="base"` gives it the base surface instead. A
|
|
50
51
|
* Rijkshuisstijl color per hero is gone: the theme picks the color for the
|
|
@@ -54,19 +55,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
54
55
|
* @related nldd-full-bleed-section
|
|
55
56
|
*
|
|
56
57
|
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
57
|
-
* @attr {'accent'|'base'} main-background - Surface color of the
|
|
58
|
-
* @attr {string} corner - Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the
|
|
59
|
-
* @attr {'
|
|
58
|
+
* @attr {'accent'|'base'} main-background - Surface color of the content area: 'accent' (default), the accent color of the theme, or 'base', the base surface
|
|
59
|
+
* @attr {string} corner - Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the content area leaves free. With media it applies in every position: with a content area that overlaps the image takes the corner of `bottom-left`, `bottom-center` or `bottom-right`, and the content area keeps its distance from the edge and stays square; a centered content area gets its corner on the side of the corner of the image. A content area on the image stands against its edge, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image, with more padding along its two sides so the content keeps its distance to the curve. A content area along the same edge as the rounded corner of the image stops before the curve, at the content area's padding from it; a content area along a full side, a `main-width="full"` strip and the content area on mobile stay square. On mobile a bottom corner moves to the top, and the content area stands under the image, as wide as it, instead of overlapping it. Without media the content area is the whole hero: the corner applies in every position, at half the radius, and the hero chooses top-right, or top-left for a content area on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the content area, or with `width="full"`
|
|
60
|
+
* @attr {'overlap-left'|'overlap-center'|'overlap-right'|'top-left'|'top-center'|'top-right'|'left'|'right'|'bottom-left'|'bottom-center'|'bottom-right'} main-position -
|
|
61
|
+
* Where the content area stands, and how it relates to the image (default: 'overlap-left'). The 'overlap-' positions
|
|
62
|
+
* let it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image
|
|
63
|
+
* keeps its height whatever the content; the image then has a fixed height (320px on md, 400px on lg) unless
|
|
64
|
+
* `media-height` or `media-aspect-ratio` is set, and a content area shorter than `overlap-size` ends inside the image and
|
|
65
|
+
* says so in development. The other positions keep the content area on the image; 'left'/'right' span its full height
|
|
60
66
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
61
67
|
* @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
|
|
62
68
|
* @attr {string} media-aspect-ratio - Aspect ratio of the media area (CSS form, '16/9' or '16:9');
|
|
63
69
|
* default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area
|
|
64
70
|
* @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.
|
|
65
|
-
* @attr {string} main-width - Width of the
|
|
66
|
-
* @attr {string} overlap-size - With
|
|
71
|
+
* @attr {string} main-width - Width of the content area (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow content area, 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'
|
|
72
|
+
* @attr {string} overlap-size - With an overlap position: how far the content area falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a content area shorter than this ends inside the image
|
|
67
73
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
68
|
-
* @attr {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'|'left'|'right'} main-position -
|
|
69
|
-
* Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height
|
|
70
74
|
* @attr {string} media-src - Source of the media area (an alternative to the media slot);
|
|
71
75
|
* ignored as soon as the media slot is filled
|
|
72
76
|
* @attr {string} media-srcset - Responsive source set for media-src
|
|
@@ -77,7 +81,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
77
81
|
* @accepts img
|
|
78
82
|
* Takes precedence over the media-src attributes. Set `alt=""` when the image is decorative;
|
|
79
83
|
* otherwise give a describing alt text.
|
|
80
|
-
* @slot -
|
|
84
|
+
* @slot - What goes in the content area (nldd-title and nldd-rich-text, for instance)
|
|
81
85
|
*/
|
|
82
86
|
import { LitElement } from 'lit';
|
|
83
87
|
import { property, state } from 'lit/decorators.js';
|
|
@@ -89,6 +93,8 @@ import { heroTemplate } from './hero.template.js';
|
|
|
89
93
|
import { heroCornerStyles } from './hero-corner.styles.js';
|
|
90
94
|
import { applyCorner, clearCornerLimits, limitCorner } from './hero-corner.js';
|
|
91
95
|
import { setState } from '../../../../utilities/element-state.js';
|
|
96
|
+
/** The positions that keep the content area on the image; any other value overlaps, as the default does. */
|
|
97
|
+
const ON_IMAGE = new Set(['top-left', 'top-center', 'top-right', 'left', 'right', 'bottom-left', 'bottom-center', 'bottom-right']);
|
|
92
98
|
const CSS_WIDE_KEYWORDS = new Set(['inherit', 'initial', 'unset', 'revert', 'revert-layer']);
|
|
93
99
|
/**
|
|
94
100
|
* Whether `property` takes `value` as a value of its own. CSS.supports alone
|
|
@@ -103,11 +109,11 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
103
109
|
constructor() {
|
|
104
110
|
super(...arguments);
|
|
105
111
|
this.mainBackground = 'accent';
|
|
106
|
-
/** Rounds one corner of the media area and one of the
|
|
112
|
+
/** Rounds one corner of the media area and one of the content area, or without
|
|
107
113
|
* media one corner of the hero. An empty value lets the hero choose the
|
|
108
114
|
* corner from `main-position`. */
|
|
109
115
|
this.corner = null;
|
|
110
|
-
this.
|
|
116
|
+
this.mainPosition = 'overlap-left';
|
|
111
117
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
112
118
|
this.width = '';
|
|
113
119
|
this.mediaHeight = '';
|
|
@@ -116,7 +122,6 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
116
122
|
this.mediaAspectRatio = '';
|
|
117
123
|
this.mainWidth = 'auto';
|
|
118
124
|
this.overlapSize = '';
|
|
119
|
-
this.mainPosition = 'bottom-left';
|
|
120
125
|
/** Hybrid media source: media-src renders an internal <img>, but a slotted
|
|
121
126
|
* media element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt
|
|
122
127
|
* feed that internal img. */
|
|
@@ -127,16 +132,21 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
127
132
|
this._slotHasMedia = false;
|
|
128
133
|
/** Measures the rounded areas, so the radius never outgrows them. */
|
|
129
134
|
this._cornerObserver = null;
|
|
130
|
-
/** DEV-only: watches an overlap hero for a
|
|
135
|
+
/** DEV-only: watches an overlap hero for a content area that does not reach below its image. */
|
|
131
136
|
this._overlapObserver = null;
|
|
132
137
|
}
|
|
133
138
|
/** Media is present when the slot has content or media-src is set. */
|
|
134
139
|
get _hasMedia() {
|
|
135
140
|
return this.mediaSrc !== '' || this._slotHasMedia;
|
|
136
141
|
}
|
|
142
|
+
/** Whether the content area falls over the bottom of the image instead of standing on it. */
|
|
143
|
+
get _overlaps() {
|
|
144
|
+
return !ON_IMAGE.has(this.mainPosition);
|
|
145
|
+
}
|
|
137
146
|
willUpdate(changed) {
|
|
138
147
|
super.willUpdate(changed);
|
|
139
148
|
this.toggleAttribute('data-has-media', this._hasMedia);
|
|
149
|
+
this.toggleAttribute('data-overlap', this._overlaps);
|
|
140
150
|
applyCorner(this);
|
|
141
151
|
}
|
|
142
152
|
connectedCallback() {
|
|
@@ -166,7 +176,7 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
166
176
|
this.style.removeProperty('--_hero-max-width');
|
|
167
177
|
}
|
|
168
178
|
}
|
|
169
|
-
if (import.meta.env?.DEV && changed.has('
|
|
179
|
+
if (import.meta.env?.DEV && changed.has('mainPosition'))
|
|
170
180
|
this._watchOverlap();
|
|
171
181
|
if (changed.has('corner'))
|
|
172
182
|
this._watchCorner();
|
|
@@ -236,7 +246,7 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
236
246
|
this._cornerObserver.observe(main);
|
|
237
247
|
}
|
|
238
248
|
_watchOverlap() {
|
|
239
|
-
const watch = this.
|
|
249
|
+
const watch = this._overlaps && typeof ResizeObserver !== 'undefined';
|
|
240
250
|
if (!watch) {
|
|
241
251
|
this._overlapObserver?.disconnect();
|
|
242
252
|
this._overlapObserver = null;
|
|
@@ -254,7 +264,7 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
254
264
|
this._overlapObserver.observe(main);
|
|
255
265
|
}
|
|
256
266
|
/**
|
|
257
|
-
* In an overlap hero the
|
|
267
|
+
* In an overlap hero the content area is meant to run on below the image. When it
|
|
258
268
|
* ends inside it, the content is shorter than `overlap-size`; the consumer
|
|
259
269
|
* decides how far it runs on, so this is only stated, in development.
|
|
260
270
|
*/
|
|
@@ -280,8 +290,8 @@ __decorate([
|
|
|
280
290
|
property({ type: String, reflect: true })
|
|
281
291
|
], NLDDHero.prototype, "corner", void 0);
|
|
282
292
|
__decorate([
|
|
283
|
-
property({ reflect: true, converter: reflectNonDefault('overlap') })
|
|
284
|
-
], NLDDHero.prototype, "
|
|
293
|
+
property({ reflect: true, attribute: 'main-position', converter: reflectNonDefault('overlap-left') })
|
|
294
|
+
], NLDDHero.prototype, "mainPosition", void 0);
|
|
285
295
|
__decorate([
|
|
286
296
|
property({ reflect: true, converter: reflectNonDefault('') })
|
|
287
297
|
], NLDDHero.prototype, "width", void 0);
|
|
@@ -297,9 +307,6 @@ __decorate([
|
|
|
297
307
|
__decorate([
|
|
298
308
|
property({ reflect: true, attribute: 'overlap-size', converter: reflectNonDefault('') })
|
|
299
309
|
], NLDDHero.prototype, "overlapSize", void 0);
|
|
300
|
-
__decorate([
|
|
301
|
-
property({ reflect: true, attribute: 'main-position', converter: reflectNonDefault('bottom-left') })
|
|
302
|
-
], NLDDHero.prototype, "mainPosition", void 0);
|
|
303
310
|
__decorate([
|
|
304
311
|
property({ type: String, attribute: 'media-src' })
|
|
305
312
|
], 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,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F;AAGtB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,iBAAiB,CAAgB,MAAM,CAAC,EAAE,CAAC;2CACxE;AAGlC;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;AAjDV,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAsMpB"}
|
|
@@ -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,yBA4XtB,CAAC"}
|
|
@@ -35,8 +35,10 @@ export const heroStyles = css `
|
|
|
35
35
|
--_hero-main-content-color: var(--semantics-content-on-accent-filled-color);
|
|
36
36
|
--_hero-main-secondary-color: var(--semantics-content-on-accent-filled-secondary-color);
|
|
37
37
|
--_hero-main-padding: var(--primitives-space-16);
|
|
38
|
+
--_hero-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
39
|
+
--_hero-highlight-border-color: var(--semantics-surfaces-base-highlight-border-color);
|
|
38
40
|
--_hero-main-inset: var(--primitives-space-0);
|
|
39
|
-
--_hero-sm-main-inset: var(--semantics-page-sections-sm-
|
|
41
|
+
--_hero-sm-main-inset: var(--semantics-page-sections-sm-margin-inline);
|
|
40
42
|
--_hero-sm-main-overlap: var(--primitives-space-48);
|
|
41
43
|
--_hero-overlap-size: initial;
|
|
42
44
|
--_hero-default-overlap-size: var(--primitives-space-0);
|
|
@@ -81,6 +83,7 @@ export const heroStyles = css `
|
|
|
81
83
|
flex-direction: column;
|
|
82
84
|
flex-grow: 1;
|
|
83
85
|
align-items: center;
|
|
86
|
+
--_hero-main-inline-inset: var(--_hero-main-inset);
|
|
84
87
|
|
|
85
88
|
/* The responsive overrides query the page the hero is in. */
|
|
86
89
|
|
|
@@ -93,6 +96,7 @@ export const heroStyles = css `
|
|
|
93
96
|
@container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
94
97
|
--_hero-main-padding: var(--primitives-space-24);
|
|
95
98
|
--_hero-main-inset: var(--semantics-page-sections-md-gap);
|
|
99
|
+
--_hero-main-inline-inset: var(--semantics-page-sections-md-margin-inline);
|
|
96
100
|
--_hero-default-overlap-size: var(--primitives-area-160);
|
|
97
101
|
--_hero-default-media-height: var(--primitives-area-320);
|
|
98
102
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
@@ -112,11 +116,18 @@ export const heroStyles = css `
|
|
|
112
116
|
}
|
|
113
117
|
|
|
114
118
|
|
|
119
|
+
:host([data-has-media]) .hero {
|
|
120
|
+
@container page-container (max-width: ${mdMax}) {
|
|
121
|
+
padding-inline: 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
115
126
|
/* # Body
|
|
116
127
|
No overflow clipping here: it would zero the grid's automatic content
|
|
117
|
-
minimum and stop the hero from growing with the
|
|
118
|
-
is painted in the
|
|
119
|
-
the
|
|
128
|
+
minimum and stop the hero from growing with the content area. The background
|
|
129
|
+
is painted in the color of the content area so subpixel seams between the media and
|
|
130
|
+
the content area (fractional aspect-ratio heights) never show as a light
|
|
120
131
|
hairline. */
|
|
121
132
|
|
|
122
133
|
.hero__body {
|
|
@@ -132,15 +143,14 @@ export const heroStyles = css `
|
|
|
132
143
|
background-color: var(--_hero-main-background-color);
|
|
133
144
|
}
|
|
134
145
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
border: var(--primitives-border-width-regular) solid var(--semantics-content-color);
|
|
146
|
+
:host([main-background="base"]) .hero__main {
|
|
147
|
+
outline: var(--_hero-highlight-border-width) solid var(--_hero-highlight-border-color);
|
|
148
|
+
outline-offset: calc(-1 * var(--_hero-highlight-border-width));
|
|
139
149
|
}
|
|
140
150
|
|
|
141
151
|
/* A ghost cell sets the body's minimum height from the aspect ratio
|
|
142
|
-
without forcing it: the
|
|
143
|
-
|
|
152
|
+
without forcing it: the content area shares the same grid cell, so a taller
|
|
153
|
+
content area grows the row past this floor. Putting the ratio on a ghost
|
|
144
154
|
(instead of aspect-ratio on the body) keeps growth content-driven
|
|
145
155
|
rather than rigidly tied to the width. align-self: start stops the
|
|
146
156
|
stretch fit from cancelling the ratio. */
|
|
@@ -219,8 +229,8 @@ export const heroStyles = css `
|
|
|
219
229
|
justify-self: start;
|
|
220
230
|
background-color: var(--_hero-main-background-color);
|
|
221
231
|
width: fit-content;
|
|
222
|
-
min-width: min(var(--_hero-main-min-width), 100% - 2 * var(--_hero-main-inset));
|
|
223
|
-
max-width: min(var(--_hero-main-max-width), 100% - 2 * var(--_hero-main-inset));
|
|
232
|
+
min-width: min(var(--_hero-main-min-width), 100% - 2 * var(--_hero-main-inline-inset));
|
|
233
|
+
max-width: min(var(--_hero-main-max-width), 100% - 2 * var(--_hero-main-inline-inset));
|
|
224
234
|
padding: var(--_hero-main-padding);
|
|
225
235
|
flex-direction: column;
|
|
226
236
|
color: var(--_hero-main-content-color);
|
|
@@ -233,14 +243,14 @@ export const heroStyles = css `
|
|
|
233
243
|
}
|
|
234
244
|
|
|
235
245
|
:host([data-has-media]) .hero__main {
|
|
236
|
-
margin: var(--_hero-main-inset);
|
|
246
|
+
margin: var(--_hero-main-inset) var(--_hero-main-inline-inset);
|
|
237
247
|
}
|
|
238
248
|
|
|
239
249
|
:host([data-has-media][data-main-width-length]) .hero__main {
|
|
240
250
|
@container page-container (min-width: ${mdMin}) {
|
|
241
251
|
width: var(--_hero-main-width);
|
|
242
252
|
min-width: 0;
|
|
243
|
-
max-width: calc(100% - 2 * var(--_hero-main-inset));
|
|
253
|
+
max-width: calc(100% - 2 * var(--_hero-main-inline-inset));
|
|
244
254
|
}
|
|
245
255
|
}
|
|
246
256
|
|
|
@@ -259,11 +269,11 @@ export const heroStyles = css `
|
|
|
259
269
|
justify-self: end;
|
|
260
270
|
}
|
|
261
271
|
|
|
262
|
-
:host([main-position="bottom-right"]) .hero__main {
|
|
272
|
+
:host(:is([main-position="bottom-right"], [main-position="overlap-right"])) .hero__main {
|
|
263
273
|
justify-self: end;
|
|
264
274
|
}
|
|
265
275
|
|
|
266
|
-
:host([main-position="bottom-center"]) .hero__main {
|
|
276
|
+
:host(:is([main-position="bottom-center"], [main-position="overlap-center"])) .hero__main {
|
|
267
277
|
justify-self: center;
|
|
268
278
|
}
|
|
269
279
|
|
|
@@ -281,6 +291,33 @@ export const heroStyles = css `
|
|
|
281
291
|
justify-self: end;
|
|
282
292
|
}
|
|
283
293
|
|
|
294
|
+
/* On md a content area on the image stands in its corner, and takes the page margin
|
|
295
|
+
as padding on the side of the edge, so its text lines up with the page. */
|
|
296
|
+
:host([data-has-media]:not([data-overlap])) .hero {
|
|
297
|
+
@container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
298
|
+
--_hero-main-inset: var(--primitives-space-0);
|
|
299
|
+
--_hero-main-inline-inset: var(--primitives-space-0);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
:host([data-has-media]:not([data-overlap]):is([main-position$="left"], [main-position$="center"][main-width="full"])) .hero__main {
|
|
304
|
+
@container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
305
|
+
padding-left: var(--semantics-page-sections-md-margin-inline);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
:host([data-has-media]:not([data-overlap]):is([main-position$="right"], [main-position$="center"][main-width="full"])) .hero__main {
|
|
310
|
+
@container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
311
|
+
padding-right: var(--semantics-page-sections-md-margin-inline);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
:host([data-has-media]:not([data-overlap])[main-width="full"]:is([main-position$="-left"], [main-position$="-right"])) .hero__main {
|
|
316
|
+
@container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
317
|
+
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
284
321
|
@media (forced-colors: active) {
|
|
285
322
|
.hero__main {
|
|
286
323
|
border: var(--primitives-border-width-thin) solid CanvasText;
|
|
@@ -288,15 +325,16 @@ export const heroStyles = css `
|
|
|
288
325
|
}
|
|
289
326
|
|
|
290
327
|
|
|
291
|
-
/* # Overlap (md+) — the media keeps a fixed height; the
|
|
292
|
-
row below it, pulled up over it by the overlap size.
|
|
328
|
+
/* # Overlap (md+) — the media keeps a fixed height; the content area sits in the
|
|
329
|
+
row below it, pulled up over it by the overlap size. Overlap is the
|
|
330
|
+
default position. */
|
|
293
331
|
|
|
294
332
|
@container page-container (min-width: ${mdMin}) {
|
|
295
|
-
:host([data-has-media]
|
|
333
|
+
:host([data-has-media][data-overlap]) .hero__body::before {
|
|
296
334
|
content: none;
|
|
297
335
|
}
|
|
298
336
|
|
|
299
|
-
:host([data-has-media]
|
|
337
|
+
:host([data-has-media][data-overlap]) .hero__media {
|
|
300
338
|
position: relative;
|
|
301
339
|
width: 100%;
|
|
302
340
|
height: var(--_hero-media-height);
|
|
@@ -305,11 +343,11 @@ export const heroStyles = css `
|
|
|
305
343
|
align-self: start;
|
|
306
344
|
}
|
|
307
345
|
|
|
308
|
-
:host([data-has-media]
|
|
346
|
+
:host([data-has-media][data-overlap]:not([media-height], [media-aspect-ratio])) .hero__media {
|
|
309
347
|
height: var(--_hero-default-media-height);
|
|
310
348
|
}
|
|
311
349
|
|
|
312
|
-
:host([data-has-media]
|
|
350
|
+
:host([data-has-media][data-overlap]) .hero__main {
|
|
313
351
|
margin-top: calc(-1 * var(--_hero-overlap-size, var(--_hero-default-overlap-size)));
|
|
314
352
|
margin-bottom: 0;
|
|
315
353
|
grid-area: 2 / 1;
|
|
@@ -318,7 +356,7 @@ export const heroStyles = css `
|
|
|
318
356
|
}
|
|
319
357
|
|
|
320
358
|
|
|
321
|
-
/* # Mobile — the media on top, the
|
|
359
|
+
/* # Mobile — the media on top, the content area below it, indented and overlapping
|
|
322
360
|
it a little. */
|
|
323
361
|
|
|
324
362
|
@container page-container (max-width: ${smMax}) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAElI,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC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;;;;;;;;;;;;;;;0CA+CL,KAAK,qBAAqB,KAAK;;;;;;;0CAO/B,KAAK,qBAAqB,KAAK;;;;;;0CAM/B,KAAK,qBAAqB,KAAK;;;;;;0CAM/B,KAAK,qBAAqB,KAAK;;;;;;;;;;;;;;;;yCAgBhC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCA8BL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B7C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Nederlandse Digitale Dienst Bar Split View Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
|
-
* A vertical split view with a main area and an unlimited number of bar
|
|
4
|
+
* A vertical split view with a main area and an unlimited number of bar panes.
|
|
5
5
|
* Each child determines its order per breakpoint via sm-order, md-order, and lg-order.
|
|
6
6
|
* Children without order attributes are sorted by DOM order.
|
|
7
7
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ## Slot names
|
|
15
15
|
* Give each bar a unique slot name (e.g. slot="toolbar", slot="status-bar").
|
|
16
16
|
* Use slot="bar-1", slot="bar-2" if no meaningful name applies.
|
|
17
|
-
* The main
|
|
17
|
+
* The main pane always uses slot="main".
|
|
18
18
|
* An nldd-status-bar is a bar of its own and comes first, above the toolbar.
|
|
19
19
|
*
|
|
20
20
|
* ## Background color
|
|
@@ -26,15 +26,14 @@
|
|
|
26
26
|
* @attr {'inherit'|'base'|'tinted'} background - Background color variant (default: inherit)
|
|
27
27
|
*
|
|
28
28
|
* Responsive visibility and order per child (direct children of nldd-bar-split-view):
|
|
29
|
-
* @childattr {
|
|
30
|
-
* @childattr {
|
|
31
|
-
* @childattr {
|
|
32
|
-
* @childattr {number}
|
|
33
|
-
* @childattr {number}
|
|
34
|
-
* @childattr {number} lg-order - Position of this panel at lg (lower comes first)
|
|
29
|
+
* @childattr {string} hide-below - Hides this pane below this breakpoint: `sm` | `md` | `lg`, or a length in px, rem or em that the view's width is compared with. The same attribute as on a cell: `hide-below="md"` is hidden in sm and shown from md up. `sm` is the open edge and never hides.
|
|
30
|
+
* @childattr {string} hide-above - Hides this pane above this breakpoint: `sm` | `md` | `lg`, or a length. `hide-above="sm"` is shown in sm only. `lg` is the open edge and never hides. Together with `hide-below` it keeps a pane to one breakpoint: `hide-below="md" hide-above="md"` shows it in md only.
|
|
31
|
+
* @childattr {number} sm-order - Position of this pane at sm (lower comes first)
|
|
32
|
+
* @childattr {number} md-order - Position of this pane at md (lower comes first)
|
|
33
|
+
* @childattr {number} lg-order - Position of this pane at lg (lower comes first)
|
|
35
34
|
*
|
|
36
|
-
* @slot main - Central
|
|
37
|
-
* @slot * - Any other unique slot name creates a bar
|
|
35
|
+
* @slot main - Central pane for primary content
|
|
36
|
+
* @slot * - Any other unique slot name creates a bar pane
|
|
38
37
|
*/
|
|
39
38
|
import { LitElement } from 'lit';
|
|
40
39
|
export type Breakpoint = 'sm' | 'md' | 'lg';
|
|
@@ -44,15 +43,26 @@ export declare class NLDDBarSplitView extends LitElement {
|
|
|
44
43
|
private _scrollMode;
|
|
45
44
|
background: 'inherit' | 'base' | 'tinted';
|
|
46
45
|
_currentBreakpoint: BreakpointOrUnmeasured;
|
|
46
|
+
private _width;
|
|
47
|
+
private _fontSize;
|
|
48
|
+
private _hiddenByLength;
|
|
47
49
|
private _observer;
|
|
50
|
+
private _observedBars;
|
|
48
51
|
connectedCallback(): void;
|
|
49
52
|
disconnectedCallback(): void;
|
|
50
53
|
/** @internal */
|
|
51
54
|
_applyWidth(width: number): void;
|
|
52
55
|
private _getBreakpoint;
|
|
56
|
+
/** The slots of the panes a length hides at the measured width. */
|
|
57
|
+
private _panelsHiddenByLength;
|
|
58
|
+
/** A length as the view's width in CSS pixels, as a container query reads it: `em` from the view's own font size. */
|
|
59
|
+
private _lengthPx;
|
|
60
|
+
/** The same thresholds as `hide-below` and `hide-above` on a cell. */
|
|
61
|
+
private _hides;
|
|
53
62
|
private _isChildVisible;
|
|
54
63
|
_getSortedChildren(): Element[];
|
|
55
64
|
updated(): void;
|
|
65
|
+
private _observeBars;
|
|
56
66
|
private _updateInsets;
|
|
57
67
|
render(): import("lit-html").TemplateResult;
|
|
58
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bar-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAUjC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,KAAK,sBAAsB,GAAG,UAAU,GAAG,IAAI,CAAC;AAgBhD,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAI5C,OAAO,CAAC,WAAW,CAA8D;IAGjF,UAAU,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAMtD,kBAAkB,EAAE,sBAAsB,CAAQ;IAIlD,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,SAAS,CAAM;IAGvB,OAAO,CAAC,eAAe,CAAM;IAE7B,OAAO,CAAC,SAAS,CAAiC;IAKlD,OAAO,CAAC,aAAa,CAAsB;IAElC,iBAAiB;IAejB,oBAAoB;IAQ7B,gBAAgB;IAChB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAchC,OAAO,CAAC,cAAc;IAMtB,mEAAmE;IACnE,OAAO,CAAC,qBAAqB;IAO7B,qHAAqH;IACrH,OAAO,CAAC,SAAS;IASjB,sEAAsE;IACtE,OAAO,CAAC,MAAM;IAYd,OAAO,CAAC,eAAe;IAIvB,kBAAkB,IAAI,OAAO,EAAE;IActB,OAAO,IAAI,IAAI;IAOxB,OAAO,CAAC,YAAY;IAepB,OAAO,CAAC,aAAa,CAkCnB;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,gBAAgB,CAAC;KACxC;CACD"}
|