@mxmweb/xviewer 1.4.7 → 1.4.8
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/index.js +4 -3
- package/lib_enter.d.ts +1 -0
- package/package.json +1 -1
- package/stats.html +1 -1
package/index.js
CHANGED
|
@@ -3492,7 +3492,8 @@ const Hh = 320, Kh = 200, Ta = 48, Wh = ({
|
|
|
3492
3492
|
formConfig: e.formConfig,
|
|
3493
3493
|
title: t?.[0]?.title,
|
|
3494
3494
|
description: t?.[0]?.description,
|
|
3495
|
-
formWidth: e.formWidth
|
|
3495
|
+
formWidth: e.formWidth,
|
|
3496
|
+
formPadding: e.formPadding
|
|
3496
3497
|
},
|
|
3497
3498
|
"stable-form-key"
|
|
3498
3499
|
) });
|
|
@@ -22167,9 +22168,8 @@ const Sc = Ge.div.attrs({
|
|
|
22167
22168
|
display: flex;
|
|
22168
22169
|
flex-direction: column;
|
|
22169
22170
|
overflow: hidden;
|
|
22170
|
-
padding-top: 12px;
|
|
22171
22171
|
border-radius: ${({ theme: e }) => e?.space?.radius ?? "4px"};
|
|
22172
|
-
padding: ${({
|
|
22172
|
+
padding: ${({ $contentPadding: e, theme: t }) => e ?? t?.space?.xviewerContentPadding ?? t?.space?.padding ?? "8px"};
|
|
22173
22173
|
position: relative;
|
|
22174
22174
|
box-shadow: ${({ theme: e }) => e?.colors?.shadow ?? "0 2px 16px 0 rgba(31, 41, 55, 0.08), 0 1.5px 4px 0 rgba(31, 41, 55, 0.04)"};
|
|
22175
22175
|
`, GE = Ge(Sc).attrs({
|
|
@@ -22547,6 +22547,7 @@ const Sc = Ge.div.attrs({
|
|
|
22547
22547
|
$hasToolbar: !!G,
|
|
22548
22548
|
$toolbarHeightPx: C,
|
|
22549
22549
|
$headerHeightPx: $,
|
|
22550
|
+
$contentPadding: h?.contentPadding,
|
|
22550
22551
|
children: pe("container") || pe("content") || ne(j)
|
|
22551
22552
|
}
|
|
22552
22553
|
)
|
package/lib_enter.d.ts
CHANGED