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.
- package/Readme.md +2 -2
- package/dist/asma-ui-core.css +2 -0
- package/dist/asma-ui-core.es.js +8864 -38
- 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 +2 -2
- package/dist/src/components/custom/widget/icons/ChevronUpIcon.d.ts +2 -2
- package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +1 -1
- package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +1 -1
- package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +0 -1
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +1 -2
- package/dist/src/components/data-display/chip/StyledChip.d.ts +2 -2
- package/dist/src/components/data-display/form-label/components/StyledFormLabel.d.ts +1 -2
- 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 +2 -2
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +2 -2
- package/dist/src/components/data-display/typography/StyledTypography.d.ts +2 -2
- package/dist/src/components/feedback/alert/StyledAlert.d.ts +2 -2
- package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +2 -2
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +2 -2
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +3 -2
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +2 -2
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +2 -2
- package/dist/src/components/feedback/empty-page/EmptyPageIcon.d.ts +2 -2
- package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +1 -1
- package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +1 -1
- package/dist/src/components/feedback/loading/StyledLoading.d.ts +1 -1
- 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/components/MinimizeBtn.d.ts +0 -1
- package/dist/src/components/feedback/minimizable-dialog/stack/createDialogStack.d.ts +1 -1
- 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/feedback/snack-bar/SnackbarProvider.d.ts +3 -3
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +3 -4
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -2
- package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +3 -4
- package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +2 -2
- package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +2 -2
- package/dist/src/components/feedback/snack-bar/components/types.d.ts +2 -2
- package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +0 -1
- package/dist/src/components/feedback/snack-bar/message.d.ts +2 -2
- package/dist/src/components/icons/IconTemplate.d.ts +1 -2
- package/dist/src/components/icons/Icons.types.d.ts +0 -1
- package/dist/src/components/icons/Indeterminate icon/IndeterminateIcon.d.ts +2 -2
- package/dist/src/components/icons/Indeterminate icon/index.d.ts +1 -1
- package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +1 -2
- package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +2 -2
- package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +2 -2
- package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +1 -2
- package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +2 -2
- package/dist/src/components/icons/bell-icon/BellIcon.d.ts +1 -2
- package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +1 -2
- package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +2 -2
- package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +1 -2
- package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +2 -2
- package/dist/src/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +2 -2
- package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +2 -2
- package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +1 -2
- package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +1 -2
- package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +1 -2
- package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +1 -2
- package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +1 -2
- package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +1 -2
- package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +1 -2
- package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/close-icon/CloseIcon.d.ts +1 -2
- package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +2 -2
- package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +1 -2
- package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +1 -2
- package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +1 -2
- package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +1 -2
- package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +1 -2
- package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +1 -2
- package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +1 -2
- package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +1 -2
- package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +2 -2
- 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 -2
- package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +1 -2
- package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +1 -2
- 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 -2
- package/dist/src/components/icons/find-replace-people-icon/FindReplacePeopleIcon.d.ts +0 -1
- package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +1 -2
- package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +2 -2
- package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +2 -2
- package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +1 -2
- package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +2 -2
- package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +1 -2
- package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +1 -2
- package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +1 -2
- package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +1 -2
- package/dist/src/components/icons/lock-icon/LockIcon.d.ts +1 -2
- package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +1 -2
- package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +2 -2
- package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +2 -2
- package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +1 -2
- package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +1 -2
- package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +1 -2
- package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +1 -2
- package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +1 -2
- package/dist/src/components/icons/person-icon/PersonIcon.d.ts +1 -2
- package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/pin-icon/PinIcon.d.ts +2 -2
- package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +2 -2
- package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +2 -2
- package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +1 -2
- package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +2 -2
- package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +1 -2
- package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +1 -2
- package/dist/src/components/icons/search-icon/SearchIcon.d.ts +1 -2
- package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +1 -2
- 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 -2
- 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 -2
- 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 +2 -2
- package/dist/src/components/icons/work-icon/WorkIcon.d.ts +2 -2
- package/dist/src/components/inputs/button/StyledButton.d.ts +2 -2
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +1 -2
- package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +3 -3
- 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 -2
- package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +0 -1
- package/dist/src/components/inputs/label/StyledLabel.d.ts +1 -1
- package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +2 -2
- package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +2 -2
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +1 -1
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +1 -1
- package/dist/src/components/inputs/rich-input/RichInput.d.ts +2 -2
- package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +3 -3
- package/dist/src/components/inputs/select/StyledSelect.d.ts +1 -2
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +2 -2
- package/dist/src/components/inputs/select/story/components/StyledSelectExample.d.ts +0 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +2 -3
- package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +0 -1
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +2 -2
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +3 -3
- package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +1 -1
- package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +2 -2
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +2 -2
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +2 -2
- package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +1 -2
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +2 -2
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +2 -2
- 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 +2 -2
- package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +2 -2
- package/dist/src/components/navigation/menu/StyledMenuList.d.ts +2 -2
- 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/pickers/date-picker/StyledDatePicker.d.ts +2 -2
- package/dist/src/components/pickers/date-picker/components/DatePickerInputIndex.d.ts +1 -2
- package/dist/src/components/pickers/date-picker/components/DatePickerInputRange.d.ts +1 -2
- package/dist/src/components/pickers/date-picker/components/DatePickerInputRangeCompact.d.ts +1 -2
- package/dist/src/components/pickers/date-picker/components/DatePickerInputSingle.d.ts +1 -2
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPicker.d.ts +2 -3
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerCaption.d.ts +2 -7
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerFooter.d.ts +2 -2
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectMonth.d.ts +1 -2
- package/dist/src/components/pickers/date-picker/components/StyledCalendarPickerSelectYear.d.ts +1 -2
- package/dist/src/components/pickers/date-picker/helpers.d.ts +1 -1
- package/dist/src/components/pickers/date-picker/story/components/DatePickerContainer.d.ts +1 -1
- package/dist/src/components/pickers/date-picker/story/components/NestedRangePickerExample.d.ts +0 -1
- package/dist/src/components/pickers/date-picker/story/components/RangePickerCompactExample.d.ts +0 -1
- package/dist/src/components/pickers/date-picker/story/components/RangePickerExample.d.ts +0 -1
- package/dist/src/components/pickers/date-picker/story/components/SinglePickerExample.d.ts +0 -1
- package/dist/src/components/pickers/date-picker/types.d.ts +1 -2
- package/dist/src/components/pickers/time-picker/StyledTimePicker.d.ts +1 -2
- package/dist/src/components/pickers/time-picker/TimePickerInput.d.ts +2 -2
- package/dist/src/components/pickers/time-picker/TimePickerPopper.d.ts +2 -3
- package/dist/src/components/pickers/time-picker/components/HelperText.d.ts +0 -1
- package/dist/src/components/pickers/time-picker/components/TimePickerBody.d.ts +1 -2
- package/dist/src/components/pickers/time-picker/components/TimePickerColumn.d.ts +1 -2
- package/dist/src/components/utils/accordion/StyledAccordion.d.ts +2 -2
- package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +2 -2
- package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +2 -2
- package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +2 -2
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +1 -1
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +2 -2
- package/dist/src/components/utils/copy-wrapper/CopyButton.d.ts +2 -2
- package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +2 -2
- package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +1 -2
- package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +2 -2
- package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -2
- package/dist/src/helpers/cn.d.ts +1 -1
- package/dist/src/helpers/prepareForSlot.d.ts +1 -2
- package/dist/src/helpers/reflections.helper.d.ts +1 -1
- package/package.json +68 -70
- package/dist/style.css +0 -1
|
@@ -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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
2
|
-
import
|
|
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 {
|
|
2
|
-
import
|
|
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
|
|
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
|
-
|
|
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,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
import
|
|
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,3 @@
|
|
|
1
|
-
import
|
|
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,5 +1,4 @@
|
|
|
1
|
-
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
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
|
-
|
|
2
|
-
import {
|
|
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,5 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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 {
|
|
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 {
|
|
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
|
|
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 {
|
|
2
|
-
import
|
|
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 {
|
|
2
|
-
import
|
|
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
|
-
|
|
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,
|
|
2
|
-
import
|
|
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 {
|
|
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;
|
package/dist/src/helpers/cn.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
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(
|
|
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:
|
|
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": "
|
|
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": "
|
|
30
|
+
"build": "pnpm exec tsc && rm -rf ./dist && vite build",
|
|
31
31
|
"preview": "vite preview",
|
|
32
|
-
"lint": "eslint src
|
|
32
|
+
"lint": "eslint src .storybook",
|
|
33
33
|
"version": "echo $npm_package_version",
|
|
34
|
-
"lint:fix": "eslint --fix src
|
|
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-
|
|
51
|
-
"@emotion/react": "^11.
|
|
52
|
-
"@emotion/styled": "^11.
|
|
53
|
-
"@fontsource/material-icons": "^5.
|
|
54
|
-
"@iconify/react": "^
|
|
55
|
-
"@mui/material": "^
|
|
56
|
-
"@tanstack/react-table": "^8.
|
|
57
|
-
"asma-ui-icons": "^0.
|
|
58
|
-
"clsx": "^
|
|
59
|
-
"date-fns": "^
|
|
60
|
-
"lodash-es": "^4.17.
|
|
61
|
-
"material-ui-popup-state": "^5.
|
|
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": "^
|
|
66
|
+
"react-day-picker": "^9.14.0",
|
|
64
67
|
"react-quill": "^2.0.0",
|
|
65
|
-
"sass": "^1.
|
|
68
|
+
"sass": "^1.98.0"
|
|
66
69
|
},
|
|
67
70
|
"devDependencies": {
|
|
68
|
-
"@changesets/cli": "^2.
|
|
69
|
-
"@faker-js/faker": "^
|
|
70
|
-
"@rollup/plugin-terser": "^0.
|
|
71
|
-
"@storybook/addon-a11y": "^
|
|
72
|
-
"@storybook/addon-essentials": "^
|
|
73
|
-
"@storybook/addon-interactions": "^
|
|
74
|
-
"@storybook/addon-links": "^
|
|
75
|
-
"@storybook/addon-mdx-gfm": "^
|
|
76
|
-
"@storybook/addon-
|
|
77
|
-
"@storybook/
|
|
78
|
-
"@storybook/
|
|
79
|
-
"@storybook/
|
|
80
|
-
"@storybook/
|
|
81
|
-
"@storybook/
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
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": "^
|
|
104
|
-
"react-dom": "^
|
|
105
|
-
"rollup-plugin-typescript2": "^0.
|
|
106
|
-
"storybook": "^
|
|
107
|
-
"
|
|
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.
|
|
111
|
-
"typescript": "^
|
|
112
|
-
"typescript-plugin-css-modules": "^5.0
|
|
113
|
-
"vite": "^
|
|
114
|
-
"vite-plugin-dts": "^
|
|
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": "^
|
|
121
|
-
"immer": "^
|
|
122
|
-
"react": "^
|
|
123
|
-
"react-dom": "^
|
|
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": "
|
|
131
|
-
"node": "
|
|
128
|
+
"@types/node": "25.5.0",
|
|
129
|
+
"node": "24.14.1"
|
|
132
130
|
}
|
|
133
131
|
}
|