@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
|
+
import{jsx as e}from"react/jsx-runtime";import{DESCRIPTION_ROOT_CLASSNAME as r}from"./constants.js";import{DescriptionContextProvider as t}from"./DescriptionContext/index.js";import{Name as i}from"./Name/index.js";import{Wrapper as o}from"./styles.js";import{useLogic as s}from"./useLogic/index.js";import{Value as m}from"./Value/index.js";let n=i=>{let{descriptionContextProviderProps:m,direction:n}=s(i),{justifyContent:a="start",component:c="dl",children:d,leader:l=!1}=i;return e(t,{leader:l,direction:n,...m,children:e(o,{$justifyContent:a,className:r,$direction:n,as:c,children:d})})};n.Name=i,n.Value=m;export{n as Description};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{Fragment as e,jsx as n,jsxs as r}from"react/jsx-runtime";import{styled as l}from"../../theme/index.js";import{Container as i}from"../Container/index.js";import{Description as c}from"./Description.js";let d={title:"Components/Description",component:c},a={args:{children:r(e,{children:[n(c.Name,{children:"Название поля"}),n(c.Value,{children:"Значение поля"})]})},parameters:{options:{showPanel:!0},docs:{disable:!0}}},h=l(i)`
|
|
2
|
+
justify-content: center;
|
|
3
|
+
`,o=l(c.Name)`
|
|
4
|
+
width: 100px;
|
|
5
|
+
|
|
6
|
+
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
7
|
+
width: unset;
|
|
8
|
+
}
|
|
9
|
+
`,t=l(c.Value)`
|
|
10
|
+
width: 300px;
|
|
11
|
+
|
|
12
|
+
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
13
|
+
width: unset;
|
|
14
|
+
}
|
|
15
|
+
`,p=()=>r(h,{gap:3,children:[r(c,{children:[n(c.Name,{children:"ИНН"}),n(c.Value,{children:"295995231495"})]}),r(c,{children:[n(c.Name,{children:"Описание"}),n(t,{children:"ИНН физического лица является последовательностью из 12 цифр"})]})]}),m=()=>n(h,{gap:3,children:r(c,{children:[n(c.Name,{children:"КПП"}),n(c.Value,{canCopy:!0,children:"293144576"})]})}),s=()=>r(h,{gap:3,children:[r(c,{children:[n(c.Name,{children:"КПП"}),n(c.Value,{canCopy:!0,children:"293144576"})]}),r(c,{children:[n(c.Name,{children:"Снилс"}),n(c.Value,{canCopy:!0,copyPosition:"left",children:"23339576886"})]})]}),u=()=>r(h,{gap:3,children:[r(c,{leader:!0,children:[n(c.Name,{children:"ФИО"}),n(c.Value,{children:"Швецова М. Д."})]}),r(c,{leader:!0,children:[n(c.Name,{children:"ФИО"}),n(c.Value,{children:"Швецова Мария Дмитриевна"})]})]}),V=()=>r(h,{gap:3,children:[r(c,{direction:"row",children:[n(c.Name,{children:"ИНН"}),n(c.Value,{children:"295995231495"})]}),r(c,{direction:"column",children:[n(c.Name,{children:"Описание"}),n(c.Value,{children:"ИНН физического лица является последовательностью из 12 цифр"})]})]}),N=()=>r(h,{gap:3,children:[r(c,{justifyContent:"space-between",children:[n(c.Name,{children:"ФИО"}),n(c.Value,{children:"Швецова М. Д."})]}),r(c,{justifyContent:"space-between",children:[n(c.Name,{children:"ФИО"}),n(c.Value,{children:"Швецова Мария Дмитриевна"})]})]}),y=()=>r(h,{gap:3,children:[r(c,{justifyContent:"space-between",children:[n(c.Name,{children:"ИНН"}),n(c.Value,{canCopy:!0,children:"295995231495"})]}),r(c,{justifyContent:"space-between",children:[n(c.Name,{children:"Описание"}),n(c.Value,{canCopy:!0,copyPosition:"left",children:"ИНН физического лица является последовательностью из 12 цифр"})]})]}),C=()=>r(h,{gap:4,children:[r(c,{children:[n(c.Name,{children:"Описания ИНН юридического лица"}),n(c.Value,{children:"ИНН юридического лица — последовательность из 10 арабских цифр"})]}),r(c,{children:[n(o,{children:"Описания ИНН юридического лица"}),n(t,{children:"ИНН юридического лица — последовательность из 10 арабских цифр"})]})]}),g=()=>n(h,{gap:3,children:r(c,{leader:!0,children:[n(c.Name,{children:"Описания ИНН юридического лица"}),n(t,{children:"ИНН юридического лица — последовательность из 10 арабских цифр"})]})}),f=()=>n(h,{gap:3,children:r("dl",{children:[r(c,{component:"div",children:[n(c.Name,{children:"ИНН"}),n(c.Value,{children:"295995231495"})]}),r(c,{component:"div",children:[n(c.Name,{children:"КПП"}),n(c.Value,{children:"293144576"})]})]})}),w=()=>n(h,{gap:3,children:r(c,{leader:!0,children:[n(o,{children:"Полное именование"}),n(c.Value,{children:'_тест_ОАО "Тестовое коммерческое профессиональное учреждение Специальное управление службы №007 Министерство Внутренней Разработки по делам тестирования, исправления, чрезвычайным ситуациям и ликвидации последствии действия багов"'})]})}),b=()=>r(h,{gap:3,children:[r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{color:"grey",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{color:"warning",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{color:"error",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{color:"success",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{color:"primary",children:"Значение показателя"})]})]}),j=()=>r(h,{gap:3,children:[r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{canCopy:!0,color:"grey",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{canCopy:!0,color:"warning",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{canCopy:!0,color:"error",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{canCopy:!0,color:"success",children:"Значение показателя"})]}),r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{canCopy:!0,color:"primary",children:"Значение показателя"})]})]}),L=()=>n(h,{gap:3,children:r(c,{children:[n(c.Name,{children:"Название показателя"}),n(c.Value,{})]})});export{m as CanCopy,b as Colors,j as ColorsCanCopy,s as CopyPosition,f as DescriptionList,V as Direction,L as EmptyValue,p as Example,a as Interaction,N as JustifyContent,y as JustifyContentCanCopy,u as Leader,g as LongDescriptionValueLeader,C as LongLabelValue,w as ShortLabelWithLongValue,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createContext as t}from"react";import{DEFAULT_SEPARATOR as r}from"../constants.js";let e=t({leader:!1,separator:r,direction:"default"});export{e as DescriptionContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{DescriptionContext as e}from"../DescriptionContext.js";let t=({children:t,leader:o,separator:i,direction:n})=>r(e.Provider,{value:{leader:o,separator:i,direction:n},children:t});export{t as DescriptionContextProvider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DescriptionContextProvider.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DescriptionContext.js";export*from"./DescriptionContextProvider/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as r,jsx as e,jsxs as t}from"react/jsx-runtime";import{useContext as o}from"react";import{Typography as i}from"../../Typography/index.js";import{DescriptionContext as m}from"../DescriptionContext/index.js";import{DashedSeparator as n,Wrapper as p}from"./styles.js";let c=({children:c,color:l="textSecondary",...d})=>{let{leader:s,separator:a}=o(m);return t(r,{children:[e(p,{$leader:s,children:t(i,{...d,color:l,children:[c,!s&&a]})}),s&&e(n,{})]})};export{c as Name};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Name.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{styled as e}from"../../../theme/index.js";let r=e("dt",{shouldForwardProp:e=>"$leader"!==e})`
|
|
2
|
+
flex-shrink: 0;
|
|
3
|
+
|
|
4
|
+
max-width: ${({$leader:e})=>e?"calc(100% - 36px)":"calc(100% - 12px)"};
|
|
5
|
+
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
6
|
+
`,a=e("div")`
|
|
7
|
+
flex: 1;
|
|
8
|
+
|
|
9
|
+
min-width: 12px;
|
|
10
|
+
height: 4px;
|
|
11
|
+
margin-right: ${({theme:e})=>e.spacing(2)};
|
|
12
|
+
|
|
13
|
+
border-bottom: 1px dashed ${({theme:e})=>e.palette.grey[400]};
|
|
14
|
+
|
|
15
|
+
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
`;export{a as DashedSeparator,r as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{StyledCopyTypography as r,StyledTypography as o,Wrapper as i}from"./styles.js";import{useLogic as t}from"./useLogic/index.js";let n=n=>{let{valueToRender:c,isDefaultValueRender:d,leader:l,direction:m}=t(n),{copyPosition:p="right",copyText:s,canCopy:a,children:h,stub:u,...x}=n;return d?e(o,{$direction:m,component:"dd",$leader:l,...x,children:c}):e(i,{children:e(r,{copyPosition:p,copyText:s,$direction:m,$leader:l,component:"div",...x,children:c})})};export{n as Value};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Value.js";
|
|
@@ -18,7 +18,7 @@ export declare const StyledTypography: import("@emotion/styled").StyledComponent
|
|
|
18
18
|
color?: import("../../index.ts").TypographyColor;
|
|
19
19
|
variant?: import("../../index.ts").TypographyVariant;
|
|
20
20
|
colorIntensity?: import("../../index.ts").Intensity;
|
|
21
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
21
|
+
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>;
|
|
22
22
|
isUpperCase?: boolean;
|
|
23
23
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledTypographyProps, {}, {}>;
|
|
24
24
|
export declare const StyledCopyTypography: import("@emotion/styled").StyledComponent<{
|
|
@@ -32,7 +32,7 @@ export declare const StyledCopyTypography: import("@emotion/styled").StyledCompo
|
|
|
32
32
|
color?: import("../../index.ts").TypographyColor;
|
|
33
33
|
variant?: import("../../index.ts").TypographyVariant;
|
|
34
34
|
colorIntensity?: import("../../index.ts").Intensity;
|
|
35
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
35
|
+
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>;
|
|
36
36
|
isUpperCase?: boolean;
|
|
37
37
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
38
38
|
copyText?: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{CopyTypography as r,Typography as e}from"../../index.js";import{styled as o}from"../../../theme/index.js";let t=o(e,{shouldForwardProp:r=>!["$canCopy","$leader","$direction"].includes(r.toString())})`
|
|
2
|
+
cursor: ${({$canCopy:r})=>r?"pointer":"default"};
|
|
3
|
+
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
|
|
6
|
+
hyphens: auto;
|
|
7
|
+
text-align: ${({$leader:r})=>r?"right":"left"};
|
|
8
|
+
overflow-wrap: break-word;
|
|
9
|
+
|
|
10
|
+
${({theme:r})=>r.breakpoints.down("sm")} {
|
|
11
|
+
text-align: ${({$direction:r})=>"row"!==r?"left":"right"};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
text-decoration: ${({$canCopy:r})=>r?"underline":"none"};
|
|
16
|
+
}
|
|
17
|
+
`,i=o(r,{shouldForwardProp:r=>!["$leader","$direction"].includes(r.toString())})`
|
|
18
|
+
display: unset;
|
|
19
|
+
|
|
20
|
+
hyphens: auto;
|
|
21
|
+
text-align: ${({$leader:r})=>r?"right":"left"};
|
|
22
|
+
overflow-wrap: break-word;
|
|
23
|
+
|
|
24
|
+
${({theme:r})=>r.breakpoints.down("sm")} {
|
|
25
|
+
text-align: ${({$direction:r})=>"row"!==r?"left":"right"};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& > svg {
|
|
29
|
+
margin-bottom: ${({theme:r})=>r.spacing(-1)};
|
|
30
|
+
}
|
|
31
|
+
`,n=o("dd")`
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
|
|
34
|
+
margin: 0;
|
|
35
|
+
`;export{i as StyledCopyTypography,t as StyledTypography,n as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./useLogic.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useContext as e}from"react";import{ConfigContext as r}from"../../../ConfigProvider/index.js";import{DescriptionContext as o}from"../../DescriptionContext/index.js";let t=({canCopy:t,children:i,stub:n})=>{let{emptySymbol:m}=e(r),{leader:d,direction:f}=e(o);return{valueToRender:i||n||m,isDefaultValueRender:!t||!i,leader:d,direction:f}};export{t as useLogic};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let A=":",t="—",E="astral-ui_descriptionRoot";export{A as DEFAULT_SEPARATOR,t as DEFAULT_SYMBOL,E as DESCRIPTION_ROOT_CLASSNAME};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./constants.js";export*from"./Description.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{styled as e}from"../../theme/index.js";let o=e("div",{shouldForwardProp:e=>!["$justifyContent","as","$direction"].includes(e.toString())})`
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: ${({$direction:e})=>"default"===e?"row":e};
|
|
5
|
+
align-items: baseline;
|
|
6
|
+
justify-content: ${({$justifyContent:e})=>e};
|
|
7
|
+
|
|
8
|
+
margin: 0;
|
|
9
|
+
|
|
10
|
+
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
11
|
+
flex-direction: ${({$direction:e})=>"default"===e?"column":e};
|
|
12
|
+
|
|
13
|
+
.MuiTypography-root {
|
|
14
|
+
font-size: ${({theme:e})=>e.typography.fontSize};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;export{o as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./useLogic.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useViewportType as o}from"../../../hooks/index.js";import{DEFAULT_SEPARATOR as t}from"../constants.js";let r=({direction:r="default",separator:e=t})=>{let{isMobile:s}=o();return{descriptionContextProviderProps:{separator:"column"===r||s&&"default"===r?"":e},direction:r}};export{r as useLogic};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r,jsxs as i}from"react/jsx-runtime";import{useCallback as t}from"react";import{Description as o}from"../Description/index.js";import{GuidTypography as e}from"../GuidTypography/index.js";import{Tag as n}from"../Tag/index.js";import{Typography as l}from"../Typography/index.js";import{ListWrapper as p,StyledDescriptionName as c,StyledDescriptionValue as a,Wrapper as d}from"./styles.js";import{getTooltipProps as m}from"./utils/index.js";let s=({items:s,variant:h="default",title:f,direction:u,...y})=>{let x=t((i,t)=>{let{renderValue:l,color:p,canCopy:c,copyPosition:d,variant:s,copyText:h}=t;if(l)return l(i,t);if("tag"===s)return r(o.Value,{children:r(n,{label:i,color:p,variant:"light"})});if("guid"===s){let t=m(c);return r(a,{canCopy:c,$isCopy:c,color:p,copyPosition:d,copyText:h,children:r(e,{tooltipProps:t,children:i})})}return r(o.Value,{canCopy:c,color:p,copyPosition:d,children:i})},[]);return i(d,{$variant:h,children:[f&&("string"==typeof f?r(l,{variant:"h6",children:f}):f),r(p,{$direction:u,children:s.map(({name:t,value:e,options:n})=>{let{nameMaxWidth:l,...p}=n||{};return i(o,{direction:u,...y,component:"div",children:[r(c,{$nameMaxWidth:l,$direction:u,children:t}),x(e,p)]},`${t}:${e}`)})})]})};export{s as DescriptionList};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";import{styled as a}from"../../theme/index.js";import{Button as o}from"../Button/index.js";import{Typography as n}from"../Typography/index.js";import{DescriptionList as t}from"./DescriptionList.js";let i={title:"Components/DescriptionList",component:t},r={args:{items:[{name:"ИНН",value:"295995231495",options:{nameMaxWidth:"200px",color:"primary",canCopy:!0}},{name:"Описание",value:"ИНН физического лица является последовательностью из 12 цифр",options:{nameMaxWidth:"300px",color:"error"}}],justifyContent:"space-between",leader:!0,separator:":",title:"Заголовок блока"},parameters:{options:{showPanel:!0},docs:{disable:!0}}},m=a("div")`
|
|
2
|
+
width: 400px;
|
|
3
|
+
`,s=a("div")`
|
|
4
|
+
width: 200px;
|
|
5
|
+
`,l=()=>e(t,{items:[{name:"ИНН",value:"295995231495",options:{canCopy:!0}},{name:"Описание ИНН физического лица",value:"ИНН физического лица является последовательностью из 12 цифр"},{name:"СНИЛС",value:""}],variant:"contained",title:"Данные физ. лица"}),p=()=>e(t,{items:[{name:"ИНН",value:"295995231495",options:{canCopy:!0}},{name:"СНИЛС",value:"23339576886"}]}),u=()=>e(t,{items:[{name:"ИНН",value:"295995231495",options:{canCopy:!0,copyPosition:"left"}},{name:"СНИЛС",value:"23339576886",options:{canCopy:!0}}]}),c=()=>e(s,{children:e(t,{items:[{name:"ИНН",value:"295995231495",options:{canCopy:!0}},{name:"guid",value:"83273239-19d9-47db-ae3b-d4c6f24bbbee",options:{canCopy:!0,variant:"guid",copyText:"83273239-19d9-47db-ae3b-d4c6f24bbbee"}}]})}),v=()=>e(t,{variant:"contained",items:[{name:"ИНН",value:"295995231495",options:{canCopy:!0}},{name:"Описание ИНН физического лица",value:"ИНН физического лица является последовательностью из 12 цифр"},{name:"СНИЛС",value:""}]}),d=()=>e(t,{items:[{name:"Полное именование",value:'_тест_ОАО "Тестовое коммерческое профессиональное учреждение\n Специальное управление службы №007 Министерство Внутренней Разработки\n по делам тестирования, исправления, чрезвычайным ситуациям и\n ликвидации последствии действия багов"',options:{nameMaxWidth:"100px"}},{name:"Описания ИНН юридического лица",value:"ИНН юридического лица — последовательность из 10 арабских цифр"}]}),y=()=>e(t,{items:[{name:"ФИО",value:"Швецова М. Д."},{name:"ФИО",value:"Швецова Мария Дмитриевна"}],justifyContent:"space-between"}),C=()=>e(t,{items:[{name:"ФИО",value:"Швецова М. Д.",options:{canCopy:!0}},{name:"Описание",value:"ИНН юридического лица — последовательность из 10 арабских цифр",options:{canCopy:!0,copyPosition:"left"}}],justifyContent:"space-between"}),b=()=>e(t,{items:[{name:"ФИО",value:"Швецова М. Д."},{name:"ФИО",value:"Швецова Мария Дмитриевна"}],leader:!0}),g=()=>e(t,{items:[{name:"ФИО",value:"Швецова М. Д."},{name:"ФИО",value:"Швецова Мария Дмитриевна"}],direction:"column"}),x=()=>e(t,{items:[{name:"ФИО",value:"Швецова М. Д."},{name:"ФИО",value:"Швецова Мария Дмитриевна"}],separator:"-"}),f=()=>{let a=[{name:"Название показателя",value:"Значение показателя",options:{renderValue:a=>e(o,{variant:"text",children:a})}},{name:"Название показателя",value:"Значение показателя",options:{renderValue:a=>e(n,{color:"primary",children:a})}}];return e(t,{items:a})},h=()=>e(t,{items:[{name:"Название показателя",value:"Значение показателя",options:{color:"grey",variant:"tag"}},{name:"Название показателя",value:"Значение показателя",options:{color:"warning",variant:"tag"}},{name:"Название показателя",value:"Значение показателя",options:{color:"error",variant:"tag"}},{name:"Название показателя",value:"Значение показателя",options:{color:"success",variant:"tag"}},{name:"Название показателя",value:"Значение показателя",options:{color:"primary",variant:"tag"}}]}),w=()=>e(s,{children:e(t,{items:[{name:"guid",value:"c9b9b0ed-99b0-4d6a-9bf3-d9205398ca95",options:{variant:"guid"}},{name:"guid",value:"fd81ae06-cbd4-48a5-8852-547119bb7aa6",options:{variant:"guid",canCopy:!0,copyText:"fd81ae06-cbd4-48a5-8852-547119bb7aa6"}}]})}),j=()=>e(m,{children:e(t,{items:[{name:"Полное наименование",value:'ПРЕДСТАВИТЕЛЬСТВО АО"КАЛУГА АСТРАЛ" (Г.БАРНАУЛ)#1 '},{name:"Краткое наименование",value:'АО"КАЛУГА АСТРАЛ"'}],leader:!0})}),L=()=>e(m,{children:e(t,{items:[{name:"Описания ИНН юридического лица",value:"ИНН юридического лица — последовательность из 10 арабских цифр"},{name:"Описания ИНН юридического лица",value:'ИНН юридического лица — последовательность из 10 арабских цифр"',options:{nameMaxWidth:"100px"}}]})}),V=()=>e(t,{items:[{name:"Название показателя",value:"Значение показателя",options:{color:"grey"}},{name:"Название показателя",value:"Значение показателя",options:{color:"warning"}},{name:"Название показателя",value:"Значение показателя",options:{color:"error"}},{name:"Название показателя",value:"Значение показателя",options:{color:"success"}},{name:"Название показателя",value:"Значение показателя",options:{color:"primary"}}]}),D=()=>e(t,{items:[{name:"Название показателя",value:"Значение показателя",options:{color:"grey",canCopy:!0}},{name:"Название показателя",value:"Значение показателя",options:{color:"warning",canCopy:!0}},{name:"Название показателя",value:"Значение показателя",options:{color:"error",canCopy:!0}},{name:"Название показателя",value:"Значение показателя",options:{color:"success",canCopy:!0}},{name:"Название показателя",value:"Значение показателя",options:{color:"primary",canCopy:!0}}]}),M=()=>e(t,{items:[{name:"ФИО",value:"Швецова М. Д"},{name:"СНИЛС",value:""}]});export{p as CanCopy,V as Colors,D as ColorsCanCopy,v as Contained,u as CopyPosition,c as CopyText,f as CustomRenderOption,g as Direction,M as EmptyValue,l as Example,r as Interaction,y as JustifyContent,C as JustifyContentCanCopy,b as Leader,j as LongDescriptionValueLeader,L as LongNameValue,d as NameMaxWidth,x as Separator,w as VariantGuid,h as VariantTag,i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DescriptionList.js";export*from"./types.js";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import{styled as i}from"../../theme/index.js";import{Description as r}from"../Description/index.js";let o=i(r.Name,{shouldForwardProp:i=>!["$nameMaxWidth, $direction"].includes(i.toString())})`
|
|
2
|
+
max-width: ${({$nameMaxWidth:i})=>i||"none"};
|
|
3
|
+
margin-bottom: ${({theme:i,$direction:r})=>Object.is(r,"column")?i.spacing(1):0};
|
|
4
|
+
|
|
5
|
+
${({theme:i})=>i.breakpoints.down("sm")} {
|
|
6
|
+
margin-bottom: ${({theme:i,$direction:r})=>Object.is(r,"row")?0:i.spacing(1)};
|
|
7
|
+
}
|
|
8
|
+
`,a=i("article",{shouldForwardProp:i=>!["$variant"].includes(i.toString())})`
|
|
9
|
+
display: grid;
|
|
10
|
+
row-gap: ${({theme:i})=>i.spacing(3)};
|
|
11
|
+
|
|
12
|
+
padding: ${({$variant:i,theme:r})=>"contained"===i?r.spacing(4):0};
|
|
13
|
+
|
|
14
|
+
background-color: ${({$variant:i,theme:r})=>"contained"===i?r.palette.background.default:"transparent"};
|
|
15
|
+
border: ${({$variant:i,theme:r})=>"contained"===i?`1px solid ${r.palette.grey[300]}`:"unset"};
|
|
16
|
+
border-radius: ${({theme:i})=>i.shape.small};
|
|
17
|
+
`,n=i("dl",{shouldForwardProp:i=>!["$direction"].includes(i.toString())})`
|
|
18
|
+
display: grid;
|
|
19
|
+
row-gap: ${({theme:i,$direction:r})=>Object.is(r,"column")?i.spacing(3):i.spacing(1)};
|
|
20
|
+
|
|
21
|
+
margin: 0;
|
|
22
|
+
|
|
23
|
+
${({theme:i})=>i.breakpoints.down("sm")} {
|
|
24
|
+
row-gap: ${({theme:i})=>i.spacing(3)};
|
|
25
|
+
}
|
|
26
|
+
`,e=i(r.Value,{shouldForwardProp:i=>!["$isCopy"].includes(i.toString())})`
|
|
27
|
+
display: ${({$isCopy:i})=>i&&"flex"};
|
|
28
|
+
|
|
29
|
+
width: ${({$isCopy:i})=>i&&"calc(100% - 20px)"};
|
|
30
|
+
`;export{n as ListWrapper,o as StyledDescriptionName,e as StyledDescriptionValue,a as Wrapper};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let o=o=>o?{title:void 0}:void 0;export{o as getTooltipProps};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./getTooltipProps.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getTooltipProps as o}from"./getTooltipProps/index.js";export{o as getTooltipProps};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{DescriptionList as t}from"../DescriptionList/index.js";import{StyledTooltip as i}from"./styles.js";function o({arrow:o,followCursor:e,children:n,...s}){return r(i,{arrow:!0,title:r(t,{...s}),children:n})}export{o as DescriptionTooltip};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DescriptionTooltip.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{tooltipClasses as o}from"@mui/material";import{styled as t}from"../../theme/index.js";import{Tooltip as i}from"../Tooltip/index.js";let e=t(i)`
|
|
2
|
+
.${o.tooltip} {
|
|
3
|
+
background-color: ${({theme:o})=>o.palette.common.white};
|
|
4
|
+
color: ${({theme:o})=>o.palette.text.primary};
|
|
5
|
+
box-shadow: ${({theme:o})=>o.shadows[1]};
|
|
6
|
+
font-size: 11px;
|
|
7
|
+
width: auto;
|
|
8
|
+
max-width: 400px;
|
|
9
|
+
padding: ${({theme:o})=>o.spacing(2)};
|
|
10
|
+
box-shadow: ${({theme:o})=>o.shadows[4]};
|
|
11
|
+
}
|
|
12
|
+
`;export{e as StyledTooltip};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useViewportType as e}from"../../hooks/index.js";import{BottomDrawer as i}from"../BottomDrawer/index.js";import{DialogTitle as t}from"../DialogTitle/index.js";import{StyledDialog as l}from"./styles.js";let m=({children:m,title:s,disableBackdropClick:n,onClose:d,size:p="md",...c})=>{let a=d&&((o,r)=>{n&&"backdropClick"===r||d(o,r)}),{isMobile:f}=e();return f?o(i,{onClose:a,title:s,children:m}):r(l,{$size:p,onClose:a,...c,children:[s&&o(t,{onClose:d,children:s}),m]})};export{m as Dialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as i,jsx as e,jsxs as l}from"react/jsx-runtime";import{useState as n}from"react";import{Button as r}from"../Button/index.js";import{Container as o}from"../Container/index.js";import{DescriptionList as c}from"../DescriptionList/index.js";import{DialogActions as t}from"../DialogActions/index.js";import{DialogContent as a}from"../DialogContent/index.js";import{DialogContentText as d}from"../DialogContentText/index.js";import{DialogHeader as h}from"../DialogHeader/index.js";import{Tag as s}from"../Tag/index.js";import{Typography as C}from"../Typography/index.js";import{Dialog as m}from"./Dialog.js";let g={title:"Components/Dialog",component:m},p={args:{title:"Заголовок диалога",open:!1},parameters:{docs:{disable:!0}}},u=[{name:"Дата поступления",value:"12.06.2024 в 11:11"},{name:"Тип заявки",value:"Создание"},{name:"ID учетной записи",value:"4d1f0594-bc22-4660-8e7d-83a024126ef3"},{name:"ID док-оборота",value:"222a1343-rf12-6660-1e3q-88a911143yr1"},{name:"ИНН",value:"77724528768"},{name:"КПП",value:"772401001"},{name:"Конфигурация",value:"Значение показателя"},{name:"Удостоверенный центр",value:"УЦ \xabКалуга Астрал\xbb"}],k=()=>{let[o,c]=n(!1),h=()=>{c(!1)};return l(i,{children:[e(r,{onClick:()=>{c(!0)},children:"Default dialog"}),l(m,{open:o,onClose:h,title:"Заголовок",children:[e(a,{children:e(d,{children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),l(t,{children:[e(r,{variant:"text",onClick:h,children:"Отмена"}),e(r,{autoFocus:!0,onClick:h,children:"Готово"})]})]})]})},v=()=>{let[o,c]=n(!1),h=()=>{c(!1)};return l(i,{children:[e(r,{onClick:()=>{c(!0)},children:"Custom title"}),l(m,{open:o,onClose:h,title:l(i,{children:["Заголовок",e(C,{color:"grey",colorIntensity:"500",children:"| Подзаголовок"})]}),children:[e(a,{children:e(d,{children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),l(t,{children:[e(r,{variant:"text",onClick:h,children:"Отмена"}),e(r,{autoFocus:!0,onClick:h,children:"Готово"})]})]})]})},x=()=>{let[c,C]=n(!1),[g,p]=n(!1),u=()=>{C(!1)},k=()=>{p(!1)};return l(i,{children:[l(o,{gap:2,children:[e(r,{onClick:()=>{C(!0)},children:"Dialog header left"}),e(r,{onClick:()=>{p(!0)},children:"Dialog header left"})]}),l(m,{open:c,onClose:u,children:[e(h,{title:"Заголовок",onClose:u,children:e(s,{variant:"light",label:"Light Tag",color:"primary"})}),e(a,{children:e(d,{id:"alert-dialog-description",children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),l(t,{children:[e(r,{variant:"text",onClick:u,children:"Отмена"}),e(r,{autoFocus:!0,onClick:u,children:"Готово"})]})]}),l(m,{open:g,onClose:k,children:[e(h,{title:"Заголовок",onClose:k,justifyContent:"flex-end",children:e(s,{variant:"contained",label:"Light Tag",color:"primary"})}),e(a,{children:e(d,{id:"alert-dialog-description",children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),l(t,{children:[e(r,{variant:"text",onClick:k,children:"Отмена"}),e(r,{autoFocus:!0,onClick:k,children:"Готово"})]})]})]})},D=()=>{let[c,h]=n(!1),[s,C]=n(!1),g=()=>{h(!1)},p=()=>{C(!1)};return l(i,{children:[l(o,{gap:2,children:[e(r,{onClick:()=>{h(!0)},children:"Dialog actions"}),e(r,{onClick:()=>{C(!0)},children:"Dialog more actions"})]}),l(m,{open:c,onClose:g,title:"Заголовок",children:[e(a,{children:e(d,{children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),l(t,{children:[e(r,{variant:"text",onClick:g,children:"Отмена"}),e(r,{autoFocus:!0,onClick:g,children:"Готово"})]})]}),l(m,{open:s,onClose:p,title:"Заголовок",children:[e(a,{children:e(d,{id:"alert-dialog-description",children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),l(t,{children:[e(r,{variant:"text",onClick:p,children:"Вернуться позже"}),e(r,{variant:"text",onClick:p,children:"Отмена"}),e(r,{autoFocus:!0,onClick:p,children:"Готово"})]})]})]})},f=()=>{let[d,h]=n(!1),[s,C]=n(!1),[g,p]=n(!1),[k,v]=n(!1),[x,D]=n(!1),f=()=>{h(!1)},j=()=>{C(!1)},z=()=>{p(!1)},y=()=>{v(!1)},F=()=>{D(!1)};return l(i,{children:[l(o,{gap:2,children:[e(r,{onClick:()=>h(i=>!i),children:"Dialog xs size"}),e(r,{onClick:()=>C(i=>!i),children:"Dialog sm size"}),e(r,{onClick:()=>p(i=>!i),children:"Dialog md size"}),e(r,{onClick:()=>v(i=>!i),children:"Dialog lg size"}),e(r,{onClick:()=>D(i=>!i),children:"Dialog xl size"})]}),l(m,{open:d,onClose:f,title:"Заявка",size:"xs",children:[e(a,{children:e(c,{items:u,leader:!0})}),l(t,{children:[e(r,{onClick:f,variant:"light",color:"error",children:"Отклонить"}),e(r,{onClick:f,variant:"light",color:"success",children:"Принять"})]})]}),l(m,{open:s,onClose:j,title:"Заявка",size:"sm",children:[e(a,{children:e(c,{items:u,leader:!0})}),l(t,{children:[e(r,{onClick:j,variant:"light",color:"error",children:"Отклонить"}),e(r,{onClick:j,variant:"light",color:"success",children:"Принять"})]})]}),l(m,{open:g,onClose:z,title:"Заявка",size:"md",children:[e(a,{children:e(c,{items:u,leader:!0})}),l(t,{children:[e(r,{onClick:z,variant:"light",color:"error",children:"Отклонить"}),e(r,{onClick:z,variant:"light",color:"success",children:"Принять"})]})]}),l(m,{open:k,onClose:y,title:"Заявка",size:"lg",children:[e(a,{children:e(c,{items:u,leader:!0})}),l(t,{children:[e(r,{onClick:y,variant:"light",color:"error",children:"Отклонить"}),e(r,{onClick:y,variant:"light",color:"success",children:"Принять"})]})]}),l(m,{open:x,onClose:F,title:"Заявка",size:"xl",children:[e(a,{children:e(c,{items:u,leader:!0})}),l(t,{children:[e(r,{onClick:F,variant:"light",color:"error",children:"Отклонить"}),e(r,{onClick:F,variant:"light",color:"success",children:"Принять"})]})]})]})};export{x as CustomHeader,v as CustomTitle,D as DialogActions,k as Example,p as Interaction,f as Size,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let x={xs:{minWidth:"300px",maxWidth:"399px"},sm:{minWidth:"400px",maxWidth:"499px"},md:{minWidth:"500px",maxWidth:"599px"},lg:{minWidth:"600px",maxWidth:"699px"},xl:{minWidth:"700px",maxWidth:"980px"}};export{x as SIZES};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Dialog.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{Dialog as o,backdropClasses as t,dialogClasses as r}from"@mui/material";import{styled as i}from"../../theme/index.js";import{SIZES as m}from"./constants.js";let d=o=>m[o]||m.md,a=i(o,{shouldForwardProp:o=>!["$size"].includes(o.toString())})`
|
|
2
|
+
&.${r.root} .${t.root} {
|
|
3
|
+
background-color: ${({theme:o})=>o.palette.background.modalShadow};
|
|
4
|
+
}
|
|
5
|
+
.${r.paper} {
|
|
6
|
+
min-width: ${({$size:o})=>d(o).minWidth};
|
|
7
|
+
max-width: ${({$size:o})=>d(o).maxWidth};
|
|
8
|
+
}
|
|
9
|
+
`;export{a as StyledDialog};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{StyledDialogActions as t}from"./styles.js";let o=({children:o,...e})=>r(t,{...e,children:o});export{o as DialogActions};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as i,jsx as o,jsxs as n}from"react/jsx-runtime";import{useState as e}from"react";import{Button as t}from"../Button/index.js";import{Container as r}from"../Container/index.js";import{Dialog as l}from"../Dialog/index.js";import{DialogContent as c}from"../DialogContent/index.js";import{DialogContentText as a}from"../DialogContentText/index.js";import{DialogActions as d}from"./DialogActions.js";let s={title:"Components/DialogActions",component:d},m={args:{children:o(t,{children:"Готово"})},parameters:{docs:{disable:!0}}},h=()=>{let[s,m]=e(!1),[h,p]=e(!1),C=()=>{m(!1)},x=()=>{p(!1)};return n(i,{children:[n(r,{gap:2,children:[o(t,{onClick:()=>{m(!0)},children:"Dialog actions"}),o(t,{onClick:()=>{p(!0)},children:"Dialog more actions"})]}),n(l,{open:s,onClose:C,title:"Заголовок",children:[o(c,{children:o(a,{children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),n(d,{children:[o(t,{variant:"text",onClick:C,children:"Отмена"}),o(t,{autoFocus:!0,onClick:C,children:"Готово"})]})]}),n(l,{open:h,onClose:x,title:"Заголовок",children:[o(c,{children:o(a,{id:"alert-dialog-description",children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),n(d,{children:[o(t,{variant:"text",onClick:x,children:"Вернуться позже"}),o(t,{variant:"text",onClick:x,children:"Отмена"}),o(t,{autoFocus:!0,onClick:x,children:"Готово"})]})]})]})};export{h as Example,m as Interaction,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DialogActions.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{StyledDialogContent as o}from"./styles.js";let r=r=>t(o,{...r});export{r as DialogContent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as o,jsx as t,jsxs as e}from"react/jsx-runtime";import{useState as i}from"react";import{Button as n}from"../Button/index.js";import{Dialog as r}from"../Dialog/index.js";import{DialogActions as l}from"../DialogActions/index.js";import{DialogContentText as a}from"../DialogContentText/index.js";import{DialogContent as c}from"./DialogContent.js";let m={title:"Components/DialogContent",component:c},d={args:{children:"DialogContent"},parameters:{docs:{disable:!0}}},s=()=>{let[m,d]=i(!1),s=()=>{d(!1)};return e(o,{children:[t(n,{onClick:()=>{d(!0)},children:"Default dialog"}),e(r,{open:m,onClose:s,title:"Заголовок",children:[t(c,{children:t(a,{children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),e(l,{children:[t(n,{variant:"text",onClick:s,children:"Отмена"}),t(n,{autoFocus:!0,onClick:s,children:"Готово"})]})]})]})};export{s as Example,d as Interaction,m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DialogContent.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{DialogContent as t}from"@mui/material";import{styled as i}from"../../theme/index.js";let o=i(t)`
|
|
2
|
+
padding-bottom: ${({theme:t})=>t.spacing(6)};
|
|
3
|
+
|
|
4
|
+
${({theme:t})=>t.breakpoints.down("sm")} {
|
|
5
|
+
padding: ${({theme:t})=>t.spacing(5,4)};
|
|
6
|
+
}
|
|
7
|
+
`;export{o as StyledDialogContent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{StyledDialogContentText as e}from"./styles.js";let o=o=>t(e,{...o});export{o as DialogContentText};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as t,jsx as o,jsxs as e}from"react/jsx-runtime";import{useState as i}from"react";import{Button as n}from"../Button/index.js";import{Dialog as r}from"../Dialog/index.js";import{DialogActions as l}from"../DialogActions/index.js";import{DialogContent as a}from"../DialogContent/index.js";import{DialogContentText as c}from"./DialogContentText.js";let m={title:"Components/DialogContentText",component:c},d={args:{children:"DialogContentText"},parameters:{docs:{disable:!0}}},s=()=>{let[m,d]=i(!1),s=()=>{d(!1)};return e(t,{children:[o(n,{onClick:()=>{d(!0)},children:"Default dialog"}),e(r,{open:m,onClose:s,title:"Заголовок",children:[o(a,{children:o(c,{children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),e(l,{children:[o(n,{variant:"text",onClick:s,children:"Отмена"}),o(n,{autoFocus:!0,onClick:s,children:"Готово"})]})]})]})};export{s as Example,d as Interaction,m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DialogContentText.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{X as t}from"lucide-react";import{IconButton as i}from"../IconButton/index.js";import{Typography as o}from"../Typography/index.js";import{HeaderContent as n,Wrapper as a}from"./styles.js";let l=({children:l,title:c,justifyContent:m="flex-start",disableSpacing:s,onClose:p})=>r(a,{hasTitle:!!c,hasOnClose:!!p,children:[c&&e(o,{variant:"h4",children:c}),e(n,{justifyContent:m,columnSpacing:2*!s,children:l}),p&&e(i,{variant:"text",onClick:e=>{p&&p(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:e(t,{})})]});export{l as DialogHeader};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as e,jsx as i,jsxs as o}from"react/jsx-runtime";import{useState as r}from"react";import{Button as n}from"../Button/index.js";import{Container as t}from"../Container/index.js";import{Dialog as l}from"../Dialog/index.js";import{DialogActions as a}from"../DialogActions/index.js";import{DialogContent as d}from"../DialogContent/index.js";import{DialogContentText as c}from"../DialogContentText/index.js";import{Tag as m}from"../Tag/index.js";import{DialogHeader as s}from"./DialogHeader.js";let h={title:"Components/DialogHeader",component:s},p={args:{title:"Заголовок диалога"},parameters:{docs:{disable:!0}}},g=()=>{let[h,p]=r(!1),[g,f]=r(!1),C=()=>{p(!1)},x=()=>{f(!1)};return o(e,{children:[o(t,{gap:2,children:[i(n,{onClick:()=>{p(!0)},children:"Dialog header left"}),i(n,{onClick:()=>{f(!0)},children:"Dialog header left"})]}),o(l,{open:h,onClose:C,children:[i(s,{title:"Заголовок",onClose:C,children:i(m,{variant:"light",label:"Light Tag",color:"primary"})}),i(d,{children:i(c,{id:"alert-dialog-description",children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),o(a,{children:[i(n,{variant:"text",onClick:C,children:"Отмена"}),i(n,{autoFocus:!0,onClick:C,children:"Готово"})]})]}),o(l,{open:g,onClose:x,children:[i(s,{title:"Заголовок",onClose:x,justifyContent:"flex-end",children:i(m,{variant:"contained",label:"Light Tag",color:"primary"})}),i(d,{children:i(c,{id:"alert-dialog-description",children:"Заглушка примера текста страницы, который несет очень важный смысл для пользователя и предлагает ему варианты выбора действий с контентом и в рамках работы приложения."})}),o(a,{children:[i(n,{variant:"text",onClick:x,children:"Отмена"}),i(n,{autoFocus:!0,onClick:x,children:"Готово"})]})]})]})};export{g as Example,p as Interaction,h as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DialogHeader.js";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{styled as e}from"../../theme/index.js";let n=e("div",{label:"DialogHeader-root",shouldForwardProp:e=>!["hasTitle","hasOnClose"].includes(e.toString())})`
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
display: grid;
|
|
4
|
+
grid-template-columns: ${({hasTitle:e,hasOnClose:n})=>e&&n?"max-content 1fr 32px":e?"max-content 1fr":n?"1fr 32px":"1fr"};
|
|
5
|
+
column-gap: ${({theme:e})=>e.spacing(2)};
|
|
6
|
+
align-items: center;
|
|
7
|
+
|
|
8
|
+
height: auto;
|
|
9
|
+
padding: ${({theme:e})=>e.spacing(4,6)};
|
|
10
|
+
`,t=e("div",{shouldForwardProp:e=>!["justifyContent","columnSpacing"].includes(e.toString()),label:"DialogHeader-content"})`
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
display: flex;
|
|
13
|
+
column-gap: ${({columnSpacing:e,theme:n})=>n.spacing(e)};
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: ${({justifyContent:e})=>e};
|
|
16
|
+
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
padding: 0;
|
|
20
|
+
`;export{t as HeaderContent,n as Wrapper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as i,jsxs as e}from"react/jsx-runtime";import{DialogTitle as t}from"@mui/material";import{X as r}from"lucide-react";import{IconButton as o}from"../IconButton/index.js";let a=({children:a,onClose:l,...m})=>e(t,{...m,children:[a,l&&i(o,{variant:"text",onClick:i=>{l&&l(i,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:i(r,{})})]});export{a as DialogTitle};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DialogTitle.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{Divider as r}from"@mui/material";let e=e=>i(r,{...e});export{e as Divider};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{Fragment as i,jsx as t,jsxs as r}from"react/jsx-runtime";import"react";import{styled as e}from"../../theme/index.js";import{Container as n}from"../Container/index.js";import{List as o}from"../List/index.js";import{ListItem as m}from"../ListItem/index.js";import{ListItemButton as l}from"../ListItemButton/index.js";import{ListItemText as a}from"../ListItemText/index.js";import{Divider as d}from"./Divider.js";let p={title:"Components/Divider",component:d},s=e("div")`
|
|
2
|
+
padding: 10px;
|
|
3
|
+
align-items: flex-center;
|
|
4
|
+
text-align: center;
|
|
5
|
+
`,f=()=>r(o,{children:[t(m,{children:t(a,{primary:"Inbox"})}),t(d,{}),t(m,{divider:!0,children:t(a,{primary:"Drafts"})}),t(l,{children:t(a,{primary:"Button"})}),t(d,{light:!0}),t(l,{children:t(a,{primary:"Button"})}),t(d,{})]}),c=()=>t(i,{children:r(n,{templateRows:"1fr 1fr",templateColumns:"1fr 1fr",gap:5,children:[t(s,{children:"Horizontal"}),t(d,{orientation:"horizontal",flexItem:!0}),t(s,{children:"Vertical"}),t(d,{orientation:"vertical",flexItem:!0}),t(s,{})]})});export{f as Example,c as Orientation,p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Divider.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as r,jsx as e,jsxs as o}from"react/jsx-runtime";import{ClickAwayListener as n}from"@mui/material";import{useMenu as i}from"../../hooks/index.js";import{Button as t}from"../Button/index.js";import{Chevron as m}from"../Chevron/index.js";import{Menu as c}from"../Menu/index.js";let d=({children:d,name:l,popoverProps:p,...s})=>{let{open:f,anchorRef:h,handleOpenMenu:u,handleCloseMenu:x}=i();return o(r,{children:[e(n,{onClickAway:x,children:e(t,{...s,ref:h,selected:f,onClick:u,endIcon:e(m,{isActive:f}),children:l})}),e(c,{open:f,anchorEl:h.current,...p,children:d})]})};export{d as DropdownButton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as n,jsx as r,jsxs as e}from"react/jsx-runtime";import{MessageCircleMore as i}from"lucide-react";import"react";import{Container as o,MenuItem as l,Typography as a}from"../index.js";import{DropdownButton as c}from"./DropdownButton.js";let t={title:"Components/DropdownButton",component:c},d=()=>["Вариант выбора 1","Вариант выбора 2","Вариант выбора 3"].map(n=>r(l,{onClick:()=>console.log("v1"),children:n},n)),h={args:{children:d(),name:"Действие",variant:"contained",color:"primary",size:"large",fullWidth:!1},parameters:{docs:{disable:!0}}},m=()=>e(o,{gap:4,children:[r(c,{name:"Default",children:d()}),r(c,{disabled:!0,name:"Disabled",children:d()}),r(c,{loading:!0,name:"Loading",children:d()})]}),s=()=>r(c,{startIcon:r(i,{}),variant:"light",name:"With icon",children:d()}),g=()=>{let o=e(n,{children:[r(l,{note:"Перейти в профиль",onClick:()=>console.log("v1"),children:"Профиль"}),r(l,{onClick:()=>console.log("v3"),children:"Выход"})]});return r(c,{startIcon:r(i,{}),variant:"light",name:"With icon",children:o})},p=()=>{let o=e(n,{children:[r(l,{disabledReason:"Заблокировано",disabled:!0,onClick:()=>console.log("v1"),children:"Профиль"}),r(l,{onClick:()=>console.log("v3"),children:"Выход"})]});return r(c,{startIcon:r(i,{}),variant:"light",name:"With icon",children:o})},v=()=>e(o,{gap:5,direction:"column",children:[r(a,{variant:"h6",children:"Variant"}),e(o,{gap:4,children:[e(c,{name:"Default",children:[" ",r(l,{onClick:()=>console.log("v1"),children:"Вариант выбора 1"}),r(l,{onClick:()=>console.log("v2"),children:"Вариант выбора 2"}),r(l,{onClick:()=>console.log("v3"),children:"Вариант выбора 3"})]}),r(c,{variant:"light",name:"Light",children:d()}),r(c,{variant:"text",name:"Text",children:d()}),r(c,{variant:"link",name:"Link",children:d()})]}),r(a,{variant:"h6",children:"Color"}),e(o,{gap:4,children:[r(c,{color:"primary",name:"Primary",children:d()}),r(c,{color:"error",name:"Error",children:d()}),r(c,{color:"success",name:"Success",children:d()}),r(c,{color:"warning",name:"Warning",children:d()})]}),r(a,{variant:"h6",children:"Size"}),e(o,{gap:6,children:[r(c,{size:"medium",name:"Medium",children:d()}),r(c,{size:"large",name:"Large",children:d()})]})]}),u=()=>e(n,{children:[r(c,{name:"Default",variant:"light",popoverProps:{anchorOrigin:{vertical:"center",horizontal:"right"}},children:d()}),r(c,{name:"Default",variant:"light",popoverProps:{anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:100,horizontal:"right"}},children:d()})]});export{v as ButtonProps,p as DisableReason,m as Example,h as Interaction,g as Note,u as PopoverProps,s as StartIcon,t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./DropdownButton.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{Component as t}from"react";import{ConfigContext as e}from"../ConfigProvider/index.js";import{InternalErrorPlaceholder as o}from"../InternalErrorPlaceholder/index.js";import{OutdatedReleasePlaceholder as s}from"../OutdatedReleasePlaceholder/index.js";import{CONDITION_TYPE_ERROR as a}from"./constants.js";import{ErrorType as i}from"./enums.js";let n={[i.OutdatedRelease]:r(s,{}),[i.Default]:r(o,{})};class m extends t{static contextType=e;state={hasError:!1,typeError:i.Default};static getDerivedStateFromError(r){return{hasError:!0,typeError:a.find(({condition:t})=>t(r))?.type??i.Default}}componentDidCatch(r){this.context?.captureException(r)}render(){return this.state.hasError?n[this.state.typeError]:this.props.children}}export{m as ErrorBoundary};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import"react";import{ConfigProvider as e}from"../ConfigProvider/index.js";import{ErrorBoundary as t}from"./ErrorBoundary.js";import{BuggyButton as o,ChunkLoadErrorButton as a}from"./ErrorBoundary.stubs.js";let i="../../illustrations/error.svg",m="../../illustrations/outdated-release.svg",s={title:"Components/ErrorBoundary",component:t},l=()=>r(e,{captureException:r=>alert(r),imagesMap:{defaultErrorImgSrc:i,noDataImgSrc:i,outdatedReleaseErrorImgSrc:m},techSup:{email:"test@example.com",phone:"79999999999"},children:r(t,{children:r(o,{})})}),n=()=>r(e,{captureException:r=>alert(r),imagesMap:{defaultErrorImgSrc:i,noDataImgSrc:i,outdatedReleaseErrorImgSrc:m},children:r(t,{children:r(a,{})})});export{l as Default,n as OutdatedRelease,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useEffect as t,useState as o}from"react";import{Button as e}from"../Button/index.js";class n extends Error{constructor(r="",...t){super(r,...t),this.name="ChunkLoadError"}}let i=()=>{let[n,i]=o(0);return t(()=>{if(2===n)throw Error("Кнопка сломалась на 2 клике")}),r(e,{onClick:()=>{i(n+1)},children:"Сломаюсь на 2 клике"})},l=()=>{let[i,l]=o(!1);return t(()=>{if(i)throw new n("Ошибка загрузки приложения")}),r(e,{onClick:()=>{l(!0)},children:"Вызову ошибку релиза"})},u=()=>{let[n,i]=o(!1);return t(()=>{if(n)throw Error("Failed to fetch dynamically imported module")}),r(e,{onClick:()=>{i(!0)},children:"Вызову ошибку релиза"})};export{i as BuggyButton,l as ChunkLoadErrorButton,u as FailedFetchModuleButton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ErrorType as e}from"./enums.js";let t=[{type:e.OutdatedRelease,condition:e=>"ChunkLoadError"===e.name||e.message.includes("Failed to fetch dynamically imported module")},{type:e.Default,condition:()=>!0}];export{t as CONDITION_TYPE_ERROR};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e,a=((e={}).OutdatedRelease="outdatedRelease",e.Default="default",e);export{a as ErrorType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./ErrorBoundary.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Tooltip as t}from"../Tooltip/index.js";import{FileBaseName as o,StyledTypography as n}from"./styles.js";import{useLogic as l}from"./useLogic/index.js";let m=i((i,m)=>{let{isOverflowed:a,suffixWithExtension:s,baseNameProps:p}=l({...i,ref:m}),{tooltipProps:c,variant:f="inherit",children:d,align:h="left",...j}=i;return e(t,{title:a&&d,disableInteractive:!0,...c,children:r(n,{$align:h,variant:f,...j,children:[e(o,{...p}),e("span",{children:s})]})})});export{m as Filename};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{Eye as o,Send as i}from"lucide-react";import{useEffect as l,useState as r}from"react";import{styled as t}from"../../theme/index.js";import{ActionCell as d}from"../ActionCell/index.js";import{DataGrid as a}from"../DataGrid/index.js";import{Filename as c}from"./Filename.js";let m={title:"Components/Filename",component:c},s={args:{children:"Версия 1.0Приложение No 10к Договору подряда No КрФ/15331/24 от\n25.04.2024.pdf"},parameters:{docs:{disable:!0}}},h=t("div")`
|
|
2
|
+
max-width: 400px;
|
|
3
|
+
min-width: 200px;
|
|
4
|
+
margin: 0 auto 10px;
|
|
5
|
+
`,p={id:"1",documentName:e(c,{children:"OS_FINAL_BDW_FW24_MeA_21022024.pdf"}),direction:"ФНС",createDate:"2022-03-24T17:50:40.206Z"},f={main:[{icon:e(o,{}),name:"Просмотреть",onClick:()=>console.log("main")},{icon:e(i,{}),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")}]},g=()=>{let n,o,i=(n=["ФНС","ФСС","ПФР","РПН"],o=[e(c,{children:"api-единая.-спецификация-api.docs"},"1"),e(c,{children:"OS_FINAL_BDW_FW24_MeA_21022024.pdf"},"2"),e(c,{children:"OS_FINAL_BDW_FW24_MeA.pdf"},"3"),e(c,{children:"OS_FINAL.pdf"},"4")],Array.from({length:16}).fill(p).map((e,i)=>{let l,r;return{id:String(i+1),documentName:o[Math.floor(Math.random()*o.length)],direction:n[Math.floor(Math.random()*n.length)],createDate:(l=new Date(2022,0,1),r=new Date,new Date(l.getTime()+Math.random()*(r.getTime()-l.getTime())).toISOString()),options:void 0}})),t=[{field:"documentName",label:"Наименование документа",sortable:!0},{field:"direction",label:"Направление",sortable:!0},{field:"createDate",label:"Дата создания",sortable:!0,format:({createDate:e})=>new Date(e).toLocaleDateString()},{label:"Действия",sortable:!1,align:"center",width:"120px",renderCell:n=>e(d,{actions:f,row:n})}],[m,s]=r(!0),[h,g]=r([]),[N,x]=r([]);return l(()=>{setTimeout(()=>{g(i.slice(0,10)),s(!1)},1500)},[]),e(a,{keyId:"id",rows:h,columns:t,isLoading:m,selectedRows:N,onRowClick:e=>console.log("row clicked",e),onSelectRow:e=>x(e),onRetry:()=>{}})},N=()=>e(h,{children:e(c,{children:"Версия 1.0 Приложение No 10к Договору подряда No КрФ/15331/24 от 25.04.2024.pdf"})}),x=()=>e(h,{children:e(c,{children:"Приложение №10.pdf"})}),_=()=>n("div",{children:[e(h,{children:e(c,{children:"Приложение №10.pdf"})}),e(h,{children:e(c,{align:"center",children:"Приложение №10.pdf"})}),e(h,{children:e(c,{align:"right",children:"Приложение №10.pdf"})})]}),w=()=>n("div",{children:[e(h,{children:e(c,{children:"Версия 1.0 Приложение No 10к Договору подряда No КрФ/15331/24 от 25.04.2024.xml.dist"})}),e(h,{children:e(c,{children:"Версия 1.0 Приложение No 10к Договору подряда No КрФ/15331/24 от 25.04.2024.tar.xz"})}),e(h,{children:e(c,{children:"Версия 1.0 Приложение No 10к Договору подряда No КрФ/15331/24 от 25.04.2024.xml.orig"})})]});export{_ as Align,w as ComplexFileExtension,g as Example,s as Interaction,N as LongFileName,x as ShortFileName,m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./Filename.js";
|
|
@@ -10,7 +10,7 @@ export declare const StyledTypography: import("@emotion/styled").StyledComponent
|
|
|
10
10
|
color?: import("../Typography").TypographyColor;
|
|
11
11
|
variant?: import("../Typography").TypographyVariant;
|
|
12
12
|
colorIntensity?: import("../Typography").Intensity;
|
|
13
|
-
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "
|
|
13
|
+
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>;
|
|
14
14
|
isUpperCase?: boolean;
|
|
15
15
|
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
16
16
|
$align: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{styled as e}from"../../theme/index.js";import{Typography as o}from"../Typography/index.js";let i=e("span")`
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
|
|
4
|
+
max-width: 100%;
|
|
5
|
+
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
`,t=e(o,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: ${({$align:e})=>e};
|
|
11
|
+
`;export{i as FileBaseName,t as StyledTypography};
|