@crystaldesign/diva-backoffice 26.13.0-rc.1 → 26.13.0-rc.3
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
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) {
|
|
@@ -93876,6 +93876,7 @@ function Router() {
|
|
|
93876
93876
|
}
|
|
93877
93877
|
var Router$1 = observer(Router);
|
|
93878
93878
|
|
|
93879
|
+
var CLEAR_BUTTONS = 'button.ant-select-clear, button.ant-input-clear-icon, button.ant-picker-clear, .ant-color-picker-clear';
|
|
93879
93880
|
var MainLayout = function MainLayout(_ref) {
|
|
93880
93881
|
var _ref$navigation = _ref.navigation,
|
|
93881
93882
|
navigation = _ref$navigation === void 0 ? /*#__PURE__*/jsx(Navigation$4, {}) : _ref$navigation,
|
|
@@ -93894,6 +93895,19 @@ var MainLayout = function MainLayout(_ref) {
|
|
|
93894
93895
|
header.classList.toggle('lightmode', !isDark);
|
|
93895
93896
|
}
|
|
93896
93897
|
}, [root.contentStore.theme]);
|
|
93898
|
+
useEffect(function () {
|
|
93899
|
+
// Capture phase: runs before the browser moves the focus, so a clear button rendered since the last Tab is skipped as well
|
|
93900
|
+
var skipClearButtons = function skipClearButtons(e) {
|
|
93901
|
+
if (e.key != 'Tab') return;
|
|
93902
|
+
document.querySelectorAll(CLEAR_BUTTONS).forEach(function (clear) {
|
|
93903
|
+
return clear.tabIndex = -1;
|
|
93904
|
+
});
|
|
93905
|
+
};
|
|
93906
|
+
document.addEventListener('keydown', skipClearButtons, true);
|
|
93907
|
+
return function () {
|
|
93908
|
+
return document.removeEventListener('keydown', skipClearButtons, true);
|
|
93909
|
+
};
|
|
93910
|
+
}, []);
|
|
93897
93911
|
return /*#__PURE__*/jsx(ConfigProvider, {
|
|
93898
93912
|
theme: {
|
|
93899
93913
|
algorithm: theme$1 == 'darkmode' ? theme.darkAlgorithm : theme.defaultAlgorithm
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../src/layout/MainLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../src/layout/MainLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAgBjD,UAAU,KAAK;IACb,yDAAyD;IACzD,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,qDAAqD;IACrD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;mDAE0E,KAAK;;;AA8ChF,wBAAoC"}
|
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.3",
|
|
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.3",
|
|
20
|
+
"@crystaldesign/content-box": "26.13.0-rc.3",
|
|
21
|
+
"@crystaldesign/content-item": "26.13.0-rc.3",
|
|
22
|
+
"@crystaldesign/diva-agent": "26.13.0-rc.3",
|
|
23
|
+
"@crystaldesign/diva-core": "26.13.0-rc.3",
|
|
24
|
+
"@crystaldesign/diva-utils": "26.13.0-rc.3",
|
|
25
|
+
"@crystaldesign/mass-configurator": "26.13.0-rc.3",
|
|
26
|
+
"@crystaldesign/media-upload": "26.13.0-rc.3",
|
|
27
|
+
"@crystaldesign/rtf-editor": "26.13.0-rc.3",
|
|
28
|
+
"@crystaldesign/spreadsheet": "26.13.0-rc.3",
|
|
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": "dc6360acb38904555474ddd92a2bd7c2444443fb"
|
|
67
67
|
}
|