@namehash/namehash-ui 0.0.0-next-20260108092445

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 NameHash
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # @namehash/namehash-ui
2
+
3
+ The contained UI components are for reuse across multiple apps developed by the NameHash Labs team, but are highly opinionated according to our specific apps and therefore aren't intended for the general public.
4
+
5
+ For UI component libraries intended for the general public, we recommend [ensnode-react](https://www.npmjs.com/package/@ensnode/ensnode-react).
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @namehash/namehash-ui @ensnode/ensnode-react
11
+ ```
12
+
13
+ Note: `@ensnode/ensnode-react` is necessary only for some components. It might happen that you won't need it.
14
+
15
+ ## Setup
16
+
17
+ The `namehash-ui` package comes with its own styles exported for some components, as well as global Tailwind styles (soon to be removed).
18
+
19
+ Make sure you import the `styles.css` file somewhere in your app:
20
+
21
+ ```tsx
22
+ import "@namehash/namehash-ui/styles.css";
23
+ ```
package/dist/index.cjs ADDED
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ Placeholder: () => Placeholder
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+
27
+ // src/components/placeholder/Placeholder.tsx
28
+ var import_jsx_runtime = require("react/jsx-runtime");
29
+ var Placeholder = () => {
30
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "nhui:font-semibold nhui:leading-normal nhui:text-red-500 nhui:text-xs nhui:pl-10", children: "NameHash-UI" });
31
+ };
32
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts","../src/components/placeholder/Placeholder.tsx"],"sourcesContent":["import \"./styles.css\";\n\nexport * from \"./components/placeholder/Placeholder\";\n","export const Placeholder = () => {\n return (\n <p className=\"nhui:font-semibold nhui:leading-normal nhui:text-red-500 nhui:text-xs nhui:pl-10\">\n NameHash-UI\n </p>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEI;AAFG,IAAM,cAAc,MAAM;AAC/B,SACE,4CAAC,OAAE,WAAU,oFAAmF,yBAEhG;AAEJ;","names":[]}
package/dist/index.css ADDED
@@ -0,0 +1,257 @@
1
+ /* src/styles.css */
2
+ @layer properties;
3
+ @layer theme, base, components, utilities;
4
+ @layer theme {
5
+ :root,
6
+ :host {
7
+ --nhui-font-sans:
8
+ ui-sans-serif,
9
+ system-ui,
10
+ sans-serif,
11
+ "Apple Color Emoji",
12
+ "Segoe UI Emoji",
13
+ "Segoe UI Symbol",
14
+ "Noto Color Emoji";
15
+ --nhui-font-mono:
16
+ ui-monospace,
17
+ SFMono-Regular,
18
+ Menlo,
19
+ Monaco,
20
+ Consolas,
21
+ "Liberation Mono",
22
+ "Courier New",
23
+ monospace;
24
+ --nhui-color-red-500: oklch(63.7% 0.237 25.331);
25
+ --nhui-spacing: 0.25rem;
26
+ --nhui-text-xs: 0.75rem;
27
+ --nhui-text-xs--line-height: calc(1 / 0.75);
28
+ --nhui-font-weight-semibold: 600;
29
+ --nhui-leading-normal: 1.5;
30
+ --nhui-default-font-family: var(--nhui-font-sans);
31
+ --nhui-default-mono-font-family: var(--nhui-font-mono);
32
+ }
33
+ }
34
+ @layer base {
35
+ *,
36
+ ::after,
37
+ ::before,
38
+ ::backdrop,
39
+ ::file-selector-button {
40
+ box-sizing: border-box;
41
+ margin: 0;
42
+ padding: 0;
43
+ border: 0 solid;
44
+ }
45
+ html,
46
+ :host {
47
+ line-height: 1.5;
48
+ -webkit-text-size-adjust: 100%;
49
+ tab-size: 4;
50
+ font-family: var(--nhui-default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
51
+ font-feature-settings: var(--nhui-default-font-feature-settings, normal);
52
+ font-variation-settings: var(--nhui-default-font-variation-settings, normal);
53
+ -webkit-tap-highlight-color: transparent;
54
+ }
55
+ hr {
56
+ height: 0;
57
+ color: inherit;
58
+ border-top-width: 1px;
59
+ }
60
+ abbr:where([title]) {
61
+ -webkit-text-decoration: underline dotted;
62
+ text-decoration: underline dotted;
63
+ }
64
+ h1,
65
+ h2,
66
+ h3,
67
+ h4,
68
+ h5,
69
+ h6 {
70
+ font-size: inherit;
71
+ font-weight: inherit;
72
+ }
73
+ a {
74
+ color: inherit;
75
+ -webkit-text-decoration: inherit;
76
+ text-decoration: inherit;
77
+ }
78
+ b,
79
+ strong {
80
+ font-weight: bolder;
81
+ }
82
+ code,
83
+ kbd,
84
+ samp,
85
+ pre {
86
+ font-family: var(--nhui-default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
87
+ font-feature-settings: var(--nhui-default-mono-font-feature-settings, normal);
88
+ font-variation-settings: var(--nhui-default-mono-font-variation-settings, normal);
89
+ font-size: 1em;
90
+ }
91
+ small {
92
+ font-size: 80%;
93
+ }
94
+ sub,
95
+ sup {
96
+ font-size: 75%;
97
+ line-height: 0;
98
+ position: relative;
99
+ vertical-align: baseline;
100
+ }
101
+ sub {
102
+ bottom: -0.25em;
103
+ }
104
+ sup {
105
+ top: -0.5em;
106
+ }
107
+ table {
108
+ text-indent: 0;
109
+ border-color: inherit;
110
+ border-collapse: collapse;
111
+ }
112
+ :-moz-focusring {
113
+ outline: auto;
114
+ }
115
+ progress {
116
+ vertical-align: baseline;
117
+ }
118
+ summary {
119
+ display: list-item;
120
+ }
121
+ ol,
122
+ ul,
123
+ menu {
124
+ list-style: none;
125
+ }
126
+ img,
127
+ svg,
128
+ video,
129
+ canvas,
130
+ audio,
131
+ iframe,
132
+ embed,
133
+ object {
134
+ display: block;
135
+ vertical-align: middle;
136
+ }
137
+ img,
138
+ video {
139
+ max-width: 100%;
140
+ height: auto;
141
+ }
142
+ button,
143
+ input,
144
+ select,
145
+ optgroup,
146
+ textarea,
147
+ ::file-selector-button {
148
+ font: inherit;
149
+ font-feature-settings: inherit;
150
+ font-variation-settings: inherit;
151
+ letter-spacing: inherit;
152
+ color: inherit;
153
+ border-radius: 0;
154
+ background-color: transparent;
155
+ opacity: 1;
156
+ }
157
+ :where(select:is([multiple], [size])) optgroup {
158
+ font-weight: bolder;
159
+ }
160
+ :where(select:is([multiple], [size])) optgroup option {
161
+ padding-inline-start: 20px;
162
+ }
163
+ ::file-selector-button {
164
+ margin-inline-end: 4px;
165
+ }
166
+ ::placeholder {
167
+ opacity: 1;
168
+ }
169
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
170
+ ::placeholder {
171
+ color: currentcolor;
172
+ @supports (color: color-mix(in lab, red, red)) {
173
+ color: color-mix(in oklab, currentcolor 50%, transparent);
174
+ }
175
+ }
176
+ }
177
+ textarea {
178
+ resize: vertical;
179
+ }
180
+ ::-webkit-search-decoration {
181
+ -webkit-appearance: none;
182
+ }
183
+ ::-webkit-date-and-time-value {
184
+ min-height: 1lh;
185
+ text-align: inherit;
186
+ }
187
+ ::-webkit-datetime-edit {
188
+ display: inline-flex;
189
+ }
190
+ ::-webkit-datetime-edit-fields-wrapper {
191
+ padding: 0;
192
+ }
193
+ ::-webkit-datetime-edit,
194
+ ::-webkit-datetime-edit-year-field,
195
+ ::-webkit-datetime-edit-month-field,
196
+ ::-webkit-datetime-edit-day-field,
197
+ ::-webkit-datetime-edit-hour-field,
198
+ ::-webkit-datetime-edit-minute-field,
199
+ ::-webkit-datetime-edit-second-field,
200
+ ::-webkit-datetime-edit-millisecond-field,
201
+ ::-webkit-datetime-edit-meridiem-field {
202
+ padding-block: 0;
203
+ }
204
+ ::-webkit-calendar-picker-indicator {
205
+ line-height: 1;
206
+ }
207
+ :-moz-ui-invalid {
208
+ box-shadow: none;
209
+ }
210
+ button,
211
+ input:where([type=button], [type=reset], [type=submit]),
212
+ ::file-selector-button {
213
+ appearance: button;
214
+ }
215
+ ::-webkit-inner-spin-button,
216
+ ::-webkit-outer-spin-button {
217
+ height: auto;
218
+ }
219
+ [hidden]:where(:not([hidden=until-found])) {
220
+ display: none !important;
221
+ }
222
+ }
223
+ @layer utilities {
224
+ .nhui\:pl-10 {
225
+ padding-left: calc(var(--nhui-spacing) * 10);
226
+ }
227
+ .nhui\:text-xs {
228
+ font-size: var(--nhui-text-xs);
229
+ line-height: var(--tw-leading, var(--nhui-text-xs--line-height));
230
+ }
231
+ .nhui\:leading-normal {
232
+ --tw-leading: var(--nhui-leading-normal);
233
+ line-height: var(--nhui-leading-normal);
234
+ }
235
+ .nhui\:font-semibold {
236
+ --tw-font-weight: var(--nhui-font-weight-semibold);
237
+ font-weight: var(--nhui-font-weight-semibold);
238
+ }
239
+ .nhui\:text-red-500 {
240
+ color: var(--nhui-color-red-500);
241
+ }
242
+ }
243
+ @property --tw-leading { syntax: "*"; inherits: false; }
244
+ @property --tw-font-weight { syntax: "*"; inherits: false; }
245
+ @layer properties {
246
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
247
+ *,
248
+ ::before,
249
+ ::after,
250
+ ::backdrop {
251
+ --tw-leading: initial;
252
+ --tw-font-weight: initial;
253
+ }
254
+ }
255
+ }
256
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
257
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/styles.css"],"sourcesContent":["/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --nhui-font-sans: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\",\n \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --nhui-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --nhui-color-red-500: oklch(63.7% 0.237 25.331);\n --nhui-spacing: 0.25rem;\n --nhui-text-xs: 0.75rem;\n --nhui-text-xs--line-height: calc(1 / 0.75);\n --nhui-font-weight-semibold: 600;\n --nhui-leading-normal: 1.5;\n --nhui-default-font-family: var(--nhui-font-sans);\n --nhui-default-mono-font-family: var(--nhui-font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--nhui-default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--nhui-default-font-feature-settings, normal);\n font-variation-settings: var(--nhui-default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--nhui-default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--nhui-default-mono-font-feature-settings, normal);\n font-variation-settings: var(--nhui-default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .nhui\\:pl-10 {\n padding-left: calc(var(--nhui-spacing) * 10);\n }\n .nhui\\:text-xs {\n font-size: var(--nhui-text-xs);\n line-height: var(--tw-leading, var(--nhui-text-xs--line-height));\n }\n .nhui\\:leading-normal {\n --tw-leading: var(--nhui-leading-normal);\n line-height: var(--nhui-leading-normal);\n }\n .nhui\\:font-semibold {\n --tw-font-weight: var(--nhui-font-weight-semibold);\n font-weight: var(--nhui-font-weight-semibold);\n }\n .nhui\\:text-red-500 {\n color: var(--nhui-color-red-500);\n }\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-leading: initial;\n --tw-font-weight: initial;\n }\n }\n}\n"],"mappings":";AACA;AACA;AACA;AACE;AAAA,EAAO;AACL;AAAA,MAAkB,aAAa;AAAA,MAAE,SAAS;AAAA,MAAE,UAAU;AAAA,MAAE,mBAAmB;AAAA,MACzE,gBAAgB;AAAA,MAAE,iBAAiB;AAAA,MAAE;AACvC;AAAA,MAAkB,YAAY;AAAA,MAAE,cAAc;AAAA,MAAE,KAAK;AAAA,MAAE,MAAM;AAAA,MAAE,QAAQ;AAAA,MAAE,iBAAiB;AAAA,MACxF,aAAa;AAAA,MAAE;AACjB,0BAAsB,MAAM,MAAM,MAAM;AACxC,oBAAgB;AAChB,oBAAgB;AAChB,iCAA6B,KAAK,EAAE,EAAE;AACtC,iCAA6B;AAC7B,2BAAuB;AACvB,gCAA4B,IAAI;AAChC,qCAAiC,IAAI;AACvC;AACF;AACA;AACE;AAAA,EAAG;AAAA,EAAS;AAAA,EAAU;AAAA,EAAY;AAChC,gBAAY;AACZ,YAAQ;AACR,aAAS;AACT,YAAQ,EAAE;AACZ;AACA;AAAA,EAAM;AACJ,iBAAa;AACb,8BAA0B;AAC1B,cAAU;AACV,iBAAa,IAAI,0BAA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BAAkB,IAAI;AACtB,iBAAa,IAAI;AACnB;AACA,GAAC;AACC,WAAO,IAAI;AACb;AACF;AACA,UAAU,aAAa,EACrB,MAAM,EAAE,GAAG,EACX,QAAQ,EAAE,KAAK;AAEjB,UAAU,iBAAiB,EACzB,MAAM,EAAE,GAAG,EACX,QAAQ,EAAE,KAAK;AAEjB;AACE,YAAU,CAAC,CAAC,eAAe,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,CAAC,CAAC,WAAW,EAAE,QAAQ,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,EAAE;AAC7H;AAAA,IAAG;AAAA,IAAU;AAAA,IAAS;AACpB,oBAAc;AACd,wBAAkB;AACpB;AACF;AACF;","names":[]}
@@ -0,0 +1,5 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare const Placeholder: () => react_jsx_runtime.JSX.Element;
4
+
5
+ export { Placeholder };
@@ -0,0 +1,5 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare const Placeholder: () => react_jsx_runtime.JSX.Element;
4
+
5
+ export { Placeholder };
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ // src/components/placeholder/Placeholder.tsx
2
+ import { jsx } from "react/jsx-runtime";
3
+ var Placeholder = () => {
4
+ return /* @__PURE__ */ jsx("p", { className: "nhui:font-semibold nhui:leading-normal nhui:text-red-500 nhui:text-xs nhui:pl-10", children: "NameHash-UI" });
5
+ };
6
+ export {
7
+ Placeholder
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/placeholder/Placeholder.tsx"],"sourcesContent":["export const Placeholder = () => {\n return (\n <p className=\"nhui:font-semibold nhui:leading-normal nhui:text-red-500 nhui:text-xs nhui:pl-10\">\n NameHash-UI\n </p>\n );\n};\n"],"mappings":";AAEI;AAFG,IAAM,cAAc,MAAM;AAC/B,SACE,oBAAC,OAAE,WAAU,oFAAmF,yBAEhG;AAEJ;","names":[]}
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@namehash/namehash-ui",
3
+ "version": "0.0.0-next-20260108092445",
4
+ "type": "module",
5
+ "description": "Opinionated UI components for use in apps published by NameHash Labs",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/namehash/ensnode.git",
10
+ "directory": "packages/namehash-ui"
11
+ },
12
+ "homepage": "https://github.com/namehash/ensnode/tree/main/packages/namehash-ui",
13
+ "keywords": [
14
+ "NameHash",
15
+ "React",
16
+ "UI"
17
+ ],
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "exports": {
22
+ ".": {
23
+ "default": "./dist/index.js",
24
+ "types": "./dist/index.d.ts"
25
+ },
26
+ "./styles.css": {
27
+ "import": "./dist/index.css",
28
+ "default": "./dist/index.css"
29
+ }
30
+ },
31
+ "sideEffects": false,
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "styles": "./dist/index.css"
35
+ },
36
+ "peerDependencies": {
37
+ "react": "^19.0.0",
38
+ "react-dom": "^19.0.0",
39
+ "@ensnode/ensnode-react": "0.0.0-next-20260108092445"
40
+ },
41
+ "devDependencies": {
42
+ "@testing-library/react": "^16.3.0",
43
+ "@types/node": "22.18.13",
44
+ "@types/react": "19.2.7",
45
+ "@types/react-dom": "19.2.3",
46
+ "react": "19.2.1",
47
+ "tsup": "^8.3.6",
48
+ "typescript": "^5.7.3",
49
+ "@tailwindcss/postcss": "^4.1.18",
50
+ "postcss": "^8.5.6",
51
+ "tailwindcss": "^4.1.18",
52
+ "@ensnode/shared-configs": "0.0.0-next-20260108092445"
53
+ },
54
+ "dependencies": {},
55
+ "scripts": {
56
+ "prepublish": "tsup",
57
+ "dev": "tsup --watch",
58
+ "lint": "biome check --write .",
59
+ "lint:ci": "biome ci",
60
+ "typecheck": "tsc --noEmit"
61
+ },
62
+ "main": "./dist/index.js",
63
+ "module": "./dist/index.mjs",
64
+ "types": "./dist/index.d.ts"
65
+ }