@nldd/design-system 0.16.1 → 0.17.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 (232) hide show
  1. package/README.md +5 -1
  2. package/custom-elements.json +1399 -416
  3. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  4. package/dist/components/actions/button/button.styles.js +1 -0
  5. package/dist/components/actions/button/button.styles.js.map +1 -1
  6. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  7. package/dist/components/actions/menu/menu.styles.js +1 -0
  8. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  9. package/dist/components/components.js +1501 -367
  10. package/dist/components/content/blockquote/blockquote.d.ts +11 -1
  11. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  12. package/dist/components/content/blockquote/blockquote.js +39 -0
  13. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  14. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  15. package/dist/components/content/blockquote/blockquote.styles.js +42 -1
  16. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  17. package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
  18. package/dist/components/content/icon/icon-gallery-status.js +7 -0
  19. package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
  20. package/dist/components/content/icon/icon-registry.js +393 -393
  21. package/dist/components/content/icon/icon-registry.js.map +1 -1
  22. package/dist/components/content/icon/icon.template.js +1 -1
  23. package/dist/components/content/text/text.d.ts +21 -3
  24. package/dist/components/content/text/text.d.ts.map +1 -1
  25. package/dist/components/content/text/text.js +41 -1
  26. package/dist/components/content/text/text.js.map +1 -1
  27. package/dist/components/content/text/text.styles.d.ts +2 -1
  28. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  29. package/dist/components/content/text/text.styles.js +88 -2
  30. package/dist/components/content/text/text.styles.js.map +1 -1
  31. package/dist/components/content/title/title.d.ts +1 -3
  32. package/dist/components/content/title/title.d.ts.map +1 -1
  33. package/dist/components/content/title/title.js +5 -79
  34. package/dist/components/content/title/title.js.map +1 -1
  35. package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
  36. package/dist/components/content/tooltip/tooltip.styles.js +1 -0
  37. package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
  38. package/dist/components/{decorate-pEFCObfp.js → decorate-D2HtKmpx.js} +1 -1
  39. package/dist/components/{defer-focus-CkNrCf_g.js → defer-focus-JRj1EYUV.js} +2 -2
  40. package/dist/components/{dev-checks--aiYe9Pe.js → dev-checks-BPjCXw_r.js} +114 -12
  41. package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
  42. package/dist/components/forms/validation-list/validation-list.styles.js +1 -0
  43. package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
  44. package/dist/components/icon-DU_IMj2t.js +968 -0
  45. package/dist/components/{icon-button-CDYZPHYe.js → icon-button-BgeikVnm.js} +5 -3
  46. package/dist/components/index.d.ts +2 -1
  47. package/dist/components/index.d.ts.map +1 -1
  48. package/dist/components/index.js +2 -1
  49. package/dist/components/index.js.map +1 -1
  50. package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
  51. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +1 -0
  52. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
  53. package/dist/components/inputs/date-field/date-field.dates.d.ts +5 -1
  54. package/dist/components/inputs/date-field/date-field.dates.d.ts.map +1 -1
  55. package/dist/components/inputs/date-field/date-field.dates.js +6 -2
  56. package/dist/components/inputs/date-field/date-field.dates.js.map +1 -1
  57. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +172 -0
  58. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -0
  59. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +447 -0
  60. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -0
  61. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts +2 -0
  62. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -0
  63. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +188 -0
  64. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -0
  65. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts +4 -0
  66. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts.map +1 -0
  67. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +64 -0
  68. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -0
  69. package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
  70. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +1 -0
  71. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
  72. package/dist/components/inputs/search-field/search-field.d.ts +4 -2
  73. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  74. package/dist/components/inputs/search-field/search-field.js +5 -4
  75. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  76. package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
  77. package/dist/components/inputs/search-field/search-field.template.js +4 -3
  78. package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
  79. package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
  80. package/dist/components/inputs/switch-field/switch-field.styles.js +1 -0
  81. package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
  82. package/dist/components/inputs/text-field/text-field.d.ts +14 -0
  83. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  84. package/dist/components/inputs/text-field/text-field.js +51 -1
  85. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  86. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  87. package/dist/components/inputs/text-field/text-field.styles.js +21 -1
  88. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  89. package/dist/components/inputs/text-field/text-field.template.d.ts.map +1 -1
  90. package/dist/components/inputs/text-field/text-field.template.js +5 -0
  91. package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
  92. package/dist/components/{just-in-time-education.i18n-S05IOgqk.js → just-in-time-education.i18n-eCghRteQ.js} +10 -10
  93. package/dist/components/layout/box/box.styles.d.ts.map +1 -1
  94. package/dist/components/layout/box/box.styles.js +1 -0
  95. package/dist/components/layout/box/box.styles.js.map +1 -1
  96. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  97. package/dist/components/layout/card/card.styles.js +3 -0
  98. package/dist/components/layout/card/card.styles.js.map +1 -1
  99. package/dist/components/layout/{task-board/task-board-column.d.ts → column-board/column-board-column.d.ts} +5 -5
  100. package/dist/components/layout/column-board/column-board-column.d.ts.map +1 -0
  101. package/dist/components/layout/{task-board/task-board-column.js → column-board/column-board-column.js} +34 -34
  102. package/dist/components/layout/column-board/column-board-column.js.map +1 -0
  103. package/dist/components/layout/column-board/column-board-column.template.d.ts +3 -0
  104. package/dist/components/layout/column-board/column-board-column.template.d.ts.map +1 -0
  105. package/dist/components/layout/{task-board/task-board-column.template.js → column-board/column-board-column.template.js} +10 -10
  106. package/dist/components/layout/column-board/column-board-column.template.js.map +1 -0
  107. package/dist/components/layout/{task-board/task-board.d.ts → column-board/column-board.d.ts} +21 -21
  108. package/dist/components/layout/column-board/column-board.d.ts.map +1 -0
  109. package/dist/components/layout/column-board/column-board.i18n.d.ts +11 -0
  110. package/dist/components/layout/column-board/column-board.i18n.d.ts.map +1 -0
  111. package/dist/components/layout/column-board/column-board.i18n.js +10 -0
  112. package/dist/components/layout/column-board/column-board.i18n.js.map +1 -0
  113. package/dist/components/layout/{task-board/task-board.js → column-board/column-board.js} +43 -43
  114. package/dist/components/layout/column-board/column-board.js.map +1 -0
  115. package/dist/components/layout/column-board/column-board.styles.d.ts +3 -0
  116. package/dist/components/layout/column-board/column-board.styles.d.ts.map +1 -0
  117. package/dist/components/layout/column-board/column-board.styles.js +260 -0
  118. package/dist/components/layout/column-board/column-board.styles.js.map +1 -0
  119. package/dist/components/layout/column-board/column-board.template.d.ts +3 -0
  120. package/dist/components/layout/column-board/column-board.template.d.ts.map +1 -0
  121. package/dist/components/layout/{task-board/task-board.template.js → column-board/column-board.template.js} +5 -5
  122. package/dist/components/layout/column-board/column-board.template.js.map +1 -0
  123. package/dist/components/layout/container/container.d.ts +3 -0
  124. package/dist/components/layout/container/container.d.ts.map +1 -1
  125. package/dist/components/layout/container/container.js +8 -3
  126. package/dist/components/layout/container/container.js.map +1 -1
  127. package/dist/components/layout/container/container.styles.d.ts.map +1 -1
  128. package/dist/components/layout/container/container.styles.js +13 -0
  129. package/dist/components/layout/container/container.styles.js.map +1 -1
  130. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  131. package/dist/components/layout/popover/popover.styles.js +3 -1
  132. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  133. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  134. package/dist/components/layout/sheet/sheet.styles.js +3 -1
  135. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  136. package/dist/components/layout/window/window.styles.d.ts.map +1 -1
  137. package/dist/components/layout/window/window.styles.js +3 -1
  138. package/dist/components/layout/window/window.styles.js.map +1 -1
  139. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
  140. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +2 -0
  141. package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
  142. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -2
  143. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  144. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +15 -3
  145. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  146. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  147. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +5 -0
  148. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  149. package/dist/components/{nl.generated-CUo20aPV.js → nl.generated-B0pvf8VH.js} +2 -2
  150. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  151. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +1 -0
  152. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  153. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
  154. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +3 -1
  155. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
  156. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  157. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +1 -0
  158. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  159. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
  160. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +1 -0
  161. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
  162. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -1
  163. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  164. package/dist/components/status-and-feedback/status-bar/status-bar.js +32 -1
  165. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  166. package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
  167. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +59 -0
  168. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
  169. package/dist/components/status-and-feedback/status-bar/status-bar.template.d.ts.map +1 -1
  170. package/dist/components/status-and-feedback/status-bar/status-bar.template.js +4 -1
  171. package/dist/components/status-and-feedback/status-bar/status-bar.template.js.map +1 -1
  172. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +15 -8
  173. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  174. package/dist/components/status-and-feedback/step-bar/step-bar.js +30 -12
  175. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  176. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts +7 -2
  177. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
  178. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +35 -18
  179. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
  180. package/dist/components/{visibility-mixin-Ce0goNS6.js → visibility-mixin-Dti3xE8R.js} +1 -1
  181. package/dist/css/form-section.css +2 -0
  182. package/dist/nldd.min.js +2302 -1818
  183. package/dist/translations/en-US.js +7 -7
  184. package/dist/translations/en-US.js.map +1 -1
  185. package/dist/translations/fy.js +7 -7
  186. package/dist/translations/fy.js.map +1 -1
  187. package/dist/translations/nl.generated.d.ts +7 -7
  188. package/dist/translations/nl.generated.js +2 -2
  189. package/dist/translations/nl.generated.js.map +1 -1
  190. package/dist/translations/pap-AW.js +7 -7
  191. package/dist/translations/pap-AW.js.map +1 -1
  192. package/dist/translations/pap-CW.js +7 -7
  193. package/dist/translations/pap-CW.js.map +1 -1
  194. package/dist/types/vue.d.ts +133 -50
  195. package/dist/utilities/custom-font-size.d.ts +19 -0
  196. package/dist/utilities/custom-font-size.d.ts.map +1 -0
  197. package/dist/utilities/custom-font-size.js +90 -0
  198. package/dist/utilities/custom-font-size.js.map +1 -0
  199. package/dist/utilities/dev-checks.d.ts +7 -0
  200. package/dist/utilities/dev-checks.d.ts.map +1 -1
  201. package/dist/utilities/dev-checks.js +23 -0
  202. package/dist/utilities/dev-checks.js.map +1 -1
  203. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  204. package/dist/utilities/dev-rules.generated.js +99 -14
  205. package/dist/utilities/dev-rules.generated.js.map +1 -1
  206. package/dist/utilities/file-drag-and-drop.js +1 -1
  207. package/dist/utilities/file-drag-and-drop.js.map +1 -1
  208. package/dist/utilities/status-bar-change.d.ts +7 -0
  209. package/dist/utilities/status-bar-change.d.ts.map +1 -0
  210. package/dist/utilities/status-bar-change.js +7 -0
  211. package/dist/utilities/status-bar-change.js.map +1 -0
  212. package/lint/data.generated.json +1 -1
  213. package/package.json +9 -5
  214. package/dist/components/icon-BQjRjtKH.js +0 -968
  215. package/dist/components/layout/task-board/task-board-column.d.ts.map +0 -1
  216. package/dist/components/layout/task-board/task-board-column.js.map +0 -1
  217. package/dist/components/layout/task-board/task-board-column.template.d.ts +0 -3
  218. package/dist/components/layout/task-board/task-board-column.template.d.ts.map +0 -1
  219. package/dist/components/layout/task-board/task-board-column.template.js.map +0 -1
  220. package/dist/components/layout/task-board/task-board.d.ts.map +0 -1
  221. package/dist/components/layout/task-board/task-board.i18n.d.ts +0 -11
  222. package/dist/components/layout/task-board/task-board.i18n.d.ts.map +0 -1
  223. package/dist/components/layout/task-board/task-board.i18n.js +0 -10
  224. package/dist/components/layout/task-board/task-board.i18n.js.map +0 -1
  225. package/dist/components/layout/task-board/task-board.js.map +0 -1
  226. package/dist/components/layout/task-board/task-board.styles.d.ts +0 -3
  227. package/dist/components/layout/task-board/task-board.styles.d.ts.map +0 -1
  228. package/dist/components/layout/task-board/task-board.styles.js +0 -259
  229. package/dist/components/layout/task-board/task-board.styles.js.map +0 -1
  230. package/dist/components/layout/task-board/task-board.template.d.ts +0 -3
  231. package/dist/components/layout/task-board/task-board.template.d.ts.map +0 -1
  232. package/dist/components/layout/task-board/task-board.template.js.map +0 -1
@@ -1,16 +1,16 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.js";
2
- import { n as customElement, t as __decorate } from "./decorate-pEFCObfp.js";
2
+ import { n as customElement, t as __decorate } from "./decorate-D2HtKmpx.js";
3
3
  import { n as slottedReset, t as inheritedTextReset } from "./shadow-resets-BwOyyZFH.js";
4
- import { a as downloadLinkHintKey, c as linkRel, i as translate, n as withTranslations, o as linkHintKey, r as setTranslations, s as markDownloadTarget, t as deferFocus } from "./defer-focus-CkNrCf_g.js";
4
+ import { a as downloadLinkHintKey, c as linkRel, i as translate, n as withTranslations, o as linkHintKey, r as setTranslations, s as markDownloadTarget, t as deferFocus } from "./defer-focus-JRj1EYUV.js";
5
5
  import { n as internalsOf, r as setState$1 } from "./element-state-BnarBv0M.js";
6
- import { a as releaseContext, c as anchorPopoverTarget, d as ShortcutAvailabilityController, f as hasShortcut, i as langOf, l as popoverTargetOf, m as shortcutsAvailable, n as NLDDTooltip, o as NLDDActivityIndicator, p as shortcutLabel, r as carryContext, s as PopupAnchorController, t as NLDDIconButton, u as NLDDKeyboardShortcut } from "./icon-button-CDYZPHYe.js";
6
+ import { a as releaseContext, c as anchorPopoverTarget, d as ShortcutAvailabilityController, f as hasShortcut, i as langOf, l as popoverTargetOf, m as shortcutsAvailable, n as NLDDTooltip, o as NLDDActivityIndicator, p as shortcutLabel, r as carryContext, s as PopupAnchorController, t as NLDDIconButton, u as NLDDKeyboardShortcut } from "./icon-button-BgeikVnm.js";
7
7
  import { t as reflectNonDefault } from "./reflect-non-default-B9wQcnne.js";
8
8
  import { t as nlddButtonTranslations } from "./button.i18n-DiDGynnq.js";
9
- import { t as NLDDIcon } from "./icon-BQjRjtKH.js";
9
+ import { t as NLDDIcon } from "./icon-DU_IMj2t.js";
10
10
  import { n as isPointerMode, r as isTouchMode, t as isKeyboardMode } from "./input-modality-CiPLYYMN.js";
11
- import { A as nlddStepperTranslations, B as nlddComboBoxTranslations, C as nlddCardTranslations, D as nlddTimeFieldTranslations, E as nlddTokenFieldTranslations, F as nlddFileFieldTranslations, G as nlddCodeViewerTranslations, H as nlddTokenTranslations, I as nlddDateFieldTranslations, J as nlddAvatarTranslations, K as nlddAvatarGroupTranslations, L as MONTH_KEYS, M as nlddSearchFieldTranslations, N as nlddPasswordFieldTranslations, O as nlddTimePickerTranslations, P as nlddNumberFieldTranslations, R as WEEKDAY_KEYS, S as nlddCollectionTranslations, T as nlddSliderTranslations, U as nlddRichTextTranslations, V as nlddValidationListTranslations, W as nlddImageTranslations, X as nlddMenuTranslations, Y as nlddToolbarTranslations, Z as nlddSplitButtonTranslations, _ as nlddTableTranslations, a as nlddBadgeTranslations, b as nlddPageFooterTranslations, c as nlddPaginationTranslations, d as nlddTopNavigationBarTranslations, f as nlddSkipLinkTranslations, g as nlddDragHandleCellTranslations, h as nlddBreadcrumbsTranslations, i as nlddProgressBarTranslations, j as nlddSwatchPickerItemTranslations, k as nlddTextEditorTranslations, l as nlddDocumentTabBarTranslations, m as nlddMenuBarTranslations, n as nlddStepBarTranslations, o as nlddNotificationTranslations, p as nlddLinkTranslations, q as nlddPopoverTranslations, r as nlddProgressCircleTranslations, s as nlddBannerTranslations, t as nlddJustInTimeEducationTranslations, u as nlddTabBarTranslations, v as nlddListItemSegmentTranslations, w as nlddSidebarSectionTranslations, x as nlddWindowTranslations, y as nlddTaskBoardTranslations, z as nlddDatePickerTranslations } from "./just-in-time-education.i18n-S05IOgqk.js";
11
+ import { A as nlddStepperTranslations, B as nlddComboBoxTranslations, C as nlddCardTranslations, D as nlddTimeFieldTranslations, E as nlddTokenFieldTranslations, F as nlddFileFieldTranslations, G as nlddCodeViewerTranslations, H as nlddTokenTranslations, I as nlddDateFieldTranslations, J as nlddAvatarTranslations, K as nlddAvatarGroupTranslations, L as MONTH_KEYS, M as nlddSearchFieldTranslations, N as nlddPasswordFieldTranslations, O as nlddTimePickerTranslations, P as nlddNumberFieldTranslations, R as WEEKDAY_KEYS, S as nlddCollectionTranslations, T as nlddSliderTranslations, U as nlddRichTextTranslations, V as nlddValidationListTranslations, W as nlddImageTranslations, X as nlddMenuTranslations, Y as nlddToolbarTranslations, Z as nlddSplitButtonTranslations, _ as nlddTableTranslations, a as nlddBadgeTranslations, b as nlddPageFooterTranslations, c as nlddPaginationTranslations, d as nlddTopNavigationBarTranslations, f as nlddSkipLinkTranslations, g as nlddDragHandleCellTranslations, h as nlddBreadcrumbsTranslations, i as nlddProgressBarTranslations, j as nlddSwatchPickerItemTranslations, k as nlddTextEditorTranslations, l as nlddDocumentTabBarTranslations, m as nlddMenuBarTranslations, n as nlddStepBarTranslations, o as nlddNotificationTranslations, p as nlddLinkTranslations, q as nlddPopoverTranslations, r as nlddProgressCircleTranslations, s as nlddBannerTranslations, t as nlddJustInTimeEducationTranslations, u as nlddTabBarTranslations, v as nlddListItemSegmentTranslations, w as nlddSidebarSectionTranslations, x as nlddWindowTranslations, y as nlddColumnBoardTranslations, z as nlddDatePickerTranslations } from "./just-in-time-education.i18n-eCghRteQ.js";
12
12
  import { n as queryBreakpoints, r as rootFontSize, t as breakpointPx } from "./breakpoints-Bti55RWY.js";
13
- import { t as VisibilityMixin } from "./visibility-mixin-Ce0goNS6.js";
13
+ import { t as VisibilityMixin } from "./visibility-mixin-Dti3xE8R.js";
14
14
  import { t as nlddListTranslations } from "./list.i18n-CKqbhFQ_.js";
15
15
  import { t as nlddListItemTranslations } from "./list-item.i18n-89uqlBMK.js";
16
16
  import { $ as ChangeSet, A as syntaxTree, B as getDrawSelectionConfig, C as indentNodeProp, D as matchBrackets, E as languageDataProp, F as RectangleMarker, G as layer, H as gutter, I as ViewPlugin, J as placeholder, K as lineNumbers, L as WidgetType, M as Direction, N as EditorView, P as GutterMarker, Q as ChangeDesc, R as drawSelection, S as getIndentation, T as indentUnit, U as gutterLineClass, W as keymap, X as tooltips, Y as showTooltip, Z as Annotation, _t as findClusterBreak, a as HighlightStyle, at as Prec, b as foldService, c as Language, d as ParseContext, dt as Text, et as Compartment, f as StreamLanguage, ft as Transaction, gt as countColumn, h as defineLanguageFacet, ht as combineConfig, j as Decoration, k as syntaxHighlighting, l as LanguageDescription, lt as StateEffect, nt as EditorState, o as IndentContext, ot as RangeSet, rt as Facet, st as RangeSetBuilder, tt as EditorSelection, u as LanguageSupport, ut as StateField, w as indentString, x as getIndentUnit, y as foldNodeProp, z as dropCursor } from "./dist-BFZM0YsR.js";
@@ -541,6 +541,7 @@ var buttonStyles = css`
541
541
  min-width: 0;
542
542
  color: var(--_button-secondary-content-color);
543
543
  font: var(--_button-supporting-font);
544
+ text-wrap: pretty;
544
545
  }
545
546
 
546
547
  .button:hover .button__supporting-text {
@@ -1691,6 +1692,7 @@ var menuGroupStyles = css`
1691
1692
  padding-left: var(--primitives-space-4);
1692
1693
  font: var(--primitives-font-body-sm-regular-tight);
1693
1694
  color: var(--semantics-content-secondary-color);
1695
+ text-wrap: balance;
1694
1696
  }
1695
1697
 
1696
1698
 
@@ -7113,8 +7115,105 @@ __decorate([property({ type: String })], NLDDAvatar.prototype, "target", void 0)
7113
7115
  __decorate([property({ type: String })], NLDDAvatar.prototype, "rel", void 0);
7114
7116
  __decorate([state()], NLDDAvatar.prototype, "_imageFailed", void 0);
7115
7117
  NLDDAvatar = __decorate([customElement("nldd-avatar")], NLDDAvatar);
7118
+ // src/utilities/custom-font-size.ts
7119
+ /**
7120
+ * A font size of your own per breakpoint, for a component that otherwise takes
7121
+ * its size from the scale (`sm-custom-size`, `md-custom-size`, `lg-custom-size`).
7122
+ * The component writes each valid value into `--_{prefix}-{breakpoint}-custom-size`
7123
+ * and marks the host with `data-{breakpoint}-custom-size`; its styles put the
7124
+ * value inside a max() with its own size, so it never shows smaller.
7125
+ */
7126
+ var BREAKPOINTS = [
7127
+ "sm",
7128
+ "md",
7129
+ "lg"
7130
+ ];
7131
+ /** The font size of display size 1 per breakpoint: the floor of a custom size on nldd-title and nldd-text. */
7132
+ var DISPLAY_1_FONT_SIZE = {
7133
+ sm: "var(--primitives-font-size-700)",
7134
+ md: "var(--primitives-font-size-800)",
7135
+ lg: "var(--primitives-font-size-1000)"
7136
+ };
7137
+ /** Font-size values that are not a length: the CSS-wide keywords and the
7138
+ * absolute and relative size keywords. */
7139
+ var NOT_A_LENGTH = /* @__PURE__ */ new Set([
7140
+ "inherit",
7141
+ "initial",
7142
+ "unset",
7143
+ "revert",
7144
+ "revert-layer",
7145
+ "xx-small",
7146
+ "x-small",
7147
+ "small",
7148
+ "medium",
7149
+ "large",
7150
+ "x-large",
7151
+ "xx-large",
7152
+ "xxx-large",
7153
+ "larger",
7154
+ "smaller",
7155
+ "math"
7156
+ ]);
7157
+ /** A length font-size takes. A keyword cannot go inside the max() that keeps the floor, so it would void the whole font. */
7158
+ function isFontSize(value) {
7159
+ return !NOT_A_LENGTH.has(value.toLowerCase()) && CSS.supports("font-size", value);
7160
+ }
7161
+ /**
7162
+ * Writes the valid custom sizes onto the host and returns them. A breakpoint
7163
+ * without a valid value keeps the size from the scale. Sets the
7164
+ * `invalid-custom-size` state when a value is given that is not a length.
7165
+ * Call it from willUpdate(), so the first paint already has the size.
7166
+ */
7167
+ function applyCustomFontSizes(host, prefix, own) {
7168
+ const sizes = {};
7169
+ if (typeof CSS === "undefined") return sizes;
7170
+ let invalid = false;
7171
+ for (const breakpoint of BREAKPOINTS) {
7172
+ const value = (own[breakpoint] || "").trim();
7173
+ const valid = value !== "" && isFontSize(value);
7174
+ if (valid) {
7175
+ sizes[breakpoint] = value;
7176
+ host.style.setProperty(`--_${prefix}-${breakpoint}-custom-size`, value);
7177
+ } else host.style.removeProperty(`--_${prefix}-${breakpoint}-custom-size`);
7178
+ host.toggleAttribute(`data-${breakpoint}-custom-size`, valid);
7179
+ if (value !== "" && !valid) invalid = true;
7180
+ }
7181
+ setState$1(host, "invalid-custom-size", invalid);
7182
+ return sizes;
7183
+ }
7184
+ /**
7185
+ * DEV-only: sets the `custom-size-below-floor` state when a fixed custom size
7186
+ * is smaller than the floor at its breakpoint, which then shows instead.
7187
+ */
7188
+ function checkCustomFontSizeFloor(host, sizes, floors) {
7189
+ if (!host.shadowRoot || Object.keys(sizes).length === 0) {
7190
+ setState$1(host, "custom-size-below-floor", false);
7191
+ return;
7192
+ }
7193
+ const probe = document.createElement("span");
7194
+ probe.style.position = "absolute";
7195
+ probe.style.visibility = "hidden";
7196
+ host.shadowRoot.append(probe);
7197
+ const px = (value) => {
7198
+ probe.style.fontSize = value;
7199
+ return parseFloat(getComputedStyle(probe).fontSize);
7200
+ };
7201
+ let below = false;
7202
+ try {
7203
+ for (const [breakpoint, value] of Object.entries(sizes)) {
7204
+ if (/%|\d(?:v[whib]|vmin|vmax|cq[whib]|cqmin|cqmax|em|ex|ch|cap|ic|lh)\b/.test(value)) continue;
7205
+ if (px(value) < px(floors[breakpoint]) - .5) below = true;
7206
+ }
7207
+ } finally {
7208
+ probe.remove();
7209
+ }
7210
+ setState$1(host, "custom-size-below-floor", below);
7211
+ }
7116
7212
  // src/components/content/blockquote/blockquote.styles.ts
