@nldd/design-system 0.26.5 → 0.27.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 +428 -37
- package/dist/cdn/autoloader.js +141 -141
- package/dist/cdn/chunks/{accordion-qXirmNBj.js → accordion-DBM4AcGb.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-BXEHwzcv.js → accordion-item-D90CmJyl.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-DP61AhsJ.js → activity-indicator-B6m9h0oa.js} +5 -5
- package/dist/cdn/chunks/{admonition-RnRSNAri.js → admonition-B-YTkCjn.js} +4 -4
- package/dist/cdn/chunks/after-parse-BSKUm67Q.js +9 -0
- package/dist/cdn/chunks/{avatar-DsexiOhH.js → avatar-CfBP9UZZ.js} +75 -41
- package/dist/cdn/chunks/{avatar-group-BrfrpXvd.js → avatar-group-DW_xMwb_.js} +71 -49
- package/dist/cdn/chunks/{badge-BiQFOq2l.js → badge-DnAuIhp1.js} +5 -5
- package/dist/cdn/chunks/{banner-42zIYAEN.js → banner-CRk2ARtC.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-CjYEp276.js → bar-split-view-DDgOYs7Z.js} +28 -21
- package/dist/cdn/chunks/{blockquote-qf4hJYvm.js → blockquote-DlfhBScg.js} +3 -3
- package/dist/cdn/chunks/{box-CWyg7sbR.js → box-DdU13yI4.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-BaHjYdz8.js → breadcrumbs-CqkR_6XN.js} +5 -5
- package/dist/cdn/chunks/{button-bar-DeJ81759.js → button-bar-BKkap9nk.js} +3 -3
- package/dist/cdn/chunks/{button-group-CuRkiHR5.js → button-group-D-YTmErV.js} +2 -2
- package/dist/cdn/chunks/{button-CKV-jwGY.js → button-muXGJHlo.js} +8 -8
- package/dist/cdn/chunks/{card-DxeUNE3V.js → card-Dvqz83fC.js} +4 -4
- package/dist/cdn/chunks/{cell-QaG8b-Qk.js → cell-C0O8tZbX.js} +6 -6
- package/dist/cdn/chunks/{checkbox-V0YerUKf.js → checkbox-CNWROiHV.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DeySECgv.js → checkbox-field-DCYpRJfz.js} +7 -7
- package/dist/cdn/chunks/{checkbox-group-DFNy1y-A.js → checkbox-group-DxWAYp_b.js} +3 -3
- package/dist/cdn/chunks/{class-map-CmgI2Tu-.js → class-map-D720ceWJ.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BBMbUJ4d.js → code-editor-DlnTXkHx.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-B8jse0-5.js → code-viewer-DyJzo36-.js} +94 -87
- package/dist/cdn/chunks/{codemirror-input-BEotDTtZ.js → codemirror-input-DPSOMYZ4.js} +5 -5
- package/dist/cdn/chunks/{collection-DRoS7Ona.js → collection-i7H8zkQ8.js} +61 -42
- package/dist/cdn/chunks/{combo-box-DA1ZQJJS.js → combo-box-CpNl_us0.js} +20 -14
- package/dist/cdn/chunks/{container-F1i2pmko.js → container-YWW7mHNa.js} +14 -10
- package/dist/cdn/chunks/{custom-element-DD4ffKRs.js → custom-element-D8yf5dqU.js} +1 -1
- package/dist/cdn/chunks/{date-field-DVgisQnm.js → date-field-DzhUp4Rk.js} +12 -12
- package/dist/cdn/chunks/{date-picker-BaDTota3.js → date-picker-CGvsvK3g.js} +21 -15
- package/dist/cdn/chunks/{decorate-CeGXihRM.js → decorate-1aEyfetK.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-qFatR9dF.js → described-by-mixin-DffYoaxu.js} +2 -2
- package/dist/cdn/chunks/{description-cell-D45N4P1X.js → description-cell-DEw6xc2o.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-CkCD0tPh.js → dev-checks-CTopJcdE.js} +12 -0
- package/dist/cdn/chunks/{directive-helpers-B9pcQxsE.js → directive-helpers-BQml5ahH.js} +1 -1
- package/dist/cdn/chunks/{dist-BS_pQgb6.js → dist-B5t9fS8q.js} +2 -2
- package/dist/cdn/chunks/{dist-DjlGttcc.js → dist-B87Ag4L-.js} +1 -1
- package/dist/cdn/chunks/{dist-v62GtoI6.js → dist-BKnqQxdv.js} +1 -1
- package/dist/cdn/chunks/{dist-Dsyc1RGG.js → dist-BYbLHkMP.js} +1 -1
- package/dist/cdn/chunks/{dist-Cl-rXzh7.js → dist-C8ZY_QIK.js} +1 -1
- package/dist/cdn/chunks/{dist-v7yvd26H.js → dist-CIX4JLW1.js} +3 -3
- package/dist/cdn/chunks/{dist-DJQUgOKW.js → dist-Cr8NctvS.js} +3 -3
- package/dist/cdn/chunks/{dist-mxb0NzAU.js → dist-D59Ae7dj.js} +1 -1
- package/dist/cdn/chunks/{dist-n8aCu6Kg.js → dist-DAf6EMuK.js} +2 -2
- package/dist/cdn/chunks/{dist-rjQNj-KZ.js → dist-DevfJ4Mu.js} +2 -2
- package/dist/cdn/chunks/{dist-jTL_Kil1.js → dist-qHSPGfTO.js} +1 -1
- package/dist/cdn/chunks/{divider-CtMx3Byp.js → divider-44rkHLYj.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-SKSf69FX.js → document-tab-bar-CcSKzhEy.js} +95 -56
- package/dist/cdn/chunks/{dropdown-se1zjYlw.js → dropdown-CJPjI-p1.js} +5 -5
- package/dist/cdn/chunks/{file-field-DW_Xt5O3.js → file-field-B4HQKpkI.js} +14 -14
- package/dist/cdn/chunks/{form-actions-Cy5tH1nk.js → form-actions-HaBfh6vm.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-CA0F9CPx.js → form-associated-mixin-BByNH679.js} +2 -2
- package/dist/cdn/chunks/{form-field-BMWm8VGS.js → form-field-CwYXsuvv.js} +6 -6
- package/dist/cdn/chunks/{form-C9-eW3zc.js → form-obggZEpt.js} +1 -1
- package/dist/cdn/chunks/{form-section-DrrXc4wZ.js → form-section-B2UZx_-z.js} +1 -1
- package/dist/cdn/chunks/frame-pass-C0RUoFMc.js +17 -0
- package/dist/cdn/chunks/{full-bleed-section-6QL0av4x.js → full-bleed-section-BSnWghWY.js} +9 -10
- package/dist/cdn/chunks/{hero-BThWV3MR.js → hero-CzbuEAUM.js} +73 -68
- package/dist/cdn/chunks/{icon-CVM6X_F1.js → icon-CkCT7sPE.js} +2 -2
- package/dist/cdn/chunks/{icon-button-h_sEz0Ia.js → icon-button-BBGwCfYp.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-C3Ygercd.js → icon-cell-DcHnXV-8.js} +5 -5
- package/dist/cdn/chunks/{identity-BR0KxjM5.js → identity-C0fujsxK.js} +6 -6
- package/dist/cdn/chunks/{if-defined-CvQli6P0.js → if-defined-CL4nn-Q-.js} +1 -1
- package/dist/cdn/chunks/{image-D8H73DIj.js → image-BgtqLXfM.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-Dlu3bneh.js → inline-dialog-BYRIWhkm.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-DG0teV5g.js → just-in-time-education-DwH3ubhZ.js} +5 -5
- package/dist/cdn/chunks/{kanban-MNLyqki_.js → kanban-BIZUoBj-.js} +35 -30
- package/dist/cdn/chunks/{kanban-column-CGF_4Q0N.js → kanban-column-CtjCIgaR.js} +37 -25
- package/dist/cdn/chunks/{keyboard-shortcut-DZDtndhS.js → keyboard-shortcut-BHylGMNu.js} +3 -3
- package/dist/cdn/chunks/{languages-BCn4J5Ck.js → languages-DghCYmiz.js} +12 -12
- package/dist/cdn/chunks/layout-pass-Cq85kSHX.js +45 -0
- package/dist/cdn/chunks/{link-CTj3dTmJ.js → link-S53veJpD.js} +6 -6
- package/dist/cdn/chunks/{link-group--C486tYV.js → link-group-B2_vdANe.js} +2 -2
- package/dist/cdn/chunks/{list-DApLHKj-.js → list-C8hY4uGW.js} +48 -34
- package/dist/cdn/chunks/{list-item-BN9uuvXr.js → list-item-CK1Rli4F.js} +5 -6
- package/dist/cdn/chunks/{list-item-segment-CvdZT9Ni.js → list-item-segment-KyrcOFDA.js} +3 -3
- package/dist/cdn/chunks/{menu-bar-g-O3_TNl.js → menu-bar-BRoqy5zp.js} +62 -46
- package/dist/cdn/chunks/{menu-bar-item-tOFEx-lS.js → menu-bar-item-DKW198ZW.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-Dmv0lMHV.js → menu-divider-DDPBPK-o.js} +3 -3
- package/dist/cdn/chunks/{menu-group-Ci9QUUwZ.js → menu-group-uZXsE-uu.js} +4 -4
- package/dist/cdn/chunks/{menu-item-BnIbV4yo.js → menu-item-BOvb4QLd.js} +16 -12
- package/dist/cdn/chunks/{menu-2-9LtMLY.js → menu-m67vk1Z4.js} +20 -19
- package/dist/cdn/chunks/{menu.template-sPjaMfc8.js → menu.template-v6VnRUNJ.js} +105 -76
- package/dist/cdn/chunks/{modal-dialog-D-jAbabe.js → modal-dialog-BNq0r-1L.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-uBZqAdr6.js → multi-line-text-field-Bfq47I3P.js} +6 -6
- package/dist/cdn/chunks/{navigation-split-view-DARbBPq-.js → navigation-split-view-BiPoxCLL.js} +59 -47
- package/dist/cdn/chunks/{notification-CntIGoYh.js → notification-DjZXBv4J.js} +6 -6
- package/dist/cdn/chunks/{number-field-C0MTabLP.js → number-field-tqoQLrgZ.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-DYzf6LtU.js → one-half-one-half-section-CyIm21PD.js} +15 -16
- package/dist/cdn/chunks/{one-third-two-thirds-section-AAiaxCHH.js → one-third-two-thirds-section-CpnK0vzB.js} +15 -16
- package/dist/cdn/chunks/{one-time-code-field-CCILuCy1.js → one-time-code-field-6sMEfzoY.js} +103 -64
- package/dist/cdn/chunks/{overflow-menu-DFoh3xL_.js → overflow-menu-IfYEX8tm.js} +1 -1
- package/dist/cdn/chunks/{page-footer-BsVMZCXs.js → page-footer-ET6j1N2Z.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-L0bl3wCm.js → page-section-mixin-D9JL2q9A.js} +3 -3
- package/dist/cdn/chunks/{page-BDXLREou.js → page-w4XAfBWD.js} +76 -54
- package/dist/cdn/chunks/{pagination-DLwbSZdO.js → pagination-D7QFUu8x.js} +6 -6
- package/dist/cdn/chunks/{password-field-DKTJgEyb.js → password-field-Ck5wx6pg.js} +8 -8
- package/dist/cdn/chunks/{popover-RB7uLASo.js → popover-DOmi5m85.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-DnXWbmiw.js → progress-bar-BDNcB06i.js} +10 -7
- package/dist/cdn/chunks/{progress-circle-S89MUtU8.js → progress-circle-BAMztpb3.js} +10 -7
- package/dist/cdn/chunks/{radio-button-B31lAjlk.js → radio-button-DAps6n0Q.js} +92 -51
- package/dist/cdn/chunks/{radio-button-field-BF4MHiOQ.js → radio-button-field-BbPk0nM_.js} +8 -7
- package/dist/cdn/chunks/{radio-button-group-BQUqV8wJ.js → radio-button-group-lxzwku00.js} +3 -3
- package/dist/cdn/chunks/{render-marked-ChJNzktf.js → render-marked-ClMFyNu0.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-SEERkeh7.js → reorder-handle-cell-Cap2u2zx.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-tWe9XTjZ.js → reorder-handle-mixin-CnRKPVqU.js} +2 -2
- package/dist/cdn/chunks/{repeat-CdCK17GF.js → repeat-CIyCvHHQ.js} +2 -2
- package/dist/cdn/chunks/{rich-text-vVWOndD2.js → rich-text-CblFmHY-.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-6MoJ5Mjq.js → row-header-mixin-C8z9StDU.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Cr7_IXpU.js → scroll-fade-C_L9CJrR.js} +2 -2
- package/dist/cdn/chunks/scroll-mode-controller-Dl5hddJo.js +52 -0
- package/dist/cdn/chunks/{search-field-C9urWH_J.js → search-field-JeUPcBjZ.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-DkILAMOJ.js → segmented-control-DtycvVyp.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-9v6K-Fie.js → shadow-resets-DgR56wQK.js} +2 -2
- package/dist/cdn/chunks/{sheet-D89xI-KY.js → sheet-XtRs26hN.js} +3 -3
- package/dist/cdn/chunks/{shell-CFmfUD0_.js → shell-CCaEEGna.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-ir9c0mwZ.js → side-by-side-split-view-mhXD4Lde.js} +38 -29
- package/dist/cdn/chunks/{sidebar-section-BhJXels3.js → sidebar-section-Cwd4LSE6.js} +70 -48
- package/dist/cdn/chunks/{simple-section-CMoYuLYV.js → simple-section-BuiaCGks.js} +9 -10
- package/dist/cdn/chunks/{skip-link-rUQq0D-l.js → skip-link-nTlmioFt.js} +4 -4
- package/dist/cdn/chunks/{slider-CIQqjKUo.js → slider-C0rNQEIY.js} +9 -9
- package/dist/cdn/chunks/{spacer-CD85egxE.js → spacer-CeSO9CP1.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-B33mGdru.js → spacer-cell-NhlxEdhA.js} +4 -4
- package/dist/cdn/chunks/{split-button-COL7r-wa.js → split-button-BR-ccA6_.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-DVBuBzeO.js → split-view-divider-HcIV0yli.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-CSvIzeBg.js → split-view-pane-BgFUL3BV.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-onSk2QEi.js → stacked-split-view-j77p3uE2.js} +29 -25
- package/dist/cdn/chunks/{static-html-Cyhp44gp.js → static-html-CGoLwgpW.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CjYXOQAX.js → status-bar-ByJ21hV2.js} +29 -17
- package/dist/cdn/chunks/{step-bar-D-To0TEw.js → step-bar-CRxF0S42.js} +5 -5
- package/dist/cdn/chunks/{step-cell-B7sVGixc.js → step-cell-C-gOxNA6.js} +5 -5
- package/dist/cdn/chunks/{stepper-h6boMOhz.js → stepper-Dmljb7Qc.js} +7 -7
- package/dist/cdn/chunks/{style-map-BrdTV34-.js → style-map-CK811FGv.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-gQ3m3y9U.js → swatch-picker-DtAgTXLo.js} +6 -6
- package/dist/cdn/chunks/{switch-DC-BTi9E.js → switch-Bqion92b.js} +5 -5
- package/dist/cdn/chunks/{switch-field-D82mLobj.js → switch-field-CWobTcEn.js} +6 -6
- package/dist/cdn/chunks/{tab-bar-sKiFzvfj.js → tab-bar-DPtRjP8Z.js} +85 -49
- package/dist/cdn/chunks/{table-CuxZfCZD.js → table-C4CFiDgr.js} +111 -54
- package/dist/cdn/chunks/{tag-DP_ome5l.js → tag-Bo23A60g.js} +4 -4
- package/dist/cdn/chunks/{term-BdiTV-Jk.js → term-DPMEWR-t.js} +12 -12
- package/dist/cdn/chunks/{text-C-b1ygHI.js → text-CuiMvMZQ.js} +3 -3
- package/dist/cdn/chunks/{text-cell-DfRh7JqZ.js → text-cell-E3yc99xw.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DuT9Rrpv.js → text-editor-BVmHiq_b.js} +191 -191
- package/dist/cdn/chunks/{text-field-kAbXzkUj.js → text-field-DOv1aI_F.js} +6 -6
- package/dist/cdn/chunks/{time-field-DUz9ifmn.js → time-field-BhlLk6tt.js} +14 -14
- package/dist/cdn/chunks/{time-picker-DGOKwC9T.js → time-picker-A4-HeVas.js} +170 -99
- package/dist/cdn/chunks/{title-BA-SUyAq.js → title-EMt-SYKV.js} +4 -4
- package/dist/cdn/chunks/{title-cell-Cu5NFNUu.js → title-cell--EE-L_8a.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-J6UapeqB.js → toggle-button-BLwpxmQs.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-group-wrps-tL9.js → toggle-button-group-scdxolJt.js} +2 -2
- package/dist/cdn/chunks/{token-DJkyJz-k.js → token-DVgXuCRO.js} +5 -5
- package/dist/cdn/chunks/{token-field-SiBFPD8-.js → token-field-CICQXLlO.js} +12 -12
- package/dist/cdn/chunks/toolbar-Des2gaH2.js +441 -0
- package/dist/cdn/chunks/{toolbar-item-DPizdgYi.js → toolbar-item-CkwQ2UyY.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-CB4IJFGv.js → toolbar-title-PoOf794l.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-vmMPyzS_.js → toolbar.styles-DzreUGTp.js} +3 -3
- package/dist/cdn/chunks/{tooltip-Bg2ovCCg.js → tooltip-CMCT2iiD.js} +4 -4
- package/dist/cdn/chunks/{top-navigation-bar-vA8wpJXS.js → top-navigation-bar-BfMGgTIy.js} +121 -104
- package/dist/cdn/chunks/{top-title-bar-BAJGmgnj.js → top-title-bar-CvvldlNt.js} +43 -30
- package/dist/cdn/chunks/{translations-Cjd13Xb6.js → translations-C5JpcNNC.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-D1FvorKO.js → two-thirds-one-third-section-BTkeIiHm.js} +15 -16
- package/dist/cdn/chunks/{validation-list-D3rKnfTu.js → validation-list-BasB3ZaT.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-BRMACV1l.js → visibility-mixin-BxhcJG-x.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BukWRiJA.js → visually-hidden-ByHY8pKl.js} +2 -2
- package/dist/cdn/chunks/{window-C9njVzzK.js → window-B5blEfMR.js} +4 -4
- package/dist/cdn/chunks/{with-translations-BLzHPSUF.js → with-translations-QDhHJYMT.js} +3 -3
- package/dist/components/actions/menu/menu-item.d.ts +11 -0
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +28 -13
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +6 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +14 -4
- 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 +63 -3
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +18 -47
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +56 -16
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +263 -95
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.steps.d.ts +16 -0
- package/dist/components/actions/toolbar/toolbar.steps.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar.steps.js +33 -0
- package/dist/components/actions/toolbar/toolbar.steps.js.map +1 -0
- package/dist/components/content/avatar/avatar.d.ts +22 -10
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +122 -29
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +25 -10
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +97 -26
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +5 -4
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +4 -2
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +35 -32
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +4 -0
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +8 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +28 -9
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +11 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +23 -0
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +4 -2
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +6 -1
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +27 -5
- 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 +128 -30
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +5 -2
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.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 +18 -12
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +23 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +132 -12
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +27 -6
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.template.js +1 -0
- package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +3 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +9 -1
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +96 -38
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +1 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +22 -16
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/kanban/kanban-column.d.ts +7 -2
- package/dist/components/layout/kanban/kanban-column.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban-column.js +49 -17
- package/dist/components/layout/kanban/kanban-column.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +4 -1
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +25 -7
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/kanban/kanban.template.js +1 -1
- package/dist/components/layout/kanban/kanban.template.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +39 -12
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +112 -66
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +6 -7
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +24 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +22 -22
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +2 -0
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +2 -0
- 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 +8 -11
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -2
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +4 -2
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +12 -13
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -2
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +4 -2
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +12 -13
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +12 -9
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +66 -21
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +23 -17
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +5 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +4 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +4 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +6 -7
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -2
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +4 -2
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +12 -13
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +2 -1
- 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 +30 -17
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +8 -3
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +35 -20
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +6 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +30 -15
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +6 -3
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +28 -16
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +19 -0
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +47 -15
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.roving.d.ts +2 -1
- package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.roving.js +7 -3
- package/dist/components/lists-and-tables/list/list.roving.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +0 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +34 -6
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +143 -40
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +13 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.template.js +6 -0
- package/dist/components/lists-and-tables/table/table.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +33 -2
- 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 +136 -38
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +21 -3
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +61 -29
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +26 -4
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +99 -24
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -0
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +23 -14
- 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 +126 -83
- 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.js +28 -28
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +5 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +36 -13
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +6 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -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 +6 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +0 -1
- 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 +26 -6
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/nldd.min.js +880 -814
- package/dist/types/react.d.ts +8 -8
- package/dist/types/vue.d.ts +8 -8
- package/dist/utilities/after-parse.d.ts +30 -0
- package/dist/utilities/after-parse.d.ts.map +1 -0
- package/dist/utilities/after-parse.js +44 -0
- package/dist/utilities/after-parse.js.map +1 -0
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +12 -0
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/frame-pass.d.ts +28 -0
- package/dist/utilities/frame-pass.d.ts.map +1 -0
- package/dist/utilities/frame-pass.js +41 -0
- package/dist/utilities/frame-pass.js.map +1 -0
- package/dist/utilities/layout-pass.d.ts +49 -0
- package/dist/utilities/layout-pass.d.ts.map +1 -0
- package/dist/utilities/layout-pass.js +103 -0
- package/dist/utilities/layout-pass.js.map +1 -0
- package/dist/utilities/radio-grouping.d.ts +30 -4
- package/dist/utilities/radio-grouping.d.ts.map +1 -1
- package/dist/utilities/radio-grouping.js +98 -17
- package/dist/utilities/radio-grouping.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +13 -6
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +47 -21
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +1 -1
- package/dist/cdn/chunks/scroll-mode-controller-COUD1-3P.js +0 -42
- package/dist/cdn/chunks/toolbar-be8hoSAz.js +0 -364
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-1aEyfetK.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-D8yf5dqU.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { r as c } from "./element-state-B-44fVqq.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
7
|
-
import "./tooltip-
|
|
8
|
-
import "./icon-
|
|
6
|
+
import { t as u } from "./shadow-resets-DgR56wQK.js";
|
|
7
|
+
import "./tooltip-CMCT2iiD.js";
|
|
8
|
+
import "./icon-CkCT7sPE.js";
|
|
9
9
|
import { t as d } from "./sanitize-url-CBuGmY0W.js";
|
|
10
|
-
import { t as f } from "./with-translations-
|
|
10
|
+
import { t as f } from "./with-translations-QDhHJYMT.js";
|
|
11
11
|
import { t as p } from "./tab-bar.i18n-Crsc7ShA.js";
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
12
|
+
import { t as m } from "./after-parse-BSKUm67Q.js";
|
|
13
|
+
import { t as h } from "./frame-pass-C0RUoFMc.js";
|
|
14
|
+
import "./icon-button-BBGwCfYp.js";
|
|
15
|
+
import "./menu-m67vk1Z4.js";
|
|
16
|
+
import { t as g } from "./defer-focus-F73ud2D9.js";
|
|
15
17
|
// src/components/navigation/tab-bar/tab-bar.styles.ts
|
|
16
|
-
var
|
|
18
|
+
var _ = o`
|
|
17
19
|
:host {
|
|
18
20
|
box-sizing: border-box;
|
|
19
21
|
}
|
|
@@ -165,7 +167,7 @@ var h = o`
|
|
|
165
167
|
position: relative;
|
|
166
168
|
z-index: var(--_tab-bar-focus-z-index);
|
|
167
169
|
}
|
|
168
|
-
`,
|
|
170
|
+
`, v = o`
|
|
169
171
|
|
|
170
172
|
|
|
171
173
|
/* # Host */
|
|
@@ -364,7 +366,7 @@ var h = o`
|
|
|
364
366
|
}
|
|
365
367
|
`;
|
|
366
368
|
// src/components/navigation/tab-bar/tab-bar.template.ts
|
|
367
|
-
function
|
|
369
|
+
function y(e) {
|
|
368
370
|
let r = e.accessibleLabel || "Tabs", i = e.navigation, a = t`
|
|
369
371
|
<div class="tab-bar__box">
|
|
370
372
|
<div class="tab-bar__items"
|
|
@@ -388,6 +390,7 @@ function _(e) {
|
|
|
388
390
|
<nldd-menu
|
|
389
391
|
slot="popup"
|
|
390
392
|
placement="bottom-end"
|
|
393
|
+
no-blink
|
|
391
394
|
@beforetoggle=${(t) => {
|
|
392
395
|
t.newState === "open" && e.requestUpdate();
|
|
393
396
|
}}
|
|
@@ -419,7 +422,7 @@ function _(e) {
|
|
|
419
422
|
</div>
|
|
420
423
|
`;
|
|
421
424
|
}
|
|
422
|
-
function
|
|
425
|
+
function b(e) {
|
|
423
426
|
let r = d(e.href), i = !!r, a = e._navigation, o = e._groupDisabled, s = o ? "-1" : e.current || e._isFallbackFocusable ? "0" : "-1", c = e._effectiveVariant === "icon", l = c && e.text || n, u = c || e._effectiveVariant === "icon-and-text", f = t`
|
|
424
427
|
<span class="tab-bar__item-icon"
|
|
425
428
|
aria-hidden="true"
|
|
@@ -454,7 +457,7 @@ function v(e) {
|
|
|
454
457
|
`, c && e.text ? t`<nldd-tooltip text=${e.text}>${p}</nldd-tooltip>` : p;
|
|
455
458
|
}
|
|
456
459
|
// src/components/navigation/tab-bar/tab-bar.ts
|
|
457
|
-
var
|
|
460
|
+
var x = class extends e {
|
|
458
461
|
constructor(...e) {
|
|
459
462
|
super(...e), this.current = !1, this.href = "", this._groupVariant = "", this._authorVariant = "", this.text = "", this.icon = "", this.controls = "", this.controlsElement = null, this.size = "md", this._hasIconSlot = !1, this._navigation = !1, this._isFallbackFocusable = !1, this._groupDisabled = !1, this._awaitingLoad = !1;
|
|
460
463
|
}
|
|
@@ -482,7 +485,7 @@ var y = class extends e {
|
|
|
482
485
|
return this.controls ? this.getRootNode().getElementById?.(this.controls) ?? null : null;
|
|
483
486
|
}
|
|
484
487
|
focus(e) {
|
|
485
|
-
|
|
488
|
+
g(this, e) || this.shadowRoot?.querySelector(".tab-bar__item")?.focus(e);
|
|
486
489
|
}
|
|
487
490
|
_onIconSlotChange(e) {
|
|
488
491
|
let t = e.target;
|
|
@@ -499,33 +502,50 @@ var y = class extends e {
|
|
|
499
502
|
})));
|
|
500
503
|
}
|
|
501
504
|
render() {
|
|
502
|
-
return
|
|
505
|
+
return b(this);
|
|
503
506
|
}
|
|
504
|
-
},
|
|
507
|
+
}, S, C = (x.styles = v, x);
|
|
505
508
|
r([a({
|
|
506
509
|
type: Boolean,
|
|
507
510
|
reflect: !0
|
|
508
|
-
})],
|
|
511
|
+
})], C.prototype, "current", void 0), r([a({ type: String })], C.prototype, "href", void 0), r([a({ attribute: !1 })], C.prototype, "_groupVariant", void 0), r([a({
|
|
509
512
|
reflect: !0,
|
|
510
513
|
converter: l("")
|
|
511
|
-
})],
|
|
514
|
+
})], C.prototype, "text", void 0), r([a({
|
|
512
515
|
reflect: !0,
|
|
513
516
|
converter: l("")
|
|
514
|
-
})],
|
|
517
|
+
})], C.prototype, "icon", void 0), r([a({
|
|
515
518
|
reflect: !0,
|
|
516
519
|
converter: l("")
|
|
517
|
-
})],
|
|
520
|
+
})], C.prototype, "controls", void 0), r([a({ attribute: !1 })], C.prototype, "controlsElement", void 0), r([a({
|
|
518
521
|
reflect: !0,
|
|
519
522
|
converter: l("md")
|
|
520
|
-
})],
|
|
521
|
-
var
|
|
523
|
+
})], C.prototype, "size", void 0), r([i()], C.prototype, "_hasIconSlot", void 0), r([i()], C.prototype, "_navigation", void 0), r([i()], C.prototype, "_isFallbackFocusable", void 0), r([i()], C.prototype, "_groupDisabled", void 0), C = r([s("nldd-tab-bar-item")], C);
|
|
524
|
+
var w = new h((e) => T(e.filter((e) => e.isConnected)));
|
|
525
|
+
function T(e) {
|
|
526
|
+
e.forEach((e) => e._setMeasuring(!0));
|
|
527
|
+
let t = e.map((e) => e._readMeasurement());
|
|
528
|
+
e.forEach((e) => e._setMeasuring(!1)), e.forEach((e, n) => e._decideOverflow(t[n]));
|
|
529
|
+
}
|
|
530
|
+
var E = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new WeakMap(), O = null;
|
|
531
|
+
function k(e, t) {
|
|
532
|
+
O ?? (O = new ResizeObserver((e) => {
|
|
533
|
+
for (let t of e) {
|
|
534
|
+
let e = t.contentRect.width;
|
|
535
|
+
D.get(t.target) !== e && (D.set(t.target, e), E.get(t.target)?.forEach((e) => e._scheduleOverflow()));
|
|
536
|
+
}
|
|
537
|
+
}));
|
|
538
|
+
let n = E.get(e) ?? /* @__PURE__ */ new Set();
|
|
539
|
+
E.set(e, n), n.add(t), O.observe(e);
|
|
540
|
+
}
|
|
541
|
+
function A(e, t) {
|
|
542
|
+
let n = E.get(e);
|
|
543
|
+
n?.delete(t) && !n.size && (E.delete(e), D.delete(e), O?.unobserve(e));
|
|
544
|
+
}
|
|
545
|
+
var j = (S = class extends f(e, p) {
|
|
522
546
|
constructor(...e) {
|
|
523
|
-
super(...e), this.centered = !1, this.variant = "", this.size = "md", this.navigation = !1, this.disabled = !1, this.accessibleLabel = "", this._hasCustomLabel = !1, this._overflowItems = [], this._menuItems = [], this._menuOpen = !1, this.
|
|
524
|
-
e && (this._onlyCurrentChanged = !1),
|
|
525
|
-
this._overflowFrame = null;
|
|
526
|
-
let e = this._onlyCurrentChanged;
|
|
527
|
-
this._onlyCurrentChanged = !0, this._updateOverflow(e);
|
|
528
|
-
}));
|
|
547
|
+
super(...e), this.centered = !1, this.variant = "", this.size = "md", this.navigation = !1, this.disabled = !1, this.accessibleLabel = "", this._hasCustomLabel = !1, this._overflowItems = [], this._menuItems = [], this._menuOpen = !1, this._itemObserver = null, this._sized = [], this._syncPending = !1, this._onlyCurrentChanged = !0, this._scheduleOverflow = (e = !0) => {
|
|
548
|
+
e && (this._onlyCurrentChanged = !1), w.schedule(this);
|
|
529
549
|
}, this._onItemsMutated = (e) => {
|
|
530
550
|
this._scheduleOverflow(e.some((e) => e.attributeName !== "current"));
|
|
531
551
|
}, this._handleItemSelect = (e) => {
|
|
@@ -560,7 +580,7 @@ var S = (b = class extends f(e, p) {
|
|
|
560
580
|
};
|
|
561
581
|
}
|
|
562
582
|
connectedCallback() {
|
|
563
|
-
super.connectedCallback(), this.addEventListener("select", this._handleItemSelect), this.addEventListener("keydown", this._handleKeyDown), this.
|
|
583
|
+
super.connectedCallback(), this.addEventListener("select", this._handleItemSelect), this.addEventListener("keydown", this._handleKeyDown), this._sized = this.parentElement ? [this, this.parentElement] : [this], this._sized.forEach((e) => k(e, this)), this._itemObserver = new MutationObserver(this._onItemsMutated), this._itemObserver.observe(this, {
|
|
564
584
|
subtree: !0,
|
|
565
585
|
attributes: !0,
|
|
566
586
|
attributeFilter: [
|
|
@@ -573,19 +593,27 @@ var S = (b = class extends f(e, p) {
|
|
|
573
593
|
}), document.fonts?.ready.then(() => this._scheduleOverflow());
|
|
574
594
|
}
|
|
575
595
|
disconnectedCallback() {
|
|
576
|
-
super.disconnectedCallback(), this.removeEventListener("select", this._handleItemSelect), this.removeEventListener("keydown", this._handleKeyDown), this.
|
|
596
|
+
super.disconnectedCallback(), this.removeEventListener("select", this._handleItemSelect), this.removeEventListener("keydown", this._handleKeyDown), this._sized.forEach((e) => A(e, this)), this._sized = [], this._itemObserver?.disconnect(), this._itemObserver = null, w.cancel(this);
|
|
577
597
|
}
|
|
578
598
|
_measure() {
|
|
599
|
+
let e = !this.hasAttribute("data-measuring");
|
|
600
|
+
e && this._setMeasuring(!0);
|
|
601
|
+
let t = this._readMeasurement();
|
|
602
|
+
return e && this._setMeasuring(!1), t;
|
|
603
|
+
}
|
|
604
|
+
_setMeasuring(e) {
|
|
605
|
+
this.toggleAttribute("data-measuring", e);
|
|
606
|
+
}
|
|
607
|
+
_readMeasurement() {
|
|
579
608
|
let e = this._getItems(), t = this.shadowRoot?.querySelector(".tab-bar"), n = this.shadowRoot?.querySelector(".tab-bar__items"), r = this.shadowRoot?.querySelector(".tab-bar__overflow-button");
|
|
580
609
|
if (!t || !n || !r || e.length === 0) return null;
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
return this.removeAttribute("data-measuring"), {
|
|
610
|
+
let i = t.clientWidth, a = e.map((e) => e.getBoundingClientRect().width), o = parseFloat(getComputedStyle(n).columnGap) || 0;
|
|
611
|
+
return {
|
|
584
612
|
items: e,
|
|
585
613
|
available: i,
|
|
586
614
|
widths: a,
|
|
587
615
|
gap: o,
|
|
588
|
-
budget: i -
|
|
616
|
+
budget: i - r.getBoundingClientRect().width - o
|
|
589
617
|
};
|
|
590
618
|
}
|
|
591
619
|
_toolbarWidths() {
|
|
@@ -603,18 +631,24 @@ var S = (b = class extends f(e, p) {
|
|
|
603
631
|
};
|
|
604
632
|
}
|
|
605
633
|
_updateOverflow(e = !1) {
|
|
606
|
-
|
|
607
|
-
|
|
634
|
+
this._applyMeasurement(this._measure(), e);
|
|
635
|
+
}
|
|
636
|
+
_decideOverflow(e) {
|
|
637
|
+
let t = this._onlyCurrentChanged;
|
|
638
|
+
this._onlyCurrentChanged = !0, this._applyMeasurement(e, t);
|
|
639
|
+
}
|
|
640
|
+
_applyMeasurement(e, t) {
|
|
641
|
+
if (!e) {
|
|
608
642
|
this._applyOverflow(this._getItems(), /* @__PURE__ */ new Set(), []);
|
|
609
643
|
return;
|
|
610
644
|
}
|
|
611
|
-
let { items: n, available: r, widths: i, gap: a, budget: o } =
|
|
645
|
+
let { items: n, available: r, widths: i, gap: a, budget: o } = e, s = (e) => [...e].reduce((e, t) => e + i[t], 0) + a * Math.max(e.size - 1, 0);
|
|
612
646
|
if (i.reduce((e, t) => e + t, 0) + a * (n.length - 1) <= r) {
|
|
613
647
|
this._applyOverflow(n, /* @__PURE__ */ new Set(), i);
|
|
614
648
|
return;
|
|
615
649
|
}
|
|
616
650
|
let c = n.findIndex((e) => e.current), l = new Set(n.map((e, t) => e.hasAttribute("data-overflow") ? -1 : t).filter((e) => e >= 0)), u;
|
|
617
|
-
if (
|
|
651
|
+
if (t && this._overflowItems.length > 0 && l.size > 0) {
|
|
618
652
|
if (u = new Set(l), c >= 0 && !u.has(c)) {
|
|
619
653
|
let e = [...u].filter((e) => e !== c).pop();
|
|
620
654
|
e !== void 0 && u.delete(e), u.add(c);
|
|
@@ -671,7 +705,9 @@ var S = (b = class extends f(e, p) {
|
|
|
671
705
|
});
|
|
672
706
|
}
|
|
673
707
|
_onSlotChange() {
|
|
674
|
-
this.
|
|
708
|
+
this._syncPending || (this._syncPending = m(() => {
|
|
709
|
+
this._syncPending = !1, this._syncItems(), this._scheduleOverflow();
|
|
710
|
+
}, this.ownerDocument), this._syncPending || (this._syncItems(), this._scheduleOverflow()));
|
|
675
711
|
}
|
|
676
712
|
_activate(e) {
|
|
677
713
|
this.disabled || (this.navigation || this._getItems().forEach((t) => {
|
|
@@ -683,26 +719,26 @@ var S = (b = class extends f(e, p) {
|
|
|
683
719
|
})));
|
|
684
720
|
}
|
|
685
721
|
render() {
|
|
686
|
-
return
|
|
722
|
+
return y(this);
|
|
687
723
|
}
|
|
688
|
-
},
|
|
724
|
+
}, S.styles = _, S);
|
|
689
725
|
r([a({
|
|
690
726
|
type: Boolean,
|
|
691
727
|
reflect: !0
|
|
692
|
-
})],
|
|
728
|
+
})], j.prototype, "centered", void 0), r([a({
|
|
693
729
|
reflect: !0,
|
|
694
730
|
converter: l("")
|
|
695
|
-
})],
|
|
731
|
+
})], j.prototype, "variant", void 0), r([a({
|
|
696
732
|
reflect: !0,
|
|
697
733
|
converter: l("md")
|
|
698
|
-
})],
|
|
734
|
+
})], j.prototype, "size", void 0), r([a({
|
|
699
735
|
type: Boolean,
|
|
700
736
|
reflect: !0
|
|
701
|
-
})],
|
|
737
|
+
})], j.prototype, "navigation", void 0), r([a({
|
|
702
738
|
type: Boolean,
|
|
703
739
|
reflect: !0
|
|
704
|
-
})],
|
|
740
|
+
})], j.prototype, "disabled", void 0), r([a({
|
|
705
741
|
type: String,
|
|
706
742
|
attribute: "accessible-label"
|
|
707
|
-
})],
|
|
708
|
-
export {
|
|
743
|
+
})], j.prototype, "accessibleLabel", void 0), r([i()], j.prototype, "_overflowItems", void 0), r([i()], j.prototype, "_menuItems", void 0), j = r([s("nldd-tab-bar")], j);
|
|
744
|
+
export { j as NLDDTabBar, C as NLDDTabBarItem };
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { r, s as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-1aEyfetK.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-D8yf5dqU.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 { t as s } from "./shadow-resets-
|
|
5
|
+
import { t as s } from "./shadow-resets-DgR56wQK.js";
|
|
6
6
|
import { t as c } from "./table.i18n-Bmb_uw_w.js";
|
|
7
7
|
import { r as l, t as u } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import "./inline-dialog-
|
|
9
|
-
import { t as d } from "./translations-
|
|
8
|
+
import "./inline-dialog-BYRIWhkm.js";
|
|
9
|
+
import { t as d } from "./translations-C5JpcNNC.js";
|
|
10
10
|
import { r as f } from "./element-state-B-44fVqq.js";
|
|
11
|
+
import { t as p } from "./after-parse-BSKUm67Q.js";
|
|
12
|
+
import { t as m } from "./layout-pass-Cq85kSHX.js";
|
|
11
13
|
// src/components/lists-and-tables/table/table.styles.ts
|
|
12
|
-
var
|
|
14
|
+
var h = i`
|
|
13
15
|
:host {
|
|
14
16
|
box-sizing: border-box;
|
|
15
17
|
}
|
|
@@ -45,6 +47,19 @@ var p = i`
|
|
|
45
47
|
display: none;
|
|
46
48
|
}
|
|
47
49
|
|
|
50
|
+
:host {
|
|
51
|
+
position: relative;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.table__sizer {
|
|
55
|
+
position: absolute;
|
|
56
|
+
inset-inline: 0;
|
|
57
|
+
top: 0;
|
|
58
|
+
height: 0;
|
|
59
|
+
visibility: hidden;
|
|
60
|
+
pointer-events: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
48
63
|
/* Default surface is base; tinted is opt-in. */
|
|
49
64
|
:host([background="tinted"]) {
|
|
50
65
|
--_table-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
@@ -101,7 +116,7 @@ var p = i`
|
|
|
101
116
|
:host(.is-blank) {
|
|
102
117
|
display: none;
|
|
103
118
|
}
|
|
104
|
-
`,
|
|
119
|
+
`, g = i`
|
|
105
120
|
:host {
|
|
106
121
|
--_table-row-min-height: var(--semantics-tables-row-min-height);
|
|
107
122
|
/* Block padding goes to the cells (same hook the list uses) so it belongs
|
|
@@ -154,8 +169,9 @@ var p = i`
|
|
|
154
169
|
}
|
|
155
170
|
`;
|
|
156
171
|
// src/components/lists-and-tables/table/table.template.ts
|
|
157
|
-
function
|
|
172
|
+
function _() {
|
|
158
173
|
return t`
|
|
174
|
+
<div class="table__sizer" aria-hidden="true"></div>
|
|
159
175
|
<slot name="header"></slot>
|
|
160
176
|
<slot></slot>
|
|
161
177
|
<div class="table__empty"
|
|
@@ -173,28 +189,53 @@ function h() {
|
|
|
173
189
|
</div>
|
|
174
190
|
`;
|
|
175
191
|
}
|
|
176
|
-
function
|
|
192
|
+
function v(e) {
|
|
177
193
|
return t`<slot @slotchange=${e}></slot>`;
|
|
178
194
|
}
|
|
179
195
|
// src/components/lists-and-tables/table/table.ts
|
|
180
|
-
var
|
|
196
|
+
var y, b;
|
|
197
|
+
function x(e) {
|
|
198
|
+
let t = l(), n = [...e].filter(([e]) => e.isConnected);
|
|
199
|
+
for (let [e, r] of n) e._width = r, e._applyColumns(t);
|
|
200
|
+
let r = n.map(([e]) => e._readScrollable());
|
|
201
|
+
n.forEach(([e], t) => e._applyScrollable(r[t]));
|
|
202
|
+
}
|
|
203
|
+
var S = null;
|
|
204
|
+
function C(e) {
|
|
205
|
+
S ?? (S = new ResizeObserver((e) => {
|
|
206
|
+
let t = /* @__PURE__ */ new Map();
|
|
207
|
+
for (let n of e) {
|
|
208
|
+
let e = n.target.getRootNode().host;
|
|
209
|
+
t.set(e, n.contentRect.width);
|
|
210
|
+
}
|
|
211
|
+
x(t);
|
|
212
|
+
})), S.observe(e);
|
|
213
|
+
}
|
|
214
|
+
var w = new m((e) => {
|
|
215
|
+
let t = e.filter((e) => e.isConnected), n = t.map((e) => e._readScrollable());
|
|
216
|
+
t.forEach((e, t) => e._applyScrollable(n[t]));
|
|
217
|
+
}), T = (y = class extends e {
|
|
181
218
|
constructor(...e) {
|
|
182
|
-
super(...e), this.background = "base", this.columns = "", this.smColumns = "", this.mdColumns = "", this.lgColumns = "", this.accessibleLabel = "", this.translations = {}, this.selectable = !1, this._width = 0;
|
|
219
|
+
super(...e), this.background = "base", this.columns = "", this.smColumns = "", this.mdColumns = "", this.lgColumns = "", this.accessibleLabel = "", this.translations = {}, this.selectable = !1, this._width = 0, this._emptyPending = !1;
|
|
183
220
|
}
|
|
184
221
|
_t(e) {
|
|
185
222
|
return d(this.translations, c, e);
|
|
186
223
|
}
|
|
187
224
|
connectedCallback() {
|
|
188
|
-
super.connectedCallback(), this.setAttribute("role", "table"), this.style.containerType = "inline-size", this.style.containerName = "cells-container", this.
|
|
189
|
-
|
|
190
|
-
|
|
225
|
+
super.connectedCallback(), this.setAttribute("role", "table"), this.style.containerType = "inline-size", this.style.containerName = "cells-container", this._sizer && C(this._sizer), this.hasUpdated && this._watchRows();
|
|
226
|
+
}
|
|
227
|
+
get _sizer() {
|
|
228
|
+
return this.shadowRoot?.querySelector(".table__sizer") ?? null;
|
|
191
229
|
}
|
|
192
230
|
disconnectedCallback() {
|
|
193
|
-
super.disconnectedCallback(), this.
|
|
231
|
+
super.disconnectedCallback(), this._sizer && S?.unobserve(this._sizer), w.cancel(this), this._rowsObserver?.disconnect(), this._rowsObserver = void 0;
|
|
194
232
|
}
|
|
195
233
|
firstUpdated() {
|
|
196
|
-
(this.shadowRoot?.querySelector("slot:not([name])"))?.addEventListener("slotchange", () => this.
|
|
197
|
-
|
|
234
|
+
C(this._sizer), (this.shadowRoot?.querySelector("slot:not([name])"))?.addEventListener("slotchange", () => this._scheduleEmpty()), this._watchRows();
|
|
235
|
+
}
|
|
236
|
+
_watchRows() {
|
|
237
|
+
this._rowsObserver?.disconnect(), this._rowsObserver = new MutationObserver((e) => {
|
|
238
|
+
e.some((e) => e.type === "childList" ? e.target === this : e.type === "attributes" && e.attributeName === "hidden" && e.target instanceof Element && e.target.parentElement === this) && this._scheduleEmpty();
|
|
198
239
|
}), this._rowsObserver.observe(this, {
|
|
199
240
|
childList: !0,
|
|
200
241
|
subtree: !0,
|
|
@@ -202,63 +243,72 @@ var _ = class extends e {
|
|
|
202
243
|
attributeFilter: ["hidden"]
|
|
203
244
|
}), this._updateEmpty();
|
|
204
245
|
}
|
|
246
|
+
_scheduleEmpty() {
|
|
247
|
+
if (w.schedule(this, this.ownerDocument), this._emptyPending) return;
|
|
248
|
+
let e = () => {
|
|
249
|
+
this._emptyPending = !1, this._updateEmpty();
|
|
250
|
+
};
|
|
251
|
+
this._emptyPending = p(e, this.ownerDocument), this._emptyPending || e();
|
|
252
|
+
}
|
|
205
253
|
_updateEmpty() {
|
|
206
254
|
let e = this.shadowRoot?.querySelector(".table__empty");
|
|
207
255
|
if (!e) return;
|
|
208
256
|
let t = ((this.shadowRoot?.querySelector("slot:not([name])"))?.assignedElements() ?? []).filter((e) => e.localName === "nldd-table-row"), n = t.length === 0 || t.every((e) => e.hasAttribute("hidden")), r = !!this.querySelector(":scope > [slot=\"empty\"]"), i = n && t.length > 0 && !!this.querySelector(":scope > [slot=\"no-results\"]");
|
|
209
257
|
e.toggleAttribute("hidden", !n), this.shadowRoot?.querySelector("slot[name=\"empty\"]")?.toggleAttribute("hidden", i), this.shadowRoot?.querySelector("slot[name=\"no-results\"]")?.toggleAttribute("hidden", !i), this.classList.toggle("is-empty", n), this.classList.toggle("is-blank", n && !i && !r), f(this, "empty", n && t.length === 0), f(this, "filtered", n && t.length > 0);
|
|
210
258
|
}
|
|
211
|
-
_activeColumns() {
|
|
212
|
-
let e = l();
|
|
259
|
+
_activeColumns(e) {
|
|
213
260
|
return this._width <= u("smMax", e) ? this.smColumns || this.columns : this._width <= u("mdMax", e) ? this.mdColumns || this.columns : this.lgColumns || this.columns;
|
|
214
261
|
}
|
|
215
|
-
_applyColumns() {
|
|
216
|
-
let
|
|
217
|
-
|
|
262
|
+
_applyColumns(e = l()) {
|
|
263
|
+
let t = this._activeColumns(e);
|
|
264
|
+
t !== this.style.getPropertyValue("--_table-columns") && (t ? this.style.setProperty("--_table-columns", t) : this.style.removeProperty("--_table-columns"));
|
|
265
|
+
}
|
|
266
|
+
_readScrollable() {
|
|
267
|
+
return this.scrollWidth > this.clientWidth;
|
|
218
268
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
(e === "auto" || e === "scroll") && this.scrollWidth > this.clientWidth ? this.setAttribute("tabindex", "0") : this.removeAttribute("tabindex"), this._syncLabel();
|
|
269
|
+
_applyScrollable(e) {
|
|
270
|
+
e ? this.getAttribute("tabindex") !== "0" && this.setAttribute("tabindex", "0") : this.removeAttribute("tabindex"), this._syncLabel();
|
|
222
271
|
}
|
|
223
272
|
_syncLabel() {
|
|
224
|
-
|
|
273
|
+
let e = this.accessibleLabel || this._t("components.table.accessible-label");
|
|
274
|
+
this.getAttribute("aria-label") !== e && this.setAttribute("aria-label", e);
|
|
225
275
|
}
|
|
226
276
|
updated(e) {
|
|
227
|
-
if ((e.has("columns") || e.has("smColumns") || e.has("mdColumns") || e.has("lgColumns")) && this._applyColumns(),
|
|
277
|
+
if ((e.has("columns") || e.has("smColumns") || e.has("mdColumns") || e.has("lgColumns")) && this._applyColumns(), this._syncLabel(), e.has("selectable")) for (let e of this.querySelectorAll("nldd-table-row")) e._syncAriaSelected();
|
|
228
278
|
}
|
|
229
279
|
render() {
|
|
230
|
-
return
|
|
280
|
+
return _();
|
|
231
281
|
}
|
|
232
|
-
},
|
|
282
|
+
}, y.styles = h, y);
|
|
233
283
|
n([r({
|
|
234
284
|
reflect: !0,
|
|
235
285
|
converter: o("base")
|
|
236
|
-
})],
|
|
286
|
+
})], T.prototype, "background", void 0), n([r({
|
|
237
287
|
reflect: !0,
|
|
238
288
|
converter: o("")
|
|
239
|
-
})],
|
|
289
|
+
})], T.prototype, "columns", void 0), n([r({
|
|
240
290
|
reflect: !0,
|
|
241
291
|
attribute: "sm-columns",
|
|
242
292
|
converter: o("")
|
|
243
|
-
})],
|
|
293
|
+
})], T.prototype, "smColumns", void 0), n([r({
|
|
244
294
|
reflect: !0,
|
|
245
295
|
attribute: "md-columns",
|
|
246
296
|
converter: o("")
|
|
247
|
-
})],
|
|
297
|
+
})], T.prototype, "mdColumns", void 0), n([r({
|
|
248
298
|
reflect: !0,
|
|
249
299
|
attribute: "lg-columns",
|
|
250
300
|
converter: o("")
|
|
251
|
-
})],
|
|
301
|
+
})], T.prototype, "lgColumns", void 0), n([r({
|
|
252
302
|
reflect: !0,
|
|
253
303
|
attribute: "accessible-label",
|
|
254
304
|
converter: o("")
|
|
255
|
-
})],
|
|
305
|
+
})], T.prototype, "accessibleLabel", void 0), n([r({ type: Object })], T.prototype, "translations", void 0), n([r({
|
|
256
306
|
type: Boolean,
|
|
257
307
|
reflect: !0
|
|
258
|
-
})],
|
|
259
|
-
var
|
|
308
|
+
})], T.prototype, "selectable", void 0), T = n([a("nldd-table")], T);
|
|
309
|
+
var E = (b = class extends e {
|
|
260
310
|
constructor(...e) {
|
|
261
|
-
super(...e), this.selected = !1, this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
311
|
+
super(...e), this.selected = !1, this._cellsPending = !1, this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
262
312
|
}
|
|
263
313
|
connectedCallback() {
|
|
264
314
|
super.connectedCallback(), this.setAttribute("role", "row"), this._syncAriaSelected(), this._rowHeaderObserver = new MutationObserver(() => this._syncCellRoles()), this._rowHeaderObserver.observe(this, {
|
|
@@ -279,30 +329,37 @@ var b = (v = class extends e {
|
|
|
279
329
|
_syncAriaSelected() {
|
|
280
330
|
!this._isHeader && this.closest("nldd-table")?.hasAttribute("selectable") === !0 ? this.setAttribute("aria-selected", String(this.selected)) : this.removeAttribute("aria-selected");
|
|
281
331
|
}
|
|
282
|
-
_onSlotChange(
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
332
|
+
_onSlotChange() {
|
|
333
|
+
if (this._cellsPending) return;
|
|
334
|
+
let e = () => {
|
|
335
|
+
this._cellsPending = !1, this._syncCells();
|
|
336
|
+
};
|
|
337
|
+
this._cellsPending = p(e, this.ownerDocument), this._cellsPending || e();
|
|
338
|
+
}
|
|
339
|
+
_syncCells() {
|
|
340
|
+
let e = (this.shadowRoot?.querySelector("slot"))?.assignedElements() ?? [];
|
|
341
|
+
this._syncCellRoles(e);
|
|
342
|
+
for (let t of e) {
|
|
343
|
+
if (t.localName === "nldd-cell") {
|
|
344
|
+
let e = t.getAttribute("width");
|
|
345
|
+
(e === null || e === "" || e === "fit-content") && t.setAttribute("width", "full");
|
|
289
346
|
}
|
|
290
|
-
|
|
347
|
+
t.localName === "nldd-title-cell" && !t.hasAttribute("size") && t.size === void 0 && t.setAttribute("size", "display-6");
|
|
291
348
|
}
|
|
292
349
|
}
|
|
293
|
-
_syncCellRoles() {
|
|
294
|
-
let
|
|
295
|
-
for (let
|
|
350
|
+
_syncCellRoles(e = this.shadowRoot?.querySelector("slot")?.assignedElements() ?? []) {
|
|
351
|
+
let t = this._isHeader;
|
|
352
|
+
for (let n of e) {
|
|
296
353
|
let e = "cell";
|
|
297
|
-
|
|
354
|
+
t ? e = "columnheader" : n.hasAttribute("row-header") && (e = "rowheader"), n.getAttribute("role") !== e && n.setAttribute("role", e);
|
|
298
355
|
}
|
|
299
356
|
}
|
|
300
357
|
render() {
|
|
301
|
-
return
|
|
358
|
+
return v(this._onSlotChangeBound);
|
|
302
359
|
}
|
|
303
|
-
},
|
|
360
|
+
}, b.styles = g, b);
|
|
304
361
|
n([r({
|
|
305
362
|
type: Boolean,
|
|
306
363
|
reflect: !0
|
|
307
|
-
})],
|
|
308
|
-
export {
|
|
364
|
+
})], E.prototype, "selected", void 0), E = n([a("nldd-table-row")], E);
|
|
365
|
+
export { T as NLDDTable, E as NLDDTableRow };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-1aEyfetK.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-D8yf5dqU.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-
|
|
6
|
-
import "./icon-
|
|
5
|
+
import { t as l } from "./shadow-resets-DgR56wQK.js";
|
|
6
|
+
import "./icon-CkCT7sPE.js";
|
|
7
7
|
import { r as u } from "./element-state-B-44fVqq.js";
|
|
8
8
|
// src/components/content/tag/tag.styles.ts
|
|
9
9
|
var d = o`
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-1aEyfetK.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-D8yf5dqU.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { a as l, t as u } from "./overlay-invoker-Dj6MQAtF.js";
|
|
6
6
|
import { r as d } from "./element-state-B-44fVqq.js";
|
|
7
|
-
import { t as f } from "./shadow-resets-
|
|
7
|
+
import { t as f } from "./shadow-resets-DgR56wQK.js";
|
|
8
8
|
import { t as p } from "./term.i18n-9qtxefIQ.js";
|
|
9
|
-
import { t as m } from "./translations-
|
|
10
|
-
import "./popover-
|
|
11
|
-
import "./container-
|
|
12
|
-
import "./text-
|
|
13
|
-
import "./link-
|
|
14
|
-
import "./spacer-
|
|
15
|
-
import "./page-
|
|
16
|
-
import "./top-title-bar-
|
|
17
|
-
import "./title-
|
|
9
|
+
import { t as m } from "./translations-C5JpcNNC.js";
|
|
10
|
+
import "./popover-DOmi5m85.js";
|
|
11
|
+
import "./container-YWW7mHNa.js";
|
|
12
|
+
import "./text-CuiMvMZQ.js";
|
|
13
|
+
import "./link-S53veJpD.js";
|
|
14
|
+
import "./spacer-CeSO9CP1.js";
|
|
15
|
+
import "./page-w4XAfBWD.js";
|
|
16
|
+
import "./top-title-bar-CvvldlNt.js";
|
|
17
|
+
import "./title-EMt-SYKV.js";
|
|
18
18
|
import { n as h } from "./breakpoints-Cwor8TRP.js";
|
|
19
19
|
// src/components/content/term/term.styles.ts
|
|
20
20
|
var g = o`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { c as i, r as a, s as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-1aEyfetK.js";
|
|
2
|
+
import { c as i, r as a, s as o } from "./custom-element-D8yf5dqU.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { n as l, r as u, t as d } from "./custom-font-size-D7KNr84p.js";
|
|
6
6
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
7
|
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import { r as m } from "./shadow-resets-
|
|
8
|
+
import { r as m } from "./shadow-resets-DgR56wQK.js";
|
|
9
9
|
// src/components/content/text/text.styles.ts
|
|
10
10
|
var h = i(p.smMax), g = i(p.mdMin), _ = i(p.mdMax), v = i(p.lgMin), y = (e, t, n, r) => o`
|
|
11
11
|
${i(e)} {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, r as n, t as r } from "./decorate-
|
|
3
|
-
import { n as i, r as a, s as o } from "./custom-element-
|
|
2
|
+
import { n as t, r as n, t as r } from "./decorate-1aEyfetK.js";
|
|
3
|
+
import { n as i, r as a, s as o } from "./custom-element-D8yf5dqU.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as c } from "./slotted-block-xNpJoXLz.js";
|
|
6
6
|
import { n as l, r as u } from "./slot-content-2qH2vEC_.js";
|
|
7
|
-
import { t as d } from "./reorder-handle-mixin-
|
|
7
|
+
import { t as d } from "./reorder-handle-mixin-CnRKPVqU.js";
|
|
8
8
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
|
-
import { r as p, t as m } from "./shadow-resets-
|
|
10
|
-
import { n as h, r as g } from "./static-html-
|
|
11
|
-
import { n as _ } from "./render-marked-
|
|
12
|
-
import { t as v } from "./visibility-mixin-
|
|
13
|
-
import { t as y } from "./row-header-mixin-
|
|
9
|
+
import { r as p, t as m } from "./shadow-resets-DgR56wQK.js";
|
|
10
|
+
import { n as h, r as g } from "./static-html-CGoLwgpW.js";
|
|
11
|
+
import { n as _ } from "./render-marked-ClMFyNu0.js";
|
|
12
|
+
import { t as v } from "./visibility-mixin-BxhcJG-x.js";
|
|
13
|
+
import { t as y } from "./row-header-mixin-C8z9StDU.js";
|
|
14
14
|
// src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts
|
|
15
15
|
var b = o`
|
|
16
16
|
:host {
|