sellmate-design-system-react 9.0.0-beta.11 → 9.0.0-beta.112

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 (462) hide show
  1. package/AGENTS.md +4231 -304
  2. package/README.md +85 -37
  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 +67 -0
  9. package/dist/components/SAccountListBox/index.d.ts +2 -0
  10. package/dist/components/SActionModal/README.md +6 -4
  11. package/dist/components/SActionModal/SActionModal.d.ts +16 -6
  12. package/dist/components/SBadge/README.md +3 -0
  13. package/dist/components/SBadge/SBadge.d.ts +2 -2
  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 +10 -6
  19. package/dist/components/SBarcodeInput/SBarcodeInput.d.ts +28 -5
  20. package/dist/components/SButton/README.md +50 -11
  21. package/dist/components/SButton/SButton.d.ts +30 -7
  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 +2 -2
  25. package/dist/components/SCalendar/SCalendar.d.ts +3 -3
  26. package/dist/components/SCalendarBoard/CalendarDayCard.d.ts +61 -0
  27. package/dist/components/SCalendarBoard/CalendarDayEventListBox.d.ts +26 -0
  28. package/dist/components/SCalendarBoard/CalendarEventButton.d.ts +20 -0
  29. package/dist/components/SCalendarBoard/CalendarMoreButton.d.ts +18 -0
  30. package/dist/components/SCalendarBoard/README.md +148 -0
  31. package/dist/components/SCalendarBoard/SCalendarBoard.d.ts +83 -0
  32. package/dist/components/SCalendarBoard/calendar-board-layout.d.ts +59 -0
  33. package/dist/components/SCalendarBoard/calendarBoard.config.d.ts +38 -0
  34. package/dist/components/SCalendarBoard/index.d.ts +3 -0
  35. package/dist/components/SCalendarBoard/types.d.ts +40 -0
  36. package/dist/components/SCallout/README.md +3 -2
  37. package/dist/components/SCallout/SCallout.d.ts +15 -6
  38. package/dist/components/SCard/README.md +17 -0
  39. package/dist/components/SCard/SCard.d.ts +26 -2
  40. package/dist/components/SChatAttachedFile/README.md +33 -0
  41. package/dist/components/SChatAttachedFile/SChatAttachedFile.d.ts +13 -0
  42. package/dist/components/SChatAttachedFile/chatAttachedFile.config.d.ts +23 -0
  43. package/dist/components/SChatAttachedFile/index.d.ts +2 -0
  44. package/dist/components/SChatFile/README.md +33 -0
  45. package/dist/components/SChatFile/SChatFile.d.ts +37 -0
  46. package/dist/components/SChatFile/chatFile.config.d.ts +56 -0
  47. package/dist/components/SChatFile/index.d.ts +2 -0
  48. package/dist/components/SChatInput/README.md +52 -0
  49. package/dist/components/SChatInput/SChatInput.d.ts +127 -0
  50. package/dist/components/SChatInput/index.d.ts +1 -0
  51. package/dist/components/SChatMessage/README.md +87 -0
  52. package/dist/components/SChatMessage/SChatMessage.d.ts +135 -0
  53. package/dist/components/SChatMessage/index.d.ts +1 -0
  54. package/dist/components/SChatSystemMessage/README.md +12 -0
  55. package/dist/components/SChatSystemMessage/SChatSystemMessage.d.ts +18 -0
  56. package/dist/components/SChatSystemMessage/index.d.ts +1 -0
  57. package/dist/components/SCheckbox/README.md +4 -1
  58. package/dist/components/SCheckbox/SCheckbox.d.ts +11 -3
  59. package/dist/components/SChip/README.md +29 -4
  60. package/dist/components/SChip/SChip.d.ts +13 -5
  61. package/dist/components/SChip/index.d.ts +1 -1
  62. package/dist/components/SChipFilter/README.md +156 -72
  63. package/dist/components/SChipFilter/SChipFilter.d.ts +122 -54
  64. package/dist/components/SChipFilter/index.d.ts +1 -1
  65. package/dist/components/SChipInput/README.md +10 -5
  66. package/dist/components/SChipInput/SChipInput.d.ts +57 -7
  67. package/dist/components/SChipInput/index.d.ts +1 -1
  68. package/dist/components/SCircleProgress/README.md +6 -3
  69. package/dist/components/SCircleProgress/SCircleProgress.d.ts +12 -4
  70. package/dist/components/SConfirmModal/README.md +12 -18
  71. package/dist/components/SConfirmModal/SConfirmModal.d.ts +55 -16
  72. package/dist/components/SContextAlert/README.md +52 -0
  73. package/dist/components/SContextAlert/SContextAlert.d.ts +51 -0
  74. package/dist/components/SContextAlert/contextAlert.config.d.ts +22 -0
  75. package/dist/components/SContextAlert/index.d.ts +2 -0
  76. package/dist/components/SDatePicker/README.md +10 -3
  77. package/dist/components/SDatePicker/SDatePicker.d.ts +52 -7
  78. package/dist/components/SDateRangePicker/README.md +10 -5
  79. package/dist/components/SDateRangePicker/SDateRangePicker.d.ts +54 -9
  80. package/dist/components/SDivider/README.md +7 -0
  81. package/dist/components/SDivider/SDivider.d.ts +12 -1
  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 +1 -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 +9 -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 +2 -1
  92. package/dist/components/SDrawer/SDrawer.d.ts +10 -5
  93. package/dist/components/SDropdownButton/README.md +16 -6
  94. package/dist/components/SDropdownButton/SDropdownButton.d.ts +8 -6
  95. package/dist/components/SDropdownButton/index.d.ts +1 -1
  96. package/dist/components/SEditor/EditorBody.d.ts +48 -0
  97. package/dist/components/SEditor/EditorToolbar.d.ts +93 -0
  98. package/dist/components/SEditor/README.md +207 -0
  99. package/dist/components/SEditor/SEditor.d.ts +128 -0
  100. package/dist/components/SEditor/editor-icons.d.ts +63 -0
  101. package/dist/components/SEditor/editor.config.d.ts +126 -0
  102. package/dist/components/SEditor/index.d.ts +8 -0
  103. package/dist/components/SEditor/tiptap-api.d.ts +29 -0
  104. package/dist/components/SEditor/use-is-mobile.d.ts +14 -0
  105. package/dist/components/SExpansionItem/README.md +3 -2
  106. package/dist/components/SExpansionItem/SExpansionItem.d.ts +18 -2
  107. package/dist/components/SExpansionItem/index.d.ts +1 -1
  108. package/dist/components/SField/README.md +18 -5
  109. package/dist/components/SField/SField.d.ts +62 -11
  110. package/dist/components/SField/index.d.ts +1 -1
  111. package/dist/components/SFilePicker/README.md +8 -6
  112. package/dist/components/SFilePicker/SFilePicker.d.ts +29 -9
  113. package/dist/components/SFooter/README.md +31 -8
  114. package/dist/components/SFooter/SFooter.d.ts +29 -13
  115. package/dist/components/SFooter/index.d.ts +1 -1
  116. package/dist/components/SForm/README.md +4 -4
  117. package/dist/components/SForm/SForm.d.ts +7 -7
  118. package/dist/components/SGhostButton/README.md +21 -2
  119. package/dist/components/SGhostButton/SGhostButton.d.ts +23 -5
  120. package/dist/components/SGnb/README.md +65 -9
  121. package/dist/components/SGnb/SGnb.d.ts +117 -13
  122. package/dist/components/SGnb/gnb.config.d.ts +46 -5
  123. package/dist/components/SGnb/index.d.ts +1 -1
  124. package/dist/components/SGnbSystem/README.md +190 -0
  125. package/dist/components/SGnbSystem/SGnbSystem.d.ts +179 -0
  126. package/dist/components/SGnbSystem/gnbSystem.config.d.ts +120 -0
  127. package/dist/components/SGnbSystem/index.d.ts +2 -0
  128. package/dist/components/SGuide/README.md +3 -3
  129. package/dist/components/SGuide/SGuide.d.ts +8 -5
  130. package/dist/components/SIcon/README.md +23 -1
  131. package/dist/components/SIcon/SIcon.d.ts +6 -3
  132. package/dist/components/SIcon/icons.gen.d.ts +26 -2
  133. package/dist/components/SImage/README.md +9 -1
  134. package/dist/components/SImage/SImage.d.ts +11 -8
  135. package/dist/components/SInput/README.md +13 -7
  136. package/dist/components/SInput/SInput.d.ts +21 -9
  137. package/dist/components/SKeyValueTable/README.md +8 -3
  138. package/dist/components/SKeyValueTable/SKeyValueTable.d.ts +33 -6
  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 +6 -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 +9 -2
  152. package/dist/components/SLinearProgress/SLinearProgress.d.ts +12 -3
  153. package/dist/components/SLinearProgress/index.d.ts +1 -1
  154. package/dist/components/SList/README.md +15 -2
  155. package/dist/components/SList/SList.d.ts +7 -3
  156. package/dist/components/SList/index.d.ts +1 -1
  157. package/dist/components/SListItem/README.md +2 -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/README.md +1 -1
  161. package/dist/components/SLoadingContainer/SLoadingContainer.d.ts +3 -3
  162. package/dist/components/SLoadingContainer/index.d.ts +1 -1
  163. package/dist/components/SLoadingContainer/loading.d.ts +41 -6
  164. package/dist/components/SLoadingModal/README.md +10 -9
  165. package/dist/components/SLoadingModal/SLoadingModal.d.ts +10 -8
  166. package/dist/components/SLoadingModal/index.d.ts +1 -1
  167. package/dist/components/SLoginCard/README.md +37 -0
  168. package/dist/components/SLoginCard/SLoginCard.d.ts +43 -0
  169. package/dist/components/SLoginCard/index.d.ts +1 -0
  170. package/dist/components/SLogo/README.md +103 -0
  171. package/dist/components/SLogo/SLogo.d.ts +72 -0
  172. package/dist/components/SLogo/index.d.ts +2 -0
  173. package/dist/components/SLogo/logo.config.d.ts +29 -0
  174. package/dist/components/SLogo/logos.d.ts +16 -0
  175. package/dist/components/SMeatballButton/README.md +69 -0
  176. package/dist/components/SMeatballButton/SMeatballButton.d.ts +39 -0
  177. package/dist/components/SMeatballButton/index.d.ts +1 -0
  178. package/dist/components/SModal/README.md +20 -10
  179. package/dist/components/SModal/SModal.d.ts +5 -5
  180. package/dist/components/SModalContainer/README.md +4 -3
  181. package/dist/components/SModalContainer/SModalContainer.d.ts +16 -8
  182. package/dist/components/SNumberInput/README.md +17 -12
  183. package/dist/components/SNumberInput/SNumberInput.d.ts +53 -11
  184. package/dist/components/SPage/README.md +68 -5
  185. package/dist/components/SPage/SPage.d.ts +34 -10
  186. package/dist/components/SPage/SPageHeader.d.ts +37 -13
  187. package/dist/components/SPage/index.d.ts +2 -2
  188. package/dist/components/SPage/page-column.d.ts +34 -0
  189. package/dist/components/SPage/page-width.d.ts +23 -0
  190. package/dist/components/SPage/page.config.d.ts +26 -0
  191. package/dist/components/SPagination/README.md +11 -1
  192. package/dist/components/SPagination/SPagination.d.ts +9 -3
  193. package/dist/components/SPagination/index.d.ts +1 -1
  194. package/dist/components/SPieChart/README.md +93 -0
  195. package/dist/components/SPieChart/SPieChart.d.ts +73 -0
  196. package/dist/components/SPieChart/index.d.ts +1 -0
  197. package/dist/components/SPopover/README.md +1 -1
  198. package/dist/components/SPopover/SPopover.d.ts +2 -2
  199. package/dist/components/SPopup/README.md +14 -9
  200. package/dist/components/SPopup/SPopup.d.ts +15 -12
  201. package/dist/components/SPopup/index.d.ts +1 -1
  202. package/dist/components/SPortal/README.md +12 -5
  203. package/dist/components/SPortal/SPortal.d.ts +11 -9
  204. package/dist/components/SRadio/README.md +4 -4
  205. package/dist/components/SRadio/SRadio.d.ts +3 -3
  206. package/dist/components/SRadio/SRadioGroup.d.ts +3 -3
  207. package/dist/components/SRadioButton/README.md +11 -2
  208. package/dist/components/SRadioButton/SRadioButton.d.ts +19 -5
  209. package/dist/components/SRadioCard/README.md +81 -0
  210. package/dist/components/SRadioCard/SRadioCard.d.ts +34 -0
  211. package/dist/components/SRadioCard/SRadioCardGroup.d.ts +38 -0
  212. package/dist/components/SRadioCard/index.d.ts +2 -0
  213. package/dist/components/SScrollArea/README.md +14 -0
  214. package/dist/components/SScrollArea/SScrollArea.d.ts +18 -2
  215. package/dist/components/SSearchInput/README.md +7 -5
  216. package/dist/components/SSearchInput/SSearchInput.d.ts +12 -6
  217. package/dist/components/SSectionHeaderCard/README.md +6 -0
  218. package/dist/components/SSectionHeaderCard/SSectionHeaderCard.d.ts +19 -0
  219. package/dist/components/SSectionNav/README.md +32 -0
  220. package/dist/components/SSectionNav/SSectionNav.d.ts +40 -0
  221. package/dist/components/SSectionNav/index.d.ts +1 -0
  222. package/dist/components/SSectionNav/section-nav-scroll.d.ts +27 -0
  223. package/dist/components/SSelect/README.md +73 -16
  224. package/dist/components/SSelect/SSelect.d.ts +163 -21
  225. package/dist/components/SSelect/index.d.ts +1 -1
  226. package/dist/components/SSelect/select.config.d.ts +65 -6
  227. package/dist/components/SSkeleton/README.md +67 -0
  228. package/dist/components/SSkeleton/SSkeleton.d.ts +43 -0
  229. package/dist/components/SSkeleton/index.d.ts +2 -0
  230. package/dist/components/SSkeleton/skeleton.config.d.ts +24 -0
  231. package/dist/components/SSlider/README.md +86 -0
  232. package/dist/components/SSlider/SSlider.d.ts +149 -0
  233. package/dist/components/SSlider/index.d.ts +1 -0
  234. package/dist/components/SSplitter/README.md +2 -2
  235. package/dist/components/SSplitter/SSplitter.d.ts +7 -3
  236. package/dist/components/SStepper/README.md +1 -1
  237. package/dist/components/SStepper/SStepper.d.ts +3 -3
  238. package/dist/components/SStepper/stepper.config.d.ts +9 -3
  239. package/dist/components/SSwitch/README.md +14 -2
  240. package/dist/components/SSwitch/SSwitch.d.ts +3 -5
  241. package/dist/components/SSystemActionButton/README.md +253 -0
  242. package/dist/components/SSystemActionButton/SSystemActionButton.d.ts +198 -0
  243. package/dist/components/SSystemActionButton/index.d.ts +2 -0
  244. package/dist/components/SSystemActionButton/systemActionButton.config.d.ts +95 -0
  245. package/dist/components/STable/README.md +122 -88
  246. package/dist/components/STable/STable.d.ts +383 -52
  247. package/dist/components/STable/index.d.ts +1 -1
  248. package/dist/components/STableBar/README.md +2 -1
  249. package/dist/components/STableBar/STableBar.d.ts +9 -2
  250. package/dist/components/STabs/README.md +2 -2
  251. package/dist/components/STabs/STabs.d.ts +5 -6
  252. package/dist/components/STabs/tabs.config.d.ts +3 -8
  253. package/dist/components/STag/README.md +18 -0
  254. package/dist/components/STag/STag.d.ts +4 -3
  255. package/dist/components/STag/tag.config.d.ts +11 -10
  256. package/dist/components/STextLink/README.md +7 -1
  257. package/dist/components/STextLink/STextLink.d.ts +6 -2
  258. package/dist/components/STextarea/README.md +13 -6
  259. package/dist/components/STextarea/STextarea.d.ts +51 -8
  260. package/dist/components/STimePicker/README.md +8 -5
  261. package/dist/components/STimePicker/STimePicker.d.ts +39 -13
  262. package/dist/components/STimePicker/TimeListbox.d.ts +21 -0
  263. package/dist/components/STimePicker/timepicker.config.d.ts +9 -3
  264. package/dist/components/STimeRangePicker/README.md +9 -6
  265. package/dist/components/STimeRangePicker/STimeRangePicker.d.ts +43 -10
  266. package/dist/components/STimeRangePicker/time-range-picker.config.d.ts +2 -1
  267. package/dist/components/STimeline/README.md +41 -0
  268. package/dist/components/STimeline/STimeline.d.ts +28 -0
  269. package/dist/components/STimeline/index.d.ts +1 -0
  270. package/dist/components/SToast/README.md +5 -5
  271. package/dist/components/SToast/SToast.d.ts +5 -5
  272. package/dist/components/SToast/SToastContainer.d.ts +3 -3
  273. package/dist/components/SToggle/README.md +1 -1
  274. package/dist/components/SToggle/SToggle.d.ts +2 -2
  275. package/dist/components/SToggle/index.d.ts +1 -1
  276. package/dist/components/STooltip/README.md +7 -1
  277. package/dist/components/STooltip/STooltip.d.ts +2 -2
  278. package/dist/components/STree/README.md +7 -6
  279. package/dist/components/STree/STree.d.ts +18 -8
  280. package/dist/components/STree/STree.examples.d.ts +2 -0
  281. package/dist/components/STreeTable/README.md +49 -0
  282. package/dist/components/STreeTable/STreeTable.d.ts +70 -0
  283. package/dist/components/STreeTable/STreeTable.examples.d.ts +39 -0
  284. package/dist/components/STreeTable/index.d.ts +1 -0
  285. package/dist/docs/Gallery.d.ts +9 -0
  286. package/dist/docs/RecipeGallery.d.ts +13 -0
  287. package/dist/docs/gallery-previews.d.ts +24 -0
  288. package/dist/fonts/LICENSE.txt +94 -0
  289. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.0.woff2 +0 -0
  290. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.1.woff2 +0 -0
  291. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.10.woff2 +0 -0
  292. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.11.woff2 +0 -0
  293. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.12.woff2 +0 -0
  294. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.13.woff2 +0 -0
  295. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.14.woff2 +0 -0
  296. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.15.woff2 +0 -0
  297. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.16.woff2 +0 -0
  298. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.17.woff2 +0 -0
  299. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.18.woff2 +0 -0
  300. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.19.woff2 +0 -0
  301. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.2.woff2 +0 -0
  302. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.20.woff2 +0 -0
  303. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.21.woff2 +0 -0
  304. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.22.woff2 +0 -0
  305. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.23.woff2 +0 -0
  306. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.24.woff2 +0 -0
  307. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.25.woff2 +0 -0
  308. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.26.woff2 +0 -0
  309. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.27.woff2 +0 -0
  310. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.28.woff2 +0 -0
  311. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.29.woff2 +0 -0
  312. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.3.woff2 +0 -0
  313. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.30.woff2 +0 -0
  314. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.31.woff2 +0 -0
  315. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.32.woff2 +0 -0
  316. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.33.woff2 +0 -0
  317. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.34.woff2 +0 -0
  318. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.35.woff2 +0 -0
  319. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.36.woff2 +0 -0
  320. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.37.woff2 +0 -0
  321. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.38.woff2 +0 -0
  322. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.39.woff2 +0 -0
  323. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.4.woff2 +0 -0
  324. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.40.woff2 +0 -0
  325. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.41.woff2 +0 -0
  326. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.42.woff2 +0 -0
  327. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.43.woff2 +0 -0
  328. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.44.woff2 +0 -0
  329. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.45.woff2 +0 -0
  330. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.46.woff2 +0 -0
  331. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.47.woff2 +0 -0
  332. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.48.woff2 +0 -0
  333. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.49.woff2 +0 -0
  334. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.5.woff2 +0 -0
  335. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.50.woff2 +0 -0
  336. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.51.woff2 +0 -0
  337. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.52.woff2 +0 -0
  338. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.53.woff2 +0 -0
  339. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.54.woff2 +0 -0
  340. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.55.woff2 +0 -0
  341. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.56.woff2 +0 -0
  342. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.57.woff2 +0 -0
  343. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.58.woff2 +0 -0
  344. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.59.woff2 +0 -0
  345. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.6.woff2 +0 -0
  346. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.60.woff2 +0 -0
  347. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.61.woff2 +0 -0
  348. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.62.woff2 +0 -0
  349. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.63.woff2 +0 -0
  350. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.64.woff2 +0 -0
  351. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.65.woff2 +0 -0
  352. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.66.woff2 +0 -0
  353. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.67.woff2 +0 -0
  354. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.68.woff2 +0 -0
  355. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.69.woff2 +0 -0
  356. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.7.woff2 +0 -0
  357. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.70.woff2 +0 -0
  358. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.71.woff2 +0 -0
  359. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.72.woff2 +0 -0
  360. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.73.woff2 +0 -0
  361. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.74.woff2 +0 -0
  362. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.75.woff2 +0 -0
  363. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.76.woff2 +0 -0
  364. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.77.woff2 +0 -0
  365. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.78.woff2 +0 -0
  366. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.79.woff2 +0 -0
  367. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.8.woff2 +0 -0
  368. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.80.woff2 +0 -0
  369. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.81.woff2 +0 -0
  370. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.82.woff2 +0 -0
  371. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.83.woff2 +0 -0
  372. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.84.woff2 +0 -0
  373. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.85.woff2 +0 -0
  374. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.86.woff2 +0 -0
  375. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.87.woff2 +0 -0
  376. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.88.woff2 +0 -0
  377. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.89.woff2 +0 -0
  378. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.9.woff2 +0 -0
  379. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.90.woff2 +0 -0
  380. package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.91.woff2 +0 -0
  381. package/dist/index.cjs +26161 -11501
  382. package/dist/index.cjs.map +1 -1
  383. package/dist/index.d.ts +28 -0
  384. package/dist/index.js +26064 -11500
  385. package/dist/index.js.map +1 -1
  386. package/dist/lib/autofill.d.ts +3 -5
  387. package/dist/lib/chart/cartesian.d.ts +54 -0
  388. package/dist/lib/chart/category-labels.d.ts +37 -0
  389. package/dist/lib/chart/frame.d.ts +21 -0
  390. package/dist/lib/chart/hover-dim.d.ts +19 -0
  391. package/dist/lib/chart/legend.d.ts +21 -0
  392. package/dist/lib/chart/palette.d.ts +28 -0
  393. package/dist/lib/chart/radial.d.ts +99 -0
  394. package/dist/lib/chart/scale.d.ts +26 -0
  395. package/dist/lib/chart/tooltip.d.ts +60 -0
  396. package/dist/lib/chart/types.d.ts +29 -0
  397. package/dist/lib/chart/use-element-size.d.ts +42 -0
  398. package/dist/lib/color.d.ts +1 -1
  399. package/dist/lib/date.d.ts +16 -2
  400. package/dist/lib/depth-filter.d.ts +27 -0
  401. package/dist/lib/doc-sections.d.ts +35 -0
  402. package/dist/lib/dropdown-menu.d.ts +19 -0
  403. package/dist/lib/field-width.d.ts +31 -0
  404. package/dist/lib/floating-anim.d.ts +2 -2
  405. package/dist/lib/floating-height.d.ts +15 -0
  406. package/dist/lib/floating-width.d.ts +1 -2
  407. package/dist/lib/form.d.ts +6 -3
  408. package/dist/lib/global-overlay.d.ts +5 -0
  409. package/dist/lib/grid-key-nav.d.ts +10 -0
  410. package/dist/lib/hover-preview.d.ts +32 -0
  411. package/dist/lib/inert.d.ts +11 -0
  412. package/dist/lib/list-box-item.d.ts +16 -0
  413. package/dist/lib/locale-context.d.ts +26 -0
  414. package/dist/lib/locale.d.ts +320 -0
  415. package/dist/lib/mode-listbox.d.ts +10 -0
  416. package/dist/lib/overlay-scrollbar.d.ts +32 -0
  417. package/dist/lib/row-metrics.d.ts +61 -0
  418. package/dist/lib/row-motion.d.ts +56 -0
  419. package/dist/lib/scrollbar.d.ts +1 -2
  420. package/dist/lib/story-docs.d.ts +35 -0
  421. package/dist/lib/tree-row.d.ts +103 -0
  422. package/dist/llms-full.txt +7542 -810
  423. package/dist/llms.txt +4280 -333
  424. package/dist/playground/categories.d.ts +19 -0
  425. package/dist/pretendard.css +937 -0
  426. package/dist/recipes/AppShell.d.ts +21 -0
  427. package/dist/recipes/CategoryManagePage.d.ts +1 -0
  428. package/dist/recipes/ConsultConsolePage.d.ts +1 -0
  429. package/dist/recipes/ExcelFilePopupPage.d.ts +5 -0
  430. package/dist/recipes/LoginPage.d.ts +6 -0
  431. package/dist/recipes/ProductBulkUploadPage.d.ts +1 -0
  432. package/dist/recipes/ProductCreatePage.d.ts +1 -0
  433. package/dist/recipes/ProductCreateSectionsPage.d.ts +5 -0
  434. package/dist/recipes/ProductDetailInlineEditPage.d.ts +9 -0
  435. package/dist/recipes/ProductDetailPage.d.ts +1 -0
  436. package/dist/recipes/ProductListChipFilterPage.d.ts +1 -0
  437. package/dist/recipes/ProductListPage.d.ts +1 -0
  438. package/dist/recipes/ProductOverlayPage.d.ts +1 -0
  439. package/dist/recipes/SalesDashboardPage.d.ts +1 -0
  440. package/dist/recipes/SettingsPage.d.ts +1 -0
  441. package/dist/recipes/StoreSetupPage.d.ts +1 -0
  442. package/dist/recipes/TransferOrderPopupPage.d.ts +2 -0
  443. package/dist/recipes/api.d.ts +220 -0
  444. package/dist/recipes/recipe-story.d.ts +33 -0
  445. package/dist/recipes/router.d.ts +9 -0
  446. package/dist/styles.css +4185 -352
  447. package/dist/theme.css +796 -58
  448. package/eslint/index.mjs +44 -35
  449. package/eslint/lib/class-names.mjs +23 -25
  450. package/eslint/lib/table-column.mjs +34 -8
  451. package/eslint/rules/component-group-gap.mjs +32 -30
  452. package/eslint/rules/divider-vertical-height.mjs +137 -0
  453. package/eslint/rules/field-width-grade.mjs +69 -52
  454. package/eslint/rules/no-arbitrary-class.mjs +63 -20
  455. package/eslint/rules/no-off-scale-spacing.mjs +61 -41
  456. package/eslint/rules/no-raw-html-control.mjs +38 -36
  457. package/eslint/rules/prefer-typo-preset.mjs +23 -17
  458. package/eslint/rules/require-locale-number.mjs +14 -19
  459. package/eslint/rules/table-column-width.mjs +114 -0
  460. package/eslint/rules/table-numeric-align.mjs +14 -14
  461. package/eslint/scale.gen.mjs +6 -3
  462. package/package.json +31 -6
