@i2analyze/notebook-sdk 1.10.0-dev.24 → 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.
- package/lib/gen/notebook-sdk-public.d.ts +39 -11
- package/package.json +1 -1
|
@@ -5032,9 +5032,9 @@ export declare namespace dialog {
|
|
|
5032
5032
|
* Explicit dimensions for a dialog window, as CSS length strings.
|
|
5033
5033
|
*
|
|
5034
5034
|
* @remarks
|
|
5035
|
-
* Each axis is independent and is clamped to the `'large'` size
|
|
5036
|
-
* viewport): a larger value is reduced to it.
|
|
5037
|
-
*
|
|
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.
|
|
5038
5038
|
*
|
|
5039
5039
|
* Each value must be an unsigned number followed by one of the units `px`, `rem`, `em`, `vh`,
|
|
5040
5040
|
* `vw`, or `%` (for example, `'600px'`, `'40rem'`, or `'75%'`).
|
|
@@ -5042,15 +5042,42 @@ export declare namespace dialog {
|
|
|
5042
5042
|
*/
|
|
5043
5043
|
export interface IDialogDimensions {
|
|
5044
5044
|
/**
|
|
5045
|
-
* Gets the width of the dialog.
|
|
5045
|
+
* Gets the width of the dialog. Clamped to the `'large'` size.
|
|
5046
5046
|
* @i2since 1.10
|
|
5047
5047
|
*/
|
|
5048
|
-
readonly width
|
|
5048
|
+
readonly width: string;
|
|
5049
5049
|
/**
|
|
5050
|
-
* Gets the height of the dialog.
|
|
5050
|
+
* Gets the height of the dialog. Clamped to the `'large'` size.
|
|
5051
5051
|
* @i2since 1.10
|
|
5052
5052
|
*/
|
|
5053
|
-
readonly height
|
|
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.
|
|
5073
|
+
* @i2since 1.10
|
|
5074
|
+
*/
|
|
5075
|
+
readonly width: DialogSize;
|
|
5076
|
+
/**
|
|
5077
|
+
* Gets the value that makes the height of the dialog fit its content.
|
|
5078
|
+
* @i2since 1.10
|
|
5079
|
+
*/
|
|
5080
|
+
readonly height: 'auto';
|
|
5054
5081
|
}
|
|
5055
5082
|
/**
|
|
5056
5083
|
* An identifier of a dialog action.
|
|
@@ -5105,14 +5132,15 @@ export declare namespace dialog {
|
|
|
5105
5132
|
*/
|
|
5106
5133
|
readonly path: string;
|
|
5107
5134
|
/**
|
|
5108
|
-
* Gets the size of the dialog,
|
|
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.
|
|
5109
5137
|
*
|
|
5110
5138
|
* @remarks
|
|
5111
|
-
*
|
|
5112
|
-
* 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.
|
|
5113
5141
|
* @i2since 1.4
|
|
5114
5142
|
*/
|
|
5115
|
-
readonly size: DialogSize | IDialogDimensions;
|
|
5143
|
+
readonly size: DialogSize | IDialogAutoHeightSize | IDialogDimensions;
|
|
5116
5144
|
/**
|
|
5117
5145
|
* Gets the data for populating the dialog when it's first displayed.
|
|
5118
5146
|
*
|