@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.
Files changed (50) hide show
  1. package/dist/docs.json +19168 -816
  2. package/dist/{cjs → types}/components/Action.d.ts +0 -0
  3. package/dist/{cjs → types}/components/Action.d.ts.map +0 -0
  4. package/dist/{cjs → types}/components/Actions.d.ts +0 -0
  5. package/dist/{cjs → types}/components/Actions.d.ts.map +0 -0
  6. package/dist/{cjs → types}/components/ActionsMenu.d.ts +0 -0
  7. package/dist/{cjs → types}/components/ActionsMenu.d.ts.map +0 -0
  8. package/dist/{cjs → types}/components/ActionsProps.d.ts +0 -0
  9. package/dist/{cjs → types}/components/ActionsProps.d.ts.map +0 -0
  10. package/dist/{cjs → types}/components/Group.d.ts +0 -0
  11. package/dist/{cjs → types}/components/Group.d.ts.map +0 -0
  12. package/dist/{cjs → types}/components/IdenticonCorner.d.ts +0 -0
  13. package/dist/{cjs → types}/components/IdenticonCorner.d.ts.map +0 -0
  14. package/dist/{cjs → types}/components/Property.d.ts +0 -0
  15. package/dist/{cjs → types}/components/Property.d.ts.map +0 -0
  16. package/dist/{cjs → types}/components/Props.d.ts +0 -0
  17. package/dist/{cjs → types}/components/Props.d.ts.map +0 -0
  18. package/dist/{cjs → types}/components/Title.d.ts +0 -0
  19. package/dist/{cjs → types}/components/Title.d.ts.map +0 -0
  20. package/dist/{cjs → types}/components/Value.d.ts +0 -0
  21. package/dist/{cjs → types}/components/Value.d.ts.map +0 -0
  22. package/dist/{cjs → types}/components/index.d.ts +0 -0
  23. package/dist/{cjs → types}/components/index.d.ts.map +0 -0
  24. package/dist/{cjs → types}/index.d.ts +0 -0
  25. package/dist/{cjs → types}/index.d.ts.map +0 -0
  26. package/package.json +13 -9
  27. package/dist/esm/components/Action.d.ts +0 -8
  28. package/dist/esm/components/Action.d.ts.map +0 -1
  29. package/dist/esm/components/Actions.d.ts +0 -4
  30. package/dist/esm/components/Actions.d.ts.map +0 -1
  31. package/dist/esm/components/ActionsMenu.d.ts +0 -4
  32. package/dist/esm/components/ActionsMenu.d.ts.map +0 -1
  33. package/dist/esm/components/ActionsProps.d.ts +0 -7
  34. package/dist/esm/components/ActionsProps.d.ts.map +0 -1
  35. package/dist/esm/components/Group.d.ts +0 -4
  36. package/dist/esm/components/Group.d.ts.map +0 -1
  37. package/dist/esm/components/IdenticonCorner.d.ts +0 -7
  38. package/dist/esm/components/IdenticonCorner.d.ts.map +0 -1
  39. package/dist/esm/components/Property.d.ts +0 -4
  40. package/dist/esm/components/Property.d.ts.map +0 -1
  41. package/dist/esm/components/Props.d.ts +0 -35
  42. package/dist/esm/components/Props.d.ts.map +0 -1
  43. package/dist/esm/components/Title.d.ts +0 -13
  44. package/dist/esm/components/Title.d.ts.map +0 -1
  45. package/dist/esm/components/Value.d.ts +0 -9
  46. package/dist/esm/components/Value.d.ts.map +0 -1
  47. package/dist/esm/components/index.d.ts +0 -7
  48. package/dist/esm/components/index.d.ts.map +0 -1
  49. package/dist/esm/index.d.ts +0 -2
  50. 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
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.8",
14
- "@xylabs/react-flexbox": "^2.15.8",
15
- "@xylabs/react-identicon": "^2.15.8",
16
- "@xylabs/react-quick-tip-button": "^2.15.8",
17
- "@xyo-network/react-shared": "^2.41.33"
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
- "@xylabs/ts-scripts-yarn3": "2.12.0",
29
- "@xyo-network/typeof": "^2.43.7"
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/esm/index.d.ts",
74
- "version": "2.41.33"
77
+ "types": "dist/types/index.d.ts",
78
+ "version": "2.41.35"
75
79
  }
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface PropertyAction {
3
- disabled?: boolean;
4
- name: string;
5
- icon?: ReactNode;
6
- onClick?: () => void;
7
- }
8
- //# sourceMappingURL=Action.d.ts.map
@@ -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,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { PropertyActionsProps } from './ActionsProps';
3
- export declare const PropertyActions: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=Actions.d.ts.map
@@ -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,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { PropertyActionsProps } from './ActionsProps';
3
- export declare const PropertyActionsMenu: React.FC<PropertyActionsProps>;
4
- //# sourceMappingURL=ActionsMenu.d.ts.map
@@ -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,7 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import { PropertyAction } from './Action';
3
- export interface PropertyActionsProps extends FlexBoxProps {
4
- buttons?: boolean;
5
- actions?: PropertyAction[];
6
- }
7
- //# sourceMappingURL=ActionsProps.d.ts.map
@@ -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,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { PropertyGroupProps } from './Props';
3
- export declare const PropertyGroup: React.FC<PropertyGroupProps>;
4
- //# sourceMappingURL=Group.d.ts.map
@@ -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,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { PropertyProps } from './Props';
3
- export declare const Property: React.FC<PropertyProps>;
4
- //# sourceMappingURL=Property.d.ts.map
@@ -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,7 +0,0 @@
1
- export * from './Action';
2
- export * from './Group';
3
- export * from './Property';
4
- export * from './Props';
5
- export * from './Title';
6
- export * from './Value';
7
- //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1,2 +0,0 @@
1
- export * from './components';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}