@nldd/design-system 0.29.3 → 0.30.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.
Files changed (412) hide show
  1. package/custom-elements.json +461 -208
  2. package/dist/assets/styles/shadow-resets.d.ts +22 -7
  3. package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
  4. package/dist/assets/styles/shadow-resets.js +30 -1
  5. package/dist/assets/styles/shadow-resets.js.map +1 -1
  6. package/dist/assets/styles/text-wrap.d.ts +20 -4
  7. package/dist/assets/styles/text-wrap.d.ts.map +1 -1
  8. package/dist/assets/styles/text-wrap.js +27 -5
  9. package/dist/assets/styles/text-wrap.js.map +1 -1
  10. package/dist/cdn/autoloader.js +139 -140
  11. package/dist/cdn/chunks/{accordion-qIt44RLF.js → accordion-DgR70Lf-.js} +4 -4
  12. package/dist/cdn/chunks/{accordion-item-Dc6eccrJ.js → accordion-item-BDevWF9t.js} +6 -5
  13. package/dist/cdn/chunks/{activity-indicator-D3Trvd26.js → activity-indicator-B-iqA8XF.js} +6 -9
  14. package/dist/cdn/chunks/{admonition-SGAs1_Zu.js → admonition-PKX7ePb3.js} +6 -5
  15. package/dist/cdn/chunks/{avatar-vY0iiAzq.js → avatar-Bm_cbn5X.js} +6 -6
  16. package/dist/cdn/chunks/{avatar-group-6fsYuye5.js → avatar-group-5XxwtbbC.js} +15 -15
  17. package/dist/cdn/chunks/{badge-D2QCPBU6.js → badge-CpxDQfHS.js} +31 -29
  18. package/dist/cdn/chunks/{banner-N1LY9uhq.js → banner-Ccc9LgDk.js} +8 -8
  19. package/dist/cdn/chunks/{bar-split-view-CthxhXh8.js → bar-split-view-0yxggCZe.js} +5 -5
  20. package/dist/cdn/chunks/{blockquote-C-oSxq4b.js → blockquote-CmbDjlPB.js} +32 -31
  21. package/dist/cdn/chunks/{box-B_NqS9H1.js → box-DQjgR2YI.js} +3 -3
  22. package/dist/cdn/chunks/{breadcrumbs-v-nEtdOp.js → breadcrumbs-C8yzb9pA.js} +6 -6
  23. package/dist/cdn/chunks/{button-DHLts-vo.js → button-D_KfPyHS.js} +113 -90
  24. package/dist/cdn/chunks/{button-bar-CPLhSKNo.js → button-bar-f-qcw_zA.js} +3 -3
  25. package/dist/cdn/chunks/{button-group-BIt4ERX1.js → button-group-Dq3q44jB.js} +2 -2
  26. package/dist/cdn/chunks/{card--GUIZiTn.js → card-CDT7nkKG.js} +4 -4
  27. package/dist/cdn/chunks/{cell-Ch6VVWYl.js → cell-B7ksoCyd.js} +6 -6
  28. package/dist/cdn/chunks/{checkbox-BNI1xGry.js → checkbox-CUReiYVg.js} +5 -5
  29. package/dist/cdn/chunks/{checkbox-field-BPtTyzq-.js → checkbox-field-CkQ8WLSq.js} +8 -8
  30. package/dist/cdn/chunks/{checkbox-group-DYElCUgt.js → checkbox-group-BpDzGuFk.js} +3 -3
  31. package/dist/cdn/chunks/{class-map-DwD-ilOn.js → class-map-BQWXee9F.js} +1 -1
  32. package/dist/cdn/chunks/{code-editor-DEJ-KbPY.js → code-editor-CwLcukqn.js} +15 -5
  33. package/dist/cdn/chunks/{code-viewer-CIiRvhkZ.js → code-viewer-CvSF5fyg.js} +37 -10
  34. package/dist/cdn/chunks/{codemirror-input-y7sZIE85.js → codemirror-input-CcaHTu9u.js} +5 -5
  35. package/dist/cdn/chunks/{collection-Cb7Ej5Ua.js → collection-DqqkdrVS.js} +8 -8
  36. package/dist/cdn/chunks/{combo-box-CDqddeN5.js → combo-box-BQ9jS1fP.js} +19 -10
  37. package/dist/cdn/chunks/{container-DZfSFaA9.js → container-BC5PiMvR.js} +83 -82
  38. package/dist/cdn/chunks/{custom-element-aLDsY95V.js → custom-element-DGdiDiuN.js} +1 -1
  39. package/dist/cdn/chunks/{date-field-C4xutZpO.js → date-field-Dmli_GlI.js} +12 -12
  40. package/dist/cdn/chunks/{date-picker-CtdRwpu7.js → date-picker-BCHBh6vd.js} +15 -17
  41. package/dist/cdn/chunks/{decorate-D28R7mwV.js → decorate-D2snH_th.js} +1 -1
  42. package/dist/cdn/chunks/described-by-mixin-Doan1yj6.js +106 -0
  43. package/dist/cdn/chunks/{description-cell-BYgUCAev.js → description-cell-QL0CUcxH.js} +7 -7
  44. package/dist/cdn/chunks/{dev-checks-C6cMs71h.js → dev-checks-BQsZ10CZ.js} +31 -11
  45. package/dist/cdn/chunks/{directive-helpers-B-J-xMIs.js → directive-helpers-BtIbEaBv.js} +1 -1
  46. package/dist/cdn/chunks/{dist-CHuLNwDW.js → dist-0sEOO4c9.js} +3 -3
  47. package/dist/cdn/chunks/{dist-Bo5l49Uq.js → dist-BX-aE56q.js} +1 -1
  48. package/dist/cdn/chunks/{dist-tBRozql6.js → dist-CJ-hLN4o.js} +2 -2
  49. package/dist/cdn/chunks/{dist-CSUsf3Jq.js → dist-CUCs0edm.js} +2 -2
  50. package/dist/cdn/chunks/{dist-BxjZtyyd.js → dist-CeovKDYB.js} +3 -3
  51. package/dist/cdn/chunks/{dist-Bnz9cU2A.js → dist-CoM5yDHD.js} +1 -1
  52. package/dist/cdn/chunks/{dist-Dr-gFR08.js → dist-DM49yEzE.js} +2 -2
  53. package/dist/cdn/chunks/{dist-DKy1SqZx.js → dist-DizTxYTi.js} +1 -1
  54. package/dist/cdn/chunks/{dist-CIFs0Nqx.js → dist-Dj0pXI2B.js} +1 -1
  55. package/dist/cdn/chunks/{dist-CON6NKtQ.js → dist-Dtn2rsM6.js} +1 -1
  56. package/dist/cdn/chunks/{dist-BpXie73W.js → dist-QheJD595.js} +1 -1
  57. package/dist/cdn/chunks/{divider-CTKk-YoH.js → divider-D8o0JPE2.js} +2 -2
  58. package/dist/cdn/chunks/{document-tab-bar-DY_eja8b.js → document-tab-bar-BX6UhFBl.js} +10 -13
  59. package/dist/cdn/chunks/{dropdown-CruRvMW9.js → dropdown-afozwXVW.js} +5 -5
  60. package/dist/cdn/chunks/{file-field-D9iNPYKY.js → file-field-BKhUYcHf.js} +108 -106
  61. package/dist/cdn/chunks/{form-sQRdMSb4.js → form-DnZIiX9b.js} +1 -1
  62. package/dist/cdn/chunks/{form-actions-BuKwcAbF.js → form-actions-Ddg9vIVq.js} +2 -2
  63. package/dist/cdn/chunks/{form-associated-mixin-C1rOeFAh.js → form-associated-mixin-BMQQpMlL.js} +2 -2
  64. package/dist/cdn/chunks/form-field-DDBYuAl_.js +405 -0
  65. package/dist/cdn/chunks/form-field.i18n-D-3yEP-C.js +6 -0
  66. package/dist/cdn/chunks/form-section-Co0TM35-.js +78 -0
  67. package/dist/cdn/chunks/{full-bleed-section-DM0pv5Xt.js → full-bleed-section-DD8ibmsa.js} +3 -3
  68. package/dist/cdn/chunks/{hero-C8zDTYdo.js → hero-BYrY2MZc.js} +7 -7
  69. package/dist/cdn/chunks/{icon-CgFQSvEf.js → icon-BzeHXcdi.js} +4 -2
  70. package/dist/cdn/chunks/{icon-button-ya52TYkO.js → icon-button-BErQf42w.js} +65 -62
  71. package/dist/cdn/chunks/{icon-cell-DbqWtIl9.js → icon-cell-DGIMXKxK.js} +5 -5
  72. package/dist/cdn/chunks/{identity-DPerpCOw.js → identity-Cq-WnU6u.js} +30 -27
  73. package/dist/cdn/chunks/{if-defined-D5G_Kkpm.js → if-defined-CuY6t6gH.js} +1 -1
  74. package/dist/cdn/chunks/{image-eyP-R4JG.js → image-BjjyqV0V.js} +23 -22
  75. package/dist/cdn/chunks/{inline-dialog-z7jzLiRx.js → inline-dialog-Bk2G7f5r.js} +24 -23
  76. package/dist/cdn/chunks/{just-in-time-education-2O-UcSq5.js → just-in-time-education-Dxh5DNCy.js} +5 -5
  77. package/dist/cdn/chunks/{kanban-Dz3KcfW2.js → kanban-BvmtB9D9.js} +7 -8
  78. package/dist/cdn/chunks/{kanban-column-DQeIGacj.js → kanban-column-CJ2g7pgA.js} +9 -11
  79. package/dist/cdn/chunks/{keyboard-shortcut-CUxShTHr.js → keyboard-shortcut-BV5DFQtT.js} +3 -3
  80. package/dist/cdn/chunks/{languages-D_vPs_jY.js → languages-DJjHEjGl.js} +12 -12
  81. package/dist/cdn/chunks/{link-emVjLq3i.js → link-BcukwT5Y.js} +6 -6
  82. package/dist/cdn/chunks/{link-group-Cygt2XBP.js → link-group-Ci1q3uEd.js} +2 -2
  83. package/dist/cdn/chunks/{list-TKhlBlV_.js → list-CFFHWUSC.js} +9 -9
  84. package/dist/cdn/chunks/{list-item-D2On2ug1.js → list-item-Bg1NyOXd.js} +12 -13
  85. package/dist/cdn/chunks/{list-item-segment-XERq2wPj.js → list-item-segment-DJ8pk08-.js} +4 -4
  86. package/dist/cdn/chunks/{menu-b2UFN5q8.js → menu-BEjqhn1-.js} +10 -10
  87. package/dist/cdn/chunks/{menu-bar-BJ6PjqmT.js → menu-bar-DkjXy-TE.js} +6 -6
  88. package/dist/cdn/chunks/{menu-bar-item-kRxuNXj5.js → menu-bar-item-3cJS29Ey.js} +6 -6
  89. package/dist/cdn/chunks/{menu-divider-Cpa6JbxR.js → menu-divider-CYmEimsb.js} +3 -3
  90. package/dist/cdn/chunks/{menu-group-DrwvnJ1C.js → menu-group-ggwAcgis.js} +4 -4
  91. package/dist/cdn/chunks/{menu-item-D7CoiS88.js → menu-item-BzH9H87h.js} +4 -4
  92. package/dist/cdn/chunks/{menu.template-BAqqSWm-.js → menu.template-PG82-P20.js} +6 -6
  93. package/dist/cdn/chunks/{modal-dialog-DOZuUmOi.js → modal-dialog-Bu7ETELf.js} +4 -4
  94. package/dist/cdn/chunks/{multi-line-text-field-CB-rGXUh.js → multi-line-text-field-CQTKNBN7.js} +6 -6
  95. package/dist/cdn/chunks/{navigation-split-view-Bc5AUAmC.js → navigation-split-view-elMoUjHh.js} +7 -13
  96. package/dist/cdn/chunks/{nl.generated-B194RR-y.js → nl.generated-Lu29XEF3.js} +1 -1
  97. package/dist/cdn/chunks/{notification-Cs-f2gLW.js → notification-DCjXGfbY.js} +7 -7
  98. package/dist/cdn/chunks/{number-field-DqQOrvOA.js → number-field-BUQUcG--.js} +8 -8
  99. package/dist/cdn/chunks/{one-half-one-half-section-BqiqGK-m.js → one-half-one-half-section-DiGkeUVr.js} +3 -3
  100. package/dist/cdn/chunks/{one-third-two-thirds-section-3LPjeo2n.js → one-third-two-thirds-section-q_AP4qIJ.js} +3 -3
  101. package/dist/cdn/chunks/{one-time-code-field-CZxm-CQt.js → one-time-code-field-BybS_l6h.js} +9 -10
  102. package/dist/cdn/chunks/{overflow-menu-DkyYNSg3.js → overflow-menu-Duey_XJs.js} +1 -1
  103. package/dist/cdn/chunks/{page-DYzfOL9K.js → page-BrIeWp1b.js} +46 -45
  104. package/dist/cdn/chunks/{page-footer-ChNrnN3t.js → page-footer-DPQg9Qbw.js} +5 -5
  105. package/dist/cdn/chunks/{page-section-mixin-7d4JVDUI.js → page-section-mixin-B8FbeXaK.js} +3 -3
  106. package/dist/cdn/chunks/{pagination-CYl78pZT.js → pagination-CfLJwflH.js} +37 -36
  107. package/dist/cdn/chunks/{password-field-Bg1lsru6.js → password-field-CmoopbNF.js} +36 -35
  108. package/dist/cdn/chunks/{popover-jP9P86r3.js → popover-CPAR4N_a.js} +5 -5
  109. package/dist/cdn/chunks/{progress-bar-C08-J2b3.js → progress-bar-vKGXvxfe.js} +10 -11
  110. package/dist/cdn/chunks/{progress-circle-_NDiM4Vw.js → progress-circle-dweisHzt.js} +8 -8
  111. package/dist/cdn/chunks/{radio-button-OdrY0lUT.js → radio-button-DE1K49_2.js} +4 -4
  112. package/dist/cdn/chunks/{radio-button-field-C8XD59fa.js → radio-button-field-DCrWiVoA.js} +7 -7
  113. package/dist/cdn/chunks/{radio-button-group-C7ntRQO7.js → radio-button-group-oLP_1cGy.js} +3 -3
  114. package/dist/cdn/chunks/{render-marked-Cdt8DyWh.js → render-marked-BE3kBc1D.js} +1 -1
  115. package/dist/cdn/chunks/{reorder-handle-cell-C6q1_RaE.js → reorder-handle-cell-COCN6knt.js} +4 -4
  116. package/dist/cdn/chunks/{reorder-handle-mixin-mJLOiHhZ.js → reorder-handle-mixin-CG-KhmuT.js} +2 -2
  117. package/dist/cdn/chunks/{repeat-DLQZAi6Q.js → repeat-D69H_dsv.js} +2 -2
  118. package/dist/cdn/chunks/{rich-text-CR5iRjCn.js → rich-text-jEyIU58i.js} +3 -3
  119. package/dist/cdn/chunks/{row-header-mixin-BUn7AC4_.js → row-header-mixin-BejxhOCs.js} +2 -2
  120. package/dist/cdn/chunks/{scroll-fade-B7Gy3Bmm.js → scroll-fade-Cae9xqXr.js} +2 -2
  121. package/dist/cdn/chunks/{search-field-B62sYRtl.js → search-field-B8woxFh-.js} +40 -37
  122. package/dist/cdn/chunks/{segmented-control-VU38x7xX.js → segmented-control-DbOi6Wk6.js} +7 -7
  123. package/dist/cdn/chunks/{shadow-resets-uUyDr3ia.js → shadow-resets-CNmJbdJw.js} +26 -11
  124. package/dist/cdn/chunks/{sheet-jMZkPdlu.js → sheet-bK663_K4.js} +3 -3
  125. package/dist/cdn/chunks/{shell-2Wa4Waez.js → shell-DLu1fHOH.js} +3 -3
  126. package/dist/cdn/chunks/{side-by-side-split-view-v6riuRqk.js → side-by-side-split-view-vNhUmTiE.js} +4 -4
  127. package/dist/cdn/chunks/{sidebar-section-D3Zy_9y1.js → sidebar-section-CoE5F_h5.js} +8 -8
  128. package/dist/cdn/chunks/{simple-section-kCKeHqmt.js → simple-section-1v7a_ZgI.js} +3 -3
  129. package/dist/cdn/chunks/{skip-link-BeoObN4D.js → skip-link-C6B6mMkA.js} +5 -5
  130. package/dist/cdn/chunks/{slider-BSALXKxX.js → slider-BT-q6SP2.js} +12 -16
  131. package/dist/cdn/chunks/{spacer-CXXmb3su.js → spacer-DlFn3NtV.js} +2 -2
  132. package/dist/cdn/chunks/{spacer-cell-BV9uv10a.js → spacer-cell-Dy_twSDQ.js} +4 -4
  133. package/dist/cdn/chunks/{split-button-DE4NaJZs.js → split-button-URHM5eTx.js} +7 -7
  134. package/dist/cdn/chunks/{split-view-divider-BqLSYIwg.js → split-view-divider-DeLyeDBx.js} +2 -2
  135. package/dist/cdn/chunks/{stacked-split-view-CPCCQhHV.js → stacked-split-view-D0kiQJmL.js} +4 -4
  136. package/dist/cdn/chunks/{static-html-DtH5-I4g.js → static-html-CAKb1-Ht.js} +1 -1
  137. package/dist/cdn/chunks/{status-bar-CBi4aCqy.js → status-bar-Bov-LrPy.js} +4 -4
  138. package/dist/cdn/chunks/{step-bar-BFzioHLn.js → step-bar-BLtsl_S_.js} +6 -6
  139. package/dist/cdn/chunks/{step-cell-fNIdX1cI.js → step-cell-cxM7vhtH.js} +5 -5
  140. package/dist/cdn/chunks/{stepper-CgmgV0qw.js → stepper-DeIcLT7G.js} +7 -7
  141. package/dist/cdn/chunks/{style-map-DhI1E0EI.js → style-map-CQX4CmTz.js} +1 -1
  142. package/dist/cdn/chunks/{swatch-picker-BYb0cq8H.js → swatch-picker-A7AU6Agu.js} +6 -6
  143. package/dist/cdn/chunks/{switch-fRxqZBKc.js → switch-D0UPsKws.js} +5 -5
  144. package/dist/cdn/chunks/{switch-field-BH6xhWUz.js → switch-field-D63lc5C0.js} +7 -7
  145. package/dist/cdn/chunks/{tab-bar-B66obS2x.js → tab-bar-CzGSRfKd.js} +8 -8
  146. package/dist/cdn/chunks/{table-s8GDKuuW.js → table-DfunY2Dn.js} +5 -5
  147. package/dist/cdn/chunks/{tag-TE8mlX1U.js → tag-DSWjjDBo.js} +5 -5
  148. package/dist/cdn/chunks/{term-Cm9BrUtJ.js → term-Bk9cdlCz.js} +12 -12
  149. package/dist/cdn/chunks/{text-DEk52Hq2.js → text-CDBiVulh.js} +4 -4
  150. package/dist/cdn/chunks/{text-cell-DxzojZsc.js → text-cell-DUOJAXZo.js} +40 -37
  151. package/dist/cdn/chunks/{text-editor-C_8jEhF2.js → text-editor-BIbYF0AB.js} +22 -12
  152. package/dist/cdn/chunks/{text-field-BgPlCLFl.js → text-field-CAnQNcXB.js} +6 -6
  153. package/dist/cdn/chunks/{text-wrap-DjzB16-4.js → text-wrap-COu7AY91.js} +13 -5
  154. package/dist/cdn/chunks/{time-field-Sde0_8NH.js → time-field-xriXgFMl.js} +14 -14
  155. package/dist/cdn/chunks/{time-picker-CZbLW9ap.js → time-picker-D3_KbYUW.js} +6 -6
  156. package/dist/cdn/chunks/{title-v-FXk0hs.js → title-HPn4c-s5.js} +5 -5
  157. package/dist/cdn/chunks/{title-cell-Bv9b6G_p.js → title-cell-BXMZkbXf.js} +51 -48
  158. package/dist/cdn/chunks/{toggle-button-DWlS9Rbg.js → toggle-button-DY22KEwY.js} +72 -56
  159. package/dist/cdn/chunks/{toggle-button-group-CetB0Cio.js → toggle-button-group-DsjZofEG.js} +2 -2
  160. package/dist/cdn/chunks/{token-BXJXjQwc.js → token-DwT2i71b.js} +5 -5
  161. package/dist/cdn/chunks/{token-field-CsxYfu8b.js → token-field-CQxSARGi.js} +11 -11
  162. package/dist/cdn/chunks/{toolbar-CUWVCKM6.js → toolbar-CaDvhCqm.js} +69 -68
  163. package/dist/cdn/chunks/{toolbar-item-BxzbSJdv.js → toolbar-item-BDl4ys-w.js} +3 -3
  164. package/dist/cdn/chunks/{toolbar-title-C4qJ_fkM.js → toolbar-title-yGR8Hzhp.js} +4 -4
  165. package/dist/cdn/chunks/{toolbar.styles-D9FuZFnd.js → toolbar.styles-DlyfZkRq.js} +3 -3
  166. package/dist/cdn/chunks/{tooltip-D5XT5lRe.js → tooltip-BDiYghAz.js} +5 -5
  167. package/dist/cdn/chunks/{top-navigation-bar-C3azLUd1.js → top-navigation-bar-ibsjezN_.js} +18 -18
  168. package/dist/cdn/chunks/{top-title-bar-D1m-dREA.js → top-title-bar-BKdwEZfj.js} +6 -6
  169. package/dist/cdn/chunks/{two-thirds-one-third-section-D3VEGv6P.js → two-thirds-one-third-section-DmumCsGo.js} +3 -3
  170. package/dist/cdn/chunks/{validation-list-D7tDyaoK.js → validation-list-CXcJfvOJ.js} +61 -49
  171. package/dist/cdn/chunks/{visibility-mixin-D2VzUDfE.js → visibility-mixin-C7s59UlL.js} +2 -2
  172. package/dist/cdn/chunks/{visually-hidden-CSYlyubF.js → visually-hidden-CMzKHcSc.js} +2 -2
  173. package/dist/cdn/chunks/{window-6IQfu4dU.js → window-CSNx5wt1.js} +4 -4
  174. package/dist/cdn/chunks/{with-translations-Dr6Z41n9.js → with-translations-0oyNXfdD.js} +3 -3
  175. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  176. package/dist/components/actions/button/button.styles.js +26 -7
  177. package/dist/components/actions/button/button.styles.js.map +1 -1
  178. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  179. package/dist/components/actions/button/button.template.js +7 -5
  180. package/dist/components/actions/button/button.template.js.map +1 -1
  181. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  182. package/dist/components/actions/icon-button/icon-button.styles.js +4 -2
  183. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  184. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  185. package/dist/components/actions/icon-button/icon-button.template.js +4 -2
  186. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  187. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  188. package/dist/components/actions/toolbar/toolbar.template.js +2 -1
  189. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  190. package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
  191. package/dist/components/content/accordion/accordion-item.styles.js +1 -0
  192. package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
  193. package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
  194. package/dist/components/content/admonition/admonition.styles.js +1 -0
  195. package/dist/components/content/admonition/admonition.styles.js.map +1 -1
  196. package/dist/components/content/blockquote/blockquote.template.d.ts.map +1 -1
  197. package/dist/components/content/blockquote/blockquote.template.js +2 -1
  198. package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
  199. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  200. package/dist/components/content/code-viewer/code-viewer.styles.js +30 -3
  201. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  202. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  203. package/dist/components/content/icon/icon-aliases.js +4 -0
  204. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  205. package/dist/components/content/identity/identity.d.ts +8 -5
  206. package/dist/components/content/identity/identity.d.ts.map +1 -1
  207. package/dist/components/content/identity/identity.js +8 -5
  208. package/dist/components/content/identity/identity.js.map +1 -1
  209. package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
  210. package/dist/components/content/identity/identity.styles.js +4 -1
  211. package/dist/components/content/identity/identity.styles.js.map +1 -1
  212. package/dist/components/content/image/image.template.d.ts.map +1 -1
  213. package/dist/components/content/image/image.template.js +9 -8
  214. package/dist/components/content/image/image.template.js.map +1 -1
  215. package/dist/components/content/rich-text/rich-text.d.ts +4 -2
  216. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  217. package/dist/components/content/rich-text/rich-text.js +4 -2
  218. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  219. package/dist/components/content/text/text.d.ts +2 -0
  220. package/dist/components/content/text/text.d.ts.map +1 -1
  221. package/dist/components/content/text/text.js +2 -0
  222. package/dist/components/content/text/text.js.map +1 -1
  223. package/dist/components/forms/form-field/form-field.d.ts +138 -73
  224. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  225. package/dist/components/forms/form-field/form-field.i18n.d.ts +1 -0
  226. package/dist/components/forms/form-field/form-field.i18n.d.ts.map +1 -1
  227. package/dist/components/forms/form-field/form-field.i18n.js +2 -0
  228. package/dist/components/forms/form-field/form-field.i18n.js.map +1 -1
  229. package/dist/components/forms/form-field/form-field.js +317 -149
  230. package/dist/components/forms/form-field/form-field.js.map +1 -1
  231. package/dist/components/forms/form-field/form-field.styles.d.ts +0 -1
  232. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  233. package/dist/components/forms/form-field/form-field.styles.js +18 -97
  234. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  235. package/dist/components/forms/form-field/form-field.template.d.ts +0 -2
  236. package/dist/components/forms/form-field/form-field.template.d.ts.map +1 -1
  237. package/dist/components/forms/form-field/form-field.template.js +22 -15
  238. package/dist/components/forms/form-field/form-field.template.js.map +1 -1
  239. package/dist/components/forms/form-section/form-section.d.ts +40 -16
  240. package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
  241. package/dist/components/forms/form-section/form-section.js +47 -183
  242. package/dist/components/forms/form-section/form-section.js.map +1 -1
  243. package/dist/components/forms/form-section/form-section.styles.d.ts +2 -0
  244. package/dist/components/forms/form-section/form-section.styles.d.ts.map +1 -0
  245. package/dist/components/forms/form-section/form-section.styles.js +44 -0
  246. package/dist/components/forms/form-section/form-section.styles.js.map +1 -0
  247. package/dist/components/forms/form-section/form-section.template.d.ts +4 -0
  248. package/dist/components/forms/form-section/form-section.template.d.ts.map +1 -0
  249. package/dist/components/forms/form-section/form-section.template.js +19 -0
  250. package/dist/components/forms/form-section/form-section.template.js.map +1 -0
  251. package/dist/components/forms/validation-list/validation-list.d.ts +36 -6
  252. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  253. package/dist/components/forms/validation-list/validation-list.js +75 -15
  254. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  255. package/dist/components/forms/validation-list/validation-list.template.d.ts +1 -1
  256. package/dist/components/forms/validation-list/validation-list.template.d.ts.map +1 -1
  257. package/dist/components/forms/validation-list/validation-list.template.js +2 -2
  258. package/dist/components/forms/validation-list/validation-list.template.js.map +1 -1
  259. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
  260. package/dist/components/inputs/code-editor/code-editor.styles.js +10 -0
  261. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  262. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  263. package/dist/components/inputs/combo-box/combo-box.styles.js +10 -1
  264. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  265. package/dist/components/inputs/date-picker/date-picker.template.d.ts.map +1 -1
  266. package/dist/components/inputs/date-picker/date-picker.template.js +4 -6
  267. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  268. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  269. package/dist/components/inputs/file-field/file-field.styles.js +3 -2
  270. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  271. package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
  272. package/dist/components/inputs/file-field/file-field.template.js +8 -8
  273. package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
  274. package/dist/components/inputs/file-field/file-field.truncate.d.ts +4 -3
  275. package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -1
  276. package/dist/components/inputs/file-field/file-field.truncate.js +8 -5
  277. package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -1
  278. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +1 -1
  279. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
  280. package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
  281. package/dist/components/inputs/password-field/password-field.template.js +2 -1
  282. package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
  283. package/dist/components/inputs/search-field/search-field.d.ts +3 -0
  284. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  285. package/dist/components/inputs/search-field/search-field.js +7 -6
  286. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  287. package/dist/components/inputs/slider/slider.template.js +2 -2
  288. package/dist/components/inputs/slider/slider.template.js.map +1 -1
  289. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  290. package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -1
  291. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  292. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  293. package/dist/components/inputs/text-editor/text-editor.styles.js +10 -0
  294. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  295. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  296. package/dist/components/inputs/toggle-button/toggle-button.styles.js +18 -3
  297. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  298. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  299. package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -3
  300. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  301. package/dist/components/layout/container/container.template.d.ts.map +1 -1
  302. package/dist/components/layout/container/container.template.js +2 -1
  303. package/dist/components/layout/container/container.template.js.map +1 -1
  304. package/dist/components/layout/kanban/kanban-column.template.d.ts.map +1 -1
  305. package/dist/components/layout/kanban/kanban-column.template.js +5 -7
  306. package/dist/components/layout/kanban/kanban-column.template.js.map +1 -1
  307. package/dist/components/layout/kanban/kanban.template.d.ts.map +1 -1
  308. package/dist/components/layout/kanban/kanban.template.js +2 -3
  309. package/dist/components/layout/kanban/kanban.template.js.map +1 -1
  310. package/dist/components/layout/page/page.template.d.ts.map +1 -1
  311. package/dist/components/layout/page/page.template.js +3 -2
  312. package/dist/components/layout/page/page.template.js.map +1 -1
  313. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -0
  314. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  315. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +11 -0
  316. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  317. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +2 -2
  318. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
  319. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +3 -2
  320. package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
  321. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +3 -2
  322. package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
  323. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +1 -0
  324. package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
  325. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +1 -0
  326. package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
  327. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +13 -13
  328. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +13 -13
  329. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  330. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +4 -1
  331. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  332. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +8 -4
  333. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  334. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +8 -4
  335. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  336. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  337. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +4 -1
  338. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  339. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  340. package/dist/components/lists-and-tables/list-item/list-item.template.js +7 -8
  341. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  342. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
  343. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  344. package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
  345. package/dist/components/navigation/pagination/pagination.template.js +3 -2
  346. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  347. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
  348. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +2 -3
  349. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
  350. package/dist/components/status-and-feedback/badge/badge.template.d.ts.map +1 -1
  351. package/dist/components/status-and-feedback/badge/badge.template.js +3 -7
  352. package/dist/components/status-and-feedback/badge/badge.template.js.map +1 -1
  353. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
  354. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +3 -4
  355. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
  356. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
  357. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +2 -3
  358. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
  359. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +1 -1
  360. package/dist/components/status-and-feedback/step-bar/step-bar.js +1 -1
  361. package/dist/css/form.css +14 -0
  362. package/dist/css/global-open-font.css +0 -1
  363. package/dist/css/global.css +0 -1
  364. package/dist/css/rich-text.css +16 -4
  365. package/dist/css/text.css +3 -1
  366. package/dist/css/title.css +3 -1
  367. package/dist/css/variables.css +5 -0
  368. package/dist/nldd.min.js +1905 -1798
  369. package/dist/translations/en-US.d.ts.map +1 -1
  370. package/dist/translations/en-US.js +1 -0
  371. package/dist/translations/en-US.js.map +1 -1
  372. package/dist/translations/fy.d.ts.map +1 -1
  373. package/dist/translations/fy.js +1 -0
  374. package/dist/translations/fy.js.map +1 -1
  375. package/dist/translations/nl.generated.d.ts +1 -0
  376. package/dist/translations/nl.generated.d.ts.map +1 -1
  377. package/dist/translations/pap-AW.d.ts.map +1 -1
  378. package/dist/translations/pap-AW.js +1 -0
  379. package/dist/translations/pap-AW.js.map +1 -1
  380. package/dist/translations/pap-CW.d.ts.map +1 -1
  381. package/dist/translations/pap-CW.js +1 -0
  382. package/dist/translations/pap-CW.js.map +1 -1
  383. package/dist/types/react.d.ts +18 -23
  384. package/dist/types/vue.d.ts +77 -82
  385. package/dist/utilities/autoloader.generated.d.ts.map +1 -1
  386. package/dist/utilities/autoloader.generated.js +0 -1
  387. package/dist/utilities/autoloader.generated.js.map +1 -1
  388. package/dist/utilities/described-by-mixin.d.ts +36 -1
  389. package/dist/utilities/described-by-mixin.d.ts.map +1 -1
  390. package/dist/utilities/described-by-mixin.js +132 -8
  391. package/dist/utilities/described-by-mixin.js.map +1 -1
  392. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  393. package/dist/utilities/dev-rules.generated.js +32 -13
  394. package/dist/utilities/dev-rules.generated.js.map +1 -1
  395. package/dist/utilities/file-name-breaks.d.ts +13 -0
  396. package/dist/utilities/file-name-breaks.d.ts.map +1 -0
  397. package/dist/utilities/file-name-breaks.js +27 -0
  398. package/dist/utilities/file-name-breaks.js.map +1 -0
  399. package/dist/utilities/same-items.d.ts +10 -0
  400. package/dist/utilities/same-items.d.ts.map +1 -0
  401. package/dist/utilities/same-items.js +14 -0
  402. package/dist/utilities/same-items.js.map +1 -0
  403. package/lint/data.generated.json +1 -1
  404. package/lint/fix.js +49 -6
  405. package/lint/rule-compiler.js +7 -3
  406. package/lint/rule.schema.json +12 -0
  407. package/package.json +2 -1
  408. package/dist/cdn/chunks/described-by-mixin-k3KNxaZ2.js +0 -62
  409. package/dist/cdn/chunks/form-field-BF-6cws6.js +0 -434
  410. package/dist/cdn/chunks/form-field.i18n-B-UZduXL.js +0 -3
  411. package/dist/cdn/chunks/form-section-Cp9xiFew.js +0 -64
  412. package/dist/css/form-section.css +0 -104
