@xyo-network/react-property 2.62.3 → 2.63.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/dist/cjs/components/Action.js +3 -0
- package/dist/cjs/components/Action.js.map +1 -0
- package/dist/cjs/components/Actions.js +20 -0
- package/dist/cjs/components/Actions.js.map +1 -0
- package/dist/cjs/components/ActionsMenu.js +29 -0
- package/dist/cjs/components/ActionsMenu.js.map +1 -0
- package/dist/cjs/components/ActionsProps.js +3 -0
- package/dist/cjs/components/ActionsProps.js.map +1 -0
- package/dist/cjs/components/Group.js +26 -0
- package/dist/cjs/components/Group.js.map +1 -0
- package/dist/cjs/components/IdenticonCorner.js +23 -0
- package/dist/cjs/components/IdenticonCorner.js.map +1 -0
- package/dist/cjs/components/Property.js +37 -0
- package/dist/cjs/components/Property.js.map +1 -0
- package/dist/cjs/components/Props.js +3 -0
- package/dist/cjs/components/Props.js.map +1 -0
- package/dist/cjs/components/Title.js +36 -0
- package/dist/cjs/components/Title.js.map +1 -0
- package/dist/cjs/components/Value.js +13 -0
- package/dist/cjs/components/Value.js.map +1 -0
- package/dist/cjs/components/index.js +10 -0
- package/dist/cjs/components/index.js.map +1 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/docs.json +51 -51
- package/dist/esm/components/Action.js +2 -0
- package/dist/esm/components/Action.js.map +1 -0
- package/dist/esm/components/Actions.js +13 -0
- package/dist/esm/components/Actions.js.map +1 -0
- package/dist/esm/components/ActionsMenu.js +22 -0
- package/dist/esm/components/ActionsMenu.js.map +1 -0
- package/dist/esm/components/ActionsProps.js +2 -0
- package/dist/esm/components/ActionsProps.js.map +1 -0
- package/dist/esm/components/Group.js +19 -0
- package/dist/esm/components/Group.js.map +1 -0
- package/dist/esm/components/IdenticonCorner.js +16 -0
- package/dist/esm/components/IdenticonCorner.js.map +1 -0
- package/dist/esm/components/Property.js +31 -0
- package/dist/esm/components/Property.js.map +1 -0
- package/dist/esm/components/Props.js +2 -0
- package/dist/esm/components/Props.js.map +1 -0
- package/dist/esm/components/Title.js +30 -0
- package/dist/esm/components/Title.js.map +1 -0
- package/dist/esm/components/Value.js +8 -0
- package/dist/esm/components/Value.js.map +1 -0
- package/dist/{components/index.d.mts → esm/components/index.js} +1 -1
- package/dist/esm/components/index.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/types/components/Action.d.ts.map +1 -0
- package/dist/types/components/Actions.d.ts.map +1 -0
- package/dist/types/components/ActionsMenu.d.ts.map +1 -0
- package/dist/types/components/ActionsProps.d.ts.map +1 -0
- package/dist/types/components/Group.d.ts.map +1 -0
- package/dist/types/components/IdenticonCorner.d.ts.map +1 -0
- package/dist/types/components/Property.d.ts.map +1 -0
- package/dist/types/components/Props.d.ts.map +1 -0
- package/dist/types/components/Title.d.ts.map +1 -0
- package/dist/{components → types/components}/Value.d.ts +1 -1
- package/dist/types/components/Value.d.ts.map +1 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/{index.d.ts.map → types/index.d.ts.map} +1 -1
- package/package.json +23 -31
- package/src/components/Value.tsx +1 -1
- package/dist/components/Action.d.mts +0 -8
- package/dist/components/Action.d.mts.map +0 -1
- package/dist/components/Action.d.ts.map +0 -1
- package/dist/components/Actions.d.mts +0 -4
- package/dist/components/Actions.d.mts.map +0 -1
- package/dist/components/Actions.d.ts.map +0 -1
- package/dist/components/ActionsMenu.d.mts +0 -4
- package/dist/components/ActionsMenu.d.mts.map +0 -1
- package/dist/components/ActionsMenu.d.ts.map +0 -1
- package/dist/components/ActionsProps.d.mts +0 -7
- package/dist/components/ActionsProps.d.mts.map +0 -1
- package/dist/components/ActionsProps.d.ts.map +0 -1
- package/dist/components/Group.d.mts +0 -4
- package/dist/components/Group.d.mts.map +0 -1
- package/dist/components/Group.d.ts.map +0 -1
- package/dist/components/IdenticonCorner.d.mts +0 -7
- package/dist/components/IdenticonCorner.d.mts.map +0 -1
- package/dist/components/IdenticonCorner.d.ts.map +0 -1
- package/dist/components/Property.d.mts +0 -4
- package/dist/components/Property.d.mts.map +0 -1
- package/dist/components/Property.d.ts.map +0 -1
- package/dist/components/PropertyBox.stories.d.mts +0 -19
- package/dist/components/PropertyBox.stories.d.mts.map +0 -1
- package/dist/components/PropertyBox.stories.d.ts +0 -19
- package/dist/components/PropertyBox.stories.d.ts.map +0 -1
- package/dist/components/PropertyPaper.stories.d.mts +0 -22
- package/dist/components/PropertyPaper.stories.d.mts.map +0 -1
- package/dist/components/PropertyPaper.stories.d.ts +0 -22
- package/dist/components/PropertyPaper.stories.d.ts.map +0 -1
- package/dist/components/Props.d.mts +0 -35
- package/dist/components/Props.d.mts.map +0 -1
- package/dist/components/Props.d.ts.map +0 -1
- package/dist/components/Title.d.mts +0 -13
- package/dist/components/Title.d.mts.map +0 -1
- package/dist/components/Title.d.ts.map +0 -1
- package/dist/components/Title.stories.d.mts +0 -7
- package/dist/components/Title.stories.d.mts.map +0 -1
- package/dist/components/Title.stories.d.ts +0 -7
- package/dist/components/Title.stories.d.ts.map +0 -1
- package/dist/components/Value.d.mts +0 -9
- package/dist/components/Value.d.mts.map +0 -1
- package/dist/components/Value.d.ts.map +0 -1
- package/dist/components/Value.stories.d.mts +0 -7
- package/dist/components/Value.stories.d.mts.map +0 -1
- package/dist/components/Value.stories.d.ts +0 -7
- package/dist/components/Value.stories.d.ts.map +0 -1
- package/dist/components/index.d.mts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.d.mts.map +0 -1
- package/dist/index.js +0 -235
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -195
- package/dist/index.mjs.map +0 -1
- /package/dist/{components → types/components}/Action.d.ts +0 -0
- /package/dist/{components → types/components}/Actions.d.ts +0 -0
- /package/dist/{components → types/components}/ActionsMenu.d.ts +0 -0
- /package/dist/{components → types/components}/ActionsProps.d.ts +0 -0
- /package/dist/{components → types/components}/Group.d.ts +0 -0
- /package/dist/{components → types/components}/IdenticonCorner.d.ts +0 -0
- /package/dist/{components → types/components}/Property.d.ts +0 -0
- /package/dist/{components → types/components}/Props.d.ts +0 -0
- /package/dist/{components → types/components}/Title.d.ts +0 -0
- /package/dist/{components → types/components}/index.d.ts +0 -0
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { darken, lighten, Typography, useTheme } from '@mui/material';
|
|
3
|
+
import { FlexRow } from '@xylabs/react-flexbox';
|
|
4
|
+
import { QuickTipButton } from '@xylabs/react-quick-tip-button';
|
|
5
|
+
export const PropertyTitle = ({ elevation = 1, size = 'medium', tip, more, title, ...props }) => {
|
|
6
|
+
const sizeVariants = {
|
|
7
|
+
full: 'caption',
|
|
8
|
+
large: 'caption',
|
|
9
|
+
medium: 'caption',
|
|
10
|
+
small: 'caption',
|
|
11
|
+
};
|
|
12
|
+
const sizeTitleHeight = {
|
|
13
|
+
full: undefined,
|
|
14
|
+
large: 32,
|
|
15
|
+
medium: 20,
|
|
16
|
+
small: 16,
|
|
17
|
+
};
|
|
18
|
+
const sizeFontSize = {
|
|
19
|
+
full: 16,
|
|
20
|
+
large: 16,
|
|
21
|
+
medium: 14,
|
|
22
|
+
small: 10,
|
|
23
|
+
};
|
|
24
|
+
const quickTipSize = sizeFontSize[size] < 16 ? sizeFontSize[size] : 16;
|
|
25
|
+
const theme = useTheme();
|
|
26
|
+
return (_jsxs(FlexRow, { bgcolor: theme.palette.mode === 'dark'
|
|
27
|
+
? lighten(theme.palette.background.paper, 0.05 * elevation)
|
|
28
|
+
: darken(theme.palette.background.paper, 0.025 * elevation), alignItems: "center", height: sizeTitleHeight[size], justifyContent: "space-between", ...props, children: [_jsxs(FlexRow, { paddingX: 1, paddingY: 0.5, children: [_jsx(Typography, { fontWeight: 500, noWrap: true, variant: sizeVariants[size], fontSize: sizeFontSize[size], children: _jsx("small", { children: _jsx("strong", { children: title }) }) }), tip ? (_jsx(QuickTipButton, { style: { fontSize: quickTipSize }, color: "inherit", title: title ?? '', children: tip })) : null] }), more] }));
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=Title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../src/components/Title.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAqB,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxF,OAAO,EAAgB,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAc/D,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAAE,SAAS,GAAG,CAAC,EAAE,IAAI,GAAG,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAC5H,MAAM,YAAY,GAA6C;QAC7D,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,SAAS;KACjB,CAAA;IAED,MAAM,eAAe,GAA8C;QACjE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,EAAE;KACV,CAAA;IAED,MAAM,YAAY,GAAkC;QAClD,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,EAAE;KACV,CAAA;IAED,MAAM,YAAY,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAEtE,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IAExB,OAAO,CACL,MAAC,OAAO,IACN,OAAO,EACL,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM;YAC3B,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS,CAAC;YAC3D,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC,EAE/D,UAAU,EAAC,QAAQ,EACnB,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC,EAC7B,cAAc,EAAC,eAAe,KAC1B,KAAK,aAET,MAAC,OAAO,IAAC,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,aACjC,KAAC,UAAU,IAAC,UAAU,EAAE,GAAG,EAAE,MAAM,QAAC,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,YAC3F,0BACE,2BAAS,KAAK,GAAU,GAClB,GACG,EACZ,GAAG,CAAC,CAAC,CAAC,CACL,KAAC,cAAc,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,KAAK,IAAI,EAAE,YAClF,GAAG,GACW,CAClB,CAAC,CAAC,CAAC,IAAI,IACA,EACT,IAAI,IACG,CACX,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { EllipsizeBox } from '@xyo-network/react-shared';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
export const PropertyValue = forwardRef(({ typographyVariant = 'body1', value, ...props }, ref) => {
|
|
5
|
+
return value !== undefined ? (_jsx(EllipsizeBox, { typographyProps: { component: undefined, title: value?.toString(), variant: typographyVariant }, width: "100%", ref: ref, ...props, children: value })) : null;
|
|
6
|
+
});
|
|
7
|
+
PropertyValue.displayName = 'PropertyValue';
|
|
8
|
+
//# sourceMappingURL=Value.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Value.js","sourceRoot":"","sources":["../../../src/components/Value.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAqB,MAAM,2BAA2B,CAAA;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAOlC,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAqC,CAAC,EAAE,iBAAiB,GAAG,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACpI,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAC3B,KAAC,YAAY,IAAC,eAAe,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,KAAK,EAAC,MAAM,EAAC,GAAG,EAAE,GAAG,KAAM,KAAK,YAC5I,KAAK,GACO,CAChB,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC,CAAC,CAAA;AAEF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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,cAAc,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Property.d.ts","sourceRoot":"","sources":["../../../src/components/Property.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAiB,MAAM,SAAS,CAAA;AA4D7E,eAAO,MAAM,QAAQ,iJAEnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAA;CAChC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC,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"}
|
|
@@ -0,0 +1 @@
|
|
|
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,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAqDtD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
2
|
+
import { Variant } from '@mui/material/styles/createTypography';
|
|
3
3
|
import { EllipsizeBoxProps } from '@xyo-network/react-shared';
|
|
4
4
|
export interface PropertyValueProps extends Omit<EllipsizeBoxProps, 'ref'> {
|
|
5
5
|
typographyVariant?: Variant;
|
|
@@ -0,0 +1 @@
|
|
|
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;AAG3E,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC;IACxE,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,aAAa,+GAMxB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
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.
|
|
14
|
-
"@xylabs/react-flexbox": "~2.
|
|
15
|
-
"@xylabs/react-identicon": "~2.
|
|
16
|
-
"@xylabs/react-quick-tip-button": "~2.
|
|
17
|
-
"@xyo-network/react-shared": "~2.
|
|
13
|
+
"@xylabs/react-button": "~2.19.1",
|
|
14
|
+
"@xylabs/react-flexbox": "~2.19.1",
|
|
15
|
+
"@xylabs/react-identicon": "~2.19.1",
|
|
16
|
+
"@xylabs/react-quick-tip-button": "~2.19.1",
|
|
17
|
+
"@xyo-network/react-shared": "~2.63.1"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@mui/icons-material": "^5",
|
|
@@ -27,43 +27,35 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@storybook/react": "^7.4.3",
|
|
30
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
31
|
-
"@xylabs/tsconfig-react": "^
|
|
32
|
-
"@xyo-network/payload-wrapper": "^2.74.
|
|
33
|
-
"@xyo-network/react-storybook": "~2.
|
|
34
|
-
"@xyo-network/typeof": "^2.74.
|
|
30
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.12",
|
|
31
|
+
"@xylabs/tsconfig-react": "^2.19.12",
|
|
32
|
+
"@xyo-network/payload-wrapper": "^2.74.3",
|
|
33
|
+
"@xyo-network/react-storybook": "~2.63.1",
|
|
34
|
+
"@xyo-network/typeof": "^2.74.3",
|
|
35
35
|
"typescript": "^5.2.2"
|
|
36
36
|
},
|
|
37
37
|
"description": "Common React library for all XYO projects that use React",
|
|
38
|
+
"browser": "dist/esm/index.js",
|
|
38
39
|
"docs": "dist/docs.json",
|
|
39
40
|
"exports": {
|
|
40
41
|
".": {
|
|
41
42
|
"node": {
|
|
42
|
-
"import":
|
|
43
|
-
|
|
44
|
-
"default": "./dist/index.mjs"
|
|
45
|
-
},
|
|
46
|
-
"require": {
|
|
47
|
-
"types": "./dist/index.d.ts",
|
|
48
|
-
"default": "./dist/index.js"
|
|
49
|
-
}
|
|
43
|
+
"import": "./dist/esm/index.js",
|
|
44
|
+
"require": "./dist/cjs/index.js"
|
|
50
45
|
},
|
|
51
46
|
"browser": {
|
|
52
|
-
"import":
|
|
53
|
-
|
|
54
|
-
"default": "./dist/index.mjs"
|
|
55
|
-
},
|
|
56
|
-
"require": {
|
|
57
|
-
"types": "./dist/index.d.ts",
|
|
58
|
-
"default": "./dist/index.js"
|
|
59
|
-
}
|
|
47
|
+
"import": "./dist/esm/index.js",
|
|
48
|
+
"require": "./dist/cjs/index.js"
|
|
60
49
|
},
|
|
61
|
-
"default": "./dist/index.
|
|
50
|
+
"default": "./dist/esm/index.js"
|
|
51
|
+
},
|
|
52
|
+
"./dist/docs.json": {
|
|
53
|
+
"default": "./dist/docs.json"
|
|
62
54
|
},
|
|
63
55
|
"./package.json": "./package.json"
|
|
64
56
|
},
|
|
65
|
-
"main": "dist/index.js",
|
|
66
|
-
"module": "dist/index.
|
|
57
|
+
"main": "dist/cjs/index.js",
|
|
58
|
+
"module": "dist/esm/index.js",
|
|
67
59
|
"homepage": "https://xyo.network",
|
|
68
60
|
"keywords": [
|
|
69
61
|
"xyo",
|
|
@@ -84,6 +76,6 @@
|
|
|
84
76
|
"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\""
|
|
85
77
|
},
|
|
86
78
|
"sideEffects": false,
|
|
87
|
-
"types": "dist/index.d.ts",
|
|
88
|
-
"version": "2.
|
|
79
|
+
"types": "dist/types/index.d.ts",
|
|
80
|
+
"version": "2.63.1"
|
|
89
81
|
}
|
package/src/components/Value.tsx
CHANGED
|
@@ -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,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB"}
|
|
@@ -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,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,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":"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":"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,cAAc,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
|
@@ -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,cAAc,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
|
@@ -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 +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":"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 { PropertyBoxProps, PropertyPaperProps } from './Props';
|
|
3
|
-
export declare const Property: import("react").ForwardRefExoticComponent<(PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
-
//# sourceMappingURL=Property.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Property.d.ts","sourceRoot":"","sources":["../../src/components/Property.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAiB,MAAM,SAAS,CAAA;AA4D7E,eAAO,MAAM,QAAQ,iJAEnB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Property.d.ts","sourceRoot":"","sources":["../../src/components/Property.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAiB,MAAM,SAAS,CAAA;AA4D7E,eAAO,MAAM,QAAQ,iJAEnB,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const WithUndefinedData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const WithData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const WithDataSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const WithDataCompare: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const WithDataAndBadgeSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const WithDataAndBadgeMedium: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const WithDataAndBadgeLarge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const WithTip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const WithTipAndBadge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const WithActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const LargeWithValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
-
declare const LargeWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const SmallWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
-
export { Default, LargeWithValue, LargeWithValueAndActions, SmallWithValueAndActions, WithActions, WithData, WithDataAndBadgeLarge, WithDataAndBadgeMedium, WithDataAndBadgeSmall, WithDataCompare, WithDataSmall, WithTip, WithTipAndBadge, WithUndefinedData, };
|
|
18
|
-
export default StorybookEntry;
|
|
19
|
-
//# sourceMappingURL=PropertyBox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyBox.stories.d.ts","sourceRoot":"","sources":["../../src/components/PropertyBox.stories.tsx"],"names":[],"mappings":";AAUA,QAAA,MAAM,cAAc,6OASM,CAAA;AAiC1B,QAAA,MAAM,OAAO,yOAAoB,CAAA;AAQjC,QAAA,MAAM,iBAAiB,yOAAoB,CAAA;AAI3C,QAAA,MAAM,QAAQ,yOAAoB,CAAA;AAIlC,QAAA,MAAM,aAAa,yOAAoB,CAAA;AAIvC,QAAA,MAAM,eAAe,yOAA+B,CAAA;AAIpD,QAAA,MAAM,qBAAqB,yOAAoB,CAAA;AAU/C,QAAA,MAAM,sBAAsB,yOAAoB,CAAA;AAUhD,QAAA,MAAM,qBAAqB,yOAAoB,CAAA;AAU/C,QAAA,MAAM,OAAO,yOAAoB,CAAA;AAQjC,QAAA,MAAM,eAAe,yOAAoB,CAAA;AASzC,QAAA,MAAM,WAAW,yOAAoB,CAAA;AASrC,QAAA,MAAM,cAAc,yOAAoB,CAAA;AAUxC,QAAA,MAAM,wBAAwB,yOAAoB,CAAA;AAWlD,QAAA,MAAM,wBAAwB,yOAAoB,CAAA;AAWlD,OAAO,EACL,OAAO,EACP,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,OAAO,EACP,eAAe,EACf,iBAAiB,GAClB,CAAA;AAGD,eAAe,cAAc,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
-
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const WithUndefinedData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const WithData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const WithDataSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const WithDataCompare: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const WithDataAndBadgeSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const WithDataAndBadgeMedium: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const WithDataAndBadgeLarge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const WithTip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const WithTipAndBadge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const WithActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const LargeWithValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
-
declare const LargeWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const SmallWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<import("./Props").PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
-
export { Default, LargeWithValue, LargeWithValueAndActions, SmallWithValueAndActions, WithActions, WithData, WithDataAndBadgeLarge, WithDataAndBadgeMedium, WithDataAndBadgeSmall, WithDataCompare, WithDataSmall, WithTip, WithTipAndBadge, WithUndefinedData, };
|
|
18
|
-
export default StorybookEntry;
|
|
19
|
-
//# sourceMappingURL=PropertyBox.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyBox.stories.d.ts","sourceRoot":"","sources":["../../src/components/PropertyBox.stories.tsx"],"names":[],"mappings":";AAUA,QAAA,MAAM,cAAc,6OASM,CAAA;AAiC1B,QAAA,MAAM,OAAO,yOAAoB,CAAA;AAQjC,QAAA,MAAM,iBAAiB,yOAAoB,CAAA;AAI3C,QAAA,MAAM,QAAQ,yOAAoB,CAAA;AAIlC,QAAA,MAAM,aAAa,yOAAoB,CAAA;AAIvC,QAAA,MAAM,eAAe,yOAA+B,CAAA;AAIpD,QAAA,MAAM,qBAAqB,yOAAoB,CAAA;AAU/C,QAAA,MAAM,sBAAsB,yOAAoB,CAAA;AAUhD,QAAA,MAAM,qBAAqB,yOAAoB,CAAA;AAU/C,QAAA,MAAM,OAAO,yOAAoB,CAAA;AAQjC,QAAA,MAAM,eAAe,yOAAoB,CAAA;AASzC,QAAA,MAAM,WAAW,yOAAoB,CAAA;AASrC,QAAA,MAAM,cAAc,yOAAoB,CAAA;AAUxC,QAAA,MAAM,wBAAwB,yOAAoB,CAAA;AAWlD,QAAA,MAAM,wBAAwB,yOAAoB,CAAA;AAWlD,OAAO,EACL,OAAO,EACP,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,OAAO,EACP,eAAe,EACf,iBAAiB,GAClB,CAAA;AAGD,eAAe,cAAc,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropertyPaperProps } from './Props';
|
|
3
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const WithUndefinedData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const WithData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const WithDataSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const WithDataCompare: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const WithDataCompareOutlined: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const WithDataCompareElevation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const WithDataAndBadgeSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const WithDataAndBadgeMedium: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const WithDataAndBadgeLarge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const WithTip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
-
declare const WithTipAndBadge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const WithActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const LargeWithValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
-
declare const LargeWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
-
declare const SmallWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
-
export { Default, LargeWithValue, LargeWithValueAndActions, SmallWithValueAndActions, WithActions, WithData, WithDataAndBadgeLarge, WithDataAndBadgeMedium, WithDataAndBadgeSmall, WithDataCompare, WithDataCompareElevation, WithDataCompareOutlined, WithDataSmall, WithTip, WithTipAndBadge, WithUndefinedData, };
|
|
21
|
-
export default StorybookEntry;
|
|
22
|
-
//# sourceMappingURL=PropertyPaper.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyPaper.stories.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPaper.stories.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,kBAAkB,EAAiB,MAAM,SAAS,CAAA;AAE3D,QAAA,MAAM,cAAc,2NASM,CAAA;AAiC1B,QAAA,MAAM,OAAO,uNAAoB,CAAA;AAQjC,QAAA,MAAM,iBAAiB,uNAAoB,CAAA;AAI3C,QAAA,MAAM,QAAQ,uNAAoB,CAAA;AAIlC,QAAA,MAAM,aAAa,uNAAoB,CAAA;AAIvC,QAAA,MAAM,eAAe,uNAA+B,CAAA;AAIpD,QAAA,MAAM,uBAAuB,uNAA+B,CAAA;AAS5D,QAAA,MAAM,wBAAwB,uNAA+B,CAAA;AAS7D,QAAA,MAAM,qBAAqB,uNAAoB,CAAA;AAU/C,QAAA,MAAM,sBAAsB,uNAAoB,CAAA;AAUhD,QAAA,MAAM,qBAAqB,uNAAoB,CAAA;AAU/C,QAAA,MAAM,OAAO,uNAAoB,CAAA;AAQjC,QAAA,MAAM,eAAe,uNAAoB,CAAA;AASzC,QAAA,MAAM,WAAW,uNAAoB,CAAA;AASrC,QAAA,MAAM,cAAc,uNAAoB,CAAA;AAUxC,QAAA,MAAM,wBAAwB,uNAAoB,CAAA;AAWlD,QAAA,MAAM,wBAAwB,uNAAoB,CAAA;AAWlD,OAAO,EACL,OAAO,EACP,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,EACb,OAAO,EACP,eAAe,EACf,iBAAiB,GAClB,CAAA;AAGD,eAAe,cAAc,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PropertyPaperProps } from './Props';
|
|
3
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const WithUndefinedData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const WithData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const WithDataSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const WithDataCompare: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const WithDataCompareOutlined: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const WithDataCompareElevation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const WithDataAndBadgeSmall: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const WithDataAndBadgeMedium: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const WithDataAndBadgeLarge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const WithTip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
-
declare const WithTipAndBadge: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const WithActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const LargeWithValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
-
declare const LargeWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
-
declare const SmallWithValueAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, (import("./Props").PropertyBoxProps | Omit<PropertyPaperProps, "ref">) & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
-
export { Default, LargeWithValue, LargeWithValueAndActions, SmallWithValueAndActions, WithActions, WithData, WithDataAndBadgeLarge, WithDataAndBadgeMedium, WithDataAndBadgeSmall, WithDataCompare, WithDataCompareElevation, WithDataCompareOutlined, WithDataSmall, WithTip, WithTipAndBadge, WithUndefinedData, };
|
|
21
|
-
export default StorybookEntry;
|
|
22
|
-
//# sourceMappingURL=PropertyPaper.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyPaper.stories.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPaper.stories.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,kBAAkB,EAAiB,MAAM,SAAS,CAAA;AAE3D,QAAA,MAAM,cAAc,2NASM,CAAA;AAiC1B,QAAA,MAAM,OAAO,uNAAoB,CAAA;AAQjC,QAAA,MAAM,iBAAiB,uNAAoB,CAAA;AAI3C,QAAA,MAAM,QAAQ,uNAAoB,CAAA;AAIlC,QAAA,MAAM,aAAa,uNAAoB,CAAA;AAIvC,QAAA,MAAM,eAAe,uNAA+B,CAAA;AAIpD,QAAA,MAAM,uBAAuB,uNAA+B,CAAA;AAS5D,QAAA,MAAM,wBAAwB,uNAA+B,CAAA;AAS7D,QAAA,MAAM,qBAAqB,uNAAoB,CAAA;AAU/C,QAAA,MAAM,sBAAsB,uNAAoB,CAAA;AAUhD,QAAA,MAAM,qBAAqB,uNAAoB,CAAA;AAU/C,QAAA,MAAM,OAAO,uNAAoB,CAAA;AAQjC,QAAA,MAAM,eAAe,uNAAoB,CAAA;AASzC,QAAA,MAAM,WAAW,uNAAoB,CAAA;AASrC,QAAA,MAAM,cAAc,uNAAoB,CAAA;AAUxC,QAAA,MAAM,wBAAwB,uNAAoB,CAAA;AAWlD,QAAA,MAAM,wBAAwB,uNAAoB,CAAA;AAWlD,OAAO,EACL,OAAO,EACP,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,uBAAuB,EACvB,aAAa,EACb,OAAO,EACP,eAAe,EACf,iBAAiB,GAClB,CAAA;AAGD,eAAe,cAAc,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
|
-
paper?: boolean;
|
|
9
|
-
tip?: ReactNode;
|
|
10
|
-
title?: string;
|
|
11
|
-
titleProps?: PropertyTitleProps;
|
|
12
|
-
}
|
|
13
|
-
export type PropertyFieldBaseProps = PropertyBaseProps & {
|
|
14
|
-
actions?: PropertyAction[];
|
|
15
|
-
badge?: boolean;
|
|
16
|
-
required?: boolean;
|
|
17
|
-
size?: SizeProp;
|
|
18
|
-
value?: string | number | boolean | null;
|
|
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,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAA;CAChC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC,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 +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,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAA;CAChC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC,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
|
-
elevation?: number;
|
|
7
|
-
more?: ReactNode;
|
|
8
|
-
size?: TitleSizeProp;
|
|
9
|
-
tip?: ReactNode;
|
|
10
|
-
title?: string;
|
|
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,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAqDtD,CAAA"}
|
|
@@ -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,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAqDtD,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
2
|
-
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
3
|
-
declare const WithData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
4
|
-
declare const WithDataAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
5
|
-
export { Default, WithData, WithDataAndActions };
|
|
6
|
-
export default StorybookEntry;
|
|
7
|
-
//# sourceMappingURL=Title.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title.stories.d.ts","sourceRoot":"","sources":["../../src/components/Title.stories.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,cAAc,yIASW,CAAA;AAI/B,QAAA,MAAM,OAAO,qIAAoB,CAAA;AAGjC,QAAA,MAAM,QAAQ,qIAAoB,CAAA;AAIlC,QAAA,MAAM,kBAAkB,qIAAoB,CAAA;AAI5C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAA;AAGhD,eAAe,cAAc,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const StorybookEntry: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
2
|
-
declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
3
|
-
declare const WithData: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
4
|
-
declare const WithDataAndActions: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Title").PropertyTitleProps>;
|
|
5
|
-
export { Default, WithData, WithDataAndActions };
|
|
6
|
-
export default StorybookEntry;
|
|
7
|
-
//# sourceMappingURL=Title.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title.stories.d.ts","sourceRoot":"","sources":["../../src/components/Title.stories.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,cAAc,yIASW,CAAA;AAI/B,QAAA,MAAM,OAAO,qIAAoB,CAAA;AAGjC,QAAA,MAAM,QAAQ,qIAAoB,CAAA;AAIlC,QAAA,MAAM,kBAAkB,qIAAoB,CAAA;AAI5C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAA;AAGhD,eAAe,cAAc,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Variant } from '@mui/material/styles/createTypography';
|
|
3
|
-
import { EllipsizeBoxProps } from '@xyo-network/react-shared';
|
|
4
|
-
export interface PropertyValueProps extends Omit<EllipsizeBoxProps, 'ref'> {
|
|
5
|
-
typographyVariant?: Variant;
|
|
6
|
-
value?: string | number | boolean | null;
|
|
7
|
-
}
|
|
8
|
-
export declare const PropertyValue: import("react").ForwardRefExoticComponent<PropertyValueProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
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,KAAK,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAA;AACpE,OAAO,EAAgB,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAG3E,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC;IACxE,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC;AAED,eAAO,MAAM,aAAa,+GAMxB,CAAA"}
|