@nxgt/material 3.79.1 → 3.81.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 (352) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/README.md +48 -8
  3. package/dist/{alert-dialog-653apk3f.js → alert-dialog-DOZ0SfQs.js} +1 -1
  4. package/dist/{async-slice-CXLbQuOc.js → async-slice-BfVokA46.js} +1 -1
  5. package/dist/{button-3op3rtZh.js → button-CSKUtMI3.js} +2 -2
  6. package/dist/{calculator-KqIMBXSh.js → calculator-Cv00UQgR.js} +10 -10
  7. package/dist/calculator-field.js +6 -6
  8. package/dist/{calculator-segment-BlJE1LaS.js → calculator-segment-CwnC2cV_.js} +1 -1
  9. package/dist/calculator.js +1 -1
  10. package/dist/charts.js +3 -3
  11. package/dist/{chip-MuKDwtkG.js → chip-BGn0V6Pt.js} +3 -3
  12. package/dist/{code-editor-Bp2RrdNx.js → code-editor-B25-mWhb.js} +4 -4
  13. package/dist/code-editor.js +4 -4
  14. package/dist/{code-language-items-B7WR5ua_.js → code-language-items-oRjtO3qV.js} +2 -2
  15. package/dist/components/base-content.css +11 -0
  16. package/dist/components/components.css +5 -0
  17. package/dist/components/ui/actions/fab/fab-dock.css +19 -6
  18. package/dist/components/ui/collections/data-table/data-table-items-tiles.css +27 -1
  19. package/dist/components/ui/display/tube-cap/tube-cap.css +87 -0
  20. package/dist/components/ui/layout/app-search/app-search.css +62 -0
  21. package/dist/components/ui/layout/app-shell/activity-backdrop.css +10 -2
  22. package/dist/components/ui/layout/app-shell/app-header.css +108 -0
  23. package/dist/components/ui/layout/navigation-toolbar/navigation-toolbar.css +43 -0
  24. package/dist/{components-CTyNC_zW.js → components-B00kDHzJ.js} +23101 -18734
  25. package/dist/components.js +37 -37
  26. package/dist/{conversion-variant-BDFAxqe9.js → conversion-variant-wZd-G6xR.js} +3 -3
  27. package/dist/{currency-field-DWHB5oms.js → currency-field-DizBTAat.js} +4 -4
  28. package/dist/{date.utils-DUvqcjan.js → date.utils-JTEIo3mM.js} +98 -98
  29. package/dist/{dialog-Bm5LvVlB.js → dialog-B-3s-oXt.js} +3 -3
  30. package/dist/dnd.js +2 -2
  31. package/dist/{dropdown-menu-xlZ6NYUA.js → dropdown-menu-C6rcYGB9.js} +1 -1
  32. package/dist/editor.js +19 -19
  33. package/dist/{empty-state-C0kviQdW.js → empty-state-CSkghnD9.js} +1 -1
  34. package/dist/{financial-variant-CggTpad2.js → financial-variant-igpGRbGw.js} +5 -5
  35. package/dist/{hooks-Dg94jPRq.js → hooks-DvIsom2p.js} +2 -2
  36. package/dist/hooks.js +9 -8
  37. package/dist/{hover-card-B1g55Hi6.js → hover-card-DuaVVKMb.js} +1 -1
  38. package/dist/i18n.js +3 -3
  39. package/dist/{icon-badge-BcW66bRk.js → icon-badge-3ThP6EOl.js} +1 -1
  40. package/dist/{icon-button-Cogxy1cy.js → icon-button-4PKlaI1g.js} +2 -2
  41. package/dist/lib/components/ui/actions/button/button-tones.d.ts +17 -16
  42. package/dist/lib/components/ui/collections/day-grouped-list/day-grouped-list.d.ts +6 -1
  43. package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +2 -0
  44. package/dist/lib/components/ui/collections/server-table/types-states.d.ts +5 -1
  45. package/dist/lib/components/ui/display/index.d.ts +1 -0
  46. package/dist/lib/components/ui/display/tube-cap/index.d.ts +2 -0
  47. package/dist/lib/components/ui/display/tube-cap/tube-cap.d.ts +27 -0
  48. package/dist/lib/components/ui/display/tube-cap/tube-cap.kinds.d.ts +7 -0
  49. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  50. package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-row.d.ts +3 -1
  51. package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-rows.d.ts +2 -1
  52. package/dist/lib/components/ui/fields/repeatable-group/repeatable-group.d.ts +1 -1
  53. package/dist/lib/components/ui/fields/repeatable-group/types.d.ts +7 -0
  54. package/dist/lib/components/ui/layout/app-bar/top-app-bar.d.ts +18 -3
  55. package/dist/lib/components/ui/layout/app-search/app-search-bar.d.ts +11 -0
  56. package/dist/lib/components/ui/layout/app-search/app-search.types.d.ts +47 -0
  57. package/dist/lib/components/ui/layout/app-search/index.d.ts +3 -0
  58. package/dist/lib/components/ui/layout/app-search/partials/on-phone.d.ts +2 -0
  59. package/dist/lib/components/ui/layout/app-search/partials/phone-search.d.ts +3 -0
  60. package/dist/lib/components/ui/layout/app-search/partials/pill-search.d.ts +3 -0
  61. package/dist/lib/components/ui/layout/app-search/pill-form.d.ts +18 -0
  62. package/dist/lib/components/ui/layout/app-search/search-panel.d.ts +24 -0
  63. package/dist/lib/components/ui/layout/app-search/search-results.d.ts +14 -0
  64. package/dist/lib/components/ui/layout/app-search/search-shortcut.d.ts +15 -0
  65. package/dist/lib/components/ui/layout/app-search/search-view.d.ts +22 -0
  66. package/dist/lib/components/ui/layout/app-search/use-pill-panel.d.ts +22 -0
  67. package/dist/lib/components/ui/layout/app-search/use-search-text.d.ts +8 -0
  68. package/dist/lib/components/ui/layout/app-shell/activity-app-bar.d.ts +35 -0
  69. package/dist/lib/components/ui/layout/app-shell/activity-chrome.d.ts +26 -3
  70. package/dist/lib/components/ui/layout/app-shell/activity-column-props.d.ts +22 -0
  71. package/dist/lib/components/ui/layout/app-shell/activity-column.d.ts +10 -2
  72. package/dist/lib/components/ui/layout/app-shell/activity-layout-navigation.types.d.ts +94 -0
  73. package/dist/lib/components/ui/layout/app-shell/activity-layout.d.ts +8 -1
  74. package/dist/lib/components/ui/layout/app-shell/activity-layout.types.d.ts +2 -1
  75. package/dist/lib/components/ui/layout/app-shell/activity-rails.d.ts +16 -0
  76. package/dist/lib/components/ui/layout/app-shell/activity-sidebar-lane.d.ts +22 -0
  77. package/dist/lib/components/ui/layout/app-shell/activity-top-nav.d.ts +11 -0
  78. package/dist/lib/components/ui/layout/app-shell/activity-two-level-lane.d.ts +14 -0
  79. package/dist/lib/components/ui/layout/app-shell/app-back.d.ts +22 -0
  80. package/dist/lib/components/ui/layout/app-shell/app-header-row.d.ts +3 -0
  81. package/dist/lib/components/ui/layout/app-shell/app-header.d.ts +33 -1
  82. package/dist/lib/components/ui/layout/app-shell/app-shell.utils.d.ts +8 -0
  83. package/dist/lib/components/ui/layout/app-shell/app-sidebar-entries.d.ts +13 -0
  84. package/dist/lib/components/ui/layout/app-shell/app-sidebar-label-item.d.ts +3 -1
  85. package/dist/lib/components/ui/layout/app-shell/bottom-chrome.d.ts +13 -0
  86. package/dist/lib/components/ui/layout/app-shell/header-title.d.ts +18 -2
  87. package/dist/lib/components/ui/layout/app-shell/header.utils.d.ts +37 -0
  88. package/dist/lib/components/ui/layout/app-shell/index.d.ts +3 -0
  89. package/dist/lib/components/ui/layout/app-shell/navigation-parts.d.ts +38 -0
  90. package/dist/lib/components/ui/layout/app-shell/navigation.utils.d.ts +36 -0
  91. package/dist/lib/components/ui/layout/app-shell/page-title-scope.d.ts +14 -0
  92. package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +12 -1
  93. package/dist/lib/components/ui/layout/app-shell/shell-scroll.d.ts +32 -0
  94. package/dist/lib/components/ui/layout/app-shell/sticky-offset.d.ts +8 -0
  95. package/dist/lib/components/ui/layout/app-shell/types.d.ts +14 -0
  96. package/dist/lib/components/ui/layout/app-shell/use-focus-while-hidden.d.ts +9 -0
  97. package/dist/lib/components/ui/layout/app-shell/use-header-height.d.ts +12 -0
  98. package/dist/lib/components/ui/layout/app-shell/use-header-scroll.d.ts +19 -0
  99. package/dist/lib/components/ui/layout/app-shell/use-shell-header.d.ts +20 -0
  100. package/dist/lib/components/ui/layout/auth-card/auth-card-split.d.ts +14 -0
  101. package/dist/lib/components/ui/layout/auth-card/auth-card.d.ts +13 -1
  102. package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid-context.d.ts +21 -0
  103. package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.d.ts +9 -0
  104. package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.state.d.ts +30 -0
  105. package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.tiles.d.ts +8 -0
  106. package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.types.d.ts +50 -0
  107. package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.utils.d.ts +70 -0
  108. package/dist/lib/components/ui/layout/dashboard-grid/dashboard-tile.d.ts +7 -0
  109. package/dist/lib/components/ui/layout/dashboard-grid/index.d.ts +4 -0
  110. package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-announcer.d.ts +6 -0
  111. package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-edit-bar.d.ts +11 -0
  112. package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-move-buttons.d.ts +9 -0
  113. package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-toolbar.d.ts +7 -0
  114. package/dist/lib/components/ui/layout/dashboard-grid/use-dashboard-grid.d.ts +21 -0
  115. package/dist/lib/components/ui/layout/dashboard-grid/use-dashboard-moves.d.ts +22 -0
  116. package/dist/lib/components/ui/layout/doc/doc-context.d.ts +2 -0
  117. package/dist/lib/components/ui/layout/doc/doc.d.ts +5 -0
  118. package/dist/lib/components/ui/layout/doc/index.d.ts +1 -1
  119. package/dist/lib/components/ui/layout/doc/partials/doc-embedded-bar.d.ts +9 -0
  120. package/dist/lib/components/ui/layout/doc/partials/doc-embedded.d.ts +8 -0
  121. package/dist/lib/components/ui/layout/doc/use-doc.d.ts +9 -1
  122. package/dist/lib/components/ui/layout/editor-layout/editor-layout.d.ts +14 -0
  123. package/dist/lib/components/ui/layout/editor-layout/editor-layout.types.d.ts +31 -0
  124. package/dist/lib/components/ui/layout/editor-layout/index.d.ts +4 -0
  125. package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-body.d.ts +11 -0
  126. package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-canvas.d.ts +8 -0
  127. package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-context.d.ts +12 -0
  128. package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-start.d.ts +8 -0
  129. package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-triggers.d.ts +10 -0
  130. package/dist/lib/components/ui/layout/editor-layout/partials/use-editor-layout-names.d.ts +8 -0
  131. package/dist/lib/components/ui/layout/editor-layout/partials/use-editor-layout-state.d.ts +21 -0
  132. package/dist/lib/components/ui/layout/index.d.ts +9 -0
  133. package/dist/lib/components/ui/layout/landing/index.d.ts +6 -0
  134. package/dist/lib/components/ui/layout/landing/landing-layout.d.ts +15 -0
  135. package/dist/lib/components/ui/layout/landing/landing-layout.types.d.ts +27 -0
  136. package/dist/lib/components/ui/layout/landing/landing-section.d.ts +12 -0
  137. package/dist/lib/components/ui/layout/landing/landing-section.types.d.ts +32 -0
  138. package/dist/lib/components/ui/layout/landing/landing.classes.d.ts +20 -0
  139. package/dist/lib/components/ui/layout/landing/partials/landing-header.d.ts +11 -0
  140. package/dist/lib/components/ui/layout/landing/partials/landing-section-intro.d.ts +13 -0
  141. package/dist/lib/components/ui/layout/landing/partials/site-footer-group.d.ts +8 -0
  142. package/dist/lib/components/ui/layout/landing/site-footer.d.ts +13 -0
  143. package/dist/lib/components/ui/layout/landing/site-footer.types.d.ts +29 -0
  144. package/dist/lib/components/ui/layout/list-details-layout/internal.d.ts +2 -0
  145. package/dist/lib/components/ui/layout/list-details-layout/list-details-layout.d.ts +9 -17
  146. package/dist/lib/components/ui/layout/list-details-layout/partials/history-mark.d.ts +2 -0
  147. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-context.d.ts +17 -1
  148. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-history.d.ts +8 -0
  149. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-inspector.d.ts +21 -0
  150. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-layout.types.d.ts +47 -0
  151. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-resizer.d.ts +9 -0
  152. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-root.d.ts +3 -0
  153. package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-trigger.d.ts +13 -4
  154. package/dist/lib/components/ui/layout/list-details-layout/partials/use-inspector-focus.d.ts +8 -0
  155. package/dist/lib/components/ui/layout/list-details-layout/partials/use-list-details-param.d.ts +26 -0
  156. package/dist/lib/components/ui/layout/list-details-layout/partials/use-list-details-state.d.ts +15 -0
  157. package/dist/lib/components/ui/layout/list-details-layout/partials/use-list-width.d.ts +16 -0
  158. package/dist/lib/components/ui/layout/list-details-layout/partials/use-pane-focus.d.ts +6 -4
  159. package/dist/lib/components/ui/layout/navigation-bar/index.d.ts +3 -0
  160. package/dist/lib/components/ui/layout/navigation-bar/internal.d.ts +4 -0
  161. package/dist/lib/components/ui/layout/navigation-bar/navigation-bar.classes.d.ts +14 -0
  162. package/dist/lib/components/ui/layout/navigation-bar/navigation-bar.d.ts +35 -0
  163. package/dist/lib/components/ui/layout/navigation-bar/navigation-bar.utils.d.ts +19 -0
  164. package/dist/lib/components/ui/layout/navigation-bar/partials/bar-badge.d.ts +5 -0
  165. package/dist/lib/components/ui/layout/navigation-bar/partials/bar-entry.d.ts +12 -0
  166. package/dist/lib/components/ui/layout/navigation-bar/partials/navigation-bar-item.d.ts +22 -0
  167. package/dist/lib/components/ui/layout/navigation-bar/partials/navigation-bar-more.d.ts +24 -0
  168. package/dist/lib/components/ui/layout/navigation-bar/use-nav-bar-inset.d.ts +12 -0
  169. package/dist/lib/components/ui/layout/navigation-drawer/index.d.ts +5 -0
  170. package/dist/lib/components/ui/layout/navigation-drawer/navigation-drawer.classes.d.ts +9 -0
  171. package/dist/lib/components/ui/layout/navigation-drawer/navigation-drawer.d.ts +45 -0
  172. package/dist/lib/components/ui/layout/navigation-drawer/navigation-drawer.utils.d.ts +14 -0
  173. package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-body.d.ts +3 -0
  174. package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-item.d.ts +20 -0
  175. package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-modal.d.ts +17 -0
  176. package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-section.d.ts +15 -0
  177. package/dist/lib/components/ui/layout/navigation-rail/index.d.ts +3 -0
  178. package/dist/lib/components/ui/layout/navigation-rail/navigation-rail-panel.d.ts +26 -0
  179. package/dist/lib/components/ui/layout/navigation-rail/navigation-rail.classes.d.ts +23 -0
  180. package/dist/lib/components/ui/layout/navigation-rail/navigation-rail.d.ts +42 -1
  181. package/dist/lib/components/ui/layout/navigation-rail/navigation-rail.utils.d.ts +4 -0
  182. package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-body.d.ts +3 -0
  183. package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-item.d.ts +20 -0
  184. package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-panel-item.d.ts +7 -0
  185. package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-toggle.d.ts +7 -0
  186. package/dist/lib/components/ui/layout/navigation-rail/use-rail-expanded.d.ts +13 -0
  187. package/dist/lib/components/ui/layout/navigation-toolbar/index.d.ts +2 -0
  188. package/dist/lib/components/ui/layout/navigation-toolbar/navigation-toolbar.classes.d.ts +20 -0
  189. package/dist/lib/components/ui/layout/navigation-toolbar/navigation-toolbar.d.ts +51 -0
  190. package/dist/lib/components/ui/layout/navigation-toolbar/partials/navigation-toolbar-item.d.ts +25 -0
  191. package/dist/lib/components/ui/layout/navigation-toolbar/partials/navigation-toolbar-more.d.ts +3 -0
  192. package/dist/lib/components/ui/layout/pane-layout/internal.d.ts +3 -0
  193. package/dist/lib/components/ui/layout/pane-layout/pane-layout.d.ts +16 -2
  194. package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-classes.d.ts +7 -0
  195. package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-context.d.ts +13 -0
  196. package/dist/lib/components/ui/layout/pane-layout/partials/use-pane-layout-state.d.ts +16 -0
  197. package/dist/lib/components/ui/layout/pane-layout/partials/use-pane-narrow.d.ts +6 -0
  198. package/dist/lib/components/ui/layout/responsive-grid/index.d.ts +4 -1
  199. package/dist/lib/components/ui/layout/responsive-grid/responsive-grid-item.d.ts +19 -0
  200. package/dist/lib/components/ui/layout/responsive-grid/responsive-grid-spans.d.ts +19 -0
  201. package/dist/lib/components/ui/layout/responsive-grid/responsive-grid.d.ts +24 -2
  202. package/dist/lib/components/ui/layout/responsive-grid/responsive-grid.utils.d.ts +12 -0
  203. package/dist/lib/components/ui/layout/settings-layout/index.d.ts +2 -0
  204. package/dist/lib/components/ui/layout/settings-layout/partials/settings-link.d.ts +7 -0
  205. package/dist/lib/components/ui/layout/settings-layout/partials/settings-list.d.ts +11 -0
  206. package/dist/lib/components/ui/layout/settings-layout/partials/settings-page.d.ts +5 -0
  207. package/dist/lib/components/ui/layout/settings-layout/settings-layout.d.ts +10 -0
  208. package/dist/lib/components/ui/layout/settings-layout/settings-layout.types.d.ts +33 -0
  209. package/dist/lib/components/ui/layout/settings-layout/settings-layout.utils.d.ts +13 -0
  210. package/dist/lib/components/ui/layout/thread-layout/thread-layout-classes.d.ts +17 -0
  211. package/dist/lib/components/ui/layout/thread-layout/thread-layout-parts.d.ts +14 -0
  212. package/dist/lib/components/ui/layout/thread-layout/thread-layout-stepper.d.ts +11 -0
  213. package/dist/lib/components/ui/layout/thread-layout/thread-layout.d.ts +30 -3
  214. package/dist/lib/components/ui/layout/top-nav/index.d.ts +5 -0
  215. package/dist/lib/components/ui/layout/top-nav/partials/top-nav-item.d.ts +23 -0
  216. package/dist/lib/components/ui/layout/top-nav/partials/top-nav-menu.d.ts +22 -0
  217. package/dist/lib/components/ui/layout/top-nav/top-nav.classes.d.ts +10 -0
  218. package/dist/lib/components/ui/layout/top-nav/top-nav.d.ts +34 -0
  219. package/dist/lib/components/ui/layout/top-nav/top-nav.utils.d.ts +10 -0
  220. package/dist/lib/components/ui/media/galleries/gallery.d.ts +1 -1
  221. package/dist/lib/components/ui/media/galleries/lightbox-gallery.d.ts +1 -1
  222. package/dist/lib/components/ui/media/galleries/mini-gallery.d.ts +1 -1
  223. package/dist/lib/components/ui/overlays/dialog/dialog-parts.d.ts +1 -1
  224. package/dist/lib/components/ui/overlays/sheet/sheet-parts.d.ts +5 -0
  225. package/dist/lib/components/ui/selection/choice-card-group/choice-card-balance.d.ts +4 -0
  226. package/dist/lib/components/ui/selection/choice-card-group/choice-card-group.d.ts +3 -1
  227. package/dist/lib/components/ui/selection/choice-card-group/choice-card-group.types.d.ts +7 -0
  228. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-body.d.ts +5 -1
  229. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-parts.d.ts +2 -1
  230. package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-props.d.ts +8 -5
  231. package/dist/lib/components/ui/selection/sortable-list/partials/use-owed-focus.d.ts +10 -0
  232. package/dist/lib/components/ui/selection/sortable-list/sortable-list-context.d.ts +2 -0
  233. package/dist/lib/components/ui/selection/sortable-list/sortable-list.keyboard.d.ts +1 -1
  234. package/dist/lib/components/ui/widgets/event-calendar/event-calendar-context.d.ts +3 -0
  235. package/dist/lib/components/ui/widgets/event-calendar/event-calendar-shell.d.ts +15 -0
  236. package/dist/lib/components/ui/widgets/event-calendar/event-calendar-template.d.ts +9 -0
  237. package/dist/lib/components/ui/widgets/event-calendar/event-calendar.d.ts +7 -3
  238. package/dist/lib/components/ui/widgets/event-calendar/event-calendar.template.d.ts +41 -0
  239. package/dist/lib/components/ui/widgets/event-calendar/index.d.ts +1 -0
  240. package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-date-nav.d.ts +2 -0
  241. package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-lane-toggle.d.ts +5 -0
  242. package/dist/lib/components/ui/widgets/event-calendar/partials/time-grid-header-template.d.ts +7 -0
  243. package/dist/lib/components/ui/widgets/event-calendar/template.types.d.ts +73 -0
  244. package/dist/lib/components/ui/widgets/event-calendar/types.d.ts +2 -0
  245. package/dist/lib/components/ui/widgets/event-calendar/use-chip-event.d.ts +1 -0
  246. package/dist/lib/components/ui/widgets/event-calendar/use-drawn-events.d.ts +4 -3
  247. package/dist/lib/components/ui/widgets/event-calendar/use-template-calendar.d.ts +18 -0
  248. package/dist/lib/components/ui/widgets/event-calendar/use-template-lane.d.ts +17 -0
  249. package/dist/lib/components/ui/widgets/kanban/index.d.ts +1 -1
  250. package/dist/lib/components/ui/widgets/kanban/kanban-context.d.ts +5 -2
  251. package/dist/lib/components/ui/widgets/kanban/kanban.d.ts +11 -2
  252. package/dist/lib/components/ui/widgets/kanban/kanban.slice.d.ts +32 -0
  253. package/dist/lib/components/ui/widgets/kanban/kanban.utils.d.ts +9 -0
  254. package/dist/lib/components/ui/widgets/kanban/partials/kanban-card-preview.d.ts +3 -1
  255. package/dist/lib/components/ui/widgets/kanban/partials/kanban-column.d.ts +6 -0
  256. package/dist/lib/components/ui/widgets/kanban/partials/kanban-move-to.d.ts +13 -0
  257. package/dist/lib/components/ui/widgets/kanban/partials/kanban-phone-tabs.d.ts +10 -0
  258. package/dist/lib/components/ui/widgets/kanban/types.d.ts +7 -0
  259. package/dist/lib/components/ui/widgets/kanban/use-kanban-board-keys.d.ts +7 -0
  260. package/dist/lib/components/ui/widgets/kanban/use-kanban-item-actions.d.ts +5 -0
  261. package/dist/lib/components/ui/widgets/kanban/use-kanban-phone-column.d.ts +18 -0
  262. package/dist/lib/components/ui/widgets/kanban/use-kanban.d.ts +6 -1
  263. package/dist/lib/hooks/index.d.ts +1 -0
  264. package/dist/lib/i18n/resources/en/en.d.ts +52 -0
  265. package/dist/lib/i18n/resources/en/material.json.d.ts +54 -2
  266. package/dist/lib/i18n/resources/fr/fr.d.ts +52 -0
  267. package/dist/lib/i18n/resources/fr/material.json.d.ts +54 -2
  268. package/dist/lib/i18n/resources/resources.d.ts +104 -0
  269. package/dist/lib/i18n/translator.d.ts +1 -1
  270. package/dist/lib.js +2 -2
  271. package/dist/main.js +53 -52
  272. package/dist/map.js +7 -7
  273. package/dist/material.css +1 -1
  274. package/dist/pdf-reader.js +1 -1
  275. package/dist/{percent-field--WIXV5dX.js → percent-field-QwU1l2Q4.js} +1 -1
  276. package/dist/{picker-surface-CV09H7Nb.js → picker-surface-CiTycWgV.js} +4 -4
  277. package/dist/{popover-Cd7DkND4.js → popover-YmbzbKQG.js} +1 -1
  278. package/dist/{pos-types-DKCkOTYy.js → pos-types-BFrapNmx.js} +1 -1
  279. package/dist/{pos-variant-GrUfbTTP.js → pos-variant-CctfqieO.js} +4 -4
  280. package/dist/print.js +1 -1
  281. package/dist/{programmer-variant-eKJNKENL.js → programmer-variant-Dd0YOixn.js} +2 -2
  282. package/dist/{public-y6g4ddxd.js → public-CshR_aW7.js} +10 -10
  283. package/dist/{rich-code-block-CRQ0iyLb.js → rich-code-block-BuJLDoBu.js} +5 -5
  284. package/dist/{scientific-variant-2y3UxAAU.js → scientific-variant-CjErQxuZ.js} +2 -2
  285. package/dist/{sortable-provider-DdiI3Fwk.js → sortable-provider-DU2nvpFc.js} +3 -3
  286. package/dist/{spinner-C1QIewWv.js → spinner-DH1mm8hH.js} +2 -2
  287. package/dist/{tabs-KGKvve3y.js → tabs-Um0SFyf1.js} +1 -1
  288. package/dist/theme-picker.js +2 -2
  289. package/dist/{theme-toggle-C_VeiiCm.js → theme-toggle-C-Ih4uQU.js} +1 -1
  290. package/dist/{toolbar-items-D310xDuM.js → toolbar-items-BoEY5bkt.js} +4 -4
  291. package/dist/{translate-material-BypJJ1l5.js → translate-material-D4rn5UaQ.js} +1 -1
  292. package/dist/{translator-DJkf4J7t.js → translator-CcEgQ-H7.js} +112 -4
  293. package/dist/{use-chat-composer-BFhRMHcX.js → use-chat-composer-BBF1BI_s.js} +47 -43
  294. package/dist/{use-click-lock-BZYtTmVt.js → use-click-lock-Bwg_caHO.js} +14 -14
  295. package/dist/{use-heading-spy-DJR8YYm6.js → use-heading-spy-BgyA6SJl.js} +19 -19
  296. package/dist/{use-material-translation-CD6QoVal.js → use-material-translation-DYrfV_JJ.js} +1 -1
  297. package/dist/{use-return-focus-Cevw_6yq.js → use-return-focus-C_Qz_yTk.js} +1 -1
  298. package/docs/README.md +1 -0
  299. package/docs/components/data-display.md +40 -8
  300. package/docs/components/data-table-filter-and-lists.md +7 -3
  301. package/docs/components/form-fields.md +1 -0
  302. package/docs/components/media-and-files.md +1 -0
  303. package/docs/components/navigation-and-layout.md +946 -28
  304. package/docs/components/overlays-and-menus.md +11 -5
  305. package/docs/components/rich-widgets.md +111 -1
  306. package/docs/components/selection-and-choice.md +49 -10
  307. package/docs/guides/app-shell.md +641 -2
  308. package/docs/guides/forms.md +7 -0
  309. package/docs/guides/helpers.md +23 -0
  310. package/docs/guides/i18n.md +13 -1
  311. package/docs/guides/layouts.md +215 -0
  312. package/docs/guides/ssr.md +1 -1
  313. package/docs/guides/theming.md +7 -7
  314. package/docs/previews/data-display-tubecap.webp +0 -0
  315. package/docs/previews/navigation-layout-appshell-page-ground.webp +0 -0
  316. package/docs/previews/navigation-layout-appshell.webp +0 -0
  317. package/docs/previews/navigation-layout-authcard-split.webp +0 -0
  318. package/docs/previews/navigation-layout-authcard.webp +0 -0
  319. package/docs/previews/navigation-layout-dashboardgrid.webp +0 -0
  320. package/docs/previews/navigation-layout-editorlayout.webp +0 -0
  321. package/docs/previews/navigation-layout-landinglayout.webp +0 -0
  322. package/docs/previews/navigation-layout-panelayout.webp +0 -0
  323. package/docs/previews/navigation-layout-settingslayout.webp +0 -0
  324. package/docs/previews/navigation-layout-threadlayout-pages.webp +0 -0
  325. package/docs/previews/navigation-layout-threadlayout.webp +0 -0
  326. package/docs/previews/selection-choice-sortablelist.webp +0 -0
  327. package/docs/roadmap.md +12 -2
  328. package/docs/troubleshooting.md +50 -2
  329. package/lib/components/base-content.css +11 -0
  330. package/lib/components/components.css +5 -0
  331. package/lib/components/ui/actions/fab/fab-dock.css +19 -6
  332. package/lib/components/ui/collections/data-table/data-table-items-tiles.css +27 -1
  333. package/lib/components/ui/display/tube-cap/tube-cap.css +87 -0
  334. package/lib/components/ui/layout/app-search/app-search.css +62 -0
  335. package/lib/components/ui/layout/app-shell/activity-backdrop.css +10 -2
  336. package/lib/components/ui/layout/app-shell/app-header.css +108 -0
  337. package/lib/components/ui/layout/navigation-toolbar/navigation-toolbar.css +43 -0
  338. package/lib/themes/ambre.css +1 -1
  339. package/lib/themes/ardoise.css +1 -1
  340. package/lib/themes/bleumono.css +1 -1
  341. package/lib/themes/bluemoon.css +1 -1
  342. package/lib/themes/corail.css +2 -2
  343. package/lib/themes/foret.css +1 -1
  344. package/lib/themes/lavande.css +1 -1
  345. package/lib/themes/menthe.css +2 -2
  346. package/lib/themes/ocean.css +1 -1
  347. package/lib/themes/pink.css +2 -2
  348. package/lib/themes/prune.css +1 -1
  349. package/lib/themes/sable.css +1 -1
  350. package/lib/themes/slate.css +1 -1
  351. package/lib/themes/teal.css +2 -2
  352. package/package.json +2 -2
