@team-monolith/cds 1.34.3 → 1.34.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.
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { ButtonHTMLAttributes } from "react";
2
2
  import { PolymorphicProps } from "@mui/base";
3
3
  export type SquareButtonColor = "danger" | "primary" | "grey" | "icon" | "black" | "white";
4
4
  export type SquareButtonSize = "large" | "medium" | "small" | "xsmall";
@@ -8,7 +8,7 @@ export interface SquareButtonOwnProps<RootComponentType extends React.ElementTyp
8
8
  /** 비활성화 여부 */
9
9
  disabled?: boolean;
10
10
  /** 버튼의 타입 */
11
- type?: "button" | "submit" | "reset";
11
+ type?: ButtonHTMLAttributes<RootComponentType>["type"];
12
12
  /** 컴포넌트 색상 */
13
13
  color: SquareButtonColor;
14
14
  /** 컴포넌트 크기 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.34.3",
3
+ "version": "1.34.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,