asma-ui-core 3.10.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asma-ui-core.css +2 -0
- package/dist/asma-ui-core.es.js +4 -1
- package/dist/index.d.ts +1 -0
- package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +1 -1
- package/dist/src/components/custom/widget/icons/ChevronDownIcon.d.ts +1 -1
- package/dist/src/components/custom/widget/icons/ChevronUpIcon.d.ts +1 -1
- package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +3 -3
- package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +1 -1
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +1 -1
- package/dist/src/components/data-display/chip/StyledChip.d.ts +3 -3
- package/dist/src/components/data-display/form-label/components/StyledFormLabel.d.ts +1 -1
- package/dist/src/components/data-display/form-label/helpers/getStyles.d.ts +1 -1
- package/dist/src/components/data-display/form-label/types.d.ts +1 -1
- package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +3 -2
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +1 -1
- package/dist/src/components/data-display/typography/StyledTypography.d.ts +1 -1
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +2 -2
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +1 -1
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +1 -1
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +1 -1
- package/dist/src/components/feedback/empty-page/EmptyPageIcon.d.ts +1 -1
- package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +1 -1
- package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +3 -3
- package/dist/src/components/feedback/loading/StyledLoading.d.ts +3 -3
- package/dist/src/components/feedback/minimizable-dialog/MinimizableDialog.d.ts +2 -2
- package/dist/src/components/feedback/minimizable-dialog/components/CloseBtn.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/components/FullscreenBtn.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/stack/createDialogStack.d.ts +2 -2
- package/dist/src/components/feedback/minimizable-dialog/types.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.d.ts +2 -2
- package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/v2/useControlledProps.d.ts +1 -1
- package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +1 -1
- package/dist/src/components/icons/IconTemplate.d.ts +1 -1
- package/dist/src/components/icons/archive-icon/ArchiveIcon.d.ts +1 -1
- package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +1 -1
- package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +1 -1
- package/dist/src/components/icons/assignment/AssignmentIcon.d.ts +1 -1
- package/dist/src/components/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/badge-icon/BadgeIcon.d.ts +1 -1
- package/dist/src/components/icons/bell-icon/BellIcon.d.ts +1 -1
- package/dist/src/components/icons/bell-outline-icon/BellOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-icon/CalendarIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-icon/NewCalendarIcon.d.ts +1 -1
- package/dist/src/components/icons/calendar-range-icon/CalendarIcon.d.ts +1 -1
- package/dist/src/components/icons/check-fact-icon/CheckFactIcon.d.ts +1 -1
- package/dist/src/components/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/check-outline-icon/CheckOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-down-icon/ChevronDownIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-left-icon/ChevronLeftIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-right-icon/ChevronRightIcon.d.ts +1 -1
- package/dist/src/components/icons/chevron-up-icon/ChevronUpIcon.d.ts +1 -1
- package/dist/src/components/icons/close-icon/CloseIcon.d.ts +1 -1
- package/dist/src/components/icons/consents-icon/ConsentsIcon.d.ts +1 -1
- package/dist/src/components/icons/dashboard-view-icon/DashboardViewIcon.d.ts +1 -1
- package/dist/src/components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +1 -1
- package/dist/src/components/icons/download-icon/DownloadIcon.d.ts +1 -1
- package/dist/src/components/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +1 -1
- package/dist/src/components/icons/drop-down-icon/DropDownIcon.d.ts +1 -1
- package/dist/src/components/icons/drop-up-icon/DropUpIcon.d.ts +1 -1
- package/dist/src/components/icons/dvr-icon/DvrIcon.d.ts +1 -1
- package/dist/src/components/icons/earth-icon/EarthIcon.d.ts +1 -1
- package/dist/src/components/icons/edit-square-icon/EditSquareIcon.d.ts +1 -1
- package/dist/src/components/icons/error-outline-icon/ErrorOutlineIcon.d.ts +2 -2
- package/dist/src/components/icons/fast-check-outline-icon/FastCheckOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/file-pdf-icon/FilePdfIcon.d.ts +1 -1
- package/dist/src/components/icons/filter-icon/FilterIcon.d.ts +1 -1
- package/dist/src/components/icons/filter-icon-off/FilterIconOff.d.ts +2 -2
- package/dist/src/components/icons/find-replace-icon/FindReplaceIcon.d.ts +1 -1
- package/dist/src/components/icons/hamburger-icon/HamburgerIcon.d.ts +1 -1
- package/dist/src/components/icons/handyman-icon/HandymanIcon.d.ts +1 -1
- package/dist/src/components/icons/handyman-outline-icon/HandymanOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +1 -1
- package/dist/src/components/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/keyboard-capslock-icon/KeyboardCapslockIcon.d.ts +1 -1
- package/dist/src/components/icons/link-outline-icon/LinkOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/list-numbered-icon/ListNumberedIcon.d.ts +1 -1
- package/dist/src/components/icons/list-settings-line-icon/ListSettingsLineIcon.d.ts +1 -1
- package/dist/src/components/icons/list-status-icon/ListStatusIcon.d.ts +1 -1
- package/dist/src/components/icons/loading-icon/LoadingIcon.d.ts +1 -1
- package/dist/src/components/icons/lock-icon/LockIcon.d.ts +1 -1
- package/dist/src/components/icons/message-processing-icon/MessageProcessingIcon.d.ts +1 -1
- package/dist/src/components/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/message-reply-icon/MessageReplyIcon.d.ts +1 -1
- package/dist/src/components/icons/minimize-icon/MinimizeIcon.d.ts +1 -1
- package/dist/src/components/icons/outline-calendar-month/OutlineCalendarMonth.d.ts +1 -1
- package/dist/src/components/icons/pdf-icon/PdfIcon.d.ts +1 -1
- package/dist/src/components/icons/pencil-outline-icon/PencilOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/people-icon/PeopleIcon.d.ts +1 -1
- package/dist/src/components/icons/people-outline-icon/PeopleOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/perm-media-icon/PermMediaIcon.d.ts +1 -1
- package/dist/src/components/icons/perm-media-outline-icon/PermMediaOutline.d.ts +1 -1
- package/dist/src/components/icons/person-icon/PersonIcon.d.ts +1 -1
- package/dist/src/components/icons/person-outline-icon/PersonOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/pin-icon/PinIcon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon/PlusIcon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon-circle/PlusIconCircle.d.ts +1 -1
- package/dist/src/components/icons/qnr-icon/QnrIcon.d.ts +1 -1
- package/dist/src/components/icons/replay-icon/ReplayIcon.d.ts +2 -2
- package/dist/src/components/icons/report-box-icon/ReportBoxIcon.d.ts +1 -1
- package/dist/src/components/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/search-icon/SearchIcon.d.ts +1 -1
- package/dist/src/components/icons/settings-icon/SettingsIcon.d.ts +1 -1
- package/dist/src/components/icons/settings-menu-horizontal-icon/SettingsMenuHorizontalIcon.d.ts +2 -2
- package/dist/src/components/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/text-box-check-outline-icon/TextBoxCheckOutlineIcon.d.ts +2 -2
- package/dist/src/components/icons/topic-icon/TopicIcon.d.ts +1 -1
- package/dist/src/components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.d.ts +2 -2
- package/dist/src/components/icons/warning-icon/WarningAmberOutlineIcon.d.ts +1 -1
- package/dist/src/components/icons/work-icon/WorkIcon.d.ts +1 -1
- package/dist/src/components/inputs/button/StyledButton.d.ts +9 -9
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +1 -1
- package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +4 -4
- package/dist/src/components/inputs/dynamic-select/StyledDynamicSelect.d.ts +1 -1
- package/dist/src/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.d.ts +1 -1
- package/dist/src/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.d.ts +1 -1
- package/dist/src/components/inputs/dynamic-select/helpers/useWrap.d.ts +3 -3
- package/dist/src/components/inputs/dynamic-select/types.d.ts +2 -2
- package/dist/src/components/inputs/input-field/StyledInputField.d.ts +1 -1
- package/dist/src/components/inputs/label/StyledLabel.d.ts +3 -3
- package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +1 -1
- package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +1 -1
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +3 -4
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +3 -4
- package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +3 -3
- package/dist/src/components/inputs/select/StyledSelect.d.ts +7 -6
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +1 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +8 -7
- package/dist/src/components/inputs/select-autocomplete/story/components/StyledSelectAutocompleteExample.d.ts +10 -1
- package/dist/src/components/inputs/select-autocomplete/story/test-utils/perf.d.ts +7 -0
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +1 -1
- package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +2 -3
- package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +8 -8
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +1 -1
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +1 -1
- package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +2 -2
- package/dist/src/components/navigation/link/StyledLink.d.ts +1 -1
- package/dist/src/components/navigation/menu/StyledMenu.d.ts +1 -1
- package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +1 -1
- package/dist/src/components/navigation/menu/StyledMenuList.d.ts +1 -1
- package/dist/src/components/navigation/tabs/StyledTab.d.ts +2 -2
- package/dist/src/components/navigation/tabs/StyledTabs.d.ts +2 -2
- package/dist/src/components/utils/accordion/StyledAccordion.d.ts +1 -1
- package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +1 -1
- package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +4 -3
- package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +1 -1
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +1 -1
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +1 -1
- package/dist/src/components/utils/copy-wrapper/CopyButton.d.ts +2 -2
- package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +11 -2
- package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +3 -3
- package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +4 -4
- package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -2
- package/dist/src/helpers/cn.d.ts +1 -1
- package/dist/src/helpers/index.d.ts +1 -2
- package/dist/src/helpers/prepareForSlot.d.ts +3 -2
- package/dist/src/hooks/useMediaQuery.hook.d.ts +2 -0
- package/dist/src/hooks/useToggleMenuVisibility.hook.d.ts +1 -1
- package/package.json +54 -66
- package/dist/src/components/feedback/alert/StyledAlert.d.ts +0 -2
- package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +0 -2
- package/dist/src/components/feedback/alert/index.d.ts +0 -2
- package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +0 -32
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +0 -10
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +0 -2
- package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +0 -11
- package/dist/src/components/feedback/snack-bar/components/processMessageError.d.ts +0 -3
- package/dist/src/components/feedback/snack-bar/components/processMessageInfo.d.ts +0 -3
- package/dist/src/components/feedback/snack-bar/components/types.d.ts +0 -10
- package/dist/src/components/feedback/snack-bar/components-styled/InfoMessages.d.ts +0 -1
- package/dist/src/components/feedback/snack-bar/index.d.ts +0 -6
- package/dist/src/components/feedback/snack-bar/message.d.ts +0 -17
- package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +0 -1
- package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +0 -1
- package/dist/src/components/icons/Indeterminate icon/IndeterminateIcon.d.ts +0 -2
- package/dist/src/components/icons/Indeterminate icon/index.d.ts +0 -1
- package/dist/src/components/icons/clock-outline-icon/ClockOutlineIcon.d.ts +0 -2
- package/dist/src/components/icons/clock-outline-icon/index.d.ts +0 -1
- package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts +0 -1
- package/dist/src/components/inputs/rich-input/RichInput.d.ts +0 -13
- package/dist/src/components/inputs/rich-input/index.d.ts +0 -1
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
- package/dist/src/components/inputs/textarea/useAutosizeTextArea.d.ts +0 -1
- package/dist/src/helpers/date.helper.d.ts +0 -2
- package/dist/src/helpers/reflections.helper.d.ts +0 -1
- package/dist/src/hooks/useWindowWidthSize.hook.d.ts +0 -11
- package/dist/style.css +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
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
|
|
6
6
|
* @param popoverContent
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
interface StyledFilterMenuProps {
|
|
9
9
|
dataTest: string;
|
|
10
10
|
filterIsActive: boolean;
|
|
11
11
|
popoverContent: ((props: {
|
|
@@ -22,6 +22,6 @@ type StyledFilterMenuProps = {
|
|
|
22
22
|
}) => ReactNode;
|
|
23
23
|
label?: string;
|
|
24
24
|
hideLabel?: boolean;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
26
|
export declare const StyledFilterMenu: React.FC<StyledFilterMenuProps>;
|
|
27
27
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const StyledPopover: ({ anchorOrigin, transformOrigin, className, ...props }: PopoverProps) => JSX.Element;
|
|
1
|
+
import { PopoverProps } from '@mui/material';
|
|
2
|
+
export declare const StyledPopover: ({ anchorOrigin, transformOrigin, className, ...props }: PopoverProps) => 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,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
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."
|
|
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."
|
|
3
|
+
* This is because the custom component isn't prepared to receive the ownerState like a built-in library component would be.
|
|
3
4
|
*/
|
|
4
|
-
export declare function prepareForSlot<ComponentType extends React.ElementType>(Component: ComponentType):
|
|
5
|
+
export declare function prepareForSlot<ComponentType extends React.ElementType>(Component: ComponentType): React.ForwardRefExoticComponent<React.PropsWithoutRef<React.ComponentProps<ComponentType>> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const useToggleMenuVisibility: () => {
|
|
2
2
|
open: boolean;
|
|
3
3
|
handleClose: () => void;
|
|
4
|
-
handleOpen: (event: React.MouseEvent<HTMLElement | SVGSVGElement>) => void;
|
|
4
|
+
handleOpen: (event: React.MouseEvent<HTMLElement | SVGSVGElement | null>) => void;
|
|
5
5
|
anchorEl: HTMLElement | SVGSVGElement | null;
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.
|
|
6
|
+
"version": "3.11.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist/**/*",
|
|
@@ -18,29 +18,27 @@
|
|
|
18
18
|
"module": "./dist/asma-ui-core.es.js",
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/asma-ui-core.es.js",
|
|
23
|
+
"default": "./dist/asma-ui-core.es.js"
|
|
25
24
|
},
|
|
26
25
|
"./dist/style.css": "./dist/style.css",
|
|
27
26
|
"./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json",
|
|
28
27
|
"./src/styles/breakpoints": "./src/styles/_breakpoints.scss"
|
|
29
28
|
},
|
|
30
29
|
"scripts": {
|
|
30
|
+
"chromatic": "npx chromatic --config-file chromatic.config.json",
|
|
31
31
|
"dev": "vite",
|
|
32
32
|
"build": "pnpm exec tsc && rm -rf ./dist && vite build",
|
|
33
33
|
"preview": "vite preview",
|
|
34
|
-
"lint": "eslint
|
|
34
|
+
"lint": "eslint src/**/*.{ts,tsx} --cache",
|
|
35
35
|
"version": "echo $npm_package_version",
|
|
36
|
-
"lint:fix": "eslint --fix
|
|
37
|
-
"
|
|
36
|
+
"lint:fix": "eslint --fix src/**/*.{ts,tsx}",
|
|
37
|
+
"return:types": "tsx scripts/add-missing-return-types.ts",
|
|
38
38
|
"storybook": "storybook dev -p 6006",
|
|
39
39
|
"storybook:no-browser": "storybook dev -p 6006 --no-open",
|
|
40
|
-
"storybook:node18": "export NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
|
|
41
|
-
"storybook:node18:win": "set NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
|
|
42
40
|
"build-storybook": "export NODE_OPTIONS=--max_old_space_size=6240 && storybook build",
|
|
43
|
-
"test-storybook": "
|
|
41
|
+
"test-storybook": "npx vitest --project=storybook",
|
|
44
42
|
"changeset:pre-beta": "changeset pre enter beta",
|
|
45
43
|
"changeset:pre-exit": "changeset pre exit",
|
|
46
44
|
"changeset:version": "changeset version",
|
|
@@ -48,88 +46,78 @@
|
|
|
48
46
|
"changeset:status": "changeset status"
|
|
49
47
|
},
|
|
50
48
|
"license": "UNLICENSED",
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=24 <25"
|
|
51
|
+
},
|
|
51
52
|
"dependencies": {
|
|
52
|
-
"@base-ui
|
|
53
|
-
"@fontsource/material-icons": "^5.0.4",
|
|
53
|
+
"@base-ui/react": "^1.3.0",
|
|
54
54
|
"@iconify/react": "^4.1.1",
|
|
55
|
-
"@tanstack/react-table": "^8.10.0",
|
|
56
55
|
"clsx": "^1.2.1",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"notistack": "^3.0.2",
|
|
60
|
-
"sass": "^1.77.5"
|
|
56
|
+
"lodash-es": "^4.17.21",
|
|
57
|
+
"sass": "^1.98.0"
|
|
61
58
|
},
|
|
62
59
|
"devDependencies": {
|
|
63
|
-
"
|
|
60
|
+
"@changesets/cli": "^2.26.2",
|
|
61
|
+
"@chromatic-com/storybook": "^5.1.1",
|
|
64
62
|
"@emotion/react": "^11.11.1",
|
|
65
63
|
"@emotion/styled": "^11.11.0",
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@storybook/addon-
|
|
70
|
-
"@storybook/addon-
|
|
71
|
-
"@storybook/addon-
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/addon-styling": "^1.3.7",
|
|
75
|
-
"@storybook/addons": "^7.6.9",
|
|
76
|
-
"@storybook/blocks": "^7.6.9",
|
|
77
|
-
"@storybook/manager-api": "^7.6.9",
|
|
78
|
-
"@storybook/preset-create-react-app": "^7.6.9",
|
|
79
|
-
"@storybook/react": "^7.6.9",
|
|
80
|
-
"@storybook/react-vite": "^7.6.9",
|
|
81
|
-
"@storybook/test-runner": "^0.16.0",
|
|
82
|
-
"@storybook/testing-library": "^0.2.2",
|
|
83
|
-
"@storybook/theming": "^7.6.9",
|
|
64
|
+
"@eslint/js": "^9.39.2",
|
|
65
|
+
"@storybook/addon-a11y": "10.3.3",
|
|
66
|
+
"@storybook/addon-docs": "10.3.3",
|
|
67
|
+
"@storybook/addon-links": "10.3.3",
|
|
68
|
+
"@storybook/addon-themes": "^10.3.3",
|
|
69
|
+
"@storybook/addon-vitest": "10.3.3",
|
|
70
|
+
"@storybook/react-vite": "10.3.3",
|
|
71
|
+
"@storybook/test-runner": "^0.24.3",
|
|
84
72
|
"@types/lodash-es": "^4.17.7",
|
|
85
|
-
"@types/node": "^
|
|
73
|
+
"@types/node": "^24.12.4",
|
|
86
74
|
"@types/react": "^18.0.37",
|
|
87
75
|
"@types/react-dom": "^18.0.11",
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"
|
|
91
|
-
"autoprefixer": "^10.4.
|
|
76
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
77
|
+
"@vitest/browser-playwright": "^4.0.16",
|
|
78
|
+
"asma-ui-icons": "^0.3.7",
|
|
79
|
+
"autoprefixer": "^10.4.27",
|
|
92
80
|
"axe-playwright": "^1.2.3",
|
|
93
|
-
"
|
|
94
|
-
"eslint": "^
|
|
95
|
-
"eslint-plugin-
|
|
96
|
-
"eslint-plugin-
|
|
97
|
-
"eslint-plugin-
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
81
|
+
"chromatic": "^13.3.4",
|
|
82
|
+
"eslint": "^9.39.2",
|
|
83
|
+
"eslint-plugin-better-tailwindcss": "^3.8.0",
|
|
84
|
+
"eslint-plugin-de-morgan": "^2.0.0",
|
|
85
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
86
|
+
"eslint-plugin-react": "^7.37.5",
|
|
87
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
88
|
+
"eslint-plugin-react-you-might-not-need-an-effect": "^0.7.0",
|
|
89
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
90
|
+
"eslint-plugin-storybook": "10.3.3",
|
|
91
|
+
"notistack": "^3.0.2",
|
|
92
|
+
"playwright": "^1.57.0",
|
|
101
93
|
"react": "^18.2.0",
|
|
102
94
|
"react-dom": "^18.2.0",
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"storybook": "^7.6.9",
|
|
106
|
-
"storybook-addon-themes": "^6.1.0",
|
|
95
|
+
"storybook": "10.3.3",
|
|
96
|
+
"storybook-addon-pseudo-states": "^10.3.3",
|
|
107
97
|
"tailwind-merge": "^2.4.0",
|
|
108
98
|
"tailwind-scrollbar": "^3.1.0",
|
|
109
99
|
"tailwindcss": "^3.3.2",
|
|
110
|
-
"
|
|
100
|
+
"ts-morph": "^27.0.2",
|
|
101
|
+
"tsx": "^4.21.0",
|
|
102
|
+
"typescript": "^6.0.2",
|
|
103
|
+
"typescript-eslint": "^8.50.0",
|
|
111
104
|
"typescript-plugin-css-modules": "^5.0.1",
|
|
112
|
-
"vite": "^
|
|
113
|
-
"vite-plugin-dts": "^
|
|
114
|
-
"
|
|
115
|
-
"@mui/material": "^5.18.0"
|
|
105
|
+
"vite": "^8.0.3",
|
|
106
|
+
"vite-plugin-dts": "^4.5.4",
|
|
107
|
+
"vitest": "^4.0.16"
|
|
116
108
|
},
|
|
117
109
|
"peerDependencies": {
|
|
118
110
|
"@emotion/react": "^11.*",
|
|
119
111
|
"@emotion/styled": "^11.*",
|
|
120
112
|
"@mui/material": "^5.18.0",
|
|
113
|
+
"asma-ui-icons": "^0.3.7",
|
|
114
|
+
"axios": "^1.15.0",
|
|
121
115
|
"immer": "^9.*",
|
|
122
116
|
"react": "^18.0.0 || ^19.0.0",
|
|
123
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
124
|
-
"asma-ui-icons": "^0.3.7",
|
|
125
|
-
"axios": "^1.15.0"
|
|
117
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
126
118
|
},
|
|
127
119
|
"repository": {
|
|
128
120
|
"type": "git",
|
|
129
121
|
"url": "git+https://github.com/Carasent-ASMA/asma-ui-core.git"
|
|
130
|
-
},
|
|
131
|
-
"resolutions": {
|
|
132
|
-
"@types/node": "18.0.3",
|
|
133
|
-
"node": "18.17.0"
|
|
134
122
|
}
|
|
135
123
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { AlertColor } from '@mui/material';
|
|
2
|
-
import { type SnackbarProviderProps } from 'notistack';
|
|
3
|
-
/**
|
|
4
|
-
* @ignore
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare const SnackbarProvider: (props: SnackbarProviderProps) => JSX.Element;
|
|
8
|
-
declare module 'notistack' {
|
|
9
|
-
interface VariantOverrides {
|
|
10
|
-
alert: {
|
|
11
|
-
/**
|
|
12
|
-
* The className to apply to the alert.
|
|
13
|
-
*/
|
|
14
|
-
alertClassName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The variant to use.
|
|
17
|
-
* @default 'standard'
|
|
18
|
-
*/
|
|
19
|
-
alertVariant?: 'standard' | 'filled' | 'outlined';
|
|
20
|
-
/**
|
|
21
|
-
* The severity of the alert. This defines the color and icon used.
|
|
22
|
-
* @default 'success'
|
|
23
|
-
*/
|
|
24
|
-
severity?: AlertColor;
|
|
25
|
-
/**
|
|
26
|
-
* If true, the alert is closable.
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
closeButton?: boolean;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { AlertColor } from '@mui/material';
|
|
2
|
-
import { type CustomContentProps } from 'notistack';
|
|
3
|
-
interface StyledAlertSnackbarProps extends CustomContentProps {
|
|
4
|
-
severity?: AlertColor;
|
|
5
|
-
alertClassName?: string;
|
|
6
|
-
alertVariant?: 'standard' | 'filled' | 'outlined';
|
|
7
|
-
closeButton?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const StyledAlertSnackbar: import("react").ForwardRefExoticComponent<StyledAlertSnackbarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { AlertColor } from '@mui/material';
|
|
2
|
-
import { type CustomContentProps } from 'notistack';
|
|
3
|
-
interface StyledInfoSnackbarProps extends CustomContentProps {
|
|
4
|
-
severity?: AlertColor;
|
|
5
|
-
alertClassName?: string;
|
|
6
|
-
alertVariant?: 'standard' | 'filled' | 'outlined';
|
|
7
|
-
closeButton?: boolean;
|
|
8
|
-
type?: 'loading';
|
|
9
|
-
}
|
|
10
|
-
export declare const StyledInfoSnackbar: import("react").ForwardRefExoticComponent<StyledInfoSnackbarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { AlertColor } from '@mui/material';
|
|
2
|
-
import type { SnackbarProviderProps } from 'notistack';
|
|
3
|
-
export type MessageProps = SnackbarProviderProps & {
|
|
4
|
-
severity?: AlertColor;
|
|
5
|
-
persist?: boolean;
|
|
6
|
-
closeButton?: boolean;
|
|
7
|
-
className?: string;
|
|
8
|
-
id?: string;
|
|
9
|
-
type?: 'loading';
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const InfoMessages: React.FC;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { MessageProps } from './components/types';
|
|
3
|
-
/**
|
|
4
|
-
* Important props:
|
|
5
|
-
* @param id - string. To control the message
|
|
6
|
-
* @remarks use callBack function to close the message manually. Providing ID as a param is important in this case.
|
|
7
|
-
* Without ID, callback fil force close all active notifications
|
|
8
|
-
* @param closeButton - true | false
|
|
9
|
-
* @param persist - true | false
|
|
10
|
-
* @param autoHideDuration - number
|
|
11
|
-
* @moreProps https://notistack.com/api-reference#mutual-props
|
|
12
|
-
*/
|
|
13
|
-
export declare const message: {
|
|
14
|
-
info: (messageInfo: string | ReactNode, options?: MessageProps) => (() => void);
|
|
15
|
-
error: (messageInfo: string | ReactNode, options?: MessageProps) => (() => void);
|
|
16
|
-
loading: (messageInfo: string | ReactNode, options?: MessageProps) => (() => void);
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function processAlertSnackBar(message: string): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function processInfoSnackbar(message: string): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./IndeterminateIcon";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ClockOutlineIcon';
|
package/dist/src/components/inputs/input-field/story/components/StyledInputFieldExample.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledInputFieldExample: React.FC;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import ReactQuill from 'react-quill';
|
|
3
|
-
export interface IRichInput extends ReactQuill.ReactQuillProps {
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
label?: string;
|
|
6
|
-
isRequired?: boolean;
|
|
7
|
-
is_error?: boolean;
|
|
8
|
-
helperText?: string;
|
|
9
|
-
dataTest: string;
|
|
10
|
-
ghost?: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const RichInput: FC<IRichInput>;
|
|
13
|
-
export { RichInput };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RichInput';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useAutosizeTextArea: (textAreaRef: HTMLTextAreaElement | null, value: string, minRows: number, maxRows: number, mounted: boolean, counterEnabled?: boolean) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const omit: <T extends object, K extends keyof T>(obj: T, keys: readonly K[]) => Omit<T, K>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function useMediaQuery(query: string): boolean;
|
|
2
|
-
export declare function useBreakpoints(): {
|
|
3
|
-
isMobile: boolean;
|
|
4
|
-
isTablet: boolean;
|
|
5
|
-
isTabletDesktop: boolean;
|
|
6
|
-
isDesktop: boolean;
|
|
7
|
-
isMobileOrTablet: boolean;
|
|
8
|
-
isCompact: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare function useIsMobileView(): boolean;
|
|
11
|
-
export declare function useIsTabletView(): boolean;
|