diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md index 84491963..59ac2446 100644 --- a/apps/docs/CHANGELOG.md +++ b/apps/docs/CHANGELOG.md @@ -1,5 +1,12 @@ # hawa-docs +## 0.0.65 + +### Patch Changes + +- Updated dependencies + - @sikka/hawa@0.35.1 + ## 0.0.64 ### Patch Changes diff --git a/apps/docs/package.json b/apps/docs/package.json index 758af685..3f230e6d 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,6 +1,6 @@ { "name": "hawa-docs", - "version": "0.0.64", + "version": "0.0.65", "private": true, "scripts": { "dev": "next dev -p 3001", diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 749d26b4..0f9e0871 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,11 @@ # @sikka/hawa +## 0.35.1 + +### Patch Changes + +- `DatePickerButton`: ablility to pass `buttonProps` + ## 0.35.0 ### Minor Changes diff --git a/packages/components/elements/datePicker/DatePickerButton.tsx b/packages/components/elements/datePicker/DatePickerButton.tsx index 02354bb8..f467b003 100644 --- a/packages/components/elements/datePicker/DatePickerButton.tsx +++ b/packages/components/elements/datePicker/DatePickerButton.tsx @@ -2,7 +2,7 @@ import React, { FC } from "react"; import { cn } from "@util/index"; -import { Button } from "../button"; +import { Button, ButtonProps } from "../button"; import { LabelProps } from "../label"; type DatePickerButtonProps = { @@ -14,12 +14,14 @@ type DatePickerButtonProps = { helperText?: any; showHelperText?: boolean; buttonClassNames?: string; + buttonProps?: ButtonProps; }; export const DatePickerButton: FC = ({ label, value, multiple, buttonClassNames, + buttonProps, ...props }) => { return ( @@ -35,6 +37,8 @@ export const DatePickerButton: FC = ({ multiple && "hawa-flex-row", buttonClassNames, )} + type="button" + {...buttonProps} >