sellmate-design-system-react 9.0.0-beta.9 → 9.0.0-beta.91

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 (419) hide show
  1. package/AGENTS.md +4079 -265
  2. package/README.md +76 -24
  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 +122 -0
  15. package/dist/components/SBarChart/SBarChart.d.ts +99 -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 +14 -4
  19. package/dist/components/SBarcodeInput/SBarcodeInput.d.ts +25 -3
  20. package/dist/components/SButton/README.md +40 -0
  21. package/dist/components/SCalendar/README.md +13 -0
  22. package/dist/components/SCalendarBoard/CalendarDayCard.d.ts +53 -0
  23. package/dist/components/SCalendarBoard/CalendarDayEventListBox.d.ts +26 -0
  24. package/dist/components/SCalendarBoard/CalendarEventButton.d.ts +20 -0
  25. package/dist/components/SCalendarBoard/CalendarMoreButton.d.ts +18 -0
  26. package/dist/components/SCalendarBoard/README.md +148 -0
  27. package/dist/components/SCalendarBoard/SCalendarBoard.d.ts +83 -0
  28. package/dist/components/SCalendarBoard/calendar-board-layout.d.ts +59 -0
  29. package/dist/components/SCalendarBoard/calendarBoard.config.d.ts +38 -0
  30. package/dist/components/SCalendarBoard/index.d.ts +3 -0
  31. package/dist/components/SCalendarBoard/types.d.ts +40 -0
  32. package/dist/components/SCallout/README.md +17 -1
  33. package/dist/components/SCallout/SCallout.d.ts +14 -4
  34. package/dist/components/SCard/README.md +17 -0
  35. package/dist/components/SCard/SCard.d.ts +26 -2
  36. package/dist/components/SChatAttachedFile/README.md +33 -0
  37. package/dist/components/SChatAttachedFile/SChatAttachedFile.d.ts +13 -0
  38. package/dist/components/SChatAttachedFile/chatAttachedFile.config.d.ts +23 -0
  39. package/dist/components/SChatAttachedFile/index.d.ts +2 -0
  40. package/dist/components/SChatFile/README.md +33 -0
  41. package/dist/components/SChatFile/SChatFile.d.ts +37 -0
  42. package/dist/components/SChatFile/chatFile.config.d.ts +56 -0
  43. package/dist/components/SChatFile/index.d.ts +2 -0
  44. package/dist/components/SChatInput/README.md +52 -0
  45. package/dist/components/SChatInput/SChatInput.d.ts +127 -0
  46. package/dist/components/SChatInput/index.d.ts +1 -0
  47. package/dist/components/SChatMessage/README.md +87 -0
  48. package/dist/components/SChatMessage/SChatMessage.d.ts +135 -0
  49. package/dist/components/SChatMessage/index.d.ts +1 -0
  50. package/dist/components/SChatSystemMessage/README.md +12 -0
  51. package/dist/components/SChatSystemMessage/SChatSystemMessage.d.ts +18 -0
  52. package/dist/components/SChatSystemMessage/index.d.ts +1 -0
  53. package/dist/components/SCheckbox/README.md +9 -0
  54. package/dist/components/SCheckbox/SCheckbox.d.ts +9 -1
  55. package/dist/components/SChip/README.md +25 -0
  56. package/dist/components/SChip/SChip.d.ts +8 -0
  57. package/dist/components/SChip/index.d.ts +1 -1
  58. package/dist/components/SChipFilter/README.md +369 -14
  59. package/dist/components/SChipFilter/SChipFilter.d.ts +169 -60
  60. package/dist/components/SChipFilter/index.d.ts +1 -1
  61. package/dist/components/SChipInput/README.md +22 -3
  62. package/dist/components/SChipInput/SChipInput.d.ts +53 -3
  63. package/dist/components/SChipInput/index.d.ts +1 -1
  64. package/dist/components/SCircleProgress/README.md +13 -2
  65. package/dist/components/SCircleProgress/SCircleProgress.d.ts +11 -3
  66. package/dist/components/SConfirmModal/README.md +13 -4
  67. package/dist/components/SConfirmModal/SConfirmModal.d.ts +46 -9
  68. package/dist/components/SContextAlert/README.md +52 -0
  69. package/dist/components/SContextAlert/SContextAlert.d.ts +51 -0
  70. package/dist/components/SContextAlert/contextAlert.config.d.ts +22 -0
  71. package/dist/components/SContextAlert/index.d.ts +2 -0
  72. package/dist/components/SDatePicker/README.md +23 -2
  73. package/dist/components/SDatePicker/SDatePicker.d.ts +50 -5
  74. package/dist/components/SDateRangePicker/README.md +23 -4
  75. package/dist/components/SDateRangePicker/SDateRangePicker.d.ts +52 -7
  76. package/dist/components/SDivider/README.md +7 -0
  77. package/dist/components/SDivider/SDivider.d.ts +11 -0
  78. package/dist/components/SDonutChart/README.md +105 -0
  79. package/dist/components/SDonutChart/SDonutChart.d.ts +82 -0
  80. package/dist/components/SDonutChart/index.d.ts +1 -0
  81. package/dist/components/SDraggableItem/README.md +37 -0
  82. package/dist/components/SDraggableItem/SDraggableItem.d.ts +2 -0
  83. package/dist/components/SDraggableItem/index.d.ts +1 -1
  84. package/dist/components/SDraggableList/README.md +33 -3
  85. package/dist/components/SDraggableList/SDraggableList.d.ts +18 -3
  86. package/dist/components/SDraggableList/index.d.ts +1 -1
  87. package/dist/components/SDrawer/README.md +8 -0
  88. package/dist/components/SDropdownButton/README.md +19 -0
  89. package/dist/components/SEditor/EditorBody.d.ts +48 -0
  90. package/dist/components/SEditor/EditorToolbar.d.ts +93 -0
  91. package/dist/components/SEditor/README.md +207 -0
  92. package/dist/components/SEditor/SEditor.d.ts +128 -0
  93. package/dist/components/SEditor/editor-icons.d.ts +63 -0
  94. package/dist/components/SEditor/editor.config.d.ts +119 -0
  95. package/dist/components/SEditor/index.d.ts +8 -0
  96. package/dist/components/SEditor/tiptap-api.d.ts +29 -0
  97. package/dist/components/SEditor/use-is-mobile.d.ts +14 -0
  98. package/dist/components/SExpansionItem/README.md +39 -2
  99. package/dist/components/SExpansionItem/SExpansionItem.d.ts +18 -2
  100. package/dist/components/SExpansionItem/index.d.ts +1 -1
  101. package/dist/components/SField/README.md +38 -5
  102. package/dist/components/SField/SField.d.ts +59 -8
  103. package/dist/components/SField/index.d.ts +1 -1
  104. package/dist/components/SFilePicker/README.md +20 -4
  105. package/dist/components/SFilePicker/SFilePicker.d.ts +26 -6
  106. package/dist/components/SFooter/README.md +44 -0
  107. package/dist/components/SFooter/SFooter.d.ts +29 -13
  108. package/dist/components/SFooter/index.d.ts +1 -1
  109. package/dist/components/SForm/README.md +12 -1
  110. package/dist/components/SForm/SForm.d.ts +2 -2
  111. package/dist/components/SGhostButton/README.md +32 -5
  112. package/dist/components/SGhostButton/SGhostButton.d.ts +22 -4
  113. package/dist/components/SGnb/README.md +109 -8
  114. package/dist/components/SGnb/SGnb.d.ts +112 -11
  115. package/dist/components/SGnb/gnb.config.d.ts +18 -5
  116. package/dist/components/SGnb/index.d.ts +1 -1
  117. package/dist/components/SGnbSystem/README.md +186 -0
  118. package/dist/components/SGnbSystem/SGnbSystem.d.ts +179 -0
  119. package/dist/components/SGnbSystem/gnbSystem.config.d.ts +122 -0
  120. package/dist/components/SGnbSystem/index.d.ts +2 -0
  121. package/dist/components/SGuide/README.md +16 -1
  122. package/dist/components/SGuide/SGuide.d.ts +5 -2
  123. package/dist/components/SIcon/README.md +18 -0
  124. package/dist/components/SIcon/SIcon.d.ts +1 -1
  125. package/dist/components/SIcon/icons.gen.d.ts +20 -1
  126. package/dist/components/SImage/README.md +23 -1
  127. package/dist/components/SImage/SImage.d.ts +11 -8
  128. package/dist/components/SInput/README.md +8 -4
  129. package/dist/components/SInput/SInput.d.ts +17 -5
  130. package/dist/components/SKeyValueTable/README.md +88 -0
  131. package/dist/components/SKeyValueTable/SKeyValueTable.d.ts +30 -3
  132. package/dist/components/SKeyValueTable/index.d.ts +1 -1
  133. package/dist/components/SLauncherListBox/README.md +82 -0
  134. package/dist/components/SLauncherListBox/SLauncherListBox.d.ts +80 -0
  135. package/dist/components/SLauncherListBox/index.d.ts +2 -0
  136. package/dist/components/SLauncherListBox/launcherListBox.config.d.ts +154 -0
  137. package/dist/components/SLayout/README.md +22 -1
  138. package/dist/components/SLayout/SLayout.d.ts +6 -2
  139. package/dist/components/SLayout/index.d.ts +1 -1
  140. package/dist/components/SLineChart/README.md +131 -0
  141. package/dist/components/SLineChart/SLineChart.d.ts +110 -0
  142. package/dist/components/SLineChart/index.d.ts +1 -0
  143. package/dist/components/SLineChart/lineChart.config.d.ts +95 -0
  144. package/dist/components/SLinearProgress/README.md +16 -1
  145. package/dist/components/SLinearProgress/SLinearProgress.d.ts +11 -2
  146. package/dist/components/SLinearProgress/index.d.ts +1 -1
  147. package/dist/components/SList/README.md +15 -2
  148. package/dist/components/SList/SList.d.ts +7 -3
  149. package/dist/components/SList/index.d.ts +1 -1
  150. package/dist/components/SListItem/README.md +43 -2
  151. package/dist/components/SListItem/SListItem.d.ts +12 -2
  152. package/dist/components/SListItem/index.d.ts +1 -1
  153. package/dist/components/SLoadingContainer/index.d.ts +1 -1
  154. package/dist/components/SLoadingContainer/loading.d.ts +41 -6
  155. package/dist/components/SLoadingModal/README.md +10 -2
  156. package/dist/components/SLoadingModal/SLoadingModal.d.ts +4 -4
  157. package/dist/components/SLoadingModal/index.d.ts +1 -1
  158. package/dist/components/SLoginCard/README.md +37 -0
  159. package/dist/components/SLoginCard/SLoginCard.d.ts +43 -0
  160. package/dist/components/SLoginCard/index.d.ts +1 -0
  161. package/dist/components/SLogo/README.md +103 -0
  162. package/dist/components/SLogo/SLogo.d.ts +72 -0
  163. package/dist/components/SLogo/index.d.ts +2 -0
  164. package/dist/components/SLogo/logo.config.d.ts +29 -0
  165. package/dist/components/SLogo/logos.d.ts +16 -0
  166. package/dist/components/SMeatballButton/README.md +67 -0
  167. package/dist/components/SMeatballButton/SMeatballButton.d.ts +36 -0
  168. package/dist/components/SMeatballButton/index.d.ts +1 -0
  169. package/dist/components/SModal/README.md +15 -5
  170. package/dist/components/SModal/SModal.d.ts +1 -1
  171. package/dist/components/SNumberInput/README.md +19 -8
  172. package/dist/components/SNumberInput/SNumberInput.d.ts +49 -7
  173. package/dist/components/SPage/README.md +105 -5
  174. package/dist/components/SPage/SPage.d.ts +34 -10
  175. package/dist/components/SPage/SPageHeader.d.ts +31 -13
  176. package/dist/components/SPage/index.d.ts +2 -2
  177. package/dist/components/SPage/page-column.d.ts +34 -0
  178. package/dist/components/SPage/page-width.d.ts +23 -0
  179. package/dist/components/SPage/page.config.d.ts +26 -0
  180. package/dist/components/SPieChart/README.md +93 -0
  181. package/dist/components/SPieChart/SPieChart.d.ts +73 -0
  182. package/dist/components/SPieChart/index.d.ts +1 -0
  183. package/dist/components/SPopover/README.md +15 -0
  184. package/dist/components/SPopup/README.md +26 -2
  185. package/dist/components/SPopup/SPopup.d.ts +13 -10
  186. package/dist/components/SPopup/index.d.ts +1 -1
  187. package/dist/components/SPortal/README.md +20 -0
  188. package/dist/components/SRadio/README.md +20 -0
  189. package/dist/components/SRadioButton/README.md +27 -0
  190. package/dist/components/SRadioButton/SRadioButton.d.ts +17 -3
  191. package/dist/components/SRadioCard/README.md +78 -0
  192. package/dist/components/SRadioCard/SRadioCard.d.ts +29 -0
  193. package/dist/components/SRadioCard/SRadioCardGroup.d.ts +36 -0
  194. package/dist/components/SRadioCard/index.d.ts +2 -0
  195. package/dist/components/SScrollArea/README.md +28 -0
  196. package/dist/components/SScrollArea/SScrollArea.d.ts +17 -0
  197. package/dist/components/SSearchInput/README.md +19 -4
  198. package/dist/components/SSearchInput/SSearchInput.d.ts +11 -5
  199. package/dist/components/SSectionHeaderCard/README.md +38 -0
  200. package/dist/components/SSectionHeaderCard/SSectionHeaderCard.d.ts +19 -0
  201. package/dist/components/SSelect/README.md +64 -11
  202. package/dist/components/SSelect/SSelect.d.ts +135 -15
  203. package/dist/components/SSelect/index.d.ts +1 -1
  204. package/dist/components/SSelect/select.config.d.ts +17 -0
  205. package/dist/components/SSkeleton/README.md +67 -0
  206. package/dist/components/SSkeleton/SSkeleton.d.ts +43 -0
  207. package/dist/components/SSkeleton/index.d.ts +2 -0
  208. package/dist/components/SSkeleton/skeleton.config.d.ts +24 -0
  209. package/dist/components/SSlider/README.md +86 -0
  210. package/dist/components/SSlider/SSlider.d.ts +149 -0
  211. package/dist/components/SSlider/index.d.ts +1 -0
  212. package/dist/components/SSplitter/README.md +17 -2
  213. package/dist/components/SSplitter/SSplitter.d.ts +7 -3
  214. package/dist/components/SStepper/README.md +26 -0
  215. package/dist/components/SSwitch/README.md +13 -1
  216. package/dist/components/SSwitch/SSwitch.d.ts +1 -3
  217. package/dist/components/SSystemActionButton/README.md +246 -0
  218. package/dist/components/SSystemActionButton/SSystemActionButton.d.ts +167 -0
  219. package/dist/components/SSystemActionButton/index.d.ts +2 -0
  220. package/dist/components/SSystemActionButton/systemActionButton.config.d.ts +93 -0
  221. package/dist/components/STable/README.md +142 -20
  222. package/dist/components/STable/STable.d.ts +312 -46
  223. package/dist/components/STable/index.d.ts +1 -1
  224. package/dist/components/STableBar/README.md +1 -0
  225. package/dist/components/STableBar/STableBar.d.ts +8 -1
  226. package/dist/components/STabs/README.md +13 -1
  227. package/dist/components/STabs/STabs.d.ts +2 -2
  228. package/dist/components/STag/README.md +55 -0
  229. package/dist/components/STag/STag.d.ts +3 -1
  230. package/dist/components/STag/tag.config.d.ts +1 -1
  231. package/dist/components/STextLink/README.md +21 -1
  232. package/dist/components/STextLink/STextLink.d.ts +5 -1
  233. package/dist/components/STextarea/README.md +12 -5
  234. package/dist/components/STextarea/STextarea.d.ts +49 -6
  235. package/dist/components/STimePicker/README.md +19 -2
  236. package/dist/components/STimePicker/STimePicker.d.ts +36 -6
  237. package/dist/components/STimePicker/timepicker.config.d.ts +4 -2
  238. package/dist/components/STimeRangePicker/README.md +31 -2
  239. package/dist/components/STimeRangePicker/STimeRangePicker.d.ts +35 -6
  240. package/dist/components/STimeline/README.md +41 -0
  241. package/dist/components/STimeline/STimeline.d.ts +27 -0
  242. package/dist/components/STimeline/index.d.ts +1 -0
  243. package/dist/components/SToast/README.md +25 -1
  244. package/dist/components/SToast/SToast.d.ts +2 -2
  245. package/dist/components/SToggle/README.md +8 -0
  246. package/dist/components/SToggle/index.d.ts +1 -1
  247. package/dist/components/STooltip/README.md +27 -1
  248. package/dist/components/STooltip/STooltip.d.ts +1 -1
  249. package/dist/components/STree/README.md +42 -5
  250. package/dist/components/STree/STree.d.ts +18 -8
  251. package/dist/components/STree/STree.examples.d.ts +2 -0
  252. package/dist/components/STreeTable/README.md +49 -0
  253. package/dist/components/STreeTable/STreeTable.d.ts +70 -0
  254. package/dist/components/STreeTable/STreeTable.examples.d.ts +32 -0
  255. package/dist/components/STreeTable/index.d.ts +1 -0
  256. package/dist/docs/Gallery.d.ts +9 -0
  257. package/dist/docs/RecipeGallery.d.ts +13 -0
  258. package/dist/docs/gallery-previews.d.ts +24 -0
  259. package/dist/fonts/LICENSE.txt +94 -0
  260. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.0.woff2 +0 -0
  261. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.1.woff2 +0 -0
  262. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.10.woff2 +0 -0
  263. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.11.woff2 +0 -0
  264. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.12.woff2 +0 -0
  265. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.13.woff2 +0 -0
  266. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.14.woff2 +0 -0
  267. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.15.woff2 +0 -0
  268. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.16.woff2 +0 -0
  269. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.17.woff2 +0 -0
  270. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.18.woff2 +0 -0
  271. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.19.woff2 +0 -0
  272. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.2.woff2 +0 -0
  273. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.20.woff2 +0 -0
  274. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.21.woff2 +0 -0
  275. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.22.woff2 +0 -0
  276. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.23.woff2 +0 -0
  277. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.24.woff2 +0 -0
  278. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.25.woff2 +0 -0
  279. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.26.woff2 +0 -0
  280. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.27.woff2 +0 -0
  281. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.28.woff2 +0 -0
  282. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.29.woff2 +0 -0
  283. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.3.woff2 +0 -0
  284. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.30.woff2 +0 -0
  285. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.31.woff2 +0 -0
  286. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.32.woff2 +0 -0
  287. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.33.woff2 +0 -0
  288. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.34.woff2 +0 -0
  289. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.35.woff2 +0 -0
  290. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.36.woff2 +0 -0
  291. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.37.woff2 +0 -0
  292. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.38.woff2 +0 -0
  293. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.39.woff2 +0 -0
  294. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.4.woff2 +0 -0
  295. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.40.woff2 +0 -0
  296. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.41.woff2 +0 -0
  297. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.42.woff2 +0 -0
  298. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.43.woff2 +0 -0
  299. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.44.woff2 +0 -0
  300. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.45.woff2 +0 -0
  301. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.46.woff2 +0 -0
  302. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.47.woff2 +0 -0
  303. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.48.woff2 +0 -0
  304. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.49.woff2 +0 -0
  305. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.5.woff2 +0 -0
  306. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.50.woff2 +0 -0
  307. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.51.woff2 +0 -0
  308. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.52.woff2 +0 -0
  309. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.53.woff2 +0 -0
  310. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.54.woff2 +0 -0
  311. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.55.woff2 +0 -0
  312. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.56.woff2 +0 -0
  313. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.57.woff2 +0 -0
  314. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.58.woff2 +0 -0
  315. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.59.woff2 +0 -0
  316. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.6.woff2 +0 -0
  317. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.60.woff2 +0 -0
  318. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.61.woff2 +0 -0
  319. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.62.woff2 +0 -0
  320. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.63.woff2 +0 -0
  321. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.64.woff2 +0 -0
  322. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.65.woff2 +0 -0
  323. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.66.woff2 +0 -0
  324. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.67.woff2 +0 -0
  325. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.68.woff2 +0 -0
  326. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.69.woff2 +0 -0
  327. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.7.woff2 +0 -0
  328. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.70.woff2 +0 -0
  329. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.71.woff2 +0 -0
  330. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.72.woff2 +0 -0
  331. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.73.woff2 +0 -0
  332. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.74.woff2 +0 -0
  333. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.75.woff2 +0 -0
  334. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.76.woff2 +0 -0
  335. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.77.woff2 +0 -0
  336. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.78.woff2 +0 -0
  337. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.79.woff2 +0 -0
  338. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.8.woff2 +0 -0
  339. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.80.woff2 +0 -0
  340. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.81.woff2 +0 -0
  341. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.82.woff2 +0 -0
  342. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.83.woff2 +0 -0
  343. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.84.woff2 +0 -0
  344. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.85.woff2 +0 -0
  345. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.86.woff2 +0 -0
  346. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.87.woff2 +0 -0
  347. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.88.woff2 +0 -0
  348. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.89.woff2 +0 -0
  349. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.9.woff2 +0 -0
  350. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.90.woff2 +0 -0
  351. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.91.woff2 +0 -0
  352. package/dist/index.cjs +22926 -10831
  353. package/dist/index.cjs.map +1 -1
  354. package/dist/index.d.ts +25 -0
  355. package/dist/index.js +22836 -10830
  356. package/dist/index.js.map +1 -1
  357. package/dist/lib/chart/cartesian.d.ts +56 -0
  358. package/dist/lib/chart/frame.d.ts +21 -0
  359. package/dist/lib/chart/hover-dim.d.ts +19 -0
  360. package/dist/lib/chart/legend.d.ts +21 -0
  361. package/dist/lib/chart/palette.d.ts +28 -0
  362. package/dist/lib/chart/radial.d.ts +99 -0
  363. package/dist/lib/chart/scale.d.ts +26 -0
  364. package/dist/lib/chart/tooltip.d.ts +60 -0
  365. package/dist/lib/chart/types.d.ts +29 -0
  366. package/dist/lib/chart/use-element-size.d.ts +39 -0
  367. package/dist/lib/date.d.ts +11 -1
  368. package/dist/lib/depth-filter.d.ts +27 -0
  369. package/dist/lib/doc-sections.d.ts +35 -0
  370. package/dist/lib/dropdown-menu.d.ts +19 -0
  371. package/dist/lib/field-width.d.ts +31 -0
  372. package/dist/lib/floating-height.d.ts +15 -0
  373. package/dist/lib/global-overlay.d.ts +5 -0
  374. package/dist/lib/hover-preview.d.ts +32 -0
  375. package/dist/lib/inert.d.ts +11 -0
  376. package/dist/lib/overlay-scrollbar.d.ts +32 -0
  377. package/dist/lib/row-metrics.d.ts +61 -0
  378. package/dist/lib/story-docs.d.ts +19 -3
  379. package/dist/llms-full.txt +8447 -557
  380. package/dist/llms.txt +4148 -304
  381. package/dist/playground/categories.d.ts +19 -0
  382. package/dist/pretendard.css +937 -0
  383. package/dist/recipes/AppShell.d.ts +21 -0
  384. package/dist/recipes/CategoryManagePage.d.ts +1 -0
  385. package/dist/recipes/ConsultConsolePage.d.ts +1 -0
  386. package/dist/recipes/ExcelFilePopupPage.d.ts +5 -0
  387. package/dist/recipes/LoginPage.d.ts +6 -0
  388. package/dist/recipes/ProductBulkUploadPage.d.ts +1 -0
  389. package/dist/recipes/ProductCreatePage.d.ts +1 -0
  390. package/dist/recipes/ProductCreateSectionsPage.d.ts +5 -0
  391. package/dist/recipes/ProductDetailInlineEditPage.d.ts +9 -0
  392. package/dist/recipes/ProductDetailPage.d.ts +1 -0
  393. package/dist/recipes/ProductListChipFilterPage.d.ts +1 -0
  394. package/dist/recipes/ProductListPage.d.ts +1 -0
  395. package/dist/recipes/ProductOverlayPage.d.ts +1 -0
  396. package/dist/recipes/SalesDashboardPage.d.ts +1 -0
  397. package/dist/recipes/SettingsPage.d.ts +1 -0
  398. package/dist/recipes/StoreSetupPage.d.ts +1 -0
  399. package/dist/recipes/TransferOrderPopupPage.d.ts +2 -0
  400. package/dist/recipes/api.d.ts +220 -0
  401. package/dist/recipes/recipe-story.d.ts +33 -0
  402. package/dist/recipes/router.d.ts +9 -0
  403. package/dist/styles.css +3663 -244
  404. package/dist/theme.css +620 -27
  405. package/eslint/index.mjs +44 -35
  406. package/eslint/lib/class-names.mjs +23 -25
  407. package/eslint/lib/table-column.mjs +34 -8
  408. package/eslint/rules/component-group-gap.mjs +32 -30
  409. package/eslint/rules/divider-vertical-height.mjs +137 -0
  410. package/eslint/rules/field-width-grade.mjs +69 -52
  411. package/eslint/rules/no-arbitrary-class.mjs +63 -20
  412. package/eslint/rules/no-off-scale-spacing.mjs +61 -41
  413. package/eslint/rules/no-raw-html-control.mjs +38 -36
  414. package/eslint/rules/prefer-typo-preset.mjs +23 -17
  415. package/eslint/rules/require-locale-number.mjs +14 -19
  416. package/eslint/rules/table-column-width.mjs +114 -0
  417. package/eslint/rules/table-numeric-align.mjs +14 -14
  418. package/eslint/scale.gen.mjs +6 -3
  419. package/package.json +20 -5
