@astral/ui 0.25.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Button/Button.js +13 -1
- package/ListItemIcon/styled.js +1 -1
- package/Menu/Menu.d.ts +2 -2
- package/Menu/Menu.js +5 -14
- package/Menu/index.d.ts +1 -0
- package/Menu/index.js +1 -0
- package/Menu/types.d.ts +1 -0
- package/Menu/types.js +2 -0
- package/MenuGroup/MenuGroup.d.ts +3 -0
- package/MenuGroup/MenuGroup.js +23 -0
- package/MenuGroup/index.d.ts +1 -0
- package/MenuGroup/index.js +13 -0
- package/MenuGroup/stories/Icons.d.ts +8 -0
- package/MenuGroup/stories/Icons.js +29 -0
- package/MenuGroup/stories/styled.d.ts +50 -0
- package/MenuGroup/stories/styled.js +20 -0
- package/MenuGroup/styled.d.ts +20 -0
- package/MenuGroup/styled.js +24 -0
- package/MenuGroup/types.d.ts +8 -0
- package/MenuGroup/types.js +2 -0
- package/MenuItem/MenuItem.d.ts +1 -1
- package/MenuItem/MenuItem.js +2 -2
- package/MenuItem/styled.d.ts +31 -0
- package/MenuItem/styled.js +14 -0
- package/MenuItem/types.d.ts +1 -0
- package/MenuItem/types.js +2 -0
- package/Notification/Notification.d.ts +6 -0
- package/Notification/Notification.js +42 -0
- package/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
- package/Notification/NotificationContainer/NotificationContainer.js +24 -0
- package/Notification/NotificationContainer/index.d.ts +1 -0
- package/Notification/NotificationContainer/index.js +13 -0
- package/Notification/NotificationContainer/styled.d.ts +5 -0
- package/Notification/NotificationContainer/styled.js +10 -0
- package/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
- package/Notification/NotificationTemplate/NotificationTemplate.js +34 -0
- package/Notification/NotificationTemplate/index.d.ts +1 -0
- package/Notification/NotificationTemplate/index.js +13 -0
- package/Notification/NotificationTemplate/styled.d.ts +83 -0
- package/Notification/NotificationTemplate/styled.js +56 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +11 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/index.js +13 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +31 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +13 -0
- package/Notification/NotificationTemplate/utils/index.d.ts +2 -0
- package/Notification/NotificationTemplate/utils/index.js +14 -0
- package/Notification/constants/defaultNotificationProps.d.ts +3 -0
- package/Notification/constants/defaultNotificationProps.js +6 -0
- package/Notification/constants/index.d.ts +3 -0
- package/Notification/constants/index.js +15 -0
- package/Notification/constants/notificationVariant.d.ts +6 -0
- package/Notification/constants/notificationVariant.js +23 -0
- package/Notification/constants/positions.d.ts +8 -0
- package/Notification/constants/positions.js +5 -0
- package/Notification/index.d.ts +5 -0
- package/Notification/index.js +17 -0
- package/Notification/styled.d.ts +77 -0
- package/Notification/styled.js +34 -0
- package/Notification/types.d.ts +27 -0
- package/Notification/types.js +2 -0
- package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
- package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +17 -0
- package/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
- package/Notification/utils/getNotificationIconByVariant/index.js +13 -0
- package/Notification/utils/index.d.ts +2 -0
- package/Notification/utils/index.js +14 -0
- package/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
- package/Notification/utils/notificationTemplatePropsCreator/index.js +13 -0
- package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
- package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +18 -0
- package/Placeholder/styled.js +2 -2
- package/Profile/Profile.d.ts +4 -0
- package/Profile/Profile.js +36 -0
- package/Profile/index.d.ts +2 -0
- package/Profile/index.js +14 -0
- package/Profile/styled.d.ts +40 -0
- package/Profile/styled.js +50 -0
- package/Profile/types.d.ts +20 -0
- package/Profile/types.js +2 -0
- package/Typography/index.d.ts +1 -0
- package/Typography/index.js +1 -0
- package/esm/Button/Button.js +13 -1
- package/esm/ListItemIcon/styled.js +1 -1
- package/esm/Menu/Menu.d.ts +2 -2
- package/esm/Menu/Menu.js +3 -15
- package/esm/Menu/index.d.ts +1 -0
- package/esm/Menu/index.js +1 -0
- package/esm/Menu/types.d.ts +1 -0
- package/esm/Menu/types.js +1 -0
- package/esm/MenuGroup/MenuGroup.d.ts +3 -0
- package/esm/MenuGroup/MenuGroup.js +19 -0
- package/esm/MenuGroup/index.d.ts +1 -0
- package/esm/MenuGroup/index.js +1 -0
- package/esm/MenuGroup/stories/Icons.d.ts +8 -0
- package/esm/MenuGroup/stories/Icons.js +19 -0
- package/esm/MenuGroup/stories/styled.d.ts +50 -0
- package/esm/MenuGroup/stories/styled.js +17 -0
- package/esm/MenuGroup/styled.d.ts +20 -0
- package/esm/MenuGroup/styled.js +21 -0
- package/esm/MenuGroup/types.d.ts +8 -0
- package/esm/MenuGroup/types.js +1 -0
- package/esm/MenuItem/MenuItem.d.ts +1 -1
- package/esm/MenuItem/MenuItem.js +2 -2
- package/esm/MenuItem/styled.d.ts +31 -0
- package/esm/MenuItem/styled.js +11 -0
- package/esm/MenuItem/types.d.ts +1 -0
- package/esm/MenuItem/types.js +1 -0
- package/esm/Notification/Notification.d.ts +6 -0
- package/esm/Notification/Notification.js +39 -0
- package/esm/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
- package/esm/Notification/NotificationContainer/NotificationContainer.js +20 -0
- package/esm/Notification/NotificationContainer/index.d.ts +1 -0
- package/esm/Notification/NotificationContainer/index.js +1 -0
- package/esm/Notification/NotificationContainer/styled.d.ts +5 -0
- package/esm/Notification/NotificationContainer/styled.js +7 -0
- package/esm/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
- package/esm/Notification/NotificationTemplate/NotificationTemplate.js +30 -0
- package/esm/Notification/NotificationTemplate/index.d.ts +1 -0
- package/esm/Notification/NotificationTemplate/index.js +1 -0
- package/esm/Notification/NotificationTemplate/styled.d.ts +83 -0
- package/esm/Notification/NotificationTemplate/styled.js +53 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +7 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.js +1 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +27 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +1 -0
- package/esm/Notification/NotificationTemplate/utils/index.d.ts +2 -0
- package/esm/Notification/NotificationTemplate/utils/index.js +2 -0
- package/esm/Notification/constants/defaultNotificationProps.d.ts +3 -0
- package/esm/Notification/constants/defaultNotificationProps.js +3 -0
- package/esm/Notification/constants/index.d.ts +3 -0
- package/esm/Notification/constants/index.js +3 -0
- package/esm/Notification/constants/notificationVariant.d.ts +6 -0
- package/esm/Notification/constants/notificationVariant.js +20 -0
- package/esm/Notification/constants/positions.d.ts +8 -0
- package/esm/Notification/constants/positions.js +2 -0
- package/esm/Notification/index.d.ts +5 -0
- package/esm/Notification/index.js +5 -0
- package/esm/Notification/styled.d.ts +77 -0
- package/esm/Notification/styled.js +31 -0
- package/esm/Notification/types.d.ts +27 -0
- package/esm/Notification/types.js +1 -0
- package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
- package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +13 -0
- package/esm/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
- package/esm/Notification/utils/getNotificationIconByVariant/index.js +1 -0
- package/esm/Notification/utils/index.d.ts +2 -0
- package/esm/Notification/utils/index.js +2 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/index.js +1 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +14 -0
- package/esm/Placeholder/styled.js +2 -2
- package/esm/Profile/Profile.d.ts +4 -0
- package/esm/Profile/Profile.js +33 -0
- package/esm/Profile/index.d.ts +2 -0
- package/esm/Profile/index.js +2 -0
- package/esm/Profile/styled.d.ts +40 -0
- package/esm/Profile/styled.js +47 -0
- package/esm/Profile/types.d.ts +20 -0
- package/esm/Profile/types.js +1 -0
- package/esm/Typography/index.d.ts +1 -0
- package/esm/Typography/index.js +1 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/theme/components/MuiMenu.d.ts +4 -0
- package/esm/theme/components/MuiMenu.js +24 -0
- package/esm/theme/components/MuiMenuItem.d.ts +4 -0
- package/esm/theme/components/MuiMenuItem.js +13 -0
- package/esm/theme/components/components.js +2 -35
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +4 -3
- package/theme/components/MuiMenu.d.ts +4 -0
- package/theme/components/MuiMenu.js +27 -0
- package/theme/components/MuiMenuItem.d.ts +4 -0
- package/theme/components/MuiMenuItem.js +16 -0
- package/theme/components/components.js +4 -37
|
@@ -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,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.ErrorNotificationIcon = exports.WarningNotificationIcon = exports.SuccessNotificationIcon = exports.InfoNotificationIcon = void 0;
|
|
8
|
+
var icons_1 = require("@astral/icons");
|
|
9
|
+
var styles_1 = require("../styles");
|
|
10
|
+
exports.InfoNotificationIcon = (0, styles_1.styled)(icons_1.InfoFillMd, {
|
|
11
|
+
shouldForwardProp: function (prop) { return prop !== 'filled'; },
|
|
12
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
13
|
+
var theme = _a.theme, filled = _a.filled;
|
|
14
|
+
return filled ? theme.palette.background.default : theme.palette.primary[800];
|
|
15
|
+
});
|
|
16
|
+
exports.SuccessNotificationIcon = (0, styles_1.styled)(icons_1.SuccessFillMd, {
|
|
17
|
+
shouldForwardProp: function (prop) { return prop !== 'filled'; },
|
|
18
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
19
|
+
var theme = _a.theme, filled = _a.filled;
|
|
20
|
+
return filled ? theme.palette.background.default : theme.palette.green[800];
|
|
21
|
+
});
|
|
22
|
+
exports.WarningNotificationIcon = (0, styles_1.styled)(icons_1.WarningFillMd, {
|
|
23
|
+
shouldForwardProp: function (prop) { return prop !== 'filled'; },
|
|
24
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
25
|
+
var theme = _a.theme, filled = _a.filled;
|
|
26
|
+
return filled ? theme.palette.background.default : theme.palette.yellow[800];
|
|
27
|
+
});
|
|
28
|
+
exports.ErrorNotificationIcon = (0, styles_1.styled)(icons_1.ErrorFillMd, {
|
|
29
|
+
shouldForwardProp: function (prop) { return prop !== 'filled'; },
|
|
30
|
+
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
31
|
+
var theme = _a.theme, filled = _a.filled;
|
|
32
|
+
return filled ? theme.palette.background.default : theme.palette.red[800];
|
|
33
|
+
});
|
|
34
|
+
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,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getNotificationIconByVariant = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var constants_1 = require("../../constants");
|
|
6
|
+
var styled_1 = require("../../styled");
|
|
7
|
+
var getNotificationIconByVariant = function (variant, filled) {
|
|
8
|
+
if (filled === void 0) { filled = constants_1.DEFAULT_NOTIFICATION_PROPS.filled; }
|
|
9
|
+
var mapOfNotificationIcons = {
|
|
10
|
+
info: (0, jsx_runtime_1.jsx)(styled_1.InfoNotificationIcon, { filled: filled }, void 0),
|
|
11
|
+
success: (0, jsx_runtime_1.jsx)(styled_1.SuccessNotificationIcon, { filled: filled }, void 0),
|
|
12
|
+
warning: (0, jsx_runtime_1.jsx)(styled_1.WarningNotificationIcon, { filled: filled }, void 0),
|
|
13
|
+
error: (0, jsx_runtime_1.jsx)(styled_1.ErrorNotificationIcon, { filled: filled }, void 0),
|
|
14
|
+
};
|
|
15
|
+
return mapOfNotificationIcons[variant];
|
|
16
|
+
};
|
|
17
|
+
exports.getNotificationIconByVariant = getNotificationIconByVariant;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getNotificationIconByVariant';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./getNotificationIconByVariant"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./getNotificationIconByVariant"), exports);
|
|
14
|
+
__exportStar(require("./notificationTemplatePropsCreator"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './notificationTemplatePropsCreator';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./notificationTemplatePropsCreator"), exports);
|
package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ToastProps } from 'react-toastify/dist/types';
|
|
2
|
+
import { NotificationTemplateProps } from '../../NotificationTemplate';
|
|
3
|
+
import { NotificationProps, Variant } from '../../types';
|
|
4
|
+
export declare const notificationTemplatePropsCreator: (options: NotificationProps, notifyProps: ToastProps, variant: Variant) => NotificationTemplateProps;
|
package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.notificationTemplatePropsCreator = void 0;
|
|
15
|
+
var notificationTemplatePropsCreator = function (options, notifyProps, variant) {
|
|
16
|
+
return __assign(__assign(__assign({}, notifyProps), options), { variant: variant });
|
|
17
|
+
};
|
|
18
|
+
exports.notificationTemplatePropsCreator = notificationTemplatePropsCreator;
|
package/Placeholder/styled.js
CHANGED
|
@@ -14,8 +14,8 @@ exports.StyledContainer = styles_1.styled.div(templateObject_1 || (templateObjec
|
|
|
14
14
|
var theme = _a.theme;
|
|
15
15
|
return theme.palette.background.paper;
|
|
16
16
|
});
|
|
17
|
-
exports.StyledInnerContainer = styles_1.styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 384px;\n"], ["\n width: 384px;\n"])));
|
|
18
|
-
exports.StyledImage = styles_1.styled.img(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n width:
|
|
17
|
+
exports.StyledInnerContainer = styles_1.styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n max-width: 384px;\n"], ["\n max-width: 384px;\n"])));
|
|
18
|
+
exports.StyledImage = styles_1.styled.img(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n width: 100%;\n max-height: 162px;\n margin: auto;\n margin-bottom: ", ";\n"], ["\n display: block;\n width: 100%;\n max-height: 162px;\n margin: auto;\n margin-bottom: ", ";\n"])), function (_a) {
|
|
19
19
|
var theme = _a.theme;
|
|
20
20
|
return theme.spacing(8);
|
|
21
21
|
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Profile = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var react_1 = require("react");
|
|
17
|
+
var material_1 = require("@mui/material");
|
|
18
|
+
var styled_1 = require("./styled");
|
|
19
|
+
exports.Profile = (0, react_1.forwardRef)(function (props, ref) {
|
|
20
|
+
var displayName = props.displayName, annotation = props.annotation, _a = props.avatar, avatar = _a === void 0 ? {} : _a, Menu = props.menu;
|
|
21
|
+
var _b = (0, react_1.useState)(false), open = _b[0], setOpen = _b[1];
|
|
22
|
+
var anchorRef = (0, react_1.useRef)(null);
|
|
23
|
+
var handleClick = (0, react_1.useCallback)(function () {
|
|
24
|
+
setOpen(function (prevValue) {
|
|
25
|
+
return !prevValue;
|
|
26
|
+
});
|
|
27
|
+
}, []);
|
|
28
|
+
var handleClickAway = (0, react_1.useCallback)(function () {
|
|
29
|
+
setOpen(false);
|
|
30
|
+
}, []);
|
|
31
|
+
var handleClose = (0, react_1.useCallback)(function () {
|
|
32
|
+
setOpen(false);
|
|
33
|
+
}, []);
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.ClickAwayListener, __assign({ ref: ref, onClickAway: handleClickAway }, { children: (0, jsx_runtime_1.jsxs)(styled_1.ProfileRoot, __assign({ ref: anchorRef, variant: "text", onClick: handleClick }, { children: [(0, jsx_runtime_1.jsxs)(styled_1.ProfileUser, { children: [(0, jsx_runtime_1.jsxs)(styled_1.ProfileCredentials, { children: [(0, jsx_runtime_1.jsx)(styled_1.ProfileDisplayName, { children: displayName }, void 0), (0, jsx_runtime_1.jsx)(styled_1.ProfileAnnotation, { children: annotation }, void 0)] }, void 0), (0, jsx_runtime_1.jsx)(material_1.Avatar, __assign({}, avatar), void 0)] }, void 0), (0, jsx_runtime_1.jsx)(styled_1.ProfileChevron, { open: open }, void 0)] }), void 0) }), void 0), (0, jsx_runtime_1.jsx)(Menu, { open: open, anchorEl: anchorRef.current, onClose: handleClose }, void 0)] }, void 0));
|
|
35
|
+
});
|
|
36
|
+
exports.default = exports.Profile;
|
package/Profile/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./Profile"), exports);
|
|
14
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ProfileRoot: import("@emotion/styled").StyledComponent<Pick<import("../Button").ButtonProps, "disabled" | "component" | "href" | "onFocusVisible" | "tabIndex" | "type" | "action" | "children" | "form" | "slot" | "title" | "key" | "css" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "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" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
export declare const ProfileUser: import("@emotion/styled").StyledComponent<{
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
+
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
+
export declare const ProfileCredentials: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export declare const ProfileDisplayName: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
+
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
17
|
+
export declare const ProfileAnnotation: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
21
|
+
export declare const ProfileChevron: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
children?: import("react").ReactNode;
|
|
23
|
+
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
24
|
+
color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning" | "action" | "info" | undefined;
|
|
25
|
+
fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
|
|
26
|
+
htmlColor?: string | undefined;
|
|
27
|
+
inheritViewBox?: boolean | undefined;
|
|
28
|
+
shapeRendering?: string | undefined;
|
|
29
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
30
|
+
titleAccess?: string | undefined;
|
|
31
|
+
viewBox?: string | undefined;
|
|
32
|
+
} & 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"> & {
|
|
33
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
34
|
+
}, "fontSize" | "children" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
35
|
+
children?: import("react").ReactNode;
|
|
36
|
+
} & {
|
|
37
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
open: boolean;
|
|
40
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.ProfileChevron = exports.ProfileAnnotation = exports.ProfileDisplayName = exports.ProfileCredentials = exports.ProfileUser = exports.ProfileRoot = void 0;
|
|
8
|
+
var icons_1 = require("@astral/icons");
|
|
9
|
+
var Button_1 = require("../Button");
|
|
10
|
+
var styles_1 = require("../styles");
|
|
11
|
+
exports.ProfileRoot = (0, styles_1.styled)(Button_1.Button)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n height: auto;\n padding: ", ";\n\n text-align: right;\n"], ["\n display: flex;\n align-items: center;\n height: auto;\n padding: ", ";\n\n text-align: right;\n"])), function (_a) {
|
|
12
|
+
var theme = _a.theme;
|
|
13
|
+
return theme.spacing(0.5, 0.5, 0.5, 2);
|
|
14
|
+
});
|
|
15
|
+
exports.ProfileUser = styles_1.styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n gap: ", ";\n align-items: center;\n"], ["\n display: flex;\n gap: ", ";\n align-items: center;\n"])), function (_a) {
|
|
16
|
+
var theme = _a.theme;
|
|
17
|
+
return theme.spacing(2);
|
|
18
|
+
});
|
|
19
|
+
exports.ProfileCredentials = styles_1.styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n"], ["\n display: block;\n"])));
|
|
20
|
+
exports.ProfileDisplayName = styles_1.styled.span(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: block;\n\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n"], ["\n display: block;\n\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_a) {
|
|
21
|
+
var theme = _a.theme;
|
|
22
|
+
return theme.typography.fontWeightBold;
|
|
23
|
+
}, function (_a) {
|
|
24
|
+
var theme = _a.theme;
|
|
25
|
+
return theme.typography.pxToRem(12);
|
|
26
|
+
}, function (_a) {
|
|
27
|
+
var theme = _a.theme;
|
|
28
|
+
return theme.typography.pxToRem(14);
|
|
29
|
+
});
|
|
30
|
+
exports.ProfileAnnotation = styles_1.styled.span(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: block;\n\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n"], ["\n display: block;\n\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_a) {
|
|
31
|
+
var theme = _a.theme;
|
|
32
|
+
return theme.palette.grey[500];
|
|
33
|
+
}, function (_a) {
|
|
34
|
+
var theme = _a.theme;
|
|
35
|
+
return theme.typography.pxToRem(12);
|
|
36
|
+
}, function (_a) {
|
|
37
|
+
var theme = _a.theme;
|
|
38
|
+
return theme.typography.pxToRem(16);
|
|
39
|
+
});
|
|
40
|
+
exports.ProfileChevron = (0, styles_1.styled)(icons_1.ChevronDOutlineMd)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n transform: ", ";\n\n transition: ", ";\n"], ["\n transform: ", ";\n\n transition: ", ";\n"])), function (_a) {
|
|
41
|
+
var open = _a.open;
|
|
42
|
+
return open ? 'rotateZ(180deg)' : ' rotateZ(0deg)';
|
|
43
|
+
}, function (_a) {
|
|
44
|
+
var theme = _a.theme;
|
|
45
|
+
return theme.transitions.create('transform', {
|
|
46
|
+
easing: theme.transitions.easing.sharp,
|
|
47
|
+
duration: theme.transitions.duration.enteringScreen,
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AvatarProps, MenuProps } from '@mui/material';
|
|
3
|
+
export declare type ProfileProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Имя профиля
|
|
6
|
+
*/
|
|
7
|
+
displayName: string;
|
|
8
|
+
/**
|
|
9
|
+
* Дополнительная информация (например email или username)
|
|
10
|
+
*/
|
|
11
|
+
annotation?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Аватарка профиля
|
|
14
|
+
*/
|
|
15
|
+
avatar?: AvatarProps;
|
|
16
|
+
/**
|
|
17
|
+
* Выпадающее меню
|
|
18
|
+
*/
|
|
19
|
+
menu: React.FC<MenuProps>;
|
|
20
|
+
};
|
package/Profile/types.js
ADDED
package/Typography/index.d.ts
CHANGED
package/Typography/index.js
CHANGED