@@ -0,0 +1,67 @@
1
+ # SSkeleton
2
+
3
+ > 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
4
+
5
+ ### SSkeleton
6
+
7
+ #### Props
8
+
9
+ | Prop | Type | Default | Description |
10
+ |------|------|---------|-------------|
11
+ | `type?` | `SSkeletonType` | `'rect'` | 자리표시 모양 - `rect`: 사각형. 폭은 부모를, 높이는 한 줄 높이를 따른다 — 이미지·카드 영역은 `height` 를 준다 - `circle`: 원형(아바타 등) - `text`: 텍스트 한 줄. 부모 타이포의 line-height 를 따르고 세로로 절반만 칠한다 - `button`·`input`·`tag`·`checkbox`·`radio`·`switch`: 해당 컴포넌트 기본 size 의 크기·모서리 |
12
+ | `mode?` | `SSkeletonMode` | `'light'` | 놓이는 바탕의 밝기 - `light`: 흰 면·회색 면 위. 바탕보다 짙은 반투명 회색 - `dark`: 어두운 면 위. 바탕보다 밝은 반투명 회색 |
13
+ | `animation?` | `SSkeletonAnimation` | `'wave'` | 로딩 애니메이션 - `wave`: 하이라이트 띠가 왼쪽에서 오른쪽으로 지나간다 - `pulse`: 크기가 숨쉬듯 줄었다 커진다. 블록 전체가 움직이므로 아바타처럼 작은 모양에만 쓴다 - `fade`: 투명도가 숨쉬듯 바뀐다 - `none`: 애니메이션 없음 OS 의 동작 줄이기 설정이 켜져 있으면 어떤 값이든 멈춘다. |
14
+ | `animationSpeed?` | `number` | `1500` | 애니메이션 한 주기 (ms) |
15
+ | `square?` | `boolean` | `false` | 모서리를 각지게 |
16
+ | `size?` | `string \| number` | — | 가로·세로를 한 번에 지정. `width`·`height` 가 있으면 그쪽이 우선한다. 숫자는 px |
17
+ | `width?` | `string \| number` | — | 폭. 숫자는 px |
18
+ | `height?` | `string \| number` | — | 높이. 숫자는 px |
19
+
20
+ ## Types
21
+
22
+ ### SSkeletonType
23
+
24
+ ```ts
25
+ export type SSkeletonType = (typeof SKELETON_TYPES)[number];
26
+ ```
27
+
28
+ ### SSkeletonMode
29
+
30
+ ```ts
31
+ export type SSkeletonMode = (typeof SKELETON_MODES)[number];
32
+ ```
33
+
34
+ ### SSkeletonAnimation
35
+
36
+ ```ts
37
+ export type SSkeletonAnimation = (typeof SKELETON_ANIMATIONS)[number];
38
+ ```
39
+
40
+ ### SKELETON_TYPES
41
+
42
+ ```ts
43
+ export const SKELETON_TYPES = [
44
+ 'rect',
45
+ 'circle',
46
+ 'text',
47
+ 'button',
48
+ 'input',
49
+ 'tag',
50
+ 'checkbox',
51
+ 'radio',
52
+ 'switch',
53
+ ] as const;
54
+ ```
55
+
56
+ ### SKELETON_MODES
57
+
58
+ ```ts
59
+ export const SKELETON_MODES = ['light', 'dark'] as const;
60
+ ```
61
+
62
+ ### SKELETON_ANIMATIONS
63
+
64
+ ```ts
65
+ export const SKELETON_ANIMATIONS = ['wave', 'pulse', 'fade', 'none'] as const;
66
+ ```
67
+
@@ -0,0 +1,43 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type SSkeletonAnimation, type SSkeletonMode, type SSkeletonType } from './skeleton.config';
3
+ export interface SSkeletonProps extends HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * 자리표시 모양
6
+ * - `rect`: 사각형. 폭은 부모를, 높이는 한 줄 높이를 따른다 — 이미지·카드 영역은 `height` 를 준다
7
+ * - `circle`: 원형(아바타 등)
8
+ * - `text`: 텍스트 한 줄. 부모 타이포의 line-height 를 따르고 세로로 절반만 칠한다
9
+ * - `button`·`input`·`tag`·`checkbox`·`radio`·`switch`: 해당 컴포넌트 기본 size 의 크기·모서리
10
+ */
11
+ type?: SSkeletonType;
12
+ /**
13
+ * 놓이는 바탕의 밝기
14
+ * - `light`: 흰 면·회색 면 위. 바탕보다 짙은 반투명 회색
15
+ * - `dark`: 어두운 면 위. 바탕보다 밝은 반투명 회색
16
+ */
17
+ mode?: SSkeletonMode;
18
+ /**
19
+ * 로딩 애니메이션
20
+ * - `wave`: 하이라이트 띠가 왼쪽에서 오른쪽으로 지나간다
21
+ * - `pulse`: 크기가 숨쉬듯 줄었다 커진다. 블록 전체가 움직이므로 아바타처럼 작은 모양에만 쓴다
22
+ * - `fade`: 투명도가 숨쉬듯 바뀐다
23
+ * - `none`: 애니메이션 없음
24
+ *
25
+ * OS 의 동작 줄이기 설정이 켜져 있으면 어떤 값이든 멈춘다.
26
+ */
27
+ animation?: SSkeletonAnimation;
28
+ /** 애니메이션 한 주기 (ms) */
29
+ animationSpeed?: number;
30
+ /** 모서리를 각지게 */
31
+ square?: boolean;
32
+ /** 가로·세로를 한 번에 지정. `width`·`height` 가 있으면 그쪽이 우선한다. 숫자는 px */
33
+ size?: string | number;
34
+ /** 폭. 숫자는 px */
35
+ width?: string | number;
36
+ /** 높이. 숫자는 px */
37
+ height?: string | number;
38
+ }
39
+ /**
40
+ * SSkeleton — 데이터가 오기 전 콘텐츠 자리를 같은 모양으로 채워 두는 자리표시. Quasar QSkeleton 모티브.
41
+ * 장식이라 보조기기에는 숨긴다(`aria-hidden`). 로딩 중이라는 사실은 감싸는 영역에 `aria-busy` 로 알린다.
42
+ */
43
+ export declare const SSkeleton: import("react").ForwardRefExoticComponent<SSkeletonProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { SSkeleton, type SSkeletonProps } from './SSkeleton';
2
+ export { SKELETON_TYPES, SKELETON_ANIMATIONS, SKELETON_MODES, SKELETON_TYPE_CONFIG, type SSkeletonType, type SSkeletonAnimation, type SSkeletonMode, } from './skeleton.config';
@@ -0,0 +1,24 @@
1
+ export declare const SKELETON_TYPES: readonly ["rect", "circle", "text", "button", "input", "tag", "checkbox", "radio", "switch"];
2
+ export type SSkeletonType = (typeof SKELETON_TYPES)[number];
3
+ export declare const SKELETON_ANIMATIONS: readonly ["wave", "pulse", "fade", "none"];
4
+ export type SSkeletonAnimation = (typeof SKELETON_ANIMATIONS)[number];
5
+ export declare const SKELETON_MODES: readonly ["light", "dark"];
6
+ export type SSkeletonMode = (typeof SKELETON_MODES)[number];
7
+ /**
8
+ * type 별 기본 크기·모서리. 값이 없는 축은 내용(공백 한 글자)과 부모 폭을 따른다.
9
+ * DS 모양(button·input…)은 해당 컴포넌트의 **기본 size** 토큰을 그대로 가리켜
10
+ * 토큰이 바뀌어도 실제 컴포넌트와 어긋나지 않는다. 폭은 토큰이 없어 Quasar 기본값을 따른다.
11
+ */
12
+ export declare const SKELETON_TYPE_CONFIG: Record<SSkeletonType, {
13
+ width?: string;
14
+ height?: string;
15
+ radius: string;
16
+ }>;
17
+ /**
18
+ * mode 별 색. 배경색을 반투명(`cmp-skeleton-opacity`)으로 깔아 흰 면·회색 면 어디서든 바탕보다 한 단계 짙게(dark 는 밝게) 보인다.
19
+ * 밝은 면(light)에는 어두운 색(`bg-dark`)을, 어두운 면(dark)에는 밝은 색(`bg-light`)을 쓴다 — Quasar 의 검정·흰색 반투명과 같은 축.
20
+ */
21
+ export declare const SKELETON_COLORS: Record<SSkeletonMode, {
22
+ bg: string;
23
+ wave: string;
24
+ }>;
@@ -0,0 +1,86 @@
1
+ # SSlider
2
+
3
+ > 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
4
+
5
+ ### SSlider
6
+
7
+ #### Props
8
+
9
+ | Prop | Type | Default | Description |
10
+ |------|------|---------|-------------|
11
+ | `value?` | `V` | — | 값 (제어). **`number` 면 단일, `[시작, 끝]` 이면 범위 슬라이더**가 된다 — 손잡이 개수와 `onValueChange` 가 돌려주는 모양이 이 값을 따른다. 범위는 두 손잡이가 서로를 넘어가지 않는다. |
12
+ | `min?` | `number` | `0` | 최솟값 |
13
+ | `max?` | `number` | `100` | 최댓값 |
14
+ | `step?` | `number` | `1` | 한 칸 크기. 값은 `min` 에서 이 간격으로만 움직인다 |
15
+ | `marks?` | `boolean \| SSliderMark[]` | — | 눈금. `true` 면 `step` 마다 점을 찍고, 배열이면 그 위치에만 찍는다(라벨을 함께 줄 수 있다). 고를 수 있는 값이 몇 개 안 될 때 어디서 멈추는지 보여 주는 용도다 — `step` 이 촘촘하면 `true` 대신 배열로 대표 위치만 준다. |
16
+ | `showValue?` | `SSliderShowValue` | `'drag'` | 값 말풍선 표시 시점. - `drag` — 드래그·키보드 조작 중, 손잡이에 마우스를 올렸을 때만 보인다 - `always` — 늘 보인다. 값을 숫자로 따로 보여 주지 않는 자리에서 쓴다 - `none` — 보이지 않는다. 옆에 값을 따로 적어 둘 때 쓴다 `none` 이 아니면 말풍선 자리만큼 위쪽 공간을 미리 잡아 두어, 나타날 때 레이아웃이 밀리지 않는다. |
17
+ | `formatValue?` | `(value: number) => string` | `String` | 말풍선·스크린리더에 읽히는 값 표기 (예: `v => \`${v}%\``) |
18
+ | `size?` | `SFieldSize` | `'sm'` | 크기 — 다른 필드와 나란히 놓일 때 라벨과 높이를 맞추는 등급이다. 슬라이더 모양 자체는 같다. |
19
+ | `rules?` | `Rule[]` | — | 유효성 규칙 — 조작이 끝날 때(`onValueCommit` 시점)와 SForm 제출 시 검증 |
20
+ | `name?` | `string` | — | 폼 연동용 name |
21
+ | `status?` | `SFieldStatus` | — | 필드 상태 ('default' | 'pass' | 'error') |
22
+ | `label?` | `string` | — | 레이블 텍스트. 손잡이의 접근성 이름으로도 쓰인다 |
23
+ | `labelPosition?` | `SFieldLabelPosition` | — | 레이블 위치 — `top` 이면 라벨이 컨트롤 위에 선다 (SField 로 그대로 넘어간다). |
24
+ | `subLabel?` | `string` | — | 보조 레이블 — 레이블 오른쪽 같은 줄에 붙는다 (SField 로 그대로 넘어간다). |
25
+ | `labelWidth?` | `number \| string` | — | 레이블 너비 (숫자=px) |
26
+ | `icon?` | `SIconName` | — | 레이블 영역 아이콘 |
27
+ | `iconColor?` | `SColor` | — | 레이블 영역 아이콘 색상 |
28
+ | `labelTooltip?` | `string` | — | 레이블 툴팁 텍스트 |
29
+ | `labelTooltipProps?` | `Partial<STooltipProps>` | — | 레이블 툴팁 상세 옵션 |
30
+ | `hint?` | `string` | — | 하단 힌트 |
31
+ | `error?` | `boolean` | — | 에러 상태 |
32
+ | `errorMessage?` | `string` | — | 에러 메시지 |
33
+ | `width?` | `SFieldWidth` | — | 컨트롤 너비 — 폭 등급 · 숫자=px · CSS 길이. 기본은 부모 폭을 채운다. |
34
+ | `disabled?` | `boolean` | `false` | 비활성 — 조작·포커스가 모두 막힌다 |
35
+ | `readOnly?` | `boolean` | `false` | 읽기 전용 — 값은 그대로 보이고 키보드 포커스는 받지만 값이 바뀌지 않는다 |
36
+ | `className?` | `string` | — | |
37
+ | `style?` | `CSSProperties` | — | |
38
+
39
+ #### Events
40
+
41
+ | Event | Type | Description |
42
+ |-------|------|-------------|
43
+ | `onValueChange` | `(value: V) => void` | 값 변경 — 드래그 중 매 step 마다 호출된다 |
44
+ | `onValueCommit` | `(value: V) => void` | 조작이 끝났을 때 한 번 호출된다 (포인터를 놓을 때, 키보드로 한 칸 움직일 때). 값을 서버에 보내거나 목록을 다시 불러오는 등 **매 step 마다 하면 안 되는 일**은 여기서 한다. |
45
+
46
+ ## Types
47
+
48
+ ### SSliderValue
49
+
50
+ ```ts
51
+ /** 단일 값은 `number`, 범위는 `[시작, 끝]` */
52
+ export type SSliderValue = number | [number, number];
53
+ ```
54
+
55
+ ### SSliderMark
56
+
57
+ ```ts
58
+ /** 눈금 하나 */
59
+ export interface SSliderMark {
60
+ /** 눈금 위치 값 (`min`~`max`) */
61
+ value: number;
62
+ /** 눈금 아래 라벨. 없으면 점만 찍힌다 */
63
+ label?: string;
64
+ }
65
+ ```
66
+
67
+ ### SSliderShowValue
68
+
69
+ ```ts
70
+ /** 값 말풍선을 언제 보일지 */
71
+ export type SSliderShowValue = 'none' | 'drag' | 'always';
72
+ ```
73
+
74
+ ## Dependencies
75
+
76
+ ### Depends on
77
+
78
+ - [SField](../SField)
79
+
80
+ ### Graph
81
+
82
+ ```mermaid
83
+ graph TD;
84
+ SSlider --> SField
85
+ style SSlider fill:#f9f,stroke:#333,stroke-width:4px
86
+ ```
@@ -0,0 +1,149 @@
1
+ import { type CSSProperties, type ReactElement, type RefAttributes } from 'react';
2
+ import { type SFieldSize, type SFieldStatus, type SFieldLabelPosition } from '../SField';
3
+ import { type SIconName } from '../SIcon';
4
+ import { type STooltipProps } from '../STooltip';
5
+ import { type SColor } from '../../lib/color';
6
+ import { type Rule } from '../../lib/form';
7
+ import { type SFieldWidth } from '../../lib/field-width';
8
+ /** 단일 값은 `number`, 범위는 `[시작, 끝]` */
9
+ export type SSliderValue = number | [number, number];
10
+ /** 값 말풍선을 언제 보일지 */
11
+ export type SSliderShowValue = 'none' | 'drag' | 'always';
12
+ /** 눈금 하나 */
13
+ export interface SSliderMark {
14
+ /** 눈금 위치 값 (`min`~`max`) */
15
+ value: number;
16
+ /** 눈금 아래 라벨. 없으면 점만 찍힌다 */
17
+ label?: string;
18
+ }
19
+ export interface SSliderProps<V extends SSliderValue = number> {
20
+ /**
21
+ * 값 (제어). **`number` 면 단일, `[시작, 끝]` 이면 범위 슬라이더**가 된다 —
22
+ * 손잡이 개수와 `onValueChange` 가 돌려주는 모양이 이 값을 따른다.
23
+ * 범위는 두 손잡이가 서로를 넘어가지 않는다.
24
+ */
25
+ value?: V;
26
+ /** 값 변경 — 드래그 중 매 step 마다 호출된다 */
27
+ onValueChange?: (value: V) => void;
28
+ /**
29
+ * 조작이 끝났을 때 한 번 호출된다 (포인터를 놓을 때, 키보드로 한 칸 움직일 때).
30
+ * 값을 서버에 보내거나 목록을 다시 불러오는 등 **매 step 마다 하면 안 되는 일**은 여기서 한다.
31
+ */
32
+ onValueCommit?: (value: V) => void;
33
+ /** 최솟값 */
34
+ min?: number;
35
+ /** 최댓값 */
36
+ max?: number;
37
+ /** 한 칸 크기. 값은 `min` 에서 이 간격으로만 움직인다 */
38
+ step?: number;
39
+ /**
40
+ * 눈금. `true` 면 `step` 마다 점을 찍고, 배열이면 그 위치에만 찍는다(라벨을 함께 줄 수 있다).
41
+ * 고를 수 있는 값이 몇 개 안 될 때 어디서 멈추는지 보여 주는 용도다 —
42
+ * `step` 이 촘촘하면 `true` 대신 배열로 대표 위치만 준다.
43
+ */
44
+ marks?: boolean | SSliderMark[];
45
+ /**
46
+ * 값 말풍선 표시 시점.
47
+ * - `drag` — 드래그·키보드 조작 중, 손잡이에 마우스를 올렸을 때만 보인다
48
+ * - `always` — 늘 보인다. 값을 숫자로 따로 보여 주지 않는 자리에서 쓴다
49
+ * - `none` — 보이지 않는다. 옆에 값을 따로 적어 둘 때 쓴다
50
+ *
51
+ * `none` 이 아니면 말풍선 자리만큼 위쪽 공간을 미리 잡아 두어, 나타날 때 레이아웃이 밀리지 않는다.
52
+ */
53
+ showValue?: SSliderShowValue;
54
+ /** 말풍선·스크린리더에 읽히는 값 표기 (예: `v => \`${v}%\``) */
55
+ formatValue?: (value: number) => string;
56
+ /**
57
+ * 크기 — 다른 필드와 나란히 놓일 때 라벨과 높이를 맞추는 등급이다. 슬라이더 모양 자체는 같다.
58
+ *
59
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
60
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
61
+ */
62
+ size?: SFieldSize;
63
+ /** 유효성 규칙 — 조작이 끝날 때(`onValueCommit` 시점)와 SForm 제출 시 검증 */
64
+ rules?: Rule[];
65
+ /** 폼 연동용 name */
66
+ name?: string;
67
+ /**
68
+ * 필드 상태 ('default' | 'pass' | 'error')
69
+ *
70
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
71
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
72
+ */
73
+ status?: SFieldStatus;
74
+ /** 레이블 텍스트. 손잡이의 접근성 이름으로도 쓰인다 */
75
+ label?: string;
76
+ /**
77
+ * 레이블 위치 — `top` 이면 라벨이 컨트롤 위에 선다 (SField 로 그대로 넘어간다).
78
+ *
79
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
80
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
81
+ */
82
+ labelPosition?: SFieldLabelPosition;
83
+ /**
84
+ * 보조 레이블 — 레이블 오른쪽 같은 줄에 붙는다 (SField 로 그대로 넘어간다).
85
+ *
86
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
87
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
88
+ */
89
+ subLabel?: string;
90
+ /**
91
+ * 레이블 너비 (숫자=px)
92
+ *
93
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
94
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
95
+ */
96
+ labelWidth?: number | string;
97
+ /**
98
+ * 레이블 영역 아이콘
99
+ *
100
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
101
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
102
+ */
103
+ icon?: SIconName;
104
+ /**
105
+ * 레이블 영역 아이콘 색상
106
+ *
107
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
108
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
109
+ */
110
+ iconColor?: SColor;
111
+ /**
112
+ * 레이블 툴팁 텍스트
113
+ *
114
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
115
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
116
+ */
117
+ labelTooltip?: string;
118
+ /**
119
+ * 레이블 툴팁 상세 옵션
120
+ *
121
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
122
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
123
+ */
124
+ labelTooltipProps?: Partial<STooltipProps>;
125
+ /** 하단 힌트 */
126
+ hint?: string;
127
+ /** 에러 상태 */
128
+ error?: boolean;
129
+ /** 에러 메시지 */
130
+ errorMessage?: string;
131
+ /**
132
+ * 컨트롤 너비 — 폭 등급 · 숫자=px · CSS 길이. 기본은 부모 폭을 채운다.
133
+ *
134
+ * @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
135
+ * 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
136
+ */
137
+ width?: SFieldWidth;
138
+ /** 비활성 — 조작·포커스가 모두 막힌다 */
139
+ disabled?: boolean;
140
+ /** 읽기 전용 — 값은 그대로 보이고 키보드 포커스는 받지만 값이 바뀌지 않는다 */
141
+ readOnly?: boolean;
142
+ className?: string;
143
+ style?: CSSProperties;
144
+ }
145
+ /**
146
+ * SSlider — 끌어서 수치 하나 또는 범위를 고르는 필드 (Radix Slider 기반).
147
+ * SField 를 테두리 없이 두르고, 라벨·힌트·에러·SForm 검증은 다른 필드와 같게 동작한다.
148
+ */
149
+ export declare const SSlider: <V extends SSliderValue = number>(props: SSliderProps<V> & RefAttributes<HTMLDivElement>) => ReactElement;
@@ -0,0 +1 @@
1
+ export { SSlider, type SSliderProps, type SSliderValue, type SSliderShowValue, type SSliderMark, } from './SSlider';
@@ -12,7 +12,7 @@
12
12
  | `defaultValue?` | `number` | — | 첫 패널 초기 크기. uncontrolled. 기본은 '%' 면 50, 'px' 면 240 |
