@salesforce/ui-design-mode 11.44.0 → 11.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring/core/DesignPropertyPanelRoot.d.cts +7 -2
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts +7 -2
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts.map +1 -1
- package/dist/authoring/react/index.js +2 -2
- package/dist/authoring/web-component/index.js +7 -7
- package/dist/protocol/messageTypes.d.cts +9 -0
- package/dist/protocol/messageTypes.d.ts +9 -0
- package/dist/protocol/messageTypes.d.ts.map +1 -1
- package/dist/protocol/version.cjs +1 -1
- package/dist/protocol/version.js +1 -1
- package/dist/runtime/design-mode-interactions.js +50 -7
- package/dist/runtime/interactions/eventHandlers.d.cts +19 -0
- package/dist/runtime/interactions/eventHandlers.d.ts +19 -0
- package/dist/runtime/interactions/eventHandlers.d.ts.map +1 -1
- package/dist/runtime/interactions/interactionsController.d.cts +12 -3
- package/dist/runtime/interactions/interactionsController.d.ts +12 -3
- package/dist/runtime/interactions/interactionsController.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -22,8 +22,13 @@ export interface DesignPropertyPanelProps {
|
|
|
22
22
|
component: DesignPanelComponent | null;
|
|
23
23
|
/** Inline + computed style values for the selected component. */
|
|
24
24
|
styles: StylesEntryMap | null;
|
|
25
|
-
/**
|
|
26
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Apply a style change to the surface (host posts it to the preview iframe).
|
|
27
|
+
* `isReplay` is true when this call is an undo/redo replay rather than a live
|
|
28
|
+
* edit — the runtime uses it (not `sourceLocation` presence, which a live edit
|
|
29
|
+
* carries too) to decide whether a clear should re-notify for a re-measure.
|
|
30
|
+
*/
|
|
31
|
+
onStyleChange: (property: string, value: string, sourceLocation?: SourceLocation, isReplay?: boolean) => void;
|
|
27
32
|
/** Apply a text change to the surface. Used by the internal history replay. */
|
|
28
33
|
onTextChange?: (text: string, sourceLocation?: SourceLocation) => void;
|
|
29
34
|
/** Undo/redo availability changed. */
|
|
@@ -22,8 +22,13 @@ export interface DesignPropertyPanelProps {
|
|
|
22
22
|
component: DesignPanelComponent | null;
|
|
23
23
|
/** Inline + computed style values for the selected component. */
|
|
24
24
|
styles: StylesEntryMap | null;
|
|
25
|
-
/**
|
|
26
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Apply a style change to the surface (host posts it to the preview iframe).
|
|
27
|
+
* `isReplay` is true when this call is an undo/redo replay rather than a live
|
|
28
|
+
* edit — the runtime uses it (not `sourceLocation` presence, which a live edit
|
|
29
|
+
* carries too) to decide whether a clear should re-notify for a re-measure.
|
|
30
|
+
*/
|
|
31
|
+
onStyleChange: (property: string, value: string, sourceLocation?: SourceLocation, isReplay?: boolean) => void;
|
|
27
32
|
/** Apply a text change to the surface. Used by the internal history replay. */
|
|
28
33
|
onTextChange?: (text: string, sourceLocation?: SourceLocation) => void;
|
|
29
34
|
/** Undo/redo availability changed. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesignPropertyPanelRoot.d.ts","sourceRoot":"","sources":["../../../src/authoring/core/DesignPropertyPanelRoot.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EAEnB,cAAc,EACd,MAAM,gBAAgB,CAAC;AAQxB,OAAO,EAEN,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAoB,KAAK,cAAc,EAA0B,MAAM,qBAAqB,CAAC;AAEpG,OAAO,EAEN,KAAK,aAAa,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAA8B,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AA6E/E,iFAAiF;AACjF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACtC,aAAa,EACb,MAAM,GAAG,SAAS,GAAG,aAAa,GAAG,oBAAoB,GAAG,OAAO,CACnE,CAAC;AAEF,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AAEjE,yFAAyF;AACzF,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;AAErD,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,qFAAqF;AACrF,MAAM,WAAW,wBAAwB;IACxC,4DAA4D;IAC5D,SAAS,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACvC,iEAAiE;IACjE,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC;IAC9B
|
|
1
|
+
{"version":3,"file":"DesignPropertyPanelRoot.d.ts","sourceRoot":"","sources":["../../../src/authoring/core/DesignPropertyPanelRoot.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EAEnB,cAAc,EACd,MAAM,gBAAgB,CAAC;AAQxB,OAAO,EAEN,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAoB,KAAK,cAAc,EAA0B,MAAM,qBAAqB,CAAC;AAEpG,OAAO,EAEN,KAAK,aAAa,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAA8B,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AA6E/E,iFAAiF;AACjF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACtC,aAAa,E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