reflex 0.4.7a2__py3-none-any.whl → 0.4.8__py3-none-any.whl

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.

Potentially problematic release.


This version of reflex might be problematic. Click here for more details.

Files changed (125) hide show
  1. reflex/.templates/web/utils/state.js +7 -1
  2. reflex/app.py +15 -1
  3. reflex/compiler/utils.py +1 -1
  4. reflex/components/base/body.pyi +0 -3
  5. reflex/components/base/document.pyi +0 -15
  6. reflex/components/base/fragment.pyi +0 -3
  7. reflex/components/base/head.pyi +0 -3
  8. reflex/components/base/link.pyi +0 -6
  9. reflex/components/base/meta.pyi +0 -12
  10. reflex/components/chakra/base.pyi +0 -6
  11. reflex/components/chakra/datadisplay/badge.pyi +0 -3
  12. reflex/components/chakra/datadisplay/code.pyi +0 -3
  13. reflex/components/chakra/datadisplay/divider.pyi +0 -3
  14. reflex/components/chakra/datadisplay/keyboard_key.pyi +0 -3
  15. reflex/components/chakra/datadisplay/list.pyi +0 -3
  16. reflex/components/chakra/datadisplay/stat.pyi +0 -15
  17. reflex/components/chakra/datadisplay/table.pyi +0 -12
  18. reflex/components/chakra/datadisplay/tag.pyi +0 -12
  19. reflex/components/chakra/disclosure/accordion.pyi +0 -12
  20. reflex/components/chakra/disclosure/tabs.pyi +0 -12
  21. reflex/components/chakra/disclosure/transition.pyi +0 -18
  22. reflex/components/chakra/disclosure/visuallyhidden.pyi +0 -3
  23. reflex/components/chakra/feedback/alert.pyi +0 -9
  24. reflex/components/chakra/feedback/circularprogress.pyi +0 -3
  25. reflex/components/chakra/feedback/progress.pyi +0 -3
  26. reflex/components/chakra/feedback/skeleton.pyi +0 -9
  27. reflex/components/chakra/feedback/spinner.pyi +0 -3
  28. reflex/components/chakra/forms/button.pyi +0 -6
  29. reflex/components/chakra/forms/checkbox.pyi +0 -6
  30. reflex/components/chakra/forms/colormodeswitch.pyi +0 -3
  31. reflex/components/chakra/forms/editable.pyi +0 -12
  32. reflex/components/chakra/forms/form.pyi +0 -9
  33. reflex/components/chakra/forms/iconbutton.pyi +0 -3
  34. reflex/components/chakra/forms/input.pyi +0 -15
  35. reflex/components/chakra/forms/numberinput.pyi +0 -12
  36. reflex/components/chakra/forms/pininput.py +1 -1
  37. reflex/components/chakra/forms/pininput.pyi +1 -4
  38. reflex/components/chakra/forms/radio.py +1 -1
  39. reflex/components/chakra/forms/radio.pyi +1 -1
  40. reflex/components/chakra/forms/rangeslider.py +1 -1
  41. reflex/components/chakra/forms/rangeslider.pyi +1 -10
  42. reflex/components/chakra/forms/slider.pyi +0 -12
  43. reflex/components/chakra/forms/switch.pyi +0 -3
  44. reflex/components/chakra/layout/aspect_ratio.pyi +0 -3
  45. reflex/components/chakra/layout/box.pyi +0 -3
  46. reflex/components/chakra/layout/card.pyi +0 -9
  47. reflex/components/chakra/layout/center.pyi +0 -9
  48. reflex/components/chakra/layout/container.pyi +0 -3
  49. reflex/components/chakra/layout/flex.pyi +0 -3
  50. reflex/components/chakra/layout/grid.pyi +0 -9
  51. reflex/components/chakra/layout/spacer.pyi +0 -3
  52. reflex/components/chakra/layout/stack.pyi +0 -9
  53. reflex/components/chakra/layout/wrap.pyi +0 -3
  54. reflex/components/chakra/media/avatar.pyi +0 -9
  55. reflex/components/chakra/media/icon.pyi +0 -3
  56. reflex/components/chakra/navigation/breadcrumb.pyi +0 -3
  57. reflex/components/chakra/navigation/linkoverlay.pyi +0 -6
  58. reflex/components/chakra/navigation/stepper.pyi +0 -24
  59. reflex/components/chakra/overlay/alertdialog.pyi +0 -18
  60. reflex/components/chakra/overlay/drawer.pyi +0 -18
  61. reflex/components/chakra/overlay/menu.pyi +0 -18
  62. reflex/components/chakra/overlay/modal.pyi +0 -18
  63. reflex/components/chakra/overlay/popover.pyi +0 -24
  64. reflex/components/chakra/overlay/tooltip.pyi +0 -3
  65. reflex/components/chakra/typography/heading.pyi +0 -3
  66. reflex/components/chakra/typography/highlight.pyi +0 -3
  67. reflex/components/chakra/typography/span.pyi +0 -3
  68. reflex/components/chakra/typography/text.pyi +0 -3
  69. reflex/components/component.py +61 -22
  70. reflex/components/core/client_side_routing.pyi +0 -6
  71. reflex/components/core/upload.py +3 -1
  72. reflex/components/core/upload.pyi +0 -3
  73. reflex/components/el/element.pyi +0 -3
  74. reflex/components/el/elements/base.pyi +0 -3
  75. reflex/components/el/elements/forms.pyi +0 -39
  76. reflex/components/el/elements/inline.pyi +0 -84
  77. reflex/components/el/elements/media.pyi +0 -42
  78. reflex/components/el/elements/metadata.pyi +0 -15
  79. reflex/components/el/elements/other.pyi +0 -21
  80. reflex/components/el/elements/scripts.pyi +0 -9
  81. reflex/components/el/elements/sectioning.pyi +0 -45
  82. reflex/components/el/elements/tables.pyi +0 -30
  83. reflex/components/el/elements/typography.pyi +0 -45
  84. reflex/components/gridjs/datatable.pyi +0 -3
  85. reflex/components/lucide/icon.pyi +0 -3
  86. reflex/components/next/base.pyi +0 -3
  87. reflex/components/next/link.pyi +0 -3
  88. reflex/components/plotly/plotly.pyi +0 -6
  89. reflex/components/radix/primitives/accordion.pyi +0 -3
  90. reflex/components/radix/primitives/base.pyi +0 -6
  91. reflex/components/radix/primitives/drawer.pyi +0 -21
  92. reflex/components/radix/primitives/form.pyi +0 -18
  93. reflex/components/radix/primitives/progress.pyi +0 -9
  94. reflex/components/radix/primitives/slider.pyi +0 -15
  95. reflex/components/radix/themes/base.pyi +0 -6
  96. reflex/components/react_player/audio.pyi +0 -3
  97. reflex/components/react_player/react_player.pyi +0 -3
  98. reflex/components/react_player/video.pyi +0 -3
  99. reflex/components/recharts/cartesian.pyi +0 -57
  100. reflex/components/recharts/general.pyi +0 -12
  101. reflex/components/recharts/polar.pyi +0 -18
  102. reflex/components/recharts/recharts.pyi +0 -3
  103. reflex/constants/__init__.py +2 -0
  104. reflex/constants/base.py +5 -0
  105. reflex/constants/compiler.py +2 -0
  106. reflex/constants/installer.py +4 -2
  107. reflex/custom_components/custom_components.py +28 -34
  108. reflex/event.py +7 -6
  109. reflex/experimental/__init__.py +2 -0
  110. reflex/experimental/misc.py +12 -0
  111. reflex/model.py +1 -1
  112. reflex/reflex.py +0 -1
  113. reflex/utils/compat.py +43 -0
  114. reflex/utils/console.py +10 -1
  115. reflex/utils/export.py +1 -3
  116. reflex/utils/imports.py +14 -1
  117. reflex/utils/prerequisites.py +71 -45
  118. reflex/utils/processes.py +41 -4
  119. reflex/utils/serializers.py +14 -0
  120. reflex/utils/types.py +4 -3
  121. {reflex-0.4.7a2.dist-info → reflex-0.4.8.dist-info}/METADATA +1 -1
  122. {reflex-0.4.7a2.dist-info → reflex-0.4.8.dist-info}/RECORD +125 -123
  123. {reflex-0.4.7a2.dist-info → reflex-0.4.8.dist-info}/WHEEL +1 -1
  124. {reflex-0.4.7a2.dist-info → reflex-0.4.8.dist-info}/LICENSE +0 -0
  125. {reflex-0.4.7a2.dist-info → reflex-0.4.8.dist-info}/entry_points.txt +0 -0
