@jk-core/components 0.1.0 → 0.1.1
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.
- package/dist/Calendar/components/DayTile/index.d.ts +3 -1
- package/dist/Calendar/index.d.ts +2 -1
- package/dist/index.js +347 -345
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +18 -18
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +11 -0
- package/dist/style.css.map +1 -1
- package/package.json +1 -1
- package/src/Calendar/scss/_calendar.scss +9 -0
- package/src/Calendar/scss/_tile.scss +6 -0
|
@@ -6,6 +6,8 @@ interface Props {
|
|
|
6
6
|
}[][];
|
|
7
7
|
tileContent?: () => React.ReactNode;
|
|
8
8
|
handleDayClick: (day: Date) => void;
|
|
9
|
+
max?: Date;
|
|
10
|
+
min?: Date;
|
|
9
11
|
}
|
|
10
|
-
export default function DayTile({ selectedDate, weeksInMonth, tileContent, handleDayClick, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default function DayTile({ selectedDate, weeksInMonth, tileContent, handleDayClick, max, min, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export {};
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ interface CalendarProps {
|
|
|
9
9
|
min?: Date;
|
|
10
10
|
max?: Date;
|
|
11
11
|
onClose?: () => void;
|
|
12
|
+
viewSelector?: boolean;
|
|
12
13
|
}
|
|
13
|
-
export default function Calendar({ className, date: selectedDate, view, setView, tileContent, onChange, onClose, min, max, }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default function Calendar({ className, date: selectedDate, view, setView, tileContent, onChange, onClose, viewSelector, min, max, }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export {};
|