@itcase/ui 1.0.26 → 1.0.27
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.
|
@@ -10201,7 +10201,9 @@ function DatePickerInput(props) {
|
|
|
10201
10201
|
return /*#__PURE__*/React__namespace.default.createElement("div", {
|
|
10202
10202
|
className: clsx__default.default(className, 'datepicker', (datePickerProps == null ? void 0 : datePickerProps.monthsShown) && 'datepicker_type_multiple-months', (datePickerProps == null ? void 0 : datePickerProps.customTimeInput) && 'datepicker_type_button')
|
|
10203
10203
|
}, /*#__PURE__*/React__namespace.default.createElement(Xt, Object.assign({
|
|
10204
|
-
customInput: /*#__PURE__*/React__namespace.default.createElement(DatePickerСustomInput, inputProps
|
|
10204
|
+
customInput: /*#__PURE__*/React__namespace.default.createElement(DatePickerСustomInput, Object.assign({}, inputProps, {
|
|
10205
|
+
inputProps: inputProps
|
|
10206
|
+
})),
|
|
10205
10207
|
endDate: (datePickerProps == null ? void 0 : datePickerProps.selectsRange) && endDate,
|
|
10206
10208
|
locale: ru,
|
|
10207
10209
|
renderCustomHeader: renderCustomHeader,
|
|
@@ -10213,6 +10215,7 @@ function DatePickerInput(props) {
|
|
|
10213
10215
|
}
|
|
10214
10216
|
var DatePickerСustomInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
10215
10217
|
return /*#__PURE__*/React__namespace.default.createElement(index.Input, Object.assign({}, props, {
|
|
10218
|
+
placeholder: props.inputProps.placeholder,
|
|
10216
10219
|
ref: ref
|
|
10217
10220
|
}));
|
|
10218
10221
|
});
|
|
@@ -19,11 +19,12 @@ function NotificationItem(props) {
|
|
|
19
19
|
status = props.status,
|
|
20
20
|
size = props.size,
|
|
21
21
|
text = props.text,
|
|
22
|
-
title = props.title
|
|
22
|
+
title = props.title,
|
|
23
|
+
className = props.className;
|
|
23
24
|
return /*#__PURE__*/React__default.default.createElement("div", {
|
|
24
25
|
className: clsx__default.default('notification__item', status && "notification__item_status_" + status, set && "notification__item_set_" + set, size && "notification__item_set_" + size)
|
|
25
26
|
}, before, /*#__PURE__*/React__default.default.createElement("div", {
|
|
26
|
-
className:
|
|
27
|
+
className: clsx__default.default(className, 'notification__item-wrapper')
|
|
27
28
|
}, title && /*#__PURE__*/React__default.default.createElement("div", {
|
|
28
29
|
className: "notification__item-title"
|
|
29
30
|
}, title), text && /*#__PURE__*/React__default.default.createElement("div", {
|