@jaw.id/ui 1.0.2 → 1.1.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/components/Eip712Dialog/index.d.ts.map +1 -1
- package/dist/components/IdentityAvatar.d.ts +1 -1
- package/dist/components/OnboardingDialog/types.d.ts +1 -1
- package/dist/components/TransactionDialog/ClearSignedView.d.ts +1 -1
- package/dist/components/TransactionDialog/DecodedCalldata.d.ts.map +1 -1
- package/dist/components/VerificationDigest/index.d.ts +18 -0
- package/dist/components/VerificationDigest/index.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/form.d.ts +4 -4
- package/dist/hooks/useClearSigningTypedData.d.ts +1 -1
- package/dist/hooks/useDecodedCalldata.d.ts +1 -1
- package/dist/hooks/useGasEstimation.d.ts +4 -4
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6962 -6817
- package/dist/lib/utils.d.ts +2 -2
- package/dist/react/ReactUIHandler.d.ts +2 -1
- package/dist/{smartAccount-BAJsXHTW.js → smartAccount-DA5m3LVe.js} +1 -1
- package/dist/theme/apply-theme.d.ts +6 -0
- package/dist/theme/constants.d.ts +4 -1
- package/dist/theme/resolve-theme.d.ts +7 -1
- package/dist/utils/clearSigning.d.ts +1 -1
- package/dist/utils/erc8213.d.ts +22 -0
- package/dist/utils/erc8213.d.ts.map +1 -0
- package/package.json +30 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Eip712Dialog/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Eip712Dialog/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA2P5C,eAAO,MAAM,YAAY,GAAI,mLAgB1B,iBAAiB,4CA0OnB,CAAC;AAEF,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecodedCalldata.d.ts","sourceRoot":"","sources":["../../../src/components/TransactionDialog/DecodedCalldata.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DecodedCalldata.d.ts","sourceRoot":"","sources":["../../../src/components/TransactionDialog/DecodedCalldata.tsx"],"names":[],"mappings":"AAiDA,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,GAAI,mFAQ7B,oBAAoB,4CA2LtB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** A single labeled, monospace, 0x-prefixed hash value with copy-to-clipboard. */
|
|
2
|
+
export declare const DigestRow: ({ label, value, prominent, }: {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
prominent?: boolean;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* ERC-8213 verification digests for an EIP-712 signature, collapsed behind a
|
|
9
|
+
* disclosure. Expanded, the EIP-712 Digest is shown prominently (the one hash
|
|
10
|
+
* the signer verifies) above the secondary Domain and Message hashes.
|
|
11
|
+
*
|
|
12
|
+
* Renders nothing if the typed data can't be parsed — the dialog already shows
|
|
13
|
+
* its own "Failed to parse typed data" message in that case.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Eip712VerificationDigests: ({ typedDataJson }: {
|
|
16
|
+
typedDataJson: string;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/VerificationDigest/index.tsx"],"names":[],"mappings":"AAgBA,kFAAkF;AAClF,eAAO,MAAM,SAAS,GAAI,8BAIvB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,4CA8BA,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,GAAI,mBAAmB;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,mDAoBrF,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
5
|
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
6
|
-
} & import(
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
2
|
-
import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
|
|
3
1
|
import * as React from 'react';
|
|
4
2
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
5
|
-
|
|
3
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
4
|
+
import { type ControllerProps, type FieldPath, type FieldValues } from 'react-hook-form';
|
|
5
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
6
6
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare const useFormField: () => {
|
|
8
8
|
invalid: boolean;
|
|
9
9
|
isDirty: boolean;
|
|
10
10
|
isTouched: boolean;
|
|
11
11
|
isValidating: boolean;
|
|
12
|
-
error?: import(
|
|
12
|
+
error?: import("react-hook-form").FieldError;
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
15
15
|
formItemId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Address, Hex } from 'viem';
|
|
2
|
-
import { Account, TokenEstimate, TransactionCall } from '
|
|
3
|
-
import { FeeTokenOption } from '../components/FeeTokenSelector';
|
|
4
|
-
export type { TransactionCall } from '
|
|
1
|
+
import type { Address, Hex } from 'viem';
|
|
2
|
+
import type { Account, TokenEstimate, TransactionCall } from '@jaw.id/core';
|
|
3
|
+
import type { FeeTokenOption } from '../components/FeeTokenSelector';
|
|
4
|
+
export type { TransactionCall } from '@jaw.id/core';
|
|
5
5
|
/**
|
|
6
6
|
* Configuration options for gas estimation
|
|
7
7
|
*/
|