boottent-design 0.1.259 → 0.1.261

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 (303) hide show
  1. package/dist/article-asset-card-DGa_XWK1.js +96 -0
  2. package/dist/article-asset-card-DRRl2BH8.cjs +1 -0
  3. package/dist/camp-card-DM2V71SW.cjs +1 -0
  4. package/dist/{camp-card-Bi7Li0p5.js → camp-card-nUdSAdXo.js} +70 -59
  5. package/dist/common-DeneXo5X.cjs +1 -0
  6. package/dist/common-zQ5XY0UN.js +11 -0
  7. package/dist/company-info-card-BXAempVI.cjs +1 -0
  8. package/dist/{company-info-card-D1U_poOk.js → company-info-card-DJTgItPu.js} +4 -3
  9. package/dist/components/article-asset-card.cjs.js +1 -1
  10. package/dist/components/article-asset-card.es.js +1 -1
  11. package/dist/components/camp-card.cjs.js +1 -1
  12. package/dist/components/camp-card.es.js +1 -1
  13. package/dist/components/company-info-card.cjs.js +1 -1
  14. package/dist/components/company-info-card.es.js +1 -1
  15. package/dist/components/dday-card.cjs.js +1 -0
  16. package/dist/components/dday-card.es.js +5 -0
  17. package/dist/components/event-asset-banner.cjs.js +1 -1
  18. package/dist/components/event-asset-banner.es.js +1 -1
  19. package/dist/components/event-card.cjs.js +1 -1
  20. package/dist/components/event-card.es.js +1 -1
  21. package/dist/components/lecturer-card.cjs.js +1 -1
  22. package/dist/components/lecturer-card.es.js +1 -1
  23. package/dist/components/main-banner-image.cjs.js +1 -1
  24. package/dist/components/main-banner-image.es.js +1 -1
  25. package/dist/components/mobile-camp-card.cjs.js +1 -1
  26. package/dist/components/mobile-camp-card.es.js +1 -1
  27. package/dist/components/portfolio-asset-card.cjs.js +1 -1
  28. package/dist/components/portfolio-asset-card.es.js +1 -1
  29. package/dist/components/premium-card.cjs.js +1 -1
  30. package/dist/components/premium-card.es.js +1 -1
  31. package/dist/components/title-tag-card.cjs.js +1 -1
  32. package/dist/components/title-tag-card.es.js +1 -1
  33. package/dist/components/youtube-video-modal.cjs.js +1 -1
  34. package/dist/components/youtube-video-modal.es.js +1 -1
  35. package/dist/components.cjs.js +1 -1
  36. package/dist/components.es.js +41 -39
  37. package/dist/dday-card-Diku8WyO.cjs +1 -0
  38. package/dist/dday-card-HrnKCR_0.js +140 -0
  39. package/dist/design-system/components/article-asset-card.md +1 -1
  40. package/dist/design-system/components/blog-review-card.md +1 -1
  41. package/dist/design-system/components/camp-card.md +1 -1
  42. package/dist/design-system/components/company-info-card.md +1 -1
  43. package/dist/design-system/components/dday-card.md +47 -0
  44. package/dist/design-system/components/environment-asset-photo.md +1 -1
  45. package/dist/design-system/components/event-asset-banner.md +1 -1
  46. package/dist/design-system/components/event-card.md +1 -3
  47. package/dist/design-system/components/lecturer-card.md +1 -1
  48. package/dist/design-system/components/main-banner-image.md +1 -1
  49. package/dist/design-system/components/mobile-camp-card.md +1 -1
  50. package/dist/design-system/components/partner-list-card.md +1 -1
  51. package/dist/design-system/components/portfolio-asset-card.md +1 -1
  52. package/dist/design-system/components/premium-card.md +1 -1
  53. package/dist/design-system/components/title-tag-card.md +2 -2
  54. package/dist/design-system/components/youtube-video-modal.md +1 -1
  55. package/dist/design-system/design-system.md +8 -6
  56. package/dist/design-system/tokens.md +1 -1
  57. package/dist/design-system/ui/accordion.md +1 -1
  58. package/dist/design-system/ui/alert-dialog.md +1 -1
  59. package/dist/design-system/ui/anchor.md +1 -1
  60. package/dist/design-system/ui/aspect-ratio.md +1 -1
  61. package/dist/design-system/ui/avatar.md +1 -1
  62. package/dist/design-system/ui/badge.md +1 -1
  63. package/dist/design-system/ui/button.md +1 -1
  64. package/dist/design-system/ui/calendar.md +1 -1
  65. package/dist/design-system/ui/callout.md +1 -1
  66. package/dist/design-system/ui/card-label.md +56 -0
  67. package/dist/design-system/ui/card.md +1 -1
  68. package/dist/design-system/ui/checkbox.md +1 -1
  69. package/dist/design-system/ui/circled-check-button.md +1 -1
  70. package/dist/design-system/ui/command.md +1 -1
  71. package/dist/design-system/ui/dialog.md +1 -1
  72. package/dist/design-system/ui/dropdown-menu.md +1 -1
  73. package/dist/design-system/ui/file-uploader.md +1 -1
  74. package/dist/design-system/ui/form.md +1 -1
  75. package/dist/design-system/ui/highlight-text.md +1 -1
  76. package/dist/design-system/ui/icons.md +1 -1
  77. package/dist/design-system/ui/image.md +1 -1
  78. package/dist/design-system/ui/input.md +1 -1
  79. package/dist/design-system/ui/label.md +1 -1
  80. package/dist/design-system/ui/month-picker.md +1 -1
  81. package/dist/design-system/ui/multi-select.md +1 -1
  82. package/dist/design-system/ui/navigation-menu.md +1 -1
  83. package/dist/design-system/ui/popover.md +1 -1
  84. package/dist/design-system/ui/portal.md +64 -0
  85. package/dist/design-system/ui/progress.md +1 -1
  86. package/dist/design-system/ui/radio-group.md +1 -1
  87. package/dist/design-system/ui/scroll-area.md +1 -1
  88. package/dist/design-system/ui/select.md +1 -1
  89. package/dist/design-system/ui/separator.md +1 -1
  90. package/dist/design-system/ui/simple-table.md +1 -1
  91. package/dist/design-system/ui/skeleton.md +1 -1
  92. package/dist/design-system/ui/slider.md +1 -1
  93. package/dist/design-system/ui/switch.md +1 -1
  94. package/dist/design-system/ui/symbols.md +1 -1
  95. package/dist/design-system/ui/tabs.md +1 -1
  96. package/dist/design-system/ui/tag.md +6 -4
  97. package/dist/design-system/ui/text.md +1 -1
  98. package/dist/design-system/ui/textarea.md +1 -1
  99. package/dist/design-system/ui/toast.md +9 -3
  100. package/dist/design-system/ui/toggle-group.md +1 -1
  101. package/dist/design-system/ui/toggle.md +1 -1
  102. package/dist/design-system/ui/tooltip.md +1 -1
  103. package/dist/design-system/usage.md +1 -1
  104. package/dist/design-system/when-to-use.md +5 -2
  105. package/dist/{event-asset-banner-CbhdfmpK.js → event-asset-banner-BW6nZaJq.js} +20 -27
  106. package/dist/event-asset-banner-m607rLD9.cjs +1 -0
  107. package/dist/event-card-580Y5jgk.js +137 -0
  108. package/dist/event-card-BlNRSE2x.cjs +1 -0
  109. package/dist/{lecturer-card-BlzA-YP6.js → lecturer-card-BBkqiic3.js} +4 -3
  110. package/dist/lecturer-card-C7E4UkU8.cjs +1 -0
  111. package/dist/{main-banner-image-BRLhiQJZ.js → main-banner-image-BYIEit_f.js} +33 -33
  112. package/dist/main-banner-image-By44s_XP.cjs +1 -0
  113. package/dist/{mobile-camp-card-B8rTQeTh.js → mobile-camp-card-1dxI-BCc.js} +28 -21
  114. package/dist/mobile-camp-card-D-5N6bex.cjs +1 -0
  115. package/dist/portfolio-asset-card-8mBpumTp.cjs +1 -0
  116. package/dist/{portfolio-asset-card-DEMARh53.js → portfolio-asset-card-mAkXH6Qc.js} +12 -11
  117. package/dist/{premium-card-CFQKDWqN.js → premium-card-CLC7dc-g.js} +48 -60
  118. package/dist/premium-card-CThRJYXd.cjs +1 -0
  119. package/dist/styles.css +1 -1
  120. package/dist/title-tag-card-C-AvnXtC.cjs +1 -0
  121. package/dist/{title-tag-card-Iowzns_v.js → title-tag-card-hb6ub3gc.js} +59 -81
  122. package/dist/tokens.cjs.js +1 -1
  123. package/dist/tokens.es.js +18 -11
  124. package/dist/types/article-asset-card.d.ts +7 -29
  125. package/dist/types/badge.d.ts +1 -1
  126. package/dist/types/button.d.ts +2 -2
  127. package/dist/types/card-label.d.ts +15 -0
  128. package/dist/types/command.d.ts +6 -6
  129. package/dist/types/components/dday-card.d.ts +2 -0
  130. package/dist/types/components.d.ts +32 -34
  131. package/dist/types/dday-card.d.ts +32 -0
  132. package/dist/types/event-asset-banner.d.ts +1 -1
  133. package/dist/types/event-card.d.ts +1 -3
  134. package/dist/types/multi-select.d.ts +2 -2
  135. package/dist/types/portal.d.ts +179 -0
  136. package/dist/types/tag.d.ts +2 -2
  137. package/dist/types/text.d.ts +2 -2
  138. package/dist/types/title-tag-card.d.ts +8 -1
  139. package/dist/types/toast.d.ts +31 -2
  140. package/dist/types/toggle-group.d.ts +2 -2
  141. package/dist/types/toggle.d.ts +2 -2
  142. package/dist/types/tokens.d.ts +48 -33
  143. package/dist/types/tooltip.d.ts +1 -1
  144. package/dist/types/ui/accordion.d.ts +1 -1
  145. package/dist/types/ui/alert-dialog.d.ts +1 -1
  146. package/dist/types/ui/anchor.d.ts +1 -1
  147. package/dist/types/ui/aspect-ratio.d.ts +1 -1
  148. package/dist/types/ui/avatar.d.ts +1 -1
  149. package/dist/types/ui/badge.d.ts +1 -1
  150. package/dist/types/ui/button.d.ts +1 -1
  151. package/dist/types/ui/calendar.d.ts +1 -1
  152. package/dist/types/ui/callout.d.ts +1 -1
  153. package/dist/types/ui/card-label.d.ts +2 -0
  154. package/dist/types/ui/card.d.ts +1 -1
  155. package/dist/types/ui/checkbox.d.ts +1 -1
  156. package/dist/types/ui/circled-check-button.d.ts +1 -1
  157. package/dist/types/ui/command.d.ts +1 -1
  158. package/dist/types/ui/dialog.d.ts +1 -1
  159. package/dist/types/ui/dropdown-menu.d.ts +1 -1
  160. package/dist/types/ui/file-uploader.d.ts +1 -1
  161. package/dist/types/ui/form.d.ts +1 -1
  162. package/dist/types/ui/highlight-text.d.ts +1 -1
  163. package/dist/types/ui/icons.d.ts +1 -1
  164. package/dist/types/ui/image.d.ts +1 -1
  165. package/dist/types/ui/input.d.ts +1 -1
  166. package/dist/types/ui/label.d.ts +1 -1
  167. package/dist/types/ui/month-picker.d.ts +1 -1
  168. package/dist/types/ui/multi-select.d.ts +1 -1
  169. package/dist/types/ui/navigation-menu.d.ts +1 -1
  170. package/dist/types/ui/popover.d.ts +1 -1
  171. package/dist/types/ui/portal.d.ts +2 -0
  172. package/dist/types/ui/progress.d.ts +1 -1
  173. package/dist/types/ui/radio-group.d.ts +1 -1
  174. package/dist/types/ui/scroll-area.d.ts +1 -1
  175. package/dist/types/ui/select.d.ts +1 -1
  176. package/dist/types/ui/separator.d.ts +1 -1
  177. package/dist/types/ui/simple-table.d.ts +1 -1
  178. package/dist/types/ui/skeleton.d.ts +1 -1
  179. package/dist/types/ui/slider.d.ts +1 -1
  180. package/dist/types/ui/switch.d.ts +1 -1
  181. package/dist/types/ui/symbols.d.ts +1 -1
  182. package/dist/types/ui/tabs.d.ts +1 -1
  183. package/dist/types/ui/tag.d.ts +1 -1
  184. package/dist/types/ui/text.d.ts +1 -1
  185. package/dist/types/ui/textarea.d.ts +1 -1
  186. package/dist/types/ui/toast.d.ts +1 -1
  187. package/dist/types/ui/toggle-group.d.ts +1 -1
  188. package/dist/types/ui/toggle.d.ts +1 -1
  189. package/dist/types/ui/tooltip.d.ts +1 -1
  190. package/dist/types/ui.d.ts +56 -19
  191. package/dist/ui/accordion.cjs.js +1 -1
  192. package/dist/ui/accordion.es.js +1 -1
  193. package/dist/ui/alert-dialog.cjs.js +1 -1
  194. package/dist/ui/alert-dialog.es.js +1 -1
  195. package/dist/ui/anchor.cjs.js +1 -1
  196. package/dist/ui/anchor.es.js +1 -1
  197. package/dist/ui/avatar.cjs.js +1 -1
  198. package/dist/ui/avatar.es.js +1 -1
  199. package/dist/ui/badge.cjs.js +1 -1
  200. package/dist/ui/badge.es.js +1 -1
  201. package/dist/ui/button.cjs.js +1 -1
  202. package/dist/ui/button.es.js +1 -1
  203. package/dist/ui/calendar.cjs.js +1 -1
  204. package/dist/ui/calendar.es.js +1 -1
  205. package/dist/ui/callout.cjs.js +1 -1
  206. package/dist/ui/callout.es.js +1 -1
  207. package/dist/ui/card-label.cjs.js +1 -0
  208. package/dist/ui/card-label.es.js +27 -0
  209. package/dist/ui/card.cjs.js +1 -1
  210. package/dist/ui/card.es.js +1 -1
  211. package/dist/ui/checkbox.cjs.js +1 -1
  212. package/dist/ui/checkbox.es.js +1 -1
  213. package/dist/ui/command.cjs.js +1 -1
  214. package/dist/ui/command.es.js +1 -1
  215. package/dist/ui/dialog.cjs.js +1 -1
  216. package/dist/ui/dialog.es.js +1 -1
  217. package/dist/ui/dropdown-menu.cjs.js +1 -1
  218. package/dist/ui/dropdown-menu.es.js +1 -1
  219. package/dist/ui/file-uploader.cjs.js +1 -1
  220. package/dist/ui/file-uploader.es.js +1 -1
  221. package/dist/ui/form.cjs.js +1 -1
  222. package/dist/ui/form.es.js +1 -1
  223. package/dist/ui/icons.cjs.js +1 -1
  224. package/dist/ui/icons.es.js +1 -1
  225. package/dist/ui/image.cjs.js +1 -1
  226. package/dist/ui/image.es.js +1 -1
  227. package/dist/ui/input.cjs.js +1 -1
  228. package/dist/ui/input.es.js +1 -1
  229. package/dist/ui/label.cjs.js +1 -1
  230. package/dist/ui/label.es.js +1 -1
  231. package/dist/ui/month-picker.cjs.js +1 -1
  232. package/dist/ui/month-picker.es.js +1 -1
  233. package/dist/ui/multi-select.cjs.js +1 -1
  234. package/dist/ui/multi-select.es.js +1 -1
  235. package/dist/ui/navigation-menu.cjs.js +1 -1
  236. package/dist/ui/navigation-menu.es.js +1 -1
  237. package/dist/ui/popover.cjs.js +1 -1
  238. package/dist/ui/popover.es.js +1 -1
  239. package/dist/ui/portal.cjs.js +1 -0
  240. package/dist/ui/portal.es.js +561 -0
  241. package/dist/ui/progress.cjs.js +1 -1
  242. package/dist/ui/progress.es.js +1 -1
  243. package/dist/ui/radio-group.cjs.js +1 -1
  244. package/dist/ui/radio-group.es.js +1 -1
  245. package/dist/ui/scroll-area.cjs.js +1 -1
  246. package/dist/ui/scroll-area.es.js +1 -1
  247. package/dist/ui/select.cjs.js +1 -1
  248. package/dist/ui/select.es.js +1 -1
  249. package/dist/ui/separator.cjs.js +1 -1
  250. package/dist/ui/separator.es.js +1 -1
  251. package/dist/ui/simple-table.cjs.js +1 -1
  252. package/dist/ui/simple-table.es.js +1 -1
  253. package/dist/ui/skeleton.cjs.js +1 -1
  254. package/dist/ui/skeleton.es.js +1 -1
  255. package/dist/ui/slider.cjs.js +1 -1
  256. package/dist/ui/slider.es.js +1 -1
  257. package/dist/ui/switch.cjs.js +1 -1
  258. package/dist/ui/switch.es.js +1 -1
  259. package/dist/ui/tabs.cjs.js +1 -1
  260. package/dist/ui/tabs.es.js +1 -1
  261. package/dist/ui/tag.cjs.js +1 -1
  262. package/dist/ui/tag.es.js +6 -8
  263. package/dist/ui/text.cjs.js +1 -1
  264. package/dist/ui/text.es.js +1 -1
  265. package/dist/ui/textarea.cjs.js +1 -1
  266. package/dist/ui/textarea.es.js +1 -1
  267. package/dist/ui/toast.cjs.js +1 -1
  268. package/dist/ui/toast.es.js +202 -47
  269. package/dist/ui/toggle-group.cjs.js +1 -1
  270. package/dist/ui/toggle-group.es.js +1 -1
  271. package/dist/ui/toggle.cjs.js +1 -1
  272. package/dist/ui/toggle.es.js +1 -1
  273. package/dist/ui/tooltip.cjs.js +1 -1
  274. package/dist/ui/tooltip.es.js +1 -1
  275. package/dist/ui.cjs.js +1 -1
  276. package/dist/ui.es.js +166 -160
  277. package/dist/utils-CvQG8ZyC.js +36 -0
  278. package/dist/utils-DDqioO-T.cjs +1 -0
  279. package/dist/youtube-video-modal-CNTPCinc.cjs +1 -0
  280. package/dist/{youtube-video-modal-B_vy97Tt.js → youtube-video-modal-CrkV3YQc.js} +4 -3
  281. package/package.json +1 -1
  282. package/dist/article-asset-card-CGSemovn.cjs +0 -1
  283. package/dist/article-asset-card-D1Ipe86b.js +0 -97
  284. package/dist/camp-card-BRs3koNF.cjs +0 -1
  285. package/dist/common-C3JaD1vJ.js +0 -25
  286. package/dist/common-Ds1lanOg.cjs +0 -1
  287. package/dist/company-info-card-C00gMHAv.cjs +0 -1
  288. package/dist/event-asset-banner-BRsgu3Hc.cjs +0 -1
  289. package/dist/event-card-C1mSACOR.js +0 -158
  290. package/dist/event-card-DebLbRKd.cjs +0 -1
  291. package/dist/index-0QN4lVFQ.js +0 -130
  292. package/dist/index-B8SY6s5B.cjs +0 -1
  293. package/dist/index-DWvwbdTU.js +0 -44
  294. package/dist/index-Dhd1jlaC.cjs +0 -1
  295. package/dist/lecturer-card-CgSWLJ8r.cjs +0 -1
  296. package/dist/main-banner-image-Bh3AZqac.cjs +0 -1
  297. package/dist/mobile-camp-card-B4L0Eq0v.cjs +0 -1
  298. package/dist/portfolio-asset-card-BdS7kkkT.cjs +0 -1
  299. package/dist/premium-card-1vtWPIUr.cjs +0 -1
  300. package/dist/title-tag-card-MFpE2-Nb.cjs +0 -1
  301. package/dist/utils-B1DD9KJ8.js +0 -42
  302. package/dist/utils-B5U1QyKF.cjs +0 -1
  303. package/dist/youtube-video-modal-C4a0lovb.cjs +0 -1
@@ -0,0 +1,179 @@
1
+ import { ClassProp } from 'class-variance-authority/types';
2
+ import { default as default_2 } from 'react';
3
+ import { ForwardRefExoticComponent } from 'react';
4
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
5
+ import * as React_2 from 'react';
6
+ import { RefAttributes } from 'react';
7
+ import { RefObject } from 'react';
8
+ import { VariantProps } from 'class-variance-authority';
9
+
10
+ export declare const AlertForm: React_2.FC<AlertProps>;
11
+
12
+ export declare interface AlertProps {
13
+ id?: string;
14
+ open?: boolean;
15
+ title?: string;
16
+ description: string | default_2.ReactNode;
17
+ confirmText?: string;
18
+ onConfirm?: () => void;
19
+ size?: "sm" | "md" | "lg" | "fit";
20
+ onClose?: () => void;
21
+ theme?: ButtonProps["theme"];
22
+ children?: default_2.ReactNode;
23
+ forceMount?: true;
24
+ }
25
+
26
+ declare type BasePortalOptions<T extends PortalType> = {
27
+ id: string;
28
+ type: T;
29
+ props: PortalTypeMap[T];
30
+ };
31
+
32
+ declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
33
+ asChild?: boolean;
34
+ icLeft?: React_2.ReactNode;
35
+ icRight?: React_2.ReactNode;
36
+ }
37
+
38
+ declare const buttonVariants: (props?: ({
39
+ theme?: "primary" | "secondary" | "etc" | null | undefined;
40
+ size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
41
+ variant?: "text" | "solid" | "outline" | null | undefined;
42
+ shape?: "square" | "rounded" | null | undefined;
43
+ } & ClassProp) | undefined) => string;
44
+
45
+ export declare const DialogForm: default_2.ForwardRefExoticComponent<DialogProps & default_2.RefAttributes<HTMLDivElement>>;
46
+
47
+ export declare interface DialogProps {
48
+ id?: string;
49
+ title: string;
50
+ content: string | default_2.ReactNode;
51
+ onClose?: () => void;
52
+ size?: "sm" | "md" | "lg" | "xl" | "max" | "fit" | "full" | "auto";
53
+ description?: string | default_2.ReactNode;
54
+ className?: string;
55
+ open?: boolean;
56
+ onOpenChange?: (open: boolean) => void;
57
+ footer?: default_2.ReactNode;
58
+ children?: default_2.ReactNode;
59
+ forceMount?: true;
60
+ }
61
+
62
+ export declare const FreeForm: ForwardRefExoticComponent<FreeFormProps & RefAttributes<HTMLDivElement>>;
63
+
64
+ export declare interface FreeFormProps {
65
+ id?: string;
66
+ open?: boolean;
67
+ onClose?: () => void;
68
+ className?: string;
69
+ contents: default_2.ReactNode;
70
+ children?: default_2.ReactNode;
71
+ }
72
+
73
+ export declare const ModalForm: React_2.ForwardRefExoticComponent<ModalProps & React_2.RefAttributes<HTMLDivElement>>;
74
+
75
+ export declare type ModalProps = {
76
+ id?: string;
77
+ open?: boolean;
78
+ title?: string;
79
+ description?: string | default_2.ReactNode;
80
+ subDescription?: string | default_2.ReactNode;
81
+ size?: "sm" | "md" | "lg" | "fit";
82
+ onConfirm?: () => void;
83
+ confirmText?: string;
84
+ onCancel?: () => void;
85
+ cancelText?: string;
86
+ onClose?: () => void;
87
+ contents?: default_2.ReactNode;
88
+ className?: string;
89
+ theme?: ButtonProps["theme"];
90
+ forceMount?: true;
91
+ children?: default_2.ReactNode;
92
+ };
93
+
94
+ /**
95
+ * 매니저가 내부적으로 보관하는 엔트리 형태.
96
+ * `_openedAt` / `_forceClose` 는 외부에 노출되지 않는 일시적 내부 플래그다.
97
+ */
98
+ export declare type PortalEntry = PortalOptions & {
99
+ isOpen: boolean;
100
+ _openedAt?: number;
101
+ _forceClose?: boolean;
102
+ };
103
+
104
+ export declare type PortalListener = (entry: PortalEntry, isOpen: boolean) => void;
105
+
106
+ declare class PortalManager {
107
+ private listeners;
108
+ private portals;
109
+ private queue;
110
+ private isProcessing;
111
+ private pendingEvents;
112
+ private broadcastScheduled;
113
+ private openPortalsSnapshot;
114
+ private schedule;
115
+ private processQueue;
116
+ private scheduleBroadcast;
117
+ private isPortalOpen;
118
+ private rebuildSnapshot;
119
+ subscribe(listener: PortalListener): () => void;
120
+ openPortal<T extends PortalType>(type: T, props: PortalTypeMap[T] & {
121
+ id?: string;
122
+ }): string;
123
+ setPortalOpen(id: string, isOpen: boolean, trigger?: "force" | "default"): void;
124
+ updatePortal<T extends PortalType>(id: string, type: T, patch: Partial<PortalTypeMap[T]>): void;
125
+ closePortal(id: string): void;
126
+ forceClosePortal(id: string): void;
127
+ closeAllPortals(): void;
128
+ getIsPortalOpen(id: string): boolean;
129
+ getOpenPortals(): string[];
130
+ /** useSyncExternalStore getSnapshot: 변경 시에만 새 참조. */
131
+ getOpenPortalsSnapshot(): string[];
132
+ private generateId;
133
+ }
134
+
135
+ export declare const portalManager: PortalManager;
136
+
137
+ export declare type PortalOptions = {
138
+ [K in keyof PortalTypeMap]: BasePortalOptions<K>;
139
+ }[keyof PortalTypeMap];
140
+
141
+ export declare const PortalProvider: () => JSX_2.Element;
142
+
143
+ /**
144
+ * 포털로 띄울 수 있는 오버레이 종류.
145
+ * (토스트는 별도 시스템 `@/ui/toast` 으로 분리되어 있어 여기에 포함되지 않는다.)
146
+ */
147
+ export declare type PortalType = "modal" | "alert" | "dialog" | "custom";
148
+
149
+ export declare interface PortalTypeMap {
150
+ modal: ModalProps;
151
+ alert: AlertProps;
152
+ dialog: DialogProps;
153
+ custom: FreeFormProps;
154
+ }
155
+
156
+ export declare type SpecificPortalOptions<T extends PortalType> = BasePortalOptions<T>;
157
+
158
+ export declare const usePortal: () => {
159
+ open: <T extends PortalType>(type: T, props: (T extends "modal" ? ModalProps : T extends "alert" ? AlertProps : T extends "dialog" ? DialogProps : FreeFormProps) & {
160
+ onClose?: () => void;
161
+ }) => string;
162
+ confirm: (props: ModalProps) => string;
163
+ alert: (props: AlertProps | string) => string;
164
+ dialog: (props: DialogProps) => string;
165
+ custom: (props: FreeFormProps) => string;
166
+ getIsOpen: (id: string) => boolean;
167
+ closePortal: (id: string) => void;
168
+ forceClosePortal: (id: string) => void;
169
+ closeAllPortals: () => void;
170
+ openPortals: string[];
171
+ };
172
+
173
+ /**
174
+ * body 스타일을 건드리지 않고 배경 스크롤 입력만 차단한다.
175
+ * sticky 컨텍스트는 유지하면서 alert / modal 뒤쪽 페이지 스크롤만 막기 위한 훅이다.
176
+ */
177
+ export declare function usePortalBodyScrollLock(locked: boolean, contentRef: RefObject<HTMLElement | null>): void;
178
+
179
+ export { }
@@ -11,9 +11,9 @@ export declare interface TagProps extends React_2.HTMLAttributes<HTMLDivElement>
11
11
  }
