@astral/ui 0.41.2 → 0.42.1
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/Chevron/Chevron.d.ts +7 -0
- package/Chevron/Chevron.js +18 -0
- package/Chevron/index.d.ts +1 -0
- package/{ListProvider → Chevron}/index.js +1 -2
- package/Chevron/styles.d.ts +18 -0
- package/Chevron/styles.js +20 -0
- package/CircularProgress/CircularProgress.d.ts +19 -2
- package/CircularProgress/CircularProgress.js +2 -5
- package/CircularProgress/index.d.ts +0 -1
- package/CircularProgress/index.js +0 -1
- package/Collapse/Collapse.d.ts +3 -2
- package/Collapse/Collapse.js +17 -2
- package/Collapse/styles.d.ts +3 -0
- package/Collapse/styles.js +11 -0
- package/DataGrid/DataGridHeadColumn/styled.js +4 -4
- package/DataGridPagination/DataGridPagination.d.ts +15 -1
- package/DataGridPagination/DataGridPagination.js +2 -2
- package/DataGridPagination/index.d.ts +0 -1
- package/DataGridPagination/index.js +0 -1
- package/DropdownButton/DropdownButton.js +3 -3
- package/IconButton/IconButton.js +2 -2
- package/IconButton/{styled.d.ts → styles.d.ts} +0 -0
- package/IconButton/{styled.js → styles.js} +0 -0
- package/List/List.d.ts +1 -1
- package/List/List.js +3 -22
- package/List/{styled.d.ts → styles.d.ts} +0 -0
- package/List/styles.js +11 -0
- package/ListItemText/ListItemText.js +2 -5
- package/ListItemText/{styled.d.ts → styles.d.ts} +3 -3
- package/ListItemText/{styled.js → styles.js} +1 -10
- package/Profile/Profile.js +2 -1
- package/Profile/styled.d.ts +0 -18
- package/Profile/styled.js +2 -13
- package/Tooltip/Tooltip.d.ts +10 -2
- package/Tooltip/styled.d.ts +1 -1
- package/Tooltip/types.d.ts +0 -4
- package/esm/Chevron/Chevron.d.ts +7 -0
- package/esm/Chevron/Chevron.js +14 -0
- package/esm/Chevron/index.d.ts +1 -0
- package/esm/Chevron/index.js +1 -0
- package/esm/Chevron/styles.d.ts +18 -0
- package/esm/Chevron/styles.js +17 -0
- package/esm/CircularProgress/CircularProgress.d.ts +19 -2
- package/esm/CircularProgress/CircularProgress.js +1 -1
- package/esm/CircularProgress/index.d.ts +0 -1
- package/esm/CircularProgress/index.js +0 -1
- package/esm/Collapse/Collapse.d.ts +3 -2
- package/esm/Collapse/Collapse.js +16 -2
- package/esm/Collapse/styles.d.ts +3 -0
- package/esm/Collapse/styles.js +8 -0
- package/esm/DataGrid/DataGridHeadColumn/styled.js +4 -4
- package/esm/DataGridPagination/DataGridPagination.d.ts +15 -1
- package/esm/DataGridPagination/DataGridPagination.js +2 -2
- package/esm/DataGridPagination/index.d.ts +0 -1
- package/esm/DataGridPagination/index.js +0 -1
- package/esm/DropdownButton/DropdownButton.js +3 -3
- package/esm/IconButton/IconButton.js +1 -1
- package/esm/IconButton/{styled.d.ts → styles.d.ts} +0 -0
- package/esm/IconButton/{styled.js → styles.js} +0 -0
- package/esm/List/List.d.ts +1 -1
- package/esm/List/List.js +3 -19
- package/esm/List/{styled.d.ts → styles.d.ts} +0 -0
- package/esm/List/styles.js +8 -0
- package/esm/ListItemText/ListItemText.js +2 -5
- package/esm/ListItemText/{styled.d.ts → styles.d.ts} +3 -3
- package/esm/ListItemText/{styled.js → styles.js} +1 -10
- package/esm/Profile/Profile.js +3 -2
- package/esm/Profile/styled.d.ts +0 -18
- package/esm/Profile/styled.js +1 -12
- package/esm/Tooltip/Tooltip.d.ts +10 -2
- package/esm/Tooltip/styled.d.ts +1 -1
- package/esm/Tooltip/types.d.ts +0 -4
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/theme/baseTheme.js +1 -0
- package/esm/theme/components/MuiTypography.js +1 -0
- package/esm/theme/hooks/useTheme/index.js +2 -0
- package/esm/types.d.ts +1 -0
- package/esm/{CircularProgress/types.js → types.js} +0 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
- package/theme/baseTheme.js +1 -0
- package/theme/components/MuiTypography.js +1 -0
- package/theme/hooks/useTheme/index.js +2 -0
- package/types.d.ts +1 -0
- package/{CircularProgress/types.js → types.js} +0 -0
- package/CircularProgress/types.d.ts +0 -11
- package/DataGridPagination/types.d.ts +0 -6
- package/DataGridPagination/types.js +0 -2
- package/DropdownButton/styles.d.ts +0 -4
- package/DropdownButton/styles.js +0 -20
- package/List/styled.js +0 -17
- package/ListProvider/ListProvider.d.ts +0 -7
- package/ListProvider/ListProvider.js +0 -6
- package/ListProvider/index.d.ts +0 -2
- package/ListProvider/types.d.ts +0 -3
- package/ListProvider/types.js +0 -2
- package/esm/CircularProgress/types.d.ts +0 -11
- package/esm/DataGridPagination/types.d.ts +0 -6
- package/esm/DataGridPagination/types.js +0 -1
- package/esm/DropdownButton/styles.d.ts +0 -4
- package/esm/DropdownButton/styles.js +0 -17
- package/esm/List/styled.js +0 -14
- package/esm/ListProvider/ListProvider.d.ts +0 -7
- package/esm/ListProvider/ListProvider.js +0 -3
- package/esm/ListProvider/index.d.ts +0 -2
- package/esm/ListProvider/index.js +0 -2
- package/esm/ListProvider/types.d.ts +0 -3
- package/esm/ListProvider/types.js +0 -1
package/Tooltip/types.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SvgIconProps } from '@mui/material';
|
|
3
|
+
export declare const Chevron: (props: ChevronProps) => JSX.Element;
|
|
4
|
+
export declare type ChevronProps = {
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
} & Omit<SvgIconProps, 'children' | 'classes' | 'ref' | 'sx'>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { ChevronWrapper } from './styles';
|
|
14
|
+
export var Chevron = function (props) { return (_jsx(ChevronWrapper, __assign({}, props))); };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Chevron';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Chevron';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ChevronProps } from './Chevron';
|
|
3
|
+
export declare const ChevronWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
6
|
+
color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning" | "action" | "info" | undefined;
|
|
7
|
+
fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
|
|
8
|
+
htmlColor?: string | undefined;
|
|
9
|
+
inheritViewBox?: boolean | undefined;
|
|
10
|
+
shapeRendering?: string | undefined;
|
|
11
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
12
|
+
titleAccess?: string | undefined;
|
|
13
|
+
viewBox?: string | undefined;
|
|
14
|
+
} & 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" | "values" | "elevation" | "spacing" | "mode" | "local" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "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" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "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" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
15
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
16
|
+
}, "fontSize" | "children" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
17
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
+
} & Pick<ChevronProps, "isActive">, {}, {}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { ChevronDOutlineMd } from '@astral/icons';
|
|
6
|
+
import { styled } from '../styles';
|
|
7
|
+
export var ChevronWrapper = styled(ChevronDOutlineMd)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transform: rotateZ(", "deg);\n\n transition: ", ";\n"], ["\n transform: rotateZ(", "deg);\n\n transition: ", ";\n"])), function (_a) {
|
|
8
|
+
var isActive = _a.isActive;
|
|
9
|
+
return (isActive ? 180 : 0);
|
|
10
|
+
}, function (_a) {
|
|
11
|
+
var theme = _a.theme;
|
|
12
|
+
return theme.transitions.create('transform', {
|
|
13
|
+
easing: theme.transitions.easing.sharp,
|
|
14
|
+
duration: theme.transitions.duration.short,
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
var templateObject_1;
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CircularProgressProps } from '
|
|
3
|
-
|
|
2
|
+
import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
|
|
3
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
4
|
+
declare module '@mui/material/CircularProgress' {
|
|
5
|
+
interface CircularProgressPropsColorOverrides {
|
|
6
|
+
primary: true;
|
|
7
|
+
inverted: true;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare type CircularProgressProps = WithoutEmotionSpecific<Omit<MuiCircularProgressProps, 'color' | 'size'>> & {
|
|
11
|
+
/**
|
|
12
|
+
* Цвет лоадера
|
|
13
|
+
*/
|
|
14
|
+
color?: 'primary' | 'inverted';
|
|
15
|
+
/**
|
|
16
|
+
* Размер лоадера
|
|
17
|
+
*/
|
|
18
|
+
size?: 'small' | 'medium';
|
|
19
|
+
};
|
|
20
|
+
export declare const CircularProgress: import("react").ForwardRefExoticComponent<Pick<CircularProgressProps, "tabIndex" | "className" | "slot" | "style" | "title" | "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" | "variant" | "size" | "classes" | "disableShrink" | "thickness"> & import("react").RefAttributes<HTMLElement>>;
|
|
4
21
|
export default CircularProgress;
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef, useMemo } from 'react';
|
|
25
|
-
import MuiCircularProgress from '@mui/material
|
|
25
|
+
import { CircularProgress as MuiCircularProgress, } from '@mui/material';
|
|
26
26
|
export var CircularProgress = forwardRef(function (props, ref) {
|
|
27
27
|
var sizeProp = props.size, color = props.color, restProps = __rest(props, ["size", "color"]);
|
|
28
28
|
var size = useMemo(function () {
|
package/esm/Collapse/Collapse.js
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { StyledCollapse } from './styles';
|
|
14
|
+
export var Collapse = function (props) {
|
|
15
|
+
return _jsx(StyledCollapse, __assign({}, props));
|
|
16
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
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 { Collapse } from '@mui/material';
|
|
6
|
+
import { styled } from '../styles';
|
|
7
|
+
export var StyledCollapse = styled(Collapse)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &.MuiCollapse-horizontal {\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n }\n"], ["\n &.MuiCollapse-horizontal {\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n }\n"])));
|
|
8
|
+
var templateObject_1;
|
|
@@ -10,17 +10,17 @@ export var StyledTableSortLabel = styled(TableSortLabel)(templateObject_1 || (te
|
|
|
10
10
|
});
|
|
11
11
|
export var StyledTableCell = styled(TableCell, {
|
|
12
12
|
shouldForwardProp: function (prop) { return prop !== 'width'; },
|
|
13
|
-
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: ", ";\n
|
|
13
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: ", ";\n padding: ", ";\n\n color: ", ";\n\n cursor: ", ";\n\n user-select: none;\n"], ["\n width: ", ";\n padding: ", ";\n\n color: ", ";\n\n cursor: ", ";\n\n user-select: none;\n"])), function (_a) {
|
|
14
14
|
var _b = _a.width, width = _b === void 0 ? 'auto' : _b;
|
|
15
15
|
return width;
|
|
16
|
-
}, function (_a) {
|
|
17
|
-
var sortable = _a.sortable;
|
|
18
|
-
return (sortable ? 'pointer' : 'initial');
|
|
19
16
|
}, function (_a) {
|
|
20
17
|
var theme = _a.theme;
|
|
21
18
|
return theme.spacing(3, 4);
|
|
22
19
|
}, function (_a) {
|
|
23
20
|
var theme = _a.theme;
|
|
24
21
|
return theme.palette.grey[700];
|
|
22
|
+
}, function (_a) {
|
|
23
|
+
var sortable = _a.sortable;
|
|
24
|
+
return (sortable ? 'pointer' : 'initial');
|
|
25
25
|
});
|
|
26
26
|
var templateObject_1, templateObject_2;
|
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { PaginationProps } from '../Pagination';
|
|
3
|
+
export declare type DataGridPaginationProps = Omit<PaginationProps, 'count'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Количество всех записей
|
|
6
|
+
*/
|
|
7
|
+
totalCount: number;
|
|
8
|
+
/**
|
|
9
|
+
* Количество записей на страницу
|
|
10
|
+
*/
|
|
11
|
+
rowsPerPage?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Текущая страница
|
|
14
|
+
*/
|
|
15
|
+
page: number;
|
|
16
|
+
};
|
|
3
17
|
export declare const DataGridPagination: ({ page, rowsPerPage, totalCount, className, ...props }: DataGridPaginationProps) => JSX.Element;
|
|
@@ -27,8 +27,8 @@ import { PaginationWrapper, Range } from './styled';
|
|
|
27
27
|
export var DataGridPagination = function (_a) {
|
|
28
28
|
var page = _a.page, _b = _a.rowsPerPage, rowsPerPage = _b === void 0 ? 10 : _b, totalCount = _a.totalCount, className = _a.className, props = __rest(_a, ["page", "rowsPerPage", "totalCount", "className"]);
|
|
29
29
|
var count = Math.ceil(totalCount / rowsPerPage);
|
|
30
|
-
var rangeStart = useMemo(function () { return page * rowsPerPage; }, [page]);
|
|
31
|
-
var rangeEnd = useMemo(function () { return page * rowsPerPage + rowsPerPage; }, [page]);
|
|
30
|
+
var rangeStart = useMemo(function () { return (page - 1) * rowsPerPage + 1; }, [page, rowsPerPage]);
|
|
31
|
+
var rangeEnd = useMemo(function () { return (page - 1) * rowsPerPage + rowsPerPage; }, [page, rowsPerPage]);
|
|
32
32
|
var formattedRange = "".concat(rangeStart, " \u2014 ").concat(rangeEnd, " \u0438\u0437 ").concat(totalCount, " \u0437\u0430\u043F\u0438\u0441\u0435\u0439");
|
|
33
33
|
return (_jsxs(PaginationWrapper, __assign({ className: className }, { children: [_jsx(Range, __assign({ variant: "h6" }, { children: formattedRange })), _jsx(Pagination, __assign({ count: count }, props))] })));
|
|
34
34
|
};
|
|
@@ -23,12 +23,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { ClickAwayListener } from '@mui/material';
|
|
25
25
|
import { forwardRef } from 'react';
|
|
26
|
-
import { ChevronDOutlineMd } from '@astral/icons';
|
|
27
26
|
import { useMenu } from '../hooks';
|
|
28
27
|
import { Menu } from '../Menu';
|
|
29
|
-
import {
|
|
28
|
+
import { Button } from '../Button';
|
|
29
|
+
import { Chevron } from '../Chevron';
|
|
30
30
|
export var DropdownButton = forwardRef(function (_a, ref) {
|
|
31
31
|
var children = _a.children, name = _a.name, props = __rest(_a, ["children", "name"]);
|
|
32
32
|
var _b = useMenu(), open = _b.open, anchorRef = _b.anchorRef, handleOpenMenu = _b.handleOpenMenu, handleCloseMenu = _b.handleCloseMenu;
|
|
33
|
-
return (_jsxs(_Fragment, { children: [_jsx(ClickAwayListener, __assign({ ref: ref, onClickAway: handleCloseMenu }, { children: _jsx(
|
|
33
|
+
return (_jsxs(_Fragment, { children: [_jsx(ClickAwayListener, __assign({ ref: ref, onClickAway: handleCloseMenu }, { children: _jsx(Button, __assign({}, props, { ref: anchorRef, onClick: handleOpenMenu, endIcon: _jsx(Chevron, { isActive: open }) }, { children: name })) })), _jsx(Menu, __assign({ open: open, anchorEl: anchorRef.current }, { children: children }))] }));
|
|
34
34
|
});
|
|
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { forwardRef } from 'react';
|
|
25
|
-
import { StyledIconButton } from './
|
|
25
|
+
import { StyledIconButton } from './styles';
|
|
26
26
|
export var IconButton = forwardRef(function (_a, ref) {
|
|
27
27
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
28
28
|
return (_jsx(StyledIconButton, __assign({}, props, { ref: ref }, { children: children })));
|
|
File without changes
|
|
File without changes
|
package/esm/List/List.d.ts
CHANGED
package/esm/List/List.js
CHANGED
|
@@ -9,24 +9,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
var COLLAPSED_SIZE = 60;
|
|
28
|
-
export var List = function (_a) {
|
|
29
|
-
var collapsed = _a.collapsed, children = _a.children, props = __rest(_a, ["collapsed", "children"]);
|
|
30
|
-
var open = collapsed === undefined || collapsed;
|
|
31
|
-
return (_jsx(StyledList, __assign({}, props, { children: _jsx(ListProvider, __assign({ value: { open: open } }, { children: _jsx(Collapse, __assign({ orientation: "horizontal", in: open, collapsedSize: COLLAPSED_SIZE }, { children: children })) })) })));
|
|
13
|
+
import { StyledList } from './styles';
|
|
14
|
+
export var List = function (props) {
|
|
15
|
+
return _jsx(StyledList, __assign({}, props));
|
|
32
16
|
};
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
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 { List as MuiList } from '@mui/material';
|
|
6
|
+
import { styled } from '../styles';
|
|
7
|
+
export var StyledList = styled(MuiList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n display: inline-block;\n width: 100%;\n\n text-decoration: none;\n }\n"], ["\n a {\n display: inline-block;\n width: 100%;\n\n text-decoration: none;\n }\n"])));
|
|
8
|
+
var templateObject_1;
|
|
@@ -21,11 +21,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import {
|
|
25
|
-
import { ListContext } from '../ListProvider';
|
|
26
|
-
import { StyledListItemText } from './styled';
|
|
24
|
+
import { StyledListItemText } from './styles';
|
|
27
25
|
export var ListItemText = function (_a) {
|
|
28
26
|
var props = __rest(_a, []);
|
|
29
|
-
|
|
30
|
-
return _jsx(StyledListItemText, __assign({}, props, { open: open }));
|
|
27
|
+
return _jsx(StyledListItemText, __assign({}, props));
|
|
31
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ListItemTextProps } from '@mui/material';
|
|
3
|
+
declare type StyledListItemTextProps = ListItemTextProps;
|
|
3
4
|
export declare const StyledListItemText: import("@emotion/styled").StyledComponent<ListItemTextProps<import("react").ElementType<any>, import("react").ElementType<any>> & {
|
|
4
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
} &
|
|
6
|
-
|
|
7
|
-
}, {}, {}>;
|
|
6
|
+
} & StyledListItemTextProps, {}, {}>;
|
|
7
|
+
export {};
|
|
@@ -4,14 +4,5 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { ListItemText } from '@mui/material';
|
|
6
6
|
import { styled } from '../styles';
|
|
7
|
-
export var StyledListItemText = styled(ListItemText)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n\n white-space: nowrap;\n text-align: left;\n text-overflow: ellipsis;\n
|
|
8
|
-
var open = _a.open;
|
|
9
|
-
return (open ? 1 : 0);
|
|
10
|
-
}, function (_a) {
|
|
11
|
-
var theme = _a.theme;
|
|
12
|
-
return "".concat(theme.transitions.create('opacity', {
|
|
13
|
-
easing: theme.transitions.easing.sharp,
|
|
14
|
-
duration: theme.transitions.duration.enteringScreen,
|
|
15
|
-
}));
|
|
16
|
-
});
|
|
7
|
+
export var StyledListItemText = styled(ListItemText)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n\n white-space: nowrap;\n text-align: left;\n text-overflow: ellipsis;\n"], ["\n overflow: hidden;\n\n white-space: nowrap;\n text-align: left;\n text-overflow: ellipsis;\n"])));
|
|
17
8
|
var templateObject_1;
|
package/esm/Profile/Profile.js
CHANGED
|
@@ -13,10 +13,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
13
13
|
import { forwardRef } from 'react';
|
|
14
14
|
import { Avatar, ClickAwayListener } from '@mui/material';
|
|
15
15
|
import { useMenu } from '../hooks';
|
|
16
|
-
import {
|
|
16
|
+
import { Chevron } from '../Chevron';
|
|
17
|
+
import { ProfileAnnotation, ProfileCredentials, ProfileDisplayName, ProfileRoot, ProfileUser, } from './styled';
|
|
17
18
|
export var Profile = forwardRef(function (props, ref) {
|
|
18
19
|
var displayName = props.displayName, annotation = props.annotation, _a = props.avatar, avatar = _a === void 0 ? {} : _a, Menu = props.menu;
|
|
19
20
|
var _b = useMenu(), open = _b.open, anchorRef = _b.anchorRef, handleOpenMenu = _b.handleOpenMenu, handleCloseMenu = _b.handleCloseMenu;
|
|
20
|
-
return (_jsxs(_Fragment, { children: [_jsx(ClickAwayListener, __assign({ ref: ref, onClickAway: handleCloseMenu }, { children: _jsxs(ProfileRoot, __assign({ ref: anchorRef, variant: "text", onClick: handleOpenMenu }, { children: [_jsxs(ProfileUser, { children: [_jsxs(ProfileCredentials, { children: [_jsx(ProfileDisplayName, { children: displayName }), _jsx(ProfileAnnotation, { children: annotation })] }), _jsx(Avatar, __assign({}, avatar))] }), _jsx(
|
|
21
|
+
return (_jsxs(_Fragment, { children: [_jsx(ClickAwayListener, __assign({ ref: ref, onClickAway: handleCloseMenu }, { children: _jsxs(ProfileRoot, __assign({ ref: anchorRef, variant: "text", onClick: handleOpenMenu }, { children: [_jsxs(ProfileUser, { children: [_jsxs(ProfileCredentials, { children: [_jsx(ProfileDisplayName, { children: displayName }), _jsx(ProfileAnnotation, { children: annotation })] }), _jsx(Avatar, __assign({}, avatar))] }), _jsx(Chevron, { isActive: open })] })) })), _jsx(Menu, { open: open, anchorEl: anchorRef.current, onClose: handleCloseMenu })] }));
|
|
21
22
|
});
|
|
22
23
|
export default Profile;
|
package/esm/Profile/styled.d.ts
CHANGED
|
@@ -18,21 +18,3 @@ export declare const ProfileAnnotation: import("@emotion/styled").StyledComponen
|
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
19
|
as?: import("react").ElementType<any> | undefined;
|
|
20
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" | "values" | "elevation" | "spacing" | "mode" | "local" | "in" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "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" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "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" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "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
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
-
} & {
|
|
37
|
-
open: boolean;
|
|
38
|
-
}, {}, {}>;
|
package/esm/Profile/styled.js
CHANGED
|
@@ -2,7 +2,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
2
2
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
|
-
import { ChevronDOutlineMd } from '@astral/icons';
|
|
6
5
|
import { Button } from '../Button';
|
|
7
6
|
import { styled } from '../styles';
|
|
8
7
|
export var ProfileRoot = styled(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) {
|
|
@@ -34,14 +33,4 @@ export var ProfileAnnotation = styled.span(templateObject_5 || (templateObject_5
|
|
|
34
33
|
var theme = _a.theme;
|
|
35
34
|
return theme.typography.pxToRem(16);
|
|
36
35
|
});
|
|
37
|
-
|
|
38
|
-
var open = _a.open;
|
|
39
|
-
return open ? 'rotateZ(180deg)' : ' rotateZ(0deg)';
|
|
40
|
-
}, function (_a) {
|
|
41
|
-
var theme = _a.theme;
|
|
42
|
-
return theme.transitions.create('transform', {
|
|
43
|
-
easing: theme.transitions.easing.sharp,
|
|
44
|
-
duration: theme.transitions.duration.enteringScreen,
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
36
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
package/esm/Tooltip/Tooltip.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TooltipProps } from '
|
|
3
|
-
|
|
2
|
+
import { TooltipProps as MuiTooltipProps } from '@mui/material/Tooltip';
|
|
3
|
+
import { WithoutEmotionSpecific } from '../types';
|
|
4
|
+
import { TooltipSize } from './types';
|
|
5
|
+
export declare type TooltipProps = WithoutEmotionSpecific<MuiTooltipProps> & {
|
|
6
|
+
/**
|
|
7
|
+
* Размер тултипа
|
|
8
|
+
*/
|
|
9
|
+
size?: TooltipSize;
|
|
10
|
+
};
|
|
11
|
+
export declare const Tooltip: import("react").ForwardRefExoticComponent<Pick<TooltipProps, "tabIndex" | "children" | "className" | "components" | "componentsProps" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "classes" | "open" | "onClose" | "TransitionComponent" | "TransitionProps" | "placement" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
package/esm/Tooltip/styled.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const StyledTooltip: import("@emotion/styled").StyledComponent<import("@mui/material").TooltipProps & {
|
|
1
|
+
export declare const StyledTooltip: import("@emotion/styled").StyledComponent<import("../types").WithoutEmotionSpecific<import("@mui/material").TooltipProps> & {
|
|
2
2
|
size?: "medium" | "small" | undefined;
|
|
3
3
|
} & {
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
package/esm/Tooltip/types.d.ts
CHANGED
package/esm/index.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ export * from './ListItemButton';
|
|
|
30
30
|
export * from './ListItemIcon';
|
|
31
31
|
export * from './ListItemSecondaryAction';
|
|
32
32
|
export * from './ListItemText';
|
|
33
|
-
export * from './ListProvider';
|
|
34
33
|
export * from './ListSubheader';
|
|
35
34
|
export * from './MaskField';
|
|
36
35
|
export * from './Menu';
|
|
@@ -61,3 +60,4 @@ export * from './SideDialogContentText';
|
|
|
61
60
|
export * from './Notification';
|
|
62
61
|
export * from './LocalizationProvider';
|
|
63
62
|
export * from './ContentState';
|
|
63
|
+
export * from './Chevron';
|
package/esm/index.js
CHANGED
|
@@ -30,7 +30,6 @@ export * from './ListItemButton';
|
|
|
30
30
|
export * from './ListItemIcon';
|
|
31
31
|
export * from './ListItemSecondaryAction';
|
|
32
32
|
export * from './ListItemText';
|
|
33
|
-
export * from './ListProvider';
|
|
34
33
|
export * from './ListSubheader';
|
|
35
34
|
export * from './MaskField';
|
|
36
35
|
export * from './Menu';
|
|
@@ -61,3 +60,4 @@ export * from './SideDialogContentText';
|
|
|
61
60
|
export * from './Notification';
|
|
62
61
|
export * from './LocalizationProvider';
|
|
63
62
|
export * from './ContentState';
|
|
63
|
+
export * from './Chevron';
|