reflex 0.7.13a2__py3-none-any.whl → 0.7.14a1__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 (256) hide show
  1. reflex/.templates/apps/blank/code/blank.py +0 -2
  2. reflex/app.py +64 -69
  3. reflex/app_mixins/lifespan.py +2 -3
  4. reflex/app_mixins/middleware.py +1 -0
  5. reflex/app_mixins/mixin.py +0 -1
  6. reflex/assets.py +6 -3
  7. reflex/base.py +3 -2
  8. reflex/compiler/compiler.py +77 -64
  9. reflex/compiler/utils.py +8 -6
  10. reflex/components/base/app_wrap.pyi +0 -1
  11. reflex/components/base/bare.py +5 -7
  12. reflex/components/base/body.pyi +0 -1
  13. reflex/components/base/document.pyi +0 -5
  14. reflex/components/base/error_boundary.pyi +0 -1
  15. reflex/components/base/fragment.pyi +0 -1
  16. reflex/components/base/head.pyi +0 -2
  17. reflex/components/base/link.pyi +0 -2
  18. reflex/components/base/meta.py +2 -1
  19. reflex/components/base/meta.pyi +0 -4
  20. reflex/components/base/script.py +2 -1
  21. reflex/components/base/script.pyi +0 -1
  22. reflex/components/base/strict_mode.pyi +0 -1
  23. reflex/components/component.py +38 -40
  24. reflex/components/core/auto_scroll.pyi +0 -1
  25. reflex/components/core/banner.pyi +0 -6
  26. reflex/components/core/breakpoints.py +9 -11
  27. reflex/components/core/client_side_routing.pyi +0 -2
  28. reflex/components/core/clipboard.pyi +0 -1
  29. reflex/components/core/colors.py +10 -7
  30. reflex/components/core/cond.py +4 -2
  31. reflex/components/core/debounce.py +5 -3
  32. reflex/components/core/debounce.pyi +0 -1
  33. reflex/components/core/foreach.py +8 -6
  34. reflex/components/core/html.py +3 -3
  35. reflex/components/core/html.pyi +0 -1
  36. reflex/components/core/match.py +19 -17
  37. reflex/components/core/sticky.pyi +0 -4
  38. reflex/components/core/upload.pyi +0 -5
  39. reflex/components/datadisplay/code.py +1 -2
  40. reflex/components/datadisplay/code.pyi +0 -2
  41. reflex/components/datadisplay/dataeditor.py +7 -10
  42. reflex/components/datadisplay/dataeditor.pyi +0 -1
  43. reflex/components/datadisplay/logo.py +3 -4
  44. reflex/components/datadisplay/shiki_code_block.py +8 -11
  45. reflex/components/datadisplay/shiki_code_block.pyi +0 -3
  46. reflex/components/dynamic.py +2 -3
  47. reflex/components/el/__init__.pyi +2 -0
  48. reflex/components/el/element.pyi +0 -1
  49. reflex/components/el/elements/__init__.py +1 -0
  50. reflex/components/el/elements/__init__.pyi +3 -0
  51. reflex/components/el/elements/base.pyi +0 -1
  52. reflex/components/el/elements/forms.py +3 -4
  53. reflex/components/el/elements/forms.pyi +1 -18
  54. reflex/components/el/elements/inline.pyi +0 -28
  55. reflex/components/el/elements/media.py +26 -0
  56. reflex/components/el/elements/media.pyi +259 -25
  57. reflex/components/el/elements/metadata.py +0 -1
  58. reflex/components/el/elements/metadata.pyi +0 -6
  59. reflex/components/el/elements/other.pyi +0 -7
  60. reflex/components/el/elements/scripts.pyi +0 -3
  61. reflex/components/el/elements/sectioning.pyi +0 -15
  62. reflex/components/el/elements/tables.pyi +0 -10
  63. reflex/components/el/elements/typography.pyi +0 -15
  64. reflex/components/gridjs/datatable.py +10 -13
  65. reflex/components/gridjs/datatable.pyi +0 -2
  66. reflex/components/lucide/icon.py +10 -9
  67. reflex/components/lucide/icon.pyi +0 -3
  68. reflex/components/markdown/markdown.py +6 -8
  69. reflex/components/markdown/markdown.pyi +0 -1
  70. reflex/components/moment/moment.pyi +0 -1
  71. reflex/components/next/base.py +0 -2
  72. reflex/components/next/base.pyi +0 -3
  73. reflex/components/next/image.pyi +0 -1
  74. reflex/components/next/link.pyi +0 -1
  75. reflex/components/next/video.pyi +0 -1
  76. reflex/components/plotly/plotly.pyi +0 -9
  77. reflex/components/props.py +4 -3
  78. reflex/components/radix/primitives/accordion.pyi +0 -7
  79. reflex/components/radix/primitives/base.py +1 -3
  80. reflex/components/radix/primitives/base.pyi +0 -2
  81. reflex/components/radix/primitives/drawer.pyi +0 -11
  82. reflex/components/radix/primitives/form.py +4 -8
  83. reflex/components/radix/primitives/form.pyi +0 -12
  84. reflex/components/radix/primitives/progress.py +1 -1
  85. reflex/components/radix/primitives/progress.pyi +0 -5
  86. reflex/components/radix/primitives/slider.py +1 -1
  87. reflex/components/radix/primitives/slider.pyi +0 -5
  88. reflex/components/radix/themes/base.pyi +0 -8
  89. reflex/components/radix/themes/color_mode.pyi +0 -3
  90. reflex/components/radix/themes/components/alert_dialog.py +4 -2
  91. reflex/components/radix/themes/components/alert_dialog.pyi +4 -9
  92. reflex/components/radix/themes/components/aspect_ratio.py +1 -2
  93. reflex/components/radix/themes/components/aspect_ratio.pyi +1 -3
  94. reflex/components/radix/themes/components/avatar.py +5 -2
  95. reflex/components/radix/themes/components/avatar.pyi +1 -3
  96. reflex/components/radix/themes/components/badge.py +5 -2
  97. reflex/components/radix/themes/components/badge.pyi +1 -3
  98. reflex/components/radix/themes/components/button.py +2 -3
  99. reflex/components/radix/themes/components/button.pyi +1 -3
  100. reflex/components/radix/themes/components/callout.py +1 -2
  101. reflex/components/radix/themes/components/callout.pyi +1 -7
  102. reflex/components/radix/themes/components/card.py +1 -2
  103. reflex/components/radix/themes/components/card.pyi +1 -3
  104. reflex/components/radix/themes/components/checkbox.py +7 -4
  105. reflex/components/radix/themes/components/checkbox.pyi +1 -5
  106. reflex/components/radix/themes/components/checkbox_cards.py +1 -2
  107. reflex/components/radix/themes/components/checkbox_cards.pyi +1 -4
  108. reflex/components/radix/themes/components/checkbox_group.py +1 -2
  109. reflex/components/radix/themes/components/checkbox_group.pyi +1 -4
  110. reflex/components/radix/themes/components/context_menu.py +1 -1
  111. reflex/components/radix/themes/components/context_menu.pyi +1 -14
  112. reflex/components/radix/themes/components/data_list.py +1 -2
  113. reflex/components/radix/themes/components/data_list.pyi +1 -6
  114. reflex/components/radix/themes/components/dialog.py +4 -2
  115. reflex/components/radix/themes/components/dialog.pyi +4 -9
  116. reflex/components/radix/themes/components/dropdown_menu.py +5 -2
  117. reflex/components/radix/themes/components/dropdown_menu.pyi +4 -10
  118. reflex/components/radix/themes/components/hover_card.py +4 -2
  119. reflex/components/radix/themes/components/hover_card.pyi +4 -6
  120. reflex/components/radix/themes/components/icon_button.py +7 -8
  121. reflex/components/radix/themes/components/icon_button.pyi +1 -3
  122. reflex/components/radix/themes/components/inset.py +1 -2
  123. reflex/components/radix/themes/components/inset.pyi +1 -3
  124. reflex/components/radix/themes/components/popover.py +4 -2
  125. reflex/components/radix/themes/components/popover.pyi +4 -6
  126. reflex/components/radix/themes/components/progress.py +1 -2
  127. reflex/components/radix/themes/components/progress.pyi +1 -3
  128. reflex/components/radix/themes/components/radio.py +1 -2
  129. reflex/components/radix/themes/components/radio.pyi +1 -3
  130. reflex/components/radix/themes/components/radio_cards.py +1 -2
  131. reflex/components/radix/themes/components/radio_cards.pyi +1 -4
  132. reflex/components/radix/themes/components/radio_group.py +7 -5
  133. reflex/components/radix/themes/components/radio_group.pyi +1 -6
  134. reflex/components/radix/themes/components/scroll_area.py +1 -2
  135. reflex/components/radix/themes/components/scroll_area.pyi +1 -3
  136. reflex/components/radix/themes/components/segmented_control.py +1 -2
  137. reflex/components/radix/themes/components/segmented_control.pyi +1 -4
  138. reflex/components/radix/themes/components/select.py +5 -2
  139. reflex/components/radix/themes/components/select.pyi +1 -11
  140. reflex/components/radix/themes/components/separator.py +1 -2
  141. reflex/components/radix/themes/components/separator.pyi +1 -3
  142. reflex/components/radix/themes/components/skeleton.py +1 -2
  143. reflex/components/radix/themes/components/skeleton.pyi +1 -3
  144. reflex/components/radix/themes/components/slider.py +1 -2
  145. reflex/components/radix/themes/components/slider.pyi +1 -3
  146. reflex/components/radix/themes/components/spinner.py +1 -2
  147. reflex/components/radix/themes/components/spinner.pyi +1 -3
  148. reflex/components/radix/themes/components/switch.py +1 -2
  149. reflex/components/radix/themes/components/switch.pyi +1 -3
  150. reflex/components/radix/themes/components/table.py +1 -2
  151. reflex/components/radix/themes/components/table.pyi +1 -9
  152. reflex/components/radix/themes/components/tabs.py +1 -2
  153. reflex/components/radix/themes/components/tabs.pyi +1 -7
  154. reflex/components/radix/themes/components/text_area.py +5 -2
  155. reflex/components/radix/themes/components/text_area.pyi +1 -3
  156. reflex/components/radix/themes/components/text_field.py +5 -2
  157. reflex/components/radix/themes/components/text_field.pyi +1 -5
  158. reflex/components/radix/themes/components/tooltip.py +1 -2
  159. reflex/components/radix/themes/components/tooltip.pyi +1 -3
  160. reflex/components/radix/themes/layout/base.py +5 -2
  161. reflex/components/radix/themes/layout/base.pyi +5 -3
  162. reflex/components/radix/themes/layout/box.py +1 -2
  163. reflex/components/radix/themes/layout/box.pyi +1 -3
  164. reflex/components/radix/themes/layout/center.pyi +0 -1
  165. reflex/components/radix/themes/layout/container.py +1 -2
  166. reflex/components/radix/themes/layout/container.pyi +1 -3
  167. reflex/components/radix/themes/layout/flex.py +6 -2
  168. reflex/components/radix/themes/layout/flex.pyi +1 -3
  169. reflex/components/radix/themes/layout/grid.py +6 -2
  170. reflex/components/radix/themes/layout/grid.pyi +1 -3
  171. reflex/components/radix/themes/layout/list.py +2 -1
  172. reflex/components/radix/themes/layout/list.pyi +0 -5
  173. reflex/components/radix/themes/layout/section.py +1 -2
  174. reflex/components/radix/themes/layout/section.pyi +1 -3
  175. reflex/components/radix/themes/layout/spacer.pyi +0 -1
  176. reflex/components/radix/themes/layout/stack.py +1 -1
  177. reflex/components/radix/themes/layout/stack.pyi +0 -3
  178. reflex/components/radix/themes/typography/blockquote.py +1 -1
  179. reflex/components/radix/themes/typography/blockquote.pyi +1 -3
  180. reflex/components/radix/themes/typography/code.py +5 -1
  181. reflex/components/radix/themes/typography/code.pyi +1 -3
  182. reflex/components/radix/themes/typography/heading.py +1 -1
  183. reflex/components/radix/themes/typography/heading.pyi +1 -3
  184. reflex/components/radix/themes/typography/link.py +3 -2
  185. reflex/components/radix/themes/typography/link.pyi +1 -3
  186. reflex/components/radix/themes/typography/text.py +1 -1
  187. reflex/components/radix/themes/typography/text.pyi +1 -9
  188. reflex/components/react_player/audio.py +0 -2
  189. reflex/components/react_player/audio.pyi +0 -3
  190. reflex/components/react_player/react_player.pyi +0 -1
  191. reflex/components/react_player/video.py +0 -2
  192. reflex/components/react_player/video.pyi +0 -3
  193. reflex/components/recharts/__init__.py +1 -1
  194. reflex/components/recharts/__init__.pyi +1 -1
  195. reflex/components/recharts/cartesian.py +20 -25
  196. reflex/components/recharts/cartesian.pyi +20 -37
  197. reflex/components/recharts/charts.py +2 -1
  198. reflex/components/recharts/charts.pyi +0 -12
  199. reflex/components/recharts/general.pyi +0 -6
  200. reflex/components/recharts/polar.py +5 -4
  201. reflex/components/recharts/polar.pyi +4 -10
  202. reflex/components/recharts/recharts.py +12 -10
  203. reflex/components/recharts/recharts.pyi +10 -11
  204. reflex/components/sonner/toast.py +2 -2
  205. reflex/components/sonner/toast.pyi +0 -2
  206. reflex/components/suneditor/editor.py +2 -1
  207. reflex/components/suneditor/editor.pyi +0 -1
  208. reflex/components/tags/iter_tag.py +4 -2
  209. reflex/config.py +47 -35
  210. reflex/constants/base.py +3 -3
  211. reflex/constants/compiler.py +8 -6
  212. reflex/constants/installer.py +24 -15
  213. reflex/custom_components/custom_components.py +1 -2
  214. reflex/event.py +58 -60
  215. reflex/experimental/__init__.py +2 -2
  216. reflex/experimental/client_state.py +9 -4
  217. reflex/experimental/layout.pyi +0 -5
  218. reflex/istate/manager.py +15 -19
  219. reflex/istate/proxy.py +19 -12
  220. reflex/model.py +6 -4
  221. reflex/plugins/base.py +8 -0
  222. reflex/plugins/tailwind_v3.py +8 -0
  223. reflex/plugins/tailwind_v4.py +8 -0
  224. reflex/reflex.py +9 -11
  225. reflex/route.py +7 -9
  226. reflex/state.py +66 -70
  227. reflex/style.py +3 -1
  228. reflex/testing.py +46 -29
  229. reflex/utils/build.py +2 -1
  230. reflex/utils/console.py +9 -17
  231. reflex/utils/exec.py +9 -11
  232. reflex/utils/format.py +21 -24
  233. reflex/utils/imports.py +4 -3
  234. reflex/utils/lazy_loader.py +3 -3
  235. reflex/utils/misc.py +2 -1
  236. reflex/utils/net.py +2 -2
  237. reflex/utils/path_ops.py +2 -1
  238. reflex/utils/prerequisites.py +67 -38
  239. reflex/utils/processes.py +4 -6
  240. reflex/utils/pyi_generator.py +46 -41
  241. reflex/utils/redir.py +1 -1
  242. reflex/utils/serializers.py +4 -4
  243. reflex/utils/telemetry.py +42 -4
  244. reflex/utils/types.py +16 -13
  245. reflex/vars/base.py +96 -109
  246. reflex/vars/datetime.py +2 -1
  247. reflex/vars/dep_tracking.py +19 -28
  248. reflex/vars/number.py +6 -7
  249. reflex/vars/object.py +5 -6
  250. reflex/vars/sequence.py +11 -11
  251. {reflex-0.7.13a2.dist-info → reflex-0.7.14a1.dist-info}/METADATA +1 -1
  252. reflex-0.7.14a1.dist-info/RECORD +407 -0
  253. reflex-0.7.13a2.dist-info/RECORD +0 -407
  254. {reflex-0.7.13a2.dist-info → reflex-0.7.14a1.dist-info}/WHEEL +0 -0
  255. {reflex-0.7.13a2.dist-info → reflex-0.7.14a1.dist-info}/entry_points.txt +0 -0
  256. {reflex-0.7.13a2.dist-info → reflex-0.7.14a1.dist-info}/licenses/LICENSE +0 -0
