UNPKG

@react-spectrum/s2

Version:
94 lines (84 loc) 3.97 kB
import "./Checkmark.css"; import $2226697abda770d9$export$2e2bcd8739ae039 from "./S2_CheckmarkSize200.mjs"; import $350b1bc6d608703f$export$2e2bcd8739ae039 from "./S2_CheckmarkSize100.mjs"; import $31137b4739adcf2e$export$2e2bcd8739ae039 from "./S2_CheckmarkSize75.mjs"; import $3fce75c1c33635c3$export$2e2bcd8739ae039 from "./S2_CheckmarkSize300.mjs"; import $d40ccf970611a77a$export$2e2bcd8739ae039 from "./S2_CheckmarkSize50.mjs"; import $d9785d3b2bcf9fb0$export$2e2bcd8739ae039 from "./S2_CheckmarkSize400.mjs"; import {jsx as $9G1g0$jsx} from "react/jsx-runtime"; /* * Copyright 2024 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ let $81cf3d4588736e7d$var$styles = function anonymous(props) { let rules = " "; if (props.size === "S") rules += ' Zi91'; else if (props.size === "XS") rules += ' Zi91'; else if (props.size === "XXL") rules += ' Zu91'; else if (props.size === "XL") rules += ' Zk91'; else if (props.size === "L") rules += ' Zj91'; else if (props.size === "M") rules += ' Zi91'; if (props.size === "S") rules += ' Fj91'; else if (props.size === "XS") rules += ' Fj91'; else if (props.size === "XXL") rules += ' Ft91'; else if (props.size === "XL") rules += ' Fl91'; else if (props.size === "L") rules += ' Fk91'; else if (props.size === "M") rules += ' Fj91'; return rules; }; function $81cf3d4588736e7d$export$2e2bcd8739ae039(props) { let { size: size = 'M', ...otherProps } = props; switch(size){ case 'M': return /*#__PURE__*/ (0, $9G1g0$jsx)((0, $350b1bc6d608703f$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $81cf3d4588736e7d$var$styles({ size: size }) }); case 'L': return /*#__PURE__*/ (0, $9G1g0$jsx)((0, $2226697abda770d9$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $81cf3d4588736e7d$var$styles({ size: size }) }); case 'XL': return /*#__PURE__*/ (0, $9G1g0$jsx)((0, $3fce75c1c33635c3$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $81cf3d4588736e7d$var$styles({ size: size }) }); case 'XXL': return /*#__PURE__*/ (0, $9G1g0$jsx)((0, $d9785d3b2bcf9fb0$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $81cf3d4588736e7d$var$styles({ size: size }) }); case 'XS': return /*#__PURE__*/ (0, $9G1g0$jsx)((0, $d40ccf970611a77a$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $81cf3d4588736e7d$var$styles({ size: size }) }); case 'S': return /*#__PURE__*/ (0, $9G1g0$jsx)((0, $31137b4739adcf2e$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $81cf3d4588736e7d$var$styles({ size: size }) }); } } export {$81cf3d4588736e7d$export$2e2bcd8739ae039 as default}; //# sourceMappingURL=Checkmark.mjs.map