@nldd/design-system 0.29.3 → 0.30.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 +464 -211
- package/dist/assets/styles/shadow-resets.d.ts +22 -7
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +30 -1
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/assets/styles/text-wrap.d.ts +20 -4
- package/dist/assets/styles/text-wrap.d.ts.map +1 -1
- package/dist/assets/styles/text-wrap.js +27 -5
- package/dist/assets/styles/text-wrap.js.map +1 -1
- package/dist/cdn/autoloader.js +139 -140
- package/dist/cdn/chunks/{accordion-qIt44RLF.js → accordion-BcgFdNtq.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-Dc6eccrJ.js → accordion-item-DIoa4wMw.js} +7 -6
- package/dist/cdn/chunks/{activity-indicator-D3Trvd26.js → activity-indicator-BmpMwyBH.js} +8 -11
- package/dist/cdn/chunks/{admonition-SGAs1_Zu.js → admonition-DUsuT-qK.js} +7 -6
- package/dist/cdn/chunks/{avatar-vY0iiAzq.js → avatar-BFnVbTB9.js} +8 -8
- package/dist/cdn/chunks/{avatar-group-6fsYuye5.js → avatar-group-BDgLxUn9.js} +16 -16
- package/dist/cdn/chunks/{badge-D2QCPBU6.js → badge-CAN4lWcI.js} +32 -30
- package/dist/cdn/chunks/{banner-N1LY9uhq.js → banner-BncAmkYl.js} +9 -9
- package/dist/cdn/chunks/{bar-split-view-CthxhXh8.js → bar-split-view-hlmRlFit.js} +6 -6
- package/dist/cdn/chunks/{blockquote-C-oSxq4b.js → blockquote-DUAwVT6v.js} +33 -32
- package/dist/cdn/chunks/{box-B_NqS9H1.js → box-CasAZ5pk.js} +4 -4
- package/dist/cdn/chunks/{breadcrumbs-v-nEtdOp.js → breadcrumbs-DBHmoFPu.js} +7 -7
- package/dist/cdn/chunks/{button-DHLts-vo.js → button-IRm7Oibq.js} +114 -91
- package/dist/cdn/chunks/{button-bar-CPLhSKNo.js → button-bar-CocGraYA.js} +5 -5
- package/dist/cdn/chunks/{button-group-BIt4ERX1.js → button-group-BfNf2BZe.js} +4 -4
- package/dist/cdn/chunks/{card--GUIZiTn.js → card-BaomP9oB.js} +5 -5
- package/dist/cdn/chunks/{cell-Ch6VVWYl.js → cell-Dir3g5vA.js} +8 -8
- package/dist/cdn/chunks/{checkbox-BNI1xGry.js → checkbox-CIXkUW3R.js} +7 -7
- package/dist/cdn/chunks/{checkbox-field-BPtTyzq-.js → checkbox-field-DQ4MlASP.js} +9 -9
- package/dist/cdn/chunks/{checkbox-group-DYElCUgt.js → checkbox-group-C8E46V4D.js} +3 -3
- package/dist/cdn/chunks/{class-map-DwD-ilOn.js → class-map-D0fkDSLP.js} +1 -1
- package/dist/cdn/chunks/{code-editor-DEJ-KbPY.js → code-editor-C8YqZrN-.js} +16 -6
- package/dist/cdn/chunks/{code-viewer-CIiRvhkZ.js → code-viewer-Ck7wxfDo.js} +40 -13
- package/dist/cdn/chunks/{codemirror-input-y7sZIE85.js → codemirror-input-DNrSyYSw.js} +142 -143
- package/dist/cdn/chunks/{collection-Cb7Ej5Ua.js → collection-DprNdn8V.js} +9 -9
- package/dist/cdn/chunks/{combo-box-CDqddeN5.js → combo-box-B2L79FY5.js} +20 -11
- package/dist/cdn/chunks/{container-DZfSFaA9.js → container-Cg4kOUN8.js} +85 -84
- package/dist/cdn/chunks/{custom-element-aLDsY95V.js → custom-element-CDepWGgp.js} +1 -1
- package/dist/cdn/chunks/{date-field-C4xutZpO.js → date-field-Dsw2EkcZ.js} +13 -13
- package/dist/cdn/chunks/{date-picker-CtdRwpu7.js → date-picker-ugS3-VBq.js} +17 -19
- package/dist/cdn/chunks/{decorate-D28R7mwV.js → decorate-CuJsiFnl.js} +10 -12
- package/dist/cdn/chunks/described-by-mixin-Ih_IoqBD.js +106 -0
- package/dist/cdn/chunks/{description-cell-BYgUCAev.js → description-cell-DiLwKDva.js} +8 -8
- package/dist/cdn/chunks/{dev-checks-C6cMs71h.js → dev-checks-Bfy3qHxO.js} +32 -12
- package/dist/cdn/chunks/{directive-helpers-B-J-xMIs.js → directive-helpers-DEvA8txp.js} +1 -1
- package/dist/cdn/chunks/{dist-CON6NKtQ.js → dist-BEZuPWxd.js} +78 -79
- package/dist/cdn/chunks/{dist-CSUsf3Jq.js → dist-BFGGXlGI.js} +113 -114
- package/dist/cdn/chunks/{dist-Dr-gFR08.js → dist-BYPfq6x4.js} +5 -6
- package/dist/cdn/chunks/{dist-BxjZtyyd.js → dist-C8wDJyDH.js} +69 -70
- package/dist/cdn/chunks/{dist-CHuLNwDW.js → dist-CUXioD4z.js} +296 -297
- package/dist/cdn/chunks/{dist-BTUxFM2V.js → dist-Cr0OiT-0.js} +1 -1
- package/dist/cdn/chunks/{dist-BpXie73W.js → dist-CrMq7oqC.js} +2 -2
- package/dist/cdn/chunks/{dist-Bo5l49Uq.js → dist-DPnEBzju.js} +44 -45
- package/dist/cdn/chunks/{dist-Bnz9cU2A.js → dist-Djmp37M0.js} +54 -55
- package/dist/cdn/chunks/{dist-CIFs0Nqx.js → dist-DsQS8bTi.js} +33 -34
- package/dist/cdn/chunks/{dist-tBRozql6.js → dist-UpdpX10o.js} +88 -89
- package/dist/cdn/chunks/{dist-DKy1SqZx.js → dist-cg8p9qPS.js} +17 -18
- package/dist/cdn/chunks/{dist-3C80SZN9.js → dist-s2b8iJ30.js} +82 -83
- package/dist/cdn/chunks/{divider-CTKk-YoH.js → divider-DeLH4QwC.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-DY_eja8b.js → document-tab-bar-bOkWFMdJ.js} +11 -14
- package/dist/cdn/chunks/{dropdown-CruRvMW9.js → dropdown-C1NBctuB.js} +6 -6
- package/dist/cdn/chunks/{file-field-D9iNPYKY.js → file-field-DFjBl7rn.js} +110 -108
- package/dist/cdn/chunks/{floating-ui.dom-CB34tcZx.js → floating-ui.dom-DlsknQ4T.js} +3 -3
- package/dist/cdn/chunks/{form-actions-BuKwcAbF.js → form-actions-DcsN5H-J.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-C1rOeFAh.js → form-associated-mixin-YG9BXK0j.js} +2 -2
- package/dist/cdn/chunks/form-field-BWtox2o0.js +414 -0
- package/dist/cdn/chunks/form-field.i18n-D-3yEP-C.js +6 -0
- package/dist/cdn/chunks/{form-sQRdMSb4.js → form-mkjbjprY.js} +1 -1
- package/dist/cdn/chunks/form-section-CLuotkhm.js +78 -0
- package/dist/cdn/chunks/{full-bleed-section-DM0pv5Xt.js → full-bleed-section-CZfvZFDs.js} +4 -4
- package/dist/cdn/chunks/{hero-C8zDTYdo.js → hero-C_x5gAKl.js} +8 -8
- package/dist/cdn/chunks/{icon-CgFQSvEf.js → icon-CeybqndL.js} +6 -4
- package/dist/cdn/chunks/{icon-button-ya52TYkO.js → icon-button-BLe-iiU5.js} +67 -64
- package/dist/cdn/chunks/{icon-cell-DbqWtIl9.js → icon-cell-DUBctf2q.js} +8 -7
- package/dist/cdn/chunks/{identity-DPerpCOw.js → identity-C4FW2LCv.js} +33 -30
- package/dist/cdn/chunks/{if-defined-D5G_Kkpm.js → if-defined-DwzUaXrb.js} +1 -1
- package/dist/cdn/chunks/{image-eyP-R4JG.js → image-7aQSrryL.js} +24 -23
- package/dist/cdn/chunks/{inline-dialog-z7jzLiRx.js → inline-dialog-B9o9ckxL.js} +26 -25
- package/dist/cdn/chunks/{just-in-time-education-2O-UcSq5.js → just-in-time-education-C-3THmVJ.js} +7 -7
- package/dist/cdn/chunks/{kanban-Dz3KcfW2.js → kanban-BemPSLk8.js} +9 -10
- package/dist/cdn/chunks/{kanban-column-DQeIGacj.js → kanban-column-CYZjUBUd.js} +40 -41
- package/dist/cdn/chunks/{keyboard-shortcut-CUxShTHr.js → keyboard-shortcut-BK35aEeR.js} +5 -5
- package/dist/cdn/chunks/{languages-D_vPs_jY.js → languages-CT6Im_c5.js} +3475 -1841
- package/dist/cdn/chunks/{link-emVjLq3i.js → link-Lbw4Ut52.js} +7 -7
- package/dist/cdn/chunks/{link-group-Cygt2XBP.js → link-group-B1XXP70E.js} +3 -3
- package/dist/cdn/chunks/{list-TKhlBlV_.js → list-D2vWEpYC.js} +11 -11
- package/dist/cdn/chunks/{list-item-D2On2ug1.js → list-item-Y0wOQqRa.js} +14 -15
- package/dist/cdn/chunks/{list-item-segment-XERq2wPj.js → list-item-segment-BamNSRcL.js} +5 -5
- package/dist/cdn/chunks/{menu-b2UFN5q8.js → menu-Cvwt6mA5.js} +13 -13
- package/dist/cdn/chunks/{menu-bar-BJ6PjqmT.js → menu-bar-D9Etcq_r.js} +7 -7
- package/dist/cdn/chunks/{menu-bar-item-kRxuNXj5.js → menu-bar-item-BUVqi3o-.js} +7 -7
- package/dist/cdn/chunks/{menu-divider-Cpa6JbxR.js → menu-divider-BqRMxjF3.js} +4 -4
- package/dist/cdn/chunks/{menu-group-DrwvnJ1C.js → menu-group-BSnRGQgm.js} +6 -6
- package/dist/cdn/chunks/{menu-item-D7CoiS88.js → menu-item-UQoejlK0.js} +6 -6
- package/dist/cdn/chunks/{menu.template-BAqqSWm-.js → menu.template-CewvJO-Y.js} +10 -7
- package/dist/cdn/chunks/{modal-dialog-DOZuUmOi.js → modal-dialog-C6XUoI95.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-CB-rGXUh.js → multi-line-text-field-4Vn5Nrjo.js} +7 -7
- package/dist/cdn/chunks/{navigation-split-view-Bc5AUAmC.js → navigation-split-view-BEwcAHWu.js} +7 -13
- package/dist/cdn/chunks/{nl.generated-B194RR-y.js → nl.generated-CrkPlg69.js} +2 -2
- package/dist/cdn/chunks/{notification-Cs-f2gLW.js → notification-DxsARz6U.js} +8 -8
- package/dist/cdn/chunks/{number-field-DqQOrvOA.js → number-field-wFK_taVU.js} +10 -10
- package/dist/cdn/chunks/{one-half-one-half-section-BqiqGK-m.js → one-half-one-half-section-CyedWMlH.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-3LPjeo2n.js → one-third-two-thirds-section-LRJlzoAZ.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-CZxm-CQt.js → one-time-code-field-BYQfRePV.js} +11 -12
- package/dist/cdn/chunks/{overflow-menu-DkyYNSg3.js → overflow-menu-BdEHECvL.js} +1 -1
- package/dist/cdn/chunks/{page-DYzfOL9K.js → page-DpGgV58g.js} +47 -46
- package/dist/cdn/chunks/{page-footer-ChNrnN3t.js → page-footer-DxaWwS8U.js} +6 -6
- package/dist/cdn/chunks/{page-section-mixin-7d4JVDUI.js → page-section-mixin-DigQhtVE.js} +4 -4
- package/dist/cdn/chunks/{pagination-CYl78pZT.js → pagination-Ch0EdxDX.js} +37 -36
- package/dist/cdn/chunks/{password-field-Bg1lsru6.js → password-field-Dm8ah1v8.js} +37 -36
- package/dist/cdn/chunks/{popover-jP9P86r3.js → popover-Bhr3Nbst.js} +9 -9
- package/dist/cdn/chunks/{progress-bar-C08-J2b3.js → progress-bar-BBpNc1Wm.js} +11 -12
- package/dist/cdn/chunks/{progress-circle-_NDiM4Vw.js → progress-circle-DfbawfeQ.js} +9 -9
- package/dist/cdn/chunks/{radio-button-OdrY0lUT.js → radio-button-D_KTcIAN.js} +6 -6
- package/dist/cdn/chunks/{radio-button-field-C8XD59fa.js → radio-button-field-H_NQqcZp.js} +8 -8
- package/dist/cdn/chunks/{radio-button-group-C7ntRQO7.js → radio-button-group-kbaWn4YY.js} +3 -3
- package/dist/cdn/chunks/{reflect-non-default-Bu3rpCvg.js → reflect-non-default-DUOcGZKf.js} +1 -1
- package/dist/cdn/chunks/{render-marked-Cdt8DyWh.js → render-marked-DnJwRVpy.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-C6q1_RaE.js → reorder-handle-cell-BI4CugME.js} +5 -5
- package/dist/cdn/chunks/{reorder-handle-mixin-mJLOiHhZ.js → reorder-handle-mixin-LPcbGhhD.js} +2 -2
- package/dist/cdn/chunks/{repeat-DLQZAi6Q.js → repeat-BBqtniIo.js} +2 -2
- package/dist/cdn/chunks/{rich-text-CR5iRjCn.js → rich-text-xlU1NiF6.js} +4 -4
- package/dist/cdn/chunks/{rolldown-runtime-CGnMp29N.js → rolldown-runtime-BMBA7GOT.js} +2 -2
- package/dist/cdn/chunks/{row-header-mixin-BUn7AC4_.js → row-header-mixin-CyqWb67i.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-B7Gy3Bmm.js → scroll-fade-CTn6QJuM.js} +2 -2
- package/dist/cdn/chunks/{search-field-B62sYRtl.js → search-field-OpYujGwS.js} +41 -38
- package/dist/cdn/chunks/{segmented-control-VU38x7xX.js → segmented-control-8NtY_sU6.js} +8 -8
- package/dist/cdn/chunks/{shadow-resets-uUyDr3ia.js → shadow-resets-CtbMaZlz.js} +26 -11
- package/dist/cdn/chunks/{sheet-jMZkPdlu.js → sheet-C_biEFcb.js} +4 -4
- package/dist/cdn/chunks/{shell-2Wa4Waez.js → shell-OXRr3zFb.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-v6riuRqk.js → side-by-side-split-view-DVXrHULp.js} +6 -6
- package/dist/cdn/chunks/{sidebar-section-D3Zy_9y1.js → sidebar-section-DYa_6OWF.js} +9 -9
- package/dist/cdn/chunks/{simple-section-kCKeHqmt.js → simple-section-CGUSyUAl.js} +4 -4
- package/dist/cdn/chunks/{skip-link-BeoObN4D.js → skip-link-Dl2ouKZk.js} +6 -6
- package/dist/cdn/chunks/{slider-BSALXKxX.js → slider-Do-LOJNR.js} +13 -17
- package/dist/cdn/chunks/{spacer-CXXmb3su.js → spacer-BgHrBz2X.js} +4 -4
- package/dist/cdn/chunks/{spacer-cell-BV9uv10a.js → spacer-cell-CiQ8Ufpp.js} +6 -6
- package/dist/cdn/chunks/{split-button-DE4NaJZs.js → split-button-Sd_-qYSD.js} +8 -8
- package/dist/cdn/chunks/{split-view-divider-BqLSYIwg.js → split-view-divider-D1TzV2VR.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-CPCCQhHV.js → stacked-split-view-Ctlqwe0S.js} +6 -6
- package/dist/cdn/chunks/{static-html-DtH5-I4g.js → static-html-C8oeEnJZ.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CBi4aCqy.js → status-bar-u2SmYnKZ.js} +14 -6
- package/dist/cdn/chunks/{step-bar-BFzioHLn.js → step-bar-BA852p33.js} +7 -7
- package/dist/cdn/chunks/{step-cell-fNIdX1cI.js → step-cell-DF9xadrF.js} +6 -6
- package/dist/cdn/chunks/{stepper-CgmgV0qw.js → stepper-dRpkKCse.js} +9 -9
- package/dist/cdn/chunks/{style-map-DhI1E0EI.js → style-map-eCE91iAi.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BYb0cq8H.js → swatch-picker-Bjv3Yyk1.js} +7 -7
- package/dist/cdn/chunks/{switch-fRxqZBKc.js → switch-DJBzXPfD.js} +7 -7
- package/dist/cdn/chunks/{switch-field-BH6xhWUz.js → switch-field-uMAxSz6L.js} +8 -8
- package/dist/cdn/chunks/{tab-bar-B66obS2x.js → tab-bar-DLHqLs6Y.js} +21 -17
- package/dist/cdn/chunks/tab-bar.i18n-9sChoP56.js +6 -0
- package/dist/cdn/chunks/{table-s8GDKuuW.js → table-BLvkO5AG.js} +6 -6
- package/dist/cdn/chunks/{tag-TE8mlX1U.js → tag-DYhl2u2I.js} +6 -6
- package/dist/cdn/chunks/{term-Cm9BrUtJ.js → term-D79d-lz3.js} +12 -12
- package/dist/cdn/chunks/{text-cell-DxzojZsc.js → text-cell-BbVoThab.js} +42 -39
- package/dist/cdn/chunks/{text-editor-C_8jEhF2.js → text-editor-dZhei5Gg.js} +24 -14
- package/dist/cdn/chunks/{text-field-BgPlCLFl.js → text-field-DmKGVJvm.js} +7 -7
- package/dist/cdn/chunks/{text-DEk52Hq2.js → text-kRZ3cyId.js} +5 -5
- package/dist/cdn/chunks/{text-wrap-DjzB16-4.js → text-wrap-C6QQbSuj.js} +13 -5
- package/dist/cdn/chunks/{time-field-Sde0_8NH.js → time-field-BXVxhV80.js} +15 -15
- package/dist/cdn/chunks/{time-picker-CZbLW9ap.js → time-picker-BjJfPmir.js} +9 -9
- package/dist/cdn/chunks/{title-v-FXk0hs.js → title-DsOLSMHj.js} +6 -6
- package/dist/cdn/chunks/{title-cell-Bv9b6G_p.js → title-cell-DXcur6Eb.js} +52 -49
- package/dist/cdn/chunks/{toggle-button-DWlS9Rbg.js → toggle-button-7fasRpr1.js} +73 -57
- package/dist/cdn/chunks/{toggle-button-group-CetB0Cio.js → toggle-button-group-B9No_FIj.js} +3 -3
- package/dist/cdn/chunks/{token-BXJXjQwc.js → token-BYCl-dDP.js} +7 -7
- package/dist/cdn/chunks/{token-field-CsxYfu8b.js → token-field-C9fGsIxB.js} +11 -11
- package/dist/cdn/chunks/{toolbar-CUWVCKM6.js → toolbar-CBs6yMNd.js} +70 -69
- package/dist/cdn/chunks/{toolbar-item-BxzbSJdv.js → toolbar-item-DYVo5I60.js} +5 -8
- package/dist/cdn/chunks/{toolbar-title-C4qJ_fkM.js → toolbar-title-Bu5PbFPP.js} +5 -5
- package/dist/cdn/chunks/{toolbar.styles-D9FuZFnd.js → toolbar.styles-BUS-XIdr.js} +4 -3
- package/dist/cdn/chunks/{tooltip-D5XT5lRe.js → tooltip-yXDfEbZ1.js} +8 -8
- package/dist/cdn/chunks/{top-navigation-bar-C3azLUd1.js → top-navigation-bar-DW6xYKY0.js} +19 -19
- package/dist/cdn/chunks/{top-title-bar-D1m-dREA.js → top-title-bar-Fk4jzs8I.js} +12 -9
- package/dist/cdn/chunks/{two-thirds-one-third-section-D3VEGv6P.js → two-thirds-one-third-section-B9a1YYXm.js} +4 -4
- package/dist/cdn/chunks/{validation-list-D7tDyaoK.js → validation-list-BAyP6Ccd.js} +61 -49
- package/dist/cdn/chunks/{visibility-mixin-D2VzUDfE.js → visibility-mixin-9Nr_J68Z.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CSYlyubF.js → visually-hidden-BN6jVrRE.js} +2 -2
- package/dist/cdn/chunks/{window-6IQfu4dU.js → window-D4rLzdHo.js} +5 -5
- package/dist/cdn/chunks/{with-translations-Dr6Z41n9.js → with-translations-RkK-Bq8M.js} +3 -3
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +26 -7
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +7 -5
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +4 -2
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +4 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +1 -7
- package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +1 -0
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +2 -1
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +1 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.js +2 -1
- package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +30 -3
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +4 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +14 -5
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +14 -5
- 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 +6 -3
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +9 -8
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +8 -6
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +8 -6
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -0
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +2 -0
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +138 -73
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.d.ts +1 -0
- package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.i18n.js +2 -0
- package/dist/components/forms/form-field/form-field.i18n.js.map +1 -1
- package/dist/components/forms/form-field/form-field.js +317 -149
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts +0 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +27 -97
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.template.d.ts +0 -2
- package/dist/components/forms/form-field/form-field.template.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.template.js +22 -15
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +40 -16
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +47 -183
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/forms/form-section/form-section.styles.d.ts +2 -0
- package/dist/components/forms/form-section/form-section.styles.d.ts.map +1 -0
- package/dist/components/forms/form-section/form-section.styles.js +44 -0
- package/dist/components/forms/form-section/form-section.styles.js.map +1 -0
- package/dist/components/forms/form-section/form-section.template.d.ts +4 -0
- package/dist/components/forms/form-section/form-section.template.d.ts.map +1 -0
- package/dist/components/forms/form-section/form-section.template.js +19 -0
- package/dist/components/forms/form-section/form-section.template.js.map +1 -0
- package/dist/components/forms/validation-list/validation-list.d.ts +36 -6
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +75 -15
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.template.d.ts +1 -1
- package/dist/components/forms/validation-list/validation-list.template.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.template.js +2 -2
- package/dist/components/forms/validation-list/validation-list.template.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +10 -0
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +10 -1
- package/dist/components/inputs/combo-box/combo-box.styles.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 -6
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +3 -2
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +8 -8
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.d.ts +4 -3
- package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.js +8 -5
- package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +2 -1
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +3 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +7 -6
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/slider/slider.template.js +2 -2
- package/dist/components/inputs/slider/slider.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +10 -0
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +18 -3
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -3
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/layout/container/container.template.d.ts.map +1 -1
- package/dist/components/layout/container/container.template.js +2 -1
- package/dist/components/layout/container/container.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban-column.template.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban-column.template.js +5 -7
- package/dist/components/layout/kanban/kanban-column.template.js.map +1 -1
- package/dist/components/layout/kanban/kanban.template.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.template.js +2 -3
- package/dist/components/layout/kanban/kanban.template.js.map +1 -1
- package/dist/components/layout/page/page.template.d.ts.map +1 -1
- package/dist/components/layout/page/page.template.js +3 -2
- package/dist/components/layout/page/page.template.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -0
- 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 +11 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -0
- 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 +1 -0
- 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.template.js +2 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +2 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +13 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +13 -13
- 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 +4 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +8 -4
- 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 +8 -4
- 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 +4 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +7 -8
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +3 -2
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +8 -0
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts +1 -0
- package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.i18n.js +1 -0
- package/dist/components/navigation/tab-bar/tab-bar.i18n.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +16 -0
- 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 +3 -2
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
- 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 +6 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +2 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.js +3 -7
- package/dist/components/status-and-feedback/badge/badge.template.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +3 -4
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +2 -3
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -6
- 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 +28 -7
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +1 -1
- package/dist/css/form.css +14 -0
- package/dist/css/global-open-font.css +0 -1
- package/dist/css/global.css +0 -1
- package/dist/css/rich-text.css +21 -4
- package/dist/css/text.css +3 -1
- package/dist/css/title.css +3 -1
- package/dist/css/variables.css +5 -0
- package/dist/nldd.min.js +1926 -1804
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +2 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +2 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +2 -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 +2 -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 +2 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +20 -25
- package/dist/types/vue.d.ts +79 -84
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +0 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +36 -1
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +132 -8
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +33 -14
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/file-name-breaks.d.ts +13 -0
- package/dist/utilities/file-name-breaks.d.ts.map +1 -0
- package/dist/utilities/file-name-breaks.js +27 -0
- package/dist/utilities/file-name-breaks.js.map +1 -0
- package/dist/utilities/reflect-non-default.d.ts +2 -1
- package/dist/utilities/reflect-non-default.d.ts.map +1 -1
- package/dist/utilities/reflect-non-default.js +3 -2
- package/dist/utilities/reflect-non-default.js.map +1 -1
- package/dist/utilities/same-items.d.ts +10 -0
- package/dist/utilities/same-items.d.ts.map +1 -0
- package/dist/utilities/same-items.js +14 -0
- package/dist/utilities/same-items.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +49 -6
- package/lint/rule-compiler.js +7 -3
- package/lint/rule.schema.json +12 -0
- package/package.json +7 -6
- package/dist/cdn/chunks/described-by-mixin-k3KNxaZ2.js +0 -62
- package/dist/cdn/chunks/form-field-BF-6cws6.js +0 -434
- package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +0 -3
- package/dist/cdn/chunks/form-section-Cp9xiFew.js +0 -64
- package/dist/cdn/chunks/style-mod-DGMhzWuk.js +0 -1583
- package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +0 -3
- package/dist/css/form-section.css +0 -104
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./custom-element-
|
|
1
|
+
import { a as e } from "./custom-element-CDepWGgp.js";
|
|
2
2
|
// node_modules/lit-html/lit-html.js
|
|
3
3
|
var t = globalThis, n = (e) => e, r = t.trustedTypes, i = r ? r.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, a = "$lit$", o = `lit$${Math.random().toFixed(9).slice(2)}$`, s = "?" + o, c = `<${s}>`, l = document, u = () => l.createComment(""), d = (e) => e === null || typeof e != "object" && typeof e != "function", f = Array.isArray, p = (e) => f(e) || typeof e?.[Symbol.iterator] == "function", m = "[ \n\f\r]", h = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, g = /-->/g, _ = />/g, v = RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), y = /'/g, b = /"/g, x = /^(?:script|style|textarea|title)$/i, S = (e) => (t, ...n) => ({
|
|
4
4
|
_$litType$: e,
|
|
@@ -235,16 +235,16 @@ var P = class {
|
|
|
235
235
|
U: z,
|
|
236
236
|
B: L,
|
|
237
237
|
F: B
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
var
|
|
238
|
+
};
|
|
239
|
+
(0, t.litHtmlPolyfillSupport)?.(M, F), (t.litHtmlVersions ?? (t.litHtmlVersions = [])).push("3.3.3");
|
|
240
|
+
var H = (e, t, n) => {
|
|
241
241
|
let r = n?.renderBefore ?? t, i = r._$litPart$;
|
|
242
242
|
if (i === void 0) {
|
|
243
243
|
let e = n?.renderBefore ?? null;
|
|
244
244
|
r._$litPart$ = i = new F(t.insertBefore(u(), e), e, void 0, n ?? {});
|
|
245
245
|
}
|
|
246
246
|
return i._$AI(e), i;
|
|
247
|
-
},
|
|
247
|
+
}, U = globalThis, W = class extends e {
|
|
248
248
|
constructor() {
|
|
249
249
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
250
250
|
}
|
|
@@ -255,7 +255,7 @@ var U = (e, t, n) => {
|
|
|
255
255
|
}
|
|
256
256
|
update(e) {
|
|
257
257
|
let t = this.render();
|
|
258
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
258
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = H(t, this.renderRoot, this.renderOptions);
|
|
259
259
|
}
|
|
260
260
|
connectedCallback() {
|
|
261
261
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -267,14 +267,12 @@ var U = (e, t, n) => {
|
|
|
267
267
|
return E;
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
// \0@oxc-project+runtime@0.156.0/helpers/esm/decorate.js
|
|
274
|
-
function q(e, t, n, r) {
|
|
270
|
+
W._$litElement$ = !0, W.finalized = !0, U.litElementHydrateSupport?.({ LitElement: W }), (0, U.litElementPolyfillSupport)?.({ LitElement: W }), (U.litElementVersions ?? (U.litElementVersions = [])).push("4.2.2");
|
|
271
|
+
// \0@oxc-project+runtime@0.160.0/helpers/esm/decorate.js
|
|
272
|
+
function G(e, t, n, r) {
|
|
275
273
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
276
274
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
277
275
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
278
276
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
279
277
|
}
|
|
280
|
-
export { T as a, w as c, E as i,
|
|
278
|
+
export { T as a, w as c, E as i, W as n, C as o, D as r, V as s, G as t };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { r as e } from "./custom-element-CDepWGgp.js";
|
|
2
|
+
import { r as t } from "./element-state-D-J_cHEV.js";
|
|
3
|
+
import { t as n } from "./owned-attribute-x9OCTy_4.js";
|
|
4
|
+
import { t as r } from "./decorate-CuJsiFnl.js";
|
|
5
|
+
// src/utilities/same-items.ts
|
|
6
|
+
function i(e, t) {
|
|
7
|
+
let n = e ?? [], r = t ?? [];
|
|
8
|
+
return n.length === r.length && n.every((e, t) => e === r[t]);
|
|
9
|
+
}
|
|
10
|
+
// src/utilities/described-by-mixin.ts
|
|
11
|
+
function a(e, t, n = !1) {
|
|
12
|
+
if (!e) return;
|
|
13
|
+
if (!n && "describedByParts" in e) {
|
|
14
|
+
let n = e;
|
|
15
|
+
i(n.describedByParts, t) || (n.describedByParts = [...t]);
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
let r = e;
|
|
19
|
+
r.ariaDescribedByElements = t.length ? [...t] : null;
|
|
20
|
+
}
|
|
21
|
+
var o = [
|
|
22
|
+
"supporting-label",
|
|
23
|
+
"validation",
|
|
24
|
+
"help-text"
|
|
25
|
+
], s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap();
|
|
26
|
+
function u(e, t, n, r) {
|
|
27
|
+
let a = s.get(e);
|
|
28
|
+
a || s.set(e, a = /* @__PURE__ */ new Map());
|
|
29
|
+
let o = a.get(t);
|
|
30
|
+
i(o?.get(n) ?? [], r) || (o || a.set(t, o = /* @__PURE__ */ new Map()), r.length ? o.set(n, [...r]) : o.delete(n), o.size || a.delete(t), f(e));
|
|
31
|
+
}
|
|
32
|
+
function d(e, t) {
|
|
33
|
+
s.get(e)?.delete(t) && f(e);
|
|
34
|
+
}
|
|
35
|
+
function f(e) {
|
|
36
|
+
let t = s.get(e), r = [];
|
|
37
|
+
for (let e of o) for (let n of t?.values() ?? []) r.push(...n.get(e) ?? []);
|
|
38
|
+
if ("describedByParts" in e) {
|
|
39
|
+
let t = e;
|
|
40
|
+
i(t.describedByParts, r) || (t.describedByParts = r);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
let a = r.filter((e) => typeof e != "string"), u = r.filter((e) => typeof e == "string"), d = e;
|
|
44
|
+
i(l.get(e) ?? [], a) || (d.ariaDescribedByElements = a.length ? a : null, a.length ? l.set(e, a) : l.delete(e)), c.set(e, n(e, "aria-description", u.join(" "), c.get(e) ?? null));
|
|
45
|
+
}
|
|
46
|
+
function p(e, t, n = !1) {
|
|
47
|
+
e && (!n && "invalid" in e ? e.invalid = t : t ? e.setAttribute("aria-invalid", "true") : e.removeAttribute("aria-invalid"));
|
|
48
|
+
}
|
|
49
|
+
function m(i) {
|
|
50
|
+
class o extends i {
|
|
51
|
+
constructor(...e) {
|
|
52
|
+
super(...e), this.describedByParts = [], this.accessibleDescription = "", this.accessibleDescribedBy = "", this._descriptionTextElement = null, this._fieldTextElements = [], this._appliedDescription = null, this.addController({ hostUpdated: () => {
|
|
53
|
+
let e = this.describedTarget(), t = e === this;
|
|
54
|
+
a(e, [
|
|
55
|
+
...this._fieldDescriptions(t),
|
|
56
|
+
...this._appDescriptions(t),
|
|
57
|
+
...this.ownDescriptions()
|
|
58
|
+
], t);
|
|
59
|
+
let n = this.invalid;
|
|
60
|
+
n !== void 0 && p(e, n, t);
|
|
61
|
+
} }), this.addEventListener("focusin", () => {
|
|
62
|
+
this.accessibleDescribedBy && this.requestUpdate();
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
_fieldDescriptions(e) {
|
|
66
|
+
let t = this.describedByParts.filter((t) => typeof t != "string" || !e && t.trim()), n = t.filter((e) => typeof e == "string").map((e) => e.trim()), r = this._fieldTextElements;
|
|
67
|
+
for (; r.length > n.length;) r.pop()?.remove();
|
|
68
|
+
n.forEach((e, t) => {
|
|
69
|
+
let n = r[t];
|
|
70
|
+
n && n.getRootNode() === this.shadowRoot || (n = document.createElement("span"), n.hidden = !0, n.dataset.fieldDescription = "", this.shadowRoot?.append(n), r[t] = n), n.textContent = e;
|
|
71
|
+
});
|
|
72
|
+
let i = 0;
|
|
73
|
+
return t.map((e) => typeof e == "string" ? r[i++] : e);
|
|
74
|
+
}
|
|
75
|
+
_appDescriptions(e) {
|
|
76
|
+
let r = (this.accessibleDescribedBy ?? "").split(/\s+/).filter(Boolean), i = this.getRootNode(), a = r.map((e) => i.getElementById ? i.getElementById(e) : null).filter((e) => e !== null);
|
|
77
|
+
t(this, "no-description-target", a.length < r.length);
|
|
78
|
+
let o = a.length ? "" : (this.accessibleDescription ?? "").trim();
|
|
79
|
+
if (e) {
|
|
80
|
+
let e = [...this.describedByParts.filter((e) => typeof e == "string").map((e) => e.trim()), o].filter(Boolean).join(" ");
|
|
81
|
+
return this._appliedDescription = n(this, "aria-description", e, this._appliedDescription), a;
|
|
82
|
+
}
|
|
83
|
+
if (o) {
|
|
84
|
+
let e = this._descriptionTextElement;
|
|
85
|
+
return e && e.getRootNode() === this.shadowRoot || (e = document.createElement("span"), e.hidden = !0, e.dataset.description = "", this.shadowRoot?.append(e), this._descriptionTextElement = e), e.textContent = o, [e];
|
|
86
|
+
}
|
|
87
|
+
return this._descriptionTextElement?.remove(), this._descriptionTextElement = null, a;
|
|
88
|
+
}
|
|
89
|
+
describedTarget() {
|
|
90
|
+
return this.shadowRoot?.querySelector("input, textarea, select") ?? null;
|
|
91
|
+
}
|
|
92
|
+
ownDescriptions() {
|
|
93
|
+
return [];
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return r([e({ attribute: !1 })], o.prototype, "describedByParts", void 0), r([e({
|
|
97
|
+
type: String,
|
|
98
|
+
reflect: !0,
|
|
99
|
+
attribute: "accessible-description"
|
|
100
|
+
})], o.prototype, "accessibleDescription", void 0), r([e({
|
|
101
|
+
type: String,
|
|
102
|
+
reflect: !0,
|
|
103
|
+
attribute: "accessible-described-by"
|
|
104
|
+
})], o.prototype, "accessibleDescribedBy", void 0), o;
|
|
105
|
+
}
|
|
106
|
+
export { i as a, d as i, a as n, u as r, m as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
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-CuJsiFnl.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-CDepWGgp.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./reorder-handle-mixin-
|
|
5
|
-
import { t as s } from "./reflect-non-default-
|
|
6
|
-
import { r as c, t as l } from "./text-wrap-
|
|
7
|
-
import { i as u, t as d } from "./shadow-resets-
|
|
8
|
-
import { t as f } from "./visibility-mixin-
|
|
9
|
-
import { t as p } from "./row-header-mixin-
|
|
4
|
+
import { t as o } from "./reorder-handle-mixin-LPcbGhhD.js";
|
|
5
|
+
import { t as s } from "./reflect-non-default-DUOcGZKf.js";
|
|
6
|
+
import { r as c, t as l } from "./text-wrap-C6QQbSuj.js";
|
|
7
|
+
import { i as u, t as d } from "./shadow-resets-CtbMaZlz.js";
|
|
8
|
+
import { t as f } from "./visibility-mixin-9Nr_J68Z.js";
|
|
9
|
+
import { t as p } from "./row-header-mixin-CyqWb67i.js";
|
|
10
10
|
// src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts
|
|
11
11
|
var m = i`
|
|
12
12
|
:host {
|
|
@@ -246,10 +246,32 @@ var t = [
|
|
|
246
246
|
assert: "[accessible-label]:not([accessible-label=\"\"]), [input-id]:not([input-id=\"\"])",
|
|
247
247
|
properties: ["accessibleLabel", "inputId"]
|
|
248
248
|
},
|
|
249
|
+
{
|
|
250
|
+
id: "form-field-group-needs-label",
|
|
251
|
+
message: "A group field needs a `label`: it is the name of the group, and without one the field takes no role and its controls stand loose.",
|
|
252
|
+
context: "nldd-form-field[group]",
|
|
253
|
+
assert: "[label]:not([label=\"\"])",
|
|
254
|
+
properties: ["label"]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: "form-field-help-text-needs-text",
|
|
258
|
+
message: "The `help-text` slot of nldd-form-field takes an nldd-text: the field gives it the look of help text, and it styles a link in it.",
|
|
259
|
+
context: "nldd-form-field > [slot=\"help-text\"]:not(nldd-text)"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
id: "form-field-help-text-renamed",
|
|
263
|
+
message: "`nldd-form-field-help-text` is gone. Put plain help text in `help-text` on the field, and help text with a link in an `nldd-text` with `slot=\"help-text\"`.",
|
|
264
|
+
context: "nldd-form-field-help-text"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
id: "form-field-max-one-input",
|
|
268
|
+
message: "nldd-form-field holds more than one control, and names and describes only the first. Make it a `group` when the controls answer one question, or give each question a field of its own.",
|
|
269
|
+
context: "nldd-form-field:not([group]):state(multiple-inputs)"
|
|
270
|
+
},
|
|
249
271
|
{
|
|
250
272
|
id: "form-field-needs-input",
|
|
251
273
|
message: "nldd-form-field holds no form input, so the label cannot name anything or move focus into it.",
|
|
252
|
-
context: "nldd-form-field[label]:not([label=\"\"]):has(> :not(
|
|
274
|
+
context: "nldd-form-field[label]:not([label=\"\"]):has(> :not([slot=\"help-text\"]))",
|
|
253
275
|
assert: ":has(:is(input:not([type=\"hidden\"]), nldd-checkbox, nldd-checkbox-field, nldd-checkbox-group, nldd-code-editor, nldd-combo-box, nldd-date-field, nldd-date-picker, nldd-dropdown, nldd-file-field, nldd-multi-line-text-field, nldd-number-field, nldd-one-time-code-field, nldd-password-field, nldd-radio-button, nldd-radio-button-field, nldd-radio-button-group, nldd-search-field, nldd-segmented-control, nldd-slider, nldd-stepper, nldd-swatch-picker, nldd-switch, nldd-switch-field, nldd-text-editor, nldd-text-field, nldd-time-field, nldd-time-picker, nldd-toggle-button, nldd-toggle-button-group, nldd-token-field, select, textarea)), :state(has-input)",
|
|
254
276
|
properties: []
|
|
255
277
|
},
|
|
@@ -265,15 +287,13 @@ var t = [
|
|
|
265
287
|
},
|
|
266
288
|
{
|
|
267
289
|
id: "form-field-validation-no-multiple-controls",
|
|
268
|
-
message: "
|
|
269
|
-
context: "nldd-form-field:state(list-reads-first-control)"
|
|
290
|
+
message: "A validation list without `for` in a group field has rules that read a value: it reads the first control. Set `for` on the list to the control it is about.",
|
|
291
|
+
context: "nldd-form-field[group]:state(list-reads-first-control)"
|
|
270
292
|
},
|
|
271
293
|
{
|
|
272
|
-
id: "form-section-
|
|
273
|
-
message: "
|
|
274
|
-
context: "nldd-form-section"
|
|
275
|
-
assert: "[text]:not([text=\"\"]), [supporting-text]:not([supporting-text=\"\"])",
|
|
276
|
-
properties: ["text", "supportingText"]
|
|
294
|
+
id: "form-section-text-no-effect",
|
|
295
|
+
message: "`text` and `supporting-text` on nldd-form-section are gone. Put an nldd-title in its header slot, with the `heading-level` that fits the page.",
|
|
296
|
+
context: "nldd-form-section:is([text], [supporting-text])"
|
|
277
297
|
},
|
|
278
298
|
{
|
|
279
299
|
id: "hero-corner-invalid",
|
|
@@ -862,8 +882,8 @@ var t = [
|
|
|
862
882
|
},
|
|
863
883
|
{
|
|
864
884
|
id: "slot-needs-element",
|
|
865
|
-
message: "A slot for text takes the element that carries it: a `<p>`, or a heading in the default slot of nldd-title and nldd-title-cell. Put inline markup inside that element, and plain text in the attribute.",
|
|
866
|
-
context: ":is(nldd-title, nldd-title-cell):has(> :not([slot]):not(h1, h2, h3, h4, h5, h6, p)), nldd-text-cell:has(> :not([slot]):not(p)), :is(
|
|
885
|
+
message: "A slot for text takes the element that carries it: a `<p>`, or a heading in the default slot of nldd-title and nldd-title-cell. In a cell or nldd-identity, text with a link, bold or code goes in an nldd-text with the `<p>` in it. Put inline markup inside that element, and plain text in the attribute.",
|
|
886
|
+
context: ":is(nldd-title, nldd-title-cell):has(> :not([slot]):not(h1, h2, h3, h4, h5, h6, p)), nldd-text-cell:has(> :not([slot]):not(p, nldd-text)), nldd-title:has(> :is([slot=\"overline\"], [slot=\"supporting-text\"]):not(p)), :is(nldd-title-cell, nldd-text-cell):has(> :is([slot=\"overline\"], [slot=\"supporting-text\"]):not(p, nldd-text)), nldd-identity:has(> :is([slot=\"text\"], [slot=\"supporting-text\"]):not(p, nldd-text))"
|
|
867
887
|
},
|
|
868
888
|
{
|
|
869
889
|
id: "slot-text-needs-element",
|
|
@@ -911,7 +931,7 @@ var t = [
|
|
|
911
931
|
},
|
|
912
932
|
{
|
|
913
933
|
id: "status-bar-goes-above-top-bar",
|
|
914
|
-
message: "The status bar sits below a top bar. It belongs above it, as the first thing on the screen.",
|
|
934
|
+
message: "The status bar sits below a top bar or toolbar. It belongs above it, as the first thing on the screen.",
|
|
915
935
|
context: "nldd-status-bar:state(below-top-bar)"
|
|
916
936
|
},
|
|
917
937
|
{
|
|
@@ -2985,7 +3005,7 @@ function u() {
|
|
|
2985
3005
|
};
|
|
2986
3006
|
}
|
|
2987
3007
|
async function d(e) {
|
|
2988
|
-
let { nl: t } = await import("./nl.generated-
|
|
3008
|
+
let { nl: t } = await import("./nl.generated-CrkPlg69.js"), n = e.filter((e) => !(e in t));
|
|
2989
3009
|
n.length > 0 && console.warn(`[nldd] setTranslations: no component knows ${n.join(", ")}.`);
|
|
2990
3010
|
}
|
|
2991
3011
|
var f = /* @__PURE__ */ new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as e } from "./decorate-
|
|
1
|
+
import { s as e } from "./decorate-CuJsiFnl.js";
|
|
2
2
|
// node_modules/lit-html/directive-helpers.js
|
|
3
3
|
var { I: t } = e, n = (e) => e, r = (e) => e.strings === void 0, i = () => document.createComment(""), a = (e, r, a) => {
|
|
4
4
|
let o = e._$AA.parentNode, s = r === void 0 ? e._$AB : r._$AA;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-
|
|
2
|
-
import { i as t, n, r } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
import { O as c, S as ee, _ as l, p as u, s as d, u as f, v as p } from "./languages-D_vPs_jY.js";
|
|
1
|
+
import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
|
|
2
|
+
import { i as t, n, r } from "./dist-s2b8iJ30.js";
|
|
3
|
+
import { O as i, S as a, Tt as o, _ as s, p as c, s as l, u as ee, v as u, vt as d, xt as f, yt as p } from "./languages-CT6Im_c5.js";
|
|
5
4
|
// node_modules/@lezer/css/dist/index.js
|
|
6
|
-
var
|
|
5
|
+
var m = 148, h = 1, te = 149, g = 150, _ = 2, v = 151, ne = 3, y = 4, b = [
|
|
7
6
|
9,
|
|
8
7
|
10,
|
|
9
8
|
11,
|
|
@@ -56,55 +55,55 @@ var N = (e, t, n) => (r, i) => {
|
|
|
56
55
|
break;
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
|
-
}, P = new n(N(
|
|
58
|
+
}, P = new n(N(te, _, g), { contextual: !0 }), F = new n(N(v, ne, y), { contextual: !0 }), I = new n((e) => {
|
|
60
59
|
if (b.includes(e.peek(-1))) {
|
|
61
60
|
let { next: t } = e;
|
|
62
|
-
(A(t) || t == x || t == w || t == C || t == k || t == ae || t == re && A(e.peek(1)) || t == S || t == E) && e.acceptToken(
|
|
61
|
+
(A(t) || t == x || t == w || t == C || t == k || t == ae || t == re && A(e.peek(1)) || t == S || t == E) && e.acceptToken(m);
|
|
63
62
|
}
|
|
64
63
|
}), L = new n((e) => {
|
|
65
64
|
if (!b.includes(e.peek(-1))) {
|
|
66
65
|
let { next: t } = e;
|
|
67
|
-
if (t == T && (e.advance(), e.acceptToken(
|
|
66
|
+
if (t == T && (e.advance(), e.acceptToken(h)), A(t)) {
|
|
68
67
|
do
|
|
69
68
|
e.advance();
|
|
70
69
|
while (A(e.next) || j(e.next));
|
|
71
|
-
e.acceptToken(
|
|
70
|
+
e.acceptToken(h);
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
|
-
}), R =
|
|
75
|
-
"AtKeyword import charset namespace keyframes media supports font-feature-values":
|
|
76
|
-
"from to selector scope MatchFlag":
|
|
77
|
-
NamespaceName:
|
|
78
|
-
KeyframeName:
|
|
79
|
-
KeyframeRangeName:
|
|
80
|
-
TagName:
|
|
81
|
-
ClassName:
|
|
82
|
-
PseudoClassName:
|
|
83
|
-
IdName:
|
|
84
|
-
"FeatureName PropertyName":
|
|
85
|
-
AttributeName:
|
|
86
|
-
NumberLiteral:
|
|
87
|
-
KeywordQuery:
|
|
88
|
-
UnaryQueryOp:
|
|
89
|
-
"CallTag ValueName FontName":
|
|
90
|
-
VariableName:
|
|
91
|
-
Callee:
|
|
92
|
-
Unit:
|
|
93
|
-
"UniversalSelector NestingSelector":
|
|
94
|
-
"MatchOp CompareOp":
|
|
95
|
-
"ChildOp SiblingOp, LogicOp":
|
|
96
|
-
BinOp:
|
|
97
|
-
Important:
|
|
98
|
-
Comment:
|
|
99
|
-
ColorLiteral:
|
|
100
|
-
"ParenthesizedContent StringLiteral":
|
|
101
|
-
":":
|
|
102
|
-
"PseudoOp #":
|
|
103
|
-
"; , |":
|
|
104
|
-
"( )":
|
|
105
|
-
"[ ]":
|
|
106
|
-
"{ }":
|
|
107
|
-
}),
|
|
73
|
+
}), R = d({
|
|
74
|
+
"AtKeyword import charset namespace keyframes media supports font-feature-values": p.definitionKeyword,
|
|
75
|
+
"from to selector scope MatchFlag": p.keyword,
|
|
76
|
+
NamespaceName: p.namespace,
|
|
77
|
+
KeyframeName: p.labelName,
|
|
78
|
+
KeyframeRangeName: p.operatorKeyword,
|
|
79
|
+
TagName: p.tagName,
|
|
80
|
+
ClassName: p.className,
|
|
81
|
+
PseudoClassName: p.constant(p.className),
|
|
82
|
+
IdName: p.labelName,
|
|
83
|
+
"FeatureName PropertyName": p.propertyName,
|
|
84
|
+
AttributeName: p.attributeName,
|
|
85
|
+
NumberLiteral: p.number,
|
|
86
|
+
KeywordQuery: p.keyword,
|
|
87
|
+
UnaryQueryOp: p.operatorKeyword,
|
|
88
|
+
"CallTag ValueName FontName": p.atom,
|
|
89
|
+
VariableName: p.variableName,
|
|
90
|
+
Callee: p.operatorKeyword,
|
|
91
|
+
Unit: p.unit,
|
|
92
|
+
"UniversalSelector NestingSelector": p.definitionOperator,
|
|
93
|
+
"MatchOp CompareOp": p.compareOperator,
|
|
94
|
+
"ChildOp SiblingOp, LogicOp": p.logicOperator,
|
|
95
|
+
BinOp: p.arithmeticOperator,
|
|
96
|
+
Important: p.modifier,
|
|
97
|
+
Comment: p.blockComment,
|
|
98
|
+
ColorLiteral: p.color,
|
|
99
|
+
"ParenthesizedContent StringLiteral": p.string,
|
|
100
|
+
":": p.punctuation,
|
|
101
|
+
"PseudoOp #": p.derefOperator,
|
|
102
|
+
"; , |": p.separator,
|
|
103
|
+
"( )": p.paren,
|
|
104
|
+
"[ ]": p.squareBracket,
|
|
105
|
+
"{ }": p.brace
|
|
106
|
+
}), oe = {
|
|
108
107
|
__proto__: null,
|
|
109
108
|
lang: 44,
|
|
110
109
|
"nth-child": 44,
|
|
@@ -118,19 +117,19 @@ var N = (e, t, n) => (r, i) => {
|
|
|
118
117
|
"url-prefix": 158,
|
|
119
118
|
domain: 158,
|
|
120
119
|
regexp: 158
|
|
121
|
-
},
|
|
120
|
+
}, z = {
|
|
122
121
|
__proto__: null,
|
|
123
122
|
or: 104,
|
|
124
123
|
and: 104,
|
|
125
124
|
not: 112,
|
|
126
125
|
only: 112,
|
|
127
126
|
layer: 212
|
|
128
|
-
},
|
|
127
|
+
}, B = {
|
|
129
128
|
__proto__: null,
|
|
130
129
|
selector: 118,
|
|
131
130
|
style: 124,
|
|
132
131
|
layer: 208
|
|
133
|
-
},
|
|
132
|
+
}, V = {
|
|
134
133
|
__proto__: null,
|
|
135
134
|
"@import": 204,
|
|
136
135
|
"@media": 216,
|
|
@@ -204,19 +203,19 @@ var N = (e, t, n) => (r, i) => {
|
|
|
204
203
|
specialized: [
|
|
205
204
|
{
|
|
206
205
|
term: 150,
|
|
207
|
-
get: (e) =>
|
|
206
|
+
get: (e) => oe[e] || -1
|
|
208
207
|
},
|
|
209
208
|
{
|
|
210
209
|
term: 151,
|
|
211
|
-
get: (e) =>
|
|
210
|
+
get: (e) => z[e] || -1
|
|
212
211
|
},
|
|
213
212
|
{
|
|
214
213
|
term: 4,
|
|
215
|
-
get: (e) =>
|
|
214
|
+
get: (e) => B[e] || -1
|
|
216
215
|
},
|
|
217
216
|
{
|
|
218
217
|
term: 28,
|
|
219
|
-
get: (e) =>
|
|
218
|
+
get: (e) => V[e] || -1
|
|
220
219
|
},
|
|
221
220
|
{
|
|
222
221
|
term: 149,
|
|
@@ -278,7 +277,7 @@ function ue(e, t) {
|
|
|
278
277
|
let n = e.parent?.firstChild;
|
|
279
278
|
return n?.name == "Callee" && t.sliceString(n.from, n.to) == "var";
|
|
280
279
|
}
|
|
281
|
-
var X = /*@__PURE__*/ new
|
|
280
|
+
var X = /*@__PURE__*/ new o(), de = ["Declaration"];
|
|
282
281
|
function fe(e) {
|
|
283
282
|
for (let t = e;;) {
|
|
284
283
|
if (t.type.isTop) return t;
|
|
@@ -289,11 +288,11 @@ function Z(e, t, n) {
|
|
|
289
288
|
if (t.to - t.from > 4096) {
|
|
290
289
|
let r = X.get(t);
|
|
291
290
|
if (r) return r;
|
|
292
|
-
let
|
|
293
|
-
if (
|
|
294
|
-
for (let t of Z(e,
|
|
295
|
-
while (
|
|
296
|
-
return X.set(t,
|
|
291
|
+
let i = [], a = /* @__PURE__ */ new Set(), o = t.cursor(f.IncludeAnonymous);
|
|
292
|
+
if (o.firstChild()) do
|
|
293
|
+
for (let t of Z(e, o.node, n)) a.has(t.label) || (a.add(t.label), i.push(t));
|
|
294
|
+
while (o.nextSibling());
|
|
295
|
+
return X.set(t, i), i;
|
|
297
296
|
}
|
|
298
297
|
{
|
|
299
298
|
let r = [], i = /* @__PURE__ */ new Set();
|
|
@@ -309,62 +308,62 @@ function Z(e, t, n) {
|
|
|
309
308
|
}
|
|
310
309
|
}
|
|
311
310
|
var pe = /*@__PURE__*/ ((e) => (t) => {
|
|
312
|
-
let { state: n, pos: r } = t,
|
|
313
|
-
if (
|
|
314
|
-
from:
|
|
311
|
+
let { state: n, pos: r } = t, a = i(n).resolveInner(r, -1), o = a.type.isError && a.from == a.to - 1 && n.doc.sliceString(a.from, a.to) == "-";
|
|
312
|
+
if (a.name == "PropertyName" || (o || a.name == "TagName") && /^(Block|Styles)$/.test(a.resolve(a.to).name)) return {
|
|
313
|
+
from: a.from,
|
|
315
314
|
options: K(),
|
|
316
315
|
validFor: Y
|
|
317
316
|
};
|
|
318
|
-
if (
|
|
319
|
-
from:
|
|
317
|
+
if (a.name == "ValueName") return {
|
|
318
|
+
from: a.from,
|
|
320
319
|
options: J,
|
|
321
320
|
validFor: Y
|
|
322
321
|
};
|
|
323
|
-
if (
|
|
324
|
-
from:
|
|
322
|
+
if (a.name == "PseudoClassName") return {
|
|
323
|
+
from: a.from,
|
|
325
324
|
options: q,
|
|
326
325
|
validFor: Y
|
|
327
326
|
};
|
|
328
|
-
if (e(
|
|
329
|
-
from: e(
|
|
330
|
-
options: Z(n.doc, fe(
|
|
327
|
+
if (e(a) || (t.explicit || o) && ue(a, n.doc)) return {
|
|
328
|
+
from: e(a) || o ? a.from : r,
|
|
329
|
+
options: Z(n.doc, fe(a), e),
|
|
331
330
|
validFor: le
|
|
332
331
|
};
|
|
333
|
-
if (
|
|
334
|
-
for (let { parent: e } =
|
|
335
|
-
from:
|
|
332
|
+
if (a.name == "TagName") {
|
|
333
|
+
for (let { parent: e } = a; e; e = e.parent) if (e.name == "Block") return {
|
|
334
|
+
from: a.from,
|
|
336
335
|
options: K(),
|
|
337
336
|
validFor: Y
|
|
338
337
|
};
|
|
339
338
|
return {
|
|
340
|
-
from:
|
|
339
|
+
from: a.from,
|
|
341
340
|
options: se,
|
|
342
341
|
validFor: Y
|
|
343
342
|
};
|
|
344
343
|
}
|
|
345
|
-
if (
|
|
346
|
-
from:
|
|
344
|
+
if (a.name == "AtKeyword") return {
|
|
345
|
+
from: a.from,
|
|
347
346
|
options: ce,
|
|
348
347
|
validFor: Y
|
|
349
348
|
};
|
|
350
349
|
if (!t.explicit) return null;
|
|
351
|
-
let
|
|
352
|
-
return
|
|
350
|
+
let s = a.resolve(r), c = s.childBefore(r);
|
|
351
|
+
return c && c.name == ":" && s.name == "PseudoClassSelector" ? {
|
|
353
352
|
from: r,
|
|
354
353
|
options: q,
|
|
355
354
|
validFor: Y
|
|
356
|
-
} :
|
|
355
|
+
} : c && c.name == ":" && s.name == "Declaration" || s.name == "ArgList" ? {
|
|
357
356
|
from: r,
|
|
358
357
|
options: J,
|
|
359
358
|
validFor: Y
|
|
360
|
-
} :
|
|
359
|
+
} : s.name == "Block" || s.name == "Styles" ? {
|
|
361
360
|
from: r,
|
|
362
361
|
options: K(),
|
|
363
362
|
validFor: Y
|
|
364
363
|
} : null;
|
|
365
|
-
})((e) => e.name == "VariableName"), Q = /*@__PURE__*/
|
|
364
|
+
})((e) => e.name == "VariableName"), Q = /*@__PURE__*/ l.define({
|
|
366
365
|
name: "css",
|
|
367
|
-
parser: /*@__PURE__*/ U.configure({ props: [/*@__PURE__*/
|
|
366
|
+
parser: /*@__PURE__*/ U.configure({ props: [/*@__PURE__*/ a.add({ Declaration: /*@__PURE__*/ c() }), /*@__PURE__*/ u.add({ "Block KeyframeList": s })] }),
|
|
368
367
|
languageData: {
|
|
369
368
|
commentTokens: { block: {
|
|
370
369
|
open: "/*",
|
|
@@ -375,6 +374,6 @@ var pe = /*@__PURE__*/ ((e) => (t) => {
|
|
|
375
374
|
}
|
|
376
375
|
});
|
|
377
376
|
function $() {
|
|
378
|
-
return new
|
|
377
|
+
return new ee(Q, Q.data.of({ autocomplete: pe }));
|
|
379
378
|
}
|
|
380
379
|
export { Q as n, W as r, $ as t };
|