@namehash/namehash-ui 1.4.0 → 1.5.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/README.md +3 -3
- package/dist/index.cjs +6061 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1144 -5
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +354 -2
- package/dist/index.d.ts +354 -2
- package/dist/index.js +6068 -5
- package/dist/index.js.map +1 -1
- package/package.json +31 -10
package/README.md
CHANGED
|
@@ -7,14 +7,14 @@ For UI component libraries intended for the general public, we recommend [ensnod
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @namehash/namehash-ui @ensnode/ensnode-react
|
|
10
|
+
npm install @namehash/namehash-ui @ensnode/ensnode-react sonner
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Note: `@ensnode/ensnode-react` is necessary only for some components. It might happen that you won't need
|
|
13
|
+
Note: `@ensnode/ensnode-react` and `sonner` are package's peer dependencies. The former is necessary only for some components and same goes for `sonner` which is only necessary for `CopyButton` component. It might happen that you won't need these installed, depending on which components you want to use.
|
|
14
14
|
|
|
15
15
|
## Setup
|
|
16
16
|
|
|
17
|
-
The `namehash-ui` package comes with its own styles exported for some components, as well as global Tailwind styles
|
|
17
|
+
The `namehash-ui` package comes with its own styles exported for some components, as well as global Tailwind styles.
|
|
18
18
|
|
|
19
19
|
Make sure you import the `styles.css` file somewhere in your app:
|
|
20
20
|
|