@t3q-ui/design-system 1.69.4 → 1.69.6

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ <!-- release: v1.69.6 -->
4
+ ## 1.69.6 (2026-11-23)
5
+
6
+ <!-- release: v1.69.5 -->
7
+ ## 1.69.5 (2026-11-23)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **Toast:** :wheelchair: 닫기 버튼과 알림 영역의 이름을 한국어로 (sonner 2) (8a96332)
13
+
3
14
  <!-- release: v1.69.4 -->
4
15
  ## 1.69.4 (2026-11-23)
5
16
 
@@ -49,7 +49,18 @@ const icons = {
49
49
  };
50
50
  const Toaster = React.forwardRef((props, ref) => {
51
51
  const theme = themeProvider.useOptionalTheme()?.resolvedTheme;
52
- return /* @__PURE__ */ jsxRuntime.jsx(sonner.Toaster, { ref, theme, ...props });
52
+ const toastOptions = { closeButtonAriaLabel: "알림 닫기", ...props.toastOptions };
53
+ return /* @__PURE__ */ jsxRuntime.jsx(
54
+ sonner.Toaster,
55
+ {
56
+ ref,
57
+ theme,
58
+ containerAriaLabel: "알림",
59
+ offset: "32px",
60
+ ...props,
61
+ toastOptions
62
+ }
63
+ );
53
64
  });
54
65
  Toaster.displayName = "Toaster";
55
66
  exports.Toaster = Toaster;
