@salesforce/ui-design-mode 10.15.0 → 10.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/editors/ColorEditor.d.cts +4 -0
- package/dist/authoring/core/editors/ColorEditor.d.ts +4 -0
- package/dist/authoring/core/editors/ColorEditor.d.ts.map +1 -1
- package/dist/authoring/core/utils/colorUtils.d.cts +1 -1
- package/dist/authoring/core/utils/colorUtils.d.ts +1 -1
- package/dist/authoring/core/utils/colorUtils.d.ts.map +1 -1
- package/dist/authoring/core/utils/domUtils.d.ts.map +1 -1
- package/dist/authoring/react/index.js +3 -3
- package/dist/authoring/web-component/index.js +14 -14
- package/package.json +1 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { PanelLabels } from '../labels/labels.cjs';
|
|
2
|
+
export declare function computePopoverPosition(buttonEl: HTMLElement, popoverHeight?: number): {
|
|
3
|
+
top: number;
|
|
4
|
+
left: number;
|
|
5
|
+
};
|
|
2
6
|
type ColorAriaLabels = PanelLabels["editors"]["color"];
|
|
3
7
|
export interface ColorEditorProps {
|
|
4
8
|
/** Editor label displayed above the control */
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { PanelLabels } from '../labels/labels.js';
|
|
2
|
+
export declare function computePopoverPosition(buttonEl: HTMLElement, popoverHeight?: number): {
|
|
3
|
+
top: number;
|
|
4
|
+
left: number;
|
|
5
|
+
};
|
|
2
6
|
type ColorAriaLabels = PanelLabels["editors"]["color"];
|
|
3
7
|
export interface ColorEditorProps {
|
|
4
8
|
/** Editor label displayed above the control */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorEditor.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/editors/ColorEditor.tsx"],"names":[],"mappings":"AAcA,OAAO,EAA8B,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"ColorEditor.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/editors/ColorEditor.tsx"],"names":[],"mappings":"AAcA,OAAO,EAA8B,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAmNhF,wBAAgB,sBAAsB,CACrC,QAAQ,EAAE,WAAW,EACrB,aAAa,GAAE,MAAuB;;;EAoBtC;AAwJD,KAAK,eAAe,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC;AAqBvD,MAAM,WAAW,gBAAgB;IAChC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,kDAAkD;IAClD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sEAAsE;IACtE,IAAI,CAAC,EAAE,eAAe,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC3B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,EAAY,EACZ,IAAI,EAAE,QAAQ,GACd,EAAE,gBAAgB,2CAmgBlB"}
|
|
@@ -43,7 +43,7 @@ export declare function rgbaToColorSpace(rgba: RgbaColor, mode: string): Color |
|
|
|
43
43
|
*/
|
|
44
44
|
export declare function colorSpaceToRgba(color: Color | undefined): RgbaColor;
|
|
45
45
|
/**
|
|
46
|
-
* Format color object to CSS string.
|
|
46
|
+
* Format color object to CSS string, rounding channel values to 3 decimal places.
|
|
47
47
|
*/
|
|
48
48
|
export declare function formatColorSpace(color: Color | undefined): string;
|
|
49
49
|
/**
|
|
@@ -43,7 +43,7 @@ export declare function rgbaToColorSpace(rgba: RgbaColor, mode: string): Color |
|
|
|
43
43
|
*/
|
|
44
44
|
export declare function colorSpaceToRgba(color: Color | undefined): RgbaColor;
|
|
45
45
|
/**
|
|
46
|
-
* Format color object to CSS string.
|
|
46
|
+
* Format color object to CSS string, rounding channel values to 3 decimal places.
|
|
47
47
|
*/
|
|
48
48
|
export declare function formatColorSpace(color: Color | undefined): string;
|
|
49
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/utils/colorUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../../src/authoring/core/utils/colorUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAKN,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,GAAG,EACR,KAAK,GAAG,EACR,KAAK,GAAG,EACR,KAAK,GAAG,EACR,MAAM,QAAQ,CAAC;AAYhB,MAAM,WAAW,SAAS;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAED,YAAY,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AA4BjD;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CActE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,CAsC5E;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAMpD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAGtD;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAejD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,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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,
|
|
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,CAqBtF"}
|