@cp949/mui-react19 2.1.0 → 2.3.0
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/README.md +6 -0
- package/dist/{rolldown-runtime-Chgba0Kb.cjs → _virtual/_rolldown/runtime.cjs} +1 -1
- package/dist/{rolldown-runtime-DK3Fl9T5.js → _virtual/_rolldown/runtime.js} +1 -1
- package/dist/components/Center.cjs +2 -0
- package/dist/components/Center.cjs.map +1 -0
- package/dist/components/Center.d.cts +11 -0
- package/dist/components/Center.d.ts +11 -0
- package/dist/components/Center.js +2 -0
- package/dist/components/Center.js.map +1 -0
- package/dist/components/CooldownButton.cjs +2 -0
- package/dist/components/CooldownButton.cjs.map +1 -0
- package/dist/components/CooldownButton.d.cts +14 -0
- package/dist/components/CooldownButton.d.ts +14 -0
- package/dist/components/CooldownButton.js +2 -0
- package/dist/components/CooldownButton.js.map +1 -0
- package/dist/components/CooldownButtonBase.cjs +2 -0
- package/dist/components/CooldownButtonBase.cjs.map +1 -0
- package/dist/components/CooldownButtonBase.d.cts +14 -0
- package/dist/components/CooldownButtonBase.d.ts +14 -0
- package/dist/components/CooldownButtonBase.js +2 -0
- package/dist/components/CooldownButtonBase.js.map +1 -0
- package/dist/components/CooldownIconButton.cjs +2 -0
- package/dist/components/CooldownIconButton.cjs.map +1 -0
- package/dist/components/CooldownIconButton.d.cts +14 -0
- package/dist/components/CooldownIconButton.d.ts +14 -0
- package/dist/components/CooldownIconButton.js +2 -0
- package/dist/components/CooldownIconButton.js.map +1 -0
- package/dist/components/CopyButtonWrapper.cjs +2 -0
- package/dist/components/CopyButtonWrapper.cjs.map +1 -0
- package/dist/components/CopyButtonWrapper.d.cts +94 -0
- package/dist/components/CopyButtonWrapper.d.ts +94 -0
- package/dist/components/CopyButtonWrapper.js +2 -0
- package/dist/components/CopyButtonWrapper.js.map +1 -0
- package/dist/components/CustomTableBody.cjs +2 -0
- package/dist/components/CustomTableBody.cjs.map +1 -0
- package/dist/components/CustomTableBody.d.cts +9 -0
- package/dist/components/CustomTableBody.d.ts +9 -0
- package/dist/components/CustomTableBody.js +2 -0
- package/dist/components/CustomTableBody.js.map +1 -0
- package/dist/components/DebouncedButton.cjs +2 -0
- package/dist/components/DebouncedButton.cjs.map +1 -0
- package/dist/components/DebouncedButton.d.cts +11 -0
- package/dist/components/DebouncedButton.d.ts +11 -0
- package/dist/components/DebouncedButton.js +2 -0
- package/dist/components/DebouncedButton.js.map +1 -0
- package/dist/components/DebouncedButtonBase.cjs +2 -0
- package/dist/components/DebouncedButtonBase.cjs.map +1 -0
- package/dist/components/DebouncedButtonBase.d.cts +11 -0
- package/dist/components/DebouncedButtonBase.d.ts +11 -0
- package/dist/components/DebouncedButtonBase.js +2 -0
- package/dist/components/DebouncedButtonBase.js.map +1 -0
- package/dist/components/DebouncedIconButton.cjs +2 -0
- package/dist/components/DebouncedIconButton.cjs.map +1 -0
- package/dist/components/DebouncedIconButton.d.cts +11 -0
- package/dist/components/DebouncedIconButton.d.ts +11 -0
- package/dist/components/DebouncedIconButton.js +2 -0
- package/dist/components/DebouncedIconButton.js.map +1 -0
- package/dist/components/DebouncedRender.cjs +2 -0
- package/dist/components/DebouncedRender.cjs.map +1 -0
- package/dist/components/DebouncedRender.d.cts +31 -0
- package/dist/components/DebouncedRender.d.ts +31 -0
- package/dist/components/DebouncedRender.js +2 -0
- package/dist/components/DebouncedRender.js.map +1 -0
- package/dist/components/DelayedRender.cjs +2 -0
- package/dist/components/DelayedRender.cjs.map +1 -0
- package/dist/components/DelayedRender.d.cts +34 -0
- package/dist/components/DelayedRender.d.ts +34 -0
- package/dist/components/DelayedRender.js +2 -0
- package/dist/components/DelayedRender.js.map +1 -0
- package/dist/components/FileButton.cjs +2 -0
- package/dist/components/FileButton.cjs.map +1 -0
- package/dist/components/FileButton.d.cts +88 -0
- package/dist/components/FileButton.d.ts +88 -0
- package/dist/components/FileButton.js +2 -0
- package/dist/components/FileButton.js.map +1 -0
- package/dist/components/FlexItemsContainer.cjs +2 -0
- package/dist/components/FlexItemsContainer.cjs.map +1 -0
- package/dist/components/FlexItemsContainer.d.cts +51 -0
- package/dist/components/FlexItemsContainer.d.ts +51 -0
- package/dist/components/FlexItemsContainer.js +2 -0
- package/dist/components/FlexItemsContainer.js.map +1 -0
- package/dist/components/FloatingIndicator/FloatingIndicator.cjs +2 -0
- package/dist/components/FloatingIndicator/FloatingIndicator.cjs.map +1 -0
- package/dist/components/FloatingIndicator/FloatingIndicator.d.cts +27 -0
- package/dist/components/FloatingIndicator/FloatingIndicator.d.ts +27 -0
- package/dist/components/FloatingIndicator/FloatingIndicator.js +2 -0
- package/dist/components/FloatingIndicator/FloatingIndicator.js.map +1 -0
- package/dist/components/FloatingIndicator/index.cjs +2 -0
- package/dist/components/FloatingIndicator/index.cjs.map +1 -0
- package/dist/components/FloatingIndicator/index.d.cts +2 -0
- package/dist/components/FloatingIndicator/index.d.ts +2 -0
- package/dist/components/FloatingIndicator/index.js +2 -0
- package/dist/components/FloatingIndicator/index.js.map +1 -0
- package/dist/components/FloatingIndicator/useFloatingIndicator.cjs +2 -0
- package/dist/components/FloatingIndicator/useFloatingIndicator.cjs.map +1 -0
- package/dist/components/FloatingIndicator/useFloatingIndicator.js +2 -0
- package/dist/components/FloatingIndicator/useFloatingIndicator.js.map +1 -0
- package/dist/components/Hide.cjs +2 -0
- package/dist/components/Hide.cjs.map +1 -0
- package/dist/components/Hide.d.cts +12 -0
- package/dist/components/Hide.d.ts +12 -0
- package/dist/components/Hide.js +2 -0
- package/dist/components/Hide.js.map +1 -0
- package/dist/components/Highlight/Highlight.cjs +2 -0
- package/dist/components/Highlight/Highlight.cjs.map +1 -0
- package/dist/components/Highlight/Highlight.d.cts +93 -0
- package/dist/components/Highlight/Highlight.d.ts +93 -0
- package/dist/components/Highlight/Highlight.js +2 -0
- package/dist/components/Highlight/Highlight.js.map +1 -0
- package/dist/components/Highlight/highlighter/highlighter.cjs +2 -0
- package/dist/components/Highlight/highlighter/highlighter.cjs.map +1 -0
- package/dist/components/Highlight/highlighter/highlighter.js +2 -0
- package/dist/components/Highlight/highlighter/highlighter.js.map +1 -0
- package/dist/components/Highlight/index.d.cts +2 -0
- package/dist/components/Highlight/index.d.ts +2 -0
- package/dist/components/LengthLimitHelperText.cjs +2 -0
- package/dist/components/LengthLimitHelperText.cjs.map +1 -0
- package/dist/components/LengthLimitHelperText.d.cts +14 -0
- package/dist/components/LengthLimitHelperText.d.ts +14 -0
- package/dist/components/LengthLimitHelperText.js +2 -0
- package/dist/components/LengthLimitHelperText.js.map +1 -0
- package/dist/components/LgOrUp.cjs +2 -0
- package/dist/components/LgOrUp.cjs.map +1 -0
- package/dist/components/LgOrUp.d.cts +8 -0
- package/dist/components/LgOrUp.d.ts +8 -0
- package/dist/components/LgOrUp.js +2 -0
- package/dist/components/LgOrUp.js.map +1 -0
- package/dist/components/ListPagination.cjs +2 -0
- package/dist/components/ListPagination.cjs.map +1 -0
- package/dist/components/ListPagination.d.cts +55 -0
- package/dist/components/ListPagination.d.ts +55 -0
- package/dist/components/ListPagination.js +2 -0
- package/dist/components/ListPagination.js.map +1 -0
- package/dist/components/Mark.cjs +2 -0
- package/dist/components/Mark.cjs.map +1 -0
- package/dist/components/Mark.d.cts +17 -0
- package/dist/components/Mark.d.ts +17 -0
- package/dist/components/Mark.js +2 -0
- package/dist/components/Mark.js.map +1 -0
- package/dist/components/MdOrDown.cjs +2 -0
- package/dist/components/MdOrDown.cjs.map +1 -0
- package/dist/components/MdOrDown.d.cts +8 -0
- package/dist/components/MdOrDown.d.ts +8 -0
- package/dist/components/MdOrDown.js +2 -0
- package/dist/components/MdOrDown.js.map +1 -0
- package/dist/components/MdOrUp.cjs +2 -0
- package/dist/components/MdOrUp.cjs.map +1 -0
- package/dist/components/MdOrUp.d.cts +8 -0
- package/dist/components/MdOrUp.d.ts +8 -0
- package/dist/components/MdOrUp.js +2 -0
- package/dist/components/MdOrUp.js.map +1 -0
- package/dist/components/Paper.cjs +2 -0
- package/dist/components/Paper.cjs.map +1 -0
- package/dist/components/Paper.d.cts +10 -0
- package/dist/components/Paper.d.ts +10 -0
- package/dist/components/Paper.js +2 -0
- package/dist/components/Paper.js.map +1 -0
- package/dist/components/PasswordTextField.cjs +2 -0
- package/dist/components/PasswordTextField.cjs.map +1 -0
- package/dist/components/PasswordTextField.d.cts +25 -0
- package/dist/components/PasswordTextField.d.ts +25 -0
- package/dist/components/PasswordTextField.js +2 -0
- package/dist/components/PasswordTextField.js.map +1 -0
- package/dist/components/SearchBoxDebouncer.cjs +2 -0
- package/dist/components/SearchBoxDebouncer.cjs.map +1 -0
- package/dist/components/SearchBoxDebouncer.d.cts +46 -0
- package/dist/components/SearchBoxDebouncer.d.ts +46 -0
- package/dist/components/SearchBoxDebouncer.js +2 -0
- package/dist/components/SearchBoxDebouncer.js.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.cjs +2 -0
- package/dist/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.cts +57 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +57 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +2 -0
- package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -0
- package/dist/components/SegmentedControl/components.cjs +2 -0
- package/dist/components/SegmentedControl/components.cjs.map +1 -0
- package/dist/components/SegmentedControl/components.js +2 -0
- package/dist/components/SegmentedControl/components.js.map +1 -0
- package/dist/components/SegmentedControl/index.d.cts +2 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/Show.cjs +2 -0
- package/dist/components/Show.cjs.map +1 -0
- package/dist/components/Show.d.cts +10 -0
- package/dist/components/Show.d.ts +10 -0
- package/dist/components/Show.js +2 -0
- package/dist/components/Show.js.map +1 -0
- package/dist/components/SmOrDown.cjs +2 -0
- package/dist/components/SmOrDown.cjs.map +1 -0
- package/dist/components/SmOrDown.d.cts +8 -0
- package/dist/components/SmOrDown.d.ts +8 -0
- package/dist/components/SmOrDown.js +2 -0
- package/dist/components/SmOrDown.js.map +1 -0
- package/dist/components/SmOrUp.cjs +2 -0
- package/dist/components/SmOrUp.cjs.map +1 -0
- package/dist/components/SmOrUp.d.cts +8 -0
- package/dist/components/SmOrUp.d.ts +8 -0
- package/dist/components/SmOrUp.js +2 -0
- package/dist/components/SmOrUp.js.map +1 -0
- package/dist/components/Space.cjs +2 -0
- package/dist/components/Space.cjs.map +1 -0
- package/dist/components/Space.d.cts +14 -0
- package/dist/components/Space.d.ts +14 -0
- package/dist/components/Space.js +2 -0
- package/dist/components/Space.js.map +1 -0
- package/dist/components/Spoiler.cjs +2 -0
- package/dist/components/Spoiler.cjs.map +1 -0
- package/dist/components/Spoiler.d.cts +33 -0
- package/dist/components/Spoiler.d.ts +33 -0
- package/dist/components/Spoiler.js +2 -0
- package/dist/components/Spoiler.js.map +1 -0
- package/dist/components/XsOrDown.cjs +2 -0
- package/dist/components/XsOrDown.cjs.map +1 -0
- package/dist/components/XsOrDown.d.cts +8 -0
- package/dist/components/XsOrDown.d.ts +8 -0
- package/dist/components/XsOrDown.js +2 -0
- package/dist/components/XsOrDown.js.map +1 -0
- package/dist/components/YmTypography.cjs +2 -0
- package/dist/components/YmTypography.cjs.map +1 -0
- package/dist/components/YmTypography.d.cts +23 -0
- package/dist/components/YmTypography.d.ts +23 -0
- package/dist/components/YmTypography.js +2 -0
- package/dist/components/YmTypography.js.map +1 -0
- package/dist/components/YmdTextField.cjs +2 -0
- package/dist/components/YmdTextField.cjs.map +1 -0
- package/dist/components/YmdTextField.d.cts +48 -0
- package/dist/components/YmdTextField.d.ts +48 -0
- package/dist/components/YmdTextField.js +2 -0
- package/dist/components/YmdTextField.js.map +1 -0
- package/dist/components/YmdTypography.cjs +2 -0
- package/dist/components/YmdTypography.cjs.map +1 -0
- package/dist/components/YmdTypography.d.cts +23 -0
- package/dist/components/YmdTypography.d.ts +23 -0
- package/dist/components/YmdTypography.js +2 -0
- package/dist/components/YmdTypography.js.map +1 -0
- package/dist/components/absolute-box/create-absolute-box.cjs +2 -0
- package/dist/components/absolute-box/create-absolute-box.cjs.map +1 -0
- package/dist/components/absolute-box/create-absolute-box.js +2 -0
- package/dist/components/absolute-box/create-absolute-box.js.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsolute.cjs +2 -0
- package/dist/components/bottom-absolute/BottomAbsolute.cjs.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsolute.d.cts +20 -0
- package/dist/components/bottom-absolute/BottomAbsolute.d.ts +20 -0
- package/dist/components/bottom-absolute/BottomAbsolute.js +2 -0
- package/dist/components/bottom-absolute/BottomAbsolute.js.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsoluteCenter.cjs +2 -0
- package/dist/components/bottom-absolute/BottomAbsoluteCenter.cjs.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsoluteCenter.d.cts +10 -0
- package/dist/components/bottom-absolute/BottomAbsoluteCenter.d.ts +10 -0
- package/dist/components/bottom-absolute/BottomAbsoluteCenter.js +2 -0
- package/dist/components/bottom-absolute/BottomAbsoluteCenter.js.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsoluteLeft.cjs +2 -0
- package/dist/components/bottom-absolute/BottomAbsoluteLeft.cjs.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsoluteLeft.d.cts +11 -0
- package/dist/components/bottom-absolute/BottomAbsoluteLeft.d.ts +11 -0
- package/dist/components/bottom-absolute/BottomAbsoluteLeft.js +2 -0
- package/dist/components/bottom-absolute/BottomAbsoluteLeft.js.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsoluteRight.cjs +2 -0
- package/dist/components/bottom-absolute/BottomAbsoluteRight.cjs.map +1 -0
- package/dist/components/bottom-absolute/BottomAbsoluteRight.d.cts +11 -0
- package/dist/components/bottom-absolute/BottomAbsoluteRight.d.ts +11 -0
- package/dist/components/bottom-absolute/BottomAbsoluteRight.js +2 -0
- package/dist/components/bottom-absolute/BottomAbsoluteRight.js.map +1 -0
- package/dist/components/bottom-absolute/index.d.cts +5 -0
- package/dist/components/bottom-absolute/index.d.ts +5 -0
- package/dist/components/center-absolute/CenterAbsolute.cjs +2 -0
- package/dist/components/center-absolute/CenterAbsolute.cjs.map +1 -0
- package/dist/components/center-absolute/CenterAbsolute.d.cts +19 -0
- package/dist/components/center-absolute/CenterAbsolute.d.ts +19 -0
- package/dist/components/center-absolute/CenterAbsolute.js +2 -0
- package/dist/components/center-absolute/CenterAbsolute.js.map +1 -0
- package/dist/components/center-absolute/CenterAbsoluteCenter.cjs +2 -0
- package/dist/components/center-absolute/CenterAbsoluteCenter.cjs.map +1 -0
- package/dist/components/center-absolute/CenterAbsoluteCenter.d.cts +9 -0
- package/dist/components/center-absolute/CenterAbsoluteCenter.d.ts +9 -0
- package/dist/components/center-absolute/CenterAbsoluteCenter.js +2 -0
- package/dist/components/center-absolute/CenterAbsoluteCenter.js.map +1 -0
- package/dist/components/center-absolute/CenterAbsoluteLeft.cjs +2 -0
- package/dist/components/center-absolute/CenterAbsoluteLeft.cjs.map +1 -0
- package/dist/components/center-absolute/CenterAbsoluteLeft.d.cts +10 -0
- package/dist/components/center-absolute/CenterAbsoluteLeft.d.ts +10 -0
- package/dist/components/center-absolute/CenterAbsoluteLeft.js +2 -0
- package/dist/components/center-absolute/CenterAbsoluteLeft.js.map +1 -0
- package/dist/components/center-absolute/CenterAbsoluteRight.cjs +2 -0
- package/dist/components/center-absolute/CenterAbsoluteRight.cjs.map +1 -0
- package/dist/components/center-absolute/CenterAbsoluteRight.d.cts +10 -0
- package/dist/components/center-absolute/CenterAbsoluteRight.d.ts +10 -0
- package/dist/components/center-absolute/CenterAbsoluteRight.js +2 -0
- package/dist/components/center-absolute/CenterAbsoluteRight.js.map +1 -0
- package/dist/components/center-absolute/index.d.cts +5 -0
- package/dist/components/center-absolute/index.d.ts +5 -0
- package/dist/components/flex/FlexColumn.cjs +2 -0
- package/dist/components/flex/FlexColumn.cjs.map +1 -0
- package/dist/components/flex/FlexColumn.d.cts +24 -0
- package/dist/components/flex/FlexColumn.d.ts +24 -0
- package/dist/components/flex/FlexColumn.js +2 -0
- package/dist/components/flex/FlexColumn.js.map +1 -0
- package/dist/components/flex/FlexRow.cjs +2 -0
- package/dist/components/flex/FlexRow.cjs.map +1 -0
- package/dist/components/flex/FlexRow.d.cts +24 -0
- package/dist/components/flex/FlexRow.d.ts +24 -0
- package/dist/components/flex/FlexRow.js +2 -0
- package/dist/components/flex/FlexRow.js.map +1 -0
- package/dist/components/flex/index.d.cts +4 -0
- package/dist/components/flex/index.d.ts +4 -0
- package/dist/components/flex/types.d.cts +11 -0
- package/dist/components/flex/types.d.ts +11 -0
- package/dist/components/index.d.cts +69 -0
- package/dist/components/index.d.ts +69 -0
- package/dist/components/layout/create-layout-component.cjs +2 -0
- package/dist/components/layout/create-layout-component.cjs.map +1 -0
- package/dist/components/layout/create-layout-component.js +2 -0
- package/dist/components/layout/create-layout-component.js.map +1 -0
- package/dist/components/portlet/Portlet.cjs +2 -0
- package/dist/components/portlet/Portlet.cjs.map +1 -0
- package/dist/components/portlet/Portlet.d.cts +40 -0
- package/dist/components/portlet/Portlet.d.ts +40 -0
- package/dist/components/portlet/Portlet.js +2 -0
- package/dist/components/portlet/Portlet.js.map +1 -0
- package/dist/components/portlet/PortletContent.cjs +2 -0
- package/dist/components/portlet/PortletContent.cjs.map +1 -0
- package/dist/components/portlet/PortletContent.d.cts +21 -0
- package/dist/components/portlet/PortletContent.d.ts +21 -0
- package/dist/components/portlet/PortletContent.js +2 -0
- package/dist/components/portlet/PortletContent.js.map +1 -0
- package/dist/components/portlet/PortletFooter.cjs +2 -0
- package/dist/components/portlet/PortletFooter.cjs.map +1 -0
- package/dist/components/portlet/PortletFooter.d.cts +21 -0
- package/dist/components/portlet/PortletFooter.d.ts +21 -0
- package/dist/components/portlet/PortletFooter.js +2 -0
- package/dist/components/portlet/PortletFooter.js.map +1 -0
- package/dist/components/portlet/PortletHeader.cjs +2 -0
- package/dist/components/portlet/PortletHeader.cjs.map +1 -0
- package/dist/components/portlet/PortletHeader.d.cts +25 -0
- package/dist/components/portlet/PortletHeader.d.ts +25 -0
- package/dist/components/portlet/PortletHeader.js +2 -0
- package/dist/components/portlet/PortletHeader.js.map +1 -0
- package/dist/components/portlet/PortletLabel.cjs +2 -0
- package/dist/components/portlet/PortletLabel.cjs.map +1 -0
- package/dist/components/portlet/PortletLabel.d.cts +25 -0
- package/dist/components/portlet/PortletLabel.d.ts +25 -0
- package/dist/components/portlet/PortletLabel.js +2 -0
- package/dist/components/portlet/PortletLabel.js.map +1 -0
- package/dist/components/portlet/PortletTitle.cjs +2 -0
- package/dist/components/portlet/PortletTitle.cjs.map +1 -0
- package/dist/components/portlet/PortletTitle.d.cts +48 -0
- package/dist/components/portlet/PortletTitle.d.ts +48 -0
- package/dist/components/portlet/PortletTitle.js +2 -0
- package/dist/components/portlet/PortletTitle.js.map +1 -0
- package/dist/components/portlet/PortletToolbar.cjs +2 -0
- package/dist/components/portlet/PortletToolbar.cjs.map +1 -0
- package/dist/components/portlet/PortletToolbar.d.cts +19 -0
- package/dist/components/portlet/PortletToolbar.d.ts +19 -0
- package/dist/components/portlet/PortletToolbar.js +2 -0
- package/dist/components/portlet/PortletToolbar.js.map +1 -0
- package/dist/components/portlet/index.d.cts +8 -0
- package/dist/components/portlet/index.d.ts +8 -0
- package/dist/components/stack/StackColumn.cjs +2 -0
- package/dist/components/stack/StackColumn.cjs.map +1 -0
- package/dist/components/stack/StackColumn.d.cts +31 -0
- package/dist/components/stack/StackColumn.d.ts +31 -0
- package/dist/components/stack/StackColumn.js +2 -0
- package/dist/components/stack/StackColumn.js.map +1 -0
- package/dist/components/stack/StackRow.cjs +2 -0
- package/dist/components/stack/StackRow.cjs.map +1 -0
- package/dist/components/stack/StackRow.d.cts +30 -0
- package/dist/components/stack/StackRow.d.ts +30 -0
- package/dist/components/stack/StackRow.js +2 -0
- package/dist/components/stack/StackRow.js.map +1 -0
- package/dist/components/stack/index.d.cts +3 -0
- package/dist/components/stack/index.d.ts +3 -0
- package/dist/components/top-absolute/TopAbsolute.cjs +2 -0
- package/dist/components/top-absolute/TopAbsolute.cjs.map +1 -0
- package/dist/components/top-absolute/TopAbsolute.d.cts +38 -0
- package/dist/components/top-absolute/TopAbsolute.d.ts +38 -0
- package/dist/components/top-absolute/TopAbsolute.js +2 -0
- package/dist/components/top-absolute/TopAbsolute.js.map +1 -0
- package/dist/components/top-absolute/TopAbsoluteCenter.cjs +2 -0
- package/dist/components/top-absolute/TopAbsoluteCenter.cjs.map +1 -0
- package/dist/components/top-absolute/TopAbsoluteCenter.d.cts +40 -0
- package/dist/components/top-absolute/TopAbsoluteCenter.d.ts +40 -0
- package/dist/components/top-absolute/TopAbsoluteCenter.js +2 -0
- package/dist/components/top-absolute/TopAbsoluteCenter.js.map +1 -0
- package/dist/components/top-absolute/TopAbsoluteLeft.cjs +2 -0
- package/dist/components/top-absolute/TopAbsoluteLeft.cjs.map +1 -0
- package/dist/components/top-absolute/TopAbsoluteLeft.d.cts +46 -0
- package/dist/components/top-absolute/TopAbsoluteLeft.d.ts +46 -0
- package/dist/components/top-absolute/TopAbsoluteLeft.js +2 -0
- package/dist/components/top-absolute/TopAbsoluteLeft.js.map +1 -0
- package/dist/components/top-absolute/TopAbsoluteRight.cjs +2 -0
- package/dist/components/top-absolute/TopAbsoluteRight.cjs.map +1 -0
- package/dist/components/top-absolute/TopAbsoluteRight.d.cts +46 -0
- package/dist/components/top-absolute/TopAbsoluteRight.d.ts +46 -0
- package/dist/components/top-absolute/TopAbsoluteRight.js +2 -0
- package/dist/components/top-absolute/TopAbsoluteRight.js.map +1 -0
- package/dist/components/top-absolute/index.d.cts +5 -0
- package/dist/components/top-absolute/index.d.ts +5 -0
- package/dist/eventemitter/eventemitter3.cjs +2 -0
- package/dist/eventemitter/eventemitter3.cjs.map +1 -0
- package/dist/eventemitter/eventemitter3.d.cts +53 -0
- package/dist/eventemitter/eventemitter3.d.ts +53 -0
- package/dist/eventemitter/eventemitter3.js +2 -0
- package/dist/eventemitter/eventemitter3.js.map +1 -0
- package/dist/eventemitter/types.d.cts +17 -0
- package/dist/eventemitter/types.d.ts +17 -0
- package/dist/file-drop/handle-file-tree-drop.cjs +2 -0
- package/dist/file-drop/handle-file-tree-drop.cjs.map +1 -0
- package/dist/file-drop/handle-file-tree-drop.d.cts +46 -0
- package/dist/file-drop/handle-file-tree-drop.d.ts +46 -0
- package/dist/file-drop/handle-file-tree-drop.js +2 -0
- package/dist/file-drop/handle-file-tree-drop.js.map +1 -0
- package/dist/file-drop/index.cjs +1 -2
- package/dist/file-drop/index.d.cts +7 -756
- package/dist/file-drop/index.d.ts +7 -756
- package/dist/file-drop/index.js +1 -2
- package/dist/file-drop/internal/debug-logger.cjs +2 -0
- package/dist/file-drop/internal/debug-logger.cjs.map +1 -0
- package/dist/file-drop/internal/debug-logger.js +2 -0
- package/dist/file-drop/internal/debug-logger.js.map +1 -0
- package/dist/file-drop/internal/path-util.cjs +2 -0
- package/dist/file-drop/internal/path-util.cjs.map +1 -0
- package/dist/file-drop/internal/path-util.d.cts +39 -0
- package/dist/file-drop/internal/path-util.d.ts +39 -0
- package/dist/file-drop/internal/path-util.js +2 -0
- package/dist/file-drop/internal/path-util.js.map +1 -0
- package/dist/file-drop/internal/traverse-tree.cjs +2 -0
- package/dist/file-drop/internal/traverse-tree.cjs.map +1 -0
- package/dist/file-drop/internal/traverse-tree.js +2 -0
- package/dist/file-drop/internal/traverse-tree.js.map +1 -0
- package/dist/file-drop/internal/util.cjs +2 -0
- package/dist/file-drop/internal/util.cjs.map +1 -0
- package/dist/file-drop/internal/util.js +2 -0
- package/dist/file-drop/internal/util.js.map +1 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-entry.cjs +2 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-entry.cjs.map +1 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-entry.js +2 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-entry.js.map +1 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-handle.cjs +2 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-handle.cjs.map +1 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-handle.js +2 -0
- package/dist/file-drop/internal/visit-file-system/visit-file-system-handle.js.map +1 -0
- package/dist/file-drop/process-file-drop.cjs +2 -0
- package/dist/file-drop/process-file-drop.cjs.map +1 -0
- package/dist/file-drop/process-file-drop.d.cts +133 -0
- package/dist/file-drop/process-file-drop.d.ts +133 -0
- package/dist/file-drop/process-file-drop.js +2 -0
- package/dist/file-drop/process-file-drop.js.map +1 -0
- package/dist/file-drop/types.cjs +2 -0
- package/dist/file-drop/types.cjs.map +1 -0
- package/dist/file-drop/types.d.cts +489 -0
- package/dist/file-drop/types.d.ts +489 -0
- package/dist/file-drop/types.js +2 -0
- package/dist/file-drop/types.js.map +1 -0
- package/dist/file-drop/utils/file-utils.cjs +2 -0
- package/dist/file-drop/utils/file-utils.cjs.map +1 -0
- package/dist/file-drop/utils/file-utils.d.cts +31 -0
- package/dist/file-drop/utils/file-utils.d.ts +31 -0
- package/dist/file-drop/utils/file-utils.js +2 -0
- package/dist/file-drop/utils/file-utils.js.map +1 -0
- package/dist/file-drop/utils/filter.cjs +2 -0
- package/dist/file-drop/utils/filter.cjs.map +1 -0
- package/dist/file-drop/utils/filter.d.cts +25 -0
- package/dist/file-drop/utils/filter.d.ts +25 -0
- package/dist/file-drop/utils/filter.js +2 -0
- package/dist/file-drop/utils/filter.js.map +1 -0
- package/dist/{parallel-map-_ZhC5iBn.cjs → file-drop/utils/parallel-map.cjs} +1 -1
- package/dist/file-drop/utils/parallel-map.cjs.map +1 -0
- package/dist/{parallel-map-DyuHvxYY.js → file-drop/utils/parallel-map.js} +1 -1
- package/dist/file-drop/utils/parallel-map.js.map +1 -0
- package/dist/file-drop/utils/progress-tracker.cjs +2 -0
- package/dist/file-drop/utils/progress-tracker.cjs.map +1 -0
- package/dist/file-drop/utils/progress-tracker.js +2 -0
- package/dist/file-drop/utils/progress-tracker.js.map +1 -0
- package/dist/helper/index.cjs +1 -2
- package/dist/helper/index.d.cts +3 -97
- package/dist/helper/index.d.ts +3 -97
- package/dist/helper/index.js +1 -2
- package/dist/helper/mui-css-vars.cjs +2 -0
- package/dist/helper/mui-css-vars.cjs.map +1 -0
- package/dist/helper/mui-css-vars.d.cts +62 -0
- package/dist/helper/mui-css-vars.d.ts +62 -0
- package/dist/helper/mui-css-vars.js +2 -0
- package/dist/helper/mui-css-vars.js.map +1 -0
- package/dist/helper/mui-media-queries.cjs +2 -0
- package/dist/helper/mui-media-queries.cjs.map +1 -0
- package/dist/helper/mui-media-queries.d.cts +38 -0
- package/dist/helper/mui-media-queries.d.ts +38 -0
- package/dist/helper/mui-media-queries.js +2 -0
- package/dist/helper/mui-media-queries.js.map +1 -0
- package/dist/hooks/index.cjs +1 -2
- package/dist/hooks/index.d.cts +69 -1483
- package/dist/hooks/index.d.ts +69 -1483
- package/dist/hooks/index.js +1 -2
- package/dist/hooks/types.d.cts +13 -0
- package/dist/hooks/types.d.ts +13 -0
- package/dist/hooks/useAbsolutePosition.cjs +2 -0
- package/dist/hooks/useAbsolutePosition.cjs.map +1 -0
- package/dist/hooks/useAbsolutePosition.d.cts +13 -0
- package/dist/hooks/useAbsolutePosition.d.ts +13 -0
- package/dist/hooks/useAbsolutePosition.js +2 -0
- package/dist/hooks/useAbsolutePosition.js.map +1 -0
- package/dist/hooks/useAudioUnlocked.cjs +2 -0
- package/dist/hooks/useAudioUnlocked.cjs.map +1 -0
- package/dist/hooks/useAudioUnlocked.d.cts +32 -0
- package/dist/hooks/useAudioUnlocked.d.ts +32 -0
- package/dist/hooks/useAudioUnlocked.js +2 -0
- package/dist/hooks/useAudioUnlocked.js.map +1 -0
- package/dist/hooks/useBehaviorSubject.cjs +2 -0
- package/dist/hooks/useBehaviorSubject.cjs.map +1 -0
- package/dist/hooks/useBehaviorSubject.d.cts +7 -0
- package/dist/hooks/useBehaviorSubject.d.ts +7 -0
- package/dist/hooks/useBehaviorSubject.js +2 -0
- package/dist/hooks/useBehaviorSubject.js.map +1 -0
- package/dist/hooks/useCallbackRef.cjs +2 -0
- package/dist/hooks/useCallbackRef.cjs.map +1 -0
- package/dist/hooks/useCallbackRef.d.cts +33 -0
- package/dist/hooks/useCallbackRef.d.ts +33 -0
- package/dist/hooks/useCallbackRef.js +2 -0
- package/dist/hooks/useCallbackRef.js.map +1 -0
- package/dist/hooks/useCenterInView.cjs +2 -0
- package/dist/hooks/useCenterInView.cjs.map +1 -0
- package/dist/hooks/useCenterInView.d.cts +29 -0
- package/dist/hooks/useCenterInView.d.ts +29 -0
- package/dist/hooks/useCenterInView.js +2 -0
- package/dist/hooks/useCenterInView.js.map +1 -0
- package/dist/hooks/useClipboard.cjs +2 -0
- package/dist/hooks/useClipboard.cjs.map +1 -0
- package/dist/hooks/useClipboard.d.cts +59 -0
- package/dist/hooks/useClipboard.d.ts +59 -0
- package/dist/hooks/useClipboard.js +2 -0
- package/dist/hooks/useClipboard.js.map +1 -0
- package/dist/hooks/useClosableEffect.cjs +2 -0
- package/dist/hooks/useClosableEffect.cjs.map +1 -0
- package/dist/hooks/useClosableEffect.d.cts +7 -0
- package/dist/hooks/useClosableEffect.d.ts +7 -0
- package/dist/hooks/useClosableEffect.js +2 -0
- package/dist/hooks/useClosableEffect.js.map +1 -0
- package/dist/hooks/useComposedRefs.cjs +2 -0
- package/dist/hooks/useComposedRefs.cjs.map +1 -0
- package/dist/hooks/useComposedRefs.d.cts +15 -0
- package/dist/hooks/useComposedRefs.d.ts +15 -0
- package/dist/hooks/useComposedRefs.js +2 -0
- package/dist/hooks/useComposedRefs.js.map +1 -0
- package/dist/hooks/useConstant.cjs +2 -0
- package/dist/hooks/useConstant.cjs.map +1 -0
- package/dist/hooks/useConstant.d.cts +4 -0
- package/dist/hooks/useConstant.d.ts +4 -0
- package/dist/hooks/useConstant.js +2 -0
- package/dist/hooks/useConstant.js.map +1 -0
- package/dist/hooks/useCooldown.cjs +2 -0
- package/dist/hooks/useCooldown.cjs.map +1 -0
- package/dist/hooks/useCooldown.d.cts +26 -0
- package/dist/hooks/useCooldown.d.ts +26 -0
- package/dist/hooks/useCooldown.js +2 -0
- package/dist/hooks/useCooldown.js.map +1 -0
- package/dist/hooks/useCustomCompareEffect.cjs +2 -0
- package/dist/hooks/useCustomCompareEffect.cjs.map +1 -0
- package/dist/hooks/useCustomCompareEffect.d.cts +56 -0
- package/dist/hooks/useCustomCompareEffect.d.ts +56 -0
- package/dist/hooks/useCustomCompareEffect.js +2 -0
- package/dist/hooks/useCustomCompareEffect.js.map +1 -0
- package/dist/hooks/useCustomCompareMemo.cjs +2 -0
- package/dist/hooks/useCustomCompareMemo.cjs.map +1 -0
- package/dist/hooks/useCustomCompareMemo.d.cts +14 -0
- package/dist/hooks/useCustomCompareMemo.d.ts +14 -0
- package/dist/hooks/useCustomCompareMemo.js +2 -0
- package/dist/hooks/useCustomCompareMemo.js.map +1 -0
- package/dist/hooks/useDebounceEffect.cjs +2 -0
- package/dist/hooks/useDebounceEffect.cjs.map +1 -0
- package/dist/hooks/useDebounceEffect.d.cts +56 -0
- package/dist/hooks/useDebounceEffect.d.ts +56 -0
- package/dist/hooks/useDebounceEffect.js +2 -0
- package/dist/hooks/useDebounceEffect.js.map +1 -0
- package/dist/hooks/useDebounceFn.cjs +2 -0
- package/dist/hooks/useDebounceFn.cjs.map +1 -0
- package/dist/hooks/useDebounceFn.d.cts +54 -0
- package/dist/hooks/useDebounceFn.d.ts +54 -0
- package/dist/hooks/useDebounceFn.js +2 -0
- package/dist/hooks/useDebounceFn.js.map +1 -0
- package/dist/hooks/useDebouncedCallback.cjs +2 -0
- package/dist/hooks/useDebouncedCallback.cjs.map +1 -0
- package/dist/hooks/useDebouncedCallback.d.cts +40 -0
- package/dist/hooks/useDebouncedCallback.d.ts +40 -0
- package/dist/hooks/useDebouncedCallback.js +2 -0
- package/dist/hooks/useDebouncedCallback.js.map +1 -0
- package/dist/hooks/useDebouncedParams.cjs +2 -0
- package/dist/hooks/useDebouncedParams.cjs.map +1 -0
- package/dist/hooks/useDebouncedParams.d.cts +43 -0
- package/dist/hooks/useDebouncedParams.d.ts +43 -0
- package/dist/hooks/useDebouncedParams.js +2 -0
- package/dist/hooks/useDebouncedParams.js.map +1 -0
- package/dist/hooks/useDebouncedState.cjs +2 -0
- package/dist/hooks/useDebouncedState.cjs.map +1 -0
- package/dist/hooks/useDebouncedState.d.cts +36 -0
- package/dist/hooks/useDebouncedState.d.ts +36 -0
- package/dist/hooks/useDebouncedState.js +2 -0
- package/dist/hooks/useDebouncedState.js.map +1 -0
- package/dist/hooks/useDebouncedValue.cjs +2 -0
- package/dist/hooks/useDebouncedValue.cjs.map +1 -0
- package/dist/hooks/useDebouncedValue.d.cts +23 -0
- package/dist/hooks/useDebouncedValue.d.ts +23 -0
- package/dist/hooks/useDebouncedValue.js +2 -0
- package/dist/hooks/useDebouncedValue.js.map +1 -0
- package/dist/hooks/useDeepCompareEffect.cjs +2 -0
- package/dist/hooks/useDeepCompareEffect.cjs.map +1 -0
- package/dist/hooks/useDeepCompareEffect.d.cts +50 -0
- package/dist/hooks/useDeepCompareEffect.d.ts +50 -0
- package/dist/hooks/useDeepCompareEffect.js +2 -0
- package/dist/hooks/useDeepCompareEffect.js.map +1 -0
- package/dist/hooks/useDeepCompareMemo.cjs +2 -0
- package/dist/hooks/useDeepCompareMemo.cjs.map +1 -0
- package/dist/hooks/useDeepCompareMemo.d.cts +13 -0
- package/dist/hooks/useDeepCompareMemo.d.ts +13 -0
- package/dist/hooks/useDeepCompareMemo.js +2 -0
- package/dist/hooks/useDeepCompareMemo.js.map +1 -0
- package/dist/hooks/useDidUpdate.cjs +2 -0
- package/dist/hooks/useDidUpdate.cjs.map +1 -0
- package/dist/hooks/useDidUpdate.d.cts +5 -0
- package/dist/hooks/useDidUpdate.d.ts +5 -0
- package/dist/hooks/useDidUpdate.js +2 -0
- package/dist/hooks/useDidUpdate.js.map +1 -0
- package/dist/hooks/useEffectOnce.cjs +2 -0
- package/dist/hooks/useEffectOnce.cjs.map +1 -0
- package/dist/hooks/useEffectOnce.d.cts +28 -0
- package/dist/hooks/useEffectOnce.d.ts +28 -0
- package/dist/hooks/useEffectOnce.js +2 -0
- package/dist/hooks/useEffectOnce.js.map +1 -0
- package/dist/hooks/useElementSize.cjs +2 -0
- package/dist/hooks/useElementSize.cjs.map +1 -0
- package/dist/hooks/useElementSize.d.cts +30 -0
- package/dist/hooks/useElementSize.d.ts +30 -0
- package/dist/hooks/useElementSize.js +2 -0
- package/dist/hooks/useElementSize.js.map +1 -0
- package/dist/hooks/useEventListener.cjs +2 -0
- package/dist/hooks/useEventListener.cjs.map +1 -0
- package/dist/hooks/useEventListener.d.cts +4 -0
- package/dist/hooks/useEventListener.d.ts +4 -0
- package/dist/hooks/useEventListener.js +2 -0
- package/dist/hooks/useEventListener.js.map +1 -0
- package/dist/hooks/useId.cjs +2 -0
- package/dist/hooks/useId.cjs.map +1 -0
- package/dist/hooks/useId.d.cts +13 -0
- package/dist/hooks/useId.d.ts +13 -0
- package/dist/hooks/useId.js +2 -0
- package/dist/hooks/useId.js.map +1 -0
- package/dist/hooks/useIdle.cjs +2 -0
- package/dist/hooks/useIdle.cjs.map +1 -0
- package/dist/hooks/useIdle.d.cts +49 -0
- package/dist/hooks/useIdle.d.ts +49 -0
- package/dist/hooks/useIdle.js +2 -0
- package/dist/hooks/useIdle.js.map +1 -0
- package/dist/hooks/useImageLoadCallback.cjs +2 -0
- package/dist/hooks/useImageLoadCallback.cjs.map +1 -0
- package/dist/hooks/useImageLoadCallback.d.cts +44 -0
- package/dist/hooks/useImageLoadCallback.d.ts +44 -0
- package/dist/hooks/useImageLoadCallback.js +2 -0
- package/dist/hooks/useImageLoadCallback.js.map +1 -0
- package/dist/hooks/useImageUpload.cjs +2 -0
- package/dist/hooks/useImageUpload.cjs.map +1 -0
- package/dist/hooks/useImageUpload.d.cts +92 -0
- package/dist/hooks/useImageUpload.d.ts +92 -0
- package/dist/hooks/useImageUpload.js +2 -0
- package/dist/hooks/useImageUpload.js.map +1 -0
- package/dist/hooks/useInterval.cjs +2 -0
- package/dist/hooks/useInterval.cjs.map +1 -0
- package/dist/hooks/useInterval.d.cts +53 -0
- package/dist/hooks/useInterval.d.ts +53 -0
- package/dist/hooks/useInterval.js +2 -0
- package/dist/hooks/useInterval.js.map +1 -0
- package/dist/hooks/useIsomorphicEffect.cjs +2 -0
- package/dist/hooks/useIsomorphicEffect.cjs.map +1 -0
- package/dist/hooks/useIsomorphicEffect.d.cts +26 -0
- package/dist/hooks/useIsomorphicEffect.d.ts +26 -0
- package/dist/hooks/useIsomorphicEffect.js +2 -0
- package/dist/hooks/useIsomorphicEffect.js.map +1 -0
- package/dist/hooks/useLatest.cjs +2 -0
- package/dist/hooks/useLatest.cjs.map +1 -0
- package/dist/hooks/useLatest.d.cts +4 -0
- package/dist/hooks/useLatest.d.ts +4 -0
- package/dist/hooks/useLatest.js +2 -0
- package/dist/hooks/useLatest.js.map +1 -0
- package/dist/hooks/useLgOrUp.cjs +2 -0
- package/dist/hooks/useLgOrUp.cjs.map +1 -0
- package/dist/hooks/useLgOrUp.d.cts +5 -0
- package/dist/hooks/useLgOrUp.d.ts +5 -0
- package/dist/hooks/useLgOrUp.js +2 -0
- package/dist/hooks/useLgOrUp.js.map +1 -0
- package/dist/hooks/useLifecycleLogger.cjs +2 -0
- package/dist/hooks/useLifecycleLogger.cjs.map +1 -0
- package/dist/hooks/useLifecycleLogger.d.cts +11 -0
- package/dist/hooks/useLifecycleLogger.d.ts +11 -0
- package/dist/hooks/useLifecycleLogger.js +2 -0
- package/dist/hooks/useLifecycleLogger.js.map +1 -0
- package/dist/hooks/useLoadingVisible.cjs +2 -0
- package/dist/hooks/useLoadingVisible.cjs.map +1 -0
- package/dist/hooks/useLoadingVisible.d.cts +33 -0
- package/dist/hooks/useLoadingVisible.d.ts +33 -0
- package/dist/hooks/useLoadingVisible.js +2 -0
- package/dist/hooks/useLoadingVisible.js.map +1 -0
- package/dist/hooks/useLocalStorage.cjs +2 -0
- package/dist/hooks/useLocalStorage.cjs.map +1 -0
- package/dist/hooks/useLocalStorage.d.cts +13 -0
- package/dist/hooks/useLocalStorage.d.ts +13 -0
- package/dist/hooks/useLocalStorage.js +2 -0
- package/dist/hooks/useLocalStorage.js.map +1 -0
- package/dist/hooks/useLocalStorageState.cjs +2 -0
- package/dist/hooks/useLocalStorageState.cjs.map +1 -0
- package/dist/hooks/useLocalStorageState.d.cts +9 -0
- package/dist/hooks/useLocalStorageState.d.ts +9 -0
- package/dist/hooks/useLocalStorageState.js +2 -0
- package/dist/hooks/useLocalStorageState.js.map +1 -0
- package/dist/hooks/useMdOrDown.cjs +2 -0
- package/dist/hooks/useMdOrDown.cjs.map +1 -0
- package/dist/hooks/useMdOrDown.d.cts +5 -0
- package/dist/hooks/useMdOrDown.d.ts +5 -0
- package/dist/hooks/useMdOrDown.js +2 -0
- package/dist/hooks/useMdOrDown.js.map +1 -0
- package/dist/hooks/useMdOrUp.cjs +2 -0
- package/dist/hooks/useMdOrUp.cjs.map +1 -0
- package/dist/hooks/useMdOrUp.d.cts +5 -0
- package/dist/hooks/useMdOrUp.d.ts +5 -0
- package/dist/hooks/useMdOrUp.js +2 -0
- package/dist/hooks/useMdOrUp.js.map +1 -0
- package/dist/hooks/useMount.cjs +2 -0
- package/dist/hooks/useMount.cjs.map +1 -0
- package/dist/hooks/useMount.d.cts +27 -0
- package/dist/hooks/useMount.d.ts +27 -0
- package/dist/hooks/useMount.js +2 -0
- package/dist/hooks/useMount.js.map +1 -0
- package/dist/hooks/useMounted.cjs +2 -0
- package/dist/hooks/useMounted.cjs.map +1 -0
- package/dist/hooks/useMounted.d.cts +24 -0
- package/dist/hooks/useMounted.d.ts +24 -0
- package/dist/hooks/useMounted.js +2 -0
- package/dist/hooks/useMounted.js.map +1 -0
- package/dist/hooks/useMountedState.cjs +2 -0
- package/dist/hooks/useMountedState.cjs.map +1 -0
- package/dist/hooks/useMountedState.d.cts +38 -0
- package/dist/hooks/useMountedState.d.ts +38 -0
- package/dist/hooks/useMountedState.js +2 -0
- package/dist/hooks/useMountedState.js.map +1 -0
- package/dist/hooks/useMutationObserver.cjs +2 -0
- package/dist/hooks/useMutationObserver.cjs.map +1 -0
- package/dist/hooks/useMutationObserver.d.cts +28 -0
- package/dist/hooks/useMutationObserver.d.ts +28 -0
- package/dist/hooks/useMutationObserver.js +2 -0
- package/dist/hooks/useMutationObserver.js.map +1 -0
- package/dist/hooks/useObservable.cjs +2 -0
- package/dist/hooks/useObservable.cjs.map +1 -0
- package/dist/hooks/useObservable.d.cts +6 -0
- package/dist/hooks/useObservable.d.ts +7 -0
- package/dist/hooks/useObservable.js +2 -0
- package/dist/hooks/useObservable.js.map +1 -0
- package/dist/hooks/useObservableLocalStorage.cjs +2 -0
- package/dist/hooks/useObservableLocalStorage.cjs.map +1 -0
- package/dist/hooks/useObservableLocalStorage.d.cts +7 -0
- package/dist/hooks/useObservableLocalStorage.d.ts +7 -0
- package/dist/hooks/useObservableLocalStorage.js +2 -0
- package/dist/hooks/useObservableLocalStorage.js.map +1 -0
- package/dist/hooks/useObservableSessionStorage.cjs +2 -0
- package/dist/hooks/useObservableSessionStorage.cjs.map +1 -0
- package/dist/hooks/useObservableSessionStorage.d.cts +7 -0
- package/dist/hooks/useObservableSessionStorage.d.ts +7 -0
- package/dist/hooks/useObservableSessionStorage.js +2 -0
- package/dist/hooks/useObservableSessionStorage.js.map +1 -0
- package/dist/hooks/useOs.cjs +2 -0
- package/dist/hooks/useOs.cjs.map +1 -0
- package/dist/hooks/useOs.d.cts +9 -0
- package/dist/hooks/useOs.d.ts +9 -0
- package/dist/hooks/useOs.js +2 -0
- package/dist/hooks/useOs.js.map +1 -0
- package/dist/hooks/useRafState.cjs +2 -0
- package/dist/hooks/useRafState.cjs.map +1 -0
- package/dist/hooks/useRafState.d.cts +5 -0
- package/dist/hooks/useRafState.d.ts +5 -0
- package/dist/hooks/useRafState.js +2 -0
- package/dist/hooks/useRafState.js.map +1 -0
- package/dist/hooks/useRefEffect.cjs +2 -0
- package/dist/hooks/useRefEffect.cjs.map +1 -0
- package/dist/hooks/useRefEffect.d.cts +27 -0
- package/dist/hooks/useRefEffect.d.ts +27 -0
- package/dist/hooks/useRefEffect.js +2 -0
- package/dist/hooks/useRefEffect.js.map +1 -0
- package/dist/hooks/useResizeObserver.cjs +2 -0
- package/dist/hooks/useResizeObserver.cjs.map +1 -0
- package/dist/hooks/useResizeObserver.d.cts +27 -0
- package/dist/hooks/useResizeObserver.d.ts +27 -0
- package/dist/hooks/useResizeObserver.js +2 -0
- package/dist/hooks/useResizeObserver.js.map +1 -0
- package/dist/hooks/useScript.cjs +2 -0
- package/dist/hooks/useScript.cjs.map +1 -0
- package/dist/hooks/useScript.d.cts +8 -0
- package/dist/hooks/useScript.d.ts +8 -0
- package/dist/hooks/useScript.js +2 -0
- package/dist/hooks/useScript.js.map +1 -0
- package/dist/hooks/useSessionStorage.cjs +2 -0
- package/dist/hooks/useSessionStorage.cjs.map +1 -0
- package/dist/hooks/useSessionStorage.d.cts +22 -0
- package/dist/hooks/useSessionStorage.d.ts +22 -0
- package/dist/hooks/useSessionStorage.js +2 -0
- package/dist/hooks/useSessionStorage.js.map +1 -0
- package/dist/hooks/useSessionStorageState.cjs +2 -0
- package/dist/hooks/useSessionStorageState.cjs.map +1 -0
- package/dist/hooks/useSessionStorageState.d.cts +9 -0
- package/dist/hooks/useSessionStorageState.d.ts +9 -0
- package/dist/hooks/useSessionStorageState.js +2 -0
- package/dist/hooks/useSessionStorageState.js.map +1 -0
- package/dist/hooks/useSmOrDown.cjs +2 -0
- package/dist/hooks/useSmOrDown.cjs.map +1 -0
- package/dist/hooks/useSmOrDown.d.cts +5 -0
- package/dist/hooks/useSmOrDown.d.ts +5 -0
- package/dist/hooks/useSmOrDown.js +2 -0
- package/dist/hooks/useSmOrDown.js.map +1 -0
- package/dist/hooks/useSmOrUp.cjs +2 -0
- package/dist/hooks/useSmOrUp.cjs.map +1 -0
- package/dist/hooks/useSmOrUp.d.cts +5 -0
- package/dist/hooks/useSmOrUp.d.ts +5 -0
- package/dist/hooks/useSmOrUp.js +2 -0
- package/dist/hooks/useSmOrUp.js.map +1 -0
- package/dist/hooks/useThrottledCallback.cjs +2 -0
- package/dist/hooks/useThrottledCallback.cjs.map +1 -0
- package/dist/hooks/useThrottledCallback.d.cts +24 -0
- package/dist/hooks/useThrottledCallback.d.ts +24 -0
- package/dist/hooks/useThrottledCallback.js +2 -0
- package/dist/hooks/useThrottledCallback.js.map +1 -0
- package/dist/hooks/useThrottledCallbackWithClearTimeout.cjs +2 -0
- package/dist/hooks/useThrottledCallbackWithClearTimeout.cjs.map +1 -0
- package/dist/hooks/useThrottledCallbackWithClearTimeout.d.cts +30 -0
- package/dist/hooks/useThrottledCallbackWithClearTimeout.d.ts +30 -0
- package/dist/hooks/useThrottledCallbackWithClearTimeout.js +2 -0
- package/dist/hooks/useThrottledCallbackWithClearTimeout.js.map +1 -0
- package/dist/hooks/useThrottledState.cjs +2 -0
- package/dist/hooks/useThrottledState.cjs.map +1 -0
- package/dist/hooks/useThrottledState.d.cts +31 -0
- package/dist/hooks/useThrottledState.d.ts +31 -0
- package/dist/hooks/useThrottledState.js +2 -0
- package/dist/hooks/useThrottledState.js.map +1 -0
- package/dist/hooks/useThrottledValue.cjs +2 -0
- package/dist/hooks/useThrottledValue.cjs.map +1 -0
- package/dist/hooks/useThrottledValue.d.cts +21 -0
- package/dist/hooks/useThrottledValue.d.ts +21 -0
- package/dist/hooks/useThrottledValue.js +2 -0
- package/dist/hooks/useThrottledValue.js.map +1 -0
- package/dist/hooks/useTimeout.cjs +2 -0
- package/dist/hooks/useTimeout.cjs.map +1 -0
- package/dist/hooks/useTimeout.d.cts +38 -0
- package/dist/hooks/useTimeout.d.ts +38 -0
- package/dist/hooks/useTimeout.js +2 -0
- package/dist/hooks/useTimeout.js.map +1 -0
- package/dist/hooks/useTimeoutData.cjs +2 -0
- package/dist/hooks/useTimeoutData.cjs.map +1 -0
- package/dist/hooks/useTimeoutData.d.cts +7 -0
- package/dist/hooks/useTimeoutData.d.ts +7 -0
- package/dist/hooks/useTimeoutData.js +2 -0
- package/dist/hooks/useTimeoutData.js.map +1 -0
- package/dist/hooks/useUncontrolled.cjs +2 -0
- package/dist/hooks/useUncontrolled.cjs.map +1 -0
- package/dist/hooks/useUncontrolled.d.cts +48 -0
- package/dist/hooks/useUncontrolled.d.ts +48 -0
- package/dist/hooks/useUncontrolled.js +2 -0
- package/dist/hooks/useUncontrolled.js.map +1 -0
- package/dist/hooks/useUnmount.cjs +2 -0
- package/dist/hooks/useUnmount.cjs.map +1 -0
- package/dist/hooks/useUnmount.d.cts +4 -0
- package/dist/hooks/useUnmount.d.ts +4 -0
- package/dist/hooks/useUnmount.js +2 -0
- package/dist/hooks/useUnmount.js.map +1 -0
- package/dist/hooks/useUpdate.cjs +2 -0
- package/dist/hooks/useUpdate.cjs.map +1 -0
- package/dist/hooks/useUpdate.d.cts +4 -0
- package/dist/hooks/useUpdate.d.ts +4 -0
- package/dist/hooks/useUpdate.js +2 -0
- package/dist/hooks/useUpdate.js.map +1 -0
- package/dist/hooks/useUpdateEffect.cjs +2 -0
- package/dist/hooks/useUpdateEffect.cjs.map +1 -0
- package/dist/hooks/useUpdateEffect.d.cts +5 -0
- package/dist/hooks/useUpdateEffect.d.ts +5 -0
- package/dist/hooks/useUpdateEffect.js +2 -0
- package/dist/hooks/useUpdateEffect.js.map +1 -0
- package/dist/hooks/useUpdateLayoutEffect.cjs +2 -0
- package/dist/hooks/useUpdateLayoutEffect.cjs.map +1 -0
- package/dist/hooks/useUpdateLayoutEffect.d.cts +5 -0
- package/dist/hooks/useUpdateLayoutEffect.d.ts +5 -0
- package/dist/hooks/useUpdateLayoutEffect.js +2 -0
- package/dist/hooks/useUpdateLayoutEffect.js.map +1 -0
- package/dist/hooks/useWindowEvent.cjs +2 -0
- package/dist/hooks/useWindowEvent.cjs.map +1 -0
- package/dist/hooks/useWindowEvent.d.cts +24 -0
- package/dist/hooks/useWindowEvent.d.ts +24 -0
- package/dist/hooks/useWindowEvent.js +2 -0
- package/dist/hooks/useWindowEvent.js.map +1 -0
- package/dist/hooks/useWindowSize.cjs +2 -0
- package/dist/hooks/useWindowSize.cjs.map +1 -0
- package/dist/hooks/useWindowSize.d.cts +13 -0
- package/dist/hooks/useWindowSize.d.ts +13 -0
- package/dist/hooks/useWindowSize.js +2 -0
- package/dist/hooks/useWindowSize.js.map +1 -0
- package/dist/hooks/useXsOrDown.cjs +2 -0
- package/dist/hooks/useXsOrDown.cjs.map +1 -0
- package/dist/hooks/useXsOrDown.d.cts +5 -0
- package/dist/hooks/useXsOrDown.d.ts +5 -0
- package/dist/hooks/useXsOrDown.js +2 -0
- package/dist/hooks/useXsOrDown.js.map +1 -0
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +65 -1406
- package/dist/index.d.ts +65 -1406
- package/dist/index.js +1 -2
- package/dist/misc/debounce.cjs +2 -0
- package/dist/misc/debounce.cjs.map +1 -0
- package/dist/misc/debounce.js +2 -0
- package/dist/misc/debounce.js.map +1 -0
- package/dist/misc/deepEq.cjs +2 -0
- package/dist/misc/deepEq.cjs.map +1 -0
- package/dist/misc/deepEq.js +2 -0
- package/dist/misc/deepEq.js.map +1 -0
- package/dist/persistence/codec.cjs +2 -0
- package/dist/persistence/codec.cjs.map +1 -0
- package/dist/persistence/codec.d.cts +21 -0
- package/dist/persistence/codec.d.ts +21 -0
- package/dist/persistence/codec.js +2 -0
- package/dist/persistence/codec.js.map +1 -0
- package/dist/persistence/index.d.cts +2 -0
- package/dist/persistence/index.d.ts +2 -0
- package/dist/persistence/useStorageState.cjs +2 -0
- package/dist/persistence/useStorageState.cjs.map +1 -0
- package/dist/persistence/useStorageState.d.cts +39 -0
- package/dist/persistence/useStorageState.d.ts +39 -0
- package/dist/persistence/useStorageState.js +2 -0
- package/dist/persistence/useStorageState.js.map +1 -0
- package/dist/util/closables.cjs +2 -0
- package/dist/util/closables.cjs.map +1 -0
- package/dist/util/closables.d.cts +70 -0
- package/dist/util/closables.d.ts +70 -0
- package/dist/util/closables.js +2 -0
- package/dist/util/closables.js.map +1 -0
- package/dist/util/event-utils.cjs +2 -0
- package/dist/util/event-utils.cjs.map +1 -0
- package/dist/util/event-utils.d.cts +12 -0
- package/dist/util/event-utils.d.ts +12 -0
- package/dist/util/event-utils.js +2 -0
- package/dist/util/event-utils.js.map +1 -0
- package/dist/util/internal-util.cjs +2 -0
- package/dist/util/internal-util.cjs.map +1 -0
- package/dist/util/internal-util.js +2 -0
- package/dist/util/internal-util.js.map +1 -0
- package/dist/util/misc-utils.cjs +2 -0
- package/dist/util/misc-utils.cjs.map +1 -0
- package/dist/util/misc-utils.d.cts +15 -0
- package/dist/util/misc-utils.d.ts +15 -0
- package/dist/util/misc-utils.js +2 -0
- package/dist/util/misc-utils.js.map +1 -0
- package/dist/util/override-props.cjs +2 -0
- package/dist/util/override-props.cjs.map +1 -0
- package/dist/util/override-props.js +2 -0
- package/dist/util/override-props.js.map +1 -0
- package/dist/util/sx-props.cjs +2 -0
- package/dist/util/sx-props.cjs.map +1 -0
- package/dist/util/sx-props.d.cts +22 -0
- package/dist/util/sx-props.d.ts +22 -0
- package/dist/util/sx-props.js +2 -0
- package/dist/util/sx-props.js.map +1 -0
- package/dist/util/ymd-date.cjs +2 -0
- package/dist/util/ymd-date.cjs.map +1 -0
- package/dist/util/ymd-date.js +2 -0
- package/dist/util/ymd-date.js.map +1 -0
- package/llm.txt +16 -9
- package/package.json +21 -22
- package/dist/closables-CeOGJV-d.d.cts +0 -136
- package/dist/closables-CeOGJV-d.d.ts +0 -136
- package/dist/file-drop/index.cjs.map +0 -1
- package/dist/file-drop/index.js.map +0 -1
- package/dist/helper/index.cjs.map +0 -1
- package/dist/helper/index.js.map +0 -1
- package/dist/hooks/index.cjs.map +0 -1
- package/dist/hooks/index.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/misc-utils-B2de-HS4.cjs +0 -2
- package/dist/misc-utils-B2de-HS4.cjs.map +0 -1
- package/dist/misc-utils-BXQ8UU0R.js +0 -2
- package/dist/misc-utils-BXQ8UU0R.js.map +0 -1
- package/dist/parallel-map-DyuHvxYY.js.map +0 -1
- package/dist/parallel-map-_ZhC5iBn.cjs.map +0 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PortletContent, PortletContentProps } from "./PortletContent.js";
|
|
2
|
+
import { PortletFooter, PortletFooterProps } from "./PortletFooter.js";
|
|
3
|
+
import { PortletHeader, PortletHeaderProps } from "./PortletHeader.js";
|
|
4
|
+
import { PortletLabel, PortletLabelProps } from "./PortletLabel.js";
|
|
5
|
+
import { PortletTitle, PortletTitleProps } from "./PortletTitle.js";
|
|
6
|
+
import { PortletToolbar, PortletToolbarProps } from "./PortletToolbar.js";
|
|
7
|
+
import { FunctionComponent, ReactNode } from "react";
|
|
8
|
+
import { PaperProps } from "@mui/material/Paper";
|
|
9
|
+
//#region src/components/portlet/Portlet.d.ts
|
|
10
|
+
export interface PortletProps extends Omit<PaperProps, 'elevation' | 'component' | 'nonce'> {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
interface PortletComponent extends FunctionComponent<PortletProps> {
|
|
14
|
+
Content: typeof PortletContent;
|
|
15
|
+
Header: typeof PortletHeader;
|
|
16
|
+
Footer: typeof PortletFooter;
|
|
17
|
+
Label: typeof PortletLabel;
|
|
18
|
+
Title: typeof PortletTitle;
|
|
19
|
+
Toolbar: typeof PortletToolbar;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Label, Toolbar, Content, Footer를 조립하는 카드형 컨테이너입니다.
|
|
23
|
+
*
|
|
24
|
+
* @param props Paper 속성과 Portlet 자식 요소
|
|
25
|
+
* @returns 테두리와 세로 레이아웃이 적용된 Portlet
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <Portlet>
|
|
29
|
+
* <Portlet.Header>
|
|
30
|
+
* <Portlet.Label title='상태' />
|
|
31
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
32
|
+
* </Portlet.Header>
|
|
33
|
+
* <Portlet.Content>내용</Portlet.Content>
|
|
34
|
+
* </Portlet>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare const Portlet: PortletComponent;
|
|
38
|
+
//#endregion
|
|
39
|
+
export type { PortletContentProps, PortletFooterProps, PortletHeaderProps, PortletLabelProps, PortletTitleProps, PortletToolbarProps };
|
|
40
|
+
//# sourceMappingURL=Portlet.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{PortletContent as e}from"./PortletContent.js";import{PortletFooter as t}from"./PortletFooter.js";import{PortletHeader as n}from"./PortletHeader.js";import{PortletLabel as r}from"./PortletLabel.js";import{PortletTitle as i}from"./PortletTitle.js";import{PortletToolbar as a}from"./PortletToolbar.js";import{jsx as o}from"react/jsx-runtime";import{clsx as s}from"clsx";import c from"@mui/material/Paper";const l={square:!0},u=(e=>{let{sx:t,className:n,children:r,ref:i,...a}=e;return/* @__PURE__ */ o(c,{...l,...a,elevation:0,ref:i,component:`div`,className:s(`Portlet-root`,n),sx:[{display:`flex`,flexDirection:`column`,alignItems:`stretch`,border:`1px solid #E0E4EE`},...Array.isArray(t)?t:[t??!1]],children:r})});u.displayName=`Portlet`,u.Content=e,u.Header=n,u.Footer=t,u.Label=r,u.Title=i,u.Toolbar=a;export{u as Portlet};
|
|
2
|
+
//# sourceMappingURL=Portlet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Portlet.js","names":["Paper","MuiPaper","defaultProps","Portlet","restProps","props","clsx","className","sx","PortletContent","PortletHeader","PortletFooter","PortletLabel","PortletTitle","PortletToolbar"],"sources":["../../../src/components/portlet/Portlet.tsx"],"sourcesContent":["'use client';\n\nimport Paper, { type PaperProps } from '@mui/material/Paper';\nimport { clsx } from 'clsx';\nimport type { FunctionComponent, ReactNode } from 'react';\nimport { PortletContent } from './PortletContent.js';\nimport { PortletFooter } from './PortletFooter.js';\nimport { PortletHeader } from './PortletHeader.js';\nimport { PortletLabel } from './PortletLabel.js';\nimport { PortletTitle } from './PortletTitle.js';\nimport { PortletToolbar } from './PortletToolbar.js';\n\nexport type { PortletContentProps } from './PortletContent.js';\nexport type { PortletFooterProps } from './PortletFooter.js';\nexport type { PortletHeaderProps } from './PortletHeader.js';\nexport type { PortletLabelProps } from './PortletLabel.js';\nexport type { PortletTitleProps } from './PortletTitle.js';\nexport type { PortletToolbarProps } from './PortletToolbar.js';\n\nconst defaultProps: PaperProps = {\n square: true,\n};\n\nexport interface PortletProps extends Omit<PaperProps, 'elevation' | 'component' | 'nonce'> {\n children?: ReactNode;\n}\n\ninterface PortletComponent extends FunctionComponent<PortletProps> {\n Content: typeof PortletContent;\n Header: typeof PortletHeader;\n Footer: typeof PortletFooter;\n Label: typeof PortletLabel;\n Title: typeof PortletTitle;\n Toolbar: typeof PortletToolbar;\n}\n\n/**\n * Label, Toolbar, Content, Footer를 조립하는 카드형 컨테이너입니다.\n *\n * @param props Paper 속성과 Portlet 자식 요소\n * @returns 테두리와 세로 레이아웃이 적용된 Portlet\n * @example\n * ```tsx\n * <Portlet>\n * <Portlet.Header>\n * <Portlet.Label title='상태' />\n * <Portlet.Toolbar>도구</Portlet.Toolbar>\n * </Portlet.Header>\n * <Portlet.Content>내용</Portlet.Content>\n * </Portlet>\n * ```\n */\nexport const Portlet = ((props: PortletProps) => {\n const { sx, className, children, ref, ...restProps } = props;\n return (\n <Paper\n {...defaultProps}\n {...restProps}\n elevation={0}\n ref={ref}\n component='div'\n className={clsx('Portlet-root', className)}\n sx={[\n {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'stretch',\n border: '1px solid #E0E4EE',\n },\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Paper>\n );\n}) as PortletComponent;\n\nPortlet.displayName = 'Portlet';\nPortlet.Content = PortletContent;\nPortlet.Header = PortletHeader;\nPortlet.Footer = PortletFooter;\nPortlet.Label = PortletLabel;\nPortlet.Title = PortletTitle;\nPortlet.Toolbar = PortletToolbar;\n"],"mappings":"saAmBA,MAAME,EAA2B,CAC/B,OAAQ,EACV,EA+BaC,GAAY,GAAwB,CAC/C,GAAM,CAAE,KAAI,YAAW,WAAU,MAAK,GAAGC,GAAcC,EACvD,MACE,kBAACL,EAAD,CACE,GAAIE,EACJ,GAAIE,EACJ,UAAW,EACN,MACL,UAAU,MACV,UAAWE,EAAK,eAAgBC,CAAS,EACzC,GAAI,CACF,CACE,QAAS,OACT,cAAe,SACf,WAAY,UACZ,OAAQ,mBACV,EACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACI,CAAA,CAEX,GAEA,EAAQ,YAAc,UACtB,EAAQ,QAAUC,EAClB,EAAQ,OAASC,EACjB,EAAQ,OAASC,EACjB,EAAQ,MAAQC,EAChB,EAAQ,MAAQC,EAChB,EAAQ,QAAUC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("@mui/material/Box");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("clsx");const i=e=>{let{noPadding:i=!1,className:a,sx:o,children:s,ref:c,...l}=e;return/* @__PURE__ */ (0,n.jsx)(t.default,{...l,className:(0,r.clsx)(`PortletContent-root`,a,{"PortletContent-noPadding":i}),ref:c,sx:[e=>({flex:1,p:e.spacing(2,3),"&.PortletContent-noPadding":{p:0}}),...Array.isArray(o)?o:[o??!1]],children:s})};i.displayName=`PortletContent`,exports.PortletContent=i;
|
|
2
|
+
//# sourceMappingURL=PortletContent.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletContent.cjs","names":["Box","require_runtime","_mui_material_Box","react_jsx_runtime","clsx","PortletContent","restProps","props","className","noPadding","theme","sx"],"sources":["../../../src/components/portlet/PortletContent.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport interface PortletContentProps extends BoxProps {\n noPadding?: boolean;\n}\n\n/**\n * Portlet의 본문 영역을 렌더링합니다.\n *\n * @param props Box 속성과 여백 설정\n * @returns 본문 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Content noPadding>내용</Portlet.Content>\n * ```\n */\nexport const PortletContent = (props: PortletContentProps) => {\n const { noPadding = false, className, sx, children, ref, ...restProps } = props;\n return (\n <Box\n {...restProps}\n className={clsx('PortletContent-root', className, {\n 'PortletContent-noPadding': noPadding,\n })}\n ref={ref}\n sx={[\n (theme) => ({\n flex: 1,\n p: theme.spacing(2, 3),\n '&.PortletContent-noPadding': {\n p: 0,\n },\n }),\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletContent.displayName = 'PortletContent';\n"],"mappings":"8KAmBA,MAAaK,EAAkB,GAA+B,CAC5D,GAAM,CAAE,YAAY,GAAO,YAAW,KAAI,WAAU,MAAK,GAAGC,GAAcC,EAC1E,MACE,iBAAA,EAAAJ,EAAA,IAAA,CAACH,EAAAA,QAAD,CACE,GAAIM,EACJ,WAAA,EAAWF,EAAA,KAAA,CAAK,sBAAuBI,EAAW,CAChD,2BAA4BC,CAC9B,CAAC,EACI,MACL,GAAI,CACD,IAAW,CACV,KAAM,EACN,EAAGC,EAAM,QAAQ,EAAG,CAAC,EACrB,6BAA8B,CAC5B,EAAG,CACL,CACF,GACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAe,YAAc"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletContent.d.ts
|
|
3
|
+
export interface PortletContentProps extends BoxProps {
|
|
4
|
+
noPadding?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Portlet의 본문 영역을 렌더링합니다.
|
|
8
|
+
*
|
|
9
|
+
* @param props Box 속성과 여백 설정
|
|
10
|
+
* @returns 본문 레이아웃이 적용된 Box
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Portlet.Content noPadding>내용</Portlet.Content>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const PortletContent: {
|
|
17
|
+
(props: PortletContentProps): import("react").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
//# sourceMappingURL=PortletContent.d.cts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletContent.d.ts
|
|
3
|
+
export interface PortletContentProps extends BoxProps {
|
|
4
|
+
noPadding?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Portlet의 본문 영역을 렌더링합니다.
|
|
8
|
+
*
|
|
9
|
+
* @param props Box 속성과 여백 설정
|
|
10
|
+
* @returns 본문 레이아웃이 적용된 Box
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Portlet.Content noPadding>내용</Portlet.Content>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const PortletContent: {
|
|
17
|
+
(props: PortletContentProps): import("react").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
//# sourceMappingURL=PortletContent.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import e from"@mui/material/Box";import{jsx as t}from"react/jsx-runtime";import{clsx as n}from"clsx";const r=r=>{let{noPadding:i=!1,className:a,sx:o,children:s,ref:c,...l}=r;return/* @__PURE__ */ t(e,{...l,className:n(`PortletContent-root`,a,{"PortletContent-noPadding":i}),ref:c,sx:[e=>({flex:1,p:e.spacing(2,3),"&.PortletContent-noPadding":{p:0}}),...Array.isArray(o)?o:[o??!1]],children:s})};r.displayName=`PortletContent`;export{r as PortletContent};
|
|
2
|
+
//# sourceMappingURL=PortletContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletContent.js","names":["Box","PortletContent","restProps","props","clsx","className","noPadding","theme","sx"],"sources":["../../../src/components/portlet/PortletContent.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport interface PortletContentProps extends BoxProps {\n noPadding?: boolean;\n}\n\n/**\n * Portlet의 본문 영역을 렌더링합니다.\n *\n * @param props Box 속성과 여백 설정\n * @returns 본문 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Content noPadding>내용</Portlet.Content>\n * ```\n */\nexport const PortletContent = (props: PortletContentProps) => {\n const { noPadding = false, className, sx, children, ref, ...restProps } = props;\n return (\n <Box\n {...restProps}\n className={clsx('PortletContent-root', className, {\n 'PortletContent-noPadding': noPadding,\n })}\n ref={ref}\n sx={[\n (theme) => ({\n flex: 1,\n p: theme.spacing(2, 3),\n '&.PortletContent-noPadding': {\n p: 0,\n },\n }),\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletContent.displayName = 'PortletContent';\n"],"mappings":"kHAmBA,MAAaC,EAAkB,GAA+B,CAC5D,GAAM,CAAE,YAAY,GAAO,YAAW,KAAI,WAAU,MAAK,GAAGC,GAAcC,EAC1E,MACE,kBAACH,EAAD,CACE,GAAIE,EACJ,UAAWE,EAAK,sBAAuBC,EAAW,CAChD,2BAA4BC,CAC9B,CAAC,EACI,MACL,GAAI,CACD,IAAW,CACV,KAAM,EACN,EAAGC,EAAM,QAAQ,EAAG,CAAC,EACrB,6BAA8B,CAC5B,EAAG,CACL,CACF,GACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAe,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("@mui/material/Box");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("clsx");const i=e=>{let{noDivider:i,sx:a,className:o,children:s,ref:c,...l}=e;return/* @__PURE__ */ (0,n.jsx)(t.default,{...l,className:(0,r.clsx)(`PortletFooter-root`,o,{"PortletFooter-noDivider":i}),ref:c,sx:[e=>({p:e.spacing(1,2),borderTop:`1px solid #E0E4EE`,borderBottomLeftRadius:`2px`,borderBottomRightRadius:`2px`,"&.PortletFooter-noDivider":{borderTop:`none`}}),...Array.isArray(a)?a:[a??!1]],children:s})};i.displayName=`PortletFooter`,exports.PortletFooter=i;
|
|
2
|
+
//# sourceMappingURL=PortletFooter.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletFooter.cjs","names":["Box","require_runtime","_mui_material_Box","react_jsx_runtime","clsx","PortletFooter","rest","props","className","noDivider","theme","sx"],"sources":["../../../src/components/portlet/PortletFooter.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport interface PortletFooterProps extends BoxProps {\n noDivider?: boolean;\n}\n\n/**\n * Portlet의 하단 영역을 렌더링합니다.\n *\n * @param props Box 속성과 구분선 설정\n * @returns 하단 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Footer noDivider>하단 내용</Portlet.Footer>\n * ```\n */\nexport const PortletFooter = (props: PortletFooterProps) => {\n const { noDivider, sx, className, children, ref, ...rest } = props;\n return (\n <Box\n {...rest}\n className={clsx('PortletFooter-root', className, {\n 'PortletFooter-noDivider': noDivider,\n })}\n ref={ref}\n sx={[\n (theme) => ({\n p: theme.spacing(1, 2),\n borderTop: '1px solid #E0E4EE',\n borderBottomLeftRadius: '2px',\n borderBottomRightRadius: '2px',\n '&.PortletFooter-noDivider': {\n borderTop: 'none',\n },\n }),\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletFooter.displayName = 'PortletFooter';\n"],"mappings":"8KAmBA,MAAaK,EAAiB,GAA8B,CAC1D,GAAM,CAAE,YAAW,KAAI,YAAW,WAAU,MAAK,GAAGC,GAASC,EAC7D,MACE,iBAAA,EAAAJ,EAAA,IAAA,CAACH,EAAAA,QAAD,CACE,GAAIM,EACJ,WAAA,EAAWF,EAAA,KAAA,CAAK,qBAAsBI,EAAW,CAC/C,0BAA2BC,CAC7B,CAAC,EACI,MACL,GAAI,CACD,IAAW,CACV,EAAGC,EAAM,QAAQ,EAAG,CAAC,EACrB,UAAW,oBACX,uBAAwB,MACxB,wBAAyB,MACzB,4BAA6B,CAC3B,UAAW,MACb,CACF,GACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAc,YAAc"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletFooter.d.ts
|
|
3
|
+
export interface PortletFooterProps extends BoxProps {
|
|
4
|
+
noDivider?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Portlet의 하단 영역을 렌더링합니다.
|
|
8
|
+
*
|
|
9
|
+
* @param props Box 속성과 구분선 설정
|
|
10
|
+
* @returns 하단 레이아웃이 적용된 Box
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Portlet.Footer noDivider>하단 내용</Portlet.Footer>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const PortletFooter: {
|
|
17
|
+
(props: PortletFooterProps): import("react").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
//# sourceMappingURL=PortletFooter.d.cts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletFooter.d.ts
|
|
3
|
+
export interface PortletFooterProps extends BoxProps {
|
|
4
|
+
noDivider?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Portlet의 하단 영역을 렌더링합니다.
|
|
8
|
+
*
|
|
9
|
+
* @param props Box 속성과 구분선 설정
|
|
10
|
+
* @returns 하단 레이아웃이 적용된 Box
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Portlet.Footer noDivider>하단 내용</Portlet.Footer>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const PortletFooter: {
|
|
17
|
+
(props: PortletFooterProps): import("react").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
//# sourceMappingURL=PortletFooter.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import e from"@mui/material/Box";import{jsx as t}from"react/jsx-runtime";import{clsx as n}from"clsx";const r=r=>{let{noDivider:i,sx:a,className:o,children:s,ref:c,...l}=r;return/* @__PURE__ */ t(e,{...l,className:n(`PortletFooter-root`,o,{"PortletFooter-noDivider":i}),ref:c,sx:[e=>({p:e.spacing(1,2),borderTop:`1px solid #E0E4EE`,borderBottomLeftRadius:`2px`,borderBottomRightRadius:`2px`,"&.PortletFooter-noDivider":{borderTop:`none`}}),...Array.isArray(a)?a:[a??!1]],children:s})};r.displayName=`PortletFooter`;export{r as PortletFooter};
|
|
2
|
+
//# sourceMappingURL=PortletFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletFooter.js","names":["Box","PortletFooter","rest","props","clsx","className","noDivider","theme","sx"],"sources":["../../../src/components/portlet/PortletFooter.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport interface PortletFooterProps extends BoxProps {\n noDivider?: boolean;\n}\n\n/**\n * Portlet의 하단 영역을 렌더링합니다.\n *\n * @param props Box 속성과 구분선 설정\n * @returns 하단 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Footer noDivider>하단 내용</Portlet.Footer>\n * ```\n */\nexport const PortletFooter = (props: PortletFooterProps) => {\n const { noDivider, sx, className, children, ref, ...rest } = props;\n return (\n <Box\n {...rest}\n className={clsx('PortletFooter-root', className, {\n 'PortletFooter-noDivider': noDivider,\n })}\n ref={ref}\n sx={[\n (theme) => ({\n p: theme.spacing(1, 2),\n borderTop: '1px solid #E0E4EE',\n borderBottomLeftRadius: '2px',\n borderBottomRightRadius: '2px',\n '&.PortletFooter-noDivider': {\n borderTop: 'none',\n },\n }),\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletFooter.displayName = 'PortletFooter';\n"],"mappings":"kHAmBA,MAAaC,EAAiB,GAA8B,CAC1D,GAAM,CAAE,YAAW,KAAI,YAAW,WAAU,MAAK,GAAGC,GAASC,EAC7D,MACE,kBAACH,EAAD,CACE,GAAIE,EACJ,UAAWE,EAAK,qBAAsBC,EAAW,CAC/C,0BAA2BC,CAC7B,CAAC,EACI,MACL,GAAI,CACD,IAAW,CACV,EAAGC,EAAM,QAAQ,EAAG,CAAC,EACrB,UAAW,oBACX,uBAAwB,MACxB,wBAAyB,MACzB,4BAA6B,CAC3B,UAAW,MACb,CACF,GACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAc,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("@mui/material/Box");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("clsx");const i=e=>{let{children:i,noDivider:a,className:o,noPadding:s=!1,sx:c,ref:l,...u}=e;return/* @__PURE__ */ (0,n.jsx)(t.default,{...u,className:(0,r.clsx)(`PortletHeader-root`,o,{"PortletHeader-noPadding":s,"PortletHeader-noDivider":a}),ref:l,sx:[e=>({position:`relative`,display:`flex`,justifyContent:`space-between`,alignItems:`center`,borderBottom:`1px solid #E0E4EE`,borderTopLeftRadius:2,borderTopRightRadius:2,height:56,minHeight:56,p:e.spacing(.5,1,.5,3),"&.PortletHeader-noPadding":{p:e.spacing(.5,0,.5,0)},"&.PortletHeader-noDivider":{borderBottom:`none`}}),...Array.isArray(c)?c:[c??!1]],children:i})};i.displayName=`PortletHeader`,exports.PortletHeader=i;
|
|
2
|
+
//# sourceMappingURL=PortletHeader.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletHeader.cjs","names":["Box","require_runtime","_mui_material_Box","react_jsx_runtime","clsx","PortletHeader","rest","props","className","noPadding","noDivider","theme","sx"],"sources":["../../../src/components/portlet/PortletHeader.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport interface PortletHeaderProps extends BoxProps {\n noDivider?: boolean;\n noPadding?: boolean;\n}\n\n/**\n * Portlet의 Label과 Toolbar를 배치하는 상단 영역을 렌더링합니다.\n *\n * @param props Box 속성과 여백·구분선 설정\n * @returns 상단 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Header>\n * <Portlet.Label title='제목' />\n * <Portlet.Toolbar>도구</Portlet.Toolbar>\n * </Portlet.Header>\n * ```\n */\nexport const PortletHeader = (props: PortletHeaderProps) => {\n const { children, noDivider, className, noPadding = false, sx, ref, ...rest } = props;\n\n return (\n <Box\n {...rest}\n className={clsx('PortletHeader-root', className, {\n 'PortletHeader-noPadding': noPadding,\n 'PortletHeader-noDivider': noDivider,\n })}\n ref={ref}\n sx={[\n (theme) => ({\n position: 'relative',\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n borderBottom: '1px solid #E0E4EE',\n borderTopLeftRadius: 2,\n borderTopRightRadius: 2,\n height: 56,\n minHeight: 56,\n p: theme.spacing(0.5, 1, 0.5, 3),\n '&.PortletHeader-noPadding': {\n p: theme.spacing(0.5, 0, 0.5, 0),\n },\n '&.PortletHeader-noDivider': {\n borderBottom: 'none',\n },\n }),\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletHeader.displayName = 'PortletHeader';\n"],"mappings":"8KAuBA,MAAaK,EAAiB,GAA8B,CAC1D,GAAM,CAAE,WAAU,YAAW,YAAW,YAAY,GAAO,KAAI,MAAK,GAAGC,GAASC,EAEhF,MACE,iBAAA,EAAAJ,EAAA,IAAA,CAACH,EAAAA,QAAD,CACE,GAAIM,EACJ,WAAA,EAAWF,EAAA,KAAA,CAAK,qBAAsBI,EAAW,CAC/C,0BAA2BC,EAC3B,0BAA2BC,CAC7B,CAAC,EACI,MACL,GAAI,CACD,IAAW,CACV,SAAU,WACV,QAAS,OACT,eAAgB,gBAChB,WAAY,SACZ,aAAc,oBACd,oBAAqB,EACrB,qBAAsB,EACtB,OAAQ,GACR,UAAW,GACX,EAAGC,EAAM,QAAQ,GAAK,EAAG,GAAK,CAAC,EAC/B,4BAA6B,CAC3B,EAAGA,EAAM,QAAQ,GAAK,EAAG,GAAK,CAAC,CACjC,EACA,4BAA6B,CAC3B,aAAc,MAChB,CACF,GACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAc,YAAc"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletHeader.d.ts
|
|
3
|
+
export interface PortletHeaderProps extends BoxProps {
|
|
4
|
+
noDivider?: boolean;
|
|
5
|
+
noPadding?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Portlet의 Label과 Toolbar를 배치하는 상단 영역을 렌더링합니다.
|
|
9
|
+
*
|
|
10
|
+
* @param props Box 속성과 여백·구분선 설정
|
|
11
|
+
* @returns 상단 레이아웃이 적용된 Box
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <Portlet.Header>
|
|
15
|
+
* <Portlet.Label title='제목' />
|
|
16
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
17
|
+
* </Portlet.Header>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const PortletHeader: {
|
|
21
|
+
(props: PortletHeaderProps): import("react").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
//# sourceMappingURL=PortletHeader.d.cts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletHeader.d.ts
|
|
3
|
+
export interface PortletHeaderProps extends BoxProps {
|
|
4
|
+
noDivider?: boolean;
|
|
5
|
+
noPadding?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Portlet의 Label과 Toolbar를 배치하는 상단 영역을 렌더링합니다.
|
|
9
|
+
*
|
|
10
|
+
* @param props Box 속성과 여백·구분선 설정
|
|
11
|
+
* @returns 상단 레이아웃이 적용된 Box
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <Portlet.Header>
|
|
15
|
+
* <Portlet.Label title='제목' />
|
|
16
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
17
|
+
* </Portlet.Header>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const PortletHeader: {
|
|
21
|
+
(props: PortletHeaderProps): import("react").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
//# sourceMappingURL=PortletHeader.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import e from"@mui/material/Box";import{jsx as t}from"react/jsx-runtime";import{clsx as n}from"clsx";const r=r=>{let{children:i,noDivider:a,className:o,noPadding:s=!1,sx:c,ref:l,...u}=r;return/* @__PURE__ */ t(e,{...u,className:n(`PortletHeader-root`,o,{"PortletHeader-noPadding":s,"PortletHeader-noDivider":a}),ref:l,sx:[e=>({position:`relative`,display:`flex`,justifyContent:`space-between`,alignItems:`center`,borderBottom:`1px solid #E0E4EE`,borderTopLeftRadius:2,borderTopRightRadius:2,height:56,minHeight:56,p:e.spacing(.5,1,.5,3),"&.PortletHeader-noPadding":{p:e.spacing(.5,0,.5,0)},"&.PortletHeader-noDivider":{borderBottom:`none`}}),...Array.isArray(c)?c:[c??!1]],children:i})};r.displayName=`PortletHeader`;export{r as PortletHeader};
|
|
2
|
+
//# sourceMappingURL=PortletHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletHeader.js","names":["Box","PortletHeader","rest","props","clsx","className","noPadding","noDivider","theme","sx"],"sources":["../../../src/components/portlet/PortletHeader.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport interface PortletHeaderProps extends BoxProps {\n noDivider?: boolean;\n noPadding?: boolean;\n}\n\n/**\n * Portlet의 Label과 Toolbar를 배치하는 상단 영역을 렌더링합니다.\n *\n * @param props Box 속성과 여백·구분선 설정\n * @returns 상단 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Header>\n * <Portlet.Label title='제목' />\n * <Portlet.Toolbar>도구</Portlet.Toolbar>\n * </Portlet.Header>\n * ```\n */\nexport const PortletHeader = (props: PortletHeaderProps) => {\n const { children, noDivider, className, noPadding = false, sx, ref, ...rest } = props;\n\n return (\n <Box\n {...rest}\n className={clsx('PortletHeader-root', className, {\n 'PortletHeader-noPadding': noPadding,\n 'PortletHeader-noDivider': noDivider,\n })}\n ref={ref}\n sx={[\n (theme) => ({\n position: 'relative',\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n borderBottom: '1px solid #E0E4EE',\n borderTopLeftRadius: 2,\n borderTopRightRadius: 2,\n height: 56,\n minHeight: 56,\n p: theme.spacing(0.5, 1, 0.5, 3),\n '&.PortletHeader-noPadding': {\n p: theme.spacing(0.5, 0, 0.5, 0),\n },\n '&.PortletHeader-noDivider': {\n borderBottom: 'none',\n },\n }),\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletHeader.displayName = 'PortletHeader';\n"],"mappings":"kHAuBA,MAAaC,EAAiB,GAA8B,CAC1D,GAAM,CAAE,WAAU,YAAW,YAAW,YAAY,GAAO,KAAI,MAAK,GAAGC,GAASC,EAEhF,MACE,kBAACH,EAAD,CACE,GAAIE,EACJ,UAAWE,EAAK,qBAAsBC,EAAW,CAC/C,0BAA2BC,EAC3B,0BAA2BC,CAC7B,CAAC,EACI,MACL,GAAI,CACD,IAAW,CACV,SAAU,WACV,QAAS,OACT,eAAgB,gBAChB,WAAY,SACZ,aAAc,oBACd,oBAAqB,EACrB,qBAAsB,EACtB,OAAQ,GACR,UAAW,GACX,EAAGC,EAAM,QAAQ,GAAK,EAAG,GAAK,CAAC,EAC/B,4BAA6B,CAC3B,EAAGA,EAAM,QAAQ,GAAK,EAAG,GAAK,CAAC,CACjC,EACA,4BAA6B,CAC3B,aAAc,MAChB,CACF,GACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAc,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("@mui/material/Box");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("clsx"),i=require("@mui/material/Typography");i=e.__toESM(i,1);const a=e=>{let{icon:a,title:o,subtitle:s,className:c,sx:l,ref:u,...d}=e;return/* @__PURE__ */ (0,n.jsxs)(t.default,{...d,className:(0,r.clsx)(`PortletLabel-root`,c),ref:u,sx:[{display:`flex`,alignItems:`center`},...Array.isArray(l)?l:[l??!1]],children:[a&&/* @__PURE__ */ (0,n.jsx)(t.default,{component:`span`,sx:{fontSize:`1.2rem`,mr:1,color:`text.secondary`,alignItems:`center`,display:`flex`},children:a}),o&&/* @__PURE__ */ (0,n.jsx)(i.default,{sx:{fontWeight:500,fontSize:`1.1rem`},variant:`h6`,children:o}),s&&/* @__PURE__ */ (0,n.jsx)(i.default,{variant:`subtitle2`,sx:{fontWeight:400,ml:1,color:`text.secondary`},children:s})]})};a.displayName=`PortletLabel`,exports.PortletLabel=a;
|
|
2
|
+
//# sourceMappingURL=PortletLabel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletLabel.cjs","names":["Box","Typography","require_runtime","_mui_material_Box","react_jsx_runtime","clsx","_mui_material_Typography","PortletLabel","rest","props","className","sx","icon","title","subtitle"],"sources":["../../../src/components/portlet/PortletLabel.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport { clsx } from 'clsx';\nimport type { ReactNode } from 'react';\n\nexport interface PortletLabelProps extends BoxProps {\n icon?: ReactNode;\n /** 제목 Typography에 표시할 텍스트입니다. HTML `title` 속성으로 전달되지 않습니다. */\n title?: string;\n subtitle?: string;\n}\n\n/**\n * Portlet Header에 아이콘, 제목, 부제목을 표시합니다.\n *\n * @param props Box 속성과 표시할 아이콘·제목·부제목\n * @returns Label 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Label title='제목' subtitle='부제목' />\n * ```\n */\nexport const PortletLabel = (props: PortletLabelProps) => {\n const { icon, title, subtitle, className, sx, ref, ...rest } = props;\n return (\n <Box\n {...rest}\n className={clsx('PortletLabel-root', className)}\n ref={ref}\n sx={[\n {\n display: 'flex',\n alignItems: 'center',\n },\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {icon && (\n <Box\n component='span'\n sx={{\n fontSize: '1.2rem',\n mr: 1,\n color: 'text.secondary',\n alignItems: 'center',\n display: 'flex',\n }}\n >\n {icon}\n </Box>\n )}\n {title && (\n <Typography\n sx={{\n fontWeight: 500,\n fontSize: '1.1rem',\n }}\n variant='h6'\n >\n {title}\n </Typography>\n )}\n {subtitle && (\n <Typography\n variant='subtitle2'\n sx={{\n fontWeight: 400,\n ml: 1,\n color: 'text.secondary',\n }}\n >\n {subtitle}\n </Typography>\n )}\n </Box>\n );\n};\n\nPortletLabel.displayName = 'PortletLabel';\n"],"mappings":"qOAwBA,MAAaO,EAAgB,GAA6B,CACxD,GAAM,CAAE,OAAM,QAAO,WAAU,YAAW,KAAI,MAAK,GAAGC,GAASC,EAC/D,MACE,iBAAA,EAAAL,EAAA,KAAA,CAACJ,EAAAA,QAAD,CACE,GAAIQ,EACJ,WAAA,EAAWH,EAAA,KAAA,CAAK,oBAAqBK,CAAS,EACzC,MACL,GAAI,CACF,CACE,QAAS,OACT,WAAY,QACd,EACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAVF,SAAA,CAYGC,GACC,iBAAA,EAAAR,EAAA,IAAA,CAACJ,EAAAA,QAAD,CACE,UAAU,OACV,GAAI,CACF,SAAU,SACV,GAAI,EACJ,MAAO,iBACP,WAAY,SACZ,QAAS,MACX,EAEC,SAAAY,CACE,CAAA,EAENC,GACC,iBAAA,EAAAT,EAAA,IAAA,CAACH,EAAAA,QAAD,CACE,GAAI,CACF,WAAY,IACZ,SAAU,QACZ,EACA,QAAQ,KAEP,SAAAY,CACS,CAAA,EAEbC,GACC,iBAAA,EAAAV,EAAA,IAAA,CAACH,EAAAA,QAAD,CACE,QAAQ,YACR,GAAI,CACF,WAAY,IACZ,GAAI,EACJ,MAAO,gBACT,EAEC,SAAAa,CACS,CAAA,CAEX,GAET,EAEA,EAAa,YAAc"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { BoxProps } from "@mui/material/Box";
|
|
3
|
+
//#region src/components/portlet/PortletLabel.d.ts
|
|
4
|
+
export interface PortletLabelProps extends BoxProps {
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
/** 제목 Typography에 표시할 텍스트입니다. HTML `title` 속성으로 전달되지 않습니다. */
|
|
7
|
+
title?: string;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Portlet Header에 아이콘, 제목, 부제목을 표시합니다.
|
|
12
|
+
*
|
|
13
|
+
* @param props Box 속성과 표시할 아이콘·제목·부제목
|
|
14
|
+
* @returns Label 레이아웃이 적용된 Box
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <Portlet.Label title='제목' subtitle='부제목' />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const PortletLabel: {
|
|
21
|
+
(props: PortletLabelProps): import("react").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
//# sourceMappingURL=PortletLabel.d.cts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
//#region src/components/portlet/PortletLabel.d.ts
|
|
4
|
+
export interface PortletLabelProps extends BoxProps {
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
/** 제목 Typography에 표시할 텍스트입니다. HTML `title` 속성으로 전달되지 않습니다. */
|
|
7
|
+
title?: string;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Portlet Header에 아이콘, 제목, 부제목을 표시합니다.
|
|
12
|
+
*
|
|
13
|
+
* @param props Box 속성과 표시할 아이콘·제목·부제목
|
|
14
|
+
* @returns Label 레이아웃이 적용된 Box
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <Portlet.Label title='제목' subtitle='부제목' />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const PortletLabel: {
|
|
21
|
+
(props: PortletLabelProps): import("react").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
//# sourceMappingURL=PortletLabel.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import e from"@mui/material/Box";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{clsx as r}from"clsx";import i from"@mui/material/Typography";const a=a=>{let{icon:o,title:s,subtitle:c,className:l,sx:u,ref:d,...f}=a;return/* @__PURE__ */ n(e,{...f,className:r(`PortletLabel-root`,l),ref:d,sx:[{display:`flex`,alignItems:`center`},...Array.isArray(u)?u:[u??!1]],children:[o&&/* @__PURE__ */ t(e,{component:`span`,sx:{fontSize:`1.2rem`,mr:1,color:`text.secondary`,alignItems:`center`,display:`flex`},children:o}),s&&/* @__PURE__ */ t(i,{sx:{fontWeight:500,fontSize:`1.1rem`},variant:`h6`,children:s}),c&&/* @__PURE__ */ t(i,{variant:`subtitle2`,sx:{fontWeight:400,ml:1,color:`text.secondary`},children:c})]})};a.displayName=`PortletLabel`;export{a as PortletLabel};
|
|
2
|
+
//# sourceMappingURL=PortletLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletLabel.js","names":["Box","Typography","PortletLabel","rest","props","clsx","className","sx","icon","title","subtitle"],"sources":["../../../src/components/portlet/PortletLabel.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport { clsx } from 'clsx';\nimport type { ReactNode } from 'react';\n\nexport interface PortletLabelProps extends BoxProps {\n icon?: ReactNode;\n /** 제목 Typography에 표시할 텍스트입니다. HTML `title` 속성으로 전달되지 않습니다. */\n title?: string;\n subtitle?: string;\n}\n\n/**\n * Portlet Header에 아이콘, 제목, 부제목을 표시합니다.\n *\n * @param props Box 속성과 표시할 아이콘·제목·부제목\n * @returns Label 레이아웃이 적용된 Box\n * @example\n * ```tsx\n * <Portlet.Label title='제목' subtitle='부제목' />\n * ```\n */\nexport const PortletLabel = (props: PortletLabelProps) => {\n const { icon, title, subtitle, className, sx, ref, ...rest } = props;\n return (\n <Box\n {...rest}\n className={clsx('PortletLabel-root', className)}\n ref={ref}\n sx={[\n {\n display: 'flex',\n alignItems: 'center',\n },\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {icon && (\n <Box\n component='span'\n sx={{\n fontSize: '1.2rem',\n mr: 1,\n color: 'text.secondary',\n alignItems: 'center',\n display: 'flex',\n }}\n >\n {icon}\n </Box>\n )}\n {title && (\n <Typography\n sx={{\n fontWeight: 500,\n fontSize: '1.1rem',\n }}\n variant='h6'\n >\n {title}\n </Typography>\n )}\n {subtitle && (\n <Typography\n variant='subtitle2'\n sx={{\n fontWeight: 400,\n ml: 1,\n color: 'text.secondary',\n }}\n >\n {subtitle}\n </Typography>\n )}\n </Box>\n );\n};\n\nPortletLabel.displayName = 'PortletLabel';\n"],"mappings":"oKAwBA,MAAaE,EAAgB,GAA6B,CACxD,GAAM,CAAE,OAAM,QAAO,WAAU,YAAW,KAAI,MAAK,GAAGC,GAASC,EAC/D,MACE,kBAACJ,EAAD,CACE,GAAIG,EACJ,UAAWE,EAAK,oBAAqBC,CAAS,EACzC,MACL,GAAI,CACF,CACE,QAAS,OACT,WAAY,QACd,EACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAVF,SAAA,CAYGC,GACC,kBAACR,EAAD,CACE,UAAU,OACV,GAAI,CACF,SAAU,SACV,GAAI,EACJ,MAAO,iBACP,WAAY,SACZ,QAAS,MACX,EAEC,SAAAQ,CACE,CAAA,EAENC,GACC,kBAACR,EAAD,CACE,GAAI,CACF,WAAY,IACZ,SAAU,QACZ,EACA,QAAQ,KAEP,SAAAQ,CACS,CAAA,EAEbC,GACC,kBAACT,EAAD,CACE,QAAQ,YACR,GAAI,CACF,WAAY,IACZ,GAAI,EACJ,MAAO,gBACT,EAEC,SAAAS,CACS,CAAA,CAEX,GAET,EAEA,EAAa,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("@mui/material/Box");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("@mui/material/Stack");r=e.__toESM(r,1);let i=require("@mui/material/IconButton");i=e.__toESM(i,1);let a=require("clsx"),o=require("@mui/material/Typography");o=e.__toESM(o,1);let s=require("@mui/material/CircularProgress");s=e.__toESM(s,1);let c=require("@mui/material/SvgIcon");c=e.__toESM(c,1);const l=e=>e.toLocaleString(),u=e=>{let{title:u,titleVariant:d=`h5`,itemCount:f=0,formatItemCount:p=l,loading:m,disableNowrapTitle:h=!1,refreshLabel:g=`새로고침`,onClickRefresh:_,className:v,sx:y,ref:b,...x}=e;return/* @__PURE__ */ (0,n.jsxs)(r.default,{direction:`row`,spacing:.5,...x,ref:b,className:(0,a.clsx)(`PortletTitle-root`,v),sx:[{alignItems:`center`},...Array.isArray(y)?y:[y??!1]],children:[typeof u==`string`?/* @__PURE__ */ (0,n.jsxs)(o.default,{variant:d,className:`PortletTitle-title`,sx:{display:`flex`,alignItems:`center`,whiteSpace:h?`inherit`:`nowrap`,"& small":{display:`inline-block`,ml:1,color:`text.secondary`,fontSize:`0.7rem`}},children:[u,f>0&&/* @__PURE__ */ (0,n.jsx)(`small`,{children:p(f)})]}):u,/* @__PURE__ */ (0,n.jsxs)(t.default,{className:`PortletTitle-reloadBtnBox`,sx:{display:`flex`,flexDirection:`column`,alignItems:`center`,minWidth:40},children:[!m&&_?/* @__PURE__ */ (0,n.jsx)(i.default,{color:`primary`,size:`small`,"aria-label":g,className:`PortletTitle-reloadBtn`,onClick:_,children:/* @__PURE__ */ (0,n.jsx)(c.default,{children:/* @__PURE__ */ (0,n.jsx)(`path`,{d:`M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z`})})}):null,m?/* @__PURE__ */ (0,n.jsx)(s.default,{color:`primary`,size:`1rem`}):null]})]})};u.displayName=`PortletTitle`,exports.PortletTitle=u;
|
|
2
|
+
//# sourceMappingURL=PortletTitle.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletTitle.cjs","names":["Stack","Typography","Box","IconButton","SvgIcon","CircularProgress","require_runtime","_mui_material_Box","react_jsx_runtime","_mui_material_Stack","_mui_material_IconButton","clsx","_mui_material_Typography","_mui_material_CircularProgress","_mui_material_SvgIcon","defaultFormatItemCount","count","PortletTitle","rest","props","className","sx","title","titleVariant","disableNowrapTitle","itemCount","formatItemCount","loading","onClickRefresh","refreshLabel"],"sources":["../../../src/components/portlet/PortletTitle.tsx"],"sourcesContent":["'use client';\n\nimport Box from '@mui/material/Box';\nimport CircularProgress from '@mui/material/CircularProgress';\nimport IconButton from '@mui/material/IconButton';\nimport Stack, { type StackProps } from '@mui/material/Stack';\nimport SvgIcon from '@mui/material/SvgIcon';\nimport Typography, { type TypographyProps } from '@mui/material/Typography';\nimport { clsx } from 'clsx';\nimport type { MouseEventHandler, ReactNode } from 'react';\n\nexport interface PortletTitleProps extends Omit<StackProps, 'title' | 'direction' | 'children'> {\n /** 문자열이면 Typography로 감싸 표시하고, 그 외 노드는 그대로 렌더링합니다. */\n title: ReactNode;\n /** 제목 Typography의 variant입니다. 기본값은 `h5`입니다. 문자열 제목에만 적용됩니다. */\n titleVariant?: TypographyProps['variant'];\n /** 0보다 클 때만 제목 옆에 표시합니다. */\n itemCount?: number;\n /** 건수 표시 형식입니다. 기본값은 천 단위 구분자를 넣은 숫자입니다. 단위나 번역은 여기서 붙입니다. */\n formatItemCount?: (count: number) => ReactNode;\n /** true이면 새로고침 버튼 대신 로딩 표시를 보여줍니다. */\n loading?: boolean;\n /** true이면 제목의 `nowrap` 처리를 해제합니다. */\n disableNowrapTitle?: boolean;\n /** 새로고침 버튼의 접근성 이름(aria-label)입니다. 기본값은 `새로고침`입니다. */\n refreshLabel?: string;\n /** 지정했을 때만 새로고침 버튼을 표시합니다. */\n onClickRefresh?: MouseEventHandler<HTMLButtonElement>;\n}\n\nconst defaultFormatItemCount = (count: number): ReactNode => count.toLocaleString();\n\n/**\n * Portlet Header에 제목, 건수, 새로고침 버튼(또는 로딩 표시)을 한 줄로 표시합니다.\n *\n * @param props Stack 속성과 제목·건수·새로고침 설정\n * @returns 제목과 새로고침 영역을 가로로 배치한 Stack\n * @remarks 새로고침 영역은 버튼과 로딩 표시가 번갈아 나타나도 제목 위치가 흔들리지 않도록 최소 너비 40px을 유지합니다.\n * @example\n * ```tsx\n * <Portlet.Header>\n * <Portlet.Title\n * title='사용자 목록'\n * titleVariant='h6'\n * itemCount={120}\n * formatItemCount={(n) => `${n.toLocaleString()}건`}\n * loading={loading}\n * onClickRefresh={reload}\n * />\n * </Portlet.Header>\n * ```\n */\nexport const PortletTitle = (props: PortletTitleProps) => {\n const {\n title,\n titleVariant = 'h5',\n itemCount = 0,\n formatItemCount = defaultFormatItemCount,\n loading,\n disableNowrapTitle = false,\n refreshLabel = '새로고침',\n onClickRefresh,\n className,\n sx,\n ref,\n ...rest\n } = props;\n\n return (\n <Stack\n direction='row'\n spacing={0.5}\n {...rest}\n ref={ref}\n className={clsx('PortletTitle-root', className)}\n sx={[{ alignItems: 'center' }, ...(Array.isArray(sx) ? sx : [sx ?? false])]}\n >\n {typeof title === 'string' ? (\n <Typography\n variant={titleVariant}\n className='PortletTitle-title'\n sx={{\n display: 'flex',\n alignItems: 'center',\n whiteSpace: disableNowrapTitle ? 'inherit' : 'nowrap',\n '& small': {\n display: 'inline-block',\n ml: 1,\n color: 'text.secondary',\n fontSize: '0.7rem',\n },\n }}\n >\n {title}\n {itemCount > 0 && <small>{formatItemCount(itemCount)}</small>}\n </Typography>\n ) : (\n title\n )}\n\n <Box\n className='PortletTitle-reloadBtnBox'\n sx={{ display: 'flex', flexDirection: 'column', alignItems: 'center', minWidth: 40 }}\n >\n {!loading && onClickRefresh ? (\n <IconButton\n color='primary'\n size='small'\n aria-label={refreshLabel}\n className='PortletTitle-reloadBtn'\n onClick={onClickRefresh}\n >\n <SvgIcon>\n <path d='M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z' />\n </SvgIcon>\n </IconButton>\n ) : null}\n\n {loading ? <CircularProgress color='primary' size='1rem' /> : null}\n </Box>\n </Stack>\n );\n};\n\nPortletTitle.displayName = 'PortletTitle';\n"],"mappings":"+cA8BA,MAAMe,EAA0B,GAA6BC,EAAM,eAAe,EAsBrEC,EAAgB,GAA6B,CACxD,GAAM,CACJ,QACA,eAAe,KACf,YAAY,EACZ,kBAAkBF,EAClB,UACA,qBAAqB,GACrB,eAAe,OACf,iBACA,YACA,KACA,MACA,GAAGG,GACDC,EAEJ,MACE,iBAAA,EAAAX,EAAA,KAAA,CAACR,EAAAA,QAAD,CACE,UAAU,MACV,QAAS,GACT,GAAIkB,EACC,MACL,WAAA,EAAWP,EAAA,KAAA,CAAK,oBAAqBS,CAAS,EAC9C,GAAI,CAAC,CAAE,WAAY,QAAS,EAAG,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAAE,EAN5E,SAAA,CAQG,OAAOC,GAAU,SAChB,iBAAA,EAAAd,EAAA,KAAA,CAACP,EAAAA,QAAD,CACE,QAASsB,EACT,UAAU,qBACV,GAAI,CACF,QAAS,OACT,WAAY,SACZ,WAAYC,EAAqB,UAAY,SAC7C,UAAW,CACT,QAAS,eACT,GAAI,EACJ,MAAO,iBACP,SAAU,QACZ,CACF,EAbF,SAAA,CAeGF,EACAG,EAAY,GAAK,iBAAA,EAAAjB,EAAA,IAAA,CAAC,QAAD,CAAA,SAAQkB,EAAgBD,CAAS,CAAS,CAAA,CAClD,CAEZ,CAAA,EAAAH,EAGF,iBAAA,EAAAd,EAAA,KAAA,CAACN,EAAAA,QAAD,CACE,UAAU,4BACV,GAAI,CAAE,QAAS,OAAQ,cAAe,SAAU,WAAY,SAAU,SAAU,EAAG,EAFrF,SAAA,CAIG,CAACyB,GAAWC,EACX,iBAAA,EAAApB,EAAA,IAAA,CAACL,EAAAA,QAAD,CACE,MAAM,UACN,KAAK,QACL,aAAY0B,EACZ,UAAU,yBACV,QAASD,EAET,SAAA,iBAAA,EAAApB,EAAA,IAAA,CAACJ,EAAAA,QAAD,CAAA,SACE,iBAAA,EAAAI,EAAA,IAAA,CAAC,OAAD,CAAM,EAAE,iMAAmM,CAAA,CACpM,CAAA,CACC,CAAA,EACV,KAEHmB,EAAU,iBAAA,EAAAnB,EAAA,IAAA,CAACH,EAAAA,QAAD,CAAkB,MAAM,UAAU,KAAK,MAAQ,CAAA,EAAI,IAC3D,CACA,CAAA,CAAA,GAEX,EAEA,EAAa,YAAc"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { MouseEventHandler, ReactNode } from "react";
|
|
2
|
+
import { StackProps } from "@mui/material/Stack";
|
|
3
|
+
import { TypographyProps } from "@mui/material/Typography";
|
|
4
|
+
//#region src/components/portlet/PortletTitle.d.ts
|
|
5
|
+
export interface PortletTitleProps extends Omit<StackProps, 'title' | 'direction' | 'children'> {
|
|
6
|
+
/** 문자열이면 Typography로 감싸 표시하고, 그 외 노드는 그대로 렌더링합니다. */
|
|
7
|
+
title: ReactNode;
|
|
8
|
+
/** 제목 Typography의 variant입니다. 기본값은 `h5`입니다. 문자열 제목에만 적용됩니다. */
|
|
9
|
+
titleVariant?: TypographyProps['variant'];
|
|
10
|
+
/** 0보다 클 때만 제목 옆에 표시합니다. */
|
|
11
|
+
itemCount?: number;
|
|
12
|
+
/** 건수 표시 형식입니다. 기본값은 천 단위 구분자를 넣은 숫자입니다. 단위나 번역은 여기서 붙입니다. */
|
|
13
|
+
formatItemCount?: (count: number) => ReactNode;
|
|
14
|
+
/** true이면 새로고침 버튼 대신 로딩 표시를 보여줍니다. */
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
/** true이면 제목의 `nowrap` 처리를 해제합니다. */
|
|
17
|
+
disableNowrapTitle?: boolean;
|
|
18
|
+
/** 새로고침 버튼의 접근성 이름(aria-label)입니다. 기본값은 `새로고침`입니다. */
|
|
19
|
+
refreshLabel?: string;
|
|
20
|
+
/** 지정했을 때만 새로고침 버튼을 표시합니다. */
|
|
21
|
+
onClickRefresh?: MouseEventHandler<HTMLButtonElement>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Portlet Header에 제목, 건수, 새로고침 버튼(또는 로딩 표시)을 한 줄로 표시합니다.
|
|
25
|
+
*
|
|
26
|
+
* @param props Stack 속성과 제목·건수·새로고침 설정
|
|
27
|
+
* @returns 제목과 새로고침 영역을 가로로 배치한 Stack
|
|
28
|
+
* @remarks 새로고침 영역은 버튼과 로딩 표시가 번갈아 나타나도 제목 위치가 흔들리지 않도록 최소 너비 40px을 유지합니다.
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <Portlet.Header>
|
|
32
|
+
* <Portlet.Title
|
|
33
|
+
* title='사용자 목록'
|
|
34
|
+
* titleVariant='h6'
|
|
35
|
+
* itemCount={120}
|
|
36
|
+
* formatItemCount={(n) => `${n.toLocaleString()}건`}
|
|
37
|
+
* loading={loading}
|
|
38
|
+
* onClickRefresh={reload}
|
|
39
|
+
* />
|
|
40
|
+
* </Portlet.Header>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare const PortletTitle: {
|
|
44
|
+
(props: PortletTitleProps): import("react").JSX.Element;
|
|
45
|
+
displayName: string;
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
//# sourceMappingURL=PortletTitle.d.cts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { StackProps } from "@mui/material/Stack";
|
|
2
|
+
import { MouseEventHandler, ReactNode } from "react";
|
|
3
|
+
import { TypographyProps } from "@mui/material/Typography";
|
|
4
|
+
//#region src/components/portlet/PortletTitle.d.ts
|
|
5
|
+
export interface PortletTitleProps extends Omit<StackProps, 'title' | 'direction' | 'children'> {
|
|
6
|
+
/** 문자열이면 Typography로 감싸 표시하고, 그 외 노드는 그대로 렌더링합니다. */
|
|
7
|
+
title: ReactNode;
|
|
8
|
+
/** 제목 Typography의 variant입니다. 기본값은 `h5`입니다. 문자열 제목에만 적용됩니다. */
|
|
9
|
+
titleVariant?: TypographyProps['variant'];
|
|
10
|
+
/** 0보다 클 때만 제목 옆에 표시합니다. */
|
|
11
|
+
itemCount?: number;
|
|
12
|
+
/** 건수 표시 형식입니다. 기본값은 천 단위 구분자를 넣은 숫자입니다. 단위나 번역은 여기서 붙입니다. */
|
|
13
|
+
formatItemCount?: (count: number) => ReactNode;
|
|
14
|
+
/** true이면 새로고침 버튼 대신 로딩 표시를 보여줍니다. */
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
/** true이면 제목의 `nowrap` 처리를 해제합니다. */
|
|
17
|
+
disableNowrapTitle?: boolean;
|
|
18
|
+
/** 새로고침 버튼의 접근성 이름(aria-label)입니다. 기본값은 `새로고침`입니다. */
|
|
19
|
+
refreshLabel?: string;
|
|
20
|
+
/** 지정했을 때만 새로고침 버튼을 표시합니다. */
|
|
21
|
+
onClickRefresh?: MouseEventHandler<HTMLButtonElement>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Portlet Header에 제목, 건수, 새로고침 버튼(또는 로딩 표시)을 한 줄로 표시합니다.
|
|
25
|
+
*
|
|
26
|
+
* @param props Stack 속성과 제목·건수·새로고침 설정
|
|
27
|
+
* @returns 제목과 새로고침 영역을 가로로 배치한 Stack
|
|
28
|
+
* @remarks 새로고침 영역은 버튼과 로딩 표시가 번갈아 나타나도 제목 위치가 흔들리지 않도록 최소 너비 40px을 유지합니다.
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <Portlet.Header>
|
|
32
|
+
* <Portlet.Title
|
|
33
|
+
* title='사용자 목록'
|
|
34
|
+
* titleVariant='h6'
|
|
35
|
+
* itemCount={120}
|
|
36
|
+
* formatItemCount={(n) => `${n.toLocaleString()}건`}
|
|
37
|
+
* loading={loading}
|
|
38
|
+
* onClickRefresh={reload}
|
|
39
|
+
* />
|
|
40
|
+
* </Portlet.Header>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare const PortletTitle: {
|
|
44
|
+
(props: PortletTitleProps): import("react").JSX.Element;
|
|
45
|
+
displayName: string;
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
//# sourceMappingURL=PortletTitle.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import e from"@mui/material/Box";import{jsx as t,jsxs as n}from"react/jsx-runtime";import r from"@mui/material/Stack";import i from"@mui/material/IconButton";import{clsx as a}from"clsx";import o from"@mui/material/Typography";import s from"@mui/material/CircularProgress";import c from"@mui/material/SvgIcon";const l=e=>e.toLocaleString(),u=u=>{let{title:d,titleVariant:f=`h5`,itemCount:p=0,formatItemCount:m=l,loading:h,disableNowrapTitle:g=!1,refreshLabel:_=`새로고침`,onClickRefresh:v,className:y,sx:b,ref:x,...S}=u;return/* @__PURE__ */ n(r,{direction:`row`,spacing:.5,...S,ref:x,className:a(`PortletTitle-root`,y),sx:[{alignItems:`center`},...Array.isArray(b)?b:[b??!1]],children:[typeof d==`string`?/* @__PURE__ */ n(o,{variant:f,className:`PortletTitle-title`,sx:{display:`flex`,alignItems:`center`,whiteSpace:g?`inherit`:`nowrap`,"& small":{display:`inline-block`,ml:1,color:`text.secondary`,fontSize:`0.7rem`}},children:[d,p>0&&/* @__PURE__ */ t(`small`,{children:m(p)})]}):d,/* @__PURE__ */ n(e,{className:`PortletTitle-reloadBtnBox`,sx:{display:`flex`,flexDirection:`column`,alignItems:`center`,minWidth:40},children:[!h&&v?/* @__PURE__ */ t(i,{color:`primary`,size:`small`,"aria-label":_,className:`PortletTitle-reloadBtn`,onClick:v,children:/* @__PURE__ */ t(c,{children:/* @__PURE__ */ t(`path`,{d:`M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z`})})}):null,h?/* @__PURE__ */ t(s,{color:`primary`,size:`1rem`}):null]})]})};u.displayName=`PortletTitle`;export{u as PortletTitle};
|
|
2
|
+
//# sourceMappingURL=PortletTitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletTitle.js","names":["Box","Stack","IconButton","Typography","CircularProgress","SvgIcon","defaultFormatItemCount","count","PortletTitle","rest","props","clsx","className","sx","title","titleVariant","disableNowrapTitle","itemCount","formatItemCount","loading","onClickRefresh","refreshLabel"],"sources":["../../../src/components/portlet/PortletTitle.tsx"],"sourcesContent":["'use client';\n\nimport Box from '@mui/material/Box';\nimport CircularProgress from '@mui/material/CircularProgress';\nimport IconButton from '@mui/material/IconButton';\nimport Stack, { type StackProps } from '@mui/material/Stack';\nimport SvgIcon from '@mui/material/SvgIcon';\nimport Typography, { type TypographyProps } from '@mui/material/Typography';\nimport { clsx } from 'clsx';\nimport type { MouseEventHandler, ReactNode } from 'react';\n\nexport interface PortletTitleProps extends Omit<StackProps, 'title' | 'direction' | 'children'> {\n /** 문자열이면 Typography로 감싸 표시하고, 그 외 노드는 그대로 렌더링합니다. */\n title: ReactNode;\n /** 제목 Typography의 variant입니다. 기본값은 `h5`입니다. 문자열 제목에만 적용됩니다. */\n titleVariant?: TypographyProps['variant'];\n /** 0보다 클 때만 제목 옆에 표시합니다. */\n itemCount?: number;\n /** 건수 표시 형식입니다. 기본값은 천 단위 구분자를 넣은 숫자입니다. 단위나 번역은 여기서 붙입니다. */\n formatItemCount?: (count: number) => ReactNode;\n /** true이면 새로고침 버튼 대신 로딩 표시를 보여줍니다. */\n loading?: boolean;\n /** true이면 제목의 `nowrap` 처리를 해제합니다. */\n disableNowrapTitle?: boolean;\n /** 새로고침 버튼의 접근성 이름(aria-label)입니다. 기본값은 `새로고침`입니다. */\n refreshLabel?: string;\n /** 지정했을 때만 새로고침 버튼을 표시합니다. */\n onClickRefresh?: MouseEventHandler<HTMLButtonElement>;\n}\n\nconst defaultFormatItemCount = (count: number): ReactNode => count.toLocaleString();\n\n/**\n * Portlet Header에 제목, 건수, 새로고침 버튼(또는 로딩 표시)을 한 줄로 표시합니다.\n *\n * @param props Stack 속성과 제목·건수·새로고침 설정\n * @returns 제목과 새로고침 영역을 가로로 배치한 Stack\n * @remarks 새로고침 영역은 버튼과 로딩 표시가 번갈아 나타나도 제목 위치가 흔들리지 않도록 최소 너비 40px을 유지합니다.\n * @example\n * ```tsx\n * <Portlet.Header>\n * <Portlet.Title\n * title='사용자 목록'\n * titleVariant='h6'\n * itemCount={120}\n * formatItemCount={(n) => `${n.toLocaleString()}건`}\n * loading={loading}\n * onClickRefresh={reload}\n * />\n * </Portlet.Header>\n * ```\n */\nexport const PortletTitle = (props: PortletTitleProps) => {\n const {\n title,\n titleVariant = 'h5',\n itemCount = 0,\n formatItemCount = defaultFormatItemCount,\n loading,\n disableNowrapTitle = false,\n refreshLabel = '새로고침',\n onClickRefresh,\n className,\n sx,\n ref,\n ...rest\n } = props;\n\n return (\n <Stack\n direction='row'\n spacing={0.5}\n {...rest}\n ref={ref}\n className={clsx('PortletTitle-root', className)}\n sx={[{ alignItems: 'center' }, ...(Array.isArray(sx) ? sx : [sx ?? false])]}\n >\n {typeof title === 'string' ? (\n <Typography\n variant={titleVariant}\n className='PortletTitle-title'\n sx={{\n display: 'flex',\n alignItems: 'center',\n whiteSpace: disableNowrapTitle ? 'inherit' : 'nowrap',\n '& small': {\n display: 'inline-block',\n ml: 1,\n color: 'text.secondary',\n fontSize: '0.7rem',\n },\n }}\n >\n {title}\n {itemCount > 0 && <small>{formatItemCount(itemCount)}</small>}\n </Typography>\n ) : (\n title\n )}\n\n <Box\n className='PortletTitle-reloadBtnBox'\n sx={{ display: 'flex', flexDirection: 'column', alignItems: 'center', minWidth: 40 }}\n >\n {!loading && onClickRefresh ? (\n <IconButton\n color='primary'\n size='small'\n aria-label={refreshLabel}\n className='PortletTitle-reloadBtn'\n onClick={onClickRefresh}\n >\n <SvgIcon>\n <path d='M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z' />\n </SvgIcon>\n </IconButton>\n ) : null}\n\n {loading ? <CircularProgress color='primary' size='1rem' /> : null}\n </Box>\n </Stack>\n );\n};\n\nPortletTitle.displayName = 'PortletTitle';\n"],"mappings":"kUA8BA,MAAMM,EAA0B,GAA6BC,EAAM,eAAe,EAsBrEC,EAAgB,GAA6B,CACxD,GAAM,CACJ,QACA,eAAe,KACf,YAAY,EACZ,kBAAkBF,EAClB,UACA,qBAAqB,GACrB,eAAe,OACf,iBACA,YACA,KACA,MACA,GAAGG,GACDC,EAEJ,MACE,kBAACT,EAAD,CACE,UAAU,MACV,QAAS,GACT,GAAIQ,EACC,MACL,UAAWE,EAAK,oBAAqBC,CAAS,EAC9C,GAAI,CAAC,CAAE,WAAY,QAAS,EAAG,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAAE,EAN5E,SAAA,CAQG,OAAOC,GAAU,SAChB,kBAACX,EAAD,CACE,QAASY,EACT,UAAU,qBACV,GAAI,CACF,QAAS,OACT,WAAY,SACZ,WAAYC,EAAqB,UAAY,SAC7C,UAAW,CACT,QAAS,eACT,GAAI,EACJ,MAAO,iBACP,SAAU,QACZ,CACF,EAbF,SAAA,CAeGF,EACAG,EAAY,GAAK,kBAAC,QAAD,CAAA,SAAQC,EAAgBD,CAAS,CAAS,CAAA,CAClD,CAEZ,CAAA,EAAAH,EAGF,kBAACd,EAAD,CACE,UAAU,4BACV,GAAI,CAAE,QAAS,OAAQ,cAAe,SAAU,WAAY,SAAU,SAAU,EAAG,EAFrF,SAAA,CAIG,CAACmB,GAAWC,EACX,kBAAClB,EAAD,CACE,MAAM,UACN,KAAK,QACL,aAAYmB,EACZ,UAAU,yBACV,QAASD,EAET,SAAA,kBAACf,EAAD,CAAA,SACE,kBAAC,OAAD,CAAM,EAAE,iMAAmM,CAAA,CACpM,CAAA,CACC,CAAA,EACV,KAEHc,EAAU,kBAACf,EAAD,CAAkB,MAAM,UAAU,KAAK,MAAQ,CAAA,EAAI,IAC3D,CACA,CAAA,CAAA,GAEX,EAEA,EAAa,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("@mui/material/Box");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("clsx");const i=e=>{let{className:i,sx:a,children:o,ref:s,...c}=e;return/* @__PURE__ */ (0,n.jsx)(t.default,{...c,ref:s,className:(0,r.clsx)(`PortletToolbar-root`,i),sx:[{display:`flex`,alignItems:`center`,justifyContent:`flex-end`,ml:`auto`},...Array.isArray(a)?a:[a??!1]],children:o})};i.displayName=`PortletToolbar`,exports.PortletToolbar=i;
|
|
2
|
+
//# sourceMappingURL=PortletToolbar.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletToolbar.cjs","names":["Box","require_runtime","_mui_material_Box","react_jsx_runtime","clsx","PortletToolbar","restProps","props","className","sx"],"sources":["../../../src/components/portlet/PortletToolbar.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport type PortletToolbarProps = BoxProps;\n\n/**\n * Portlet Header의 도구를 우측에 배치합니다.\n *\n * @param props Box 속성과 Toolbar 자식 요소\n * @returns 우측 정렬된 Toolbar Box\n * @example\n * ```tsx\n * <Portlet.Toolbar>도구</Portlet.Toolbar>\n * ```\n */\nexport const PortletToolbar = (props: PortletToolbarProps) => {\n const { className, sx, children, ref, ...restProps } = props;\n return (\n <Box\n {...restProps}\n ref={ref}\n className={clsx('PortletToolbar-root', className)}\n sx={[\n {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n ml: 'auto',\n },\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletToolbar.displayName = 'PortletToolbar';\n"],"mappings":"8KAiBA,MAAaK,EAAkB,GAA+B,CAC5D,GAAM,CAAE,YAAW,KAAI,WAAU,MAAK,GAAGC,GAAcC,EACvD,MACE,iBAAA,EAAAJ,EAAA,IAAA,CAACH,EAAAA,QAAD,CACE,GAAIM,EACC,MACL,WAAA,EAAWF,EAAA,KAAA,CAAK,sBAAuBI,CAAS,EAChD,GAAI,CACF,CACE,QAAS,OACT,WAAY,SACZ,eAAgB,WAChB,GAAI,MACN,EACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAe,YAAc"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletToolbar.d.ts
|
|
3
|
+
export type PortletToolbarProps = BoxProps;
|
|
4
|
+
/**
|
|
5
|
+
* Portlet Header의 도구를 우측에 배치합니다.
|
|
6
|
+
*
|
|
7
|
+
* @param props Box 속성과 Toolbar 자식 요소
|
|
8
|
+
* @returns 우측 정렬된 Toolbar Box
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const PortletToolbar: {
|
|
15
|
+
(props: PortletToolbarProps): import("react").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
//# sourceMappingURL=PortletToolbar.d.cts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BoxProps } from "@mui/material/Box";
|
|
2
|
+
//#region src/components/portlet/PortletToolbar.d.ts
|
|
3
|
+
export type PortletToolbarProps = BoxProps;
|
|
4
|
+
/**
|
|
5
|
+
* Portlet Header의 도구를 우측에 배치합니다.
|
|
6
|
+
*
|
|
7
|
+
* @param props Box 속성과 Toolbar 자식 요소
|
|
8
|
+
* @returns 우측 정렬된 Toolbar Box
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare const PortletToolbar: {
|
|
15
|
+
(props: PortletToolbarProps): import("react").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
//# sourceMappingURL=PortletToolbar.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import e from"@mui/material/Box";import{jsx as t}from"react/jsx-runtime";import{clsx as n}from"clsx";const r=r=>{let{className:i,sx:a,children:o,ref:s,...c}=r;return/* @__PURE__ */ t(e,{...c,ref:s,className:n(`PortletToolbar-root`,i),sx:[{display:`flex`,alignItems:`center`,justifyContent:`flex-end`,ml:`auto`},...Array.isArray(a)?a:[a??!1]],children:o})};r.displayName=`PortletToolbar`;export{r as PortletToolbar};
|
|
2
|
+
//# sourceMappingURL=PortletToolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PortletToolbar.js","names":["Box","PortletToolbar","restProps","props","clsx","className","sx"],"sources":["../../../src/components/portlet/PortletToolbar.tsx"],"sourcesContent":["'use client';\n\nimport Box, { type BoxProps } from '@mui/material/Box';\nimport { clsx } from 'clsx';\n\nexport type PortletToolbarProps = BoxProps;\n\n/**\n * Portlet Header의 도구를 우측에 배치합니다.\n *\n * @param props Box 속성과 Toolbar 자식 요소\n * @returns 우측 정렬된 Toolbar Box\n * @example\n * ```tsx\n * <Portlet.Toolbar>도구</Portlet.Toolbar>\n * ```\n */\nexport const PortletToolbar = (props: PortletToolbarProps) => {\n const { className, sx, children, ref, ...restProps } = props;\n return (\n <Box\n {...restProps}\n ref={ref}\n className={clsx('PortletToolbar-root', className)}\n sx={[\n {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n ml: 'auto',\n },\n ...(Array.isArray(sx) ? sx : [sx ?? false]),\n ]}\n >\n {children}\n </Box>\n );\n};\n\nPortletToolbar.displayName = 'PortletToolbar';\n"],"mappings":"kHAiBA,MAAaC,EAAkB,GAA+B,CAC5D,GAAM,CAAE,YAAW,KAAI,WAAU,MAAK,GAAGC,GAAcC,EACvD,MACE,kBAACH,EAAD,CACE,GAAIE,EACC,MACL,UAAWE,EAAK,sBAAuBC,CAAS,EAChD,GAAI,CACF,CACE,QAAS,OACT,WAAY,SACZ,eAAgB,WAChB,GAAI,MACN,EACA,GAAI,MAAM,QAAQC,CAAE,EAAIA,EAAK,CAACA,GAAM,EAAK,CAC3C,EAEC,UACE,CAAA,CAET,EAEA,EAAe,YAAc"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PortletContent, PortletContentProps } from "./PortletContent.cjs";
|
|
2
|
+
import { PortletFooter, PortletFooterProps } from "./PortletFooter.cjs";
|
|
3
|
+
import { PortletHeader, PortletHeaderProps } from "./PortletHeader.cjs";
|
|
4
|
+
import { PortletLabel, PortletLabelProps } from "./PortletLabel.cjs";
|
|
5
|
+
import { PortletTitle, PortletTitleProps } from "./PortletTitle.cjs";
|
|
6
|
+
import { PortletToolbar, PortletToolbarProps } from "./PortletToolbar.cjs";
|
|
7
|
+
import { Portlet, PortletProps } from "./Portlet.cjs";
|
|
8
|
+
export { Portlet, PortletContent, type PortletContentProps, PortletFooter, type PortletFooterProps, PortletHeader, type PortletHeaderProps, PortletLabel, type PortletLabelProps, PortletProps, PortletTitle, type PortletTitleProps, PortletToolbar, type PortletToolbarProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PortletContent, PortletContentProps } from "./PortletContent.js";
|
|
2
|
+
import { PortletFooter, PortletFooterProps } from "./PortletFooter.js";
|
|
3
|
+
import { PortletHeader, PortletHeaderProps } from "./PortletHeader.js";
|
|
4
|
+
import { PortletLabel, PortletLabelProps } from "./PortletLabel.js";
|
|
5
|
+
import { PortletTitle, PortletTitleProps } from "./PortletTitle.js";
|
|
6
|
+
import { PortletToolbar, PortletToolbarProps } from "./PortletToolbar.js";
|
|
7
|
+
import { Portlet, PortletProps } from "./Portlet.js";
|
|
8
|
+
export { Portlet, PortletContent, type PortletContentProps, PortletFooter, type PortletFooterProps, PortletHeader, type PortletHeaderProps, PortletLabel, type PortletLabelProps, PortletProps, PortletTitle, type PortletTitleProps, PortletToolbar, type PortletToolbarProps };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("../layout/create-layout-component.cjs"),t=e.createLayoutComponent({displayName:`StackColumn.Center`,base:`stack`,direction:`column`,defaultProps:{justifyContent:`center`}}),n=e.createLayoutComponent({displayName:`StackColumn.Start`,base:`stack`,direction:`column`,defaultProps:{justifyContent:`flex-start`}}),r=e.createLayoutComponent({displayName:`StackColumn.End`,base:`stack`,direction:`column`,defaultProps:{justifyContent:`flex-end`}}),i=e.createLayoutComponent({displayName:`StackColumn.Between`,base:`stack`,direction:`column`,defaultProps:{justifyContent:`space-between`}}),a=e.createLayoutComponent({displayName:`StackColumn.Around`,base:`stack`,direction:`column`,defaultProps:{justifyContent:`space-around`}}),o=e.createLayoutComponent({displayName:`StackColumn.Evenly`,base:`stack`,direction:`column`,defaultProps:{justifyContent:`space-evenly`}}),s=e.createLayoutComponent({displayName:`StackColumn`,base:`stack`,direction:`column`,supportsCenterProp:!0});s.Start=n,s.End=r,s.Between=i,s.Around=a,s.Center=t,s.Evenly=o,exports.StackColumn=s;
|
|
2
|
+
//# sourceMappingURL=StackColumn.cjs.map
|