@axis-ds/ui-react 1.1.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.
Files changed (177) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +42 -0
  3. package/dist/accordion/index.d.mts +13 -0
  4. package/dist/accordion/index.d.ts +13 -0
  5. package/dist/accordion/index.js +111 -0
  6. package/dist/accordion/index.mjs +13 -0
  7. package/dist/alert/index.d.mts +21 -0
  8. package/dist/alert/index.d.ts +21 -0
  9. package/dist/alert/index.js +104 -0
  10. package/dist/alert/index.mjs +13 -0
  11. package/dist/avatar/index.d.mts +26 -0
  12. package/dist/avatar/index.d.ts +26 -0
  13. package/dist/avatar/index.js +97 -0
  14. package/dist/avatar/index.mjs +9 -0
  15. package/dist/badge/index.d.mts +17 -0
  16. package/dist/badge/index.d.ts +17 -0
  17. package/dist/badge/index.js +84 -0
  18. package/dist/badge/index.mjs +9 -0
  19. package/dist/breadcrumb/index.d.mts +34 -0
  20. package/dist/breadcrumb/index.d.ts +34 -0
  21. package/dist/breadcrumb/index.js +177 -0
  22. package/dist/breadcrumb/index.mjs +19 -0
  23. package/dist/button/index.d.mts +21 -0
  24. package/dist/button/index.d.ts +21 -0
  25. package/dist/button/index.js +93 -0
  26. package/dist/button/index.mjs +9 -0
  27. package/dist/card/index.d.mts +19 -0
  28. package/dist/card/index.d.ts +19 -0
  29. package/dist/card/index.js +115 -0
  30. package/dist/card/index.mjs +17 -0
  31. package/dist/checkbox/index.d.mts +10 -0
  32. package/dist/checkbox/index.d.ts +10 -0
  33. package/dist/checkbox/index.js +88 -0
  34. package/dist/checkbox/index.mjs +7 -0
  35. package/dist/chunk-3H7DF7QZ.mjs +49 -0
  36. package/dist/chunk-3I222KOY.mjs +123 -0
  37. package/dist/chunk-3N6NG7VT.mjs +11 -0
  38. package/dist/chunk-4AWNSTZH.mjs +57 -0
  39. package/dist/chunk-4JQWQF3H.mjs +25 -0
  40. package/dist/chunk-54Y3KUM5.mjs +28 -0
  41. package/dist/chunk-5PIG7LWJ.mjs +139 -0
  42. package/dist/chunk-6TRDXC4W.mjs +69 -0
  43. package/dist/chunk-7OPZAWBW.mjs +58 -0
  44. package/dist/chunk-A5FJHFJQ.mjs +210 -0
  45. package/dist/chunk-AEBHTW7E.mjs +29 -0
  46. package/dist/chunk-AJERK2UH.mjs +49 -0
  47. package/dist/chunk-APUPJHAQ.mjs +43 -0
  48. package/dist/chunk-AUXVXNU2.mjs +105 -0
  49. package/dist/chunk-B2GWR74O.mjs +144 -0
  50. package/dist/chunk-CTWUJDKA.mjs +49 -0
  51. package/dist/chunk-E2C7WDLA.mjs +108 -0
  52. package/dist/chunk-ECF2JRI5.mjs +43 -0
  53. package/dist/chunk-EJNQRWUO.mjs +29 -0
  54. package/dist/chunk-F6RLUX3E.mjs +37 -0
  55. package/dist/chunk-FMXB7UCT.mjs +27 -0
  56. package/dist/chunk-HQB5TO4N.mjs +28 -0
  57. package/dist/chunk-HYW3HTBA.mjs +31 -0
  58. package/dist/chunk-IOOOCHIG.mjs +49 -0
  59. package/dist/chunk-IXLVGZWU.mjs +105 -0
  60. package/dist/chunk-JJY2MCTX.mjs +25 -0
  61. package/dist/chunk-JM45JPSK.mjs +43 -0
  62. package/dist/chunk-JQV5IP5Z.mjs +28 -0
  63. package/dist/chunk-KAIB45YN.mjs +132 -0
  64. package/dist/chunk-MARIIZN7.mjs +53 -0
  65. package/dist/chunk-NEZK6NO5.mjs +58 -0
  66. package/dist/chunk-NFFXJB2O.mjs +11 -0
  67. package/dist/chunk-O5SM54HW.mjs +71 -0
  68. package/dist/chunk-OIQGWWAS.mjs +42 -0
  69. package/dist/chunk-PJO7WJ4G.mjs +10 -0
  70. package/dist/chunk-PUERRSNI.mjs +37 -0
  71. package/dist/chunk-Q3KALTWT.mjs +37 -0
  72. package/dist/chunk-Q4WL74ZY.mjs +43 -0
  73. package/dist/chunk-RBVNJKEQ.mjs +210 -0
  74. package/dist/chunk-SCH6SFLB.mjs +37 -0
  75. package/dist/chunk-SLQ756Q7.mjs +36 -0
  76. package/dist/chunk-SPUFU4HC.mjs +139 -0
  77. package/dist/chunk-SR3JZW6T.mjs +210 -0
  78. package/dist/chunk-TD5OLTUB.mjs +62 -0
  79. package/dist/chunk-WVWKKHBP.mjs +44 -0
  80. package/dist/chunk-XHILRI24.mjs +111 -0
  81. package/dist/chunk-XW4HTSUY.mjs +123 -0
  82. package/dist/chunk-YKZAU3UV.mjs +144 -0
  83. package/dist/chunk-YVJ7BL4T.mjs +81 -0
  84. package/dist/chunk-ZU6FMFB5.mjs +31 -0
  85. package/dist/collapsible/index.d.mts +11 -0
  86. package/dist/collapsible/index.d.ts +11 -0
  87. package/dist/collapsible/index.js +47 -0
  88. package/dist/collapsible/index.mjs +10 -0
  89. package/dist/command/index.d.mts +86 -0
  90. package/dist/command/index.d.ts +86 -0
  91. package/dist/command/index.js +168 -0
  92. package/dist/command/index.mjs +19 -0
  93. package/dist/dialog/index.d.mts +32 -0
  94. package/dist/dialog/index.d.ts +32 -0
  95. package/dist/dialog/index.js +153 -0
  96. package/dist/dialog/index.mjs +25 -0
  97. package/dist/dropdown-menu/index.d.mts +57 -0
  98. package/dist/dropdown-menu/index.d.ts +57 -0
  99. package/dist/dropdown-menu/index.js +263 -0
  100. package/dist/dropdown-menu/index.mjs +35 -0
  101. package/dist/index.d.mts +60 -0
  102. package/dist/index.d.ts +60 -0
  103. package/dist/index.js +2029 -0
  104. package/dist/index.mjs +308 -0
  105. package/dist/input/index.d.mts +14 -0
  106. package/dist/input/index.d.ts +14 -0
  107. package/dist/input/index.js +75 -0
  108. package/dist/input/index.mjs +7 -0
  109. package/dist/label/index.d.mts +16 -0
  110. package/dist/label/index.d.ts +16 -0
  111. package/dist/label/index.js +64 -0
  112. package/dist/label/index.mjs +7 -0
  113. package/dist/popover/index.d.mts +11 -0
  114. package/dist/popover/index.d.ts +11 -0
  115. package/dist/popover/index.js +72 -0
  116. package/dist/popover/index.mjs +11 -0
  117. package/dist/progress/index.d.mts +27 -0
  118. package/dist/progress/index.d.ts +27 -0
  119. package/dist/progress/index.js +122 -0
  120. package/dist/progress/index.mjs +11 -0
  121. package/dist/radio-group/index.d.mts +9 -0
  122. package/dist/radio-group/index.d.ts +9 -0
  123. package/dist/radio-group/index.js +89 -0
  124. package/dist/radio-group/index.mjs +9 -0
  125. package/dist/scroll-area/index.d.mts +9 -0
  126. package/dist/scroll-area/index.d.ts +9 -0
  127. package/dist/scroll-area/index.js +83 -0
  128. package/dist/scroll-area/index.mjs +9 -0
  129. package/dist/select/index.d.mts +21 -0
  130. package/dist/select/index.d.ts +21 -0
  131. package/dist/select/index.js +190 -0
  132. package/dist/select/index.mjs +21 -0
  133. package/dist/separator/index.d.mts +13 -0
  134. package/dist/separator/index.d.ts +13 -0
  135. package/dist/separator/index.js +68 -0
  136. package/dist/separator/index.mjs +7 -0
  137. package/dist/sheet/index.d.mts +43 -0
  138. package/dist/sheet/index.d.ts +43 -0
  139. package/dist/sheet/index.js +187 -0
  140. package/dist/sheet/index.mjs +25 -0
  141. package/dist/skeleton/index.d.mts +9 -0
  142. package/dist/skeleton/index.d.ts +9 -0
  143. package/dist/skeleton/index.js +66 -0
  144. package/dist/skeleton/index.mjs +7 -0
  145. package/dist/slider/index.d.mts +7 -0
  146. package/dist/slider/index.d.ts +7 -0
  147. package/dist/slider/index.js +67 -0
  148. package/dist/slider/index.mjs +7 -0
  149. package/dist/switch/index.d.mts +7 -0
  150. package/dist/switch/index.d.ts +7 -0
  151. package/dist/switch/index.js +76 -0
  152. package/dist/switch/index.mjs +7 -0
  153. package/dist/table/index.d.mts +20 -0
  154. package/dist/table/index.d.ts +20 -0
  155. package/dist/table/index.js +157 -0
  156. package/dist/table/index.mjs +21 -0
  157. package/dist/tabs/index.d.mts +13 -0
  158. package/dist/tabs/index.d.ts +13 -0
  159. package/dist/tabs/index.js +100 -0
  160. package/dist/tabs/index.mjs +13 -0
  161. package/dist/textarea/index.d.mts +6 -0
  162. package/dist/textarea/index.d.ts +6 -0
  163. package/dist/textarea/index.js +67 -0
  164. package/dist/textarea/index.mjs +7 -0
  165. package/dist/toast/index.d.mts +23 -0
  166. package/dist/toast/index.d.ts +23 -0
  167. package/dist/toast/index.js +153 -0
  168. package/dist/toast/index.mjs +19 -0
  169. package/dist/toggle/index.d.mts +16 -0
  170. package/dist/toggle/index.d.ts +16 -0
  171. package/dist/toggle/index.js +83 -0
  172. package/dist/toggle/index.mjs +9 -0
  173. package/dist/tooltip/index.d.mts +13 -0
  174. package/dist/tooltip/index.d.ts +13 -0
  175. package/dist/tooltip/index.js +79 -0
  176. package/dist/tooltip/index.mjs +13 -0
  177. package/package.json +206 -0
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
3
+
4
+ /** Separator 컴포넌트의 Props 인터페이스. Radix Separator 프리미티브의 속성을 확장한다. */
5
+ interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> {
6
+ }
7
+ /**
8
+ * 콘텐츠 사이의 시각적 구분선 컴포넌트.
9
+ * 수평(horizontal) 및 수직(vertical) 방향을 지원하며, 기본적으로 장식용(decorative)으로 설정된다.
10
+ */
11
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
12
+
13
+ export { Separator, type SeparatorProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
3
+
4
+ /** Separator 컴포넌트의 Props 인터페이스. Radix Separator 프리미티브의 속성을 확장한다. */
5
+ interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> {
6
+ }
7
+ /**
8
+ * 콘텐츠 사이의 시각적 구분선 컴포넌트.
9
+ * 수평(horizontal) 및 수직(vertical) 방향을 지원하며, 기본적으로 장식용(decorative)으로 설정된다.
10
+ */
11
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
12
+
13
+ export { Separator, type SeparatorProps };
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/separator/index.tsx
31
+ var separator_exports = {};
32
+ __export(separator_exports, {
33
+ Separator: () => Separator
34
+ });
35
+ module.exports = __toCommonJS(separator_exports);
36
+ var React = __toESM(require("react"));
37
+ var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
38
+
39
+ // src/utils.ts
40
+ var import_clsx = require("clsx");
41
+ var import_tailwind_merge = require("tailwind-merge");
42
+ function cn(...inputs) {
43
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
44
+ }
45
+
46
+ // src/separator/index.tsx
47
+ var import_jsx_runtime = require("react/jsx-runtime");
48
+ var Separator = React.forwardRef(
49
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
50
+ SeparatorPrimitive.Root,
51
+ {
52
+ ref,
53
+ decorative,
54
+ orientation,
55
+ className: cn(
56
+ "shrink-0 bg-[var(--axis-border-default)]",
57
+ orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
58
+ className
59
+ ),
60
+ ...props
61
+ }
62
+ )
63
+ );
64
+ Separator.displayName = "Separator";
65
+ // Annotate the CommonJS export names for ESM import in node:
66
+ 0 && (module.exports = {
67
+ Separator
68
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ Separator
3
+ } from "../chunk-AEBHTW7E.mjs";
4
+ import "../chunk-PJO7WJ4G.mjs";
5
+ export {
6
+ Separator
7
+ };
@@ -0,0 +1,43 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as React from 'react';
4
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ /** 화면 측면에서 슬라이드되어 나타나는 시트(Sheet) 컴포넌트의 루트 요소 */
8
+ declare const Sheet: React.FC<DialogPrimitive.DialogProps>;
9
+ /** 시트를 열기 위한 트리거 버튼 컴포넌트 */
10
+ declare const SheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
11
+ /** 시트를 닫기 위한 닫기 버튼 컴포넌트 */
12
+ declare const SheetClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
13
+ /** 시트 콘텐츠를 포탈로 렌더링하는 컴포넌트 */
14
+ declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
15
+ /** 시트가 열렸을 때 배경을 덮는 오버레이 컴포넌트. 페이드 인/아웃 애니메이션을 포함한다. */
16
+ declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
+ declare const sheetVariants: (props?: ({
18
+ side?: "top" | "right" | "bottom" | "left" | null | undefined;
19
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
20
+ /**
21
+ * SheetContent 컴포넌트의 Props 인터페이스
22
+ * @property side - 시트가 나타나는 방향 (top, bottom, left, right). 기본값은 "right"
23
+ */
24
+ interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
25
+ }
26
+ /** 시트의 메인 콘텐츠 영역. 오버레이와 닫기 버튼을 포함하며, 지정된 방향에서 슬라이드 인/아웃된다. */
27
+ declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
28
+ /** 시트 상단의 헤더 영역. 제목과 설명을 배치하는 레이아웃 컴포넌트. */
29
+ declare const SheetHeader: {
30
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
31
+ displayName: string;
32
+ };
33
+ /** 시트 하단의 푸터 영역. 액션 버튼 등을 배치하는 레이아웃 컴포넌트. */
34
+ declare const SheetFooter: {
35
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
36
+ displayName: string;
37
+ };
38
+ /** 시트의 제목을 표시하는 컴포넌트. 접근성을 위해 aria-labelledby와 연동된다. */
39
+ declare const SheetTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
40
+ /** 시트의 부가 설명을 표시하는 컴포넌트. 접근성을 위해 aria-describedby와 연동된다. */
41
+ declare const SheetDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
42
+
43
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger };
@@ -0,0 +1,43 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as React from 'react';
4
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ /** 화면 측면에서 슬라이드되어 나타나는 시트(Sheet) 컴포넌트의 루트 요소 */
8
+ declare const Sheet: React.FC<DialogPrimitive.DialogProps>;
9
+ /** 시트를 열기 위한 트리거 버튼 컴포넌트 */
10
+ declare const SheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
11
+ /** 시트를 닫기 위한 닫기 버튼 컴포넌트 */
12
+ declare const SheetClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
13
+ /** 시트 콘텐츠를 포탈로 렌더링하는 컴포넌트 */
14
+ declare const SheetPortal: React.FC<DialogPrimitive.DialogPortalProps>;
15
+ /** 시트가 열렸을 때 배경을 덮는 오버레이 컴포넌트. 페이드 인/아웃 애니메이션을 포함한다. */
16
+ declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
+ declare const sheetVariants: (props?: ({
18
+ side?: "top" | "right" | "bottom" | "left" | null | undefined;
19
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
20
+ /**
21
+ * SheetContent 컴포넌트의 Props 인터페이스
22
+ * @property side - 시트가 나타나는 방향 (top, bottom, left, right). 기본값은 "right"
23
+ */
24
+ interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
25
+ }
26
+ /** 시트의 메인 콘텐츠 영역. 오버레이와 닫기 버튼을 포함하며, 지정된 방향에서 슬라이드 인/아웃된다. */
27
+ declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
28
+ /** 시트 상단의 헤더 영역. 제목과 설명을 배치하는 레이아웃 컴포넌트. */
29
+ declare const SheetHeader: {
30
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
31
+ displayName: string;
32
+ };
33
+ /** 시트 하단의 푸터 영역. 액션 버튼 등을 배치하는 레이아웃 컴포넌트. */
34
+ declare const SheetFooter: {
35
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
36
+ displayName: string;
37
+ };
38
+ /** 시트의 제목을 표시하는 컴포넌트. 접근성을 위해 aria-labelledby와 연동된다. */
39
+ declare const SheetTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
40
+ /** 시트의 부가 설명을 표시하는 컴포넌트. 접근성을 위해 aria-describedby와 연동된다. */
41
+ declare const SheetDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
42
+
43
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger };
@@ -0,0 +1,187 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/sheet/index.tsx
31
+ var sheet_exports = {};
32
+ __export(sheet_exports, {
33
+ Sheet: () => Sheet,
34
+ SheetClose: () => SheetClose,
35
+ SheetContent: () => SheetContent,
36
+ SheetDescription: () => SheetDescription,
37
+ SheetFooter: () => SheetFooter,
38
+ SheetHeader: () => SheetHeader,
39
+ SheetOverlay: () => SheetOverlay,
40
+ SheetPortal: () => SheetPortal,
41
+ SheetTitle: () => SheetTitle,
42
+ SheetTrigger: () => SheetTrigger
43
+ });
44
+ module.exports = __toCommonJS(sheet_exports);
45
+ var React = __toESM(require("react"));
46
+ var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
47
+ var import_class_variance_authority = require("class-variance-authority");
48
+
49
+ // src/utils.ts
50
+ var import_clsx = require("clsx");
51
+ var import_tailwind_merge = require("tailwind-merge");
52
+ function cn(...inputs) {
53
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
54
+ }
55
+
56
+ // src/sheet/index.tsx
57
+ var import_jsx_runtime = require("react/jsx-runtime");
58
+ var Sheet = SheetPrimitive.Root;
59
+ var SheetTrigger = SheetPrimitive.Trigger;
60
+ var SheetClose = SheetPrimitive.Close;
61
+ var SheetPortal = SheetPrimitive.Portal;
62
+ var SheetOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
63
+ SheetPrimitive.Overlay,
64
+ {
65
+ className: cn(
66
+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
67
+ className
68
+ ),
69
+ ...props,
70
+ ref
71
+ }
72
+ ));
73
+ SheetOverlay.displayName = "SheetOverlay";
74
+ var sheetVariants = (0, import_class_variance_authority.cva)(
75
+ "fixed z-50 gap-4 bg-[var(--axis-surface-primary)] border-[var(--axis-border-default)] p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
76
+ {
77
+ variants: {
78
+ side: {
79
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
80
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
81
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
82
+ right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
83
+ }
84
+ },
85
+ defaultVariants: {
86
+ side: "right"
87
+ }
88
+ }
89
+ );
90
+ var SheetContent = React.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SheetPortal, { children: [
91
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SheetOverlay, {}),
92
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
93
+ SheetPrimitive.Content,
94
+ {
95
+ ref,
96
+ className: cn(sheetVariants({ side }), className),
97
+ ...props,
98
+ children: [
99
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-[var(--axis-surface-primary)] transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--axis-ring)] focus:ring-offset-2 disabled:pointer-events-none", children: [
100
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
101
+ "svg",
102
+ {
103
+ xmlns: "http://www.w3.org/2000/svg",
104
+ width: "16",
105
+ height: "16",
106
+ viewBox: "0 0 24 24",
107
+ fill: "none",
108
+ stroke: "currentColor",
109
+ strokeWidth: "2",
110
+ strokeLinecap: "round",
111
+ strokeLinejoin: "round",
112
+ children: [
113
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M18 6 6 18" }),
114
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m6 6 12 12" })
115
+ ]
116
+ }
117
+ ),
118
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: "Close" })
119
+ ] }),
120
+ children
121
+ ]
122
+ }
123
+ )
124
+ ] }));
125
+ SheetContent.displayName = "SheetContent";
126
+ var SheetHeader = ({
127
+ className,
128
+ ...props
129
+ }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
130
+ "div",
131
+ {
132
+ className: cn(
133
+ "flex flex-col space-y-2 text-center sm:text-left",
134
+ className
135
+ ),
136
+ ...props
137
+ }
138
+ );
139
+ SheetHeader.displayName = "SheetHeader";
140
+ var SheetFooter = ({
141
+ className,
142
+ ...props
143
+ }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
144
+ "div",
145
+ {
146
+ className: cn(
147
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
148
+ className
149
+ ),
150
+ ...props
151
+ }
152
+ );
153
+ SheetFooter.displayName = "SheetFooter";
154
+ var SheetTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
155
+ SheetPrimitive.Title,
156
+ {
157
+ ref,
158
+ className: cn(
159
+ "text-lg font-semibold text-[var(--axis-text-primary)]",
160
+ className
161
+ ),
162
+ ...props
163
+ }
164
+ ));
165
+ SheetTitle.displayName = "SheetTitle";
166
+ var SheetDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
167
+ SheetPrimitive.Description,
168
+ {
169
+ ref,
170
+ className: cn("text-sm text-[var(--axis-text-secondary)]", className),
171
+ ...props
172
+ }
173
+ ));
174
+ SheetDescription.displayName = "SheetDescription";
175
+ // Annotate the CommonJS export names for ESM import in node:
176
+ 0 && (module.exports = {
177
+ Sheet,
178
+ SheetClose,
179
+ SheetContent,
180
+ SheetDescription,
181
+ SheetFooter,
182
+ SheetHeader,
183
+ SheetOverlay,
184
+ SheetPortal,
185
+ SheetTitle,
186
+ SheetTrigger
187
+ });
@@ -0,0 +1,25 @@
1
+ import {
2
+ Sheet,
3
+ SheetClose,
4
+ SheetContent,
5
+ SheetDescription,
6
+ SheetFooter,
7
+ SheetHeader,
8
+ SheetOverlay,
9
+ SheetPortal,
10
+ SheetTitle,
11
+ SheetTrigger
12
+ } from "../chunk-5PIG7LWJ.mjs";
13
+ import "../chunk-PJO7WJ4G.mjs";
14
+ export {
15
+ Sheet,
16
+ SheetClose,
17
+ SheetContent,
18
+ SheetDescription,
19
+ SheetFooter,
20
+ SheetHeader,
21
+ SheetOverlay,
22
+ SheetPortal,
23
+ SheetTitle,
24
+ SheetTrigger
25
+ };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+
3
+ /** Skeleton 컴포넌트의 Props 인터페이스. HTML div 요소의 모든 속성을 지원한다. */
4
+ interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ }
6
+ /** 콘텐츠 로딩 상태를 시각적으로 나타내는 스켈레톤 컴포넌트. 펄스 애니메이션이 적용된다. */
7
+ declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
8
+
9
+ export { Skeleton, type SkeletonProps };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+
3
+ /** Skeleton 컴포넌트의 Props 인터페이스. HTML div 요소의 모든 속성을 지원한다. */
4
+ interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ }
6
+ /** 콘텐츠 로딩 상태를 시각적으로 나타내는 스켈레톤 컴포넌트. 펄스 애니메이션이 적용된다. */
7
+ declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
8
+
9
+ export { Skeleton, type SkeletonProps };
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/skeleton/index.tsx
31
+ var skeleton_exports = {};
32
+ __export(skeleton_exports, {
33
+ Skeleton: () => Skeleton
34
+ });
35
+ module.exports = __toCommonJS(skeleton_exports);
36
+ var React = __toESM(require("react"));
37
+
38
+ // src/utils.ts
39
+ var import_clsx = require("clsx");
40
+ var import_tailwind_merge = require("tailwind-merge");
41
+ function cn(...inputs) {
42
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
43
+ }
44
+
45
+ // src/skeleton/index.tsx
46
+ var import_jsx_runtime = require("react/jsx-runtime");
47
+ var Skeleton = React.forwardRef(
48
+ ({ className, ...props }, ref) => {
49
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
50
+ "div",
51
+ {
52
+ ref,
53
+ className: cn(
54
+ "animate-pulse rounded-md bg-[var(--axis-surface-tertiary)]",
55
+ className
56
+ ),
57
+ ...props
58
+ }
59
+ );
60
+ }
61
+ );
62
+ Skeleton.displayName = "Skeleton";
63
+ // Annotate the CommonJS export names for ESM import in node:
64
+ 0 && (module.exports = {
65
+ Skeleton
66
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ Skeleton
3
+ } from "../chunk-FMXB7UCT.mjs";
4
+ import "../chunk-PJO7WJ4G.mjs";
5
+ export {
6
+ Skeleton
7
+ };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as SliderPrimitive from '@radix-ui/react-slider';
3
+
4
+ /** 범위 내에서 값을 선택할 수 있는 슬라이더 컴포넌트. 트랙, 범위 표시, 드래그 가능한 썸을 포함한다. */
5
+ declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
+
7
+ export { Slider };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as SliderPrimitive from '@radix-ui/react-slider';
3
+
4
+ /** 범위 내에서 값을 선택할 수 있는 슬라이더 컴포넌트. 트랙, 범위 표시, 드래그 가능한 썸을 포함한다. */
5
+ declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
+
7
+ export { Slider };
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/slider/index.tsx
31
+ var slider_exports = {};
32
+ __export(slider_exports, {
33
+ Slider: () => Slider
34
+ });
35
+ module.exports = __toCommonJS(slider_exports);
36
+ var React = __toESM(require("react"));
37
+ var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
38
+
39
+ // src/utils.ts
40
+ var import_clsx = require("clsx");
41
+ var import_tailwind_merge = require("tailwind-merge");
42
+ function cn(...inputs) {
43
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
44
+ }
45
+
46
+ // src/slider/index.tsx
47
+ var import_jsx_runtime = require("react/jsx-runtime");
48
+ var Slider = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
49
+ SliderPrimitive.Root,
50
+ {
51
+ ref,
52
+ className: cn(
53
+ "relative flex w-full touch-none select-none items-center",
54
+ className
55
+ ),
56
+ ...props,
57
+ children: [
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-[var(--axis-surface-tertiary)]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-[var(--axis-interactive-primary)]" }) }),
59
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-[var(--axis-interactive-primary)] bg-[var(--axis-surface-primary)] ring-offset-[var(--axis-surface-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--axis-ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
60
+ ]
61
+ }
62
+ ));
63
+ Slider.displayName = "Slider";
64
+ // Annotate the CommonJS export names for ESM import in node:
65
+ 0 && (module.exports = {
66
+ Slider
67
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ Slider
3
+ } from "../chunk-54Y3KUM5.mjs";
4
+ import "../chunk-PJO7WJ4G.mjs";
5
+ export {
6
+ Slider
7
+ };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+
4
+ /** 켜짐/꺼짐 상태를 전환하는 스위치 컴포넌트. 키보드 접근성과 포커스 링을 지원한다. */
5
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+
7
+ export { Switch };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+
4
+ /** 켜짐/꺼짐 상태를 전환하는 스위치 컴포넌트. 키보드 접근성과 포커스 링을 지원한다. */
5
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+
7
+ export { Switch };