@nxgt/material 3.58.0 → 3.59.1

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 (205) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +31 -0
  3. package/dist/{async-slice-C_Juki7i.js → async-slice-Cmvxrvn9.js} +2 -2
  4. package/dist/barcode.js +440 -0
  5. package/dist/{button-CCHGtPIN.js → button-qb9UpHF5.js} +47 -46
  6. package/dist/charts.js +92 -92
  7. package/dist/{chip-1XnyX4bd.js → chip-BlmIjpiD.js} +2 -2
  8. package/dist/{code-editor-1Y7ykpam.js → code-editor-BYEpBp_U.js} +11 -11
  9. package/dist/code-editor.js +5 -5
  10. package/dist/{code-language-items-Clbln9C6.js → code-language-items-Cqk4Fq61.js} +2 -2
  11. package/dist/components/components.css +1 -0
  12. package/dist/components/ui/actions/split-button/split-button-states.css +6 -0
  13. package/dist/components/ui/widgets/barcode/barcode.css +112 -0
  14. package/dist/{components-Cj3lJ_uK.js → components-j44ReRNq.js} +11255 -11174
  15. package/dist/components.js +26 -26
  16. package/dist/{dialog-Cx_xWUVR.js → dialog-1BstKBvt.js} +4 -4
  17. package/dist/dnd.js +1 -1
  18. package/dist/{dropdown-menu-Jp6pHNgP.js → dropdown-menu-hoaocAS7.js} +1 -1
  19. package/dist/editor.js +9 -9
  20. package/dist/{empty-state-D61RimJr.js → empty-state-DEG9h7xk.js} +2 -2
  21. package/dist/{escape-owner-Ch_-kDLw.js → escape-owner-BvLBo_Al.js} +22 -22
  22. package/dist/{field-blur-BJjUHsgJ.js → field-blur-BkeYPaWi.js} +1 -1
  23. package/dist/{field-blur-context-CmOF0FIN.js → field-blur-context-Ba7iZVm_.js} +1 -1
  24. package/dist/hooks.js +2 -2
  25. package/dist/{hover-card-CVmY0Z44.js → hover-card-C5DTU9P_.js} +2 -2
  26. package/dist/{i18n-provider-C0uLEv0G.js → i18n-provider-BJDI-A5w.js} +1 -1
  27. package/dist/i18n.js +5 -5
  28. package/dist/{icon-badge-bAQQK3ls.js → icon-badge-9ZE6k7cn.js} +3 -3
  29. package/dist/{icon-button-Csvj2R8S.js → icon-button-AwJtCkV5.js} +1 -1
  30. package/dist/lib/barcode/index.d.ts +15 -0
  31. package/dist/lib/components/ui/actions/button/button-busy.d.ts +5 -0
  32. package/dist/lib/components/ui/actions/index.d.ts +1 -0
  33. package/dist/lib/components/ui/actions/load-more-footer/index.d.ts +1 -0
  34. package/dist/lib/components/ui/actions/load-more-footer/load-more-footer.d.ts +24 -0
  35. package/dist/lib/components/ui/actions/responsive-button/responsive-button.d.ts +1 -1
  36. package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +0 -2
  37. package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
  38. package/dist/lib/components/ui/collections/filter/editors/custom-types.d.ts +1 -1
  39. package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
  40. package/dist/lib/components/ui/collections/filter/filter-schema.utils.d.ts +1 -0
  41. package/dist/lib/components/ui/collections/filter/filter-validation.utils.d.ts +1 -0
  42. package/dist/lib/components/ui/collections/filter/index.d.ts +2 -1
  43. package/dist/lib/components/ui/collections/filter/query/filter-query-model.d.ts +1 -1
  44. package/dist/lib/components/ui/collections/filter/query/types.d.ts +0 -1
  45. package/dist/lib/components/ui/collections/server-table/partials/filtered-server-table.d.ts +2 -1
  46. package/dist/lib/components/ui/collections/server-table/partials/server-table-band.d.ts +1 -1
  47. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +0 -1
  48. package/dist/lib/components/ui/collections/server-table/partials/server-table-error.d.ts +1 -1
  49. package/dist/lib/components/ui/collections/server-table/partials/server-table-hosted.d.ts +1 -1
  50. package/dist/lib/components/ui/collections/server-table/server-table.d.ts +3 -1
  51. package/dist/lib/components/ui/collections/server-table/types.d.ts +0 -2
  52. package/dist/lib/components/ui/collections/server-table/use-filter-params.d.ts +2 -1
  53. package/dist/lib/components/ui/collections/server-table/use-table-answer.d.ts +2 -1
  54. package/dist/lib/components/ui/dates/date-field/{date-field-parts.d.ts → date-field-props.d.ts} +2 -40
  55. package/dist/lib/components/ui/dates/date-field/use-date-field-model.d.ts +28 -0
  56. package/dist/lib/components/ui/dates/date-field/use-date-field-open.d.ts +11 -0
  57. package/dist/lib/components/ui/display/cards/index.d.ts +3 -1
  58. package/dist/lib/components/ui/display/cards/partials/album-card.d.ts +1 -1
  59. package/dist/lib/components/ui/display/cards/partials/checklist-card.d.ts +1 -1
  60. package/dist/lib/components/ui/display/cards/partials/crew-card.d.ts +1 -1
  61. package/dist/lib/components/ui/display/cards/partials/event-card.d.ts +1 -1
  62. package/dist/lib/components/ui/display/cards/partials/feature-card.d.ts +1 -1
  63. package/dist/lib/components/ui/display/cards/partials/file-card.d.ts +1 -1
  64. package/dist/lib/components/ui/display/cards/partials/link-card.d.ts +1 -1
  65. package/dist/lib/components/ui/display/cards/partials/media-card.d.ts +1 -1
  66. package/dist/lib/components/ui/display/cards/partials/message-card.d.ts +1 -1
  67. package/dist/lib/components/ui/display/cards/partials/notice-card.d.ts +1 -1
  68. package/dist/lib/components/ui/display/cards/partials/offer-card.d.ts +1 -1
  69. package/dist/lib/components/ui/display/cards/partials/overlay-card.d.ts +1 -1
  70. package/dist/lib/components/ui/display/cards/partials/place-card.d.ts +1 -1
  71. package/dist/lib/components/ui/display/cards/partials/pricing-card.d.ts +1 -1
  72. package/dist/lib/components/ui/display/cards/partials/profile-card.d.ts +1 -1
  73. package/dist/lib/components/ui/display/cards/partials/quote-card.d.ts +1 -1
  74. package/dist/lib/components/ui/display/cards/partials/receipt-card.d.ts +1 -1
  75. package/dist/lib/components/ui/display/cards/partials/review-card.d.ts +1 -1
  76. package/dist/lib/components/ui/display/cards/partials/score-card.d.ts +1 -1
  77. package/dist/lib/components/ui/display/cards/partials/shortcut-card.d.ts +1 -1
  78. package/dist/lib/components/ui/display/cards/partials/split-card.d.ts +1 -1
  79. package/dist/lib/components/ui/display/cards/partials/spotlight-card.d.ts +1 -1
  80. package/dist/lib/components/ui/display/cards/partials/status-card.d.ts +1 -1
  81. package/dist/lib/components/ui/display/cards/partials/tag-card.d.ts +1 -1
  82. package/dist/lib/components/ui/display/cards/partials/ticket-card.d.ts +1 -1
  83. package/dist/lib/components/ui/display/cards/partials/timeline-card.d.ts +1 -1
  84. package/dist/lib/components/ui/feedback/index.d.ts +1 -0
  85. package/dist/lib/components/ui/feedback/notifications/notifications-provider.d.ts +1 -1
  86. package/dist/lib/components/ui/feedback/notifications/use-notifications.d.ts +0 -1
  87. package/dist/lib/components/ui/feedback/page-load-failed/index.d.ts +1 -0
  88. package/dist/lib/components/ui/feedback/page-load-failed/page-load-failed.d.ts +15 -0
  89. package/dist/lib/components/ui/feedback/step-dots/index.d.ts +2 -1
  90. package/dist/lib/components/ui/feedback/step-dots/step-dots.d.ts +0 -1
  91. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  92. package/dist/lib/components/ui/fields/country-field/iso-codes.d.ts +2 -0
  93. package/dist/lib/components/ui/fields/country-field/iso-countries.d.ts +0 -2
  94. package/dist/lib/components/ui/fields/field/types.d.ts +2 -2
  95. package/dist/lib/components/ui/fields/timezone-field/timezone-field.d.ts +1 -1
  96. package/dist/lib/components/ui/layout/app-shell/index.d.ts +2 -2
  97. package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +0 -2
  98. package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +0 -3
  99. package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +0 -2
  100. package/dist/lib/components/ui/layout/doc/index.d.ts +2 -1
  101. package/dist/lib/components/ui/layout/doc/partials/doc-header.d.ts +0 -1
  102. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.d.ts +2 -1
  103. package/dist/lib/components/ui/media/galleries/partials/gallery-chrome-toolbar.d.ts +0 -2
  104. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group-form-field.d.ts +1 -1
  105. package/dist/lib/components/ui/selection/checkbox-group/checkbox-group.d.ts +2 -1
  106. package/dist/lib/components/ui/selection/color-swatches/color-swatches.d.ts +0 -1
  107. package/dist/lib/components/ui/selection/color-swatches/index.d.ts +2 -1
  108. package/dist/lib/components/ui/selection/combobox-field/combobox-field.d.ts +0 -1
  109. package/dist/lib/components/ui/selection/combobox-field/combobox-form-field.d.ts +1 -1
  110. package/dist/lib/components/ui/selection/combobox-field/index.d.ts +1 -1
  111. package/dist/lib/components/ui/selection/radio-group/radio-group-form-field.d.ts +1 -1
  112. package/dist/lib/components/ui/selection/radio-group/radio-group.d.ts +4 -3
  113. package/dist/lib/components/ui/selection/sortable-list/use-sortable-list.d.ts +0 -1
  114. package/dist/lib/components/ui/widgets/barcode/barcode-error.d.ts +4 -0
  115. package/dist/lib/components/ui/widgets/barcode/barcode-geometry.d.ts +22 -0
  116. package/dist/lib/components/ui/widgets/barcode/barcode.d.ts +31 -0
  117. package/dist/lib/components/ui/widgets/barcode/code128.d.ts +15 -0
  118. package/dist/lib/components/ui/widgets/barcode/datamatrix-placement.d.ts +7 -0
  119. package/dist/lib/components/ui/widgets/barcode/datamatrix-rs.d.ts +2 -0
  120. package/dist/lib/components/ui/widgets/barcode/datamatrix-tables.d.ts +13 -0
  121. package/dist/lib/components/ui/widgets/barcode/datamatrix.d.ts +10 -0
  122. package/dist/lib/components/ui/widgets/barcode/encode.d.ts +12 -0
  123. package/dist/lib/components/ui/widgets/barcode/index.d.ts +6 -0
  124. package/dist/lib/components/ui/widgets/barcode/label-length.d.ts +4 -0
  125. package/dist/lib/components/ui/widgets/barcode/label-sheet.d.ts +37 -0
  126. package/dist/lib/components/ui/widgets/editor/extensions/custom/shared/{use-node-list.d.ts → node-list.d.ts} +1 -1
  127. package/dist/lib/components/ui/widgets/education/quizzes/quiz.utils.d.ts +1 -1
  128. package/dist/lib/components/ui/widgets/education/quizzes/use-quiz.d.ts +0 -1
  129. package/dist/lib/components/ui/widgets/native-charts/core/heat-model.d.ts +2 -1
  130. package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +2 -2
  131. package/dist/lib/components/ui/widgets/native-charts/core/scatter-text.d.ts +2 -1
  132. package/dist/lib/components/ui/widgets/native-charts/core/slice-model.d.ts +1 -1
  133. package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +0 -2
  134. package/dist/lib/components/ui/widgets/native-charts/funnel-chart/funnel-chart-types.d.ts +2 -1
  135. package/dist/lib/components/ui/widgets/native-charts/funnel-chart/partials/funnel-tip.d.ts +1 -1
  136. package/dist/lib/components/ui/widgets/native-charts/funnel-chart/use-funnel-model.d.ts +1 -1
  137. package/dist/lib/components/ui/widgets/native-charts/gauge/gauge-types.d.ts +1 -1
  138. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/heatmap-chart-types.d.ts +2 -1
  139. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/partials/heat-tip.d.ts +1 -1
  140. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heat-nav.d.ts +1 -1
  141. package/dist/lib/components/ui/widgets/native-charts/heatmap-chart/use-heatmap-model.d.ts +1 -1
  142. package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -1
  143. package/dist/lib/components/ui/widgets/native-charts/hooks/model-parts.d.ts +2 -1
  144. package/dist/lib/components/ui/widgets/native-charts/hooks/use-slice-model.d.ts +2 -1
  145. package/dist/lib/components/ui/widgets/native-charts/index.d.ts +3 -1
  146. package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +3 -1
  147. package/dist/lib/components/ui/widgets/native-charts/partials/chart-frame.d.ts +1 -1
  148. package/dist/lib/components/ui/widgets/native-charts/partials/chart-shell.d.ts +1 -1
  149. package/dist/lib/components/ui/widgets/native-charts/partials/point-tip.d.ts +1 -1
  150. package/dist/lib/components/ui/widgets/native-charts/pie-chart/partials/slice-tip.d.ts +1 -1
  151. package/dist/lib/components/ui/widgets/native-charts/pie-chart/slice-chart-types.d.ts +2 -1
  152. package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/radial-bar-chart-types.d.ts +2 -1
  153. package/dist/lib/components/ui/widgets/native-charts/radial-bar-chart/use-radial-model.d.ts +1 -1
  154. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/partials/scatter-tip.d.ts +1 -1
  155. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/scatter-chart-types.d.ts +2 -1
  156. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-active.d.ts +1 -1
  157. package/dist/lib/components/ui/widgets/native-charts/scatter-chart/use-scatter-model.d.ts +1 -1
  158. package/dist/lib/i18n/resources/en/en.d.ts +8 -0
  159. package/dist/lib/i18n/resources/en/material.json.d.ts +8 -0
  160. package/dist/lib/i18n/resources/fr/fr.d.ts +8 -0
  161. package/dist/lib/i18n/resources/fr/material.json.d.ts +8 -0
  162. package/dist/lib/i18n/resources/resources.d.ts +16 -0
  163. package/dist/lib/i18n/translator.d.ts +1 -1
  164. package/dist/lib/print/components/print-document/print-document.d.ts +2 -1
  165. package/dist/lib/print/components/print-section.d.ts +8 -1
  166. package/dist/lib.js +1 -1
  167. package/dist/main.js +43 -43
  168. package/dist/map.js +8 -8
  169. package/dist/material.css +1 -1
  170. package/dist/pdf-reader.js +1 -1
  171. package/dist/print.js +4 -3
  172. package/dist/{public-B42vT7ee.js → public-DEh75enl.js} +15 -15
  173. package/dist/{rich-code-block-DIJ1X1AF.js → rich-code-block-hJexXOdk.js} +5 -5
  174. package/dist/{sortable-provider-Csby6WpB.js → sortable-provider-DE-MSfeJ.js} +2 -2
  175. package/dist/{spinner-DC35lhqx.js → spinner-CquTUxzt.js} +1 -1
  176. package/dist/{stored-language-BIxd7uiP.js → stored-language-BDzGeEAm.js} +16 -0
  177. package/dist/theme-picker.js +2 -2
  178. package/dist/{theme-toggle-BWdNFLvB.js → theme-toggle-DBgsBw8S.js} +1 -1
  179. package/dist/{toolbar-items-oqmVfnfO.js → toolbar-items-Bm1baIp6.js} +4 -4
  180. package/dist/{translate-material-Bgtjuh85.js → translate-material-Q67GD4co.js} +2 -2
  181. package/dist/{translator-BrZv1U54.js → translator-CBhGdYun.js} +1 -1
  182. package/dist/{use-chat-composer-Dj0TP_B1.js → use-chat-composer-BlfhGDFp.js} +967 -967
  183. package/dist/{use-heading-spy-1Dqxj_JQ.js → use-heading-spy-COxCWqWF.js} +1 -1
  184. package/dist/{use-material-translation-DLdQKdfw.js → use-material-translation-BZAy_ffS.js} +2 -2
  185. package/docs/README.md +1 -0
  186. package/docs/components/buttons-and-actions.md +37 -0
  187. package/docs/components/feedback-and-status.md +25 -0
  188. package/docs/components/rich-widgets.md +35 -0
  189. package/docs/guides/barcode.md +203 -0
  190. package/docs/guides/printing.md +28 -3
  191. package/docs/previews/buttons-actions-loadmorebutton.webp +0 -0
  192. package/docs/previews/buttons-actions-loadmorefooter.webp +0 -0
  193. package/docs/previews/feedback-status-pageloadfailed.webp +0 -0
  194. package/docs/previews/rich-widgets-barcode.webp +0 -0
  195. package/docs/previews/rich-widgets-labelsheet.webp +0 -0
  196. package/docs/roadmap.md +14 -7
  197. package/docs/troubleshooting.md +62 -0
  198. package/lib/components/components.css +1 -0
  199. package/lib/components/ui/actions/split-button/split-button-states.css +6 -0
  200. package/lib/components/ui/widgets/barcode/barcode.css +112 -0
  201. package/package.json +10 -3
  202. package/dist/lib/components/ui/display/cards/types.d.ts +0 -3
  203. package/dist/lib/components/ui/fields/country-field/iso-codes-1.d.ts +0 -2
  204. package/dist/lib/components/ui/fields/country-field/iso-codes-2.d.ts +0 -2
  205. package/dist/lib/components/ui/fields/country-field/iso-codes-3.d.ts +0 -2