@@ -0,0 +1,131 @@
1
+ # SLineChart
2
+
3
+ > 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
4
+
5
+ ### SLineChart
6
+
7
+ #### Props
8
+
9
+ | Prop | Type | Default | Description |
10
+ |------|------|---------|-------------|
11
+ | `categories` | `string[]` | — | 가로축에 놓일 항목 이름 |
12
+ | `series` | `SLineChartSeries[]` | — | 계열 목록. 각 `data` 는 `categories` 와 같은 순서다 |
13
+ | `title?` | `string` | — | 차트 제목 — 왼쪽 위에 놓인다 |
14
+ | `unit?` | `string` | — | 단위 — 오른쪽 위에 "단위 : " 를 붙여 놓는다 |
15
+ | `curve?` | `SLineChartCurve` | `'linear'` | 점을 잇는 방식. `smooth` 는 값을 넘어가 부풀지 않는 곡선이다 |
16
+ | `lineStyle?` | `SLineChartLineStyle` | `'solid'` | 선 모양. `dashed` 는 차트의 모든 선을 점선으로 그린다 |
17
+ | `area?` | `boolean` | `false` | 선 아래를 계열 색으로 채운다. 크기의 변화를 함께 보여줄 때 쓴다 |
18
+ | `stacked?` | `boolean` | `false` | 계열을 겹쳐 그리는 대신 **아래 계열 위에 쌓는다**. 전체의 크기와 그 안의 구성을 함께 볼 때 쓴다 — 맨 위 선이 곧 합계다. 툴팁은 쌓기 전 각 계열의 값을 보여준다 |
19
+ | `palette?` | `SLineChartPalette` | `'default'` | 색 팔레트. `custom` 일 때만 `colors` 를 본다 |
20
+ | `colors?` | `SLineChartColor[]` | — | `palette='custom'` 에서 쓸 색 이름을 계열 순서대로. 계열보다 짧으면 앞에서부터 순환한다 |
21
+ | `max?` | `number` | — | 값 축의 최댓값. 주지 않으면 데이터에서 읽기 좋은 값으로 정한다 |
22
+ | `tickCount?` | `number` | `8` | 값 축 눈금 개수 |
23
+ | `showPoint?` | `boolean` | `true` | 데이터 지점마다 점을 찍는다. 꺼도 짚은 항목의 점은 뜬다 |
24
+ | `showValueLabel?` | `boolean` | `false` | 점마다 값을 적는다. 기본은 끔 — 선 그래프는 항목이 많은 데이터에 쓰는 일이 잦아 숫자가 서로 붙는다. 항목이 대여섯 개 안쪽일 때만 켠다 |
25
+ | `showLegend?` | `boolean` | `true` | 범례를 보인다 |
26
+ | `legendPosition?` | `SLineChartLegendPosition` | `'top'` | 범례 위치 |
27
+ | `showTooltip?` | `boolean` | `true` | 항목에 마우스를 올리면 값 상자를 띄운다 |
28
+ | `formatValue?` | `(value: number) => string` | `defaultFormat` | 값 표시 형식 |
29
+ | `height?` | `number \| string` | — | 차트 높이. **아래 축 텍스트까지 포함한 값**이다 — 그림은 그만큼 줄어든다 |
30
+ | `tooltipFooter?` | `(category: SLineChartTooltipCategory) => ReactNode` | — | 툴팁의 값 아래에 덧붙일 내용. 짚은 항목을 받아 그린다 — 계열 값만으로 모자란 맥락 (합계, 전월 대비 등)을 적는다. 툴팁은 누를 수 없으므로 버튼·링크는 넣지 않는다 |
31
+ | `className?` | `string` | — | |
32
+ | `style?` | `CSSProperties` | — | |
33
+
34
+ #### Events
35
+
36
+ | Event | Type | Description |
37
+ |-------|------|-------------|
38
+ | `onPointClick` | `(point: SLineChartPoint) => void` | 점을 눌렀을 때 |
39
+
40
+ ## Types
41
+
42
+ ### SLineChartSeries
43
+
44
+ ```ts
45
+ /** 한 계열 — 선 하나, 범례 한 줄에 대응한다. */
46
+ export interface SLineChartSeries {
47
+ /** 범례·툴팁에 표시할 이름 */
48
+ name: string;
49
+ /** `categories` 와 같은 순서의 값. 빠진 자리(`null`·짧은 배열)에서는 선이 끊긴다 */
50
+ data: (number | null)[];
51
+ }
52
+ ```
53
+
54
+ ### SLineChartCurve
55
+
56
+ ```ts
57
+ /** 점과 점을 잇는 방식. */
58
+ export type SLineChartCurve = 'linear' | 'smooth';
59
+ ```
60
+
61
+ ### SLineChartLineStyle
62
+
63
+ ```ts
64
+ /** 선 모양. `dashed` 는 차트의 모든 선에 적용된다 — 일부 계열만 점선으로 구분하려면 쓰지 않는다 */
65
+ export type SLineChartLineStyle = 'solid' | 'dashed';
66
+ ```
67
+
68
+ ### SLineChartPalette
69
+
70
+ ```ts
71
+ /**
72
+ * 색 팔레트.
73
+ * - `default` 파랑 한 색. 계열이 하나거나 색으로 나눌 것이 없을 때
74
+ * - `multi` 서로 무관한 항목(11색)을 순서대로
75
+ * - `gradation` 한 지표의 단계(6색)를 진한 쪽부터 순서대로
76
+ * - `custom` `colors` 로 고른 색을 순서대로
77
+ */
78
+ export type SLineChartPalette = 'default' | 'multi' | 'gradation' | 'custom';
79
+ ```
80
+
81
+ ### SLineChartColor
82
+
83
+ ```ts
84
+ /**
85
+ * `palette='custom'` 에서 고를 수 있는 색 이름.
86
+ * positive=늘어남 · negative=줄어듦 · neutral=변화 없음 을 뜻하므로 뜻에 맞게 고른다.
87
+ */
88
+ export type SLineChartColor =
89
+ | 'positivePrimary'
90
+ | 'positiveSecondary'
91
+ | 'negativePrimary'
92
+ | 'negativeSecondary'
93
+ | 'neutralPrimary'
94
+ | 'neutralSecondary';
95
+ ```
96
+
97
+ ### SLineChartLegendPosition
98
+
99
+ ```ts
100
+ /** 범례 위치. */
101
+ export type SLineChartLegendPosition = 'top' | 'bottom';
102
+ ```
103
+
104
+ ### SLineChartPoint
105
+
106
+ ```ts
107
+ /** 툴팁·클릭이 가리키는 지점. */
108
+ export interface SLineChartPoint {
109
+ /** 계열 인덱스 */
110
+ seriesIndex: number;
111
+ /** 카테고리 인덱스 */
112
+ categoryIndex: number;
113
+ /** 그 지점의 값. 누적이어도 **그 계열이 제 몫으로 가진 값**이다 */
114
+ value: number;
115
+ }
116
+ ```
117
+
118
+ ### SLineChartTooltipCategory
119
+
120
+ ```ts
121
+ /** 툴팁 하단(`tooltipFooter`)이 받는 짚은 항목. */
122
+ export interface SLineChartTooltipCategory {
123
+ /** 카테고리 인덱스 */
124
+ categoryIndex: number;
125
+ /** 카테고리 이름 */
126
+ name: string;
127
+ /** 툴팁에 값이 뜬 지점들 — 값이 없는 계열은 빠진다. 누적이어도 각 계열이 제 몫으로 가진 값이다 */
128
+ points: SLineChartPoint[];
129
+ }
130
+ ```
131
+
@@ -0,0 +1,110 @@
1
+ import { type CSSProperties, type ReactNode } from 'react';
2
+ /** 점과 점을 잇는 방식. */
3
+ export type SLineChartCurve = 'linear' | 'smooth';
4
+ /** 선 모양. `dashed` 는 차트의 모든 선에 적용된다 — 일부 계열만 점선으로 구분하려면 쓰지 않는다 */
5
+ export type SLineChartLineStyle = 'solid' | 'dashed';
6
+ /** 범례 위치. */
7
+ export type SLineChartLegendPosition = 'top' | 'bottom';
8
+ /**
9
+ * 색 팔레트.
10
+ * - `default` 파랑 한 색. 계열이 하나거나 색으로 나눌 것이 없을 때
11
+ * - `multi` 서로 무관한 항목(11색)을 순서대로
12
+ * - `gradation` 한 지표의 단계(6색)를 진한 쪽부터 순서대로
13
+ * - `custom` `colors` 로 고른 색을 순서대로
14
+ */
15
+ export type SLineChartPalette = 'default' | 'multi' | 'gradation' | 'custom';
16
+ /**
17
+ * `palette='custom'` 에서 고를 수 있는 색 이름.
18
+ * positive=늘어남 · negative=줄어듦 · neutral=변화 없음 을 뜻하므로 뜻에 맞게 고른다.
19
+ */
20
+ export type SLineChartColor = 'positivePrimary' | 'positiveSecondary' | 'negativePrimary' | 'negativeSecondary' | 'neutralPrimary' | 'neutralSecondary';
21
+ /** 툴팁·클릭이 가리키는 지점. */
22
+ export interface SLineChartPoint {
23
+ /** 계열 인덱스 */
24
+ seriesIndex: number;
25
+ /** 카테고리 인덱스 */
26
+ categoryIndex: number;
27
+ /** 그 지점의 값. 누적이어도 **그 계열이 제 몫으로 가진 값**이다 */
28
+ value: number;
29
+ }
30
+ /** 툴팁 하단(`tooltipFooter`)이 받는 짚은 항목. */
31
+ export interface SLineChartTooltipCategory {
32
+ /** 카테고리 인덱스 */
33
+ categoryIndex: number;
34
+ /** 카테고리 이름 */
35
+ name: string;
36
+ /** 툴팁에 값이 뜬 지점들 — 값이 없는 계열은 빠진다. 누적이어도 각 계열이 제 몫으로 가진 값이다 */
37
+ points: SLineChartPoint[];
38
+ }
39
+ /** 한 계열 — 선 하나, 범례 한 줄에 대응한다. */
40
+ export interface SLineChartSeries {
41
+ /** 범례·툴팁에 표시할 이름 */
42
+ name: string;
43
+ /** `categories` 와 같은 순서의 값. 빠진 자리(`null`·짧은 배열)에서는 선이 끊긴다 */
44
+ data: (number | null)[];
45
+ }
46
+ export interface SLineChartProps {
47
+ /** 가로축에 놓일 항목 이름 */
48
+ categories: string[];
49
+ /** 계열 목록. 각 `data` 는 `categories` 와 같은 순서다 */
50
+ series: SLineChartSeries[];
51
+ /** 차트 제목 — 왼쪽 위에 놓인다 */
52
+ title?: string;
53
+ /** 단위 — 오른쪽 위에 "단위 : " 를 붙여 놓는다 */
54
+ unit?: string;
55
+ /** 점을 잇는 방식. `smooth` 는 값을 넘어가 부풀지 않는 곡선이다 */
56
+ curve?: SLineChartCurve;
57
+ /** 선 모양. `dashed` 는 차트의 모든 선을 점선으로 그린다 */
58
+ lineStyle?: SLineChartLineStyle;
59
+ /** 선 아래를 계열 색으로 채운다. 크기의 변화를 함께 보여줄 때 쓴다 */
60
+ area?: boolean;
61
+ /**
62
+ * 계열을 겹쳐 그리는 대신 **아래 계열 위에 쌓는다**. 전체의 크기와 그 안의 구성을
63
+ * 함께 볼 때 쓴다 — 맨 위 선이 곧 합계다. 툴팁은 쌓기 전 각 계열의 값을 보여준다
64
+ */
65
+ stacked?: boolean;
66
+ /** 색 팔레트. `custom` 일 때만 `colors` 를 본다 */
67
+ palette?: SLineChartPalette;
68
+ /** `palette='custom'` 에서 쓸 색 이름을 계열 순서대로. 계열보다 짧으면 앞에서부터 순환한다 */
69
+ colors?: SLineChartColor[];
70
+ /** 값 축의 최댓값. 주지 않으면 데이터에서 읽기 좋은 값으로 정한다 */
71
+ max?: number;
72
+ /** 값 축 눈금 개수 */
73
+ tickCount?: number;
74
+ /** 데이터 지점마다 점을 찍는다. 꺼도 짚은 항목의 점은 뜬다 */
75
+ showPoint?: boolean;
76
+ /**
77
+ * 점마다 값을 적는다. 기본은 끔 — 선 그래프는 항목이 많은 데이터에 쓰는 일이 잦아
78
+ * 숫자가 서로 붙는다. 항목이 대여섯 개 안쪽일 때만 켠다
79
+ */
80
+ showValueLabel?: boolean;
81
+ /** 범례를 보인다 */
82
+ showLegend?: boolean;
83
+ /** 범례 위치 */
84
+ legendPosition?: SLineChartLegendPosition;
85
+ /** 항목에 마우스를 올리면 값 상자를 띄운다 */
86
+ showTooltip?: boolean;
87
+ /** 값 표시 형식 */
88
+ formatValue?: (value: number) => string;
89
+ /** 차트 높이. **아래 축 텍스트까지 포함한 값**이다 — 그림은 그만큼 줄어든다 */
90
+ height?: number | string;
91
+ /** 점을 눌렀을 때 */
92
+ onPointClick?: (point: SLineChartPoint) => void;
93
+ /**
94
+ * 툴팁의 값 아래에 덧붙일 내용. 짚은 항목을 받아 그린다 — 계열 값만으로 모자란 맥락
95
+ * (합계, 전월 대비 등)을 적는다. 툴팁은 누를 수 없으므로 버튼·링크는 넣지 않는다
96
+ */
97
+ tooltipFooter?: (category: SLineChartTooltipCategory) => ReactNode;
98
+ className?: string;
99
+ style?: CSSProperties;
100
+ }
101
+ /**
102
+ * SLineChart — 꺾은선 그래프.
103
+ *
104
+ * 항목의 순서에 뜻이 있을 때(기간별 추이) 쓴다. 순서가 없는 항목끼리 크기를 견주는
105
+ * 것이 목적이면 `SBarChart` 가 맞다 — 선은 "이어진다" 는 뜻을 덤으로 얹는다.
106
+ *
107
+ * 값 축은 막대 차트와 마찬가지로 **항상 0 을 포함한다.** 0 을 잘라 확대하면 같은 데이터가
108
+ * 훨씬 가파른 변화로 보인다.
109
+ */
110
+ export declare const SLineChart: import("react").ForwardRefExoticComponent<SLineChartProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { SLineChart, type SLineChartProps, type SLineChartSeries, type SLineChartPoint, type SLineChartTooltipCategory, type SLineChartCurve, type SLineChartPalette, type SLineChartColor, type SLineChartLegendPosition, } from './SLineChart';
@@ -0,0 +1,95 @@
1
+ /**
2
+ * SLineChart 의 치수·색 상수와 선·영역 경로 계산.
3
+ *
4
+ * 선·점 고유의 값은 `chart.line.*` 토큰이 정한다. 두 차트가 공유하는 것
5
+ * (눈금·격자·툴팁·범례·팔레트·값 라벨)은 새로 정하지 않고 바 차트와 `lib/chart` 에서
6
+ * 그대로 가져온다 — 같은 데이터를 막대에서 선으로 바꿨을 때 눈금이 어긋나면 두 차트를
7
+ * 견줄 수 없다. 단 항목 축 양끝 여백(`AXIS_EDGE_PADDING`)은 쓰지 않는다 — 선은
8
+ * 첫·마지막 점이 그림 양끝에 선다.
9
+ *
10
+ * **점의 치수는 토큰을 `var()` 로 넘기지 못하고 숫자로 베껴 둔다.** 점 자리가 툴팁이
11
+ * 비켜설 거리·값 라벨의 높이·스크롤 컨테이너의 여유 폭을 정하는 데 쓰여, 그리기 전에
12
+ * JS 가 그 수를 알아야 하기 때문이다. 막대의 `BAR_RADIUS` 와 같은 규칙으로, 각 상수에
13
+ * 어느 토큰을 베꼈는지 적어 둔다. 색·불투명도처럼 그리기만 하는 것은 토큰을 직접 참조한다.
14
+ *
15
+ * **토큰 이름이 `bar` 로 시작하는 것을 그대로 쓰는 자리가 남아 있다** — 짚은 항목의
16
+ * 바탕(`--cmp-chart-barContainer-*`)이 그렇다. 이름만 막대 것이고 뜻은 "짚은 항목의
17
+ * 바탕" 이라, 선 차트에서 값을 따로 정하면 같은 자리가 차트마다 달라진다.
18
+ *
19
+ * 값 라벨의 색·타이포는 `chart.dataLabel.*` 로 막대 밖으로 나와 이제 공용 토큰이다.
20
+ */
21
+ /** 선 두께 — 토큰 `chart.line.width`. SVG 표현 속성은 `var()` 를 못 풀어 `style` 로 넘긴다. */
22
+ export declare const LINE_WIDTH = "var(--cmp-chart-line-width)";
23
+ /**
24
+ * 선의 불투명도 — 토큰 `chart.line.opacity`.
25
+ *
26
+ * 선은 한 겹 물러나 있고 점이 앞에 선다. 차트 공용 기본값(`chart.opacity.default`)이
27
+ * "라인 제외" 라고 못박은 것도 이 때문이다 — 선만 다른 값을 쓴다. 짚었을 때도 그대로다:
28
+ * 선이 진해지면 굵기 탓에 짚지 않은 이웃 계열까지 덮는다.
29
+ */
30
+ export declare const LINE_OPACITY = "var(--cmp-chart-line-opacity)";
31
+ /**
32
+ * 점선 패턴(SVG `stroke-dasharray`, px) — dash 11·gap 11.
33
+ *
34
+ * `chart.line.*` 에 점선 토큰이 없어 시안 SVG 실측값을 그대로 옮긴다(선 두께 4px 기준
35
+ * dash:gap = 1:1). 토큰이 아니므로 두께가 바뀌면 이 값도 함께 검토해야 한다.
36
+ */
37
+ export declare const LINE_DASH = "11 11";
38
+ /** 점의 반지름(px) — 토큰 `chart.line.point.size.default`(지름 10)의 절반. */
39
+ export declare const POINT_RADIUS = 5;
40
+ /** 짚은 항목의 점 — 토큰 `chart.line.point.size.hover`(지름 12)의 절반. 색은 그대로고 커지기만 한다. */
41
+ export declare const POINT_HOVER_RADIUS = 6;
42
+ /**
43
+ * 짚은 점을 감싸는 바탕 원의 반지름(px) — 토큰 `chart.line.point.size.bg`(지름 24)의 절반.
44
+ *
45
+ * 계열 색을 옅게 깐 원이다(`chart.line.point.opacity.bg`). 점 둘레를 비우는 것이 아니라
46
+ * **점보다 넓은 같은 색 자리**를 만들어, 계열이 여럿이어도 어느 선의 점을 짚었는지가 색으로 읽힌다.
47
+ */
48
+ export declare const POINT_HALO_RADIUS = 12;
49
+ export declare const POINT_HALO_OPACITY = "var(--cmp-chart-line-point-opacity-bg)";
50
+ /**
51
+ * 짚은 점이 실제로 차지하는 반지름 — 바탕 원까지다. 툴팁이 이만큼 비켜서고,
52
+ * 양끝 점이 잘리지 않게 스크롤 컨테이너도 이만큼 넓어진다.
53
+ */
54
+ export declare const POINT_HOVER_EXTENT = 12;
55
+ /**
56
+ * 항목 하나가 가져야 할 최소 폭(px).
57
+ *
58
+ * 막대 차트의 최소 band(여백 8 + 막대 24 + 여백 8)와 같은 값이다 — 같은 데이터에서
59
+ * 두 차트의 스크롤 시점이 같아야 한다. 이보다 좁아지면 점이 서로 붙고 항목 이름이
60
+ * 겹치므로, 좁히는 대신 가로로 스크롤한다.
61
+ */
62
+ export declare const BAND_MIN = 40;
63
+ /** 점과 값 라벨 사이 간격(px) — 토큰 `chart.line.point.gap`. 막대(6)와 달리 선은 4 다. */
64
+ export declare const VALUE_LABEL_GAP = 4;
65
+ /**
66
+ * 영역 채움의 불투명도 — 선 바로 아래가 가장 진하고 바닥으로 갈수록 옅어진다.
67
+ *
68
+ * 선은 또렷하게 두고 영역만 물리는 값이다. 세로 그라데이션이라 채움이 바닥에서 거의
69
+ * 사라져, 계열이 여럿일 때 채움끼리 겹쳐 색이 탁해지는 것도 덜하다. 그래도 겹쳐 그리는
70
+ * 것 자체의 한계는 남으므로, 계열이 많으면 `area` 를 끄거나 `stacked` 로 쌓는다.
71
+ *
72
+ * 위·아래 값은 `chart.line.area.gradation.start|end` 가 정한다.
73
+ */
74
+ export declare const AREA_OPACITY_TOP = "var(--cmp-chart-line-area-gradation-start)";
75
+ export declare const AREA_OPACITY_BOTTOM = "var(--cmp-chart-line-area-gradation-end)";
76
+ export declare const LINE_DATA_LABEL_COLOR = "var(--cmp-chart-dataLabel-color-default)";
77
+ /** 값 라벨의 타이포 — 짚은 항목만 굵고 크게 뜬다(막대 차트와 같은 규칙). */
78
+ export declare const LINE_DATA_LABEL_TYPO = "typo-body-sm-medium";
79
+ export declare const LINE_DATA_LABEL_TYPO_HOVER = "typo-body-md-bold";
80
+ /** 그림 좌표계의 한 점(px). */
81
+ export interface ChartPoint {
82
+ x: number;
83
+ y: number;
84
+ }
85
+ /**
86
+ * 이어진 점들을 지나는 선. 점이 하나뿐이면 그릴 선이 없다(점만 남는다).
87
+ */
88
+ export declare function linePath(points: ChartPoint[], smooth: boolean): string;
89
+ /**
90
+ * 위 선과 아래 선 사이를 채우는 영역.
91
+ *
92
+ * 아래 선을 **역순으로** 이어 닫는다. 곡선일 때 아래 선도 같은 방식으로 휘어야 하므로
93
+ * 직선으로 질러가지 않고 다시 보간한다 — 안 그러면 채움이 곡선 아래로 삐져나온다.
94
+ */
95
+ export declare function areaPath(top: ChartPoint[], bottom: ChartPoint[], smooth: boolean): string;
@@ -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,8 +9,16 @@
9
9
  | Prop | Type | Default | Description |
