@astral/ui 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/Alert/Alert.d.ts +25 -0
  2. package/Alert/Alert.js +41 -0
  3. package/Alert/index.d.ts +1 -0
  4. package/Alert/index.js +17 -0
  5. package/Badge/styled.d.ts +2 -2
  6. package/Button/Button.d.ts +1 -1
  7. package/ButtonBase/ButtonBase.d.ts +1 -1
  8. package/ButtonBase/styled.d.ts +2 -2
  9. package/Chevron/styles.d.ts +3 -3
  10. package/CircularProgress/CircularProgress.d.ts +1 -1
  11. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +1 -1
  12. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  13. package/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  14. package/DataGrid/DataGridLoader/styles.d.ts +1 -1
  15. package/DatePicker/DatePickerDay/styled.d.ts +1 -1
  16. package/DropdownButton/DropdownButton.d.ts +1 -1
  17. package/FormHelperText/styled.d.ts +6 -6
  18. package/Grid/styled.d.ts +1 -1
  19. package/IconButton/IconButton.d.ts +1 -1
  20. package/IconButton/styles.d.ts +3 -3
  21. package/IconDropdownButton/IconDropdownButton.d.ts +1 -1
  22. package/ListItem/styles.d.ts +3 -3
  23. package/ListItemButton/ListItemButton.d.ts +1 -1
  24. package/ListItemIcon/ListItemIcon.d.ts +1 -1
  25. package/MenuGroup/stories/styled.d.ts +1 -1
  26. package/MenuItem/styled.d.ts +1 -1
  27. package/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +5 -5
  28. package/Notification/NotificationTemplate/styled.d.ts +4 -4
  29. package/Notification/styled.d.ts +12 -12
  30. package/Product/Product.d.ts +1 -1
  31. package/Profile/styled.d.ts +1 -1
  32. package/Radio/Radio.d.ts +1 -1
  33. package/Select/styled.d.ts +1 -1
  34. package/Tag/styled.d.ts +4 -4
  35. package/TextArea/TextArea.d.ts +1 -1
  36. package/TextField/TextField.d.ts +1 -1
  37. package/Tooltip/Tooltip.d.ts +1 -1
  38. package/esm/Alert/Alert.d.ts +25 -0
  39. package/esm/Alert/Alert.js +37 -0
  40. package/esm/Alert/index.d.ts +1 -0
  41. package/esm/Alert/index.js +1 -0
  42. package/esm/Badge/styled.d.ts +2 -2
  43. package/esm/Button/Button.d.ts +1 -1
  44. package/esm/ButtonBase/ButtonBase.d.ts +1 -1
  45. package/esm/ButtonBase/styled.d.ts +2 -2
  46. package/esm/Chevron/styles.d.ts +3 -3
  47. package/esm/CircularProgress/CircularProgress.d.ts +1 -1
  48. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +1 -1
  49. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  50. package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  51. package/esm/DataGrid/DataGridLoader/styles.d.ts +1 -1
  52. package/esm/DatePicker/DatePickerDay/styled.d.ts +1 -1
  53. package/esm/DropdownButton/DropdownButton.d.ts +1 -1
  54. package/esm/FormHelperText/styled.d.ts +6 -6
  55. package/esm/Grid/styled.d.ts +1 -1
  56. package/esm/IconButton/IconButton.d.ts +1 -1
  57. package/esm/IconButton/styles.d.ts +3 -3
  58. package/esm/IconDropdownButton/IconDropdownButton.d.ts +1 -1
  59. package/esm/ListItem/styles.d.ts +3 -3
  60. package/esm/ListItemButton/ListItemButton.d.ts +1 -1
  61. package/esm/ListItemIcon/ListItemIcon.d.ts +1 -1
  62. package/esm/MenuGroup/stories/styled.d.ts +1 -1
  63. package/esm/MenuItem/styled.d.ts +1 -1
  64. package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +5 -5
  65. package/esm/Notification/NotificationTemplate/styled.d.ts +4 -4
  66. package/esm/Notification/styled.d.ts +12 -12
  67. package/esm/Product/Product.d.ts +1 -1
  68. package/esm/Profile/styled.d.ts +1 -1
  69. package/esm/Radio/Radio.d.ts +1 -1
  70. package/esm/Select/styled.d.ts +1 -1
  71. package/esm/Tag/styled.d.ts +4 -4
  72. package/esm/TextArea/TextArea.d.ts +1 -1
  73. package/esm/TextField/TextField.d.ts +1 -1
  74. package/esm/Tooltip/Tooltip.d.ts +1 -1
  75. package/esm/index.d.ts +1 -0
  76. package/esm/index.js +1 -0
  77. package/esm/theme/components/MuiAlert.d.ts +3 -0
  78. package/esm/theme/components/MuiAlert.js +54 -0
  79. package/esm/theme/components/components.js +2 -0
  80. package/index.d.ts +1 -0
  81. package/index.js +1 -0
  82. package/package.json +2 -2
  83. package/theme/components/MuiAlert.d.ts +3 -0
  84. package/theme/components/MuiAlert.js +57 -0
  85. package/theme/components/components.js +2 -0
