@crystaldesign/diva-backoffice 26.13.0-rc.0 → 26.13.0-rc.2
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/build/esm/index.js +18 -7
- package/package.json +12 -12
package/build/esm/index.js
CHANGED
|
@@ -29925,7 +29925,7 @@ var useMediaUpload = function useMediaUpload(_ref) {
|
|
|
29925
29925
|
var small = "small-NY1-k";
|
|
29926
29926
|
var medium = "medium---QcO";
|
|
29927
29927
|
var big = "big--E39S";
|
|
29928
|
-
var css_248z$18 = ".diva-component-DIVA_BACKOFFICE_NEW .ant-upload-wrapper {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-nested-loading {\n width: 100%;\n height: 100%;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-table-wrapper, .diva-component-DIVA_BACKOFFICE_NEW .ant-table {\n height: inherit;\n overflow: auto;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-drawer-body .ant-spin-nested-loading {\n width: 100%;\n height: 80%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-container {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-spin-container {\n display: flex;\n flex-direction: column;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-space-item .andt-table .ant-spin-container {\n height: calc(60vh - 90px);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-table-container {\n height: calc(100% - 80px);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list-item-container {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-select {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .small-NY1-k {\n width: 104px;\n height: 104px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .medium---QcO {\n width: 200px;\n height: 200px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .big--E39S {\n width: 400px;\n height: 400px;\n}\n";
|
|
29928
|
+
var css_248z$18 = ".diva-component-DIVA_BACKOFFICE_NEW .ant-upload-wrapper {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-nested-loading {\n width: 100%;\n height: 100%;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-table-wrapper, .diva-component-DIVA_BACKOFFICE_NEW .ant-table {\n height: inherit;\n overflow: auto;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-drawer-body .ant-spin-nested-loading {\n width: 100%;\n height: 80%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-container {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-spin-container {\n display: flex;\n flex-direction: column;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-space-item .andt-table .ant-spin-container {\n height: calc(60vh - 90px);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-table-container {\n height: calc(100% - 80px);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list {\n width: 100%;\n height: 100%;\n}\n\n/* since antd 6.3.1 the picture-card list only has a min-height; the 100% heights of the select and item below need a fixed one */\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list-picture-card {\n height: var(--ant-upload-picture-card-size);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list-item-container {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-select {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .small-NY1-k {\n width: 104px;\n height: 104px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .medium---QcO {\n width: 200px;\n height: 200px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .big--E39S {\n width: 400px;\n height: 400px;\n}\n";
|
|
29929
29929
|
styleInject(css_248z$18);
|
|
29930
29930
|
|
|
29931
29931
|
var MediaUpload = observer(function (_ref) {
|
|
@@ -32685,10 +32685,15 @@ var advancedProps = function advancedProps(title) {
|
|
|
32685
32685
|
visible = _ref3.visible;
|
|
32686
32686
|
var ref = useRef(null);
|
|
32687
32687
|
useEffect(function () {
|
|
32688
|
-
if (visible)
|
|
32688
|
+
if (!visible) return;
|
|
32689
|
+
// antd mounts and shows the dropdown content only after this effect, so the input can be selected one task later
|
|
32690
|
+
var timeout = setTimeout(function () {
|
|
32689
32691
|
var _ref$current2;
|
|
32690
|
-
(_ref$current2 = ref.current) === null || _ref$current2 === void 0
|
|
32691
|
-
}
|
|
32692
|
+
return (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.select();
|
|
32693
|
+
});
|
|
32694
|
+
return function () {
|
|
32695
|
+
return clearTimeout(timeout);
|
|
32696
|
+
};
|
|
32692
32697
|
}, [visible]);
|
|
32693
32698
|
return /*#__PURE__*/jsx("div", {
|
|
32694
32699
|
style: {
|
|
@@ -32791,9 +32796,15 @@ var searchProps = function searchProps(title, filter) {
|
|
|
32791
32796
|
visible = _ref4.visible;
|
|
32792
32797
|
var ref1 = useRef(null);
|
|
32793
32798
|
useEffect(function () {
|
|
32794
|
-
if (visible)
|
|
32795
|
-
|
|
32796
|
-
|
|
32799
|
+
if (!visible) return;
|
|
32800
|
+
// antd mounts and shows the dropdown content only after this effect, so the input can be selected one task later
|
|
32801
|
+
var timeout = setTimeout(function () {
|
|
32802
|
+
var _ref1$current;
|
|
32803
|
+
return (_ref1$current = ref1.current) === null || _ref1$current === void 0 ? void 0 : _ref1$current.select();
|
|
32804
|
+
});
|
|
32805
|
+
return function () {
|
|
32806
|
+
return clearTimeout(timeout);
|
|
32807
|
+
};
|
|
32797
32808
|
}, [visible]);
|
|
32798
32809
|
return /*#__PURE__*/jsxs("div", {
|
|
32799
32810
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.13.0-rc.
|
|
3
|
+
"version": "26.13.0-rc.2",
|
|
4
4
|
"description": "Ant Design backoffice shell (configuration modules), the Diva Data Engine component hosting the IDM and enricher editors, and the Produkt Onboarding component hosting the Assortment Manager.",
|
|
5
5
|
"license": "COMMERCIAL",
|
|
6
6
|
"devDependencies": {
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ant-design/icons": "6.3.4",
|
|
18
18
|
"@babel/runtime": "7.24.7",
|
|
19
|
-
"@crystaldesign/classification": "26.13.0-rc.
|
|
20
|
-
"@crystaldesign/content-box": "26.13.0-rc.
|
|
21
|
-
"@crystaldesign/content-item": "26.13.0-rc.
|
|
22
|
-
"@crystaldesign/diva-agent": "26.13.0-rc.
|
|
23
|
-
"@crystaldesign/diva-core": "26.13.0-rc.
|
|
24
|
-
"@crystaldesign/diva-utils": "26.13.0-rc.
|
|
25
|
-
"@crystaldesign/mass-configurator": "26.13.0-rc.
|
|
26
|
-
"@crystaldesign/media-upload": "26.13.0-rc.
|
|
27
|
-
"@crystaldesign/rtf-editor": "26.13.0-rc.
|
|
28
|
-
"@crystaldesign/spreadsheet": "26.13.0-rc.
|
|
19
|
+
"@crystaldesign/classification": "26.13.0-rc.2",
|
|
20
|
+
"@crystaldesign/content-box": "26.13.0-rc.2",
|
|
21
|
+
"@crystaldesign/content-item": "26.13.0-rc.2",
|
|
22
|
+
"@crystaldesign/diva-agent": "26.13.0-rc.2",
|
|
23
|
+
"@crystaldesign/diva-core": "26.13.0-rc.2",
|
|
24
|
+
"@crystaldesign/diva-utils": "26.13.0-rc.2",
|
|
25
|
+
"@crystaldesign/mass-configurator": "26.13.0-rc.2",
|
|
26
|
+
"@crystaldesign/media-upload": "26.13.0-rc.2",
|
|
27
|
+
"@crystaldesign/rtf-editor": "26.13.0-rc.2",
|
|
28
|
+
"@crystaldesign/spreadsheet": "26.13.0-rc.2",
|
|
29
29
|
"@dnd-kit/core": "^6.1.0",
|
|
30
30
|
"@dnd-kit/sortable": "^8.0.0",
|
|
31
31
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"suiteName": "diva-backoffice",
|
|
64
64
|
"outputDirectory": "./test-reports"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "aea19177f28c6d962c757f7bdae06781d2da32e2"
|
|
67
67
|
}
|