visits-style 1.4.6 → 1.4.7

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.
@@ -1,6 +1,6 @@
1
- import { HTMLAttributes } from 'react';
1
+ import { ButtonHTMLAttributes } from 'react';
2
2
  import { ColorType, SizeType } from '../../types';
3
- export interface Props extends HTMLAttributes<HTMLButtonElement> {
3
+ export interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  /** ボタンの色 */
5
5
  color?: ColorType;
6
6
  /** ボタンのサイズ */
@@ -14,5 +14,5 @@ export interface Props extends HTMLAttributes<HTMLButtonElement> {
14
14
  /** アイコンボタンとしてpaddingを同じにする */
15
15
  icon?: boolean;
16
16
  }
17
- declare const _default: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Props>>;
17
+ declare const _default: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Props>>;
18
18
  export default _default;
@@ -1,6 +1,6 @@
1
- import { HTMLAttributes } from 'react';
1
+ import { ButtonHTMLAttributes } from 'react';
2
2
  import { ColorType, SizeType } from '../../types';
3
- export interface ButtonProps extends HTMLAttributes<HTMLButtonElement> {
3
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  /** ボタンの色 */
5
5
  color?: ColorType;
6
6
  /** ボタンのサイズ */
@@ -12,5 +12,5 @@ export interface ButtonProps extends HTMLAttributes<HTMLButtonElement> {
12
12
  /** アイコンボタンとしてpaddingを同じにする */
13
13
  icon?: boolean;
14
14
  }
15
- declare const _default: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonProps>>;
15
+ declare const _default: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonProps>>;
16
16
  export default _default;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "visits-style",
3
3
  "repository": "https://github.com/visits-works/visits-style",
4
4
  "homepage": "https://github.com/visits-works/visits-style",
5
- "version": "1.4.6",
5
+ "version": "1.4.7",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs.js",
8
8
  "module": "./dist/index.es.js",