@xyo-network/react-property 2.41.33 → 2.41.35
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/dist/docs.json +19168 -816
- package/dist/{cjs → types}/components/Action.d.ts +0 -0
- package/dist/{cjs → types}/components/Action.d.ts.map +0 -0
- package/dist/{cjs → types}/components/Actions.d.ts +0 -0
- package/dist/{cjs → types}/components/Actions.d.ts.map +0 -0
- package/dist/{cjs → types}/components/ActionsMenu.d.ts +0 -0
- package/dist/{cjs → types}/components/ActionsMenu.d.ts.map +0 -0
- package/dist/{cjs → types}/components/ActionsProps.d.ts +0 -0
- package/dist/{cjs → types}/components/ActionsProps.d.ts.map +0 -0
- package/dist/{cjs → types}/components/Group.d.ts +0 -0
- package/dist/{cjs → types}/components/Group.d.ts.map +0 -0
- package/dist/{cjs → types}/components/IdenticonCorner.d.ts +0 -0
- package/dist/{cjs → types}/components/IdenticonCorner.d.ts.map +0 -0
- package/dist/{cjs → types}/components/Property.d.ts +0 -0
- package/dist/{cjs → types}/components/Property.d.ts.map +0 -0
- package/dist/{cjs → types}/components/Props.d.ts +0 -0
- package/dist/{cjs → types}/components/Props.d.ts.map +0 -0
- package/dist/{cjs → types}/components/Title.d.ts +0 -0
- package/dist/{cjs → types}/components/Title.d.ts.map +0 -0
- package/dist/{cjs → types}/components/Value.d.ts +0 -0
- package/dist/{cjs → types}/components/Value.d.ts.map +0 -0
- package/dist/{cjs → types}/components/index.d.ts +0 -0
- package/dist/{cjs → types}/components/index.d.ts.map +0 -0
- package/dist/{cjs → types}/index.d.ts +0 -0
- package/dist/{cjs → types}/index.d.ts.map +0 -0
- package/package.json +13 -9
- package/dist/esm/components/Action.d.ts +0 -8
- package/dist/esm/components/Action.d.ts.map +0 -1
- package/dist/esm/components/Actions.d.ts +0 -4
- package/dist/esm/components/Actions.d.ts.map +0 -1
- package/dist/esm/components/ActionsMenu.d.ts +0 -4
- package/dist/esm/components/ActionsMenu.d.ts.map +0 -1
- package/dist/esm/components/ActionsProps.d.ts +0 -7
- package/dist/esm/components/ActionsProps.d.ts.map +0 -1
- package/dist/esm/components/Group.d.ts +0 -4
- package/dist/esm/components/Group.d.ts.map +0 -1
- package/dist/esm/components/IdenticonCorner.d.ts +0 -7
- package/dist/esm/components/IdenticonCorner.d.ts.map +0 -1
- package/dist/esm/components/Property.d.ts +0 -4
- package/dist/esm/components/Property.d.ts.map +0 -1
- package/dist/esm/components/Props.d.ts +0 -35
- package/dist/esm/components/Props.d.ts.map +0 -1
- package/dist/esm/components/Title.d.ts +0 -13
- package/dist/esm/components/Title.d.ts.map +0 -1
- package/dist/esm/components/Value.d.ts +0 -9
- package/dist/esm/components/Value.d.ts.map +0 -1
- package/dist/esm/components/index.d.ts +0 -7
- package/dist/esm/components/index.d.ts.map +0 -1
- package/dist/esm/index.d.ts +0 -2
- package/dist/esm/index.d.ts.map +0 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/react-button": "^2.15.
|
|
14
|
-
"@xylabs/react-flexbox": "^2.15.
|
|
15
|
-
"@xylabs/react-identicon": "^2.15.
|
|
16
|
-
"@xylabs/react-quick-tip-button": "^2.15.
|
|
17
|
-
"@xyo-network/react-shared": "^2.41.
|
|
13
|
+
"@xylabs/react-button": "^2.15.11",
|
|
14
|
+
"@xylabs/react-flexbox": "^2.15.11",
|
|
15
|
+
"@xylabs/react-identicon": "^2.15.11",
|
|
16
|
+
"@xylabs/react-quick-tip-button": "^2.15.11",
|
|
17
|
+
"@xyo-network/react-shared": "^2.41.35"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@mui/icons-material": "^5",
|
|
@@ -25,8 +25,12 @@
|
|
|
25
25
|
"react-router-dom": "^6.3.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
28
|
+
"@storybook/react": "^6.5.15",
|
|
29
|
+
"@xylabs/ts-scripts-yarn3": "2.12.25",
|
|
30
|
+
"@xyo-network/payload-wrapper": "^2.43.10",
|
|
31
|
+
"@xyo-network/react-storybook": "^2.41.35",
|
|
32
|
+
"@xyo-network/typeof": "^2.43.10",
|
|
33
|
+
"require-from-string": "^2.0.2"
|
|
30
34
|
},
|
|
31
35
|
"description": "Common React library for all XYO projects that use React",
|
|
32
36
|
"browser": "dist/esm/index.js",
|
|
@@ -70,6 +74,6 @@
|
|
|
70
74
|
"license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\""
|
|
71
75
|
},
|
|
72
76
|
"sideEffects": false,
|
|
73
|
-
"types": "dist/
|
|
74
|
-
"version": "2.41.
|
|
77
|
+
"types": "dist/types/index.d.ts",
|
|
78
|
+
"version": "2.41.35"
|
|
75
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/components/Action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Actions.d.ts","sourceRoot":"","sources":["../../../src/components/Actions.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmB1D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiC9D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActionsProps.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;CAC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/components/Group.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAkD,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAoC5F,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAEtD,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
-
export interface IdenticonCornerProps extends FlexBoxProps {
|
|
4
|
-
value?: string | number | boolean | null;
|
|
5
|
-
}
|
|
6
|
-
export declare const IdenticonCorner: React.FC<IdenticonCornerProps>;
|
|
7
|
-
//# sourceMappingURL=IdenticonCorner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IdenticonCorner.d.ts","sourceRoot":"","sources":["../../../src/components/IdenticonCorner.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAI7D,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoB1D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Property.d.ts","sourceRoot":"","sources":["../../../src/components/Property.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAwC,aAAa,EAAE,MAAM,SAAS,CAAA;AAmE7E,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAE5C,CAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { PaperProps } from '@mui/material';
|
|
2
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
-
import { SizeProp } from '@xyo-network/react-shared';
|
|
4
|
-
import { ReactNode } from 'react';
|
|
5
|
-
import { PropertyAction } from './Action';
|
|
6
|
-
import { PropertyTitleProps } from './Title';
|
|
7
|
-
export interface PropertyBaseProps {
|
|
8
|
-
tip?: ReactNode;
|
|
9
|
-
title?: string;
|
|
10
|
-
paper?: boolean;
|
|
11
|
-
titleProps?: PropertyTitleProps;
|
|
12
|
-
}
|
|
13
|
-
export type PropertyFieldBaseProps = PropertyBaseProps & {
|
|
14
|
-
actions?: PropertyAction[];
|
|
15
|
-
required?: boolean;
|
|
16
|
-
value?: string | number | boolean | null;
|
|
17
|
-
badge?: boolean;
|
|
18
|
-
size?: SizeProp;
|
|
19
|
-
};
|
|
20
|
-
export type PropertyBoxProps = PropertyFieldBaseProps & FlexBoxProps & {
|
|
21
|
-
paper?: false;
|
|
22
|
-
};
|
|
23
|
-
export type PropertyPaperProps = PropertyFieldBaseProps & PaperProps & {
|
|
24
|
-
paper: true;
|
|
25
|
-
};
|
|
26
|
-
export type PropertyProps = PropertyBoxProps | PropertyPaperProps;
|
|
27
|
-
export type PropertyGroupBaseProps = PropertyBaseProps;
|
|
28
|
-
export type PropertyGroupBoxProps = PropertyGroupBaseProps & FlexBoxProps & {
|
|
29
|
-
paper?: false;
|
|
30
|
-
};
|
|
31
|
-
export type PropertyGroupPaperProps = PropertyGroupBaseProps & PaperProps & {
|
|
32
|
-
paper: true;
|
|
33
|
-
};
|
|
34
|
-
export type PropertyGroupProps = PropertyGroupBoxProps | PropertyGroupPaperProps;
|
|
35
|
-
//# sourceMappingURL=Props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../src/components/Props.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,kBAAkB,CAAA;CAChC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IACxC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACnD,YAAY,GAAG;IACb,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAEH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GACrD,UAAU,GAAG;IACX,KAAK,EAAE,IAAI,CAAA;CACZ,CAAA;AAEH,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,kBAAkB,CAAA;AAEjE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAA;AAEtD,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GACxD,YAAY,GAAG;IACb,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;AAEH,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,GAC1D,UAAU,GAAG;IACX,KAAK,EAAE,IAAI,CAAA;CACZ,CAAA;AAEH,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,GAAG,uBAAuB,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
-
import { SizeProp } from '@xyo-network/react-shared';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
export type TitleSizeProp = SizeProp | 'full';
|
|
5
|
-
export interface PropertyTitleProps extends FlexBoxProps {
|
|
6
|
-
tip?: ReactNode;
|
|
7
|
-
more?: ReactNode;
|
|
8
|
-
title?: string;
|
|
9
|
-
size?: TitleSizeProp;
|
|
10
|
-
elevation?: number;
|
|
11
|
-
}
|
|
12
|
-
export declare const PropertyTitle: React.FC<PropertyTitleProps>;
|
|
13
|
-
//# sourceMappingURL=Title.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../src/components/Title.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,MAAM,CAAA;AAE7C,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACtD,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAqDtD,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Variant } from '@mui/material/styles/createTypography';
|
|
3
|
-
import { EllipsizeBoxProps } from '@xyo-network/react-shared';
|
|
4
|
-
export interface PropertyValueProps extends EllipsizeBoxProps {
|
|
5
|
-
value?: string | number | boolean | null;
|
|
6
|
-
typographyVariant?: Variant;
|
|
7
|
-
}
|
|
8
|
-
export declare const PropertyValue: React.FC<PropertyValueProps>;
|
|
9
|
-
//# sourceMappingURL=Value.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Value.d.ts","sourceRoot":"","sources":["../../../src/components/Value.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AAC/D,OAAO,EAAgB,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAE3E,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IACxC,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAMtD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
package/dist/esm/index.d.ts
DELETED
package/dist/esm/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|