File tree Expand file tree Collapse file tree 8 files changed +18
-9
lines changed
features/style-panel/sections/advanced Expand file tree Collapse file tree 8 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import {
2020} from "../../shared/use-style-data" ;
2121import { useComputedStyles } from "../../shared/model" ;
2222import { getDots } from "../../shared/style-section" ;
23- import { CssEditor , type CssEditorApi } from "../../shared/css-editor" ;
23+ import { CssEditor , type CssEditorApi } from "../../../../ shared/css-editor" ;
2424import { $advancedStylesLonghands } from "./stores" ;
2525import { $selectedInstanceKey } from "~/shared/awareness" ;
2626
Original file line number Diff line number Diff 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" ;
3437import { composeEventHandlers } from "~/shared/event-utils" ;
3538import { parseStyleInput } from "./parse-style-input" ;
3639
File renamed without changes.
Original file line number Diff line number Diff line change 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" ;
1212import { $awareness } from "~/shared/awareness" ;
1313
1414const backgroundImage : StyleDecl = {
Original file line number Diff line number Diff 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" ;
4043import { useClientSupports } from "~/shared/client-supports" ;
4144import { CopyPasteMenu , copyAttribute } from "./copy-paste-menu" ;
4245import { AddStyleInput } from "./add-style-input" ;
4346import { 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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments