mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
* breaking: re-name event "on:match" to "on:change" in `Breakpoint.svelte` * feat: add `breakpointObserver` read-only store * refactor: export breakpoint constants from `breakpoints.js`
9 lines
307 B
TypeScript
9 lines
307 B
TypeScript
/**
|
|
* Pixel sizes of Carbon grid breakpoints.
|
|
* @type {Record<BreakpointSize, BreakpointValue>}
|
|
*/
|
|
export const breakpoints: Record<BreakpointSize, BreakpointValue>;
|
|
|
|
export type BreakpointSize = "sm" | "md" | "lg" | "xlg" | "max";
|
|
|
|
export type BreakpointValue = 320 | 672 | 1056 | 1312 | 1584;
|