@astral/ui 0.41.3 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/Autocomplete/Autocomplete.d.ts +9 -1
  2. package/Autocomplete/Autocomplete.js +4 -2
  3. package/Autocomplete/constants.d.ts +1 -0
  4. package/Autocomplete/constants.js +2 -1
  5. package/Autocomplete/index.d.ts +0 -1
  6. package/Autocomplete/index.js +0 -1
  7. package/Chevron/Chevron.d.ts +7 -0
  8. package/Chevron/Chevron.js +18 -0
  9. package/Chevron/index.d.ts +1 -0
  10. package/{ListProvider → Chevron}/index.js +1 -2
  11. package/Chevron/styles.d.ts +18 -0
  12. package/Chevron/styles.js +20 -0
  13. package/CircularProgress/CircularProgress.d.ts +19 -2
  14. package/CircularProgress/CircularProgress.js +2 -5
  15. package/CircularProgress/index.d.ts +0 -1
  16. package/CircularProgress/index.js +0 -1
  17. package/Collapse/Collapse.d.ts +3 -2
  18. package/Collapse/Collapse.js +17 -2
  19. package/Collapse/styles.d.ts +3 -0
  20. package/Collapse/styles.js +11 -0
  21. package/DropdownButton/DropdownButton.js +3 -3
  22. package/IconButton/IconButton.js +2 -2
  23. package/IconButton/{styled.d.ts → styles.d.ts} +0 -0
  24. package/IconButton/{styled.js → styles.js} +0 -0
  25. package/List/List.d.ts +1 -1
  26. package/List/List.js +3 -22
  27. package/List/{styled.d.ts → styles.d.ts} +0 -0
  28. package/List/styles.js +11 -0
  29. package/ListItemText/ListItemText.js +2 -5
  30. package/ListItemText/{styled.d.ts → styles.d.ts} +3 -3
  31. package/ListItemText/{styled.js → styles.js} +1 -10
  32. package/OverflowTypography/OverflowTypography.d.ts +24 -0
  33. package/OverflowTypography/OverflowTypography.js +40 -0
  34. package/OverflowTypography/hooks/useOverflowed/index.d.ts +1 -0
  35. package/OverflowTypography/hooks/useOverflowed/index.js +17 -0
  36. package/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +5 -0
  37. package/OverflowTypography/hooks/useOverflowed/useOverflowed.js +30 -0
  38. package/OverflowTypography/index.d.ts +1 -0
  39. package/OverflowTypography/index.js +17 -0
  40. package/OverflowTypography/styles.d.ts +17 -0
  41. package/OverflowTypography/styles.js +16 -0
  42. package/Profile/Profile.js +2 -1
  43. package/Profile/styled.d.ts +0 -18
  44. package/Profile/styled.js +2 -13
  45. package/Tooltip/Tooltip.d.ts +10 -2
  46. package/Tooltip/styled.d.ts +1 -1
  47. package/Tooltip/types.d.ts +0 -4
  48. package/esm/Autocomplete/Autocomplete.d.ts +9 -1
  49. package/esm/Autocomplete/Autocomplete.js +4 -2
  50. package/esm/Autocomplete/constants.d.ts +1 -0
  51. package/esm/Autocomplete/constants.js +1 -0
  52. package/esm/Autocomplete/index.d.ts +0 -1
  53. package/esm/Autocomplete/index.js +0 -1
  54. package/esm/Chevron/Chevron.d.ts +7 -0
  55. package/esm/Chevron/Chevron.js +14 -0
  56. package/esm/Chevron/index.d.ts +1 -0
  57. package/esm/Chevron/index.js +1 -0
  58. package/esm/Chevron/styles.d.ts +18 -0
  59. package/esm/Chevron/styles.js +17 -0
  60. package/esm/CircularProgress/CircularProgress.d.ts +19 -2
  61. package/esm/CircularProgress/CircularProgress.js +1 -1
  62. package/esm/CircularProgress/index.d.ts +0 -1
  63. package/esm/CircularProgress/index.js +0 -1
  64. package/esm/Collapse/Collapse.d.ts +3 -2
  65. package/esm/Collapse/Collapse.js +16 -2
  66. package/esm/Collapse/styles.d.ts +3 -0
  67. package/esm/Collapse/styles.js +8 -0
  68. package/esm/DropdownButton/DropdownButton.js +3 -3
  69. package/esm/IconButton/IconButton.js +1 -1
  70. package/esm/IconButton/{styled.d.ts → styles.d.ts} +0 -0
  71. package/esm/IconButton/{styled.js → styles.js} +0 -0
  72. package/esm/List/List.d.ts +1 -1
  73. package/esm/List/List.js +3 -19
  74. package/esm/List/{styled.d.ts → styles.d.ts} +0 -0
  75. package/esm/List/styles.js +8 -0
  76. package/esm/ListItemText/ListItemText.js +2 -5
  77. package/esm/ListItemText/{styled.d.ts → styles.d.ts} +3 -3
  78. package/esm/ListItemText/{styled.js → styles.js} +1 -10
  79. package/esm/OverflowTypography/OverflowTypography.d.ts +24 -0
  80. package/esm/OverflowTypography/OverflowTypography.js +37 -0
  81. package/esm/OverflowTypography/hooks/useOverflowed/index.d.ts +1 -0
  82. package/esm/OverflowTypography/hooks/useOverflowed/index.js +1 -0
  83. package/esm/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +5 -0
  84. package/esm/OverflowTypography/hooks/useOverflowed/useOverflowed.js +23 -0
  85. package/esm/OverflowTypography/index.d.ts +1 -0
  86. package/esm/OverflowTypography/index.js +1 -0
  87. package/esm/OverflowTypography/styles.d.ts +17 -0
  88. package/esm/OverflowTypography/styles.js +13 -0
  89. package/esm/Profile/Profile.js +3 -2
  90. package/esm/Profile/styled.d.ts +0 -18
  91. package/esm/Profile/styled.js +1 -12
  92. package/esm/Tooltip/Tooltip.d.ts +10 -2
  93. package/esm/Tooltip/styled.d.ts +1 -1
  94. package/esm/Tooltip/types.d.ts +0 -4
  95. package/esm/index.d.ts +1 -1
  96. package/esm/index.js +1 -1
  97. package/esm/types.d.ts +1 -0
  98. package/esm/{Autocomplete/types.js → types.js} +0 -0
  99. package/index.d.ts +1 -1
  100. package/index.js +1 -1
  101. package/package.json +2 -2
  102. package/types.d.ts +1 -0
  103. package/{Autocomplete/types.js → types.js} +0 -0
  104. package/Autocomplete/types.d.ts +0 -7
  105. package/CircularProgress/types.d.ts +0 -11
  106. package/CircularProgress/types.js +0 -2
  107. package/DropdownButton/styles.d.ts +0 -4
  108. package/DropdownButton/styles.js +0 -20
  109. package/List/styled.js +0 -17
  110. package/ListProvider/ListProvider.d.ts +0 -7
  111. package/ListProvider/ListProvider.js +0 -6
  112. package/ListProvider/index.d.ts +0 -2
  113. package/ListProvider/types.d.ts +0 -3
  114. package/ListProvider/types.js +0 -2
  115. package/esm/Autocomplete/types.d.ts +0 -7
  116. package/esm/CircularProgress/types.d.ts +0 -11
  117. package/esm/CircularProgress/types.js +0 -1
  118. package/esm/DropdownButton/styles.d.ts +0 -4
  119. package/esm/DropdownButton/styles.js +0 -17
  120. package/esm/List/styled.js +0 -14
  121. package/esm/ListProvider/ListProvider.d.ts +0 -7
  122. package/esm/ListProvider/ListProvider.js +0 -3
  123. package/esm/ListProvider/index.d.ts +0 -2
  124. package/esm/ListProvider/index.js +0 -2
  125. package/esm/ListProvider/types.d.ts +0 -3
  126. package/esm/ListProvider/types.js +0 -1
