sellmate-design-system-react 9.0.0-beta.0 → 9.0.0-beta.100

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 (443) hide show
  1. package/AGENTS.md +4263 -286
  2. package/README.md +126 -15
  3. package/bin/sellmate-ds.mjs +91 -59
  4. package/dist/components/SAccountListBox/AccountListBoxPortal.d.ts +31 -0
  5. package/dist/components/SAccountListBox/README.md +86 -0
  6. package/dist/components/SAccountListBox/SAccountListBox.d.ts +79 -0
  7. package/dist/components/SAccountListBox/SystemMenuPortal.d.ts +58 -0
  8. package/dist/components/SAccountListBox/accountListBox.config.d.ts +64 -0
  9. package/dist/components/SAccountListBox/index.d.ts +2 -0
  10. package/dist/components/SActionModal/README.md +1 -0
  11. package/dist/components/SActionModal/SActionModal.d.ts +9 -1
  12. package/dist/components/SBadge/README.md +27 -0
  13. package/dist/components/SBadge/SBadge.d.ts +1 -1
  14. package/dist/components/SBarChart/README.md +123 -0
  15. package/dist/components/SBarChart/SBarChart.d.ts +106 -0
  16. package/dist/components/SBarChart/barChart.config.d.ts +85 -0
  17. package/dist/components/SBarChart/index.d.ts +2 -0
  18. package/dist/components/SBarcodeInput/README.md +16 -4
  19. package/dist/components/SBarcodeInput/SBarcodeInput.d.ts +25 -3
  20. package/dist/components/SButton/README.md +76 -3
  21. package/dist/components/SButton/SButton.d.ts +29 -5
  22. package/dist/components/SButton/button.config.d.ts +22 -13
  23. package/dist/components/SButton/index.d.ts +1 -1
  24. package/dist/components/SCalendar/README.md +13 -0
  25. package/dist/components/SCalendarBoard/CalendarDayCard.d.ts +53 -0
  26. package/dist/components/SCalendarBoard/CalendarDayEventListBox.d.ts +26 -0
  27. package/dist/components/SCalendarBoard/CalendarEventButton.d.ts +20 -0
  28. package/dist/components/SCalendarBoard/CalendarMoreButton.d.ts +18 -0
  29. package/dist/components/SCalendarBoard/README.md +148 -0
  30. package/dist/components/SCalendarBoard/SCalendarBoard.d.ts +83 -0
  31. package/dist/components/SCalendarBoard/calendar-board-layout.d.ts +59 -0
  32. package/dist/components/SCalendarBoard/calendarBoard.config.d.ts +38 -0
  33. package/dist/components/SCalendarBoard/index.d.ts +3 -0
  34. package/dist/components/SCalendarBoard/types.d.ts +40 -0
  35. package/dist/components/SCallout/README.md +17 -1
  36. package/dist/components/SCallout/SCallout.d.ts +14 -4
  37. package/dist/components/SCard/README.md +17 -0
  38. package/dist/components/SCard/SCard.d.ts +26 -2
  39. package/dist/components/SChatAttachedFile/README.md +33 -0
  40. package/dist/components/SChatAttachedFile/SChatAttachedFile.d.ts +13 -0
  41. package/dist/components/SChatAttachedFile/chatAttachedFile.config.d.ts +23 -0
  42. package/dist/components/SChatAttachedFile/index.d.ts +2 -0
  43. package/dist/components/SChatFile/README.md +33 -0
  44. package/dist/components/SChatFile/SChatFile.d.ts +37 -0
  45. package/dist/components/SChatFile/chatFile.config.d.ts +56 -0
  46. package/dist/components/SChatFile/index.d.ts +2 -0
  47. package/dist/components/SChatInput/README.md +52 -0
  48. package/dist/components/SChatInput/SChatInput.d.ts +127 -0
  49. package/dist/components/SChatInput/index.d.ts +1 -0
  50. package/dist/components/SChatMessage/README.md +87 -0
  51. package/dist/components/SChatMessage/SChatMessage.d.ts +135 -0
  52. package/dist/components/SChatMessage/index.d.ts +1 -0
  53. package/dist/components/SChatSystemMessage/README.md +12 -0
  54. package/dist/components/SChatSystemMessage/SChatSystemMessage.d.ts +18 -0
  55. package/dist/components/SChatSystemMessage/index.d.ts +1 -0
  56. package/dist/components/SCheckbox/README.md +11 -0
  57. package/dist/components/SCheckbox/SCheckbox.d.ts +9 -1
  58. package/dist/components/SChip/README.md +25 -0
  59. package/dist/components/SChip/SChip.d.ts +8 -0
  60. package/dist/components/SChip/index.d.ts +1 -1
  61. package/dist/components/SChipFilter/README.md +369 -11
  62. package/dist/components/SChipFilter/SChipFilter.d.ts +175 -59
  63. package/dist/components/SChipFilter/index.d.ts +1 -1
  64. package/dist/components/SChipInput/README.md +22 -3
  65. package/dist/components/SChipInput/SChipInput.d.ts +53 -3
  66. package/dist/components/SChipInput/index.d.ts +1 -1
  67. package/dist/components/SCircleProgress/README.md +15 -1
  68. package/dist/components/SCircleProgress/SCircleProgress.d.ts +16 -2
  69. package/dist/components/SConfirmModal/README.md +13 -4
  70. package/dist/components/SConfirmModal/SConfirmModal.d.ts +46 -9
  71. package/dist/components/SContextAlert/README.md +52 -0
  72. package/dist/components/SContextAlert/SContextAlert.d.ts +51 -0
  73. package/dist/components/SContextAlert/contextAlert.config.d.ts +22 -0
  74. package/dist/components/SContextAlert/index.d.ts +2 -0
  75. package/dist/components/SDatePicker/README.md +63 -4
  76. package/dist/components/SDatePicker/SDatePicker.d.ts +84 -6
  77. package/dist/components/SDatePicker/index.d.ts +1 -1
  78. package/dist/components/SDateRangePicker/README.md +23 -4
  79. package/dist/components/SDateRangePicker/SDateRangePicker.d.ts +52 -7
  80. package/dist/components/SDivider/README.md +7 -0
  81. package/dist/components/SDivider/SDivider.d.ts +11 -0
  82. package/dist/components/SDonutChart/README.md +105 -0
  83. package/dist/components/SDonutChart/SDonutChart.d.ts +82 -0
  84. package/dist/components/SDonutChart/index.d.ts +1 -0
  85. package/dist/components/SDraggableItem/README.md +37 -0
  86. package/dist/components/SDraggableItem/SDraggableItem.d.ts +2 -0
  87. package/dist/components/SDraggableItem/index.d.ts +1 -1
  88. package/dist/components/SDraggableList/README.md +33 -3
  89. package/dist/components/SDraggableList/SDraggableList.d.ts +18 -3
  90. package/dist/components/SDraggableList/index.d.ts +1 -1
  91. package/dist/components/SDrawer/README.md +8 -0
  92. package/dist/components/SDropdownButton/README.md +30 -1
  93. package/dist/components/SDropdownButton/SDropdownButton.d.ts +3 -1
  94. package/dist/components/SDropdownButton/index.d.ts +1 -1
  95. package/dist/components/SEditor/EditorBody.d.ts +48 -0
  96. package/dist/components/SEditor/EditorToolbar.d.ts +93 -0
  97. package/dist/components/SEditor/README.md +207 -0
  98. package/dist/components/SEditor/SEditor.d.ts +128 -0
  99. package/dist/components/SEditor/editor-icons.d.ts +63 -0
  100. package/dist/components/SEditor/editor.config.d.ts +119 -0
  101. package/dist/components/SEditor/index.d.ts +8 -0
  102. package/dist/components/SEditor/tiptap-api.d.ts +29 -0
  103. package/dist/components/SEditor/use-is-mobile.d.ts +14 -0
  104. package/dist/components/SExpansionItem/README.md +39 -2
  105. package/dist/components/SExpansionItem/SExpansionItem.d.ts +18 -2
  106. package/dist/components/SExpansionItem/index.d.ts +1 -1
  107. package/dist/components/SField/README.md +40 -4
  108. package/dist/components/SField/SField.d.ts +69 -6
  109. package/dist/components/SField/index.d.ts +1 -1
  110. package/dist/components/SFilePicker/README.md +20 -4
  111. package/dist/components/SFilePicker/SFilePicker.d.ts +26 -6
  112. package/dist/components/SFooter/README.md +44 -0
  113. package/dist/components/SFooter/SFooter.d.ts +29 -13
  114. package/dist/components/SFooter/index.d.ts +1 -1
  115. package/dist/components/SForm/README.md +12 -1
  116. package/dist/components/SForm/SForm.d.ts +2 -2
  117. package/dist/components/SGhostButton/README.md +34 -1
  118. package/dist/components/SGhostButton/SGhostButton.d.ts +22 -4
  119. package/dist/components/SGnb/README.md +109 -8
  120. package/dist/components/SGnb/SGnb.d.ts +112 -11
  121. package/dist/components/SGnb/gnb.config.d.ts +24 -5
  122. package/dist/components/SGnb/index.d.ts +1 -1
  123. package/dist/components/SGnbSystem/README.md +190 -0
  124. package/dist/components/SGnbSystem/SGnbSystem.d.ts +179 -0
  125. package/dist/components/SGnbSystem/gnbSystem.config.d.ts +124 -0
  126. package/dist/components/SGnbSystem/index.d.ts +2 -0
  127. package/dist/components/SGuide/README.md +16 -1
  128. package/dist/components/SGuide/SGuide.d.ts +5 -2
  129. package/dist/components/SIcon/README.md +27 -1
  130. package/dist/components/SIcon/SIcon.d.ts +2 -2
  131. package/dist/components/SIcon/icons.gen.d.ts +20 -1
  132. package/dist/components/SImage/README.md +66 -0
  133. package/dist/components/SImage/SImage.d.ts +44 -0
  134. package/dist/components/SImage/index.d.ts +1 -0
  135. package/dist/components/SInput/README.md +10 -4
  136. package/dist/components/SInput/SInput.d.ts +17 -5
  137. package/dist/components/SKeyValueTable/README.md +89 -0
  138. package/dist/components/SKeyValueTable/SKeyValueTable.d.ts +37 -3
  139. package/dist/components/SKeyValueTable/index.d.ts +1 -1
  140. package/dist/components/SLauncherListBox/README.md +82 -0
  141. package/dist/components/SLauncherListBox/SLauncherListBox.d.ts +80 -0
  142. package/dist/components/SLauncherListBox/index.d.ts +2 -0
  143. package/dist/components/SLauncherListBox/launcherListBox.config.d.ts +149 -0
  144. package/dist/components/SLayout/README.md +22 -1
  145. package/dist/components/SLayout/SLayout.d.ts +6 -2
  146. package/dist/components/SLayout/index.d.ts +1 -1
  147. package/dist/components/SLineChart/README.md +132 -0
  148. package/dist/components/SLineChart/SLineChart.d.ts +115 -0
  149. package/dist/components/SLineChart/index.d.ts +1 -0
  150. package/dist/components/SLineChart/lineChart.config.d.ts +94 -0
  151. package/dist/components/SLinearProgress/README.md +16 -1
  152. package/dist/components/SLinearProgress/SLinearProgress.d.ts +11 -2
  153. package/dist/components/SLinearProgress/index.d.ts +1 -1
  154. package/dist/components/SList/README.md +15 -3
  155. package/dist/components/SList/SList.d.ts +7 -5
  156. package/dist/components/SList/index.d.ts +1 -1
  157. package/dist/components/SListItem/README.md +43 -2
  158. package/dist/components/SListItem/SListItem.d.ts +12 -2
  159. package/dist/components/SListItem/index.d.ts +1 -1
  160. package/dist/components/SLoadingContainer/index.d.ts +1 -1
  161. package/dist/components/SLoadingContainer/loading.d.ts +41 -6
  162. package/dist/components/SLoadingModal/README.md +12 -4
  163. package/dist/components/SLoadingModal/SLoadingModal.d.ts +4 -4
  164. package/dist/components/SLoadingModal/index.d.ts +1 -1
  165. package/dist/components/SLoginCard/README.md +37 -0
  166. package/dist/components/SLoginCard/SLoginCard.d.ts +43 -0
  167. package/dist/components/SLoginCard/index.d.ts +1 -0
  168. package/dist/components/SLogo/README.md +103 -0
  169. package/dist/components/SLogo/SLogo.d.ts +72 -0
  170. package/dist/components/SLogo/index.d.ts +2 -0
  171. package/dist/components/SLogo/logo.config.d.ts +29 -0
  172. package/dist/components/SLogo/logos.d.ts +16 -0
  173. package/dist/components/SMeatballButton/README.md +69 -0
  174. package/dist/components/SMeatballButton/SMeatballButton.d.ts +36 -0
  175. package/dist/components/SMeatballButton/index.d.ts +1 -0
  176. package/dist/components/SModal/README.md +15 -5
  177. package/dist/components/SModal/SModal.d.ts +1 -1
  178. package/dist/components/SNumberInput/README.md +21 -8
  179. package/dist/components/SNumberInput/SNumberInput.d.ts +49 -7
  180. package/dist/components/SPage/README.md +107 -5
  181. package/dist/components/SPage/SPage.d.ts +50 -10
  182. package/dist/components/SPage/SPageHeader.d.ts +31 -13
  183. package/dist/components/SPage/index.d.ts +2 -2
  184. package/dist/components/SPage/page-column.d.ts +34 -0
  185. package/dist/components/SPage/page-width.d.ts +23 -0
  186. package/dist/components/SPage/page.config.d.ts +34 -0
  187. package/dist/components/SPieChart/README.md +93 -0
  188. package/dist/components/SPieChart/SPieChart.d.ts +73 -0
  189. package/dist/components/SPieChart/index.d.ts +1 -0
  190. package/dist/components/SPopover/README.md +15 -0
  191. package/dist/components/SPopup/README.md +26 -2
  192. package/dist/components/SPopup/SPopup.d.ts +13 -10
  193. package/dist/components/SPopup/index.d.ts +1 -1
  194. package/dist/components/SPortal/README.md +20 -0
  195. package/dist/components/SRadio/README.md +20 -0
  196. package/dist/components/SRadioButton/README.md +27 -0
  197. package/dist/components/SRadioButton/SRadioButton.d.ts +17 -3
  198. package/dist/components/SRadioCard/README.md +81 -0
  199. package/dist/components/SRadioCard/SRadioCard.d.ts +34 -0
  200. package/dist/components/SRadioCard/SRadioCardGroup.d.ts +38 -0
  201. package/dist/components/SRadioCard/index.d.ts +2 -0
  202. package/dist/components/SScrollArea/README.md +28 -0
  203. package/dist/components/SScrollArea/SScrollArea.d.ts +17 -0
  204. package/dist/components/SSearchInput/README.md +63 -0
  205. package/dist/components/SSearchInput/SSearchInput.d.ts +52 -0
  206. package/dist/components/SSearchInput/index.d.ts +1 -0
  207. package/dist/components/SSectionHeaderCard/README.md +45 -20
  208. package/dist/components/SSectionHeaderCard/SSectionHeaderCard.d.ts +40 -14
  209. package/dist/components/SSectionHeaderCard/index.d.ts +1 -1
  210. package/dist/components/SSelect/README.md +70 -9
  211. package/dist/components/SSelect/SSelect.d.ts +159 -17
  212. package/dist/components/SSelect/index.d.ts +1 -1
  213. package/dist/components/SSelect/select.config.d.ts +51 -4
  214. package/dist/components/SSkeleton/README.md +67 -0
  215. package/dist/components/SSkeleton/SSkeleton.d.ts +43 -0
  216. package/dist/components/SSkeleton/index.d.ts +2 -0
  217. package/dist/components/SSkeleton/skeleton.config.d.ts +24 -0
  218. package/dist/components/SSlider/README.md +86 -0
  219. package/dist/components/SSlider/SSlider.d.ts +149 -0
  220. package/dist/components/SSlider/index.d.ts +1 -0
  221. package/dist/components/SSplitter/README.md +17 -2
  222. package/dist/components/SSplitter/SSplitter.d.ts +7 -3
  223. package/dist/components/SStepper/README.md +26 -0
  224. package/dist/components/SStepper/stepper.config.d.ts +9 -3
  225. package/dist/components/SSwitch/README.md +13 -1
  226. package/dist/components/SSwitch/SSwitch.d.ts +1 -3
  227. package/dist/components/SSystemActionButton/README.md +246 -0
  228. package/dist/components/SSystemActionButton/SSystemActionButton.d.ts +167 -0
  229. package/dist/components/SSystemActionButton/index.d.ts +2 -0
  230. package/dist/components/SSystemActionButton/systemActionButton.config.d.ts +93 -0
  231. package/dist/components/STable/README.md +157 -20
  232. package/dist/components/STable/STable.d.ts +380 -47
  233. package/dist/components/STable/index.d.ts +1 -1
  234. package/dist/components/STableBar/README.md +1 -0
  235. package/dist/components/STableBar/STableBar.d.ts +8 -1
  236. package/dist/components/STabs/README.md +13 -2
  237. package/dist/components/STabs/STabs.d.ts +3 -5
  238. package/dist/components/STabs/index.d.ts +1 -1
  239. package/dist/components/STabs/tabs.config.d.ts +4 -10
  240. package/dist/components/STag/README.md +63 -0
  241. package/dist/components/STag/STag.d.ts +3 -1
  242. package/dist/components/STag/tag.config.d.ts +11 -10
  243. package/dist/components/STextLink/README.md +21 -1
  244. package/dist/components/STextLink/STextLink.d.ts +5 -1
  245. package/dist/components/STextarea/README.md +12 -5
  246. package/dist/components/STextarea/STextarea.d.ts +49 -6
  247. package/dist/components/STimePicker/README.md +20 -3
  248. package/dist/components/STimePicker/STimePicker.d.ts +37 -11
  249. package/dist/components/STimePicker/TimeListbox.d.ts +21 -0
  250. package/dist/components/STimePicker/timepicker.config.d.ts +10 -0
  251. package/dist/components/STimeRangePicker/README.md +33 -4
  252. package/dist/components/STimeRangePicker/STimeRangePicker.d.ts +40 -7
  253. package/dist/components/STimeline/README.md +41 -0
  254. package/dist/components/STimeline/STimeline.d.ts +27 -0
  255. package/dist/components/STimeline/index.d.ts +1 -0
  256. package/dist/components/SToast/README.md +25 -1
  257. package/dist/components/SToast/SToast.d.ts +2 -2
  258. package/dist/components/SToggle/README.md +9 -0
  259. package/dist/components/SToggle/SToggle.d.ts +4 -1
  260. package/dist/components/SToggle/index.d.ts +1 -1
  261. package/dist/components/STooltip/README.md +27 -1
  262. package/dist/components/STooltip/STooltip.d.ts +1 -1
  263. package/dist/components/STree/README.md +46 -4
  264. package/dist/components/STree/STree.d.ts +25 -7
  265. package/dist/components/STree/STree.examples.d.ts +2 -0
  266. package/dist/components/STree/index.d.ts +1 -1
  267. package/dist/components/STreeTable/README.md +49 -0
  268. package/dist/components/STreeTable/STreeTable.d.ts +70 -0
  269. package/dist/components/STreeTable/STreeTable.examples.d.ts +39 -0
  270. package/dist/components/STreeTable/index.d.ts +1 -0
  271. package/dist/docs/Gallery.d.ts +9 -0
  272. package/dist/docs/RecipeGallery.d.ts +13 -0
  273. package/dist/docs/gallery-previews.d.ts +24 -0
  274. package/dist/fonts/LICENSE.txt +94 -0
  275. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.0.woff2 +0 -0
  276. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.1.woff2 +0 -0
  277. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.10.woff2 +0 -0
  278. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.11.woff2 +0 -0
  279. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.12.woff2 +0 -0
  280. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.13.woff2 +0 -0
  281. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.14.woff2 +0 -0
  282. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.15.woff2 +0 -0
  283. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.16.woff2 +0 -0
  284. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.17.woff2 +0 -0
  285. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.18.woff2 +0 -0
  286. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.19.woff2 +0 -0
  287. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.2.woff2 +0 -0
  288. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.20.woff2 +0 -0
  289. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.21.woff2 +0 -0
  290. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.22.woff2 +0 -0
  291. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.23.woff2 +0 -0
  292. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.24.woff2 +0 -0
  293. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.25.woff2 +0 -0
  294. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.26.woff2 +0 -0
  295. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.27.woff2 +0 -0
  296. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.28.woff2 +0 -0
  297. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.29.woff2 +0 -0
  298. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.3.woff2 +0 -0
  299. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.30.woff2 +0 -0
  300. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.31.woff2 +0 -0
  301. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.32.woff2 +0 -0
  302. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.33.woff2 +0 -0
  303. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.34.woff2 +0 -0
  304. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.35.woff2 +0 -0
  305. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.36.woff2 +0 -0
  306. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.37.woff2 +0 -0
  307. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.38.woff2 +0 -0
  308. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.39.woff2 +0 -0
  309. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.4.woff2 +0 -0
  310. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.40.woff2 +0 -0
  311. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.41.woff2 +0 -0
  312. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.42.woff2 +0 -0
  313. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.43.woff2 +0 -0
  314. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.44.woff2 +0 -0
  315. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.45.woff2 +0 -0
  316. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.46.woff2 +0 -0
  317. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.47.woff2 +0 -0
  318. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.48.woff2 +0 -0
  319. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.49.woff2 +0 -0
  320. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.5.woff2 +0 -0
  321. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.50.woff2 +0 -0
  322. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.51.woff2 +0 -0
  323. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.52.woff2 +0 -0
  324. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.53.woff2 +0 -0
  325. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.54.woff2 +0 -0
  326. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.55.woff2 +0 -0
  327. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.56.woff2 +0 -0
  328. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.57.woff2 +0 -0
  329. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.58.woff2 +0 -0
  330. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.59.woff2 +0 -0
  331. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.6.woff2 +0 -0
  332. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.60.woff2 +0 -0
  333. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.61.woff2 +0 -0
  334. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.62.woff2 +0 -0
  335. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.63.woff2 +0 -0
  336. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.64.woff2 +0 -0
  337. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.65.woff2 +0 -0
  338. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.66.woff2 +0 -0
  339. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.67.woff2 +0 -0
  340. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.68.woff2 +0 -0
  341. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.69.woff2 +0 -0
  342. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.7.woff2 +0 -0
  343. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.70.woff2 +0 -0
  344. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.71.woff2 +0 -0
  345. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.72.woff2 +0 -0
  346. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.73.woff2 +0 -0
  347. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.74.woff2 +0 -0
  348. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.75.woff2 +0 -0
  349. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.76.woff2 +0 -0
  350. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.77.woff2 +0 -0
  351. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.78.woff2 +0 -0
  352. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.79.woff2 +0 -0
  353. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.8.woff2 +0 -0
  354. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.80.woff2 +0 -0
  355. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.81.woff2 +0 -0
  356. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.82.woff2 +0 -0
  357. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.83.woff2 +0 -0
  358. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.84.woff2 +0 -0
  359. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.85.woff2 +0 -0
  360. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.86.woff2 +0 -0
  361. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.87.woff2 +0 -0
  362. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.88.woff2 +0 -0
  363. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.89.woff2 +0 -0
  364. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.9.woff2 +0 -0
  365. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.90.woff2 +0 -0
  366. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.91.woff2 +0 -0
  367. package/dist/index.cjs +24511 -10545
  368. package/dist/index.cjs.map +1 -1
  369. package/dist/index.d.ts +27 -0
  370. package/dist/index.js +24419 -10550
  371. package/dist/index.js.map +1 -1
  372. package/dist/lib/autofill.d.ts +3 -5
  373. package/dist/lib/chart/cartesian.d.ts +54 -0
  374. package/dist/lib/chart/category-labels.d.ts +37 -0
  375. package/dist/lib/chart/frame.d.ts +21 -0
  376. package/dist/lib/chart/hover-dim.d.ts +19 -0
  377. package/dist/lib/chart/legend.d.ts +21 -0
  378. package/dist/lib/chart/palette.d.ts +28 -0
  379. package/dist/lib/chart/radial.d.ts +99 -0
  380. package/dist/lib/chart/scale.d.ts +26 -0
  381. package/dist/lib/chart/tooltip.d.ts +60 -0
  382. package/dist/lib/chart/types.d.ts +29 -0
  383. package/dist/lib/chart/use-element-size.d.ts +42 -0
  384. package/dist/lib/date.d.ts +11 -1
  385. package/dist/lib/depth-filter.d.ts +27 -0
  386. package/dist/lib/doc-sections.d.ts +35 -0
  387. package/dist/lib/dropdown-menu.d.ts +19 -0
  388. package/dist/lib/field-width.d.ts +31 -0
  389. package/dist/lib/floating-height.d.ts +15 -0
  390. package/dist/lib/global-overlay.d.ts +5 -0
  391. package/dist/lib/hover-preview.d.ts +32 -0
  392. package/dist/lib/inert.d.ts +11 -0
  393. package/dist/lib/list-box-item.d.ts +16 -0
  394. package/dist/lib/mode-listbox.d.ts +10 -0
  395. package/dist/lib/overlay-scrollbar.d.ts +32 -0
  396. package/dist/lib/row-metrics.d.ts +61 -0
  397. package/dist/lib/row-motion.d.ts +56 -0
  398. package/dist/lib/scrollbar.d.ts +1 -2
  399. package/dist/lib/story-docs.d.ts +19 -3
  400. package/dist/lib/tree-row.d.ts +103 -0
  401. package/dist/lib/truncated-value-tooltip.d.ts +18 -0
  402. package/dist/llms-full.txt +9156 -896
  403. package/dist/llms.txt +4311 -303
  404. package/dist/playground/categories.d.ts +19 -0
  405. package/dist/pretendard.css +937 -0
  406. package/dist/recipes/AppShell.d.ts +21 -0
  407. package/dist/recipes/CategoryManagePage.d.ts +1 -0
  408. package/dist/recipes/ConsultConsolePage.d.ts +1 -0
  409. package/dist/recipes/ExcelFilePopupPage.d.ts +5 -0
  410. package/dist/recipes/LoginPage.d.ts +6 -0
  411. package/dist/recipes/ProductBulkUploadPage.d.ts +1 -0
  412. package/dist/recipes/ProductCreatePage.d.ts +1 -0
  413. package/dist/recipes/ProductCreateSectionsPage.d.ts +5 -0
  414. package/dist/recipes/ProductDetailInlineEditPage.d.ts +9 -0
  415. package/dist/recipes/ProductDetailPage.d.ts +1 -0
  416. package/dist/recipes/ProductListChipFilterPage.d.ts +1 -0
  417. package/dist/recipes/ProductListPage.d.ts +1 -0
  418. package/dist/recipes/ProductOverlayPage.d.ts +1 -0
  419. package/dist/recipes/SalesDashboardPage.d.ts +1 -0
  420. package/dist/recipes/SettingsPage.d.ts +1 -0
  421. package/dist/recipes/StoreSetupPage.d.ts +1 -0
  422. package/dist/recipes/TransferOrderPopupPage.d.ts +2 -0
  423. package/dist/recipes/api.d.ts +220 -0
  424. package/dist/recipes/recipe-story.d.ts +33 -0
  425. package/dist/recipes/router.d.ts +9 -0
  426. package/dist/styles.css +4264 -362
  427. package/dist/theme.css +812 -64
  428. package/eslint/index.mjs +45 -31
  429. package/eslint/lib/class-names.mjs +23 -25
  430. package/eslint/lib/table-column.mjs +34 -8
  431. package/eslint/rules/component-group-gap.mjs +32 -30
  432. package/eslint/rules/divider-vertical-height.mjs +137 -0
  433. package/eslint/rules/field-width-grade.d.mts +41 -0
  434. package/eslint/rules/field-width-grade.mjs +311 -0
  435. package/eslint/rules/no-arbitrary-class.mjs +63 -20
  436. package/eslint/rules/no-off-scale-spacing.mjs +61 -41
  437. package/eslint/rules/no-raw-html-control.mjs +38 -36
  438. package/eslint/rules/prefer-typo-preset.mjs +23 -17
  439. package/eslint/rules/require-locale-number.mjs +14 -19
  440. package/eslint/rules/table-column-width.mjs +114 -0
  441. package/eslint/rules/table-numeric-align.mjs +14 -14
  442. package/eslint/scale.gen.mjs +6 -3
  443. package/package.json +27 -6