@@ -58,6 +58,8 @@ export type EventCalendarChromeState = {
58
58
  };
59
59
  export type EventCalendarRenderEvent = (event: CalendarEvent) => ReactNode;
60
60
  export type EventCalendarProps = {
61
+ /** `dated` (the default): real dates. See `mode="template"` for a recurring week. */
62
+ mode?: 'dated';
61
63
  events?: CalendarEvent[];
62
64
  defaultEvents?: CalendarEvent[];
63
65
  onEventsChange?: (events: CalendarEvent[]) => void;
@@ -10,4 +10,5 @@ export declare function useChipEvent(drawn: CalendarEvent): {
10
10
  source: CalendarEvent;
11
11
  owner: import('./types.js').EventCalendarResource | undefined;
12
12
  event: CalendarEvent;
13
+ title: string;
13
14
  };
@@ -1,9 +1,10 @@
1
+ import { CalendarEvent } from './types.js';
1
2
  import { EventCalendarModel } from './use-event-calendar.js';
2
3
  /**
3
4
  * The events the search keeps, as stored (true instants), and as drawn: in a
4
5
  * zone, the zone's wall clock; otherwise the same list.
5
6
  */
6
- export declare function useDrawnEvents({ events, chrome, zone, project, }: EventCalendarModel): {
7
- sourceEvents: import('./types.js').CalendarEvent[];
8
- visibleEvents: import('./types.js').CalendarEvent[];
7
+ export declare function useDrawnEvents({ events, chrome, zone, project }: EventCalendarModel, visible?: (event: CalendarEvent) => boolean): {
8
+ sourceEvents: CalendarEvent[];
9
+ visibleEvents: CalendarEvent[];
9
10
  };
@@ -0,0 +1,18 @@
1
+ import { EventCalendarTemplateEvent, EventCalendarTemplateProps, TemplateContext } from './template.types.js';
2
+ import { CalendarEvent, EventCalendarChange, EventCalendarSlot } from './types.js';
3
+ /**
4
+ * The template week as the dated calendar reads it: the events (controlled or
5
+ * not) on the reference week, the lane filter, and the callbacks turned back
6
+ * into weekday and time. The dated calendar owns no copy: the list given
7
+ * is always the template list, mapped.
8
+ */
9
+ export declare function useTemplateCalendar({ events, defaultEvents, onEventsChange, onChange, onEventClick, onSlotClick, lanes, lane: laneProp, defaultLane, onLaneChange, }: EventCalendarTemplateProps): {
10
+ dated: CalendarEvent[];
11
+ back: (event: CalendarEvent) => EventCalendarTemplateEvent;
12
+ template: TemplateContext;
13
+ visible: (event: CalendarEvent) => boolean;
14
+ onEventsChange: (next: CalendarEvent[]) => void;
15
+ onChange: ((change: EventCalendarChange) => void) | undefined;
16
+ onEventClick: ((event: CalendarEvent) => void) | undefined;
17
+ onSlotClick: ((slot: EventCalendarSlot) => void) | undefined;
18
+ };
@@ -0,0 +1,17 @@
1
+ import { EventCalendarTemplateEvent } from './template.types.js';
2
+ import { CalendarEvent } from './types.js';
3
+ /**
4
+ * The template week's lane filter: the lane shown (controlled or not), its
5
+ * setter, and whether a dated event belongs to it (an event with no lane
6
+ * shows in every one).
7
+ */
8
+ export declare function useTemplateLane({ lane: laneProp, defaultLane, onLaneChange, byId, }: {
9
+ lane?: string | null;
10
+ defaultLane?: string | null;
11
+ onLaneChange?: (lane: string | null) => void;
12
+ byId: Map<string, EventCalendarTemplateEvent>;
13
+ }): {
14
+ lane: string | null;
15
+ setLane: (next: string | null) => void;
16
+ visible: (event: CalendarEvent) => boolean;
17
+ };
@@ -1,5 +1,5 @@
1
1
  export type { KanbanProps } from './kanban.js';
2
2
  export { Kanban } from './kanban.js';
3
3
  export { KanbanProvider, useKanbanContext } from './kanban-context.js';
4
- export type { KanbanAddDraft, KanbanAddHandler, KanbanCardHandler, KanbanChange, KanbanColumn, KanbanGroup, KanbanItem, KanbanRenderCard, } from './types.js';
4
+ export type { KanbanAddDraft, KanbanAddHandler, KanbanCardHandler, KanbanChange, KanbanColumn, KanbanGroup, KanbanItem, KanbanPhoneLayout, KanbanRenderCard, } from './types.js';
5
5
  export { useKanban } from './use-kanban.js';
@@ -1,8 +1,11 @@
1
- import { ReactNode } from 'react';
2
- import { KanbanAddHandler, KanbanCardHandler, KanbanRenderCard } from './types.js';
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { KanbanAddHandler, KanbanCardHandler, KanbanPhoneLayout, KanbanRenderCard } from './types.js';
3
3
  import { KanbanModel } from './use-kanban.js';
4
4
  export type KanbanContextValue = KanbanModel & {
5
5
  reorderableColumns: boolean;
6
+ /** The board's root: its own width decides the phone layout (below 768px). */
7
+ boardRef?: RefObject<HTMLElement | null>;
8
+ phoneLayout?: KanbanPhoneLayout;
6
9
  onCardClick?: KanbanCardHandler;
7
10
  onAddCard?: KanbanAddHandler;
8
11
  renderCard?: KanbanRenderCard;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { KanbanAddHandler, KanbanCardHandler, KanbanChange, KanbanColumn, KanbanGroup, KanbanItem, KanbanRenderCard } from './types.js';
2
+ import { KanbanAddHandler, KanbanCardHandler, KanbanChange, KanbanColumn, KanbanGroup, KanbanItem, KanbanPhoneLayout, KanbanRenderCard } from './types.js';
3
3
  export type KanbanProps = {
4
4
  columns?: KanbanColumn[];
5
5
  defaultColumns?: KanbanColumn[];
@@ -16,5 +16,14 @@ export type KanbanProps = {
16
16
  label?: ReactNode;
17
17
  className?: string;
18
18
  renderCard?: KanbanRenderCard;
19
+ /**
20
+ * Below 768px (the board's own width): `tabs` shows one column at a time
21
+ * under a tab list, `swipe` snaps full-width columns sideways. Unset or
22
+ * `columns` keeps today's peeking columns.
23
+ */
24
+ phoneLayout?: KanbanPhoneLayout;
25
+ /** The column `tabs` shows (controlled); the first one when unset. */
26
+ phoneColumn?: string;
27
+ onPhoneColumnChange?: (columnId: string) => void;
19
28
  };
20
- export declare function Kanban({ columns, defaultColumns, items, groups, onColumnsChange, onItemsChange, onChange, onCardClick, onAddCard, searchable, reorderableColumns, disabled, label, className, renderCard, }: KanbanProps): import("react").JSX.Element;
29
+ export declare function Kanban({ columns, defaultColumns, items, groups, onColumnsChange, onItemsChange, onChange, onCardClick, onAddCard, searchable, reorderableColumns, disabled, label, className, renderCard, phoneLayout, phoneColumn, onPhoneColumnChange, }: KanbanProps): import("react").JSX.Element;
@@ -10,6 +10,7 @@ export declare const kanbanSlice: import('@reduxjs/toolkit').Slice<KanbanChromeS
10
10
  columnId: string;
11
11
  groupId: string | null;
12
12
  } | null;
13
+ phoneColumnId: string | null;
13
14
  }, action: PayloadAction<string>) => void;
14
15
  setFocusedId: (state: {
15
16
  query: string;
@@ -20,6 +21,7 @@ export declare const kanbanSlice: import('@reduxjs/toolkit').Slice<KanbanChromeS
20
21
  columnId: string;
21
22
  groupId: string | null;
22
23
  } | null;
24
+ phoneColumnId: string | null;
23
25
  }, action: PayloadAction<string | null>) => void;
