@astral/ui 0.7.1 → 0.8.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.
Files changed (155) hide show
  1. package/Autocomplete/Autocomplete.js +1 -1
  2. package/Badge/styled.d.ts +1 -1
  3. package/Collapse/Collapse.d.ts +3 -0
  4. package/Collapse/Collapse.js +5 -0
  5. package/Collapse/index.d.ts +1 -0
  6. package/Collapse/index.js +13 -0
  7. package/Divider/Divider.d.ts +3 -0
  8. package/Divider/Divider.js +5 -0
  9. package/Divider/index.d.ts +1 -0
  10. package/Divider/index.js +13 -0
  11. package/FormHelperText/styled.d.ts +6 -6
  12. package/Grid/styled.d.ts +1 -1
  13. package/List/List.d.ts +3 -0
  14. package/List/List.js +5 -0
  15. package/List/index.d.ts +1 -0
  16. package/List/index.js +13 -0
  17. package/List/styled.d.ts +13 -0
  18. package/List/styled.js +11 -0
  19. package/ListItem/ListItem.d.ts +3 -0
  20. package/ListItem/ListItem.js +32 -0
  21. package/ListItem/constants.d.ts +5 -0
  22. package/ListItem/constants.js +9 -0
  23. package/ListItem/index.d.ts +1 -0
  24. package/ListItem/index.js +13 -0
  25. package/ListItem/styled.d.ts +39 -0
  26. package/ListItem/styled.js +50 -0
  27. package/ListItem/types.d.ts +2 -0
  28. package/ListItem/types.js +2 -0
  29. package/ListItemAvatar/ListItemAvatar.d.ts +3 -0
  30. package/ListItemAvatar/ListItemAvatar.js +5 -0
  31. package/ListItemAvatar/index.d.ts +1 -0
  32. package/ListItemAvatar/index.js +13 -0
  33. package/ListItemButton/ListItemButton.d.ts +3 -0
  34. package/ListItemButton/ListItemButton.js +32 -0
  35. package/ListItemButton/constants.d.ts +5 -0
  36. package/ListItemButton/constants.js +9 -0
  37. package/ListItemButton/index.d.ts +1 -0
  38. package/ListItemButton/index.js +13 -0
  39. package/ListItemButton/styled.d.ts +35 -0
  40. package/ListItemButton/styled.js +46 -0
  41. package/ListItemButton/types.d.ts +2 -0
  42. package/ListItemButton/types.js +2 -0
  43. package/ListItemIcon/ListItemIcon.d.ts +3 -0
  44. package/ListItemIcon/ListItemIcon.js +32 -0
  45. package/ListItemIcon/index.d.ts +1 -0
  46. package/ListItemIcon/index.js +13 -0
  47. package/ListItemIcon/styled.d.ts +4 -0
  48. package/ListItemIcon/styled.js +14 -0
  49. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +3 -0
  50. package/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -0
  51. package/ListItemSecondaryAction/index.d.ts +1 -0
  52. package/ListItemSecondaryAction/index.js +13 -0
  53. package/ListItemText/ListItemText.d.ts +3 -0
  54. package/ListItemText/ListItemText.js +32 -0
  55. package/ListItemText/index.d.ts +1 -0
  56. package/ListItemText/index.js +13 -0
  57. package/ListSubheader/ListSubheader.d.ts +3 -0
  58. package/ListSubheader/ListSubheader.js +5 -0
  59. package/ListSubheader/index.d.ts +1 -0
  60. package/ListSubheader/index.js +13 -0
  61. package/MenuList/styled.d.ts +1 -1
  62. package/Radio/Radio.d.ts +1 -1
  63. package/Select/styled.d.ts +1 -1
  64. package/Tag/Tag.d.ts +1 -1
  65. package/Tag/Tag.js +3 -2
  66. package/Tag/constants.d.ts +0 -4
  67. package/Tag/constants.js +1 -6
  68. package/Tag/styled.d.ts +1 -1
  69. package/Tag/styled.js +20 -5
  70. package/Tag/types.d.ts +2 -4
  71. package/TextArea/TextArea.d.ts +1 -1
  72. package/TextField/TextField.d.ts +1 -1
  73. package/Tooltip/Tooltip.d.ts +1 -1
  74. package/esm/Autocomplete/Autocomplete.js +1 -1
  75. package/esm/Badge/styled.d.ts +1 -1
  76. package/esm/Collapse/Collapse.d.ts +3 -0
  77. package/esm/Collapse/Collapse.js +2 -0
  78. package/esm/Collapse/index.d.ts +1 -0
  79. package/esm/Collapse/index.js +1 -0
  80. package/esm/Divider/Divider.d.ts +3 -0
  81. package/esm/Divider/Divider.js +2 -0
  82. package/esm/Divider/index.d.ts +1 -0
  83. package/esm/Divider/index.js +1 -0
  84. package/esm/FormHelperText/styled.d.ts +6 -6
  85. package/esm/Grid/styled.d.ts +1 -1
  86. package/esm/List/List.d.ts +3 -0
  87. package/esm/List/List.js +1 -0
  88. package/esm/List/index.d.ts +1 -0
  89. package/esm/List/index.js +1 -0
  90. package/esm/List/styled.d.ts +13 -0
  91. package/esm/List/styled.js +8 -0
  92. package/esm/ListItem/ListItem.d.ts +3 -0
  93. package/esm/ListItem/ListItem.js +28 -0
  94. package/esm/ListItem/constants.d.ts +5 -0
  95. package/esm/ListItem/constants.js +6 -0
  96. package/esm/ListItem/index.d.ts +1 -0
  97. package/esm/ListItem/index.js +1 -0
  98. package/esm/ListItem/styled.d.ts +39 -0
  99. package/esm/ListItem/styled.js +45 -0
  100. package/esm/ListItem/types.d.ts +2 -0
  101. package/esm/ListItem/types.js +1 -0
  102. package/esm/ListItemAvatar/ListItemAvatar.d.ts +3 -0
  103. package/esm/ListItemAvatar/ListItemAvatar.js +2 -0
  104. package/esm/ListItemAvatar/index.d.ts +1 -0
  105. package/esm/ListItemAvatar/index.js +1 -0
  106. package/esm/ListItemButton/ListItemButton.d.ts +3 -0
  107. package/esm/ListItemButton/ListItemButton.js +28 -0
  108. package/esm/ListItemButton/constants.d.ts +5 -0
  109. package/esm/ListItemButton/constants.js +6 -0
  110. package/esm/ListItemButton/index.d.ts +1 -0
  111. package/esm/ListItemButton/index.js +1 -0
  112. package/esm/ListItemButton/styled.d.ts +35 -0
  113. package/esm/ListItemButton/styled.js +41 -0
  114. package/esm/ListItemButton/types.d.ts +2 -0
  115. package/esm/ListItemButton/types.js +1 -0
  116. package/esm/ListItemIcon/ListItemIcon.d.ts +3 -0
  117. package/esm/ListItemIcon/ListItemIcon.js +28 -0
  118. package/esm/ListItemIcon/index.d.ts +1 -0
  119. package/esm/ListItemIcon/index.js +1 -0
  120. package/esm/ListItemIcon/styled.d.ts +4 -0
  121. package/esm/ListItemIcon/styled.js +11 -0
  122. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +3 -0
  123. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -0
  124. package/esm/ListItemSecondaryAction/index.d.ts +1 -0
  125. package/esm/ListItemSecondaryAction/index.js +1 -0
  126. package/esm/ListItemText/ListItemText.d.ts +3 -0
  127. package/esm/ListItemText/ListItemText.js +28 -0
  128. package/esm/ListItemText/index.d.ts +1 -0
  129. package/esm/ListItemText/index.js +1 -0
  130. package/esm/ListSubheader/ListSubheader.d.ts +3 -0
  131. package/esm/ListSubheader/ListSubheader.js +2 -0
  132. package/esm/ListSubheader/index.d.ts +1 -0
  133. package/esm/ListSubheader/index.js +1 -0
  134. package/esm/MenuList/styled.d.ts +1 -1
  135. package/esm/Radio/Radio.d.ts +1 -1
  136. package/esm/Select/styled.d.ts +1 -1
  137. package/esm/Tag/Tag.d.ts +1 -1
  138. package/esm/Tag/Tag.js +3 -2
  139. package/esm/Tag/constants.d.ts +0 -4
  140. package/esm/Tag/constants.js +0 -5
  141. package/esm/Tag/styled.d.ts +1 -1
  142. package/esm/Tag/styled.js +20 -5
  143. package/esm/Tag/types.d.ts +2 -4
  144. package/esm/TextArea/TextArea.d.ts +1 -1
  145. package/esm/TextField/TextField.d.ts +1 -1
  146. package/esm/Tooltip/Tooltip.d.ts +1 -1
  147. package/esm/theme/components/MuiAutocomplete.js +49 -4
  148. package/esm/theme/components/MuiButtonBase.d.ts +3 -0
  149. package/esm/theme/components/MuiButtonBase.js +5 -0
  150. package/esm/theme/components/components.js +2 -0
  151. package/package.json +2 -2
  152. package/theme/components/MuiAutocomplete.js +49 -4
  153. package/theme/components/MuiButtonBase.d.ts +3 -0
  154. package/theme/components/MuiButtonBase.js +8 -0
  155. package/theme/components/components.js +2 -0
@@ -0,0 +1,35 @@
1
+ /// <reference types="react" />
2
+ import { Theme } from '../theme';
3
+ import { ListItemButtonStates } from './constants';
4
+ import { ListItemButtonProps } from './types';
5
+ declare type StyledListItemButtonThemeProps = ListItemButtonProps & {
6
+ theme: Theme;
7
+ };
8
+ export declare const getBgColor: ({ selected, theme, }: StyledListItemButtonThemeProps) => string;
9
+ export declare const getColor: ({ theme, selected, listItemButtonState, }: ListItemButtonProps & {
10
+ theme: Theme;
11
+ } & {
12
+ listItemButtonState: ListItemButtonStates;
13
+ }) => string;
14
+ export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonBaseProps & Omit<{
15
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
16
+ centerRipple?: boolean | undefined;
17
+ children?: import("react").ReactNode;
18
+ classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
19
+ disabled?: boolean | undefined;
20
+ disableRipple?: boolean | undefined;
21
+ disableTouchRipple?: boolean | undefined;
22
+ focusRipple?: boolean | undefined;
23
+ focusVisibleClassName?: string | undefined;
24
+ LinkComponent?: import("react").ElementType<any> | undefined;
25
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
26
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
27
+ tabIndex?: number | undefined;
28
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
29
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
30
+ }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
31
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
32
+ }, "disabled" | "className" | "style" | "classes" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "alignItems" | "divider" | "dense" | "selected" | "disableGutters"> & {
33
+ theme?: import("@emotion/react").Theme | undefined;
34
+ } & ListItemButtonProps, {}, {}>;
35
+ export {};
@@ -0,0 +1,46 @@
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
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.StyledListItemButton = exports.getColor = exports.getBgColor = void 0;
19
+ var material_1 = require("@mui/material");
20
+ var styles_1 = require("../styles");
21
+ var constants_1 = require("./constants");
22
+ var getBgColor = function (_a) {
23
+ var selected = _a.selected, theme = _a.theme;
24
+ if (selected)
25
+ return theme.palette.grey[100];
26
+ return 'transparent';
27
+ };
28
+ exports.getBgColor = getBgColor;
29
+ var getColor = function (_a) {
30
+ var theme = _a.theme, selected = _a.selected, listItemButtonState = _a.listItemButtonState;
31
+ if (listItemButtonState === constants_1.ListItemButtonStates.DEFAULT)
32
+ return theme.palette.grey[900];
33
+ if (listItemButtonState === constants_1.ListItemButtonStates.HOVER || selected)
34
+ return theme.palette.primary[800];
35
+ return theme.palette.grey[900];
36
+ };
37
+ exports.getColor = getColor;
38
+ exports.StyledListItemButton = (0, styles_1.styled)(material_1.ListItemButton)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n cursor: pointer;\n user-select: none;\n border-radius: ", ";\n color: ", ";\n :hover {\n color: ", ";\n }\n"], ["\n background-color: ", ";\n cursor: pointer;\n user-select: none;\n border-radius: ", ";\n color: ", ";\n :hover {\n color: ", ";\n }\n"])), function (props) { return (0, exports.getBgColor)(__assign({}, props)); }, function (_a) {
39
+ var theme = _a.theme;
40
+ return theme.shape.small;
41
+ }, function (props) {
42
+ return (0, exports.getColor)(__assign(__assign({}, props), { listItemButtonState: constants_1.ListItemButtonStates.DEFAULT }));
43
+ }, function (props) {
44
+ return (0, exports.getColor)(__assign(__assign({}, props), { listItemButtonState: constants_1.ListItemButtonStates.HOVER }));
45
+ });
46
+ var templateObject_1;
@@ -0,0 +1,2 @@
1
+ import { ListItemButtonProps as MuiListItemButtonProps } from '@mui/material/ListItemButton/ListItemButton';
2
+ export declare type ListItemButtonProps = Omit<MuiListItemButtonProps, 'disableRipple'>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { ListItemIconProps } from '@mui/material';
3
+ export declare const ListItemIcon: ({ ...props }: ListItemIconProps) => JSX.Element;
@@ -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.ListItemIcon = void 0;
26
+ var jsx_runtime_1 = require("react/jsx-runtime");
27
+ var styled_1 = require("./styled");
28
+ var ListItemIcon = function (_a) {
29
+ var props = __rest(_a, []);
30
+ return (0, jsx_runtime_1.jsx)(styled_1.StyledListItemIcon, __assign({}, props), void 0);
31
+ };
32
+ exports.ListItemIcon = ListItemIcon;
@@ -0,0 +1 @@
1
+ export * from './ListItemIcon';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./ListItemIcon"), exports);
@@ -0,0 +1,4 @@
1
+ import { ListItemIconProps } from '@mui/material';
2
+ export declare const StyledListItemIcon: import("@emotion/styled").StyledComponent<ListItemIconProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ }, {}, {}>;
@@ -0,0 +1,14 @@
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.StyledListItemIcon = void 0;
8
+ var material_1 = require("@mui/material");
9
+ var styles_1 = require("../styles");
10
+ exports.StyledListItemIcon = (0, styles_1.styled)(material_1.ListItemIcon)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.palette.primary[800];
13
+ });
14
+ var templateObject_1;
@@ -0,0 +1,3 @@
1
+ import { ListItemSecondaryAction, ListItemSecondaryActionProps } from '@mui/material';
2
+ export { ListItemSecondaryAction };
3
+ export type { ListItemSecondaryActionProps };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListItemSecondaryAction = void 0;
4
+ var material_1 = require("@mui/material");
5
+ Object.defineProperty(exports, "ListItemSecondaryAction", { enumerable: true, get: function () { return material_1.ListItemSecondaryAction; } });
@@ -0,0 +1 @@
1
+ export * from './ListItemSecondaryAction';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./ListItemSecondaryAction"), exports);
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { ListItemTextProps } from '@mui/material';
3
+ export declare const ListItemText: ({ ...props }: ListItemTextProps) => JSX.Element;
@@ -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.ListItemText = void 0;
26
+ var jsx_runtime_1 = require("react/jsx-runtime");
27
+ var material_1 = require("@mui/material");
28
+ var ListItemText = function (_a) {
29
+ var props = __rest(_a, []);
30
+ return (0, jsx_runtime_1.jsx)(material_1.ListItemText, __assign({}, props), void 0);
31
+ };
32
+ exports.ListItemText = ListItemText;
@@ -0,0 +1 @@
1
+ export * from './ListItemText';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./ListItemText"), exports);
@@ -0,0 +1,3 @@
1
+ import { ListSubheader, ListSubheaderProps } from '@mui/material';
2
+ export { ListSubheader };
3
+ export type { ListSubheaderProps };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListSubheader = void 0;
4
+ var material_1 = require("@mui/material");
5
+ Object.defineProperty(exports, "ListSubheader", { enumerable: true, get: function () { return material_1.ListSubheader; } });
@@ -0,0 +1 @@
1
+ export * from './ListSubheader';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./ListSubheader"), exports);
@@ -15,6 +15,6 @@ export declare const StyledMenuList: import("@emotion/styled").StyledComponent<{
15
15
  sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
16
16
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "key" | keyof import("react").HTMLAttributes<HTMLUListElement>> & {
17
17
  ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
18
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "autoFocus" | "dense" | "subheader" | "disablePadding" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap"> & {
18
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "autoFocus" | "variant" | "dense" | "subheader" | "disablePadding" | "autoFocusItem" | "disabledItemsFocusable" | "disableListWrap"> & {
19
19
  theme?: import("@emotion/react").Theme | undefined;
20
20
  }, {}, {}>;
package/Radio/Radio.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { RadioProps } from './types';
3
- export declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "disabled" | "translate" | "action" | "required" | "classes" | "className" | "style" | "form" | "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" | "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" | "key" | "autoFocus" | "inputProps" | "inputRef" | "name" | "readOnly" | "value" | "checkedIcon" | "icon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "disableFocusRipple" | "edge"> & React.RefAttributes<HTMLButtonElement>>;
3
+ export declare const Radio: React.ForwardRefExoticComponent<Pick<RadioProps, "disabled" | "className" | "style" | "classes" | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "required" | "inputProps" | "inputRef" | "readOnly" | "checkedIcon" | "icon" | "checked" | "disableFocusRipple" | "edge"> & React.RefAttributes<HTMLButtonElement>>;
4
4
  export default Radio;
@@ -34,6 +34,6 @@ export declare const Placeholder: import("@emotion/styled").StyledComponent<{
34
34
  touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
35
35
  }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof import("react").LiHTMLAttributes<HTMLLIElement>> & {
36
36
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
37
- }, "disabled" | "divider" | "action" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "sx" | "autoFocus" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "selected" | "disableGutters"> & {
37
+ }, "disabled" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "divider" | "dense" | "selected" | "disableGutters"> & {
38
38
  theme?: import("@emotion/react").Theme | undefined;
39
39
  }, {}, {}>;
package/Tag/Tag.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { TagProps } from './types';
3
- export declare const Tag: ({ color, variant, ...props }: TagProps) => JSX.Element;
3
+ export declare const Tag: ({ color, variant, deleteIcon, ...props }: TagProps) => JSX.Element;
package/Tag/Tag.js CHANGED
@@ -24,9 +24,10 @@ var __rest = (this && this.__rest) || function (s, e) {
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.Tag = void 0;
26
26
  var jsx_runtime_1 = require("react/jsx-runtime");
27
+ var icons_1 = require("@astral/icons");
27
28
  var styled_1 = require("./styled");
28
29
  var Tag = function (_a) {
29
- var color = _a.color, variant = _a.variant, props = __rest(_a, ["color", "variant"]);
30
- return (0, jsx_runtime_1.jsx)(styled_1.StyledTag, __assign({ customColor: color, customVariant: variant }, props), void 0);
30
+ var color = _a.color, variant = _a.variant, deleteIcon = _a.deleteIcon, props = __rest(_a, ["color", "variant", "deleteIcon"]);
31
+ return ((0, jsx_runtime_1.jsx)(styled_1.StyledTag, __assign({ customColor: color, customVariant: variant }, props, { deleteIcon: deleteIcon ? deleteIcon : (0, jsx_runtime_1.jsx)(icons_1.CrossSmOutlineSm, {}, void 0) }), void 0));
31
32
  };
32
33
  exports.Tag = Tag;
@@ -10,10 +10,6 @@ export declare enum TagVariants {
10
10
  CONTAINED = "contained",
11
11
  LIGHT = "light"
12
12
  }
13
- export declare enum TagSizes {
14
- MEDIUM = "medium",
15
- SMALL = "small"
16
- }
17
13
  export declare enum TagStates {
18
14
  DEFAULT = "default",
19
15
  HOVER = "hover",
package/Tag/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagStates = exports.TagSizes = exports.TagVariants = exports.TagColors = void 0;
3
+ exports.TagStates = exports.TagVariants = exports.TagColors = void 0;
4
4
  var TagColors;
5
5
  (function (TagColors) {
6
6
  TagColors["DEFAULT"] = "default";
@@ -15,11 +15,6 @@ var TagVariants;
15
15
  TagVariants["CONTAINED"] = "contained";
16
16
  TagVariants["LIGHT"] = "light";
17
17
  })(TagVariants = exports.TagVariants || (exports.TagVariants = {}));
18
- var TagSizes;
19
- (function (TagSizes) {
20
- TagSizes["MEDIUM"] = "medium";
21
- TagSizes["SMALL"] = "small";
22
- })(TagSizes = exports.TagSizes || (exports.TagSizes = {}));
23
18
  var TagStates;
24
19
  (function (TagStates) {
25
20
  TagStates["DEFAULT"] = "default";
package/Tag/styled.d.ts CHANGED
@@ -16,7 +16,7 @@ export declare const StyledTag: import("@emotion/styled").StyledComponent<{
16
16
  variant?: "filled" | "outlined" | undefined;
17
17
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
18
18
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
- }, "disabled" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "label" | "variant" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & {
19
+ }, "disabled" | keyof import("@mui/material/OverridableComponent").CommonProps | "label" | "color" | "children" | "sx" | "variant" | "size" | "icon" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & {
20
20
  theme?: import("@emotion/react").Theme | undefined;
21
21
  } & Omit<TagProps, "color"> & {
22
22
  customColor?: "primary" | "default" | "error" | "grey" | "warning" | "success" | undefined;
package/Tag/styled.js CHANGED
@@ -32,7 +32,10 @@ var getDeleteIconBorderRadius = function (_a) {
32
32
  return "0 ".concat(theme.shape.small, " ").concat(theme.shape.small, " 0");
33
33
  };
34
34
  var getBgColor = function (_a) {
35
- var theme = _a.theme, customColor = _a.customColor, customVariant = _a.customVariant;
35
+ var theme = _a.theme, customColor = _a.customColor, customVariant = _a.customVariant, onDelete = _a.onDelete;
36
+ if (onDelete) {
37
+ return theme.palette.grey[100];
38
+ }
36
39
  if (customColor === constants_1.TagColors.GREY) {
37
40
  return theme.palette.grey[100];
38
41
  }
@@ -61,7 +64,10 @@ var getBgColor = function (_a) {
61
64
  return theme.palette.background.element;
62
65
  };
63
66
  var getColor = function (_a) {
64
- var theme = _a.theme, customColor = _a.customColor, customVariant = _a.customVariant;
67
+ var theme = _a.theme, customColor = _a.customColor, customVariant = _a.customVariant, onDelete = _a.onDelete;
68
+ if (onDelete) {
69
+ return theme.palette.grey[900];
70
+ }
65
71
  var textColorVariants = {
66
72
  contained: {
67
73
  primary: theme.palette.primary.contrastText,
@@ -79,7 +85,7 @@ var getColor = function (_a) {
79
85
  },
80
86
  };
81
87
  if (!customColor) {
82
- return textColorVariants.contained.primary;
88
+ return textColorVariants.contained.default;
83
89
  }
84
90
  if (customVariant && customColor) {
85
91
  return textColorVariants[customVariant][customColor];
@@ -108,16 +114,25 @@ exports.StyledTag = (0, styles_1.styled)(material_1.Chip, {
108
114
  shouldForwardProp: function (prop) {
109
115
  return prop !== 'customColor' && prop !== 'customVariant' && prop !== 'rounded';
110
116
  },
111
- })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"], ["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n &:active {\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"])), function (props) { return getShape(__assign({}, props)); }, function (props) {
117
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n color: ", ";\n background: ", ";\n\n &:hover {\n color: ", ";\n background: ", ";\n }\n &:active {\n color: ", ";\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"], ["\n user-select: none;\n font-size: 14px;\n height: 20px;\n border-radius: ", ";\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:active {\n background-color: ", ";\n color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n &:active {\n color: ", ";\n }\n }\n .MuiChip-deleteIcon {\n margin: 0;\n width: 20px;\n height: 20px;\n border-radius: ", ";\n color: ", ";\n background: ", ";\n\n &:hover {\n color: ", ";\n background: ", ";\n }\n &:active {\n color: ", ";\n background: ", ";\n }\n }\n .MuiChip-avatar {\n margin: 2px;\n width: 16px;\n height: 16px;\n }\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"])), function (props) { return getShape(__assign({}, props)); }, function (props) {
112
118
  return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.DEFAULT }));
113
119
  }, function (props) {
114
120
  return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER }));
115
121
  }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER })); }, function (props) {
116
122
  return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE }));
117
- }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE })); }, function (props) { return getTagLabelPadding(__assign({}, props)); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.DEFAULT })); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER })); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE })); }, function (props) { return getDeleteIconBorderRadius(__assign({}, props)); }, function (props) {
123
+ }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE })); }, function (props) { return getTagLabelPadding(__assign({}, props)); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.DEFAULT })); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER })); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE })); }, function (props) { return getDeleteIconBorderRadius(__assign({}, props)); }, function (_a) {
124
+ var theme = _a.theme;
125
+ return theme.palette.grey[800];
126
+ }, function (props) {
118
127
  return getDeleteIconBgColor(__assign(__assign({}, props), { iconState: constants_1.TagStates.DEFAULT }));
128
+ }, function (_a) {
129
+ var theme = _a.theme;
130
+ return theme.palette.grey[800];
119
131
  }, function (props) {
120
132
  return getDeleteIconBgColor(__assign(__assign({}, props), { iconState: constants_1.TagStates.HOVER }));
133
+ }, function (_a) {
134
+ var theme = _a.theme;
135
+ return theme.palette.grey[800];
121
136
  }, function (props) {
122
137
  return getDeleteIconBgColor(__assign(__assign({}, props), { iconState: constants_1.TagStates.ACTIVE }));
123
138
  });
package/Tag/types.d.ts CHANGED
@@ -1,12 +1,10 @@
1
1
  import { ChipProps as MuiTagProps } from '@mui/material/Chip/Chip';
2
- import { TagColors, TagSizes, TagStates, TagVariants } from './constants';
2
+ import { TagColors, TagStates, TagVariants } from './constants';
3
3
  export declare type TagColor = `${TagColors}`;
4
4
  export declare type TagVariant = `${TagVariants}`;
5
- export declare type TagSize = `${TagSizes}`;
6
5
  export declare type TagState = `${TagStates}`;
7
- export declare type TagProps = Omit<MuiTagProps, 'color' | 'variant'> & {
6
+ export declare type TagProps = Omit<MuiTagProps, 'color' | 'variant' | 'size'> & {
8
7
  color?: TagColor;
9
8
  variant?: TagVariant;
10
- size?: TagSize;
11
9
  rounded?: boolean;
12
10
  };
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
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>>;
3
+ export declare const TextArea: import("react").ForwardRefExoticComponent<Pick<TextAreaProps, "disabled" | "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "key" | "autoFocus" | "name" | "type" | "value" | "focused" | "error" | "fullWidth" | "hiddenLabel" | "margin" | "success" | "required" | "variant" | "autoComplete" | "inputProps" | "inputRef" | "rows" | "maxRows" | "minRows" | "size" | "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: 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>>;
3
+ export declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps, "disabled" | "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "key" | "autoFocus" | "name" | "type" | "value" | "focused" | "error" | "multiline" | "fullWidth" | "hiddenLabel" | "margin" | "success" | "required" | "variant" | "autoComplete" | "inputProps" | "inputRef" | "rows" | "maxRows" | "minRows" | "size" | "SelectProps" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps"> & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export default TextField;