@jbpark/ui-kit 10.0.1 → 10.0.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.ko.md CHANGED
@@ -9,8 +9,8 @@ TypeScript와 Tailwind CSS를 기반으로 구축된 현대적이고 재사용
9
9
  - **패키지명**: `@jbpark/ui-kit`
10
10
  - **라이선스**: MIT
11
11
  - **패키지 매니저**: pnpm
12
- - **Node.js 요구사항**: >= 18
13
- - **React 요구사항**: ^18.0.0 || ^19.0.0
12
+ - **Node.js 요구사항**: >= 20
13
+ - **React 요구사항**: ^19.0.0
14
14
 
15
15
  ## 🏗 아키텍처
16
16
 
@@ -27,8 +27,10 @@ src/
27
27
  │ └── templates/ # 📄 템플릿 - 페이지 레이아웃
28
28
  ├── core/ # ⚙️ 핵심 UI 로직 (Base UI 기반)
29
29
  ├── lib/
30
- │ ├── enums/ # 📋 열거형 타입
31
- │ └── utils/ # 🛠 유틸리티 함수
30
+ │ ├── utils/ # 🛠 유틸리티 함수
31
+ │ ├── colors.ts # 🎨 색상 토큰 해석
32
+ │ └── z-layers.ts # 🪟 포털 공용 z-index 스케일
33
+ ├── providers/ # 🧩 Config 프로바이더 및 테마
32
34
  ├── globals.css # 🎨 전역 스타일
33
35
  └── index.ts # 📥 패키지 진입점
34
36
  ```
@@ -103,7 +105,7 @@ Base UI 기반의 접근성 우선 핵심 컴포넌트들:
103
105
  ### 유틸리티
104
106
 
105
107
  - **`cn()`** - 클래스명 병합 유틸리티 (clsx + tailwind-merge)
106
- - **`TEXT_LEVELS`** - 타이포그래피 레벨 상수
108
+ - **`renderConditional()`** - 조건부 렌더 헬퍼
107
109
 
108
110
  ## 🚀 설치 및 사용법
109
111
 
@@ -171,13 +173,12 @@ import Typography from '@jbpark/ui-kit/Typography';
171
173
  > 이펙트로 불러오기 때문에 Node/SSR 빌드(예: Astro static build)에서 순수
172
174
  > `.css` import를 처리 못 해 빌드가 깨질 수 있습니다.
173
175
 
174
- ### 유틸리티 및 열거형 import
176
+ ### 유틸리티 및 프로바이더 import
175
177
 
176
178
  ```tsx
177
179
  // 유틸리티 함수
178
- // 열거형 상수
179
- import { TEXT_LEVELS } from '@jbpark/ui-kit/enums';
180
- import { cn } from '@jbpark/ui-kit/utils';
180
+ import { Config } from '@jbpark/ui-kit/providers';
181
+ import { cn, renderConditional } from '@jbpark/ui-kit/utils';
181
182
  ```
182
183
 
183
184
  ### 스타일 import
@@ -210,28 +211,29 @@ import '@jbpark/ui-kit/style.css';
210
211
 
211
212
  ### 핵심 라이브러리
212
213
 
213
- - **React 19.1.0** - UI 라이브러리
214
- - **TypeScript 5.9.2** - 정적 타입 체크
215
- - **Tailwind CSS 4.1.12** - 유틸리티 CSS 프레임워크
214
+ - **React 19.2** - UI 라이브러리
215
+ - **TypeScript 6.0** - 정적 타입 체크
216
+ - **Tailwind CSS 4.3** - 유틸리티 CSS 프레임워크
216
217
 
217
218
  ### UI 라이브러리
218
219
 
219
- - **Base UI** - 접근성 우선 헤드리스 UI 컴포넌트
220
- - **Lucide React 0.542.0** - 아이콘 라이브러리
221
- - **Motion 12.23.12** - 애니메이션 라이브러리
222
- - **Swiper 11.2.10** - 터치 슬라이더
223
- - **Vaul 1.1.2** - 드로어 컴포넌트
220
+ - **Base UI 1.8** - 접근성 우선 헤드리스 UI 프리미티브
221
+ - **Lucide React 1.45** - 아이콘 라이브러리
222
+ - **Motion 13.1** - 애니메이션 라이브러리
223
+ - **Swiper 14.1** - 터치 슬라이더
224
+ - **TipTap 3.30** - RichTextEditor 엔진
225
+ - **react-day-picker 10.0** - DatePicker 캘린더
226
+ - **react-resizable-panels 4.12** - Splitter 패널
224
227
 
225
228
  ### 유틸리티
226
229
 
227
230
  - **class-variance-authority 0.7.1** - 컴포넌트 variants 관리
228
231
  - **clsx 2.1.1** - 조건부 클래스명
229
- - **tailwind-merge 3.3.1** - Tailwind 클래스 병합
230
- - **react-use 17.6.0** - React 훅 모음
231
- - **@uidotdev/usehooks 2.4.1** - 추가 React 훅
232
- - **uuid 11.1.0** - 고유 ID 생성
233
- - **@gsap/react 2.1.2** - GSAP 애니메이션
234
- - **tw-animate-css 1.3.7** - Tailwind 애니메이션
232
+ - **tailwind-merge 3.6** - Tailwind 클래스 병합
233
+ - **@jbpark/use-hooks 4.0** - React 훅 모음
234
+ - **date-fns 4.4** - 날짜 포매팅/파싱
235
+ - **react-colorful 5.8** - ColorPicker 입력
236
+ - **GSAP 3.15 / @gsap/react 2.1** - GSAP 애니메이션
235
237
 
236
238
  ## 🔧 개발
237
239
 
@@ -267,10 +269,16 @@ pnpm run generate:component
267
269
 
268
270
  - `@jbpark/ui-kit` - 메인 패키지 (모든 컴포넌트)
269
271
  - `@jbpark/ui-kit/Typography` - Typography 컴포넌트
272
+ - `@jbpark/ui-kit/Button` - Button 컴포넌트
273
+ - `@jbpark/ui-kit/Tag` - Tag 컴포넌트
274
+ - `@jbpark/ui-kit/Card` - Card 컴포넌트
275
+ - `@jbpark/ui-kit/Space` - Space 컴포넌트
270
276
  - `@jbpark/ui-kit/Menu` - Menu 컴포넌트
271
277
  - `@jbpark/ui-kit/Reveals` - Reveals 컴포넌트
272
- - `@jbpark/ui-kit/utils` - 유틸리티 함수 (`cn` 등)
273
- - `@jbpark/ui-kit/enums` - 열거형 상수 (`TEXT_LEVELS` 등)
278
+ - `@jbpark/ui-kit/CodeEditor` - CodeEditor 컴포넌트
279
+ - `@jbpark/ui-kit/Layout` - Layout 템플릿
280
+ - `@jbpark/ui-kit/utils` - 유틸리티 함수 (`cn`, `renderConditional`)
281
+ - `@jbpark/ui-kit/providers` - Config 프로바이더 및 테마
274
282
  - `@jbpark/ui-kit/style.css` - 전역 스타일 (필수)
275
283
 
276
284
  ## 🤝 기여하기
package/README.md CHANGED
@@ -9,8 +9,8 @@ A modern and reusable React UI component library built with TypeScript and Tailw
9
9
  - **Package Name**: `@jbpark/ui-kit`
10
10
  - **License**: MIT
11
11
  - **Package Manager**: pnpm
12
- - **Node.js Requirement**: >= 18
13
- - **React Requirement**: ^18.0.0 || ^19.0.0
12
+ - **Node.js Requirement**: >= 20
13
+ - **React Requirement**: ^19.0.0
14
14
 
15
15
  ## 🏗 Architecture
16
16
 
@@ -27,8 +27,10 @@ src/
27
27
  │ └── templates/ # 📄 Templates - Page layouts
28
28
  ├── core/ # ⚙️ Core UI logic (Base UI based)
29
29
  ├── lib/
30
- │ ├── enums/ # 📋 Enumeration types
31
- │ └── utils/ # 🛠 Utility functions
30
+ │ ├── utils/ # 🛠 Utility functions
31
+ │ ├── colors.ts # 🎨 Colour token resolution
32
+ │ └── z-layers.ts # 🪟 Shared portal z-index scale
33
+ ├── providers/ # 🧩 Config provider and theming
32
34
  ├── globals.css # 🎨 Global styles
33
35
  └── index.ts # 📥 Package entry point
34
36
  ```
@@ -103,7 +105,7 @@ Accessibility-first core components based on Base UI:
103
105
  ### Utilities
104
106
 
105
107
  - **`cn()`** - Class name merging utility (clsx + tailwind-merge)
106
- - **`TEXT_LEVELS`** - Typography level constants
108
+ - **`renderConditional()`** - Conditional render helper
107
109
 
108
110
  ## 🚀 Installation & Usage
109
111
 
@@ -171,13 +173,12 @@ import Typography from '@jbpark/ui-kit/Typography';
171
173
  > `swiper`'s CSS as a side effect and can break Node/SSR builds (e.g. an
172
174
  > Astro static build) that don't expect a bare `.css` import.
173
175
 
174
- ### Import Utilities and Enums
176
+ ### Import Utilities and Providers
175
177
 
176
178
  ```tsx
177
179
  // Utility functions
178
- // Enumeration constants
179
- import { TEXT_LEVELS } from '@jbpark/ui-kit/enums';
180
- import { cn } from '@jbpark/ui-kit/utils';
180
+ import { Config } from '@jbpark/ui-kit/providers';
181
+ import { cn, renderConditional } from '@jbpark/ui-kit/utils';
181
182
  ```
