@nldd/design-system 0.12.0 → 0.13.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 (176) hide show
  1. package/custom-elements.json +556 -14
  2. package/dist/components/actions/button-group/button-group.d.ts +4 -3
  3. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  4. package/dist/components/actions/button-group/button-group.js +4 -3
  5. package/dist/components/actions/button-group/button-group.js.map +1 -1
  6. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  7. package/dist/components/actions/button-group/button-group.styles.js +6 -6
  8. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  9. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  10. package/dist/components/actions/menu/menu.js +3 -0
  11. package/dist/components/actions/menu/menu.js.map +1 -1
  12. package/dist/components/components.js +3307 -1742
  13. package/dist/components/content/avatar/avatar.d.ts +2 -1
  14. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  15. package/dist/components/content/avatar/avatar.js +12 -1
  16. package/dist/components/content/avatar/avatar.js.map +1 -1
  17. package/dist/components/content/avatar-group/avatar-group.d.ts +30 -2
  18. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  19. package/dist/components/content/avatar-group/avatar-group.i18n.d.ts +1 -0
  20. package/dist/components/content/avatar-group/avatar-group.i18n.d.ts.map +1 -1
  21. package/dist/components/content/avatar-group/avatar-group.i18n.js +1 -0
  22. package/dist/components/content/avatar-group/avatar-group.i18n.js.map +1 -1
  23. package/dist/components/content/avatar-group/avatar-group.js +96 -7
  24. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  25. package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
  26. package/dist/components/content/avatar-group/avatar-group.styles.js +35 -1
  27. package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
  28. package/dist/components/content/avatar-group/avatar-group.template.d.ts +1 -0
  29. package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
  30. package/dist/components/content/avatar-group/avatar-group.template.js +52 -29
  31. package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
  32. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  33. package/dist/components/content/code-viewer/code-viewer.styles.js +46 -13
  34. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  35. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  36. package/dist/components/content/icon/icon-aliases.js +19 -0
  37. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  38. package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
  39. package/dist/components/content/icon/icon-gallery-status.js +10 -0
  40. package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
  41. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  42. package/dist/components/content/icon/icon-registry.js +10 -2
  43. package/dist/components/content/icon/icon-registry.js.map +1 -1
  44. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  45. package/dist/components/content/tooltip/tooltip.js +2 -0
  46. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  47. package/dist/components/{icon-DFhgRf3P.js → icon-BJHKWhY5.js} +21 -2
  48. package/dist/components/{icon-button-Sxkh5cVr.js → icon-button-DhBIq6lN.js} +75 -2
  49. package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
  50. package/dist/components/inputs/code-editor/code-editor.styles.js +36 -6
  51. package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
  52. package/dist/components/inputs/date-picker/date-picker.d.ts +2 -2
  53. package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +1 -1
  54. package/dist/components/inputs/date-picker/date-picker.i18n.js +1 -1
  55. package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -1
  56. package/dist/components/inputs/date-picker/date-picker.template.js +1 -1
  57. package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
  58. package/dist/components/inputs/file-field/file-field.d.ts +86 -10
  59. package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
  60. package/dist/components/inputs/file-field/file-field.drop.d.ts +34 -0
  61. package/dist/components/inputs/file-field/file-field.drop.d.ts.map +1 -0
  62. package/dist/components/inputs/file-field/file-field.drop.js +176 -0
  63. package/dist/components/inputs/file-field/file-field.drop.js.map +1 -0
  64. package/dist/components/inputs/file-field/file-field.i18n.d.ts +20 -1
  65. package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
  66. package/dist/components/inputs/file-field/file-field.i18n.js +20 -1
  67. package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
  68. package/dist/components/inputs/file-field/file-field.js +283 -15
  69. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  70. package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
  71. package/dist/components/inputs/file-field/file-field.styles.js +245 -10
  72. package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
  73. package/dist/components/inputs/file-field/file-field.template.d.ts +1 -0
  74. package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
  75. package/dist/components/inputs/file-field/file-field.template.js +167 -28
  76. package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
  77. package/dist/components/inputs/file-field/file-field.truncate.d.ts +22 -0
  78. package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -0
  79. package/dist/components/inputs/file-field/file-field.truncate.js +62 -0
  80. package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -0
  81. package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts +10 -0
  82. package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -0
  83. package/dist/components/inputs/text-editor/text-editor.code-copy.js +141 -0
  84. package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -0
  85. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  86. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
  87. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +55 -7
  88. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
  89. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +5 -0
  90. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  91. package/dist/components/inputs/text-editor/text-editor.i18n.js +7 -0
  92. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  93. package/dist/components/inputs/text-editor/text-editor.js +34 -3
  94. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  95. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  96. package/dist/components/inputs/text-editor/text-editor.markdown.js +6 -2
  97. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  98. package/dist/components/inputs/text-editor/text-editor.selection.d.ts.map +1 -1
  99. package/dist/components/inputs/text-editor/text-editor.selection.js +11 -1
  100. package/dist/components/inputs/text-editor/text-editor.selection.js.map +1 -1
  101. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  102. package/dist/components/inputs/text-editor/text-editor.styles.js +130 -7
  103. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  104. package/dist/components/inputs/text-editor/text-editor.tasks.d.ts +17 -0
  105. package/dist/components/inputs/text-editor/text-editor.tasks.d.ts.map +1 -0
  106. package/dist/components/inputs/text-editor/text-editor.tasks.js +109 -0
  107. package/dist/components/inputs/text-editor/text-editor.tasks.js.map +1 -0
  108. package/dist/components/layout/page-sections/hero/hero-corner.styles.d.ts.map +1 -1
  109. package/dist/components/layout/page-sections/hero/hero-corner.styles.js +61 -0
  110. package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
  111. package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
  112. package/dist/components/layout/page-sections/hero/hero.js +1 -1
  113. package/dist/components/layout/popover/popover.d.ts +6 -0
  114. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  115. package/dist/components/layout/popover/popover.js +16 -0
  116. package/dist/components/layout/popover/popover.js.map +1 -1
  117. package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
  118. package/dist/components/layout/popover/popover.styles.js +13 -0
  119. package/dist/components/layout/popover/popover.styles.js.map +1 -1
  120. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  121. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +5 -0
  122. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  123. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  124. package/dist/components/navigation/menu-bar/menu-bar.js +2 -0
  125. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  126. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  127. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -0
  128. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  129. package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
  130. package/dist/components/status-and-feedback/banner/banner.js +2 -2
  131. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  132. package/dist/components/status-and-feedback/notification/notification.d.ts +1 -1
  133. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  134. package/dist/components/status-and-feedback/notification/notification.js +4 -2
  135. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  136. package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.d.ts +1 -1
  137. package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js +1 -1
  138. package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js.map +1 -1
  139. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
  140. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  141. package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.d.ts +1 -1
  142. package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js +1 -1
  143. package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js.map +1 -1
  144. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +1 -1
  145. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  146. package/dist/css/themes/donkergeel.css +5 -0
  147. package/dist/css/themes/geel.css +5 -0
  148. package/dist/css/themes.css +10 -0
  149. package/dist/css/variables.css +11 -11
  150. package/dist/nldd.min.js +1909 -1317
  151. package/dist/translations/en-US.d.ts.map +1 -1
  152. package/dist/translations/en-US.js +29 -4
  153. package/dist/translations/en-US.js.map +1 -1
  154. package/dist/translations/fy.d.ts.map +1 -1
  155. package/dist/translations/fy.js +29 -4
  156. package/dist/translations/fy.js.map +1 -1
  157. package/dist/translations/nl.generated.d.ts +29 -4
  158. package/dist/translations/nl.generated.d.ts.map +1 -1
  159. package/dist/translations/pap-AW.d.ts.map +1 -1
  160. package/dist/translations/pap-AW.js +29 -4
  161. package/dist/translations/pap-AW.js.map +1 -1
  162. package/dist/translations/pap-CW.d.ts.map +1 -1
  163. package/dist/translations/pap-CW.js +29 -4
  164. package/dist/translations/pap-CW.js.map +1 -1
  165. package/dist/types/vue.d.ts +12 -12
  166. package/dist/utilities/carried-context.d.ts +20 -0
  167. package/dist/utilities/carried-context.d.ts.map +1 -0
  168. package/dist/utilities/carried-context.js +76 -0
  169. package/dist/utilities/carried-context.js.map +1 -0
  170. package/dist/utilities/codemirror/languages.d.ts +5 -1
  171. package/dist/utilities/codemirror/languages.d.ts.map +1 -1
  172. package/dist/utilities/codemirror/languages.js +21 -1
  173. package/dist/utilities/codemirror/languages.js.map +1 -1
  174. package/dist/utilities/dismiss-from-title-bar.d.ts +1 -1
  175. package/dist/utilities/dismiss-from-title-bar.js +1 -1
  176. package/package.json +1 -1
