@coreui/react-pro 4.15.0 → 4.15.1
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/README.md
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
Several quick start options are available:
|
|
44
44
|
|
|
45
|
-
- [Download the latest release](https://github.com/coreui/coreui-react-pro/archive/v4.15.
|
|
45
|
+
- [Download the latest release](https://github.com/coreui/coreui-react-pro/archive/v4.15.1.zip)
|
|
46
46
|
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
|
|
47
47
|
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
|
|
48
48
|
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
|
package/dist/index.es.js
CHANGED
|
@@ -9644,12 +9644,12 @@ var CDateRangePicker = forwardRef(function (_a, ref) {
|
|
|
9644
9644
|
todayButton && (React$1.createElement(CButton, { className: "me-auto", color: todayButtonColor, size: todayButtonSize, variant: todayButtonVariant, onClick: function () {
|
|
9645
9645
|
var date = new Date();
|
|
9646
9646
|
handleStartDateChange(date);
|
|
9647
|
-
handleEndDateChange(date);
|
|
9647
|
+
range && handleEndDateChange(date);
|
|
9648
9648
|
setCalendarDate(date);
|
|
9649
9649
|
} }, todayButton)),
|
|
9650
9650
|
cancelButton && (React$1.createElement(CButton, { color: cancelButtonColor, size: cancelButtonSize, variant: cancelButtonVariant, onClick: function () {
|
|
9651
9651
|
handleStartDateChange(initialStartDate);
|
|
9652
|
-
handleEndDateChange(initialEndDate);
|
|
9652
|
+
range && handleEndDateChange(initialEndDate);
|
|
9653
9653
|
setVisible(false);
|
|
9654
9654
|
} }, cancelButton)),
|
|
9655
9655
|
confirmButton && (React$1.createElement(CButton, { color: confirmButtonColor, size: confirmButtonSize, variant: confirmButtonVariant, onClick: function () {
|