@salesforce/ui-design-mode 12.16.0 → 12.18.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 (81) hide show
  1. package/dist/authoring/core/DesignPropertyPanelRoot.d.cts +2 -2
  2. package/dist/authoring/core/DesignPropertyPanelRoot.d.ts +2 -2
  3. package/dist/authoring/core/DesignPropertyPanelRoot.d.ts.map +1 -1
  4. package/dist/authoring/core/editors/BoxDimensionEditor.d.cts +20 -34
  5. package/dist/authoring/core/editors/BoxDimensionEditor.d.ts +20 -34
  6. package/dist/authoring/core/editors/BoxDimensionEditor.d.ts.map +1 -1
  7. package/dist/authoring/core/editors/DimensionEditor.d.ts.map +1 -1
  8. package/dist/authoring/core/editors/FieldNotice.d.cts +17 -0
  9. package/dist/authoring/core/editors/FieldNotice.d.ts +17 -0
  10. package/dist/authoring/core/editors/FieldNotice.d.ts.map +1 -0
  11. package/dist/authoring/core/editors/FontFamilyEditor.d.cts +4 -6
  12. package/dist/authoring/core/editors/FontFamilyEditor.d.ts +4 -6
  13. package/dist/authoring/core/editors/FontFamilyEditor.d.ts.map +1 -1
  14. package/dist/authoring/core/editors/FontWeightEditor.d.cts +6 -5
  15. package/dist/authoring/core/editors/FontWeightEditor.d.ts +6 -5
  16. package/dist/authoring/core/editors/FontWeightEditor.d.ts.map +1 -1
  17. package/dist/authoring/core/editors/ImageEditor.d.cts +21 -1
  18. package/dist/authoring/core/editors/ImageEditor.d.ts +21 -1
  19. package/dist/authoring/core/editors/ImageEditor.d.ts.map +1 -1
  20. package/dist/authoring/core/editors/PicklistEditor.d.cts +5 -21
  21. package/dist/authoring/core/editors/PicklistEditor.d.ts +5 -21
  22. package/dist/authoring/core/editors/PicklistEditor.d.ts.map +1 -1
  23. package/dist/authoring/core/history/changeSet.d.cts +28 -5
  24. package/dist/authoring/core/history/changeSet.d.ts +28 -5
  25. package/dist/authoring/core/history/changeSet.d.ts.map +1 -1
  26. package/dist/authoring/core/history/historyService.d.cts +1 -3
  27. package/dist/authoring/core/history/historyService.d.ts +1 -3
  28. package/dist/authoring/core/history/historyService.d.ts.map +1 -1
  29. package/dist/authoring/core/history/iframeCommandExecutor.d.cts +1 -1
  30. package/dist/authoring/core/history/iframeCommandExecutor.d.ts +1 -1
  31. package/dist/authoring/core/labels/labels.d.cts +57 -93
  32. package/dist/authoring/core/labels/labels.d.ts +57 -93
  33. package/dist/authoring/core/labels/labels.d.ts.map +1 -1
  34. package/dist/authoring/core/utils/colorOcclusion.d.cts +4 -20
  35. package/dist/authoring/core/utils/colorOcclusion.d.ts +4 -20
  36. package/dist/authoring/core/utils/colorOcclusion.d.ts.map +1 -1
  37. package/dist/authoring/core/utils/dimensionUtils.d.cts +0 -39
  38. package/dist/authoring/core/utils/dimensionUtils.d.ts +0 -39
  39. package/dist/authoring/core/utils/dimensionUtils.d.ts.map +1 -1
  40. package/dist/authoring/react/index.d.cts +1 -1
  41. package/dist/authoring/react/index.d.ts +1 -1
  42. package/dist/authoring/react/index.d.ts.map +1 -1
  43. package/dist/authoring/react/index.js +4 -4
  44. package/dist/authoring/react/styles.css +1 -1
  45. package/dist/authoring/web-component/index.d.cts +1 -1
  46. package/dist/authoring/web-component/index.d.ts +1 -1
  47. package/dist/authoring/web-component/index.d.ts.map +1 -1
  48. package/dist/authoring/web-component/index.js +157 -137
  49. package/dist/protocol/domAttributes.cjs +4 -0
  50. package/dist/protocol/domAttributes.d.cts +17 -0
  51. package/dist/protocol/domAttributes.d.ts +17 -0
  52. package/dist/protocol/domAttributes.d.ts.map +1 -1
  53. package/dist/protocol/domAttributes.js +4 -0
  54. package/dist/protocol/index.cjs +4 -0
  55. package/dist/protocol/index.js +6 -2
  56. package/dist/protocol/measuredStyleProperties.cjs +18 -0
  57. package/dist/protocol/measuredStyleProperties.d.cts +7 -0
  58. package/dist/protocol/measuredStyleProperties.d.ts +7 -0
  59. package/dist/protocol/measuredStyleProperties.d.ts.map +1 -1
  60. package/dist/protocol/measuredStyleProperties.js +18 -0
  61. package/dist/protocol/messageTypes.d.cts +22 -16
  62. package/dist/protocol/messageTypes.d.ts +22 -16
  63. package/dist/protocol/messageTypes.d.ts.map +1 -1
  64. package/dist/protocol/version.cjs +1 -1
  65. package/dist/protocol/version.js +1 -1
  66. package/dist/runtime/design-mode-interactions.js +142 -84
  67. package/dist/runtime/interactions/communicationManager.d.cts +2 -2
  68. package/dist/runtime/interactions/communicationManager.d.ts +2 -2
  69. package/dist/runtime/interactions/communicationManager.d.ts.map +1 -1
  70. package/dist/runtime/interactions/interactionsController.d.cts +2 -0
  71. package/dist/runtime/interactions/interactionsController.d.ts +2 -0
  72. package/dist/runtime/interactions/interactionsController.d.ts.map +1 -1
  73. package/dist/runtime/interactions/utils/cssUtils.d.cts +3 -7
  74. package/dist/runtime/interactions/utils/cssUtils.d.ts +3 -7
  75. package/dist/runtime/interactions/utils/cssUtils.d.ts.map +1 -1
  76. package/dist/runtime/interactions/utils/sourceUtils.d.cts +1 -1
  77. package/dist/runtime/interactions/utils/sourceUtils.d.ts +1 -1
  78. package/dist/source-locator/react/babel/reactDesignTimeLocatorBabelPlugin.cjs +33 -0
  79. package/dist/source-locator/react/babel/reactDesignTimeLocatorBabelPlugin.d.ts.map +1 -1
  80. package/dist/source-locator/react/babel/reactDesignTimeLocatorBabelPlugin.js +34 -1
  81. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/labels/labels.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,kFAAkF;AAClF,MAAM,WAAW,WAAW;IAE3B,OAAO,EAAE;QACR,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,gBAAgB,EAAE,MAAM,CAAC;QACz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ED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM,CAKxF;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,CAAC,CAgBjE;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAChC,iFAAiF;IACjF,IAAI,EAAE,MAAM,CAAC;IACb,gFAAgF;IAChF,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIgB,CAAC;AAgBjD;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,EAAE,CAyBxD"}
