podo-ui 0.4.1 → 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 → README.ko.md} +2 -0
- package/README.md +66 -0
- package/package.json +2 -1
- package/scss/form/input.scss +1 -1
- package/scss/typo/font-family.scss +9 -27
- package/scss/typo/font/Pretendard-Black.woff2 +0 -0
- package/scss/typo/font/Pretendard-Bold.woff2 +0 -0
- package/scss/typo/font/Pretendard-ExtraBold.woff2 +0 -0
- package/scss/typo/font/Pretendard-ExtraLight.woff2 +0 -0
- package/scss/typo/font/Pretendard-Light.woff2 +0 -0
- package/scss/typo/font/Pretendard-Medium.woff2 +0 -0
- package/scss/typo/font/Pretendard-Regular.woff2 +0 -0
- package/scss/typo/font/Pretendard-SemiBold.woff2 +0 -0
- package/scss/typo/font/Pretendard-Thin.woff2 +0 -0
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.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "hada0127 <work@tarucy.net>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"next": "14.1.0",
|
|
74
|
+
"next-intl": "^4.5.3",
|
|
74
75
|
"react": "^18.3.1",
|
|
75
76
|
"react-dom": "^18.3.1",
|
|
76
77
|
"sass": "^1.83.0",
|
package/scss/form/input.scss
CHANGED
|
@@ -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
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|