@openzeppelin/ui-components 3.3.0 → 3.3.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/index.cjs CHANGED
@@ -38,7 +38,7 @@ let sonner = require("sonner");
38
38
  let next_themes = require("next-themes");
39
39
 
40
40
  //#region src/version.ts
41
- const VERSION = "3.3.0";
41
+ const VERSION = "3.3.1";
42
42
 
43
43
  //#endregion
44
44
  //#region src/components/ui/accordion.tsx
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$2 from "react";
2
2
  import React$1, { ForwardedRef, JSX, ReactElement, ReactNode } from "react";
3
3
  import { Control, FieldError, FieldPath, FieldValues, FormProvider, UseFormReturn } from "react-hook-form";
4
- import * as class_variance_authority_types1 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
5
5
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
6
6
  import { VariantProps } from "class-variance-authority";
7
7
  import { AddressLabelResolver, AddressSuggestion, AddressSuggestionResolver, AddressingCapability, ContractSchema, Ecosystem, EcosystemMetadata, EnumValue, FieldValidation, FormFieldType, FunctionParameter, MapEntry, NetworkConfig, NetworkType, RelayerDetails, RelayerDetailsRich, RuntimeCapability, TypeMappingCapability } from "@openzeppelin/ui-types";
@@ -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
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
29
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
30
30
  declare const accordionTriggerVariants: (props?: ({
31
31
  variant?: "default" | "card" | null | undefined;
32
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
32
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
33
33
  declare const accordionContentVariants: (props?: ({
34
34
  variant?: "default" | "card" | null | undefined;
35
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
35
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
36
36
  type AccordionVariant = 'default' | 'card';
37
37
  type AccordionProps = (AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & {
38
38
  variant?: AccordionVariant;
@@ -278,7 +278,7 @@ declare function useAddressLabel(address: string, networkId?: string): UseAddres
278
278
  //#region src/components/ui/alert.d.ts
279
279
  declare const Alert: React$2.ForwardRefExoticComponent<React$2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
280
280
  variant?: "default" | "destructive" | "success" | null | undefined;
281
- } & class_variance_authority_types1.ClassProp) | undefined) => string> & React$2.RefAttributes<HTMLDivElement>>;
281
+ } & class_variance_authority_types0.ClassProp) | undefined) => string> & React$2.RefAttributes<HTMLDivElement>>;
282
282
  declare const AlertTitle: React$2.ForwardRefExoticComponent<React$2.HTMLAttributes<HTMLHeadingElement> & React$2.RefAttributes<HTMLParagraphElement>>;
283
283
  declare const AlertDescription: React$2.ForwardRefExoticComponent<React$2.HTMLAttributes<HTMLParagraphElement> & React$2.RefAttributes<HTMLParagraphElement>>;
284
284
  //#endregion
@@ -332,7 +332,7 @@ declare const Banner: React$2.ForwardRefExoticComponent<BannerProps & React$2.Re
332
332
  declare const buttonVariants: (props?: ({
333
333
  variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
334
334
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
335
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
335
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
336
336
  //#endregion
337
337
  //#region src/components/ui/button.d.ts
338
338
  interface ButtonProps extends React$2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
package/dist/index.mjs CHANGED
@@ -26,7 +26,7 @@ import { Toaster as Toaster$1, toast } from "sonner";
26
26
  import { useTheme } from "next-themes";
27
27
 
28
28
  //#region src/version.ts
29
- const VERSION = "3.3.0";
29
+ const VERSION = "3.3.1";
30
30
 
31
31
  //#endregion
32
32
  //#region src/components/ui/accordion.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openzeppelin/ui-components",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "private": false,
5
5
  "description": "Shared React UI components for the OpenZeppelin UI ecosystem.",
6
6
  "type": "module",
@@ -77,7 +77,7 @@
77
77
  "tailwind-merge": "^3.3.1",
78
78
  "tailwindcss-animate": "^1.0.7",
79
79
  "@openzeppelin/ui-types": "^3.1.1",
80
- "@openzeppelin/ui-utils": "^3.1.0"
80
+ "@openzeppelin/ui-utils": "^3.1.1"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@testing-library/react": "^16.3.2",