@@ -8,4 +8,4 @@ export declare type TooltipProps = WithoutEmotionSpecific<MuiTooltipProps> & {
8
8
  */
9
9
  size?: TooltipSize;
10
10
  };
11
- export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "tabIndex" | "children" | "className" | "components" | "componentsProps" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "classes" | "open" | "onClose" | "TransitionComponent" | "TransitionProps" | "placement" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps"> & import("react").RefAttributes<HTMLDivElement>>;
11
+ export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "color" | "translate" | "components" | "tabIndex" | "children" | "className" | "componentsProps" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "classes" | "open" | "onClose" | "TransitionComponent" | "TransitionProps" | "placement" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps"> & import("react").RefAttributes<HTMLDivElement>>;
package/esm/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './ActionCell';
2
+ export * from './Alert';
2
3
  export * from './Autocomplete';
3
4
  export * from './Badge';
4
5
  export * from './Button';
package/esm/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './ActionCell';
2
+ export * from './Alert';
2
3
  export * from './Autocomplete';
3
4
  export * from './Badge';
4
5
  export * from './Button';
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiAlert: Components<Theme>['MuiAlert'];
@@ -0,0 +1,54 @@
1
+ export var MuiAlert = {
2
+ styleOverrides: {
3
+ filledSuccess: function (_a) {
4
+ var theme = _a.theme;
5
+ return {
6
+ backgroundColor: theme.palette.success.light,
7
+ color: theme.palette.text.primary,
8
+ svg: {
9
+ color: theme.palette.green['900'],
10
+ },
11
+ };
12
+ },
13
+ filledError: function (_a) {
14
+ var theme = _a.theme;
15
+ return {
16
+ backgroundColor: theme.palette.error.light,
17
+ color: theme.palette.text.primary,
18
+ svg: {
19
+ color: theme.palette.red['900'],
20
+ },
21
+ };
22
+ },
23
+ filledWarning: function (_a) {
24
+ var theme = _a.theme;
25
+ return {
26
+ backgroundColor: theme.palette.warning.light,
27
+ color: theme.palette.text.primary,
28
+ svg: {
29
+ color: theme.palette.yellow['900'],
30
+ },
31
+ };
32
+ },
33
+ filledInfo: function (_a) {
34
+ var theme = _a.theme;
35
+ return {
36
+ backgroundColor: theme.palette.primary['100'],
37
+ color: theme.palette.text.primary,
38
+ svg: {
39
+ // TODO: для варианта info в дизайн системе нет набора цветов, временно подвязался на primary
40
+ // но в других темах цвета корявые
41
+ color: theme.palette.primary['900'],
42
+ },
43
+ };
44
+ },
45
+ action: function (_a) {
46
+ var theme = _a.theme;
47
+ return {
48
+ svg: {
49
+ color: "".concat(theme.palette.text.primary, " !important"),
50
+ },
51
+ };
52
+ },
53
+ },
54
+ };
@@ -1,3 +1,4 @@
1
+ import { MuiAlert } from './MuiAlert';
1
2
  import { MuiButton } from './MuiButton';
2
3
  import { MuiButtonBase } from './MuiButtonBase';