7117
- var smMax$20 = unsafeCSS(queryBreakpoints.smMax);
7213
+ var smMax$21 = unsafeCSS(queryBreakpoints.smMax);
7214
+ var mdMin$25 = unsafeCSS(queryBreakpoints.mdMin);
7215
+ var mdMax$16 = unsafeCSS(queryBreakpoints.mdMax);
7216
+ var lgMin$17 = unsafeCSS(queryBreakpoints.lgMin);
7118
7217
  var blockquoteStyles = css`
7119
7218
  :host {
7120
7219
  box-sizing: border-box;
@@ -7127,14 +7226,20 @@ var blockquoteStyles = css`
7127
7226
  --_blockquote-spacing: var(--semantics-blockquotes-md-spacing);
7128
7227
  --_blockquote-quote-font: var(--semantics-blockquotes-md-quote-font);
7129
7228
  --_blockquote-attribution-font: var(--semantics-blockquotes-md-attribution-font);
7130
-
7131
- @media (max-width: ${smMax$20}) {
7229
+ --_blockquote-sm-custom-size: initial;
7230
+ --_blockquote-md-custom-size: initial;
7231
+ --_blockquote-lg-custom-size: initial;
7232
+ --_blockquote-sm-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-sm-custom-size), var(--primitives-font-size-200)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
7233
+ --_blockquote-md-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-md-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
7234
+ --_blockquote-lg-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-lg-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
7235
+
7236
+ @media (max-width: ${smMax$21}) {
7132
7237
  --_blockquote-spacing: var(--semantics-blockquotes-sm-spacing);
7133
7238
  --_blockquote-quote-font: var(--semantics-blockquotes-sm-quote-font);
7134
7239
  --_blockquote-attribution-font: var(--semantics-blockquotes-sm-attribution-font);
7135
7240
  }
7136
7241
 