@@ -1 +1 @@
1
- {"version":3,"file":"toast.cjs","sources":["../../src/components/toast.tsx"],"sourcesContent":["'use client'\n// sonner 공식 문서 : https://sonner.emilkowal.ski/\nimport React from 'react'\nimport { CircleCheck, CircleX, Info, TriangleAlert } from 'lucide-react'\nimport { ExternalToast, toast as sonnerToast, Toaster as SonnerToaster } from 'sonner'\n\nimport { useOptionalTheme } from './themeProvider'\n\n// sonner 기본 toast 사용\n\ntype ToastVariant = 'info' | 'success' | 'error' | 'warning'\n\ninterface ToastProps {\n id: string | number\n title: string\n description?: string | null\n variant?: ToastVariant\n toastOptions?: ExternalToast\n}\n\nfunction toast({ toastOptions, variant = 'info', ...toastData }: Omit<ToastProps, 'id'>) {\n const options = {\n position: 'top-right' as const,\n closeButton: true,\n duration: 10000,\n icon: variant ? icons[variant as keyof typeof icons] : undefined,\n richColors: true,\n classNames: {\n icon: 'self-start !w-[24px] !h-[24px]',\n },\n ...toastOptions,\n }\n\n // variant에 따라 적절한 sonner 메서드 사용\n switch (variant) {\n case 'success':\n return sonnerToast.success(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'error':\n return sonnerToast.error(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'warning':\n return sonnerToast.warning(toastData.title, {\n description: toastData.description,\n ...options,\n })\n default:\n return sonnerToast.info(toastData.title, {\n description: toastData.description,\n ...options,\n })\n }\n}\n\nconst icons = {\n success: <CircleCheck className='text-success30' />,\n info: <Info className='text-primary30' />,\n warning: <TriangleAlert className='text-critical30' />,\n error: <CircleX className='text-danger30' />,\n}\n\n/**\n * 화면 모서리에 잠깐 떴다 사라지는 알림(sonner). 앱 루트에 한 번 두고 `toast()` 로 띄운다.\n *\n * 언제 쓰나: 저장·삭제 완료, 서버 오류처럼 지나가도 되는 결과 알림. 성공은 짧게, 오류는 원인 한 줄.\n * 언제 안 쓰나: 화면에 남아 있어야 하는 안내·오류(→ Alert), 사용자의 확인이 필요한 것(→ AlertDialog), 폼 필드 오류(→ FormMessage).\n * 대신/함께: `ThemeProvider` 안에 두어야 다크 모드를 따라간다.\n */\nconst Toaster = React.forwardRef<\n React.ElementRef<typeof SonnerToaster>,\n React.ComponentPropsWithoutRef<typeof SonnerToaster>\n>((props, ref) => {\n const theme = useOptionalTheme()?.resolvedTheme\n return <SonnerToaster ref={ref} theme={theme} {...props} />\n})\nToaster.displayName = 'Toaster'\n\nexport { toast, Toaster }\n"],"names":["sonnerToast","jsx","CircleCheck","Info","TriangleAlert","CircleX","useOptionalTheme","SonnerToaster"],"mappings":";;;;;;;;AAoBA,SAAS,MAAM,EAAE,cAAc,UAAU,QAAQ,GAAG,aAAqC;AACvF,QAAM,UAAU;AAAA,IACd,UAAU;AAAA,IACV,aAAa;AAAA,IACb,UAAU;AAAA,IACV,MAAM,UAAU,MAAM,OAA6B,IAAI;AAAA,IACvD,YAAY;AAAA,IACZ,YAAY;AAAA,MACV,MAAM;AAAA,IAAA;AAAA,IAER,GAAG;AAAA,EAAA;AAIL,UAAQ,SAAA;AAAA,IACN,KAAK;AACH,aAAOA,aAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,aAAY,MAAM,UAAU,OAAO;AAAA,QACxC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,aAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH;AACE,aAAOA,aAAY,KAAK,UAAU,OAAO;AAAA,QACvC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,EAAA;AAEP;AAEA,MAAM,QAAQ;AAAA,EACZ,SAASC,2BAAAA,IAACC,OAAAA,aAAA,EAAY,WAAU,iBAAA,CAAiB;AAAA,EACjD,MAAMD,2BAAAA,IAACE,OAAAA,MAAA,EAAK,WAAU,iBAAA,CAAiB;AAAA,EACvC,SAASF,2BAAAA,IAACG,OAAAA,eAAA,EAAc,WAAU,kBAAA,CAAkB;AAAA,EACpD,OAAOH,2BAAAA,IAACI,OAAAA,SAAA,EAAQ,WAAU,gBAAA,CAAgB;AAC5C;AASA,MAAM,UAAU,MAAM,WAGpB,CAAC,OAAO,QAAQ;AAChB,QAAM,QAAQC,cAAAA,oBAAoB;AAClC,SAAOL,2BAAAA,IAACM,OAAAA,SAAA,EAAc,KAAU,OAAe,GAAG,OAAO;AAC3D,CAAC;AACD,QAAQ,cAAc;;;"}
1
+ {"version":3,"file":"toast.cjs","sources":["../../src/components/toast.tsx"],"sourcesContent":["'use client'\n// sonner 공식 문서 : https://sonner.emilkowal.ski/\nimport React from 'react'\nimport { CircleCheck, CircleX, Info, TriangleAlert } from 'lucide-react'\nimport { ExternalToast, toast as sonnerToast, Toaster as SonnerToaster } from 'sonner'\n\nimport { useOptionalTheme } from './themeProvider'\n\n// sonner 기본 toast 사용\n\ntype ToastVariant = 'info' | 'success' | 'error' | 'warning'\n\ninterface ToastProps {\n id: string | number\n title: string\n description?: string | null\n variant?: ToastVariant\n toastOptions?: ExternalToast\n}\n\nfunction toast({ toastOptions, variant = 'info', ...toastData }: Omit<ToastProps, 'id'>) {\n const options = {\n position: 'top-right' as const,\n closeButton: true,\n duration: 10000,\n icon: variant ? icons[variant as keyof typeof icons] : undefined,\n richColors: true,\n classNames: {\n icon: 'self-start !w-[24px] !h-[24px]',\n },\n ...toastOptions,\n }\n\n // variant에 따라 적절한 sonner 메서드 사용\n switch (variant) {\n case 'success':\n return sonnerToast.success(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'error':\n return sonnerToast.error(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'warning':\n return sonnerToast.warning(toastData.title, {\n description: toastData.description,\n ...options,\n })\n default:\n return sonnerToast.info(toastData.title, {\n description: toastData.description,\n ...options,\n })\n }\n}\n\nconst icons = {\n success: <CircleCheck className='text-success30' />,\n info: <Info className='text-primary30' />,\n warning: <TriangleAlert className='text-critical30' />,\n error: <CircleX className='text-danger30' />,\n}\n\n/**\n * 화면 모서리에 잠깐 떴다 사라지는 알림(sonner). 앱 루트에 한 번 두고 `toast()` 로 띄운다.\n *\n * 언제 쓰나: 저장·삭제 완료, 서버 오류처럼 지나가도 되는 결과 알림. 성공은 짧게, 오류는 원인 한 줄.\n * 언제 안 쓰나: 화면에 남아 있어야 하는 안내·오류(→ Alert), 사용자의 확인이 필요한 것(→ AlertDialog), 폼 필드 오류(→ FormMessage).\n * 대신/함께: `ThemeProvider` 안에 두어야 다크 모드를 따라간다.\n */\nconst Toaster = React.forwardRef<\n React.ElementRef<typeof SonnerToaster>,\n React.ComponentPropsWithoutRef<typeof SonnerToaster>\n>((props, ref) => {\n const theme = useOptionalTheme()?.resolvedTheme\n // sonner 기본 이름 \"Notifications\"·\"Close toast\" 를 한국어로. 소비 앱이 넘긴 값이 이긴다.\n // 닫기 이름은 sonner 2 부터 먹는다(peer 가 허용하는 1.7 은 무시하고 \"Close toast\" 로 읽는다)\n const toastOptions = { closeButtonAriaLabel: '알림 닫기', ...props.toastOptions }\n return (\n <SonnerToaster\n ref={ref}\n theme={theme}\n containerAriaLabel='알림'\n // 화면 가장자리와의 간격 — sonner 2 의 기본값은 24px 이다. 1.7 때의 32px 를 지킨다(2026-11-23 오너 결정 28B)\n offset='32px'\n {...props}\n toastOptions={toastOptions}\n />\n )\n})\nToaster.displayName = 'Toaster'\n\nexport { toast, Toaster }\n"],"names":["sonnerToast","jsx","CircleCheck","Info","TriangleAlert","CircleX","useOptionalTheme","SonnerToaster"],"mappings":";;;;;;;;AAoBA,SAAS,MAAM,EAAE,cAAc,UAAU,QAAQ,GAAG,aAAqC;AACvF,QAAM,UAAU;AAAA,IACd,UAAU;AAAA,IACV,aAAa;AAAA,IACb,UAAU;AAAA,IACV,MAAM,UAAU,MAAM,OAA6B,IAAI;AAAA,IACvD,YAAY;AAAA,IACZ,YAAY;AAAA,MACV,MAAM;AAAA,IAAA;AAAA,IAER,GAAG;AAAA,EAAA;AAIL,UAAQ,SAAA;AAAA,IACN,KAAK;AACH,aAAOA,aAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,aAAY,MAAM,UAAU,OAAO;AAAA,QACxC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,aAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH;AACE,aAAOA,aAAY,KAAK,UAAU,OAAO;AAAA,QACvC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,EAAA;AAEP;AAEA,MAAM,QAAQ;AAAA,EACZ,SAASC,2BAAAA,IAACC,OAAAA,aAAA,EAAY,WAAU,iBAAA,CAAiB;AAAA,EACjD,MAAMD,2BAAAA,IAACE,OAAAA,MAAA,EAAK,WAAU,iBAAA,CAAiB;AAAA,EACvC,SAASF,2BAAAA,IAACG,OAAAA,eAAA,EAAc,WAAU,kBAAA,CAAkB;AAAA,EACpD,OAAOH,2BAAAA,IAACI,OAAAA,SAAA,EAAQ,WAAU,gBAAA,CAAgB;AAC5C;AASA,MAAM,UAAU,MAAM,WAGpB,CAAC,OAAO,QAAQ;AAChB,QAAM,QAAQC,cAAAA,oBAAoB;AAGlC,QAAM,eAAe,EAAE,sBAAsB,SAAS,GAAG,MAAM,aAAA;AAC/D,SACEL,2BAAAA;AAAAA,IAACM,OAAAA;AAAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,oBAAmB;AAAA,MAEnB,QAAO;AAAA,MACN,GAAG;AAAA,MACJ;AAAA,IAAA;AAAA,EAAA;AAGN,CAAC;AACD,QAAQ,cAAc;;;"}
@@ -47,7 +47,18 @@ const icons = {
47
47
  };
