enerdot-front-system 0.0.20 → 0.0.21-beta.2
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/README.md +2 -2
- package/dist/index.cjs.js +39 -592
- package/dist/index.es.js +1335 -1692
- package/dist/lib/components/Button/{PrimaryButton.d.ts → PrimaryButton/index.d.ts} +1 -1
- package/dist/lib/components/Button/{QuaternaryButton.d.ts → QuaternaryButton/index.d.ts} +1 -1
- package/dist/lib/components/Button/{SecondaryButton.d.ts → SecondaryButton/index.d.ts} +1 -1
- package/dist/lib/components/Button/{TertiaryButton.d.ts → TertiaryButton/index.d.ts} +1 -1
- package/dist/lib/components/Button/{TextButton.d.ts → TextButton/index.d.ts} +1 -1
- package/dist/lib/components/Button/common.d.ts +0 -92
- package/dist/lib/components/ButtonFilter/{Button.d.ts → Button/index.d.ts} +1 -1
- package/dist/lib/components/IconButton/{OnlyIconButton.d.ts → OnlyIconButton/index.d.ts} +1 -1
- package/dist/lib/components/IconButton/{PrimaryButton.d.ts → PrimaryButton/index.d.ts} +1 -1
- package/dist/lib/components/IconButton/{QuaternaryButton.d.ts → QuaternaryButton/index.d.ts} +1 -1
- package/dist/lib/components/IconButton/{SecondaryButton.d.ts → SecondaryButton/index.d.ts} +1 -1
- package/dist/lib/components/IconButton/{TertiaryButton.d.ts → TertiaryButton/index.d.ts} +1 -1
- package/dist/lib/components/IconButton/common.d.ts +0 -71
- package/dist/lib/types/declarations.d.ts +1 -0
- package/package.json +7 -10
- package/dist/lib/components/ButtonFilter/index.style.d.ts +0 -14
- /package/dist/lib/components/Inputs/{Input.d.ts → Input/index.d.ts} +0 -0
- /package/dist/lib/components/Inputs/{SearchInput.d.ts → SearchInput/index.d.ts} +0 -0
- /package/dist/lib/components/Radio/{RadioButton.d.ts → RadioButton/index.d.ts} +0 -0
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
export interface ButtonStyleProps {
|
|
2
|
-
$mainColor: string;
|
|
3
|
-
$hoverColor: string;
|
|
4
|
-
$activeColor: string;
|
|
5
|
-
$disabledColor: string;
|
|
6
|
-
$fontWeights: [string, string, string];
|
|
7
|
-
$fontSize: number;
|
|
8
|
-
$borderRadius: number;
|
|
9
|
-
$pr: number;
|
|
10
|
-
$pl: number;
|
|
11
|
-
$height: number;
|
|
12
|
-
$width: string;
|
|
13
|
-
/**theme - secondary, text만 지원 */
|
|
14
|
-
$isSelected?: boolean;
|
|
15
|
-
}
|
|
16
1
|
export declare const levels: {
|
|
17
2
|
[key: string]: {
|
|
18
3
|
height: number;
|
|
19
4
|
fontSize: number;
|
|
20
|
-
fontWeights: [string, string, string];
|
|
21
5
|
};
|
|
22
6
|
};
|
|
23
7
|
export declare const borderRadii: {
|
|
@@ -25,79 +9,3 @@ export declare const borderRadii: {
|
|
|
25
9
|
round: number;
|
|
26
10
|
no: number;
|
|
27
11
|
};
|
|
28
|
-
export declare const colors: {
|
|
29
|
-
primary: {
|
|
30
|
-
$mainColor: string;
|
|
31
|
-
$hoverColor: string;
|
|
32
|
-
$activeColor: string;
|
|
33
|
-
$disabledColor: string;
|
|
34
|
-
};
|
|
35
|
-
green: {
|
|
36
|
-
$mainColor: string;
|
|
37
|
-
$hoverColor: string;
|
|
38
|
-
$activeColor: string;
|
|
39
|
-
$disabledColor: string;
|
|
40
|
-
};
|
|
41
|
-
red: {
|
|
42
|
-
$mainColor: string;
|
|
43
|
-
$hoverColor: string;
|
|
44
|
-
$activeColor: string;
|
|
45
|
-
$disabledColor: string;
|
|
46
|
-
};
|
|
47
|
-
orange: {
|
|
48
|
-
$mainColor: string;
|
|
49
|
-
$hoverColor: string;
|
|
50
|
-
$activeColor: string;
|
|
51
|
-
$disabledColor: string;
|
|
52
|
-
};
|
|
53
|
-
yellow: {
|
|
54
|
-
$mainColor: string;
|
|
55
|
-
$hoverColor: string;
|
|
56
|
-
$activeColor: string;
|
|
57
|
-
$disabledColor: string;
|
|
58
|
-
};
|
|
59
|
-
gray: {
|
|
60
|
-
$mainColor: string;
|
|
61
|
-
$hoverColor: string;
|
|
62
|
-
$activeColor: string;
|
|
63
|
-
$disabledColor: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export declare const quaternaryColors: {
|
|
67
|
-
primary: {
|
|
68
|
-
$mainColor: string;
|
|
69
|
-
$hoverColor: string;
|
|
70
|
-
$activeColor: string;
|
|
71
|
-
$disabledColor: string;
|
|
72
|
-
};
|
|
73
|
-
green: {
|
|
74
|
-
$mainColor: string;
|
|
75
|
-
$hoverColor: string;
|
|
76
|
-
$activeColor: string;
|
|
77
|
-
$disabledColor: string;
|
|
78
|
-
};
|
|
79
|
-
red: {
|
|
80
|
-
$mainColor: string;
|
|
81
|
-
$hoverColor: string;
|
|
82
|
-
$activeColor: string;
|
|
83
|
-
$disabledColor: string;
|
|
84
|
-
};
|
|
85
|
-
orange: {
|
|
86
|
-
$mainColor: string;
|
|
87
|
-
$hoverColor: string;
|
|
88
|
-
$activeColor: string;
|
|
89
|
-
$disabledColor: string;
|
|
90
|
-
};
|
|
91
|
-
yellow: {
|
|
92
|
-
$mainColor: string;
|
|
93
|
-
$hoverColor: string;
|
|
94
|
-
$activeColor: string;
|
|
95
|
-
$disabledColor: string;
|
|
96
|
-
};
|
|
97
|
-
gray: {
|
|
98
|
-
$mainColor: string;
|
|
99
|
-
$hoverColor: string;
|
|
100
|
-
$activeColor: string;
|
|
101
|
-
$disabledColor: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export interface IconButtonStyleProps {
|
|
2
|
-
$mainColor: string;
|
|
3
|
-
$hoverColor: string;
|
|
4
|
-
$activeColor: string;
|
|
5
|
-
$isRound: boolean;
|
|
6
|
-
$padding: number;
|
|
7
|
-
}
|
|
8
1
|
export declare const levels: {
|
|
9
2
|
small: {
|
|
10
3
|
padding: number;
|
|
@@ -16,67 +9,3 @@ export declare const levels: {
|
|
|
16
9
|
padding: number;
|
|
17
10
|
};
|
|
18
11
|
};
|
|
19
|
-
export declare const colors: {
|
|
20
|
-
primary: {
|
|
21
|
-
$mainColor: string;
|
|
22
|
-
$hoverColor: string;
|
|
23
|
-
$activeColor: string;
|
|
24
|
-
};
|
|
25
|
-
green: {
|
|
26
|
-
$mainColor: string;
|
|
27
|
-
$hoverColor: string;
|
|
28
|
-
$activeColor: string;
|
|
29
|
-
};
|
|
30
|
-
red: {
|
|
31
|
-
$mainColor: string;
|
|
32
|
-
$hoverColor: string;
|
|
33
|
-
$activeColor: string;
|
|
34
|
-
};
|
|
35
|
-
orange: {
|
|
36
|
-
$mainColor: string;
|
|
37
|
-
$hoverColor: string;
|
|
38
|
-
$activeColor: string;
|
|
39
|
-
};
|
|
40
|
-
yellow: {
|
|
41
|
-
$mainColor: string;
|
|
42
|
-
$hoverColor: string;
|
|
43
|
-
$activeColor: string;
|
|
44
|
-
};
|
|
45
|
-
gray: {
|
|
46
|
-
$mainColor: string;
|
|
47
|
-
$hoverColor: string;
|
|
48
|
-
$activeColor: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export declare const quaternaryColors: {
|
|
52
|
-
primary: {
|
|
53
|
-
$mainColor: string;
|
|
54
|
-
$hoverColor: string;
|
|
55
|
-
$activeColor: string;
|
|
56
|
-
};
|
|
57
|
-
green: {
|
|
58
|
-
$mainColor: string;
|
|
59
|
-
$hoverColor: string;
|
|
60
|
-
$activeColor: string;
|
|
61
|
-
};
|
|
62
|
-
red: {
|
|
63
|
-
$mainColor: string;
|
|
64
|
-
$hoverColor: string;
|
|
65
|
-
$activeColor: string;
|
|
66
|
-
};
|
|
67
|
-
orange: {
|
|
68
|
-
$mainColor: string;
|
|
69
|
-
$hoverColor: string;
|
|
70
|
-
$activeColor: string;
|
|
71
|
-
};
|
|
72
|
-
yellow: {
|
|
73
|
-
$mainColor: string;
|
|
74
|
-
$hoverColor: string;
|
|
75
|
-
$activeColor: string;
|
|
76
|
-
};
|
|
77
|
-
gray: {
|
|
78
|
-
$mainColor: string;
|
|
79
|
-
$hoverColor: string;
|
|
80
|
-
$activeColor: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module "*.scss";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "enerdot-front-system",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21-beta.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"enerdot-front-system",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"lint": "eslint .",
|
|
28
28
|
"preview": "vite preview",
|
|
29
29
|
"prepare": "rm -rf dist && tsc && vite build",
|
|
30
|
-
"add:package": "yarn add ./enerdot-front-system-v0.0.
|
|
31
|
-
"reset:package": "yarn remove enerdot-front-system && yarn cache clean && rm -rf ./enerdot-front-system-v0.0.
|
|
30
|
+
"add:package": "yarn add ./enerdot-front-system-v0.0.21-beta.2.tgz",
|
|
31
|
+
"reset:package": "yarn remove enerdot-front-system && yarn cache clean && rm -rf ./enerdot-front-system-v0.0.21-beta.2.tgz"
|
|
32
32
|
},
|
|
33
33
|
"exports": {
|
|
34
34
|
".": {
|
|
@@ -40,20 +40,15 @@
|
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^18.3.1",
|
|
42
42
|
"react-dom": "^18.3.1",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
43
|
+
"react-router-dom": "^7.1.1",
|
|
44
|
+
"styled-components": "^6.1.14"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@babel/core": "^7.23.9",
|
|
48
|
-
"@babel/preset-env": "^7.23.9",
|
|
49
|
-
"@babel/preset-react": "^7.23.3",
|
|
50
|
-
"@babel/preset-typescript": "^7.23.3",
|
|
51
47
|
"@eslint/js": "^9.17.0",
|
|
52
48
|
"@types/node": "^22.10.5",
|
|
53
49
|
"@types/react": "^18.3.18",
|
|
54
50
|
"@types/react-dom": "^18.3.5",
|
|
55
51
|
"@vitejs/plugin-react": "^4.3.4",
|
|
56
|
-
"babel-plugin-styled-components": "^2.1.4",
|
|
57
52
|
"eslint": "^9.17.0",
|
|
58
53
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
59
54
|
"eslint-plugin-react-refresh": "^0.4.16",
|
|
@@ -64,11 +59,13 @@
|
|
|
64
59
|
"react": "^18.3.1",
|
|
65
60
|
"react-dom": "^18.3.1",
|
|
66
61
|
"react-router-dom": "^7.1.1",
|
|
62
|
+
"sass": "^1.86.1",
|
|
67
63
|
"styled-components": "^6.1.14",
|
|
68
64
|
"typescript": "~5.6.2",
|
|
69
65
|
"typescript-eslint": "^8.18.2",
|
|
70
66
|
"url": "^0.11.4",
|
|
71
67
|
"vite": "^6.0.5",
|
|
68
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
72
69
|
"vite-plugin-dts": "^4.4.0"
|
|
73
70
|
}
|
|
74
71
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
-
ref?: import('react').Ref<HTMLDivElement>;
|
|
3
|
-
}, never>> & string;
|
|
4
|
-
export declare const Tooltip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
-
ref?: import('react').Ref<HTMLDivElement>;
|
|
6
|
-
}, {
|
|
7
|
-
$top: number;
|
|
8
|
-
$width?: number;
|
|
9
|
-
}>> & string;
|
|
10
|
-
export declare const ItemButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
11
|
-
ref?: import('react').Ref<HTMLButtonElement>;
|
|
12
|
-
}, {
|
|
13
|
-
$isSelected?: boolean;
|
|
14
|
-
}>> & string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|