kahuna-base-react-components 1.2.12 → 1.3.2

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.
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import "./KSelectRangeDateCustom.css";
3
+ import "../../main.css";
4
+ export interface KSelectRangeDateProps {
5
+ value: DateRangeType;
6
+ onChange: (date: DateRangeType) => void;
7
+ width?: string;
8
+ height?: string;
9
+ border?: string;
10
+ backgroundColor?: string;
11
+ boxShadow?: string;
12
+ icon?: string;
13
+ padding?: string;
14
+ hoverBackgroundColor?: string;
15
+ borderRadius?: number;
16
+ anchorToButton?: boolean;
17
+ position?: "top" | "bottom" | "left" | "right";
18
+ align?: "top" | "bottom" | "left" | "right" | "center";
19
+ minimumDate?: Date;
20
+ maximumDate?: Date;
21
+ popupCalendarBackground?: string;
22
+ hideBackdrop?: boolean;
23
+ }
24
+ export type DateRangeType = Date | null | [Date | null, Date | null];
25
+ declare const KSelectRangeDate: React.FC<KSelectRangeDateProps>;
26
+ export default KSelectRangeDate;
@@ -0,0 +1 @@
1
+ export { default } from './KSelectRangeDate';
package/dist/index.d.ts CHANGED
@@ -11,4 +11,5 @@ import KTooltip from "./components/KTooltip";
11
11
  import KSliderLabel from "./components/KSliderLabel";
12
12
  import KCodeInput from "./components/KCodeInput";
13
13
  import KSelectRange from "./components/KSelectRange";
14
- export { KButton, KSpan, KLogo, KTitleSpan, KInput, KTextArea, KDropdown, KSlider, KSelectDate, KTooltip, KSliderLabel, KCodeInput, KSelectRange };
14
+ import KSelectRangeDate from "./components/KSelectRangeDate";
15
+ export { KButton, KSpan, KLogo, KTitleSpan, KInput, KTextArea, KDropdown, KSlider, KSelectDate, KTooltip, KSliderLabel, KCodeInput, KSelectRange, KSelectRangeDate };