@mmb-digital/design-system-web 0.1.77 → 0.1.78

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 (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { ReactNode, FC, PropsWithChildren, ReactElement, RefObject, SyntheticEvent, RefAttributes, FocusEvent, ChangeEvent, HTMLInputTypeAttribute, ComponentType, MouseEvent, HTMLAttributes } from 'react';
2
+ import React__default, { ReactNode, FC, PropsWithChildren, MouseEvent, ReactElement, RefObject, SyntheticEvent, RefAttributes, FocusEvent, ChangeEvent, HTMLInputTypeAttribute, ComponentType, HTMLAttributes } from 'react';
3
3
  import * as styled_components from 'styled-components';
4
4
  import * as styled_components_dist_types from 'styled-components/dist/types';
5
5
  import { MessageDescriptor } from 'react-intl';
@@ -92,7 +92,7 @@ interface ButtonProps {
92
92
  href?: string;
93
93
  iconLeft?: ReactNode;
94
94
  iconRight?: ReactNode;
95
- onClick?: () => void;
95
+ onClick?: (event: MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
96
96
  size: ButtonSize;
97
97
  type?: ButtonType;
98
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmb-digital/design-system-web",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "MMB design-system-web",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",