48
48
  const Toaster = React__default.forwardRef((props, ref) => {
49
49
  const theme = useOptionalTheme()?.resolvedTheme;
50
- return /* @__PURE__ */ jsx(Toaster$1, { ref, theme, ...props });
50
+ const toastOptions = { closeButtonAriaLabel: "알림 닫기", ...props.toastOptions };
51
+ return /* @__PURE__ */ jsx(
52
+ Toaster$1,
53
+ {
54
+ ref,
55
+ theme,
56
+ containerAriaLabel: "알림",
57
+ offset: "32px",
58
+ ...props,
59
+ toastOptions
60
+ }
61
+ );
51
62
  });
52
63
  Toaster.displayName = "Toaster";
53
64
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"toast.js","sources":["../../src/components/toast.tsx"],"sourcesContent":["'use client'\n// sonner 공식 문서 : https://sonner.emilkowal.ski/\nimport React from 'react'\nimport { CircleCheck, CircleX, Info, TriangleAlert } from 'lucide-react'\nimport { ExternalToast, toast as sonnerToast, Toaster as SonnerToaster } from 'sonner'\n\nimport { useOptionalTheme } from './themeProvider'\n\n// sonner 기본 toast 사용\n\ntype ToastVariant = 'info' | 'success' | 'error' | 'warning'\n\ninterface ToastProps {\n id: string | number\n title: string\n description?: string | null\n variant?: ToastVariant\n toastOptions?: ExternalToast\n}\n\nfunction toast({ toastOptions, variant = 'info', ...toastData }: Omit<ToastProps, 'id'>) {\n const options = {\n position: 'top-right' as const,\n closeButton: true,\n duration: 10000,\n icon: variant ? icons[variant as keyof typeof icons] : undefined,\n richColors: true,\n classNames: {\n icon: 'self-start !w-[24px] !h-[24px]',\n },\n ...toastOptions,\n }\n\n // variant에 따라 적절한 sonner 메서드 사용\n switch (variant) {\n case 'success':\n return sonnerToast.success(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'error':\n return sonnerToast.error(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'warning':\n return sonnerToast.warning(toastData.title, {\n description: toastData.description,\n ...options,\n })\n default:\n return sonnerToast.info(toastData.title, {\n description: toastData.description,\n ...options,\n })\n }\n}\n\nconst icons = {\n success: <CircleCheck className='text-success30' />,\n info: <Info className='text-primary30' />,\n warning: <TriangleAlert className='text-critical30' />,\n error: <CircleX className='text-danger30' />,\n}\n\n/**\n * 화면 모서리에 잠깐 떴다 사라지는 알림(sonner). 앱 루트에 한 번 두고 `toast()` 로 띄운다.\n *\n * 언제 쓰나: 저장·삭제 완료, 서버 오류처럼 지나가도 되는 결과 알림. 성공은 짧게, 오류는 원인 한 줄.\n * 언제 안 쓰나: 화면에 남아 있어야 하는 안내·오류(→ Alert), 사용자의 확인이 필요한 것(→ AlertDialog), 폼 필드 오류(→ FormMessage).\n * 대신/함께: `ThemeProvider` 안에 두어야 다크 모드를 따라간다.\n */\nconst Toaster = React.forwardRef<\n React.ElementRef<typeof SonnerToaster>,\n React.ComponentPropsWithoutRef<typeof SonnerToaster>\n>((props, ref) => {\n const theme = useOptionalTheme()?.resolvedTheme\n return <SonnerToaster ref={ref} theme={theme} {...props} />\n})\nToaster.displayName = 'Toaster'\n\nexport { toast, Toaster }\n"],"names":["sonnerToast","React","SonnerToaster"],"mappings":";;;;;;AAoBA,SAAS,MAAM,EAAE,cAAc,UAAU,QAAQ,GAAG,aAAqC;AACvF,QAAM,UAAU;AAAA,IACd,UAAU;AAAA,IACV,aAAa;AAAA,IACb,UAAU;AAAA,IACV,MAAM,UAAU,MAAM,OAA6B,IAAI;AAAA,IACvD,YAAY;AAAA,IACZ,YAAY;AAAA,MACV,MAAM;AAAA,IAAA;AAAA,IAER,GAAG;AAAA,EAAA;AAIL,UAAQ,SAAA;AAAA,IACN,KAAK;AACH,aAAOA,QAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,QAAY,MAAM,UAAU,OAAO;AAAA,QACxC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,QAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH;AACE,aAAOA,QAAY,KAAK,UAAU,OAAO;AAAA,QACvC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,EAAA;AAEP;AAEA,MAAM,QAAQ;AAAA,EACZ,SAAS,oBAAC,aAAA,EAAY,WAAU,iBAAA,CAAiB;AAAA,EACjD,MAAM,oBAAC,MAAA,EAAK,WAAU,iBAAA,CAAiB;AAAA,EACvC,SAAS,oBAAC,eAAA,EAAc,WAAU,kBAAA,CAAkB;AAAA,EACpD,OAAO,oBAAC,SAAA,EAAQ,WAAU,gBAAA,CAAgB;AAC5C;AASA,MAAM,UAAUC,eAAM,WAGpB,CAAC,OAAO,QAAQ;AAChB,QAAM,QAAQ,oBAAoB;AAClC,SAAO,oBAACC,WAAA,EAAc,KAAU,OAAe,GAAG,OAAO;AAC3D,CAAC;AACD,QAAQ,cAAc;"}
1
+ {"version":3,"file":"toast.js","sources":["../../src/components/toast.tsx"],"sourcesContent":["'use client'\n// sonner 공식 문서 : https://sonner.emilkowal.ski/\nimport React from 'react'\nimport { CircleCheck, CircleX, Info, TriangleAlert } from 'lucide-react'\nimport { ExternalToast, toast as sonnerToast, Toaster as SonnerToaster } from 'sonner'\n\nimport { useOptionalTheme } from './themeProvider'\n\n// sonner 기본 toast 사용\n\ntype ToastVariant = 'info' | 'success' | 'error' | 'warning'\n\ninterface ToastProps {\n id: string | number\n title: string\n description?: string | null\n variant?: ToastVariant\n toastOptions?: ExternalToast\n}\n\nfunction toast({ toastOptions, variant = 'info', ...toastData }: Omit<ToastProps, 'id'>) {\n const options = {\n position: 'top-right' as const,\n closeButton: true,\n duration: 10000,\n icon: variant ? icons[variant as keyof typeof icons] : undefined,\n richColors: true,\n classNames: {\n icon: 'self-start !w-[24px] !h-[24px]',\n },\n ...toastOptions,\n }\n\n // variant에 따라 적절한 sonner 메서드 사용\n switch (variant) {\n case 'success':\n return sonnerToast.success(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'error':\n return sonnerToast.error(toastData.title, {\n description: toastData.description,\n ...options,\n })\n case 'warning':\n return sonnerToast.warning(toastData.title, {\n description: toastData.description,\n ...options,\n })\n default:\n return sonnerToast.info(toastData.title, {\n description: toastData.description,\n ...options,\n })\n }\n}\n\nconst icons = {\n success: <CircleCheck className='text-success30' />,\n info: <Info className='text-primary30' />,\n warning: <TriangleAlert className='text-critical30' />,\n error: <CircleX className='text-danger30' />,\n}\n\n/**\n * 화면 모서리에 잠깐 떴다 사라지는 알림(sonner). 앱 루트에 한 번 두고 `toast()` 로 띄운다.\n *\n * 언제 쓰나: 저장·삭제 완료, 서버 오류처럼 지나가도 되는 결과 알림. 성공은 짧게, 오류는 원인 한 줄.\n * 언제 안 쓰나: 화면에 남아 있어야 하는 안내·오류(→ Alert), 사용자의 확인이 필요한 것(→ AlertDialog), 폼 필드 오류(→ FormMessage).\n * 대신/함께: `ThemeProvider` 안에 두어야 다크 모드를 따라간다.\n */\nconst Toaster = React.forwardRef<\n React.ElementRef<typeof SonnerToaster>,\n React.ComponentPropsWithoutRef<typeof SonnerToaster>\n>((props, ref) => {\n const theme = useOptionalTheme()?.resolvedTheme\n // sonner 기본 이름 \"Notifications\"·\"Close toast\" 를 한국어로. 소비 앱이 넘긴 값이 이긴다.\n // 닫기 이름은 sonner 2 부터 먹는다(peer 가 허용하는 1.7 은 무시하고 \"Close toast\" 로 읽는다)\n const toastOptions = { closeButtonAriaLabel: '알림 닫기', ...props.toastOptions }\n return (\n <SonnerToaster\n ref={ref}\n theme={theme}\n containerAriaLabel='알림'\n // 화면 가장자리와의 간격 — sonner 2 의 기본값은 24px 이다. 1.7 때의 32px 를 지킨다(2026-11-23 오너 결정 28B)\n offset='32px'\n {...props}\n toastOptions={toastOptions}\n />\n )\n})\nToaster.displayName = 'Toaster'\n\nexport { toast, Toaster }\n"],"names":["sonnerToast","React","SonnerToaster"],"mappings":";;;;;;AAoBA,SAAS,MAAM,EAAE,cAAc,UAAU,QAAQ,GAAG,aAAqC;AACvF,QAAM,UAAU;AAAA,IACd,UAAU;AAAA,IACV,aAAa;AAAA,IACb,UAAU;AAAA,IACV,MAAM,UAAU,MAAM,OAA6B,IAAI;AAAA,IACvD,YAAY;AAAA,IACZ,YAAY;AAAA,MACV,MAAM;AAAA,IAAA;AAAA,IAER,GAAG;AAAA,EAAA;AAIL,UAAQ,SAAA;AAAA,IACN,KAAK;AACH,aAAOA,QAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,QAAY,MAAM,UAAU,OAAO;AAAA,QACxC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH,KAAK;AACH,aAAOA,QAAY,QAAQ,UAAU,OAAO;AAAA,QAC1C,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,IACH;AACE,aAAOA,QAAY,KAAK,UAAU,OAAO;AAAA,QACvC,aAAa,UAAU;AAAA,QACvB,GAAG;AAAA,MAAA,CACJ;AAAA,EAAA;AAEP;AAEA,MAAM,QAAQ;AAAA,EACZ,SAAS,oBAAC,aAAA,EAAY,WAAU,iBAAA,CAAiB;AAAA,EACjD,MAAM,oBAAC,MAAA,EAAK,WAAU,iBAAA,CAAiB;AAAA,EACvC,SAAS,oBAAC,eAAA,EAAc,WAAU,kBAAA,CAAkB;AAAA,EACpD,OAAO,oBAAC,SAAA,EAAQ,WAAU,gBAAA,CAAgB;AAC5C;AASA,MAAM,UAAUC,eAAM,WAGpB,CAAC,OAAO,QAAQ;AAChB,QAAM,QAAQ,oBAAoB;AAGlC,QAAM,eAAe,EAAE,sBAAsB,SAAS,GAAG,MAAM,aAAA;AAC/D,SACE;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,oBAAmB;AAAA,MAEnB,QAAO;AAAA,MACN,GAAG;AAAA,MACJ;AAAA,IAAA;AAAA,EAAA;AAGN,CAAC;AACD,QAAQ,cAAc;"}
package/dist/styles.css CHANGED
@@ -6,99 +6,177 @@
6
6
  @theme {
7
7
  /* ---------------------------------- Animation --------------------------------- */
8
8
  @keyframes fade-in {
9
- 0% { opacity: 0; }
10
- 100% { opacity: 1; }
9
+ 0% {
10
+ opacity: 0;
11
+ }
12
+ 100% {
13
+ opacity: 1;
14
+ }
11
15
  }
12
16
 
13
17
  @keyframes fade-out {
14
- 0% { opacity: 1; }
15
- 100% { opacity: 0; }
18
+ 0% {
19
+ opacity: 1;
20
+ }
21
+ 100% {
22
+ opacity: 0;
23
+ }
16
24
  }
17
25
 
18
26
  @keyframes zoom-in {
19
- 0% { transform: scale(0.95); }
20
- 100% { transform: scale(1); }
27
+ 0% {
28
+ transform: scale(0.95);
29
+ }
30
+ 100% {
31
+ transform: scale(1);
32
+ }
21
33
  }
22
34
 
23
35
  @keyframes zoom-out {
24
- 0% { transform: scale(1); }
25
- 100% { transform: scale(0.95); }
36
+ 0% {
37
+ transform: scale(1);
38
+ }
39
+ 100% {
40
+ transform: scale(0.95);
41
+ }
26
42
  }
27
43
 
28
44
  @keyframes slide-in-top {
29
- from { transform: translateY(-2px); }
30
- to { transform: translateY(0); }
45
+ from {
46
+ transform: translateY(-2px);
47
+ }
48
+ to {
49
+ transform: translateY(0);
50
+ }
31
51
  }
32
52
 
33
53
  @keyframes slide-in-bottom {
34
- from { transform: translateY(2px); }
35
- to { transform: translateY(0); }
54
+ from {
55
+ transform: translateY(2px);
56
+ }
57
+ to {
58
+ transform: translateY(0);
59
+ }
36
60
  }
37
61
 
38
62
  @keyframes slide-in-left {
39
- from { transform: translateX(-2px); }
40
- to { transform: translateX(0); }
63
+ from {
64
+ transform: translateX(-2px);
65
+ }
66
+ to {
67
+ transform: translateX(0);
68
+ }
41
69
  }
42
70
 
43
71
  @keyframes slide-in-right {
44
- from { transform: translateX(2px); }
45
- to { transform: translateX(0); }
72
+ from {
73
+ transform: translateX(2px);
74
+ }
75
+ to {
76
+ transform: translateX(0);
77
+ }
46
78
  }
47
79
 
48
80
  @keyframes slide_in_from_top {
49
- from { transform: translateY(-100%); }
50
- to { transform: translateY(0); }
81
+ from {
82
+ transform: translateY(-100%);
83
+ }
84
+ to {
85
+ transform: translateY(0);
86
+ }
51
87
  }
52
88
 
53
89
  @keyframes slide_out_to_top {
54
- from { transform: translateY(0); }
55
- to { transform: translateY(-100%); }
90
+ from {
91
+ transform: translateY(0);
92
+ }
93
+ to {
94
+ transform: translateY(-100%);
95
+ }
56
96
  }
57
97
 
58
98
  @keyframes slide_in_from_bottom {
59
- from { transform: translateY(100%); }
60
- to { transform: translateY(0); }
99
+ from {
100
+ transform: translateY(100%);
101
+ }
102
+ to {
103
+ transform: translateY(0);
104
+ }
61
105
  }
62
106
 
63
107
  @keyframes slide_out_to_bottom {
64
- from { transform: translateY(0); }
65
- to { transform: translateY(100%); }
108
+ from {
109
+ transform: translateY(0);
110
+ }
111
+ to {
112
+ transform: translateY(100%);
113
+ }
66
114
  }
67
115
 
68
116
  @keyframes slide_in_from_left {
69
- from { transform: translateX(-100%); }
70
- to { transform: translateX(0); }
117
+ from {
118
+ transform: translateX(-100%);
119
+ }
120
+ to {
121
+ transform: translateX(0);
122
+ }
71
123
  }
72
124
 
73
125
  @keyframes slide_out_to_left {
74
- from { transform: translateX(0); }
75
- to { transform: translateX(-100%); }
126
+ from {
127
+ transform: translateX(0);
128
+ }
129
+ to {
130
+ transform: translateX(-100%);
131
+ }
76
132
  }
77
133
 
78
134
  @keyframes slide_in_from_right {
79
- from { transform: translateX(100%); }
80
- to { transform: translateX(0); }
135
+ from {
136
+ transform: translateX(100%);
137
+ }
138
+ to {
139
+ transform: translateX(0);
140
+ }
81
141
  }
82
142
 
83
143
  @keyframes slide_out_to_right {
84
- from { transform: translateX(0); }
85
- to { transform: translateX(100%); }
144
+ from {
145
+ transform: translateX(0);
146
+ }
147
+ to {
148
+ transform: translateX(100%);
149
+ }
86
150
  }
87
151
 
88
152
  @keyframes skeleton-gradient {
89
- 0% { background-color: rgba(165, 165, 165, 0.1); }
90
- 50% { background-color: rgba(165, 165, 165, 0.2); }
91
- 100% { background-color: rgba(165, 165, 165, 0.1); }
153
+ 0% {
154
+ background-color: rgba(165, 165, 165, 0.1);
155
+ }
156
+ 50% {
157
+ background-color: rgba(165, 165, 165, 0.2);
158
+ }
159
+ 100% {
160
+ background-color: rgba(165, 165, 165, 0.1);
161
+ }
92
162
  }
93
163
 
94
164
  @keyframes accordion-down {
95
- from { height: 0; }
96
- to { height: var(--radix-accordion-content-height); }
165
+ from {
166
+ height: 0;
167
+ }
168
+ to {
169
+ height: var(--radix-accordion-content-height);
170
+ }
97
171
  }
98
172
 
99
173
  @keyframes accordion-up {
100
- from { height: var(--radix-accordion-content-height); }
101
- to { height: 0; }
174
+ from {
175
+ height: var(--radix-accordion-content-height);
176
+ }
177
+ to {
178
+ height: 0;
179
+ }
102
180
  }
103
181
 
104
182
  /* Animation Variables */
@@ -126,7 +204,7 @@
126
204
  --shadow-secondary-medium: 0 4px 8px var(--color-secondary-o20);
127
205
  --shadow-secondary-large: 0 6px 12px var(--color-secondary-o30);
128
206
  --shadow-danger-small: 0 2px 4px var(--color-danger-o10);
129
- --shadow-danger-medium: 0 4px 8px var(--color-red-o20);
207
+ --shadow-danger-medium: 0 4px 8px var(--color-danger-o20);
130
208
  --shadow-danger-large: 0 6px 12px var(--color-danger-o30);
131
209
  --shadow-gray-xsmall: 0 3px 12px var(--color-grayscale-s05);
132
210
  --shadow-gray-small: 0 3px 12px var(--color-grayscale-s10);
@@ -179,12 +257,7 @@
179
257
  /* ------------------------------- Typography ------------------------------ */
180
258
  /* Font Family */
181
259
  --font-sans:
182
- 'Pretendard Variable',
183
- Pretendard,
184
- -apple-system,
185
- BlinkMacSystemFont,
186
- system-ui,
187
- 'Segoe UI',
260
+ 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI',
188
261
  sans-serif;
189
262
 
190
263
  --font-weight-regular: 400;
@@ -478,7 +551,8 @@
478
551
  --color-sys-text-subtler: var(--color-secondary60);
479
552
  --color-sys-text-subtlest: var(--color-secondary40);
480
553
  /* 비활성 글자 (2026-10-26 23차): 반투명 secondary-o50 은 흰 바탕에서 ≈1.6:1 — 라디오·체크박스 카드의 비활성 옵션 설명("왜 못 고르는지")이
481
- * 안 읽혔다(홀드아웃 10 볼륨 생성 폼 3/3 "disabled options very faint"). secondary50(#7d849c, 3.72:1)로. WCAG 는 비활성을 예외로 두지만 읽혀야 하는 글자다 */
554
+ * 안 읽혔다(홀드아웃 10 볼륨 생성 폼 3/3 "disabled options very faint"). secondary50(#7d849c, 3.72:1)로. WCAG 는 비활성을 예외로 두지만 읽혀야 하는 글자다.
555
+ * secondary50 은 다크에서도 같은 값이라(어두운 바탕에서 약 4:1) 다크 블록에 다시 적지 않는다 */
482
556
  --color-sys-text-disabled: var(--color-secondary50);
483
557
  /* placeholder·플로팅 라벨 텍스트. secondary50 은 흰 배경에서 3.7:1 로 WCAG AA 미달 → secondary60 (5.3:1). 다크는 이미 60 */
484
558
  --color-sys-text-placeholder: var(--color-secondary60);
@@ -530,7 +604,7 @@
530
604
  --color-sys-table-header-background: var(--color-secondary-o10);
531
605
  --color-sys-table-header-text: var(--color-secondary70);
532
606
  --color-sys-table-align-button-disabled: var(--color-secondary30);
533
- --color-sys-table-hover: var(--color-grayscale-o10);
607
+ --color-sys-table-hover: var(--color-secondary-o10);
534
608
  --color-sys-table-press: var(--color-secondary-o20);
535
609
  --color-sys-table-select: var(--color-primary-o10);
536
610
  --color-sys-table-row-background: var(--color-secondary10);
@@ -653,8 +727,9 @@
653
727
  --color-sys-button-warning-outline-background-press: var(--color-warning-o20);
654
728
 
655
729
  /* button - disabled */
656
- --color-sys-button-disabled-text: var(--color-secondary60); /* 2026-10-12: o40 은 흰 바탕 대비 1.4:1 로 버튼이 있는지도 안 보였다 → sys-text-subtler 와 같은 값 */
657
- --color-sys-button-disabled-background: var(--color-grayscale-o10);
730
+ /* 2026-10-12: o40 은 흰 바탕 대비 1.4:1 로 버튼이 있는지도 안 보였다 → sys-text-subtler 와 같은 값 */
731
+ --color-sys-button-disabled-text: var(--color-secondary60);
732
+ --color-sys-button-disabled-background: var(--color-secondary-o10);
658
733
  --color-sys-button-disabled-outline: var(--color-secondary-o30);
659
734
  }
660
735
 
@@ -694,16 +769,15 @@
694
769
  ============================================================================ */
695
770
  [data-theme='dark'] {
696
771
  /* -------------------------------- Base Colors (반전) -------------------------------- */
697
- /* Secondary (Grayscale) - 반전 */
698
- --color-secondary10: #21242b;
699
- --color-secondary20: #373b48;
700
- --color-secondary30: #4d5365;
701
- --color-secondary40: #636b82;
702
- --color-secondary50: #7d849c;
703
- --color-secondary60: #a8adbd;
704
- --color-secondary70: #d6d9e0;
705
- --color-secondary80: #eeeff2;
706
- --color-secondary90: #ffffff;
772
+ /* Secondary = Grayscale (반전: 10↔90 … 40↔60). 가운데 50 은 두 테마가 같아 적지 않는다 */
773
+ --color-secondary10: var(--color-grayscale90);
774
+ --color-secondary20: var(--color-grayscale80);
775
+ --color-secondary30: var(--color-grayscale70);
776
+ --color-secondary40: var(--color-grayscale60);
777
+ --color-secondary60: var(--color-grayscale40);
778
+ --color-secondary70: var(--color-grayscale30);
779
+ --color-secondary80: var(--color-grayscale20);
780
+ --color-secondary90: var(--color-grayscale10);
707
781
 
708
782
  /* -------------------------------- Primitive Colors (Dark Mode) -------------------------------- */
709
783
  /* Blue - Dark Mode 값 */
@@ -901,11 +975,11 @@
901
975
  --color-grayscale-o50: rgba(139, 146, 167, 0.84);
902
976
 
903
977
  /* Secondary Overlay - grayscale과 동일하게 설정 */
904
- --color-secondary-o10: rgba(139, 146, 167, 0.16);
905
- --color-secondary-o20: rgba(139, 146, 167, 0.33);
906
- --color-secondary-o30: rgba(139, 146, 167, 0.5);
907
- --color-secondary-o40: rgba(139, 146, 167, 0.67);
908
- --color-secondary-o50: rgba(139, 146, 167, 0.84);
978
+ --color-secondary-o10: var(--color-grayscale-o10);
979
+ --color-secondary-o20: var(--color-grayscale-o20);
980
+ --color-secondary-o30: var(--color-grayscale-o30);
981
+ --color-secondary-o40: var(--color-grayscale-o40);
982
+ --color-secondary-o50: var(--color-grayscale-o50);
909
983
 
910
984
  /* Secondary Shadow - grayscale-s와 동일 */
911
985
  --color-secondary-s10: var(--color-grayscale-s10);
@@ -921,7 +995,6 @@
921
995
  --color-sys-text-subtle: var(--color-secondary70);
922
996
  --color-sys-text-subtler: var(--color-secondary60);
923
997
  --color-sys-text-subtlest: var(--color-secondary40);
924
- --color-sys-text-disabled: var(--color-secondary50); /* 라이트와 같은 단계(23차) — 어두운 바탕에서 #7d849c 약 4:1 */
925
998
  --color-sys-text-placeholder: var(--color-secondary60);
926
999
 
927
1000
  /* divider */
@@ -981,7 +1054,7 @@
981
1054
  /* badge */
982
1055
  --color-sys-badge-primary-text: var(--color-primary40);
983
1056
  --color-sys-badge-primary-background: var(--color-primary10);
984
- --color-sys-badge-secondary-text: var(--color-secondary80);
1057
+ --color-sys-badge-secondary-text: var(--color-sys-text-main);
985
1058
  --color-sys-badge-secondary-background: var(--color-secondary30);
986
1059
  --color-sys-badge-danger-text: var(--color-danger40);
987
1060
  --color-sys-badge-danger-background: var(--color-danger10);
@@ -1088,8 +1161,8 @@
1088
1161
  --color-sys-button-warning-outline-background-press: var(--color-warning-o20);
1089
1162
 
1090
1163
  /* button - disabled */
1091
- --color-sys-button-disabled-text: var(--color-secondary60); /* 2026-10-12: o40 은 흰 바탕 대비 1.4:1 로 버튼이 있는지도 안 보였다 → sys-text-subtler 와 같은 값 */
1092
- --color-sys-button-disabled-background: var(--color-grayscale-o10);
1164
+ --color-sys-button-disabled-text: var(--color-secondary60);
1165
+ --color-sys-button-disabled-background: var(--color-secondary-o10);
1093
1166
  --color-sys-button-disabled-outline: var(--color-secondary-o30);
1094
1167
  }
1095
1168
  /* TDS Utility Classes — Tailwind 가 만들지 않는 것만 둔다 */
@@ -17966,12 +17966,12 @@
17966
17966
  "description": "",
17967
17967
  "name": "className",
17968
17968
  "parent": {
17969
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
17969
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
17970
17970
  "name": "ToasterProps"
17971
17971
  },
17972
17972
  "declarations": [
17973
17973
  {
17974
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
17974
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
17975
17975
  "name": "ToasterProps"
17976
17976
  }
17977
17977
  ],
@@ -17985,12 +17985,12 @@
17985
17985
  "description": "",
17986
17986
  "name": "dir",
17987
17987
  "parent": {
17988
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
17988
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
17989
17989
  "name": "ToasterProps"
17990
17990
  },
17991
17991
  "declarations": [
17992
17992
  {
17993
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
17993
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
17994
17994
  "name": "ToasterProps"
17995
17995
  }
17996
17996
  ],
@@ -18011,17 +18011,36 @@
18011
18011
  ]
18012
18012
  }
18013
18013
  },
18014
+ "id": {
18015
+ "defaultValue": null,
18016
+ "description": "",
18017
+ "name": "id",
18018
+ "parent": {
18019
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18020
+ "name": "ToasterProps"
18021
+ },
18022
+ "declarations": [
18023
+ {
18024
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18025
+ "name": "ToasterProps"
18026
+ }
18027
+ ],
18028
+ "required": false,
18029
+ "type": {
18030
+ "name": "string"
18031
+ }
18032
+ },
18014
18033
  "style": {
18015
18034
  "defaultValue": null,
18016
18035
  "description": "",
18017
18036
  "name": "style",
18018
18037
  "parent": {
18019
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18038
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18020
18039
  "name": "ToasterProps"
18021
18040
  },
18022
18041
  "declarations": [
18023
18042
  {
18024
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18043
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18025
18044
  "name": "ToasterProps"
18026
18045
  }
18027
18046
  ],
@@ -18035,12 +18054,12 @@
18035
18054
  "description": "",
18036
18055
  "name": "icons",
18037
18056
  "parent": {
18038
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18057
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18039
18058
  "name": "ToasterProps"
18040
18059
  },
18041
18060
  "declarations": [
18042
18061
  {
18043
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18062
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18044
18063
  "name": "ToasterProps"
18045
18064
  }
18046
18065
  ],
@@ -18054,12 +18073,12 @@
18054
18073
  "description": "",
18055
18074
  "name": "theme",
18056
18075
  "parent": {
18057
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18076
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18058
18077
  "name": "ToasterProps"
18059
18078
  },
18060
18079
  "declarations": [
18061
18080
  {
18062
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18081
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18063
18082
  "name": "ToasterProps"
18064
18083
  }
18065
18084
  ],
@@ -18085,12 +18104,12 @@
18085
18104
  "description": "",
18086
18105
  "name": "offset",
18087
18106
  "parent": {
18088
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18107
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18089
18108
  "name": "ToasterProps"
18090
18109
  },
18091
18110
  "declarations": [
18092
18111
  {
18093
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18112
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18094
18113
  "name": "ToasterProps"
18095
18114
  }
18096
18115
  ],
@@ -18104,12 +18123,12 @@
18104
18123
  "description": "",
18105
18124
  "name": "position",
18106
18125
  "parent": {
18107
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18126
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18108
18127
  "name": "ToasterProps"
18109
18128
  },
18110
18129
  "declarations": [
18111
18130
  {
18112
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18131
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18113
18132
  "name": "ToasterProps"
18114
18133
  }
18115
18134
  ],
@@ -18144,12 +18163,12 @@
18144
18163
  "description": "",
18145
18164
  "name": "gap",
18146
18165
  "parent": {
18147
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18166
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18148
18167
  "name": "ToasterProps"
18149
18168
  },
18150
18169
  "declarations": [
18151
18170
  {
18152
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18171
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18153
18172
  "name": "ToasterProps"
18154
18173
  }
18155
18174
  ],
@@ -18163,12 +18182,12 @@
18163
18182
  "description": "",
18164
18183
  "name": "invert",
18165
18184
  "parent": {
18166
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18185
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18167
18186
  "name": "ToasterProps"
18168
18187
  },
18169
18188
  "declarations": [
18170
18189
  {
18171
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18190
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18172
18191
  "name": "ToasterProps"
18173
18192
  }
18174
18193
  ],
@@ -18182,12 +18201,12 @@
18182
18201
  "description": "",
18183
18202
  "name": "hotkey",
18184
18203
  "parent": {
18185
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18204
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18186
18205
  "name": "ToasterProps"
18187
18206
  },
18188
18207
  "declarations": [
18189
18208
  {
18190
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18209
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18191
18210
  "name": "ToasterProps"
18192
18211
  }
18193
18212
  ],
@@ -18201,12 +18220,12 @@
18201
18220
  "description": "",
18202
18221
  "name": "richColors",
18203
18222
  "parent": {
18204
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18223
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18205
18224
  "name": "ToasterProps"
18206
18225
  },
18207
18226
  "declarations": [
18208
18227
  {
18209
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18228
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18210
18229
  "name": "ToasterProps"
18211
18230
  }
18212
18231
  ],
@@ -18220,12 +18239,12 @@
18220
18239
  "description": "",
18221
18240
  "name": "expand",
18222
18241
  "parent": {
18223
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18242
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18224
18243
  "name": "ToasterProps"
18225
18244
  },
18226
18245
  "declarations": [
18227
18246
  {
18228
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18247
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18229
18248
  "name": "ToasterProps"
18230
18249
  }
18231
18250
  ],
@@ -18239,12 +18258,12 @@
18239
18258
  "description": "",
18240
18259
  "name": "duration",
18241
18260
  "parent": {
18242
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18261
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18243
18262
  "name": "ToasterProps"
18244
18263
  },
18245
18264
  "declarations": [
18246
18265
  {
18247
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18266
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18248
18267
  "name": "ToasterProps"
18249
18268
  }
18250
18269
  ],
@@ -18258,12 +18277,12 @@
18258
18277
  "description": "",
18259
18278
  "name": "visibleToasts",
18260
18279
  "parent": {
18261
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18280
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18262
18281
  "name": "ToasterProps"
18263
18282
  },
18264
18283
  "declarations": [
18265
18284
  {
18266
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18285
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18267
18286
  "name": "ToasterProps"
18268
18287
  }
18269
18288
  ],
@@ -18277,12 +18296,12 @@
18277
18296
  "description": "",
18278
18297
  "name": "closeButton",
18279
18298
  "parent": {
18280
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18299
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18281
18300
  "name": "ToasterProps"
18282
18301
  },
18283
18302
  "declarations": [
18284
18303
  {
18285
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18304
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18286
18305
  "name": "ToasterProps"
18287
18306
  }
18288
18307
  ],
@@ -18296,12 +18315,12 @@
18296
18315
  "description": "",
18297
18316
  "name": "toastOptions",
18298
18317
  "parent": {
18299
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18318
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18300
18319
  "name": "ToasterProps"
18301
18320
  },
18302
18321
  "declarations": [
18303
18322
  {
18304
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18323
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18305
18324
  "name": "ToasterProps"
18306
18325
  }
18307
18326
  ],
@@ -18315,12 +18334,12 @@
18315
18334
  "description": "",
18316
18335
  "name": "mobileOffset",
18317
18336
  "parent": {
18318
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18337
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18319
18338
  "name": "ToasterProps"
18320
18339
  },
18321
18340
  "declarations": [
18322
18341
  {
18323
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18342
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18324
18343
  "name": "ToasterProps"
18325
18344
  }
18326
18345
  ],
@@ -18334,12 +18353,12 @@
18334
18353
  "description": "",
18335
18354
  "name": "swipeDirections",
18336
18355
  "parent": {
18337
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18356
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18338
18357
  "name": "ToasterProps"
18339
18358
  },
18340
18359
  "declarations": [
18341
18360
  {
18342
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18361
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18343
18362
  "name": "ToasterProps"
18344
18363
  }
18345
18364
  ],
@@ -18348,23 +18367,23 @@
18348
18367
  "name": "SwipeDirection[]"
18349
18368
  }
18350
18369
  },
18351
- "loadingIcon": {
18370
+ "customAriaLabel": {
18352
18371
  "defaultValue": null,
18353
- "description": "@deprecated Please use the `icons` prop instead:\n```jsx\n<Toaster\nicons={{ loading: <LoadingIcon /> }}\n/>\n```",
18354
- "name": "loadingIcon",
18372
+ "description": "",
18373
+ "name": "customAriaLabel",
18355
18374
  "parent": {
18356
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18375
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18357
18376
  "name": "ToasterProps"
18358
18377
  },
18359
18378
  "declarations": [
18360
18379
  {
18361
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18380
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18362
18381
  "name": "ToasterProps"
18363
18382
  }
18364
18383
  ],
18365
18384
  "required": false,
18366
18385
  "type": {
18367
- "name": "ReactNode"
18386
+ "name": "string"
18368
18387
  }
18369
18388
  },
18370
18389
  "containerAriaLabel": {
@@ -18372,12 +18391,12 @@
18372
18391
  "description": "",
18373
18392
  "name": "containerAriaLabel",
18374
18393
  "parent": {
18375
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18394
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18376
18395
  "name": "ToasterProps"
18377
18396
  },
18378
18397
  "declarations": [
18379
18398
  {
18380
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18399
+ "fileName": "node_modules/.pnpm/sonner@2.0.8_@types+react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.mts",
18381
18400
  "name": "ToasterProps"
18382
18401
  }
18383
18402
  ],
@@ -18385,25 +18404,6 @@
18385
18404
  "type": {
18386
18405
  "name": "string"
18387
18406
  }
18388
- },
18389
- "pauseWhenPageIsHidden": {
18390
- "defaultValue": null,
18391
- "description": "",
18392
- "name": "pauseWhenPageIsHidden",
18393
- "parent": {
18394
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18395
- "name": "ToasterProps"
18396
- },
18397
- "declarations": [
18398
- {
18399
- "fileName": "node_modules/.pnpm/sonner@1.7.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.d.ts",
18400
- "name": "ToasterProps"
18401
- }
18402
- ],
18403
- "required": false,
18404
- "type": {
18405
- "name": "boolean"
18406
- }
18407
18407
  }
18408
18408
  },
18409
18409
  "exportName": "Toaster"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t3q-ui/design-system",
3
- "version": "1.69.4",
3
+ "version": "1.69.6",
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",
@@ -1630,10 +1630,6 @@ const WithAnchor = () => <AnchorExample />;
1630
1630
  언제 안 쓰나: 화면에 남아 있어야 하는 안내·오류(→ Alert), 사용자의 확인이 필요한 것(→ AlertDialog), 폼 필드 오류(→ FormMessage).
1631
1631
  대신/함께: `ThemeProvider` 안에 두어야 다크 모드를 따라간다.
1632
1632
 
1633
- | prop | 타입 | 기본값 | 설명 |
1634
- |---|---|---|---|
1635
- | `loadingIcon` | `ReactNode` | | @deprecated Please use the `icons` prop instead: ```jsx <Toaster icons={{ loading: <LoadingIcon /> }} /> ``` |
1636
-
1637
1633
  예시 — story "Variants":
1638
1634
 
1639
1635
  ```tsx