@openzeppelin/ui-components 3.7.0 → 3.8.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/index.cjs +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -18,7 +18,7 @@ import * as SelectPrimitive from "@radix-ui/react-select";
|
|
|
18
18
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
19
19
|
import { AddressLabelResolver, AddressNameResolver, AddressSuggestion, AddressSuggestionResolver, AddressingCapability, ContractSchema, Ecosystem, EcosystemMetadata, EnumValue, FieldValidation, FormFieldType, FunctionParameter, MapEntry, NameResolutionError, NameResolver, NetworkConfig, NetworkLabelResolver, NetworkType, RelayerDetails, RelayerDetailsRich, ResolutionResult, ResolvedAddress, ResolvedName, RuntimeCapability, TypeMappingCapability } from "@openzeppelin/ui-types";
|
|
20
20
|
import { ToasterProps } from "sonner";
|
|
21
|
-
import * as
|
|
21
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
22
22
|
|
|
23
23
|
//#region src/version.d.ts
|
|
24
24
|
declare const VERSION: string;
|
|
@@ -26,13 +26,13 @@ declare const VERSION: string;
|
|
|
26
26
|
//#region src/components/ui/accordion.d.ts
|
|
27
27
|
declare const accordionItemVariants: (props?: ({
|
|
28
28
|
variant?: "default" | "card" | null | undefined;
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
30
30
|
declare const accordionTriggerVariants: (props?: ({
|
|
31
31
|
variant?: "default" | "card" | null | undefined;
|
|
32
|
-
} &
|
|
32
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
33
33
|
declare const accordionContentVariants: (props?: ({
|
|
34
34
|
variant?: "default" | "card" | null | undefined;
|
|
35
|
-
} &
|
|
35
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
36
36
|
type AccordionVariant = 'default' | 'card';
|
|
37
37
|
type AccordionProps = (AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & {
|
|
38
38
|
variant?: AccordionVariant;
|
|
@@ -409,7 +409,7 @@ declare function useAddressName(address: string, networkId?: string): UseAddress
|
|
|
409
409
|
//#region src/components/ui/alert.d.ts
|
|
410
410
|
declare const Alert: React$2.ForwardRefExoticComponent<React$2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
411
411
|
variant?: "default" | "destructive" | "success" | null | undefined;
|
|
412
|
-
} &
|
|
412
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string> & React$2.RefAttributes<HTMLDivElement>>;
|
|
413
413
|
declare const AlertTitle: React$2.ForwardRefExoticComponent<React$2.HTMLAttributes<HTMLHeadingElement> & React$2.RefAttributes<HTMLParagraphElement>>;
|
|
414
414
|
declare const AlertDescription: React$2.ForwardRefExoticComponent<React$2.HTMLAttributes<HTMLParagraphElement> & React$2.RefAttributes<HTMLParagraphElement>>;
|
|
415
415
|
//#endregion
|
|
@@ -463,7 +463,7 @@ declare const Banner: React$2.ForwardRefExoticComponent<BannerProps & React$2.Re
|
|
|
463
463
|
declare const buttonVariants: (props?: ({
|
|
464
464
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
465
465
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
466
|
-
} &
|
|
466
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
467
467
|
//#endregion
|
|
468
468
|
//#region src/components/ui/button.d.ts
|
|
469
469
|
interface ButtonProps extends React$2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
package/dist/index.mjs
CHANGED