24
26
  toggleGroupCollapsed: (state: {
25
27
  query: string;
@@ -30,6 +32,7 @@ export declare const kanbanSlice: import('@reduxjs/toolkit').Slice<KanbanChromeS
30
32
  columnId: string;
31
33
  groupId: string | null;
32
34
  } | null;
35
+ phoneColumnId: string | null;
33
36
  }, action: PayloadAction<string>) => void;
34
37
  toggleColumnCollapsed: (state: {
35
38
  query: string;
@@ -40,7 +43,19 @@ export declare const kanbanSlice: import('@reduxjs/toolkit').Slice<KanbanChromeS
40
43
  columnId: string;
41
44
  groupId: string | null;
42
45
  } | null;
46
+ phoneColumnId: string | null;
43
47
  }, action: PayloadAction<string>) => void;
48
+ setPhoneColumnId: (state: {
49
+ query: string;
50
+ focusedId: string | null;
51
+ collapsedGroupIds: string[];
52
+ collapsedColumnIds: string[];
53
+ composing: {
54
+ columnId: string;
55
+ groupId: string | null;
56
+ } | null;
57
+ phoneColumnId: string | null;
58
+ }, action: PayloadAction<string | null>) => void;
44
59
  setComposing: (state: {
45
60
  query: string;
46
61
  focusedId: string | null;
@@ -50,6 +65,7 @@ export declare const kanbanSlice: import('@reduxjs/toolkit').Slice<KanbanChromeS
50
65
  columnId: string;
51
66
  groupId: string | null;
52
67
  } | null;
68
+ phoneColumnId: string | null;
53
69
  }, action: PayloadAction<KanbanChromeState["composing"]>) => void;