@@ -311,7 +311,6 @@ class A(BaseHTML):
311
311
  Returns:
312
312
  The component.
313
313
  """
314
- ...
315
314
 
316
315
  class Abbr(BaseHTML):
317
316
  @overload
@@ -557,7 +556,6 @@ class Abbr(BaseHTML):
557
556
  Returns:
558
557
  The component.
559
558
  """
560
- ...
561
559
 
562
560
  class B(BaseHTML):
563
561
  @overload
@@ -803,7 +801,6 @@ class B(BaseHTML):
803
801
  Returns:
804
802
  The component.
805
803
  """
806
- ...
807
804
 
808
805
  class Bdi(BaseHTML):
809
806
  @overload
@@ -1049,7 +1046,6 @@ class Bdi(BaseHTML):
1049
1046
  Returns:
1050
1047
  The component.
1051
1048
  """
1052
- ...
1053
1049
 
1054
1050
  class Bdo(BaseHTML):
1055
1051
  @overload
@@ -1295,7 +1291,6 @@ class Bdo(BaseHTML):
1295
1291
  Returns:
1296
1292
  The component.
1297
1293
  """
1298
- ...
1299
1294
 
1300
1295
  class Br(BaseHTML):
1301
1296
  @overload
@@ -1541,7 +1536,6 @@ class Br(BaseHTML):
1541
1536
  Returns:
1542
1537
  The component.
1543
1538
  """
1544
- ...
1545
1539
 
1546
1540
  class Cite(BaseHTML):
1547
1541
  @overload
@@ -1787,7 +1781,6 @@ class Cite(BaseHTML):
1787
1781
  Returns:
1788
1782
  The component.
1789
1783
  """
1790
- ...
1791
1784
 
1792
1785
  class Code(BaseHTML):
1793
1786
  @overload
@@ -2033,7 +2026,6 @@ class Code(BaseHTML):
2033
2026
  Returns:
2034
2027
  The component.
2035
2028
  """
2036
- ...
2037
2029
 
2038
2030
  class Data(BaseHTML):
2039
2031
  @overload
@@ -2281,7 +2273,6 @@ class Data(BaseHTML):
2281
2273
  Returns:
2282
2274
  The component.
2283
2275
  """
2284
- ...
2285
2276
 
2286
2277
  class Dfn(BaseHTML):
2287
2278
  @overload
@@ -2527,7 +2518,6 @@ class Dfn(BaseHTML):
2527
2518
  Returns:
2528
2519
  The component.
2529
2520
  """
2530
- ...
2531
2521
 
2532
2522
  class Em(BaseHTML):
2533
2523
  @overload
@@ -2773,7 +2763,6 @@ class Em(BaseHTML):
2773
2763
  Returns:
