sag_components 2.0.0-beta331 → 2.0.0-beta333
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/index.d.ts +21 -1
- package/dist/index.esm.js +72 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +72 -23
- package/dist/index.js.map +1 -1
- package/dist/types/components/RangePicker/RangeDatePicker.d.ts +5 -1
- package/dist/types/components/RangePicker/RangePicker.d.ts +21 -1
- package/dist/types/components/RangePicker/RangePicker.stories.d.ts +66 -0
- package/dist/types/icons/Calendar.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export default DatePicker;
|
|
2
|
-
declare function DatePicker({ isOpen, onChangeDate, value, setValue, startDateValue, endDateValue, }: {
|
|
2
|
+
declare function DatePicker({ isOpen, onChangeDate, value, setValue, startDateValue, endDateValue, selectedColor, hoverColor, inRangeColor, clearButtonColor, }: {
|
|
3
3
|
isOpen: any;
|
|
4
4
|
onChangeDate: any;
|
|
5
5
|
value: any;
|
|
6
6
|
setValue: any;
|
|
7
7
|
startDateValue: any;
|
|
8
8
|
endDateValue: any;
|
|
9
|
+
selectedColor: any;
|
|
10
|
+
hoverColor: any;
|
|
11
|
+
inRangeColor: any;
|
|
12
|
+
clearButtonColor: any;
|
|
9
13
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default RangePicker;
|
|
2
|
-
declare function RangePicker({ label, onChange, borderRadius, required, width, height, placeholder, disabled, borderColor, borderColorFocus, textColor, selectedValue, }: {
|
|
2
|
+
declare function RangePicker({ label, onChange, borderRadius, required, width, height, placeholder, disabled, borderColor, borderColorFocus, textColor, selectedValue, selectedColor, hoverColor, inRangeColor, clearButtonColor, calendarIconColor, }: {
|
|
3
3
|
label: any;
|
|
4
4
|
onChange: any;
|
|
5
5
|
borderRadius: any;
|
|
@@ -12,6 +12,11 @@ declare function RangePicker({ label, onChange, borderRadius, required, width, h
|
|
|
12
12
|
borderColorFocus: any;
|
|
13
13
|
textColor: any;
|
|
14
14
|
selectedValue: any;
|
|
15
|
+
selectedColor: any;
|
|
16
|
+
hoverColor: any;
|
|
17
|
+
inRangeColor: any;
|
|
18
|
+
clearButtonColor: any;
|
|
19
|
+
calendarIconColor: any;
|
|
15
20
|
}): import("react/jsx-runtime").JSX.Element;
|
|
16
21
|
declare namespace RangePicker {
|
|
17
22
|
namespace propTypes {
|
|
@@ -27,6 +32,11 @@ declare namespace RangePicker {
|
|
|
27
32
|
const borderColorFocus: PropTypes.Requireable<string>;
|
|
28
33
|
const textColor: PropTypes.Requireable<string>;
|
|
29
34
|
const selectedValue: PropTypes.Requireable<string>;
|
|
35
|
+
const selectedColor: PropTypes.Requireable<string>;
|
|
36
|
+
const hoverColor: PropTypes.Requireable<string>;
|
|
37
|
+
const inRangeColor: PropTypes.Requireable<string>;
|
|
38
|
+
const clearButtonColor: PropTypes.Requireable<string>;
|
|
39
|
+
const calendarIconColor: PropTypes.Requireable<string>;
|
|
30
40
|
}
|
|
31
41
|
namespace defaultProps {
|
|
32
42
|
const required_1: boolean;
|
|
@@ -47,6 +57,16 @@ declare namespace RangePicker {
|
|
|
47
57
|
export { textColor_1 as textColor };
|
|
48
58
|
const selectedValue_1: string;
|
|
49
59
|
export { selectedValue_1 as selectedValue };
|
|
60
|
+
const selectedColor_1: string;
|
|
61
|
+
export { selectedColor_1 as selectedColor };
|
|
62
|
+
const hoverColor_1: string;
|
|
63
|
+
export { hoverColor_1 as hoverColor };
|
|
64
|
+
const inRangeColor_1: string;
|
|
65
|
+
export { inRangeColor_1 as inRangeColor };
|
|
66
|
+
const clearButtonColor_1: string;
|
|
67
|
+
export { clearButtonColor_1 as clearButtonColor };
|
|
68
|
+
const calendarIconColor_1: string;
|
|
69
|
+
export { calendarIconColor_1 as calendarIconColor };
|
|
50
70
|
}
|
|
51
71
|
}
|
|
52
72
|
import PropTypes from "prop-types";
|
|
@@ -140,9 +140,75 @@ declare namespace _default {
|
|
|
140
140
|
}
|
|
141
141
|
export { control_7 as control };
|
|
142
142
|
}
|
|
143
|
+
namespace selectedColor {
|
|
144
|
+
const name_13: string;
|
|
145
|
+
export { name_13 as name };
|
|
146
|
+
const description_8: string;
|
|
147
|
+
export { description_8 as description };
|
|
148
|
+
export namespace control_8 {
|
|
149
|
+
const type_13: string;
|
|
150
|
+
export { type_13 as type };
|
|
151
|
+
const presetColors_3: string[];
|
|
152
|
+
export { presetColors_3 as presetColors };
|
|
153
|
+
}
|
|
154
|
+
export { control_8 as control };
|
|
155
|
+
}
|
|
156
|
+
namespace hoverColor {
|
|
157
|
+
const name_14: string;
|
|
158
|
+
export { name_14 as name };
|
|
159
|
+
const description_9: string;
|
|
160
|
+
export { description_9 as description };
|
|
161
|
+
export namespace control_9 {
|
|
162
|
+
const type_14: string;
|
|
163
|
+
export { type_14 as type };
|
|
164
|
+
const presetColors_4: string[];
|
|
165
|
+
export { presetColors_4 as presetColors };
|
|
166
|
+
}
|
|
167
|
+
export { control_9 as control };
|
|
168
|
+
}
|
|
169
|
+
namespace inRangeColor {
|
|
170
|
+
const name_15: string;
|
|
171
|
+
export { name_15 as name };
|
|
172
|
+
const description_10: string;
|
|
173
|
+
export { description_10 as description };
|
|
174
|
+
export namespace control_10 {
|
|
175
|
+
const type_15: string;
|
|
176
|
+
export { type_15 as type };
|
|
177
|
+
const presetColors_5: string[];
|
|
178
|
+
export { presetColors_5 as presetColors };
|
|
179
|
+
}
|
|
180
|
+
export { control_10 as control };
|
|
181
|
+
}
|
|
182
|
+
namespace clearButtonColor {
|
|
183
|
+
const name_16: string;
|
|
184
|
+
export { name_16 as name };
|
|
185
|
+
const description_11: string;
|
|
186
|
+
export { description_11 as description };
|
|
187
|
+
export namespace control_11 {
|
|
188
|
+
const type_16: string;
|
|
189
|
+
export { type_16 as type };
|
|
190
|
+
const presetColors_6: string[];
|
|
191
|
+
export { presetColors_6 as presetColors };
|
|
192
|
+
}
|
|
193
|
+
export { control_11 as control };
|
|
194
|
+
}
|
|
195
|
+
namespace calendarIconColor {
|
|
196
|
+
const name_17: string;
|
|
197
|
+
export { name_17 as name };
|
|
198
|
+
const description_12: string;
|
|
199
|
+
export { description_12 as description };
|
|
200
|
+
export namespace control_12 {
|
|
201
|
+
const type_17: string;
|
|
202
|
+
export { type_17 as type };
|
|
203
|
+
const presetColors_7: string[];
|
|
204
|
+
export { presetColors_7 as presetColors };
|
|
205
|
+
}
|
|
206
|
+
export { control_12 as control };
|
|
207
|
+
}
|
|
143
208
|
}
|
|
144
209
|
}
|
|
145
210
|
export default _default;
|
|
146
211
|
export const Default: any;
|
|
147
212
|
export const InitialValue: any;
|
|
213
|
+
export const CustomColors: any;
|
|
148
214
|
import RangePicker from "./RangePicker";
|