@@ -240,7 +240,13 @@ export const applyEvent = async (event, socket) => {
240
240
  */
241
241
  export const applyRestEvent = async (event, socket) => {
242
242
  let eventSent = false;
243
- if (event.handler == "uploadFiles") {
243
+ if (event.handler === "uploadFiles") {
244
+
245
+ if (event.payload.files === undefined || event.payload.files.length === 0){
246
+ // Submit the event over the websocket to trigger the event handler.
247
+ return await applyEvent(Event(event.name), socket)
248
+ }
249
+
244
250
  // Start upload, but do not wait for it, which would block other events.
245
251
  uploadFiles(
246
252
  event.name,
reflex/app.py CHANGED
@@ -729,9 +729,12 @@ class App(Base):
729
729
  for render, kwargs in DECORATED_PAGES:
730
730
  self.add_page(render, **kwargs)
731
731
 
732
- def compile_(self):
732
+ def compile_(self, export: bool = False):
733
733
  """Compile the app and output it to the pages folder.
734
734
 
735
+ Args:
736
+ export: Whether to compile the app for export.
737
+
735
738
  Raises:
736
739
  RuntimeError: When any page uses state, but no rx.State subclass is defined.
737
740
  """
@@ -937,6 +940,17 @@ class App(Base):
937
940
  # Install frontend packages.
938
941
  self.get_frontend_packages(all_imports)
939
942
 
943
+ # Setup the next.config.js
944
+ transpile_packages = [
945
+ package
946
+ for package, import_vars in all_imports.items()
947
+ if any(import_var.transpile for import_var in import_vars)
948
+ ]
949
+ prerequisites.update_next_config(
950
+ export=export,
951
+ transpile_packages=transpile_packages,
952
+ )
953
+
940
954
  for output_path, code in compile_results:
941
955
  compiler_utils.write_page(output_path, code)
942
956
 
reflex/compiler/utils.py CHANGED
@@ -11,7 +11,7 @@ try:
11
11
  # reflex-hosting-cli tools are compatible with pydantic v2
12
12
 
13
13
  if not TYPE_CHECKING:
14
- import pydantic.v1.fields as ModelField
14
+ from pydantic.v1.fields import ModelField
15
15
  else:
16
16
  raise ModuleNotFoundError
17
17
  except ModuleNotFoundError:
@@ -82,8 +82,5 @@ class Body(Component):
82
82
 
83
83
  Returns:
84
84
  The component.
85
-
86
- Raises:
87
- TypeError: If an invalid child is passed.
88
85
  """
89
86
  ...
@@ -83,9 +83,6 @@ class NextDocumentLib(Component):
83
83
 
84
84
  Returns:
85
85
  The component.
86
-
87
- Raises:
88
- TypeError: If an invalid child is passed.
89
86
  """
90
87
  ...
91
88
 
@@ -163,9 +160,6 @@ class Html(NextDocumentLib):
163
160
 
164
161
  Returns:
165
162
  The component.
166
-
167
- Raises:
168
- TypeError: If an invalid child is passed.
169
163
  """
170
164
  ...
171
165
 
@@ -242,9 +236,6 @@ class DocumentHead(NextDocumentLib):
242
236
 
243
237
  Returns:
244
238
  The component.
245
-
246
- Raises:
247
- TypeError: If an invalid child is passed.
248
239
  """
249
240
  ...
250
241
 
@@ -321,9 +312,6 @@ class Main(NextDocumentLib):
321
312
 
322
313
  Returns:
323
314
  The component.
324
-
325
- Raises:
326
- TypeError: If an invalid child is passed.
327
315
  """
328
316
  ...
329
317
 
@@ -400,8 +388,5 @@ class NextScript(NextDocumentLib):
400
388
 
401
389
  Returns:
402
390
  The component.
403
-
404
- Raises:
405
- TypeError: If an invalid child is passed.
406
391
  """
407
392
  ...
@@ -82,8 +82,5 @@ class Fragment(Component):
82
82
 
83
83
  Returns:
84
84
  The component.
85
-
86
- Raises:
87
- TypeError: If an invalid child is passed.
88
85
  """
89
86
  ...
@@ -82,9 +82,6 @@ class NextHeadLib(Component):
82
82
 
83
83
  Returns:
84
84
  The component.
85
-
86
- Raises:
87
- TypeError: If an invalid child is passed.
88
85
  """
89
86
  ...
90
87
 
@@ -87,9 +87,6 @@ class RawLink(Component):
87
87
 
88
88
  Returns:
89
89
  The component.
90
-
91
- Raises:
92
- TypeError: If an invalid child is passed.
93
90
  """
94
91
  ...
95
92
 
@@ -180,8 +177,5 @@ class ScriptTag(Component):
180
177
 
181
178
  Returns:
182
179
  The component.
183
-
184
- Raises:
185
- TypeError: If an invalid child is passed.
186
180
  """
187
181
  ...
@@ -85,9 +85,6 @@ class Title(Component):
85
85
 
86
86
  Returns:
87
87
  The component.
88
-
89
- Raises:
90
- TypeError: If an invalid child is passed.
91
88
  """
92
89
  ...
93
90
 
@@ -174,9 +171,6 @@ class Meta(Component):
174
171
 
175
172
  Returns:
176
173
  The component.
177
-
178
- Raises:
179
- TypeError: If an invalid child is passed.
180
174
  """
181
175
  ...
182
176
 
@@ -263,9 +257,6 @@ class Description(Meta):
263
257
 
264
258
  Returns:
265
259
  The component.
266
-
267
- Raises:
268
- TypeError: If an invalid child is passed.
269
260
  """
270
261
  ...
271
262
 
@@ -352,8 +343,5 @@ class Image(Meta):
352
343
 
353
344
  Returns:
354
345
  The component.
355
-
356
- Raises:
357
- TypeError: If an invalid child is passed.
358
346
  """
359
347
  ...
@@ -86,9 +86,6 @@ class ChakraComponent(Component):
86
86
 
87
87
  Returns:
88
88
  The component.
89
-
90
- Raises:
91
- TypeError: If an invalid child is passed.
92
89
  """
93
90
  ...
94
91
 
@@ -234,9 +231,6 @@ class ChakraColorModeProvider(Component):
234
231
 
235
232
  Returns:
236
233
  The component.
237
-
238
- Raises:
239
- TypeError: If an invalid child is passed.
240
234
  """
241
235
  ...
242
236
 
@@ -92,8 +92,5 @@ class Badge(ChakraComponent):
92
92
 
93
93
  Returns:
94
94
  The component.
95
-
96
- Raises:
97
- TypeError: If an invalid child is passed.
98
95
  """
99
96
  ...
@@ -82,8 +82,5 @@ class Code(ChakraComponent):
82
82
 
83
83
  Returns:
84
84
  The component.
85
-
86
- Raises:
87
- TypeError: If an invalid child is passed.
88
85
  """
89
86
  ...
@@ -97,8 +97,5 @@ class Divider(ChakraComponent):
97
97
 
98
98
  Returns:
99
99
  The component.
100
-
101
- Raises:
102
- TypeError: If an invalid child is passed.
103
100
  """
104
101
  ...
@@ -82,8 +82,5 @@ class KeyboardKey(ChakraComponent):
82
82
 
83
83
  Returns:
84
84
  The component.
85
-
86
- Raises:
87
- TypeError: If an invalid child is passed.
88
85
  """
89
86
  ...
@@ -169,9 +169,6 @@ class ListItem(ChakraComponent):
169
169
 
170
170
  Returns:
171
171
  The component.
172
-
173
- Raises:
174
- TypeError: If an invalid child is passed.
175
172
  """
176
173
  ...
177
174
 
@@ -168,9 +168,6 @@ class StatLabel(ChakraComponent):
168
168
 
169
169
  Returns:
170
170
  The component.
171
-
172
- Raises:
173
- TypeError: If an invalid child is passed.
174
171
  """
175
172
  ...
176
173
 
@@ -247,9 +244,6 @@ class StatNumber(ChakraComponent):
247
244
 
248
245
  Returns:
249
246
  The component.
250
-
251
- Raises:
252
- TypeError: If an invalid child is passed.
253
247
  """
254
248
  ...
255
249
 
@@ -326,9 +320,6 @@ class StatHelpText(ChakraComponent):
326
320
 
327
321
  Returns:
328
322
  The component.
329
-
330
- Raises:
331
- TypeError: If an invalid child is passed.
332
323
  """
333
324
  ...
334
325
 
@@ -407,9 +398,6 @@ class StatArrow(ChakraComponent):
407
398
 
408
399
  Returns:
409
400
  The component.
410
-
411
- Raises:
412
- TypeError: If an invalid child is passed.
413
401
  """
414
402
  ...
415
403
 
@@ -486,8 +474,5 @@ class StatGroup(ChakraComponent):
486
474
 
487
475
  Returns:
488
476
  The component.
489
-
490
- Raises:
491
- TypeError: If an invalid child is passed.
492
477
  """
493
478
  ...
@@ -502,9 +502,6 @@ class Th(ChakraComponent):
502
502
 
503
503
  Returns:
504
504
  The component.
505
-
506
- Raises:
507
- TypeError: If an invalid child is passed.
508
505
  """
509
506
  ...
510
507
 
@@ -583,9 +580,6 @@ class Td(ChakraComponent):
583
580
 
584
581
  Returns:
585
582
  The component.
586
-
587
- Raises:
588
- TypeError: If an invalid child is passed.
589
583
  """
590
584
  ...
591
585
 
@@ -664,9 +658,6 @@ class TableCaption(ChakraComponent):
664
658
 
665
659
  Returns:
666
660
  The component.
667
-
668
- Raises:
669
- TypeError: If an invalid child is passed.
670
661
  """
671
662
  ...
672
663
 
@@ -743,8 +734,5 @@ class TableContainer(ChakraComponent):
743
734
 
744
735
  Returns:
745
736
  The component.
746
-
747
- Raises:
748
- TypeError: If an invalid child is passed.
749
737
  """
750
738
  ...
@@ -90,9 +90,6 @@ class TagLabel(ChakraComponent):
90
90
 
91
91
  Returns:
92
92
  The component.
93
-
94
- Raises:
95
- TypeError: If an invalid child is passed.
96
93
  """
97
94
  ...
98
95
 
@@ -169,9 +166,6 @@ class TagLeftIcon(ChakraComponent):
169
166
 
170
167
  Returns:
171
168
  The component.
172
-
173
- Raises:
174
- TypeError: If an invalid child is passed.
175
169
  """
176
170
  ...
177
171
 
@@ -248,9 +242,6 @@ class TagRightIcon(ChakraComponent):
248
242
 
249
243
  Returns:
250
244
  The component.
251
-
252
- Raises:
253
- TypeError: If an invalid child is passed.
254
245
  """
255
246
  ...
256
247
 
@@ -327,9 +318,6 @@ class TagCloseButton(ChakraComponent):
327
318
 
328
319
  Returns:
329
320
  The component.
330
-
331
- Raises:
332
- TypeError: If an invalid child is passed.
333
321
  """
334
322
  ...
335
323
 
@@ -185,9 +185,6 @@ class AccordionItem(ChakraComponent):
185
185
 
186
186
  Returns:
187
187
  The component.
188
-
189
- Raises:
190
- TypeError: If an invalid child is passed.
191
188
  """
192
189
  ...
193
190
 
@@ -264,9 +261,6 @@ class AccordionButton(ChakraComponent):
264
261
 
265
262
  Returns:
266
263
  The component.
267
-
268
- Raises:
269
- TypeError: If an invalid child is passed.
270
264
  """
271
265
  ...
272
266
 
@@ -343,9 +337,6 @@ class AccordionPanel(ChakraComponent):
343
337
 
344
338
  Returns:
345
339
  The component.
346
-
347
- Raises:
348
- TypeError: If an invalid child is passed.
349
340
  """
350
341
  ...
351
342
 
@@ -422,8 +413,5 @@ class AccordionIcon(ChakraComponent):
422
413
 
423
414
  Returns:
424
415
  The component.
425
-
426
- Raises:
427
- TypeError: If an invalid child is passed.
428
416
  """
429
417
  ...
@@ -269,9 +269,6 @@ class Tab(ChakraComponent):
269
269
 
270
270
  Returns:
271
271
  The component.
272
-
273
- Raises:
274
- TypeError: If an invalid child is passed.
275
272
  """
276
273
  ...
277
274
 
@@ -348,9 +345,6 @@ class TabList(ChakraComponent):
348
345
 
349
346
  Returns:
350
347
  The component.
351
-
352
- Raises:
353
- TypeError: If an invalid child is passed.
354
348
  """
355
349
  ...
356
350
 
@@ -427,9 +421,6 @@ class TabPanels(ChakraComponent):
427
421
 
428
422
  Returns:
429
423
  The component.
430
-
431
- Raises:
432
- TypeError: If an invalid child is passed.
433
424
  """
434
425
  ...
435
426
 
@@ -506,8 +497,5 @@ class TabPanel(ChakraComponent):
506
497
 
507
498
  Returns:
508
499
  The component.
509
-
510
- Raises:
511
- TypeError: If an invalid child is passed.
512
500
  """
513
501
  ...
@@ -88,9 +88,6 @@ class Transition(ChakraComponent):
88
88
 
89
89
  Returns:
90
90
  The component.
91
-
92
- Raises:
93
- TypeError: If an invalid child is passed.
94
91
  """
95
92
  ...
96
93
 
@@ -171,9 +168,6 @@ class Fade(Transition):
171
168
 
172
169
  Returns:
173
170
  The component.
174
-
175
- Raises:
176
- TypeError: If an invalid child is passed.
177
171
  """
178
172
  ...
179
173
 
@@ -258,9 +252,6 @@ class ScaleFade(Transition):
258
252
 
259
253
  Returns:
260
254
  The component.
261
-
262
- Raises:
263
- TypeError: If an invalid child is passed.
264
255
  """
265
256
  ...
266
257
 
@@ -343,9 +334,6 @@ class Slide(Transition):
343
334
 
344
335
  Returns:
345
336
  The component.
346
-
347
- Raises:
348
- TypeError: If an invalid child is passed.
349
337
  """
350
338
  ...
351
339
 
@@ -432,9 +420,6 @@ class SlideFade(Transition):
432
420
 
433
421
  Returns:
434
422
  The component.
435
-
436
- Raises:
437
- TypeError: If an invalid child is passed.
438
423
  """
439
424
  ...
440
425
 
@@ -521,8 +506,5 @@ class Collapse(Transition):
521
506
 
522
507
  Returns:
523
508
  The component.
524
-
525
- Raises:
526
- TypeError: If an invalid child is passed.
527
509
  """
528
510
  ...
@@ -82,8 +82,5 @@ class VisuallyHidden(ChakraComponent):
82
82
 
83
83
  Returns:
84
84
  The component.
85
-
86
- Raises:
87
- TypeError: If an invalid child is passed.
88
85
  """
89
86
  ...
@@ -180,9 +180,6 @@ class AlertIcon(ChakraComponent):
180
180
 
181
181
  Returns:
182
182
  The component.
183
-
184
- Raises:
185
- TypeError: If an invalid child is passed.
186
183
  """
187
184
  ...
188
185
 
@@ -259,9 +256,6 @@ class AlertTitle(ChakraComponent):
259
256
 
260
257
  Returns:
261
258
  The component.
262
-
263
- Raises:
264
- TypeError: If an invalid child is passed.
265
259
  """
266
260
  ...
267
261
 
@@ -338,8 +332,5 @@ class AlertDescription(ChakraComponent):
338
332
 
339
333
  Returns:
340
334
  The component.
341
-
342
- Raises:
343
- TypeError: If an invalid child is passed.
344
335
  """
345
336
  ...
@@ -183,8 +183,5 @@ class CircularProgressLabel(ChakraComponent):
183
183
 
184
184
  Returns:
185
185
  The component.
186
-
187
- Raises:
188
- TypeError: If an invalid child is passed.
189
186
  """
190
187
  ...
@@ -98,8 +98,5 @@ class Progress(ChakraComponent):
98
98
 
99
99
  Returns:
100
100
  The component.
101
-
102
- Raises:
103
- TypeError: If an invalid child is passed.
104
101
  """
105
102
  ...
@@ -93,9 +93,6 @@ class Skeleton(ChakraComponent):
93
93
 
94
94
  Returns:
95
95
  The component.
96
-
97
- Raises:
98
- TypeError: If an invalid child is passed.
99
96
  """
100
97
  ...
101
98
 
@@ -182,9 +179,6 @@ class SkeletonCircle(ChakraComponent):
182
179
 
183
180
  Returns:
184
181
  The component.
185
-
186
- Raises:
187
- TypeError: If an invalid child is passed.
188
182
  """
189
183
  ...
190
184
 
@@ -273,8 +267,5 @@ class SkeletonText(ChakraComponent):
273
267
 
274
268
  Returns:
275
269
  The component.
276
-
277
- Raises:
278
- TypeError: If an invalid child is passed.
279
270
  """
280
271
  ...
@@ -98,8 +98,5 @@ class Spinner(ChakraComponent):
98
98
 
99
99
  Returns:
100
100
  The component.
101
-
102
- Raises:
103
- TypeError: If an invalid child is passed.
104
101
  """
105
102
  ...
@@ -170,9 +170,6 @@ class Button(ChakraComponent):
170
170
 
171
171
  Returns:
172
172
  The component.
173
-
174
- Raises:
175
- TypeError: If an invalid child is passed.
176
173
  """
177
174
  ...
178
175
 
@@ -266,8 +263,5 @@ class ButtonGroup(ChakraComponent):
266
263
 
267
264
  Returns:
268
265
  The component.
269
-
270
- Raises:
271
- TypeError: If an invalid child is passed.
272
266
  """
273
267
  ...
@@ -162,9 +162,6 @@ class Checkbox(ChakraComponent):
162
162
 
163
163
  Returns:
164
164
  The component.
165
-
166
- Raises:
167
- TypeError: If an invalid child is passed.
168
165
  """
169
166
  ...
170
167
 
@@ -249,8 +246,5 @@ class CheckboxGroup(ChakraComponent):
249
246
 
250
247
  Returns:
251
248
  The component.
252
-
253
- Raises:
254
- TypeError: If an invalid child is passed.
255
249
  """
256
250
  ...
@@ -468,8 +468,5 @@ class ColorModeScript(ChakraComponent):
468
468
 
469
469
  Returns:
470
470
  The component.
471
-
472
- Raises:
473
- TypeError: If an invalid child is passed.
474
471
  """
475
472
  ...