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.
Files changed (196) hide show
  1. package/dist/asma-ui-core.css +2 -0
  2. package/dist/asma-ui-core.es.js +4 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +1 -1
  5. package/dist/src/components/custom/widget/icons/ChevronDownIcon.d.ts +1 -1
  6. package/dist/src/components/custom/widget/icons/ChevronUpIcon.d.ts +1 -1
  7. package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +3 -3
  8. package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +1 -1
  9. package/dist/src/components/data-display/badge/StyledBadge.d.ts +1 -1
  10. package/dist/src/components/data-display/chip/StyledChip.d.ts +3 -3
  11. package/dist/src/components/data-display/form-label/components/StyledFormLabel.d.ts +1 -1
  12. package/dist/src/components/data-display/form-label/helpers/getStyles.d.ts +1 -1
  13. package/dist/src/components/data-display/form-label/types.d.ts +1 -1
  14. package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +3 -2
  15. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +1 -1
  16. package/dist/src/components/data-display/typography/StyledTypography.d.ts +1 -1
  17. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +2 -2
  18. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +1 -1
  19. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +1 -1
  20. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +1 -1
  21. package/dist/src/components/feedback/empty-page/EmptyPageIcon.d.ts +1 -1
  22. package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +1 -1
  23. package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +3 -3
  24. package/dist/src/components/feedback/loading/StyledLoading.d.ts +3 -3
  25. package/dist/src/components/feedback/minimizable-dialog/MinimizableDialog.d.ts +2 -2
  26. package/dist/src/components/feedback/minimizable-dialog/components/CloseBtn.d.ts +1 -1
  27. package/dist/src/components/feedback/minimizable-dialog/components/FullscreenBtn.d.ts +1 -1
  28. package/dist/src/components/feedback/minimizable-dialog/stack/createDialogStack.d.ts +2 -2
  29. package/dist/src/components/feedback/minimizable-dialog/types.d.ts +1 -1
  30. package/dist/src/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.d.ts +2 -2
  31. package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +1 -1
  32. package/dist/src/components/feedback/minimizable-dialog/v2/useControlledProps.d.ts +1 -1
  33. package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +1 -1
  34. package/dist/src/components/icons/IconTemplate.d.ts +1 -1
  35. package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +1 -1
  36. package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +1 -1
  37. package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +1 -1
  38. package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +1 -1
  39. package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +1 -1
  40. package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +1 -1
  41. package/dist/src/components/icons/bell-icon/BellIcon.d.ts +1 -1
  42. package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +1 -1
  43. package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +1 -1
  44. package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +1 -1
  45. package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +1 -1
  46. package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +1 -1
  47. package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +1 -1
  48. package/dist/src/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +1 -1
  49. package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +1 -1
  50. package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +1 -1
  51. package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +1 -1
  52. package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +1 -1
  53. package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +1 -1
  54. package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +1 -1
  55. package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +1 -1
  56. package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +1 -1
  57. package/dist/src/components/icons/close-icon/CloseIcon.d.ts +1 -1
  58. package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +1 -1
  59. package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +1 -1
  60. package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +1 -1
  61. package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +1 -1
  62. package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +1 -1
  63. package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +1 -1
  64. package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +1 -1
  65. package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +1 -1
  66. package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +1 -1
  67. package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +1 -1
  68. package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +1 -1
  69. package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +1 -1
  70. package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +2 -2
  71. package/dist/src/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.d.ts +1 -1
  72. package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +1 -1
  73. package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +1 -1
  74. package/dist/src/components/icons/filter-icon-off/FilterIconOff.d.ts +2 -2
  75. package/dist/src/components/icons/find-replace-icon/FindReplaceIcon.d.ts +1 -1
  76. package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +1 -1
  77. package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +1 -1
  78. package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +1 -1
  79. package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +1 -1
  80. package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +1 -1
  81. package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +1 -1
  82. package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +1 -1
  83. package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +1 -1
  84. package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +1 -1
  85. package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +1 -1
  86. package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +1 -1
  87. package/dist/src/components/icons/lock-icon/LockIcon.d.ts +1 -1
  88. package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +1 -1
  89. package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +1 -1
  90. package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +1 -1
  91. package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +1 -1
  92. package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +1 -1
  93. package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +1 -1
  94. package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +1 -1
  95. package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +1 -1
  96. package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +1 -1
  97. package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +1 -1
  98. package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +1 -1
  99. package/dist/src/components/icons/person-icon/PersonIcon.d.ts +1 -1
  100. package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +1 -1
  101. package/dist/src/components/icons/pin-icon/PinIcon.d.ts +1 -1
  102. package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +1 -1
  103. package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +1 -1
  104. package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +1 -1
  105. package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +2 -2
  106. package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +1 -1
  107. package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +1 -1
  108. package/dist/src/components/icons/search-icon/SearchIcon.d.ts +1 -1
  109. package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +1 -1
  110. package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +2 -2
  111. package/dist/src/components/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +1 -1
  112. package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +2 -2
  113. package/dist/src/components/icons/topic-icon/TopicIcon.d.ts +1 -1
  114. package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +2 -2
  115. package/dist/src/components/icons/warning-icon/WarningAmberOutlineIcon.d.ts +1 -1
  116. package/dist/src/components/icons/work-icon/WorkIcon.d.ts +1 -1
  117. package/dist/src/components/inputs/button/StyledButton.d.ts +9 -9
  118. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +1 -1
  119. package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +4 -4
  120. package/dist/src/components/inputs/dynamic-select/StyledDynamicSelect.d.ts +1 -1
  121. package/dist/src/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.d.ts +1 -1
  122. package/dist/src/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.d.ts +1 -1
  123. package/dist/src/components/inputs/dynamic-select/helpers/useWrap.d.ts +3 -3
  124. package/dist/src/components/inputs/dynamic-select/types.d.ts +2 -2
  125. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +1 -1
  126. package/dist/src/components/inputs/label/StyledLabel.d.ts +3 -3
  127. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +1 -1
  128. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +1 -1
  129. package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +3 -4
  130. package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +3 -4
  131. package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +3 -3
  132. package/dist/src/components/inputs/select/StyledSelect.d.ts +7 -6
  133. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +1 -1
  134. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +8 -7
  135. package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +10 -1
  136. package/dist/src/components/inputs/select-autocomplete/story/test-utils/perf.d.ts +7 -0
  137. package/dist/src/components/inputs/slider/StyledSlider.d.ts +1 -1
  138. package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +2 -3
  139. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +8 -8
  140. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +1 -1
  141. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +1 -1
  142. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +1 -1
  143. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +1 -1
  144. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +1 -1
  145. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +2 -2
  146. package/dist/src/components/navigation/link/StyledLink.d.ts +1 -1
  147. package/dist/src/components/navigation/menu/StyledMenu.d.ts +1 -1
  148. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +1 -1
  149. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +1 -1
  150. package/dist/src/components/navigation/tabs/StyledTab.d.ts +2 -2
  151. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +2 -2
  152. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +1 -1
  153. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +1 -1
  154. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +4 -3
  155. package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +1 -1
  156. package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +1 -1
  157. package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +1 -1
  158. package/dist/src/components/utils/copy-wrapper/CopyButton.d.ts +2 -2
  159. package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +11 -2
  160. package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +3 -3
  161. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +4 -4
  162. package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -2
  163. package/dist/src/helpers/cn.d.ts +1 -1
  164. package/dist/src/helpers/index.d.ts +1 -2
  165. package/dist/src/helpers/prepareForSlot.d.ts +3 -2
  166. package/dist/src/hooks/useMediaQuery.hook.d.ts +2 -0
  167. package/dist/src/hooks/useToggleMenuVisibility.hook.d.ts +1 -1
  168. package/package.json +54 -66
  169. package/dist/src/components/feedback/alert/StyledAlert.d.ts +0 -2
  170. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +0 -2
  171. package/dist/src/components/feedback/alert/index.d.ts +0 -2
  172. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +0 -32
  173. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +0 -10
  174. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +0 -2
  175. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +0 -11
  176. package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +0 -3
  177. package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +0 -3
  178. package/dist/src/components/feedback/snack-bar/components/types.d.ts +0 -10
  179. package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +0 -1
  180. package/dist/src/components/feedback/snack-bar/index.d.ts +0 -6
  181. package/dist/src/components/feedback/snack-bar/message.d.ts +0 -17
  182. package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +0 -1
  183. package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +0 -1
  184. package/dist/src/components/icons/Indeterminate icon/IndeterminateIcon.d.ts +0 -2
  185. package/dist/src/components/icons/Indeterminate icon/index.d.ts +0 -1
  186. package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +0 -2
  187. package/dist/src/components/icons/clock-outline-icon/index.d.ts +0 -1
  188. package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +0 -1
  189. package/dist/src/components/inputs/rich-input/RichInput.d.ts +0 -13
  190. package/dist/src/components/inputs/rich-input/index.d.ts +0 -1
  191. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
  192. package/dist/src/components/inputs/textarea/useAutosizeTextArea.d.ts +0 -1
  193. package/dist/src/helpers/date.helper.d.ts +0 -2
  194. package/dist/src/helpers/reflections.helper.d.ts +0 -1
  195. package/dist/src/hooks/useWindowWidthSize.hook.d.ts +0 -11
  196. package/dist/style.css +0 -1
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const PermMediaIcon: React.FC<IIcon>;
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const PermMediaOutline: React.FC<IIcon>;
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const PersonIcon: React.FC<IIcon>;
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const PersonOutlineIcon: React.FC<IIcon>;
@@ -1,2 +1,2 @@
1
- import type { SVGProps } from 'react';
1
+ import { SVGProps } from 'react';
2
2
  export declare function PinIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,2 +1,2 @@
