@nldd/design-system 0.18.0 → 0.20.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 (301) hide show
  1. package/custom-elements.json +339 -52
  2. package/dist/components/actions/button/button.d.ts +5 -5
  3. package/dist/components/actions/button/button.d.ts.map +1 -1
  4. package/dist/components/actions/button/button.js +6 -6
  5. package/dist/components/actions/button/button.js.map +1 -1
  6. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  7. package/dist/components/actions/button/button.template.js +6 -8
  8. package/dist/components/actions/button/button.template.js.map +1 -1
  9. package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
  10. package/dist/components/actions/button-bar/button-bar.js +15 -4
  11. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  12. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  13. package/dist/components/actions/button-group/button-group.js +7 -1
  14. package/dist/components/actions/button-group/button-group.js.map +1 -1
  15. package/dist/components/actions/button-group/button-group.styles.js +2 -2
  16. package/dist/components/actions/icon-button/icon-button.d.ts +3 -3
  17. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  18. package/dist/components/actions/icon-button/icon-button.js +4 -4
  19. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  20. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.template.js +2 -4
  22. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  23. package/dist/components/actions/menu/menu-item.d.ts +6 -1
  24. package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
  25. package/dist/components/actions/menu/menu-item.js +15 -5
  26. package/dist/components/actions/menu/menu-item.js.map +1 -1
  27. package/dist/components/actions/menu/menu.d.ts +31 -8
  28. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  29. package/dist/components/actions/menu/menu.js +107 -31
  30. package/dist/components/actions/menu/menu.js.map +1 -1
  31. package/dist/components/actions/menu/menu.pointer.d.ts +7 -0
  32. package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
  33. package/dist/components/actions/menu/menu.pointer.js +17 -0
  34. package/dist/components/actions/menu/menu.pointer.js.map +1 -1
  35. package/dist/components/actions/menu/menu.safe-triangle.d.ts +6 -5
  36. package/dist/components/actions/menu/menu.safe-triangle.d.ts.map +1 -1
  37. package/dist/components/actions/menu/menu.safe-triangle.js +3 -3
  38. package/dist/components/actions/menu/menu.safe-triangle.js.map +1 -1
  39. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  40. package/dist/components/actions/menu/menu.styles.js +6 -0
  41. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  42. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  43. package/dist/components/actions/menu/menu.template.js +15 -8
  44. package/dist/components/actions/menu/menu.template.js.map +1 -1
  45. package/dist/components/actions/toolbar/toolbar-title.js +2 -2
  46. package/dist/components/actions/toolbar/toolbar-title.js.map +1 -1
  47. package/dist/components/components.js +920 -318
  48. package/dist/components/content/avatar/avatar.js +1 -1
  49. package/dist/components/content/avatar/avatar.js.map +1 -1
  50. package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
  51. package/dist/components/content/avatar-group/avatar-group.js +2 -1
  52. package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
  53. package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
  54. package/dist/components/content/icon/icon-gallery-status.js +12 -6
  55. package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
  56. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  57. package/dist/components/content/icon/icon-registry.js +373 -372
  58. package/dist/components/content/icon/icon-registry.js.map +1 -1
  59. package/dist/components/content/image/image.js +1 -1
  60. package/dist/components/content/image/image.js.map +1 -1
  61. package/dist/components/content/tag/tag.d.ts +3 -3
  62. package/dist/components/content/tag/tag.js +3 -3
  63. package/dist/components/content/tag/tag.template.js +3 -3
  64. package/dist/components/content/tag/tag.template.js.map +1 -1
  65. package/dist/components/content/title/title.js +1 -1
  66. package/dist/components/content/title/title.js.map +1 -1
  67. package/dist/components/content/token/token.d.ts +6 -4
  68. package/dist/components/content/token/token.d.ts.map +1 -1
  69. package/dist/components/content/token/token.js +6 -4
  70. package/dist/components/content/token/token.js.map +1 -1
  71. package/dist/components/content/token/token.template.js +1 -1
  72. package/dist/components/content/token/token.template.js.map +1 -1
  73. package/dist/components/{reflect-non-default-B9wQcnne.js → decorate-DD7uUxHb.js} +16 -1
  74. package/dist/components/{defer-focus-CtZ0JSne.js → defer-focus-dzorHsCQ.js} +2 -2
  75. package/dist/components/{dev-checks-Bl2WXSBI.js → dev-checks-CLB9G43h.js} +12 -2
  76. package/dist/components/icon-_Eox7ZfO.js +968 -0
  77. package/dist/components/{icon-button-BJR_r6Wo.js → icon-button-8gvQCwCW.js} +8 -11
  78. package/dist/components/{input-modality-CiPLYYMN.js → input-modality-D_CY185R.js} +8 -2
  79. package/dist/components/inputs/file-field/file-field.js +1 -1
  80. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  81. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +20 -1
  82. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  83. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +97 -3
  84. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  85. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  86. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +134 -4
  87. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  88. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts +1 -0
  89. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts.map +1 -1
  90. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +21 -1
  91. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
  92. package/dist/components/inputs/search-field/search-field.d.ts +2 -2
  93. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  94. package/dist/components/inputs/search-field/search-field.js +1 -1
  95. package/dist/components/inputs/search-field/search-field.template.js +1 -1
  96. package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
  97. package/dist/components/inputs/segmented-control/segmented-control.d.ts +2 -2
  98. package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
  99. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  100. package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
  101. package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
  102. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
  103. package/dist/components/inputs/slider/slider.styles.js +2 -1
  104. package/dist/components/inputs/slider/slider.styles.js.map +1 -1
  105. package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
  106. package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
  107. package/dist/components/inputs/time-picker/time-picker.d.ts +11 -3
  108. package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
  109. package/dist/components/inputs/time-picker/time-picker.js +31 -15
  110. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  111. package/dist/components/inputs/time-picker/time-picker.template.d.ts.map +1 -1
  112. package/dist/components/inputs/time-picker/time-picker.template.js +3 -0
  113. package/dist/components/inputs/time-picker/time-picker.template.js.map +1 -1
  114. package/dist/components/inputs/toggle-button/toggle-button.d.ts +2 -2
  115. package/dist/components/inputs/toggle-button/toggle-button.js +3 -3
  116. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  117. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  118. package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -10
  119. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  120. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +1 -1
  121. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  122. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -3
  123. package/dist/components/layout/card/card.js +1 -1
  124. package/dist/components/layout/card/card.js.map +1 -1
  125. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  126. package/dist/components/layout/card/card.styles.js +3 -1
  127. package/dist/components/layout/card/card.styles.js.map +1 -1
  128. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  129. package/dist/components/layout/kanban/kanban.js +2 -1
  130. package/dist/components/layout/kanban/kanban.js.map +1 -1
  131. package/dist/components/layout/page/page.d.ts.map +1 -1
  132. package/dist/components/layout/page/page.js +3 -2
  133. package/dist/components/layout/page/page.js.map +1 -1
  134. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  135. package/dist/components/layout/page/page.styles.js +3 -2
  136. package/dist/components/layout/page/page.styles.js.map +1 -1
  137. package/dist/components/layout/page-footer/page-footer.d.ts +5 -2
  138. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  139. package/dist/components/layout/page-footer/page-footer.js +5 -2
  140. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  141. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  142. package/dist/components/layout/page-footer/page-footer.template.js +2 -4
  143. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  144. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
  145. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  146. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +2 -2
  147. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  148. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  149. package/dist/components/layout/page-sections/hero/hero.js +2 -2
  150. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  151. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
  152. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  153. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +2 -2
  154. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  155. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
  156. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  157. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -2
  158. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  159. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +1 -1
  160. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  161. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +4 -4
  162. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  163. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
  164. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  165. package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -2
  166. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  167. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
  168. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  169. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -2
  170. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  171. package/dist/components/layout/popover/popover.d.ts +1 -2
  172. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  173. package/dist/components/layout/popover/popover.js +10 -12
  174. package/dist/components/layout/popover/popover.js.map +1 -1
  175. package/dist/components/layout/sheet/sheet.d.ts +1 -0
  176. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  177. package/dist/components/layout/sheet/sheet.js +6 -1
  178. package/dist/components/layout/sheet/sheet.js.map +1 -1
  179. package/dist/components/layout/spacer/spacer.js +1 -1
  180. package/dist/components/layout/spacer/spacer.js.map +1 -1
  181. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  182. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +2 -1
  183. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  184. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  185. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -2
  186. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  187. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  188. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
  189. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  190. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  191. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +3 -2
  192. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  193. package/dist/components/layout/window/window.d.ts +1 -0
  194. package/dist/components/layout/window/window.d.ts.map +1 -1
  195. package/dist/components/layout/window/window.js +7 -1
  196. package/dist/components/layout/window/window.js.map +1 -1
  197. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +5 -2
  198. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  199. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -4
  200. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  201. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +3 -3
  202. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
  203. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  204. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
  205. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
  206. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  207. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -2
  208. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
  209. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +2 -2
  210. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  211. package/dist/components/lists-and-tables/list/list.js +4 -1
  212. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  213. package/dist/components/lists-and-tables/list-item/list-item.d.ts +12 -9
  214. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  215. package/dist/components/lists-and-tables/list-item/list-item.js +17 -11
  216. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  217. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  218. package/dist/components/lists-and-tables/list-item/list-item.styles.js +20 -0
  219. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  220. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  221. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +6 -0
  222. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  223. package/dist/components/lists-and-tables/table/table.js +5 -5
  224. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  225. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -2
  226. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  227. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -2
  228. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  229. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
  230. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +2 -4
  231. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
  232. package/dist/components/navigation/link/link.d.ts +7 -4
  233. package/dist/components/navigation/link/link.d.ts.map +1 -1
  234. package/dist/components/navigation/link/link.js +7 -4
  235. package/dist/components/navigation/link/link.js.map +1 -1
  236. package/dist/components/navigation/link/link.template.js +5 -5
  237. package/dist/components/navigation/link/link.template.js.map +1 -1
  238. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
  239. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  240. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  241. package/dist/components/navigation/pagination/pagination.js +3 -2
  242. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  243. package/dist/components/navigation/tab-bar/tab-bar.d.ts +18 -2
  244. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  245. package/dist/components/navigation/tab-bar/tab-bar.js +51 -3
  246. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  247. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  248. package/dist/components/navigation/tab-bar/tab-bar.template.js +5 -3
  249. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  250. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
  251. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  252. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts +4 -0
  253. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts.map +1 -1
  254. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +26 -2
  255. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
  256. package/dist/components/status-and-feedback/banner/banner.js +1 -1
  257. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  258. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -2
  259. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  260. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +1 -1
  261. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  262. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
  263. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  264. package/dist/components/status-and-feedback/notification/notification.js +2 -2
  265. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  266. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -4
  267. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  268. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -4
  269. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  270. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +5 -2
  271. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  272. package/dist/components/status-and-feedback/step-bar/step-bar.js +6 -3
  273. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  274. package/dist/components/status-and-feedback/step-bar/step-bar.template.js +1 -1
  275. package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
  276. package/dist/components/{visibility-mixin-DrsvxcmK.js → visibility-mixin-Dzn48SL8.js} +1 -1
  277. package/dist/css/variables.css +6 -0
  278. package/dist/nldd.min.js +1464 -1322
  279. package/dist/types/vue.d.ts +20 -14
  280. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  281. package/dist/utilities/dev-rules.generated.js +12 -2
  282. package/dist/utilities/dev-rules.generated.js.map +1 -1
  283. package/dist/utilities/input-modality.d.ts.map +1 -1
  284. package/dist/utilities/input-modality.js +4 -2
  285. package/dist/utilities/input-modality.js.map +1 -1
  286. package/dist/utilities/page-section-mixin.d.ts +10 -4
  287. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  288. package/dist/utilities/page-section-mixin.js +29 -23
  289. package/dist/utilities/page-section-mixin.js.map +1 -1
  290. package/dist/utilities/return-focus.d.ts +44 -0
  291. package/dist/utilities/return-focus.d.ts.map +1 -0
  292. package/dist/utilities/return-focus.js +99 -0
  293. package/dist/utilities/return-focus.js.map +1 -0
  294. package/dist/utilities/slot-content.d.ts +30 -0
  295. package/dist/utilities/slot-content.d.ts.map +1 -0
  296. package/dist/utilities/slot-content.js +38 -0
  297. package/dist/utilities/slot-content.js.map +1 -0
  298. package/lint/data.generated.json +1 -1
  299. package/package.json +1 -1
  300. package/dist/components/decorate-Bwufpnmp.js +0 -16
  301. package/dist/components/icon-BH4iy_z4.js +0 -968
@@ -467,7 +467,7 @@
467
467
  "text": "string"
468
468
  },
469
469
  "default": "''",
470
- "description": "Icon name for the start icon (before text). When not set, the start-icon slot is used.",
470
+ "description": "Icon name for the start icon (before text). An icon in the start-icon slot wins.",
471
471
  "attribute": "start-icon"
472
472
  },
473
473
  {
@@ -477,7 +477,7 @@
477
477
  "text": "string"
478
478
  },
479
479
  "default": "''",
480
- "description": "Icon name for the end icon (after text). When not set, the end-icon slot is used.",
480
+ "description": "Icon name for the end icon (after text). An icon in the end-icon slot wins.",
481
481
  "attribute": "end-icon"
482
482
  },
483
483
  {
@@ -953,15 +953,15 @@
953
953
  "slots": [
954
954
  {
955
955
  "name": "text",
956
- "description": "Slot for custom button content (e.g. text with inline markup). Used when the text attribute is empty or not set (an empty string counts as \"not set\", since the attribute and the unset property are indistinguishable). Provide accessible-label when the slotted content isn't plain text."
956
+ "description": "Slot for custom button content (e.g. text with inline markup). Wins over `text`. Provide accessible-label when the slotted content isn't plain text."
957
957
  },
958
958
  {
959
959
  "name": "start-icon",
960
- "description": "Slot for a custom start icon (e.g. custom SVG). Only used when start-icon attribute is not set."
960
+ "description": "Slot for a custom start icon (e.g. custom SVG). Wins over `start-icon`."
961
961
  },
962
962
  {
963
963
  "name": "end-icon",
964
- "description": "Slot for a custom end icon (e.g. custom SVG). Only used when end-icon attribute is not set."
964
+ "description": "Slot for a custom end icon (e.g. custom SVG). Wins over `end-icon`."
965
965
  },
966
966
  {
967
967
  "name": "popup",
@@ -1187,7 +1187,7 @@
1187
1187
  "text": "string"
1188
1188
  },
1189
1189
  "default": "''",
1190
- "description": "Icon name for the nldd-icon element. When not set, the icon slot is used,\nfalling back to a placeholder icon when that slot is also empty.",
1190
+ "description": "Icon name for the nldd-icon element. An icon in the icon slot wins; with\nneither, a placeholder icon shows.",
1191
1191
  "attribute": "icon"
1192
1192
  },
1193
1193
  {
@@ -1609,7 +1609,7 @@
1609
1609
  "slots": [
1610
1610
  {
1611
1611
  "name": "icon",
1612
- "description": "Slot for a custom icon (e.g. custom SVG). Only used when icon attribute is not set; falls back to a placeholder icon when the slot is empty."
1612
+ "description": "Slot for a custom icon (e.g. custom SVG). Wins over `icon`; falls back to a placeholder icon when neither is set."
1613
1613
  },
1614
1614
  {
1615
1615
  "name": "popup",
@@ -1769,6 +1769,12 @@
1769
1769
  "kind": "class",
1770
1770
  "description": "A single item within an nldd-menu.",
1771
1771
  "name": "NLDDMenuItem",
1772
+ "slots": [
1773
+ {
1774
+ "name": "icon",
1775
+ "description": "An icon of your own before the text, such as an `<img>`: one that is not in the icon set. Wins over `icon`."
1776
+ }
1777
+ ],
1772
1778
  "members": [
1773
1779
  {
1774
1780
  "kind": "field",
@@ -2015,7 +2021,7 @@
2015
2021
  "type": {
2016
2022
  "text": "string"
2017
2023
  },
2018
- "description": "Icon name rendered before the text.",
2024
+ "description": "Icon name rendered before the text. An icon in the `icon` slot takes its place.",
2019
2025
  "name": "icon",
2020
2026
  "default": "''",
2021
2027
  "fieldName": "icon"
@@ -2299,6 +2305,30 @@
2299
2305
  ],
2300
2306
  "description": "The menu-item under a point, piercing shadow boundaries.\n`document.elementFromPoint` stops at the outermost shadow host, so a menu\nnested inside another component's shadow DOM (nldd-split-button, say) would\nresolve to that host and never find the item. Descending the shadow roots\nrestores it and is a no-op for light-DOM menus."
2301
2307
  },
2308
+ {
2309
+ "kind": "function",
2310
+ "name": "menuElementFromPoint",
2311
+ "return": {
2312
+ "type": {
2313
+ "text": "Element | null"
2314
+ }
2315
+ },
2316
+ "parameters": [
2317
+ {
2318
+ "name": "x",
2319
+ "type": {
2320
+ "text": "number"
2321
+ }
2322
+ },
2323
+ {
2324
+ "name": "y",
2325
+ "type": {
2326
+ "text": "number"
2327
+ }
2328
+ }
2329
+ ],
2330
+ "description": "The element under a point, in the tree of the menu it lies in. Like\n`menuItemFromPoint` it descends shadow roots, but only until it reaches a\nmenu, so an item still resolves to the item and not to the inside of it.\nNull where the point is on nothing."
2331
+ },
2302
2332
  {
2303
2333
  "kind": "class",
2304
2334
  "description": "The pointer gestures of a menu, each with its own coordinates and listeners:\n\n1. **Press, drag and release.** A native `<select>` lets you press on one\n option, drag to another and release to pick that one. Click events don't\n fire across two elements, so the release is caught on document and, when\n it lands on another enabled item, that item is selected. The click on the\n pressed item still owns a press without a drag.\n2. **No press flash while scrolling.** On touch, pressing an item sets\n :active and the sticky :hover lands on it, so the press highlight shows.\n When the gesture turns into a scroll of a cramped menu, :active lingers\n until the browser recognizes the pan. Past the threshold the host gets\n `scroll-active`, and the styles drop the press highlight while it is set.\n A tap never moves that far, so it keeps its brief feedback.\n3. **A tap beside the menu.** An outside touch is also how a page scroll\n begins, so the menu only hears of it once the finger lifts without\n having moved past the threshold.",
@@ -2436,6 +2466,14 @@
2436
2466
  "module": "src/components/actions/menu/menu.pointer.ts"
2437
2467
  }
2438
2468
  },
2469
+ {
2470
+ "kind": "js",
2471
+ "name": "menuElementFromPoint",
2472
+ "declaration": {
2473
+ "name": "menuElementFromPoint",
2474
+ "module": "src/components/actions/menu/menu.pointer.ts"
2475
+ }
2476
+ },
2439
2477
  {
2440
2478
  "kind": "js",
2441
2479
  "name": "MenuPointerController",
@@ -2845,8 +2883,7 @@
2845
2883
  },
2846
2884
  "default": "''",
2847
2885
  "description": "Explicit width, pinned exactly (sets --_menu-width and clamps min/max to it).\nLeave unset to let the menu size to its content between a minimum and a\nviewport-aware maximum of min(100vw - inset, 640px).",
2848
- "attribute": "width",
2849
- "reflects": true
2886
+ "attribute": "width"
2850
2887
  },
2851
2888
  {
2852
2889
  "kind": "field",
@@ -6869,7 +6906,7 @@
6869
6906
  },
6870
6907
  "default": "''",
6871
6908
  "fieldName": "text",
6872
- "description": "Tag text (alternative to the default slot)"
6909
+ "description": "Tag text. Content in the default slot wins."
6873
6910
  },
6874
6911
  {
6875
6912
  "name": "icon",
@@ -6899,11 +6936,11 @@
6899
6936
  "slots": [
6900
6937
  {
6901
6938
  "name": "",
6902
- "description": "Tag text"
6939
+ "description": "Tag text. Wins over `text`."
6903
6940
  },
6904
6941
  {
6905
6942
  "name": "icon",
6906
- "description": "Custom icon before the text"
6943
+ "description": "Custom icon before the text. Wins over `icon`."
6907
6944
  }
6908
6945
  ]
6909
6946
  }
@@ -7392,7 +7429,7 @@
7392
7429
  "text": "string"
7393
7430
  },