2774
2764
  The component.
2775
2765
  """
2776
- ...
2777
2766
 
2778
2767
  class I(BaseHTML):
2779
2768
  @overload
@@ -3019,7 +3008,6 @@ class I(BaseHTML):
3019
3008
  Returns:
3020
3009
  The component.
3021
3010
  """
3022
- ...
3023
3011
 
3024
3012
  class Kbd(BaseHTML):
3025
3013
  @overload
@@ -3265,7 +3253,6 @@ class Kbd(BaseHTML):
3265
3253
  Returns:
3266
3254
  The component.
3267
3255
  """
3268
- ...
3269
3256
 
3270
3257
  class Mark(BaseHTML):
3271
3258
  @overload
@@ -3511,7 +3498,6 @@ class Mark(BaseHTML):
3511
3498
  Returns:
3512
3499
  The component.
3513
3500
  """
3514
- ...
3515
3501
 
3516
3502
  class Q(BaseHTML):
3517
3503
  @overload
@@ -3759,7 +3745,6 @@ class Q(BaseHTML):
3759
3745
  Returns:
3760
3746
  The component.
3761
3747
  """
3762
- ...
3763
3748
 
3764
3749
  class Rp(BaseHTML):
3765
3750
  @overload
@@ -4005,7 +3990,6 @@ class Rp(BaseHTML):
4005
3990
  Returns:
4006
3991
  The component.
4007
3992
  """
4008
- ...
4009
3993
 
4010
3994
  class Rt(BaseHTML):
4011
3995
  @overload
@@ -4251,7 +4235,6 @@ class Rt(BaseHTML):
4251
4235
  Returns:
4252
4236
  The component.
4253
4237
  """
4254
- ...
4255
4238
 
4256
4239
  class Ruby(BaseHTML):
4257
4240
  @overload
@@ -4497,7 +4480,6 @@ class Ruby(BaseHTML):
4497
4480
  Returns:
4498
4481
  The component.
4499
4482
  """
