@progress/kendo-react-popup 12.0.1 → 12.0.2-develop.2
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/index.d.mts +11 -3
- package/index.d.ts +11 -3
- package/package.json +2 -2
package/index.d.mts
CHANGED
|
@@ -176,6 +176,8 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
176
176
|
/**
|
|
177
177
|
* Controls the Popup animation ([see example]({% slug animations_popup %})). By default, the opening and closing animations are enabled.
|
|
178
178
|
*
|
|
179
|
+
* @default true
|
|
180
|
+
*
|
|
179
181
|
* @example
|
|
180
182
|
* ```jsx
|
|
181
183
|
* <Popup animate={false} />
|
|
@@ -195,6 +197,8 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
195
197
|
* Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
|
|
196
198
|
* * If set to `null` the Popup will be rendered without React Portal.
|
|
197
199
|
*
|
|
200
|
+
* @default document.body
|
|
201
|
+
*
|
|
198
202
|
* @example
|
|
199
203
|
* ```jsx
|
|
200
204
|
* <Popup appendTo={document.getElementById('container')} />
|
|
@@ -230,12 +234,14 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
230
234
|
*/
|
|
231
235
|
margin?: Margin;
|
|
232
236
|
/**
|
|
233
|
-
* Specifies the position mode of the component. By default, the Popup uses
|
|
234
|
-
* To make the Popup acquire
|
|
237
|
+
* Specifies the position mode of the component. By default, the Popup uses absolute positioning.
|
|
238
|
+
* To make the Popup acquire fixed positioning, set this option to `fixed`.
|
|
239
|
+
*
|
|
240
|
+
* @default "absolute"
|
|
235
241
|
*
|
|
236
242
|
* @example
|
|
237
243
|
* ```jsx
|
|
238
|
-
* <Popup positionMode="
|
|
244
|
+
* <Popup positionMode="fixed" />
|
|
239
245
|
* ```
|
|
240
246
|
*/
|
|
241
247
|
positionMode?: PositionMode;
|
|
@@ -347,6 +353,8 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
347
353
|
/**
|
|
348
354
|
* Controls the Popup visibility ([see example]({% slug hidden_popup %})). Defaults to `false`.
|
|
349
355
|
*
|
|
356
|
+
* @default false
|
|
357
|
+
*
|
|
350
358
|
* @example
|
|
351
359
|
* ```jsx
|
|
352
360
|
* <Popup show={true} />
|
package/index.d.ts
CHANGED
|
@@ -176,6 +176,8 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
176
176
|
/**
|
|
177
177
|
* Controls the Popup animation ([see example]({% slug animations_popup %})). By default, the opening and closing animations are enabled.
|
|
178
178
|
*
|
|
179
|
+
* @default true
|
|
180
|
+
*
|
|
179
181
|
* @example
|
|
180
182
|
* ```jsx
|
|
181
183
|
* <Popup animate={false} />
|
|
@@ -195,6 +197,8 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
195
197
|
* Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
|
|
196
198
|
* * If set to `null` the Popup will be rendered without React Portal.
|
|
197
199
|
*
|
|
200
|
+
* @default document.body
|
|
201
|
+
*
|
|
198
202
|
* @example
|
|
199
203
|
* ```jsx
|
|
200
204
|
* <Popup appendTo={document.getElementById('container')} />
|
|
@@ -230,12 +234,14 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
230
234
|
*/
|
|
231
235
|
margin?: Margin;
|
|
232
236
|
/**
|
|
233
|
-
* Specifies the position mode of the component. By default, the Popup uses
|
|
234
|
-
* To make the Popup acquire
|
|
237
|
+
* Specifies the position mode of the component. By default, the Popup uses absolute positioning.
|
|
238
|
+
* To make the Popup acquire fixed positioning, set this option to `fixed`.
|
|
239
|
+
*
|
|
240
|
+
* @default "absolute"
|
|
235
241
|
*
|
|
236
242
|
* @example
|
|
237
243
|
* ```jsx
|
|
238
|
-
* <Popup positionMode="
|
|
244
|
+
* <Popup positionMode="fixed" />
|
|
239
245
|
* ```
|
|
240
246
|
*/
|
|
241
247
|
positionMode?: PositionMode;
|
|
@@ -347,6 +353,8 @@ export declare interface PopupProps extends PopupSettings {
|
|
|
347
353
|
/**
|
|
348
354
|
* Controls the Popup visibility ([see example]({% slug hidden_popup %})). Defaults to `false`.
|
|
349
355
|
*
|
|
356
|
+
* @default false
|
|
357
|
+
*
|
|
350
358
|
* @example
|
|
351
359
|
* ```jsx
|
|
352
360
|
* <Popup show={true} />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-popup",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2-develop.2",
|
|
4
4
|
"description": "React Popup positions a piece of content next to a specific anchor component. KendoReact Popup package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-licensing": "^1.7.0",
|
|
29
29
|
"@progress/kendo-popup-common": "^1.9.0",
|
|
30
|
-
"@progress/kendo-react-common": "12.0.
|
|
30
|
+
"@progress/kendo-react-common": "12.0.2-develop.2",
|
|
31
31
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
32
32
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
33
33
|
},
|