3
4
  import { MuiLoadingButton } from './MuiLoadingButton';
@@ -36,6 +37,7 @@ var MuiRadio = {
36
37
  };
37
38
  export var getComponents = function (fontUrls) { return ({
38
39
  MuiCssBaseline: getMuiCssBaseline(fontUrls),
40
+ MuiAlert: MuiAlert,
39
41
  MuiButton: MuiButton,
40
42
  MuiButtonBase: MuiButtonBase,
41
43
  MuiLoadingButton: MuiLoadingButton,
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './ActionCell';
2
+ export * from './Alert';
2
3
  export * from './Autocomplete';
3
4
  export * from './Badge';
4
5
  export * from './Button';
package/index.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ActionCell"), exports);
18
+ __exportStar(require("./Alert"), exports);
18
19
  __exportStar(require("./Autocomplete"), exports);
19
20
  __exportStar(require("./Badge"), exports);
20
21
  __exportStar(require("./Button"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "browser": "./src/index.ts",
5
5
  "jest": {
6
6
  "moduleNameMapper": {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@astral/icons": "^1.4.0",
11
+ "@astral/icons": "^1.5.0",
12
12
  "@emotion/cache": "11.7.1",
13
13
  "@emotion/react": "11.9.0",
14
14
  "@emotion/server": "11.4.0",
@@ -0,0 +1,3 @@
1
+ import { Components } from '@mui/material';
2
+ import type { Theme } from '../baseTheme';
3
+ export declare const MuiAlert: Components<Theme>['MuiAlert'];
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MuiAlert = void 0;
4
+ exports.MuiAlert = {
5
+ styleOverrides: {
6
+ filledSuccess: function (_a) {
7
+ var theme = _a.theme;
8
+ return {
9
+ backgroundColor: theme.palette.success.light,
10
+ color: theme.palette.text.primary,
11
+ svg: {
12
+ color: theme.palette.green['900'],
13
+ },
14
+ };
15
+ },
16
+ filledError: function (_a) {
17
+ var theme = _a.theme;
18
+ return {
19
+ backgroundColor: theme.palette.error.light,
20
+ color: theme.palette.text.primary,
21
+ svg: {
22
+ color: theme.palette.red['900'],
23
+ },
24
+ };
25
+ },
26
+ filledWarning: function (_a) {
27
+ var theme = _a.theme;
28
+ return {
29
+ backgroundColor: theme.palette.warning.light,
30
+ color: theme.palette.text.primary,
31
+ svg: {
32
+ color: theme.palette.yellow['900'],
33
+ },
34
+ };
35
+ },
36
+ filledInfo: function (_a) {
37
+ var theme = _a.theme;
38
+ return {
39
+ backgroundColor: theme.palette.primary['100'],
40
+ color: theme.palette.text.primary,
41
+ svg: {
42
+ // TODO: для варианта info в дизайн системе нет набора цветов, временно подвязался на primary
43
+ // но в других темах цвета корявые
44
+ color: theme.palette.primary['900'],
45
+ },
46
+ };
47
+ },
48
+ action: function (_a) {
49
+ var theme = _a.theme;
50
+ return {
51
+ svg: {
52
+ color: "".concat(theme.palette.text.primary, " !important"),
53
+ },
54
+ };
55
+ },
56
+ },
57
+ };
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getComponents = void 0;
4
+ var MuiAlert_1 = require("./MuiAlert");
4
5
  var MuiButton_1 = require("./MuiButton");
5
6
  var MuiButtonBase_1 = require("./MuiButtonBase");
6
7
  var MuiLoadingButton_1 = require("./MuiLoadingButton");
@@ -39,6 +40,7 @@ var MuiRadio = {
39
40
  };
40
41
  var getComponents = function (fontUrls) { return ({
41
42
  MuiCssBaseline: getMuiCssBaseline(fontUrls),
43
+ MuiAlert: MuiAlert_1.MuiAlert,
42
44
  MuiButton: MuiButton_1.MuiButton,
43
45
  MuiButtonBase: MuiButtonBase_1.MuiButtonBase,
44
46
  MuiLoadingButton: MuiLoadingButton_1.MuiLoadingButton,