13
13
  | `unit?` | `SSplitterUnit` | `'%'` | 모델·limits 를 읽는 단위 |
14
14
  | `limits?` | `readonly [number, number]` | — | [최소, 최대]. 생략하면 '%' 는 [10, 90], 'px' 는 [50, Infinity] |
15
- | `emitImmediately?` | `boolean` | `false` | 드래그하는 동안에도 onValueChange 를 계속 보낸다 |
15
+ | `updateWhileDragging?` | `boolean` | `false` | 드래그하는 동안에도 `onValueChange` 를 계속 보낸다. 기본은 놓는 순간 한 번만 — 미리보기는 컴포넌트가 내부에서 그리므로, 값을 저장하는 쪽이 프레임마다 불릴 이유가 없다. 패널 크기에 맞춰 밖의 무언가를 실시간으로 다시 그려야 할 때만 켠다. |
16
16
  | `vertical?` | `boolean` | `false` | true면 패널을 위아래로 쌓는다 (Quasar q-splitter 의 horizontal 에 해당) |
17
17
  | `disabled?` | `boolean` | `false` | true면 크기를 바꿀 수 없다. 커서도 구분선도 나오지 않는다 |
18
18
  | `dividerClassName?` | `string` | — | 구분선에 얹을 클래스 |
@@ -23,7 +23,7 @@
23
23
 
