@xyo-network/react-shared 4.4.11 → 5.0.0-rc.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/browser/index.mjs +18 -18
- package/dist/browser/index.mjs.map +1 -1
- package/dist/{browser → types}/components/Ellipsize.d.ts +6 -1
- package/dist/types/components/Ellipsize.d.ts.map +1 -0
- package/dist/types/components/SectionSpacingRow/SectionSpacingRow.d.ts +9 -0
- package/dist/types/components/SectionSpacingRow/SectionSpacingRow.d.ts.map +1 -0
- package/dist/{browser → types}/components/TableCell/AddressTableCell.d.ts +6 -1
- package/dist/types/components/TableCell/AddressTableCell.d.ts.map +1 -0
- package/dist/types/components/TableCell/EllipsisTableCell.d.ts +29 -0
- package/dist/{browser → types}/components/TableCell/EllipsisTableCell.d.ts.map +1 -1
- package/dist/{browser → types}/contexts/diviner/Provider.d.ts +1 -1
- package/dist/{browser → types}/contexts/diviner/Provider.d.ts.map +1 -1
- package/dist/types/hooks/useShareForwardRef.d.ts +3 -0
- package/dist/{browser → types}/hooks/useShareForwardRef.d.ts.map +1 -1
- package/package.json +33 -31
- package/src/components/Ellipsize.tsx +17 -21
- package/src/components/SectionSpacingRow/SectionSpacingRow.tsx +5 -5
- package/src/components/TableCell/AddressTableCell.tsx +5 -5
- package/src/components/TableCell/EllipsisTableCell.tsx +23 -25
- package/src/contexts/ListMode/Provider.tsx +2 -2
- package/src/contexts/contextEx/use.ts +3 -3
- package/src/contexts/diviner/Provider.tsx +3 -3
- package/src/hooks/useShareForwardRef.ts +1 -1
- package/dist/browser/components/Ellipsize.d.ts.map +0 -1
- package/dist/browser/components/SectionSpacingRow/SectionSpacingRow.d.ts +0 -3
- package/dist/browser/components/SectionSpacingRow/SectionSpacingRow.d.ts.map +0 -1
- package/dist/browser/components/TableCell/AddressTableCell.d.ts.map +0 -1
- package/dist/browser/components/TableCell/EllipsisTableCell.d.ts +0 -19
- package/dist/browser/hooks/useShareForwardRef.d.ts +0 -3
- /package/dist/{browser → types}/SizeProp.d.ts +0 -0
- /package/dist/{browser → types}/SizeProp.d.ts.map +0 -0
- /package/dist/{browser → types}/components/Ampersand.d.ts +0 -0
- /package/dist/{browser → types}/components/Ampersand.d.ts.map +0 -0
- /package/dist/{browser → types}/components/BasicHero/BasicHero.d.ts +0 -0
- /package/dist/{browser → types}/components/BasicHero/BasicHero.d.ts.map +0 -0
- /package/dist/{browser → types}/components/BasicHero/index.d.ts +0 -0
- /package/dist/{browser → types}/components/BasicHero/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/LabeledTextFieldWrapper.d.ts +0 -0
- /package/dist/{browser → types}/components/LabeledTextFieldWrapper.d.ts.map +0 -0
- /package/dist/{browser → types}/components/ListItemButtonEx.d.ts +0 -0
- /package/dist/{browser → types}/components/ListItemButtonEx.d.ts.map +0 -0
- /package/dist/{browser → types}/components/LoadResult.d.ts +0 -0
- /package/dist/{browser → types}/components/LoadResult.d.ts.map +0 -0
- /package/dist/{browser → types}/components/NotFound.d.ts +0 -0
- /package/dist/{browser → types}/components/NotFound.d.ts.map +0 -0
- /package/dist/{browser → types}/components/Pipe.d.ts +0 -0
- /package/dist/{browser → types}/components/Pipe.d.ts.map +0 -0
- /package/dist/{browser → types}/components/ScrollTableOnSm.d.ts +0 -0
- /package/dist/{browser → types}/components/ScrollTableOnSm.d.ts.map +0 -0
- /package/dist/{browser → types}/components/SectionSpacingRow/index.d.ts +0 -0
- /package/dist/{browser → types}/components/SectionSpacingRow/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/StyleGuide/AppBars.example.d.ts +0 -0
- /package/dist/{browser → types}/components/StyleGuide/AppBars.example.d.ts.map +0 -0
- /package/dist/{browser → types}/components/StyleGuide/Buttons.example.d.ts +0 -0
- /package/dist/{browser → types}/components/StyleGuide/Buttons.example.d.ts.map +0 -0
- /package/dist/{browser → types}/components/StyleGuide/Papers.example.d.ts +0 -0
- /package/dist/{browser → types}/components/StyleGuide/Papers.example.d.ts.map +0 -0
- /package/dist/{browser → types}/components/StyleGuide/StyleGuide.example.d.ts +0 -0
- /package/dist/{browser → types}/components/StyleGuide/StyleGuide.example.d.ts.map +0 -0
- /package/dist/{browser → types}/components/StyleGuide/Texts.example.d.ts +0 -0
- /package/dist/{browser → types}/components/StyleGuide/Texts.example.d.ts.map +0 -0
- /package/dist/{browser → types}/components/StyleGuide/VariantContext.example.d.ts +0 -0
- /package/dist/{browser → types}/components/StyleGuide/VariantContext.example.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TableCell/HashTableCell.d.ts +0 -0
- /package/dist/{browser → types}/components/TableCell/HashTableCell.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TableCell/findParent.d.ts +0 -0
- /package/dist/{browser → types}/components/TableCell/findParent.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TableCell/getRemainingRowWidth.d.ts +0 -0
- /package/dist/{browser → types}/components/TableCell/getRemainingRowWidth.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TableCell/getSmallestParentWidth.d.ts +0 -0
- /package/dist/{browser → types}/components/TableCell/getSmallestParentWidth.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TableCell/index.d.ts +0 -0
- /package/dist/{browser → types}/components/TableCell/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatar/ThemeTokenAvatar.d.ts +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatar/ThemeTokenAvatar.d.ts.map +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatar/index.d.ts +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatar/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.ts +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatarGroup/ThemeTokenAvatarGroup.d.ts.map +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatarGroup/index.d.ts +0 -0
- /package/dist/{browser → types}/components/ThemeTokenAvatarGroup/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenBar/TokenBar.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenBar/TokenBar.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenBar/index.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenBar/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenData/TokenData.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenData/TokenData.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenData/img/index.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenData/img/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenData/index.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenData/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenData/useGetTokenData.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenData/useGetTokenData.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenSummary/TokenSummary.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenSummary/TokenSummary.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TokenSummary/index.d.ts +0 -0
- /package/dist/{browser → types}/components/TokenSummary/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/TypographyEx.d.ts +0 -0
- /package/dist/{browser → types}/components/TypographyEx.d.ts.map +0 -0
- /package/dist/{browser → types}/components/bigint/FixedPointPopover.d.ts +0 -0
- /package/dist/{browser → types}/components/bigint/FixedPointPopover.d.ts.map +0 -0
- /package/dist/{browser → types}/components/bigint/Input.d.ts +0 -0
- /package/dist/{browser → types}/components/bigint/Input.d.ts.map +0 -0
- /package/dist/{browser → types}/components/bigint/InputAdornment.d.ts +0 -0
- /package/dist/{browser → types}/components/bigint/InputAdornment.d.ts.map +0 -0
- /package/dist/{browser → types}/components/bigint/TextField.d.ts +0 -0
- /package/dist/{browser → types}/components/bigint/TextField.d.ts.map +0 -0
- /package/dist/{browser → types}/components/bigint/index.d.ts +0 -0
- /package/dist/{browser → types}/components/bigint/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/index.d.ts +0 -0
- /package/dist/{browser → types}/components/index.d.ts.map +0 -0
- /package/dist/{browser → types}/components/pluginValidation/DataMissing.d.ts +0 -0
- /package/dist/{browser → types}/components/pluginValidation/DataMissing.d.ts.map +0 -0
- /package/dist/{browser → types}/components/pluginValidation/index.d.ts +0 -0
- /package/dist/{browser → types}/components/pluginValidation/index.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/ListMode/Context.d.ts +0 -0
- /package/dist/{browser → types}/contexts/ListMode/Context.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/ListMode/Provider.d.ts +0 -0
- /package/dist/{browser → types}/contexts/ListMode/Provider.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/ListMode/State.d.ts +0 -0
- /package/dist/{browser → types}/contexts/ListMode/State.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/ListMode/index.d.ts +0 -0
- /package/dist/{browser → types}/contexts/ListMode/index.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/ListMode/use.d.ts +0 -0
- /package/dist/{browser → types}/contexts/ListMode/use.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/contextEx/ContextExProviderProps.d.ts +0 -0
- /package/dist/{browser → types}/contexts/contextEx/ContextExProviderProps.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/contextEx/State.d.ts +0 -0
- /package/dist/{browser → types}/contexts/contextEx/State.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/contextEx/create.d.ts +0 -0
- /package/dist/{browser → types}/contexts/contextEx/create.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/contextEx/index.d.ts +0 -0
- /package/dist/{browser → types}/contexts/contextEx/index.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/contextEx/use.d.ts +0 -0
- /package/dist/{browser → types}/contexts/contextEx/use.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/diviner/Context.d.ts +0 -0
- /package/dist/{browser → types}/contexts/diviner/Context.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/diviner/State.d.ts +0 -0
- /package/dist/{browser → types}/contexts/diviner/State.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/diviner/index.d.ts +0 -0
- /package/dist/{browser → types}/contexts/diviner/index.d.ts.map +0 -0
- /package/dist/{browser → types}/contexts/index.d.ts +0 -0
- /package/dist/{browser → types}/contexts/index.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/GradientStyles/GradientStyles.d.ts +0 -0
- /package/dist/{browser → types}/hooks/GradientStyles/GradientStyles.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/GradientStyles/index.d.ts +0 -0
- /package/dist/{browser → types}/hooks/GradientStyles/index.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/index.d.ts +0 -0
- /package/dist/{browser → types}/hooks/index.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/payload/index.d.ts +0 -0
- /package/dist/{browser → types}/hooks/payload/index.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/payload/types/ValidatedResponse.d.ts +0 -0
- /package/dist/{browser → types}/hooks/payload/types/ValidatedResponse.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/payload/types/index.d.ts +0 -0
- /package/dist/{browser → types}/hooks/payload/types/index.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/payload/useBoundWitnessValidate.d.ts +0 -0
- /package/dist/{browser → types}/hooks/payload/useBoundWitnessValidate.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/payload/usePayloadHash.d.ts +0 -0
- /package/dist/{browser → types}/hooks/payload/usePayloadHash.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/payload/usePayloadValidate.d.ts +0 -0
- /package/dist/{browser → types}/hooks/payload/usePayloadValidate.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/useDataState.d.ts +0 -0
- /package/dist/{browser → types}/hooks/useDataState.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/useIsMobile.d.ts +0 -0
- /package/dist/{browser → types}/hooks/useIsMobile.d.ts.map +0 -0
- /package/dist/{browser → types}/hooks/useMediaQuery.d.ts +0 -0
- /package/dist/{browser → types}/hooks/useMediaQuery.d.ts.map +0 -0
- /package/dist/{browser → types}/index.d.ts +0 -0
- /package/dist/{browser → types}/index.d.ts.map +0 -0
- /package/dist/{browser → types}/lib/assertDefinedEx.d.ts +0 -0
- /package/dist/{browser → types}/lib/assertDefinedEx.d.ts.map +0 -0
- /package/dist/{browser → types}/lib/getActualPaddingX.d.ts +0 -0
- /package/dist/{browser → types}/lib/getActualPaddingX.d.ts.map +0 -0
- /package/dist/{browser → types}/lib/index.d.ts +0 -0
- /package/dist/{browser → types}/lib/index.d.ts.map +0 -0
- /package/dist/{browser → types}/lib/networkComponents.d.ts +0 -0
- /package/dist/{browser → types}/lib/networkComponents.d.ts.map +0 -0
- /package/dist/{browser → types}/lib/xyo.d.ts +0 -0
- /package/dist/{browser → types}/lib/xyo.d.ts.map +0 -0
- /package/dist/{browser → types}/models/ListMode.d.ts +0 -0
- /package/dist/{browser → types}/models/ListMode.d.ts.map +0 -0
- /package/dist/{browser → types}/models/index.d.ts +0 -0
- /package/dist/{browser → types}/models/index.d.ts.map +0 -0
|
@@ -12,5 +12,10 @@ export interface EllipsizeBoxProps extends BoxProps {
|
|
|
12
12
|
ellipsisPosition?: 'start' | 'end';
|
|
13
13
|
typographyProps?: TypographyWithComponentProps;
|
|
14
14
|
}
|
|
15
|
-
export declare const EllipsizeBox:
|
|
15
|
+
export declare const EllipsizeBox: {
|
|
16
|
+
({ ref, children, ellipsisPosition, disableSharedRef, typographyProps, ...props }: PropsWithChildren<EllipsizeBoxProps> & {
|
|
17
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
16
21
|
//# sourceMappingURL=Ellipsize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ellipsize.d.ts","sourceRoot":"","sources":["../../../src/components/Ellipsize.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EAAE,eAAe,EAAE,iBAAiB,EAC7C,MAAM,eAAe,CAAA;AAItB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAgC,MAAM,OAAO,CAAA;AAUpD,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACnC;AA+DD,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAC9I,gBAAgB,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CACnC,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;IACjD,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,gBAAgB,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAClC,eAAe,CAAC,EAAE,4BAA4B,CAAA;CAC/C;AAED,eAAO,MAAM,YAAY;uFAEtB,iBAAiB,CAAC,iBAAiB,CAAC,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;KAAE;;CAczF,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare const SectionSpacingRow: {
|
|
4
|
+
({ ref, children, sx, ...props }: FlexBoxProps & {
|
|
5
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=SectionSpacingRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionSpacingRow.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionSpacingRow/SectionSpacingRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,iBAAiB;sCAE3B,YAAY,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;KAAE;;CAgBjE,CAAA"}
|
|
@@ -7,6 +7,11 @@ export interface AddressTableCellProps extends Omit<EllipsisTableCellProps, 'ref
|
|
|
7
7
|
exploreDomain?: string;
|
|
8
8
|
link?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const AddressTableCell:
|
|
10
|
+
declare const AddressTableCell: {
|
|
11
|
+
({ ref, value, archive, exploreDomain, link, ...props }: AddressTableCellProps & {
|
|
12
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
11
16
|
export { AddressTableCell };
|
|
12
17
|
//# sourceMappingURL=AddressTableCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddressTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/AddressTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAGrE,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,KAAK,CAAC;IAChF,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,QAAA,MAAM,gBAAgB;6DAEnB,qBAAqB,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;KAAE;;CAK1E,CAAA;AAGD,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { TableCellProps } from '@mui/material';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { To } from 'react-router-dom';
|
|
4
|
+
export interface EllipsisTableCellProps extends Omit<TableCellProps, 'ref'> {
|
|
5
|
+
href?: string;
|
|
6
|
+
link?: boolean;
|
|
7
|
+
to?: To;
|
|
8
|
+
value?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Width of the table cell.
|
|
11
|
+
*
|
|
12
|
+
* Note: When using percentages, this value can be different than what you expect
|
|
13
|
+
* if used on a cell that is not the first cell in the first row.
|
|
14
|
+
*/
|
|
15
|
+
width?: string | number;
|
|
16
|
+
}
|
|
17
|
+
export declare const EllipsisTableCellWithRef: {
|
|
18
|
+
({ ref, children, href, link, to, value, ...props }: EllipsisTableCellProps & {
|
|
19
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const EllipsisTableCell: {
|
|
24
|
+
({ ref, children, href, link, to, value, ...props }: EllipsisTableCellProps & {
|
|
25
|
+
ref?: React.RefObject<HTMLDivElement | null>;
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=EllipsisTableCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EllipsisTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/EllipsisTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGnD,OAAO,
|
|
1
|
+
{"version":3,"file":"EllipsisTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/EllipsisTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGnD,OAAO,KAAkB,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAU1C,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC;IACzE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,EAAE,CAAC,EAAE,EAAE,CAAA;IACP,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB;AAED,eAAO,MAAM,wBAAwB;yDAElC,sBAAsB,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;KAAE;;CAmB3E,CAAA;AAGD,eAAO,MAAM,iBAAiB;yDAtB3B,sBAAsB,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;KAAE;;CAsBnB,CAAA"}
|
|
@@ -6,5 +6,5 @@ export interface DivinerProviderProps<D> extends ContextExProviderProps, PropsWi
|
|
|
6
6
|
diviner?: D;
|
|
7
7
|
}
|
|
8
8
|
/** Exposes a resolved diviner */
|
|
9
|
-
export declare const ResolvedDivinerProvider: <D>({ diviner: divinerProp, required, children, context, }: DivinerProviderProps<D>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const ResolvedDivinerProvider: <D>({ diviner: divinerProp, required, children, context: Context, }: DivinerProviderProps<D>) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=Provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/diviner/Provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEtD,MAAM,WAAW,oBAAoB,CAAC,CAAC,CAAE,SAAQ,sBAAsB,EAAE,iBAAiB;IACxF,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAA;IACzC,OAAO,CAAC,EAAE,CAAC,CAAA;CACZ;AAED,iCAAiC;AACjC,eAAO,MAAM,uBAAuB,GAAI,CAAC,EAAG,
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/diviner/Provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEtD,MAAM,WAAW,oBAAoB,CAAC,CAAC,CAAE,SAAQ,sBAAsB,EAAE,iBAAiB;IACxF,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAA;IACzC,OAAO,CAAC,EAAE,CAAC,CAAA;CACZ;AAED,iCAAiC;AACjC,eAAO,MAAM,uBAAuB,GAAI,CAAC,EAAG,iEAEzC,oBAAoB,CAAC,CAAC,CAAC,4CA8BzB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useShareForwardRef.d.ts","sourceRoot":"","sources":["../../../src/hooks/useShareForwardRef.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAGzC,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,cAAc,YAAY,CAAC,CAAC,CAAC,EAAE,gBAAW,
|
|
1
|
+
{"version":3,"file":"useShareForwardRef.d.ts","sourceRoot":"","sources":["../../../src/hooks/useShareForwardRef.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAGzC,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,cAAc,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,EAAE,gBAAW,wCAiBpG,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-rc.1",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"browser": {
|
|
31
|
-
"types": "./dist/
|
|
31
|
+
"types": "./dist/types/index.d.ts",
|
|
32
32
|
"default": "./dist/browser/index.mjs"
|
|
33
33
|
},
|
|
34
|
-
"types": "./dist/
|
|
34
|
+
"types": "./dist/types/index.d.ts",
|
|
35
35
|
"default": "./dist/browser/index.mjs"
|
|
36
36
|
},
|
|
37
37
|
"./package.json": "./package.json"
|
|
@@ -43,44 +43,46 @@
|
|
|
43
43
|
"lint-pkg": "npmPkgJsonLint ."
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@xylabs/assert": "^4.5.
|
|
47
|
-
"@xylabs/decimal-precision": "^4.5.
|
|
48
|
-
"@xylabs/hex": "^4.5.
|
|
49
|
-
"@xylabs/react-appbar": "^
|
|
50
|
-
"@xylabs/react-button": "^
|
|
51
|
-
"@xylabs/react-flexbox": "^
|
|
52
|
-
"@xylabs/react-hooks": "^
|
|
53
|
-
"@xylabs/react-link": "^
|
|
54
|
-
"@xylabs/react-promise": "^
|
|
55
|
-
"@xyo-network/boundwitness-model": "^3.9.
|
|
56
|
-
"@xyo-network/boundwitness-validator": "^3.9.
|
|
57
|
-
"@xyo-network/payload-builder": "^3.9.
|
|
58
|
-
"@xyo-network/payload-model": "^3.9.
|
|
59
|
-
"@xyo-network/react-event": "^
|
|
60
|
-
"react-router-dom": "^7.
|
|
46
|
+
"@xylabs/assert": "^4.5.10",
|
|
47
|
+
"@xylabs/decimal-precision": "^4.5.10",
|
|
48
|
+
"@xylabs/hex": "^4.5.10",
|
|
49
|
+
"@xylabs/react-appbar": "^6.0.0-rc.2",
|
|
50
|
+
"@xylabs/react-button": "^6.0.0-rc.2",
|
|
51
|
+
"@xylabs/react-flexbox": "^6.0.0-rc.2",
|
|
52
|
+
"@xylabs/react-hooks": "^6.0.0-rc.2",
|
|
53
|
+
"@xylabs/react-link": "^6.0.0-rc.2",
|
|
54
|
+
"@xylabs/react-promise": "^6.0.0-rc.2",
|
|
55
|
+
"@xyo-network/boundwitness-model": "^3.9.35",
|
|
56
|
+
"@xyo-network/boundwitness-validator": "^3.9.35",
|
|
57
|
+
"@xyo-network/payload-builder": "^3.9.35",
|
|
58
|
+
"@xyo-network/payload-model": "^3.9.35",
|
|
59
|
+
"@xyo-network/react-event": "^5.0.0-rc.1",
|
|
60
|
+
"react-router-dom": "^7.3.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@mui/icons-material": "^6.4.
|
|
64
|
-
"@mui/material": "^6.4.
|
|
65
|
-
"@mui/styles": "^6.4.
|
|
66
|
-
"@storybook/react": "^8.6.
|
|
67
|
-
"@
|
|
68
|
-
"@xylabs/
|
|
69
|
-
"@xylabs/
|
|
70
|
-
"react": "^
|
|
71
|
-
"react
|
|
72
|
-
"
|
|
63
|
+
"@mui/icons-material": "^6.4.7",
|
|
64
|
+
"@mui/material": "^6.4.7",
|
|
65
|
+
"@mui/styles": "^6.4.7",
|
|
66
|
+
"@storybook/react": "^8.6.4",
|
|
67
|
+
"@types/react": "^19.0.10",
|
|
68
|
+
"@xylabs/react-quick-tip-button": "^6.0.0-rc.2",
|
|
69
|
+
"@xylabs/ts-scripts-yarn3": "^6.0.3",
|
|
70
|
+
"@xylabs/tsconfig-react": "^6.0.3",
|
|
71
|
+
"react": "^19.0.0",
|
|
72
|
+
"react-dom": "^19.0.0",
|
|
73
|
+
"storybook": "^8.6.4",
|
|
73
74
|
"typescript": "^5.8.2"
|
|
74
75
|
},
|
|
75
76
|
"peerDependencies": {
|
|
76
77
|
"@mui/icons-material": "^6",
|
|
77
78
|
"@mui/material": "^6",
|
|
78
79
|
"@mui/styles": "^6",
|
|
79
|
-
"react": "^
|
|
80
|
-
"react-dom": "^
|
|
80
|
+
"react": "^19",
|
|
81
|
+
"react-dom": "^19"
|
|
81
82
|
},
|
|
82
83
|
"publishConfig": {
|
|
83
84
|
"access": "public"
|
|
84
85
|
},
|
|
85
|
-
"docs": "dist/docs.json"
|
|
86
|
+
"docs": "dist/docs.json",
|
|
87
|
+
"stableVersion": "4.4.11"
|
|
86
88
|
}
|
|
@@ -5,9 +5,7 @@ import {
|
|
|
5
5
|
Box, styled, Typography,
|
|
6
6
|
} from '@mui/material'
|
|
7
7
|
import type { PropsWithChildren } from 'react'
|
|
8
|
-
import React, {
|
|
9
|
-
forwardRef, useCallback, useState,
|
|
10
|
-
} from 'react'
|
|
8
|
+
import React, { useCallback, useState } from 'react'
|
|
11
9
|
|
|
12
10
|
import { useShareForwardedRef } from '../hooks/index.ts'
|
|
13
11
|
|
|
@@ -92,23 +90,21 @@ export interface EllipsizeBoxProps extends BoxProps {
|
|
|
92
90
|
typographyProps?: TypographyWithComponentProps
|
|
93
91
|
}
|
|
94
92
|
|
|
95
|
-
export const EllipsizeBox =
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
const sharedRef = useShareForwardedRef(ref)
|
|
93
|
+
export const EllipsizeBox = ({
|
|
94
|
+
ref, children, ellipsisPosition = 'start', disableSharedRef, typographyProps, ...props
|
|
95
|
+
}: PropsWithChildren<EllipsizeBoxProps> & { ref?: React.RefObject<HTMLDivElement | null> }) => {
|
|
96
|
+
// Allow syncing of :before pseudo element height with contentWrapHeight
|
|
97
|
+
const { contentWrapRef, contentWrapHeight } = useClientHeight()
|
|
98
|
+
const sharedRef = useShareForwardedRef(ref)
|
|
102
99
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
)
|
|
100
|
+
return (
|
|
101
|
+
<EllipsizeRoot beforeLineHeight={!!sharedRef && !disableSharedRef ? contentWrapHeight : undefined} {...props} ref={sharedRef}>
|
|
102
|
+
<EllipsizeInnerWrap>
|
|
103
|
+
<EllipsizeContentWrap ref={contentWrapRef} component="span" ellipsisPosition={ellipsisPosition} variant="body2" {...typographyProps}>
|
|
104
|
+
{children}
|
|
105
|
+
</EllipsizeContentWrap>
|
|
106
|
+
</EllipsizeInnerWrap>
|
|
107
|
+
</EllipsizeRoot>
|
|
108
|
+
)
|
|
109
|
+
}
|
|
114
110
|
EllipsizeBox.displayName = 'EllipsizeBox'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useTheme } from '@mui/material'
|
|
2
2
|
import type { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
3
3
|
import { FlexGrowRow } from '@xylabs/react-flexbox'
|
|
4
|
-
import React
|
|
4
|
+
import React from 'react'
|
|
5
5
|
|
|
6
|
-
export const SectionSpacingRow =
|
|
7
|
-
children, sx, ...props
|
|
8
|
-
}
|
|
6
|
+
export const SectionSpacingRow = ({
|
|
7
|
+
ref, children, sx, ...props
|
|
8
|
+
}: FlexBoxProps & { ref?: React.RefObject<HTMLDivElement | null> }) => {
|
|
9
9
|
const theme = useTheme()
|
|
10
10
|
return (
|
|
11
11
|
<FlexGrowRow
|
|
@@ -21,6 +21,6 @@ export const SectionSpacingRow = forwardRef<HTMLDivElement, FlexBoxProps>(({
|
|
|
21
21
|
{children}
|
|
22
22
|
</FlexGrowRow>
|
|
23
23
|
)
|
|
24
|
-
}
|
|
24
|
+
}
|
|
25
25
|
|
|
26
26
|
SectionSpacingRow.displayName = 'SectionSpacingRow'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import type { EllipsisTableCellProps } from './EllipsisTableCell.tsx'
|
|
4
4
|
import { EllipsisTableCell } from './EllipsisTableCell.tsx'
|
|
@@ -11,14 +11,14 @@ export interface AddressTableCellProps extends Omit<EllipsisTableCellProps, 'ref
|
|
|
11
11
|
link?: boolean
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
const AddressTableCell =
|
|
15
|
-
value, archive, exploreDomain, link, ...props
|
|
16
|
-
}
|
|
14
|
+
const AddressTableCell = ({
|
|
15
|
+
ref, value, archive, exploreDomain, link, ...props
|
|
16
|
+
}: AddressTableCellProps & { ref?: React.RefObject<HTMLDivElement | null> }) => {
|
|
17
17
|
const href = exploreDomain && archive ? `${exploreDomain}/archive/${archive}/address/${value}` : undefined
|
|
18
18
|
const to = exploreDomain === undefined && archive ? `/archive/${archive}/address/${value}` : undefined
|
|
19
19
|
|
|
20
20
|
return <EllipsisTableCell value={value} href={href} to={to} ref={ref} link={link} {...props} />
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
|
|
23
23
|
AddressTableCell.displayName = 'AddressTableCell'
|
|
24
24
|
export { AddressTableCell }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TableCellProps } from '@mui/material'
|
|
2
2
|
import { styled, TableCell } from '@mui/material'
|
|
3
3
|
import { asLinkHrefOrToProps, LinkEx } from '@xylabs/react-link'
|
|
4
|
-
import React, {
|
|
4
|
+
import React, { useMemo } from 'react'
|
|
5
5
|
import type { To } from 'react-router-dom'
|
|
6
6
|
|
|
7
7
|
import { EllipsizeBox } from '../Ellipsize.tsx'
|
|
@@ -26,30 +26,28 @@ export interface EllipsisTableCellProps extends Omit<TableCellProps, 'ref'> {
|
|
|
26
26
|
width?: string | number
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export const EllipsisTableCellWithRef =
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
)
|
|
29
|
+
export const EllipsisTableCellWithRef = ({
|
|
30
|
+
ref, children, href, link = false, to, value, ...props
|
|
31
|
+
}: EllipsisTableCellProps & { ref?: React.RefObject<HTMLDivElement | null> }) => {
|
|
32
|
+
const data = useMemo(() => {
|
|
33
|
+
if (children) {
|
|
34
|
+
return children
|
|
35
|
+
}
|
|
36
|
+
if (href || link || to) {
|
|
37
|
+
return (
|
|
38
|
+
<LinkEx title={value} {...asLinkHrefOrToProps({ to, href })} target={href ? '_blank' : undefined}>
|
|
39
|
+
{value}
|
|
40
|
+
</LinkEx>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
return value
|
|
44
|
+
}, [children, href, link, to, value])
|
|
45
|
+
return (
|
|
46
|
+
<EllipsisTableCellRoot {...props}>
|
|
47
|
+
<EllipsizeBox ref={ref} sx={{ cursor: link || to || href ? 'pointer' : 'inherit' }}>{data}</EllipsizeBox>
|
|
48
|
+
</EllipsisTableCellRoot>
|
|
49
|
+
)
|
|
50
|
+
}
|
|
53
51
|
|
|
54
52
|
EllipsisTableCellWithRef.displayName = 'EllipsisTableCell'
|
|
55
53
|
export const EllipsisTableCell = EllipsisTableCellWithRef
|
|
@@ -19,10 +19,10 @@ export const ListModeProvider: React.FC<PropsWithChildren<ListModeProviderProps>
|
|
|
19
19
|
setListMode])
|
|
20
20
|
|
|
21
21
|
return (
|
|
22
|
-
<ListModeContext
|
|
22
|
+
<ListModeContext
|
|
23
23
|
value={value}
|
|
24
24
|
>
|
|
25
25
|
{children}
|
|
26
|
-
</ListModeContext
|
|
26
|
+
</ListModeContext>
|
|
27
27
|
)
|
|
28
28
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Context } from 'react'
|
|
2
|
-
import {
|
|
2
|
+
import { use } from 'react'
|
|
3
3
|
|
|
4
4
|
import type { ContextExState } from './State.ts'
|
|
5
5
|
|
|
6
6
|
export const useContextEx = <T extends ContextExState>(context: Context<T>, contextName: string, required = true) => {
|
|
7
|
-
const { provided, ...props } =
|
|
7
|
+
const { provided, ...props } = use(context)
|
|
8
8
|
if (!provided && required) {
|
|
9
9
|
throw new Error(`use${contextName} can not be used outside of a ${contextName}Context when required=true`)
|
|
10
10
|
}
|
|
@@ -12,6 +12,6 @@ export const useContextEx = <T extends ContextExState>(context: Context<T>, cont
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const useProvided = <T extends ContextExState>(context: Context<T>) => {
|
|
15
|
-
const { provided } =
|
|
15
|
+
const { provided } = use(context)
|
|
16
16
|
return provided
|
|
17
17
|
}
|
|
@@ -12,7 +12,7 @@ export interface DivinerProviderProps<D> extends ContextExProviderProps, PropsWi
|
|
|
12
12
|
|
|
13
13
|
/** Exposes a resolved diviner */
|
|
14
14
|
export const ResolvedDivinerProvider = <D,>({
|
|
15
|
-
diviner: divinerProp, required = false, children, context,
|
|
15
|
+
diviner: divinerProp, required = false, children, context: Context,
|
|
16
16
|
}: DivinerProviderProps<D>) => {
|
|
17
17
|
const [diviner, setDiviner] = useResetState<D | undefined>(divinerProp)
|
|
18
18
|
|
|
@@ -33,7 +33,7 @@ export const ResolvedDivinerProvider = <D,>({
|
|
|
33
33
|
setDiviner, divinerProp])
|
|
34
34
|
|
|
35
35
|
return (
|
|
36
|
-
<
|
|
36
|
+
<Context
|
|
37
37
|
value={value}
|
|
38
38
|
>
|
|
39
39
|
{diviner
|
|
@@ -41,6 +41,6 @@ export const ResolvedDivinerProvider = <D,>({
|
|
|
41
41
|
: required
|
|
42
42
|
? null
|
|
43
43
|
: children}
|
|
44
|
-
</
|
|
44
|
+
</Context>
|
|
45
45
|
)
|
|
46
46
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ForwardedRef } from 'react'
|
|
2
2
|
import { useEffect, useRef } from 'react'
|
|
3
3
|
|
|
4
|
-
export const useShareForwardedRef = <T>(forwardedRef: ForwardedRef<T
|
|
4
|
+
export const useShareForwardedRef = <T>(forwardedRef: ForwardedRef<T> | null | undefined, refresh = 0) => {
|
|
5
5
|
// final ref that will share value with forward ref. this is the one to be attached to components
|
|
6
6
|
const innerRef = useRef<T>(null)
|
|
7
7
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Ellipsize.d.ts","sourceRoot":"","sources":["../../../src/components/Ellipsize.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EAAE,eAAe,EAAE,iBAAiB,EAC7C,MAAM,eAAe,CAAA;AAItB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAEN,MAAM,OAAO,CAAA;AAUd,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACnC;AA+DD,MAAM,MAAM,4BAA4B,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAC9I,gBAAgB,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CACnC,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,QAAQ;IACjD,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,gBAAgB,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAClC,eAAe,CAAC,EAAE,4BAA4B,CAAA;CAC/C;AAED,eAAO,MAAM,YAAY,0HAkBxB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SectionSpacingRow.d.ts","sourceRoot":"","sources":["../../../../src/components/SectionSpacingRow/SectionSpacingRow.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,eAAO,MAAM,iBAAiB,qHAkB5B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddressTableCell.d.ts","sourceRoot":"","sources":["../../../../src/components/TableCell/AddressTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAGrE,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,KAAK,CAAC;IAChF,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,QAAA,MAAM,gBAAgB,8FAOpB,CAAA;AAGF,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { TableCellProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { To } from 'react-router-dom';
|
|
4
|
-
export interface EllipsisTableCellProps extends Omit<TableCellProps, 'ref'> {
|
|
5
|
-
href?: string;
|
|
6
|
-
link?: boolean;
|
|
7
|
-
to?: To;
|
|
8
|
-
value?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Width of the table cell.
|
|
11
|
-
*
|
|
12
|
-
* Note: When using percentages, this value can be different than what you expect
|
|
13
|
-
* if used on a cell that is not the first cell in the first row.
|
|
14
|
-
*/
|
|
15
|
-
width?: string | number;
|
|
16
|
-
}
|
|
17
|
-
export declare const EllipsisTableCellWithRef: React.ForwardRefExoticComponent<EllipsisTableCellProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export declare const EllipsisTableCell: React.ForwardRefExoticComponent<EllipsisTableCellProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
//# sourceMappingURL=EllipsisTableCell.d.ts.map
|
|
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
|
|
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
|