File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
blueprints-integration/src Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,10 @@ export interface IBlueprintActionTriggerMode {
6464 label : ITranslatableMessage
6565 /** An optional, longer description that will not be immediately visible to the user */
6666 description ?: ITranslatableMessage
67- /** An icon to be displayed to the user next to the label */
67+ /** An icon to be displayed to the user next to the label
68+ *
69+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL
70+ */
6871 icon ?: string
6972 }
7073}
Original file line number Diff line number Diff line change @@ -21,9 +21,15 @@ export interface UserEditingDefinitionAction {
2121 id : string
2222 /** Label to show to the user for this operation */
2323 label : ITranslatableMessage
24- /** Icon to show when this action is 'active' */
24+ /** Icon to show when this action is 'active'
25+ *
26+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL
27+ */
2528 icon ?: string
26- /** Icon to show when this action is 'disabled' */
29+ /** Icon to show when this action is 'disabled'
30+ *
31+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL
32+ */
2733 iconInactive ?: string
2834 /** Whether this action should be indicated as being active */
2935 isActive ?: boolean
Original file line number Diff line number Diff line change @@ -18,9 +18,13 @@ export interface CoreUserEditingDefinitionAction {
1818 id : string
1919 /** Label to show to the user for this operation */
2020 label : ITranslatableMessage
21- /** Icon to show when this action is 'active' */
21+ /** Icon to show when this action is 'active'.
22+ *
23+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL */
2224 icon ?: string
23- /** Icon to show when this action is 'disabled' */
25+ /** Icon to show when this action is 'disabled'.
26+ *
27+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL */
2428 iconInactive ?: string
2529 /** Whether this action should be indicated as being active */
2630 isActive ?: boolean
You can’t perform that action at this time.
0 commit comments