@nldd/design-system 0.16.2 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/custom-elements.json +1376 -415
  2. package/dist/components/components.js +1438 -356
  3. package/dist/components/content/blockquote/blockquote.d.ts +11 -1
  4. package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
  5. package/dist/components/content/blockquote/blockquote.js +39 -0
  6. package/dist/components/content/blockquote/blockquote.js.map +1 -1
  7. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  8. package/dist/components/content/blockquote/blockquote.styles.js +42 -1
  9. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  10. package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
  11. package/dist/components/content/icon/icon-gallery-status.js +7 -0
  12. package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
  13. package/dist/components/content/icon/icon-registry.js +393 -393
  14. package/dist/components/content/icon/icon-registry.js.map +1 -1
  15. package/dist/components/content/icon/icon.template.js +1 -1
  16. package/dist/components/content/text/text.d.ts +21 -3
  17. package/dist/components/content/text/text.d.ts.map +1 -1
  18. package/dist/components/content/text/text.js +41 -1
  19. package/dist/components/content/text/text.js.map +1 -1
  20. package/dist/components/content/text/text.styles.d.ts +2 -1
  21. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  22. package/dist/components/content/text/text.styles.js +88 -2
  23. package/dist/components/content/text/text.styles.js.map +1 -1
  24. package/dist/components/content/title/title.d.ts +1 -3
  25. package/dist/components/content/title/title.d.ts.map +1 -1
  26. package/dist/components/content/title/title.js +5 -79
  27. package/dist/components/content/title/title.js.map +1 -1
  28. package/dist/components/{decorate-CtaxGuuh.js → decorate-D2HtKmpx.js} +1 -1
  29. package/dist/components/{defer-focus-CC5RVvh6.js → defer-focus-JRj1EYUV.js} +2 -2
  30. package/dist/components/{dev-checks-a7fZ6hgC.js → dev-checks-BPjCXw_r.js} +109 -12
  31. package/dist/components/icon-DU_IMj2t.js +968 -0
  32. package/dist/components/{icon-button-DJPpMxWn.js → icon-button-BgeikVnm.js} +3 -3
  33. package/dist/components/index.d.ts +2 -1
  34. package/dist/components/index.d.ts.map +1 -1
  35. package/dist/components/index.js +2 -1
  36. package/dist/components/index.js.map +1 -1
  37. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +172 -0
  38. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -0
  39. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +447 -0
  40. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -0
  41. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts +2 -0
  42. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -0
  43. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +188 -0
  44. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -0
  45. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts +4 -0
  46. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts.map +1 -0
  47. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +64 -0
  48. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -0
  49. package/dist/components/inputs/search-field/search-field.d.ts +4 -2
  50. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  51. package/dist/components/inputs/search-field/search-field.js +5 -4
  52. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  53. package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
  54. package/dist/components/inputs/search-field/search-field.template.js +4 -3
  55. package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
  56. package/dist/components/inputs/text-field/text-field.d.ts +14 -0
  57. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  58. package/dist/components/inputs/text-field/text-field.js +51 -1
  59. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  60. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  61. package/dist/components/inputs/text-field/text-field.styles.js +21 -1
  62. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  63. package/dist/components/inputs/text-field/text-field.template.d.ts.map +1 -1
  64. package/dist/components/inputs/text-field/text-field.template.js +5 -0
  65. package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
  66. package/dist/components/{just-in-time-education.i18n-S05IOgqk.js → just-in-time-education.i18n-eCghRteQ.js} +10 -10
  67. package/dist/components/layout/{task-board/task-board-column.d.ts → column-board/column-board-column.d.ts} +5 -5
  68. package/dist/components/layout/column-board/column-board-column.d.ts.map +1 -0
  69. package/dist/components/layout/{task-board/task-board-column.js → column-board/column-board-column.js} +34 -34
  70. package/dist/components/layout/column-board/column-board-column.js.map +1 -0
  71. package/dist/components/layout/column-board/column-board-column.template.d.ts +3 -0
  72. package/dist/components/layout/column-board/column-board-column.template.d.ts.map +1 -0
  73. package/dist/components/layout/{task-board/task-board-column.template.js → column-board/column-board-column.template.js} +10 -10
  74. package/dist/components/layout/column-board/column-board-column.template.js.map +1 -0
  75. package/dist/components/layout/{task-board/task-board.d.ts → column-board/column-board.d.ts} +21 -21
  76. package/dist/components/layout/column-board/column-board.d.ts.map +1 -0
  77. package/dist/components/layout/column-board/column-board.i18n.d.ts +11 -0
  78. package/dist/components/layout/column-board/column-board.i18n.d.ts.map +1 -0
  79. package/dist/components/layout/column-board/column-board.i18n.js +10 -0
  80. package/dist/components/layout/column-board/column-board.i18n.js.map +1 -0
  81. package/dist/components/layout/{task-board/task-board.js → column-board/column-board.js} +43 -43
  82. package/dist/components/layout/column-board/column-board.js.map +1 -0
  83. package/dist/components/layout/column-board/column-board.styles.d.ts +3 -0
  84. package/dist/components/layout/column-board/column-board.styles.d.ts.map +1 -0
  85. package/dist/components/layout/column-board/column-board.styles.js +260 -0
  86. package/dist/components/layout/column-board/column-board.styles.js.map +1 -0
  87. package/dist/components/layout/column-board/column-board.template.d.ts +3 -0
  88. package/dist/components/layout/column-board/column-board.template.d.ts.map +1 -0
  89. package/dist/components/layout/{task-board/task-board.template.js → column-board/column-board.template.js} +5 -5
  90. package/dist/components/layout/column-board/column-board.template.js.map +1 -0
  91. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -2
  92. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  93. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +15 -3
  94. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  95. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  96. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +5 -0
  97. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  98. package/dist/components/{nl.generated-CUo20aPV.js → nl.generated-B0pvf8VH.js} +2 -2
  99. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -1
  100. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  101. package/dist/components/status-and-feedback/status-bar/status-bar.js +32 -1
  102. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  103. package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
  104. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +59 -0
  105. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
  106. package/dist/components/status-and-feedback/status-bar/status-bar.template.d.ts.map +1 -1
  107. package/dist/components/status-and-feedback/status-bar/status-bar.template.js +4 -1
  108. package/dist/components/status-and-feedback/status-bar/status-bar.template.js.map +1 -1
  109. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +15 -8
  110. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  111. package/dist/components/status-and-feedback/step-bar/step-bar.js +30 -12
  112. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  113. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts +7 -2
  114. package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
  115. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +31 -19
  116. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
  117. package/dist/components/{visibility-mixin-CwMutpAK.js → visibility-mixin-Dti3xE8R.js} +1 -1
  118. package/dist/nldd.min.js +2256 -1815
  119. package/dist/translations/en-US.js +7 -7
  120. package/dist/translations/en-US.js.map +1 -1
  121. package/dist/translations/fy.js +7 -7
  122. package/dist/translations/fy.js.map +1 -1
  123. package/dist/translations/nl.generated.d.ts +7 -7
  124. package/dist/translations/nl.generated.js +2 -2
  125. package/dist/translations/nl.generated.js.map +1 -1
  126. package/dist/translations/pap-AW.js +7 -7
  127. package/dist/translations/pap-AW.js.map +1 -1
  128. package/dist/translations/pap-CW.js +7 -7
  129. package/dist/translations/pap-CW.js.map +1 -1
  130. package/dist/types/vue.d.ts +129 -50
  131. package/dist/utilities/custom-font-size.d.ts +19 -0
  132. package/dist/utilities/custom-font-size.d.ts.map +1 -0
  133. package/dist/utilities/custom-font-size.js +90 -0
  134. package/dist/utilities/custom-font-size.js.map +1 -0
  135. package/dist/utilities/dev-checks.d.ts +7 -0
  136. package/dist/utilities/dev-checks.d.ts.map +1 -1
  137. package/dist/utilities/dev-checks.js +23 -0
  138. package/dist/utilities/dev-checks.js.map +1 -1
  139. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  140. package/dist/utilities/dev-rules.generated.js +94 -14
  141. package/dist/utilities/dev-rules.generated.js.map +1 -1
  142. package/dist/utilities/file-drag-and-drop.js +1 -1
  143. package/dist/utilities/file-drag-and-drop.js.map +1 -1
  144. package/dist/utilities/status-bar-change.d.ts +7 -0
  145. package/dist/utilities/status-bar-change.d.ts.map +1 -0
  146. package/dist/utilities/status-bar-change.js +7 -0
  147. package/dist/utilities/status-bar-change.js.map +1 -0
  148. package/lint/data.generated.json +1 -1
  149. package/package.json +9 -5
  150. package/dist/components/icon-Bkdlj87q.js +0 -968
  151. package/dist/components/layout/task-board/task-board-column.d.ts.map +0 -1
  152. package/dist/components/layout/task-board/task-board-column.js.map +0 -1
  153. package/dist/components/layout/task-board/task-board-column.template.d.ts +0 -3
  154. package/dist/components/layout/task-board/task-board-column.template.d.ts.map +0 -1
  155. package/dist/components/layout/task-board/task-board-column.template.js.map +0 -1
  156. package/dist/components/layout/task-board/task-board.d.ts.map +0 -1
  157. package/dist/components/layout/task-board/task-board.i18n.d.ts +0 -11
  158. package/dist/components/layout/task-board/task-board.i18n.d.ts.map +0 -1
  159. package/dist/components/layout/task-board/task-board.i18n.js +0 -10
  160. package/dist/components/layout/task-board/task-board.i18n.js.map +0 -1
  161. package/dist/components/layout/task-board/task-board.js.map +0 -1
  162. package/dist/components/layout/task-board/task-board.styles.d.ts +0 -3
  163. package/dist/components/layout/task-board/task-board.styles.d.ts.map +0 -1
  164. package/dist/components/layout/task-board/task-board.styles.js +0 -260
  165. package/dist/components/layout/task-board/task-board.styles.js.map +0 -1
  166. package/dist/components/layout/task-board/task-board.template.d.ts +0 -3
  167. package/dist/components/layout/task-board/task-board.template.d.ts.map +0 -1
  168. package/dist/components/layout/task-board/task-board.template.js.map +0 -1
@@ -31,6 +31,8 @@ import type { NLDDCheckboxField } from '@nldd/design-system/checkbox-field';
31
31
  import type { NLDDCodeEditor } from '@nldd/design-system/code-editor';
32
32
  import type { NLDDCodeViewer } from '@nldd/design-system/code-viewer';
33
33
  import type { NLDDCollection } from '@nldd/design-system/collection';
34
+ import type { NLDDColumnBoard } from '@nldd/design-system/column-board';
35
+ import type { NLDDColumnBoardColumn } from '@nldd/design-system/column-board-column';
34
36
  import type { NLDDComboBox } from '@nldd/design-system/combo-box';
35
37
  import type { NLDDContainer } from '@nldd/design-system/container';
36
38
  import type { NLDDDateField } from '@nldd/design-system/date-field';
@@ -75,6 +77,7 @@ import type { NLDDNotification } from '@nldd/design-system/notification';
75
77
  import type { NLDDNumberField } from '@nldd/design-system/number-field';
76
78
  import type { NLDDOneHalfOneHalfSection } from '@nldd/design-system/one-half-one-half-section';
77
79
  import type { NLDDOneThirdTwoThirdsSection } from '@nldd/design-system/one-third-two-thirds-section';
80
+ import type { NLDDOneTimeCodeField } from '@nldd/design-system/one-time-code-field';
78
81
  import type { NLDDPage } from '@nldd/design-system/page';
79
82
  import type { NLDDPageFooter } from '@nldd/design-system/page-footer';
80
83
  import type { NLDDPageFooterLegalBar } from '@nldd/design-system/page-footer';
@@ -120,8 +123,6 @@ import type { NLDDTabBarItem } from '@nldd/design-system/tab-bar';
120
123
  import type { NLDDTable } from '@nldd/design-system/table';
121
124
  import type { NLDDTableRow } from '@nldd/design-system/table';
122
125
  import type { NLDDTag } from '@nldd/design-system/tag';
123
- import type { NLDDTaskBoard } from '@nldd/design-system/task-board';
124
- import type { NLDDTaskBoardColumn } from '@nldd/design-system/task-board-column';
125
126
  import type { NLDDText } from '@nldd/design-system/text';
126
127
  import type { NLDDTextCell } from '@nldd/design-system/text-cell';
127
128
  import type { NLDDTextEditor } from '@nldd/design-system/text-editor';