@@ -8,9 +8,9 @@
8
8
  *
9
9
  * A color longhand and its competing image layer are separate paint layers: the
10
10
  * image paints *on top of* the color. So when an element's class sets an opaque
11
- * `background-image`, `border-image`, or (via `background-clip: text`) a
11
+ * `background-image` or (via `background-clip: text`) a
12
12
  * gradient clipped to the text glyphs, a user's inline color edit
13
- * (`background-color`, `border-color`, `color`) wins the cascade for the color
13
+ * (`background-color`, `color`) wins the cascade for the color
14
14
  * longhand yet is never visible — the image covers it.
15
15
  *
16
16
  * This module decides, for a single color edit, whether an accompanying
@@ -28,7 +28,7 @@ export interface OcclusionClear {
28
28
  newValue: string;
29
29
  }
30
30
  /**
31
- * Normalizes a CSS image-layer value (`background-image`, `border-image-source`)
31
+ * Normalizes a CSS image-layer value (`background-image`)
32
32
  * to its painted value, or `""` when it paints nothing (empty, `none`, or a
33
33
  * CSS-wide keyword). The keyword case covers a browser decomposing an inline
34
34
  * shorthand that omits the image (e.g. `background: transparent`), which stamps
@@ -141,26 +141,10 @@ export declare function clearBackgroundColorClip(backgroundImage: string, backgr
141
141
  * function isn't given.
142
142
  */
