@naeil/ui 0.1.0 → 0.3.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 (170) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/DESIGN.md +186 -0
  3. package/LICENSE +21 -0
  4. package/README.md +85 -22
  5. package/THIRD_PARTY_NOTICES.md +49 -0
  6. package/dist/chunk-JBTDRVZ7.js +46 -0
  7. package/dist/chunk-QKVN6Q6C.js +438 -0
  8. package/dist/components/index.d.ts +87 -0
  9. package/dist/components/index.js +832 -0
  10. package/dist/components/ui/index.d.ts +105 -0
  11. package/dist/components/ui/index.js +736 -0
  12. package/dist/lib/utils.d.ts +5 -0
  13. package/dist/lib/utils.js +7 -0
  14. package/dist/source/components/footer.d.ts +15 -0
  15. package/dist/source/components/footer.js +172 -0
  16. package/dist/source/components/index.d.ts +11 -0
  17. package/dist/source/components/index.js +26 -0
  18. package/dist/source/components/locale-switcher.d.ts +17 -0
  19. package/dist/source/components/locale-switcher.js +66 -0
  20. package/dist/source/components/logo.d.ts +9 -0
  21. package/dist/source/components/logo.js +52 -0
  22. package/dist/source/components/nav.d.ts +39 -0
  23. package/dist/source/components/nav.js +412 -0
  24. package/dist/source/components/theme-provider.d.ts +6 -0
  25. package/dist/source/components/theme-provider.js +45 -0
  26. package/dist/source/components/theme-toggle-icon.d.ts +5 -0
  27. package/dist/source/components/theme-toggle-icon.js +62 -0
  28. package/dist/source/components/theme-toggle.d.ts +5 -0
  29. package/dist/source/components/theme-toggle.js +34 -0
  30. package/dist/source/components/typography.d.ts +12 -0
  31. package/dist/source/components/typography.js +49 -0
  32. package/dist/source/components/ui/avatar.d.ts +14 -0
  33. package/dist/source/components/ui/avatar.js +137 -0
  34. package/dist/source/components/ui/badge.d.ts +13 -0
  35. package/dist/source/components/ui/badge.js +76 -0
  36. package/dist/source/components/ui/button.d.ts +14 -0
  37. package/dist/source/components/ui/button.js +88 -0
  38. package/dist/source/components/ui/card.d.ts +13 -0
  39. package/dist/source/components/ui/card.js +135 -0
  40. package/dist/source/components/ui/checkbox.d.ts +7 -0
  41. package/dist/source/components/ui/checkbox.js +58 -0
  42. package/dist/source/components/ui/dialog.d.ts +20 -0
  43. package/dist/source/components/ui/dialog.js +182 -0
  44. package/dist/source/components/ui/dropdown-menu.d.ts +28 -0
  45. package/dist/source/components/ui/dropdown-menu.js +282 -0
  46. package/dist/source/components/ui/index.d.ts +19 -0
  47. package/dist/source/components/ui/index.js +131 -0
  48. package/dist/source/components/ui/input.d.ts +6 -0
  49. package/dist/source/components/ui/input.js +49 -0
  50. package/dist/source/components/ui/select.d.ts +16 -0
  51. package/dist/source/components/ui/select.js +197 -0
  52. package/dist/source/components/ui/sonner.d.ts +6 -0
  53. package/dist/source/components/ui/sonner.js +80 -0
  54. package/dist/source/components/ui/switch.d.ts +7 -0
  55. package/dist/source/components/ui/switch.js +54 -0
  56. package/dist/source/components/ui/tabs.d.ts +10 -0
  57. package/dist/source/components/ui/tabs.js +57 -0
  58. package/dist/source/components/ui/textarea.d.ts +6 -0
  59. package/dist/source/components/ui/textarea.js +46 -0
  60. package/dist/source/i18n/config.d.ts +6 -0
  61. package/dist/source/i18n/config.js +12 -0
  62. package/dist/source/i18n/routing.d.ts +371 -0
  63. package/dist/source/i18n/routing.js +17 -0
  64. package/dist/source/lib/design/modal-inert.d.ts +6 -0
  65. package/dist/source/lib/design/modal-inert.js +73 -0
  66. package/dist/source/lib/utils.d.ts +5 -0
  67. package/dist/source/lib/utils.js +8 -0
  68. package/dist/tokens.ts +217 -0
  69. package/docs/components/README.md +21 -0
  70. package/docs/components/avatar.md +47 -0
  71. package/docs/components/badge.md +29 -0
  72. package/docs/components/button.md +39 -0
  73. package/docs/components/card.md +32 -0
  74. package/docs/components/checkbox.md +35 -0
  75. package/docs/components/common.md +31 -0
  76. package/docs/components/composition.md +68 -0
  77. package/docs/components/dialog.md +41 -0
  78. package/docs/components/dropdown-menu.md +38 -0
  79. package/docs/components/input.md +32 -0
  80. package/docs/components/select.md +39 -0
  81. package/docs/components/sonner.md +37 -0
  82. package/docs/components/switch.md +33 -0
  83. package/docs/components/tabs.md +40 -0
  84. package/docs/components/textarea.md +35 -0
  85. package/docs/design/component-demand.md +30 -0
  86. package/docs/design/public-ui-final-verification.md +96 -0
  87. package/docs/design/public-ui-release-validation.md +86 -0
  88. package/docs/design/public-ui-stage3-verification.md +98 -0
  89. package/docs/design/public-ui-stage4-verification.md +129 -0
  90. package/docs/design/public-ui-support.md +40 -0
  91. package/docs/design/v2-migration.md +199 -0
  92. package/docs/package-release.md +89 -0
  93. package/licenses/Noto-Sans-JP-OFL.txt +93 -0
  94. package/licenses/Nunito-Sans-OFL.txt +93 -0
  95. package/licenses/Pretendard-OFL.txt +94 -0
  96. package/licenses/React-MIT.txt +21 -0
  97. package/licenses/Storybook-MIT.txt +21 -0
  98. package/licenses/popper-MIT.txt +25 -0
  99. package/licenses/react-remove-scroll-bar-MIT.txt +21 -0
  100. package/licenses/store2-MIT.txt +22 -0
  101. package/licenses/toggle-selection-MIT.txt +21 -0
  102. package/package.json +215 -26
  103. package/src/styles/components.css +276 -0
  104. package/src/styles/globals.css +18 -0
  105. package/src/styles/theme.css +293 -0
  106. package/messages/en.json +0 -221
  107. package/messages/ja.json +0 -221
  108. package/messages/ko.json +0 -221
  109. package/postcss.config.mjs +0 -7
  110. package/src/app/[locale]/(content)/baby-agent/page.tsx +0 -30
  111. package/src/app/[locale]/(content)/blog/page.tsx +0 -68
  112. package/src/app/[locale]/(content)/cc/page.tsx +0 -216
  113. package/src/app/[locale]/(content)/design/page.tsx +0 -703
  114. package/src/app/[locale]/(content)/layout.tsx +0 -7
  115. package/src/app/[locale]/(content)/pkm/page.tsx +0 -31
  116. package/src/app/[locale]/(content)/projects/page.tsx +0 -100
  117. package/src/app/[locale]/(content)/sa/page.tsx +0 -179
  118. package/src/app/[locale]/(landing)/page.tsx +0 -157
  119. package/src/app/[locale]/layout.tsx +0 -72
  120. package/src/app/[locale]/login/actions.ts +0 -10
  121. package/src/app/[locale]/login/oauth-buttons.tsx +0 -78
  122. package/src/app/[locale]/login/page.tsx +0 -85
  123. package/src/app/auth/callback/route.ts +0 -78
  124. package/src/app/favicon.ico +0 -0
  125. package/src/app/globals.css +0 -32
  126. package/src/app/layout.tsx +0 -22
  127. package/src/app/sitemap.ts +0 -26
  128. package/src/components/accent-picker.tsx +0 -62
  129. package/src/components/auth-slot.tsx +0 -96
  130. package/src/components/footer-wrapper.tsx +0 -8
  131. package/src/components/footer.tsx +0 -193
  132. package/src/components/hero-scene.tsx +0 -948
  133. package/src/components/hero-section.tsx +0 -57
  134. package/src/components/locale-switcher.tsx +0 -74
  135. package/src/components/logo.tsx +0 -51
  136. package/src/components/nav-server-wrapper.tsx +0 -22
  137. package/src/components/nav-wrapper.tsx +0 -45
  138. package/src/components/nav.tsx +0 -550
  139. package/src/components/paraglider-cursor.tsx +0 -112
  140. package/src/components/project-layout.tsx +0 -194
  141. package/src/components/theme-provider.tsx +0 -10
  142. package/src/components/theme-toggle-icon.tsx +0 -62
  143. package/src/components/theme-toggle.tsx +0 -39
  144. package/src/components/typography.tsx +0 -27
  145. package/src/components/ui/avatar.tsx +0 -109
  146. package/src/components/ui/badge.tsx +0 -47
  147. package/src/components/ui/button.tsx +0 -65
  148. package/src/components/ui/card.tsx +0 -106
  149. package/src/components/ui/dialog.tsx +0 -158
  150. package/src/components/ui/dropdown-menu.tsx +0 -257
  151. package/src/components/ui/input.tsx +0 -21
  152. package/src/components/ui/sonner.tsx +0 -54
  153. package/src/components/workflow-diagram.tsx +0 -414
  154. package/src/i18n/config.ts +0 -8
  155. package/src/i18n/request.ts +0 -16
  156. package/src/i18n/routing.ts +0 -12
  157. package/src/lib/supabase/client.ts +0 -18
  158. package/src/lib/supabase/middleware.ts +0 -42
  159. package/src/lib/supabase/server.ts +0 -37
  160. package/src/lib/utils.ts +0 -6
  161. package/src/proxy.ts +0 -62
  162. package/src/tokens/.gitkeep +0 -0
  163. package/src/tokens/color.json +0 -56
  164. package/src/tokens/radius.json +0 -9
  165. package/src/tokens/semantic.json +0 -81
  166. package/src/tokens/shadow.json +0 -7
  167. package/src/tokens/spacing.json +0 -16
  168. package/src/tokens/typography.json +0 -34
  169. package/src/types/i18n.d.ts +0 -6
  170. package/src/utils/.gitkeep +0 -0
@@ -0,0 +1,49 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
4
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __spreadValues = (a, b) => {
7
+ for (var prop in b || (b = {}))
8
+ if (__hasOwnProp.call(b, prop))
9
+ __defNormalProp(a, prop, b[prop]);
10
+ if (__getOwnPropSymbols)
11
+ for (var prop of __getOwnPropSymbols(b)) {
12
+ if (__propIsEnum.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ }
15
+ return a;
16
+ };
17
+ var __objRest = (source, exclude) => {
18
+ var target = {};
19
+ for (var prop in source)
20
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
21
+ target[prop] = source[prop];
22
+ if (source != null && __getOwnPropSymbols)
23
+ for (var prop of __getOwnPropSymbols(source)) {
24
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
25
+ target[prop] = source[prop];
26
+ }
27
+ return target;
28
+ };
29
+ import { jsx } from "react/jsx-runtime";
30
+ import { cn } from "../../lib/utils.js";
31
+ function Input(_a) {
32
+ var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
33
+ return /* @__PURE__ */ jsx(
34
+ "input",
35
+ __spreadValues({
36
+ type,
37
+ "data-slot": "input",
38
+ className: cn(
39
+ "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground ui-control ui-focus border-input w-full min-w-0 rounded-md border bg-background px-3 py-1 text-base transition-colors duration-(--ui-motion-fast) file:inline-flex file:h-7 file:border-0 file:bg-background file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 ",
40
+ "ui-focus",
41
+ "aria-invalid:border-error",
42
+ className
43
+ )
44
+ }, props)
45
+ );
46
+ }
47
+ export {
48
+ Input
49
+ };
@@ -0,0 +1,16 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as react from 'react';
3
+ import { Select as Select$1 } from 'radix-ui';
4
+
5
+ declare const Select: react.FC<Select$1.SelectProps>;
6
+ declare const SelectValue: react.ForwardRefExoticComponent<Select$1.SelectValueProps & react.RefAttributes<HTMLSpanElement>>;
7
+ declare const SelectGroup: react.ForwardRefExoticComponent<Select$1.SelectGroupProps & react.RefAttributes<HTMLDivElement>>;
8
+ declare function SelectTrigger({ className, children, ...props }: react.ComponentProps<typeof Select$1.Trigger>): react_jsx_runtime.JSX.Element;
9
+ declare function SelectContent({ ref, className, children, position, sideOffset, ...props }: react.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
10
+ declare function SelectItem({ className, children, ...props }: react.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
11
+ declare function SelectLabel({ className, ...props }: react.ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
12
+ declare function SelectSeparator({ className, ...props }: react.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
13
+ declare function SelectScrollUpButton({ className, ...props }: react.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
14
+ declare function SelectScrollDownButton({ className, ...props }: react.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
15
+
16
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -0,0 +1,197 @@
1
+ "use client";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __spreadValues = (a, b) => {
10
+ for (var prop in b || (b = {}))
11
+ if (__hasOwnProp.call(b, prop))
12
+ __defNormalProp(a, prop, b[prop]);
13
+ if (__getOwnPropSymbols)
14
+ for (var prop of __getOwnPropSymbols(b)) {
15
+ if (__propIsEnum.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ }
18
+ return a;
19
+ };
20
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
+ var __objRest = (source, exclude) => {
22
+ var target = {};
23
+ for (var prop in source)
24
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
+ target[prop] = source[prop];
26
+ if (source != null && __getOwnPropSymbols)
27
+ for (var prop of __getOwnPropSymbols(source)) {
28
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
+ target[prop] = source[prop];
30
+ }
31
+ return target;
32
+ };
33
+ import { jsx, jsxs } from "react/jsx-runtime";
34
+ import { Select as Primitive } from "radix-ui";
35
+ import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
36
+ import { cn } from "../../lib/utils.js";
37
+ import { useOverlayRef, useRadixHiddenInert } from "../../lib/design/modal-inert.js";
38
+ const Select = Primitive.Root;
39
+ const SelectValue = Primitive.Value;
40
+ const SelectGroup = Primitive.Group;
41
+ function SelectTrigger(_a) {
42
+ var _b = _a, {
43
+ className,
44
+ children
45
+ } = _b, props = __objRest(_b, [
46
+ "className",
47
+ "children"
48
+ ]);
49
+ return /* @__PURE__ */ jsxs(
50
+ Primitive.Trigger,
51
+ __spreadProps(__spreadValues({
52
+ "data-slot": "select-trigger",
53
+ className: cn(
54
+ "ui-control ui-focus flex w-full items-center justify-between gap-2 border border-input bg-background px-3 text-left text-foreground disabled:cursor-not-allowed disabled:opacity-45 data-[placeholder]:text-muted-foreground [&>span]:min-w-0 [&>span]:truncate",
55
+ className
56
+ )
57
+ }, props), {
58
+ children: [
59
+ children,
60
+ /* @__PURE__ */ jsx(Primitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4 shrink-0" }) })
61
+ ]
62
+ })
63
+ );
64
+ }
65
+ function SelectContent(_c) {
66
+ var _d = _c, {
67
+ ref,
68
+ className,
69
+ children,
70
+ position = "popper",
71
+ sideOffset = 6
72
+ } = _d, props = __objRest(_d, [
73
+ "ref",
74
+ "className",
75
+ "children",
76
+ "position",
77
+ "sideOffset"
78
+ ]);
79
+ const [content, contentRef] = useOverlayRef(ref);
80
+ useRadixHiddenInert(content);
81
+ return /* @__PURE__ */ jsx(Primitive.Portal, { children: /* @__PURE__ */ jsxs(
82
+ Primitive.Content,
83
+ __spreadProps(__spreadValues({
84
+ ref: contentRef,
85
+ "data-slot": "select-content",
86
+ position,
87
+ sideOffset,
88
+ className: cn(
89
+ "ui-menu ui-popup z-50 max-h-(--radix-select-content-available-height) min-w-(--radix-select-trigger-width) max-w-[calc(100vw-24px)] overflow-hidden",
90
+ className
91
+ )
92
+ }, props), {
93
+ children: [
94
+ /* @__PURE__ */ jsx(SelectScrollUpButton, {}),
95
+ /* @__PURE__ */ jsx(Primitive.Viewport, { className: "p-1", children }),
96
+ /* @__PURE__ */ jsx(SelectScrollDownButton, {})
97
+ ]
98
+ })
99
+ ) });
100
+ }
101
+ function SelectItem(_e) {
102
+ var _f = _e, {
103
+ className,
104
+ children
105
+ } = _f, props = __objRest(_f, [
106
+ "className",
107
+ "children"
108
+ ]);
109
+ return /* @__PURE__ */ jsxs(
110
+ Primitive.Item,
111
+ __spreadProps(__spreadValues({
112
+ "data-slot": "select-item",
113
+ className: cn(
114
+ "relative flex cursor-default items-center rounded-sm py-2 pr-9 pl-3 text-base outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-45",
115
+ className
116
+ )
117
+ }, props), {
118
+ children: [
119
+ /* @__PURE__ */ jsx(Primitive.ItemText, { children }),
120
+ /* @__PURE__ */ jsx(Primitive.ItemIndicator, { className: "absolute right-3", children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) })
121
+ ]
122
+ })
123
+ );
124
+ }
125
+ function SelectLabel(_g) {
126
+ var _h = _g, {
127
+ className
128
+ } = _h, props = __objRest(_h, [
129
+ "className"
130
+ ]);
131
+ return /* @__PURE__ */ jsx(
132
+ Primitive.Label,
133
+ __spreadValues({
134
+ "data-slot": "select-label",
135
+ className: cn(
136
+ "px-3 py-2 text-sm font-medium text-muted-foreground",
137
+ className
138
+ )
139
+ }, props)
140
+ );
141
+ }
142
+ function SelectSeparator(_i) {
143
+ var _j = _i, {
144
+ className
145
+ } = _j, props = __objRest(_j, [
146
+ "className"
147
+ ]);
148
+ return /* @__PURE__ */ jsx(
149
+ Primitive.Separator,
150
+ __spreadValues({
151
+ "data-slot": "select-separator",
152
+ className: cn("my-1 h-px bg-border", className)
153
+ }, props)
154
+ );
155
+ }
156
+ function SelectScrollUpButton(_k) {
157
+ var _l = _k, {
158
+ className
159
+ } = _l, props = __objRest(_l, [
160
+ "className"
161
+ ]);
162
+ return /* @__PURE__ */ jsx(
163
+ Primitive.ScrollUpButton,
164
+ __spreadProps(__spreadValues({
165
+ className: cn("flex h-8 items-center justify-center", className)
166
+ }, props), {
167
+ children: /* @__PURE__ */ jsx(ChevronUpIcon, { className: "size-4" })
168
+ })
169
+ );
170
+ }
171
+ function SelectScrollDownButton(_m) {
172
+ var _n = _m, {
173
+ className
174
+ } = _n, props = __objRest(_n, [
175
+ "className"
176
+ ]);
177
+ return /* @__PURE__ */ jsx(
178
+ Primitive.ScrollDownButton,
179
+ __spreadProps(__spreadValues({
180
+ className: cn("flex h-8 items-center justify-center", className)
181
+ }, props), {
182
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" })
183
+ })
184
+ );
185
+ }
186
+ export {
187
+ Select,
188
+ SelectContent,
189
+ SelectGroup,
190
+ SelectItem,
191
+ SelectLabel,
192
+ SelectScrollDownButton,
193
+ SelectScrollUpButton,
194
+ SelectSeparator,
195
+ SelectTrigger,
196
+ SelectValue
197
+ };
@@ -0,0 +1,6 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ToasterProps } from 'sonner';
3
+
4
+ declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
5
+
6
+ export { Toaster };
@@ -0,0 +1,80 @@
1
+ "use client";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
6
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7
+ var __spreadValues = (a, b) => {
8
+ for (var prop in b || (b = {}))
9
+ if (__hasOwnProp.call(b, prop))
10
+ __defNormalProp(a, prop, b[prop]);
11
+ if (__getOwnPropSymbols)
12
+ for (var prop of __getOwnPropSymbols(b)) {
13
+ if (__propIsEnum.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ }
16
+ return a;
17
+ };
18
+ var __objRest = (source, exclude) => {
19
+ var target = {};
20
+ for (var prop in source)
21
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
22
+ target[prop] = source[prop];
23
+ if (source != null && __getOwnPropSymbols)
24
+ for (var prop of __getOwnPropSymbols(source)) {
25
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
26
+ target[prop] = source[prop];
27
+ }
28
+ return target;
29
+ };
30
+ import { jsx } from "react/jsx-runtime";
31
+ import {
32
+ CircleCheckIcon,
33
+ InfoIcon,
34
+ Loader2Icon,
35
+ OctagonXIcon,
36
+ TriangleAlertIcon
37
+ } from "lucide-react";
38
+ import { useTheme } from "next-themes";
39
+ import { Toaster as Sonner } from "sonner";
40
+ const Toaster = (_a) => {
41
+ var props = __objRest(_a, []);
42
+ const { theme = "system" } = useTheme();
43
+ return /* @__PURE__ */ jsx(
44
+ Sonner,
45
+ __spreadValues({
46
+ theme,
47
+ className: "toaster group font-sans",
48
+ position: "bottom-right",
49
+ duration: 4e3,
50
+ icons: {
51
+ success: /* @__PURE__ */ jsx(CircleCheckIcon, { className: "size-4" }),
52
+ info: /* @__PURE__ */ jsx(InfoIcon, { className: "size-4" }),
53
+ warning: /* @__PURE__ */ jsx(TriangleAlertIcon, { className: "size-4" }),
54
+ error: /* @__PURE__ */ jsx(OctagonXIcon, { className: "size-4" }),
55
+ loading: /* @__PURE__ */ jsx(Loader2Icon, { className: "size-4 animate-spin" })
56
+ },
57
+ style: {
58
+ "--normal-bg": "var(--popover)",
59
+ "--normal-text": "var(--card-foreground)",
60
+ "--normal-border": "var(--border-strong)",
61
+ "--success-bg": "var(--popover)",
62
+ "--success-text": "var(--success)",
63
+ "--success-border": "var(--border-strong)",
64
+ "--error-bg": "var(--popover)",
65
+ "--error-text": "var(--error)",
66
+ "--error-border": "var(--border-strong)",
67
+ "--info-bg": "var(--popover)",
68
+ "--info-text": "var(--info)",
69
+ "--info-border": "var(--border-strong)",
70
+ "--warning-bg": "var(--popover)",
71
+ "--warning-text": "var(--warning)",
72
+ "--warning-border": "var(--border-strong)",
73
+ "--border-radius": "var(--radius-md-value)"
74
+ }
75
+ }, props)
76
+ );
77
+ };
78
+ export {
79
+ Toaster
80
+ };
@@ -0,0 +1,7 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as react from 'react';
3
+ import { Switch as Switch$1 } from 'radix-ui';
4
+
5
+ declare function Switch({ className, ...props }: react.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime.JSX.Element;
6
+
7
+ export { Switch };
@@ -0,0 +1,54 @@
1
+ "use client";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __spreadValues = (a, b) => {
10
+ for (var prop in b || (b = {}))
11
+ if (__hasOwnProp.call(b, prop))
12
+ __defNormalProp(a, prop, b[prop]);
13
+ if (__getOwnPropSymbols)
14
+ for (var prop of __getOwnPropSymbols(b)) {
15
+ if (__propIsEnum.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ }
18
+ return a;
19
+ };
20
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
+ var __objRest = (source, exclude) => {
22
+ var target = {};
23
+ for (var prop in source)
24
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
+ target[prop] = source[prop];
26
+ if (source != null && __getOwnPropSymbols)
27
+ for (var prop of __getOwnPropSymbols(source)) {
28
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
+ target[prop] = source[prop];
30
+ }
31
+ return target;
32
+ };
33
+ import { jsx } from "react/jsx-runtime";
34
+ import { Switch as Primitive } from "radix-ui";
35
+ import { cn } from "../../lib/utils.js";
36
+ function Switch(_a) {
37
+ var _b = _a, {
38
+ className
39
+ } = _b, props = __objRest(_b, [
40
+ "className"
41
+ ]);
42
+ return /* @__PURE__ */ jsx(
43
+ Primitive.Root,
44
+ __spreadProps(__spreadValues({
45
+ "data-slot": "switch",
46
+ className: cn("ui-choice ui-focus", className)
47
+ }, props), {
48
+ children: /* @__PURE__ */ jsx(Primitive.Thumb, { "data-slot": "switch-thumb" })
49
+ })
50
+ );
51
+ }
52
+ export {
53
+ Switch
54
+ };
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as react from 'react';
3
+ import { Tabs as Tabs$1 } from 'radix-ui';
4
+
5
+ declare function Tabs({ className, ...props }: react.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime.JSX.Element;
6
+ declare function TabsList({ className, ...props }: react.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime.JSX.Element;
7
+ declare function TabsTrigger({ className, ...props }: react.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime.JSX.Element;
8
+ declare function TabsContent({ className, ...props }: react.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
9
+
10
+ export { Tabs, TabsContent, TabsList, TabsTrigger };
@@ -0,0 +1,57 @@
1
+ "use client";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
6
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7
+ var __spreadValues = (a, b) => {
8
+ for (var prop in b || (b = {}))
9
+ if (__hasOwnProp.call(b, prop))
10
+ __defNormalProp(a, prop, b[prop]);
11
+ if (__getOwnPropSymbols)
12
+ for (var prop of __getOwnPropSymbols(b)) {
13
+ if (__propIsEnum.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ }
16
+ return a;
17
+ };
18
+ var __objRest = (source, exclude) => {
19
+ var target = {};
20
+ for (var prop in source)
21
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
22
+ target[prop] = source[prop];
23
+ if (source != null && __getOwnPropSymbols)
24
+ for (var prop of __getOwnPropSymbols(source)) {
25
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
26
+ target[prop] = source[prop];
27
+ }
28
+ return target;
29
+ };
30
+ import { jsx } from "react/jsx-runtime";
31
+ import { Tabs as TabsPrimitive } from "radix-ui";
32
+ import { cn } from "../../lib/utils.js";
33
+ function Tabs(_a) {
34
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
35
+ return /* @__PURE__ */ jsx(TabsPrimitive.Root, __spreadValues({ "data-slot": "tabs", className: cn("ui-tabs min-w-0", className) }, props));
36
+ }
37
+ function TabsList(_c) {
38
+ var _d = _c, { className } = _d, props = __objRest(_d, ["className"]);
39
+ return /* @__PURE__ */ jsx(TabsPrimitive.List, __spreadValues({ "data-slot": "tabs-list", className: cn("ui-tabs-list", className) }, props));
40
+ }
41
+ function TabsTrigger(_e) {
42
+ var _f = _e, { className } = _f, props = __objRest(_f, ["className"]);
43
+ return /* @__PURE__ */ jsx(TabsPrimitive.Trigger, __spreadValues({ "data-slot": "tabs-trigger", className: cn(
44
+ "ui-tabs-trigger ui-control ui-focus h-auto min-h-(--ui-control-height) w-max max-w-full shrink-0 whitespace-normal break-words rounded-md border-b-2 px-3 text-base leading-normal font-medium disabled:cursor-not-allowed disabled:opacity-50",
45
+ className
46
+ ) }, props));
47
+ }
48
+ function TabsContent(_g) {
49
+ var _h = _g, { className } = _h, props = __objRest(_h, ["className"]);
50
+ return /* @__PURE__ */ jsx(TabsPrimitive.Content, __spreadValues({ "data-slot": "tabs-content", className: cn("ui-focus min-w-0 break-words", className) }, props));
51
+ }
52
+ export {
53
+ Tabs,
54
+ TabsContent,
55
+ TabsList,
56
+ TabsTrigger
57
+ };
@@ -0,0 +1,6 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as react from 'react';
3
+
4
+ declare function Textarea({ className, ...props }: react.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
5
+
6
+ export { Textarea };
@@ -0,0 +1,46 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
4
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __spreadValues = (a, b) => {
7
+ for (var prop in b || (b = {}))
8
+ if (__hasOwnProp.call(b, prop))
9
+ __defNormalProp(a, prop, b[prop]);
10
+ if (__getOwnPropSymbols)
11
+ for (var prop of __getOwnPropSymbols(b)) {
12
+ if (__propIsEnum.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ }
15
+ return a;
16
+ };
17
+ var __objRest = (source, exclude) => {
18
+ var target = {};
19
+ for (var prop in source)
20
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
21
+ target[prop] = source[prop];
22
+ if (source != null && __getOwnPropSymbols)
23
+ for (var prop of __getOwnPropSymbols(source)) {
24
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
25
+ target[prop] = source[prop];
26
+ }
27
+ return target;
28
+ };
29
+ import { jsx } from "react/jsx-runtime";
30
+ import { cn } from "../../lib/utils.js";
31
+ function Textarea(_a) {
32
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
33
+ return /* @__PURE__ */ jsx(
34
+ "textarea",
35
+ __spreadValues({
36
+ "data-slot": "textarea",
37
+ className: cn(
38
+ "ui-textarea ui-focus w-full min-w-0 resize-y rounded-md border border-input bg-background px-3 py-2 text-base leading-normal placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-error",
39
+ className
40
+ )
41
+ }, props)
42
+ );
43
+ }
44
+ export {
45
+ Textarea
46
+ };
@@ -0,0 +1,6 @@
1
+ declare const locales: readonly ["en", "ko", "ja"];
2
+ type Locale = (typeof locales)[number];
3
+ declare const defaultLocale: Locale;
4
+ declare const localeNames: Record<Locale, string>;
5
+
6
+ export { type Locale, defaultLocale, localeNames, locales };
@@ -0,0 +1,12 @@
1
+ const locales = ["en", "ko", "ja"];
2
+ const defaultLocale = "en";
3
+ const localeNames = {
4
+ en: "English",
5
+ ko: "\uD55C\uAD6D\uC5B4",
6
+ ja: "\u65E5\u672C\u8A9E"
7
+ };
8
+ export {
9
+ defaultLocale,
10
+ localeNames,
11
+ locales
12
+ };