sellmate-design-system-react 9.0.0-beta.7 → 9.0.0-beta.70
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.
- package/AGENTS.md +1873 -250
- package/README.md +76 -24
- package/dist/components/SAccountListBox/AccountListBoxPortal.d.ts +31 -0
- package/dist/components/SAccountListBox/README.md +86 -0
- package/dist/components/SAccountListBox/SAccountListBox.d.ts +79 -0
- package/dist/components/SAccountListBox/SystemMenuPortal.d.ts +58 -0
- package/dist/components/SAccountListBox/accountListBox.config.d.ts +64 -0
- package/dist/components/SAccountListBox/index.d.ts +2 -0
- package/dist/components/SActionModal/README.md +1 -0
- package/dist/components/SActionModal/SActionModal.d.ts +9 -1
- package/dist/components/SBadge/README.md +27 -0
- package/dist/components/SBadge/SBadge.d.ts +1 -1
- package/dist/components/SBarChart/README.md +122 -0
- package/dist/components/SBarChart/SBarChart.d.ts +99 -0
- package/dist/components/SBarChart/barChart.config.d.ts +85 -0
- package/dist/components/SBarChart/index.d.ts +2 -0
- package/dist/components/SBarcodeInput/README.md +13 -4
- package/dist/components/SBarcodeInput/SBarcodeInput.d.ts +18 -3
- package/dist/components/SButton/README.md +40 -0
- package/dist/components/SCalendar/README.md +13 -0
- package/dist/components/SCalendarBoard/CalendarDayCard.d.ts +53 -0
- package/dist/components/SCalendarBoard/CalendarDayEventListBox.d.ts +26 -0
- package/dist/components/SCalendarBoard/CalendarEventButton.d.ts +20 -0
- package/dist/components/SCalendarBoard/CalendarMoreButton.d.ts +18 -0
- package/dist/components/SCalendarBoard/README.md +148 -0
- package/dist/components/SCalendarBoard/SCalendarBoard.d.ts +83 -0
- package/dist/components/SCalendarBoard/calendar-board-layout.d.ts +59 -0
- package/dist/components/SCalendarBoard/calendarBoard.config.d.ts +38 -0
- package/dist/components/SCalendarBoard/index.d.ts +3 -0
- package/dist/components/SCalendarBoard/types.d.ts +40 -0
- package/dist/components/SCallout/README.md +17 -1
- package/dist/components/SCallout/SCallout.d.ts +14 -4
- package/dist/components/SCard/README.md +17 -0
- package/dist/components/SCard/SCard.d.ts +26 -2
- package/dist/components/SChatAttachedFile/README.md +33 -0
- package/dist/components/SChatAttachedFile/SChatAttachedFile.d.ts +13 -0
- package/dist/components/SChatAttachedFile/chatAttachedFile.config.d.ts +23 -0
- package/dist/components/SChatAttachedFile/index.d.ts +2 -0
- package/dist/components/SChatFile/README.md +33 -0
- package/dist/components/SChatFile/SChatFile.d.ts +37 -0
- package/dist/components/SChatFile/chatFile.config.d.ts +56 -0
- package/dist/components/SChatFile/index.d.ts +2 -0
- package/dist/components/SChatInput/README.md +44 -0
- package/dist/components/SChatInput/SChatInput.d.ts +60 -0
- package/dist/components/SChatInput/index.d.ts +1 -0
- package/dist/components/SChatMessage/README.md +86 -0
- package/dist/components/SChatMessage/SChatMessage.d.ts +123 -0
- package/dist/components/SChatMessage/index.d.ts +1 -0
- package/dist/components/SChatSystemMessage/README.md +12 -0
- package/dist/components/SChatSystemMessage/SChatSystemMessage.d.ts +18 -0
- package/dist/components/SChatSystemMessage/index.d.ts +1 -0
- package/dist/components/SCheckbox/README.md +8 -0
- package/dist/components/SChip/README.md +25 -0
- package/dist/components/SChip/SChip.d.ts +8 -0
- package/dist/components/SChip/index.d.ts +1 -1
- package/dist/components/SChipFilter/README.md +369 -14
- package/dist/components/SChipFilter/SChipFilter.d.ts +169 -60
- package/dist/components/SChipFilter/index.d.ts +1 -1
- package/dist/components/SChipInput/README.md +17 -2
- package/dist/components/SChipInput/SChipInput.d.ts +16 -3
- package/dist/components/SChipInput/index.d.ts +1 -1
- package/dist/components/SCircleProgress/README.md +8 -0
- package/dist/components/SConfirmModal/README.md +13 -4
- package/dist/components/SConfirmModal/SConfirmModal.d.ts +46 -9
- package/dist/components/SContextAlert/README.md +52 -0
- package/dist/components/SContextAlert/SContextAlert.d.ts +51 -0
- package/dist/components/SContextAlert/contextAlert.config.d.ts +22 -0
- package/dist/components/SContextAlert/index.d.ts +2 -0
- package/dist/components/SDatePicker/README.md +21 -2
- package/dist/components/SDatePicker/SDatePicker.d.ts +35 -5
- package/dist/components/SDateRangePicker/README.md +21 -4
- package/dist/components/SDateRangePicker/SDateRangePicker.d.ts +37 -7
- package/dist/components/SDivider/README.md +7 -0
- package/dist/components/SDivider/SDivider.d.ts +11 -0
- package/dist/components/SDonutChart/README.md +105 -0
- package/dist/components/SDonutChart/SDonutChart.d.ts +82 -0
- package/dist/components/SDonutChart/index.d.ts +1 -0
- package/dist/components/SDraggableItem/README.md +37 -0
- package/dist/components/SDraggableItem/SDraggableItem.d.ts +2 -0
- package/dist/components/SDraggableItem/index.d.ts +1 -1
- package/dist/components/SDraggableList/README.md +33 -3
- package/dist/components/SDraggableList/SDraggableList.d.ts +18 -3
- package/dist/components/SDraggableList/index.d.ts +1 -1
- package/dist/components/SDrawer/README.md +8 -0
- package/dist/components/SDropdownButton/README.md +19 -0
- package/dist/components/SEditor/EditorBody.d.ts +36 -0
- package/dist/components/SEditor/EditorToolbar.d.ts +93 -0
- package/dist/components/SEditor/README.md +204 -0
- package/dist/components/SEditor/SEditor.d.ts +121 -0
- package/dist/components/SEditor/editor-icons.d.ts +63 -0
- package/dist/components/SEditor/editor.config.d.ts +119 -0
- package/dist/components/SEditor/index.d.ts +8 -0
- package/dist/components/SEditor/tiptap-api.d.ts +29 -0
- package/dist/components/SEditor/use-is-mobile.d.ts +14 -0
- package/dist/components/SExpansionItem/README.md +36 -0
- package/dist/components/SExpansionItem/index.d.ts +1 -1
- package/dist/components/SField/README.md +36 -5
- package/dist/components/SField/SField.d.ts +33 -8
- package/dist/components/SField/index.d.ts +1 -1
- package/dist/components/SFilePicker/README.md +19 -4
- package/dist/components/SFilePicker/SFilePicker.d.ts +19 -6
- package/dist/components/SFooter/README.md +44 -0
- package/dist/components/SFooter/SFooter.d.ts +29 -13
- package/dist/components/SFooter/index.d.ts +1 -1
- package/dist/components/SForm/README.md +12 -1
- package/dist/components/SForm/SForm.d.ts +2 -2
- package/dist/components/SGhostButton/README.md +28 -4
- package/dist/components/SGhostButton/SGhostButton.d.ts +4 -1
- package/dist/components/SGnb/README.md +97 -7
- package/dist/components/SGnb/SGnb.d.ts +94 -10
- package/dist/components/SGnb/gnb.config.d.ts +18 -5
- package/dist/components/SGnb/index.d.ts +1 -1
- package/dist/components/SGnbSystem/README.md +186 -0
- package/dist/components/SGnbSystem/SGnbSystem.d.ts +179 -0
- package/dist/components/SGnbSystem/gnbSystem.config.d.ts +122 -0
- package/dist/components/SGnbSystem/index.d.ts +2 -0
- package/dist/components/SGuide/README.md +16 -1
- package/dist/components/SGuide/SGuide.d.ts +5 -2
- package/dist/components/SIcon/README.md +20 -0
- package/dist/components/SIcon/SIcon.d.ts +1 -1
- package/dist/components/SIcon/icons.gen.d.ts +20 -1
- package/dist/components/SImage/README.md +23 -1
- package/dist/components/SImage/SImage.d.ts +11 -8
- package/dist/components/SInput/README.md +7 -4
- package/dist/components/SInput/SInput.d.ts +13 -5
- package/dist/components/SKeyValueTable/README.md +88 -0
- package/dist/components/SKeyValueTable/SKeyValueTable.d.ts +30 -3
- package/dist/components/SKeyValueTable/index.d.ts +1 -1
- package/dist/components/SLauncherListBox/README.md +81 -0
- package/dist/components/SLauncherListBox/SLauncherListBox.d.ts +67 -0
- package/dist/components/SLauncherListBox/index.d.ts +2 -0
- package/dist/components/SLauncherListBox/launcherListBox.config.d.ts +118 -0
- package/dist/components/SLayout/README.md +22 -1
- package/dist/components/SLayout/SLayout.d.ts +6 -2
- package/dist/components/SLayout/index.d.ts +1 -1
- package/dist/components/SLineChart/README.md +131 -0
- package/dist/components/SLineChart/SLineChart.d.ts +110 -0
- package/dist/components/SLineChart/index.d.ts +1 -0
- package/dist/components/SLineChart/lineChart.config.d.ts +95 -0
- package/dist/components/SLinearProgress/README.md +15 -0
- package/dist/components/SLinearProgress/SLinearProgress.d.ts +3 -0
- package/dist/components/SLinearProgress/index.d.ts +1 -1
- package/dist/components/SList/README.md +15 -2
- package/dist/components/SList/SList.d.ts +7 -3
- package/dist/components/SList/index.d.ts +1 -1
- package/dist/components/SListItem/README.md +41 -0
- package/dist/components/SListItem/index.d.ts +1 -1
- package/dist/components/SLoadingContainer/index.d.ts +1 -1
- package/dist/components/SLoadingContainer/loading.d.ts +41 -6
- package/dist/components/SLoadingModal/README.md +10 -2
- package/dist/components/SLoadingModal/SLoadingModal.d.ts +4 -4
- package/dist/components/SLoadingModal/index.d.ts +1 -1
- package/dist/components/SLoginCard/README.md +37 -0
- package/dist/components/SLoginCard/SLoginCard.d.ts +39 -0
- package/dist/components/SLoginCard/index.d.ts +1 -0
- package/dist/components/SLogo/README.md +54 -0
- package/dist/components/SLogo/SLogo.d.ts +47 -0
- package/dist/components/SLogo/index.d.ts +2 -0
- package/dist/components/SLogo/logo.config.d.ts +14 -0
- package/dist/components/SLogo/sellmate-wordmark.d.ts +20 -0
- package/dist/components/SMeatballButton/README.md +67 -0
- package/dist/components/SMeatballButton/SMeatballButton.d.ts +36 -0
- package/dist/components/SMeatballButton/index.d.ts +1 -0
- package/dist/components/SModal/README.md +15 -5
- package/dist/components/SModal/SModal.d.ts +1 -1
- package/dist/components/SNumberInput/README.md +18 -8
- package/dist/components/SNumberInput/SNumberInput.d.ts +42 -7
- package/dist/components/SPage/README.md +105 -5
- package/dist/components/SPage/SPage.d.ts +34 -10
- package/dist/components/SPage/SPageHeader.d.ts +31 -13
- package/dist/components/SPage/index.d.ts +2 -2
- package/dist/components/SPage/page-column.d.ts +34 -0
- package/dist/components/SPage/page-width.d.ts +23 -0
- package/dist/components/SPage/page.config.d.ts +26 -0
- package/dist/components/SPieChart/README.md +93 -0
- package/dist/components/SPieChart/SPieChart.d.ts +73 -0
- package/dist/components/SPieChart/index.d.ts +1 -0
- package/dist/components/SPopover/README.md +15 -0
- package/dist/components/SPopup/README.md +26 -2
- package/dist/components/SPopup/SPopup.d.ts +13 -10
- package/dist/components/SPopup/index.d.ts +1 -1
- package/dist/components/SPortal/README.md +20 -0
- package/dist/components/SRadio/README.md +20 -0
- package/dist/components/SRadioButton/README.md +18 -0
- package/dist/components/SRadioButton/SRadioButton.d.ts +1 -1
- package/dist/components/SRadioCard/README.md +78 -0
- package/dist/components/SRadioCard/SRadioCard.d.ts +29 -0
- package/dist/components/SRadioCard/SRadioCardGroup.d.ts +36 -0
- package/dist/components/SRadioCard/index.d.ts +2 -0
- package/dist/components/SScrollArea/README.md +28 -0
- package/dist/components/SScrollArea/SScrollArea.d.ts +17 -0
- package/dist/components/SSearchInput/README.md +63 -0
- package/dist/components/SSearchInput/SSearchInput.d.ts +52 -0
- package/dist/components/SSearchInput/index.d.ts +1 -0
- package/dist/components/SSectionHeaderCard/README.md +38 -0
- package/dist/components/SSectionHeaderCard/SSectionHeaderCard.d.ts +19 -0
- package/dist/components/SSelect/README.md +38 -11
- package/dist/components/SSelect/SSelect.d.ts +80 -9
- package/dist/components/SSelect/select.config.d.ts +15 -0
- package/dist/components/SSplitter/README.md +17 -2
- package/dist/components/SSplitter/SSplitter.d.ts +7 -3
- package/dist/components/SStepper/README.md +26 -0
- package/dist/components/SSwitch/README.md +13 -1
- package/dist/components/SSwitch/SSwitch.d.ts +1 -3
- package/dist/components/SSystemActionButton/README.md +246 -0
- package/dist/components/SSystemActionButton/SSystemActionButton.d.ts +167 -0
- package/dist/components/SSystemActionButton/index.d.ts +2 -0
- package/dist/components/SSystemActionButton/systemActionButton.config.d.ts +93 -0
- package/dist/components/STable/README.md +116 -11
- package/dist/components/STable/STable.d.ts +243 -23
- package/dist/components/STable/index.d.ts +1 -1
- package/dist/components/STableBar/README.md +1 -0
- package/dist/components/STableBar/STableBar.d.ts +8 -1
- package/dist/components/STabs/README.md +13 -2
- package/dist/components/STabs/STabs.d.ts +3 -5
- package/dist/components/STabs/index.d.ts +1 -1
- package/dist/components/STabs/tabs.config.d.ts +3 -4
- package/dist/components/STag/README.md +55 -0
- package/dist/components/STag/STag.d.ts +3 -1
- package/dist/components/STag/tag.config.d.ts +1 -1
- package/dist/components/STextLink/README.md +19 -1
- package/dist/components/STextLink/STextLink.d.ts +5 -1
- package/dist/components/STextarea/README.md +11 -5
- package/dist/components/STextarea/STextarea.d.ts +42 -6
- package/dist/components/STimePicker/README.md +18 -2
- package/dist/components/STimePicker/STimePicker.d.ts +29 -6
- package/dist/components/STimePicker/timepicker.config.d.ts +4 -2
- package/dist/components/STimeRangePicker/README.md +30 -2
- package/dist/components/STimeRangePicker/STimeRangePicker.d.ts +28 -6
- package/dist/components/SToast/README.md +25 -1
- package/dist/components/SToast/SToast.d.ts +2 -2
- package/dist/components/SToggle/README.md +8 -0
- package/dist/components/SToggle/index.d.ts +1 -1
- package/dist/components/STooltip/README.md +25 -1
- package/dist/components/STooltip/STooltip.d.ts +1 -1
- package/dist/components/STree/README.md +42 -4
- package/dist/components/STree/STree.d.ts +18 -6
- package/dist/components/STree/STree.examples.d.ts +2 -0
- package/dist/docs/Gallery.d.ts +9 -0
- package/dist/docs/RecipeGallery.d.ts +13 -0
- package/dist/docs/gallery-previews.d.ts +24 -0
- package/dist/fonts/LICENSE.txt +94 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.0.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.1.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.10.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.11.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.12.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.13.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.14.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.15.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.16.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.17.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.18.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.19.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.2.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.20.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.21.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.22.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.23.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.24.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.25.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.26.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.27.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.28.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.29.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.3.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.30.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.31.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.32.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.33.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.34.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.35.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.36.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.37.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.38.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.39.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.4.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.40.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.41.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.42.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.43.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.44.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.45.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.46.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.47.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.48.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.49.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.5.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.50.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.51.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.52.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.53.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.54.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.55.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.56.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.57.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.58.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.59.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.6.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.60.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.61.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.62.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.63.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.64.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.65.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.66.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.67.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.68.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.69.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.7.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.70.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.71.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.72.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.73.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.74.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.75.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.76.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.77.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.78.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.79.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.8.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.80.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.81.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.82.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.83.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.84.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.85.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.86.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.87.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.88.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.89.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.9.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.90.woff2 +0 -0
- package/dist/fonts/woff2-dynamic-subset/PretendardVariable.subset.91.woff2 +0 -0
- package/dist/index.cjs +20559 -10373
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +22 -0
- package/dist/index.js +20482 -10372
- package/dist/index.js.map +1 -1
- package/dist/lib/chart/cartesian.d.ts +56 -0
- package/dist/lib/chart/frame.d.ts +21 -0
- package/dist/lib/chart/hover-dim.d.ts +19 -0
- package/dist/lib/chart/legend.d.ts +21 -0
- package/dist/lib/chart/palette.d.ts +28 -0
- package/dist/lib/chart/radial.d.ts +99 -0
- package/dist/lib/chart/scale.d.ts +26 -0
- package/dist/lib/chart/tooltip.d.ts +60 -0
- package/dist/lib/chart/types.d.ts +29 -0
- package/dist/lib/chart/use-element-size.d.ts +39 -0
- package/dist/lib/date.d.ts +2 -1
- package/dist/lib/depth-filter.d.ts +27 -0
- package/dist/lib/doc-sections.d.ts +35 -0
- package/dist/lib/dropdown-menu.d.ts +19 -0
- package/dist/lib/field-width.d.ts +31 -0
- package/dist/lib/floating-height.d.ts +15 -0
- package/dist/lib/global-overlay.d.ts +5 -0
- package/dist/lib/hover-preview.d.ts +32 -0
- package/dist/lib/inert.d.ts +11 -0
- package/dist/lib/overlay-scrollbar.d.ts +32 -0
- package/dist/lib/row-metrics.d.ts +61 -0
- package/dist/lib/story-docs.d.ts +19 -3
- package/dist/llms-full.txt +5901 -550
- package/dist/llms.txt +1915 -267
- package/dist/playground/categories.d.ts +19 -0
- package/dist/pretendard.css +937 -0
- package/dist/recipes/AppShell.d.ts +21 -0
- package/dist/recipes/ExcelFilePopupPage.d.ts +5 -0
- package/dist/recipes/LoginPage.d.ts +6 -0
- package/dist/recipes/ProductCreatePage.d.ts +1 -0
- package/dist/recipes/ProductCreateSectionsPage.d.ts +5 -0
- package/dist/recipes/ProductDetailInlineEditPage.d.ts +9 -0
- package/dist/recipes/ProductDetailPage.d.ts +1 -0
- package/dist/recipes/ProductListChipFilterPage.d.ts +1 -0
- package/dist/recipes/ProductListPage.d.ts +1 -0
- package/dist/recipes/TransferOrderPopupPage.d.ts +2 -0
- package/dist/recipes/api.d.ts +91 -0
- package/dist/recipes/recipe-story.d.ts +33 -0
- package/dist/recipes/router.d.ts +9 -0
- package/dist/styles.css +3328 -273
- package/dist/theme.css +571 -33
- package/eslint/index.mjs +9 -0
- package/eslint/lib/table-column.mjs +26 -0
- package/eslint/rules/divider-vertical-height.mjs +137 -0
- package/eslint/rules/field-width-grade.mjs +27 -10
- package/eslint/rules/table-column-width.mjs +110 -0
- package/eslint/scale.gen.mjs +6 -3
- package/package.json +17 -3
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
-
import { type SColor } from '../../lib/color';
|
|
1
|
+
import { type CSSProperties, type UIEvent as ReactUIEvent, type ReactNode } from 'react';
|
|
3
2
|
import { type SIconName } from '../SIcon';
|
|
4
3
|
import { type SSelectOption } from '../SSelect';
|
|
5
4
|
export type SRow = Record<string, any>;
|
|
5
|
+
/** 오른쪽 클릭 메뉴의 항목 한 줄 */
|
|
6
|
+
export interface STableContextMenuItem {
|
|
7
|
+
/** 클릭 시 `onContextMenuItemClick` 으로 돌아오는 값 */
|
|
8
|
+
value: string | number;
|
|
9
|
+
label: string;
|
|
10
|
+
icon?: SIconName;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
6
13
|
/** `STableColumn.renderCell`에 전달되는 컨텍스트 */
|
|
7
14
|
export interface STableCellContext {
|
|
8
15
|
row: SRow;
|
|
@@ -20,24 +27,85 @@ export interface STableCellContext {
|
|
|
20
27
|
/** STable이 이 셀에 적용하려던 스타일 (패딩·정렬·폭·sticky offset 포함) */
|
|
21
28
|
style: CSSProperties;
|
|
22
29
|
}
|
|
23
|
-
|
|
30
|
+
/** 값 접근: 필드명 또는 접근 함수 */
|
|
31
|
+
export type STableColumnField = string | ((row: SRow) => any);
|
|
32
|
+
interface STableColumnBase {
|
|
24
33
|
name: string;
|
|
25
34
|
label: string;
|
|
26
|
-
/** 값 접근: 필드명 또는 접근 함수 */
|
|
27
|
-
field: string | ((row: SRow) => any);
|
|
28
35
|
align?: 'left' | 'center' | 'right';
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
/**
|
|
37
|
+
* 컬럼 너비. **px 로만 준다** — 숫자는 px 로 해석하고, 문자열은 `'120px'` 형태만 받는다.
|
|
38
|
+
*
|
|
39
|
+
* % · `clamp()` · `min()` 은 쓰지 않는다. 폭은 `<colgroup>` 의 `<col width>` 로 들어가는데
|
|
40
|
+
* 테이블이 `table-fixed` 라 함수형 값은 계산되지 않고 통째로 무시된다 — 화면은 조용히
|
|
41
|
+
* auto 폭으로 떨어진다. `'30%'` 는 더 나쁘게 30px 로 읽힌다.
|
|
42
|
+
*
|
|
43
|
+
* 생략하면 기본 120px 이다. 내용이 들어가는 열은 값 길이에 맞춰 폭을 명시한다 —
|
|
44
|
+
* 폭을 주지 않은 열만 다른 열에 눌려 무너지거나 늘어난다.
|
|
45
|
+
*/
|
|
46
|
+
width?: number | `${number}px`;
|
|
47
|
+
/**
|
|
48
|
+
* 고정폭 없이 남은 폭을 흡수한다 (sticky/resize 계산에서 제외).
|
|
49
|
+
*
|
|
50
|
+
* **남은 폭을 먹는 스페이서 열 하나에만 쓴다.** 내용이 들어가는 열에 주면 폭이 다른 열에
|
|
51
|
+
* 좌우돼 화면마다 달라진다 — 내용 열은 px 로 폭을 명시한다.
|
|
52
|
+
*/
|
|
31
53
|
autoWidth?: boolean;
|
|
32
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* 리사이즈 하한/상한 (px). **`resizable` 로 끄는 손잡이의 이동 범위일 뿐, 레이아웃에는
|
|
56
|
+
* 관여하지 않는다** — 폭을 주지 않은 열이 이 값 안에서 잡히는 것이 아니다.
|
|
57
|
+
*/
|
|
33
58
|
minWidth?: number;
|
|
34
59
|
maxWidth?: number;
|
|
35
60
|
/** 표시 포맷 */
|
|
36
61
|
format?: (value: any, row: SRow) => string;
|
|
37
62
|
visible?: boolean;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
63
|
+
/**
|
|
64
|
+
* 헤더 라벨 뒤 도움말 툴팁 (각 항목이 한 줄). `SKeyValueTable` 의 `field.helpText` 와 같은 역할 —
|
|
65
|
+
* 라벨만으로 뜻이 통하지 않는 컬럼의 산출 기준·단위를 설명한다.
|
|
66
|
+
*
|
|
67
|
+
* `renderHeader` 로 헤더를 통째로 교체하면 그리지 않는다 (헤더 전체가 소비 앱 책임).
|
|
68
|
+
*/
|
|
69
|
+
helpText?: string[];
|
|
70
|
+
/**
|
|
71
|
+
* 라벨 뒤 필수 표시(`*`). `SKeyValueTable` 의 `field.required` 와 같은 규칙 —
|
|
72
|
+
* 그 열의 값을 반드시 채워야 하는 입력 열에만 쓴다.
|
|
73
|
+
*
|
|
74
|
+
* `renderHeader` 로 헤더를 통째로 교체하면 그리지 않는다 (헤더 전체가 소비 앱 책임).
|
|
75
|
+
*/
|
|
76
|
+
required?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* **지금 이 화면에 머문 채로** 값을 고치는 열. 라벨 뒤에 `pageEdit` 표식이 붙는다.
|
|
79
|
+
*
|
|
80
|
+
* 셀에서 바로 고치는 것도, 수정 모달·바텀시트를 띄워 고치는 것도 모두 이쪽이다 —
|
|
81
|
+
* 모달은 현재 화면 **위에** 겹쳐 뜰 뿐 화면을 떠나는 것이 아니라서 `navigable` 이 아니다.
|
|
82
|
+
*
|
|
83
|
+
* **표식일 뿐 버튼이 아니다** — 실제로 고치는 UI 는 셀(`render`)이 그린다. 표식만 켜 두면
|
|
84
|
+
* 고칠 수 있다고 해 놓고 고칠 방법이 없는 열이 된다.
|
|
85
|
+
*
|
|
86
|
+
* `renderHeader` 로 헤더를 통째로 교체하면 그리지 않는다 (헤더 전체가 소비 앱 책임).
|
|
87
|
+
*/
|
|
88
|
+
editable?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* 눌러서 **이 화면을 떠나** 다른 화면으로 가는 열 — 새 창·새 팝업으로 띄우거나 페이지를
|
|
91
|
+
* 이동한다. 라벨 뒤에 `pageMove` 표식이 붙는다.
|
|
92
|
+
*
|
|
93
|
+
* 모달로 처리하는 열은 화면을 떠나지 않으므로 여기에 해당하지 않는다. 모달에서 값을 고치면
|
|
94
|
+
* `editable`, 고치지 않고 보여주기만 하면 둘 다 붙이지 않는다.
|
|
95
|
+
*
|
|
96
|
+
* **표식일 뿐 버튼이 아니다** — 화면을 여는 것은 셀(`render`)의 링크·클릭이 한다.
|
|
97
|
+
*
|
|
98
|
+
* `renderHeader` 로 헤더를 통째로 교체하면 그리지 않는다 (헤더 전체가 소비 앱 책임).
|
|
99
|
+
*/
|
|
100
|
+
navigable?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* 정렬 가능한 열인지. 켜면 헤더 라벨 뒤에 정렬 버튼이 붙는다 — 누르는 곳은 그 버튼뿐이고
|
|
103
|
+
* 헤더 셀 전체가 클릭 영역이 되지는 않는다.
|
|
104
|
+
*
|
|
105
|
+
* 정렬 상태는 컴포넌트가 갖지 않는다 — `STable` 의 `sort` · `onSortChange` 로 주고받는다.
|
|
106
|
+
* `renderHeader` 로 헤더를 통째로 교체하면 버튼도 그리지 않는다 (헤더 전체가 소비 앱 책임).
|
|
107
|
+
*/
|
|
108
|
+
sortable?: boolean;
|
|
41
109
|
/**
|
|
42
110
|
* 셀에 무엇이 들어가는지. 좌우 여백이 여기서 갈린다 — 기본은 `text`(넓게).
|
|
43
111
|
*
|
|
@@ -69,6 +137,17 @@ export interface STableColumn {
|
|
|
69
137
|
thClass?: string;
|
|
70
138
|
thStyle?: CSSProperties;
|
|
71
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* `autoWidth` 스페이서 열은 값을 그리지 않으므로 `field` 를 생략할 수 있다.
|
|
142
|
+
* 그 밖의 열은 값 접근자가 있어야 한다.
|
|
143
|
+
*/
|
|
144
|
+
export type STableColumn = STableColumnBase & ({
|
|
145
|
+
autoWidth: true;
|
|
146
|
+
field?: STableColumnField;
|
|
147
|
+
} | {
|
|
148
|
+
autoWidth?: false;
|
|
149
|
+
field: STableColumnField;
|
|
150
|
+
});
|
|
72
151
|
export interface STablePagination {
|
|
73
152
|
page: number;
|
|
74
153
|
rowsPerPage: number;
|
|
@@ -78,13 +157,29 @@ export interface STableStickyColumn {
|
|
|
78
157
|
left?: number;
|
|
79
158
|
right?: number;
|
|
80
159
|
}
|
|
160
|
+
/** 정렬 상태 — 어느 열을 어느 방향으로 정렬했는가 */
|
|
161
|
+
export interface STableSort {
|
|
162
|
+
/** 정렬 기준 컬럼의 `name` */
|
|
163
|
+
name: string;
|
|
164
|
+
dir: 'asc' | 'desc';
|
|
165
|
+
}
|
|
166
|
+
/** 2단 헤더의 상위 셀. columnNames는 visible 컬럼 기준으로 연속되어야 한다. */
|
|
167
|
+
export interface STableHeaderGroup {
|
|
168
|
+
label?: ReactNode;
|
|
169
|
+
columnNames: string[];
|
|
170
|
+
rowSpan?: 1 | 2;
|
|
171
|
+
align?: 'left' | 'center' | 'right';
|
|
172
|
+
className?: string;
|
|
173
|
+
style?: CSSProperties;
|
|
174
|
+
render?: () => ReactNode;
|
|
175
|
+
}
|
|
81
176
|
/** STable ref 명령형 API (sd-table @Method 대응) */
|
|
82
177
|
export interface STableHandle {
|
|
83
178
|
/** 행 선택 여부 */
|
|
84
179
|
isRowSelected: (row: SRow) => boolean;
|
|
85
180
|
/** 주어진 행들의 전체 선택 상태 (true/false/null=indeterminate) */
|
|
86
181
|
getIsAllChecked: (rows: SRow[]) => boolean | null;
|
|
87
|
-
/** 내부 페이지네이션 정보 (
|
|
182
|
+
/** 내부 페이지네이션 정보 (internalPagination 아니면 null) */
|
|
88
183
|
getPaginationInfo: () => {
|
|
89
184
|
startIndex: number;
|
|
90
185
|
endIndex: number;
|
|
@@ -93,6 +188,35 @@ export interface STableHandle {
|
|
|
93
188
|
} | null;
|
|
94
189
|
/** 컬럼 sticky 스타일 (CSS 변수 + 고정폭) */
|
|
95
190
|
getStickyStyle: (colIdx: number) => CSSProperties;
|
|
191
|
+
/**
|
|
192
|
+
* 본문의 세로 스크롤 컨테이너. 본문이 슬롯으로 대체됐거나 아직 안 그려졌으면 `null`.
|
|
193
|
+
*
|
|
194
|
+
* 스크롤 위치를 읽고 되돌리거나, 표 안에서 스크롤 여지를 재야 할 때 쓴다 —
|
|
195
|
+
* **DOM 을 뒤져 컨테이너를 찾지 않는다.** 내부 구조는 예고 없이 바뀐다.
|
|
196
|
+
*
|
|
197
|
+
* ⚠️ `virtualScroll` 에서 **위치를 픽셀로 저장했다 되돌리는 것은 미덥지 않다.** 다시 그릴 때
|
|
198
|
+
* 아직 안 그려진 행은 추정 높이로 잡히므로, 실측이 쌓이기 전의 같은 `scrollTop` 이 다른 행을
|
|
199
|
+
* 가리킨다. 그 경우엔 위치가 아니라 **보고 있던 행**을 기억해 두는 편이 맞다.
|
|
200
|
+
*/
|
|
201
|
+
getScrollElement: () => HTMLDivElement | null;
|
|
202
|
+
/**
|
|
203
|
+
* 지금 본문 맨 위에 걸린 행의 인덱스 (`rows` 기준). 행이 없으면 `0`.
|
|
204
|
+
*
|
|
205
|
+
* **스크롤 위치를 저장할 때는 픽셀이 아니라 이 값을 저장한다** — `virtualScroll` 에서
|
|
206
|
+
* 픽셀은 좌표계가 실측으로 움직이는 값이라, 되돌릴 때 다른 행을 가리킨다.
|
|
207
|
+
*/
|
|
208
|
+
getFirstVisibleRow: () => number;
|
|
209
|
+
/**
|
|
210
|
+
* 그 행이 본문 맨 위에 오도록 스크롤한다 (`rows` 기준 인덱스, 범위를 벗어나면 잘린다).
|
|
211
|
+
*
|
|
212
|
+
* `virtualScroll` 에서는 **실측이 정착할 때까지 그 행을 계속 다시 겨냥한다** — 옮기는
|
|
213
|
+
* 시점의 좌표는 아직 추정치라 한 번만 옮기면 몇 행씩 밀린다. 사용자가 직접 스크롤하면
|
|
214
|
+
* 겨냥을 놓는다.
|
|
215
|
+
*
|
|
216
|
+
* 페이지네이션을 쓰는 표에서는 **지금 페이지에 그려진 행만** 닿는다 — 다른 페이지의
|
|
217
|
+
* 행이라면 페이지를 먼저 옮긴다.
|
|
218
|
+
*/
|
|
219
|
+
scrollToRow: (index: number) => void;
|
|
96
220
|
/** 가상 스크롤 총 행 수 설정 */
|
|
97
221
|
setRowCount: (count: number) => void;
|
|
98
222
|
/** 단일 행 선택 토글 (sd-table updateRowSelect) — onSelectedChange 발생 */
|
|
@@ -102,19 +226,81 @@ export interface STableHandle {
|
|
|
102
226
|
}
|
|
103
227
|
export interface STableProps {
|
|
104
228
|
columns?: STableColumn[];
|
|
229
|
+
/** 상위 그룹 헤더. 지정하면 기존 컬럼 헤더가 두 번째 행에 렌더링된다. */
|
|
230
|
+
headerGroups?: STableHeaderGroup[];
|
|
105
231
|
rows?: SRow[];
|
|
106
232
|
/** 행 식별 필드 */
|
|
107
233
|
rowKey?: string;
|
|
108
234
|
/** 행 선택 체크박스 */
|
|
109
235
|
selectable?: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* 행을 드래그해서 고른다. 기본 `false`.
|
|
238
|
+
*
|
|
239
|
+
* 고르는 수단만 다를 뿐 `selectable` 과 같은 선택이다 — `selected` · `onSelectedChange` ·
|
|
240
|
+
* `isRowSelectable` 을 그대로 쓴다. 체크박스 열은 생기지 않고, 대신 고른 구간이 배경색과
|
|
241
|
+
* 바깥 테두리로 표시된다.
|
|
242
|
+
*
|
|
243
|
+
* **`selectable` 과 함께 켜면 `selectable` 이 이긴다** — 체크박스가 있는 표에서 드래그까지
|
|
244
|
+
* 걸리면 글자를 긁으려던 손이 선택을 갈아치운다. 둘 다 필요해 보이면 체크박스 쪽만 남긴다.
|
|
245
|
+
*
|
|
246
|
+
* 누른 자리가 구간의 기준점이고, 끌어간 자리까지가 구간이다. **새로 끌면 이전 선택은 풀린다** —
|
|
247
|
+
* 기존 선택에 더하려면 `Ctrl`(macOS 는 `Cmd`)을 짚고 끈다. 잠긴 행(`isRowSelectable`)은
|
|
248
|
+
* 구간 안에 있어도 그냥 지나간다.
|
|
249
|
+
*
|
|
250
|
+
* **켜 두면 셀 안의 글자를 긁어 복사할 수 없다** — 끌기가 곧 선택이라 글자 선택과 같은 손짓을
|
|
251
|
+
* 두고 다툰다. 값을 복사해 가는 표에는 켜지 않는다. 셀 안의 버튼·입력은 그대로 눌린다.
|
|
252
|
+
*/
|
|
253
|
+
dragSelectable?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* 드래그 선택에서 **행을 오른쪽 클릭했을 때** 커서 자리에 뜨는 메뉴의 항목.
|
|
256
|
+
* 주지 않거나 비면 메뉴가 뜨지 않고 브라우저 기본 메뉴가 나온다.
|
|
257
|
+
*
|
|
258
|
+
* **`dragSelectable` 에서만 동작한다** — 체크박스 모드에서는 무시된다.
|
|
259
|
+
*
|
|
260
|
+
* 고르지 않은 행에서 누르면 **그 행만 고른 뒤** 열린다. 메뉴가 다룰 대상과 화면에 칠해진
|
|
261
|
+
* 것이 어긋나지 않게 하기 위함이다. 잠긴 행(`isRowSelectable`) 위에서는 열리지 않는다 —
|
|
262
|
+
* 고를 수 없는 행을 대상으로 삼을 수 없기 때문이다.
|
|
263
|
+
*/
|
|
264
|
+
contextMenuItems?: STableContextMenuItem[];
|
|
265
|
+
/**
|
|
266
|
+
* 메뉴 항목을 골랐을 때. 고른 항목의 `value` 와 **그 메뉴가 다루는 행들**이 함께 온다.
|
|
267
|
+
*
|
|
268
|
+
* 행 목록은 메뉴가 열린 시점에 확정되므로 `selected` 를 따로 읽지 않아도 된다 — 오른쪽
|
|
269
|
+
* 클릭이 선택을 바꾸는 경우(고르지 않은 행)에도 바뀐 뒤의 행이 온다.
|
|
270
|
+
*/
|
|
271
|
+
onContextMenuItemClick?: (value: string | number, rows: SRow[]) => void;
|
|
272
|
+
/**
|
|
273
|
+
* 이 행을 고를 수 있는가. 주지 않으면 모든 행을 고를 수 있다.
|
|
274
|
+
*
|
|
275
|
+
* 고를 수 없는 행은 체크박스가 잠기고, **전체 선택·Shift 구간 선택의 셈에서도 빠진다** —
|
|
276
|
+
* 잠긴 행이 셈에 남으면 "전부 선택됨"에 닿지 못해 헤더 체크박스가 해제 방향으로 가지 못한다.
|
|
277
|
+
*
|
|
278
|
+
* 목록에서 지워 버리는 것과 다르다. 실패 0건인 차수처럼 **자리는 보여야 하지만 대상이 될 수는
|
|
279
|
+
* 없는 행**에 쓴다. 아예 대상이 아니라면 `rows` 에서 거르는 편이 낫다.
|
|
280
|
+
*
|
|
281
|
+
* 잠금은 그리기 시점의 판정일 뿐이라, 이미 `selected` 에 든 행이 나중에 잠겨도 DS 가 빼지
|
|
282
|
+
* 않는다(제어 상태를 말없이 바꾸지 않는다). 다만 헤더의 전체 해제로는 걷어낼 수 있다.
|
|
283
|
+
*/
|
|
284
|
+
isRowSelectable?: (row: SRow) => boolean;
|
|
110
285
|
selected?: SRow[];
|
|
111
286
|
onSelectedChange?: (rows: SRow[]) => void;
|
|
287
|
+
/**
|
|
288
|
+
* 정렬 상태 (controlled). `null`·미지정이면 정렬 없음.
|
|
289
|
+
*
|
|
290
|
+
* 컴포넌트는 정렬 상태를 갖지 않는다 — 서버 정렬이면 이 값이 곧 조회 조건이고,
|
|
291
|
+
* 뒤로가기·새로고침·링크 공유로 복원돼야 하므로 진실은 URL·store 쪽에 있어야 한다.
|
|
292
|
+
* 행을 실제로 정렬하는 것도 소비 앱 몫이다 (`STable` 은 받은 순서대로 그린다).
|
|
293
|
+
*/
|
|
294
|
+
sort?: STableSort | null;
|
|
295
|
+
/**
|
|
296
|
+
* 정렬 헤더 클릭 (`asc → desc → 해제` 3단). 해제되면 `null` 이 온다.
|
|
297
|
+
* 다중 정렬은 1차 안에서 지원하지 않는다.
|
|
298
|
+
*/
|
|
299
|
+
onSortChange?: (sort: STableSort | null) => void;
|
|
112
300
|
/** 컬럼 너비 조절 */
|
|
113
301
|
resizable?: boolean;
|
|
114
302
|
width?: string;
|
|
115
303
|
height?: string;
|
|
116
|
-
/** @deprecated 헤더는 항상 세로 스크롤에서 제외되어 고정됩니다 (body만 세로 스크롤) */
|
|
117
|
-
stickyHeader?: boolean;
|
|
118
304
|
/** 고정할 좌/우 컬럼 수 */
|
|
119
305
|
stickyColumn?: STableStickyColumn;
|
|
120
306
|
/** border-radius 제어 */
|
|
@@ -129,30 +315,63 @@ export interface STableProps {
|
|
|
129
315
|
* 없어, 그대로 두면 페이지네이션만 테두리를 갖고 1px 어긋난다.
|
|
130
316
|
*/
|
|
131
317
|
bordered?: boolean;
|
|
132
|
-
|
|
318
|
+
emptyLabel?: string;
|
|
133
319
|
/**
|
|
134
320
|
* 데이터가 없을 때 body 영역 전체를 대체하는 슬롯.
|
|
135
|
-
* 지정하면 `
|
|
321
|
+
* 지정하면 `emptyLabel` 대신 이 콘텐츠가 헤더 아래 영역을 채우며, 버튼 등 인터랙션도 동작한다.
|
|
322
|
+
*/
|
|
323
|
+
emptySlot?: ReactNode;
|
|
324
|
+
loading?: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* 행 높이를 좁게 (세로 여백만 줄인다 — 좌우 패딩은 그대로).
|
|
327
|
+
*
|
|
328
|
+
* **시작 밀도이자 밀도 토글의 스위치다.** 켜면 하단 바 우측에 `좁게 보기` · `넓게 보기` 토글이
|
|
329
|
+
* 붙는다 — 페이지네이션이 없으면 이 바를 토글만 담아 그린다.
|
|
330
|
+
*
|
|
331
|
+
* 누른 뒤의 밀도는 테이블이 내부 상태로 들고 가므로 `onDenseChange` 를 받지 않아도 토글은
|
|
332
|
+
* 동작하고, 넓게 본 뒤에도 토글은 그대로 남는다(붙일지는 이 prop 이 정한다). 이 prop 값이
|
|
333
|
+
* 바뀌면 내부 밀도도 그 값으로 맞춰진다.
|
|
136
334
|
*/
|
|
137
|
-
noDataSlot?: ReactNode;
|
|
138
|
-
isLoading?: boolean;
|
|
139
335
|
dense?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
|
|
336
|
+
/**
|
|
337
|
+
* 밀도 변경 (하단 바의 밀도 토글을 눌렀을 때). 표시는 테이블이 알아서 바꾸므로 받지 않아도 되고,
|
|
338
|
+
* 사용자가 고른 밀도를 다음 방문까지 기억해 두려는(로컬 저장 등) 페이지만 받으면 된다.
|
|
339
|
+
*/
|
|
340
|
+
onDenseChange?: (dense: boolean) => void;
|
|
341
|
+
/** 행에 마우스를 올렸을 때 hover 배경(grey_05)을 표시할지. 기본 `true` — `false` 면 표시하지 않는다 */
|
|
342
|
+
hoverable?: boolean;
|
|
142
343
|
/** 페이지네이션 (있으면 하단 표시) */
|
|
143
344
|
pagination?: STablePagination;
|
|
144
345
|
onPageChange?: (page: number) => void;
|
|
145
346
|
/** 테이블 내부에서 페이지네이션을 직접 관리 (rows를 내부 슬라이싱) */
|
|
146
|
-
|
|
347
|
+
internalPagination?: boolean;
|
|
147
348
|
/** 페이지당 행 수 셀렉트 표시 */
|
|
148
|
-
|
|
349
|
+
showRowsPerPageSelect?: boolean;
|
|
149
350
|
rowsPerPageOption?: SSelectOption[];
|
|
150
351
|
onRowsPerPageChange?: (perPage: number) => void;
|
|
151
352
|
/** 가상 스크롤 */
|
|
152
|
-
|
|
353
|
+
virtualScroll?: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* 행 높이의 **출발점**(px). 미지정이면 밀도에 따라 44 / 32.
|
|
356
|
+
*
|
|
357
|
+
* 행마다 높이가 달라도 된다 — 화면에 나온 행은 실제 높이를 재서 덮으므로, 이 값은
|
|
358
|
+
* **아직 안 그려진 행의 추정치**이자 행의 최소 높이일 뿐이다. 실측이 쌓일수록 뒤쪽
|
|
359
|
+
* 추정도 그 평균으로 수렴한다.
|
|
360
|
+
*
|
|
361
|
+
* 그래서 높이가 제각각인 표에서 "가장 흔한 높이"를 넣어 두면 충분하다. 값이 실제와
|
|
362
|
+
* 멀수록 아직 안 그려진 구간의 스크롤바 길이만 덜 정확할 뿐, 그리는 위치는 어긋나지 않는다.
|
|
363
|
+
*/
|
|
153
364
|
rowHeight?: number;
|
|
154
365
|
virtualBuffer?: number;
|
|
155
366
|
virtualEndThreshold?: number;
|
|
367
|
+
/**
|
|
368
|
+
* 본문이 스크롤될 때. **실제 스크롤에만 울린다** — 행 수·컬럼 폭·로딩이 바뀌어
|
|
369
|
+
* 내부에서 위치를 다시 잴 때는 오지 않는다.
|
|
370
|
+
*
|
|
371
|
+
* `onVirtualUpdate` 는 그리는 창이 바뀔 때만 오므로 그 사이 스크롤을 알 수 없다.
|
|
372
|
+
* 스크롤 위치를 읽어 두었다 되돌리는 것처럼 **위치 자체가 필요하면** 이쪽을 쓴다.
|
|
373
|
+
*/
|
|
374
|
+
onScroll?: (event: ReactUIEvent<HTMLDivElement>) => void;
|
|
156
375
|
onVirtualUpdate?: (range: {
|
|
157
376
|
from: number;
|
|
158
377
|
to: number;
|
|
@@ -175,3 +394,4 @@ export interface STableProps {
|
|
|
175
394
|
* 내부 페이지네이션 + rows-per-page + 가상 스크롤 + 로딩 + dense.
|
|
176
395
|
*/
|
|
177
396
|
export declare const STable: import("react").ForwardRefExoticComponent<STableProps & import("react").RefAttributes<STableHandle>>;
|
|
397
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { STable, type STableProps, type STableColumn, type STableCellContext, type STablePagination, type STableStickyColumn, type STableHandle, type SRow, } from './STable';
|
|
1
|
+
export { STable, type STableProps, type STableColumn, type STableColumnField, type STableSort, type STableHeaderGroup, type STableCellContext, type STablePagination, type STableStickyColumn, type STableHandle, type SRow, } from './STable';
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
| Prop | Type | Default | Description |
|
|
10
10
|
|------|------|---------|-------------|
|
|
11
|
+
| `title?` | `ReactNode` | — | 건수 앞에 서는 제목 슬롯. 이 바가 무엇의 목록인지 말한다. 문자열을 주면 바의 기본 타이포로 그린다. 다른 모양이 필요하면 요소를 통째로 넘긴다 — 슬롯이라 안에 무엇이 오든 자리만 잡아 준다. |
|
|
11
12
|
| `total?` | `number` | — | 전체 건수. 지정하면 "총 N 건" 을 표시한다 (천단위 구분 자동) |
|
|
12
13
|
| `selected?` | `number` | — | 선택 건수. 지정하면 "N건 선택" 을 표시한다 |
|
|
13
14
|
| `actions?` | `ReactNode` | — | 구분선 오른쪽 좌측 액션 영역 |
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
-
export interface STableBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
2
|
+
export interface STableBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'title'> {
|
|
3
|
+
/**
|
|
4
|
+
* 건수 앞에 서는 제목 슬롯. 이 바가 무엇의 목록인지 말한다.
|
|
5
|
+
*
|
|
6
|
+
* 문자열을 주면 바의 기본 타이포로 그린다. 다른 모양이 필요하면 요소를 통째로 넘긴다 —
|
|
7
|
+
* 슬롯이라 안에 무엇이 오든 자리만 잡아 준다.
|
|
8
|
+
*/
|
|
9
|
+
title?: ReactNode;
|
|
3
10
|
/** 전체 건수. 지정하면 "총 N 건" 을 표시한다 (천단위 구분 자동) */
|
|
4
11
|
total?: number;
|
|
5
12
|
/** 선택 건수. 지정하면 "N건 선택" 을 표시한다 */
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
|------|------|---------|-------------|
|
|
11
11
|
| `value` | `string` | — | 현재 선택된 탭 value |
|
|
12
12
|
| `tabs` | `STabOption[]` | — | 탭 옵션 목록 |
|
|
13
|
-
| `
|
|
14
|
-
| `isSub?` | `boolean` | `false` | 서브 탭(밑줄형) 스타일 |
|
|
13
|
+
| `sub?` | `boolean` | `false` | 서브 탭(밑줄형) 스타일 |
|
|
15
14
|
| `vertical?` | `boolean` | `false` | 세로 배치 (sub 전용 — main 폴더형은 항상 가로) |
|
|
16
15
|
| `className?` | `string` | — | |
|
|
17
16
|
| `style?` | `CSSProperties` | — | |
|
|
@@ -22,6 +21,18 @@
|
|
|
22
21
|
|-------|------|-------------|
|
|
23
22
|
| `onValueChange` | `(value: string) => void` | 탭 변경 (sdUpdate) |
|
|
24
23
|
|
|
24
|
+
## Types
|
|
25
|
+
|
|
26
|
+
### STabOption
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
export interface STabOption {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
badge?: string | number;
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
25
36
|
## Dependencies
|
|
26
37
|
|
|
27
38
|
### Depends on
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CSSProperties } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type STabOption } from './tabs.config';
|
|
3
3
|
export interface STabsProps {
|
|
4
4
|
/** 현재 선택된 탭 value */
|
|
5
5
|
value: string;
|
|
@@ -7,10 +7,8 @@ export interface STabsProps {
|
|
|
7
7
|
tabs: STabOption[];
|
|
8
8
|
/** 탭 변경 (sdUpdate) */
|
|
9
9
|
onValueChange?: (value: string) => void;
|
|
10
|
-
/** 탭 크기 (main 전용) */
|
|
11
|
-
size?: STabSize;
|
|
12
10
|
/** 서브 탭(밑줄형) 스타일 */
|
|
13
|
-
|
|
11
|
+
sub?: boolean;
|
|
14
12
|
/** 세로 배치 (sub 전용 — main 폴더형은 항상 가로) */
|
|
15
13
|
vertical?: boolean;
|
|
16
14
|
className?: string;
|
|
@@ -21,4 +19,4 @@ export interface STabsProps {
|
|
|
21
19
|
* main = 폴더형(탭 줄에 파란 baseline, 탭은 위쪽만 둥글고 하단 테두리 없음),
|
|
22
20
|
* sub = 밑줄형(선택 시 하단 라인). 뱃지(STag), 세로 배치, value 제어 + onValueChange(sdUpdate).
|
|
23
21
|
*/
|
|
24
|
-
export declare function STabs({ value, tabs, onValueChange,
|
|
22
|
+
export declare function STabs({ value, tabs, onValueChange, sub, vertical, className, style, }: STabsProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { STabs, type STabsProps } from './STabs';
|
|
2
|
-
export { type STabOption
|
|
2
|
+
export { type STabOption } from './tabs.config';
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
export type STabSize = 'md' | 'lg';
|
|
2
1
|
export interface STabOption {
|
|
3
2
|
label: string;
|
|
4
3
|
value: string;
|
|
5
4
|
badge?: string | number;
|
|
6
5
|
}
|
|
7
|
-
/** main(분절형)
|
|
8
|
-
export declare const TAB_MAIN_SIZE:
|
|
6
|
+
/** main(분절형) 레이아웃 */
|
|
7
|
+
export declare const TAB_MAIN_SIZE: {
|
|
9
8
|
height: number;
|
|
10
9
|
paddingX: number;
|
|
11
|
-
}
|
|
10
|
+
};
|
|
12
11
|
/** 탭 타이포 (main/sub 공통, token: typography.navigation.sm) */
|
|
13
12
|
export declare const TAB_TYPOGRAPHY: {
|
|
14
13
|
fontSize: number;
|
|
@@ -11,11 +11,60 @@
|
|
|
11
11
|
| `shape?` | `STagShape` | `'square'` | 모양 |
|
|
12
12
|
| `size?` | `STagSize` | `'sm'` | 크기 |
|
|
13
13
|
| `color?` | `STagColor` | `'grey'` | 색상 |
|
|
14
|
+
| `deep?` | `boolean` | `false` | 진한 배경(deep) 버전. 배경에 강조색을 채우고 텍스트·아이콘을 반전색으로 쓴다 |
|
|
14
15
|
| `label?` | `string` | `''` | 레이블 텍스트 |
|
|
15
16
|
| `icon?` | `SIconName` | — | 아이콘명 |
|
|
16
17
|
| `iconLeft?` | `boolean` | `true` | 아이콘을 레이블 왼쪽에 배치 |
|
|
17
18
|
| `width?` | `string \| number` | — | 태그 너비 (숫자면 px, 문자열이면 그대로 적용). 미지정 시 콘텐츠 크기 |
|
|
18
19
|
|
|
20
|
+
## Types
|
|
21
|
+
|
|
22
|
+
### STagShape
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
export type STagShape = (typeof TAG_SHAPES)[number];
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### STagSize
|
|
29
|
+
|
|
30
|
+
```ts
|
|
31
|
+
export type STagSize = (typeof TAG_SIZES)[number];
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### STagColor
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
export type STagColor = (typeof TAG_COLORS)[number];
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### TAG_SHAPES
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
export const TAG_SHAPES = ['square', 'pill'] as const;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### TAG_SIZES
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
export const TAG_SIZES = ['xs', 'sm', 'md'] as const;
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### TAG_COLORS
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
export const TAG_COLORS = [
|
|
56
|
+
'grey',
|
|
57
|
+
'red',
|
|
58
|
+
'orange',
|
|
59
|
+
'yellow',
|
|
60
|
+
'green',
|
|
61
|
+
'blue',
|
|
62
|
+
'darkblue',
|
|
63
|
+
'indigo',
|
|
64
|
+
'purple',
|
|
65
|
+
] as const;
|
|
66
|
+
```
|
|
67
|
+
|
|
19
68
|
## Dependencies
|
|
20
69
|
|
|
21
70
|
### Used by
|
|
@@ -24,6 +73,9 @@
|
|
|
24
73
|
- [SConfirmModal](../SConfirmModal)
|
|
25
74
|
- [SGhostButton](../SGhostButton)
|
|
26
75
|
- [SGnb](../SGnb)
|
|
76
|
+
- [SLauncherListBox](../SLauncherListBox)
|
|
77
|
+
- [SRadioCard](../SRadioCard)
|
|
78
|
+
- [SSystemActionButton](../SSystemActionButton)
|
|
27
79
|
- [STabs](../STabs)
|
|
28
80
|
- [STextLink](../STextLink)
|
|
29
81
|
|
|
@@ -40,6 +92,9 @@ graph TD;
|
|
|
40
92
|
SConfirmModal --> STag
|
|
41
93
|
SGhostButton --> STag
|
|
42
94
|
SGnb --> STag
|
|
95
|
+
SLauncherListBox --> STag
|
|
96
|
+
SRadioCard --> STag
|
|
97
|
+
SSystemActionButton --> STag
|
|
43
98
|
STabs --> STag
|
|
44
99
|
STextLink --> STag
|
|
45
100
|
style STag fill:#f9f,stroke:#333,stroke-width:4px
|
|
@@ -8,6 +8,8 @@ export interface STagProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'
|
|
|
8
8
|
size?: STagSize;
|
|
9
9
|
/** 색상 */
|
|
10
10
|
color?: STagColor;
|
|
11
|
+
/** 진한 배경(deep) 버전. 배경에 강조색을 채우고 텍스트·아이콘을 반전색으로 쓴다 */
|
|
12
|
+
deep?: boolean;
|
|
11
13
|
/** 레이블 텍스트 */
|
|
12
14
|
label?: string;
|
|
13
15
|
/** 아이콘명 */
|
|
@@ -20,6 +22,6 @@ export interface STagProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'
|
|
|
20
22
|
/**
|
|
21
23
|
* STag — sd-tag 포팅.
|
|
22
24
|
* Stencil의 `name`(예: square_sm_grey) 프리셋을 shape/size/color 세 prop으로 분리.
|
|
23
|
-
* 색상은 컴포넌트 토큰 `--cmp-tag-<color>-{bg,content}
|
|
25
|
+
* 색상은 컴포넌트 토큰 `--cmp-tag-<color>-{bg,content}`, deep 은 `--cmp-tag-<color>-deep-*` 참조.
|
|
24
26
|
*/
|
|
25
27
|
export declare const STag: import("react").ForwardRefExoticComponent<STagProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const TAG_SHAPES: readonly ["square", "pill"];
|
|
2
2
|
export declare const TAG_SIZES: readonly ["xs", "sm", "md"];
|
|
3
|
-
export declare const TAG_COLORS: readonly ["grey", "red", "orange", "yellow", "green", "blue", "darkblue", "indigo"];
|
|
3
|
+
export declare const TAG_COLORS: readonly ["grey", "red", "orange", "yellow", "green", "blue", "darkblue", "indigo", "purple"];
|
|
4
4
|
export type STagShape = (typeof TAG_SHAPES)[number];
|
|
5
5
|
export type STagSize = (typeof TAG_SIZES)[number];
|
|
6
6
|
export type STagColor = (typeof TAG_COLORS)[number];
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
| `label?` | `string` | `''` | 레이블 |
|
|
12
12
|
| `icon?` | `SIconName` | — | 좌측 아이콘 |
|
|
13
13
|
| `iconColor?` | `SColor` | — | 좌측 아이콘 색상. 팔레트 키(`grey_65`, `red_95` …) 또는 임의 CSS 색상 |
|
|
14
|
-
| `
|
|
14
|
+
| `iconRotate?` | `0 \| 90 \| 180 \| 270` | — | 좌측 아이콘 회전 각도. 같은 아이콘을 방향만 바꿔 쓸 때 (`SIcon` 의 `rotate` 로 그대로 간다) |
|
|
15
|
+
| `labelClassName?` | `string` | — | 레이블 span에 추가할 클래스 |
|
|
15
16
|
| `rightArrow?` | `STextLinkArrow` | `'none'` | 우측 화살표 |
|
|
17
|
+
| `rightArrowRotate?` | `0 \| 90 \| 180 \| 270` | — | 우측 화살표 회전 각도. 같은 화살표를 방향만 바꿔 쓸 때 (`SIcon` 의 `rotate` 로 그대로 간다) |
|
|
16
18
|
| `underline?` | `boolean` | `false` | 밑줄 여부 |
|
|
17
19
|
| `disabled?` | `boolean` | `false` | 비활성 |
|
|
18
20
|
| `size?` | `STextLinkSize` | `'sm'` | 크기 |
|
|
@@ -24,6 +26,20 @@
|
|
|
24
26
|
|-------|------|-------------|
|
|
25
27
|
| `onClick` | `() => void` | |
|
|
26
28
|
|
|
29
|
+
## Types
|
|
30
|
+
|
|
31
|
+
### STextLinkArrow
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
export type STextLinkArrow = 'none' | 'chevron' | 'caret';
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### STextLinkSize
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
export type STextLinkSize = 'sm' | 'md' | 'lg';
|
|
41
|
+
```
|
|
42
|
+
|
|
27
43
|
## Dependencies
|
|
28
44
|
|
|
29
45
|
### Used by
|
|
@@ -31,6 +47,7 @@
|
|
|
31
47
|
- [SChipFilter](../SChipFilter)
|
|
32
48
|
- [SChipInput](../SChipInput)
|
|
33
49
|
- [SPopover](../SPopover)
|
|
50
|
+
- [STable](../STable)
|
|
34
51
|
|
|
35
52
|
### Depends on
|
|
36
53
|
|
|
@@ -46,5 +63,6 @@ graph TD;
|
|
|
46
63
|
SChipFilter --> STextLink
|
|
47
64
|
SChipInput --> STextLink
|
|
48
65
|
SPopover --> STextLink
|
|
66
|
+
STable --> STextLink
|
|
49
67
|
style STextLink fill:#f9f,stroke:#333,stroke-width:4px
|
|
50
68
|
```
|
|
@@ -10,10 +10,14 @@ export interface STextLinkProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'o
|
|
|
10
10
|
icon?: SIconName;
|
|
11
11
|
/** 좌측 아이콘 색상. 팔레트 키(`grey_65`, `red_95` …) 또는 임의 CSS 색상 */
|
|
12
12
|
iconColor?: SColor;
|
|
13
|
+
/** 좌측 아이콘 회전 각도. 같은 아이콘을 방향만 바꿔 쓸 때 (`SIcon` 의 `rotate` 로 그대로 간다) */
|
|
14
|
+
iconRotate?: 0 | 90 | 180 | 270;
|
|
13
15
|
/** 레이블 span에 추가할 클래스 */
|
|
14
|
-
|
|
16
|
+
labelClassName?: string;
|
|
15
17
|
/** 우측 화살표 */
|
|
16
18
|
rightArrow?: STextLinkArrow;
|
|
19
|
+
/** 우측 화살표 회전 각도. 같은 화살표를 방향만 바꿔 쓸 때 (`SIcon` 의 `rotate` 로 그대로 간다) */
|
|
20
|
+
rightArrowRotate?: 0 | 90 | 180 | 270;
|
|
17
21
|
/** 밑줄 여부 */
|
|
18
22
|
underline?: boolean;
|
|
19
23
|
/** 비활성 */
|