UNPKG

@react-spectrum/s2

Version:
66 lines (57 loc) 2.65 kB
require("./Asterisk.css"); var $d9dc786f5abb00a6$exports = require("./S2_AsteriskSize200.cjs"); var $ed4f205285d6b9d1$exports = require("./S2_AsteriskSize100.cjs"); var $6c0e594594f1dd82$exports = require("./S2_AsteriskSize300.cjs"); var $7YyRN$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", () => $5d3efbee7071458b$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 $5d3efbee7071458b$var$styles = function anonymous(props) { let rules = " "; if (props.size === "XL") rules += ' Zi91'; else if (props.size === "L") rules += ' Zi91'; else if (props.size === "M") rules += ' Zh91'; if (props.size === "XL") rules += ' Fj91'; else if (props.size === "L") rules += ' Fj91'; else if (props.size === "M") rules += ' Fi91'; return rules; }; function $5d3efbee7071458b$export$2e2bcd8739ae039(props) { let { size: size = 'M', ...otherProps } = props; switch(size){ case 'M': return /*#__PURE__*/ (0, $7YyRN$reactjsxruntime.jsx)((0, $ed4f205285d6b9d1$exports.default), { ...otherProps, className: (otherProps.className || '') + $5d3efbee7071458b$var$styles({ size: size }) }); case 'L': return /*#__PURE__*/ (0, $7YyRN$reactjsxruntime.jsx)((0, $d9dc786f5abb00a6$exports.default), { ...otherProps, className: (otherProps.className || '') + $5d3efbee7071458b$var$styles({ size: size }) }); case 'XL': return /*#__PURE__*/ (0, $7YyRN$reactjsxruntime.jsx)((0, $6c0e594594f1dd82$exports.default), { ...otherProps, className: (otherProps.className || '') + $5d3efbee7071458b$var$styles({ size: size }) }); } } //# sourceMappingURL=Asterisk.cjs.map