@max-ts/components 0.2.0 → 0.2.2
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/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.mjs +2 -2
- package/lib/components/Select/Select.d.ts +1 -1
- package/lib/components/Select/Select.mjs +35 -34
- package/lib/components/Select/styles.d.ts +1 -1
- package/lib/components/Select/styles.mjs +18 -16
- package/lib/components/Tag/styles.mjs +2 -2
- package/lib/theme/palette/palette.mjs +18 -18
- package/package.json +2 -3
- package/lib/_virtual/jsx-runtime.cjs +0 -1
- package/lib/_virtual/jsx-runtime2.cjs +0 -1
- package/lib/_virtual/react-jsx-runtime.development.cjs +0 -1
- package/lib/_virtual/react-jsx-runtime.production.cjs +0 -1
- package/lib/components/Accordion/Accordion.cjs +0 -1
- package/lib/components/Accordion/styles.cjs +0 -17
- package/lib/components/ActionCell/ActionCell.cjs +0 -1
- package/lib/components/ActionCell/MainAction/MainAction.cjs +0 -1
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.cjs +0 -1
- package/lib/components/ActionCell/styles.cjs +0 -4
- package/lib/components/ActionCell/useLogic/useLogic.cjs +0 -1
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.cjs +0 -1
- package/lib/components/AsyncAutocomplete/constants.cjs +0 -1
- package/lib/components/AsyncAutocomplete/useLogic/useLogic.cjs +0 -1
- package/lib/components/Autocomplete/Autocomplete.cjs +0 -1
- package/lib/components/Autocomplete/constants.cjs +0 -1
- package/lib/components/Autocomplete/enums.cjs +0 -1
- package/lib/components/Autocomplete/styles.cjs +0 -7
- package/lib/components/Autocomplete/useLogic/useLogic.cjs +0 -1
- package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.cjs +0 -1
- package/lib/components/Badge/Badge.cjs +0 -1
- package/lib/components/Badge/styles.cjs +0 -21
- package/lib/components/BottomDrawer/BottomDrawer.cjs +0 -1
- package/lib/components/BottomDrawer/constants.cjs +0 -1
- package/lib/components/BottomDrawer/styles.cjs +0 -26
- package/lib/components/Button/Button.cjs +0 -1
- package/lib/components/Button/constants.cjs +0 -1
- package/lib/components/Button/enums.cjs +0 -1
- package/lib/components/Button/styles.cjs +0 -10
- package/lib/components/Button/useLogic/useLogic.cjs +0 -1
- package/lib/components/Checkbox/Checkbox.cjs +0 -1
- package/lib/components/Checkbox/icons.cjs +0 -1
- package/lib/components/Checkbox/styles.cjs +0 -59
- package/lib/components/CheckboxField/CheckboxField.cjs +0 -1
- package/lib/components/CheckboxField/styles.cjs +0 -5
- package/lib/components/Chevron/Chevron.cjs +0 -1
- package/lib/components/Chevron/styles.cjs +0 -6
- package/lib/components/CircularProgress/CircularProgress.cjs +0 -1
- package/lib/components/CircularProgress/constants.cjs +0 -1
- package/lib/components/CircularProgress/useLogic/useLogic.cjs +0 -1
- package/lib/components/Collapse/Collapse.cjs +0 -1
- package/lib/components/ConfigProvider/ConfigProvider.cjs +0 -2
- package/lib/components/ConfirmAction/ConfirmAction.cjs +0 -1
- package/lib/components/ConfirmAction/constants.cjs +0 -1
- package/lib/components/ConfirmAction/styles.cjs +0 -10
- package/lib/components/ConfirmAction/useLogic/useLogic.cjs +0 -1
- package/lib/components/ConfirmDialog/ConfirmDialog.cjs +0 -1
- package/lib/components/ConfirmDialog/styles.cjs +0 -5
- package/lib/components/ConfirmDialog/useLogic/useLogic.cjs +0 -1
- package/lib/components/Container/Container.cjs +0 -1
- package/lib/components/Container/styles.cjs +0 -19
- package/lib/components/ContentState/ContentState.cjs +0 -1
- package/lib/components/ContentState/styles.cjs +0 -9
- package/lib/components/CopyTypography/CopyTypography.cjs +0 -1
- package/lib/components/CopyTypography/enums.cjs +0 -1
- package/lib/components/CopyTypography/styles.cjs +0 -18
- package/lib/components/CopyTypography/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/Body/Body.cjs +0 -1
- package/lib/components/DataGrid/Body/styles.cjs +0 -9
- package/lib/components/DataGrid/Body/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/Cell/Cell.cjs +0 -1
- package/lib/components/DataGrid/Cell/styles.cjs +0 -11
- package/lib/components/DataGrid/Cell/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/DataGrid.cjs +0 -1
- package/lib/components/DataGrid/DataGridContext/DataGridContext.cjs +0 -1
- package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.cjs +0 -1
- package/lib/components/DataGrid/Head/Head.cjs +0 -1
- package/lib/components/DataGrid/Head/styles.cjs +0 -12
- package/lib/components/DataGrid/Head/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/HeadCell/HeadCell.cjs +0 -1
- package/lib/components/DataGrid/HeadCell/styles.cjs +0 -21
- package/lib/components/DataGrid/HeadCell/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/Loader/Loader.cjs +0 -1
- package/lib/components/DataGrid/Loader/styles.cjs +0 -16
- package/lib/components/DataGrid/NoData/NoData.cjs +0 -1
- package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.cjs +0 -1
- package/lib/components/DataGrid/Row/NestedChildren/styles.cjs +0 -54
- package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/Row/Row.cjs +0 -1
- package/lib/components/DataGrid/Row/RowContext/RowContext.cjs +0 -1
- package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.cjs +0 -1
- package/lib/components/DataGrid/Row/constants.cjs +0 -1
- package/lib/components/DataGrid/Row/styles.cjs +0 -80
- package/lib/components/DataGrid/Row/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.cjs +0 -1
- package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.cjs +0 -1
- package/lib/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.cjs +0 -1
- package/lib/components/DataGrid/constants.cjs +0 -1
- package/lib/components/DataGrid/enums.cjs +0 -1
- package/lib/components/DataGrid/styles.cjs +0 -22
- package/lib/components/DataGrid/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.cjs +0 -1
- package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.cjs +0 -1
- package/lib/components/DataGrid/utils/alignToJustifyContent/constants.cjs +0 -1
- package/lib/components/DataGridActionCell/DataGridActionCell.cjs +0 -1
- package/lib/components/DataGridActionCell/MainAction/MainAction.cjs +0 -1
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.cjs +0 -1
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.cjs +0 -1
- package/lib/components/DataGridActionCell/styles.cjs +0 -4
- package/lib/components/DataGridActionCell/useLogic/useLogic.cjs +0 -1
- package/lib/components/DataGridPagination/DataGridPagination.cjs +0 -1
- package/lib/components/DataGridPagination/constants.cjs +0 -1
- package/lib/components/DataGridPagination/styles.cjs +0 -18
- package/lib/components/DataGridPagination/useLogic/useLogic.cjs +0 -1
- package/lib/components/Description/Description.cjs +0 -1
- package/lib/components/Description/DescriptionContext/DescriptionContext.cjs +0 -1
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.cjs +0 -1
- package/lib/components/Description/Name/Name.cjs +0 -1
- package/lib/components/Description/Name/styles.cjs +0 -18
- package/lib/components/Description/Value/Value.cjs +0 -1
- package/lib/components/Description/Value/styles.cjs +0 -35
- package/lib/components/Description/Value/useLogic/useLogic.cjs +0 -1
- package/lib/components/Description/constants.cjs +0 -1
- package/lib/components/Description/styles.cjs +0 -17
- package/lib/components/Description/useLogic/useLogic.cjs +0 -1
- package/lib/components/DescriptionList/DescriptionList.cjs +0 -1
- package/lib/components/DescriptionList/styles.cjs +0 -30
- package/lib/components/DescriptionList/utils/getTooltipProps/getTooltipProps.cjs +0 -1
- package/lib/components/Dialog/Dialog.cjs +0 -1
- package/lib/components/Dialog/constants.cjs +0 -1
- package/lib/components/Dialog/styles.cjs +0 -9
- package/lib/components/DialogActions/DialogActions.cjs +0 -1
- package/lib/components/DialogActions/styles.cjs +0 -12
- package/lib/components/DialogContent/DialogContent.cjs +0 -1
- package/lib/components/DialogContent/styles.cjs +0 -7
- package/lib/components/DialogContentText/DialogContentText.cjs +0 -1
- package/lib/components/DialogContentText/styles.cjs +0 -3
- package/lib/components/DialogHeader/DialogHeader.cjs +0 -1
- package/lib/components/DialogHeader/styles.cjs +0 -20
- package/lib/components/DialogTitle/DialogTitle.cjs +0 -1
- package/lib/components/Divider/Divider.cjs +0 -1
- package/lib/components/DropdownButton/DropdownButton.cjs +0 -1
- package/lib/components/ErrorBoundary/ErrorBoundary.cjs +0 -1
- package/lib/components/ErrorBoundary/constants.cjs +0 -1
- package/lib/components/ErrorBoundary/enums.cjs +0 -1
- package/lib/components/Filename/Filename.cjs +0 -1
- package/lib/components/Filename/styles.cjs +0 -11
- package/lib/components/Filename/useLogic/useLogic.cjs +0 -1
- package/lib/components/Filename/useLogic/utils/findExtension/constants.cjs +0 -1
- package/lib/components/Filename/useLogic/utils/findExtension/findExtension.cjs +0 -1
- package/lib/components/Filename/useLogic/utils/truncateString/constants.cjs +0 -1
- package/lib/components/Filename/useLogic/utils/truncateString/truncateString.cjs +0 -1
- package/lib/components/FormControl/FormControl.cjs +0 -1
- package/lib/components/FormControlLabel/FormControlLabel.cjs +0 -1
- package/lib/components/FormControlLabel/styles.cjs +0 -8
- package/lib/components/FormHelperText/FormHelperText.cjs +0 -1
- package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.cjs +0 -1
- package/lib/components/FormHelperText/FormHelperTextContent/styles.cjs +0 -14
- package/lib/components/FormLabel/FormLabel.cjs +0 -1
- package/lib/components/FormLabel/styles.cjs +0 -4
- package/lib/components/GuidTypography/GuidTypography.cjs +0 -1
- package/lib/components/IconButton/IconButton.cjs +0 -1
- package/lib/components/IconButton/styles.cjs +0 -11
- package/lib/components/IconDropdownButton/IconDropdownButton.cjs +0 -1
- package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.cjs +0 -1
- package/lib/components/Link/Link.cjs +0 -1
- package/lib/components/Link/styles.cjs +0 -35
- package/lib/components/List/List.cjs +0 -1
- package/lib/components/ListItem/ListItem.cjs +0 -1
- package/lib/components/ListItem/constants.cjs +0 -1
- package/lib/components/ListItem/styles.cjs +0 -11
- package/lib/components/ListItemButton/ListItemButton.cjs +0 -1
- package/lib/components/ListItemIcon/ListItemIcon.cjs +0 -1
- package/lib/components/ListItemIcon/styles.cjs +0 -3
- package/lib/components/ListItemText/ListItemText.cjs +0 -1
- package/lib/components/ListSubheader/ListSubheader.cjs +0 -1
- package/lib/components/Menu/Menu.cjs +0 -1
- package/lib/components/MenuItem/MenuItem.cjs +0 -1
- package/lib/components/MenuList/MenuList.cjs +0 -1
- package/lib/components/MenuList/styles.cjs +0 -8
- package/lib/components/NavMenu/Item/Item.cjs +0 -1
- package/lib/components/NavMenu/Item/ItemButton/ItemButton.cjs +0 -1
- package/lib/components/NavMenu/Item/ItemButton/styles.cjs +0 -105
- package/lib/components/NavMenu/Item/List/List.cjs +0 -1
- package/lib/components/NavMenu/NavMenu.cjs +0 -1
- package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.cjs +0 -1
- package/lib/components/OverflowTypography/OverflowTypography.cjs +0 -1
- package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.cjs +0 -1
- package/lib/components/OverflowTypography/styles.cjs +0 -20
- package/lib/components/OverflowTypography/useLogic/useLogic.cjs +0 -1
- package/lib/components/OverflowTypography/utils/truncateString/truncateString.cjs +0 -1
- package/lib/components/Pagination/Pagination.cjs +0 -1
- package/lib/components/Paper/Paper.cjs +0 -1
- package/lib/components/Placeholder/Image/Image.cjs +0 -1
- package/lib/components/Placeholder/Image/styles.cjs +0 -17
- package/lib/components/Placeholder/Placeholder.cjs +0 -1
- package/lib/components/Placeholder/constants.cjs +0 -1
- package/lib/components/Placeholder/styles.cjs +0 -59
- package/lib/components/Popover/Popover.cjs +0 -1
- package/lib/components/ProgressBar/ProgressBar.cjs +0 -1
- package/lib/components/Radio/Icon/Icon.cjs +0 -1
- package/lib/components/Radio/Radio.cjs +0 -1
- package/lib/components/Radio/constants.cjs +0 -1
- package/lib/components/Radio/styles.cjs +0 -57
- package/lib/components/RadioField/RadioField.cjs +0 -1
- package/lib/components/RadioField/styles.cjs +0 -4
- package/lib/components/RadioGroup/RadioGroup.cjs +0 -1
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.cjs +0 -1
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.cjs +0 -1
- package/lib/components/RadioGroupField/RadioGroupField.cjs +0 -1
- package/lib/components/SearchField/SearchField.cjs +0 -1
- package/lib/components/SearchField/styles.cjs +0 -23
- package/lib/components/Select/Select.cjs +0 -1
- package/lib/components/Select/constants.cjs +0 -1
- package/lib/components/Select/styles.cjs +0 -44
- package/lib/components/Select/useLogic/useLogic.cjs +0 -1
- package/lib/components/Skeleton/Skeleton.cjs +0 -1
- package/lib/components/Skeleton/styles.cjs +0 -14
- package/lib/components/Switch/Switch.cjs +0 -1
- package/lib/components/Switch/styles.cjs +0 -12
- package/lib/components/Tab/Tab.cjs +0 -1
- package/lib/components/Tab/styles.cjs +0 -20
- package/lib/components/Tabs/Tabs.cjs +0 -1
- package/lib/components/Tabs/styles.cjs +0 -16
- package/lib/components/Tag/Tag.cjs +0 -1
- package/lib/components/Tag/enums.cjs +0 -1
- package/lib/components/Tag/styles.cjs +0 -79
- package/lib/components/TagBadge/TagBadge.cjs +0 -1
- package/lib/components/TagBadge/styles.cjs +0 -11
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.cjs +0 -1
- package/lib/components/TagsList/Tag/Tag.cjs +0 -1
- package/lib/components/TagsList/Tag/styles.cjs +0 -10
- package/lib/components/TagsList/Tag/useLogic/useLogic.cjs +0 -1
- package/lib/components/TagsList/TagsList.cjs +0 -1
- package/lib/components/TagsList/styles.cjs +0 -4
- package/lib/components/TagsList/useLogic/useLogic.cjs +0 -1
- package/lib/components/TagsList/utils/getElementByText/getElementByText.cjs +0 -1
- package/lib/components/TagsList/utils/getKey/getKey.cjs +0 -1
- package/lib/components/TextArea/TextArea.cjs +0 -1
- package/lib/components/TextField/TextField.cjs +0 -1
- package/lib/components/Tooltip/Tooltip.cjs +0 -1
- package/lib/components/Tooltip/constants.cjs +0 -1
- package/lib/components/Tooltip/styles.cjs +0 -37
- package/lib/components/Typography/Typography.cjs +0 -1
- package/lib/components/Typography/enums.cjs +0 -1
- package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.cjs +0 -1
- package/lib/components/Typography/styles.cjs +0 -3
- package/lib/hooks/useMenu/useMenu.cjs +0 -1
- package/lib/hooks/usePopover/usePopover.cjs +0 -1
- package/lib/hooks/useToggle/useToggle.cjs +0 -1
- package/lib/hooks/useViewportType/useViewportType.cjs +0 -1
- package/lib/index.cjs +0 -1
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.cjs +0 -23
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.cjs +0 -9
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.cjs +0 -1
- package/lib/theme/baseTheme/baseTheme.cjs +0 -1
- package/lib/theme/breakpoints.cjs +0 -1
- package/lib/theme/components/MuiAlert.cjs +0 -1
- package/lib/theme/components/MuiAutocomplete.cjs +0 -1
- package/lib/theme/components/MuiButton.cjs +0 -1
- package/lib/theme/components/MuiButtonBase.cjs +0 -1
- package/lib/theme/components/MuiCircularProgress.cjs +0 -1
- package/lib/theme/components/MuiDialog.cjs +0 -1
- package/lib/theme/components/MuiDialogActions.cjs +0 -1
- package/lib/theme/components/MuiDialogContent.cjs +0 -1
- package/lib/theme/components/MuiDialogTitle.cjs +0 -1
- package/lib/theme/components/MuiDrawer.cjs +0 -1
- package/lib/theme/components/MuiFormHelperText.cjs +0 -1
- package/lib/theme/components/MuiFormLabel.cjs +0 -1
- package/lib/theme/components/MuiInputLabel.cjs +0 -1
- package/lib/theme/components/MuiLinearProgress.cjs +0 -1
- package/lib/theme/components/MuiListItemButton.cjs +0 -1
- package/lib/theme/components/MuiListItemText.cjs +0 -1
- package/lib/theme/components/MuiMenu.cjs +0 -1
- package/lib/theme/components/MuiMenuItem.cjs +0 -1
- package/lib/theme/components/MuiOutlinedInput.cjs +0 -1
- package/lib/theme/components/MuiPaginationItem.cjs +0 -1
- package/lib/theme/components/MuiPaper.cjs +0 -1
- package/lib/theme/components/MuiStep.cjs +0 -1
- package/lib/theme/components/MuiStepConnector.cjs +0 -1
- package/lib/theme/components/MuiStepLabel.cjs +0 -1
- package/lib/theme/components/MuiSwitch.cjs +0 -1
- package/lib/theme/components/MuiTab.cjs +0 -1
- package/lib/theme/components/MuiTableCell.cjs +0 -1
- package/lib/theme/components/MuiTableHead.cjs +0 -1
- package/lib/theme/components/MuiTableRow.cjs +0 -1
- package/lib/theme/components/MuiTabs.cjs +0 -1
- package/lib/theme/components/MuiTextField.cjs +0 -1
- package/lib/theme/components/MuiToggleButton.cjs +0 -1
- package/lib/theme/components/MuiToggleButtonGroup.cjs +0 -1
- package/lib/theme/components/MuiTypography.cjs +0 -1
- package/lib/theme/components/components.cjs +0 -30
- package/lib/theme/constants.cjs +0 -1
- package/lib/theme/elevation.cjs +0 -1
- package/lib/theme/hooks/useTheme/index.cjs +0 -1
- package/lib/theme/palette/componentsColors/componentsColors.cjs +0 -1
- package/lib/theme/palette/componentsColors/linkColors/linkColors.cjs +0 -1
- package/lib/theme/palette/palette.cjs +0 -1
- package/lib/theme/shape.cjs +0 -1
- package/lib/theme/typography.cjs +0 -1
|
@@ -22,4 +22,4 @@ export type SelectProps<Value> = WithoutEmotionSpecific<Omit<MuiSelectProps<Valu
|
|
|
22
22
|
error?: boolean;
|
|
23
23
|
label?: string;
|
|
24
24
|
};
|
|
25
|
-
export declare
|
|
25
|
+
export declare function Select<Value>({ required, getOptionLabel, placeholder, helperText, hideHelperText, loading, success, children, disabled, error, label, fullWidth, onChange: externalOnChange, isShowClearButton, ...props }: SelectProps<Value>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,25 +5,26 @@ import { FormHelperText as R } from "../FormHelperText/FormHelperText.mjs";
|
|
|
5
5
|
import "react";
|
|
6
6
|
import "../FormHelperText/FormHelperTextContent/styles.mjs";
|
|
7
7
|
import { MenuItem as w } from "../MenuItem/MenuItem.mjs";
|
|
8
|
-
import { TagsList as
|
|
9
|
-
import { ChevronDown as
|
|
10
|
-
import { CLEAR_TEXT as
|
|
11
|
-
import { StyledSelect as
|
|
12
|
-
import { useLogic as
|
|
13
|
-
const
|
|
8
|
+
import { TagsList as z } from "../TagsList/TagsList.mjs";
|
|
9
|
+
import { ChevronDown as D, ChevronUp as H } from "lucide-react";
|
|
10
|
+
import { CLEAR_TEXT as h } from "./constants.mjs";
|
|
11
|
+
import { StyledSelect as M, Placeholder as N, ProgressWrapper as U, EndAdornmentWrapper as V, StyledIconButton as C, StyledCloseFillSm as W } from "./styles.mjs";
|
|
12
|
+
import { useLogic as X } from "./useLogic/useLogic.mjs";
|
|
13
|
+
const _ = ({ onClick: s, disabled: o, ref: t }) => /* @__PURE__ */ r.jsx(
|
|
14
14
|
C,
|
|
15
15
|
{
|
|
16
|
-
disabled:
|
|
16
|
+
disabled: o,
|
|
17
17
|
ref: t,
|
|
18
18
|
onClick: s,
|
|
19
19
|
variant: "text",
|
|
20
|
-
title:
|
|
21
|
-
"aria-label":
|
|
22
|
-
children: /* @__PURE__ */ r.jsx(
|
|
20
|
+
title: h,
|
|
21
|
+
"aria-label": h,
|
|
22
|
+
children: /* @__PURE__ */ r.jsx(W, {})
|
|
23
23
|
}
|
|
24
|
-
)
|
|
24
|
+
);
|
|
25
|
+
function nr({
|
|
25
26
|
required: s,
|
|
26
|
-
getOptionLabel:
|
|
27
|
+
getOptionLabel: o = (i) => i,
|
|
27
28
|
placeholder: t,
|
|
28
29
|
helperText: d,
|
|
29
30
|
hideHelperText: v = !1,
|
|
@@ -31,13 +32,13 @@ const q = ({ onClick: s, disabled: e, ref: t }) => /* @__PURE__ */ r.jsx(
|
|
|
31
32
|
success: y,
|
|
32
33
|
children: c,
|
|
33
34
|
disabled: l,
|
|
34
|
-
error:
|
|
35
|
-
label:
|
|
35
|
+
error: u,
|
|
36
|
+
label: p,
|
|
36
37
|
fullWidth: x,
|
|
37
38
|
onChange: n,
|
|
38
39
|
isShowClearButton: g,
|
|
39
40
|
...j
|
|
40
|
-
})
|
|
41
|
+
}) {
|
|
41
42
|
const {
|
|
42
43
|
isOpened: i,
|
|
43
44
|
isShowingClearButton: S,
|
|
@@ -46,16 +47,16 @@ const q = ({ onClick: s, disabled: e, ref: t }) => /* @__PURE__ */ r.jsx(
|
|
|
46
47
|
openSelect: a,
|
|
47
48
|
closeSelect: I,
|
|
48
49
|
resetButtonRef: k
|
|
49
|
-
} =
|
|
50
|
+
} = X({
|
|
50
51
|
...j,
|
|
51
52
|
children: c,
|
|
52
53
|
onChange: n,
|
|
53
54
|
isShowClearButton: g
|
|
54
|
-
}), B = (
|
|
55
|
-
if (Array.isArray(
|
|
56
|
-
const F = (
|
|
55
|
+
}), B = (e) => {
|
|
56
|
+
if (Array.isArray(e) && e.length) {
|
|
57
|
+
const F = (f) => n?.(f ? {
|
|
57
58
|
target: {
|
|
58
|
-
value:
|
|
59
|
+
value: f
|
|
59
60
|
}
|
|
60
61
|
} : {
|
|
61
62
|
target: {
|
|
@@ -63,22 +64,22 @@ const q = ({ onClick: s, disabled: e, ref: t }) => /* @__PURE__ */ r.jsx(
|
|
|
63
64
|
}
|
|
64
65
|
}, void 0);
|
|
65
66
|
return /* @__PURE__ */ r.jsx(
|
|
66
|
-
|
|
67
|
+
z,
|
|
67
68
|
{
|
|
68
|
-
data:
|
|
69
|
+
data: e,
|
|
69
70
|
keyId: "value",
|
|
70
|
-
getOptionLabel:
|
|
71
|
+
getOptionLabel: o,
|
|
71
72
|
onChange: F,
|
|
72
73
|
onClick: a
|
|
73
74
|
}
|
|
74
75
|
);
|
|
75
76
|
}
|
|
76
|
-
return (Array.isArray(
|
|
77
|
+
return (Array.isArray(e) || typeof e == "string") && !e.length ? t : o(e);
|
|
77
78
|
};
|
|
78
|
-
return /* @__PURE__ */ r.jsxs(T, { error:
|
|
79
|
-
|
|
79
|
+
return /* @__PURE__ */ r.jsxs(T, { error: u, fullWidth: x, children: [
|
|
80
|
+
p && /* @__PURE__ */ r.jsx(L, { htmlFor: "grouped-select", required: s, children: p }),
|
|
80
81
|
/* @__PURE__ */ r.jsxs(
|
|
81
|
-
|
|
82
|
+
M,
|
|
82
83
|
{
|
|
83
84
|
...j,
|
|
84
85
|
open: i,
|
|
@@ -90,9 +91,9 @@ const q = ({ onClick: s, disabled: e, ref: t }) => /* @__PURE__ */ r.jsx(
|
|
|
90
91
|
displayEmpty: !0,
|
|
91
92
|
fullWidth: x,
|
|
92
93
|
onChange: n,
|
|
93
|
-
endAdornment: /* @__PURE__ */ r.jsxs(
|
|
94
|
+
endAdornment: /* @__PURE__ */ r.jsxs(V, { children: [
|
|
94
95
|
S && /* @__PURE__ */ r.jsx(
|
|
95
|
-
|
|
96
|
+
_,
|
|
96
97
|
{
|
|
97
98
|
disabled: l,
|
|
98
99
|
ref: k,
|
|
@@ -105,21 +106,21 @@ const q = ({ onClick: s, disabled: e, ref: t }) => /* @__PURE__ */ r.jsx(
|
|
|
105
106
|
variant: "text",
|
|
106
107
|
disabled: l,
|
|
107
108
|
onClick: a,
|
|
108
|
-
children: i ? /* @__PURE__ */ r.jsx(
|
|
109
|
+
children: i ? /* @__PURE__ */ r.jsx(H, { size: 16 }) : /* @__PURE__ */ r.jsx(D, { size: 16 })
|
|
109
110
|
}
|
|
110
111
|
)
|
|
111
112
|
] }),
|
|
112
113
|
children: [
|
|
113
|
-
/* @__PURE__ */ r.jsx(
|
|
114
|
-
m && /* @__PURE__ */ r.jsx(
|
|
114
|
+
/* @__PURE__ */ r.jsx(N, { value: "", children: t }),
|
|
115
|
+
m && /* @__PURE__ */ r.jsx(U, { children: /* @__PURE__ */ r.jsx(P, { color: "primary" }) }),
|
|
115
116
|
!m && c,
|
|
116
117
|
!m && A && /* @__PURE__ */ r.jsx(w, { disabled: !0, children: "Нет данных" })
|
|
117
118
|
]
|
|
118
119
|
}
|
|
119
120
|
),
|
|
120
|
-
!v && /* @__PURE__ */ r.jsx(R, { error:
|
|
121
|
+
!v && /* @__PURE__ */ r.jsx(R, { error: u, success: y, children: d })
|
|
121
122
|
] });
|
|
122
|
-
}
|
|
123
|
+
}
|
|
123
124
|
export {
|
|
124
125
|
nr as Select
|
|
125
126
|
};
|
|
@@ -19,5 +19,5 @@ export declare const StyledIconButton: import('@emotion/styled').StyledComponent
|
|
|
19
19
|
loading?: boolean;
|
|
20
20
|
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
21
21
|
export declare const StyledCloseFillSm: import('@emotion/styled').StyledComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
22
|
-
export declare const EndAdornmentWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
|
+
export declare const EndAdornmentWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
23
23
|
export declare const StyledSelect: typeof Select;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { styled as t, selectClasses as r, Select as o } from "@mui/material";
|
|
2
2
|
import { CircleX as n } from "lucide-react";
|
|
3
|
-
import { IconButton as
|
|
4
|
-
import { MenuItem as
|
|
5
|
-
const
|
|
3
|
+
import { IconButton as i } from "../IconButton/IconButton.mjs";
|
|
4
|
+
import { MenuItem as l } from "../MenuItem/MenuItem.mjs";
|
|
5
|
+
const c = t("div")`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: center;
|
|
@@ -14,16 +14,17 @@ const d = t("div")`
|
|
|
14
14
|
|
|
15
15
|
color: ${({ theme: e }) => e.palette.grey[900]};
|
|
16
16
|
}
|
|
17
|
-
`, g = t(
|
|
17
|
+
`, g = t(l)`
|
|
18
18
|
display: none;
|
|
19
|
-
`, m = t(
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
`, m = t(i)`
|
|
20
|
+
padding: 0;
|
|
21
|
+
svg {
|
|
22
|
+
stroke: ${({ theme: e }) => e.palette.grey[600]};
|
|
23
|
+
}
|
|
22
24
|
&:hover {
|
|
23
25
|
background-color: transparent;
|
|
24
|
-
|
|
25
26
|
svg {
|
|
26
|
-
|
|
27
|
+
stroke: ${({ theme: e }) => e.palette.grey[700]};
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -34,23 +35,24 @@ const d = t("div")`
|
|
|
34
35
|
`, h = t(n)`
|
|
35
36
|
width: 16px;
|
|
36
37
|
height: 16px;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
padding: 0;
|
|
39
|
+
`, y = t("div", {
|
|
40
|
+
label: "EndAdornmentWrapper"
|
|
41
|
+
})`
|
|
40
42
|
display: flex;
|
|
41
43
|
align-items: center;
|
|
42
44
|
|
|
43
45
|
margin-left: auto;
|
|
44
|
-
`,
|
|
46
|
+
`, x = t(o)`
|
|
45
47
|
.${r.select} {
|
|
46
48
|
padding-right: ${({ theme: e }) => e.spacing(2)} !important;
|
|
47
49
|
}
|
|
48
50
|
`;
|
|
49
51
|
export {
|
|
50
|
-
|
|
52
|
+
y as EndAdornmentWrapper,
|
|
51
53
|
g as Placeholder,
|
|
52
|
-
|
|
54
|
+
c as ProgressWrapper,
|
|
53
55
|
h as StyledCloseFillSm,
|
|
54
56
|
m as StyledIconButton,
|
|
55
|
-
|
|
57
|
+
x as StyledSelect
|
|
56
58
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { componentsColors as
|
|
1
|
+
import { componentsColors as r } from "./componentsColors/componentsColors.mjs";
|
|
2
2
|
const t = () => {
|
|
3
|
-
const
|
|
3
|
+
const F = {
|
|
4
4
|
primary: {
|
|
5
|
-
900: "#
|
|
6
|
-
800: "#
|
|
7
|
-
700: "#
|
|
8
|
-
600: "#
|
|
9
|
-
500: "#
|
|
10
|
-
400: "#
|
|
11
|
-
300: "#
|
|
12
|
-
200: "#
|
|
13
|
-
100: "#
|
|
5
|
+
900: "#213555",
|
|
6
|
+
800: "#2B3E6F",
|
|
7
|
+
700: "#3F51B5",
|
|
8
|
+
600: "#4C6FFF",
|
|
9
|
+
500: "#5F7DFF",
|
|
10
|
+
400: "#7C98FF",
|
|
11
|
+
300: "#99B2FF",
|
|
12
|
+
200: "#B7CCFF",
|
|
13
|
+
100: "#D0E1FF"
|
|
14
14
|
},
|
|
15
15
|
secondary: {
|
|
16
16
|
800: "#55B8F0"
|
|
@@ -62,16 +62,16 @@ const t = () => {
|
|
|
62
62
|
100: "#F0F4F7"
|
|
63
63
|
},
|
|
64
64
|
primary: {
|
|
65
|
-
main:
|
|
66
|
-
dark:
|
|
65
|
+
main: F.primary[800],
|
|
66
|
+
dark: F.primary[900],
|
|
67
67
|
contrastText: "#FFF",
|
|
68
|
-
...
|
|
68
|
+
...F.primary
|
|
69
69
|
},
|
|
70
70
|
secondary: {
|
|
71
|
-
main:
|
|
72
|
-
dark:
|
|
71
|
+
main: F.secondary[800],
|
|
72
|
+
dark: F.primary[900],
|
|
73
73
|
contrastText: "#FFF",
|
|
74
|
-
...
|
|
74
|
+
...F.secondary
|
|
75
75
|
},
|
|
76
76
|
background: {
|
|
77
77
|
default: "#FFF",
|
|
@@ -117,7 +117,7 @@ const t = () => {
|
|
|
117
117
|
contrastText: "#FFF"
|
|
118
118
|
};
|
|
119
119
|
},
|
|
120
|
-
components:
|
|
120
|
+
components: r
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
123
|
export {
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@max-ts/components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"browser": "./src/index.ts",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"module": "./src/index.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./lib/index.mjs",
|
|
10
|
-
"types": "./lib/index.d.ts"
|
|
11
|
-
"require": "./lib/index.cjs"
|
|
10
|
+
"types": "./lib/index.d.ts"
|
|
12
11
|
}
|
|
13
12
|
},
|
|
14
13
|
"files": [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.cjs");var r=e.__require();exports.j=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs"),t=require("react"),S=require("../Chevron/Chevron.cjs"),m=require("../Collapse/Collapse.cjs"),r=require("./styles.cjs"),q=t.forwardRef(({summary:o,startAdorment:s,isExpanded:n,onChange:l,children:p},h)=>{const[i,x]=t.useState(!1),c=typeof n=="boolean",a=c?n:i,d=!!s,f=j=>{if(c)l?.(!n,j);else{const u=!i;x(u),l?.(u,j)}},C=typeof o=="string"?r.Summary:t.Fragment;return e.j.jsxs("div",{ref:h,children:[e.j.jsxs(r.Header,{onClick:f,withStartAdornment:d,children:[s,e.j.jsx(C,{children:o}),e.j.jsx(r.ChevronWrapper,{children:e.j.jsx(S.Chevron,{isActive:a})})]}),e.j.jsx(m.Collapse,{in:a,children:e.j.jsx(r.ContentWrapper,{withStartAdorment:d,children:p})})]})});exports.Accordion=q;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@mui/material"),p=require("../Typography/Typography.cjs"),a=r.styled("header")`
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-column-gap: ${({theme:e})=>e.spacing(2)};
|
|
6
|
-
grid-template-columns: ${({withStartAdornment:e})=>e?"24px 1fr 24px":" 1fr 24px"};
|
|
7
|
-
`,n=r.styled("div")`
|
|
8
|
-
margin-left: ${({theme:e,withStartAdorment:t})=>e.spacing(t?8:0)};
|
|
9
|
-
padding-top: ${({theme:e})=>e.spacing(2)};
|
|
10
|
-
`,i=r.styled(p.Typography)`
|
|
11
|
-
align-self: center;
|
|
12
|
-
`,o=r.styled("div")`
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
|
|
15
|
-
width: 24px;
|
|
16
|
-
height: 24px;
|
|
17
|
-
`;exports.ChevronWrapper=o;exports.ContentWrapper=n;exports.Header=a;exports.Summary=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../_virtual/jsx-runtime.cjs"),d=require("./MainAction/MainAction.cjs"),u=require("./SecondaryAction/SecondaryActions.cjs"),m=require("./styles.cjs"),y=require("./useLogic/useLogic.cjs"),t={mainAction:"top",secondaryAction:"left"},j=n=>{const{isSecondaryActionsAvailable:s,handleActionClick:e,handleWrapperClick:r,isDisabledAction:o}=y.useLogic(n),{actions:a}=n,{main:l=[],secondary:A=[]}=a;return i.j.jsxs(m.Wrapper,{onClick:r,children:[l.map(c=>i.j.jsx(d.MainAction,{tooltipPlacement:t.mainAction,onActionClick:e,action:c,isDisabled:o},c.name)),s&&i.j.jsx(u.SecondaryActions,{isDisabled:o,actions:A,tooltipPlacement:t.secondaryAction,onActionClick:e})]})};exports.ActionCell=j;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../_virtual/jsx-runtime.cjs"),C=require("react"),M=require("../../IconButton/IconButton.cjs"),g=require("../../IconDropdownButton/IconDropdownButton.cjs"),w=require("../../MenuItem/MenuItem.cjs"),u=require("../../Tooltip/Tooltip.cjs"),R=({action:t,onActionClick:o,tooltipPlacement:i,isDisabled:e})=>{if("actions"in t){const{icon:x,disabled:c,disabledReason:h,name:d,actions:I}=t;return n.j.jsx(u.Tooltip,{title:h||d,placement:i,withoutContainer:!(e||c),children:n.j.jsx(g.IconDropdownButton,{icon:x,variant:"text",disabled:e||c,children:I.map(({name:l,onClick:k,...B})=>C.createElement(w.MenuItem,{...B,key:l,tooltipPlacement:i,onClick:o(k)},l))})},d)}const{onClick:s,name:r,icon:j,disabledReason:m,disabled:a,loading:p,isBlockingOperation:T,...b}=t,q=!p&&(m||r);return n.j.jsx(u.Tooltip,{title:q,placement:i,withoutContainer:!(e||a),children:n.j.jsx(M.IconButton,{disabled:e||a,...b,variant:"text",onClick:o(s),children:j})},r)};exports.MainAction=R;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/jsx-runtime.cjs"),l=require("react"),s=require("lucide-react"),a=require("../../IconDropdownButton/IconDropdownButton.cjs"),d=require("../../MenuItem/MenuItem.cjs"),m=({actions:n,onActionClick:i,tooltipPlacement:o,isDisabled:c=!1})=>t.j.jsx(a.IconDropdownButton,{icon:t.j.jsx(s.EllipsisVertical,{}),variant:"text",disabled:c,children:n.map(e=>{const{onClick:u,name:r}=e;return l.createElement(d.MenuItem,{...e,key:r,tooltipPlacement:o,onClick:i(u)},r)})});exports.SecondaryActions=m;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),l=({actions:o,row:n})=>{const{main:s,secondary:i}=o,t=s.some(e=>"actions"in e?!1:e?.isBlockingOperation&&e?.loading),c=r.useCallback(e=>()=>{e?.(n)},[n]),a=e=>{e.stopPropagation()};return{isSecondaryActionsAvailable:i&&i.length>=1,handleActionClick:c,handleWrapperClick:a,isDisabledAction:t}};exports.useLogic=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../../_virtual/jsx-runtime.cjs"),h=require("../Autocomplete/Autocomplete.cjs"),m=require("./useLogic/useLogic.cjs"),O=e=>{const{options:t,isLoadingData:o,handleOpen:n,handleInputChange:s,emptyOptionsText:i}=m.useLogic(e),{fetchOptions:y,fetchDelayMs:A,minSymbolsToFetch:b,isDisabled:u,isRequired:r,isSuccess:c,isError:l,isLoading:p,isFullWidth:a,onOpen:q,noOptionsText:x,onInputChange:T,...d}=e;return g.j.jsx(h.Autocomplete,{options:t,disabled:u,fullWidth:a,loading:p||o,onOpen:n,error:l,required:r,success:c,noOptionsText:i,onInputChange:s,...d})};exports.AsyncAutocomplete=O;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=0,_=300,E="Продолжайте вводить для поиска",A="Нет данных";exports.DEFAULT_DELAY_MS=_;exports.DEFAULT_EMPTY_OPTIONS_TEXT=E;exports.DEFAULT_MIN_SEARCH_CHARACTERS=T;exports.DEFAULT_NO_OPTIONS_TEXT=A;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),F=require("@mui/material"),i=require("../constants.cjs"),R=({fetchOptions:l,fetchDelayMs:c=i.DEFAULT_DELAY_MS,minSymbolsToFetch:E=i.DEFAULT_MIN_SEARCH_CHARACTERS,defaultValue:u,getOptionLabel:T,noOptionsText:f=i.DEFAULT_NO_OPTIONS_TEXT,onOpen:p,onInputChange:g})=>{const[A,s]=e.useState(!1),[O,d]=e.useState(!0),[L,S]=e.useState(!0),a=e.useRef(null),[C,_]=e.useState([]),r=e.useCallback(F.debounce(n=>{a.current?.abort();const t=new AbortController;a.current=t,l(n,t?.signal).then(o=>{_(o),S(o.length===0)}).finally(()=>{s(!1),a.current=null})},c),[l,c,f]),I=(n,t,o)=>{if(!t||t.length<E)return r&&r.clear(),S(!1),s(!1),_([]);s(!0),O||r(t),g?.(n,t,o)},b=n=>{if(O){d(!1);const t=u&&T?T(u):"";(u||E===0)&&(s(!0),r(t))}p?.(n)},D=L?f:i.DEFAULT_EMPTY_OPTIONS_TEXT;return{handleOpen:b,handleInputChange:I,options:C,isLoadingData:A,emptyOptionsText:D}};exports.useLogic=R;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../_virtual/jsx-runtime.cjs"),o=require("react"),x=require("@mui/material"),M=require("../Checkbox/Checkbox.cjs"),U=require("../CircularProgress/CircularProgress.cjs"),H=require("../OverflowTypography/OverflowTypography.cjs"),N=require("../Tag/Tag.cjs"),V=require("../TextField/TextField.cjs"),j=require("lucide-react"),L=require("./constants.cjs"),X=require("./styles.cjs"),$=require("./useLogic/useLogic.cjs"),z=m=>{const{isValueEmpty:T,isPopperVisible:g,autocompleteProps:f}=$.useLogic(m),{required:b,success:O,error:h,label:q,getOptionLabel:n,helperText:y,inputRef:C,multiple:l,size:c="medium",placeholder:E=L.DEFAULT_PLACEHOLDER,overflowOption:I,closeText:R="Закрыть",openText:P="Открыть",clearText:A="Очистить",loadingText:D=r.j.jsx(U.CircularProgress,{color:"primary"}),isLoadedDataError:B,loadedDataError:W,noOptionsText:G,autoHighlight:J,renderInput:u,renderTags:i,renderOption:s,...S}=m,v=o.useCallback(e=>{const t={...e,inputRef:C,required:b,placeholder:T?E:"",label:q,success:O,error:h,helperText:y,size:c};return u?u(t):r.j.jsx(V.TextField,{...t})},[T,u,C,b,E,q,O,h,y,c]),w=o.useCallback((e,t,a,p)=>{if(s)return s(e,t,a,p);const d=!!e["aria-selected"];return o.createElement(X.StyledMenuItem,{...e,key:e.id},l&&r.j.jsx(x.ListItemIcon,{children:r.j.jsx(M.Checkbox,{role:"menuitemcheckbox",checked:d})}),r.j.jsx(H.OverflowTypography,{rowsCount:L.DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT,...I,children:e.key}))},[l,I,s]),_=o.useCallback((e,t,a)=>i?i(e,t,a):e.map((p,d)=>{const k=n?.(p)||"";return o.createElement(N.Tag,{deleteIcon:r.j.jsx(j.X,{}),color:"grey",label:k,...t({index:d}),key:k})}),[n,i]),F=o.useCallback(e=>g?r.j.jsx(x.Popper,{...e}):null,[g]);return r.j.jsx(x.Autocomplete,{...S,size:c,clearText:A,closeText:R,openText:P,loadingText:D,multiple:l,disableCloseOnSelect:l,clearIcon:r.j.jsx(j.X,{}),popupIcon:r.j.jsx(j.ChevronDown,{}),forcePopupIcon:!0,slotProps:{clearIndicator:{disableRipple:!0},popper:{component:F}},getOptionLabel:n,renderInput:v,renderTags:_,renderOption:w,...f})};exports.Autocomplete=z;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=2,T="Начните вводить для поиска";exports.DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT=E;exports.DEFAULT_PLACEHOLDER=T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var l=(e=>(e.medium="medium",e.small="small",e))(l||{});exports.AutocompleteSizes=l;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@mui/material"),n=require("../MenuItem/MenuItem.cjs"),i=t.styled(n.MenuItem)`
|
|
2
|
-
max-height: ${({theme:e})=>e.spacing(13)};
|
|
3
|
-
|
|
4
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
5
|
-
max-height: unset;
|
|
6
|
-
}
|
|
7
|
-
`;exports.StyledMenuItem=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),C=require("./utils/checkIsInputEmpty/checkIsInputEmpty.cjs"),k=({value:o,isOptionEqualToValue:n,autoHighlight:p=!0,freeSolo:c,options:r,loading:s,isLoadedDataError:i,loadedDataError:l="Ошибка загрузки данных",noOptionsText:g="Нет данных",onInputChange:I})=>{const[a,h]=u.useState(""),y=C.checkIsInputEmpty(o),f=a.length>=1,m=r.length>0,b=f||m||s||i,O=u.useCallback((e,t)=>n?n(e,t):JSON.stringify(e)===JSON.stringify(t),[n]);return{isValueEmpty:y,isPopperVisible:b,autocompleteProps:{isOptionEqualToValue:O,autoHighlight:c?!1:p,noOptionsText:i?l:g,onInputChange:(e,t,S)=>{I?.(e,t,S),s||h(t)}}}};exports.useLogic=k;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=t=>Array.isArray(t)?t.length===0:!t;exports.checkIsInputEmpty=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../_virtual/jsx-runtime.cjs"),d=require("./styles.cjs"),n=({children:e,color:t,max:r=99,withBorder:o=!0,variantColor:i="contained",...s})=>a.j.jsx(d.StyledBadge,{$customColor:t,max:r,$withBorder:o,$variantColor:i,...s,children:e});exports.Badge=n;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@mui/material"),o=({$customColor:r,theme:e,$variantColor:t})=>{const a={contained:{grey:e.palette.grey[800],primary:e.palette.primary[800],error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],default:e.palette.primary.main},light:{grey:e.palette.grey[300],primary:e.palette.primary[100],error:e.palette.red[100],success:e.palette.green[100],warning:e.palette.yellow[100],default:e.palette.primary.main}};return r==="white"?e.palette.background.default:a[t][r]},i=({$customColor:r,theme:e,$variantColor:t})=>{const a={grey:e.palette.grey[900],primary:e.palette.primary[900],error:e.palette.red[900],success:e.palette.green[900],warning:e.palette.yellow[900],default:e.palette.primary.contrastText};return r==="white"?e.palette.grey[900]:t==="contained"?e.palette.common.white:a[r||"default"]},n=l.styled(l.Badge,{shouldForwardProp:r=>!["$customColor","$withBorder","$variantColor"].includes(r.toString())})`
|
|
2
|
-
.MuiBadge-badge {
|
|
3
|
-
height: 20px;
|
|
4
|
-
padding: ${({theme:r})=>r.spacing(0,1)};
|
|
5
|
-
|
|
6
|
-
font-size: ${({theme:r})=>r.typography.caption.fontSize};
|
|
7
|
-
line-height: 20px;
|
|
8
|
-
color: ${({$customColor:r,theme:e,$variantColor:t})=>i({$customColor:r,theme:e,$variantColor:t})};
|
|
9
|
-
|
|
10
|
-
background-color: ${({$customColor:r,theme:e,$variantColor:t})=>o({$customColor:r,theme:e,$variantColor:t})};
|
|
11
|
-
border: ${({$withBorder:r,theme:e})=>r?`2px solid ${e.palette.common.white}`:"none"};
|
|
12
|
-
border-radius: ${({$withBorder:r})=>r?"12px":null};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.MuiBadge-dot {
|
|
16
|
-
width: 12px;
|
|
17
|
-
height: 12px;
|
|
18
|
-
|
|
19
|
-
border: 2px solid ${({theme:r})=>r.palette.common.white};
|
|
20
|
-
}
|
|
21
|
-
`;exports.StyledBadge=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs"),j=require("../IconButton/IconButton.cjs"),u=require("lucide-react"),d=require("./constants.cjs"),r=require("./styles.cjs"),l=({title:n,drawerHeaderHeight:o=d.DEFAULT_HEADER_HEIGHT,children:i,onClose:t,...s})=>{const a=c=>{t&&t(c,"escapeKeyDown")};return e.j.jsxs(r.StyledDrawer,{...s,anchor:"bottom",onClose:t,children:[e.j.jsxs(r.Header,{drawerHeaderHeight:o,children:[e.j.jsx(r.HeaderTitle,{variant:"h5",noWrap:!0,children:n}),e.j.jsx(j.IconButton,{variant:"text",onClick:a,children:e.j.jsx(u.X,{})})]}),e.j.jsx(r.Body,{children:i})]})};exports.BottomDrawer=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E="16px",T=56;exports.DEFAULT_HEADER_HEIGHT=T;exports.OFFSET_TOP_SCREEN=E;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@mui/material"),r=require("./constants.cjs"),a=t.styled(t.Drawer)`
|
|
2
|
-
${`.${t.paperClasses.root}`} {
|
|
3
|
-
max-height: calc(100vh - ${r.OFFSET_TOP_SCREEN});
|
|
4
|
-
|
|
5
|
-
@supports (height: 100dvh) {
|
|
6
|
-
max-height: calc(100dvh - ${r.OFFSET_TOP_SCREEN});
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
border-top-left-radius: ${({theme:e})=>e.shape.large};
|
|
10
|
-
border-top-right-radius: ${({theme:e})=>e.shape.large};
|
|
11
|
-
}
|
|
12
|
-
`,s=t.styled("header")`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-shrink: 0;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: space-between;
|
|
17
|
-
|
|
18
|
-
height: ${({drawerHeaderHeight:e})=>`${e}px`};
|
|
19
|
-
padding: ${({theme:e})=>e.spacing(1,2,1,4)};
|
|
20
|
-
|
|
21
|
-
border-bottom: 1px solid ${({theme:e})=>e.palette.divider};
|
|
22
|
-
`,d=t.styled(t.Typography)`
|
|
23
|
-
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
24
|
-
`,i=t.styled("div")`
|
|
25
|
-
overflow-y: auto;
|
|
26
|
-
`;exports.Body=i;exports.Header=s;exports.HeaderTitle=d;exports.StyledDrawer=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../_virtual/jsx-runtime.cjs"),g=require("clsx"),m=require("./constants.cjs"),t=require("./enums.cjs"),s=require("./styles.cjs"),j=require("./useLogic/useLogic.cjs"),q=r=>{const{loadingIndicatorColor:i}=j.useLogic(r),{variant:n=t.ButtonVariants.Contained,color:l=t.ButtonColors.Primary,loading:e,loadingIndicator:y,loadingPosition:B,disabled:a,children:c,className:u,...d}=r;return o.j.jsxs(s.StyledButton,{variant:n,color:l,disabled:e||a,...d,className:g.clsx(u,{[m.LOADING_BUTTON_CLASSNAME]:e}),children:[e&&o.j.jsx(s.StyledCircularProgress,{color:i,size:"small"}),c]})};exports.Button=q;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t="astral-button-loading";exports.LOADING_BUTTON_CLASSNAME=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=(r=>(r.Error="error",r.Success="success",r.Warning="warning",r.Primary="primary",r))(e||{}),i=(r=>(r.Contained="contained",r.Light="light",r.Text="text",r.Link="link",r))(i||{}),a=(r=>(r.Small="small",r.Medium="medium",r.Large="large",r))(a||{}),c=(r=>(r.Default="default",r.Active="active",r.Focus="focus",r.Hover="hover",r))(c||{});exports.ButtonColors=e;exports.ButtonSizes=a;exports.ButtonStates=c;exports.ButtonVariants=i;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@mui/material"),o=require("../CircularProgress/CircularProgress.cjs"),e=require("./enums.cjs"),i=r.styled(r.Button)`
|
|
2
|
-
min-width: ${({variant:t})=>t===e.ButtonVariants.Link?"auto":""};
|
|
3
|
-
padding: ${({variant:t})=>t===e.ButtonVariants.Link?0:""};
|
|
4
|
-
|
|
5
|
-
:active {
|
|
6
|
-
box-shadow: none;
|
|
7
|
-
}
|
|
8
|
-
`,s=r.styled(o.CircularProgress)`
|
|
9
|
-
position: absolute;
|
|
10
|
-
`;exports.StyledButton=i;exports.StyledCircularProgress=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("../../CircularProgress/constants.cjs"),t=require("../enums.cjs"),n=({variant:r})=>({loadingIndicatorColor:e.useMemo(()=>r!==t.ButtonVariants.Contained?o.CircularProgressColors.PRIMARY:o.CircularProgressColors.INVERTED,[r])});exports.useLogic=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs"),i=require("react"),r=require("./icons.cjs"),u=require("./styles.cjs"),j=i.forwardRef(({icon:t=e.j.jsx(r.DefaultIcon,{}),checkedIcon:o=e.j.jsx(r.CheckedIcon,{}),indeterminateIcon:c=e.j.jsx(r.IndeterminateIcon,{}),...n},s)=>e.j.jsx(u.StyledCheckbox,{ref:s,icon:t,checkedIcon:o,indeterminateIcon:c,...n}));exports.Checkbox=j;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs"),c=require("@mui/material"),n=({...C})=>e.j.jsxs(c.SvgIcon,{viewBox:"0 0 14 14",...C,children:[e.j.jsx("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H11C12.6569 0 14 1.34315 14 3V11C14 12.6569 12.6569 14 11 14H3C1.34315 14 0 12.6569 0 11V3Z"}),e.j.jsx("path",{className:"MuiSvgIcon-border",fillRule:"evenodd",clipRule:"evenodd",d:"M11 2H3C2.44772 2 2 2.44772 2 3V11C2 11.5523 2.44772 12 3 12H11C11.5523 12 12 11.5523 12 11V3C12 2.44772 11.5523 2 11 2ZM3 0C1.34315 0 0 1.34315 0 3V11C0 12.6569 1.34315 14 3 14H11C12.6569 14 14 12.6569 14 11V3C14 1.34315 12.6569 0 11 0H3Z"})]}),o=({...C})=>e.j.jsxs(c.SvgIcon,{viewBox:"0 0 14 14",...C,children:[e.j.jsx("rect",{width:"14",height:"14",rx:"3"}),e.j.jsx("path",{className:"MuiSvgIcon-mark",fillRule:"evenodd",clipRule:"evenodd",d:"M4.71402 6.30066C4.62206 6.20534 4.51205 6.12931 4.39042 6.07701C4.26879 6.0247 4.13797 5.99717 4.0056 5.99602C3.87323 5.99487 3.74195 6.02012 3.61943 6.0703C3.49691 6.12048 3.3856 6.19458 3.292 6.28829C3.19839 6.38199 3.12437 6.49342 3.07424 6.61607C3.02411 6.73872 2.99889 6.87013 3.00004 7.00265C3.00119 7.13516 3.02869 7.26612 3.08094 7.38787C3.13319 7.50963 3.20914 7.61976 3.30435 7.71182L5.29823 9.7078C5.48518 9.8949 5.73871 10 6.00306 10C6.26741 10 6.52094 9.8949 6.7079 9.7078L10.6956 5.71584C10.7909 5.62377 10.8668 5.51365 10.9191 5.39189C10.9713 5.27013 10.9988 5.13918 11 5.00666C11.0011 4.87415 10.9759 4.74274 10.9258 4.62009C10.8756 4.49744 10.8016 4.38601 10.708 4.29231C10.6144 4.1986 10.5031 4.1245 10.3806 4.07432C10.258 4.02414 10.1268 3.99889 9.9944 4.00004C9.86203 4.00119 9.73121 4.02872 9.60958 4.08102C9.48795 4.13333 9.37794 4.20936 9.28598 4.30468L6.00306 7.59106L4.71402 6.30066V6.30066Z"})]}),t=({...C})=>e.j.jsxs(c.SvgIcon,{viewBox:"0 0 14 14",...C,children:[e.j.jsx("rect",{width:"14",height:"14",rx:"3"}),e.j.jsx("path",{className:"MuiSvgIcon-mark",d:"M10 6H4C3.44772 6 3 6.44772 3 7C3 7.55228 3.44772 8 4 8H10C10.5523 8 11 7.55228 11 7C11 6.44772 10.5523 6 10 6Z"})]});exports.CheckedIcon=o;exports.DefaultIcon=n;exports.IndeterminateIcon=t;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@mui/material"),t=e=>r.css`
|
|
2
|
-
&.Mui-checked {
|
|
3
|
-
color: ${e.palette.red[800]};
|
|
4
|
-
|
|
5
|
-
&:hover {
|
|
6
|
-
color: ${e.palette.red[700]};
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
& .MuiSvgIcon-border {
|
|
11
|
-
fill: ${e.palette.red[800]};
|
|
12
|
-
}
|
|
13
|
-
`,l=r.styled(r.Checkbox,{shouldForwardProp:e=>e!=="isError"})`
|
|
14
|
-
padding: ${({theme:e})=>e.spacing(2)};
|
|
15
|
-
|
|
16
|
-
color: ${({theme:e})=>e.palette.background.element};
|
|
17
|
-
|
|
18
|
-
border-radius: unset;
|
|
19
|
-
|
|
20
|
-
&:hover {
|
|
21
|
-
color: ${({theme:e})=>e.palette.grey[100]};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
& .MuiSvgIcon-border {
|
|
25
|
-
fill: ${({theme:e})=>e.palette.grey[300]};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
& > svg {
|
|
29
|
-
width: calc(16 / 14 * 1rem);
|
|
30
|
-
height: calc(16 / 14 * 1rem);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.Mui-disabled {
|
|
34
|
-
color: ${({theme:e})=>e.palette.grey[200]};
|
|
35
|
-
|
|
36
|
-
& .MuiSvgIcon-border {
|
|
37
|
-
fill: currentColor;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.Mui-checked,
|
|
42
|
-
&.MuiCheckbox-indeterminate {
|
|
43
|
-
color: ${({theme:e})=>e.palette.primary.main};
|
|
44
|
-
|
|
45
|
-
&:hover {
|
|
46
|
-
color: ${({theme:e})=>e.palette.primary[700]};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.Mui-disabled {
|
|
50
|
-
color: ${({theme:e})=>e.palette.grey[500]};
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
& .MuiSvgIcon-mark {
|
|
54
|
-
fill: ${({theme:e})=>e.palette.common.white};
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
${({isError:e,theme:o})=>e&&t(o)}
|
|
59
|
-
`;exports.StyledCheckbox=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs"),u=require("react"),j=require("../FormControl/FormControl.cjs"),m=require("../FormHelperText/FormHelperText.cjs");require("../FormHelperText/FormHelperTextContent/styles.cjs");const a=require("../Tooltip/Tooltip.cjs"),l=require("./styles.cjs"),d=({isSuccess:s,helperText:r,hideHelperText:t=!1,label:n,isError:o,...i})=>{const c=u.useMemo(()=>!!(o&&t),[o,t]);return e.j.jsxs(j.FormControl,{children:[e.j.jsx(a.Tooltip,{title:c&&r,placement:"bottom-start",withoutContainer:!1,children:e.j.jsx(l.StyledFormControlledLabel,{control:e.j.jsx(l.StyledCheckbox,{isError:o,...i}),label:n})}),!t&&e.j.jsx(m.FormHelperText,{error:o,success:s,children:r})]})};exports.CheckboxField=d;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@mui/material"),o=require("../Checkbox/Checkbox.cjs"),t=require("../FormControlLabel/FormControlLabel.cjs"),l=e.styled(t.FormControlLabel)`
|
|
2
|
-
align-items: flex-start;
|
|
3
|
-
`,r=e.styled(o.Checkbox)`
|
|
4
|
-
padding-top: 3px;
|
|
5
|
-
`;exports.StyledCheckbox=r;exports.StyledFormControlledLabel=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../_virtual/jsx-runtime.cjs"),o=require("./styles.cjs"),t=e=>r.j.jsx(o.ChevronIcon,{...e});exports.Chevron=t;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@mui/material"),o=require("lucide-react"),n=t.styled(o.ChevronDown,{shouldForwardProp:r=>r!=="isActive"})`
|
|
2
|
-
transform: rotateZ(${({isActive:r})=>r?180:0}deg);
|
|
3
|
-
width: 16px;
|
|
4
|
-
height: 16px;
|
|
5
|
-
transition: ${({theme:r})=>r.transitions.create("transform",{easing:r.transitions.easing.sharp,duration:r.transitions.duration.short})};
|
|
6
|
-
`;exports.ChevronIcon=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../_virtual/jsx-runtime.cjs"),t=require("@mui/material"),c=require("./useLogic/useLogic.cjs"),u=r=>{const{size:e}=c.useLogic({...r}),{size:l,color:o,...s}=r;return i.j.jsx(t.CircularProgress,{...s,size:e,color:"inherit","data-color":o})};exports.CircularProgress=u;
|