@nldd/design-system 0.19.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 (275) hide show
  1. package/custom-elements.json +317 -49
  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 +645 -297
  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/image/image.js +1 -1
  54. package/dist/components/content/image/image.js.map +1 -1
  55. package/dist/components/content/tag/tag.d.ts +3 -3
  56. package/dist/components/content/tag/tag.js +3 -3
  57. package/dist/components/content/tag/tag.template.js +3 -3
  58. package/dist/components/content/tag/tag.template.js.map +1 -1
  59. package/dist/components/content/title/title.js +1 -1
  60. package/dist/components/content/title/title.js.map +1 -1
  61. package/dist/components/content/token/token.d.ts +6 -4
  62. package/dist/components/content/token/token.d.ts.map +1 -1
  63. package/dist/components/content/token/token.js +6 -4
  64. package/dist/components/content/token/token.js.map +1 -1
  65. package/dist/components/content/token/token.template.js +1 -1
  66. package/dist/components/content/token/token.template.js.map +1 -1
  67. package/dist/components/{reflect-non-default-B9wQcnne.js → decorate-DD7uUxHb.js} +16 -1
  68. package/dist/components/{defer-focus-BQ3c4mzj.js → defer-focus-dzorHsCQ.js} +2 -2
  69. package/dist/components/{dev-checks-lQ-gHUjV.js → dev-checks-CLB9G43h.js} +5 -0
  70. package/dist/components/{icon-CrBk3W-t.js → icon-_Eox7ZfO.js} +1 -2
  71. package/dist/components/{icon-button-CfpnGzYQ.js → icon-button-8gvQCwCW.js} +8 -11
  72. package/dist/components/{input-modality-CiPLYYMN.js → input-modality-D_CY185R.js} +8 -2
  73. package/dist/components/inputs/file-field/file-field.js +1 -1
  74. package/dist/components/inputs/file-field/file-field.js.map +1 -1
  75. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  76. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -2
  77. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  78. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +2 -2
  79. package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -1
  80. package/dist/components/inputs/segmented-control/segmented-control.d.ts +2 -2
  81. package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
  82. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  83. package/dist/components/inputs/segmented-control/segmented-control.template.js +2 -2
  84. package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
  85. package/dist/components/inputs/swatch-picker/swatch-picker.js +1 -1
  86. package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
  87. package/dist/components/inputs/time-picker/time-picker.js +1 -1
  88. package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
  89. package/dist/components/inputs/toggle-button/toggle-button.d.ts +2 -2
  90. package/dist/components/inputs/toggle-button/toggle-button.js +3 -3
  91. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  92. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  93. package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -10
  94. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  95. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +1 -1
  96. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  97. package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -3
  98. package/dist/components/layout/card/card.js +1 -1
  99. package/dist/components/layout/card/card.js.map +1 -1
  100. package/dist/components/layout/card/card.styles.d.ts.map +1 -1
  101. package/dist/components/layout/card/card.styles.js +3 -1
  102. package/dist/components/layout/card/card.styles.js.map +1 -1
  103. package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
  104. package/dist/components/layout/kanban/kanban.js +2 -1
  105. package/dist/components/layout/kanban/kanban.js.map +1 -1
  106. package/dist/components/layout/page/page.d.ts.map +1 -1
  107. package/dist/components/layout/page/page.js +3 -2
  108. package/dist/components/layout/page/page.js.map +1 -1
  109. package/dist/components/layout/page/page.styles.d.ts.map +1 -1
  110. package/dist/components/layout/page/page.styles.js +3 -2
  111. package/dist/components/layout/page/page.styles.js.map +1 -1
  112. package/dist/components/layout/page-footer/page-footer.d.ts +5 -2
  113. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  114. package/dist/components/layout/page-footer/page-footer.js +5 -2
  115. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  116. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  117. package/dist/components/layout/page-footer/page-footer.template.js +2 -4
  118. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  119. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
  120. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  121. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +2 -2
  122. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  123. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  124. package/dist/components/layout/page-sections/hero/hero.js +2 -2
  125. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  126. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
  127. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  128. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +2 -2
  129. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  130. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
  131. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  132. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +2 -2
  133. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  134. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +1 -1
  135. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  136. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +4 -4
  137. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  138. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
  139. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  140. package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -2
  141. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  142. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
  143. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  144. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +2 -2
  145. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  146. package/dist/components/layout/popover/popover.d.ts +1 -2
  147. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  148. package/dist/components/layout/popover/popover.js +10 -12
  149. package/dist/components/layout/popover/popover.js.map +1 -1
  150. package/dist/components/layout/sheet/sheet.d.ts +1 -0
  151. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  152. package/dist/components/layout/sheet/sheet.js +6 -1
  153. package/dist/components/layout/sheet/sheet.js.map +1 -1
  154. package/dist/components/layout/spacer/spacer.js +1 -1
  155. package/dist/components/layout/spacer/spacer.js.map +1 -1
  156. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  157. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +2 -1
  158. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  159. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  160. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -2
  161. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  162. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  163. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -1
  164. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  165. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
  166. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +3 -2
  167. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
  168. package/dist/components/layout/window/window.d.ts +1 -0
  169. package/dist/components/layout/window/window.d.ts.map +1 -1
  170. package/dist/components/layout/window/window.js +7 -1
  171. package/dist/components/layout/window/window.js.map +1 -1
  172. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +5 -2
  173. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  174. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -4
  175. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  176. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +3 -3
  177. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
  178. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  179. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +2 -1
  180. package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -1
  181. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  182. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -2
  183. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
  184. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +2 -2
  185. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  186. package/dist/components/lists-and-tables/list/list.js +4 -1
  187. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  188. package/dist/components/lists-and-tables/list-item/list-item.d.ts +12 -9
  189. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  190. package/dist/components/lists-and-tables/list-item/list-item.js +17 -11
  191. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  192. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  193. package/dist/components/lists-and-tables/list-item/list-item.styles.js +20 -0
  194. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  195. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  196. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +6 -0
  197. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  198. package/dist/components/lists-and-tables/table/table.js +5 -5
  199. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  200. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -2
  201. package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  202. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -2
  203. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
  204. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
  205. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +2 -4
  206. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
  207. package/dist/components/navigation/link/link.d.ts +7 -4
  208. package/dist/components/navigation/link/link.d.ts.map +1 -1
  209. package/dist/components/navigation/link/link.js +7 -4
  210. package/dist/components/navigation/link/link.js.map +1 -1
  211. package/dist/components/navigation/link/link.template.js +5 -5
  212. package/dist/components/navigation/link/link.template.js.map +1 -1
  213. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
  214. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  215. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  216. package/dist/components/navigation/pagination/pagination.js +3 -2
  217. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  218. package/dist/components/navigation/tab-bar/tab-bar.d.ts +18 -2
  219. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  220. package/dist/components/navigation/tab-bar/tab-bar.js +51 -3
  221. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  222. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  223. package/dist/components/navigation/tab-bar/tab-bar.template.js +5 -3
  224. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  225. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
  226. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  227. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts +4 -0
  228. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts.map +1 -1
  229. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +26 -2
  230. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -1
  231. package/dist/components/status-and-feedback/banner/banner.js +1 -1
  232. package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
  233. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -2
  234. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
  235. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +1 -1
  236. package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
  237. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
  238. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  239. package/dist/components/status-and-feedback/notification/notification.js +2 -2
  240. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  241. package/dist/components/status-and-feedback/progress-bar/progress-bar.js +4 -4
  242. package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
  243. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -4
  244. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  245. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +5 -2
  246. package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
  247. package/dist/components/status-and-feedback/step-bar/step-bar.js +6 -3
  248. package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
  249. package/dist/components/status-and-feedback/step-bar/step-bar.template.js +1 -1
  250. package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
  251. package/dist/components/{visibility-mixin-BMtETgjk.js → visibility-mixin-Dzn48SL8.js} +1 -1
  252. package/dist/css/variables.css +6 -0
  253. package/dist/nldd.min.js +823 -767
  254. package/dist/types/vue.d.ts +15 -11
  255. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  256. package/dist/utilities/dev-rules.generated.js +5 -0
  257. package/dist/utilities/dev-rules.generated.js.map +1 -1
  258. package/dist/utilities/input-modality.d.ts.map +1 -1
  259. package/dist/utilities/input-modality.js +4 -2
  260. package/dist/utilities/input-modality.js.map +1 -1
  261. package/dist/utilities/page-section-mixin.d.ts +10 -4
  262. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  263. package/dist/utilities/page-section-mixin.js +29 -23
  264. package/dist/utilities/page-section-mixin.js.map +1 -1
  265. package/dist/utilities/return-focus.d.ts +44 -0
  266. package/dist/utilities/return-focus.d.ts.map +1 -0
  267. package/dist/utilities/return-focus.js +99 -0
  268. package/dist/utilities/return-focus.js.map +1 -0
  269. package/dist/utilities/slot-content.d.ts +30 -0
  270. package/dist/utilities/slot-content.d.ts.map +1 -0
  271. package/dist/utilities/slot-content.js +38 -0
  272. package/dist/utilities/slot-content.js.map +1 -0
  273. package/lint/data.generated.json +1 -1
  274. package/package.json +1 -1
  275. package/dist/components/decorate-C7khEuc7.js +0 -16