@@ -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
- } & ListItemTextProps<"span", "p"> & {
6
- open: boolean;
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\n opacity: ", ";\n\n transition: ", ";\n"], ["\n overflow: hidden;\n\n white-space: nowrap;\n text-align: left;\n text-overflow: ellipsis;\n\n opacity: ", ";\n\n transition: ", ";\n"])), function (_a) {
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;
@@ -0,0 +1,24 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TypographyProps } from '../Typography';
3
+ import { TooltipProps as BasicTooltipProps } from '../Tooltip';
4
+ declare type TooltipProps = Omit<BasicTooltipProps, 'ref'>;
5
+ export declare type OverflowedProps = {
6
+ /**
7
+ * @example <OverflowTypography rowsCount={2} />
8
+ * @default 1
9
+ * @description опорная единица по которой определяется максимиально отображаемое колличество строк
10
+ */
11
+ rowsCount?: number;
12
+ };
13
+ declare type TooltipCustomizable = {
14
+ /**
15
+ * @example <OverflowTypography tooltipProps={{placement: 'top-start'}} />
16
+ * @description способ кастомизировать тултип при необходимости
17
+ */
18
+ tooltipProps?: Omit<TooltipProps, 'children'>;
19
+ };
20
+ export declare type OverflowedElementProps = OverflowedProps & TooltipCustomizable & TypographyProps;
21
+ export declare type OverflowedTypographyProps = PropsWithChildren<OverflowedElementProps>;
22
+ export declare const DEFAULT_ROWS_COUNT = 1;
23
+ export declare const OverflowTypography: import("react").ForwardRefExoticComponent<Pick<OverflowedTypographyProps, "tabIndex" | "children" | "slot" | "title" | "key" | "css" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "typography" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "rowsCount" | "tooltipProps"> & import("react").RefAttributes<HTMLElement>>;
24
+ export {};
@@ -0,0 +1,37 @@
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
+ 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
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ import { forwardRef } from 'react';
25
+ import { Tooltip } from '../Tooltip';
26
+ import { OverflowTypographyWrapper } from './styles';
27
+ import { useOverflowed } from './hooks/useOverflowed';
28
+ export var DEFAULT_ROWS_COUNT = 1;
29
+ export var OverflowTypography = forwardRef(function (_a, forwardedRef) {
30
+ var tooltipProps = _a.tooltipProps, children = _a.children, _b = _a.rowsCount, rowsCount = _b === void 0 ? DEFAULT_ROWS_COUNT : _b, props = __rest(_a, ["tooltipProps", "children", "rowsCount"]);
31
+ var _c = useOverflowed(forwardedRef), ref = _c.ref, isOverflowed = _c.isOverflowed;
32
+ var typographyProps = __assign(__assign({}, props), { ref: ref, children: children, rowsCount: rowsCount });
33
+ if (children && isOverflowed) {
34
+ return (_jsx(Tooltip, __assign({ title: children, disableInteractive: true }, tooltipProps, { children: _jsx(OverflowTypographyWrapper, __assign({}, typographyProps)) })));
35
+ }
36
+ return _jsx(OverflowTypographyWrapper, __assign({}, typographyProps));
37
+ });
@@ -0,0 +1 @@
1
+ export * from './useOverflowed';
@@ -0,0 +1 @@
1
+ export * from './useOverflowed';
@@ -0,0 +1,5 @@
1
+ import { Ref } from 'react';
2
+ export declare const useOverflowed: (forwardedRef?: Ref<HTMLElement>) => {
3
+ isOverflowed: boolean;
4
+ ref: import("react").RefObject<HTMLElement>;
5
+ };
@@ -0,0 +1,23 @@
1
+ import { useCallback, useLayoutEffect, useMemo, useRef, useState, } from 'react';
2
+ import debounce from 'lodash-es/debounce';
3
+ export var useOverflowed = function (forwardedRef) {
4
+ var localRef = useRef(null);
5
+ var ref = forwardedRef && typeof forwardedRef !== 'function'
6
+ ? forwardedRef
7
+ : localRef;
8
+ var _a = useState(false), isOverflowed = _a[0], setOverflow = _a[1];
9
+ var handleResize = useCallback(debounce(function (_a) {
10
+ var _b = _a[0], target = _b.target, contentRect = _b.contentRect;
11
+ return setOverflow(contentRect.height < target.scrollHeight);
12
+ }, 500), []);
13
+ var resizeObserver = useMemo(function () { return new ResizeObserver(handleResize); }, []);
14
+ useLayoutEffect(function () {
15
+ if (ref === null || ref === void 0 ? void 0 : ref.current) {
16
+ var node_1 = ref.current;
17
+ resizeObserver.observe(node_1);
18
+ return function () { return resizeObserver.unobserve(node_1); };
19
+ }
20
+ return;
21
+ }, [ref.current]);
22
+ return { isOverflowed: isOverflowed, ref: ref };
23
+ };
@@ -0,0 +1 @@
1
+ export * from './OverflowTypography';
@@ -0,0 +1 @@
1
+ export * from './OverflowTypography';
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { OverflowedProps } from './OverflowTypography';
3
+ export declare const OverflowTypographyWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
4
+ align?: "inherit" | "left" | "right" | "center" | "justify" | undefined;
5
+ children?: import("react").ReactNode;
6
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
7
+ gutterBottom?: boolean | undefined;
8
+ noWrap?: boolean | undefined;
9
+ paragraph?: boolean | undefined;
10
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
11
+ variant?: "inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div" | undefined;
12
+ variantMapping?: Partial<Record<"inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div", string>> | undefined;
13
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | "css" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
14
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
15
+ }, "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "typography" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ } & Required<OverflowedProps>, {}, {}>;
@@ -0,0 +1,13 @@
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 { styled } from '../styles';
6
+ import { Typography } from '../Typography';
7
+ export var OverflowTypographyWrapper = styled(Typography, {
8
+ shouldForwardProp: function (name) { return name !== 'rowsCount'; },
9
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n -webkit-line-clamp: ", ";\n -webkit-box-orient: vertical;\n display: -webkit-box;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: initial;\n"], ["\n -webkit-line-clamp: ", ";\n -webkit-box-orient: vertical;\n display: -webkit-box;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: initial;\n"])), function (_a) {
10
+ var rowsCount = _a.rowsCount;
11
+ return rowsCount;
12
+ });
13
+ var templateObject_1;
@@ -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 { ProfileAnnotation, ProfileChevron, ProfileCredentials, ProfileDisplayName, ProfileRoot, ProfileUser, } from './styled';
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(ProfileChevron, { open: open })] })) })), _jsx(Menu, { open: open, anchorEl: anchorRef.current, onClose: handleCloseMenu })] }));
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;
@@ -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
- }, {}, {}>;
@@ -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
- export var ProfileChevron = styled(ChevronDOutlineMd)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n transform: ", ";\n\n transition: ", ";\n"], ["\n transform: ", ";\n\n transition: ", ";\n"])), function (_a) {
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;
@@ -1,3 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { TooltipProps } from './types';
3
- 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" | "sx" | "open" | "onClose" | "TransitionComponent" | "TransitionProps" | "placement" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "followCursor" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps"> & import("react").RefAttributes<HTMLDivElement>>;
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>>;
@@ -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;
@@ -1,6 +1,2 @@
1
- import { TooltipProps as MuiTooltipProps } from '@mui/material/Tooltip';
2
1
  import { TooltipSizes } from './constants';
3
2
  export declare type TooltipSize = `${TooltipSizes}`;
4
- export declare type TooltipProps = MuiTooltipProps & {
5
- size?: TooltipSize;
6
- };
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';
package/esm/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare type WithoutEmotionSpecific<Props> = Omit<Props, 'sx' | 'css'>;
File without changes
package/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/index.js CHANGED
@@ -46,7 +46,6 @@ __exportStar(require("./ListItemButton"), exports);
46
46
  __exportStar(require("./ListItemIcon"), exports);
47
47
  __exportStar(require("./ListItemSecondaryAction"), exports);
48
48
  __exportStar(require("./ListItemText"), exports);
49
- __exportStar(require("./ListProvider"), exports);
50
49
  __exportStar(require("./ListSubheader"), exports);
51
50
  __exportStar(require("./MaskField"), exports);
52
51
  __exportStar(require("./Menu"), exports);
@@ -77,3 +76,4 @@ __exportStar(require("./SideDialogContentText"), exports);
77
76
  __exportStar(require("./Notification"), exports);
78
77
  __exportStar(require("./LocalizationProvider"), exports);
79
78
  __exportStar(require("./ContentState"), exports);
79
+ __exportStar(require("./Chevron"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "0.41.3",
3
+ "version": "0.43.0",
4
4
  "browser": "./src/index.ts",
5
5
  "jest": {
6
6
  "moduleNameMapper": {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@astral/icons": "^0.41.3",
11
+ "@astral/icons": "^0.43.0",
12
12
  "@emotion/cache": "11.7.1",
13
13
  "@emotion/react": "11.9.0",
14
14
  "@emotion/server": "11.4.0",
package/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare type WithoutEmotionSpecific<Props> = Omit<Props, 'sx' | 'css'>;
File without changes
@@ -1,7 +0,0 @@
1
- import { AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
2
- import { TextFieldProps } from '../TextField';
3
- import { AutocompleteSizes } from './constants';
4
- export declare type AutocompleteSize = `${AutocompleteSizes}`;
5
- export declare type AutocompleteProps<AutocompleteValueProps, Multiple extends boolean, DisableClearable extends boolean, FreeSolo extends boolean> = Omit<MuiAutocompleteProps<AutocompleteValueProps, Multiple, DisableClearable, FreeSolo>, 'size' | 'renderInput'> & Pick<TextFieldProps, 'error' | 'success' | 'helperText' | 'label'> & {
6
- size?: AutocompleteSize;
7
- };
@@ -1,11 +0,0 @@
1
- import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
2
- declare module '@mui/material/CircularProgress' {
3
- interface CircularProgressPropsColorOverrides {
4
- primary: true;
5
- inverted: true;
6
- }
7
- }
8
- export declare type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'size'> & {
9
- color?: 'primary' | 'inverted';
10
- size?: 'small' | 'medium';
11
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DropdownButtonWrapper: import("@emotion/styled").StyledComponent<Pick<import("../Button").ButtonProps, "disabled" | "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" | "variant" | "size" | "component" | "selected" | 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
- }, {}, {}>;
@@ -1,20 +0,0 @@
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.DropdownButtonWrapper = void 0;
8
- var styles_1 = require("../styles");
9
- var Button_1 = require("../Button");
10
- exports.DropdownButtonWrapper = (0, styles_1.styled)(Button_1.Button)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .MuiButton-endIcon {\n transform: rotate(", ");\n\n transition: ", ";\n }\n"], ["\n .MuiButton-endIcon {\n transform: rotate(", ");\n\n transition: ", ";\n }\n"])), function (_a) {
11
- var selected = _a.selected;
12
- return (selected ? '180deg' : '0');
13
- }, function (_a) {
14
- var theme = _a.theme;
15
- return theme.transitions.create('transform', {
16
- easing: theme.transitions.easing.easeOut,
17
- duration: theme.transitions.duration.shorter,
18
- });
19
- });
20
- var templateObject_1;
package/List/styled.js DELETED
@@ -1,17 +0,0 @@
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.StyledList = void 0;
8
- var material_1 = require("@mui/material");
9
- var styles_1 = require("../styles");
10
- exports.StyledList = (0, styles_1.styled)(material_1.List)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n\n .MuiCollapse-root {\n transition: ", ";\n }\n\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n"], ["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n\n .MuiCollapse-root {\n transition: ", ";\n }\n\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n"])), function (_a) {
11
- var theme = _a.theme;
12
- return "".concat(theme.transitions.create('width', {
13
- easing: theme.transitions.easing.easeOut,
14
- duration: theme.transitions.duration.shortest,
15
- }), " !important");
16
- });
17
- var templateObject_1;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ListContext: import("react").Context<{
3
- open: boolean;
4
- }>;
5
- export declare const ListProvider: import("react").Provider<{
6
- open: boolean;
7
- }>;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListProvider = exports.ListContext = void 0;
4
- var react_1 = require("react");
5
- exports.ListContext = (0, react_1.createContext)({ open: true });
6
- exports.ListProvider = exports.ListContext.Provider;
@@ -1,2 +0,0 @@
1
- export * from './ListProvider';
2
- export * from './types';
@@ -1,3 +0,0 @@
1
- export declare type ListContextType = {
2
- open: boolean;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import { AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
2
- import { TextFieldProps } from '../TextField';
3
- import { AutocompleteSizes } from './constants';
4
- export declare type AutocompleteSize = `${AutocompleteSizes}`;
5
- export declare type AutocompleteProps<AutocompleteValueProps, Multiple extends boolean, DisableClearable extends boolean, FreeSolo extends boolean> = Omit<MuiAutocompleteProps<AutocompleteValueProps, Multiple, DisableClearable, FreeSolo>, 'size' | 'renderInput'> & Pick<TextFieldProps, 'error' | 'success' | 'helperText' | 'label'> & {
6
- size?: AutocompleteSize;
7
- };
@@ -1,11 +0,0 @@
1
- import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
2
- declare module '@mui/material/CircularProgress' {
3
- interface CircularProgressPropsColorOverrides {
4
- primary: true;
5
- inverted: true;
6
- }
7
- }
8
- export declare type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'size'> & {
9
- color?: 'primary' | 'inverted';
10
- size?: 'small' | 'medium';
11
- };
@@ -1 +0,0 @@
1
- export {};