54
70
  }, "kanban", "kanban", import('@reduxjs/toolkit').SliceSelectors<KanbanChromeState>>;
55
71
  export declare const kanbanActions: import('@reduxjs/toolkit').CaseReducerActions<{
@@ -62,6 +78,7 @@ export declare const kanbanActions: import('@reduxjs/toolkit').CaseReducerAction
62
78
  columnId: string;
63
79
  groupId: string | null;
64
80
  } | null;
81
+ phoneColumnId: string | null;
65
82
  }, action: PayloadAction<string>) => void;
66
83
  setFocusedId: (state: {
67
84
  query: string;
@@ -72,6 +89,7 @@ export declare const kanbanActions: import('@reduxjs/toolkit').CaseReducerAction
72
89
  columnId: string;
73
90
  groupId: string | null;
74
91
  } | null;
92
+ phoneColumnId: string | null;
75
93
  }, action: PayloadAction<string | null>) => void;
76
94
  toggleGroupCollapsed: (state: {
77
95
  query: string;
@@ -82,6 +100,7 @@ export declare const kanbanActions: import('@reduxjs/toolkit').CaseReducerAction
82
100
  columnId: string;
83
101
  groupId: string | null;
84
102
  } | null;
103
+ phoneColumnId: string | null;
85
104
  }, action: PayloadAction<string>) => void;