@@ -1,24 +1,24 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-D28R7mwV.js";
2
- import { n as i, r as a, s as o } from "./custom-element-aLDsY95V.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-D2snH_th.js";
2
+ import { n as i, r as a, s as o } from "./custom-element-DGdiDiuN.js";
3
3
  import { t as s } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as c } from "./query-ChDzi9FQ.js";
5
- import { t as l } from "./form-associated-mixin-C1rOeFAh.js";
5
+ import { t as l } from "./form-associated-mixin-BMQQpMlL.js";
6
6
  import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
7
- import { o as d, t as f } from "./shadow-resets-uUyDr3ia.js";
8
- import { i as p, o as m } from "./text-wrap-DjzB16-4.js";
9
- import { t as h } from "./class-map-DwD-ilOn.js";
10
- import "./button-DHLts-vo.js";
11
- import "./icon-button-ya52TYkO.js";
12
- import "./icon-CgFQSvEf.js";
13
- import "./tooltip-D5XT5lRe.js";
14
- import "./menu-b2UFN5q8.js";
15
- import "./activity-indicator-D3Trvd26.js";
7
+ import { s as d, t as f } from "./shadow-resets-CNmJbdJw.js";
8
+ import { a as p, o as m } from "./text-wrap-COu7AY91.js";
9
+ import { t as h } from "./class-map-BQWXee9F.js";
10
+ import "./button-D_KfPyHS.js";
11
+ import "./icon-button-BErQf42w.js";
12
+ import "./icon-BzeHXcdi.js";
13
+ import "./tooltip-BDiYghAz.js";
14
+ import "./menu-BEjqhn1-.js";
15
+ import "./activity-indicator-B-iqA8XF.js";
16
16
  import { t as g } from "./file-field.i18n-pDM7Utud.js";
