@mxmweb/xviewer 1.4.9 → 1.4.10

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.
Files changed (3) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
  3. package/stats.html +1 -1
package/index.js CHANGED
@@ -1132,7 +1132,9 @@ const eh = (e) => Number.parseInt(e?.space?.xviewerCardIconSize || "32", 10) ||
1132
1132
  dashboardHeaderHeight: "38px",
1133
1133
  dashboardHeaderPadding: "0 0 8px 0",
1134
1134
  dashboardContentRadius: "4px",
1135
+ dashboardContentPadding: "16px",
1135
1136
  xviewerToolbarHeight: "52px",
1137
+ xviewerContainerPadding: "0",
1136
1138
  tableHeaderPadding: "0.5rem 0.75rem",
1137
1139
  // DynamicTable / XViewer 表头列之间分隔线粗细
1138
1140
  tableHeaderDividerWidth: "1px",
@@ -22145,6 +22147,7 @@ const Sc = Ge.div.attrs({
22145
22147
  height: 100%;
22146
22148
  display: flex;
22147
22149
  flex-direction: column;
22150
+ padding: ${({ theme: e }) => e?.space?.xviewerContainerPadding ?? e?.space?.padding ?? "0"};
22148
22151
  background: ${({ theme: e }) => e?.colors?.tableBackground ?? e?.colors?.appBackground ?? "transparent"};
22149
22152
  color: ${({ theme: e }) => e?.colors?.text ?? "#1D2129"};
22150
22153
  `, HE = Ge(Sc).attrs({
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "style": "assets/style.css",
6
6
  "types": "lib_enter.d.ts",
7
7
  "private": false,
8
- "version": "1.4.9",
8
+ "version": "1.4.10",
9
9
  "author": "hanfeng_Zhang",
10
10
  "type": "module",
11
11
  "peerDependencies": {