UNPKG

@blueprintjs/icons

Version:

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

31 lines 4.53 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 ListColumns = 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: "list-columns", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M0 340.5315614L0 359.269103C0 370.63122924 9.18978912 379.8006644518 20.5771366 380L159.4228634 380C170.8102108 380 180 370.63122924 180 359.4684386L180 340.5315614C180 329.1694352 170.6104328 320 159.4228634 320L20.5771366 320C9.18978912 320 0 329.1694352 0 340.5315614zM0 240.5315614L0 259.269103C0 270.6312292 9.18978912 279.8006644 20.5771366 280L159.4228634 280C170.8102108 280 180 270.6312292 180 259.4684386L180 240.5315614C180 229.1694352 170.6104328 220 159.4228634 220L20.5771366 220C9.18978912 220 0 229.1694352 0 240.5315614zM0 140.531562L0 159.269102C0 170.63123 9.18978912 179.800664 20.5771366 180L159.4228634 180C170.8102108 180 180 170.63123 180 159.468438L180 140.531562C180 129.169436 170.6104328 120 159.4228634 120L20.5771366 120C9.18978912 120 0 129.169436 0 140.531562zM0 40.531562L0 59.269102C0 70.6312300000001 9.18978912 79.800664 20.5771366 80L159.4228634 80C170.8102108 80 180 70.6312300000001 180 59.4684380000001L180 40.531562C180 29.169436 170.6104328 20 159.4228634 20L20.5771366 20C9.18978912 20 0 29.169436 0 40.531562zM220 340.5315614L220 359.269103C220 370.63122924 229.18979 379.8006644518 240.577136 380L379.422864 380C390.81021 380 400 370.63122924 400 359.4684386L400 340.5315614C400 329.1694352 390.610432 320 379.422864 320L240.577136 320C229.18979 320 220 329.1694352 220 340.5315614zM220 240.5315614L220 259.269103C220 270.6312292 229.18979 279.8006644 240.577136 280L379.422864 280C390.81021 280 400 270.6312292 400 259.4684386L400 240.5315614C400 229.1694352 390.610432 220 379.422864 220L240.577136 220C229.18979 220 220 229.1694352 220 240.5315614zM220 140.531562L220 159.269102C220 170.63123 229.18979 179.800664 240.577136 180L379.422864 180C390.81021 180 400 170.63123 400 159.468438L400 140.531562C400 129.169436 390.610432 120 379.422864 120L240.577136 120C229.18979 120 220 129.169436 220 140.531562zM220 40.531562L220 59.269102C220 70.6312300000001 229.18979 79.800664 240.577136 80L379.422864 80C390.81021 80 400 70.6312300000001 400 59.4684380000001L400 40.531562C400 29.169436 390.610432 20 379.422864 20L240.577136 20C229.18979 20 220 29.169436 220 40.531562z" : "M120 300C131 300 140 291 140 280C140 269 131 260 120 260L20 260C9 260 0 269 0 280C0 291 9 300 20 300L120 300zM120 220C131 220 140 211 140 200C140 189 131 180 120 180L20 180C9 180 0 189 0 200C0 211 9 220 20 220L120 220zM120 140C131 140 140 131 140 120C140 109 131 100 120 100L20 100C9 100 0 109 0 120C0 131 9 140 20 140L120 140zM120 60C131 60 140 51 140 40C140 29 131 20 120 20L20 20C9 20 0 29 0 40C0 51 9 60 20 60L120 60zM300 300C311 300 320 291 320 280C320 269 311 260 300 260L200 260C189 260 180 269 180 280C180 291 189 300 200 300L300 300zM300 220C311 220 320 211 320 200C320 189 311 180 300 180L200 180C189 180 180 189 180 200C180 211 189 220 200 220L300 220zM300 140C311 140 320 131 320 120C320 109 311 100 300 100L200 100C189 100 180 109 180 120C180 131 189 140 200 140L300 140zM300 60C311 60 320 51 320 40C320 29 311 20 300 20L200 20C189 20 180 29 180 40C180 51 189 60 200 60L300 60z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); ListColumns.defaultProps = { size: IconSize.STANDARD, }; ListColumns.displayName = `Blueprint5.Icon.ListColumns`; export default ListColumns; //# sourceMappingURL=list-columns.js.map