@dartech/arsenal-ui 1.2.7 → 1.3.1
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 +1 -1
- package/package.json +2 -4
- package/src/lib/JsonPathPicker/PropertyStep.d.ts +1 -1
- package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.d.ts +1 -1
- package/src/lib/Property/PropertyFiller/styled.d.ts +18 -0
- package/src/lib/Property/PropertyValueField/BooleanValueField.d.ts +0 -1
- package/src/lib/Property/PropertyValueField/DateTimeValueField.d.ts +0 -1
- package/src/lib/Property/PropertyValueField/DateValueField.d.ts +0 -1
- package/src/lib/Property/PropertyValueField/JsonValueField.d.ts +0 -1
- package/src/lib/Property/PropertyValueField/TimeValueField.d.ts +0 -1
- package/src/lib/Property/ViewProperty/PropertyItem.d.ts +0 -1
- package/src/lib/Table/DataGrid/styles.d.ts +43 -11
- package/src/utils/ui-utils.d.ts +4 -2
- package/src/assets/fonts/Euclid/EuclidCircularB-Bold.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-Light.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-LightItalic.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-Medium.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-Regular.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-RegularItalic.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-Semibold.woff2 +0 -0
- package/src/assets/fonts/Euclid/EuclidCircularB-SemiboldItalic.woff2 +0 -0
- package/src/lib/InfoItem/styles.d.ts +0 -12
- package/src/lib/Property/PropertyFiller/useStyles.d.ts +0 -12
- package/src/lib/Status/styles.d.ts +0 -12
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dartech/arsenal-ui",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.3.1",
|
4
4
|
"author": "DAR",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -25,10 +25,8 @@
|
|
25
25
|
"react-toastify": "^9.1.1",
|
26
26
|
"classnames": "^2.3.1",
|
27
27
|
"@tanstack/react-query": "^4.24.10",
|
28
|
-
"@dartech/arsenal-ui": "0.3.69",
|
29
28
|
"@rollup/plugin-node-resolve": "13.3.0",
|
30
|
-
"qs": "6.11.0"
|
31
|
-
"tss-react": "4.6.0"
|
29
|
+
"qs": "6.11.0"
|
32
30
|
},
|
33
31
|
"module": "./index.js",
|
34
32
|
"main": "./index.js",
|
@@ -7,5 +7,5 @@ type Props = {
|
|
7
7
|
prefix?: string;
|
8
8
|
onClick: (path: string) => void;
|
9
9
|
};
|
10
|
-
declare const PropertyStep: ({ properties, parentKey, activePath, prefix, onClick }: Props) => JSX.Element;
|
10
|
+
declare const PropertyStep: ({ properties, parentKey, activePath, prefix, onClick, }: Props) => JSX.Element;
|
11
11
|
export default PropertyStep;
|
@@ -8,5 +8,5 @@ type Props = {
|
|
8
8
|
label?: string;
|
9
9
|
title?: string;
|
10
10
|
};
|
11
|
-
export declare const MultiplePropertyFiller: ({ property, name, useExpression, required, label, title }: Props) => JSX.Element;
|
11
|
+
export declare const MultiplePropertyFiller: ({ property, name, useExpression, required, label, title, }: Props) => JSX.Element;
|
12
12
|
export default MultiplePropertyFiller;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const StyledInputLabel: import("@emotion/styled").StyledComponent<{
|
3
|
+
children?: import("react").ReactNode;
|
4
|
+
classes?: Partial<import("@mui/material/InputLabel").InputLabelClasses>;
|
5
|
+
color?: "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
6
|
+
disableAnimation?: boolean;
|
7
|
+
disabled?: boolean;
|
8
|
+
error?: boolean;
|
9
|
+
focused?: boolean;
|
10
|
+
margin?: "dense";
|
11
|
+
required?: boolean;
|
12
|
+
shrink?: boolean;
|
13
|
+
size?: "small" | "normal";
|
14
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
15
|
+
variant?: "filled" | "outlined" | "standard";
|
16
|
+
} & Pick<import("@mui/material").FormLabelOwnProps, "color" | "filled"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
17
|
+
ref?: import("react").Ref<HTMLLabelElement>;
|
18
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "error" | "color" | "children" | "disabled" | "filled" | "focused" | "required" | "sx" | "disableAnimation" | "margin" | "shrink" | "size" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
@@ -1,12 +1,44 @@
|
|
1
|
-
declare const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
export declare const styles: {
|
2
|
+
width: string;
|
3
|
+
'& .MuiDataGrid-virtualScrollerContent': {
|
4
|
+
height: string;
|
5
|
+
minHeight: string;
|
6
|
+
};
|
7
|
+
'& .MuiDataGrid-virtualScrollerRenderZone': {
|
8
|
+
position: string;
|
9
|
+
};
|
10
|
+
'& .MuiDataGrid-renderingZone': {
|
11
|
+
maxHeight: string;
|
12
|
+
};
|
13
|
+
'& .MuiDataGrid-cell': {
|
14
|
+
maxHeight: string;
|
15
|
+
lineHeight: string;
|
16
|
+
textOverflow: string;
|
17
|
+
wordBreak: string;
|
18
|
+
'& .MuiDataGrid-actionsCell': {
|
19
|
+
width: string;
|
20
|
+
gridGap: string;
|
21
|
+
flexWrap: string;
|
22
|
+
'& > button[aria-label="more"]': {
|
23
|
+
marginLeft: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
'& .MuiDataGrid-row': {
|
28
|
+
maxHeight: string;
|
29
|
+
};
|
30
|
+
'& .Sorted': {
|
31
|
+
'& .MuiDataGrid-iconButtonContainer': {
|
32
|
+
visibility: string;
|
33
|
+
width: string;
|
34
|
+
'& svg': {
|
35
|
+
opacity: string;
|
36
|
+
};
|
37
|
+
};
|
38
|
+
'&.--desc': {
|
39
|
+
'& svg': {
|
40
|
+
transform: string;
|
41
|
+
};
|
42
|
+
};
|
43
|
+
};
|
11
44
|
};
|
12
|
-
export default _default;
|
package/src/utils/ui-utils.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { StatusVariant } from '../interfaces';
|
3
|
-
|
3
|
+
type TableFormatProps = {
|
4
4
|
value: any;
|
5
5
|
canCopy?: boolean;
|
6
6
|
copyValue?: string;
|
@@ -11,4 +11,6 @@ export declare const formatTableRowValue: ({ value, canCopy, copyValue, shortId,
|
|
11
11
|
dateFormat?: string[];
|
12
12
|
statusVariant?: StatusVariant;
|
13
13
|
};
|
14
|
-
}
|
14
|
+
};
|
15
|
+
export declare const formatTableRowValue: ({ value, canCopy, copyValue, shortId, fullText, textParams: { displayAs, dateFormat, statusVariant }, }: TableFormatProps) => JSX.Element | "";
|
16
|
+
export {};
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,12 +0,0 @@
|
|
1
|
-
declare const _default: (params: void, styleOverrides?: {
|
2
|
-
props: {
|
3
|
-
classes?: Record<string, string>;
|
4
|
-
} & Record<string, unknown>;
|
5
|
-
ownerState?: Record<string, unknown>;
|
6
|
-
}) => {
|
7
|
-
classes: Record<"container" | "title" | "text", string>;
|
8
|
-
theme: import("@mui/material").Theme;
|
9
|
-
css: import("tss-react/types").Css;
|
10
|
-
cx: import("tss-react/types").Cx;
|
11
|
-
};
|
12
|
-
export default _default;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
declare const useStyles: (params: void, styleOverrides?: {
|
2
|
-
props: {
|
3
|
-
classes?: Record<string, string>;
|
4
|
-
} & Record<string, unknown>;
|
5
|
-
ownerState?: Record<string, unknown>;
|
6
|
-
}) => {
|
7
|
-
classes: Record<"inputLabel", string>;
|
8
|
-
theme: import("@mui/material").Theme;
|
9
|
-
css: import("tss-react/types").Css;
|
10
|
-
cx: import("tss-react/types").Cx;
|
11
|
-
};
|
12
|
-
export default useStyles;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
declare const _default: (params: void, styleOverrides?: {
|
2
|
-
props: {
|
3
|
-
classes?: Record<string, string>;
|
4
|
-
} & Record<string, unknown>;
|
5
|
-
ownerState?: Record<string, unknown>;
|
6
|
-
}) => {
|
7
|
-
classes: Record<"root", string>;
|
8
|
-
theme: import("@mui/material").Theme;
|
9
|
-
css: import("tss-react/types").Css;
|
10
|
-
cx: import("tss-react/types").Cx;
|
11
|
-
};
|
12
|
-
export default _default;
|