@pantoia/ui 0.7.1 → 0.8.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.
@@ -49,7 +49,7 @@ import { Field, FieldLabel, FieldHelp } from '@/components/ui/field'
49
49
  ```
50
50
 
51
51
  import 경로는 저장 위치와 프로젝트의 경로 별칭을 따른다. 위는 저장 위치가 `components/ui`이고 별칭이 `@/`인 예다.
52
- `@pantoia/ui/<이름>`에서 컴포넌트를 import하지 않는다. Tailwind가 `node_modules`를 검사하지 않아서 스타일이 빠진다.
52
+ 패키지는 컴포넌트와 `tv`를 export하지 않는다. `add`로 복사한 파일만 import한다.
53
53
 
54
54
  제어 속성은 Base UI 규약을 따른다. `value`와 `defaultValue`, `onValueChange`를 짝으로 쓴다.
55
55
  고르지 않은 상태는 `null`이다. Select, RadioGroup, Combobox, NumberField가 같다.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pantoia/ui",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "Pantoia Design System",
5
5
  "homepage": "https://design.pantoia.com",
6
6
  "repository": {
@@ -25,13 +25,11 @@
25
25
  "registry.json"
26
26
  ],
27
27
  "exports": {
28
- "./tv": "./tv.ts",
29
28
  "./tailwind.css": "./tailwind.css",
30
29
  "./palette.css": "./palette.css",
31
30
  "./tokens.css": "./tokens.css",
32
31
  "./utilities.css": "./utilities.css",
33
- "./registry.json": "./registry.json",
34
- "./*": "./*/index.tsx"
32
+ "./registry.json": "./registry.json"
35
33
  },
36
34
  "sideEffects": [
37
35
  "*.css"