@nldd/design-system 0.21.1 → 0.22.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 +708 -231
- package/dist/cdn/autoloader.js +136 -136
- package/dist/cdn/chunks/{activity-indicator-JglZJ8dh.js → activity-indicator-BTnpfsIt.js} +22 -22
- package/dist/cdn/chunks/{avatar-ASqePVhU.js → avatar--5c37XVW.js} +44 -43
- package/dist/cdn/chunks/{avatar-group-GinEMPm9.js → avatar-group-BNfmY5CU.js} +41 -41
- package/dist/cdn/chunks/{badge-Cc2Nufoc.js → badge-YAvIVoRy.js} +28 -28
- package/dist/cdn/chunks/{banner-BLVKM07M.js → banner-BpCK57yd.js} +41 -37
- package/dist/cdn/chunks/{bar-split-view-Clbg-p9H.js → bar-split-view-BgYo4YJw.js} +27 -27
- package/dist/cdn/chunks/blockquote-BOu-31f3.js +240 -0
- package/dist/cdn/chunks/{box-WkhyjQVy.js → box-YipFNjJh.js} +7 -7
- package/dist/cdn/chunks/{breadcrumbs-D9YxZzRj.js → breadcrumbs-DSVAVozW.js} +33 -33
- package/dist/cdn/chunks/{button-DO90Lo6q.js → button-XtEOeBEq.js} +101 -100
- package/dist/cdn/chunks/{button-bar-Bxgdbyh3.js → button-bar-D1i71rRQ.js} +13 -13
- package/dist/cdn/chunks/{button-group-BYGPPLmZ.js → button-group-un5QDbqK.js} +10 -10
- package/dist/cdn/chunks/{card-BP0jfOkS.js → card-D5yTAdts.js} +22 -22
- package/dist/cdn/chunks/{cell-BRD2ilQh.js → cell-BbtB9C2Z.js} +24 -23
- package/dist/cdn/chunks/{checkbox-field-DDZ-B6vH.js → checkbox-field-Cmc6Aagc.js} +33 -30
- package/dist/cdn/chunks/{checkbox-Cazx8CQn.js → checkbox-oYX8b8iy.js} +28 -27
- package/dist/cdn/chunks/{class-map-CXSdNjt8.js → class-map-DKd4N9Wz.js} +1 -1
- package/dist/cdn/chunks/{code-editor-D6Q55oaY.js → code-editor-BZwpTu4O.js} +55 -57
- package/dist/cdn/chunks/{code-viewer-DspLH2T1.js → code-viewer-C4XDF03i.js} +75 -75
- package/dist/cdn/chunks/{codemirror-input-Db65x22n.js → codemirror-input-Sen5OmAF.js} +5 -5
- package/dist/cdn/chunks/{collection-NVtkvDls.js → collection-BnZstW7U.js} +36 -36
- package/dist/cdn/chunks/{combo-box-OywRKaWj.js → combo-box-BpaGeypm.js} +68 -68
- package/dist/cdn/chunks/{container-rrbwk0z4.js → container-DuV5d7Eb.js} +51 -51
- package/dist/cdn/chunks/{custom-element-q6NzoL5b.js → custom-element-DsfOrnOD.js} +1 -1
- package/dist/cdn/chunks/{date-field-vmZLo80s.js → date-field-FactdbhC.js} +83 -83
- package/dist/cdn/chunks/{date-picker-CXDzSBoL.js → date-picker-BtlBTKvh.js} +78 -78
- package/dist/cdn/chunks/{decorate-TduJMFD_.js → decorate-CJCfz_g6.js} +2 -2
- package/dist/cdn/chunks/{described-by-mixin-daRE7orX.js → described-by-mixin-CPultP0p.js} +2 -2
- package/dist/cdn/chunks/{description-cell-CQwOj_rN.js → description-cell-DFc0_dWI.js} +24 -23
- package/dist/cdn/chunks/{dev-checks-zW_W-hnh.js → dev-checks-DGwOQoR3.js} +76 -26
- package/dist/cdn/chunks/{dist-EgIBI-FG.js → dist-6xUfJUfa.js} +26 -26
- package/dist/cdn/chunks/{dist-A7_1pHX0.js → dist-AQ1Gehx3.js} +25 -25
- package/dist/cdn/chunks/{dist-DPUBF0MZ.js → dist-BUqkX3a-.js} +362 -371
- package/dist/cdn/chunks/{dist-Rm6FvrSR.js → dist-BWSiWu4t.js} +55 -55
- package/dist/cdn/chunks/{dist-CP3G1pSK.js → dist-Bmb_H8Sp.js} +1 -1
- package/dist/cdn/chunks/{dist-DrTzvgE7.js → dist-BuquxOFD.js} +178 -188
- package/dist/cdn/chunks/{dist-EM4MWLQq.js → dist-CM5DHMaz.js} +120 -125
- package/dist/cdn/chunks/{dist-C_dGY6zR.js → dist-ClsiJytN.js} +43 -43
- package/dist/cdn/chunks/{dist-D2qap2OY.js → dist-CtdONv3x.js} +13 -13
- package/dist/cdn/chunks/{dist-ChmCRv39.js → dist-CxdoWiwX.js} +50 -50
- package/dist/cdn/chunks/{dist-BEfLdOvy.js → dist-D-9cbJjq.js} +190 -196
- package/dist/cdn/chunks/{divider-CCNbnplA.js → divider-CZ8Hn1om.js} +6 -6
- package/dist/cdn/chunks/{document-tab-bar-A2DFWrP9.js → document-tab-bar-BBnyyiEA.js} +56 -56
- package/dist/cdn/chunks/{dropdown-DZTZtkm5.js → dropdown-Bbbgy8mT.js} +31 -31
- package/dist/cdn/chunks/{file-field-DQ52qq5L.js → file-field-CddG_e0F.js} +116 -116
- package/dist/cdn/chunks/{form-hXLgy_tY.js → form-DIIMIq0q.js} +23 -9
- package/dist/cdn/chunks/{form-actions-C_7hINq-.js → form-actions-BICy0Sgp.js} +7 -7
- package/dist/cdn/chunks/{form-associated-mixin--GIbl98p.js → form-associated-mixin-BtStDDYA.js} +14 -3
- package/dist/cdn/chunks/{form-field--4nWJ_DK.js → form-field-Bnei2EQO.js} +36 -36
- package/dist/cdn/chunks/{form-section-By-D4un0.js → form-section-Cv0tr0pm.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-Dg4sIJG1.js → full-bleed-section-LOfo_1Aj.js} +10 -10
- package/dist/cdn/chunks/{hero-CQQMNCT_.js → hero-BABWpYs5.js} +48 -48
- package/dist/cdn/chunks/{icon-BORlalt0.js → icon-D5dJm51v.js} +41 -47
- package/dist/cdn/chunks/{icon-button-rKiIHs7A.js → icon-button-DtxIRaQy.js} +80 -79
- package/dist/cdn/chunks/{icon-cell-rk4NQid2.js → icon-cell-Be5awZV7.js} +26 -24
- package/dist/cdn/chunks/{identity-BLXecYsZ.js → identity-B4KtbT8h.js} +26 -26
- package/dist/cdn/chunks/{if-defined-CaKKERku.js → if-defined-BirFs11D.js} +1 -1
- package/dist/cdn/chunks/{image-DZMW6JgL.js → image-BpVEir6U.js} +66 -61
- package/dist/cdn/chunks/{inline-dialog-WlqtPBPJ.js → inline-dialog-B627fZmT.js} +29 -28
- package/dist/cdn/chunks/{just-in-time-education-DRcb5g7x.js → just-in-time-education-Nw5ido3N.js} +44 -48
- package/dist/cdn/chunks/{kanban-Ca_mfqsA.js → kanban-9HGexCJx.js} +24 -24
- package/dist/cdn/chunks/{kanban-column-fgIMc7pw.js → kanban-column-v5rfv8fN.js} +13 -13
- package/dist/cdn/chunks/{keyboard-shortcut-EknnW7Ub.js → keyboard-shortcut-CVNilmgr.js} +20 -20
- package/dist/cdn/chunks/{languages-yKikVFv_.js → languages-Ce4h7R1-.js} +12 -12
- package/dist/cdn/chunks/{link-FBSAJ3UC.js → link-BQQwp17j.js} +36 -36
- package/dist/cdn/chunks/{link-group-90qVfKa0.js → link-group-CQhEcQIV.js} +11 -11
- package/dist/cdn/chunks/{list-CaWl3q0Z.js → list-DDxjOe38.js} +41 -39
- package/dist/cdn/chunks/{list-item-Cagnf6eG.js → list-item-Da6-fFDs.js} +131 -77
- package/dist/cdn/chunks/{list-item-segment-BRzBF1y_.js → list-item-segment-CnGHU6G-.js} +44 -44
- package/dist/cdn/chunks/{menu-bar-BU3Hjk1b.js → menu-bar-MPNB2ovW.js} +21 -21
- package/dist/cdn/chunks/{menu-bar-item-C7LQ0NI_.js → menu-bar-item-BuZ-VvnR.js} +34 -34
- package/dist/cdn/chunks/{menu-divider-CLLRgMll.js → menu-divider-CcOTQxx5.js} +6 -6
- package/dist/cdn/chunks/{menu-group-BL24ChpR.js → menu-group-DGgbYejF.js} +8 -8
- package/dist/cdn/chunks/{menu-item-CooKfrFa.js → menu-item-DgM4RmyD.js} +28 -28
- package/dist/cdn/chunks/{menu-BtxzRedh.js → menu-uOExHS1i.js} +58 -57
- package/dist/cdn/chunks/{menu.template-C6rbfI-u.js → menu.template-DkbfQRQ6.js} +3 -3
- package/dist/cdn/chunks/{modal-dialog-BrUMP4Jm.js → modal-dialog-BRYfJ7Vf.js} +26 -26
- package/dist/cdn/chunks/{multi-line-text-field-D7hXhyOn.js → multi-line-text-field-CWOPY6sF.js} +47 -47
- package/dist/cdn/chunks/{navigation-split-view-B2ZQhxEb.js → navigation-split-view-BRiplUXM.js} +37 -37
- package/dist/cdn/chunks/nl.generated-fkFCex7n.js +112 -0
- package/dist/cdn/chunks/{notification-DSGP14d1.js → notification-DhnzrUQp.js} +25 -25
- package/dist/cdn/chunks/{number-field-B8op14Y_.js → number-field-DgRrXCiv.js} +39 -39
- package/dist/cdn/chunks/{one-half-one-half-section-ZYmHYf4Q.js → one-half-one-half-section-D7tzDw-p.js} +11 -11
- package/dist/cdn/chunks/{one-third-two-thirds-section-Ds10K6AS.js → one-third-two-thirds-section-E8xOdcsf.js} +11 -11
- package/dist/cdn/chunks/{one-time-code-field-Cgy_tTS4.js → one-time-code-field-BoJdVvNN.js} +54 -54
- package/dist/cdn/chunks/{page-CBf_Decp.js → page-DDm193hL.js} +27 -27
- package/dist/cdn/chunks/{page-footer-CSv1dU7M.js → page-footer-32oZSwvG.js} +46 -61
- package/dist/cdn/chunks/{page-section-mixin-Dp6X8GKd.js → page-section-mixin-CmsW9L1S.js} +2 -2
- package/dist/cdn/chunks/{pagination-CMUcFB53.js → pagination-Co1BlFTP.js} +45 -45
- package/dist/cdn/chunks/{password-field-C76Vm3rm.js → password-field-BxKQRE4K.js} +54 -54
- package/dist/cdn/chunks/{popover-CGbeEv_-.js → popover-DpCE_XjR.js} +81 -47
- package/dist/cdn/chunks/{progress-bar-BLiHaRUS.js → progress-bar-5WAVf0HV.js} +53 -53
- package/dist/cdn/chunks/{progress-circle-CjkovRbL.js → progress-circle-D7Mn6WZv.js} +55 -55
- package/dist/cdn/chunks/{radio-button-field-C-Z6Lnd4.js → radio-button-field-Dxnahic-.js} +25 -25
- package/dist/cdn/chunks/{radio-button-group-ChTqBCnQ.js → radio-button-group-D_4lI2U-.js} +18 -18
- package/dist/cdn/chunks/{radio-button-GHyO-GQB.js → radio-button-pd8lwtEO.js} +29 -29
- package/dist/cdn/chunks/{render-marked-DX_5ISZE.js → render-marked-CAskRZMx.js} +1 -1
- package/dist/cdn/chunks/{drag-handle-cell-CbzDYebG.js → reorder-handle-cell-BL8ECfi5.js} +38 -37
- package/dist/cdn/chunks/reorder-handle-cell.i18n-DlH2aVwd.js +3 -0
- package/dist/cdn/chunks/reorder-handle-mixin-BDRPLv58.js +16 -0
- package/dist/cdn/chunks/{repeat-Ch_5OsXE.js → repeat-D5W3dDCY.js} +1 -1
- package/dist/cdn/chunks/rich-text-diNxNddp.js +61 -0
- package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
- package/dist/cdn/chunks/{row-header-mixin-CgqvREoV.js → row-header-mixin-Dj6t4nYI.js} +2 -2
- package/dist/cdn/chunks/{search-field-BGNfERhn.js → search-field-CLuQnvBU.js} +67 -67
- package/dist/cdn/chunks/{segmented-control-BYAG4VRp.js → segmented-control-B0z5J7r9.js} +86 -82
- package/dist/cdn/chunks/{shadow-resets-6SToDsPu.js → shadow-resets-BeVmf7ky.js} +2 -2
- package/dist/cdn/chunks/{sheet-CqN7ViYV.js → sheet-CKfFzUCu.js} +22 -22
- package/dist/cdn/chunks/{shell-C9rds_D9.js → shell-CglPjEWB.js} +7 -7
- package/dist/cdn/chunks/{side-by-side-split-view-C5oX4c6Z.js → side-by-side-split-view-DU4ODEBX.js} +21 -21
- package/dist/cdn/chunks/{sidebar-section-CFPBdETU.js → sidebar-section-DzJw-MHs.js} +29 -29
- package/dist/cdn/chunks/{simple-section-qrCqXeBa.js → simple-section-BfhBYqMa.js} +12 -12
- package/dist/cdn/chunks/{skip-link-DWh4W6-J.js → skip-link-DwVvD9XL.js} +19 -19
- package/dist/cdn/chunks/{slider--hODfOwh.js → slider-BBxKxr-H.js} +86 -82
- package/dist/cdn/chunks/{spacer-CFzq_JCh.js → spacer-CqK1xVh2.js} +11 -11
- package/dist/cdn/chunks/{spacer-cell-DuVOgIj8.js → spacer-cell-DS7Tphdm.js} +13 -12
- package/dist/cdn/chunks/{split-button-DH19p8So.js → split-button-Brh7EmIA.js} +32 -32
- package/dist/cdn/chunks/{split-view-divider-jzcPmnMh.js → split-view-divider-Bh3XLobi.js} +10 -10
- package/dist/cdn/chunks/{split-view-pane-BLsZz263.js → split-view-pane-BPKlAR4d.js} +13 -13
- package/dist/cdn/chunks/{stacked-split-view-CcOR8LrJ.js → stacked-split-view-SrIHWkKW.js} +20 -20
- package/dist/cdn/chunks/{static-html-Cf4ccUIg.js → static-html-OvWm15yg.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CINbOihq.js → status-bar-IqyLnoMx.js} +24 -24
- package/dist/cdn/chunks/{step-bar-6FvZL1Ti.js → step-bar-DltkU-AG.js} +56 -56
- package/dist/cdn/chunks/{step-cell-CejRisgS.js → step-cell-BHW3t6nn.js} +40 -39
- package/dist/cdn/chunks/{stepper-CY2rJWOJ.js → stepper-DMlk7A-Y.js} +30 -30
- package/dist/cdn/chunks/{style-map-DsIw6lkq.js → style-map-CNYX1L3t.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BY3DBIl6.js → swatch-picker-BAKkJFgt.js} +47 -47
- package/dist/cdn/chunks/{switch-DDSsZFwK.js → switch-B3d_1Leh.js} +27 -26
- package/dist/cdn/chunks/{switch-field-CMoM9I38.js → switch-field-BXJj1PHC.js} +47 -28
- package/dist/cdn/chunks/{tab-bar-CA8K1XjU.js → tab-bar-C7T0XL0u.js} +70 -70
- package/dist/cdn/chunks/{table-DwXjCSD5.js → table-CVyPmXfX.js} +31 -31
- package/dist/cdn/chunks/{tag-DM3APy3B.js → tag-KdbJbRcK.js} +25 -25
- package/dist/cdn/chunks/{text-cell-BkEsGI3g.js → text-cell-CUH5Tf5F.js} +43 -42
- package/dist/cdn/chunks/{text-editor-BvTiMeNV.js → text-editor-Bsfygq28.js} +71 -71
- package/dist/cdn/chunks/{text-field-CUyh1-V8.js → text-field-BQxQe0ch.js} +56 -56
- package/dist/cdn/chunks/{text-B1CatNR1.js → text-lQLJJw1m.js} +45 -45
- package/dist/cdn/chunks/{time-field--5K0YTcr.js → time-field-kdMQ7qaa.js} +60 -60
- package/dist/cdn/chunks/{time-picker-W0xYXLy8.js → time-picker-T1bZ4zxP.js} +86 -79
- package/dist/cdn/chunks/{title-cell-8d8psUBX.js → title-cell-CyJr9OiV.js} +61 -63
- package/dist/cdn/chunks/{title-BuT7tWqN.js → title-yXmufzsm.js} +110 -74
- package/dist/cdn/chunks/{toggle-button-DNXWXZpE.js → toggle-button-DiZaFEAk.js} +74 -74
- package/dist/cdn/chunks/{toggle-button-group-ByowJYgs.js → toggle-button-group-DRai7q0C.js} +20 -20
- package/dist/cdn/chunks/{token-CnkEB3hB.js → token-C6EudIjw.js} +30 -30
- package/dist/cdn/chunks/{token-field-BpyxOGmU.js → token-field-OCw3wLIW.js} +69 -69
- package/dist/cdn/chunks/{toolbar-C24LqAzK.js → toolbar-K5UY_y15.js} +26 -26
- package/dist/cdn/chunks/{toolbar-item-DpPfPxCi.js → toolbar-item-CI3OVQuq.js} +13 -13
- package/dist/cdn/chunks/{toolbar-title-KBMpfL9d.js → toolbar-title-xvfrEhvQ.js} +31 -31
- package/dist/cdn/chunks/{toolbar.styles-BQkG4gVc.js → toolbar.styles-BBj5j7Iq.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BsAHJjci.js → tooltip-B6XDYQNn.js} +42 -45
- package/dist/cdn/chunks/{top-navigation-bar-C_kLPVKD.js → top-navigation-bar-D7JkgCQi.js} +86 -86
- package/dist/cdn/chunks/{top-title-bar-iNFB2zQL.js → top-title-bar-BMSTl1Z7.js} +50 -44
- package/dist/cdn/chunks/{two-thirds-one-third-section-D-UANbHC.js → two-thirds-one-third-section-Cc1Mh9TT.js} +11 -11
- package/dist/cdn/chunks/{validation-list-C5BhHZIG.js → validation-list-xF6yTpz8.js} +19 -19
- package/dist/cdn/chunks/{visibility-mixin-COAZ9pON.js → visibility-mixin-LkgEnUqn.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BPgATaH0.js → visually-hidden-CMo9yGtA.js} +6 -6
- package/dist/cdn/chunks/{window-CxV6ELE9.js → window-CclQ8SHn.js} +37 -37
- package/dist/cdn/chunks/with-translations-DdCPcavT.js +16 -0
- package/dist/components/actions/toolbar/toolbar.story-sync.js +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +9 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +23 -7
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +51 -10
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +4 -0
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/image/image.d.ts +6 -2
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +28 -15
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +1 -2
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +9 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +40 -2
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +26 -11
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +38 -12
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +74 -43
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +5 -3
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +11 -0
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +56 -4
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +6 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +9 -11
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -3
- package/dist/components/inputs/code-editor/code-editor.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 +23 -25
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +4 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +4 -0
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +4 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +12 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +24 -2
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +2 -3
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +18 -17
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +19 -19
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +28 -19
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +78 -51
- 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 +2 -1
- 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/layout/kanban/kanban-column.d.ts +1 -1
- package/dist/components/layout/kanban/kanban-column.js +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +7 -7
- package/dist/components/layout/kanban/kanban.js +9 -9
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +4 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +7 -12
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +4 -19
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -4
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +24 -2
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +106 -11
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +6 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
- 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 +2 -1
- 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.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +46 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts +5 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js +4 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.js → reorder-handle-cell/reorder-handle-cell.js} +24 -24
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.styles.js → reorder-handle-cell/reorder-handle-cell.styles.js} +14 -14
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.d.ts → reorder-handle-cell/reorder-handle-cell.template.d.ts} +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{drag-handle-cell/drag-handle-cell.template.js → reorder-handle-cell/reorder-handle-cell.template.js} +4 -4
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -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 +2 -1
- 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 +2 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +7 -5
- 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 +4 -3
- 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.js +5 -5
- package/dist/components/lists-and-tables/list/list.d.ts +3 -2
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +15 -21
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +30 -14
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +107 -154
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +3 -3
- package/dist/components/lists-and-tables/table/table.d.ts +4 -4
- package/dist/components/lists-and-tables/table/table.js +5 -5
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +6 -6
- 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 +16 -24
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +2 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +4 -4
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.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 +12 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +6 -2
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +2 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +5 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/title.css +88 -0
- package/dist/css/variables.css +2 -3
- package/dist/nldd.min.js +940 -866
- package/dist/translations/en-US.js +1 -1
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +1 -1
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -1
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +1 -1
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +1 -1
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +45 -37
- package/dist/types/vue.d.ts +74 -59
- package/dist/utilities/autoloader.generated.js +1 -1
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +75 -25
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +10 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +17 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/reorder-handle-mixin.d.ts +21 -0
- package/dist/utilities/reorder-handle-mixin.d.ts.map +1 -0
- package/dist/utilities/reorder-handle-mixin.js +34 -0
- package/dist/utilities/reorder-handle-mixin.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +11 -0
- package/lint/linter.js +5 -1
- package/lint/rule.schema.json +1 -0
- package/package.json +6 -6
- package/dist/cdn/chunks/blockquote-BoOqbGdm.js +0 -189
- package/dist/cdn/chunks/drag-handle-cell.i18n-CKUrbm2q.js +0 -3
- package/dist/cdn/chunks/nl.generated-D6T41jG3.js +0 -112
- package/dist/cdn/chunks/rich-text-CQ2uwMSp.js +0 -47
- package/dist/cdn/chunks/with-translations-XX14GKFh.js +0 -16
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +0 -44
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +0 -5
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +0 -4
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CJCfz_g6.js";
|
|
2
|
+
import { a as r, i, n as a } from "./custom-element-DsfOrnOD.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { n as c, t as l } from "./page-section-mixin-CmsW9L1S.js";
|
|
6
|
+
import { i as u, n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
7
|
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts
|
|
8
|
-
var f =
|
|
8
|
+
var f = r(d.smMax), p = r(d.mdMin), m = r(d.mdMax), h = r(d.lgMin), g = r(u.stackedMax), _ = i`
|
|
9
9
|
:host {
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
}
|
|
@@ -155,7 +155,7 @@ var f = e(l.smMax), p = e(l.mdMin), m = e(l.mdMax), h = e(l.lgMin), g = e(c.stac
|
|
|
155
155
|
`;
|
|
156
156
|
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.ts
|
|
157
157
|
function v(e) {
|
|
158
|
-
return
|
|
158
|
+
return t`
|
|
159
159
|
<section class="two-thirds-one-third-section">
|
|
160
160
|
<div class="two-thirds-one-third-section__body">
|
|
161
161
|
<header class="two-thirds-one-third-section__header"
|
|
@@ -188,7 +188,7 @@ function v(e) {
|
|
|
188
188
|
`;
|
|
189
189
|
}
|
|
190
190
|
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts
|
|
191
|
-
var y = class extends
|
|
191
|
+
var y = class extends l(e) {
|
|
192
192
|
constructor(...e) {
|
|
193
193
|
super(...e), this.width = "", this.verticalAlignment = "top";
|
|
194
194
|
}
|
|
@@ -201,13 +201,13 @@ var y = class extends d(r) {
|
|
|
201
201
|
render() {
|
|
202
202
|
return v(this);
|
|
203
203
|
}
|
|
204
|
-
}, b = (y.styles = [
|
|
205
|
-
|
|
204
|
+
}, b = (y.styles = [c, _], y);
|
|
205
|
+
n([a({
|
|
206
206
|
reflect: !0,
|
|
207
207
|
converter: s("")
|
|
208
|
-
})], b.prototype, "width", void 0),
|
|
208
|
+
})], b.prototype, "width", void 0), n([a({
|
|
209
209
|
reflect: !0,
|
|
210
210
|
attribute: "vertical-alignment",
|
|
211
211
|
converter: s("top")
|
|
212
|
-
})], b.prototype, "verticalAlignment", void 0), b =
|
|
212
|
+
})], b.prototype, "verticalAlignment", void 0), b = n([o("nldd-two-thirds-one-third-section")], b);
|
|
213
213
|
export { b as NLDDTwoThirdsOneThirdSection };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CJCfz_g6.js";
|
|
2
|
+
import { i as r, n as i, t as a } from "./custom-element-DsfOrnOD.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { r as s } from "./element-state-B-44fVqq.js";
|
|
5
|
-
import { t as c } from "./
|
|
6
|
-
import { t as l } from "./
|
|
5
|
+
import { t as c } from "./validation-list.i18n-CM6In8zD.js";
|
|
6
|
+
import { t as l } from "./translations-wxBSz213.js";
|
|
7
7
|
// src/components/forms/validation-list/validation-list.styles.ts
|
|
8
|
-
var u =
|
|
8
|
+
var u = r`
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
/* # Host */
|
|
@@ -32,7 +32,7 @@ var u = e`
|
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
gap: var(--_validation-list-gap);
|
|
34
34
|
}
|
|
35
|
-
`, d =
|
|
35
|
+
`, d = r`
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
/* # Host */
|
|
@@ -63,7 +63,7 @@ var u = e`
|
|
|
63
63
|
`;
|
|
64
64
|
// src/components/forms/validation-list/validation-list.template.ts
|
|
65
65
|
function f(e) {
|
|
66
|
-
return
|
|
66
|
+
return t`
|
|
67
67
|
<div class="validation-list"
|
|
68
68
|
role="list"
|
|
69
69
|
>
|
|
@@ -72,12 +72,12 @@ function f(e) {
|
|
|
72
72
|
`;
|
|
73
73
|
}
|
|
74
74
|
function p(e) {
|
|
75
|
-
return
|
|
75
|
+
return t`
|
|
76
76
|
<slot></slot>
|
|
77
77
|
`;
|
|
78
78
|
}
|
|
79
79
|
// src/components/forms/validation-list/validation-list.ts
|
|
80
|
-
var m = class extends
|
|
80
|
+
var m = class extends e {
|
|
81
81
|
constructor(...e) {
|
|
82
82
|
super(...e), this.match = "", this.required = !1, this.hint = !1, this.unmet = !1, this.visible = !1;
|
|
83
83
|
}
|
|
@@ -104,25 +104,25 @@ var m = class extends r {
|
|
|
104
104
|
return p(this);
|
|
105
105
|
}
|
|
106
106
|
}, h, g = (m.styles = d, m);
|
|
107
|
-
|
|
107
|
+
n([i({ type: String })], g.prototype, "match", void 0), n([i({ type: Number })], g.prototype, "minlength", void 0), n([i({ type: Number })], g.prototype, "maxlength", void 0), n([i({
|
|
108
108
|
type: Boolean,
|
|
109
109
|
reflect: !0
|
|
110
|
-
})], g.prototype, "required", void 0),
|
|
110
|
+
})], g.prototype, "required", void 0), n([i({
|
|
111
111
|
type: Boolean,
|
|
112
112
|
reflect: !0
|
|
113
|
-
})], g.prototype, "hint", void 0),
|
|
113
|
+
})], g.prototype, "hint", void 0), n([i({
|
|
114
114
|
type: Boolean,
|
|
115
115
|
reflect: !0
|
|
116
|
-
})], g.prototype, "unmet", void 0),
|
|
116
|
+
})], g.prototype, "unmet", void 0), n([i({
|
|
117
117
|
type: Boolean,
|
|
118
118
|
reflect: !0
|
|
119
|
-
})], g.prototype, "visible", void 0), g =
|
|
120
|
-
var _ = (h = class extends
|
|
119
|
+
})], g.prototype, "visible", void 0), g = n([o("nldd-validation-item")], g);
|
|
120
|
+
var _ = (h = class extends e {
|
|
121
121
|
constructor(...e) {
|
|
122
122
|
super(...e), this.for = "", this.hint = !1, this.judging = !1, this.control = null, this.translations = {}, this._resolved = null, this._observer = null, this._onInput = () => this._evaluate(), this._fallbackItem = null;
|
|
123
123
|
}
|
|
124
124
|
_t(e, t) {
|
|
125
|
-
return
|
|
125
|
+
return l(this.translations, c, e, t);
|
|
126
126
|
}
|
|
127
127
|
connectedCallback() {
|
|
128
128
|
super.connectedCallback(), this._resolve();
|
|
@@ -192,11 +192,11 @@ var _ = (h = class extends r {
|
|
|
192
192
|
n?.setCustomValidity && n.setCustomValidity(e ? t.filter(Boolean).join(". ") : "");
|
|
193
193
|
}
|
|
194
194
|
}, h.styles = u, h);
|
|
195
|
-
|
|
195
|
+
n([i({ type: String })], _.prototype, "for", void 0), n([i({
|
|
196
196
|
type: Boolean,
|
|
197
197
|
reflect: !0
|
|
198
|
-
})], _.prototype, "hint", void 0),
|
|
198
|
+
})], _.prototype, "hint", void 0), n([i({
|
|
199
199
|
type: Boolean,
|
|
200
200
|
reflect: !0
|
|
201
|
-
})], _.prototype, "judging", void 0),
|
|
201
|
+
})], _.prototype, "judging", void 0), n([i({ attribute: !1 })], _.prototype, "control", void 0), n([i({ attribute: !1 })], _.prototype, "value", void 0), n([i({ type: Object })], _.prototype, "translations", void 0), n([a()], _.prototype, "_resolved", void 0), _ = n([o("nldd-validation-list")], _);
|
|
202
202
|
export { g as NLDDValidationItem, _ as NLDDValidationList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, i as t, n } from "./custom-element-
|
|
2
|
-
import { t as r } from "./decorate-
|
|
1
|
+
import { a as e, i as t, n } from "./custom-element-DsfOrnOD.js";
|
|
2
|
+
import { t as r } from "./decorate-CJCfz_g6.js";
|
|
3
3
|
import { n as i } from "./breakpoints-Cwor8TRP.js";
|
|
4
4
|
// src/utilities/visibility-mixin.styles.ts
|
|
5
5
|
var a = e(i.smMax), o = e(i.mdMin), s = e(i.mdMax), c = e(i.lgMin), l = /* @__PURE__ */ new Map();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CJCfz_g6.js";
|
|
2
|
+
import { i as r } from "./custom-element-DsfOrnOD.js";
|
|
3
3
|
import { t as i } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
// src/components/content/visually-hidden/visually-hidden.styles.ts
|
|
5
|
-
var a =
|
|
5
|
+
var a = r`
|
|
6
6
|
:host {
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
}
|
|
@@ -29,15 +29,15 @@ var a = e`
|
|
|
29
29
|
`;
|
|
30
30
|
// src/components/content/visually-hidden/visually-hidden.template.ts
|
|
31
31
|
function o() {
|
|
32
|
-
return
|
|
32
|
+
return t`
|
|
33
33
|
<slot></slot>
|
|
34
34
|
`;
|
|
35
35
|
}
|
|
36
36
|
// src/components/content/visually-hidden/visually-hidden.ts
|
|
37
|
-
var s = class extends
|
|
37
|
+
var s = class extends e {
|
|
38
38
|
render() {
|
|
39
39
|
return o();
|
|
40
40
|
}
|
|
41
41
|
}, c = (s.styles = a, s);
|
|
42
|
-
c =
|
|
42
|
+
c = n([i("nldd-visually-hidden")], c);
|
|
43
43
|
export { c as NLDDVisuallyHidden };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CJCfz_g6.js";
|
|
2
|
+
import { i as r, n as i } from "./custom-element-DsfOrnOD.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import { t as h } from "./
|
|
13
|
-
import { t as g } from "./
|
|
4
|
+
import { t as o } from "./shadow-resets-BeVmf7ky.js";
|
|
5
|
+
import { t as s } from "./window.i18n-CsEnUPAk.js";
|
|
6
|
+
import { n as c } from "./input-modality-XE0B7yCn.js";
|
|
7
|
+
import { n as l, t as u } from "./open-when-rendered-CW_2_WUZ.js";
|
|
8
|
+
import { t as d } from "./dismiss-from-title-bar-C6mP7sWP.js";
|
|
9
|
+
import { t as f } from "./title-bar-label-controller-DSxdKZOg.js";
|
|
10
|
+
import { t as p } from "./translations-wxBSz213.js";
|
|
11
|
+
import { r as m } from "./element-state-B-44fVqq.js";
|
|
12
|
+
import { t as h } from "./return-focus-BzZWhXhc.js";
|
|
13
|
+
import { t as g } from "./reflect-non-default-Bu3rpCvg.js";
|
|
14
14
|
// src/components/layout/window/window.styles.ts
|
|
15
|
-
var _ =
|
|
15
|
+
var _ = r`
|
|
16
16
|
:host {
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
}
|
|
@@ -24,7 +24,7 @@ var _ = e`
|
|
|
24
24
|
--_window-background-color: var(--semantics-surfaces-base-background-color);
|
|
25
25
|
--_window-default-width: var(--primitives-area-640);
|
|
26
26
|
|
|
27
|
-
${
|
|
27
|
+
${o}
|
|
28
28
|
/* contents, not block: the window is a position:fixed <dialog>, so the host
|
|
29
29
|
would only add an empty box. As a block it is a flex item like any other
|
|
30
30
|
and grows with its siblings, taking space from them. Same reason as
|
|
@@ -88,7 +88,7 @@ var _ = e`
|
|
|
88
88
|
`;
|
|
89
89
|
// src/components/layout/window/window.template.ts
|
|
90
90
|
function v(e) {
|
|
91
|
-
return
|
|
91
|
+
return t`
|
|
92
92
|
<dialog class="window"
|
|
93
93
|
aria-label=${e._resolvedAccessibleLabel}
|
|
94
94
|
aria-modal="true"
|
|
@@ -107,9 +107,9 @@ function v(e) {
|
|
|
107
107
|
`;
|
|
108
108
|
}
|
|
109
109
|
// src/components/layout/window/window.ts
|
|
110
|
-
var y = class extends
|
|
110
|
+
var y = class extends e {
|
|
111
111
|
constructor(...e) {
|
|
112
|
-
super(...e), this.scheme = "inherit", this.centered = !1, this.accessibleLabel = "", this.translations = {}, this.noLightDismiss = !1, this.open = !1, this._closing = !1, this._titleBar = new
|
|
112
|
+
super(...e), this.scheme = "inherit", this.centered = !1, this.accessibleLabel = "", this.translations = {}, this.noLightDismiss = !1, this.open = !1, this._closing = !1, this._titleBar = new f(this), this._cancelPendingOpen = null, this._closeEmitted = !1, this._focusReturn = new h(), this._handleDialogClose = (e) => {
|
|
113
113
|
e.target === this._dialog && (this._closing = !1, this._emitClose());
|
|
114
114
|
}, this._pointerDownOnBackdrop = !1, this._handleDialogPointerDown = (e) => {
|
|
115
115
|
this._pointerDownOnBackdrop = this._isOnBackdrop(e);
|
|
@@ -118,7 +118,7 @@ var y = class extends n {
|
|
|
118
118
|
}, this._handleCancel = (e) => {
|
|
119
119
|
e.preventDefault(), this.hide();
|
|
120
120
|
}, this._handleDismiss = (e) => {
|
|
121
|
-
|
|
121
|
+
d(e) && (e.stopPropagation(), this.hide());
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
get _dialog() {
|
|
@@ -145,17 +145,17 @@ var y = class extends n {
|
|
|
145
145
|
this.scheme === "light" || this.scheme === "dark" ? (this.style.colorScheme = this.scheme, e && (e.style.colorScheme = this.scheme)) : (this.style.removeProperty("color-scheme"), e && e.style.removeProperty("color-scheme"));
|
|
146
146
|
}
|
|
147
147
|
_t(e) {
|
|
148
|
-
return
|
|
148
|
+
return p(this.translations, s, e);
|
|
149
149
|
}
|
|
150
150
|
get _resolvedAccessibleLabel() {
|
|
151
151
|
return this.accessibleLabel || this._titleBar.text || this._t("components.window.accessible-label");
|
|
152
152
|
}
|
|
153
153
|
show() {
|
|
154
154
|
let e = this._dialog;
|
|
155
|
-
e ? (this._cancelPendingOpen?.(), this._cancelPendingOpen = null, this._closeEmitted = !1,
|
|
155
|
+
e ? (this._cancelPendingOpen?.(), this._cancelPendingOpen = null, this._closeEmitted = !1, m(this, "unnamed", !this.accessibleLabel && !this._titleBar.text), this._focusReturn.remember(), e.showModal(), this.open = !0, this._applyPositionStyles(), this._manageFocus(), this.dispatchEvent(new CustomEvent("open", {
|
|
156
156
|
bubbles: !0,
|
|
157
157
|
composed: !0
|
|
158
|
-
}))) : (this._cancelPendingOpen?.(), this._cancelPendingOpen =
|
|
158
|
+
}))) : (this._cancelPendingOpen?.(), this._cancelPendingOpen = u(this, () => this._dialog, () => this.show()));
|
|
159
159
|
}
|
|
160
160
|
hide() {
|
|
161
161
|
this._cancelPendingOpen?.(), this._cancelPendingOpen = null;
|
|
@@ -163,15 +163,15 @@ var y = class extends n {
|
|
|
163
163
|
e && e.open && !this._closing && (this.open = !1, this._closing = !0, e.close(), this._closing = !1, this._emitClose());
|
|
164
164
|
}
|
|
165
165
|
_emitClose() {
|
|
166
|
-
this.open = !1,
|
|
166
|
+
this.open = !1, this._closeEmitted || (this._closeEmitted = !0, this.dispatchEvent(new CustomEvent("close", {
|
|
167
167
|
bubbles: !1,
|
|
168
168
|
composed: !0
|
|
169
169
|
})), this._focusReturn.restore(this));
|
|
170
170
|
}
|
|
171
171
|
_manageFocus() {
|
|
172
|
-
if (
|
|
172
|
+
if (l(this)) return;
|
|
173
173
|
let e = this._dialog;
|
|
174
|
-
e && (e.classList.toggle("is-pointer-focus",
|
|
174
|
+
e && (e.classList.toggle("is-pointer-focus", c()), e.focus());
|
|
175
175
|
}
|
|
176
176
|
_applyPositionStyles() {
|
|
177
177
|
let e = this._dialog;
|
|
@@ -189,39 +189,39 @@ var y = class extends n {
|
|
|
189
189
|
return v(this);
|
|
190
190
|
}
|
|
191
191
|
}, b = (y.styles = _, y);
|
|
192
|
-
|
|
192
|
+
n([i({
|
|
193
193
|
reflect: !0,
|
|
194
|
-
converter:
|
|
195
|
-
})], b.prototype, "scheme", void 0),
|
|
194
|
+
converter: g("inherit")
|
|
195
|
+
})], b.prototype, "scheme", void 0), n([i({
|
|
196
196
|
type: String,
|
|
197
197
|
reflect: !0
|
|
198
|
-
})], b.prototype, "width", void 0),
|
|
198
|
+
})], b.prototype, "width", void 0), n([i({
|
|
199
199
|
type: String,
|
|
200
200
|
reflect: !0
|
|
201
|
-
})], b.prototype, "height", void 0),
|
|
201
|
+
})], b.prototype, "height", void 0), n([i({
|
|
202
202
|
type: String,
|
|
203
203
|
reflect: !0
|
|
204
|
-
})], b.prototype, "top", void 0),
|
|
204
|
+
})], b.prototype, "top", void 0), n([i({
|
|
205
205
|
type: String,
|
|
206
206
|
reflect: !0
|
|
207
|
-
})], b.prototype, "right", void 0),
|
|
207
|
+
})], b.prototype, "right", void 0), n([i({
|
|
208
208
|
type: String,
|
|
209
209
|
reflect: !0
|
|
210
|
-
})], b.prototype, "bottom", void 0),
|
|
210
|
+
})], b.prototype, "bottom", void 0), n([i({
|
|
211
211
|
type: String,
|
|
212
212
|
reflect: !0
|
|
213
|
-
})], b.prototype, "left", void 0),
|
|
213
|
+
})], b.prototype, "left", void 0), n([i({
|
|
214
214
|
type: Boolean,
|
|
215
215
|
reflect: !0
|
|
216
|
-
})], b.prototype, "centered", void 0),
|
|
216
|
+
})], b.prototype, "centered", void 0), n([i({
|
|
217
217
|
type: String,
|
|
218
218
|
attribute: "accessible-label"
|
|
219
|
-
})], b.prototype, "accessibleLabel", void 0),
|
|
219
|
+
})], b.prototype, "accessibleLabel", void 0), n([i({ type: Object })], b.prototype, "translations", void 0), n([i({
|
|
220
220
|
type: Boolean,
|
|
221
221
|
reflect: !0,
|
|
222
222
|
attribute: "no-light-dismiss"
|
|
223
|
-
})], b.prototype, "noLightDismiss", void 0),
|
|
223
|
+
})], b.prototype, "noLightDismiss", void 0), n([i({
|
|
224
224
|
type: Boolean,
|
|
225
225
|
reflect: !0
|
|
226
|
-
})], b.prototype, "open", void 0), b =
|
|
226
|
+
})], b.prototype, "open", void 0), b = n([a("nldd-window")], b);
|
|
227
227
|
export { b as NLDDWindow };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { n as e } from "./custom-element-DsfOrnOD.js";
|
|
2
|
+
import { t } from "./translations-wxBSz213.js";
|
|
3
|
+
import { t as n } from "./decorate-CJCfz_g6.js";
|
|
4
|
+
// src/utilities/with-translations.ts
|
|
5
|
+
function r(r, i) {
|
|
6
|
+
class a extends r {
|
|
7
|
+
constructor(...e) {
|
|
8
|
+
super(...e), this.translations = {};
|
|
9
|
+
}
|
|
10
|
+
_t(e, n) {
|
|
11
|
+
return t(this.translations, i, e, n);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return n([e({ type: Object })], a.prototype, "translations", void 0), a;
|
|
15
|
+
}
|
|
16
|
+
export { r as t };
|
|
@@ -41,7 +41,7 @@ export function syncToolbarOverflow() {
|
|
|
41
41
|
if (toolbarItem && ownToolbar(toolbarItem))
|
|
42
42
|
mirror(control, toolbarItem);
|
|
43
43
|
});
|
|
44
|
-
document.addEventListener('
|
|
44
|
+
document.addEventListener('tab-change', (event) => {
|
|
45
45
|
const bar = event.target;
|
|
46
46
|
const toolbarItem = bar?.closest?.('nldd-toolbar-item');
|
|
47
47
|
if (!toolbarItem || !ownToolbar(toolbarItem))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.story-sync.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.story-sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,cAAc,GAAG,CAAC,WAAoB,EAAiB,EAAE,CAC9D,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAc,qFAAqF,CAAC,CAAC,CA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C1G,CAAC;aAAM,CAAC;YACP,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;QACD,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9B,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shows a quote with an optional source attribution.
|
|
5
5
|
*
|
|
6
|
+
* The quote is at most 30em wide, measured in its own letters, so a line holds
|
|
7
|
+
* about the same number of characters at every size, custom sizes included.
|
|
8
|
+
* Within that, it takes the width of its parent.
|
|
9
|
+
*
|
|
6
10
|
* @element nldd-blockquote
|
|
11
|
+
* @attr {string} size - Size of the quote: 'md' (default) or 'lg', for a quote that stands out on its own, such as on a landing page. Only the quote grows; the attribution and the border stay as they are
|
|
7
12
|
* @attr {string} cite - URL of the source (forwarded to the <blockquote> element)
|
|
8
|
-
* @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page.
|
|
13
|
+
* @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to `size`
|
|
9
14
|
* @attr {string} md-custom-size - The same, at md
|
|
10
15
|
* @attr {string} lg-custom-size - The same, at lg
|
|
11
16
|
*
|
|
@@ -14,8 +19,10 @@
|
|
|
14
19
|
* @slot attribution - Optional source attribution (author, title, and so on). An nldd-identity is allowed here; the em dash ("— ") is then left out.
|
|
15
20
|
*/
|
|
16
21
|
import { LitElement, type PropertyValues } from 'lit';
|
|
22
|
+
type BlockquoteSize = 'md' | 'lg';
|
|
17
23
|
export declare class NLDDBlockquote extends LitElement {
|
|
18
24
|
static styles: import("lit").CSSResult;
|
|
25
|
+
size: BlockquoteSize;
|
|
19
26
|
cite: string | undefined;
|
|
20
27
|
smCustomSize: string;
|
|
21
28
|
mdCustomSize: string;
|
|
@@ -35,4 +42,5 @@ declare global {
|
|
|
35
42
|
'nldd-blockquote': NLDDBlockquote;
|
|
36
43
|
}
|
|
37
44
|
}
|
|
45
|
+
export {};
|
|
38
46
|
//# sourceMappingURL=blockquote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAQtD,KAAK,cAAc,GAAG,IAAI,GAAG,IAAI,CAAC;AAgBlC,qBACa,cAAe,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAoB;IAG1C,IAAI,EAAE,cAAc,CAAQ;IAG5B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,eAAe,UAAS;IAGxB,uBAAuB,UAAS;IAEhC,gBAAgB;IAChB,4BAA4B,GAAI,GAAG,KAAK,KAAG,IAAI,CAY7C;IAEF,+EAA+E;IAC/E,OAAO,CAAC,YAAY,CAA2C;IAEtD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAMzC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAQtC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,cAAc,CAAC;KAClC;CACD"}
|
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shows a quote with an optional source attribution.
|
|
5
5
|
*
|
|
6
|
+
* The quote is at most 30em wide, measured in its own letters, so a line holds
|
|
7
|
+
* about the same number of characters at every size, custom sizes included.
|
|
8
|
+
* Within that, it takes the width of its parent.
|
|
9
|
+
*
|
|
6
10
|
* @element nldd-blockquote
|
|
11
|
+
* @attr {string} size - Size of the quote: 'md' (default) or 'lg', for a quote that stands out on its own, such as on a landing page. Only the quote grows; the attribution and the border stay as they are
|
|
7
12
|
* @attr {string} cite - URL of the source (forwarded to the <blockquote> element)
|
|
8
|
-
* @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page.
|
|
13
|
+
* @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. For a larger quote, try `size="lg"` first. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the size from `size` at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to `size`
|
|
9
14
|
* @attr {string} md-custom-size - The same, at md
|
|
10
15
|
* @attr {string} lg-custom-size - The same, at lg
|
|
11
16
|
*
|
|
@@ -26,15 +31,23 @@ import { applyCustomFontSizes, checkCustomFontSizeFloor } from '../../../utiliti
|
|
|
26
31
|
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
27
32
|
import { blockquoteStyles } from './blockquote.styles.js';
|
|
28
33
|
import { template } from './blockquote.template.js';
|
|
29
|
-
/** The
|
|
34
|
+
/** The font size of the quote per size and breakpoint: the floor of a custom size. */
|
|
30
35
|
const QUOTE_FONT_SIZE = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
md: {
|
|
37
|
+
sm: 'var(--primitives-font-size-200)',
|
|
38
|
+
md: 'var(--primitives-font-size-300)',
|
|
39
|
+
lg: 'var(--primitives-font-size-300)',
|
|
40
|
+
},
|
|
41
|
+
lg: {
|
|
42
|
+
sm: 'var(--primitives-font-size-300)',
|
|
43
|
+
md: 'var(--primitives-font-size-500)',
|
|
44
|
+
lg: 'var(--primitives-font-size-700)',
|
|
45
|
+
},
|
|
34
46
|
};
|
|
35
47
|
let NLDDBlockquote = class NLDDBlockquote extends LitElement {
|
|
36
48
|
constructor() {
|
|
37
49
|
super(...arguments);
|
|
50
|
+
this.size = 'md';
|
|
38
51
|
this.cite = undefined;
|
|
39
52
|
this.smCustomSize = '';
|
|
40
53
|
this.mdCustomSize = '';
|
|
@@ -69,8 +82,8 @@ let NLDDBlockquote = class NLDDBlockquote extends LitElement {
|
|
|
69
82
|
super.updated(changed);
|
|
70
83
|
if (!import.meta.env?.DEV)
|
|
71
84
|
return;
|
|
72
|
-
if (changed.has('smCustomSize') || changed.has('mdCustomSize') || changed.has('lgCustomSize')) {
|
|
73
|
-
checkCustomFontSizeFloor(this, this._customSizes, QUOTE_FONT_SIZE);
|
|
85
|
+
if (changed.has('size') || changed.has('smCustomSize') || changed.has('mdCustomSize') || changed.has('lgCustomSize')) {
|
|
86
|
+
checkCustomFontSizeFloor(this, this._customSizes, QUOTE_FONT_SIZE[this.size] ?? QUOTE_FONT_SIZE.md);
|
|
74
87
|
}
|
|
75
88
|
}
|
|
76
89
|
render() {
|
|
@@ -78,6 +91,9 @@ let NLDDBlockquote = class NLDDBlockquote extends LitElement {
|
|
|
78
91
|
}
|
|
79
92
|
};
|
|
80
93
|
NLDDBlockquote.styles = blockquoteStyles;
|
|
94
|
+
__decorate([
|
|
95
|
+
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
96
|
+
], NLDDBlockquote.prototype, "size", void 0);
|
|
81
97
|
__decorate([
|
|
82
98
|
property({ type: String })
|
|
83
99
|
], NLDDBlockquote.prototype, "cite", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAmB,MAAM,wCAAwC,CAAC;AACzH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIpD,sFAAsF;AACtF,MAAM,eAAe,GAAuD;IAC3E,EAAE,EAAE;QACH,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;KACrC;IACD,EAAE,EAAE;QACH,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;QACrC,EAAE,EAAE,iCAAiC;KACrC;CACD,CAAC;AAGK,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAIN,SAAI,GAAmB,IAAI,CAAC;QAG5B,SAAI,GAAuB,SAAS,CAAC;QAGrC,iBAAY,GAAG,EAAE,CAAC;QA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E,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;oDACjF;AAGlB;IADC,KAAK,EAAE;uDACgB;AAGxB;IADC,KAAK,EAAE;+DACwB;AAtBpB,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CA2D1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,yBAoK5B,CAAC"}
|