143
143
  export declare function isOccludingTextFillColor(value: string | null | undefined, resolvedColor?: string | null, hasInlineOverride?: boolean): boolean;
144
- /**
145
- * Whether a `background-clip` value gives corroborating evidence of the
146
- * "gradient border via `background-clip`" trick — a fill layer clipped to
147
- * `padding-box`/`content-box` paired with the real border gradient left at
148
- * the `border-box` default — as opposed to an ordinary single-layer
149
- * background that merely happens to sit behind a `border-color: transparent`
150
- * (e.g. the common `border: <w> solid transparent` hover/focus idiom, used to
151
- * reserve layout space without an authored border color). `background-clip`'s
152
- * CSS-initial value is `border-box`, so a plain one-layer background — by far
153
- * the common case — always resolves to the literal `"border-box"` here too;
154
- * treating that alone as evidence of the trick misclassifies any
155
- * transparent-border element with an ordinary background as having a
156
- * "Gradient" border. Requiring an actual multi-layer clip with a non-border-box
157
- * entry limits the match to the trick's own authoring shape.
158
- */
159
- export declare function hasLayeredBorderReveal(backgroundClip: string | null | undefined): boolean;
160
144
  /**
161
145
  * Given the color edit the user just made and the *specific* property that
162
146
  * would occlude it (`background-image` for `backgroundColor`,
163
- * `border-image-source` for `borderColor`, `background-image` again for
147
+ * `background-image` again for
164
148
  * `color` when the caller has already confirmed it's gradient-text —
165
149
  * `background-clip: text` — since an unrelated decorative background-image on
166
150
  * a text element shouldn't be touched by a text-color edit, or
@@ -8,9 +8,9 @@
8
8
  *
9
9
  * A color longhand and its competing image layer are separate paint layers: the
10
10
  * image paints *on top of* the color. So when an element's class sets an opaque
11
- * `background-image`, `border-image`, or (via `background-clip: text`) a
11
+ * `background-image` or (via `background-clip: text`) a
12
12
  * gradient clipped to the text glyphs, a user's inline color edit
13
- * (`background-color`, `border-color`, `color`) wins the cascade for the color
13
+ * (`background-color`, `color`) wins the cascade for the color
14
14
  * longhand yet is never visible — the image covers it.
15
15
  *
16
16
  * This module decides, for a single color edit, whether an accompanying
@@ -28,7 +28,7 @@ export interface OcclusionClear {
28
28
  newValue: string;
29
29
  }
30
30
  /**
31
- * Normalizes a CSS image-layer value (`background-image`, `border-image-source`)
31
+ * Normalizes a CSS image-layer value (`background-image`)
32
32
  * to its painted value, or `""` when it paints nothing (empty, `none`, or a
33
33
  * CSS-wide keyword). The keyword case covers a browser decomposing an inline
34
34
  * shorthand that omits the image (e.g. `background: transparent`), which stamps
@@ -141,26 +141,10 @@ export declare function clearBackgroundColorClip(backgroundImage: string, backgr
141
141
  * function isn't given.
142
142
  */
143
143
  export declare function isOccludingTextFillColor(value: string | null | undefined, resolvedColor?: string | null, hasInlineOverride?: boolean): boolean;
