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.

Merge branch 'main' into feature-style-panel-layout

Sultana3b614c7ceea
diff --cc apps/designer/app/designer/features/inspector/inspector.tsx
index 0412fa834f,e9908617b7..4eba23572c
--- a/apps/designer/app/designer/features/inspector/inspector.tsx
+++ b/apps/designer/app/designer/features/inspector/inspector.tsx
@@@ -1,6 -1,6 +1,6 @@@
- import type { Publish } from "@webstudio-is/react-sdk";
+ import type { Publish } from "~/shared/pubsub";
import {
- __DEPRECATED__Text,
+ Text,
Tabs,
TabsList,
TabsTrigger,
diff --cc apps/designer/app/designer/features/style-panel/shared/use-style-data.ts
index 063f21e504,a25be8d3ec..dae3469390
--- a/apps/designer/app/designer/features/style-panel/shared/use-style-data.ts
+++ b/apps/designer/app/designer/features/style-panel/shared/use-style-data.ts
@@@ -3,13 -3,21 +3,21 @@@ import type
SelectedInstanceData,
StyleUpdates,
} from "~/shared/canvas-components";
- import { type StyleProperty, type Publish } from "@webstudio-is/react-sdk";
- import { useSelectedBreakpoint } from "../../../shared/nano-states";
+ import { Instance, type StyleProperty } from "@webstudio-is/react-sdk";
+ import { type Publish } from "~/shared/pubsub";
+ import { useSelectedBreakpoint } from "../../shared/nano-states";
import { parseCssValue } from "./parse-css-value";
import { getInheritedStyle } from "./get-inherited-style";
-import { getCssRuleForBreakpoint } from "./lib/utils/get-css-rule-for-breakpoint";
+import { getCssRuleForBreakpoint } from "./get-css-rule-for-breakpoint";
import { useRootInstance } from "~/shared/nano-states";
+ declare module "~/shared/pubsub" {
+ export interface PubsubMap {
+ updateStyle: StyleUpdates;
+ [key: `previewStyle:${Instance["id"]}`]: StyleUpdates;
+ }
+ }
+
type UseStyleData = {
publish: Publish;
selectedInstanceData?: SelectedInstanceData;
diff --cc packages/icons/src/index.ts
index 174a6db831,cab70530d6..6067544530
--- a/packages/icons/src/index.ts
+++ b/packages/icons/src/index.ts
@@@ -10,35 -10,7 +10,39 @@@ export * from "./devices"
export * from "./tablet";
export * from "./body";
export * from "./types";
+export * from "./align-content-center";
+export * from "./align-content-end";
+export * from "./align-content-space-around";
+export * from "./align-content-space-between";
+export * from "./align-content-start";
+export * from "./align-content-stretch";
+export * from "./align-items-baseline";
+export * from "./align-items-center";
+export * from "./align-items-end";
+export * from "./align-items-start";
+export * from "./align-items-stretch";
+export * from "./flex-direction-row";
+export * from "./flex-direction-column";
+export * from "./flex-direction-row-reverse";
+export * from "./flex-direction-column-reverse";
+export * from "./flex-wrap-wrap";
+export * from "./flex-wrap-no-wrap";
+export * from "./flex-wrap-wrap-reverse";
+export * from "./justify-content-center";
+export * from "./justify-content-end";
+export * from "./justify-content-space-around";
+export * from "./justify-content-space-between";
+export * from "./justify-content-start";
+export * from "./justify-items-center";
+export * from "./justify-items-end";
+export * from "./justify-items-space-around";
+export * from "./justify-items-space-between";
+export * from "./justify-items-start";
+export * from "./gap-row";
+export * from "./gap-column";
+export * from "./lock-open";
+export * from "./lock-close";
+ export { AspectRatioIcon } from "./aspect-ratio";
+ export * from "./cloud";
+ export { TrashIcon } from "./trash";
+ export { SizeIcon } from "./size";