@messaia/cdk 18.1.0-rc21 → 18.1.0-rc22

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.
@@ -26,6 +26,11 @@ export declare class ActionItem<TEntity = any, TContext = any> {
26
26
  * @type {((x?: TEntity, ctx?: TContext) => any) | string}
27
27
  */
28
28
  iconClass?: ((x?: TEntity, ctx?: TContext) => any) | string;
29
+ /**
30
+ * The color for the icon, which can be set as a string (e.g., hex, rgb).
31
+ * @type {string}
32
+ */
33
+ iconColor?: string;
29
34
  /**
30
35
  * Event handler to execute when the action item is triggered.
31
36
  * @param {x} The entity associated with the action item.
@@ -56,6 +61,11 @@ export declare class ActionItem<TEntity = any, TContext = any> {
56
61
  * @type {number}
57
62
  */
58
63
  index?: number;
64
+ /**
65
+ * The text color for the action item, specified as a hex string or a color name.
66
+ * @type {string}
67
+ */
68
+ textColor?: string;
59
69
  /**
60
70
  * Constructor to initialize an ActionItem instance with optional properties.
61
71
  * @param init - Partial properties to initialize the action item.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "18.1.0-rc21",
3
+ "version": "18.1.0-rc22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.7",
6
6
  "@angular/core": "^18.2.7"