@matrix-widget-toolkit/mui 1.1.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +1 -2
- package/package.json +21 -21
package/build/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
import { AvatarProps } from '@mui/material';
|
|
9
9
|
import { BackendModule } from 'i18next';
|
|
10
10
|
import { Capability } from 'matrix-widget-api';
|
|
11
|
-
import { CommonProps } from '@mui/material/OverridableComponent';
|
|
12
11
|
import { ForwardRefExoticComponent } from 'react';
|
|
13
12
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
14
13
|
import { PropsWithChildren } from 'react';
|
|
@@ -22,7 +21,7 @@ import { WidgetRegistration } from '@matrix-widget-toolkit/api';
|
|
|
22
21
|
* A component to display user and room avatars in the style of Element.
|
|
23
22
|
* @param param0 - {@link ElementAvatarProps}
|
|
24
23
|
*/
|
|
25
|
-
export declare const ElementAvatar: ForwardRefExoticComponent<Pick<ElementAvatarProps, "id" | "userId" | "displayName" | "avatarUrl" | "title" | "results" | "children" | "slot" | "onReset" | "onError" | "color" | "translate" |
|
|
24
|
+
export declare const ElementAvatar: ForwardRefExoticComponent<Pick<ElementAvatarProps, "id" | "userId" | "displayName" | "avatarUrl" | "title" | "results" | "children" | "slot" | "style" | "onReset" | "onError" | "color" | "translate" | "className" | "classes" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "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" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "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" | "component" | "variant" | "alt" | "imgProps" | "sizes" | "src" | "srcSet"> & RefAttributes<HTMLDivElement>>;
|
|
26
25
|
|
|
27
26
|
/**
|
|
28
27
|
* Props for the {@link ElementAvatar} component.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matrix-widget-toolkit/mui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "A customized material-ui theme that matches the style of the Element Matrix client",
|
|
5
5
|
"author": "Nordeck IT + Consulting GmbH",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
"types": "./build/index.d.ts",
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@craco/craco": "^7.1.0",
|
|
12
|
-
"@testing-library/jest-dom": "^6.
|
|
12
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
13
13
|
"@testing-library/react": "^12.1.5",
|
|
14
|
-
"@testing-library/user-event": "^14.
|
|
14
|
+
"@testing-library/user-event": "^14.5.1",
|
|
15
15
|
"@types/jest": "^27.5.2",
|
|
16
|
-
"@types/jest-axe": "^3.5.
|
|
17
|
-
"@types/lodash": "^4.14.
|
|
18
|
-
"@types/node": "^
|
|
16
|
+
"@types/jest-axe": "^3.5.6",
|
|
17
|
+
"@types/lodash": "^4.14.199",
|
|
18
|
+
"@types/node": "^20.8.6",
|
|
19
19
|
"@types/react": "^17.0.45",
|
|
20
20
|
"copyfiles": "^2.4.1",
|
|
21
|
-
"i18next-parser": "^8.
|
|
21
|
+
"i18next-parser": "^8.9.0",
|
|
22
22
|
"jest-axe": "^8.0.0",
|
|
23
23
|
"react": "^17.0.2",
|
|
24
24
|
"react-scripts": "5.0.1",
|
|
25
|
-
"typescript": "^5.
|
|
25
|
+
"typescript": "^5.2.2"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc && rollup --config ../../rollup.config.mjs",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@emotion/cache": "^11.11.0",
|
|
42
|
-
"@emotion/react": "^11.11.
|
|
42
|
+
"@emotion/react": "^11.11.3",
|
|
43
43
|
"@emotion/styled": "^11.11.0",
|
|
44
|
-
"@fontsource/inter": "^5.0.
|
|
45
|
-
"@mui/icons-material": "^5.
|
|
46
|
-
"@mui/material": "^5.
|
|
47
|
-
"@mui/utils": "^5.14.
|
|
48
|
-
"@matrix-widget-toolkit/api": "^3.2.
|
|
49
|
-
"@matrix-widget-toolkit/react": "^1.0.
|
|
50
|
-
"i18next": "^23.
|
|
51
|
-
"i18next-browser-languagedetector": "^7.
|
|
52
|
-
"i18next-resources-to-backend": "^1.
|
|
44
|
+
"@fontsource/inter": "^5.0.16",
|
|
45
|
+
"@mui/icons-material": "^5.15.5",
|
|
46
|
+
"@mui/material": "^5.15.5",
|
|
47
|
+
"@mui/utils": "^5.14.13",
|
|
48
|
+
"@matrix-widget-toolkit/api": "^3.2.2",
|
|
49
|
+
"@matrix-widget-toolkit/react": "^1.0.6",
|
|
50
|
+
"i18next": "^23.8.2",
|
|
51
|
+
"i18next-browser-languagedetector": "^7.2.0",
|
|
52
|
+
"i18next-resources-to-backend": "^1.2.0",
|
|
53
53
|
"lodash": "^4.17.21",
|
|
54
|
-
"matrix-widget-api": "^1.
|
|
54
|
+
"matrix-widget-api": "^1.6.0",
|
|
55
55
|
"react": "^17.0.2",
|
|
56
|
-
"react-i18next": "^
|
|
57
|
-
"react-use": "^17.
|
|
56
|
+
"react-i18next": "^14.0.3",
|
|
57
|
+
"react-use": "^17.5.0"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
|
60
60
|
"type": "git",
|