7394
7431
  "default": "''",
7395
- "description": "Token text. Falls back to the default slot when unset, so slotted or richer\ncontent keeps working.",
7432
+ "description": "Token text. Content in the default slot wins.",
7396
7433
  "attribute": "text"
7397
7434
  },
7398
7435
  {
@@ -7496,7 +7533,7 @@
7496
7533
  "text": "string"
7497
7534
  },
7498
7535
  "default": "''",
7499
- "description": "Token text; falls back to the default slot when unset.",
7536
+ "description": "Token text. Content in the default slot wins.",
7500
7537
  "fieldName": "text"
7501
7538
  },
7502
7539
  {
@@ -7575,7 +7612,7 @@
7575
7612
  "slots": [
7576
7613
  {
7577
7614
  "name": "",
7578
- "description": "Token text"
7615
+ "description": "Token text. Wins over `text`."
7579
7616
  },
7580
7617
  {
7581
7618
  "name": "menu",
@@ -15839,6 +15876,16 @@
15839
15876
  "attribute": "size",
15840
15877
  "reflects": true
15841
15878
  },
15879
+ {
15880
+ "kind": "field",
15881
+ "name": "centered",
15882
+ "type": {
15883
+ "text": "boolean"
15884
+ },
15885
+ "default": "false",
15886
+ "attribute": "centered",
15887
+ "reflects": true
15888
+ },
15842
15889
  {
15843
15890
  "kind": "field",
15844
15891
  "name": "length",
@@ -16282,7 +16329,16 @@
16282
16329
  "expandedType": {
16283
16330
  "text": "'lg' | 'md' | 'sm'"
16284
16331
  },
16285
- "description": "'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."
16332
+ "description": "'sm' | 'md' (default) | 'lg'. 'lg' has boxes 56px tall with larger characters, for a page where the code is the only thing to do, such as signing in. Where the boxes do not fit the width, the field steps down a size, to md and then sm: a code never wraps onto a second line. Where not even sm fits, the field shows the code in a text field of its own size."
16333
+ },
16334
+ {
16335
+ "name": "centered",
16336
+ "type": {
16337
+ "text": "boolean"
16338
+ },
16339
+ "default": "false",
16340
+ "fieldName": "centered",
16341
+ "description": "Puts the boxes in the middle of the row, as on a sign-in page where the code is the only field. The field keeps the full width of the row, so it still sees when the boxes no longer fit and steps down a size; centering it from outside, with the alignment of its parent, would shrink it to its boxes and take that away."
16286
16342
  },
16287
16343
  {
16288
16344
  "name": "length",
@@ -18768,10 +18824,10 @@
18768
18824
  "text": "SearchButtonAppearance | null"
18769
18825
  },
18770
18826
  "default": "null",
18771
- "description": "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.",
18827
+ "description": "Shows a search button on the right, in the appearance you name: 'secondary' (also with no value) | 'primary'. Leave it out for no button: Enter searches as well. 'primary' 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.",
18772
18828
  "fieldName": "searchButton",
18773
18829
  "expandedType": {
18774
- "text": "'' | 'accent-filled' | 'neutral-tinted'"
18830
+ "text": "'' | 'primary' | 'secondary'"
18775
18831
  }
18776
18832
  },
18777
18833
  {
@@ -19056,7 +19112,7 @@
19056
19112
  "text": "string"
19057
19113
  },
19058
19114
  "default": "''",
19059
- "description": "Icon name for nldd-icon. When not set, the icon slot is used; the icon and\nicon-and-text variants show a placeholder icon when neither is provided.",
19115
+ "description": "Icon name for nldd-icon. An icon in the icon slot wins; the icon and\nicon-and-text variants show a placeholder icon when neither is provided.",
19060
19116
  "attribute": "icon"
19061
19117
  },
