@astral/ui 0.25.0 → 0.26.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 (185) hide show
  1. package/Button/Button.js +13 -1
  2. package/ListItemIcon/styled.js +1 -1
  3. package/Menu/Menu.d.ts +2 -2
  4. package/Menu/Menu.js +5 -14
  5. package/Menu/index.d.ts +1 -0
  6. package/Menu/index.js +1 -0
  7. package/Menu/types.d.ts +1 -0
  8. package/Menu/types.js +2 -0
  9. package/MenuGroup/MenuGroup.d.ts +3 -0
  10. package/MenuGroup/MenuGroup.js +23 -0
  11. package/MenuGroup/index.d.ts +1 -0
  12. package/MenuGroup/index.js +13 -0
  13. package/MenuGroup/stories/Icons.d.ts +8 -0
  14. package/MenuGroup/stories/Icons.js +29 -0
  15. package/MenuGroup/stories/styled.d.ts +50 -0
  16. package/MenuGroup/stories/styled.js +20 -0
  17. package/MenuGroup/styled.d.ts +20 -0
  18. package/MenuGroup/styled.js +24 -0
  19. package/MenuGroup/types.d.ts +8 -0
  20. package/MenuGroup/types.js +2 -0
  21. package/MenuItem/MenuItem.d.ts +1 -1
  22. package/MenuItem/MenuItem.js +2 -2
  23. package/MenuItem/styled.d.ts +31 -0
  24. package/MenuItem/styled.js +14 -0
  25. package/MenuItem/types.d.ts +1 -0
  26. package/MenuItem/types.js +2 -0
  27. package/Notification/Notification.d.ts +6 -0
  28. package/Notification/Notification.js +42 -0
  29. package/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
  30. package/Notification/NotificationContainer/NotificationContainer.js +24 -0
  31. package/Notification/NotificationContainer/index.d.ts +1 -0
  32. package/Notification/NotificationContainer/index.js +13 -0
  33. package/Notification/NotificationContainer/styled.d.ts +5 -0
  34. package/Notification/NotificationContainer/styled.js +10 -0
  35. package/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
  36. package/Notification/NotificationTemplate/NotificationTemplate.js +34 -0
  37. package/Notification/NotificationTemplate/index.d.ts +1 -0
  38. package/Notification/NotificationTemplate/index.js +13 -0
  39. package/Notification/NotificationTemplate/styled.d.ts +83 -0
  40. package/Notification/NotificationTemplate/styled.js +56 -0
  41. package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
  42. package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +11 -0
  43. package/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
  44. package/Notification/NotificationTemplate/utils/getActionsDirection/index.js +13 -0
  45. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
  46. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +31 -0
  47. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
  48. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +13 -0
  49. package/Notification/NotificationTemplate/utils/index.d.ts +2 -0
  50. package/Notification/NotificationTemplate/utils/index.js +14 -0
  51. package/Notification/constants/defaultNotificationProps.d.ts +3 -0
  52. package/Notification/constants/defaultNotificationProps.js +6 -0
  53. package/Notification/constants/index.d.ts +3 -0
  54. package/Notification/constants/index.js +15 -0
  55. package/Notification/constants/notificationVariant.d.ts +6 -0
  56. package/Notification/constants/notificationVariant.js +23 -0
  57. package/Notification/constants/positions.d.ts +8 -0
  58. package/Notification/constants/positions.js +5 -0
  59. package/Notification/index.d.ts +5 -0
  60. package/Notification/index.js +17 -0
  61. package/Notification/styled.d.ts +77 -0
  62. package/Notification/styled.js +34 -0
  63. package/Notification/types.d.ts +27 -0
  64. package/Notification/types.js +2 -0
  65. package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
  66. package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +17 -0
  67. package/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
  68. package/Notification/utils/getNotificationIconByVariant/index.js +13 -0
  69. package/Notification/utils/index.d.ts +2 -0
  70. package/Notification/utils/index.js +14 -0
  71. package/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
  72. package/Notification/utils/notificationTemplatePropsCreator/index.js +13 -0
  73. package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
  74. package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +18 -0
  75. package/Placeholder/styled.js +2 -2
  76. package/Profile/Profile.d.ts +4 -0
  77. package/Profile/Profile.js +36 -0
  78. package/Profile/index.d.ts +2 -0
  79. package/Profile/index.js +14 -0
  80. package/Profile/styled.d.ts +40 -0
  81. package/Profile/styled.js +50 -0
  82. package/Profile/types.d.ts +20 -0
  83. package/Profile/types.js +2 -0
  84. package/Typography/index.d.ts +1 -0
  85. package/Typography/index.js +1 -0
  86. package/esm/Button/Button.js +13 -1
  87. package/esm/ListItemIcon/styled.js +1 -1
  88. package/esm/Menu/Menu.d.ts +2 -2
  89. package/esm/Menu/Menu.js +3 -15
  90. package/esm/Menu/index.d.ts +1 -0
  91. package/esm/Menu/index.js +1 -0
  92. package/esm/Menu/types.d.ts +1 -0
  93. package/esm/Menu/types.js +1 -0
  94. package/esm/MenuGroup/MenuGroup.d.ts +3 -0
  95. package/esm/MenuGroup/MenuGroup.js +19 -0
  96. package/esm/MenuGroup/index.d.ts +1 -0
  97. package/esm/MenuGroup/index.js +1 -0
  98. package/esm/MenuGroup/stories/Icons.d.ts +8 -0
  99. package/esm/MenuGroup/stories/Icons.js +19 -0
  100. package/esm/MenuGroup/stories/styled.d.ts +50 -0
  101. package/esm/MenuGroup/stories/styled.js +17 -0
  102. package/esm/MenuGroup/styled.d.ts +20 -0
  103. package/esm/MenuGroup/styled.js +21 -0
  104. package/esm/MenuGroup/types.d.ts +8 -0
  105. package/esm/MenuGroup/types.js +1 -0
  106. package/esm/MenuItem/MenuItem.d.ts +1 -1
  107. package/esm/MenuItem/MenuItem.js +2 -2
  108. package/esm/MenuItem/styled.d.ts +31 -0
  109. package/esm/MenuItem/styled.js +11 -0
  110. package/esm/MenuItem/types.d.ts +1 -0
  111. package/esm/MenuItem/types.js +1 -0
  112. package/esm/Notification/Notification.d.ts +6 -0
  113. package/esm/Notification/Notification.js +39 -0
  114. package/esm/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
  115. package/esm/Notification/NotificationContainer/NotificationContainer.js +20 -0
  116. package/esm/Notification/NotificationContainer/index.d.ts +1 -0
  117. package/esm/Notification/NotificationContainer/index.js +1 -0
  118. package/esm/Notification/NotificationContainer/styled.d.ts +5 -0
  119. package/esm/Notification/NotificationContainer/styled.js +7 -0
  120. package/esm/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
  121. package/esm/Notification/NotificationTemplate/NotificationTemplate.js +30 -0
  122. package/esm/Notification/NotificationTemplate/index.d.ts +1 -0
  123. package/esm/Notification/NotificationTemplate/index.js +1 -0
  124. package/esm/Notification/NotificationTemplate/styled.d.ts +83 -0
  125. package/esm/Notification/NotificationTemplate/styled.js +53 -0
  126. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
  127. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +7 -0
  128. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
  129. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.js +1 -0
  130. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
  131. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +27 -0
  132. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
  133. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +1 -0
  134. package/esm/Notification/NotificationTemplate/utils/index.d.ts +2 -0
  135. package/esm/Notification/NotificationTemplate/utils/index.js +2 -0
  136. package/esm/Notification/constants/defaultNotificationProps.d.ts +3 -0
  137. package/esm/Notification/constants/defaultNotificationProps.js +3 -0
  138. package/esm/Notification/constants/index.d.ts +3 -0
  139. package/esm/Notification/constants/index.js +3 -0
  140. package/esm/Notification/constants/notificationVariant.d.ts +6 -0
  141. package/esm/Notification/constants/notificationVariant.js +20 -0
  142. package/esm/Notification/constants/positions.d.ts +8 -0
  143. package/esm/Notification/constants/positions.js +2 -0
  144. package/esm/Notification/index.d.ts +5 -0
  145. package/esm/Notification/index.js +5 -0
  146. package/esm/Notification/styled.d.ts +77 -0
  147. package/esm/Notification/styled.js +31 -0
  148. package/esm/Notification/types.d.ts +27 -0
  149. package/esm/Notification/types.js +1 -0
  150. package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
  151. package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +13 -0
  152. package/esm/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
  153. package/esm/Notification/utils/getNotificationIconByVariant/index.js +1 -0
  154. package/esm/Notification/utils/index.d.ts +2 -0
  155. package/esm/Notification/utils/index.js +2 -0
  156. package/esm/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
  157. package/esm/Notification/utils/notificationTemplatePropsCreator/index.js +1 -0
  158. package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
  159. package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +14 -0
  160. package/esm/Placeholder/styled.js +2 -2
  161. package/esm/Profile/Profile.d.ts +4 -0
  162. package/esm/Profile/Profile.js +33 -0
  163. package/esm/Profile/index.d.ts +2 -0
  164. package/esm/Profile/index.js +2 -0
  165. package/esm/Profile/styled.d.ts +40 -0
  166. package/esm/Profile/styled.js +47 -0
  167. package/esm/Profile/types.d.ts +20 -0
  168. package/esm/Profile/types.js +1 -0
  169. package/esm/Typography/index.d.ts +1 -0
  170. package/esm/Typography/index.js +1 -0
  171. package/esm/index.d.ts +2 -0
  172. package/esm/index.js +2 -0
  173. package/esm/theme/components/MuiMenu.d.ts +4 -0
  174. package/esm/theme/components/MuiMenu.js +24 -0
  175. package/esm/theme/components/MuiMenuItem.d.ts +4 -0
  176. package/esm/theme/components/MuiMenuItem.js +13 -0
  177. package/esm/theme/components/components.js +2 -35
  178. package/index.d.ts +2 -0
  179. package/index.js +2 -0
  180. package/package.json +4 -3
  181. package/theme/components/MuiMenu.d.ts +4 -0
  182. package/theme/components/MuiMenu.js +27 -0
  183. package/theme/components/MuiMenuItem.d.ts +4 -0
  184. package/theme/components/MuiMenuItem.js +16 -0
  185. package/theme/components/components.js +4 -37
