@jetbrains/ring-ui 5.0.3 → 5.0.4

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.
@@ -42,7 +42,9 @@ export interface CustomAnchorProps {
42
42
  wrapperProps: HTMLAttributes<HTMLElement> & DataTestProps & {
43
43
  ref: RefCallback<HTMLElement>;
44
44
  };
45
- buttonProps: ButtonHTMLAttributes<HTMLButtonElement> & DataTestProps;
45
+ buttonProps: Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'id' | 'disabled' | 'children'> & {
46
+ onClick: () => void;
47
+ } & DataTestProps;
46
48
  popup: ReactNode;
47
49
  }
48
50
  export declare type CustomAnchor = ((props: CustomAnchorProps) => ReactNode);
@@ -42,7 +42,9 @@ export interface CustomAnchorProps {
42
42
  wrapperProps: HTMLAttributes<HTMLElement> & DataTestProps & {
43
43
  ref: RefCallback<HTMLElement>;
44
44
  };
45
- buttonProps: ButtonHTMLAttributes<HTMLButtonElement> & DataTestProps;
45
+ buttonProps: Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'id' | 'disabled' | 'children'> & {
46
+ onClick: () => void;
47
+ } & DataTestProps;
46
48
  popup: ReactNode;
47
49
  }
48
50
  export declare type CustomAnchor = ((props: CustomAnchorProps) => ReactNode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -254,5 +254,5 @@
254
254
  "node": ">=7.4",
255
255
  "npm": ">=6.0.0"
256
256
  },
257
- "gitHead": "2d8c142365124d1c05fe5c12b327df3d36c5d050"
257
+ "gitHead": "db0d947c03a2ae7735c5e3f48712fbd22709010b"
258
258
  }