sellmate-design-system-react 9.0.0-beta.6 → 9.0.0-beta.61
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 +1268 -163
- package/README.md +124 -9
- 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/SBadge/README.md +27 -0
- package/dist/components/SBadge/SBadge.d.ts +1 -1
- package/dist/components/SBarChart/README.md +105 -0
- package/dist/components/SBarChart/SBarChart.d.ts +81 -0
- package/dist/components/SBarChart/barChart.config.d.ts +86 -0
- package/dist/components/SBarChart/index.d.ts +2 -0
- package/dist/components/SBarcodeInput/README.md +12 -4
- package/dist/components/SBarcodeInput/SBarcodeInput.d.ts +10 -2
- package/dist/components/SButton/README.md +40 -0
- package/dist/components/SCalendar/README.md +13 -0
- package/dist/components/SCalendarBoard/CalendarDayCard.d.ts +38 -0
- package/dist/components/SCalendarBoard/CalendarDayEventListBox.d.ts +26 -0
- package/dist/components/SCalendarBoard/CalendarEventButton.d.ts +13 -0
- package/dist/components/SCalendarBoard/CalendarMoreButton.d.ts +12 -0
- package/dist/components/SCalendarBoard/README.md +138 -0
- package/dist/components/SCalendarBoard/SCalendarBoard.d.ts +68 -0
- package/dist/components/SCalendarBoard/calendarBoard.config.d.ts +33 -0
- package/dist/components/SCalendarBoard/index.d.ts +3 -0
- package/dist/components/SCalendarBoard/types.d.ts +31 -0
- package/dist/components/SCallout/README.md +16 -1
- package/dist/components/SCallout/SCallout.d.ts +9 -4
- package/dist/components/SCard/README.md +16 -0
- package/dist/components/SCard/SCard.d.ts +17 -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 +16 -2
- package/dist/components/SChipInput/SChipInput.d.ts +8 -2
- 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/SDatePicker/README.md +20 -2
- package/dist/components/SDatePicker/SDatePicker.d.ts +27 -4
- package/dist/components/SDateRangePicker/README.md +20 -4
- package/dist/components/SDateRangePicker/SDateRangePicker.d.ts +29 -6
- package/dist/components/SDivider/README.md +7 -0
- package/dist/components/SDivider/SDivider.d.ts +11 -0
- package/dist/components/SDonutChart/README.md +93 -0
- package/dist/components/SDonutChart/SDonutChart.d.ts +71 -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 +203 -0
- package/dist/components/SEditor/SEditor.d.ts +114 -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 +29 -5
- package/dist/components/SField/SField.d.ts +20 -8
- package/dist/components/SFilePicker/README.md +18 -4
- package/dist/components/SFilePicker/SFilePicker.d.ts +11 -5
- package/dist/components/SFooter/README.md +30 -0
- package/dist/components/SFooter/SFooter.d.ts +18 -12
- package/dist/components/SForm/README.md +12 -1
- package/dist/components/SForm/SForm.d.ts +2 -2
- package/dist/components/SGhostButton/README.md +26 -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 +18 -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 +20 -1
- package/dist/components/SImage/SImage.d.ts +2 -2
- package/dist/components/SInput/README.md +6 -4
- package/dist/components/SInput/SInput.d.ts +10 -4
- 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 +106 -0
- package/dist/components/SLineChart/SLineChart.d.ts +88 -0
- package/dist/components/SLineChart/index.d.ts +1 -0
- package/dist/components/SLineChart/lineChart.config.d.ts +76 -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 -3
- package/dist/components/SList/SList.d.ts +7 -5
- 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/loading.d.ts +18 -2
- 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/SModal/README.md +15 -5
- package/dist/components/SModal/SModal.d.ts +1 -1
- package/dist/components/SNumberInput/README.md +17 -8
- package/dist/components/SNumberInput/SNumberInput.d.ts +34 -6
- package/dist/components/SPage/README.md +87 -5
- package/dist/components/SPage/SPage.d.ts +29 -9
- 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 +18 -0
- package/dist/components/SPieChart/README.md +90 -0
- package/dist/components/SPieChart/SPieChart.d.ts +64 -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 +37 -0
- package/dist/components/SSectionHeaderCard/SSectionHeaderCard.d.ts +10 -0
- package/dist/components/SSelect/README.md +37 -11
- package/dist/components/SSelect/SSelect.d.ts +72 -8
- 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 +10 -5
- package/dist/components/STextarea/STextarea.d.ts +35 -6
- package/dist/components/STimePicker/README.md +17 -2
- package/dist/components/STimePicker/STimePicker.d.ts +21 -5
- package/dist/components/STimePicker/timepicker.config.d.ts +4 -2
- package/dist/components/STimeRangePicker/README.md +29 -2
- package/dist/components/STimeRangePicker/STimeRangePicker.d.ts +20 -5
- 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 +44 -4
- package/dist/components/STree/STree.d.ts +24 -6
- package/dist/components/STree/STree.examples.d.ts +2 -0
- package/dist/components/STree/index.d.ts +1 -1
- package/dist/docs/Gallery.d.ts +9 -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 +20002 -10290
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/index.js +19931 -10290
- package/dist/index.js.map +1 -1
- package/dist/lib/chart/cartesian.d.ts +56 -0
- package/dist/lib/chart/frame.d.ts +17 -0
- package/dist/lib/chart/legend.d.ts +15 -0
- package/dist/lib/chart/palette.d.ts +26 -0
- package/dist/lib/chart/radial.d.ts +78 -0
- package/dist/lib/chart/scale.d.ts +26 -0
- package/dist/lib/chart/tooltip.d.ts +43 -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/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/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/lib/truncated-value-tooltip.d.ts +18 -0
- package/dist/llms-full.txt +5010 -417
- package/dist/llms.txt +1308 -179
- package/dist/playground/categories.d.ts +19 -0
- package/dist/pretendard.css +937 -0
- package/dist/styles.css +3209 -275
- package/dist/theme.css +475 -31
- package/eslint/index.mjs +14 -0
- package/eslint/lib/table-column.mjs +26 -0
- package/eslint/rules/divider-vertical-height.mjs +137 -0
- package/eslint/rules/field-width-grade.d.mts +41 -0
- package/eslint/rules/field-width-grade.mjs +311 -0
- package/eslint/rules/table-column-width.mjs +110 -0
- package/eslint/scale.gen.mjs +6 -3
- package/package.json +15 -3
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type CSSProperties } 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
|
+
/** 한 계열 — 범례 한 줄에 대응한다. */
|
|
29
|
+
export interface SBarChartSeries {
|
|
30
|
+
/** 범례·툴팁에 표시할 이름 */
|
|
31
|
+
name: string;
|
|
32
|
+
/** `categories` 와 같은 순서의 값. 짧으면 남는 항목은 막대를 그리지 않는다 */
|
|
33
|
+
data: number[];
|
|
34
|
+
}
|
|
35
|
+
export interface SBarChartProps {
|
|
36
|
+
/** 가로축(가로 막대면 세로축)에 놓일 항목 이름 */
|
|
37
|
+
categories: string[];
|
|
38
|
+
/** 계열 목록. 각 `data` 는 `categories` 와 같은 순서다 */
|
|
39
|
+
series: SBarChartSeries[];
|
|
40
|
+
/** 막대가 자라는 방향 */
|
|
41
|
+
direction?: SBarChartDirection;
|
|
42
|
+
/**
|
|
43
|
+
* 계열을 나란히 놓는 대신 **한 막대에 쌓는다**. 항목의 크기와 그 안의 구성을 함께 볼 때 쓴다.
|
|
44
|
+
* 첫 계열이 기준선에 붙고, 값 라벨은 조각마다가 아니라 **항목의 합계**를 한 번 적는다.
|
|
45
|
+
* 음수는 0 아래로 따로 쌓이며, 값 축도 개별 값이 아닌 항목별 합계로 잡힌다
|
|
46
|
+
*/
|
|
47
|
+
stacked?: boolean;
|
|
48
|
+
/** 색 팔레트. 계열이 하나면 계열 대신 **항목**마다 색이 바뀐다. `custom` 일 때만 `colors` 를 본다 */
|
|
49
|
+
palette?: SBarChartPalette;
|
|
50
|
+
/** `palette='custom'` 에서 쓸 색 이름을 계열 순서대로. 계열보다 짧으면 앞에서부터 순환한다 */
|
|
51
|
+
colors?: SBarChartColor[];
|
|
52
|
+
/** 값 축의 최댓값. 주지 않으면 데이터에서 읽기 좋은 값으로 정한다 */
|
|
53
|
+
max?: number;
|
|
54
|
+
/** 값 축 눈금 개수 */
|
|
55
|
+
tickCount?: number;
|
|
56
|
+
/** 막대 두께 상한(px, 24~80). 낮추면 좌우 여백 상한도 같은 비율로 따라 내려온다 */
|
|
57
|
+
barSize?: number;
|
|
58
|
+
/** 막대마다 값을 적는다 */
|
|
59
|
+
showValueLabel?: boolean;
|
|
60
|
+
/** 범례를 보인다 */
|
|
61
|
+
showLegend?: boolean;
|
|
62
|
+
/** 범례 위치 */
|
|
63
|
+
legendPosition?: SBarChartLegendPosition;
|
|
64
|
+
/** 막대에 마우스를 올리면 값 상자를 띄운다 */
|
|
65
|
+
showTooltip?: boolean;
|
|
66
|
+
/** 값 표시 형식 */
|
|
67
|
+
formatValue?: (value: number) => string;
|
|
68
|
+
/** 차트 높이. **아래 축 텍스트까지 포함한 값**이다 — 그림은 그만큼 줄어든다 */
|
|
69
|
+
height?: number | string;
|
|
70
|
+
/** 막대를 눌렀을 때 */
|
|
71
|
+
onBarClick?: (point: SBarChartPoint) => void;
|
|
72
|
+
className?: string;
|
|
73
|
+
style?: CSSProperties;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* SBarChart — 막대 그래프.
|
|
77
|
+
*
|
|
78
|
+
* 값은 항상 0 에서 자란다. 음수가 있으면 기준선이 축 가운데로 내려오고 막대가
|
|
79
|
+
* 아래(또는 왼쪽)로 자란다.
|
|
80
|
+
*/
|
|
81
|
+
export declare const SBarChart: import("react").ForwardRefExoticComponent<SBarChartProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
/** 막대 끝과 값 라벨 사이 간격(px) — 시안 실측. */
|
|
21
|
+
export declare const VALUE_LABEL_GAP = 6;
|
|
22
|
+
/**
|
|
23
|
+
* 막대 모서리 반경(px). SVG 경로를 좌표로 계산하므로 `var(--cmp-chart-bar-radius)`
|
|
24
|
+
* 문자열이 아니라 **숫자**여야 한다 — 시안의 clipPath 도 같은 이유로 8 을 좌표에
|
|
25
|
+
* 박아 두고 있다. 토큰(`chart.bar.radius`)과 같은 값을 손으로 맞춰 둔 유일한 자리다.
|
|
26
|
+
*/
|
|
27
|
+
export declare const BAR_RADIUS = 8;
|
|
28
|
+
export declare const BAR_OPACITY_DEFAULT = "var(--cmp-chart-bar-opacity-default)";
|
|
29
|
+
export declare const BAR_OPACITY_DIMMED = "var(--cmp-chart-bar-opacity-dimmed)";
|
|
30
|
+
/**
|
|
31
|
+
* 호버한 항목의 막대 — 완전히 불투명하다.
|
|
32
|
+
*
|
|
33
|
+
* `--opacity-*` 스케일에 100% 가 없다. "투명하지 않음"은 값이 아니라 값의 부재라
|
|
34
|
+
* 디자인 토큰으로 두지 않는 쪽이 맞으므로, 여기서는 토큰 대신 1 을 쓴다.
|
|
35
|
+
*/
|
|
36
|
+
export declare const BAR_OPACITY_HOVER = 1;
|
|
37
|
+
export declare const BAR_DATA_LABEL_COLOR = "var(--cmp-chart-bar-dataLabel-color-default)";
|
|
38
|
+
/**
|
|
39
|
+
* 값 라벨의 타이포 — 호버한 항목만 굵고 크게 뜬다.
|
|
40
|
+
*
|
|
41
|
+
* 타이포 토큰은 `--cmp-*` 변수로 나오지 않고 `.typo-*` 유틸로만 나오므로,
|
|
42
|
+
* `chart.bar.dataLabel.typography.default`(`body.sm.medium`) ·
|
|
43
|
+
* `.hover`(`body.md.bold`) 에 대응하는 클래스를 여기서 짝지어 둔다.
|
|
44
|
+
*/
|
|
45
|
+
export declare const BAR_DATA_LABEL_TYPO = "typo-body-sm-medium";
|
|
46
|
+
export declare const BAR_DATA_LABEL_TYPO_HOVER = "typo-body-md-bold";
|
|
47
|
+
/**
|
|
48
|
+
* 흐려지고 또렷해지는 전환 — 막대와 값 라벨에 같이 건다.
|
|
49
|
+
*
|
|
50
|
+
* 둘의 속도가 다르면 막대는 이미 물러났는데 숫자만 뒤늦게 따라와 어긋나 보인다.
|
|
51
|
+
* 전환 대상은 불투명도뿐이다. 짚은 항목의 라벨이 커지는 것(`typo-*` 교체)은
|
|
52
|
+
* 글자가 늘어나는 중간 상태가 오히려 읽기 나빠 즉시 바꾼다.
|
|
53
|
+
*/
|
|
54
|
+
export declare const BAR_HOVER_TRANSITION = "transition-opacity duration-200 ease-out motion-reduce:transition-none";
|
|
55
|
+
export interface BandLayout {
|
|
56
|
+
/** 카테고리 하나가 차지하는 폭(px) */
|
|
57
|
+
band: number;
|
|
58
|
+
/** 막대 하나의 두께(px) */
|
|
59
|
+
bar: number;
|
|
60
|
+
/** 계열 막대 묶음 전체의 두께(px) */
|
|
61
|
+
group: number;
|
|
62
|
+
/** 묶음 좌우로 실제로 남은 여백(px) */
|
|
63
|
+
padding: number;
|
|
64
|
+
/** 카테고리가 적어 band 가 상한에 걸렸을 때, 막대 전체를 가운데로 미는 거리(px) */
|
|
65
|
+
offset: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* 축을 카테고리 수만큼 균등하게 나누고(band), 그 가운데에 계열 막대를 모아 놓는다.
|
|
69
|
+
*
|
|
70
|
+
* band 중앙 정렬이라 카테고리 라벨도 같은 비율로 놓으면 자동으로 막대 위에 온다 —
|
|
71
|
+
* 라벨과 막대의 정렬을 따로 맞출 필요가 없다.
|
|
72
|
+
*
|
|
73
|
+
* **두께와 여백은 한 손잡이로 함께 움직인다.** 막대 하나가 차지할 자리는 최소
|
|
74
|
+
* `8+24+8`(=40px)에서 최대 `24+80+24`(=128px)까지 늘어나는데, 그 사이 어디에 있든
|
|
75
|
+
* 두께와 여백이 같은 비율(`t`)로 커진다. 여백만 8인 채 두께가 80이 되는 조합은 없다.
|
|
76
|
+
*
|
|
77
|
+
* bar = 24 + 56·t
|
|
78
|
+
* padding = 8 + 16·t (t ∈ [0, 1])
|
|
79
|
+
*
|
|
80
|
+
* 자리가 최소보다 좁으면 `t=0` 에서 멈춘다 — 더 얇아지는 대신 호출 쪽이 스크롤을
|
|
81
|
+
* 만든다. 반대로 자리가 남으면 `t=1` 에서 멈추고 남는 폭은 `offset` 으로 가운데 모은다.
|
|
82
|
+
*
|
|
83
|
+
* 양끝 `AXIS_EDGE_PADDING` 은 band 가 나눠 갖기 전에 먼저 떼어 둔다 — band 안의
|
|
84
|
+
* `padding` 과 달리 카테고리 수·두께와 무관하게 항상 그대로 남아야 한다.
|
|
85
|
+
*/
|
|
86
|
+
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 SBarChartPalette, type SBarChartColor, type SBarChartDirection, type SBarChartLegendPosition, } from './SBarChart';
|
|
2
|
+
export { BAR_SIZE_MIN, BAR_SIZE_MAX, BAR_GAP } from './barChart.config';
|
|
@@ -18,11 +18,11 @@
|
|
|
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
28
|
| `labelWidth?` | `number \| string` | — | |
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
| `hint?` | `string` | — | |
|
|
36
36
|
| `error?` | `boolean` | — | |
|
|
37
37
|
| `errorMessage?` | `string` | — | |
|
|
38
|
-
| `width?` | `
|
|
38
|
+
| `width?` | `SFieldWidth` | — | 컨트롤 너비 — 폭 등급(`'xs' | 'sm' | 'md' | 'lg' | 'xl'`) · 숫자=px · CSS 길이. 등급은 `--cmp-field-width-*` 토큰으로 풀리며 `maxLength`(= 스키마 상한)로 고른다. 상한이 `xl` 을 넘거나 상한이 없으면 `"100%"`. (`sellmate/field-width-grade` 가 검사한다) |
|
|
39
39
|
| `className?` | `string` | — | |
|
|
40
40
|
| `style?` | `CSSProperties` | — | |
|
|
41
41
|
|
|
@@ -47,6 +47,14 @@
|
|
|
47
47
|
| `onFocus` | `() => void` | |
|
|
48
48
|
| `onBlur` | `() => void` | |
|
|
49
49
|
|
|
50
|
+
## Types
|
|
51
|
+
|
|
52
|
+
### SBarcodeInputSize
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
export type SBarcodeInputSize = SFieldSize;
|
|
56
|
+
```
|
|
57
|
+
|
|
50
58
|
## Dependencies
|
|
51
59
|
|
|
52
60
|
### Depends on
|
|
@@ -4,6 +4,7 @@ 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,13 +21,15 @@ 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;
|
|
32
35
|
labelWidth?: number | string;
|
|
@@ -39,7 +42,12 @@ export interface SBarcodeInputProps {
|
|
|
39
42
|
hint?: string;
|
|
40
43
|
error?: boolean;
|
|
41
44
|
errorMessage?: string;
|
|
42
|
-
|
|
45
|
+
/**
|
|
46
|
+
* 컨트롤 너비 — 폭 등급(`'xs' | 'sm' | 'md' | 'lg' | 'xl'`) · 숫자=px · CSS 길이.
|
|
47
|
+
* 등급은 `--cmp-field-width-*` 토큰으로 풀리며 `maxLength`(= 스키마 상한)로 고른다.
|
|
48
|
+
* 상한이 `xl` 을 넘거나 상한이 없으면 `"100%"`. (`sellmate/field-width-grade` 가 검사한다)
|
|
49
|
+
*/
|
|
50
|
+
width?: SFieldWidth;
|
|
43
51
|
className?: string;
|
|
44
52
|
style?: CSSProperties;
|
|
45
53
|
}
|
|
@@ -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,38 @@
|
|
|
1
|
+
import { type HTMLAttributes, type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
import { type SCalendarBoardDayColor } from './calendarBoard.config';
|
|
3
|
+
import type { SCalendarBoardEvent } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* 달력의 날짜 한 칸 (SCalendarBoard 내부 조립 요소).
|
|
6
|
+
* 위에 날짜 숫자, 아래에 일정 목록과 "N개 더보기" 가 쌓인다.
|
|
7
|
+
* `body` 를 받은 칸은 아래를 통째로 그것에 내준다 — 일정은 그리지 않는다.
|
|
8
|
+
*/
|
|
9
|
+
export declare const CalendarDayCard: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
10
|
+
/** YYYY-MM-DD */
|
|
11
|
+
date: string;
|
|
12
|
+
/** 1-31 */
|
|
13
|
+
day: number;
|
|
14
|
+
/** 보고 있는 달에 속한 날짜인지 */
|
|
15
|
+
inCurrentMonth: boolean;
|
|
16
|
+
isToday: boolean;
|
|
17
|
+
isSelected: boolean;
|
|
18
|
+
/** 칸을 눌러 고를 수 있는지 */
|
|
19
|
+
selectable: boolean;
|
|
20
|
+
/** 칸 배경 */
|
|
21
|
+
color: SCalendarBoardDayColor;
|
|
22
|
+
/** 이 칸에 펼쳐 그릴 일정 */
|
|
23
|
+
events: SCalendarBoardEvent[];
|
|
24
|
+
/**
|
|
25
|
+
* 일정 자리를 대신 차지할 칸 본문 (SCalendarBoard 의 `dayContent`).
|
|
26
|
+
* 주면 일정·"더보기" 를 그리지 않는다. `content` 는 HTMLAttributes 가 이미 쓰는 이름이라 피했다.
|
|
27
|
+
*/
|
|
28
|
+
body?: ReactNode;
|
|
29
|
+
/** 접혀 있는 일정 수. 0 이면 "더보기" 를 그리지 않는다 */
|
|
30
|
+
hiddenCount: number;
|
|
31
|
+
/** 이 칸의 일정 목록 판이 열려 있는지 */
|
|
32
|
+
isOpen: boolean;
|
|
33
|
+
moreLabel?: string;
|
|
34
|
+
onDaySelect?: (date: string) => void;
|
|
35
|
+
onEventClick?: (event: SCalendarBoardEvent, e: MouseEvent<HTMLButtonElement>) => void;
|
|
36
|
+
/** 일정 목록 판 열기 — 칸 자체를 눌렀을 때와 "더보기" 를 눌렀을 때 모두 여기로 온다 */
|
|
37
|
+
onOpenEvents?: () => void;
|
|
38
|
+
} & 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,13 @@
|
|
|
1
|
+
import { type MouseEvent } from 'react';
|
|
2
|
+
import type { SCalendarBoardEvent } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* 달력 칸/패널 안의 일정 한 줄 (SCalendarBoard 내부 조립 요소).
|
|
5
|
+
*
|
|
6
|
+
* 점 → 레이블(강조) → 설명 → `/` → 값 순서로 한 줄에 눕는다.
|
|
7
|
+
* 가운데 레이블 묶음만 줄어들고 값은 끝에 고정되므로, 좁은 칸에서도 금액이 잘리지 않는다.
|
|
8
|
+
*/
|
|
9
|
+
export declare function CalendarEventButton({ event, onSelect, className, }: {
|
|
10
|
+
event: SCalendarBoardEvent;
|
|
11
|
+
onSelect?: (event: SCalendarBoardEvent, e: MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
+
className?: string;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { 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
|
+
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
11
|
+
className?: string;
|
|
12
|
+
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# SCalendarBoard
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SCalendarBoard
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `year?` | `number` | — | 보이는 연도 (제어). `month` 와 함께 준다 |
|
|
12
|
+
| `month?` | `number` | — | 보이는 월 1-12 (제어). `year` 와 함께 준다 |
|
|
13
|
+
| `defaultYear?` | `number` | — | 처음 보여줄 연도 (비제어). 없으면 오늘 |
|
|
14
|
+
| `defaultMonth?` | `number` | — | 처음 보여줄 월 1-12 (비제어). 없으면 오늘 |
|
|
15
|
+
| `selectable?` | `boolean` | `false` | 날짜 칸을 눌러 고를 수 있게 한다. 기본은 읽기 전용 판이다 — 켜야 칸에 커서·포커스·키보드(Enter·Space)가 붙고 `onValueChange` 가 온다. 일정 버튼과 "N개 더보기" 는 이 값과 무관하게 항상 눌린다. |
|
|
16
|
+
| `value?` | `string \| null` | — | 선택 날짜 (YYYY-MM-DD). `selectable` 과 별개로 강조만 주고 싶을 때도 쓴다 |
|
|
17
|
+
| `events?` | `SCalendarBoardEvent[]` | — | 날짜별 일정 목록. `date` 로 칸에 배분된다 |
|
|
18
|
+
| `dayColors?` | `Record<string, SCalendarBoardDayColor>` | — | 날짜별 칸 배경. 키는 `YYYY-MM-DD`, 없는 날짜는 `'default'` 다. 그날의 성격(마감·완료·휴무 등)을 칸 전체로 알릴 때 쓴다 — 일정 하나의 색은 `events[].color` 다. |
|
|
19
|
+
| `dayContent?` | `Record<string, ReactNode>` | — | 날짜별 칸 본문. 키는 `YYYY-MM-DD`, 준 날짜는 **일정 자리를 통째로 이 내용이 차지한다** — 그날의 `events` 는 그리지 않고 목록 판도 열리지 않는다. 일정으로 표현되지 않는 것(재고 현황· 매출 요약 같은 그날치 요약)을 칸에 그대로 얹을 때 쓴다. |
|
|
20
|
+
| `todayLabel?` | `string` | `'오늘'` | 헤더 오른쪽 "오늘" 버튼 레이블. 빈 문자열이면 버튼을 그리지 않는다 |
|
|
21
|
+
| `moreLabel?` | `string` | — | "N개" 뒤에 붙는 말 |
|
|
22
|
+
| `headerRight?` | `ReactNode` | — | 헤더 오른쪽 끝에 붙일 추가 컨트롤 |
|
|
23
|
+
| `className?` | `string` | — | |
|
|
24
|
+
| `style?` | `CSSProperties` | — | |
|
|
25
|
+
|
|
26
|
+
#### Events
|
|
27
|
+
|
|
28
|
+
| Event | Type | Description |
|
|
29
|
+
|-------|------|-------------|
|
|
30
|
+
| `onViewChange` | `(view: SCalendarBoardView) => void` | 보이는 연·월 변경 |
|
|
31
|
+
| `onValueChange` | `(date: string, events: SCalendarBoardEvent[]) => void` | 날짜 칸 선택 — 고른 날짜와 그 날짜의 일정이 함께 온다 (`selectable` 일 때만) |
|
|
32
|
+
| `onEventClick` | `(event: SCalendarBoardEvent, e: MouseEvent<HTMLButtonElement>) => void` | 일정 클릭 |
|
|
33
|
+
| `onMoreClick` | `(view: { date: string; events: SCalendarBoardEvent[] }) => void` | 그 날짜의 일정을 전부 열어 볼 때 — "N개 더보기" 를 눌렀을 때와 **일정이 있는 칸 자체를 눌렀을 때** 모두 온다. **주면 내장 일정 목록 판을 띄우지 않고 이 핸들러만 호출한다** — 그 날짜를 전용 화면·모달로 열고 싶을 때 쓴다. |
|
|
34
|
+
|
|
35
|
+
## Types
|
|
36
|
+
|
|
37
|
+
### SCalendarBoardView
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
/** 보이는 연·월 */
|
|
41
|
+
export interface SCalendarBoardView {
|
|
42
|
+
year: number;
|
|
43
|
+
/** 1-12 */
|
|
44
|
+
month: number;
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### SCalendarBoardEvent
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
/** 달력 한 칸에 얹히는 일정 하나 */
|
|
52
|
+
export interface SCalendarBoardEvent {
|
|
53
|
+
/** 고유 식별자. 없으면 목록 순서로 key 를 만든다 */
|
|
54
|
+
id?: string;
|
|
55
|
+
/** 날짜 (YYYY-MM-DD) */
|
|
56
|
+
date: string;
|
|
57
|
+
/**
|
|
58
|
+
* 강조 레이블 (필수) — 예: `"[입고 예정]"`.
|
|
59
|
+
* 일정이 무엇인지 한눈에 알리는 부분이라 비워 두지 않는다.
|
|
60
|
+
* 인라인 HTML(`<b>` `<strong>` `<i>` `<em>` `<span class>` `<a href>` `<br>`)을 받으며 살균 후 렌더한다.
|
|
61
|
+
*/
|
|
62
|
+
label: string;
|
|
63
|
+
/** 색상 프리셋 — 배경과 점 색이 함께 정해진다 */
|
|
64
|
+
color?: SCalendarBoardEventColor;
|
|
65
|
+
/** 왼쪽 점 색만 따로 지정 (프리셋 기본값을 덮어쓴다). 점은 `SBadge` 라 그 색(`SBadgeColor`)을 쓴다 */
|
|
66
|
+
dotColor?: SBadgeColor;
|
|
67
|
+
/** 본문 텍스트 — 예: `"RV20260728-000006"`. 평문만 받는다 */
|
|
68
|
+
description?: string;
|
|
69
|
+
/** 구분선(`/`) 뒤에 붙는 값 — 예: `"1,000"`. 평문만 받는다 */
|
|
70
|
+
value?: string;
|
|
71
|
+
/** 이 일정만 비활성 (클릭 불가) */
|
|
72
|
+
disabled?: boolean;
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### SCalendarBoardDayColor
|
|
77
|
+
|
|
78
|
+
```ts
|
|
79
|
+
export type SCalendarBoardDayColor = (typeof CALENDAR_BOARD_DAY_COLORS)[number];
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### SCalendarBoardEventColor
|
|
83
|
+
|
|
84
|
+
```ts
|
|
85
|
+
export type SCalendarBoardEventColor = (typeof CALENDAR_BOARD_EVENT_COLORS)[number];
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### CALENDAR_BOARD_DAY_COLORS
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
/** 날짜 칸 배경 — 그날의 성격을 칸 전체로 알린다 */
|
|
92
|
+
export const CALENDAR_BOARD_DAY_COLORS = [
|
|
93
|
+
'default',
|
|
94
|
+
'danger',
|
|
95
|
+
'accent',
|
|
96
|
+
'complete',
|
|
97
|
+
'dim',
|
|
98
|
+
] as const;
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### CALENDAR_BOARD_EVENT_COLORS
|
|
102
|
+
|
|
103
|
+
```ts
|
|
104
|
+
export const CALENDAR_BOARD_EVENT_COLORS = [
|
|
105
|
+
'default',
|
|
106
|
+
'blue',
|
|
107
|
+
'oceanBlue',
|
|
108
|
+
'lightBlue',
|
|
109
|
+
'green',
|
|
110
|
+
'yellow',
|
|
111
|
+
'orange',
|
|
112
|
+
'red',
|
|
113
|
+
'purple',
|
|
114
|
+
'white',
|
|
115
|
+
] as const;
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Dependencies
|
|
119
|
+
|
|
120
|
+
### Depends on
|
|
121
|
+
|
|
122
|
+
- [SBadge](../SBadge)
|
|
123
|
+
- [SButton](../SButton)
|
|
124
|
+
- [SDivider](../SDivider)
|
|
125
|
+
- [SGhostButton](../SGhostButton)
|
|
126
|
+
- [SScrollArea](../SScrollArea)
|
|
127
|
+
|
|
128
|
+
### Graph
|
|
129
|
+
|
|
130
|
+
```mermaid
|
|
131
|
+
graph TD;
|
|
132
|
+
SCalendarBoard --> SBadge
|
|
133
|
+
SCalendarBoard --> SButton
|
|
134
|
+
SCalendarBoard --> SDivider
|
|
135
|
+
SCalendarBoard --> SGhostButton
|
|
136
|
+
SCalendarBoard --> SScrollArea
|
|
137
|
+
style SCalendarBoard fill:#f9f,stroke:#333,stroke-width:4px
|
|
138
|
+
```
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type CSSProperties, type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
import { type SCalendarBoardDayColor } from './calendarBoard.config';
|
|
3
|
+
import type { SCalendarBoardEvent, SCalendarBoardView } from './types';
|
|
4
|
+
export interface SCalendarBoardProps {
|
|
5
|
+
/** 보이는 연도 (제어). `month` 와 함께 준다 */
|
|
6
|
+
year?: number;
|
|
7
|
+
/** 보이는 월 1-12 (제어). `year` 와 함께 준다 */
|
|
8
|
+
month?: number;
|
|
9
|
+
/** 처음 보여줄 연도 (비제어). 없으면 오늘 */
|
|
10
|
+
defaultYear?: number;
|
|
11
|
+
/** 처음 보여줄 월 1-12 (비제어). 없으면 오늘 */
|
|
12
|
+
defaultMonth?: number;
|
|
13
|
+
/** 보이는 연·월 변경 */
|
|
14
|
+
onViewChange?: (view: SCalendarBoardView) => void;
|
|
15
|
+
/**
|
|
16
|
+
* 날짜 칸을 눌러 고를 수 있게 한다. 기본은 읽기 전용 판이다 —
|
|
17
|
+
* 켜야 칸에 커서·포커스·키보드(Enter·Space)가 붙고 `onValueChange` 가 온다.
|
|
18
|
+
* 일정 버튼과 "N개 더보기" 는 이 값과 무관하게 항상 눌린다.
|
|
19
|
+
*/
|
|
20
|
+
selectable?: boolean;
|
|
21
|
+
/** 선택 날짜 (YYYY-MM-DD). `selectable` 과 별개로 강조만 주고 싶을 때도 쓴다 */
|
|
22
|
+
value?: string | null;
|
|
23
|
+
/** 날짜 칸 선택 — 고른 날짜와 그 날짜의 일정이 함께 온다 (`selectable` 일 때만) */
|
|
24
|
+
onValueChange?: (date: string, events: SCalendarBoardEvent[]) => void;
|
|
25
|
+
/** 날짜별 일정 목록. `date` 로 칸에 배분된다 */
|
|
26
|
+
events?: SCalendarBoardEvent[];
|
|
27
|
+
/**
|
|
28
|
+
* 날짜별 칸 배경. 키는 `YYYY-MM-DD`, 없는 날짜는 `'default'` 다.
|
|
29
|
+
* 그날의 성격(마감·완료·휴무 등)을 칸 전체로 알릴 때 쓴다 — 일정 하나의 색은 `events[].color` 다.
|
|
30
|
+
*/
|
|
31
|
+
dayColors?: Record<string, SCalendarBoardDayColor>;
|
|
32
|
+
/**
|
|
33
|
+
* 날짜별 칸 본문. 키는 `YYYY-MM-DD`, 준 날짜는 **일정 자리를 통째로 이 내용이 차지한다** —
|
|
34
|
+
* 그날의 `events` 는 그리지 않고 목록 판도 열리지 않는다. 일정으로 표현되지 않는 것(재고 현황·
|
|
35
|
+
* 매출 요약 같은 그날치 요약)을 칸에 그대로 얹을 때 쓴다.
|
|
36
|
+
*/
|
|
37
|
+
dayContent?: Record<string, ReactNode>;
|
|
38
|
+
/** 일정 클릭 */
|
|
39
|
+
onEventClick?: (event: SCalendarBoardEvent, e: MouseEvent<HTMLButtonElement>) => void;
|
|
40
|
+
/**
|
|
41
|
+
* 그 날짜의 일정을 전부 열어 볼 때 — "N개 더보기" 를 눌렀을 때와 **일정이 있는 칸 자체를 눌렀을 때**
|
|
42
|
+
* 모두 온다. **주면 내장 일정 목록 판을 띄우지 않고 이 핸들러만 호출한다** —
|
|
43
|
+
* 그 날짜를 전용 화면·모달로 열고 싶을 때 쓴다.
|
|
44
|
+
*/
|
|
45
|
+
onMoreClick?: (view: {
|
|
46
|
+
date: string;
|
|
47
|
+
events: SCalendarBoardEvent[];
|
|
48
|
+
}) => void;
|
|
49
|
+
/** 헤더 오른쪽 "오늘" 버튼 레이블. 빈 문자열이면 버튼을 그리지 않는다 */
|
|
50
|
+
todayLabel?: string;
|
|
51
|
+
/** "N개" 뒤에 붙는 말 */
|
|
52
|
+
moreLabel?: string;
|
|
53
|
+
/** 헤더 오른쪽 끝에 붙일 추가 컨트롤 */
|
|
54
|
+
headerRight?: ReactNode;
|
|
55
|
+
className?: string;
|
|
56
|
+
style?: CSSProperties;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* SCalendarBoard — 한 달치 일정을 격자로 펼쳐 보여주는 달력 판.
|
|
60
|
+
*
|
|
61
|
+
* 날짜를 **고르는** 달력(`SCalendar` · `SDatePicker`)이 아니라 일정을 **읽는** 달력이다.
|
|
62
|
+
* 칸마다 일정이 줄로 쌓이고, 넘치면 "N개 더보기" 로 접혀 그 칸을 덮는 판으로 펼쳐진다.
|
|
63
|
+
*
|
|
64
|
+
* **판 높이는 부모가 정한다.** 행이 그 높이를 균등하게 나눠 갖고, 칸 높이가 다시 "한 칸에 몇 줄이
|
|
65
|
+
* 보일지" 를 정한다 — 그래서 놓는 자리에 높이를 주어야 한다 (`<div className="h-[640px]">` ·
|
|
66
|
+
* `SPage` 본문의 남은 높이 등). 높이를 주지 않으면 칸이 `dayCard.minHeight` 로 주저앉는다.
|
|
67
|
+
*/
|
|
68
|
+
export declare function SCalendarBoard({ year, month, defaultYear, defaultMonth, onViewChange, selectable, value, onValueChange, events, dayColors, dayContent, onEventClick, onMoreClick, todayLabel, moreLabel, headerRight, className, style, }: SCalendarBoardProps): import("react").JSX.Element;
|