182
183
 
183
184
  ### Import Styles
@@ -210,28 +211,29 @@ import '@jbpark/ui-kit/style.css';
210
211
 
211
212
  ### Core Libraries
212
213
 
213
- - **React 19.1.0** - UI library
214
- - **TypeScript 5.9.2** - Static type checking
215
- - **Tailwind CSS 4.1.12** - Utility-first CSS framework
214
+ - **React 19.2** - UI library
215
+ - **TypeScript 6.0** - Static type checking
216
+ - **Tailwind CSS 4.3** - Utility-first CSS framework
216
217
 
217
218
  ### UI Libraries
218
219
 
219
- - **Base UI** - Accessible headless UI components
220
- - **Lucide React 0.542.0** - Icon library
221
- - **Motion 12.23.12** - Animation library
222
- - **Swiper 11.2.10** - Touch slider
223
- - **Vaul 1.1.2** - Drawer component
220
+ - **Base UI 1.8** - Accessible headless UI primitives
221
+ - **Lucide React 1.45** - Icon library
222
+ - **Motion 13.1** - Animation library
223
+ - **Swiper 14.1** - Touch slider
224
+ - **TipTap 3.30** - RichTextEditor engine
225
+ - **react-day-picker 10.0** - DatePicker calendar
226
+ - **react-resizable-panels 4.12** - Splitter panels
224
227
 
225
228
  ### Utilities
226
229
 
227
230
  - **class-variance-authority 0.7.1** - Component variants management
228
231
  - **clsx 2.1.1** - Conditional class names
229
- - **tailwind-merge 3.3.1** - Tailwind class merging
230
- - **react-use 17.6.0** - React hooks collection
231
- - **@uidotdev/usehooks 2.4.1** - Additional React hooks
232
- - **uuid 11.1.0** - Unique ID generation
233
- - **@gsap/react 2.1.2** - GSAP animation
234
- - **tw-animate-css 1.3.7** - Tailwind animations
232
+ - **tailwind-merge 3.6** - Tailwind class merging
233
+ - **@jbpark/use-hooks 4.0** - React hooks collection
234
+ - **date-fns 4.4** - Date formatting and parsing
235
+ - **react-colorful 5.8** - ColorPicker input
236
+ - **GSAP 3.15 / @gsap/react 2.1** - GSAP animation
235
237
 
236
238
  ## 🔧 Development
237
239
 
@@ -267,10 +269,16 @@ This package exports the following modules:
267
269
 
268
270
  - `@jbpark/ui-kit` - Main package (all components)
269
271
  - `@jbpark/ui-kit/Typography` - Typography component
272
+ - `@jbpark/ui-kit/Button` - Button component
273
+ - `@jbpark/ui-kit/Tag` - Tag component
274
+ - `@jbpark/ui-kit/Card` - Card component
275
+ - `@jbpark/ui-kit/Space` - Space component
270
276
  - `@jbpark/ui-kit/Menu` - Menu component
271
277
  - `@jbpark/ui-kit/Reveals` - Reveals component
272
- - `@jbpark/ui-kit/utils` - Utility functions (`cn` etc)
273
- - `@jbpark/ui-kit/enums` - Enumeration constants (`TEXT_LEVELS` etc)
278
+ - `@jbpark/ui-kit/CodeEditor` - CodeEditor component
279
+ - `@jbpark/ui-kit/Layout` - Layout template
280
+ - `@jbpark/ui-kit/utils` - Utility functions (`cn`, `renderConditional`)
281
+ - `@jbpark/ui-kit/providers` - Config provider and theming
274
282
  - `@jbpark/ui-kit/style.css` - Global styles (required)
275
283
 
276
284
  ## 🤝 Contributing
@@ -2,7 +2,7 @@ import { useRender } from "@base-ui/react/use-render";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  //#region src/core/badge.d.ts
4
4
  declare const badgeVariants: (props?: ({
5
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
+ variant?: "link" | "outline" | "default" | "secondary" | "destructive" | "ghost" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  type Props = Omit<useRender.ComponentProps<'span'>, 'className'> & VariantProps<typeof badgeVariants> & {
8
8
  className?: string;
@@ -3,8 +3,8 @@ import { VariantProps } from "class-variance-authority";
3
3
  import { Button } from "@base-ui/react/button";
4
4
  //#region src/core/button.d.ts
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
7
- size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
+ variant?: "link" | "outline" | "default" | "secondary" | "destructive" | "ghost" | null | undefined;
7
+ size?: "default" | "icon" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type Props = Omit<React$1.ComponentProps<typeof Button>, 'className'> & VariantProps<typeof buttonVariants> & {
10
10
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbpark/ui-kit",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "description": "Modern React UI component library built with TypeScript, Tailwind CSS, and Base UI. Featuring atoms, molecules, organisms and layout templates for building beautiful interfaces.",
5
5
  "keywords": [
6
6
  "react",