asma-ui-core 3.10.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asma-ui-core.css +2 -0
- package/dist/asma-ui-core.es.js +4 -1
- package/dist/index.d.ts +1 -0
- package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +1 -1
- package/dist/src/components/custom/widget/icons/ChevronDownIcon.d.ts +1 -1
- package/dist/src/components/custom/widget/icons/ChevronUpIcon.d.ts +1 -1
- package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +3 -3
- package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +1 -1
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +1 -1
- package/dist/src/components/data-display/chip/StyledChip.d.ts +3 -3
- package/dist/src/components/data-display/form-label/components/StyledFormLabel.d.ts +1 -1
- package/dist/src/components/data-display/form-label/helpers/getStyles.d.ts +1 -1
- package/dist/src/components/data-display/form-label/types.d.ts +1 -1
- package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +3 -2
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +1 -1
- package/dist/src/components/data-display/typography/StyledTypography.d.ts +1 -1
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +2 -2
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +1 -1
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +1 -1
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +1 -1
- package/dist/src/components/feedback/empty-page/EmptyPageIcon.d.ts +1 -1
- package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +1 -1
- package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +3 -3
- package/dist/src/components/feedback/loading/StyledLoading.d.ts +3 -3
- package/dist/src/components/feedback/minimizable-dialog/MinimizableDialog.d.ts +2 -2
- package/dist/src/components/feedback/minimizable-dialog/components/CloseBtn.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/components/FullscreenBtn.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/stack/createDialogStack.d.ts +2 -2
- package/dist/src/components/feedback/minimizable-dialog/types.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.d.ts +2 -2
- package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/v2/useControlledProps.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +1 -1
- package/dist/src/components/icons/IconTemplate.d.ts +1 -1
- package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +1 -1
- package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +1 -1
- package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +1 -1
- package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +1 -1
- package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +1 -1
- package/dist/src/components/icons/bell-icon/BellIcon.d.ts +1 -1
- package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +1 -1
- package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +1 -1
- package/dist/src/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +1 -1
- package/dist/src/components/icons/close-icon/CloseIcon.d.ts +1 -1
- package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +1 -1
- package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +1 -1
- package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +1 -1
- package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +1 -1
- package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +1 -1
- package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +1 -1
- package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +1 -1
- package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +1 -1
- package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +1 -1
- package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +1 -1
- package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +2 -2
- package/dist/src/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +1 -1
- package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +1 -1
- package/dist/src/components/icons/filter-icon-off/FilterIconOff.d.ts +2 -2
- package/dist/src/components/icons/find-replace-icon/FindReplaceIcon.d.ts +1 -1
- package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +1 -1
- package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +1 -1
- package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +1 -1
- package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +1 -1
- package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +1 -1
- package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +1 -1
- package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +1 -1
- package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +1 -1
- package/dist/src/components/icons/lock-icon/LockIcon.d.ts +1 -1
- package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +1 -1
- package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +1 -1
- package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +1 -1
- package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +1 -1
- package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +1 -1
- package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +1 -1
- package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +1 -1
- package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +1 -1
- package/dist/src/components/icons/person-icon/PersonIcon.d.ts +1 -1
- package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/pin-icon/PinIcon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +1 -1
- package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +1 -1
- package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +2 -2
- package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +1 -1
- package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/search-icon/SearchIcon.d.ts +1 -1
- package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +1 -1
- package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +2 -2
- package/dist/src/components/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +2 -2
- package/dist/src/components/icons/topic-icon/TopicIcon.d.ts +1 -1
- package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +2 -2
- package/dist/src/components/icons/warning-icon/WarningAmberOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/work-icon/WorkIcon.d.ts +1 -1
- package/dist/src/components/inputs/button/StyledButton.d.ts +9 -9
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +1 -1
- package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +4 -4
- package/dist/src/components/inputs/dynamic-select/StyledDynamicSelect.d.ts +1 -1
- package/dist/src/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.d.ts +1 -1
- package/dist/src/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.d.ts +1 -1
- package/dist/src/components/inputs/dynamic-select/helpers/useWrap.d.ts +3 -3
- package/dist/src/components/inputs/dynamic-select/types.d.ts +2 -2
- package/dist/src/components/inputs/input-field/StyledInputField.d.ts +1 -1
- package/dist/src/components/inputs/label/StyledLabel.d.ts +3 -3
- package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +1 -1
- package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +1 -1
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +3 -4
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +3 -4
- package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +3 -3
- package/dist/src/components/inputs/select/StyledSelect.d.ts +7 -6
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +1 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +8 -7
- package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +10 -1
- package/dist/src/components/inputs/select-autocomplete/story/test-utils/perf.d.ts +7 -0
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +1 -1
- package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +2 -3
- package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +8 -8
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +1 -1
- package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +2 -2
- package/dist/src/components/navigation/link/StyledLink.d.ts +1 -1
- package/dist/src/components/navigation/menu/StyledMenu.d.ts +1 -1
- package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +1 -1
- package/dist/src/components/navigation/menu/StyledMenuList.d.ts +1 -1
- package/dist/src/components/navigation/tabs/StyledTab.d.ts +2 -2
- package/dist/src/components/navigation/tabs/StyledTabs.d.ts +2 -2
- package/dist/src/components/utils/accordion/StyledAccordion.d.ts +1 -1
- package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +1 -1
- package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +4 -3
- package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +1 -1
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +1 -1
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +1 -1
- package/dist/src/components/utils/copy-wrapper/CopyButton.d.ts +2 -2
- package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +11 -2
- package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +3 -3
- package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +4 -4
- package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -2
- package/dist/src/helpers/cn.d.ts +1 -1
- package/dist/src/helpers/index.d.ts +1 -2
- package/dist/src/helpers/prepareForSlot.d.ts +3 -2
- package/dist/src/hooks/useMediaQuery.hook.d.ts +2 -0
- package/dist/src/hooks/useToggleMenuVisibility.hook.d.ts +1 -1
- package/package.json +54 -66
- package/dist/src/components/feedback/alert/StyledAlert.d.ts +0 -2
- package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +0 -2
- package/dist/src/components/feedback/alert/index.d.ts +0 -2
- package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +0 -32
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +0 -10
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +0 -2
- package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +0 -11
- package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +0 -3
- package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +0 -3
- package/dist/src/components/feedback/snack-bar/components/types.d.ts +0 -10
- package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +0 -1
- package/dist/src/components/feedback/snack-bar/index.d.ts +0 -6
- package/dist/src/components/feedback/snack-bar/message.d.ts +0 -17
- package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +0 -1
- package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +0 -1
- package/dist/src/components/icons/Indeterminate icon/IndeterminateIcon.d.ts +0 -2
- package/dist/src/components/icons/Indeterminate icon/index.d.ts +0 -1
- package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +0 -2
- package/dist/src/components/icons/clock-outline-icon/index.d.ts +0 -1
- package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +0 -1
- package/dist/src/components/inputs/rich-input/RichInput.d.ts +0 -13
- package/dist/src/components/inputs/rich-input/index.d.ts +0 -1
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
- package/dist/src/components/inputs/textarea/useAutosizeTextArea.d.ts +0 -1
- package/dist/src/helpers/date.helper.d.ts +0 -2
- package/dist/src/helpers/reflections.helper.d.ts +0 -1
- package/dist/src/hooks/useWindowWidthSize.hook.d.ts +0 -11
- package/dist/style.css +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const PermMediaIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const PermMediaOutline: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const PersonIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const PersonOutlineIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
2
|
export declare function PinIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
2
|
export declare function PlusIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
2
|
export declare function PlusIconCircle(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const QnrIcon: React.FC<IIcon>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IIcon } from '../Icons.types';
|
|
3
3
|
export declare const ReplayIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const ReportBoxIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const ReportBoxOutlineIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const SearchIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const SettingsIcon: React.FC<IIcon>;
|
package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IIcon } from '../Icons.types';
|
|
3
3
|
export declare const SettingsMenuHorizontalIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const SettingsOutlineIcon: React.FC<IIcon>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IIcon } from '../Icons.types';
|
|
3
3
|
export declare const TextBoxCheckOutlineIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IIcon } from '../Icons.types';
|
|
2
2
|
export declare const TopicIcon: React.FC<IIcon>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IIcon } from '../Icons.types';
|
|
3
3
|
export declare const UnknownDocumentOutlineRoundedIcon: React.FC<IIcon>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
2
|
export declare function WarningAmberOutlineIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
2
|
export declare function WorkIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import React,
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
export type StyledButtonType = 'contained' | 'outlined' | 'text' | 'textGray';
|
|
3
|
-
|
|
3
|
+
interface commonProps {
|
|
4
4
|
refLink?: React.Ref<HTMLButtonElement>;
|
|
5
5
|
size?: 'large' | 'small' | 'medium';
|
|
6
6
|
startIcon?: ReactNode;
|
|
7
7
|
endIcon?: ReactNode;
|
|
8
8
|
dataTest: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
9
|
+
}
|
|
10
|
+
interface variantTextGrayProps {
|
|
11
11
|
variant?: 'textGray';
|
|
12
12
|
error?: never;
|
|
13
|
-
}
|
|
14
|
-
|
|
13
|
+
}
|
|
14
|
+
interface variantTextWhiteProps {
|
|
15
15
|
variant?: 'textWhite';
|
|
16
16
|
error?: never;
|
|
17
|
-
}
|
|
18
|
-
|
|
17
|
+
}
|
|
18
|
+
interface buttonStandartVariantsProps {
|
|
19
19
|
variant?: 'contained' | 'outlined' | 'text' | 'textGray' | 'textWhite' | 'large' | 'small' | 'medium' | 'error' | 'common';
|
|
20
20
|
error?: boolean;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
type conditionalProps = variantTextGrayProps | variantTextWhiteProps | buttonStandartVariantsProps;
|
|
23
23
|
export type StyledButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & commonProps & conditionalProps;
|
|
24
24
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import { Checkbox } from '@base-ui
|
|
1
|
+
import { default as React, SVGProps } from 'react';
|
|
2
|
+
import { Checkbox } from '@base-ui/react';
|
|
3
3
|
type StyledCheckboxProps = {
|
|
4
4
|
dataTest: string;
|
|
5
5
|
size?: 'small' | 'medium';
|
|
@@ -10,7 +10,7 @@ type StyledCheckboxProps = {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
12
12
|
} & Omit<React.ComponentProps<typeof Checkbox.Root>, 'children'>;
|
|
13
|
-
export declare const IndeterminateIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
14
|
-
export declare const CheckIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
13
|
+
export declare const IndeterminateIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
14
|
+
export declare const CheckIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
15
15
|
export declare const StyledCheckbox: React.FC<StyledCheckboxProps>;
|
|
16
16
|
export {};
|
package/dist/src/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StyledDynamicSelectComponent } from '../types';
|
|
2
2
|
export declare const DynamicInteractiveChipGroup: StyledDynamicSelectComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StyledDynamicSelectComponent } from '../types';
|
|
2
2
|
export declare const DynamicSelectAutocomplete: StyledDynamicSelectComponent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DependencyList, RefObject } from 'react';
|
|
2
2
|
export declare const useWrap: ({ dependencyList }: {
|
|
3
|
-
dependencyList?: DependencyList
|
|
3
|
+
dependencyList?: DependencyList;
|
|
4
4
|
}) => {
|
|
5
5
|
wrapDisabled: boolean;
|
|
6
|
-
containerRef:
|
|
6
|
+
containerRef: RefObject<HTMLDivElement>;
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { AutocompleteProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
3
|
export type DynamicSelectOptionPrimitive = string | number | boolean;
|
|
4
4
|
export type DynamicSelectOptionObject = {
|
|
5
5
|
value?: string | number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import { CSSProperties, FC, MouseEvent, ReactNode } from 'react';
|
|
2
|
+
export interface StyledLabelProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
5
5
|
className?: string;
|
|
6
6
|
dataTest: string;
|
|
7
7
|
style?: CSSProperties;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
export declare const StyledLabel: FC<StyledLabelProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Radio } from '@base-ui
|
|
3
|
-
type StyledRadioProps = {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Radio } from '@base-ui/react/radio';
|
|
3
|
+
export type StyledRadioProps = {
|
|
4
4
|
value?: string | number | boolean;
|
|
5
5
|
dataTest?: string;
|
|
6
6
|
className?: string;
|
|
@@ -8,4 +8,3 @@ type StyledRadioProps = {
|
|
|
8
8
|
error?: boolean;
|
|
9
9
|
} & Omit<React.ComponentProps<typeof Radio.Root>, 'value' | 'className'>;
|
|
10
10
|
export declare const StyledRadio: React.ForwardRefExoticComponent<Omit<StyledRadioProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { RadioGroup } from '@base-ui
|
|
3
|
-
type StyledRadioGroupProps = {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RadioGroup } from '@base-ui/react/radio-group';
|
|
3
|
+
export type StyledRadioGroupProps = {
|
|
4
4
|
value?: string | number | boolean | null;
|
|
5
5
|
defaultValue?: string | number | boolean | null;
|
|
6
6
|
onValueChange?: (value: string | number | boolean | null) => void;
|
|
@@ -12,4 +12,3 @@ type StyledRadioGroupProps = {
|
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
} & Omit<React.ComponentProps<typeof RadioGroup>, 'children' | 'defaultValue' | 'value'>;
|
|
14
14
|
export declare const StyledRadioGroup: React.ForwardRefExoticComponent<Omit<StyledRadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StyledInputField,
|
|
2
|
-
import {
|
|
1
|
+
import { StyledInputField, TextFieldProps } from 'asma-ui-core';
|
|
2
|
+
import { FC, ComponentProps } from 'react';
|
|
3
3
|
export type StyledSearchFieldProps = ComponentProps<typeof StyledInputField> & {
|
|
4
4
|
label: Required<TextFieldProps['label']>;
|
|
5
5
|
};
|
|
6
|
-
export declare const StyledSearchField:
|
|
6
|
+
export declare const StyledSearchField: FC<StyledSearchFieldProps>;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SelectProps } from '@mui/material';
|
|
2
|
+
export type StyledSelectProps = SelectProps & {
|
|
3
|
+
allowClear?: boolean;
|
|
4
|
+
errorText?: string;
|
|
5
|
+
dataTest: string;
|
|
6
|
+
};
|
|
2
7
|
/**
|
|
3
8
|
*
|
|
4
9
|
* @usage
|
|
@@ -11,8 +16,4 @@ import { type SelectProps } from '@mui/material';
|
|
|
11
16
|
* inputRef to get Node of Input Element inside
|
|
12
17
|
*
|
|
13
18
|
*/
|
|
14
|
-
export declare const StyledSelect: React.FC<
|
|
15
|
-
allowClear?: boolean;
|
|
16
|
-
errorText?: string;
|
|
17
|
-
dataTest: string;
|
|
18
|
-
}>;
|
|
19
|
+
export declare const StyledSelect: React.FC<StyledSelectProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MenuItemProps } from '@mui/material';
|
|
2
2
|
export declare const StyledSelectItem: (item: MenuItemProps) => JSX.Element;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AutocompleteProps, ChipTypeMap } from '@mui/material';
|
|
2
|
+
export type StyledSelectAutocompleteProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']> = AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
|
|
3
|
+
dataTest: string;
|
|
4
|
+
autoHeight?: boolean;
|
|
5
|
+
getOptionLabel?: (option: T) => string;
|
|
6
|
+
wrapperClassName?: string;
|
|
7
|
+
};
|
|
2
8
|
/**
|
|
3
9
|
*
|
|
4
10
|
* @inputRef
|
|
5
11
|
* inputRef to get Node of Input Element inside
|
|
6
12
|
*
|
|
7
13
|
*/
|
|
8
|
-
export declare function StyledSelectAutocomplete<T, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ dataTest, autoHeight, getOptionLabel, wrapperClassName, ...props }:
|
|
9
|
-
dataTest: string;
|
|
10
|
-
autoHeight?: boolean;
|
|
11
|
-
getOptionLabel?: (option: T) => string;
|
|
12
|
-
wrapperClassName?: string;
|
|
13
|
-
}): JSX.Element;
|
|
14
|
+
export declare function StyledSelectAutocomplete<T, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ dataTest, autoHeight, getOptionLabel, wrapperClassName, ...props }: StyledSelectAutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent>): JSX.Element;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { StyledSelectAutocompleteProps } from '../../StyledSelectAutocomplete';
|
|
2
|
+
export declare const top100Films: {
|
|
3
|
+
title: string;
|
|
4
|
+
year: number;
|
|
5
|
+
}[];
|
|
6
|
+
export interface Film {
|
|
7
|
+
title: string;
|
|
8
|
+
year: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const ControlledAutocomplete: (args: StyledSelectAutocompleteProps<Film, true, false, false>) => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Film } from '../components/StyledSelectAutocompleteExample';
|
|
3
|
+
export declare const withRenderCounter: <T>(Component: FC<T>) => {
|
|
4
|
+
Wrapped: (props: T & JSX.IntrinsicAttributes) => React.JSX.Element;
|
|
5
|
+
getRenderCount: () => number;
|
|
6
|
+
};
|
|
7
|
+
export declare const generateOptions: (n: number) => Film[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Switch } from '@base-ui
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Switch } from '@base-ui/react/switch';
|
|
3
3
|
type StyledSwitchProps = {
|
|
4
4
|
checked?: boolean;
|
|
5
5
|
defaultChecked?: boolean;
|
|
@@ -9,7 +9,6 @@ type StyledSwitchProps = {
|
|
|
9
9
|
required?: boolean;
|
|
10
10
|
id?: string;
|
|
11
11
|
dataTest?: string;
|
|
12
|
-
value?: React.InputHTMLAttributes<HTMLInputElement>['value'] | unknown;
|
|
13
12
|
} & Omit<React.ComponentProps<typeof Switch.Root>, 'children'>;
|
|
14
13
|
export type SwitchProps = StyledSwitchProps;
|
|
15
14
|
export declare const StyledSwitch: React.ForwardRefExoticComponent<Omit<StyledSwitchProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
|
|
1
|
+
import { default as React, ChangeEvent, MutableRefObject, ReactNode } from 'react';
|
|
2
|
+
export interface TextareaCommonProps {
|
|
3
3
|
id?: string;
|
|
4
4
|
value?: string;
|
|
5
5
|
label?: ReactNode;
|
|
@@ -8,8 +8,8 @@ type TextareaCommonProps = {
|
|
|
8
8
|
containerClassName?: string;
|
|
9
9
|
className?: string;
|
|
10
10
|
dataTest?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
11
|
+
}
|
|
12
|
+
export interface TextAreaNotEditableProps {
|
|
13
13
|
variant?: 'not_editable' | 'view_only';
|
|
14
14
|
minRows?: never;
|
|
15
15
|
maxRows?: never;
|
|
@@ -22,8 +22,8 @@ type TextAreaNotEditableProps = {
|
|
|
22
22
|
counter?: never;
|
|
23
23
|
refLink?: never;
|
|
24
24
|
counterLimit?: never;
|
|
25
|
-
}
|
|
26
|
-
|
|
25
|
+
}
|
|
26
|
+
export interface TextAreaActiveProps {
|
|
27
27
|
variant?: 'active';
|
|
28
28
|
minRows?: number;
|
|
29
29
|
maxRows?: number;
|
|
@@ -34,9 +34,9 @@ type TextAreaActiveProps = {
|
|
|
34
34
|
errorMessage?: string;
|
|
35
35
|
maxLength?: number;
|
|
36
36
|
counter?: boolean;
|
|
37
|
-
refLink?:
|
|
37
|
+
refLink?: MutableRefObject<HTMLTextAreaElement | null> | null | undefined;
|
|
38
38
|
counterLimit?: number;
|
|
39
|
-
}
|
|
39
|
+
}
|
|
40
40
|
type TextareaConditionalProps = TextAreaActiveProps | TextAreaNotEditableProps;
|
|
41
41
|
type StyledTextAreaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & TextareaCommonProps & TextareaConditionalProps;
|
|
42
42
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormControlProps } from '@mui/material';
|
|
2
2
|
export declare const StyledFormControl: (props: FormControlProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormControlLabelProps } from '@mui/material';
|
|
2
2
|
export declare const StyledFormControlLabel: ({ sx, ...props }: FormControlLabelProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormGroupProps } from '@mui/material';
|
|
2
2
|
export declare const StyledFormGroup: React.FC<FormGroupProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormHelperTextProps } from '@mui/material';
|
|
2
2
|
export declare const StyledFormHelperText: (props: FormHelperTextProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputLabelProps } from '@mui/material';
|
|
2
2
|
export declare const StyledInputLabel: (props: InputLabelProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { DrawerProps } from '@mui/material';
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
export declare const StyledDrawer: FC<DrawerProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React,
|
|
1
|
+
import { default as React, AnchorHTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export type StyledLinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
size?: 'small' | 'large' | 'xs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MenuProps } from '@mui/material';
|
|
2
2
|
export declare const StyledMenu: (props: MenuProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MenuItemProps } from '@mui/material';
|
|
2
2
|
export declare const StyledMenuItem: (props: MenuItemProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MenuListProps } from '@mui/material';
|
|
2
2
|
export declare const StyledMenuList: (props: MenuListProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { TabProps } from '@mui/material';
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
export declare const StyledTab: FC<TabProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { TabsProps } from '@mui/material';
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* Styled wrapper for MUI Tabs with consistent theming tokens.
|
|
5
5
|
* Provides customized styling for tab indicators, scroll buttons, and inactive states.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccordionProps } from '@mui/material';
|
|
2
2
|
export declare const StyledAccordion: ({ className, ...props }: AccordionProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccordionDetailsProps } from '@mui/material';
|
|
2
2
|
export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { AccordionSummaryProps } from '@mui/material';
|
|
2
|
+
type StyledAccordionSummarySize = 'small' | 'large';
|
|
3
|
+
interface StyledAccordionSummaryProps extends AccordionSummaryProps {
|
|
4
4
|
size?: StyledAccordionSummarySize;
|
|
5
5
|
expandChevronRight?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, sx, children, ...rest }: StyledAccordionSummaryProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Accordion } from '@base-ui/react';
|
|
1
2
|
import * as React from 'react';
|
|
2
|
-
import { Accordion } from '@base-ui-components/react/accordion';
|
|
3
3
|
interface StyledAccordionProps extends Omit<React.ComponentProps<typeof Accordion.Root>, 'value' | 'onValueChange' | 'defaultValue' | 'onChange'> {
|
|
4
4
|
className?: string;
|
|
5
5
|
children: React.ReactNode;
|
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
type StyledAccordionDetailsProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
contentClassName?: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const StyledAccordionDetails: ({ children, className, contentClassName, ...props }: StyledAccordionDetailsProps) => JSX.Element;
|
|
5
|
+
export declare const StyledAccordionDetails: ({ children, className, contentClassName, ...props }: StyledAccordionDetailsProps) => React.JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Accordion } from '@base-ui/react/accordion';
|
|
1
2
|
import * as React from 'react';
|
|
2
|
-
import { Accordion } from '@base-ui-components/react/accordion';
|
|
3
3
|
export type StyledAccordionSummarySize = 'small' | 'large';
|
|
4
4
|
export interface StyledAccordionSummaryProps extends React.ComponentProps<typeof Accordion.Trigger> {
|
|
5
5
|
headerClassName?: string | ((state: Accordion.Item.State) => string);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { MessageProps } from 'src';
|
|
3
3
|
export declare const CopyButton: FC<{
|
|
4
4
|
className?: string;
|
|
5
5
|
contentToCopy: string;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { AlertColor } from '@mui/material';
|
|
2
|
+
import { SnackbarProviderProps } from 'notistack';
|
|
3
|
+
import { FC, PropsWithChildren, ReactNode } from 'react';
|
|
4
|
+
export type MessageProps = SnackbarProviderProps & {
|
|
5
|
+
severity?: AlertColor;
|
|
6
|
+
persist?: boolean;
|
|
7
|
+
closeButton?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
type?: 'loading';
|
|
11
|
+
};
|
|
3
12
|
export declare const CopyWrapper: FC<PropsWithChildren<{
|
|
4
13
|
className?: string;
|
|
5
14
|
contentToCopy: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StyledButtonProps } from '../../inputs/button';
|
|
2
2
|
/**
|
|
3
3
|
* Custom props:
|
|
4
4
|
* @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
interface StyledFilterMenuProps {
|
|
7
7
|
filterIsActive: boolean;
|
|
8
8
|
label?: string;
|
|
9
9
|
hideLabel?: boolean;
|
|
10
|
-
}
|
|
10
|
+
}
|
|
11
11
|
export declare const StyledFilterButton: React.FC<StyledButtonProps & StyledFilterMenuProps>;
|
|
12
12
|
export {};
|