reflex 0.7.4a3__py3-none-any.whl → 0.7.5__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 (160) hide show
  1. reflex/__init__.py +1 -0
  2. reflex/__init__.pyi +1 -0
  3. reflex/app.py +10 -6
  4. reflex/app_mixins/middleware.py +13 -20
  5. reflex/compiler/compiler.py +10 -3
  6. reflex/compiler/utils.py +4 -4
  7. reflex/components/base/app_wrap.pyi +7 -3
  8. reflex/components/base/body.pyi +7 -3
  9. reflex/components/base/document.pyi +27 -7
  10. reflex/components/base/error_boundary.pyi +7 -3
  11. reflex/components/base/fragment.pyi +7 -3
  12. reflex/components/base/head.pyi +12 -4
  13. reflex/components/base/link.pyi +12 -4
  14. reflex/components/base/meta.pyi +22 -6
  15. reflex/components/base/script.pyi +7 -3
  16. reflex/components/base/strict_mode.pyi +7 -3
  17. reflex/components/component.py +64 -23
  18. reflex/components/core/auto_scroll.pyi +7 -3
  19. reflex/components/core/banner.py +6 -2
  20. reflex/components/core/banner.pyi +32 -8
  21. reflex/components/core/client_side_routing.pyi +12 -4
  22. reflex/components/core/clipboard.pyi +7 -3
  23. reflex/components/core/debounce.pyi +7 -3
  24. reflex/components/core/foreach.py +5 -1
  25. reflex/components/core/html.pyi +7 -3
  26. reflex/components/core/match.py +5 -5
  27. reflex/components/core/sticky.pyi +21 -6
  28. reflex/components/core/upload.pyi +27 -7
  29. reflex/components/datadisplay/code.pyi +12 -4
  30. reflex/components/datadisplay/dataeditor.py +2 -2
  31. reflex/components/datadisplay/dataeditor.pyi +17 -3
  32. reflex/components/datadisplay/shiki_code_block.pyi +17 -4
  33. reflex/components/el/__init__.pyi +1 -1
  34. reflex/components/el/element.pyi +7 -3
  35. reflex/components/el/elements/__init__.py +3 -1
  36. reflex/components/el/elements/__init__.pyi +3 -2
  37. reflex/components/el/elements/base.pyi +7 -3
  38. reflex/components/el/elements/forms.py +1 -1
  39. reflex/components/el/elements/forms.pyi +72 -16
  40. reflex/components/el/elements/inline.pyi +142 -30
  41. reflex/components/el/elements/media.pyi +127 -27
  42. reflex/components/el/elements/metadata.pyi +32 -8
  43. reflex/components/el/elements/other.pyi +37 -9
  44. reflex/components/el/elements/scripts.pyi +17 -5
  45. reflex/components/el/elements/sectioning.pyi +77 -17
  46. reflex/components/el/elements/tables.pyi +52 -12
  47. reflex/components/el/elements/typography.pyi +77 -17
  48. reflex/components/gridjs/datatable.py +2 -2
  49. reflex/components/gridjs/datatable.pyi +12 -4
  50. reflex/components/lucide/icon.py +7 -6
  51. reflex/components/lucide/icon.pyi +22 -7
  52. reflex/components/markdown/markdown.py +1 -1
  53. reflex/components/markdown/markdown.pyi +7 -3
  54. reflex/components/moment/moment.pyi +7 -3
  55. reflex/components/next/base.pyi +7 -3
  56. reflex/components/next/image.pyi +7 -3
  57. reflex/components/next/link.pyi +7 -3
  58. reflex/components/next/video.pyi +7 -3
  59. reflex/components/plotly/plotly.pyi +47 -11
  60. reflex/components/radix/primitives/accordion.pyi +37 -9
  61. reflex/components/radix/primitives/base.pyi +12 -4
  62. reflex/components/radix/primitives/drawer.pyi +57 -13
  63. reflex/components/radix/primitives/form.pyi +52 -12
  64. reflex/components/radix/primitives/progress.pyi +27 -7
  65. reflex/components/radix/primitives/slider.pyi +27 -7
  66. reflex/components/radix/themes/base.pyi +41 -10
  67. reflex/components/radix/themes/color_mode.py +2 -2
  68. reflex/components/radix/themes/color_mode.pyi +17 -5
  69. reflex/components/radix/themes/components/alert_dialog.pyi +36 -9
  70. reflex/components/radix/themes/components/aspect_ratio.pyi +7 -3
  71. reflex/components/radix/themes/components/avatar.pyi +6 -3
  72. reflex/components/radix/themes/components/badge.pyi +6 -3
  73. reflex/components/radix/themes/components/button.pyi +6 -3
  74. reflex/components/radix/themes/components/callout.pyi +26 -7
  75. reflex/components/radix/themes/components/card.pyi +6 -3
  76. reflex/components/radix/themes/components/checkbox.pyi +16 -5
  77. reflex/components/radix/themes/components/checkbox_cards.pyi +11 -4
  78. reflex/components/radix/themes/components/checkbox_group.pyi +11 -4
  79. reflex/components/radix/themes/components/context_menu.pyi +66 -15
  80. reflex/components/radix/themes/components/data_list.pyi +21 -6
  81. reflex/components/radix/themes/components/dialog.pyi +36 -9
  82. reflex/components/radix/themes/components/dropdown_menu.pyi +41 -10
  83. reflex/components/radix/themes/components/hover_card.pyi +21 -6
  84. reflex/components/radix/themes/components/icon_button.pyi +6 -3
  85. reflex/components/radix/themes/components/inset.pyi +6 -3
  86. reflex/components/radix/themes/components/popover.pyi +21 -6
  87. reflex/components/radix/themes/components/progress.pyi +6 -3
  88. reflex/components/radix/themes/components/radio.pyi +6 -3
  89. reflex/components/radix/themes/components/radio_cards.pyi +11 -4
  90. reflex/components/radix/themes/components/radio_group.py +6 -1
  91. reflex/components/radix/themes/components/radio_group.pyi +21 -6
  92. reflex/components/radix/themes/components/scroll_area.pyi +7 -3
  93. reflex/components/radix/themes/components/segmented_control.pyi +11 -4
  94. reflex/components/radix/themes/components/select.pyi +46 -11
  95. reflex/components/radix/themes/components/separator.pyi +6 -3
  96. reflex/components/radix/themes/components/skeleton.pyi +6 -3
  97. reflex/components/radix/themes/components/slider.pyi +6 -3
  98. reflex/components/radix/themes/components/spinner.pyi +6 -3
  99. reflex/components/radix/themes/components/switch.pyi +6 -3
  100. reflex/components/radix/themes/components/table.pyi +36 -9
  101. reflex/components/radix/themes/components/tabs.pyi +26 -7
  102. reflex/components/radix/themes/components/text_area.pyi +6 -3
  103. reflex/components/radix/themes/components/text_field.py +3 -2
  104. reflex/components/radix/themes/components/text_field.pyi +16 -5
  105. reflex/components/radix/themes/components/tooltip.pyi +7 -3
  106. reflex/components/radix/themes/layout/base.pyi +6 -3
  107. reflex/components/radix/themes/layout/box.pyi +7 -3
  108. reflex/components/radix/themes/layout/center.pyi +6 -3
  109. reflex/components/radix/themes/layout/container.pyi +6 -3
  110. reflex/components/radix/themes/layout/flex.pyi +6 -3
  111. reflex/components/radix/themes/layout/grid.pyi +6 -3
  112. reflex/components/radix/themes/layout/list.pyi +27 -7
  113. reflex/components/radix/themes/layout/section.pyi +6 -3
  114. reflex/components/radix/themes/layout/spacer.pyi +6 -3
  115. reflex/components/radix/themes/layout/stack.pyi +16 -5
  116. reflex/components/radix/themes/typography/blockquote.pyi +6 -3
  117. reflex/components/radix/themes/typography/code.pyi +6 -3
  118. reflex/components/radix/themes/typography/heading.pyi +6 -3
  119. reflex/components/radix/themes/typography/link.pyi +6 -3
  120. reflex/components/radix/themes/typography/text.pyi +36 -9
  121. reflex/components/react_player/audio.pyi +7 -3
  122. reflex/components/react_player/react_player.pyi +7 -3
  123. reflex/components/react_player/video.pyi +7 -3
  124. reflex/components/recharts/cartesian.pyi +97 -21
  125. reflex/components/recharts/charts.pyi +62 -14
  126. reflex/components/recharts/general.pyi +32 -8
  127. reflex/components/recharts/polar.py +1 -1
  128. reflex/components/recharts/polar.pyi +33 -9
  129. reflex/components/recharts/recharts.pyi +12 -4
  130. reflex/components/sonner/toast.pyi +7 -2
  131. reflex/components/suneditor/editor.pyi +7 -3
  132. reflex/config.py +15 -1
  133. reflex/constants/installer.py +22 -1
  134. reflex/custom_components/custom_components.py +12 -7
  135. reflex/event.py +26 -10
  136. reflex/experimental/__init__.py +17 -6
  137. reflex/experimental/layout.pyi +27 -7
  138. reflex/model.py +3 -3
  139. reflex/reflex.py +33 -18
  140. reflex/state.py +3 -3
  141. reflex/style.py +2 -2
  142. reflex/testing.py +17 -5
  143. reflex/utils/console.py +2 -3
  144. reflex/utils/exec.py +4 -0
  145. reflex/utils/imports.py +14 -7
  146. reflex/utils/prerequisites.py +72 -7
  147. reflex/utils/processes.py +52 -19
  148. reflex/utils/pyi_generator.py +66 -53
  149. reflex/utils/registry.py +5 -3
  150. reflex/utils/serializers.py +1 -2
  151. reflex/utils/types.py +4 -4
  152. reflex/vars/base.py +58 -22
  153. reflex/vars/number.py +23 -6
  154. reflex/vars/sequence.py +2 -0
  155. {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/METADATA +2 -2
  156. {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/RECORD +160 -160
  157. /reflex/{experimental → utils}/misc.py +0 -0
  158. {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/WHEEL +0 -0
  159. {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/entry_points.txt +0 -0
  160. {reflex-0.7.4a3.dist-info → reflex-0.7.5.dist-info}/licenses/LICENSE +0 -0
@@ -3,7 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from enum import Enum
6
- from typing import Any, Dict, Literal, Sequence, TypedDict
6
+ from typing import Any, Dict, Literal, Mapping, Sequence, TypedDict
7
7
 
8
8
  from reflex.base import Base
9
9
  from reflex.components.component import Component, NoSSRComponent
@@ -402,7 +402,7 @@ class DataEditor(NoSSRComponent):
402
402
 
403
403
  if "theme" in props:
404
404
  theme = props.get("theme")
405
- if isinstance(theme, Dict):
405
+ if isinstance(theme, Mapping):
406
406
  props["theme"] = DataEditorTheme(**theme)
407
407
 
408
408
  # Allow by default to select a region of cells in the grid.
@@ -4,12 +4,22 @@
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
6
  from enum import Enum
7
- from typing import Any, Dict, Literal, Optional, Sequence, TypedDict, Union, overload
7
+ from typing import (
8
+ Any,
9
+ Dict,
10
+ Literal,
11
+ Mapping,
12
+ Optional,
13
+ Sequence,
14
+ TypedDict,
15
+ Union,
16
+ overload,
17
+ )
8
18
 
9
19
  from reflex.base import Base
10
20
  from reflex.components.component import NoSSRComponent
21
+ from reflex.components.core.breakpoints import Breakpoints
11
22
  from reflex.event import EventType
12
- from reflex.style import Style
13
23
  from reflex.utils.imports import ImportDict
14
24
  from reflex.utils.serializers import serializer
15
25
  from reflex.vars.base import Var
@@ -165,7 +175,11 @@ class DataEditor(NoSSRComponent):
165
175
  scroll_offset_x: Var[int] | int | None = None,
166
176
  scroll_offset_y: Var[int] | int | None = None,
167
177
  theme: DataEditorTheme | Dict | Var[DataEditorTheme | Dict] | None = None,
168
- style: Style | None = None,
178
+ style: Sequence[Mapping[str, Any]]
179
+ | Mapping[str, Any]
180
+ | Var[Mapping[str, Any]]
181
+ | Breakpoints
182
+ | None = None,
169
183
  key: Any | None = None,
170
184
  id: Any | None = None,
171
185
  class_name: Any | None = None,
@@ -3,10 +3,11 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, overload
7
7
 
8
8
  from reflex.base import Base
9
9
  from reflex.components.component import Component, ComponentNamespace
10
+ from reflex.components.core.breakpoints import Breakpoints
10
11
  from reflex.components.markdown.markdown import MarkdownComponentMap
11
12
  from reflex.components.props import NoExtrasAllowedProps
12
13
  from reflex.event import EventType
@@ -908,7 +909,11 @@ class ShikiCodeBlock(Component, MarkdownComponentMap):
908
909
  | list[ShikiBaseTransformers | dict[str, Any]]
909
910
  | None = None,
910
911
  decorations: Var[list[ShikiDecorations]] | list[ShikiDecorations] | None = None,
911
- style: Style | None = None,
912
+ style: Sequence[Mapping[str, Any]]
913
+ | Mapping[str, Any]
914
+ | Var[Mapping[str, Any]]
915
+ | Breakpoints
916
+ | None = None,
912
917
  key: Any | None = None,
913
918
  id: Any | None = None,
914
919
  class_name: Any | None = None,
@@ -1521,7 +1526,11 @@ class ShikiHighLevelCodeBlock(ShikiCodeBlock):
1521
1526
  | list[ShikiBaseTransformers | dict[str, Any]]
1522
1527
  | None = None,
1523
1528
  decorations: Var[list[ShikiDecorations]] | list[ShikiDecorations] | None = None,
1524
- style: Style | None = None,
1529
+ style: Sequence[Mapping[str, Any]]
1530
+ | Mapping[str, Any]
1531
+ | Var[Mapping[str, Any]]
1532
+ | Breakpoints
1533
+ | None = None,
1525
1534
  key: Any | None = None,
1526
1535
  id: Any | None = None,
1527
1536
  class_name: Any | None = None,
@@ -2137,7 +2146,11 @@ class CodeblockNamespace(ComponentNamespace):
2137
2146
  | list[ShikiBaseTransformers | dict[str, Any]]
2138
2147
  | None = None,
2139
2148
  decorations: Var[list[ShikiDecorations]] | list[ShikiDecorations] | None = None,
2140
- style: Style | None = None,
2149
+ style: Sequence[Mapping[str, Any]]
2150
+ | Mapping[str, Any]
2151
+ | Var[Mapping[str, Any]]
2152
+ | Breakpoints
2153
+ | None = None,
2141
2154
  key: Any | None = None,
2142
2155
  id: Any | None = None,
2143
2156
  class_name: Any | None = None,
@@ -141,7 +141,7 @@ from .elements.metadata import Base as Base
141
141
  from .elements.metadata import Head as Head
142
142
  from .elements.metadata import Link as Link
143
143
  from .elements.metadata import Meta as Meta
144
- from .elements.metadata import Style as Style
144
+ from .elements.metadata import StyleEl as StyleEl
145
145
  from .elements.metadata import Title as Title
146
146
  from .elements.metadata import base as base
147
147
  from .elements.metadata import head as head
@@ -3,11 +3,11 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Optional, overload
6
+ from typing import Any, Mapping, Optional, Sequence, overload
7
7
 
8
8
  from reflex.components.component import Component
9
+ from reflex.components.core.breakpoints import Breakpoints
9
10
  from reflex.event import EventType
10
- from reflex.style import Style
11
11
  from reflex.vars.base import Var
12
12
 
13
13
  class Element(Component):
@@ -16,7 +16,11 @@ class Element(Component):
16
16
  def create( # type: ignore
17
17
  cls,
18
18
  *children,
19
- style: Style | None = None,
19
+ style: Sequence[Mapping[str, Any]]
20
+ | Mapping[str, Any]
21
+ | Var[Mapping[str, Any]]
22
+ | Breakpoints
23
+ | None = None,
20
24
  key: Any | None = None,
21
25
  id: Any | None = None,
22
26
  class_name: Any | None = None,
@@ -137,7 +137,7 @@ _MAPPING = {
137
137
  }
138
138
 
139
139
 
140
- EXCLUDE = ["del_", "Del", "image"]
140
+ EXCLUDE = ["del_", "Del", "image", "style"]
141
141
  for v in _MAPPING.values():
142
142
  from reflex.utils.format import to_camel_case
143
143
 
@@ -149,6 +149,8 @@ for v in _MAPPING.values():
149
149
  ]
150
150
  )
151
151
 
152
+ _MAPPING["metadata"].extend(["StyleEl"])
153
+
152
154
  _SUBMOD_ATTRS: dict[str, list[str]] = _MAPPING
153
155
 
154
156
  __getattr__, __dir__, __all__ = lazy_loader.attach(
@@ -140,7 +140,7 @@ from .metadata import Base as Base
140
140
  from .metadata import Head as Head
141
141
  from .metadata import Link as Link
142
142
  from .metadata import Meta as Meta
143
- from .metadata import Style as Style
143
+ from .metadata import StyleEl as StyleEl
144
144
  from .metadata import Title as Title
145
145
  from .metadata import base as base
146
146
  from .metadata import head as head
@@ -371,7 +371,7 @@ _MAPPING = {
371
371
  "Del",
372
372
  ],
373
373
  }
374
- EXCLUDE = ["del_", "Del", "image"]
374
+ EXCLUDE = ["del_", "Del", "image", "style"]
375
375
  for v in _MAPPING.values():
376
376
  from reflex.utils.format import to_camel_case
377
377
 
@@ -382,3 +382,4 @@ for v in _MAPPING.values():
382
382
  if mod not in EXCLUDE
383
383
  ]
384
384
  )
385
+ _MAPPING["metadata"].extend(["StyleEl"])
@@ -3,11 +3,11 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, overload
7
7
 
8
+ from reflex.components.core.breakpoints import Breakpoints
8
9
  from reflex.components.el.element import Element
9
10
  from reflex.event import EventType
10
- from reflex.style import Style
11
11
  from reflex.vars.base import Var
12
12
 
13
13
  AutoCapitalize = Literal["off", "none", "on", "sentences", "words", "characters"]
@@ -272,7 +272,11 @@ class BaseHTML(Element):
272
272
  spell_check: Var[bool] | bool | None = None,
273
273
  tab_index: Var[int] | int | None = None,
274
274
  title: Var[str] | str | None = None,
275
- style: Style | None = None,
275
+ style: Sequence[Mapping[str, Any]]
276
+ | Mapping[str, Any]
277
+ | Var[Mapping[str, Any]]
278
+ | Breakpoints
279
+ | None = None,
276
280
  key: Any | None = None,
277
281
  id: Any | None = None,
278
282
  class_name: Any | None = None,
@@ -427,7 +427,7 @@ class Input(BaseHTML):
427
427
  (value_var := Var.create(value))._var_type
428
428
  ):
