Skip to content

Commit

Permalink
feat: update quarkc
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Jul 12, 2023
1 parent fae59f7 commit 4d97b30
Show file tree
Hide file tree
Showing 7 changed files with 475 additions and 6 deletions.
433 changes: 433 additions & 0 deletions lib/index.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lib/index.umd.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions lib/types/dark-mode.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { QuarkElement } from "quarkc";
export default class DarkMode extends QuarkElement {
constructor();
componentDidMount(): void;
turnDark: () => void;
turnLight: () => void;
render(): any;
}
24 changes: 24 additions & 0 deletions lib/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { QuarkElement } from "quarkc";
import "./dark-mode.tsx";
import "@docsearch/css";
declare class MyComponent extends QuarkElement {
#private;
from: string;
logo: string;
githubUrl: string;
homeUrl: string;
guideUrl: string;
componentUrl: string;
activeNav: string;
searchRef: {
current: any;
};
constructor();
navActive: () => void;
componentDidMount(): void;
_quarkdLogoSwitch: () => void;
_quarkcLogoSwitch: () => void;
_switchLang: () => void;
render(): any;
}
export default MyComponent;
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"dependencies": {
"@docsearch/js": "^3.4.0",
"quarkc": "^1.0.17"
"quarkc": "^1.0.37"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.1",
Expand Down

0 comments on commit 4d97b30

Please sign in to comment.