enerdot-front-system 0.0.3 → 0.0.5
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/LICENSE +21 -0
- package/README.md +5 -47
- package/package.json +11 -6
- package/dist/index.d.ts +0 -2
- /package/dist/{components → lib/components}/Button/PrimaryButton.d.ts +0 -0
- /package/dist/{components → lib/components}/Button/SecondaryButton.d.ts +0 -0
- /package/dist/{components → lib/components}/Button/TertiaryButton.d.ts +0 -0
- /package/dist/{components → lib/components}/Button/TextButton.d.ts +0 -0
- /package/dist/{components → lib/components}/Button/common.d.ts +0 -0
- /package/dist/{components → lib/components}/Button/index.d.ts +0 -0
- /package/dist/{theme → lib/theme}/color.style.d.ts +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 enerdot
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,50 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Enerdot Frontend System
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
에너닷에서 공용으로 사용하는 디자인 시스템 컴포넌트, theme 등을 라이브러리로 제공합니다.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
배포 요소
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
## Expanding the ESLint configuration
|
|
11
|
-
|
|
12
|
-
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
13
|
-
|
|
14
|
-
- Configure the top-level `parserOptions` property like this:
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
export default tseslint.config({
|
|
18
|
-
languageOptions: {
|
|
19
|
-
// other options...
|
|
20
|
-
parserOptions: {
|
|
21
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
22
|
-
tsconfigRootDir: import.meta.dirname,
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
})
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
|
|
29
|
-
- Optionally add `...tseslint.configs.stylisticTypeChecked`
|
|
30
|
-
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:
|
|
31
|
-
|
|
32
|
-
```js
|
|
33
|
-
// eslint.config.js
|
|
34
|
-
import react from 'eslint-plugin-react'
|
|
35
|
-
|
|
36
|
-
export default tseslint.config({
|
|
37
|
-
// Set the react version
|
|
38
|
-
settings: { react: { version: '18.3' } },
|
|
39
|
-
plugins: {
|
|
40
|
-
// Add the react plugin
|
|
41
|
-
react,
|
|
42
|
-
},
|
|
43
|
-
rules: {
|
|
44
|
-
// other rules...
|
|
45
|
-
// Enable its recommended rules
|
|
46
|
-
...react.configs.recommended.rules,
|
|
47
|
-
...react.configs['jsx-runtime'].rules,
|
|
48
|
-
},
|
|
49
|
-
})
|
|
50
|
-
```
|
|
7
|
+
- color theme
|
|
8
|
+
- button
|
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.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"enerdot-front-system",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"design-system"
|
|
11
11
|
],
|
|
12
12
|
"main": "dist/index.cjs.js",
|
|
13
|
-
"types": "dist/index.d.ts",
|
|
14
13
|
"module": "dist/index.es.js",
|
|
14
|
+
"types": "dist/index.d.ts",
|
|
15
15
|
"description": "enerdot frontend system",
|
|
16
|
-
"license": "
|
|
16
|
+
"license": "MIT",
|
|
17
17
|
"files": [
|
|
18
18
|
"dist/**/*",
|
|
19
19
|
"!dist/vite.config.d.ts",
|
|
@@ -25,12 +25,16 @@
|
|
|
25
25
|
"dev": "vite",
|
|
26
26
|
"build": "tsc -b && vite build",
|
|
27
27
|
"lint": "eslint .",
|
|
28
|
-
"preview": "vite preview"
|
|
28
|
+
"preview": "vite preview",
|
|
29
|
+
"prepare": "rm -rf dist && tsc && vite build",
|
|
30
|
+
"add:package": "yarn add ./enerdot-front-system-v0.0.5.tgz",
|
|
31
|
+
"reset:package": "yarn remove enerdot-front-system && yarn cache clean && rm -rf ./enerdot-front-system-v0.0.5.tgz && yarn add enerdot-front-system"
|
|
29
32
|
},
|
|
30
33
|
"exports": {
|
|
31
34
|
".": {
|
|
32
|
-
"
|
|
33
|
-
"require": "./dist/index.cjs.js"
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"require": "./dist/index.cjs.js",
|
|
37
|
+
"import": "./dist/index.es.js"
|
|
34
38
|
}
|
|
35
39
|
},
|
|
36
40
|
"peerDependencies": {
|
|
@@ -39,6 +43,7 @@
|
|
|
39
43
|
"styled-components": "^6.1.14"
|
|
40
44
|
},
|
|
41
45
|
"dependencies": {
|
|
46
|
+
"enerdot-front-system": "^0.0.4",
|
|
42
47
|
"react": "^18.3.1",
|
|
43
48
|
"react-dom": "^18.3.1",
|
|
44
49
|
"styled-components": "^6.1.14"
|
package/dist/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|