@@ -0,0 +1,83 @@
1
+ /// <reference types="react" />
2
+ import { ActionsDirection, Variant } from '../types';
3
+ interface NotificationCloseButtonProps {
4
+ filled: boolean;
5
+ }
6
+ interface NotificationIconProps {
7
+ filled: boolean;
8
+ }
9
+ interface NotificationTemplateProps {
10
+ variant: Variant;
11
+ filled: boolean;
12
+ }
13
+ interface NotificationActionsProps {
14
+ actionsDirection: ActionsDirection;
15
+ }
16
+ interface NotificationCloseIconProps {
17
+ filled: boolean;
18
+ }
19
+ export declare const NotificationTemplate: import("@emotion/styled").StyledComponent<{
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ as?: import("react").ElementType<any> | undefined;
22
+ } & NotificationTemplateProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
23
+ export declare const NotificationWrapper: import("@emotion/styled").StyledComponent<{
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ as?: import("react").ElementType<any> | undefined;
26
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
+ export declare const NotificationContent: import("@emotion/styled").StyledComponent<{
28
+ theme?: import("@emotion/react").Theme | undefined;
29
+ as?: import("react").ElementType<any> | undefined;
30
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
31
+ export declare const NotificationActions: import("@emotion/styled").StyledComponent<{
32
+ theme?: import("@emotion/react").Theme | undefined;
33
+ as?: import("react").ElementType<any> | undefined;
34
+ } & NotificationActionsProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
35
+ export declare const NotificationIcon: import("@emotion/styled").StyledComponent<{
36
+ theme?: import("@emotion/react").Theme | undefined;
37
+ as?: import("react").ElementType<any> | undefined;
38
+ } & NotificationIconProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
+ export declare const NotificationHeader: import("@emotion/styled").StyledComponent<{
40
+ theme?: import("@emotion/react").Theme | undefined;
41
+ as?: import("react").ElementType<any> | undefined;
42
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
43
+ export declare const NotificationCloseIcon: import("@emotion/styled").StyledComponent<{
44
+ children?: import("react").ReactNode;
45
+ classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
46
+ color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning" | "action" | "info" | undefined;
47
+ fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
48
+ htmlColor?: string | undefined;
49
+ inheritViewBox?: boolean | undefined;
50
+ shapeRendering?: string | undefined;
51
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
52
+ titleAccess?: string | undefined;
53
+ viewBox?: string | undefined;
54
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "css" | "name" | "id" | "lang" | "role" | "color" | "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" | "cursor" | "direction" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "end" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "elevation" | "spacing" | "values" | "mode" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
55
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
56
+ }, "fontSize" | "children" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
57
+ children?: import("react").ReactNode;
58
+ } & {
59
+ theme?: import("@emotion/react").Theme | undefined;
60
+ } & NotificationCloseIconProps, {}, {}>;
61
+ export declare const NotificationCloseButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "color" | "size" | "variant"> & {
62
+ color?: "primary" | "error" | "success" | "warning" | undefined;
63
+ variant?: "link" | "light" | "contained" | "text" | undefined;
64
+ size?: "large" | "medium" | undefined;
65
+ } & {
66
+ theme?: import("@emotion/react").Theme | undefined;
67
+ } & NotificationCloseButtonProps, {}, {}>;
68
+ export declare const NotificationTitle: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
69
+ align?: "inherit" | "left" | "right" | "center" | "justify" | undefined;
70
+ children?: import("react").ReactNode;
71
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
72
+ gutterBottom?: boolean | undefined;
73
+ noWrap?: boolean | undefined;
74
+ paragraph?: boolean | undefined;
75
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
76
+ variant?: "inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div" | undefined;
77
+ variantMapping?: Partial<Record<"inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div", string>> | undefined;
78
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "tabIndex" | "children" | "className" | "slot" | "style" | "title" | "key" | "css" | "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"> & {
79
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
80
+ }, "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "typography" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
81
+ theme?: import("@emotion/react").Theme | undefined;
82
+ }, {}, {}>;
83
+ export {};
@@ -0,0 +1,53 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { CrossOutlineSm } from '@astral/icons';
6
+ import { IconButton } from '../../IconButton';
7
+ import { styled } from '../../styles';
8
+ import { Typography } from '../../Typography';
9
+ import { getActionsDirection, getNotificationTemplateStyles } from './utils';
10
+ export var NotificationTemplate = styled.section(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", ";\n\n ", "\n"], ["\n padding: ", ";\n\n ", "\n"])), function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.spacing(4);
13
+ }, function (_a) {
14
+ var theme = _a.theme, variant = _a.variant, filled = _a.filled;
15
+ return getNotificationTemplateStyles(theme, variant, filled);
16
+ });
17
+ export var NotificationWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
18
+ export var NotificationContent = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n margin-top: ", ";\n"], ["\n margin-top: ", ";\n"])), function (_a) {
19
+ var theme = _a.theme;
20
+ return theme.spacing(2);
21
+ });
22
+ export var NotificationActions = styled.footer(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: ", ";\n margin-top: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: ", ";\n margin-top: ", ";\n"])), function (_a) {
23
+ var actionsDirection = _a.actionsDirection;
24
+ return getActionsDirection(actionsDirection);
25
+ }, function (_a) {
26
+ var theme = _a.theme;
27
+ return theme.spacing(2);
28
+ });
29
+ export var NotificationIcon = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-right: ", ";\n"], ["\n display: flex;\n align-items: center;\n margin-right: ", ";\n"])), function (_a) {
30
+ var theme = _a.theme;
31
+ return theme.spacing(3);
32
+ });
33
+ export var NotificationHeader = styled.header(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n"], ["\n display: flex;\n align-items: center;\n width: 100%;\n"])));
34
+ export var NotificationCloseIcon = styled(CrossOutlineSm, {
35
+ shouldForwardProp: function (prop) { return prop !== 'filled'; },
36
+ })(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
37
+ var theme = _a.theme, filled = _a.filled;
38
+ return filled && theme.palette.background.default;
39
+ });
40
+ export var NotificationCloseButton = styled(IconButton, {
41
+ shouldForwardProp: function (prop) { return prop !== 'filled'; },
42
+ })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n padding: 0;\n\n &:hover {\n background-color: ", ";\n }\n"], ["\n padding: 0;\n\n &:hover {\n background-color: ", ";\n }\n"])), function (_a) {
43
+ var filled = _a.filled;
44
+ return filled && 'inherit';
45
+ });
46
+ export var NotificationTitle = styled(Typography)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n flex: 1;\n margin-right: ", ";\n\n font-weight: ", ";\n"], ["\n flex: 1;\n margin-right: ", ";\n\n font-weight: ", ";\n"])), function (_a) {
47
+ var theme = _a.theme;
48
+ return theme.spacing(1);
49
+ }, function (_a) {
50
+ var theme = _a.theme;
51
+ return theme.typography.fontWeightMedium;
52
+ });
53
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
@@ -0,0 +1,2 @@
1
+ import { ActionsDirection } from '../../../types';
2
+ export declare const getActionsDirection: (direction: ActionsDirection) => string;
@@ -0,0 +1,7 @@
1
+ export var getActionsDirection = function (direction) {
2
+ var MAP_OF_DIRECTIONS = {
3
+ right: 'flex-end',
4
+ left: 'flex-start',
5
+ };
6
+ return MAP_OF_DIRECTIONS[direction];
7
+ };
@@ -0,0 +1 @@
1
+ export * from './getActionsDirection';
@@ -0,0 +1 @@
1
+ export * from './getActionsDirection';
@@ -0,0 +1,6 @@
1
+ import { Variant } from '../../../types';
2
+ import { Theme } from '../../../../theme';
3
+ export declare const getNotificationTemplateStyles: (theme: Theme, variant: Variant, filled: boolean) => {
4
+ color: string;
5
+ background: string;
6
+ };
@@ -0,0 +1,27 @@
1
+ export var getNotificationTemplateStyles = function (theme, variant, filled) {
2
+ var defaultColors = {
3
+ color: theme.palette.grey[900],
4
+ background: theme.palette.background.default,
5
+ };
6
+ if (!filled)
7
+ return defaultColors;
8
+ var mapOfStyles = {
9
+ info: {
10
+ color: theme.palette.primary.contrastText,
11
+ background: theme.palette.grey[600],
12
+ },
13
+ success: {
14
+ color: theme.palette.primary.contrastText,
15
+ background: theme.palette.green[600],
16
+ },
17
+ warning: {
18
+ color: theme.palette.primary.contrastText,
19
+ background: theme.palette.yellow[600],
20
+ },
21
+ error: {
22
+ color: theme.palette.primary.contrastText,
23
+ background: theme.palette.red[600],
24
+ },
25
+ };
26
+ return mapOfStyles[variant];
27
+ };
@@ -0,0 +1 @@
1
+ export * from './getNotificationTemplateStyles';
@@ -0,0 +1 @@
1
+ export * from './getNotificationTemplateStyles';
@@ -0,0 +1,2 @@
1
+ export * from './getNotificationTemplateStyles';
2
+ export * from './getActionsDirection';
@@ -0,0 +1,2 @@
1
+ export * from './getNotificationTemplateStyles';
2
+ export * from './getActionsDirection';
@@ -0,0 +1,3 @@
1
+ export declare const DEFAULT_NOTIFICATION_PROPS: {
2
+ filled: boolean;
3
+ };
@@ -0,0 +1,3 @@
1
+ export var DEFAULT_NOTIFICATION_PROPS = {
2
+ filled: true,
3
+ };
@@ -0,0 +1,3 @@
1
+ export * from './positions';
2
+ export * from './notificationVariant';
3
+ export * from './defaultNotificationProps';
@@ -0,0 +1,3 @@
1
+ export * from './positions';
2
+ export * from './notificationVariant';
3
+ export * from './defaultNotificationProps';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { ToastProps } from 'react-toastify/dist/types';
3
+ import { NotificationProps, Variant } from '../types';
4
+ declare type NotifyAction = (options: NotificationProps, notifyProps: ToastProps) => JSX.Element;
5
+ export declare const NOTIFICATION_VARIANT: Record<Variant, NotifyAction>;
6
+ export {};
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { NotificationTemplate } from '../NotificationTemplate';
14
+ import { getNotificationIconByVariant, notificationTemplatePropsCreator, } from '../utils';
15
+ export var NOTIFICATION_VARIANT = {
16
+ info: function (options, notifyContent) { return (_jsx(NotificationTemplate, __assign({}, notificationTemplatePropsCreator(options, notifyContent, 'info'), { icon: getNotificationIconByVariant('info', options.filled) }), void 0)); },
17
+ success: function (options, notifyContent) { return (_jsx(NotificationTemplate, __assign({}, notificationTemplatePropsCreator(options, notifyContent, 'success'), { icon: getNotificationIconByVariant('success', options.filled) }), void 0)); },
18
+ warning: function (options, notifyContent) { return (_jsx(NotificationTemplate, __assign({}, notificationTemplatePropsCreator(options, notifyContent, 'warning'), { icon: getNotificationIconByVariant('warning', options.filled) }), void 0)); },
19
+ error: function (options, notifyContent) { return (_jsx(NotificationTemplate, __assign({}, notificationTemplatePropsCreator(options, notifyContent, 'error'), { icon: getNotificationIconByVariant('error', options.filled) }), void 0)); },
20
+ };
@@ -0,0 +1,8 @@
1
+ export declare const NOTIFY_POSITIONS: {
2
+ TOP_LEFT: import("react-toastify").ToastPosition;
3
+ TOP_RIGHT: import("react-toastify").ToastPosition;
4
+ TOP_CENTER: import("react-toastify").ToastPosition;
5
+ BOTTOM_LEFT: import("react-toastify").ToastPosition;
6
+ BOTTOM_RIGHT: import("react-toastify").ToastPosition;
7
+ BOTTOM_CENTER: import("react-toastify").ToastPosition;
8
+ };
@@ -0,0 +1,2 @@
1
+ import { toast } from 'react-toastify';
2
+ export var NOTIFY_POSITIONS = toast.POSITION;
@@ -0,0 +1,5 @@
1
+ export * from './Notification';
2
+ export * from './NotificationContainer';
3
+ export * from './NotificationTemplate';
4
+ export * from './types';
5
+ export * from './constants';
@@ -0,0 +1,5 @@
1
+ export * from './Notification';
2
+ export * from './NotificationContainer';
3
+ export * from './NotificationTemplate';
4
+ export * from './types';
5
+ export * from './constants';
@@ -0,0 +1,77 @@
1
+ /// <reference types="react" />
2
+ interface NotificationIconProps {
3
+ filled: boolean;
4
+ }
5
+ export declare const InfoNotificationIcon: import("@emotion/styled").StyledComponent<{
6
+ children?: import("react").ReactNode;
7
+ classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
8
+ color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning" | "action" | "info" | undefined;
9
+ fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
10
+ htmlColor?: string | undefined;
11
+ inheritViewBox?: boolean | undefined;
12
+ shapeRendering?: string | undefined;
13
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
14
+ titleAccess?: string | undefined;
15
+ viewBox?: string | undefined;
16
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "css" | "name" | "id" | "lang" | "role" | "color" | "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" | "cursor" | "direction" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "end" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "elevation" | "spacing" | "values" | "mode" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
17
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
18
+ }, "fontSize" | "children" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
19
+ children?: import("react").ReactNode;
20
+ } & {
21
+ theme?: import("@emotion/react").Theme | undefined;
22
+ } & NotificationIconProps, {}, {}>;
23
+ export declare const SuccessNotificationIcon: import("@emotion/styled").StyledComponent<{
24
+ children?: import("react").ReactNode;
25
+ classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
26
+ color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning" | "action" | "info" | undefined;
27
+ fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
28
+ htmlColor?: string | undefined;
29
+ inheritViewBox?: boolean | undefined;
30
+ shapeRendering?: string | undefined;
31
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
32
+ titleAccess?: string | undefined;
33
+ viewBox?: string | undefined;
34
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "css" | "name" | "id" | "lang" | "role" | "color" | "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" | "cursor" | "direction" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "end" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "elevation" | "spacing" | "values" | "mode" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
35
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
36
+ }, "fontSize" | "children" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
37
+ children?: import("react").ReactNode;
38
+ } & {
39
+ theme?: import("@emotion/react").Theme | undefined;
40
+ } & NotificationIconProps, {}, {}>;
41
+ export declare const WarningNotificationIcon: import("@emotion/styled").StyledComponent<{
42
+ children?: import("react").ReactNode;
43
+ classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
44
+ color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning" | "action" | "info" | undefined;
45
+ fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
46
+ htmlColor?: string | undefined;
47
+ inheritViewBox?: boolean | undefined;
48
+ shapeRendering?: string | undefined;
49
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
50
+ titleAccess?: string | undefined;
51
+ viewBox?: string | undefined;
52
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "css" | "name" | "id" | "lang" | "role" | "color" | "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" | "cursor" | "direction" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "end" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "elevation" | "spacing" | "values" | "mode" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
53
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
54
+ }, "fontSize" | "children" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
55
+ children?: import("react").ReactNode;
56
+ } & {
57
+ theme?: import("@emotion/react").Theme | undefined;
58
+ } & NotificationIconProps, {}, {}>;
59
+ export declare const ErrorNotificationIcon: import("@emotion/styled").StyledComponent<{
60
+ children?: import("react").ReactNode;
61
+ classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
62
+ color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning" | "action" | "info" | undefined;
63
+ fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
64
+ htmlColor?: string | undefined;
65
+ inheritViewBox?: boolean | undefined;
66
+ shapeRendering?: string | undefined;
67
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
68
+ titleAccess?: string | undefined;
69
+ viewBox?: string | undefined;
70
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "css" | "name" | "id" | "lang" | "role" | "color" | "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" | "cursor" | "direction" | "display" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "end" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "elevation" | "spacing" | "values" | "mode" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
71
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
72
+ }, "fontSize" | "children" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
73
+ children?: import("react").ReactNode;
74
+ } & {
75
+ theme?: import("@emotion/react").Theme | undefined;
76
+ } & NotificationIconProps, {}, {}>;
77
+ export {};
@@ -0,0 +1,31 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { ErrorFillMd, InfoFillMd, SuccessFillMd, WarningFillMd, } from '@astral/icons';
6
+ import { styled } from '../styles';
7
+ export var InfoNotificationIcon = styled(InfoFillMd, {
8
+ shouldForwardProp: function (prop) { return prop !== 'filled'; },
9
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
10
+ var theme = _a.theme, filled = _a.filled;
11
+ return filled ? theme.palette.background.default : theme.palette.primary[800];
12
+ });
13
+ export var SuccessNotificationIcon = styled(SuccessFillMd, {
14
+ shouldForwardProp: function (prop) { return prop !== 'filled'; },
15
+ })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
16
+ var theme = _a.theme, filled = _a.filled;
17
+ return filled ? theme.palette.background.default : theme.palette.green[800];
18
+ });
19
+ export var WarningNotificationIcon = styled(WarningFillMd, {
20
+ shouldForwardProp: function (prop) { return prop !== 'filled'; },
21
+ })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
22
+ var theme = _a.theme, filled = _a.filled;
23
+ return filled ? theme.palette.background.default : theme.palette.yellow[800];
24
+ });
25
+ export var ErrorNotificationIcon = styled(ErrorFillMd, {
26
+ shouldForwardProp: function (prop) { return prop !== 'filled'; },
27
+ })(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
28
+ var theme = _a.theme, filled = _a.filled;
29
+ return filled ? theme.palette.background.default : theme.palette.red[800];
30
+ });
31
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -0,0 +1,27 @@
1
+ import { ReactNode } from 'react';
2
+ import { ToastOptions } from 'react-toastify/dist/types';
3
+ export declare type Variant = 'success' | 'warning' | 'info' | 'error';
4
+ export declare type ActionsDirection = 'right' | 'left';
5
+ export interface NotificationProps extends Omit<ToastOptions, 'className' | 'style' | 'isLoading' | 'bodyClassName' | 'bodyStyle' | 'onOpen' | 'onClose' | 'type' | 'toastId' | 'updateId' | 'data' | 'progressClassName' | 'closeButton' | 'transition' | 'draggableDirection' | 'role' | 'containerId' | 'rtl' | 'icon' | 'theme'> {
6
+ /**
7
+ * @example notify.success('title')
8
+ * */
9
+ title: string;
10
+ /**
11
+ * @default true
12
+ * @example notify.success('title', { filled: false })
13
+ * */
14
+ filled?: boolean;
15
+ /**
16
+ * @example notify.success('title', { content: <div>Hello notify</div> })
17
+ * */
18
+ content?: ReactNode;
19
+ /**
20
+ * @example notify.success('title', { actions: <div>Hello notify action</div> })
21
+ * */
22
+ actions?: JSX.Element;
23
+ /**
24
+ * @example notify.success('title', { actionsDirection: 'left' })
25
+ * */
26
+ actionsDirection?: ActionsDirection;
27
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Variant } from '../../types';
2
+ export declare const getNotificationIconByVariant: (variant: Variant, filled?: boolean) => JSX.Element;