@fangzsx/component-library 0.0.2 → 0.0.3

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.
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function Input(props: React.InputHTMLAttributes<HTMLInputElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import '../../assets/index2.css';
2
1
  import { jsx as p } from "react/jsx-runtime";
3
- const u = "_input_1auw0_1", o = {
2
+ import '../../assets/index2.css';const u = "_input_1auw0_1", o = {
4
3
  input: u
5
4
  };
6
5
  function r(t) {
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function Label(props: React.LabelHTMLAttributes<HTMLLabelElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- import '../../assets/index.css';
2
1
  import { jsx as a } from "react/jsx-runtime";
3
- const o = "_label_mog69_1", t = {
2
+ import '../../assets/index.css';const o = "_label_mog69_1", t = {
4
3
  label: o
5
4
  };
6
5
  function b(l) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fangzsx/component-library",
3
3
  "author": "Jay Gilbert Garzon",
4
4
  "private": false,
5
- "version": "0.0.2",
5
+ "version": "0.0.3",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",
@@ -16,28 +16,49 @@
16
16
  "dev": "vite",
17
17
  "build": "tsc --p ./tsconfig-build.json && vite build",
18
18
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
19
- "preview": "vite preview"
19
+ "preview": "vite preview",
20
+ "storybook": "storybook dev -p 6006",
21
+ "build-storybook": "storybook build"
20
22
  },
21
23
  "peerDependencies": {
22
- "react": "^18.2.0",
23
- "react-dom": "^18.2.0"
24
+ "react": "^19.0.0",
25
+ "react-dom": "^19.0.0"
24
26
  },
25
27
  "devDependencies": {
28
+ "@chromatic-com/storybook": "^4.1.3",
29
+ "@storybook/addon-a11y": "^10.1.11",
30
+ "@storybook/addon-docs": "^10.1.11",
31
+ "@storybook/addon-onboarding": "^10.1.11",
32
+ "@storybook/addon-vitest": "^10.1.11",
33
+ "@storybook/react-vite": "^10.1.11",
26
34
  "@types/node": "^20.11.30",
27
35
  "@types/react": "^18.2.71",
28
36
  "@types/react-dom": "^18.2.22",
29
37
  "@typescript-eslint/eslint-plugin": "^6.21.0",
30
38
  "@typescript-eslint/parser": "^6.21.0",
31
39
  "@vitejs/plugin-react": "^4.2.1",
40
+ "@vitest/browser-playwright": "^4.0.16",
41
+ "@vitest/coverage-v8": "^4.0.16",
32
42
  "eslint": "^8.57.0",
33
43
  "eslint-plugin-react-hooks": "^4.6.0",
34
44
  "eslint-plugin-react-refresh": "^0.4.6",
45
+ "eslint-plugin-storybook": "^10.1.11",
35
46
  "glob": "^10.3.10",
36
- "react": "^18.2.0",
37
- "react-dom": "^18.2.0",
47
+ "playwright": "^1.57.0",
48
+ "react": "^19.0.0",
49
+ "react-dom": "^19.0.0",
50
+ "storybook": "^10.1.11",
38
51
  "typescript": "^5.4.3",
39
- "vite": "^4.5.3",
52
+ "vite": "^5.4.21",
40
53
  "vite-plugin-dts": "^3.7.3",
41
- "vite-plugin-lib-inject-css": "^2.0.1"
54
+ "vite-plugin-lib-inject-css": "^2.0.1",
55
+ "vitest": "^4.0.16"
56
+ },
57
+ "dependencies": {
58
+ "@emotion/react": "^11.14.0",
59
+ "@emotion/styled": "^11.14.1",
60
+ "@fontsource/roboto": "^5.2.9",
61
+ "@mui/icons-material": "^7.3.7",
62
+ "@mui/material": "^7.3.7"
42
63
  }
43
- }
64
+ }