@salesforce/ui-design-mode 10.2.2 → 10.3.0
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 +52 -0
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts +52 -0
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts.map +1 -0
- package/dist/authoring/core/DesignPropertyPanelSection.d.cts +8 -0
- package/dist/authoring/core/DesignPropertyPanelSection.d.ts +8 -0
- package/dist/authoring/core/DesignPropertyPanelSection.d.ts.map +1 -0
- package/dist/authoring/core/editors/BaseEditorContainer.d.cts +16 -0
- package/dist/authoring/core/editors/BaseEditorContainer.d.ts +16 -0
- package/dist/authoring/core/editors/BaseEditorContainer.d.ts.map +1 -0
- package/dist/authoring/core/editors/BorderStyleEditor.d.cts +8 -0
- package/dist/authoring/core/editors/BorderStyleEditor.d.ts +8 -0
- package/dist/authoring/core/editors/BorderStyleEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/BoxDimensionEditor.d.cts +34 -0
- package/dist/authoring/core/editors/BoxDimensionEditor.d.ts +34 -0
- package/dist/authoring/core/editors/BoxDimensionEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/ColorEditor.d.cts +15 -0
- package/dist/authoring/core/editors/ColorEditor.d.ts +15 -0
- package/dist/authoring/core/editors/ColorEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/DimensionEditor.d.cts +31 -0
- package/dist/authoring/core/editors/DimensionEditor.d.ts +31 -0
- package/dist/authoring/core/editors/DimensionEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/FontFamilyEditor.d.cts +11 -0
- package/dist/authoring/core/editors/FontFamilyEditor.d.ts +11 -0
- package/dist/authoring/core/editors/FontFamilyEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/FontStyleEditor.d.cts +8 -0
- package/dist/authoring/core/editors/FontStyleEditor.d.ts +8 -0
- package/dist/authoring/core/editors/FontStyleEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/FontWeightEditor.d.cts +11 -0
- package/dist/authoring/core/editors/FontWeightEditor.d.ts +11 -0
- package/dist/authoring/core/editors/FontWeightEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/OverflowEditor.d.cts +8 -0
- package/dist/authoring/core/editors/OverflowEditor.d.ts +8 -0
- package/dist/authoring/core/editors/OverflowEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/PicklistEditor.d.cts +26 -0
- package/dist/authoring/core/editors/PicklistEditor.d.ts +26 -0
- package/dist/authoring/core/editors/PicklistEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/RadioGroupEditor.d.cts +26 -0
- package/dist/authoring/core/editors/RadioGroupEditor.d.ts +26 -0
- package/dist/authoring/core/editors/RadioGroupEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/TextAlignmentEditor.d.cts +8 -0
- package/dist/authoring/core/editors/TextAlignmentEditor.d.ts +8 -0
- package/dist/authoring/core/editors/TextAlignmentEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/TextDecorationEditor.d.cts +8 -0
- package/dist/authoring/core/editors/TextDecorationEditor.d.ts +8 -0
- package/dist/authoring/core/editors/TextDecorationEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/TextTransformEditor.d.cts +8 -0
- package/dist/authoring/core/editors/TextTransformEditor.d.ts +8 -0
- package/dist/authoring/core/editors/TextTransformEditor.d.ts.map +1 -0
- package/dist/authoring/core/history/commandExecutor.d.cts +29 -0
- package/dist/authoring/core/history/commandExecutor.d.ts +29 -0
- package/dist/authoring/core/history/commandExecutor.d.ts.map +1 -0
- package/dist/authoring/core/history/historyManager.d.cts +77 -0
- package/dist/authoring/core/history/historyManager.d.ts +77 -0
- package/dist/authoring/core/history/historyManager.d.ts.map +1 -0
- package/dist/authoring/core/history/historyService.d.cts +37 -0
- package/dist/authoring/core/history/historyService.d.ts +37 -0
- package/dist/authoring/core/history/historyService.d.ts.map +1 -0
- package/dist/authoring/core/history/iframeCommandExecutor.d.cts +10 -0
- package/dist/authoring/core/history/iframeCommandExecutor.d.ts +10 -0
- package/dist/authoring/core/history/iframeCommandExecutor.d.ts.map +1 -0
- package/dist/authoring/core/history/targetResolver.d.cts +59 -0
- package/dist/authoring/core/history/targetResolver.d.ts +59 -0
- package/dist/authoring/core/history/targetResolver.d.ts.map +1 -0
- package/dist/authoring/core/hooks/usePopover.d.cts +26 -0
- package/dist/authoring/core/hooks/usePopover.d.ts +26 -0
- package/dist/authoring/core/hooks/usePopover.d.ts.map +1 -0
- package/dist/authoring/core/utils/colorUtils.d.cts +73 -0
- package/dist/authoring/core/utils/colorUtils.d.ts +73 -0
- package/dist/authoring/core/utils/colorUtils.d.ts.map +1 -0
- package/dist/authoring/core/utils/dimensionUtils.d.cts +81 -0
- package/dist/authoring/core/utils/dimensionUtils.d.ts +81 -0
- package/dist/authoring/core/utils/dimensionUtils.d.ts.map +1 -0
- package/dist/authoring/core/utils/domUtils.d.cts +7 -0
- package/dist/authoring/core/utils/domUtils.d.ts +7 -0
- package/dist/authoring/core/utils/domUtils.d.ts.map +1 -0
- package/dist/authoring/react/index.d.cts +14 -0
- package/dist/authoring/react/index.d.ts +14 -0
- package/dist/authoring/react/index.d.ts.map +1 -0
- package/dist/authoring/react/index.js +119 -0
- package/dist/authoring/web-component/index.d.cts +18 -0
- package/dist/authoring/web-component/index.d.ts +18 -0
- package/dist/authoring/web-component/index.d.ts.map +1 -0
- package/dist/authoring/web-component/index.js +1229 -0
- package/dist/protocol/editableElementTags.cjs +16 -0
- package/dist/protocol/editableElementTags.d.cts +14 -0
- package/dist/protocol/editableElementTags.d.ts +14 -0
- package/dist/protocol/editableElementTags.d.ts.map +1 -0
- package/dist/protocol/editableElementTags.js +16 -0
- package/dist/protocol/index.cjs +2 -0
- package/dist/protocol/index.d.cts +1 -0
- package/dist/protocol/index.d.ts +1 -0
- package/dist/protocol/index.d.ts.map +1 -1
- package/dist/protocol/index.js +2 -0
- package/dist/protocol/messageTypes.d.cts +49 -6
- package/dist/protocol/messageTypes.d.ts +49 -6
- package/dist/protocol/messageTypes.d.ts.map +1 -1
- package/dist/runtime/design-mode-interactions.js +44 -21
- package/dist/runtime/interactions/communicationManager.d.cts +2 -26
- package/dist/runtime/interactions/communicationManager.d.ts +2 -26
- package/dist/runtime/interactions/communicationManager.d.ts.map +1 -1
- package/dist/runtime/interactions/componentMatcher.d.cts +6 -2
- package/dist/runtime/interactions/componentMatcher.d.ts +6 -2
- package/dist/runtime/interactions/componentMatcher.d.ts.map +1 -1
- package/dist/runtime/interactions/editableManager.d.cts +2 -1
- package/dist/runtime/interactions/editableManager.d.ts +2 -1
- package/dist/runtime/interactions/editableManager.d.ts.map +1 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.cts +4 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.ts +4 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.ts.map +1 -1
- package/package.json +27 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DesignPanelComponent, StylesEntryMap } from '../core/DesignPropertyPanelRoot.cjs';
|
|
2
|
+
import { ChangeContext } from '../core/history/historyService.cjs';
|
|
3
|
+
/** The `<design-mode-panel>` Custom Element. */
|
|
4
|
+
export declare class DesignModePanelElement extends HTMLElement {
|
|
5
|
+
#private;
|
|
6
|
+
get component(): DesignPanelComponent | null;
|
|
7
|
+
set component(value: DesignPanelComponent | null);
|
|
8
|
+
get styles(): StylesEntryMap | null;
|
|
9
|
+
set styles(value: StylesEntryMap | null);
|
|
10
|
+
undo(): void;
|
|
11
|
+
redo(): void;
|
|
12
|
+
clearHistory(): void;
|
|
13
|
+
getHistoryStack(): unknown[];
|
|
14
|
+
recordTextChange(originalText: string, newText: string, context?: ChangeContext): void;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DesignPanelComponent, StylesEntryMap } from '../core/DesignPropertyPanelRoot.js';
|
|
2
|
+
import { ChangeContext } from '../core/history/historyService.js';
|
|
3
|
+
/** The `<design-mode-panel>` Custom Element. */
|
|
4
|
+
export declare class DesignModePanelElement extends HTMLElement {
|
|
5
|
+
#private;
|
|
6
|
+
get component(): DesignPanelComponent | null;
|
|
7
|
+
set component(value: DesignPanelComponent | null);
|
|
8
|
+
get styles(): StylesEntryMap | null;
|
|
9
|
+
set styles(value: StylesEntryMap | null);
|
|
10
|
+
undo(): void;
|
|
11
|
+
redo(): void;
|
|
12
|
+
clearHistory(): void;
|
|
13
|
+
getHistoryStack(): unknown[];
|
|
14
|
+
recordTextChange(originalText: string, newText: string, context?: ChangeContext): void;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authoring/web-component/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA+BH,OAAO,EAEN,KAAK,oBAAoB,EAEzB,KAAK,cAAc,EACnB,MAAM,iCAAiC,CAAC;AAOzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAuCpE,gDAAgD;AAChD,qBAAa,sBAAuB,SAAQ,WAAW;;IAOtD,IAAI,SAAS,IAAI,oBAAoB,GAAG,IAAI,CAE3C;IACD,IAAI,SAAS,CAAC,KAAK,EAAE,oBAAoB,GAAG,IAAI,EAG/C;IAED,IAAI,MAAM,IAAI,cAAc,GAAG,IAAI,CAElC;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,EAGtC;IAGD,IAAI,IAAI,IAAI;IAGZ,IAAI,IAAI,IAAI;IAGZ,YAAY,IAAI,IAAI;IAGpB,eAAe,IAAI,OAAO,EAAE;IAG5B,gBAAgB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAItF,iBAAiB,IAAI,IAAI;IAYzB,oBAAoB,IAAI,IAAI;CAyB5B"}
|