@@ -129,7 +129,7 @@
129
129
  "declarations": [
130
130
  {
131
131
  "kind": "class",
132
- "description": "A container for grouping related buttons together, in a row or stacked. `auto`, the default, is a row on a container wide enough for one and a stack over the full width below the sm breakpoint, where two labels beside each other leave no room for either. The group is its own container, so it follows the width it was given rather than the width of the window: the same group is a row in a page and a stack in a sheet beside it. Being a container has one consequence to know: the width has to come from the parent, since a container may not size itself from what is inside it. In a parent that shrink-wraps its content (an inline-flex box, a float, a table cell, a flex item at `width: auto`) the group measures zero and its buttons are invisible. It says so once in development. Give the group or that parent a width. A stack fills the width with its buttons, except an `nldd-icon-button`, which keeps its own size: a bar with a single glyph in the middle is not a bigger target, only a wider one.",
132
+ "description": "A container for grouping related buttons together, in a row or stacked. `auto`, the default, is a row, and a stack over the full width in a container of 30rem (480px) or less, the width of a phone, where two labels beside each other leave no room for either. A card or a dialog between 480px and the sm breakpoint keeps its row. The group is its own container, so it follows the width it was given rather than the width of the window: the same group is a row in a page and a stack in a sheet beside it. Being a container has one consequence to know: the width has to come from the parent, since a container may not size itself from what is inside it. In a parent that shrink-wraps its content (an inline-flex box, a float, a table cell, a flex item at `width: auto`) the group measures zero and its buttons are invisible. It says so once in development. Give the group or that parent a width. A stack fills the width with its buttons, except an `nldd-icon-button`, which keeps its own size: a bar with a single glyph in the middle is not a bigger target, only a wider one.",
133
133
  "name": "NLDDButtonGroup",
134
134
  "members": [
135
135
  {
@@ -3101,7 +3101,7 @@
3101
3101
  "declarations": [
3102
3102
  {
3103
3103
  "kind": "class",
3104
- "description": "Shows several avatars as one group: they overlap, and each one gets a ring in the surface color so they stay apart where they meet. The ring uses the same mechanism as the badge, so on a colored surface you hand the color over through `--context-parent-background-color`. Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to do with a dead image, when to fall back to initials, and how to show its name as a tooltip; a loose image would have to reproduce all of that and cannot do the last one. Set `decorative` when the names already stand beside the group as text; otherwise give every avatar a name, because the group itself describes nobody. The size applies to the whole group: it is imposed on the avatars, a slotted `img` included. That keeps the row on one line whatever a consumer hands over.",
3104
+ "description": "Shows several avatars as one group: they overlap, and each one gets a ring in the surface color so they stay apart where they meet. The ring uses the same mechanism as the badge, so on a colored surface you hand the color over through `--context-parent-background-color`. Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to do with a dead image, when to fall back to initials, and how to show its name as a tooltip; a loose image would have to reproduce all of that and cannot do the last one. Set `decorative` when the names already stand beside the group as text; otherwise give every avatar a name, because the group itself describes nobody. The size applies to the whole group: it is imposed on the avatars, a slotted `img` included. That keeps the row on one line whatever a consumer hands over. Avatars that are links or buttons need size 32 or larger: they overlap, so each keeps only part of its width as a target (WCAG 2.5.8). On sm the list behind the button is a bottom sheet with a title bar, which names the group (its `accessible-label`) and closes it. The row never overflows its container. Where there is no room for every avatar, the group shows as many as fit and puts the rest behind the \"+N\" button, as `max` does; `max` is then the most it shows, not a fixed count.",
3105
3105
  "name": "NLDDAvatarGroup",
3106
3106
  "members": [
3107
3107
  {
@@ -3164,7 +3164,7 @@
3164
3164
  },
3165
3165
  "default": "undefined",
3166
3166
  "fieldName": "max",
3167
- "description": "Shows at most this many avatars; the rest go behind a \"+N\" button that opens them as a list of names"
3167
+ "description": "Shows at most this many avatars; the rest go behind a \"+N\" button that opens them as a list of names. A longer number is set smaller, and where it no longer fits the disc the button shows an ellipsis with the count in a tooltip (a number shows from size 24 with one digit, 40 with two, 56 with three and 80 with four)"
3168
3168
  },
3169
3169
  {
3170
3170
  "name": "accessible-label",
@@ -3559,7 +3559,7 @@
3559
3559
  "text": "string"
3560
3560
  },
3561
3561
  "default": "''",
3562
- "description": "Makes the avatar a link to this URL; the shape itself becomes the link, so the hit area and the focus ring follow it",
3562
+ "description": "Makes the avatar a link to this URL; the shape itself becomes the link, so the hit area and the focus ring follow it. As a link or a button the avatar needs size 24 or larger (WCAG 2.5.8)",
3563
3563
  "fieldName": "href"
3564
3564
  },
3565
3565
  {
@@ -11374,13 +11374,338 @@
11374
11374
  }
11375
11375
  ]
11376
11376
  },
11377
+ {
11378
+ "kind": "javascript-module",
11379
+ "path": "src/components/inputs/file-field/file-field.drop.ts",
11380
+ "declarations": [
11381
+ {
11382
+ "kind": "function",
11383
+ "name": "acceptNames",
11384
+ "return": {
11385
+ "type": {
11386
+ "text": "AcceptName[] | null"
11387
+ }
11388
+ },
11389
+ "parameters": [
11390
+ {
11391
+ "name": "accept",
11392
+ "type": {
11393
+ "text": "string"
11394
+ }
11395
+ }
11396
+ ],
11397
+ "description": "What `accept` takes, named for a person, for the message on a drop of the\nwrong type. Null when any part has no name (an `application/vnd…` type),\nso the message does not list half of what is allowed."
11398
+ },
11399
+ {
11400
+ "kind": "function",
11401
+ "name": "fileMatches",
11402
+ "return": {
11403
+ "type": {
11404
+ "text": "boolean"
11405
+ }
11406
+ },
11407
+ "parameters": [
11408
+ {
11409
+ "name": "accept",
11410
+ "type": {
11411
+ "text": "string"
11412
+ }
11413
+ },
11414
+ {
11415
+ "name": "file",
11416
+ "type": {
11417
+ "text": "File"
11418
+ }
11419
+ }
11420
+ ],
11421
+ "description": "Whether a dropped file fits `accept`, judged on its name and its type, the\nway the file dialog filters. An empty `accept` takes everything."
11422
+ },
11423
+ {
11424
+ "kind": "function",
11425
+ "name": "typeRuledOut",
11426
+ "return": {
11427
+ "type": {
11428
+ "text": "boolean"
11429
+ }
11430
+ },
11431
+ "parameters": [
11432
+ {
11433
+ "name": "accept",
11434
+ "type": {
11435
+ "text": "string"
11436
+ }
11437
+ },
11438
+ {
11439
+ "name": "type",
11440
+ "type": {
11441
+ "text": "string"
11442
+ }
11443
+ }
11444
+ ],
11445
+ "description": "Whether a dragged file of `type` can be ruled out against `accept` before the\ndrop. Only a certain mismatch counts: an empty type or an extension this\nmodule has no type for leaves the answer to the drop."
11446
+ },
11447
+ {
11448
+ "kind": "function",
11449
+ "name": "holdsFolder",
11450
+ "return": {
11451
+ "type": {
11452
+ "text": "boolean"
11453
+ }
11454
+ },
11455
+ "parameters": [
11456
+ {
11457
+ "name": "transfer",
11458
+ "type": {
11459
+ "text": "DataTransfer"
11460
+ }
11461
+ }
11462
+ ],
11463
+ "description": "Whether a drop holds a folder. It arrives as a File without type or\nextension, which the field could not read, so it is refused."
11464
+ },
11465
+ {
11466
+ "kind": "function",
11467
+ "name": "carriesFiles",
11468
+ "return": {
11469
+ "type": {
11470
+ "text": "boolean"
11471
+ }
11472
+ },
11473
+ "parameters": [
11474
+ {
11475
+ "name": "transfer",
11476
+ "type": {
11477
+ "text": "DataTransfer | null"
11478
+ }
11479
+ }
11480
+ ],
11481
+ "description": "Whether a drag carries files, as opposed to text or a link."
11482
+ },
11483
+ {
11484
+ "kind": "function",
11485
+ "name": "watchDrags",
11486
+ "return": {
11487
+ "type": {
11488
+ "text": "void"
11489
+ }
11490
+ },
11491
+ "parameters": [
11492
+ {
11493
+ "name": "target",
11494
+ "type": {
11495
+ "text": "DropTarget"
11496
+ }
11497
+ }
11498
+ ],
11499
+ "description": "Registers a field with the shared window listeners, which exist while at\nleast one field is connected."
11500
+ },
11501
+ {
11502
+ "kind": "function",
11503
+ "name": "unwatchDrags",
11504
+ "return": {
11505
+ "type": {
11506
+ "text": "void"
11507
+ }
11508
+ },
11509
+ "parameters": [
11510
+ {
11511
+ "name": "target",
11512
+ "type": {
11513
+ "text": "DropTarget"
11514
+ }
11515
+ }
11516
+ ]
11517
+ }
11518
+ ],
11519
+ "exports": [
11520
+ {
11521
+ "kind": "js",
11522
+ "name": "acceptNames",
11523
+ "declaration": {
11524
+ "name": "acceptNames",
11525
+ "module": "src/components/inputs/file-field/file-field.drop.ts"
11526
+ }
11527
+ },
11528
+ {
11529
+ "kind": "js",
11530
+ "name": "fileMatches",
11531
+ "declaration": {
11532
+ "name": "fileMatches",
11533
+ "module": "src/components/inputs/file-field/file-field.drop.ts"
11534
+ }
11535
+ },
11536
+ {
11537
+ "kind": "js",
11538
+ "name": "typeRuledOut",
11539
+ "declaration": {
11540
+ "name": "typeRuledOut",
11541
+ "module": "src/components/inputs/file-field/file-field.drop.ts"
11542
+ }
11543
+ },
11544
+ {
11545
+ "kind": "js",
11546
+ "name": "holdsFolder",
11547
+ "declaration": {
11548
+ "name": "holdsFolder",
11549
+ "module": "src/components/inputs/file-field/file-field.drop.ts"
11550
+ }
11551
+ },
11552
+ {
11553
+ "kind": "js",
11554
+ "name": "carriesFiles",
11555
+ "declaration": {
11556
+ "name": "carriesFiles",
11557
+ "module": "src/components/inputs/file-field/file-field.drop.ts"
11558
+ }
11559
+ },
11560
+ {
11561
+ "kind": "js",
11562
+ "name": "watchDrags",
11563
+ "declaration": {
11564
+ "name": "watchDrags",
11565
+ "module": "src/components/inputs/file-field/file-field.drop.ts"
11566
+ }
11567
+ },
11568
+ {
11569
+ "kind": "js",
11570
+ "name": "unwatchDrags",
11571
+ "declaration": {
11572
+ "name": "unwatchDrags",
11573
+ "module": "src/components/inputs/file-field/file-field.drop.ts"
11574
+ }
11575
+ }
11576
+ ]
11577
+ },
11578
+ {
11579
+ "kind": "javascript-module",
11580
+ "path": "src/components/inputs/file-field/file-field.truncate.ts",
11581
+ "declarations": [
11582
+ {
11583
+ "kind": "function",
11584
+ "name": "splitName",
11585
+ "return": {
11586
+ "type": {
11587
+ "text": "[string, string]"
11588
+ }
11589
+ },
11590
+ "parameters": [
11591
+ {
11592
+ "name": "name",
11593
+ "type": {
11594
+ "text": "string"
11595
+ }
11596
+ }
11597
+ ],
11598
+ "description": "Splits a name at its last dot. A leading dot (\".env\") is no extension."
11599
+ },
11600
+ {
11601
+ "kind": "function",
11602
+ "name": "splitForTruncation",
11603
+ "return": {
11604
+ "type": {
11605
+ "text": "[string, string]"
11606
+ }
11607
+ },
11608
+ "parameters": [
11609
+ {
11610
+ "name": "name",
11611
+ "type": {
11612
+ "text": "string"
11613
+ }
11614
+ }
11615
+ ],
11616
+ "description": "The split of the first render, done by CSS: a start that is cut short when it\ndoes not fit, and an end, the last characters and the extension, that stays."
11617
+ },
11618
+ {
11619
+ "kind": "function",
11620
+ "name": "truncateMiddle",
11621
+ "return": {
11622
+ "type": {
11623
+ "text": "{ text: string; truncated: boolean }"
11624
+ }
11625
+ },
11626
+ "parameters": [
11627
+ {
11628
+ "name": "name",
11629
+ "type": {
11630
+ "text": "string"
11631
+ }
11632
+ },
11633
+ {
11634
+ "name": "width",
11635
+ "type": {
11636
+ "text": "number"
11637
+ }
11638
+ },
11639
+ {
11640
+ "name": "measure",
11641
+ "type": {
11642
+ "text": "(text: string) => number"
11643
+ }
11644
+ }
11645
+ ],
11646
+ "description": "The name as it fits `width`, measured with `measure`: whole when it fits,\notherwise as many characters as fit, half from the start and half from the\nend, around an ellipsis and before the extension."
11647
+ },
11648
+ {
11649
+ "kind": "function",
11650
+ "name": "textMeasurer",
11651
+ "return": {
11652
+ "type": {
11653
+ "text": "{ measure: (text: string) => number; done: () => void }"
11654
+ }
11655
+ },
11656
+ "parameters": [
11657
+ {
11658
+ "name": "container",
11659
+ "type": {
11660
+ "text": "Element"
11661
+ }
11662
+ }
11663
+ ],
11664
+ "description": "Measures text the way `container` renders it, with a hidden span in it.\nCanvas text metrics drift from the page by a character or two (kerning,\nfont features), which shows as a second, CSS ellipsis. Call `done` after."
11665
+ }
11666
+ ],
11667
+ "exports": [
11668
+ {
11669
+ "kind": "js",
11670
+ "name": "splitName",
11671
+ "declaration": {
11672
+ "name": "splitName",
11673
+ "module": "src/components/inputs/file-field/file-field.truncate.ts"
11674
+ }
11675
+ },
11676
+ {
11677
+ "kind": "js",
11678
+ "name": "splitForTruncation",
11679
+ "declaration": {
11680
+ "name": "splitForTruncation",
11681
+ "module": "src/components/inputs/file-field/file-field.truncate.ts"
11682
+ }
11683
+ },
11684
+ {
11685
+ "kind": "js",
11686
+ "name": "truncateMiddle",
11687
+ "declaration": {
11688
+ "name": "truncateMiddle",
11689
+ "module": "src/components/inputs/file-field/file-field.truncate.ts"
11690
+ }
11691
+ },
11692
+ {
11693
+ "kind": "js",
11694
+ "name": "textMeasurer",
11695
+ "declaration": {
11696
+ "name": "textMeasurer",
11697
+ "module": "src/components/inputs/file-field/file-field.truncate.ts"
11698
+ }
11699
+ }
11700
+ ]
11701
+ },
11377
11702
  {
11378
11703
  "kind": "javascript-module",
11379
11704
  "path": "src/components/inputs/file-field/file-field.ts",
11380
11705
  "declarations": [
11381
11706
  {
11382
11707
  "kind": "class",
11383
- "description": "A file picker that reads as one control: an nldd-button flush in the corner of a tinted surface, the chosen file next to it, and a dismiss button to clear it again. It wraps a hidden native `<input type=\"file\">`, which is what makes the picker open at all — a file dialog only opens from a user gesture on a real input. The surface deliberately does not look like an input field. A border with field semantics promises you can type into it; here you can only press a button, so it uses button and surface colors instead of `--semantics-input-fields-*`. The button keeps its own tinted background and therefore sits a shade darker in the surface, which is what marks it as the thing to press. Several files are summarized, not listed: \"3 bestanden\" with a single cross that clears all of them. Every pick replaces the whole FileList, and rebuilding it to add or drop one file means going through DataTransfer, which does not deduplicate (even the same File object twice yields two entries) — and a File has no id, so deduplicating would come down to guessing from name, size and last-modified. A list with a cross per file would promise an edit the platform does not support. A page that does want to show the files renders its own list from the `File[]` in the change event.",
11708
+ "description": "A file picker that reads as one control. Empty, the whole tinted surface is one button with one sentence centered in it, \"Bestand kiezen of sleep het hierheen\", its first part accented, so a press anywhere on it opens the file dialog. Once a file is chosen, the surface shows it with the icon of its format, its name, a button to choose another and a dismiss button to clear it again. A long name is cut in the middle, so its start and its end stay in view (\"Screenshot 20…at 13.12.21.png\"); it then shows whole in a tooltip, and a screen reader reads it whole either way. It wraps a hidden native `<input type=\"file\">`, which is what makes the picker open at all — a file dialog only opens from a user gesture on a real input. Files can be dropped on the whole field. A drop goes through the same input, so it fires the same `change` with the same detail and submits the same way as a pick. `accept` and `multiple` hold for a drop too, which the native input does not do: a drop that does not fit is refused as a whole, the previous choice stays, and the field says why for a few seconds: \"Sleep één bestand\", or what `accept` takes, named from it (\"Het bestand moet een PDF zijn\"; \"Dit bestandstype past niet\" where a type in it has no name). A dropped folder is refused as well (\"Sleep een bestand, geen map\"): it arrives as a file without a type that cannot be read, and only the drop tells it apart, not the drag. The message stays for a few seconds and then gives way to the field again. While files are dragged over the page, every field marks itself as a place to put them, and the field under the pointer says it will take them (a field with a file: that they replace it), or turns critical and refuses already when the number or the type rules them out. A file dropped next to a field no longer makes the browser open it and leave the page; a drop that another drop zone or an editable field takes is left alone. On a device without hover there is no dragging, so the field there drops the hint. The surface deliberately does not look like an input field. A border with field semantics promises you can type into it; here you can only press it or drop a file on it, so it has the border of a tinted surface instead of `--semantics-input-fields-*`. Several files are summarized, not listed: \"3 bestanden\" with a single cross that clears all of them. Every pick replaces the whole FileList, and rebuilding it to add or drop one file means going through DataTransfer, which does not deduplicate (even the same File object twice yields two entries) — and a File has no id, so deduplicating would come down to guessing from name, size and last-modified. A list with a cross per file would promise an edit the platform does not support. A page that does want to show the files renders its own list from the `File[]` in the change event.",
11384
11709
  "name": "NLDDFileField",
11385
11710
  "members": [
11386
11711
  {
@@ -18164,6 +18489,52 @@
18164
18489
  }
18165
18490
  ]
18166
18491
  },
18492
+ {
18493
+ "kind": "javascript-module",
18494
+ "path": "src/components/inputs/text-editor/text-editor.code-copy.ts",
18495
+ "declarations": [
18496
+ {
18497
+ "kind": "variable",
18498
+ "name": "codeCopyLabels"
18499
+ },
18500
+ {
18501
+ "kind": "function",
18502
+ "name": "codeCopy",
18503
+ "return": {
18504
+ "type": {
18505
+ "text": "Extension"
18506
+ }
18507
+ },
18508
+ "parameters": [
18509
+ {
18510
+ "name": "labels",
18511
+ "type": {
18512
+ "text": "CodeCopyLabels"
18513
+ }
18514
+ }
18515
+ ],
18516
+ "description": "A copy button on the opening line of each code block."
18517
+ }
18518
+ ],
18519
+ "exports": [
18520
+ {
18521
+ "kind": "js",
18522
+ "name": "codeCopyLabels",
18523
+ "declaration": {
18524
+ "name": "codeCopyLabels",
18525
+ "module": "src/components/inputs/text-editor/text-editor.code-copy.ts"
18526
+ }
18527
+ },
18528
+ {
18529
+ "kind": "js",
18530
+ "name": "codeCopy",
18531
+ "declaration": {
18532
+ "name": "codeCopy",
18533
+ "module": "src/components/inputs/text-editor/text-editor.code-copy.ts"
18534
+ }
18535
+ }
18536
+ ]
18537
+ },
18167
18538
  {
18168
18539
  "kind": "javascript-module",
18169
18540
  "path": "src/components/inputs/text-editor/text-editor.commands.ts",
@@ -19084,7 +19455,7 @@
19084
19455
  "type": {
19085
19456
  "text": "Extension"
19086
19457
  },
19087
- "default": "[ markdown({ extensions: GFM }), markDecorationPlugin, heldEmphasis, hangingIndentField, mentionTokens, ]",
19458
+ "default": "[ // A code block that names its language is highlighted in it, as in the code // viewer; the grammar loads when the first such block appears. markdown({ extensions: GFM, codeLanguages: nestedLanguages }), markDecorationPlugin, heldEmphasis, hangingIndentField, mentionTokens, ]",
19088
19459
  "description": "Markdown language (with GFM) plus the hybrid inline-styling decorations."
19089
19460
  }
19090
19461
  ],
@@ -20010,13 +20381,118 @@
20010
20381
  }
20011
20382
  ]
20012
20383
  },
20384
+ {
20385
+ "kind": "javascript-module",
20386
+ "path": "src/components/inputs/text-editor/text-editor.tasks.ts",
20387
+ "declarations": [
20388
+ {
20389
+ "kind": "variable",
20390
+ "name": "taskLabels",
20391
+ "description": "The texts a screen reader reads in place of a box."
20392
+ },
20393
+ {
20394
+ "kind": "function",
20395
+ "name": "taskBox",
20396
+ "return": {
20397
+ "type": {
20398
+ "text": "Decoration"
20399
+ }
20400
+ },
20401
+ "parameters": [
20402
+ {
20403
+ "name": "state",
20404
+ "type": {
20405
+ "text": "EditorState"
20406
+ }
20407
+ },
20408
+ {
20409
+ "name": "checked",
20410
+ "type": {
20411
+ "text": "boolean"
20412
+ }
20413
+ }
20414
+ ],
20415
+ "description": "The box that replaces the `[ ]` or `[x]` of a task."
20416
+ },
20417
+ {
20418
+ "kind": "function",
20419
+ "name": "toggleTasks",
20420
+ "return": {
20421
+ "type": {
20422
+ "text": "boolean"
20423
+ }
20424
+ },
20425
+ "parameters": [
20426
+ {
20427
+ "name": "view",
20428
+ "type": {
20429
+ "text": "EditorView"
20430
+ }
20431
+ }
20432
+ ],
20433
+ "description": "Checks or unchecks the tasks on the lines of the selection. False when no\nline there is a task, so the key does what it would otherwise do."
20434
+ },
20435
+ {
20436
+ "kind": "function",
20437
+ "name": "tasks",
20438
+ "return": {
20439
+ "type": {
20440
+ "text": "Extension"
20441
+ }
20442
+ },
20443
+ "parameters": [
20444
+ {
20445
+ "name": "labels",
20446
+ "type": {
20447
+ "text": "TaskLabels"
20448
+ }
20449
+ }
20450
+ ],
20451
+ "description": "Checking a task by click and by Cmd/Ctrl+Enter, with the texts a screen\nreader reads for a box."
20452
+ }
20453
+ ],
20454
+ "exports": [
20455
+ {
20456
+ "kind": "js",
20457
+ "name": "taskLabels",
20458
+ "declaration": {
20459
+ "name": "taskLabels",
20460
+ "module": "src/components/inputs/text-editor/text-editor.tasks.ts"
20461
+ }
20462
+ },
20463
+ {
20464
+ "kind": "js",
20465
+ "name": "taskBox",
20466
+ "declaration": {
20467
+ "name": "taskBox",
20468
+ "module": "src/components/inputs/text-editor/text-editor.tasks.ts"
20469
+ }
20470
+ },
20471
+ {
20472
+ "kind": "js",
20473
+ "name": "toggleTasks",
20474
+ "declaration": {
20475
+ "name": "toggleTasks",
20476
+ "module": "src/components/inputs/text-editor/text-editor.tasks.ts"
20477
+ }
20478
+ },
20479
+ {
20480
+ "kind": "js",
20481
+ "name": "tasks",
20482
+ "declaration": {
20483
+ "name": "tasks",
20484
+ "module": "src/components/inputs/text-editor/text-editor.tasks.ts"
20485
+ }
20486
+ }
20487
+ ]
20488
+ },
20013
20489
  {
20014
20490
  "kind": "javascript-module",
20015
20491
  "path": "src/components/inputs/text-editor/text-editor.ts",
20016
20492
  "declarations": [
20017
20493
  {
20018
20494
  "kind": "class",
20019
- "description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `appearance=\"simple\"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `appearance=\"input-field\"` adds a framed surface + focus Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style \"set\" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href=\"…\" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint.",
20495
+ "description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `appearance=\"simple\"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `appearance=\"input-field\"` adds a framed surface + focus Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style \"set\" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. With `syntax=\"hidden\"` a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads \"Taak, open\" or \"Taak, afgerond\" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a \"Kopieer\" button at the right edge that copies the code without its fences and says \"Gekopieerd\" or \"Kopiëren mislukt\", as the code viewer does. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href=\"…\" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint.",
20020
20496
  "name": "NLDDTextEditor",
20021
20497
  "members": [
20022
20498
  {
@@ -20902,7 +21378,7 @@
20902
21378
  },
20903
21379
  "default": "'visible'",
20904
21380
  "fieldName": "syntax",
20905
- "description": "'visible' (default): every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`). 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left; with the caret anywhere in it, its `>` marks show instead, in the same place. A `---` line reads as a divider until the caret is on it, and a code block loses its ``` fence lines until the caret is in it, since its own tint and edge already say what it is. The numbers of a numbered list stay: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way."
21381
+ "description": "'visible' (default): every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`). 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left; with the caret anywhere in it, its `>` marks show instead, in the same place. A `---` line reads as a divider until the caret is on it, and a code block loses its closing ``` line until the caret is in it, since its own tint and edge already say what it is. Its opening line stays as the head of the block, with only the backticks hidden: the language as a label on the left, the copy button on the right. The numbers of a numbered list stay, in the color of the text: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way."
20906
21382
  },
20907
21383
  {
20908
21384
  "name": "annotatable",
@@ -20919,7 +21395,7 @@
20919
21395
  "text": "Partial<NLDDTextEditorTranslations>"
20920
21396
  },
20921
21397
  "default": "{}",
20922
- "description": "Override the editor's assistive-tech strings (the open-in-new-tab link badge and the annotation count badge). Unset keys fall back to Dutch.",
21398
+ "description": "Override the editor's assistive-tech strings (the open-in-new-tab link badge, the annotation count badge, the label of a task's box and the copy button of a code block). Unset keys fall back to Dutch.",
20923
21399
  "fieldName": "translations"
20924
21400
  },
20925
21401
  {
@@ -26984,7 +27460,7 @@
26984
27460
  "text": "string | null"
26985
27461
  },
26986
27462
  "default": "null",
26987
- "description": "Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the panel leaves free. With media it applies with `layout=\"contained\"` and the panel in a corner or along a side; with overlap or a centered panel the hero stays rectangular and says so in development. The panel stands against the edge of the image, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image; a panel along a full side, a `main-width=\"full\"` strip and the panel on mobile stay square. On mobile a bottom corner moves to the top. Without media the panel is the whole hero: the corner applies in every layout and position, at half the radius, and the hero chooses top-right, or top-left for a panel on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the panel, or with `width=\"full\"`",
27463
+ "description": "Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the panel leaves free. With media it applies with `layout=\"contained\"` and the panel in a corner or along a side; with overlap or a centered panel the hero stays rectangular and says so in development. The panel stands against the edge of the image, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image, with more padding along its two sides so the content keeps its distance to the curve. A panel along the same edge as the rounded corner of the image stops before the curve, at the panel's padding from it; a panel along a full side, a `main-width=\"full\"` strip and the panel on mobile stay square. On mobile a bottom corner moves to the top, and the panel stands under the image, as wide as it, instead of overlapping it. Without media the panel is the whole hero: the corner applies in every layout and position, at half the radius, and the hero chooses top-right, or top-left for a panel on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the panel, or with `width=\"full\"`",
26988
27464
  "fieldName": "corner"
26989
27465
  },
26990
27466
  {
@@ -30043,7 +30519,7 @@
30043
30519
  "declarations": [
30044
30520
  {
30045
30521
  "kind": "class",
30046
- "description": "A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover=\"auto\") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle: <nldd-button id=\"info-trigger\" popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" anchor=\"info-trigger\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> To open it from your own state instead, bind `open` together with the close event: the popover clears `open` itself on light dismiss, Escape or a click on its anchor. It needs that anchor to open against. For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus.",
30522
+ "description": "A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover=\"auto\") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle: <nldd-button id=\"info-trigger\" popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" anchor=\"info-trigger\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> To open it from your own state instead, bind `open` together with the close event: the popover clears `open` itself on light dismiss, Escape or a click on its anchor. It needs that anchor to open against. For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus. On sm the popover is a bottom sheet that closes with Escape or a tap outside it. Where that is not enough, give its content a title bar of its own, as in a sheet: an nldd-page with an nldd-top-title-bar and a `dismiss-text`. The popover catches the dismiss of that bar and closes. It draws no bar itself.",
30047
30523
  "name": "NLDDPopover",
30048
30524
  "members": [
30049
30525
  {
@@ -37703,7 +38179,7 @@
37703
38179
  },
37704
38180
  "default": "''",
37705
38181
  "fieldName": "icon",
37706
- "description": "Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled"
38182
+ "description": "Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-mark-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled"
37707
38183
  },
37708
38184
  {
37709
38185
  "name": "text",
@@ -38543,7 +39019,7 @@
38543
39019
  },
38544
39020
  "default": "''",
38545
39021
  "fieldName": "icon",
38546
- "description": "Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled"
39022
+ "description": "Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-mark-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled"
38547
39023
  },
38548
39024
  {
38549
39025
  "name": "text",
@@ -39936,6 +40412,72 @@
39936
40412
  }
39937
40413
  ]
39938
40414
  },
40415
+ {
40416
+ "kind": "javascript-module",
40417
+ "path": "src/utilities/carried-context.ts",
40418
+ "declarations": [
40419
+ {
40420
+ "kind": "function",
40421
+ "name": "carryContext",
40422
+ "return": {
40423
+ "type": {
40424
+ "text": "void"
40425
+ }
40426
+ },
40427
+ "parameters": [
40428
+ {
40429
+ "name": "element",
40430
+ "type": {
40431
+ "text": "HTMLElement"
40432
+ }
40433
+ },
40434
+ {
40435
+ "name": "origin",
40436
+ "type": {
40437
+ "text": "Element | null"
40438
+ }
40439
+ }
40440
+ ],
40441
+ "description": "Gives `element` the color scheme and language of `origin`. Call it each\ntime the element shows, since the page around the origin may have changed."
40442
+ },
40443
+ {
40444
+ "kind": "function",
40445
+ "name": "releaseContext",
40446
+ "return": {
40447
+ "type": {
40448
+ "text": "void"
40449
+ }
40450
+ },
40451
+ "parameters": [
40452
+ {
40453
+ "name": "element",
40454
+ "type": {
40455
+ "text": "HTMLElement"
40456
+ }
40457
+ }
40458
+ ],
40459
+ "description": "Takes back what `carryContext` wrote, for an element returned to its place."
40460
+ }
40461
+ ],
40462
+ "exports": [
40463
+ {
40464
+ "kind": "js",
40465
+ "name": "carryContext",
40466
+ "declaration": {
40467
+ "name": "carryContext",
40468
+ "module": "src/utilities/carried-context.ts"
40469
+ }
40470
+ },
40471
+ {
40472
+ "kind": "js",
40473
+ "name": "releaseContext",
40474
+ "declaration": {
40475
+ "name": "releaseContext",
40476
+ "module": "src/utilities/carried-context.ts"
40477
+ }
40478
+ }
40479
+ ]
40480
+ },
39939
40481
  {
39940
40482
  "kind": "javascript-module",
39941
40483
  "path": "src/utilities/codemirror/codemirror-input.ts",
@@ -40804,7 +41346,7 @@
40804
41346
  }
40805
41347
  }
40806
41348
  ],
