@sonamu-kit/react-components 0.4.1 → 0.4.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.
@@ -1,4 +1,3 @@
1
- export type { DateRange } from 'react-day-picker';
2
1
  export { toast, useToast } from '../hooks/use-toast';
3
2
  export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './ui/accordion';
4
3
  export { Alert, AlertDescription, AlertTitle } from './ui/alert';
@@ -1,13 +1,19 @@
1
1
 
2
2
  /**
3
3
  * ⚠️ 이 타입은 sonamu/types.ts와 동기화되어야 함
4
+ *
5
+ * 프로젝트별 도메인 필드를 추가하려면 `SonamuFileExtend`를 확장합니다.
6
+ * (`declare module "@sonamu-kit/react-components"`)
4
7
  */
5
- export type SonamuFile = {
8
+ export interface SonamuFileExtend {
9
+ }
10
+ export type SonamuFileBase = {
6
11
  name: string;
7
12
  url: string;
8
13
  mime_type: string;
9
14
  size: number;
10
15
  };
16
+ export type SonamuFile = SonamuFileBase & SonamuFileExtend;
11
17
  export type Dictionary = Record<string, string | ((...args: any[]) => string)>;
12
18
  /**
13
19
  * SD 반환 타입 - 제네릭으로 키에 따라 정확한 타입 반환
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonamu-kit/react-components",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "license": "MIT",
5
5
  "author": "CartaNova <dev@cartanova.ai>",
6
6
  "repository": {