@@ -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",
@@ -19075,7 +19112,7 @@
19075
19112
  "text": "string"
19076
19113
  },
19077
19114
  "default": "''",
19078
- "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.",
19079
19116
  "attribute": "icon"
19080
19117
  },
19081
19118
  {
@@ -19302,7 +19339,7 @@
19302
19339
  "slots": [
19303
19340
  {
19304
19341
  "name": "icon",
19305
- "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`."
19306
19343
  }
19307
19344
  ]
19308
19345
  },
@@ -28715,7 +28752,7 @@
28715
28752
  "text": "string"
28716
28753
  },
28717
28754
  "default": "''",
28718
- "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.",
28719
28756
  "attribute": "icon"
28720
28757
  },
28721
28758
  {
@@ -29255,7 +29292,7 @@
29255
29292
  "slots": [
29256
29293
  {
29257
29294
  "name": "icon",
29258
- "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`."
29259
29296
  }
29260
29297
  ]
29261
29298
  }
@@ -31831,7 +31868,7 @@
31831
31868
  "slots": [
31832
31869
  {
31833
31870
  "name": "",
31834
- "description": "Item label (alternative to `text`)."
31871
+ "description": "Item label. Wins over `text`."
31835
31872
  }
31836
31873
  ],
31837
31874
  "members": [
@@ -31860,7 +31897,7 @@
31860
31897
  "type": {
31861
31898
  "text": "string"
31862
31899
  },
31863
- "description": "Item label. Falls back to the default slot.",
31900
+ "description": "Item label. Content in the default slot wins.",
31864
31901
  "name": "text",
31865
31902
  "default": "''",
31866
31903
  "fieldName": "text"
@@ -38751,7 +38788,7 @@
38751
38788
  },