24
24
  | Event | Type | Description |
25
25
  |-------|------|-------------|
26
- | `onValueChange` | `(value: number) => void` | 크기가 확정될 때. emitImmediately 가 아니면 드래그를 놓는 순간 한 번만 온다 |
26
+ | `onValueChange` | `(value: number) => void` | 크기가 확정될 때. `updateWhileDragging` 이 아니면 드래그를 놓는 순간 한 번만 온다 |
27
27
 
28
28
  ## Types
29
29
 
@@ -7,14 +7,18 @@ export interface SSplitterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'de
7
7
  value?: number;
8
8
  /** 첫 패널 초기 크기. uncontrolled. 기본은 '%' 면 50, 'px' 면 240 */
9
9
  defaultValue?: number;
10
- /** 크기가 확정될 때. emitImmediately 가 아니면 드래그를 놓는 순간 한 번만 온다 */
10
+ /** 크기가 확정될 때. `updateWhileDragging` 이 아니면 드래그를 놓는 순간 한 번만 온다 */
11
11
  onValueChange?: (value: number) => void;
12
12
  /** 모델·limits 를 읽는 단위 */
13
13
  unit?: SSplitterUnit;
14
14
  /** [최소, 최대]. 생략하면 '%' 는 [10, 90], 'px' 는 [50, Infinity] */
