@salesforce/ui-design-mode 10.2.2 → 10.4.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,73 @@
1
+ import { Color, Oklch, Oklab, Lch, Lab, Rgb, Hsl } from 'culori';
2
+ export interface RgbaColor {
3
+ r: number;
4
+ g: number;
5
+ b: number;
6
+ a: number;
7
+ }
8
+ export type { Oklch, Oklab, Lch, Lab, Rgb, Hsl };
9
+ /**
10
+ * Check if a string is a valid CSS color value.
11
+ */
12
+ export declare function isValidColor(value: string | null | undefined): boolean;
13
+ /**
14
+ * Parse any CSS color string to { r, g, b, a }.
15
+ */
16
+ export declare function parseColorToRgba(value: string | null | undefined): RgbaColor;
17
+ /**
18
+ * Convert RGBA object to CSS string.
19
+ */
20
+ export declare function rgbaToString(rgba: RgbaColor): string;
21
+ /**
22
+ * Check if string is a valid hex color.
23
+ */
24
+ export declare function isValidHexColor(color: string): boolean;
25
+ /**
26
+ * Convert RGBA object to hex string.
27
+ */
28
+ export declare function rgbaToHex(rgba: RgbaColor): string;
29
+ /**
30
+ * Detect the color space mode from a color string.
31
+ */
32
+ export declare function getColorMode(value: string | null | undefined): string;
33
+ /**
34
+ * Convert RGBA to a specific color space.
35
+ */
36
+ export declare function rgbaToColorSpace(rgba: RgbaColor, mode: "oklch"): Oklch;
37
+ export declare function rgbaToColorSpace(rgba: RgbaColor, mode: "oklab"): Oklab;
38
+ export declare function rgbaToColorSpace(rgba: RgbaColor, mode: "lch"): Lch;
39
+ export declare function rgbaToColorSpace(rgba: RgbaColor, mode: "lab"): Lab;
40
+ export declare function rgbaToColorSpace(rgba: RgbaColor, mode: string): Color | undefined;
41
+ /**
42
+ * Convert color from any space back to RGBA.
43
+ */
44
+ export declare function colorSpaceToRgba(color: Color | undefined): RgbaColor;
45
+ /**
46
+ * Format color object to CSS string.
47
+ */
48
+ export declare function formatColorSpace(color: Color | undefined): string;
49
+ /**
50
+ * Convert RGB (0-255) to HSL.
51
+ */
52
+ export declare function rgbToHsl(rgb: {
53
+ r: number;
54
+ g: number;
55
+ b: number;
56
+ }): {
57
+ h: number;
58
+ s: number;
59
+ l: number;
60
+ };
61
+ /**
62
+ * Convert HSL to RGB (0-255).
63
+ */
64
+ export declare function hslToRgb(hsl: {
65
+ h: number;
66
+ s: number;
67
+ l: number;
68
+ }): {
69
+ r: number;
70
+ g: number;
71
+ b: number;
72
+ };
73
+ //# sourceMappingURL=colorUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/utils/colorUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAIN,KAAK,KAAK,EACV,KAAK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G,GAAG,CAAC;AACpE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;AAyBnF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,SAAS,CAWpE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,CAEjE;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IACnE,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV,CAgBA;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG;IACnE,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV,CAgBA"}
@@ -0,0 +1,81 @@
1
+ export interface UnitOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export interface UnitConstraint {
6
+ min: number;
7
+ max: number;
8
+ step: number;
9
+ decimals: number;
10
+ }
11
+ export type UnitConstraints = Record<string, UnitConstraint>;
12
+ export interface ParsedCssValue {
13
+ numericValue: number | "";
14
+ unit: string;
15
+ }
16
+ export interface BoxSides {
17
+ top: string;
18
+ right: string;
19
+ bottom: string;
20
+ left: string;
21
+ }
22
+ export interface DimensionConfig {
23
+ units?: readonly UnitOption[];
24
+ defaultUnit?: string;
25
+ constraints?: UnitConstraints;
26
+ icon?: React.ComponentType<{
27
+ size?: number;
28
+ width?: number;
29
+ height?: number;
30
+ }>;
31
+ }
32
+ export interface BoxDimensionConfig {
33
+ units?: readonly UnitOption[];
34
+ sideLabels?: string[];
35
+ }
36
+ export declare const CSS_UNITS: readonly UnitOption[];
37
+ export declare const DEFAULT_UNIT_CONSTRAINTS: UnitConstraints;
38
+ /**
39
+ * Build a regex that matches a number followed by one of the given units.
40
+ */
41
+ export declare function buildUnitPattern(units: readonly UnitOption[] | UnitOption[]): RegExp;
42
+ /**
43
+ * Parse a CSS dimension string into { numericValue, unit }.
44
+ * Handles "16px", "1.5rem", "100%", bare numbers, and empty/null.
45
+ */
46
+ export declare function parseCssValue(raw: string | number | null | undefined, defaultUnit?: string, unitPattern?: RegExp): ParsedCssValue;
47
+ /**
48
+ * Look up the constraints for a unit, falling back to px constraints.
49
+ */
50
+ export declare function getUnitConstraints(unit: string, constraints?: UnitConstraints): UnitConstraint;
51
+ /**
52
+ * Clamp a numeric value to the min/max range for the given unit.
53
+ */
54
+ export declare function clampCssValue(num: number, unit: string, constraints?: UnitConstraints): number;
55
+ /**
56
+ * Round a numeric value to the appropriate decimal places for the given unit.
57
+ * Returns '' for empty / non-numeric input.
58
+ */
59
+ export declare function formatCssValue(num: number | "" | null | undefined, unit: string, constraints?: UnitConstraints): number | "";
60
+ /**
61
+ * Combine a numeric value and unit into a CSS string (e.g. 16, 'px' → "16px").
62
+ * Returns '' for empty / non-numeric input.
63
+ */
64
+ export declare function buildCssString(numericValue: number | "" | null | undefined, unit: string): string;
65
+ /**
66
+ * Compute the next value after an arrow-key increment/decrement.
67
+ */
68
+ export declare function stepValue(currentValue: string, key: "ArrowUp" | "ArrowDown", shiftKey: boolean, unit: string, constraints?: UnitConstraints): string;
69
+ /**
70
+ * Build a CSS box-model shorthand string (top right bottom left).
71
+ * Always emits all four values for simplicity.
72
+ */
73
+ export declare function buildBoxShorthandCssValue({ top, right, bottom, left }: BoxSides): string;
74
+ /**
75
+ * Parse a CSS box-model shorthand string into four side values.
76
+ * Handles 1–4 value shorthand syntax.
77
+ */
78
+ export declare function parseBoxShorthandCssValue(shorthand: string | null | undefined): BoxSides;
79
+ export declare const DIMENSION_CONFIGS: Record<string, DimensionConfig>;
80
+ export declare const BOX_DIMENSION_CONFIGS: Record<string, BoxDimensionConfig>;
81
+ //# sourceMappingURL=dimensionUtils.d.ts.map
@@ -0,0 +1,81 @@
1
+ export interface UnitOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export interface UnitConstraint {
6
+ min: number;
7
+ max: number;
8
+ step: number;
9
+ decimals: number;
10
+ }
11
+ export type UnitConstraints = Record<string, UnitConstraint>;
12
+ export interface ParsedCssValue {
13
+ numericValue: number | "";
14
+ unit: string;
15
+ }
16
+ export interface BoxSides {
17
+ top: string;
18
+ right: string;
19
+ bottom: string;
20
+ left: string;
21
+ }
22
+ export interface DimensionConfig {
23
+ units?: readonly UnitOption[];
24
+ defaultUnit?: string;
25
+ constraints?: UnitConstraints;
26
+ icon?: React.ComponentType<{
27
+ size?: number;
28
+ width?: number;
29
+ height?: number;
30
+ }>;
31
+ }
32
+ export interface BoxDimensionConfig {
33
+ units?: readonly UnitOption[];
34
+ sideLabels?: string[];
35
+ }
36
+ export declare const CSS_UNITS: readonly UnitOption[];
37
+ export declare const DEFAULT_UNIT_CONSTRAINTS: UnitConstraints;
38
+ /**
39
+ * Build a regex that matches a number followed by one of the given units.
40
+ */
41
+ export declare function buildUnitPattern(units: readonly UnitOption[] | UnitOption[]): RegExp;
42
+ /**
43
+ * Parse a CSS dimension string into { numericValue, unit }.
44
+ * Handles "16px", "1.5rem", "100%", bare numbers, and empty/null.
45
+ */
46
+ export declare function parseCssValue(raw: string | number | null | undefined, defaultUnit?: string, unitPattern?: RegExp): ParsedCssValue;
47
+ /**
48
+ * Look up the constraints for a unit, falling back to px constraints.
49
+ */
50
+ export declare function getUnitConstraints(unit: string, constraints?: UnitConstraints): UnitConstraint;
51
+ /**
52
+ * Clamp a numeric value to the min/max range for the given unit.
53
+ */
54
+ export declare function clampCssValue(num: number, unit: string, constraints?: UnitConstraints): number;
55
+ /**
56
+ * Round a numeric value to the appropriate decimal places for the given unit.
57
+ * Returns '' for empty / non-numeric input.
58
+ */
59
+ export declare function formatCssValue(num: number | "" | null | undefined, unit: string, constraints?: UnitConstraints): number | "";
60
+ /**
61
+ * Combine a numeric value and unit into a CSS string (e.g. 16, 'px' → "16px").
62
+ * Returns '' for empty / non-numeric input.
63
+ */
64
+ export declare function buildCssString(numericValue: number | "" | null | undefined, unit: string): string;
65
+ /**
66
+ * Compute the next value after an arrow-key increment/decrement.
67
+ */
68
+ export declare function stepValue(currentValue: string, key: "ArrowUp" | "ArrowDown", shiftKey: boolean, unit: string, constraints?: UnitConstraints): string;
69
+ /**
70
+ * Build a CSS box-model shorthand string (top right bottom left).
71
+ * Always emits all four values for simplicity.
72
+ */
73
+ export declare function buildBoxShorthandCssValue({ top, right, bottom, left }: BoxSides): string;
74
+ /**
75
+ * Parse a CSS box-model shorthand string into four side values.
76
+ * Handles 1–4 value shorthand syntax.
77
+ */
78
+ export declare function parseBoxShorthandCssValue(shorthand: string | null | undefined): BoxSides;
79
+ export declare const DIMENSION_CONFIGS: Record<string, DimensionConfig>;
80
+ export declare const BOX_DIMENSION_CONFIGS: Record<string, BoxDimensionConfig>;
81
+ //# sourceMappingURL=dimensionUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dimensionUtils.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/utils/dimensionUtils.ts"],"names":[],"mappings":"AAaA,MAAM,WAAW,UAAU;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CA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X,IAAI,EAAE,MAAM,EACZ,WAAW,GAAE,eAA0C,GACrD,MAAM,CAGR;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC7B,GAAG,EAAE,MAAM,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,EACnC,IAAI,EAAE,MAAM,EACZ,WAAW,GAAE,eAA0C,GACrD,MAAM,GAAG,EAAE,CAIb;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,EAAE,GAAG,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAGjG;AAED;;GAEG;AACH,wBAAgB,SAAS,CACxB,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,SAAS,GAAG,WAAW,EAC5B,QAAQ,EAAE,OAAO,EACjB,IAAI,EAAE,MAAM,EACZ,WAAW,GAAE,eAA0C,GACrD,MAAM,CAOR;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,QAAQ,GAAG,MAAM,CAExF;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,QAAQ,CAUxF;AAMD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAgC7D,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAcpE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright (c) 2026, Salesforce, Inc.,
3
+ * All rights reserved.
4
+ * For full license text, see the LICENSE.txt file
5
+ */
6
+ export declare function getScrollParent(el: HTMLElement | null | undefined): HTMLElement | null;
7
+ //# sourceMappingURL=domUtils.d.ts.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright (c) 2026, Salesforce, Inc.,
3
+ * All rights reserved.
4
+ * For full license text, see the LICENSE.txt file
5
+ */
6
+ export declare function getScrollParent(el: HTMLElement | null | undefined): HTMLElement | null;
7
+ //# sourceMappingURL=domUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domUtils.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/utils/domUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,WAAW,GAAG,IAAI,CAQtF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright (c) 2026, Salesforce, Inc.,
3
+ * All rights reserved.
4
+ * For full license text, see the LICENSE.txt file
5
+ */
6
+ /**
7
+ * `/authoring/react` entry: the raw React property-panel component for hosts
8
+ * that already run React on the page. React / react-dom are externalized by the
9
+ * bundler, so the host provides the single React copy. Non-React hosts should
10
+ * use `/authoring/web-component` instead.
11
+ */
12
+ export { DesignPropertyPanel, mountDesignPropertyPanel } from '../core/DesignPropertyPanelRoot.cjs';
13
+ export type { DesignPropertyPanelProps, DesignPropertyPanelHandle, DesignPanelComponent, StylesEntryMap, AgentforceComponentContext, OpenSourceFilePayload, } from '../core/DesignPropertyPanelRoot.cjs';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright (c) 2026, Salesforce, Inc.,
3
+ * All rights reserved.
4
+ * For full license text, see the LICENSE.txt file
5
+ */
6
+ /**
7
+ * `/authoring/react` entry: the raw React property-panel component for hosts
8
+ * that already run React on the page. React / react-dom are externalized by the
9
+ * bundler, so the host provides the single React copy. Non-React hosts should
10
+ * use `/authoring/web-component` instead.
11
+ */
12
+ export { DesignPropertyPanel, mountDesignPropertyPanel } from '../core/DesignPropertyPanelRoot.js';
13
+ export type { DesignPropertyPanelProps, DesignPropertyPanelHandle, DesignPanelComponent, StylesEntryMap, AgentforceComponentContext, OpenSourceFilePayload, } from '../core/DesignPropertyPanelRoot.js';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authoring/react/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAChG,YAAY,EACX,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,cAAc,EACd,0BAA0B,EAC1B,qBAAqB,GACrB,MAAM,iCAAiC,CAAC"}