@astral/ui 4.76.2 → 4.77.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 (63) hide show
  1. package/components/DataGrid/Cell/Cell.d.ts +1 -41
  2. package/components/DataGrid/Cell/Cell.js +7 -26
  3. package/components/DataGrid/Cell/CellInner/CellInner.d.ts +2 -0
  4. package/components/DataGrid/Cell/CellInner/CellInner.js +31 -0
  5. package/components/DataGrid/Cell/CellInner/index.d.ts +2 -0
  6. package/components/DataGrid/Cell/CellInner/index.js +1 -0
  7. package/components/DataGrid/Cell/CellInner/styles.d.ts +20 -0
  8. package/components/DataGrid/Cell/CellInner/styles.js +49 -0
  9. package/components/DataGrid/Cell/CellInner/types.d.ts +48 -0
  10. package/components/DataGrid/Cell/CellInner/types.js +1 -0
  11. package/components/DataGrid/Cell/constants.d.ts +1 -0
  12. package/components/DataGrid/Cell/constants.js +1 -0
  13. package/components/DataGrid/Cell/index.d.ts +1 -0
  14. package/components/DataGrid/Cell/styles.d.ts +0 -15
  15. package/components/DataGrid/Cell/styles.js +0 -32
  16. package/components/DataGrid/Cell/types.d.ts +49 -0
  17. package/components/DataGrid/Cell/types.js +1 -0
  18. package/components/DataGrid/Cell/useLogic/useLogic.d.ts +3 -2
  19. package/components/DataGrid/Cell/useLogic/useLogic.js +8 -1
  20. package/components/DataGrid/Row/Row.js +3 -3
  21. package/components/DataGrid/Row/useLogic/useLogic.d.ts +1 -1
  22. package/components/DataGrid/Row/useLogic/useLogic.js +1 -5
  23. package/components/DataGrid/RowBase/GroupCell/GroupCell.d.ts +1 -1
  24. package/components/DataGrid/RowBase/GroupCell/GroupCell.js +2 -2
  25. package/components/DataGrid/RowBase/GroupCell/types.d.ts +3 -1
  26. package/components/DataGrid/RowBase/RowBase.js +3 -3
  27. package/components/DataGrid/RowBase/useLogic/useLogic.d.ts +2 -0
  28. package/components/DataGrid/RowBase/useLogic/useLogic.js +2 -0
  29. package/components/DataGrid/types.d.ts +2 -3
  30. package/components/DataGridCollapsibleRow/useLogic/useLogic.js +1 -0
  31. package/components/utils/redirectToLink/redirectToLink.d.ts +2 -2
  32. package/node/components/DataGrid/Cell/Cell.d.ts +1 -41
  33. package/node/components/DataGrid/Cell/Cell.js +5 -24
  34. package/node/components/DataGrid/Cell/CellInner/CellInner.d.ts +2 -0
  35. package/node/components/DataGrid/Cell/CellInner/CellInner.js +35 -0
  36. package/node/components/DataGrid/Cell/CellInner/index.d.ts +2 -0
  37. package/node/components/DataGrid/Cell/CellInner/index.js +5 -0
  38. package/node/components/DataGrid/Cell/CellInner/styles.d.ts +20 -0
  39. package/node/components/DataGrid/Cell/CellInner/styles.js +52 -0
  40. package/node/components/DataGrid/Cell/CellInner/types.d.ts +48 -0
  41. package/node/components/DataGrid/Cell/CellInner/types.js +2 -0
  42. package/node/components/DataGrid/Cell/constants.d.ts +1 -0
  43. package/node/components/DataGrid/Cell/constants.js +1 -0
  44. package/node/components/DataGrid/Cell/index.d.ts +1 -0
  45. package/node/components/DataGrid/Cell/styles.d.ts +0 -15
  46. package/node/components/DataGrid/Cell/styles.js +1 -33
  47. package/node/components/DataGrid/Cell/types.d.ts +49 -0
  48. package/node/components/DataGrid/Cell/types.js +2 -0
  49. package/node/components/DataGrid/Cell/useLogic/useLogic.d.ts +3 -2
  50. package/node/components/DataGrid/Cell/useLogic/useLogic.js +8 -1
  51. package/node/components/DataGrid/Row/Row.js +3 -3
  52. package/node/components/DataGrid/Row/useLogic/useLogic.d.ts +1 -1
  53. package/node/components/DataGrid/Row/useLogic/useLogic.js +1 -5
  54. package/node/components/DataGrid/RowBase/GroupCell/GroupCell.d.ts +1 -1
  55. package/node/components/DataGrid/RowBase/GroupCell/GroupCell.js +2 -2
  56. package/node/components/DataGrid/RowBase/GroupCell/types.d.ts +3 -1
  57. package/node/components/DataGrid/RowBase/RowBase.js +3 -3
  58. package/node/components/DataGrid/RowBase/useLogic/useLogic.d.ts +2 -0
  59. package/node/components/DataGrid/RowBase/useLogic/useLogic.js +2 -0
  60. package/node/components/DataGrid/types.d.ts +2 -3
  61. package/node/components/DataGridCollapsibleRow/useLogic/useLogic.js +1 -0
  62. package/node/components/utils/redirectToLink/redirectToLink.d.ts +2 -2
  63. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- export type Target = '_blank' | '_self' | '_parent' | '_top';
1
+ import { type HTMLAttributeAnchorTarget } from 'react';
2
2
  /**
3
3
  * Программно выполняет переход по ссылке, эмулируя клик по элементу <a>.
4
4
  * Можно указать цель перехода (target), например, открыть в новой вкладке.
@@ -10,4 +10,4 @@ export type Target = '_blank' | '_self' | '_parent' | '_top';
10
10
  * - `_parent` — в родительском фрейме,
11
11
  * - `_top` — в верхнем уровне окна.
12
12
  */
13
- export declare const redirectToLink: (href: string, target?: Target) => void;
13
+ export declare const redirectToLink: (href: string, target?: HTMLAttributeAnchorTarget) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "4.76.2",
3
+ "version": "4.77.0",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {