@salesforce/ui-design-mode 10.2.1 → 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.
Files changed (110) hide show
  1. package/dist/authoring/core/DesignPropertyPanelRoot.d.cts +52 -0
  2. package/dist/authoring/core/DesignPropertyPanelRoot.d.ts +52 -0
  3. package/dist/authoring/core/DesignPropertyPanelRoot.d.ts.map +1 -0
  4. package/dist/authoring/core/DesignPropertyPanelSection.d.cts +8 -0
  5. package/dist/authoring/core/DesignPropertyPanelSection.d.ts +8 -0
  6. package/dist/authoring/core/DesignPropertyPanelSection.d.ts.map +1 -0
  7. package/dist/authoring/core/editors/BaseEditorContainer.d.cts +16 -0
  8. package/dist/authoring/core/editors/BaseEditorContainer.d.ts +16 -0
  9. package/dist/authoring/core/editors/BaseEditorContainer.d.ts.map +1 -0
  10. package/dist/authoring/core/editors/BorderStyleEditor.d.cts +8 -0
  11. package/dist/authoring/core/editors/BorderStyleEditor.d.ts +8 -0
  12. package/dist/authoring/core/editors/BorderStyleEditor.d.ts.map +1 -0
  13. package/dist/authoring/core/editors/BoxDimensionEditor.d.cts +34 -0
  14. package/dist/authoring/core/editors/BoxDimensionEditor.d.ts +34 -0
  15. package/dist/authoring/core/editors/BoxDimensionEditor.d.ts.map +1 -0
  16. package/dist/authoring/core/editors/ColorEditor.d.cts +15 -0
  17. package/dist/authoring/core/editors/ColorEditor.d.ts +15 -0
  18. package/dist/authoring/core/editors/ColorEditor.d.ts.map +1 -0
  19. package/dist/authoring/core/editors/DimensionEditor.d.cts +31 -0
  20. package/dist/authoring/core/editors/DimensionEditor.d.ts +31 -0
  21. package/dist/authoring/core/editors/DimensionEditor.d.ts.map +1 -0
  22. package/dist/authoring/core/editors/FontFamilyEditor.d.cts +11 -0
  23. package/dist/authoring/core/editors/FontFamilyEditor.d.ts +11 -0
  24. package/dist/authoring/core/editors/FontFamilyEditor.d.ts.map +1 -0
  25. package/dist/authoring/core/editors/FontStyleEditor.d.cts +8 -0
  26. package/dist/authoring/core/editors/FontStyleEditor.d.ts +8 -0
  27. package/dist/authoring/core/editors/FontStyleEditor.d.ts.map +1 -0
  28. package/dist/authoring/core/editors/FontWeightEditor.d.cts +11 -0
  29. package/dist/authoring/core/editors/FontWeightEditor.d.ts +11 -0
  30. package/dist/authoring/core/editors/FontWeightEditor.d.ts.map +1 -0
  31. package/dist/authoring/core/editors/OverflowEditor.d.cts +8 -0
  32. package/dist/authoring/core/editors/OverflowEditor.d.ts +8 -0
  33. package/dist/authoring/core/editors/OverflowEditor.d.ts.map +1 -0
  34. package/dist/authoring/core/editors/PicklistEditor.d.cts +26 -0
  35. package/dist/authoring/core/editors/PicklistEditor.d.ts +26 -0
  36. package/dist/authoring/core/editors/PicklistEditor.d.ts.map +1 -0
  37. package/dist/authoring/core/editors/RadioGroupEditor.d.cts +26 -0
  38. package/dist/authoring/core/editors/RadioGroupEditor.d.ts +26 -0
  39. package/dist/authoring/core/editors/RadioGroupEditor.d.ts.map +1 -0
  40. package/dist/authoring/core/editors/TextAlignmentEditor.d.cts +8 -0
  41. package/dist/authoring/core/editors/TextAlignmentEditor.d.ts +8 -0
  42. package/dist/authoring/core/editors/TextAlignmentEditor.d.ts.map +1 -0
  43. package/dist/authoring/core/editors/TextDecorationEditor.d.cts +8 -0
  44. package/dist/authoring/core/editors/TextDecorationEditor.d.ts +8 -0
  45. package/dist/authoring/core/editors/TextDecorationEditor.d.ts.map +1 -0
  46. package/dist/authoring/core/editors/TextTransformEditor.d.cts +8 -0
  47. package/dist/authoring/core/editors/TextTransformEditor.d.ts +8 -0
  48. package/dist/authoring/core/editors/TextTransformEditor.d.ts.map +1 -0
  49. package/dist/authoring/core/history/commandExecutor.d.cts +29 -0
  50. package/dist/authoring/core/history/commandExecutor.d.ts +29 -0
  51. package/dist/authoring/core/history/commandExecutor.d.ts.map +1 -0
  52. package/dist/authoring/core/history/historyManager.d.cts +77 -0
  53. package/dist/authoring/core/history/historyManager.d.ts +77 -0
  54. package/dist/authoring/core/history/historyManager.d.ts.map +1 -0
  55. package/dist/authoring/core/history/historyService.d.cts +37 -0
  56. package/dist/authoring/core/history/historyService.d.ts +37 -0
  57. package/dist/authoring/core/history/historyService.d.ts.map +1 -0
  58. package/dist/authoring/core/history/iframeCommandExecutor.d.cts +10 -0
  59. package/dist/authoring/core/history/iframeCommandExecutor.d.ts +10 -0
  60. package/dist/authoring/core/history/iframeCommandExecutor.d.ts.map +1 -0
  61. package/dist/authoring/core/history/targetResolver.d.cts +59 -0
  62. package/dist/authoring/core/history/targetResolver.d.ts +59 -0
  63. package/dist/authoring/core/history/targetResolver.d.ts.map +1 -0
  64. package/dist/authoring/core/hooks/usePopover.d.cts +26 -0
  65. package/dist/authoring/core/hooks/usePopover.d.ts +26 -0
  66. package/dist/authoring/core/hooks/usePopover.d.ts.map +1 -0
  67. package/dist/authoring/core/utils/colorUtils.d.cts +73 -0
  68. package/dist/authoring/core/utils/colorUtils.d.ts +73 -0
  69. package/dist/authoring/core/utils/colorUtils.d.ts.map +1 -0
  70. package/dist/authoring/core/utils/dimensionUtils.d.cts +81 -0
  71. package/dist/authoring/core/utils/dimensionUtils.d.ts +81 -0
  72. package/dist/authoring/core/utils/dimensionUtils.d.ts.map +1 -0
  73. package/dist/authoring/core/utils/domUtils.d.cts +7 -0
  74. package/dist/authoring/core/utils/domUtils.d.ts +7 -0
  75. package/dist/authoring/core/utils/domUtils.d.ts.map +1 -0
  76. package/dist/authoring/react/index.d.cts +14 -0
  77. package/dist/authoring/react/index.d.ts +14 -0
  78. package/dist/authoring/react/index.d.ts.map +1 -0
  79. package/dist/authoring/react/index.js +119 -0
  80. package/dist/authoring/web-component/index.d.cts +18 -0
  81. package/dist/authoring/web-component/index.d.ts +18 -0
  82. package/dist/authoring/web-component/index.d.ts.map +1 -0
  83. package/dist/authoring/web-component/index.js +1229 -0
  84. package/dist/protocol/editableElementTags.cjs +16 -0
  85. package/dist/protocol/editableElementTags.d.cts +14 -0
  86. package/dist/protocol/editableElementTags.d.ts +14 -0
  87. package/dist/protocol/editableElementTags.d.ts.map +1 -0
  88. package/dist/protocol/editableElementTags.js +16 -0
  89. package/dist/protocol/index.cjs +2 -0
  90. package/dist/protocol/index.d.cts +1 -0
  91. package/dist/protocol/index.d.ts +1 -0
  92. package/dist/protocol/index.d.ts.map +1 -1
  93. package/dist/protocol/index.js +2 -0
  94. package/dist/protocol/messageTypes.d.cts +49 -6
  95. package/dist/protocol/messageTypes.d.ts +49 -6
  96. package/dist/protocol/messageTypes.d.ts.map +1 -1
  97. package/dist/runtime/design-mode-interactions.js +44 -21
  98. package/dist/runtime/interactions/communicationManager.d.cts +2 -26
  99. package/dist/runtime/interactions/communicationManager.d.ts +2 -26
  100. package/dist/runtime/interactions/communicationManager.d.ts.map +1 -1
  101. package/dist/runtime/interactions/componentMatcher.d.cts +6 -2
  102. package/dist/runtime/interactions/componentMatcher.d.ts +6 -2
  103. package/dist/runtime/interactions/componentMatcher.d.ts.map +1 -1
  104. package/dist/runtime/interactions/editableManager.d.cts +2 -1
  105. package/dist/runtime/interactions/editableManager.d.ts +2 -1
  106. package/dist/runtime/interactions/editableManager.d.ts.map +1 -1
  107. package/dist/runtime/interactions/utils/sourceUtils.d.cts +4 -1
  108. package/dist/runtime/interactions/utils/sourceUtils.d.ts +4 -1
  109. package/dist/runtime/interactions/utils/sourceUtils.d.ts.map +1 -1
  110. 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"}