@@ -312,6 +313,18 @@ declare module 'vue' {
312
313
  type NLDDBlockquoteProps = {
313
314
  /** URL of the source (forwarded to the <blockquote> element) */
314
315
  'cite'?: NLDDBlockquote['cite'];
316
+ /** A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. A quote in running text keeps its own size. Set per breakpoint on purpose: a breakpoint without one keeps the quote's own size, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the quote's own size at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to the quote's own size */
317
+ 'sm-custom-size'?: NLDDBlockquote['smCustomSize'];
318
+ /** A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. A quote in running text keeps its own size. Set per breakpoint on purpose: a breakpoint without one keeps the quote's own size, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the quote's own size at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to the quote's own size */
319
+ 'smCustomSize'?: NLDDBlockquote['smCustomSize'];
320
+ /** The same, at md */
321
+ 'md-custom-size'?: NLDDBlockquote['mdCustomSize'];
322
+ /** The same, at md */
323
+ 'mdCustomSize'?: NLDDBlockquote['mdCustomSize'];
324
+ /** The same, at lg */
325
+ 'lg-custom-size'?: NLDDBlockquote['lgCustomSize'];
326
+ /** The same, at lg */
327
+ 'lgCustomSize'?: NLDDBlockquote['lgCustomSize'];
315
328
  };
316
329
 
317
330
  type NLDDBoxProps = {
@@ -683,6 +696,40 @@ declare module 'vue' {
683
696
  'onLoadMore'?: (event: CustomEvent) => void;
684
697
  };
685
698
 
699
+ type NLDDColumnBoardProps = {
700
+ /** Accessible name of the board (default: "Bord") */
701
+ 'accessible-label'?: NLDDColumnBoard['accessibleLabel'];
702
+ /** Accessible name of the board (default: "Bord") */
703
+ 'accessibleLabel'?: NLDDColumnBoard['accessibleLabel'];
704
+ /** 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%`) */
705
+ 'height'?: NLDDColumnBoard['height'];
706
+ /** Items cannot be dragged or moved with the keyboard; they still work, and `moveItem()` still moves */
707
+ 'readonly'?: NLDDColumnBoard['readonly'];
708
+ /** Override translation keys; unset keys fall back to Dutch */
709
+ 'translations'?: NLDDColumnBoard['translations'];
710
+ /** The columns, in order. */
711
+ 'columns'?: NLDDColumnBoard['columns'];
712
+ /** An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one) */
713
+ 'onNlddMove'?: (event: CustomEvent) => void;
714
+ /** An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }` */
715
+ 'onNlddMoveDenied'?: (event: CustomEvent) => void;
716
+ };
717
+
718
+ type NLDDColumnBoardColumnProps = {
719
+ /** The column's name, shown in the header and used as its accessible name */
720
+ 'text'?: NLDDColumnBoardColumn['text'];
721
+ /** Accessible name in place of `text`, for a column whose header comes from the slot */
722
+ 'accessible-label'?: NLDDColumnBoardColumn['accessibleLabel'];
723
+ /** Accessible name in place of `text`, for a column whose header comes from the slot */
724
+ 'accessibleLabel'?: NLDDColumnBoardColumn['accessibleLabel'];
725
+ /** What the column stands for in your data, such as a status; `nldd-move` reports it as `fromColumn` and `toColumn` */
726
+ 'value'?: NLDDColumnBoardColumn['value'];
727
+ /** The column's name: what a screen reader hears for it. */
728
+ 'label'?: NLDDColumnBoardColumn['label'];
729
+ /** The column's items, in order; a hidden one does not count. */
730
+ 'items'?: NLDDColumnBoardColumn['items'];
731
+ };
732
+
686
733
  type NLDDComboBoxProps = {
687
734
  /** The selected form value */
688
735
  'value'?: NLDDComboBox['value'];
@@ -2233,6 +2280,56 @@ declare module 'vue' {
2233
2280
  'lgPaddingBottom'?: NLDDOneThirdTwoThirdsSection['lgPaddingBottom'];
2234
2281
  };
2235
2282
 
2283
+ type NLDDOneTimeCodeFieldProps = {
2284
+ /** 'sm' | 'md' (default) | 'lg'. 'lg' has boxes of 56px with larger characters, for a page where the code is the only thing to do, such as signing in. */
2285
+ 'size'?: NLDDOneTimeCodeField['size'];
2286
+ /** How many characters the code has (default: 6). */
2287
+ 'length'?: NLDDOneTimeCodeField['length'];
2288
+ /** The shape of a code that is printed in groups, such as '###-###' or '#### ####': each `#` is a box, anything else a separator you see but a screen reader does not hear. The number of `#` is then the length, so `format` wins over `length`. The value never holds a separator: '123-234' is submitted as '123234'. Leave it out for a code without groups, as most codes from a text message are. */
2289
+ 'format'?: NLDDOneTimeCodeField['format'];
2290
+ /** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
2291
+ 'accessible-label'?: NLDDOneTimeCodeField['accessibleLabel'];
2292
+ /** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
2293
+ 'accessibleLabel'?: NLDDOneTimeCodeField['accessibleLabel'];
2294
+ /** Marks the field as invalid */
2295
+ 'invalid'?: NLDDOneTimeCodeField['invalid'];
2296
+ /** Readonly state */
2297
+ 'readonly'?: NLDDOneTimeCodeField['readonly'];
2298
+ /** Disabled state */
2299
+ 'disabled'?: NLDDOneTimeCodeField['disabled'];
2300
+ /** Sets the id on the native input. Set automatically by nldd-form-field. */
2301
+ 'input-id'?: NLDDOneTimeCodeField['inputId'];
2302
+ /** Sets the id on the native input. Set automatically by nldd-form-field. */
2303
+ 'inputId'?: NLDDOneTimeCodeField['inputId'];
2304
+ /** Input name for form submission */
2305
+ 'name'?: NLDDOneTimeCodeField['name'];
2306
+ /** The code */
2307
+ 'value'?: NLDDOneTimeCodeField['value'];
2308
+ /** What the code holds: 'numeric' (default, digits only, raises the number keyboard) | 'alphanumeric' (letters and digits) */
2309
+ 'type'?: NLDDOneTimeCodeField['type'];
2310
+ /** Turns letters into capitals as they are typed or pasted, in the boxes and in the value. Only with `type="alphanumeric"`, and only for a code where case does not matter, as with most activation codes. Leave it off for a code that tells "a" from "A", such as some recovery codes: a value turned into capitals would no longer match. */
2311
+ 'uppercase'?: NLDDOneTimeCodeField['uppercase'];
2312
+ /** Required state. A code that is not complete counts as invalid too. */
2313
+ 'required'?: NLDDOneTimeCodeField['required'];
2314
+ /** The format as boxes and the separators between them, or null without a usable format. */
2315
+ 'formatParts'?: NLDDOneTimeCodeField['formatParts'];
2316
+ /** The length: the boxes in the format, or else `length` as a whole number of at least one. */
2317
+ 'boxes'?: NLDDOneTimeCodeField['boxes'];
2318
+ /** The `pattern` the native input checks: exactly `boxes` characters of the type. */
2319
+ 'pattern'?: NLDDOneTimeCodeField['pattern'];
2320
+ /** The box with the focus ring, or -1 while the field has no focus. A readonly field gets the ring too, since the boxes are its only focus indicator, but no caret. */
2321
+ 'activeBox'?: NLDDOneTimeCodeField['activeBox'];
2322
+ /** Set by nldd-form-field. A consumer never writes this. */
2323
+ 'describedByElements'?: NLDDOneTimeCodeField['describedByElements'];
2324
+ 'internals'?: NLDDOneTimeCodeField['internals'];
2325
+ /** When the code changes; detail: { value: string } */
2326
+ 'onInput'?: (event: CustomEvent) => void;
2327
+ /** When the code is committed; detail: { value: string } */
2328
+ 'onChange'?: (event: CustomEvent) => void;
2329
+ /** When every box is filled; detail: { value: string } */
2330
+ 'onNlddComplete'?: (event: CustomEvent) => void;
2331
+ };
2332
+
2236
2333
  type NLDDPageProps = {
2237
2334
  /** Use a gray background instead of white */
2238
2335
  'background'?: NLDDPage['background'];
@@ -2582,10 +2679,10 @@ declare module 'vue' {
2582
2679
  'accessible-label'?: NLDDSearchField['accessibleLabel'];
2583
2680
  /** Accessible name (aria-label) of the native input. Falls back to `placeholder`, and keeps it when a value is typed. That works while the placeholder names the field ('Zoek een gebruiker'); set this when the placeholder is an example instead ('bijv. Jansen'). Without a visible label the placeholder is the only text on screen, so a name of your own starts with it: someone who works the computer by voice says what they see, and a name that leaves it out does not answer (WCAG 2.5.3). */
2584
2681
  'accessibleLabel'?: NLDDSearchField['accessibleLabel'];
2585
- /** When set, shows a search button on the right */
2586
- 'show-search-button'?: NLDDSearchField['showSearchButton'];
2587
- /** When set, shows a search button on the right */
2588
- 'showSearchButton'?: NLDDSearchField['showSearchButton'];
2682
+ /** Shows a search button on the right, in the appearance you name: 'neutral-tinted' (also with no value) | 'accent-filled'. Leave it out for no button: Enter searches as well. 'accent-filled' is for a page where searching is the main task, such as a search page; in a header or above a list the quiet one fits. */
2683
+ 'search-button'?: NLDDSearchField['searchButton'];
2684
+ /** Shows a search button on the right, in the appearance you name: 'neutral-tinted' (also with no value) | 'accent-filled'. Leave it out for no button: Enter searches as well. 'accent-filled' is for a page where searching is the main task, such as a search page; in a header or above a list the quiet one fits. */
2685
+ 'searchButton'?: NLDDSearchField['searchButton'];
2589
2686
  /** Keyboard shortcut hint shown at the right end of the empty field, e.g. 'Cmd+K' or '/'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up focusing the field in your app. Hidden while the field has focus or a value, and on touch-only devices. Joins the field's description for screen readers. */
2590
2687
  'shortcut'?: NLDDSearchField['shortcut'];
2591
2688
  /** Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`). */
@@ -3333,43 +3430,21 @@ declare module 'vue' {
3333
3430
  'accessibleLabel'?: NLDDTag['accessibleLabel'];
3334
3431
  };
3335
3432
 
3336
- type NLDDTaskBoardProps = {
3337
- /** Accessible name of the board (default: "Takenbord") */
3338
- 'accessible-label'?: NLDDTaskBoard['accessibleLabel'];
3339
- /** Accessible name of the board (default: "Takenbord") */
3340
- 'accessibleLabel'?: NLDDTaskBoard['accessibleLabel'];
3341
- /** 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%`) */
3342
- 'height'?: NLDDTaskBoard['height'];
3343
- /** Items cannot be dragged or moved with the keyboard; they still work, and `moveItem()` still moves */
3344
- 'readonly'?: NLDDTaskBoard['readonly'];
3345
- /** Override translation keys; unset keys fall back to Dutch */
3346
- 'translations'?: NLDDTaskBoard['translations'];
3347
- /** The columns, in order. */
3348
- 'columns'?: NLDDTaskBoard['columns'];
3349
- /** An item moves: `{ item, fromColumn, fromIndex, toColumn, toIndex }`, where a column is its `value` (or its `text` without one) */
3350
- 'onNlddMove'?: (event: CustomEvent) => void;
3351
- /** An item a `readonly` board does not move was dragged or moved with the keyboard: `{ item }` */
3352
- 'onNlddMoveDenied'?: (event: CustomEvent) => void;
3353
- };
3354
-
3355
- type NLDDTaskBoardColumnProps = {
3356
- /** The column's name, shown in the header and used as its accessible name */
3357
- 'text'?: NLDDTaskBoardColumn['text'];
3358
- /** Accessible name in place of `text`, for a column whose header comes from the slot */
3359
- 'accessible-label'?: NLDDTaskBoardColumn['accessibleLabel'];
3360
- /** Accessible name in place of `text`, for a column whose header comes from the slot */
3361
- 'accessibleLabel'?: NLDDTaskBoardColumn['accessibleLabel'];
3362
- /** What the column stands for in your data, such as a status; `nldd-move` reports it as `fromColumn` and `toColumn` */
3363
- 'value'?: NLDDTaskBoardColumn['value'];
3364
- /** The column's name: what a screen reader hears for it. */
3365
- 'label'?: NLDDTaskBoardColumn['label'];
3366
- /** The column's items, in order; a hidden one does not count. */
3367
- 'items'?: NLDDTaskBoardColumn['items'];
3368
- };
3369
-
3370
3433
  type NLDDTextProps = {
3371
- /** Text size on the body scale: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' (default: 'md') */
3434
+ /** Text size: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' on the body scale (default: 'md'), or 'display-6' to 'display-1' for large letters that are not a heading, from small to large */
3372
3435
  'size'?: NLDDText['size'];
3436
+ /** A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the text without its size, the floor included. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so text made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size` */
3437
+ 'sm-custom-size'?: NLDDText['smCustomSize'];
3438
+ /** A size of your own at sm, any CSS length (e.g. '56px', '3.5rem', 'clamp(3rem, 8vw, 7rem)'), for a statement larger than `display-1`. A var() works when the variable holds a length; one that is not defined leaves the text without its size, the floor included. Set per breakpoint on purpose: a breakpoint without one keeps the size from `size`, so text made large for a wide screen never breaks a narrow one. Never smaller than `display-1` at the same breakpoint: a smaller value shows as `display-1`, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Takes the weight, typeface and line height of `display-1`. An invalid value falls back to `size` */
3439
+ 'smCustomSize'?: NLDDText['smCustomSize'];
3440
+ /** The same, at md */
3441
+ 'md-custom-size'?: NLDDText['mdCustomSize'];
3442
+ /** The same, at md */
3443
+ 'mdCustomSize'?: NLDDText['mdCustomSize'];
3444
+ /** The same, at lg */
3445
+ 'lg-custom-size'?: NLDDText['lgCustomSize'];
3446
+ /** The same, at lg */
3447
+ 'lgCustomSize'?: NLDDText['lgCustomSize'];
3373
3448
  /** Font weight: 'regular' | 'medium' | 'bold' (default: 'regular'). With 'bold' a slotted `<strong>` no longer stands out: there is nothing bolder in the scale. */
3374
3449
  'weight'?: NLDDText['weight'];
3375
3450
  /** Line height: 'flat' | 'tight' | 'snug' | 'loose' (default: 'snug') */
@@ -3550,6 +3625,8 @@ declare module 'vue' {
3550
3625
  'minlength'?: NLDDTextField['minlength'];
3551
3626
  /** Most characters the value may have. */
3552
3627
  'maxlength'?: NLDDTextField['maxlength'];
3628
+ /** The size a slotted button gets: one step below the field, so it fits inside the border. */
3629
+ 'buttonSize'?: NLDDTextField['buttonSize'];
3553
3630
  /** Set by nldd-form-field. A consumer never writes this. */
3554
3631
  'describedByElements'?: NLDDTextField['describedByElements'];
3555
3632
  'internals'?: NLDDTextField['internals'];
@@ -3665,9 +3742,9 @@ declare module 'vue' {
3665
3742
  'supportingText'?: NLDDTitle['supportingText'];
3666
3743
  /** Text above the title. Content in the overline slot takes its place. */
3667
3744
  'overline'?: NLDDTitle['overline'];
3668
- /** Renders text as h1–h6; absent renders a p, for a title that is not a heading. */
3745
+ /** Renders text as h1–h6. Absent renders a p, which is no heading: for large letters that are not a heading, use nldd-text with a display size. */
3669
3746
  'heading-level'?: NLDDTitle['headingLevel'];
3670
- /** Renders text as h1–h6; absent renders a p, for a title that is not a heading. */
3747
+ /** Renders text as h1–h6. Absent renders a p, which is no heading: for large letters that are not a heading, use nldd-text with a display size. */
3671
3748
  'headingLevel'?: NLDDTitle['headingLevel'];
3672
3749
  };
3673
3750
 
@@ -4233,6 +4310,10 @@ declare module 'vue' {
4233
4310
  'nldd-code-viewer': DefineComponent<NLDDCodeViewerProps>;
4234
4311
  /** A container for displaying collections of items. Supports grid, stack, lanes and horizontal scroll layouts. Use it for a set of equal blocks, usually `nldd-card`s, instead of a CSS grid of your own: the collection sets the columns from `item-min-width` and the available width, and the gap per breakpoint. A grid keeps as many columns as fit, also when there are fewer items, so a page of results lines up with the next. For a fixed set of a few cards without paging, such as three points on a landing page, use `nldd-container layout="grid"` instead: its empty columns collapse, so the cards fill the row. In grid and stack modes, items are paginated via a load-more button. In horizontal scroll, the prev/next controls and the edge fade appear only when the items overflow the container. Use horizontal scroll for items that together serve one purpose, such as the events of one agenda; it is not a carousel for unrelated highlights, which the design guidelines advise against. With `lazy-load`, the next items are automatically loaded when the load-more button comes into view. */
4235
4312
  'nldd-collection': DefineComponent<NLDDCollectionProps>;
4313
+ /** Columns side by side, with items you move between them: a kanban board, or any board where an item's column is one of its values, such as a status or a team. Put `nldd-column-board-column`s in it, and the items in those, usually an `nldd-card` each. The board scrolls sideways once its columns do not fit, and a column scrolls on its own once its items do not fit the height you give the board. An item moves in three ways, and all three fire the same `nldd-move`: - **Dragging.** Pick up the whole item and drop it in a column. A press that does not move is still a click, so an item that is a link or a button keeps working. Released outside the board, the item goes back to its place, which a note above it says once it stays out a moment. On a touch screen you hold the item a moment before it lifts, so a swipe still scrolls. - **Keyboard.** With focus on an item, or on something inside it, Alt with the up or down arrow moves it within its column, and Alt with the left or right arrow to the column beside it. - **`moveItem()`.** WCAG 2.5.7 asks for a way that does not drag. Give each item a menu "Verplaatsen naar" with the other columns (`columns` lists them) and call `moveItem()` from it. The menu is yours; the board only moves. With `readonly` nothing moves: no dragging and no Alt with the arrows, while the items still work, so a card still opens. Use it for someone who may only look, or a board that is closed. `moveItem()` still moves, so your app can still show a move someone else made. An attempt to move an item, dragging it past a click or Alt with an arrow, shows "Dit bord is alleen-lezen" at the item, says it to a screen reader and fires `nldd-move-denied`, so your app can say why in an `nldd-notification`. Say it above the board too: only your app knows the reason, and then nobody has to try. The board moves nothing itself. `nldd-move` says which item goes where, and your app moves it in its data, or in the DOM, in the handler: the app owns the order, so a framework that renders the columns never fights the board over them. `toIndex` is the place the item takes in `toColumn`, counted without the item itself, so `splice(fromIndex, 1)` on the one list and `splice(toIndex, 0, item)` on the other is the whole move. Move it synchronously in the handler: the board puts focus back on the item right after, and a screen reader hears where it landed. */
4314
+ 'nldd-column-board': DefineComponent<NLDDColumnBoardProps>;
4315
+ /** One column of an `nldd-column-board`: a header and the items under it. The items are whatever you put in the column, usually an `nldd-card` each; the board moves them between columns. Without a `header` slot the column shows its `text` and the number of items. With one, the header is yours: an `nldd-title`, a button to add an item, a badge. `text` stays the column's name either way: it is what a screen reader hears when an item moves here ("Verplaatst naar In behandeling"), so set it, or `accessible-label`, also when the header comes from the slot. The column scrolls on its own once its items do not fit the height of the board, and fades at the top or the bottom while there is more to scroll to. */
4316
+ 'nldd-column-board-column': DefineComponent<NLDDColumnBoardColumnProps>;
4236
4317
  /** A text input with autocomplete dropdown via nldd-menu. Add a slotted nldd-menu with nldd-menu-item children to provide options. After typing, a screen reader hears how many options are shown ("2 resultaten"), or the empty text when none are, also for options that a server sends in later. Only the number it lands on: it waits until the options settle. The slotted nldd-menu keeps its default focus behavior (menu container receives focus) so that typing keeps focus on the input. The picker button moves focus to the menu explicitly on activation. Note: Only nldd-menu-item type="button" is supported. Radio and checkbox types are not supported in this context. */
4237
4318
  'nldd-combo-box': DefineComponent<NLDDComboBoxProps>;
4238
4319
  /** A simple layout primitive: pick a layout mode, give it a gap, optionally align contents, and add padding. Padding can be set for all sides, per axis (inline/block), or per individual side. Specificity: per side > per axis > all sides. The container owns the space around and between its children; use `nldd-spacer` only for a one-off gap between two different things. A block that is placed in more than one context gets no padding of its own: whoever places it wraps it in a container, so the inset is not counted twice. Responsive padding and gap have sm/md/lg variants. Each variant emits both an @media (viewport) and @container (layout-container) query. When inside a layout-container the @container query wins; otherwise the @media query provides the viewport-based fallback. Layout modes: - `stack` (default): block items, stacked vertically. The "what you expect from DOM flow" mode. - `row`: flex row, no wrapping. Items shrink or overflow. - `wrap`: flex row, items wrap to new lines. - `grid`: CSS grid, auto-fit columns at min 280px wide. - `columns`: CSS multi-column flow, 280px minimum column width, items don't split across column breaks. Alignment maps to the layout's natural axis: - `stack`: vertical = main-axis (justify-content), horizontal = cross-axis (align-items) - `row` / `wrap`: horizontal = main-axis, vertical = cross-axis - `grid`: horizontal = justify-items, vertical = align-items (per cell) - `columns`: alignment props have no effect (CSS multicol doesn't expose alignment) Item order is set per-child via attributes on the slotted children themselves: `<child order="3">` for a fixed position, or `<child sm-order="N">` / `<child md-order="N">` / `<child lg-order="N">` to override per breakpoint (resolved against THIS container's width via @container queries, same scope as the responsive padding/gap). The container observes slot changes and child attribute mutations and bridges these to `--_container-slot-order` / `--_container-slot-sm-order` / etc. custom properties on each child's inline style, which the container's CSS then reads via `::slotted(*)` inside @container queries. Cascade: `sm-order` falls back to `order` falls back to `0` at sm (and analogously for md/lg). No-op for `layout="columns"` (CSS multicol has no per-item ordering hook). The `column-count` attribute (1-8) forces an exact column count for `layout="grid"` (overrides auto-fit) and `layout="columns"` (overrides the natural width-driven count). `sm-column-count` / `md-column-count` / `lg-column-count` resolve against this container's OWN width via an `@container (...)` query on the host — not against the viewport. That lets a footer in a narrow sidebar choose its own column count independent of the surrounding page width. `layout="lanes"` packs items into balanced columns using native CSS grid lanes where supported, falling back to CSS multicol (column-order) elsewhere. CSS-only, no JS. Honours `gap` on both axes and `column-count`. Note that nldd-collection's lanes falls back to its own grid rather than to multicol: that component pages, and multicol redistributes the whole set every time load-more adds to it. */
@@ -4317,6 +4398,8 @@ declare module 'vue' {
4317
4398
  'nldd-one-half-one-half-section': DefineComponent<NLDDOneHalfOneHalfSectionProps>;
4318
4399
  /** A section with a 1/3 sidebar on the left and 2/3 main content on the right. The columns wrap automatically when they become smaller than 280px. Padding and gap adjust via container queries. */
4319
4400
  'nldd-one-third-two-thirds-section': DefineComponent<NLDDOneThirdTwoThirdsSectionProps>;
4401
+ /** A field for a code someone receives once and types over: by text message, by email, from an authenticator app or on a letter. It shows a box per character, but it is one native input underneath, so pasting the whole code, the code a phone offers from a text message (`autocomplete="one-time-code"`), a screen reader and voice control all work as on any other field. The characters are monospace, so 0 and O, or 1, l and I, read apart. Typing fills the boxes from the left. The arrow keys, Home, End and a click move the caret from box to box. In a filled box it stands after the character: Backspace empties that box, without moving the rest up, so you type the right one straight in. A pasted code drops whatever is not part of one, so "123 456" or "123-456" becomes "123456", and a whole code replaces what was there. From a pasted sentence, such as a text message, the field takes the last word that is as long as the code, so "Your code is 123456" fills in "123456". Once every box is full the field fires `nldd-complete`, and again after a correction that leaves it full. Submitting then is up to your app: send the form, or wait for a button, but never both, or a correction submits twice. Not for a PIN or a password, which must not be readable on screen: use `nldd-password-field`. Put the field in an `nldd-form-field`, whose label says where the code comes from ("Code uit de sms"). */
4402
+ 'nldd-one-time-code-field': DefineComponent<NLDDOneTimeCodeFieldProps>;
4320
4403
  /** A page layout with optional sticky header and footer. Without sticky-header, the host is the scroll container and the header is in normal flow. With sticky-header, the header becomes absolute and .page__scroll takes over scrolling, padded by the measured header height. That padding freezes once you scroll, so a collapsing bar cannot drag the content up under the cursor. In root-scroll mode (--context-scroll-mode: root, derived upstream by nldd-shell) the page stops owning a scroller: the document scrolls and the sticky header/footer stick against the document, offset by --context-inset-top/bottom. The mode is read on connect/resize and reflected to [data-scroll] so the CSS can branch. The page passes those insets on to its own content, with its sticky header and footer added: anything sticky inside (an nldd-sidebar-section, a sticky table head) reads --context-inset-top / --context-inset-bottom and clears every bar above and below it without being told a number. The heights are measured, because a top title bar shrinks as you scroll past its anchor. While the page owns the scroller, only its own bars count: the chrome above the page sits outside that scroller and does not push sticky content down. A page carries the landmarks of a document: its header is the banner, its content the main landmark, its footer the contentinfo. A document has one of each, so a page that sits beside another one cannot have them. Such a page renders a section and a plain div instead, which drops all three at once: a header inside sectioning content is no longer a banner. With `accessible-label` that section is a named region, so there is still one landmark to jump to; without a name it is no landmark at all, which beats an unnamed one. `landmarks` says which of the two a page is, and `auto` (the default) reads it off where the page sits: - in an overlay (nldd-sheet, nldd-modal-dialog, nldd-window, nldd-popover) a region, because the overlay is not the document; - in a pane of nldd-navigation-split-view, nldd-side-by-side-split-view or nldd-stacked-split-view a region, because those place pages beside each other; - anywhere else the page, including the `main` slot of an nldd-bar-split-view, which stacks bars around a single content area. So an app shell has no main until you say which pane holds the primary content, with `landmarks="page"` on that one page. Only the application knows which pane that is. Two pages that both render a main is invalid HTML, and the page says so in development. */
4321
4404
  'nldd-page': DefineComponent<NLDDPageProps>;
4322
4405
  /** The footer band at the bottom of a page. Hosts three optional rows in a fixed order: breadcrumbs (top), consumer-defined main content (middle), and a legal-bar (bottom). Dividers are drawn automatically between non-empty rows. Establishes its own container query (`page-footer-container`) so the responsive padding and gap react to the footer's own width, not the viewport. The host has `id="page-footer"` so a skip-link can target it directly. Use the sub-components `nldd-page-footer-legal-bar` and `nldd-page-footer-legal-bar-item` for the bottom row. */
@@ -4376,9 +4459,9 @@ declare module 'vue' {
4376
4459
  'nldd-split-view-pane': DefineComponent<NLDDSplitViewPaneProps>;
4377
4460
  /** A vertical split view with multiple stacked panes. The number of panes is set via the `panes` attribute. Each pane automatically gets a numbered slot: pane-1, pane-2, etc. Panes that do not fit the available height are automatically hidden. */
4378
4461
  'nldd-stacked-split-view': DefineComponent<NLDDStackedSplitViewProps>;
4379
- /** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. Below a top bar it says so in development. role and aria-live are set automatically from the variant: - critical → role="alert" (implies aria-live="assertive"; interrupts the screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role="alert" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example). */
4462
+ /** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. Below a top bar it says so in development. At the top of the page, in Safari, its color carries on above the page when the page is pulled down, and the ribbon of an nldd-top-navigation-bar below it then starts under the bar, as it does at rest. role and aria-live are set automatically from the variant: - critical → role="alert" (implies aria-live="assertive"; interrupts the screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role="alert" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example). */
4380
4463
  'nldd-status-bar': DefineComponent<NLDDStatusBarProps>;
4381
- /** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, step 1 is current. With more than one, the last one wins and a warning goes to the console in a dev build: a flow that forgets to clear the previous step still points at the furthest one. A `status="past"` or `status="future"` on another step overrides what is derived for that step, for flows that jump back or skip a step. One attribute, the same three values as `nldd-step-cell`, so a flow reads in one vocabulary whether it runs across or down. Horizontal only. For steps under each other, build an `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. Below the sm breakpoint (a container query, so measured on the component itself rather than on the viewport) it folds into one line of text plus a segmented bar. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. A step that is a link or a button is out of the tab order then: Tab would land on something you cannot see (WCAG 2.4.7). Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
4464
+ /** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, step 1 is current. With more than one, the last one wins and a warning goes to the console in a dev build: a flow that forgets to clear the previous step still points at the furthest one. A `status="past"` or `status="future"` on another step overrides what is derived for that step, for flows that jump back or skip a step. One attribute, the same three values as `nldd-step-cell`, so a flow reads in one vocabulary whether it runs across or down. Horizontal only, for 3 to 5 steps and 7 at most: each step needs room for its label, and with more of them you count instead of seeing at a glance how far you are. For more steps, or steps under each other, build an `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. When the bar is no wider than the sm breakpoint, or than 120px per step, whichever is wider (a container query, so measured on the component itself rather than on the viewport), it folds into one line of text plus a segmented bar. A label that is too long for its step breaks at a syllable. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. A step that is a link or a button is out of the tab order then: Tab would land on something you cannot see (WCAG 2.4.7). Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
4382
4465
  'nldd-step-bar': DefineComponent<NLDDStepBarProps>;
4383
4466
  /** One step in an `nldd-step-bar`. `status="current"` marks the step you are on; the parent derives the status of the others and the number of each, which live here as internal state rather than as public API. `past` and `future` override what is derived for this step. */
4384
4467
  'nldd-step-bar-item': DefineComponent<NLDDStepBarItemProps>;
@@ -4401,11 +4484,7 @@ declare module 'vue' {
4401
4484
  'nldd-table-row': DefineComponent<NLDDTableRowProps>;
4402
4485
  /** A compact property that has been assigned to something: a category, a type, a role, a certification. What it says changes only when someone edits the content. A tag is not interactive. Do not use it for a state the system keeps itself, such as "Active" or "Expired", because that is `nldd-badge`. If the user can remove the thing or click it, it is `nldd-token`. */
4403
4486
  'nldd-tag': DefineComponent<NLDDTagProps>;
4404
- /** Columns side by side, with items you move between them: a kanban board, or any board where an item's column is one of its values, such as a status or a team. Put `nldd-task-board-column`s in it, and the items in those, usually an `nldd-card` each. The board scrolls sideways once its columns do not fit, and a column scrolls on its own once its items do not fit the height you give the board. An item moves in three ways, and all three fire the same `nldd-move`: - **Dragging.** Pick up the whole item and drop it in a column. A press that does not move is still a click, so an item that is a link or a button keeps working. Released outside the board, the item goes back to its place, which a note above it says once it stays out a moment. On a touch screen you hold the item a moment before it lifts, so a swipe still scrolls. - **Keyboard.** With focus on an item, or on something inside it, Alt with the up or down arrow moves it within its column, and Alt with the left or right arrow to the column beside it. - **`moveItem()`.** WCAG 2.5.7 asks for a way that does not drag. Give each item a menu "Verplaatsen naar" with the other columns (`columns` lists them) and call `moveItem()` from it. The menu is yours; the board only moves. With `readonly` nothing moves: no dragging and no Alt with the arrows, while the items still work, so a card still opens. Use it for someone who may only look, or a board that is closed. `moveItem()` still moves, so your app can still show a move someone else made. An attempt to move an item, dragging it past a click or Alt with an arrow, shows "Dit bord is alleen-lezen" at the item, says it to a screen reader and fires `nldd-move-denied`, so your app can say why in an `nldd-notification`. Say it above the board too: only your app knows the reason, and then nobody has to try. The board moves nothing itself. `nldd-move` says which item goes where, and your app moves it in its data, or in the DOM, in the handler: the app owns the order, so a framework that renders the columns never fights the board over them. `toIndex` is the place the item takes in `toColumn`, counted without the item itself, so `splice(fromIndex, 1)` on the one list and `splice(toIndex, 0, item)` on the other is the whole move. Move it synchronously in the handler: the board puts focus back on the item right after, and a screen reader hears where it landed. */
4405
- 'nldd-task-board': DefineComponent<NLDDTaskBoardProps>;
4406
- /** One column of an `nldd-task-board`: a header and the items under it. The items are whatever you put in the column, usually an `nldd-card` each; the board moves them between columns. Without a `header` slot the column shows its `text` and the number of items. With one, the header is yours: an `nldd-title`, a button to add an item, a badge. `text` stays the column's name either way: it is what a screen reader hears when an item moves here ("Verplaatst naar In behandeling"), so set it, or `accessible-label`, also when the header comes from the slot. The column scrolls on its own once its items do not fit the height of the board, and fades at the top or the bottom while there is more to scroll to. */
4407
- 'nldd-task-board-column': DefineComponent<NLDDTaskBoardColumnProps>;
4408
- /** One run of body text at a size from the type scale. It is what you reach for where an app would otherwise write a bare `<p>` and inherit whatever the page happens to set: a line under a title, a sentence in a panel, a caption. Every combination it offers exists as a token, so it cannot invent typography — it only names what the scale already has. The three axes are the same three the tokens carry: size, weight and line height. Not for headings, which is `nldd-title`, and not for a block of prose with its own rhythm, spacing and media widths, which is `nldd-rich-text`. This is one run of text and nothing around it. Color follows the context channel a list item, menu or table sets on its content, so text inside a row travels with that row as it is hovered or selected. Standalone that channel is unset and the semantic color answers. A line stops at `--semantics-text-max-width`, 40em, so it holds the same number of characters at every size and a wide column does not turn one sentence into a ruler. Override that variable, or `max-width` on the element, where a line is meant to run the full width: a label in a table cell, a value beside its own heading. */
4487
+ /** One run of body text at a size from the type scale. It is what you reach for where an app would otherwise write a bare `<p>` and inherit whatever the page happens to set: a line under a title, a sentence in a panel, a caption. Every combination it offers exists as a token, so it cannot invent typography — it only names what the scale already has. The three axes are the same three the tokens carry: size, weight and line height. Not for headings, which is `nldd-title`, and not for a block of prose with its own rhythm, spacing and media widths, which is `nldd-rich-text`. This is one run of text and nothing around it. For large letters that are not a heading, such as a number or a statement on a landing page, take a display size: `display-6` to `display-1` are the sizes of `nldd-title`, with its weight, typeface and line height, and they follow the breakpoint as a title does. `weight` and `line-height` belong to the body sizes and do nothing at a display size. For a statement larger than `display-1`, give each breakpoint a size of its own with `sm-custom-size`, `md-custom-size` and `lg-custom-size`. Color follows the context channel a list item, menu or table sets on its content, so text inside a row travels with that row as it is hovered or selected. Standalone that channel is unset and the semantic color answers. A line stops at `--semantics-text-max-width`, 40em, so it holds the same number of characters at every size and a wide column does not turn one sentence into a ruler. Override that variable, or `max-width` on the element, where a line is meant to run the full width: a label in a table cell, a value beside its own heading. */
4409
4488
  'nldd-text': DefineComponent<NLDDTextProps>;
4410
4489
  /** A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, main text, supporting text) accepts either a string attribute or slotted DOM content. The slot is the source of truth: if the consumer provides slotted content, it replaces the attribute-based render for that region. Use slots when you need inline elements like `<nldd-tag>`, `<a>` or `<nldd-icon>` mixed with text. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path — slotted content is rendered as-is. */
4411
4490
  'nldd-text-cell': DefineComponent<NLDDTextCellProps>;
@@ -0,0 +1,19 @@
1
+ export type Breakpoint = 'sm' | 'md' | 'lg';
2
+ export declare const BREAKPOINTS: readonly Breakpoint[];
3
+ /** The font size of display size 1 per breakpoint: the floor of a custom size on nldd-title and nldd-text. */
4
+ export declare const DISPLAY_1_FONT_SIZE: Record<Breakpoint, string>;
5
+ /** A length font-size takes. A keyword cannot go inside the max() that keeps the floor, so it would void the whole font. */
6
+ export declare function isFontSize(value: string): boolean;
7
+ /**
8
+ * Writes the valid custom sizes onto the host and returns them. A breakpoint
9
+ * without a valid value keeps the size from the scale. Sets the
10
+ * `invalid-custom-size` state when a value is given that is not a length.
11
+ * Call it from willUpdate(), so the first paint already has the size.
12
+ */
13
+ export declare function applyCustomFontSizes(host: HTMLElement, prefix: string, own: Record<Breakpoint, string>): Partial<Record<Breakpoint, string>>;
14
+ /**
15
+ * DEV-only: sets the `custom-size-below-floor` state when a fixed custom size
16
+ * is smaller than the floor at its breakpoint, which then shows instead.
17
+ */
18
+ export declare function checkCustomFontSizeFloor(host: HTMLElement, sizes: Partial<Record<Breakpoint, string>>, floors: Record<Breakpoint, string>): void;
19
+ //# sourceMappingURL=custom-font-size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-font-size.d.ts","sourceRoot":"","sources":["../../src/utilities/custom-font-size.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,eAAO,MAAM,WAAW,EAAE,SAAS,UAAU,EAAuB,CAAC;AAErE,8GAA8G;AAC9G,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAI1D,CAAC;AAUF,4HAA4H;AAC5H,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEjD;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CACnC,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,GAC7B,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAmBrC;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,EAC1C,MAAM,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,GAChC,IAAI,CA0BN"}
@@ -0,0 +1,90 @@
1
+ /**
2
+ * A font size of your own per breakpoint, for a component that otherwise takes
3
+ * its size from the scale (`sm-custom-size`, `md-custom-size`, `lg-custom-size`).
4
+ * The component writes each valid value into `--_{prefix}-{breakpoint}-custom-size`
5
+ * and marks the host with `data-{breakpoint}-custom-size`; its styles put the
6
+ * value inside a max() with its own size, so it never shows smaller.
7
+ */
8
+ import { setState } from './element-state.js';
9
+ export const BREAKPOINTS = ['sm', 'md', 'lg'];
10
+ /** The font size of display size 1 per breakpoint: the floor of a custom size on nldd-title and nldd-text. */
11
+ export const DISPLAY_1_FONT_SIZE = {
12
+ sm: 'var(--primitives-font-size-700)',
13
+ md: 'var(--primitives-font-size-800)',
14
+ lg: 'var(--primitives-font-size-1000)',
15
+ };
16
+ /** Font-size values that are not a length: the CSS-wide keywords and the
17
+ * absolute and relative size keywords. */
18
+ const NOT_A_LENGTH = new Set([
19
+ 'inherit', 'initial', 'unset', 'revert', 'revert-layer',
20
+ 'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large', 'xxx-large',
21
+ 'larger', 'smaller', 'math',
22
+ ]);
23
+ /** A length font-size takes. A keyword cannot go inside the max() that keeps the floor, so it would void the whole font. */
24
+ export function isFontSize(value) {
25
+ return !NOT_A_LENGTH.has(value.toLowerCase()) && CSS.supports('font-size', value);
26
+ }
27
+ /**
28
+ * Writes the valid custom sizes onto the host and returns them. A breakpoint
29
+ * without a valid value keeps the size from the scale. Sets the
30
+ * `invalid-custom-size` state when a value is given that is not a length.
31
+ * Call it from willUpdate(), so the first paint already has the size.
32
+ */
33
+ export function applyCustomFontSizes(host, prefix, own) {
34
+ const sizes = {};
35
+ // Nothing to measure or write when rendered without a DOM, as on a server.
36
+ if (typeof CSS === 'undefined')
37
+ return sizes;
38
+ let invalid = false;
39
+ for (const breakpoint of BREAKPOINTS) {
40
+ const value = (own[breakpoint] || '').trim();
41
+ const valid = value !== '' && isFontSize(value);
42
+ if (valid) {
43
+ sizes[breakpoint] = value;
44
+ host.style.setProperty(`--_${prefix}-${breakpoint}-custom-size`, value);
45
+ }
46
+ else {
47
+ host.style.removeProperty(`--_${prefix}-${breakpoint}-custom-size`);
48
+ }
49
+ host.toggleAttribute(`data-${breakpoint}-custom-size`, valid);
50
+ if (value !== '' && !valid)
51
+ invalid = true;
52
+ }
53
+ setState(host, 'invalid-custom-size', invalid);
54
+ return sizes;
55
+ }
56
+ /**
57
+ * DEV-only: sets the `custom-size-below-floor` state when a fixed custom size
58
+ * is smaller than the floor at its breakpoint, which then shows instead.
59
+ */
60
+ export function checkCustomFontSizeFloor(host, sizes, floors) {
61
+ if (!host.shadowRoot || Object.keys(sizes).length === 0) {
62
+ setState(host, 'custom-size-below-floor', false);
63
+ return;
64
+ }
65
+ const probe = document.createElement('span');
66
+ probe.style.position = 'absolute';
67
+ probe.style.visibility = 'hidden';
68
+ host.shadowRoot.append(probe);
69
+ const px = (value) => {
70
+ probe.style.fontSize = value;
71
+ return parseFloat(getComputedStyle(probe).fontSize);
72
+ };
73
+ let below = false;
74
+ try {
75
+ for (const [breakpoint, value] of Object.entries(sizes)) {
76
+ // A value relative to the viewport, a container or the surrounding
77
+ // text resolves to something else elsewhere, so it is left to the
78
+ // CSS floor rather than measured here.
79
+ if (/%|\d(?:v[whib]|vmin|vmax|cq[whib]|cqmin|cqmax|em|ex|ch|cap|ic|lh)\b/.test(value))
80
+ continue;
81
+ if (px(value) < px(floors[breakpoint]) - 0.5)
82
+ below = true;
83
+ }
84
+ }
85
+ finally {
86
+ probe.remove();
87
+ }
88
+ setState(host, 'custom-size-below-floor', below);
89
+ }
90
+ //# sourceMappingURL=custom-font-size.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-font-size.js","sourceRoot":"","sources":["../../src/utilities/custom-font-size.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,QAAQ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ACF,IAAI,KAAK,GAAG,KAAK,CAAC;IAClB,IAAI,CAAC;QACJ,KAAK,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAA2B,EAAE,CAAC;YACnF,mEAAmE;YACnE,kEAAkE;YAClE,uCAAuC;YACvC,IAAI,qEAAqE,CAAC,IAAI,CAAC,KAAK,CAAC;gBAAE,SAAS;YAChG,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,GAAG;gBAAE,KAAK,GAAG,IAAI,CAAC;QAC5D,CAAC;IACF,CAAC;YAAS,CAAC;QACV,KAAK,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IACD,QAAQ,CAAC,IAAI,EAAE,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC"}
@@ -36,5 +36,12 @@ export declare function findViolations(root: ParentNode, rules?: DevRule[]): {
36
36
  export declare function findRoots(root?: ParentNode): ParentNode[];
37
37
  /** A translation has no element to state a fact on, so this one reports itself. */
38
38
  export declare function checkTranslationKeys(keys: string[]): Promise<void>;
39
+ /**
40
+ * Whether a page that shows components lacks the FOUC guard. The guard is a
41
+ * stylesheet, which no element can state a fact about, so this reads the body.
42
+ */
43
+ export declare function lacksFoucGuard(root?: ParentNode | null): boolean;
44
+ /** Like a translation, the guard has no element to state a fact on, so this one reports itself. */
45
+ export declare function checkFoucGuard(): void;
39
46
  export declare function startDevChecks(): void;
40
47
  //# sourceMappingURL=dev-checks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dev-checks.d.ts","sourceRoot":"","sources":["../../src/utilities/dev-checks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,WAAW,OAAO;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAA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BAAgB,SAAS,CAAC,IAAI,GAAE,UAAqB,GAAG,UAAU,EAAE,CAMnE;AAcD,mFAAmF;AACnF,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAIxE;AAKD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,GAAE,UAAU,GAAG,IAAoB,GAAG,OAAO,CAO/E;AAED,mGAAmG;AACnG,wBAAgB,cAAc,IAAI,IAAI,CAIrC;AAID,wBAAgB,cAAc,IAAI,IAAI,CAoBrC"}
@@ -89,6 +89,28 @@ export async function checkTranslationKeys(keys) {
89
89
  if (unknown.length > 0)
90
90
  console.warn(`[nldd] setTranslations: no component knows ${unknown.join(', ')}.`);
91
91
  }
92
+ /** The keyframes of fouc.css, which only that stylesheet puts on the body. */
93
+ const FOUC_GUARD = 'nldd-fouc-reveal';
94
+ /**
95
+ * Whether a page that shows components lacks the FOUC guard. The guard is a
96
+ * stylesheet, which no element can state a fact about, so this reads the body.
97
+ */
98
+ export function lacksFoucGuard(root = document.body) {
99
+ const { body } = document;
100
+ if (!body || !root)
101
+ return false;
102
+ const hasComponents = [...root.querySelectorAll('*')].some((element) => element.localName.startsWith('nldd-'));
103
+ if (!hasComponents)
104
+ return false;
105
+ const names = getComputedStyle(body).animationName.split(',').map((name) => name.trim());
106
+ return !names.includes(FOUC_GUARD);
107
+ }
108
+ /** Like a translation, the guard has no element to state a fact on, so this one reports itself. */
109
+ export function checkFoucGuard() {
110
+ if (lacksFoucGuard()) {
111
+ console.warn("[nldd] fouc.css: this page has no FOUC guard, so components show unstyled until they load. Import '@nldd/design-system/styles', which includes it, or '@nldd/design-system/styles/fouc' on its own.");
112
+ }
113
+ }
92
114
  let started = false;
93
115
  export function startDevChecks() {
94
116
  if (started || typeof MutationObserver === 'undefined')
@@ -111,5 +133,6 @@ export function startDevChecks() {
111
133
  report(stateRules);
112
134
  }, RECHECK_MS);
113
135
  schedule();
136
+ setTimeout(checkFoucGuard, SETTLE_MS);
114
137
  }
115
138
  //# sourceMappingURL=dev-checks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dev-checks.js","sourceRoot":"","sources":["../../src/utilities/dev-checks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAapD,+EAA+E;AAC/E,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB,oFAAoF;AACpF,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,SAAS,UAAU,CAAC,IAAa,EAAE,OAAgB;IAClD,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACjB,iEAAiE;QACjE,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAE,OAA8C,CAAC,IAAI,CAAC,CAAC,CAAC;QACnG,OAAO,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,IAAI,CAAC,MAAM;QAAE,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrD,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QAChB,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QACpC,MAAM,OAAO,GAAG,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;QAClF,OAAO,CAAC,GAAG,KAAK,SAAS,IAAI,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,SAAS,IAAI,OAAO,GAAG,GAAG,CAAC,CAAC;IACrF,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC;AAED,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-rules.generated.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,QAAQ,EAAE,OAAO,EAihF7B,CAAC"}
1
+ {"version":3,"file":"dev-rules.generated.d.ts","sourceRoot":"","sources":["../../src/utilities/dev-rules.generated.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,QAAQ,EAAE,OAAO,EAimF7B,CAAC"}