@nldd/design-system 0.24.0 → 0.25.1
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 +591 -31
- package/dist/assets/styles/shadow-resets.d.ts +9 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +13 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +140 -137
- package/dist/cdn/chunks/accordion-B7KdKJno.js +90 -0
- package/dist/cdn/chunks/accordion-item-CVy8Apta.js +242 -0
- package/dist/cdn/chunks/{activity-indicator-DWBG1Csi.js → activity-indicator-CpJVlX6K.js} +12 -12
- package/dist/cdn/chunks/admonition-C89WHJ9a.js +379 -0
- package/dist/cdn/chunks/{avatar-CRZLseMs.js → avatar-Bf0OfAtQ.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-coYbMhot.js → avatar-group-BeBAv2wB.js} +20 -20
- package/dist/cdn/chunks/{badge-DAXG-uIw.js → badge-C43FvgkK.js} +5 -5
- package/dist/cdn/chunks/{banner-BbR0rebp.js → banner-OWK0gwFb.js} +41 -40
- package/dist/cdn/chunks/{bar-split-view-DoklVwuj.js → bar-split-view-Dj1WycIW.js} +7 -7
- package/dist/cdn/chunks/{blockquote-DfIl4wTC.js → blockquote-D_5MxcSi.js} +9 -9
- package/dist/cdn/chunks/{box-CXICi_Gs.js → box-BUoxiA7b.js} +10 -10
- package/dist/cdn/chunks/{breadcrumbs-CVoNqsU2.js → breadcrumbs-DXxJTACL.js} +6 -6
- package/dist/cdn/chunks/{button-DWzqSerk.js → button-DpKyquzm.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DwFLuumP.js → button-bar-BSt-QQRG.js} +30 -30
- package/dist/cdn/chunks/{button-group-D-nEY7Wz.js → button-group-D5QJWJzh.js} +2 -2
- package/dist/cdn/chunks/{card-CIVLEFhz.js → card-Cz4f-dCf.js} +9 -9
- package/dist/cdn/chunks/{cell-C79LmCOU.js → cell-zFw2V9wD.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BQepKdVv.js → checkbox-BDp3O8Nc.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-ColaTYKE.js → checkbox-field-CSXV0prA.js} +5 -5
- package/dist/cdn/chunks/{class-map-9VgiG_zt.js → class-map-C7ao595e.js} +1 -1
- package/dist/cdn/chunks/{code-editor-FNmK9xRx.js → code-editor-Chm9EG_v.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C5whEGq6.js → code-viewer-DX322d7w.js} +102 -87
- package/dist/cdn/chunks/{codemirror-input-SKGbh9LP.js → codemirror-input-BLMJQbHq.js} +4 -4
- package/dist/cdn/chunks/{collection-Dq6Z66UX.js → collection-Bf8HoSki.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CoOSPICd.js → combo-box-VuU_F54v.js} +25 -25
- package/dist/cdn/chunks/{container-CtwuWO3a.js → container-qVTgmbpz.js} +48 -48
- package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
- package/dist/cdn/chunks/{custom-element-BVKCDhPV.js → custom-element-C5yyaCZS.js} +4 -2
- package/dist/cdn/chunks/{date-field-CqnGM7GR.js → date-field-By9Q8151.js} +100 -88
- package/dist/cdn/chunks/{date-picker-C2iGHw2u.js → date-picker-DtA4PXCh.js} +16 -16
- package/dist/cdn/chunks/{decorate-CK3hc5C5.js → decorate-CkbtFnic.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DGAPpEdM.js → described-by-mixin-DXC6jkCd.js} +2 -2
- package/dist/cdn/chunks/{description-cell-B08Ma5EJ.js → description-cell-D2INE8A3.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-BwWYGVrJ.js → dev-checks-UHHli7gE.js} +112 -18
- package/dist/cdn/chunks/{dist-B8vBP_Xz.js → dist-B1pwN_VD.js} +1 -1
- package/dist/cdn/chunks/{dist-B4vELUJW.js → dist-BG0xnVUi.js} +3 -3
- package/dist/cdn/chunks/{dist-CKeY28-M.js → dist-BzfFo9Yu.js} +2 -2
- package/dist/cdn/chunks/{dist-CQ5kBaGZ.js → dist-C-T4uKP1.js} +1 -1
- package/dist/cdn/chunks/{dist-BThgPtD7.js → dist-Ce38ZA7b.js} +2 -2
- package/dist/cdn/chunks/{dist-DP5DQSlX.js → dist-Cm51DQO4.js} +2 -2
- package/dist/cdn/chunks/{dist-B2YK3eT2.js → dist-Dg3ySzj7.js} +3 -3
- package/dist/cdn/chunks/{dist-jAq440y0.js → dist-VXOtAJ-m.js} +1 -1
- package/dist/cdn/chunks/{dist-D1t9kkjo.js → dist-pCih3zzc.js} +1 -1
- package/dist/cdn/chunks/{dist-DzcXDSFC.js → dist-qo8avphr.js} +1 -1
- package/dist/cdn/chunks/{dist-CWN_qz9z.js → dist-zxb4QZZG.js} +1 -1
- package/dist/cdn/chunks/{divider-KgHxRNV9.js → divider-Cv_vyHvw.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CTIcETDr.js → document-tab-bar-CdOxr8KC.js} +53 -52
- package/dist/cdn/chunks/{dropdown-BhrCadMW.js → dropdown-DC9J6k0P.js} +5 -5
- package/dist/cdn/chunks/{file-field-DzH4Yrj5.js → file-field-CsrTk4uk.js} +25 -25
- package/dist/cdn/chunks/{floating-ui.dom-B8J1rV2c.js → floating-ui.dom-BvAAdCVe.js} +260 -184
- package/dist/cdn/chunks/{form-CzmdlZ0i.js → form-ClOD1OKh.js} +10 -10
- package/dist/cdn/chunks/{form-actions-CDQW1p3w.js → form-actions-CwaXGj43.js} +3 -3
- package/dist/cdn/chunks/{form-field-D_qJpPAS.js → form-field-LoX9v2Pa.js} +7 -7
- package/dist/cdn/chunks/{form-section-Jy5b5Qtp.js → form-section-i6piyKuy.js} +16 -16
- package/dist/cdn/chunks/{full-bleed-section-BDIuXLGU.js → full-bleed-section-6aAfCnez.js} +4 -4
- package/dist/cdn/chunks/{hero-BPHFHrUT.js → hero-CTQAayXT.js} +22 -22
- package/dist/cdn/chunks/{icon-BE2ojX0S.js → icon-B5kHyCz2.js} +7 -7
- package/dist/cdn/chunks/{icon-button-CFMhdG1B.js → icon-button-DuEiOOoc.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-CQ-e1GB2.js → icon-cell-uZkR3hZx.js} +6 -6
- package/dist/cdn/chunks/{identity-7wQDjeGb.js → identity-DR6DMjke.js} +55 -39
- package/dist/cdn/chunks/{if-defined-G1P3HUvi.js → if-defined-B7fJBsUt.js} +1 -1
- package/dist/cdn/chunks/{image-QPbmNKvZ.js → image-CuBUo_MQ.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-DP3AXfJV.js → inline-dialog-CZNkWJIA.js} +15 -15
- package/dist/cdn/chunks/{just-in-time-education-DnaF_sLc.js → just-in-time-education-qwg9hTDX.js} +8 -8
- package/dist/cdn/chunks/{kanban-o2GMLjsq.js → kanban-Bkg-nZmX.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-B_Jrut9s.js → kanban-column-C8iRyRNY.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-Dm366Dra.js → keyboard-shortcut-Rq5IHU-e.js} +3 -3
- package/dist/cdn/chunks/{languages-Dlh_tbAH.js → languages-DLHsACpp.js} +12 -12
- package/dist/cdn/chunks/{link-DhTY3Sjh.js → link-CgjFwaHP.js} +70 -21
- package/dist/cdn/chunks/{link-group-YuwD1m6-.js → link-group-5W0GAmTq.js} +2 -2
- package/dist/cdn/chunks/{list-Cdvib5Y-.js → list-BASqIKtP.js} +15 -15
- package/dist/cdn/chunks/{list-item-vO3GwQWa.js → list-item-DTcPysIP.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-F3av0jxz.js → list-item-segment-CRw0y4kg.js} +15 -15
- package/dist/cdn/chunks/{menu-dTVlz6mn.js → menu-CYILGTpB.js} +47 -41
- package/dist/cdn/chunks/{menu-bar-imOaTlGm.js → menu-bar-CL566HmJ.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-ChQbM1ER.js → menu-bar-item-C6OrUu_4.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-D7s6f49y.js → menu-divider-BtU9eBSb.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BcEmoNvL.js → menu-group-r2TvdqJB.js} +6 -6
- package/dist/cdn/chunks/{menu-item-BGlVTfe6.js → menu-item-CS45jTLu.js} +22 -22
- package/dist/cdn/chunks/{menu.template-syBthjEV.js → menu.template-CF8Iau1s.js} +20 -5
- package/dist/cdn/chunks/{modal-dialog-BBK25tjm.js → modal-dialog-C9NBq8TO.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-DuL6nLG_.js → multi-line-text-field-BkxV0vqA.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-CdZNbX91.js → navigation-split-view-DNrQYkg7.js} +11 -11
- package/dist/cdn/chunks/{nl.generated-CgRVSEh6.js → nl.generated-BDowZkhc.js} +1 -1
- package/dist/cdn/chunks/{notification-Dwhfnjb2.js → notification-Dzpy9hCc.js} +13 -13
- package/dist/cdn/chunks/{number-field-Dl4zZvVe.js → number-field-BJCUe-bI.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-BJxLZfiK.js → one-half-one-half-section-Ctw8ri5v.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-CARh_hdH.js → one-third-two-thirds-section-DxUUH8lS.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-FaxqiiD6.js → one-time-code-field-DGDyqIMd.js} +20 -20
- package/dist/cdn/chunks/{page-Cc5bb6VU.js → page-BpavFPML.js} +10 -10
- package/dist/cdn/chunks/{page-footer-Df1cS-ks.js → page-footer-CVqmyulx.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-BzgAU2sX.js → page-section-mixin-BHg-Wre9.js} +3 -3
- package/dist/cdn/chunks/{pagination-BcnkrWV_.js → pagination-BGZYq-eO.js} +6 -6
- package/dist/cdn/chunks/{password-field-CeIJm406.js → password-field-BIFfLAls.js} +7 -7
- package/dist/cdn/chunks/{popover-BIMt3aqW.js → popover-TCW20ibN.js} +9 -9
- package/dist/cdn/chunks/{progress-bar-C9CWhkse.js → progress-bar-C4bLuJBa.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-CJL1aFbS.js → progress-circle-BePtt89f.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DKo5kdLW.js → radio-button-CLiuwjA1.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-DPZajMnT.js → radio-button-field-BPva1mUv.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-BBZhU3bn.js → radio-button-group-Z5s4obz6.js} +3 -3
- package/dist/cdn/chunks/{render-marked-Bkoq5vNH.js → render-marked-C3ypoEZM.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-CEW8Cg1r.js → reorder-handle-cell-BB9b4T_d.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-BkksqjmK.js → reorder-handle-mixin-DBjNe6Rl.js} +2 -2
- package/dist/cdn/chunks/{repeat-C5V9E9Ta.js → repeat-s95Ixbpx.js} +1 -1
- package/dist/cdn/chunks/{rich-text-DEFr_Niu.js → rich-text-DTxHo8E_.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BSORP0i7.js → row-header-mixin-BcwoEgu7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-B7kZVxmh.js → scroll-fade-Dul0IfE1.js} +4 -4
- package/dist/cdn/chunks/{search-field-Dr0MLD_z.js → search-field-BeZN7S8J.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-aOIkoklF.js → segmented-control-Dzu8xoqB.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-CRBumQjX.js → shadow-resets-Dlq8Oecv.js} +11 -7
- package/dist/cdn/chunks/{sheet-BCPE_pDl.js → sheet-DaQpfAep.js} +4 -4
- package/dist/cdn/chunks/{shell-ZCsqW56P.js → shell-DSNgonKU.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-BWIyZmzo.js → side-by-side-split-view-DhGbcDrs.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-Di3mQROc.js → sidebar-section-BlJmPb9C.js} +8 -8
- package/dist/cdn/chunks/{simple-section-sOkNMsbz.js → simple-section-CYiTEFqN.js} +4 -4
- package/dist/cdn/chunks/{skip-link-mcskOuFr.js → skip-link-CReOb-Ci.js} +4 -4
- package/dist/cdn/chunks/{slider-CkPk4lBA.js → slider-DUEGol_V.js} +21 -21
- package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
- package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
- package/dist/cdn/chunks/{spacer-RB_KBaTr.js → spacer-CPmyJDQq.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-V1UaaPcO.js → spacer-cell-DJEv0v6s.js} +4 -4
- package/dist/cdn/chunks/{split-button-BUEhYiI5.js → split-button-B3vfYAdy.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-Rmb9cG9K.js → split-view-divider-pSUpnEPX.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-DQRZ9tE0.js → split-view-pane-J1RVr_w1.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BaeQhWmd.js → stacked-split-view-B67fT-Ch.js} +7 -7
- package/dist/cdn/chunks/{static-html-CAczcbUD.js → static-html-BT4LOKbV.js} +1 -1
- package/dist/cdn/chunks/{status-bar-D3-IYqUp.js → status-bar-CGXqgNOf.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BfNXoHds.js → step-bar-DdsA2Egs.js} +21 -21
- package/dist/cdn/chunks/{step-cell-BN2ZKsQ4.js → step-cell-DsTAgMCx.js} +5 -5
- package/dist/cdn/chunks/{stepper-DuPRMxBx.js → stepper-DPqXiLQr.js} +6 -6
- package/dist/cdn/chunks/{style-map-LFqo5rE_.js → style-map-B7yv7Y8k.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BVKCFzpO.js → swatch-picker-D9QZmbNN.js} +21 -21
- package/dist/cdn/chunks/{switch-CgUZ0WlQ.js → switch-CE2glvZQ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B4c8-L61.js → switch-field-Dr2LovXc.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D-1g8fdF.js → tab-bar-DYZbToZB.js} +21 -21
- package/dist/cdn/chunks/{table-jrJ4EJpq.js → table-DoQMJbSg.js} +5 -5
- package/dist/cdn/chunks/{tag-JYwa5l-A.js → tag-DOX5nY-Z.js} +10 -10
- package/dist/cdn/chunks/{term-NyLmTWnF.js → term-CxGzPnhq.js} +58 -38
- package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
- package/dist/cdn/chunks/text-Dqe0uTK7.js +260 -0
- package/dist/cdn/chunks/{text-cell-BXLFcD_e.js → text-cell-ByGrujhK.js} +74 -62
- package/dist/cdn/chunks/{text-editor-rLc5H6kD.js → text-editor-DT9oWQCT.js} +10 -10
- package/dist/cdn/chunks/{text-field-B7M4VwCe.js → text-field-DKz5IRAU.js} +22 -22
- package/dist/cdn/chunks/{time-field-BtQRsvpR.js → time-field-Dh7nTwNc.js} +27 -27
- package/dist/cdn/chunks/{time-picker-BKLwibb9.js → time-picker-Bp-l4JfF.js} +54 -57
- package/dist/cdn/chunks/{title-DLD3RW7l.js → title-CdIWXNtc.js} +113 -98
- package/dist/cdn/chunks/{title-cell-BCUBuKIO.js → title-cell-DNbP8l_x.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-Etx8hKQS.js → toggle-button-CPMxB3gN.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-Ph1kcTqj.js → toggle-button-group-ERWVyRX5.js} +2 -2
- package/dist/cdn/chunks/{token-BQtumlDT.js → token-CG8dR3EH.js} +13 -13
- package/dist/cdn/chunks/{token-field-BrV2RZHi.js → token-field-B8wqHKan.js} +21 -21
- package/dist/cdn/chunks/{toolbar-w_2rxcNu.js → toolbar-CiZoecHm.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-x-y_AxHu.js → toolbar-item-xJEewchW.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-g47zMdG2.js → toolbar-title-C08aG67Y.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-EP0gu8kg.js → toolbar.styles-DmAHodW4.js} +3 -3
- package/dist/cdn/chunks/{tooltip-D47hF_iD.js → tooltip-660R32cn.js} +55 -47
- package/dist/cdn/chunks/{top-navigation-bar-DO7JsQVs.js → top-navigation-bar-B1HFShH8.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-CVEOoXhu.js → top-title-bar-BLZZd0Iu.js} +14 -14
- package/dist/cdn/chunks/{translations-eWWV6weF.js → translations-CF08wvn-.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-x3dadNwz.js → two-thirds-one-third-section-Dqz7UoSH.js} +4 -4
- package/dist/cdn/chunks/{validation-list-krcQHzP3.js → validation-list-D-bzOl5H.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-CXBa-fVi.js → visibility-mixin-X9d6wHvR.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-Cd1_FE1J.js → visually-hidden-Cew5_ldu.js} +2 -2
- package/dist/cdn/chunks/{window-JbrLuRjR.js → window-DSgA26_c.js} +4 -4
- package/dist/cdn/chunks/{with-translations-DhRk5rH-.js → with-translations-Boc5Daaj.js} +3 -3
- package/dist/components/actions/button-bar/button-bar.js +2 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +17 -4
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +50 -6
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +16 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.d.ts +38 -0
- package/dist/components/content/accordion/accordion-item.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.js +62 -0
- package/dist/components/content/accordion/accordion-item.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js +196 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.js +24 -0
- package/dist/components/content/accordion/accordion-item.template.js.map +1 -0
- package/dist/components/content/accordion/accordion.d.ts +50 -0
- package/dist/components/content/accordion/accordion.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.js +96 -0
- package/dist/components/content/accordion/accordion.js.map +1 -0
- package/dist/components/content/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.styles.js +43 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.template.js +9 -0
- package/dist/components/content/accordion/accordion.template.js.map +1 -0
- package/dist/components/content/admonition/admonition.d.ts +76 -0
- package/dist/components/content/admonition/admonition.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.js +129 -0
- package/dist/components/content/admonition/admonition.js.map +1 -0
- package/dist/components/content/admonition/admonition.styles.d.ts +2 -0
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.styles.js +269 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -0
- package/dist/components/content/admonition/admonition.template.d.ts +4 -0
- package/dist/components/content/admonition/admonition.template.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.template.js +63 -0
- package/dist/components/content/admonition/admonition.template.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +36 -1
- package/dist/components/content/code-viewer/code-viewer.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 +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +17 -10
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +33 -19
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +5 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +11 -5
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +14 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +14 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +12 -1
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.d.ts +1 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.js +2 -0
- package/dist/components/content/term/term.i18n.js.map +1 -1
- package/dist/components/content/term/term.js +23 -1
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/term/term.template.d.ts.map +1 -1
- package/dist/components/content/term/term.template.js +33 -12
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/text/text.d.ts +15 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +19 -3
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -155
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/text/text.template.d.ts +3 -2
- package/dist/components/content/text/text.template.d.ts.map +1 -1
- package/dist/components/content/text/text.template.js +3 -4
- package/dist/components/content/text/text.template.js.map +1 -1
- package/dist/components/content/title/title.d.ts +22 -7
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +43 -19
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +16 -10
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +4 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +2 -2
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -2
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -2
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +14 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +34 -1
- package/dist/components/inputs/date-field/date-field.js.map +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 +1 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/layout/box/box.styles.js +7 -7
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +40 -31
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +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 +5 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +39 -29
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.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 +5 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +60 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +145 -2
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +4 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +4 -1
- package/dist/components/navigation/link/link.template.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 +25 -24
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/css/global-open-font.css +2 -0
- package/dist/css/global.css +2 -0
- package/dist/css/link.css +93 -0
- package/dist/css/rich-text.css +200 -2
- package/dist/css/text.css +159 -0
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes.css +3 -0
- package/dist/css/title.css +10 -10
- package/dist/css/variables.css +21 -0
- package/dist/nldd.min.js +5057 -4592
- 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 +48 -10
- package/dist/types/vue.d.ts +54 -10
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +3 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/css-time.d.ts +4 -0
- package/dist/utilities/css-time.d.ts.map +1 -0
- package/dist/utilities/css-time.js +10 -0
- package/dist/utilities/css-time.js.map +1 -0
- package/dist/utilities/custom-element.d.ts +10 -0
- package/dist/utilities/custom-element.d.ts.map +1 -1
- package/dist/utilities/custom-element.js +11 -0
- package/dist/utilities/custom-element.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +8 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +36 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +71 -2
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/slot-content.d.ts +18 -7
- package/dist/utilities/slot-content.d.ts.map +1 -1
- package/dist/utilities/slot-content.js +25 -4
- package/dist/utilities/slot-content.js.map +1 -1
- package/dist/utilities/slotted-block.d.ts +20 -0
- package/dist/utilities/slotted-block.d.ts.map +1 -0
- package/dist/utilities/slotted-block.js +30 -0
- package/dist/utilities/slotted-block.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -2
- package/lint/frontends.js +149 -15
- package/lint/linter.js +3 -2
- package/lint/main.js +17 -3
- package/lint/project.js +2 -2
- package/lint/rule.schema.json +2 -1
- package/package.json +19 -2
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
- package/dist/cdn/chunks/text-gy-gkfSS.js +0 -406
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-C5yyaCZS.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./with-translations-
|
|
6
|
+
import { t as u } from "./with-translations-Boc5Daaj.js";
|
|
7
7
|
import { t as d } from "./avatar.i18n-CMwQjBkS.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
8
|
+
import { t as f } from "./shadow-resets-Dlq8Oecv.js";
|
|
9
9
|
import { t as p } from "./link-rel-DvrTEfVT.js";
|
|
10
10
|
import { n as m } from "./link-hint-KFhgr5Ng.js";
|
|
11
|
-
import "./tooltip-
|
|
12
|
-
import "./icon-
|
|
11
|
+
import "./tooltip-660R32cn.js";
|
|
12
|
+
import "./icon-B5kHyCz2.js";
|
|
13
13
|
// src/components/content/avatar/avatar.styles.ts
|
|
14
14
|
var h = a`
|
|
15
15
|
:host {
|
|
@@ -273,38 +273,38 @@ var _ = /* @__PURE__ */ e({ NLDDAvatar: () => b }), v, y = .75, b = (v = class e
|
|
|
273
273
|
return g(this);
|
|
274
274
|
}
|
|
275
275
|
}, v.styles = h, v);
|
|
276
|
-
i([
|
|
276
|
+
i([s({
|
|
277
277
|
reflect: !0,
|
|
278
278
|
converter: l("person")
|
|
279
|
-
})], b.prototype, "type", void 0), i([
|
|
279
|
+
})], b.prototype, "type", void 0), i([s({
|
|
280
280
|
reflect: !0,
|
|
281
281
|
converter: l("full")
|
|
282
|
-
})], b.prototype, "size", void 0), i([
|
|
282
|
+
})], b.prototype, "size", void 0), i([s({
|
|
283
283
|
reflect: !0,
|
|
284
284
|
converter: l("neutral")
|
|
285
|
-
})], b.prototype, "color", void 0), i([
|
|
285
|
+
})], b.prototype, "color", void 0), i([s({
|
|
286
286
|
type: Boolean,
|
|
287
287
|
reflect: !0,
|
|
288
288
|
attribute: "icon-aligned"
|
|
289
|
-
})], b.prototype, "iconAligned", void 0), i([
|
|
289
|
+
})], b.prototype, "iconAligned", void 0), i([s({ type: String })], b.prototype, "name", void 0), i([s({ type: String })], b.prototype, "initials", void 0), i([s({ type: String })], b.prototype, "src", void 0), i([s({ type: String })], b.prototype, "srcset", void 0), i([s({ type: String })], b.prototype, "icon", void 0), i([s({
|
|
290
290
|
type: String,
|
|
291
291
|
attribute: "accessible-label"
|
|
292
|
-
})], b.prototype, "accessibleLabel", void 0), i([
|
|
292
|
+
})], b.prototype, "accessibleLabel", void 0), i([s({
|
|
293
293
|
type: Boolean,
|
|
294
294
|
reflect: !0
|
|
295
|
-
})], b.prototype, "decorative", void 0), i([
|
|
295
|
+
})], b.prototype, "decorative", void 0), i([s({
|
|
296
296
|
reflect: !0,
|
|
297
297
|
attribute: "tooltip-timing",
|
|
298
298
|
converter: l("delay")
|
|
299
|
-
})], b.prototype, "tooltipTiming", void 0), i([
|
|
299
|
+
})], b.prototype, "tooltipTiming", void 0), i([s({
|
|
300
300
|
reflect: !0,
|
|
301
301
|
converter: l("")
|
|
302
|
-
})], b.prototype, "href", void 0), i([
|
|
302
|
+
})], b.prototype, "href", void 0), i([s({
|
|
303
303
|
type: Boolean,
|
|
304
304
|
reflect: !0,
|
|
305
305
|
attribute: "no-tab"
|
|
306
|
-
})], b.prototype, "noTab", void 0), i([
|
|
306
|
+
})], b.prototype, "noTab", void 0), i([s({
|
|
307
307
|
type: Boolean,
|
|
308
308
|
reflect: !0
|
|
309
|
-
})], b.prototype, "button", void 0), i([
|
|
309
|
+
})], b.prototype, "button", void 0), i([s({ type: String })], b.prototype, "target", void 0), i([s({ type: String })], b.prototype, "rel", void 0), i([o()], b.prototype, "_imageFailed", void 0), b = i([c("nldd-avatar")], b);
|
|
310
310
|
export { _ as t };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { n as l } from "./breakpoints-Cwor8TRP.js";
|
|
5
|
-
import "./tooltip-
|
|
6
|
-
import "./avatar-
|
|
7
|
-
import "./icon-
|
|
8
|
-
import "./popover-
|
|
9
|
-
import "./container-
|
|
10
|
-
import "./page-
|
|
11
|
-
import "./top-title-bar-
|
|
12
|
-
import "./list-
|
|
13
|
-
import "./list-item-
|
|
14
|
-
import "./cell-
|
|
15
|
-
import "./text-cell-
|
|
16
|
-
import "./spacer-cell-
|
|
17
|
-
import { t as u } from "./with-translations-
|
|
5
|
+
import "./tooltip-660R32cn.js";
|
|
6
|
+
import "./avatar-Bf0OfAtQ.js";
|
|
7
|
+
import "./icon-B5kHyCz2.js";
|
|
8
|
+
import "./popover-TCW20ibN.js";
|
|
9
|
+
import "./container-qVTgmbpz.js";
|
|
10
|
+
import "./page-BpavFPML.js";
|
|
11
|
+
import "./top-title-bar-BLZZd0Iu.js";
|
|
12
|
+
import "./list-BASqIKtP.js";
|
|
13
|
+
import "./list-item-DTcPysIP.js";
|
|
14
|
+
import "./cell-zFw2V9wD.js";
|
|
15
|
+
import "./text-cell-ByGrujhK.js";
|
|
16
|
+
import "./spacer-cell-DJEv0v6s.js";
|
|
17
|
+
import { t as u } from "./with-translations-Boc5Daaj.js";
|
|
18
18
|
import { t as d } from "./avatar-group.i18n-BYw_9wt_.js";
|
|
19
19
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
20
20
|
// src/components/content/avatar-group/avatar-group.styles.ts
|
|
21
|
-
var p =
|
|
21
|
+
var p = o(l.mdMin), m = i`
|
|
22
22
|
:host {
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
}
|
|
@@ -326,14 +326,14 @@ var _, v = [
|
|
|
326
326
|
return g(this);
|
|
327
327
|
}
|
|
328
328
|
}, _.styles = m, _);
|
|
329
|
-
r([
|
|
329
|
+
r([s({
|
|
330
330
|
reflect: !0,
|
|
331
331
|
converter: f("40")
|
|
332
|
-
})], b.prototype, "size", void 0), r([
|
|
332
|
+
})], b.prototype, "size", void 0), r([s({
|
|
333
333
|
type: Number,
|
|
334
334
|
reflect: !0
|
|
335
|
-
})], b.prototype, "max", void 0), r([
|
|
335
|
+
})], b.prototype, "max", void 0), r([s({
|
|
336
336
|
type: String,
|
|
337
337
|
attribute: "accessible-label"
|
|
338
|
-
})], b.prototype, "accessibleLabel", void 0), r([
|
|
338
|
+
})], b.prototype, "accessibleLabel", void 0), r([a()], b.prototype, "_overflow", void 0), r([a()], b.prototype, "_total", void 0), r([a()], b.prototype, "_fitMax", void 0), b = r([c("nldd-avatar-group")], b);
|
|
339
339
|
export { b as NLDDAvatarGroup };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, r as a } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as c } from "./shadow-resets-
|
|
6
|
-
import { t as l } from "./with-translations-
|
|
5
|
+
import { t as c } from "./shadow-resets-Dlq8Oecv.js";
|
|
6
|
+
import { t as l } from "./with-translations-Boc5Daaj.js";
|
|
7
7
|
import { t as u } from "./badge.i18n-DqW7hLQj.js";
|
|
8
|
-
import "./icon-
|
|
8
|
+
import "./icon-B5kHyCz2.js";
|
|
9
9
|
// src/components/status-and-feedback/badge/badge.styles.ts
|
|
10
10
|
var d = i`
|
|
11
11
|
:host {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i, n as a,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
5
|
+
import { t as l } from "./shadow-resets-Dlq8Oecv.js";
|
|
6
6
|
import { t as u } from "./banner.i18n-BOCM9rGN.js";
|
|
7
|
-
import "./icon-
|
|
8
|
-
import "./button-group-
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import { t as d } from "./translations-
|
|
7
|
+
import "./icon-B5kHyCz2.js";
|
|
8
|
+
import "./button-group-D5QJWJzh.js";
|
|
9
|
+
import "./icon-button-DuEiOOoc.js";
|
|
10
|
+
import { t as d } from "./translations-CF08wvn-.js";
|
|
11
11
|
// src/components/status-and-feedback/banner/banner.styles.ts
|
|
12
12
|
var f = i`
|
|
13
13
|
:host {
|
|
@@ -25,12 +25,12 @@ var f = i`
|
|
|
25
25
|
--_banner-corner-radius: var(--semantics-surfaces-corner-radius);
|
|
26
26
|
--_banner-padding: var(--primitives-space-12);
|
|
27
27
|
--_banner-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
28
|
-
--_banner-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
29
|
-
--_banner-border-width: var(--primitives-border-width-thin);
|
|
30
|
-
--_banner-icon-color: var(--primitives-color-neutral-750);
|
|
31
|
-
--_banner-icon-size: var(--primitives-space-32);
|
|
28
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
29
|
+
--_banner-highlight-border-width: var(--primitives-border-width-thin);
|
|
30
|
+
--_banner-variant-icon-color: var(--primitives-color-neutral-750);
|
|
31
|
+
--_banner-variant-icon-size: var(--primitives-space-32);
|
|
32
32
|
--_banner-content-color: var(--semantics-content-color);
|
|
33
|
-
--_banner-text-icon-offset: calc((var(--_banner-icon-size) - var(--primitives-font-size-100) * var(--primitives-line-height-tight)) / 2);
|
|
33
|
+
--_banner-text-variant-icon-offset: calc((var(--_banner-variant-icon-size) - var(--primitives-font-size-100) * var(--primitives-line-height-tight)) / 2);
|
|
34
34
|
--_banner-column-gap: var(--primitives-space-8);
|
|
35
35
|
--_banner-dismiss-inset: 0px;
|
|
36
36
|
--_banner-dismissible-padding-right: calc(var(--_banner-dismiss-inset) + var(--semantics-controls-md-min-size));
|
|
@@ -51,7 +51,8 @@ var f = i`
|
|
|
51
51
|
|
|
52
52
|
/* The dismiss slot narrows with the icon-button the template swaps in, so
|
|
53
53
|
the reserved right padding tracks the control size rather than a fixed
|
|
54
|
-
value. --_banner-text-icon-offset follows
|
|
54
|
+
value. --_banner-text-variant-icon-offset follows
|
|
55
|
+
--_banner-variant-icon-size on its own.
|
|
55
56
|
|
|
56
57
|
--_banner-dismiss-inset pulls the 34px button up until its center sits on the
|
|
57
58
|
24px icon's center (8 - (34 - 24) / 2 = 3), and the same value on the
|
|
@@ -59,34 +60,34 @@ var f = i`
|
|
|
59
60
|
|
|
60
61
|
:host([size="sm"]) {
|
|
61
62
|
--_banner-padding: var(--primitives-space-8);
|
|
62
|
-
--_banner-icon-size: var(--primitives-space-24);
|
|
63
|
+
--_banner-variant-icon-size: var(--primitives-space-24);
|
|
63
64
|
--_banner-column-gap: var(--primitives-space-4);
|
|
64
|
-
--_banner-dismiss-inset: calc(var(--_banner-padding) - (var(--semantics-controls-sm-min-size) - var(--_banner-icon-size)) / 2);
|
|
65
|
+
--_banner-dismiss-inset: calc(var(--_banner-padding) - (var(--semantics-controls-sm-min-size) - var(--_banner-variant-icon-size)) / 2);
|
|
65
66
|
--_banner-dismissible-padding-right: calc(var(--_banner-dismiss-inset) + var(--semantics-controls-sm-min-size));
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
:host([variant="accent"]) {
|
|
69
70
|
--_banner-background-color: var(--semantics-surfaces-accent-tinted-background-color);
|
|
70
|
-
--_banner-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
71
|
-
--_banner-icon-color: var(--components-banner-accent-icon-color);
|
|
71
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
72
|
+
--_banner-variant-icon-color: var(--components-banner-accent-icon-color);
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
:host([variant="success"]) {
|
|
75
76
|
--_banner-background-color: var(--semantics-surfaces-success-tinted-background-color);
|
|
76
|
-
--_banner-border-color: var(--semantics-surfaces-success-tinted-highlight-border-color);
|
|
77
|
-
--_banner-icon-color: light-dark(var(--primitives-color-success-550), var(--primitives-color-success-650));
|
|
77
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-success-tinted-highlight-border-color);
|
|
78
|
+
--_banner-variant-icon-color: light-dark(var(--primitives-color-success-550), var(--primitives-color-success-650));
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
:host([variant="warning"]) {
|
|
81
82
|
--_banner-background-color: var(--semantics-surfaces-warning-tinted-background-color);
|
|
82
|
-
--_banner-border-color: var(--semantics-surfaces-warning-tinted-highlight-border-color);
|
|
83
|
-
--_banner-icon-color: light-dark(var(--primitives-color-warning-450), var(--primitives-color-warning-650));
|
|
83
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-warning-tinted-highlight-border-color);
|
|
84
|
+
--_banner-variant-icon-color: light-dark(var(--primitives-color-warning-450), var(--primitives-color-warning-650));
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
:host([variant="critical"]) {
|
|
87
88
|
--_banner-background-color: var(--semantics-surfaces-critical-tinted-background-color);
|
|
88
|
-
--_banner-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
89
|
-
--_banner-icon-color: var(--primitives-color-critical-600);
|
|
89
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
90
|
+
--_banner-variant-icon-color: var(--primitives-color-critical-600);
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
/* # Block */
|
|
@@ -96,7 +97,7 @@ var f = i`
|
|
|
96
97
|
display: grid;
|
|
97
98
|
position: relative;
|
|
98
99
|
border-radius: var(--_banner-corner-radius);
|
|
99
|
-
box-shadow: inset 0 0 0 var(--_banner-border-width) var(--_banner-border-color);
|
|
100
|
+
box-shadow: inset 0 0 0 var(--_banner-highlight-border-width) var(--_banner-highlight-border-color);
|
|
100
101
|
background-color: var(--_banner-background-color);
|
|
101
102
|
padding: var(--_banner-padding);
|
|
102
103
|
grid-template-columns: auto 1fr;
|
|
@@ -109,21 +110,21 @@ var f = i`
|
|
|
109
110
|
|
|
110
111
|
@media (forced-colors: active) {
|
|
111
112
|
.banner {
|
|
112
|
-
border: var(--_banner-border-width) solid CanvasText;
|
|
113
|
+
border: var(--_banner-highlight-border-width) solid CanvasText;
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
|
|
117
118
|
/* # Icon */
|
|
118
119
|
|
|
119
|
-
.
|
|
120
|
+
.banner__variant-icon {
|
|
120
121
|
display: flex;
|
|
121
122
|
grid-column: 1;
|
|
122
123
|
grid-row: 1;
|
|
123
|
-
width: var(--_banner-icon-size);
|
|
124
|
+
width: var(--_banner-variant-icon-size);
|
|
124
125
|
align-items: flex-start;
|
|
125
|
-
--context-content-color: var(--_banner-icon-color);
|
|
126
|
-
color: var(--_banner-icon-color);
|
|
126
|
+
--context-content-color: var(--_banner-variant-icon-color);
|
|
127
|
+
color: var(--_banner-variant-icon-color);
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
|
|
@@ -140,12 +141,12 @@ var f = i`
|
|
|
140
141
|
|
|
141
142
|
.banner__heading {
|
|
142
143
|
display: flex;
|
|
143
|
-
padding-top: var(--_banner-text-icon-offset);
|
|
144
|
+
padding-top: var(--_banner-text-variant-icon-offset);
|
|
144
145
|
flex-direction: column;
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
.banner__heading:has(.banner__supporting-text) {
|
|
148
|
-
padding-top: calc(var(--_banner-text-icon-offset) - var(--primitives-space-2));
|
|
149
|
+
padding-top: calc(var(--_banner-text-variant-icon-offset) - var(--primitives-space-2));
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
/* A banner carries text it did not write: a server message, an identifier, a
|
|
@@ -200,7 +201,7 @@ var f = i`
|
|
|
200
201
|
function p(e) {
|
|
201
202
|
return t`
|
|
202
203
|
<div class="banner">
|
|
203
|
-
<div class="
|
|
204
|
+
<div class="banner__variant-icon"
|
|
204
205
|
aria-hidden="true"
|
|
205
206
|
>
|
|
206
207
|
<nldd-icon icon=${e._resolvedIcon}></nldd-icon>
|
|
@@ -304,28 +305,28 @@ var m, h = {
|
|
|
304
305
|
return p(this);
|
|
305
306
|
}
|
|
306
307
|
}, m.styles = f, m);
|
|
307
|
-
r([
|
|
308
|
+
r([o({
|
|
308
309
|
reflect: !0,
|
|
309
310
|
converter: c("neutral")
|
|
310
|
-
})], g.prototype, "variant", void 0), r([
|
|
311
|
+
})], g.prototype, "variant", void 0), r([o({
|
|
311
312
|
reflect: !0,
|
|
312
313
|
converter: c("md")
|
|
313
|
-
})], g.prototype, "size", void 0), r([
|
|
314
|
+
})], g.prototype, "size", void 0), r([o({
|
|
314
315
|
reflect: !0,
|
|
315
316
|
converter: c("")
|
|
316
|
-
})], g.prototype, "icon", void 0), r([
|
|
317
|
+
})], g.prototype, "icon", void 0), r([o({
|
|
317
318
|
reflect: !0,
|
|
318
319
|
converter: c("")
|
|
319
|
-
})], g.prototype, "text", void 0), r([
|
|
320
|
+
})], g.prototype, "text", void 0), r([o({
|
|
320
321
|
reflect: !0,
|
|
321
322
|
attribute: "supporting-text",
|
|
322
323
|
converter: c("")
|
|
323
|
-
})], g.prototype, "supportingText", void 0), r([
|
|
324
|
+
})], g.prototype, "supportingText", void 0), r([o({
|
|
324
325
|
type: Number,
|
|
325
326
|
reflect: !0,
|
|
326
327
|
attribute: "heading-level"
|
|
327
|
-
})], g.prototype, "headingLevel", void 0), r([
|
|
328
|
+
})], g.prototype, "headingLevel", void 0), r([o({
|
|
328
329
|
type: Boolean,
|
|
329
330
|
reflect: !0
|
|
330
|
-
})], g.prototype, "dismissible", void 0), r([
|
|
331
|
+
})], g.prototype, "dismissible", void 0), r([o({ type: Object })], g.prototype, "translations", void 0), r([a()], g.prototype, "_hasContent", void 0), r([a()], g.prototype, "_hasActions", void 0), g = r([s("nldd-banner")], g);
|
|
331
332
|
export { g as NLDDBanner };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i, n as a,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as l } from "./class-map-
|
|
6
|
-
import "./split-view-divider-
|
|
4
|
+
import { a as c } from "./shadow-resets-Dlq8Oecv.js";
|
|
5
|
+
import { t as l } from "./class-map-C7ao595e.js";
|
|
6
|
+
import "./split-view-divider-pSUpnEPX.js";
|
|
7
7
|
import { r as u, t as d } from "./breakpoints-Cwor8TRP.js";
|
|
8
8
|
import { n as f } from "./scroll-mode-controller-COUD1-3P.js";
|
|
9
9
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
@@ -255,8 +255,8 @@ var g = class extends e {
|
|
|
255
255
|
return h(this);
|
|
256
256
|
}
|
|
257
257
|
}, _ = (g.styles = m, g);
|
|
258
|
-
r([
|
|
258
|
+
r([o({
|
|
259
259
|
reflect: !0,
|
|
260
260
|
converter: p("inherit")
|
|
261
|
-
})], _.prototype, "background", void 0), r([
|
|
261
|
+
})], _.prototype, "background", void 0), r([a()], _.prototype, "_currentBreakpoint", void 0), _ = r([s("nldd-bar-split-view")], _);
|
|
262
262
|
export { _ as NLDDBarSplitView };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { n as l, r as u } from "./custom-font-size-D7KNr84p.js";
|
|
5
5
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
import {
|
|
7
|
+
import { i as p, t as m } from "./shadow-resets-Dlq8Oecv.js";
|
|
8
8
|
// src/components/content/blockquote/blockquote.styles.ts
|
|
9
|
-
var h =
|
|
9
|
+
var h = o(f.smMax), g = o(f.mdMin), _ = o(f.mdMax), v = o(f.lgMin), y = i`
|
|
10
10
|
:host {
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
}
|
|
@@ -222,20 +222,20 @@ var x, S = {
|
|
|
222
222
|
return b(this);
|
|
223
223
|
}
|
|
224
224
|
}, x.styles = y, x);
|
|
225
|
-
r([
|
|
225
|
+
r([s({
|
|
226
226
|
reflect: !0,
|
|
227
227
|
converter: d("md")
|
|
228
|
-
})], C.prototype, "size", void 0), r([
|
|
228
|
+
})], C.prototype, "size", void 0), r([s({ type: String })], C.prototype, "cite", void 0), r([s({
|
|
229
229
|
reflect: !0,
|
|
230
230
|
attribute: "sm-custom-size",
|
|
231
231
|
converter: d("")
|
|
232
|
-
})], C.prototype, "smCustomSize", void 0), r([
|
|
232
|
+
})], C.prototype, "smCustomSize", void 0), r([s({
|
|
233
233
|
reflect: !0,
|
|
234
234
|
attribute: "md-custom-size",
|
|
235
235
|
converter: d("")
|
|
236
|
-
})], C.prototype, "mdCustomSize", void 0), r([
|
|
236
|
+
})], C.prototype, "mdCustomSize", void 0), r([s({
|
|
237
237
|
reflect: !0,
|
|
238
238
|
attribute: "lg-custom-size",
|
|
239
239
|
converter: d("")
|
|
240
|
-
})], C.prototype, "lgCustomSize", void 0), r([
|
|
240
|
+
})], C.prototype, "lgCustomSize", void 0), r([a()], C.prototype, "_hasAttribution", void 0), r([a()], C.prototype, "_hasIdentityAttribution", void 0), C = r([c("nldd-blockquote")], C);
|
|
241
241
|
export { C as NLDDBlockquote };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as r, r as i } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as s } from "./shadow-resets-Dlq8Oecv.js";
|
|
6
6
|
// src/components/layout/box/box.styles.ts
|
|
7
7
|
var c = r`
|
|
8
8
|
:host {
|
|
@@ -15,9 +15,9 @@ var c = r`
|
|
|
15
15
|
:host {
|
|
16
16
|
--_box-corner-radius: var(--semantics-surfaces-corner-radius);
|
|
17
17
|
--_box-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
18
|
-
--_box-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
19
|
-
--_box-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
20
|
-
--_box-highlight-border: inset 0 0 0 var(--_box-border-width) var(--_box-border-color);
|
|
18
|
+
--_box-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
19
|
+
--_box-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
20
|
+
--_box-highlight-border: inset 0 0 0 var(--_box-highlight-border-width) var(--_box-highlight-border-color);
|
|
21
21
|
|
|
22
22
|
display: block;
|
|
23
23
|
width: 100%;
|
|
@@ -32,17 +32,17 @@ var c = r`
|
|
|
32
32
|
|
|
33
33
|
:host([background="base"]) {
|
|
34
34
|
--_box-background-color: var(--semantics-surfaces-base-background-color);
|
|
35
|
-
--_box-border-color: var(--semantics-surfaces-base-highlight-border-color);
|
|
35
|
+
--_box-highlight-border-color: var(--semantics-surfaces-base-highlight-border-color);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
:host([background="accent-tinted"]) {
|
|
39
39
|
--_box-background-color: var(--semantics-surfaces-accent-tinted-background-color);
|
|
40
|
-
--_box-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
40
|
+
--_box-highlight-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
:host([background="critical"]) {
|
|
44
44
|
--_box-background-color: var(--semantics-surfaces-critical-tinted-background-color);
|
|
45
|
-
--_box-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
45
|
+
--_box-highlight-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
|
|
@@ -62,7 +62,7 @@ var c = r`
|
|
|
62
62
|
|
|
63
63
|
@media (forced-colors: active) {
|
|
64
64
|
.box {
|
|
65
|
-
border: var(--_box-border-width) solid CanvasText;
|
|
65
|
+
border: var(--_box-highlight-border-width) solid CanvasText;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, r as a } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as s } from "./slot-content-
|
|
4
|
+
import { t as s } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import "./icon-
|
|
6
|
+
import { t as l } from "./shadow-resets-Dlq8Oecv.js";
|
|
7
|
+
import "./icon-B5kHyCz2.js";
|
|
8
8
|
import { t as u } from "./breadcrumbs.i18n-zmO8jaTO.js";
|
|
9
|
-
import { t as d } from "./translations-
|
|
9
|
+
import { t as d } from "./translations-CF08wvn-.js";
|
|
10
10
|
// src/components/navigation/breadcrumbs/breadcrumbs.styles.ts
|
|
11
11
|
var f = i`
|
|
12
12
|
.breadcrumbs__separator {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a, r as o } from "./custom-element-C5yyaCZS.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as c } from "./shadow-resets-
|
|
5
|
+
import { t as c } from "./shadow-resets-Dlq8Oecv.js";
|
|
6
6
|
import { t as l } from "./link-rel-DvrTEfVT.js";
|
|
7
7
|
import { r as u, t as d } from "./link-hint-KFhgr5Ng.js";
|
|
8
|
-
import { i as f, n as p, r as m } from "./keyboard-shortcut-
|
|
8
|
+
import { i as f, n as p, r as m } from "./keyboard-shortcut-Rq5IHU-e.js";
|
|
9
9
|
import { n as h, t as g } from "./popover-target-B25dxnmt.js";
|
|
10
|
-
import { t as _ } from "./with-translations-
|
|
10
|
+
import { t as _ } from "./with-translations-Boc5Daaj.js";
|
|
11
11
|
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
12
12
|
import { t as y } from "./button.i18n-BGFt7Z9u.js";
|
|
13
13
|
import { t as b } from "./popup-anchor-controller-VZw0bXf2.js";
|
|
14
14
|
import { t as x } from "./interest-controller-Ban-3NrX.js";
|
|
15
|
-
import "./icon-
|
|
16
|
-
import "./activity-indicator-
|
|
17
|
-
import { t as S } from "./described-by-mixin-
|
|
15
|
+
import "./icon-B5kHyCz2.js";
|
|
16
|
+
import "./activity-indicator-CpJVlX6K.js";
|
|
17
|
+
import { t as S } from "./described-by-mixin-DXC6jkCd.js";
|
|
18
18
|
import { n as C } from "./element-state-B-44fVqq.js";
|
|
19
19
|
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
20
20
|
import { t as T } from "./owner-form-Cq8tT7ac.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { i, n as a,
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a as i, n as a, r as o, t as s } from "./custom-element-C5yyaCZS.js";
|
|
4
|
+
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
+
import { t as u } from "./repeat-s95Ixbpx.js";
|
|
7
7
|
// src/components/actions/button-bar/button-bar.styles.ts
|
|
8
|
-
var
|
|
8
|
+
var d = i`
|
|
9
9
|
:host {
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
}
|
|
@@ -137,17 +137,17 @@ var u = i`
|
|
|
137
137
|
}
|
|
138
138
|
`;
|
|
139
139
|
// src/components/actions/button-bar/button-bar.template.ts
|
|
140
|
-
function
|
|
140
|
+
function f() {
|
|
141
141
|
return n`
|
|
142
142
|
<div class="button-bar"
|
|
143
143
|
part="bar"
|
|
144
144
|
role="group"
|
|
145
145
|
>
|
|
146
|
-
${
|
|
146
|
+
${u(this._children, (e) => e.id, (e) => p.call(this, e))}
|
|
147
147
|
</div>
|
|
148
148
|
`;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function p(e) {
|
|
151
151
|
return e.type === "divider" ? n`
|
|
152
152
|
<div class="button-bar__divider">
|
|
153
153
|
<div class="button-bar__divider-line"></div>
|
|
@@ -155,13 +155,13 @@ function f(e) {
|
|
|
155
155
|
` : n`<slot name="child-${e.id}"></slot>`;
|
|
156
156
|
}
|
|
157
157
|
// src/components/actions/button-bar/button-bar.ts
|
|
158
|
-
var
|
|
159
|
-
customElements.get("nldd-button-bar-divider") || customElements.define("nldd-button-bar-divider", class extends
|
|
160
|
-
var
|
|
161
|
-
function
|
|
158
|
+
var m = /* @__PURE__ */ e({ NLDDButtonBar: () => v }), h;
|
|
159
|
+
customElements.get("nldd-button-bar-divider") || customElements.define("nldd-button-bar-divider", class extends s {});
|
|
160
|
+
var g = ["nldd-button", "nldd-icon-button"];
|
|
161
|
+
function _(e, t, n) {
|
|
162
162
|
t in e ? e[t] = n : e.setAttribute(t, n);
|
|
163
163
|
}
|
|
164
|
-
var
|
|
164
|
+
var v = (h = class extends t {
|
|
165
165
|
constructor(...e) {
|
|
166
166
|
super(...e), this.size = "md", this.appearance = "neutral-tinted", this.disabled = !1, this._children = [], this._idCounter = 0, this._observer = null, this._building = !1, this._individuallyDisabled = /* @__PURE__ */ new WeakSet();
|
|
167
167
|
}
|
|
@@ -172,24 +172,24 @@ var _ = (m = class extends t {
|
|
|
172
172
|
super.disconnectedCallback(), this._observer?.disconnect(), this._observer = null, this.removeEventListener("focusin", this._handleFocusIn), this.removeEventListener("focusout", this._handleFocusOut);
|
|
173
173
|
}
|
|
174
174
|
updated(e) {
|
|
175
|
-
(e.has("size") || e.has("_children")) && this._propagateSize(), (e.has("appearance") || e.has("_children")) && this._propagateAppearance(), e.has("disabled") ? this._propagateDisabled() : e.has("_children") && this.disabled && Array.from(this.children).filter((e) =>
|
|
175
|
+
(e.has("size") || e.has("_children")) && this._propagateSize(), (e.has("appearance") || e.has("_children")) && this._propagateAppearance(), e.has("disabled") ? this._propagateDisabled() : e.has("_children") && this.disabled && Array.from(this.children).filter((e) => g.includes(e.tagName.toLowerCase())).forEach((e) => e.setAttribute("disabled", ""));
|
|
176
176
|
}
|
|
177
177
|
_handleFocusIn(e) {
|
|
178
178
|
let t = e.target;
|
|
179
|
-
|
|
179
|
+
g.includes(t.tagName.toLowerCase()) && t.setAttribute("data-focused", "");
|
|
180
180
|
}
|
|
181
181
|
_handleFocusOut(e) {
|
|
182
182
|
let t = e.target;
|
|
183
|
-
|
|
183
|
+
g.includes(t.tagName.toLowerCase()) && t.removeAttribute("data-focused");
|
|
184
184
|
}
|
|
185
185
|
_propagateSize() {
|
|
186
|
-
Array.from(this.children).filter((e) =>
|
|
186
|
+
Array.from(this.children).filter((e) => g.includes(e.tagName.toLowerCase())).forEach((e) => _(e, "size", this.size));
|
|
187
187
|
}
|
|
188
188
|
_propagateAppearance() {
|
|
189
|
-
Array.from(this.children).filter((e) =>
|
|
189
|
+
Array.from(this.children).filter((e) => g.includes(e.tagName.toLowerCase())).forEach((e) => _(e, "appearance", this.appearance));
|
|
190
190
|
}
|
|
191
191
|
_propagateDisabled() {
|
|
192
|
-
let e = Array.from(this.children).filter((e) =>
|
|
192
|
+
let e = Array.from(this.children).filter((e) => g.includes(e.tagName.toLowerCase()));
|
|
193
193
|
this.disabled ? (e.forEach((e) => {
|
|
194
194
|
e.hasAttribute("disabled") && this._individuallyDisabled.add(e);
|
|
195
195
|
}), e.forEach((e) => e.setAttribute("disabled", ""))) : (e.forEach((e) => {
|
|
@@ -203,7 +203,7 @@ var _ = (m = class extends t {
|
|
|
203
203
|
type: "divider",
|
|
204
204
|
id: this._idCounter++
|
|
205
205
|
};
|
|
206
|
-
|
|
206
|
+
g.includes(t) && (_(e, "size", this.size), _(e, "appearance", this.appearance), e.setAttribute("no-highlight-border", ""));
|
|
207
207
|
let n = this._idCounter++, r = `child-${n}`;
|
|
208
208
|
return e.getAttribute("slot") !== r && e.setAttribute("slot", r), {
|
|
209
209
|
type: "button",
|
|
@@ -213,17 +213,17 @@ var _ = (m = class extends t {
|
|
|
213
213
|
}), this._building = !1);
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
|
-
return
|
|
216
|
+
return f.call(this);
|
|
217
217
|
}
|
|
218
|
-
},
|
|
219
|
-
r([
|
|
218
|
+
}, h.styles = d, h);
|
|
219
|
+
r([o({
|
|
220
220
|
reflect: !0,
|
|
221
|
-
converter:
|
|
222
|
-
})],
|
|
221
|
+
converter: l("md")
|
|
222
|
+
})], v.prototype, "size", void 0), r([o({
|
|
223
223
|
reflect: !0,
|
|
224
|
-
converter:
|
|
225
|
-
})],
|
|
224
|
+
converter: l("neutral-tinted")
|
|
225
|
+
})], v.prototype, "appearance", void 0), r([o({
|
|
226
226
|
type: Boolean,
|
|
227
227
|
reflect: !0
|
|
228
|
-
})],
|
|
229
|
-
export {
|
|
228
|
+
})], v.prototype, "disabled", void 0), r([a()], v.prototype, "_children", void 0), v = r([c("nldd-button-bar")], v);
|
|
229
|
+
export { m as t };
|