@crystaldesign/diva-backoffice 26.13.0-rc.2 → 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
|
@@ -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
|
}
|