@astral/ui 1.2.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/Alert/Alert.d.ts +25 -0
  2. package/Alert/Alert.js +41 -0
  3. package/Alert/index.d.ts +1 -0
  4. package/Alert/index.js +17 -0
  5. package/Badge/styled.d.ts +2 -2
  6. package/Button/Button.d.ts +1 -1
  7. package/ButtonBase/ButtonBase.d.ts +1 -1
  8. package/ButtonBase/styled.d.ts +2 -2
  9. package/Chevron/styles.d.ts +3 -3
  10. package/CircularProgress/CircularProgress.d.ts +1 -1
  11. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +1 -1
  12. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  13. package/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  14. package/DataGrid/DataGrid.d.ts +5 -5
  15. package/DataGrid/DataGrid.js +3 -3
  16. package/DataGrid/DataGridBody/DataGridBody.js +2 -2
  17. package/DataGrid/DataGridBody/{styled.d.ts → styles.d.ts} +0 -0
  18. package/DataGrid/DataGridBody/{styled.js → styles.js} +0 -0
  19. package/DataGrid/DataGridHead/DataGridHead.d.ts +2 -2
  20. package/DataGrid/DataGridHead/DataGridHead.js +8 -30
  21. package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
  22. package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +19 -9
  23. package/DataGrid/DataGridHeadColumn/styles.d.ts +11 -0
  24. package/DataGrid/DataGridHeadColumn/{styled.js → styles.js} +5 -7
  25. package/DataGrid/DataGridLoader/DataGridLoader.js +2 -2
  26. package/DataGrid/DataGridLoader/index.d.ts +1 -1
  27. package/DataGrid/DataGridLoader/index.js +1 -1
  28. package/DataGrid/DataGridLoader/{styled.d.ts → styles.d.ts} +1 -1
  29. package/DataGrid/DataGridLoader/{styled.js → styles.js} +0 -0
  30. package/DataGrid/{styled.d.ts → styles.d.ts} +0 -0
  31. package/DataGrid/{styled.js → styles.js} +0 -0
  32. package/DatePicker/DatePickerDay/styled.d.ts +1 -1
  33. package/Description/Description.d.ts +12 -0
  34. package/Description/Description.js +14 -0
  35. package/Description/Name/Name.d.ts +4 -0
  36. package/Description/Name/Name.js +32 -0
  37. package/Description/Name/index.d.ts +1 -0
  38. package/Description/Name/index.js +17 -0
  39. package/Description/Value/Value.d.ts +10 -0
  40. package/Description/Value/Value.js +33 -0
  41. package/Description/Value/index.d.ts +1 -0
  42. package/Description/Value/index.js +17 -0
  43. package/Description/index.d.ts +1 -0
  44. package/Description/index.js +17 -0
  45. package/Description/styles.d.ts +5 -0
  46. package/Description/styles.js +10 -0
  47. package/DropdownButton/DropdownButton.d.ts +1 -1
  48. package/FormHelperText/styled.d.ts +6 -6
  49. package/Grid/styled.d.ts +1 -1
  50. package/IconButton/IconButton.d.ts +1 -1
  51. package/IconButton/styles.d.ts +3 -3
  52. package/IconDropdownButton/IconDropdownButton.d.ts +1 -1
  53. package/ListItem/styles.d.ts +3 -3
  54. package/ListItemButton/ListItemButton.d.ts +1 -1
  55. package/ListItemIcon/ListItemIcon.d.ts +1 -1
  56. package/MenuGroup/stories/styled.d.ts +1 -1
  57. package/MenuItem/styled.d.ts +1 -1
  58. package/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +5 -5
  59. package/Notification/NotificationTemplate/styled.d.ts +4 -4
  60. package/Notification/styled.d.ts +12 -12
  61. package/Product/Product.d.ts +1 -1
  62. package/Profile/styled.d.ts +1 -1
  63. package/Radio/Radio.d.ts +1 -1
  64. package/Select/styled.d.ts +1 -1
  65. package/Tag/styled.d.ts +4 -4
  66. package/TextArea/TextArea.d.ts +1 -1
  67. package/TextField/TextField.d.ts +1 -1
  68. package/Tooltip/Tooltip.d.ts +1 -1
  69. package/esm/Alert/Alert.d.ts +25 -0
  70. package/esm/Alert/Alert.js +37 -0
  71. package/esm/Alert/index.d.ts +1 -0
  72. package/esm/Alert/index.js +1 -0
  73. package/esm/Badge/styled.d.ts +2 -2
  74. package/esm/Button/Button.d.ts +1 -1
  75. package/esm/ButtonBase/ButtonBase.d.ts +1 -1
  76. package/esm/ButtonBase/styled.d.ts +2 -2
  77. package/esm/Chevron/styles.d.ts +3 -3
  78. package/esm/CircularProgress/CircularProgress.d.ts +1 -1
  79. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +1 -1
  80. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  81. package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  82. package/esm/DataGrid/DataGrid.d.ts +5 -5
  83. package/esm/DataGrid/DataGrid.js +2 -2
  84. package/esm/DataGrid/DataGridBody/DataGridBody.js +1 -1
  85. package/esm/DataGrid/DataGridBody/{styled.d.ts → styles.d.ts} +0 -0
  86. package/esm/DataGrid/DataGridBody/{styled.js → styles.js} +0 -0
  87. package/esm/DataGrid/DataGridHead/DataGridHead.d.ts +2 -2
  88. package/esm/DataGrid/DataGridHead/DataGridHead.js +8 -30
  89. package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
  90. package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +19 -9
  91. package/esm/DataGrid/DataGridHeadColumn/styles.d.ts +11 -0
  92. package/esm/DataGrid/DataGridHeadColumn/{styled.js → styles.js} +5 -7
  93. package/esm/DataGrid/DataGridLoader/DataGridLoader.js +1 -1
  94. package/esm/DataGrid/DataGridLoader/index.d.ts +1 -1
  95. package/esm/DataGrid/DataGridLoader/index.js +1 -1
  96. package/esm/DataGrid/DataGridLoader/{styled.d.ts → styles.d.ts} +1 -1
  97. package/esm/DataGrid/DataGridLoader/{styled.js → styles.js} +0 -0
  98. package/esm/DataGrid/{styled.d.ts → styles.d.ts} +0 -0
  99. package/esm/DataGrid/{styled.js → styles.js} +0 -0
  100. package/esm/DatePicker/DatePickerDay/styled.d.ts +1 -1
  101. package/esm/Description/Description.d.ts +12 -0
  102. package/esm/Description/Description.js +10 -0
  103. package/esm/Description/Name/Name.d.ts +4 -0
  104. package/esm/Description/Name/Name.js +28 -0
  105. package/esm/Description/Name/index.d.ts +1 -0
  106. package/esm/Description/Name/index.js +1 -0
  107. package/esm/Description/Value/Value.d.ts +10 -0
  108. package/esm/Description/Value/Value.js +29 -0
  109. package/esm/Description/Value/index.d.ts +1 -0
  110. package/esm/Description/Value/index.js +1 -0
  111. package/esm/Description/index.d.ts +1 -0
  112. package/esm/Description/index.js +1 -0
  113. package/esm/Description/styles.d.ts +5 -0
  114. package/esm/Description/styles.js +7 -0
  115. package/esm/DropdownButton/DropdownButton.d.ts +1 -1
  116. package/esm/FormHelperText/styled.d.ts +6 -6
  117. package/esm/Grid/styled.d.ts +1 -1
  118. package/esm/IconButton/IconButton.d.ts +1 -1
  119. package/esm/IconButton/styles.d.ts +3 -3
  120. package/esm/IconDropdownButton/IconDropdownButton.d.ts +1 -1
  121. package/esm/ListItem/styles.d.ts +3 -3
  122. package/esm/ListItemButton/ListItemButton.d.ts +1 -1
  123. package/esm/ListItemIcon/ListItemIcon.d.ts +1 -1
  124. package/esm/MenuGroup/stories/styled.d.ts +1 -1
  125. package/esm/MenuItem/styled.d.ts +1 -1
  126. package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +5 -5
  127. package/esm/Notification/NotificationTemplate/styled.d.ts +4 -4
  128. package/esm/Notification/styled.d.ts +12 -12
  129. package/esm/Product/Product.d.ts +1 -1
  130. package/esm/Profile/styled.d.ts +1 -1
  131. package/esm/Radio/Radio.d.ts +1 -1
  132. package/esm/Select/styled.d.ts +1 -1
  133. package/esm/Tag/styled.d.ts +4 -4
  134. package/esm/TextArea/TextArea.d.ts +1 -1
  135. package/esm/TextField/TextField.d.ts +1 -1
  136. package/esm/Tooltip/Tooltip.d.ts +1 -1
  137. package/esm/index.d.ts +2 -0
  138. package/esm/index.js +2 -0
  139. package/esm/theme/components/MuiAlert.d.ts +3 -0
  140. package/esm/theme/components/MuiAlert.js +54 -0
  141. package/esm/theme/components/components.js +2 -0
  142. package/index.d.ts +2 -0
  143. package/index.js +2 -0
  144. package/package.json +2 -2
  145. package/theme/components/MuiAlert.d.ts +3 -0
  146. package/theme/components/MuiAlert.js +57 -0
  147. package/theme/components/components.js +2 -0
  148. package/DataGrid/DataGridHeadColumn/styled.d.ts +0 -39
  149. package/esm/DataGrid/DataGridHeadColumn/styled.d.ts +0 -39
@@ -10,15 +10,6 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
14
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
15
- if (ar || !(i in from)) {
16
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
17
- ar[i] = from[i];
18
- }
19
- }
20
- return to.concat(ar || Array.prototype.slice.call(from));
21
- };
22
13
  Object.defineProperty(exports, "__esModule", { value: true });
23
14
  exports.DataGridHead = void 0;
24
15
  var jsx_runtime_1 = require("react/jsx-runtime");
@@ -29,37 +20,24 @@ var Checkbox_1 = require("../../Checkbox");
29
20
  var constants_1 = require("../constants");
30
21
  var DataGridHeadColumn_1 = require("../DataGridHeadColumn");
31
22
  function DataGridHead(_a) {
32
- var columns = _a.columns, selectable = _a.selectable, onSelectAllRows = _a.onSelectAllRows, rowsCount = _a.rowsCount, onSort = _a.onSort, _b = _a.sorting, sorting = _b === void 0 ? [] : _b, uncheckedRowsCount = _a.uncheckedRowsCount;
23
+ var columns = _a.columns, selectable = _a.selectable, onSelectAllRows = _a.onSelectAllRows, rowsCount = _a.rowsCount, onSort = _a.onSort, sorting = _a.sorting, uncheckedRowsCount = _a.uncheckedRowsCount;
33
24
  var checked = (0, react_1.useMemo)(function () { return !Boolean(uncheckedRowsCount) && rowsCount > 0; }, [uncheckedRowsCount, rowsCount]);
34
25
  var indeterminate = (0, react_1.useMemo)(function () { return uncheckedRowsCount > 0 && uncheckedRowsCount < rowsCount; }, [uncheckedRowsCount, rowsCount]);
35
26
  var handleSort = (0, react_1.useCallback)(function (field) {
36
27
  if (!onSort) {
37
28
  return;
38
29
  }
39
- var currentSort = sorting.find(function (_a) {
40
- var fieldId = _a.fieldId;
41
- return fieldId === field;
42
- });
30
+ var isCurrentField = (sorting === null || sorting === void 0 ? void 0 : sorting.fieldId) === field;
43
31
  // если для выбранного столбца текущая сортировка ASC - меняем на DESC
44
- if (currentSort && currentSort.sort === constants_1.SortStates.ASC) {
45
- var newSorting = __spreadArray(__spreadArray([], sorting.filter(function (_a) {
46
- var fieldId = _a.fieldId;
47
- return fieldId !== field;
48
- }), true), [
49
- { fieldId: field, sort: constants_1.SortStates.DESC },
50
- ], false);
51
- return onSort(newSorting);
52
- // если для выбранного столбца текущая сортировка DESC - убираем сортировку
32
+ if (isCurrentField && sorting.sort === constants_1.SortStates.ASC) {
33
+ return onSort({ fieldId: field, sort: constants_1.SortStates.DESC });
53
34
  }
54
- else if (currentSort && currentSort.sort === constants_1.SortStates.DESC) {
55
- var newSorting = sorting.filter(function (_a) {
56
- var fieldId = _a.fieldId;
57
- return fieldId !== field;
58
- });
59
- return onSort(newSorting);
35
+ // если для выбранного столбца текущая сортировка DESC - убираем сортировку
36
+ if (isCurrentField && sorting.sort === constants_1.SortStates.DESC) {
37
+ return onSort(undefined);
60
38
  }
61
39
  // если для выбранного столбца нет сортировки - добавляем сортировку ASC
62
- onSort(__spreadArray(__spreadArray([], sorting, true), [{ fieldId: field, sort: constants_1.SortStates.ASC }], false));
40
+ onSort({ fieldId: field, sort: constants_1.SortStates.ASC });
63
41
  }, [sorting, onSort]);
64
42
  var renderColumns = (0, react_1.useMemo)(function () {
65
43
  return columns.map(function (_a) {
@@ -3,7 +3,7 @@ import { TableCellProps } from '@mui/material';
3
3
  import { DataGridRow, DataGridSort } from '../types';
4
4
  export declare type DataGridHeadColumnProps<Data = DataGridRow, SortField extends keyof Data = keyof Data> = {
5
5
  onSort: (field: SortField) => void;
6
- sorting: DataGridSort<SortField>[];
6
+ sorting?: DataGridSort<SortField>;
7
7
  label?: string;
8
8
  sortable?: boolean;
9
9
  align?: TableCellProps['align'];
@@ -14,22 +14,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.DataGridHeadColumn = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var react_1 = require("react");
17
- var Typography_1 = require("../../Typography/Typography");
17
+ var icons_1 = require("@astral/icons");
18
18
  var constants_1 = require("../constants");
19
- var styled_1 = require("./styled");
19
+ var styles_1 = require("./styles");
20
20
  function DataGridHeadColumn(_a) {
21
21
  var onSort = _a.onSort, field = _a.field, sortable = _a.sortable, align = _a.align, label = _a.label, sorting = _a.sorting, width = _a.width;
22
- var sortParams = (0, react_1.useMemo)(function () { return sorting.find(function (_a) {
23
- var fieldId = _a.fieldId;
24
- return field === fieldId;
25
- }); }, [sorting, field]);
26
- var hideSortIcon = (0, react_1.useMemo)(function () { return !Boolean(sortParams); }, [sortParams]);
27
- var sortDirection = (0, react_1.useMemo)(function () { return (sortParams ? sortParams.sort : constants_1.SortStates.ASC); }, [sortParams]);
22
+ var sortIcon = (0, react_1.useMemo)(function () {
23
+ if (!sortable) {
24
+ return null;
25
+ }
26
+ if ((sorting === null || sorting === void 0 ? void 0 : sorting.fieldId) !== field) {
27
+ return (0, jsx_runtime_1.jsx)(icons_1.SortFillSm, {});
28
+ }
29
+ switch (sorting === null || sorting === void 0 ? void 0 : sorting.sort) {
30
+ case constants_1.SortStates.ASC:
31
+ return (0, jsx_runtime_1.jsx)(icons_1.SortUpFillSm, { color: "primary" });
32
+ case constants_1.SortStates.DESC:
33
+ return (0, jsx_runtime_1.jsx)(icons_1.SortDownFillSm, { color: "primary" });
34
+ default:
35
+ return (0, jsx_runtime_1.jsx)(icons_1.SortFillSm, {});
36
+ }
37
+ }, [sorting, sortable, field]);
28
38
  var handleSortClick = function () {
29
39
  if (field && sortable) {
30
40
  onSort(field);
31
41
  }
32
42
  };
33
- return ((0, jsx_runtime_1.jsxs)(styled_1.StyledTableCell, __assign({ onClick: handleSortClick, align: align, width: width, sortable: sortable }, { children: [(0, jsx_runtime_1.jsx)(Typography_1.Typography, __assign({ variant: "pointer" }, { children: label })), sortable && ((0, jsx_runtime_1.jsx)(styled_1.StyledTableSortLabel, { hideSortIcon: hideSortIcon, direction: sortDirection, active: true }))] })));
43
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledTableCell, __assign({ onClick: handleSortClick, align: align, width: width, sortable: sortable }, { children: (0, jsx_runtime_1.jsxs)(styles_1.TableCellTitle, __assign({ variant: "pointer" }, { children: [label, sortIcon] })) })));
34
44
  }
35
45
  exports.DataGridHeadColumn = DataGridHeadColumn;
@@ -0,0 +1,11 @@
1
+ import { TableCellProps } from '@mui/material';
2
+ import { CSSProperties } from 'react';
3
+ export declare const StyledTableCell: import("@emotion/styled").StyledComponent<TableCellProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ } & {
6
+ width?: CSSProperties['width'];
7
+ sortable?: boolean | undefined;
8
+ }, {}, {}>;
9
+ export declare const TableCellTitle: import("@emotion/styled").StyledComponent<Pick<import("../../Typography").TypographyProps, string | number | symbol> & import("react").RefAttributes<HTMLElement> & {
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ }, {}, {}>;
@@ -4,16 +4,13 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  return cooked;
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.StyledTableCell = exports.StyledTableSortLabel = void 0;
7
+ exports.TableCellTitle = exports.StyledTableCell = void 0;
8
8
  var styles_1 = require("../../styles");
9
9
  var Table_1 = require("../../Table");
10
- exports.StyledTableSortLabel = (0, styles_1.styled)(Table_1.TableSortLabel)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n visibility: ", ";\n"], ["\n visibility: ", ";\n"])), function (_a) {
11
- var hideSortIcon = _a.hideSortIcon;
12
- return hideSortIcon && 'hidden';
13
- });
10
+ var Typography_1 = require("../../Typography");
14
11
  exports.StyledTableCell = (0, styles_1.styled)(Table_1.TableCell, {
15
- shouldForwardProp: function (prop) { return prop !== 'width'; },
16
- })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: ", ";\n padding: ", ";\n\n color: ", ";\n\n cursor: ", ";\n\n user-select: none;\n"], ["\n width: ", ";\n padding: ", ";\n\n color: ", ";\n\n cursor: ", ";\n\n user-select: none;\n"])), function (_a) {
12
+ shouldForwardProp: function (prop) { return prop !== 'width' && prop !== 'sortable'; },
13
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", ";\n padding: ", ";\n\n color: ", ";\n\n cursor: ", ";\n\n user-select: none;\n"], ["\n width: ", ";\n padding: ", ";\n\n color: ", ";\n\n cursor: ", ";\n\n user-select: none;\n"])), function (_a) {
17
14
  var _b = _a.width, width = _b === void 0 ? 'auto' : _b;
18
15
  return width;
19
16
  }, function (_a) {
@@ -26,4 +23,5 @@ exports.StyledTableCell = (0, styles_1.styled)(Table_1.TableCell, {
26
23
  var sortable = _a.sortable;
27
24
  return (sortable ? 'pointer' : 'initial');
28
25
  });
26
+ exports.TableCellTitle = (0, styles_1.styled)(Typography_1.Typography)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n\n > svg {\n width: 16px;\n height: 16px;\n }\n"], ["\n display: flex;\n align-items: center;\n\n > svg {\n width: 16px;\n height: 16px;\n }\n"])));
29
27
  var templateObject_1, templateObject_2;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var jsx_runtime_1 = require("react/jsx-runtime");
4
- var styled_1 = require("./styled");
4
+ var styles_1 = require("./styles");
5
5
  var DataGridLoader = function (_a) {
6
6
  var _b = _a.loading, loading = _b === void 0 ? false : _b;
7
- return ((0, jsx_runtime_1.jsxs)(styled_1.LoaderWrapper, { children: [loading && (0, jsx_runtime_1.jsx)(styled_1.Backdrop, {}), loading ? (0, jsx_runtime_1.jsx)(styled_1.StyledLinearProgress, {}) : (0, jsx_runtime_1.jsx)(styled_1.StyledDivider, {})] }));
7
+ return ((0, jsx_runtime_1.jsxs)(styles_1.LoaderWrapper, { children: [loading && (0, jsx_runtime_1.jsx)(styles_1.Backdrop, {}), loading ? (0, jsx_runtime_1.jsx)(styles_1.StyledLinearProgress, {}) : (0, jsx_runtime_1.jsx)(styles_1.StyledDivider, {})] }));
8
8
  };
9
9
  exports.default = DataGridLoader;
@@ -1 +1 @@
1
- export * from './styled';
1
+ export * from './styles';
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./styled"), exports);
17
+ __exportStar(require("./styles"), exports);
@@ -15,7 +15,7 @@ export declare const StyledDivider: import("@emotion/styled").StyledComponent<{
15
15
  variant?: "inset" | "fullWidth" | "middle" | undefined;
16
16
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "key" | "css" | keyof import("react").HTMLAttributes<HTMLHRElement>> & {
17
17
  ref?: ((instance: HTMLHRElement | null) => void) | import("react").RefObject<HTMLHRElement> | null | undefined;
18
- }, "light" | "children" | "variant" | "textAlign" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "absolute" | "orientation" | "flexItem"> & {
18
+ }, "light" | "textAlign" | "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "absolute" | "orientation" | "flexItem"> & {
19
19
  theme?: import("@emotion/react").Theme | undefined;
20
20
  }, {}, {}>;
21
21
  export declare const LoaderWrapper: import("@emotion/styled").StyledComponent<{
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const DatePickerDayButton: 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> & {
2
+ export declare const DatePickerDayButton: import("@emotion/styled").StyledComponent<Pick<import("../../Button").ButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "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" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "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
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  }, {}, {}>;
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ export declare type DescriptionProps = {
3
+ /**
4
+ * Элементы Description.Name и Description.Value
5
+ */
6
+ children: ReactNode;
7
+ };
8
+ export declare const Description: {
9
+ ({ children }: DescriptionProps): JSX.Element;
10
+ Name: ({ children, ...props }: import("./Name").NameProps) => JSX.Element;
11
+ Value: ({ children, stub, ...props }: import("./Value").ValueProps) => JSX.Element;
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Description = void 0;
4
+ var jsx_runtime_1 = require("react/jsx-runtime");
5
+ var Name_1 = require("./Name");
6
+ var Value_1 = require("./Value");
7
+ var styles_1 = require("./styles");
8
+ var Description = function (_a) {
9
+ var children = _a.children;
10
+ return (0, jsx_runtime_1.jsx)(styles_1.DescriptionWrapper, { children: children });
11
+ };
12
+ exports.Description = Description;
13
+ exports.Description.Name = Name_1.Name;
14
+ exports.Description.Value = Value_1.Value;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { TypographyProps } from '../../Typography';
3
+ export declare type NameProps = Pick<TypographyProps, 'color' | 'variant' | 'children'>;
4
+ export declare const Name: ({ children, ...props }: NameProps) => 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.Name = void 0;
26
+ var jsx_runtime_1 = require("react/jsx-runtime");
27
+ var Typography_1 = require("../../Typography");
28
+ var Name = function (_a) {
29
+ var children = _a.children, props = __rest(_a, ["children"]);
30
+ return ((0, jsx_runtime_1.jsxs)(Typography_1.Typography, __assign({}, props, { children: [children, ":\u00A0"] })));
31
+ };
32
+ exports.Name = Name;
@@ -0,0 +1 @@
1
+ export * from './Name';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Name"), exports);
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ import { TypographyProps } from '../../Typography';
3
+ export declare type ValueProps = Pick<TypographyProps, 'color' | 'variant' | 'children'> & {
4
+ /**
5
+ * @example <Description.Item stub="нет значения">value</Description.Item>
6
+ * Заглушка, отображающаяся, если нет значения
7
+ */
8
+ stub?: ReactNode;
9
+ };
10
+ export declare const Value: ({ children, stub, ...props }: ValueProps) => JSX.Element;
@@ -0,0 +1,33 @@
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.Value = void 0;
26
+ var jsx_runtime_1 = require("react/jsx-runtime");
27
+ var Typography_1 = require("../../Typography");
28
+ var STUB = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "\u2013" });
29
+ var Value = function (_a) {
30
+ var children = _a.children, _b = _a.stub, stub = _b === void 0 ? STUB : _b, props = __rest(_a, ["children", "stub"]);
31
+ return ((0, jsx_runtime_1.jsx)(Typography_1.Typography, __assign({}, props, { children: children || stub })));
32
+ };
33
+ exports.Value = Value;
@@ -0,0 +1 @@
1
+ export * from './Value';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Value"), exports);
@@ -0,0 +1 @@
1
+ export * from './Description';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Description"), exports);
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const DescriptionWrapper: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,10 @@
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.DescriptionWrapper = void 0;
8
+ var styles_1 = require("../styles");
9
+ exports.DescriptionWrapper = styles_1.styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n"], ["\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n"])));
10
+ var templateObject_1;
@@ -6,4 +6,4 @@ export declare type DropdownButtonProps = Omit<ButtonProps, 'endIcon' | 'loading
6
6
  */
7
7
  name: string;
8
8
  };
9
- export declare const DropdownButton: import("react").ForwardRefExoticComponent<Pick<DropdownButtonProps, "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" | "fullWidth" | "startIcon" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement>>;
9
+ export declare const DropdownButton: import("react").ForwardRefExoticComponent<Pick<DropdownButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "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" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "size" | "component" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "fullWidth" | "startIcon" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement>>;