15
15
  limits?: readonly [number, number];
16
- /** 드래그하는 동안에도 onValueChange 를 계속 보낸다 */
17
- emitImmediately?: boolean;
16
+ /**
17
+ * 드래그하는 동안에도 `onValueChange` 를 계속 보낸다. 기본은 놓는 순간 한 번만 —
18
+ * 미리보기는 컴포넌트가 내부에서 그리므로, 값을 저장하는 쪽이 프레임마다 불릴 이유가 없다.
19
+ * 패널 크기에 맞춰 밖의 무언가를 실시간으로 다시 그려야 할 때만 켠다.
20
+ */
21
+ updateWhileDragging?: boolean;
18
22
  /** true면 패널을 위아래로 쌓는다 (Quasar q-splitter 의 horizontal 에 해당) */
19
23
  vertical?: boolean;
20
24
  /** true면 크기를 바꿀 수 없다. 커서도 구분선도 나오지 않는다 */
@@ -13,7 +13,7 @@
13
13
  | `size?` | `SStepperSize` | `'sm'` | 크기 |
14
14
  | `vertical?` | `boolean` | `false` | 세로형 여부 |
15
15
  | `clickable?` | `boolean` | — | 단계 클릭 가능 여부. 미지정 시 가로형=false, 세로형=true |
