@olundot/ui 0.2.0 → 0.4.0
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/CHANGELOG.md +44 -1
- package/README.md +9 -1
- package/dist/index.d.ts +228 -125
- package/dist/index.js +1795 -1468
- package/dist/tailwind.preset.js +2 -0
- package/dist/tokens.css +59 -23
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# @olundot/ui
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Finalize the component catalog release sweep.
|
|
8
|
+
|
|
9
|
+
- Add shared surface role support across core UI primitives so examples can choose `surface`, `canvas`, or `raised` based on parent background hierarchy.
|
|
10
|
+
- Replace the Jbnu-specific emblem export with `OrganizationLogo` and document the organization registry pattern.
|
|
11
|
+
- Add Sheet/SheetDrawer motion defaults, duration controls, and operational catalog examples.
|
|
12
|
+
- Expose `action-hover`, `action-selected`, and `action-focus` Tailwind color aliases for token-safe hover and row interaction utilities.
|
|
13
|
+
- Harden the docs catalog with public export coverage, Korean user-facing examples, stale-copy guards, visual audit routing, and package smoke checks.
|
|
14
|
+
|
|
15
|
+
- e5d41a1: 소비 계약 하드닝: @theme breakpoint를 정적 px(600/900/1200/1536)로 emit해 `var(--bp-)` media query 무효 footgun 제거. `@olundot/ui/tokens.css`를 canonical app entry로 명문화하고 dist에 `"use client"` 배너를 추가해 Next.js server component에서 barrel import가 동작하도록 수정. consumer-smoke(pack→install→Turbopack build→CSS assert) + publint/arethetypeswrong 패키징 계약 게이트 추가, INTEGRATION/README 정본화.
|
|
16
|
+
- 03bfe31: Standardize the radio/checkbox family around `Radio`, `RadioGroup`, `Checkbox`, and `CheckboxGroup`.
|
|
17
|
+
|
|
18
|
+
Breaking changes in the pre-1.0 UI package:
|
|
19
|
+
|
|
20
|
+
- Remove `ChoiceGroup` and `RadioCardGroup` exports.
|
|
21
|
+
- Replace `RadioGroup options` and `RadioCardGroup options` usage with compound `RadioGroup` + `Radio` children.
|
|
22
|
+
- Add `CheckboxGroup` for multi-select values and use `Checkbox` children as the visible label.
|
|
23
|
+
|
|
24
|
+
Selection and checked markers now use `--accent-solid` + `--accent-on-solid`; `--success` is reserved for success, completion, and status semantics.
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- 14487a6: fix(Tabs): active 탭 badge의 border를 `--accent-fg`로 정합. badge 텍스트는 이미 active 시 accent-fg를 inherit했으나 border만 중립(`--border-subtle`)으로 남아 위화감이 있었다. single-hue-family doctrine(active 시 인접 visible token은 같은 hue family)에 맞춰 active 탭에 한해 border를 override한다. inactive badge는 중립 border 유지, filled wash는 여전히 금지(marker 종류는 trigger underline 하나).
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
- Updated dependencies [e5d41a1]
|
|
31
|
+
- Updated dependencies [b1e737e]
|
|
32
|
+
- Updated dependencies [03bfe31]
|
|
33
|
+
- @olundot/tokens@0.9.0
|
|
34
|
+
|
|
35
|
+
## 0.3.0
|
|
36
|
+
|
|
37
|
+
### Minor Changes
|
|
38
|
+
|
|
39
|
+
- 912ad93: Typography + density 토큰화 마이그레이션: `text-[13px]`→`text-body-sm`, `leading-[*]`→`leading-{tight,snug,normal,relaxed}`, 컨트롤 padding→`--pad-*` density 토큰. tailwind-merge에 custom font-size group 등록(text-body-\* 가 color utility와 충돌하던 footgun fix).
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [912ad93]
|
|
44
|
+
- @olundot/tokens@0.8.0
|
|
45
|
+
|
|
3
46
|
## 0.2.0
|
|
4
47
|
|
|
5
48
|
### Minor Changes
|
|
@@ -10,7 +53,7 @@
|
|
|
10
53
|
|
|
11
54
|
- `<Label>` primitive (Radix `react-label` 기반, `required` prop으로 `*` marker 자동, `formFieldLabelClassName` deprecated alias 1 cycle)
|
|
12
55
|
- `<Switch>` primitive (Radix `react-switch` 기반, `loading` state 포함 — spinner + aria-busy + 클릭 차단)
|
|
13
|
-
- `<RadioGroup>` 단순형 (Radix `react-radio-group`
|
|
56
|
+
- `<RadioGroup>` 단순형 (Radix `react-radio-group` 기반; 최신 API는 `<RadioGroup><Radio /></RadioGroup>` compound 모델)
|
|
14
57
|
|
|
15
58
|
**3 컴포넌트 API 확장 (additive — Input/Textarea/Select):**
|
|
16
59
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,15 @@ pnpm add @olundot/ui @olundot/tokens
|
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
```css
|
|
10
|
-
@
|
|
10
|
+
@layer theme, base, components, utilities;
|
|
11
|
+
@import "tailwindcss/theme.css" layer(theme);
|
|
12
|
+
@import "tailwindcss/preflight.css" layer(base);
|
|
13
|
+
@import "tailwindcss/utilities.css" layer(utilities);
|
|
14
|
+
|
|
15
|
+
/* 컴포넌트 utility 생성을 위해 ui dist 스캔 — 빠지면 컴포넌트가 무스타일.
|
|
16
|
+
경로는 프로젝트 node_modules 위치에 맞게 조정. */
|
|
17
|
+
@source "../node_modules/@olundot/ui/dist";
|
|
18
|
+
|
|
11
19
|
@import "@olundot/ui/tokens.css";
|
|
12
20
|
```
|
|
13
21
|
|