-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
197 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
module.exports = { | ||
extends: "@renovamen/eslint-config-react", | ||
ignorePatterns: ["node_modules/", "dist/"], | ||
rules: { | ||
{ | ||
"extends": "@renovamen/eslint-config-react", | ||
"ignorePatterns": ["node_modules/", "dist/"], | ||
"rules": { | ||
"@typescript-eslint/ban-types": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-unused-vars": "off" | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"react/jsx-no-undef": "off" | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "playground-macos", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "vite build", | ||
"dev": "vite --host", | ||
|
@@ -58,6 +59,7 @@ | |
"taze": "^0.13.3", | ||
"typescript": "^5.4.2", | ||
"unocss": "^0.58.5", | ||
"unplugin-auto-import": "^0.17.5", | ||
"vite": "^5.1.6" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
// @ts-nocheck | ||
// noinspection JSUnusedGlobalSymbols | ||
// Generated by unplugin-auto-import | ||
export {} | ||
declare global { | ||
const AppWindow: typeof import('./components/AppWindow')['default'] | ||
const AppleMenu: typeof import('./components/menus/AppleMenu')['default'] | ||
const Battery: typeof import('./components/menus/Battery')['default'] | ||
const Bear: typeof import('./components/apps/Bear')['default'] | ||
const ControlCenterMenu: typeof import('./components/menus/ControlCenterMenu')['default'] | ||
const Dock: typeof import('./components/dock/Dock')['default'] | ||
const DockItem: typeof import('./components/dock/DockItem')['default'] | ||
const FaceTime: typeof import('./components/apps/FaceTime')['default'] | ||
const Launchpad: typeof import('./components/Launchpad')['default'] | ||
const MenuItem: typeof import('./components/menus/base')['MenuItem'] | ||
const MenuItemGroup: typeof import('./components/menus/base')['MenuItemGroup'] | ||
const Safari: typeof import('./components/apps/Safari')['default'] | ||
const Spotlight: typeof import('./components/Spotlight')['default'] | ||
const Terminal: typeof import('./components/apps/Terminal')['default'] | ||
const TopBar: typeof import('./components/menus/TopBar')['default'] | ||
const Typora: typeof import('./components/apps/Typora')['default'] | ||
const VSCode: typeof import('./components/apps/VSCode')['default'] | ||
const WifiMenu: typeof import('./components/menus/WifiMenu')['default'] | ||
const Window: typeof import('./components/Window')['default'] | ||
const createRef: typeof import('react')['createRef'] | ||
const forwardRef: typeof import('react')['forwardRef'] | ||
const lazy: typeof import('react')['lazy'] | ||
const memo: typeof import('react')['memo'] | ||
const startTransition: typeof import('react')['startTransition'] | ||
const useAudio: typeof import('./hooks/useAudio')['useAudio'] | ||
const useBattery: typeof import('./hooks/useBattery')['useBattery'] | ||
const useCallback: typeof import('react')['useCallback'] | ||
const useClickOutside: typeof import('./hooks/useClickOutside')['useClickOutside'] | ||
const useContext: typeof import('react')['useContext'] | ||
const useDebugValue: typeof import('react')['useDebugValue'] | ||
const useDeferredValue: typeof import('react')['useDeferredValue'] | ||
const useEffect: typeof import('react')['useEffect'] | ||
const useId: typeof import('react')['useId'] | ||
const useImperativeHandle: typeof import('react')['useImperativeHandle'] | ||
const useInsertionEffect: typeof import('react')['useInsertionEffect'] | ||
const useInterval: typeof import('./hooks/useInterval')['useInterval'] | ||
const useLayoutEffect: typeof import('react')['useLayoutEffect'] | ||
const useMemo: typeof import('react')['useMemo'] | ||
const useReducer: typeof import('react')['useReducer'] | ||
const useRef: typeof import('react')['useRef'] | ||
const useState: typeof import('react')['useState'] | ||
const useStore: typeof import('./stores/index')['useStore'] | ||
const useSyncExternalStore: typeof import('react')['useSyncExternalStore'] | ||
const useTransition: typeof import('react')['useTransition'] | ||
const useWindowSize: typeof import('./hooks/useWindowSize')['useWindowSize'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import { useBattery } from "~/hooks"; | ||
|
||
export default function Battery() { | ||
const batteryState = useBattery(); | ||
|
||
|
Oops, something went wrong.