38752
38789
  "default": "''",
38753
38790
  "fieldName": "icon",
38754
- "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."
38755
38792
  },
38756
38793
  {
38757
38794
  "name": "hide-below",
@@ -38798,7 +38835,7 @@
38798
38835
  "slots": [
38799
38836
  {
38800
38837
  "name": "",
38801
- "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`."
38802
38839
  }
38803
38840
  ]
38804
38841
  }
@@ -39523,7 +39560,7 @@
39523
39560
  },
39524
39561
  "default": "''",
39525
39562
  "fieldName": "text",
39526
- "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."
39527
39564
  },
39528
39565
  {
39529
39566
  "name": "supporting-text",
@@ -39622,7 +39659,7 @@
39622
39659
  },
39623
39660
  {
39624
39661
  "name": "",
39625
- "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`."
39626
39663
  },
39627
39664
  {
39628
39665
  "name": "supporting-text",
@@ -39924,7 +39961,7 @@
39924
39961
  },
39925
39962
  "default": "''",
39926
39963
  "fieldName": "text",
39927
- "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."
39928
39965
  },
39929
39966
  {
39930
39967
  "name": "supporting-text",
@@ -40032,7 +40069,7 @@
40032
40069
  },
40033
40070
  {
40034
40071
  "name": "",
40035
- "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`."
40036
40073
  },
40037
40074
  {
40038
40075
  "name": "supporting-text",
@@ -41460,7 +41497,7 @@
41460
41497
  "slots": [
41461
41498
  {
41462
41499
  "name": "",
41463
- "description": "Item label (alternative to `text`)."
41500
+ "description": "Item label. Wins over `text`."
41464
41501
  }
41465
41502
  ],
41466
41503
  "members": [
@@ -41516,7 +41553,7 @@
41516
41553
  "type": {
41517
41554
  "text": "string"
41518
41555
  },
41519
- "description": "Item label. Falls back to the default slot.",
41556
+ "description": "Item label. Content in the default slot wins.",
41520
41557
  "name": "text",
41521
41558
  "default": "''",
41522
41559
  "fieldName": "text"
@@ -42244,7 +42281,7 @@
42244
42281
  },
42245
42282
  "default": "''",
42246
42283
  "fieldName": "text",
42247
- "description": "Link text (alternative to the default slot)"
42284
+ "description": "Link text. Content in the default slot wins."
42248
42285
  },
