@xwadex/fesd-next 0.1.97 → 0.2.0

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.
@@ -2,12 +2,12 @@
2
2
  import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from "react";
4
4
  import styles from "../styles/MyClientComponent.module.scss";
5
- const MyClientComponent = ({ name, classstyles = styles }) => {
5
+ const MyClientComponent = ({ name }) => {
6
6
  const [state, setstate] = useState(0);
7
7
  useEffect(() => {
8
8
  console.log('hello!');
9
9
  }, []);
10
- return _jsxs("div", { className: classstyles.root, children: ["This is the component, name :", _jsxs("span", { children: [name !== null && name !== void 0 ? name : "empty", "13249849994984898"] }), _jsx("span", { children: state }), _jsx("button", { onClick: () => setstate(prev => prev + 1), children: "+" })] });
10
+ return _jsxs("div", { className: styles.root, children: ["This is the component, name :", _jsxs("span", { children: [name !== null && name !== void 0 ? name : "empty", "13249849994984898"] }), _jsx("span", { children: state }), _jsx("button", { onClick: () => setstate(prev => prev + 1), children: "+" })] });
11
11
  };
12
12
  MyClientComponent.displayName = "MyClientComponent";
13
13
  export default MyClientComponent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwadex/fesd-next",
3
- "version": "0.1.97",
3
+ "version": "0.2.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": ["./"],
@@ -9,7 +9,8 @@
9
9
  "types": "./index.d.ts",
10
10
  "import": "./index.js"
11
11
  },
12
- "./types": "./types/index.d.ts"
12
+ "./types": "./types/index.d.ts",
13
+ "./styles": "./styles"
13
14
  },
14
15
  "scripts": {},
15
16
  "peerDependencies": {