@nation-a/ui 0.11.8 → 0.11.10
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 +56 -0
- package/dist/index-BMY7nH3O.js +19167 -0
- package/dist/index-BMY7nH3O.js.map +1 -0
- package/dist/index-Bi0nQr7e.cjs +19166 -0
- package/dist/index-Bi0nQr7e.cjs.map +1 -0
- package/dist/index.cjs +4004 -3941
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4005 -3942
- package/dist/index.js.map +1 -1
- package/dist/styled-system/css/css.mjs +1 -1
- package/dist/styled-system/styles.css +12 -44
- package/dist/styled-system/types/conditions.d.ts +1 -1
- package/dist/types/assets/lotties/spinner.json.d.ts +102 -0
- package/dist/types/components/Button/index.d.ts +2 -0
- package/dist/types/components/Input/Input.stories.d.ts +1 -0
- package/dist/types/components/Input/input.recipe.d.ts +13 -0
- package/dist/types/components/Layout/index.d.ts +8 -8
- package/dist/types/components/Spinner/index.d.ts +5 -273
- package/dist/types/components/Text/index.d.ts +3 -1
- package/dist/types/components/TextArea/TextArea.stories.d.ts +1 -0
- package/dist/types/components/TextArea/index.d.ts +0 -1
- package/dist/types/components/Toast/index.d.ts +1 -1
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# @nation-a/ui
|
|
2
|
+
|
|
3
|
+
Nation-A 디자인 시스템의 UI 컴포넌트 라이브러리입니다. 모던하고 재사용 가능한 React 컴포넌트들을 제공합니다.
|
|
4
|
+
|
|
5
|
+
## 특징
|
|
6
|
+
|
|
7
|
+
- **PandaCSS 기반**: 타입 안전한 스타일링 시스템
|
|
8
|
+
- **접근성 중심**: Ark UI를 활용한 접근성 준수 컴포넌트
|
|
9
|
+
- **테마 지원**: 다크모드와 라이트모드를 포함한 테마 지원
|
|
10
|
+
- **Storybook 문서화**: 모든 컴포넌트에 대한 사용 예시와 문서
|
|
11
|
+
|
|
12
|
+
## 설치
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# npm
|
|
16
|
+
npm install @nation-a/ui
|
|
17
|
+
|
|
18
|
+
# yarn
|
|
19
|
+
yarn add @nation-a/ui
|
|
20
|
+
|
|
21
|
+
# pnpm
|
|
22
|
+
pnpm add @nation-a/ui
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 개발 환경 설정
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# 의존성 설치
|
|
29
|
+
pnpm install
|
|
30
|
+
|
|
31
|
+
# Storybook 실행
|
|
32
|
+
pnpm storybook
|
|
33
|
+
|
|
34
|
+
# PandaCSS 코드 생성
|
|
35
|
+
pnpm panda
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## 빌드
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# 라이브러리 빌드
|
|
42
|
+
pnpm build
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## 의존성
|
|
46
|
+
|
|
47
|
+
- React 18.x
|
|
48
|
+
- @ark-ui/react
|
|
49
|
+
- @react-spring/web
|
|
50
|
+
- PandaCSS
|
|
51
|
+
- @nation-a/tokens
|
|
52
|
+
- @nation-a/icons
|
|
53
|
+
|
|
54
|
+
## 라이선스
|
|
55
|
+
|
|
56
|
+
MIT 라이선스
|