@@ -15,7 +15,7 @@ export * from './filter-presets.js';
15
15
  export type { FilterCustomRender, FilterCustomRenderProps, } from './editors/custom-types.js';
16
16
  export { Filter, type FilterProps } from './filter.js';
17
17
  export { FilterBar, type FilterBarProps } from './filter-bar-url.js';
18
- export type { FilterDensity, FilterQueryProps, FilterQueryVariant, FilterSearchApply, } from './query/types.js';
18
+ export type { FilterQueryProps } from './query/types.js';
19
19
  export { type FilterUrlCodec, type FilterUrlQuery, type UseFilterUrlQueryOptions, useFilterUrlQuery, } from './query/use-filter-url-query.js';
20
20
  export { FilterSheetTrigger, type FilterSheetTriggerProps, } from './sections/sheet/filter-sheet-trigger.js';
21
21
  export * from './filter-dialog.js';
@@ -24,3 +24,4 @@ export * from './filter-inline.js';
24
24
  export * from './filter-popover.js';
25
25
  export * from './filter-sheet.js';
26
26
  export * from './filter-form-field.js';
27
+ export type { FilterDensity, FilterQueryVariant, FilterSearchApply, } from './query/view-types.js';
@@ -1,7 +1,7 @@
1
1
  import { FilterApply, FilterCountsOption, FilterDefaults, FilterEvent, FilterFieldErrors, FilterFocusTarget, FilterMachineState, FilterModel, FilterPreviewCount, FilterQuery } from '@nxgt/material-core/filter';
