sccoreui 3.5.7 → 3.5.9
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/assets/sccoreui.css
CHANGED
|
@@ -128,6 +128,6 @@ const DatePicker = (props) => {
|
|
|
128
128
|
}
|
|
129
129
|
setPropsState(datePickerProps);
|
|
130
130
|
}, []);
|
|
131
|
-
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex justify-content-center w-full
|
|
131
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex justify-content-center w-full" }, { children: (0, jsx_runtime_1.jsx)(calendar_1.Calendar, Object.assign({ showIcon: true, value: fromDate, onChange: (e) => onChangeDate(e), footerTemplate: template, className: "custom_date_picker" }, propsState)) })));
|
|
132
132
|
};
|
|
133
133
|
exports.default = DatePicker;
|
|
@@ -21,7 +21,12 @@ const MultiSelectDropDown = (props) => {
|
|
|
21
21
|
(0, jsx_runtime_1.jsx)(svg_component_1.default, { className: "propile_icon icon_left left_section_item absolute z-5 ", icon: props.leftIcon, size: 20 }, Math.floor(Math.random() * 1000)) }));
|
|
22
22
|
};
|
|
23
23
|
const clearIcon = () => {
|
|
24
|
-
|
|
24
|
+
const onClear = () => {
|
|
25
|
+
setItems([]);
|
|
26
|
+
if (props.onClear)
|
|
27
|
+
props.onClear();
|
|
28
|
+
};
|
|
29
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ onClick: onClear, className: "flex align-items-center" }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { className: "propile_icon icon_right right_section_item absolute z-5 ", icon: props.clear, size: 20 }, Math.floor(Math.random() * 1000)) })));
|
|
25
30
|
};
|
|
26
31
|
const onChange = (e) => {
|
|
27
32
|
setItems(e.value);
|