UNPKG

@blueprintjs/icons

Version:

Components, fonts, icons, and css files for creating and displaying icons.

31 lines 5.63 kB
/* * 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. */ import * as React from "react"; import { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; export const PasteVariable = React.forwardRef((props, ref) => { const isLarge = props.size >= IconSize.LARGE; const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD; const translation = `${-1 * pixelGridSize / 0.05 / 2}`; const style = { transformOrigin: "center" }; return (React.createElement(SVGIconContainer, { iconName: "paste-variable", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M240 380C251 380 260 371 260 360V320H120V360C120 371 129 380 140 380H155.6C162.4 392 175.2 400 190 400C204.8 400 217.4 392 224.4 380H240zM280 360H320C331 360 340 351 340 340V20C340 9 331 0 320 0H60C49 0 40 9 40 20V340C40 351 49 360 60 360H100V300H280V360zM278.648 110.164L285.556 106.23C274.254 88.328 263.158 75.738 251.856 68.656C243.482 62.9500000000001 235.318 60.196 227.364 60.196C218.992 60.196 212.084 61.968 206.642 65.508C201.198 69.05 196.175 74.95 191.9886 83.016C187.802 91.082 182.7784 104.066 176.9172 121.77C161.8458 103.082 149.9144 89.508 141.332 80.852C132.7498 72.196 125.6328 66.492 119.981 63.934C114.3292 61.378 108.2588 60 101.7698 60C95.0714 60 89.8382 61.968 85.861 65.704C81.884 69.64 80 74.36 80 80.46C80 86.754 82.0932 92.066 86.489 96.196C90.8848 100.328 96.3274 102.492 102.8164 102.492C106.3748 102.492 110.352 101.508 114.7478 99.54C121.237 96.59 125.842 95.016 128.7726 95.016C132.5404 95.016 135.8896 95.606 138.8202 97.18C142.588 98.95 147.6118 103.082 153.4728 109.378C157.2408 113.312 163.7298 121.574 173.568 134.164C161.2178 178.82 151.3796 205.377 144.472 214.2296C140.0762 219.9344 134.4244 222.6886 127.726 222.6886C124.1674 222.6886 119.981 222.295 114.9572 221.3114L116.2132 228.3934L184.0342 240C196.3844 221.3114 204.966 200.6558 209.99 178.23C222.55 196.328 232.178 209.1148 238.668 216.3934C247.25 226.2296 254.368 232.5246 260.02 235.4754C265.67 238.4262 271.742 239.8032 278.02 239.8032C285.138 239.8032 290.58 237.836 294.348 234.0984C298.116 230.3606 300 225.4426000000001 300 218.9508C300 212.8524 298.116 207.9344 294.348 204.1968C290.58 200.459 285.766 198.492 280.114 198.492C275.928 198.492 271.322 199.278 265.88 200.6558C260.648 202.0328 256.88 202.8196 254.786 202.8196C249.344 202.8196 244.11 200.8524 239.296 197.114C232.388 192 224.224 180.984 214.386 164.262C225.48 126.688 234.272 103.672 240.762 95.41C244.738 90.492 248.716 88.132 252.692 88.132C256.042 88.132 258.9720000000001 88.918 261.484 90.492C265.0420000000001 93.05 270.904 99.54 278.648 110.164z" : "M179.9996 300C190.9996 300 199.9996 291 199.9996 280V260H99.9996V280C99.9996 291 108.9996 300 119.9996 300H115.5996C122.3996 312 135.1996 320 149.9996 320C164.7996 320 177.5996 312 184.3996 300H179.9996zM220 280H240C251 280 260 271 260 260V20C260 9 251 0 240 0H60C49 0 40 9 40 20V260C40 271 49 280 60 280H80V240H220V280zM206.318 93.476L210.822 90.902C203.48 78.884 196.472 70.644 189.7974 65.666C184.6246 61.888 179.4518 60 174.279 60C168.9392 60 164.6008 61.202 161.0966 63.606C157.5924 66.008 154.422 69.958 151.752 75.278C149.0822 80.772 145.745 89.356 142.0738 101.202C132.3958 88.67 124.8868 79.57 119.3802 73.906C113.8736 68.24 109.3682 64.464 105.6972 62.746C102.0262 61.03 98.1884 60.172 94.0166 60.172C89.6782 60.172 86.3408 61.374 83.838 63.948C81.335 66.524 80 69.786 80 73.734C80 77.854 81.335 81.46 84.0048 84.206C86.6746 86.952 90.1788 88.326 94.3504 88.326C96.5196 88.326 99.0226 87.64 101.8594 86.438C105.8642 84.378 108.8678 83.348 110.7032 83.348C113.2062 83.348 115.3754 83.862 117.211 84.892C119.714 86.094 122.7176 88.842 126.5554 92.962C128.8916 95.536 133.23 101.03 139.404 109.442C131.3946 139.3132 125.2204 157.1674 120.882 163.0042C118.0452 166.7812 114.5412 168.6696 110.2026 168.6696C108.0334 168.6696 105.1966 168.3262 102.0262 167.6394L102.8606 172.2746L146.0786 179.8284C153.9214 167.4678 159.4278 153.734 162.2646 138.97C170.441 150.9872 176.4482 159.5708 180.6198 164.3776C186.1264 170.9012 190.7986 175.1932 194.3028 177.0816C197.9738 178.97 201.812 180 205.816 180C210.488 180 213.826 178.7982 216.328 176.2232C218.832 173.8198 220 170.3862 220 166.0944C220 162.146 218.832 158.8842 216.328 156.309C213.992 153.734 210.99 152.5322 207.318 152.5322C204.816 152.5322 201.644 152.8756 198.3076 153.9056C194.8034 154.764 192.4672 155.279 191.1322 155.279C187.795 155.279 184.4576 154.0772 181.2872 151.5022C176.9488 148.0686 171.776 140.6866 165.435 129.5278C172.4434 104.292 178.1168 89.012 182.2884 83.348C184.7914 80.258 187.2944 78.54 189.7974 78.54C191.7998 78.54 193.8022 79.228 195.304 80.258C197.64 82.146 201.312 86.438 206.318 93.476z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); PasteVariable.defaultProps = { size: IconSize.STANDARD, }; PasteVariable.displayName = `Blueprint5.Icon.PasteVariable`; export default PasteVariable; //# sourceMappingURL=paste-variable.js.map