2
2
  import { ReactNode, RefObject } from 'react';
3
- import { FilterDensity, FilterSearchApply } from './types.js';
4
3
  import { FilterBarFields } from './use-filter-bar-fields.js';
4
+ import { FilterDensity, FilterSearchApply } from './view-types.js';
5
5
  /** What every part of the bar reads (`useFilterQueryContext`). */
6
6
  export type FilterQueryModel = FilterBarFields & {
7
7
  model: FilterModel;
@@ -3,7 +3,6 @@ import { ReactNode } from 'react';
3
3
  import { ButtonVariant } from '../../../actions/button/button.js';
4
4
  import { FilterBarFieldProps } from '../editors/custom-types.js';
5
5
  import { FilterDensity, FilterQueryVariant, FilterSearchApply } from './view-types.js';
6
- export type { FilterDensity, FilterQueryVariant, FilterSearchApply, FilterViewProps, } from './view-types.js';
7
6
  /**
8
7
  * `Filter variant="bar"` and `variant="facets"`: a thin shell over
9
8
  * `@nxgt/material-core/filter`. Both become the phone sheet below 768px.
@@ -1,5 +1,6 @@
1
+ import { ServerTableFilter } from '../types-filter.js';
1
2
  import { RowData } from '@tanstack/react-table';
2
- import { ServerTableFilter, ServerTableProps } from '../types.js';
3
+ import { ServerTableProps } from '../types.js';
3
4
  import { TableAnswer } from '../use-table-answer.js';
4
5
  /** The Filter's store, bound to the URL, around the list. */
5
6
  export declare function FilteredServerTable<T extends RowData>({ props, filter, answer, }: {
@@ -1,5 +1,5 @@
1
+ import { ServerTableFilter } from '../types-filter.js';
1
2
  import { ReactNode } from 'react';
2
- import { ServerTableFilter } from '../types.js';
3
3
  type BandProps = {
4
4
  title?: ReactNode;
5
5
  /** A muted line under the title, or alone above the controls. */
@@ -1,5 +1,4 @@
1
1
  import { ServerTableBulkContext } from '../bulk-action.js';
2
- export { ACTION_ATTRIBUTE, actionKey, findBulkElement, MORE, MORE_ATTRIBUTE, moreKey, resolveBulkElement, } from './server-table-bulk-keys.js';
3
2
  /**
4
3
  * Where the focus of a declarative bulk list goes. It remembers the bulk
5
4
  * button that has it, so that:
@@ -1,4 +1,4 @@
1
- import { ServerTableError as Failure, ServerTableEmpty } from '../types.js';
1
+ import { ServerTableError as Failure, ServerTableEmpty } from '../types-states.js';
2
2
  /** The failed fetch, in place of the empty page: the failure and a Retry.
3
3
  * `ErrorState` is the `role="alert"` that announces it, once, when it
4
4
  * appears; `ServerTable`'s own live region stays quiet meanwhile. */
@@ -1,6 +1,6 @@
1
+ import { ServerTableFilter } from '../types-filter.js';
1
2
  import { FilterAnswerWatch } from '@nxgt/material-core/filter';
2
3
  import { ReactNode } from 'react';
3
- import { ServerTableFilter } from '../types.js';
4
4
  /** The page's one watch of its answer, around what ServerTable owns: the
5
5
  * bound Filter and the status regions. A Filter of the app's own in a slot
6
6
  * (`title`, `actions`, the empty page's) is outside it, and keeps its own
@@ -1,7 +1,7 @@
1
1
  import { RowData } from '@tanstack/react-table';
2
2
  import { ServerTableProps } from './types.js';
3
3
  export type { ServerTableBulkAction, ServerTableBulkContext, } from './bulk-action.js';
4
- export type { ServerTableEmpty, ServerTableError, ServerTableFilter, ServerTableFilterHandle, ServerTableProps, ServerTableSelection, } from './types.js';
4
+ export type { ServerTableProps, ServerTableSelection, } from './types.js';
5
5
  /**
6
6
  * One server page of a list in a `manual` `DataTable`, its state in the URL
7
7
  * and no router imported: a top band (the `title`, the `filter`'s bar, the
@@ -17,3 +17,5 @@ export type { ServerTableEmpty, ServerTableError, ServerTableFilter, ServerTable
17
17
  * for a changed search or filter, so a sort change announces no count.
18
18
  */
19
19
  export declare function ServerTable<T extends RowData>(props: ServerTableProps<T>): import("react").JSX.Element;
20
+ export type { ServerTableFilter, ServerTableFilterHandle, } from './types-filter.js';
21
+ export type { ServerTableEmpty, ServerTableError } from './types-states.js';
@@ -6,8 +6,6 @@ import { ServerTableBulkAction } from './bulk-action.js';
6
6
  import { ServerTableFilter, ServerTableFilterHandle } from './types-filter.js';
7
7
  import { ServerTablePagingProps } from './types-paging.js';
8
8
  import { ServerTableEmpty, ServerTableError } from './types-states.js';
9
- export type { ServerTableFilter, ServerTableFilterHandle, } from './types-filter.js';
10
- export type { ServerTableEmpty, ServerTableError } from './types-states.js';
11
9
  /** What a bulk action can do to the selection once it acted. */
12
10
  export type ServerTableSelection = {
13
11
  /** Empties the selection; the table takes the focus the toolbar had. */
@@ -1,6 +1,7 @@
1
+ import { ServerTableFilter } from './types-filter.js';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { FilterQueryProps } from '../filter/internal.js';
3
- import { ServerTableFilter, ServerTableProps } from './types.js';
4
+ import { ServerTableProps } from './types.js';
4
5
  import { TableAnswer } from './use-table-answer.js';
5
6
  /**
6
7
  * The Filter's props, bound to the search params through `useFilterUrlQuery`
@@ -1,7 +1,8 @@
1
+ import { ServerTableFilter } from './types-filter.js';
1
2
  import { FilterAnswerWatch } from '@nxgt/material-core/filter';
2
3
  import { RowData } from '@tanstack/react-table';
3
4
  import { AnswerWait } from '../filter/internal.js';
4
- import { ServerTableFilter, ServerTableProps } from './types.js';
5
+ import { ServerTableProps } from './types.js';
5
6
  /** What changes with an answer of the page (pure): the count, the rows
6
7
  * (`rows`: which array, counted), the error. */
7
8
  export declare function tableAnswerCount(totalCount: number, rows: number, errored: boolean): string;
@@ -1,5 +1,4 @@
1
- import { ComponentProps, ReactNode, RefObject } from 'react';
2
- import { PickerTriggerAttrs } from '../picker-trigger/picker-trigger-attrs.js';
1
+ import { ComponentProps, RefObject } from 'react';
3
2
  import { DateFieldPopover } from './date-field-popover.js';
4
3
  import { DateFieldTyped } from './date-field-typed.js';
5
4
  /**
@@ -22,44 +21,7 @@ export declare function sharedProps({ isDisabled, ...rest }: SharedInput, props:
22
21
  error?: boolean | undefined;
23
22
  open: boolean;
24
23
  required?: boolean | undefined;
25
- triggerAttrs: PickerTriggerAttrs;
26
- };
27
- /** What names the field's trigger and the open calendar, and the ids they share. */
28
- export declare function useDateFieldModel({ label, placeholder, ariaLabel, ariaLabelledBy, helperText, triggerAttrs, }: {
29
- label?: ReactNode;
30
- placeholder?: string;
31
- ariaLabel?: string;
32
- ariaLabelledBy?: string;
33
- helperText?: ReactNode;
34
- triggerAttrs: PickerTriggerAttrs;
35
- }): {
36
- naming: {
37
- label: ReactNode;
38
- placeholder: string | undefined;
39
- 'aria-label': string | undefined;
40
- 'aria-labelledby': string | undefined;
41
- };
42
- model: {
43
- frameIds: {
44
- labelId: string;
45
- helperId: string;
46
- triggerId: string;
47
- };
48
- ids: import('../picker-trigger/typed-group-name.js').TypedFieldIds;
49
- labelledBy: string;
50
- sheetTitle: ReactNode;
51
- };
52
- };
53
- /**
54
- * The calendar's open state and anchor, and the instant the field opened
55
- * with: a zoned field puts that back, not a wall time.
56
- */
57
- export declare function useDateFieldOpen(instant?: Date): {
58
- anchor: RefObject<HTMLDivElement | null>;
59
- open: boolean;
60
- setOpen: (next: boolean) => void;
61
- dir: "ltr" | "rtl" | undefined;
62
- openedAt: RefObject<Date | undefined>;
24
+ triggerAttrs: import('../picker-trigger/index.js').PickerTriggerAttrs;
63
25
  };
64
26
  type PopoverInput<P> = {
65
27
  value?: Date;
@@ -0,0 +1,28 @@
1
+ import { ReactNode } from 'react';
2
+ import { PickerTriggerAttrs } from '../picker-trigger/picker-trigger-attrs.js';
3
+ /** What names the field's trigger and the open calendar, and the ids they share. */
4
+ export declare function useDateFieldModel({ label, placeholder, ariaLabel, ariaLabelledBy, helperText, triggerAttrs, }: {
5
+ label?: ReactNode;
6
+ placeholder?: string;
7
+ ariaLabel?: string;
8
+ ariaLabelledBy?: string;
9
+ helperText?: ReactNode;
10
+ triggerAttrs: PickerTriggerAttrs;
11
+ }): {
12
+ naming: {
13
+ label: ReactNode;
14
+ placeholder: string | undefined;
15
+ 'aria-label': string | undefined;
16
+ 'aria-labelledby': string | undefined;
17
+ };
18
+ model: {
19
+ frameIds: {
20
+ labelId: string;
21
+ helperId: string;
22
+ triggerId: string;
23
+ };
24
+ ids: import('../picker-trigger/typed-group-name.js').TypedFieldIds;
25
+ labelledBy: string;
26
+ sheetTitle: ReactNode;
27
+ };
28
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The calendar's open state and anchor, and the instant the field opened
3
+ * with: a zoned field puts that back, not a wall time.
4
+ */
5
+ export declare function useDateFieldOpen(instant?: Date): {
6
+ anchor: import('react').RefObject<HTMLDivElement | null>;
7
+ open: boolean;
8
+ setOpen: (next: boolean) => void;
9
+ dir: "ltr" | "rtl" | undefined;
10
+ openedAt: import('react').RefObject<Date | undefined>;
11
+ };
@@ -25,4 +25,6 @@ export { StatusCard } from './partials/status-card.js';
25
25
  export { TagCard } from './partials/tag-card.js';
26
26
  export { TicketCard } from './partials/ticket-card.js';
27
27
  export { TimelineCard } from './partials/timeline-card.js';
28
- export type { AlbumCardProps, ChecklistCardProps, ChecklistItem, CrewCardProps, EventCardProps, FeatureCardProps, FileCardProps, LinkCardProps, MediaCardProps, MessageCardProps, NoticeCardProps, OfferCardProps, OverlayCardProps, PlaceCardProps, PricingCardProps, ProfileCardProps, QuoteCardProps, ReceiptCardProps, ReceiptItem, ReviewCardProps, ScoreCardProps, ScoreSide, ShortcutCardProps, ShortcutItem, SplitCardProps, SpotlightCardProps, StatusCardProps, TagCardProps, TicketCardProps, TimelineCardItem, TimelineCardProps, } from './types.js';
28
+ export type { ChecklistCardProps, ChecklistItem, FileCardProps, OfferCardProps, PlaceCardProps, ReceiptCardProps, ReceiptItem, ReviewCardProps, ScoreCardProps, ScoreSide, ShortcutCardProps, ShortcutItem, StatusCardProps, } from './types-detail.js';
29
+ export type { AlbumCardProps, EventCardProps, LinkCardProps, MessageCardProps, TagCardProps, TimelineCardItem, TimelineCardProps, } from './types-feed.js';
30
+ export type { CrewCardProps, FeatureCardProps, MediaCardProps, NoticeCardProps, OverlayCardProps, PricingCardProps, ProfileCardProps, QuoteCardProps, SplitCardProps, SpotlightCardProps, TicketCardProps, } from './types-intro.js';
@@ -1,2 +1,2 @@
1
- import { AlbumCardProps } from '../types.js';
1
+ import { AlbumCardProps } from '../types-feed.js';
2
2
  export declare function AlbumCard({ title, description, photos, className, ...props }: AlbumCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ChecklistCardProps } from '../types.js';
1
+ import { ChecklistCardProps } from '../types-detail.js';
2
2
  export declare function ChecklistCard({ title, items, className, ...props }: ChecklistCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { CrewCardProps } from '../types.js';
1
+ import { CrewCardProps } from '../types-intro.js';
2
2
  export declare function CrewCard({ title, description, people, actions, className, ...props }: CrewCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { EventCardProps } from '../types.js';
1
+ import { EventCardProps } from '../types-feed.js';
2
2
  export declare function EventCard({ day, month, title, location, actions, className, ...props }: EventCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { FeatureCardProps } from '../types.js';
1
+ import { FeatureCardProps } from '../types-intro.js';
2
2
  export declare function FeatureCard({ eyebrow, title, description, icon, actions, className, ...props }: FeatureCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { FileCardProps } from '../types.js';
1
+ import { FileCardProps } from '../types-detail.js';
2
2
  export declare function FileCard({ name, bytes, size, meta, icon, className, ...props }: FileCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { LinkCardProps } from '../types.js';
1
+ import { LinkCardProps } from '../types-feed.js';
2
2
  export declare function LinkCard({ title, href, host, description, media, className, ...props }: LinkCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { MediaCardProps } from '../types.js';
1
+ import { MediaCardProps } from '../types-intro.js';
2
2
  export declare function MediaCard({ title, description, media, footer, className, ...props }: MediaCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { MessageCardProps } from '../types.js';
1
+ import { MessageCardProps } from '../types-feed.js';
2
2
  export declare function MessageCard({ name, snippet, meta, avatar, unread, className, ...props }: MessageCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { NoticeCardProps } from '../types.js';
1
+ import { NoticeCardProps } from '../types-intro.js';
2
2
  export declare function NoticeCard({ eyebrow, title, description, actions, className, ...props }: NoticeCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { OfferCardProps } from '../types.js';
1
+ import { OfferCardProps } from '../types-detail.js';
2
2
  export declare function OfferCard({ eyebrow, title, code, description, className, ...props }: OfferCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { OverlayCardProps } from '../types.js';
1
+ import { OverlayCardProps } from '../types-intro.js';
2
2
  export declare function OverlayCard({ title, description, media, eyebrow, actions, className, ...props }: OverlayCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { PlaceCardProps } from '../types.js';
1
+ import { PlaceCardProps } from '../types-detail.js';
2
2
  export declare function PlaceCard({ title, address, meta, icon, className, ...props }: PlaceCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { PricingCardProps } from '../types.js';
1
+ import { PricingCardProps } from '../types-intro.js';
2
2
  export declare function PricingCard({ name, price, period, description, features, actions, highlighted, className, ...props }: PricingCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ProfileCardProps } from '../types.js';
1
+ import { ProfileCardProps } from '../types-intro.js';
2
2
  export declare function ProfileCard({ name, subtitle, meta, avatar, actions, className, ...props }: ProfileCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { QuoteCardProps } from '../types.js';
1
+ import { QuoteCardProps } from '../types-intro.js';
2
2
  export declare function QuoteCard({ quote, author, subtitle, avatar, className, ...props }: QuoteCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ReceiptCardProps } from '../types.js';
1
+ import { ReceiptCardProps } from '../types-detail.js';
2
2
  export declare function ReceiptCard({ title, meta, items, total, className, ...props }: ReceiptCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ReviewCardProps } from '../types.js';
1
+ import { ReviewCardProps } from '../types-detail.js';
2
2
  export declare function ReviewCard({ quote, author, subtitle, avatar, rating, max, className, ...props }: ReviewCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ScoreCardProps } from '../types.js';
1
+ import { ScoreCardProps } from '../types-detail.js';
2
2
  export declare function ScoreCard({ title, meta, home, away, className, ...props }: ScoreCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ShortcutCardProps } from '../types.js';
1
+ import { ShortcutCardProps } from '../types-detail.js';
2
2
  export declare function ShortcutCard({ title, items, className, ...props }: ShortcutCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { SplitCardProps } from '../types.js';
1
+ import { SplitCardProps } from '../types-intro.js';
2
2
  export declare function SplitCard({ kicker, icon, title, description, actions, className, ...props }: SplitCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { SpotlightCardProps } from '../types.js';
1
+ import { SpotlightCardProps } from '../types-intro.js';
2
2
  export declare function SpotlightCard({ eyebrow, title, description, icon, className, ...props }: SpotlightCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { StatusCardProps } from '../types.js';
1
+ import { StatusCardProps } from '../types-detail.js';
2
2
  export declare function StatusCard({ title, description, status, tone, pulse, className, ...props }: StatusCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { TagCardProps } from '../types.js';
1
+ import { TagCardProps } from '../types-feed.js';
2
2
  export declare function TagCard({ title, description, tags, className, ...props }: TagCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { TicketCardProps } from '../types.js';
1
+ import { TicketCardProps } from '../types-intro.js';
2
2
  export declare function TicketCard({ title, description, stub, meta, actions, className, ...props }: TicketCardProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { TimelineCardProps } from '../types.js';
1
+ import { TimelineCardProps } from '../types-feed.js';
2
2
  export declare function TimelineCard({ title, items, className, ...props }: TimelineCardProps): import("react").JSX.Element;
@@ -13,6 +13,7 @@ export * from './hydrate-loading/index.js';
13
13
  export * from './loading-indicator/index.js';
14
14
  export * from './notification-row/index.js';
15
15
  export * from './notifications/index.js';
16
+ export * from './page-load-failed/index.js';
16
17
  export * from './progress/index.js';
17
18
  export * from './scroll-progress/index.js';
18
19
  export * from './skeleton/index.js';
@@ -1,5 +1,5 @@
1
+ import { NotificationsModel } from './notifications-model.js';
1
2
  import { ReactNode } from 'react';
2
- import { NotificationsModel } from './use-notifications.js';
3
3
  export declare function NotificationsProvider({ value, children, }: {
4
4
  value: NotificationsModel;
5
5
  children: ReactNode;
@@ -1,4 +1,3 @@
1
1
  import { NotificationsModel } from './notifications-model.js';
2
2
  import { NotificationsProps } from './types.js';
3
- export type { NotificationsModel } from './notifications-model.js';
4
3
  export declare function useNotifications(props: NotificationsProps): NotificationsModel;
@@ -0,0 +1 @@
1
+ export * from './page-load-failed.js';
@@ -0,0 +1,15 @@
1
+ import { EmptyStateProps } from '../empty-state/empty-state.js';
2
+ export type PageLoadFailedProps = Omit<EmptyStateProps, 'action'> & {
3
+ /** Where "Back to the start" goes: the list without its cursor. */
4
+ href: string;
5
+ /** The link's text (translated "Back to the start" by default). */
6
+ linkLabel?: string;
7
+ };
8
+ /**
9
+ * The page of a list opened at a cursor that failed to load: an
10
+ * `EmptyState` with a title and a link back to the start. It renders the link
11
+ * with the `LinkComponentProvider`'s component, like the other links of the
12
+ * library. For the next page of a list that is already shown, use
13
+ * `LoadMoreFooter`'s failed state instead, which keeps the rows.
14
+ */
15
+ export declare function PageLoadFailed({ href, linkLabel, title, ...props }: PageLoadFailedProps): import("react").JSX.Element;
@@ -1 +1,2 @@
1
- export { type StepDotState, StepDots, type StepDotsProps } from './step-dots.js';
1
+ export type { StepDotState } from './step-dot.js';
2
+ export { StepDots, type StepDotsProps } from './step-dots.js';
@@ -1,6 +1,5 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { StepDotState } from './step-dot.js';
3
- export type { StepDotState } from './step-dot.js';
4
3
  export type StepDotsProps = {
5
4
  /** How many steps. */
6
5
  count: number;