@sudobility/workflow-components 1.0.10 → 1.1.0
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/status-badge.d.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export type StatusType = 'verified' | 'connected' | 'disconnected' | 'pending' | 'error' | 'success' | 'warning';
|
|
3
3
|
export type ChainType = 'evm' | 'solana' | 'unknown';
|
|
4
|
-
interface StatusBadgeProps {
|
|
4
|
+
export interface StatusBadgeProps {
|
|
5
5
|
status: StatusType;
|
|
6
6
|
label?: string;
|
|
7
7
|
showDot?: boolean;
|
|
8
8
|
size?: 'sm' | 'md' | 'lg';
|
|
9
9
|
}
|
|
10
|
-
interface ChainBadgeProps {
|
|
10
|
+
export interface ChainBadgeProps {
|
|
11
11
|
chainType: ChainType;
|
|
12
12
|
size?: 'sm' | 'md' | 'lg';
|
|
13
13
|
}
|
|
14
14
|
export declare const StatusBadge: React.FC<StatusBadgeProps>;
|
|
15
15
|
export declare const ChainBadge: React.FC<ChainBadgeProps>;
|
|
16
|
-
export {};
|
|
17
16
|
//# sourceMappingURL=status-badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../src/status-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,UAAU,GAClB,UAAU,GACV,WAAW,GACX,cAAc,GACd,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,CAAC;AAGd,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,CAAC;AAErD,
|
|
1
|
+
{"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../src/status-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,UAAU,GAClB,UAAU,GACV,WAAW,GACX,cAAc,GACd,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,CAAC;AAGd,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,CAAC;AAErD,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAiCD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA0DlD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqBhD,CAAC"}
|
package/package.json
CHANGED
package/src/status-badge.tsx
CHANGED
|
@@ -13,14 +13,14 @@ export type StatusType =
|
|
|
13
13
|
// Local ChainType enum to avoid @johnqh/lib dependency
|
|
14
14
|
export type ChainType = 'evm' | 'solana' | 'unknown';
|
|
15
15
|
|
|
16
|
-
interface StatusBadgeProps {
|
|
16
|
+
export interface StatusBadgeProps {
|
|
17
17
|
status: StatusType;
|
|
18
18
|
label?: string;
|
|
19
19
|
showDot?: boolean;
|
|
20
20
|
size?: 'sm' | 'md' | 'lg';
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
interface ChainBadgeProps {
|
|
23
|
+
export interface ChainBadgeProps {
|
|
24
24
|
chainType: ChainType;
|
|
25
25
|
size?: 'sm' | 'md' | 'lg';
|
|
26
26
|
}
|