@kentico/xperience-admin-base 29.5.2 → 29.6.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/entry.d.ts CHANGED
@@ -59,6 +59,10 @@ declare interface Action {
59
59
  * Component properties to be used for the action.
60
60
  */
61
61
  readonly componentProperties?: ActionComponentProps;
62
+ /**
63
+ * Nested actions.
64
+ */
65
+ readonly actions?: (Action | ActionDivider)[];
62
66
  }
63
67
 
64
68
  /**
@@ -87,6 +91,13 @@ export declare interface ActionComponentProps {
87
91
  readonly action?: Omit<Action, 'componentProperties'>;
88
92
  }
89
93
 
94
+ declare interface ActionDivider {
95
+ /**
96
+ * Indicates the object is a placeholder for divider instead of an action.
97
+ */
98
+ isDivider: true;
99
+ }
100
+
90
101
  /**
91
102
  * Type of an action.
92
103
  */
@@ -235,6 +246,10 @@ declare interface ConfirmationConfiguration {
235
246
  * Text of the confirmation button on the prompt dialog.
236
247
  */
237
248
  readonly button: string;
249
+ /**
250
+ * Icon of the confirmation button on the prompt dialog.
251
+ */
252
+ readonly icon?: IconName;
238
253
  /**
239
254
  * Form items representing confirmation form.
240
255
  */
@@ -530,6 +545,7 @@ declare const Icons = {
530
545
  'xp-folder-clock': folderClock,
531
546
  'xp-folder-cogwheel': folderCogwheel,
532
547
  'xp-folder-inverted': folderInverted,
548
+ 'xp-folder-move': folderMove,
533
549
  'xp-folder-opened': folderOpened,
534
550
  'xp-folder': folder,
535
551
  'xp-form': form,