@t3q-ui/design-system 1.69.3 → 1.69.5

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/components/_internal/formControlTarget.cjs +34 -0
  3. package/dist/components/_internal/formControlTarget.cjs.map +1 -0
  4. package/dist/components/_internal/formControlTarget.js +34 -0
  5. package/dist/components/_internal/formControlTarget.js.map +1 -0
  6. package/dist/components/datePicker.cjs +148 -131
  7. package/dist/components/datePicker.cjs.map +1 -1
  8. package/dist/components/datePicker.js +148 -131
  9. package/dist/components/datePicker.js.map +1 -1
  10. package/dist/components/form.cjs +29 -8
  11. package/dist/components/form.cjs.map +1 -1
  12. package/dist/components/form.js +29 -8
  13. package/dist/components/form.js.map +1 -1
  14. package/dist/components/iconSelect/index.cjs +137 -135
  15. package/dist/components/iconSelect/index.cjs.map +1 -1
  16. package/dist/components/iconSelect/index.js +138 -136
  17. package/dist/components/iconSelect/index.js.map +1 -1
  18. package/dist/components/range/range.cjs +89 -64
  19. package/dist/components/range/range.cjs.map +1 -1
  20. package/dist/components/range/range.js +89 -64
  21. package/dist/components/range/range.js.map +1 -1
  22. package/dist/components/range/rangeSlider.cjs +35 -4
  23. package/dist/components/range/rangeSlider.cjs.map +1 -1
  24. package/dist/components/range/rangeSlider.js +35 -4
  25. package/dist/components/range/rangeSlider.js.map +1 -1
  26. package/dist/components/timePicker.cjs +15 -9
  27. package/dist/components/timePicker.cjs.map +1 -1
  28. package/dist/components/timePicker.js +15 -9
  29. package/dist/components/timePicker.js.map +1 -1
  30. package/dist/components/toast.cjs +12 -1
  31. package/dist/components/toast.cjs.map +1 -1
  32. package/dist/components/toast.js +12 -1
  33. package/dist/components/toast.js.map +1 -1
  34. package/dist/index.d.cts +81 -11
  35. package/dist/index.d.ts +81 -11
  36. package/mcp/manifests/components.json +406 -74
  37. package/package.json +2 -1
  38. package/skills/tds/reference/components.md +17 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t3q-ui/design-system",
3
- "version": "1.69.3",
3
+ "version": "1.69.5",
4
4
  "description": "T3Q Design System - React Components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -217,6 +217,7 @@
217
217
  "prettier": "^3.7.3",
218
218
  "react-hook-form": "^7.71.1",
219
219
  "semantic-release": "^25.0.3",
220
+ "sonner": "^2.0.8",
220
221
  "storybook": "^10.6.1",
221
222
  "tailwindcss": "^4.1.3",
222
223
  "tsup": "^8.3.5",
@@ -831,6 +831,10 @@ const GroupVertical = () => <VerticalExample />;
831
831
  | `classNames` | `{ button?: string; PopoverContent?: string; } \| undefined` | | 클래스 오버라이드. `button` = 트리거 틀(기본 폭 250px — 폼 칸을 채우려면 `'w-full'`), `PopoverContent` = 달력 팝오버 |
832
832
  | `label` | `string` | | Floating label 텍스트 |
833
833
  | `required` | `boolean` | | 라벨 필수 표시 (*) |
834
+ | `id` | `string` | | FormLabel 의 htmlFor 가 가리키는 id. FormControl 안에서는 FormControl 이 넣는다 |
835
+ | `aria-describedby` | `string` | | 도움말·오류 문구의 id. FormControl 안에서는 FormControl 이 넣는다 |
836
+ | `aria-invalid` | `boolean \| "true" \| "false" \| "grammar" \| "spelling"` | | 오류 여부. FormControl 안에서는 FormControl 이 넣는다 |
837
+ | `onBlur` | `FocusEventHandler<HTMLButtonElement>` | | 칸을 떠날 때 부른다(열린 목록·칸 안으로 옮기는 포커스는 떠난 것이 아니다). react-hook-form 의 `field.onBlur` 를 넘긴다 |
834
838
 
835
839
  예시 — story "Single — 기본 (제어)":
836
840
 
@@ -858,7 +862,7 @@ const Login = () => <LoginForm />;
858
862
 
859
863
  언제 쓰나: 사용자가 항목(카테고리·바로가기·위젯)에 표시할 아이콘을 직접 고를 때. 분류 목록은 `hasCategory`, 한 줄 아이콘 수는 `iconColumnCount`.
860
864
  언제 안 쓰나: 개발자가 화면에 아이콘을 넣을 때(→ LucideIcon 에 이름을 바로), 일반 값 고르기(→ Select).
861
- 대신/함께: 폼에서는 `FormField` + `FormControl` 안에 둔다.
865
+ 대신/함께: 폼에서는 `FormField` + `FormControl` 안에 둔다 — 라벨·오류는 검색 칸에 이어진다(ref 도 검색 칸).
862
866
 
