Skip to content

Commit aa44e4f

Browse files
committed
move to builder shared
1 parent e3f0f60 commit aa44e4f

File tree

8 files changed

+18
-9
lines changed

8 files changed

+18
-9
lines changed

apps/builder/app/builder/features/style-panel/sections/advanced/advanced.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
} from "../../shared/use-style-data";
2121
import { useComputedStyles } from "../../shared/model";
2222
import { getDots } from "../../shared/style-section";
23-
import { CssEditor, type CssEditorApi } from "../../shared/css-editor";
23+
import { CssEditor, type CssEditorApi } from "../../../../shared/css-editor";
2424
import { $advancedStylesLonghands } from "./stores";
2525
import { $selectedInstanceKey } from "~/shared/awareness";
2626

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ import {
3030
toValue,
3131
type StyleProperty,
3232
} from "@webstudio-is/css-engine";
33-
import { deleteProperty, setProperty } from "../../shared/use-style-data";
33+
import {
34+
deleteProperty,
35+
setProperty,
36+
} from "../../features/style-panel/shared/use-style-data";
3437
import { composeEventHandlers } from "~/shared/event-utils";
3538
import { parseStyleInput } from "./parse-style-input";
3639

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
$styles,
99
$styleSourceSelections,
1010
} from "~/shared/nano-states";
11-
import { setProperty } from "../use-style-data";
11+
import { setProperty } from "../../features/style-panel/shared/use-style-data";
1212
import { $awareness } from "~/shared/awareness";
1313

1414
const backgroundImage: StyleDecl = {
Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,22 @@ import {
3232
type CssProperty,
3333
type StyleMap,
3434
} from "@webstudio-is/css-engine";
35-
import { CssValueInputContainer } from "../../shared/css-value-input";
36-
import { styleConfigByName } from "../../shared/configs";
37-
import { $availableVariables, useComputedStyleDecl } from "../../shared/model";
38-
import { PropertyInfo } from "../../property-label";
39-
import { ColorPopover } from "../../shared/color-picker";
35+
import { CssValueInputContainer } from "../../features/style-panel/shared/css-value-input";
36+
import { styleConfigByName } from "../../features/style-panel/shared/configs";
37+
import {
38+
$availableVariables,
39+
useComputedStyleDecl,
40+
} from "../../features/style-panel/shared/model";
41+
import { PropertyInfo } from "../../features/style-panel/property-label";
42+
import { ColorPopover } from "../../features/style-panel/shared/color-picker";
4043
import { useClientSupports } from "~/shared/client-supports";
4144
import { CopyPasteMenu, copyAttribute } from "./copy-paste-menu";
4245
import { AddStyleInput } from "./add-style-input";
4346
import { parseStyleInput } from "./parse-style-input";
44-
import type { DeleteProperty, SetProperty } from "../use-style-data";
47+
import type {
48+
DeleteProperty,
49+
SetProperty,
50+
} from "../../features/style-panel/shared/use-style-data";
4551

4652
// Used to indent the values when they are on the next line. This way its easier to see
4753
// where the property ends and value begins, especially in case of presets.

0 commit comments

Comments
 (0)