10
10
  |------|------|---------|-------------|
11
11
  | `children?` | `ReactNode` | — | 리스트 컨테이너 내부에 렌더링할 내용 |
12
- | `useGap?` | `boolean` | `false` | 리스트 아이템 사이 gap 토큰 적용 여부 |
13
- | `usePadding?` | `boolean` | `false` | 리스트 컨테이너 padding 토큰 적용 여부 |
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
+ ```
14
22
 
15
23
  ## Dependencies
16
24
 
@@ -19,10 +27,15 @@
19
27
  - [SDraggableList](../SDraggableList)
20
28
  - [SExpansionList](../SExpansionList)
21
29
 
30
+ ### Depends on
31
+
32
+ - [SDivider](../SDivider)
33
+
22
34
  ### Graph
23
35
 
24
36
  ```mermaid
25
37
  graph TD;
38
+ SList --> SDivider
26
39
  SDraggableList --> SList
27
40
  SExpansionList --> SList
28
41
  style SList fill:#f9f,stroke:#333,stroke-width:4px
@@ -1,10 +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;
7
+ gap?: boolean;
8
+ /**
9
+ * 컨테이너 안쪽 여백. 기본은 `none` — 목록이 담긴 면이 이미 여백을 쥔 경우가 많다.
10
+ * 목록이 배경 위에 직접 얹혀 스스로 여백을 쥐어야 할 때만 `default`.
11
+ */
12
+ padding?: SListPadding;
9
13
  }
10
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,10 +10,10 @@
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
18
  | `width?` | `number \| string` | `520` | |
19
19
  | `height?` | `number \| string` | `320` | |
@@ -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