863
867
  | prop | 타입 | 기본값 | 설명 |
864
868
  |---|---|---|---|
@@ -867,6 +871,10 @@ const Login = () => <LoginForm />;
867
871
  | `iconColumnCount` | `number` | `8` | 한 줄에 보여줄 아이콘 수 |
868
872
  | `hasCategory` | `boolean` | `false` | 왼쪽에 카테고리 목록 표시 |
869
873
  | `hiddenSearch` | `boolean` | `false` | 검색 입력 숨김 |
874
+ | `id` | `string` | | FormLabel 의 htmlFor 가 가리키는 id. FormControl 안에서는 FormControl 이 넣는다 |
875
+ | `aria-describedby` | `string` | | 도움말·오류 문구의 id. FormControl 안에서는 FormControl 이 넣는다 |
876
+ | `aria-invalid` | `boolean \| "true" \| "false" \| "grammar" \| "spelling"` | | 오류 여부. FormControl 안에서는 FormControl 이 넣는다 |
877
+ | `onBlur` | `FocusEventHandler<HTMLDivElement>` | | 칸을 떠날 때 부른다(열린 목록·칸 안으로 옮기는 포커스는 떠난 것이 아니다). react-hook-form 의 `field.onBlur` 를 넘긴다 |
870
878
 
871
879
  예시 — story "WithCategory — 카테고리 목록 표시":
872
880
 
@@ -984,6 +992,10 @@ const Standalone = () => <StandaloneExample />;
984
992
  | `aria-label` | `string` | | 슬라이더 thumb 과 숫자 입력의 접근 가능한 이름 (예: '학습률') |
985
993
  | `aria-labelledby` | `string` | | 외부 라벨 요소의 id. 지정 시 thumb 과 숫자 입력이 그 요소로 이름을 얻는다 |
986
994
  | `name` | `string` | | 숫자 입력의 name (폼 전송용) |
995
+ | `id` | `string` | | FormLabel 의 htmlFor 가 가리키는 id. FormControl 안에서는 FormControl 이 넣는다 |
996
+ | `aria-describedby` | `string` | | 도움말·오류 문구의 id. FormControl 안에서는 FormControl 이 넣는다 |
997
+ | `aria-invalid` | `boolean \| "true" \| "false" \| "grammar" \| "spelling"` | | 오류 여부. FormControl 안에서는 FormControl 이 넣는다 |
998
+ | `onBlur` | `FocusEventHandler<HTMLDivElement>` | | 칸을 떠날 때 부른다(열린 목록·칸 안으로 옮기는 포커스는 떠난 것이 아니다). react-hook-form 의 `field.onBlur` 를 넘긴다 |
987
999
 
988
1000
  예시 — story "Disabled":
989
1001
 
@@ -1151,6 +1163,10 @@ const Controlled = () => <ControlledExample />;
1151
1163
  | `required` | `boolean` | | 라벨 필수 표시 (*) |
1152
1164
  | `minuteStep` | `number` | `5` | 분 간격. |
1153
1165
  | `classNames` | `{ trigger?: string; popoverContent?: string; } \| undefined` | | 클래스 오버라이드. `trigger` = 트리거 틀(기본 폭 160px, 12시간 180px — 폼 칸을 채우려면 `'w-full'`), `popoverContent` = 시·분 팝오버 |
1166
+ | `id` | `string` | | FormLabel 의 htmlFor 가 가리키는 id. FormControl 안에서는 FormControl 이 넣는다 |
1167
+ | `aria-describedby` | `string` | | 도움말·오류 문구의 id. FormControl 안에서는 FormControl 이 넣는다 |
1168
+ | `aria-invalid` | `boolean \| "true" \| "false" \| "grammar" \| "spelling"` | | 오류 여부. FormControl 안에서는 FormControl 이 넣는다 |
1169
+ | `onBlur` | `FocusEventHandler<HTMLButtonElement>` | | 칸을 떠날 때 부른다(열린 목록·칸 안으로 옮기는 포커스는 떠난 것이 아니다). react-hook-form 의 `field.onBlur` 를 넘긴다 |
1154
1170
 
1155
1171
  예시 — story "24hrs (기본)":
1156
1172
 
@@ -1614,10 +1630,6 @@ const WithAnchor = () => <AnchorExample />;
1614
1630
  언제 안 쓰나: 화면에 남아 있어야 하는 안내·오류(→ Alert), 사용자의 확인이 필요한 것(→ AlertDialog), 폼 필드 오류(→ FormMessage).
1615
1631
  대신/함께: `ThemeProvider` 안에 두어야 다크 모드를 따라간다.
1616
1632
 
1617
- | prop | 타입 | 기본값 | 설명 |
1618
- |---|---|---|---|
1619
- | `loadingIcon` | `ReactNode` | | @deprecated Please use the `icons` prop instead: ```jsx <Toaster icons={{ loading: <LoadingIcon /> }} /> ``` |
1620
-
1621
1633
  예시 — story "Variants":
1622
1634
 
1623
1635
  ```tsx