@thenamespace/ens-components 0.2.0 → 0.4.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.
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import "./Icon.css";
3
- export type IconName = "person" | "x" | "search" | "square-user" | "globe" | "pin" | "box" | "book" | "map-pin" | "mail" | "discord" | "github" | "telegram" | "youtube" | "image" | "circle-person" | "twitter" | "circle-alert" | "check-circle" | "alert-triangle" | "info" | "x-circle" | "rotate-circle" | "logout" | "edit" | "copy" | "clock";
3
+ export type IconName = "person" | "x" | "search" | "square-user" | "globe" | "pin" | "box" | "book" | "map-pin" | "mail" | "discord" | "github" | "telegram" | "youtube" | "image" | "circle-person" | "twitter" | "circle-alert" | "check-circle" | "alert-triangle" | "info" | "x-circle" | "rotate-circle" | "logout" | "edit" | "copy" | "clock" | "image" | "xSocial";
4
4
  export interface IconProps {
5
5
  name: IconName;
6
6
  color?: string;
@@ -1,5 +1,6 @@
1
1
  export * from "./button/Button";
2
2
  export * from "./input/Input";
3
+ export * from "./textarea/Textarea";
3
4
  export * from "./text/Text";
4
5
  export * from "./icon/Icon";
5
6
  export * from "./chain-icon/ChainIcon";
@@ -0,0 +1,13 @@
1
+ import "./Textarea.css";
2
+ export type TextareaSize = "sm" | "md" | "lg";
3
+ export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "prefix"> {
4
+ size?: TextareaSize;
5
+ prefix?: React.ReactNode;
6
+ suffix?: React.ReactNode;
7
+ disabled?: boolean;
8
+ error?: boolean;
9
+ dataTestId?: string;
10
+ rows?: number;
11
+ }
12
+ export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
13
+ export default Textarea;
@@ -2,6 +2,7 @@ import { ContenthashProtocol } from "@/types";
2
2
  export interface SupportedContenthashRecord {
3
3
  protocol: ContenthashProtocol;
4
4
  label: string;
5
+ protocolPrefix: string;
5
6
  }
6
7
  export declare const supportedContenthashRecords: SupportedContenthashRecord[];
7
8
  export declare const getSupportedChashByProtocol: (protocol: ContenthashProtocol) => SupportedContenthashRecord | undefined;
@@ -4197,6 +4197,7 @@ export declare const useWeb3Client: ({ chainId }: {
4197
4197
  [x: `bytes3[${string}]`]: undefined;
4198
4198
  [x: `bytes32[${string}]`]: undefined;
4199
4199
  [x: `bytes1[${string}]`]: undefined;
4200
+ [x: `bytes4[${string}]`]: undefined;
4200
4201
  [x: `bytes24[${string}]`]: undefined;
4201
4202
  [x: `bytes20[${string}]`]: undefined;
4202
4203
  [x: `bytes8[${string}]`]: undefined;
@@ -4209,7 +4210,6 @@ export declare const useWeb3Client: ({ chainId }: {
4209
4210
  [x: `bytes30[${string}]`]: undefined;
4210
4211
  [x: `bytes25[${string}]`]: undefined;
4211
4212
  [x: `bytes14[${string}]`]: undefined;
4212
- [x: `bytes4[${string}]`]: undefined;
4213
4213
  [x: `bytes5[${string}]`]: undefined;
4214
4214
  [x: `bytes6[${string}]`]: undefined;
4215
4215
  [x: `bytes7[${string}]`]: undefined;
@@ -4297,6 +4297,7 @@ export declare const useWeb3Client: ({ chainId }: {
4297
4297
  bytes3?: undefined;
4298
4298
  bytes32?: undefined;
4299
4299
  bytes1?: undefined;
4300
+ bytes4?: undefined;
4300
4301
  bytes24?: undefined;
4301
4302
  bytes20?: undefined;
4302
4303
  bytes8?: undefined;
@@ -4309,7 +4310,6 @@ export declare const useWeb3Client: ({ chainId }: {
4309
4310
  bytes30?: undefined;
4310
4311
  bytes25?: undefined;
4311
4312
  bytes14?: undefined;
4312
- bytes4?: undefined;
4313
4313
  bytes5?: undefined;
4314
4314
  bytes6?: undefined;
4315
4315
  bytes7?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thenamespace/ens-components",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",