@dartech/arsenal-ui 1.3.44 → 1.3.46
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 +9 -5
- package/package.json +1 -1
- package/src/lib/Sidebar/Sidebar.styled.d.ts +1 -0
package/index.js
CHANGED
@@ -1238,7 +1238,8 @@ const JsonView = ({
|
|
1238
1238
|
},
|
1239
1239
|
extensions: [langs.json()],
|
1240
1240
|
style: {
|
1241
|
-
fontSize: _fontSize
|
1241
|
+
fontSize: _fontSize,
|
1242
|
+
width: '100%'
|
1242
1243
|
}
|
1243
1244
|
});
|
1244
1245
|
};
|
@@ -3190,7 +3191,7 @@ const EntityPropertiesShortView = ({
|
|
3190
3191
|
const stepperData = useMemo(() => {
|
3191
3192
|
if (_properties) {
|
3192
3193
|
return _properties.map(property => {
|
3193
|
-
const propertyType = typeof property.propertyType === 'string' ? property.propertyType : property['propertyType']['value'];
|
3194
|
+
const propertyType = typeof property.propertyType === 'string' ? property.propertyType : property['propertyType'] ? property['propertyType']['value'] : '';
|
3194
3195
|
return {
|
3195
3196
|
label: jsxs(Box, Object.assign({
|
3196
3197
|
display: "flex",
|
@@ -3199,7 +3200,7 @@ const EntityPropertiesShortView = ({
|
|
3199
3200
|
children: [jsxs("b", {
|
3200
3201
|
children: [property.name, property.isRequired ? '*' : '']
|
3201
3202
|
}), jsxs("span", {
|
3202
|
-
children: [property.key, " | ", property.isMultiple ? 'multiple' : 'single', " |
|
3203
|
+
children: [property.key, " | ", property.isMultiple ? 'multiple' : 'single', " |", ' ', propertyType]
|
3203
3204
|
})]
|
3204
3205
|
})),
|
3205
3206
|
content: property.propertyType === 'ENTITY' && jsx(EntityPropertiesShortView, {
|
@@ -3309,7 +3310,9 @@ const EntityAdditionalFields = ({
|
|
3309
3310
|
children: [jsxs(Grid$1, Object.assign({
|
3310
3311
|
xs: 3,
|
3311
3312
|
style: {
|
3312
|
-
backgroundColor: '#f9f9f9'
|
3313
|
+
backgroundColor: '#f9f9f9',
|
3314
|
+
height: '100%',
|
3315
|
+
overflowY: 'auto'
|
3313
3316
|
}
|
3314
3317
|
}, {
|
3315
3318
|
children: [jsx(Stepper, Object.assign({
|
@@ -6566,7 +6569,8 @@ const ContentLayout = ({
|
|
6566
6569
|
component: "main",
|
6567
6570
|
sx: {
|
6568
6571
|
flexGrow: 1,
|
6569
|
-
bgcolor: 'background.default'
|
6572
|
+
bgcolor: 'background.default',
|
6573
|
+
width: `calc(100% - ${drawerWidth}px)`
|
6570
6574
|
}
|
6571
6575
|
}, {
|
6572
6576
|
children: [jsx(Toolbar, Object.assign({
|
package/package.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
export declare const drawerWidth = 248;
|
2
3
|
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
3
4
|
export declare const Drawer: import("@emotion/styled").StyledComponent<import("@mui/material/Drawer").DrawerProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
4
5
|
export declare const Header: import("@emotion/styled").StyledComponent<{
|