19062
19118
  {
@@ -19283,7 +19339,7 @@
19283
19339
  "slots": [
19284
19340
  {
19285
19341
  "name": "icon",
19286
- "description": "Slot for a custom icon (e.g. custom SVG). Only used when icon attribute is not set."
19342
+ "description": "Slot for a custom icon (e.g. custom SVG). Wins over `icon`."
19287
19343
  }
19288
19344
  ]
19289
19345
  },
@@ -28696,7 +28752,7 @@
28696
28752
  "text": "string"
28697
28753
  },
28698
28754
  "default": "''",
28699
- "description": "Icon name for the nldd-icon element. When not set, the icon slot is used; the\nicon and icon-and-text variants show a placeholder icon when neither is provided.",
28755
+ "description": "Icon name for the nldd-icon element. An icon in the icon slot wins; the\nicon and icon-and-text variants show a placeholder icon when neither is provided.",
28700
28756
  "attribute": "icon"
28701
28757
  },
28702
28758
  {
@@ -29236,7 +29292,7 @@
29236
29292
  "slots": [
29237
29293
  {
29238
29294
  "name": "icon",
29239
- "description": "Slot for a custom icon (e.g. custom SVG). Only used when icon attribute is not set."
29295
+ "description": "Slot for a custom icon (e.g. custom SVG). Wins over `icon` and `selected-icon`."
29240
29296
  }
29241
29297
  ]
29242
29298
  }
