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.

include figma icons

Sultan3cae0466b942
diff --git a/apps/designer/app/designer/features/style-panel/style-section.tsx b/apps/designer/app/designer/features/style-panel/style-section.tsx
index bc4d4bcc52..e76554e9c0 100644
--- a/apps/designer/app/designer/features/style-panel/style-section.tsx
+++ b/apps/designer/app/designer/features/style-panel/style-section.tsx
@@ -10,7 +10,6 @@ import {
Combobox,
Comboicon,
Select,
- TextField,
IconButton,
} from "~/shared/design-system";
import {
@@ -18,6 +17,7 @@ import {
TriangleDownIcon,
LockClosedIcon,
} from "~/shared/icons";
+import * as icons from "~/shared/icons";
import type { StyleConfig } from "./lib/configs";
import {
categories,
@@ -36,6 +36,7 @@ import {
} from "./lib/spacing-widget";
import { useIsFromCurrentBreakpoint } from "./lib/use-is-from-current-breakpoint";
import { propertyNameColorForSelectedBreakpoint } from "./lib/constants";
+import camelcase from "lodash.camelcase";
const getFinalValue = ({
currentStyle,
@@ -258,7 +259,6 @@ const ComboiconControl = ({
setProperty,
styleConfig,
}: ControlProps) => {
- // @todo show which instance we inherited the value from
const value = getFinalValue({
currentStyle,
inheritedStyle,
@@ -268,18 +268,25 @@ const ComboiconControl = ({
if (value === undefined) return null;
const setValue = setProperty(styleConfig.property);
+ const currentValue = value.value as string;
+ const currentIconName = camelcase(
+ `A${styleConfig.label} ${currentValue}`
+ ).slice(1);
+ const Icon = (icons as any)[currentIconName] || icons["AlignItemsCenter"];
return (
- <Comboicon
- id={styleConfig.property}
- items={styleConfig.items}
- value={String(value.value)}
- onChange={(value: any) => {
- console.log(value, styleConfig.property);
- setValue(value);
- }}
- />
+ <IconButton>
+ <Icon />
+ </IconButton>
);
+ // return (
+ // <Comboicon
+ // id={styleConfig.property}
+ // items={styleConfig.items}
+ // value={String(value.value)}
+ // onChange={setValue}
+ // />
+ // );
};
const GridControl = ({ currentStyle }: any) => {
@@ -387,7 +394,7 @@ export const renderCategory = ({
gridTemplateAreas: `
"display display display display display display display display display display display display"
"grid grid grid grid grid grid flexDirection flexDirection flexWrap flexWrap . ."
- "grid grid grid grid grid grid alignItems alignItems justifyContent justifyContent justifyItems justifyItems"
+ "grid grid grid grid grid grid alignItems alignItems justifyContent justifyContent . ."
"rowGap rowGap rowGap rowGap rowGap lock lock columnGap columnGap columnGap columnGap columnGap"
`,
}}
diff --git a/apps/designer/app/shared/icons/align-content.tsx b/apps/designer/app/shared/icons/align-content.tsx
new file mode 100644
index 0000000000..497f70def1
--- /dev/null
+++ b/apps/designer/app/shared/icons/align-content.tsx
@@ -0,0 +1,90 @@
+import * as React from "react";
+import { IconProps } from "./types";
+
+export const AlignContentStart = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+ }
+);
+
+export const AlignContentCenter = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+ }
+);
+
+export const AlignContentEnd = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+ }
+);
+
+export const AlignContentStretch = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+ }
+);
+
+export const AlignContentSpaceAround = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+});
+
+export const AlignContentSpaceBetween = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+});
+
+export const AlignContentNormal = AlignContentStart;
diff --git a/apps/designer/app/shared/icons/align-items.tsx b/apps/designer/app/shared/icons/align-items.tsx
new file mode 100644
index 0000000000..e7ea495363
--- /dev/null
+++ b/apps/designer/app/shared/icons/align-items.tsx
@@ -0,0 +1,155 @@
+import * as React from "react";
+import { IconProps } from "./types";
+
+export const AlignItemsStart = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M12.8 7.99999H11.2V14.4H8.00005V7.99999H4.80005V6.39999H19.2V7.99999H16V17.6H12.8V7.99999Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const AlignItemsEnd = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M16 16H19.2V17.6H4.80005V16H8.00005V9.59999H11.2V16H12.8V6.39999H16V16Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const AlignItemsCenter = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M10.4 11H12.8V5L15 5V11H20V12.6H15V19H12.8V12.6H10.4V17H8.2V12.6H4V11H8.2V7H10.4V11Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const AlignItemsBaseline = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M10 6H8V15H10V6ZM7 5V16H11V5H7Z"
+ fill="#11181C"
+ />
+ <path d="M7 12H11V18H7V12Z" fill="#11181C" />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M10 13H8V17H10V13ZM7 12V18H11V12H7Z"
+ fill="#11181C"
+ />
+ <path d="M13 12H16V15H13V12Z" fill="#11181C" />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M15 13H14V14H15V13ZM13 12V15H16V12H13Z"
+ fill="#11181C"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M16 8H14V15H16V8ZM13 7V16H17V7H13Z"
+ fill="#11181C"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M20 13H4V11.5H20V13Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const AlignItemsStretch = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ fill-rule="evenodd"
+ clipRule="evenodd"
+ d="M16 16H19.2V17.6H4.80005V16H8.00005V7.99999H4.80005V6.39999H19.2V7.99999H16V16ZM12.8 16V7.99999H11.2V16H12.8Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const AlignItemsNormal = AlignItemsStart;
diff --git a/apps/designer/app/shared/icons/flex-direction.tsx b/apps/designer/app/shared/icons/flex-direction.tsx
new file mode 100644
index 0000000000..4c5e94b297
--- /dev/null
+++ b/apps/designer/app/shared/icons/flex-direction.tsx
@@ -0,0 +1,50 @@
+import * as React from "react";
+import { IconProps } from "./types";
+
+export const FlexDirectionRow = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M2 24C0.89543 24 -3.91405e-08 23.1046 -8.74228e-08 22L-9.61651e-07 2C-1.00993e-06 0.89543 0.89543 -3.91405e-08 2 -8.74228e-08L22 -9.61651e-07C23.1046 -1.00993e-06 24 0.89543 24 2L24 22C24 23.1046 23.1046 24 22 24L2 24Z"
+ fill="white"
+ />
+ <path
+ d="M5 12.8334L14.8881 12.8334L11.9794 15.825L13.125 17L18 12L13.125 7.00003L11.9794 8.17503L14.8881 11.1667L5 11.1667V12.8334Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const FlexDirectionColumn = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M2 24C0.89543 24 -3.91405e-08 23.1046 -8.74228e-08 22L-9.61651e-07 2C-1.00993e-06 0.89543 0.89543 -3.91405e-08 2 -8.74228e-08L22 -9.61651e-07C23.1046 -1.00993e-06 24 0.89543 24 2L24 22C24 23.1046 23.1046 24 22 24L2 24Z"
+ fill="white"
+ />
+ <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="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const flexDirectionNormal = FlexDirectionRow;
diff --git a/apps/designer/app/shared/icons/flex-wrap.tsx b/apps/designer/app/shared/icons/flex-wrap.tsx
new file mode 100644
index 0000000000..242ddf2fc0
--- /dev/null
+++ b/apps/designer/app/shared/icons/flex-wrap.tsx
@@ -0,0 +1,57 @@
+import * as React from "react";
+import { IconProps } from "./types";
+
+export const FlexWrapWrap = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path d="M16 13H20V20H16V13Z" fill="#11181C" />
+ <path d="M4 13H8V20H4V13Z" fill="#11181C" />
+ <path d="M10 13H14V20H10V13Z" fill="#11181C" />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M13 5H11V10H13V5ZM19 5H17V10H19V5ZM7 5H5V10H7V5ZM19 14H17V19H19V14ZM7 14H5V19H7V14ZM13 14H11V19H13V14ZM8 4V11H4V4H8ZM10 4V11H14V4H10ZM16 4V11H20V4H16ZM16 13V20H20V13H16ZM8 13V20H4V13H8ZM10 13V20H14V13H10Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const FlexWrapNowrap = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M13 9H11V15H13V9ZM19 9H17V15H19V9ZM7 9H5V15H7V9ZM4 8V16H8V8H4ZM14 8V16H10V8H14ZM20 8V16H16V8H20Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const FlexWrapNormal = FlexWrapNowrap;
diff --git a/apps/designer/app/shared/icons/gap.tsx b/apps/designer/app/shared/icons/gap.tsx
new file mode 100644
index 0000000000..b16883c417
--- /dev/null
+++ b/apps/designer/app/shared/icons/gap.tsx
@@ -0,0 +1,30 @@
+import * as React from "react";
+import { IconProps } from "./types";
+
+export const RowGap = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+ }
+);
+
+export const ColumnGap = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ ></svg>
+ );
+ }
+);
diff --git a/apps/designer/app/shared/icons/index.ts b/apps/designer/app/shared/icons/index.ts
index 09c273be06..0e75322adc 100644
--- a/apps/designer/app/shared/icons/index.ts
+++ b/apps/designer/app/shared/icons/index.ts
@@ -9,3 +9,9 @@ export * from "./github";
export * from "./devices";
export * from "./tablet";
export * from "./types";
+export * from "./align-content";
+export * from "./align-items";
+export * from "./flex-direction";
+export * from "./flex-wrap";
+export * from "./gap";
+export * from "./justify-content";
diff --git a/apps/designer/app/shared/icons/justify-content.tsx b/apps/designer/app/shared/icons/justify-content.tsx
new file mode 100644
index 0000000000..4d2d7f0416
--- /dev/null
+++ b/apps/designer/app/shared/icons/justify-content.tsx
@@ -0,0 +1,127 @@
+import * as React from "react";
+import { IconProps } from "./types";
+
+export const JustifyContentStart = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ d="M10.9999 7.19999H8.79995V4.79999H7.19995V19.2H8.79995V16.8H10.9999V7.19999Z"
+ fill="#11181C"
+ />
+ <path d="M16.8 7.19999H13.6V16.8H16.8V7.19999Z" fill="#11181C" />
+ </svg>
+ );
+ }
+);
+
+export const JustifyContentCenter = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <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="#11181C"
+ />
+ </svg>
+ );
+ }
+);
+
+export const JustifyContentEnd = React.forwardRef<SVGSVGElement, IconProps>(
+ ({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ d="M12 16.8H15.2V19.2H16.8V4.79999H15.2V7.19999H12V16.8Z"
+ fill="#11181C"
+ />
+ <path d="M7.19995 16.8H10.4V7.19999H7.19995V16.8Z" fill="#11181C" />
+ </svg>
+ );
+ }
+);
+
+export const JustifyContentSpaceBetween = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M11.1999 7.19999H7.9999V4.79999H6.3999V19.2H7.9999V16.8H11.1999V7.19999ZM12.7999 16.8H15.9999V19.2H17.5999V4.79999H15.9999V7.19999H12.7999V16.8Z"
+ fill="#11181C"
+ />
+ </svg>
+ );
+});
+
+export const JustifyContentSpaceAround = React.forwardRef<
+ SVGSVGElement,
+ IconProps
+>(({ color = "currentColor", ...props }, forwardedRef) => {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ {...props}
+ ref={forwardedRef}
+ >
+ <path
+ d="M0 2C0 0.89543 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V22C24 23.1046 23.1046 24 22 24H2C0.89543 24 0 23.1046 0 22V2Z"
+ fill="white"
+ />
+ <path d="M7.9999 19.2V4.79999H6.3999V19.2H7.9999Z" fill="#11181C" />
+ <path d="M17.5999 19.2V4.79999H15.9999V19.2H17.5999Z" fill="#11181C" />
+ <path d="M15.1999 16.8H12.7999V7.19999H15.1999V16.8Z" fill="#11181C" />
+ <path d="M8.7999 16.8H11.1999V7.19999H8.7999V16.8Z" fill="#11181C" />
+ </svg>
+ );
+});
+
+export const JustifyContentNormal = JustifyContentStart;
diff --git a/apps/designer/package.json b/apps/designer/package.json
index 5494b629f3..40f1af94af 100644
--- a/apps/designer/package.json
+++ b/apps/designer/package.json
@@ -69,6 +69,7 @@
"lodash.merge": "^4.6.2",
"lodash.noop": "^3.0.1",
"lodash.snakecase": "^4.1.1",
+ "lodash.camelcase": "^4.3.0",
"mitt": "^3.0.0",
"nanoid": "^3.2.0",
"react": "^17.0.2",
@@ -114,6 +115,7 @@
"@types/lodash.merge": "^4.6.6",
"@types/lodash.noop": "^3.0.6",
"@types/lodash.snakecase": "^4.1.6",
+ "@types/lodash.camelcase": "^4.3.0",
"@types/react": "^17.0.24",
"@types/react-color": "^3.0.6",
"@types/react-dom": "^17.0.9",
diff --git a/yarn.lock b/yarn.lock
index e7ba9efbb6..9d6195745b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3956,6 +3956,13 @@
dependencies:
"@types/node" "*"
+"@types/lodash.camelcase@^4.3.0":
+ version "4.3.7"
+ resolved "https://registry.yarnpkg.com/@types/lodash.camelcase/-/lodash.camelcase-4.3.7.tgz#b0a06a216542335c0326c0d2fbad3f121b1f29a7"
+ integrity sha512-Nfi6jpo9vuEOSIJP+mpbTezKyEt75DQlbwjiDvs/JctWkbnHDoyQo5lWqdvgNiJmVUjcmkfvlrvSEgJYvurOKg==
+ dependencies:
+ "@types/lodash" "*"
+
"@types/lodash.capitalize@^4.2.6":
version "4.2.7"
resolved "https://registry.yarnpkg.com/@types/lodash.capitalize/-/lodash.capitalize-4.2.7.tgz#9332f52b8333bd1d32ae88224c313fb647ff4f16"
@@ -11002,6 +11009,11 @@ lodash-es@^4.17.15:
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==
+lodash.camelcase@^4.3.0:
+ version "4.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"
+ integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==
+
lodash.capitalize@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz#f826c9b4e2a8511d84e3aca29db05e1a4f3b72a9"