42249
42286
  {
42250
42287
  "name": "start-icon",
@@ -42320,15 +42357,15 @@
42320
42357
  "slots": [
42321
42358
  {
42322
42359
  "name": "",
42323
- "description": "Link text (alternative to the text attribute)"
42360
+ "description": "Link text. Wins over `text`."
42324
42361
  },
42325
42362
  {
42326
42363
  "name": "start-icon",
42327
- "description": "Custom icon before the text"
42364
+ "description": "Custom icon before the text. Wins over `start-icon`."
42328
42365
  },
42329
42366
  {
42330
42367
  "name": "end-icon",
42331
- "description": "Custom icon after the text"
42368
+ "description": "Custom icon after the text. Wins over `end-icon`."
42332
42369
  }
42333
42370
  ]
42334
42371
  }
@@ -43160,6 +43197,26 @@
43160
43197
  "attribute": "icon",
43161
43198
  "reflects": true
43162
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
+ },
43163
43220
  {
43164
43221
  "kind": "field",
43165
43222
  "name": "size",
@@ -43242,9 +43299,18 @@
43242
43299
  "text": "string"
43243
43300
  },
43244
43301
  "default": "''",
43245
- "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.",
43246
43303
  "fieldName": "icon"
43247
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
+ },
43248
43314
  {
43249
43315
  "name": "size",
43250
43316
  "type": {
@@ -43274,7 +43340,7 @@
43274
43340
  "slots": [
43275
43341
  {
43276
43342
  "name": "icon",
43277
- "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."
43278
43344
  }
43279
43345
  ]
43280
43346
  },
@@ -43513,6 +43579,15 @@
43513
43579
  "privacy": "private",
43514
43580
  "default": "null"
43515
43581
  },
43582
+ {
43583
+ "kind": "field",
43584
+ "name": "_page",
43585
+ "type": {
43586
+ "text": "HTMLElement | null"
43587
+ },
43588
+ "privacy": "private",
43589
+ "default": "null"
43590
+ },
43516
43591
  {
43517
43592
  "kind": "field",
43518
43593
  "name": "_stack",
@@ -46696,7 +46771,7 @@
46696
46771
  "slots": [
46697
46772
  {
46698
46773
  "name": "",
46699
- "description": "Label (an alternative to `text`)"
46774
+ "description": "Label. Wins over `text`."
46700
46775
  }
46701
46776
  ],
46702
46777
  "members": [
@@ -46775,7 +46850,7 @@
46775
46850
  "type": {
46776
46851
  "text": "string"
46777
46852
  },
46778
- "description": "Label under the disc",
46853
+ "description": "Label under the disc. Content in the default slot wins.",
46779
46854
  "name": "text",
46780
46855
  "default": "''",
46781
46856
  "fieldName": "text"
@@ -49166,9 +49241,15 @@
49166
49241
  "kind": "javascript-module",
49167
49242
  "path": "src/utilities/page-section-mixin.ts",
49168
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
+ },
49169
49250
  {
49170
49251
  "kind": "mixin",
49171
- "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.",
49172
49253
  "name": "PageSectionMixin",
49173
49254
  "members": [
49174
49255
  {
@@ -49325,16 +49406,6 @@
49325
49406
  }
49326
49407
  ]
49327
49408
  },
49328
- {
49329
- "kind": "method",
49330
- "name": "_applyBackground",
49331
- "privacy": "private",
49332
- "return": {
49333
- "type": {
49334
- "text": "void"
49335
- }
49336
- }
49337
- },
49338
49409
  {
49339
49410
  "kind": "method",
49340
49411
  "name": "_applyPadding",
@@ -49500,6 +49571,14 @@
49500
49571
  }
49501
49572
  ],
49502
49573
  "exports": [
49574
+ {
49575
+ "kind": "js",
49576
+ "name": "pageSectionBackgroundStyles",
49577
+ "declaration": {
49578
+ "name": "pageSectionBackgroundStyles",
49579
+ "module": "src/utilities/page-section-mixin.ts"
49580
+ }
49581
+ },
49503
49582
  {
49504
49583
  "kind": "js",
49505
49584
  "name": "PageSectionMixin",
@@ -50195,6 +50274,134 @@
50195
50274
  }
50196
50275
  ]
50197
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
+ },
50198
50405
  {
50199
50406
  "kind": "javascript-module",
50200
50407
  "path": "src/utilities/row-header-mixin.ts",
@@ -50676,6 +50883,67 @@
50676
50883
  }
50677
50884
  ]
50678
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
+ },
50679
50947
  {
50680
50948
  "kind": "javascript-module",
50681
50949
  "path": "src/utilities/spacing-scale.ts",