@@ -31812,7 +31868,7 @@
31812
31868
  "slots": [
31813
31869
  {
31814
31870
  "name": "",
31815
- "description": "Item label (alternative to `text`)."
31871
+ "description": "Item label. Wins over `text`."
31816
31872
  }
31817
31873
  ],
31818
31874
  "members": [
@@ -31841,7 +31897,7 @@
31841
31897
  "type": {
31842
31898
  "text": "string"
31843
31899
  },
31844
- "description": "Item label. Falls back to the default slot.",
31900
+ "description": "Item label. Content in the default slot wins.",
31845
31901
  "name": "text",
31846
31902
  "default": "''",
31847
31903
  "fieldName": "text"
@@ -38732,7 +38788,7 @@
38732
38788
  },
38733
38789
  "default": "''",
38734
38790
  "fieldName": "icon",
38735
- "description": "Icon name (renders `<nldd-icon>`). Takes precedence over the default slot."
38791
+ "description": "Icon name (renders `<nldd-icon>`). Content in the default slot wins."
38736
38792
  },
38737
38793
  {
38738
38794
  "name": "hide-below",
@@ -38779,7 +38835,7 @@
38779
38835
  "slots": [
38780
38836
  {
38781
38837
  "name": "",
38782
- "description": "Fallback for custom icon content when `icon` is not set."
38838
+ "description": "Custom icon content, for iconography outside the icon set. Wins over `icon`."
38783
38839
  }
38784
38840
  ]
38785
38841
  }
@@ -39504,7 +39560,7 @@
39504
39560
  },
39505
39561
  "default": "''",
39506
39562
  "fieldName": "text",
39507
- "description": "Main text content. Supports **bold** syntax for inline bold segments. Falls back to default slot."
39563
+ "description": "Main text content. Supports **bold** syntax for inline bold segments. Content in the default slot wins."
39508
39564
  },
39509
39565
  {
39510
39566
  "name": "supporting-text",
@@ -39603,7 +39659,7 @@
39603
39659
  },
39604
39660
  {
39605
39661
  "name": "",
39606
- "description": "(default) Rich content for the main text region. Overrides the `text` attribute when content is assigned."
39662
+ "description": "(default) Rich content for the main text region. Wins over `text`."
39607
39663
  },
39608
39664
  {
39609
39665
  "name": "supporting-text",
@@ -39905,7 +39961,7 @@
39905
39961
  },
39906
39962
  "default": "''",
39907
39963
  "fieldName": "text",
39908
- "description": "Title text content. Supports **bold** syntax for inline bold segments. Falls back to default slot."
39964
+ "description": "Title text content. Supports **bold** syntax for inline bold segments. Content in the default slot wins."
39909
39965
  },
39910
39966
  {
39911
39967
  "name": "supporting-text",
@@ -40013,7 +40069,7 @@
40013
40069
  },
40014
40070
  {
40015
40071
  "name": "",
40016
- "description": "(default) Rich content for the title. Overrides the `text` attribute when content is assigned."
40072
+ "description": "(default) Rich content for the title. Wins over `text`."
40017
40073
  },
