@fangzsx/component-library 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/dist/assets/index.css +1 -0
- package/dist/assets/index2.css +1 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +7 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/index.js +12 -0
- package/dist/components/Label/index.d.ts +2 -0
- package/dist/components/Label/index.js +12 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.js +8 -0
- package/package.json +43 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._label_mog69_1{font-weight:700}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._input_1auw0_1{padding:1rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Button(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '../../assets/index2.css';
|
|
2
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
3
|
+
const u = "_input_1auw0_1", o = {
|
|
4
|
+
input: u
|
|
5
|
+
};
|
|
6
|
+
function r(t) {
|
|
7
|
+
const { className: n, ...s } = t;
|
|
8
|
+
return /* @__PURE__ */ p("input", { className: `${n} ${o.input}`, ...s });
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
r as Input
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '../../assets/index.css';
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
const o = "_label_mog69_1", t = {
|
|
4
|
+
label: o
|
|
5
|
+
};
|
|
6
|
+
function b(l) {
|
|
7
|
+
const { className: e, ...s } = l;
|
|
8
|
+
return /* @__PURE__ */ a("label", { className: `${e} ${t.label}`, ...s });
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
b as Label
|
|
12
|
+
};
|
package/dist/main.d.ts
ADDED
package/dist/main.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fangzsx/component-library",
|
|
3
|
+
"author": "Jay Gilbert Garzon",
|
|
4
|
+
"private": false,
|
|
5
|
+
"version": "0.0.1",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/main.js",
|
|
8
|
+
"types": "dist/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"sideEffects": [
|
|
13
|
+
"**/*.css"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"dev": "vite",
|
|
17
|
+
"build": "tsc --p ./tsconfig-build.json && vite build",
|
|
18
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
19
|
+
"preview": "vite preview"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"react": "^18.2.0",
|
|
23
|
+
"react-dom": "^18.2.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/node": "^20.11.30",
|
|
27
|
+
"@types/react": "^18.2.71",
|
|
28
|
+
"@types/react-dom": "^18.2.22",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
30
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
31
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
32
|
+
"eslint": "^8.57.0",
|
|
33
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
34
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
35
|
+
"glob": "^10.3.10",
|
|
36
|
+
"react": "^18.2.0",
|
|
37
|
+
"react-dom": "^18.2.0",
|
|
38
|
+
"typescript": "^5.4.3",
|
|
39
|
+
"vite": "^4.5.3",
|
|
40
|
+
"vite-plugin-dts": "^3.7.3",
|
|
41
|
+
"vite-plugin-lib-inject-css": "^2.0.1"
|
|
42
|
+
}
|
|
43
|
+
}
|