16
- | `ariaLabel?` | `string` | `'진행 단계'` | 접근성 레이블 |
16
+ | `ariaLabel?` | `string` | — | 접근성 레이블. 생략하면 `SLocaleProvider` 로케일의 기본 문구(ko: "진행 단계")를 쓴다 |
17
17
  | `className?` | `string` | — | |
18
18
  | `style?` | `CSSProperties` | — | |
19
19
 
@@ -13,7 +13,7 @@ export interface SStepperProps {
13
13
  clickable?: boolean;
14
14
  /** 단계 선택 시 호출 */
15
15
  onValueChange?: (value: string, item: SStepperItem, index: number) => void;
16
- /** 접근성 레이블 */
16
+ /** 접근성 레이블. 생략하면 `SLocaleProvider` 로케일의 기본 문구(ko: "진행 단계")를 쓴다 */
17
17
  ariaLabel?: string;
18
18
  className?: string;
19
19
  style?: CSSProperties;
@@ -22,7 +22,7 @@ export interface SStepperProps {
22
22
  * ref 로 노출되는 커스텀 툴팁 제어 API. 세로형 전용 — items 중 error 가 true 인 첫 번째
23
23
  * 아이템의 텍스트+뱃지 영역에 표시된다.
24
24
  *
25
- * 지금은 대상(첫 번째 error 아이템 하나)·문구·스타일이 hover 툴팁(ERROR_TOOLTIP_MESSAGE, danger)과
25
+ * 지금은 대상(첫 번째 error 아이템 하나)·문구·스타일이 hover 툴팁(로케일의 stepper.errorTooltip, danger)과
26
26
  * 동일하게 고정되어 있다 — 열고 닫는 타이밍만 소비자가 제어한다. 대상 아이템을 지정하거나
27
27
  * content·type 을 커스터마이즈하는 기능은 필요해지면 추가한다(지금은 만들지 않음).
28
28
  */
@@ -32,5 +32,5 @@ export interface SStepperHandle {
32
32
  /** 열려있는 커스텀 툴팁을 닫는다. 활성 단계(value prop)가 바뀌면 별도 호출 없이도 자동으로 닫힌다. */
33
33
  hideItemTooltip: () => void;
34
34
  }
35
- /** SStepper — sd-stepper 포팅. 단계 진행 상태 표시 전용. */
35
+ /** SStepper — 단계 진행 상태 표시 전용. */
36
36
  export declare const SStepper: import("react").ForwardRefExoticComponent<SStepperProps & import("react").RefAttributes<SStepperHandle>>;
@@ -9,10 +9,14 @@ export type SStepperItem = {
9
9
  };
10
10
  export declare const STEPPER_SIZE_CONFIG: Record<SStepperSize, {
11
11
  sequenceSize: string;
12
+ /** 루트에 거는 글자 크기 — 시퀀스 배지와 typoActive 가 없는 진행 중 타이틀이 상속한다 */
12
13
  fontSize: string;
13
14
  lineHeight: string;
15
+ /** 기본·완료 타이틀 타이포 (stepper.<size>.typography.default) */
16
+ typoDefault: string;
17
+ /** 진행 중 타이틀 타이포 (stepper.<size>.typography.active). null 이면 fontWeightActive 로 그린다 */
18
+ typoActive: string | null;
14
19
  fontWeightActive: number;
15
- fontWeightDefault: number;
16
20
  }>;
17
21
  export declare const STEPPER_LAYOUT: {
18
22
  containerGap: string;
@@ -52,14 +56,15 @@ export declare const STEPPER_HORIZONTAL_COMPLETED_COLORS: {
52
56
  text: string;
53
57
  };
54
58
  export declare const STEPPER_VERTICAL_LAYOUT: {
59
+ /** 세로형 폭. 대응 토큰이 없어 디자인 값을 그대로 쓴다(stepper.vertical 에 width 가 없음). */
55
60
  width: string;
56
61
  itemGap: string;
57
62
  itemPaddingX: string;
58
63
  itemPaddingY: string;
59
64
  titlePaddingTop: string;
60
65
  titlePaddingBottom: string;
61
- titleFontSize: string;
62
- titleLineHeight: string;
66
+ /** 구간 제목 타이포 — stepper.vertical.title.typography (= heading.xxs) */
67
+ titleTypo: string;
63
68
  accentStripeWidth: string;
64
69
  accentStripeColor: string;
65
70
  };
@@ -69,6 +74,7 @@ export declare const STEPPER_VERTICAL_COLORS: {
69
74
  hover: string;
70
75
  selected: string;
71
76
  };
77
+ titleBg: string;
72
78
  titleText: string;
73
79
  textDefault: string;
74
80
  textCompleted: string;
@@ -11,7 +11,6 @@
11
11
  | `value?` | `boolean` | `false` | on/off 상태 |
12
12
  | `leftLabel?` | `string` | — | 스위치 좌측 라벨 |
13
13
  | `rightLabel?` | `string` | — | 스위치 우측 라벨 |
14
- | `label?` | `string` | — | |
15
14
  | `disabled?` | `boolean` | `false` | 비활성 |
16
15
  | `className?` | `string` | — | |
17
16
  | `style?` | `CSSProperties` | — | |
@@ -20,5 +19,18 @@
20
19
 
21
20
  | Event | Type | Description |
22
21
  |-------|------|-------------|
23
- | `onValueChange` | `(value: boolean) => void` | 변경 (sdUpdate) |
22
+ | `onValueChange` | `(value: boolean) => void` | 변경 |
24
23
 
24
+ ## Dependencies
25
+
26
+ ### Used by
27
+
28
+ - [SKeyValueTable](../SKeyValueTable)
29
+
30
+ ### Graph
31
+
32
+ ```mermaid
33
+ graph TD;
34
+ SKeyValueTable --> SSwitch
35
+ style SSwitch fill:#f9f,stroke:#333,stroke-width:4px
36
+ ```
@@ -6,14 +6,12 @@ export interface SSwitchProps {
6
6
  leftLabel?: string;
7
7
  /** 스위치 우측 라벨 */
8
8
  rightLabel?: string;
9
- /** @deprecated `rightLabel` 사용. 우측 라벨(하위호환) */
10
- label?: string;
11
9
  /** 비활성 */
12
10
  disabled?: boolean;
13
- /** 변경 (sdUpdate) */
11
+ /** 변경 */
14
12
  onValueChange?: (value: boolean) => void;
15
13
  className?: string;
16
14
  style?: CSSProperties;
17
15
  }
18
- /** SSwitch — sd-switch 포팅 (Radix SSwitch). 32×20 트랙, 16 노브. 좌/우 라벨 지원. */
19
- export declare function SSwitch({ value, leftLabel, rightLabel, label, disabled, onValueChange, className, style, }: SSwitchProps): import("react").JSX.Element;
16
+ /** SSwitch — Radix Switch 기반. 32×20 트랙, 16 노브. 좌/우 라벨 지원. */
17
+ export declare function SSwitch({ value, leftLabel, rightLabel, disabled, onValueChange, className, style, }: SSwitchProps): import("react").JSX.Element;