1
- import type { SVGProps } from 'react';
1
+ import { SVGProps } from 'react';
2
2
  export declare function PlusIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,2 +1,2 @@
1
- import type { SVGProps } from 'react';
1
+ import { SVGProps } from 'react';
2
2
  export declare function PlusIconCircle(props: SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
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 type { IIcon } from '../Icons.types';
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 type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const ReportBoxIcon: React.FC<IIcon>;
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const ReportBoxOutlineIcon: React.FC<IIcon>;
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const SearchIcon: React.FC<IIcon>;
@@ -1,2 +1,2 @@
1
- import type { IIcon } from '../Icons.types';
1
+ import { IIcon } from '../Icons.types';
2
2
  export declare const SettingsIcon: React.FC<IIcon>;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- import type { IIcon } from '../Icons.types';
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 type { IIcon } from '../Icons.types';
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 type { IIcon } from '../Icons.types';
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 type { IIcon } from '../Icons.types';
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 type { IIcon } from '../Icons.types';
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 type { SVGProps } from 'react';
1
+ import { SVGProps } from 'react';
2
2
  export declare function WarningAmberOutlineIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,2 +1,2 @@
1
- import type { SVGProps } from 'react';
1
+ import { SVGProps } from 'react';
2
2
  export declare function WorkIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
@@ -1,24 +1,24 @@
1
- import React, { type ReactNode } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  export type StyledButtonType = 'contained' | 'outlined' | 'text' | 'textGray';
3
- type commonProps = {
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
- type variantTextGrayProps = {
9
+ }
10
+ interface variantTextGrayProps {
11
11
  variant?: 'textGray';
12
12
  error?: never;
13
- };
14
- type variantTextWhiteProps = {
13
+ }
14
+ interface variantTextWhiteProps {
15
15
  variant?: 'textWhite';
16
16
  error?: never;
17
- };
18
- type buttonStandartVariantsProps = {
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,4 +1,4 @@
1
- import { type CheckboxProps } from '@mui/material';
1
+ import { CheckboxProps } from '@mui/material';
2
2
  export declare const StyledCheckbox: React.FC<CheckboxProps & {
3
3
  dataTest: string;
4
4
  }>;
@@ -1,5 +1,5 @@
1
- import React, { type SVGProps } from 'react';
2
- import { Checkbox } from '@base-ui-components/react/checkbox';
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 {};
@@ -1,4 +1,4 @@
1
- import type { StyledDynamicSelectComponent } from './types';
1
+ import { StyledDynamicSelectComponent } from './types';
2
2
  /**
3
3
  * A smart, adaptive select input that automatically chooses the best UI representation
4
4
  * based on the number of options provided.
@@ -1,2 +1,2 @@
1
- import type { StyledDynamicSelectComponent } from '../types';
1
+ import { StyledDynamicSelectComponent } from '../types';
2
2
  export declare const DynamicInteractiveChipGroup: StyledDynamicSelectComponent;
@@ -1,2 +1,2 @@
1
- import type { StyledDynamicSelectComponent } from '../types';
1
+ import { StyledDynamicSelectComponent } from '../types';
2
2
  export declare const DynamicSelectAutocomplete: StyledDynamicSelectComponent;
@@ -1,7 +1,7 @@
1
- import { type DependencyList } from 'react';
1
+ import { DependencyList, RefObject } from 'react';
2
2
  export declare const useWrap: ({ dependencyList }: {
3
- dependencyList?: DependencyList | undefined;
3
+ dependencyList?: DependencyList;
4
4
  }) => {
5
5
  wrapDisabled: boolean;
6
- containerRef: import("react").RefObject<HTMLDivElement>;
6
+ containerRef: RefObject<HTMLDivElement>;
7
7
  };
@@ -1,5 +1,5 @@
1
- import type { AutocompleteProps } from '@mui/material';
2
- import type React from 'react';
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,4 +1,4 @@
1
- import { type TextFieldProps } from '@mui/material';
1
+ import { TextFieldProps } from '@mui/material';
2
2
  /**
3
3
  *
4
4
  * @inputRef
@@ -1,9 +1,9 @@
1
- import type { CSSProperties, FC, MouseEvent, ReactNode } from 'react';
2
- export type StyledLabelProps = {
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,4 +1,4 @@
1
- import { type RadioProps } from '@mui/material';
1
+ import { RadioProps } from '@mui/material';
2
2
  export declare const StyledRadio: ({ dataTest, ...props }: RadioProps & {
3
3
  dataTest: string;
4
4
  }) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type RadioGroupProps } from '@mui/material';
1
+ import { RadioGroupProps } from '@mui/material';
2
2
  export declare const StyledRadioGroup: ({ dataTest, ...props }: RadioGroupProps & {
3
3
  dataTest: string;
4
4
  }) => JSX.Element;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { Radio } from '@base-ui-components/react/radio';
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-components/react/radio-group';
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, type TextFieldProps } from 'asma-ui-core';
2
- import { type ComponentProps } from 'react';
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: ({ value, onClear, ...props }: StyledSearchFieldProps) => JSX.Element;
6
+ export declare const StyledSearchField: FC<StyledSearchFieldProps>;
@@ -1,4 +1,9 @@
1
- import { type SelectProps } from '@mui/material';
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<SelectProps & {
15
- allowClear?: boolean;
16
- errorText?: string;
17
- dataTest: string;
18
- }>;
19
+ export declare const StyledSelect: React.FC<StyledSelectProps>;
@@ -1,2 +1,2 @@
1
- import { type MenuItemProps } from '@mui/material';
1
+ import { MenuItemProps } from '@mui/material';
2
2
  export declare const StyledSelectItem: (item: MenuItemProps) => JSX.Element;
@@ -1,13 +1,14 @@
1
- import { type AutocompleteProps, type ChipTypeMap } from '@mui/material';
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 }: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
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
- export declare const StyledSelectAutocompleteExample: React.FC;
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,4 +1,4 @@
1
- import { type SliderProps } from '@mui/material';
1
+ import { SliderProps } from '@mui/material';
2
2
  export interface StyledSliderProps extends SliderProps {
3
3
  dataTest: string;
4
4
  error?: boolean;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { Switch } from '@base-ui-components/react/switch';
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, { type ChangeEvent, type ReactNode } from 'react';
2
- type TextareaCommonProps = {
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
- type TextAreaNotEditableProps = {
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
- type TextAreaActiveProps = {
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?: React.MutableRefObject<HTMLTextAreaElement | null> | null | undefined;
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 { type FormControlProps } from '@mui/material';
1
+ import { FormControlProps } from '@mui/material';
2
2
  export declare const StyledFormControl: (props: FormControlProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type FormControlLabelProps } from '@mui/material';
1
+ import { FormControlLabelProps } from '@mui/material';
2
2
  export declare const StyledFormControlLabel: ({ sx, ...props }: FormControlLabelProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type FormGroupProps } from '@mui/material';
1
+ import { FormGroupProps } from '@mui/material';
2
2
  export declare const StyledFormGroup: React.FC<FormGroupProps>;
@@ -1,2 +1,2 @@
1
- import { type FormHelperTextProps } from '@mui/material';
1
+ import { FormHelperTextProps } from '@mui/material';
2
2
  export declare const StyledFormHelperText: (props: FormHelperTextProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type InputLabelProps } from '@mui/material';
1
+ import { InputLabelProps } from '@mui/material';
2
2
  export declare const StyledInputLabel: (props: InputLabelProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type DrawerProps } from '@mui/material';
2
- import type { FC } from 'react';
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, { type AnchorHTMLAttributes, type ReactNode } from '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 { type MenuProps } from '@mui/material';
1
+ import { MenuProps } from '@mui/material';
2
2
  export declare const StyledMenu: (props: MenuProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type MenuItemProps } from '@mui/material';
1
+ import { MenuItemProps } from '@mui/material';
2
2
  export declare const StyledMenuItem: (props: MenuItemProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type MenuListProps } from '@mui/material';
1
+ import { MenuListProps } from '@mui/material';
2
2
  export declare const StyledMenuList: (props: MenuListProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import { type TabProps } from '@mui/material';
2
- import type { FC } from 'react';
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 { type TabsProps } from '@mui/material';
2
- import type { FC } from 'react';
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 { type AccordionProps } from '@mui/material';
1
+ import { AccordionProps } from '@mui/material';
2
2
  export declare const StyledAccordion: ({ className, ...props }: AccordionProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type AccordionDetailsProps } from '@mui/material';
1
+ import { AccordionDetailsProps } from '@mui/material';
2
2
  export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
@@ -1,7 +1,8 @@
1
- import type { AccordionSummaryProps } from '@mui/material';
2
- export type StyledAccordionSummarySize = 'small' | 'large';
3
- export interface StyledAccordionSummaryProps extends AccordionSummaryProps {
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 { type FC, type ReactNode } from 'react';
2
- import type { MessageProps } from 'src/components/feedback/snack-bar/components/types';
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 { type FC, type PropsWithChildren, type ReactNode } from 'react';
2
- import type { MessageProps } from 'src/components/feedback/snack-bar/components/types';
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 { type StyledButtonProps } from '../../inputs/button';
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
- type StyledFilterMenuProps = {
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 {};