7137
- @container layout-container (max-width: ${smMax$20}) {
7242
+ @container layout-container (max-width: ${smMax$21}) {
7138
7243
  --_blockquote-spacing: var(--semantics-blockquotes-sm-spacing);
7139
7244
  --_blockquote-quote-font: var(--semantics-blockquotes-sm-quote-font);
7140
7245
  --_blockquote-attribution-font: var(--semantics-blockquotes-sm-attribution-font);
@@ -7149,6 +7254,38 @@ var blockquoteStyles = css`
7149
7254
  display: none;
7150
7255
  }
7151
7256
 
7257
+ /* ## Custom size */
7258
+
7259
+ :host([data-sm-custom-size]) {
7260
+ @media (max-width: ${smMax$21}) {
7261
+ --_blockquote-quote-font: var(--_blockquote-sm-custom-font);
7262
+ }
7263
+
7264
+ @container layout-container (max-width: ${smMax$21}) {
7265
+ --_blockquote-quote-font: var(--_blockquote-sm-custom-font);
7266
+ }
7267
+ }
7268
+
7269
+ :host([data-md-custom-size]) {
7270
+ @media (min-width: ${mdMin$25}) and (max-width: ${mdMax$16}) {
7271
+ --_blockquote-quote-font: var(--_blockquote-md-custom-font);
7272
+ }
7273
+
7274
+ @container layout-container (min-width: ${mdMin$25}) and (max-width: ${mdMax$16}) {
7275
+ --_blockquote-quote-font: var(--_blockquote-md-custom-font);
7276
+ }
7277
+ }
7278
+
7279
+ :host([data-lg-custom-size]) {
7280
+ @media (min-width: ${lgMin$17}) {
7281
+ --_blockquote-quote-font: var(--_blockquote-lg-custom-font);
7282
+ }
7283
+
7284
+ @container layout-container (min-width: ${lgMin$17}) {
7285
+ --_blockquote-quote-font: var(--_blockquote-lg-custom-font);
7286
+ }
7287
+ }
7288
+
7152
7289
 
7153
7290
  /* # Block */
7154
7291
 
@@ -7170,7 +7307,7 @@ var blockquoteStyles = css`
7170
7307
  .blockquote__quote {
7171
7308
  display: flex;
7172
7309
  flex-direction: column;
7173
- gap: calc(var(--_blockquote-spacing) / 2);
7310
+ gap: calc(1lh / 2);
7174
7311
  font: var(--_blockquote-quote-font);
7175
7312
  }
7176
7313
 
@@ -7226,14 +7363,27 @@ function template$17(component) {
7226
7363
  *
7227
7364
  * @element nldd-blockquote
7228
7365
  * @attr {string} cite - URL of the source (forwarded to the <blockquote> element)
7366
+ * @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. A quote in running text keeps its own size. Set per breakpoint on purpose: a breakpoint without one keeps the quote's own size, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the quote's own 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 the quote's own size
7367
+ * @attr {string} md-custom-size - The same, at md
7368
+ * @attr {string} lg-custom-size - The same, at lg
7229
7369
  *
7230
7370
  * @slot - The paragraph or paragraphs of the quote; prefer <p> elements
7231
7371
  * @slot attribution - Optional source attribution (author, title, and so on). An nldd-identity is allowed here; the em dash ("— ") is then left out.
7232
7372
  */
7233
- var _NLDDBlockquote = class NLDDBlockquote extends LitElement {
7373
+ var _NLDDBlockquote;
7374
+ /** The quote's own font size per breakpoint: the floor of a custom size. */
7375
+ var QUOTE_FONT_SIZE = {
7376
+ sm: "var(--primitives-font-size-200)",
7377
+ md: "var(--primitives-font-size-300)",
7378
+ lg: "var(--primitives-font-size-300)"
7379
+ };
7380
+ var NLDDBlockquote = (_NLDDBlockquote = class NLDDBlockquote extends LitElement {
7234
7381
  constructor(..._args) {
7235
7382
  super(..._args);
7236
7383
  this.cite = void 0;
7384
+ this.smCustomSize = "";
7385
+ this.mdCustomSize = "";
7386
+ this.lgCustomSize = "";
7237
7387
  this._hasAttribution = false;
7238
7388
  this._hasIdentityAttribution = false;
7239
7389
  this._handleAttributionSlotChange = (e) => {
@@ -7244,18 +7394,47 @@ var _NLDDBlockquote = class NLDDBlockquote extends LitElement {
7244
7394
  });
7245
7395
  this._hasIdentityAttribution = slot.assignedElements({ flatten: true }).some((el) => el.tagName === "NLDD-IDENTITY");
7246
7396
  };
7397
+ this._customSizes = {};
7398
+ }
7399
+ willUpdate(changed) {
7400
+ super.willUpdate(changed);
7401
+ if (!changed.has("smCustomSize") && !changed.has("mdCustomSize") && !changed.has("lgCustomSize")) return;
7402
+ this._customSizes = applyCustomFontSizes(this, "blockquote", {
7403
+ sm: this.smCustomSize,
7404
+ md: this.mdCustomSize,
7405
+ lg: this.lgCustomSize
7406
+ });
7407
+ }
7408
+ updated(changed) {
7409
+ super.updated(changed);
7410
+ if (!import.meta.env?.DEV) return;
7411
+ if (changed.has("smCustomSize") || changed.has("mdCustomSize") || changed.has("lgCustomSize")) checkCustomFontSizeFloor(this, this._customSizes, QUOTE_FONT_SIZE);
7247
7412
  }
7248
7413
  render() {
7249
7414
  return template$17(this);
7250
7415
  }
7251
- };
7252
- var NLDDBlockquote = (_NLDDBlockquote.styles = blockquoteStyles, _NLDDBlockquote);
7416
+ }, _NLDDBlockquote.styles = blockquoteStyles, _NLDDBlockquote);
7253
7417
  __decorate([property({ type: String })], NLDDBlockquote.prototype, "cite", void 0);
7418
+ __decorate([property({
7419
+ reflect: true,
7420
+ attribute: "sm-custom-size",
7421
+ converter: reflectNonDefault("")
7422
+ })], NLDDBlockquote.prototype, "smCustomSize", void 0);
7423
+ __decorate([property({
7424
+ reflect: true,
7425
+ attribute: "md-custom-size",
7426
+ converter: reflectNonDefault("")
7427
+ })], NLDDBlockquote.prototype, "mdCustomSize", void 0);
7428
+ __decorate([property({
7429
+ reflect: true,
7430
+ attribute: "lg-custom-size",
7431
+ converter: reflectNonDefault("")
7432
+ })], NLDDBlockquote.prototype, "lgCustomSize", void 0);
7254
7433
  __decorate([state()], NLDDBlockquote.prototype, "_hasAttribution", void 0);
7255
7434
  __decorate([state()], NLDDBlockquote.prototype, "_hasIdentityAttribution", void 0);
7256
7435
  NLDDBlockquote = __decorate([customElement("nldd-blockquote")], NLDDBlockquote);
7257
7436
  // src/components/content/avatar-group/avatar-group.styles.ts
7258
- var mdMin$23 = unsafeCSS(queryBreakpoints.mdMin);
7437
+ var mdMin$24 = unsafeCSS(queryBreakpoints.mdMin);
7259
7438
  var avatarGroupStyles = css`
7260
7439
  :host {
7261
7440
  box-sizing: border-box;
@@ -7386,7 +7565,7 @@ var avatarGroupStyles = css`
7386
7565
 
7387
7566
 
7388
7567
  /* Anchored on md and up, the list needs no bar to close it. */
7389
- @media (min-width: ${mdMin$23}) {
7568
+ @media (min-width: ${mdMin$24}) {
7390
7569
  .avatar-group__overflow-title-bar {
7391
7570
  display: none;
7392
7571
  }
@@ -7491,8 +7670,8 @@ function avatarGroupTemplate(component) {
7491
7670
  `;
7492
7671
  }
7493
7672
  // src/components/layout/popover/popover.styles.ts
7494
- var smMax$19 = unsafeCSS(queryBreakpoints.smMax);
7495
- var mdMin$22 = unsafeCSS(queryBreakpoints.mdMin);
7673
+ var smMax$20 = unsafeCSS(queryBreakpoints.smMax);
7674
+ var mdMin$23 = unsafeCSS(queryBreakpoints.mdMin);
7496
7675
  var popoverStyles = css`
7497
7676
  :host {
7498
7677
  box-sizing: border-box;
@@ -7502,14 +7681,16 @@ var popoverStyles = css`
7502
7681
  /* # Host */
7503
7682
 
7504
7683
  :host {
7684
+ --_popover-background-color: var(--semantics-surfaces-base-background-color);
7505
7685
  --_popover-max-height: calc(100vh - var(--semantics-overlays-inset) * 2);
7506
7686
  --_popover-default-width: var(--primitives-area-320);
7687
+ --context-parent-background-color: var(--_popover-background-color);
7507
7688
 
7508
7689
  margin: 0;
7509
7690
  outline: none;
7510
7691
  border: none;
7511
7692
  box-shadow: var(--semantics-overlays-box-shadow);
7512
- background-color: var(--semantics-surfaces-base-background-color);
7693
+ background-color: var(--_popover-background-color);
7513
7694
  overflow: auto;
7514
7695
  padding: 0;
7515
7696
  isolation: isolate;
@@ -7518,7 +7699,7 @@ var popoverStyles = css`
7518
7699
  -webkit-user-select: text;
7519
7700
  user-select: text;
7520
7701
 
7521
- @media (max-width: ${smMax$19}) {
7702
+ @media (max-width: ${smMax$20}) {
7522
7703
  position: fixed;
7523
7704
  inset: auto 0 0 0;
7524
7705
  border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
@@ -7532,7 +7713,7 @@ var popoverStyles = css`
7532
7713
  overlay var(--semantics-sheets-bottom-animation-duration) allow-discrete;
7533
7714
  }
7534
7715
 
7535
- @media (min-width: ${mdMin$22}) {
7716
+ @media (min-width: ${mdMin$23}) {
7536
7717
  position: absolute;
7537
7718
  inset: unset;
7538
7719
  border-radius: var(--semantics-overlays-corner-radius);
@@ -7568,7 +7749,7 @@ var popoverStyles = css`
7568
7749
  keeps it laid out so its size can be measured. The sm bottom-sheet is CSS-animated
7569
7750
  and positioned, so it is excluded. The positioned attribute is set once
7570
7751
  reposition() finishes and cleared on every re-open. */
7571
- @media (min-width: ${mdMin$22}) {
7752
+ @media (min-width: ${mdMin$23}) {
7572
7753
  :host(:popover-open:not([positioned])) {
7573
7754
  visibility: hidden;
7574
7755
  }
@@ -7581,7 +7762,7 @@ var popoverStyles = css`
7581
7762
  }
7582
7763
 
7583
7764
  :host(:popover-open) {
7584
- @media (max-width: ${smMax$19}) {
7765
+ @media (max-width: ${smMax$20}) {
7585
7766
  transform: translateY(0);
7586
7767
 
7587
7768
  @starting-style {
@@ -7591,13 +7772,13 @@ var popoverStyles = css`
7591
7772
  }
7592
7773
 
7593
7774
  :host::backdrop {
7594
- @media (max-width: ${smMax$19}) {
7775
+ @media (max-width: ${smMax$20}) {
7595
7776
  background-color: var(--semantics-overlays-backdrop-color);
7596
7777
  }
7597
7778
  }
7598
7779
 
7599
7780
  :host([sm-full-height]) {
7600
- @media (max-width: ${smMax$19}) {
7781
+ @media (max-width: ${smMax$20}) {
7601
7782
  height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
7602
7783
  }
7603
7784
  }
@@ -8120,10 +8301,10 @@ __decorate([property({
8120
8301
  })], NLDDPopover.prototype, "open", void 0);
8121
8302
  NLDDPopover = _NLDDPopover = __decorate([customElement("nldd-popover")], NLDDPopover);
8122
8303
  // src/components/layout/container/container.styles.ts
8123
- var smMax$18 = unsafeCSS(queryBreakpoints.smMax);
8124
- var mdMin$21 = unsafeCSS(queryBreakpoints.mdMin);
8125
- var mdMax$14 = unsafeCSS(queryBreakpoints.mdMax);
8126
- var lgMin$15 = unsafeCSS(queryBreakpoints.lgMin);
8304
+ var smMax$19 = unsafeCSS(queryBreakpoints.smMax);
8305
+ var mdMin$22 = unsafeCSS(queryBreakpoints.mdMin);
8306
+ var mdMax$15 = unsafeCSS(queryBreakpoints.mdMax);
8307
+ var lgMin$16 = unsafeCSS(queryBreakpoints.lgMin);
8127
8308
  var containerStyles = css`
8128
8309
  :host {
8129
8310
  box-sizing: border-box;
@@ -8170,13 +8351,13 @@ var containerStyles = css`
8170
8351
  container and anywhere else the viewport. Multicol reads the gap in three
8171
8352
  rules, so the value is swapped here rather than declared in each. The
8172
8353
  bare --_container-gap is what stands when neither set matches. */
8173
- @media (max-width: ${smMax$18}) { --_container-gap: var(--_container-sm-gap); }
8174
- @media (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) { --_container-gap: var(--_container-md-gap); }
8175
- @media (min-width: ${lgMin$15}) { --_container-gap: var(--_container-lg-gap); }
8354
+ @media (max-width: ${smMax$19}) { --_container-gap: var(--_container-sm-gap); }
8355
+ @media (min-width: ${mdMin$22}) and (max-width: ${mdMax$15}) { --_container-gap: var(--_container-md-gap); }
8356
+ @media (min-width: ${lgMin$16}) { --_container-gap: var(--_container-lg-gap); }
8176
8357
 
8177
- @container layout-container (max-width: ${smMax$18}) { --_container-gap: var(--_container-sm-gap); }
8178
- @container layout-container (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) { --_container-gap: var(--_container-md-gap); }
8179
- @container layout-container (min-width: ${lgMin$15}) { --_container-gap: var(--_container-lg-gap); }
8358
+ @container layout-container (max-width: ${smMax$19}) { --_container-gap: var(--_container-sm-gap); }
8359
+ @container layout-container (min-width: ${mdMin$22}) and (max-width: ${mdMax$15}) { --_container-gap: var(--_container-md-gap); }
8360
+ @container layout-container (min-width: ${lgMin$16}) { --_container-gap: var(--_container-lg-gap); }
8180
8361
 
8181
8362
  display: block;
8182
8363
  width: var(--_container-width);
@@ -8193,6 +8374,19 @@ var containerStyles = css`
8193
8374
  display: none;
8194
8375
  }
8195
8376
 
8377
+ /* Same query as shortcutsAvailable() in utilities/shortcut.ts. */
8378
+ @media (any-hover: none) {
8379
+ :host([hide-on="touch"]) {
8380
+ display: none;
8381
+ }
8382
+ }
8383
+
8384
+ @media (any-hover: hover) {
8385
+ :host([hide-on="pointer"]) {
8386
+ display: none;
8387
+ }
8388
+ }
8389
+
8196
8390
 
8197
8391
  /* # Outer chrome — padding + query container. Size queries measure the
8198
8392
  content box, so .container reports the same padded interior width the
@@ -8207,42 +8401,42 @@ var containerStyles = css`
8207
8401
  padding-bottom: var(--_container-padding-bottom);
8208
8402
  padding-left: var(--_container-padding-left);
8209
8403
 
8210
- @media (max-width: ${smMax$18}) {
8404
+ @media (max-width: ${smMax$19}) {
8211
8405
  padding-top: var(--_container-sm-padding-top);
8212
8406
  padding-right: var(--_container-sm-padding-right);
8213
8407
  padding-bottom: var(--_container-sm-padding-bottom);
8214
8408
  padding-left: var(--_container-sm-padding-left);
8215
8409
  }
8216
8410
 
8217
- @media (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) {
8411
+ @media (min-width: ${mdMin$22}) and (max-width: ${mdMax$15}) {
8218
8412
  padding-top: var(--_container-md-padding-top);
8219
8413
  padding-right: var(--_container-md-padding-right);
8220
8414
  padding-bottom: var(--_container-md-padding-bottom);
8221
8415
  padding-left: var(--_container-md-padding-left);
8222
8416
  }
8223
8417
 
8224
- @media (min-width: ${lgMin$15}) {
8418
+ @media (min-width: ${lgMin$16}) {
8225
8419
  padding-top: var(--_container-lg-padding-top);
8226
8420
  padding-right: var(--_container-lg-padding-right);
8227
8421
  padding-bottom: var(--_container-lg-padding-bottom);
8228
8422
  padding-left: var(--_container-lg-padding-left);
8229
8423
  }
8230
8424
 
8231
- @container layout-container (max-width: ${smMax$18}) {
8425
+ @container layout-container (max-width: ${smMax$19}) {
8232
8426
  padding-top: var(--_container-sm-padding-top);
8233
8427
  padding-right: var(--_container-sm-padding-right);
8234
8428
  padding-bottom: var(--_container-sm-padding-bottom);
8235
8429
  padding-left: var(--_container-sm-padding-left);
8236
8430
  }
8237
8431
 
8238
- @container layout-container (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) {
8432
+ @container layout-container (min-width: ${mdMin$22}) and (max-width: ${mdMax$15}) {
8239
8433
  padding-top: var(--_container-md-padding-top);
8240
8434
  padding-right: var(--_container-md-padding-right);
8241
8435
  padding-bottom: var(--_container-md-padding-bottom);
8242
8436
  padding-left: var(--_container-md-padding-left);
8243
8437
  }
8244
8438
 
8245
- @container layout-container (min-width: ${lgMin$15}) {
8439
+ @container layout-container (min-width: ${lgMin$16}) {
8246
8440
  padding-top: var(--_container-lg-padding-top);
8247
8441
  padding-right: var(--_container-lg-padding-right);
8248
8442
  padding-bottom: var(--_container-lg-padding-bottom);
@@ -8363,7 +8557,7 @@ var containerStyles = css`
8363
8557
 
8364
8558
  /* # Column count — sm scope (queries :host own width) */
8365
8559
 
8366
- @container (max-width: ${smMax$18}) {
8560
+ @container (max-width: ${smMax$19}) {
8367
8561
  :host([sm-column-count="1"]) .container__inner { --_container-column-count: 1; }
8368
8562
  :host([sm-column-count="2"]) .container__inner { --_container-column-count: 2; }
8369
8563
  :host([sm-column-count="3"]) .container__inner { --_container-column-count: 3; }
@@ -8378,7 +8572,7 @@ var containerStyles = css`
8378
8572
 
8379
8573
  /* # Column count — md scope */
8380
8574
 
8381
- @container (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) {
8575
+ @container (min-width: ${mdMin$22}) and (max-width: ${mdMax$15}) {
8382
8576
  :host([md-column-count="1"]) .container__inner { --_container-column-count: 1; }
8383
8577
  :host([md-column-count="2"]) .container__inner { --_container-column-count: 2; }
8384
8578
  :host([md-column-count="3"]) .container__inner { --_container-column-count: 3; }
@@ -8393,7 +8587,7 @@ var containerStyles = css`
8393
8587
 
8394
8588
  /* # Column count — lg scope */
8395
8589
 
8396
- @container (min-width: ${lgMin$15}) {
8590
+ @container (min-width: ${lgMin$16}) {
8397
8591
  :host([lg-column-count="1"]) .container__inner { --_container-column-count: 1; }
8398
8592
  :host([lg-column-count="2"]) .container__inner { --_container-column-count: 2; }
8399
8593
  :host([lg-column-count="3"]) .container__inner { --_container-column-count: 3; }
@@ -8418,15 +8612,15 @@ var containerStyles = css`
8418
8612
  order: var(--_container-slot-order, 0);
8419
8613
  }
8420
8614
 
8421
- @container (max-width: ${smMax$18}) {
8615
+ @container (max-width: ${smMax$19}) {
8422
8616
  ::slotted(*) { order: var(--_container-slot-sm-order, var(--_container-slot-order, 0)); }
8423
8617
  }
8424
8618
 
8425
- @container (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) {
8619
+ @container (min-width: ${mdMin$22}) and (max-width: ${mdMax$15}) {
8426
8620
  ::slotted(*) { order: var(--_container-slot-md-order, var(--_container-slot-order, 0)); }
8427
8621
  }
8428
8622
 
8429
- @container (min-width: ${lgMin$15}) {
8623
+ @container (min-width: ${lgMin$16}) {
8430
8624
  ::slotted(*) { order: var(--_container-slot-lg-order, var(--_container-slot-order, 0)); }
8431
8625
  }
8432
8626
  `;
@@ -8603,6 +8797,7 @@ function spacingToValue(value) {
8603
8797
  * @attr {string} lg-padding-right - Padding right at lg
8604
8798
  * @attr {string} lg-padding-bottom - Padding bottom at lg
8605
8799
  * @attr {string} lg-padding-left - Padding left at lg
8800
+ * @attr {string} hide-on - 'touch' | 'pointer'. Takes the container and all it holds away, for screen readers as well, on a device that only has touch (`touch`) or on one with a mouse or trackpad (`pointer`), the same test that hides keyboard shortcuts. For what only works with one of the two, such as a setting about hover. Not for content: what one visitor gets, the other should get too.
8606
8801
  * @attr {string} horizontal-alignment - 'left' | 'center' | 'right'
8607
8802
  * @attr {string} vertical-alignment - 'top' | 'center' | 'bottom'
8608
8803
  *
@@ -8632,6 +8827,7 @@ var NLDDContainer = (_NLDDContainer = class NLDDContainer extends LitElement {
8632
8827
  this.minWidth = "";
8633
8828
  this.maxWidth = "";
8634
8829
  this.minHeight = "";
8830
+ this.hideOn = "";
8635
8831
  this.gap = void 0;
8636
8832
  this.smGap = void 0;
8637
8833
  this.mdGap = void 0;
@@ -8810,20 +9006,25 @@ __decorate([property({
8810
9006
  converter: reflectNonDefault("")
8811
9007
  })], NLDDContainer.prototype, "width", void 0);
8812
9008
  __decorate([property({
8813
- type: String,
8814
9009
  reflect: true,
8815
- attribute: "min-width"
9010
+ attribute: "min-width",
9011
+ converter: reflectNonDefault("")
8816
9012
  })], NLDDContainer.prototype, "minWidth", void 0);
8817
9013
  __decorate([property({
8818
- type: String,
8819
9014
  reflect: true,
8820
- attribute: "max-width"
9015
+ attribute: "max-width",
9016
+ converter: reflectNonDefault("")
8821
9017
  })], NLDDContainer.prototype, "maxWidth", void 0);
8822
9018
  __decorate([property({
8823
- type: String,
8824
9019
  reflect: true,
8825
- attribute: "min-height"
9020
+ attribute: "min-height",
9021
+ converter: reflectNonDefault("")
8826
9022
  })], NLDDContainer.prototype, "minHeight", void 0);
9023
+ __decorate([property({
9024
+ reflect: true,
9025
+ attribute: "hide-on",
9026
+ converter: reflectNonDefault("")
9027
+ })], NLDDContainer.prototype, "hideOn", void 0);
8827
9028
  __decorate([property({
8828
9029
  type: String,
8829
9030
  reflect: true
@@ -13162,7 +13363,7 @@ __decorate([state()], NLDDAvatarGroup.prototype, "_total", void 0);
13162
13363
  __decorate([state()], NLDDAvatarGroup.prototype, "_fitMax", void 0);
13163
13364
  NLDDAvatarGroup = __decorate([customElement("nldd-avatar-group")], NLDDAvatarGroup);
13164
13365
  // src/components/content/identity/identity.styles.ts
13165
- var smMax$17 = unsafeCSS(queryBreakpoints.smMax);
13366
+ var smMax$18 = unsafeCSS(queryBreakpoints.smMax);
13166
13367
  var identityStyles = css`
13167
13368
  :host {
13168
13369
  box-sizing: border-box;
@@ -13200,7 +13401,7 @@ var identityStyles = css`
13200
13401
  }
13201
13402
 
13202
13403
  .identity[data-multiple-avatars] {
13203
- @container (max-width: ${smMax$17}) {
13404
+ @container (max-width: ${smMax$18}) {
13204
13405
  flex-direction: column;
13205
13406
  align-items: flex-start;
13206
13407
  }
@@ -16098,6 +16299,50 @@ __decorate([state()], NLDDTag.prototype, "_hasSlotText", void 0);
16098
16299
  __decorate([state()], NLDDTag.prototype, "_hasSlotIcon", void 0);
16099
16300
  NLDDTag = __decorate([customElement("nldd-tag")], NLDDTag);
16100
16301
  // src/components/content/text/text.styles.ts
16302
+ var smMax$17 = unsafeCSS(queryBreakpoints.smMax);
16303
+ var mdMin$21 = unsafeCSS(queryBreakpoints.mdMin);
16304
+ var mdMax$14 = unsafeCSS(queryBreakpoints.mdMax);
16305
+ var lgMin$15 = unsafeCSS(queryBreakpoints.lgMin);
16306
+ /** Sets --_text-font per breakpoint, from the viewport and from a layout-container alike, as nldd-title does. */
16307
+ var fontPerBreakpoint = (host, sm, md, lg) => css`
16308
+ ${unsafeCSS(host)} {
16309
+ @media (max-width: ${smMax$17}) {
16310
+ --_text-font: ${unsafeCSS(sm)};
16311
+ }
16312
+
16313
+ @media (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) {
16314
+ --_text-font: ${unsafeCSS(md)};
16315
+ }
16316
+
16317
+ @media (min-width: ${lgMin$15}) {
16318
+ --_text-font: ${unsafeCSS(lg)};
16319
+ }
16320
+
16321
+ @container layout-container (max-width: ${smMax$17}) {
16322
+ --_text-font: ${unsafeCSS(sm)};
16323
+ }
16324
+
16325
+ @container layout-container (min-width: ${mdMin$21}) and (max-width: ${mdMax$14}) {
16326
+ --_text-font: ${unsafeCSS(md)};
16327
+ }
16328
+
16329
+ @container layout-container (min-width: ${lgMin$15}) {
16330
+ --_text-font: ${unsafeCSS(lg)};
16331
+ }
16332
+ }
16333
+ `;
16334
+ /** Sets --_text-font at one breakpoint only, for a custom size. */
16335
+ var fontAt = (host, query, containerQuery, font) => css`
16336
+ ${unsafeCSS(host)} {
16337
+ @media ${query} {
16338
+ --_text-font: ${unsafeCSS(font)};
16339
+ }
16340
+
16341
+ @container layout-container ${containerQuery} {
16342
+ --_text-font: ${unsafeCSS(font)};
16343
+ }
16344
+ }
16345
+ `;
16101
16346
  var textStyles = css`
16102
16347
 
16103
16348
 
@@ -16108,6 +16353,15 @@ var textStyles = css`
16108
16353
  --_text-font-weight: var(--primitives-font-weight-body-regular);
16109
16354
  --_text-line-height: var(--primitives-line-height-snug);
16110
16355
  --_text-max-width: var(--semantics-text-max-width);
16356
+ --_text-font: var(--_text-font-weight) var(--_text-font-size) / var(--_text-line-height) var(--primitives-font-family-body);
16357
+ --_text-hyphenate-limit-before: 5;
16358
+ --_text-hyphenate-limit-after: 5;
16359
+ --_text-sm-custom-size: initial;
16360
+ --_text-md-custom-size: initial;
16361
+ --_text-lg-custom-size: initial;
16362
+ --_text-sm-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-sm-custom-size), var(--primitives-font-size-700)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
16363
+ --_text-md-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-md-custom-size), var(--primitives-font-size-800)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
16364
+ --_text-lg-custom-font: var(--primitives-font-weight-display-bold) max(var(--_text-lg-custom-size), var(--primitives-font-size-1000)) / var(--primitives-line-height-flat) var(--primitives-font-family-display);
16111
16365
  --_text-color: var(--context-content-color, var(--semantics-content-color));
16112
16366
  --_text-align: left;
16113
16367
  --_text-link-color: var(--semantics-links-color);
@@ -16141,7 +16395,7 @@ var textStyles = css`
16141
16395
  max-width: var(--_text-max-width);
16142
16396
  color: var(--_text-color);
16143
16397
  text-align: var(--_text-align);
16144
- font: var(--_text-font-weight) var(--_text-font-size) / var(--_text-line-height) var(--primitives-font-family-body);
16398
+ font: var(--_text-font);
16145
16399
  text-wrap: pretty;
16146
16400
  }
16147
16401
 
@@ -16168,6 +16422,39 @@ var textStyles = css`
16168
16422
  --_text-font-size: var(--primitives-font-size-200);
16169
16423
  }
16170
16424
 
16425
+ /* ## Display */
16426
+
16427
+ ${unsafeCSS([
16428
+ 6,
16429
+ 5,
16430
+ 4,
16431
+ 3,
16432
+ 2,
16433
+ 1
16434
+ ].map((n) => fontPerBreakpoint(`:host([size="display-${n}"])`, `var(--primitives-font-display-${n}-sm)`, `var(--primitives-font-display-${n}-md)`, `var(--primitives-font-display-${n}-lg)`).cssText).join("\n"))}
16435
+
16436
+ /* ## Custom size */
16437
+
16438
+ ${fontAt(":host([data-sm-custom-size])", css`(max-width: ${smMax$17})`, css`(max-width: ${smMax$17})`, "var(--_text-sm-custom-font)")}
16439
+ ${fontAt(":host([data-md-custom-size])", css`(min-width: ${mdMin$21}) and (max-width: ${mdMax$14})`, css`(min-width: ${mdMin$21}) and (max-width: ${mdMax$14})`, "var(--_text-md-custom-font)")}
16440
+ ${fontAt(":host([data-lg-custom-size])", css`(min-width: ${lgMin$15})`, css`(min-width: ${lgMin$15})`, "var(--_text-lg-custom-font)")}
16441
+
16442
+ /* The measure is in ch, as on nldd-title: 40em of large letters is a ruler. */
16443
+ :host([size^="display-"]),
16444
+ :host([data-sm-custom-size]),
16445
+ :host([data-md-custom-size]),
16446
+ :host([data-lg-custom-size]) {
16447
+ --_text-max-width: 40ch;
16448
+
16449
+ overflow-wrap: anywhere;
16450
+ text-wrap: balance;
16451
+ -webkit-hyphens: auto;
16452
+ hyphens: auto;
16453
+ -webkit-hyphenate-limit-before: var(--_text-hyphenate-limit-before);
16454
+ -webkit-hyphenate-limit-after: var(--_text-hyphenate-limit-after);
16455
+ hyphenate-limit-chars: 12 var(--_text-hyphenate-limit-before) var(--_text-hyphenate-limit-after);
16456
+ }
16457
+
16171
16458
 
16172
16459
  /* # Weight */
16173
16460
 
@@ -16188,6 +16475,11 @@ var textStyles = css`
16188
16475
  font-weight: var(--primitives-font-weight-body-bold);
16189
16476
  }
16190
16477
 
16478
+ :host([size^="display-"]) ::slotted(strong),
16479
+ :host([size^="display-"]) ::slotted(b) {
16480
+ font-weight: inherit;
16481
+ }
16482
+
16191
16483
 
16192
16484
  /* # Inline elements */
16193
16485
 
@@ -16395,6 +16687,14 @@ function template$12() {
16395
16687
  * own rhythm, spacing and media widths, which is `nldd-rich-text`. This is one
16396
16688
  * run of text and nothing around it.
16397
16689
  *
16690
+ * For large letters that are not a heading, such as a number or a statement on
16691
+ * a landing page, take a display size: `display-6` to `display-1` are the sizes
16692
+ * of `nldd-title`, with its weight, typeface and line height, and they follow
16693
+ * the breakpoint as a title does. `weight` and `line-height` belong to the body
16694
+ * sizes and do nothing at a display size. For a statement larger than
16695
+ * `display-1`, give each breakpoint a size of its own with `sm-custom-size`,
16696
+ * `md-custom-size` and `lg-custom-size`.
16697
+ *
16398
16698
  * Color follows the context channel a list item, menu or table sets on its
16399
16699
  * content, so text inside a row travels with that row as it is hovered or
16400
16700
  * selected. Standalone that channel is unset and the semantic color answers.
@@ -16406,7 +16706,10 @@ function template$12() {
16406
16706
  * beside its own heading.
16407
16707
  *
16408
16708
  * @element nldd-text
16409
- * @attr {string} size - Text size on the body scale: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
16709
+ * @attr {string} size - Text size: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' on the body scale (default: 'md'), or 'display-6' to 'display-1' for large letters that are not a heading, from small to large
16710
+ * @attr {string} sm-custom-size - A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the text without its size, the floor included. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so text made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, 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). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size`
16711
+ * @attr {string} md-custom-size - The same, at md
16712
+ * @attr {string} lg-custom-size - The same, at lg
16410
16713
  * @attr {string} weight - Font weight: 'regular' | 'medium' | 'bold' (default: 'regular'). With 'bold' a slotted `<strong>` no longer stands out: there is nothing bolder in the scale.
16411
16714
  * @attr {string} line-height - Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug')
16412
16715
  * @attr {string} color - Text color: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical' | 'inherit'. 'content' and 'secondary' follow the surrounding content channel; 'inherit' takes the color it inherits, for text on a painted surface.
@@ -16418,10 +16721,28 @@ var _NLDDText = class NLDDText extends LitElement {
16418
16721
  constructor(..._args) {
16419
16722
  super(..._args);
16420
16723
  this.size = "md";
16724
+ this.smCustomSize = "";
16725
+ this.mdCustomSize = "";
16726
+ this.lgCustomSize = "";
16421
16727
  this.weight = "regular";
16422
16728
  this.lineHeight = "snug";
16423
16729
  this.color = "content";
16424
16730
  this.horizontalAlignment = "left";
16731
+ this._customSizes = {};
16732
+ }
16733
+ willUpdate(changed) {
16734
+ super.willUpdate(changed);
16735
+ if (!changed.has("smCustomSize") && !changed.has("mdCustomSize") && !changed.has("lgCustomSize")) return;
16736
+ this._customSizes = applyCustomFontSizes(this, "text", {
16737
+ sm: this.smCustomSize,
16738
+ md: this.mdCustomSize,
16739
+ lg: this.lgCustomSize
16740
+ });
16741
+ }
16742
+ updated(changed) {
16743
+ super.updated(changed);
16744
+ if (!import.meta.env?.DEV) return;
16745
+ if (changed.has("smCustomSize") || changed.has("mdCustomSize") || changed.has("lgCustomSize")) checkCustomFontSizeFloor(this, this._customSizes, DISPLAY_1_FONT_SIZE);
16425
16746
  }
16426
16747
  render() {
16427
16748
  return template$12();
@@ -16432,6 +16753,21 @@ __decorate([property({
16432
16753
  reflect: true,
16433
16754
  converter: reflectNonDefault("md")
16434
16755
  })], NLDDText.prototype, "size", void 0);
16756
+ __decorate([property({
16757
+ reflect: true,
16758
+ attribute: "sm-custom-size",
16759
+ converter: reflectNonDefault("")
16760
+ })], NLDDText.prototype, "smCustomSize", void 0);
16761
+ __decorate([property({
16762
+ reflect: true,
16763
+ attribute: "md-custom-size",
16764
+ converter: reflectNonDefault("")
16765
+ })], NLDDText.prototype, "mdCustomSize", void 0);
16766
+ __decorate([property({
16767
+ reflect: true,
16768
+ attribute: "lg-custom-size",
16769
+ converter: reflectNonDefault("")
16770
+ })], NLDDText.prototype, "lgCustomSize", void 0);
16435
16771
  __decorate([property({
16436
16772
  reflect: true,
16437
16773
  converter: reflectNonDefault("regular")
@@ -16864,50 +17200,14 @@ function titleTemplate(component) {
16864
17200
  * @attr {string} text - Title text. Content in the default slot takes its place.
16865
17201
  * @attr {string} supporting-text - Text below the title. Content in the supporting-text slot takes its place.
16866
17202
  * @attr {string} overline - Text above the title. Content in the overline slot takes its place.
16867
- * @attr {1|2|3|4|5|6} heading-level - Renders text as h1–h6; absent renders a p, for a title that is not a heading.
17203
+ * @attr {1|2|3|4|5|6} heading-level - Renders text as h1–h6. Absent renders a p, which is no heading: for large letters that are not a heading, use nldd-text with a display size.
16868
17204
  *
16869
17205
  * @slot overline - Overline that is more than text. Takes the place of the overline attribute.
16870
17206
  * @slot - Title that is more than text, such as a link. Takes the place of text, and brings its own h1–h6 for semantics.
16871
17207
  * @slot supporting-text - Supporting text that is more than text. Takes the place of the supporting-text attribute.
16872
17208
  * @slot end - Whatever belongs at the end of the title line: a button, a menu, a status badge, a version. Named for the position, not for a kind of content, because anything can sit there.
16873
17209
  */
16874
- var _NLDDTitle;
16875
- var BREAKPOINTS = [
16876
- "sm",
16877
- "md",
16878
- "lg"
16879
- ];
16880
- /** The font size of size 1 per breakpoint: the floor of a custom size. */
16881
- var SIZE_1_FONT_SIZE = {
16882
- sm: "var(--primitives-font-size-700)",
16883
- md: "var(--primitives-font-size-800)",
16884
- lg: "var(--primitives-font-size-1000)"
16885
- };
16886
- /** Font-size values that are not a length: the CSS-wide keywords and the
16887
- * absolute and relative size keywords. */
16888
- var NOT_A_LENGTH = /* @__PURE__ */ new Set([
16889
- "inherit",
16890
- "initial",
16891
- "unset",
16892
- "revert",
16893
- "revert-layer",
16894
- "xx-small",
16895
- "x-small",
16896
- "small",
16897
- "medium",
16898
- "large",
16899
- "x-large",
16900
- "xx-large",
16901
- "xxx-large",
16902
- "larger",
16903
- "smaller",
16904
- "math"
16905
- ]);
16906
- /** A length font-size takes. A keyword cannot go inside the max() that keeps the floor, so it would void the whole font. */
16907
- function isFontSize(value) {
16908
- return !NOT_A_LENGTH.has(value.toLowerCase()) && CSS.supports("font-size", value);
16909
- }
16910
- var NLDDTitle = (_NLDDTitle = class NLDDTitle extends LitElement {
17210
+ var _NLDDTitle = class NLDDTitle extends LitElement {
16911
17211
  constructor(..._args) {
16912
17212
  super(..._args);
16913
17213
  this.size = 3;
@@ -16934,60 +17234,22 @@ var NLDDTitle = (_NLDDTitle = class NLDDTitle extends LitElement {
16934
17234
  willUpdate(changed) {
16935
17235
  super.willUpdate(changed);
16936
17236
  if (!changed.has("smCustomSize") && !changed.has("mdCustomSize") && !changed.has("lgCustomSize")) return;
16937
- if (typeof CSS === "undefined") return;
16938
- const own = {
17237
+ this._customSizes = applyCustomFontSizes(this, "title", {
16939
17238
  sm: this.smCustomSize,
16940
17239
  md: this.mdCustomSize,
16941
17240
  lg: this.lgCustomSize
16942
- };
16943
- this._customSizes = {};
16944
- let invalid = false;
16945
- for (const breakpoint of BREAKPOINTS) {
16946
- const value = (own[breakpoint] || "").trim();
16947
- const valid = value !== "" && isFontSize(value);
16948
- if (valid) {
16949
- this._customSizes[breakpoint] = value;
16950
- this.style.setProperty(`--_title-${breakpoint}-custom-size`, value);
16951
- } else this.style.removeProperty(`--_title-${breakpoint}-custom-size`);
16952
- this.toggleAttribute(`data-${breakpoint}-custom-size`, valid);
16953
- if (value !== "" && !valid) invalid = true;
16954
- }
16955
- setState$1(this, "invalid-custom-size", invalid);
17241
+ });
16956
17242
  }
16957
17243
  updated(changed) {
16958
17244
  super.updated(changed);
16959
17245
  if (!import.meta.env?.DEV) return;
16960
- if (changed.has("smCustomSize") || changed.has("mdCustomSize") || changed.has("lgCustomSize")) this._checkFloor(this._customSizes);
16961
- }
16962
- /** DEV-only: whether a custom size is smaller than size 1, which then shows instead. */
16963
- _checkFloor(sizes) {
16964
- if (!this.shadowRoot || Object.keys(sizes).length === 0) {
16965
- setState$1(this, "custom-size-below-floor", false);
16966
- return;
16967
- }
16968
- const probe = document.createElement("span");
16969
- probe.style.position = "absolute";
16970
- probe.style.visibility = "hidden";
16971
- this.shadowRoot.append(probe);
16972
- const px = (value) => {
16973
- probe.style.fontSize = value;
16974
- return parseFloat(getComputedStyle(probe).fontSize);
16975
- };
16976
- let below = false;
16977
- try {
16978
- for (const [breakpoint, value] of Object.entries(sizes)) {
16979
- if (/%|\d(?:v[whib]|vmin|vmax|cq[whib]|cqmin|cqmax|em|ex|ch|cap|ic|lh)\b/.test(value)) continue;
16980
- if (px(value) < px(SIZE_1_FONT_SIZE[breakpoint]) - .5) below = true;
16981
- }
16982
- } finally {
16983
- probe.remove();
16984
- }
16985
- setState$1(this, "custom-size-below-floor", below);
17246
+ if (changed.has("smCustomSize") || changed.has("mdCustomSize") || changed.has("lgCustomSize")) checkCustomFontSizeFloor(this, this._customSizes, DISPLAY_1_FONT_SIZE);
16986
17247
  }
16987
17248
  render() {
16988
17249
  return titleTemplate(this);
16989
17250
  }
16990
- }, _NLDDTitle.styles = titleStyles, _NLDDTitle);
17251
+ };
17252
+ var NLDDTitle = (_NLDDTitle.styles = titleStyles, _NLDDTitle);
16991
17253
  __decorate([property({
16992
17254
  type: Number,
16993
17255
  reflect: true
@@ -18402,6 +18664,7 @@ var validationItemStyles = css`
18402
18664
  display: none;
18403
18665
  color: var(--_validation-item-content-color);
18404
18666
  font: var(--_validation-item-font);
18667
+ text-wrap: pretty;
18405
18668
  }
18406
18669
 
18407
18670
  :host([visible]) {
@@ -19496,6 +19759,7 @@ var checkboxFieldStyles = css`
19496
19759
  flex-grow: 1;
19497
19760
  color: var(--semantics-content-color);
19498
19761
  font: var(--primitives-font-body-md-regular-snug);
19762
+ text-wrap: pretty;
19499
19763
  }
19500
19764
 
19501
19765
  :host([disabled]) .checkbox-field__label {
@@ -24469,7 +24733,11 @@ function dateFieldTemplate(component) {
24469
24733
  * Read a typed date generously. Deliberately not a mask: reformatting per
24470
24734
  * keystroke moves the caret, breaks backspace mid-value and confuses screen
24471
24735
  * readers, so we accept what people type and normalize once on commit.
24472
- * Accepts 12-3-2026, 12/03/2026, 12.03.2026, 12032026 and ISO yyyy-mm-dd.
24736
+ * Accepts 12-3-2026, 12/03/2026, 12.03.2026 and ISO yyyy-mm-dd, and ddmmyyyy
24737
+ * with or without one separator between each part (12032026, 12-032026, 1203 2026).
24738
+ * Eight bare digits are always read as ddmmyyyy, never as a compact ISO date.
24739
+ * A numeric keypad on a phone has no hyphen, so a date edited there often keeps
24740
+ * one separator and loses the other.
24473
24741
  */
24474
24742
  function parseDate(raw) {
24475
24743
  const trimmed = raw.trim();
@@ -24478,7 +24746,7 @@ function parseDate(raw) {
24478
24746
  if (iso) return toIso(Number(iso[1]), Number(iso[2]), Number(iso[3]));
24479
24747
  const dutch = /^(\d{1,2})[-/.](\d{1,2})[-/.](\d{4})$/.exec(trimmed);
24480
24748
  if (dutch) return toIso(Number(dutch[3]), Number(dutch[2]), Number(dutch[1]));
24481
- const bare = /^(\d{2})(\d{2})(\d{4})$/.exec(trimmed);
24749
+ const bare = /^(\d{2})(?:\s*[./-]\s*|\s+)?(\d{2})(?:\s*[./-]\s*|\s+)?(\d{4})$/.exec(trimmed);
24482
24750
  if (bare) return toIso(Number(bare[3]), Number(bare[2]), Number(bare[1]));
24483
24751
  return null;
24484
24752
  }
@@ -28219,6 +28487,646 @@ __decorate([property({
28219
28487
  reflect: true
28220
28488
  })], NLDDNumberField.prototype, "invalid", void 0);
28221
28489
  NLDDNumberField = __decorate([customElement("nldd-number-field")], NLDDNumberField);
28490
+ // src/components/inputs/one-time-code-field/one-time-code-field.styles.ts
28491
+ var oneTimeCodeFieldStyles = css`
28492
+ :host {
28493
+ box-sizing: border-box;
28494
+ }
28495
+
28496
+
28497
+ /* # Host */
28498
+
28499
+ :host {
28500
+ --_one-time-code-field-gap: var(--primitives-space-8);
28501
+ --_one-time-code-field-box-size: var(--semantics-controls-md-min-size);
28502
+ --_one-time-code-field-box-corner-radius: var(--semantics-controls-md-corner-radius);
28503
+ --_one-time-code-field-box-background-color: var(--semantics-input-fields-background-color);
28504
+ --_one-time-code-field-font: var(--semantics-input-fields-md-text-font);
28505
+ --_one-time-code-field-box-font: var(--primitives-font-monospace-md-regular-flat);
28506
+ --_one-time-code-field-caret-width: var(--primitives-space-2);
28507
+ --_one-time-code-field-caret-height: var(--primitives-space-20);
28508
+
28509
+ ${inheritedTextReset}
28510
+ display: block;
28511
+ max-width: 100%;
28512
+ -webkit-tap-highlight-color: transparent;
28513
+ }
28514
+
28515
+ :host([hidden]) {
28516
+ display: none;
28517
+ }
28518
+
28519
+ :host([size="sm"]) {
28520
+ --_one-time-code-field-gap: var(--primitives-space-6);
28521
+ --_one-time-code-field-box-size: var(--semantics-controls-sm-min-size);
28522
+ --_one-time-code-field-box-corner-radius: var(--semantics-controls-sm-corner-radius);
28523
+ --_one-time-code-field-font: var(--semantics-input-fields-sm-text-font);
28524
+ --_one-time-code-field-box-font: var(--primitives-font-monospace-sm-regular-flat);
28525
+ --_one-time-code-field-caret-height: var(--primitives-space-16);
28526
+ }
28527
+
28528
+ :host([size="lg"]) {
28529
+ --_one-time-code-field-gap: var(--primitives-space-10);
28530
+ --_one-time-code-field-box-size: var(--semantics-controls-lg-min-size);
28531
+ --_one-time-code-field-box-corner-radius: var(--semantics-controls-lg-corner-radius);
28532
+ --_one-time-code-field-box-font: var(--primitives-font-weight-body-regular) var(--primitives-font-size-300) / var(--primitives-line-height-flat) var(--primitives-font-family-monospace);
28533
+ --_one-time-code-field-caret-height: var(--primitives-space-28);
28534
+ }
28535
+
28536
+ :host([readonly]) {
28537
+ --_one-time-code-field-box-background-color: var(--semantics-input-fields-is-read-only-background-color);
28538
+ }
28539
+
28540
+
28541
+ /* # Block */
28542
+
28543
+ .one-time-code-field {
28544
+ display: flex;
28545
+ position: relative;
28546
+ width: fit-content;
28547
+ max-width: 100%;
28548
+ }
28549
+
28550
+ :host([disabled]) .one-time-code-field {
28551
+ opacity: var(--primitives-opacity-disabled);
28552
+ }
28553
+
28554
+
28555
+ /* # Elements */
28556
+
28557
+ .one-time-code-field__input {
28558
+ box-sizing: border-box;
28559
+ position: absolute;
28560
+ inset: 0;
28561
+ z-index: 1;
28562
+ margin: 0;
28563
+ outline: none;
28564
+ border: none;
28565
+ background: transparent;
28566
+ width: 100%;
28567
+ height: 100%;
28568
+ padding: 0;
28569
+ color: transparent;
28570
+ font: var(--_one-time-code-field-font);
28571
+ caret-color: transparent;
28572
+ appearance: none;
28573
+ }
28574
+
28575
+ .one-time-code-field__input::selection {
28576
+ background: transparent;
28577
+ }
28578
+
28579
+ .one-time-code-field__input:-webkit-autofill,
28580
+ .one-time-code-field__input:autofill {
28581
+ box-shadow: 0 0 0 999px transparent inset;
28582
+ -webkit-text-fill-color: transparent;
28583
+ }
28584
+
28585
+ :host([disabled]) .one-time-code-field__input {
28586
+ pointer-events: none;
28587
+ }
28588
+
28589
+ .one-time-code-field__boxes {
28590
+ display: flex;
28591
+ gap: var(--_one-time-code-field-gap);
28592
+ }
28593
+
28594
+ .one-time-code-field__box {
28595
+ box-sizing: border-box;
28596
+ display: flex;
28597
+ border: var(--semantics-input-fields-border);
28598
+ border-radius: var(--_one-time-code-field-box-corner-radius);
28599
+ background-color: var(--_one-time-code-field-box-background-color);
28600
+ width: var(--_one-time-code-field-box-size);
28601
+ min-width: 0;
28602
+ height: var(--_one-time-code-field-box-size);
28603
+ flex-shrink: 1;
28604
+ align-items: center;
28605
+ justify-content: center;
28606
+ color: var(--semantics-content-color);
28607
+ font: var(--_one-time-code-field-box-font);
28608
+ }
28609
+
28610
+ :host([invalid]) .one-time-code-field__box {
28611
+ border-color: var(--semantics-input-fields-is-invalid-border-color);
28612
+ }
28613
+
28614
+ :host([readonly]) .one-time-code-field__box {
28615
+ border-color: var(--semantics-input-fields-is-read-only-border-color);
28616
+ }
28617
+
28618
+ .one-time-code-field__box.is-active {
28619
+ outline: var(--semantics-focus-ring-outline);
28620
+ outline-offset: var(--semantics-focus-ring-outline-offset);
28621
+ box-shadow: var(--semantics-focus-ring-box-shadow);
28622
+ }
28623
+
28624
+ .one-time-code-field__separator {
28625
+ display: flex;
28626
+ align-items: center;
28627
+ color: var(--semantics-content-secondary-color);
28628
+ font: var(--_one-time-code-field-box-font);
28629
+ white-space: pre;
28630
+ }
28631
+
28632
+ .one-time-code-field__character {
28633
+ position: relative;
28634
+ }
28635
+
28636
+ .one-time-code-field__caret {
28637
+ background-color: currentColor;
28638
+ width: var(--_one-time-code-field-caret-width);
28639
+ height: var(--_one-time-code-field-caret-height);
28640
+ animation: one-time-code-field-blink 1s step-end infinite;
28641
+ }
28642
+
28643
+ .one-time-code-field__caret.is-after {
28644
+ position: absolute;
28645
+ top: 50%;
28646
+ left: 100%;
28647
+ margin-left: var(--_one-time-code-field-caret-width);
28648
+ transform: translateY(-50%);
28649
+ }
28650
+
28651
+ @media (prefers-reduced-motion: reduce) {
28652
+ .one-time-code-field__caret {
28653
+ animation: none;
28654
+ }
28655
+ }
28656
+
28657
+ @keyframes one-time-code-field-blink {
28658
+ 50% {
28659
+ opacity: 0;
28660
+ }
28661
+ }
28662
+
28663
+
28664
+ /* # Accessibility */
28665
+
28666
+ @media (forced-colors: active) {
28667
+ .one-time-code-field__box {
28668
+ border-color: CanvasText;
28669
+ }
28670
+
28671
+ .one-time-code-field__box.is-active {
28672
+ outline: 2px solid Highlight;
28673
+ }
28674
+ }
28675
+ `;
28676
+ // src/components/inputs/one-time-code-field/one-time-code-field.template.ts
28677
+ function renderBox(component, index) {
28678
+ const character = component.charAt(index);
28679
+ const active = index === component.activeBox;
28680
+ const caret = active && !component.readonly;
28681
+ return html`
28682
+ <div class=${classMap({
28683
+ "one-time-code-field__box": true,
28684
+ "is-filled": character !== "",
28685
+ "is-active": active
28686
+ })}>
28687
+ ${character === "" ? caret ? html`<span class="one-time-code-field__caret"></span>` : nothing : html`
28688
+ <span class="one-time-code-field__character">
28689
+ ${character}
28690
+ ${caret ? html`<span class="one-time-code-field__caret is-after"></span>` : nothing}
28691
+ </span>
28692
+ `}
28693
+ </div>
28694
+ `;
28695
+ }
28696
+ function renderBoxes(component) {
28697
+ const parts = component.formatParts;
28698
+ if (!parts) return Array.from({ length: component.boxes }, (_, index) => renderBox(component, index));
28699
+ let index = 0;
28700
+ return parts.map((part) => part === BOX ? renderBox(component, index++) : html`<span class="one-time-code-field__separator">${part}</span>`);
28701
+ }
28702
+ function oneTimeCodeFieldTemplate(component) {
28703
+ return html`
28704
+ <div class="one-time-code-field">
28705
+ <input class="one-time-code-field__input"
28706
+ id=${component.inputId || nothing}
28707
+ type="text"
28708
+ inputmode=${component.type === "alphanumeric" ? "text" : "numeric"}
28709
+ autocomplete="one-time-code"
28710
+ autocapitalize=${component.uppercase ? "characters" : "off"}
28711
+ spellcheck="false"
28712
+ pattern=${component.pattern}
28713
+ maxlength=${component.boxes}
28714
+ .value=${component.value}
28715
+ ?disabled=${component.disabled}
28716
+ ?readonly=${component.readonly}
28717
+ ?required=${component.required}
28718
+ name=${component.name || nothing}
28719
+ aria-label=${component.accessibleLabel || nothing}
28720
+ aria-invalid=${component.invalid ? "true" : nothing}
28721
+ @focus=${component._handleFocus}
28722
+ @blur=${component._handleBlur}
28723
+ @pointerdown=${component._handlePointerDown}
28724
+ @select=${component._keepNativeCaretAtEnd}
28725
+ @pointerup=${component._keepNativeCaretAtEnd}
28726
+ @keydown=${component._handleKeydown}
28727
+ @beforeinput=${component._handleBeforeInput}
28728
+ @input=${component._handleInput}
28729
+ @change=${component._handleChange}
28730
+ >
28731
+ <div class="one-time-code-field__boxes"
28732
+ aria-hidden="true"
28733
+ >
28734
+ ${renderBoxes(component)}
28735
+ </div>
28736
+ </div>
28737
+ `;
28738
+ }
28739
+ // src/components/inputs/one-time-code-field/one-time-code-field.ts
28740
+ /**
28741
+ * Nederlandse Digitale Dienst One-Time Code Field Component (Lit + TypeScript)
28742
+ *
28743
+ * A field for a code someone receives once and types over: by text message,
28744
+ * by email, from an authenticator app or on a letter. It shows a box per
28745
+ * character, but it is one native input underneath, so pasting the whole code,
28746
+ * the code a phone offers from a text message (`autocomplete="one-time-code"`),
28747
+ * a screen reader and voice control all work as on any other field.
28748
+ *
28749
+ * The characters are monospace, so 0 and O, or 1, l and I, read apart.
28750
+ *
28751
+ * Typing fills the boxes from the left. The arrow keys, Home, End and a click
28752
+ * move the caret from box to box. In a filled box it stands after the
28753
+ * character: Backspace empties that box, without moving the rest up, so you
28754
+ * type the right one straight in. A pasted code drops whatever is not part of
28755
+ * one, so "123 456" or "123-456" becomes "123456", and a whole code replaces
28756
+ * what was there. From a pasted sentence, such as a text message, the field
28757
+ * takes the last word that is as long as the code, so "Your code is 123456"
28758
+ * fills in "123456". Once every box is full
28759
+ * the field fires `nldd-complete`, and again after a correction that leaves it
28760
+ * full. Submitting then is up to your app: send the form, or wait for a
28761
+ * button, but never both, or a correction submits twice.
28762
+ *
28763
+ * Not for a PIN or a password, which must not be readable on screen: use
28764
+ * `nldd-password-field`. Put the field in an `nldd-form-field`, whose label
28765
+ * says where the code comes from ("Code uit de sms").
28766
+ *
28767
+ * @element nldd-one-time-code-field
28768
+ *
28769
+ * @attr {string} size - 'sm' | 'md' (default) | 'lg'. 'lg' has boxes of 56px with larger characters, for a page where the code is the only thing to do, such as signing in.
28770
+ * @attr {number} length - How many characters the code has (default: 6).
28771
+ * @attr {string} format - The shape of a code that is printed in groups, such as '###-###' or '#### ####': each `#` is a box, anything else a separator you see but a screen reader does not hear. The number of `#` is then the length, so `format` wins over `length`. The value never holds a separator: '123-234' is submitted as '123234'. Leave it out for a code without groups, as most codes from a text message are.
28772
+ * @attr {string} accessible-label - Accessible label forwarded to the inner input. Set automatically by nldd-form-field.
28773
+ * @attr {boolean} invalid - Marks the field as invalid
28774
+ * @attr {boolean} readonly - Readonly state
28775
+ * @attr {boolean} disabled - Disabled state
28776
+ * @attr {string} input-id - Sets the id on the native input. Set automatically by nldd-form-field.
28777
+ * @attr {string} name - Input name for form submission
28778
+ * @attr {string} value - The code
28779
+ * @attr {string} type - What the code holds: 'numeric' (default, digits only, raises the number keyboard) | 'alphanumeric' (letters and digits)
28780
+ * @attr {boolean} uppercase - Turns letters into capitals as they are typed or pasted, in the boxes and in the value. Only with `type="alphanumeric"`, and only for a code where case does not matter, as with most activation codes. Leave it off for a code that tells "a" from "A", such as some recovery codes: a value turned into capitals would no longer match.
28781
+ * @attr {boolean} required - Required state. A code that is not complete counts as invalid too.
28782
+ *
28783
+ * @fires input - When the code changes; detail: { value: string }
28784
+ * @fires change - When the code is committed; detail: { value: string }
28785
+ * @fires nldd-complete - When every box is filled; detail: { value: string }
28786
+ */
28787
+ var _NLDDOneTimeCodeField;
28788
+ var DEFAULT_LENGTH = 6;
28789
+ /** A box in the format; any other part is a separator. */
28790
+ var BOX = Symbol("box");
28791
+ /** Characters that are not part of a code of this type. */
28792
+ var NOT_IN_CODE = {
28793
+ numeric: /[^0-9]/g,
28794
+ alphanumeric: /[^0-9A-Za-z]/g
28795
+ };
28796
+ var IN_CODE = {
28797
+ numeric: "[0-9]",
28798
+ alphanumeric: "[0-9A-Za-z]"
28799
+ };
28800
+ var NLDDOneTimeCodeField = (_NLDDOneTimeCodeField = class NLDDOneTimeCodeField extends DescribedBy(FormAssociated(LitElement)) {
28801
+ constructor(..._args) {
28802
+ super(..._args);
28803
+ this._initialValue = "";
28804
+ this.size = "md";
28805
+ this.length = DEFAULT_LENGTH;
28806
+ this.format = "";
28807
+ this.accessibleLabel = "";
28808
+ this.invalid = false;
28809
+ this.readonly = false;
28810
+ this.disabled = false;
28811
+ this.inputId = "";
28812
+ this.name = "";
28813
+ this.value = "";
28814
+ this.type = "numeric";
28815
+ this.uppercase = false;
28816
+ this.required = false;
28817
+ this._focused = false;
28818
+ this._chars = [];
28819
+ this._box = 0;
28820
+ this._completed = "";
28821
+ this._pressedBox = null;
28822
+ }
28823
+ /** The format as boxes and the separators between them, or null without a usable format. */
28824
+ get formatParts() {
28825
+ if (!this.format?.includes("#")) return null;
28826
+ return (this.format.match(/#|[^#]+/g) ?? []).map((part) => part === "#" ? BOX : part);
28827
+ }
28828
+ /** The length: the boxes in the format, or else `length` as a whole number of at least one. */
28829
+ get boxes() {
28830
+ const parts = this.formatParts;
28831
+ if (parts) return parts.filter((part) => part === BOX).length;
28832
+ const length = Math.floor(Number(this.length));
28833
+ return Number.isFinite(length) && length > 0 ? length : DEFAULT_LENGTH;
28834
+ }
28835
+ /** The `pattern` the native input checks: exactly `boxes` characters of the type. */
28836
+ get pattern() {
28837
+ return `${IN_CODE[this.type] ?? IN_CODE.numeric}{${this.boxes}}`;
28838
+ }
28839
+ /** The character in a box, '' when it is empty. */
28840
+ charAt(index) {
28841
+ return this._chars[index] ?? "";
28842
+ }
28843
+ /**
28844
+ * The box with the focus ring, or -1 while the field has no focus. A
28845
+ * readonly field gets the ring too, since the boxes are its only focus
28846
+ * indicator, but no caret.
28847
+ */
28848
+ get activeBox() {
28849
+ if (!this._focused) return -1;
28850
+ return Math.min(this._box, this.boxes - 1);
28851
+ }
28852
+ /** Keeps what belongs in a code, up to the length. */
28853
+ _clean(raw) {
28854
+ const code = raw.replace(NOT_IN_CODE[this.type] ?? NOT_IN_CODE.numeric, "").slice(0, this.boxes);
28855
+ return this.uppercase ? code.toUpperCase() : code;
28856
+ }
28857
+ /**
28858
+ * The code in a pasted text: the last word as long as the code, so a
28859
+ * sentence around it, or a phone number before it, falls away. Without such
28860
+ * a word the whole text is cleaned, as when typed.
28861
+ */
28862
+ _codeIn(raw) {
28863
+ const pattern = NOT_IN_CODE[this.type] ?? NOT_IN_CODE.numeric;
28864
+ const word = raw.split(/\s+/).map((part) => part.replace(pattern, "")).reverse().find((part) => part.length === this.boxes);
28865
+ return this._clean(word ?? raw);
28866
+ }
28867
+ /** The boxes for a value set from outside, filled from the left. */
28868
+ _charsOf(value) {
28869
+ return Array.from({ length: this.boxes }, (_, index) => value[index] ?? "");
28870
+ }
28871
+ willUpdate(changed) {
28872
+ if ([
28873
+ "value",
28874
+ "type",
28875
+ "length",
28876
+ "format",
28877
+ "uppercase"
28878
+ ].some((key) => changed.has(key))) {
28879
+ const clean = this._clean(this.value ?? "");
28880
+ if (clean !== this.value) this.value = clean;
28881
+ const own = this._chars.join("");
28882
+ if (this.value !== own || this._chars.length !== this.boxes) this._chars = this._charsOf(this.value);
28883
+ }
28884
+ }
28885
+ firstUpdated() {
28886
+ this._initialValue = this.value;
28887
+ }
28888
+ formValue() {
28889
+ return this.value;
28890
+ }
28891
+ formResetCallback() {
28892
+ this.value = this._initialValue;
28893
+ }
28894
+ formStateRestoreCallback(state) {
28895
+ if (typeof state === "string") this.value = state;
28896
+ }
28897
+ /** The first empty box, or the last one when every box is filled. */
28898
+ get _nextBox() {
28899
+ const empty = this._chars.indexOf("");
28900
+ return empty === -1 ? this.boxes - 1 : empty;
28901
+ }
28902
+ _moveTo(box) {
28903
+ this._box = Math.max(0, Math.min(box, this.boxes - 1));
28904
+ }
28905
+ /** The box under a point, or the nearest one. The text in the input is not laid out over the boxes, so a press finds its box here. */
28906
+ _boxAt(x) {
28907
+ const boxes = [...this.shadowRoot?.querySelectorAll(".one-time-code-field__box") ?? []];
28908
+ let nearest = 0;
28909
+ let distance = Infinity;
28910
+ boxes.forEach((box, index) => {
28911
+ const { left, right } = box.getBoundingClientRect();
28912
+ const away = x < left ? left - x : x > right ? x - right : 0;
28913
+ if (away < distance) {
28914
+ distance = away;
28915
+ nearest = index;
28916
+ }
28917
+ });
28918
+ return nearest;
28919
+ }
28920
+ /**
28921
+ * A press puts the caret in that box. With a mouse the field takes the
28922
+ * focus itself, so the browser never places a caret of its own; a touch
28923
+ * keeps the browser's focus, which is what raises the keyboard.
28924
+ */
28925
+ _handlePointerDown(e) {
28926
+ const box = this._boxAt(e.clientX);
28927
+ this._pressedBox = box;
28928
+ this._moveTo(box);
28929
+ if (e.pointerType !== "mouse" || this.disabled) return;
28930
+ e.preventDefault();
28931
+ this._input.focus();
28932
+ }
28933
+ _handleFocus() {
28934
+ this._focused = true;
28935
+ if (this._pressedBox === null) this._moveTo(this._nextBox);
28936
+ this._pressedBox = null;
28937
+ this._keepNativeCaretAtEnd();
28938
+ }
28939
+ _handleBlur() {
28940
+ this._focused = false;
28941
+ this._pressedBox = null;
28942
+ }
28943
+ /** The native caret means nothing here; at the end it never selects a part of the code. */
28944
+ _keepNativeCaretAtEnd() {
28945
+ const input = this._input;
28946
+ if (!input || this.shadowRoot?.activeElement !== input) return;
28947
+ const end = input.value.length;
28948
+ if (input.selectionStart !== end || input.selectionEnd !== end) input.setSelectionRange(end, end);
28949
+ }
28950
+ /**
28951
+ * Typing writes the box the caret is in when it is empty, and the next one
28952
+ * when it is filled, so the caret after a character reads as in any field.
28953
+ * Backspace empties the box, or the one before it when it is already empty;
28954
+ * nothing moves up. A paste of a whole code replaces it, a part fills from
28955
+ * the caret on.
28956
+ */
28957
+ _handleBeforeInput(e) {
28958
+ if (this.readonly || this.disabled) return;
28959
+ switch (e.inputType) {
28960
+ case "insertText": {
28961
+ e.preventDefault();
28962
+ const typed = this._clean(e.data ?? "");
28963
+ if (typed) this._write(typed, false);
28964
+ return;
28965
+ }
28966
+ case "insertFromPaste":
28967
+ case "insertFromDrop":
28968
+ case "insertReplacementText": {
28969
+ e.preventDefault();
28970
+ const text = this._codeIn(e.dataTransfer?.getData("text/plain") ?? e.data ?? "");
28971
+ if (text) this._write(text, true);
28972
+ return;
28973
+ }
28974
+ case "deleteContentBackward":
28975
+ case "deleteWordBackward":
28976
+ case "deleteSoftLineBackward":
28977
+ case "deleteHardLineBackward": {
28978
+ e.preventDefault();
28979
+ const box = this.activeBox < 0 ? this._box : this.activeBox;
28980
+ const target = this.charAt(box) ? box : box - 1;
28981
+ if (target < 0) return;
28982
+ this._setChars(this._chars.map((char, index) => index === target ? "" : char), target);
28983
+ return;
28984
+ }
28985
+ case "deleteContentForward":
28986
+ e.preventDefault();
28987
+ this._setChars(this._chars.map((char, index) => index === this._box ? "" : char), this._box);
28988
+ return;
28989
+ }
28990
+ }
28991
+ /** Writes characters from the caret on; a whole code at once replaces what was there. */
28992
+ _write(text, pasted) {
28993
+ if (pasted && text.length === this.boxes) {
28994
+ this._setChars(text.split(""), this.boxes - 1);
28995
+ return;
28996
+ }
28997
+ const chars = [...this._chars];
28998
+ let box = this.charAt(this._box) && !pasted ? this._box + 1 : this._box;
28999
+ if (box >= this.boxes) box = this.boxes - 1;
29000
+ for (const char of text) {
29001
+ if (box >= this.boxes) break;
29002
+ chars[box] = char;
29003
+ box++;
29004
+ }
29005
+ this._setChars(chars, box);
29006
+ }
29007
+ _handleKeydown(e) {
29008
+ submitOnEnter(this, e);
29009
+ if (e.altKey || e.ctrlKey || e.metaKey) return;
29010
+ const move = {
29011
+ ArrowLeft: () => this._box - 1,
29012
+ ArrowRight: () => Math.min(this._box + 1, this._nextBox),
29013
+ Home: () => 0,
29014
+ End: () => this._nextBox
29015
+ }[e.key];
29016
+ if (!move) return;
29017
+ e.preventDefault();
29018
+ this._moveTo(move());
29019
+ }
29020
+ /** Input that did not come through beforeinput, such as a code a phone fills in: take it from the start. */
29021
+ _handleInput(e) {
29022
+ e.stopPropagation();
29023
+ const clean = this._clean(this._input.value);
29024
+ this._setChars(this._charsOf(clean), Math.min(clean.length, this.boxes - 1));
29025
+ }
29026
+ _setChars(chars, box) {
29027
+ this._chars = chars;
29028
+ this._moveTo(box);
29029
+ const value = chars.join("");
29030
+ const input = this._input;
29031
+ if (input.value !== value) input.value = value;
29032
+ this._keepNativeCaretAtEnd();
29033
+ const changed = value !== this.value;
29034
+ this.value = value;
29035
+ this.commitFormValue();
29036
+ if (!changed) return;
29037
+ this.dispatchEvent(new CustomEvent("input", {
29038
+ detail: { value: this.value },
29039
+ bubbles: true,
29040
+ composed: true
29041
+ }));
29042
+ if (chars.includes("") || value.length < this.boxes) this._completed = "";
29043
+ else if (value !== this._completed) {
29044
+ this._completed = value;
29045
+ this.dispatchEvent(new CustomEvent("nldd-complete", {
29046
+ detail: { value },
29047
+ bubbles: true,
29048
+ composed: true
29049
+ }));
29050
+ }
29051
+ }
29052
+ _handleChange(e) {
29053
+ e.stopPropagation();
29054
+ this.commitFormValue();
29055
+ this.dispatchEvent(new CustomEvent("change", {
29056
+ detail: { value: this.value },
29057
+ bubbles: true,
29058
+ composed: true
29059
+ }));
29060
+ }
29061
+ blur() {
29062
+ this._input?.blur();
29063
+ }
29064
+ /** Delegates focus to the inner native `<input>`. */
29065
+ focus(options) {
29066
+ if (deferFocus(this, options)) return;
29067
+ this._input?.focus(options);
29068
+ }
29069
+ render() {
29070
+ return oneTimeCodeFieldTemplate(this);
29071
+ }
29072
+ }, _NLDDOneTimeCodeField.shadowRootOptions = {
29073
+ ...LitElement.shadowRootOptions,
29074
+ delegatesFocus: true
29075
+ }, _NLDDOneTimeCodeField.styles = oneTimeCodeFieldStyles, _NLDDOneTimeCodeField.isFormInput = true, _NLDDOneTimeCodeField.blocksImplicitSubmission = true, _NLDDOneTimeCodeField);
29076
+ __decorate([property({
29077
+ reflect: true,
29078
+ converter: reflectNonDefault("md")
29079
+ })], NLDDOneTimeCodeField.prototype, "size", void 0);
29080
+ __decorate([property({
29081
+ reflect: true,
29082
+ converter: reflectNonDefault(DEFAULT_LENGTH)
29083
+ })], NLDDOneTimeCodeField.prototype, "length", void 0);
29084
+ __decorate([property({
29085
+ reflect: true,
29086
+ converter: reflectNonDefault("")
29087
+ })], NLDDOneTimeCodeField.prototype, "format", void 0);
29088
+ __decorate([property({
29089
+ type: String,
29090
+ attribute: "accessible-label"
29091
+ })], NLDDOneTimeCodeField.prototype, "accessibleLabel", void 0);
29092
+ __decorate([property({
29093
+ type: Boolean,
29094
+ reflect: true
29095
+ })], NLDDOneTimeCodeField.prototype, "invalid", void 0);
29096
+ __decorate([property({
29097
+ type: Boolean,
29098
+ reflect: true
29099
+ })], NLDDOneTimeCodeField.prototype, "readonly", void 0);
29100
+ __decorate([property({
29101
+ type: Boolean,
29102
+ reflect: true
29103
+ })], NLDDOneTimeCodeField.prototype, "disabled", void 0);
29104
+ __decorate([property({
29105
+ type: String,
29106
+ attribute: "input-id"
29107
+ })], NLDDOneTimeCodeField.prototype, "inputId", void 0);
29108
+ __decorate([property({
29109
+ reflect: true,
29110
+ converter: reflectNonDefault("")
29111
+ })], NLDDOneTimeCodeField.prototype, "name", void 0);
29112
+ __decorate([property({ type: String })], NLDDOneTimeCodeField.prototype, "value", void 0);
29113
+ __decorate([property({
29114
+ reflect: true,
29115
+ converter: reflectNonDefault("numeric")
29116
+ })], NLDDOneTimeCodeField.prototype, "type", void 0);
29117
+ __decorate([property({
29118
+ type: Boolean,
29119
+ reflect: true
29120
+ })], NLDDOneTimeCodeField.prototype, "uppercase", void 0);
29121
+ __decorate([property({
29122
+ type: Boolean,
29123
+ reflect: true
29124
+ })], NLDDOneTimeCodeField.prototype, "required", void 0);
29125
+ __decorate([state()], NLDDOneTimeCodeField.prototype, "_focused", void 0);
29126
+ __decorate([state()], NLDDOneTimeCodeField.prototype, "_chars", void 0);
29127
+ __decorate([state()], NLDDOneTimeCodeField.prototype, "_box", void 0);
29128
+ __decorate([query(".one-time-code-field__input")], NLDDOneTimeCodeField.prototype, "_input", void 0);
29129
+ NLDDOneTimeCodeField = __decorate([customElement("nldd-one-time-code-field")], NLDDOneTimeCodeField);
28222
29130
  // src/components/inputs/password-field/password-field.styles.ts
28223
29131
  var passwordFieldStyles = css`
28224
29132
  :host {
@@ -29217,6 +30125,7 @@ var radioButtonFieldStyles = css`
29217
30125
  flex-grow: 1;
29218
30126
  color: var(--semantics-content-color);
29219
30127
  font: var(--primitives-font-body-md-regular-snug);
30128
+ text-wrap: pretty;
29220
30129
  }
29221
30130
 
29222
30131
  :host([disabled]) .radio-button-field__label {
@@ -29840,7 +30749,8 @@ var searchFieldStyles = css`
29840
30749
  // src/components/inputs/search-field/search-field.template.ts
29841
30750
  function searchFieldTemplate(component) {
29842
30751
  const buttonSize = component.size === "sm" ? "xs" : "sm";
29843
- const hasEnd = Boolean(component.value) || component.showSearchButton;
30752
+ const hasSearchButton = component.searchButton !== null;
30753
+ const hasEnd = Boolean(component.value) || hasSearchButton;
29844
30754
  return html`
29845
30755
  <div class="search-field">
29846
30756
  <label class="search-field__label">
@@ -29891,10 +30801,10 @@ function searchFieldTemplate(component) {
29891
30801
  ></nldd-icon-button>
29892
30802
  </div>
29893
30803
  ` : nothing}
29894
- ${component.showSearchButton ? html`
30804
+ ${hasSearchButton ? html`
29895
30805
  <div class="search-field__search-button">
29896
30806
  <nldd-button
29897
- appearance="neutral-tinted"
30807
+ appearance=${component.searchButton === "accent-filled" ? "accent-filled" : "neutral-tinted"}
29898
30808
  size=${buttonSize}
29899
30809
  text=${component._t("components.search-field.search-action")}
29900
30810
  @click=${component._handleSearch}
@@ -29918,7 +30828,7 @@ function searchFieldTemplate(component) {
29918
30828
  * @attr {string} width - Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container.
29919
30829
  * @attr {string} placeholder - Placeholder text for the input
29920
30830
  * @attr {string} accessible-label - Accessible name (aria-label) of the native input. Falls back to `placeholder`, and keeps it when a value is typed. That works while the placeholder names the field ('Zoek een gebruiker'); set this when the placeholder is an example instead ('bijv. Jansen'). Without a visible label the placeholder is the only text on screen, so a name of your own starts with it: someone who works the computer by voice says what they see, and a name that leaves it out does not answer (WCAG 2.5.3).
29921
- * @attr {boolean} show-search-button - When set, shows a search button on the right
30831
+ * @attr {string} search-button - Shows a search button on the right, in the appearance you name: 'neutral-tinted' (also with no value) | 'accent-filled'. Leave it out for no button: Enter searches as well. 'accent-filled' is for a page where searching is the main task, such as a search page; in a header or above a list the quiet one fits.
29922
30832
  * @attr {string} shortcut - Keyboard shortcut hint shown at the right end of the empty field, e.g. 'Cmd+K' or '/'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up focusing the field in your app. Hidden while the field has focus or a value, and on touch-only devices. Joins the field's description for screen readers.
29923
30833
  * @attr {string} shortcut-mac - Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`).
29924
30834
  * @attr {string} shortcut-windows - Override of `shortcut` on Windows (falls back to `shortcut`).
@@ -29947,7 +30857,7 @@ var _NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(
29947
30857
  this.width = "";
29948
30858
  this.placeholder = "Zoeken";
29949
30859
  this.accessibleLabel = "";
29950
- this.showSearchButton = false;
30860
+ this.searchButton = null;
29951
30861
  this.shortcut = "";
29952
30862
  this.shortcutMac = "";
29953
30863
  this.shortcutWindows = "";
@@ -30064,10 +30974,10 @@ __decorate([property({
30064
30974
  attribute: "accessible-label"
30065
30975
  })], NLDDSearchField.prototype, "accessibleLabel", void 0);
30066
30976
  __decorate([property({
30067
- type: Boolean,
30977
+ type: String,
30068
30978
  reflect: true,
30069
- attribute: "show-search-button"
30070
- })], NLDDSearchField.prototype, "showSearchButton", void 0);
30979
+ attribute: "search-button"
30980
+ })], NLDDSearchField.prototype, "searchButton", void 0);
30071
30981
  __decorate([property({
30072
30982
  reflect: true,
30073
30983
  converter: reflectNonDefault("")
@@ -32299,6 +33209,7 @@ var switchFieldStyles = css`
32299
33209
  flex-grow: 1;
32300
33210
  color: var(--semantics-content-color);
32301
33211
  font: var(--primitives-font-body-md-regular-snug);
33212
+ text-wrap: pretty;
32302
33213
  }
32303
33214
 
32304
33215
  :host([disabled]) .switch-field__label {
@@ -39964,6 +40875,8 @@ var textFieldStyles = css`
39964
40875
  --_text-field-inline-padding: var(--semantics-controls-md-inline-padding);
39965
40876
  --_text-field-font: var(--semantics-input-fields-md-text-font);
39966
40877
  --_text-field-validation-icon-size: var(--semantics-input-fields-md-validation-icon-size);
40878
+ --_text-field-end-padding-right: calc((var(--_text-field-min-size) - var(--semantics-controls-sm-min-size)) / 2 - var(--semantics-input-fields-border-width));
40879
+ --_text-field-button-focus-z-index: 1;
39967
40880
 
39968
40881
  ${inheritedTextReset}
39969
40882
  display: block;
@@ -39982,6 +40895,7 @@ var textFieldStyles = css`
39982
40895
  --_text-field-inline-padding: var(--semantics-controls-sm-inline-padding);
39983
40896
  --_text-field-font: var(--semantics-input-fields-sm-text-font);
39984
40897
  --_text-field-validation-icon-size: var(--semantics-input-fields-sm-validation-icon-size);
40898
+ --_text-field-end-padding-right: calc((var(--_text-field-min-size) - var(--semantics-controls-xs-min-size)) / 2 - var(--semantics-input-fields-border-width));
39985
40899
  }
39986
40900
 
39987
40901
 
@@ -40022,7 +40936,7 @@ var textFieldStyles = css`
40022
40936
  --_text-field-background-color: var(--semantics-input-fields-is-autofill-background-color);
40023
40937
  }
40024
40938
 
40025
- .text-field:focus-within {
40939
+ .text-field:has(.text-field__input:focus-visible) {
40026
40940
  outline: var(--semantics-focus-ring-outline);
40027
40941
  outline-offset: var(--semantics-focus-ring-outline-offset);
40028
40942
  box-shadow: var(--semantics-focus-ring-box-shadow);
@@ -40104,6 +41018,23 @@ var textFieldStyles = css`
40104
41018
  width: var(--_text-field-validation-icon-size);
40105
41019
  height: var(--_text-field-validation-icon-size);
40106
41020
  }
41021
+
41022
+ .text-field__end {
41023
+ display: flex;
41024
+ position: relative;
41025
+ padding-right: var(--_text-field-end-padding-right);
41026
+ flex-shrink: 0;
41027
+ align-items: center;
41028
+ }
41029
+
41030
+ .text-field__end[hidden] {
41031
+ display: none;
41032
+ }
41033
+
41034
+ .text-field__button:focus-within {
41035
+ position: relative;
41036
+ z-index: var(--_text-field-button-focus-z-index);
41037
+ }
40107
41038
  `;
40108
41039
  // src/components/inputs/text-field/text-field.template.ts
40109
41040
  function renderValidationIcon$2(component) {
@@ -40152,6 +41083,11 @@ function textFieldTemplate(component) {
40152
41083
  />
40153
41084
  <div class="text-field__input-fade"></div>
40154
41085
  ${renderValidationIcon$2(component)}
41086
+ <div class="text-field__end" ?hidden=${!component._hasButton}>
41087
+ <div class="text-field__button">
41088
+ <slot name="button" @slotchange=${component._handleButtonSlotChange}></slot>
41089
+ </div>
41090
+ </div>
40155
41091
  </div>
40156
41092
  `;
40157
41093
  }
@@ -40182,6 +41118,8 @@ function textFieldTemplate(component) {
40182
41118
  * @attr {number} minlength - Fewest characters the value may have.
40183
41119
  * @attr {number} maxlength - Most characters the value may have.
40184
41120
  *
41121
+ * @slot button - One `nldd-button` or `nldd-icon-button` at the end of the field, for the one action of a form that is only this field: sign up with an email address, redeem a code. The field sets its `size`, `sm` in a field of `md` and `xs` in one of `sm`, so it sits inside the border; a `size` of your own is overwritten. A disabled field disables the button too. Give it `type="submit"` in a form, and its own `text`. A form with more fields keeps its buttons in `nldd-form-actions`.
41122
+ *
40185
41123
  * @fires input - When input value changes
40186
41124
  * @fires change - When input value is committed
40187
41125
  */
@@ -40212,13 +41150,18 @@ var NLDDTextField = (_NLDDTextField = class NLDDTextField extends DescribedBy(Fo
40212
41150
  this.accessibleLabel = "";
40213
41151
  this.noSpellcheck = false;
40214
41152
  this.width = "";
41153
+ this._hasButton = false;
40215
41154
  this.pattern = "";
41155
+ this._sized = /* @__PURE__ */ new WeakSet();
41156
+ this._disabledButtons = /* @__PURE__ */ new WeakSet();
40216
41157
  }
40217
41158
  firstUpdated() {
40218
41159
  this._initialValue = this.value;
40219
41160
  }
40220
41161
  updated(changed) {
40221
41162
  if (changed.has("keyboard") || changed.has("type")) this._syncKeyboardConflict();
41163
+ if (changed.has("size")) this._sizeButton();
41164
+ if (changed.has("disabled")) this._disableButton();
40222
41165
  if (changed.has("width")) {
40223
41166
  const w = this.width;
40224
41167
  if (w && w !== "full" && CSS.supports("width", w)) this.style.setProperty("--_text-field-width", w);
@@ -40232,6 +41175,35 @@ var NLDDTextField = (_NLDDTextField = class NLDDTextField extends DescribedBy(Fo
40232
41175
  const implied = KEYBOARD_IMPLIED_BY_TYPE[this.type];
40233
41176
  setState$1(this, "keyboard-contradicts-type", !!this.keyboard && !!implied && this.keyboard !== implied);
40234
41177
  }
41178
+ /** The size a slotted button gets: one step below the field, so it fits inside the border. */
41179
+ get buttonSize() {
41180
+ return this.size === "sm" ? "xs" : "sm";
41181
+ }
41182
+ _buttons() {
41183
+ return (this.shadowRoot?.querySelector("slot[name=\"button\"]"))?.assignedElements({ flatten: true }) ?? [];
41184
+ }
41185
+ _sizeButton() {
41186
+ for (const button of this._buttons()) {
41187
+ const own = button.getAttribute("size");
41188
+ if (own !== null && own !== this.buttonSize && !this._sized.has(button)) setState$1(this, "own-button-size-overwritten", true);
41189
+ if (own !== this.buttonSize) button.setAttribute("size", this.buttonSize);
41190
+ this._sized.add(button);
41191
+ }
41192
+ }
41193
+ _disableButton() {
41194
+ for (const button of this._buttons()) if (this.disabled && !button.hasAttribute("disabled")) {
41195
+ button.setAttribute("disabled", "");
41196
+ this._disabledButtons.add(button);
41197
+ } else if (!this.disabled && this._disabledButtons.has(button)) {
41198
+ button.removeAttribute("disabled");
41199
+ this._disabledButtons.delete(button);
41200
+ }
41201
+ }
41202
+ _handleButtonSlotChange() {
41203
+ this._hasButton = this._buttons().length > 0;
41204
+ this._sizeButton();
41205
+ this._disableButton();
41206
+ }
40235
41207
  formValue() {
40236
41208
  return this.value;
40237
41209
  }
@@ -40348,6 +41320,7 @@ __decorate([property({
40348
41320
  converter: reflectNonDefault("")
40349
41321
  })], NLDDTextField.prototype, "width", void 0);
40350
41322
  __decorate([query(".text-field__input")], NLDDTextField.prototype, "_input", void 0);
41323
+ __decorate([state()], NLDDTextField.prototype, "_hasButton", void 0);
40351
41324
  __decorate([property({
40352
41325
  reflect: true,
40353
41326
  converter: reflectNonDefault("")
@@ -49639,6 +50612,7 @@ var sheetStyles = css`
49639
50612
  /* # Host */
49640
50613
 
49641
50614
  :host {
50615
+ --_sheet-background-color: var(--semantics-surfaces-base-background-color);
49642
50616
  --_sheet-width: initial;
49643
50617
  --_sheet-height: initial;
49644
50618
 
@@ -49703,6 +50677,7 @@ var sheetStyles = css`
49703
50677
  --context-scroll-mode: nested;
49704
50678
  --context-inset-top: 0px;
49705
50679
  --context-inset-bottom: 0px;
50680
+ --context-parent-background-color: var(--_sheet-background-color);
49706
50681
 
49707
50682
  display: flex;
49708
50683
  position: fixed;
@@ -49710,7 +50685,7 @@ var sheetStyles = css`
49710
50685
  outline: none;
49711
50686
  border: none;
49712
50687
  box-shadow: var(--semantics-overlays-box-shadow);
49713
- background: var(--semantics-surfaces-base-background-color);
50688
+ background: var(--_sheet-background-color);
49714
50689
  overflow: hidden;
49715
50690
  padding: 0;
49716
50691
  flex-direction: column;
@@ -50509,6 +51484,7 @@ var boxStyles = css`
50509
51484
  /* # Block */
50510
51485
 
50511
51486
  .box {
51487
+ --context-parent-background-color: var(--_box-background-color);
50512
51488
  box-sizing: border-box;
50513
51489
  border-radius: var(--_box-corner-radius);
50514
51490
  box-shadow: var(--_box-highlight-border);
@@ -50630,6 +51606,7 @@ var cardStyles = css`
50630
51606
  /* # Block */
50631
51607
 
50632
51608
  .card {
51609
+ --context-parent-background-color: var(--_card-background-color);
50633
51610
  display: flex;
50634
51611
  position: relative;
50635
51612
  border-radius: var(--_card-corner-radius);
@@ -50645,12 +51622,14 @@ var cardStyles = css`
50645
51622
  @media (hover: hover) {
50646
51623
  .card:has(> .card__action:hover) {
50647
51624
  --_card-border-color: var(--_card-is-hovered-border-color);
51625
+ --context-parent-background-color: var(--_card-is-hovered-background-color);
50648
51626
  background-color: var(--_card-is-hovered-background-color);
50649
51627
  }
50650
51628
  }
50651
51629
 
50652
51630
  :host([data-action-pressed]) .card {
50653
51631
  --_card-border-color: var(--_card-is-active-border-color);
51632
+ --context-parent-background-color: var(--_card-is-active-background-color);
50654
51633
  background-color: var(--_card-is-active-background-color);
50655
51634
  }
50656
51635
 
@@ -51520,6 +52499,7 @@ var windowStyles = css`
51520
52499
  /* # Host */
51521
52500
 
51522
52501
  :host {
52502
+ --_window-background-color: var(--semantics-surfaces-base-background-color);
51523
52503
  --_window-default-width: var(--primitives-area-640);
51524
52504
 
51525
52505
  ${inheritedTextReset}
@@ -51538,6 +52518,7 @@ var windowStyles = css`
51538
52518
  /* # Block */
51539
52519
 
51540
52520
  .window {
52521
+ --context-parent-background-color: var(--_window-background-color);
51541
52522
  display: flex;
51542
52523
  position: fixed;
51543
52524
  margin: auto;
@@ -51545,7 +52526,7 @@ var windowStyles = css`
51545
52526
  border: none;
51546
52527
  border-radius: var(--semantics-overlays-corner-radius);
51547
52528
  box-shadow: var(--semantics-overlays-box-shadow);
51548
- background-color: var(--semantics-surfaces-base-background-color);
52529
+ background-color: var(--_window-background-color);
51549
52530
  width: var(--_window-default-width);
51550
52531
  max-width: calc(100vw - var(--semantics-overlays-inset) * 2);
51551
52532
  max-height: calc(100dvh - var(--semantics-overlays-inset) * 2);
@@ -52334,23 +53315,23 @@ __decorate([state()], NLDDPageFooter.prototype, "_hasBreadcrumbs", void 0);
52334
53315
  __decorate([state()], NLDDPageFooter.prototype, "_hasMain", void 0);
52335
53316
  __decorate([state()], NLDDPageFooter.prototype, "_hasLegalBar", void 0);
52336
53317
  NLDDPageFooter = __decorate([customElement("nldd-page-footer")], NLDDPageFooter);
52337
- // src/components/layout/task-board/task-board.styles.ts
52338
- var taskBoardStyles = css`
53318
+ // src/components/layout/column-board/column-board.styles.ts
53319
+ var columnBoardStyles = css`
52339
53320
 
52340
53321
 
52341
53322
  /* # Host */
52342
53323
 
52343
53324
  :host {
52344
- --_task-board-gap: var(--primitives-space-12);
52345
- --_task-board-fade-size: var(--primitives-space-32);
52346
- --_task-board-fade-left: var(--primitives-space-0);
52347
- --_task-board-fade-right: var(--primitives-space-0);
52348
- --_task-board-height: auto;
53325
+ --_column-board-gap: var(--primitives-space-12);
53326
+ --_column-board-fade-size: var(--primitives-space-32);
53327
+ --_column-board-fade-left: var(--primitives-space-0);
53328
+ --_column-board-fade-right: var(--primitives-space-0);
53329
+ --_column-board-height: auto;
52349
53330
 
52350
53331
  box-sizing: border-box;
52351
53332
  display: block;
52352
53333
  min-width: 0;
52353
- height: var(--_task-board-height);
53334
+ height: var(--_column-board-height);
52354
53335
  }
52355
53336
 
52356
53337
  :host([hidden]) {
@@ -52360,41 +53341,41 @@ var taskBoardStyles = css`
52360
53341
 
52361
53342
  /* # Block */
52362
53343
 
52363
- .task-board {
53344
+ .column-board {
52364
53345
  display: flex;
52365
53346
  height: 100%;
52366
53347
  overflow-x: auto;
52367
- gap: var(--_task-board-gap);
53348
+ gap: var(--_column-board-gap);
52368
53349
  align-items: stretch;
52369
53350
  scroll-snap-type: x proximity;
52370
- scroll-padding-inline: var(--_task-board-gap);
52371
- mask-image: linear-gradient(to right, transparent 0, black var(--_task-board-fade-left), black calc(100% - var(--_task-board-fade-right)), transparent 100%);
53351
+ scroll-padding-inline: var(--_column-board-gap);
53352
+ mask-image: linear-gradient(to right, transparent 0, black var(--_column-board-fade-left), black calc(100% - var(--_column-board-fade-right)), transparent 100%);
52372
53353
  }
52373
53354
 
52374
- .task-board.can-scroll-left {
52375
- --_task-board-fade-left: var(--_task-board-fade-size);
53355
+ .column-board.can-scroll-left {
53356
+ --_column-board-fade-left: var(--_column-board-fade-size);
52376
53357
  }
52377
53358
 
52378
- .task-board.can-scroll-right {
52379
- --_task-board-fade-right: var(--_task-board-fade-size);
53359
+ .column-board.can-scroll-right {
53360
+ --_column-board-fade-right: var(--_column-board-fade-size);
52380
53361
  }
52381
53362
 
52382
53363
  /* Snapping would pull the board back after every step it scrolls while an
52383
53364
  item is dragged to its edge. */
52384
- .task-board.is-dragging {
53365
+ .column-board.is-dragging {
52385
53366
  scroll-snap-type: none;
52386
53367
  }
52387
53368
 
52388
- .task-board:focus-visible {
53369
+ .column-board:focus-visible {
52389
53370
  outline: var(--semantics-focus-ring-outline);
52390
53371
  outline-offset: var(--semantics-focus-ring-outline-offset);
52391
53372
  }
52392
53373
 
52393
- ::slotted(nldd-task-board-column) {
53374
+ ::slotted(nldd-column-board-column) {
52394
53375
  scroll-snap-align: start;
52395
53376
  }
52396
53377
 
52397
- .task-board__announcer {
53378
+ .column-board__announcer {
52398
53379
  position: absolute;
52399
53380
  width: 1px;
52400
53381
  height: 1px;
@@ -52403,50 +53384,50 @@ var taskBoardStyles = css`
52403
53384
  overflow: hidden;
52404
53385
  }
52405
53386
  `;
52406
- var taskBoardColumnStyles = css`
53387
+ var columnBoardColumnStyles = css`
52407
53388
 
52408
53389
 
52409
53390
  /* # Host */
52410
53391
 
52411
53392
  :host {
52412
- --_task-board-column-width: var(--primitives-area-280);
52413
- --_task-board-column-corner-radius: var(--semantics-surfaces-corner-radius);
52414
- --_task-board-column-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
52415
- --_task-board-column-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
52416
- --_task-board-column-background-color: var(--semantics-surfaces-tinted-background-color);
52417
- --_task-board-column-drop-border-width: var(--semantics-drop-targets-border-width);
52418
- --_task-board-column-available-border-color: var(--semantics-drop-targets-is-available-border-color);
52419
- --_task-board-column-over-border-color: var(--semantics-drop-targets-is-over-border-color);
52420
- --_task-board-column-over-background-color: var(--semantics-drop-targets-is-over-background-color);
52421
- --_task-board-column-header-padding: var(--primitives-space-12) var(--primitives-space-16) var(--primitives-space-4);
52422
- --_task-board-column-header-gap: var(--primitives-space-8);
52423
- --_task-board-column-title-font: var(--primitives-font-body-md-bold-tight);
52424
- --_task-board-column-count-color: var(--semantics-content-secondary-color);
52425
- --_task-board-column-count-font: var(--primitives-font-body-sm-regular-tight);
52426
- --_task-board-column-main-gap: var(--primitives-space-8);
52427
- --_task-board-column-main-padding: var(--primitives-space-8);
52428
- --_task-board-column-main-min-height: var(--primitives-space-80);
52429
- --_task-board-column-main-fade-size: var(--primitives-space-24);
52430
- --_task-board-column-main-fade-top: var(--primitives-space-0);
52431
- --_task-board-column-main-fade-bottom: var(--primitives-space-0);
52432
- --_task-board-column-placeholder-background-color: var(--semantics-drop-targets-placeholder-background-color);
52433
- --_task-board-column-placeholder-corner-radius: var(--semantics-surfaces-corner-radius);
52434
- --_task-board-column-placeholder-border-width: var(--semantics-drop-targets-border-width);
52435
- --_task-board-column-placeholder-border-color: var(--semantics-drop-indicators-color);
52436
- --_task-board-column-placeholder-top: 0px;
52437
- --_task-board-column-placeholder-left: 0px;
52438
- --_task-board-column-placeholder-width: 0px;
52439
- --_task-board-column-placeholder-height: 0px;
52440
- --_task-board-column-indicator-top: 0px;
52441
- --_task-board-column-indicator-inset: var(--primitives-space-8);
52442
- --_task-board-column-indicator-thickness: var(--primitives-border-width-regular);
52443
- --_task-board-column-indicator-color: var(--semantics-drop-indicators-color);
53393
+ --_column-board-column-width: var(--primitives-area-280);
53394
+ --_column-board-column-corner-radius: var(--semantics-surfaces-corner-radius);
53395
+ --_column-board-column-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
53396
+ --_column-board-column-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
53397
+ --_column-board-column-background-color: var(--semantics-surfaces-tinted-background-color);
53398
+ --_column-board-column-drop-border-width: var(--semantics-drop-targets-border-width);
53399
+ --_column-board-column-available-border-color: var(--semantics-drop-targets-is-available-border-color);
53400
+ --_column-board-column-over-border-color: var(--semantics-drop-targets-is-over-border-color);
53401
+ --_column-board-column-over-background-color: var(--semantics-drop-targets-is-over-background-color);
53402
+ --_column-board-column-header-padding: var(--primitives-space-12) var(--primitives-space-16) var(--primitives-space-4);
53403
+ --_column-board-column-header-gap: var(--primitives-space-8);
53404
+ --_column-board-column-title-font: var(--primitives-font-body-md-bold-tight);
53405
+ --_column-board-column-count-color: var(--semantics-content-secondary-color);
53406
+ --_column-board-column-count-font: var(--primitives-font-body-sm-regular-tight);
53407
+ --_column-board-column-main-gap: var(--primitives-space-8);
53408
+ --_column-board-column-main-padding: var(--primitives-space-8);
53409
+ --_column-board-column-main-min-height: var(--primitives-space-80);
53410
+ --_column-board-column-main-fade-size: var(--primitives-space-24);
53411
+ --_column-board-column-main-fade-top: var(--primitives-space-0);
53412
+ --_column-board-column-main-fade-bottom: var(--primitives-space-0);
53413
+ --_column-board-column-placeholder-background-color: var(--semantics-drop-targets-placeholder-background-color);
53414
+ --_column-board-column-placeholder-corner-radius: var(--semantics-surfaces-corner-radius);
53415
+ --_column-board-column-placeholder-border-width: var(--semantics-drop-targets-border-width);
53416
+ --_column-board-column-placeholder-border-color: var(--semantics-drop-indicators-color);
53417
+ --_column-board-column-placeholder-top: 0px;
53418
+ --_column-board-column-placeholder-left: 0px;
53419
+ --_column-board-column-placeholder-width: 0px;
53420
+ --_column-board-column-placeholder-height: 0px;
53421
+ --_column-board-column-indicator-top: 0px;
53422
+ --_column-board-column-indicator-inset: var(--primitives-space-8);
53423
+ --_column-board-column-indicator-thickness: var(--primitives-border-width-regular);
53424
+ --_column-board-column-indicator-color: var(--semantics-drop-indicators-color);
52444
53425
 
52445
53426
  ${inheritedTextReset}
52446
53427
  box-sizing: border-box;
52447
53428
  display: flex;
52448
53429
  flex-shrink: 0;
52449
- width: var(--_task-board-column-width);
53430
+ width: var(--_column-board-column-width);
52450
53431
  min-height: 0;
52451
53432
  }
52452
53433
 
@@ -52457,79 +53438,80 @@ var taskBoardColumnStyles = css`
52457
53438
 
52458
53439
  /* # Block */
52459
53440
 
52460
- .task-board-column {
53441
+ .column-board-column {
52461
53442
  box-sizing: border-box;
52462
53443
  display: flex;
52463
- border-radius: var(--_task-board-column-corner-radius);
52464
- box-shadow: inset 0 0 0 var(--_task-board-column-highlight-border-width) var(--_task-board-column-highlight-border-color);
52465
- background-color: var(--_task-board-column-background-color);
53444
+ border-radius: var(--_column-board-column-corner-radius);
53445
+ box-shadow: inset 0 0 0 var(--_column-board-column-highlight-border-width) var(--_column-board-column-highlight-border-color);
53446
+ background-color: var(--_column-board-column-background-color);
52466
53447
  width: 100%;
52467
53448
  min-height: 0;
52468
53449
  max-height: 100%;
52469
53450
  flex-direction: column;
52470
53451
  }
52471
53452
 
52472
- .task-board-column.is-drop-available {
52473
- --_task-board-column-highlight-border-width: var(--_task-board-column-drop-border-width);
52474
- --_task-board-column-highlight-border-color: var(--_task-board-column-available-border-color);
53453
+ .column-board-column.is-drop-available {
53454
+ --_column-board-column-highlight-border-width: var(--_column-board-column-drop-border-width);
53455
+ --_column-board-column-highlight-border-color: var(--_column-board-column-available-border-color);
52475
53456
  }
52476
53457
 
52477
- .task-board-column.is-drop-over {
52478
- --_task-board-column-highlight-border-width: var(--_task-board-column-drop-border-width);
52479
- --_task-board-column-highlight-border-color: var(--_task-board-column-over-border-color);
52480
- --_task-board-column-background-color: var(--_task-board-column-over-background-color);
53458
+ .column-board-column.is-drop-over {
53459
+ --_column-board-column-highlight-border-width: var(--_column-board-column-drop-border-width);
53460
+ --_column-board-column-highlight-border-color: var(--_column-board-column-over-border-color);
53461
+ --_column-board-column-background-color: var(--_column-board-column-over-background-color);
52481
53462
  }
52482
53463
 
52483
53464
 
52484
53465
  /* # Elements */
52485
53466
 
52486
- .task-board-column__header {
53467
+ .column-board-column__header {
52487
53468
  display: flex;
52488
53469
  flex-shrink: 0;
52489
- padding: var(--_task-board-column-header-padding);
52490
- gap: var(--_task-board-column-header-gap);
53470
+ padding: var(--_column-board-column-header-padding);
53471
+ gap: var(--_column-board-column-header-gap);
52491
53472
  align-items: center;
52492
53473
  }
52493
53474
 
52494
- .task-board-column__title {
53475
+ .column-board-column__title {
52495
53476
  min-width: 0;
52496
53477
  flex-grow: 1;
52497
53478
  color: var(--semantics-content-color);
52498
- font: var(--_task-board-column-title-font);
53479
+ font: var(--_column-board-column-title-font);
53480
+ text-wrap: balance;
52499
53481
  }
52500
53482
 
52501
- .task-board-column__count {
53483
+ .column-board-column__count {
52502
53484
  flex-shrink: 0;
52503
- color: var(--_task-board-column-count-color);
52504
- font: var(--_task-board-column-count-font);
53485
+ color: var(--_column-board-column-count-color);
53486
+ font: var(--_column-board-column-count-font);
52505
53487
  }
52506
53488
 
52507
- .task-board-column__main {
53489
+ .column-board-column__main {
52508
53490
  box-sizing: border-box;
52509
53491
  display: flex;
52510
53492
  position: relative;
52511
- min-height: var(--_task-board-column-main-min-height);
53493
+ min-height: var(--_column-board-column-main-min-height);
52512
53494
  overflow-y: auto;
52513
- padding: var(--_task-board-column-main-padding);
53495
+ padding: var(--_column-board-column-main-padding);
52514
53496
  flex-direction: column;
52515
53497
  flex-grow: 1;
52516
- gap: var(--_task-board-column-main-gap);
52517
- mask-image: linear-gradient(to bottom, transparent 0, black var(--_task-board-column-main-fade-top), black calc(100% - var(--_task-board-column-main-fade-bottom)), transparent 100%);
53498
+ gap: var(--_column-board-column-main-gap);
53499
+ mask-image: linear-gradient(to bottom, transparent 0, black var(--_column-board-column-main-fade-top), black calc(100% - var(--_column-board-column-main-fade-bottom)), transparent 100%);
52518
53500
  }
52519
53501
 
52520
- .task-board-column__main.can-scroll-up {
52521
- --_task-board-column-main-fade-top: var(--_task-board-column-main-fade-size);
53502
+ .column-board-column__main.can-scroll-up {
53503
+ --_column-board-column-main-fade-top: var(--_column-board-column-main-fade-size);
52522
53504
  }
52523
53505
 
52524
- .task-board-column__main.can-scroll-down {
52525
- --_task-board-column-main-fade-bottom: var(--_task-board-column-main-fade-size);
53506
+ .column-board-column__main.can-scroll-down {
53507
+ --_column-board-column-main-fade-bottom: var(--_column-board-column-main-fade-size);
52526
53508
  }
52527
53509
 
52528
- .task-board-column__footer {
53510
+ .column-board-column__footer {
52529
53511
  flex-shrink: 0;
52530
53512
  }
52531
53513
 
52532
- .task-board-column__footer[hidden] {
53514
+ .column-board-column__footer[hidden] {
52533
53515
  display: none;
52534
53516
  }
52535
53517
 
@@ -52539,42 +53521,42 @@ var taskBoardColumnStyles = css`
52539
53521
  }
52540
53522
 
52541
53523
  /* The item keeps its place while it is dragged, as an empty slot. */
52542
- ::slotted([data-task-board-dragging]) {
53524
+ ::slotted([data-column-board-dragging]) {
52543
53525
  visibility: hidden;
52544
53526
  }
52545
53527
 
52546
- .task-board-column__placeholder {
53528
+ .column-board-column__placeholder {
52547
53529
  position: absolute;
52548
- top: var(--_task-board-column-placeholder-top);
52549
- left: var(--_task-board-column-placeholder-left);
52550
- border-radius: var(--_task-board-column-placeholder-corner-radius);
52551
- background-color: var(--_task-board-column-placeholder-background-color);
53530
+ top: var(--_column-board-column-placeholder-top);
53531
+ left: var(--_column-board-column-placeholder-left);
53532
+ border-radius: var(--_column-board-column-placeholder-corner-radius);
53533
+ background-color: var(--_column-board-column-placeholder-background-color);
52552
53534
  pointer-events: none;
52553
- width: var(--_task-board-column-placeholder-width);
52554
- height: var(--_task-board-column-placeholder-height);
53535
+ width: var(--_column-board-column-placeholder-width);
53536
+ height: var(--_column-board-column-placeholder-height);
52555
53537
  }
52556
53538
 
52557
- .task-board-column__placeholder.is-returning {
52558
- box-shadow: inset 0 0 0 var(--_task-board-column-placeholder-border-width) var(--_task-board-column-placeholder-border-color);
53539
+ .column-board-column__placeholder.is-returning {
53540
+ box-shadow: inset 0 0 0 var(--_column-board-column-placeholder-border-width) var(--_column-board-column-placeholder-border-color);
52559
53541
  }
52560
53542
 
52561
- .task-board-column__placeholder[hidden] {
53543
+ .column-board-column__placeholder[hidden] {
52562
53544
  display: none;
52563
53545
  }
52564
53546
 
52565
- .task-board-column__drop-indicator {
53547
+ .column-board-column__drop-indicator {
52566
53548
  position: absolute;
52567
- top: var(--_task-board-column-indicator-top);
52568
- right: var(--_task-board-column-indicator-inset);
52569
- left: var(--_task-board-column-indicator-inset);
52570
- border-radius: var(--_task-board-column-indicator-thickness);
52571
- background-color: var(--_task-board-column-indicator-color);
53549
+ top: var(--_column-board-column-indicator-top);
53550
+ right: var(--_column-board-column-indicator-inset);
53551
+ left: var(--_column-board-column-indicator-inset);
53552
+ border-radius: var(--_column-board-column-indicator-thickness);
53553
+ background-color: var(--_column-board-column-indicator-color);
52572
53554
  pointer-events: none;
52573
- height: var(--_task-board-column-indicator-thickness);
53555
+ height: var(--_column-board-column-indicator-thickness);
52574
53556
  transform: translateY(-50%);
52575
53557
  }
52576
53558
 
52577
- .task-board-column__drop-indicator[hidden] {
53559
+ .column-board-column__drop-indicator[hidden] {
52578
53560
  display: none;
52579
53561
  }
52580
53562
 
@@ -52582,84 +53564,84 @@ var taskBoardColumnStyles = css`
52582
53564
  /* # High contrast */
52583
53565
 
52584
53566
  @media (forced-colors: active) {
52585
- .task-board-column {
52586
- border: var(--_task-board-column-highlight-border-width) solid CanvasText;
53567
+ .column-board-column {
53568
+ border: var(--_column-board-column-highlight-border-width) solid CanvasText;
52587
53569
  }
52588
53570
 
52589
- .task-board-column__drop-indicator {
53571
+ .column-board-column__drop-indicator {
52590
53572
  background-color: Highlight;
52591
53573
  }
52592
53574
  }
52593
53575
  `;
52594
- // src/components/layout/task-board/task-board.template.ts
52595
- function taskBoardTemplate(component) {
53576
+ // src/components/layout/column-board/column-board.template.ts
53577
+ function columnBoardTemplate(component) {
52596
53578
  return html`
52597
53579
  <div class=${classMap({
52598
- "task-board": true,
53580
+ "column-board": true,
52599
53581
  "can-scroll-left": component._canScrollLeft,
52600
53582
  "can-scroll-right": component._canScrollRight,
52601
53583
  "is-dragging": component._dragging
52602
53584
  })}
52603
53585
  role="region"
52604
- aria-label=${component.accessibleLabel || component._t("components.task-board.accessible-label")}
53586
+ aria-label=${component.accessibleLabel || component._t("components.column-board.accessible-label")}
52605
53587
  tabindex=${component._canScrollLeft || component._canScrollRight ? "0" : nothing}
52606
53588
  @scroll=${component._updateScroll}
52607
53589
  >
52608
53590
  <slot @slotchange=${component._updateScroll}></slot>
52609
53591
  </div>
52610
- <div class="task-board__announcer"
53592
+ <div class="column-board__announcer"
52611
53593
  role="status"
52612
53594
  aria-live="polite"
52613
53595
  aria-atomic="true"
52614
53596
  ></div>
52615
53597
  `;
52616
53598
  }
52617
- // src/components/layout/task-board/task-board-column.template.ts
52618
- function taskBoardColumnTemplate(component) {
53599
+ // src/components/layout/column-board/column-board-column.template.ts
53600
+ function columnBoardColumnTemplate(component) {
52619
53601
  return html`
52620
53602
  <section class=${classMap({
52621
- "task-board-column": true,
53603
+ "column-board-column": true,
52622
53604
  "is-drop-available": component._dropState === "available",
52623
53605
  "is-drop-over": component._dropState === "over"
52624
53606
  })}
52625
53607
  aria-label=${component.label || nothing}
52626
53608
  >
52627
- <div class="task-board-column__header">
53609
+ <div class="column-board-column__header">
52628
53610
  <slot name="header">
52629
- <span class="task-board-column__title">
53611
+ <span class="column-board-column__title">
52630
53612
  ${component.text}
52631
53613
  </span>
52632
- <span class="task-board-column__count">
53614
+ <span class="column-board-column__count">
52633
53615
  ${component._count}
52634
53616
  </span>
52635
53617
  </slot>
52636
53618
  </div>
52637
53619
  <div class=${classMap({
52638
- "task-board-column__main": true,
53620
+ "column-board-column__main": true,
52639
53621
  "can-scroll-up": component._canScrollUp,
52640
53622
  "can-scroll-down": component._canScrollDown
52641
53623
  })}
52642
53624
  @scroll=${component._updateScroll}
52643
53625
  >
52644
- <div class="task-board-column__placeholder${component._returning ? " is-returning" : ""}"
53626
+ <div class="column-board-column__placeholder${component._returning ? " is-returning" : ""}"
52645
53627
  ?hidden=${!component._placeholder}
52646
53628
  ></div>
52647
53629
  <slot @slotchange=${component._handleSlotChange}></slot>
52648
- <div class="task-board-column__footer"
53630
+ <div class="column-board-column__footer"
52649
53631
  ?hidden=${!component._hasFooter}
52650
53632
  >
52651
53633
  <slot name="footer" @slotchange=${component._handleFooterChange}></slot>
52652
53634
  </div>
52653
- <div class="task-board-column__drop-indicator"
53635
+ <div class="column-board-column__drop-indicator"
52654
53636
  ?hidden=${component._dropIndex === null}
52655
53637
  ></div>
52656
53638
  </div>
52657
53639
  </section>
52658
53640
  `;
52659
53641
  }
52660
- // src/components/layout/task-board/task-board-column.ts
53642
+ // src/components/layout/column-board/column-board-column.ts
52661
53643
  /**
52662
- * One column of an `nldd-task-board`: a header and the items under it. The items
53644
+ * One column of an `nldd-column-board`: a header and the items under it. The items
52663
53645
  * are whatever you put in the column, usually an `nldd-card` each; the board
52664
53646
  * moves them between columns.
52665
53647
  *
@@ -52672,7 +53654,7 @@ function taskBoardColumnTemplate(component) {
52672
53654
  * The column scrolls on its own once its items do not fit the height of the
52673
53655
  * board, and fades at the top or the bottom while there is more to scroll to.
52674
53656
  *
52675
- * @element nldd-task-board-column
53657
+ * @element nldd-column-board-column
52676
53658
  * @attr {string} text - The column's name, shown in the header and used as its accessible name
52677
53659
  * @attr {string} accessible-label - Accessible name in place of `text`, for a column whose header comes from the slot
52678
53660
  * @attr {string} value - What the column stands for in your data, such as a status; `nldd-move` reports it as `fromColumn` and `toColumn`
@@ -52681,7 +53663,7 @@ function taskBoardColumnTemplate(component) {
52681
53663
  * @slot - The items
52682
53664
  * @slot footer - Right under the last item, such as a button to add one; it scrolls along with the items
52683
53665
  */
52684
- var _NLDDTaskBoardColumn = class NLDDTaskBoardColumn extends LitElement {
53666
+ var _NLDDColumnBoardColumn = class NLDDColumnBoardColumn extends LitElement {
52685
53667
  constructor(..._args) {
52686
53668
  super(..._args);
52687
53669
  this.text = "";
@@ -52727,7 +53709,7 @@ var _NLDDTaskBoardColumn = class NLDDTaskBoardColumn extends LitElement {
52727
53709
  this._resizeObserver.disconnect();
52728
53710
  this._resizeObserver.observe(this._mainElement);
52729
53711
  for (const item of this.items) this._resizeObserver.observe(item);
52730
- const footer = this.shadowRoot?.querySelector(".task-board-column__footer");
53712
+ const footer = this.shadowRoot?.querySelector(".column-board-column__footer");
52731
53713
  if (footer) this._resizeObserver.observe(footer);
52732
53714
  }
52733
53715
  connectedCallback() {
@@ -52757,14 +53739,14 @@ var _NLDDTaskBoardColumn = class NLDDTaskBoardColumn extends LitElement {
52757
53739
  /** Lays the placeholder over the empty place of the dragged item. */
52758
53740
  _placePlaceholder() {
52759
53741
  const item = this._placeholder;
52760
- const placeholder = this.shadowRoot?.querySelector(".task-board-column__placeholder");
53742
+ const placeholder = this.shadowRoot?.querySelector(".column-board-column__placeholder");
52761
53743
  if (!item || !placeholder) return;
52762
53744
  const main = this._mainElement.getBoundingClientRect();
52763
53745
  const rect = item.getBoundingClientRect();
52764
- placeholder.style.setProperty("--_task-board-column-placeholder-top", `${rect.top - main.top + this._mainElement.scrollTop}px`);
52765
- placeholder.style.setProperty("--_task-board-column-placeholder-left", `${rect.left - main.left + this._mainElement.scrollLeft}px`);
52766
- placeholder.style.setProperty("--_task-board-column-placeholder-width", `${rect.width}px`);
52767
- placeholder.style.setProperty("--_task-board-column-placeholder-height", `${rect.height}px`);
53746
+ placeholder.style.setProperty("--_column-board-column-placeholder-top", `${rect.top - main.top + this._mainElement.scrollTop}px`);
53747
+ placeholder.style.setProperty("--_column-board-column-placeholder-left", `${rect.left - main.left + this._mainElement.scrollLeft}px`);
53748
+ placeholder.style.setProperty("--_column-board-column-placeholder-width", `${rect.width}px`);
53749
+ placeholder.style.setProperty("--_column-board-column-placeholder-height", `${rect.height}px`);
52768
53750
  }
52769
53751
  /** Puts the line between the items where a dropped item would land. */
52770
53752
  _placeIndicator() {
@@ -52778,43 +53760,43 @@ var _NLDDTaskBoardColumn = class NLDDTaskBoardColumn extends LitElement {
52778
53760
  if (before) top = before.getBoundingClientRect().top - gap / 2;
52779
53761
  else if (after) top = after.getBoundingClientRect().bottom + gap / 2;
52780
53762
  else top = main.top + parseFloat(getComputedStyle(this._mainElement).paddingTop);
52781
- this._indicator.style.setProperty("--_task-board-column-indicator-top", `${top - main.top + this._mainElement.scrollTop}px`);
53763
+ this._indicator.style.setProperty("--_column-board-column-indicator-top", `${top - main.top + this._mainElement.scrollTop}px`);
52782
53764
  }
52783
53765
  render() {
52784
- return taskBoardColumnTemplate(this);
53766
+ return columnBoardColumnTemplate(this);
52785
53767
  }
52786
53768
  };
52787
- var NLDDTaskBoardColumn = (_NLDDTaskBoardColumn.styles = taskBoardColumnStyles, _NLDDTaskBoardColumn);
53769
+ var NLDDColumnBoardColumn = (_NLDDColumnBoardColumn.styles = columnBoardColumnStyles, _NLDDColumnBoardColumn);
52788
53770
  __decorate([property({
52789
53771
  reflect: true,
52790
53772
  converter: reflectNonDefault("")
52791
- })], NLDDTaskBoardColumn.prototype, "text", void 0);
53773
+ })], NLDDColumnBoardColumn.prototype, "text", void 0);
52792
53774
  __decorate([property({
52793
53775
  type: String,
52794
53776
  attribute: "accessible-label"
52795
- })], NLDDTaskBoardColumn.prototype, "accessibleLabel", void 0);
53777
+ })], NLDDColumnBoardColumn.prototype, "accessibleLabel", void 0);
52796
53778
  __decorate([property({
52797
53779
  reflect: true,
52798
53780
  converter: reflectNonDefault("")
52799
- })], NLDDTaskBoardColumn.prototype, "value", void 0);
52800
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_count", void 0);
52801
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_hasFooter", void 0);
52802
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_dropIndex", void 0);
52803
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_placeholder", void 0);
52804
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_returning", void 0);
52805
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_dropState", void 0);
52806
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_canScrollUp", void 0);
52807
- __decorate([state()], NLDDTaskBoardColumn.prototype, "_canScrollDown", void 0);
52808
- __decorate([query(".task-board-column__main")], NLDDTaskBoardColumn.prototype, "_mainElement", void 0);
52809
- __decorate([query(".task-board-column__drop-indicator")], NLDDTaskBoardColumn.prototype, "_indicator", void 0);
52810
- NLDDTaskBoardColumn = __decorate([customElement("nldd-task-board-column")], NLDDTaskBoardColumn);
52811
- // src/components/layout/task-board/task-board.ts
53781
+ })], NLDDColumnBoardColumn.prototype, "value", void 0);
53782
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_count", void 0);
53783
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_hasFooter", void 0);
53784
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_dropIndex", void 0);
53785
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_placeholder", void 0);
53786
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_returning", void 0);
53787
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_dropState", void 0);
53788
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_canScrollUp", void 0);
53789
+ __decorate([state()], NLDDColumnBoardColumn.prototype, "_canScrollDown", void 0);
53790
+ __decorate([query(".column-board-column__main")], NLDDColumnBoardColumn.prototype, "_mainElement", void 0);
53791
+ __decorate([query(".column-board-column__drop-indicator")], NLDDColumnBoardColumn.prototype, "_indicator", void 0);
53792
+ NLDDColumnBoardColumn = __decorate([customElement("nldd-column-board-column")], NLDDColumnBoardColumn);
53793
+ // src/components/layout/column-board/column-board.ts
52812
53794
  /**
52813
- * Nederlandse Digitale Dienst Task Board Component (Lit + TypeScript)
53795
+ * Nederlandse Digitale Dienst Column Board Component (Lit + TypeScript)
52814
53796
  *
52815
53797
  * Columns side by side, with items you move between them: a kanban board, or
52816
53798
  * any board where an item's column is one of its values, such as a status or a
52817
- * team. Put `nldd-task-board-column`s in it, and the items in those, usually an
53799
+ * team. Put `nldd-column-board-column`s in it, and the items in those, usually an
52818
53800
  * `nldd-card` each. The board scrolls sideways once its columns do not fit, and
52819
53801
  * a column scrolls on its own once its items do not fit the height you give the
52820
53802
  * board.
@@ -52851,20 +53833,20 @@ NLDDTaskBoardColumn = __decorate([customElement("nldd-task-board-column")], NLDD
52851
53833
  * synchronously in the handler: the board puts focus back on the item right
52852
53834
  * after, and a screen reader hears where it landed.
52853
53835
  *
52854
- * @element nldd-task-board
52855
- * @attr {string} accessible-label - Accessible name of the board (default: "Takenbord")
53836
+ * @element nldd-column-board
53837
+ * @attr {string} accessible-label - Accessible name of the board (default: "Bord")
52856
53838
  * @attr {string} height - Fixed height as a CSS length (e.g. '480px'): every column takes it, and scrolls its items once they do not fit. To fill a page or a pane, set the height in your layout instead (flex, or `height: 100%`)
52857
53839
  * @attr {boolean} readonly - Items cannot be dragged or moved with the keyboard; they still work, and `moveItem()` still moves
52858
53840
  * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
52859
53841
  *
52860
- * @slot - The columns: `nldd-task-board-column`
53842
+ * @slot - The columns: `nldd-column-board-column`
52861
53843
  *
52862
53844
  * @fires nldd-move - An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one)
52863
53845
  * @fires nldd-move-denied - An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }`
52864
53846
  *
52865
53847
  * @method moveItem(item, toColumn, toIndex?) - Moves an item to a column, given as its `value` or as the element, at `toIndex` or at the end; fires `nldd-move` and says where it landed. Returns whether it moved.
52866
53848
  */
52867
- var _NLDDTaskBoard;
53849
+ var _NLDDColumnBoard;
52868
53850
  /** How far a mouse or pen moves before a press becomes a drag, in pixels. */
52869
53851
  var DRAG_THRESHOLD$1 = 4;
52870
53852
  /** How far a finger may wander while it holds an item, and how long it holds. */
@@ -52880,7 +53862,7 @@ var COLUMN_REVEAL_DELAY_MS = 300;
52880
53862
  var DENIED_MS = 1500;
52881
53863
  /** How long the pointer stays outside the board before the copy says it goes back. */
52882
53864
  var RETURN_NOTE_DELAY_MS = 300;
52883
- var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslations(LitElement, nlddTaskBoardTranslations) {
53865
+ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTranslations(LitElement, nlddColumnBoardTranslations) {
52884
53866
  constructor(..._args) {
52885
53867
  super(..._args);
52886
53868
  this.accessibleLabel = "";
@@ -52938,7 +53920,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
52938
53920
  if (step === 0) {
52939
53921
  const toIndex = fromIndex + (event.key === "ArrowUp" ? -1 : 1);
52940
53922
  if (toIndex < 0 || toIndex > from.items.length - 1) {
52941
- this._announce(this._t("components.task-board.edge-text"));
53923
+ this._announce(this._t("components.column-board.edge-text"));
52942
53924
  return;
52943
53925
  }
52944
53926
  this._move(item, from, fromIndex, from, toIndex);
@@ -52946,7 +53928,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
52946
53928
  }
52947
53929
  const to = columns[columns.indexOf(from) + step];
52948
53930
  if (!to) {
52949
- this._announce(this._t("components.task-board.edge-text"));
53931
+ this._announce(this._t("components.column-board.edge-text"));
52950
53932
  return;
52951
53933
  }
52952
53934
  this._move(item, from, fromIndex, to, Math.min(fromIndex, to.items.length));
@@ -53039,7 +54021,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53039
54021
  }
53040
54022
  /** The columns, in order. */
53041
54023
  get columns() {
53042
- return Array.from(this.children).filter((el) => el instanceof NLDDTaskBoardColumn && !el.hidden);
54024
+ return Array.from(this.children).filter((el) => el instanceof NLDDColumnBoardColumn && !el.hidden);
53043
54025
  }
53044
54026
  connectedCallback() {
53045
54027
  super.connectedCallback();
@@ -53061,8 +54043,8 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53061
54043
  updated(changed) {
53062
54044
  if (changed.has("height")) {
53063
54045
  const height = this.height;
53064
- if (height && CSS.supports("height", height)) this.style.setProperty("--_task-board-height", height);
53065
- else this.style.removeProperty("--_task-board-height");
54046
+ if (height && CSS.supports("height", height)) this.style.setProperty("--_column-board-height", height);
54047
+ else this.style.removeProperty("--_column-board-height");
53066
54048
  }
53067
54049
  if (changed.has("readonly")) {
53068
54050
  this._endPress();
@@ -53086,7 +54068,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53086
54068
  const room = to.items.filter((el) => el !== item).length;
53087
54069
  const index = Math.max(0, Math.min(toIndex ?? room, room));
53088
54070
  if (from === to && index === fromIndex) {
53089
- this._announce(this._t("components.task-board.no-change-text"));
54071
+ this._announce(this._t("components.column-board.no-change-text"));
53090
54072
  return false;
53091
54073
  }
53092
54074
  return this._move(item, from, fromIndex, to, index);
@@ -53108,7 +54090,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53108
54090
  composed: true
53109
54091
  }));
53110
54092
  const total = to.items.filter((el) => el !== item).length + 1;
53111
- this._announce(this._t("components.task-board.moved-text", {
54093
+ this._announce(this._t("components.column-board.moved-text", {
53112
54094
  column: to.label,
53113
54095
  position: toIndex + 1,
53114
54096
  total
@@ -53124,7 +54106,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53124
54106
  /** The column an element sits in as an item, if it is one in this board. */
53125
54107
  _columnOf(item) {
53126
54108
  const parent = item.parentElement;
53127
- return parent instanceof NLDDTaskBoardColumn && parent.parentElement === this && !item.slot ? parent : null;
54109
+ return parent instanceof NLDDColumnBoardColumn && parent.parentElement === this && !item.slot ? parent : null;
53128
54110
  }
53129
54111
  /** The item an event happened in: the child of a column it came through. */
53130
54112
  _itemFrom(event) {
@@ -53150,7 +54132,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53150
54132
  return active instanceof HTMLElement ? active : null;
53151
54133
  }
53152
54134
  _announce(message) {
53153
- const region = this.shadowRoot?.querySelector(".task-board__announcer");
54135
+ const region = this.shadowRoot?.querySelector(".column-board__announcer");
53154
54136
  if (!region) return;
53155
54137
  region.textContent = "";
53156
54138
  requestAnimationFrame(() => requestAnimationFrame(() => {
@@ -53213,7 +54195,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53213
54195
  borderRadius: this._cornerRadius(item)
53214
54196
  });
53215
54197
  document.body.append(ghost);
53216
- item.setAttribute("data-task-board-dragging", "");
54198
+ item.setAttribute("data-column-board-dragging", "");
53217
54199
  document.getSelection()?.removeAllRanges();
53218
54200
  document.documentElement.style.setProperty("user-select", "none");
53219
54201
  document.documentElement.style.setProperty("-webkit-user-select", "none");
@@ -53302,7 +54284,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53302
54284
  }
53303
54285
  if (!drag.note && !drag.noteTimer) drag.noteTimer = window.setTimeout(() => {
53304
54286
  if (this._drag !== drag) return;
53305
- drag.note = this._note(this._t("components.task-board.drag-return-text"));
54287
+ drag.note = this._note(this._t("components.column-board.drag-return-text"));
53306
54288
  this._followReturnNote(false);
53307
54289
  }, RETURN_NOTE_DELAY_MS);
53308
54290
  if (!drag.note) return;
@@ -53331,7 +54313,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53331
54313
  _columnRevealLeft(column) {
53332
54314
  const el = this._scroller;
53333
54315
  const styles = getComputedStyle(el);
53334
- const insetStart = parseFloat(styles.getPropertyValue("--_task-board-fade-size")) || 0;
54316
+ const insetStart = parseFloat(styles.getPropertyValue("--_column-board-fade-size")) || 0;
53335
54317
  const insetEnd = insetStart;
53336
54318
  const current = el.scrollLeft;
53337
54319
  const rect = column.getBoundingClientRect();
@@ -53360,11 +54342,11 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53360
54342
  const { item, from, fromIndex, target, index } = drag;
53361
54343
  this._endDrag();
53362
54344
  if (!target) {
53363
- this._announce(this._t("components.task-board.drag-canceled-text"));
54345
+ this._announce(this._t("components.column-board.drag-canceled-text"));
53364
54346
  return;
53365
54347
  }
53366
54348
  if (target === from && (index === fromIndex || index === fromIndex + 1)) {
53367
- this._announce(this._t("components.task-board.no-change-text"));
54349
+ this._announce(this._t("components.column-board.no-change-text"));
53368
54350
  return;
53369
54351
  }
53370
54352
  this._move(item, from, fromIndex, target, target === from && index > fromIndex ? index - 1 : index);
@@ -53372,7 +54354,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53372
54354
  _cancelDrag() {
53373
54355
  if (!this._drag) return;
53374
54356
  this._endDrag();
53375
- this._announce(this._t("components.task-board.drag-canceled-text"));
54357
+ this._announce(this._t("components.column-board.drag-canceled-text"));
53376
54358
  }
53377
54359
  _endDrag() {
53378
54360
  const drag = this._drag;
@@ -53382,7 +54364,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53382
54364
  clearTimeout(drag.columnRevealTimer);
53383
54365
  drag.note?.remove();
53384
54366
  drag.ghost.remove();
53385
- drag.item.removeAttribute("data-task-board-dragging");
54367
+ drag.item.removeAttribute("data-column-board-dragging");
53386
54368
  if (drag.target) drag.target._dropIndex = null;
53387
54369
  for (const column of this.columns) column._dropState = null;
53388
54370
  drag.from._placeholder = null;
@@ -53416,7 +54398,7 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53416
54398
  * and tells the app. */
53417
54399
  _deny(item) {
53418
54400
  this._hideDenied();
53419
- const text = this._t("components.task-board.readonly-text");
54401
+ const text = this._t("components.column-board.readonly-text");
53420
54402
  this._announce(text);
53421
54403
  const rect = item.getBoundingClientRect();
53422
54404
  const below = rect.top < SCROLL_EDGE;
@@ -53466,26 +54448,26 @@ var NLDDTaskBoard = (_NLDDTaskBoard = class NLDDTaskBoard extends withTranslatio
53466
54448
  this._deniedCursor = null;
53467
54449
  }
53468
54450
  render() {
53469
- return taskBoardTemplate(this);
54451
+ return columnBoardTemplate(this);
53470
54452
  }
53471
- }, _NLDDTaskBoard.styles = taskBoardStyles, _NLDDTaskBoard);
54453
+ }, _NLDDColumnBoard.styles = columnBoardStyles, _NLDDColumnBoard);
53472
54454
  __decorate([property({
53473
54455
  type: String,
53474
54456
  attribute: "accessible-label"
53475
- })], NLDDTaskBoard.prototype, "accessibleLabel", void 0);
54457
+ })], NLDDColumnBoard.prototype, "accessibleLabel", void 0);
53476
54458
  __decorate([property({
53477
54459
  type: String,
53478
54460
  reflect: true
53479
- })], NLDDTaskBoard.prototype, "height", void 0);
54461
+ })], NLDDColumnBoard.prototype, "height", void 0);
53480
54462
  __decorate([property({
53481
54463
  type: Boolean,
53482
54464
  reflect: true
53483
- })], NLDDTaskBoard.prototype, "readonly", void 0);
53484
- __decorate([query(".task-board")], NLDDTaskBoard.prototype, "_scroller", void 0);
53485
- __decorate([state()], NLDDTaskBoard.prototype, "_canScrollLeft", void 0);
53486
- __decorate([state()], NLDDTaskBoard.prototype, "_canScrollRight", void 0);
53487
- __decorate([state()], NLDDTaskBoard.prototype, "_dragging", void 0);
53488
- NLDDTaskBoard = __decorate([customElement("nldd-task-board")], NLDDTaskBoard);
54465
+ })], NLDDColumnBoard.prototype, "readonly", void 0);
54466
+ __decorate([query(".column-board")], NLDDColumnBoard.prototype, "_scroller", void 0);
54467
+ __decorate([state()], NLDDColumnBoard.prototype, "_canScrollLeft", void 0);
54468
+ __decorate([state()], NLDDColumnBoard.prototype, "_canScrollRight", void 0);
54469
+ __decorate([state()], NLDDColumnBoard.prototype, "_dragging", void 0);
54470
+ NLDDColumnBoard = __decorate([customElement("nldd-column-board")], NLDDColumnBoard);
53489
54471
  // src/components/lists-and-tables/list-item-segment/list-item-segment.styles.ts
53490
54472
  var listItemSegmentStyles = css`
53491
54473
  :host {
@@ -54846,6 +55828,7 @@ var descriptionCellStyles = css`
54846
55828
  align-self: stretch !important;
54847
55829
  color: var(--context-content-secondary-color, var(--semantics-content-secondary-color)) !important;
54848
55830
  font: var(--primitives-font-body-sm-regular-flat) !important;
55831
+ text-wrap: pretty !important;
54849
55832
  }
54850
55833
 
54851
55834
  @media (forced-colors: active) {
@@ -54862,6 +55845,7 @@ var descriptionCellStyles = css`
54862
55845
  align-self: stretch !important;
54863
55846
  color: var(--context-content-color, var(--semantics-content-color)) !important;
54864
55847
  font: var(--primitives-font-body-md-regular-tight) !important;
55848
+ text-wrap: pretty !important;
54865
55849
  }
54866
55850
 
54867
55851
  @media (forced-colors: active) {
@@ -57218,6 +58202,13 @@ __decorate([property({
57218
58202
  })], NLDDSkipLink.prototype, "text", void 0);
57219
58203
  __decorate([property({ type: String })], NLDDSkipLink.prototype, "href", void 0);
57220
58204
  NLDDSkipLink = __decorate([customElement("nldd-skip-link")], NLDDSkipLink);
58205
+ // src/utilities/status-bar-change.ts
58206
+ /**
58207
+ * Fired on window when an nldd-status-bar connects or disconnects, so an
58208
+ * nldd-top-navigation-bar measures again where its ribbon starts. In a module
58209
+ * of its own, so the navigation bar can listen without bundling the status bar.
58210
+ */
58211
+ var STATUS_BAR_CHANGE = "nldd-status-bar-change";
57221
58212
  // src/components/navigation/top-navigation-bar/top-navigation-bar.styles.ts
57222
58213
  var smMax$2 = unsafeCSS(queryBreakpoints.smMax);
57223
58214
  var mdMin$1 = unsafeCSS(queryBreakpoints.mdMin);
@@ -57384,6 +58375,11 @@ var topNavigationBarStyles = css`
57384
58375
  }
57385
58376
  }
57386
58377
 
58378
+ :host([data-under-status-bar]) .top-navigation-bar__logo::before,
58379
+ :host([data-under-status-bar]) .top-navigation-bar__logo > .top-navigation-bar__ribbon-at-top {
58380
+ display: none;
58381
+ }
58382
+
57387
58383
  @keyframes top-navigation-bar-ribbon-at-top {
57388
58384
  to {
57389
58385
  visibility: hidden;
@@ -58000,7 +58996,7 @@ async function loadDependencies() {
58000
58996
  Promise.resolve().then(() => list_item_exports),
58001
58997
  Promise.resolve().then(() => text_cell_exports),
58002
58998
  Promise.resolve().then(() => icon_cell_exports),
58003
- import("./icon-BQjRjtKH.js").then((n) => n.n)
58999
+ import("./icon-DU_IMj2t.js").then((n) => n.n)
58004
59000
  ]);
58005
59001
  }
58006
59002
  /** The rows of a level, read from its container: the global menu bar's items
@@ -58090,8 +59086,14 @@ var NLDDTopNavigationBar = (_NLDDTopNavigationBar = class NLDDTopNavigationBar e
58090
59086
  if (window.scrollY > 0) return;
58091
59087
  const logo = this.shadowRoot?.querySelector(".top-navigation-bar__logo");
58092
59088
  if (!logo) return;
58093
- const offset = Math.max(0, Math.round(logo.getBoundingClientRect().top + window.scrollY));
59089
+ const rect = logo.getBoundingClientRect();
59090
+ const offset = Math.max(0, Math.round(rect.top + window.scrollY));
58094
59091
  this.style.setProperty("--_top-navigation-bar-logo-offset", `${offset}px`);
59092
+ const underStatusBar = [...document.querySelectorAll("nldd-status-bar")].some((bar) => {
59093
+ const box = bar.getBoundingClientRect();
59094
+ return box.height > 0 && box.bottom <= rect.top + 1 && box.left < rect.right && box.right > rect.left;
59095
+ });
59096
+ this.toggleAttribute("data-under-status-bar", underStatusBar);
58095
59097
  };
58096
59098
  this._handleItemSelect = (event) => {
58097
59099
  const detail = event.detail;
@@ -58208,6 +59210,7 @@ var NLDDTopNavigationBar = (_NLDDTopNavigationBar = class NLDDTopNavigationBar e
58208
59210
  this.addEventListener("select", this._handleItemSelect);
58209
59211
  window.addEventListener("scroll", this._syncLogoOffset, { passive: true });
58210
59212
  window.addEventListener("resize", this._syncLogoOffset, { passive: true });
59213
+ window.addEventListener(STATUS_BAR_CHANGE, this._syncLogoOffset);
58211
59214
  this._setupCompactDetection();
58212
59215
  }
58213
59216
  disconnectedCallback() {
@@ -58215,6 +59218,7 @@ var NLDDTopNavigationBar = (_NLDDTopNavigationBar = class NLDDTopNavigationBar e
58215
59218
  this.removeEventListener("select", this._handleItemSelect);
58216
59219
  window.removeEventListener("scroll", this._syncLogoOffset);
58217
59220
  window.removeEventListener("resize", this._syncLogoOffset);
59221
+ window.removeEventListener(STATUS_BAR_CHANGE, this._syncLogoOffset);
58218
59222
  this._cleanupCompactDetection();
58219
59223
  this._menuSheet.remove();
58220
59224
  }
@@ -61066,6 +62070,7 @@ var modalDialogStyles = css`
61066
62070
  /* # Host */
61067
62071
 
61068
62072
  :host {
62073
+ --_modal-dialog-background-color: var(--semantics-surfaces-base-background-color);
61069
62074
  --_modal-dialog-max-height: 90vh;
61070
62075
  --_modal-dialog-padding: var(--primitives-space-16);
61071
62076
  --_modal-dialog-content-max-width: var(--primitives-area-360);
@@ -61095,13 +62100,14 @@ var modalDialogStyles = css`
61095
62100
  --context-scroll-mode: nested;
61096
62101
  --context-inset-top: 0px;
61097
62102
  --context-inset-bottom: 0px;
62103
+ --context-parent-background-color: var(--_modal-dialog-background-color);
61098
62104
 
61099
62105
  box-sizing: border-box;
61100
62106
  outline: none;
61101
62107
  border: none;
61102
62108
  border-radius: var(--semantics-overlays-corner-radius);
61103
62109
  box-shadow: var(--semantics-overlays-box-shadow);
61104
- background-color: var(--semantics-surfaces-base-background-color);
62110
+ background-color: var(--_modal-dialog-background-color);
61105
62111
  width: calc(100% - var(--primitives-space-16) * 2);
61106
62112
  max-width: calc(var(--_modal-dialog-content-max-width) + var(--_modal-dialog-padding) * 2);
61107
62113
  max-height: var(--_modal-dialog-max-height);
@@ -63132,6 +64138,7 @@ var progressBarStyles = css`
63132
64138
 
63133
64139
  .progress-bar__text {
63134
64140
  font: var(--_progress-bar-text-font);
64141
+ text-wrap: pretty;
63135
64142
  }
63136
64143
 
63137
64144
  .progress-bar__supporting-text {
@@ -64071,6 +65078,7 @@ var progressCircleStyles = css`
64071
65078
  color: var(--_progress-circle-text-color);
64072
65079
  font: var(--_progress-circle-text-font);
64073
65080
  text-align: center;
65081
+ text-wrap: balance;
64074
65082
  }
64075
65083
 
64076
65084
  .progress-circle__supporting-text {
@@ -64705,6 +65713,38 @@ __decorate([state()], NLDDProgressCircle.prototype, "_arcsAtZero", void 0);
64705
65713
  NLDDProgressCircle = _NLDDProgressCircle = __decorate([customElement("nldd-progress-circle")], NLDDProgressCircle);
64706
65714
  // src/components/status-and-feedback/step-bar/step-bar.styles.ts
64707
65715
  var smMax = unsafeCSS(queryBreakpoints.smMax);
65716
+ /** The least room a step gets in the row; with less, the bar goes compact. 120px at a 16px root. */
65717
+ var STEP_MIN_WIDTH_REM = 7.5;
65718
+ /** Step counts whose row needs more than the sm breakpoint. From 12 on the bar keeps the threshold of 12. */
65719
+ var COMPACT_COUNTS = [
65720
+ 6,
65721
+ 7,
65722
+ 8,
65723
+ 9,
65724
+ 10,
65725
+ 11,
65726
+ 12
65727
+ ];
65728
+ var compactBelow = (host, width) => css`
65729
+ ${unsafeCSS(host)} .step-bar__items {
65730
+ /* Stays in the DOM for assistive tech. Standard visually-hidden recipe. */
65731
+ @container (max-width: ${width}) {
65732
+ position: absolute;
65733
+ width: 1px;
65734
+ height: 1px;
65735
+ overflow: hidden;
65736
+ clip-path: inset(50%);
65737
+ white-space: nowrap;
65738
+ }
65739
+ }
65740
+
65741
+ ${unsafeCSS(host)} .step-bar__compact-text,
65742
+ ${unsafeCSS(host)} .step-bar__compact-bar {
65743
+ @container (max-width: ${width}) {
65744
+ display: flex;
65745
+ }
65746
+ }
65747
+ `;
64708
65748
  var stepBarStyles = css`
64709
65749
  :host {
64710
65750
  box-sizing: border-box;
@@ -64755,17 +65795,6 @@ var stepBarStyles = css`
64755
65795
  .step-bar__items {
64756
65796
  display: flex;
64757
65797
  align-items: start;
64758
-
64759
- /* Stays in the DOM for assistive tech when the compact view takes over.
64760
- Standard visually-hidden recipe. */
64761
- @container (max-width: ${smMax}) {
64762
- position: absolute;
64763
- width: 1px;
64764
- height: 1px;
64765
- overflow: hidden;
64766
- clip-path: inset(50%);
64767
- white-space: nowrap;
64768
- }
64769
65798
  }
64770
65799
 
64771
65800
  .step-bar__compact-text {
@@ -64776,10 +65805,10 @@ var stepBarStyles = css`
64776
65805
  align-items: baseline;
64777
65806
  color: var(--_step-bar-compact-text-color);
64778
65807
  font: var(--primitives-font-body-md-regular-flat);
65808
+ }
64779
65809
 
64780
- @container (max-width: ${smMax}) {
64781
- display: flex;
64782
- }
65810
+ .step-bar__compact-title {
65811
+ text-wrap: pretty;
64783
65812
  }
64784
65813
 
64785
65814
  .step-bar__compact-count {
@@ -64792,10 +65821,6 @@ var stepBarStyles = css`
64792
65821
  display: none;
64793
65822
  margin-top: var(--_step-bar-compact-bar-gap);
64794
65823
  gap: var(--_step-bar-compact-bar-segment-gap);
64795
-
64796
- @container (max-width: ${smMax}) {
64797
- display: flex;
64798
- }
64799
65824
  }
64800
65825
 
64801
65826
  .step-bar__compact-bar-segment {
@@ -64808,6 +65833,12 @@ var stepBarStyles = css`
64808
65833
  .step-bar__compact-bar-segment[data-filled] {
64809
65834
  background-color: var(--_step-bar-progress-color);
64810
65835
  }
65836
+
65837
+
65838
+ /* ## Compact */
65839
+
65840
+ ${compactBelow(":host", smMax)}
65841
+ ${unsafeCSS(COMPACT_COUNTS.map((count) => compactBelow(`:host([data-steps="${count}"])`, unsafeCSS(`${count * STEP_MIN_WIDTH_REM}rem`)).cssText).join("\n"))}
64811
65842
  `;
64812
65843
  var stepBarItemStyles = css`
64813
65844
  :host {
@@ -64915,6 +65946,8 @@ var stepBarItemStyles = css`
64915
65946
  color: var(--_step-bar-title-color);
64916
65947
  font: var(--primitives-font-body-sm-regular-flat);
64917
65948
  overflow-wrap: anywhere;
65949
+ hyphens: auto;
65950
+ text-wrap: balance;
64918
65951
  }
64919
65952
 
64920
65953
  .step-bar__item.is-current .step-bar__item-title {
@@ -65081,13 +66114,17 @@ function stepBarItemTemplate(component) {
65081
66114
  * values as `nldd-step-cell`, so a flow reads in one vocabulary
65082
66115
  * whether it runs across or down.
65083
66116
  *
65084
- * Horizontal only. For steps under each other, build an `nldd-list` with an
65085
- * `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps
65086
- * usually carry more than a title, and a list row already does that.
65087
- *
65088
- * Below the sm breakpoint (a container query, so measured on the component
65089
- * itself rather than on the viewport) it folds into one line of text plus a
65090
- * segmented bar. The full list of steps stays in the DOM, only visually hidden,
66117
+ * Horizontal only, for 3 to 5 steps and 7 at most: each step needs room for
66118
+ * its label, and with more of them you count instead of seeing at a glance
66119
+ * how far you are. For more steps, or steps under each other, build an
66120
+ * `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row:
66121
+ * vertical steps usually carry more than a title, and a list row already does
66122
+ * that.
66123
+ *
66124
+ * When the bar is no wider than the sm breakpoint, or than 120px per step,
66125
+ * whichever is wider (a container query, so measured on the component itself
66126
+ * rather than on the viewport), it folds into one line of text plus a
66127
+ * segmented bar. A label that is too long for its step breaks at a syllable. The full list of steps stays in the DOM, only visually hidden,
65091
66128
  * so assistive software hears no less than a wide screen shows. A step that
65092
66129
  * is a link or a button is out of the tab order then: Tab would land on
65093
66130
  * something you cannot see (WCAG 2.4.7).
@@ -65195,8 +66232,9 @@ var NLDDStepBar = (_NLDDStepBar = class NLDDStepBar extends withTranslations(Lit
65195
66232
  this._items = [];
65196
66233
  this._observer = new MutationObserver(() => this.requestUpdate());
65197
66234
  this._compact = false;
66235
+ this._width = 0;
65198
66236
  this._resizeObserver = new ResizeObserver(([entry]) => {
65199
- this._compact = entry.contentRect.width <= breakpointPx("smMax");
66237
+ this._width = entry.contentRect.width;
65200
66238
  });
65201
66239
  this._onSlotChange = (e) => {
65202
66240
  const slot = e.target;
@@ -65214,6 +66252,11 @@ var NLDDStepBar = (_NLDDStepBar = class NLDDStepBar extends withTranslations(Lit
65214
66252
  get currentItem() {
65215
66253
  return this._items.find((item) => item.resolvedStatus === "current") ?? this._items[this.resolvedCurrent - 1];
65216
66254
  }
66255
+ /** The step count the styles have a threshold for: none up to 5, where the sm breakpoint is wider than the row needs, and 12 from 12 on. */
66256
+ get _thresholdCount() {
66257
+ if (this.total < COMPACT_COUNTS[0]) return null;
66258
+ return Math.min(this.total, COMPACT_COUNTS[COMPACT_COUNTS.length - 1]);
66259
+ }
65217
66260
  connectedCallback() {
65218
66261
  super.connectedCallback();
65219
66262
  this._observer.observe(this, {
@@ -65233,6 +66276,11 @@ var NLDDStepBar = (_NLDDStepBar = class NLDDStepBar extends withTranslations(Lit
65233
66276
  * element renders. */
65234
66277
  willUpdate(changed) {
65235
66278
  super.willUpdate(changed);
66279
+ const count = this._thresholdCount;
66280
+ if (count === null) this.removeAttribute("data-steps");
66281
+ else this.setAttribute("data-steps", String(count));
66282
+ const threshold = Math.max(breakpointPx("smMax"), (count ?? 0) * STEP_MIN_WIDTH_REM * rootFontSize());
66283
+ this._compact = this._width > 0 && this._width <= threshold;
65236
66284
  this._syncItems();
65237
66285
  }
65238
66286
  /** Push position, derived status and status text down to the children. Push
@@ -65256,7 +66304,7 @@ __decorate([property({
65256
66304
  attribute: "accessible-label"
65257
66305
  })], NLDDStepBar.prototype, "accessibleLabel", void 0);
65258
66306
  __decorate([state()], NLDDStepBar.prototype, "_items", void 0);
65259
- __decorate([state()], NLDDStepBar.prototype, "_compact", void 0);
66307
+ __decorate([state()], NLDDStepBar.prototype, "_width", void 0);
65260
66308
  NLDDStepBar = __decorate([customElement("nldd-step-bar")], NLDDStepBar);
65261
66309
  // src/components/status-and-feedback/status-bar/status-bar.styles.ts
65262
66310
  var statusBarStyles = css`
@@ -65393,6 +66441,65 @@ var statusBarStyles = css`
65393
66441
  }
65394
66442
 
65395
66443
 
66444
+ /* # Above the page */
66445
+
66446
+ .status-bar__above-page {
66447
+ display: none;
66448
+ }
66449
+
66450
+ /* WebKit only, as the ribbon of nldd-top-navigation-bar: Chrome paints
66451
+ nothing above the page. */
66452
+ @supports (animation-timeline: scroll()) and (font: -apple-system-body) {
66453
+ :host {
66454
+ position: relative;
66455
+ }
66456
+
66457
+ /* The fixed ::after only sees the document scroll, and nldd-page can be
66458
+ the scroller. This one sees that and goes visibility: hidden on scroll. */
66459
+ :host([data-at-top]) .status-bar__above-page {
66460
+ display: block;
66461
+ position: absolute;
66462
+ inset: 0;
66463
+ pointer-events: none;
66464
+ animation: status-bar-above-page linear both;
66465
+ animation-timeline: scroll(nearest);
66466
+ animation-range: 0 1px;
66467
+ }
66468
+
66469
+ /* No z-index: Safari does not paint it above the page with one. */
66470
+ .status-bar__above-page::before {
66471
+ content: '';
66472
+ position: absolute;
66473
+ bottom: 100%;
66474
+ left: 0;
66475
+ width: 100%;
66476
+ height: 100lvh;
66477
+ background-color: var(--_status-bar-background-color);
66478
+ }
66479
+
66480
+ /* Safari only paints above the page while something fixed touches the top edge. */
66481
+ .status-bar__above-page::after {
66482
+ content: '';
66483
+ position: fixed;
66484
+ top: 0;
66485
+ left: 0;
66486
+ z-index: -1;
66487
+ width: 100%;
66488
+ height: var(--_status-bar-height);
66489
+ background-color: var(--_status-bar-background-color);
66490
+ animation: status-bar-above-page linear both;
66491
+ animation-timeline: scroll(root);
66492
+ animation-range: 0 1px;
66493
+ }
66494
+ }
66495
+
66496
+ @keyframes status-bar-above-page {
66497
+ to {
66498
+ visibility: hidden;
66499
+ }
66500
+ }
66501
+
66502
+
65396
66503
  /* # Action icon */
65397
66504
 
65398
66505
  .status-bar__action-icon {
@@ -65404,6 +66511,7 @@ var statusBarStyles = css`
65404
66511
  // src/components/status-and-feedback/status-bar/status-bar.template.ts
65405
66512
  function statusBarTemplate(component) {
65406
66513
  const interactive = Boolean(component.href || component.button);
66514
+ const abovePage = html`<span class="status-bar__above-page" aria-hidden="true"></span>`;
65407
66515
  const content = html`
65408
66516
  <span class="status-bar__text">${component.text}</span>
65409
66517
  ${interactive ? html`
@@ -65415,6 +66523,7 @@ function statusBarTemplate(component) {
65415
66523
  ` : nothing}
65416
66524
  `;
65417
66525
  if (component.href) return html`
66526
+ ${abovePage}
65418
66527
  <a class="status-bar"
65419
66528
  href=${component.href}
65420
66529
  target=${component.target || nothing}
@@ -65422,11 +66531,12 @@ function statusBarTemplate(component) {
65422
66531
  >${content}</a>
65423
66532
  `;
65424
66533
  if (component.button) return html`
66534
+ ${abovePage}
65425
66535
  <button class="status-bar"
65426
66536
  type="button"
65427
66537
  >${content}</button>
65428
66538
  `;
65429
- return html`<div class="status-bar">${content}</div>`;
66539
+ return html`${abovePage}<div class="status-bar">${content}</div>`;
65430
66540
  }
65431
66541
  // src/components/status-and-feedback/status-bar/status-bar.ts
65432
66542
  /**
@@ -65456,7 +66566,10 @@ function statusBarTemplate(component) {
65456
66566
  * nldd-top-title-bar, across the whole app, also when a split view shows
65457
66567
  * several panes. It reports the state of the service, not of one page, so it
65458
66568
  * never sits inside the content or below a top bar. Below a top bar it says so
65459
- * in development.
66569
+ * in development. At the top of the page, in Safari, its color carries on above
66570
+ * the page when the page is pulled down, and the ribbon of an
66571
+ * nldd-top-navigation-bar below it then starts under the bar, as it does at
66572
+ * rest.
65460
66573
  *
65461
66574
  * ## ARIA
65462
66575
  * role and aria-live are set automatically from the variant:
@@ -65485,13 +66598,34 @@ var _NLDDStatusBar = class NLDDStatusBar extends LitElement {
65485
66598
  this.target = "";
65486
66599
  this.rel = "";
65487
66600
  this.button = false;
66601
+ this._syncAtTop = () => {
66602
+ if (window.scrollY > 0) return;
66603
+ const { top, height } = this.getBoundingClientRect();
66604
+ this.toggleAttribute("data-at-top", height > 0 && Math.abs(top) < 1);
66605
+ };
65488
66606
  }
65489
66607
  connectedCallback() {
65490
66608
  super.connectedCallback();
65491
66609
  this._applyAriaForVariant(this.variant);
66610
+ window.addEventListener("resize", this._syncAtTop, { passive: true });
66611
+ if (this.hasUpdated) {
66612
+ this._syncAtTop();
66613
+ this._announce();
66614
+ }
66615
+ }
66616
+ disconnectedCallback() {
66617
+ super.disconnectedCallback();
66618
+ window.removeEventListener("resize", this._syncAtTop);
66619
+ this._announce();
65492
66620
  }
65493
66621
  firstUpdated() {
65494
66622
  this._checkPlacement();
66623
+ this._syncAtTop();
66624
+ this._announce();
66625
+ }
66626
+ /** Tells a top navigation bar that a status bar came or went, so it measures where its ribbon starts again. */
66627
+ _announce() {
66628
+ window.dispatchEvent(new Event(STATUS_BAR_CHANGE));
65495
66629
  }
65496
66630
  /** Whether a top bar comes before the status bar. Top bars in an overlay are left out, since a sheet or dialog has its own. */
65497
66631
  _checkPlacement() {
@@ -66383,4 +67517,4 @@ __decorate([property({
66383
67517
  attribute: "no-arrow"
66384
67518
  })], NLDDJustInTimeEducation.prototype, "noArrow", void 0);
66385
67519
  NLDDJustInTimeEducation = _NLDDJustInTimeEducation = __decorate([customElement("nldd-just-in-time-education")], NLDDJustInTimeEducation);
66386
- export { NLDDActivityIndicator, NLDDAvatar, NLDDAvatarGroup, NLDDBadge, NLDDBanner, NLDDBarSplitView, NLDDBlockquote, NLDDBox, NLDDBreadcrumbs, NLDDBreadcrumbsItem, NLDDButton, NLDDButtonBar, NLDDButtonGroup, NLDDCard, NLDDCell, NLDDCheckbox, NLDDCheckboxField, NLDDCodeEditor, NLDDCodeViewer, NLDDCollection, NLDDComboBox, NLDDContainer, NLDDDateField, NLDDDatePicker, NLDDDescriptionCell, NLDDDivider, NLDDDocumentTabBar, NLDDDragHandleCell, NLDDDropdown, NLDDFileField, NLDDForm, NLDDFormActions, NLDDFormField, NLDDFormSection, NLDDFullBleedSection, NLDDHero, NLDDIcon, NLDDIconButton, NLDDIconCell, NLDDIdentity, NLDDImage, NLDDInlineDialog, NLDDJustInTimeEducation, NLDDKeyboardShortcut, NLDDLink, NLDDLinkGroup, NLDDList, NLDDListItem, NLDDListItemSegment, NLDDMenu, NLDDMenuBar, NLDDMenuBarItem, NLDDModalDialog, NLDDMultiLineTextField, NLDDNavigationSplitView, NLDDNotification, NLDDNumberField, NLDDOneHalfOneHalfSection, NLDDOneThirdTwoThirdsSection, NLDDPage, NLDDPageFooter, NLDDPageFooterLegalBar, NLDDPageFooterLegalBarItem, NLDDPagination, NLDDPasswordField, NLDDPopover, NLDDProgressBar, NLDDProgressBarSegmentIndicator, NLDDProgressCircle, NLDDProgressCircleSegmentIndicator, NLDDRadioButton, NLDDRadioButtonField, NLDDRadioButtonGroup, NLDDRichText, NLDDSearchField, NLDDSegmentedControl, NLDDSheet, NLDDShell, NLDDSideBySideSplitView, NLDDSidebarSection, NLDDSimpleSection, NLDDSkipLink, NLDDSlider, NLDDSpacer, NLDDSpacerCell, NLDDSplitButton, NLDDSplitViewDivider, NLDDSplitViewPane, NLDDStackedSplitView, NLDDStatusBar, NLDDStepBar, NLDDStepBarItem, NLDDStepCell, NLDDStepper, NLDDSwatchPicker, NLDDSwatchPickerItem, NLDDSwitch, NLDDSwitchField, NLDDTabBar, NLDDTable, NLDDTableRow, NLDDTag, NLDDTaskBoard, NLDDTaskBoardColumn, NLDDText, NLDDTextCell, NLDDTextEditor, NLDDTextField, NLDDTimeField, NLDDTimePicker, NLDDTitle, NLDDTitleCell, NLDDToggleButton, NLDDToggleButtonGroup, NLDDToken, NLDDTokenField, NLDDToolbar, NLDDTooltip, NLDDTopNavigationBar, NLDDTopTitleBar, NLDDTwoThirdsOneThirdSection, NLDDValidationList, NLDDVisuallyHidden, NLDDWindow, setTranslations };
67520
+ export { NLDDActivityIndicator, NLDDAvatar, NLDDAvatarGroup, NLDDBadge, NLDDBanner, NLDDBarSplitView, NLDDBlockquote, NLDDBox, NLDDBreadcrumbs, NLDDBreadcrumbsItem, NLDDButton, NLDDButtonBar, NLDDButtonGroup, NLDDCard, NLDDCell, NLDDCheckbox, NLDDCheckboxField, NLDDCodeEditor, NLDDCodeViewer, NLDDCollection, NLDDColumnBoard, NLDDColumnBoardColumn, NLDDComboBox, NLDDContainer, NLDDDateField, NLDDDatePicker, NLDDDescriptionCell, NLDDDivider, NLDDDocumentTabBar, NLDDDragHandleCell, NLDDDropdown, NLDDFileField, NLDDForm, NLDDFormActions, NLDDFormField, NLDDFormSection, NLDDFullBleedSection, NLDDHero, NLDDIcon, NLDDIconButton, NLDDIconCell, NLDDIdentity, NLDDImage, NLDDInlineDialog, NLDDJustInTimeEducation, NLDDKeyboardShortcut, NLDDLink, NLDDLinkGroup, NLDDList, NLDDListItem, NLDDListItemSegment, NLDDMenu, NLDDMenuBar, NLDDMenuBarItem, NLDDModalDialog, NLDDMultiLineTextField, NLDDNavigationSplitView, NLDDNotification, NLDDNumberField, NLDDOneHalfOneHalfSection, NLDDOneThirdTwoThirdsSection, NLDDOneTimeCodeField, NLDDPage, NLDDPageFooter, NLDDPageFooterLegalBar, NLDDPageFooterLegalBarItem, NLDDPagination, NLDDPasswordField, NLDDPopover, NLDDProgressBar, NLDDProgressBarSegmentIndicator, NLDDProgressCircle, NLDDProgressCircleSegmentIndicator, NLDDRadioButton, NLDDRadioButtonField, NLDDRadioButtonGroup, NLDDRichText, NLDDSearchField, NLDDSegmentedControl, NLDDSheet, NLDDShell, NLDDSideBySideSplitView, NLDDSidebarSection, NLDDSimpleSection, NLDDSkipLink, NLDDSlider, NLDDSpacer, NLDDSpacerCell, NLDDSplitButton, NLDDSplitViewDivider, NLDDSplitViewPane, NLDDStackedSplitView, NLDDStatusBar, NLDDStepBar, NLDDStepBarItem, NLDDStepCell, NLDDStepper, NLDDSwatchPicker, NLDDSwatchPickerItem, NLDDSwitch, NLDDSwitchField, NLDDTabBar, NLDDTable, NLDDTableRow, NLDDTag, NLDDText, NLDDTextCell, NLDDTextEditor, NLDDTextField, NLDDTimeField, NLDDTimePicker, NLDDTitle, NLDDTitleCell, NLDDToggleButton, NLDDToggleButtonGroup, NLDDToken, NLDDTokenField, NLDDToolbar, NLDDTooltip, NLDDTopNavigationBar, NLDDTopTitleBar, NLDDTwoThirdsOneThirdSection, NLDDValidationList, NLDDVisuallyHidden, NLDDWindow, setTranslations };