@nldd/design-system 0.17.0 → 0.18.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 (155) hide show
  1. package/README.md +2 -1
  2. package/custom-elements.json +362 -335
  3. package/dist/assets/styles/breakpoints.d.ts +9 -0
  4. package/dist/assets/styles/breakpoints.d.ts.map +1 -1
  5. package/dist/assets/styles/breakpoints.js +9 -0
  6. package/dist/assets/styles/breakpoints.js.map +1 -1
  7. package/dist/components/actions/menu/menu.d.ts +7 -1
  8. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  9. package/dist/components/actions/menu/menu.js +15 -2
  10. package/dist/components/actions/menu/menu.js.map +1 -1
  11. package/dist/components/{breakpoints-Bti55RWY.js → breakpoints-DtL62nLI.js} +8 -1
  12. package/dist/components/components.js +393 -272
  13. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  14. package/dist/components/content/code-viewer/code-viewer.styles.js +1 -0
  15. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  16. package/dist/components/{decorate-D2HtKmpx.js → decorate-Bwufpnmp.js} +1 -1
  17. package/dist/components/{defer-focus-JRj1EYUV.js → defer-focus-CtZ0JSne.js} +2 -2
  18. package/dist/components/{dev-checks-BPjCXw_r.js → dev-checks-Bl2WXSBI.js} +23 -23
  19. package/dist/components/{icon-DU_IMj2t.js → icon-BH4iy_z4.js} +1 -1
  20. package/dist/components/{icon-button-BgeikVnm.js → icon-button-BJR_r6Wo.js} +3 -3
  21. package/dist/components/index.d.ts +1 -1
  22. package/dist/components/index.d.ts.map +1 -1
  23. package/dist/components/index.js +1 -1
  24. package/dist/components/index.js.map +1 -1
  25. package/dist/components/inputs/number-field/number-field.d.ts +18 -9
  26. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  27. package/dist/components/inputs/number-field/number-field.js +73 -34
  28. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  29. package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
  30. package/dist/components/inputs/number-field/number-field.template.js +8 -5
  31. package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
  32. package/dist/components/inputs/slider/slider.d.ts +5 -0
  33. package/dist/components/inputs/slider/slider.d.ts.map +1 -1
  34. package/dist/components/inputs/slider/slider.js +13 -5
  35. package/dist/components/inputs/slider/slider.js.map +1 -1
  36. package/dist/components/inputs/time-picker/time-picker.d.ts +17 -1
  37. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  38. package/dist/components/inputs/time-picker/time-picker.js +79 -6
  39. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  40. package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
  41. package/dist/components/inputs/time-picker/time-picker.styles.js +8 -0
  42. package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
  43. package/dist/components/{just-in-time-education.i18n-eCghRteQ.js → just-in-time-education.i18n-BqU1ImP4.js} +10 -10
  44. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  45. package/dist/components/layout/card/card.styles.js +2 -9
  46. package/dist/components/layout/card/card.styles.js.map +1 -1
  47. package/dist/components/layout/{column-board/column-board-column.d.ts → kanban/kanban-column.d.ts} +5 -5
  48. package/dist/components/layout/kanban/kanban-column.d.ts.map +1 -0
  49. package/dist/components/layout/{column-board/column-board-column.js → kanban/kanban-column.js} +34 -34
  50. package/dist/components/layout/kanban/kanban-column.js.map +1 -0
  51. package/dist/components/layout/kanban/kanban-column.template.d.ts +3 -0
  52. package/dist/components/layout/kanban/kanban-column.template.d.ts.map +1 -0
  53. package/dist/components/layout/{column-board/column-board-column.template.js → kanban/kanban-column.template.js} +10 -10
  54. package/dist/components/layout/kanban/kanban-column.template.js.map +1 -0
  55. package/dist/components/layout/{column-board/column-board.d.ts → kanban/kanban.d.ts} +22 -22
  56. package/dist/components/layout/kanban/kanban.d.ts.map +1 -0
  57. package/dist/components/layout/kanban/kanban.i18n.d.ts +11 -0
  58. package/dist/components/layout/kanban/kanban.i18n.d.ts.map +1 -0
  59. package/dist/components/layout/kanban/kanban.i18n.js +10 -0
  60. package/dist/components/layout/kanban/kanban.i18n.js.map +1 -0
  61. package/dist/components/layout/{column-board/column-board.js → kanban/kanban.js} +44 -44
  62. package/dist/components/layout/kanban/kanban.js.map +1 -0
  63. package/dist/components/layout/kanban/kanban.styles.d.ts +3 -0
  64. package/dist/components/layout/kanban/kanban.styles.d.ts.map +1 -0
  65. package/dist/components/layout/kanban/kanban.styles.js +260 -0
  66. package/dist/components/layout/kanban/kanban.styles.js.map +1 -0
  67. package/dist/components/layout/kanban/kanban.template.d.ts +3 -0
  68. package/dist/components/layout/kanban/kanban.template.d.ts.map +1 -0
  69. package/dist/components/layout/{column-board/column-board.template.js → kanban/kanban.template.js} +5 -5
  70. package/dist/components/layout/kanban/kanban.template.js.map +1 -0
  71. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
  72. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
  73. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  74. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +15 -3
  75. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  76. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
  77. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
  78. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  79. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +6 -7
  80. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  81. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
  82. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
  83. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  84. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +6 -7
  85. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  86. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  87. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +1 -6
  88. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  89. package/dist/components/{nl.generated-B0pvf8VH.js → nl.generated-DzZkOgnP.js} +2 -2
  90. package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
  91. package/dist/components/status-and-feedback/banner/banner.js +1 -1
  92. package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
  93. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
  94. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +7 -1
  95. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
  96. package/dist/components/{visibility-mixin-Dti3xE8R.js → visibility-mixin-DrsvxcmK.js} +2 -2
  97. package/dist/css/themes/bruin.css +1 -0
  98. package/dist/css/themes/donkerblauw.css +1 -0
  99. package/dist/css/themes/donkerbruin.css +1 -0
  100. package/dist/css/themes/donkergeel.css +1 -0
  101. package/dist/css/themes/donkergroen.css +1 -0
  102. package/dist/css/themes/geel.css +1 -0
  103. package/dist/css/themes/groen.css +1 -0
  104. package/dist/css/themes/hemelblauw.css +1 -0
  105. package/dist/css/themes/lichtblauw.css +1 -0
  106. package/dist/css/themes/mintgroen.css +1 -0
  107. package/dist/css/themes/mosgroen.css +1 -0
  108. package/dist/css/themes/oranje.css +1 -0
  109. package/dist/css/themes/paars.css +1 -0
  110. package/dist/css/themes/robijnrood.css +1 -0
  111. package/dist/css/themes/rood.css +1 -0
  112. package/dist/css/themes/roze.css +1 -0
  113. package/dist/css/themes/violet.css +1 -0
  114. package/dist/css/themes.css +17 -0
  115. package/dist/css/variables.css +1 -0
  116. package/dist/nldd.min.js +785 -774
  117. package/dist/translations/en-US.js +7 -7
  118. package/dist/translations/en-US.js.map +1 -1
  119. package/dist/translations/fy.js +7 -7
  120. package/dist/translations/fy.js.map +1 -1
  121. package/dist/translations/nl.generated.d.ts +7 -7
  122. package/dist/translations/nl.generated.js +2 -2
  123. package/dist/translations/nl.generated.js.map +1 -1
  124. package/dist/translations/pap-AW.js +7 -7
  125. package/dist/translations/pap-AW.js.map +1 -1
  126. package/dist/translations/pap-CW.js +7 -7
  127. package/dist/translations/pap-CW.js.map +1 -1
  128. package/dist/types/vue.d.ts +48 -46
  129. package/dist/utilities/dev-rules.generated.js +25 -25
  130. package/dist/utilities/dev-rules.generated.js.map +1 -1
  131. package/dist/utilities/file-drag-and-drop.js +1 -1
  132. package/dist/utilities/file-drag-and-drop.js.map +1 -1
  133. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  134. package/dist/utilities/form-associated-mixin.js +3 -1
  135. package/dist/utilities/form-associated-mixin.js.map +1 -1
  136. package/lint/data.generated.json +1 -1
  137. package/package.json +4 -4
  138. package/dist/components/layout/column-board/column-board-column.d.ts.map +0 -1
  139. package/dist/components/layout/column-board/column-board-column.js.map +0 -1
  140. package/dist/components/layout/column-board/column-board-column.template.d.ts +0 -3
  141. package/dist/components/layout/column-board/column-board-column.template.d.ts.map +0 -1
  142. package/dist/components/layout/column-board/column-board-column.template.js.map +0 -1
  143. package/dist/components/layout/column-board/column-board.d.ts.map +0 -1
  144. package/dist/components/layout/column-board/column-board.i18n.d.ts +0 -11
  145. package/dist/components/layout/column-board/column-board.i18n.d.ts.map +0 -1
  146. package/dist/components/layout/column-board/column-board.i18n.js +0 -10
  147. package/dist/components/layout/column-board/column-board.i18n.js.map +0 -1
  148. package/dist/components/layout/column-board/column-board.js.map +0 -1
  149. package/dist/components/layout/column-board/column-board.styles.d.ts +0 -3
  150. package/dist/components/layout/column-board/column-board.styles.d.ts.map +0 -1
  151. package/dist/components/layout/column-board/column-board.styles.js +0 -260
  152. package/dist/components/layout/column-board/column-board.styles.js.map +0 -1
  153. package/dist/components/layout/column-board/column-board.template.d.ts +0 -3
  154. package/dist/components/layout/column-board/column-board.template.d.ts.map +0 -1
  155. package/dist/components/layout/column-board/column-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-D2HtKmpx.js";
2
+ import { n as customElement, t as __decorate } from "./decorate-Bwufpnmp.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-JRj1EYUV.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-CtZ0JSne.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-BgeikVnm.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-BJR_r6Wo.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-DU_IMj2t.js";
9
+ import { t as NLDDIcon } from "./icon-BH4iy_z4.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 nlddColumnBoardTranslations, z as nlddDatePickerTranslations } from "./just-in-time-education.i18n-eCghRteQ.js";
12
- import { n as queryBreakpoints, r as rootFontSize, t as breakpointPx } from "./breakpoints-Bti55RWY.js";
13
- import { t as VisibilityMixin } from "./visibility-mixin-Dti3xE8R.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 nlddKanbanTranslations, z as nlddDatePickerTranslations } from "./just-in-time-education.i18n-BqU1ImP4.js";
12
+ import { i as splitSectionBreakpoints, n as queryBreakpoints, r as rootFontSize, t as breakpointPx } from "./breakpoints-DtL62nLI.js";
13
+ import { t as VisibilityMixin } from "./visibility-mixin-DrsvxcmK.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";
@@ -4194,7 +4194,9 @@ var NLDDMenu = class NLDDMenu extends LitElement {
4194
4194
  this._clearHighlight();
4195
4195
  };
4196
4196
  this._pointer = new MenuPointerController(this);
