UNPKG

@react-spectrum/s2

Version:
99 lines (87 loc) 4.11 kB
require("./Checkmark.css"); var $11cffb46d5a277d9$exports = require("./S2_CheckmarkSize200.cjs"); var $3b9e73c6cb6e75e2$exports = require("./S2_CheckmarkSize100.cjs"); var $405627385ad1e306$exports = require("./S2_CheckmarkSize75.cjs"); var $82d6351c2274ce7d$exports = require("./S2_CheckmarkSize300.cjs"); var $a7789dc7eb1c57c5$exports = require("./S2_CheckmarkSize50.cjs"); var $8a3187c23d68317f$exports = require("./S2_CheckmarkSize400.cjs"); var $fQmKa$reactjsxruntime = require("react/jsx-runtime"); function $parcel$export(e, n, v, s) { Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); } $parcel$export(module.exports, "default", () => $dba2b18fc5727f9b$export$2e2bcd8739ae039); /* * 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 $dba2b18fc5727f9b$var$styles = function anonymous(props) { let rules = " "; if (props.size === "S") rules += ' Zi1'; else if (props.size === "XS") rules += ' Zi1'; else if (props.size === "XXL") rules += ' Zu1'; else if (props.size === "XL") rules += ' Zk1'; else if (props.size === "L") rules += ' Zj1'; else if (props.size === "M") rules += ' Zi1'; if (props.size === "S") rules += ' Fj1'; else if (props.size === "XS") rules += ' Fj1'; else if (props.size === "XXL") rules += ' Ft1'; else if (props.size === "XL") rules += ' Fl1'; else if (props.size === "L") rules += ' Fk1'; else if (props.size === "M") rules += ' Fj1'; return rules; }; function $dba2b18fc5727f9b$export$2e2bcd8739ae039(props) { let { size: size = 'M', ...otherProps } = props; switch(size){ case 'M': return /*#__PURE__*/ (0, $fQmKa$reactjsxruntime.jsx)((0, $3b9e73c6cb6e75e2$exports.default), { ...otherProps, className: (otherProps.className || '') + $dba2b18fc5727f9b$var$styles({ size: size }) }); case 'L': return /*#__PURE__*/ (0, $fQmKa$reactjsxruntime.jsx)((0, $11cffb46d5a277d9$exports.default), { ...otherProps, className: (otherProps.className || '') + $dba2b18fc5727f9b$var$styles({ size: size }) }); case 'XL': return /*#__PURE__*/ (0, $fQmKa$reactjsxruntime.jsx)((0, $82d6351c2274ce7d$exports.default), { ...otherProps, className: (otherProps.className || '') + $dba2b18fc5727f9b$var$styles({ size: size }) }); case 'XXL': return /*#__PURE__*/ (0, $fQmKa$reactjsxruntime.jsx)((0, $8a3187c23d68317f$exports.default), { ...otherProps, className: (otherProps.className || '') + $dba2b18fc5727f9b$var$styles({ size: size }) }); case 'XS': return /*#__PURE__*/ (0, $fQmKa$reactjsxruntime.jsx)((0, $a7789dc7eb1c57c5$exports.default), { ...otherProps, className: (otherProps.className || '') + $dba2b18fc5727f9b$var$styles({ size: size }) }); case 'S': return /*#__PURE__*/ (0, $fQmKa$reactjsxruntime.jsx)((0, $405627385ad1e306$exports.default), { ...otherProps, className: (otherProps.className || '') + $dba2b18fc5727f9b$var$styles({ size: size }) }); } } //# sourceMappingURL=Checkmark.cjs.map