enerdot-front-system 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,3 +1,3 @@
1
1
  import { ButtonProps } from '.';
2
- declare const PrimaryButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const PrimaryButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
3
3
  export default PrimaryButton;
@@ -1,3 +1,3 @@
1
1
  import { ButtonProps } from '.';
2
- declare const SecondaryButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SecondaryButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
3
3
  export default SecondaryButton;
@@ -1,3 +1,3 @@
1
1
  import { ButtonProps } from '.';
2
- declare const TertiaryButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const TertiaryButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
3
3
  export default TertiaryButton;
@@ -1,3 +1,3 @@
1
1
  import { ButtonProps } from '.';
2
- declare const TextButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const TextButton: (props: Omit<ButtonProps, "theme">) => import("react/jsx-runtime").JSX.Element;
3
3
  export default TextButton;
@@ -10,5 +10,5 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
10
10
  /**theme - secondary, text만 지원 */
11
11
  isSelected?: boolean;
12
12
  }
13
- declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
14
14
  export default Button;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { default as Button } from './components/Button';
1
+ export * from './components/Button';
2
2
  export * from './theme/color.style';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "enerdot-front-system",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "enerdot-front-system",
@@ -27,14 +27,18 @@
27
27
  "lint": "eslint .",
28
28
  "preview": "vite preview"
29
29
  },
30
+ "exports": {
31
+ ".": {
32
+ "import": "./dist/index.es.js",
33
+ "require": "./dist/index.cjs.js"
34
+ }
35
+ },
30
36
  "peerDependencies": {
31
37
  "react": "^18.3.1",
32
38
  "react-dom": "^18.3.1",
33
39
  "styled-components": "^6.1.14"
34
40
  },
35
41
  "dependencies": {
36
- "@eunbae/react-library-ex": "^0.0.4",
37
- "enerdot-front-system": "^0.0.1",
38
42
  "react": "^18.3.1",
39
43
  "react-dom": "^18.3.1",
40
44
  "styled-components": "^6.1.14"
File without changes
File without changes