Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SquareWithPen icon and fix WarningSign icon #25

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions assets/icons/svgs/svgLineIcons/SquareWithPen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 13 additions & 25 deletions assets/icons/svgs/svgLineIcons/WarningSign.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@setu/crucible-icons",
"version": "1.0.10",
"version": "1.0.11",
"description": "Crucible Icons package",
"license": "MIT",
"main": "./dist/cjs/index.js",
Expand Down
48 changes: 48 additions & 0 deletions src/icons/reactLineIcons/SquareWithPen.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// GENERATED BY /script/build.js
// DO NOT EDIT MANUALLY

import * as React from "react";
import { LineIconProps } from "../../types";
import { SVGLineIconWrapper } from "../../styles";

export const SquareWithPen = React.forwardRef<SVGSVGElement, LineIconProps>(
({ width = 24, height = 24, ...props }, forwardedRef) => {
return (
<SVGLineIconWrapper {...props}>
<svg
width={width}
height={height}
ref={forwardedRef}
id="Layer_1"
data-name="Layer 1"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<defs></defs>

<path
d="M20 14.66V20C20 20.5304 19.7893 21.0391 19.4142 21.4142C19.0391 21.7893 18.5304 22 18 22H4C3.46957 22 2.96086 21.7893 2.58579 21.4142C2.21071 21.0391 2 20.5304 2 20V6C2 5.46957 2.21071 4.96086 2.58579 4.58579C2.96086 4.21071 3.46957 4 4 4H9.34"
className="stroke"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
/>

<path
d="M18 2L22 6L12 16H8V12L18 2Z"
className="stroke"
fill="none"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</SVGLineIconWrapper>
);
}
);

SquareWithPen.displayName = "SquareWithPen";

export default SquareWithPen;
63 changes: 30 additions & 33 deletions src/icons/reactLineIcons/WarningSign.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,41 @@ export const WarningSign = React.forwardRef<SVGSVGElement, LineIconProps>(
return (
<SVGLineIconWrapper {...props}>
<svg
id="Layer_2"
data-name="Layer 2"
width={width}
height={height}
ref={forwardedRef}
id="Layer_1"
data-name="Layer 1"
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
viewBox="0 0 24 24"
>
<defs></defs>
<g id="Layer_1-2" data-name="Layer 1">
<circle
className="stroke"
strokeLinecap="round"
strokeLinejoin="round"
cx="12.04"
cy="15.72"
r=".5"
/>
</g>
<g id="Layer_2-2" data-name="Layer 2">
<g>
<g>
<path
strokeWidth="2px"
className="stroke"
strokeLinecap="round"
strokeLinejoin="round"
d="m12,10v3"
/>
<path
strokeWidth="2px"
fill="none"
className="stroke"
strokeLinecap="round"
strokeLinejoin="round"
d="m12,4l8.66,15H3.34L12,4Z"
/>
</g>
</g>
</g>

<circle
className="stroke"
strokeLinecap="round"
strokeLinejoin="round"
cx="12.04"
cy="15.72"
r=".5"
/>

<path
strokeWidth="2"
className="stroke"
strokeLinecap="round"
strokeLinejoin="round"
d="m12,10v3"
/>
<path
strokeWidth="2"
fill="none"
className="stroke"
strokeLinecap="round"
strokeLinejoin="round"
d="m12,4l8.66,15H3.34L12,4Z"
/>
</svg>
</SVGLineIconWrapper>
);
Expand Down
1 change: 1 addition & 0 deletions src/icons/reactLineIcons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export { default as ShieldWithTick } from "./ShieldWithTick";
export { default as SibebarLineIcon } from "./SibebarLineIcon";
export { default as Spanner } from "./Spanner";
export { default as SquareStackWithLoadingArrow } from "./SquareStackWithLoadingArrow";
export { default as SquareWithPen } from "./SquareWithPen";
export { default as StoveWithFlame } from "./StoveWithFlame";
export { default as Sun } from "./Sun";
export { default as SwimTube } from "./SwimTube";
Expand Down
1 change: 1 addition & 0 deletions src/iconsIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ export { default as ShieldWithTick } from "./icons/reactLineIcons/ShieldWithTick
export { default as SibebarLineIcon } from "./icons/reactLineIcons/SibebarLineIcon";
export { default as Spanner } from "./icons/reactLineIcons/Spanner";
export { default as SquareStackWithLoadingArrow } from "./icons/reactLineIcons/SquareStackWithLoadingArrow";
export { default as SquareWithPen } from "./icons/reactLineIcons/SquareWithPen";
export { default as StoveWithFlame } from "./icons/reactLineIcons/StoveWithFlame";
export { default as Sun } from "./icons/reactLineIcons/Sun";
export { default as SwimTube } from "./icons/reactLineIcons/SwimTube";
Expand Down