From 8876a2100a050cf4ce0f4c078b0d3333a6fedbd3 Mon Sep 17 00:00:00 2001 From: ashwanisingh011 Date: Sat, 28 Feb 2026 22:26:22 +0530 Subject: [PATCH 1/3] feat(icons): add 7 missing material icons for meshery migration Signed-off-by: ashwanisingh011 --- src/icons/BuildRounded/BuildRoundedIcon.tsx | 28 +++++++++++++++++++ src/icons/BuildRounded/index.ts | 1 + src/icons/DirectionsCar/DirectionsCarIcon.tsx | 28 +++++++++++++++++++ src/icons/DirectionsCar/index.ts | 1 + src/icons/Explore/ExploreIcon.tsx | 28 +++++++++++++++++++ src/icons/Explore/index.ts | 1 + src/icons/FileCopy/FileCopyIcon.tsx | 28 +++++++++++++++++++ src/icons/FileCopy/index.ts | 1 + src/icons/ListAlt/ListAltIcon.tsx | 28 +++++++++++++++++++ src/icons/ListAlt/index.ts | 1 + src/icons/SimCard/SimCardIcon.tsx | 28 +++++++++++++++++++ src/icons/SimCard/index.ts | 1 + .../SupervisedUserCircleIcon.tsx | 28 +++++++++++++++++++ src/icons/SupervisedUserCircle/index.ts | 1 + 14 files changed, 203 insertions(+) create mode 100644 src/icons/BuildRounded/BuildRoundedIcon.tsx create mode 100644 src/icons/BuildRounded/index.ts create mode 100644 src/icons/DirectionsCar/DirectionsCarIcon.tsx create mode 100644 src/icons/DirectionsCar/index.ts create mode 100644 src/icons/Explore/ExploreIcon.tsx create mode 100644 src/icons/Explore/index.ts create mode 100644 src/icons/FileCopy/FileCopyIcon.tsx create mode 100644 src/icons/FileCopy/index.ts create mode 100644 src/icons/ListAlt/ListAltIcon.tsx create mode 100644 src/icons/ListAlt/index.ts create mode 100644 src/icons/SimCard/SimCardIcon.tsx create mode 100644 src/icons/SimCard/index.ts create mode 100644 src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx create mode 100644 src/icons/SupervisedUserCircle/index.ts diff --git a/src/icons/BuildRounded/BuildRoundedIcon.tsx b/src/icons/BuildRounded/BuildRoundedIcon.tsx new file mode 100644 index 00000000..caa137fb --- /dev/null +++ b/src/icons/BuildRounded/BuildRoundedIcon.tsx @@ -0,0 +1,28 @@ +import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { IconProps } from '../types'; + +export const BuildRoundedIcon = ({ + width = DEFAULT_WIDTH, + height = DEFAULT_HEIGHT, + fill = '#455a64', + style, + ...props +}: IconProps): JSX.Element => { + const _finalFill = style?.fill || fill; + + return ( + + + + + ); +}; + +export default BuildRoundedIcon; \ No newline at end of file diff --git a/src/icons/BuildRounded/index.ts b/src/icons/BuildRounded/index.ts new file mode 100644 index 00000000..9cbbe723 --- /dev/null +++ b/src/icons/BuildRounded/index.ts @@ -0,0 +1 @@ +export { default as BuildRoundedIcon } from './BuildRoundedIcon'; \ No newline at end of file diff --git a/src/icons/DirectionsCar/DirectionsCarIcon.tsx b/src/icons/DirectionsCar/DirectionsCarIcon.tsx new file mode 100644 index 00000000..5e8ff80f --- /dev/null +++ b/src/icons/DirectionsCar/DirectionsCarIcon.tsx @@ -0,0 +1,28 @@ +import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { IconProps } from '../types'; + +export const BuildRoundedIcon = ({ + width = DEFAULT_WIDTH, + height = DEFAULT_HEIGHT, + fill = '#455a64', + style, + ...props +}: IconProps): JSX.Element => { + const _finalFill = style?.fill || fill; + + return ( + + + + + ); +}; + +export default BuildRoundedIcon; \ No newline at end of file diff --git a/src/icons/DirectionsCar/index.ts b/src/icons/DirectionsCar/index.ts new file mode 100644 index 00000000..bdd7882a --- /dev/null +++ b/src/icons/DirectionsCar/index.ts @@ -0,0 +1 @@ +export { default as DirectionsCarIcon } from './DirectionsCarIcon'; \ No newline at end of file diff --git a/src/icons/Explore/ExploreIcon.tsx b/src/icons/Explore/ExploreIcon.tsx new file mode 100644 index 00000000..edef6588 --- /dev/null +++ b/src/icons/Explore/ExploreIcon.tsx @@ -0,0 +1,28 @@ +import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { IconProps } from '../types'; + +export const BuildRoundedIcon = ({ + width = DEFAULT_WIDTH, + height = DEFAULT_HEIGHT, + fill = '#455a64', + style, + ...props +}: IconProps): JSX.Element => { + const _finalFill = style?.fill || fill; + + return ( + + + + + ); +}; + +export default BuildRoundedIcon; \ No newline at end of file diff --git a/src/icons/Explore/index.ts b/src/icons/Explore/index.ts new file mode 100644 index 00000000..143bf9eb --- /dev/null +++ b/src/icons/Explore/index.ts @@ -0,0 +1 @@ +export {default as ExploreIcon } from './ExploreIcon'; \ No newline at end of file diff --git a/src/icons/FileCopy/FileCopyIcon.tsx b/src/icons/FileCopy/FileCopyIcon.tsx new file mode 100644 index 00000000..fe625b9b --- /dev/null +++ b/src/icons/FileCopy/FileCopyIcon.tsx @@ -0,0 +1,28 @@ +import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { IconProps } from '../types'; + +export const BuildRoundedIcon = ({ + width = DEFAULT_WIDTH, + height = DEFAULT_HEIGHT, + fill = '#455a64', + style, + ...props +}: IconProps): JSX.Element => { + const _finalFill = style?.fill || fill; + + return ( + + + + + ); +}; + +export default BuildRoundedIcon; \ No newline at end of file diff --git a/src/icons/FileCopy/index.ts b/src/icons/FileCopy/index.ts new file mode 100644 index 00000000..aa841980 --- /dev/null +++ b/src/icons/FileCopy/index.ts @@ -0,0 +1 @@ +export { default as FileCopyIcon } from './FileCopyIcon'; \ No newline at end of file diff --git a/src/icons/ListAlt/ListAltIcon.tsx b/src/icons/ListAlt/ListAltIcon.tsx new file mode 100644 index 00000000..09b05c6c --- /dev/null +++ b/src/icons/ListAlt/ListAltIcon.tsx @@ -0,0 +1,28 @@ +import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { IconProps } from '../types'; + +export const BuildRoundedIcon = ({ + width = DEFAULT_WIDTH, + height = DEFAULT_HEIGHT, + fill = '#455a64', + style, + ...props +}: IconProps): JSX.Element => { + const _finalFill = style?.fill || fill; + + return ( + + + + + ); +}; + +export default BuildRoundedIcon; \ No newline at end of file diff --git a/src/icons/ListAlt/index.ts b/src/icons/ListAlt/index.ts new file mode 100644 index 00000000..13f197d4 --- /dev/null +++ b/src/icons/ListAlt/index.ts @@ -0,0 +1 @@ +export {default as ListAltIcon} from './ListAltIcon'; \ No newline at end of file diff --git a/src/icons/SimCard/SimCardIcon.tsx b/src/icons/SimCard/SimCardIcon.tsx new file mode 100644 index 00000000..25321f65 --- /dev/null +++ b/src/icons/SimCard/SimCardIcon.tsx @@ -0,0 +1,28 @@ +import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { IconProps } from '../types'; + +export const BuildRoundedIcon = ({ + width = DEFAULT_WIDTH, + height = DEFAULT_HEIGHT, + fill = '#455a64', + style, + ...props +}: IconProps): JSX.Element => { + const _finalFill = style?.fill || fill; + + return ( + + + + + ); +}; + +export default BuildRoundedIcon; \ No newline at end of file diff --git a/src/icons/SimCard/index.ts b/src/icons/SimCard/index.ts new file mode 100644 index 00000000..c05f8b2d --- /dev/null +++ b/src/icons/SimCard/index.ts @@ -0,0 +1 @@ +export {default as SimCardIcon} from './SimCardIcon'; \ No newline at end of file diff --git a/src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx b/src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx new file mode 100644 index 00000000..759d7632 --- /dev/null +++ b/src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx @@ -0,0 +1,28 @@ +import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { IconProps } from '../types'; + +export const BuildRoundedIcon = ({ + width = DEFAULT_WIDTH, + height = DEFAULT_HEIGHT, + fill = '#455a64', + style, + ...props +}: IconProps): JSX.Element => { + const _finalFill = style?.fill || fill; + + return ( + + + + + ); +}; + +export default BuildRoundedIcon; \ No newline at end of file diff --git a/src/icons/SupervisedUserCircle/index.ts b/src/icons/SupervisedUserCircle/index.ts new file mode 100644 index 00000000..1f0584bb --- /dev/null +++ b/src/icons/SupervisedUserCircle/index.ts @@ -0,0 +1 @@ +export { default as SupervisedUserCircleIcon } from './SupervisedUserCircleIcon'; \ No newline at end of file From 38be1505559515810c0218b6a916453a6d506f7c Mon Sep 17 00:00:00 2001 From: ashwanisingh011 Date: Sat, 28 Feb 2026 23:40:00 +0530 Subject: [PATCH 2/3] fix(icons): export new icons in master registry Signed-off-by: ashwanisingh011 --- src/icons/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/icons/index.ts b/src/icons/index.ts index 5f7acc2a..74ad94a6 100644 --- a/src/icons/index.ts +++ b/src/icons/index.ts @@ -154,4 +154,11 @@ export * from './View'; export * from './Visibility'; export * from './Visualizer'; export * from './Warning'; -export * from './Workspace'; \ No newline at end of file +export * from './Workspace'; +export * from './BuildRounded'; +export * from './DirectionsCar'; +export * from './Explore'; +export * from './FileCopy'; +export * from './ListAlt'; +export * from './SimCard'; +export * from './SupervisedUserCircle'; \ No newline at end of file From 23523494d747ffbdf6fad2a1a6b07b942a825b3f Mon Sep 17 00:00:00 2001 From: ashwanisingh011 Date: Mon, 2 Mar 2026 21:55:38 +0530 Subject: [PATCH 3/3] fix: refactor icons to use Sistent constants and remove redundant svg paths Signed-off-by: ashwanisingh011 --- src/icons/BuildRounded/BuildRoundedIcon.tsx | 11 ++++------- src/icons/DirectionsCar/DirectionsCarIcon.tsx | 15 ++++++--------- src/icons/Explore/ExploreIcon.tsx | 14 ++++++-------- src/icons/FileCopy/FileCopyIcon.tsx | 15 ++++++--------- src/icons/ListAlt/ListAltIcon.tsx | 15 ++++++--------- src/icons/SimCard/SimCardIcon.tsx | 15 ++++++--------- .../SupervisedUserCircleIcon.tsx | 15 ++++++--------- 7 files changed, 40 insertions(+), 60 deletions(-) diff --git a/src/icons/BuildRounded/BuildRoundedIcon.tsx b/src/icons/BuildRounded/BuildRoundedIcon.tsx index caa137fb..11a0c5ae 100644 --- a/src/icons/BuildRounded/BuildRoundedIcon.tsx +++ b/src/icons/BuildRounded/BuildRoundedIcon.tsx @@ -1,14 +1,12 @@ -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; import { IconProps } from '../types'; export const BuildRoundedIcon = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', - style, + fill = DEFAULT_FILL_NONE, ...props }: IconProps): JSX.Element => { - const _finalFill = style?.fill || fill; return ( - - + ); }; diff --git a/src/icons/DirectionsCar/DirectionsCarIcon.tsx b/src/icons/DirectionsCar/DirectionsCarIcon.tsx index 5e8ff80f..83776363 100644 --- a/src/icons/DirectionsCar/DirectionsCarIcon.tsx +++ b/src/icons/DirectionsCar/DirectionsCarIcon.tsx @@ -1,14 +1,12 @@ -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL_NONE } from '../../constants/constants'; import { IconProps } from '../types'; -export const BuildRoundedIcon = ({ +export const DirectionsCarIcon = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', - style, + fill = DEFAULT_FILL_NONE, ...props }: IconProps): JSX.Element => { - const _finalFill = style?.fill || fill; return ( - - + ); }; -export default BuildRoundedIcon; \ No newline at end of file +export default DirectionsCarIcon; \ No newline at end of file diff --git a/src/icons/Explore/ExploreIcon.tsx b/src/icons/Explore/ExploreIcon.tsx index edef6588..f1ff66b5 100644 --- a/src/icons/Explore/ExploreIcon.tsx +++ b/src/icons/Explore/ExploreIcon.tsx @@ -1,14 +1,12 @@ -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL_NONE } from '../../constants/constants'; import { IconProps } from '../types'; -export const BuildRoundedIcon = ({ +export const ExploreIcon = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', - style, + fill = DEFAULT_FILL_NONE, ...props }: IconProps): JSX.Element => { - const _finalFill = style?.fill || fill; return ( - + ); }; -export default BuildRoundedIcon; \ No newline at end of file +export default ExploreIcon; \ No newline at end of file diff --git a/src/icons/FileCopy/FileCopyIcon.tsx b/src/icons/FileCopy/FileCopyIcon.tsx index fe625b9b..351326fd 100644 --- a/src/icons/FileCopy/FileCopyIcon.tsx +++ b/src/icons/FileCopy/FileCopyIcon.tsx @@ -1,14 +1,12 @@ -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL } from '../../constants/constants'; import { IconProps } from '../types'; -export const BuildRoundedIcon = ({ +export const FileCopyIcon = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', - style, + fill = DEFAULT_FILL, ...props }: IconProps): JSX.Element => { - const _finalFill = style?.fill || fill; return ( - - + ); }; -export default BuildRoundedIcon; \ No newline at end of file +export default FileCopyIcon; \ No newline at end of file diff --git a/src/icons/ListAlt/ListAltIcon.tsx b/src/icons/ListAlt/ListAltIcon.tsx index 09b05c6c..6db21406 100644 --- a/src/icons/ListAlt/ListAltIcon.tsx +++ b/src/icons/ListAlt/ListAltIcon.tsx @@ -1,14 +1,12 @@ -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL } from '../../constants/constants'; import { IconProps } from '../types'; -export const BuildRoundedIcon = ({ +export const ListAltIcon = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', - style, + fill = DEFAULT_FILL, ...props }: IconProps): JSX.Element => { - const _finalFill = style?.fill || fill; return ( - - + ); }; -export default BuildRoundedIcon; \ No newline at end of file +export default ListAltIcon; \ No newline at end of file diff --git a/src/icons/SimCard/SimCardIcon.tsx b/src/icons/SimCard/SimCardIcon.tsx index 25321f65..7229c95e 100644 --- a/src/icons/SimCard/SimCardIcon.tsx +++ b/src/icons/SimCard/SimCardIcon.tsx @@ -1,14 +1,12 @@ -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL } from '../../constants/constants'; import { IconProps } from '../types'; -export const BuildRoundedIcon = ({ +export const SimCardIcon = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', - style, + fill = DEFAULT_FILL, ...props }: IconProps): JSX.Element => { - const _finalFill = style?.fill || fill; return ( - - + ); }; -export default BuildRoundedIcon; \ No newline at end of file +export default SimCardIcon; \ No newline at end of file diff --git a/src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx b/src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx index 759d7632..bc87d687 100644 --- a/src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx +++ b/src/icons/SupervisedUserCircle/SupervisedUserCircleIcon.tsx @@ -1,14 +1,12 @@ -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_HEIGHT, DEFAULT_WIDTH, DEFAULT_FILL } from '../../constants/constants'; import { IconProps } from '../types'; -export const BuildRoundedIcon = ({ +export const SupervisedUserCircleIcon = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', - style, + fill = DEFAULT_FILL, ...props }: IconProps): JSX.Element => { - const _finalFill = style?.fill || fill; return ( - - + ); }; -export default BuildRoundedIcon; \ No newline at end of file +export default SupervisedUserCircleIcon; \ No newline at end of file