12
12
 
13
13
  export declare const tagVariants: (props?: ({
14
- size?: "sm" | "md" | "lg" | "ad" | null | undefined;
14
+ size?: "sm" | "md" | "lg" | null | undefined;
15
15
  shape?: "round" | "square" | null | undefined;
16
- variant?: "etc" | "white" | "black" | "primary" | "secondary" | "outline" | "ad" | "solid-primary-50" | "solid-primary-100" | "solid-primary-600" | "solid-secondary-100" | "solid-secondary-400" | "solid-secondary-800" | "solid-red-400" | "solid-red-white" | "outline-primary-600" | "outline-secondary-200" | "red_white" | null | undefined;
16
+ variant?: "primary" | "white" | "black" | "secondary" | "etc" | "outline" | "solid-primary-50" | "solid-primary-100" | "solid-primary-600" | "solid-secondary-100" | "solid-secondary-400" | "solid-secondary-800" | "solid-red-400" | "solid-red-white" | "outline-primary-600" | "outline-secondary-200" | "red_white" | null | undefined;
17
17
  } & ClassProp) | undefined) => string;
18
18
 
19
19
  export { }
@@ -27,9 +27,9 @@ declare interface TagProps extends React_2.HTMLAttributes<HTMLDivElement>, Varia
27
27
  }
28
28
 
29
29
  declare const tagVariants: (props?: ({
30
- size?: "sm" | "md" | "lg" | "ad" | null | undefined;
30
+ size?: "sm" | "md" | "lg" | null | undefined;
31
31
  shape?: "round" | "square" | null | undefined;
32
- variant?: "etc" | "white" | "black" | "primary" | "secondary" | "outline" | "ad" | "solid-primary-50" | "solid-primary-100" | "solid-primary-600" | "solid-secondary-100" | "solid-secondary-400" | "solid-secondary-800" | "solid-red-400" | "solid-red-white" | "outline-primary-600" | "outline-secondary-200" | "red_white" | null | undefined;
32
+ variant?: "primary" | "white" | "black" | "secondary" | "etc" | "outline" | "solid-primary-50" | "solid-primary-100" | "solid-primary-600" | "solid-secondary-100" | "solid-secondary-400" | "solid-secondary-800" | "solid-red-400" | "solid-red-white" | "outline-primary-600" | "outline-secondary-200" | "red_white" | null | undefined;
33
33
  } & ClassProp) | undefined) => string;
34
34
 
35
35
  declare const Text_2: default_2.FC<TextProps> & {
@@ -24,9 +24,16 @@ export declare type TitleTagCardProps = ImageLoadingProps & {
24
24
  titleTagType?: string;
25
25
  adTitle?: string;
26
26
  changedAspect?: string;
27
- tags?: string[];
27
+ tags?: TitleTagCardTag[];
28
28
  isLoading?: boolean;
29
29
  className?: string;
30
30
  };
31
31
 
32
+ declare type TitleTagCardTag = {
33
+ value: string;
34
+ text: string;
35
+ color?: string;
36
+ background?: string;
37
+ };
38
+
32
39
  export { }
@@ -1,13 +1,22 @@
1
1
  import { ClassProp } from 'class-variance-authority/types';
2
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
2
3
  import * as React_2 from 'react';
3
4
  import * as ToastPrimitives from '@radix-ui/react-toast';
4
5
  import { VariantProps } from 'class-variance-authority';
5
6
 
6
7
  export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
7
8
  variant?: "white" | "black" | null | undefined;
8
- size?: "full" | "sm" | "md" | "lg" | "fit" | "xl" | null | undefined;
9
+ size?: "full" | "sm" | "md" | "lg" | "xl" | "fit" | null | undefined;
9
10
  } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
10
11
 
12
+ export declare function toast({ ...props }: Toast_2): {
13
+ id: string;
14
+ dismiss: () => void;
15
+ update: (props: ToasterProps) => void;
16
+ };
17
+
18
+ declare type Toast_2 = Omit<ToasterProps, "id">;
19
+
11
20
  export declare const ToastAction: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
12
21
 
13
22
  export declare type ToastActionElement = React_2.ReactElement<typeof ToastAction>;
@@ -16,6 +25,20 @@ export declare const ToastClose: React_2.ForwardRefExoticComponent<Omit<ToastPri
16
25
 
17
26
  export declare const ToastDescription: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
18
27
 
28
+ export declare type ToasterProps = ToastProps & ToastViewportProps & {
29
+ id?: string;
30
+ title?: React_2.ReactNode;
31
+ description?: React_2.ReactNode;
32
+ onAction?: () => void;
33
+ actionBtnText?: string | React_2.ReactNode;
34
+ closeButton?: boolean;
35
+ onClose?: () => void;
36
+ };
37
+
38
+ export declare function ToastForm(props: ToasterProps): JSX_2.Element;
39
+
40
+ export declare function ToastManager(): JSX_2.Element;
41
+
19
42
  export declare type ToastPositionsType = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
20
43
 
21
44
  export declare const toastPositionVariants: Record<ToastPositionsType, string>;
@@ -28,7 +51,7 @@ export declare const ToastTitle: React_2.ForwardRefExoticComponent<Omit<ToastPri
28
51
 
29
52
  export declare const toastVariants: (props?: ({
30
53
  variant?: "white" | "black" | null | undefined;
31
- size?: "full" | "sm" | "md" | "lg" | "fit" | "xl" | null | undefined;
54
+ size?: "full" | "sm" | "md" | "lg" | "xl" | "fit" | null | undefined;
32
55
  } & ClassProp) | undefined) => string;
33
56
 
34
57
  export declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React_2.RefAttributes<HTMLOListElement>, "ref"> & {
@@ -37,4 +60,10 @@ export declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<Toast
37
60
 
38
61
  export declare type ToastViewportProps = React_2.ComponentPropsWithoutRef<typeof ToastViewport>;
39
62
 
63
+ export declare function useToast(): {
64
+ toast: typeof toast;
65
+ dismiss: (toastId?: string) => void;
66
+ toasts: ToasterProps[];
67
+ };
68
+
40
69
  export { }
@@ -18,7 +18,7 @@ export declare type ToggleButtonType = "single" | "multiple";
18
18
  export declare const ToggleGroup: React_2.ForwardRefExoticComponent<((ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & VariantProps<(props?: ({
19
19
  variant?: "solid" | "outline" | null | undefined;
20
20
  theme?: "primary" | "secondary" | null | undefined;
21
- size?: "xs" | "sm" | "md" | "lg" | "icon" | null | undefined;
21
+ size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
22
22
  shape?: "square" | "rounded" | null | undefined;
23
23
  checked?: boolean | null | undefined;
24
24
  } & ClassProp) | undefined) => string>) & React_2.RefAttributes<HTMLDivElement>>;
@@ -42,7 +42,7 @@ declare interface ToggleGroupItemProps extends ToggleGroupPrimitive.ToggleGroupI
42
42
  declare const toggleVariants: (props?: ({
43
43
  variant?: "solid" | "outline" | null | undefined;
44
44
  theme?: "primary" | "secondary" | null | undefined;
45
- size?: "xs" | "sm" | "md" | "lg" | "icon" | null | undefined;
45
+ size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
46
46
  shape?: "square" | "rounded" | null | undefined;
47
47
  checked?: boolean | null | undefined;
48
48
  } & ClassProp) | undefined) => string;
@@ -6,7 +6,7 @@ import { VariantProps } from 'class-variance-authority';
6
6
  export declare const Toggle: React_2.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
7
7
  variant?: "solid" | "outline" | null | undefined;
8
8
  theme?: "primary" | "secondary" | null | undefined;
9
- size?: "xs" | "sm" | "md" | "lg" | "icon" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
10
10
  shape?: "square" | "rounded" | null | undefined;
11
11
  checked?: boolean | null | undefined;
12
12
  } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
@@ -14,7 +14,7 @@ export declare const Toggle: React_2.ForwardRefExoticComponent<Omit<TogglePrimit
14
14
  export declare const toggleVariants: (props?: ({
15
15
  variant?: "solid" | "outline" | null | undefined;
16
16
  theme?: "primary" | "secondary" | null | undefined;
17
- size?: "xs" | "sm" | "md" | "lg" | "icon" | null | undefined;
17
+ size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
18
18
  shape?: "square" | "rounded" | null | undefined;
19
19
  checked?: boolean | null | undefined;
20
20
  } & ClassProp) | undefined) => string;
@@ -1,27 +1,3 @@
1
- declare type AdProduct = {
2
- value: AdProductKey;
3
- text: string;
4
- color: string;
5
- background: string;
6
- };
7
-
8
- declare type AdProductKey = "mainBanner" | "premiumCard" | "event" | "dDay" | "titleTag";
9
-
10
- export declare const adProducts: Record<AdProductKey, AdProduct>;
11
-
12
- export declare const campCategoryColors: Record<string, CampCategoryType>;
13
-
14
- declare type CampCategoryType = {
15
- value: string;
16
- text: string;
17
- color: string;
18
- background: string;
19
- tags: {
20
- value: string;
21
- text: string;
22
- }[];
23
- };
24
-
25
1
  /**
26
2
  * @tokens Colors
27
3
  * @description boottent-design의 핵심 색상 시스템입니다.
@@ -108,15 +84,6 @@ export declare const colors: {
108
84
  };
109
85
  };
110
86
 
111
- export declare const defaultBannerColor: {
112
- background: string;
113
- title: string;
114
- description: string;
115
- button: string;
116
- buttonText: string;
117
- shadow: string;
118
- };
119
-
120
87
  export declare type FontSize = Record<string, FontSizeValue>;
121
88
 
122
89
  declare type FontSizeValue = [string, {
@@ -131,6 +98,54 @@ export declare const fontWeight: {
131
98
  regular: number;
132
99
  };
133
100
 
101
+ export declare type TagColorVariant = {
102
+ color: string;
103
+ background: string;
104
+ };
105
+
106
+ export declare const tagColorVariants: {
107
+ readonly grey: {
108
+ readonly color: string;
109
+ readonly background: string;
110
+ };
111
+ readonly primary: {
112
+ readonly color: string;
113
+ readonly background: string;
114
+ };
115
+ readonly green: {
116
+ readonly color: string;
117
+ readonly background: string;
118
+ };
119
+ readonly red: {
120
+ readonly color: string;
121
+ readonly background: string;
122
+ };
123
+ readonly orange: {
124
+ readonly color: string;
125
+ readonly background: string;
126
+ };
127
+ readonly blue: {
128
+ readonly color: string;
129
+ readonly background: string;
130
+ };
131
+ readonly pink: {
132
+ readonly color: string;
133
+ readonly background: string;
134
+ };
135
+ readonly teal: {
136
+ readonly color: string;
137
+ readonly background: string;
138
+ };
139
+ readonly brown: {
140
+ readonly color: string;
141
+ readonly background: string;
142
+ };
143
+ readonly lime: {
144
+ readonly color: string;
145
+ readonly background: string;
146
+ };
147
+ };
148
+
134
149
  export declare const typography: FontSize;
135
150
 
136
151
  export { }
@@ -18,7 +18,7 @@ declare type TooltipBubbleProps = {
18
18
  };
19
19
 
20
20
  export declare const TooltipContent: React_2.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
21
- variant?: "white" | "primary" | "secondary" | undefined;
21
+ variant?: "primary" | "white" | "secondary" | undefined;
22
22
  size?: "sm" | "md" | "lg" | undefined;
23
23
  icLeft?: React_2.ReactNode;
24
24
  icRight?: React_2.ReactNode;
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/accordion/index'
1
+ export * from '../accordion'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/alert-dialog/index'
1
+ export * from '../alert-dialog'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/anchor/index'
1
+ export * from '../anchor'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/aspect-ratio/index'
1
+ export * from '../aspect-ratio'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/avatar/index'
1
+ export * from '../avatar'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/badge/index'
1
+ export * from '../badge'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/button/index'
1
+ export * from '../button'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/calendar/index'
1
+ export * from '../calendar'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/callout/index'
1
+ export * from '../callout'
2
2
  export {}
@@ -0,0 +1,2 @@
1
+ export * from '../card-label'
2
+ export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/card/index'
1
+ export * from '../card'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/checkbox/index'
1
+ export * from '../checkbox'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/circled-check-button/index'
1
+ export * from '../circled-check-button'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/command/index'
1
+ export * from '../command'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/dialog/index'
1
+ export * from '../dialog'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/dropdown-menu/index'
1
+ export * from '../dropdown-menu'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/file-uploader/index'
1
+ export * from '../file-uploader'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/form/index'
1
+ export * from '../form'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/highlight-text/index'
1
+ export * from '../highlight-text'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/icons/index'
1
+ export * from '../icons'
2
2
  export {}
@@ -1,4 +1,4 @@
1
1
  export {}
2
- import _default from '../src/ui/image/index'
2
+ import _default from '../image'
3
3
  export default _default
4
4
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/input/index'
1
+ export * from '../input'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/label/index'
1
+ export * from '../label'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/month-picker/index'
1
+ export * from '../month-picker'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/multi-select/index'
1
+ export * from '../multi-select'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/navigation-menu/index'
1
+ export * from '../navigation-menu'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/popover/index'
1
+ export * from '../popover'
2
2
  export {}
@@ -0,0 +1,2 @@
1
+ export * from '../portal'
2
+ export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/progress/index'
1
+ export * from '../progress'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/radio-group/index'
1
+ export * from '../radio-group'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/scroll-area/index'
1
+ export * from '../scroll-area'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/select/index'
1
+ export * from '../select'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/separator/index'
1
+ export * from '../separator'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/simple-table/index'
1
+ export * from '../simple-table'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/skeleton/index'
1
+ export * from '../skeleton'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/slider/index'
1
+ export * from '../slider'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/switch/index'
1
+ export * from '../switch'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/symbols/index'
1
+ export * from '../symbols'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/tabs/index'
1
+ export * from '../tabs'
2
2
  export {}
@@ -1,2 +1,2 @@
1
- export * from '../src/ui/tag/index'
1
+ export * from '../tag'
2
2
  export {}