@astral/ui 4.18.3 → 4.18.5
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/components/Accordion/styles.d.ts +2 -8
- package/components/Accordion/styles.js +1 -1
- package/components/ActionCellBase/SecondaryAction/SecondaryAction.js +1 -1
- package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +21 -21
- package/components/ActionGroup/MainActions/styles.d.ts +3 -3
- package/components/ActionGroup/SecondaryActions/SecondaryActions.js +1 -1
- package/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +3 -3
- package/components/AddressAutocomplete/AddressAutocomplete.d.ts +2 -38
- package/components/AddressAutocomplete/AddressAutocomplete.js +1 -1
- package/components/AddressAutocomplete/index.d.ts +2 -1
- package/components/AddressAutocomplete/index.js +1 -1
- package/components/AddressAutocomplete/public.d.ts +2 -1
- package/components/AddressAutocomplete/public.js +1 -1
- package/components/AddressAutocomplete/types.d.ts +24 -0
- package/components/AddressAutocomplete/types.js +1 -0
- package/components/AddressAutocomplete/useLogic/useLogic.d.ts +1 -1
- package/components/Alert/Alert.js +6 -2
- package/components/Alert/constants.js +1 -1
- package/components/Alert/styles.d.ts +7 -19
- package/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +2 -121
- package/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/components/AsyncAutocomplete/index.d.ts +2 -1
- package/components/AsyncAutocomplete/index.js +1 -1
- package/components/AsyncAutocomplete/public.d.ts +2 -1
- package/components/AsyncAutocomplete/public.js +1 -1
- package/components/AsyncAutocomplete/types.d.ts +66 -0
- package/components/AsyncAutocomplete/types.js +1 -0
- package/components/AsyncAutocomplete/useLogic/useLogic.d.ts +36 -36
- package/components/AsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/AutoSaveIndicator/AutoSaveIndicator.js +1 -1
- package/components/AutoSaveIndicator/DefaultState/styles.js +2 -2
- package/components/AutoSaveIndicator/ErrorState/styles.d.ts +3 -3
- package/components/AutoSaveIndicator/ErrorState/styles.js +1 -1
- package/components/AutoSaveIndicator/LoadingState/styles.js +1 -1
- package/components/AutoSaveIndicator/SuccessState/styles.js +1 -1
- package/components/AutoSaveIndicator/styles.d.ts +7 -19
- package/components/AutoSaveIndicator/useLogic/useLogic.js +1 -1
- package/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/components/Autocomplete/Autocomplete.js +7 -5
- package/components/Autocomplete/index.d.ts +1 -1
- package/components/Autocomplete/public.d.ts +1 -1
- package/components/Autocomplete/styles.d.ts +2 -2
- package/components/Autocomplete/styles.js +4 -1
- package/components/Autocomplete/types.d.ts +51 -1
- package/components/Autocomplete/useLogic/useLogic.d.ts +2 -2
- package/components/Avatar/styles.d.ts +1 -1
- package/components/Avatar/styles.js +1 -1
- package/components/Avatar/types.d.ts +1 -1
- package/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/components/AvatarGroup/styles.d.ts +1 -1
- package/components/AvatarGroup/styles.js +1 -1
- package/components/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +1 -1
- package/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/components/Badge/Badge.d.ts +1 -1
- package/components/Badge/styles.d.ts +1 -1
- package/components/Badge/styles.js +1 -1
- package/components/Banner/BannerActionButton/BannerActionButton.js +1 -1
- package/components/Banner/BannerContainer/BannerContainer.js +1 -1
- package/components/Banner/BannerTemplate/BannerTemplate.js +1 -1
- package/components/Banner/constants.js +1 -1
- package/components/BottomDrawer/BottomDrawer.d.ts +2 -2
- package/components/BottomDrawer/BottomDrawer.js +1 -1
- package/components/BottomDrawer/styles.d.ts +4 -10
- package/components/BottomDrawer/styles.js +3 -1
- package/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/components/Breadcrumbs/styles.d.ts +1 -1
- package/components/Breadcrumbs/styles.js +3 -1
- package/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/components/BulletListItem/BulletListItem.js +1 -1
- package/components/BulletListItem/styles.js +1 -1
- package/components/Button/Button.d.ts +5 -45
- package/components/Button/Button.js +1 -1
- package/components/Button/constants.d.ts +1 -1
- package/components/Button/constants.js +2 -2
- package/components/Button/styles.d.ts +1 -1
- package/components/Button/styles.js +1 -1
- package/components/Button/types.d.ts +25 -0
- package/components/Button/useLogic/useLogic.d.ts +1 -1
- package/components/ButtonBase/ButtonBase.d.ts +1 -1
- package/components/ButtonBase/ButtonBase.js +1 -1
- package/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +3 -3
- package/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +3 -3
- package/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +1 -1
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +1 -1
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +1 -1
- package/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/components/CardGridInfinite/constants.js +1 -1
- package/components/CardGridInfinite/styles.js +1 -1
- package/components/CardGridInfinite/useLogic/useLogic.js +4 -2
- package/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/components/CheckableTag/styles.js +1 -1
- package/components/Checkbox/Icon/Icon.js +1 -1
- package/components/Checkbox/constants.js +1 -1
- package/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/components/Checkbox/useLogic/useLogic.js +2 -2
- package/components/CheckboxField/constants.js +1 -1
- package/components/CheckboxField/styles.js +2 -1
- package/components/Chevron/Chevron.d.ts +2 -2
- package/components/Chevron/styles.js +1 -1
- package/components/ClickAwayListener/ClickAwayListener.d.ts +1 -1
- package/components/ClickAwayListener/ClickAwayListener.js +1 -1
- package/components/CodeField/Resend/320/241odeButton/Resend/320/241odeButton.js +1 -1
- package/components/CodeField/styles.d.ts +2 -8
- package/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/components/Collapse/Collapse.d.ts +2 -2
- package/components/Collapse/Collapse.js +1 -1
- package/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/components/CollapsibleTypography/styles.d.ts +5 -11
- package/components/ComplianceStatus/styles.js +3 -1
- package/components/ConfigProvider/ConfigProvider.d.ts +1 -1
- package/components/ConfigProvider/ConfigProvider.js +1 -1
- package/components/ConfirmAction/ConfirmAction.d.ts +1 -37
- package/components/ConfirmAction/constants.js +1 -1
- package/components/ConfirmAction/index.d.ts +2 -1
- package/components/ConfirmAction/index.js +1 -1
- package/components/ConfirmAction/public.d.ts +2 -1
- package/components/ConfirmAction/public.js +1 -1
- package/components/ConfirmAction/styles.d.ts +2 -8
- package/components/ConfirmAction/types.d.ts +37 -0
- package/components/ConfirmAction/types.js +1 -0
- package/components/ConfirmAction/useLogic/useLogic.d.ts +2 -2
- package/components/ConfirmAction/useLogic/useLogic.js +1 -1
- package/components/ConfirmDialog/ConfirmDialog.d.ts +1 -36
- package/components/ConfirmDialog/index.d.ts +1 -0
- package/components/ConfirmDialog/public.d.ts +1 -0
- package/components/ConfirmDialog/styles.d.ts +3 -3
- package/components/ConfirmDialog/types.d.ts +36 -0
- package/components/ConfirmDialog/types.js +1 -0
- package/components/ConfirmDialog/useLogic/useLogic.d.ts +2 -2
- package/components/ConfirmDialog/useLogic/useLogic.js +1 -1
- package/components/ContentState/ContentState.js +2 -1
- package/components/ContentState/types.d.ts +1 -1
- package/components/ContentState/useLogic/useLogic.js +1 -1
- package/components/CopyTypography/CopyTypography.d.ts +1 -23
- package/components/CopyTypography/CopyTypography.js +1 -1
- package/components/CopyTypography/constants.js +1 -1
- package/components/CopyTypography/index.d.ts +2 -1
- package/components/CopyTypography/public.d.ts +2 -1
- package/components/CopyTypography/styles.d.ts +2 -8
- package/components/CopyTypography/styles.js +1 -1
- package/components/CopyTypography/types.d.ts +23 -0
- package/components/CopyTypography/types.js +1 -0
- package/components/CopyTypography/useLogic/useLogic.d.ts +10 -10
- package/components/Counter/Counter.d.ts +1 -1
- package/components/Counter/styles.d.ts +1 -1
- package/components/Counter/styles.js +1 -1
- package/components/DashboardAlert/styles.d.ts +3 -3
- package/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/components/DashboardLayout/Header/Header.js +5 -3
- package/components/DashboardLayout/Header/constants.js +1 -1
- package/components/DashboardLayout/Header/styles.d.ts +3 -3
- package/components/DashboardLayout/Header/styles.js +1 -1
- package/components/DashboardLayout/Header/useLogic/useLogic.js +1 -1
- package/components/DashboardLayout/Main/constants.js +1 -1
- package/components/DashboardLayout/constants.js +1 -1
- package/components/DashboardLayout/index.d.ts +2 -1
- package/components/DashboardLayout/public.d.ts +2 -1
- package/components/DashboardLayout/types.d.ts +13 -0
- package/components/DashboardLayout/types.js +1 -0
- package/components/DashboardLayoutSkeleton/DashboardLayoutSkeleton.js +1 -1
- package/components/DashboardSidebar/DashboardSidebar.js +2 -1
- package/components/DashboardSidebar/constants.js +1 -1
- package/components/DashboardSidebar/useLogic/useLogic.js +4 -3
- package/components/DashboardSidebarButton/styles.d.ts +3 -3
- package/components/DashboardSidebarCounter/Badge/styles.d.ts +1 -1
- package/components/DashboardSidebarCounter/Badge/styles.js +1 -1
- package/components/DashboardSidebarCounter/styles.d.ts +1 -1
- package/components/DashboardSidebarPopover/FadePopup/useLogic/useLogic.js +1 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +1 -1
- package/components/DashboardSidebarPopover/SidebarPopoverItem/constants.js +1 -1
- package/components/DashboardSidebarPopover/styles.d.ts +3 -9
- package/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +5 -3
- package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +2 -2
- package/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/components/DashboardSidebarSkeleton/useLogic/useLogic.js +1 -1
- package/components/DataGrid/Body/Body.js +1 -1
- package/components/DataGrid/Cell/Cell.js +1 -1
- package/components/DataGrid/DataGrid.js +2 -1
- package/components/DataGrid/HeadCell/HeadCell.js +3 -1
- package/components/DataGrid/Loader/styles.d.ts +1 -1
- package/components/DataGrid/Loader/styles.js +1 -1
- package/components/DataGrid/NoData/NoData.d.ts +1 -1
- package/components/DataGrid/NoData/NoData.js +1 -1
- package/components/DataGrid/Row/NestedChildren/styles.d.ts +3 -3
- package/components/DataGrid/Row/Row.js +1 -1
- package/components/DataGrid/Row/constants.js +1 -1
- package/components/DataGrid/Row/styles.d.ts +3 -3
- package/components/DataGrid/Row/styles.js +1 -1
- package/components/DataGrid/Row/useLogic/useLogic.js +1 -1
- package/components/DataGrid/constants.js +1 -1
- package/components/DataGrid/types.d.ts +1 -1
- package/components/DataGrid/useLogic/useLogic.js +3 -2
- package/components/DataGridActionCell/DataGridMainActions/DataGridMainActions.js +1 -1
- package/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActions.js +1 -1
- package/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActionsSkeleton/styles.js +1 -1
- package/components/DataGridActionCell/SecondaryActionsButton/SecondaryActionsButton.js +3 -3
- package/components/DataGridColumnHintIcon/DataGridColumnHintIcon.js +1 -1
- package/components/DataGridInfinite/DataGridInfinite.js +2 -1
- package/components/DataGridInfinite/NoData/NoData.js +1 -1
- package/components/DataGridInfinite/useLogic/useLogic.js +3 -2
- package/components/DataGridPagination/styles.d.ts +2 -8
- package/components/DataGridPagination/styles.js +1 -1
- package/components/DataGridPaginationContainer/styles.d.ts +2 -8
- package/components/DataGridPaginationContainer/styles.js +1 -1
- package/components/DataGridPaginationContainer/useLogic/useLogic.d.ts +1 -1
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/styles.js +2 -1
- package/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/styles.js +2 -1
- package/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -8
- package/components/DatePicker/DatePicker.d.ts +10 -103
- package/components/DatePicker/DatePicker.js +1 -1
- package/components/DatePicker/DatePickerInput/DatePickerInput.js +1 -1
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +2 -2
- package/components/DatePicker/DatePickerPopover/DatePickerPopover.js +2 -1
- package/components/DatePicker/DatePickerPopover/styles.d.ts +1 -1
- package/components/DatePicker/DatePickerPopover/styles.js +1 -1
- package/components/DatePicker/DayPicker/DayPicker.js +1 -1
- package/components/DatePicker/MonthPicker/MonthPicker.js +1 -1
- package/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/components/DatePicker/constants.js +1 -1
- package/components/DatePicker/index.d.ts +2 -1
- package/components/DatePicker/public.d.ts +2 -1
- package/components/DatePicker/styles.d.ts +3 -3
- package/components/DatePicker/types/props.d.ts +60 -0
- package/components/DatePicker/types/props.js +1 -0
- package/components/DatePicker/useLogic/useLogic.d.ts +1 -1
- package/components/DatePicker/useLogic/useLogic.js +5 -2
- package/components/DateRangePicker/DateRangePicker.d.ts +6 -72
- package/components/DateRangePicker/index.d.ts +2 -1
- package/components/DateRangePicker/index.js +1 -1
- package/components/DateRangePicker/public.d.ts +2 -1
- package/components/DateRangePicker/public.js +1 -1
- package/components/DateRangePicker/styles.d.ts +1 -1
- package/components/DateRangePicker/styles.js +1 -1
- package/components/DateRangePicker/types.d.ts +44 -0
- package/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/components/DateRangePicker/useLogic/useLogic.js +2 -1
- package/components/Description/Value/styles.d.ts +4 -16
- package/components/Description/constants.js +1 -1
- package/components/Description/styles.d.ts +1 -1
- package/components/Description/useLogic/useLogic.d.ts +1 -1
- package/components/DescriptionCell/constants.js +1 -1
- package/components/DescriptionCell/styles.js +1 -1
- package/components/DescriptionCell/useLogic/useLogic.js +1 -1
- package/components/DescriptionList/styles.d.ts +2 -8
- package/components/Dialog/Dialog.d.ts +2 -2
- package/components/Dialog/Dialog.js +1 -1
- package/components/Dialog/styles.d.ts +1 -1
- package/components/Dialog/styles.js +2 -1
- package/components/DialogActions/DialogActions.d.ts +2 -2
- package/components/DialogActions/styles.d.ts +1 -1
- package/components/DialogActions/styles.js +1 -1
- package/components/DialogContent/DialogContent.d.ts +2 -2
- package/components/DialogContent/styles.d.ts +1 -1
- package/components/DialogContent/styles.js +1 -1
- package/components/DialogContentText/DialogContentText.d.ts +2 -2
- package/components/DialogContentText/styles.d.ts +1 -1
- package/components/DialogContentText/styles.js +1 -1
- package/components/DialogHeader/DialogHeader.d.ts +1 -1
- package/components/DialogHeader/DialogHeader.js +1 -1
- package/components/DialogTitle/DialogTitle.d.ts +3 -2
- package/components/DialogTitle/DialogTitle.js +2 -2
- package/components/Divider/Divider.d.ts +2 -2
- package/components/Divider/Divider.js +1 -1
- package/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/components/DropdownButton/DropdownButton.js +2 -2
- package/components/EmailField/EmailField.js +1 -1
- package/components/EmailOrPhoneField/EmailOrPhoneField.js +1 -1
- package/components/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/components/ErrorBoundary/ErrorBoundary.js +2 -1
- package/components/ExpansionPanel/Summary/Summary.js +1 -1
- package/components/ExpansionPanel/constants.js +1 -1
- package/components/ExpansionPanel/useLogic/useLogic.js +1 -1
- package/components/Fab/Fab.d.ts +2 -2
- package/components/Fab/styles.d.ts +1 -1
- package/components/Fab/styles.js +2 -1
- package/components/Fieldset/styles.d.ts +4 -16
- package/components/Filename/Filename.js +1 -1
- package/components/Filename/styles.d.ts +2 -8
- package/components/FlowButton/FlowButton.js +1 -1
- package/components/FlowButton/styles.d.ts +5 -11
- package/components/FormControl/FormControl.d.ts +2 -2
- package/components/FormControl/FormControl.js +1 -1
- package/components/FormControlLabel/styles.d.ts +1 -1
- package/components/FormControlLabel/styles.js +1 -1
- package/components/FormControlLabel/types.d.ts +1 -1
- package/components/FormHelperText/FormHelperText.d.ts +2 -2
- package/components/FormHelperText/FormHelperText.js +1 -1
- package/components/FormHelperText/FormHelperTextContent/styles.js +2 -1
- package/components/FormLabel/FormLabel.d.ts +2 -2
- package/components/FormLabel/styles.d.ts +1 -1
- package/components/FormLabel/styles.js +1 -1
- package/components/GlobalStyles/GlobalStyles.js +3 -2
- package/components/GuidTypography/GuidTypography.js +1 -1
- package/components/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +1 -1
- package/components/HintIcon/constants.js +5 -2
- package/components/HintIcon/useLogic/useLogic.js +1 -1
- package/components/IconButton/IconButton.d.ts +3 -3
- package/components/IconButton/styles.d.ts +3 -3
- package/components/IconDropdownButton/IconDropdownButton.js +2 -2
- package/components/InfiniteDataList/InfiniteDataList.js +1 -1
- package/components/InfiniteDataList/NoData/NoData.js +1 -1
- package/components/InfiniteDataList/constants.js +1 -1
- package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +1 -1
- package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +1 -1
- package/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +1 -1
- package/components/InfiniteTreeList/constants.js +1 -1
- package/components/InfiniteTreeList/useLogic/useLogic.js +4 -2
- package/components/InputGroup/styles.js +2 -1
- package/components/JsonViewer/JsonNode/styles.js +1 -1
- package/components/JsonViewer/JsonNode/useLogic/useLogic.js +1 -1
- package/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.d.ts +1 -1
- package/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.js +2 -1
- package/components/JsonViewer/JsonViewer.js +3 -1
- package/components/JsonViewer/NodeValue/styles.d.ts +38 -56
- package/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -19
- package/components/LegacyNotification/constants.js +1 -1
- package/components/LegacyNotification/styles.js +4 -1
- package/components/Link/Link.d.ts +3 -3
- package/components/Link/Link.js +2 -1
- package/components/Link/styles.d.ts +1 -1
- package/components/Link/styles.js +1 -1
- package/components/List/List.d.ts +1 -1
- package/components/ListItem/styles.d.ts +2 -2
- package/components/ListItem/styles.js +1 -1
- package/components/ListItem/types.d.ts +1 -1
- package/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/components/ListItemAvatar/ListItemAvatar.js +1 -1
- package/components/ListItemButton/ListItemButton.d.ts +2 -2
- package/components/ListItemButton/ListItemButton.js +1 -1
- package/components/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/components/ListItemIcon/styles.d.ts +1 -1
- package/components/ListItemIcon/styles.js +1 -1
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/components/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/components/ListItemText/ListItemText.d.ts +1 -1
- package/components/ListSubheader/ListSubheader.d.ts +2 -2
- package/components/ListSubheader/ListSubheader.js +1 -1
- package/components/Loader/Loader.js +1 -1
- package/components/Loader/constants.js +1 -1
- package/components/Menu/Menu.d.ts +2 -2
- package/components/Menu/Menu.js +1 -1
- package/components/MenuGroup/styles.d.ts +2 -8
- package/components/MenuItem/MenuItem.d.ts +2 -2
- package/components/MenuItem/MenuItem.js +1 -1
- package/components/MenuList/styles.d.ts +1 -1
- package/components/MenuList/styles.js +1 -1
- package/components/MenuList/types.d.ts +1 -1
- package/components/MenuOrganization/OrganizationButton/styles.d.ts +5 -11
- package/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/components/MenuOrganization/constants.js +1 -1
- package/components/MenuOrganization/styles.d.ts +2 -8
- package/components/MenuOrganization/types.d.ts +1 -1
- package/components/MenuOrganization/useLogic/useLogic.d.ts +2 -2
- package/components/MenuOrganization/useLogic/useLogic.js +1 -1
- package/components/MinimalisticPagination/MinimalisticPagination.js +2 -1
- package/components/MinimalisticPagination/styles.d.ts +2 -8
- package/components/NavMenu/Item/ItemButton/ItemButton.js +1 -1
- package/components/NavMenu/Item/ItemButton/styles.d.ts +33 -39
- package/components/NavMenu/Item/ItemButton/styles.js +2 -1
- package/components/NavMenu/Item/List/List.js +2 -2
- package/components/NavMenu/NavMenu.js +1 -1
- package/components/NotFoundPage/constants.js +1 -1
- package/components/NotFoundPage/styles.d.ts +4 -16
- package/components/Notification/NotificationContainer/NotificationContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
- package/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/components/Notification/NotificationStackContainer/useLogic/useLogic.js +1 -1
- package/components/Notification/NotificationTemplate/NotificationTemplate.js +1 -1
- package/components/Notification/NotificationTemplate/styles.d.ts +7 -19
- package/components/Notification/constants.js +1 -1
- package/components/Notification/styles.js +4 -1
- package/components/Notification/utils/getNotifyOptions/getNotifyOptions.d.ts +3 -3
- package/components/NotificationList/ListItem/ListItem.js +1 -1
- package/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/components/NotificationList/SettingsButton/SettingsButton.js +1 -1
- package/components/NumberField/NumberField.d.ts +1 -1
- package/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +1 -1
- package/components/OverflowTypography/index.d.ts +1 -0
- package/components/OverflowTypography/public.d.ts +1 -0
- package/components/OverflowTypography/styles.d.ts +4 -16
- package/components/OverflowTypography/types.d.ts +32 -0
- package/components/OverflowTypography/types.js +1 -0
- package/components/OverflowTypography/useLogic/useLogic.d.ts +1 -1
- package/components/OverflowTypography/useLogic/useLogic.js +1 -1
- package/components/PageAsideBlock/styles.js +1 -1
- package/components/PageContent/PageContent.js +1 -1
- package/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -8
- package/components/PageContent/constants.js +1 -1
- package/components/PageContent/useLogic/useLogic.js +1 -1
- package/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -9
- package/components/PageHeader/HeaderContent/HeaderContent.js +1 -1
- package/components/PageHeader/MobilePageActions/styles.d.ts +2 -2
- package/components/PageHeader/MobilePageActions/styles.js +2 -1
- package/components/PageHeader/PageActions/MainActions/styles.js +1 -1
- package/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +3 -3
- package/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +3 -3
- package/components/PageHeader/PageHeader.js +1 -1
- package/components/PageHeader/Title/Title.js +1 -1
- package/components/PageHeader/Title/styles.d.ts +6 -12
- package/components/PageHeader/constants.js +1 -1
- package/components/PageHeader/hooks/usePageTitle/usePageTitle.js +1 -1
- package/components/PageHeader/types.d.ts +1 -1
- package/components/PageHeader/useLogic/useLogic.js +2 -2
- package/components/PageLayout/PageLayout.js +1 -1
- package/components/PageLayoutContainer/PageLayoutContainer.js +1 -1
- package/components/PageLayoutContainer/constants.js +1 -1
- package/components/PageLayoutLoader/PageLayoutLoader.js +1 -1
- package/components/PagePinnableAside/PagePinnableAside.js +2 -2
- package/components/PagePinnableAside/constants.js +2 -1
- package/components/PagePinnableAside/useLogic/useLogic.js +1 -1
- package/components/Pagination/PaginationItem/PaginationItem.js +2 -1
- package/components/Pagination/PaginationItem/styles.d.ts +5 -11
- package/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/components/Paper/Paper.d.ts +2 -2
- package/components/Paper/styles.d.ts +1 -1
- package/components/Paper/styles.js +1 -1
- package/components/PasswordField/PasswordField.js +3 -2
- package/components/PdfViewer/ControlBar/ControlBar.js +2 -1
- package/components/PdfViewer/PdfDocument/PdfDocument.js +1 -1
- package/components/PdfViewer/PdfViewer.js +1 -1
- package/components/PdfViewer/constants.js +1 -1
- package/components/PdfViewer/useLogic/useLogic.js +1 -1
- package/components/PinButton/PinButton.js +3 -2
- package/components/PinButton/constants.js +1 -1
- package/components/PinButton/styles.d.ts +5 -11
- package/components/Popover/Popover.d.ts +2 -2
- package/components/Popover/styles.d.ts +1 -1
- package/components/Popover/styles.js +2 -1
- package/components/Product/styles.d.ts +3 -3
- package/components/ProductSwitcher/Content/Content.js +1 -1
- package/components/ProductSwitcher/Content/styles.d.ts +4 -10
- package/components/ProductSwitcher/Content/styles.js +1 -1
- package/components/ProductSwitcher/ProductSwitcher.js +1 -1
- package/components/ProductSwitcher/styles.js +1 -1
- package/components/ProductSwitcher/useLogic/useLogic.js +1 -1
- package/components/Profile/MenuList/MenuList.d.ts +2 -2
- package/components/Profile/MenuList/MenuList.js +2 -2
- package/components/Profile/MenuList/styles.d.ts +2 -2
- package/components/Profile/MenuList/styles.js +1 -1
- package/components/Profile/Profile.js +2 -2
- package/components/Profile/constants.js +1 -1
- package/components/Profile/styles.d.ts +3 -3
- package/components/Profile/types.d.ts +4 -2
- package/components/ProgressBar/ProgressBar.js +1 -1
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/constants.js +1 -1
- package/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/components/Radio/useLogic/useLogic.js +2 -2
- package/components/RadioCard/RadioCard.js +1 -1
- package/components/RadioCard/constants.js +1 -1
- package/components/RadioField/styles.d.ts +1 -1
- package/components/RadioField/styles.js +2 -1
- package/components/RedesignBanner/useLogic/useLogic.js +1 -1
- package/components/ScrollToTopButton/ScrollToTopButton.js +1 -1
- package/components/SearchField/SearchField.js +1 -1
- package/components/SearchField/styles.d.ts +3 -3
- package/components/SearchField/styles.js +1 -1
- package/components/SearchField/useLogic/useLogic.js +2 -1
- package/components/Select/Select.d.ts +1 -71
- package/components/Select/Select.js +6 -2
- package/components/Select/index.d.ts +1 -0
- package/components/Select/public.d.ts +1 -0
- package/components/Select/styles.d.ts +2 -2
- package/components/Select/styles.js +1 -1
- package/components/Select/types.d.ts +49 -0
- package/components/Select/types.js +1 -0
- package/components/Select/useLogic/useLogic.d.ts +1 -1
- package/components/Select/useLogic/useLogic.js +3 -2
- package/components/SideDialog/SideDialog.d.ts +2 -2
- package/components/SideDialog/styles.d.ts +2 -2
- package/components/SideDialog/styles.js +3 -1
- package/components/SideDialogActions/types.d.ts +2 -2
- package/components/SideDialogContent/types.d.ts +2 -2
- package/components/SideDialogContentText/types.d.ts +2 -2
- package/components/SideDialogTitle/SideDialogTitle.d.ts +1 -1
- package/components/SideDialogTitle/styles.d.ts +1 -1
- package/components/Skeleton/Skeleton.d.ts +2 -2
- package/components/Skeleton/styles.d.ts +1 -1
- package/components/Skeleton/styles.js +1 -1
- package/components/StaticCalendar/StaticCalendarButton/styles.d.ts +3 -3
- package/components/StaticCalendar/StaticCalendarGridButton/styles.js +1 -1
- package/components/StaticCalendar/StaticCalendarGridButton/types.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.d.ts +1 -1
- package/components/StaticCalendar/StaticDaysCalendar/constants.js +1 -1
- package/components/StepSlider/StepSlider.d.ts +1 -1
- package/components/StepSlider/StepSlider.js +1 -1
- package/components/Stepper/ArrowConnector/ArrowConnector.js +1 -1
- package/components/Stepper/Step/index.d.ts +1 -1
- package/components/Stepper/Step/index.js +1 -1
- package/components/Stepper/StepButton/StepButton.d.ts +2 -2
- package/components/Stepper/StepButton/styles.d.ts +1 -1
- package/components/Stepper/StepButton/styles.js +1 -1
- package/components/Stepper/StepConnector/index.d.ts +3 -3
- package/components/Stepper/StepConnector/index.js +1 -1
- package/components/Stepper/StepContent/index.d.ts +1 -1
- package/components/Stepper/StepContent/index.js +1 -1
- package/components/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/components/Stepper/StepIcon/styles.js +3 -1
- package/components/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/components/Stepper/StepLabel/StepLabel.js +1 -1
- package/components/Stepper/Stepper.d.ts +2 -2
- package/components/Stepper/constants.js +1 -1
- package/components/Stepper/styles.d.ts +1 -1
- package/components/Stepper/styles.js +5 -1
- package/components/StepperWizard/StepperWizard.d.ts +1 -13
- package/components/StepperWizard/StepperWizard.js +1 -1
- package/components/StepperWizard/index.d.ts +2 -2
- package/components/StepperWizard/public.d.ts +2 -2
- package/components/StepperWizard/types.d.ts +12 -0
- package/components/StepperWizard/useLogic/useLogic.d.ts +3 -3
- package/components/SvgIcon/SvgIcon.js +1 -1
- package/components/SvgIcon/constants.js +1 -1
- package/components/Switch/Switch.d.ts +2 -2
- package/components/Switch/styles.d.ts +1 -1
- package/components/Switch/styles.js +2 -1
- package/components/Tabs/Tab/Tab.d.ts +2 -2
- package/components/Tabs/Tab/styles.d.ts +1 -1
- package/components/Tabs/Tab/styles.js +1 -1
- package/components/Tabs/Tabs.d.ts +2 -2
- package/components/Tabs/styles.d.ts +1 -1
- package/components/Tabs/styles.js +1 -1
- package/components/Tag/Tag.js +1 -1
- package/components/Tag/constants.js +1 -1
- package/components/Tag/styles.d.ts +4 -4
- package/components/Tag/styles.js +2 -1
- package/components/Tag/useLogic/useLogic.js +1 -1
- package/components/TagBadge/TagBadge.js +1 -1
- package/components/TagsList/TagsList.d.ts +1 -28
- package/components/TagsList/types.d.ts +28 -0
- package/components/TagsList/useLogic/useLogic.d.ts +1 -1
- package/components/TagsList/useLogic/useLogic.js +1 -1
- package/components/TextField/TextField.d.ts +2 -2
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/constants.js +1 -1
- package/components/TextField/styles.d.ts +2 -2
- package/components/TextField/styles.js +2 -1
- package/components/ThemeProvider/ThemeProvider.d.ts +2 -3
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ToggleButton/styles.d.ts +1 -1
- package/components/ToggleButton/styles.js +3 -1
- package/components/ToggleButton/types.d.ts +2 -2
- package/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/components/ToggleButtonGroup/styles.js +1 -1
- package/components/Tooltip/Tooltip.d.ts +2 -2
- package/components/Tooltip/constants.js +1 -1
- package/components/Tooltip/styles.d.ts +2 -2
- package/components/Tooltip/styles.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/TreeItem.d.ts +1 -42
- package/components/Tree/MultipleTreeList/TreeItem/index.d.ts +1 -0
- package/components/Tree/MultipleTreeList/TreeItem/styles.js +1 -1
- package/components/Tree/MultipleTreeList/TreeItem/types.d.ts +43 -0
- package/components/Tree/MultipleTreeList/TreeItem/types.js +1 -0
- package/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/MultipleTreeList/types.d.ts +1 -1
- package/components/Tree/MultipleTreeList/useLogic/useLogic.js +1 -1
- package/components/Tree/TreeItem/TreeItem.d.ts +1 -70
- package/components/Tree/TreeItem/constants.js +1 -1
- package/components/Tree/TreeItem/index.d.ts +2 -1
- package/components/Tree/TreeItem/index.js +1 -1
- package/components/Tree/TreeItem/styles.d.ts +23 -35
- package/components/Tree/TreeItem/styles.js +2 -2
- package/components/Tree/TreeItem/types.d.ts +70 -0
- package/components/Tree/TreeItem/types.js +1 -0
- package/components/Tree/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/TreeList/TreeItem/TreeItem.d.ts +1 -48
- package/components/Tree/TreeList/TreeItem/index.d.ts +1 -0
- package/components/Tree/TreeList/TreeItem/types.d.ts +49 -0
- package/components/Tree/TreeList/TreeItem/types.js +1 -0
- package/components/Tree/TreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/components/Tree/TreeList/TreeList.js +1 -1
- package/components/Tree/TreeList/constants.js +1 -1
- package/components/Tree/TreeList/types.d.ts +1 -1
- package/components/Tree/TreeList/useLogic/useLogic.js +1 -1
- package/components/TreeAsyncAutocomplete/Input/Input.js +2 -1
- package/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeAsyncAutocomplete/OptionsModal/styles.js +1 -1
- package/components/TreeAsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/TreeAutocomplete/Input/Input.d.ts +1 -5
- package/components/TreeAutocomplete/Input/Input.js +2 -1
- package/components/TreeAutocomplete/Input/index.d.ts +1 -0
- package/components/TreeAutocomplete/Input/types.d.ts +5 -0
- package/components/TreeAutocomplete/Input/types.js +1 -0
- package/components/TreeAutocomplete/Input/useLogic/useLogic.d.ts +1 -1
- package/components/TreeAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -47
- package/components/TreeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/components/TreeAutocomplete/OptionsModal/types.d.ts +47 -0
- package/components/TreeAutocomplete/OptionsModal/types.js +1 -0
- package/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +2 -3
- package/components/TreeLikeAsyncAutocomplete/Input/Input.js +2 -1
- package/components/TreeLikeAsyncAutocomplete/Input/styles.js +2 -1
- package/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAsyncAutocomplete/OptionsModal/styles.js +1 -1
- package/components/TreeLikeAsyncAutocomplete/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +3 -1
- package/components/TreeLikeAsyncAutocomplete/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/components/TreeLikeAutocomplete/Input/Input.js +2 -1
- package/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- package/components/TreeLikeAutocomplete/Input/styles.js +1 -1
- package/components/TreeLikeAutocomplete/Input/types.d.ts +15 -0
- package/components/TreeLikeAutocomplete/Input/types.js +1 -0
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -4
- package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +1 -1
- package/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -52
- package/components/TreeLikeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/components/TreeLikeAutocomplete/OptionsModal/types.d.ts +52 -0
- package/components/TreeLikeAutocomplete/OptionsModal/types.js +1 -0
- package/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +1 -1
- package/components/TreeLikeList/TreeItem/styles.js +1 -1
- package/components/TreeLikeList/TreeItem/types.d.ts +1 -1
- package/components/TreeLikeList/TreeItem/useLogic/useLogic.js +1 -1
- package/components/TreeLikeList/types.d.ts +1 -1
- package/components/Typography/Typography.d.ts +7 -58
- package/components/Typography/hooks/useTypographyColor/useTypographyColor.js +1 -1
- package/components/Typography/index.d.ts +1 -1
- package/components/Typography/index.js +0 -1
- package/components/Typography/public.d.ts +1 -1
- package/components/Typography/public.js +0 -1
- package/components/Typography/styles.d.ts +1 -1
- package/components/Typography/styles.js +1 -1
- package/components/Typography/types.d.ts +31 -0
- package/components/WelcomeScreen/styles.d.ts +4 -16
- package/components/declaration/mui-material.d.ts +4 -4
- package/components/fileUploading/FileInfo/styles.d.ts +18 -24
- package/components/fileUploading/FileInfo/styles.js +1 -1
- package/components/fileUploading/FileUploader/FileUploader.js +1 -1
- package/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.d.ts +1 -1
- package/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.d.ts +1 -1
- package/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderDropzone/LimitMaxFilePlaceholder/LimitMaxFilePlaceholder.js +1 -1
- package/components/fileUploading/FileUploaderFile/Actions/Actions.js +5 -1
- package/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +2 -2
- package/components/fileUploading/FileUploaderFile/FileUploaderFile.js +1 -1
- package/components/fileUploading/FileUploaderFile/Progress/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.d.ts +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +2 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.d.ts +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +4 -2
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/useLogic/useLogic.js +1 -1
- package/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +2 -2
- package/components/fileUploading/PreviewFileUploaderFile/PreviewFileUploaderFile.js +1 -1
- package/components/fileUploading/constants.js +1 -1
- package/components/fileUploading/hooks/useFileUploader/useFileUploader.js +3 -1
- package/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +3 -1
- package/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.d.ts +1 -1
- package/components/hooks/useAsyncOptions/useAsyncOptions.js +1 -1
- package/components/hooks/useClickAwayEffect/useClickAwayEffect.d.ts +1 -1
- package/components/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/components/hooks/useFocusAwayEffect/useFocusAwayEffect.d.ts +1 -1
- package/components/hooks/useInputPopover/useInputPopover.d.ts +1 -1
- package/components/hooks/useViewportType/useViewportType.js +2 -1
- package/components/index.d.ts +57 -8
- package/components/index.js +57 -8
- package/components/personalDataSecurity/PersonalData/PersonalData.d.ts +1 -1
- package/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +1 -1
- package/components/placeholders/LoadingPlaceholder/constants.js +1 -1
- package/components/placeholders/Placeholder/styles.d.ts +4 -16
- package/components/styled/mixins/list/list.js +1 -1
- package/components/styled/mixins/transitions/easeOutBackTransition.js +1 -1
- package/components/styled/mixins/transitions/fadeDropDownTransition.js +1 -1
- package/components/styled/styled.d.ts +1 -2
- package/components/theme/baseTheme/baseTheme.js +2 -2
- package/components/theme/breakpoints.d.ts +1 -1
- package/components/theme/components/MuiAlert.d.ts +1 -1
- package/components/theme/components/MuiAutocomplete.d.ts +1 -1
- package/components/theme/components/MuiAutocomplete.js +1 -1
- package/components/theme/components/MuiButton.d.ts +1 -1
- package/components/theme/components/MuiButton.js +1 -1
- package/components/theme/components/MuiButtonBase.d.ts +1 -1
- package/components/theme/components/MuiCircularProgress.d.ts +1 -1
- package/components/theme/components/MuiDialog.d.ts +1 -1
- package/components/theme/components/MuiDialogActions.d.ts +1 -1
- package/components/theme/components/MuiDialogContent.d.ts +1 -1
- package/components/theme/components/MuiDialogTitle.d.ts +1 -1
- package/components/theme/components/MuiDialogTitle.js +1 -1
- package/components/theme/components/MuiDrawer.d.ts +1 -1
- package/components/theme/components/MuiDrawer.js +2 -1
- package/components/theme/components/MuiFormControlLabel.d.ts +1 -1
- package/components/theme/components/MuiFormHelperText.d.ts +1 -1
- package/components/theme/components/MuiFormLabel.d.ts +1 -1
- package/components/theme/components/MuiInputLabel.d.ts +1 -1
- package/components/theme/components/MuiLinearProgress.d.ts +1 -1
- package/components/theme/components/MuiListItemButton.d.ts +1 -1
- package/components/theme/components/MuiListItemText.d.ts +1 -1
- package/components/theme/components/MuiListSubheader.d.ts +1 -1
- package/components/theme/components/MuiMenu.d.ts +1 -1
- package/components/theme/components/MuiMenu.js +2 -1
- package/components/theme/components/MuiMenuItem.d.ts +1 -1
- package/components/theme/components/MuiMenuItem.js +1 -1
- package/components/theme/components/MuiOutlinedInput.d.ts +1 -1
- package/components/theme/components/MuiPaginationItem.d.ts +1 -1
- package/components/theme/components/MuiPaper.d.ts +1 -1
- package/components/theme/components/MuiStep.d.ts +1 -1
- package/components/theme/components/MuiStep.js +1 -1
- package/components/theme/components/MuiStepConnector.d.ts +1 -1
- package/components/theme/components/MuiStepLabel.d.ts +1 -1
- package/components/theme/components/MuiStepLabel.js +1 -1
- package/components/theme/components/MuiSwitch.d.ts +1 -1
- package/components/theme/components/MuiTab.d.ts +1 -1
- package/components/theme/components/MuiTableCell.d.ts +1 -1
- package/components/theme/components/MuiTableHead.d.ts +1 -1
- package/components/theme/components/MuiTableRow.d.ts +1 -1
- package/components/theme/components/MuiTabs.d.ts +1 -1
- package/components/theme/components/MuiTextField.d.ts +1 -1
- package/components/theme/components/MuiTextField.js +3 -1
- package/components/theme/components/MuiToggleButton.d.ts +1 -1
- package/components/theme/components/MuiToggleButtonGroup.d.ts +1 -1
- package/components/theme/components/MuiTypography.d.ts +1 -1
- package/components/theme/components/components.d.ts +1 -1
- package/components/theme/types.d.ts +123 -2
- package/components/theme/types.js +117 -1
- package/components/transitions/Fade/Fade.d.ts +1 -1
- package/components/transitions/Fade/Fade.js +1 -1
- package/components/transitions/Grow/Grow.d.ts +1 -1
- package/components/transitions/Grow/Grow.js +1 -1
- package/components/transitions/Slide/Slide.d.ts +2 -2
- package/components/transitions/Slide/Slide.js +1 -1
- package/components/transitions/Zoom/Zoom.d.ts +1 -1
- package/components/transitions/Zoom/Zoom.js +1 -1
- package/components/types/CloseEventReason/closeEventReason.d.ts +1 -1
- package/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.d.ts +2 -1
- package/components/utils/date/checkIsDateInRange/checkIsDateInRange.d.ts +1 -1
- package/components/utils/date/checkIsDateInRange/checkIsDateInRange.js +1 -1
- package/hook-form/EditableText/EditableText.d.ts +1 -1
- package/hook-form/EditableText/EditingForm/EditingForm.d.ts +1 -1
- package/hook-form/EditableText/EditingForm/styles.d.ts +2 -8
- package/hook-form/EditableText/EditingForm/useLogic/useLogic.js +1 -1
- package/hook-form/EditableText/styles.d.ts +2 -8
- package/hook-form/EditableText/styles.js +1 -1
- package/hook-form/EditableText/useLogic/useLogic.d.ts +1 -1
- package/hook-form/EditableText/useLogic/useLogic.js +1 -1
- package/hook-form/Form/Form.d.ts +1 -1
- package/hook-form/Form/Form.js +1 -1
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +1 -1
- package/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +1 -1
- package/hook-form/FormAutocomplete/FormAutocomplete.js +1 -1
- package/hook-form/FormCheckboxField/FormCheckboxField.js +1 -1
- package/hook-form/FormCodeField/FormCodeField.js +1 -1
- package/hook-form/FormDatePicker/FormDatePicker.js +2 -1
- package/hook-form/FormDateRangePicker/FormDateRangePicker.js +2 -1
- package/hook-form/FormEmailField/FormEmailField.js +1 -1
- package/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/hook-form/FormFileUploader/FormFileUploader.js +2 -2
- package/hook-form/FormMaskField/FormMaskField.js +1 -1
- package/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +2 -2
- package/hook-form/FormNumberField/FormNumberField.js +1 -1
- package/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +6 -6
- package/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +3 -3
- package/hook-form/FormPageLayout/FormPageLayout.js +1 -1
- package/hook-form/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +1 -1
- package/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +3 -3
- package/hook-form/FormPageLayoutBase/FormPageLayoutBase.d.ts +1 -1
- package/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +1 -1
- package/hook-form/FormPageLayoutBase/constants.js +1 -1
- package/hook-form/FormPageLayoutBase/useLogic/useLogic.d.ts +1 -1
- package/hook-form/FormPasswordField/FormPasswordField.js +1 -1
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +2 -2
- package/hook-form/FormRadioGroup/FormRadioGroup.js +1 -1
- package/hook-form/FormSelect/FormSelect.js +1 -1
- package/hook-form/FormSubmitButton/FormSubmitButton.js +1 -1
- package/hook-form/FormTextArea/FormTextArea.js +1 -1
- package/hook-form/FormTextField/FormTextField.js +1 -1
- package/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +1 -1
- package/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +1 -1
- package/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +1 -1
- package/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +1 -1
- package/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +1 -1
- package/hook-form/FormWizard/Footer/Footer.js +2 -1
- package/hook-form/FormWizard/Footer/styles.d.ts +3 -3
- package/hook-form/FormWizard/FormWizard.d.ts +1 -1
- package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +3 -3
- package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.js +2 -1
- package/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +1 -1
- package/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +1 -1
- package/node/components/Accordion/styles.d.ts +2 -8
- package/node/components/Accordion/styles.js +2 -2
- package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
- package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +21 -21
- package/node/components/ActionGroup/MainActions/styles.d.ts +3 -3
- package/node/components/ActionGroup/SecondaryActions/SecondaryActions.js +2 -2
- package/node/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +3 -3
- package/node/components/AddressAutocomplete/AddressAutocomplete.d.ts +2 -38
- package/node/components/AddressAutocomplete/index.d.ts +2 -1
- package/node/components/AddressAutocomplete/public.d.ts +2 -1
- package/node/components/AddressAutocomplete/types.d.ts +24 -0
- package/node/components/AddressAutocomplete/types.js +2 -0
- package/node/components/AddressAutocomplete/useLogic/useLogic.d.ts +1 -1
- package/node/components/Alert/Alert.js +12 -8
- package/node/components/Alert/constants.js +7 -7
- package/node/components/Alert/styles.d.ts +7 -19
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +2 -121
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.js +1 -0
- package/node/components/AsyncAutocomplete/index.d.ts +2 -1
- package/node/components/AsyncAutocomplete/public.d.ts +2 -1
- package/node/components/AsyncAutocomplete/types.d.ts +66 -0
- package/node/components/AsyncAutocomplete/types.js +2 -0
- package/node/components/AsyncAutocomplete/useLogic/useLogic.d.ts +36 -36
- package/node/components/AsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/AutoSaveIndicator/AutoSaveIndicator.js +2 -2
- package/node/components/AutoSaveIndicator/DefaultState/styles.js +6 -6
- package/node/components/AutoSaveIndicator/ErrorState/styles.d.ts +3 -3
- package/node/components/AutoSaveIndicator/ErrorState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/LoadingState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/SuccessState/styles.js +2 -2
- package/node/components/AutoSaveIndicator/styles.d.ts +7 -19
- package/node/components/AutoSaveIndicator/useLogic/useLogic.js +2 -2
- package/node/components/Autocomplete/Autocomplete.d.ts +14 -85
- package/node/components/Autocomplete/Autocomplete.js +12 -7
- package/node/components/Autocomplete/index.d.ts +1 -1
- package/node/components/Autocomplete/public.d.ts +1 -1
- package/node/components/Autocomplete/styles.d.ts +2 -2
- package/node/components/Autocomplete/styles.js +30 -4
- package/node/components/Autocomplete/types.d.ts +51 -1
- package/node/components/Autocomplete/useLogic/useLogic.d.ts +2 -2
- package/node/components/Avatar/styles.d.ts +1 -1
- package/node/components/Avatar/styles.js +5 -2
- package/node/components/Avatar/types.d.ts +1 -1
- package/node/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/node/components/AvatarGroup/styles.d.ts +1 -1
- package/node/components/AvatarGroup/styles.js +26 -3
- package/node/components/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +1 -1
- package/node/components/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
- package/node/components/Badge/Badge.d.ts +1 -1
- package/node/components/Badge/styles.d.ts +1 -1
- package/node/components/Badge/styles.js +5 -2
- package/node/components/Banner/BannerActionButton/BannerActionButton.js +2 -2
- package/node/components/Banner/BannerContainer/BannerContainer.js +2 -2
- package/node/components/Banner/BannerTemplate/BannerTemplate.js +2 -2
- package/node/components/Banner/constants.js +2 -2
- package/node/components/BottomDrawer/BottomDrawer.d.ts +2 -2
- package/node/components/BottomDrawer/BottomDrawer.js +2 -2
- package/node/components/BottomDrawer/styles.d.ts +4 -10
- package/node/components/BottomDrawer/styles.js +9 -4
- package/node/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/node/components/Breadcrumbs/styles.d.ts +1 -1
- package/node/components/Breadcrumbs/styles.js +9 -4
- package/node/components/BulletListItem/BulletListItem.d.ts +1 -1
- package/node/components/BulletListItem/BulletListItem.js +2 -2
- package/node/components/BulletListItem/styles.js +2 -2
- package/node/components/Button/Button.d.ts +5 -45
- package/node/components/Button/Button.js +2 -2
- package/node/components/Button/constants.d.ts +1 -1
- package/node/components/Button/constants.js +5 -5
- package/node/components/Button/styles.d.ts +1 -1
- package/node/components/Button/styles.js +5 -2
- package/node/components/Button/types.d.ts +25 -0
- package/node/components/Button/useLogic/useLogic.d.ts +1 -1
- package/node/components/ButtonBase/ButtonBase.d.ts +1 -1
- package/node/components/ButtonBase/ButtonBase.js +5 -2
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +8 -5
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +3 -3
- package/node/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +2 -2
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +2 -2
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +3 -3
- package/node/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +2 -2
- package/node/components/CardGridInfinite/constants.js +4 -4
- package/node/components/CardGridInfinite/styles.js +2 -2
- package/node/components/CardGridInfinite/useLogic/useLogic.js +8 -6
- package/node/components/CheckableTag/CheckableTag.d.ts +1 -1
- package/node/components/CheckableTag/styles.js +2 -2
- package/node/components/Checkbox/Icon/Icon.js +2 -2
- package/node/components/Checkbox/constants.js +12 -12
- package/node/components/Checkbox/useLogic/useLogic.d.ts +6 -6
- package/node/components/Checkbox/useLogic/useLogic.js +4 -4
- package/node/components/CheckboxField/constants.js +2 -2
- package/node/components/CheckboxField/styles.js +6 -5
- package/node/components/Chevron/Chevron.d.ts +2 -2
- package/node/components/Chevron/styles.js +2 -2
- package/node/components/ClickAwayListener/ClickAwayListener.d.ts +1 -1
- package/node/components/ClickAwayListener/ClickAwayListener.js +2 -2
- package/node/components/CodeField/Resend/320/241odeButton/Resend/320/241odeButton.js +2 -2
- package/node/components/CodeField/styles.d.ts +2 -8
- package/node/components/CollapsableAlert/CollapsableAlert.d.ts +1 -1
- package/node/components/Collapse/Collapse.d.ts +2 -2
- package/node/components/Collapse/Collapse.js +5 -2
- package/node/components/CollapsibleTypography/CollapsibleTypography.d.ts +2 -8
- package/node/components/CollapsibleTypography/styles.d.ts +5 -11
- package/node/components/ComplianceStatus/styles.js +6 -4
- package/node/components/ConfigProvider/ConfigProvider.d.ts +1 -1
- package/node/components/ConfigProvider/ConfigProvider.js +3 -3
- package/node/components/ConfirmAction/ConfirmAction.d.ts +1 -37
- package/node/components/ConfirmAction/constants.js +2 -2
- package/node/components/ConfirmAction/index.d.ts +2 -1
- package/node/components/ConfirmAction/public.d.ts +2 -1
- package/node/components/ConfirmAction/styles.d.ts +2 -8
- package/node/components/ConfirmAction/types.d.ts +37 -0
- package/node/components/ConfirmAction/types.js +2 -0
- package/node/components/ConfirmAction/useLogic/useLogic.d.ts +2 -2
- package/node/components/ConfirmAction/useLogic/useLogic.js +2 -2
- package/node/components/ConfirmDialog/ConfirmDialog.d.ts +1 -36
- package/node/components/ConfirmDialog/index.d.ts +1 -0
- package/node/components/ConfirmDialog/public.d.ts +1 -0
- package/node/components/ConfirmDialog/styles.d.ts +3 -3
- package/node/components/ConfirmDialog/types.d.ts +36 -0
- package/node/components/ConfirmDialog/types.js +2 -0
- package/node/components/ConfirmDialog/useLogic/useLogic.d.ts +2 -2
- package/node/components/ConfirmDialog/useLogic/useLogic.js +2 -2
- package/node/components/ContentState/ContentState.js +5 -4
- package/node/components/ContentState/types.d.ts +1 -1
- package/node/components/ContentState/useLogic/useLogic.js +2 -2
- package/node/components/CopyTypography/CopyTypography.d.ts +1 -23
- package/node/components/CopyTypography/CopyTypography.js +3 -3
- package/node/components/CopyTypography/constants.js +3 -3
- package/node/components/CopyTypography/index.d.ts +2 -1
- package/node/components/CopyTypography/public.d.ts +2 -1
- package/node/components/CopyTypography/styles.d.ts +2 -8
- package/node/components/CopyTypography/styles.js +2 -2
- package/node/components/CopyTypography/types.d.ts +23 -0
- package/node/components/CopyTypography/types.js +2 -0
- package/node/components/CopyTypography/useLogic/useLogic.d.ts +10 -10
- package/node/components/Counter/Counter.d.ts +1 -1
- package/node/components/Counter/styles.d.ts +1 -1
- package/node/components/Counter/styles.js +4 -4
- package/node/components/DashboardAlert/styles.d.ts +3 -3
- package/node/components/DashboardLayout/DashboardLayout.d.ts +2 -13
- package/node/components/DashboardLayout/Header/Header.js +7 -5
- package/node/components/DashboardLayout/Header/constants.js +3 -3
- package/node/components/DashboardLayout/Header/styles.d.ts +3 -3
- package/node/components/DashboardLayout/Header/styles.js +2 -2
- package/node/components/DashboardLayout/Header/useLogic/useLogic.js +2 -2
- package/node/components/DashboardLayout/Main/constants.js +3 -3
- package/node/components/DashboardLayout/constants.js +2 -2
- package/node/components/DashboardLayout/index.d.ts +2 -1
- package/node/components/DashboardLayout/public.d.ts +2 -1
- package/node/components/DashboardLayout/types.d.ts +13 -0
- package/node/components/DashboardLayout/types.js +2 -0
- package/node/components/DashboardLayoutSkeleton/DashboardLayoutSkeleton.js +2 -2
- package/node/components/DashboardSidebar/DashboardSidebar.js +3 -2
- package/node/components/DashboardSidebar/constants.js +2 -2
- package/node/components/DashboardSidebar/useLogic/useLogic.js +9 -8
- package/node/components/DashboardSidebarButton/styles.d.ts +3 -3
- package/node/components/DashboardSidebarCounter/Badge/styles.d.ts +1 -1
- package/node/components/DashboardSidebarCounter/Badge/styles.js +4 -4
- package/node/components/DashboardSidebarCounter/styles.d.ts +1 -1
- package/node/components/DashboardSidebarPopover/FadePopup/useLogic/useLogic.js +2 -2
- package/node/components/DashboardSidebarPopover/SidebarPopoverItem/SidebarPopoverItem.js +2 -2
- package/node/components/DashboardSidebarPopover/SidebarPopoverItem/constants.js +2 -2
- package/node/components/DashboardSidebarPopover/styles.d.ts +3 -9
- package/node/components/DashboardSidebarProvider/hooks/useSidebar/useSidebar.js +13 -8
- package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +3 -3
- package/node/components/DashboardSidebarSkeleton/styles.d.ts +1 -1
- package/node/components/DashboardSidebarSkeleton/useLogic/useLogic.js +2 -2
- package/node/components/DataGrid/Body/Body.js +2 -2
- package/node/components/DataGrid/Cell/Cell.js +2 -2
- package/node/components/DataGrid/DataGrid.js +3 -2
- package/node/components/DataGrid/HeadCell/HeadCell.js +7 -5
- package/node/components/DataGrid/Loader/styles.d.ts +1 -1
- package/node/components/DataGrid/Loader/styles.js +26 -3
- package/node/components/DataGrid/NoData/NoData.d.ts +1 -1
- package/node/components/DataGrid/NoData/NoData.js +2 -2
- package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/Row.js +4 -4
- package/node/components/DataGrid/Row/constants.js +2 -2
- package/node/components/DataGrid/Row/styles.d.ts +3 -3
- package/node/components/DataGrid/Row/styles.js +2 -2
- package/node/components/DataGrid/Row/useLogic/useLogic.js +4 -4
- package/node/components/DataGrid/constants.js +5 -5
- package/node/components/DataGrid/types.d.ts +1 -1
- package/node/components/DataGrid/useLogic/useLogic.js +8 -7
- package/node/components/DataGridActionCell/DataGridMainActions/DataGridMainActions.js +2 -2
- package/node/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActions.js +2 -2
- package/node/components/DataGridActionCell/DataGridSecondaryActions/DataGridSecondaryActionsSkeleton/styles.js +5 -2
- package/node/components/DataGridActionCell/SecondaryActionsButton/SecondaryActionsButton.js +8 -5
- package/node/components/DataGridColumnHintIcon/DataGridColumnHintIcon.js +2 -2
- package/node/components/DataGridInfinite/DataGridInfinite.js +3 -2
- package/node/components/DataGridInfinite/NoData/NoData.js +2 -2
- package/node/components/DataGridInfinite/useLogic/useLogic.js +5 -4
- package/node/components/DataGridPagination/styles.d.ts +2 -8
- package/node/components/DataGridPagination/styles.js +2 -2
- package/node/components/DataGridPaginationContainer/styles.d.ts +2 -8
- package/node/components/DataGridPaginationContainer/styles.js +2 -2
- package/node/components/DataGridPaginationContainer/useLogic/useLogic.d.ts +1 -1
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarNextButton/styles.js +4 -3
- package/node/components/DatePicker/DateCalendar/DateCalendarChevronButton/DateCalendarPrevButton/styles.js +4 -3
- package/node/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +2 -8
- package/node/components/DatePicker/DatePicker.d.ts +10 -103
- package/node/components/DatePicker/DatePickerInput/DatePickerInput.js +2 -2
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.d.ts +2 -2
- package/node/components/DatePicker/DatePickerPopover/DatePickerPopover.js +4 -3
- package/node/components/DatePicker/DatePickerPopover/styles.d.ts +1 -1
- package/node/components/DatePicker/DatePickerPopover/styles.js +5 -2
- package/node/components/DatePicker/DayPicker/DayPicker.js +3 -3
- package/node/components/DatePicker/MonthPicker/MonthPicker.js +5 -5
- package/node/components/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
- package/node/components/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
- package/node/components/DatePicker/constants.js +10 -10
- package/node/components/DatePicker/index.d.ts +2 -1
- package/node/components/DatePicker/public.d.ts +2 -1
- package/node/components/DatePicker/styles.d.ts +3 -3
- package/node/components/DatePicker/types/props.d.ts +60 -0
- package/node/components/DatePicker/types/props.js +2 -0
- package/node/components/DatePicker/useLogic/useLogic.d.ts +1 -1
- package/node/components/DatePicker/useLogic/useLogic.js +10 -7
- package/node/components/DateRangePicker/DateRangePicker.d.ts +6 -72
- package/node/components/DateRangePicker/index.d.ts +2 -1
- package/node/components/DateRangePicker/public.d.ts +2 -1
- package/node/components/DateRangePicker/styles.d.ts +1 -1
- package/node/components/DateRangePicker/styles.js +2 -2
- package/node/components/DateRangePicker/types.d.ts +44 -0
- package/node/components/DateRangePicker/useLogic/useLogic.d.ts +1 -1
- package/node/components/DateRangePicker/useLogic/useLogic.js +6 -5
- package/node/components/Description/Value/styles.d.ts +4 -16
- package/node/components/Description/constants.js +2 -2
- package/node/components/Description/styles.d.ts +1 -1
- package/node/components/Description/useLogic/useLogic.d.ts +1 -1
- package/node/components/DescriptionCell/constants.js +4 -4
- package/node/components/DescriptionCell/styles.js +2 -2
- package/node/components/DescriptionCell/useLogic/useLogic.js +2 -2
- package/node/components/DescriptionList/styles.d.ts +2 -8
- package/node/components/Dialog/Dialog.d.ts +2 -2
- package/node/components/Dialog/Dialog.js +2 -2
- package/node/components/Dialog/styles.d.ts +1 -1
- package/node/components/Dialog/styles.js +28 -4
- package/node/components/DialogActions/DialogActions.d.ts +2 -2
- package/node/components/DialogActions/styles.d.ts +1 -1
- package/node/components/DialogActions/styles.js +5 -2
- package/node/components/DialogContent/DialogContent.d.ts +2 -2
- package/node/components/DialogContent/styles.d.ts +1 -1
- package/node/components/DialogContent/styles.js +5 -2
- package/node/components/DialogContentText/DialogContentText.d.ts +2 -2
- package/node/components/DialogContentText/styles.d.ts +1 -1
- package/node/components/DialogContentText/styles.js +5 -2
- package/node/components/DialogHeader/DialogHeader.d.ts +1 -1
- package/node/components/DialogHeader/DialogHeader.js +2 -2
- package/node/components/DialogTitle/DialogTitle.d.ts +3 -2
- package/node/components/DialogTitle/DialogTitle.js +6 -3
- package/node/components/Divider/Divider.d.ts +2 -2
- package/node/components/Divider/Divider.js +5 -2
- package/node/components/DropdownButton/DropdownButton.d.ts +1 -1
- package/node/components/DropdownButton/DropdownButton.js +7 -4
- package/node/components/EmailField/EmailField.js +2 -2
- package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +2 -2
- package/node/components/EmailOrPhoneField/useLogic/useLogic.d.ts +1 -1
- package/node/components/ErrorBoundary/ErrorBoundary.js +4 -3
- package/node/components/ExpansionPanel/Summary/Summary.js +2 -2
- package/node/components/ExpansionPanel/constants.js +6 -6
- package/node/components/ExpansionPanel/useLogic/useLogic.js +2 -2
- package/node/components/Fab/Fab.d.ts +2 -2
- package/node/components/Fab/styles.d.ts +1 -1
- package/node/components/Fab/styles.js +8 -4
- package/node/components/Fieldset/styles.d.ts +4 -16
- package/node/components/Filename/Filename.js +2 -2
- package/node/components/Filename/styles.d.ts +2 -8
- package/node/components/FlowButton/FlowButton.js +2 -2
- package/node/components/FlowButton/styles.d.ts +5 -11
- package/node/components/FormControl/FormControl.d.ts +2 -2
- package/node/components/FormControl/FormControl.js +5 -2
- package/node/components/FormControlLabel/styles.d.ts +1 -1
- package/node/components/FormControlLabel/styles.js +5 -2
- package/node/components/FormControlLabel/types.d.ts +1 -1
- package/node/components/FormHelperText/FormHelperText.d.ts +2 -2
- package/node/components/FormHelperText/FormHelperText.js +5 -2
- package/node/components/FormHelperText/FormHelperTextContent/styles.js +4 -3
- package/node/components/FormLabel/FormLabel.d.ts +2 -2
- package/node/components/FormLabel/styles.d.ts +1 -1
- package/node/components/FormLabel/styles.js +5 -2
- package/node/components/GlobalStyles/GlobalStyles.js +8 -4
- package/node/components/GuidTypography/GuidTypography.js +3 -3
- package/node/components/HintIcon/Icon/useLogic/hooks/useIconColor/useIconColor.js +2 -2
- package/node/components/HintIcon/constants.js +10 -7
- package/node/components/HintIcon/useLogic/useLogic.js +2 -2
- package/node/components/IconButton/IconButton.d.ts +3 -3
- package/node/components/IconButton/styles.d.ts +3 -3
- package/node/components/IconDropdownButton/IconDropdownButton.js +7 -4
- package/node/components/InfiniteDataList/InfiniteDataList.js +2 -2
- package/node/components/InfiniteDataList/NoData/NoData.js +2 -2
- package/node/components/InfiniteDataList/constants.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +2 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +2 -2
- package/node/components/InfiniteTreeList/NoDataPlaceholder/NoDataPlaceholder.js +2 -2
- package/node/components/InfiniteTreeList/constants.js +3 -3
- package/node/components/InfiniteTreeList/useLogic/useLogic.js +8 -6
- package/node/components/InputGroup/styles.js +12 -11
- package/node/components/JsonViewer/JsonNode/styles.js +2 -2
- package/node/components/JsonViewer/JsonNode/useLogic/useLogic.js +2 -2
- package/node/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.d.ts +1 -1
- package/node/components/JsonViewer/JsonNode/utils/getTypeInfo/getTypeInfo.js +12 -11
- package/node/components/JsonViewer/JsonViewer.js +6 -4
- package/node/components/JsonViewer/NodeValue/styles.d.ts +38 -56
- package/node/components/LegacyNotification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +7 -19
- package/node/components/LegacyNotification/constants.js +4 -4
- package/node/components/LegacyNotification/styles.js +8 -5
- package/node/components/Link/Link.d.ts +3 -3
- package/node/components/Link/Link.js +4 -3
- package/node/components/Link/styles.d.ts +1 -1
- package/node/components/Link/styles.js +5 -2
- package/node/components/List/List.d.ts +1 -1
- package/node/components/ListItem/styles.d.ts +2 -2
- package/node/components/ListItem/styles.js +5 -2
- package/node/components/ListItem/types.d.ts +1 -1
- package/node/components/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/node/components/ListItemAvatar/ListItemAvatar.js +5 -2
- package/node/components/ListItemButton/ListItemButton.d.ts +2 -2
- package/node/components/ListItemButton/ListItemButton.js +5 -2
- package/node/components/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/node/components/ListItemIcon/styles.d.ts +1 -1
- package/node/components/ListItemIcon/styles.js +5 -2
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/node/components/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -2
- package/node/components/ListItemText/ListItemText.d.ts +1 -1
- package/node/components/ListSubheader/ListSubheader.d.ts +2 -2
- package/node/components/ListSubheader/ListSubheader.js +5 -2
- package/node/components/Loader/Loader.js +2 -2
- package/node/components/Loader/constants.js +2 -2
- package/node/components/Menu/Menu.d.ts +2 -2
- package/node/components/Menu/Menu.js +5 -2
- package/node/components/MenuGroup/styles.d.ts +2 -8
- package/node/components/MenuItem/MenuItem.d.ts +2 -2
- package/node/components/MenuItem/MenuItem.js +5 -2
- package/node/components/MenuList/styles.d.ts +1 -1
- package/node/components/MenuList/styles.js +5 -2
- package/node/components/MenuList/types.d.ts +1 -1
- package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +5 -11
- package/node/components/MenuOrganization/OrganizationGroup/styles.d.ts +2 -8
- package/node/components/MenuOrganization/OrganizationItem/styles.d.ts +4 -4
- package/node/components/MenuOrganization/constants.js +3 -3
- package/node/components/MenuOrganization/styles.d.ts +2 -8
- package/node/components/MenuOrganization/types.d.ts +1 -1
- package/node/components/MenuOrganization/useLogic/useLogic.d.ts +2 -2
- package/node/components/MenuOrganization/useLogic/useLogic.js +2 -2
- package/node/components/MinimalisticPagination/MinimalisticPagination.js +3 -2
- package/node/components/MinimalisticPagination/styles.d.ts +2 -8
- package/node/components/NavMenu/Item/ItemButton/ItemButton.js +2 -2
- package/node/components/NavMenu/Item/ItemButton/styles.d.ts +33 -39
- package/node/components/NavMenu/Item/ItemButton/styles.js +4 -3
- package/node/components/NavMenu/Item/List/List.js +7 -4
- package/node/components/NavMenu/NavMenu.js +5 -2
- package/node/components/NotFoundPage/constants.js +2 -2
- package/node/components/NotFoundPage/styles.d.ts +4 -16
- package/node/components/Notification/NotificationContainer/NotificationContainer.js +2 -2
- package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
- package/node/components/Notification/NotificationStackContainer/styles.d.ts +3 -3
- package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.js +2 -2
- package/node/components/Notification/NotificationTemplate/NotificationTemplate.js +2 -2
- package/node/components/Notification/NotificationTemplate/styles.d.ts +7 -19
- package/node/components/Notification/constants.js +8 -8
- package/node/components/Notification/styles.js +8 -5
- package/node/components/Notification/utils/getNotifyOptions/getNotifyOptions.d.ts +3 -3
- package/node/components/NotificationList/ListItem/ListItem.js +2 -2
- package/node/components/NotificationList/ListItem/styles.d.ts +4 -16
- package/node/components/NotificationList/SettingsButton/SettingsButton.js +2 -2
- package/node/components/NumberField/NumberField.d.ts +1 -1
- package/node/components/OverflowTypography/OverflowTypography.d.ts +340 -41
- package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +2 -2
- package/node/components/OverflowTypography/index.d.ts +1 -0
- package/node/components/OverflowTypography/public.d.ts +1 -0
- package/node/components/OverflowTypography/styles.d.ts +4 -16
- package/node/components/OverflowTypography/types.d.ts +32 -0
- package/node/components/OverflowTypography/types.js +2 -0
- package/node/components/OverflowTypography/useLogic/useLogic.d.ts +1 -1
- package/node/components/OverflowTypography/useLogic/useLogic.js +2 -2
- package/node/components/PageAsideBlock/styles.js +4 -4
- package/node/components/PageContent/PageContent.js +2 -2
- package/node/components/PageContent/PageContentHeader/Title/styles.d.ts +2 -8
- package/node/components/PageContent/constants.js +5 -5
- package/node/components/PageContent/useLogic/useLogic.js +2 -2
- package/node/components/PageHeader/HeaderContent/Description/styles.d.ts +3 -9
- package/node/components/PageHeader/HeaderContent/HeaderContent.js +2 -2
- package/node/components/PageHeader/MobilePageActions/styles.d.ts +2 -2
- package/node/components/PageHeader/MobilePageActions/styles.js +31 -4
- package/node/components/PageHeader/PageActions/MainActions/styles.js +2 -2
- package/node/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +3 -3
- package/node/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +3 -3
- package/node/components/PageHeader/PageHeader.js +2 -2
- package/node/components/PageHeader/Title/Title.js +2 -2
- package/node/components/PageHeader/Title/styles.d.ts +6 -12
- package/node/components/PageHeader/constants.js +5 -5
- package/node/components/PageHeader/hooks/usePageTitle/usePageTitle.js +2 -2
- package/node/components/PageHeader/types.d.ts +1 -1
- package/node/components/PageHeader/useLogic/useLogic.js +4 -4
- package/node/components/PageLayout/PageLayout.js +2 -2
- package/node/components/PageLayoutContainer/PageLayoutContainer.js +2 -2
- package/node/components/PageLayoutContainer/constants.js +2 -2
- package/node/components/PageLayoutLoader/PageLayoutLoader.js +2 -2
- package/node/components/PagePinnableAside/PagePinnableAside.js +3 -3
- package/node/components/PagePinnableAside/constants.js +4 -3
- package/node/components/PagePinnableAside/useLogic/useLogic.js +2 -2
- package/node/components/Pagination/PaginationItem/PaginationItem.js +4 -3
- package/node/components/Pagination/PaginationItem/styles.d.ts +5 -11
- package/node/components/Pagination/useLogic/useLogic.d.ts +14 -14
- package/node/components/Paper/Paper.d.ts +2 -2
- package/node/components/Paper/styles.d.ts +1 -1
- package/node/components/Paper/styles.js +5 -2
- package/node/components/PasswordField/PasswordField.js +5 -4
- package/node/components/PdfViewer/ControlBar/ControlBar.js +3 -2
- package/node/components/PdfViewer/PdfDocument/PdfDocument.js +2 -2
- package/node/components/PdfViewer/PdfViewer.js +2 -2
- package/node/components/PdfViewer/constants.js +5 -5
- package/node/components/PdfViewer/useLogic/useLogic.js +2 -2
- package/node/components/PinButton/PinButton.js +5 -4
- package/node/components/PinButton/constants.js +2 -2
- package/node/components/PinButton/styles.d.ts +5 -11
- package/node/components/Popover/Popover.d.ts +2 -2
- package/node/components/Popover/styles.d.ts +1 -1
- package/node/components/Popover/styles.js +7 -3
- package/node/components/Product/styles.d.ts +3 -3
- package/node/components/ProductSwitcher/Content/Content.js +2 -2
- package/node/components/ProductSwitcher/Content/styles.d.ts +4 -10
- package/node/components/ProductSwitcher/Content/styles.js +4 -4
- package/node/components/ProductSwitcher/ProductSwitcher.js +2 -2
- package/node/components/ProductSwitcher/styles.js +2 -2
- package/node/components/ProductSwitcher/useLogic/useLogic.js +2 -2
- package/node/components/Profile/MenuList/MenuList.d.ts +2 -2
- package/node/components/Profile/MenuList/MenuList.js +4 -4
- package/node/components/Profile/MenuList/styles.d.ts +2 -2
- package/node/components/Profile/MenuList/styles.js +4 -4
- package/node/components/Profile/Profile.js +7 -4
- package/node/components/Profile/constants.js +2 -2
- package/node/components/Profile/styles.d.ts +3 -3
- package/node/components/Profile/types.d.ts +4 -2
- package/node/components/ProgressBar/ProgressBar.js +5 -2
- package/node/components/Radio/Radio.js +2 -2
- package/node/components/Radio/constants.js +8 -8
- package/node/components/Radio/useLogic/useLogic.d.ts +6 -6
- package/node/components/Radio/useLogic/useLogic.js +4 -4
- package/node/components/RadioCard/RadioCard.js +2 -2
- package/node/components/RadioCard/constants.js +3 -3
- package/node/components/RadioField/styles.d.ts +1 -1
- package/node/components/RadioField/styles.js +7 -3
- package/node/components/RedesignBanner/useLogic/useLogic.js +2 -2
- package/node/components/ScrollToTopButton/ScrollToTopButton.js +2 -2
- package/node/components/SearchField/SearchField.js +2 -2
- package/node/components/SearchField/styles.d.ts +3 -3
- package/node/components/SearchField/styles.js +2 -2
- package/node/components/SearchField/useLogic/useLogic.js +4 -3
- package/node/components/Select/Select.d.ts +1 -71
- package/node/components/Select/Select.js +11 -4
- package/node/components/Select/index.d.ts +1 -0
- package/node/components/Select/public.d.ts +1 -0
- package/node/components/Select/styles.d.ts +2 -2
- package/node/components/Select/styles.js +5 -2
- package/node/components/Select/types.d.ts +49 -0
- package/node/components/Select/types.js +2 -0
- package/node/components/Select/useLogic/useLogic.d.ts +1 -1
- package/node/components/Select/useLogic/useLogic.js +9 -8
- package/node/components/SideDialog/SideDialog.d.ts +2 -2
- package/node/components/SideDialog/styles.d.ts +2 -2
- package/node/components/SideDialog/styles.js +29 -4
- package/node/components/SideDialogActions/types.d.ts +2 -2
- package/node/components/SideDialogContent/types.d.ts +2 -2
- package/node/components/SideDialogContentText/types.d.ts +2 -2
- package/node/components/SideDialogTitle/SideDialogTitle.d.ts +1 -1
- package/node/components/SideDialogTitle/styles.d.ts +1 -1
- package/node/components/Skeleton/Skeleton.d.ts +2 -2
- package/node/components/Skeleton/styles.d.ts +1 -1
- package/node/components/Skeleton/styles.js +27 -4
- package/node/components/StaticCalendar/StaticCalendarButton/styles.d.ts +3 -3
- package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +3 -3
- package/node/components/StaticCalendar/StaticCalendarGridButton/types.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/DayButton.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/DayButton/useLogic/useLogic.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/StaticDaysCalendar.d.ts +1 -1
- package/node/components/StaticCalendar/StaticDaysCalendar/constants.js +5 -5
- package/node/components/StepSlider/StepSlider.d.ts +1 -1
- package/node/components/StepSlider/StepSlider.js +2 -2
- package/node/components/Stepper/ArrowConnector/ArrowConnector.js +2 -2
- package/node/components/Stepper/Step/index.d.ts +1 -1
- package/node/components/Stepper/Step/index.js +5 -2
- package/node/components/Stepper/StepButton/StepButton.d.ts +2 -2
- package/node/components/Stepper/StepButton/styles.d.ts +1 -1
- package/node/components/Stepper/StepButton/styles.js +4 -4
- package/node/components/Stepper/StepConnector/index.d.ts +3 -3
- package/node/components/Stepper/StepConnector/index.js +5 -2
- package/node/components/Stepper/StepContent/index.d.ts +1 -1
- package/node/components/Stepper/StepContent/index.js +5 -2
- package/node/components/Stepper/StepIcon/StepIcon.d.ts +2 -2
- package/node/components/Stepper/StepIcon/styles.js +8 -6
- package/node/components/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/node/components/Stepper/StepLabel/StepLabel.js +5 -2
- package/node/components/Stepper/Stepper.d.ts +2 -2
- package/node/components/Stepper/constants.js +2 -2
- package/node/components/Stepper/styles.d.ts +1 -1
- package/node/components/Stepper/styles.js +17 -10
- package/node/components/StepperWizard/StepperWizard.d.ts +1 -13
- package/node/components/StepperWizard/index.d.ts +2 -2
- package/node/components/StepperWizard/public.d.ts +2 -2
- package/node/components/StepperWizard/types.d.ts +12 -0
- package/node/components/StepperWizard/useLogic/useLogic.d.ts +3 -3
- package/node/components/SvgIcon/SvgIcon.js +2 -2
- package/node/components/SvgIcon/constants.js +2 -2
- package/node/components/Switch/Switch.d.ts +2 -2
- package/node/components/Switch/styles.d.ts +1 -1
- package/node/components/Switch/styles.js +31 -7
- package/node/components/Tabs/Tab/Tab.d.ts +2 -2
- package/node/components/Tabs/Tab/styles.d.ts +1 -1
- package/node/components/Tabs/Tab/styles.js +5 -2
- package/node/components/Tabs/Tabs.d.ts +2 -2
- package/node/components/Tabs/styles.d.ts +1 -1
- package/node/components/Tabs/styles.js +27 -4
- package/node/components/Tag/Tag.js +2 -2
- package/node/components/Tag/constants.js +14 -14
- package/node/components/Tag/styles.d.ts +4 -4
- package/node/components/Tag/styles.js +5 -4
- package/node/components/Tag/useLogic/useLogic.js +2 -2
- package/node/components/TagBadge/TagBadge.js +2 -2
- package/node/components/TagsList/TagsList.d.ts +1 -28
- package/node/components/TagsList/types.d.ts +28 -0
- package/node/components/TagsList/useLogic/useLogic.d.ts +1 -1
- package/node/components/TagsList/useLogic/useLogic.js +2 -2
- package/node/components/TextField/TextField.d.ts +2 -2
- package/node/components/TextField/TextField.js +2 -2
- package/node/components/TextField/constants.js +2 -2
- package/node/components/TextField/styles.d.ts +2 -2
- package/node/components/TextField/styles.js +7 -3
- package/node/components/ThemeProvider/ThemeProvider.d.ts +2 -3
- package/node/components/ThemeProvider/ThemeProvider.js +5 -2
- package/node/components/ToggleButton/styles.d.ts +1 -1
- package/node/components/ToggleButton/styles.js +30 -5
- package/node/components/ToggleButton/types.d.ts +2 -2
- package/node/components/ToggleButton/useLogic/useLogic.d.ts +18 -18
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/node/components/ToggleButtonGroup/styles.d.ts +1 -1
- package/node/components/ToggleButtonGroup/styles.js +5 -2
- package/node/components/Tooltip/Tooltip.d.ts +2 -2
- package/node/components/Tooltip/constants.js +2 -2
- package/node/components/Tooltip/styles.d.ts +2 -2
- package/node/components/Tooltip/styles.js +31 -8
- package/node/components/Tree/MultipleTreeList/TreeItem/TreeItem.d.ts +1 -42
- package/node/components/Tree/MultipleTreeList/TreeItem/index.d.ts +1 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/styles.js +2 -2
- package/node/components/Tree/MultipleTreeList/TreeItem/types.d.ts +43 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/types.js +2 -0
- package/node/components/Tree/MultipleTreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/MultipleTreeList/types.d.ts +1 -1
- package/node/components/Tree/MultipleTreeList/useLogic/useLogic.js +2 -2
- package/node/components/Tree/TreeItem/TreeItem.d.ts +1 -70
- package/node/components/Tree/TreeItem/constants.js +3 -3
- package/node/components/Tree/TreeItem/index.d.ts +2 -1
- package/node/components/Tree/TreeItem/index.js +3 -1
- package/node/components/Tree/TreeItem/styles.d.ts +23 -35
- package/node/components/Tree/TreeItem/styles.js +6 -6
- package/node/components/Tree/TreeItem/types.d.ts +70 -0
- package/node/components/Tree/TreeItem/types.js +2 -0
- package/node/components/Tree/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/TreeList/TreeItem/TreeItem.d.ts +1 -48
- package/node/components/Tree/TreeList/TreeItem/index.d.ts +1 -0
- package/node/components/Tree/TreeList/TreeItem/types.d.ts +49 -0
- package/node/components/Tree/TreeList/TreeItem/types.js +2 -0
- package/node/components/Tree/TreeList/TreeItem/useLogic/useLogic.d.ts +1 -1
- package/node/components/Tree/TreeList/TreeList.js +2 -2
- package/node/components/Tree/TreeList/constants.js +2 -2
- package/node/components/Tree/TreeList/types.d.ts +1 -1
- package/node/components/Tree/TreeList/useLogic/useLogic.js +4 -4
- package/node/components/TreeAsyncAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeAsyncAutocomplete/OptionsModal/styles.js +2 -2
- package/node/components/TreeAsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/TreeAutocomplete/Input/Input.d.ts +1 -5
- package/node/components/TreeAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeAutocomplete/Input/index.d.ts +1 -0
- package/node/components/TreeAutocomplete/Input/types.d.ts +5 -0
- package/node/components/TreeAutocomplete/Input/types.js +2 -0
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.d.ts +1 -1
- package/node/components/TreeAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -47
- package/node/components/TreeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/node/components/TreeAutocomplete/OptionsModal/types.d.ts +47 -0
- package/node/components/TreeAutocomplete/OptionsModal/types.js +2 -0
- package/node/components/TreeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +2 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/styles.js +4 -3
- package/node/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAsyncAutocomplete/OptionsModal/styles.js +2 -2
- package/node/components/TreeLikeAsyncAutocomplete/OptionsModal/useLogic/hooks/useSelectedTreeView/useSelectedTreeView.js +6 -4
- package/node/components/TreeLikeAsyncAutocomplete/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/Input.d.ts +1 -15
- package/node/components/TreeLikeAutocomplete/Input/Input.js +4 -3
- package/node/components/TreeLikeAutocomplete/Input/index.d.ts +1 -0
- package/node/components/TreeLikeAutocomplete/Input/styles.js +2 -2
- package/node/components/TreeLikeAutocomplete/Input/types.d.ts +15 -0
- package/node/components/TreeLikeAutocomplete/Input/types.js +2 -0
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -4
- package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeAutocomplete/OptionsModal/OptionsModal.d.ts +1 -52
- package/node/components/TreeLikeAutocomplete/OptionsModal/index.d.ts +1 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/types.d.ts +52 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/types.js +2 -0
- package/node/components/TreeLikeAutocomplete/OptionsModal/useLogic/useLogic.d.ts +1 -1
- package/node/components/TreeLikeList/TreeItem/styles.js +4 -4
- package/node/components/TreeLikeList/TreeItem/types.d.ts +1 -1
- package/node/components/TreeLikeList/TreeItem/useLogic/useLogic.js +2 -2
- package/node/components/TreeLikeList/types.d.ts +1 -1
- package/node/components/Typography/Typography.d.ts +7 -58
- package/node/components/Typography/hooks/useTypographyColor/useTypographyColor.js +2 -2
- package/node/components/Typography/index.d.ts +1 -1
- package/node/components/Typography/index.js +0 -1
- package/node/components/Typography/public.d.ts +1 -1
- package/node/components/Typography/public.js +0 -1
- package/node/components/Typography/styles.d.ts +1 -1
- package/node/components/Typography/styles.js +5 -2
- package/node/components/Typography/types.d.ts +31 -0
- package/node/components/WelcomeScreen/styles.d.ts +4 -16
- package/node/components/fileUploading/FileInfo/styles.d.ts +18 -24
- package/node/components/fileUploading/FileInfo/styles.js +2 -2
- package/node/components/fileUploading/FileUploader/FileUploader.js +2 -2
- package/node/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/DropzoneWrapper.d.ts +1 -1
- package/node/components/fileUploading/FileUploaderDropzone/FileUploaderDropzone.d.ts +1 -1
- package/node/components/fileUploading/FileUploaderDropzone/HintPlaceholder/HintPlaceholder.js +2 -2
- package/node/components/fileUploading/FileUploaderDropzone/LimitMaxFilePlaceholder/LimitMaxFilePlaceholder.js +2 -2
- package/node/components/fileUploading/FileUploaderFile/Actions/Actions.js +8 -4
- package/node/components/fileUploading/FileUploaderFile/Actions/useLogic/useLogic.js +4 -4
- package/node/components/fileUploading/FileUploaderFile/FileUploaderFile.js +2 -2
- package/node/components/fileUploading/FileUploaderFile/Progress/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderDropZone/HintPlaceholder/useLogic/useLogic.d.ts +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/FileError.js +3 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FileError/useLogic/useLogic.d.ts +1 -1
- package/node/components/fileUploading/PreviewFileUploaderFile/FileLoading/Progress/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/FilePreview.js +6 -4
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/Preview/useLogic/useLogic.js +2 -2
- package/node/components/fileUploading/PreviewFileUploaderFile/FilePreview/useLogic/useLogic.js +4 -4
- package/node/components/fileUploading/PreviewFileUploaderFile/PreviewFileUploaderFile.js +2 -2
- package/node/components/fileUploading/constants.js +4 -4
- package/node/components/fileUploading/hooks/useFileUploader/useFileUploader.js +6 -4
- package/node/components/fileUploading/hooks/usePreviewFileUploader/usePreviewFileUploader.js +6 -4
- package/node/components/fileUploading/hooks/useSyncFiles/useSyncFiles.js +2 -2
- package/node/components/hooks/useAsyncOptions/useAsyncOptions.d.ts +1 -1
- package/node/components/hooks/useAsyncOptions/useAsyncOptions.js +2 -2
- package/node/components/hooks/useClickAwayEffect/useClickAwayEffect.d.ts +1 -1
- package/node/components/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
- package/node/components/hooks/useFocusAwayEffect/useFocusAwayEffect.d.ts +1 -1
- package/node/components/hooks/useInputPopover/useInputPopover.d.ts +1 -1
- package/node/components/hooks/useViewportType/useViewportType.js +7 -3
- package/node/components/index.d.ts +57 -8
- package/node/components/index.js +105 -31
- package/node/components/personalDataSecurity/PersonalData/PersonalData.d.ts +1 -1
- package/node/components/placeholders/InternalErrorPlaceholder/InternalErrorPlaceholder.js +5 -2
- package/node/components/placeholders/LoadingPlaceholder/constants.js +2 -2
- package/node/components/placeholders/Placeholder/styles.d.ts +4 -16
- package/node/components/styled/mixins/list/list.js +1 -1
- package/node/components/styled/mixins/transitions/easeOutBackTransition.js +1 -1
- package/node/components/styled/mixins/transitions/fadeDropDownTransition.js +1 -1
- package/node/components/styled/styled.d.ts +1 -2
- package/node/components/theme/baseTheme/baseTheme.js +5 -5
- package/node/components/theme/breakpoints.d.ts +1 -1
- package/node/components/theme/components/MuiAlert.d.ts +1 -1
- package/node/components/theme/components/MuiAutocomplete.d.ts +1 -1
- package/node/components/theme/components/MuiAutocomplete.js +3 -3
- package/node/components/theme/components/MuiButton.d.ts +1 -1
- package/node/components/theme/components/MuiButton.js +42 -42
- package/node/components/theme/components/MuiButtonBase.d.ts +1 -1
- package/node/components/theme/components/MuiCircularProgress.d.ts +1 -1
- package/node/components/theme/components/MuiDialog.d.ts +1 -1
- package/node/components/theme/components/MuiDialogActions.d.ts +1 -1
- package/node/components/theme/components/MuiDialogContent.d.ts +1 -1
- package/node/components/theme/components/MuiDialogTitle.d.ts +1 -1
- package/node/components/theme/components/MuiDialogTitle.js +2 -2
- package/node/components/theme/components/MuiDrawer.d.ts +1 -1
- package/node/components/theme/components/MuiDrawer.js +3 -2
- package/node/components/theme/components/MuiFormControlLabel.d.ts +1 -1
- package/node/components/theme/components/MuiFormHelperText.d.ts +1 -1
- package/node/components/theme/components/MuiFormLabel.d.ts +1 -1
- package/node/components/theme/components/MuiInputLabel.d.ts +1 -1
- package/node/components/theme/components/MuiLinearProgress.d.ts +1 -1
- package/node/components/theme/components/MuiListItemButton.d.ts +1 -1
- package/node/components/theme/components/MuiListItemText.d.ts +1 -1
- package/node/components/theme/components/MuiListSubheader.d.ts +1 -1
- package/node/components/theme/components/MuiMenu.d.ts +1 -1
- package/node/components/theme/components/MuiMenu.js +5 -4
- package/node/components/theme/components/MuiMenuItem.d.ts +1 -1
- package/node/components/theme/components/MuiMenuItem.js +4 -4
- package/node/components/theme/components/MuiOutlinedInput.d.ts +1 -1
- package/node/components/theme/components/MuiPaginationItem.d.ts +1 -1
- package/node/components/theme/components/MuiPaper.d.ts +1 -1
- package/node/components/theme/components/MuiStep.d.ts +1 -1
- package/node/components/theme/components/MuiStep.js +4 -4
- package/node/components/theme/components/MuiStepConnector.d.ts +1 -1
- package/node/components/theme/components/MuiStepLabel.d.ts +1 -1
- package/node/components/theme/components/MuiStepLabel.js +2 -2
- package/node/components/theme/components/MuiSwitch.d.ts +1 -1
- package/node/components/theme/components/MuiTab.d.ts +1 -1
- package/node/components/theme/components/MuiTableCell.d.ts +1 -1
- package/node/components/theme/components/MuiTableHead.d.ts +1 -1
- package/node/components/theme/components/MuiTableRow.d.ts +1 -1
- package/node/components/theme/components/MuiTabs.d.ts +1 -1
- package/node/components/theme/components/MuiTextField.d.ts +1 -1
- package/node/components/theme/components/MuiTextField.js +9 -7
- package/node/components/theme/components/MuiToggleButton.d.ts +1 -1
- package/node/components/theme/components/MuiToggleButtonGroup.d.ts +1 -1
- package/node/components/theme/components/MuiTypography.d.ts +1 -1
- package/node/components/theme/components/components.d.ts +1 -1
- package/node/components/theme/types.d.ts +123 -2
- package/node/components/theme/types.js +119 -0
- package/node/components/transitions/Fade/Fade.d.ts +1 -1
- package/node/components/transitions/Fade/Fade.js +5 -2
- package/node/components/transitions/Grow/Grow.d.ts +1 -1
- package/node/components/transitions/Grow/Grow.js +5 -2
- package/node/components/transitions/Slide/Slide.d.ts +2 -2
- package/node/components/transitions/Slide/Slide.js +5 -2
- package/node/components/transitions/Zoom/Zoom.d.ts +1 -1
- package/node/components/transitions/Zoom/Zoom.js +5 -2
- package/node/components/types/CloseEventReason/closeEventReason.d.ts +1 -1
- package/node/components/utils/date/buildDaysCalendarGrid/buildDaysCalendarGrid.d.ts +2 -1
- package/node/components/utils/date/checkIsDateInRange/checkIsDateInRange.d.ts +1 -1
- package/node/components/utils/date/checkIsDateInRange/checkIsDateInRange.js +2 -2
- package/node/hook-form/EditableText/EditableText.d.ts +1 -1
- package/node/hook-form/EditableText/EditingForm/EditingForm.d.ts +1 -1
- package/node/hook-form/EditableText/EditingForm/styles.d.ts +2 -8
- package/node/hook-form/EditableText/EditingForm/useLogic/useLogic.js +2 -2
- package/node/hook-form/EditableText/styles.d.ts +2 -8
- package/node/hook-form/EditableText/styles.js +2 -2
- package/node/hook-form/EditableText/useLogic/useLogic.d.ts +1 -1
- package/node/hook-form/EditableText/useLogic/useLogic.js +2 -2
- package/node/hook-form/Form/Form.d.ts +1 -1
- package/node/hook-form/Form/Form.js +2 -2
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +1 -1
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +2 -2
- package/node/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormAutocomplete/FormAutocomplete.js +2 -2
- package/node/hook-form/FormCheckboxField/FormCheckboxField.js +2 -2
- package/node/hook-form/FormCodeField/FormCodeField.js +2 -2
- package/node/hook-form/FormDatePicker/FormDatePicker.js +4 -3
- package/node/hook-form/FormDateRangePicker/FormDateRangePicker.js +4 -3
- package/node/hook-form/FormEmailField/FormEmailField.js +2 -2
- package/node/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +2 -2
- package/node/hook-form/FormFileUploader/FormFileUploader.d.ts +1 -1
- package/node/hook-form/FormFileUploader/FormFileUploader.js +4 -4
- package/node/hook-form/FormMaskField/FormMaskField.js +2 -2
- package/node/hook-form/FormMobilePhoneField/FormMobilePhoneField.js +4 -4
- package/node/hook-form/FormNumberField/FormNumberField.js +2 -2
- package/node/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +6 -6
- package/node/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +3 -3
- package/node/hook-form/FormPageLayout/FormPageLayout.js +2 -2
- package/node/hook-form/FormPageLayoutBase/FormMobileActions/FormMobileActions.js +2 -2
- package/node/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +3 -3
- package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.d.ts +1 -1
- package/node/hook-form/FormPageLayoutBase/FormPageLayoutBase.js +2 -2
- package/node/hook-form/FormPageLayoutBase/constants.js +5 -5
- package/node/hook-form/FormPageLayoutBase/useLogic/useLogic.d.ts +1 -1
- package/node/hook-form/FormPasswordField/FormPasswordField.js +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +2 -2
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +4 -4
- package/node/hook-form/FormRadioGroup/FormRadioGroup.js +2 -2
- package/node/hook-form/FormSelect/FormSelect.js +2 -2
- package/node/hook-form/FormSubmitButton/FormSubmitButton.js +2 -2
- package/node/hook-form/FormTextArea/FormTextArea.js +2 -2
- package/node/hook-form/FormTextField/FormTextField.js +2 -2
- package/node/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +2 -2
- package/node/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +2 -2
- package/node/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +2 -2
- package/node/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +2 -2
- package/node/hook-form/FormWizard/Footer/Footer.js +4 -3
- package/node/hook-form/FormWizard/Footer/styles.d.ts +3 -3
- package/node/hook-form/FormWizard/FormWizard.d.ts +1 -1
- package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +3 -3
- package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.js +4 -3
- package/node/hook-form/FormWizardPageLayout/FormWizardPageLayout.js +2 -2
- package/node/hook-form/hooks/useFormFieldProps/useFormFieldProps.js +2 -2
- package/package.json +1 -1
- package/components/fileUploading/index.d.ts +0 -8
- package/components/fileUploading/index.js +0 -8
- package/components/hooks/index.d.ts +0 -24
- package/components/hooks/index.js +0 -24
- package/components/placeholders/index.d.ts +0 -4
- package/components/placeholders/index.js +0 -4
- package/components/theme/index.d.ts +0 -9
- package/components/theme/index.js +0 -9
- package/components/theme/typography.d.ts +0 -122
- package/components/theme/typography.js +0 -117
- package/components/transitions/index.d.ts +0 -4
- package/components/transitions/index.js +0 -4
- package/components/types/index.d.ts +0 -6
- package/components/types/index.js +0 -6
- package/components/utils/index.d.ts +0 -18
- package/components/utils/index.js +0 -18
- package/node/components/fileUploading/index.d.ts +0 -8
- package/node/components/fileUploading/index.js +0 -21
- package/node/components/hooks/index.d.ts +0 -24
- package/node/components/hooks/index.js +0 -51
- package/node/components/placeholders/index.d.ts +0 -4
- package/node/components/placeholders/index.js +0 -12
- package/node/components/theme/index.d.ts +0 -9
- package/node/components/theme/index.js +0 -25
- package/node/components/theme/typography.d.ts +0 -122
- package/node/components/theme/typography.js +0 -121
- package/node/components/transitions/index.d.ts +0 -4
- package/node/components/transitions/index.js +0 -11
- package/node/components/types/index.d.ts +0 -6
- package/node/components/types/index.js +0 -22
- package/node/components/utils/index.d.ts +0 -18
- package/node/components/utils/index.js +0 -34
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type ComponentProps, type ElementType, type ReactNode, type SyntheticEvent } from 'react';
|
|
2
|
+
import type { SyncFunctionComponent } from '../../types/SyncFunctionComponent';
|
|
3
|
+
import { type TreeListData } from '../types';
|
|
4
|
+
export type TreeItemProps<TComponent extends ElementType = ElementType> = {
|
|
5
|
+
/**
|
|
6
|
+
* Название класса, применяется к корневому компоненту.
|
|
7
|
+
*/
|
|
8
|
+
className?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Уникальный префикс для идентификаторов в рамках дерева
|
|
11
|
+
*/
|
|
12
|
+
prefixId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Если true, item выделяется как активный.
|
|
15
|
+
*/
|
|
16
|
+
isSelected: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Содержимое, которое будет отображено внутри элемента списка.
|
|
19
|
+
*/
|
|
20
|
+
label: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Подзаголовок, который будет отображено под элементом списка.
|
|
23
|
+
*/
|
|
24
|
+
note?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Render-props, позволяет более гибко настраивать содержимое item
|
|
27
|
+
*/
|
|
28
|
+
renderItem?: SyncFunctionComponent<Omit<TreeListData, 'children'>>;
|
|
29
|
+
/**
|
|
30
|
+
* Содержимое, отображающееся при раскрытии элемента.
|
|
31
|
+
* При наличии children item будет отображен как родительский элемент.
|
|
32
|
+
*/
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Компонент, используемый для корневого узла элемента списка. Либо строка для использования элемента HTML, либо компонент.
|
|
36
|
+
* @default 'div'
|
|
37
|
+
*/
|
|
38
|
+
component?: TComponent;
|
|
39
|
+
/**
|
|
40
|
+
* Уровень вложенности в дереве.
|
|
41
|
+
*/
|
|
42
|
+
level: number;
|
|
43
|
+
/**
|
|
44
|
+
* Если true, то элемент будет не доступен для взаимодействия
|
|
45
|
+
* @default 'false'
|
|
46
|
+
*/
|
|
47
|
+
isDisabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Текст тултипа при заблокированном состоянии элемента дерева
|
|
50
|
+
*/
|
|
51
|
+
disabledReason?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Если true, то список можно будет развернуть даже если установлен `isDisabled=true`
|
|
54
|
+
* @default 'false'
|
|
55
|
+
*/
|
|
56
|
+
isNotBlockingExpandList?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Если true, то вложенный список будет раскрыт
|
|
59
|
+
* @default 'false'
|
|
60
|
+
*/
|
|
61
|
+
isDefaultExpanded?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Флаг для переопределения внутреннего состояния открыто/закрыто
|
|
64
|
+
*/
|
|
65
|
+
isForceExpanded?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Функция, которая запускается при нажатии на элемент списка.
|
|
68
|
+
*/
|
|
69
|
+
onClick?: (event: SyntheticEvent) => void;
|
|
70
|
+
} & Omit<ComponentProps<TComponent>, ''>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MouseEvent, type SyntheticEvent } from 'react';
|
|
2
|
-
import { type TreeItemProps } from '../
|
|
2
|
+
import { type TreeItemProps } from '../types';
|
|
3
3
|
type UseLogicProps = TreeItemProps;
|
|
4
4
|
export declare const useLogic: ({ id, prefixId, isDefaultExpanded, isForceExpanded, isDisabled, disabledReason, onClick, }: UseLogicProps) => {
|
|
5
5
|
isOpen: boolean;
|
|
@@ -1,50 +1,3 @@
|
|
|
1
|
-
import type { SyncFunctionComponent } from '../../../types';
|
|
2
|
-
import type { TreeListData } from '../../types';
|
|
3
1
|
import type { TreeListItemValue } from '../types';
|
|
4
|
-
type
|
|
5
|
-
id: string;
|
|
6
|
-
disabledReason?: string;
|
|
7
|
-
};
|
|
8
|
-
export type TreeItemProps<TValue extends TreeListItemValue = string> = {
|
|
9
|
-
item: TreeListData;
|
|
10
|
-
/**
|
|
11
|
-
* Выбранные значения
|
|
12
|
-
*/
|
|
13
|
-
value?: TValue | null;
|
|
14
|
-
isObjectMode?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Уникальный префикс для идентификаторов в рамках дерева
|
|
17
|
-
*/
|
|
18
|
-
prefixId?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Render-props, позволяет более гибко настраивать содержимое item
|
|
21
|
-
*/
|
|
22
|
-
renderItem?: SyncFunctionComponent<Omit<TreeListData, 'children'>>;
|
|
23
|
-
/**
|
|
24
|
-
* Уровень вложенности в дереве
|
|
25
|
-
*/
|
|
26
|
-
level: number;
|
|
27
|
-
/**
|
|
28
|
-
* Если true, то дерево будет раскрыто по умолчанию при монтировании
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
isInitialExpanded?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Уровень раскрытия дерева по умолчанию, при isExpanded=true
|
|
34
|
-
*/
|
|
35
|
-
expandedLevel: number;
|
|
36
|
-
/**
|
|
37
|
-
* Цепочка идентификаторов до выбранного элемента дерева
|
|
38
|
-
*/
|
|
39
|
-
chainToSelectedItem?: string[];
|
|
40
|
-
/**
|
|
41
|
-
* Список `value` элементов дерева, которые не доступны для взаимодействия
|
|
42
|
-
*/
|
|
43
|
-
disabledItems?: FormatDisableItem[];
|
|
44
|
-
/**
|
|
45
|
-
* Функция, которая запускается при выборе item
|
|
46
|
-
*/
|
|
47
|
-
onChange?: (value: TValue) => void;
|
|
48
|
-
};
|
|
2
|
+
import { type TreeItemProps } from './types';
|
|
49
3
|
export declare const TreeItem: <TValue extends TreeListItemValue = string>(props: TreeItemProps<TValue>) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
-
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { SyncFunctionComponent } from '../../../types/SyncFunctionComponent';
|
|
2
|
+
import type { TreeListData } from '../../types';
|
|
3
|
+
import type { TreeListItemValue } from '../types';
|
|
4
|
+
type FormatDisableItem = {
|
|
5
|
+
id: string;
|
|
6
|
+
disabledReason?: string;
|
|
7
|
+
};
|
|
8
|
+
export type TreeItemProps<TValue extends TreeListItemValue = string> = {
|
|
9
|
+
item: TreeListData;
|
|
10
|
+
/**
|
|
11
|
+
* Выбранные значения
|
|
12
|
+
*/
|
|
13
|
+
value?: TValue | null;
|
|
14
|
+
isObjectMode?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Уникальный префикс для идентификаторов в рамках дерева
|
|
17
|
+
*/
|
|
18
|
+
prefixId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Render-props, позволяет более гибко настраивать содержимое item
|
|
21
|
+
*/
|
|
22
|
+
renderItem?: SyncFunctionComponent<Omit<TreeListData, 'children'>>;
|
|
23
|
+
/**
|
|
24
|
+
* Уровень вложенности в дереве
|
|
25
|
+
*/
|
|
26
|
+
level: number;
|
|
27
|
+
/**
|
|
28
|
+
* Если true, то дерево будет раскрыто по умолчанию при монтировании
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
isInitialExpanded?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Уровень раскрытия дерева по умолчанию, при isExpanded=true
|
|
34
|
+
*/
|
|
35
|
+
expandedLevel: number;
|
|
36
|
+
/**
|
|
37
|
+
* Цепочка идентификаторов до выбранного элемента дерева
|
|
38
|
+
*/
|
|
39
|
+
chainToSelectedItem?: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Список `value` элементов дерева, которые не доступны для взаимодействия
|
|
42
|
+
*/
|
|
43
|
+
disabledItems?: FormatDisableItem[];
|
|
44
|
+
/**
|
|
45
|
+
* Функция, которая запускается при выборе item
|
|
46
|
+
*/
|
|
47
|
+
onChange?: (value: TValue) => void;
|
|
48
|
+
};
|
|
49
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TreeListItemValue } from '../../types';
|
|
2
|
-
import { type TreeItemProps } from '../
|
|
2
|
+
import { type TreeItemProps } from '../types';
|
|
3
3
|
type UseLogicProps<TValue extends TreeListItemValue = string> = TreeItemProps<TValue>;
|
|
4
4
|
export declare const useLogic: <TValue extends TreeListItemValue = string>({ value, level, item, isInitialExpanded, expandedLevel, chainToSelectedItem, disabledItems, onChange, isObjectMode, }: UseLogicProps<TValue>) => {
|
|
5
5
|
isSelected: boolean;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TreeList = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const classNames_1 = require("../../utils/classNames");
|
|
6
6
|
const constants_1 = require("./constants");
|
|
7
7
|
const styles_1 = require("./styles");
|
|
8
8
|
const TreeItem_1 = require("./TreeItem");
|
|
@@ -11,6 +11,6 @@ const INITIAL_LEVEL = 0;
|
|
|
11
11
|
const TreeList = (props) => {
|
|
12
12
|
const { listProps, itemProps } = (0, useLogic_1.useLogic)(props);
|
|
13
13
|
const { data, className, expandedLevel = 10, disabledItems, ...restProps } = props;
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.List, { className: (0,
|
|
14
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.List, { className: (0, classNames_1.classNames)(className, constants_1.treeListClassnames.list), ...listProps, children: data.map((item) => ((0, jsx_runtime_1.jsx)(TreeItem_1.TreeItem, { item: item, level: INITIAL_LEVEL, expandedLevel: expandedLevel, ...itemProps, ...restProps }, item.id))) }));
|
|
15
15
|
};
|
|
16
16
|
exports.TreeList = TreeList;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.treeListClassnames = void 0;
|
|
4
|
-
const
|
|
4
|
+
const createUIKitClassname_1 = require("../../utils/createUIKitClassname");
|
|
5
5
|
exports.treeListClassnames = {
|
|
6
|
-
list: (0,
|
|
6
|
+
list: (0, createUIKitClassname_1.createUIKitClassname)('tree-list'),
|
|
7
7
|
};
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const useId_1 = require("../../../hooks/useId");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
6
|
+
const getFormatDisabledItems_1 = require("../../utils/getFormatDisabledItems");
|
|
7
|
+
const utils_1 = require("./utils");
|
|
8
8
|
const useLogic = ({ value, data, disabledItems, isObjectMode, }) => {
|
|
9
9
|
const prefixId = (0, useId_1.useId)();
|
|
10
10
|
const listRef = (0, react_1.useRef)(null);
|
|
@@ -18,8 +18,8 @@ const useLogic = ({ value, data, disabledItems, isObjectMode, }) => {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}, [listRef, prefixId]);
|
|
21
|
-
const formattedDisabledItems = (0, react_1.useMemo)(() => (0,
|
|
22
|
-
const chainToSelectedItem = (0, react_1.useMemo)(() => (0,
|
|
21
|
+
const formattedDisabledItems = (0, react_1.useMemo)(() => (0, getFormatDisabledItems_1.getFormatDisabledItems)(disabledItems), [disabledItems]);
|
|
22
|
+
const chainToSelectedItem = (0, react_1.useMemo)(() => (0, utils_1.getChainId)(data, value), [data, value]);
|
|
23
23
|
return {
|
|
24
24
|
listProps: {
|
|
25
25
|
ref: listRef,
|
|
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Input = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const
|
|
6
|
+
const CrossOutlineMd_1 = require("../../../icons/CrossOutlineMd");
|
|
7
|
+
const DownOutlineMd_1 = require("../../../icons/DownOutlineMd");
|
|
7
8
|
const IconButton_1 = require("../../IconButton");
|
|
8
9
|
const TextField_1 = require("../../TextField");
|
|
9
10
|
const constants_1 = require("./constants");
|
|
10
11
|
const styles_1 = require("./styles");
|
|
11
12
|
const useLogic_1 = require("./useLogic");
|
|
12
|
-
const ClearButton = ({ disabled, onClick }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, onClick: onClick, title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(
|
|
13
|
+
const ClearButton = ({ disabled, onClick }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, onClick: onClick, title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }));
|
|
13
14
|
exports.Input = (0, react_1.forwardRef)(({ disabled, onChange, value, inputRef, hideHelperText = false, ...restProps }, forwardedRef) => {
|
|
14
15
|
const { inputRef: internalInputRef, isVisibleClearButton, handleClearAll, } = (0, useLogic_1.useLogic)({
|
|
15
16
|
inputRef,
|
|
@@ -17,5 +18,5 @@ exports.Input = (0, react_1.forwardRef)(({ disabled, onChange, value, inputRef,
|
|
|
17
18
|
onChange,
|
|
18
19
|
disabled,
|
|
19
20
|
});
|
|
20
|
-
return ((0, jsx_runtime_1.jsx)(TextField_1.TextField, { ...restProps, value: value, hideHelperText: hideHelperText, ref: forwardedRef, inputRef: internalInputRef, disabled: disabled, inputProps: { readOnly: true }, endAdornment: (0, jsx_runtime_1.jsxs)(styles_1.IconWrapper, { children: [isVisibleClearButton && ((0, jsx_runtime_1.jsx)(ClearButton, { disabled: disabled, onClick: handleClearAll })), (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, children: (0, jsx_runtime_1.jsx)(
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)(TextField_1.TextField, { ...restProps, value: value, hideHelperText: hideHelperText, ref: forwardedRef, inputRef: internalInputRef, disabled: disabled, inputProps: { readOnly: true }, endAdornment: (0, jsx_runtime_1.jsxs)(styles_1.IconWrapper, { children: [isVisibleClearButton && ((0, jsx_runtime_1.jsx)(ClearButton, { disabled: disabled, onClick: handleClearAll })), (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, children: (0, jsx_runtime_1.jsx)(DownOutlineMd_1.DownOutlineMd, {}) })] }) }));
|
|
21
22
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
|
-
const
|
|
4
|
+
const useForwardedRef_1 = require("../../../hooks/useForwardedRef");
|
|
5
5
|
const useLogic = ({ value, disabled, inputRef: externalInputRef, onChange, }) => {
|
|
6
|
-
const inputRef = (0,
|
|
6
|
+
const inputRef = (0, useForwardedRef_1.useForwardedRef)(externalInputRef);
|
|
7
7
|
const handleClearAll = (event) => {
|
|
8
8
|
event.stopPropagation();
|
|
9
9
|
onChange?.(null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserHintWrapper = exports.StyledSearchField = exports.TreeListWrapper = exports.StyledDialogContent = void 0;
|
|
4
|
-
const
|
|
4
|
+
const FormHelperText_1 = require("@mui/material/FormHelperText");
|
|
5
5
|
const Dialog_1 = require("../../Dialog");
|
|
6
6
|
const DialogContent_1 = require("../../DialogContent");
|
|
7
7
|
const SearchField_1 = require("../../SearchField");
|
|
@@ -34,7 +34,7 @@ exports.TreeListWrapper = styled_1.styled.div `
|
|
|
34
34
|
}
|
|
35
35
|
`;
|
|
36
36
|
exports.StyledSearchField = (0, styled_1.styled)(SearchField_1.SearchField) `
|
|
37
|
-
& .${
|
|
37
|
+
& .${FormHelperText_1.formHelperTextClasses.root} {
|
|
38
38
|
display: flex;
|
|
39
39
|
|
|
40
40
|
margin-top: ${({ theme }) => theme.spacing(2)};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useAsyncOptions_1 = require("../../hooks/useAsyncOptions");
|
|
6
6
|
const constants_1 = require("../constants");
|
|
7
7
|
const useLogic = ({ onBlur, isError, value, isDisabled, fetchDelayMs = constants_1.DEFAULT_DELAY_MS, fetchOptions, minSymbolsToFetch = constants_1.DEFAULT_MIN_SEARCH_CHARACTERS, onDataLoadError, onChange, loadingErrorMsg, treeProps, dialogProps, onShowUserHint, ...restInputProps }) => {
|
|
8
8
|
const [isOpen, setOpen] = (0, react_1.useState)(false);
|
|
9
9
|
const [isLoadingModal, setIsLoadingModal] = (0, react_1.useState)(false);
|
|
10
|
-
const { options, isLoadingData, isLoadingError, onInputChange: propsOnInputChange, onOpen: propsOnOpen, onRetry: propsOnRetry, meta, } = (0,
|
|
10
|
+
const { options, isLoadingData, isLoadingError, onInputChange: propsOnInputChange, onOpen: propsOnOpen, onRetry: propsOnRetry, meta, } = (0, useAsyncOptions_1.useAsyncOptions)({
|
|
11
11
|
fetchOptions,
|
|
12
12
|
fetchDelayMs,
|
|
13
13
|
minSymbolsToFetch,
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type
|
|
3
|
-
import type { TreeAutocompleteValue } from '../types';
|
|
4
|
-
export type InputProps = Omit<TextFieldProps, 'onChange'> & {
|
|
5
|
-
onChange?: (value: TreeAutocompleteValue | undefined) => void;
|
|
6
|
-
};
|
|
2
|
+
import { type InputProps } from './types';
|
|
7
3
|
export declare const Input: import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -3,15 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Input = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const
|
|
6
|
+
const CrossOutlineMd_1 = require("../../../icons/CrossOutlineMd");
|
|
7
|
+
const DownOutlineMd_1 = require("../../../icons/DownOutlineMd");
|
|
7
8
|
const IconButton_1 = require("../../IconButton");
|
|
8
9
|
const TextField_1 = require("../../TextField");
|
|
9
10
|
const constants_1 = require("./constants");
|
|
10
11
|
const styles_1 = require("./styles");
|
|
11
12
|
const useLogic_1 = require("./useLogic");
|
|
12
|
-
const ClearButton = ({ disabled, onClick }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, onClick: onClick, title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(
|
|
13
|
+
const ClearButton = ({ disabled, onClick }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, onClick: onClick, title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }));
|
|
13
14
|
exports.Input = (0, react_1.forwardRef)((props, forwardedRef) => {
|
|
14
15
|
const { inputRef, isVisibleClearButton, handleClearAll } = (0, useLogic_1.useLogic)(props);
|
|
15
16
|
const { disabled, onChange, ...restProps } = props;
|
|
16
|
-
return ((0, jsx_runtime_1.jsx)(TextField_1.TextField, { ...restProps, ref: forwardedRef, inputRef: inputRef, disabled: disabled, inputProps: { readOnly: true }, endAdornment: (0, jsx_runtime_1.jsxs)(styles_1.IconWrapper, { children: [isVisibleClearButton && ((0, jsx_runtime_1.jsx)(ClearButton, { disabled: disabled, onClick: handleClearAll })), (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, children: (0, jsx_runtime_1.jsx)(
|
|
17
|
+
return ((0, jsx_runtime_1.jsx)(TextField_1.TextField, { ...restProps, ref: forwardedRef, inputRef: inputRef, disabled: disabled, inputProps: { readOnly: true }, endAdornment: (0, jsx_runtime_1.jsxs)(styles_1.IconWrapper, { children: [isVisibleClearButton && ((0, jsx_runtime_1.jsx)(ClearButton, { disabled: disabled, onClick: handleClearAll })), (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, children: (0, jsx_runtime_1.jsx)(DownOutlineMd_1.DownOutlineMd, {}) })] }) }));
|
|
17
18
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type SyntheticEvent } from 'react';
|
|
2
|
-
import { type InputProps } from '../
|
|
2
|
+
import { type InputProps } from '../types';
|
|
3
3
|
type UseLogicParams = InputProps;
|
|
4
4
|
export declare const useLogic: ({ value, disabled, inputRef: externalInputRef, onChange, }: UseLogicParams) => {
|
|
5
5
|
inputRef: import("react").RefObject<HTMLInputElement | null>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
|
-
const
|
|
4
|
+
const useForwardedRef_1 = require("../../../hooks/useForwardedRef");
|
|
5
5
|
const useLogic = ({ value, disabled, inputRef: externalInputRef, onChange, }) => {
|
|
6
|
-
const inputRef = (0,
|
|
6
|
+
const inputRef = (0, useForwardedRef_1.useForwardedRef)(externalInputRef);
|
|
7
7
|
const handleClearAll = (event) => {
|
|
8
8
|
event.stopPropagation();
|
|
9
9
|
onChange?.('');
|
|
@@ -1,48 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type TreeListData, type TreeListProps } from '../../Tree';
|
|
3
|
-
import type { TreeAutocompleteValue } from '../types';
|
|
4
|
-
export type OptionsModalProps = Omit<DialogProps, 'open' | 'onChange'> & {
|
|
5
|
-
/**
|
|
6
|
-
* Если true, модальное окно будет открыто
|
|
7
|
-
*/
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Выбранное значения
|
|
11
|
-
*/
|
|
12
|
-
initialValue?: TreeAutocompleteValue;
|
|
13
|
-
/**
|
|
14
|
-
* Опции, которые необходимо отобразить в виде дерева.
|
|
15
|
-
*/
|
|
16
|
-
options: TreeListData[];
|
|
17
|
-
/**
|
|
18
|
-
* Флаг загрузки options
|
|
19
|
-
* Если true, вместо дерева options будет отображен лоадер
|
|
20
|
-
*/
|
|
21
|
-
isLoading?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Флаг ошибки загрузки options
|
|
24
|
-
* Если true, вместо дерева options будет отображен плейсхолдер с ошибкой
|
|
25
|
-
*/
|
|
26
|
-
isLoadingError?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Текст ошибки при загрузке данных
|
|
29
|
-
*/
|
|
30
|
-
loadingErrorMsg?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Функция для поиска элементов по дереву, если не определено, то будет использован встроенный поиск
|
|
33
|
-
*/
|
|
34
|
-
filterOptions?: (node: TreeListData, searchValue: string) => boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Предназначен для конфигурации всплывающего окна
|
|
37
|
-
*/
|
|
38
|
-
treeProps?: Pick<TreeListProps, 'disabledItems' | 'renderItem'>;
|
|
39
|
-
/**
|
|
40
|
-
* Функция обработки нажатия на кнопку "Повторить запрос"
|
|
41
|
-
*/
|
|
42
|
-
onRetry?: () => void;
|
|
43
|
-
/**
|
|
44
|
-
* Функция, которая запускается при выборе item
|
|
45
|
-
*/
|
|
46
|
-
onChange?: (newValue?: TreeAutocompleteValue) => void;
|
|
47
|
-
};
|
|
1
|
+
import { type OptionsModalProps } from './types';
|
|
48
2
|
export declare const OptionsModal: (props: OptionsModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type DialogProps } from '../../Dialog';
|
|
2
|
+
import { type TreeListData, type TreeListProps } from '../../Tree';
|
|
3
|
+
import type { TreeAutocompleteValue } from '../types';
|
|
4
|
+
export type OptionsModalProps = Omit<DialogProps, 'open' | 'onChange'> & {
|
|
5
|
+
/**
|
|
6
|
+
* Если true, модальное окно будет открыто
|
|
7
|
+
*/
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Выбранное значения
|
|
11
|
+
*/
|
|
12
|
+
initialValue?: TreeAutocompleteValue;
|
|
13
|
+
/**
|
|
14
|
+
* Опции, которые необходимо отобразить в виде дерева.
|
|
15
|
+
*/
|
|
16
|
+
options: TreeListData[];
|
|
17
|
+
/**
|
|
18
|
+
* Флаг загрузки options
|
|
19
|
+
* Если true, вместо дерева options будет отображен лоадер
|
|
20
|
+
*/
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Флаг ошибки загрузки options
|
|
24
|
+
* Если true, вместо дерева options будет отображен плейсхолдер с ошибкой
|
|
25
|
+
*/
|
|
26
|
+
isLoadingError?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Текст ошибки при загрузке данных
|
|
29
|
+
*/
|
|
30
|
+
loadingErrorMsg?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Функция для поиска элементов по дереву, если не определено, то будет использован встроенный поиск
|
|
33
|
+
*/
|
|
34
|
+
filterOptions?: (node: TreeListData, searchValue: string) => boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Предназначен для конфигурации всплывающего окна
|
|
37
|
+
*/
|
|
38
|
+
treeProps?: Pick<TreeListProps, 'disabledItems' | 'renderItem'>;
|
|
39
|
+
/**
|
|
40
|
+
* Функция обработки нажатия на кнопку "Повторить запрос"
|
|
41
|
+
*/
|
|
42
|
+
onRetry?: () => void;
|
|
43
|
+
/**
|
|
44
|
+
* Функция, которая запускается при выборе item
|
|
45
|
+
*/
|
|
46
|
+
onChange?: (newValue?: TreeAutocompleteValue) => void;
|
|
47
|
+
};
|
|
@@ -2,8 +2,7 @@ import { type ButtonProps } from '../../../Button';
|
|
|
2
2
|
import { type DialogProps } from '../../../Dialog';
|
|
3
3
|
import { type SearchFieldProps } from '../../../SearchField';
|
|
4
4
|
import { type TreeListProps } from '../../../Tree';
|
|
5
|
-
import { type OptionsModalProps } from '../
|
|
6
|
-
type UseLogicParams = OptionsModalProps;
|
|
5
|
+
import { type OptionsModalProps } from '../types';
|
|
7
6
|
type UseLogicResult = {
|
|
8
7
|
isNoResult: boolean;
|
|
9
8
|
searchFieldProps: SearchFieldProps;
|
|
@@ -12,5 +11,5 @@ type UseLogicResult = {
|
|
|
12
11
|
cancelButtonProps: ButtonProps;
|
|
13
12
|
confirmButtonProps: ButtonProps;
|
|
14
13
|
};
|
|
15
|
-
export declare const useLogic: ({ isOpen, isLoading, isLoadingError, initialValue, options, filterOptions, onChange, onClose, }:
|
|
14
|
+
export declare const useLogic: ({ isOpen, isLoading, isLoadingError, initialValue, options, filterOptions, onChange, onClose, }: OptionsModalProps) => UseLogicResult;
|
|
16
15
|
export {};
|
|
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Input = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const
|
|
6
|
+
const CrossOutlineMd_1 = require("../../../icons/CrossOutlineMd");
|
|
7
|
+
const DownOutlineMd_1 = require("../../../icons/DownOutlineMd");
|
|
7
8
|
const IconButton_1 = require("../../IconButton");
|
|
8
9
|
const Loader_1 = require("../../Loader");
|
|
9
10
|
const constants_1 = require("./constants");
|
|
10
11
|
const styles_1 = require("./styles");
|
|
11
12
|
const useLogic_1 = require("./useLogic");
|
|
12
|
-
const ClearButton = ({ disabled, onClick }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, onClick: onClick, title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(
|
|
13
|
+
const ClearButton = ({ disabled, onClick }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, onClick: onClick, title: constants_1.CLEAR_TEXT, "aria-label": constants_1.CLEAR_TEXT, children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) }));
|
|
13
14
|
exports.Input = (0, react_1.forwardRef)(({ disabled, onChange: propsOnChange, value, inputRef, hideHelperText = false, onClick, isLoading, ...restProps }, forwardedRef) => {
|
|
14
15
|
const { isVisibleClearButton, onChange, isVisibleTagsList, textFieldProps, onClearAll, } = (0, useLogic_1.useLogic)({
|
|
15
16
|
inputRef,
|
|
@@ -19,5 +20,5 @@ exports.Input = (0, react_1.forwardRef)(({ disabled, onChange: propsOnChange, va
|
|
|
19
20
|
onClick,
|
|
20
21
|
isLoading,
|
|
21
22
|
});
|
|
22
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.StyledTextField, { ...restProps, hideHelperText: hideHelperText, ref: forwardedRef, disabled: disabled, inputProps: { readOnly: true }, ...textFieldProps, startAdornment: isVisibleTagsList && ((0, jsx_runtime_1.jsx)(styles_1.StyledTagsList, { data: value, keyId: "id", isDisabled: disabled, getOptionLabel: (option) => option.label, onClick: onClick, onChange: onChange })), endAdornment: (0, jsx_runtime_1.jsxs)(styles_1.IconWrapper, { children: [isVisibleClearButton && ((0, jsx_runtime_1.jsx)(ClearButton, { disabled: disabled, onClick: onClearAll })), isLoading ? ((0, jsx_runtime_1.jsx)(Loader_1.Loader, { size: "small" })) : ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, children: (0, jsx_runtime_1.jsx)(
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.StyledTextField, { ...restProps, hideHelperText: hideHelperText, ref: forwardedRef, disabled: disabled, inputProps: { readOnly: true }, ...textFieldProps, startAdornment: isVisibleTagsList && ((0, jsx_runtime_1.jsx)(styles_1.StyledTagsList, { data: value, keyId: "id", isDisabled: disabled, getOptionLabel: (option) => option.label, onClick: onClick, onChange: onChange })), endAdornment: (0, jsx_runtime_1.jsxs)(styles_1.IconWrapper, { children: [isVisibleClearButton && ((0, jsx_runtime_1.jsx)(ClearButton, { disabled: disabled, onClick: onClearAll })), isLoading ? ((0, jsx_runtime_1.jsx)(Loader_1.Loader, { size: "small" })) : ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", color: "grey", disabled: disabled, children: (0, jsx_runtime_1.jsx)(DownOutlineMd_1.DownOutlineMd, {}) }))] }) }));
|
|
23
24
|
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IconWrapper = exports.StyledTagsList = exports.StyledTextField = void 0;
|
|
4
|
-
const
|
|
4
|
+
const FormControl_1 = require("@mui/material/FormControl");
|
|
5
|
+
const InputBase_1 = require("@mui/material/InputBase");
|
|
5
6
|
const Loader_1 = require("../../Loader");
|
|
6
7
|
const SvgIcon_1 = require("../../SvgIcon");
|
|
7
8
|
const styled_1 = require("../../styled");
|
|
@@ -10,11 +11,11 @@ const TextField_1 = require("../../TextField");
|
|
|
10
11
|
exports.StyledTextField = (0, styled_1.styled)(TextField_1.TextField, {
|
|
11
12
|
shouldForwardProp: (prop) => !['$isHidden'].includes(prop),
|
|
12
13
|
}) `
|
|
13
|
-
.${
|
|
14
|
+
.${InputBase_1.inputBaseClasses.input} {
|
|
14
15
|
width: ${({ $isHidden }) => $isHidden && 0};
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
&.${
|
|
18
|
+
&.${FormControl_1.formControlClasses.root} .${InputBase_1.inputBaseClasses.adornedEnd} .${Loader_1.loaderClassnames.root} .${SvgIcon_1.svgIconClassnames.root} {
|
|
18
19
|
width: 100%;
|
|
19
20
|
height: 100%;
|
|
20
21
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogic = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useForwardedRef_1 = require("../../../hooks/useForwardedRef");
|
|
6
6
|
const useLogic = ({ value, disabled, isLoading, inputRef: externalInputRef, onChange: propsOnChange, onClick: propsOnClick, }) => {
|
|
7
|
-
const inputRef = (0,
|
|
7
|
+
const inputRef = (0, useForwardedRef_1.useForwardedRef)(externalInputRef);
|
|
8
8
|
const prevValue = (0, react_1.useRef)(undefined);
|
|
9
9
|
(0, react_1.useEffect)(() => {
|
|
10
10
|
if (value && !prevValue.current) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserHintWrapper = exports.StyledSearchField = exports.TreeListWrapper = exports.StyledDialogContent = void 0;
|
|
4
|
-
const
|
|
4
|
+
const FormHelperText_1 = require("@mui/material/FormHelperText");
|
|
5
5
|
const Dialog_1 = require("../../Dialog");
|
|
6
6
|
const DialogContent_1 = require("../../DialogContent");
|
|
7
7
|
const SearchField_1 = require("../../SearchField");
|
|
@@ -34,7 +34,7 @@ exports.TreeListWrapper = styled_1.styled.div `
|
|
|
34
34
|
}
|
|
35
35
|
`;
|
|
36
36
|
exports.StyledSearchField = (0, styled_1.styled)(SearchField_1.SearchField) `
|
|
37
|
-
& .${
|
|
37
|
+
& .${FormHelperText_1.formHelperTextClasses.root} {
|
|
38
38
|
display: flex;
|
|
39
39
|
|
|
40
40
|
margin-top: ${({ theme }) => theme.spacing(2)};
|