asma-ui-core 0.0.0 → 3.3.4

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 (212) hide show
  1. package/Readme.md +2 -2
  2. package/dist/asma-ui-core.css +2 -0
  3. package/dist/asma-ui-core.es.js +8864 -38
  4. package/dist/index.d.ts +1 -0
  5. package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +1 -1
  6. package/dist/src/components/custom/widget/icons/ChevronDownIcon.d.ts +2 -2
  7. package/dist/src/components/custom/widget/icons/ChevronUpIcon.d.ts +2 -2
  8. package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +1 -1
  9. package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +1 -1
  10. package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +0 -1
  11. package/dist/src/components/data-display/badge/StyledBadge.d.ts +1 -2
  12. package/dist/src/components/data-display/chip/StyledChip.d.ts +2 -2
  13. package/dist/src/components/data-display/form-label/components/StyledFormLabel.d.ts +1 -2
  14. package/dist/src/components/data-display/form-label/helpers/getStyles.d.ts +1 -1
  15. package/dist/src/components/data-display/form-label/types.d.ts +1 -1
  16. package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +2 -2
  17. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +2 -2
  18. package/dist/src/components/data-display/typography/StyledTypography.d.ts +2 -2
  19. package/dist/src/components/feedback/alert/StyledAlert.d.ts +2 -2
  20. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +2 -2
  21. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +2 -2
  22. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +3 -2
  23. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +2 -2
  24. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +2 -2
  25. package/dist/src/components/feedback/empty-page/EmptyPageIcon.d.ts +2 -2
  26. package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +1 -1
  27. package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +1 -1
  28. package/dist/src/components/feedback/loading/StyledLoading.d.ts +1 -1
  29. package/dist/src/components/feedback/minimizable-dialog/MinimizableDialog.d.ts +2 -2
  30. package/dist/src/components/feedback/minimizable-dialog/components/CloseBtn.d.ts +1 -1
  31. package/dist/src/components/feedback/minimizable-dialog/components/FullscreenBtn.d.ts +1 -1
  32. package/dist/src/components/feedback/minimizable-dialog/components/MinimizeBtn.d.ts +0 -1
  33. package/dist/src/components/feedback/minimizable-dialog/stack/createDialogStack.d.ts +1 -1
  34. package/dist/src/components/feedback/minimizable-dialog/types.d.ts +1 -1
  35. package/dist/src/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.d.ts +2 -2
  36. package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +1 -1
  37. package/dist/src/components/feedback/minimizable-dialog/v2/useControlledProps.d.ts +1 -1
  38. package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +1 -1
  39. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +3 -3
  40. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +3 -4
  41. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -2
  42. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +3 -4
  43. package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +2 -2
  44. package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +2 -2
  45. package/dist/src/components/feedback/snack-bar/components/types.d.ts +2 -2
  46. package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +0 -1
  47. package/dist/src/components/feedback/snack-bar/message.d.ts +2 -2
  48. package/dist/src/components/icons/IconTemplate.d.ts +1 -2
  49. package/dist/src/components/icons/Icons.types.d.ts +0 -1
  50. package/dist/src/components/icons/Indeterminate icon/IndeterminateIcon.d.ts +2 -2
  51. package/dist/src/components/icons/Indeterminate icon/index.d.ts +1 -1
  52. package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +1 -2
  53. package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +2 -2
  54. package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +2 -2
  55. package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +1 -2
  56. package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +1 -2
  57. package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +2 -2
  58. package/dist/src/components/icons/bell-icon/BellIcon.d.ts +1 -2
  59. package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +1 -2
  60. package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +1 -2
  61. package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +1 -2
  62. package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +2 -2
  63. package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +1 -2
  64. package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +2 -2
  65. package/dist/src/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +2 -2
  66. package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +2 -2
  67. package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +1 -2
  68. package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +1 -2
  69. package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +1 -2
  70. package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +1 -2
  71. package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +1 -2
  72. package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +1 -2
  73. package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +1 -2
  74. package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +1 -2
  75. package/dist/src/components/icons/close-icon/CloseIcon.d.ts +1 -2
  76. package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +2 -2
  77. package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +1 -2
  78. package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +1 -2
  79. package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +1 -2
  80. package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +1 -2
  81. package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +1 -2
  82. package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +1 -2
  83. package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +1 -2
  84. package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +1 -2
  85. package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +1 -2
  86. package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +1 -2
  87. package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +2 -2
  88. package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +2 -2
  89. package/dist/src/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.d.ts +1 -2
  90. package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +1 -2
  91. package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +1 -2
  92. package/dist/src/components/icons/filter-icon-off/FilterIconOff.d.ts +2 -2
  93. package/dist/src/components/icons/find-replace-icon/FindReplaceIcon.d.ts +1 -2
  94. package/dist/src/components/icons/find-replace-people-icon/FindReplacePeopleIcon.d.ts +0 -1
  95. package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +1 -2
  96. package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +2 -2
  97. package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +2 -2
  98. package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +1 -2
  99. package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +1 -2
  100. package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +2 -2
  101. package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +1 -2
  102. package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +1 -2
  103. package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +1 -2
  104. package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +1 -2
  105. package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +1 -2
  106. package/dist/src/components/icons/lock-icon/LockIcon.d.ts +1 -2
  107. package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +1 -2
  108. package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +1 -2
  109. package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +2 -2
  110. package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +2 -2
  111. package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +1 -2
  112. package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +1 -2
  113. package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +1 -2
  114. package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +1 -2
  115. package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +1 -2
  116. package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +1 -2
  117. package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +1 -2
  118. package/dist/src/components/icons/person-icon/PersonIcon.d.ts +1 -2
  119. package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +1 -2
  120. package/dist/src/components/icons/pin-icon/PinIcon.d.ts +2 -2
  121. package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +2 -2
  122. package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +2 -2
  123. package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +1 -2
  124. package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +2 -2
  125. package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +1 -2
  126. package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +1 -2
  127. package/dist/src/components/icons/search-icon/SearchIcon.d.ts +1 -2
  128. package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +1 -2
  129. package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +2 -2
  130. package/dist/src/components/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +1 -2
  131. package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +2 -2
  132. package/dist/src/components/icons/topic-icon/TopicIcon.d.ts +1 -2
  133. package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +2 -2
  134. package/dist/src/components/icons/warning-icon/WarningAmberOutlineIcon.d.ts +2 -2
  135. package/dist/src/components/icons/work-icon/WorkIcon.d.ts +2 -2
  136. package/dist/src/components/inputs/button/StyledButton.d.ts +2 -2
  137. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +1 -2
  138. package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +3 -3
  139. package/dist/src/components/inputs/dynamic-select/StyledDynamicSelect.d.ts +1 -1
  140. package/dist/src/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.d.ts +1 -1
  141. package/dist/src/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.d.ts +1 -1
  142. package/dist/src/components/inputs/dynamic-select/helpers/useWrap.d.ts +3 -3
  143. package/dist/src/components/inputs/dynamic-select/types.d.ts +2 -2
  144. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +1 -2
  145. package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +0 -1
  146. package/dist/src/components/inputs/label/StyledLabel.d.ts +1 -1
  147. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +2 -2
  148. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +2 -2
  149. package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +1 -1
  150. package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +1 -1
  151. package/dist/src/components/inputs/rich-input/RichInput.d.ts +2 -2
  152. package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +3 -3
  153. package/dist/src/components/inputs/select/StyledSelect.d.ts +1 -2
  154. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +2 -2
  155. package/dist/src/components/inputs/select/story/components/StyledSelectExample.d.ts +0 -1
  156. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +2 -3
  157. package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +0 -1
  158. package/dist/src/components/inputs/slider/StyledSlider.d.ts +2 -2
  159. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +3 -3
  160. package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +1 -1
  161. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +2 -2
  162. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +2 -2
  163. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +2 -2
  164. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +1 -2
  165. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +2 -2
  166. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +2 -2
  167. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +2 -2
  168. package/dist/src/components/navigation/link/StyledLink.d.ts +1 -1
  169. package/dist/src/components/navigation/menu/StyledMenu.d.ts +2 -2
  170. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +2 -2
  171. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +2 -2
  172. package/dist/src/components/navigation/tabs/StyledTab.d.ts +2 -2
  173. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +2 -2
  174. package/dist/src/components/pickers/date-picker/StyledDatePicker.d.ts +2 -2
  175. package/dist/src/components/pickers/date-picker/components/DatePickerInputIndex.d.ts +1 -2
  176. package/dist/src/components/pickers/date-picker/components/DatePickerInputRange.d.ts +1 -2
  177. package/dist/src/components/pickers/date-picker/components/DatePickerInputRangeCompact.d.ts +1 -2
  178. package/dist/src/components/pickers/date-picker/components/DatePickerInputSingle.d.ts +1 -2
  179. package/dist/src/components/pickers/date-picker/components/StyledCalendarPicker.d.ts +2 -3
  180. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerCaption.d.ts +2 -7
  181. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerFooter.d.ts +2 -2
  182. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectMonth.d.ts +1 -2
  183. package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectYear.d.ts +1 -2
  184. package/dist/src/components/pickers/date-picker/helpers.d.ts +1 -1
  185. package/dist/src/components/pickers/date-picker/story/components/DatePickerContainer.d.ts +1 -1
  186. package/dist/src/components/pickers/date-picker/story/components/NestedRangePickerExample.d.ts +0 -1
  187. package/dist/src/components/pickers/date-picker/story/components/RangePickerCompactExample.d.ts +0 -1
  188. package/dist/src/components/pickers/date-picker/story/components/RangePickerExample.d.ts +0 -1
  189. package/dist/src/components/pickers/date-picker/story/components/SinglePickerExample.d.ts +0 -1
  190. package/dist/src/components/pickers/date-picker/types.d.ts +1 -2
  191. package/dist/src/components/pickers/time-picker/StyledTimePicker.d.ts +1 -2
  192. package/dist/src/components/pickers/time-picker/TimePickerInput.d.ts +2 -2
  193. package/dist/src/components/pickers/time-picker/TimePickerPopper.d.ts +2 -3
  194. package/dist/src/components/pickers/time-picker/components/HelperText.d.ts +0 -1
  195. package/dist/src/components/pickers/time-picker/components/TimePickerBody.d.ts +1 -2
  196. package/dist/src/components/pickers/time-picker/components/TimePickerColumn.d.ts +1 -2
  197. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +2 -2
  198. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +2 -2
  199. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +2 -2
  200. package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +2 -2
  201. package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +1 -1
  202. package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +2 -2
  203. package/dist/src/components/utils/copy-wrapper/CopyButton.d.ts +2 -2
  204. package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +2 -2
  205. package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +1 -2
  206. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +2 -2
  207. package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -2
  208. package/dist/src/helpers/cn.d.ts +1 -1
  209. package/dist/src/helpers/prepareForSlot.d.ts +1 -2
  210. package/dist/src/helpers/reflections.helper.d.ts +1 -1
  211. package/package.json +68 -70
  212. package/dist/style.css +0 -1
