@antscorp/antsomi-ui 1.3.3-beta.72 → 1.3.3-beta.73
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable react/no-unused-prop-types */
|
|
2
2
|
// Libraries
|
|
3
|
-
import React, {
|
|
3
|
+
import React, { useMemo, useState } from 'react';
|
|
4
4
|
import { Tooltip, theme } from 'antd';
|
|
5
5
|
import dayjs from 'dayjs';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -183,7 +183,7 @@ export const AdvancedPicker = props => {
|
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
}, [isOpen]);
|
|
186
|
-
|
|
186
|
+
useDeepCompareEffect(() => {
|
|
187
187
|
try {
|
|
188
188
|
if (option.dateType.value !== 'fixed') {
|
|
189
189
|
const newDate = calculationDateAdvanced(option.dateType.value, option.calculationType.value, option.calculationDate.value, option.value, format);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antscorp/antsomi-ui",
|
|
3
|
-
"version": "1.3.3-beta.
|
|
3
|
+
"version": "1.3.3-beta.73",
|
|
4
4
|
"description": "An enterprise-class UI design language and React UI library.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"dist/*",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"lodash": "^4.17.21",
|
|
89
89
|
"moment": "2.29.2",
|
|
90
90
|
"qs": "6.10.3",
|
|
91
|
+
"rc-picker": "^4.1.1",
|
|
91
92
|
"react-color": "2.19.3",
|
|
92
93
|
"react-draggable": "^4.4.5",
|
|
93
94
|
"react-markdown": "^8.0.7",
|