@astral/ui 0.2.6-beta.4 → 0.3.1-beta.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/cjs/src/CacheProvider/index.js +5 -0
- package/cjs/src/TextArea/TextArea.js +32 -0
- package/cjs/src/TextArea/index.js +14 -0
- package/cjs/src/TextArea/types.js +2 -0
- package/cjs/src/TextField/TextField.js +3 -4
- package/cjs/src/createCache/index.js +8 -0
- package/cjs/src/createEmotionServer/index.js +8 -0
- package/cjs/src/index.js +4 -8
- package/cjs/src/theme/components/MuiOutlinedInput.js +11 -0
- package/esm/src/CacheProvider/index.js +1 -0
- package/esm/src/TextArea/TextArea.js +29 -0
- package/esm/src/TextArea/index.js +2 -0
- package/esm/src/TextArea/types.js +1 -0
- package/esm/src/TextField/TextField.js +4 -4
- package/esm/src/createCache/index.js +1 -0
- package/esm/src/createEmotionServer/index.js +1 -0
- package/esm/src/index.js +4 -2
- package/esm/src/theme/components/MuiOutlinedInput.js +11 -0
- package/package.json +4 -3
- package/types/src/CacheProvider/index.d.ts +1 -0
- package/types/src/TextArea/TextArea.d.ts +3 -0
- package/types/src/TextArea/index.d.ts +2 -0
- package/types/src/TextArea/types.d.ts +2 -0
- package/types/src/TextField/TextField.d.ts +1 -1
- package/types/src/createCache/index.d.ts +1 -0
- package/types/src/createEmotionServer/index.d.ts +1 -0
- package/types/src/index.d.ts +4 -2
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CacheProvider = void 0;
|
|
4
|
+
var react_1 = require("@emotion/react");
|
|
5
|
+
Object.defineProperty(exports, "CacheProvider", { enumerable: true, get: function () { return react_1.CacheProvider; } });
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.TextArea = void 0;
|
|
26
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
+
var react_1 = require("react");
|
|
28
|
+
var TextField_1 = require("../TextField");
|
|
29
|
+
exports.TextArea = (0, react_1.forwardRef)(function (_a, ref) {
|
|
30
|
+
var _b = _a.rows, rows = _b === void 0 ? 7 : _b, props = __rest(_a, ["rows"]);
|
|
31
|
+
return (0, jsx_runtime_1.jsx)(TextField_1.TextField, __assign({ ref: ref, multiline: true, rows: rows }, props), void 0);
|
|
32
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./TextArea"), exports);
|
|
14
|
+
__exportStar(require("./types"), exports);
|
|
@@ -30,7 +30,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
30
30
|
var react_1 = require("react");
|
|
31
31
|
var TextField_1 = __importDefault(require("@mui/material/TextField"));
|
|
32
32
|
var FormHelperText_1 = require("../FormHelperText");
|
|
33
|
-
|
|
33
|
+
exports.TextField = (0, react_1.forwardRef)(function (props, ref) {
|
|
34
34
|
var variant = props.variant, success = props.success, error = props.error, colorProp = props.color, helperTextProp = props.helperText, restProps = __rest(props, ["variant", "success", "error", "color", "helperText"]);
|
|
35
35
|
var color = (0, react_1.useMemo)(function () {
|
|
36
36
|
if (success) {
|
|
@@ -47,7 +47,6 @@ var TextField = function (props) {
|
|
|
47
47
|
}
|
|
48
48
|
return helperTextProp;
|
|
49
49
|
}, [helperTextProp, success, error]);
|
|
50
|
-
return ((0, jsx_runtime_1.jsx)(TextField_1.default, __assign({ variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
|
|
51
|
-
};
|
|
52
|
-
exports.TextField = TextField;
|
|
50
|
+
return ((0, jsx_runtime_1.jsx)(TextField_1.default, __assign({ ref: ref, variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
|
|
51
|
+
});
|
|
53
52
|
exports.default = exports.TextField;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createCache = void 0;
|
|
7
|
+
var cache_1 = require("@emotion/cache");
|
|
8
|
+
Object.defineProperty(exports, "createCache", { enumerable: true, get: function () { return __importDefault(cache_1).default; } });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createEmotionServer = void 0;
|
|
7
|
+
var create_instance_1 = require("@emotion/server/create-instance");
|
|
8
|
+
Object.defineProperty(exports, "createEmotionServer", { enumerable: true, get: function () { return __importDefault(create_instance_1).default; } });
|
package/cjs/src/index.js
CHANGED
|
@@ -9,15 +9,10 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
-
};
|
|
15
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var react_1 = require("@emotion/react");
|
|
20
|
-
Object.defineProperty(exports, "CacheProvider", { enumerable: true, get: function () { return react_1.CacheProvider; } });
|
|
13
|
+
__exportStar(require("./createCache"), exports);
|
|
14
|
+
__exportStar(require("./createEmotionServer"), exports);
|
|
15
|
+
__exportStar(require("./CacheProvider"), exports);
|
|
21
16
|
__exportStar(require("./Button"), exports);
|
|
22
17
|
__exportStar(require("./ButtonBase"), exports);
|
|
23
18
|
__exportStar(require("./IconButton"), exports);
|
|
@@ -36,3 +31,4 @@ __exportStar(require("./TextField"), exports);
|
|
|
36
31
|
__exportStar(require("./FormHelperText"), exports);
|
|
37
32
|
__exportStar(require("./Grid"), exports);
|
|
38
33
|
__exportStar(require("./Tag"), exports);
|
|
34
|
+
__exportStar(require("./TextArea"), exports);
|
|
@@ -59,6 +59,17 @@ exports.MuiOutlinedInput = {
|
|
|
59
59
|
borderColor: theme.palette.grey[300],
|
|
60
60
|
};
|
|
61
61
|
},
|
|
62
|
+
multiline: function () {
|
|
63
|
+
return {
|
|
64
|
+
padding: 0,
|
|
65
|
+
};
|
|
66
|
+
},
|
|
67
|
+
inputMultiline: function (_a) {
|
|
68
|
+
var theme = _a.theme;
|
|
69
|
+
return {
|
|
70
|
+
padding: theme.spacing(2),
|
|
71
|
+
};
|
|
72
|
+
},
|
|
62
73
|
},
|
|
63
74
|
};
|
|
64
75
|
exports.default = exports.MuiOutlinedInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CacheProvider } from '@emotion/react';
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { TextField } from '../TextField';
|
|
26
|
+
export var TextArea = forwardRef(function (_a, ref) {
|
|
27
|
+
var _b = _a.rows, rows = _b === void 0 ? 7 : _b, props = __rest(_a, ["rows"]);
|
|
28
|
+
return _jsx(TextField, __assign({ ref: ref, multiline: true, rows: rows }, props), void 0);
|
|
29
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,10 +21,10 @@ 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 { useMemo } from 'react';
|
|
24
|
+
import { forwardRef, useMemo } from 'react';
|
|
25
25
|
import MuiTextField from '@mui/material/TextField';
|
|
26
26
|
import { FormHelperText } from '../FormHelperText';
|
|
27
|
-
export var TextField = function (props) {
|
|
27
|
+
export var TextField = forwardRef(function (props, ref) {
|
|
28
28
|
var variant = props.variant, success = props.success, error = props.error, colorProp = props.color, helperTextProp = props.helperText, restProps = __rest(props, ["variant", "success", "error", "color", "helperText"]);
|
|
29
29
|
var color = useMemo(function () {
|
|
30
30
|
if (success) {
|
|
@@ -41,6 +41,6 @@ export var TextField = function (props) {
|
|
|
41
41
|
}
|
|
42
42
|
return helperTextProp;
|
|
43
43
|
}, [helperTextProp, success, error]);
|
|
44
|
-
return (_jsx(MuiTextField, __assign({ variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
|
|
45
|
-
};
|
|
44
|
+
return (_jsx(MuiTextField, __assign({ ref: ref, variant: "outlined", error: error, color: color, helperText: helperText }, restProps), void 0));
|
|
45
|
+
});
|
|
46
46
|
export default TextField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as createCache } from '@emotion/cache';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as createEmotionServer } from '@emotion/server/create-instance';
|
package/esm/src/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './createCache';
|
|
2
|
+
export * from './createEmotionServer';
|
|
3
|
+
export * from './CacheProvider';
|
|
3
4
|
export * from './Button';
|
|
4
5
|
export * from './ButtonBase';
|
|
5
6
|
export * from './IconButton';
|
|
@@ -18,3 +19,4 @@ export * from './TextField';
|
|
|
18
19
|
export * from './FormHelperText';
|
|
19
20
|
export * from './Grid';
|
|
20
21
|
export * from './Tag';
|
|
22
|
+
export * from './TextArea';
|
|
@@ -56,6 +56,17 @@ export var MuiOutlinedInput = {
|
|
|
56
56
|
borderColor: theme.palette.grey[300],
|
|
57
57
|
};
|
|
58
58
|
},
|
|
59
|
+
multiline: function () {
|
|
60
|
+
return {
|
|
61
|
+
padding: 0,
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
inputMultiline: function (_a) {
|
|
65
|
+
var theme = _a.theme;
|
|
66
|
+
return {
|
|
67
|
+
padding: theme.spacing(2),
|
|
68
|
+
};
|
|
69
|
+
},
|
|
59
70
|
},
|
|
60
71
|
};
|
|
61
72
|
export default MuiOutlinedInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"jest": {
|
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@astral/icons": "^0.
|
|
13
|
-
"@emotion/cache": "
|
|
12
|
+
"@astral/icons": "^0.3.0",
|
|
13
|
+
"@emotion/cache": "11.7.1",
|
|
14
14
|
"@emotion/react": "11.5.0",
|
|
15
|
+
"@emotion/server": "11.4.0",
|
|
15
16
|
"@emotion/styled": "11.3.0",
|
|
16
17
|
"@mui/base": "5.0.0-alpha.66",
|
|
17
18
|
"@mui/lab": "5.0.0-alpha.65",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CacheProvider } from '@emotion/react';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TextAreaProps } from './types';
|
|
3
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<Pick<TextAreaProps, "disabled" | "focused" | "error" | "fullWidth" | "hiddenLabel" | "color" | "translate" | "margin" | "success" | "required" | "classes" | "className" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "sx" | "label" | "select" | "key" | "variant" | "autoComplete" | "autoFocus" | "inputProps" | "inputRef" | "name" | "rows" | "maxRows" | "minRows" | "size" | "type" | "value" | "SelectProps" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TextFieldProps } from './types';
|
|
3
|
-
export declare const TextField: (
|
|
3
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "focused" | "error" | "multiline" | "fullWidth" | "hiddenLabel" | "color" | "translate" | "margin" | "success" | "required" | "classes" | "className" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "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" | "children" | "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" | "sx" | "label" | "select" | "key" | "variant" | "autoComplete" | "autoFocus" | "inputProps" | "inputRef" | "name" | "rows" | "maxRows" | "minRows" | "size" | "type" | "value" | "SelectProps" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export default TextField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as createCache } from '@emotion/cache';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as createEmotionServer } from '@emotion/server/create-instance';
|
package/types/src/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './createCache';
|
|
2
|
+
export * from './createEmotionServer';
|
|
3
|
+
export * from './CacheProvider';
|
|
3
4
|
export * from './Button';
|
|
4
5
|
export * from './ButtonBase';
|
|
5
6
|
export * from './IconButton';
|
|
@@ -18,3 +19,4 @@ export * from './TextField';
|
|
|
18
19
|
export * from './FormHelperText';
|
|
19
20
|
export * from './Grid';
|
|
20
21
|
export * from './Tag';
|
|
22
|
+
export * from './TextArea';
|