fis-component 0.0.5 → 0.0.7

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.
@@ -0,0 +1,2 @@
1
+ declare const ButtonCM: () => import("react/jsx-runtime").JSX.Element;
2
+ export default ButtonCM;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { type PageProps } from "./types";
3
+ declare const Page: React.FC<PageProps>;
4
+ export default Page;
@@ -0,0 +1 @@
1
+ export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,4 @@
1
+ export interface PageProps {
2
+ title: string;
3
+ children: React.ReactNode;
4
+ }
@@ -1 +1,2 @@
1
1
  export { default as MyComponent } from "./components/MyComponent";
2
+ export { default as ButtonCM } from "./components/Button";
package/dist/index.d.ts CHANGED
@@ -2,4 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
 
3
3
  declare const MyComponent: () => react_jsx_runtime.JSX.Element;
4
4
 
5
- export { MyComponent };
5
+ declare const ButtonCM: () => react_jsx_runtime.JSX.Element;
6
+
7
+ export { ButtonCM, MyComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fis-component",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -57,6 +57,7 @@
57
57
  "eslint-plugin-n": "^16.6.2",
58
58
  "eslint-plugin-promise": "^6.1.1",
59
59
  "eslint-plugin-react": "^7.33.2",
60
+ "eslint-plugin-storybook": "^0.8.0",
60
61
  "husky": "^9.0.10",
61
62
  "jest": "^29.7.0",
62
63
  "jest-environment-jsdom": "^29.7.0",
@@ -66,8 +67,23 @@
66
67
  "rollup-plugin-postcss": "^4.0.2",
67
68
  "standard-version": "^9.5.0",
68
69
  "storybook": "^7.6.13",
69
- "styled-components": "^6.1.8",
70
+ "styled-components": "^6.1.13",
70
71
  "tslib": "^2.6.2",
71
72
  "typescript": "^5.3.3"
73
+ },
74
+ "eslintConfig": {
75
+ "extends": [
76
+ "plugin:storybook/recommended",
77
+ "plugin:storybook/recommended",
78
+ "plugin:storybook/recommended",
79
+ "plugin:storybook/recommended",
80
+ "plugin:storybook/recommended",
81
+ "plugin:storybook/recommended"
82
+ ]
83
+ },
84
+ "dependencies": {
85
+ "@vitejs/plugin-react": "^4.3.1",
86
+ "antd": "^5.20.6",
87
+ "vite": "^4.5.3"
72
88
  }
73
- }
89
+ }