@@ -9,9 +9,24 @@
9
9
  | Prop | Type | Default | Description |
10
10
  |------|------|---------|-------------|
11
11
  | `value?` | `number` | `0` | 진행률 (0–100) |
12
- | `type?` | `SLinearProgressType` | `'primary'` | 색상 타입 |
12
+ | `type?` | `SLinearProgressType` | `'primary'` | 진행 상태 - `primary`: 정상 진행 중 - `warning`: 진행 중이지만 설정된 기준에 미달해 주의가 필요하다 (기준은 제품이 정한다) - `error`: 실패·중단 등 더 이상 정상적으로 진행되지 않는다 - `complete`: 완료 |
13
+ | `size?` | `SLinearProgressSize` | `'sm'` | 바 높이. xs 는 바 안에 퍼센트 텍스트를 넣지 않는다 |
13
14
  | `indeterminate?` | `boolean` | `false` | 진행률 없이 무한 애니메이션 |
14
15
  | `label?` | `string` | — | 하단 레이블 |
15
16
  | `className?` | `string` | — | |
16
17
  | `style?` | `CSSProperties` | — | |
17
18
 
19
+ ## Types
20
+
21
+ ### SLinearProgressType
22
+
23
+ ```ts
24
+ export type SLinearProgressType = 'primary' | 'warning' | 'error' | 'complete';
25
+ ```
26
+
27
+ ### SLinearProgressSize
28
+
29
+ ```ts
30
+ export type SLinearProgressSize = 'xs' | 'sm' | 'md';
31
+ ```
32
+
@@ -1,10 +1,19 @@
1
1
  import { type CSSProperties } from 'react';
