@i2analyze/notebook-sdk 1.9.0-dev.8 → 1.9.0-dev.9

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.
@@ -2193,6 +2193,11 @@ export declare namespace commands {
2193
2193
  * @i2since 1.0
2194
2194
  */
2195
2195
  export type CommandType = 'application' | 'records' | 'unscoped';
2196
+ /**
2197
+ * A type for a group of actions, which determines how the group is rendered in the user interface.
2198
+ * @i2since 1.9
2199
+ */
2200
+ export type GroupType = 'expanded' | 'collapsed' | 'command';
2196
2201
  /**
2197
2202
  * A mapping of command types to their payload types.
2198
2203
  * @i2since 1.0
@@ -2613,6 +2618,12 @@ export declare namespace commands {
2613
2618
  readonly id: GroupId;
2614
2619
  /**
2615
2620
  * Indicates whether the group is initially expanded (`false`) or collapsed (`true`) in the user interface.
2621
+ *
2622
+ * @remarks
2623
+ * This is deprecated in favour of the more explicit {@link commands.IGroup."type"} property.
2624
+ * When migrating, use `type: 'collapsed'` instead of `isCollapsed: true`, and `type: 'expanded'` instead of
2625
+ * `isCollapsed: false` or omitting the property.
2626
+ * @deprecated Deprecated since version 1.9. Use {@link commands.IGroup."type"} instead.
2616
2627
  * @i2since 1.5
2617
2628
  */
2618
2629
  readonly isCollapsed?: boolean;
@@ -2632,6 +2643,19 @@ export declare namespace commands {
2632
2643
  * @i2since 1.0
2633
2644
  */
2634
2645
  readonly label?: string;
2646
+ /**
2647
+ * Gets the render type of the group.
2648
+ *
2649
+ * @remarks
2650
+ * Use this property to explicitly control how the group is presented in the user interface. The options are:
2651
+ * - `'expanded'` - shows all commands inline (default)
2652
+ * - `'collapsed'` - shows the group as a single icon/label button that opens a dropdown
2653
+ * - `'command'` - indicates the group exposes a primary action (the first surfaced command) while also presenting a menu of related actions; user may render this as a split button in a ribbon, or as an actionable menu entry with a submenu in popup menus.
2654
+ *
2655
+ * If `type` is specified it takes precedence over the deprecated {@link commands.IGroupBase.isCollapsed} boolean.
2656
+ * @i2since 1.9
2657
+ */
2658
+ readonly type?: GroupType;
2635
2659
  }
2636
2660
  /**
2637
2661
  * A group of actions in a popup menu that do not have a label or an icon.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.9.0-dev.8",
3
+ "version": "1.9.0-dev.9",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {