You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/guides/develop/how_to/use_color.md
+4-8
Original file line number
Diff line number
Diff line change
@@ -133,10 +133,6 @@ Please note that Adobe Express uses the terms **make** and **create** to disting
133
133
134
134
Adobe Express includes a native Color Picker, with special features such as Recommended Swatches, Eyedropper, Themes, Library and Brand colors. The Color Picker is available also to add-ons, you can invoke it using the [`addOnUISdk.app.showColorPicker()`](../../../references/addonsdk/addonsdk-app.md#showcolorpicker) method.
135
135
136
-
<InlineAlertslots="text"variant="warning"/>
137
-
138
-
**IMPORTANT:** This is currently **_experimental only_** and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the `experimentalApis` flag to `true` in the [`requirements`](../../../references/manifest/index.md#requirements) section of the `manifest.json`.
139
-
140
136
#### Benefits
141
137
142
138
- It simplifies the process of selecting a color, bypassing the Browser's color picker.
@@ -167,7 +163,7 @@ The `showColorPicker()` method requires an HTML element as its anchor point. Her
Copy file name to clipboardExpand all lines: src/pages/references/addonsdk/addonsdk-app.md
+8-16
Original file line number
Diff line number
Diff line change
@@ -258,10 +258,6 @@ See the use case implementations for an example of the [custom modal dialog](../
258
258
259
259
Shows the Adobe Express color picker based on specific options passed in.
260
260
261
-
<InlineAlertslots="text"variant="warning"/>
262
-
263
-
**IMPORTANT:** This is currently **_experimental only_** and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the `experimentalApis` flag to `true` in the [`requirements`](../manifest/index.md#requirements) section of the `manifest.json`.
|`title?`|`string`| Label header/title for the color picker. Default value: `""`|
281
-
|`initialColor?`|`number`| Default/starting color when you open the color picker for the first time on a `anchorElement`. When you have already changed the color with this picker, then the next time you open the picker, the last selected color will be the starting color. Default: `0xFFFFFF` (white) |
282
-
|`placement?`|`object`[ColorPickerPlacement](./addonsdk-constants.md#constants)| Placement of the popover with respect to the anchor element (default: `"left"`). |
283
-
|`eyedropperHidesPicker?`|`boolean`| Closes the color picker popover while using the EyeDropper. After the color is selected via the EyeDropper, the color picker popup opens again. Default: `false`. |
284
-
|`disableAlphaChannel?`|`boolean`| Disables the transparency slider in the "custom" section of the color picker. Default: `false`. |
|`title?`|`string`|Label header/title for the color picker. Default value: `""`|
277
+
|`initialColor?`|`number` or `string`| Default/starting color when you open the color picker for the first time on a `anchorElement`, in the format `0xRRGGBB[AA]` or `"#RRGGBB[AA]"`. When you have already changed the color with this picker, then the next time you open the picker, the last selected color will be the starting color. Default: `0xFFFFFF` (white) |
278
+
|`placement?`|`object`[ColorPickerPlacement](./addonsdk-constants.md#constants)|Placement of the popover with respect to the anchor element (default: `"left"`). |
279
+
|`eyedropperHidesPicker?`|`boolean`|Closes the color picker popover while using the EyeDropper. After the color is selected via the EyeDropper, the color picker popup opens again. Default: `false`. |
280
+
|`disableAlphaChannel?`|`boolean`|Disables the transparency slider in the "custom" section of the color picker. Default: `false`. |
**IMPORTANT:** This is currently **_experimental only_** and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the `experimentalApis` flag to `true` in the [`requirements`](../manifest/index.md#requirements) section of the `manifest.json`.
Copy file name to clipboardExpand all lines: src/pages/references/changelog.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,15 @@ contributors:
22
22
23
23
# Changelog
24
24
25
-
## 2025-04-30
25
+
## 2025-05-05
26
26
27
27
### Updated
28
28
29
-
- Renamed enum TextType to [`TextLayout`](./document-sandbox/document-apis/enumerations/TextLayout.md) in the Text APIs.
29
+
- There are a few notable changes regarding the [Color Picker APIs](../references/addonsdk/addonsdk-app.md#showcolorpicker), which have now moved to stable:
30
+
- The `initialColor` parameter now accepts a string in `"#RRGGBB[AA]"` format, in addition to the previous HEX number `0xRRGGBB[AA]`—both with optional alpha channel.
31
+
- We fixed the return value of the `ColorPickerEvent.colorChange` event, which now correctly handles the color with or without the alpha channel, depending on the value of the `disableAlphaChannel` parameter.
32
+
-**Breaking change**: the `ColorPickerEvents` enum has been renamed to `ColorPickerEvent` (singular).
33
+
- Renamed the TextType enumerable to [`TextLayout`](./document-sandbox/document-apis/enumerations/TextLayout.md) in the Text APIs.
0 commit comments