UNPKG

@react-spectrum/s2

Version:
94 lines (84 loc) 3.95 kB
import "./Chevron.css"; import $229b932983a6c939$export$2e2bcd8739ae039 from "./S2_ChevronSize200.mjs"; import $9478429bc3f7b6ed$export$2e2bcd8739ae039 from "./S2_ChevronSize100.mjs"; import $4db503230000328c$export$2e2bcd8739ae039 from "./S2_ChevronSize75.mjs"; import $a590e5c7c9dae776$export$2e2bcd8739ae039 from "./S2_ChevronSize300.mjs"; import $9ffec407d8936863$export$2e2bcd8739ae039 from "./S2_ChevronSize50.mjs"; import $0c7cb9e52fc14b01$export$2e2bcd8739ae039 from "./S2_ChevronSize400.mjs"; import {jsx as $flSpw$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 $4b69f02ec06b9226$var$styles = function anonymous(props) { let rules = " "; if (props.size === "S") rules += ' Zi91'; else if (props.size === "XS") rules += ' Zg91'; 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 += ' Fg91'; 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 $4b69f02ec06b9226$export$2e2bcd8739ae039(props) { let { size: size = 'M', ...otherProps } = props; switch(size){ case 'M': return /*#__PURE__*/ (0, $flSpw$jsx)((0, $9478429bc3f7b6ed$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $4b69f02ec06b9226$var$styles({ size: size }) }); case 'L': return /*#__PURE__*/ (0, $flSpw$jsx)((0, $229b932983a6c939$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $4b69f02ec06b9226$var$styles({ size: size }) }); case 'XL': return /*#__PURE__*/ (0, $flSpw$jsx)((0, $a590e5c7c9dae776$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $4b69f02ec06b9226$var$styles({ size: size }) }); case 'XXL': return /*#__PURE__*/ (0, $flSpw$jsx)((0, $0c7cb9e52fc14b01$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $4b69f02ec06b9226$var$styles({ size: size }) }); case 'XS': return /*#__PURE__*/ (0, $flSpw$jsx)((0, $9ffec407d8936863$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $4b69f02ec06b9226$var$styles({ size: size }) }); case 'S': return /*#__PURE__*/ (0, $flSpw$jsx)((0, $4db503230000328c$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $4b69f02ec06b9226$var$styles({ size: size }) }); } } export {$4b69f02ec06b9226$export$2e2bcd8739ae039 as default}; //# sourceMappingURL=Chevron.mjs.map