@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.
- package/Autocomplete/Autocomplete.d.ts +9 -1
- package/Autocomplete/Autocomplete.js +4 -2
- package/Autocomplete/constants.d.ts +1 -0
- package/Autocomplete/constants.js +2 -1
- package/Autocomplete/index.d.ts +0 -1
- package/Autocomplete/index.js +0 -1
- 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/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/OverflowTypography/OverflowTypography.d.ts +24 -0
- package/OverflowTypography/OverflowTypography.js +40 -0
- package/OverflowTypography/hooks/useOverflowed/index.d.ts +1 -0
- package/OverflowTypography/hooks/useOverflowed/index.js +17 -0
- package/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +5 -0
- package/OverflowTypography/hooks/useOverflowed/useOverflowed.js +30 -0
- package/OverflowTypography/index.d.ts +1 -0
- package/OverflowTypography/index.js +17 -0
- package/OverflowTypography/styles.d.ts +17 -0
- package/OverflowTypography/styles.js +16 -0
- 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/Autocomplete/Autocomplete.d.ts +9 -1
- package/esm/Autocomplete/Autocomplete.js +4 -2
- package/esm/Autocomplete/constants.d.ts +1 -0
- package/esm/Autocomplete/constants.js +1 -0
- package/esm/Autocomplete/index.d.ts +0 -1
- package/esm/Autocomplete/index.js +0 -1
- 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/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/OverflowTypography/OverflowTypography.d.ts +24 -0
- package/esm/OverflowTypography/OverflowTypography.js +37 -0
- package/esm/OverflowTypography/hooks/useOverflowed/index.d.ts +1 -0
- package/esm/OverflowTypography/hooks/useOverflowed/index.js +1 -0
- package/esm/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +5 -0
- package/esm/OverflowTypography/hooks/useOverflowed/useOverflowed.js +23 -0
- package/esm/OverflowTypography/index.d.ts +1 -0
- package/esm/OverflowTypography/index.js +1 -0
- package/esm/OverflowTypography/styles.d.ts +17 -0
- package/esm/OverflowTypography/styles.js +13 -0
- 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/types.d.ts +1 -0
- package/esm/{Autocomplete/types.js → types.js} +0 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
- package/types.d.ts +1 -0
- package/{Autocomplete/types.js → types.js} +0 -0
- package/Autocomplete/types.d.ts +0 -7
- package/CircularProgress/types.d.ts +0 -11
- package/CircularProgress/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/Autocomplete/types.d.ts +0 -7
- package/esm/CircularProgress/types.d.ts +0 -11
- package/esm/CircularProgress/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
|
@@ -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,17 +0,0 @@
|
|
|
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 { Button } from '../Button';
|
|
7
|
-
export var DropdownButtonWrapper = styled(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) {
|
|
8
|
-
var selected = _a.selected;
|
|
9
|
-
return (selected ? '180deg' : '0');
|
|
10
|
-
}, function (_a) {
|
|
11
|
-
var theme = _a.theme;
|
|
12
|
-
return theme.transitions.create('transform', {
|
|
13
|
-
easing: theme.transitions.easing.easeOut,
|
|
14
|
-
duration: theme.transitions.duration.shorter,
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var templateObject_1;
|
package/esm/List/styled.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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 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) {
|
|
8
|
-
var theme = _a.theme;
|
|
9
|
-
return "".concat(theme.transitions.create('width', {
|
|
10
|
-
easing: theme.transitions.easing.easeOut,
|
|
11
|
-
duration: theme.transitions.duration.shortest,
|
|
12
|
-
}), " !important");
|
|
13
|
-
});
|
|
14
|
-
var templateObject_1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|