17
- import { t as ee } from "./described-by-mixin-k3KNxaZ2.js";
18
- import { t as te } from "./with-translations-Dr6Z41n9.js";
19
- import { t as _ } from "./defer-focus-F73ud2D9.js";
17
+ import { t as ee } from "./described-by-mixin-Doan1yj6.js";
18
+ import { t as te } from "./with-translations-0oyNXfdD.js";
19
+ import { t as ne } from "./defer-focus-F73ud2D9.js";
20
20
  // src/components/inputs/file-field/file-field.styles.ts
21
- var v = o`
21
+ var _ = o`
22
22
  :host {
23
23
  box-sizing: border-box;
24
24
  }
@@ -152,6 +152,7 @@ var v = o`
152
152
 
153
153
  .file-field.is-refused {
154
154
  cursor: default;
155
+ -webkit-user-select: none;
155
156
  user-select: none;
156
157
  }
157
158
 
@@ -627,47 +628,58 @@ var v = o`
627
628
  border-style: dashed;
628
629
  }
629
630
  }
630
- `, ne = "…";
631
+ `, v = /(?<=[^._/])(?=\.)|(?<=[_/])(?=[^._/])/;
631
632
  function y(e) {
633
+ return e.split(v);
634
+ }
635
+ function b(e) {
636
+ return t`${y(e).map((e, n) => n ? t`<wbr>${e}` : e)}`;
637
+ }
638
+ function re(e, t) {
639
+ e.replaceChildren(...y(t).flatMap((e, t) => t ? [document.createElement("wbr"), e] : [e]));
640
+ }
641
+ // src/components/inputs/file-field/file-field.truncate.ts
642
+ var ie = "…";
643
+ function x(e) {
632
644
  let t = e.lastIndexOf(".");
633
645
  return t > 0 ? [e.slice(0, t), e.slice(t)] : [e, ""];
634
646
  }