4197
+ this._openWindowWidth = 0;
4197
4198
  this._handleWindowResize = () => {
4199
+ if (window.innerWidth === this._openWindowWidth) return;
4198
4200
  this._collapseChain();
4199
4201
  };
4200
4202
  this._collapseChain = () => {
@@ -4208,7 +4210,8 @@ var NLDDMenu = class NLDDMenu extends LitElement {
4208
4210
  if (!this._isOpen) return;
4209
4211
  if (!this._isSubmenu) {
4210
4212
  const anchorEl = this._getAnchorEl();
4211
- if (anchorEl && event.composedPath().includes(anchorEl)) {
4213
+ const path = event.composedPath();
4214
+ if (anchorEl && path.includes(anchorEl) && !path.includes(this)) {
4212
4215
  this._collapsedByPointerGesture = true;
4213
4216
  return;
4214
4217
  }
@@ -4348,6 +4351,7 @@ var NLDDMenu = class NLDDMenu extends LitElement {
4348
4351
  this.setAttribute("positioned", "");
4349
4352
  const anchorEl = this._getAnchorEl();
4350
4353
  if (anchorEl) this._cleanupAutoUpdate = autoUpdate(anchorEl, this, () => this.reposition());
4354
+ this._openWindowWidth = window.innerWidth;
4351
4355
  window.addEventListener("resize", this._handleWindowResize, { passive: true });
4352
4356
  document.addEventListener("pointerdown", this._handleDocumentPointerdown, true);
4353
4357
  await this.updateComplete;
@@ -13960,6 +13964,7 @@ var codeViewerStyles = css`
13960
13964
 
13961
13965
  ${inheritedTextReset}
13962
13966
  display: flex;
13967
+ max-width: 100%;
13963
13968
  position: relative;
13964
13969
  /* Own stacking context so the absolutely-positioned actions button
13965
13970
  (z-index: var(--_code-viewer-actions-z-index)) stays scoped to the code-viewer
@@ -19332,7 +19337,7 @@ function FormAssociated(Base) {
19332
19337
  }
19333
19338
  const flags = {};
19334
19339
  let message = "";
19335
- if (target && !target.validity.valid) {
19340
+ if (target && target.willValidate && !target.validity.valid) {
19336
19341
  for (const sleutel of VALIDITY_FLAGS) if (target.validity[sleutel]) flags[sleutel] = true;
19337
19342
  message = target.validationMessage;
19338
19343
  }
@@ -28264,8 +28269,10 @@ var numberFieldStyles = css`
28264
28269
  `;
28265
28270
  // src/components/inputs/number-field/number-field.template.ts
28266
28271
  function numberFieldTemplate(component) {
28267
- const canDecrease = component.value > component.min;
28268
- const canIncrease = component.value < component.max;
28272
+ const { value } = component;
28273
+ const empty = value === null;
28274
+ const canDecrease = value === null || value > component.min;
28275
+ const canIncrease = value === null || value < component.max;
28269
28276
  const iconButtonSize = component.size === "sm" ? "xs" : "sm";
28270
28277
  return html`
28271
28278
  <div class="number-field"
@@ -28289,11 +28296,12 @@ function numberFieldTemplate(component) {
28289
28296
  type="number"
28290
28297
  inputmode=${Number.isInteger(component.step) ? "numeric" : "decimal"}
28291
28298
  aria-label=${component.accessibleLabel || nothing}
28292
- .value=${String(component.value)}
28293
- min=${component.min}
28294
- max=${component.max}
28299
+ .value=${empty ? "" : String(value)}
28300
+ min=${Number.isFinite(component.min) ? component.min : nothing}
28301
+ max=${Number.isFinite(component.max) ? component.max : nothing}
28295
28302
  step=${component.step}
28296
28303
  ?disabled=${component.disabled}
28304
+ ?required=${component.required}
28297
28305
  name=${component.name || nothing}
28298
28306
  @keydown=${component._handleKeydown}
28299
28307
  @input=${component._handleInput}
@@ -28322,12 +28330,13 @@ function numberFieldTemplate(component) {
28322
28330
  * A numeric input field with decrement and increment buttons.
28323
28331
  *
28324
28332
  * @element nldd-number-field
28325
- * @attr {number} value - Current value
28333
+ * @attr {number} value - Current value. Leave it out for an empty field, which submits an empty string and takes `min` and `max` as no reason to be invalid: only `required` asks for a value, as with a native number input. As a property, `null` is empty. In an empty field + and - are both enabled, and start at 0, or at the nearer end of the range when 0 lies outside it (`min="1"` starts at 1).
28326
28334
  * @attr {number} min - Minimum value (default: -Infinity)
28327
28335
  * @attr {number} max - Maximum value (default: Infinity)
28328
28336
  * @attr {number} step - Step size (default: 1)
28329
28337
  * @attr {string} size - Size: 'sm' | 'md' (default: 'md')
28330
28338
  * @attr {boolean} disabled - Disabled state
28339
+ * @attr {boolean} required - A value has to be filled in. An empty field is then invalid.
28331
28340
  * @attr {string} name - Name for form submission
28332
28341
  * @attr {object} translations - Translations; unspecified keys fall back to Dutch
28333
28342
  * @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
@@ -28335,30 +28344,43 @@ function numberFieldTemplate(component) {
28335
28344
  * @attr {string} accessible-label - Accessible label (aria-label) forwarded to the native input
28336
28345
  * @attr {boolean} invalid - Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it.
28337
28346
  *
28338
- * @fires input - When the value changes (typing, +/- button, or on-commit correction); detail: { value: number }
28339
- * @fires change - When the value is committed (blur/Enter or +/- button), clamped to [min, max]; empty input falls back to the last valid value. When the committed value differs from the typed value, a matching input event is fired immediately before this one. detail: { value: number }
28347
+ * @fires input - When the value changes (typing, +/- button, or on-commit correction); not for typing that reads as the same number, such as `1.0` after `1`. detail: { value: number | null }, null when the field is empty
28348
+ * @fires change - When the value is committed (blur/Enter or +/- button), clamped to [min, max]; an emptied field, or text that is no number (such as `-` or `1e`), commits as empty: null. From empty, + and - start at 0, or at the nearer end of the range when 0 lies outside it. When the committed value differs from the typed value, a matching input event is fired immediately before this one. detail: { value: number | null }
28340
28349
  */
28341
- var _NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(LitElement)) {
28350
+ var _NLDDNumberField;
28351
+ /** A number as a native number input accepts it: no hex, no Infinity. Above
28352
+ * the class: an element already in the page upgrades while the class is
28353
+ * defined, before the rest of this module has run. */
28354
+ var FLOATING_POINT = /^-?(?:\d+(?:\.\d+)?|\.\d+)(?:[eE][-+]?\d+)?$/;
28355
+ /** An attribute or restored state as a number, or null when it is empty or no number. */
28356
+ function emptyOrNumber(value) {
28357
+ const text = value?.trim() ?? "";
28358
+ if (!FLOATING_POINT.test(text)) return null;
28359
+ const parsed = Number(text);
28360
+ return Number.isFinite(parsed) ? parsed : null;
28361
+ }
28362
+ var NLDDNumberField = (_NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(LitElement)) {
28342
28363
  constructor(..._args) {
28343
28364
  super(..._args);
28344
- this._initialValue = 0;
28345
- this.value = 0;
28365
+ this._initialValue = null;
28366
+ this.value = null;
28346
28367
  this.min = -Infinity;
28347
28368
  this.max = Infinity;
28348
28369
  this.step = 1;
28349
28370
  this.size = "md";
28350
28371
  this.disabled = false;
28372
+ this.required = false;
28351
28373
  this.name = "";
28352
28374
  this.width = "";
28353
28375
  this.hideSpinButtons = false;
28354
28376
  this.accessibleLabel = "";
28355
28377
  this.translations = {};
28356
- this._lastValidValue = 0;
28357
28378
  this.invalid = false;
28379
+ this._committed = null;
28380
+ this._typed = void 0;
28358
28381
  }
28359
28382
  firstUpdated() {
28360
- this._lastValidValue = this._clamp(this.value);
28361
- this._initialValue = this._lastValidValue;
28383
+ this._initialValue = this.value === null ? null : this._clamp(this.value);
28362
28384
  }
28363
28385
  updated(changedProperties) {
28364
28386
  if (changedProperties.has("width")) {
@@ -28366,29 +28388,39 @@ var _NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(
28366
28388
  if (w && w !== "full" && CSS.supports("width", w)) this.style.setProperty("--_number-field-width", w);
28367
28389
  else this.style.removeProperty("--_number-field-width");
28368
28390
  }
28369
- if (changedProperties.has("value")) this.commitFormValue();
28391
+ if (changedProperties.has("value")) {
28392
+ if (this.value !== this._typed) {
28393
+ this._committed = this.value;
28394
+ this._typed = void 0;
28395
+ }
28396
+ this.commitFormValue();
28397
+ }
28370
28398
  }
28371
28399
  formValue() {
28372
- return String(this.value);
28400
+ return this.value === null ? "" : String(this.value);
28373
28401
  }
28374
28402
  formResetCallback() {
28375
28403
  this.value = this._initialValue;
28376
28404
  }
28377
28405
  formStateRestoreCallback(state) {
28378
28406
  if (typeof state !== "string") return;
28379
- const parsed = parseFloat(state);
28380
- if (!isNaN(parsed)) this.value = this._clamp(parsed);
28407
+ const parsed = emptyOrNumber(state);
28408
+ this.value = parsed === null ? null : this._clamp(parsed);
28381
28409
  }
28382
28410
  _t(key) {
28383
28411
  return translate(this.translations, nlddNumberFieldTranslations, key);
28384
28412
  }
28385
28413
  _handleDecrease() {
28386
28414
  if (this.disabled) return;
28387
- this._commitValue(this.value - this.step);
28415
+ this._commitValue(this.value === null ? this._startValue() : this.value - this.step);
28388
28416
  }
28389
28417
  _handleIncrease() {
28390
28418
  if (this.disabled) return;
28391
- this._commitValue(this.value + this.step);
28419
+ this._commitValue(this.value === null ? this._startValue() : this.value + this.step);
28420
+ }
28421
+ /** Where + and - begin in an empty field: 0, or the nearer end of the range. */
28422
+ _startValue() {
28423
+ return this._clamp(0);
28392
28424
  }
28393
28425
  /** Fires while the user types. The value may be outside [min, max]; clamping happens on change. */
28394
28426
  /** Enter submits the form this field belongs to, the way the browser would
@@ -28399,8 +28431,10 @@ var _NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(
28399
28431
  _handleInput(e) {
28400
28432
  if (this.disabled) return;
28401
28433
  const input = e.target;
28402
- const parsed = parseFloat(input.value);
28403
- if (isNaN(parsed)) return;
28434
+ const parsed = input.value === "" && !input.validity.badInput ? null : parseFloat(input.value);
28435
+ if (parsed !== null && isNaN(parsed)) return;
28436
+ if (parsed === this.value) return;
28437
+ this._typed = parsed;
28404
28438
  this.value = parsed;
28405
28439
  this.commitFormValue();
28406
28440
  this.dispatchEvent(new CustomEvent("input", {
@@ -28409,27 +28443,29 @@ var _NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(
28409
28443
  composed: true
28410
28444
  }));
28411
28445
  }
28412
- /** Fires on blur or Enter. Clamps the value and falls back to the last valid value when empty. */
28446
+ /** Fires on blur or Enter. Clamps the value; an emptied field stays empty. */
28413
28447
  _handleChange(e) {
28414
28448
  if (this.disabled) return;
28415
28449
  const input = e.target;
28416
28450
  const parsed = parseFloat(input.value);
28417
- const finalValue = isNaN(parsed) ? this._lastValidValue : this._clamp(parsed);
28418
- this._commitValue(finalValue, input);
28451
+ this._commitValue(isNaN(parsed) ? null : parsed, input);
28419
28452
  }
28420
28453
  _commitValue(newValue, input) {
28421
- const clampedValue = this._clamp(newValue);
28422
- const changed = clampedValue !== this.value;
28454
+ const clampedValue = newValue === null ? null : this._clamp(newValue);
28455
+ const corrected = clampedValue !== this.value;
28456
+ const changed = clampedValue !== this._committed;
28423
28457
  this.value = clampedValue;
28424
- this._lastValidValue = clampedValue;
28425
- if (input) input.value = String(clampedValue);
28426
- if (!changed) return;
28458
+ this._committed = clampedValue;
28459
+ this._typed = void 0;
28460
+ if (input) input.value = clampedValue === null ? "" : String(clampedValue);
28461
+ if (!changed && !corrected) return;
28427
28462
  this.commitFormValue();
28428
- this.dispatchEvent(new CustomEvent("input", {
28463
+ if (corrected) this.dispatchEvent(new CustomEvent("input", {
28429
28464
  detail: { value: this.value },
28430
28465
  bubbles: true,
28431
28466
  composed: true
28432
28467
  }));
28468
+ if (!changed) return;
28433
28469
  this.dispatchEvent(new CustomEvent("change", {
28434
28470
  detail: { value: this.value },
28435
28471
  bubbles: true,
@@ -28450,9 +28486,8 @@ var _NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(
28450
28486
  render() {
28451
28487
  return numberFieldTemplate(this);
28452
28488
  }
28453
- };
28454
- var NLDDNumberField = (_NLDDNumberField.styles = numberFieldStyles, _NLDDNumberField.isFormInput = true, _NLDDNumberField.blocksImplicitSubmission = true, _NLDDNumberField);
28455
- __decorate([property({ type: Number })], NLDDNumberField.prototype, "value", void 0);
28489
+ }, _NLDDNumberField.styles = numberFieldStyles, _NLDDNumberField.isFormInput = true, _NLDDNumberField.blocksImplicitSubmission = true, _NLDDNumberField);
28490
+ __decorate([property({ converter: emptyOrNumber })], NLDDNumberField.prototype, "value", void 0);
28456
28491
  __decorate([property({ type: Number })], NLDDNumberField.prototype, "min", void 0);
28457
28492
  __decorate([property({ type: Number })], NLDDNumberField.prototype, "max", void 0);
28458
28493
  __decorate([property({ type: Number })], NLDDNumberField.prototype, "step", void 0);
@@ -28464,6 +28499,10 @@ __decorate([property({
28464
28499
  type: Boolean,
28465
28500
  reflect: true
28466
28501
  })], NLDDNumberField.prototype, "disabled", void 0);
28502
+ __decorate([property({
28503
+ type: Boolean,
28504
+ reflect: true
28505
+ })], NLDDNumberField.prototype, "required", void 0);
28467
28506
  __decorate([property({
28468
28507
  reflect: true,
28469
28508
  converter: reflectNonDefault("")
@@ -41834,6 +41873,7 @@ var timePickerStyles = css`
41834
41873
 
41835
41874
  :host {
41836
41875
  --_time-picker-control-min-size: var(--semantics-controls-md-min-size);
41876
+ --_time-picker-glide-duration: var(--primitives-transition-duration-medium);
41837
41877
  --_time-picker-control-corner-radius: var(--semantics-controls-md-corner-radius);
41838
41878
  --_time-picker-list-item-font: var(--primitives-font-body-md-medium-flat);
41839
41879
  --_time-picker-list-item-is-hovered-background-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-150));
@@ -41894,6 +41934,11 @@ var timePickerStyles = css`
41894
41934
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
41895
41935
  }
41896
41936
 
41937
+ /* Snapping would pull each frame of the glide to the nearest value. */
41938
+ .time-picker__list[data-gliding] {
41939
+ scroll-snap-type: none;
41940
+ }
41941
+
41897
41942
  .time-picker__list::-webkit-scrollbar {
41898
41943
  display: none;
41899
41944
  }
@@ -41921,6 +41966,8 @@ var timePickerStyles = css`
41921
41966
  color: var(--semantics-content-color);
41922
41967
  font: var(--_time-picker-list-item-font);
41923
41968
  font-variant-numeric: tabular-nums;
41969
+ cursor: default;
41970
+ user-select: none;
41924
41971
  scroll-snap-align: center;
41925
41972
  }
41926
41973
 
@@ -42131,6 +42178,18 @@ function fromMinutes$1(total) {
42131
42178
  function isTime(value) {
42132
42179
  return /^([01]\d|2[0-3]):[0-5]\d$/.test(value);
42133
42180
  }
42181
+ /** A CSS time (`200ms`, `0.2s`) in milliseconds; 0 for anything else. */
42182
+ function toMs(time) {
42183
+ const value = parseFloat(time);
42184
+ if (Number.isNaN(value)) return 0;
42185
+ return time.trim().endsWith("ms") ? value : time.trim().endsWith("s") ? value * 1e3 : 0;
42186
+ }
42187
+ /** What ends a glide: the user scrolling the column themselves. */
42188
+ var GLIDE_INTERRUPTIONS = [
42189
+ "wheel",
42190
+ "touchstart",
42191
+ "pointerdown"
42192
+ ];
42134
42193
  var NLDDTimePicker = (_NLDDTimePicker = class NLDDTimePicker extends DescribedBy(LitElement) {
42135
42194
  constructor(..._args) {
42136
42195
  super(..._args);
@@ -42153,6 +42212,13 @@ var NLDDTimePicker = (_NLDDTimePicker = class NLDDTimePicker extends DescribedBy
42153
42212
  minutes: 0
42154
42213
  };
42155
42214
  this._selfScrollTimer = 0;
42215
+ this._chosenHere = false;
42216
+ this._glides = /* @__PURE__ */ new Map();
42217
+ this._interruptGlide = () => {
42218
+ for (const column of [...this._glides.keys()]) this._stopGlide(column);
42219
+ clearTimeout(this._selfScrollTimer);
42220
+ this._scrollingSelf = false;
42221
+ };
42156
42222
  }
42157
42223
  _t(key) {
42158
42224
  return translate(this.translations, nlddTimePickerTranslations, key);
@@ -42229,6 +42295,7 @@ var NLDDTimePicker = (_NLDDTimePicker = class NLDDTimePicker extends DescribedBy
42229
42295
  if (!slots.includes(next)) return;
42230
42296
  }
42231
42297
  const changed = fromMinutes$1(next) !== this.value;
42298
+ this._chosenHere = changed;
42232
42299
  this.value = fromMinutes$1(next);
42233
42300
  if (changed) this._emit("input");
42234
42301
  if (commit) this._emit("change");
@@ -42298,6 +42365,7 @@ var NLDDTimePicker = (_NLDDTimePicker = class NLDDTimePicker extends DescribedBy
42298
42365
  clearTimeout(this._scrollTimers.hours);
42299
42366
  clearTimeout(this._scrollTimers.minutes);
42300
42367
  clearTimeout(this._selfScrollTimer);
42368
+ for (const column of [...this._glides.keys()]) this._stopGlide(column);
42301
42369
  super.disconnectedCallback();
42302
42370
  }
42303
42371
  /**
@@ -42307,7 +42375,10 @@ var NLDDTimePicker = (_NLDDTimePicker = class NLDDTimePicker extends DescribedBy
42307
42375
  * enough not to pick halfway through a swipe.
42308
42376
  */
42309
42377
  _handleScroll(e, column) {
42310
- if (this._scrollingSelf) return;
42378
+ if (this._scrollingSelf) {
42379
+ this._releaseSelfScroll();
42380
+ return;
42381
+ }
42311
42382
  if (!this.isConnected) return;
42312
42383
  const el = e.currentTarget;
42313
42384
  const centered = this._centeredOption(el);
@@ -42351,14 +42422,54 @@ var NLDDTimePicker = (_NLDDTimePicker = class NLDDTimePicker extends DescribedBy
42351
42422
  * does nothing. The field therefore calls this as soon as the popover
42352
42423
  * opens.
42353
42424
  */
42354
- scrollSelectedIntoView() {
42425
+ scrollSelectedIntoView(smooth = false) {
42355
42426
  this._scrollingSelf = true;
42427
+ const glide = smooth && !matchMedia("(prefers-reduced-motion: reduce)").matches;
42356
42428
  for (const name of ["hours", "minutes"]) {
42357
42429
  const column = this.shadowRoot?.querySelector(`[data-column="${name}"]`);
42358
42430
  const option = column?.querySelector("[data-selected]");
42359
42431
  if (!column || !option) continue;
42360
- column.scrollTop = option.offsetTop + option.offsetHeight / 2 - column.clientHeight / 2;
42432
+ const top = option.offsetTop + option.offsetHeight / 2 - column.clientHeight / 2;
42433
+ if (glide) this._glide(column, top);
42434
+ else {
42435
+ this._stopGlide(column);
42436
+ column.scrollTop = top;
42437
+ }
42361
42438
  }
42439
+ this._releaseSelfScroll();
42440
+ }
42441
+ /**
42442
+ * Scroll to `top` ourselves, because `behavior: 'smooth'` lets the browser
42443
+ * pick the duration and it is too quick to follow. Ease-out over
42444
+ * `--_time-picker-glide-duration`.
42445
+ */
42446
+ _glide(column, top) {
42447
+ this._stopGlide(column);
42448
+ const from = column.scrollTop;
42449
+ const distance = top - from;
42450
+ if (Math.abs(distance) < 1) return;
42451
+ const duration = toMs(getComputedStyle(this).getPropertyValue("--_time-picker-glide-duration"));
42452
+ const start = performance.now();
42453
+ column.toggleAttribute("data-gliding", true);
42454
+ for (const type of GLIDE_INTERRUPTIONS) column.addEventListener(type, this._interruptGlide, { passive: true });
42455
+ const step = (now) => {
42456
+ const t = duration > 0 ? Math.min(1, (now - start) / duration) : 1;
42457
+ column.scrollTop = from + distance * (1 - (1 - t) ** 3);
42458
+ if (t < 1) this._glides.set(column, requestAnimationFrame(step));
42459
+ else this._stopGlide(column);
42460
+ };
42461
+ this._glides.set(column, requestAnimationFrame(step));
42462
+ }
42463
+ _stopGlide(column) {
42464
+ cancelAnimationFrame(this._glides.get(column) ?? 0);
42465
+ this._glides.delete(column);
42466
+ column.removeAttribute("data-gliding");
42467
+ for (const type of GLIDE_INTERRUPTIONS) column.removeEventListener(type, this._interruptGlide);
42468
+ }
42469
+ /** Listen to scrolling again once our own has been still a little longer than
42470
+ * the debounce above, so all its scroll events have been ignored. */
42471
+ _releaseSelfScroll() {
42472
+ clearTimeout(this._selfScrollTimer);
42362
42473
  this._selfScrollTimer = window.setTimeout(() => {
42363
42474
  this._scrollingSelf = false;
42364
42475
  }, 200);
@@ -42376,7 +42487,8 @@ var NLDDTimePicker = (_NLDDTimePicker = class NLDDTimePicker extends DescribedBy
42376
42487
  hours: null,
42377
42488
  minutes: null
42378
42489
  };
42379
- this.scrollSelectedIntoView();
42490
+ this.scrollSelectedIntoView(this._chosenHere);
42491
+ this._chosenHere = false;
42380
42492
  }
42381
42493
  }
42382
42494
  /** The group is the widget; hour and minute are spinbuttons inside it. */
@@ -45848,7 +45960,7 @@ var NLDDSlider = (_NLDDSlider = class NLDDSlider extends DescribedBy(FormAssocia
45848
45960
  this._dragThumb = landed;
45849
45961
  this._held = landed;
45850
45962
  }
45851
- this._focusThumb(landed);
45963
+ this._focusThumb(landed, !!dragged);
45852
45964
  }
45853
45965
  this._emit("input");
45854
45966
  }
@@ -45904,10 +46016,15 @@ var NLDDSlider = (_NLDDSlider = class NLDDSlider extends DescribedBy(FormAssocia
45904
46016
  _grab(thumb) {
45905
46017
  this._trackThumb = thumb;
45906
46018
  this._held = thumb;
45907
- this._focusThumb(thumb);
46019
+ this._focusThumb(thumb, true);
45908
46020
  }
45909
- _focusThumb(thumb) {
45910
- this.shadowRoot?.querySelector(`.slider__input--${thumb}`)?.focus();
46021
+ /** Under a pointer the focus that moves to the other thumb is no keyboard
46022
+ * focus, so it draws no ring: Safari would draw one for a focus from script,
46023
+ * also in the middle of a touch. Safari (from 18.4) and Firefox read the
46024
+ * option; Chromium ignores it and decides the ring itself, which it already
46025
+ * leaves off here. */
46026
+ _focusThumb(thumb, pointer = false) {
46027
+ (this.shadowRoot?.querySelector(`.slider__input--${thumb}`))?.focus(pointer ? { focusVisible: false } : void 0);
45911
46028
  }
45912
46029
  /** Ends a press: its listeners on the window, and the thumb it drags. */
45913
46030
  _stopPress() {
@@ -49643,6 +49760,7 @@ var smMax$9 = unsafeCSS(queryBreakpoints.smMax);
49643
49760
  var mdMin$8 = unsafeCSS(queryBreakpoints.mdMin);
49644
49761
  var mdMax$6 = unsafeCSS(queryBreakpoints.mdMax);
49645
49762
  var lgMin$7 = unsafeCSS(queryBreakpoints.lgMin);
49763
+ var stackedMax$2 = unsafeCSS(splitSectionBreakpoints.stackedMax);
49646
49764
  var oneThirdTwoThirdsSectionStyles = css`
49647
49765
  :host {
49648
49766
  box-sizing: border-box;
@@ -49745,11 +49863,9 @@ var oneThirdTwoThirdsSectionStyles = css`
49745
49863
  display: flex;
49746
49864
  flex-wrap: wrap;
49747
49865
 
49748
- /* Below ~768px the 2/3 column would shrink under 400px and read as
49749
- two near-equal columns; stack to a single column instead. nowrap
49750
- stops the column-direction wrap container from stretching the
49866
+ /* nowrap stops the column-direction wrap container from stretching the
49751
49867
  shorter column to fill height. */
49752
- @container (max-width: 48rem) {
49868
+ @container (max-width: ${stackedMax$2}) {
49753
49869
  flex-direction: column;
49754
49870
  flex-wrap: nowrap;
49755
49871
  }
@@ -49768,13 +49884,13 @@ var oneThirdTwoThirdsSectionStyles = css`
49768
49884
  }
49769
49885
 
49770
49886
  :host([vertical-alignment="center"]) .one-third-two-thirds-section__columns {
49771
- @container (min-width: 48.0625rem) {
49887
+ @container (width > ${stackedMax$2}) {
49772
49888
  align-items: center;
49773
49889
  }
49774
49890
  }
49775
49891
 
49776
49892
  :host([vertical-alignment="bottom"]) .one-third-two-thirds-section__columns {
49777
- @container (min-width: 48.0625rem) {
49893
+ @container (width > ${stackedMax$2}) {
49778
49894
  align-items: flex-end;
49779
49895
  }
49780
49896
  }
@@ -49832,7 +49948,7 @@ function oneThirdTwoThirdsSectionTemplate(component) {
49832
49948
  * Nederlandse Digitale Dienst One Third Two Thirds Section Component (Lit + TypeScript)
49833
49949
  *
49834
49950
  * A section with a 1/3 sidebar on the left and 2/3 main content on the right.
49835
- * The columns wrap automatically when they become smaller than 280px.
49951
+ * The columns stand side by side in a section of 50rem (800px) or wider and stack below that, at the same width for every section with two columns.
49836
49952
  * Padding and gap adjust via container queries.
49837
49953
  *
49838
49954
  * @element nldd-one-third-two-thirds-section
@@ -49887,6 +50003,7 @@ var smMax$8 = unsafeCSS(queryBreakpoints.smMax);
49887
50003
  var mdMin$7 = unsafeCSS(queryBreakpoints.mdMin);
49888
50004
  var mdMax$5 = unsafeCSS(queryBreakpoints.mdMax);
49889
50005
  var lgMin$6 = unsafeCSS(queryBreakpoints.lgMin);
50006
+ var stackedMax$1 = unsafeCSS(splitSectionBreakpoints.stackedMax);
49890
50007
  var twoThirdsOneThirdSectionStyles = css`
49891
50008
  :host {
49892
50009
  box-sizing: border-box;
@@ -49989,11 +50106,9 @@ var twoThirdsOneThirdSectionStyles = css`
49989
50106
  display: flex;
49990
50107
  flex-wrap: wrap;
49991
50108
 
49992
- /* Below ~768px the 2/3 column would shrink under 400px and read as
49993
- two near-equal columns; stack to a single column instead. nowrap
49994
- stops the column-direction wrap container from stretching the
50109
+ /* nowrap stops the column-direction wrap container from stretching the
49995
50110
  shorter column to fill height. */
49996
- @container (max-width: 48rem) {
50111
+ @container (max-width: ${stackedMax$1}) {
49997
50112
  flex-direction: column;
49998
50113
  flex-wrap: nowrap;
49999
50114
  }
@@ -50012,13 +50127,13 @@ var twoThirdsOneThirdSectionStyles = css`
50012
50127
  }
50013
50128
 
50014
50129
  :host([vertical-alignment="center"]) .two-thirds-one-third-section__columns {
50015
- @container (min-width: 48.0625rem) {
50130
+ @container (width > ${stackedMax$1}) {
50016
50131
  align-items: center;
50017
50132
  }
50018
50133
  }
50019
50134
 
50020
50135
  :host([vertical-alignment="bottom"]) .two-thirds-one-third-section__columns {
50021
- @container (min-width: 48.0625rem) {
50136
+ @container (width > ${stackedMax$1}) {
50022
50137
  align-items: flex-end;
50023
50138
  }
50024
50139
  }
@@ -50076,7 +50191,7 @@ function twoThirdsOneThirdSectionTemplate(component) {
50076
50191
  * Nederlandse Digitale Dienst Two Thirds One Third Section Component (Lit + TypeScript)
50077
50192
  *
50078
50193
  * A section with 2/3 main content on the left and a 1/3 sidebar on the right.
50079
- * The columns wrap automatically when they become smaller than 280px.
50194
+ * The columns stand side by side in a section of 50rem (800px) or wider and stack below that, at the same width for every section with two columns.
50080
50195
  * Padding and gap adjust via container queries.
50081
50196
  *
50082
50197
  * @element nldd-two-thirds-one-third-section
@@ -50131,6 +50246,7 @@ var smMax$7 = unsafeCSS(queryBreakpoints.smMax);
50131
50246
  var mdMin$6 = unsafeCSS(queryBreakpoints.mdMin);
50132
50247
  var mdMax$4 = unsafeCSS(queryBreakpoints.mdMax);
50133
50248
  var lgMin$5 = unsafeCSS(queryBreakpoints.lgMin);
50249
+ var stackedMax = unsafeCSS(splitSectionBreakpoints.stackedMax);
50134
50250
  var oneHalfOneHalfSectionStyles = css`
50135
50251
  :host {
50136
50252
  box-sizing: border-box;
@@ -50233,6 +50349,13 @@ var oneHalfOneHalfSectionStyles = css`
50233
50349
  display: flex;
50234
50350
  flex-wrap: wrap;
50235
50351
 
50352
+ /* nowrap stops the column-direction wrap container from stretching the
50353
+ shorter column to fill height. */
50354
+ @container (max-width: ${stackedMax}) {
50355
+ flex-direction: column;
50356
+ flex-wrap: nowrap;
50357
+ }
50358
+
50236
50359
  @container (max-width: ${smMax$7}) {
50237
50360
  gap: var(--semantics-page-sections-sm-gap);
50238
50361
  }
@@ -50247,11 +50370,15 @@ var oneHalfOneHalfSectionStyles = css`
50247
50370
  }
50248
50371
 
50249
50372
  :host([vertical-alignment="center"]) .one-half-one-half-section__columns {
50250
- align-items: center;
50373
+ @container (width > ${stackedMax}) {
50374
+ align-items: center;
50375
+ }
50251
50376
  }
50252
50377
 
50253
50378
  :host([vertical-alignment="bottom"]) .one-half-one-half-section__columns {
50254
- align-items: flex-end;
50379
+ @container (width > ${stackedMax}) {
50380
+ align-items: flex-end;
50381
+ }
50255
50382
  }
50256
50383
 
50257
50384
  .one-half-one-half-section__left-column {
@@ -50307,7 +50434,7 @@ function oneHalfOneHalfSectionTemplate(component) {
50307
50434
  * Nederlandse Digitale Dienst One Half One Half Section Component (Lit + TypeScript)
50308
50435
  *
50309
50436
  * A section with two equal columns side by side.
50310
- * The columns wrap automatically when they become smaller than 280px.
50437
+ * The columns stand side by side in a section of 50rem (800px) or wider and stack below that, at the same width for every section with two columns.
50311
50438
  * Padding and gap adjust via container queries.
50312
50439
  *
50313
50440
  * @element nldd-one-half-one-half-section
@@ -51616,6 +51743,8 @@ var cardStyles = css`
51616
51743
  flex-direction: column;
51617
51744
  flex-grow: 1;
51618
51745
  isolation: isolate;
51746
+ outline: var(--_card-highlight-border-width) solid var(--_card-border-color);
51747
+ outline-offset: calc(-1 * var(--_card-highlight-border-width));
51619
51748
  transition: background-color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default);
51620
51749
  }
51621
51750
 
@@ -51633,15 +51762,6 @@ var cardStyles = css`
51633
51762
  background-color: var(--_card-is-active-background-color);
51634
51763
  }
51635
51764
 
51636
- .card::after {
51637
- content: '';
51638
- position: absolute;
51639
- inset: 0;
51640
- border-radius: inherit;
51641
- box-shadow: inset 0 0 0 var(--_card-highlight-border-width) var(--_card-border-color);
51642
- pointer-events: none;
51643
- }
51644
-
51645
51765
 
51646
51766
  /* # Link / button overlay */
51647
51767
 
@@ -53315,23 +53435,23 @@ __decorate([state()], NLDDPageFooter.prototype, "_hasBreadcrumbs", void 0);
53315
53435
  __decorate([state()], NLDDPageFooter.prototype, "_hasMain", void 0);
53316
53436
  __decorate([state()], NLDDPageFooter.prototype, "_hasLegalBar", void 0);
53317
53437
  NLDDPageFooter = __decorate([customElement("nldd-page-footer")], NLDDPageFooter);
53318
- // src/components/layout/column-board/column-board.styles.ts
53319
- var columnBoardStyles = css`
53438
+ // src/components/layout/kanban/kanban.styles.ts
53439
+ var kanbanStyles = css`
53320
53440
 
53321
53441
 
53322
53442
  /* # Host */
53323
53443
 
53324
53444
  :host {
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;
53445
+ --_kanban-gap: var(--primitives-space-12);
53446
+ --_kanban-fade-size: var(--primitives-space-32);
53447
+ --_kanban-fade-left: var(--primitives-space-0);
53448
+ --_kanban-fade-right: var(--primitives-space-0);
53449
+ --_kanban-height: auto;
53330
53450
 
53331
53451
  box-sizing: border-box;
53332
53452
  display: block;
53333
53453
  min-width: 0;
53334
- height: var(--_column-board-height);
53454
+ height: var(--_kanban-height);
53335
53455
  }
53336
53456
 
53337
53457
  :host([hidden]) {
@@ -53341,41 +53461,41 @@ var columnBoardStyles = css`
53341
53461
 
53342
53462
  /* # Block */
53343
53463
 
53344
- .column-board {
53464
+ .kanban {
53345
53465
  display: flex;
53346
53466
  height: 100%;
53347
53467
  overflow-x: auto;
53348
- gap: var(--_column-board-gap);
53468
+ gap: var(--_kanban-gap);
53349
53469
  align-items: stretch;
53350
53470
  scroll-snap-type: x proximity;
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%);
53471
+ scroll-padding-inline: var(--_kanban-gap);
53472
+ mask-image: linear-gradient(to right, transparent 0, black var(--_kanban-fade-left), black calc(100% - var(--_kanban-fade-right)), transparent 100%);
53353
53473
  }
53354
53474
 
53355
- .column-board.can-scroll-left {
53356
- --_column-board-fade-left: var(--_column-board-fade-size);
53475
+ .kanban.can-scroll-left {
53476
+ --_kanban-fade-left: var(--_kanban-fade-size);
53357
53477
  }
53358
53478
 
53359
- .column-board.can-scroll-right {
53360
- --_column-board-fade-right: var(--_column-board-fade-size);
53479
+ .kanban.can-scroll-right {
53480
+ --_kanban-fade-right: var(--_kanban-fade-size);
53361
53481
  }
53362
53482
 
53363
53483
  /* Snapping would pull the board back after every step it scrolls while an
53364
53484
  item is dragged to its edge. */
53365
- .column-board.is-dragging {
53485
+ .kanban.is-dragging {
53366
53486
  scroll-snap-type: none;
53367
53487
  }
53368
53488
 
53369
- .column-board:focus-visible {
53489
+ .kanban:focus-visible {
53370
53490
  outline: var(--semantics-focus-ring-outline);
53371
53491
  outline-offset: var(--semantics-focus-ring-outline-offset);
53372
53492
  }
53373
53493
 
53374
- ::slotted(nldd-column-board-column) {
53494
+ ::slotted(nldd-kanban-column) {
53375
53495
  scroll-snap-align: start;
53376
53496
  }
53377
53497
 
53378
- .column-board__announcer {
53498
+ .kanban__announcer {
53379
53499
  position: absolute;
53380
53500
  width: 1px;
53381
53501
  height: 1px;
@@ -53384,50 +53504,50 @@ var columnBoardStyles = css`
53384
53504
  overflow: hidden;
53385
53505
  }
53386
53506
  `;
53387
- var columnBoardColumnStyles = css`
53507
+ var kanbanColumnStyles = css`
53388
53508
 
53389
53509
 
53390
53510
  /* # Host */
53391
53511
 
53392
53512
  :host {
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);
53513
+ --_kanban-column-width: var(--primitives-area-280);
53514
+ --_kanban-column-corner-radius: var(--semantics-surfaces-corner-radius);
53515
+ --_kanban-column-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
53516
+ --_kanban-column-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
53517
+ --_kanban-column-background-color: var(--semantics-surfaces-tinted-background-color);
53518
+ --_kanban-column-drop-border-width: var(--semantics-drop-targets-border-width);
53519
+ --_kanban-column-available-border-color: var(--semantics-drop-targets-is-available-border-color);
53520
+ --_kanban-column-over-border-color: var(--semantics-drop-targets-is-over-border-color);
53521
+ --_kanban-column-over-background-color: var(--semantics-drop-targets-is-over-background-color);
53522
+ --_kanban-column-header-padding: var(--primitives-space-12) var(--primitives-space-16) var(--primitives-space-4);
53523
+ --_kanban-column-header-gap: var(--primitives-space-8);
53524
+ --_kanban-column-title-font: var(--primitives-font-body-md-bold-tight);
53525
+ --_kanban-column-count-color: var(--semantics-content-secondary-color);
53526
+ --_kanban-column-count-font: var(--primitives-font-body-sm-regular-tight);
53527
+ --_kanban-column-main-gap: var(--primitives-space-8);
53528
+ --_kanban-column-main-padding: var(--primitives-space-8);
53529
+ --_kanban-column-main-min-height: var(--primitives-space-80);
53530
+ --_kanban-column-main-fade-size: var(--primitives-space-24);
53531
+ --_kanban-column-main-fade-top: var(--primitives-space-0);
53532
+ --_kanban-column-main-fade-bottom: var(--primitives-space-0);
53533
+ --_kanban-column-placeholder-background-color: var(--semantics-drop-targets-placeholder-background-color);
53534
+ --_kanban-column-placeholder-corner-radius: var(--semantics-surfaces-corner-radius);
53535
+ --_kanban-column-placeholder-border-width: var(--semantics-drop-targets-border-width);
53536
+ --_kanban-column-placeholder-border-color: var(--semantics-drop-indicators-color);
53537
+ --_kanban-column-placeholder-top: 0px;
53538
+ --_kanban-column-placeholder-left: 0px;
53539
+ --_kanban-column-placeholder-width: 0px;
53540
+ --_kanban-column-placeholder-height: 0px;
53541
+ --_kanban-column-indicator-top: 0px;
53542
+ --_kanban-column-indicator-inset: var(--primitives-space-8);
53543
+ --_kanban-column-indicator-thickness: var(--primitives-border-width-regular);
53544
+ --_kanban-column-indicator-color: var(--semantics-drop-indicators-color);
53425
53545
 
53426
53546
  ${inheritedTextReset}
53427
53547
  box-sizing: border-box;
53428
53548
  display: flex;
53429
53549
  flex-shrink: 0;
53430
- width: var(--_column-board-column-width);
53550
+ width: var(--_kanban-column-width);
53431
53551
  min-height: 0;
53432
53552
  }
53433
53553
 
@@ -53438,80 +53558,80 @@ var columnBoardColumnStyles = css`
53438
53558
 
53439
53559
  /* # Block */
53440
53560
 
53441
- .column-board-column {
53561
+ .kanban-column {
53442
53562
  box-sizing: border-box;
53443
53563
  display: flex;
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);
53564
+ border-radius: var(--_kanban-column-corner-radius);
53565
+ box-shadow: inset 0 0 0 var(--_kanban-column-highlight-border-width) var(--_kanban-column-highlight-border-color);
53566
+ background-color: var(--_kanban-column-background-color);
53447
53567
  width: 100%;
53448
53568
  min-height: 0;
53449
53569
  max-height: 100%;
53450
53570
  flex-direction: column;
53451
53571
  }
53452
53572
 
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);
53573
+ .kanban-column.is-drop-available {
53574
+ --_kanban-column-highlight-border-width: var(--_kanban-column-drop-border-width);
53575
+ --_kanban-column-highlight-border-color: var(--_kanban-column-available-border-color);
53456
53576
  }
53457
53577
 
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);
53578
+ .kanban-column.is-drop-over {
53579
+ --_kanban-column-highlight-border-width: var(--_kanban-column-drop-border-width);
53580
+ --_kanban-column-highlight-border-color: var(--_kanban-column-over-border-color);
53581
+ --_kanban-column-background-color: var(--_kanban-column-over-background-color);
53462
53582
  }
53463
53583
 
53464
53584
 
53465
53585
  /* # Elements */
53466
53586
 
53467
- .column-board-column__header {
53587
+ .kanban-column__header {
53468
53588
  display: flex;
53469
53589
  flex-shrink: 0;
53470
- padding: var(--_column-board-column-header-padding);
53471
- gap: var(--_column-board-column-header-gap);
53590
+ padding: var(--_kanban-column-header-padding);
53591
+ gap: var(--_kanban-column-header-gap);
53472
53592
  align-items: center;
53473
53593
  }
53474
53594
 
53475
- .column-board-column__title {
53595
+ .kanban-column__title {
53476
53596
  min-width: 0;
53477
53597
  flex-grow: 1;
53478
53598
  color: var(--semantics-content-color);
53479
- font: var(--_column-board-column-title-font);
53599
+ font: var(--_kanban-column-title-font);
53480
53600
  text-wrap: balance;
53481
53601
  }
53482
53602
 
53483
- .column-board-column__count {
53603
+ .kanban-column__count {
53484
53604
  flex-shrink: 0;
53485
- color: var(--_column-board-column-count-color);
53486
- font: var(--_column-board-column-count-font);
53605
+ color: var(--_kanban-column-count-color);
53606
+ font: var(--_kanban-column-count-font);
53487
53607
  }
53488
53608
 
53489
- .column-board-column__main {
53609
+ .kanban-column__main {
53490
53610
  box-sizing: border-box;
53491
53611
  display: flex;
53492
53612
  position: relative;
53493
- min-height: var(--_column-board-column-main-min-height);
53613
+ min-height: var(--_kanban-column-main-min-height);
53494
53614
  overflow-y: auto;
53495
- padding: var(--_column-board-column-main-padding);
53615
+ padding: var(--_kanban-column-main-padding);
53496
53616
  flex-direction: column;
53497
53617
  flex-grow: 1;
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%);
53618
+ gap: var(--_kanban-column-main-gap);
53619
+ mask-image: linear-gradient(to bottom, transparent 0, black var(--_kanban-column-main-fade-top), black calc(100% - var(--_kanban-column-main-fade-bottom)), transparent 100%);
53500
53620
  }
53501
53621
 
53502
- .column-board-column__main.can-scroll-up {
53503
- --_column-board-column-main-fade-top: var(--_column-board-column-main-fade-size);
53622
+ .kanban-column__main.can-scroll-up {
53623
+ --_kanban-column-main-fade-top: var(--_kanban-column-main-fade-size);
53504
53624
  }
53505
53625
 
53506
- .column-board-column__main.can-scroll-down {
53507
- --_column-board-column-main-fade-bottom: var(--_column-board-column-main-fade-size);
53626
+ .kanban-column__main.can-scroll-down {
53627
+ --_kanban-column-main-fade-bottom: var(--_kanban-column-main-fade-size);
53508
53628
  }
53509
53629
 
53510
- .column-board-column__footer {
53630
+ .kanban-column__footer {
53511
53631
  flex-shrink: 0;
53512
53632
  }
53513
53633
 
53514
- .column-board-column__footer[hidden] {
53634
+ .kanban-column__footer[hidden] {
53515
53635
  display: none;
53516
53636
  }
53517
53637
 
@@ -53521,42 +53641,42 @@ var columnBoardColumnStyles = css`
53521
53641
  }
53522
53642
 
53523
53643
  /* The item keeps its place while it is dragged, as an empty slot. */
53524
- ::slotted([data-column-board-dragging]) {
53644
+ ::slotted([data-kanban-dragging]) {
53525
53645
  visibility: hidden;
53526
53646
  }
53527
53647
 
53528
- .column-board-column__placeholder {
53648
+ .kanban-column__placeholder {
53529
53649
  position: absolute;
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);
53650
+ top: var(--_kanban-column-placeholder-top);
53651
+ left: var(--_kanban-column-placeholder-left);
53652
+ border-radius: var(--_kanban-column-placeholder-corner-radius);
53653
+ background-color: var(--_kanban-column-placeholder-background-color);
53534
53654
  pointer-events: none;
53535
- width: var(--_column-board-column-placeholder-width);
53536
- height: var(--_column-board-column-placeholder-height);
53655
+ width: var(--_kanban-column-placeholder-width);
53656
+ height: var(--_kanban-column-placeholder-height);
53537
53657
  }
53538
53658
 
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);
53659
+ .kanban-column__placeholder.is-returning {
53660
+ box-shadow: inset 0 0 0 var(--_kanban-column-placeholder-border-width) var(--_kanban-column-placeholder-border-color);
53541
53661
  }
53542
53662
 
53543
- .column-board-column__placeholder[hidden] {
53663
+ .kanban-column__placeholder[hidden] {
53544
53664
  display: none;
53545
53665
  }
53546
53666
 
53547
- .column-board-column__drop-indicator {
53667
+ .kanban-column__drop-indicator {
53548
53668
  position: absolute;
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);
53669
+ top: var(--_kanban-column-indicator-top);
53670
+ right: var(--_kanban-column-indicator-inset);
53671
+ left: var(--_kanban-column-indicator-inset);
53672
+ border-radius: var(--_kanban-column-indicator-thickness);
53673
+ background-color: var(--_kanban-column-indicator-color);
53554
53674
  pointer-events: none;
53555
- height: var(--_column-board-column-indicator-thickness);
53675
+ height: var(--_kanban-column-indicator-thickness);
53556
53676
  transform: translateY(-50%);
53557
53677
  }
53558
53678
 
53559
- .column-board-column__drop-indicator[hidden] {
53679
+ .kanban-column__drop-indicator[hidden] {
53560
53680
  display: none;
53561
53681
  }
53562
53682
 
@@ -53564,84 +53684,84 @@ var columnBoardColumnStyles = css`
53564
53684
  /* # High contrast */
53565
53685
 
53566
53686
  @media (forced-colors: active) {
53567
- .column-board-column {
53568
- border: var(--_column-board-column-highlight-border-width) solid CanvasText;
53687
+ .kanban-column {
53688
+ border: var(--_kanban-column-highlight-border-width) solid CanvasText;
53569
53689
  }
53570
53690
 
53571
- .column-board-column__drop-indicator {
53691
+ .kanban-column__drop-indicator {
53572
53692
  background-color: Highlight;
53573
53693
  }
53574
53694
  }
53575
53695
  `;
53576
- // src/components/layout/column-board/column-board.template.ts
53577
- function columnBoardTemplate(component) {
53696
+ // src/components/layout/kanban/kanban.template.ts
53697
+ function kanbanTemplate(component) {
53578
53698
  return html`
53579
53699
  <div class=${classMap({
53580
- "column-board": true,
53700
+ "kanban": true,
53581
53701
  "can-scroll-left": component._canScrollLeft,
53582
53702
  "can-scroll-right": component._canScrollRight,
53583
53703
  "is-dragging": component._dragging
53584
53704
  })}
53585
53705
  role="region"
53586
- aria-label=${component.accessibleLabel || component._t("components.column-board.accessible-label")}
53706
+ aria-label=${component.accessibleLabel || component._t("components.kanban.accessible-label")}
53587
53707
  tabindex=${component._canScrollLeft || component._canScrollRight ? "0" : nothing}
53588
53708
  @scroll=${component._updateScroll}
53589
53709
  >
53590
53710
  <slot @slotchange=${component._updateScroll}></slot>
53591
53711
  </div>
53592
- <div class="column-board__announcer"
53712
+ <div class="kanban__announcer"
53593
53713
  role="status"
53594
53714
  aria-live="polite"
53595
53715
  aria-atomic="true"
53596
53716
  ></div>
53597
53717
  `;
53598
53718
  }
53599
- // src/components/layout/column-board/column-board-column.template.ts
53600
- function columnBoardColumnTemplate(component) {
53719
+ // src/components/layout/kanban/kanban-column.template.ts
53720
+ function kanbanColumnTemplate(component) {
53601
53721
  return html`
53602
53722
  <section class=${classMap({
53603
- "column-board-column": true,
53723
+ "kanban-column": true,
53604
53724
  "is-drop-available": component._dropState === "available",
53605
53725
  "is-drop-over": component._dropState === "over"
53606
53726
  })}
53607
53727
  aria-label=${component.label || nothing}
53608
53728
  >
53609
- <div class="column-board-column__header">
53729
+ <div class="kanban-column__header">
53610
53730
  <slot name="header">
53611
- <span class="column-board-column__title">
53731
+ <span class="kanban-column__title">
53612
53732
  ${component.text}
53613
53733
  </span>
53614
- <span class="column-board-column__count">
53734
+ <span class="kanban-column__count">
53615
53735
  ${component._count}
53616
53736
  </span>
53617
53737
  </slot>
53618
53738
  </div>
53619
53739
  <div class=${classMap({
53620
- "column-board-column__main": true,
53740
+ "kanban-column__main": true,
53621
53741
  "can-scroll-up": component._canScrollUp,
53622
53742
  "can-scroll-down": component._canScrollDown
53623
53743
  })}
53624
53744
  @scroll=${component._updateScroll}
53625
53745
  >
53626
- <div class="column-board-column__placeholder${component._returning ? " is-returning" : ""}"
53746
+ <div class="kanban-column__placeholder${component._returning ? " is-returning" : ""}"
53627
53747
  ?hidden=${!component._placeholder}
53628
53748
  ></div>
53629
53749
  <slot @slotchange=${component._handleSlotChange}></slot>
53630
- <div class="column-board-column__footer"
53750
+ <div class="kanban-column__footer"
53631
53751
  ?hidden=${!component._hasFooter}
53632
53752
  >
53633
53753
  <slot name="footer" @slotchange=${component._handleFooterChange}></slot>
53634
53754
  </div>
53635
- <div class="column-board-column__drop-indicator"
53755
+ <div class="kanban-column__drop-indicator"
53636
53756
  ?hidden=${component._dropIndex === null}
53637
53757
  ></div>
53638
53758
  </div>
53639
53759
  </section>
53640
53760
  `;
53641
53761
  }
53642
- // src/components/layout/column-board/column-board-column.ts
53762
+ // src/components/layout/kanban/kanban-column.ts
53643
53763
  /**
53644
- * One column of an `nldd-column-board`: a header and the items under it. The items
53764
+ * One column of an `nldd-kanban`: a header and the items under it. The items
53645
53765
  * are whatever you put in the column, usually an `nldd-card` each; the board
53646
53766
  * moves them between columns.
53647
53767
  *
@@ -53654,7 +53774,7 @@ function columnBoardColumnTemplate(component) {
53654
53774
  * The column scrolls on its own once its items do not fit the height of the
53655
53775
  * board, and fades at the top or the bottom while there is more to scroll to.
53656
53776
  *
53657
- * @element nldd-column-board-column
53777
+ * @element nldd-kanban-column
53658
53778
  * @attr {string} text - The column's name, shown in the header and used as its accessible name
53659
53779
  * @attr {string} accessible-label - Accessible name in place of `text`, for a column whose header comes from the slot
53660
53780
  * @attr {string} value - What the column stands for in your data, such as a status; `nldd-move` reports it as `fromColumn` and `toColumn`
@@ -53663,7 +53783,7 @@ function columnBoardColumnTemplate(component) {
53663
53783
  * @slot - The items
53664
53784
  * @slot footer - Right under the last item, such as a button to add one; it scrolls along with the items
53665
53785
  */
53666
- var _NLDDColumnBoardColumn = class NLDDColumnBoardColumn extends LitElement {
53786
+ var _NLDDKanbanColumn = class NLDDKanbanColumn extends LitElement {
53667
53787
  constructor(..._args) {
53668
53788
  super(..._args);
53669
53789
  this.text = "";
@@ -53709,7 +53829,7 @@ var _NLDDColumnBoardColumn = class NLDDColumnBoardColumn extends LitElement {
53709
53829
  this._resizeObserver.disconnect();
53710
53830
  this._resizeObserver.observe(this._mainElement);
53711
53831
  for (const item of this.items) this._resizeObserver.observe(item);
53712
- const footer = this.shadowRoot?.querySelector(".column-board-column__footer");
53832
+ const footer = this.shadowRoot?.querySelector(".kanban-column__footer");
53713
53833
  if (footer) this._resizeObserver.observe(footer);
53714
53834
  }
53715
53835
  connectedCallback() {
@@ -53739,14 +53859,14 @@ var _NLDDColumnBoardColumn = class NLDDColumnBoardColumn extends LitElement {
53739
53859
  /** Lays the placeholder over the empty place of the dragged item. */
53740
53860
  _placePlaceholder() {
53741
53861
  const item = this._placeholder;
53742
- const placeholder = this.shadowRoot?.querySelector(".column-board-column__placeholder");
53862
+ const placeholder = this.shadowRoot?.querySelector(".kanban-column__placeholder");
53743
53863
  if (!item || !placeholder) return;
53744
53864
  const main = this._mainElement.getBoundingClientRect();
53745
53865
  const rect = item.getBoundingClientRect();
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`);
53866
+ placeholder.style.setProperty("--_kanban-column-placeholder-top", `${rect.top - main.top + this._mainElement.scrollTop}px`);
53867
+ placeholder.style.setProperty("--_kanban-column-placeholder-left", `${rect.left - main.left + this._mainElement.scrollLeft}px`);
53868
+ placeholder.style.setProperty("--_kanban-column-placeholder-width", `${rect.width}px`);
53869
+ placeholder.style.setProperty("--_kanban-column-placeholder-height", `${rect.height}px`);
53750
53870
  }
53751
53871
  /** Puts the line between the items where a dropped item would land. */
53752
53872
  _placeIndicator() {
@@ -53760,43 +53880,43 @@ var _NLDDColumnBoardColumn = class NLDDColumnBoardColumn extends LitElement {
53760
53880
  if (before) top = before.getBoundingClientRect().top - gap / 2;
53761
53881
  else if (after) top = after.getBoundingClientRect().bottom + gap / 2;
53762
53882
  else top = main.top + parseFloat(getComputedStyle(this._mainElement).paddingTop);
53763
- this._indicator.style.setProperty("--_column-board-column-indicator-top", `${top - main.top + this._mainElement.scrollTop}px`);
53883
+ this._indicator.style.setProperty("--_kanban-column-indicator-top", `${top - main.top + this._mainElement.scrollTop}px`);
53764
53884
  }
53765
53885
  render() {
53766
- return columnBoardColumnTemplate(this);
53886
+ return kanbanColumnTemplate(this);
53767
53887
  }
53768
53888
  };
53769
- var NLDDColumnBoardColumn = (_NLDDColumnBoardColumn.styles = columnBoardColumnStyles, _NLDDColumnBoardColumn);
53889
+ var NLDDKanbanColumn = (_NLDDKanbanColumn.styles = kanbanColumnStyles, _NLDDKanbanColumn);
53770
53890
  __decorate([property({
53771
53891
  reflect: true,
53772
53892
  converter: reflectNonDefault("")
53773
- })], NLDDColumnBoardColumn.prototype, "text", void 0);
53893
+ })], NLDDKanbanColumn.prototype, "text", void 0);
53774
53894
  __decorate([property({
53775
53895
  type: String,
53776
53896
  attribute: "accessible-label"
53777
- })], NLDDColumnBoardColumn.prototype, "accessibleLabel", void 0);
53897
+ })], NLDDKanbanColumn.prototype, "accessibleLabel", void 0);
53778
53898
  __decorate([property({
53779
53899
  reflect: true,
53780
53900
  converter: reflectNonDefault("")
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
53901
+ })], NLDDKanbanColumn.prototype, "value", void 0);
53902
+ __decorate([state()], NLDDKanbanColumn.prototype, "_count", void 0);
53903
+ __decorate([state()], NLDDKanbanColumn.prototype, "_hasFooter", void 0);
53904
+ __decorate([state()], NLDDKanbanColumn.prototype, "_dropIndex", void 0);
53905
+ __decorate([state()], NLDDKanbanColumn.prototype, "_placeholder", void 0);
53906
+ __decorate([state()], NLDDKanbanColumn.prototype, "_returning", void 0);
53907
+ __decorate([state()], NLDDKanbanColumn.prototype, "_dropState", void 0);
53908
+ __decorate([state()], NLDDKanbanColumn.prototype, "_canScrollUp", void 0);
53909
+ __decorate([state()], NLDDKanbanColumn.prototype, "_canScrollDown", void 0);
53910
+ __decorate([query(".kanban-column__main")], NLDDKanbanColumn.prototype, "_mainElement", void 0);
53911
+ __decorate([query(".kanban-column__drop-indicator")], NLDDKanbanColumn.prototype, "_indicator", void 0);
53912
+ NLDDKanbanColumn = __decorate([customElement("nldd-kanban-column")], NLDDKanbanColumn);
53913
+ // src/components/layout/kanban/kanban.ts
53794
53914
  /**
53795
- * Nederlandse Digitale Dienst Column Board Component (Lit + TypeScript)
53915
+ * Nederlandse Digitale Dienst Kanban Component (Lit + TypeScript)
53796
53916
  *
53797
- * Columns side by side, with items you move between them: a kanban board, or
53798
- * any board where an item's column is one of its values, such as a status or a
53799
- * team. Put `nldd-column-board-column`s in it, and the items in those, usually an
53917
+ * Columns side by side, with items you move between them. Kanban is Japanese
53918
+ * for a visible board, so it is any board where an item's column is one of its
53919
+ * values: a status, but also a team or a phase. Put `nldd-kanban-column`s in it, and the items in those, usually an
53800
53920
  * `nldd-card` each. The board scrolls sideways once its columns do not fit, and
53801
53921
  * a column scrolls on its own once its items do not fit the height you give the
53802
53922
  * board.
@@ -53833,20 +53953,20 @@ NLDDColumnBoardColumn = __decorate([customElement("nldd-column-board-column")],
53833
53953
  * synchronously in the handler: the board puts focus back on the item right
53834
53954
  * after, and a screen reader hears where it landed.
53835
53955
  *
53836
- * @element nldd-column-board
53956
+ * @element nldd-kanban
53837
53957
  * @attr {string} accessible-label - Accessible name of the board (default: "Bord")
53838
53958
  * @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%`)
53839
53959
  * @attr {boolean} readonly - Items cannot be dragged or moved with the keyboard; they still work, and `moveItem()` still moves
53840
53960
  * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
53841
53961
  *
53842
- * @slot - The columns: `nldd-column-board-column`
53962
+ * @slot - The columns: `nldd-kanban-column`
53843
53963
  *
53844
53964
  * @fires nldd-move - An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one)
53845
53965
  * @fires nldd-move-denied - An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }`
53846
53966
  *
53847
53967
  * @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.
53848
53968
  */
53849
- var _NLDDColumnBoard;
53969
+ var _NLDDKanban;
53850
53970
  /** How far a mouse or pen moves before a press becomes a drag, in pixels. */
53851
53971
  var DRAG_THRESHOLD$1 = 4;
53852
53972
  /** How far a finger may wander while it holds an item, and how long it holds. */
@@ -53862,7 +53982,7 @@ var COLUMN_REVEAL_DELAY_MS = 300;
53862
53982
  var DENIED_MS = 1500;
53863
53983
  /** How long the pointer stays outside the board before the copy says it goes back. */
53864
53984
  var RETURN_NOTE_DELAY_MS = 300;
53865
- var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTranslations(LitElement, nlddColumnBoardTranslations) {
53985
+ var NLDDKanban = (_NLDDKanban = class NLDDKanban extends withTranslations(LitElement, nlddKanbanTranslations) {
53866
53986
  constructor(..._args) {
53867
53987
  super(..._args);
53868
53988
  this.accessibleLabel = "";
@@ -53920,7 +54040,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
53920
54040
  if (step === 0) {
53921
54041
  const toIndex = fromIndex + (event.key === "ArrowUp" ? -1 : 1);
53922
54042
  if (toIndex < 0 || toIndex > from.items.length - 1) {
53923
- this._announce(this._t("components.column-board.edge-text"));
54043
+ this._announce(this._t("components.kanban.edge-text"));
53924
54044
  return;
53925
54045
  }
53926
54046
  this._move(item, from, fromIndex, from, toIndex);
@@ -53928,7 +54048,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
53928
54048
  }
53929
54049
  const to = columns[columns.indexOf(from) + step];
53930
54050
  if (!to) {
53931
- this._announce(this._t("components.column-board.edge-text"));
54051
+ this._announce(this._t("components.kanban.edge-text"));
53932
54052
  return;
53933
54053
  }
53934
54054
  this._move(item, from, fromIndex, to, Math.min(fromIndex, to.items.length));
@@ -54021,7 +54141,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54021
54141
  }
54022
54142
  /** The columns, in order. */
54023
54143
  get columns() {
54024
- return Array.from(this.children).filter((el) => el instanceof NLDDColumnBoardColumn && !el.hidden);
54144
+ return Array.from(this.children).filter((el) => el instanceof NLDDKanbanColumn && !el.hidden);
54025
54145
  }
54026
54146
  connectedCallback() {
54027
54147
  super.connectedCallback();
@@ -54043,8 +54163,8 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54043
54163
  updated(changed) {
54044
54164
  if (changed.has("height")) {
54045
54165
  const height = this.height;
54046
- if (height && CSS.supports("height", height)) this.style.setProperty("--_column-board-height", height);
54047
- else this.style.removeProperty("--_column-board-height");
54166
+ if (height && CSS.supports("height", height)) this.style.setProperty("--_kanban-height", height);
54167
+ else this.style.removeProperty("--_kanban-height");
54048
54168
  }
54049
54169
  if (changed.has("readonly")) {
54050
54170
  this._endPress();
@@ -54068,7 +54188,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54068
54188
  const room = to.items.filter((el) => el !== item).length;
54069
54189
  const index = Math.max(0, Math.min(toIndex ?? room, room));
54070
54190
  if (from === to && index === fromIndex) {
54071
- this._announce(this._t("components.column-board.no-change-text"));
54191
+ this._announce(this._t("components.kanban.no-change-text"));
54072
54192
  return false;
54073
54193
  }
54074
54194
  return this._move(item, from, fromIndex, to, index);
@@ -54090,7 +54210,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54090
54210
  composed: true
54091
54211
  }));
54092
54212
  const total = to.items.filter((el) => el !== item).length + 1;
54093
- this._announce(this._t("components.column-board.moved-text", {
54213
+ this._announce(this._t("components.kanban.moved-text", {
54094
54214
  column: to.label,
54095
54215
  position: toIndex + 1,
54096
54216
  total
@@ -54106,7 +54226,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54106
54226
  /** The column an element sits in as an item, if it is one in this board. */
54107
54227
  _columnOf(item) {
54108
54228
  const parent = item.parentElement;
54109
- return parent instanceof NLDDColumnBoardColumn && parent.parentElement === this && !item.slot ? parent : null;
54229
+ return parent instanceof NLDDKanbanColumn && parent.parentElement === this && !item.slot ? parent : null;
54110
54230
  }
54111
54231
  /** The item an event happened in: the child of a column it came through. */
54112
54232
  _itemFrom(event) {
@@ -54132,7 +54252,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54132
54252
  return active instanceof HTMLElement ? active : null;
54133
54253
  }
54134
54254
  _announce(message) {
54135
- const region = this.shadowRoot?.querySelector(".column-board__announcer");
54255
+ const region = this.shadowRoot?.querySelector(".kanban__announcer");
54136
54256
  if (!region) return;
54137
54257
  region.textContent = "";
54138
54258
  requestAnimationFrame(() => requestAnimationFrame(() => {
@@ -54195,7 +54315,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54195
54315
  borderRadius: this._cornerRadius(item)
54196
54316
  });
54197
54317
  document.body.append(ghost);
54198
- item.setAttribute("data-column-board-dragging", "");
54318
+ item.setAttribute("data-kanban-dragging", "");
54199
54319
  document.getSelection()?.removeAllRanges();
54200
54320
  document.documentElement.style.setProperty("user-select", "none");
54201
54321
  document.documentElement.style.setProperty("-webkit-user-select", "none");
@@ -54284,7 +54404,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54284
54404
  }
54285
54405
  if (!drag.note && !drag.noteTimer) drag.noteTimer = window.setTimeout(() => {
54286
54406
  if (this._drag !== drag) return;
54287
- drag.note = this._note(this._t("components.column-board.drag-return-text"));
54407
+ drag.note = this._note(this._t("components.kanban.drag-return-text"));
54288
54408
  this._followReturnNote(false);
54289
54409
  }, RETURN_NOTE_DELAY_MS);
54290
54410
  if (!drag.note) return;
@@ -54313,7 +54433,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54313
54433
  _columnRevealLeft(column) {
54314
54434
  const el = this._scroller;
54315
54435
  const styles = getComputedStyle(el);
54316
- const insetStart = parseFloat(styles.getPropertyValue("--_column-board-fade-size")) || 0;
54436
+ const insetStart = parseFloat(styles.getPropertyValue("--_kanban-fade-size")) || 0;
54317
54437
  const insetEnd = insetStart;
54318
54438
  const current = el.scrollLeft;
54319
54439
  const rect = column.getBoundingClientRect();
@@ -54342,11 +54462,11 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54342
54462
  const { item, from, fromIndex, target, index } = drag;
54343
54463
  this._endDrag();
54344
54464
  if (!target) {
54345
- this._announce(this._t("components.column-board.drag-canceled-text"));
54465
+ this._announce(this._t("components.kanban.drag-canceled-text"));
54346
54466
  return;
54347
54467
  }
54348
54468
  if (target === from && (index === fromIndex || index === fromIndex + 1)) {
54349
- this._announce(this._t("components.column-board.no-change-text"));
54469
+ this._announce(this._t("components.kanban.no-change-text"));
54350
54470
  return;
54351
54471
  }
54352
54472
  this._move(item, from, fromIndex, target, target === from && index > fromIndex ? index - 1 : index);
@@ -54354,7 +54474,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54354
54474
  _cancelDrag() {
54355
54475
  if (!this._drag) return;
54356
54476
  this._endDrag();
54357
- this._announce(this._t("components.column-board.drag-canceled-text"));
54477
+ this._announce(this._t("components.kanban.drag-canceled-text"));
54358
54478
  }
54359
54479
  _endDrag() {
54360
54480
  const drag = this._drag;
@@ -54364,7 +54484,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54364
54484
  clearTimeout(drag.columnRevealTimer);
54365
54485
  drag.note?.remove();
54366
54486
  drag.ghost.remove();
54367
- drag.item.removeAttribute("data-column-board-dragging");
54487
+ drag.item.removeAttribute("data-kanban-dragging");
54368
54488
  if (drag.target) drag.target._dropIndex = null;
54369
54489
  for (const column of this.columns) column._dropState = null;
54370
54490
  drag.from._placeholder = null;
@@ -54398,7 +54518,7 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54398
54518
  * and tells the app. */
54399
54519
  _deny(item) {
54400
54520
  this._hideDenied();
54401
- const text = this._t("components.column-board.readonly-text");
54521
+ const text = this._t("components.kanban.readonly-text");
54402
54522
  this._announce(text);
54403
54523
  const rect = item.getBoundingClientRect();
54404
54524
  const below = rect.top < SCROLL_EDGE;
@@ -54448,26 +54568,26 @@ var NLDDColumnBoard = (_NLDDColumnBoard = class NLDDColumnBoard extends withTran
54448
54568
  this._deniedCursor = null;
54449
54569
  }
54450
54570
  render() {
54451
- return columnBoardTemplate(this);
54571
+ return kanbanTemplate(this);
54452
54572
  }
54453
- }, _NLDDColumnBoard.styles = columnBoardStyles, _NLDDColumnBoard);
54573
+ }, _NLDDKanban.styles = kanbanStyles, _NLDDKanban);
54454
54574
  __decorate([property({
54455
54575
  type: String,
54456
54576
  attribute: "accessible-label"
54457
- })], NLDDColumnBoard.prototype, "accessibleLabel", void 0);
54577
+ })], NLDDKanban.prototype, "accessibleLabel", void 0);
54458
54578
  __decorate([property({
54459
54579
  type: String,
54460
54580
  reflect: true
54461
- })], NLDDColumnBoard.prototype, "height", void 0);
54581
+ })], NLDDKanban.prototype, "height", void 0);
54462
54582
  __decorate([property({
54463
54583
  type: Boolean,
54464
54584
  reflect: true
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);
54585
+ })], NLDDKanban.prototype, "readonly", void 0);
54586
+ __decorate([query(".kanban")], NLDDKanban.prototype, "_scroller", void 0);
54587
+ __decorate([state()], NLDDKanban.prototype, "_canScrollLeft", void 0);
54588
+ __decorate([state()], NLDDKanban.prototype, "_canScrollRight", void 0);
54589
+ __decorate([state()], NLDDKanban.prototype, "_dragging", void 0);
54590
+ NLDDKanban = __decorate([customElement("nldd-kanban")], NLDDKanban);
54471
54591
  // src/components/lists-and-tables/list-item-segment/list-item-segment.styles.ts
54472
54592
  var listItemSegmentStyles = css`
54473
54593
  :host {
@@ -58561,14 +58681,10 @@ var topNavigationBarStyles = css`
58561
58681
  .top-navigation-bar__website-title-bar {
58562
58682
  display: flex;
58563
58683
  align-items: center;
58564
-
58565
- @container (max-width: ${smMax$2}) {
58566
- justify-content: center;
58567
- }
58684
+ justify-content: flex-start;
58568
58685
 
58569
58686
  @container (min-width: ${mdMin$1}) {
58570
58687
  padding-inline-end: var(--semantics-menu-bar-items-inline-padding);
58571
- justify-content: flex-start;
58572
58688
  }
58573
58689
  }
58574
58690
 
@@ -58599,7 +58715,6 @@ var topNavigationBarStyles = css`
58599
58715
  min-width: 0;
58600
58716
  white-space: normal;
58601
58717
  overflow-wrap: break-word;
58602
- text-align: center;
58603
58718
  }
58604
58719
 
58605
58720
  @container (min-width: ${mdMin$1}) {
@@ -58996,7 +59111,7 @@ async function loadDependencies() {
58996
59111
  Promise.resolve().then(() => list_item_exports),
58997
59112
  Promise.resolve().then(() => text_cell_exports),
58998
59113
  Promise.resolve().then(() => icon_cell_exports),
58999
- import("./icon-DU_IMj2t.js").then((n) => n.n)
59114
+ import("./icon-BH4iy_z4.js").then((n) => n.n)
59000
59115
  ]);
59001
59116
  }
59002
59117
  /** The rows of a level, read from its container: the global menu bar's items
@@ -62601,7 +62716,7 @@ function bannerTemplate(component) {
62601
62716
  <div class="banner__actions"
62602
62717
  ?hidden=${!component._hasActions}
62603
62718
  >
62604
- <nldd-button-group orientation="horizontal">
62719
+ <nldd-button-group orientation="horizontal" size="sm">
62605
62720
  <slot name="actions"></slot>
62606
62721
  </nldd-button-group>
62607
62722
  </div>
@@ -62662,7 +62777,7 @@ function bannerTemplate(component) {
62662
62777
  * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
62663
62778
  *
62664
62779
  * @slot - Optional rich content between text and actions (e.g. nldd-rich-text)
62665
- * @slot actions - nldd-button elements, wrapped in a horizontal nldd-button-group
62780
+ * @slot actions - nldd-button elements, wrapped in a horizontal nldd-button-group that makes them sm, at either banner size: an action beside a notice should not weigh as much as the buttons of the page.
62666
62781
  *
62667
62782
  * @fires dismiss - Fired when the dismiss button is clicked. The consumer is responsible for removing/hiding the banner.
62668
62783
  */
@@ -65759,6 +65874,10 @@ var stepBarStyles = css`
65759
65874
  --_step-bar-compact-bar-corner-radius: var(--primitives-corner-radius-full);
65760
65875
  --_step-bar-track-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-200));
65761
65876
  --_step-bar-compact-bar-height: var(--primitives-space-6);
65877
+ --_step-bar-compact-bar-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
65878
+ --_step-bar-compact-bar-border-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-200));
65879
+ --_step-bar-compact-bar-progress-border-color: var(--semantics-steps-progress-highlight-border-color);
65880
+ --_step-bar-compact-bar-border-width: var(--primitives-border-width-thin);
65762
65881
  --_step-bar-progress-color: var(--semantics-steps-progress-color);
65763
65882
  --_step-bar-item-gap: var(--primitives-space-4);
65764
65883
  --_step-bar-marker-size: var(--primitives-space-24);
@@ -65826,11 +65945,13 @@ var stepBarStyles = css`
65826
65945
  .step-bar__compact-bar-segment {
65827
65946
  flex: 1;
65828
65947
  border-radius: var(--_step-bar-compact-bar-corner-radius);
65829
- background-color: var(--_step-bar-track-color);
65948
+ box-shadow: inset 0 0 0 var(--_step-bar-compact-bar-border-width) var(--_step-bar-compact-bar-border-color);
65949
+ background-color: var(--_step-bar-compact-bar-background-color);
65830
65950
  height: var(--_step-bar-compact-bar-height);
65831
65951
  }
65832
65952
 
65833
65953
  .step-bar__compact-bar-segment[data-filled] {
65954
+ --_step-bar-compact-bar-border-color: var(--_step-bar-compact-bar-progress-border-color);
65834
65955
  background-color: var(--_step-bar-progress-color);
65835
65956
  }
65836
65957
 
@@ -67517,4 +67638,4 @@ __decorate([property({
67517
67638
  attribute: "no-arrow"
67518
67639
  })], NLDDJustInTimeEducation.prototype, "noArrow", void 0);
67519
67640
  NLDDJustInTimeEducation = _NLDDJustInTimeEducation = __decorate([customElement("nldd-just-in-time-education")], NLDDJustInTimeEducation);
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 };
67641
+ 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, NLDDKanban, NLDDKanbanColumn, 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 };