@purpurds/modal 3.0.0

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.
@@ -0,0 +1,478 @@
1
+ Name: @babel/runtime
2
+ Version: 7.23.5
3
+ License: MIT
4
+ Private: false
5
+ Description: babel's modular runtime helpers
6
+ Repository: https://github.com/babel/babel.git
7
+ Homepage: https://babel.dev/docs/en/next/babel-runtime
8
+ Author: The Babel Team (https://babel.dev/team)
9
+ License Copyright:
10
+ ===
11
+
12
+ MIT License
13
+
14
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
15
+
16
+ Permission is hereby granted, free of charge, to any person obtaining
17
+ a copy of this software and associated documentation files (the
18
+ "Software"), to deal in the Software without restriction, including
19
+ without limitation the rights to use, copy, modify, merge, publish,
20
+ distribute, sublicense, and/or sell copies of the Software, and to
21
+ permit persons to whom the Software is furnished to do so, subject to
22
+ the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be
25
+ included in all copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
29
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
30
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
31
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
32
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
33
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34
+
35
+
36
+ ---
37
+
38
+ Name: @radix-ui/primitive
39
+ Version: 1.0.1
40
+ License: MIT
41
+ Private: false
42
+ Repository: git+https://github.com/radix-ui/primitives.git
43
+ Homepage: https://radix-ui.com/primitives
44
+
45
+ ---
46
+
47
+ Name: @radix-ui/react-compose-refs
48
+ Version: 1.0.1
49
+ License: MIT
50
+ Private: false
51
+ Repository: git+https://github.com/radix-ui/primitives.git
52
+ Homepage: https://radix-ui.com/primitives
53
+
54
+ ---
55
+
56
+ Name: @radix-ui/react-context
57
+ Version: 1.0.1
58
+ License: MIT
59
+ Private: false
60
+ Repository: git+https://github.com/radix-ui/primitives.git
61
+ Homepage: https://radix-ui.com/primitives
62
+
63
+ ---
64
+
65
+ Name: @radix-ui/react-use-layout-effect
66
+ Version: 1.0.1
67
+ License: MIT
68
+ Private: false
69
+ Repository: git+https://github.com/radix-ui/primitives.git
70
+ Homepage: https://radix-ui.com/primitives
71
+
72
+ ---
73
+
74
+ Name: @radix-ui/react-id
75
+ Version: 1.0.1
76
+ License: MIT
77
+ Private: false
78
+ Repository: git+https://github.com/radix-ui/primitives.git
79
+ Homepage: https://radix-ui.com/primitives
80
+
81
+ ---
82
+
83
+ Name: @radix-ui/react-use-callback-ref
84
+ Version: 1.0.1
85
+ License: MIT
86
+ Private: false
87
+ Repository: git+https://github.com/radix-ui/primitives.git
88
+ Homepage: https://radix-ui.com/primitives
89
+
90
+ ---
91
+
92
+ Name: @radix-ui/react-use-controllable-state
93
+ Version: 1.0.1
94
+ License: MIT
95
+ Private: false
96
+ Repository: git+https://github.com/radix-ui/primitives.git
97
+ Homepage: https://radix-ui.com/primitives
98
+
99
+ ---
100
+
101
+ Name: @radix-ui/react-slot
102
+ Version: 1.0.2
103
+ License: MIT
104
+ Private: false
105
+ Repository: git+https://github.com/radix-ui/primitives.git
106
+ Homepage: https://radix-ui.com/primitives
107
+
108
+ ---
109
+
110
+ Name: @radix-ui/react-primitive
111
+ Version: 1.0.3
112
+ License: MIT
113
+ Private: false
114
+ Repository: git+https://github.com/radix-ui/primitives.git
115
+ Homepage: https://radix-ui.com/primitives
116
+
117
+ ---
118
+
119
+ Name: @radix-ui/react-use-escape-keydown
120
+ Version: 1.0.3
121
+ License: MIT
122
+ Private: false
123
+ Repository: git+https://github.com/radix-ui/primitives.git
124
+ Homepage: https://radix-ui.com/primitives
125
+
126
+ ---
127
+
128
+ Name: @radix-ui/react-dismissable-layer
129
+ Version: 1.0.5
130
+ License: MIT
131
+ Private: false
132
+ Repository: git+https://github.com/radix-ui/primitives.git
133
+ Homepage: https://radix-ui.com/primitives
134
+
135
+ ---
136
+
137
+ Name: @radix-ui/react-focus-scope
138
+ Version: 1.0.4
139
+ License: MIT
140
+ Private: false
141
+ Repository: git+https://github.com/radix-ui/primitives.git
142
+ Homepage: https://radix-ui.com/primitives
143
+
144
+ ---
145
+
146
+ Name: @radix-ui/react-portal
147
+ Version: 1.0.4
148
+ License: MIT
149
+ Private: false
150
+ Repository: git+https://github.com/radix-ui/primitives.git
151
+ Homepage: https://radix-ui.com/primitives
152
+
153
+ ---
154
+
155
+ Name: @radix-ui/react-presence
156
+ Version: 1.0.1
157
+ License: MIT
158
+ Private: false
159
+ Repository: git+https://github.com/radix-ui/primitives.git
160
+ Homepage: https://radix-ui.com/primitives
161
+
162
+ ---
163
+
164
+ Name: @radix-ui/react-focus-guards
165
+ Version: 1.0.1
166
+ License: MIT
167
+ Private: false
168
+ Repository: git+https://github.com/radix-ui/primitives.git
169
+ Homepage: https://radix-ui.com/primitives
170
+
171
+ ---
172
+
173
+ Name: tslib
174
+ Version: 2.6.2
175
+ License: 0BSD
176
+ Private: false
177
+ Description: Runtime library for TypeScript helper functions
178
+ Repository: https://github.com/Microsoft/tslib.git
179
+ Homepage: https://www.typescriptlang.org/
180
+ Author: Microsoft Corp.
181
+ License Copyright:
182
+ ===
183
+
184
+ Copyright (c) Microsoft Corporation.
185
+
186
+ Permission to use, copy, modify, and/or distribute this software for any
187
+ purpose with or without fee is hereby granted.
188
+
189
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
190
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
191
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
192
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
193
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
194
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
195
+ PERFORMANCE OF THIS SOFTWARE.
196
+
197
+ ---
198
+
199
+ Name: react-remove-scroll-bar
200
+ Version: 2.3.4
201
+ License: MIT
202
+ Private: false
203
+ Description: Removes body scroll without content _shake_
204
+ Repository: undefined
205
+ Author: Anton Korzunov <thekashey@gmail.com>
206
+
207
+ ---
208
+
209
+ Name: use-callback-ref
210
+ Version: 1.3.0
211
+ License: MIT
212
+ Private: false
213
+ Description: The same useRef, but with callback
214
+ Repository: undefined
215
+ Author: theKashey <thekashey@gmail.com>
216
+ License Copyright:
217
+ ===
218
+
219
+ MIT License
220
+
221
+ Copyright (c) 2017 Anton Korzunov
222
+
223
+ Permission is hereby granted, free of charge, to any person obtaining a copy
224
+ of this software and associated documentation files (the "Software"), to deal
225
+ in the Software without restriction, including without limitation the rights
226
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
227
+ copies of the Software, and to permit persons to whom the Software is
228
+ furnished to do so, subject to the following conditions:
229
+
230
+ The above copyright notice and this permission notice shall be included in all
231
+ copies or substantial portions of the Software.
232
+
233
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
234
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
235
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
236
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
237
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
238
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
239
+ SOFTWARE.
240
+
241
+
242
+ ---
243
+
244
+ Name: use-sidecar
245
+ Version: 1.1.2
246
+ License: MIT
247
+ Private: false
248
+ Description: Sidecar code splitting utils
249
+ Repository: https://github.com/theKashey/use-sidecar
250
+ Homepage: https://github.com/theKashey/use-sidecar
251
+ Author: theKashey <thekashey@gmail.com>
252
+ License Copyright:
253
+ ===
254
+
255
+ MIT License
256
+
257
+ Copyright (c) 2017 Anton Korzunov
258
+
259
+ Permission is hereby granted, free of charge, to any person obtaining a copy
260
+ of this software and associated documentation files (the "Software"), to deal
261
+ in the Software without restriction, including without limitation the rights
262
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
263
+ copies of the Software, and to permit persons to whom the Software is
264
+ furnished to do so, subject to the following conditions:
265
+
266
+ The above copyright notice and this permission notice shall be included in all
267
+ copies or substantial portions of the Software.
268
+
269
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
270
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
271
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
272
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
273
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
274
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
275
+ SOFTWARE.
276
+
277
+
278
+ ---
279
+
280
+ Name: react-remove-scroll
281
+ Version: 2.5.5
282
+ License: MIT
283
+ Private: false
284
+ Description: Disables scroll outside of `children` node.
285
+ Repository: undefined
286
+ Author: Anton Korzunov <thekashey@gmail.com>
287
+ License Copyright:
288
+ ===
289
+
290
+ MIT License
291
+
292
+ Copyright (c) 2017 Anton Korzunov
293
+
294
+ Permission is hereby granted, free of charge, to any person obtaining a copy
295
+ of this software and associated documentation files (the "Software"), to deal
296
+ in the Software without restriction, including without limitation the rights
297
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
298
+ copies of the Software, and to permit persons to whom the Software is
299
+ furnished to do so, subject to the following conditions:
300
+
301
+ The above copyright notice and this permission notice shall be included in all
302
+ copies or substantial portions of the Software.
303
+
304
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
305
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
306
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
307
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
308
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
309
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
310
+ SOFTWARE.
311
+
312
+
313
+ ---
314
+
315
+ Name: get-nonce
316
+ Version: 1.0.1
317
+ License: MIT
318
+ Private: false
319
+ Description: returns nonce
320
+ Repository: undefined
321
+ Homepage: https://github.com/theKashey/get-nonce
322
+ Author: Anton Korzunov <thekashey@gmail.com>
323
+ License Copyright:
324
+ ===
325
+
326
+ MIT License
327
+
328
+ Copyright (c) 2020 Anton Korzunov
329
+
330
+ Permission is hereby granted, free of charge, to any person obtaining a copy
331
+ of this software and associated documentation files (the "Software"), to deal
332
+ in the Software without restriction, including without limitation the rights
333
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
334
+ copies of the Software, and to permit persons to whom the Software is
335
+ furnished to do so, subject to the following conditions:
336
+
337
+ The above copyright notice and this permission notice shall be included in all
338
+ copies or substantial portions of the Software.
339
+
340
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
341
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
342
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
343
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
344
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
345
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
346
+ SOFTWARE.
347
+
348
+
349
+ ---
350
+
351
+ Name: react-style-singleton
352
+ Version: 2.2.1
353
+ License: MIT
354
+ Private: false
355
+ Description: Just create a single stylesheet...
356
+ Homepage: https://github.com/theKashey/react-style-singleton#readme
357
+ Author: Anton Korzunov (thekashey@gmail.com)
358
+
359
+ ---
360
+
361
+ Name: aria-hidden
362
+ Version: 1.2.3
363
+ License: MIT
364
+ Private: false
365
+ Description: Cast aria-hidden to everything, except...
366
+ Repository: git+https://github.com/theKashey/aria-hidden.git
367
+ Homepage: https://github.com/theKashey/aria-hidden#readme
368
+ Author: Anton Korzunov <thekashey@gmail.com>
369
+ License Copyright:
370
+ ===
371
+
372
+ MIT License
373
+
374
+ Copyright (c) 2017 Anton Korzunov
375
+
376
+ Permission is hereby granted, free of charge, to any person obtaining a copy
377
+ of this software and associated documentation files (the "Software"), to deal
378
+ in the Software without restriction, including without limitation the rights
379
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
380
+ copies of the Software, and to permit persons to whom the Software is
381
+ furnished to do so, subject to the following conditions:
382
+
383
+ The above copyright notice and this permission notice shall be included in all
384
+ copies or substantial portions of the Software.
385
+
386
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
387
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
388
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
389
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
390
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
391
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
392
+ SOFTWARE.
393
+
394
+
395
+ ---
396
+
397
+ Name: @radix-ui/react-dialog
398
+ Version: 1.0.5
399
+ License: MIT
400
+ Private: false
401
+ Repository: git+https://github.com/radix-ui/primitives.git
402
+ Homepage: https://radix-ui.com/primitives
403
+
404
+ ---
405
+
406
+ Name: @purpurds/button
407
+ Version: 2.8.0
408
+ License: AGPL-3.0-only
409
+ Private: false
410
+
411
+ ---
412
+
413
+ Name: @purpurds/heading
414
+ Version: 2.8.0
415
+ License: AGPL-3.0-only
416
+ Private: false
417
+
418
+ ---
419
+
420
+ Name: @purpurds/icon
421
+ Version: 2.8.0
422
+ License: AGPL-3.0-only
423
+ Private: false
424
+
425
+ ---
426
+
427
+ Name: @purpurds/paragraph
428
+ Version: 2.8.0
429
+ License: AGPL-3.0-only
430
+ Private: false
431
+
432
+ ---
433
+
434
+ Name: @purpurds/visually-hidden
435
+ Version: 2.8.0
436
+ License: AGPL-3.0-only
437
+ Private: false
438
+
439
+ ---
440
+
441
+ Name: @purpurds/tokens
442
+ Version: 2.8.0
443
+ License: AGPL-3.0-only
444
+ Private: false
445
+
446
+ ---
447
+
448
+ Name: classnames
449
+ Version: 2.5.1
450
+ License: MIT
451
+ Private: false
452
+ Description: A simple utility for conditionally joining classNames together
453
+ Repository: git+https://github.com/JedWatson/classnames.git
454
+ Author: Jed Watson
455
+ License Copyright:
456
+ ===
457
+
458
+ The MIT License (MIT)
459
+
460
+ Copyright (c) 2018 Jed Watson
461
+
462
+ Permission is hereby granted, free of charge, to any person obtaining a copy
463
+ of this software and associated documentation files (the "Software"), to deal
464
+ in the Software without restriction, including without limitation the rights
465
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
466
+ copies of the Software, and to permit persons to whom the Software is
467
+ furnished to do so, subject to the following conditions:
468
+
469
+ The above copyright notice and this permission notice shall be included in all
470
+ copies or substantial portions of the Software.
471
+
472
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
473
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
474
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
475
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
476
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
477
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
478
+ SOFTWARE.
@@ -0,0 +1,69 @@
1
+ import React, { ReactNode } from "react";
2
+ export declare const primaryActionVariants: readonly ["primary", "expressive", "destructive"];
3
+ export type PrimaryActionVariant = (typeof primaryActionVariants)[number];
4
+ export type DefaultProps = {
5
+ ["data-testid"]?: string;
6
+ /**
7
+ * An array of actions to be displayed at the bottom of the modal in the form of buttons. A maximum of 3 buttons will be rendered,
8
+ * */
9
+ actions?: Array<{
10
+ label: string;
11
+ onClick: () => void;
12
+ }>;
13
+ children: ReactNode;
14
+ className?: string;
15
+ /**
16
+ * An optional accessible description to be announced when the dialog is opened.
17
+ * */
18
+ description?: string;
19
+ /**
20
+ * Prevents the modal from closing on click outside if set to `true`.
21
+ * */
22
+ disableCloseOnClickOutside?: boolean;
23
+ /**
24
+ * Visually hides the description if set to `true`.
25
+ * */
26
+ hideDescription?: boolean;
27
+ /**
28
+ * An optional image to be displayed at the top of the modal.
29
+ * */
30
+ image?: ReactNode;
31
+ /**
32
+ * The variant for the primary action button.
33
+ * */
34
+ primaryActionVariant?: PrimaryActionVariant;
35
+ /**
36
+ * Determines whether the button group should be fixed at the bottom or scroll with the content.
37
+ * */
38
+ stickyButtons?: boolean;
39
+ /**
40
+ * An accessible title to be announced when the dialog is opened.
41
+ * */
42
+ title: string;
43
+ };
44
+ type NoCloseButtonProps = {
45
+ /**
46
+ * An accessible label for the close button.
47
+ * */
48
+ closeButtonAllyLabel?: never;
49
+ /**
50
+ * Shows the close button if set to `true`. Must be used in conjunction with `closeButtonAllyLabel`.
51
+ * */
52
+ showCloseButton?: false;
53
+ };
54
+ type CloseButtonProps = {
55
+ /**
56
+ * An accessible label for the close button.
57
+ * */
58
+ closeButtonAllyLabel: string;
59
+ /**
60
+ * Shows the close button if set to `true`. Must be used in conjunction with `closeButtonAllyLabel`.
61
+ * */
62
+ showCloseButton: true;
63
+ };
64
+ export type ModalContentProps = DefaultProps & (CloseButtonProps | NoCloseButtonProps);
65
+ export declare const ModalContent: React.ForwardRefExoticComponent<ModalContentProps & React.RefAttributes<HTMLDivElement>>;
66
+ export declare const MAX_NUMBER_OF_ACTIONS = 3;
67
+ export declare const ModalActions: ({ actions, primaryActionVariant, }: Pick<ModalContentProps, "actions" | "primaryActionVariant">) => React.JSX.Element | null;
68
+ export {};
69
+ //# sourceMappingURL=modal-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-content.d.ts","sourceRoot":"","sources":["../src/modal-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAGZ,SAAS,EAKV,MAAM,OAAO,CAAC;AAYf,eAAO,MAAM,qBAAqB,mDAAoD,CAAC;AAEvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG;IACzB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB;;SAEK;IACL,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,CAAC;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;SAEK;IACL,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;SAEK;IACL,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;SAEK;IACL,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;SAEK;IACL,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;SAEK;IACL,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C;;SAEK;IACL,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;SAEK;IACL,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB;;SAEK;IACL,oBAAoB,CAAC,EAAE,KAAK,CAAC;IAC7B;;SAEK;IACL,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB;;SAEK;IACL,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;SAEK;IACL,eAAe,EAAE,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,CAAC,gBAAgB,GAAG,kBAAkB,CAAC,CAAC;AASvF,eAAO,MAAM,YAAY,0FAkKxB,CAAC;AAyBF,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,eAAO,MAAM,YAAY,uCAGtB,KAAK,iBAAiB,EAAE,SAAS,GAAG,sBAAsB,CAAC,6BAkB7D,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React, { ReactNode } from "react";
2
+ export type ModalTriggerProps = {
3
+ ["data-testid"]?: string;
4
+ children: ReactNode;
5
+ className?: string;
6
+ };
7
+ export declare const ModalTrigger: React.ForwardRefExoticComponent<ModalTriggerProps & React.RefAttributes<HTMLButtonElement>>;
8
+ //# sourceMappingURL=modal-trigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-trigger.d.ts","sourceRoot":"","sources":["../src/modal-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,YAAY,6FAiBxB,CAAC"}