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

Update Icons #1127

Merged
merged 1 commit into from
Dec 6, 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
5 changes: 5 additions & 0 deletions src/icons/Icons.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5350,6 +5350,11 @@ const Template: StoryFn = (args) => {
<br />
ProjectorIcon
</div>
<div className="story-icon">
<nvicons.PromptObjectIcon />
<br />
PromptObjectIcon
</div>
<div className="story-icon">
<nvicons.ProportionsIcon />
<br />
Expand Down
40 changes: 40 additions & 0 deletions src/icons/PromptObjectIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// This file is part of MinIO Design System
// Copyright (c) 2024 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import * as React from "react";
import { SVGProps } from "react";

const PromptObjectIcon = (props: SVGProps<SVGSVGElement>) => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
fill="none"
className={`min-icon`}
{...props}
>
<path
d="M12.4.3c-.1-.2-.2-.3-.4-.3s-.3.1-.4.3l-.8,2.3h0v.2h-.2l-2.3.8c-.2,0-.3.2-.3.4s.1.3.3.4l2.3.8h.2v.2l.8,2.3c0,.2.2.3.4.3s.3-.1.4-.3l.8-2.3h0v-.2h.2l2.3-.8c.2,0,.3-.2.3-.4s-.1-.3-.3-.4l-2.3-.8h-.2v-.2s-.8-2.3-.8-2.3ZM11.7,3.1l.3-.8.3.8c0,.1.1.3.2.4.1.1.2.2.4.2l.8.3-.8.3c-.1,0-.3.1-.4.2-.1.1-.2.2-.2.4l-.3.8-.3-.8c0-.1-.1-.3-.2-.4-.1-.1-.2-.2-.4-.2l-.8-.3.8-.3c.1,0,.3-.1.4-.2.1-.1.2-.2.2-.4Z"
fillRule="evenodd"
fill="currentColor"
/>
<path
d="M8.1,1.3H3.3c-1.1,0-2,.9-2,2v9.3c0,1.1.9,2,2,2h9.3c1.1,0,2-.9,2-2v-5.3c-.1-.1-.3-.2-.6-.2-.5,0-.7.3-.8.7v4.8c0,.3-.3.6-.6.6H3.3c-.3,0-.6-.3-.6-.6V3.3c0-.3.3-.6.6-.6h4.5c.3,0,.6-.3.6-.7s-.2-.6-.4-.7h.1ZM5.2,6.6c-.3-.3-.7-.3-1,0-.3.3-.3.7,0,1l.8.8-.8.8c-.3.3-.3.7,0,1,.3.3.7.3,1,0l1.3-1.3c.3-.3.3-.7,0-1,0,0-1.3-1.3-1.3-1.3ZM7.3,10.4c-.4,0-.7.3-.7.7s.3.7.7.7h2.7c.4,0,.7-.3.7-.7s-.3-.7-.7-.7h-2.7Z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);
export default PromptObjectIcon;
5 changes: 2 additions & 3 deletions src/icons/ShareIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ const ShareIcon = (props: SVGProps<SVGSVGElement>) => (
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M7.50503 0.838326C7.77839 0.564959 8.22161 0.564959 8.49498 0.838326L11.1616 3.50499C11.435 3.77836 11.435 4.22158 11.1616 4.49494C10.8883 4.76831 10.4451 4.76831 10.1717 4.49494L8.7 3.02325V9.99997C8.7 10.3866 8.3866 10.7 8 10.7C7.6134 10.7 7.3 10.3866 7.3 9.99997V3.02325L5.82831 4.49494C5.55494 4.76831 5.11173 4.76831 4.83836 4.49494C4.56499 4.22158 4.56499 3.77836 4.83836 3.50499L7.50503 0.838326ZM2.66667 7.29997C3.05327 7.29997 3.36667 7.61337 3.36667 7.99997V13.3333C3.36667 13.5013 3.43339 13.6624 3.55217 13.7811C3.67094 13.8999 3.83203 13.9666 4 13.9666H12C12.168 13.9666 12.3291 13.8999 12.4478 13.7811C12.5666 13.6624 12.6333 13.5013 12.6333 13.3333V7.99997C12.6333 7.61337 12.9467 7.29997 13.3333 7.29997C13.7199 7.29997 14.0333 7.61337 14.0333 7.99997V13.3333C14.0333 13.8726 13.8191 14.3898 13.4378 14.7711C13.0565 15.1524 12.5393 15.3666 12 15.3666H4C3.46073 15.3666 2.94354 15.1524 2.56222 14.7711C2.18089 14.3898 1.96667 13.8726 1.96667 13.3333V7.99997C1.96667 7.61337 2.28007 7.29997 2.66667 7.29997Z"
d="M5.17,1.3h1.5c.39,0,.7.31.7.7s-.31.7-.7.7h-1.47c-.57,0-.96,0-1.26.02-.29.02-.43.07-.53.12-.24.12-.44.32-.57.57-.05.1-.09.24-.12.53-.02.3-.02.68-.02,1.26v5.6c0,.57,0,.96.02,1.26.02.29.07.43.12.53.12.24.32.44.57.57.1.05.24.09.53.12.3.02.68.02,1.26.02h5.6c.57,0,.96,0,1.26-.02.29-.02.43-.07.53-.12.24-.12.44-.32.57-.57.05-.1.09-.24.12-.53.02-.3.02-.69.02-1.26v-1.47c0-.39.31-.7.7-.7s.7.31.7.7v1.5c0,.54,0,.98-.03,1.34-.03.38-.1.73-.26,1.06-.26.51-.67.92-1.18,1.18-.33.17-.68.23-1.06.26-.36.03-.81.03-1.34.03h-5.66c-.54,0-.98,0-1.34-.03-.38-.03-.73-.1-1.06-.26-.51-.26-.92-.67-1.18-1.18-.17-.33-.23-.68-.26-1.06-.03-.36-.03-.81-.03-1.34v-5.66c0-.54,0-.98.03-1.34.03-.38.1-.73.26-1.06.26-.51.67-.92,1.18-1.18.33-.17.68-.23,1.06-.26.36-.03.81-.03,1.34-.03ZM11.51,1.51c.27-.27.72-.27.99,0l2,2c.27.27.27.72,0,.99l-2,2c-.27.27-.72.27-.99,0-.27-.27-.27-.72,0-.99l.81-.81h-.44c-.57,0-.96,0-1.26.02-.29.02-.43.07-.53.12-.24.12-.44.32-.57.57-.05.1-.09.24-.12.53-.02.3-.02.68-.02,1.26v2.13c0,.39-.31.7-.7.7s-.7-.31-.7-.7v-2.16c0-.54,0-.98.03-1.34.03-.38.1-.73.26-1.06.26-.51.67-.92,1.18-1.18.33-.17.68-.23,1.06-.26.36-.03.81-.03,1.34-.03h.47l-.81-.81c-.27-.27-.27-.72,0-.99Z"
fill="currentColor"
fillRule="evenodd"
/>
</svg>
);
Expand Down
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,7 @@ export { default as PowerOffIcon } from "./PowerOffIcon";
export { default as PresentationIcon } from "./PresentationIcon";
export { default as PrinterIcon } from "./PrinterIcon";
export { default as ProjectorIcon } from "./ProjectorIcon";
export { default as PromptObjectIcon } from "./PromptObjectIcon";
export { default as ProportionsIcon } from "./ProportionsIcon";
export { default as PuzzleIcon } from "./PuzzleIcon";
export { default as PyramidIcon } from "./PyramidIcon";
Expand Down
Loading