@salesforce/ui-design-mode 12.14.0 → 12.16.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.ts.map +1 -1
- package/dist/authoring/core/editors/ButtonGroupEditor.d.cts +22 -0
- package/dist/authoring/core/editors/ButtonGroupEditor.d.ts +22 -0
- package/dist/authoring/core/editors/ButtonGroupEditor.d.ts.map +1 -0
- package/dist/authoring/core/editors/SldsTextIcon.d.cts +14 -0
- package/dist/authoring/core/editors/SldsTextIcon.d.ts +14 -0
- package/dist/authoring/core/editors/SldsTextIcon.d.ts.map +1 -0
- package/dist/authoring/core/editors/TextAlignmentEditor.d.ts.map +1 -1
- package/dist/authoring/core/editors/TextStyleEditor.d.cts +15 -0
- package/dist/authoring/core/editors/TextStyleEditor.d.ts +15 -0
- package/dist/authoring/core/editors/TextStyleEditor.d.ts.map +1 -0
- package/dist/authoring/core/labels/labels.d.cts +16 -0
- package/dist/authoring/core/labels/labels.d.ts +16 -0
- package/dist/authoring/core/labels/labels.d.ts.map +1 -1
- package/dist/authoring/react/index.js +3 -3
- package/dist/authoring/react/styles.css +1 -1
- package/dist/authoring/web-component/index.d.ts.map +1 -1
- package/dist/authoring/web-component/index.js +76 -82
- package/dist/protocol/version.cjs +1 -1
- package/dist/protocol/version.js +1 -1
- package/dist/runtime/design-mode-interactions.js +1 -1
- package/package.json +1 -1
- package/dist/authoring/core/editors/BorderStyleEditor.d.cts +0 -13
- package/dist/authoring/core/editors/BorderStyleEditor.d.ts +0 -13
- package/dist/authoring/core/editors/BorderStyleEditor.d.ts.map +0 -1
- package/dist/authoring/core/editors/FontStyleEditor.d.cts +0 -13
- package/dist/authoring/core/editors/FontStyleEditor.d.ts +0 -13
- package/dist/authoring/core/editors/FontStyleEditor.d.ts.map +0 -1
- package/dist/authoring/core/editors/RadioGroupEditor.d.cts +0 -26
- package/dist/authoring/core/editors/RadioGroupEditor.d.ts +0 -26
- package/dist/authoring/core/editors/RadioGroupEditor.d.ts.map +0 -1
- package/dist/authoring/core/editors/TextDecorationEditor.d.cts +0 -13
- package/dist/authoring/core/editors/TextDecorationEditor.d.ts +0 -13
- package/dist/authoring/core/editors/TextDecorationEditor.d.ts.map +0 -1
- package/dist/authoring/core/editors/TextTransformEditor.d.cts +0 -13
- package/dist/authoring/core/editors/TextTransformEditor.d.ts +0 -13
- package/dist/authoring/core/editors/TextTransformEditor.d.ts.map +0 -1
package/dist/protocol/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-design-mode",
|
|
3
3
|
"description": "Hybrid editor (design-mode) authoring UI, iframe runtime, source-locator, and protocol for Salesforce UI Bundles",
|
|
4
|
-
"version": "12.
|
|
4
|
+
"version": "12.16.0",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.cjs';
|
|
2
|
-
type BorderStyleOptionLabels = PanelLabels["editors"]["borderStyle"]["options"];
|
|
3
|
-
export interface BorderStyleEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: BorderStyleOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function BorderStyleEditor({ label, value, onChange, id, optionLabels, }: BorderStyleEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=BorderStyleEditor.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.js';
|
|
2
|
-
type BorderStyleOptionLabels = PanelLabels["editors"]["borderStyle"]["options"];
|
|
3
|
-
export interface BorderStyleEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: BorderStyleOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function BorderStyleEditor({ label, value, onChange, id, optionLabels, }: BorderStyleEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=BorderStyleEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BorderStyleEditor.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/editors/BorderStyleEditor.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,KAAK,uBAAuB,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC;AA+ChF,MAAM,WAAW,sBAAsB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0EAA0E;IAC1E,YAAY,CAAC,EAAE,uBAAuB,CAAC;CACvC;AAED,wBAAgB,iBAAiB,CAAC,EACjC,KAAsB,EACtB,KAAK,EACL,QAAQ,EACR,EAAmB,EACnB,YAAY,GACZ,EAAE,sBAAsB,2CAexB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.cjs';
|
|
2
|
-
type FontStyleOptionLabels = PanelLabels["editors"]["fontStyle"]["options"];
|
|
3
|
-
export interface FontStyleEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: FontStyleOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function FontStyleEditor({ label, value, onChange, id, optionLabels, }: FontStyleEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=FontStyleEditor.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.js';
|
|
2
|
-
type FontStyleOptionLabels = PanelLabels["editors"]["fontStyle"]["options"];
|
|
3
|
-
export interface FontStyleEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: FontStyleOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function FontStyleEditor({ label, value, onChange, id, optionLabels, }: FontStyleEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=FontStyleEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FontStyleEditor.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/editors/FontStyleEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,KAAK,qBAAqB,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;AAyB5E,MAAM,WAAW,oBAAoB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0EAA0E;IAC1E,YAAY,CAAC,EAAE,qBAAqB,CAAC;CACrC;AAED,wBAAgB,eAAe,CAAC,EAC/B,KAAoB,EACpB,KAAK,EACL,QAAQ,EACR,EAAiB,EACjB,YAAY,GACZ,EAAE,oBAAoB,2CAetB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface RadioGroupOption {
|
|
3
|
-
/** Option value */
|
|
4
|
-
value: string;
|
|
5
|
-
/** Accessible label for the option */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Optional icon to display instead of label text */
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export interface RadioGroupEditorProps {
|
|
11
|
-
/** Editor label displayed above the control */
|
|
12
|
-
label: string;
|
|
13
|
-
/** Available options with value/label/icon */
|
|
14
|
-
options: RadioGroupOption[];
|
|
15
|
-
/** Currently selected value */
|
|
16
|
-
value: string;
|
|
17
|
-
/** Callback invoked when value changes */
|
|
18
|
-
onChange: (value: string) => void;
|
|
19
|
-
/** DOM id for the editor (defaults to 'radio-group') */
|
|
20
|
-
id?: string;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Radio button group editor with visual icons.
|
|
24
|
-
*/
|
|
25
|
-
export declare function RadioGroupEditor({ label, options, value, onChange, id, }: RadioGroupEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
//# sourceMappingURL=RadioGroupEditor.d.ts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface RadioGroupOption {
|
|
3
|
-
/** Option value */
|
|
4
|
-
value: string;
|
|
5
|
-
/** Accessible label for the option */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Optional icon to display instead of label text */
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export interface RadioGroupEditorProps {
|
|
11
|
-
/** Editor label displayed above the control */
|
|
12
|
-
label: string;
|
|
13
|
-
/** Available options with value/label/icon */
|
|
14
|
-
options: RadioGroupOption[];
|
|
15
|
-
/** Currently selected value */
|
|
16
|
-
value: string;
|
|
17
|
-
/** Callback invoked when value changes */
|
|
18
|
-
onChange: (value: string) => void;
|
|
19
|
-
/** DOM id for the editor (defaults to 'radio-group') */
|
|
20
|
-
id?: string;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Radio button group editor with visual icons.
|
|
24
|
-
*/
|
|
25
|
-
export declare function RadioGroupEditor({ label, options, value, onChange, id, }: RadioGroupEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
//# sourceMappingURL=RadioGroupEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroupEditor.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/editors/RadioGroupEditor.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,gBAAgB;IAChC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IACrC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,wDAAwD;IACxD,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAChC,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,EACR,EAAkB,GAClB,EAAE,qBAAqB,2CAiCvB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.cjs';
|
|
2
|
-
type TextDecorationOptionLabels = PanelLabels["editors"]["textDecoration"]["options"];
|
|
3
|
-
export interface TextDecorationEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: TextDecorationOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function TextDecorationEditor({ label, value, onChange, id, optionLabels, }: TextDecorationEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=TextDecorationEditor.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.js';
|
|
2
|
-
type TextDecorationOptionLabels = PanelLabels["editors"]["textDecoration"]["options"];
|
|
3
|
-
export interface TextDecorationEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: TextDecorationOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function TextDecorationEditor({ label, value, onChange, id, optionLabels, }: TextDecorationEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=TextDecorationEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextDecorationEditor.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/editors/TextDecorationEditor.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,KAAK,0BAA0B,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC;AAwCtF,MAAM,WAAW,yBAAyB;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0EAA0E;IAC1E,YAAY,CAAC,EAAE,0BAA0B,CAAC;CAC1C;AAED,wBAAgB,oBAAoB,CAAC,EACpC,KAAyB,EACzB,KAAK,EACL,QAAQ,EACR,EAAsB,EACtB,YAAY,GACZ,EAAE,yBAAyB,2CAe3B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.cjs';
|
|
2
|
-
type TextTransformOptionLabels = PanelLabels["editors"]["textTransform"]["options"];
|
|
3
|
-
export interface TextTransformEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: TextTransformOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function TextTransformEditor({ label, value, onChange, id, optionLabels, }: TextTransformEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=TextTransformEditor.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PanelLabels } from '../labels/labels.js';
|
|
2
|
-
type TextTransformOptionLabels = PanelLabels["editors"]["textTransform"]["options"];
|
|
3
|
-
export interface TextTransformEditorProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Localized option labels; omit to use the editor's English defaults. */
|
|
9
|
-
optionLabels?: TextTransformOptionLabels;
|
|
10
|
-
}
|
|
11
|
-
export declare function TextTransformEditor({ label, value, onChange, id, optionLabels, }: TextTransformEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=TextTransformEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextTransformEditor.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/editors/TextTransformEditor.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,KAAK,yBAAyB,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC;AAkCpF,MAAM,WAAW,wBAAwB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0EAA0E;IAC1E,YAAY,CAAC,EAAE,yBAAyB,CAAC;CACzC;AAED,wBAAgB,mBAAmB,CAAC,EACnC,KAAmB,EACnB,KAAK,EACL,QAAQ,EACR,EAAqB,EACrB,YAAY,GACZ,EAAE,wBAAwB,2CAe1B"}
|