86
105
  toggleColumnCollapsed: (state: {
87
106
  query: string;
@@ -92,7 +111,19 @@ export declare const kanbanActions: import('@reduxjs/toolkit').CaseReducerAction
92
111
  columnId: string;
93
112
  groupId: string | null;
94
113
  } | null;
114
+ phoneColumnId: string | null;
95
115
  }, action: PayloadAction<string>) => void;
116
+ setPhoneColumnId: (state: {
117
+ query: string;
118
+ focusedId: string | null;
119
+ collapsedGroupIds: string[];
120
+ collapsedColumnIds: string[];
121
+ composing: {
122
+ columnId: string;
123
+ groupId: string | null;
124
+ } | null;
125
+ phoneColumnId: string | null;
126
+ }, action: PayloadAction<string | null>) => void;
96
127
  setComposing: (state: {
97
128
  query: string;
98
129
  focusedId: string | null;
@@ -102,5 +133,6 @@ export declare const kanbanActions: import('@reduxjs/toolkit').CaseReducerAction
102
133
  columnId: string;
103
134
  groupId: string | null;
104
135
  } | null;
136
+ phoneColumnId: string | null;
105
137
  }, action: PayloadAction<KanbanChromeState["composing"]>) => void;
106
138
  }, "kanban">;
@@ -22,3 +22,12 @@ export declare function groupSections(column: KanbanColumn, items: Map<string, K
22
22
  export declare function visibleItemIds(column: KanbanColumn, items: Map<string, KanbanItem>, query: string): string[];
23
23
  export declare function wouldExceedWip(column: KanbanColumn, itemId: string): boolean;
24
24
  export declare function moveKanbanItem(columns: KanbanColumn[], itemId: string, toColumnId: string, beforeId?: string): KanbanColumn[];
25
+ /** The column a phone shows: the asked one when it exists, else the first. */
26
+ export declare function resolvePhoneColumn(columns: {
27
+ id: string;
28
+ }[], asked: string | null | undefined): string | null;
29
+ /** The column that holds a card, so a phone can follow a card the keyboard moved. */
30
+ export declare function columnOfItem(columns: {
31
+ id: string;
32
+ itemIds: string[];
33
+ }[], itemId: string): string | undefined;
@@ -1,4 +1,6 @@
1
1
  import { KanbanItem } from '../types.js';
2
- export declare function KanbanCardPreview({ item }: {
2
+ export declare function KanbanCardPreview({ item, columnId, onMoved, }: {
3
3
  item: KanbanItem;
4
+ columnId: string;
5
+ onMoved: () => void;
4
6
  }): import("react").JSX.Element;
@@ -1,4 +1,10 @@
1
1
  import { KanbanColumn as KanbanColumnType } from '../types.js';
2
+ /**
3
+ * One column. With phone tabs it is also the panel of its tab: every column
4
+ * stays mounted (the server and the client render the same markup), the
5
+ * panels of the other tabs are hidden below 768px by their `data-state`, and
6
+ * from 768px the panel wrapper disappears (`contents`) so the board is today's row of columns.
7
+ */
2
8
  export declare function KanbanColumn({ column }: {
3
9
  column: KanbanColumnType;
4
10
  }): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { KanbanItem } from '../types.js';
2
+ /**
3
+ * The phone way to move a card: one button per other column, in the card's
4
+ * popover. Shown when the board itself is narrower than 768px (the width its
5
+ * one-column layout switches on, read from the board: the popover is portalled
6
+ * out of it, so a container query would not reach it) and has a phone layout;
7
+ * the arrow keys and drag keep working everywhere.
8
+ */
9
+ export declare function KanbanMoveTo({ item, columnId, onMoved, }: {
10
+ item: KanbanItem;
11
+ columnId: string;
12
+ onMoved: () => void;
13
+ }): import("react").JSX.Element | null;
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * With `phoneLayout="tabs"`, the board's tab list (name and count of each
4
+ * column) and the tabs root its columns are panels of. The list is hidden
5
+ * from 768px up by a container query, so the server and the client render
6
+ * the same markup at every width. Any other layout renders `children` alone.
7
+ */
8
+ export declare function KanbanPhoneTabs({ children }: {
9
+ children: ReactNode;
10
+ }): import("react").JSX.Element;
@@ -1,4 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * How a board reads below 768px (its own width): `tabs` shows one column at
4
+ * a time under a tab list, `swipe` snaps full-width columns sideways, and
5
+ * `columns` (or unset) keeps the peeking columns.
6
+ */
7
+ export type KanbanPhoneLayout = 'tabs' | 'swipe' | 'columns';
2
8
  export type KanbanColumn = {
3
9
  id: string;
4
10
  title: string;
@@ -38,6 +44,7 @@ export type KanbanChromeState = {
38
44
  columnId: string;
39
45
  groupId: string | null;
40
46
  } | null;
47
+ phoneColumnId: string | null;
41
48
  };
42
49
  export type KanbanAddDraft = {
43
50
  title: string;
@@ -0,0 +1,7 @@
1
+ import { KeyboardEvent } from 'react';
2
+ /**
3
+ * The board's arrow-key handler. With phone tabs, a focus or a move that
4
+ * lands in another column brings that column's tab forward, so the card the
5
+ * keys act on is always the one on screen.
6
+ */
7
+ export declare function useKanbanBoardKeys(): (event: KeyboardEvent<HTMLDivElement>) => void;
@@ -18,3 +18,8 @@ export declare function useKanbanUpdateItem({ disabled, items, itemsById, onItem
18
18
  itemsById: Map<string, KanbanItem>;
19
19
  onItemsChange?: (items: KanbanItem[]) => void;
20
20
  }): (itemId: string, patch: Partial<KanbanItem>) => void;
21
+ export declare function useKanbanReorderColumns({ board, commit, disabled, }: {
22
+ board: KanbanColumn[];
23
+ commit: (next: KanbanColumn[]) => void;
24
+ disabled: boolean;
25
+ }): (activeId: string, overId: string) => void;
@@ -0,0 +1,18 @@
1
+ import { KanbanChromeState, KanbanColumn } from './types.js';
2
+ /**
3
+ * The column a phone shows with `phoneLayout="tabs"`: controlled by
4
+ * `phoneColumn`, else kept in the chrome slice; the first column when the
5
+ * asked one does not exist.
6
+ */
7
+ export declare function useKanbanPhoneColumn({ board, chrome, chromeActions, phoneColumn, onPhoneColumnChange, }: {
8
+ board: KanbanColumn[];
9
+ chrome: KanbanChromeState;
10
+ chromeActions: {
11
+ setPhoneColumnId: (columnId: string | null) => void;
12
+ };
13
+ phoneColumn?: string;
14
+ onPhoneColumnChange?: (columnId: string) => void;
15
+ }): {
16
+ phoneColumnId: string | null;
17
+ setPhoneColumn: (columnId: string) => void;
18
+ };
@@ -1,5 +1,5 @@
1
1
  import { KanbanChange, KanbanColumn, KanbanGroup, KanbanItem } from './types.js';
2
- export declare function useKanban({ columns, defaultColumns, items, onColumnsChange, onItemsChange, onChange, groups, disabled, }: {
2
+ export declare function useKanban({ columns, defaultColumns, items, onColumnsChange, onItemsChange, onChange, groups, disabled, phoneColumn, onPhoneColumnChange, }: {
3
3
  columns?: KanbanColumn[];
4
4
  defaultColumns?: KanbanColumn[];
5
5
  items: KanbanItem[];
@@ -8,6 +8,8 @@ export declare function useKanban({ columns, defaultColumns, items, onColumnsCha
8
8
  onChange?: (change: KanbanChange) => void;
9
9
  groups?: KanbanGroup[];
10
10
  disabled?: boolean;
11
+ phoneColumn?: string;
12
+ onPhoneColumnChange?: (columnId: string) => void;
11
13
  }): {
12
14
  columns: KanbanColumn[];
13
15
  itemsById: Map<string, KanbanItem>;
@@ -18,6 +20,7 @@ export declare function useKanban({ columns, defaultColumns, items, onColumnsCha
18
20
  setFocusedId: (payload: string | null) => void;
19
21
  toggleGroupCollapsed: (payload: string) => void;
20
22
  toggleColumnCollapsed: (payload: string) => void;
23
+ setPhoneColumnId: (payload: string | null) => void;
21
24
  setComposing: (payload: {
22
25
  columnId: string;
23
26
  groupId: string | null;
@@ -27,5 +30,7 @@ export declare function useKanban({ columns, defaultColumns, items, onColumnsCha
27
30
  moveItem: (itemId: string, toColumnId: string, beforeId?: string, toGroupId?: string | null) => void;
28
31
  updateItem: (itemId: string, patch: Partial<KanbanItem>) => void;
29
32
  reorderColumns: (activeId: string, overId: string) => void;
33
+ phoneColumnId: string | null;
34
+ setPhoneColumn: (columnId: string) => void;
30
35
  };
31
36
  export type KanbanModel = ReturnType<typeof useKanban>;
@@ -16,6 +16,7 @@ export * from './use-options.js';
16
16
  export * from './use-react-router-block.js';
17
17
  export * from './use-scroll-away.js';
18
18
  export * from './use-search-param.js';
19
+ export * from './use-ssr-media-query.js';
19
20
  export * from './use-submit-once.js';
20
21
  export * from './use-theme.js';
21
22
  export * from './use-unsaved-guard/index.js';
@@ -1537,6 +1537,14 @@ export declare const en: {
1537
1537
  badge: string;
1538
1538
  "badge-dot": string;
1539
1539
  };
1540
+ "app-header": {
1541
+ back: string;
1542
+ "back-to": string;
1543
+ search: string;
1544
+ "search-close": string;
1545
+ "search-results": string;
1546
+ "result-count": string;
1547
+ };
1540
1548
  "account-menu": {
1541
1549
  trigger: string;
1542
1550
  "sign-out": string;
@@ -1809,6 +1817,8 @@ export declare const en: {
1809
1817
  sidebar: string;
1810
1818
  unassigned: string;
1811
1819
  resource: string;
1820
+ lane: string;
1821
+ "lane-all": string;
1812
1822
  "time-zone": string;
1813
1823
  };
1814
1824
  dnd: {
@@ -2037,6 +2047,8 @@ export declare const en: {
2037
2047
  "card-title": string;
2038
2048
  subtitle: string;
2039
2049
  "wip-full": string;
2050
+ "phone-tabs": string;
2051
+ "move-to": string;
2040
2052
  };
2041
2053
  doc: {
2042
2054
  search: string;
@@ -2052,6 +2064,7 @@ export declare const en: {
2052
2064
  "on-this-page": string;
2053
2065
  menu: string;
2054
2066
  "menu-description": string;
2067
+ browse: string;
2055
2068
  previous: string;
2056
2069
  next: string;
2057
2070
  "see-also": string;
@@ -3027,6 +3040,9 @@ export declare const en: {
3027
3040
  };
3028
3041
  "list-details": {
3029
3042
  back: string;
3043
+ "inspector-back": string;
3044
+ "inspector-close": string;
3045
+ resize: string;
3030
3046
  };
3031
3047
  switcher: {
3032
3048
  search: string;
@@ -3469,5 +3485,41 @@ export declare const en: {
3469
3485
  "delete-description": string;
3470
3486
  "delete-confirm": string;
3471
3487
  };
3488
+ navigation: {
3489
+ more: string;
3490
+ close: string;
3491
+ steps: string;
3492
+ "rail-toggle": string;
3493
+ "panel-collapse": string;
3494
+ "panel-expand": string;
3495
+ };
3496
+ dashboard: {
3497
+ edit: string;
3498
+ done: string;
3499
+ hint: string;
3500
+ move: string;
3501
+ "move-up": string;
3502
+ "move-down": string;
3503
+ grabbed: string;
3504
+ moved: string;
3505
+ dropped: string;
3506
+ cancelled: string;
3507
+ };
3508
+ "editor-layout": {
3509
+ toolbar: string;
3510
+ canvas: string;
3511
+ start: string;
3512
+ properties: string;
3513
+ };
3514
+ "settings-layout": {
3515
+ title: string;
3516
+ search: string;
3517
+ empty: string;
3518
+ };
3519
+ landing: {
3520
+ menu: string;
3521
+ footer: string;
3522
+ "new-tab": string;
3523
+ };
3472
3524
  };
3473
3525
  };
@@ -1527,6 +1527,14 @@ declare const _default: {
1527
1527
  "badge": "{count} new",
1528
1528
  "badge-dot": "new activity"
1529
1529
  },
1530
+ "app-header": {
1531
+ "back": "Back",
1532
+ "back-to": "Back to {label}",
1533
+ "search": "Search",
1534
+ "search-close": "Close search",
1535
+ "search-results": "Search results",
1536
+ "result-count": "{count, plural, one {# result} other {# results}}"
1537
+ },
1530
1538
  "account-menu": {
1531
1539
  "trigger": "Account menu, {name}",
1532
1540
  "sign-out": "Sign out",
@@ -1799,6 +1807,8 @@ declare const _default: {
1799
1807
  "sidebar": "Calendar navigation",
1800
1808
  "unassigned": "Unassigned",
1801
1809
  "resource": "Resource",
1810
+ "lane": "Week",
1811
+ "lane-all": "All weeks",
1802
1812
  "time-zone": "Time zone: {zone}"
1803
1813
  },
1804
1814
  "dnd": {
@@ -2026,7 +2036,9 @@ declare const _default: {
2026
2036
  "new-card": "New card",
2027
2037
  "card-title": "Card title",
2028
2038
  "subtitle": "Add subtitle",
2029
- "wip-full": "Column is at WIP limit"
2039
+ "wip-full": "Column is at WIP limit",
2040
+ "phone-tabs": "Columns",
2041
+ "move-to": "Move to"
2030
2042
  },
2031
2043
  "doc": {
2032
2044
  "search": "Search docs",
@@ -2042,6 +2054,7 @@ declare const _default: {
2042
2054
  "on-this-page": "On this page",
2043
2055
  "menu": "Menu",
2044
2056
  "menu-description": "Documentation navigation",
2057
+ "browse": "Browse docs",
2045
2058
  "previous": "Previous",
2046
2059
  "next": "Next",
2047
2060
  "see-also": "See also",
@@ -3016,7 +3029,10 @@ declare const _default: {
3016
3029
  }
3017
3030
  },
3018
3031
  "list-details": {
3019
- "back": "Back to the list"
3032
+ "back": "Back to the list",
3033
+ "inspector-back": "Back to the details",
3034
+ "inspector-close": "Close the panel",
3035
+ "resize": "Resize the list"
3020
3036
  },
3021
3037
  "switcher": {
3022
3038
  "search": "Search",
@@ -3458,6 +3474,42 @@ declare const _default: {
3458
3474
  "delete-title": "Delete {name} permanently?",
3459
3475
  "delete-description": "This cannot be undone.",
3460
3476
  "delete-confirm": "Delete permanently"
3477
+ },
3478
+ "navigation": {
3479
+ "more": "More",
3480
+ "close": "Close",
3481
+ "steps": "Progress",
3482
+ "rail-toggle": "Navigation menu",
3483
+ "panel-collapse": "Collapse the panel",
3484
+ "panel-expand": "Expand the panel"
3485
+ },
3486
+ "dashboard": {
3487
+ "edit": "Edit layout",
3488
+ "done": "Done",
3489
+ "hint": "Drag a tile by its handle, or press Space on the handle, then the arrow keys to move it, Space to drop it and Escape to cancel.",
3490
+ "move": "Move {label}",
3491
+ "move-up": "Move {label} earlier",
3492
+ "move-down": "Move {label} later",
3493
+ "grabbed": "{label} picked up, position {position} of {total}. Arrow keys move it, Space drops it, Escape cancels.",
3494
+ "moved": "{label} moved to position {position} of {total}.",
3495
+ "dropped": "{label} dropped at position {position} of {total}.",
3496
+ "cancelled": "Reorder cancelled. {label} is back at position {position}."
3497
+ },
3498
+ "editor-layout": {
3499
+ "toolbar": "Toolbar",
3500
+ "canvas": "Canvas",
3501
+ "start": "Outline",
3502
+ "properties": "Properties"
3503
+ },
3504
+ "settings-layout": {
3505
+ "title": "Settings",
3506
+ "search": "Search settings",
3507
+ "empty": "No setting matches “{query}”."
3508
+ },
3509
+ "landing": {
3510
+ "menu": "Menu",
3511
+ "footer": "Footer",
3512
+ "new-tab": "opens in a new tab"
3461
3513
  }
3462
3514
  }
3463
3515
  ;
@@ -1537,6 +1537,14 @@ export declare const fr: {
1537
1537
  badge: string;
1538
1538
  "badge-dot": string;
1539
1539
  };
1540
+ "app-header": {
1541
+ back: string;
1542
+ "back-to": string;
1543
+ search: string;
1544
+ "search-close": string;
1545
+ "search-results": string;
1546
+ "result-count": string;
1547
+ };
1540
1548
  "account-menu": {
1541
1549
  trigger: string;
1542
1550
  "sign-out": string;
@@ -1809,6 +1817,8 @@ export declare const fr: {
1809
1817
  sidebar: string;
1810
1818
  unassigned: string;
1811
1819
  resource: string;
1820
+ lane: string;
1821
+ "lane-all": string;
1812
1822
  "time-zone": string;
1813
1823
  };
1814
1824
  dnd: {
@@ -2037,6 +2047,8 @@ export declare const fr: {
2037
2047
  "card-title": string;
2038
2048
  subtitle: string;
2039
2049
  "wip-full": string;
2050
+ "phone-tabs": string;
2051
+ "move-to": string;
2040
2052
  };
2041
2053
  doc: {
2042
2054
  search: string;
@@ -2052,6 +2064,7 @@ export declare const fr: {
2052
2064
  "on-this-page": string;
2053
2065
  menu: string;
2054
2066
  "menu-description": string;
2067
+ browse: string;
2055
2068
  previous: string;
2056
2069
  next: string;
2057
2070
  "see-also": string;
@@ -3027,6 +3040,9 @@ export declare const fr: {
3027
3040
  };
3028
3041
  "list-details": {
3029
3042
  back: string;
3043
+ "inspector-back": string;
3044
+ "inspector-close": string;
3045
+ resize: string;
3030
3046
  };
3031
3047
  switcher: {
3032
3048
  search: string;
@@ -3469,5 +3485,41 @@ export declare const fr: {
3469
3485
  "delete-description": string;
3470
3486
  "delete-confirm": string;
3471
3487
  };
3488
+ navigation: {
3489
+ more: string;
3490
+ close: string;
3491
+ steps: string;
3492
+ "rail-toggle": string;
3493
+ "panel-collapse": string;
3494
+ "panel-expand": string;
3495
+ };
3496
+ dashboard: {
3497
+ edit: string;
3498
+ done: string;
3499
+ hint: string;
3500
+ move: string;
3501
+ "move-up": string;
3502
+ "move-down": string;
3503
+ grabbed: string;
3504
+ moved: string;
3505
+ dropped: string;
3506
+ cancelled: string;
3507
+ };
3508
+ "editor-layout": {
3509
+ toolbar: string;
3510
+ canvas: string;
3511
+ start: string;
3512
+ properties: string;
3513
+ };
3514
+ "settings-layout": {
3515
+ title: string;
3516
+ search: string;
3517
+ empty: string;
3518
+ };
3519
+ landing: {
3520
+ menu: string;
3521
+ footer: string;
3522
+ "new-tab": string;
3523
+ };
3472
3524
  };
3473
3525
  };