@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 ADDED
@@ -0,0 +1,7 @@
1
+ # @0xchain/empty
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test @0xchain/empty` to execute the unit tests via [Vitest](https://vitest.dev/).
@@ -0,0 +1,5 @@
1
+ export default function Empty({ className, children }: {
2
+ className?: string;
3
+ children?: React.ReactNode;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -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
+ }