429
429
  props["value"] = ternary_operation(
430
- (value_var != Var.create(None)) # pyright: ignore [reportArgumentType]
430
+ (value_var != Var.create(None))
431
431
  & (value_var != Var(_js_expr="undefined")),
432
432
  value,
433
433
  Var.create(""),
@@ -3,13 +3,13 @@
3
3
  # ------------------- DO NOT EDIT ----------------------
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
- from typing import Any, Literal, Optional, Union, overload
6
+ from typing import Any, Literal, Mapping, Optional, Sequence, Union, overload
7
7
 
8
8
  from jinja2 import Environment
9
9
 
10
+ from reflex.components.core.breakpoints import Breakpoints
10
11
  from reflex.components.el.element import Element
11
12
  from reflex.event import EventType, KeyInputInfo
12
- from reflex.style import Style
13
13
  from reflex.utils.imports import ImportDict
14
14
  from reflex.vars.base import Var
15
15
 
@@ -218,7 +218,11 @@ class Button(BaseHTML):
218
218
  spell_check: Var[bool] | bool | None = None,
219
219
  tab_index: Var[int] | int | None = None,
220
220
  title: Var[str] | str | None = None,
221
- style: Style | None = None,
221
+ style: Sequence[Mapping[str, Any]]
222
+ | Mapping[str, Any]
223
+ | Var[Mapping[str, Any]]
224
+ | Breakpoints
225
+ | None = None,
222
226
  key: Any | None = None,
223
227
  id: Any | None = None,
224
228
  class_name: Any | None = None,
@@ -469,7 +473,11 @@ class Datalist(BaseHTML):
469
473
  spell_check: Var[bool] | bool | None = None,
470
474
  tab_index: Var[int] | int | None = None,
471
475
  title: Var[str] | str | None = None,
472
- style: Style | None = None,
476
+ style: Sequence[Mapping[str, Any]]
477
+ | Mapping[str, Any]
478
+ | Var[Mapping[str, Any]]
479
+ | Breakpoints
480
+ | None = None,
473
481
  key: Any | None = None,
474
482
  id: Any | None = None,
475
483
  class_name: Any | None = None,
@@ -534,7 +542,11 @@ class Fieldset(Element):
534
542
  disabled: Var[bool] | bool | None = None,
535
543
  form: Var[str] | str | None = None,
536
544
  name: Var[str] | str | None = None,
537
- style: Style | None = None,
545
+ style: Sequence[Mapping[str, Any]]
546
+ | Mapping[str, Any]
547
+ | Var[Mapping[str, Any]]
548
+ | Breakpoints
549
+ | None = None,
538
550
  key: Any | None = None,
539
551
  id: Any | None = None,
540
552
  class_name: Any | None = None,
@@ -775,7 +787,11 @@ class Form(BaseHTML):
775
787
  spell_check: Var[bool] | bool | None = None,
776
788
  tab_index: Var[int] | int | None = None,
777
789
  title: Var[str] | str | None = None,
778
- style: Style | None = None,
790
+ style: Sequence[Mapping[str, Any]]
791
+ | Mapping[str, Any]
792
+ | Var[Mapping[str, Any]]
793
+ | Breakpoints
794
+ | None = None,
779
795
  key: Any | None = None,
780
796
  id: Any | None = None,
781
797
  class_name: Any | None = None,
@@ -1144,7 +1160,11 @@ class Input(BaseHTML):
1144
1160
  spell_check: Var[bool] | bool | None = None,
1145
1161
  tab_index: Var[int] | int | None = None,
1146
1162
  title: Var[str] | str | None = None,
1147
- style: Style | None = None,
1163
+ style: Sequence[Mapping[str, Any]]
1164
+ | Mapping[str, Any]
1165
+ | Var[Mapping[str, Any]]
1166
+ | Breakpoints
1167
+ | None = None,
1148
1168
  key: Any | None = None,
1149
1169
  id: Any | None = None,
1150
1170
  class_name: Any | None = None,
@@ -1429,7 +1449,11 @@ class Label(BaseHTML):
1429
1449
  spell_check: Var[bool] | bool | None = None,
1430
1450
  tab_index: Var[int] | int | None = None,
1431
1451
  title: Var[str] | str | None = None,
1432
- style: Style | None = None,
1452
+ style: Sequence[Mapping[str, Any]]
1453
+ | Mapping[str, Any]
1454
+ | Var[Mapping[str, Any]]
1455
+ | Breakpoints
1456
+ | None = None,
1433
1457
  key: Any | None = None,
1434
1458
  id: Any | None = None,
1435
1459
  class_name: Any | None = None,
@@ -1671,7 +1695,11 @@ class Legend(BaseHTML):
1671
1695
  spell_check: Var[bool] | bool | None = None,
1672
1696
  tab_index: Var[int] | int | None = None,
1673
1697
  title: Var[str] | str | None = None,
1674
- style: Style | None = None,
1698
+ style: Sequence[Mapping[str, Any]]
1699
+ | Mapping[str, Any]
1700
+ | Var[Mapping[str, Any]]
1701
+ | Breakpoints
1702
+ | None = None,
1675
1703
  key: Any | None = None,
1676
1704
  id: Any | None = None,
1677
1705
  class_name: Any | None = None,
@@ -1918,7 +1946,11 @@ class Meter(BaseHTML):
1918
1946
  spell_check: Var[bool] | bool | None = None,
1919
1947
  tab_index: Var[int] | int | None = None,
1920
1948
  title: Var[str] | str | None = None,
1921
- style: Style | None = None,
1949
+ style: Sequence[Mapping[str, Any]]
1950
+ | Mapping[str, Any]
1951
+ | Var[Mapping[str, Any]]
1952
+ | Breakpoints
1953
+ | None = None,
1922
1954
  key: Any | None = None,
1923
1955
  id: Any | None = None,
1924
1956
  class_name: Any | None = None,
@@ -2167,7 +2199,11 @@ class Optgroup(BaseHTML):
2167
2199
  spell_check: Var[bool] | bool | None = None,
2168
2200
  tab_index: Var[int] | int | None = None,
2169
2201
  title: Var[str] | str | None = None,
2170
- style: Style | None = None,
2202
+ style: Sequence[Mapping[str, Any]]
2203
+ | Mapping[str, Any]
2204
+ | Var[Mapping[str, Any]]
2205
+ | Breakpoints
2206
+ | None = None,
2171
2207
  key: Any | None = None,
2172
2208
  id: Any | None = None,
2173
2209
  class_name: Any | None = None,
@@ -2413,7 +2449,11 @@ class Option(BaseHTML):
2413
2449
  spell_check: Var[bool] | bool | None = None,
2414
2450
  tab_index: Var[int] | int | None = None,
2415
2451
  title: Var[str] | str | None = None,
2416
- style: Style | None = None,
2452
+ style: Sequence[Mapping[str, Any]]
2453
+ | Mapping[str, Any]
2454
+ | Var[Mapping[str, Any]]
2455
+ | Breakpoints
2456
+ | None = None,
2417
2457
  key: Any | None = None,
2418
2458
  id: Any | None = None,
2419
2459
  class_name: Any | None = None,
@@ -2660,7 +2700,11 @@ class Output(BaseHTML):
2660
2700
  spell_check: Var[bool] | bool | None = None,
2661
2701
  tab_index: Var[int] | int | None = None,
2662
2702
  title: Var[str] | str | None = None,
2663
- style: Style | None = None,
2703
+ style: Sequence[Mapping[str, Any]]
2704
+ | Mapping[str, Any]
2705
+ | Var[Mapping[str, Any]]
2706
+ | Breakpoints
2707
+ | None = None,
2664
2708
  key: Any | None = None,
2665
2709
  id: Any | None = None,
2666
2710
  class_name: Any | None = None,
@@ -2906,7 +2950,11 @@ class Progress(BaseHTML):
2906
2950
  spell_check: Var[bool] | bool | None = None,
2907
2951
  tab_index: Var[int] | int | None = None,
2908
2952
  title: Var[str] | str | None = None,
2909
- style: Style | None = None,
2953
+ style: Sequence[Mapping[str, Any]]
2954
+ | Mapping[str, Any]
2955
+ | Var[Mapping[str, Any]]
2956
+ | Breakpoints
2957
+ | None = None,
2910
2958
  key: Any | None = None,
2911
2959
  id: Any | None = None,
2912
2960
  class_name: Any | None = None,
@@ -3157,7 +3205,11 @@ class Select(BaseHTML):
3157
3205
  spell_check: Var[bool] | bool | None = None,
3158
3206
  tab_index: Var[int] | int | None = None,
3159
3207
  title: Var[str] | str | None = None,
3160
- style: Style | None = None,
3208
+ style: Sequence[Mapping[str, Any]]
3209
+ | Mapping[str, Any]
3210
+ | Var[Mapping[str, Any]]
3211
+ | Breakpoints
3212
+ | None = None,
3161
3213
  key: Any | None = None,
3162
3214
  id: Any | None = None,
3163
3215
  class_name: Any | None = None,
@@ -3428,7 +3480,11 @@ class Textarea(BaseHTML):
3428
3480
  spell_check: Var[bool] | bool | None = None,
3429
3481
  tab_index: Var[int] | int | None = None,
3430
3482
  title: Var[str] | str | None = None,
3431
- style: Style | None = None,
3483
+ style: Sequence[Mapping[str, Any]]
3484
+ | Mapping[str, Any]
3485
+ | Var[Mapping[str, Any]]
3486
+ | Breakpoints
3487
+ | None = None,
3432
3488
  key: Any | None = None,
3433
3489
  id: Any | None = None,
3434
3490
  class_name: Any | None = None,