@conscience-technology/ovenn 0.0.0-stage → 0.7.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 (621) hide show
  1. package/README.md +189 -2
  2. package/assets/components/AIMessage/AIMessage.module.css +150 -0
  3. package/assets/components/AIMessage/AIMessage.tsx +106 -0
  4. package/assets/components/AIMessage/index.ts +2 -0
  5. package/assets/components/Accordion/Accordion.module.css +265 -0
  6. package/assets/components/Accordion/Accordion.tsx +209 -0
  7. package/assets/components/Accordion/index.ts +7 -0
  8. package/assets/components/AppFrame/AppFrame.module.css +200 -0
  9. package/assets/components/AppFrame/AppFrame.tsx +93 -0
  10. package/assets/components/AppFrame/index.ts +6 -0
  11. package/assets/components/AttachmentItem/AttachmentItem.module.css +124 -0
  12. package/assets/components/AttachmentItem/AttachmentItem.tsx +185 -0
  13. package/assets/components/AttachmentItem/index.ts +6 -0
  14. package/assets/components/AttachmentThumb/AttachmentThumb.module.css +141 -0
  15. package/assets/components/AttachmentThumb/AttachmentThumb.tsx +102 -0
  16. package/assets/components/AttachmentThumb/index.ts +2 -0
  17. package/assets/components/Avatar/Avatar.module.css +216 -0
  18. package/assets/components/Avatar/Avatar.tsx +283 -0
  19. package/assets/components/Avatar/index.ts +9 -0
  20. package/assets/components/AvatarUpload/AvatarUpload.module.css +83 -0
  21. package/assets/components/AvatarUpload/AvatarUpload.tsx +155 -0
  22. package/assets/components/AvatarUpload/index.ts +2 -0
  23. package/assets/components/Badge/Badge.module.css +178 -0
  24. package/assets/components/Badge/Badge.tsx +117 -0
  25. package/assets/components/Badge/index.ts +2 -0
  26. package/assets/components/BrandSet/BrandSetController.tsx +56 -0
  27. package/assets/components/BrandSet/index.ts +14 -0
  28. package/assets/components/BrandSet/resolve.ts +10 -0
  29. package/assets/components/BrandSet/types.ts +43 -0
  30. package/assets/components/Breadcrumb/Breadcrumb.module.css +281 -0
  31. package/assets/components/Breadcrumb/Breadcrumb.tsx +352 -0
  32. package/assets/components/Breadcrumb/index.ts +8 -0
  33. package/assets/components/Bubble/Bubble.module.css +71 -0
  34. package/assets/components/Bubble/Bubble.tsx +63 -0
  35. package/assets/components/Bubble/index.ts +2 -0
  36. package/assets/components/Button/Button.module.css +342 -0
  37. package/assets/components/Button/Button.tsx +217 -0
  38. package/assets/components/Button/index.ts +2 -0
  39. package/assets/components/ButtonGroup/ButtonGroup.tsx +22 -0
  40. package/assets/components/ButtonGroup/index.ts +5 -0
  41. package/assets/components/Calendar/Calendar.module.css +244 -0
  42. package/assets/components/Calendar/Calendar.tsx +419 -0
  43. package/assets/components/Calendar/index.ts +2 -0
  44. package/assets/components/Callout/Callout.module.css +147 -0
  45. package/assets/components/Callout/Callout.tsx +207 -0
  46. package/assets/components/Callout/index.ts +2 -0
  47. package/assets/components/Canvas/Canvas.module.css +75 -0
  48. package/assets/components/Canvas/Canvas.tsx +699 -0
  49. package/assets/components/Canvas/alignment.ts +34 -0
  50. package/assets/components/Canvas/clipboard.ts +30 -0
  51. package/assets/components/Canvas/collision.ts +67 -0
  52. package/assets/components/Canvas/edgeOptions.ts +11 -0
  53. package/assets/components/Canvas/graph.ts +11 -0
  54. package/assets/components/Canvas/history.ts +41 -0
  55. package/assets/components/Canvas/index.ts +4 -0
  56. package/assets/components/Canvas/selection.ts +56 -0
  57. package/assets/components/Canvas/tokens.css +61 -0
  58. package/assets/components/Canvas/types.ts +27 -0
  59. package/assets/components/Canvas/useCanvasSettlement.ts +79 -0
  60. package/assets/components/CanvasEdge/CanvasEdge.module.css +62 -0
  61. package/assets/components/CanvasEdge/CanvasEdge.tsx +121 -0
  62. package/assets/components/CanvasEdge/geometry.ts +350 -0
  63. package/assets/components/CanvasEdge/index.ts +4 -0
  64. package/assets/components/CanvasEdge/interactions.ts +14 -0
  65. package/assets/components/CanvasEdge/tokens.css +29 -0
  66. package/assets/components/CanvasNode/CanvasNode.module.css +314 -0
  67. package/assets/components/CanvasNode/CanvasNode.tsx +144 -0
  68. package/assets/components/CanvasNode/index.ts +2 -0
  69. package/assets/components/CanvasNode/runningOutline.ts +59 -0
  70. package/assets/components/CanvasNode/tokens.css +89 -0
  71. package/assets/components/Card/Card.module.css +127 -0
  72. package/assets/components/Card/Card.tsx +88 -0
  73. package/assets/components/Card/index.ts +2 -0
  74. package/assets/components/Chart/Chart.module.css +278 -0
  75. package/assets/components/Chart/Chart.tsx +385 -0
  76. package/assets/components/Chart/entrance.tsx +57 -0
  77. package/assets/components/Chart/index.ts +14 -0
  78. package/assets/components/ChatInput/ChatInput.module.css +378 -0
  79. package/assets/components/ChatInput/ChatInput.tsx +362 -0
  80. package/assets/components/ChatInput/ModelSelector.tsx +48 -0
  81. package/assets/components/ChatInput/SendButton.tsx +72 -0
  82. package/assets/components/ChatInput/index.ts +12 -0
  83. package/assets/components/Checkbox/Checkbox.module.css +186 -0
  84. package/assets/components/Checkbox/Checkbox.tsx +129 -0
  85. package/assets/components/Checkbox/index.ts +2 -0
  86. package/assets/components/CheckboxCard/CheckboxCard.module.css +1 -0
  87. package/assets/components/CheckboxCard/CheckboxCard.tsx +17 -0
  88. package/assets/components/CheckboxCard/index.ts +2 -0
  89. package/assets/components/Chip/Chip.module.css +209 -0
  90. package/assets/components/Chip/Chip.tsx +219 -0
  91. package/assets/components/Chip/index.ts +2 -0
  92. package/assets/components/Code/Code.module.css +26 -0
  93. package/assets/components/Code/Code.tsx +26 -0
  94. package/assets/components/Code/index.ts +2 -0
  95. package/assets/components/CodeBlock/CodeBlock.module.css +259 -0
  96. package/assets/components/CodeBlock/CodeBlock.tsx +283 -0
  97. package/assets/components/CodeBlock/copy-code.ts +15 -0
  98. package/assets/components/CodeBlock/index.ts +2 -0
  99. package/assets/components/ColorArea/ColorArea.module.css +148 -0
  100. package/assets/components/ColorArea/ColorArea.tsx +156 -0
  101. package/assets/components/ColorArea/index.ts +2 -0
  102. package/assets/components/ColorField/ColorField.module.css +201 -0
  103. package/assets/components/ColorField/ColorField.tsx +374 -0
  104. package/assets/components/ColorField/index.ts +2 -0
  105. package/assets/components/ColorPicker/ColorPicker.module.css +310 -0
  106. package/assets/components/ColorPicker/ColorPicker.tsx +387 -0
  107. package/assets/components/ColorPicker/index.ts +16 -0
  108. package/assets/components/ColorSlider/ColorSlider.module.css +170 -0
  109. package/assets/components/ColorSlider/ColorSlider.tsx +165 -0
  110. package/assets/components/ColorSlider/index.ts +15 -0
  111. package/assets/components/ColorSwatch/ColorSwatch.module.css +35 -0
  112. package/assets/components/ColorSwatch/ColorSwatch.tsx +69 -0
  113. package/assets/components/ColorSwatch/index.ts +2 -0
  114. package/assets/components/ColorSwatchPicker/ColorSwatchPicker.module.css +115 -0
  115. package/assets/components/ColorSwatchPicker/ColorSwatchPicker.tsx +183 -0
  116. package/assets/components/ColorSwatchPicker/index.ts +15 -0
  117. package/assets/components/Combobox/Combobox.module.css +13 -0
  118. package/assets/components/Combobox/Combobox.tsx +107 -0
  119. package/assets/components/Combobox/index.ts +2 -0
  120. package/assets/components/CommandPalette/CommandPalette.module.css +264 -0
  121. package/assets/components/CommandPalette/CommandPalette.tsx +425 -0
  122. package/assets/components/CommandPalette/index.ts +9 -0
  123. package/assets/components/CommandPalette/useCommandPaletteHotkey.ts +49 -0
  124. package/assets/components/Comment/Comment.module.css +25 -0
  125. package/assets/components/Comment/Comment.tsx +44 -0
  126. package/assets/components/Comment/CommentComposer.module.css +26 -0
  127. package/assets/components/Comment/CommentComposer.tsx +56 -0
  128. package/assets/components/Comment/CommentEditor.module.css +8 -0
  129. package/assets/components/Comment/CommentEditor.tsx +43 -0
  130. package/assets/components/Comment/CommentMentionInput.module.css +9 -0
  131. package/assets/components/Comment/CommentMentionInput.tsx +150 -0
  132. package/assets/components/Comment/index.ts +9 -0
  133. package/assets/components/Comment/types.ts +1 -0
  134. package/assets/components/ContextMenu/ContextMenu.module.css +121 -0
  135. package/assets/components/ContextMenu/ContextMenu.tsx +420 -0
  136. package/assets/components/ContextMenu/index.ts +9 -0
  137. package/assets/components/ControlGroup/ControlGroup.module.css +319 -0
  138. package/assets/components/ControlGroup/ControlGroup.tsx +69 -0
  139. package/assets/components/ControlGroup/context.tsx +12 -0
  140. package/assets/components/ControlGroup/index.ts +3 -0
  141. package/assets/components/ControlGroup/size.ts +9 -0
  142. package/assets/components/DataTable/DataTable.module.css +57 -0
  143. package/assets/components/DataTable/DataTable.tsx +137 -0
  144. package/assets/components/DataTable/index.ts +4 -0
  145. package/assets/components/DataTable/state.ts +34 -0
  146. package/assets/components/DatePicker/Calendar.tsx +485 -0
  147. package/assets/components/DatePicker/DESIGN_NOTES.md +106 -0
  148. package/assets/components/DatePicker/DESIGN_NOTES_TIME.md +125 -0
  149. package/assets/components/DatePicker/DateField.tsx +303 -0
  150. package/assets/components/DatePicker/DatePicker.module.css +623 -0
  151. package/assets/components/DatePicker/DatePicker.tsx +530 -0
  152. package/assets/components/DatePicker/TimeSelector.tsx +77 -0
  153. package/assets/components/DatePicker/index.ts +11 -0
  154. package/assets/components/DatePicker/presets.ts +84 -0
  155. package/assets/components/DatePicker/utils.ts +214 -0
  156. package/assets/components/Disclosure/Disclosure.module.css +74 -0
  157. package/assets/components/Disclosure/Disclosure.tsx +129 -0
  158. package/assets/components/Disclosure/index.ts +6 -0
  159. package/assets/components/Drawer/Drawer.module.css +197 -0
  160. package/assets/components/Drawer/Drawer.tsx +230 -0
  161. package/assets/components/Drawer/index.ts +15 -0
  162. package/assets/components/DropdownMenu/DropdownMenu.module.css +26 -0
  163. package/assets/components/DropdownMenu/DropdownMenu.tsx +400 -0
  164. package/assets/components/DropdownMenu/index.ts +9 -0
  165. package/assets/components/EmptyState/EmptyState.module.css +102 -0
  166. package/assets/components/EmptyState/EmptyState.tsx +80 -0
  167. package/assets/components/EmptyState/index.ts +2 -0
  168. package/assets/components/EventChip/EventChip.module.css +143 -0
  169. package/assets/components/EventChip/EventChip.tsx +95 -0
  170. package/assets/components/EventChip/index.ts +2 -0
  171. package/assets/components/EventListItem/EventListItem.module.css +223 -0
  172. package/assets/components/EventListItem/EventListItem.tsx +233 -0
  173. package/assets/components/EventListItem/index.ts +8 -0
  174. package/assets/components/FileIcon/FileIcon.module.css +78 -0
  175. package/assets/components/FileIcon/FileIcon.tsx +142 -0
  176. package/assets/components/FileIcon/fileExtMap.ts +166 -0
  177. package/assets/components/FileIcon/index.ts +9 -0
  178. package/assets/components/FileUpload/FileUpload.module.css +19 -0
  179. package/assets/components/FileUpload/FileUpload.tsx +96 -0
  180. package/assets/components/FileUpload/FileUploadItem.tsx +34 -0
  181. package/assets/components/FileUpload/index.ts +2 -0
  182. package/assets/components/FileUpload/utils.ts +8 -0
  183. package/assets/components/GalleryItem/GalleryItem.module.css +217 -0
  184. package/assets/components/GalleryItem/GalleryItem.tsx +163 -0
  185. package/assets/components/GalleryItem/index.ts +7 -0
  186. package/assets/components/GeneratedImage/GeneratedImage.module.css +93 -0
  187. package/assets/components/GeneratedImage/GeneratedImage.tsx +84 -0
  188. package/assets/components/GeneratedImage/index.ts +5 -0
  189. package/assets/components/Hint/Hint.module.css +75 -0
  190. package/assets/components/Hint/Hint.tsx +89 -0
  191. package/assets/components/Hint/index.ts +2 -0
  192. package/assets/components/Icon/Icon.tsx +654 -0
  193. package/assets/components/Icon/LucideFamilyIcon.tsx +434 -0
  194. package/assets/components/Icon/MissingIcon.tsx +25 -0
  195. package/assets/components/Icon/SolarFamilyIcon.tsx +439 -0
  196. package/assets/components/Icon/catalogNames.ts +8 -0
  197. package/assets/components/Icon/context.tsx +39 -0
  198. package/assets/components/Icon/index.ts +6 -0
  199. package/assets/components/Icon/lucideCatalog.ts +11358 -0
  200. package/assets/components/Icon/phosphorCatalog.ts +3052 -0
  201. package/assets/components/Icon/solarCatalog.ts +16064 -0
  202. package/assets/components/IconButton/IconButton.module.css +117 -0
  203. package/assets/components/IconButton/IconButton.tsx +113 -0
  204. package/assets/components/IconButton/index.ts +2 -0
  205. package/assets/components/Input/Input.module.css +375 -0
  206. package/assets/components/Input/Input.tsx +424 -0
  207. package/assets/components/Input/index.ts +2 -0
  208. package/assets/components/Kanban/Kanban.module.css +353 -0
  209. package/assets/components/Kanban/Kanban.tsx +371 -0
  210. package/assets/components/Kanban/index.ts +10 -0
  211. package/assets/components/ListItem/ListItem.module.css +235 -0
  212. package/assets/components/ListItem/ListItem.tsx +262 -0
  213. package/assets/components/ListItem/index.ts +9 -0
  214. package/assets/components/MenuItem/MenuItem.module.css +603 -0
  215. package/assets/components/MenuItem/MenuItem.tsx +704 -0
  216. package/assets/components/MenuItem/index.ts +8 -0
  217. package/assets/components/MessageActions/MessageActions.module.css +79 -0
  218. package/assets/components/MessageActions/MessageActions.tsx +139 -0
  219. package/assets/components/MessageActions/index.ts +6 -0
  220. package/assets/components/MessageQuote/MessageQuote.module.css +30 -0
  221. package/assets/components/MessageQuote/MessageQuote.tsx +33 -0
  222. package/assets/components/MessageQuote/index.ts +2 -0
  223. package/assets/components/MessageSources/MessageSources.module.css +60 -0
  224. package/assets/components/MessageSources/MessageSources.tsx +60 -0
  225. package/assets/components/MessageSources/index.ts +2 -0
  226. package/assets/components/MessageState/MessageState.module.css +118 -0
  227. package/assets/components/MessageState/MessageState.tsx +150 -0
  228. package/assets/components/MessageState/index.ts +2 -0
  229. package/assets/components/MessageTable/MessageTable.module.css +59 -0
  230. package/assets/components/MessageTable/MessageTable.tsx +21 -0
  231. package/assets/components/MessageTable/index.ts +2 -0
  232. package/assets/components/MetricCard/MetricCard.module.css +141 -0
  233. package/assets/components/MetricCard/MetricCard.tsx +162 -0
  234. package/assets/components/MetricCard/index.ts +2 -0
  235. package/assets/components/MetricCard/tokens.css +10 -0
  236. package/assets/components/MiniCalendar/MiniCalendar.module.css +130 -0
  237. package/assets/components/MiniCalendar/MiniCalendar.tsx +161 -0
  238. package/assets/components/MiniCalendar/index.ts +2 -0
  239. package/assets/components/Modal/Modal.module.css +294 -0
  240. package/assets/components/Modal/Modal.tsx +402 -0
  241. package/assets/components/Modal/index.ts +22 -0
  242. package/assets/components/MultiSelect/MultiSelect.tsx +7 -0
  243. package/assets/components/MultiSelect/index.ts +2 -0
  244. package/assets/components/Onboarding/DocsIndex.tsx +102 -0
  245. package/assets/components/Onboarding/LayoutBuilder.tsx +166 -0
  246. package/assets/components/Onboarding/Onboarding.module.css +1494 -0
  247. package/assets/components/Onboarding/OnboardingAxisPanel.tsx +472 -0
  248. package/assets/components/Onboarding/OnboardingPage.tsx +1258 -0
  249. package/assets/components/Onboarding/PresetsGallery.tsx +56 -0
  250. package/assets/components/Onboarding/actions.ts +529 -0
  251. package/assets/components/Onboarding/index.ts +8 -0
  252. package/assets/components/Onboarding/palette.css +48 -0
  253. package/assets/components/Onboarding/wizardData.ts +529 -0
  254. package/assets/components/PageHeader/PageHeader.module.css +119 -0
  255. package/assets/components/PageHeader/PageHeader.tsx +126 -0
  256. package/assets/components/PageHeader/index.ts +2 -0
  257. package/assets/components/Pagination/Pagination.module.css +132 -0
  258. package/assets/components/Pagination/Pagination.tsx +294 -0
  259. package/assets/components/Pagination/index.ts +6 -0
  260. package/assets/components/ProgressBar/ProgressBar.module.css +127 -0
  261. package/assets/components/ProgressBar/ProgressBar.tsx +85 -0
  262. package/assets/components/ProgressBar/index.ts +6 -0
  263. package/assets/components/QuotationBar/QuotationBar.module.css +63 -0
  264. package/assets/components/QuotationBar/QuotationBar.tsx +60 -0
  265. package/assets/components/QuotationBar/index.ts +2 -0
  266. package/assets/components/Radio/Radio.module.css +125 -0
  267. package/assets/components/Radio/Radio.tsx +39 -0
  268. package/assets/components/Radio/index.ts +2 -0
  269. package/assets/components/RadioCard/RadioCard.module.css +283 -0
  270. package/assets/components/RadioCard/RadioCard.tsx +186 -0
  271. package/assets/components/RadioCard/index.ts +2 -0
  272. package/assets/components/SegmentedChart/SegmentedChart.module.css +237 -0
  273. package/assets/components/SegmentedChart/SegmentedChart.tsx +121 -0
  274. package/assets/components/SegmentedChart/index.ts +2 -0
  275. package/assets/components/Select/Select.module.css +161 -0
  276. package/assets/components/Select/Select.tsx +453 -0
  277. package/assets/components/Select/index.ts +10 -0
  278. package/assets/components/Shortcut/Shortcut.module.css +79 -0
  279. package/assets/components/Shortcut/Shortcut.tsx +206 -0
  280. package/assets/components/Shortcut/index.ts +2 -0
  281. package/assets/components/Sidebar/Sidebar.module.css +407 -0
  282. package/assets/components/Sidebar/Sidebar.tsx +585 -0
  283. package/assets/components/Sidebar/index.ts +7 -0
  284. package/assets/components/Skeleton/Skeleton.module.css +33 -0
  285. package/assets/components/Skeleton/Skeleton.tsx +20 -0
  286. package/assets/components/Skeleton/index.ts +2 -0
  287. package/assets/components/Skeleton/tokens.css +11 -0
  288. package/assets/components/Slider/Slider.module.css +137 -0
  289. package/assets/components/Slider/Slider.tsx +104 -0
  290. package/assets/components/Slider/index.ts +2 -0
  291. package/assets/components/Spinner/LottiePlayer.tsx +179 -0
  292. package/assets/components/Spinner/Spinner.module.css +208 -0
  293. package/assets/components/Spinner/Spinner.tsx +133 -0
  294. package/assets/components/Spinner/index.ts +10 -0
  295. package/assets/components/Spinner/lottieColor.ts +166 -0
  296. package/assets/components/Spinner/lottieManifest.ts +103 -0
  297. package/assets/components/Stepper/Stepper.module.css +378 -0
  298. package/assets/components/Stepper/Stepper.tsx +253 -0
  299. package/assets/components/Stepper/index.ts +2 -0
  300. package/assets/components/Switch/Switch.module.css +176 -0
  301. package/assets/components/Switch/Switch.tsx +77 -0
  302. package/assets/components/Switch/index.ts +2 -0
  303. package/assets/components/TabStrip/TabStrip.module.css +362 -0
  304. package/assets/components/TabStrip/TabStrip.tsx +404 -0
  305. package/assets/components/TabStrip/index.ts +7 -0
  306. package/assets/components/TableCell/TableCell.module.css +137 -0
  307. package/assets/components/TableCell/TableCellAvatar.tsx +66 -0
  308. package/assets/components/TableCell/TableCellBadge.tsx +30 -0
  309. package/assets/components/TableCell/TableCellImage.tsx +49 -0
  310. package/assets/components/TableCell/TableCellMeter.tsx +55 -0
  311. package/assets/components/TableCell/TableCellNumber.tsx +43 -0
  312. package/assets/components/TableCell/TableCellTag.tsx +23 -0
  313. package/assets/components/TableCell/TableCellText.tsx +33 -0
  314. package/assets/components/TableCell/index.ts +22 -0
  315. package/assets/components/TableHeader/TableHeader.module.css +355 -0
  316. package/assets/components/TableHeader/TableHeader.tsx +658 -0
  317. package/assets/components/TableHeader/index.ts +9 -0
  318. package/assets/components/TableRow/TableRow.module.css +355 -0
  319. package/assets/components/TableRow/TableRow.tsx +292 -0
  320. package/assets/components/TableRow/index.ts +8 -0
  321. package/assets/components/TableRowEdit/TableRowEdit.module.css +164 -0
  322. package/assets/components/TableRowEdit/TableRowEdit.tsx +279 -0
  323. package/assets/components/TableRowEdit/index.ts +2 -0
  324. package/assets/components/TableRowSelect/TableRowSelect.module.css +23 -0
  325. package/assets/components/TableRowSelect/TableRowSelect.tsx +173 -0
  326. package/assets/components/TableRowSelect/index.ts +2 -0
  327. package/assets/components/TableToolbar/TableToolbar.module.css +38 -0
  328. package/assets/components/TableToolbar/TableToolbar.tsx +105 -0
  329. package/assets/components/TableToolbar/index.ts +5 -0
  330. package/assets/components/Tabs/Tabs.module.css +387 -0
  331. package/assets/components/Tabs/Tabs.tsx +518 -0
  332. package/assets/components/Tabs/index.ts +9 -0
  333. package/assets/components/Tag/Tag.module.css +101 -0
  334. package/assets/components/Tag/Tag.tsx +55 -0
  335. package/assets/components/Tag/index.ts +2 -0
  336. package/assets/components/TemplateBoundary/TemplateBoundary.module.css +4 -0
  337. package/assets/components/TemplateBoundary/TemplateBoundary.tsx +54 -0
  338. package/assets/components/TemplateBoundary/index.ts +3 -0
  339. package/assets/components/TemplateBoundary/types.ts +25 -0
  340. package/assets/components/Textarea/Textarea.module.css +350 -0
  341. package/assets/components/Textarea/Textarea.tsx +438 -0
  342. package/assets/components/Textarea/index.ts +7 -0
  343. package/assets/components/ThemeController.tsx +396 -0
  344. package/assets/components/TimePicker/TimePicker.module.css +113 -0
  345. package/assets/components/TimePicker/TimePicker.tsx +424 -0
  346. package/assets/components/TimePicker/index.ts +8 -0
  347. package/assets/components/TimePicker/utils.ts +116 -0
  348. package/assets/components/TimelineView/TimelineEventBar.tsx +109 -0
  349. package/assets/components/TimelineView/TimelineView.module.css +203 -0
  350. package/assets/components/TimelineView/TimelineView.tsx +137 -0
  351. package/assets/components/TimelineView/axis.ts +62 -0
  352. package/assets/components/TimelineView/index.ts +3 -0
  353. package/assets/components/TimelineView/layout.ts +56 -0
  354. package/assets/components/TimelineView/move.ts +51 -0
  355. package/assets/components/TimelineView/useTimelineDrag.ts +215 -0
  356. package/assets/components/TimelineView/useTimelineZoom.ts +92 -0
  357. package/assets/components/Toast/Toast.module.css +334 -0
  358. package/assets/components/Toast/Toast.tsx +310 -0
  359. package/assets/components/Toast/index.ts +16 -0
  360. package/assets/components/Toolbar/Toolbar.module.css +135 -0
  361. package/assets/components/Toolbar/Toolbar.tsx +187 -0
  362. package/assets/components/Toolbar/index.ts +7 -0
  363. package/assets/components/Tooltip/Tooltip.module.css +52 -0
  364. package/assets/components/Tooltip/Tooltip.tsx +341 -0
  365. package/assets/components/Tooltip/index.ts +2 -0
  366. package/assets/components/TopLoader/TopLoader.module.css +65 -0
  367. package/assets/components/TopLoader/TopLoader.tsx +58 -0
  368. package/assets/components/TopLoader/index.ts +2 -0
  369. package/assets/components/Topbar/Topbar.module.css +54 -0
  370. package/assets/components/Topbar/Topbar.tsx +102 -0
  371. package/assets/components/Topbar/index.ts +2 -0
  372. package/assets/components/TreeNav/TreeNav.module.css +33 -0
  373. package/assets/components/TreeNav/TreeNav.tsx +130 -0
  374. package/assets/components/TreeNav/index.ts +2 -0
  375. package/assets/components/UserMessage/UserMessage.module.css +47 -0
  376. package/assets/components/UserMessage/UserMessage.tsx +66 -0
  377. package/assets/components/UserMessage/index.ts +2 -0
  378. package/assets/components/_cn.ts +3 -0
  379. package/assets/components/_color.ts +75 -0
  380. package/assets/components/_data.ts +608 -0
  381. package/assets/components/_rowInteraction.ts +16 -0
  382. package/assets/components/_utils.css +135 -0
  383. package/assets/components/app-shell.css +17 -0
  384. package/assets/components/axisOptions.ts +17 -0
  385. package/assets/components/component-registry.json +1063 -0
  386. package/assets/components/index.ts +118 -0
  387. package/assets/components/materialScope.tsx +11 -0
  388. package/assets/components/reset.css +78 -0
  389. package/assets/components/themeBootScript.ts +125 -0
  390. package/assets/components/tokens.css +1275 -0
  391. package/assets/components/useChartEntrance.ts +119 -0
  392. package/assets/prompts/ASSEMBLY.md +72 -0
  393. package/assets/prompts/CASCADE.md +49 -0
  394. package/assets/prompts/CATALOG.md +141 -0
  395. package/assets/prompts/FEEDBACK_PROCESS.md +19 -0
  396. package/assets/prompts/GUIDE.md +307 -0
  397. package/assets/prompts/MEMORY.md +202 -0
  398. package/assets/prompts/OVERRIDE.md +30 -0
  399. package/assets/prompts/PRINCIPLES.md +128 -0
  400. package/assets/prompts/SLOTS.md +194 -0
  401. package/assets/prompts/WORKFLOW_DESIGN.md +132 -0
  402. package/assets/prompts/axes/density.md +42 -0
  403. package/assets/prompts/axes/font.md +35 -0
  404. package/assets/prompts/axes/icon.md +59 -0
  405. package/assets/prompts/axes/material.md +40 -0
  406. package/assets/prompts/axes/mode.md +52 -0
  407. package/assets/prompts/axes/motion.md +77 -0
  408. package/assets/prompts/axes/palette.md +51 -0
  409. package/assets/prompts/axes/shape.md +41 -0
  410. package/assets/prompts/axes/voice.md +57 -0
  411. package/assets/prompts/brand-sets/_SCHEMA.md +27 -0
  412. package/assets/prompts/components/README.md +84 -0
  413. package/assets/prompts/components/_variants.md +86 -0
  414. package/assets/prompts/components/accordion.md +151 -0
  415. package/assets/prompts/components/ai-message.md +53 -0
  416. package/assets/prompts/components/app-frame.md +141 -0
  417. package/assets/prompts/components/attachment-item.md +89 -0
  418. package/assets/prompts/components/attachment-thumb.md +54 -0
  419. package/assets/prompts/components/avatar-upload.md +62 -0
  420. package/assets/prompts/components/avatar.md +106 -0
  421. package/assets/prompts/components/badge.md +58 -0
  422. package/assets/prompts/components/breadcrumb.md +124 -0
  423. package/assets/prompts/components/bubble.md +61 -0
  424. package/assets/prompts/components/button-group.md +35 -0
  425. package/assets/prompts/components/button.md +133 -0
  426. package/assets/prompts/components/calendar.md +151 -0
  427. package/assets/prompts/components/callout.md +98 -0
  428. package/assets/prompts/components/canvas-edge.md +67 -0
  429. package/assets/prompts/components/canvas-node.md +80 -0
  430. package/assets/prompts/components/canvas.md +82 -0
  431. package/assets/prompts/components/card.md +167 -0
  432. package/assets/prompts/components/chart-bar.md +77 -0
  433. package/assets/prompts/components/chart-pie.md +63 -0
  434. package/assets/prompts/components/chart-radar.md +56 -0
  435. package/assets/prompts/components/chart-radial.md +56 -0
  436. package/assets/prompts/components/chart.md +129 -0
  437. package/assets/prompts/components/chat-input.md +103 -0
  438. package/assets/prompts/components/checkbox-card.md +53 -0
  439. package/assets/prompts/components/checkbox.md +121 -0
  440. package/assets/prompts/components/chip.md +163 -0
  441. package/assets/prompts/components/code-block.md +95 -0
  442. package/assets/prompts/components/code.md +62 -0
  443. package/assets/prompts/components/color-area.md +95 -0
  444. package/assets/prompts/components/color-field.md +108 -0
  445. package/assets/prompts/components/color-picker.md +173 -0
  446. package/assets/prompts/components/color-slider.md +108 -0
  447. package/assets/prompts/components/color-swatch-picker.md +96 -0
  448. package/assets/prompts/components/color-swatch.md +85 -0
  449. package/assets/prompts/components/combobox.md +35 -0
  450. package/assets/prompts/components/command-palette.md +194 -0
  451. package/assets/prompts/components/comment.md +72 -0
  452. package/assets/prompts/components/context-menu.md +153 -0
  453. package/assets/prompts/components/control-group.md +67 -0
  454. package/assets/prompts/components/data-table.md +90 -0
  455. package/assets/prompts/components/date-picker.md +156 -0
  456. package/assets/prompts/components/disclosure.md +55 -0
  457. package/assets/prompts/components/drawer.md +151 -0
  458. package/assets/prompts/components/dropdown-menu.md +167 -0
  459. package/assets/prompts/components/empty-state.md +74 -0
  460. package/assets/prompts/components/event-chip.md +123 -0
  461. package/assets/prompts/components/event-list-item.md +112 -0
  462. package/assets/prompts/components/file-icon.md +83 -0
  463. package/assets/prompts/components/file-upload.md +35 -0
  464. package/assets/prompts/components/gallery-item.md +164 -0
  465. package/assets/prompts/components/generated-image.md +85 -0
  466. package/assets/prompts/components/hint.md +94 -0
  467. package/assets/prompts/components/icon-button.md +99 -0
  468. package/assets/prompts/components/icon.md +101 -0
  469. package/assets/prompts/components/input.md +134 -0
  470. package/assets/prompts/components/kanban.md +172 -0
  471. package/assets/prompts/components/list-item.md +334 -0
  472. package/assets/prompts/components/menu-item.md +252 -0
  473. package/assets/prompts/components/message-actions.md +63 -0
  474. package/assets/prompts/components/message-quote.md +34 -0
  475. package/assets/prompts/components/message-sources.md +46 -0
  476. package/assets/prompts/components/message-state.md +61 -0
  477. package/assets/prompts/components/message-table.md +42 -0
  478. package/assets/prompts/components/metric-card.md +85 -0
  479. package/assets/prompts/components/mini-calendar.md +72 -0
  480. package/assets/prompts/components/modal.md +236 -0
  481. package/assets/prompts/components/multi-select.md +31 -0
  482. package/assets/prompts/components/onboarding.md +55 -0
  483. package/assets/prompts/components/page-header.md +170 -0
  484. package/assets/prompts/components/pagination.md +99 -0
  485. package/assets/prompts/components/progress-bar.md +85 -0
  486. package/assets/prompts/components/quotation-bar.md +44 -0
  487. package/assets/prompts/components/radio-card.md +62 -0
  488. package/assets/prompts/components/radio.md +56 -0
  489. package/assets/prompts/components/segmented-chart.md +79 -0
  490. package/assets/prompts/components/select.md +146 -0
  491. package/assets/prompts/components/shortcut.md +81 -0
  492. package/assets/prompts/components/sidebar.md +537 -0
  493. package/assets/prompts/components/skeleton.md +44 -0
  494. package/assets/prompts/components/slider.md +111 -0
  495. package/assets/prompts/components/spinner.md +124 -0
  496. package/assets/prompts/components/stepper.md +122 -0
  497. package/assets/prompts/components/switch.md +108 -0
  498. package/assets/prompts/components/tab-strip.md +163 -0
  499. package/assets/prompts/components/table-cell.md +67 -0
  500. package/assets/prompts/components/table-header.md +181 -0
  501. package/assets/prompts/components/table-row-edit.md +144 -0
  502. package/assets/prompts/components/table-row-select.md +90 -0
  503. package/assets/prompts/components/table-row.md +184 -0
  504. package/assets/prompts/components/table-toolbar.md +103 -0
  505. package/assets/prompts/components/tabs.md +136 -0
  506. package/assets/prompts/components/tag.md +54 -0
  507. package/assets/prompts/components/textarea.md +114 -0
  508. package/assets/prompts/components/time-picker.md +87 -0
  509. package/assets/prompts/components/timeline-view.md +129 -0
  510. package/assets/prompts/components/toast.md +155 -0
  511. package/assets/prompts/components/toolbar.md +99 -0
  512. package/assets/prompts/components/tooltip.md +94 -0
  513. package/assets/prompts/components/top-loader.md +64 -0
  514. package/assets/prompts/components/topbar.md +186 -0
  515. package/assets/prompts/components/tree-nav.md +77 -0
  516. package/assets/prompts/components/user-message.md +50 -0
  517. package/assets/prompts/design-examples/README.md +57 -0
  518. package/assets/prompts/design-examples/catalog.json +1 -0
  519. package/assets/prompts/primitives/emerge.md +43 -0
  520. package/assets/prompts/primitives/fade.md +31 -0
  521. package/assets/prompts/primitives/mobile.md +53 -0
  522. package/assets/prompts/primitives/scale.md +32 -0
  523. package/assets/prompts/primitives/scroll.md +170 -0
  524. package/assets/prompts/primitives/slide.md +31 -0
  525. package/assets/prompts/recipes/README.md +104 -0
  526. package/assets/prompts/recipes/card-row.md +39 -0
  527. package/assets/prompts/recipes/form-footer.md +76 -0
  528. package/assets/prompts/recipes/meta-line.md +61 -0
  529. package/assets/prompts/recipes/page-banner.md +121 -0
  530. package/assets/prompts/recipes/page-header.md +107 -0
  531. package/assets/prompts/recipes/section-header.md +90 -0
  532. package/assets/prompts/templates/README.md +9 -0
  533. package/assets/prompts/templates/ains.md +631 -0
  534. package/assets/prompts/templates/aurora.md +440 -0
  535. package/assets/prompts/templates/glass-button.md +337 -0
  536. package/assets/prompts/templates/minimal.md +209 -0
  537. package/assets/prompts/templates/workspace.md +346 -0
  538. package/assets/prompts/themes/_SCHEMA.md +135 -0
  539. package/assets/prompts/themes/_TEMPLATE.md +73 -0
  540. package/assets/prompts/themes/expressive.md +118 -0
  541. package/assets/prompts/themes/pure.md +87 -0
  542. package/assets/prompts/themes/spare.md +73 -0
  543. package/assets/prompts/tokens/breakpoint.md +29 -0
  544. package/assets/prompts/tokens/color.md +105 -0
  545. package/assets/prompts/tokens/material.md +51 -0
  546. package/assets/prompts/tokens/radius.md +45 -0
  547. package/assets/prompts/tokens/shadow.md +35 -0
  548. package/assets/prompts/tokens/spacing.md +96 -0
  549. package/assets/prompts/tokens/typography.md +89 -0
  550. package/assets/prompts/tokens/z-index.md +35 -0
  551. package/assets/prompts/use-cases/chart-chart-area.md +1334 -0
  552. package/assets/prompts/use-cases/chart-chart-bar.md +1886 -0
  553. package/assets/prompts/use-cases/chart-chart-pie.md +1031 -0
  554. package/assets/prompts/use-cases/chart-chart-radar.md +785 -0
  555. package/assets/prompts/use-cases/chart-chart-radial.md +988 -0
  556. package/assets/prompts/use-cases/chart-segmented-chart.md +262 -0
  557. package/assets/prompts/use-cases/data-comment.md +360 -0
  558. package/assets/prompts/use-cases/data-data-table.md +249 -0
  559. package/assets/prompts/use-cases/data-list-item.md +1056 -0
  560. package/assets/prompts/use-cases/data-metric-card.md +673 -0
  561. package/assets/prompts/use-cases/data-table-row.md +966 -0
  562. package/assets/prompts/use-cases/data-table-toolbar.md +481 -0
  563. package/assets/prompts/use-cases/feedback-drawer.md +1163 -0
  564. package/assets/prompts/use-cases/feedback-progress-bar.md +427 -0
  565. package/assets/prompts/use-cases/general-toolbar.md +854 -0
  566. package/assets/prompts/use-cases/general-tooltip.md +652 -0
  567. package/assets/prompts/use-cases/input-checkbox.md +443 -0
  568. package/assets/prompts/use-cases/structure-card.md +603 -0
  569. package/assets/prompts/use-cases/structure-page-header.md +755 -0
  570. package/assets/prompts/use-cases/structure-sidebar.md +1132 -0
  571. package/assets/prompts/use-cases/structure-topbar.md +1200 -0
  572. package/assets/public/expressive.png +0 -0
  573. package/assets/public/ovenn-wordmark.svg +19 -0
  574. package/assets/public/pure.png +0 -0
  575. package/assets/public/spare.png +0 -0
  576. package/assets/skills/ovenn/SKILL.md +12 -0
  577. package/assets/skills/ovenn-component/SKILL.md +12 -0
  578. package/assets/skills/ovenn-page/SKILL.md +12 -0
  579. package/assets/skills/ovenn-theme/SKILL.md +12 -0
  580. package/assets/skills/ovenn-validate/SKILL.md +14 -0
  581. package/assets/skills/ovenn-validate/fixtures/clean/Clean.module.css +12 -0
  582. package/assets/skills/ovenn-validate/fixtures/clean/Clean.tsx +9 -0
  583. package/assets/skills/ovenn-validate/scripts/lib/component-usage.js +112 -0
  584. package/assets/skills/ovenn-validate/scripts/lib/source-graph.js +15 -0
  585. package/assets/skills/ovenn-validate/scripts/lib/source-utils.mjs +25 -0
  586. package/assets/skills/ovenn-validate/scripts/lib/source-utils.test.mjs +52 -0
  587. package/assets/skills/ovenn-validate/scripts/rules/doc-sync.mjs +151 -0
  588. package/assets/skills/ovenn-validate/scripts/rules/doc-sync.test.mjs +91 -0
  589. package/assets/skills/ovenn-validate/scripts/rules/ghost-tokens.mjs +69 -0
  590. package/assets/skills/ovenn-validate/scripts/rules/ghost-tokens.test.mjs +52 -0
  591. package/assets/skills/ovenn-validate/scripts/rules/hardcoded.mjs +145 -0
  592. package/assets/skills/ovenn-validate/scripts/rules/hardcoded.test.mjs +83 -0
  593. package/assets/skills/ovenn-validate/scripts/rules/memory-rules.mjs +252 -0
  594. package/assets/skills/ovenn-validate/scripts/rules/memory-rules.test.mjs +131 -0
  595. package/assets/skills/ovenn-validate/scripts/validate.mjs +169 -0
  596. package/assets/skills/ovenn-wireframe/SKILL.md +12 -0
  597. package/bin/ovenn.js +85 -0
  598. package/package.json +143 -4
  599. package/src/commands/info.js +217 -0
  600. package/src/commands/init.js +386 -0
  601. package/src/commands/update.js +65 -0
  602. package/src/utils/agents.js +83 -0
  603. package/src/utils/assets.js +51 -0
  604. package/src/utils/client-bridges.js +32 -0
  605. package/src/utils/component-usage.js +112 -0
  606. package/src/utils/deps.js +59 -0
  607. package/src/utils/design-examples.js +101 -0
  608. package/src/utils/design-workflow.js +155 -0
  609. package/src/utils/detect.js +59 -0
  610. package/src/utils/diff.js +52 -0
  611. package/src/utils/doctor.js +47 -0
  612. package/src/utils/hash.js +16 -0
  613. package/src/utils/launch.js +94 -0
  614. package/src/utils/log.js +41 -0
  615. package/src/utils/managed-assets.js +50 -0
  616. package/src/utils/mcp-client.js +47 -0
  617. package/src/utils/meta.js +73 -0
  618. package/src/utils/patch.js +334 -0
  619. package/src/utils/prompt.js +28 -0
  620. package/src/utils/source-graph.js +15 -0
  621. package/src/utils/update-transaction.js +79 -0
@@ -0,0 +1,654 @@
1
+ "use client";
2
+
3
+ /**
4
+ * 의미 기반 Icon 컴포넌트.
5
+ *
6
+ * 설계 원칙 — "phosphor 기준 전면 매핑":
7
+ * - phosphor를 기준 세트로 삼고, solar/lucide는 가능한 한 의미가 가장 가까운
8
+ * 아이콘으로 1:1 매핑한다. family 축을 바꿔도 "그림이 비는" 자리가 생기지 않도록.
9
+ * - 라이브러리에 적절한 분리 아이콘이 없으면 "수렴 매핑"을 허용한다
10
+ * (예: solar에 자동차 아이콘이 없음 → truck/car가 같은 Truck으로 수렴).
11
+ * 이건 라이브러리 한계라는 사실을 받아들이는 거지, 설계 결함이 아님.
12
+ * - 매핑 자체가 아예 없는 경우에만 family 전용 placeholder("빗금 사각형")를 렌더.
13
+ * - 일부 editor UI 아이콘(text-align, flex align, bold/italic 등)은 solar/lucide에
14
+ * 형상이 명확한 등가물이 없어 축과 무관하게 phosphor로 고정 노출한다
15
+ * (forcePhosphorFamily). 유저에겐 조용히 처리.
16
+ *
17
+ * weight 반응:
18
+ * phosphor → 전체 공식 카탈로그, 6가지 weight prop으로 반응
19
+ * solar → 전체 공식 카탈로그와 6개 solarStyle. 기본 fill은 Bold, 나머지는 Linear
20
+ * lucide → regular만 (fill 요청 시 regular 그대로)
21
+ */
22
+
23
+ import * as React from "react";
24
+ import type { IconFamily, IconWeight } from "../_data";
25
+ import { useIconAxis } from "./context";
26
+ import { MissingIcon } from "./MissingIcon";
27
+ import type { SolarIconStyle } from "./solarCatalog";
28
+ import { CheckIcon as PhCheck } from "@phosphor-icons/react/dist/csr/Check";
29
+ import { ChatCenteredIcon as PhChatCentered } from "@phosphor-icons/react/dist/csr/ChatCentered";
30
+ import { WarningIcon as PhWarning } from "@phosphor-icons/react/dist/csr/Warning";
31
+ import { StarIcon as PhStar } from "@phosphor-icons/react/dist/csr/Star";
32
+ import { HeartIcon as PhHeart } from "@phosphor-icons/react/dist/csr/Heart";
33
+ import { UserIcon as PhUser } from "@phosphor-icons/react/dist/csr/User";
34
+ import { MagnifyingGlassIcon as PhSearch } from "@phosphor-icons/react/dist/csr/MagnifyingGlass";
35
+ import { GearIcon as PhGear } from "@phosphor-icons/react/dist/csr/Gear";
36
+ import { TrashIcon as PhTrash } from "@phosphor-icons/react/dist/csr/Trash";
37
+ import { ArrowRightIcon as PhArrowRight } from "@phosphor-icons/react/dist/csr/ArrowRight";
38
+ import { ArrowLineRightIcon as PhArrowLineRight } from "@phosphor-icons/react/dist/csr/ArrowLineRight";
39
+ import { XIcon as PhX } from "@phosphor-icons/react/dist/csr/X";
40
+ import { SunIcon as PhSun } from "@phosphor-icons/react/dist/csr/Sun";
41
+ import { MoonIcon as PhMoon } from "@phosphor-icons/react/dist/csr/Moon";
42
+ import { CaretDownIcon as PhCaretDown } from "@phosphor-icons/react/dist/csr/CaretDown";
43
+ import { CaretLeftIcon as PhCaretLeft } from "@phosphor-icons/react/dist/csr/CaretLeft";
44
+ import { CaretRightIcon as PhCaretRight } from "@phosphor-icons/react/dist/csr/CaretRight";
45
+ import { CaretUpIcon as PhCaretUp } from "@phosphor-icons/react/dist/csr/CaretUp";
46
+ import { CaretUpDownIcon as PhCaretUpDown } from "@phosphor-icons/react/dist/csr/CaretUpDown";
47
+ import { CaretDoubleLeftIcon as PhCaretDoubleLeft } from "@phosphor-icons/react/dist/csr/CaretDoubleLeft";
48
+ import { CaretDoubleRightIcon as PhCaretDoubleRight } from "@phosphor-icons/react/dist/csr/CaretDoubleRight";
49
+ import { ColumnsIcon as PhColumns } from "@phosphor-icons/react/dist/csr/Columns";
50
+ import { HouseIcon as PhHouse } from "@phosphor-icons/react/dist/csr/House";
51
+ import { PaletteIcon as PhPalette } from "@phosphor-icons/react/dist/csr/Palette";
52
+ import { EyedropperIcon as PhEyedropper } from "@phosphor-icons/react/dist/csr/Eyedropper";
53
+ import { RulerIcon as PhRuler } from "@phosphor-icons/react/dist/csr/Ruler";
54
+ import { SquareIcon as PhSquare } from "@phosphor-icons/react/dist/csr/Square";
55
+ import { TextAaIcon as PhTextAa } from "@phosphor-icons/react/dist/csr/TextAa";
56
+ import { PaintBucketIcon as PhPaintBucket } from "@phosphor-icons/react/dist/csr/PaintBucket";
57
+ import { StackIcon as PhStack } from "@phosphor-icons/react/dist/csr/Stack";
58
+ import { WaveformIcon as PhWaveform } from "@phosphor-icons/react/dist/csr/Waveform";
59
+ import { DevicesIcon as PhDevices } from "@phosphor-icons/react/dist/csr/Devices";
60
+ import { SquaresFourIcon as PhSquaresFour } from "@phosphor-icons/react/dist/csr/SquaresFour";
61
+ import { CursorClickIcon as PhCursorClick } from "@phosphor-icons/react/dist/csr/CursorClick";
62
+ import { SplitVerticalIcon as PhSplitVertical } from "@phosphor-icons/react/dist/csr/SplitVertical";
63
+ import { RectangleIcon as PhRectangle } from "@phosphor-icons/react/dist/csr/Rectangle";
64
+ import { ListIcon as PhList } from "@phosphor-icons/react/dist/csr/List";
65
+ import { RowsIcon as PhRows } from "@phosphor-icons/react/dist/csr/Rows";
66
+ import { SealCheckIcon as PhSealCheck } from "@phosphor-icons/react/dist/csr/SealCheck";
67
+ import { UserCircleIcon as PhUserCircle } from "@phosphor-icons/react/dist/csr/UserCircle";
68
+ import { InfoIcon as PhInfo } from "@phosphor-icons/react/dist/csr/Info";
69
+ import { TagIcon as PhTag } from "@phosphor-icons/react/dist/csr/Tag";
70
+ import { MinusIcon as PhMinus } from "@phosphor-icons/react/dist/csr/Minus";
71
+ import { PlusIcon as PhPlus } from "@phosphor-icons/react/dist/csr/Plus";
72
+ import { PlaceholderIcon as PhPlaceholder } from "@phosphor-icons/react/dist/csr/Placeholder";
73
+ import { TextboxIcon as PhTextbox } from "@phosphor-icons/react/dist/csr/Textbox";
74
+ import { KeyboardIcon as PhKeyboard } from "@phosphor-icons/react/dist/csr/Keyboard";
75
+ import { ArticleIcon as PhArticle } from "@phosphor-icons/react/dist/csr/Article";
76
+ import { SelectionIcon as PhSelection } from "@phosphor-icons/react/dist/csr/Selection";
77
+ import { CheckSquareIcon as PhCheckSquare } from "@phosphor-icons/react/dist/csr/CheckSquare";
78
+ import { RadioButtonIcon as PhRadioButton } from "@phosphor-icons/react/dist/csr/RadioButton";
79
+ import { ToggleRightIcon as PhToggleRight } from "@phosphor-icons/react/dist/csr/ToggleRight";
80
+ import { ToggleLeftIcon as PhToggleLeft } from "@phosphor-icons/react/dist/csr/ToggleLeft";
81
+ import { SlidersIcon as PhSliders } from "@phosphor-icons/react/dist/csr/Sliders";
82
+ import { CalendarIcon as PhCalendar } from "@phosphor-icons/react/dist/csr/Calendar";
83
+ import { CalendarBlankIcon as PhCalendarBlank } from "@phosphor-icons/react/dist/csr/CalendarBlank";
84
+ import { CalendarDotsIcon as PhCalendarDots } from "@phosphor-icons/react/dist/csr/CalendarDots";
85
+ import { ClockIcon as PhClock } from "@phosphor-icons/react/dist/csr/Clock";
86
+ import { UploadSimpleIcon as PhUploadSimple } from "@phosphor-icons/react/dist/csr/UploadSimple";
87
+ import { DownloadSimpleIcon as PhDownloadSimple } from "@phosphor-icons/react/dist/csr/DownloadSimple";
88
+ import { IdentificationCardIcon as PhIdentificationCard } from "@phosphor-icons/react/dist/csr/IdentificationCard";
89
+ import { TableIcon as PhTable } from "@phosphor-icons/react/dist/csr/Table";
90
+ import { GridFourIcon as PhGridFour } from "@phosphor-icons/react/dist/csr/GridFour";
91
+ import { ListBulletsIcon as PhListBullets } from "@phosphor-icons/react/dist/csr/ListBullets";
92
+ import { CardsIcon as PhCards } from "@phosphor-icons/react/dist/csr/Cards";
93
+ import { ChartLineIcon as PhChartLine } from "@phosphor-icons/react/dist/csr/ChartLine";
94
+ import { TrendUpIcon as PhTrendUp } from "@phosphor-icons/react/dist/csr/TrendUp";
95
+ import { TrendDownIcon as PhTrendDown } from "@phosphor-icons/react/dist/csr/TrendDown";
96
+ import { EmptyIcon as PhEmpty } from "@phosphor-icons/react/dist/csr/Empty";
97
+ import { ListDashesIcon as PhListDashes } from "@phosphor-icons/react/dist/csr/ListDashes";
98
+ import { LineSegmentsIcon as PhLineSegments } from "@phosphor-icons/react/dist/csr/LineSegments";
99
+ import { TabsIcon as PhTabs } from "@phosphor-icons/react/dist/csr/Tabs";
100
+ import { PathIcon as PhPath } from "@phosphor-icons/react/dist/csr/Path";
101
+ import { SidebarIcon as PhSidebar } from "@phosphor-icons/react/dist/csr/Sidebar";
102
+ import { SidebarSimpleIcon as PhSidebarSimple } from "@phosphor-icons/react/dist/csr/SidebarSimple";
103
+ import { DotsThreeIcon as PhDotsThree } from "@phosphor-icons/react/dist/csr/DotsThree";
104
+ import { CompassIcon as PhCompass } from "@phosphor-icons/react/dist/csr/Compass";
105
+ import { StepsIcon as PhSteps } from "@phosphor-icons/react/dist/csr/Steps";
106
+ import { WarningCircleIcon as PhWarningCircle } from "@phosphor-icons/react/dist/csr/WarningCircle";
107
+ import { CheckCircleIcon as PhCheckCircle } from "@phosphor-icons/react/dist/csr/CheckCircle";
108
+ import { SquareHalfIcon as PhSquareHalf } from "@phosphor-icons/react/dist/csr/SquareHalf";
109
+ import { ChatCircleIcon as PhChatCircle } from "@phosphor-icons/react/dist/csr/ChatCircle";
110
+ import { ChatTextIcon as PhChatText } from "@phosphor-icons/react/dist/csr/ChatText";
111
+ import { BroadcastIcon as PhBroadcast } from "@phosphor-icons/react/dist/csr/Broadcast";
112
+ import { BellIcon as PhBell } from "@phosphor-icons/react/dist/csr/Bell";
113
+ import { MegaphoneIcon as PhMegaphone } from "@phosphor-icons/react/dist/csr/Megaphone";
114
+ import { SpeedometerIcon as PhSpeedometer } from "@phosphor-icons/react/dist/csr/Speedometer";
115
+ import { CircleNotchIcon as PhCircleNotch } from "@phosphor-icons/react/dist/csr/CircleNotch";
116
+ import { DotsThreeOutlineIcon as PhDotsThreeOutline } from "@phosphor-icons/react/dist/csr/DotsThreeOutline";
117
+ import { CaretCircleDownIcon as PhCaretCircleDown } from "@phosphor-icons/react/dist/csr/CaretCircleDown";
118
+ import { CommandIcon as PhCommand } from "@phosphor-icons/react/dist/csr/Command";
119
+ import { RowsPlusBottomIcon as PhRowsPlusBottom } from "@phosphor-icons/react/dist/csr/RowsPlusBottom";
120
+ import { MinusSquareIcon as PhMinusSquare } from "@phosphor-icons/react/dist/csr/MinusSquare";
121
+ import { BracketsSquareIcon as PhBracketsSquare } from "@phosphor-icons/react/dist/csr/BracketsSquare";
122
+ import { GridNineIcon as PhGridNine } from "@phosphor-icons/react/dist/csr/GridNine";
123
+ import { ArrowsVerticalIcon as PhArrowsVertical } from "@phosphor-icons/react/dist/csr/ArrowsVertical";
124
+ import { SplitHorizontalIcon as PhSplitHorizontal } from "@phosphor-icons/react/dist/csr/SplitHorizontal";
125
+ import { LayoutIcon as PhLayout } from "@phosphor-icons/react/dist/csr/Layout";
126
+ import { EnvelopeIcon as PhEnvelope } from "@phosphor-icons/react/dist/csr/Envelope";
127
+ import { EyeIcon as PhEye } from "@phosphor-icons/react/dist/csr/Eye";
128
+ import { EyeSlashIcon as PhEyeSlash } from "@phosphor-icons/react/dist/csr/EyeSlash";
129
+ import { ArrowSquareOutIcon as PhArrowSquareOut } from "@phosphor-icons/react/dist/csr/ArrowSquareOut";
130
+ import { PencilSimpleIcon as PhPencilSimple } from "@phosphor-icons/react/dist/csr/PencilSimple";
131
+ import { ShareNetworkIcon as PhShareNetwork } from "@phosphor-icons/react/dist/csr/ShareNetwork";
132
+ import { CopyIcon as PhCopy } from "@phosphor-icons/react/dist/csr/Copy";
133
+ import { CopySimpleIcon as PhCopySimple } from "@phosphor-icons/react/dist/csr/CopySimple";
134
+ import { ScissorsIcon as PhScissors } from "@phosphor-icons/react/dist/csr/Scissors";
135
+ import { ClipboardTextIcon as PhClipboardText } from "@phosphor-icons/react/dist/csr/ClipboardText";
136
+ import { CameraIcon as PhCamera } from "@phosphor-icons/react/dist/csr/Camera";
137
+ import { GlobeIcon as PhGlobe } from "@phosphor-icons/react/dist/csr/Globe";
138
+ import { FolderIcon as PhFolder } from "@phosphor-icons/react/dist/csr/Folder";
139
+ import { FolderOpenIcon as PhFolderOpen } from "@phosphor-icons/react/dist/csr/FolderOpen";
140
+ import { FolderSimpleIcon as PhFolderSimple } from "@phosphor-icons/react/dist/csr/FolderSimple";
141
+ import { FileIcon as PhFile } from "@phosphor-icons/react/dist/csr/File";
142
+ import { FileTextIcon as PhFileText } from "@phosphor-icons/react/dist/csr/FileText";
143
+ import { LinkIcon as PhLink } from "@phosphor-icons/react/dist/csr/Link";
144
+ import { LockIcon as PhLock } from "@phosphor-icons/react/dist/csr/Lock";
145
+ import { LockOpenIcon as PhLockOpen } from "@phosphor-icons/react/dist/csr/LockOpen";
146
+ import { KeyIcon as PhKey } from "@phosphor-icons/react/dist/csr/Key";
147
+ import { SignOutIcon as PhSignOut } from "@phosphor-icons/react/dist/csr/SignOut";
148
+ import { SignInIcon as PhSignIn } from "@phosphor-icons/react/dist/csr/SignIn";
149
+ import { CloudArrowUpIcon as PhCloudUp } from "@phosphor-icons/react/dist/csr/CloudArrowUp";
150
+ import { CloudArrowDownIcon as PhCloudDown } from "@phosphor-icons/react/dist/csr/CloudArrowDown";
151
+ import { CloudIcon as PhCloud } from "@phosphor-icons/react/dist/csr/Cloud";
152
+ import { CloudSlashIcon as PhCloudSlash } from "@phosphor-icons/react/dist/csr/CloudSlash";
153
+ import { TrayIcon as PhTray } from "@phosphor-icons/react/dist/csr/Tray";
154
+ import { HourglassIcon as PhHourglass } from "@phosphor-icons/react/dist/csr/Hourglass";
155
+ import { MapPinIcon as PhMapPin } from "@phosphor-icons/react/dist/csr/MapPin";
156
+ import { PaperPlaneTiltIcon as PhPaperPlane } from "@phosphor-icons/react/dist/csr/PaperPlaneTilt";
157
+ import { ChatCenteredDotsIcon as PhChatCenteredDots } from "@phosphor-icons/react/dist/csr/ChatCenteredDots";
158
+ import { HashIcon as PhHash } from "@phosphor-icons/react/dist/csr/Hash";
159
+ import { AtIcon as PhAt } from "@phosphor-icons/react/dist/csr/At";
160
+ import { PushPinIcon as PhPushPin } from "@phosphor-icons/react/dist/csr/PushPin";
161
+ import { BookmarkIcon as PhBookmark } from "@phosphor-icons/react/dist/csr/Bookmark";
162
+ import { FlagIcon as PhFlag } from "@phosphor-icons/react/dist/csr/Flag";
163
+ import { LightningIcon as PhLightning } from "@phosphor-icons/react/dist/csr/Lightning";
164
+ import { LightbulbIcon as PhLightbulb } from "@phosphor-icons/react/dist/csr/Lightbulb";
165
+ import { FireIcon as PhFire } from "@phosphor-icons/react/dist/csr/Fire";
166
+ import { UsersIcon as PhUsers } from "@phosphor-icons/react/dist/csr/Users";
167
+ import { UsersThreeIcon as PhUsersThree } from "@phosphor-icons/react/dist/csr/UsersThree";
168
+ import { PlusCircleIcon as PhPlusCircle } from "@phosphor-icons/react/dist/csr/PlusCircle";
169
+ import { MinusCircleIcon as PhMinusCircle } from "@phosphor-icons/react/dist/csr/MinusCircle";
170
+ import { XCircleIcon as PhXCircle } from "@phosphor-icons/react/dist/csr/XCircle";
171
+ import { ArrowLeftIcon as PhArrowLeft } from "@phosphor-icons/react/dist/csr/ArrowLeft";
172
+ import { ArrowUpIcon as PhArrowUp } from "@phosphor-icons/react/dist/csr/ArrowUp";
173
+ import { ArrowDownIcon as PhArrowDown } from "@phosphor-icons/react/dist/csr/ArrowDown";
174
+ import { ArrowClockwiseIcon as PhArrowClockwise } from "@phosphor-icons/react/dist/csr/ArrowClockwise";
175
+ import { ArrowCounterClockwiseIcon as PhArrowCounterClockwise } from "@phosphor-icons/react/dist/csr/ArrowCounterClockwise";
176
+ import { ArrowsClockwiseIcon as PhArrowsClockwise } from "@phosphor-icons/react/dist/csr/ArrowsClockwise";
177
+ import { ArrowsLeftRightIcon as PhArrowsLeftRight } from "@phosphor-icons/react/dist/csr/ArrowsLeftRight";
178
+ import { ArrowsOutSimpleIcon as PhArrowsOut } from "@phosphor-icons/react/dist/csr/ArrowsOutSimple";
179
+ import { ArrowsInSimpleIcon as PhArrowsIn } from "@phosphor-icons/react/dist/csr/ArrowsInSimple";
180
+ import { CornersOutIcon as PhCornersOut } from "@phosphor-icons/react/dist/csr/CornersOut";
181
+ import { CornersInIcon as PhCornersIn } from "@phosphor-icons/react/dist/csr/CornersIn";
182
+ import { PlayIcon as PhPlay } from "@phosphor-icons/react/dist/csr/Play";
183
+ import { PauseIcon as PhPause } from "@phosphor-icons/react/dist/csr/Pause";
184
+ import { StopIcon as PhStop } from "@phosphor-icons/react/dist/csr/Stop";
185
+ import { SkipForwardIcon as PhSkipForward } from "@phosphor-icons/react/dist/csr/SkipForward";
186
+ import { SkipBackIcon as PhSkipBack } from "@phosphor-icons/react/dist/csr/SkipBack";
187
+ import { SpeakerHighIcon as PhSpeakerHigh } from "@phosphor-icons/react/dist/csr/SpeakerHigh";
188
+ import { SpeakerLowIcon as PhSpeakerLow } from "@phosphor-icons/react/dist/csr/SpeakerLow";
189
+ import { SpeakerXIcon as PhSpeakerX } from "@phosphor-icons/react/dist/csr/SpeakerX";
190
+ import { MicrophoneIcon as PhMicrophone } from "@phosphor-icons/react/dist/csr/Microphone";
191
+ import { MicrophoneSlashIcon as PhMicrophoneSlash } from "@phosphor-icons/react/dist/csr/MicrophoneSlash";
192
+ import { HeadphonesIcon as PhHeadphones } from "@phosphor-icons/react/dist/csr/Headphones";
193
+ import { MusicNoteIcon as PhMusicNote } from "@phosphor-icons/react/dist/csr/MusicNote";
194
+ import { ImageIcon as PhImage } from "@phosphor-icons/react/dist/csr/Image";
195
+ import { VideoCameraIcon as PhVideoCamera } from "@phosphor-icons/react/dist/csr/VideoCamera";
196
+ import { PaperclipIcon as PhPaperclip } from "@phosphor-icons/react/dist/csr/Paperclip";
197
+ import { LinkSimpleIcon as PhLinkSimple } from "@phosphor-icons/react/dist/csr/LinkSimple";
198
+ import { FloppyDiskIcon as PhFloppyDisk } from "@phosphor-icons/react/dist/csr/FloppyDisk";
199
+ import { PrinterIcon as PhPrinter } from "@phosphor-icons/react/dist/csr/Printer";
200
+ import { PackageIcon as PhPackage } from "@phosphor-icons/react/dist/csr/Package";
201
+ import { GiftIcon as PhGift } from "@phosphor-icons/react/dist/csr/Gift";
202
+ import { ShoppingCartIcon as PhShoppingCart } from "@phosphor-icons/react/dist/csr/ShoppingCart";
203
+ import { CurrencyDollarIcon as PhCurrencyDollar } from "@phosphor-icons/react/dist/csr/CurrencyDollar";
204
+ import { CreditCardIcon as PhCreditCard } from "@phosphor-icons/react/dist/csr/CreditCard";
205
+ import { WalletIcon as PhWallet } from "@phosphor-icons/react/dist/csr/Wallet";
206
+ import { ReceiptIcon as PhReceipt } from "@phosphor-icons/react/dist/csr/Receipt";
207
+ import { CoinsIcon as PhCoins } from "@phosphor-icons/react/dist/csr/Coins";
208
+ import { BuildingsIcon as PhBuildings } from "@phosphor-icons/react/dist/csr/Buildings";
209
+ import { FactoryIcon as PhFactory } from "@phosphor-icons/react/dist/csr/Factory";
210
+ import { StorefrontIcon as PhStorefront } from "@phosphor-icons/react/dist/csr/Storefront";
211
+ import { TruckIcon as PhTruck } from "@phosphor-icons/react/dist/csr/Truck";
212
+ import { AirplaneIcon as PhAirplane } from "@phosphor-icons/react/dist/csr/Airplane";
213
+ import { CarIcon as PhCar } from "@phosphor-icons/react/dist/csr/Car";
214
+ import { BicycleIcon as PhBicycle } from "@phosphor-icons/react/dist/csr/Bicycle";
215
+ import { MapTrifoldIcon as PhMapTrifold } from "@phosphor-icons/react/dist/csr/MapTrifold";
216
+ import { NavigationArrowIcon as PhNavigation } from "@phosphor-icons/react/dist/csr/NavigationArrow";
217
+ import { ShieldIcon as PhShield } from "@phosphor-icons/react/dist/csr/Shield";
218
+ import { ShieldCheckIcon as PhShieldCheck } from "@phosphor-icons/react/dist/csr/ShieldCheck";
219
+ import { LifebuoyIcon as PhLifebuoy } from "@phosphor-icons/react/dist/csr/Lifebuoy";
220
+ import { QuestionIcon as PhQuestion } from "@phosphor-icons/react/dist/csr/Question";
221
+ import { SmileyIcon as PhSmiley } from "@phosphor-icons/react/dist/csr/Smiley";
222
+ import { SmileyMehIcon as PhSmileyMeh } from "@phosphor-icons/react/dist/csr/SmileyMeh";
223
+ import { SmileySadIcon as PhSmileySad } from "@phosphor-icons/react/dist/csr/SmileySad";
224
+ import { ThumbsUpIcon as PhThumbsUp } from "@phosphor-icons/react/dist/csr/ThumbsUp";
225
+ import { ThumbsDownIcon as PhThumbsDown } from "@phosphor-icons/react/dist/csr/ThumbsDown";
226
+ import { HandWavingIcon as PhHandWaving } from "@phosphor-icons/react/dist/csr/HandWaving";
227
+ import { TrophyIcon as PhTrophy } from "@phosphor-icons/react/dist/csr/Trophy";
228
+ import { MedalIcon as PhMedal } from "@phosphor-icons/react/dist/csr/Medal";
229
+ import { CrownIcon as PhCrown } from "@phosphor-icons/react/dist/csr/Crown";
230
+ import { FlowerIcon as PhFlower } from "@phosphor-icons/react/dist/csr/Flower";
231
+ import { LeafIcon as PhLeaf } from "@phosphor-icons/react/dist/csr/Leaf";
232
+ import { TreeIcon as PhTree } from "@phosphor-icons/react/dist/csr/Tree";
233
+ import { TextAlignLeftIcon as PhTextAlignLeft } from "@phosphor-icons/react/dist/csr/TextAlignLeft";
234
+ import { TextAlignCenterIcon as PhTextAlignCenter } from "@phosphor-icons/react/dist/csr/TextAlignCenter";
235
+ import { TextAlignRightIcon as PhTextAlignRight } from "@phosphor-icons/react/dist/csr/TextAlignRight";
236
+ import { TextAlignJustifyIcon as PhTextAlignJustify } from "@phosphor-icons/react/dist/csr/TextAlignJustify";
237
+ import { TextBIcon as PhTextB } from "@phosphor-icons/react/dist/csr/TextB";
238
+ import { TextItalicIcon as PhTextItalic } from "@phosphor-icons/react/dist/csr/TextItalic";
239
+ import { TextUnderlineIcon as PhTextUnderline } from "@phosphor-icons/react/dist/csr/TextUnderline";
240
+ import { TextStrikethroughIcon as PhTextStrikethrough } from "@phosphor-icons/react/dist/csr/TextStrikethrough";
241
+ import { TextIndentIcon as PhTextIndent } from "@phosphor-icons/react/dist/csr/TextIndent";
242
+ import { TextOutdentIcon as PhTextOutdent } from "@phosphor-icons/react/dist/csr/TextOutdent";
243
+ import { AlignLeftIcon as PhAlignLeft } from "@phosphor-icons/react/dist/csr/AlignLeft";
244
+ import { AlignCenterHorizontalIcon as PhAlignCenterHorizontal } from "@phosphor-icons/react/dist/csr/AlignCenterHorizontal";
245
+ import { AlignRightIcon as PhAlignRight } from "@phosphor-icons/react/dist/csr/AlignRight";
246
+ import { AlignTopIcon as PhAlignTop } from "@phosphor-icons/react/dist/csr/AlignTop";
247
+ import { AlignCenterVerticalIcon as PhAlignCenterVertical } from "@phosphor-icons/react/dist/csr/AlignCenterVertical";
248
+ import { AlignBottomIcon as PhAlignBottom } from "@phosphor-icons/react/dist/csr/AlignBottom";
249
+ import { CodeIcon as PhCode } from "@phosphor-icons/react/dist/csr/Code";
250
+ import { CodeBlockIcon as PhCodeBlock } from "@phosphor-icons/react/dist/csr/CodeBlock";
251
+ import { QuotesIcon as PhQuotes } from "@phosphor-icons/react/dist/csr/Quotes";
252
+ import { ChartLineUpIcon as PhChartLineUp } from "@phosphor-icons/react/dist/csr/ChartLineUp";
253
+ import { ChartBarIcon as PhChartBar } from "@phosphor-icons/react/dist/csr/ChartBar";
254
+ import { ChartPieSliceIcon as PhChartPieSlice } from "@phosphor-icons/react/dist/csr/ChartPieSlice";
255
+ import { HandshakeIcon as PhHandshake } from "@phosphor-icons/react/dist/csr/Handshake";
256
+ import { NotePencilIcon as PhNotePencil } from "@phosphor-icons/react/dist/csr/NotePencil";
257
+ import { TargetIcon as PhTarget } from "@phosphor-icons/react/dist/csr/Target";
258
+
259
+ /**
260
+ * IconName — phosphor 기준 kebab-case 이름. 매핑 테이블이 커지며 유니온 유지보수
261
+ * 비용이 커져 string 별칭으로 완화. 등록 안 된 이름은 MissingIcon(사각형+대각선) fallback.
262
+ */
263
+ export type IconName = string;
264
+
265
+ type AnyComp = React.ComponentType<any>;
266
+
267
+ /* phosphor 세트 — 가장 풍부. 지금까지 쓰던 아이콘 전원 보유. */
268
+ const phosphorSet: Partial<Record<IconName, AnyComp>> = {
269
+ check: PhCheck,
270
+ warning: PhWarning,
271
+ star: PhStar,
272
+ heart: PhHeart,
273
+ user: PhUser,
274
+ search: PhSearch,
275
+ gear: PhGear,
276
+ trash: PhTrash,
277
+ "arrow-right": PhArrowRight,
278
+ "arrow-line-right": PhArrowLineRight,
279
+ x: PhX,
280
+ sun: PhSun,
281
+ moon: PhMoon,
282
+ "caret-down": PhCaretDown,
283
+ "caret-left": PhCaretLeft,
284
+ "caret-right": PhCaretRight,
285
+ "caret-up": PhCaretUp,
286
+ "caret-up-down": PhCaretUpDown,
287
+ "caret-double-left": PhCaretDoubleLeft,
288
+ "caret-double-right": PhCaretDoubleRight,
289
+ columns: PhColumns,
290
+ house: PhHouse,
291
+ palette: PhPalette,
292
+ eyedropper: PhEyedropper,
293
+ ruler: PhRuler,
294
+ square: PhSquare,
295
+ "text-aa": PhTextAa,
296
+ "paint-bucket": PhPaintBucket,
297
+ stack: PhStack,
298
+ waveform: PhWaveform,
299
+ devices: PhDevices,
300
+ "squares-four": PhSquaresFour,
301
+ "cursor-click": PhCursorClick,
302
+ "split-vertical": PhSplitVertical,
303
+ rectangle: PhRectangle,
304
+ list: PhList,
305
+ rows: PhRows,
306
+ "seal-check": PhSealCheck,
307
+ "user-circle": PhUserCircle,
308
+ info: PhInfo,
309
+ tag: PhTag,
310
+ minus: PhMinus,
311
+ plus: PhPlus,
312
+ placeholder: PhPlaceholder,
313
+ textbox: PhTextbox,
314
+ keyboard: PhKeyboard,
315
+ article: PhArticle,
316
+ selection: PhSelection,
317
+ "check-square": PhCheckSquare,
318
+ "radio-button": PhRadioButton,
319
+ "toggle-right": PhToggleRight,
320
+ "toggle-left": PhToggleLeft,
321
+ sliders: PhSliders,
322
+ calendar: PhCalendar,
323
+ "calendar-blank": PhCalendarBlank,
324
+ "calendar-dots": PhCalendarDots,
325
+ clock: PhClock,
326
+ "upload-simple": PhUploadSimple,
327
+ "download-simple": PhDownloadSimple,
328
+ "identification-card": PhIdentificationCard,
329
+ table: PhTable,
330
+ "grid-four": PhGridFour,
331
+ "list-bullets": PhListBullets,
332
+ cards: PhCards,
333
+ "chart-line": PhChartLine,
334
+ "trend-up": PhTrendUp,
335
+ "trend-down": PhTrendDown,
336
+ empty: PhEmpty,
337
+ "list-dashes": PhListDashes,
338
+ "line-segments": PhLineSegments,
339
+ tabs: PhTabs,
340
+ path: PhPath,
341
+ sidebar: PhSidebar,
342
+ "sidebar-simple": PhSidebarSimple,
343
+ "dots-three": PhDotsThree,
344
+ compass: PhCompass,
345
+ steps: PhSteps,
346
+ "warning-circle": PhWarningCircle,
347
+ "check-circle": PhCheckCircle,
348
+ "square-half": PhSquareHalf,
349
+ "chat-circle": PhChatCircle,
350
+ "chat-centered": PhChatCentered,
351
+ "chat-text": PhChatText,
352
+ broadcast: PhBroadcast,
353
+ bell: PhBell,
354
+ megaphone: PhMegaphone,
355
+ speedometer: PhSpeedometer,
356
+ "circle-notch": PhCircleNotch,
357
+ "dots-three-outline": PhDotsThreeOutline,
358
+ "caret-circle-down": PhCaretCircleDown,
359
+ command: PhCommand,
360
+ "rows-plus-bottom": PhRowsPlusBottom,
361
+ "minus-square": PhMinusSquare,
362
+ "brackets-square": PhBracketsSquare,
363
+ "grid-nine": PhGridNine,
364
+ "arrows-vertical": PhArrowsVertical,
365
+ "split-horizontal": PhSplitHorizontal,
366
+ layout: PhLayout,
367
+ envelope: PhEnvelope,
368
+ eye: PhEye,
369
+ "eye-slash": PhEyeSlash,
370
+ "arrow-square-out": PhArrowSquareOut,
371
+ "pencil-simple": PhPencilSimple,
372
+ "share-network": PhShareNetwork,
373
+ copy: PhCopy,
374
+ "copy-simple": PhCopySimple,
375
+ scissors: PhScissors,
376
+ "clipboard-text": PhClipboardText,
377
+ camera: PhCamera,
378
+ globe: PhGlobe,
379
+ folder: PhFolder,
380
+ "folder-open": PhFolderOpen,
381
+ "folder-simple": PhFolderSimple,
382
+ file: PhFile,
383
+ "file-text": PhFileText,
384
+ link: PhLink,
385
+ lock: PhLock,
386
+ "lock-open": PhLockOpen,
387
+ key: PhKey,
388
+ "sign-out": PhSignOut,
389
+ "sign-in": PhSignIn,
390
+ "cloud-up": PhCloudUp,
391
+ "cloud-down": PhCloudDown,
392
+ cloud: PhCloud,
393
+ "cloud-slash": PhCloudSlash,
394
+ tray: PhTray,
395
+ hourglass: PhHourglass,
396
+ "map-pin": PhMapPin,
397
+ "paper-plane": PhPaperPlane,
398
+ "chat-centered-dots": PhChatCenteredDots,
399
+ hash: PhHash,
400
+ at: PhAt,
401
+ "push-pin": PhPushPin,
402
+ bookmark: PhBookmark,
403
+ flag: PhFlag,
404
+ lightning: PhLightning,
405
+ lightbulb: PhLightbulb,
406
+ fire: PhFire,
407
+ users: PhUsers,
408
+ "users-three": PhUsersThree,
409
+ "plus-circle": PhPlusCircle,
410
+ "minus-circle": PhMinusCircle,
411
+ "x-circle": PhXCircle,
412
+ "arrow-left": PhArrowLeft,
413
+ "arrow-up": PhArrowUp,
414
+ "arrow-down": PhArrowDown,
415
+ "arrow-clockwise": PhArrowClockwise,
416
+ "arrow-counter-clockwise": PhArrowCounterClockwise,
417
+ "arrows-clockwise": PhArrowsClockwise,
418
+ "arrows-left-right": PhArrowsLeftRight,
419
+ "arrows-out": PhArrowsOut,
420
+ "arrows-in": PhArrowsIn,
421
+ "corners-out": PhCornersOut,
422
+ "corners-in": PhCornersIn,
423
+ play: PhPlay,
424
+ pause: PhPause,
425
+ stop: PhStop,
426
+ "skip-forward": PhSkipForward,
427
+ "skip-back": PhSkipBack,
428
+ "speaker-high": PhSpeakerHigh,
429
+ "speaker-low": PhSpeakerLow,
430
+ "speaker-x": PhSpeakerX,
431
+ microphone: PhMicrophone,
432
+ "microphone-slash": PhMicrophoneSlash,
433
+ headphones: PhHeadphones,
434
+ "music-note": PhMusicNote,
435
+ image: PhImage,
436
+ "video-camera": PhVideoCamera,
437
+ paperclip: PhPaperclip,
438
+ "link-simple": PhLinkSimple,
439
+ "floppy-disk": PhFloppyDisk,
440
+ printer: PhPrinter,
441
+ package: PhPackage,
442
+ gift: PhGift,
443
+ "shopping-cart": PhShoppingCart,
444
+ "currency-dollar": PhCurrencyDollar,
445
+ "credit-card": PhCreditCard,
446
+ wallet: PhWallet,
447
+ receipt: PhReceipt,
448
+ coins: PhCoins,
449
+ buildings: PhBuildings,
450
+ factory: PhFactory,
451
+ storefront: PhStorefront,
452
+ truck: PhTruck,
453
+ airplane: PhAirplane,
454
+ car: PhCar,
455
+ bicycle: PhBicycle,
456
+ "map-trifold": PhMapTrifold,
457
+ navigation: PhNavigation,
458
+ shield: PhShield,
459
+ "shield-check": PhShieldCheck,
460
+ lifebuoy: PhLifebuoy,
461
+ question: PhQuestion,
462
+ smiley: PhSmiley,
463
+ "smiley-meh": PhSmileyMeh,
464
+ "smiley-sad": PhSmileySad,
465
+ "thumbs-up": PhThumbsUp,
466
+ "thumbs-down": PhThumbsDown,
467
+ "hand-waving": PhHandWaving,
468
+ trophy: PhTrophy,
469
+ medal: PhMedal,
470
+ crown: PhCrown,
471
+ flower: PhFlower,
472
+ leaf: PhLeaf,
473
+ tree: PhTree,
474
+ // Editor UI — forced phosphor (see forcePhosphorFamily)
475
+ "text-align-left": PhTextAlignLeft,
476
+ "text-align-center": PhTextAlignCenter,
477
+ "text-align-right": PhTextAlignRight,
478
+ "text-align-justify": PhTextAlignJustify,
479
+ "text-b": PhTextB,
480
+ "text-italic": PhTextItalic,
481
+ "text-underline": PhTextUnderline,
482
+ "text-strikethrough": PhTextStrikethrough,
483
+ "text-indent": PhTextIndent,
484
+ "text-outdent": PhTextOutdent,
485
+ "align-left": PhAlignLeft,
486
+ "align-center-horizontal": PhAlignCenterHorizontal,
487
+ "align-right": PhAlignRight,
488
+ "align-top": PhAlignTop,
489
+ "align-center-vertical": PhAlignCenterVertical,
490
+ "align-bottom": PhAlignBottom,
491
+ code: PhCode,
492
+ "code-block": PhCodeBlock,
493
+ quotes: PhQuotes,
494
+ "chart-line-up": PhChartLineUp,
495
+ "chart-bar": PhChartBar,
496
+ "chart-pie-slice": PhChartPieSlice,
497
+ handshake: PhHandshake,
498
+ "note-pencil": PhNotePencil,
499
+ target: PhTarget,
500
+ };
501
+
502
+ /* family 공통 fallback — 매핑 없는 아이콘 호출 시 "사각형 + 대각선" 금지표시 느낌.
503
+ family별 라이브러리 아이콘("빈 네모")보다 "이 아이콘은 없음" 신호가 명확하도록
504
+ 전용 SVG로 그린다. stroke는 currentColor, size는 phosphor/lucide와 동일하게 size prop을
505
+ 받는 형태로 흉내낸다. */
506
+
507
+ /* arrows-down-up: table header sort indicator 전용 커스텀 아이콘.
508
+ phosphor ArrowsDownUp과 동일한 모양이지만 두 path를 각각 분리해 class를 걸어
509
+ 호출 쪽에서 "위 path(=desc 방향)"와 "아래 path(=asc 방향)"의 톤을 독립 제어할 수 있게 함.
510
+ icon family 축에 영향받지 않고 항상 동일 모양. */
511
+ function ArrowsDownUpIcon({
512
+ size = 20,
513
+ upClassName,
514
+ downClassName,
515
+ ...rest
516
+ }: React.SVGAttributes<SVGSVGElement> & {
517
+ size?: number | string;
518
+ /** 상단 path (아래 방향 ↓, desc 지시). */
519
+ upClassName?: string;
520
+ /** 하단 path (위 방향 ↑, asc 지시). */
521
+ downClassName?: string;
522
+ }) {
523
+ return (
524
+ <svg
525
+ xmlns="http://www.w3.org/2000/svg"
526
+ width={size}
527
+ height={size}
528
+ viewBox="0 0 256 256"
529
+ fill="currentColor"
530
+ {...rest}
531
+ >
532
+ <path
533
+ className={upClassName}
534
+ d="M117.66,170.34a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L72,188.69V48a8,8,0,0,1,16,0V188.69l18.34-18.35A8,8,0,0,1,117.66,170.34Z"
535
+ />
536
+ <path
537
+ className={downClassName}
538
+ d="M213.66,74.34l-32-32a8,8,0,0,0-11.32,0l-32,32a8,8,0,0,0,11.32,11.32L168,67.31V208a8,8,0,0,0,16,0V67.31l18.34,18.35a8,8,0,0,0,11.32-11.32Z"
539
+ />
540
+ </svg>
541
+ );
542
+ }
543
+
544
+ /* 축과 무관하게 phosphor로 고정 노출할 아이콘.
545
+ solar/lucide에 형상이 명확한 등가물이 없거나 기존 매핑이 의미상 틀린 자리. */
546
+ const forcePhosphorFamily = new Set<IconName>([
547
+ // Tooltip needs a centered tail; keep the exact silhouette across icon families.
548
+ "chat-centered",
549
+ "text-align-left",
550
+ "text-align-center",
551
+ "text-align-right",
552
+ "text-align-justify",
553
+ "text-b",
554
+ "text-italic",
555
+ "text-underline",
556
+ "text-strikethrough",
557
+ "text-indent",
558
+ "text-outdent",
559
+ "align-left",
560
+ "align-center-horizontal",
561
+ "align-right",
562
+ "align-top",
563
+ "align-center-vertical",
564
+ "align-bottom",
565
+ "code",
566
+ "code-block",
567
+ "quotes",
568
+ // 기존 매핑이 solar/lucide에서 의미상 틀린 자리
569
+ "square-half",
570
+ "toggle-left",
571
+ "toggle-right",
572
+ "line-segments",
573
+ "textbox",
574
+ // solar/lucide에 등가물이 없거나 매핑 생략한 자리 — phosphor로 안전 폴백
575
+ "tray",
576
+ "hourglass",
577
+ "cloud-slash",
578
+ ]);
579
+
580
+ export interface IconProps extends React.SVGAttributes<SVGSVGElement> {
581
+ name: IconName;
582
+ /** 축 기본값(html data-icon-family) 오버라이드 */
583
+ family?: IconFamily;
584
+ /** Phosphor: 6 weights. Solar: fill→Bold, 나머지→Linear. Lucide: regular. */
585
+ weight?: IconWeight;
586
+ /** Solar의 원본 스타일. 생략하면 fill→Bold, 나머지→Linear. */
587
+ solarStyle?: SolarIconStyle;
588
+ size?: number | string;
589
+ /** arrows-down-up 전용: 상/하 path 톤을 각기 제어. 다른 아이콘에서는 무시. */
590
+ upClassName?: string;
591
+ downClassName?: string;
592
+ }
593
+
594
+ export function Icon({
595
+ name,
596
+ family: familyProp,
597
+ weight: weightProp,
598
+ solarStyle,
599
+ size = 20,
600
+ upClassName,
601
+ downClassName,
602
+ ...rest
603
+ }: IconProps) {
604
+ const axis = useIconAxis();
605
+ const requestedFamily = familyProp ?? axis.family;
606
+ const family = forcePhosphorFamily.has(name) ? "phosphor" : requestedFamily;
607
+ const weight = weightProp ?? axis.weight;
608
+
609
+ /* family와 무관하게 늘 같은 모양으로 나와야 하는 커스텀 아이콘 분기. */
610
+ if (name === "arrows-down-up") {
611
+ return (
612
+ <ArrowsDownUpIcon
613
+ size={size}
614
+ upClassName={upClassName}
615
+ downClassName={downClassName}
616
+ {...rest}
617
+ />
618
+ );
619
+ }
620
+
621
+ let Component: AnyComp;
622
+ let familyProps: Record<string, unknown> = {};
623
+
624
+ const deferredProps = { name, weight, size, ...rest };
625
+ const fallback = <svg width={size} height={size} aria-hidden="true" />;
626
+
627
+ if (family === "solar") {
628
+ return <React.Suspense fallback={fallback}><SolarFamilyIcon {...deferredProps} solarStyle={solarStyle} /></React.Suspense>;
629
+ } else if (family === "lucide") {
630
+ return <React.Suspense fallback={fallback}><LucideFamilyIcon {...deferredProps} /></React.Suspense>;
631
+ } else {
632
+ const entry = Object.hasOwn(phosphorSet, name) ? phosphorSet[name] : undefined;
633
+ if (!entry) return <React.Suspense fallback={fallback}><ExtendedPhosphorIcon {...deferredProps} /></React.Suspense>;
634
+ Component = entry;
635
+ familyProps = { weight };
636
+ }
637
+
638
+ return <Component size={size} {...familyProps} {...rest} />;
639
+ }
640
+
641
+ // Common semantic slots stay synchronous. Full families are separate chunks loaded only on demand.
642
+ const kebabIconName = (name: string) => name.replace(/([A-Z]+)([A-Z][a-z])/g, "$1-$2").replace(/([a-z\d])([A-Z])/g, "$1-$2").toLowerCase();
643
+
644
+ const ExtendedPhosphorIcon = React.lazy(async () => {
645
+ const { phosphorCatalog } = await import("./phosphorCatalog");
646
+ return { default: function FullPhosphorIcon({ name, weight, size, ...rest }: IconProps) {
647
+ const key = /^[A-Z]/.test(name) ? kebabIconName(name.replace(/Icon$/, "")) : name;
648
+ const Component = Object.hasOwn(phosphorCatalog, key) ? phosphorCatalog[key] : undefined;
649
+ return Component ? <Component weight={weight} size={size} {...rest} /> : <MissingIcon size={size} {...rest} />;
650
+ } };
651
+ });
652
+
653
+ const SolarFamilyIcon = React.lazy(() => import("./SolarFamilyIcon"));
654
+ const LucideFamilyIcon = React.lazy(() => import("./LucideFamilyIcon"));