144
- /**
145
- * Whether a `background-clip` value gives corroborating evidence of the
146
- * "gradient border via `background-clip`" trick — a fill layer clipped to
147
- * `padding-box`/`content-box` paired with the real border gradient left at
148
- * the `border-box` default — as opposed to an ordinary single-layer
149
- * background that merely happens to sit behind a `border-color: transparent`
150
- * (e.g. the common `border: <w> solid transparent` hover/focus idiom, used to
151
- * reserve layout space without an authored border color). `background-clip`'s
152
- * CSS-initial value is `border-box`, so a plain one-layer background — by far
153
- * the common case — always resolves to the literal `"border-box"` here too;
154
- * treating that alone as evidence of the trick misclassifies any
155
- * transparent-border element with an ordinary background as having a
156
- * "Gradient" border. Requiring an actual multi-layer clip with a non-border-box
157
- * entry limits the match to the trick's own authoring shape.
158
- */
159
- export declare function hasLayeredBorderReveal(backgroundClip: string | null | undefined): boolean;
160
144
  /**
161
145
  * Given the color edit the user just made and the *specific* property that
162
146
  * would occlude it (`background-image` for `backgroundColor`,
163
- * `border-image-source` for `borderColor`, `background-image` again for
147
+ * `background-image` again for
164
148
  * `color` when the caller has already confirmed it's gradient-text —
165
149
  * `background-clip: text` — since an unrelated decorative background-image on
166
150
  * a text element shouldn't be touched by a text-color edit, or
@@ -1 +1 @@
1
- {"version":3,"file":"colorOcclusion.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/utils/colorOcclusion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;;;;;;;;;;;;;;GAeG;AAEH,mFAAmF;AACnF,MAAM,WAAW,cAAc;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,QAAQ,EAAE,MAAM,CAAC;IACjB,4HAA4H;IAC5H,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAGnF;AAED,8DAA8D;AAC9D,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEpE;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAgBtD;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAC3C,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,GAChB,MAAM,CAQR;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,eAAe,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,MAAM,CAehG;AAED;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAC7C,eAAe,EAAE,MAAM,EACvB,cAAc,EAAE,MAAM,GACpB,OAAO,CAKT;AA8BD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,eAAe,EAAE,MAAM,EAAE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;GAuBG;AACH,wBAAgB,2BAA2B,CAC1C,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,GAAG,SAAS,EACpC,cAAc,EAAE,MAAM,GAAG,SAAS,EAClC,WAAW,GAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAA6B,EAC7D,UAAU,SAAS,GACjB,cAAc,EAAE,CAclB"}
@@ -1,7 +1,3 @@
1
- export interface UnitOption {
2
- value: string;
3
- label: string;
4
- }
5
1
  export interface UnitConstraint {
6
2
  min: number;
7
3
  max: number;
@@ -9,32 +5,13 @@ export interface UnitConstraint {
9
5
  decimals: number;
10
6
  }
11
7
  export type UnitConstraints = Record<string, UnitConstraint>;
12
- export interface ParsedCssValue {
13
- numericValue: number | "";
14
- unit: string;
15
- }
16
8
  export interface BoxSides {
17
9
  top: string;
18
10
  right: string;
19
11
  bottom: string;
20
12
  left: string;
21
13
  }
22
- export interface BoxDimensionConfig {
23
- units?: readonly UnitOption[];
24
- /** Which localized per-cell label set the instance edits (sides vs corners). */
25
- sideLabelKind?: "sides" | "corners";
26
- }
27
- export declare const CSS_UNITS: readonly UnitOption[];
28
14
  export declare const DEFAULT_UNIT_CONSTRAINTS: UnitConstraints;
29
- /**
30
- * Build a regex that matches a number followed by one of the given units.
31
- */
32
- export declare function buildUnitPattern(units: readonly UnitOption[] | UnitOption[]): RegExp;
33
- /**
34
- * Parse a CSS dimension string into { numericValue, unit }.
35
- * Handles "16px", "1.5rem", "100%", bare numbers, and empty/null.
36
- */
37
- export declare function parseCssValue(raw: string | number | null | undefined, defaultUnit?: string, unitPattern?: RegExp): ParsedCssValue;
38
15
  /**
39
16
  * Look up the constraints for a unit, falling back to px constraints.
40
17
  */
