@antscorp/antsomi-ui 1.3.5-beta.881 → 1.3.5-beta.883
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.
|
@@ -6,6 +6,7 @@ import { SelectAccountProvider } from './context/SelectAccountContext';
|
|
|
6
6
|
import { Content } from './Content';
|
|
7
7
|
// Provider
|
|
8
8
|
import { AntdTableConfigProvider } from '../../organism/DataTable/providers';
|
|
9
|
+
import { translate, translations } from '@antscorp/antsomi-locales';
|
|
9
10
|
export const SelectAccount = props => (_jsx(QueryClientProviderAntsomiUI, { client: queryClientAntsomiUI, children: _jsx(AntdTableConfigProvider, { children: _jsx(SelectAccountProvider, { ...props, children: _jsx(Content, {}) }) }) }));
|
|
10
11
|
SelectAccount.defaultProps = {
|
|
11
12
|
initData: [],
|
|
@@ -16,8 +17,8 @@ SelectAccount.defaultProps = {
|
|
|
16
17
|
dataAccountsKey: 'data',
|
|
17
18
|
className: '',
|
|
18
19
|
styles: {},
|
|
19
|
-
addText:
|
|
20
|
-
applyText:
|
|
21
|
-
cancelText:
|
|
20
|
+
addText: translate(translations._ACT_ADD_ACCOUNT),
|
|
21
|
+
applyText: translate(translations._ACT_APPLY),
|
|
22
|
+
cancelText: translate(translations._ACT_CANCEL),
|
|
22
23
|
};
|
|
23
24
|
export default SelectAccount;
|
|
@@ -549,6 +549,7 @@ const TagifyInput = forwardRef((props, ref) => {
|
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
});
|
|
552
|
+
setTooltipRefresher(prev => prev + 1);
|
|
552
553
|
}
|
|
553
554
|
}, [acceptableTagPattern]);
|
|
554
555
|
const initializeTagify = useCallback(() => {
|
|
@@ -822,7 +823,7 @@ const TagifyInput = forwardRef((props, ref) => {
|
|
|
822
823
|
document.body.appendChild(tooltipWrapper);
|
|
823
824
|
}
|
|
824
825
|
}, []);
|
|
825
|
-
|
|
826
|
+
useDeepCompareEffect(() => {
|
|
826
827
|
const showTooltip = (tagElement) => {
|
|
827
828
|
const tagRect = tagElement.getBoundingClientRect();
|
|
828
829
|
const removeTag = tagElement.getAttribute(REMOVED_TAG);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antscorp/antsomi-ui",
|
|
3
|
-
"version": "1.3.5-beta.
|
|
3
|
+
"version": "1.3.5-beta.883",
|
|
4
4
|
"description": "An enterprise-class UI design language and React UI library.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"dist/*",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"not op_mini all"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@antscorp/antsomi-locales": "^1.0.
|
|
64
|
+
"@antscorp/antsomi-locales": "^1.0.12",
|
|
65
65
|
"@antscorp/icons": "0.27.54",
|
|
66
66
|
"@antscorp/image-editor": "1.0.2",
|
|
67
67
|
"@antscorp/processing-notification": "^1.0.3",
|