@salesforce/ui-design-mode 11.24.1 → 11.24.3
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/ColorEditor.d.cts +11 -1
- package/dist/authoring/core/editors/ColorEditor.d.ts +11 -1
- package/dist/authoring/core/editors/ColorEditor.d.ts.map +1 -1
- package/dist/authoring/core/history/changeSet.d.cts +4 -3
- package/dist/authoring/core/history/changeSet.d.ts +4 -3
- package/dist/authoring/core/history/changeSet.d.ts.map +1 -1
- package/dist/authoring/core/history/historyService.d.cts +21 -0
- package/dist/authoring/core/history/historyService.d.ts +21 -0
- package/dist/authoring/core/history/historyService.d.ts.map +1 -1
- package/dist/authoring/core/history/iframeCommandExecutor.d.ts.map +1 -1
- package/dist/authoring/core/labels/labels.d.cts +6 -0
- package/dist/authoring/core/labels/labels.d.ts +6 -0
- package/dist/authoring/core/labels/labels.d.ts.map +1 -1
- package/dist/authoring/core/utils/backgroundOcclusion.d.cts +48 -0
- package/dist/authoring/core/utils/backgroundOcclusion.d.ts +48 -0
- package/dist/authoring/core/utils/backgroundOcclusion.d.ts.map +1 -0
- package/dist/authoring/react/index.js +4 -67
- package/dist/authoring/react/styles.css +1 -1
- package/dist/authoring/web-component/index.js +21 -94
- package/dist/runtime/design-mode-interactions.js +1 -0
- package/dist/runtime/interactions/utils/cssUtils.d.cts +6 -0
- package/dist/runtime/interactions/utils/cssUtils.d.ts +6 -0
- package/dist/runtime/interactions/utils/cssUtils.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -233,6 +233,7 @@
|
|
|
233
233
|
padding: box("padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft"),
|
|
234
234
|
margin: box("margin", "marginTop", "marginRight", "marginBottom", "marginLeft"),
|
|
235
235
|
backgroundColor: prop("backgroundColor"),
|
|
236
|
+
backgroundImage: prop("backgroundImage"),
|
|
236
237
|
borderWidth: box(
|
|
237
238
|
"borderWidth",
|
|
238
239
|
"borderTopWidth",
|
|
@@ -27,6 +27,12 @@ interface ElementStyles {
|
|
|
27
27
|
padding: StyleValue;
|
|
28
28
|
margin: StyleValue;
|
|
29
29
|
backgroundColor: StyleValue;
|
|
30
|
+
/**
|
|
31
|
+
* The element's background image layer (gradients, url()s). Not user-editable
|
|
32
|
+
* in the panel, but reported so the host can detect when an opaque image would
|
|
33
|
+
* occlude a background-color edit and clear it as part of the same change.
|
|
34
|
+
*/
|
|
35
|
+
backgroundImage: StyleValue;
|
|
30
36
|
borderWidth: StyleValue;
|
|
31
37
|
borderStyle: StyleValue;
|
|
32
38
|
borderColor: StyleValue;
|
|
@@ -27,6 +27,12 @@ interface ElementStyles {
|
|
|
27
27
|
padding: StyleValue;
|
|
28
28
|
margin: StyleValue;
|
|
29
29
|
backgroundColor: StyleValue;
|
|
30
|
+
/**
|
|
31
|
+
* The element's background image layer (gradients, url()s). Not user-editable
|
|
32
|
+
* in the panel, but reported so the host can detect when an opaque image would
|
|
33
|
+
* occlude a background-color edit and clear it as part of the same change.
|
|
34
|
+
*/
|
|
35
|
+
backgroundImage: StyleValue;
|
|
30
36
|
borderWidth: StyleValue;
|
|
31
37
|
borderStyle: StyleValue;
|
|
32
38
|
borderColor: StyleValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cssUtils.d.ts","sourceRoot":"","sources":["../../../../src/runtime/interactions/utils/cssUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;GAKG;AACH,UAAU,UAAU;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACjB;AAID;;GAEG;AACH,UAAU,aAAa;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,MAAM,EAAE,UAAU,CAAC;IACnB,SAAS,EAAE,UAAU,CAAC;I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AAE,UAAU,CAAC;IAC5B;;;;OAIG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B,WAAW,EAAE,UAAU,CAAC;IACxB,WAAW,EAAE,UAAU,CAAC;IACxB,WAAW,EAAE,UAAU,CAAC;IACxB,YAAY,EAAE,UAAU,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,UAAU,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,UAAU,CAAC;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,UAAU,CAAC;IAC1B,SAAS,EAAE,UAAU,CAAC;IACtB,cAAc,EAAE,UAAU,CAAC;IAC3B,aAAa,EAAE,UAAU,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,CAoFhG"}
|
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": "11.24.
|
|
4
|
+
"version": "11.24.3",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -92,19 +92,19 @@
|
|
|
92
92
|
"react-dom": "^19.2.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@babel/core": "^7.
|
|
95
|
+
"@babel/core": "^7.29.6",
|
|
96
96
|
"@testing-library/react": "^16.3.2",
|
|
97
97
|
"@types/babel__core": "^7.20.5",
|
|
98
98
|
"@types/babel__helper-plugin-utils": "^7.10.3",
|
|
99
99
|
"@types/culori": "4.0.1",
|
|
100
100
|
"@types/react": "19.2.14",
|
|
101
101
|
"@types/react-dom": "19.2.3",
|
|
102
|
-
"esbuild": "^0.
|
|
102
|
+
"esbuild": "^0.28.1",
|
|
103
103
|
"jsdom": "^27.0.0",
|
|
104
104
|
"react": "^19.2.0",
|
|
105
105
|
"react-dom": "^19.2.0",
|
|
106
106
|
"ts-morph": "^25.0.0",
|
|
107
|
-
"vite": "^7.3.
|
|
107
|
+
"vite": "^7.3.5",
|
|
108
108
|
"vite-plugin-dts": "^4.5.4",
|
|
109
109
|
"vitest": "^4.0.6"
|
|
110
110
|
},
|