@tidbcloud/uikit 2.0.0-beta.61 → 2.0.0-beta.62

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.0.0-beta.62
4
+
5
+ ### Patch Changes
6
+
7
+ - fix form actions type
8
+
3
9
  ## 2.0.0-beta.61
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
- import { ButtonProps, FlexProps } from '../../primitive/index.js';
2
- type ActionButtonProps = Omit<ButtonProps, 'children'> & {
1
+ import { ButtonProps, ElementProps, FlexProps } from '../../primitive/index.js';
2
+ type ActionButtonProps = Omit<ButtonProps, 'children'> & ElementProps<'button'> & {
3
3
  [p: `data-${string}`]: string;
4
4
  };
5
5
  export interface FormActionsProps extends FlexProps {
@@ -1,5 +1,5 @@
1
- import { ButtonProps, FlexProps } from '../../primitive/index.js';
2
- type ActionButtonProps = Omit<ButtonProps, 'children'> & {
1
+ import { ButtonProps, ElementProps, FlexProps } from '../../primitive/index.js';
2
+ type ActionButtonProps = Omit<ButtonProps, 'children'> & ElementProps<'button'> & {
3
3
  [p: `data-${string}`]: string;
4
4
  };
5
5
  export interface FormActionsProps extends FlexProps {
@@ -2,3 +2,4 @@ export * from 'mantine-react-table';
2
2
  export * from './ProTable.js';
3
3
  export * from './Expand.js';
4
4
  export * from './helpers.js';
5
+ export * from './types.js';
@@ -2,3 +2,4 @@ export * from 'mantine-react-table';
2
2
  export * from './ProTable.js';
3
3
  export * from './Expand.js';
4
4
  export * from './helpers.js';
5
+ export * from './types.js';
@@ -11,7 +11,6 @@ type Xor<A, B> = Prettify<A & {
11
11
  }>;
12
12
  type TableInstanceProp<TData extends MRT_RowData> = {
13
13
  table: MRT_TableInstance<TData>;
14
- pagination?: TablePaginationProps;
15
14
  };
16
15
  export interface ProTableExtraProps {
17
16
  withBorder?: boolean;
@@ -11,7 +11,6 @@ type Xor<A, B> = Prettify<A & {
11
11
  }>;
12
12
  type TableInstanceProp<TData extends MRT_RowData> = {
13
13
  table: MRT_TableInstance<TData>;
14
- pagination?: TablePaginationProps;
15
14
  };
16
15
  export interface ProTableExtraProps {
17
16
  withBorder?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.61",
3
+ "version": "2.0.0-beta.62",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",