@i2analyze/notebook-sdk 1.10.0-dev.23 → 1.10.0-dev.25

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.
@@ -3692,6 +3692,12 @@ export declare namespace commands {
3692
3692
  * @i2since 1.3
3693
3693
  */
3694
3694
  readonly exportPdf: CommandId;
3695
+ /**
3696
+ * Gets the identifier of the system command that matches the current selection against the
3697
+ * Information Store and unites any matching records.
3698
+ * @i2since 1.10
3699
+ */
3700
+ readonly getMatches: CommandId;
3695
3701
  /**
3696
3702
  * Gets the identifier of the "Get paths" system command.
3697
3703
  * @i2since 1.0
@@ -5026,9 +5032,9 @@ export declare namespace dialog {
5026
5032
  * Explicit dimensions for a dialog window, as CSS length strings.
5027
5033
  *
5028
5034
  * @remarks
5029
- * Each axis is independent and is clamped to the `'large'` size (approximately the size of the
5030
- * viewport): a larger value is reduced to it. An omitted axis uses the `'medium'` size for that
5031
- * axis; it does not size the dialog to fit its content.
5035
+ * Both axes are required. Each axis is independent and is clamped to the `'large'` size
5036
+ * (approximately the size of the viewport): a larger value is reduced to it. To size the dialog's
5037
+ * height to fit its content, use {@link dialog.IDialogAutoHeightSize} instead.
5032
5038
  *
5033
5039
  * Each value must be an unsigned number followed by one of the units `px`, `rem`, `em`, `vh`,
5034
5040
  * `vw`, or `%` (for example, `'600px'`, `'40rem'`, or `'75%'`).
@@ -5036,15 +5042,42 @@ export declare namespace dialog {
5036
5042
  */
5037
5043
  export interface IDialogDimensions {
5038
5044
  /**
5039
- * Gets the width of the dialog. Omit to use the `'medium'` width. Clamped to the `'large'` size.
5045
+ * Gets the width of the dialog. Clamped to the `'large'` size.
5046
+ * @i2since 1.10
5047
+ */
5048
+ readonly width: string;
5049
+ /**
5050
+ * Gets the height of the dialog. Clamped to the `'large'` size.
5051
+ * @i2since 1.10
5052
+ */
5053
+ readonly height: string;
5054
+ }
5055
+ /**
5056
+ * A size for a dialog window that has a preset width and a height that fits its content.
5057
+ *
5058
+ * @remarks
5059
+ * The dialog's height follows the height of the content that it hosts, and changes as the content
5060
+ * changes. The height is at least a small minimum, and at most the `'large'` size (approximately
5061
+ * the size of the viewport); content that is taller than that scrolls.
5062
+ *
5063
+ * Either the dialog determines the size of the content, as with a preset or explicit dimensions,
5064
+ * or the content determines the size of the dialog, as it does here. The content must therefore
5065
+ * determine its own height. Content whose height depends on the height of the dialog, such as a
5066
+ * root element with `height: 100%` or a height in `vh` units, keeps the dialog at its current
5067
+ * height.
5068
+ * @i2since 1.10
5069
+ */
5070
+ export interface IDialogAutoHeightSize {
5071
+ /**
5072
+ * Gets the preset that sets the width of the dialog.
5040
5073
  * @i2since 1.10
5041
5074
  */
5042
- readonly width?: string;
5075
+ readonly width: DialogSize;
5043
5076
  /**
5044
- * Gets the height of the dialog. Omit to use the `'medium'` height. Clamped to the `'large'` size.
5077
+ * Gets the value that makes the height of the dialog fit its content.
5045
5078
  * @i2since 1.10
5046
5079
  */
5047
- readonly height?: string;
5080
+ readonly height: 'auto';
5048
5081
  }
5049
5082
  /**
5050
5083
  * An identifier of a dialog action.
@@ -5099,14 +5132,15 @@ export declare namespace dialog {
5099
5132
  */
5100
5133
  readonly path: string;
5101
5134
  /**
5102
- * Gets the size of the dialog, either as a named preset or as explicit dimensions.
5135
+ * Gets the size of the dialog, as a named preset, as a preset width with a height that fits the
5136
+ * content, or as explicit dimensions.
5103
5137
  *
5104
5138
  * @remarks
5105
- * Explicit {@link dialog.IDialogDimensions | dimensions} and the `'xmedium'` preset require
5106
- * version 1.10 or later.
5139
+ * The `'xmedium'` preset, {@link dialog.IDialogAutoHeightSize | auto-height sizes}, and explicit
5140
+ * {@link dialog.IDialogDimensions | dimensions} require version 1.10 or later.
5107
5141
  * @i2since 1.4
5108
5142
  */
5109
- readonly size: DialogSize | IDialogDimensions;
5143
+ readonly size: DialogSize | IDialogAutoHeightSize | IDialogDimensions;
5110
5144
  /**
5111
5145
  * Gets the data for populating the dialog when it's first displayed.
5112
5146
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.10.0-dev.23",
3
+ "version": "1.10.0-dev.25",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {