@astral/ui 0.41.2 → 0.42.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 (110) hide show
  1. package/Chevron/Chevron.d.ts +7 -0
  2. package/Chevron/Chevron.js +18 -0
  3. package/Chevron/index.d.ts +1 -0
  4. package/{ListProvider → Chevron}/index.js +1 -2
  5. package/Chevron/styles.d.ts +18 -0
  6. package/Chevron/styles.js +20 -0
  7. package/CircularProgress/CircularProgress.d.ts +19 -2
  8. package/CircularProgress/CircularProgress.js +2 -5
  9. package/CircularProgress/index.d.ts +0 -1
  10. package/CircularProgress/index.js +0 -1
  11. package/Collapse/Collapse.d.ts +3 -2
  12. package/Collapse/Collapse.js +17 -2
  13. package/Collapse/styles.d.ts +3 -0
  14. package/Collapse/styles.js +11 -0
  15. package/DataGrid/DataGridHeadColumn/styled.js +4 -4
  16. package/DataGridPagination/DataGridPagination.d.ts +15 -1
  17. package/DataGridPagination/DataGridPagination.js +2 -2
  18. package/DataGridPagination/index.d.ts +0 -1
  19. package/DataGridPagination/index.js +0 -1
  20. package/DropdownButton/DropdownButton.js +3 -3
  21. package/IconButton/IconButton.js +2 -2
  22. package/IconButton/{styled.d.ts → styles.d.ts} +0 -0
  23. package/IconButton/{styled.js → styles.js} +0 -0
  24. package/List/List.d.ts +1 -1
  25. package/List/List.js +3 -22
  26. package/List/{styled.d.ts → styles.d.ts} +0 -0
  27. package/List/styles.js +11 -0
  28. package/ListItemText/ListItemText.js +2 -5
  29. package/ListItemText/{styled.d.ts → styles.d.ts} +3 -3
  30. package/ListItemText/{styled.js → styles.js} +1 -10
  31. package/Profile/Profile.js +2 -1
  32. package/Profile/styled.d.ts +0 -18
  33. package/Profile/styled.js +2 -13
  34. package/Tooltip/Tooltip.d.ts +10 -2
  35. package/Tooltip/styled.d.ts +1 -1
  36. package/Tooltip/types.d.ts +0 -4
  37. package/esm/Chevron/Chevron.d.ts +7 -0
  38. package/esm/Chevron/Chevron.js +14 -0
  39. package/esm/Chevron/index.d.ts +1 -0
  40. package/esm/Chevron/index.js +1 -0
  41. package/esm/Chevron/styles.d.ts +18 -0
  42. package/esm/Chevron/styles.js +17 -0
  43. package/esm/CircularProgress/CircularProgress.d.ts +19 -2
  44. package/esm/CircularProgress/CircularProgress.js +1 -1
  45. package/esm/CircularProgress/index.d.ts +0 -1
  46. package/esm/CircularProgress/index.js +0 -1
  47. package/esm/Collapse/Collapse.d.ts +3 -2
  48. package/esm/Collapse/Collapse.js +16 -2
  49. package/esm/Collapse/styles.d.ts +3 -0
  50. package/esm/Collapse/styles.js +8 -0
  51. package/esm/DataGrid/DataGridHeadColumn/styled.js +4 -4
  52. package/esm/DataGridPagination/DataGridPagination.d.ts +15 -1
  53. package/esm/DataGridPagination/DataGridPagination.js +2 -2
  54. package/esm/DataGridPagination/index.d.ts +0 -1
  55. package/esm/DataGridPagination/index.js +0 -1
  56. package/esm/DropdownButton/DropdownButton.js +3 -3
  57. package/esm/IconButton/IconButton.js +1 -1
  58. package/esm/IconButton/{styled.d.ts → styles.d.ts} +0 -0
  59. package/esm/IconButton/{styled.js → styles.js} +0 -0
  60. package/esm/List/List.d.ts +1 -1
  61. package/esm/List/List.js +3 -19
  62. package/esm/List/{styled.d.ts → styles.d.ts} +0 -0
  63. package/esm/List/styles.js +8 -0
  64. package/esm/ListItemText/ListItemText.js +2 -5
  65. package/esm/ListItemText/{styled.d.ts → styles.d.ts} +3 -3
  66. package/esm/ListItemText/{styled.js → styles.js} +1 -10
  67. package/esm/Profile/Profile.js +3 -2
  68. package/esm/Profile/styled.d.ts +0 -18
  69. package/esm/Profile/styled.js +1 -12
  70. package/esm/Tooltip/Tooltip.d.ts +10 -2
  71. package/esm/Tooltip/styled.d.ts +1 -1
  72. package/esm/Tooltip/types.d.ts +0 -4
  73. package/esm/index.d.ts +1 -1
  74. package/esm/index.js +1 -1
  75. package/esm/theme/baseTheme.js +1 -0
  76. package/esm/theme/components/MuiTypography.js +1 -0
  77. package/esm/theme/hooks/useTheme/index.js +2 -0
  78. package/esm/types.d.ts +1 -0
  79. package/esm/{CircularProgress/types.js → types.js} +0 -0
  80. package/index.d.ts +1 -1
  81. package/index.js +1 -1
  82. package/package.json +2 -2
  83. package/theme/baseTheme.js +1 -0
  84. package/theme/components/MuiTypography.js +1 -0
  85. package/theme/hooks/useTheme/index.js +2 -0
  86. package/types.d.ts +1 -0
  87. package/{CircularProgress/types.js → types.js} +0 -0
  88. package/CircularProgress/types.d.ts +0 -11
  89. package/DataGridPagination/types.d.ts +0 -6
  90. package/DataGridPagination/types.js +0 -2
  91. package/DropdownButton/styles.d.ts +0 -4
  92. package/DropdownButton/styles.js +0 -20
  93. package/List/styled.js +0 -17
  94. package/ListProvider/ListProvider.d.ts +0 -7
  95. package/ListProvider/ListProvider.js +0 -6
  96. package/ListProvider/index.d.ts +0 -2
  97. package/ListProvider/types.d.ts +0 -3
  98. package/ListProvider/types.js +0 -2
  99. package/esm/CircularProgress/types.d.ts +0 -11
  100. package/esm/DataGridPagination/types.d.ts +0 -6
  101. package/esm/DataGridPagination/types.js +0 -1
  102. package/esm/DropdownButton/styles.d.ts +0 -4
  103. package/esm/DropdownButton/styles.js +0 -17
  104. package/esm/List/styled.js +0 -14
  105. package/esm/ListProvider/ListProvider.d.ts +0 -7
  106. package/esm/ListProvider/ListProvider.js +0 -3
  107. package/esm/ListProvider/index.d.ts +0 -2
  108. package/esm/ListProvider/index.js +0 -2
  109. package/esm/ListProvider/types.d.ts +0 -3
  110. package/esm/ListProvider/types.js +0 -1
@@ -17,5 +17,6 @@ export var createTheme = function (params) {
17
17
  components: getComponents(fontsUrls),
18
18
  };
19
19
  var muiTheme = createMuiTheme(merge({}, themeOptions, options));
20
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
21
  return merge(muiTheme, { elevation: elevation, shape: shape });
21
22
  };
@@ -12,6 +12,7 @@ export var MuiTypography = {
12
12
  variantMapping: {
13
13
  link: 'a',
14
14
  code: 'code',
15
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
16
  },
16
17
  },
17
18
  };
@@ -1,2 +1,4 @@
1
1
  import { useTheme as useEmotionTheme } from '@emotion/react';
2
+ // any необходим для коннекта темы
3
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
2
4
  export var useTheme = function () { return useEmotionTheme(); };
package/esm/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare type WithoutEmotionSpecific<Props> = Omit<Props, 'sx' | 'css'>;
File without changes
package/index.d.ts CHANGED
@@ -30,7 +30,6 @@ export * from './ListItemButton';
30
30
  export * from './ListItemIcon';
31
31
  export * from './ListItemSecondaryAction';
32
32
  export * from './ListItemText';
33
- export * from './ListProvider';
34
33
  export * from './ListSubheader';
35
34
  export * from './MaskField';
36
35
  export * from './Menu';
@@ -61,3 +60,4 @@ export * from './SideDialogContentText';
61
60
  export * from './Notification';
62
61
  export * from './LocalizationProvider';
63
62
  export * from './ContentState';
63
+ export * from './Chevron';
package/index.js CHANGED
@@ -46,7 +46,6 @@ __exportStar(require("./ListItemButton"), exports);
46
46
  __exportStar(require("./ListItemIcon"), exports);
47
47
  __exportStar(require("./ListItemSecondaryAction"), exports);
48
48
  __exportStar(require("./ListItemText"), exports);
49
- __exportStar(require("./ListProvider"), exports);
50
49
  __exportStar(require("./ListSubheader"), exports);
51
50
  __exportStar(require("./MaskField"), exports);
52
51
  __exportStar(require("./Menu"), exports);
@@ -77,3 +76,4 @@ __exportStar(require("./SideDialogContentText"), exports);
77
76
  __exportStar(require("./Notification"), exports);
78
77
  __exportStar(require("./LocalizationProvider"), exports);
79
78
  __exportStar(require("./ContentState"), exports);
79
+ __exportStar(require("./Chevron"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "0.41.2",
3
+ "version": "0.42.1",
4
4
  "browser": "./src/index.ts",
5
5
  "jest": {
6
6
  "moduleNameMapper": {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "dependencies": {
11
- "@astral/icons": "^0.41.2",
11
+ "@astral/icons": "^0.42.1",
12
12
  "@emotion/cache": "11.7.1",
13
13
  "@emotion/react": "11.9.0",
14
14
  "@emotion/server": "11.4.0",
@@ -20,6 +20,7 @@ var createTheme = function (params) {
20
20
  components: (0, components_1.getComponents)(fontsUrls),
21
21
  };
22
22
  var muiTheme = (0, styles_1.createTheme)((0, lodash_es_1.merge)({}, themeOptions, options));
23
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
23
24
  return (0, lodash_es_1.merge)(muiTheme, { elevation: elevation_1.elevation, shape: shape_1.shape });
24
25
  };
25
26
  exports.createTheme = createTheme;
@@ -15,6 +15,7 @@ exports.MuiTypography = {
15
15
  variantMapping: {
16
16
  link: 'a',
17
17
  code: 'code',
18
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
19
  },
19
20
  },
20
21
  };
@@ -2,5 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useTheme = void 0;
4
4
  var react_1 = require("@emotion/react");
5
+ // any необходим для коннекта темы
6
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
7
  var useTheme = function () { return (0, react_1.useTheme)(); };
6
8
  exports.useTheme = useTheme;
package/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare type WithoutEmotionSpecific<Props> = Omit<Props, 'sx' | 'css'>;
File without changes
@@ -1,11 +0,0 @@
1
- import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
2
- declare module '@mui/material/CircularProgress' {
3
- interface CircularProgressPropsColorOverrides {
4
- primary: true;
5
- inverted: true;
6
- }
7
- }
8
- export declare type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'size'> & {
9
- color?: 'primary' | 'inverted';
10
- size?: 'small' | 'medium';
11
- };
@@ -1,6 +0,0 @@
1
- import { PaginationProps } from '../Pagination';
2
- export declare type DataGridPaginationProps = Omit<PaginationProps, 'count'> & {
3
- totalCount: number;
4
- rowsPerPage?: number;
5
- page: number;
6
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DropdownButtonWrapper: import("@emotion/styled").StyledComponent<Pick<import("../Button").ButtonProps, "disabled" | "href" | "onFocusVisible" | "tabIndex" | "type" | "action" | "children" | "form" | "slot" | "title" | "key" | "css" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "size" | "component" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- }, {}, {}>;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.DropdownButtonWrapper = void 0;
8
- var styles_1 = require("../styles");
9
- var Button_1 = require("../Button");
10
- exports.DropdownButtonWrapper = (0, styles_1.styled)(Button_1.Button)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .MuiButton-endIcon {\n transform: rotate(", ");\n\n transition: ", ";\n }\n"], ["\n .MuiButton-endIcon {\n transform: rotate(", ");\n\n transition: ", ";\n }\n"])), function (_a) {
11
- var selected = _a.selected;
12
- return (selected ? '180deg' : '0');
13
- }, function (_a) {
14
- var theme = _a.theme;
15
- return theme.transitions.create('transform', {
16
- easing: theme.transitions.easing.easeOut,
17
- duration: theme.transitions.duration.shorter,
18
- });
19
- });
20
- var templateObject_1;
package/List/styled.js DELETED
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.StyledList = void 0;
8
- var material_1 = require("@mui/material");
9
- var styles_1 = require("../styles");
10
- exports.StyledList = (0, styles_1.styled)(material_1.List)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n\n .MuiCollapse-root {\n transition: ", ";\n }\n\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n"], ["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n\n .MuiCollapse-root {\n transition: ", ";\n }\n\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n"])), function (_a) {
11
- var theme = _a.theme;
12
- return "".concat(theme.transitions.create('width', {
13
- easing: theme.transitions.easing.easeOut,
14
- duration: theme.transitions.duration.shortest,
15
- }), " !important");
16
- });
17
- var templateObject_1;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ListContext: import("react").Context<{
3
- open: boolean;
4
- }>;
5
- export declare const ListProvider: import("react").Provider<{
6
- open: boolean;
7
- }>;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListProvider = exports.ListContext = void 0;
4
- var react_1 = require("react");
5
- exports.ListContext = (0, react_1.createContext)({ open: true });
6
- exports.ListProvider = exports.ListContext.Provider;
@@ -1,2 +0,0 @@
1
- export * from './ListProvider';
2
- export * from './types';
@@ -1,3 +0,0 @@
1
- export declare type ListContextType = {
2
- open: boolean;
3
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
2
- declare module '@mui/material/CircularProgress' {
3
- interface CircularProgressPropsColorOverrides {
4
- primary: true;
5
- inverted: true;
6
- }
7
- }
8
- export declare type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'size'> & {
9
- color?: 'primary' | 'inverted';
10
- size?: 'small' | 'medium';
11
- };
@@ -1,6 +0,0 @@
1
- import { PaginationProps } from '../Pagination';
2
- export declare type DataGridPaginationProps = Omit<PaginationProps, 'count'> & {
3
- totalCount: number;
4
- rowsPerPage?: number;
5
- page: number;
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DropdownButtonWrapper: import("@emotion/styled").StyledComponent<Pick<import("../Button").ButtonProps, "disabled" | "href" | "onFocusVisible" | "tabIndex" | "type" | "action" | "children" | "form" | "slot" | "title" | "key" | "css" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "size" | "component" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- }, {}, {}>;
@@ -1,17 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { styled } from '../styles';
6
- import { Button } from '../Button';
7
- export var DropdownButtonWrapper = styled(Button)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .MuiButton-endIcon {\n transform: rotate(", ");\n\n transition: ", ";\n }\n"], ["\n .MuiButton-endIcon {\n transform: rotate(", ");\n\n transition: ", ";\n }\n"])), function (_a) {
8
- var selected = _a.selected;
9
- return (selected ? '180deg' : '0');
10
- }, function (_a) {
11
- var theme = _a.theme;
12
- return theme.transitions.create('transform', {
13
- easing: theme.transitions.easing.easeOut,
14
- duration: theme.transitions.duration.shorter,
15
- });
16
- });
17
- var templateObject_1;
@@ -1,14 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- import { List as MuiList } from '@mui/material';
6
- import { styled } from '../styles';
7
- export var StyledList = styled(MuiList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n\n .MuiCollapse-root {\n transition: ", ";\n }\n\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n"], ["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n\n .MuiCollapse-root {\n transition: ", ";\n }\n\n .MuiCollapse-wrapperInner {\n width: 100%;\n }\n"])), function (_a) {
8
- var theme = _a.theme;
9
- return "".concat(theme.transitions.create('width', {
10
- easing: theme.transitions.easing.easeOut,
11
- duration: theme.transitions.duration.shortest,
12
- }), " !important");
13
- });
14
- var templateObject_1;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ListContext: import("react").Context<{
3
- open: boolean;
4
- }>;
5
- export declare const ListProvider: import("react").Provider<{
6
- open: boolean;
7
- }>;
@@ -1,3 +0,0 @@
1
- import { createContext } from 'react';
2
- export var ListContext = createContext({ open: true });
3
- export var ListProvider = ListContext.Provider;
@@ -1,2 +0,0 @@
1
- export * from './ListProvider';
2
- export * from './types';
@@ -1,2 +0,0 @@
1
- export * from './ListProvider';
2
- export * from './types';
@@ -1,3 +0,0 @@
1
- export declare type ListContextType = {
2
- open: boolean;
3
- };
@@ -1 +0,0 @@
1
- export {};