40807
- "description": "True when a bubbling `dismiss` event originates from an `nldd-top-title-bar`'s\nclose button.\n\nOverlay containers (`nldd-sheet`, `nldd-window`) listen for bubbling `dismiss`\nevents to close themselves. But nested components fire their own `dismiss` for\ntheir own element — an `nldd-token`'s remove button, an `nldd-banner`, an\n`nldd-document-tab-bar` — and those must NOT close the container. Only the\ncontainer's own top-title-bar dismiss should. This shared check keeps that rule\nidentical across every overlay container.\n\nLimitation: it matches ANY nldd-top-title-bar in the composed path, not\nspecifically the container's own. That is correct for today's one-title-bar-per\n-container usage; a nested composition with more than one title bar (a sheet\ninside a sheet, each with its own) would need the inner container to\nstopPropagation on its own dismiss so it doesn't also reach the outer one."
41349
+ "description": "True when a bubbling `dismiss` event originates from an `nldd-top-title-bar`'s\nclose button.\n\nOverlay containers (`nldd-sheet`, `nldd-window`, `nldd-popover`) listen for bubbling `dismiss`\nevents to close themselves. But nested components fire their own `dismiss` for\ntheir own element — an `nldd-token`'s remove button, an `nldd-banner`, an\n`nldd-document-tab-bar` — and those must NOT close the container. Only the\ncontainer's own top-title-bar dismiss should. This shared check keeps that rule\nidentical across every overlay container.\n\nLimitation: it matches ANY nldd-top-title-bar in the composed path, not\nspecifically the container's own. That is correct for today's one-title-bar-per\n-container usage; a nested composition with more than one title bar (a sheet\ninside a sheet, each with its own) would need the inner container to\nstopPropagation on its own dismiss so it doesn't also reach the outer one."
40808
41350
  }
40809
41351
  ],
40810
41352
  "exports": [