@pantoia/ui 0.3.0 → 0.5.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/README.md +46 -0
- package/accordion/index.module.css +4 -4
- package/accordion/index.tsx +21 -51
- package/alert-dialog/index.tsx +36 -42
- package/badge/index.tsx +1 -1
- package/button/index.tsx +31 -30
- package/callout/index.tsx +4 -4
- package/checkbox/index.tsx +20 -85
- package/combobox/index.tsx +122 -316
- package/command-palette/index.tsx +51 -32
- package/dialog/index.tsx +28 -24
- package/dist/index.js +5 -5
- package/drawer/index.module.css +2 -2
- package/drawer/index.tsx +52 -130
- package/dropdown-menu/index.tsx +87 -95
- package/field/index.tsx +27 -86
- package/input/index.tsx +7 -3
- package/kbd/index.tsx +2 -2
- package/label/index.tsx +6 -8
- package/number-field/index.tsx +122 -173
- package/package.json +19 -11
- package/popover/index.tsx +61 -32
- package/radio-group/index.tsx +35 -38
- package/registry.json +64 -154
- package/select/index.tsx +141 -70
- package/switch/index.tsx +13 -6
- package/table/index.tsx +1 -2
- package/tabs/index.module.css +3 -3
- package/tabs/index.tsx +22 -76
- package/textarea/index.tsx +19 -7
- package/toast/index.module.css +187 -0
- package/toast/index.tsx +141 -46
- package/toggle/index.tsx +4 -3
- package/tokens.css +7 -1
- package/tooltip/index.tsx +61 -30
- package/utilities.css +11 -6
- package/accordion/AGENTS.md +0 -60
- package/alert-dialog/AGENTS.md +0 -78
- package/badge/AGENTS.md +0 -35
- package/button/AGENTS.md +0 -39
- package/callout/AGENTS.md +0 -37
- package/checkbox/AGENTS.md +0 -54
- package/combobox/AGENTS.md +0 -150
- package/command-palette/AGENTS.md +0 -41
- package/dialog/AGENTS.md +0 -81
- package/drawer/AGENTS.md +0 -66
- package/dropdown-menu/AGENTS.md +0 -133
- package/field/AGENTS.md +0 -92
- package/input/AGENTS.md +0 -35
- package/kbd/AGENTS.md +0 -17
- package/label/AGENTS.md +0 -21
- package/number-field/AGENTS.md +0 -49
- package/popover/AGENTS.md +0 -64
- package/radio-group/AGENTS.md +0 -81
- package/select/AGENTS.md +0 -90
- package/switch/AGENTS.md +0 -37
- package/table/AGENTS.md +0 -82
- package/tabs/AGENTS.md +0 -61
- package/test-utils.ts +0 -10
- package/textarea/AGENTS.md +0 -35
- package/toast/AGENTS.md +0 -34
- package/toggle/AGENTS.md +0 -37
- package/tooltip/AGENTS.md +0 -50
package/toggle/AGENTS.md
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# Toggle
|
|
2
|
-
|
|
3
|
-
```
|
|
4
|
-
받기 npx @pantoia/ui add toggle
|
|
5
|
-
층 ui
|
|
6
|
-
파일 toggle/index.tsx, toggle/AGENTS.md
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## 부위
|
|
10
|
-
|
|
11
|
-
| 이름 | props |
|
|
12
|
-
|---|---|
|
|
13
|
-
| `Toggle` | `ToggleProps` |
|
|
14
|
-
|
|
15
|
-
## props
|
|
16
|
-
|
|
17
|
-
### `ToggleProps`
|
|
18
|
-
|
|
19
|
-
`ComponentProps<typeof TogglePrimitive.Root>` 를 확장한다.
|
|
20
|
-
|
|
21
|
-
| 이름 | 타입 | 필수 |
|
|
22
|
-
|---|---|---|
|
|
23
|
-
| `surface` | `'bare' \| 'well' \| 'panel'` | |
|
|
24
|
-
|
|
25
|
-
## 변형 - `toggle`
|
|
26
|
-
|
|
27
|
-
| 축 | 값 | 기본 |
|
|
28
|
-
|---|---|---|
|
|
29
|
-
| `surface` | `bare`, `well`, `panel` | `bare` |
|
|
30
|
-
|
|
31
|
-
## 함께 받는 것
|
|
32
|
-
|
|
33
|
-
`tv`
|
|
34
|
-
|
|
35
|
-
## npm 의존
|
|
36
|
-
|
|
37
|
-
`radix-ui`
|
package/tooltip/AGENTS.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Tooltip
|
|
2
|
-
|
|
3
|
-
```
|
|
4
|
-
받기 npx @pantoia/ui add tooltip
|
|
5
|
-
층 ui
|
|
6
|
-
파일 tooltip/index.tsx, tooltip/AGENTS.md
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## 부위
|
|
10
|
-
|
|
11
|
-
| 이름 | props |
|
|
12
|
-
|---|---|
|
|
13
|
-
| `Tooltip` | `TooltipProps` |
|
|
14
|
-
| `TooltipTrigger` | - |
|
|
15
|
-
| `TooltipContent` | `TooltipContentProps` |
|
|
16
|
-
|
|
17
|
-
### `TooltipTrigger`
|
|
18
|
-
|
|
19
|
-
| 이름 | 타입 | 필수 |
|
|
20
|
-
|---|---|---|
|
|
21
|
-
| `children` | `ReactNode` | 예 |
|
|
22
|
-
|
|
23
|
-
## props
|
|
24
|
-
|
|
25
|
-
### `TooltipProps`
|
|
26
|
-
|
|
27
|
-
| 이름 | 타입 | 필수 |
|
|
28
|
-
|---|---|---|
|
|
29
|
-
| `open` | `boolean` | |
|
|
30
|
-
| `defaultOpen` | `boolean` | |
|
|
31
|
-
| `onOpenChange` | `(open: boolean) => void` | |
|
|
32
|
-
| `delay` | `number` | |
|
|
33
|
-
| `children` | `ReactNode` | |
|
|
34
|
-
|
|
35
|
-
### `TooltipContentProps`
|
|
36
|
-
|
|
37
|
-
`Omit<ComponentProps<typeof TooltipPrimitive.Content>, 'side'>` 를 확장한다.
|
|
38
|
-
|
|
39
|
-
| 이름 | 타입 | 필수 |
|
|
40
|
-
|---|---|---|
|
|
41
|
-
| `side` | `'top' \| 'right' \| 'bottom' \| 'left'` | |
|
|
42
|
-
| `arrow` | `boolean` | |
|
|
43
|
-
|
|
44
|
-
## 함께 받는 것
|
|
45
|
-
|
|
46
|
-
`tv`
|
|
47
|
-
|
|
48
|
-
## npm 의존
|
|
49
|
-
|
|
50
|
-
`radix-ui`
|