@salesforce/ui-design-mode 12.17.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.
- package/dist/authoring/core/DesignPropertyPanelRoot.d.cts +2 -2
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts +2 -2
- package/dist/authoring/core/DesignPropertyPanelRoot.d.ts.map +1 -1
- package/dist/authoring/core/editors/BoxDimensionEditor.d.cts +20 -34
- package/dist/authoring/core/editors/BoxDimensionEditor.d.ts +20 -34
- package/dist/authoring/core/editors/BoxDimensionEditor.d.ts.map +1 -1
- package/dist/authoring/core/editors/DimensionEditor.d.ts.map +1 -1
- package/dist/authoring/core/editors/FieldNotice.d.cts +17 -0
- package/dist/authoring/core/editors/FieldNotice.d.ts +17 -0
- package/dist/authoring/core/editors/FieldNotice.d.ts.map +1 -0
- package/dist/authoring/core/editors/FontFamilyEditor.d.cts +4 -6
- package/dist/authoring/core/editors/FontFamilyEditor.d.ts +4 -6
- package/dist/authoring/core/editors/FontFamilyEditor.d.ts.map +1 -1
- package/dist/authoring/core/editors/FontWeightEditor.d.cts +6 -5
- package/dist/authoring/core/editors/FontWeightEditor.d.ts +6 -5
- package/dist/authoring/core/editors/FontWeightEditor.d.ts.map +1 -1
- package/dist/authoring/core/editors/ImageEditor.d.cts +21 -1
- package/dist/authoring/core/editors/ImageEditor.d.ts +21 -1
- package/dist/authoring/core/editors/ImageEditor.d.ts.map +1 -1
- package/dist/authoring/core/editors/PicklistEditor.d.cts +5 -21
- package/dist/authoring/core/editors/PicklistEditor.d.ts +5 -21
- package/dist/authoring/core/editors/PicklistEditor.d.ts.map +1 -1
- package/dist/authoring/core/history/changeSet.d.cts +28 -5
- package/dist/authoring/core/history/changeSet.d.ts +28 -5
- package/dist/authoring/core/history/changeSet.d.ts.map +1 -1
- package/dist/authoring/core/history/historyService.d.cts +1 -3
- package/dist/authoring/core/history/historyService.d.ts +1 -3
- package/dist/authoring/core/history/historyService.d.ts.map +1 -1
- package/dist/authoring/core/history/iframeCommandExecutor.d.cts +1 -1
- package/dist/authoring/core/history/iframeCommandExecutor.d.ts +1 -1
- package/dist/authoring/core/labels/labels.d.cts +57 -93
- package/dist/authoring/core/labels/labels.d.ts +57 -93
- package/dist/authoring/core/labels/labels.d.ts.map +1 -1
- package/dist/authoring/core/utils/colorOcclusion.d.cts +4 -20
- package/dist/authoring/core/utils/colorOcclusion.d.ts +4 -20
- package/dist/authoring/core/utils/colorOcclusion.d.ts.map +1 -1
- package/dist/authoring/core/utils/dimensionUtils.d.cts +0 -39
- package/dist/authoring/core/utils/dimensionUtils.d.ts +0 -39
- package/dist/authoring/core/utils/dimensionUtils.d.ts.map +1 -1
- package/dist/authoring/react/index.d.cts +1 -1
- package/dist/authoring/react/index.d.ts +1 -1
- package/dist/authoring/react/index.d.ts.map +1 -1
- package/dist/authoring/react/index.js +4 -4
- package/dist/authoring/react/styles.css +1 -1
- package/dist/authoring/web-component/index.d.cts +1 -1
- package/dist/authoring/web-component/index.d.ts +1 -1
- package/dist/authoring/web-component/index.d.ts.map +1 -1
- package/dist/authoring/web-component/index.js +157 -137
- package/dist/protocol/domAttributes.cjs +4 -0
- package/dist/protocol/domAttributes.d.cts +17 -0
- package/dist/protocol/domAttributes.d.ts +17 -0
- package/dist/protocol/domAttributes.d.ts.map +1 -1
- package/dist/protocol/domAttributes.js +4 -0
- package/dist/protocol/index.cjs +4 -0
- package/dist/protocol/index.js +6 -2
- package/dist/protocol/measuredStyleProperties.cjs +18 -0
- package/dist/protocol/measuredStyleProperties.d.cts +7 -0
- package/dist/protocol/measuredStyleProperties.d.ts +7 -0
- package/dist/protocol/measuredStyleProperties.d.ts.map +1 -1
- package/dist/protocol/measuredStyleProperties.js +18 -0
- package/dist/protocol/messageTypes.d.cts +22 -16
- package/dist/protocol/messageTypes.d.ts +22 -16
- 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 +142 -84
- package/dist/runtime/interactions/communicationManager.d.cts +2 -2
- package/dist/runtime/interactions/communicationManager.d.ts +2 -2
- package/dist/runtime/interactions/communicationManager.d.ts.map +1 -1
- package/dist/runtime/interactions/interactionsController.d.cts +2 -0
- package/dist/runtime/interactions/interactionsController.d.ts +2 -0
- package/dist/runtime/interactions/interactionsController.d.ts.map +1 -1
- package/dist/runtime/interactions/utils/cssUtils.d.cts +3 -7
- package/dist/runtime/interactions/utils/cssUtils.d.ts +3 -7
- package/dist/runtime/interactions/utils/cssUtils.d.ts.map +1 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.cts +1 -1
- package/dist/runtime/interactions/utils/sourceUtils.d.ts +1 -1
- package/dist/source-locator/react/babel/reactDesignTimeLocatorBabelPlugin.cjs +33 -0
- package/dist/source-locator/react/babel/reactDesignTimeLocatorBabelPlugin.d.ts.map +1 -1
- package/dist/source-locator/react/babel/reactDesignTimeLocatorBabelPlugin.js +34 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SourceLocation } from '../../../protocol.cjs';
|
|
1
|
+
import { SourceLocation } from '../../../protocol/index.cjs';
|
|
2
2
|
/**
|
|
3
3
|
* One entry of the raw undo-stack snapshot, as returned by
|
|
4
4
|
* `HistoryManager.getUndoStackSnapshot()` / `HistoryService.getHistoryStack()`.
|
|
@@ -9,11 +9,30 @@ export interface HistoryStackEntry {
|
|
|
9
9
|
newValue: unknown;
|
|
10
10
|
data?: Record<string, unknown>;
|
|
11
11
|
}
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* A net property change to apply. `property` is a CSS property or `"textContent"`.
|
|
14
|
+
* `changeType` is absent on style/text commands (they predate the union), so
|
|
15
|
+
* consumers can branch on `changeType === "attribute"` and treat the rest as style.
|
|
16
|
+
*/
|
|
17
|
+
export interface StyleChangeSetCommand {
|
|
18
|
+
changeType?: "style";
|
|
14
19
|
property: string;
|
|
15
20
|
value: string;
|
|
16
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* A net HTML attribute change on a media element (an `<img>` `src`/`alt`).
|
|
24
|
+
* `oldValue` is the attribute's value before design-mode first touched it. The
|
|
25
|
+
* change targets the JSX attribute at the source location, so it covers every
|
|
26
|
+
* element rendered from there (e.g. each `.map()` instance), like a style edit.
|
|
27
|
+
*/
|
|
28
|
+
export interface AttributeChangeSetCommand {
|
|
29
|
+
changeType: "attribute";
|
|
30
|
+
attribute: string;
|
|
31
|
+
value: string;
|
|
32
|
+
oldValue?: string;
|
|
33
|
+
}
|
|
34
|
+
/** A net change to apply to one element: a style/text edit or an attribute edit. */
|
|
35
|
+
export type ChangeSetCommand = StyleChangeSetCommand | AttributeChangeSetCommand;
|
|
17
36
|
/** The net effective changes for one element, grouped + deduped. */
|
|
18
37
|
export interface ChangeSetEntry {
|
|
19
38
|
/**
|
|
@@ -42,8 +61,12 @@ export declare const TEXT_PROPERTY = "textContent";
|
|
|
42
61
|
* isn't selectable without one (protocol invariant), so a missing location means
|
|
43
62
|
* a malformed stack, not a locatable change. Only `style`, `style-batch`, and
|
|
44
63
|
* `text` commands contribute (a `style-batch` expands into one command per
|
|
45
|
-
* property it wrote)
|
|
46
|
-
*
|
|
64
|
+
* property it wrote). Order is the order each element was first touched.
|
|
65
|
+
*
|
|
66
|
+
* `media` commands (an `<img>` `src`/`alt`) become attribute commands, placed
|
|
67
|
+
* after the element's style/text commands: one per attribute, so a→b→c collapses
|
|
68
|
+
* to `{ oldValue: a, value: c }`. Net no-ops (value back to `oldValue`) are
|
|
69
|
+
* dropped. An empty value is kept: clearing `alt` is a real edit.
|
|
47
70
|
*/
|
|
48
71
|
export declare function computeChangeSet(stack: HistoryStackEntry[]): ChangeSetEntry[];
|
|
49
72
|
//# sourceMappingURL=changeSet.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SourceLocation } from '../../../protocol.js';
|
|
1
|
+
import { SourceLocation } from '../../../protocol/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* One entry of the raw undo-stack snapshot, as returned by
|
|
4
4
|
* `HistoryManager.getUndoStackSnapshot()` / `HistoryService.getHistoryStack()`.
|
|
@@ -9,11 +9,30 @@ export interface HistoryStackEntry {
|
|
|
9
9
|
newValue: unknown;
|
|
10
10
|
data?: Record<string, unknown>;
|
|
11
11
|
}
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* A net property change to apply. `property` is a CSS property or `"textContent"`.
|
|
14
|
+
* `changeType` is absent on style/text commands (they predate the union), so
|
|
15
|
+
* consumers can branch on `changeType === "attribute"` and treat the rest as style.
|
|
16
|
+
*/
|
|
17
|
+
export interface StyleChangeSetCommand {
|
|
18
|
+
changeType?: "style";
|
|
14
19
|
property: string;
|
|
15
20
|
value: string;
|
|
16
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* A net HTML attribute change on a media element (an `<img>` `src`/`alt`).
|
|
24
|
+
* `oldValue` is the attribute's value before design-mode first touched it. The
|
|
25
|
+
* change targets the JSX attribute at the source location, so it covers every
|
|
26
|
+
* element rendered from there (e.g. each `.map()` instance), like a style edit.
|
|
27
|
+
*/
|
|
28
|
+
export interface AttributeChangeSetCommand {
|
|
29
|
+
changeType: "attribute";
|
|
30
|
+
attribute: string;
|
|
31
|
+
value: string;
|
|
32
|
+
oldValue?: string;
|
|
33
|
+
}
|
|
34
|
+
/** A net change to apply to one element: a style/text edit or an attribute edit. */
|
|
35
|
+
export type ChangeSetCommand = StyleChangeSetCommand | AttributeChangeSetCommand;
|
|
17
36
|
/** The net effective changes for one element, grouped + deduped. */
|
|
18
37
|
export interface ChangeSetEntry {
|
|
19
38
|
/**
|
|
@@ -42,8 +61,12 @@ export declare const TEXT_PROPERTY = "textContent";
|
|
|
42
61
|
* isn't selectable without one (protocol invariant), so a missing location means
|
|
43
62
|
* a malformed stack, not a locatable change. Only `style`, `style-batch`, and
|
|
44
63
|
* `text` commands contribute (a `style-batch` expands into one command per
|
|
45
|
-
* property it wrote)
|
|
46
|
-
*
|
|
64
|
+
* property it wrote). Order is the order each element was first touched.
|
|
65
|
+
*
|
|
66
|
+
* `media` commands (an `<img>` `src`/`alt`) become attribute commands, placed
|
|
67
|
+
* after the element's style/text commands: one per attribute, so a→b→c collapses
|
|
68
|
+
* to `{ oldValue: a, value: c }`. Net no-ops (value back to `oldValue`) are
|
|
69
|
+
* dropped. An empty value is kept: clearing `alt` is a real edit.
|
|
47
70
|
*/
|
|
48
71
|
export declare function computeChangeSet(stack: HistoryStackEntry[]): ChangeSetEntry[];
|
|
49
72
|
//# sourceMappingURL=changeSet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changeSet.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/history/changeSet.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B;AAED
|
|
1
|
+
{"version":3,"file":"changeSet.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/history/changeSet.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;;;GAKG;AACH,MAAM,WAAW,yBAAyB;IACzC,UAAU,EAAE,WAAW,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oFAAoF;AACpF,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,GAAG,yBAAyB,CAAC;AAEjF,oEAAoE;AACpE,MAAM,WAAW,cAAc;IAC9B;;;;;OAKG;IACH,WAAW,EAAE,cAAc,CAAC;IAC5B,QAAQ,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED,uFAAuF;AACvF,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAgE3C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,EAAE,GAAG,cAAc,EAAE,CAsG7E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HistoryEvent } from './historyManager.cjs';
|
|
2
|
-
import { SourceLocation } from '../../../protocol.cjs';
|
|
2
|
+
import { SourceLocation } from '../../../protocol/index.cjs';
|
|
3
3
|
/**
|
|
4
4
|
* Context for a recorded change: the selected component at the time of the edit.
|
|
5
5
|
* Used so Apply prompts can reference the changed component by source location.
|
|
@@ -24,8 +24,6 @@ export interface ChangeContext {
|
|
|
24
24
|
* matched to a persisted snapshot (falls back to the live-selection path).
|
|
25
25
|
*/
|
|
26
26
|
tagName?: string;
|
|
27
|
-
/** The selected element's `instanceIndex` (see `ComponentData`), when reported. */
|
|
28
|
-
instanceIndex?: number;
|
|
29
27
|
}
|
|
30
28
|
/**
|
|
31
29
|
* One property write within a {@link HistoryService.recordStyleBatch} batch.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HistoryEvent } from './historyManager.js';
|
|
2
|
-
import { SourceLocation } from '../../../protocol.js';
|
|
2
|
+
import { SourceLocation } from '../../../protocol/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Context for a recorded change: the selected component at the time of the edit.
|
|
5
5
|
* Used so Apply prompts can reference the changed component by source location.
|
|
@@ -24,8 +24,6 @@ export interface ChangeContext {
|
|
|
24
24
|
* matched to a persisted snapshot (falls back to the live-selection path).
|
|
25
25
|
*/
|
|
26
26
|
tagName?: string;
|
|
27
|
-
/** The selected element's `instanceIndex` (see `ComponentData`), when reported. */
|
|
28
|
-
instanceIndex?: number;
|
|
29
27
|
}
|
|
30
28
|
/**
|
|
31
29
|
* One property write within a {@link HistoryService.recordStyleBatch} batch.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"historyService.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/history/historyService.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH;;;GAGG;AAEH,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"historyService.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/history/historyService.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH;;;GAGG;AAEH,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC9B,iBAAiB,CAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,aAAa,GACrB,IAAI,CAAC;IACR;;;;;;;;;OASG;IACH,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC7E,gBAAgB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACvF,wFAAwF;IACxF,iBAAiB,CAChB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,aAAa,GACrB,IAAI,CAAC;IACR,IAAI,IAAI,IAAI,CAAC;IACb,IAAI,IAAI,IAAI,CAAC;IACb,OAAO,IAAI,OAAO,CAAC;IACnB,OAAO,IAAI,OAAO,CAAC;IACnB,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;IAC/D,eAAe,IAAI,OAAO,EAAE,CAAC;IAC7B,KAAK,IAAI,IAAI,CAAC;IACd,YAAY,IAAI,MAAM,CAAC;IACvB,iBAAiB,IAAI,MAAM,CAAC;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CACnC,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,cAAc,KAAK,IAAI,EAC3F,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,cAAc,KAAK,IAAI,EACvE,eAAe,CAAC,EAAE,CACjB,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,EAC9C,cAAc,CAAC,EAAE,cAAc,KAC3B,IAAI,GACP,cAAc,CAwEhB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandExecutor } from './commandExecutor.cjs';
|
|
2
|
-
import { SourceLocation } from '../../../protocol.cjs';
|
|
2
|
+
import { SourceLocation } from '../../../protocol/index.cjs';
|
|
3
3
|
/**
|
|
4
4
|
* Creates an iframe command executor for applying style and text changes via postMessage
|
|
5
5
|
* @param sendStyleChange - Called to apply a style in the iframe
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandExecutor } from './commandExecutor.js';
|
|
2
|
-
import { SourceLocation } from '../../../protocol.js';
|
|
2
|
+
import { SourceLocation } from '../../../protocol/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Creates an iframe command executor for applying style and text changes via postMessage
|
|
5
5
|
* @param sendStyleChange - Called to apply a style in the iframe
|
|
@@ -66,18 +66,12 @@ export interface PanelLabels {
|
|
|
66
66
|
padding: string;
|
|
67
67
|
margin: string;
|
|
68
68
|
borderRadius: string;
|
|
69
|
-
borderWeight: string;
|
|
70
|
-
borderStyle: string;
|
|
71
|
-
borderColor: string;
|
|
72
69
|
fontFamily: string;
|
|
73
70
|
fontSize: string;
|
|
74
71
|
fontWeight: string;
|
|
75
|
-
fontStyle: string;
|
|
76
72
|
textStyling: string;
|
|
77
73
|
textColor: string;
|
|
78
74
|
textAlignment: string;
|
|
79
|
-
textFormatting: string;
|
|
80
|
-
textTransform: string;
|
|
81
75
|
lineHeight: string;
|
|
82
76
|
letterSpacing: string;
|
|
83
77
|
};
|
|
@@ -95,6 +89,12 @@ export interface PanelLabels {
|
|
|
95
89
|
previewAlt: string;
|
|
96
90
|
altText: string;
|
|
97
91
|
altPlaceholder: string;
|
|
92
|
+
sourceFromData: string;
|
|
93
|
+
sourceNotEditable: string;
|
|
94
|
+
altFromData: string;
|
|
95
|
+
altNotEditable: string;
|
|
96
|
+
sourceShared: string;
|
|
97
|
+
altShared: string;
|
|
98
98
|
workspace: string;
|
|
99
99
|
selectWorkspace: string;
|
|
100
100
|
selectImage: string;
|
|
@@ -125,8 +125,19 @@ export interface PanelLabels {
|
|
|
125
125
|
bottomRight: string;
|
|
126
126
|
bottomLeft: string;
|
|
127
127
|
};
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
allCorners: string;
|
|
129
|
+
expandCorners: string;
|
|
130
|
+
collapseCorners: string;
|
|
131
|
+
matchCornersAndCollapse: string;
|
|
132
|
+
vertical: string;
|
|
133
|
+
horizontal: string;
|
|
134
|
+
expand: string;
|
|
135
|
+
collapse: string;
|
|
136
|
+
matchAndCollapse: string;
|
|
137
|
+
collapseUnavailable: string;
|
|
138
|
+
measurementUnavailable: string;
|
|
139
|
+
invalidNumber: string;
|
|
140
|
+
invalidNonNegative: string;
|
|
130
141
|
ariaSide: string;
|
|
131
142
|
};
|
|
132
143
|
dimension: {
|
|
@@ -136,9 +147,6 @@ export interface PanelLabels {
|
|
|
136
147
|
useNormalSpacing: string;
|
|
137
148
|
useInherit: string;
|
|
138
149
|
invalidRange: string;
|
|
139
|
-
unitPx: string;
|
|
140
|
-
unitEm: string;
|
|
141
|
-
unitless: string;
|
|
142
150
|
};
|
|
143
151
|
color: {
|
|
144
152
|
placeholder: string;
|
|
@@ -177,20 +185,6 @@ export interface PanelLabels {
|
|
|
177
185
|
uppercase: string;
|
|
178
186
|
};
|
|
179
187
|
};
|
|
180
|
-
fontStyle: {
|
|
181
|
-
options: {
|
|
182
|
-
normal: string;
|
|
183
|
-
italic: string;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
borderStyle: {
|
|
187
|
-
options: {
|
|
188
|
-
none: string;
|
|
189
|
-
solid: string;
|
|
190
|
-
dashed: string;
|
|
191
|
-
dotted: string;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
188
|
textAlignment: {
|
|
195
189
|
options: {
|
|
196
190
|
left: string;
|
|
@@ -199,24 +193,6 @@ export interface PanelLabels {
|
|
|
199
193
|
justify: string;
|
|
200
194
|
};
|
|
201
195
|
};
|
|
202
|
-
textDecoration: {
|
|
203
|
-
options: {
|
|
204
|
-
none: string;
|
|
205
|
-
underline: string;
|
|
206
|
-
lineThrough: string;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
textTransform: {
|
|
210
|
-
options: {
|
|
211
|
-
none: string;
|
|
212
|
-
uppercase: string;
|
|
213
|
-
lowercase: string;
|
|
214
|
-
capitalize: string;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
picklist: {
|
|
218
|
-
ariaReset: string;
|
|
219
|
-
};
|
|
220
196
|
};
|
|
221
197
|
history: {
|
|
222
198
|
changeLimitTitle: string;
|
|
@@ -294,30 +270,18 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
294
270
|
readonly path: "instances.margin";
|
|
295
271
|
}, {
|
|
296
272
|
readonly path: "instances.borderRadius";
|
|
297
|
-
}, {
|
|
298
|
-
readonly path: "instances.borderWeight";
|
|
299
|
-
}, {
|
|
300
|
-
readonly path: "instances.borderStyle";
|
|
301
|
-
}, {
|
|
302
|
-
readonly path: "instances.borderColor";
|
|
303
273
|
}, {
|
|
304
274
|
readonly path: "instances.fontFamily";
|
|
305
275
|
}, {
|
|
306
276
|
readonly path: "instances.fontSize";
|
|
307
277
|
}, {
|
|
308
278
|
readonly path: "instances.fontWeight";
|
|
309
|
-
}, {
|
|
310
|
-
readonly path: "instances.fontStyle";
|
|
311
279
|
}, {
|
|
312
280
|
readonly path: "instances.textStyling";
|
|
313
281
|
}, {
|
|
314
282
|
readonly path: "instances.textColor";
|
|
315
283
|
}, {
|
|
316
284
|
readonly path: "instances.textAlignment";
|
|
317
|
-
}, {
|
|
318
|
-
readonly path: "instances.textFormatting";
|
|
319
|
-
}, {
|
|
320
|
-
readonly path: "instances.textTransform";
|
|
321
285
|
}, {
|
|
322
286
|
readonly path: "instances.lineHeight";
|
|
323
287
|
}, {
|
|
@@ -346,6 +310,20 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
346
310
|
readonly path: "editors.image.altText";
|
|
347
311
|
}, {
|
|
348
312
|
readonly path: "editors.image.altPlaceholder";
|
|
313
|
+
}, {
|
|
314
|
+
readonly path: "editors.image.sourceFromData";
|
|
315
|
+
}, {
|
|
316
|
+
readonly path: "editors.image.sourceNotEditable";
|
|
317
|
+
}, {
|
|
318
|
+
readonly path: "editors.image.altFromData";
|
|
319
|
+
}, {
|
|
320
|
+
readonly path: "editors.image.altNotEditable";
|
|
321
|
+
}, {
|
|
322
|
+
readonly path: "editors.image.sourceShared";
|
|
323
|
+
readonly placeholders: readonly [0];
|
|
324
|
+
}, {
|
|
325
|
+
readonly path: "editors.image.altShared";
|
|
326
|
+
readonly placeholders: readonly [0];
|
|
349
327
|
}, {
|
|
350
328
|
readonly path: "editors.image.workspace";
|
|
351
329
|
}, {
|
|
@@ -397,10 +375,31 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
397
375
|
}, {
|
|
398
376
|
readonly path: "editors.boxDimension.corners.bottomLeft";
|
|
399
377
|
}, {
|
|
400
|
-
readonly path: "editors.boxDimension.
|
|
378
|
+
readonly path: "editors.boxDimension.allCorners";
|
|
401
379
|
}, {
|
|
402
|
-
readonly path: "editors.boxDimension.
|
|
403
|
-
|
|
380
|
+
readonly path: "editors.boxDimension.expandCorners";
|
|
381
|
+
}, {
|
|
382
|
+
readonly path: "editors.boxDimension.collapseCorners";
|
|
383
|
+
}, {
|
|
384
|
+
readonly path: "editors.boxDimension.matchCornersAndCollapse";
|
|
385
|
+
}, {
|
|
386
|
+
readonly path: "editors.boxDimension.vertical";
|
|
387
|
+
}, {
|
|
388
|
+
readonly path: "editors.boxDimension.horizontal";
|
|
389
|
+
}, {
|
|
390
|
+
readonly path: "editors.boxDimension.expand";
|
|
391
|
+
}, {
|
|
392
|
+
readonly path: "editors.boxDimension.collapse";
|
|
393
|
+
}, {
|
|
394
|
+
readonly path: "editors.boxDimension.matchAndCollapse";
|
|
395
|
+
}, {
|
|
396
|
+
readonly path: "editors.boxDimension.collapseUnavailable";
|
|
397
|
+
}, {
|
|
398
|
+
readonly path: "editors.boxDimension.measurementUnavailable";
|
|
399
|
+
}, {
|
|
400
|
+
readonly path: "editors.boxDimension.invalidNumber";
|
|
401
|
+
}, {
|
|
402
|
+
readonly path: "editors.boxDimension.invalidNonNegative";
|
|
404
403
|
}, {
|
|
405
404
|
readonly path: "editors.boxDimension.ariaSide";
|
|
406
405
|
readonly placeholders: readonly [0, 1];
|
|
@@ -419,12 +418,6 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
419
418
|
}, {
|
|
420
419
|
readonly path: "editors.dimension.invalidRange";
|
|
421
420
|
readonly placeholders: readonly [0, 1];
|
|
422
|
-
}, {
|
|
423
|
-
readonly path: "editors.dimension.unitPx";
|
|
424
|
-
}, {
|
|
425
|
-
readonly path: "editors.dimension.unitEm";
|
|
426
|
-
}, {
|
|
427
|
-
readonly path: "editors.dimension.unitless";
|
|
428
421
|
}, {
|
|
429
422
|
readonly path: "editors.color.placeholder";
|
|
430
423
|
}, {
|
|
@@ -485,18 +478,6 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
485
478
|
readonly path: "editors.textStyle.options.underline";
|
|
486
479
|
}, {
|
|
487
480
|
readonly path: "editors.textStyle.options.uppercase";
|
|
488
|
-
}, {
|
|
489
|
-
readonly path: "editors.fontStyle.options.normal";
|
|
490
|
-
}, {
|
|
491
|
-
readonly path: "editors.fontStyle.options.italic";
|
|
492
|
-
}, {
|
|
493
|
-
readonly path: "editors.borderStyle.options.none";
|
|
494
|
-
}, {
|
|
495
|
-
readonly path: "editors.borderStyle.options.solid";
|
|
496
|
-
}, {
|
|
497
|
-
readonly path: "editors.borderStyle.options.dashed";
|
|
498
|
-
}, {
|
|
499
|
-
readonly path: "editors.borderStyle.options.dotted";
|
|
500
481
|
}, {
|
|
501
482
|
readonly path: "editors.textAlignment.options.left";
|
|
502
483
|
}, {
|
|
@@ -505,23 +486,6 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
505
486
|
readonly path: "editors.textAlignment.options.right";
|
|
506
487
|
}, {
|
|
507
488
|
readonly path: "editors.textAlignment.options.justify";
|
|
508
|
-
}, {
|
|
509
|
-
readonly path: "editors.textDecoration.options.none";
|
|
510
|
-
}, {
|
|
511
|
-
readonly path: "editors.textDecoration.options.underline";
|
|
512
|
-
}, {
|
|
513
|
-
readonly path: "editors.textDecoration.options.lineThrough";
|
|
514
|
-
}, {
|
|
515
|
-
readonly path: "editors.textTransform.options.none";
|
|
516
|
-
}, {
|
|
517
|
-
readonly path: "editors.textTransform.options.uppercase";
|
|
518
|
-
}, {
|
|
519
|
-
readonly path: "editors.textTransform.options.lowercase";
|
|
520
|
-
}, {
|
|
521
|
-
readonly path: "editors.textTransform.options.capitalize";
|
|
522
|
-
}, {
|
|
523
|
-
readonly path: "editors.picklist.ariaReset";
|
|
524
|
-
readonly placeholders: readonly [0];
|
|
525
489
|
}, {
|
|
526
490
|
readonly path: "history.changeLimitTitle";
|
|
527
491
|
}, {
|
|
@@ -66,18 +66,12 @@ export interface PanelLabels {
|
|
|
66
66
|
padding: string;
|
|
67
67
|
margin: string;
|
|
68
68
|
borderRadius: string;
|
|
69
|
-
borderWeight: string;
|
|
70
|
-
borderStyle: string;
|
|
71
|
-
borderColor: string;
|
|
72
69
|
fontFamily: string;
|
|
73
70
|
fontSize: string;
|
|
74
71
|
fontWeight: string;
|
|
75
|
-
fontStyle: string;
|
|
76
72
|
textStyling: string;
|
|
77
73
|
textColor: string;
|
|
78
74
|
textAlignment: string;
|
|
79
|
-
textFormatting: string;
|
|
80
|
-
textTransform: string;
|
|
81
75
|
lineHeight: string;
|
|
82
76
|
letterSpacing: string;
|
|
83
77
|
};
|
|
@@ -95,6 +89,12 @@ export interface PanelLabels {
|
|
|
95
89
|
previewAlt: string;
|
|
96
90
|
altText: string;
|
|
97
91
|
altPlaceholder: string;
|
|
92
|
+
sourceFromData: string;
|
|
93
|
+
sourceNotEditable: string;
|
|
94
|
+
altFromData: string;
|
|
95
|
+
altNotEditable: string;
|
|
96
|
+
sourceShared: string;
|
|
97
|
+
altShared: string;
|
|
98
98
|
workspace: string;
|
|
99
99
|
selectWorkspace: string;
|
|
100
100
|
selectImage: string;
|
|
@@ -125,8 +125,19 @@ export interface PanelLabels {
|
|
|
125
125
|
bottomRight: string;
|
|
126
126
|
bottomLeft: string;
|
|
127
127
|
};
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
allCorners: string;
|
|
129
|
+
expandCorners: string;
|
|
130
|
+
collapseCorners: string;
|
|
131
|
+
matchCornersAndCollapse: string;
|
|
132
|
+
vertical: string;
|
|
133
|
+
horizontal: string;
|
|
134
|
+
expand: string;
|
|
135
|
+
collapse: string;
|
|
136
|
+
matchAndCollapse: string;
|
|
137
|
+
collapseUnavailable: string;
|
|
138
|
+
measurementUnavailable: string;
|
|
139
|
+
invalidNumber: string;
|
|
140
|
+
invalidNonNegative: string;
|
|
130
141
|
ariaSide: string;
|
|
131
142
|
};
|
|
132
143
|
dimension: {
|
|
@@ -136,9 +147,6 @@ export interface PanelLabels {
|
|
|
136
147
|
useNormalSpacing: string;
|
|
137
148
|
useInherit: string;
|
|
138
149
|
invalidRange: string;
|
|
139
|
-
unitPx: string;
|
|
140
|
-
unitEm: string;
|
|
141
|
-
unitless: string;
|
|
142
150
|
};
|
|
143
151
|
color: {
|
|
144
152
|
placeholder: string;
|
|
@@ -177,20 +185,6 @@ export interface PanelLabels {
|
|
|
177
185
|
uppercase: string;
|
|
178
186
|
};
|
|
179
187
|
};
|
|
180
|
-
fontStyle: {
|
|
181
|
-
options: {
|
|
182
|
-
normal: string;
|
|
183
|
-
italic: string;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
borderStyle: {
|
|
187
|
-
options: {
|
|
188
|
-
none: string;
|
|
189
|
-
solid: string;
|
|
190
|
-
dashed: string;
|
|
191
|
-
dotted: string;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
188
|
textAlignment: {
|
|
195
189
|
options: {
|
|
196
190
|
left: string;
|
|
@@ -199,24 +193,6 @@ export interface PanelLabels {
|
|
|
199
193
|
justify: string;
|
|
200
194
|
};
|
|
201
195
|
};
|
|
202
|
-
textDecoration: {
|
|
203
|
-
options: {
|
|
204
|
-
none: string;
|
|
205
|
-
underline: string;
|
|
206
|
-
lineThrough: string;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
textTransform: {
|
|
210
|
-
options: {
|
|
211
|
-
none: string;
|
|
212
|
-
uppercase: string;
|
|
213
|
-
lowercase: string;
|
|
214
|
-
capitalize: string;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
picklist: {
|
|
218
|
-
ariaReset: string;
|
|
219
|
-
};
|
|
220
196
|
};
|
|
221
197
|
history: {
|
|
222
198
|
changeLimitTitle: string;
|
|
@@ -294,30 +270,18 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
294
270
|
readonly path: "instances.margin";
|
|
295
271
|
}, {
|
|
296
272
|
readonly path: "instances.borderRadius";
|
|
297
|
-
}, {
|
|
298
|
-
readonly path: "instances.borderWeight";
|
|
299
|
-
}, {
|
|
300
|
-
readonly path: "instances.borderStyle";
|
|
301
|
-
}, {
|
|
302
|
-
readonly path: "instances.borderColor";
|
|
303
273
|
}, {
|
|
304
274
|
readonly path: "instances.fontFamily";
|
|
305
275
|
}, {
|
|
306
276
|
readonly path: "instances.fontSize";
|
|
307
277
|
}, {
|
|
308
278
|
readonly path: "instances.fontWeight";
|
|
309
|
-
}, {
|
|
310
|
-
readonly path: "instances.fontStyle";
|
|
311
279
|
}, {
|
|
312
280
|
readonly path: "instances.textStyling";
|
|
313
281
|
}, {
|
|
314
282
|
readonly path: "instances.textColor";
|
|
315
283
|
}, {
|
|
316
284
|
readonly path: "instances.textAlignment";
|
|
317
|
-
}, {
|
|
318
|
-
readonly path: "instances.textFormatting";
|
|
319
|
-
}, {
|
|
320
|
-
readonly path: "instances.textTransform";
|
|
321
285
|
}, {
|
|
322
286
|
readonly path: "instances.lineHeight";
|
|
323
287
|
}, {
|
|
@@ -346,6 +310,20 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
346
310
|
readonly path: "editors.image.altText";
|
|
347
311
|
}, {
|
|
348
312
|
readonly path: "editors.image.altPlaceholder";
|
|
313
|
+
}, {
|
|
314
|
+
readonly path: "editors.image.sourceFromData";
|
|
315
|
+
}, {
|
|
316
|
+
readonly path: "editors.image.sourceNotEditable";
|
|
317
|
+
}, {
|
|
318
|
+
readonly path: "editors.image.altFromData";
|
|
319
|
+
}, {
|
|
320
|
+
readonly path: "editors.image.altNotEditable";
|
|
321
|
+
}, {
|
|
322
|
+
readonly path: "editors.image.sourceShared";
|
|
323
|
+
readonly placeholders: readonly [0];
|
|
324
|
+
}, {
|
|
325
|
+
readonly path: "editors.image.altShared";
|
|
326
|
+
readonly placeholders: readonly [0];
|
|
349
327
|
}, {
|
|
350
328
|
readonly path: "editors.image.workspace";
|
|
351
329
|
}, {
|
|
@@ -397,10 +375,31 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
397
375
|
}, {
|
|
398
376
|
readonly path: "editors.boxDimension.corners.bottomLeft";
|
|
399
377
|
}, {
|
|
400
|
-
readonly path: "editors.boxDimension.
|
|
378
|
+
readonly path: "editors.boxDimension.allCorners";
|
|
401
379
|
}, {
|
|
402
|
-
readonly path: "editors.boxDimension.
|
|
403
|
-
|
|
380
|
+
readonly path: "editors.boxDimension.expandCorners";
|
|
381
|
+
}, {
|
|
382
|
+
readonly path: "editors.boxDimension.collapseCorners";
|
|
383
|
+
}, {
|
|
384
|
+
readonly path: "editors.boxDimension.matchCornersAndCollapse";
|
|
385
|
+
}, {
|
|
386
|
+
readonly path: "editors.boxDimension.vertical";
|
|
387
|
+
}, {
|
|
388
|
+
readonly path: "editors.boxDimension.horizontal";
|
|
389
|
+
}, {
|
|
390
|
+
readonly path: "editors.boxDimension.expand";
|
|
391
|
+
}, {
|
|
392
|
+
readonly path: "editors.boxDimension.collapse";
|
|
393
|
+
}, {
|
|
394
|
+
readonly path: "editors.boxDimension.matchAndCollapse";
|
|
395
|
+
}, {
|
|
396
|
+
readonly path: "editors.boxDimension.collapseUnavailable";
|
|
397
|
+
}, {
|
|
398
|
+
readonly path: "editors.boxDimension.measurementUnavailable";
|
|
399
|
+
}, {
|
|
400
|
+
readonly path: "editors.boxDimension.invalidNumber";
|
|
401
|
+
}, {
|
|
402
|
+
readonly path: "editors.boxDimension.invalidNonNegative";
|
|
404
403
|
}, {
|
|
405
404
|
readonly path: "editors.boxDimension.ariaSide";
|
|
406
405
|
readonly placeholders: readonly [0, 1];
|
|
@@ -419,12 +418,6 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
419
418
|
}, {
|
|
420
419
|
readonly path: "editors.dimension.invalidRange";
|
|
421
420
|
readonly placeholders: readonly [0, 1];
|
|
422
|
-
}, {
|
|
423
|
-
readonly path: "editors.dimension.unitPx";
|
|
424
|
-
}, {
|
|
425
|
-
readonly path: "editors.dimension.unitEm";
|
|
426
|
-
}, {
|
|
427
|
-
readonly path: "editors.dimension.unitless";
|
|
428
421
|
}, {
|
|
429
422
|
readonly path: "editors.color.placeholder";
|
|
430
423
|
}, {
|
|
@@ -485,18 +478,6 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
485
478
|
readonly path: "editors.textStyle.options.underline";
|
|
486
479
|
}, {
|
|
487
480
|
readonly path: "editors.textStyle.options.uppercase";
|
|
488
|
-
}, {
|
|
489
|
-
readonly path: "editors.fontStyle.options.normal";
|
|
490
|
-
}, {
|
|
491
|
-
readonly path: "editors.fontStyle.options.italic";
|
|
492
|
-
}, {
|
|
493
|
-
readonly path: "editors.borderStyle.options.none";
|
|
494
|
-
}, {
|
|
495
|
-
readonly path: "editors.borderStyle.options.solid";
|
|
496
|
-
}, {
|
|
497
|
-
readonly path: "editors.borderStyle.options.dashed";
|
|
498
|
-
}, {
|
|
499
|
-
readonly path: "editors.borderStyle.options.dotted";
|
|
500
481
|
}, {
|
|
501
482
|
readonly path: "editors.textAlignment.options.left";
|
|
502
483
|
}, {
|
|
@@ -505,23 +486,6 @@ export declare const REQUIRED_LABEL_KEYS: readonly [{
|
|
|
505
486
|
readonly path: "editors.textAlignment.options.right";
|
|
506
487
|
}, {
|
|
507
488
|
readonly path: "editors.textAlignment.options.justify";
|
|
508
|
-
}, {
|
|
509
|
-
readonly path: "editors.textDecoration.options.none";
|
|
510
|
-
}, {
|
|
511
|
-
readonly path: "editors.textDecoration.options.underline";
|
|
512
|
-
}, {
|
|
513
|
-
readonly path: "editors.textDecoration.options.lineThrough";
|
|
514
|
-
}, {
|
|
515
|
-
readonly path: "editors.textTransform.options.none";
|
|
516
|
-
}, {
|
|
517
|
-
readonly path: "editors.textTransform.options.uppercase";
|
|
518
|
-
}, {
|
|
519
|
-
readonly path: "editors.textTransform.options.lowercase";
|
|
520
|
-
}, {
|
|
521
|
-
readonly path: "editors.textTransform.options.capitalize";
|
|
522
|
-
}, {
|
|
523
|
-
readonly path: "editors.picklist.ariaReset";
|
|
524
|
-
readonly placeholders: readonly [0];
|
|
525
489
|
}, {
|
|
526
490
|
readonly path: "history.changeLimitTitle";
|
|
527
491
|
}, {
|