4500
- ...
4501
4483
 
4502
4484
  class S(BaseHTML):
4503
4485
  @overload
@@ -4743,7 +4725,6 @@ class S(BaseHTML):
4743
4725
  Returns:
4744
4726
  The component.
4745
4727
  """
4746
- ...
4747
4728
 
4748
4729
  class Samp(BaseHTML):
4749
4730
  @overload
@@ -4989,7 +4970,6 @@ class Samp(BaseHTML):
4989
4970
  Returns:
4990
4971
  The component.
4991
4972
  """
4992
- ...
4993
4973
 
4994
4974
  class Small(BaseHTML):
4995
4975
  @overload
@@ -5235,7 +5215,6 @@ class Small(BaseHTML):
5235
5215
  Returns:
5236
5216
  The component.
5237
5217
  """
5238
- ...
5239
5218
 
5240
5219
  class Span(BaseHTML):
5241
5220
  @overload
@@ -5481,7 +5460,6 @@ class Span(BaseHTML):
5481
5460
  Returns:
5482
5461
  The component.
5483
5462
  """
5484
- ...
5485
5463
 
5486
5464
  class Strong(BaseHTML):
5487
5465
  @overload
@@ -5727,7 +5705,6 @@ class Strong(BaseHTML):
5727
5705
  Returns:
5728
5706
  The component.
5729
5707
  """
5730
- ...
5731
5708
 
5732
5709
  class Sub(BaseHTML):
5733
5710
  @overload
@@ -5973,7 +5950,6 @@ class Sub(BaseHTML):
5973
5950
  Returns:
5974
5951
  The component.
5975
5952
  """
5976
- ...
5977
5953
 
5978
5954
  class Sup(BaseHTML):
5979
5955
  @overload
@@ -6219,7 +6195,6 @@ class Sup(BaseHTML):
6219
6195
  Returns:
6220
6196
  The component.
6221
6197
  """
6222
- ...
6223
6198
 
6224
6199
  class Time(BaseHTML):
6225
6200
  @overload
@@ -6467,7 +6442,6 @@ class Time(BaseHTML):
6467
6442
  Returns:
6468
6443
  The component.
6469
6444
  """
6470
- ...
6471
6445
 
6472
6446
  class U(BaseHTML):
6473
6447
  @overload
@@ -6713,7 +6687,6 @@ class U(BaseHTML):
6713
6687
  Returns:
6714
6688
  The component.
6715
6689
  """
6716
- ...
6717
6690
 
6718
6691
  class Wbr(BaseHTML):
6719
6692
  @overload
@@ -6959,7 +6932,6 @@ class Wbr(BaseHTML):
6959
6932
  Returns:
6960
6933
  The component.
6961
6934
  """
6962
- ...
6963
6935
 
6964
6936
  a = A.create
6965
6937
  abbr = Abbr.create
@@ -484,6 +484,30 @@ class Path(BaseHTML):
484
484
  d: Var[str | int | float]
485
485
 
486
486
 
487
+ class G(BaseHTML):
488
+ """The SVG g component, used to group other SVG elements."""
489
+
490
+ tag = "g"
491
+
492
+ # The fill color of the group.
493
+ fill: Var[str | Color]
494
+
495
+ # The fill opacity of the group.
496
+ fill_opacity: Var[str | int | float]
497
+
498
+ # The stroke color of the group.
499
+ stroke: Var[str | Color]
500
+
501
+ # The stroke opacity of the group.
502
+ stroke_opacity: Var[str | int | float]
503
+
504
+ # The stroke width of the group.
505
+ stroke_width: Var[str | int | float]
506
+
507
+ # The transform applied to the group.
508
+ transform: Var[str]
509
+
510
+
487
511
  class SVG(ComponentNamespace):
488
512
  """SVG component namespace."""
489
513
 
@@ -498,6 +522,7 @@ class SVG(ComponentNamespace):
498
522
  linear_gradient = staticmethod(LinearGradient.create)
499
523
  radial_gradient = staticmethod(RadialGradient.create)
500
524
  defs = staticmethod(Defs.create)
525
+ g = staticmethod(G.create)
501
526
  __call__ = staticmethod(Svg.create)
502
527
 
503
528
 
@@ -512,6 +537,7 @@ stop = Stop.create
512
537
  linear_gradient = LinearGradient.create
513
538
  radial_gradient = RadialGradient.create
514
539
  defs = Defs.create
540
+ g = G.create
515
541
  area = Area.create
516
542
  audio = Audio.create
517
543
  image = img = Img.create
@@ -302,7 +302,6 @@ class Area(BaseHTML):
302
302
  Returns:
303
303
  The component.
304
304
  """
305
- ...
306
305
 
307
306
  CrossOrigin = Literal["anonymous", "use-credentials", ""]
308
307
 
@@ -566,7 +565,6 @@ class Audio(BaseHTML):
566
565
  Returns:
567
566
  The component.
568
567
  """
569
- ...
570
568
 
571
569
  ImageDecoding = Literal["async", "auto", "sync"]
572
570
  ImageLoading = Literal["eager", "lazy"]
@@ -861,7 +859,6 @@ class Img(BaseHTML):
861
859
  Returns:
862
860
  The component.
