sellmate-design-system-react 9.0.0-beta.7 → 9.0.0-beta.71
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 +20593 -10374
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +22 -0
- package/dist/index.js +20517 -10374
- 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 +5904 -550
- package/dist/llms.txt +1918 -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 +3331 -258
- package/dist/theme.css +589 -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/prefer-typo-preset.mjs +1 -1
- package/eslint/rules/table-column-width.mjs +110 -0
- package/eslint/scale.gen.mjs +6 -3
- package/package.json +17 -3
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# SBarChart
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SBarChart
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `categories` | `string[]` | — | 가로축(가로 막대면 세로축)에 놓일 항목 이름 |
|
|
12
|
+
| `series` | `SBarChartSeries[]` | — | 계열 목록. 각 `data` 는 `categories` 와 같은 순서다 |
|
|
13
|
+
| `title?` | `string` | — | 차트 제목 — 왼쪽 위에 놓인다 |
|
|
14
|
+
| `unit?` | `string` | — | 단위 — 오른쪽 위에 "단위 : " 를 붙여 놓는다 |
|
|
15
|
+
| `direction?` | `SBarChartDirection` | `'vertical'` | 막대가 자라는 방향 |
|
|
16
|
+
| `stacked?` | `boolean` | `false` | 계열을 나란히 놓는 대신 **한 막대에 쌓는다**. 항목의 크기와 그 안의 구성을 함께 볼 때 쓴다. 첫 계열이 기준선에 붙고, 값 라벨은 조각마다가 아니라 **항목의 합계**를 한 번 적는다. 음수는 0 아래로 따로 쌓이며, 값 축도 개별 값이 아닌 항목별 합계로 잡힌다 |
|
|
17
|
+
| `palette?` | `SBarChartPalette` | `'default'` | 색 팔레트. 계열이 하나면 계열 대신 **항목**마다 색이 바뀐다. `custom` 일 때만 `colors` 를 본다 |
|
|
18
|
+
| `colors?` | `SBarChartColor[]` | — | `palette='custom'` 에서 쓸 색 이름을 계열 순서대로. 계열보다 짧으면 앞에서부터 순환한다 |
|
|
19
|
+
| `max?` | `number` | — | 값 축의 최댓값. 주지 않으면 데이터에서 읽기 좋은 값으로 정한다 |
|
|
20
|
+
| `tickCount?` | `number` | `8` | 값 축 눈금 개수 |
|
|
21
|
+
| `barSize?` | `number` | `BAR_SIZE_MAX` | 막대 두께 상한(px, 24~80). 낮추면 좌우 여백 상한도 같은 비율로 따라 내려온다 |
|
|
22
|
+
| `showValueLabel?` | `boolean` | `true` | 막대마다 값을 적는다 |
|
|
23
|
+
| `showLegend?` | `boolean` | `true` | 범례를 보인다 |
|
|
24
|
+
| `legendPosition?` | `SBarChartLegendPosition` | `'top'` | 범례 위치 |
|
|
25
|
+
| `showTooltip?` | `boolean` | `true` | 막대에 마우스를 올리면 값 상자를 띄운다 |
|
|
26
|
+
| `formatValue?` | `(value: number) => string` | `defaultFormat` | 값 표시 형식 |
|
|
27
|
+
| `height?` | `number \| string` | — | 차트 높이. **아래 축 텍스트까지 포함한 값**이다 — 그림은 그만큼 줄어든다 |
|
|
28
|
+
| `tooltipFooter?` | `(category: SBarChartTooltipCategory) => ReactNode` | — | 툴팁의 값 아래에 덧붙일 내용. 짚은 항목을 받아 그린다 — 계열 값만으로 모자란 맥락 (합계, 전월 대비 등)을 적는다. 툴팁은 누를 수 없으므로 버튼·링크는 넣지 않는다 |
|
|
29
|
+
| `className?` | `string` | — | |
|
|
30
|
+
| `style?` | `CSSProperties` | — | |
|
|
31
|
+
|
|
32
|
+
#### Events
|
|
33
|
+
|
|
34
|
+
| Event | Type | Description |
|
|
35
|
+
|-------|------|-------------|
|
|
36
|
+
| `onBarClick` | `(point: SBarChartPoint) => void` | 막대를 눌렀을 때 |
|
|
37
|
+
|
|
38
|
+
## Types
|
|
39
|
+
|
|
40
|
+
### SBarChartSeries
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
/** 한 계열 — 범례 한 줄에 대응한다. */
|
|
44
|
+
export interface SBarChartSeries {
|
|
45
|
+
/** 범례·툴팁에 표시할 이름 */
|
|
46
|
+
name: string;
|
|
47
|
+
/** `categories` 와 같은 순서의 값. 짧으면 남는 항목은 막대를 그리지 않는다 */
|
|
48
|
+
data: number[];
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### SBarChartDirection
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
/** 막대가 자라는 방향. */
|
|
56
|
+
export type SBarChartDirection = 'vertical' | 'horizontal';
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### SBarChartPalette
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
/**
|
|
63
|
+
* 색 팔레트.
|
|
64
|
+
* - `default` 파랑 한 색. 계열이 하나거나 색으로 나눌 것이 없을 때
|
|
65
|
+
* - `multi` 서로 무관한 항목(11색)을 순서대로
|
|
66
|
+
* - `gradation` 한 지표의 단계(6색)를 진한 쪽부터 순서대로
|
|
67
|
+
* - `custom` `colors` 로 고른 색을 순서대로
|
|
68
|
+
*/
|
|
69
|
+
export type SBarChartPalette = 'default' | 'multi' | 'gradation' | 'custom';
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### SBarChartColor
|
|
73
|
+
|
|
74
|
+
```ts
|
|
75
|
+
/**
|
|
76
|
+
* `palette='custom'` 에서 고를 수 있는 색 이름.
|
|
77
|
+
* positive=늘어남 · negative=줄어듦 · neutral=변화 없음 을 뜻하므로 뜻에 맞게 고른다.
|
|
78
|
+
*/
|
|
79
|
+
export type SBarChartColor =
|
|
80
|
+
| 'positivePrimary'
|
|
81
|
+
| 'positiveSecondary'
|
|
82
|
+
| 'negativePrimary'
|
|
83
|
+
| 'negativeSecondary'
|
|
84
|
+
| 'neutralPrimary'
|
|
85
|
+
| 'neutralSecondary';
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### SBarChartLegendPosition
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
/** 범례 위치. */
|
|
92
|
+
export type SBarChartLegendPosition = 'top' | 'bottom';
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### SBarChartPoint
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
/** 툴팁·클릭이 가리키는 지점. */
|
|
99
|
+
export interface SBarChartPoint {
|
|
100
|
+
/** 계열 인덱스 */
|
|
101
|
+
seriesIndex: number;
|
|
102
|
+
/** 카테고리 인덱스 */
|
|
103
|
+
categoryIndex: number;
|
|
104
|
+
/** 그 지점의 값 */
|
|
105
|
+
value: number;
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### SBarChartTooltipCategory
|
|
110
|
+
|
|
111
|
+
```ts
|
|
112
|
+
/** 툴팁 하단(`tooltipFooter`)이 받는 짚은 항목. */
|
|
113
|
+
export interface SBarChartTooltipCategory {
|
|
114
|
+
/** 카테고리 인덱스 */
|
|
115
|
+
categoryIndex: number;
|
|
116
|
+
/** 카테고리 이름 */
|
|
117
|
+
name: string;
|
|
118
|
+
/** 툴팁에 값이 뜬 지점들 — 값이 없는 계열은 빠진다 */
|
|
119
|
+
points: SBarChartPoint[];
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
/** 막대가 자라는 방향. */
|
|
3
|
+
export type SBarChartDirection = 'vertical' | 'horizontal';
|
|
4
|
+
/** 범례 위치. */
|
|
5
|
+
export type SBarChartLegendPosition = 'top' | 'bottom';
|
|
6
|
+
/**
|
|
7
|
+
* 색 팔레트.
|
|
8
|
+
* - `default` 파랑 한 색. 계열이 하나거나 색으로 나눌 것이 없을 때
|
|
9
|
+
* - `multi` 서로 무관한 항목(11색)을 순서대로
|
|
10
|
+
* - `gradation` 한 지표의 단계(6색)를 진한 쪽부터 순서대로
|
|
11
|
+
* - `custom` `colors` 로 고른 색을 순서대로
|
|
12
|
+
*/
|
|
13
|
+
export type SBarChartPalette = 'default' | 'multi' | 'gradation' | 'custom';
|
|
14
|
+
/**
|
|
15
|
+
* `palette='custom'` 에서 고를 수 있는 색 이름.
|
|
16
|
+
* positive=늘어남 · negative=줄어듦 · neutral=변화 없음 을 뜻하므로 뜻에 맞게 고른다.
|
|
17
|
+
*/
|
|
18
|
+
export type SBarChartColor = 'positivePrimary' | 'positiveSecondary' | 'negativePrimary' | 'negativeSecondary' | 'neutralPrimary' | 'neutralSecondary';
|
|
19
|
+
/** 툴팁·클릭이 가리키는 지점. */
|
|
20
|
+
export interface SBarChartPoint {
|
|
21
|
+
/** 계열 인덱스 */
|
|
22
|
+
seriesIndex: number;
|
|
23
|
+
/** 카테고리 인덱스 */
|
|
24
|
+
categoryIndex: number;
|
|
25
|
+
/** 그 지점의 값 */
|
|
26
|
+
value: number;
|
|
27
|
+
}
|
|
28
|
+
/** 툴팁 하단(`tooltipFooter`)이 받는 짚은 항목. */
|
|
29
|
+
export interface SBarChartTooltipCategory {
|
|
30
|
+
/** 카테고리 인덱스 */
|
|
31
|
+
categoryIndex: number;
|
|
32
|
+
/** 카테고리 이름 */
|
|
33
|
+
name: string;
|
|
34
|
+
/** 툴팁에 값이 뜬 지점들 — 값이 없는 계열은 빠진다 */
|
|
35
|
+
points: SBarChartPoint[];
|
|
36
|
+
}
|
|
37
|
+
/** 한 계열 — 범례 한 줄에 대응한다. */
|
|
38
|
+
export interface SBarChartSeries {
|
|
39
|
+
/** 범례·툴팁에 표시할 이름 */
|
|
40
|
+
name: string;
|
|
41
|
+
/** `categories` 와 같은 순서의 값. 짧으면 남는 항목은 막대를 그리지 않는다 */
|
|
42
|
+
data: number[];
|
|
43
|
+
}
|
|
44
|
+
export interface SBarChartProps {
|
|
45
|
+
/** 가로축(가로 막대면 세로축)에 놓일 항목 이름 */
|
|
46
|
+
categories: string[];
|
|
47
|
+
/** 계열 목록. 각 `data` 는 `categories` 와 같은 순서다 */
|
|
48
|
+
series: SBarChartSeries[];
|
|
49
|
+
/** 차트 제목 — 왼쪽 위에 놓인다 */
|
|
50
|
+
title?: string;
|
|
51
|
+
/** 단위 — 오른쪽 위에 "단위 : " 를 붙여 놓는다 */
|
|
52
|
+
unit?: string;
|
|
53
|
+
/** 막대가 자라는 방향 */
|
|
54
|
+
direction?: SBarChartDirection;
|
|
55
|
+
/**
|
|
56
|
+
* 계열을 나란히 놓는 대신 **한 막대에 쌓는다**. 항목의 크기와 그 안의 구성을 함께 볼 때 쓴다.
|
|
57
|
+
* 첫 계열이 기준선에 붙고, 값 라벨은 조각마다가 아니라 **항목의 합계**를 한 번 적는다.
|
|
58
|
+
* 음수는 0 아래로 따로 쌓이며, 값 축도 개별 값이 아닌 항목별 합계로 잡힌다
|
|
59
|
+
*/
|
|
60
|
+
stacked?: boolean;
|
|
61
|
+
/** 색 팔레트. 계열이 하나면 계열 대신 **항목**마다 색이 바뀐다. `custom` 일 때만 `colors` 를 본다 */
|
|
62
|
+
palette?: SBarChartPalette;
|
|
63
|
+
/** `palette='custom'` 에서 쓸 색 이름을 계열 순서대로. 계열보다 짧으면 앞에서부터 순환한다 */
|
|
64
|
+
colors?: SBarChartColor[];
|
|
65
|
+
/** 값 축의 최댓값. 주지 않으면 데이터에서 읽기 좋은 값으로 정한다 */
|
|
66
|
+
max?: number;
|
|
67
|
+
/** 값 축 눈금 개수 */
|
|
68
|
+
tickCount?: number;
|
|
69
|
+
/** 막대 두께 상한(px, 24~80). 낮추면 좌우 여백 상한도 같은 비율로 따라 내려온다 */
|
|
70
|
+
barSize?: number;
|
|
71
|
+
/** 막대마다 값을 적는다 */
|
|
72
|
+
showValueLabel?: boolean;
|
|
73
|
+
/** 범례를 보인다 */
|
|
74
|
+
showLegend?: boolean;
|
|
75
|
+
/** 범례 위치 */
|
|
76
|
+
legendPosition?: SBarChartLegendPosition;
|
|
77
|
+
/** 막대에 마우스를 올리면 값 상자를 띄운다 */
|
|
78
|
+
showTooltip?: boolean;
|
|
79
|
+
/** 값 표시 형식 */
|
|
80
|
+
formatValue?: (value: number) => string;
|
|
81
|
+
/** 차트 높이. **아래 축 텍스트까지 포함한 값**이다 — 그림은 그만큼 줄어든다 */
|
|
82
|
+
height?: number | string;
|
|
83
|
+
/** 막대를 눌렀을 때 */
|
|
84
|
+
onBarClick?: (point: SBarChartPoint) => void;
|
|
85
|
+
/**
|
|
86
|
+
* 툴팁의 값 아래에 덧붙일 내용. 짚은 항목을 받아 그린다 — 계열 값만으로 모자란 맥락
|
|
87
|
+
* (합계, 전월 대비 등)을 적는다. 툴팁은 누를 수 없으므로 버튼·링크는 넣지 않는다
|
|
88
|
+
*/
|
|
89
|
+
tooltipFooter?: (category: SBarChartTooltipCategory) => ReactNode;
|
|
90
|
+
className?: string;
|
|
91
|
+
style?: CSSProperties;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* SBarChart — 막대 그래프.
|
|
95
|
+
*
|
|
96
|
+
* 값은 항상 0 에서 자란다. 음수가 있으면 기준선이 축 가운데로 내려오고 막대가
|
|
97
|
+
* 아래(또는 왼쪽)로 자란다.
|
|
98
|
+
*/
|
|
99
|
+
export declare const SBarChart: import("react").ForwardRefExoticComponent<SBarChartProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SBarChart 의 치수·색 상수와 막대 배치 계산.
|
|
3
|
+
*/
|
|
4
|
+
import { AXIS_EDGE_PADDING } from '../../lib/chart/cartesian';
|
|
5
|
+
export { AXIS_EDGE_PADDING };
|
|
6
|
+
/**
|
|
7
|
+
* 막대 두께 하한(px) — 시안 `bar width min : 24`.
|
|
8
|
+
* 이보다 얇아지지 않는다. 카테고리가 너무 많으면 막대가 겹치는데, 그건
|
|
9
|
+
* "얇아서 못 읽는 그래프"보다 낫다는 디자인 판단이다(그때는 가로 막대를 쓴다).
|
|
10
|
+
*/
|
|
11
|
+
export declare const BAR_SIZE_MIN = 24;
|
|
12
|
+
/** 막대 두께 상한(px) — 시안 `bar width max : 80`. 자리가 남으면 여기까지 두꺼워진다. */
|
|
13
|
+
export declare const BAR_SIZE_MAX = 80;
|
|
14
|
+
/** 한 카테고리 안, 계열 막대 사이 간격(px) — 시안 `bar gap : 6 (fixed)`. */
|
|
15
|
+
export declare const BAR_GAP = 6;
|
|
16
|
+
/** 막대 묶음 좌우 여백의 하한(px) — 시안 `bar group paddingX min : 8`. */
|
|
17
|
+
export declare const GROUP_PADDING_MIN = 8;
|
|
18
|
+
/** 막대 묶음 좌우 여백의 상한(px) — 시안 `bar group paddingX max : 24`. */
|
|
19
|
+
export declare const GROUP_PADDING_MAX = 24;
|
|
20
|
+
/**
|
|
21
|
+
* 막대 끝과 값 라벨 사이 간격(px) — 토큰 `chart.dataLabel.gap`(점·막대 ↔ 값 라벨).
|
|
22
|
+
* 라벨 자리를 좌표로 잡으므로 `var()` 가 아니라 같은 값을 손으로 맞춰 둔다.
|
|
23
|
+
*/
|
|
24
|
+
export declare const VALUE_LABEL_GAP = 4;
|
|
25
|
+
/**
|
|
26
|
+
* 막대 모서리 반경(px). SVG 경로를 좌표로 계산하므로 `var(--cmp-chart-bar-radius)`
|
|
27
|
+
* 문자열이 아니라 **숫자**여야 한다 — 시안의 clipPath 도 같은 이유로 8 을 좌표에
|
|
28
|
+
* 박아 두고 있다. 토큰(`chart.bar.radius`)과 같은 값을 손으로 맞춰 둔 유일한 자리다.
|
|
29
|
+
*/
|
|
30
|
+
export declare const BAR_RADIUS = 8;
|
|
31
|
+
/**
|
|
32
|
+
* 기본 불투명도는 막대만의 값이 아니라 차트 공용(`chart.opacity.default`)이다 —
|
|
33
|
+
* 도넛·파이도 같은 값을 쓴다. 흐려진 상태만 막대 고유(`chart.bar.opacity.dimmed`)다.
|
|
34
|
+
*/
|
|
35
|
+
export declare const BAR_OPACITY_DEFAULT = "var(--cmp-chart-opacity-default)";
|
|
36
|
+
export declare const BAR_OPACITY_DIMMED = "var(--cmp-chart-bar-opacity-dimmed)";
|
|
37
|
+
/**
|
|
38
|
+
* 호버한 항목의 막대 — 완전히 불투명하다.
|
|
39
|
+
*
|
|
40
|
+
* `--opacity-*` 스케일에 100% 가 없다. "투명하지 않음"은 값이 아니라 값의 부재라
|
|
41
|
+
* 디자인 토큰으로 두지 않는 쪽이 맞으므로, 여기서는 토큰 대신 1 을 쓴다.
|
|
42
|
+
*/
|
|
43
|
+
export declare const BAR_OPACITY_HOVER = 1;
|
|
44
|
+
export declare const BAR_DATA_LABEL_COLOR = "var(--cmp-chart-dataLabel-color-default)";
|
|
45
|
+
/**
|
|
46
|
+
* 값 라벨의 타이포 — 호버한 항목만 굵고 크게 뜬다.
|
|
47
|
+
*
|
|
48
|
+
* 타이포 토큰은 `--cmp-*` 변수로 나오지 않고 `.typo-*` 유틸로만 나오므로,
|
|
49
|
+
* `chart.dataLabel.typography.default`(`body.sm.medium`) ·
|
|
50
|
+
* `.hover`(`body.md.bold`) 에 대응하는 클래스를 여기서 짝지어 둔다.
|
|
51
|
+
*/
|
|
52
|
+
export declare const BAR_DATA_LABEL_TYPO = "typo-body-sm-medium";
|
|
53
|
+
export declare const BAR_DATA_LABEL_TYPO_HOVER = "typo-body-md-bold";
|
|
54
|
+
export interface BandLayout {
|
|
55
|
+
/** 카테고리 하나가 차지하는 폭(px) */
|
|
56
|
+
band: number;
|
|
57
|
+
/** 막대 하나의 두께(px) */
|
|
58
|
+
bar: number;
|
|
59
|
+
/** 계열 막대 묶음 전체의 두께(px) */
|
|
60
|
+
group: number;
|
|
61
|
+
/** 묶음 좌우로 실제로 남은 여백(px) */
|
|
62
|
+
padding: number;
|
|
63
|
+
/** 카테고리가 적어 band 가 상한에 걸렸을 때, 막대 전체를 가운데로 미는 거리(px) */
|
|
64
|
+
offset: number;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 축을 카테고리 수만큼 균등하게 나누고(band), 그 가운데에 계열 막대를 모아 놓는다.
|
|
68
|
+
*
|
|
69
|
+
* band 중앙 정렬이라 카테고리 라벨도 같은 비율로 놓으면 자동으로 막대 위에 온다 —
|
|
70
|
+
* 라벨과 막대의 정렬을 따로 맞출 필요가 없다.
|
|
71
|
+
*
|
|
72
|
+
* **두께와 여백은 한 손잡이로 함께 움직인다.** 막대 하나가 차지할 자리는 최소
|
|
73
|
+
* `8+24+8`(=40px)에서 최대 `24+80+24`(=128px)까지 늘어나는데, 그 사이 어디에 있든
|
|
74
|
+
* 두께와 여백이 같은 비율(`t`)로 커진다. 여백만 8인 채 두께가 80이 되는 조합은 없다.
|
|
75
|
+
*
|
|
76
|
+
* bar = 24 + 56·t
|
|
77
|
+
* padding = 8 + 16·t (t ∈ [0, 1])
|
|
78
|
+
*
|
|
79
|
+
* 자리가 최소보다 좁으면 `t=0` 에서 멈춘다 — 더 얇아지는 대신 호출 쪽이 스크롤을
|
|
80
|
+
* 만든다. 반대로 자리가 남으면 `t=1` 에서 멈추고 남는 폭은 `offset` 으로 가운데 모은다.
|
|
81
|
+
*
|
|
82
|
+
* 양끝 `AXIS_EDGE_PADDING` 은 band 가 나눠 갖기 전에 먼저 떼어 둔다 — band 안의
|
|
83
|
+
* `padding` 과 달리 카테고리 수·두께와 무관하게 항상 그대로 남아야 한다.
|
|
84
|
+
*/
|
|
85
|
+
export declare function bandLayout(size: number, categoryCount: number, seriesCount: number, barSizeMax?: number): BandLayout;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { SBarChart, type SBarChartProps, type SBarChartSeries, type SBarChartPoint, type SBarChartTooltipCategory, type SBarChartPalette, type SBarChartColor, type SBarChartDirection, type SBarChartLegendPosition, } from './SBarChart';
|
|
2
|
+
export { BAR_SIZE_MIN, BAR_SIZE_MAX, BAR_GAP } from './barChart.config';
|
|
@@ -18,13 +18,14 @@
|
|
|
18
18
|
| `readOnly?` | `boolean` | `false` | |
|
|
19
19
|
| `rules?` | `Rule[]` | — | |
|
|
20
20
|
| `status?` | `SFieldStatus` | — | |
|
|
21
|
-
| `focused?` | `boolean` | — |
|
|
22
|
-
| `hovered?` | `boolean` | — |
|
|
21
|
+
| `focused?` | `boolean` | — | 포커스 상태를 밖에서 지정한다 — 강조 테두리·링이 즉시 걸린다 (SField 로 그대로 넘어간다) |
|
|
22
|
+
| `hovered?` | `boolean` | — | 호버 상태를 밖에서 지정한다 — 강조는 `focused` 와 같다 (SField 로 그대로 넘어간다) |
|
|
23
23
|
| `prefix?` | `ReactNode` | — | 입력 앞 슬롯 |
|
|
24
24
|
| `suffix?` | `ReactNode` | — | 입력 뒤 슬롯 |
|
|
25
|
-
| `
|
|
25
|
+
| `inputClassName?` | `string` | — | |
|
|
26
26
|
| `inputStyle?` | `CSSProperties` | — | |
|
|
27
27
|
| `label?` | `string` | — | |
|
|
28
|
+
| `labelPosition?` | `SFieldLabelPosition` | — | 레이블 위치 — `top` 이면 라벨이 컨트롤 위에 선다 (SField 로 그대로 넘어간다). |
|
|
28
29
|
| `labelWidth?` | `number \| string` | — | |
|
|
29
30
|
| `icon?` | `SIconName` | — | |
|
|
30
31
|
| `iconColor?` | `SColor` | — | |
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
| `hint?` | `string` | — | |
|
|
36
37
|
| `error?` | `boolean` | — | |
|
|
37
38
|
| `errorMessage?` | `string` | — | |
|
|
38
|
-
| `width?` | `
|
|
39
|
+
| `width?` | `SFieldWidth` | — | 컨트롤 너비 — 폭 등급(`'xs' | 'sm' | 'md' | 'lg' | 'xl'`) · 숫자=px · CSS 길이. 등급은 `--cmp-field-width-*` 토큰으로 풀리며 `maxLength`(= 스키마 상한)로 고른다. 상한이 `xl` 을 넘거나 상한이 없으면 `"100%"`. (`sellmate/field-width-grade` 가 검사한다) |
|
|
39
40
|
| `className?` | `string` | — | |
|
|
40
41
|
| `style?` | `CSSProperties` | — | |
|
|
41
42
|
|
|
@@ -47,6 +48,14 @@
|
|
|
47
48
|
| `onFocus` | `() => void` | |
|
|
48
49
|
| `onBlur` | `() => void` | |
|
|
49
50
|
|
|
51
|
+
## Types
|
|
52
|
+
|
|
53
|
+
### SBarcodeInputSize
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
export type SBarcodeInputSize = SFieldSize;
|
|
57
|
+
```
|
|
58
|
+
|
|
50
59
|
## Dependencies
|
|
51
60
|
|
|
52
61
|
### Depends on
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
-
import { type SFieldSize, type SFieldAddonAlign, type SFieldStatus } from '../SField';
|
|
2
|
+
import { type SFieldSize, type SFieldAddonAlign, type SFieldStatus, type SFieldLabelPosition } from '../SField';
|
|
3
3
|
import { type SIconName } from '../SIcon';
|
|
4
4
|
import { type SColor } from '../../lib/color';
|
|
5
5
|
import { type Rule } from '../../lib/form';
|
|
6
6
|
import { type STooltipProps } from '../STooltip';
|
|
7
|
+
import { type SFieldWidth } from '../../lib/field-width';
|
|
7
8
|
export type SBarcodeInputSize = SFieldSize;
|
|
8
9
|
export interface SBarcodeInputProps {
|
|
9
10
|
value?: string | number | null;
|
|
@@ -20,15 +21,24 @@ export interface SBarcodeInputProps {
|
|
|
20
21
|
readOnly?: boolean;
|
|
21
22
|
rules?: Rule[];
|
|
22
23
|
status?: SFieldStatus;
|
|
24
|
+
/** 포커스 상태를 밖에서 지정한다 — 강조 테두리·링이 즉시 걸린다 (SField 로 그대로 넘어간다) */
|
|
23
25
|
focused?: boolean;
|
|
26
|
+
/** 호버 상태를 밖에서 지정한다 — 강조는 `focused` 와 같다 (SField 로 그대로 넘어간다) */
|
|
24
27
|
hovered?: boolean;
|
|
25
28
|
/** 입력 앞 슬롯 */
|
|
26
29
|
prefix?: ReactNode;
|
|
27
30
|
/** 입력 뒤 슬롯 */
|
|
28
31
|
suffix?: ReactNode;
|
|
29
|
-
|
|
32
|
+
inputClassName?: string;
|
|
30
33
|
inputStyle?: CSSProperties;
|
|
31
34
|
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* 레이블 위치 — `top` 이면 라벨이 컨트롤 위에 선다 (SField 로 그대로 넘어간다).
|
|
37
|
+
*
|
|
38
|
+
* @nodemo SField 에서 내려오는 공통 필드 옵션이다 — 같은 데모를 컨트롤마다 복제하지 않고
|
|
39
|
+
* 대표 컨트롤 `SInput` 과 `SField` 에 한 번 둔다 (scripts/check-docs-coverage.mjs 머리말).
|
|
40
|
+
*/
|
|
41
|
+
labelPosition?: SFieldLabelPosition;
|
|
32
42
|
labelWidth?: number | string;
|
|
33
43
|
icon?: SIconName;
|
|
34
44
|
iconColor?: SColor;
|
|
@@ -39,7 +49,12 @@ export interface SBarcodeInputProps {
|
|
|
39
49
|
hint?: string;
|
|
40
50
|
error?: boolean;
|
|
41
51
|
errorMessage?: string;
|
|
42
|
-
|
|
52
|
+
/**
|
|
53
|
+
* 컨트롤 너비 — 폭 등급(`'xs' | 'sm' | 'md' | 'lg' | 'xl'`) · 숫자=px · CSS 길이.
|
|
54
|
+
* 등급은 `--cmp-field-width-*` 토큰으로 풀리며 `maxLength`(= 스키마 상한)로 고른다.
|
|
55
|
+
* 상한이 `xl` 을 넘거나 상한이 없으면 `"100%"`. (`sellmate/field-width-grade` 가 검사한다)
|
|
56
|
+
*/
|
|
57
|
+
width?: SFieldWidth;
|
|
43
58
|
className?: string;
|
|
44
59
|
style?: CSSProperties;
|
|
45
60
|
}
|
|
@@ -15,15 +15,52 @@
|
|
|
15
15
|
| `rightIcon?` | `SIconName` | — | 레이블 오른쪽 아이콘 |
|
|
16
16
|
| `label?` | `string` | — | 버튼 텍스트 (문자열만 — 아이콘은 icon/rightIcon 사용) |
|
|
17
17
|
|
|
18
|
+
## Types
|
|
19
|
+
|
|
20
|
+
### SButtonColor
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
export type SButtonColor = (typeof BUTTON_COLORS)[number];
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### SButtonSize
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
export type SButtonSize = (typeof BUTTON_SIZES)[number];
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### BUTTON_COLORS
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
/**
|
|
36
|
+
* SButton 색상/사이즈 설정 — sd-button(component.button 토큰) 충실 포팅.
|
|
37
|
+
* Stencil `name`(예: primary_sm)의 preset을 color + outline(boolean) + size 로 분리.
|
|
38
|
+
* - primary / danger : solid·outline 모두 지원
|
|
39
|
+
* - secondary : solid 전용 (outline 스타일 없음 → outline 무시)
|
|
40
|
+
* - neutral : 흰 배경 고정, outline 은 회색 테두리만 추가(solid = 테두리 없는 흰 버튼)
|
|
41
|
+
* 색상은 theme.css의 `--cmp-button-*` CSS 변수를 참조한다.
|
|
42
|
+
*/
|
|
43
|
+
export const BUTTON_COLORS = ['primary', 'secondary', 'neutral', 'danger'] as const;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### BUTTON_SIZES
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
export const BUTTON_SIZES = ['xs', 'sm', 'md', 'lg'] as const;
|
|
50
|
+
```
|
|
51
|
+
|
|
18
52
|
## Dependencies
|
|
19
53
|
|
|
20
54
|
### Used by
|
|
21
55
|
|
|
56
|
+
- [SCalendarBoard](../SCalendarBoard)
|
|
22
57
|
- [SConfirmModal](../SConfirmModal)
|
|
23
58
|
- [SDropdownButton](../SDropdownButton)
|
|
59
|
+
- [SEditor](../SEditor)
|
|
24
60
|
- [SFooter](../SFooter)
|
|
25
61
|
- [SKeyValueTable](../SKeyValueTable)
|
|
26
62
|
- [SLoadingModal](../SLoadingModal)
|
|
63
|
+
- [SLoginCard](../SLoginCard)
|
|
27
64
|
- [SPopover](../SPopover)
|
|
28
65
|
- [SToast](../SToast)
|
|
29
66
|
|
|
@@ -36,11 +73,14 @@
|
|
|
36
73
|
```mermaid
|
|
37
74
|
graph TD;
|
|
38
75
|
SButton --> SIcon
|
|
76
|
+
SCalendarBoard --> SButton
|
|
39
77
|
SConfirmModal --> SButton
|
|
40
78
|
SDropdownButton --> SButton
|
|
79
|
+
SEditor --> SButton
|
|
41
80
|
SFooter --> SButton
|
|
42
81
|
SKeyValueTable --> SButton
|
|
43
82
|
SLoadingModal --> SButton
|
|
83
|
+
SLoginCard --> SButton
|
|
44
84
|
SPopover --> SButton
|
|
45
85
|
SToast --> SButton
|
|
46
86
|
style SButton fill:#f9f,stroke:#333,stroke-width:4px
|
|
@@ -22,6 +22,19 @@
|
|
|
22
22
|
| `onValueChange` | `(date: string) => void` | 선택 변경 (sdUpdate) |
|
|
23
23
|
| `onViewChange` | `(v: { year: number; month: number }) => void` | 보이는 연·월 변경 (sdViewChange) |
|
|
24
24
|
|
|
25
|
+
## Types
|
|
26
|
+
|
|
27
|
+
### SCalendarEventGroup
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
export interface SCalendarEventGroup {
|
|
31
|
+
/** 도트 색상. 팔레트 키(`grey_65`, `red_95` …) 또는 임의 CSS 색상 */
|
|
32
|
+
color: SColor;
|
|
33
|
+
label: string;
|
|
34
|
+
dates: string[];
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
25
38
|
## Dependencies
|
|
26
39
|
|
|
27
40
|
### Used by
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type HTMLAttributes, type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
import type { CalendarBoardSegment } from './calendar-board-layout';
|
|
3
|
+
import { type SCalendarBoardDayColor } from './calendarBoard.config';
|
|
4
|
+
import type { SCalendarBoardEvent } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* 달력의 날짜 한 칸 (SCalendarBoard 내부 조립 요소).
|
|
7
|
+
* 위에 날짜 숫자가 서고, 그 아래로 일정 막대가 줄 단위로 얹힌다.
|
|
8
|
+
* `body` 를 받은 칸은 아래를 통째로 그것에 내준다 — 일정은 그리지 않는다.
|
|
9
|
+
*/
|
|
10
|
+
export declare const CalendarDayCard: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
/** YYYY-MM-DD */
|
|
12
|
+
date: string;
|
|
13
|
+
/** 1-31 */
|
|
14
|
+
day: number;
|
|
15
|
+
/** 보고 있는 달에 속한 날짜인지 */
|
|
16
|
+
inCurrentMonth: boolean;
|
|
17
|
+
isToday: boolean;
|
|
18
|
+
isSelected: boolean;
|
|
19
|
+
/** 칸을 눌러 고를 수 있는지 */
|
|
20
|
+
selectable: boolean;
|
|
21
|
+
/** 칸 배경 */
|
|
22
|
+
color: SCalendarBoardDayColor;
|
|
23
|
+
/**
|
|
24
|
+
* **이 칸에서 시작하는** 일정 막대. 여러 날에 걸친 일정은 시작 칸이 그리고 오른쪽 칸 위로 뻗는다 —
|
|
25
|
+
* 지나가는 칸은 자기 줄을 비워 두므로(배치 계산이 이미 잡아 둔다) 겹치지 않는다.
|
|
26
|
+
*/
|
|
27
|
+
segments: CalendarBoardSegment[];
|
|
28
|
+
/** 이 날짜에 걸친 일정 수 — 하나라도 있으면 칸을 눌러 목록 판을 열 수 있다 */
|
|
29
|
+
dayEventCount: number;
|
|
30
|
+
/**
|
|
31
|
+
* 일정 자리를 대신 차지할 칸 본문 (SCalendarBoard 의 `dayContent`).
|
|
32
|
+
* 주면 일정·"더보기" 를 그리지 않는다. `content` 는 HTMLAttributes 가 이미 쓰는 이름이라 피했다.
|
|
33
|
+
*/
|
|
34
|
+
body?: ReactNode;
|
|
35
|
+
/** 접혀 있는 일정 수. 0 이면 "더보기" 를 그리지 않는다 */
|
|
36
|
+
hiddenCount: number;
|
|
37
|
+
/** "더보기" 가 앉는 줄. 접힌 것이 없는 주는 -1 */
|
|
38
|
+
moreLane: number;
|
|
39
|
+
/** "더보기" 자리를 집중된 일정에 내줬는지 — 내준 칸은 "더보기" 를 그리지 않는다 */
|
|
40
|
+
moreReplaced: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* 집중할 일정의 `id` (SCalendarBoard 의 `focusedEventId`).
|
|
43
|
+
* 주면 그 일정만 또렷하게 남고 이 칸의 나머지 일정과 "더보기" 는 흐려진다.
|
|
44
|
+
*/
|
|
45
|
+
focusedEventId?: string | null;
|
|
46
|
+
/** 이 칸의 일정 목록 판이 열려 있는지 */
|
|
47
|
+
isOpen: boolean;
|
|
48
|
+
moreLabel?: string;
|
|
49
|
+
onDaySelect?: (date: string) => void;
|
|
50
|
+
onEventClick?: (event: SCalendarBoardEvent, e: MouseEvent<HTMLButtonElement>) => void;
|
|
51
|
+
/** 일정 목록 판 열기 — 칸 자체를 눌렀을 때와 "더보기" 를 눌렀을 때 모두 여기로 온다 */
|
|
52
|
+
onOpenEvents?: () => void;
|
|
53
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type MouseEvent } from 'react';
|
|
2
|
+
import type { SCalendarBoardEvent } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* 한 날짜의 일정을 전부 펼쳐 보여주는 목록 판 (SCalendarBoard 내부 조립 요소).
|
|
5
|
+
* 칸을 누르거나 "N개 더보기" 를 누르면 **그 날짜 칸을 덮은 채** 좌·상으로 아웃덴트만큼 빠져나와 뜬다 —
|
|
6
|
+
* 칸에서 자라난 것처럼 보이게 하기 위함이다. 위치와 최소 높이는 SCalendarBoard 가 정하고,
|
|
7
|
+
* 그보다 내용이 길면 자라다 상한에서 멈춘다.
|
|
8
|
+
*/
|
|
9
|
+
export declare function CalendarDayEventListBox({ date, events, onEventClick, minWidth, minHeight, onClose, closeLabel, }: {
|
|
10
|
+
/** YYYY-MM-DD */
|
|
11
|
+
date: string;
|
|
12
|
+
/**
|
|
13
|
+
* 판이 적어도 이만큼은 넓어야 한다(px) — 덮는 칸 너비 + 좌·우 아웃덴트가 온다.
|
|
14
|
+
* 내용이 넓으면 글자가 잘리지 않게 여기서부터 자란다. 칸을 못 쟀으면 내용 너비를 따른다.
|
|
15
|
+
*/
|
|
16
|
+
minWidth?: number;
|
|
17
|
+
/**
|
|
18
|
+
* 판이 적어도 이만큼은 높아야 한다(px) — 덮는 칸 높이 + 상·하 아웃덴트가 온다.
|
|
19
|
+
* 내용이 이보다 짧아도 칸을 딱 감싸는 모양이 유지된다. 칸을 못 쟀으면 내용 높이를 따른다.
|
|
20
|
+
*/
|
|
21
|
+
minHeight?: number;
|
|
22
|
+
events: SCalendarBoardEvent[];
|
|
23
|
+
onEventClick?: (event: SCalendarBoardEvent, e: MouseEvent<HTMLButtonElement>) => void;
|
|
24
|
+
onClose?: () => void;
|
|
25
|
+
closeLabel?: string;
|
|
26
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type CSSProperties, type MouseEvent } from 'react';
|
|
2
|
+
import type { SCalendarBoardEvent } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* 달력 칸/패널 안의 일정 한 줄 (SCalendarBoard 내부 조립 요소).
|
|
5
|
+
*
|
|
6
|
+
* 점 → 레이블(강조) → 설명 → `/` → 값 순서로 한 줄에 눕는다.
|
|
7
|
+
* 가운데 레이블 묶음만 줄어들고 값은 끝에 고정되므로, 좁은 칸에서도 금액이 잘리지 않는다.
|
|
8
|
+
*/
|
|
9
|
+
export declare function CalendarEventButton({ event, onSelect, flatStart, flatEnd, dimmed, className, style, }: {
|
|
10
|
+
event: SCalendarBoardEvent;
|
|
11
|
+
onSelect?: (event: SCalendarBoardEvent, e: MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
+
/** 왼쪽 끝이 잘린 조각 — 앞 주에서 이어지므로 모서리를 평평하게 한다 */
|
|
13
|
+
flatStart?: boolean;
|
|
14
|
+
/** 오른쪽 끝이 잘린 조각 — 다음 주로 이어진다 */
|
|
15
|
+
flatEnd?: boolean;
|
|
16
|
+
/** 다른 일정에 집중하는 동안 물러나 있다 — 흐려질 뿐 계속 눌린다 */
|
|
17
|
+
dimmed?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type CSSProperties, type MouseEvent } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 칸에 다 담기지 않은 일정 수를 알리는 "N개 더보기" 줄 (SCalendarBoard 내부 조립 요소).
|
|
4
|
+
* 개수는 강조색, 뒷말은 본문색으로 갈라 개수가 먼저 읽히게 한다.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CalendarMoreButton: import("react").ForwardRefExoticComponent<{
|
|
7
|
+
count: number;
|
|
8
|
+
/** 개수 뒤에 붙는 말 */
|
|
9
|
+
label?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 어느 일정에 집중하는 동안 물러나 있다. 여기 남아 있다는 것은 접힌 것 중에
|
|
12
|
+
* 집중 대상이 없다는 뜻이라(있었다면 이 자리를 내줬다) 함께 흐려진다.
|
|
13
|
+
*/
|
|
14
|
+
dimmed?: boolean;
|
|
15
|
+
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|