@@ -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';
2
- export declare const StyledMenu: (props: MenuProps) => JSX.Element;
1
+ import { MenuProps } from '@mui/material';
2
+ export declare const StyledMenu: (props: MenuProps) => import("node_modules/@types/react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type MenuItemProps } from '@mui/material';
2
- export declare const StyledMenuItem: (props: MenuItemProps) => JSX.Element;
1
+ import { MenuItemProps } from '@mui/material';
2
+ export declare const StyledMenuItem: (props: MenuItemProps) => import("node_modules/@types/react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type MenuListProps } from '@mui/material';
2
- export declare const StyledMenuList: (props: MenuListProps) => JSX.Element;
1
+ import { MenuListProps } from '@mui/material';
2
+ export declare const StyledMenuList: (props: MenuListProps) => import("node_modules/@types/react").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,3 +1,3 @@
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
  export declare const StyledTabs: FC<TabsProps>;
@@ -1,2 +1,2 @@
1
- import type { DatePickerProps } from './types';
2
- export declare const StyledDatePicker: (props: DatePickerProps) => JSX.Element;
1
+ import { DatePickerProps } from './types';
2
+ export declare const StyledDatePicker: (props: DatePickerProps) => import("node_modules/@types/react").JSX.Element;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { DatePickerProps } from '../types';
1
+ import { DatePickerProps } from '../types';
3
2
  /**
4
3
  *
5
4
  * @remarks error and helper text will work only for Single
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { DatePickerProps } from '../types';
1
+ import { DatePickerProps } from '../types';
3
2
  export declare const DatePickerInputRange: React.FC<DatePickerProps & {
4
3
  onClick: (e: React.MouseEvent<HTMLDivElement>) => void;
5
4
  }>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { DatePickerProps } from '../types';
1
+ import { DatePickerProps } from '../types';
3
2
  export declare const DatePickerInputRangeCompact: React.FC<DatePickerProps & {
4
3
  onClick: (e: React.MouseEvent<HTMLDivElement>) => void;
5
4
  }>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { DatePickerProps } from '../types';
1
+ import { DatePickerProps } from '../types';
3
2
  export declare const DatePickerInputSingle: React.FC<DatePickerProps & {
4
3
  onClick: (e: React.MouseEvent<HTMLDivElement>) => void;
5
4
  }>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
- import type { DatePickerProps } from '../types';
3
- import { type PopoverProps } from '@mui/material';
1
+ import { DatePickerProps } from '../types';
2
+ import { PopoverProps } from '@mui/material';
4
3
  export declare const StyledCalendarPicker: React.FC<{
5
4
  datePickerProps: DatePickerProps;
6
5
  popoverProps: PopoverProps;
@@ -1,7 +1,2 @@
1
- import { type CaptionProps } from 'react-day-picker';
2
- import { type Dispatch, type SetStateAction } from 'react';
3
- export declare function CustomCaption(props: CaptionProps & {
4
- month: Date | undefined;
5
- setMonth: Dispatch<SetStateAction<Date | undefined>>;
6
- isNb: boolean;
7
- }): JSX.Element;
1
+ import { MonthCaptionProps } from 'react-day-picker';
2
+ export declare function CustomCaption(props: MonthCaptionProps): import("node_modules/@types/react").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { type Matcher } from 'react-day-picker';
2
- import type { Dispatch, SetStateAction } from 'react';
1
+ import { Matcher } from 'react-day-picker';
2
+ import { Dispatch, SetStateAction } from 'react';
3
3
  export declare const StyledCalendarPickerFooter: React.FC<{
4
4
  onClose: ((event: object, reason: 'backdropClick' | 'escapeKeyDown') => void) | undefined;
5
5
  isNb: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { type DropdownProps } from 'react-day-picker';
1
+ import { DropdownProps } from 'react-day-picker';
3
2
  export declare const StyledCalendarPickerSelectMonth: React.FC<DropdownProps>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { type DropdownProps } from 'react-day-picker';
1
+ import { DropdownProps } from 'react-day-picker';
3
2
  export declare const StyledCalendarPickerSelectYear: React.FC<DropdownProps>;
@@ -1,3 +1,3 @@
1
- import type { Dispatch, SetStateAction } from 'react';
1
+ import { Dispatch, SetStateAction } from 'react';
2
2
  export declare const getValue: (date?: Date, dateFormat?: string) => string;
3
3
  export declare const setPickerPosition: (e: React.MouseEvent<HTMLDivElement>, setPositionAbove: Dispatch<SetStateAction<boolean>>) => void;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export declare const DatePickerContainer: React.FC<{
3
3
  title: string;
4
4
  node: ReactNode;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const NestedRangePickerExample: React.FC;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const RangePickerCompactExample: React.FC;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const RangePickerExample: React.FC;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const SinglePickerExample: React.FC;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { DayPicker, Matcher } from 'react-day-picker';
1
+ import { DayPicker, Matcher } from 'react-day-picker';
3
2
  export type CalendarProps = React.ComponentProps<typeof DayPicker>;
4
3
  type CommonDatePickerProps = {
5
4
  dateFormat?: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import type { StyledTimePickerProps } from './types';
1
+ import { StyledTimePickerProps } from './types';
3
2
  export declare const StyledTimePicker: React.FC<StyledTimePickerProps>;
@@ -1,5 +1,5 @@
1
- import type { StyledTimePickerProps } from './types';
2
- import type { ChangeEvent } from 'react';
1
+ import { StyledTimePickerProps } from './types';
2
+ import { ChangeEvent } from 'react';
3
3
  export declare const TimePickerInput: React.FC<StyledTimePickerProps & {
4
4
  handleChange: (e: ChangeEvent<HTMLTextAreaElement | HTMLInputElement>) => void;
5
5
  isValidTime: boolean;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
- import { type PopupState } from 'material-ui-popup-state/hooks';
3
- import type { StyledTimePickerProps } from './types';
1
+ import { PopupState } from 'material-ui-popup-state/hooks';
2
+ import { StyledTimePickerProps } from './types';
4
3
  export declare const TimePickerPopper: React.FC<StyledTimePickerProps & {
5
4
  popupState: PopupState;
6
5
  handleClear: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const HelperText: React.FC<{
3
2
  isValidTime: boolean;
4
3
  error?: boolean;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { StyledTimePickerProps } from '../types';
1
+ import { StyledTimePickerProps } from '../types';
3
2
  type TimePickerBodyProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName'>;
4
3
  export declare const TimePickerBody: React.FC<Omit<TimePickerBodyProps, 'anchorOrigin'>>;
5
4
  export {};
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { StyledTimePickerProps } from '../types';
1
+ import { StyledTimePickerProps } from '../types';
3
2
  export type TimePickerColumnProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName' | 'dataTest'> & {
4
3
  type: 'hours' | 'minutes';
5
4
  };
@@ -1,2 +1,2 @@
1
- import { type AccordionProps } from '@mui/material';
2
- export declare const StyledAccordion: ({ className, ...props }: AccordionProps) => JSX.Element;
1
+ import { AccordionProps } from '@mui/material';
2
+ export declare const StyledAccordion: ({ className, ...props }: AccordionProps) => import("node_modules/@types/react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type AccordionDetailsProps } from '@mui/material';
2
- export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
1
+ import { AccordionDetailsProps } from '@mui/material';
2
+ export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => import("node_modules/@types/react").JSX.Element;
@@ -1,7 +1,7 @@
1
- import type { AccordionSummaryProps } from '@mui/material';
1
+ import { AccordionSummaryProps } from '@mui/material';
2
2
  export type StyledAccordionSummarySize = 'small' | 'large';
3
3
  export interface StyledAccordionSummaryProps extends AccordionSummaryProps {
4
4
  size?: StyledAccordionSummarySize;
5
5
  expandChevronRight?: boolean;
6
6
  }
7
- export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, sx, children, ...rest }: StyledAccordionSummaryProps) => JSX.Element;
7
+ export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, sx, children, ...rest }: StyledAccordionSummaryProps) => import("node_modules/@types/react").JSX.Element;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Accordion } from '@base-ui-components/react/accordion';
2
+ import * as React from 'react';
3
3
  interface StyledAccordionProps extends Omit<React.ComponentProps<typeof Accordion.Root>, 'value' | 'onValueChange' | 'defaultValue' | 'onChange'> {
4
4
  className?: string;
5
5
  children: React.ReactNode;
@@ -7,5 +7,5 @@ interface StyledAccordionProps extends Omit<React.ComponentProps<typeof Accordio
7
7
  defaultExpanded?: boolean;
8
8
  onChange?: (expanded: boolean) => void;
9
9
  }
10
- export declare const StyledAccordion: ({ className, children, expanded, defaultExpanded, onChange, ...props }: StyledAccordionProps) => JSX.Element;
10
+ export declare const StyledAccordion: ({ className, children, expanded, defaultExpanded, onChange, ...props }: StyledAccordionProps) => React.JSX.Element;
11
11
  export {};
@@ -1,2 +1,2 @@
1
1
  import * as React from 'react';
2
- export declare const StyledAccordionDetails: ({ children, ...props }: React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
2
+ export declare const StyledAccordionDetails: ({ children, ...props }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Accordion } from '@base-ui-components/react/accordion';
2
+ import * as React from 'react';
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);
@@ -7,4 +7,4 @@ export interface StyledAccordionSummaryProps extends React.ComponentProps<typeof
7
7
  expandChevronRight?: boolean;
8
8
  sx?: React.CSSProperties;
9
9
  }
10
- export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, headerClassName, sx, children, ...rest }: StyledAccordionSummaryProps) => JSX.Element;
10
+ export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, headerClassName, sx, children, ...rest }: StyledAccordionSummaryProps) => React.JSX.Element;
@@ -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 '../../feedback/snack-bar/components/types';
3
3
  export declare const CopyButton: FC<{
4
4
  className?: string;
5
5
  contentToCopy: string;
@@ -1,5 +1,5 @@
1
- import { type FC, type PropsWithChildren, type ReactNode } from 'react';
2
- import type { MessageProps } from 'src/components/feedback/snack-bar/components/types';
1
+ import { FC, PropsWithChildren, ReactNode } from 'react';
2
+ import { MessageProps } from '../../feedback/snack-bar/components/types';
3
3
  export declare const CopyWrapper: FC<PropsWithChildren<{
4
4
  className?: string;
5
5
  contentToCopy: string;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import { type StyledButtonProps } from '../../inputs/button';
1
+ import { StyledButtonProps } from '../../inputs/button';
3
2
  /**
4
3
  * Custom props:
5
4
  * @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
@@ -1,5 +1,5 @@
1
- import React, { type ReactNode } from 'react';
2
- import type { PopoverProps } from '@mui/material';
1
+ import { default as React, ReactNode } from 'react';
2
+ import { PopoverProps } from '@mui/material';
3
3
  /**
4
4
  * Custom props:
5
5
  * @param filterIsActive - needed to determine whether or not to show the dot in the top right corner indicating some changes were made
@@ -1,2 +1,2 @@
1
- import { type PopoverProps } from '@mui/material';
2
- export declare const StyledPopover: (props: PopoverProps) => JSX.Element;
1
+ import { PopoverProps } from '@mui/material';
2
+ export declare const StyledPopover: (props: PopoverProps) => import("node_modules/@types/react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { type ClassValue } from 'clsx';
1
+ import { ClassValue } from 'clsx';
2
2
  export declare function cn(...inputs: ClassValue[]): string;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * When inserting a component from a third-party library into a slot, you may encounter this warning: "React does not recognize the ownerState prop on a DOM element." This is because the custom component isn't prepared to receive the ownerState like a built-in library component would be.
4
3
  */
5
- export declare function prepareForSlot<ComponentType extends React.ElementType>(Component: ComponentType): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<import("react").ComponentProps<ComponentType>> & import("react").RefAttributes<HTMLElement>>;
4
+ export declare function prepareForSlot<ComponentType extends React.ElementType>(Component: ComponentType): import('node_modules/@types/react').ForwardRefExoticComponent<import('node_modules/@types/react').PropsWithoutRef<import('node_modules/@types/react').ComponentProps<ComponentType>> & import('node_modules/@types/react').RefAttributes<HTMLElement>>;
@@ -1 +1 @@
1
- export declare const omit: <T extends object, K extends keyof T>(obj: T, keys: readonly K[]) => Omit<T, K>;
1
+ export declare const omit: <T extends object, K extends keyof T>(obj: T, keys: ReadonlyArray<K>) => Omit<T, K>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.0.0",
6
+ "version": "3.3.4",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "scripts": {
29
29
  "dev": "vite",
30
- "build": "npx tsc && rm -rf ./dist && vite build",
30
+ "build": "pnpm exec tsc && rm -rf ./dist && vite build",
31
31
  "preview": "vite preview",
32
- "lint": "eslint src/**/*.{js,jsx,ts,tsx}",
32
+ "lint": "eslint src .storybook",
33
33
  "version": "echo $npm_package_version",
34
- "lint:fix": "eslint --fix src/**/*.{jsx,ts,tsx}",
34
+ "lint:fix": "eslint --fix src .storybook",
35
35
  "prettier": "prettier --write src//**/*.{ts,tsx,scss} --config ./.prettierrc",
36
36
  "storybook": "storybook dev -p 6006",
37
37
  "storybook:no-browser": "storybook dev -p 6006 --no-open",
@@ -46,88 +46,86 @@
46
46
  "changeset:status": "changeset status"
47
47
  },
48
48
  "license": "UNLICENSED",
49
+ "engines": {
50
+ "node": ">=24 <25"
51
+ },
49
52
  "dependencies": {
50
- "@base-ui-components/react": "1.0.0-beta.4",
51
- "@emotion/react": "^11.11.1",
52
- "@emotion/styled": "^11.11.0",
53
- "@fontsource/material-icons": "^5.0.4",
54
- "@iconify/react": "^4.1.1",
55
- "@mui/material": "^5.13.7",
56
- "@tanstack/react-table": "^8.10.0",
57
- "asma-ui-icons": "^0.0.35",
58
- "clsx": "^1.2.1",
59
- "date-fns": "^2.30.0",
60
- "lodash-es": "^4.17.21",
61
- "material-ui-popup-state": "^5.0.10",
53
+ "@base-ui-components/react": "1.0.0-rc.0",
54
+ "@emotion/react": "^11.14.0",
55
+ "@emotion/styled": "^11.14.1",
56
+ "@fontsource/material-icons": "^5.2.7",
57
+ "@iconify/react": "^6.0.2",
58
+ "@mui/material": "^7.3.9",
59
+ "@tanstack/react-table": "^8.21.3",
60
+ "asma-ui-icons": "^0.3.3",
61
+ "clsx": "^2.1.1",
62
+ "date-fns": "^4.1.0",
63
+ "lodash-es": "^4.17.23",
64
+ "material-ui-popup-state": "^5.3.6",
62
65
  "notistack": "^3.0.2",
63
- "react-day-picker": "^8.8.2",
66
+ "react-day-picker": "^9.14.0",
64
67
  "react-quill": "^2.0.0",
65
- "sass": "^1.77.5"
68
+ "sass": "^1.98.0"
66
69
  },
67
70
  "devDependencies": {
68
- "@changesets/cli": "^2.26.2",
69
- "@faker-js/faker": "^8.0.2",
70
- "@rollup/plugin-terser": "^0.4.3",
71
- "@storybook/addon-a11y": "^7.6.9",
72
- "@storybook/addon-essentials": "^7.6.9",
73
- "@storybook/addon-interactions": "^7.6.9",
74
- "@storybook/addon-links": "^7.6.9",
75
- "@storybook/addon-mdx-gfm": "^7.6.9",
76
- "@storybook/addon-styling": "^1.3.7",
77
- "@storybook/addons": "^7.6.9",
78
- "@storybook/blocks": "^7.6.9",
79
- "@storybook/manager-api": "^7.6.9",
80
- "@storybook/preset-create-react-app": "^7.6.9",
81
- "@storybook/react": "^7.6.9",
82
- "@storybook/react-vite": "^7.6.9",
83
- "@storybook/test-runner": "^0.16.0",
84
- "@storybook/testing-library": "^0.2.2",
85
- "@storybook/theming": "^7.6.9",
86
- "@types/lodash-es": "^4.17.7",
87
- "@types/node": "^18.0.3",
88
- "@types/react": "^18.0.37",
89
- "@types/react-dom": "^18.0.11",
90
- "@typescript-eslint/eslint-plugin": "^5.59.0",
91
- "@typescript-eslint/parser": "^5.59.0",
92
- "@vitejs/plugin-react": "^4.0.0",
93
- "autoprefixer": "^10.4.14",
94
- "axe-playwright": "^1.2.3",
95
- "axios": "^1.6.8",
96
- "eslint": "^8.38.0",
97
- "eslint-plugin-react-hooks": "^4.6.0",
98
- "eslint-plugin-react-refresh": "^0.3.4",
99
- "eslint-plugin-storybook": "^0.6.15",
100
- "node": "18.17.0",
101
- "postcss": "^8.4.24",
71
+ "@changesets/cli": "^2.30.0",
72
+ "@faker-js/faker": "^10.4.0",
73
+ "@rollup/plugin-terser": "^1.0.0",
74
+ "@storybook/addon-a11y": "^10.3.3",
75
+ "@storybook/addon-essentials": "^8.6.14",
76
+ "@storybook/addon-interactions": "^8.6.14",
77
+ "@storybook/addon-links": "^10.3.3",
78
+ "@storybook/addon-mdx-gfm": "^8.6.14",
79
+ "@storybook/addon-themes": "^10.3.3",
80
+ "@storybook/blocks": "^8.6.14",
81
+ "@storybook/manager-api": "^8.6.14",
82
+ "@storybook/react-vite": "^10.3.3",
83
+ "@storybook/test-runner": "^0.24.3",
84
+ "@storybook/theming": "^8.6.14",
85
+ "@types/lodash-es": "^4.17.12",
86
+ "@types/node": "25.5.0",
87
+ "@types/react": "^19.2.14",
88
+ "@types/react-dom": "^19.2.3",
89
+ "@typescript-eslint/eslint-plugin": "^8.57.2",
90
+ "@typescript-eslint/parser": "^8.57.2",
91
+ "@vitejs/plugin-react": "^6.0.1",
92
+ "autoprefixer": "^10.4.27",
93
+ "axe-playwright": "^2.2.2",
94
+ "axios": "^1.13.6",
95
+ "eslint": "^10.1.0",
96
+ "eslint-plugin-react-hooks": "^7.0.1",
97
+ "eslint-plugin-react-refresh": "^0.5.2",
98
+ "eslint-plugin-storybook": "^10.3.3",
99
+ "globals": "^17.4.0",
100
+ "node": "24.14.1",
101
+ "postcss": "^8.5.8",
102
102
  "prop-types": "^15.8.1",
103
- "react": "^18.2.0",
104
- "react-dom": "^18.2.0",
105
- "rollup-plugin-typescript2": "^0.35.0",
106
- "storybook": "^7.6.9",
107
- "storybook-addon-themes": "^6.1.0",
108
- "tailwind-merge": "^2.4.0",
103
+ "react": "^19.2.4",
104
+ "react-dom": "^19.2.4",
105
+ "rollup-plugin-typescript2": "^0.36.0",
106
+ "storybook": "^10.3.3",
107
+ "tailwind-merge": "^2.6.1",
109
108
  "tailwind-scrollbar": "^3.1.0",
110
- "tailwindcss": "^3.3.2",
111
- "typescript": "^5.0.2",
112
- "typescript-plugin-css-modules": "^5.0.1",
113
- "vite": "^4.3.9",
114
- "vite-plugin-dts": "^3.1.1",
115
- "vite-tsconfig-paths": "^4.2.0"
109
+ "tailwindcss": "^3.4.19",
110
+ "typescript": "^6.0.2",
111
+ "typescript-plugin-css-modules": "^5.2.0",
112
+ "vite": "^8.0.2",
113
+ "vite-plugin-dts": "^4.5.4"
116
114
  },
117
115
  "peerDependencies": {
118
116
  "@emotion/react": "^11.*",
119
117
  "@emotion/styled": "^11.*",
120
- "@mui/material": "^5.*",
121
- "immer": "^9.*",
122
- "react": "^18.*",
123
- "react-dom": "^18.*"
118
+ "@mui/material": "^7.3.9",
119
+ "immer": "^11.1.4",
120
+ "react": "^19.2.4",
121
+ "react-dom": "^19.2.4"
124
122
  },
125
123
  "repository": {
126
124
  "type": "git",
127
125
  "url": "git+https://github.com/Carasent-ASMA/asma-ui-core.git"
128
126
  },
129
127
  "resolutions": {
130
- "@types/node": "18.0.3",
131
- "node": "18.17.0"
128
+ "@types/node": "25.5.0",
129
+ "node": "24.14.1"
132
130
  }
133
131
  }