Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

suffix all icons with icon suffix

Sultan6c78c332e7c2
diff --git a/apps/designer/app/designer/features/style-panel/controls/combobox-control.tsx b/apps/designer/app/designer/features/style-panel/controls/combobox-control.tsx
index dd05dac2b1..e9fc82fa89 100644
--- a/apps/designer/app/designer/features/style-panel/controls/combobox-control.tsx
+++ b/apps/designer/app/designer/features/style-panel/controls/combobox-control.tsx
@@ -13,7 +13,7 @@ import { PropertyNameUtility } from "./property-name-utility";
import { getFinalValue } from "../shared/get-final-value";
import { useIsFromCurrentBreakpoint } from "../shared/use-is-from-current-breakpoint";
import { ControlProps } from "../style-sections";
-import { RowGap, ColumnGap } from "@webstudio-is/icons";
+import { RowGapIcon, ColumnGapIcon } from "@webstudio-is/icons";
const Unit = ({ value }: { value: StyleValue }) => {
if (value.type !== "unit" || value.unit === "number") return null;
@@ -55,7 +55,8 @@ export const ComboboxControl = ({
// @todo abstract to a variant of the combobox component
if (String(currentStyle.display?.value).includes("flex") !== true)
break;
- const Icon = styleConfig.property == "rowGap" ? RowGap : ColumnGap;
+ const Icon =
+ styleConfig.property == "rowGap" ? RowGapIcon : ColumnGapIcon;
return (
<Grid
css={{
diff --git a/apps/designer/app/designer/features/style-panel/controls/lock-utility.tsx b/apps/designer/app/designer/features/style-panel/controls/lock-utility.tsx
index 161eeef205..23eafa6a80 100644
--- a/apps/designer/app/designer/features/style-panel/controls/lock-utility.tsx
+++ b/apps/designer/app/designer/features/style-panel/controls/lock-utility.tsx
@@ -1,5 +1,5 @@
import { IconButton } from "@webstudio-is/design-system";
-import { LockOpened } from "@webstudio-is/icons";
+import { LockOpenIcon } from "@webstudio-is/icons";
import type { Style } from "@webstudio-is/react-sdk";
import type { CreateBatchUpdate } from "../shared/use-style-data";
@@ -12,7 +12,7 @@ export const LockUtility = ({
}) => {
return (
<IconButton data-property={name} css={{ width: "100%", gridArea: name }}>
- <LockOpened />
+ <LockOpenIcon />
</IconButton>
);
};
diff --git a/apps/designer/app/designer/features/style-panel/shared/configs.ts b/apps/designer/app/designer/features/style-panel/shared/configs.ts
index 19e4469d1f..661ada08d5 100644
--- a/apps/designer/app/designer/features/style-panel/shared/configs.ts
+++ b/apps/designer/app/designer/features/style-panel/shared/configs.ts
@@ -8,32 +8,32 @@ import {
} from "@webstudio-is/react-sdk";
import { humanizeString } from "~/shared/string-utils";
import {
- AlignContentStart,
- AlignContentEnd,
- AlignContentCenter,
- AlignContentStretch,
- AlignContentSpaceAround,
- AlignContentSpaceBetween,
- AlignItemsStart,
- AlignItemsEnd,
- AlignItemsCenter,
- AlignItemsBaseline,
- AlignItemsStretch,
- FlexDirectionRow,
- FlexDirectionColumn,
- FlexDirectionRowReverse,
- FlexDirectionColumnReverse,
- FlexWrapNowrap,
- FlexWrapWrap,
- FlexWrapWrapReverse,
- JustifyContentStart,
- JustifyContentEnd,
- JustifyContentCenter,
- JustifyContentSpaceBetween,
- JustifyContentSpaceAround,
- JustifyItemsStart,
- JustifyItemsEnd,
- JustifyItemsCenter,
+ AlignContentStartIcon,
+ AlignContentEndIcon,
+ AlignContentCenterIcon,
+ AlignContentStretchIcon,
+ AlignContentSpaceAroundIcon,
+ AlignContentSpaceBetweenIcon,
+ AlignItemsStartIcon,
+ AlignItemsEndIcon,
+ AlignItemsCenterIcon,
+ AlignItemsBaselineIcon,
+ AlignItemsStretchIcon,
+ FlexDirectionRowIcon,
+ FlexDirectionColumnIcon,
+ FlexDirectionRowReverseIcon,
+ FlexDirectionColumnReverseIcon,
+ FlexWrapNowrapIcon,
+ FlexWrapWrapIcon,
+ FlexWrapWrapReverseIcon,
+ JustifyContentStartIcon,
+ JustifyContentEndIcon,
+ JustifyContentCenterIcon,
+ JustifyContentSpaceBetweenIcon,
+ JustifyContentSpaceAroundIcon,
+ JustifyItemsStartIcon,
+ JustifyItemsEndIcon,
+ JustifyItemsCenterIcon,
IconRecords,
} from "@webstudio-is/icons";
@@ -126,47 +126,47 @@ export const styleConfigs: Array<StyleConfig> = createStyleConfigs();
export const iconConfigs: IconRecords = {
alignContent: {
- normal: AlignContentStart,
- start: AlignContentStart,
- end: AlignContentEnd,
- center: AlignContentCenter,
- stretch: AlignContentStretch,
- "space-around": AlignContentSpaceAround,
- "space-between": AlignContentSpaceBetween,
+ normal: AlignContentStartIcon,
+ start: AlignContentStartIcon,
+ end: AlignContentEndIcon,
+ center: AlignContentCenterIcon,
+ stretch: AlignContentStretchIcon,
+ "space-around": AlignContentSpaceAroundIcon,
+ "space-between": AlignContentSpaceBetweenIcon,
},
alignItems: {
- normal: AlignItemsStart,
- start: AlignItemsStart,
- end: AlignItemsEnd,
- center: AlignItemsCenter,
- baseline: AlignItemsBaseline,
- stretch: AlignItemsStretch,
+ normal: AlignItemsStartIcon,
+ start: AlignItemsStartIcon,
+ end: AlignItemsEndIcon,
+ center: AlignItemsCenterIcon,
+ baseline: AlignItemsBaselineIcon,
+ stretch: AlignItemsStretchIcon,
},
flexDirection: {
- normal: FlexDirectionRow,
- row: FlexDirectionRow,
- column: FlexDirectionColumn,
- "row-reverse": FlexDirectionRowReverse,
- "column-reverse": FlexDirectionColumnReverse,
+ normal: FlexDirectionRowIcon,
+ row: FlexDirectionRowIcon,
+ column: FlexDirectionColumnIcon,
+ "row-reverse": FlexDirectionRowReverseIcon,
+ "column-reverse": FlexDirectionColumnReverseIcon,
},
flexWrap: {
- normal: FlexWrapNowrap,
- nowrap: FlexWrapNowrap,
- wrap: FlexWrapWrap,
- "wrap-reverse": FlexWrapWrapReverse,
+ normal: FlexWrapNowrapIcon,
+ nowrap: FlexWrapNowrapIcon,
+ wrap: FlexWrapWrapIcon,
+ "wrap-reverse": FlexWrapWrapReverseIcon,
},
justifyContent: {
- normal: JustifyContentStart,
- start: JustifyContentStart,
- end: JustifyContentEnd,
- center: JustifyContentCenter,
- "space-between": JustifyContentSpaceBetween,
- "space-around": JustifyContentSpaceAround,
+ normal: JustifyContentStartIcon,
+ start: JustifyContentStartIcon,
+ end: JustifyContentEndIcon,
+ center: JustifyContentCenterIcon,
+ "space-between": JustifyContentSpaceBetweenIcon,
+ "space-around": JustifyContentSpaceAroundIcon,
},
justifyItems: {
- normal: JustifyItemsStart,
- start: JustifyItemsStart,
- end: JustifyItemsEnd,
- center: JustifyItemsCenter,
+ normal: JustifyItemsStartIcon,
+ start: JustifyItemsStartIcon,
+ end: JustifyItemsEndIcon,
+ center: JustifyItemsCenterIcon,
},
};
diff --git a/packages/icons/src/align-content-center.tsx b/packages/icons/src/align-content-center.tsx
index b3721515f1..c86603e03d 100644
--- a/packages/icons/src/align-content-center.tsx
+++ b/packages/icons/src/align-content-center.tsx
@@ -1,26 +1,27 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignContentCenter = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M8 6H11V9H8V6ZM4 11.5H20V12.5H4V11.5ZM16 6H13V9H16V6ZM13 15H16V18H13V15ZM11 15H8V18H11V15Z"
- fill={color}
- />
- </svg>
- );
- }
-);
-AlignContentCenter.displayName = "AlignContentCenter";
+export const AlignContentCenterIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M8 6H11V9H8V6ZM4 11.5H20V12.5H4V11.5ZM16 6H13V9H16V6ZM13 15H16V18H13V15ZM11 15H8V18H11V15Z"
+ fill={color}
+ />
+ </svg>
+ );
+});
+AlignContentCenterIcon.displayName = "AlignContentCenterIcon";
diff --git a/packages/icons/src/align-content-end.tsx b/packages/icons/src/align-content-end.tsx
index 07fc83ec7b..681eda4ae8 100644
--- a/packages/icons/src/align-content-end.tsx
+++ b/packages/icons/src/align-content-end.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignContentEnd = React.forwardRef<SVGSVGElement, IconProps>(
+export const AlignContentEndIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const AlignContentEnd = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-AlignContentEnd.displayName = "AlignContentEnd";
+AlignContentEndIcon.displayName = "AlignContentEndIcon";
diff --git a/packages/icons/src/align-content-space-around.tsx b/packages/icons/src/align-content-space-around.tsx
index 42f8572fde..cf23643e5d 100644
--- a/packages/icons/src/align-content-space-around.tsx
+++ b/packages/icons/src/align-content-space-around.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignContentSpaceAround = React.forwardRef<
+export const AlignContentSpaceAroundIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -24,4 +24,4 @@ export const AlignContentSpaceAround = React.forwardRef<
</svg>
);
});
-AlignContentSpaceAround.displayName = "AlignContentSpaceAround";
+AlignContentSpaceAroundIcon.displayName = "AlignContentSpaceAroundIcon";
diff --git a/packages/icons/src/align-content-space-between.tsx b/packages/icons/src/align-content-space-between.tsx
index 24e18919c7..6e423b9b0d 100644
--- a/packages/icons/src/align-content-space-between.tsx
+++ b/packages/icons/src/align-content-space-between.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignContentSpaceBetween = React.forwardRef<
+export const AlignContentSpaceBetweenIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -24,4 +24,4 @@ export const AlignContentSpaceBetween = React.forwardRef<
</svg>
);
});
-AlignContentSpaceBetween.displayName = "AlignContentSpaceBetween";
+AlignContentSpaceBetweenIcon.displayName = "AlignContentSpaceBetweenIcon";
diff --git a/packages/icons/src/align-content-start.tsx b/packages/icons/src/align-content-start.tsx
index 16e6170c7a..7cb2919a81 100644
--- a/packages/icons/src/align-content-start.tsx
+++ b/packages/icons/src/align-content-start.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignContentStart = React.forwardRef<SVGSVGElement, IconProps>(
+export const AlignContentStartIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -22,4 +22,4 @@ export const AlignContentStart = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-AlignContentStart.displayName = "AlignContentStart";
+AlignContentStartIcon.displayName = "AlignContentStartIcon";
diff --git a/packages/icons/src/align-content-stretch.tsx b/packages/icons/src/align-content-stretch.tsx
index 950d8efca8..7e1d11e97c 100644
--- a/packages/icons/src/align-content-stretch.tsx
+++ b/packages/icons/src/align-content-stretch.tsx
@@ -1,26 +1,27 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignContentStretch = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M19 5H5V6H19V5ZM19 18H5V19H19V18ZM8 8H11V11H8V8ZM16 8H13V11H16V8ZM13 13H16V16H13V13ZM11 13H8V16H11V13Z"
- fill={color}
- />
- </svg>
- );
- }
-);
-AlignContentStretch.displayName = "AlignContentStretch";
+export const AlignContentStretchIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M19 5H5V6H19V5ZM19 18H5V19H19V18ZM8 8H11V11H8V8ZM16 8H13V11H16V8ZM13 13H16V16H13V13ZM11 13H8V16H11V13Z"
+ fill={color}
+ />
+ </svg>
+ );
+});
+AlignContentStretchIcon.displayName = "AlignContentStretchIcon";
diff --git a/packages/icons/src/align-items-baseline.tsx b/packages/icons/src/align-items-baseline.tsx
index 5ff05b6d9e..4bccd2524c 100644
--- a/packages/icons/src/align-items-baseline.tsx
+++ b/packages/icons/src/align-items-baseline.tsx
@@ -1,52 +1,53 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignItemsBaseline = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M10 6H8V15H10V6ZM7 5V16H11V5H7Z"
- fill={color}
- />
- <path d="M7 12H11V18H7V12Z" fill={color} />
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M10 13H8V17H10V13ZM7 12V18H11V12H7Z"
- fill={color}
- />
- <path d="M13 12H16V15H13V12Z" fill={color} />
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M15 13H14V14H15V13ZM13 12V15H16V12H13Z"
- fill={color}
- />
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M16 8H14V15H16V8ZM13 7V16H17V7H13Z"
- fill={color}
- />
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M20 13H4V11.5H20V13Z"
- fill={color}
- />
- </svg>
- );
- }
-);
-AlignItemsBaseline.displayName = "AlignItemsBaseline";
+export const AlignItemsBaselineIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M10 6H8V15H10V6ZM7 5V16H11V5H7Z"
+ fill={color}
+ />
+ <path d="M7 12H11V18H7V12Z" fill={color} />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M10 13H8V17H10V13ZM7 12V18H11V12H7Z"
+ fill={color}
+ />
+ <path d="M13 12H16V15H13V12Z" fill={color} />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M15 13H14V14H15V13ZM13 12V15H16V12H13Z"
+ fill={color}
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M16 8H14V15H16V8ZM13 7V16H17V7H13Z"
+ fill={color}
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M20 13H4V11.5H20V13Z"
+ fill={color}
+ />
+ </svg>
+ );
+});
+AlignItemsBaselineIcon.displayName = "AlignItemsBaselineIcon";
diff --git a/packages/icons/src/align-items-center.tsx b/packages/icons/src/align-items-center.tsx
index 74acabb236..42301d67dd 100644
--- a/packages/icons/src/align-items-center.tsx
+++ b/packages/icons/src/align-items-center.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignItemsCenter = React.forwardRef<SVGSVGElement, IconProps>(
+export const AlignItemsCenterIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const AlignItemsCenter = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-AlignItemsCenter.displayName = "AlignItemsCenter";
+AlignItemsCenterIcon.displayName = "AlignItemsCenterIcon";
diff --git a/packages/icons/src/align-items-end.tsx b/packages/icons/src/align-items-end.tsx
index bfde2b5a0d..5c05af1b61 100644
--- a/packages/icons/src/align-items-end.tsx
+++ b/packages/icons/src/align-items-end.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignItemsEnd = React.forwardRef<SVGSVGElement, IconProps>(
+export const AlignItemsEndIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const AlignItemsEnd = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-AlignItemsEnd.displayName = "AlignItemsEnd";
+AlignItemsEndIcon.displayName = "AlignItemsEndIcon";
diff --git a/packages/icons/src/align-items-start.tsx b/packages/icons/src/align-items-start.tsx
index f16864f2cb..ced5355f92 100644
--- a/packages/icons/src/align-items-start.tsx
+++ b/packages/icons/src/align-items-start.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignItemsStart = React.forwardRef<SVGSVGElement, IconProps>(
+export const AlignItemsStartIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const AlignItemsStart = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-AlignItemsStart.displayName = "AlignItemsStart";
+AlignItemsStartIcon.displayName = "AlignItemsStartIcon";
diff --git a/packages/icons/src/align-items-stretch.tsx b/packages/icons/src/align-items-stretch.tsx
index 0dd9c57d70..992a83b540 100644
--- a/packages/icons/src/align-items-stretch.tsx
+++ b/packages/icons/src/align-items-stretch.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const AlignItemsStretch = React.forwardRef<SVGSVGElement, IconProps>(
+export const AlignItemsStretchIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const AlignItemsStretch = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-AlignItemsStretch.displayName = "AlignItemsStretch";
+AlignItemsStretchIcon.displayName = "AlignItemsStretchIcon";
diff --git a/packages/icons/src/flex-direction-column-reverse.tsx b/packages/icons/src/flex-direction-column-reverse.tsx
index f9f4d2414f..d3371a0982 100644
--- a/packages/icons/src/flex-direction-column-reverse.tsx
+++ b/packages/icons/src/flex-direction-column-reverse.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const FlexDirectionColumnReverse = React.forwardRef<
+export const FlexDirectionColumnReverseIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -23,4 +23,4 @@ export const FlexDirectionColumnReverse = React.forwardRef<
</svg>
);
});
-FlexDirectionColumnReverse.displayName = "FlexDirectionColumnReverse";
+FlexDirectionColumnReverseIcon.displayName = "FlexDirectionColumnReverseIcon";
diff --git a/packages/icons/src/flex-direction-column.tsx b/packages/icons/src/flex-direction-column.tsx
index 77704598f0..7a53576f8f 100644
--- a/packages/icons/src/flex-direction-column.tsx
+++ b/packages/icons/src/flex-direction-column.tsx
@@ -1,24 +1,25 @@
import * as React from "react";
import { IconProps } from "./types";
-export const FlexDirectionColumn = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- d="M11.1667 6L11.1667 15.8881L8.175 12.9794L7 14.125L12 19L17 14.125L15.825 12.9794L12.8333 15.8881L12.8333 6L11.1667 6Z"
- fill={color}
- />
- </svg>
- );
- }
-);
-FlexDirectionColumn.displayName = "FlexDirectionColumn";
+export const FlexDirectionColumnIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M11.1667 6L11.1667 15.8881L8.175 12.9794L7 14.125L12 19L17 14.125L15.825 12.9794L12.8333 15.8881L12.8333 6L11.1667 6Z"
+ fill={color}
+ />
+ </svg>
+ );
+});
+FlexDirectionColumnIcon.displayName = "FlexDirectionColumnIcon";
diff --git a/packages/icons/src/flex-direction-row-reverse.tsx b/packages/icons/src/flex-direction-row-reverse.tsx
index 8acbbb5c2b..83ee540a65 100644
--- a/packages/icons/src/flex-direction-row-reverse.tsx
+++ b/packages/icons/src/flex-direction-row-reverse.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const FlexDirectionRowReverse = React.forwardRef<
+export const FlexDirectionRowReverseIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -23,4 +23,4 @@ export const FlexDirectionRowReverse = React.forwardRef<
</svg>
);
});
-FlexDirectionRowReverse.displayName = "FlexDirectionRowReverse";
+FlexDirectionRowReverseIcon.displayName = "FlexDirectionRowReverseIcon";
diff --git a/packages/icons/src/flex-direction-row.tsx b/packages/icons/src/flex-direction-row.tsx
index c364bb3abe..fec6219822 100644
--- a/packages/icons/src/flex-direction-row.tsx
+++ b/packages/icons/src/flex-direction-row.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const FlexDirectionRow = React.forwardRef<SVGSVGElement, IconProps>(
+export const FlexDirectionRowIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -21,4 +21,4 @@ export const FlexDirectionRow = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-FlexDirectionRow.displayName = "FlexDirectionRow";
+FlexDirectionRowIcon.displayName = "FlexDirectionRowIcon";
diff --git a/packages/icons/src/flex-wrap-no-wrap.tsx b/packages/icons/src/flex-wrap-no-wrap.tsx
index 0ad1886faf..4abde60997 100644
--- a/packages/icons/src/flex-wrap-no-wrap.tsx
+++ b/packages/icons/src/flex-wrap-no-wrap.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const FlexWrapNowrap = React.forwardRef<SVGSVGElement, IconProps>(
+export const FlexWrapNowrapIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const FlexWrapNowrap = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-FlexWrapNowrap.displayName = "FlexWrapNowrap";
+FlexWrapNowrapIcon.displayName = "FlexWrapNowrapIcon";
diff --git a/packages/icons/src/flex-wrap-wrap-reverse.tsx b/packages/icons/src/flex-wrap-wrap-reverse.tsx
index efe50f7cfd..1330ef6317 100644
--- a/packages/icons/src/flex-wrap-wrap-reverse.tsx
+++ b/packages/icons/src/flex-wrap-wrap-reverse.tsx
@@ -1,30 +1,31 @@
import * as React from "react";
import { IconProps } from "./types";
-export const FlexWrapWrapReverse = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- style={{ transform: "rotate(180deg)" }}
- >
- <path d="M16 13H20V20H16V13Z" fill={color} />
- <path d="M4 13H8V20H4V13Z" fill={color} />
- <path d="M10 13H14V20H10V13Z" fill={color} />
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M13 5H11V10H13V5ZM19 5H17V10H19V5ZM7 5H5V10H7V5ZM19 14H17V19H19V14ZM7 14H5V19H7V14ZM13 14H11V19H13V14ZM8 4V11H4V4H8ZM10 4V11H14V4H10ZM16 4V11H20V4H16ZM16 13V20H20V13H16ZM8 13V20H4V13H8ZM10 13V20H14V13H10Z"
- fill={color}
- />
- </svg>
- );
- }
-);
-FlexWrapWrapReverse.displayName = "FlexWrapWrapReverse";
+export const FlexWrapWrapReverseIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ style={{ transform: "rotate(180deg)" }}
+ >
+ <path d="M16 13H20V20H16V13Z" fill={color} />
+ <path d="M4 13H8V20H4V13Z" fill={color} />
+ <path d="M10 13H14V20H10V13Z" fill={color} />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M13 5H11V10H13V5ZM19 5H17V10H19V5ZM7 5H5V10H7V5ZM19 14H17V19H19V14ZM7 14H5V19H7V14ZM13 14H11V19H13V14ZM8 4V11H4V4H8ZM10 4V11H14V4H10ZM16 4V11H20V4H16ZM16 13V20H20V13H16ZM8 13V20H4V13H8ZM10 13V20H14V13H10Z"
+ fill={color}
+ />
+ </svg>
+ );
+});
+FlexWrapWrapReverseIcon.displayName = "FlexWrapWrapReverseIcon";
diff --git a/packages/icons/src/flex-wrap-wrap.tsx b/packages/icons/src/flex-wrap-wrap.tsx
index 33977d3754..8e8707387e 100644
--- a/packages/icons/src/flex-wrap-wrap.tsx
+++ b/packages/icons/src/flex-wrap-wrap.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const FlexWrapWrap = React.forwardRef<SVGSVGElement, IconProps>(
+export const FlexWrapWrapIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -26,4 +26,4 @@ export const FlexWrapWrap = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-FlexWrapWrap.displayName = "FlexWrapWrap";
+FlexWrapWrapIcon.displayName = "FlexWrapWrapIcon";
diff --git a/packages/icons/src/gap-column.tsx b/packages/icons/src/gap-column.tsx
index 20ec1d3f40..80d6d4db8c 100644
--- a/packages/icons/src/gap-column.tsx
+++ b/packages/icons/src/gap-column.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const ColumnGap = React.forwardRef<SVGSVGElement, IconProps>(
+export const ColumnGapIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -30,4 +30,4 @@ export const ColumnGap = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-ColumnGap.displayName = "ColumnGap";
+ColumnGapIcon.displayName = "ColumnGapIcon";
diff --git a/packages/icons/src/gap-row.tsx b/packages/icons/src/gap-row.tsx
index fcdd144790..21e4fec3c3 100644
--- a/packages/icons/src/gap-row.tsx
+++ b/packages/icons/src/gap-row.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const RowGap = React.forwardRef<SVGSVGElement, IconProps>(
+export const RowGapIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -31,4 +31,4 @@ export const RowGap = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-RowGap.displayName = "RowGap";
+RowGapIcon.displayName = "RowGapIcon";
diff --git a/packages/icons/src/index.ts b/packages/icons/src/index.ts
index 79ca184e47..174a6db831 100644
--- a/packages/icons/src/index.ts
+++ b/packages/icons/src/index.ts
@@ -40,5 +40,5 @@ export * from "./justify-items-space-between";
export * from "./justify-items-start";
export * from "./gap-row";
export * from "./gap-column";
-export * from "./lock-opened";
-export * from "./lock-closed";
+export * from "./lock-open";
+export * from "./lock-close";
diff --git a/packages/icons/src/justify-content-center.tsx b/packages/icons/src/justify-content-center.tsx
index fbc67af6f5..873db35d74 100644
--- a/packages/icons/src/justify-content-center.tsx
+++ b/packages/icons/src/justify-content-center.tsx
@@ -1,26 +1,27 @@
import * as React from "react";
import { IconProps } from "./types";
-export const JustifyContentCenter = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M12.7999 4.79999V19.2H11.1999V4.79999H12.7999ZM16.5999 15.8H14.3999V8.19999H16.5999V15.8ZM7.3999 15.8H9.5999V8.19999H7.3999V15.8Z"
- fill={color}
- />
- </svg>
- );
- }
-);
-JustifyContentCenter.displayName = "JustifyContentCenter";
+export const JustifyContentCenterIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M12.7999 4.79999V19.2H11.1999V4.79999H12.7999ZM16.5999 15.8H14.3999V8.19999H16.5999V15.8ZM7.3999 15.8H9.5999V8.19999H7.3999V15.8Z"
+ fill={color}
+ />
+ </svg>
+ );
+});
+JustifyContentCenterIcon.displayName = "JustifyContentCenterIcon";
diff --git a/packages/icons/src/justify-content-end.tsx b/packages/icons/src/justify-content-end.tsx
index 85a7de7e8f..972ce675b8 100644
--- a/packages/icons/src/justify-content-end.tsx
+++ b/packages/icons/src/justify-content-end.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const JustifyContentEnd = React.forwardRef<SVGSVGElement, IconProps>(
+export const JustifyContentEndIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -22,4 +22,4 @@ export const JustifyContentEnd = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-JustifyContentEnd.displayName = "JustifyContentEnd";
+JustifyContentEndIcon.displayName = "JustifyContentEndIcon";
diff --git a/packages/icons/src/justify-content-space-around.tsx b/packages/icons/src/justify-content-space-around.tsx
index 40ab8d50ee..2304d78697 100644
--- a/packages/icons/src/justify-content-space-around.tsx
+++ b/packages/icons/src/justify-content-space-around.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const JustifyContentSpaceAround = React.forwardRef<
+export const JustifyContentSpaceAroundIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -22,4 +22,4 @@ export const JustifyContentSpaceAround = React.forwardRef<
</svg>
);
});
-JustifyContentSpaceAround.displayName = "JustifyContentSpaceAround";
+JustifyContentSpaceAroundIcon.displayName = "JustifyContentSpaceAroundIcon";
diff --git a/packages/icons/src/justify-content-space-between.tsx b/packages/icons/src/justify-content-space-between.tsx
index 006213f57a..5f3f88ad1e 100644
--- a/packages/icons/src/justify-content-space-between.tsx
+++ b/packages/icons/src/justify-content-space-between.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const JustifyContentSpaceBetween = React.forwardRef<
+export const JustifyContentSpaceBetweenIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -24,4 +24,4 @@ export const JustifyContentSpaceBetween = React.forwardRef<
</svg>
);
});
-JustifyContentSpaceBetween.displayName = "JustifyContentSpaceBetween";
+JustifyContentSpaceBetweenIcon.displayName = "JustifyContentSpaceBetweenIcon";
diff --git a/packages/icons/src/justify-content-start.tsx b/packages/icons/src/justify-content-start.tsx
index 12fcb4a4e9..81b6e3d37b 100644
--- a/packages/icons/src/justify-content-start.tsx
+++ b/packages/icons/src/justify-content-start.tsx
@@ -1,25 +1,26 @@
import * as React from "react";
import { IconProps } from "./types";
-export const JustifyContentStart = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- d="M10.9999 7.19999H8.79995V4.79999H7.19995V19.2H8.79995V16.8H10.9999V7.19999Z"
- fill={color}
- />
- <path d="M16.8 7.19999H13.6V16.8H16.8V7.19999Z" fill={color} />
- </svg>
- );
- }
-);
-JustifyContentStart.displayName = "JustifyContentStart";
+export const JustifyContentStartIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M10.9999 7.19999H8.79995V4.79999H7.19995V19.2H8.79995V16.8H10.9999V7.19999Z"
+ fill={color}
+ />
+ <path d="M16.8 7.19999H13.6V16.8H16.8V7.19999Z" fill={color} />
+ </svg>
+ );
+});
+JustifyContentStartIcon.displayName = "JustifyContentStartIcon";
diff --git a/packages/icons/src/justify-items-center.tsx b/packages/icons/src/justify-items-center.tsx
index ab0e9f88da..eba3892b60 100644
--- a/packages/icons/src/justify-items-center.tsx
+++ b/packages/icons/src/justify-items-center.tsx
@@ -2,26 +2,27 @@ import * as React from "react";
import { IconProps } from "./types";
// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsCenter = React.forwardRef<SVGSVGElement, IconProps>(
- ({ color = "currentColor", ...props }, forwardedRef) => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- {...props}
- ref={forwardedRef}
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M12.7999 4.79999V19.2H11.1999V4.79999H12.7999ZM16.5999 15.8H14.3999V8.19999H16.5999V15.8ZM7.3999 15.8H9.5999V8.19999H7.3999V15.8Z"
- fill={color}
- />
- </svg>
- );
- }
-);
-JustifyItemsCenter.displayName = "JustifyItemsCenter";
+export const JustifyItemsCenterIcon = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M12.7999 4.79999V19.2H11.1999V4.79999H12.7999ZM16.5999 15.8H14.3999V8.19999H16.5999V15.8ZM7.3999 15.8H9.5999V8.19999H7.3999V15.8Z"
+ fill={color}
+ />
+ </svg>
+ );
+});
+JustifyItemsCenterIcon.displayName = "JustifyItemsCenterIcon";
diff --git a/packages/icons/src/justify-items-end.tsx b/packages/icons/src/justify-items-end.tsx
index de4f514117..271f7cee0f 100644
--- a/packages/icons/src/justify-items-end.tsx
+++ b/packages/icons/src/justify-items-end.tsx
@@ -2,7 +2,7 @@ import * as React from "react";
import { IconProps } from "./types";
// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsEnd = React.forwardRef<SVGSVGElement, IconProps>(
+export const JustifyItemsEndIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const JustifyItemsEnd = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-JustifyItemsEnd.displayName = "JustifyItemsEnd";
+JustifyItemsEndIcon.displayName = "JustifyItemsEndIcon";
diff --git a/packages/icons/src/justify-items-space-around.tsx b/packages/icons/src/justify-items-space-around.tsx
index 12e81296c6..808228a77e 100644
--- a/packages/icons/src/justify-items-space-around.tsx
+++ b/packages/icons/src/justify-items-space-around.tsx
@@ -2,7 +2,7 @@ import * as React from "react";
import { IconProps } from "./types";
// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsSpaceAround = React.forwardRef<
+export const JustifyItemsSpaceAroundIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -23,4 +23,4 @@ export const JustifyItemsSpaceAround = React.forwardRef<
</svg>
);
});
-JustifyItemsSpaceAround.displayName = "JustifyItemsSpaceAround";
+JustifyItemsSpaceAroundIcon.displayName = "JustifyItemsSpaceAroundIcon";
diff --git a/packages/icons/src/justify-items-space-between.tsx b/packages/icons/src/justify-items-space-between.tsx
index f0a10b0235..5cec3d2c72 100644
--- a/packages/icons/src/justify-items-space-between.tsx
+++ b/packages/icons/src/justify-items-space-between.tsx
@@ -2,7 +2,7 @@ import * as React from "react";
import { IconProps } from "./types";
// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsSpaceBetween = React.forwardRef<
+export const JustifyItemsSpaceBetweenIcon = React.forwardRef<
SVGSVGElement,
IconProps
>(({ color = "currentColor", ...props }, forwardedRef) => {
@@ -25,4 +25,4 @@ export const JustifyItemsSpaceBetween = React.forwardRef<
</svg>
);
});
-JustifyItemsSpaceBetween.displayName = "JustifyItemsSpaceBetween";
+JustifyItemsSpaceBetweenIcon.displayName = "JustifyItemsSpaceBetweenIcon";
diff --git a/packages/icons/src/justify-items-start.tsx b/packages/icons/src/justify-items-start.tsx
index 4e732d0679..1ec8e65fcb 100644
--- a/packages/icons/src/justify-items-start.tsx
+++ b/packages/icons/src/justify-items-start.tsx
@@ -2,7 +2,7 @@ import * as React from "react";
import { IconProps } from "./types";
// @todo this is just a copy of justifyContent icons for now
-export const JustifyItemsStart = React.forwardRef<SVGSVGElement, IconProps>(
+export const JustifyItemsStartIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -23,4 +23,4 @@ export const JustifyItemsStart = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-JustifyItemsStart.displayName = "JustifyItemsStart";
+JustifyItemsStartIcon.displayName = "JustifyItemsStartIcon";
diff --git a/packages/icons/src/lock-closed.tsx b/packages/icons/src/lock-close.tsx
similarity index 93%
rename from packages/icons/src/lock-closed.tsx
rename to packages/icons/src/lock-close.tsx
index 1efcb5328b..ebcf1fb836 100644
--- a/packages/icons/src/lock-closed.tsx
+++ b/packages/icons/src/lock-close.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const LockClosed = React.forwardRef<SVGSVGElement, IconProps>(
+export const LockCloseIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -36,4 +36,4 @@ export const LockClosed = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-LockClosed.displayName = "LockClosed";
+LockCloseIcon.displayName = "LockCloseIcon";
diff --git a/packages/icons/src/lock-opened.tsx b/packages/icons/src/lock-open.tsx
similarity index 94%
rename from packages/icons/src/lock-opened.tsx
rename to packages/icons/src/lock-open.tsx
index 9a849a8e91..c248c1e941 100644
--- a/packages/icons/src/lock-opened.tsx
+++ b/packages/icons/src/lock-open.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import { IconProps } from "./types";
-export const LockOpened = React.forwardRef<SVGSVGElement, IconProps>(
+export const LockOpenIcon = React.forwardRef<SVGSVGElement, IconProps>(
({ color = "currentColor", ...props }, forwardedRef) => {
return (
<svg
@@ -34,4 +34,4 @@ export const LockOpened = React.forwardRef<SVGSVGElement, IconProps>(
);
}
);
-LockOpened.displayName = "LockOpened";
+LockOpenIcon.displayName = "LockOpenIcon";