635
- var re = 8;
636
- function ie(e) {
637
- let [t, n] = y(e), r = Math.max(0, t.length - re);
647
+ var ae = 8;
648
+ function oe(e) {
649
+ let [t, n] = x(e), r = Math.max(0, t.length - ae);
638
650
  return [t.slice(0, r), t.slice(r) + n];
639
651
  }
640
- function b(e, t, n) {
641
- return `${e.slice(0, Math.ceil(n / 2)).trimEnd()}${ne}${e.slice(e.length - Math.floor(n / 2)).trimStart()}${t}`;
652
+ function S(e, t, n) {
653
+ return `${e.slice(0, Math.ceil(n / 2)).trimEnd()}${ie}${e.slice(e.length - Math.floor(n / 2)).trimStart()}${t}`;
642
654
  }
643
- function ae(e, t, n) {
644
- return x(e, (e) => n(e) <= t);
655
+ function C(e, t, n) {
656
+ return w(e, (e) => n(e) <= t);
645
657
  }
646
- function x(e, t, { keepExtension: n = !0 } = {}) {
658
+ function w(e, t, { keepExtension: n = !0 } = {}) {
647
659
  if (t(e)) return {
648
660
  text: e,
649
661
  truncated: !1
650
662
  };
651
- let [r, i] = n ? y(e) : [e, ""], a = 0, o = r.length - 1;
663
+ let [r, i] = n ? x(e) : [e, ""], a = 0, o = r.length - 1;
652
664
  for (; a < o;) {
653
665
  let e = Math.ceil((a + o) / 2);
654
- t(b(r, i, e)) ? a = e : o = e - 1;
666
+ t(S(r, i, e)) ? a = e : o = e - 1;
655
667
  }
656
668
  return {
657
- text: b(r, i, a),
669
+ text: S(r, i, a),
658
670
  truncated: !0
659
671
  };
660
672
  }
661
- function S(e, t, n) {
673
+ function se(e, t, n) {
662
674
  let r = document.createElement("span");
663
- r.style.cssText = `position: absolute; visibility: hidden; display: block; width: ${t}px; white-space: normal; overflow-wrap: anywhere;`, e.append(r);
675
+ r.style.cssText = `position: absolute; visibility: hidden; display: block; width: ${t}px; white-space: normal; ${p.cssText}`, e.append(r);
664
676
  let i = parseFloat(getComputedStyle(r).lineHeight);
665
677
  return {
666
- fits: (e) => (r.textContent = e, r.getBoundingClientRect().height <= n * i + .5),
678
+ fits: (e) => (re(r, e), r.getBoundingClientRect().height <= n * i + .5),
667
679
  done: () => r.remove()
668
680
  };
669
681
  }
670
- function C(e) {
682
+ function ce(e) {
671
683
  let t = document.createElement("span");
672
684
  return t.style.cssText = "position: absolute; visibility: hidden; white-space: pre;", e.append(t), {
673
685
  measure: (e) => (t.textContent = e, t.getBoundingClientRect().width),
@@ -675,7 +687,7 @@ function C(e) {
675
687
  };
676
688
  }
677
689
  // src/components/inputs/file-field/file-field.template.ts
678
- var w = {
690
+ var le = {
679
691
  pdf: "file-pdf",
680
692
  png: "file-png",
681
693
  jpg: "file-jpg",
@@ -696,11 +708,11 @@ var w = {
696
708
  odg: "file-odg",
697
709
  odf: "file-odf"
698
710
  };
699
- function T(e) {
711
+ function ue(e) {
700
712
  let t = e.files;
701
- return e._folderName() ? "folder" : t.length > 1 ? "file-on-file" : w[y(t[0].name)[1].slice(1).toLowerCase()] ?? "file";
713
+ return e._folderName() ? "folder" : t.length > 1 ? "file-on-file" : le[x(t[0].name)[1].slice(1).toLowerCase()] ?? "file";
702
714
  }
703
- function E(e) {
715
+ function T(e) {
704
716
  return !e.invalid && !e.valid ? n : t`
705
717
  <div class="file-field__validation-icon-area">
706
718
  <nldd-icon class="file-field__validation-icon"
@@ -710,7 +722,7 @@ function E(e) {
710
722
  </div>
711
723
  `;
712
724
  }
713
- function D(e, n) {
725
+ function E(e, n) {
714
726
  return t`
715
727
  <span class="file-field__${e}">${n.map((e) => t`
716
728
  <span class=${h({
@@ -720,7 +732,7 @@ function D(e, n) {
720
732
  `)}</span>
721
733
  `;
722
734
  }
723
- function O(e, t, n) {
735
+ function D(e, t, n) {
724
736
  let r = e._dragRejection ?? e._rejection, i = !r && e._drag !== "none";
725
737
  return [
726
738
  {
@@ -733,10 +745,10 @@ function O(e, t, n) {
733
745
  kind: "drop",
734
746
  active: i && e._drag === "over"
735
747
  },
736
- ...oe(e, r)
748
+ ...de(e, r)
737
749
  ];
738
750
  }
739
- function k(e) {
751
+ function O(e) {
740
752
  if (e.variant === "area") return [];
741
753
  let n = (t) => e._t(`components.file-field.${t}`), r = (e, r) => t`<span class="file-field__choose-text">${n(e)}</span> <span class="file-field__drop-hint-text">${n(r)}</span>`;
742
754
  return [
@@ -767,7 +779,7 @@ function k(e) {
767
779
  active: !1
768
780
  }));
769
781
  }
770
- function oe(e, t) {
782
+ function de(e, t) {
771
783
  return (e._multiple ? [
772
784
  "type",
773
785
  "empty-folder",
@@ -782,7 +794,7 @@ function oe(e, t) {
782
794
  active: t === n
783
795
  }));
784
796
  }
785
- function A(e) {
797
+ function k(e) {
786
798
  let n = e.variant === "area", r = e.size === "sm";
787
799
  return t`<nldd-activity-indicator class="file-field__reading-indicator"
788
800
  timing="instant"
@@ -790,7 +802,7 @@ function A(e) {
790
802
  ?show-text=${n}
791
803
  ></nldd-activity-indicator>`;
792
804
  }
793
- function j(e) {
805
+ function A(e) {
794
806
  return t`
795
807
  <nldd-menu-item
796
808
  icon="files"
@@ -804,7 +816,7 @@ function j(e) {
804
816
  ></nldd-menu-item>
805
817
  `;
806
818
  }
807
- function M(e, r) {
819
+ function j(e, r) {
808
820
  return t`
809
821
  <nldd-button class="file-field__change-button"
810
822
  appearance="neutral-tinted"
@@ -819,7 +831,7 @@ function M(e, r) {
819
831
  ></nldd-button>
820
832
  `;
821
833
  }
822
- function se(e) {
834
+ function fe(e) {
823
835
  let n = (t) => [t, e.accessibleLabel].filter(Boolean).join(", "), r = e._t("components.file-field.to-choose-files-action"), i = e._t("components.file-field.to-choose-folder-action");
824
836
  return t`
825
837
  <div class="file-field__choose-button-group">
@@ -844,8 +856,8 @@ function se(e) {
844
856
  </div>
845
857
  `;
846
858
  }
847
- function ce(e) {
848
- let r = O(e, e._multiple ? e._t("components.file-field.drag-here-multiple-text") : e._t("components.file-field.drag-here-text"), e._multiple ? e._t("components.file-field.drop-here-multiple-text") : e._t("components.file-field.drop-here-text")), i = e.variant === "area", a = i && e.directory, o = t`<span class="file-field__drop-hint-text">${e._multiple ? e._t("components.file-field.drop-hint-multiple-lowercase-text") : e._t("components.file-field.drop-hint-lowercase-text")}</span>`, s = a ? o : t`<span class="file-field__choose-text">${e._chooseLabel()}</span> ${o}`, c = i && e._refused, l = i && !c ? e._acceptTypes() : null, u = r.some((e) => e.active), d = e._reading && !u, f = D("text", [
859
+ function pe(e) {
860
+ let r = D(e, e._multiple ? e._t("components.file-field.drag-here-multiple-text") : e._t("components.file-field.drag-here-text"), e._multiple ? e._t("components.file-field.drop-here-multiple-text") : e._t("components.file-field.drop-here-text")), i = e.variant === "area", a = i && e.directory, o = t`<span class="file-field__drop-hint-text">${e._multiple ? e._t("components.file-field.drop-hint-multiple-lowercase-text") : e._t("components.file-field.drop-hint-lowercase-text")}</span>`, s = a ? o : t`<span class="file-field__choose-text">${e._chooseLabel()}</span> ${o}`, c = i && e._refused, l = i && !c ? e._acceptTypes() : null, u = r.some((e) => e.active), d = e._reading && !u, f = E("text", [
849
861
  {
850
862
  content: s,
851
863
  kind: "idle",
@@ -853,12 +865,12 @@ function ce(e) {
853
865
  },
854
866
  ...r,
855
867
  ...i ? [] : [{
856
- content: d ? A(e) : "",
868
+ content: d ? k(e) : "",
857
869
  kind: "reading",
858
870
  active: d
859
871
  }],
860
- ...k(e)
861
- ]), p = t`<nldd-icon class="file-field__upload-icon" icon="upload-to-cloud" aria-hidden="true"></nldd-icon>`, m = a && !c ? se(e) : n, h = l ? t`<span class="file-field__accepted-types">${e._t("components.file-field.accepted-types-text", { types: l })}</span>` : n, g = i && d ? t`${A(e)}${E(e)}` : t`${p}${m}${f}${h}${E(e)}`;
872
+ ...O(e)
873
+ ]), p = t`<nldd-icon class="file-field__upload-icon" icon="upload-to-cloud" aria-hidden="true"></nldd-icon>`, m = a && !c ? fe(e) : n, h = l ? t`<span class="file-field__accepted-types">${e._t("components.file-field.accepted-types-text", { types: l })}</span>` : n, g = i && d ? t`${k(e)}${T(e)}` : t`${p}${m}${f}${h}${T(e)}`;
862
874
  return a ? t`<div class="file-field__drop-area" ?inert=${e._refused}>${g}</div>` : t`
863
875
  <button class="file-field__choose-button"
864
876
  type="button"
@@ -871,19 +883,16 @@ function ce(e) {
871
883
  >${g}</button>
872
884
  `;
873
885
  }
874
- function le(e, r) {
875
- let [i, a] = ie(r), o = e._fittedName === null ? t`<span class="file-field__name-start">${i}</span>${a ? t`<span class="file-field__name-end">${a}</span>` : n}` : t`<span class="file-field__name-start">${e._fittedName}</span>`;
886
+ function me(e, r) {
887
+ let [i, a] = oe(r), o = e._fittedName === null ? t`<span class="file-field__name-start">${i}</span>${a ? t`<span class="file-field__name-end">${a}</span>` : n}` : t`<span class="file-field__name-start">${e._nameLines > 1 ? b(e._fittedName) : e._fittedName}</span>`;
876
888
  return t`
877
889
  <nldd-tooltip text=${r} timing=${e._nameTruncated ? "delay" : "never"}>
878
- <span class=${h({
879
- "file-field__name": !0,
880
- "is-wrapped": e._nameLines > 1
881
- })} aria-hidden="true">${o}</span>
890
+ <span class="file-field__name ${h({ "is-wrapped": e._nameLines > 1 })}" aria-hidden="true">${o}</span>
882
891
  </nldd-tooltip>
883
892
  <span class="file-field__full-name">${r}</span>
884
893
  `;
885
894
  }
886
- function ue(e, r) {
895
+ function he(e, r) {
887
896
  let i = e._valueLabel(), a = e._t("components.file-field.folder-count-short-text", {
888
897
  folder: r,
889
898
  count: e.files.length
@@ -891,7 +900,7 @@ function ue(e, r) {
891
900
  let s = i.indexOf(r);
892
901
  if (o) {
893
902
  let n = s < 0 ? i : i.slice(0, s) + (e._fittedFolder ?? r) + i.slice(s + r.length);
894
- return t`<span class="file-field__folder file-field__folder--${a} is-wrapped" aria-hidden="true">${n}</span>`;
903
+ return t`<span class="file-field__folder file-field__folder--${a} is-wrapped" aria-hidden="true">${b(n)}</span>`;
895
904
  }
896
905
  let [c, l, u] = s < 0 ? [
897
906
  "",
@@ -906,7 +915,7 @@ function ue(e, r) {
906
915
  };
907
916
  return t`${s(i, "full")}${s(a, "short")}<span class="file-field__full-name">${i}</span>`;
908
917
  }
909
- function de(e, n) {
918
+ function ge(e, n) {
910
919
  return t`
911
920
  <nldd-icon-button class="file-field__more-button"
912
921
  appearance="neutral-tinted"
@@ -918,7 +927,7 @@ function de(e, n) {
918
927
  ?disabled=${e.disabled}
919
928
  >
920
929
  <nldd-menu slot="popup">
921
- ${e.directory ? j(e) : t`
930
+ ${e.directory ? A(e) : t`
922
931
  <nldd-menu-item
923
932
  icon="edit"
924
933
  text=${e._t("components.file-field.to-change-action")}
@@ -936,26 +945,23 @@ function de(e, n) {
936
945
  </nldd-icon-button>
937
946
  `;
938
947
  }
939
- function fe(e) {
940
- let n = e.files, r = e.variant === "area", i = e.size === "sm" ? "xs" : "sm", a = e._drag !== "none" || e._rejection !== null, o = O(e, e._t("components.file-field.replace-drag-text"), e._t("components.file-field.replace-drop-text")).map((e) => ({
948
+ function M(e) {
949
+ let n = e.files, r = e.variant === "area", i = e.size === "sm" ? "xs" : "sm", a = e._drag !== "none" || e._rejection !== null, o = D(e, e._t("components.file-field.replace-drag-text"), e._t("components.file-field.replace-drop-text")).map((e) => ({
941
950
  ...e,
942
951
  active: e.active && a
943
- })), s = e._folderName(), c = s ? ue(e, s) : n.length === 1 ? le(e, n[0].name) : e._valueLabel();
952
+ })), s = e._folderName(), c = s ? he(e, s) : n.length === 1 ? me(e, n[0].name) : e._valueLabel();
944
953
  return t`
945
954
  <div class="file-field__chosen-area" ?inert=${e._refused}>
946
- <div class=${h({
947
- "file-field__chosen-file": !0,
948
- "is-active": !a
949
- })}>
950
- <nldd-icon class="file-field__file-icon" icon=${T(e)} aria-hidden="true"></nldd-icon>
951
- ${D("value", [{
955
+ <div class="file-field__chosen-file ${h({ "is-active": !a })}">
956
+ <nldd-icon class="file-field__file-icon" icon=${ue(e)} aria-hidden="true"></nldd-icon>
957
+ ${E("value", [{
952
958
  content: c,
953
959
  kind: "idle",
954
960
  active: !0
955
961
  }])}
956
962
  ${r ? t`
957
963
  <div class="file-field__edit-button-group">
958
- ${M(e, e.size)}
964
+ ${j(e, e.size)}
959
965
  <nldd-button
960
966
  appearance="neutral-base"
961
967
  size=${e.size}
@@ -967,7 +973,7 @@ function fe(e) {
967
973
  </div>
968
974
  ` : t`
969
975
  <div class="file-field__edit-button-group">
970
- ${M(e, i)}
976
+ ${j(e, i)}
971
977
  <nldd-icon-button class="file-field__clear-button"
972
978
  appearance="neutral-transparent"
973
979
  size=${i}
@@ -978,18 +984,15 @@ function fe(e) {
978
984
  ?disabled=${e.disabled}
979
985
  @click=${e._handleClear}
980
986
  ></nldd-icon-button>
981
- ${de(e, i)}
987
+ ${ge(e, i)}
982
988
  </div>
983
989
  `}
984
- ${E(e)}
990
+ ${T(e)}
985
991
  </div>
986
- <div class=${h({
987
- "file-field__replace-area": !0,
988
- "is-active": a
989
- })}>
992
+ <div class="file-field__replace-area ${h({ "is-active": a })}">
990
993
  <nldd-icon class="file-field__upload-icon" icon="upload-to-cloud" aria-hidden="true"></nldd-icon>
991
- ${D("text", [...o, ...k(e)])}
992
- ${E(e)}
994
+ ${E("text", [...o, ...O(e)])}
995
+ ${T(e)}
993
996
  </div>
994
997
  </div>
995
998
  `;
@@ -997,13 +1000,12 @@ function fe(e) {
997
1000
  function N(e) {
998
1001
  let r = e.files.length > 0 && !e._reading;
999
1002
  return t`
1000
- <div aria-busy=${e._reading ? "true" : n} class=${h({
1001
- "file-field": !0,
1003
+ <div aria-busy=${e._reading ? "true" : n} class="file-field ${h({
1002
1004
  "file-field--area": e.variant === "area",
1003
1005
  "has-files": r,
1004
1006
  "is-refused": e._refused,
1005
1007
  [`is-drag-${e._drag}`]: e._drag !== "none"
1006
- })}>
1008
+ })}">
1007
1009
  <input class="file-field__input"
1008
1010
  type="file"
1009
1011
  id=${e.inputId || n}
@@ -1025,9 +1027,9 @@ function N(e) {
1025
1027
  <span class="file-field__menu-anchor"></span>
1026
1028
  <nldd-menu class="file-field__choose-menu"
1027
1029
  @beforetoggle=${(t) => e._handleMenuToggle(t)}
1028
- >${j(e)}</nldd-menu>
1030
+ >${A(e)}</nldd-menu>
1029
1031
  ` : n}
1030
- ${r ? fe(e) : ce(e)}
1032
+ ${r ? M(e) : pe(e)}
1031
1033
  ${e._refused ? t`
1032
1034
  <button class="file-field__dismiss-button"
1033
1035
  type="button"
@@ -1102,7 +1104,7 @@ function B(e, t) {
1102
1104
  let r = t.name.toLowerCase(), i = t.type.toLowerCase() || P[r.slice(r.lastIndexOf(".") + 1)]?.[0] || "", a = L(r.slice(r.lastIndexOf(".") + 1));
1103
1105
  return n.some((e) => e.startsWith(".") ? L(e.slice(1)) === a : z(e, i));
1104
1106
  }
1105
- function pe(e, t) {
1107
+ function _e(e, t) {
1106
1108
  let n = R(e);
1107
1109
  if (n.length === 0 || !t) return !1;
1108
1110
  let r = t.toLowerCase();
@@ -1115,7 +1117,7 @@ function pe(e, t) {
1115
1117
  function V(e) {
1116
1118
  return Array.from(e.items).some((e) => e.kind === "file" && e.webkitGetAsEntry?.()?.isDirectory);
1117
1119
  }
1118
- function me(e) {
1120
+ function ve(e) {
1119
1121
  let t = Array.from(e.items).filter((e) => e.kind === "file").map((e) => e.webkitGetAsEntry?.()).filter((e) => !!e);
1120
1122
  return Promise.all(t.map(H)).then((e) => e.flat());
1121
1123
  }
@@ -1137,7 +1139,7 @@ function W(e) {
1137
1139
  let t = e[0];
1138
1140
  return t instanceof HTMLElement ? t.isContentEditable || t instanceof HTMLTextAreaElement || t instanceof HTMLInputElement && t.type === "file" : !1;
1139
1141
  }
1140
- var G = /* @__PURE__ */ new Set(), he = 1e3, K;
1142
+ var G = /* @__PURE__ */ new Set(), ye = 1e3, K;
1141
1143
  function q() {
1142
1144
  clearTimeout(K);
1143
1145
  for (let e of G) e._setDrag("none", null);
@@ -1146,20 +1148,20 @@ function J(e) {
1146
1148
  if (!U(e.dataTransfer)) return;
1147
1149
  let t = e.composedPath();
1148
1150
  for (let n of G) n._setDrag(t.includes(n) ? "over" : "page", e.dataTransfer);
1149
- clearTimeout(K), K = setTimeout(q, he), e.defaultPrevented || W(t) || (e.preventDefault(), e.dataTransfer.dropEffect = "none");
1151
+ clearTimeout(K), K = setTimeout(q, ye), e.defaultPrevented || W(t) || (e.preventDefault(), e.dataTransfer.dropEffect = "none");
1150
1152
  }
1151
1153
  function Y(e) {
1152
1154
  U(e.dataTransfer) && (!e.defaultPrevented && !W(e.composedPath()) && e.preventDefault(), q());
1153
1155
  }
1154
- function ge(e) {
1156
+ function be(e) {
1155
1157
  G.size === 0 && (window.addEventListener("dragover", J), window.addEventListener("drop", Y), window.addEventListener("dragend", q)), G.add(e);
1156
1158
  }
1157
- function _e(e) {
1159
+ function xe(e) {
1158
1160
  G.delete(e), G.size > 0 || (window.removeEventListener("dragover", J), window.removeEventListener("drop", Y), window.removeEventListener("dragend", q), clearTimeout(K));
1159
1161
  }
1160
1162
  // src/utilities/file-drag-and-drop.ts
1161
1163
  var X = "(hover: none)";
1162
- function ve() {
1164
+ function Se() {
1163
1165
  return typeof matchMedia != "function" || !matchMedia(X).matches;
1164
1166
  }
1165
1167
  var Z = class {
@@ -1172,7 +1174,7 @@ var Z = class {
1172
1174
  hostDisconnected() {
1173
1175
  this._query?.removeEventListener("change", this._handleChange);
1174
1176
  }
1175
- }, Q, ye = 4e3, be = 1e3, xe = 300, Se = {
1177
+ }, Q, Ce = 4e3, we = 1e3, Te = 300, Ee = {
1176
1178
  image: "components.file-field.image-lowercase",
1177
1179
  video: "components.file-field.video-lowercase",
1178
1180
  audio: "components.file-field.audio-file-lowercase"
@@ -1187,7 +1189,7 @@ var Z = class {
1187
1189
  let n = Array.from(e.dataTransfer.files), r = this._judge(e.dataTransfer, n);
1188
1190
  r ? this._refuse(r) : V(e.dataTransfer) ? (this._readingTimer = setTimeout(() => {
1189
1191
  this._reading = !0;
1190
- }, be), me(e.dataTransfer).then((e) => {
1192
+ }, we), ve(e.dataTransfer).then((e) => {
1191
1193
  t === this._action && (this._stopReading(), e.length ? this._takeDrop(e) : this._refuse("empty-folder"));
1192
1194
  }, () => {
1193
1195
  t === this._action && (this._stopReading(), this._refuse("unreadable-folder"));
@@ -1218,7 +1220,7 @@ var Z = class {
1218
1220
  return this.directory ? this._t("components.file-field.to-choose-files-or-folder-action") : this._multiple ? this._t("components.file-field.to-choose-files-action") : this._t("components.file-field.to-choose-file-action");
1219
1221
  }
1220
1222
  _chooseAccessibleLabel() {
1221
- let e = ve() ? this._multiple ? this._t("components.file-field.drop-hint-multiple-lowercase-text") : this._t("components.file-field.drop-hint-lowercase-text") : "", t = this.variant === "area" ? this._acceptTypes() : null;
1223
+ let e = Se() ? this._multiple ? this._t("components.file-field.drop-hint-multiple-lowercase-text") : this._t("components.file-field.drop-hint-lowercase-text") : "", t = this.variant === "area" ? this._acceptTypes() : null;
1222
1224
  return [
1223
1225
  e ? `${this._chooseLabel()} ${e}` : this._chooseLabel(),
1224
1226
  t ? this._t("components.file-field.accepted-types-text", { types: t }) : "",
@@ -1238,7 +1240,7 @@ var Z = class {
1238
1240
  _acceptTypes() {
1239
1241
  let e = I(this.accept);
1240
1242
  if (!e) return null;
1241
- let t = e.map((e) => typeof e == "string" ? e : this._t(Se[e.family]));
1243
+ let t = e.map((e) => typeof e == "string" ? e : this._t(Ee[e.family]));
1242
1244
  return t.length === 1 ? t[0] : this._t("components.file-field.list-lowercase-text", {
1243
1245
  items: t.slice(0, -1).join(", "),
1244
1246
  last: t[t.length - 1]
@@ -1267,12 +1269,12 @@ var Z = class {
1267
1269
  return e.size === 1 && t ? t : null;
1268
1270
  }
1269
1271
  connectedCallback() {
1270
- super.connectedCallback(), ge(this), this._resizeObserver ?? (this._resizeObserver = new ResizeObserver(() => this._fitName())), this._resizeObserver.observe(this), document.fonts?.ready.then(() => {
1272
+ super.connectedCallback(), be(this), this._resizeObserver ?? (this._resizeObserver = new ResizeObserver(() => this._fitName())), this._resizeObserver.observe(this), document.fonts?.ready.then(() => {
1271
1273
  this.isConnected && this._fitName();
1272
1274
  }), this.addEventListener("dragover", this._handleDragOver), this.addEventListener("drop", this._handleDrop), this.addEventListener("keydown", this._handleKeydown);
1273
1275
  }
1274
1276
  disconnectedCallback() {
1275
- super.disconnectedCallback(), _e(this), this._resizeObserver?.disconnect(), clearTimeout(this._rejectionTimer), this._stopReading(), this._observedValue = void 0, this.removeEventListener("dragover", this._handleDragOver), this.removeEventListener("drop", this._handleDrop), this.removeEventListener("keydown", this._handleKeydown);
1277
+ super.disconnectedCallback(), xe(this), this._resizeObserver?.disconnect(), clearTimeout(this._rejectionTimer), this._stopReading(), this._observedValue = void 0, this.removeEventListener("dragover", this._handleDragOver), this.removeEventListener("drop", this._handleDrop), this.removeEventListener("keydown", this._handleKeydown);
1276
1278
  }
1277
1279
  updated(e) {
1278
1280
  (e.has("_files") || e.has("size") || e.has("variant") || e.has("_drag")) && this._fitNameAfterRender();
@@ -1308,9 +1310,9 @@ var Z = class {
1308
1310
  }
1309
1311
  let s = this._files[0].name;
1310
1312
  if (o === 1) {
1311
- let { measure: e, done: t } = C(r);
1313
+ let { measure: e, done: t } = ce(r);
1312
1314
  try {
1313
- let { text: t, truncated: n } = ae(s, a, e);
1315
+ let { text: t, truncated: n } = C(s, a, e);
1314
1316
  this._fittedName = t, this._nameTruncated = n;
1315
1317
  } finally {
1316
1318
  t();
@@ -1321,9 +1323,9 @@ var Z = class {
1321
1323
  this._fittedName = c, this._nameTruncated = l;
1322
1324
  }
1323
1325
  _cutToLines(e, t, n, r, i = (e) => e, a = !0) {
1324
- let { fits: o, done: s } = S(e, t, n);
1326
+ let { fits: o, done: s } = se(e, t, n);
1325
1327
  try {
1326
- return x(r, (e) => o(i(e)), { keepExtension: a });
1328
+ return w(r, (e) => o(i(e)), { keepExtension: a });
1327
1329
  } finally {
1328
1330
  s();
1329
1331
  }
@@ -1348,7 +1350,7 @@ var Z = class {
1348
1350
  t.hidePopover();
1349
1351
  return;
1350
1352
  }
1351
- if (performance.now() - this._menuClosedAt < xe) return;
1353
+ if (performance.now() - this._menuClosedAt < Te) return;
1352
1354
  t.anchorElement = e.currentTarget.classList.contains("file-field__choose-button") && this._pointAt(e) || e.currentTarget, t.showPopover();
1353
1355
  } else this._input?.click();
1354
1356
  }
@@ -1379,7 +1381,7 @@ var Z = class {
1379
1381
  _judge(e, t) {
1380
1382
  if (t) return !this._multiple && t.length > 1 ? "count" : V(e) ? this._multiple ? null : "folder" : t.every((e) => B(this.accept, e)) ? null : "type";
1381
1383
  let n = Array.from(e.items).filter((e) => e.kind === "file");
1382
- return !this._multiple && n.length > 1 ? "count" : n.some((e) => pe(this.accept, e.type)) ? "type" : null;
1384
+ return !this._multiple && n.length > 1 ? "count" : n.some((e) => _e(this.accept, e.type)) ? "type" : null;
1383
1385
  }
1384
1386
  _setDrag(e, t) {
1385
1387
  this.disabled && (e = "none"), (e === "over" || e !== this._drag) && (e !== "none" && this._drag === "none" && this._clearRejection(), this._dragRejection = e === "over" && t ? this._judge(t) : null, this._drag = this._dragRejection ? "rejected" : e);
@@ -1397,7 +1399,7 @@ var Z = class {
1397
1399
  let t = this.matches(":focus-within");
1398
1400
  this._rejection = e, clearTimeout(this._rejectionTimer), this._rejectionTimer = setTimeout(() => {
1399
1401
  this._clearRejection(), this._announcement = this._rejectionText(e);
1400
- }, ye), t && this.updateComplete.then(() => this.focus());
1402
+ }, Ce), t && this.updateComplete.then(() => this.focus());
1401
1403
  }
1402
1404
  _stopReading() {
1403
1405
  clearTimeout(this._readingTimer), this._reading = !1;
@@ -1450,7 +1452,7 @@ var Z = class {
1450
1452
  return Array.from(t).find((e) => !e.matches(".file-field__change-button, .file-field__more-button") || (e.checkVisibility?.() ?? !0)) ?? t[0] ?? null;
1451
1453
  }
1452
1454
  focus(e) {
1453
- _(this, e) || this._chooseButton()?.focus(e);
1455
+ ne(this, e) || this._chooseButton()?.focus(e);
1454
1456
  }
1455
1457
  describedTarget() {
1456
1458
  return this._chooseButton();
@@ -1458,7 +1460,7 @@ var Z = class {
1458
1460
  render() {
1459
1461
  return N(this);
1460
1462
  }
1461
- }, Q.styles = v, Q.isFormInput = !0, Q);
1463
+ }, Q.styles = _, Q.isFormInput = !0, Q);
1462
1464
  r([a({
1463
1465
  reflect: !0,
1464
1466
  converter: u("control")
@@ -1,4 +1,4 @@
1
- import { t as e } from "./custom-element-aLDsY95V.js";
1
+ import { t as e } from "./custom-element-DGdiDiuN.js";
2
2
  // src/components/forms/form/form.ts
3
3
  var t = [
4
4
  "name",
@@ -1,5 +1,5 @@
1
- import { n as e, o as t, t as n } from "./decorate-D28R7mwV.js";
2
- import { c as r, r as i, s as a } from "./custom-element-aLDsY95V.js";
1
+ import { n as e, o as t, t as n } from "./decorate-D2snH_th.js";
2
+ import { c as r, r as i, s as a } from "./custom-element-DGdiDiuN.js";
3
3
  import { t as o } from "./custom-element-BW8Ua4c7.js";
4
4
  import { a as s } from "./element-state-D-J_cHEV.js";
5
5
  import { n as c } from "./breakpoints-Cwor8TRP.js";
@@ -1,5 +1,5 @@
1
- import { i as e } from "./custom-element-aLDsY95V.js";
2
- import "./decorate-D28R7mwV.js";
1
+ import { i as e } from "./custom-element-DGdiDiuN.js";
2
+ import "./decorate-D2snH_th.js";
3
3
  import { n as t } from "./element-state-D-J_cHEV.js";
4
4
  // src/utilities/form-associated-mixin.ts
5
5
  var n = [