863
861
  """
864
- ...
865
862
 
866
863
  class Map(BaseHTML):
867
864
  @overload
@@ -1109,7 +1106,6 @@ class Map(BaseHTML):
1109
1106
  Returns:
1110
1107
  The component.
1111
1108
  """
1112
- ...
1113
1109
 
1114
1110
  class Track(BaseHTML):
1115
1111
  @overload
@@ -1365,7 +1361,6 @@ class Track(BaseHTML):
1365
1361
  Returns:
1366
1362
  The component.
1367
1363
  """
1368
- ...
1369
1364
 
1370
1365
  class Video(BaseHTML):
1371
1366
  @overload
@@ -1631,7 +1626,6 @@ class Video(BaseHTML):
1631
1626
  Returns:
1632
1627
  The component.
1633
1628
  """
1634
- ...
1635
1629
 
1636
1630
  class Embed(BaseHTML):
1637
1631
  @overload
@@ -1881,7 +1875,6 @@ class Embed(BaseHTML):
1881
1875
  Returns:
1882
1876
  The component.
1883
1877
  """
1884
- ...
1885
1878
 
1886
1879
  class Iframe(BaseHTML):
1887
1880
  @overload
@@ -2165,7 +2158,6 @@ class Iframe(BaseHTML):
2165
2158
  Returns:
2166
2159
  The component.
2167
2160
  """
2168
- ...
2169
2161
 
2170
2162
  class Object(BaseHTML):
2171
2163
  @overload
@@ -2421,7 +2413,6 @@ class Object(BaseHTML):
2421
2413
  Returns:
2422
2414
  The component.
2423
2415
  """
2424
- ...
2425
2416
 
2426
2417
  class Picture(BaseHTML):
2427
2418
  @overload
@@ -2667,7 +2658,6 @@ class Picture(BaseHTML):
2667
2658
  Returns:
2668
2659
  The component.
2669
2660
  """
2670
- ...
2671
2661
 
2672
2662
  class Portal(BaseHTML):
2673
2663
  @overload
@@ -2913,7 +2903,6 @@ class Portal(BaseHTML):
2913
2903
  Returns:
2914
2904
  The component.
2915
2905
  """
2916
- ...
2917
2906
 
2918
2907
  class Source(BaseHTML):
2919
2908
  @overload
@@ -3169,7 +3158,6 @@ class Source(BaseHTML):
3169
3158
  Returns:
3170
3159
  The component.
3171
3160
  """
3172
- ...
3173
3161
 
3174
3162
  class Svg(BaseHTML):
3175
3163
  @overload
@@ -3421,7 +3409,6 @@ class Svg(BaseHTML):
3421
3409
  Returns:
3422
3410
  The component.
3423
3411
  """
3424
- ...
3425
3412
 
3426
3413
  class Text(BaseHTML):
3427
3414
  @overload
@@ -3681,7 +3668,6 @@ class Text(BaseHTML):
3681
3668
  Returns:
3682
3669
  The component.
3683
3670
  """
3684
- ...
3685
3671
 
3686
3672
  class Line(BaseHTML):
3687
3673
  @overload
@@ -3937,7 +3923,6 @@ class Line(BaseHTML):
3937
3923
  Returns:
3938
3924
  The component.
3939
3925
  """
3940
- ...
3941
3926
 
3942
3927
  class Circle(BaseHTML):
3943
3928
  @overload
@@ -4191,7 +4176,6 @@ class Circle(BaseHTML):
4191
4176
  Returns:
4192
4177
  The component.
4193
4178
  """
4194
- ...
4195
4179
 
4196
4180
  class Ellipse(BaseHTML):
4197
4181
  @overload
@@ -4447,7 +4431,6 @@ class Ellipse(BaseHTML):
4447
4431
  Returns:
4448
4432
  The component.
4449
4433
  """
4450
- ...
4451
4434
 
4452
4435
  class Rect(BaseHTML):
4453
4436
  @overload
@@ -4707,7 +4690,6 @@ class Rect(BaseHTML):
4707
4690
  Returns:
4708
4691
  The component.
4709
4692
  """
4710
- ...
4711
4693
 
4712
4694
  class Polygon(BaseHTML):
4713
4695
  @overload
@@ -4957,7 +4939,6 @@ class Polygon(BaseHTML):
4957
4939
  Returns:
4958
4940
  The component.
4959
4941
  """
4960
- ...
4961
4942
 
4962
4943
  class Defs(BaseHTML):
4963
4944
  @overload
@@ -5203,7 +5184,6 @@ class Defs(BaseHTML):
5203
5184
  Returns:
5204
5185
  The component.
5205
5186
  """
5206
- ...
5207
5187
 
5208
5188
  class LinearGradient(BaseHTML):
5209
5189
  @overload
@@ -5463,7 +5443,6 @@ class LinearGradient(BaseHTML):
5463
5443
  Returns:
5464
5444
  The component.
5465
5445
  """
5466
- ...
5467
5446
 
5468
5447
  class RadialGradient(BaseHTML):
5469
5448
  @overload
@@ -5727,7 +5706,6 @@ class RadialGradient(BaseHTML):
5727
5706
  Returns:
5728
5707
  The component.
5729
5708
  """
5730
- ...
5731
5709
 
5732
5710
  class Stop(BaseHTML):
5733
5711
  @overload
