@workday/canvas-kit-react 8.6.13 → 8.6.14
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/dist/commonjs/modal/lib/Modal.d.ts +17 -102
- package/dist/commonjs/modal/lib/Modal.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popup.d.ts +0 -80
- package/dist/commonjs/popup/lib/Popup.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.js +2 -2
- package/dist/commonjs/popup/lib/hooks/usePopupModel.d.ts +5 -17
- package/dist/commonjs/popup/lib/hooks/usePopupModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +2 -6
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/modal/lib/Modal.d.ts +17 -102
- package/dist/es6/modal/lib/Modal.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popup.d.ts +0 -80
- package/dist/es6/popup/lib/Popup.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.js +1 -1
- package/dist/es6/popup/lib/hooks/usePopupModel.d.ts +5 -17
- package/dist/es6/popup/lib/hooks/usePopupModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +2 -6
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/package.json +3 -3
- package/popup/lib/hooks/useCloseOnTargetHidden.ts +1 -1
- package/popup/lib/hooks/usePopupModel.ts +1 -1
|
@@ -17,12 +17,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
17
17
|
}, prevState: {
|
|
18
18
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
19
19
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
20
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
21
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
22
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
23
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
24
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
25
|
-
*/
|
|
20
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
26
21
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
27
22
|
placement: import("@popperjs/core").Placement;
|
|
28
23
|
id: string;
|
|
@@ -31,12 +26,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
31
26
|
onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
32
27
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
33
28
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
34
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
35
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
36
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
37
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
38
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
39
|
-
*/
|
|
29
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
40
30
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
41
31
|
placement: import("@popperjs/core").Placement;
|
|
42
32
|
id: string;
|
|
@@ -45,12 +35,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
45
35
|
onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
46
36
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
47
37
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
48
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
49
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
50
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
51
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
52
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
53
|
-
*/
|
|
38
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
54
39
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
55
40
|
placement: import("@popperjs/core").Placement;
|
|
56
41
|
id: string;
|
|
@@ -62,12 +47,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
62
47
|
}, state: {
|
|
63
48
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
64
49
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
65
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
66
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
67
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
68
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
69
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
70
|
-
*/
|
|
50
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
71
51
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
72
52
|
placement: import("@popperjs/core").Placement;
|
|
73
53
|
id: string;
|
|
@@ -76,12 +56,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
76
56
|
shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
77
57
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
78
58
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
79
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
80
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
81
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
82
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
83
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
84
|
-
*/
|
|
59
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
85
60
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
86
61
|
placement: import("@popperjs/core").Placement;
|
|
87
62
|
id: string;
|
|
@@ -90,12 +65,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
90
65
|
shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
91
66
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
92
67
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
93
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
94
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
95
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
96
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
97
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
98
|
-
*/
|
|
68
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
99
69
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
100
70
|
placement: import("@popperjs/core").Placement;
|
|
101
71
|
id: string;
|
|
@@ -105,12 +75,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
105
75
|
state: {
|
|
106
76
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
107
77
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
108
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
109
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
110
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
111
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
112
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
113
|
-
*/
|
|
78
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
114
79
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
115
80
|
placement: import("@popperjs/core").Placement;
|
|
116
81
|
id: string;
|
|
@@ -127,12 +92,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
127
92
|
state: {
|
|
128
93
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
129
94
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
130
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
131
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
132
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
133
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
134
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
135
|
-
*/
|
|
95
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
136
96
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
137
97
|
placement: import("@popperjs/core").Placement;
|
|
138
98
|
id: string;
|
|
@@ -161,12 +121,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
161
121
|
state: {
|
|
162
122
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
163
123
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
164
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
165
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
166
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
167
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
168
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
169
|
-
*/
|
|
124
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
170
125
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
171
126
|
placement: import("@popperjs/core").Placement;
|
|
172
127
|
id: string;
|
|
@@ -190,12 +145,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
190
145
|
state: {
|
|
191
146
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
192
147
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
193
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
194
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
195
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
196
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
197
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
198
|
-
*/
|
|
148
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
199
149
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
200
150
|
placement: import("@popperjs/core").Placement;
|
|
201
151
|
id: string;
|
|
@@ -220,12 +170,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
220
170
|
state: {
|
|
221
171
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
222
172
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
223
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
224
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
225
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
226
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
227
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
228
|
-
*/
|
|
173
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
229
174
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
230
175
|
placement: import("@popperjs/core").Placement;
|
|
231
176
|
id: string;
|
|
@@ -254,12 +199,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
254
199
|
state: {
|
|
255
200
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
256
201
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
257
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
258
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
259
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
260
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
261
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
262
|
-
*/
|
|
202
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
263
203
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
264
204
|
placement: import("@popperjs/core").Placement;
|
|
265
205
|
id: string;
|
|
@@ -284,12 +224,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
284
224
|
state: {
|
|
285
225
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
286
226
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
287
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
288
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
289
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
290
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
291
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
292
|
-
*/
|
|
227
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
293
228
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
294
229
|
placement: import("@popperjs/core").Placement;
|
|
295
230
|
id: string;
|
|
@@ -320,12 +255,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
320
255
|
state: {
|
|
321
256
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
322
257
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
323
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
324
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
325
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
326
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
327
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
328
|
-
*/
|
|
258
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
329
259
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
330
260
|
placement: import("@popperjs/core").Placement;
|
|
331
261
|
id: string;
|
|
@@ -343,12 +273,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
343
273
|
state: {
|
|
344
274
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
345
275
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
346
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
347
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
348
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
349
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
350
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
351
|
-
*/
|
|
276
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
352
277
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
353
278
|
placement: import("@popperjs/core").Placement;
|
|
354
279
|
id: string;
|
|
@@ -375,12 +300,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
375
300
|
state: {
|
|
376
301
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
377
302
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
378
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
379
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
380
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
381
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
382
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
383
|
-
*/
|
|
303
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
384
304
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
385
305
|
placement: import("@popperjs/core").Placement;
|
|
386
306
|
id: string;
|
|
@@ -397,12 +317,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
397
317
|
state: {
|
|
398
318
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
399
319
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
400
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
401
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
402
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
403
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
404
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
405
|
-
*/
|
|
320
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
406
321
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
407
322
|
placement: import("@popperjs/core").Placement;
|
|
408
323
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../modal/lib/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;GAMG;AACH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../modal/lib/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;GAMG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAId;;;;;;;;;;OAUG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;OAUG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;OAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;;;;;OAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -98,16 +98,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
98
98
|
visibility: "hidden" | "visible";
|
|
99
99
|
};
|
|
100
100
|
events: {
|
|
101
|
-
/**
|
|
102
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
103
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
104
|
-
*
|
|
105
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
106
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
107
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
108
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
109
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
110
|
-
*/
|
|
111
101
|
updatePlacement(data: {
|
|
112
102
|
placement: import("@popperjs/core").Placement;
|
|
113
103
|
}): void;
|
|
@@ -155,16 +145,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
155
145
|
visibility: "hidden" | "visible";
|
|
156
146
|
};
|
|
157
147
|
events: {
|
|
158
|
-
/**
|
|
159
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
160
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
161
|
-
*
|
|
162
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
163
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
164
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
165
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
166
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
167
|
-
*/
|
|
168
148
|
updatePlacement(data: {
|
|
169
149
|
placement: import("@popperjs/core").Placement;
|
|
170
150
|
}): void;
|
|
@@ -193,16 +173,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
193
173
|
visibility: "hidden" | "visible";
|
|
194
174
|
};
|
|
195
175
|
events: {
|
|
196
|
-
/**
|
|
197
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
198
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
199
|
-
*
|
|
200
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
201
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
202
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
203
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
204
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
205
|
-
*/
|
|
206
176
|
updatePlacement(data: {
|
|
207
177
|
placement: import("@popperjs/core").Placement;
|
|
208
178
|
}): void;
|
|
@@ -226,16 +196,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
226
196
|
visibility: "hidden" | "visible";
|
|
227
197
|
};
|
|
228
198
|
events: {
|
|
229
|
-
/**
|
|
230
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
231
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
232
|
-
*
|
|
233
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
234
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
235
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
236
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
237
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
238
|
-
*/
|
|
239
199
|
updatePlacement(data: {
|
|
240
200
|
placement: import("@popperjs/core").Placement;
|
|
241
201
|
}): void;
|
|
@@ -258,16 +218,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
258
218
|
visibility: "hidden" | "visible";
|
|
259
219
|
};
|
|
260
220
|
events: {
|
|
261
|
-
/**
|
|
262
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
263
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
264
|
-
*
|
|
265
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
266
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
267
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
268
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
269
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
270
|
-
*/
|
|
271
221
|
updatePlacement(data: {
|
|
272
222
|
placement: import("@popperjs/core").Placement;
|
|
273
223
|
}): void;
|
|
@@ -292,16 +242,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
292
242
|
visibility: "hidden" | "visible";
|
|
293
243
|
};
|
|
294
244
|
events: {
|
|
295
|
-
/**
|
|
296
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
297
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
298
|
-
*
|
|
299
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
300
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
301
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
302
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
303
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
304
|
-
*/
|
|
305
245
|
updatePlacement(data: {
|
|
306
246
|
placement: import("@popperjs/core").Placement;
|
|
307
247
|
}): void;
|
|
@@ -324,16 +264,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
324
264
|
visibility: "hidden" | "visible";
|
|
325
265
|
};
|
|
326
266
|
events: {
|
|
327
|
-
/**
|
|
328
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
329
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
330
|
-
*
|
|
331
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
332
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
333
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
334
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
335
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
336
|
-
*/
|
|
337
267
|
updatePlacement(data: {
|
|
338
268
|
placement: import("@popperjs/core").Placement;
|
|
339
269
|
}): void;
|
|
@@ -358,16 +288,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
358
288
|
visibility: "hidden" | "visible";
|
|
359
289
|
};
|
|
360
290
|
events: {
|
|
361
|
-
/**
|
|
362
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
363
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
364
|
-
*
|
|
365
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
366
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
367
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
368
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
369
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
370
|
-
*/
|
|
371
291
|
updatePlacement(data: {
|
|
372
292
|
placement: import("@popperjs/core").Placement;
|
|
373
293
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../popup/lib/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../popup/lib/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAId;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.useCloseOnTargetHidden = void 0;
|
|
7
7
|
var react_1 = __importDefault(require("react"));
|
|
8
8
|
var common_1 = require("@workday/canvas-kit-react/common");
|
|
9
|
-
var
|
|
9
|
+
var usePopupModel_1 = require("./usePopupModel");
|
|
10
10
|
function getScrollParent(element) {
|
|
11
11
|
if (element === document.body || !element.parentElement) {
|
|
12
12
|
return element;
|
|
@@ -29,7 +29,7 @@ function getScrollParent(element) {
|
|
|
29
29
|
*
|
|
30
30
|
* This should be used with popup elements that are transitory like Tooltips and dropdown menus.
|
|
31
31
|
*/
|
|
32
|
-
exports.useCloseOnTargetHidden = common_1.createElemPropsHook(
|
|
32
|
+
exports.useCloseOnTargetHidden = common_1.createElemPropsHook(usePopupModel_1.usePopupModel)(function (model) {
|
|
33
33
|
var visible = model.state.visibility !== 'hidden';
|
|
34
34
|
var callback = react_1.default.useCallback(function (entries) {
|
|
35
35
|
if (entries[0].intersectionRatio < 0.5) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Placement } from '
|
|
2
|
+
import { Placement } from '../Popper';
|
|
3
3
|
export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
4
4
|
/**
|
|
5
5
|
* Optional reference to an element that should receive focus when a popup is hidden. If left
|
|
@@ -239,10 +239,7 @@ export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
239
239
|
placement: Placement;
|
|
240
240
|
}): void;
|
|
241
241
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
242
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
243
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
244
|
-
* Popup and is used in Popup-related behaviors.
|
|
245
|
-
*/
|
|
242
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
246
243
|
};
|
|
247
244
|
}) & import("@workday/canvas-kit-react/common").ModelExtras<{
|
|
248
245
|
/**
|
|
@@ -295,10 +292,7 @@ export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
295
292
|
placement: Placement;
|
|
296
293
|
}): void;
|
|
297
294
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
298
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
299
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
300
|
-
* Popup and is used in Popup-related behaviors.
|
|
301
|
-
*/
|
|
295
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
302
296
|
}, {
|
|
303
297
|
state: {
|
|
304
298
|
/**
|
|
@@ -339,10 +333,7 @@ export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
339
333
|
placement: Placement;
|
|
340
334
|
}): void;
|
|
341
335
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
342
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
343
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
344
|
-
* Popup and is used in Popup-related behaviors.
|
|
345
|
-
*/
|
|
336
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
346
337
|
};
|
|
347
338
|
}>;
|
|
348
339
|
export declare const PopupModelContext: React.Context<{
|
|
@@ -385,10 +376,7 @@ export declare const PopupModelContext: React.Context<{
|
|
|
385
376
|
placement: Placement;
|
|
386
377
|
}): void;
|
|
387
378
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
388
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
389
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
390
|
-
* Popup and is used in Popup-related behaviors.
|
|
391
|
-
*/
|
|
379
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
392
380
|
};
|
|
393
381
|
}>;
|
|
394
382
|
//# sourceMappingURL=usePopupModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePopupModel.d.ts","sourceRoot":"","sources":["../../../../../popup/lib/hooks/usePopupModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"usePopupModel.d.ts","sourceRoot":"","sources":["../../../../../popup/lib/hooks/usePopupModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,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9 +3216,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3216
3216
|
events: {
|
|
3217
3217
|
updatePlacement(data: {
|
|
3218
3218
|
placement: import("@popperjs/core").Placement;
|
|
3219
|
-
}): void;
|
|
3220
|
-
* A list of panels. Uses `ListModel`
|
|
3221
|
-
*/
|
|
3219
|
+
}): void;
|
|
3222
3220
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
3223
3221
|
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
3224
3222
|
select(data: {
|
|
@@ -4694,9 +4692,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4694
4692
|
events: {
|
|
4695
4693
|
updatePlacement(data: {
|
|
4696
4694
|
placement: import("@popperjs/core").Placement;
|
|
4697
|
-
}): void;
|
|
4698
|
-
* A list of panels. Uses `ListModel`
|
|
4699
|
-
*/
|
|
4695
|
+
}): void;
|
|
4700
4696
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
4701
4697
|
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
4702
4698
|
select(data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTabsModel.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/useTabsModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY;IAGrB;;;;;OAKG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;sCA0CH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;IAYH;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA1BH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;QAYH;;WAEG;;;;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BL,CAAC"}
|
|
@@ -17,12 +17,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
17
17
|
}, prevState: {
|
|
18
18
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
19
19
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
20
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
21
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
22
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
23
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
24
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
25
|
-
*/
|
|
20
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
26
21
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
27
22
|
placement: import("@popperjs/core").Placement;
|
|
28
23
|
id: string;
|
|
@@ -31,12 +26,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
31
26
|
onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
32
27
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
33
28
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
34
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
35
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
36
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
37
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
38
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
39
|
-
*/
|
|
29
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
40
30
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
41
31
|
placement: import("@popperjs/core").Placement;
|
|
42
32
|
id: string;
|
|
@@ -45,12 +35,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
45
35
|
onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
46
36
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
47
37
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
48
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
49
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
50
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
51
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
52
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
53
|
-
*/
|
|
38
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
54
39
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
55
40
|
placement: import("@popperjs/core").Placement;
|
|
56
41
|
id: string;
|
|
@@ -62,12 +47,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
62
47
|
}, state: {
|
|
63
48
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
64
49
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
65
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
66
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
67
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
68
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
69
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
70
|
-
*/
|
|
50
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
71
51
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
72
52
|
placement: import("@popperjs/core").Placement;
|
|
73
53
|
id: string;
|
|
@@ -76,12 +56,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
76
56
|
shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
77
57
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
78
58
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
79
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
80
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
81
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
82
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
83
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
84
|
-
*/
|
|
59
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
85
60
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
86
61
|
placement: import("@popperjs/core").Placement;
|
|
87
62
|
id: string;
|
|
@@ -90,12 +65,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
90
65
|
shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
91
66
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
92
67
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
93
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
94
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
95
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
96
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
97
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
98
|
-
*/
|
|
68
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
99
69
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
100
70
|
placement: import("@popperjs/core").Placement;
|
|
101
71
|
id: string;
|
|
@@ -105,12 +75,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
105
75
|
state: {
|
|
106
76
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
107
77
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
108
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
109
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
110
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
111
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
112
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
113
|
-
*/
|
|
78
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
114
79
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
115
80
|
placement: import("@popperjs/core").Placement;
|
|
116
81
|
id: string;
|
|
@@ -127,12 +92,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
127
92
|
state: {
|
|
128
93
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
129
94
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
130
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
131
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
132
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
133
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
134
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
135
|
-
*/
|
|
95
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
136
96
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
137
97
|
placement: import("@popperjs/core").Placement;
|
|
138
98
|
id: string;
|
|
@@ -161,12 +121,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
161
121
|
state: {
|
|
162
122
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
163
123
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
164
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
165
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
166
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
167
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
168
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
169
|
-
*/
|
|
124
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
170
125
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
171
126
|
placement: import("@popperjs/core").Placement;
|
|
172
127
|
id: string;
|
|
@@ -190,12 +145,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
190
145
|
state: {
|
|
191
146
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
192
147
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
193
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
194
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
195
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
196
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
197
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
198
|
-
*/
|
|
148
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
199
149
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
200
150
|
placement: import("@popperjs/core").Placement;
|
|
201
151
|
id: string;
|
|
@@ -220,12 +170,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
220
170
|
state: {
|
|
221
171
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
222
172
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
223
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
224
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
225
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
226
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
227
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
228
|
-
*/
|
|
173
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
229
174
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
230
175
|
placement: import("@popperjs/core").Placement;
|
|
231
176
|
id: string;
|
|
@@ -254,12 +199,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
254
199
|
state: {
|
|
255
200
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
256
201
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
257
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
258
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
259
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
260
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
261
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
262
|
-
*/
|
|
202
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
263
203
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
264
204
|
placement: import("@popperjs/core").Placement;
|
|
265
205
|
id: string;
|
|
@@ -284,12 +224,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
284
224
|
state: {
|
|
285
225
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
286
226
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
287
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
288
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
289
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
290
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
291
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
292
|
-
*/
|
|
227
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
293
228
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
294
229
|
placement: import("@popperjs/core").Placement;
|
|
295
230
|
id: string;
|
|
@@ -320,12 +255,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
320
255
|
state: {
|
|
321
256
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
322
257
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
323
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
324
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
325
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
326
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
327
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
328
|
-
*/
|
|
258
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
329
259
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
330
260
|
placement: import("@popperjs/core").Placement;
|
|
331
261
|
id: string;
|
|
@@ -343,12 +273,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
343
273
|
state: {
|
|
344
274
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
345
275
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
346
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
347
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
348
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
349
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
350
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
351
|
-
*/
|
|
276
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
352
277
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
353
278
|
placement: import("@popperjs/core").Placement;
|
|
354
279
|
id: string;
|
|
@@ -375,12 +300,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
375
300
|
state: {
|
|
376
301
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
377
302
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
378
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
379
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
380
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
381
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
382
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
383
|
-
*/
|
|
303
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
384
304
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
385
305
|
placement: import("@popperjs/core").Placement;
|
|
386
306
|
id: string;
|
|
@@ -397,12 +317,7 @@ export declare const Modal: import("@workday/canvas-kit-react/common").Component
|
|
|
397
317
|
state: {
|
|
398
318
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
399
319
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
400
|
-
initialFocusRef: React.RefObject<any> | undefined;
|
|
401
|
-
* The `Modal.Overlay` is the component that hooks a Modal up to the {@link PopupStack} as well
|
|
402
|
-
* as the semi-transparent overlay commonly used with modals. Internally, the `Modal.Overlay`
|
|
403
|
-
* component uses two `div` elements to ensure proper rendering of the `Modal` content. The
|
|
404
|
-
* default element is a `div` element and can be changed via the `as` prop.
|
|
405
|
-
*/
|
|
320
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
406
321
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
407
322
|
placement: import("@popperjs/core").Placement;
|
|
408
323
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../modal/lib/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;GAMG;AACH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../modal/lib/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B;;;;;;GAMG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAId;;;;;;;;;;OAUG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;OAUG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;;;;OAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;;;;;OAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -98,16 +98,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
98
98
|
visibility: "hidden" | "visible";
|
|
99
99
|
};
|
|
100
100
|
events: {
|
|
101
|
-
/**
|
|
102
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
103
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
104
|
-
*
|
|
105
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
106
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
107
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
108
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
109
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
110
|
-
*/
|
|
111
101
|
updatePlacement(data: {
|
|
112
102
|
placement: import("@popperjs/core").Placement;
|
|
113
103
|
}): void;
|
|
@@ -155,16 +145,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
155
145
|
visibility: "hidden" | "visible";
|
|
156
146
|
};
|
|
157
147
|
events: {
|
|
158
|
-
/**
|
|
159
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
160
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
161
|
-
*
|
|
162
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
163
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
164
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
165
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
166
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
167
|
-
*/
|
|
168
148
|
updatePlacement(data: {
|
|
169
149
|
placement: import("@popperjs/core").Placement;
|
|
170
150
|
}): void;
|
|
@@ -193,16 +173,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
193
173
|
visibility: "hidden" | "visible";
|
|
194
174
|
};
|
|
195
175
|
events: {
|
|
196
|
-
/**
|
|
197
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
198
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
199
|
-
*
|
|
200
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
201
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
202
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
203
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
204
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
205
|
-
*/
|
|
206
176
|
updatePlacement(data: {
|
|
207
177
|
placement: import("@popperjs/core").Placement;
|
|
208
178
|
}): void;
|
|
@@ -226,16 +196,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
226
196
|
visibility: "hidden" | "visible";
|
|
227
197
|
};
|
|
228
198
|
events: {
|
|
229
|
-
/**
|
|
230
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
231
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
232
|
-
*
|
|
233
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
234
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
235
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
236
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
237
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
238
|
-
*/
|
|
239
199
|
updatePlacement(data: {
|
|
240
200
|
placement: import("@popperjs/core").Placement;
|
|
241
201
|
}): void;
|
|
@@ -258,16 +218,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
258
218
|
visibility: "hidden" | "visible";
|
|
259
219
|
};
|
|
260
220
|
events: {
|
|
261
|
-
/**
|
|
262
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
263
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
264
|
-
*
|
|
265
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
266
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
267
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
268
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
269
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
270
|
-
*/
|
|
271
221
|
updatePlacement(data: {
|
|
272
222
|
placement: import("@popperjs/core").Placement;
|
|
273
223
|
}): void;
|
|
@@ -292,16 +242,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
292
242
|
visibility: "hidden" | "visible";
|
|
293
243
|
};
|
|
294
244
|
events: {
|
|
295
|
-
/**
|
|
296
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
297
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
298
|
-
*
|
|
299
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
300
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
301
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
302
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
303
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
304
|
-
*/
|
|
305
245
|
updatePlacement(data: {
|
|
306
246
|
placement: import("@popperjs/core").Placement;
|
|
307
247
|
}): void;
|
|
@@ -324,16 +264,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
324
264
|
visibility: "hidden" | "visible";
|
|
325
265
|
};
|
|
326
266
|
events: {
|
|
327
|
-
/**
|
|
328
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
329
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
330
|
-
*
|
|
331
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
332
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
333
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
334
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
335
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
336
|
-
*/
|
|
337
267
|
updatePlacement(data: {
|
|
338
268
|
placement: import("@popperjs/core").Placement;
|
|
339
269
|
}): void;
|
|
@@ -358,16 +288,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
358
288
|
visibility: "hidden" | "visible";
|
|
359
289
|
};
|
|
360
290
|
events: {
|
|
361
|
-
/**
|
|
362
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
363
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
364
|
-
*
|
|
365
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
366
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
367
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
368
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
369
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
370
|
-
*/
|
|
371
291
|
updatePlacement(data: {
|
|
372
292
|
placement: import("@popperjs/core").Placement;
|
|
373
293
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../popup/lib/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../popup/lib/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAId;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createElemPropsHook } from '@workday/canvas-kit-react/common';
|
|
3
|
-
import { usePopupModel } from '
|
|
3
|
+
import { usePopupModel } from './usePopupModel';
|
|
4
4
|
function getScrollParent(element) {
|
|
5
5
|
if (element === document.body || !element.parentElement) {
|
|
6
6
|
return element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Placement } from '
|
|
2
|
+
import { Placement } from '../Popper';
|
|
3
3
|
export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
4
4
|
/**
|
|
5
5
|
* Optional reference to an element that should receive focus when a popup is hidden. If left
|
|
@@ -239,10 +239,7 @@ export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
239
239
|
placement: Placement;
|
|
240
240
|
}): void;
|
|
241
241
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
242
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
243
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
244
|
-
* Popup and is used in Popup-related behaviors.
|
|
245
|
-
*/
|
|
242
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
246
243
|
};
|
|
247
244
|
}) & import("@workday/canvas-kit-react/common").ModelExtras<{
|
|
248
245
|
/**
|
|
@@ -295,10 +292,7 @@ export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
295
292
|
placement: Placement;
|
|
296
293
|
}): void;
|
|
297
294
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
298
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
299
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
300
|
-
* Popup and is used in Popup-related behaviors.
|
|
301
|
-
*/
|
|
295
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
302
296
|
}, {
|
|
303
297
|
state: {
|
|
304
298
|
/**
|
|
@@ -339,10 +333,7 @@ export declare const usePopupModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
339
333
|
placement: Placement;
|
|
340
334
|
}): void;
|
|
341
335
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
342
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
343
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
344
|
-
* Popup and is used in Popup-related behaviors.
|
|
345
|
-
*/
|
|
336
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
346
337
|
};
|
|
347
338
|
}>;
|
|
348
339
|
export declare const PopupModelContext: React.Context<{
|
|
@@ -385,10 +376,7 @@ export declare const PopupModelContext: React.Context<{
|
|
|
385
376
|
placement: Placement;
|
|
386
377
|
}): void;
|
|
387
378
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
388
|
-
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
389
|
-
* Reference of the target element. This will point to the element that triggered the showing of a
|
|
390
|
-
* Popup and is used in Popup-related behaviors.
|
|
391
|
-
*/
|
|
379
|
+
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
392
380
|
};
|
|
393
381
|
}>;
|
|
394
382
|
//# sourceMappingURL=usePopupModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePopupModel.d.ts","sourceRoot":"","sources":["../../../../../popup/lib/hooks/usePopupModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,K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H;;;WAGG;;uBAC+B,SAAS;;;;;EAS7C,CAAC;AAGH,eAAO,MAAM,iBAAiB;;QA9C1B;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;;WAIG;;;;;;QAMH;;;WAGG;;uBAC+B,SAAS;;;;;EAYO,CAAC"}
|
|
@@ -3216,9 +3216,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3216
3216
|
events: {
|
|
3217
3217
|
updatePlacement(data: {
|
|
3218
3218
|
placement: import("@popperjs/core").Placement;
|
|
3219
|
-
}): void;
|
|
3220
|
-
* A list of panels. Uses `ListModel`
|
|
3221
|
-
*/
|
|
3219
|
+
}): void;
|
|
3222
3220
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
3223
3221
|
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
3224
3222
|
select(data: {
|
|
@@ -4694,9 +4692,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4694
4692
|
events: {
|
|
4695
4693
|
updatePlacement(data: {
|
|
4696
4694
|
placement: import("@popperjs/core").Placement;
|
|
4697
|
-
}): void;
|
|
4698
|
-
* A list of panels. Uses `ListModel`
|
|
4699
|
-
*/
|
|
4695
|
+
}): void;
|
|
4700
4696
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
4701
4697
|
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
4702
4698
|
select(data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTabsModel.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/useTabsModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY;IAGrB;;;;;OAKG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;sCA0C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAJH;;;;OAIG;;;;;;;;;IARH;;OAEG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;IAYH;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA1BH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;QAYH;;WAEG;;;;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.14",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit React components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@emotion/styled": "^11.6.0",
|
|
50
50
|
"@popperjs/core": "^2.5.4",
|
|
51
51
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
52
|
-
"@workday/canvas-kit-popup-stack": "^8.6.
|
|
52
|
+
"@workday/canvas-kit-popup-stack": "^8.6.14",
|
|
53
53
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
54
54
|
"@workday/design-assets-types": "^0.2.8",
|
|
55
55
|
"chroma-js": "^2.1.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
68
68
|
"@workday/canvas-applet-icons-web": "^2.0.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "2f6bc91afdde4a7c83dd077f0b3dc1390ef88799"
|
|
71
71
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
import {createElemPropsHook} from '@workday/canvas-kit-react/common';
|
|
4
|
-
import {usePopupModel} from '
|
|
4
|
+
import {usePopupModel} from './usePopupModel';
|
|
5
5
|
|
|
6
6
|
function getScrollParent(element: HTMLElement): HTMLElement {
|
|
7
7
|
if (element === document.body || !element.parentElement) {
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import {createModelHook} from '@workday/canvas-kit-react/common';
|
|
3
3
|
|
|
4
4
|
import {useDisclosureModel} from '@workday/canvas-kit-react/disclosure';
|
|
5
|
-
import {Placement} from '
|
|
5
|
+
import {Placement} from '../Popper';
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line no-empty-function
|
|
8
8
|
const noop = () => {};
|