@0xchain/empty 0.0.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 +7 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/package.json +30 -0
package/README.md
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAOxG"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import r from "@0xchain/image";
|
|
3
|
+
import { twMerge as t } from "tailwind-merge";
|
|
4
|
+
import l from "@0xchain/translation";
|
|
5
|
+
function d({ className: a, children: m }) {
|
|
6
|
+
return /* @__PURE__ */ s("div", { className: t("flex flex-col items-center justify-center h-full p-4 gap-2", a), children: [
|
|
7
|
+
/* @__PURE__ */ e(r, { src: `${process.env.NEXT_PUBLIC_CDN_URL}/uploads/2026/01/08/695f82e0742e5.png`, alt: "empty", className: "dark:block hidden w-20 h-20 md:w-25 md:h-25" }),
|
|
8
|
+
/* @__PURE__ */ e(r, { src: `${process.env.NEXT_PUBLIC_CDN_URL}/uploads/2026/01/08/695f82e154158.png`, alt: "empty", className: "block dark:hidden w-20 h-20 md:w-25 md:h-25" }),
|
|
9
|
+
m || /* @__PURE__ */ e("span", { className: "text-sm text-gray-400", children: /* @__PURE__ */ e(l, { value: "empty", parentKey: "common" }) })
|
|
10
|
+
] });
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
d as default
|
|
14
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@0xchain/empty",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
"./package.json": "./package.json",
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"!**/*.tsbuildinfo"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"tailwind-merge": "3.3.1",
|
|
22
|
+
"react": "19.1.1",
|
|
23
|
+
"react-dom": "19.1.1",
|
|
24
|
+
"@0xchain/image": "0.0.1",
|
|
25
|
+
"@0xchain/translation": "0.0.1"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
}
|
|
30
|
+
}
|