@blueprintjs/icons 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog/@unreleased/.gitkeep +0 -0
- package/dist/blueprint-icons-split-paths-by-size-loader.bundle.js +1 -1
- package/dist/icons.bundle.js +1 -1
- package/icons.json +14 -0
- package/lib/cjs/generated/16px/blueprint-icons-16.d.ts +4 -2
- package/lib/cjs/generated/16px/blueprint-icons-16.js +4 -0
- package/lib/cjs/generated/16px/blueprint-icons-16.js.map +1 -1
- package/lib/cjs/generated/16px/paths/binary-number.d.ts +2 -0
- package/lib/cjs/generated/16px/paths/binary-number.js +4 -0
- package/lib/cjs/generated/16px/paths/binary-number.js.map +1 -0
- package/lib/cjs/generated/16px/paths/curly-braces.d.ts +2 -0
- package/lib/cjs/generated/16px/paths/curly-braces.js +4 -0
- package/lib/cjs/generated/16px/paths/curly-braces.js.map +1 -0
- package/lib/cjs/generated/16px/paths/index.d.ts +2 -0
- package/lib/cjs/generated/16px/paths/index.js +15 -11
- package/lib/cjs/generated/16px/paths/index.js.map +1 -1
- package/lib/cjs/generated/20px/blueprint-icons-20.d.ts +4 -2
- package/lib/cjs/generated/20px/blueprint-icons-20.js +4 -0
- package/lib/cjs/generated/20px/blueprint-icons-20.js.map +1 -1
- package/lib/cjs/generated/20px/paths/binary-number.d.ts +2 -0
- package/lib/cjs/generated/20px/paths/binary-number.js +4 -0
- package/lib/cjs/generated/20px/paths/binary-number.js.map +1 -0
- package/lib/cjs/generated/20px/paths/curly-braces.d.ts +2 -0
- package/lib/cjs/generated/20px/paths/curly-braces.js +4 -0
- package/lib/cjs/generated/20px/paths/curly-braces.js.map +1 -0
- package/lib/cjs/generated/20px/paths/index.d.ts +2 -0
- package/lib/cjs/generated/20px/paths/index.js +15 -11
- package/lib/cjs/generated/20px/paths/index.js.map +1 -1
- package/lib/cjs/generated/components/binary-number.d.ts +4 -0
- package/lib/cjs/generated/components/binary-number.js +35 -0
- package/lib/cjs/generated/components/binary-number.js.map +1 -0
- package/lib/cjs/generated/components/curly-braces.d.ts +4 -0
- package/lib/cjs/generated/components/curly-braces.js +35 -0
- package/lib/cjs/generated/components/curly-braces.js.map +1 -0
- package/lib/cjs/generated/components/index.d.ts +2 -0
- package/lib/cjs/generated/components/index.js +15 -11
- package/lib/cjs/generated/components/index.js.map +1 -1
- package/lib/cjs/generated/index.d.ts +2 -0
- package/lib/cjs/generated/index.js +15 -11
- package/lib/cjs/generated/index.js.map +1 -1
- package/lib/cjs/iconCodepoints.d.ts +2 -0
- package/lib/cjs/iconNames.d.ts +4 -0
- package/lib/css/blueprint-icons-16.eot +0 -0
- package/lib/css/blueprint-icons-16.svg +6 -0
- package/lib/css/blueprint-icons-16.ttf +0 -0
- package/lib/css/blueprint-icons-16.woff +0 -0
- package/lib/css/blueprint-icons-16.woff2 +0 -0
- package/lib/css/blueprint-icons-20.eot +0 -0
- package/lib/css/blueprint-icons-20.svg +6 -0
- package/lib/css/blueprint-icons-20.ttf +0 -0
- package/lib/css/blueprint-icons-20.woff +0 -0
- package/lib/css/blueprint-icons-20.woff2 +0 -0
- package/lib/css/blueprint-icons.css +2 -2
- package/lib/css/blueprint-icons.css.map +1 -1
- package/lib/esm/generated/16px/blueprint-icons-16.d.ts +4 -2
- package/lib/esm/generated/16px/blueprint-icons-16.js +4 -0
- package/lib/esm/generated/16px/blueprint-icons-16.js.map +1 -1
- package/lib/esm/generated/16px/paths/binary-number.d.ts +2 -0
- package/lib/esm/generated/16px/paths/binary-number.js +2 -0
- package/lib/esm/generated/16px/paths/binary-number.js.map +1 -0
- package/lib/esm/generated/16px/paths/curly-braces.d.ts +2 -0
- package/lib/esm/generated/16px/paths/curly-braces.js +2 -0
- package/lib/esm/generated/16px/paths/curly-braces.js.map +1 -0
- package/lib/esm/generated/16px/paths/index.d.ts +2 -0
- package/lib/esm/generated/16px/paths/index.js +2 -0
- package/lib/esm/generated/16px/paths/index.js.map +1 -1
- package/lib/esm/generated/20px/blueprint-icons-20.d.ts +4 -2
- package/lib/esm/generated/20px/blueprint-icons-20.js +4 -0
- package/lib/esm/generated/20px/blueprint-icons-20.js.map +1 -1
- package/lib/esm/generated/20px/paths/binary-number.d.ts +2 -0
- package/lib/esm/generated/20px/paths/binary-number.js +2 -0
- package/lib/esm/generated/20px/paths/binary-number.js.map +1 -0
- package/lib/esm/generated/20px/paths/curly-braces.d.ts +2 -0
- package/lib/esm/generated/20px/paths/curly-braces.js +2 -0
- package/lib/esm/generated/20px/paths/curly-braces.js.map +1 -0
- package/lib/esm/generated/20px/paths/index.d.ts +2 -0
- package/lib/esm/generated/20px/paths/index.js +2 -0
- package/lib/esm/generated/20px/paths/index.js.map +1 -1
- package/lib/esm/generated/components/binary-number.d.ts +4 -0
- package/lib/esm/generated/components/binary-number.js +32 -0
- package/lib/esm/generated/components/binary-number.js.map +1 -0
- package/lib/esm/generated/components/curly-braces.d.ts +4 -0
- package/lib/esm/generated/components/curly-braces.js +32 -0
- package/lib/esm/generated/components/curly-braces.js.map +1 -0
- package/lib/esm/generated/components/index.d.ts +2 -0
- package/lib/esm/generated/components/index.js +2 -0
- package/lib/esm/generated/components/index.js.map +1 -1
- package/lib/esm/generated/index.d.ts +2 -0
- package/lib/esm/generated/index.js +2 -0
- package/lib/esm/generated/index.js.map +1 -1
- package/lib/esm/iconCodepoints.d.ts +2 -0
- package/lib/esm/iconNames.d.ts +4 -0
- package/lib/esnext/generated/16px/blueprint-icons-16.d.ts +4 -2
- package/lib/esnext/generated/16px/blueprint-icons-16.js +4 -0
- package/lib/esnext/generated/16px/blueprint-icons-16.js.map +1 -1
- package/lib/esnext/generated/16px/paths/binary-number.d.ts +2 -0
- package/lib/esnext/generated/16px/paths/binary-number.js +2 -0
- package/lib/esnext/generated/16px/paths/binary-number.js.map +1 -0
- package/lib/esnext/generated/16px/paths/curly-braces.d.ts +2 -0
- package/lib/esnext/generated/16px/paths/curly-braces.js +2 -0
- package/lib/esnext/generated/16px/paths/curly-braces.js.map +1 -0
- package/lib/esnext/generated/16px/paths/index.d.ts +2 -0
- package/lib/esnext/generated/16px/paths/index.js +2 -0
- package/lib/esnext/generated/16px/paths/index.js.map +1 -1
- package/lib/esnext/generated/20px/blueprint-icons-20.d.ts +4 -2
- package/lib/esnext/generated/20px/blueprint-icons-20.js +4 -0
- package/lib/esnext/generated/20px/blueprint-icons-20.js.map +1 -1
- package/lib/esnext/generated/20px/paths/binary-number.d.ts +2 -0
- package/lib/esnext/generated/20px/paths/binary-number.js +2 -0
- package/lib/esnext/generated/20px/paths/binary-number.js.map +1 -0
- package/lib/esnext/generated/20px/paths/curly-braces.d.ts +2 -0
- package/lib/esnext/generated/20px/paths/curly-braces.js +2 -0
- package/lib/esnext/generated/20px/paths/curly-braces.js.map +1 -0
- package/lib/esnext/generated/20px/paths/index.d.ts +2 -0
- package/lib/esnext/generated/20px/paths/index.js +2 -0
- package/lib/esnext/generated/20px/paths/index.js.map +1 -1
- package/lib/esnext/generated/components/binary-number.d.ts +4 -0
- package/lib/esnext/generated/components/binary-number.js +31 -0
- package/lib/esnext/generated/components/binary-number.js.map +1 -0
- package/lib/esnext/generated/components/curly-braces.d.ts +4 -0
- package/lib/esnext/generated/components/curly-braces.js +31 -0
- package/lib/esnext/generated/components/curly-braces.js.map +1 -0
- package/lib/esnext/generated/components/index.d.ts +2 -0
- package/lib/esnext/generated/components/index.js +2 -0
- package/lib/esnext/generated/components/index.js.map +1 -1
- package/lib/esnext/generated/index.d.ts +2 -0
- package/lib/esnext/generated/index.js +2 -0
- package/lib/esnext/generated/index.js.map +1 -1
- package/lib/esnext/iconCodepoints.d.ts +2 -0
- package/lib/esnext/iconNames.d.ts +4 -0
- package/lib/scss/blueprint-icons-16.scss +2 -0
- package/package.json +3 -3
- package/src/generated/16px/_icon-variables.scss +2 -0
- package/src/generated/16px/blueprint-icons-16.css +5 -5
- package/src/generated/16px/blueprint-icons-16.eot +0 -0
- package/src/generated/16px/blueprint-icons-16.svg +6 -0
- package/src/generated/16px/blueprint-icons-16.ts +8 -0
- package/src/generated/16px/blueprint-icons-16.ttf +0 -0
- package/src/generated/16px/blueprint-icons-16.woff +0 -0
- package/src/generated/16px/blueprint-icons-16.woff2 +0 -0
- package/src/generated/16px/paths/binary-number.ts +1 -0
- package/src/generated/16px/paths/curly-braces.ts +1 -0
- package/src/generated/16px/paths/index.ts +2 -0
- package/src/generated/20px/blueprint-icons-20.css +5 -5
- package/src/generated/20px/blueprint-icons-20.eot +0 -0
- package/src/generated/20px/blueprint-icons-20.svg +6 -0
- package/src/generated/20px/blueprint-icons-20.ts +8 -0
- package/src/generated/20px/blueprint-icons-20.ttf +0 -0
- package/src/generated/20px/blueprint-icons-20.woff +0 -0
- package/src/generated/20px/blueprint-icons-20.woff2 +0 -0
- package/src/generated/20px/paths/binary-number.ts +1 -0
- package/src/generated/20px/paths/curly-braces.ts +1 -0
- package/src/generated/20px/paths/index.ts +2 -0
- package/src/generated/components/binary-number.tsx +41 -0
- package/src/generated/components/curly-braces.tsx +41 -0
- package/src/generated/components/index.ts +2 -0
- package/src/generated/index.ts +2 -0
- package/src/tsconfig.json +2 -2
- package/src/type-utils/includes.ts +6 -5
- package/src/type-utils/screaming-snake-case.ts +6 -5
|
@@ -55,6 +55,7 @@ export type BlueprintIcons_20Id =
|
|
|
55
55
|
| "ban-circle"
|
|
56
56
|
| "bank-account"
|
|
57
57
|
| "barcode"
|
|
58
|
+
| "binary-number"
|
|
58
59
|
| "blank"
|
|
59
60
|
| "blocked-person"
|
|
60
61
|
| "bold"
|
|
@@ -120,6 +121,7 @@ export type BlueprintIcons_20Id =
|
|
|
120
121
|
| "cube-add"
|
|
121
122
|
| "cube-remove"
|
|
122
123
|
| "cube"
|
|
124
|
+
| "curly-braces"
|
|
123
125
|
| "curved-range-chart"
|
|
124
126
|
| "cut"
|
|
125
127
|
| "cycle"
|
|
@@ -655,6 +657,7 @@ export type BlueprintIcons_20Key =
|
|
|
655
657
|
| "BanCircle"
|
|
656
658
|
| "BankAccount"
|
|
657
659
|
| "Barcode"
|
|
660
|
+
| "BinaryNumber"
|
|
658
661
|
| "Blank"
|
|
659
662
|
| "BlockedPerson"
|
|
660
663
|
| "Bold"
|
|
@@ -720,6 +723,7 @@ export type BlueprintIcons_20Key =
|
|
|
720
723
|
| "CubeAdd"
|
|
721
724
|
| "CubeRemove"
|
|
722
725
|
| "Cube"
|
|
726
|
+
| "CurlyBraces"
|
|
723
727
|
| "CurvedRangeChart"
|
|
724
728
|
| "Cut"
|
|
725
729
|
| "Cycle"
|
|
@@ -1255,6 +1259,7 @@ export enum BlueprintIcons_20 {
|
|
|
1255
1259
|
BanCircle = "ban-circle",
|
|
1256
1260
|
BankAccount = "bank-account",
|
|
1257
1261
|
Barcode = "barcode",
|
|
1262
|
+
BinaryNumber = "binary-number",
|
|
1258
1263
|
Blank = "blank",
|
|
1259
1264
|
BlockedPerson = "blocked-person",
|
|
1260
1265
|
Bold = "bold",
|
|
@@ -1320,6 +1325,7 @@ export enum BlueprintIcons_20 {
|
|
|
1320
1325
|
CubeAdd = "cube-add",
|
|
1321
1326
|
CubeRemove = "cube-remove",
|
|
1322
1327
|
Cube = "cube",
|
|
1328
|
+
CurlyBraces = "curly-braces",
|
|
1323
1329
|
CurvedRangeChart = "curved-range-chart",
|
|
1324
1330
|
Cut = "cut",
|
|
1325
1331
|
Cycle = "cycle",
|
|
@@ -1856,6 +1862,7 @@ export const BLUEPRINT_ICONS_20_CODEPOINTS: { [key in BlueprintIcons_20]: string
|
|
|
1856
1862
|
[BlueprintIcons_20.BanCircle]: "61744",
|
|
1857
1863
|
[BlueprintIcons_20.BankAccount]: "61745",
|
|
1858
1864
|
[BlueprintIcons_20.Barcode]: "61746",
|
|
1865
|
+
[BlueprintIcons_20.BinaryNumber]: "62295",
|
|
1859
1866
|
[BlueprintIcons_20.Blank]: "61747",
|
|
1860
1867
|
[BlueprintIcons_20.BlockedPerson]: "61748",
|
|
1861
1868
|
[BlueprintIcons_20.Bold]: "61749",
|
|
@@ -1921,6 +1928,7 @@ export const BLUEPRINT_ICONS_20_CODEPOINTS: { [key in BlueprintIcons_20]: string
|
|
|
1921
1928
|
[BlueprintIcons_20.CubeAdd]: "61803",
|
|
1922
1929
|
[BlueprintIcons_20.CubeRemove]: "61804",
|
|
1923
1930
|
[BlueprintIcons_20.Cube]: "61805",
|
|
1931
|
+
[BlueprintIcons_20.CurlyBraces]: "62296",
|
|
1924
1932
|
[BlueprintIcons_20.CurvedRangeChart]: "61806",
|
|
1925
1933
|
[BlueprintIcons_20.Cut]: "61807",
|
|
1926
1934
|
[BlueprintIcons_20.Cycle]: "61808",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default ["M8.011 5.48C7.58 5.16 7.021 5 6.331 5c-.688 0-1.252.16-1.693.48A3.272 3.272 0 003.62 6.69a5.574 5.574 0 00-.496 1.607A12.204 12.204 0 003 10c0 .55.041 1.117.124 1.703.092.586.257 1.127.496 1.621.247.486.587.889 1.018 1.209.44.311 1.005.467 1.694.467.688 0 1.248-.156 1.68-.467.44-.32.78-.723 1.018-1.209a5.216 5.216 0 00.496-1.62c.091-.587.137-1.155.137-1.704 0-.55-.046-1.117-.137-1.703A5.06 5.06 0 009.03 6.69a3.109 3.109 0 00-1.019-1.21zm-.826 7.927c-.23.192-.514.288-.853.288-.35 0-.638-.096-.868-.288-.22-.202-.399-.467-.537-.797a5.087 5.087 0 01-.275-1.181A11.74 11.74 0 014.57 10c0-.504.028-.975.083-1.415.055-.449.147-.842.275-1.181.138-.339.317-.605.537-.797.23-.201.519-.302.868-.302.34 0 .624.1.853.302.23.192.409.458.537.797.138.339.234.732.29 1.181.054.44.082.911.082 1.415s-.028.98-.083 1.429a4.642 4.642 0 01-.289 1.18c-.128.33-.307.596-.537.798zm5.817-6.836A5.771 5.771 0 0112 6.657v1.286h2.463V15h1.79V5H14.92a1.542 1.542 0 01-.372.771c-.182.21-.406.381-.673.515a3.036 3.036 0 01-.874.285z"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default ["M8 3c-1.292 0-2.303.369-2.832 1.305-.234.415-.32.859-.353 1.245-.032.384-.017.781-.001 1.12.034.758.055 1.255-.08 1.644a.853.853 0 01-.253.385c-.124.108-.34.235-.724.33a1 1 0 000 1.941c.384.096.6.223.724.331.12.103.198.225.254.386.134.388.113.885.079 1.643-.016.339-.031.736.001 1.12.033.386.119.83.353 1.245C5.697 16.63 6.708 17 8 17a1 1 0 100-2c-.933 0-1.066-.244-1.089-.286l-.001-.003c-.04-.069-.082-.196-.102-.43a6.887 6.887 0 01.003-.86l.007-.145c.03-.613.073-1.475-.193-2.244A2.874 2.874 0 006.01 10c.293-.314.489-.668.615-1.032.266-.769.223-1.63.193-2.244l-.007-.144a6.887 6.887 0 01-.003-.86c.02-.235.063-.362.102-.432l.001-.002C6.934 5.244 7.067 5 8 5a1 1 0 000-2zM12 3c1.293 0 2.303.369 2.832 1.305.234.415.32.859.353 1.245.032.384.017.781.002 1.12-.035.758-.056 1.255.078 1.644.056.16.134.282.254.385.124.108.34.235.723.33a1 1 0 010 1.941c-.383.096-.599.223-.723.331a.852.852 0 00-.254.386c-.134.388-.113.885-.079 1.643.016.339.031.736-.001 1.12-.033.386-.119.83-.353 1.245C14.302 16.63 13.292 17 12 17a1 1 0 110-2c.933 0 1.066-.244 1.088-.286l.002-.003c.04-.069.082-.196.102-.43.02-.238.012-.513-.004-.86a29.272 29.272 0 00-.006-.145c-.03-.613-.073-1.475.193-2.244.127-.364.322-.718.615-1.032a2.875 2.875 0 01-.615-1.032c-.266-.769-.223-1.63-.193-2.244l.006-.144c.016-.349.024-.623.004-.86-.02-.235-.063-.362-.102-.432l-.002-.002C13.066 5.244 12.934 5 12 5a1 1 0 110-2z"];
|
|
@@ -54,6 +54,7 @@ export { default as Badge } from "./badge";
|
|
|
54
54
|
export { default as BanCircle } from "./ban-circle";
|
|
55
55
|
export { default as BankAccount } from "./bank-account";
|
|
56
56
|
export { default as Barcode } from "./barcode";
|
|
57
|
+
export { default as BinaryNumber } from "./binary-number";
|
|
57
58
|
export { default as Blank } from "./blank";
|
|
58
59
|
export { default as BlockedPerson } from "./blocked-person";
|
|
59
60
|
export { default as Bold } from "./bold";
|
|
@@ -119,6 +120,7 @@ export { default as Crown } from "./crown";
|
|
|
119
120
|
export { default as Cube } from "./cube";
|
|
120
121
|
export { default as CubeAdd } from "./cube-add";
|
|
121
122
|
export { default as CubeRemove } from "./cube-remove";
|
|
123
|
+
export { default as CurlyBraces } from "./curly-braces";
|
|
122
124
|
export { default as CurvedRangeChart } from "./curved-range-chart";
|
|
123
125
|
export { default as Cut } from "./cut";
|
|
124
126
|
export { default as Cycle } from "./cycle";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License.
|
|
5
|
+
* You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
* See the License for the specific language governing permissions and
|
|
13
|
+
* limitations under the License.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import * as React from "react";
|
|
17
|
+
import type { SVGIconProps } from "../../svgIconProps";
|
|
18
|
+
import { IconSize } from "../../iconTypes";
|
|
19
|
+
import { SVGIconContainer } from "../../svgIconContainer";
|
|
20
|
+
|
|
21
|
+
export const BinaryNumber: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
|
|
22
|
+
const isLarge = props.size! >= IconSize.LARGE;
|
|
23
|
+
const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
|
|
24
|
+
const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
|
|
25
|
+
const style = { transformOrigin: "center" };
|
|
26
|
+
return (
|
|
27
|
+
<SVGIconContainer iconName="binary-number" ref={ref} {...props}>
|
|
28
|
+
<path
|
|
29
|
+
d={isLarge ? "M160.2258 290.3846C151.5984 296.7948 140.401 300 126.6336 300C112.8664 300 101.5772 296.7948 92.7662 290.3846C84.1386 284.1576 77.3468 276.0988 72.3906 266.2088C67.6178 256.5018 64.3138 245.7876 62.4782 234.066C60.826 222.3444 60 210.989 60 200C60 189.01 60.826 177.656 62.4782 165.934C64.3138 154.212 67.6178 143.406 72.3906 133.516C77.3468 123.81 84.1386 115.75 92.7662 109.34C101.5772 103.114 112.8664 100 126.6336 100C140.401 100 151.5984 103.114 160.2258 109.34C169.0368 115.75 175.8288 123.81 180.6014 133.516C185.5576 143.406 188.8618 154.212 190.5138 165.934C192.3494 177.656 193.2672 189.01 193.2672 200C193.2672 210.989 192.3494 222.3444 190.5138 234.066C188.8618 245.7876 185.5576 256.5018 180.6014 266.2088C175.8288 276.0988 169.0368 284.1576 160.2258 290.3846zM143.705 131.868C139.116 128.022 133.4254 126.098 126.6336 126.098C119.6582 126.098 113.876 128.022 109.2868 131.868C104.8814 135.898 101.3018 141.208 98.5484 147.802C95.9784 154.578 94.1428 162.454 93.0414 171.428C91.94 180.402 91.3894 189.926 91.3894 200C91.3894 210.0732 91.94 219.5056 93.0414 228.2966C94.1428 237.271 95.9784 245.1466 98.5484 251.923C101.3018 258.6996000000001 104.8814 264.011 109.2868 267.8572000000001C113.876 271.8864 119.6582 273.901 126.6336 273.901C133.4254 273.901 139.116 271.8864 143.705 267.8572000000001C148.2942 264.011 151.8736 258.6996000000001 154.4436 251.923C157.197 245.1466 159.1244 237.271 160.2258 228.2966C161.3272 219.5056 161.8778 210.0732 161.8778 200C161.8778 189.926 161.3272 180.402 160.2258 171.428C159.1244 162.454 157.197 154.578 154.4436 147.802C151.8736 141.208 148.2942 135.898 143.705 131.868zM260.046 268.5714C253.554 267.4286 246.872 266.8572000000001 240 266.8572000000001V241.1428H289.254V100H325.048V300H298.418C297.272 293.9048 294.79 288.762 290.972 284.5714000000001C287.344 280.381 282.858 276.9524 277.514 274.2858C272.358 271.6190000000001 266.536 269.7142 260.046 268.5714z" : "M140.08 232.3076C133.1866 237.4358 124.24 240 113.24 240C102.24 240 93.22 237.4358 86.18 232.3076C79.2866 227.326 73.86 220.8792 69.9 212.967C66.0866 205.2014 63.4466 196.63 61.98 187.2528C60.66 177.8754 60 168.7912 60 160C60 151.2088 60.66 142.1246 61.98 132.7472C63.4466 123.37 66.0866 114.726 69.9 106.814C73.86 99.048 79.2866 92.6 86.18 87.472C93.22 82.49 102.24 80 113.24 80C124.24 80 133.1866 82.49 140.08 87.472C147.12 92.6 152.5466 99.048 156.36 106.814C160.32 114.726 162.96 123.37 164.28 132.7472C165.7466 142.1246 166.48 151.2088 166.48 160C166.48 168.7912 165.7466 177.8754 164.28 187.2528C162.96 196.63 160.32 205.2014 156.36 212.967C152.5466 220.8792 147.12 227.326 140.08 232.3076zM126.88 105.494C123.2134 102.418 118.6666 100.88 113.24 100.88C107.6666 100.88 103.0466 102.418 99.38 105.494C95.86 108.718 93 112.968 90.8 118.242C88.7466 123.663 87.28 129.9634 86.4 137.1428C85.52 144.3224 85.08 151.9414 85.08 160C85.08 168.0586 85.52 175.6044 86.4 182.6374C87.28 189.8168 88.7466 196.1172 90.8 201.5384C93 206.9598 95.86 211.2088 99.38 214.2858C103.0466 217.5092 107.6666 219.1208 113.24 219.1208C118.6666 219.1208 123.2134 217.5092 126.88 214.2858C130.5466 211.2088 133.4066 206.9598 135.46 201.5384C137.66 196.1172 139.2 189.8168 140.08 182.6374C140.96 175.6044 141.4 168.0586 141.4 160C141.4 151.9414 140.96 144.3224 140.08 137.1428C139.2 129.9634 137.66 123.663 135.46 118.242C133.4066 112.968 130.5466 108.718 126.88 105.494zM216.016 214.8572C210.83 213.9428 205.492 213.4858 200 213.4858V192.9142H239.354V80H267.954V240H246.676C245.76 235.1238 243.778 231.0096 240.726 227.6572C237.8280000000001 224.3048 234.244 221.5618 229.972 219.4286C225.854 217.2952 221.202 215.7714 216.016 214.8572z"}
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
transform={`scale(0.05, -0.05) translate(${translation}, ${translation})`}
|
|
32
|
+
style={style}
|
|
33
|
+
/>
|
|
34
|
+
</SVGIconContainer>
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
BinaryNumber.defaultProps = {
|
|
38
|
+
size: IconSize.STANDARD,
|
|
39
|
+
};
|
|
40
|
+
BinaryNumber.displayName = `Blueprint5.Icon.BinaryNumber`;
|
|
41
|
+
export default BinaryNumber;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License.
|
|
5
|
+
* You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
* See the License for the specific language governing permissions and
|
|
13
|
+
* limitations under the License.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import * as React from "react";
|
|
17
|
+
import type { SVGIconProps } from "../../svgIconProps";
|
|
18
|
+
import { IconSize } from "../../iconTypes";
|
|
19
|
+
import { SVGIconContainer } from "../../svgIconContainer";
|
|
20
|
+
|
|
21
|
+
export const CurlyBraces: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
|
|
22
|
+
const isLarge = props.size! >= IconSize.LARGE;
|
|
23
|
+
const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
|
|
24
|
+
const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
|
|
25
|
+
const style = { transformOrigin: "center" };
|
|
26
|
+
return (
|
|
27
|
+
<SVGIconContainer iconName="curly-braces" ref={ref} {...props}>
|
|
28
|
+
<path
|
|
29
|
+
d={isLarge ? "M160 340C134.1502 340 113.941 332.6296 103.3648 313.8944C98.6776 305.5916 96.958 296.722 96.3022 288.9968C95.6502 281.3178 95.9622 273.3792 96.2706 266.5918C96.9598 251.4318 97.3804 241.4906 94.694 233.7298C93.5832 230.5204 92.0114 228.0852 89.6268 226.0212C87.1322 223.8624 82.827 221.3222 75.1492 219.4028C66.246 217.177 60 209.1774 60 200C60 190.822 66.246 182.822 75.1492 180.598C82.827 178.678 87.1322 176.138 89.6268 173.978C92.0114 171.914 93.5832 169.48 94.694 166.27C97.3804 158.51 96.9598 148.568 96.2706 133.408C95.9622 126.62 95.6502 118.682 96.3022 111.004C96.958 103.278 98.6776 94.408 103.3648 86.106C113.941 67.37 134.1502 60 160 60C171.0456 60 180 68.954 180 80C180 91.046 171.0456 100 160 100C141.3372 100 138.6864 104.872 138.2294 105.712L138.1978 105.77C137.416 107.154 136.5576 109.69 136.1588 114.388C135.756 119.13 135.9128 124.63 136.2294 131.592C136.2716 132.518 136.3188 133.482 136.3674 134.48C136.9682 146.746 137.8124 163.988 132.4934 179.354C129.97 186.644 126.0508 193.724 120.1924 200C126.0508 206.2764 129.97 213.3554 132.4934 220.6452C137.8124 236.0112000000001 136.9682 253.2542 136.3674 265.5208C136.3188 266.5168 136.2714 267.4814 136.2294 268.4082C135.9128 275.3708000000001 135.756 280.8698 136.1588 285.6126000000001C136.5576 290.3092000000001 137.416 292.846 138.1978 294.2306L138.2294 294.288C138.6864 295.1282 141.3372 300 160 300C171.0456 300 180 308.9544 180 320C180 331.0456000000001 171.0456 340 160 340zM240 340C265.85 340 286.058 332.6296 296.636 313.8944C301.322 305.5916 303.0420000000001 296.722 303.6980000000001 288.9968C304.35 281.3178 304.038 273.3792 303.73 266.5918C303.04 251.4318 302.62 241.4906 305.306 233.7298C306.416 230.5204 307.988 228.0852 310.374 226.0212C312.868 223.8624 317.1740000000001 221.3222 324.85 219.4028C333.754 217.177 340 209.1774 340 200C340 190.822 333.754 182.822 324.85 180.598C317.1740000000001 178.678 312.868 176.138 310.374 173.978C307.988 171.914 306.416 169.48 305.306 166.27C302.62 158.51 303.04 148.568 303.73 133.408C304.038 126.62 304.35 118.682 303.6980000000001 111.004C303.0420000000001 103.278 301.322 94.408 296.636 86.106C286.058 67.37 265.85 60 240 60C228.954 60 220 68.954 220 80C220 91.046 228.954 100 240 100C258.662 100 261.314 104.872 261.77 105.712L261.802 105.77C262.584 107.154 263.442 109.69 263.842 114.388C264.244 119.13 264.088 124.63 263.77 131.592C263.728 132.518 263.682 133.48 263.632 134.474C263.032 146.74 262.188 163.988 267.506 179.354C270.03 186.644 273.95 193.724 279.808 200C273.95 206.2764 270.03 213.3554 267.506 220.6452C262.188 236.0112000000001 263.032 253.2542 263.632 265.5208C263.682 266.5174 263.728 267.481 263.77 268.4082C264.088 275.3708000000001 264.244 280.8698 263.842 285.6126000000001C263.442 290.3092000000001 262.584 292.846 261.802 294.2306L261.77 294.288C261.314 295.1282 258.662 300 240 300C228.954 300 220 308.9544 220 320C220 331.0456000000001 228.954 340 240 340z" : "M72.3814 258.8836C82.055 275.0062 100.0022 280 120 280C131.0456 280 140 271.0456 140 260C140 248.9544 131.0456 240 120 240C111.1896 240 107.7076 238.7046 106.5844 238.0524C106.436 237.6204 106.1658 236.6122 106.0102 234.6712C105.7646 231.6068 105.8978 227.8258 106.2154 222.4244C106.2598 221.6696 106.3094 220.879 106.361 220.0554C106.9614 210.4744 107.8396 196.4576 104.126 182.9716C101.857 174.7312 98.0152 166.96 92.2094 160C98.0152 153.04 101.857 145.2688 104.126 137.0284C107.8396 123.5424 106.9614 109.526 106.361 99.944C106.3094 99.122 106.2598 98.33 106.2154 97.576C105.8978 92.174 105.7646 88.394 106.0102 85.328C106.1658 83.388 106.436 82.38 106.5844 81.948C107.7076 81.296 111.1896 80 120 80C131.0456 80 140 71.046 140 60C140 48.954 131.0456 40 120 40C100.0022 40 82.055 44.994 72.3814 61.116C68.0816 68.282 66.6404 75.866 66.1382 82.132C65.6416 88.326 65.9772 94.7 66.2846 99.924L66.3112 100.378C66.986 111.842 67.4414 119.582 65.5614 126.4092C64.1296 131.609 61.0864 137.096 51.0558 142.1114C44.28 145.4992 40 152.4246 40 160C40 167.5754 44.28 174.5008 51.0558 177.8886C61.0864 182.904 64.1296 188.391 65.5614 193.5908C67.4414 200.4184 66.986 208.1586 66.3112 219.6216L66.2846 220.0756C65.9772 225.2992 65.6416 231.6744 66.1382 237.8678C66.6404 244.1334 68.0816 251.7172 72.3814 258.8836zM106.133 82.312C106.133 82.312 106.281 82.244 106.4538 82.028C106.199 82.19 106.133 82.312 106.133 82.312zM106.133 237.688C106.133 237.688 106.1988 237.8098 106.4538 237.973C106.281 237.7562 106.133 237.688 106.133 237.688zM247.618 258.8836C237.946 275.0062 219.998 280 200 280C188.9544 280 180 271.0456 180 260C180 248.9544 188.9544 240 200 240C208.81 240 212.292 238.7046 213.416 238.0524C213.564 237.6204 213.834 236.6122 213.99 234.6712C214.236 231.6068 214.102 227.8258 213.784 222.4244C213.74 221.6696 213.69 220.879 213.638 220.0554C213.038 210.4744 212.16 196.4576 215.874 182.9716C218.144 174.7312 221.984 166.96 227.79 160C221.984 153.04 218.144 145.2688 215.874 137.0284C212.16 123.5424 213.038 109.526 213.638 99.944C213.69 99.122 213.74 98.33 213.784 97.576C214.102 92.174 214.236 88.394 213.99 85.328C213.834 83.388 213.564 82.38 213.416 81.948C212.292 81.296 208.81 80 200 80C188.9544 80 180 71.046 180 60C180 48.954 188.9544 40 200 40C219.998 40 237.946 44.994 247.618 61.116C251.918 68.282 253.36 75.866 253.862 82.132C254.358 88.326 254.022 94.7 253.716 99.924L253.688 100.378C253.014 111.842 252.558 119.582 254.438 126.4092C255.87 131.609 258.914 137.096 268.944 142.1114C275.72 145.4992 280 152.4246 280 160C280 167.5754 275.72 174.5008 268.944 177.8886C258.914 182.904 255.87 188.391 254.438 193.5908C252.558 200.4184 253.014 208.1586 253.688 219.6216L253.716 220.0756C254.022 225.2992 254.358 231.6744 253.862 237.8678C253.36 244.1334 251.918 251.7172 247.618 258.8836zM213.866 82.312C213.866 82.312 213.718 82.244 213.546 82.028C213.802 82.19 213.866 82.312 213.866 82.312zM213.866 237.688C213.866 237.688 213.802 237.8098 213.546 237.973C213.718 237.7562 213.866 237.688 213.866 237.688z"}
|
|
30
|
+
fillRule="evenodd"
|
|
31
|
+
transform={`scale(0.05, -0.05) translate(${translation}, ${translation})`}
|
|
32
|
+
style={style}
|
|
33
|
+
/>
|
|
34
|
+
</SVGIconContainer>
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
CurlyBraces.defaultProps = {
|
|
38
|
+
size: IconSize.STANDARD,
|
|
39
|
+
};
|
|
40
|
+
CurlyBraces.displayName = `Blueprint5.Icon.CurlyBraces`;
|
|
41
|
+
export default CurlyBraces;
|
|
@@ -69,6 +69,7 @@ export { Badge } from "./badge";
|
|
|
69
69
|
export { BanCircle } from "./ban-circle";
|
|
70
70
|
export { BankAccount } from "./bank-account";
|
|
71
71
|
export { Barcode } from "./barcode";
|
|
72
|
+
export { BinaryNumber } from "./binary-number";
|
|
72
73
|
export { Blank } from "./blank";
|
|
73
74
|
export { BlockedPerson } from "./blocked-person";
|
|
74
75
|
export { Bold } from "./bold";
|
|
@@ -134,6 +135,7 @@ export { Crown } from "./crown";
|
|
|
134
135
|
export { CubeAdd } from "./cube-add";
|
|
135
136
|
export { CubeRemove } from "./cube-remove";
|
|
136
137
|
export { Cube } from "./cube";
|
|
138
|
+
export { CurlyBraces } from "./curly-braces";
|
|
137
139
|
export { CurvedRangeChart } from "./curved-range-chart";
|
|
138
140
|
export { Cut } from "./cut";
|
|
139
141
|
export { Cycle } from "./cycle";
|
package/src/generated/index.ts
CHANGED
|
@@ -72,6 +72,7 @@ export { Badge } from "./components/badge";
|
|
|
72
72
|
export { BanCircle } from "./components/ban-circle";
|
|
73
73
|
export { BankAccount } from "./components/bank-account";
|
|
74
74
|
export { Barcode } from "./components/barcode";
|
|
75
|
+
export { BinaryNumber } from "./components/binary-number";
|
|
75
76
|
export { Blank } from "./components/blank";
|
|
76
77
|
export { BlockedPerson } from "./components/blocked-person";
|
|
77
78
|
export { Bold } from "./components/bold";
|
|
@@ -137,6 +138,7 @@ export { Crown } from "./components/crown";
|
|
|
137
138
|
export { CubeAdd } from "./components/cube-add";
|
|
138
139
|
export { CubeRemove } from "./components/cube-remove";
|
|
139
140
|
export { Cube } from "./components/cube";
|
|
141
|
+
export { CurlyBraces } from "./components/curly-braces";
|
|
140
142
|
export { CurvedRangeChart } from "./components/curved-range-chart";
|
|
141
143
|
export { Cut } from "./components/cut";
|
|
142
144
|
export { Cycle } from "./components/cycle";
|
package/src/tsconfig.json
CHANGED
|
@@ -19,8 +19,9 @@ type hasRed<array extends any[]> = Includes<array, 'red'>;
|
|
|
19
19
|
|
|
20
20
|
@category Utilities
|
|
21
21
|
*/
|
|
22
|
-
export type Includes<Value extends any[], Item> =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
export type Includes<Value extends any[], Item> =
|
|
23
|
+
IsEqual<Value[0], Item> extends true
|
|
24
|
+
? true
|
|
25
|
+
: Value extends [Value[0], ...infer rest]
|
|
26
|
+
? Includes<rest, Item>
|
|
27
|
+
: false;
|
|
@@ -5,11 +5,12 @@ import type { Includes } from "./includes";
|
|
|
5
5
|
/**
|
|
6
6
|
Returns a boolean for whether the string is screaming snake case.
|
|
7
7
|
*/
|
|
8
|
-
type IsScreamingSnakeCase<Value extends string> =
|
|
9
|
-
|
|
10
|
-
? true
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
type IsScreamingSnakeCase<Value extends string> =
|
|
9
|
+
Value extends Uppercase<Value>
|
|
10
|
+
? Includes<SplitIncludingDelimiters<Lowercase<Value>, "_">, "_"> extends true
|
|
11
|
+
? true
|
|
12
|
+
: false
|
|
13
|
+
: false;
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
Convert a string literal to screaming-snake-case.
|