kui-complex 0.0.145 → 0.0.146
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/ButtonSelect/cjs/index.js +1 -1
- package/ButtonSelect/cjs/index.js.map +1 -1
- package/ButtonSelect/index.js +1 -1
- package/ButtonSelect/index.js.map +1 -1
- package/CalendarHeaderWithSelect/cjs/index.js +1 -1
- package/CalendarHeaderWithSelect/cjs/index.js.map +1 -1
- package/CalendarHeaderWithSelect/index.js +1 -1
- package/CalendarHeaderWithSelect/index.js.map +1 -1
- package/InputSelect/cjs/index.js +1 -1
- package/InputSelect/cjs/index.js.map +1 -1
- package/InputSelect/index.js +1 -1
- package/InputSelect/index.js.map +1 -1
- package/InputSelectWithController/cjs/index.js +1 -1
- package/InputSelectWithController/cjs/index.js.map +1 -1
- package/InputSelectWithController/index.js +1 -1
- package/InputSelectWithController/index.js.map +1 -1
- package/InputWithDatePicker/cjs/index.js +1 -1
- package/InputWithDatePicker/cjs/index.js.map +1 -1
- package/InputWithDatePicker/index.d.ts +1 -1
- package/InputWithDatePicker/index.js +1 -1
- package/InputWithDatePicker/index.js.map +1 -1
- package/SelectMonth/cjs/index.js +1 -1
- package/SelectMonth/cjs/index.js.map +1 -1
- package/SelectMonth/index.js +1 -1
- package/SelectMonth/index.js.map +1 -1
- package/SelectYear/cjs/index.js +1 -1
- package/SelectYear/cjs/index.js.map +1 -1
- package/SelectYear/index.js +1 -1
- package/SelectYear/index.js.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -189,7 +189,7 @@ declare const InputWithDatePicker: React.ForwardRefExoticComponent<Pick<{
|
|
|
189
189
|
} | undefined;
|
|
190
190
|
defaultValue?: Date | undefined;
|
|
191
191
|
name?: string | undefined;
|
|
192
|
-
datePickerProps?: react_datepicker.ReactDatePickerProps<never, undefined
|
|
192
|
+
datePickerProps?: Partial<react_datepicker.ReactDatePickerProps<never, undefined>> | undefined;
|
|
193
193
|
form: any;
|
|
194
194
|
onChange?: ((date: DateTime | null) => void) | undefined;
|
|
195
195
|
footerLabel?: string | undefined;
|
package/index.js
CHANGED
|
@@ -332,7 +332,7 @@ var InputSelect = forwardRef(function (_a, ref) {
|
|
|
332
332
|
var _b;
|
|
333
333
|
var options = _a.options, name = _a.name, handleChange = _a.handleChange; _a.form; var valueProp = _a.value, inputProps = __rest(_a, ["options", "name", "handleChange", "form", "value"]);
|
|
334
334
|
var _c = useState(valueProp), value = _c[0], setValue = _c[1];
|
|
335
|
-
var selectedLabel = (_b = options.find(function (option) { return String(option.value) === String(value); })) === null || _b === void 0 ? void 0 : _b.label;
|
|
335
|
+
var selectedLabel = ((_b = options.find(function (option) { return String(option.value) === String(value); })) === null || _b === void 0 ? void 0 : _b.label) || "";
|
|
336
336
|
var handleSelect = function (option) {
|
|
337
337
|
setValue(option.value);
|
|
338
338
|
if (handleChange) {
|