@@ -5984,7 +5962,6 @@ class Stop(BaseHTML):
5984
5962
  Returns:
5985
5963
  The component.
5986
5964
  """
5987
- ...
5988
5965
 
5989
5966
  class Path(BaseHTML):
5990
5967
  @overload
@@ -6232,7 +6209,263 @@ class Path(BaseHTML):
6232
6209
  Returns:
6233
6210
  The component.
6234
6211
  """
6235
- ...
6212
+
6213
+ class G(BaseHTML):
6214
+ @overload
6215
+ @classmethod
6216
+ def create( # type: ignore
6217
+ cls,
6218
+ *children,
6219
+ fill: Color | Var[Color | str] | str | None = None,
6220
+ fill_opacity: Var[float | int | str] | float | int | str | None = None,
6221
+ stroke: Color | Var[Color | str] | str | None = None,
6222
+ stroke_opacity: Var[float | int | str] | float | int | str | None = None,
6223
+ stroke_width: Var[float | int | str] | float | int | str | None = None,
6224
+ transform: Var[str] | str | None = None,
6225
+ access_key: Var[str] | str | None = None,
6226
+ auto_capitalize: Literal[
6227
+ "characters", "none", "off", "on", "sentences", "words"
6228
+ ]
6229
+ | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
6230
+ | None = None,
6231
+ content_editable: Literal["inherit", "plaintext-only", False, True]
6232
+ | Var[Literal["inherit", "plaintext-only", False, True]]
6233
+ | None = None,
6234
+ context_menu: Var[str] | str | None = None,
6235
+ dir: Var[str] | str | None = None,
6236
+ draggable: Var[bool] | bool | None = None,
6237
+ enter_key_hint: Literal[
6238
+ "done", "enter", "go", "next", "previous", "search", "send"
6239
+ ]
6240
+ | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
6241
+ | None = None,
6242
+ hidden: Var[bool] | bool | None = None,
6243
+ input_mode: Literal[
6244
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
6245
+ ]
6246
+ | Var[
6247
+ Literal[
6248
+ "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
6249
+ ]
6250
+ ]
6251
+ | None = None,
6252
+ item_prop: Var[str] | str | None = None,
6253
+ lang: Var[str] | str | None = None,
6254
+ role: Literal[
6255
+ "alert",
6256
+ "alertdialog",
6257
+ "application",
6258
+ "article",
6259
+ "banner",
6260
+ "button",
6261
+ "cell",
6262
+ "checkbox",
6263
+ "columnheader",
6264
+ "combobox",
6265
+ "complementary",
6266
+ "contentinfo",
6267
+ "definition",
6268
+ "dialog",
6269
+ "directory",
6270
+ "document",
6271
+ "feed",
6272
+ "figure",
6273
+ "form",
6274
+ "grid",
6275
+ "gridcell",
6276
+ "group",
6277
+ "heading",
6278
+ "img",
6279
+ "link",
6280
+ "list",
6281
+ "listbox",
6282
+ "listitem",
6283
+ "log",
6284
+ "main",
6285
+ "marquee",
6286
+ "math",
6287
+ "menu",
6288
+ "menubar",
6289
+ "menuitem",
6290
+ "menuitemcheckbox",
6291
+ "menuitemradio",
6292
+ "navigation",
6293
+ "none",
6294
+ "note",
6295
+ "option",
6296
+ "presentation",
6297
+ "progressbar",
6298
+ "radio",
6299
+ "radiogroup",
6300
+ "region",
6301
+ "row",
6302
+ "rowgroup",
6303
+ "rowheader",
6304
+ "scrollbar",
6305
+ "search",
6306
+ "searchbox",
6307
+ "separator",
6308
+ "slider",
6309
+ "spinbutton",
6310
+ "status",
6311
+ "switch",
6312
+ "tab",
6313
+ "table",
6314
+ "tablist",
6315
+ "tabpanel",
6316
+ "term",
6317
+ "textbox",
6318
+ "timer",
6319
+ "toolbar",
6320
+ "tooltip",
6321
+ "tree",
6322
+ "treegrid",
6323
+ "treeitem",
6324
+ ]
6325
+ | Var[
6326
+ Literal[
6327
+ "alert",
6328
+ "alertdialog",
6329
+ "application",
6330
+ "article",
6331
+ "banner",
6332
+ "button",
6333
+ "cell",
6334
+ "checkbox",
6335
+ "columnheader",
6336
+ "combobox",
6337
+ "complementary",
6338
+ "contentinfo",
6339
+ "definition",
6340
+ "dialog",
6341
+ "directory",
6342
+ "document",
6343
+ "feed",
6344
+ "figure",
6345
+ "form",
6346
+ "grid",
6347
+ "gridcell",
6348
+ "group",
6349
+ "heading",
6350
+ "img",
6351
+ "link",
6352
+ "list",
6353
+ "listbox",
6354
+ "listitem",
6355
+ "log",
6356
+ "main",
6357
+ "marquee",
6358
+ "math",
6359
+ "menu",
6360
+ "menubar",
6361
+ "menuitem",
6362
+ "menuitemcheckbox",
6363
+ "menuitemradio",
6364
+ "navigation",
6365
+ "none",
6366
+ "note",
6367
+ "option",
6368
+ "presentation",
6369
+ "progressbar",
6370
+ "radio",
6371
+ "radiogroup",
6372
+ "region",
6373
+ "row",
6374
+ "rowgroup",
6375
+ "rowheader",
6376
+ "scrollbar",
6377
+ "search",
6378
+ "searchbox",
6379
+ "separator",
6380
+ "slider",
6381
+ "spinbutton",
6382
+ "status",
6383
+ "switch",
6384
+ "tab",
6385
+ "table",
6386
+ "tablist",
6387
+ "tabpanel",
6388
+ "term",
6389
+ "textbox",
6390
+ "timer",
6391
+ "toolbar",
6392
+ "tooltip",
6393
+ "tree",
6394
+ "treegrid",
6395
+ "treeitem",
6396
+ ]
6397
+ ]
6398
+ | None = None,
6399
+ slot: Var[str] | str | None = None,
6400
+ spell_check: Var[bool] | bool | None = None,
6401
+ tab_index: Var[int] | int | None = None,
6402
+ title: Var[str] | str | None = None,
6403
+ style: Sequence[Mapping[str, Any]]
6404
+ | Mapping[str, Any]
6405
+ | Var[Mapping[str, Any]]
6406
+ | Breakpoints
6407
+ | None = None,
6408
+ key: Any | None = None,
6409
+ id: Any | None = None,
6410
+ ref: Var | None = None,
6411
+ class_name: Any | None = None,
6412
+ autofocus: bool | None = None,
6413
+ custom_attrs: dict[str, Var | Any] | None = None,
6414
+ on_blur: EventType[()] | None = None,
6415
+ on_click: EventType[()] | None = None,
6416
+ on_context_menu: EventType[()] | None = None,
6417
+ on_double_click: EventType[()] | None = None,
6418
+ on_focus: EventType[()] | None = None,
6419
+ on_mount: EventType[()] | None = None,
6420
+ on_mouse_down: EventType[()] | None = None,
6421
+ on_mouse_enter: EventType[()] | None = None,
6422
+ on_mouse_leave: EventType[()] | None = None,
6423
+ on_mouse_move: EventType[()] | None = None,
6424
+ on_mouse_out: EventType[()] | None = None,
6425
+ on_mouse_over: EventType[()] | None = None,
6426
+ on_mouse_up: EventType[()] | None = None,
6427
+ on_scroll: EventType[()] | None = None,
6428
+ on_unmount: EventType[()] | None = None,
6429
+ **props,
6430
+ ) -> G:
6431
+ """Create the component.
6432
+
6433
+ Args:
6434
+ *children: The children of the component.
6435
+ fill: The fill color of the group.
6436
+ fill_opacity: The fill opacity of the group.
6437
+ stroke: The stroke color of the group.
6438
+ stroke_opacity: The stroke opacity of the group.
6439
+ stroke_width: The stroke width of the group.
6440
+ transform: The transform applied to the group.
6441
+ access_key: Provides a hint for generating a keyboard shortcut for the current element.
6442
+ auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
6443
+ content_editable: Indicates whether the element's content is editable.
6444
+ context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
6445
+ dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
6446
+ draggable: Defines whether the element can be dragged.
6447
+ enter_key_hint: Hints what media types the media element is able to play.
6448
+ hidden: Defines whether the element is hidden.
6449
+ input_mode: Defines the type of the element.
6450
+ item_prop: Defines the name of the element for metadata purposes.
6451
+ lang: Defines the language used in the element.
6452
+ role: Defines the role of the element.
6453
+ slot: Assigns a slot in a shadow DOM shadow tree to an element.
6454
+ spell_check: Defines whether the element may be checked for spelling errors.
6455
+ tab_index: Defines the position of the current element in the tabbing order.
6456
+ title: Defines a tooltip for the element.
6457
+ style: The style of the component.
6458
+ key: A unique key for the component.
6459
+ id: The id for the component.
6460
+ ref: The Var to pass as the ref to the component.
6461
+ class_name: The class name for the component.
6462
+ autofocus: Whether the component should take the focus once the page is loaded
6463
+ custom_attrs: custom attribute
6464
+ **props: The props of the component.
6465
+
6466
+ Returns:
6467
+ The component.
6468
+ """
6236
6469
 
6237
6470
  class SVG(ComponentNamespace):
6238
6471
  text = staticmethod(Text.create)
@@ -6246,6 +6479,7 @@ class SVG(ComponentNamespace):
6246
6479
  linear_gradient = staticmethod(LinearGradient.create)
6247
6480
  radial_gradient = staticmethod(RadialGradient.create)
6248
6481
  defs = staticmethod(Defs.create)
6482
+ g = staticmethod(G.create)
6249
6483
 
6250
6484
  @staticmethod
6251
6485
  def __call__(
@@ -6494,7 +6728,6 @@ class SVG(ComponentNamespace):
6494
6728
  Returns:
6495
6729
  The component.
6496
6730
  """
6497
- ...
6498
6731
 
6499
6732
  text = Text.create
6500
6733
  line = Line.create
@@ -6507,6 +6740,7 @@ stop = Stop.create
6507
6740
  linear_gradient = LinearGradient.create
6508
6741
  radial_gradient = RadialGradient.create
6509
6742
  defs = Defs.create
6743
+ g = G.create
6510
6744
  area = Area.create
6511
6745
  audio = Audio.create
6512
6746
  image = img = Img.create