Skip to content

Commit 9b8daac

Browse files
ArjixWasTakengithub-actions[bot]JellyBrick
authored
Add Material UI 3 component library (#3606)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: JellyBrick <[email protected]>
1 parent cbc0077 commit 9b8daac

File tree

13 files changed

+890
-242
lines changed

13 files changed

+890
-242
lines changed

assets/mdui.css

Lines changed: 607 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"@malept/[email protected]": "patches/@[email protected]",
5858
5959
60-
60+
61+
6162
},
6263
"neverBuiltDependencies": []
6364
},
@@ -80,6 +81,7 @@
8081
"@jellybrick/electron-better-web-request": "1.0.4",
8182
"@jellybrick/mpris-service": "2.1.5",
8283
"@jimp/plugin-color": "1.6.0",
84+
"@mdui/icons": "^1.0.3",
8385
"@skyra/jaro-winkler": "1.1.1",
8486
"@xhayper/discord-rpc": "1.3.0",
8587
"async-mutex": "0.5.0",
@@ -115,6 +117,7 @@
115117
"kuroshiro": "1.2.0",
116118
"kuroshiro-analyzer-kuromoji": "1.1.0",
117119
"lazy-var": "2.2.2",
120+
"mdui": "2.1.4",
118121
"node-html-parser": "7.0.1",
119122
"node-id3": "0.2.9",
120123
"peerjs": "1.5.5",

patches/[email protected]

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
diff --git a/jsx.en.d.ts b/jsx.en.d.ts
2+
index 514d455dcdb436aaf7b2ee88deaefe01943c8b4b..48dff045dead4315936afd931336198996c88217 100644
3+
--- a/jsx.en.d.ts
4+
+++ b/jsx.en.d.ts
5+
@@ -1,12 +1,8 @@
6+
-import React from 'react';
7+
import { JQ } from '@mdui/jq';
8+
9+
-type HTMLElementProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
10+
+type HTMLElementProps = import("solid-js").JSX.HTMLAttributes<HTMLElement>;
11+
12+
-declare global {
13+
- namespace React {
14+
- namespace JSX {
15+
- interface IntrinsicElements {
16+
+export interface IntrinsicElements {
17+
/**
18+
* Avatar Component
19+
*
20+
@@ -3296,7 +3292,4 @@ declare global {
21+
*/
22+
'order'?: number;
23+
} & HTMLElementProps;
24+
- }
25+
- }
26+
- }
27+
}
28+
diff --git a/package.json b/package.json
29+
index 3fa3eeb471ce4c31d7ac1c9bcb2d6823947e91ca..c4b062020bf20b8db34ccfea500fa682a4af19a6 100644
30+
--- a/package.json
31+
+++ b/package.json
32+
@@ -60,5 +60,8 @@
33+
"tslib": "^2.8.1",
34+
"@mdui/shared": "^1.0.8",
35+
"@mdui/jq": "^3.0.3"
36+
+ },
37+
+ "peerDependencies": {
38+
+ "solid-js": "^1.9.7"
39+
}
40+
}

pnpm-lock.yaml

Lines changed: 118 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/navigation/components/back-button.tsx

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/plugins/navigation/components/forward-button.tsx

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)