reflex 0.7.1a3__py3-none-any.whl → 0.7.2__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 (227) hide show
  1. reflex/.templates/jinja/web/utils/context.js.jinja2 +8 -8
  2. reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +3 -3
  3. reflex/.templates/web/utils/state.js +18 -18
  4. reflex/admin.py +1 -2
  5. reflex/app.py +53 -50
  6. reflex/app_mixins/lifespan.py +2 -2
  7. reflex/app_mixins/middleware.py +1 -2
  8. reflex/assets.py +1 -2
  9. reflex/base.py +2 -2
  10. reflex/compiler/compiler.py +51 -16
  11. reflex/compiler/utils.py +4 -13
  12. reflex/components/base/app_wrap.pyi +7 -7
  13. reflex/components/base/bare.py +3 -3
  14. reflex/components/base/body.pyi +7 -7
  15. reflex/components/base/document.py +1 -3
  16. reflex/components/base/document.pyi +32 -32
  17. reflex/components/base/error_boundary.py +2 -4
  18. reflex/components/base/error_boundary.pyi +11 -13
  19. reflex/components/base/fragment.pyi +7 -7
  20. reflex/components/base/head.pyi +13 -13
  21. reflex/components/base/link.pyi +22 -22
  22. reflex/components/base/meta.py +5 -7
  23. reflex/components/base/meta.pyi +40 -40
  24. reflex/components/base/script.pyi +11 -14
  25. reflex/components/base/strict_mode.pyi +7 -7
  26. reflex/components/component.py +188 -113
  27. reflex/components/core/auto_scroll.py +8 -1
  28. reflex/components/core/auto_scroll.pyi +183 -210
  29. reflex/components/core/banner.py +2 -4
  30. reflex/components/core/banner.pyi +390 -444
  31. reflex/components/core/breakpoints.py +5 -5
  32. reflex/components/core/client_side_routing.pyi +14 -14
  33. reflex/components/core/clipboard.py +4 -4
  34. reflex/components/core/clipboard.pyi +12 -14
  35. reflex/components/core/cond.py +17 -25
  36. reflex/components/core/debounce.py +3 -3
  37. reflex/components/core/debounce.pyi +14 -14
  38. reflex/components/core/foreach.py +7 -2
  39. reflex/components/core/html.py +1 -3
  40. reflex/components/core/html.pyi +184 -213
  41. reflex/components/core/match.py +15 -19
  42. reflex/components/core/sticky.pyi +930 -1078
  43. reflex/components/core/upload.py +4 -4
  44. reflex/components/core/upload.pyi +62 -62
  45. reflex/components/datadisplay/code.py +6 -6
  46. reflex/components/datadisplay/code.pyi +1159 -1165
  47. reflex/components/datadisplay/dataeditor.py +49 -49
  48. reflex/components/datadisplay/dataeditor.pyi +95 -123
  49. reflex/components/datadisplay/logo.py +1 -3
  50. reflex/components/datadisplay/shiki_code_block.py +8 -10
  51. reflex/components/datadisplay/shiki_code_block.pyi +1678 -1720
  52. reflex/components/el/element.pyi +7 -7
  53. reflex/components/el/elements/base.pyi +183 -210
  54. reflex/components/el/elements/forms.py +24 -24
  55. reflex/components/el/elements/forms.pyi +2572 -2934
  56. reflex/components/el/elements/inline.py +4 -4
  57. reflex/components/el/elements/inline.pyi +5191 -5953
  58. reflex/components/el/elements/media.py +47 -47
  59. reflex/components/el/elements/media.pyi +4802 -5500
  60. reflex/components/el/elements/metadata.py +1 -3
  61. reflex/components/el/elements/metadata.pyi +782 -896
  62. reflex/components/el/elements/other.pyi +1278 -1467
  63. reflex/components/el/elements/scripts.pyi +580 -667
  64. reflex/components/el/elements/sectioning.pyi +2761 -3166
  65. reflex/components/el/elements/tables.pyi +1840 -2119
  66. reflex/components/el/elements/typography.pyi +2772 -3179
  67. reflex/components/gridjs/datatable.py +7 -7
  68. reflex/components/gridjs/datatable.pyi +19 -19
  69. reflex/components/lucide/icon.pyi +21 -21
  70. reflex/components/markdown/markdown.py +2 -2
  71. reflex/components/markdown/markdown.pyi +9 -9
  72. reflex/components/moment/moment.py +11 -12
  73. reflex/components/moment/moment.pyi +44 -47
  74. reflex/components/next/base.pyi +7 -7
  75. reflex/components/next/image.py +3 -3
  76. reflex/components/next/image.pyi +19 -21
  77. reflex/components/next/link.pyi +9 -9
  78. reflex/components/next/video.py +1 -3
  79. reflex/components/next/video.pyi +9 -9
  80. reflex/components/plotly/plotly.py +22 -45
  81. reflex/components/plotly/plotly.pyi +164 -164
  82. reflex/components/radix/primitives/accordion.py +14 -14
  83. reflex/components/radix/primitives/accordion.pyi +439 -487
  84. reflex/components/radix/primitives/base.py +1 -3
  85. reflex/components/radix/primitives/base.pyi +15 -15
  86. reflex/components/radix/primitives/drawer.py +3 -3
  87. reflex/components/radix/primitives/drawer.pyi +110 -116
  88. reflex/components/radix/primitives/form.py +1 -1
  89. reflex/components/radix/primitives/form.pyi +668 -752
  90. reflex/components/radix/primitives/progress.py +6 -6
  91. reflex/components/radix/primitives/progress.pyi +225 -243
  92. reflex/components/radix/primitives/slider.py +6 -6
  93. reflex/components/radix/primitives/slider.pyi +52 -55
  94. reflex/components/radix/themes/base.py +3 -6
  95. reflex/components/radix/themes/base.pyi +197 -303
  96. reflex/components/radix/themes/color_mode.py +5 -5
  97. reflex/components/radix/themes/color_mode.pyi +366 -436
  98. reflex/components/radix/themes/components/alert_dialog.pyi +229 -262
  99. reflex/components/radix/themes/components/aspect_ratio.py +1 -3
  100. reflex/components/radix/themes/components/aspect_ratio.pyi +8 -8
  101. reflex/components/radix/themes/components/avatar.pyi +79 -94
  102. reflex/components/radix/themes/components/badge.pyi +252 -295
  103. reflex/components/radix/themes/components/button.pyi +269 -314
  104. reflex/components/radix/themes/components/callout.py +2 -2
  105. reflex/components/radix/themes/components/callout.pyi +1116 -1290
  106. reflex/components/radix/themes/components/card.pyi +194 -229
  107. reflex/components/radix/themes/components/checkbox.pyi +243 -278
  108. reflex/components/radix/themes/components/checkbox_cards.py +3 -7
  109. reflex/components/radix/themes/components/checkbox_cards.pyi +101 -135
  110. reflex/components/radix/themes/components/checkbox_group.py +2 -2
  111. reflex/components/radix/themes/components/checkbox_group.pyi +83 -96
  112. reflex/components/radix/themes/components/context_menu.py +18 -15
  113. reflex/components/radix/themes/components/context_menu.pyi +408 -458
  114. reflex/components/radix/themes/components/data_list.pyi +122 -147
  115. reflex/components/radix/themes/components/dialog.pyi +231 -264
  116. reflex/components/radix/themes/components/dropdown_menu.py +16 -13
  117. reflex/components/radix/themes/components/dropdown_menu.pyi +223 -246
  118. reflex/components/radix/themes/components/hover_card.py +2 -2
  119. reflex/components/radix/themes/components/hover_card.pyi +237 -282
  120. reflex/components/radix/themes/components/icon_button.pyi +269 -314
  121. reflex/components/radix/themes/components/inset.py +8 -8
  122. reflex/components/radix/themes/components/inset.pyi +232 -292
  123. reflex/components/radix/themes/components/popover.py +2 -2
  124. reflex/components/radix/themes/components/popover.pyi +229 -271
  125. reflex/components/radix/themes/components/progress.pyi +80 -96
  126. reflex/components/radix/themes/components/radio.pyi +73 -86
  127. reflex/components/radix/themes/components/radio_cards.py +4 -8
  128. reflex/components/radix/themes/components/radio_cards.pyi +117 -154
  129. reflex/components/radix/themes/components/radio_group.py +3 -3
  130. reflex/components/radix/themes/components/radio_group.pyi +250 -291
  131. reflex/components/radix/themes/components/scroll_area.pyi +14 -20
  132. reflex/components/radix/themes/components/segmented_control.py +6 -6
  133. reflex/components/radix/themes/components/segmented_control.pyi +89 -108
  134. reflex/components/radix/themes/components/select.py +7 -7
  135. reflex/components/radix/themes/components/select.pyi +376 -444
  136. reflex/components/radix/themes/components/separator.pyi +79 -93
  137. reflex/components/radix/themes/components/skeleton.pyi +32 -26
  138. reflex/components/radix/themes/components/slider.py +8 -8
  139. reflex/components/radix/themes/components/slider.pyi +99 -122
  140. reflex/components/radix/themes/components/spinner.pyi +12 -19
  141. reflex/components/radix/themes/components/switch.pyi +84 -99
  142. reflex/components/radix/themes/components/table.py +9 -9
  143. reflex/components/radix/themes/components/table.pyi +1440 -1794
  144. reflex/components/radix/themes/components/tabs.py +4 -4
  145. reflex/components/radix/themes/components/tabs.pyi +120 -132
  146. reflex/components/radix/themes/components/text_area.pyi +281 -331
  147. reflex/components/radix/themes/components/text_field.py +2 -2
  148. reflex/components/radix/themes/components/text_field.pyi +639 -734
  149. reflex/components/radix/themes/components/tooltip.py +6 -6
  150. reflex/components/radix/themes/components/tooltip.pyi +34 -43
  151. reflex/components/radix/themes/layout/base.pyi +85 -182
  152. reflex/components/radix/themes/layout/box.pyi +183 -210
  153. reflex/components/radix/themes/layout/center.pyi +225 -286
  154. reflex/components/radix/themes/layout/container.pyi +191 -224
  155. reflex/components/radix/themes/layout/flex.py +2 -2
  156. reflex/components/radix/themes/layout/flex.pyi +225 -286
  157. reflex/components/radix/themes/layout/grid.py +2 -2
  158. reflex/components/radix/themes/layout/grid.pyi +245 -315
  159. reflex/components/radix/themes/layout/list.py +2 -2
  160. reflex/components/radix/themes/layout/list.pyi +712 -815
  161. reflex/components/radix/themes/layout/section.pyi +187 -221
  162. reflex/components/radix/themes/layout/spacer.pyi +225 -286
  163. reflex/components/radix/themes/layout/stack.pyi +625 -768
  164. reflex/components/radix/themes/typography/blockquote.pyi +257 -299
  165. reflex/components/radix/themes/typography/code.pyi +259 -304
  166. reflex/components/radix/themes/typography/heading.pyi +272 -324
  167. reflex/components/radix/themes/typography/link.pyi +302 -358
  168. reflex/components/radix/themes/typography/text.pyi +1669 -1945
  169. reflex/components/react_player/audio.pyi +20 -22
  170. reflex/components/react_player/react_player.pyi +19 -19
  171. reflex/components/react_player/video.pyi +20 -22
  172. reflex/components/recharts/cartesian.py +100 -97
  173. reflex/components/recharts/cartesian.pyi +891 -1007
  174. reflex/components/recharts/charts.py +42 -42
  175. reflex/components/recharts/charts.pyi +212 -249
  176. reflex/components/recharts/general.py +22 -21
  177. reflex/components/recharts/general.pyi +198 -223
  178. reflex/components/recharts/polar.py +42 -45
  179. reflex/components/recharts/polar.pyi +254 -288
  180. reflex/components/recharts/recharts.pyi +13 -13
  181. reflex/components/sonner/toast.py +20 -20
  182. reflex/components/sonner/toast.pyi +58 -61
  183. reflex/components/suneditor/editor.py +9 -9
  184. reflex/components/suneditor/editor.pyi +78 -83
  185. reflex/components/tags/cond_tag.py +2 -2
  186. reflex/components/tags/iter_tag.py +10 -14
  187. reflex/components/tags/match_tag.py +2 -2
  188. reflex/components/tags/tag.py +10 -10
  189. reflex/config.py +36 -35
  190. reflex/constants/__init__.py +56 -53
  191. reflex/custom_components/custom_components.py +6 -7
  192. reflex/event.py +38 -42
  193. reflex/experimental/client_state.py +2 -4
  194. reflex/experimental/layout.py +2 -2
  195. reflex/experimental/layout.pyi +579 -663
  196. reflex/istate/data.py +4 -5
  197. reflex/middleware/hydrate_middleware.py +2 -2
  198. reflex/middleware/middleware.py +2 -2
  199. reflex/model.py +3 -5
  200. reflex/page.py +2 -2
  201. reflex/reflex.py +9 -10
  202. reflex/state.py +77 -49
  203. reflex/style.py +11 -5
  204. reflex/testing.py +21 -24
  205. reflex/utils/console.py +1 -1
  206. reflex/utils/decorator.py +26 -1
  207. reflex/utils/exec.py +6 -11
  208. reflex/utils/export.py +2 -3
  209. reflex/utils/format.py +4 -4
  210. reflex/utils/imports.py +12 -12
  211. reflex/utils/prerequisites.py +35 -84
  212. reflex/utils/processes.py +5 -5
  213. reflex/utils/pyi_generator.py +33 -22
  214. reflex/utils/serializers.py +60 -15
  215. reflex/utils/types.py +237 -56
  216. reflex/vars/base.py +122 -72
  217. reflex/vars/datetime.py +2 -2
  218. reflex/vars/function.py +52 -55
  219. reflex/vars/number.py +59 -5
  220. reflex/vars/object.py +57 -26
  221. reflex/vars/sequence.py +983 -958
  222. {reflex-0.7.1a3.dist-info → reflex-0.7.2.dist-info}/METADATA +3 -6
  223. reflex-0.7.2.dist-info/RECORD +405 -0
  224. {reflex-0.7.1a3.dist-info → reflex-0.7.2.dist-info}/WHEEL +1 -1
  225. reflex-0.7.1a3.dist-info/RECORD +0 -405
  226. {reflex-0.7.1a3.dist-info → reflex-0.7.2.dist-info}/LICENSE +0 -0
  227. {reflex-0.7.1a3.dist-info → reflex-0.7.2.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  """Interactive components provided by @radix-ui/themes."""
2
2
 
3
- from typing import Dict, Literal, Union
3
+ from typing import Literal, Union
4
4
 
5
5
  from reflex.components.component import Component
6
6
  from reflex.constants.compiler import MemoizationMode
@@ -51,22 +51,22 @@ class Tooltip(RadixThemesComponent):
51
51
  side: Var[LiteralSideType]
52
52
 
53
53
  # The distance in pixels from the trigger. Defaults to 0.
54
- side_offset: Var[Union[float, int]]
54
+ side_offset: Var[float | int]
55
55
 
56
56
  # The preferred alignment against the trigger. May change when collisions occur. Defaults to "center".
57
57
  align: Var[LiteralAlignType]
58
58
 
59
59
  # An offset in pixels from the "start" or "end" alignment options.
60
- align_offset: Var[Union[float, int]]
60
+ align_offset: Var[float | int]
61
61
 
62
62
  # When true, overrides the side and align preferences to prevent collisions with boundary edges. Defaults to True.
63
63
  avoid_collisions: Var[bool]
64
64
 
65
65
  # The distance in pixels from the boundary edges where collision detection should occur. Accepts a number (same for all sides), or a partial padding object, for example: { "top": 20, "left": 20 }. Defaults to 0.
66
- collision_padding: Var[Union[float, int, Dict[str, Union[float, int]]]]
66
+ collision_padding: Var[Union[float, int, dict[str, float | int]]]
67
67
 
68
68
  # The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it from overflowing the corners. Defaults to 0.
69
- arrow_padding: Var[Union[float, int]]
69
+ arrow_padding: Var[float | int]
70
70
 
71
71
  # The sticky behavior on the align axis. "partial" will keep the content in the boundary as long as the trigger is at least partially in the boundary whilst "always" will keep the content in the boundary regardless. Defaults to "partial".
72
72
  sticky: Var[LiteralStickyType]
@@ -75,7 +75,7 @@ class Tooltip(RadixThemesComponent):
75
75
  hide_when_detached: Var[bool]
76
76
 
77
77
  # Override the duration in milliseconds to customize the open delay for a specific tooltip. Default is 700.
78
- delay_duration: Var[Union[float, int]]
78
+ delay_duration: Var[float | int]
79
79
 
80
80
  # Prevents Tooltip content from remaining open when hovering.
81
81
  disable_hoverable_content: Var[bool]
@@ -3,7 +3,7 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Dict, Literal, Optional, Union, overload
6
+ from typing import Any, Literal, Optional, overload
7
7
 
8
8
  from reflex.event import EventType
9
9
  from reflex.style import Style
@@ -22,47 +22,38 @@ class Tooltip(RadixThemesComponent):
22
22
  def create( # type: ignore
23
23
  cls,
24
24
  *children,
25
- content: Optional[Union[Var[str], str]] = None,
26
- default_open: Optional[Union[Var[bool], bool]] = None,
27
- open: Optional[Union[Var[bool], bool]] = None,
28
- side: Optional[
29
- Union[
30
- Literal["bottom", "left", "right", "top"],
31
- Var[Literal["bottom", "left", "right", "top"]],
32
- ]
33
- ] = None,
34
- side_offset: Optional[Union[Var[Union[float, int]], float, int]] = None,
35
- align: Optional[
36
- Union[
37
- Literal["center", "end", "start"],
38
- Var[Literal["center", "end", "start"]],
39
- ]
40
- ] = None,
41
- align_offset: Optional[Union[Var[Union[float, int]], float, int]] = None,
42
- avoid_collisions: Optional[Union[Var[bool], bool]] = None,
43
- collision_padding: Optional[
44
- Union[
45
- Dict[str, Union[float, int]],
46
- Var[Union[Dict[str, Union[float, int]], float, int]],
47
- float,
48
- int,
49
- ]
50
- ] = None,
51
- arrow_padding: Optional[Union[Var[Union[float, int]], float, int]] = None,
52
- sticky: Optional[
53
- Union[Literal["always", "partial"], Var[Literal["always", "partial"]]]
54
- ] = None,
55
- hide_when_detached: Optional[Union[Var[bool], bool]] = None,
56
- delay_duration: Optional[Union[Var[Union[float, int]], float, int]] = None,
57
- disable_hoverable_content: Optional[Union[Var[bool], bool]] = None,
58
- force_mount: Optional[Union[Var[bool], bool]] = None,
59
- aria_label: Optional[Union[Var[str], str]] = None,
60
- style: Optional[Style] = None,
61
- key: Optional[Any] = None,
62
- id: Optional[Any] = None,
63
- class_name: Optional[Any] = None,
64
- autofocus: Optional[bool] = None,
65
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
25
+ content: Var[str] | str | None = None,
26
+ default_open: Var[bool] | bool | None = None,
27
+ open: Var[bool] | bool | None = None,
28
+ side: Literal["bottom", "left", "right", "top"]
29
+ | Var[Literal["bottom", "left", "right", "top"]]
30
+ | None = None,
31
+ side_offset: Var[float | int] | float | int | None = None,
32
+ align: Literal["center", "end", "start"]
33
+ | Var[Literal["center", "end", "start"]]
34
+ | None = None,
35
+ align_offset: Var[float | int] | float | int | None = None,
36
+ avoid_collisions: Var[bool] | bool | None = None,
37
+ collision_padding: Var[dict[str, float | int] | float | int]
38
+ | dict[str, float | int]
39
+ | float
40
+ | int
41
+ | None = None,
42
+ arrow_padding: Var[float | int] | float | int | None = None,
43
+ sticky: Literal["always", "partial"]
44
+ | Var[Literal["always", "partial"]]
45
+ | None = None,
46
+ hide_when_detached: Var[bool] | bool | None = None,
47
+ delay_duration: Var[float | int] | float | int | None = None,
48
+ disable_hoverable_content: Var[bool] | bool | None = None,
49
+ force_mount: Var[bool] | bool | None = None,
50
+ aria_label: Var[str] | str | None = None,
51
+ style: Style | None = None,
52
+ key: Any | None = None,
53
+ id: Any | None = None,
54
+ class_name: Any | None = None,
55
+ autofocus: bool | None = None,
56
+ custom_attrs: dict[str, Var | Any] | None = None,
66
57
  on_blur: Optional[EventType[()]] = None,
67
58
  on_click: Optional[EventType[()]] = None,
68
59
  on_context_menu: Optional[EventType[()]] = None,
@@ -77,7 +68,7 @@ class Tooltip(RadixThemesComponent):
77
68
  on_mouse_out: Optional[EventType[()]] = None,
78
69
  on_mouse_over: Optional[EventType[()]] = None,
79
70
  on_mouse_up: Optional[EventType[()]] = None,
80
- on_open_change: Optional[Union[EventType[()], EventType[bool]]] = None,
71
+ on_open_change: Optional[EventType[()] | EventType[bool]] = None,
81
72
  on_pointer_down_outside: Optional[EventType[()]] = None,
82
73
  on_scroll: Optional[EventType[()]] = None,
83
74
  on_unmount: Optional[EventType[()]] = None,
@@ -3,7 +3,7 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Dict, Literal, Optional, Union, overload
6
+ from typing import Any, Literal, Optional, overload
7
7
 
8
8
  from reflex.components.core.breakpoints import Breakpoints
9
9
  from reflex.event import EventType
@@ -20,187 +20,90 @@ class LayoutComponent(CommonMarginProps, CommonPaddingProps, RadixThemesComponen
20
20
  def create( # type: ignore
21
21
  cls,
22
22
  *children,
23
- flex_shrink: Optional[
24
- Union[
25
- Breakpoints[str, Literal["0", "1"]],
26
- Literal["0", "1"],
27
- Var[Union[Breakpoints[str, Literal["0", "1"]], Literal["0", "1"]]],
28
- ]
29
- ] = None,
30
- flex_grow: Optional[
31
- Union[
32
- Breakpoints[str, Literal["0", "1"]],
33
- Literal["0", "1"],
34
- Var[Union[Breakpoints[str, Literal["0", "1"]], Literal["0", "1"]]],
35
- ]
36
- ] = None,
37
- m: Optional[
38
- Union[
39
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
40
- Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
41
- ]
42
- ] = None,
43
- mx: Optional[
44
- Union[
45
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
46
- Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
47
- ]
48
- ] = None,
49
- my: Optional[
50
- Union[
51
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
52
- Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
53
- ]
54
- ] = None,
55
- mt: Optional[
56
- Union[
57
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
58
- Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
59
- ]
60
- ] = None,
61
- mr: Optional[
62
- Union[
63
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
64
- Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
65
- ]
66
- ] = None,
67
- mb: Optional[
68
- Union[
69
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
70
- Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
71
- ]
72
- ] = None,
73
- ml: Optional[
74
- Union[
75
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
76
- Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]],
77
- ]
78
- ] = None,
79
- p: Optional[
80
- Union[
81
- Breakpoints[
82
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
83
- ],
84
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
85
- Var[
86
- Union[
87
- Breakpoints[
88
- str,
89
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
90
- ],
91
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
92
- ]
93
- ],
94
- ]
95
- ] = None,
96
- px: Optional[
97
- Union[
98
- Breakpoints[
99
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
100
- ],
101
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
102
- Var[
103
- Union[
104
- Breakpoints[
105
- str,
106
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
107
- ],
108
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
109
- ]
110
- ],
111
- ]
112
- ] = None,
113
- py: Optional[
114
- Union[
115
- Breakpoints[
116
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
117
- ],
118
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
119
- Var[
120
- Union[
121
- Breakpoints[
122
- str,
123
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
124
- ],
125
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
126
- ]
127
- ],
128
- ]
129
- ] = None,
130
- pt: Optional[
131
- Union[
132
- Breakpoints[
133
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
134
- ],
135
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
136
- Var[
137
- Union[
138
- Breakpoints[
139
- str,
140
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
141
- ],
142
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
143
- ]
144
- ],
145
- ]
146
- ] = None,
147
- pr: Optional[
148
- Union[
149
- Breakpoints[
150
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
151
- ],
152
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
153
- Var[
154
- Union[
155
- Breakpoints[
156
- str,
157
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
158
- ],
159
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
160
- ]
161
- ],
162
- ]
163
- ] = None,
164
- pb: Optional[
165
- Union[
166
- Breakpoints[
167
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
168
- ],
169
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
170
- Var[
171
- Union[
172
- Breakpoints[
173
- str,
174
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
175
- ],
176
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
177
- ]
178
- ],
179
- ]
180
- ] = None,
181
- pl: Optional[
182
- Union[
183
- Breakpoints[
184
- str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
185
- ],
186
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
187
- Var[
188
- Union[
189
- Breakpoints[
190
- str,
191
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
192
- ],
193
- Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
194
- ]
195
- ],
196
- ]
197
- ] = None,
198
- style: Optional[Style] = None,
199
- key: Optional[Any] = None,
200
- id: Optional[Any] = None,
201
- class_name: Optional[Any] = None,
202
- autofocus: Optional[bool] = None,
203
- custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
23
+ flex_shrink: Breakpoints[str, Literal["0", "1"]]
24
+ | Literal["0", "1"]
25
+ | Var[Breakpoints[str, Literal["0", "1"]] | Literal["0", "1"]]
26
+ | None = None,
27
+ flex_grow: Breakpoints[str, Literal["0", "1"]]
28
+ | Literal["0", "1"]
29
+ | Var[Breakpoints[str, Literal["0", "1"]] | Literal["0", "1"]]
30
+ | None = None,
31
+ m: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
32
+ | Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
33
+ | None = None,
34
+ mx: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
35
+ | Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
36
+ | None = None,
37
+ my: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
38
+ | Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
39
+ | None = None,
40
+ mt: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
41
+ | Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
42
+ | None = None,
43
+ mr: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
44
+ | Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
45
+ | None = None,
46
+ mb: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
47
+ | Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
48
+ | None = None,
49
+ ml: Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
50
+ | Var[Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
51
+ | None = None,
52
+ p: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
53
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
54
+ | Var[
55
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
56
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
57
+ ]
58
+ | None = None,
59
+ px: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
60
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
61
+ | Var[
62
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
63
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
64
+ ]
65
+ | None = None,
66
+ py: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
67
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
68
+ | Var[
69
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
70
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
71
+ ]
72
+ | None = None,
73
+ pt: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
74
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
75
+ | Var[
76
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
77
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
78
+ ]
79
+ | None = None,
80
+ pr: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
81
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
82
+ | Var[
83
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
84
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
85
+ ]
86
+ | None = None,
87
+ pb: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
88
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
89
+ | Var[
90
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
91
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
92
+ ]
93
+ | None = None,
94
+ pl: Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
95
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
96
+ | Var[
97
+ Breakpoints[str, Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]]
98
+ | Literal["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
99
+ ]
100
+ | None = None,
101
+ style: Style | None = None,
102
+ key: Any | None = None,
103
+ id: Any | None = None,
104
+ class_name: Any | None = None,
105
+ autofocus: bool | None = None,
106
+ custom_attrs: dict[str, Var | Any] | None = None,
204
107
  on_blur: Optional[EventType[()]] = None,
205
108
  on_click: Optional[EventType[()]] = None,
206
109
  on_context_menu: Optional[EventType[()]] = None,