reflex 0.7.13a2__py3-none-any.whl → 0.7.14a2__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 +49 -41
  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 +14 -15
  53. reflex/components/el/elements/forms.pyi +15 -32
  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 +2 -4
  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 +20 -2
  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.14a2.dist-info}/METADATA +1 -1
  252. reflex-0.7.14a2.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.14a2.dist-info}/WHEEL +0 -0
  255. {reflex-0.7.13a2.dist-info → reflex-0.7.14a2.dist-info}/entry_points.txt +0 -0
  256. {reflex-0.7.13a2.dist-info → reflex-0.7.14a2.dist-info}/licenses/LICENSE +0 -0
@@ -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
@@ -13,7 +13,6 @@ class Base(BaseHTML):
13
13
 
14
14
  tag = "base"
15
15
 
16
- tag = "base"
17
16
  href: Var[str]
18
17
  target: Var[str]
19
18
 
@@ -259,7 +259,6 @@ class Base(BaseHTML):
259
259
  Returns:
260
260
  The component.
261
261
  """
262
- ...
263
262
 
264
263
  class Head(BaseHTML):
265
264
  @overload
@@ -505,7 +504,6 @@ class Head(BaseHTML):
505
504
  Returns:
506
505
  The component.
507
506
  """
508
- ...
509
507
 
510
508
  class Link(BaseHTML):
511
509
  @overload
@@ -795,7 +793,6 @@ class Link(BaseHTML):
795
793
  Returns:
796
794
  The component.
797
795
  """
798
- ...
799
796
 
800
797
  class Meta(BaseHTML):
801
798
  @overload
@@ -1049,7 +1046,6 @@ class Meta(BaseHTML):
1049
1046
  Returns:
1050
1047
  The component.
1051
1048
  """
1052
- ...
1053
1049
 
1054
1050
  class Title(Element):
1055
1051
  @overload
@@ -1101,7 +1097,6 @@ class Title(Element):
1101
1097
  Returns:
1102
1098
  The component.
1103
1099
  """
1104
- ...
1105
1100
 
1106
1101
  class StyleEl(Element):
1107
1102
  @overload
@@ -1155,7 +1150,6 @@ class StyleEl(Element):
1155
1150
  Returns:
1156
1151
  The component.
1157
1152
  """
1158
- ...
1159
1153
 
1160
1154
  base = Base.create
1161
1155
  head = Head.create
@@ -258,7 +258,6 @@ class Details(BaseHTML):
258
258
  Returns:
259
259
  The component.
260
260
  """
261
- ...
262
261
 
263
262
  class Dialog(BaseHTML):
264
263
  @overload
@@ -506,7 +505,6 @@ class Dialog(BaseHTML):
506
505
  Returns:
507
506
  The component.
508
507
  """
509
- ...
510
508
 
511
509
  class Summary(BaseHTML):
512
510
  @overload
@@ -752,7 +750,6 @@ class Summary(BaseHTML):
752
750
  Returns:
753
751
  The component.
754
752
  """
755
- ...
756
753
 
757
754
  class Slot(BaseHTML):
758
755
  @overload
@@ -998,7 +995,6 @@ class Slot(BaseHTML):
998
995
  Returns:
999
996
  The component.
1000
997
  """
1001
- ...
1002
998
 
1003
999
  class Template(BaseHTML):
1004
1000
  @overload
@@ -1244,7 +1240,6 @@ class Template(BaseHTML):
1244
1240
  Returns:
1245
1241
  The component.
1246
1242
  """
1247
- ...
1248
1243
 
1249
1244
  class Math(BaseHTML):
1250
1245
  @overload
@@ -1490,7 +1485,6 @@ class Math(BaseHTML):
1490
1485
  Returns:
1491
1486
  The component.
1492
1487
  """
1493
- ...
1494
1488
 
1495
1489
  class Html(BaseHTML):
1496
1490
  @overload
@@ -1738,7 +1732,6 @@ class Html(BaseHTML):
1738
1732
  Returns:
1739
1733
  The component.
1740
1734
  """
1741
- ...
1742
1735
 
1743
1736
  details = Details.create
1744
1737
  dialog = Dialog.create
@@ -256,7 +256,6 @@ class Canvas(BaseHTML):
256
256
  Returns:
257
257
  The component.
258
258
  """
259
- ...
260
259
 
261
260
  class Noscript(BaseHTML):
262
261
  @overload
