podo-ui 0.4.2 → 0.4.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.
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # Podo UI
2
+
3
+ > Modern SCSS Module-based Design System
4
+
5
+ English | [한국어](./README.ko.md)
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install podo-ui
11
+ ```
12
+
13
+ ## Quick Start
14
+
15
+ ### Apply Global SCSS
16
+
17
+ ```typescript
18
+ // main.tsx
19
+ import 'podo-ui/global.scss';
20
+ import 'podo-ui/vite-fonts.scss'; // When using Vite
21
+ ```
22
+
23
+ ### Use in SCSS Modules
24
+
25
+ ```scss
26
+ // component.module.scss
27
+ @use 'podo-ui/mixin' as *;
28
+
29
+ .myComponent {
30
+ color: color(primary);
31
+ margin: s(4);
32
+ border-radius: r(2);
33
+ }
34
+ ```
35
+
36
+ ### React Components
37
+
38
+ ```tsx
39
+ // Import individual components using named imports
40
+ import { Input, Textarea, Editor, EditorView, Field, Pagination } from 'podo-ui';
41
+
42
+ // Or import components directly (legacy method)
43
+ import Input from 'podo-ui/react/atom/input';
44
+ import Field from 'podo-ui/react/molecule/field';
45
+ ```
46
+
47
+ ## Key Features
48
+
49
+ - CSS class-based design system
50
+ - Responsive grid system (PC 12, Tablet 6, Mobile 4)
51
+ - Color system with dark mode support
52
+ - React components (Input, Textarea, Editor, Field)
53
+
54
+ ## Documentation
55
+
56
+ For detailed usage, please refer to the [official documentation](https://podoui.com).
57
+
58
+ ## Links
59
+
60
+ - [Official Documentation](https://podoui.com)
61
+ - [GitHub Repository](https://github.com/hada0127/podo-ui)
62
+ - [Report Issues](https://github.com/hada0127/podo-ui/issues)
63
+
64
+ ## License
65
+
66
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "podo-ui",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "author": "hada0127 <work@tarucy.net>",
6
6
  "license": "MIT",
@@ -1,80 +1,62 @@
1
1
  @font-face {
2
2
  font-family: 'Pretendard';
3
3
  font-weight: 900;
4
- src:
5
- local('Pretendard Black'),
6
- url(./font/Pretendard-Black.woff2) format('woff2');
4
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Black.woff') format('woff');
7
5
  font-display: swap;
8
6
  }
9
7
 
10
8
  @font-face {
11
9
  font-family: 'Pretendard';
12
10
  font-weight: 800;
13
- src:
14
- local('Pretendard ExtraBold'),
15
- url(./font/Pretendard-ExtraBold.woff2) format('woff2');
11
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraBold.woff') format('woff');
16
12
  font-display: swap;
17
13
  }
18
14
 
19
15
  @font-face {
20
16
  font-family: 'Pretendard';
21
17
  font-weight: 700;
22
- src:
23
- local('Pretendard Bold'),
24
- url(./font/Pretendard-Bold.woff2) format('woff2');
18
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
25
19
  font-display: swap;
26
20
  }
27
21
 
28
22
  @font-face {
29
23
  font-family: 'Pretendard';
30
24
  font-weight: 600;
31
- src:
32
- local('Pretendard SemiBold'),
33
- url(./font/Pretendard-SemiBold.woff2) format('woff2');
25
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
34
26
  font-display: swap;
35
27
  }
36
28
 
37
29
  @font-face {
38
30
  font-family: 'Pretendard';
39
31
  font-weight: 500;
40
- src:
41
- local('Pretendard Medium'),
42
- url(./font/Pretendard-Medium.woff2) format('woff2');
32
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
43
33
  font-display: swap;
44
34
  }
45
35
 
46
36
  @font-face {
47
37
  font-family: 'Pretendard';
48
38
  font-weight: 400;
49
- src:
50
- local('Pretendard Regular'),
51
- url(./font/Pretendard-Regular.woff2) format('woff2');
39
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
52
40
  font-display: swap;
53
41
  }
54
42
 
55
43
  @font-face {
56
44
  font-family: 'Pretendard';
57
45
  font-weight: 300;
58
- src:
59
- local('Pretendard Light'),
60
- url(./font/Pretendard-Light.woff2) format('woff2');
46
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
61
47
  font-display: swap;
62
48
  }
63
49
 
64
50
  @font-face {
65
51
  font-family: 'Pretendard';
66
52
  font-weight: 200;
67
- src:
68
- local('Pretendard ExtraLight'),
69
- url(./font/Pretendard-ExtraLight.woff2) format('woff2');
53
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
70
54
  font-display: swap;
71
55
  }
72
56
 
73
57
  @font-face {
74
58
  font-family: 'Pretendard';
75
59
  font-weight: 100;
76
- src:
77
- local('Pretendard Thin'),
78
- url(./font/Pretendard-Thin.woff2) format('woff2');
60
+ src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff') format('woff');
79
61
  font-display: swap;
80
62
  }
package/readme.md DELETED
@@ -1,64 +0,0 @@
1
- # Podo UI
2
-
3
- > SCSS Module 기반 디자인 시스템
4
-
5
- ## 설치
6
-
7
- ```bash
8
- npm install podo-ui
9
- ```
10
-
11
- ## 빠른 시작
12
-
13
- ### Global SCSS 적용
14
-
15
- ```typescript
16
- // main.tsx
17
- import 'podo-ui/global.scss';
18
- import 'podo-ui/vite-fonts.scss'; // Vite 사용 시
19
- ```
20
-
21
- ### SCSS Module에서 사용
22
-
23
- ```scss
24
- // component.module.scss
25
- @use 'podo-ui/mixin' as *;
26
-
27
- .myComponent {
28
- color: color(primary);
29
- margin: s(4);
30
- border-radius: r(2);
31
- }
32
- ```
33
-
34
- ### React 컴포넌트
35
-
36
- ```tsx
37
- // Named imports로 개별 컴포넌트 가져오기
38
- import { Input, Textarea, Editor, EditorView, Field, Pagination } from 'podo-ui';
39
-
40
- // 또는 개별 컴포넌트 직접 import (레거시 방식)
41
- import Input from 'podo-ui/react/atom/input';
42
- import Field from 'podo-ui/react/molecule/field';
43
- ```
44
-
45
- ## 주요 기능
46
-
47
- - CSS 클래스 기반 디자인 시스템
48
- - 반응형 그리드 시스템 (PC 12, Tablet 6, Mobile 4)
49
- - 색상 시스템 및 다크 모드 지원
50
- - React 컴포넌트 제공 (Input, Textarea, Editor, Field)
51
-
52
- ## 문서
53
-
54
- 상세한 사용법은 [공식 설명서](https://podoui.com)를 참고하세요.
55
-
56
- ## 링크
57
-
58
- - [공식 설명서](https://podoui.com)
59
- - [GitHub 저장소](https://github.com/hada0127/podo-ui)
60
- - [이슈 제보](https://github.com/hada0127/podo-ui/issues)
61
-
62
- ## 라이선스
63
-
64
- MIT