40018
40074
  {
40019
40075
  "name": "supporting-text",
@@ -41441,7 +41497,7 @@
41441
41497
  "slots": [
41442
41498
  {
41443
41499
  "name": "",
41444
- "description": "Item label (alternative to `text`)."
41500
+ "description": "Item label. Wins over `text`."
41445
41501
  }
41446
41502
  ],
41447
41503
  "members": [
@@ -41497,7 +41553,7 @@
41497
41553
  "type": {
41498
41554
  "text": "string"
41499
41555
  },
41500
- "description": "Item label. Falls back to the default slot.",
41556
+ "description": "Item label. Content in the default slot wins.",
41501
41557
  "name": "text",
41502
41558
  "default": "''",
41503
41559
  "fieldName": "text"
@@ -42225,7 +42281,7 @@
42225
42281
  },
42226
42282
  "default": "''",
42227
42283
  "fieldName": "text",
42228
- "description": "Link text (alternative to the default slot)"
42284
+ "description": "Link text. Content in the default slot wins."
42229
42285
  },
42230
42286
  {
42231
42287
  "name": "start-icon",
@@ -42301,15 +42357,15 @@
42301
42357
  "slots": [
42302
42358
  {
42303
42359
  "name": "",
42304
- "description": "Link text (alternative to the text attribute)"
42360
+ "description": "Link text. Wins over `text`."
42305
42361
  },
42306
42362
  {
42307
42363
  "name": "start-icon",
42308
- "description": "Custom icon before the text"
42364
+ "description": "Custom icon before the text. Wins over `start-icon`."
42309
42365
  },
42310
42366
  {
42311
42367
  "name": "end-icon",
42312
- "description": "Custom icon after the text"
42368
+ "description": "Custom icon after the text. Wins over `end-icon`."
42313
42369
  }
42314
42370
  ]
42315
42371
  }
@@ -43141,6 +43197,26 @@
43141
43197
  "attribute": "icon",
43142
43198
  "reflects": true
43143
43199
  },
43200
+ {
43201
+ "kind": "field",
43202
+ "name": "controls",
43203
+ "type": {
43204
+ "text": "string"
43205
+ },
43206
+ "default": "''",
43207
+ "description": "Id of the element this tab shows, looked up in the tab's own tree.",
43208
+ "attribute": "controls",
43209
+ "reflects": true
43210
+ },
43211
+ {
43212
+ "kind": "field",
43213
+ "name": "controlsElement",
43214
+ "type": {
43215
+ "text": "Element | null"
43216
+ },
43217
+ "default": "null",
43218
+ "description": "The element this tab shows, for where an id does not reach. Wins over `controls`."
43219
+ },
43144
43220
  {
43145
43221
  "kind": "field",
43146
43222
  "name": "size",
@@ -43223,9 +43299,18 @@
43223
43299
  "text": "string"
43224
43300
  },
43225
43301
  "default": "''",
43226
- "description": "Icon name for nldd-icon; an alternative to the icon slot. The icon and icon-and-text variants fall back to a placeholder icon when neither is provided.",
43302
+ "description": "Icon name for nldd-icon; an icon in the icon slot wins. The icon and icon-and-text variants fall back to a placeholder icon when neither is provided.",
43227
43303
  "fieldName": "icon"
43228
43304
  },
43305
+ {
43306
+ "name": "controls",
43307
+ "type": {
43308
+ "text": "string"
43309
+ },
43310
+ "default": "''",
43311
+ "description": "Id of the element this tab shows, looked up in the tab's own tree. The tab announces it as the content it controls (`aria-controls`). Give that element `role=\"tabpanel\"` and an `aria-labelledby` with the id of this item, which names it after the tab. No effect in a `navigation` bar.",
43312
+ "fieldName": "controls"
43313
+ },
43229
43314
  {
43230
43315
  "name": "size",
43231
43316
  "type": {
@@ -43255,7 +43340,7 @@
43255
43340
  "slots": [
43256
43341
  {
43257
43342
  "name": "icon",
43258
- "description": "Icon content"
43343
+ "description": "Icon content, such as an `<img>`. Wins over `icon`. The overflow menu shows a copy, made again each time the menu opens, so a new `src` shows there too."
43259
43344
  }
43260
43345
  ]
43261
43346
  },
@@ -43494,6 +43579,15 @@
43494
43579
  "privacy": "private",
43495
43580
  "default": "null"
43496
43581
  },
43582
+ {
43583
+ "kind": "field",
43584
+ "name": "_page",
43585
+ "type": {
43586
+ "text": "HTMLElement | null"
43587
+ },
43588
+ "privacy": "private",
43589
+ "default": "null"
43590
+ },
43497
43591
  {
43498
43592
  "kind": "field",
43499
43593
  "name": "_stack",
@@ -46677,7 +46771,7 @@
46677
46771
  "slots": [
46678
46772
  {
46679
46773
  "name": "",
46680
- "description": "Label (an alternative to `text`)"
46774
+ "description": "Label. Wins over `text`."
46681
46775
  }
46682
46776
  ],
46683
46777
  "members": [
@@ -46756,7 +46850,7 @@
46756
46850
  "type": {
46757
46851
  "text": "string"
46758
46852
  },
46759
- "description": "Label under the disc",
46853
+ "description": "Label under the disc. Content in the default slot wins.",
46760
46854
  "name": "text",
46761
46855
  "default": "''",
46762
46856
  "fieldName": "text"
@@ -49147,9 +49241,15 @@
49147
49241
  "kind": "javascript-module",
49148
49242
  "path": "src/utilities/page-section-mixin.ts",
49149
49243
  "declarations": [
49244
+ {
49245
+ "kind": "variable",
49246
+ "name": "pageSectionBackgroundStyles",
49247
+ "default": "css` :host([background=\"base\"]) { --context-parent-background-color: var(--semantics-surfaces-base-background-color); } :host([background=\"tinted\"]) { --context-parent-background-color: var(--semantics-surfaces-tinted-background-color); } :host([background=\"accent-tinted\"]) { --context-parent-background-color: var(--semantics-surfaces-accent-tinted-background-color); } :host([background=\"base\"]), :host([background=\"tinted\"]), :host([background=\"accent-tinted\"]) { background-color: var(--context-parent-background-color); } `",
49248
+ "description": "The surface a `background` paints, and passes on through\n`--context-parent-background-color` so cards and nested sections read the\nsame surface. Every section puts this first in its `styles`."
49249
+ },
49150
49250
  {
49151
49251
  "kind": "mixin",
49152
- "description": "Shared surface controls for the page-section components. Adds three\northogonal capabilities, all written as inline host styles / custom\nproperties (no per-component CSS needed for the background — custom\nproperties inherit through the shadow boundary into the section's block\nelement and slotted content):\n\n- **background**: `inherit` (the default — transparent, shows the ancestor's\n surface) | `base` (the base surface color) | `tinted` | `accent-tinted`\n (a tint of the theme's accent, with the contrast of `tinted`). Setting\n one of those also cascades `--context-parent-background-color` so\n descendants (cards, nested sections) read the same surface.\n- **block padding**: `padding-block` (both edges) with `padding-top`\n / `padding-bottom` per-edge overrides, each with responsive `sm-` /\n `md-` / `lg-` variants (12 attrs total). Token scale `0`–`96`; `0` strips\n the padding. Per breakpoint the section CSS resolves: scope override →\n base override → responsive default. The inline (gutter) padding stays\n design-controlled.\n- **height**: any CSS length (e.g. '400px', '100dvh') applied as the host's\n min-height (so the section is at least that tall) — mirroring how `width`\n maps to the body max-width.\n- **grow**: the section takes the height the page has left, so the footer\n sits at the bottom of a short page. Without it, nldd-page lets its last\n section grow. nldd-page reads this and marks the growing section with\n `data-growing`; it never writes `grow`, which stays the author's.",
49252
+ "description": "Shared surface controls for the page-section components. Adds three\northogonal capabilities. Padding and height are written as custom\nproperties on the host, which inherit through the shadow boundary into the\nsection's block element and slotted content; the background comes from\n`pageSectionBackgroundStyles`:\n\n- **background**: `inherit` (the default — transparent, shows the ancestor's\n surface) | `base` (the base surface color) | `tinted` | `accent-tinted`\n (a tint of the theme's accent, with the contrast of `tinted`). Setting\n one of those also cascades `--context-parent-background-color` so\n descendants (cards, nested sections) read the same surface.\n- **block padding**: `padding-block` (both edges) with `padding-top`\n / `padding-bottom` per-edge overrides, each with responsive `sm-` /\n `md-` / `lg-` variants (12 attrs total). Token scale `0`–`96`; `0` strips\n the padding. Per breakpoint the section CSS resolves: scope override →\n base override → responsive default. The inline (gutter) padding stays\n design-controlled.\n- **height**: any CSS length (e.g. '400px', '100dvh') applied as the host's\n min-height (so the section is at least that tall) — mirroring how `width`\n maps to the body max-width.\n- **grow**: the section takes the height the page has left, so the footer\n sits at the bottom of a short page. Without it, nldd-page lets its last\n section grow. nldd-page reads this and marks the growing section with\n `data-growing`; it never writes `grow`, which stays the author's.",
49153
49253
  "name": "PageSectionMixin",
49154
49254
  "members": [
49155
49255
  {
@@ -49306,16 +49406,6 @@
49306
49406
  }
49307
49407
  ]
49308
49408
  },
49309
- {
49310
- "kind": "method",
49311
- "name": "_applyBackground",
49312
- "privacy": "private",
49313
- "return": {
49314
- "type": {
49315
- "text": "void"
49316
- }
49317
- }
49318
- },
49319
49409
  {
49320
49410
  "kind": "method",
49321
49411
  "name": "_applyPadding",
@@ -49481,6 +49571,14 @@
49481
49571
  }
49482
49572
  ],
49483
49573
  "exports": [
49574
+ {
49575
+ "kind": "js",
49576
+ "name": "pageSectionBackgroundStyles",
49577
+ "declaration": {
49578
+ "name": "pageSectionBackgroundStyles",
49579
+ "module": "src/utilities/page-section-mixin.ts"
49580
+ }
49581
+ },
49484
49582
  {
49485
49583
  "kind": "js",
49486
49584
  "name": "PageSectionMixin",
@@ -50176,6 +50274,134 @@
50176
50274
  }
50177
50275
  ]
50178
50276
  },
50277
+ {
50278
+ "kind": "javascript-module",
50279
+ "path": "src/utilities/return-focus.ts",
50280
+ "declarations": [
50281
+ {
50282
+ "kind": "function",
50283
+ "name": "deepActiveElement",
50284
+ "return": {
50285
+ "type": {
50286
+ "text": "HTMLElement | null"
50287
+ }
50288
+ },
50289
+ "description": "The element that really holds focus, inside any shadow roots."
50290
+ },
50291
+ {
50292
+ "kind": "function",
50293
+ "name": "returnFocus",
50294
+ "return": {
50295
+ "type": {
50296
+ "text": "void"
50297
+ }
50298
+ },
50299
+ "parameters": [
50300
+ {
50301
+ "name": "target",
50302
+ "type": {
50303
+ "text": "HTMLElement | null | undefined"
50304
+ }
50305
+ },
50306
+ {
50307
+ "name": "overlay",
50308
+ "type": {
50309
+ "text": "Element"
50310
+ }
50311
+ }
50312
+ ],
50313
+ "description": "Hands focus back to `target` once `overlay` (a popover, menu, sheet or window)\nhas closed. Call it after the close, with the element that had focus when the\noverlay opened.\n\n- Focus the user moved elsewhere, by a click into a field or Tab out of the\n overlay, stays there. Only focus still in the overlay, on nothing, or on\n `target` itself is handed back.\n- After the keyboard, `target` gets a plain `focus()` and its ring.\n- After a mouse or a finger, it gets no ring. The browser's own close step\n has often moved focus back already, and WebKit draws a ring for that\n script focus. A second `focus()` would be a no-op, so it blurs first and\n focuses with `focusVisible: false`. Chromium leaves the ring off itself.\n A text field keeps its ring, as it does on any click."
50314
+ },
50315
+ {
50316
+ "kind": "class",
50317
+ "description": "Remembers where focus was when an overlay opened, and hands it back when it\ncloses, through `returnFocus`. One per overlay:\n\n```ts\nprivate _focusReturn = new FocusReturn();\n// on open, before the overlay takes focus\nthis._focusReturn.remember(anchor);\n// once it has closed\nthis._focusReturn.restore(this);\n```",
50318
+ "name": "FocusReturn",
50319
+ "members": [
50320
+ {
50321
+ "kind": "field",
50322
+ "name": "_target",
50323
+ "type": {
50324
+ "text": "HTMLElement | null"
50325
+ },
50326
+ "privacy": "private",
50327
+ "default": "null"
50328
+ },
50329
+ {
50330
+ "kind": "field",
50331
+ "name": "_fallback",
50332
+ "type": {
50333
+ "text": "HTMLElement | null"
50334
+ },
50335
+ "privacy": "private",
50336
+ "default": "null"
50337
+ },
50338
+ {
50339
+ "kind": "method",
50340
+ "name": "remember",
50341
+ "return": {
50342
+ "type": {
50343
+ "text": "void"
50344
+ }
50345
+ },
50346
+ "parameters": [
50347
+ {
50348
+ "name": "fallback",
50349
+ "optional": true,
50350
+ "type": {
50351
+ "text": "Element | null"
50352
+ }
50353
+ }
50354
+ ],
50355
+ "description": "Remembers what has focus now, inside any shadow roots, so focus goes\nback to that element and not to the host it sits in. With nothing\nfocused, as after a click on a button in Safari, it remembers\n`fallback`: an overlay's anchor, so Tab goes on from there. The\nfallback also stands in for a remembered element that has left the page\nby the time the overlay closes, as when a framework renders it anew."
50356
+ },
50357
+ {
50358
+ "kind": "method",
50359
+ "name": "restore",
50360
+ "return": {
50361
+ "type": {
50362
+ "text": "void"
50363
+ }
50364
+ },
50365
+ "parameters": [
50366
+ {
50367
+ "name": "overlay",
50368
+ "type": {
50369
+ "text": "Element"
50370
+ }
50371
+ }
50372
+ ],
50373
+ "description": "Hands focus back once `overlay` has closed."
50374
+ }
50375
+ ]
50376
+ }
50377
+ ],
50378
+ "exports": [
50379
+ {
50380
+ "kind": "js",
50381
+ "name": "deepActiveElement",
50382
+ "declaration": {
50383
+ "name": "deepActiveElement",
50384
+ "module": "src/utilities/return-focus.ts"
50385
+ }
50386
+ },
50387
+ {
50388
+ "kind": "js",
50389
+ "name": "returnFocus",
50390
+ "declaration": {
50391
+ "name": "returnFocus",
50392
+ "module": "src/utilities/return-focus.ts"
50393
+ }
50394
+ },
50395
+ {
50396
+ "kind": "js",
50397
+ "name": "FocusReturn",
50398
+ "declaration": {
50399
+ "name": "FocusReturn",
50400
+ "module": "src/utilities/return-focus.ts"
50401
+ }
50402
+ }
50403
+ ]
50404
+ },
50179
50405
  {
50180
50406
  "kind": "javascript-module",
50181
50407
  "path": "src/utilities/row-header-mixin.ts",
@@ -50657,6 +50883,67 @@
50657
50883
  }
50658
50884
  ]
50659
50885
  },
50886
+ {
50887
+ "kind": "javascript-module",
50888
+ "path": "src/utilities/slot-content.ts",
50889
+ "declarations": [
50890
+ {
50891
+ "kind": "function",
50892
+ "name": "hasSlotContent",
50893
+ "return": {
50894
+ "type": {
50895
+ "text": "boolean"
50896
+ }
50897
+ },
50898
+ "parameters": [
50899
+ {
50900
+ "name": "slot",
50901
+ "type": {
50902
+ "text": "HTMLSlotElement"
50903
+ }
50904
+ }
50905
+ ],
50906
+ "description": "Whether a slot holds something to show: an element, or text that is more\nthan whitespace.\n\nA default slot also gets the whitespace and line breaks between the tags of\nthe markup around it, and that whitespace switches off the slot's fallback\ncontent. A component that lets its slot win over an attribute therefore\nrenders the attribute beside the slot, and hides it when this says so."
50907
+ },
50908
+ {
50909
+ "kind": "class",
50910
+ "description": "Tracks whether a slot holds something, for a component whose slot wins over\nan attribute. Pass `onChange` to the slot's `@slotchange` and render the\nattribute only while `has` is false:\n\n```ts\nprivate _textSlot = new SlotContent(this);\n// in the template\nhtml`${this._textSlot.has ? nothing : this.text}<slot",
50911
+ "name": "SlotContent",
50912
+ "members": [
50913
+ {
50914
+ "kind": "field",
50915
+ "name": "has",
50916
+ "type": {
50917
+ "text": "boolean"
50918
+ },
50919
+ "default": "false"
50920
+ },
50921
+ {
50922
+ "kind": "field",
50923
+ "name": "onChange"
50924
+ }
50925
+ ]
50926
+ }
50927
+ ],
50928
+ "exports": [
50929
+ {
50930
+ "kind": "js",
50931
+ "name": "hasSlotContent",
50932
+ "declaration": {
50933
+ "name": "hasSlotContent",
50934
+ "module": "src/utilities/slot-content.ts"
50935
+ }
50936
+ },
50937
+ {
50938
+ "kind": "js",
50939
+ "name": "SlotContent",
50940
+ "declaration": {
50941
+ "name": "SlotContent",
50942
+ "module": "src/utilities/slot-content.ts"
50943
+ }
50944
+ }
50945
+ ]
50946
+ },
50660
50947
  {
50661
50948
  "kind": "javascript-module",
50662
50949
  "path": "src/utilities/spacing-scale.ts",