2
- export type SLinearProgressType = 'primary' | 'error' | 'complete';
2
+ export type SLinearProgressType = 'primary' | 'warning' | 'error' | 'complete';
3
+ export type SLinearProgressSize = 'xs' | 'sm' | 'md';
3
4
  export interface SLinearProgressProps {
4
5
  /** 진행률 (0–100) */
5
6
  value?: number;
6
- /** 색상 타입 */
7
+ /**
8
+ * 진행 상태
9
+ * - `primary`: 정상 진행 중
10
+ * - `warning`: 진행 중이지만 설정된 기준에 미달해 주의가 필요하다 (기준은 제품이 정한다)
11
+ * - `error`: 실패·중단 등 더 이상 정상적으로 진행되지 않는다
12
+ * - `complete`: 완료
13
+ */
7
14
  type?: SLinearProgressType;
15
+ /** 바 높이. xs 는 바 안에 퍼센트 텍스트를 넣지 않는다 */
16
+ size?: SLinearProgressSize;
8
17
  /** 진행률 없이 무한 애니메이션 */
9
18
  indeterminate?: boolean;
10
19
  /** 하단 레이블 */
@@ -1 +1 @@
1
- export { SLinearProgress, type SLinearProgressProps, type SLinearProgressType, } from './SLinearProgress';
1
+ export { SLinearProgress, type SLinearProgressProps, type SLinearProgressType, type SLinearProgressSize, } from './SLinearProgress';
@@ -9,9 +9,16 @@
9
9
  | Prop | Type | Default | Description |
10
10
  |------|------|---------|-------------|
11
11
  | `children?` | `ReactNode` | — | 리스트 컨테이너 내부에 렌더링할 내용 |
12
- | `useGap?` | `boolean` | `false` | 리스트 아이템 사이 gap 토큰 적용 여부 |
13
- | `usePadding?` | `boolean` | `false` | 리스트 컨테이너 padding 토큰 적용 여부 |
14
- | `separator?` | `boolean` | `false` | 아이템 하단 구분선 표시 여부. 테두리를 가진 아이템(`bordered`)에는 쓰지 않는다 |
12
+ | `gap?` | `boolean` | `false` | 리스트 아이템 사이 gap 토큰 적용 여부 |
13
+ | `padding?` | `SListPadding` | `'none'` | 컨테이너 안쪽 여백. 기본은 `none` — 목록이 담긴 면이 이미 여백을 쥔 경우가 많다. 목록이 배경 위에 직접 얹혀 스스로 여백을 쥐어야 할 때만 `default`. |
14
+
15
+ ## Types
16
+
17
+ ### SListPadding
18
+
19
+ ```ts
20
+ export type SListPadding = 'default' | 'none';
21
+ ```
15
22
 
16
23
  ## Dependencies
17
24
 
@@ -20,10 +27,15 @@
20
27
  - [SDraggableList](../SDraggableList)
21
28
  - [SExpansionList](../SExpansionList)
22
29
 
30
+ ### Depends on
31
+
32
+ - [SDivider](../SDivider)
33
+
23
34
  ### Graph
24
35
 
25
36
  ```mermaid
26
37
  graph TD;
38
+ SList --> SDivider
27
39
  SDraggableList --> SList
28
40
  SExpansionList --> SList
29
41
  style SList fill:#f9f,stroke:#333,stroke-width:4px
@@ -1,12 +1,14 @@
1
1
  import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export type SListPadding = 'default' | 'none';
2
3
  export interface SListProps extends HTMLAttributes<HTMLDivElement> {
3
4
  /** 리스트 컨테이너 내부에 렌더링할 내용 */
4
5
  children?: ReactNode;
5
6
  /** 리스트 아이템 사이 gap 토큰 적용 여부 */
6
- useGap?: boolean;
7
- /** 리스트 컨테이너 padding 토큰 적용 여부 */
8
- usePadding?: boolean;
9
- /** 아이템 하단 구분선 표시 여부. 테두리를 가진 아이템(`bordered`)에는 쓰지 않는다 */
10
- separator?: boolean;
7
+ gap?: boolean;
8
+ /**
9
+ * 컨테이너 안쪽 여백. 기본은 `none` — 목록이 담긴 면이 이미 여백을 쥔 경우가 많다.
10
+ * 목록이 배경 위에 직접 얹혀 스스로 여백을 쥐어야 할 때만 `default`.
11
+ */
12
+ padding?: SListPadding;
11
13
  }
12
14
  export declare const SList: import("react").ForwardRefExoticComponent<SListProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export { SList, type SListProps } from './SList';
1
+ export { SList, type SListPadding, type SListProps } from './SList';
@@ -11,18 +11,59 @@
11
11
  | `title` | `SListItemSlot` | — | 리스트 아이템 제목 |
12
12
  | `supportingText?` | `SListItemSlot` | — | 제목을 보조하는 텍스트 |
13
13
  | `supportingTextPosition?` | `SListItemSupportingTextPosition` | `'right'` | 보조 텍스트 위치 |
14
- | `depth?` | `1 \| 2 \| 3` | `1` | 중첩 단계. Figma 기준 1~3단계 |
14
+ | `depth?` | `1 \| 2 \| 3` | `1` | 중첩 단계. Figma 기준 1~3단계. `SExpansionList` 안에서는 주지 않아도 중첩에서 정해진다 — 직접 주면 그 값이 우선한다. |
15
15
  | `leading?` | `SListItemSlot` | — | 타이틀 앞에 표시할 아이콘/콘텐츠 |
16
16
  | `trailing?` | `SListItemSlot` | — | 타이틀 뒤에 표시할 태그/콘텐츠 |
17
17
  | `bordered?` | `boolean` | `false` | 외곽 테두리 사용 여부 |
18
18
  | `selected?` | `boolean` | `false` | 선택 상태 여부. `clickable` 이 false 면 무시된다 |
19
- | `clickable?` | `boolean` | `false` | 클릭 가능 상태 여부. hover·selected·chevron 등 인터랙션 표현이 여기에 딸린다 |
19
+ | `clickable?` | `boolean` | `false` | 클릭 가능 상태 여부. hover·selected·chevron 등 인터랙션 표현이 여기에 딸린다. `SExpansionList` 안에서는 기본으로 켜진다 — 표시 전용이면 `false` 를 준다. **`onClick` 까지 주면 키보드로도 누를 수 있다** — 항목이 `role="button"` 으로 Tab 순서에 들고, Enter·Space 가 `onClick` 을 부른다. 앱이 `role`·`tabIndex` 를 직접 주면 그 값이 우선한다. `onClick` 이 없으면 눌러도 일어날 일이 없으므로 Tab 순서에 넣지 않는다. |
20
20
  | `interaction?` | `SListItemInteraction` | — | hover/selected 상태에서 적용할 인터랙션 preset |
21
21
  | `accentStripe?` | `boolean` | `false` | 아이템 왼쪽 accent stripe 표시 여부 |
22
22
  | `dense?` | `boolean` | `false` | 조밀한 높이 사용 여부 |
23
23
  | `size?` | `SListItemSize` | `'sm'` | 타이포그래피 크기 |
24
24
  | `disabled?` | `boolean` | `false` | 비활성 상태 여부 |
25
25
 
26
+ ## Types
27
+
28
+ ### SListItemSlot
29
+
30
+ ```ts
31
+ export type SListItemSlot = ReactNode | SListItemRenderProp;
32
+ ```
33
+
34
+ ### SListItemSupportingTextPosition
35
+
36
+ ```ts
37
+ export type SListItemSupportingTextPosition = 'right' | 'bottom';
38
+ ```
39
+
40
+ ### SListItemInteraction
41
+
42
+ ```ts
43
+ export type SListItemInteraction = 'chevron';
44
+ ```
45
+
46
+ ### SListItemSize
47
+
48
+ ```ts
49
+ export type SListItemSize = 'sm' | 'md';
50
+ ```
51
+
52
+ ### SListItemRenderProp
53
+
54
+ ```ts
55
+ export type SListItemRenderProp = (state: SListItemRenderState) => ReactNode;
56
+ ```
57
+
58
+ ### SListItemRenderState
59
+
60
+ ```ts
61
+ export interface SListItemRenderState {
62
+ hovered: boolean;
63
+ disabled: boolean;
64
+ }
65
+ ```
66
+
26
67
  ## Dependencies
27
68
 
28
69
  ### Used by
@@ -15,7 +15,10 @@ export interface SListItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ch
15
15
  supportingText?: SListItemSlot;
16
16
  /** 보조 텍스트 위치 */
17
17
  supportingTextPosition?: SListItemSupportingTextPosition;
18
- /** 중첩 단계. Figma 기준 1~3단계 */
18
+ /**
19
+ * 중첩 단계. Figma 기준 1~3단계.
20
+ * `SExpansionList` 안에서는 주지 않아도 중첩에서 정해진다 — 직접 주면 그 값이 우선한다.
21
+ */
19
22
  depth?: 1 | 2 | 3;
20
23
  /** 타이틀 앞에 표시할 아이콘/콘텐츠 */
21
24
  leading?: SListItemSlot;
@@ -25,7 +28,14 @@ export interface SListItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ch
25
28
  bordered?: boolean;
26
29
  /** 선택 상태 여부. `clickable` 이 false 면 무시된다 */
27
30
  selected?: boolean;
28
- /** 클릭 가능 상태 여부. hover·selected·chevron 등 인터랙션 표현이 여기에 딸린다 */
31
+ /**
32
+ * 클릭 가능 상태 여부. hover·selected·chevron 등 인터랙션 표현이 여기에 딸린다.
33
+ * `SExpansionList` 안에서는 기본으로 켜진다 — 표시 전용이면 `false` 를 준다.
34
+ *
35
+ * **`onClick` 까지 주면 키보드로도 누를 수 있다** — 항목이 `role="button"` 으로 Tab 순서에 들고,
36
+ * Enter·Space 가 `onClick` 을 부른다. 앱이 `role`·`tabIndex` 를 직접 주면 그 값이 우선한다.
37
+ * `onClick` 이 없으면 눌러도 일어날 일이 없으므로 Tab 순서에 넣지 않는다.
38
+ */
29
39
  clickable?: boolean;
30
40
  /** hover/selected 상태에서 적용할 인터랙션 preset */
31
41
  interaction?: SListItemInteraction;
@@ -1 +1 @@
1
- export { SListItem, type SListItemProps, type SListItemSupportingTextPosition } from './SListItem';
1
+ export { SListItem, type SListItemInteraction, type SListItemProps, type SListItemRenderProp, type SListItemRenderState, type SListItemSize, type SListItemSlot, type SListItemSupportingTextPosition, } from './SListItem';
@@ -1,2 +1,2 @@
1
1
  export { SLoadingContainer, type SLoadingContainerProps } from './SLoadingContainer';
2
- export { loading, SLoadingViewport } from './loading';
2
+ export { loading, type SLoadingHandle } from './loading';
@@ -1,10 +1,45 @@
1
- /** 오버레이 뷰포트 — 스토어를 구독해 SLoadingContainer 를 렌더한다. 직접 배치도 가능. */
2
- export declare function SLoadingViewport(): import("react").JSX.Element;
1
+ /**
2
+ * `show()` 가 돌려주는 핸들 — **이 호출 하나**만 걷고 갱신한다.
3
+ * 부르면 걷고, `update()` 로 이 호출의 메시지만 바꾼다. 둘 다 id 기준이라 겹친 다른 작업의
4
+ * 항목은 건드리지 않는다. (Quasar `Loading.show()` 가 돌려주는 그룹 함수와 같은 자리다.)
5
+ */
6
+ export interface SLoadingHandle {
7
+ (): void;
8
+ update(options: {
9
+ message?: string;
10
+ }): void;
11
+ }
3
12
  export declare const loading: {
4
- /** 로딩 오버레이 표시 (메시지 갱신도 동일 호출) */
13
+ /**
14
+ * 로딩 오버레이 표시. 겹쳐 부르면 그만큼 쌓이고 **마지막 하나가 걷힐 때** 닫힌다.
15
+ * 반환값은 이 호출 하나를 걷고 갱신하는 핸들이다(두 번 걷어도 한 번만 걷힌다).
16
+ *
17
+ * **걷는 것은 `finally` 에 둔다.** 빠뜨리면 그 즉시 화면이 갇히고, 정상 경로에서는 아무
18
+ * 표시가 없다.
19
+ *
20
+ * ```ts
21
+ * const done = loading.show({ message: '1/2 ...' });
22
+ * try {
23
+ * done.update({ message: '2/2 ...' }); // 이 호출의 메시지만 바뀐다
24
+ * await api.submit(payload);
25
+ * } finally {
26
+ * done(); // 이 호출만 걷는다
27
+ * }
28
+ * ```
29
+ *
30
+ * ⚠️ **메시지를 바꾸려고 `show()` 를 다시 부르지 않는다.** 하나 더 쌓여 한 번 걷는 것으로는
31
+ * 닫히지 않는다. 핸들의 `update()` 를 쓴다. (참조 카운트 이전에는 `show()` 를 다시 부르는
32
+ * 것이 갱신이었다 — Quasar 도 같은 그룹에 다시 show 하면 갱신이다. 그 시절 관행대로 쓰인
33
+ * 코드는 지금 오버레이를 하나 남긴다.)
34
+ */
5
35
  show(options?: {
6
36
  message?: string;
7
- }): void;
8
- /** 로딩 오버레이 숨김 */
9
- hide(): void;
37
+ }): SLoadingHandle;
38
+ /**
39
+ * 쌓인 것을 모두 걷고 즉시 닫는다. **원본(Quasar)의 인자 없는 `hide()` 가 이것이다.**
40
+ * 화면 전환·에러 복구처럼 진행 중이던 작업의 짝을 더는 맞출 수 없을 때만 쓴다 — 평소에는
41
+ * `show()` 가 준 핸들로 걷는다.
42
+ * 이걸로 걷힌 항목의 주인이 뒤늦게 자기 핸들을 불러도 아무 일도 일어나지 않는다.
43
+ */
44
+ hideAll(): void;
10
45
  };
@@ -10,13 +10,13 @@
10
10
  |------|------|---------|-------------|
11
11
  | `open?` | `boolean` | — | |
12
12
  | `persistent?` | `boolean` | — | 백드롭·ESC로 안 닫히고 흔들림 (sd-modal-container persistent). **기본값 true** |
13
- | `state?` | `LoadingModalState` | `'loading'` | 상태 (loading: 스피너, error: 경고 아이콘) |
13
+ | `state?` | `SLoadingModalState` | `'loading'` | 상태 (loading: 스피너, error: 경고 아이콘) |
14
14
  | `progress?` | `number` | — | 진행률 (0–100) — 지정 시 determinate 스피너 |
15
15
  | `message?` | `string \| string[]` | — | 메시지 (없으면 state 기본값) |
16
- | `useButton?` | `boolean` | `false` | 하단 버튼 표시 |
16
+ | `showButton?` | `boolean` | `false` | 하단 버튼 표시 |
17
17
  | `buttonLabel?` | `string` | — | 버튼 레이블 (없으면 state 기본값) |
18
- | `width?` | `number \| string` | `520` | |
19
- | `height?` | `number \| string` | `320` | |
18
+ | `width?` | `number \| string` | `'var(--cmp-modal-loading-width)'` | |
19
+ | `height?` | `number \| string` | `'var(--cmp-modal-loading-height)'` | |
20
20
 
21
21
  #### Events
22
22
 
@@ -26,6 +26,14 @@
26
26
  | `onClose` | `() => void` | 닫기(X) 버튼 클릭 (sdClose) — error 상태에서만 노출 |
27
27
  | `onButtonClick` | `() => void` | 버튼 클릭 (sdClick) |
28
28
 
29
+ ## Types
30
+
31
+ ### SLoadingModalState
32
+
33
+ ```ts
34
+ export type SLoadingModalState = 'loading' | 'error';
35
+ ```
36
+
29
37
  ## Dependencies
30
38
 
31
39
  ### Used by
@@ -1,4 +1,4 @@
1
- export type LoadingModalState = 'loading' | 'error';
1
+ export type SLoadingModalState = 'loading' | 'error';
2
2
  export interface SLoadingModalProps {
3
3
  open?: boolean;
4
4
  onOpenChange?: (open: boolean) => void;
@@ -7,13 +7,13 @@ export interface SLoadingModalProps {
7
7
  /** 백드롭·ESC로 안 닫히고 흔들림 (sd-modal-container persistent). **기본값 true** */
8
8
  persistent?: boolean;
9
9
  /** 상태 (loading: 스피너, error: 경고 아이콘) */
10
- state?: LoadingModalState;
10
+ state?: SLoadingModalState;
11
11
  /** 진행률 (0–100) — 지정 시 determinate 스피너 */
12
12
  progress?: number;
13
13
  /** 메시지 (없으면 state 기본값) */
14
14
  message?: string | string[];
15
15
  /** 하단 버튼 표시 */
16
- useButton?: boolean;
16
+ showButton?: boolean;
17
17
  /** 버튼 레이블 (없으면 state 기본값) */
18
18
  buttonLabel?: string;
19
19
  /** 버튼 클릭 (sdClick) */
@@ -22,4 +22,4 @@ export interface SLoadingModalProps {
22
22
  height?: number | string;
23
23
  }
24
24
  /** SLoadingModal — sd-loading-modal 포팅. state(loading/error) + progress + 옵션 버튼. */
25
- export declare function SLoadingModal({ open, onOpenChange, onClose, persistent, state, progress, message, useButton, buttonLabel, onButtonClick, width, height, }: SLoadingModalProps): import("react").JSX.Element;
25
+ export declare function SLoadingModal({ open, onOpenChange, onClose, persistent, state, progress, message, showButton, buttonLabel, onButtonClick, width, height, }: SLoadingModalProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- export { SLoadingModal, type SLoadingModalProps } from './SLoadingModal';
1
+ export { SLoadingModal, type SLoadingModalProps, type SLoadingModalState } from './SLoadingModal';
@@ -0,0 +1,37 @@
1
+ # SLoginCard
2
+
3
+ > 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
4
+
5
+ ### SLoginCard
6
+
7
+ #### Props
8
+
9
+ | Prop | Type | Default | Description |
10
+ |------|------|---------|-------------|
11
+ | `service` | `SLogoName` | — | 제품 — 그 서비스의 **세로 로고**([셀메이트 워드마크 + 서비스 표기])가 카드 맨 위에 선다. 제품명을 글자로 넘기지 않는다 — 표기의 서체·자간·색은 원본 로고가 정한다. |
12
+ | `title` | `ReactNode` | — | 제품을 한 줄로 소개하는 문장 |
13
+ | `description?` | `ReactNode` | — | 소개 문장 바로 아래 붙는 보조 설명. 소개와 한 덩어리로 읽힌다 |
14
+ | `footerNote?` | `ReactNode` | — | 버튼 아래 안내 문구 (예: 계정 발급 문의 안내) |
15
+ | `bottomAction?` | `ReactNode` | — | 카드 **맨 아래**에 서는 보조 진입점 (예: 관리자 로그인). 가운데 덩어리와 섞이지 않도록 바닥에 붙고, 위 덩어리는 카드 한가운데에 그대로 선다. `STextLink` 하나만 넣는다 — 이 자리는 "이 화면에서 할 일은 로그인 하나"라는 뜻을 깨지 않을 만큼만 작아야 해서, 버튼이나 문단이 서는 자리가 아니다. |
16
+
17
+ #### Events
18
+
19
+ | Event | Type | Description |
20
+ |-------|------|-------------|
21
+ | `onLogin` | `() => void` | 로그인 버튼을 눌렀을 때. 버튼 자체는 카드가 그리므로 **동작만 넘긴다** — 문구·색·크기는 세 제품에서 같아야 해서 카드가 쥐고 있다. |
22
+
23
+ ## Dependencies
24
+
25
+ ### Depends on
26
+
27
+ - [SButton](../SButton)
28
+ - [SLogo](../SLogo)
29
+
30
+ ### Graph
31
+
32
+ ```mermaid
33
+ graph TD;
34
+ SLoginCard --> SButton
35
+ SLoginCard --> SLogo
36
+ style SLoginCard fill:#f9f,stroke:#333,stroke-width:4px
37
+ ```
@@ -0,0 +1,43 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ import { type SLogoName } from '../SLogo';
3
+ export interface SLoginCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
4
+ /**
5
+ * 제품 — 그 서비스의 **세로 로고**([셀메이트 워드마크 + 서비스 표기])가 카드 맨 위에 선다.
6
+ * 제품명을 글자로 넘기지 않는다 — 표기의 서체·자간·색은 원본 로고가 정한다.
7
+ */
8
+ service: SLogoName;
9
+ /** 제품을 한 줄로 소개하는 문장 */
10
+ title: ReactNode;
11
+ /** 소개 문장 바로 아래 붙는 보조 설명. 소개와 한 덩어리로 읽힌다 */
12
+ description?: ReactNode;
13
+ /**
14
+ * 로그인 버튼을 눌렀을 때. 버튼 자체는 카드가 그리므로 **동작만 넘긴다** —
15
+ * 문구·색·크기는 세 제품에서 같아야 해서 카드가 쥐고 있다.
16
+ */
17
+ onLogin?: () => void;
18
+ /** 버튼 아래 안내 문구 (예: 계정 발급 문의 안내) */
19
+ footerNote?: ReactNode;
20
+ /**
21
+ * 카드 **맨 아래**에 서는 보조 진입점 (예: 관리자 로그인). 가운데 덩어리와 섞이지 않도록
22
+ * 바닥에 붙고, 위 덩어리는 카드 한가운데에 그대로 선다.
23
+ *
24
+ * `STextLink` 하나만 넣는다 — 이 자리는 "이 화면에서 할 일은 로그인 하나"라는 뜻을 깨지 않을
25
+ * 만큼만 작아야 해서, 버튼이나 문단이 서는 자리가 아니다.
26
+ */
27
+ bottomAction?: ReactNode;
28
+ }
29
+ /**
30
+ * SLoginCard — 통합 계정 로그인 화면의 카드.
31
+ *
32
+ * 서비스 세로 로고·소개·로그인 버튼·안내 문구를 세로 가운데로 세운다. 제품마다 다른 것은 서비스와
33
+ * 문구뿐이라 서비스 키·문구·로그인 동작만 prop 으로 받고 로고·버튼·간격·타이포·색은 카드가 쥔다.
34
+ *
35
+ * **크기는 부모가 정한다** — 폭은 368~640px 사이에서 부모를 채우고, 높이도 부모가 준 만큼 채운다.
36
+ *
37
+ * 관리자 로그인 같은 보조 진입점은 `bottomAction` 으로 카드 바닥에 세운다 — 가운데 덩어리는
38
+ * 그만큼 밀리지 않고 카드 한가운데에 그대로 선다.
39
+ *
40
+ * **카드는 화면을 잡지 않는다** — 회색 바탕과 가운데 정렬은 앱이 만드는 한 겹이다 (AGENTS.md §4-6).
41
+ * 덕분에 로그인 화면 밖(세션 만료 재인증 등)에서도 같은 카드를 그대로 쓸 수 있다.
42
+ */
43
+ export declare const SLoginCard: import("react").ForwardRefExoticComponent<SLoginCardProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { SLoginCard, type SLoginCardProps } from './SLoginCard';
@@ -0,0 +1,103 @@
1
+ # SLogo
2
+
3
+ > 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
4
+
5
+ ### SLogo
6
+
7
+ #### Props
8
+
9
+ | Prop | Type | Default | Description |
10
+ |------|------|---------|-------------|
11
+ | `name?` | `SLogoName` | `'sellmate'` | 로고명 — 셀메이트 본체(`sellmate`) 또는 서비스(`wms` · `account` · `crm` …). 서비스 로고는 [셀메이트 워드마크 + 서비스 표기]가 한 덩어리로 나온다 — 앱이 표기를 잇지 않는다. |
12
+ | `mode?` | `SLogoMode` | `'light'` | 로고가 서는 배경. 밝은 면에는 `light`(남색 워드마크), 어두운 면에는 `dark`(흰 워드마크). 서비스 표기 색도 원본이 모드마다 정한 값으로 바뀐다. |
13
+ | `direction?` | `SLogoDirection` | `'horizontal'` | 배치. `horizontal` 은 워드마크 오른쪽에 서비스 표기, `vertical` 은 워드마크 아래 가운데에 표기 (로그인 카드처럼 폭이 좁고 로고가 가운데 서는 자리). `sellmate` 는 표기가 없어 어느 쪽이든 같다. 표기 색이 가로와 다른 로고도 있다(POS 세로는 light 에서도 `#4886FF`) — 원본을 따른다. |
14
+ | `size?` | `number \| 'auto' \| (string & {})` | `LOGO_DEFAULT_SIZE` | **높이**(px 또는 CSS 길이). 폭은 주지 않는다 — 로고 비율에서 저절로 나온다. `SIcon` 의 `size` 와 달리 정사각이 아니다(로고는 가로로 길다). `vertical` 은 두 줄 전체의 높이다 — 같은 `size` 면 워드마크가 가로보다 작게 선다. `'auto'` 면 높이를 정하지 않는다 — **부모 폭을 꽉 채우고 높이는 비율로 따라온다.** 로고 자리의 폭이 정해진 곳(`SGnb` `header="fix"` 의 로고 칸)에서 쓴다. 부모에 폭이 없으면 기준을 잃어 브라우저 기본 크기(300px)로 그려진다. |
15
+ | `color?` | `SColor` | — | 색. 팔레트 키(`grey_45`, `red_95` …) 또는 임의 CSS 색상. **워드마크와 서비스 표기가 모두 이 한 색이 된다.** 미지정 시 **브랜드 색**(`mode` 가 정한 워드마크 색 + 서비스 색)이다 — `SIcon` 과 달리 currentColor 를 상속하지 않는다. 로고가 주변 글자색을 따라 물들면 브랜드 색이 화면마다 달라지기 때문이다. 비활성처럼 물러나야 하는 자리에서만 색을 준다. |
16
+ | `label?` | `string` | — | 접근성 라벨. 없으면 `aria-hidden` 이다 — 로고 옆에 서비스 이름이 이미 적혀 있는 자리 (런처 목록의 한 줄 등)에서는 이름이 두 번 읽히지 않도록 그대로 둔다. 로고가 그 자리의 유일한 이름이면(로그인 화면·상단바) 브랜드명을 넘긴다. |
17
+ | `className?` | `string` | — | |
18
+ | `style?` | `CSSProperties` | — | |
19
+
20
+ ## Types
21
+
22
+ ### SLogoName
23
+
24
+ ```ts
25
+ export type SLogoName = (typeof LOGO_NAMES)[number];
26
+ ```
27
+
28
+ ### SLogoMode
29
+
30
+ ```ts
31
+ export type SLogoMode = (typeof LOGO_MODES)[number];
32
+ ```
33
+
34
+ ### SLogoDirection
35
+
36
+ ```ts
37
+ export type SLogoDirection = (typeof LOGO_DIRECTIONS)[number];
38
+ ```
39
+
40
+ ### LOGO_NAMES
41
+
42
+ ```ts
43
+ /**
44
+ * SLogo 설정.
45
+ *
46
+ * 로고는 브랜드 자산이라 **색·비율이 토큰을 따르지 않는다** — 테마가 바뀌어도 로고는 그대로여야
47
+ * 하고, 워드마크의 비율은 자산 자체가 정한다. 그래서 이 파일의 값은 토큰 참조가 아니다.
48
+ */
49
+
50
+ /**
51
+ * 담고 있는 로고 — 셀메이트 본체와 서비스들, 그리고 통합 콘솔. 로고 한 벌은 [셀메이트 워드마크 + 표기]다.
52
+ * 늘어나면 여기와 `logos.tsx` 의 맵에 함께 추가한다.
53
+ */
54
+ export const LOGO_NAMES = [
55
+ 'sellmate',
56
+ 'wms',
57
+ 'chat',
58
+ 'chatbot',
59
+ 'plm',
60
+ 'account',
61
+ 'people',
62
+ 'crm',
63
+ 'work',
64
+ 'pos',
65
+ 'console',
66
+ ] as const;
67
+ ```
68
+
69
+ ### LOGO_MODES
70
+
71
+ ```ts
72
+ /**
73
+ * 로고가 서는 배경. 밝은 면에는 `light`(남색 워드마크), 어두운 면에는 `dark`(흰 워드마크).
74
+ * 서비스 표기 색도 모드마다 원본이 정한 값으로 바뀐다(Account·POS 는 dark 에서 더 밝다).
75
+ */
76
+ export const LOGO_MODES = ['light', 'dark'] as const;
77
+ ```
78
+
79
+ ### LOGO_DIRECTIONS
80
+
81
+ ```ts
82
+ /**
83
+ * 로고의 배치. `horizontal` 은 워드마크 오른쪽에 서비스 표기, `vertical` 은 워드마크 아래 가운데에 표기.
84
+ * 모든 서비스 로고가 세로 원본을 갖는다. 셀메이트 본체는 표기가 없어 세로여도 모양이 같다.
85
+ */
86
+ export const LOGO_DIRECTIONS = ['horizontal', 'vertical'] as const;
87
+ ```
88
+
89
+ ## Dependencies
90
+
91
+ ### Used by
92
+
93
+ - [SLauncherListBox](../SLauncherListBox)
94
+ - [SLoginCard](../SLoginCard)
95
+
96
+ ### Graph
97
+
98
+ ```mermaid
99
+ graph TD;
100
+ SLauncherListBox --> SLogo
101
+ SLoginCard --> SLogo
102
+ style SLogo fill:#f9f,stroke:#333,stroke-width:4px
103
+ ```
@@ -0,0 +1,72 @@
1
+ import { type CSSProperties } from 'react';
2
+ import { type SColor } from '../../lib/color';
3
+ import { type SLogoDirection, type SLogoMode, type SLogoName } from './logo.config';
4
+ export interface SLogoProps {
5
+ /**
6
+ * 로고명 — 셀메이트 본체(`sellmate`) 또는 서비스(`wms` · `account` · `crm` …).
7
+ * 서비스 로고는 [셀메이트 워드마크 + 서비스 표기]가 한 덩어리로 나온다 — 앱이 표기를 잇지 않는다.
8
+ */
9
+ name?: SLogoName;
10
+ /**
11
+ * 로고가 서는 배경. 밝은 면에는 `light`(남색 워드마크), 어두운 면에는 `dark`(흰 워드마크).
12
+ * 서비스 표기 색도 원본이 모드마다 정한 값으로 바뀐다.
13
+ */
14
+ mode?: SLogoMode;
15
+ /**
16
+ * 배치. `horizontal` 은 워드마크 오른쪽에 서비스 표기, `vertical` 은 워드마크 아래 가운데에 표기
17
+ * (로그인 카드처럼 폭이 좁고 로고가 가운데 서는 자리). `sellmate` 는 표기가 없어 어느 쪽이든 같다.
18
+ * 표기 색이 가로와 다른 로고도 있다(POS 세로는 light 에서도 `#4886FF`) — 원본을 따른다.
19
+ */
20
+ direction?: SLogoDirection;
21
+ /**
22
+ * **높이**(px 또는 CSS 길이). 폭은 주지 않는다 — 로고 비율에서 저절로 나온다.
23
+ * `SIcon` 의 `size` 와 달리 정사각이 아니다(로고는 가로로 길다).
24
+ * `vertical` 은 두 줄 전체의 높이다 — 같은 `size` 면 워드마크가 가로보다 작게 선다.
25
+ *
26
+ * `'auto'` 면 높이를 정하지 않는다 — **부모 폭을 꽉 채우고 높이는 비율로 따라온다.**
27
+ * 로고 자리의 폭이 정해진 곳(`SGnb` `header="fix"` 의 로고 칸)에서 쓴다. 부모에 폭이 없으면
28
+ * 기준을 잃어 브라우저 기본 크기(300px)로 그려진다.
29
+ */
30
+ size?: number | 'auto' | (string & {});
31
+ /**
32
+ * 색. 팔레트 키(`grey_45`, `red_95` …) 또는 임의 CSS 색상. **워드마크와 서비스 표기가 모두
33
+ * 이 한 색이 된다.**
34
+ *
35
+ * 미지정 시 **브랜드 색**(`mode` 가 정한 워드마크 색 + 서비스 색)이다 — `SIcon` 과 달리
36
+ * currentColor 를 상속하지 않는다. 로고가 주변 글자색을 따라 물들면 브랜드 색이 화면마다
37
+ * 달라지기 때문이다. 비활성처럼 물러나야 하는 자리에서만 색을 준다.
38
+ */
39
+ color?: SColor;
40
+ /**
41
+ * 접근성 라벨. 없으면 `aria-hidden` 이다 — 로고 옆에 서비스 이름이 이미 적혀 있는 자리
42
+ * (런처 목록의 한 줄 등)에서는 이름이 두 번 읽히지 않도록 그대로 둔다.
43
+ * 로고가 그 자리의 유일한 이름이면(로그인 화면·상단바) 브랜드명을 넘긴다.
44
+ */
45
+ label?: string;
46
+ className?: string;
47
+ style?: CSSProperties;
48
+ }
49
+ /**
50
+ * SLogo — 브랜드 로고를 아이콘처럼 쓰는 컴포넌트.
51
+ *
52
+ * `SIcon` 과 같은 손맛(`name` · `size` · `color`)이지만 두 가지가 다르다.
53
+ * - **`size` 는 높이다.** 로고는 가로로 길어 정사각으로 그리면 찌그러진다 — 폭은 비율에서 나온다.
54
+ * `size="auto"` 면 거꾸로 부모 폭을 채우고 높이가 비율에서 나온다.
55
+ * - **색을 주지 않으면 브랜드 색이다.** currentColor 를 상속하지 않는다(위 `color` 참고).
56
+ *
57
+ * **서비스 이름을 넣으면 그 서비스 로고가 나온다.** 워드마크 오른쪽에 표기를 앱이 따로 잇지 않는다 —
58
+ * 원본 로고의 자간·색이 서비스마다 달라서, 이어 붙이면 원본과 어긋난다.
59
+ *
60
+ * 배경이 어두우면 `mode="dark"` 를 준다 — 워드마크가 흰색이 되고 서비스 표기도 원본의 dark 색으로 바뀐다.
61
+ *
62
+ * ```tsx
63
+ * <SLogo /> // 셀메이트, 브랜드 색, 높이 24
64
+ * <SLogo name="wms" size={12} /> // 런처 목록의 한 줄
65
+ * <SLogo name="account" mode="dark" /> // 어두운 면 위
66
+ * <SLogo name="wms" direction="vertical" size={48} /> // 워드마크 아래에 표기
67
+ * <SLogo name="account" mode="dark" size="auto" /> // 폭이 정해진 로고 칸(fix GNB)을 채운다
68
+ * <SLogo name="crm" color="grey_45" /> // 아직 못 쓰는 서비스 — 로고 전체가 한 색
69
+ * <SLogo size={32} label="Sellmate" /> // 로고가 그 자리의 유일한 이름일 때
70
+ * ```
71
+ */
72
+ export declare const SLogo: import("react").ForwardRefExoticComponent<SLogoProps & import("react").RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,2 @@
1
+ export { SLogo, type SLogoProps } from './SLogo';
2
+ export { LOGO_DEFAULT_SIZE, LOGO_DIRECTIONS, LOGO_MODES, LOGO_NAMES, type SLogoDirection, type SLogoMode, type SLogoName, } from './logo.config';
@@ -0,0 +1,29 @@
1
+ /**
2
+ * SLogo 설정.
3
+ *
4
+ * 로고는 브랜드 자산이라 **색·비율이 토큰을 따르지 않는다** — 테마가 바뀌어도 로고는 그대로여야
5
+ * 하고, 워드마크의 비율은 자산 자체가 정한다. 그래서 이 파일의 값은 토큰 참조가 아니다.
6
+ */
7
+ /**
8
+ * 담고 있는 로고 — 셀메이트 본체와 서비스들, 그리고 통합 콘솔. 로고 한 벌은 [셀메이트 워드마크 + 표기]다.
9
+ * 늘어나면 여기와 `logos.tsx` 의 맵에 함께 추가한다.
10
+ */
11
+ export declare const LOGO_NAMES: readonly ["sellmate", "wms", "chat", "chatbot", "plm", "account", "people", "crm", "work", "pos", "console"];
12
+ export type SLogoName = (typeof LOGO_NAMES)[number];
13
+ /**
14
+ * 로고가 서는 배경. 밝은 면에는 `light`(남색 워드마크), 어두운 면에는 `dark`(흰 워드마크).
15
+ * 서비스 표기 색도 모드마다 원본이 정한 값으로 바뀐다(Account·POS 는 dark 에서 더 밝다).
16
+ */
17
+ export declare const LOGO_MODES: readonly ["light", "dark"];
18
+ export type SLogoMode = (typeof LOGO_MODES)[number];
19
+ /**
20
+ * 로고의 배치. `horizontal` 은 워드마크 오른쪽에 서비스 표기, `vertical` 은 워드마크 아래 가운데에 표기.
21
+ * 모든 서비스 로고가 세로 원본을 갖는다. 셀메이트 본체는 표기가 없어 세로여도 모양이 같다.
22
+ */
23
+ export declare const LOGO_DIRECTIONS: readonly ["horizontal", "vertical"];
24
+ export type SLogoDirection = (typeof LOGO_DIRECTIONS)[number];
25
+ /**
26
+ * 기본 높이(px). `SIcon` 과 같은 값이라 나란히 쓸 때 손에 익은 크기가 같다.
27
+ * 폭은 주지 않는다 — 로고마다 다른 비율에서 저절로 나온다.
28
+ */
29
+ export declare const LOGO_DEFAULT_SIZE = 24;
@@ -0,0 +1,16 @@
1
+ import type { CSSProperties } from 'react';
2
+ import type { SLogoDirection, SLogoMode, SLogoName } from './logo.config';
3
+ interface LogoGlyphProps {
4
+ name: SLogoName;
5
+ mode: SLogoMode;
6
+ direction: SLogoDirection;
7
+ /** 로고 전체를 덮을 한 색. 비우면 원본 브랜드 색(워드마크 + 서비스 색)이다 */
8
+ color?: string;
9
+ style?: CSSProperties;
10
+ }
11
+ /**
12
+ * @internal
13
+ * 로고 글리프 하나. 높이는 `style` 로 받고 폭은 viewBox 비율에서 나온다. 접근성 이름은 `SLogo` 가 붙인다.
14
+ */
15
+ export declare function LogoGlyph({ name, mode, direction, color, style }: LogoGlyphProps): import("react").JSX.Element | null;
16
+ export {};