@max-ts/components 1.6.5 → 1.8.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/lib/components/Accordion/Accordion.js +1 -0
- package/lib/components/Accordion/Accordion.stories.js +6 -0
- package/lib/components/Accordion/index.js +1 -0
- package/lib/components/Accordion/styles.d.ts +1 -1
- package/lib/components/Accordion/styles.js +17 -0
- package/lib/components/ActionCell/ActionCell.js +1 -0
- package/lib/components/ActionCell/ActionCell.stories.js +1 -0
- package/lib/components/ActionCell/MainAction/MainAction.js +1 -0
- package/lib/components/ActionCell/MainAction/index.js +1 -0
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.js +1 -0
- package/lib/components/ActionCell/SecondaryAction/index.js +1 -0
- package/lib/components/ActionCell/index.js +1 -0
- package/lib/components/ActionCell/styles.js +4 -0
- package/lib/components/ActionCell/types.js +0 -0
- package/lib/components/ActionCell/useLogic/index.js +1 -0
- package/lib/components/ActionCell/useLogic/useLogic.js +1 -0
- package/lib/components/ActionGroup/ActionGroup.js +1 -0
- package/lib/components/ActionGroup/ActionGroup.stories.js +3 -0
- package/lib/components/ActionGroup/MainActions/MainActions.js +1 -0
- package/lib/components/ActionGroup/MainActions/index.js +1 -0
- package/lib/components/ActionGroup/MainActions/styles.js +5 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.js +1 -0
- package/lib/components/ActionGroup/SecondaryActions/index.js +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/index.js +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/styles.js +3 -0
- package/lib/components/ActionGroup/index.js +1 -0
- package/lib/components/ActionGroup/styles.js +4 -0
- package/lib/components/ActionGroup/useLogic/index.js +1 -0
- package/lib/components/ActionGroup/useLogic/useLogic.js +1 -0
- package/lib/components/Alert/Alert.js +1 -0
- package/lib/components/Alert/Alert.stories.js +1 -0
- package/lib/components/Alert/index.js +1 -0
- package/lib/components/Alert/styles.js +31 -0
- package/lib/components/Alert/types.js +0 -0
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/lib/components/AsyncAutocomplete/AsyncAutocomplete.stories.js +3 -0
- package/lib/components/AsyncAutocomplete/constants.js +1 -0
- package/lib/components/AsyncAutocomplete/index.js +1 -0
- package/lib/components/AsyncAutocomplete/useLogic/index.js +1 -0
- package/lib/components/AsyncAutocomplete/useLogic/useLogic.js +1 -0
- package/lib/components/Autocomplete/Autocomplete.js +1 -0
- package/lib/components/Autocomplete/Autocomplete.stories.js +3 -0
- package/lib/components/Autocomplete/constants.js +1 -0
- package/lib/components/Autocomplete/enums.js +1 -0
- package/lib/components/Autocomplete/index.js +1 -0
- package/lib/components/Autocomplete/styles.js +7 -0
- package/lib/components/Autocomplete/useLogic/index.js +1 -0
- package/lib/components/Autocomplete/useLogic/useLogic.js +1 -0
- package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.js +1 -0
- package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/index.js +1 -0
- package/lib/components/Autocomplete/useLogic/utils/index.js +1 -0
- package/lib/components/Avatar/Avatar.js +1 -0
- package/lib/components/Avatar/Avatar.stories.js +1 -0
- package/lib/components/Avatar/index.js +1 -0
- package/lib/components/Avatar/styles.js +8 -0
- package/lib/components/Badge/Badge.js +1 -0
- package/lib/components/Badge/Badge.stories.js +1 -0
- package/lib/components/Badge/index.js +1 -0
- package/lib/components/Badge/styles.js +21 -0
- package/lib/components/Badge/types.js +0 -0
- package/lib/components/BottomDrawer/BottomDrawer.js +1 -0
- package/lib/components/BottomDrawer/BottomDrawer.stories.js +7 -0
- package/lib/components/BottomDrawer/constants.js +1 -0
- package/lib/components/BottomDrawer/index.js +1 -0
- package/lib/components/BottomDrawer/styles.d.ts +1 -1
- package/lib/components/BottomDrawer/styles.js +26 -0
- package/lib/components/Breadcrumbs/index.js +1 -0
- package/lib/components/Button/Button.js +1 -0
- package/lib/components/Button/Button.stories.js +1 -0
- package/lib/components/Button/constants.js +1 -0
- package/lib/components/Button/enums.js +1 -0
- package/lib/components/Button/index.js +1 -0
- package/lib/components/Button/styles.js +10 -0
- package/lib/components/Button/types.js +0 -0
- package/lib/components/Button/useLogic/index.js +1 -0
- package/lib/components/Button/useLogic/useLogic.js +1 -0
- package/lib/components/ButtonBase/ButtonBase.js +1 -0
- package/lib/components/ButtonBase/index.js +1 -0
- package/lib/components/ButtonGroup/ButtonGroup.stories.js +1 -0
- package/lib/components/ButtonGroup/index.js +1 -0
- package/lib/components/Calendar/Calendar.js +1 -0
- package/lib/components/Calendar/Calendar.stories.js +1 -0
- package/lib/components/Calendar/DayButton/DayButton.js +1 -0
- package/lib/components/Calendar/DayButton/index.js +1 -0
- package/lib/components/Calendar/DayButton/styles.js +16 -0
- package/lib/components/Calendar/Dropdown/Dropdown.js +1 -0
- package/lib/components/Calendar/Dropdown/index.js +1 -0
- package/lib/components/Calendar/index.js +1 -0
- package/lib/components/Calendar/styles.js +37 -0
- package/lib/components/Card/index.js +1 -0
- package/lib/components/CardActions/index.js +1 -0
- package/lib/components/CardContent/index.js +1 -0
- package/lib/components/CardHeader/index.js +1 -0
- package/lib/components/Carousel/Carousel.js +1 -0
- package/lib/components/Carousel/Carousel.stories.js +1 -0
- package/lib/components/Carousel/CarouselContext.js +1 -0
- package/lib/components/Carousel/Content/Content.js +1 -0
- package/lib/components/Carousel/Content/index.js +1 -0
- package/lib/components/Carousel/Content/styles.js +8 -0
- package/lib/components/Carousel/Dots/Dots.js +1 -0
- package/lib/components/Carousel/Dots/index.js +1 -0
- package/lib/components/Carousel/Dots/styles.js +31 -0
- package/lib/components/Carousel/Dots/useLogic/index.js +1 -0
- package/lib/components/Carousel/Dots/useLogic/useLogic.js +1 -0
- package/lib/components/Carousel/Item/Item.js +1 -0
- package/lib/components/Carousel/Item/index.js +1 -0
- package/lib/components/Carousel/Item/styles.js +1 -0
- package/lib/components/Carousel/Next/Next.js +1 -0
- package/lib/components/Carousel/Next/index.js +1 -0
- package/lib/components/Carousel/Next/styles.js +10 -0
- package/lib/components/Carousel/Previous/Previous.js +1 -0
- package/lib/components/Carousel/Previous/index.js +1 -0
- package/lib/components/Carousel/Previous/styles.js +10 -0
- package/lib/components/Carousel/index.js +1 -0
- package/lib/components/Carousel/styles.js +3 -0
- package/lib/components/Carousel/types.js +0 -0
- package/lib/components/Carousel/useLogic/index.js +1 -0
- package/lib/components/Carousel/useLogic/useLogic.js +1 -0
- package/lib/components/Checkbox/Checkbox.js +1 -0
- package/lib/components/Checkbox/Checkbox.stories.js +1 -0
- package/lib/components/Checkbox/index.js +1 -0
- package/lib/components/Checkbox/styles.js +3 -0
- package/lib/components/CheckboxField/CheckboxField.js +1 -0
- package/lib/components/CheckboxField/CheckboxField.stories.js +1 -0
- package/lib/components/CheckboxField/index.js +1 -0
- package/lib/components/CheckboxField/styles.js +6 -0
- package/lib/components/Chevron/Chevron.js +1 -0
- package/lib/components/Chevron/Chevron.stories.js +1 -0
- package/lib/components/Chevron/index.js +1 -0
- package/lib/components/Chevron/styles.js +6 -0
- package/lib/components/CircularProgress/CircularProgress.js +1 -0
- package/lib/components/CircularProgress/CircularProgress.stories.js +1 -0
- package/lib/components/CircularProgress/constants.js +1 -0
- package/lib/components/CircularProgress/index.js +1 -0
- package/lib/components/CircularProgress/useLogic/index.js +1 -0
- package/lib/components/CircularProgress/useLogic/useLogic.js +1 -0
- package/lib/components/Collapse/Collapse.js +1 -0
- package/lib/components/Collapse/Collapse.stories.js +1 -0
- package/lib/components/Collapse/index.js +1 -0
- package/lib/components/ConfigProvider/ConfigProvider.js +1 -0
- package/lib/components/ConfigProvider/index.js +1 -0
- package/lib/components/ConfirmAction/ConfirmAction.js +1 -0
- package/lib/components/ConfirmAction/ConfirmAction.stories.js +1 -0
- package/lib/components/ConfirmAction/constants.js +1 -0
- package/lib/components/ConfirmAction/index.js +1 -0
- package/lib/components/ConfirmAction/styles.d.ts +1 -1
- package/lib/components/ConfirmAction/styles.js +10 -0
- package/lib/components/ConfirmAction/useLogic/index.js +1 -0
- package/lib/components/ConfirmAction/useLogic/useLogic.js +1 -0
- package/lib/components/ConfirmDialog/ConfirmDialog.js +1 -0
- package/lib/components/ConfirmDialog/ConfirmDialog.stories.js +1 -0
- package/lib/components/ConfirmDialog/index.js +1 -0
- package/lib/components/ConfirmDialog/styles.js +5 -0
- package/lib/components/ConfirmDialog/useLogic/index.js +1 -0
- package/lib/components/ConfirmDialog/useLogic/useLogic.js +1 -0
- package/lib/components/Container/Container.js +1 -0
- package/lib/components/Container/index.js +1 -0
- package/lib/components/Container/styles.js +20 -0
- package/lib/components/ContentState/ContentState.js +1 -0
- package/lib/components/ContentState/ContentState.stories.js +7 -0
- package/lib/components/ContentState/index.js +1 -0
- package/lib/components/ContentState/styles.js +9 -0
- package/lib/components/ContentState/types.js +0 -0
- package/lib/components/CopyTypography/CopyTypography.js +1 -0
- package/lib/components/CopyTypography/CopyTypography.stories.js +7 -0
- package/lib/components/CopyTypography/enums.js +1 -0
- package/lib/components/CopyTypography/index.js +1 -0
- package/lib/components/CopyTypography/styles.d.ts +1 -1
- package/lib/components/CopyTypography/styles.js +18 -0
- package/lib/components/CopyTypography/useLogic/index.js +1 -0
- package/lib/components/CopyTypography/useLogic/useLogic.js +1 -0
- package/lib/components/DashboardLayout/DashboardContext.js +1 -0
- package/lib/components/DashboardLayout/DashboardLayout.js +1 -0
- package/lib/components/DashboardLayout/DashboardLayout.stories.js +4 -0
- package/lib/components/DashboardLayout/Main/Main.js +1 -0
- package/lib/components/DashboardLayout/Main/index.js +1 -0
- package/lib/components/DashboardLayout/Main/styles.js +7 -0
- package/lib/components/DashboardLayout/Sidebar/Sidebar.js +1 -0
- package/lib/components/DashboardLayout/Sidebar/constants.js +1 -0
- package/lib/components/DashboardLayout/Sidebar/index.js +1 -0
- package/lib/components/DashboardLayout/Sidebar/styles.js +27 -0
- package/lib/components/DashboardLayout/constants.js +1 -0
- package/lib/components/DashboardLayout/index.js +1 -0
- package/lib/components/DashboardLayout/styles.js +12 -0
- package/lib/components/DataGrid/Body/Body.js +1 -0
- package/lib/components/DataGrid/Body/index.js +1 -0
- package/lib/components/DataGrid/Body/styles.js +9 -0
- package/lib/components/DataGrid/Body/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Body/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/Cell/Cell.js +1 -0
- package/lib/components/DataGrid/Cell/index.js +1 -0
- package/lib/components/DataGrid/Cell/styles.js +11 -0
- package/lib/components/DataGrid/Cell/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Cell/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/DataGrid.js +1 -0
- package/lib/components/DataGrid/DataGrid.stories.js +1 -0
- package/lib/components/DataGrid/Footer/Footer.js +1 -0
- package/lib/components/DataGrid/Footer/index.js +1 -0
- package/lib/components/DataGrid/Footer/styles.js +8 -0
- package/lib/components/DataGrid/Head/Head.js +1 -0
- package/lib/components/DataGrid/Head/index.js +1 -0
- package/lib/components/DataGrid/Head/styles.js +12 -0
- package/lib/components/DataGrid/Head/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Head/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/HeadCell/HeadCell.js +1 -0
- package/lib/components/DataGrid/HeadCell/index.js +1 -0
- package/lib/components/DataGrid/HeadCell/styles.d.ts +1 -1
- package/lib/components/DataGrid/HeadCell/styles.js +24 -0
- package/lib/components/DataGrid/HeadCell/useLogic/index.js +1 -0
- package/lib/components/DataGrid/HeadCell/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/Loader/Loader.js +1 -0
- package/lib/components/DataGrid/Loader/index.js +1 -0
- package/lib/components/DataGrid/Loader/styles.js +14 -0
- package/lib/components/DataGrid/NoData/NoData.js +1 -0
- package/lib/components/DataGrid/NoData/index.js +1 -0
- package/lib/components/DataGrid/Row/Row.js +1 -0
- package/lib/components/DataGrid/Row/constants.js +1 -0
- package/lib/components/DataGrid/Row/index.js +1 -0
- package/lib/components/DataGrid/Row/styles.js +28 -0
- package/lib/components/DataGrid/Row/useLogic/index.js +1 -0
- package/lib/components/DataGrid/Row/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.js +1 -0
- package/lib/components/DataGrid/Row/utils/checkIsDisabled/index.js +1 -0
- package/lib/components/DataGrid/Row/utils/index.js +1 -0
- package/lib/components/DataGrid/constants.js +1 -0
- package/lib/components/DataGrid/enums.js +1 -0
- package/lib/components/DataGrid/faker.js +1 -0
- package/lib/components/DataGrid/index.js +1 -0
- package/lib/components/DataGrid/styles.js +24 -0
- package/lib/components/DataGrid/types.js +0 -0
- package/lib/components/DataGrid/useLogic/index.js +1 -0
- package/lib/components/DataGrid/useLogic/useLogic.js +1 -0
- package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.js +1 -0
- package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/index.js +1 -0
- package/lib/components/DataGrid/useLogic/utils/index.js +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.js +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/constants.js +1 -0
- package/lib/components/DataGrid/utils/alignToJustifyContent/index.js +1 -0
- package/lib/components/DataGrid/utils/index.js +1 -0
- package/lib/components/DataGridActionCell/DataGridActionCell.js +1 -0
- package/lib/components/DataGridActionCell/DataGridActionCell.stories.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainAction.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/index.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/index.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.js +1 -0
- package/lib/components/DataGridActionCell/MainAction/index.js +1 -0
- package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.js +1 -0
- package/lib/components/DataGridActionCell/SecondaryAction/index.js +1 -0
- package/lib/components/DataGridActionCell/index.js +1 -0
- package/lib/components/DataGridActionCell/styles.js +4 -0
- package/lib/components/DataGridActionCell/types.js +0 -0
- package/lib/components/DataGridActionCell/useLogic/index.js +1 -0
- package/lib/components/DataGridActionCell/useLogic/useLogic.js +1 -0
- package/lib/components/DataGridPagination/DataGridPagination.js +1 -0
- package/lib/components/DataGridPagination/DataGridPagination.stories.js +3 -0
- package/lib/components/DataGridPagination/constants.js +1 -0
- package/lib/components/DataGridPagination/faker.js +1 -0
- package/lib/components/DataGridPagination/index.js +1 -0
- package/lib/components/DataGridPagination/styles.d.ts +1 -1
- package/lib/components/DataGridPagination/styles.js +16 -0
- package/lib/components/DataGridPagination/useLogic/index.js +1 -0
- package/lib/components/DataGridPagination/useLogic/useLogic.js +1 -0
- package/lib/components/DatePicker/DatePicker.js +1 -0
- package/lib/components/DatePicker/DatePicker.stories.js +1 -0
- package/lib/components/DatePicker/index.js +1 -0
- package/lib/components/DatePicker/styles.js +3 -0
- package/lib/components/Description/Description.js +1 -0
- package/lib/components/Description/Description.stories.js +15 -0
- package/lib/components/Description/DescriptionContext/DescriptionContext.js +1 -0
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.js +1 -0
- package/lib/components/Description/DescriptionContext/DescriptionContextProvider/index.js +1 -0
- package/lib/components/Description/DescriptionContext/index.js +1 -0
- package/lib/components/Description/Name/Name.js +1 -0
- package/lib/components/Description/Name/index.js +1 -0
- package/lib/components/Description/Name/styles.js +18 -0
- package/lib/components/Description/Value/Value.js +1 -0
- package/lib/components/Description/Value/index.js +1 -0
- package/lib/components/Description/Value/styles.d.ts +2 -2
- package/lib/components/Description/Value/styles.js +35 -0
- package/lib/components/Description/Value/useLogic/index.js +1 -0
- package/lib/components/Description/Value/useLogic/useLogic.js +1 -0
- package/lib/components/Description/constants.js +1 -0
- package/lib/components/Description/index.js +1 -0
- package/lib/components/Description/styles.js +17 -0
- package/lib/components/Description/useLogic/index.js +1 -0
- package/lib/components/Description/useLogic/useLogic.js +1 -0
- package/lib/components/DescriptionList/DescriptionList.js +1 -0
- package/lib/components/DescriptionList/DescriptionList.stories.js +5 -0
- package/lib/components/DescriptionList/index.js +1 -0
- package/lib/components/DescriptionList/styles.js +30 -0
- package/lib/components/DescriptionList/types.js +0 -0
- package/lib/components/DescriptionList/utils/getTooltipProps/getTooltipProps.js +1 -0
- package/lib/components/DescriptionList/utils/getTooltipProps/index.js +1 -0
- package/lib/components/DescriptionList/utils/index.js +1 -0
- package/lib/components/DescriptionTooltip/DescriptionTooltip.js +1 -0
- package/lib/components/DescriptionTooltip/index.js +1 -0
- package/lib/components/DescriptionTooltip/styles.js +12 -0
- package/lib/components/Dialog/Dialog.js +1 -0
- package/lib/components/Dialog/Dialog.stories.js +1 -0
- package/lib/components/Dialog/constants.js +1 -0
- package/lib/components/Dialog/index.js +1 -0
- package/lib/components/Dialog/styles.js +9 -0
- package/lib/components/DialogActions/DialogActions.js +1 -0
- package/lib/components/DialogActions/DialogActions.stories.js +1 -0
- package/lib/components/DialogActions/index.js +1 -0
- package/lib/components/DialogActions/styles.js +3 -0
- package/lib/components/DialogContent/DialogContent.js +1 -0
- package/lib/components/DialogContent/DialogContent.stories.js +1 -0
- package/lib/components/DialogContent/index.js +1 -0
- package/lib/components/DialogContent/styles.js +7 -0
- package/lib/components/DialogContentText/DialogContentText.js +1 -0
- package/lib/components/DialogContentText/DialogContentText.stories.js +1 -0
- package/lib/components/DialogContentText/index.js +1 -0
- package/lib/components/DialogContentText/styles.js +3 -0
- package/lib/components/DialogHeader/DialogHeader.js +1 -0
- package/lib/components/DialogHeader/DialogHeader.stories.js +1 -0
- package/lib/components/DialogHeader/index.js +1 -0
- package/lib/components/DialogHeader/styles.js +20 -0
- package/lib/components/DialogTitle/DialogTitle.js +1 -0
- package/lib/components/DialogTitle/index.js +1 -0
- package/lib/components/Divider/Divider.js +1 -0
- package/lib/components/Divider/Divider.stories.js +5 -0
- package/lib/components/Divider/index.js +1 -0
- package/lib/components/DropdownButton/DropdownButton.js +1 -0
- package/lib/components/DropdownButton/DropdownButton.stories.js +1 -0
- package/lib/components/DropdownButton/index.js +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.js +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.stories.js +1 -0
- package/lib/components/ErrorBoundary/ErrorBoundary.stubs.js +1 -0
- package/lib/components/ErrorBoundary/constants.js +1 -0
- package/lib/components/ErrorBoundary/enums.js +1 -0
- package/lib/components/ErrorBoundary/index.js +1 -0
- package/lib/components/Filename/Filename.js +1 -0
- package/lib/components/Filename/Filename.stories.js +5 -0
- package/lib/components/Filename/index.js +1 -0
- package/lib/components/Filename/styles.d.ts +1 -1
- package/lib/components/Filename/styles.js +11 -0
- package/lib/components/Filename/useLogic/index.js +1 -0
- package/lib/components/Filename/useLogic/useLogic.js +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/constants.js +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/findExtension.js +1 -0
- package/lib/components/Filename/useLogic/utils/findExtension/index.js +1 -0
- package/lib/components/Filename/useLogic/utils/index.js +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/constants.js +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/index.js +1 -0
- package/lib/components/Filename/useLogic/utils/truncateString/truncateString.js +1 -0
- package/lib/components/FormControl/FormControl.js +1 -0
- package/lib/components/FormControl/index.js +1 -0
- package/lib/components/FormControlLabel/FormControlLabel.js +1 -0
- package/lib/components/FormControlLabel/index.js +1 -0
- package/lib/components/FormControlLabel/styles.js +8 -0
- package/lib/components/FormControlLabel/types.js +0 -0
- package/lib/components/FormHelperText/FormHelperText.js +1 -0
- package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.js +1 -0
- package/lib/components/FormHelperText/FormHelperTextContent/index.js +1 -0
- package/lib/components/FormHelperText/FormHelperTextContent/styles.js +15 -0
- package/lib/components/FormHelperText/index.js +1 -0
- package/lib/components/FormLabel/FormLabel.js +1 -0
- package/lib/components/FormLabel/index.js +1 -0
- package/lib/components/FormLabel/styles.js +4 -0
- package/lib/components/GuidTypography/GuidTypography.js +1 -0
- package/lib/components/GuidTypography/GuidTypography.stories.js +3 -0
- package/lib/components/GuidTypography/index.js +1 -0
- package/lib/components/IconButton/IconButton.js +1 -0
- package/lib/components/IconButton/IconButton.stories.js +1 -0
- package/lib/components/IconButton/index.js +1 -0
- package/lib/components/IconButton/styles.js +11 -0
- package/lib/components/IconDropdownButton/IconDropdownButton.js +1 -0
- package/lib/components/IconDropdownButton/IconDropdownButton.stories.js +1 -0
- package/lib/components/IconDropdownButton/index.js +1 -0
- package/lib/components/InputOTP/InputOTP.js +1 -0
- package/lib/components/InputOTP/InputOTP.stories.js +1 -0
- package/lib/components/InputOTP/Separator/Separator.js +1 -0
- package/lib/components/InputOTP/Separator/index.js +1 -0
- package/lib/components/InputOTP/Separator/styles.js +8 -0
- package/lib/components/InputOTP/Slot/Slot.js +1 -0
- package/lib/components/InputOTP/Slot/index.js +1 -0
- package/lib/components/InputOTP/Slot/styles.js +44 -0
- package/lib/components/InputOTP/index.js +1 -0
- package/lib/components/InputOTP/styles.js +22 -0
- package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.js +1 -0
- package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.js +1 -0
- package/lib/components/InternalErrorPlaceholder/index.js +1 -0
- package/lib/components/Link/Link.js +1 -0
- package/lib/components/Link/Link.stories.js +1 -0
- package/lib/components/Link/index.js +1 -0
- package/lib/components/Link/styles.js +35 -0
- package/lib/components/List/List.js +1 -0
- package/lib/components/List/List.stories.js +1 -0
- package/lib/components/List/index.js +1 -0
- package/lib/components/ListItem/ListItem.js +1 -0
- package/lib/components/ListItem/ListItem.stories.js +1 -0
- package/lib/components/ListItem/constants.js +1 -0
- package/lib/components/ListItem/index.js +1 -0
- package/lib/components/ListItem/styles.js +11 -0
- package/lib/components/ListItemButton/ListItemButton.js +1 -0
- package/lib/components/ListItemButton/ListItemButton.stories.js +1 -0
- package/lib/components/ListItemButton/constants.js +1 -0
- package/lib/components/ListItemButton/index.js +1 -0
- package/lib/components/ListItemIcon/ListItemIcon.js +1 -0
- package/lib/components/ListItemIcon/ListItemIcon.stories.js +1 -0
- package/lib/components/ListItemIcon/index.js +1 -0
- package/lib/components/ListItemIcon/styles.js +3 -0
- package/lib/components/ListItemText/ListItemText.js +1 -0
- package/lib/components/ListItemText/ListItemText.stories.js +1 -0
- package/lib/components/ListItemText/index.js +1 -0
- package/lib/components/ListSubheader/ListSubheader.js +1 -0
- package/lib/components/ListSubheader/ListSubheader.stories.js +1 -0
- package/lib/components/ListSubheader/index.js +1 -0
- package/lib/components/MaskField/MaskField.js +1 -0
- package/lib/components/MaskField/index.js +1 -0
- package/lib/components/Menu/Menu.js +1 -0
- package/lib/components/Menu/Menu.stories.js +1 -0
- package/lib/components/Menu/index.js +1 -0
- package/lib/components/MenuItem/MenuItem.js +1 -0
- package/lib/components/MenuItem/MenuItem.stories.js +1 -0
- package/lib/components/MenuItem/index.js +1 -0
- package/lib/components/MenuList/MenuList.js +1 -0
- package/lib/components/MenuList/MenuList.stories.js +1 -0
- package/lib/components/MenuList/index.js +1 -0
- package/lib/components/MenuList/styles.js +8 -0
- package/lib/components/MenuList/types.js +0 -0
- package/lib/components/Notification/Notification.js +1 -0
- package/lib/components/Notification/NotificationContainer/NotificationContainer.js +1 -0
- package/lib/components/Notification/NotificationContainer/index.js +1 -0
- package/lib/components/Notification/NotificationContainer/styles.js +9 -0
- package/lib/components/Notification/constants.js +1 -0
- package/lib/components/Notification/index.js +1 -0
- package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.js +1 -0
- package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.js +1 -0
- package/lib/components/OutdatedReleasePlaceholder/index.js +1 -0
- package/lib/components/OverflowTypography/OverflowTypography.js +1 -0
- package/lib/components/OverflowTypography/OverflowTypography.stories.js +3 -0
- package/lib/components/OverflowTypography/hooks/index.js +1 -0
- package/lib/components/OverflowTypography/hooks/useOverflowed/index.js +1 -0
- package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -0
- package/lib/components/OverflowTypography/index.js +1 -0
- package/lib/components/OverflowTypography/styles.d.ts +2 -2
- package/lib/components/OverflowTypography/styles.js +20 -0
- package/lib/components/OverflowTypography/useLogic/index.js +1 -0
- package/lib/components/OverflowTypography/useLogic/useLogic.js +1 -0
- package/lib/components/OverflowTypography/utils/index.js +1 -0
- package/lib/components/OverflowTypography/utils/truncateString/index.js +1 -0
- package/lib/components/OverflowTypography/utils/truncateString/truncateString.js +1 -0
- package/lib/components/PageLayout/Aside/Aside.js +1 -0
- package/lib/components/PageLayout/Aside/index.js +1 -0
- package/lib/components/PageLayout/Aside/styles.js +10 -0
- package/lib/components/PageLayout/Content/Content.js +1 -0
- package/lib/components/PageLayout/Content/index.js +1 -0
- package/lib/components/PageLayout/Content/styles.js +8 -0
- package/lib/components/PageLayout/Footer/Footer.js +1 -0
- package/lib/components/PageLayout/Footer/index.js +1 -0
- package/lib/components/PageLayout/Footer/styles.js +15 -0
- package/lib/components/PageLayout/Header/Header.js +1 -0
- package/lib/components/PageLayout/Header/index.js +1 -0
- package/lib/components/PageLayout/Header/styles.d.ts +2 -2
- package/lib/components/PageLayout/Header/styles.js +44 -0
- package/lib/components/PageLayout/PageLayout.js +1 -0
- package/lib/components/PageLayout/PageLayout.stories.js +4 -0
- package/lib/components/PageLayout/constants.js +1 -0
- package/lib/components/PageLayout/index.js +1 -0
- package/lib/components/PageLayout/styles.js +32 -0
- package/lib/components/Pagination/Pagination.js +1 -0
- package/lib/components/Pagination/Pagination.stories.js +1 -0
- package/lib/components/Pagination/index.js +1 -0
- package/lib/components/Pagination/types.js +0 -0
- package/lib/components/Paper/Paper.js +1 -0
- package/lib/components/Paper/index.js +1 -0
- package/lib/components/PeriodPicker/PeriodPicker.js +1 -0
- package/lib/components/PeriodPicker/PeriodPicker.stories.js +1 -0
- package/lib/components/PeriodPicker/YearsDropdown/YearsDropdown.js +1 -0
- package/lib/components/PeriodPicker/YearsDropdown/index.js +1 -0
- package/lib/components/PeriodPicker/constants.js +1 -0
- package/lib/components/PeriodPicker/index.js +1 -0
- package/lib/components/PeriodPicker/styles.js +16 -0
- package/lib/components/PeriodPicker/utils.js +1 -0
- package/lib/components/Placeholder/Image/Image.js +1 -0
- package/lib/components/Placeholder/Image/index.js +1 -0
- package/lib/components/Placeholder/Image/styles.js +17 -0
- package/lib/components/Placeholder/Placeholder.js +1 -0
- package/lib/components/Placeholder/Placeholder.stories.js +5 -0
- package/lib/components/Placeholder/constants.js +1 -0
- package/lib/components/Placeholder/index.js +1 -0
- package/lib/components/Placeholder/styles.d.ts +2 -2
- package/lib/components/Placeholder/styles.js +59 -0
- package/lib/components/Placeholder/types.js +0 -0
- package/lib/components/Popover/Popover.js +1 -0
- package/lib/components/Popover/Popover.stories.js +10 -0
- package/lib/components/Popover/index.js +1 -0
- package/lib/components/Profile/MenuList/MenuList.js +1 -0
- package/lib/components/Profile/MenuList/index.js +1 -0
- package/lib/components/Profile/MenuList/styles.js +9 -0
- package/lib/components/Profile/Profile.js +1 -0
- package/lib/components/Profile/Profile.stories.js +1 -0
- package/lib/components/Profile/index.js +1 -0
- package/lib/components/Profile/styles.d.ts +1 -1
- package/lib/components/Profile/styles.js +21 -0
- package/lib/components/ProgressBar/ProgressBar.js +1 -0
- package/lib/components/ProgressBar/ProgressBar.stories.js +1 -0
- package/lib/components/ProgressBar/index.js +1 -0
- package/lib/components/Radio/Icon/Icon.js +1 -0
- package/lib/components/Radio/Icon/index.js +1 -0
- package/lib/components/Radio/Radio.js +1 -0
- package/lib/components/Radio/Radio.stories.js +1 -0
- package/lib/components/Radio/constants.js +1 -0
- package/lib/components/Radio/index.js +1 -0
- package/lib/components/Radio/styles.js +57 -0
- package/lib/components/RadioField/RadioField.js +1 -0
- package/lib/components/RadioField/RadioField.stories.js +5 -0
- package/lib/components/RadioField/index.js +1 -0
- package/lib/components/RadioField/styles.js +4 -0
- package/lib/components/RadioGroup/RadioGroup.js +1 -0
- package/lib/components/RadioGroup/RadioGroup.stories.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.js +1 -0
- package/lib/components/RadioGroup/RadioGroupContext/index.js +1 -0
- package/lib/components/RadioGroup/index.js +1 -0
- package/lib/components/RadioGroupField/RadioGroupField.js +1 -0
- package/lib/components/RadioGroupField/index.js +1 -0
- package/lib/components/RangeInput/RangeInput.js +1 -0
- package/lib/components/RangeInput/RangeInput.stories.js +1 -0
- package/lib/components/RangeInput/index.js +1 -0
- package/lib/components/RangeInput/styles.d.ts +1 -1
- package/lib/components/RangeInput/styles.js +49 -0
- package/lib/components/SearchField/SearchField.js +1 -0
- package/lib/components/SearchField/index.js +1 -0
- package/lib/components/SearchField/styles.js +21 -0
- package/lib/components/Select/Select.js +1 -0
- package/lib/components/Select/Select.stories.js +1 -0
- package/lib/components/Select/constants.js +1 -0
- package/lib/components/Select/index.js +1 -0
- package/lib/components/Select/styles.js +44 -0
- package/lib/components/Select/useLogic/index.js +1 -0
- package/lib/components/Select/useLogic/useLogic.js +1 -0
- package/lib/components/SidebarNav/MenuItem/MenuItem.js +1 -0
- package/lib/components/SidebarNav/MenuItem/index.js +1 -0
- package/lib/components/SidebarNav/MenuItem/styles.js +52 -0
- package/lib/components/SidebarNav/SidebarNav.js +1 -0
- package/lib/components/SidebarNav/SidebarNav.stories.js +1 -0
- package/lib/components/SidebarNav/index.js +1 -0
- package/lib/components/SidebarNav/styles.js +10 -0
- package/lib/components/SidebarNav/types.js +0 -0
- package/lib/components/SidebarProduct/SidebarProduct.js +1 -0
- package/lib/components/SidebarProduct/index.js +1 -0
- package/lib/components/SidebarProduct/styles.d.ts +1 -1
- package/lib/components/SidebarProduct/styles.js +24 -0
- package/lib/components/Skeleton/Skeleton.js +1 -0
- package/lib/components/Skeleton/Skeleton.stories.js +3 -0
- package/lib/components/Skeleton/index.js +1 -0
- package/lib/components/Skeleton/styles.js +11 -0
- package/lib/components/Slider/Slider.js +1 -0
- package/lib/components/Slider/Slider.stories.js +1 -0
- package/lib/components/Slider/index.js +1 -0
- package/lib/components/Slider/styles.js +26 -0
- package/lib/components/Switch/Switch.js +1 -0
- package/lib/components/Switch/Switch.stories.js +1 -0
- package/lib/components/Switch/index.js +1 -0
- package/lib/components/Switch/styles.js +12 -0
- package/lib/components/Tab/Tab.js +1 -0
- package/lib/components/Tab/Tab.stories.js +1 -0
- package/lib/components/Tab/index.js +1 -0
- package/lib/components/Tab/styles.js +20 -0
- package/lib/components/Tabs/Tabs.js +1 -0
- package/lib/components/Tabs/Tabs.stories.js +1 -0
- package/lib/components/Tabs/index.js +1 -0
- package/lib/components/Tabs/styles.js +16 -0
- package/lib/components/Tag/Tag.js +1 -0
- package/lib/components/Tag/Tag.stories.js +11 -0
- package/lib/components/Tag/enums.js +1 -0
- package/lib/components/Tag/index.js +1 -0
- package/lib/components/Tag/styles.js +79 -0
- package/lib/components/Tag/types.js +0 -0
- package/lib/components/TagBadge/TagBadge.js +1 -0
- package/lib/components/TagBadge/TagBadge.stories.js +1 -0
- package/lib/components/TagBadge/index.js +1 -0
- package/lib/components/TagBadge/styles.js +11 -0
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.js +1 -0
- package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/index.js +1 -0
- package/lib/components/TagBadge/utils/index.js +1 -0
- package/lib/components/TagsList/Tag/Tag.js +1 -0
- package/lib/components/TagsList/Tag/index.js +1 -0
- package/lib/components/TagsList/Tag/styles.js +10 -0
- package/lib/components/TagsList/Tag/useLogic/index.js +1 -0
- package/lib/components/TagsList/Tag/useLogic/useLogic.js +1 -0
- package/lib/components/TagsList/TagsList.js +1 -0
- package/lib/components/TagsList/index.js +1 -0
- package/lib/components/TagsList/styles.js +4 -0
- package/lib/components/TagsList/types.js +0 -0
- package/lib/components/TagsList/useLogic/index.js +1 -0
- package/lib/components/TagsList/useLogic/useLogic.js +1 -0
- package/lib/components/TagsList/utils/getElementByText/getElementByText.js +1 -0
- package/lib/components/TagsList/utils/getElementByText/index.js +1 -0
- package/lib/components/TagsList/utils/getKey/getKey.js +1 -0
- package/lib/components/TagsList/utils/getKey/index.js +1 -0
- package/lib/components/TagsList/utils/index.js +1 -0
- package/lib/components/TextArea/TextArea.js +1 -0
- package/lib/components/TextArea/TextArea.stories.js +1 -0
- package/lib/components/TextArea/index.js +1 -0
- package/lib/components/TextField/TextField.js +1 -0
- package/lib/components/TextField/TextField.stories.js +1 -0
- package/lib/components/TextField/index.js +1 -0
- package/lib/components/ThemeProvider/ThemeProvider.js +1 -0
- package/lib/components/ThemeProvider/index.js +1 -0
- package/lib/components/Tooltip/Tooltip.js +1 -0
- package/lib/components/Tooltip/Tooltip.stories.js +10 -0
- package/lib/components/Tooltip/constants.js +1 -0
- package/lib/components/Tooltip/index.js +1 -0
- package/lib/components/Tooltip/styles.js +37 -0
- package/lib/components/Tooltip/types.js +0 -0
- package/lib/components/Typography/Typography.js +1 -0
- package/lib/components/Typography/Typography.stories.js +3 -0
- package/lib/components/Typography/enums.js +1 -0
- package/lib/components/Typography/hooks/index.js +1 -0
- package/lib/components/Typography/hooks/useTypographyColor/index.js +1 -0
- package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -0
- package/lib/components/Typography/index.js +1 -0
- package/lib/components/Typography/styles.js +3 -0
- package/lib/components/Typography/types.js +0 -0
- package/lib/components/index.js +1 -0
- package/lib/components/types.js +0 -0
- package/lib/form/EditableText/EditableText.d.ts +52 -0
- package/lib/form/EditableText/EditableText.d.ts.map +1 -0
- package/lib/form/EditableText/EditableText.js +1 -0
- package/lib/form/EditableText/EditingForm/EditingForm.d.ts +38 -0
- package/lib/form/EditableText/EditingForm/EditingForm.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/EditingForm.js +1 -0
- package/lib/form/EditableText/EditingForm/index.d.ts +2 -0
- package/lib/form/EditableText/EditingForm/index.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/index.js +1 -0
- package/lib/form/EditableText/EditingForm/styles.d.ts +17 -0
- package/lib/form/EditableText/EditingForm/styles.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/styles.js +10 -0
- package/lib/form/EditableText/EditingForm/useLogic/index.d.ts +2 -0
- package/lib/form/EditableText/EditingForm/useLogic/index.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/useLogic/index.js +1 -0
- package/lib/form/EditableText/EditingForm/useLogic/useLogic.d.ts +11 -0
- package/lib/form/EditableText/EditingForm/useLogic/useLogic.d.ts.map +1 -0
- package/lib/form/EditableText/EditingForm/useLogic/useLogic.js +1 -0
- package/lib/form/EditableText/constants.d.ts +2 -0
- package/lib/form/EditableText/constants.d.ts.map +1 -0
- package/lib/form/EditableText/constants.js +1 -0
- package/lib/form/EditableText/index.d.ts +2 -0
- package/lib/form/EditableText/index.d.ts.map +1 -0
- package/lib/form/EditableText/index.js +1 -0
- package/lib/form/EditableText/styles.d.ts +27 -0
- package/lib/form/EditableText/styles.d.ts.map +1 -0
- package/lib/form/EditableText/styles.js +43 -0
- package/lib/form/EditableText/types.d.ts +11 -0
- package/lib/form/EditableText/types.d.ts.map +1 -0
- package/lib/form/EditableText/types.js +0 -0
- package/lib/form/EditableText/useLogic/index.d.ts +2 -0
- package/lib/form/EditableText/useLogic/index.d.ts.map +1 -0
- package/lib/form/EditableText/useLogic/index.js +1 -0
- package/lib/form/EditableText/useLogic/useLogic.d.ts +19 -0
- package/lib/form/EditableText/useLogic/useLogic.d.ts.map +1 -0
- package/lib/form/EditableText/useLogic/useLogic.js +1 -0
- package/lib/form/Form/Form.js +1 -0
- package/lib/form/Form/index.js +1 -0
- package/lib/form/FormAutocomplete/FormAutocomplete.js +1 -0
- package/lib/form/FormAutocomplete/index.js +1 -0
- package/lib/form/FormCheckbox/FormCheckbox.js +1 -0
- package/lib/form/FormCheckbox/index.js +1 -0
- package/lib/form/FormCheckbox/types.js +0 -0
- package/lib/form/FormMaskField/FormMaskField.js +1 -0
- package/lib/form/FormMaskField/index.js +1 -0
- package/lib/form/FormMaskField/types.js +0 -0
- package/lib/form/FormSelect/FormSelect.js +1 -0
- package/lib/form/FormSelect/index.js +1 -0
- package/lib/form/FormSubmitButton/FormSubmitButton.js +1 -0
- package/lib/form/FormSubmitButton/index.js +1 -0
- package/lib/form/FormTextField/FormTextField.js +1 -0
- package/lib/form/FormTextField/index.js +1 -0
- package/lib/form/FormTextField/types.js +0 -0
- package/lib/form/external.js +1 -0
- package/lib/form/hooks/index.js +1 -0
- package/lib/form/hooks/useForm/index.js +1 -0
- package/lib/form/hooks/useForm/useForm.js +1 -0
- package/lib/form/hooks/useFormContext/index.js +1 -0
- package/lib/form/index.d.ts +2 -1
- package/lib/form/index.d.ts.map +1 -1
- package/lib/form/index.js +1 -0
- package/lib/form/types.js +0 -0
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/useMenu/index.js +1 -0
- package/lib/hooks/useMenu/useMenu.js +1 -0
- package/lib/hooks/useMenu/useMenu.stories.js +1 -0
- package/lib/hooks/usePopover/index.js +1 -0
- package/lib/hooks/usePopover/usePopover.js +1 -0
- package/lib/hooks/useToggle/index.js +1 -0
- package/lib/hooks/useToggle/useToggle.js +1 -0
- package/lib/hooks/useViewportType/index.js +1 -0
- package/lib/hooks/useViewportType/useViewportType.js +1 -0
- package/lib/hooks/useViewportType/useViewportType.stories.js +1 -0
- package/lib/icons/index.js +1 -0
- package/lib/index.js +1 -0
- package/lib/theme/baseTheme/baseTheme.js +1 -0
- package/lib/theme/baseTheme/index.js +1 -0
- package/lib/theme/breakpoints.js +1 -0
- package/lib/theme/components/MuiAlert.js +1 -0
- package/lib/theme/components/MuiAutocomplete.js +1 -0
- package/lib/theme/components/MuiButton.js +1 -0
- package/lib/theme/components/MuiButtonBase.js +1 -0
- package/lib/theme/components/MuiCircularProgress.js +1 -0
- package/lib/theme/components/MuiDialog.js +1 -0
- package/lib/theme/components/MuiDialogActions.js +1 -0
- package/lib/theme/components/MuiDialogContent.js +1 -0
- package/lib/theme/components/MuiDialogTitle.js +1 -0
- package/lib/theme/components/MuiDrawer.js +1 -0
- package/lib/theme/components/MuiFormHelperText.js +1 -0
- package/lib/theme/components/MuiFormLabel.js +1 -0
- package/lib/theme/components/MuiInputLabel.js +1 -0
- package/lib/theme/components/MuiLinearProgress.js +1 -0
- package/lib/theme/components/MuiListItemText.js +1 -0
- package/lib/theme/components/MuiMenu.js +1 -0
- package/lib/theme/components/MuiMenuItem.js +1 -0
- package/lib/theme/components/MuiOutlinedInput.js +1 -0
- package/lib/theme/components/MuiPaginationItem.js +1 -0
- package/lib/theme/components/MuiPaper.js +1 -0
- package/lib/theme/components/MuiStep.js +1 -0
- package/lib/theme/components/MuiStepConnector.js +1 -0
- package/lib/theme/components/MuiStepLabel.js +1 -0
- package/lib/theme/components/MuiSwitch.js +1 -0
- package/lib/theme/components/MuiTab.js +1 -0
- package/lib/theme/components/MuiTableCell.js +1 -0
- package/lib/theme/components/MuiTableHead.js +1 -0
- package/lib/theme/components/MuiTableRow.js +1 -0
- package/lib/theme/components/MuiTabs.js +1 -0
- package/lib/theme/components/MuiTextField.js +1 -0
- package/lib/theme/components/MuiToggleButton.js +1 -0
- package/lib/theme/components/MuiToggleButtonGroup.js +1 -0
- package/lib/theme/components/MuiTypography.js +1 -0
- package/lib/theme/components/components.js +1 -0
- package/lib/theme/components/index.js +1 -0
- package/lib/theme/constants.js +1 -0
- package/lib/theme/elevation.js +1 -0
- package/lib/theme/index.js +1 -0
- package/lib/theme/palette/componentsColors/componentsColors.js +1 -0
- package/lib/theme/palette/componentsColors/index.js +1 -0
- package/lib/theme/palette/componentsColors/linkColors/index.js +1 -0
- package/lib/theme/palette/componentsColors/linkColors/linkColors.js +1 -0
- package/lib/theme/palette/index.js +1 -0
- package/lib/theme/palette/palette.js +1 -0
- package/lib/theme/palette/types.js +0 -0
- package/lib/theme/shape.js +1 -0
- package/lib/theme/types.js +0 -0
- package/lib/theme/typography.js +1 -0
- package/package.json +11 -10
- package/lib/index.mjs +0 -1515
|
@@ -13,7 +13,7 @@ export declare const StyledTypography: import("@emotion/styled").StyledComponent
|
|
|
13
13
|
color?: import("../index.ts").TypographyColor;
|
|
14
14
|
variant?: import("../index.ts").TypographyVariant;
|
|
15
15
|
colorIntensity?: import("../index.ts").Intensity;
|
|
16
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
16
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "marker" | "mask" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentType<any>;
|
|
17
17
|
isUpperCase?: boolean;
|
|
18
18
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & OverflowTypographyWrapperProps, {}, {}>;
|
|
19
19
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
@@ -27,7 +27,7 @@ export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
|
27
27
|
color?: import("../index.ts").TypographyColor;
|
|
28
28
|
variant?: import("../index.ts").TypographyVariant;
|
|
29
29
|
colorIntensity?: import("../index.ts").Intensity;
|
|
30
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
30
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "marker" | "mask" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentType<any>;
|
|
31
31
|
isUpperCase?: boolean;
|
|
32
32
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
33
33
|
$align: string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{Typography as e}from"../index.js";import{styled as i}from"../../theme/index.js";let t=i(e,{shouldForwardProp:e=>"rowsCount"!==e&&"hasMultipleRows"!==e})`
|
|
2
|
+
/* stylelint-disable-next-line */
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
/* stylelint-disable-next-line */
|
|
5
|
+
display: ${({hasMultipleRows:e})=>e?"-webkit-box":""};
|
|
6
|
+
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
|
|
9
|
+
text-overflow: ellipsis;
|
|
10
|
+
white-space: ${({hasMultipleRows:e})=>e?"initial":"nowrap"};
|
|
11
|
+
-webkit-box-orient: ${({hasMultipleRows:e})=>e?"vertical":""};
|
|
12
|
+
-webkit-line-clamp: ${({rowsCount:e})=>e};
|
|
13
|
+
`,l=i(e,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: ${({$align:e})=>e};
|
|
16
|
+
|
|
17
|
+
width: 100%;
|
|
18
|
+
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
`;export{t as StyledTypography,l as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./useLogic.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useOverflowed as e}from"../hooks/index.js";import{truncateString as r}from"../utils/index.js";let t=({children:t,visibleLastSymbolsCount:i,ref:o})=>{let{ref:s,isOverflowed:n}=e(o),l=t&&"string"==typeof t,{firstPartLabel:a,secondPartLabel:f}=l&&n&&i?r(i,t):{firstPartLabel:"",secondPartLabel:""};return{isTruncatedStringVisible:l&&n&&!!i,isOverflowed:n,ref:s,firstPartLabel:a,secondPartLabel:f}};export{t as useLogic};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{truncateString as t}from"./truncateString/index.js";export{t as truncateString};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./truncateString.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e=(e,t)=>({firstPartLabel:t.slice(0,-e),secondPartLabel:t.slice(-e)});export{e as truncateString};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{clsx as s}from"clsx";import{PAGE_ASIDE_CLASSNAME as t}from"../constants.js";import{Wrapper as m}from"./styles.js";let o=({children:o,className:e})=>r(m,{className:s(e,t),children:o});export{o as Aside};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Aside.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{styled as e}from"../../../theme/index.js";let r=e("aside")`
|
|
2
|
+
grid-area: aside;
|
|
3
|
+
scrollbar-gutter: stable;
|
|
4
|
+
overflow: auto;
|
|
5
|
+
|
|
6
|
+
width: 320px;
|
|
7
|
+
padding: ${({theme:e})=>e.spacing(4)};
|
|
8
|
+
border-left: 1px solid ${({theme:e})=>e.palette.grey[200]};
|
|
9
|
+
|
|
10
|
+
`;export{r as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{clsx as r}from"clsx";import{PAGE_CONTENT_CLASSNAME as e}from"../constants.js";import{Wrapper as o}from"./styles.js";let s=s=>{let{className:m,children:i,isFullHeight:l=!0}=s;return t(o,{className:r(m,e),$isFullHeight:l,children:i})};export{s as Content};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Content.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{styled as o}from"../../../theme/index.js";let e=o("article",{shouldForwardProp:o=>!["$isFullHeight","$isFocusedMode"].includes(o.toString())})`
|
|
2
|
+
grid-area: content;
|
|
3
|
+
scroll-behavior: smooth;
|
|
4
|
+
scrollbar-gutter: stable;
|
|
5
|
+
overflow: auto;
|
|
6
|
+
height: ${({$isFullHeight:o})=>o?"100%":"auto"};
|
|
7
|
+
padding: ${({theme:o})=>o.spacing(4)};
|
|
8
|
+
`;export{e as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{Wrapper as e}from"./styles.js";let t=t=>{let{children:o,className:m}=t;return r(e,{className:m,children:o})};export{t as Footer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Footer.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{styled as e}from"../../../theme/index.js";let i=e("footer")`
|
|
2
|
+
grid-area: footer;
|
|
3
|
+
z-index: ${({theme:e})=>e.zIndex.speedDial};
|
|
4
|
+
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: ${({theme:e})=>e.spacing(4)};
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
height: 64px;
|
|
10
|
+
padding: ${({theme:e})=>e.spacing(4)};
|
|
11
|
+
|
|
12
|
+
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
`;export{i as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{clsx as t}from"clsx";import{useEffect as i}from"react";import{IconButton as l,Tooltip as n,useDashboard as o}from"../../index.js";import{ChevronLeft as a,PanelLeftClose as c,PanelLeftOpen as m}from"../../../icons/index.js";import{PAGE_HEADER_CLASSNAME as s}from"../constants.js";import{ActionsContainer as d,BreadcrumbsContainer as h,ButtonsContainer as p,Subtitle as f,SubtitleContainer as v,Title as x,TitleContainer as j,Wrapper as y}from"./styles.js";let g=g=>{let{title:u,subtitle:b,breadcrumbs:N,actions:k,backButton:C,className:H}=g,{collapsed:q,toggleCollapsed:w}=o();return i(()=>{"string"==typeof u&&(document.title=u)},[u]),r(y,{className:t(H,s),children:[r(p,{children:[e(n,{title:q?"Развернуть":"Свернуть",children:e(l,{variant:"text",onClick:w,children:q?e(m,{}):e(c,{})})}),C&&e(n,{title:"Назад",children:e(l,{...C,variant:"text",children:e(a,{})})})]}),N&&e(h,{className:"breadcrumbs",children:N}),e(d,{children:k}),"string"==typeof u?e(x,{component:"h1",variant:"h3","aria-level":1,children:u}):e(j,{"aria-level":1,children:u}),b&&"string"==typeof b&&e(f,{"aria-level":2,children:b}),b&&"string"!=typeof b&&e(v,{"aria-level":2,children:b})]})};export{g as Header};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Header.js";
|
|
@@ -343,7 +343,7 @@ export declare const Title: import("@emotion/styled").StyledComponent<import("..
|
|
|
343
343
|
color?: import("../../index.ts").TypographyColor;
|
|
344
344
|
variant?: import("../../index.ts").TypographyVariant;
|
|
345
345
|
colorIntensity?: import("../../index.ts").Intensity;
|
|
346
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
346
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "marker" | "mask" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentType<any>;
|
|
347
347
|
isUpperCase?: boolean;
|
|
348
348
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
349
349
|
children?: import("react").ReactNode | undefined;
|
|
@@ -690,7 +690,7 @@ export declare const Subtitle: import("@emotion/styled").StyledComponent<import(
|
|
|
690
690
|
color?: import("../../index.ts").TypographyColor;
|
|
691
691
|
variant?: import("../../index.ts").TypographyVariant;
|
|
692
692
|
colorIntensity?: import("../../index.ts").Intensity;
|
|
693
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
693
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "marker" | "mask" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentType<any>;
|
|
694
694
|
isUpperCase?: boolean;
|
|
695
695
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
696
696
|
children?: import("react").ReactNode | undefined;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import{OverflowTypography as t}from"../../index.js";import{styled as e}from"../../../theme/index.js";let i=e("div")`
|
|
2
|
+
grid-area: breadcrumbs;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
column-gap: ${({theme:t})=>t.spacing(2)};
|
|
6
|
+
`,a=e("header")`
|
|
7
|
+
grid-area: header;
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-template-columns: auto 1fr auto;
|
|
10
|
+
grid-template-rows: repeat(3, auto);
|
|
11
|
+
align-items: center;
|
|
12
|
+
grid-template-areas: 'buttons title actions' 'subtitle subtitle subtitle' '. . .';
|
|
13
|
+
padding: ${({theme:t})=>t.spacing(4)};
|
|
14
|
+
gap: ${({theme:t})=>t.spacing(2)};
|
|
15
|
+
padding-bottom: 0;
|
|
16
|
+
&:has(.breadcrumbs) {
|
|
17
|
+
grid-template-areas: 'buttons breadcrumbs actions' 'title title title' 'subtitle subtitle subtitle';
|
|
18
|
+
}
|
|
19
|
+
`,r=e("div")`
|
|
20
|
+
grid-area: buttons;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
column-gap: ${({theme:t})=>t.spacing(1)};
|
|
24
|
+
`,n=e("div")`
|
|
25
|
+
grid-area: actions;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: flex-end;
|
|
29
|
+
column-gap: ${({theme:t})=>t.spacing(2)};
|
|
30
|
+
`,l=e(t)`
|
|
31
|
+
grid-area: title;
|
|
32
|
+
`,s=e("div")`
|
|
33
|
+
grid-area: title;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
column-gap: ${({theme:t})=>t.spacing(2)};
|
|
37
|
+
`,d=e(t)`
|
|
38
|
+
grid-area: subtitle;
|
|
39
|
+
`,g=e("div")`
|
|
40
|
+
grid-area: subtitle;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
column-gap: ${({theme:t})=>t.spacing(2)};
|
|
44
|
+
`;export{n as ActionsContainer,i as BreadcrumbsContainer,r as ButtonsContainer,d as Subtitle,g as SubtitleContainer,l as Title,s as TitleContainer,a as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{Aside as o}from"./Aside/index.js";import{Content as r}from"./Content/index.js";import{Footer as t}from"./Footer/index.js";import{Header as i}from"./Header/index.js";import{Wrapper as m}from"./styles.js";let s=({children:o,className:r})=>e(m,{className:r,children:o});s.Header=i,s.Content=r,s.Footer=t,s.Aside=o;export{s as PageLayout};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Breadcrumbs as t,Stack as l}from"@mui/material";import{Building2 as r,Eye as n,FileText as o,LogOut as d,Plus as a,Search as c,Send as m,Settings as s,User as h}from"lucide-react";import{useState as u}from"react";import{styled as p}from"../../theme/index.js";import{ActionGroup as f}from"../ActionGroup/index.js";import{Container as x}from"../Container/index.js";import{DashboardLayout as b,useDashboard as g}from"../DashboardLayout/index.js";import{DataGrid as D}from"../DataGrid/index.js";import{DataGridActionCell as C}from"../DataGridActionCell/index.js";import{DataGridPagination as w}from"../DataGridPagination/index.js";import{Divider as j}from"../Divider/index.js";import{List as T}from"../List/index.js";import{ListItemButton as N}from"../ListItemButton/index.js";import{ListItemIcon as Z}from"../ListItemIcon/index.js";import{ListItemText as I}from"../ListItemText/index.js";import{Menu as v}from"../Menu/index.js";import{MenuItem as y}from"../MenuItem/index.js";import{Profile as W}from"../Profile/index.js";import{Select as H}from"../Select/index.js";import{SidebarNav as k}from"../SidebarNav/index.js";import{SidebarProduct as P}from"../SidebarProduct/index.js";import{TextField as L}from"../TextField/index.js";import{Typography as V}from"../Typography/index.js";import{PageLayout as A}from"./PageLayout.js";let z={name:"UI",logo:()=>i("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("title",{children:"Logo"}),e("path",{d:"M6.5 6.10352e-05C5.1195 6.10352e-05 4 1.11956 4 2.50006V3.00006H13.75C15.545 3.00006 17 4.45506 17 6.25006V11.2501C17 12.2166 16.2165 13.0001 15.25 13.0001H8.75C7.7835 13.0001 7 12.2166 7 11.2501V8.00006H5C4.4475 8.00006 4 8.44756 4 9.00006V13.5001C4 14.8806 5.1195 16.0001 6.5 16.0001H17.5C18.8805 16.0001 20 14.8806 20 13.5001V2.50006C20 1.11956 18.8805 6.10352e-05 17.5 6.10352e-05H6.5Z",fill:"#8566FF"}),e("path",{d:"M2.5 4.00006C1.1195 4.00006 0 5.11956 0 6.50006V17.5001C0 18.8806 1.1195 20.0001 2.5 20.0001H13.5C14.8805 20.0001 16 18.8806 16 17.5001V17.0001H6.25C4.455 17.0001 3 15.5451 3 13.7501V8.75006C3 7.78356 3.7835 7.00006 4.75 7.00006H11.25C12.2165 7.00006 13 7.78356 13 8.75006V12.0001H15C15.5525 12.0001 16 11.5526 16 11.0001V6.50006C16 5.11956 14.8805 4.00006 13.5 4.00006H2.5Z",fill:"#5D3FD4"})]})},F={displayName:"Григорьев Виталий",annotation:"vitatiy_grig@mail.ru",avatar:{alt:"Григорьев Виталий",children:"ГВ"},menu:t=>i(v,{...t,children:[i(y,{children:[e(Z,{children:e(h,{})}),e(I,{children:"Мой профиль"})]}),i(y,{children:[e(Z,{children:e(r,{})}),e(I,{children:"Мои организации"})]}),i(y,{children:[e(Z,{children:e(s,{})}),e(I,{children:"Настройки"})]}),e(j,{}),i(y,{children:[e(Z,{children:e(d,{})}),e(I,{children:"Выйти"})]})]})},S=()=>{let{collapsed:i}=g();return e(W,{...F,collapsed:i})},M=p("div")`
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
`,R={title:"Components/PageLayout",component:A,decorators:[(t,l)=>e(M,{children:i(b,{children:[e(b.Sidebar,{header:e(P,{...z}),footer:e(S,{}),content:e(k,{items:[{id:"documents",icon:e(o,{}),label:"Документы",subItems:[{id:"incoming-documents",label:"Входящие документы",active:!0},{id:"outgoing-documents",label:"Исходящие документы"}]},{id:"counterparties",icon:e(h,{}),label:"Контрагенты",subItems:[{id:"invitations",label:"Приглашения"}]},{id:"organizations",icon:e(r,{}),label:"Мои организации"}]})}),e(b.Main,{children:e(t,{...l})})]})})],parameters:{layout:"fullscreen"}},B=[{id:"1",documentName:"Документ 1",direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},{id:"2",documentName:"Документ 2",direction:"ФСС",createDate:"2022-03-24T17:50:40.206Z"},{id:"3",documentName:"Документ 3",direction:"ПФР",createDate:"2022-03-24T17:50:40.206Z"},{id:"4",documentName:"Документ 4",direction:"РПН",createDate:"2022-03-24T17:50:40.206Z"},{id:"5",documentName:"Документ 5",direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},{id:"6",documentName:"Документ 6",direction:"РПН",createDate:"2022-03-24T17:50:40.206Z"},{id:"7",documentName:"Документ 7",direction:"ПФР",createDate:"2022-03-24T17:50:40.206Z"},{id:"8",documentName:"Документ 8",direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},{id:"9",documentName:"Документ 9",direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},{id:"10",documentName:"Документ 10",direction:"ФСС",createDate:"2022-03-24T17:50:40.206Z"},{id:"11",documentName:"Документ 11",direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},{id:"12",documentName:"Документ 12",direction:"РПН",createDate:"2022-03-24T17:50:40.206Z"},{id:"13",documentName:"Документ 13",direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},{id:"15",documentName:"Документ 14",direction:"ФСС",createDate:"2022-03-24T17:50:40.206Z"},{id:"14",documentName:"Документ 15",direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},{id:"16",documentName:"Документ 12",direction:"РПН",createDate:"2022-03-24T17:50:40.206Z"}],G={main:[{icon:e(n,{}),name:"Просмотреть",onClick:()=>console.log("main"),isBlockingOperation:!0},{icon:e(m,{}),nested:!0,name:"Отправить",actions:[{name:"Туда",onClick:()=>console.log("nested 1")},{name:"Сюда",onClick:()=>console.log("nested 2")}]}],secondary:[{name:"Редактировать",onClick:()=>console.log("secondary 1")},{name:"Удалить",onClick:()=>console.log("secondary 2")}]},_=[{field:"documentName",label:"Наименование документа",sortable:!0},{field:"direction",label:"Направление",sortable:!0},{field:"createDate",label:"Дата создания",sortable:!0,format:({createDate:e})=>new Date(e).toLocaleDateString()},{field:"actions",label:"Действия",sortable:!1,align:"center",width:"120px",renderCell:i=>e(C,{actions:G,row:i})}],E=()=>i(A,{children:[e(A.Header,{title:"Черновики",backButton:{onClick:()=>console.log("back button click")},breadcrumbs:i(t,{children:[e(V,{children:"Первый текст"},"1"),",",e(V,{children:"Текст с разделителем"},"2"),",",e(V,{children:"Текст с разделителем"},"3"),","]}),actions:e(f,{main:[{text:"Основное действие",startIcon:e(a,{})}],secondary:[{text:"Кнопка"}]}),subtitle:i(l,{flexDirection:"row",flexWrap:"wrap",gap:2,children:[e(L,{placeholder:"Поиск на странице...",size:"small",InputProps:{startAdornment:e(c,{})}}),e(H,{value:"",placeholder:"Выберите вариант",size:"small"}),e(H,{value:"",placeholder:"Выберите вариант",size:"small"})]})}),e(A.Content,{children:e(l,{children:i(x,{direction:"column",children:[e(V,{variant:"h4",children:"Налоговый расчет по авансовому платежу по налогу на имущество организаций"}),i(l,{flexDirection:"row",gap:4,pt:8,children:[e(L,{label:"Номер корректировки",fullWidth:!0}),e(L,{label:"Период (код)",fullWidth:!0})]}),i(l,{flexDirection:"row",gap:4,children:[e(L,{label:"Код налогового органа",fullWidth:!0}),e(L,{label:"Код места, по которому представляется документ",fullWidth:!0})]}),i(l,{flexDirection:"row",gap:4,children:[e(L,{label:"Наименование организации",fullWidth:!0}),e(L,{label:"Контактный телефон",fullWidth:!0})]})]})})}),i(A.Aside,{children:[e(L,{placeholder:"Поиск по отчету",fullWidth:!0,InputProps:{startAdornment:e(c,{})}}),i(T,{children:[e(N,{selected:!0,children:"Титульный лист"}),e(N,{children:"Раздел 1"}),e(N,{children:"Раздел 2"}),e(N,{children:"Раздел 3"}),e(N,{children:"Раздел 4"}),e(N,{children:"Раздел 5"})]})]})]}),O=()=>{let[l,r]=u([]),[n,o]=u(!1),[d,m]=u(B.slice(0,10)),[s,h]=u(1);return i(A,{children:[e(A.Header,{title:"Черновики",breadcrumbs:i(t,{children:[e(V,{children:"Первый текст"},"1"),",",e(V,{children:"Текст с разделителем"},"2"),",",e(V,{children:"Текст с разделителем"},"3"),","]}),actions:e(f,{main:[{text:"Сохранить в документ",startIcon:e(a,{})},{text:"Скачать"}]}),subtitle:i(x,{templateColumns:"240px repeat(2, 192px)",gap:2,children:[e(L,{placeholder:"Поиск на странице...",size:"small",fullWidth:!0,InputProps:{startAdornment:e(c,{})}}),e(H,{value:"",placeholder:"Выберите вариант",size:"small"}),e(H,{value:"",placeholder:"Выберите вариант",size:"small"})]})}),e(A.Content,{children:e(D,{keyId:"id",rows:d,columns:_,selectedRows:l,onSelectRow:e=>r(e),onRowClick:e=>console.log("row clicked",e),minDisplayRows:10,isLoading:n,onRetry:()=>{},footer:e(w,{rowsPerPage:10,totalCount:B.length,onChange:(e,i)=>{o(!0),h(i),setTimeout(()=>{o(!1),m(B.slice((i-1)*10,10*i))},1500)},page:s})})})]})},U=()=>i(A,{children:[e(A.Header,{title:"Черновики",breadcrumbs:[e(V,{children:"Первый текст"},"1"),e(V,{children:"Текст с разделителем"},"2"),e(V,{children:"Текст с разделителем"},"3")],actions:e(f,{main:[{text:"Сохранить в документ",startIcon:e(a,{})},{text:"Скачать"}]})}),e(A.Content,{isFullHeight:!1,children:e(l,{children:i(x,{direction:"column",children:[e(V,{variant:"h4",children:"Налоговый расчет по авансовому платежу по налогу на имущество организаций"}),i(l,{flexDirection:"row",gap:4,pt:8,children:[e(L,{label:"Номер корректировки",fullWidth:!0}),e(L,{label:"Период (код)",fullWidth:!0})]}),i(l,{flexDirection:"row",gap:4,children:[e(L,{label:"Код налогового органа",fullWidth:!0}),e(L,{label:"Код места, по которому представляется документ",fullWidth:!0})]}),i(l,{flexDirection:"row",gap:4,children:[e(L,{label:"Наименование организации",fullWidth:!0}),e(L,{label:"Контактный телефон",fullWidth:!0})]})]})})}),i(A.Aside,{children:[e(L,{placeholder:"Поиск по отчету",fullWidth:!0,InputProps:{startAdornment:e(c,{})}}),i(T,{children:[e(N,{selected:!0,children:"Титульный лист"}),e(N,{children:"Раздел 1"}),e(N,{children:"Раздел 2"}),e(N,{children:"Раздел 3"}),e(N,{children:"Раздел 4"}),e(N,{children:"Раздел 5"})]})]}),e(A.Footer,{children:e(f,{main:[{text:"Сохранить в документ",startIcon:e(a,{})},{text:"Скачать"}]})})]});export{E as Example,U as Footer,O as Table,R as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let A="page-content__wrapper",E="page-content",_="page_header_actions",e="page_header",S="page_aside";export{S as PAGE_ASIDE_CLASSNAME,E as PAGE_CONTENT_CLASSNAME,A as PAGE_CONTENT_WRAPPER_CLASSNAME,_ as PAGE_HEADER_ACTIONS_CLASSNAME,e as PAGE_HEADER_CLASSNAME};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./PageLayout.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import{styled as e}from"../../theme/index.js";import{PAGE_ASIDE_CLASSNAME as o,PAGE_HEADER_CLASSNAME as t}from"./constants.js";let r=e("div")`
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: 1fr auto;
|
|
4
|
+
grid-template-rows: auto 1fr auto;
|
|
5
|
+
border: 1px solid ${({theme:e})=>e.palette.grey[200]};
|
|
6
|
+
border-radius: ${({theme:e})=>e.shape.large};
|
|
7
|
+
background-color: ${({theme:e})=>e.palette.background.paper};
|
|
8
|
+
grid-template-areas: 'header header' 'content aside' 'footer aside';
|
|
9
|
+
flex-grow: 1;
|
|
10
|
+
|
|
11
|
+
height: 100%;
|
|
12
|
+
min-height: 0;
|
|
13
|
+
|
|
14
|
+
&:has(.${o}) {
|
|
15
|
+
.${t} {
|
|
16
|
+
border-bottom: 1px solid ${({theme:e})=>e.palette.grey[200]};
|
|
17
|
+
padding-bottom: ${({theme:e})=>e.spacing(4)};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
22
|
+
scroll-behavior: smooth;
|
|
23
|
+
|
|
24
|
+
overflow-y: auto;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
padding-top: 0;
|
|
30
|
+
padding-bottom: '80px';
|
|
31
|
+
}
|
|
32
|
+
`;export{r as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as a}from"react/jsx-runtime";import{Pagination as i}from"@mui/material";let r=({...r})=>a(i,{color:"primary",size:"small",shape:"rounded",...r});export{r as Pagination};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as n,jsx as t,jsxs as o}from"react/jsx-runtime";import{useState as e}from"react";import{Container as a}from"../Container/index.js";import{Typography as r}from"../Typography/index.js";import{Pagination as i}from"./Pagination.js";let l={title:"Components/Pagination",component:i},m={args:{count:10},parameters:{docs:{disable:!0}}},p=()=>t(n,{children:t(i,{count:10})}),c=()=>o(a,{gap:3,children:[t(i,{count:10,defaultPage:6,siblingCount:0}),t(i,{count:10,defaultPage:6})]}),g=()=>{let[n,l]=e(1);return o(a,{gap:3,children:[o(r,{children:["Страница: ",n]}),t(i,{count:10,page:n,onChange:(n,t)=>{l(t)}})]})};export{g as Controlled,p as Example,m as Interaction,c as PaginationRanges,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Pagination.js";export*from"./types.js";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{Paper as e}from"@mui/material";let a=a=>r(e,{...a});export{a as Paper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Paper.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import{Calendar1 as l}from"lucide-react";import{useEffect as n,useState as o}from"react";import{Button as i}from"../Button/index.js";import{IconButton as a}from"../IconButton/index.js";import{Popover as m}from"../Popover/index.js";import{TextField as d}from"../TextField/index.js";import{MONTHS as c,QUARTERS as s}from"./constants.js";import{MonthsWrapper as h,QuartersWrapper as u,Wrapper as p}from"./styles.js";import{getQuarter as g,getQuarterLabel as f}from"./utils.js";import{YearsDropdown as x}from"./YearsDropdown/index.js";let D=D=>{let{label:j,disabled:v=!1,value:F,onSelect:Y,type:b="month",placeholder:w="month"===b?"Выберите месяц":"Выберите квартал",error:z,helperText:k,max:C=new Date(2050,0,1),min:y=new Date(2e3,0,1),className:P,size:T,fullWidth:B,name:M}=D,O=new Date,[S,A]=o(null),[E,I]=o(O.getFullYear()),L=()=>{A(null)},N=e=>{Y?.(e),L()},R="month"===b?F?.toLocaleDateString("ru-RU",{month:"long",year:"numeric"}):f(F);return n(()=>{F&&I(F.getFullYear())},[F]),r(e,{children:[t(d,{label:j,value:R,disabled:v,size:T,fullWidth:B,name:M,endAdornment:t(a,{disabled:v,variant:"text",onClick:e=>{A(e.currentTarget)},children:t(l,{})}),placeholder:w,error:z,helperText:k,className:P}),t(m,{open:!!S,anchorEl:S,onClose:L,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:r(p,{children:[t(x,{year:E,onSelect:I,minDate:y,maxDate:C}),"month"===b?t(h,{children:c.map((e,r)=>{let l=new Date(E,r,F?.getDate()||1);return t(i,{variant:"text",size:"small",disabled:l<y||l>C,onClick:()=>N(l),selected:F?.getMonth()===r&&F.getFullYear()===l.getFullYear(),children:e},e)})}):t(u,{children:s.map((e,r)=>{let l=new Date(E,3*r,1);return t(i,{variant:"text",size:"small",disabled:l<y||l>C,onClick:()=>N(l),selected:!!F&&g(F.getMonth())===r&&F.getFullYear()===l.getFullYear(),children:e},e)})})]})})]})};export{D as PeriodPicker};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useState as r}from"react";import{Container as o}from"../Container/index.js";import{Typography as i}from"../Typography/index.js";import{PeriodPicker as n}from"./PeriodPicker.js";let a={title:"Components/PeriodPicker",component:n,parameters:{layout:"centered"},tags:["autodocs"]},c=()=>{let[a,c]=r(new Date);return t(o,{direction:"column",children:[t(i,{children:["Selected date: ",a?.toLocaleDateString()]}),e(n,{max:new Date(2025,8,1),value:a,onSelect:c})]})},l=()=>{let[a,c]=r(new Date);return t(o,{direction:"column",children:[t(i,{children:["Selected date: ",a?.toLocaleDateString()]}),e(n,{type:"quarter",value:a,onSelect:c})]})};export{c as Default,l as Quarter,a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{DropdownButton as t,MenuItem as r,Typography as l}from"../../index.js";function i({year:i,onSelect:n,minDate:a,maxDate:o}){let m=Array.from({length:o.getFullYear()-a.getFullYear()+1},(e,t)=>a.getFullYear()+t);return e(t,{disabled:1===m.length,variant:"light",name:i.toString(),children:m.map(t=>e(r,{value:t,selected:t===i,onClick:()=>{n?.(t)},children:e(l,{align:"center",variant:"subtitle1",style:{textTransform:"capitalize",minWidth:70},children:t})},t))})}export{i as YearsDropdown};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./YearsDropdown.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let I=["Янв.","Фев.","Мар.","Апр.","Май","Июн.","Июл.","Авг.","Сен.","Окт.","Ноя.","Дек."],e=["I квартал","II квартал","III квартал","IV квартал"];export{I as MONTHS,e as QUARTERS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./PeriodPicker.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{styled as e}from"../../theme/index.js";let r=e("div")`
|
|
2
|
+
padding: ${({theme:e})=>e.spacing(4)};
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: ${({theme:e})=>e.spacing(2)};
|
|
6
|
+
`,p=e("div")`
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-columns: repeat(3, 1fr);
|
|
9
|
+
grid-template-rows: repeat(3, 1fr);
|
|
10
|
+
gap: ${({theme:e})=>e.spacing(2)};
|
|
11
|
+
`,a=e("div")`
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14
|
+
grid-template-rows: repeat(2, 1fr);
|
|
15
|
+
gap: ${({theme:e})=>e.spacing(2)};
|
|
16
|
+
`;export{p as MonthsWrapper,a as QuartersWrapper,r as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{QUARTERS as t}from"./constants.js";let e=t=>Math.ceil(t/3),r=t=>(t-1)*3,a=r=>r?`${t[e(r.getMonth())]} ${r.getFullYear()}`:"";export{r as getMonth,e as getQuarter,a as getQuarterLabel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Wrapper as e}from"./styles.js";let t=e,m=e.withComponent;export{t as Image,m as setDefaultImageStyles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Image.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{styled as o}from"../../../theme/index.js";import{SIZE as t}from"../constants.js";let a=o("img",{shouldForwardProp:o=>"size"!==o})`
|
|
2
|
+
display: block;
|
|
3
|
+
|
|
4
|
+
width: ${({width:o})=>o||"auto"};
|
|
5
|
+
max-width: 100%;
|
|
6
|
+
height: ${({height:o})=>o||"auto"};
|
|
7
|
+
margin: auto auto
|
|
8
|
+
${({theme:o,size:a})=>a===t.Small?o.spacing(4):o.spacing(6)};
|
|
9
|
+
|
|
10
|
+
color: ${({theme:o})=>o.palette.grey[900]};
|
|
11
|
+
|
|
12
|
+
object-fit: contain;
|
|
13
|
+
|
|
14
|
+
${({theme:o})=>o.breakpoints.down("sm")} {
|
|
15
|
+
margin: auto auto ${({theme:o})=>o.spacing(8)};
|
|
16
|
+
}
|
|
17
|
+
`;export{a as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useContext as i,useMemo as o}from"react";import{ConfigContext as t}from"../ConfigProvider/index.js";import{IMAGE_HEIGHT as s,IMAGE_WIDTH as m,TITLE_HEADER_LEVEL as n}from"./constants.js";import{Image as a,setDefaultImageStyles as l}from"./Image/index.js";import{Description as d,Footer as c,InnerContainer as p,Title as h,Wrapper as f}from"./styles.js";let j=({className:j,title:z,imgSrc:g,imgAlt:u,description:v,Actions:x,size:$="small",imgWidth:P,renderImage:y})=>{let I=i(t),b=I.components?.placeholder?.defaultProps?.renderImage,w=o(()=>y&&l(y)||b&&l(b)||a,[y,b]);return r(f,{$size:$,className:j,children:[r(p,{$size:$,children:[g&&e(w,{src:g,alt:u,width:P||m[$],height:P?"auto":s[$],size:$}),e(h,{$size:$,variant:n[$],children:z}),v&&e(d,{$size:$,component:"div",variant:"body1",children:v})]}),x&&e(c,{children:x})]})};export{j as Placeholder};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{Fragment as e,jsx as i,jsxs as t}from"react/jsx-runtime";import"react";import{Button as r}from"../Button/index.js";import{ConfigProvider as l}from"../ConfigProvider/index.js";import{Typography as n}from"../Typography/index.js";import{Placeholder as c}from"./Placeholder.js";import{styled as d}from"../../theme/index.js";let o="../../illustrations/certificates-not-found.svg",s={title:"Components/Placeholder",component:c},a={args:{title:"Заявка успешно отправлена",description:"Вы успешно отправили заявку",imgSrc:o,imgAlt:"alt"},parameters:{docs:{disable:!0}}},h=()=>i(c,{title:"Заявка успешно отправлена",description:t(e,{children:["Вы успешно отправили заявку"," ",i(n,{color:"red",component:"span",children:"22"}),"."]}),imgSrc:o,imgAlt:"альтернативный текст изображения",Actions:t(e,{children:[i(r,{variant:"text",children:"Вернуться"}),i(r,{children:"ОК"})]})}),m=d("div")`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
row-gap: 50px;
|
|
5
|
+
`,g=()=>t(m,{children:[i(c,{title:"Заголовок страницы",description:"Текст для пользователя, разъясняющий принципы работы раздела или подсказки по работе в нем.",imgSrc:o,imgAlt:"альтернативный текст изображения",size:"small",Actions:t(e,{children:[i(r,{variant:"text",children:"Вернуться"}),i(r,{children:"ОК"})]})}),i(c,{title:"Заголовок страницы",description:"Текст для пользователя, разъясняющий принципы работы раздела или подсказки по работе в нем.",imgSrc:o,imgAlt:"альтернативный текст изображения",size:"medium",Actions:t(e,{children:[i(r,{variant:"text",children:"Вернуться"}),i(r,{children:"ОК"})]})}),i(c,{title:"Заголовок страницы",description:"Текст для пользователя, разъясняющий принципы работы раздела или подсказки по работе в нем.",imgSrc:o,imgAlt:"альтернативный текст изображения",size:"large",Actions:t(e,{children:[i(r,{variant:"text",children:"Вернуться"}),i(r,{children:"ОК"})]})})]}),p=()=>i(c,{title:"Заголовок страницы",description:"Текст для пользователя, разъясняющий принципы работы раздела или подсказки по работе в нем.",imgAlt:"альтернативный текст изображения",size:"large",renderImage:e=>t("svg",{width:e.width,height:e.height,className:e.className,children:[i("title",{children:e.alt}),i("use",{href:`${e.src}#main`})]}),Actions:t(e,{children:[i(r,{variant:"text",children:"Вернуться"}),i(r,{children:"ОК"})]})}),x=()=>i(l,{components:{placeholder:{defaultProps:{renderImage:e=>t("svg",{width:e.width,height:e.height,className:e.className,children:[i("title",{children:e.alt}),i("use",{href:`${e.src}#main`})]})}}},children:t(m,{children:[i(c,{title:"Заголовок страницы",description:"Текст для пользователя, разъясняющий принципы работы раздела или подсказки по работе в нем.",imgAlt:"альтернативный текст изображения",size:"large",Actions:t(e,{children:[i(r,{variant:"text",children:"Вернуться"}),i(r,{children:"ОК"})]})}),i(c,{title:"Заголовок страницы",description:"Текст для пользователя, разъясняющий принципы работы раздела или подсказки по работе в нем.",imgAlt:"альтернативный текст изображения",size:"large",Actions:t(e,{children:[i(r,{variant:"text",children:"Вернуться"}),i(r,{children:"ОК"})]})})]})});export{x as ConfigRenderImage,h as Example,a as Interaction,p as RenderImage,g as Size,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e={Small:"small",Medium:"medium",Large:"large"},l={[e.Small]:"239px",[e.Medium]:"323px",[e.Large]:"458px"},m={[e.Small]:"119px",[e.Medium]:"161px",[e.Large]:"229px"},a={[e.Small]:"384px",[e.Medium]:"400px",[e.Large]:"460px"},p={[e.Small]:"h5",[e.Medium]:"h4",[e.Large]:"h3"};export{m as IMAGE_HEIGHT,l as IMAGE_WIDTH,a as MAX_INNER_WIDTH,e as SIZE,p as TITLE_HEADER_LEVEL};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Image/index.js";export*from"./Placeholder.js";export*from"./types.js";
|
|
@@ -15,7 +15,7 @@ export declare const Title: import("@emotion/styled").StyledComponent<{
|
|
|
15
15
|
color?: import("../Typography").TypographyColor;
|
|
16
16
|
variant?: import("../Typography").TypographyVariant;
|
|
17
17
|
colorIntensity?: import("../Typography").Intensity;
|
|
18
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
18
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "marker" | "mask" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentType<any>;
|
|
19
19
|
isUpperCase?: boolean;
|
|
20
20
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & WithSize, {}, {}>;
|
|
21
21
|
export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
@@ -29,7 +29,7 @@ export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
|
29
29
|
color?: import("../Typography").TypographyColor;
|
|
30
30
|
variant?: import("../Typography").TypographyVariant;
|
|
31
31
|
colorIntensity?: import("../Typography").Intensity;
|
|
32
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
32
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "marker" | "mask" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentType<any>;
|
|
33
33
|
isUpperCase?: boolean;
|
|
34
34
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & WithSize, {}, {}>;
|
|
35
35
|
export declare const Footer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{styled as t}from"../../theme/index.js";import{Typography as e}from"../Typography/index.js";import{MAX_INNER_WIDTH as o,SIZE as n}from"./constants.js";let a=t=>"$size"!==t,i=t("div",{shouldForwardProp:a})`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: ${({theme:t,$size:e})=>e===n.Small?t.spacing(4):t.spacing(6)};
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
padding: ${({theme:t})=>t.spacing(4)};
|
|
11
|
+
|
|
12
|
+
background-color: ${({theme:t})=>t.palette.background.paper};
|
|
13
|
+
|
|
14
|
+
${({theme:t})=>t.breakpoints.down("sm")} {
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-columns: 100%;
|
|
17
|
+
grid-template-rows: 1fr max-content;
|
|
18
|
+
gap: ${({theme:t})=>t.spacing(4)};
|
|
19
|
+
}
|
|
20
|
+
`,p=t("div",{shouldForwardProp:a})`
|
|
21
|
+
max-width: ${({$size:t})=>o[t]};
|
|
22
|
+
margin: 0 auto;
|
|
23
|
+
`,r=t(e,{shouldForwardProp:a})`
|
|
24
|
+
margin-bottom: ${({theme:t,$size:e})=>e===n.Small?t.spacing(2):t.spacing(4)};
|
|
25
|
+
|
|
26
|
+
text-align: center;
|
|
27
|
+
|
|
28
|
+
${({theme:t})=>t.breakpoints.down("sm")} {
|
|
29
|
+
margin-bottom: ${({theme:t})=>t.spacing(4)};
|
|
30
|
+
|
|
31
|
+
font-size: ${({theme:t})=>t.typography.pxToRem(20)};
|
|
32
|
+
font-weight: ${({theme:t})=>t.typography.fontWeightMedium};
|
|
33
|
+
color: ${({theme:t})=>t.palette.text.secondary};
|
|
34
|
+
}
|
|
35
|
+
`,s=t(e,{shouldForwardProp:a})`
|
|
36
|
+
display: block;
|
|
37
|
+
|
|
38
|
+
font-size: ${({$size:t,theme:e})=>t===n.Large?e.typography.pxToRem(16):e.typography.body1.fontSize};
|
|
39
|
+
text-align: center;
|
|
40
|
+
|
|
41
|
+
${({theme:t})=>t.breakpoints.down("sm")} {
|
|
42
|
+
font-size: ${({theme:t})=>t.typography.body1.fontSize};
|
|
43
|
+
color: ${({theme:t})=>t.palette.text.secondary};
|
|
44
|
+
}
|
|
45
|
+
`,g=t("footer")`
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-wrap: wrap;
|
|
48
|
+
gap: ${({theme:t})=>t.spacing(2)};
|
|
49
|
+
justify-content: center;
|
|
50
|
+
|
|
51
|
+
color: ${({theme:t})=>t.palette.grey[900]};
|
|
52
|
+
|
|
53
|
+
${({theme:t})=>t.breakpoints.down("sm")} {
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
gap: ${({theme:t})=>t.spacing(3)};
|
|
56
|
+
|
|
57
|
+
margin-top: auto;
|
|
58
|
+
}
|
|
59
|
+
`;export{s as Description,g as Footer,p as InnerContainer,r as Title,i as Wrapper};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{Popover as r}from"@mui/material";import{useViewportType as e}from"../../hooks/index.js";import{BottomDrawer as t}from"../BottomDrawer/index.js";let i=({children:i,onClose:m,open:n,title:p,...l})=>{let{isMobile:s}=e();return s?o(t,{title:p,onClose:m,open:n,children:i}):o(r,{open:n,onClose:m,...l,children:i})};export{i as Popover};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{Fragment as r,jsx as t,jsxs as o}from"react/jsx-runtime";import{styled as e}from"@mui/material";import{useState as i}from"react";import{Button as n}from"../Button/index.js";import{Container as l}from"../Container/index.js";import{Typography as a}from"../Typography/index.js";import{Popover as c}from"./Popover.js";let h={title:"Components/Popover",component:c},p=e("div")`
|
|
2
|
+
padding: ${({theme:r})=>r.spacing(2)};
|
|
3
|
+
`,v={args:{open:!0,children:"контент popover",anchorPosition:{top:50,left:50},anchorReference:"anchorPosition"},parameters:{docs:{disable:!0}}},m=()=>{let[e,l]=i(null);return o(r,{children:[t(n,{variant:"contained",onClick:r=>{l(r.currentTarget)},children:"Открыть Popover"}),t(c,{title:"Заголовок",open:!!e,anchorEl:e,onClose:()=>{l(null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},children:t(p,{children:t(a,{children:"Контент Popover"})})})]})},d=e(l)`
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
gap: 10px;
|
|
6
|
+
|
|
7
|
+
margin-top: 30px;
|
|
8
|
+
|
|
9
|
+
${({theme:r})=>r.spacing(2)};
|
|
10
|
+
`,z=()=>{let[e,l]=i(null),[h,v]=i({vertical:"top",horizontal:"right"});return t(r,{children:o(d,{children:[[{vertical:"top",horizontal:"left"},{vertical:"top",horizontal:"center"},{vertical:"top",horizontal:"right"},{vertical:"center",horizontal:"left"},{vertical:"center",horizontal:"center"},{vertical:"center",horizontal:"right"},{vertical:"bottom",horizontal:"left"},{vertical:"bottom",horizontal:"center"},{vertical:"bottom",horizontal:"right"}].map(({vertical:r,horizontal:t})=>o(n,{onClick:o=>{var e;v({vertical:(e={vertical:r,horizontal:t}).vertical,horizontal:e.horizontal}),l(o.currentTarget)},children:["Open ",r,"-",t]},`${r}-${t}`)),t(c,{open:!!e,anchorEl:e,onClose:()=>{l(null)},transformOrigin:h,children:t(p,{children:t(a,{children:"Контент Popover"})})})]})})},g=()=>{let[e,l]=i(null),[h,v]=i({vertical:"top",horizontal:"right"});return t(r,{children:o(d,{children:[[{vertical:"top",horizontal:"left"},{vertical:"top",horizontal:"center"},{vertical:"top",horizontal:"right"},{vertical:"center",horizontal:"left"},{vertical:"center",horizontal:"center"},{vertical:"center",horizontal:"right"},{vertical:"bottom",horizontal:"left"},{vertical:"bottom",horizontal:"center"},{vertical:"bottom",horizontal:"right"}].map(({vertical:r,horizontal:t})=>o(n,{onClick:o=>{var e;v({vertical:(e={vertical:r,horizontal:t}).vertical,horizontal:e.horizontal}),l(o.currentTarget)},children:["Open ",r,"-",t]},`${r}-${t}`)),t(c,{open:!!e,anchorEl:e,onClose:()=>{l(null)},anchorOrigin:h,children:t(p,{children:t(a,{children:"Контент Popover"})})})]})})};export{g as AnchorOrigin,m as Example,v as Interaction,z as TransformOrigin,h as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Popover.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{BottomDrawer as i,ListItemIcon as n,ListItemText as o,MenuList as t,OverflowTypography as l}from"../../index.js";import{useViewportType as s}from"../../../hooks/index.js";import{StyledMenu as d,StyledMenuItem as m}from"./styles.js";let c=c=>{let{open:p,onClose:h,menuList:u=[],...a}=c,{isMobile:f}=s(),j=()=>u.map(({render:i,icon:t,title:s,onClick:d,divider:c},p)=>i?i({icon:t,title:s,onClick:d,divider:c}):r(m,{$divider:c,onClick:d,children:[e(n,{children:t}),e(o,{children:e(l,{noWrap:!0,children:s})})]},String(p)));return f?e(i,{onClose:h,open:p,children:e(t,{children:j()})}):e(d,{open:p,onClose:h,...a,children:j()})};export{c as MenuList};
|