Skip to content

Commit ca89a26

Browse files
authored
Updated export of icons from Figma (#3120)
1 parent 501efd5 commit ca89a26

File tree

14 files changed

+116
-5
lines changed

14 files changed

+116
-5
lines changed

.changeset/tender-roses-stand.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hashicorp/flight-icons": minor
3+
---
4+
5+
`pin-off` icon added.

packages/flight-icons/catalog.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lastRunTimeISO": "2025-06-25T21:50:47.532Z",
2+
"lastRunTimeISO": "2025-08-20T23:58:48.772Z",
33
"lastRunFigma": {
44
"id": "TLnoT5AYQfy3tZ0H68BgOr",
55
"page": "Export",
@@ -8866,6 +8866,26 @@
88668866
"width": 16,
88678867
"height": 16
88688868
},
8869+
{
8870+
"id": "8687:169",
8871+
"fileName": "pin-off-24",
8872+
"iconName": "pin-off",
8873+
"description": "unpin, pin, off",
8874+
"category": "Interface",
8875+
"size": "24",
8876+
"width": 24,
8877+
"height": 24
8878+
},
8879+
{
8880+
"id": "8687:172",
8881+
"fileName": "pin-off-16",
8882+
"iconName": "pin-off",
8883+
"description": "unpin, pin, off",
8884+
"category": "Interface",
8885+
"size": "16",
8886+
"width": 16,
8887+
"height": 16
8888+
},
88698889
{
88708890
"id": "350:3167",
88718891
"fileName": "power-24",
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading

packages/flight-icons/svg-react/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,8 @@ export { IconPencilTool24 } from './pencil-tool-24';
884884
export { IconPencilTool16 } from './pencil-tool-16';
885885
export { IconPin24 } from './pin-24';
886886
export { IconPin16 } from './pin-16';
887+
export { IconPinOff24 } from './pin-off-24';
888+
export { IconPinOff16 } from './pin-off-16';
887889
export { IconPower24 } from './power-24';
888890
export { IconPower16 } from './power-16';
889891
export { IconPrinter24 } from './printer-24';
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { forwardRef, useMemo } from 'react';
2+
import { IconProps } from './types';
3+
4+
export const IconPinOff16 = forwardRef<SVGSVGElement, IconProps>(
5+
({ color = 'currentColor', title, ...props }, svgRef) => {
6+
const titleId = useMemo(
7+
() =>
8+
title
9+
? 'title-' + Math.random().toString(36).substr(2, 9)
10+
: undefined,
11+
[title]
12+
);
13+
return (
14+
<svg
15+
xmlns="http://www.w3.org/2000/svg"
16+
width={16}
17+
height={16}
18+
fill="none"
19+
viewBox="0 0 16 16"
20+
aria-hidden={!title}
21+
ref={svgRef}
22+
aria-labelledby={titleId}
23+
{...props}
24+
>
25+
{title ? <title id={titleId}>{title}</title> : null}
26+
<g fill={color}>
27+
<path d="M5.925 6.074a.75.75 0 111.06 1.06l-.66.661a.75.75 0 01-.448.215l-2.051.228c.516.712 1.2 1.61 1.763 2.173.562.562 1.46 1.247 2.173 1.762l.228-2.05.025-.125a.752.752 0 01.19-.323l.695-.694a.75.75 0 011.06 1.06l-.509.51-.247 2.23c-.103.924-1.16 1.434-1.944.88-.58-.41-1.458-1.053-2.18-1.681l-2.8 2.8a.75.75 0 01-1.06-1.06l2.8-2.8c-.628-.723-1.272-1.6-1.681-2.18-.555-.785-.044-1.84.88-1.944l2.231-.249.475-.473zM9.12 1.4a1.25 1.25 0 011.665-.077l.095.085 3.708 3.709a1.25 1.25 0 010 1.767l-2.015 2.014a.75.75 0 11-1.06-1.06L13.35 6 9.994 2.644 8.111 4.492a.75.75 0 01-1.05-1.072L9.12 1.4z" />
28+
<path d="M1.47 1.47a.75.75 0 011.06 0l12.5 12.5a.75.75 0 11-1.06 1.06L1.47 2.53a.75.75 0 010-1.06z" />
29+
</g>
30+
</svg>
31+
);
32+
}
33+
);
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { forwardRef, useMemo } from 'react';
2+
import { IconProps } from './types';
3+
4+
export const IconPinOff24 = forwardRef<SVGSVGElement, IconProps>(
5+
({ color = 'currentColor', title, ...props }, svgRef) => {
6+
const titleId = useMemo(
7+
() =>
8+
title
9+
? 'title-' + Math.random().toString(36).substr(2, 9)
10+
: undefined,
11+
[title]
12+
);
13+
return (
14+
<svg
15+
xmlns="http://www.w3.org/2000/svg"
16+
width={24}
17+
height={24}
18+
fill="none"
19+
viewBox="0 0 24 24"
20+
aria-hidden={!title}
21+
ref={svgRef}
22+
aria-labelledby={titleId}
23+
{...props}
24+
>
25+
{title ? <title id={titleId}>{title}</title> : null}
26+
<g fill={color}>
27+
<path d="M9.536 9.518a.75.75 0 011.06 1.06l-.97.97a.75.75 0 01-.446.215l-2.742.305c-.195.021-.258.219-.168.343.693.959 1.622 2.174 2.385 2.937.763.763 1.98 1.692 2.938 2.385.124.09.32.027.342-.167l.305-2.742a.75.75 0 01.215-.448l.901-.9a.75.75 0 111.06 1.06l-.714.714-.275 2.48c-.144 1.295-1.623 2.006-2.713 1.218-.774-.558-1.767-1.31-2.571-2.027L4.28 20.784a.75.75 0 01-1.06-1.061l3.862-3.863c-.717-.805-1.469-1.797-2.027-2.57-.788-1.091-.077-2.57 1.217-2.714l2.48-.275.784-.783zm4.078-6.035a1.75 1.75 0 012.464.01l4.425 4.426a1.75 1.75 0 010 2.475l-2.612 2.612a.75.75 0 01-1.061-1.06l2.612-2.613a.25.25 0 000-.353l-4.425-4.425a.25.25 0 00-.352-.002l-2.674 2.625a.75.75 0 01-1.05-1.07l2.673-2.625z" />
28+
<path d="M1.47 1.47a.75.75 0 011.06 0l20.5 20.5a.75.75 0 11-1.06 1.06L1.47 2.53a.75.75 0 010-1.06z" />
29+
</g>
30+
</svg>
31+
);
32+
}
33+
);

packages/flight-icons/svg-sprite/svg-sprite-module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flight-icons/svg-sprite/svg-sprite.svg

Lines changed: 1 addition & 1 deletion
Loading

packages/flight-icons/svg/index.d.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)