@@ -48,25 +25,10 @@ export declare function clampCssValue(num: number, unit: string, constraints?: U
48
25
  * Returns '' for empty / non-numeric input.
49
26
  */
50
27
  export declare function formatCssValue(num: number | "" | null | undefined, unit: string, constraints?: UnitConstraints): number | "";
51
- /**
52
- * Combine a numeric value and unit into a CSS string (e.g. 16, 'px' → "16px").
53
- * Returns '' for empty / non-numeric input.
54
- */
55
- export declare function buildCssString(numericValue: number | "" | null | undefined, unit: string): string;
56
28
  /**
57
29
  * Compute the next value after an arrow-key increment/decrement.
58
30
  */
59
31
  export declare function stepValue(currentValue: string, key: "ArrowUp" | "ArrowDown", shiftKey: boolean, unit: string, constraints?: UnitConstraints): string;
60
- /**
61
- * Build a CSS box-model shorthand string (top right bottom left).
62
- * Always emits all four values for simplicity.
63
- */
64
- export declare function buildBoxShorthandCssValue({ top, right, bottom, left }: BoxSides): string;
65
- /**
66
- * Parse a CSS box-model shorthand string into four side values.
67
- * Handles 1–4 value shorthand syntax.
68
- */
69
- export declare function parseBoxShorthandCssValue(shorthand: string | null | undefined): BoxSides;
70
32
  /** A plain number with an optional lowercase unit suffix, e.g. "1.5", "12px", "50%". */
71
33
  export declare const NUMBER_WITH_UNIT_PATTERN: RegExp;
72
34
  /** True for a plain, finite decimal literal (no unit, exponent, or keyword). */
@@ -86,5 +48,4 @@ export interface TypographyConfig {
86
48
  normalLabelKey?: "useNormalLineHeight" | "useNormalSpacing";
87
49
  }
88
50
  export declare const TYPOGRAPHY_CONFIGS: Record<"fontSize" | "lineHeight" | "letterSpacing", TypographyConfig>;
89
- export declare const BOX_DIMENSION_CONFIGS: Record<string, BoxDimensionConfig>;
90
51
  //# sourceMappingURL=dimensionUtils.d.ts.map
@@ -1,7 +1,3 @@
1
- export interface UnitOption {
2
- value: string;
3
- label: string;
4
- }
5
1
  export interface UnitConstraint {
6
2
  min: number;
7
3
  max: number;
@@ -9,32 +5,13 @@ export interface UnitConstraint {
9
5
  decimals: number;
10
6
  }
11
7
  export type UnitConstraints = Record<string, UnitConstraint>;
12
- export interface ParsedCssValue {
13
- numericValue: number | "";
14
- unit: string;
15
- }
16
8
  export interface BoxSides {
17
9
  top: string;
18
10
  right: string;
19
11
  bottom: string;
20
12
  left: string;
21
13
  }
22
- export interface BoxDimensionConfig {
23
- units?: readonly UnitOption[];
24
- /** Which localized per-cell label set the instance edits (sides vs corners). */
25
- sideLabelKind?: "sides" | "corners";
26
- }
27
- export declare const CSS_UNITS: readonly UnitOption[];
28
14
  export declare const DEFAULT_UNIT_CONSTRAINTS: UnitConstraints;
29
- /**
30
- * Build a regex that matches a number followed by one of the given units.
31
- */
32
- export declare function buildUnitPattern(units: readonly UnitOption[] | UnitOption[]): RegExp;
33
- /**
34
- * Parse a CSS dimension string into { numericValue, unit }.
35
- * Handles "16px", "1.5rem", "100%", bare numbers, and empty/null.
36
- */
37
- export declare function parseCssValue(raw: string | number | null | undefined, defaultUnit?: string, unitPattern?: RegExp): ParsedCssValue;
38
15
  /**
39
16
  * Look up the constraints for a unit, falling back to px constraints.
40
17
  */
@@ -48,25 +25,10 @@ export declare function clampCssValue(num: number, unit: string, constraints?: U
48
25
  * Returns '' for empty / non-numeric input.
49
26
  */
50
27
  export declare function formatCssValue(num: number | "" | null | undefined, unit: string, constraints?: UnitConstraints): number | "";
51
- /**
52
- * Combine a numeric value and unit into a CSS string (e.g. 16, 'px' → "16px").
53
- * Returns '' for empty / non-numeric input.
54
- */
55
- export declare function buildCssString(numericValue: number | "" | null | undefined, unit: string): string;
56
28
  /**
57
29
  * Compute the next value after an arrow-key increment/decrement.
58
30
  */
59
31
  export declare function stepValue(currentValue: string, key: "ArrowUp" | "ArrowDown", shiftKey: boolean, unit: string, constraints?: UnitConstraints): string;
60
- /**
61
- * Build a CSS box-model shorthand string (top right bottom left).
62
- * Always emits all four values for simplicity.
63
- */
64
- export declare function buildBoxShorthandCssValue({ top, right, bottom, left }: BoxSides): string;
65
- /**
66
- * Parse a CSS box-model shorthand string into four side values.
67
- * Handles 1–4 value shorthand syntax.
68
- */
69
- export declare function parseBoxShorthandCssValue(shorthand: string | null | undefined): BoxSides;
70
32
  /** A plain number with an optional lowercase unit suffix, e.g. "1.5", "12px", "50%". */
71
33
  export declare const NUMBER_WITH_UNIT_PATTERN: RegExp;
72
34
  /** True for a plain, finite decimal literal (no unit, exponent, or keyword). */
@@ -86,5 +48,4 @@ export interface TypographyConfig {
86
48
  normalLabelKey?: "useNormalLineHeight" | "useNormalSpacing";
87
49
  }
88
50
  export declare const TYPOGRAPHY_CONFIGS: Record<"fontSize" | "lineHeight" | "letterSpacing", TypographyConfig>;
89
- export declare const BOX_DIMENSION_CONFIGS: Record<string, BoxDimensionConfig>;
90
51
  //# sourceMappingURL=dimensionUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dimensionUtils.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/utils/dimensionUtils.ts"],"names":[],"mappings":"AAOA,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,CAAC;AAE7D,MAAM,WAAW,cAAc;IAC9B,YAAY,EAAE,MAAM,GAAG,EAAE,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,QAAQ;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,kBAAkB;IAClC,KAAK,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;IAC9B,gFAAgF;IAChF,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC;AAED,eAAO,MAAM,SAAS,EAAE,SAAS,UAAU,EAgBjC,CAAC;AAEX,eAAO,MAAM,wBAAwB,EAAE,eAgBtC,CAAC;AASF;;GAEG;AACH,wBAAg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@@ -17,6 +17,6 @@ export { DesignPropertyPanel, mountDesignPropertyPanel } from '../core/DesignPro
17
17
  export type { DesignPropertyPanelProps, DesignPropertyPanelHandle, DesignPanelComponent, StylesEntryMap, SelectedComponentContext, OpenSourceFilePayload, ImageSourceBindings, } from '../core/DesignPropertyPanelRoot.cjs';
18
18
  export { interpolate, validateLabels, REQUIRED_LABEL_KEYS } from '../core/labels/labels.cjs';
19
19
  export type { PanelLabels, RequiredLabelKey } from '../core/labels/labels.cjs';
20
- export type { ChangeSetEntry } from '../core/history/changeSet.cjs';
20
+ export type { ChangeSetEntry, ChangeSetCommand, StyleChangeSetCommand, AttributeChangeSetCommand, } from '../core/history/changeSet.cjs';
21
21
  export type { CmsSpace, CmsImage, CmsFolderItem, CmsFolderItemsResult, CmsContentDetailResult, CmsThumbnailResult, ImageImportResult, ImageAttributes, LocalFilePreview, } from '../core/editors/ImageEditor.cjs';
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -17,6 +17,6 @@ export { DesignPropertyPanel, mountDesignPropertyPanel } from '../core/DesignPro
17
17
  export type { DesignPropertyPanelProps, DesignPropertyPanelHandle, DesignPanelComponent, StylesEntryMap, SelectedComponentContext, OpenSourceFilePayload, ImageSourceBindings, } from '../core/DesignPropertyPanelRoot.js';
18
18
  export { interpolate, validateLabels, REQUIRED_LABEL_KEYS } from '../core/labels/labels.js';
19
19
  export type { PanelLabels, RequiredLabelKey } from '../core/labels/labels.js';
20
- export type { ChangeSetEntry } from '../core/history/changeSet.js';
20
+ export type { ChangeSetEntry, ChangeSetCommand, StyleChangeSetCommand, AttributeChangeSetCommand, } from '../core/history/changeSet.js';
21
21
  export type { CmsSpace, CmsImage, CmsFolderItem, CmsFolderItemsResult, CmsContentDetailResult, CmsThumbnailResult, ImageImportResult, ImageAttributes, LocalFilePreview, } from '../core/editors/ImageEditor.js';
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authoring/react/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;GASG;AAEH,OAAO,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAChG,YAAY,EACX,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,GACnB,MAAM,iCAAiC,CAAC;AAMzC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzF,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG3E,YAAY,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,YAAY,EACX,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,GAChB,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authoring/react/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;GASG;AAEH,OAAO,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAChG,YAAY,EACX,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,GACnB,MAAM,iCAAiC,CAAC;AAMzC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzF,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG3E,YAAY,EACX,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,GACzB,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACX,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,GAChB,MAAM,6BAA6B,CAAC"}