worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
23
node_modules/@mui/system/cssContainerQueries/cssContainerQueries.d.ts
generated
vendored
Normal file
23
node_modules/@mui/system/cssContainerQueries/cssContainerQueries.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { Breakpoints } from "../createBreakpoints/createBreakpoints.js";
|
||||
export interface ContainerQueries {
|
||||
up: Breakpoints['up'];
|
||||
down: Breakpoints['down'];
|
||||
between: Breakpoints['between'];
|
||||
only: Breakpoints['only'];
|
||||
not: Breakpoints['not'];
|
||||
}
|
||||
export interface CssContainerQueries {
|
||||
containerQueries: ((name: string) => ContainerQueries) & ContainerQueries;
|
||||
}
|
||||
/**
|
||||
* For using in `sx` prop to sort the breakpoint from low to high.
|
||||
* Note: this function does not work and will not support multiple units.
|
||||
* e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }
|
||||
* output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 eventhough 40rem > 300px
|
||||
*/
|
||||
export declare function sortContainerQueries(theme: Partial<CssContainerQueries>, css: Record<string, any>): Record<string, any>;
|
||||
export declare function isCqShorthand(breakpointKeys: string[], value: string): boolean;
|
||||
export declare function getContainerQuery(theme: CssContainerQueries, shorthand: string): string | null;
|
||||
export default function cssContainerQueries<T extends {
|
||||
breakpoints: Breakpoints;
|
||||
}>(themeInput: T): T & CssContainerQueries;
|
||||
Loading…
Add table
Add a link
Reference in a new issue