@purpurds/drawer 5.15.1
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/LICENSE.txt +478 -0
- package/dist/drawer-container.d.ts +11 -0
- package/dist/drawer-container.d.ts.map +1 -0
- package/dist/drawer-content.d.ts +27 -0
- package/dist/drawer-content.d.ts.map +1 -0
- package/dist/drawer-frame.d.ts +23 -0
- package/dist/drawer-frame.d.ts.map +1 -0
- package/dist/drawer-handle.d.ts +13 -0
- package/dist/drawer-handle.d.ts.map +1 -0
- package/dist/drawer-header.d.ts +14 -0
- package/dist/drawer-header.d.ts.map +1 -0
- package/dist/drawer-scroll-area.d.ts +9 -0
- package/dist/drawer-scroll-area.d.ts.map +1 -0
- package/dist/drawer-trigger.d.ts +9 -0
- package/dist/drawer-trigger.d.ts.map +1 -0
- package/dist/drawer.cjs.js +62 -0
- package/dist/drawer.cjs.js.map +1 -0
- package/dist/drawer.context.d.ts +4 -0
- package/dist/drawer.context.d.ts.map +1 -0
- package/dist/drawer.d.ts +17 -0
- package/dist/drawer.d.ts.map +1 -0
- package/dist/drawer.es.js +2791 -0
- package/dist/drawer.es.js.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/use-swipe-to-dismiss.hook.d.ts +13 -0
- package/dist/use-swipe-to-dismiss.hook.d.ts.map +1 -0
- package/dist/use-swipe-tracking.hook.d.ts +15 -0
- package/dist/use-swipe-tracking.hook.d.ts.map +1 -0
- package/package.json +67 -0
- package/src/drawer-container.module.scss +24 -0
- package/src/drawer-container.test.tsx +74 -0
- package/src/drawer-container.tsx +48 -0
- package/src/drawer-content.module.scss +101 -0
- package/src/drawer-content.test.tsx +80 -0
- package/src/drawer-content.tsx +124 -0
- package/src/drawer-frame.module.scss +44 -0
- package/src/drawer-frame.test.tsx +139 -0
- package/src/drawer-frame.tsx +140 -0
- package/src/drawer-handle.module.scss +23 -0
- package/src/drawer-handle.test.tsx +37 -0
- package/src/drawer-handle.tsx +59 -0
- package/src/drawer-header.module.scss +29 -0
- package/src/drawer-header.test.tsx +173 -0
- package/src/drawer-header.tsx +117 -0
- package/src/drawer-scroll-area.module.scss +42 -0
- package/src/drawer-scroll-area.test.tsx +28 -0
- package/src/drawer-scroll-area.tsx +45 -0
- package/src/drawer-trigger.test.tsx +33 -0
- package/src/drawer-trigger.tsx +34 -0
- package/src/drawer.context.ts +5 -0
- package/src/drawer.module.scss +3 -0
- package/src/drawer.stories.tsx +197 -0
- package/src/drawer.test.tsx +210 -0
- package/src/drawer.tsx +59 -0
- package/src/global.d.ts +4 -0
- package/src/types.ts +3 -0
- package/src/use-swipe-to-dismiss.hook.ts +60 -0
- package/src/use-swipe-tracking.hook.ts +78 -0
package/dist/LICENSE.txt
ADDED
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
Name: @babel/runtime
|
|
2
|
+
Version: 7.25.6
|
|
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
|
+
Name: @radix-ui/primitive
|
|
38
|
+
Version: 1.0.1
|
|
39
|
+
License: MIT
|
|
40
|
+
Private: false
|
|
41
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
42
|
+
Homepage: https://radix-ui.com/primitives
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
Name: @radix-ui/react-compose-refs
|
|
47
|
+
Version: 1.0.1
|
|
48
|
+
License: MIT
|
|
49
|
+
Private: false
|
|
50
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
51
|
+
Homepage: https://radix-ui.com/primitives
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
Name: @radix-ui/react-context
|
|
56
|
+
Version: 1.0.1
|
|
57
|
+
License: MIT
|
|
58
|
+
Private: false
|
|
59
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
60
|
+
Homepage: https://radix-ui.com/primitives
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
Name: @radix-ui/react-use-layout-effect
|
|
65
|
+
Version: 1.0.1
|
|
66
|
+
License: MIT
|
|
67
|
+
Private: false
|
|
68
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
69
|
+
Homepage: https://radix-ui.com/primitives
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
Name: @radix-ui/react-id
|
|
74
|
+
Version: 1.0.1
|
|
75
|
+
License: MIT
|
|
76
|
+
Private: false
|
|
77
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
78
|
+
Homepage: https://radix-ui.com/primitives
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
Name: @radix-ui/react-use-callback-ref
|
|
83
|
+
Version: 1.0.1
|
|
84
|
+
License: MIT
|
|
85
|
+
Private: false
|
|
86
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
87
|
+
Homepage: https://radix-ui.com/primitives
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
Name: @radix-ui/react-use-controllable-state
|
|
92
|
+
Version: 1.0.1
|
|
93
|
+
License: MIT
|
|
94
|
+
Private: false
|
|
95
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
96
|
+
Homepage: https://radix-ui.com/primitives
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
Name: @radix-ui/react-slot
|
|
101
|
+
Version: 1.0.2
|
|
102
|
+
License: MIT
|
|
103
|
+
Private: false
|
|
104
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
105
|
+
Homepage: https://radix-ui.com/primitives
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
Name: @radix-ui/react-primitive
|
|
110
|
+
Version: 1.0.3
|
|
111
|
+
License: MIT
|
|
112
|
+
Private: false
|
|
113
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
114
|
+
Homepage: https://radix-ui.com/primitives
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
Name: @radix-ui/react-use-escape-keydown
|
|
119
|
+
Version: 1.0.3
|
|
120
|
+
License: MIT
|
|
121
|
+
Private: false
|
|
122
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
123
|
+
Homepage: https://radix-ui.com/primitives
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
Name: @radix-ui/react-dismissable-layer
|
|
128
|
+
Version: 1.0.5
|
|
129
|
+
License: MIT
|
|
130
|
+
Private: false
|
|
131
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
132
|
+
Homepage: https://radix-ui.com/primitives
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
Name: @radix-ui/react-focus-scope
|
|
137
|
+
Version: 1.0.4
|
|
138
|
+
License: MIT
|
|
139
|
+
Private: false
|
|
140
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
141
|
+
Homepage: https://radix-ui.com/primitives
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
Name: @radix-ui/react-portal
|
|
146
|
+
Version: 1.0.4
|
|
147
|
+
License: MIT
|
|
148
|
+
Private: false
|
|
149
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
150
|
+
Homepage: https://radix-ui.com/primitives
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
Name: @radix-ui/react-presence
|
|
155
|
+
Version: 1.0.1
|
|
156
|
+
License: MIT
|
|
157
|
+
Private: false
|
|
158
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
159
|
+
Homepage: https://radix-ui.com/primitives
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
Name: @radix-ui/react-focus-guards
|
|
164
|
+
Version: 1.0.1
|
|
165
|
+
License: MIT
|
|
166
|
+
Private: false
|
|
167
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
168
|
+
Homepage: https://radix-ui.com/primitives
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
Name: tslib
|
|
173
|
+
Version: 2.7.0
|
|
174
|
+
License: 0BSD
|
|
175
|
+
Private: false
|
|
176
|
+
Description: Runtime library for TypeScript helper functions
|
|
177
|
+
Repository: https://github.com/Microsoft/tslib.git
|
|
178
|
+
Homepage: https://www.typescriptlang.org/
|
|
179
|
+
Author: Microsoft Corp.
|
|
180
|
+
License Copyright:
|
|
181
|
+
===
|
|
182
|
+
|
|
183
|
+
Copyright (c) Microsoft Corporation.
|
|
184
|
+
|
|
185
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
186
|
+
purpose with or without fee is hereby granted.
|
|
187
|
+
|
|
188
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
189
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
190
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
191
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
192
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
193
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
194
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
Name: react-remove-scroll-bar
|
|
199
|
+
Version: 2.3.6
|
|
200
|
+
License: MIT
|
|
201
|
+
Private: false
|
|
202
|
+
Description: Removes body scroll without content _shake_
|
|
203
|
+
Repository: undefined
|
|
204
|
+
Author: Anton Korzunov <thekashey@gmail.com>
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
Name: use-callback-ref
|
|
209
|
+
Version: 1.3.2
|
|
210
|
+
License: MIT
|
|
211
|
+
Private: false
|
|
212
|
+
Description: The same useRef, but with callback
|
|
213
|
+
Repository: undefined
|
|
214
|
+
Author: theKashey <thekashey@gmail.com>
|
|
215
|
+
License Copyright:
|
|
216
|
+
===
|
|
217
|
+
|
|
218
|
+
MIT License
|
|
219
|
+
|
|
220
|
+
Copyright (c) 2017 Anton Korzunov
|
|
221
|
+
|
|
222
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
223
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
224
|
+
in the Software without restriction, including without limitation the rights
|
|
225
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
226
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
227
|
+
furnished to do so, subject to the following conditions:
|
|
228
|
+
|
|
229
|
+
The above copyright notice and this permission notice shall be included in all
|
|
230
|
+
copies or substantial portions of the Software.
|
|
231
|
+
|
|
232
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
233
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
234
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
235
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
236
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
237
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
238
|
+
SOFTWARE.
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
Name: use-sidecar
|
|
243
|
+
Version: 1.1.2
|
|
244
|
+
License: MIT
|
|
245
|
+
Private: false
|
|
246
|
+
Description: Sidecar code splitting utils
|
|
247
|
+
Repository: https://github.com/theKashey/use-sidecar
|
|
248
|
+
Homepage: https://github.com/theKashey/use-sidecar
|
|
249
|
+
Author: theKashey <thekashey@gmail.com>
|
|
250
|
+
License Copyright:
|
|
251
|
+
===
|
|
252
|
+
|
|
253
|
+
MIT License
|
|
254
|
+
|
|
255
|
+
Copyright (c) 2017 Anton Korzunov
|
|
256
|
+
|
|
257
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
258
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
259
|
+
in the Software without restriction, including without limitation the rights
|
|
260
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
261
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
262
|
+
furnished to do so, subject to the following conditions:
|
|
263
|
+
|
|
264
|
+
The above copyright notice and this permission notice shall be included in all
|
|
265
|
+
copies or substantial portions of the Software.
|
|
266
|
+
|
|
267
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
268
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
269
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
270
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
271
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
272
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
273
|
+
SOFTWARE.
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
Name: react-remove-scroll
|
|
278
|
+
Version: 2.5.5
|
|
279
|
+
License: MIT
|
|
280
|
+
Private: false
|
|
281
|
+
Description: Disables scroll outside of `children` node.
|
|
282
|
+
Repository: undefined
|
|
283
|
+
Author: Anton Korzunov <thekashey@gmail.com>
|
|
284
|
+
License Copyright:
|
|
285
|
+
===
|
|
286
|
+
|
|
287
|
+
MIT License
|
|
288
|
+
|
|
289
|
+
Copyright (c) 2017 Anton Korzunov
|
|
290
|
+
|
|
291
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
292
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
293
|
+
in the Software without restriction, including without limitation the rights
|
|
294
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
295
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
296
|
+
furnished to do so, subject to the following conditions:
|
|
297
|
+
|
|
298
|
+
The above copyright notice and this permission notice shall be included in all
|
|
299
|
+
copies or substantial portions of the Software.
|
|
300
|
+
|
|
301
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
302
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
303
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
304
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
305
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
306
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
307
|
+
SOFTWARE.
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
Name: get-nonce
|
|
312
|
+
Version: 1.0.1
|
|
313
|
+
License: MIT
|
|
314
|
+
Private: false
|
|
315
|
+
Description: returns nonce
|
|
316
|
+
Repository: undefined
|
|
317
|
+
Homepage: https://github.com/theKashey/get-nonce
|
|
318
|
+
Author: Anton Korzunov <thekashey@gmail.com>
|
|
319
|
+
License Copyright:
|
|
320
|
+
===
|
|
321
|
+
|
|
322
|
+
MIT License
|
|
323
|
+
|
|
324
|
+
Copyright (c) 2020 Anton Korzunov
|
|
325
|
+
|
|
326
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
327
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
328
|
+
in the Software without restriction, including without limitation the rights
|
|
329
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
330
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
331
|
+
furnished to do so, subject to the following conditions:
|
|
332
|
+
|
|
333
|
+
The above copyright notice and this permission notice shall be included in all
|
|
334
|
+
copies or substantial portions of the Software.
|
|
335
|
+
|
|
336
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
337
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
338
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
339
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
340
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
341
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
342
|
+
SOFTWARE.
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
Name: react-style-singleton
|
|
347
|
+
Version: 2.2.1
|
|
348
|
+
License: MIT
|
|
349
|
+
Private: false
|
|
350
|
+
Description: Just create a single stylesheet...
|
|
351
|
+
Homepage: https://github.com/theKashey/react-style-singleton#readme
|
|
352
|
+
Author: Anton Korzunov (thekashey@gmail.com)
|
|
353
|
+
|
|
354
|
+
---
|
|
355
|
+
|
|
356
|
+
Name: aria-hidden
|
|
357
|
+
Version: 1.2.4
|
|
358
|
+
License: MIT
|
|
359
|
+
Private: false
|
|
360
|
+
Description: Cast aria-hidden to everything, except...
|
|
361
|
+
Repository: git+https://github.com/theKashey/aria-hidden.git
|
|
362
|
+
Homepage: https://github.com/theKashey/aria-hidden#readme
|
|
363
|
+
Author: Anton Korzunov <thekashey@gmail.com>
|
|
364
|
+
License Copyright:
|
|
365
|
+
===
|
|
366
|
+
|
|
367
|
+
MIT License
|
|
368
|
+
|
|
369
|
+
Copyright (c) 2017 Anton Korzunov
|
|
370
|
+
|
|
371
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
372
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
373
|
+
in the Software without restriction, including without limitation the rights
|
|
374
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
375
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
376
|
+
furnished to do so, subject to the following conditions:
|
|
377
|
+
|
|
378
|
+
The above copyright notice and this permission notice shall be included in all
|
|
379
|
+
copies or substantial portions of the Software.
|
|
380
|
+
|
|
381
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
382
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
383
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
384
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
385
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
386
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
387
|
+
SOFTWARE.
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
Name: @radix-ui/react-dialog
|
|
392
|
+
Version: 1.0.5
|
|
393
|
+
License: MIT
|
|
394
|
+
Private: false
|
|
395
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
396
|
+
Homepage: https://radix-ui.com/primitives
|
|
397
|
+
|
|
398
|
+
---
|
|
399
|
+
|
|
400
|
+
Name: classnames
|
|
401
|
+
Version: 2.5.1
|
|
402
|
+
License: MIT
|
|
403
|
+
Private: false
|
|
404
|
+
Description: A simple utility for conditionally joining classNames together
|
|
405
|
+
Repository: git+https://github.com/JedWatson/classnames.git
|
|
406
|
+
Author: Jed Watson
|
|
407
|
+
License Copyright:
|
|
408
|
+
===
|
|
409
|
+
|
|
410
|
+
The MIT License (MIT)
|
|
411
|
+
|
|
412
|
+
Copyright (c) 2018 Jed Watson
|
|
413
|
+
|
|
414
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
415
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
416
|
+
in the Software without restriction, including without limitation the rights
|
|
417
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
418
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
419
|
+
furnished to do so, subject to the following conditions:
|
|
420
|
+
|
|
421
|
+
The above copyright notice and this permission notice shall be included in all
|
|
422
|
+
copies or substantial portions of the Software.
|
|
423
|
+
|
|
424
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
425
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
426
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
427
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
428
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
429
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
430
|
+
SOFTWARE.
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
Name: @purpurds/button
|
|
435
|
+
Version: 5.15.1
|
|
436
|
+
License: AGPL-3.0-only
|
|
437
|
+
Private: false
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
441
|
+
Name: @purpurds/heading
|
|
442
|
+
Version: 5.15.1
|
|
443
|
+
License: AGPL-3.0-only
|
|
444
|
+
Private: false
|
|
445
|
+
|
|
446
|
+
---
|
|
447
|
+
|
|
448
|
+
Name: @purpurds/icon
|
|
449
|
+
Version: 5.15.1
|
|
450
|
+
License: AGPL-3.0-only
|
|
451
|
+
Private: false
|
|
452
|
+
|
|
453
|
+
---
|
|
454
|
+
|
|
455
|
+
Name: @radix-ui/react-direction
|
|
456
|
+
Version: 1.0.1
|
|
457
|
+
License: MIT
|
|
458
|
+
Private: false
|
|
459
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
460
|
+
Homepage: https://radix-ui.com/primitives
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
Name: @radix-ui/number
|
|
465
|
+
Version: 1.0.1
|
|
466
|
+
License: MIT
|
|
467
|
+
Private: false
|
|
468
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
469
|
+
Homepage: https://radix-ui.com/primitives
|
|
470
|
+
|
|
471
|
+
---
|
|
472
|
+
|
|
473
|
+
Name: @radix-ui/react-scroll-area
|
|
474
|
+
Version: 1.0.5
|
|
475
|
+
License: MIT
|
|
476
|
+
Private: false
|
|
477
|
+
Repository: git+https://github.com/radix-ui/primitives.git
|
|
478
|
+
Homepage: https://radix-ui.com/primitives
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DrawerContainerProps = {
|
|
4
|
+
["data-testid"]?: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
stickyFooter: boolean;
|
|
8
|
+
variant?: "header" | "body" | "footer";
|
|
9
|
+
};
|
|
10
|
+
export declare const DrawerContainer: React.ForwardRefExoticComponent<DrawerContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
//# sourceMappingURL=drawer-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-container.d.ts","sourceRoot":"","sources":["../src/drawer-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAC;AAMnE,MAAM,MAAM,oBAAoB,GAAG;IACjC,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAC;CACxC,CAAC;AAIF,eAAO,MAAM,eAAe,6FA6B3B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type WithBackButton = {
|
|
4
|
+
backButton: boolean;
|
|
5
|
+
backButtonText: string;
|
|
6
|
+
backButtonOnlyIcon?: boolean;
|
|
7
|
+
onBackButtonClick: () => void;
|
|
8
|
+
};
|
|
9
|
+
export type WithoutBackButton = {
|
|
10
|
+
backButton?: never;
|
|
11
|
+
backButtonText?: never;
|
|
12
|
+
backButtonOnlyIcon?: never;
|
|
13
|
+
onBackButtonClick?: never;
|
|
14
|
+
};
|
|
15
|
+
export type DrawerContentProps = {
|
|
16
|
+
["data-testid"]?: string;
|
|
17
|
+
bodyText?: string;
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
closeButtonText: string;
|
|
21
|
+
disableCloseOnClickOutside?: boolean;
|
|
22
|
+
footerContent?: ReactNode;
|
|
23
|
+
stickyFooter?: boolean;
|
|
24
|
+
title: string;
|
|
25
|
+
} & (WithoutBackButton | WithBackButton);
|
|
26
|
+
export declare const DrawerContent: React.ForwardRefExoticComponent<DrawerContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
//# sourceMappingURL=drawer-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-content.d.ts","sourceRoot":"","sources":["../src/drawer-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,SAAS,EAAsB,MAAM,OAAO,CAAC;AAWvF,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,kBAAkB,CAAC,EAAE,KAAK,CAAC;IAC3B,iBAAiB,CAAC,EAAE,KAAK,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,CAAC,iBAAiB,GAAG,cAAc,CAAC,CAAC;AAIzC,eAAO,MAAM,aAAa,2FAkFzB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { SwipeEvent } from './types';
|
|
3
|
+
|
|
4
|
+
export type DrawerFrameProps = {
|
|
5
|
+
["data-testid"]?: string;
|
|
6
|
+
backButton: boolean;
|
|
7
|
+
backButtonText?: string;
|
|
8
|
+
backButtonOnlyIcon: boolean;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
closeButtonText: string;
|
|
12
|
+
footerContent?: ReactNode;
|
|
13
|
+
onAnimationEnd: (event: React.AnimationEvent<HTMLDivElement>) => void;
|
|
14
|
+
onBackButtonClick?: () => void;
|
|
15
|
+
onSwipeStart(): void;
|
|
16
|
+
onSwipeMove(event: SwipeEvent): void;
|
|
17
|
+
onSwipeCancel(): void;
|
|
18
|
+
onSwipeEnd(event: SwipeEvent): void;
|
|
19
|
+
stickyFooter: boolean;
|
|
20
|
+
title: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const DrawerFrame: React.ForwardRefExoticComponent<DrawerFrameProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
//# sourceMappingURL=drawer-frame.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-frame.d.ts","sourceRoot":"","sources":["../src/drawer-frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAC;AAQnE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtE,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,YAAY,IAAI,IAAI,CAAC;IACrB,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC,aAAa,IAAI,IAAI,CAAC;IACtB,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAIF,eAAO,MAAM,WAAW,yFAyGvB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SwipeEvent } from './types';
|
|
3
|
+
|
|
4
|
+
export type DrawerHandleProps = {
|
|
5
|
+
["data-testid"]?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
onSwipeStart(): void;
|
|
8
|
+
onSwipeMove(event: SwipeEvent): void;
|
|
9
|
+
onSwipeCancel(): void;
|
|
10
|
+
onSwipeEnd(event: SwipeEvent): void;
|
|
11
|
+
};
|
|
12
|
+
export declare const DrawerHandle: React.ForwardRefExoticComponent<DrawerHandleProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
//# sourceMappingURL=drawer-handle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-handle.d.ts","sourceRoot":"","sources":["../src/drawer-handle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAIxD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,IAAI,IAAI,CAAC;IACrB,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC,aAAa,IAAI,IAAI,CAAC;IACtB,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;CACrC,CAAC;AAIF,eAAO,MAAM,YAAY,0FAqCxB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DrawerHeaderProps = {
|
|
4
|
+
["data-testid"]?: string;
|
|
5
|
+
backButton: boolean;
|
|
6
|
+
backButtonText?: string;
|
|
7
|
+
backButtonOnlyIcon: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
closeButtonText: string;
|
|
10
|
+
onBackButtonClick?: () => void;
|
|
11
|
+
title: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const DrawerHeader: React.ForwardRefExoticComponent<DrawerHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
//# sourceMappingURL=drawer-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-header.d.ts","sourceRoot":"","sources":["../src/drawer-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAWxD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAIF,eAAO,MAAM,YAAY,0FA0FxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DrawerScrollAreaProps = {
|
|
4
|
+
["data-testid"]?: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const DrawerScrollArea: React.ForwardRefExoticComponent<DrawerScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
//# sourceMappingURL=drawer-scroll-area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-scroll-area.d.ts","sourceRoot":"","sources":["../src/drawer-scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAC;AAOnE,MAAM,MAAM,qBAAqB,GAAG;IAClC,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAIF,eAAO,MAAM,gBAAgB,8FA2B5B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export type DrawerTriggerProps = {
|
|
4
|
+
["data-testid"]?: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const DrawerTrigger: React.ForwardRefExoticComponent<DrawerTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
//# sourceMappingURL=drawer-trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer-trigger.d.ts","sourceRoot":"","sources":["../src/drawer-trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,8FAsBzB,CAAC"}
|