reflex 0.8.15a2__py3-none-any.whl → 0.8.16a1__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 (138) hide show
  1. reflex/app.py +40 -46
  2. reflex/app_mixins/lifespan.py +12 -5
  3. reflex/base.py +1 -0
  4. reflex/compiler/compiler.py +4 -6
  5. reflex/compiler/templates.py +25 -31
  6. reflex/compiler/utils.py +6 -5
  7. reflex/components/base/body.pyi +1 -195
  8. reflex/components/base/link.pyi +1 -407
  9. reflex/components/base/meta.pyi +1 -405
  10. reflex/components/base/script.pyi +1 -237
  11. reflex/components/component.py +41 -46
  12. reflex/components/core/auto_scroll.pyi +1 -195
  13. reflex/components/core/banner.pyi +1 -391
  14. reflex/components/core/breakpoints.py +14 -18
  15. reflex/components/core/html.pyi +1 -197
  16. reflex/components/core/match.py +2 -2
  17. reflex/components/core/sticky.py +11 -15
  18. reflex/components/core/sticky.pyi +0 -788
  19. reflex/components/core/upload.py +1 -3
  20. reflex/components/datadisplay/code.pyi +1 -0
  21. reflex/components/datadisplay/dataeditor.py +4 -6
  22. reflex/components/datadisplay/shiki_code_block.py +106 -110
  23. reflex/components/dynamic.py +4 -6
  24. reflex/components/el/elements/__init__.py +5 -7
  25. reflex/components/el/elements/__init__.pyi +5 -7
  26. reflex/components/el/elements/base.py +1 -1
  27. reflex/components/el/elements/base.pyi +1 -195
  28. reflex/components/el/elements/forms.py +7 -9
  29. reflex/components/el/elements/forms.pyi +12 -3112
  30. reflex/components/el/elements/inline.pyi +0 -5481
  31. reflex/components/el/elements/media.pyi +0 -10280
  32. reflex/components/el/elements/metadata.pyi +1 -835
  33. reflex/components/el/elements/other.pyi +1 -1365
  34. reflex/components/el/elements/scripts.pyi +1 -625
  35. reflex/components/el/elements/sectioning.pyi +1 -2911
  36. reflex/components/el/elements/tables.pyi +1 -1973
  37. reflex/components/el/elements/typography.pyi +1 -3125
  38. reflex/components/lucide/icon.py +4 -4
  39. reflex/components/lucide/icon.pyi +0 -4
  40. reflex/components/markdown/markdown.py +15 -19
  41. reflex/components/markdown/markdown.pyi +1 -0
  42. reflex/components/moment/moment.pyi +0 -49
  43. reflex/components/props.py +3 -3
  44. reflex/components/radix/primitives/accordion.py +4 -6
  45. reflex/components/radix/primitives/accordion.pyi +0 -14
  46. reflex/components/radix/primitives/base.pyi +0 -5
  47. reflex/components/radix/primitives/dialog.py +2 -0
  48. reflex/components/radix/primitives/dialog.pyi +1 -233
  49. reflex/components/radix/primitives/drawer.pyi +0 -18
  50. reflex/components/radix/primitives/form.pyi +30 -632
  51. reflex/components/radix/primitives/progress.pyi +0 -10
  52. reflex/components/radix/primitives/slider.pyi +0 -10
  53. reflex/components/radix/themes/color_mode.pyi +1 -284
  54. reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
  55. reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
  56. reflex/components/radix/themes/components/avatar.pyi +0 -80
  57. reflex/components/radix/themes/components/badge.pyi +1 -270
  58. reflex/components/radix/themes/components/button.pyi +1 -274
  59. reflex/components/radix/themes/components/callout.pyi +0 -1197
  60. reflex/components/radix/themes/components/card.pyi +1 -209
  61. reflex/components/radix/themes/components/checkbox.pyi +0 -261
  62. reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
  63. reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
  64. reflex/components/radix/themes/components/context_menu.pyi +13 -321
  65. reflex/components/radix/themes/components/data_list.pyi +1 -107
  66. reflex/components/radix/themes/components/dialog.pyi +1 -210
  67. reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
  68. reflex/components/radix/themes/components/hover_card.pyi +1 -246
  69. reflex/components/radix/themes/components/icon_button.pyi +1 -195
  70. reflex/components/radix/themes/components/inset.pyi +0 -252
  71. reflex/components/radix/themes/components/popover.pyi +1 -234
  72. reflex/components/radix/themes/components/progress.pyi +1 -84
  73. reflex/components/radix/themes/components/radio.pyi +1 -72
  74. reflex/components/radix/themes/components/radio_cards.pyi +1 -123
  75. reflex/components/radix/themes/components/scroll_area.pyi +1 -11
  76. reflex/components/radix/themes/components/select.pyi +1 -376
  77. reflex/components/radix/themes/components/separator.pyi +0 -77
  78. reflex/components/radix/themes/components/skeleton.pyi +0 -30
  79. reflex/components/radix/themes/components/slider.py +3 -5
  80. reflex/components/radix/themes/components/spinner.pyi +0 -5
  81. reflex/components/radix/themes/components/switch.pyi +0 -89
  82. reflex/components/radix/themes/components/table.pyi +0 -1453
  83. reflex/components/radix/themes/components/text_area.pyi +7 -282
  84. reflex/components/radix/themes/components/text_field.pyi +6 -392
  85. reflex/components/radix/themes/components/tooltip.pyi +0 -42
  86. reflex/components/radix/themes/layout/box.pyi +1 -195
  87. reflex/components/radix/themes/layout/center.pyi +0 -194
  88. reflex/components/radix/themes/layout/container.pyi +0 -178
  89. reflex/components/radix/themes/layout/flex.pyi +0 -194
  90. reflex/components/radix/themes/layout/grid.pyi +0 -194
  91. reflex/components/radix/themes/layout/list.pyi +0 -978
  92. reflex/components/radix/themes/layout/section.pyi +0 -194
  93. reflex/components/radix/themes/layout/spacer.pyi +0 -194
  94. reflex/components/radix/themes/layout/stack.pyi +0 -582
  95. reflex/components/radix/themes/typography/blockquote.pyi +0 -196
  96. reflex/components/radix/themes/typography/code.pyi +0 -194
  97. reflex/components/radix/themes/typography/heading.pyi +0 -194
  98. reflex/components/radix/themes/typography/link.pyi +0 -237
  99. reflex/components/radix/themes/typography/text.pyi +0 -1360
  100. reflex/components/react_router/dom.pyi +0 -237
  101. reflex/components/recharts/cartesian.py +12 -18
  102. reflex/components/recharts/general.py +12 -18
  103. reflex/constants/installer.py +5 -5
  104. reflex/custom_components/custom_components.py +6 -5
  105. reflex/environment.py +30 -7
  106. reflex/event.py +14 -12
  107. reflex/experimental/client_state.py +11 -12
  108. reflex/istate/data.py +8 -10
  109. reflex/istate/manager/__init__.py +3 -0
  110. reflex/istate/manager/disk.py +151 -5
  111. reflex/model.py +1 -1
  112. reflex/plugins/_screenshot.py +2 -2
  113. reflex/plugins/shared_tailwind.py +9 -14
  114. reflex/reflex.py +7 -9
  115. reflex/state.py +30 -37
  116. reflex/style.py +6 -6
  117. reflex/testing.py +54 -30
  118. reflex/utils/codespaces.py +1 -1
  119. reflex/utils/compat.py +1 -0
  120. reflex/utils/decorator.py +3 -3
  121. reflex/utils/format.py +18 -22
  122. reflex/utils/prerequisites.py +1 -1
  123. reflex/utils/pyi_generator.py +51 -57
  124. reflex/utils/serializers.py +1 -1
  125. reflex/utils/telemetry.py +1 -1
  126. reflex/utils/templates.py +4 -4
  127. reflex/utils/types.py +3 -3
  128. reflex/vars/base.py +26 -29
  129. reflex/vars/color.py +6 -8
  130. reflex/vars/dep_tracking.py +5 -3
  131. reflex/vars/function.py +3 -3
  132. reflex/vars/object.py +9 -13
  133. reflex/vars/sequence.py +18 -24
  134. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/METADATA +1 -1
  135. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/RECORD +138 -138
  136. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/WHEEL +0 -0
  137. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/entry_points.txt +0 -0
  138. {reflex-0.8.15a2.dist-info → reflex-0.8.16a1.dist-info}/licenses/LICENSE +0 -0
@@ -23,8 +23,6 @@ class AlertDialogRoot(RadixThemesComponent):
23
23
  def create(
24
24
  cls,
25
25
  *children,
26
- open: Var[bool] | bool | None = None,
27
- default_open: Var[bool] | bool | None = None,
28
26
  style: Sequence[Mapping[str, Any]]
29
27
  | Mapping[str, Any]
30
28
  | Var[Mapping[str, Any]]
@@ -61,9 +59,7 @@ class AlertDialogRoot(RadixThemesComponent):
61
59
 
62
60
  Args:
63
61
  *children: Child components.
64
- open: The controlled open state of the dialog.
65
62
  on_open_change: Fired when the open state changes.
66
- default_open: The open state of the dialog when it is initially rendered. Use when you do not need to control its open state.
67
63
  style: The style of the component.
68
64
  key: A unique key for the component.
69
65
  id: The id for the component.
@@ -124,191 +120,6 @@ class AlertDialogContent(elements.Div, RadixThemesComponent):
124
120
  def create(
125
121
  cls,
126
122
  *children,
127
- size: Breakpoints[str, Literal["1", "2", "3", "4"]]
128
- | Literal["1", "2", "3", "4"]
129
- | Var[
130
- Breakpoints[str, Literal["1", "2", "3", "4"]] | Literal["1", "2", "3", "4"]
131
- ]
132
- | None = None,
133
- force_mount: Var[bool] | bool | None = None,
134
- access_key: Var[str] | str | None = None,
135
- auto_capitalize: Literal[
136
- "characters", "none", "off", "on", "sentences", "words"
137
- ]
138
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
139
- | None = None,
140
- content_editable: Literal["inherit", "plaintext-only", False, True]
141
- | Var[Literal["inherit", "plaintext-only", False, True]]
142
- | None = None,
143
- context_menu: Var[str] | str | None = None,
144
- dir: Var[str] | str | None = None,
145
- draggable: Var[bool] | bool | None = None,
146
- enter_key_hint: Literal[
147
- "done", "enter", "go", "next", "previous", "search", "send"
148
- ]
149
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
150
- | None = None,
151
- hidden: Var[bool] | bool | None = None,
152
- input_mode: Literal[
153
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
154
- ]
155
- | Var[
156
- Literal[
157
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
158
- ]
159
- ]
160
- | None = None,
161
- item_prop: Var[str] | str | None = None,
162
- lang: Var[str] | str | None = None,
163
- role: Literal[
164
- "alert",
165
- "alertdialog",
166
- "application",
167
- "article",
168
- "banner",
169
- "button",
170
- "cell",
171
- "checkbox",
172
- "columnheader",
173
- "combobox",
174
- "complementary",
175
- "contentinfo",
176
- "definition",
177
- "dialog",
178
- "directory",
179
- "document",
180
- "feed",
181
- "figure",
182
- "form",
183
- "grid",
184
- "gridcell",
185
- "group",
186
- "heading",
187
- "img",
188
- "link",
189
- "list",
190
- "listbox",
191
- "listitem",
192
- "log",
193
- "main",
194
- "marquee",
195
- "math",
196
- "menu",
197
- "menubar",
198
- "menuitem",
199
- "menuitemcheckbox",
200
- "menuitemradio",
201
- "navigation",
202
- "none",
203
- "note",
204
- "option",
205
- "presentation",
206
- "progressbar",
207
- "radio",
208
- "radiogroup",
209
- "region",
210
- "row",
211
- "rowgroup",
212
- "rowheader",
213
- "scrollbar",
214
- "search",
215
- "searchbox",
216
- "separator",
217
- "slider",
218
- "spinbutton",
219
- "status",
220
- "switch",
221
- "tab",
222
- "table",
223
- "tablist",
224
- "tabpanel",
225
- "term",
226
- "textbox",
227
- "timer",
228
- "toolbar",
229
- "tooltip",
230
- "tree",
231
- "treegrid",
232
- "treeitem",
233
- ]
234
- | Var[
235
- Literal[
236
- "alert",
237
- "alertdialog",
238
- "application",
239
- "article",
240
- "banner",
241
- "button",
242
- "cell",
243
- "checkbox",
244
- "columnheader",
245
- "combobox",
246
- "complementary",
247
- "contentinfo",
248
- "definition",
249
- "dialog",
250
- "directory",
251
- "document",
252
- "feed",
253
- "figure",
254
- "form",
255
- "grid",
256
- "gridcell",
257
- "group",
258
- "heading",
259
- "img",
260
- "link",
261
- "list",
262
- "listbox",
263
- "listitem",
264
- "log",
265
- "main",
266
- "marquee",
267
- "math",
268
- "menu",
269
- "menubar",
270
- "menuitem",
271
- "menuitemcheckbox",
272
- "menuitemradio",
273
- "navigation",
274
- "none",
275
- "note",
276
- "option",
277
- "presentation",
278
- "progressbar",
279
- "radio",
280
- "radiogroup",
281
- "region",
282
- "row",
283
- "rowgroup",
284
- "rowheader",
285
- "scrollbar",
286
- "search",
287
- "searchbox",
288
- "separator",
289
- "slider",
290
- "spinbutton",
291
- "status",
292
- "switch",
293
- "tab",
294
- "table",
295
- "tablist",
296
- "tabpanel",
297
- "term",
298
- "textbox",
299
- "timer",
300
- "toolbar",
301
- "tooltip",
302
- "tree",
303
- "treegrid",
304
- "treeitem",
305
- ]
306
- ]
307
- | None = None,
308
- slot: Var[str] | str | None = None,
309
- spell_check: Var[bool] | bool | None = None,
310
- tab_index: Var[int] | int | None = None,
311
- title: Var[str] | str | None = None,
312
123
  style: Sequence[Mapping[str, Any]]
313
124
  | Mapping[str, Any]
314
125
  | Var[Mapping[str, Any]]
@@ -347,27 +158,9 @@ class AlertDialogContent(elements.Div, RadixThemesComponent):
347
158
 
348
159
  Args:
349
160
  *children: Child components.
350
- size: The size of the content.
351
- force_mount: Whether to force mount the content on open.
352
161
  on_open_auto_focus: Fired when the dialog is opened.
353
162
  on_close_auto_focus: Fired when the dialog is closed.
354
163
  on_escape_key_down: Fired when the escape key is pressed.
355
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
356
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
357
- content_editable: Indicates whether the element's content is editable.
358
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
359
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
360
- draggable: Defines whether the element can be dragged.
361
- enter_key_hint: Hints what media types the media element is able to play.
362
- hidden: Defines whether the element is hidden.
363
- input_mode: Defines the type of the element.
364
- item_prop: Defines the name of the element for metadata purposes.
365
- lang: Defines the language used in the element.
366
- role: Defines the role of the element.
367
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
368
- spell_check: Defines whether the element may be checked for spelling errors.
369
- tab_index: Defines the position of the current element in the tabbing order.
370
- title: Defines a tooltip for the element.
371
164
  style: The style of the component.
372
165
  key: A unique key for the component.
373
166
  id: The id for the component.
@@ -16,7 +16,6 @@ class AspectRatio(RadixThemesComponent):
16
16
  def create(
17
17
  cls,
18
18
  *children,
19
- ratio: Var[float | int] | float | int | None = None,
20
19
  style: Sequence[Mapping[str, Any]]
21
20
  | Mapping[str, Any]
22
21
  | Var[Mapping[str, Any]]
@@ -52,7 +51,6 @@ class AspectRatio(RadixThemesComponent):
52
51
 
53
52
  Args:
54
53
  *children: Child components.
55
- ratio: The ratio of the width to the height of the element
56
54
  style: The style of the component.
57
55
  key: A unique key for the component.
58
56
  id: The id for the component.
@@ -18,79 +18,6 @@ class Avatar(RadixThemesComponent):
18
18
  def create(
19
19
  cls,
20
20
  *children,
21
- variant: Literal["soft", "solid"] | Var[Literal["soft", "solid"]] | None = None,
22
- size: Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]]
23
- | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
24
- | Var[
25
- Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]]
26
- | Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
27
- ]
28
- | None = None,
29
- color_scheme: Literal[
30
- "amber",
31
- "blue",
32
- "bronze",
33
- "brown",
34
- "crimson",
35
- "cyan",
36
- "gold",
37
- "grass",
38
- "gray",
39
- "green",
40
- "indigo",
41
- "iris",
42
- "jade",
43
- "lime",
44
- "mint",
45
- "orange",
46
- "pink",
47
- "plum",
48
- "purple",
49
- "red",
50
- "ruby",
51
- "sky",
52
- "teal",
53
- "tomato",
54
- "violet",
55
- "yellow",
56
- ]
57
- | Var[
58
- Literal[
59
- "amber",
60
- "blue",
61
- "bronze",
62
- "brown",
63
- "crimson",
64
- "cyan",
65
- "gold",
66
- "grass",
67
- "gray",
68
- "green",
69
- "indigo",
70
- "iris",
71
- "jade",
72
- "lime",
73
- "mint",
74
- "orange",
75
- "pink",
76
- "plum",
77
- "purple",
78
- "red",
79
- "ruby",
80
- "sky",
81
- "teal",
82
- "tomato",
83
- "violet",
84
- "yellow",
85
- ]
86
- ]
87
- | None = None,
88
- high_contrast: Var[bool] | bool | None = None,
89
- radius: Literal["full", "large", "medium", "none", "small"]
90
- | Var[Literal["full", "large", "medium", "none", "small"]]
91
- | None = None,
92
- src: Var[str] | str | None = None,
93
- fallback: Var[str] | str | None = None,
94
21
  style: Sequence[Mapping[str, Any]]
95
22
  | Mapping[str, Any]
96
23
  | Var[Mapping[str, Any]]
@@ -126,13 +53,6 @@ class Avatar(RadixThemesComponent):
126
53
 
127
54
  Args:
128
55
  *children: Child components.
129
- variant: The variant of the avatar
130
- size: The size of the avatar: "1" - "9"
131
- color_scheme: Color theme of the avatar
132
- high_contrast: Whether to render the avatar with higher contrast color against background
133
- radius: Override theme radius for avatar: "none" | "small" | "medium" | "large" | "full"
134
- src: The src of the avatar image
135
- fallback: The rendered fallback text
136
56
  style: The style of the component.
137
57
  key: A unique key for the component.
138
58
  id: The id for the component.
@@ -4,7 +4,7 @@
4
4
  # This file was generated by `reflex/utils/pyi_generator.py`!
5
5
  # ------------------------------------------------------
6
6
  from collections.abc import Mapping, Sequence
7
- from typing import Any, Literal
7
+ from typing import Any
8
8
 
9
9
  from reflex.components.core.breakpoints import Breakpoints
10
10
  from reflex.components.el import elements
@@ -17,254 +17,6 @@ class Badge(elements.Span, RadixThemesComponent):
17
17
  def create(
18
18
  cls,
19
19
  *children,
20
- variant: Literal["outline", "soft", "solid", "surface"]
21
- | Var[Literal["outline", "soft", "solid", "surface"]]
22
- | None = None,
23
- size: Breakpoints[str, Literal["1", "2", "3"]]
24
- | Literal["1", "2", "3"]
25
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
26
- | None = None,
27
- color_scheme: Literal[
28
- "amber",
29
- "blue",
30
- "bronze",
31
- "brown",
32
- "crimson",
33
- "cyan",
34
- "gold",
35
- "grass",
36
- "gray",
37
- "green",
38
- "indigo",
39
- "iris",
40
- "jade",
41
- "lime",
42
- "mint",
43
- "orange",
44
- "pink",
45
- "plum",
46
- "purple",
47
- "red",
48
- "ruby",
49
- "sky",
50
- "teal",
51
- "tomato",
52
- "violet",
53
- "yellow",
54
- ]
55
- | Var[
56
- Literal[
57
- "amber",
58
- "blue",
59
- "bronze",
60
- "brown",
61
- "crimson",
62
- "cyan",
63
- "gold",
64
- "grass",
65
- "gray",
66
- "green",
67
- "indigo",
68
- "iris",
69
- "jade",
70
- "lime",
71
- "mint",
72
- "orange",
73
- "pink",
74
- "plum",
75
- "purple",
76
- "red",
77
- "ruby",
78
- "sky",
79
- "teal",
80
- "tomato",
81
- "violet",
82
- "yellow",
83
- ]
84
- ]
85
- | None = None,
86
- high_contrast: Var[bool] | bool | None = None,
87
- radius: Literal["full", "large", "medium", "none", "small"]
88
- | Var[Literal["full", "large", "medium", "none", "small"]]
89
- | None = None,
90
- access_key: Var[str] | str | None = None,
91
- auto_capitalize: Literal[
92
- "characters", "none", "off", "on", "sentences", "words"
93
- ]
94
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
95
- | None = None,
96
- content_editable: Literal["inherit", "plaintext-only", False, True]
97
- | Var[Literal["inherit", "plaintext-only", False, True]]
98
- | None = None,
99
- context_menu: Var[str] | str | None = None,
100
- dir: Var[str] | str | None = None,
101
- draggable: Var[bool] | bool | None = None,
102
- enter_key_hint: Literal[
103
- "done", "enter", "go", "next", "previous", "search", "send"
104
- ]
105
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
106
- | None = None,
107
- hidden: Var[bool] | bool | None = None,
108
- input_mode: Literal[
109
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
110
- ]
111
- | Var[
112
- Literal[
113
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
114
- ]
115
- ]
116
- | None = None,
117
- item_prop: Var[str] | str | None = None,
118
- lang: Var[str] | str | None = None,
119
- role: Literal[
120
- "alert",
121
- "alertdialog",
122
- "application",
123
- "article",
124
- "banner",
125
- "button",
126
- "cell",
127
- "checkbox",
128
- "columnheader",
129
- "combobox",
130
- "complementary",
131
- "contentinfo",
132
- "definition",
133
- "dialog",
134
- "directory",
135
- "document",
136
- "feed",
137
- "figure",
138
- "form",
139
- "grid",
140
- "gridcell",
141
- "group",
142
- "heading",
143
- "img",
144
- "link",
145
- "list",
146
- "listbox",
147
- "listitem",
148
- "log",
149
- "main",
150
- "marquee",
151
- "math",
152
- "menu",
153
- "menubar",
154
- "menuitem",
155
- "menuitemcheckbox",
156
- "menuitemradio",
157
- "navigation",
158
- "none",
159
- "note",
160
- "option",
161
- "presentation",
162
- "progressbar",
163
- "radio",
164
- "radiogroup",
165
- "region",
166
- "row",
167
- "rowgroup",
168
- "rowheader",
169
- "scrollbar",
170
- "search",
171
- "searchbox",
172
- "separator",
173
- "slider",
174
- "spinbutton",
175
- "status",
176
- "switch",
177
- "tab",
178
- "table",
179
- "tablist",
180
- "tabpanel",
181
- "term",
182
- "textbox",
183
- "timer",
184
- "toolbar",
185
- "tooltip",
186
- "tree",
187
- "treegrid",
188
- "treeitem",
189
- ]
190
- | Var[
191
- Literal[
192
- "alert",
193
- "alertdialog",
194
- "application",
195
- "article",
196
- "banner",
197
- "button",
198
- "cell",
199
- "checkbox",
200
- "columnheader",
201
- "combobox",
202
- "complementary",
203
- "contentinfo",
204
- "definition",
205
- "dialog",
206
- "directory",
207
- "document",
208
- "feed",
209
- "figure",
210
- "form",
211
- "grid",
212
- "gridcell",
213
- "group",
214
- "heading",
215
- "img",
216
- "link",
217
- "list",
218
- "listbox",
219
- "listitem",
220
- "log",
221
- "main",
222
- "marquee",
223
- "math",
224
- "menu",
225
- "menubar",
226
- "menuitem",
227
- "menuitemcheckbox",
228
- "menuitemradio",
229
- "navigation",
230
- "none",
231
- "note",
232
- "option",
233
- "presentation",
234
- "progressbar",
235
- "radio",
236
- "radiogroup",
237
- "region",
238
- "row",
239
- "rowgroup",
240
- "rowheader",
241
- "scrollbar",
242
- "search",
243
- "searchbox",
244
- "separator",
245
- "slider",
246
- "spinbutton",
247
- "status",
248
- "switch",
249
- "tab",
250
- "table",
251
- "tablist",
252
- "tabpanel",
253
- "term",
254
- "textbox",
255
- "timer",
256
- "toolbar",
257
- "tooltip",
258
- "tree",
259
- "treegrid",
260
- "treeitem",
261
- ]
262
- ]
263
- | None = None,
264
- slot: Var[str] | str | None = None,
265
- spell_check: Var[bool] | bool | None = None,
266
- tab_index: Var[int] | int | None = None,
267
- title: Var[str] | str | None = None,
268
20
  style: Sequence[Mapping[str, Any]]
269
21
  | Mapping[str, Any]
270
22
  | Var[Mapping[str, Any]]
@@ -300,27 +52,6 @@ class Badge(elements.Span, RadixThemesComponent):
300
52
 
301
53
  Args:
302
54
  *children: Child components.
303
- variant: The variant of the badge
304
- size: The size of the badge
305
- color_scheme: Color theme of the badge
306
- high_contrast: Whether to render the badge with higher contrast color against background
307
- radius: Override theme radius for badge: "none" | "small" | "medium" | "large" | "full"
308
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
309
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
310
- content_editable: Indicates whether the element's content is editable.
311
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
312
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
313
- draggable: Defines whether the element can be dragged.
314
- enter_key_hint: Hints what media types the media element is able to play.
315
- hidden: Defines whether the element is hidden.
316
- input_mode: Defines the type of the element.
317
- item_prop: Defines the name of the element for metadata purposes.
318
- lang: Defines the language used in the element.
319
- role: Defines the role of the element.
320
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
321
- spell_check: Defines whether the element may be checked for spelling errors.
322
- tab_index: Defines the position of the current element in the tabbing order.
323
- title: Defines a tooltip for the element.
324
55
  style: The style of the component.
325
56
  key: A unique key for the component.
326
57
  id: The id for the component.