@tensor_1/react 2.36.0 → 2.38.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.
- package/README.md +16 -0
- package/dist/components/SchedulingAgenda.js +3 -1
- package/dist/components/SchedulingTimeGrid.js +6 -4
- package/dist/components/SchedulingTimeline.js +5 -2
- package/dist/components/Stat.d.ts +7 -0
- package/dist/components/Stat.js +6 -3
- package/dist/hooks/usePrinting.d.ts +15 -0
- package/dist/hooks/usePrinting.js +29 -0
- package/dist/index.cjs +270 -233
- package/dist/index.d.cts +7 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3990,6 +3990,13 @@ interface StatProps extends HTMLAttributes<HTMLElement> {
|
|
|
3990
3990
|
};
|
|
3991
3991
|
/** Whether the editor this tile opens is currently open (`aria-expanded`). */
|
|
3992
3992
|
expanded?: boolean;
|
|
3993
|
+
/**
|
|
3994
|
+
* What the tile started is still running (HAR-1753). The button is announced as busy and
|
|
3995
|
+
* unavailable (`aria-busy`, `aria-disabled`) and stays focusable; `onActivate`, `onClick` and
|
|
3996
|
+
* `onKeyDown` are not called until it ends. Only with `onActivate`: a read-only tile and a
|
|
3997
|
+
* link tile ignore it.
|
|
3998
|
+
*/
|
|
3999
|
+
pending?: boolean;
|
|
3993
4000
|
/**
|
|
3994
4001
|
* What `onActivate` opens, for `aria-haspopup` (HAR-1350; TENSOR B6). Default `'dialog'`;
|
|
3995
4002
|
* `'menu'` for a status menu; `false` for an in-place action (no chevron either).
|