Skip to content

Commit

Permalink
(#0) npm publish (0.0.146)
Browse files Browse the repository at this point in the history
  • Loading branch information
baegofda committed Jan 10, 2024
1 parent 89fe3d1 commit 85b2d96
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bbodek-ui",
"version": "0.0.145",
"version": "0.0.146",
"type": "module",
"author": "Bbodek",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion src/core/components/Input/InputDatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const DatePicker = ({
disabledDates,
externalDates,
useTab = false,
closeButtonText = "닫기",
dateLabel,
}: DatePickerProps) => {
const id = useId();
Expand Down Expand Up @@ -87,7 +88,7 @@ const DatePicker = ({
<Button
backgroundColor = 'white'
color = 'gray-06'
content = '닫기'
content = {closeButtonText}
size = 'h-60'
rounded = 'rounded-12'
className = 'w-full border'
Expand Down
2 changes: 2 additions & 0 deletions src/core/components/Input/InputDatePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const InputDatePicker = ({
inputClassName,
afterAllDate,
label,
closeButtonText,
}: InputDatePickerProps & HTMLAttributes<HTMLInputElement>) => {
const id = useId();
const [ periodDates, setPeriodDates ] = useState<PeriodDates>({
Expand Down Expand Up @@ -51,6 +52,7 @@ const InputDatePicker = ({
externalDates = {periodDates}
useTab = {useTab}
disabledDates = {disabledDates}
closeButtonText = {closeButtonText}
/>
));
});
Expand Down
1 change: 1 addition & 0 deletions src/core/components/Input/InputDatePicker/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { DatePickerCalendarProps, PeriodDates } from "@/core/components/Calendar
export interface DatePickerProps extends Pick<DatePickerCalendarProps, "disabled" | "disabledDates" | "cutoffDate" | "cutoffAfterDate" | "initialDate" | "afterAllDate"> {
variants?: DatePickerCalendarProps["variants"];
externalDates?: PeriodDates;
closeButtonText?: string;
isOpen: boolean;
close: DatePickerCalendarProps["onDateClick"];
useTab?: boolean;
Expand Down

0 comments on commit 85b2d96

Please sign in to comment.