@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./useLogic.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useOverflowed as e}from"../../OverflowTypography/hooks/index.js";import{truncateString as r}from"./utils/index.js";let o=({ref:o,children:i})=>{let{ref:s,isOverflowed:t}=e(o),{baseName:p,suffixWithExtension:l}=r(i);return{baseNameProps:{ref:s,children:p},isOverflowed:t,suffixWithExtension:l}};export{o as useLogic};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let l=[".xml.dist",".xml.tpl",".xml.gz",".xml.bz2",".xml.zip",".xml.enc",".xml.sig",".xml.metadata",".xml.backup",".xml.orig",".tar.gz",".tar.bz2",".tar.xz",".tar.lz"];export{l as COMPLEX_EXTENSIONS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{COMPLEX_EXTENSIONS as t}from"./constants.js";let e=e=>{for(let n of t)if(e.endsWith(n))return n;let n=e.lastIndexOf(".");if(-1!==n)return e.slice(n)};export{e as findExtension};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./findExtension.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./truncateString/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e=2;export{e as SUFFIX_LENGTH};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./truncateString.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{findExtension as e}from"../findExtension/index.js";import{SUFFIX_LENGTH as t}from"./constants.js";let i=i=>{let n=e(i);return n&&i.endsWith(n)?{baseName:i.slice(0,i.length-n.length-t),suffixWithExtension:i.slice(-n.length-t)}:{baseName:i.slice(0,-t),suffixWithExtension:i.slice(-t)}};export{i as truncateString};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{FormControl as r}from"@mui/material";let m=m=>o(r,{...m});export{m as FormControl};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./FormControl.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{StyledFormControlLabel as o}from"./styles.js";let t=t=>r(o,{...t});export{t as FormControlLabel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./FormControlLabel.js";export*from"./types.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{FormControlLabel as r}from"@mui/material";import{styled as e}from"../../theme/index.js";let m=e(r)`
|
|
2
|
+
margin-right: 0;
|
|
3
|
+
margin-left: -5px;
|
|
4
|
+
|
|
5
|
+
& .MuiFormControlLabel-label {
|
|
6
|
+
margin-left: ${({theme:r})=>r.spacing(1)};
|
|
7
|
+
}
|
|
8
|
+
`;export{m as StyledFormControlLabel};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{FormHelperText as r}from"@mui/material";import{FormHelperTextContent as t}from"./FormHelperTextContent/index.js";let m=({children:m,success:o,error:i,...l})=>e(r,{...l,children:e(t,{error:i,success:o,children:m})});export{m as FormHelperText};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r,jsxs as e}from"react/jsx-runtime";import{useMemo as t}from"react";import{ErrorIcon as l,Message as o,SuccessIcon as s,Wrapper as i}from"./styles.js";let m=({success:m,error:n,children:c})=>{let p=t(()=>m?r(s,{size:16}):n?r(l,{size:16}):null,[m,n]);return c?e(i,{error:n,success:m,children:[p,r(o,{children:c})]}):null};export{m as FormHelperTextContent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./FormHelperTextContent.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{CircleCheck as e,OctagonAlert as i}from"lucide-react";import{styled as r}from"../../../theme/index.js";let a=e=>`display: inline-flex;
|
|
2
|
+
justify-content: center;
|
|
3
|
+
font-size: ${e.typography.h5.fontSize};
|
|
4
|
+
vertical-align: middle;`,t=r("span")`
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: ${({theme:e})=>e.spacing(1)};
|
|
7
|
+
padding: ${({theme:e})=>e.spacing(0,1)};
|
|
8
|
+
color: ${({success:e,error:i,theme:r})=>e?r.palette.success.dark:i?r.palette.error.dark:"inherit"};
|
|
9
|
+
`,n=r(e)`
|
|
10
|
+
${({theme:e})=>a(e)}
|
|
11
|
+
`,p=r(i)`
|
|
12
|
+
${({theme:e})=>a(e)}
|
|
13
|
+
`,l=r("span")`
|
|
14
|
+
vertical-align: middle;
|
|
15
|
+
`;export{p as ErrorIcon,l as Message,n as SuccessIcon,t as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./FormHelperText.js";export*from"./FormHelperTextContent/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{StyledFormLabel as t}from"./styles.js";let e=e=>r(t,{...e});export{e as FormLabel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./FormLabel.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{OverflowTypography as r}from"../OverflowTypography/index.js";let t=t=>o(r,{visibleLastSymbolsCount:4,...t});export{t as GuidTypography};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";import{styled as r}from"../../theme/index.js";import{CopyTypography as o}from"../CopyTypography/index.js";import{GuidTypography as t}from"./GuidTypography.js";let i={title:"Components/GuidTypography",component:t},p={args:{children:"e2f54c10-2ac9-4872-b2ce-1f86eb1c6d2d"},parameters:{docs:{disable:!0}}},c=r("div")`
|
|
2
|
+
width: 100px;
|
|
3
|
+
`,d=()=>e(c,{children:e(t,{children:"e2f54c10-2ac9-4872-b2ce-1f86eb1c6d2d"})}),a=()=>{let r="e2f54c10-2ac9-4872-b2ce-1f86eb1c6d2d";return e(c,{children:e(o,{copyText:r,isShowCopyText:!0,children:e(t,{tooltipProps:{title:void 0},children:r})})})};export{a as CopyGuid,d as Example,p as Interaction,i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./GuidTypography.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useMemo as t}from"react";import{ButtonVariants as o}from"../Button/index.js";import{CircularProgress as e}from"../CircularProgress/index.js";import{StyledButton as i}from"./styles.js";let n=n=>{let{variant:m=o.Contained,loading:a,children:s,...l}=n,d=t(()=>m===o.Contained?"inverted":"primary",[m]);return r(i,{loading:a,variant:m,tabIndex:a?-1:0,...l,children:a?r(e,{size:"small",color:d}):s})};export{n as IconButton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{Download as i,Eye as r,Filter as t,Printer as l,Send as a}from"lucide-react";import"react";import{ActionCell as d}from"../ActionCell/index.js";import{Container as o}from"../Container/index.js";import{DataGrid as c}from"../DataGrid/index.js";import{IconButton as h}from"./IconButton.js";let s={title:"Components/IconButton",component:h},m={render:n=>e(h,{...n,children:e(l,{})}),args:{},parameters:{docs:{disable:!0}}},v=()=>{let n={main:[{icon:e(r,{}),name:"Просмотреть",onClick:()=>console.log("main")},{icon:e(a,{}),nested:!0,name:"Отправить",actions:[{name:"Туда",onClick:()=>console.log("nested 1")},{name:"Сюда",onClick:()=>console.log("nested 2")}]}]},i=[{field:"name",label:"Наименование"},{field:"code",label:"Код партнера"},{field:"ref",label:"Реф. ссылка"},{renderCell:i=>e(d,{actions:n,row:i}),width:"1%"}];return e(c,{rows:[{id:"1",name:"Офис на ул. Куйбышева 128, к. №1",code:"456-875",ref:"http://referal.lk"},{id:"2",name:"Офис на Огарева",code:"456-875",ref:"http://referal.lk."},{id:"3",name:"Офис на Маяковской, оф 245",code:"456-875",ref:"http://referal.lk"}],columns:i,keyId:"id",onRetry:()=>{}})},g=()=>n(o,{children:[e(h,{variant:"contained",children:e(l,{})}),e(h,{selected:!0,variant:"contained",children:e(l,{})}),e(h,{disabled:!0,variant:"contained",children:e(l,{})}),e(h,{loading:!0,variant:"contained",children:e(l,{})})]}),f=()=>n(o,{children:[e(h,{variant:"light",children:e(r,{})}),e(h,{selected:!0,variant:"light",children:e(r,{})}),e(h,{disabled:!0,variant:"light",children:e(r,{})}),e(h,{loading:!0,variant:"light",children:e(r,{})})]}),p=()=>n(o,{children:[e(h,{variant:"link",children:e(t,{})}),e(h,{selected:!0,variant:"link",children:e(t,{})}),e(h,{disabled:!0,variant:"link",children:e(t,{})}),e(h,{loading:!0,variant:"link",children:e(t,{})})]}),k=()=>n(o,{children:[e(h,{variant:"text",children:e(t,{})}),e(h,{selected:!0,variant:"text",children:e(t,{})}),e(h,{disabled:!0,variant:"text",children:e(t,{})}),e(h,{loading:!0,variant:"text",children:e(t,{})})]}),u=()=>n(o,{children:[e(h,{size:"medium",variant:"light",children:e(i,{})}),e(h,{size:"large",variant:"light",children:e(i,{})})]}),x=()=>n(o,{gap:3,children:[n(o,{children:[e(h,{variant:"contained",color:"error",children:e(i,{})}),e(h,{variant:"contained",color:"success",children:e(i,{})}),e(h,{variant:"contained",color:"warning",children:e(i,{})})]}),n(o,{children:[e(h,{variant:"light",color:"error",children:e(i,{})}),e(h,{variant:"light",color:"success",children:e(i,{})}),e(h,{variant:"light",color:"warning",children:e(i,{})})]})]});export{u as ButtonSize,g as Contained,x as EmotionalTone,v as Example,m as Interaction,f as Light,p as Link,k as Text,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./IconButton.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{styled as e}from"../../theme/index.js";import{Button as t,ButtonSizes as n}from"../Button/index.js";let o=({type:e,values:t,defaultValue:n})=>e&&t[e]||n,i=e=>o({type:e.size,values:{[n.Small]:"24px",[n.Medium]:"32px",[n.Large]:"40px"},defaultValue:"32px"}),d=e=>o({type:e.size,values:{[n.Small]:"36px"},defaultValue:"48px"}),a=e(t,{shouldForwardProp:e=>!["startIcon","endIcon","loading","tabIndex"].includes(e.toString())})`
|
|
2
|
+
pointer-events: ${({loading:e})=>e&&"none"};
|
|
3
|
+
|
|
4
|
+
width: ${i};
|
|
5
|
+
height: ${i};
|
|
6
|
+
padding: ${({theme:e})=>e.spacing(1)};
|
|
7
|
+
|
|
8
|
+
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
9
|
+
width: ${d};
|
|
10
|
+
}
|
|
11
|
+
`;export{a as StyledButton,i as getButtonHeight,d as getButtonHeightMobile};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as o,jsx as r,jsxs as e}from"react/jsx-runtime";import{ClickAwayListener as n}from"@mui/material";import{forwardRef as t}from"react";import{useMenu as i}from"../../hooks/index.js";import{IconButton as m}from"../IconButton/index.js";import{Menu as c}from"../Menu/index.js";let l=t(({children:t,icon:l,...p},d)=>{let{open:u,anchorRef:s,handleOpenMenu:f,handleCloseMenu:a}=i(d);return e(o,{children:[r(n,{onClickAway:a,mouseEvent:"onMouseUp",children:r(m,{...p,ref:s,onClick:f,selected:u,children:l})}),r(c,{open:u,anchorEl:s.current,children:t})]})});export{l as IconDropdownButton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as e,jsx as i,jsxs as l}from"react/jsx-runtime";import{Stack as r}from"@mui/material";import{EllipsisVertical as n,Pencil as a}from"lucide-react";import"react";import{DataGrid as o}from"../DataGrid/index.js";import{IconButton as t}from"../IconButton/index.js";import{MenuItem as c}from"../MenuItem/index.js";import{IconDropdownButton as d}from"./IconDropdownButton.js";let h={title:"Components/IconDropdownButton",component:d},m=[{id:"1",name:"Офис на ул. Куйбышева 128, к. №1",code:"456-875",ref:"http://referal.lk"},{id:"2",name:"Офис на Огарева",code:"456-875",ref:"http://referal.lk"},{id:"3",name:"Офис на Маяковской, оф 245",code:"456-875",ref:"http://referal.lk"}],s=()=>console.log("clicked"),f=[i(c,{onClick:()=>console.log("v1"),children:"Вариант выбора 1"},1),i(c,{onClick:()=>console.log("v2"),children:"Вариант выбора 2"},2),i(c,{onClick:()=>console.log("v3"),children:"Вариант выбора 3"},3)],p=[{field:"name",label:"Наименование"},{field:"code",label:"Код партнёра"},{field:"ref",label:"Реф. ссылка"},{label:"",align:"center",width:"1%",renderCell:()=>l(r,{gap:1,direction:"row",justifyContent:"center",children:[i(t,{variant:"light",onClick:s,children:i(a,{})}),i(d,{variant:"light",icon:i(n,{}),"aria-label":"Меню",children:f})]})}],g={args:{icon:i(n,{})},parameters:{docs:{disable:!0}}},b=()=>i(o,{keyId:"id",rows:m,columns:p,onRetry:()=>{}}),u=()=>l(e,{children:[i(d,{variant:"light",icon:i(n,{}),"aria-label":"Меню",children:f}),i(d,{variant:"text",icon:i(n,{}),"aria-label":"Меню",children:f})]}),v=()=>l(e,{children:[i(d,{disabled:!0,variant:"light",icon:i(n,{}),"aria-label":"Меню",children:f}),i(d,{disabled:!0,variant:"text",icon:i(n,{}),"aria-label":"Меню",children:f})]}),k=()=>l(e,{children:[i(d,{loading:!0,variant:"light",icon:i(n,{}),"aria-label":"Меню",children:f}),i(d,{loading:!0,variant:"text",icon:i(n,{}),"aria-label":"Меню",children:f})]}),x=()=>l(e,{children:[i(d,{variant:"light",icon:i(n,{}),"aria-label":"Меню",children:f}),i(d,{size:"large",variant:"light",icon:i(n,{}),"aria-label":"Меню",children:f})]});export{x as ButtonSize,u as Default,v as Disabled,b as Example,g as Interaction,k as Loading,h as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./IconDropdownButton.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as r,jsx as e,jsxs as t}from"react/jsx-runtime";import{OTPInput as i}from"input-otp";import{Separator as n}from"./Separator/index.js";import{Slot as m}from"./Slot/index.js";import{GroupContainer as o,Wrapper as a}from"./styles.js";let l=({...l})=>e(a,{children:e(i,{className:"inputOTP",containerClassName:"inputOTPContainer",...l,render:({slots:i})=>i.length%2!=0?e(o,{children:i.map((r,t)=>e(m,{...r},`${t}-${r.char}`))}):t(r,{children:[e(o,{children:i.slice(0,i.length/2).map((r,t)=>e(m,{...r},`${t}-${r.char}`))}),e(n,{}),e(o,{children:i.slice(i.length/2).map((r,t)=>e(m,{...r},`${t}-${r.char}`))})]})})});export{l as InputOTP};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{useState as e}from"react";import{InputOTP as r}from"./InputOTP.js";let o={title:"Components/InputOTP",component:r,parameters:{layout:"centered"},tags:["autodocs"]},a=()=>{let[o,a]=e("");return t(r,{maxLength:6,value:o,onChange:a})};export{a as Primary,o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{StyledSeparator as e}from"./styles.js";let t=({separator:t="•",...i})=>r("div",{...i,children:r(e,{children:t})});export{t as Separator};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Separator.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r,jsxs as t}from"react/jsx-runtime";import{Caret as e,CaretContainer as i,Wrapper as o}from"./styles.js";let l=({char:l,hasFakeCaret:m,isActive:s,...c})=>t(o,{$isActive:s,...c,children:[l,m&&r(i,{children:r(e,{})})]});export{l as Slot};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Slot.js";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import{keyframes as e,styled as t}from"../../../theme/index.js";let i=t("div",{shouldForwardProp:e=>"$isActive"!==e})`
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
height: 2.5rem;
|
|
5
|
+
width: 2.5rem;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
border-width: 1px;
|
|
9
|
+
border-style: solid;
|
|
10
|
+
border-color: ${({theme:e,$isActive:t})=>t?e.palette.primary.main:e.palette.divider};
|
|
11
|
+
font-size: ${({theme:e})=>e.typography.fontSize};
|
|
12
|
+
border-left-width: ${({$isActive:e})=>+!!e};
|
|
13
|
+
transition: all 0.3s;
|
|
14
|
+
&:first-of-type {
|
|
15
|
+
border-top-left-radius: ${({theme:e})=>e.shape.small};
|
|
16
|
+
border-bottom-left-radius: ${({theme:e})=>e.shape.small};
|
|
17
|
+
border-left-width: 1px;
|
|
18
|
+
}
|
|
19
|
+
&:last-of-type {
|
|
20
|
+
border-top-right-radius: ${({theme:e})=>e.shape.small};
|
|
21
|
+
border-bottom-right-radius: ${({theme:e})=>e.shape.small};
|
|
22
|
+
}
|
|
23
|
+
z-index: ${({$isActive:e})=>10*!!e};
|
|
24
|
+
`,r=t("div")`
|
|
25
|
+
position: absolute;
|
|
26
|
+
inset: 0;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
`,o=e`
|
|
32
|
+
0%,
|
|
33
|
+
100% {
|
|
34
|
+
opacity: 0;
|
|
35
|
+
}
|
|
36
|
+
50% {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
`,a=t("div")`
|
|
40
|
+
height: 1rem;
|
|
41
|
+
width: 1px;
|
|
42
|
+
background-color: ${({theme:e})=>e.palette.primary.main};
|
|
43
|
+
animation: ${o} 1s infinite;
|
|
44
|
+
`;export{a as Caret,r as CaretContainer,i as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./InputOTP.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import{styled as e}from"../../theme/index.js";let i=e("div")`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
`,t=e("div")`
|
|
5
|
+
.inputOTPContainer {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 0.5rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.inputOTPContainer:has(:disabled) {
|
|
12
|
+
opacity: 0.5;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.inputOTP {
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.inputOTP:has(:disabled) {
|
|
20
|
+
cursor: not-allowed;
|
|
21
|
+
}
|
|
22
|
+
`;export{i as GroupContainer,t as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r,jsxs as i}from"react/jsx-runtime";import{Link as e}from"@mui/material";import{useContext as o}from"react";import{Button as t}from"../Button/index.js";import{ConfigContext as l}from"../ConfigProvider/index.js";import{Placeholder as m}from"../Placeholder/index.js";import{Typography as n}from"../Typography/index.js";let d=()=>{let{imagesMap:d,techSup:c}=o(l);return r(m,{title:"Произошла непредвиденная ошибка",description:i("div",{children:[r(n,{children:"Пожалуйста, попробуйте обновить страницу или обратитесь в техническую поддержку:"}),i(n,{children:["email\xa0",r(e,{href:`mailto:${c.email}`,children:c.email}),", телефон\xa0",r(e,{href:`tel:${c.phone}`,children:c.phone})]})]}),imgAlt:"Непредвиденная ошибка",imgSrc:d.defaultErrorImgSrc,imgWidth:"324px",Actions:r(t,{onClick:()=>{location.reload()},children:"Обновить страницу"})})};export{d as InternalErrorPlaceholder};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import"react";import{ConfigProvider as e}from"../ConfigProvider/index.js";import{InternalErrorPlaceholder as o}from"./InternalErrorPlaceholder.js";let t="../../illustrations/error.svg",a={title:"Components/InternalErrorPlaceholder",component:o},l=()=>r(e,{imagesMap:{defaultErrorImgSrc:t,noDataImgSrc:t,outdatedReleaseErrorImgSrc:t},techSup:{email:"test@example.com",phone:"79999999999"},children:r(o,{})});export{l as Example,a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./InternalErrorPlaceholder.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r,jsxs as e}from"react/jsx-runtime";import{ArrowDownToLine as t,SquareArrowOutUpRight as i}from"lucide-react";import{StyledLink as o}from"./styles.js";let m=({withAdornment:m,isDownload:s,children:l,...n})=>{let d=s?r(t,{size:16}):r(i,{size:16});return e(o,{download:s,...n,children:["start"===m&&d,l,"end"===m&&d,!m&&s&&r(t,{})]})};export{m as Link};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as e,jsx as r,jsxs as n}from"react/jsx-runtime";import{Typography as i}from"../Typography/index.js";import{Link as d}from"./Link.js";let t={title:"Components/Link",component:d,args:{children:"Link",href:"#"},parameters:{docs:{disable:!0},controls:{expanded:!0},options:{showPanel:!0}},tags:["autodocs"]},o=()=>r(e,{children:n(i,{children:["Для начала работы необходимо:",r("br",{}),n("ul",{children:[n("li",{children:["Подключить"," ",r(d,{href:"#1",withAdornment:"start",children:"Telegram"})]}),n("li",{children:["Выпустить сертификат ",r(d,{href:"#2",children:"УНЭП"})]}),n("li",{children:[r(d,{href:"/",children:"Госключ"})," для подписания документов"]})]})]})}),h=()=>n(e,{children:[r(d,{href:"#1",withAdornment:"start",children:"Icon-start"}),r(d,{href:"#2",withAdornment:"end",children:"Icon-end"})]}),l=()=>n(e,{children:[r(d,{href:"Принять_оферту.pdf",isDownload:!0,withAdornment:"start",children:"Принять оферту"}),r(d,{href:"Принять_оферту.pdf",isDownload:!0,withAdornment:"end",children:"Принять оферту"})]});export{h as Adornment,l as Download,o as Example,t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Link.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{Link as e,svgIconClasses as t}from"@mui/material";import{styled as o}from"../../theme/index.js";let i=o(e)`
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
gap: ${({theme:e})=>e.spacing(1)};
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: flex-start;
|
|
6
|
+
|
|
7
|
+
font-size: ${({theme:e})=>e.typography.fontSize}px;
|
|
8
|
+
color: ${({theme:e})=>e.palette.components.link.main};
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
|
|
11
|
+
&:active {
|
|
12
|
+
color: ${({theme:e})=>e.palette.components.link.active};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:visited {
|
|
16
|
+
color: ${({theme:e})=>e.palette.components.link.visited};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
color: ${({theme:e})=>e.palette.components.link.hover};
|
|
21
|
+
text-decoration: underline;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:focus {
|
|
25
|
+
border-radius: 4px;
|
|
26
|
+
outline: 2px solid ${({theme:e})=>e.palette.primary[400]};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.${t.root} {
|
|
30
|
+
align-self: center;
|
|
31
|
+
|
|
32
|
+
width: 16px;
|
|
33
|
+
height: 16px;
|
|
34
|
+
}
|
|
35
|
+
`;export{i as StyledLink};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{List as i}from"@mui/material";let r=r=>t(i,{...r});export{r as List};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as e,jsx as i,jsxs as n}from"react/jsx-runtime";import{Dot as r,House as l}from"lucide-react";import{useState as c}from"react";import{Chevron as d}from"../Chevron/index.js";import{Collapse as t}from"../Collapse/index.js";import{IconButton as o}from"../IconButton/index.js";import{Link as h}from"../Link/index.js";import{ListItemButton as s}from"../ListItemButton/index.js";import{ListItemIcon as m}from"../ListItemIcon/index.js";import{ListItemText as a}from"../ListItemText/index.js";import{ListSubheader as p}from"../ListSubheader/index.js";import{List as f}from"./List.js";let C={title:"Components/List",component:f},k={args:{children:n(e,{children:[i(s,{children:"Item 1"})," ",i(s,{children:"Item 2"})]})},parameters:{docs:{disable:!0}}},x=()=>{let[C,k]=c(!0),[x,u]=c(null),[I,j]=c(!0);return n(e,{children:[n(f,{subheader:i(p,{children:"Список ссылок (ListItemButton) "}),children:[n(s,{selected:0===x,component:h,href:"/",onClick:()=>{u(0)},children:[i(m,{children:i(l,{})}),i(a,{children:"Главная ( ссылка )"})]}),n(s,{selected:1===x,component:h,href:"/",onClick:()=>{u(1)},children:[i(m,{children:i(l,{})}),i(a,{children:"Главная ( ссылка )"})]}),n(s,{selected:2===x,component:h,href:"https://www.yandex.com/",onClick:()=>{u(2)},children:[i(m,{children:i(l,{})}),i(a,{children:"Яндекс"})]})]}),n(f,{subheader:i(p,{children:"Список Кнопок (ListItemButton) "}),children:[n(s,{selected:11===x,onClick:()=>{u(11)},children:[i(m,{children:i(l,{})}),i(a,{children:"Главная "})]}),n(s,{selected:12===x,onClick:()=>{u(12)},children:[i(m,{children:i(l,{})}),i(a,{children:"Главная "})]}),n(s,{selected:13===x,onClick:()=>{u(13)},children:[i(m,{children:i(l,{})}),i(a,{children:"Яндекс"})]})]}),n(f,{subheader:i(p,{children:"Выпадающий список с активными элементами"}),children:[n(s,{onClick:()=>{k(!C)},children:[i(m,{children:i(l,{})}),i(a,{children:"Транспорт"}),i(d,{isActive:C})]}),i(t,{in:C,orientation:"vertical",children:n(f,{disablePadding:!0,children:[n(s,{selected:3===x,onClick:()=>{u(3)},children:[i(m,{children:i(r,{})}),i(a,{children:"Машины"})]}),n(s,{selected:4===x,onClick:()=>{u(4)},children:[i(m,{children:i(r,{})}),i(a,{children:"Велосипеды"})]}),n(s,{selected:5===x,onClick:()=>{u(5)},children:[i(m,{children:i(r,{})}),i(a,{children:"Мотоциклы"})]})]})})]}),i(f,{subheader:n(p,{style:{display:"flex",alignItems:"center"},children:["Сворачиваемый список",i(o,{variant:"text",onClick:()=>{j(!I)},style:{transform:"rotate(270deg)"},children:i(d,{isActive:I})})]}),children:i(t,{in:I,orientation:"horizontal",collapsedSize:56,children:n(f,{disablePadding:!0,children:[n(s,{selected:11===x,onClick:()=>{u(11)},children:[i(m,{children:i(l,{})}),i(a,{children:"Главная"})]}),n(s,{selected:12===x,onClick:()=>{u(12)},children:[i(m,{children:i(l,{})}),i(a,{children:"Главная новая страница для определенно ненужного сайта"})]}),n(s,{selected:13===x,onClick:()=>{u(13)},children:[i(m,{children:i(l,{})}),i(a,{children:"Яндекс"})]})]})})})]})};export{x as Example,k as Interaction,C as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./List.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{StyledListItem as r}from"./styles.js";let e=e=>t(r,{...e});export{e as ListItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as e,jsx as r,jsxs as i}from"react/jsx-runtime";import{Link as t}from"@mui/material";import{House as n}from"lucide-react";import{useState as m}from"react";import{List as l}from"../List/index.js";import{ListItemIcon as d}from"../ListItemIcon/index.js";import{ListItemText as c}from"../ListItemText/index.js";import{ListSubheader as o}from"../ListSubheader/index.js";import{ListItem as h}from"./ListItem.js";let s={title:"Components/ListItem",component:h},a={args:{children:"Item"},parameters:{docs:{disable:!0}}},p=()=>{let[s,a]=m(null);return i(e,{children:[i(l,{subheader:r(o,{children:"Список ссылок (ListItem) "}),children:[r(t,{href:"/",children:i(h,{children:[r(d,{children:r(n,{})}),r(c,{children:"Ссылка 1"})]})}),r(t,{href:"/",children:i(h,{children:[r(d,{children:r(n,{})}),r(c,{children:"Ссылка 2"})]})})]}),i(l,{subheader:r(o,{children:"Список не ссылок (ListItem) "}),children:[i(h,{onClick:()=>{a(0)},children:[r(d,{children:r(n,{})}),r(c,{children:"Автомобиль"})]}),i(h,{onClick:()=>{a(1)},children:[r(d,{children:r(n,{})}),r(c,{children:"Велосипед"})]})]})]})};export{p as Example,a as Interaction,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,e=((t={}).DEFAULT="default",t.HOVER="hover",t.SELECTED="selected",t);export{e as ListItemStates};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./ListItem.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{ListItem as e}from"@mui/material";import{styled as t}from"../../theme/index.js";import{ListItemStates as r}from"./constants.js";let o=({theme:e,listItemState:t})=>t===r.DEFAULT?e.palette.grey[900]:t===r.HOVER?e.palette.primary[800]:e.palette.grey[900],l=t(e,{shouldForwardProp:e=>"selected"!==e})`
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
user-select: none;
|
|
4
|
+
|
|
5
|
+
color: ${e=>o({...e,listItemState:r.DEFAULT})};
|
|
6
|
+
border-radius: ${({theme:e})=>e.shape.small};
|
|
7
|
+
|
|
8
|
+
:hover {
|
|
9
|
+
color: ${e=>o({...e,listItemState:r.HOVER})};
|
|
10
|
+
}
|
|
11
|
+
`;export{l as StyledListItem,o as getColor};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{ListItemButton as e}from"@mui/material";import{Tooltip as i}from"../Tooltip/index.js";let r=r=>{let{disabledReason:o,disabled:m,tooltipPlacement:l,note:n,withoutContainer:a=!1,...p}=r,s=()=>t(i,{title:m?o:n,placement:l,withoutContainer:!m,children:t(e,{disabled:m,...p,disableRipple:!0})});return a?s():t("li",{children:s()})};export{r as ListItemButton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{House as r}from"lucide-react";import{useState as t}from"react";import{Chevron as n}from"../Chevron/index.js";import{Collapse as l}from"../Collapse/index.js";import{Container as o}from"../Container/index.js";import{List as d}from"../List/index.js";import{ListItem as c}from"../ListItem/index.js";import{ListItemIcon as m}from"../ListItemIcon/index.js";import{ListItemText as s}from"../ListItemText/index.js";import{ListSubheader as h}from"../ListSubheader/index.js";import{ListItemButton as p}from"./ListItemButton.js";let a={title:"Components/ListItemButton",component:p},u={args:{children:"Button"},parameters:{docs:{disable:!0}}},f=()=>{let[a,u]=t(!0),[f,x]=t(null);return i(o,{direction:"column",children:[i(d,{subheader:e(h,{children:"Компонент Списка Кнопки selectable"}),children:[i(p,{selected:0===f,onClick:()=>{x(0)},children:[e(m,{children:e(r,{})}),e(s,{children:"Главная "})]}),i(p,{selected:1===f,onClick:()=>{x(1)},children:[e(m,{children:e(r,{})}),e(s,{children:"Яндекс"})]})]}),i(d,{subheader:e(h,{children:"Компонент Списка ListItemButton + Collapse"}),children:[i(p,{onClick:()=>{u(!a)},children:[e(m,{children:e(r,{})}),e(s,{children:"Транспорт"}),e(n,{isActive:a})]}),e(l,{in:a,children:i(d,{children:[i(c,{children:[e(m,{children:e(r,{})}),e(s,{children:"Машины"})]}),i(p,{selected:!0,children:[e(m,{children:e(r,{})}),e(s,{children:"Велосипеды ( selected )"})]}),i(p,{children:[e(m,{children:e(r,{})}),e(s,{children:"Мотоциклы"})]})]})})]})]})};export{f as Example,u as Interaction,a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,e=((t={}).DEFAULT="default",t.HOVER="hover",t.SELECTED="selected",t);export{e as ListItemButtonStates};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./ListItemButton.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{StyledListItemIcon as e}from"./styles.js";let m=t((t,m)=>r(e,{ref:m,...t}));export{m as ListItemIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{House as r}from"lucide-react";import"react";import{List as i}from"../List/index.js";import{ListItemButton as o}from"../ListItemButton/index.js";import{ListItemText as m}from"../ListItemText/index.js";import{ListItemIcon as s}from"./ListItemIcon.js";let n={title:"Components/ListItemIcon",component:s},c={args:{children:t(r,{})},parameters:{docs:{disable:!0}}},a=()=>t(i,{children:e(o,{selected:!0,children:[t(s,{children:t(r,{})}),t(m,{primary:"Drafts"})]})});export{a as Example,c as Interaction,n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./ListItemIcon.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{ListItemText as e}from"@mui/material";let m=m=>t(e,{...m});export{m as ListItemText};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";import"react";import{List as r}from"../List/index.js";import{ListItem as i}from"../ListItem/index.js";import{ListItemText as m}from"./ListItemText.js";let o={title:"Components/ListItemText",component:m},s={args:{primary:"Text"},parameters:{docs:{disable:!0}}},a=()=>e(r,{children:[t(i,{children:t(m,{primary:"Drafts"})}),t(i,{children:t(m,{primary:"Inbox"})})]});export{a as Example,s as Interaction,o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./ListItemText.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{ListSubheader as r}from"@mui/material";let t=t=>e(r,{...t});export{t as ListSubheader};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{House as t}from"lucide-react";import"react";import{List as i}from"../List/index.js";import{ListItem as m}from"../ListItem/index.js";import{ListItemIcon as o}from"../ListItemIcon/index.js";import{ListItemText as s}from"../ListItemText/index.js";import{ListSubheader as a}from"./ListSubheader.js";let d={title:"Components/ListSubheader",component:a},n={args:{children:"Subheader"},parameters:{docs:{disable:!0}}},p=()=>e(i,{subheader:e(a,{children:"Subheader"}),children:r(m,{children:[e(o,{children:e(t,{})}),e(s,{primary:"Drafts"})]})});export{p as Example,n as Interaction,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./ListSubheader.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{useMask as e}from"@react-input/mask";import{TextField as r}from"../TextField/index.js";let i=({maskProps:i,...m})=>t(r,{inputRef:e(i),...m});export{i as MaskField};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./MaskField.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{Menu as o}from"@mui/material";import{useViewportType as r}from"../../hooks/index.js";import{BottomDrawer as t}from"../BottomDrawer/index.js";import{MenuList as i}from"../MenuList/index.js";let n=({children:n,onClose:m,open:l,title:s,...p})=>{let{isMobile:u}=r();return u?e(t,{title:s,onClose:m,open:l,children:e(i,{children:n})}):e(o,{open:l,onClose:m,...p,children:n})};export{n as Menu};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as e,jsx as r,jsxs as n}from"react/jsx-runtime";import{Building2 as i,LogOut as l,Settings as t,User as o}from"lucide-react";import{useCallback as c,useMemo as d,useState as m}from"react";import{Button as h}from"../Button/index.js";import{ListItemIcon as a}from"../ListItemIcon/index.js";import{MenuItem as s}from"../MenuItem/index.js";import{Menu as p}from"./Menu.js";let u={title:"Components/Menu",component:p},f={args:{title:"Menu",open:!0,children:[n(s,{children:[r(a,{children:r(t,{})}),"Item 1"]},1),n(s,{children:[r(a,{children:r(i,{})}),"Item 2"]},2),n(s,{children:[r(a,{children:r(t,{})}),"Item 3"]},3),n(s,{children:[r(a,{children:r(t,{})}),"Item 4"]},4)]},parameters:{docs:{disable:!0}}},I=()=>{let[u,f]=m(null),I=d(()=>!!u,[u]),x=c(e=>{f(e.currentTarget)},[]),C=c(()=>{f(null)},[]);return n(e,{children:[r(h,{variant:"text",onClick:x,children:"Profile"}),n(p,{title:"Profile",anchorEl:u,open:I,onClose:C,children:[n(s,{onClick:C,children:[r(a,{children:r(o,{})}),"Мой профиль"]}),n(s,{onClick:C,children:[r(a,{children:r(i,{})}),"Мои организации"]}),n(s,{divider:!0,onClick:C,children:[r(a,{children:r(t,{})}),"Настройки"]}),n(s,{onClick:C,children:[r(a,{children:r(l,{})}),"Выйти"]})]})]})};export{I as Example,f as Interaction,u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Menu.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{MenuItem as t}from"@mui/material";import{Tooltip as i}from"../Tooltip/index.js";let r=r=>{let{disabledReason:m,disabled:n,component:o="div",title:l,tooltipPlacement:a="left",note:p,...u}=r;return e("li",{children:e(i,{title:n?m:p,placement:a,withoutContainer:!n,children:e(t,{...u,disabled:n,title:l,component:o})},l)})};export{r as MenuItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{User as i}from"lucide-react";import"react";import{ListItemIcon as n}from"../ListItemIcon/index.js";import{MenuList as d}from"../MenuList/index.js";import{MenuItem as l}from"./MenuItem.js";let t={title:"Components/MenuItem",component:l},c={args:{selected:!0,children:"Menu Item"},parameters:{docs:{disable:!0}}},o=()=>r(d,{children:[r(l,{children:[e(n,{children:e(i,{})}),"Мой профиль"]}),r(l,{children:[e(n,{children:e(i,{})}),"Выход"]})]}),h=()=>r(d,{children:[r(l,{note:"Перейти в профиль",children:[e(n,{children:e(i,{})}),"Мой профиль"]}),r(l,{children:[e(n,{children:e(i,{})}),"Выход"]})]}),m=()=>r(d,{children:[r(l,{selected:!0,children:[e(n,{children:e(i,{})}),"Мой профиль"]}),r(l,{children:[e(n,{children:e(i,{})}),"Выход"]})]}),s=()=>r(d,{children:[r(l,{disabled:!0,disabledReason:"Действие недоступно. Попробуйте позднее",children:[e(n,{children:e(i,{})}),"Мой профиль"]}),r(l,{children:[e(n,{children:e(i,{})}),"Выход"]})]});export{s as Disabled,o as Example,c as Interaction,h as Note,m as Selected,t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./MenuItem.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{StyledMenuList as t}from"./styles.js";let e=({children:e,...i})=>r(t,{...i,children:e});export{e as MenuList};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{Building2 as r,LogOut as n,Settings as t,User as d}from"lucide-react";import"react";import{Divider as c}from"../Divider/index.js";import{ListItemIcon as l}from"../ListItemIcon/index.js";import{ListItemText as m}from"../ListItemText/index.js";import{MenuItem as h}from"../MenuItem/index.js";import{MenuList as o}from"./MenuList.js";let s={title:"Components/MenuList",component:o},p={args:{children:[i(h,{children:[e(l,{children:e(d,{})}),e(m,{children:"item 1"})]},1),i(h,{children:[e(l,{children:e(r,{})}),e(m,{children:"item 2"})]},2),i(h,{children:[e(l,{children:e(t,{})}),e(m,{children:"item 3"})]},3),i(h,{children:[e(l,{children:e(n,{})}),e(m,{children:"item 4"})]},4)]},parameters:{docs:{disable:!0}}},a=()=>i(o,{children:[i(h,{children:[e(l,{children:e(d,{})}),e(m,{children:"Мой профиль"})]}),i(h,{children:[e(l,{children:e(r,{})}),e(m,{children:"Мои организации"})]}),i(h,{children:[e(l,{children:e(t,{})}),e(m,{children:"Настройки"})]}),e(c,{}),i(h,{children:[e(l,{children:e(n,{})}),e(m,{children:"Выйти"})]})]});export{a as Example,p as Interaction,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./MenuList.js";export*from"./types.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{MenuList as e}from"@mui/material";import{styled as i}from"../../theme/index.js";let o=i(e)`
|
|
2
|
+
&.MuiList-root {
|
|
3
|
+
padding: ${({theme:e})=>e.spacing(1,0)};
|
|
4
|
+
|
|
5
|
+
border-radius: ${({theme:e})=>e.shape.small};
|
|
6
|
+
box-shadow: ${({theme:e})=>e.elevation[200]};
|
|
7
|
+
}
|
|
8
|
+
`;export{o as StyledMenuList};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{toast as e}from"sonner";class s{service;constructor(e){this.service=e}message(e,s){return this.service.message(e,{description:s})}success=e=>this.service.success(e);error=e=>this.service.error(e);info=e=>this.service.info(e);warning=e=>this.service.warning(e);custom=e=>this.service(e);action=({title:e,buttonLabel:s,onClick:i})=>this.service(e,{action:{label:s,onClick:i}})}let i=new s(e);export{s as Notification,i as notification};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{Toaster as i}from"sonner";import{NOTIFICATION_POSITIONS as t}from"../constants.js";import{ErrorIcon as r,InfoIcon as s,SuccessIcon as e,WarningIcon as n}from"./styles.js";let m=({position:m="bottomRight",...a})=>o(i,{duration:3e3,icons:{error:o(r,{size:20}),success:o(e,{size:20}),warning:o(n,{size:20}),info:o(s,{size:20})},position:t[m],...a});export{m as NotificationContainer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./NotificationContainer.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{CircleCheck as o,Info as e,OctagonAlert as r,TriangleAlert as n}from"lucide-react";import{styled as c}from"../../../theme/index.js";let t=c(r)`
|
|
2
|
+
color: ${({theme:o})=>o.palette.error.main};
|
|
3
|
+
`,a=c(o)`
|
|
4
|
+
color: ${({theme:o})=>o.palette.success.main};
|
|
5
|
+
`,i=c(n)`
|
|
6
|
+
color: ${({theme:o})=>o.palette.warning.main};
|
|
7
|
+
`,l=c(e)`
|
|
8
|
+
color: ${({theme:o})=>o.palette.info.main};
|
|
9
|
+
`;export{t as ErrorIcon,l as InfoIcon,a as SuccessIcon,i as WarningIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t,o=((t={}).info="info",t.success="success",t.warning="warning",t.error="error",t);let e={topRight:"top-right",topLeft:"top-left",bottomRight:"bottom-right",bottomLeft:"bottom-left",topCenter:"top-center",bottomCenter:"bottom-center"},r="notify";export{e as NOTIFICATION_POSITIONS,r as NOTIFY_CLASSNAME,o as NotificationVariantTypes};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./constants.js";export*from"./Notification.js";export*from"./NotificationContainer/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useContext as e}from"react";import{Button as o}from"../Button/index.js";import{ConfigContext as t}from"../ConfigProvider/index.js";import{Placeholder as i}from"../Placeholder/index.js";import{Typography as m}from"../Typography/index.js";let d=()=>{let{imagesMap:d}=e(t);return r(i,{title:"Обновление в сервисе",description:r(m,{component:"p",children:"Наши специалисты работают над улучшением качества продукта. Для загрузки обновлений, пожалуйста, обновите страницу."}),imgAlt:"Обновление в сервисе",imgSrc:d.outdatedReleaseErrorImgSrc,imgWidth:"324px",Actions:r(o,{onClick:()=>{location.reload()},children:"Обновить страницу"})})};export{d as OutdatedReleasePlaceholder};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";import{ConfigProvider as r}from"../ConfigProvider/index.js";import{OutdatedReleasePlaceholder as t}from"./OutdatedReleasePlaceholder.js";let a="../../illustrations/outdated-release.svg",o={title:"Components/OutdatedReleasePlaceholder",component:t},l=()=>e(r,{imagesMap:{defaultErrorImgSrc:a,noDataImgSrc:a,outdatedReleaseErrorImgSrc:a},children:e(t,{})});export{l as Example,o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./OutdatedReleasePlaceholder.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{Tooltip as t}from"../Tooltip/index.js";import{Typography as i}from"../Typography/index.js";import{StyledTypography as o,Wrapper as l}from"./styles.js";import{useLogic as n}from"./useLogic/index.js";let p=1,s=s=>{let{ref:m,isOverflowed:a,secondPartLabel:c,firstPartLabel:d,isTruncatedStringVisible:h}=n(s),{tooltipProps:f,children:u,rowsCount:j=p,visibleLastSymbolsCount:x,align:y="left",...T}=s,g={...T,ref:m,align:y,children:u,rowsCount:j,hasMultipleRows:j>p};return h?e(t,{title:u,disableInteractive:!0,...f,children:r(l,{$align:y,children:[e(o,{component:"span",ref:m,hasMultipleRows:!1,rowsCount:1,...T,children:d}),e(i,{...T,component:"span",children:c})]})}):u&&a?e(t,{title:u,disableInteractive:!0,...f,children:e(o,{...g})}):e(o,{...g})};export{p as DEFAULT_ROWS_COUNT,s as OverflowTypography};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import"react";import{styled as t}from"../../theme/index.js";import{OverflowTypography as o}from"./OverflowTypography.js";let s={title:"Components/OverflowTypography",component:o},r={args:{children:"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque aut delectus dolorem ea, explicabo illo minus nostrum quae quod veniam."},parameters:{docs:{disable:!0}}},l=t("div")`
|
|
2
|
+
max-width: 500px;
|
|
3
|
+
`,a=()=>i(l,{children:[e(o,{children:"Not enough long text for special behavior."}),e("br",{}),e(o,{children:"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque aut delectus dolorem ea, explicabo illo minus nostrum quae quod veniam."})]}),m=()=>i(l,{children:[e(o,{children:"default props, Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque aut delectus dolorem ea, explicabo illo minus nostrum quae quod veniam."}),e("br",{}),e(o,{rowsCount:2,children:"rowsCount = 2, like in default Autocomplite component. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Qui, tempore."})]}),n=()=>e(l,{children:e(o,{tooltipProps:{title:"custom tooltip, with separate settings",placement:"top-start"},children:"With custom tooltip settings. Lorem ipsum dolor sit amet, consecrate adipisicing elit. Assumenda autem debitis eligendi inventore magni nobis perspiciatis quisquam ratione, unde vel?"})}),u=()=>e(l,{children:e(o,{visibleLastSymbolsCount:10,children:"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci animi consectetur corporis dolores eos, esse eum expedita hic minima molestias, nobis odio qui quisquam rem saepe ut, velit voluptate voluptates!"})});export{a as Example,r as Interaction,m as RowsCount,n as TooltipProps,u as VisibleLastSymbols,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./useOverflowed/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./useOverflowed.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{debounce as e}from"@mui/material";import{useLayoutEffect as t,useRef as r,useState as o}from"react";import{useFirstMountState as n}from"react-use";let i=i=>{let l=r(null),u=i&&"function"!=typeof i?i:l,[c,f]=o(!1),m=n(),s=([{target:e,contentRect:t}])=>{let r=Math.round(t.height)<e.scrollHeight,o=e.scrollWidth>Math.round(t.width);f(r||o)};return t(()=>{if(u?.current){let t=u.current,r={target:t,contentRect:t.getBoundingClientRect()};if(!m){let r=new ResizeObserver(e(s,500));return r.observe(t),()=>r.unobserve(t)}s([r])}},[u.current]),{isOverflowed:c,ref:u}};export{i as useOverflowed};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./OverflowTypography.js";
|