@@ -502,7 +501,6 @@ class Noscript(BaseHTML):
502
501
  Returns:
503
502
  The component.
504
503
  """
505
- ...
506
504
 
507
505
  class Script(BaseHTML):
508
506
  @overload
@@ -790,7 +788,6 @@ class Script(BaseHTML):
790
788
  Returns:
791
789
  The component.
792
790
  """
793
- ...
794
791
 
795
792
  canvas = Canvas.create
796
793
  noscript = Noscript.create
@@ -256,7 +256,6 @@ class Body(BaseHTML):
256
256
  Returns:
257
257
  The component.
258
258
  """
259
- ...
260
259
 
261
260
  class Address(BaseHTML):
262
261
  @overload
@@ -502,7 +501,6 @@ class Address(BaseHTML):
502
501
  Returns:
503
502
  The component.
504
503
  """
505
- ...
506
504
 
507
505
  class Article(BaseHTML):
508
506
  @overload
@@ -748,7 +746,6 @@ class Article(BaseHTML):
748
746
  Returns:
749
747
  The component.
750
748
  """
751
- ...
752
749
 
753
750
  class Aside(BaseHTML):
754
751
  @overload
@@ -994,7 +991,6 @@ class Aside(BaseHTML):
994
991
  Returns:
995
992
  The component.
996
993
  """
997
- ...
998
994
 
999
995
  class Footer(BaseHTML):
1000
996
  @overload
@@ -1240,7 +1236,6 @@ class Footer(BaseHTML):
1240
1236
  Returns:
1241
1237
  The component.
1242
1238
  """
1243
- ...
1244
1239
 
1245
1240
  class Header(BaseHTML):
1246
1241
  @overload
@@ -1486,7 +1481,6 @@ class Header(BaseHTML):
1486
1481
  Returns:
1487
1482
  The component.
1488
1483
  """
1489
- ...
1490
1484
 
1491
1485
  class H1(BaseHTML):
1492
1486
  @overload
@@ -1732,7 +1726,6 @@ class H1(BaseHTML):
1732
1726
  Returns:
1733
1727
  The component.
1734
1728
  """
1735
- ...
1736
1729
 
1737
1730
  class H2(BaseHTML):
1738
1731
  @overload
@@ -1978,7 +1971,6 @@ class H2(BaseHTML):
1978
1971
  Returns:
1979
1972
  The component.
1980
1973
  """
1981
- ...
1982
1974
 
1983
1975
  class H3(BaseHTML):
1984
1976
  @overload
@@ -2224,7 +2216,6 @@ class H3(BaseHTML):
2224
2216
  Returns:
2225
2217
  The component.
2226
2218
  """
2227
- ...
2228
2219
 
2229
2220
  class H4(BaseHTML):
2230
2221
  @overload
@@ -2470,7 +2461,6 @@ class H4(BaseHTML):
2470
2461
  Returns:
2471
2462
  The component.
2472
2463
  """
2473
- ...
2474
2464
 
2475
2465
  class H5(BaseHTML):
2476
2466
  @overload
@@ -2716,7 +2706,6 @@ class H5(BaseHTML):
2716
2706
  Returns:
2717
2707
  The component.
2718
2708
  """
2719
- ...
2720
2709
 
2721
2710
  class H6(BaseHTML):
2722
2711
  @overload
@@ -2962,7 +2951,6 @@ class H6(BaseHTML):
2962
2951
  Returns:
2963
2952
  The component.
2964
2953
  """
2965
- ...
2966
2954
 
2967
2955
  class Main(BaseHTML):
2968
2956
  @overload
@@ -3208,7 +3196,6 @@ class Main(BaseHTML):
3208
3196
  Returns:
3209
3197
  The component.
3210
3198
  """
3211
- ...
3212
3199
 
3213
3200
  class Nav(BaseHTML):
3214
3201
  @overload
@@ -3454,7 +3441,6 @@ class Nav(BaseHTML):
3454
3441
  Returns:
3455
3442
  The component.
3456
3443
  """
3457
- ...
3458
3444
 
3459
3445
  class Section(BaseHTML):
3460
3446
  @overload
@@ -3700,7 +3686,6 @@ class Section(BaseHTML):
3700
3686
  Returns:
3701
3687
  The component.
3702
3688
  """
3703
- ...
3704
3689
 
3705
3690
  address = Address.create
3706
3691
  article = Article.create