@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 5.63 kB
JavaScript
/*
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
* Licensed 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 CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Dollar = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var iconTypes_1 = require("../../iconTypes");
var svgIconContainer_1 = require("../../svgIconContainer");
exports.Dollar = React.forwardRef(function (props, ref) {
var isLarge = props.size >= iconTypes_1.IconSize.LARGE;
var pixelGridSize = isLarge ? iconTypes_1.IconSize.LARGE : iconTypes_1.IconSize.STANDARD;
var translation = "".concat(-1 * pixelGridSize / 0.05 / 2);
var style = { transformOrigin: "center" };
return (React.createElement(svgIconContainer_1.SVGIconContainer, tslib_1.__assign({ iconName: "dollar", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M311.4 176.2C306 186.4 298.8 194.8 290 201.4C281.2 208 271 213.4 259.8 217.2C248.6 221.2 237 224.4 225.4 227.2C213.4 230 201.6 232.4 190.4 234.8C179 237.4 169 240.2 160.2 243.6C151.4 247 144.2 251.2 138.8 256.2C133.4 261.2 130.6 268 130.6 276.2C130.6 282.8 132.4 288.2 136.2 292.4C140 296.6 144.6 299.6 150 301.8C155.4 304 161.4 305.4 167.6 306.2C173.8 307 179.2 307.4 183.6 307.4C197.8 307.4 210.6 304.6 221.6 299.2C232.6000000000001 293.8 239.8000000000001 283 242.8000000000001 266.8H310.0000000000001C308.2000000000001 283.6 303.6 298 296.2000000000001 310C288.8000000000001 322 279.6 331.6 268.6000000000001 339C257.4000000000001 346.4 245.0000000000001 351.8 231.4000000000001 355.2C227.6000000000001 356.2 223.8000000000001 356.6 220.0000000000001 357.2V380C220.0000000000001 391 211.0000000000001 400 200.0000000000001 400H180.0000000000001C169.0000000000001 400 160.0000000000001 391 160.0000000000001 380V358C155.6000000000001 357.4 151.4000000000001 357 146.8000000000001 356C132.2 353.4 119 348.6 107.2 341.8C95.2 335 85.4 325.8 77.8 314.8C70 303.6 66.2 289.8 66.2 273.2C66.2 258 68.8 245 74.2 234.6C79.4 224.2 86.6 215.6 95.4 209C104.2 202.4 114.2 197 125.4 193.2C136.4 189.2 148 186 160.2 183.2C171.8 180.4 183.4 178 194.6 175.6C205.8 173.2 216 170.4 224.8 167C233.6 163.6 240.8 159.2 246.6 153.8C252.2 148.4 255.2 141.2 255.6 132.6C256 124 254 117 249.6 111.8C245.2 106.6 239.8 102.4 233 99.8C226.2 97 219 95.2 211.2 94.2000000000001C203.4 93.2 196.6 92.8 190.6 92.8C173.2 92.8 158.4 96.8 146 104.6C133.6 112.4 126.4 126.2 124.6 145.8H60C60.4 127.8 63.8 112.2000000000001 70.4 99C77 85.8 86 74.8000000000001 97.4 66C108.8 57.2 122.4 50.6 138 46.4C145 44.4 152.2 43.2 159.6 42.2V20C159.6 9 168.6 0 179.6 0H199.6C210.6 0 219.6 9 219.6 20V42.6C224.6 43.4 229.6 44 234.8 45.1999999999999C250.2 48.8 264.2000000000001 54.4 276.8 62.2C289.4000000000001 70 299.6 80.2 307.6 92.8C315.6 105.4 319.4 120.6 319.4 138.6C319.6 153.6 316.8 166 311.4 176.2z" : "M256.6 129.8C254.6 135.8 251.6 141.4 247.6 146.6C243.6 151.8 238.6 156.4 232.6 160.6C226.6 164.6 219.6 167.8 211.6 170.2C208.4 171 203 172.4 195.6 174.2C188.6 176 181 177.8 173.2 179.8C165.4 181.8 158.4 183.6 152 185.2C145.8 186.8 142.2 187.6 141.2 187.8C132.6 190.2 125.6 193.6 120.2 198.2C114.8 202.8 112.2 209.2 112.2 217.2C112.2 223 113.6 227.8 116.4 231.6C119.2 235.4 122.8 238.4 127.2 240.8C131.6 243 136.4 244.6 141.6 245.6C146.8 246.6 152 247.2 157 247.2C171.8 247.2 184 244.2 193.6 238C203.2 232 208.6 221.4 209.8 206.8H252.6C252.6 218.8 250 229.4 245 238.4C240 247.4 233.2 255.2 224.6 261.4C216 267.6 206 272.2 194.8 275.4C190 276.6 185 277.4 179.8 278.2V300C179.8 311 170.8 320 159.8 320C148.8 320 139.8 311 139.8 300V278.4C135.2 277.8 130.6 277 126.2 275.8C115.4 273.2 105.8 269 97.4 263.6C89 258 82.2 251 77 242.6C71.8 234 69.2 224 69.2 212.6C69.2 206.6 70 200.8 71.8 195C73.6 189.2 76.4 183.8 80.6 178.6C84.8 173.4 90.2 168.8 97.2 164.6C104.2 160.4 113 157 123.4 154.4C140.4 150.2 154.6 146.8 166.2 144C177.8 141.4 187.8 138.4 196.6 135.6C201.6 133.8 206.2 131 210.4 126.8C214.6 122.6 216.8 116.2 216.8 107.4C216.8 103.2 215.8 99 214 94.8C212.2 90.6 209.2 86.9999999999999 205 83.8C200.8 80.6 195.6 78 188.8 75.9999999999999C182.2 73.9999999999999 174.2 72.9999999999999 164.8 72.9999999999999C156.2 72.9999999999999 148 73.9999999999999 140.6 75.8C133.2 77.5999999999999 126.6 80.6 120.8 84.4C115 88.3999999999999 110.6 93.3999999999999 107.4 99.5999999999999C104.2 105.8 102.6 113.1999999999999 102.6 122H60C60.2 107.8 63 95.6 68.6 85.2C74 74.8 81.4 66.4 90.6 59.8C99.8 53.2 110.4 48.2 122.8 44.9999999999999C128.2 43.6 134 42.6 139.8 41.8V20C139.8 9 148.8 0 159.8 0C170.8 0 179.8 9 179.8 20V41C185.8 41.6 192 42.6 197.8 44C209.4 46.6 219.8 50.8 229.0000000000001 56.6C238.2000000000001 62.4 245.6 69.8 251.2 78.8C256.8 87.8 259.6 98.8 259.6 111.6C259.6 117.8 258.6 123.8 256.6 129.8z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.Dollar.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.Dollar.displayName = "Blueprint5.Icon.Dollar";
exports.default = exports.Dollar;
//# sourceMappingURL=dollar.js.map
;