@i2analyze/notebook-sdk 1.8.0-dev.4 → 1.8.0-dev.6

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.
@@ -697,7 +697,7 @@ export declare namespace app {
697
697
  /**
698
698
  * Sets or resets the label of the node group.
699
699
  *
700
- * @param label - The label to set, or `undefined` to reset the label to the default.
700
+ * @param label - The label to set, or `undefined` to indicate there is no label.
701
701
  * @returns The node group, with its label set to the specified value.
702
702
  * @i2since 1.8
703
703
  */
@@ -711,6 +711,14 @@ export declare namespace app {
711
711
  * @i2since 1.8
712
712
  */
713
713
  setBorderColor(color: string | undefined): this;
714
+ /**
715
+ * Sets or resets the border width of the node group.
716
+ *
717
+ * @param width - The width to set, or `undefined` to reset the width to the theme default.
718
+ * @returns The node group, with its border width set to the specified value.
719
+ * @i2since 1.8
720
+ */
721
+ setBorderWidth(width: number | undefined): this;
714
722
  /**
715
723
  * Sets or resets the fill color of the node group.
716
724
  *
@@ -723,12 +731,12 @@ export declare namespace app {
723
731
  /**
724
732
  * Sets or resets the image for the node group.
725
733
  *
726
- * @param href - The URL of the image to use.
734
+ * @param href - The URL of the image to use, or 'undefined' to indicate there is no image.
727
735
  * @param description - A description of the image.
728
736
  * @returns The node group, with its image set to the specified URL and description.
729
737
  * @i2since 1.8
730
738
  */
731
- setImage(href: string, description?: string): this;
739
+ setImage(href: string | undefined, description?: string): this;
732
740
  /**
733
741
  * Adds nodes to the group.
734
742
  * @param nodes - The nodes to add to the group.
@@ -5748,20 +5756,20 @@ export declare namespace visual {
5748
5756
  */
5749
5757
  export interface INodeGroupStyle extends IElementStyleBase {
5750
5758
  /**
5751
- * Gets the image to display for the node group.
5759
+ * Gets the image to display for the node group, or undefined if there is no image.
5752
5760
  * @i2since 1.8
5753
5761
  */
5754
- readonly image: IImageSetting;
5762
+ readonly image?: IImageSetting;
5755
5763
  /**
5756
- * Gets the border color of the node group, or undefined if there is no explicit border color.
5764
+ * Gets the border color of the node group.
5757
5765
  * @i2since 1.8
5758
5766
  */
5759
5767
  readonly borderColor: IElementSetting<string | undefined>;
5760
5768
  /**
5761
- * Gets the fill color of the node group, or undefined if there is no explicit fill color.
5769
+ * Gets the border width of the node group.
5762
5770
  * @i2since 1.8
5763
5771
  */
5764
- readonly fillColor: IElementSetting<string | undefined>;
5772
+ readonly borderWidth: IElementSetting<number | undefined>;
5765
5773
  }
5766
5774
  }
5767
5775
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.8.0-dev.4",
3
+ "version": "1.8.0-dev.6",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {