@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
19 lines (18 loc) • 735 B
JavaScript
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
v3.2.1 */
import { c as calciteContainerSizeWidthXxs, a as calciteContainerSizeWidthXs, b as calciteContainerSizeWidthSm, d as calciteContainerSizeWidthMd } from "./global.js";
const breakpoints = {
width: {
medium: cssLengthToNumber(calciteContainerSizeWidthMd.max),
small: cssLengthToNumber(calciteContainerSizeWidthSm.max),
xsmall: cssLengthToNumber(calciteContainerSizeWidthXs.max),
xxsmall: cssLengthToNumber(calciteContainerSizeWidthXxs.max)
}
};
function cssLengthToNumber(length) {
return parseInt(length);
}
export {
breakpoints as b
};