-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main 🧊 add test for use storage childs, rework add files registry
- Loading branch information
Showing
25 changed files
with
292 additions
and
963 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 |
---|---|---|
|
@@ -218,3 +218,7 @@ generated | |
|
||
# Cursor | ||
.cursor | ||
|
||
# Reactuse | ||
|
||
**/registry.json |
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,14 +1,14 @@ | ||
import { eslint } from '@siberiacancode/eslint'; | ||
import { eslint } from "@siberiacancode/eslint"; | ||
|
||
export default eslint( | ||
{ | ||
typescript: true | ||
typescript: true, | ||
}, | ||
{ | ||
name: 'siberiacancode/cli/rewrite', | ||
name: "siberiacancode/cli/rewrite", | ||
rules: { | ||
'node/prefer-global/process': 'off', | ||
'node/prefer-global/buffer': 'off' | ||
} | ||
"node/prefer-global/process": "off", | ||
"node/prefer-global/buffer": "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
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,25 +1,26 @@ | ||
import { eslint } from '@siberiacancode/eslint'; | ||
import { eslint } from "@siberiacancode/eslint"; | ||
|
||
export default eslint( | ||
{ | ||
typescript: true, | ||
javascript: true, | ||
react: true, | ||
jsx: true, | ||
vue: true | ||
vue: true, | ||
}, | ||
{ | ||
name: 'siberiacancode/core/hooks', | ||
files: ['**/hooks/**/*.ts'], | ||
name: "siberiacancode/core/hooks", | ||
files: ["**/hooks/**/*.ts"], | ||
rules: { | ||
'jsdoc/no-defaults': 'off' | ||
} | ||
"jsdoc/no-defaults": "off", | ||
"react-hooks/rules-of-hooks": "warn", | ||
}, | ||
}, | ||
{ | ||
name: 'siberiacancode/core/demo', | ||
files: ['**/*.demo.tsx'], | ||
name: "siberiacancode/core/demo", | ||
files: ["**/*.demo.tsx"], | ||
rules: { | ||
'no-alert': 'off' | ||
} | ||
"no-alert": "off", | ||
}, | ||
} | ||
); |
80 changes: 80 additions & 0 deletions
80
packages/core/src/bundle/hooks/useBreakpoints/helpers/breakpoints.js
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,80 @@ | ||
/** Breakpoints from Material UI */ | ||
export const BREAKPOINTS_MATERIAL_UI = { | ||
xs: 0, | ||
sm: 600, | ||
md: 900, | ||
lg: 1200, | ||
xl: 1536 | ||
}; | ||
/** Breakpoints from Mantine */ | ||
export const BREAKPOINTS_MANTINE = { | ||
xs: 576, | ||
sm: 768, | ||
md: 992, | ||
lg: 1200, | ||
xl: 1408 | ||
}; | ||
/** Breakpoints from Tailwind */ | ||
export const BREAKPOINTS_TAILWIND = { | ||
sm: 640, | ||
md: 768, | ||
lg: 1024, | ||
xl: 1280, | ||
'2xl': 1536 | ||
}; | ||
/** Breakpoints from Bootstrap V5 */ | ||
export const BREAKPOINTS_BOOTSTRAP_V5 = { | ||
xs: 0, | ||
sm: 576, | ||
md: 768, | ||
lg: 992, | ||
xl: 1200, | ||
xxl: 1400 | ||
}; | ||
/** Breakpoints from Ant Design */ | ||
export const BREAKPOINTS_ANT_DESIGN = { | ||
xs: 480, | ||
sm: 576, | ||
md: 768, | ||
lg: 992, | ||
xl: 1200, | ||
xxl: 1600 | ||
}; | ||
/** Breakpoints from Quasar V2 */ | ||
export const BREAKPOINTS_QUASAR_V2 = { | ||
xs: 0, | ||
sm: 600, | ||
md: 1024, | ||
lg: 1440, | ||
xl: 1920 | ||
}; | ||
/** Sematic Breakpoints */ | ||
export const BREAKPOINTS_SEMANTIC = { | ||
mobileS: 320, | ||
mobileM: 375, | ||
mobileL: 425, | ||
tablet: 768, | ||
laptop: 1024, | ||
laptopL: 1440, | ||
desktop4K: 2560 | ||
}; | ||
/** Breakpoints from Master CSS */ | ||
export const BREAKPOINTS_MASTER_CSS = { | ||
'3xs': 360, | ||
'2xs': 480, | ||
xs: 600, | ||
sm: 768, | ||
md: 1024, | ||
lg: 1280, | ||
xl: 1440, | ||
'2xl': 1600, | ||
'3xl': 1920, | ||
'4xl': 2560 | ||
}; | ||
/** Breakpoints from PrimeFlex */ | ||
export const BREAKPOINTS_PRIME_FLEX = { | ||
sm: 576, | ||
md: 768, | ||
lg: 992, | ||
xl: 1200 | ||
}; |
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 @@ | ||
export * from './breakpoints'; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './mapGamepadToXbox360Controller'; |
Oops, something went wrong.