reflex 0.8.15a1__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 (139) hide show
  1. reflex/.templates/web/utils/state.js +68 -8
  2. reflex/app.py +45 -51
  3. reflex/app_mixins/lifespan.py +12 -5
  4. reflex/base.py +1 -0
  5. reflex/compiler/compiler.py +4 -6
  6. reflex/compiler/templates.py +25 -31
  7. reflex/compiler/utils.py +6 -5
  8. reflex/components/base/body.pyi +1 -195
  9. reflex/components/base/link.pyi +1 -407
  10. reflex/components/base/meta.pyi +1 -405
  11. reflex/components/base/script.pyi +1 -237
  12. reflex/components/component.py +41 -46
  13. reflex/components/core/auto_scroll.pyi +1 -195
  14. reflex/components/core/banner.pyi +1 -391
  15. reflex/components/core/breakpoints.py +14 -18
  16. reflex/components/core/html.pyi +1 -197
  17. reflex/components/core/match.py +2 -2
  18. reflex/components/core/sticky.py +11 -15
  19. reflex/components/core/sticky.pyi +0 -788
  20. reflex/components/core/upload.py +1 -3
  21. reflex/components/datadisplay/code.pyi +1 -0
  22. reflex/components/datadisplay/dataeditor.py +4 -6
  23. reflex/components/datadisplay/shiki_code_block.py +106 -110
  24. reflex/components/dynamic.py +4 -6
  25. reflex/components/el/elements/__init__.py +5 -7
  26. reflex/components/el/elements/__init__.pyi +5 -7
  27. reflex/components/el/elements/base.py +1 -1
  28. reflex/components/el/elements/base.pyi +1 -195
  29. reflex/components/el/elements/forms.py +7 -9
  30. reflex/components/el/elements/forms.pyi +12 -3112
  31. reflex/components/el/elements/inline.pyi +0 -5481
  32. reflex/components/el/elements/media.pyi +0 -10280
  33. reflex/components/el/elements/metadata.pyi +1 -835
  34. reflex/components/el/elements/other.pyi +1 -1365
  35. reflex/components/el/elements/scripts.pyi +1 -625
  36. reflex/components/el/elements/sectioning.pyi +1 -2911
  37. reflex/components/el/elements/tables.pyi +1 -1973
  38. reflex/components/el/elements/typography.pyi +1 -3125
  39. reflex/components/lucide/icon.py +4 -4
  40. reflex/components/lucide/icon.pyi +0 -4
  41. reflex/components/markdown/markdown.py +15 -19
  42. reflex/components/markdown/markdown.pyi +1 -0
  43. reflex/components/moment/moment.pyi +0 -49
  44. reflex/components/props.py +3 -3
  45. reflex/components/radix/primitives/accordion.py +4 -6
  46. reflex/components/radix/primitives/accordion.pyi +0 -14
  47. reflex/components/radix/primitives/base.pyi +0 -5
  48. reflex/components/radix/primitives/dialog.py +2 -0
  49. reflex/components/radix/primitives/dialog.pyi +1 -233
  50. reflex/components/radix/primitives/drawer.pyi +0 -18
  51. reflex/components/radix/primitives/form.pyi +30 -632
  52. reflex/components/radix/primitives/progress.pyi +0 -10
  53. reflex/components/radix/primitives/slider.pyi +0 -10
  54. reflex/components/radix/themes/color_mode.pyi +1 -284
  55. reflex/components/radix/themes/components/alert_dialog.pyi +0 -207
  56. reflex/components/radix/themes/components/aspect_ratio.pyi +0 -2
  57. reflex/components/radix/themes/components/avatar.pyi +0 -80
  58. reflex/components/radix/themes/components/badge.pyi +1 -270
  59. reflex/components/radix/themes/components/button.pyi +1 -274
  60. reflex/components/radix/themes/components/callout.pyi +0 -1197
  61. reflex/components/radix/themes/components/card.pyi +1 -209
  62. reflex/components/radix/themes/components/checkbox.pyi +0 -261
  63. reflex/components/radix/themes/components/checkbox_cards.pyi +1 -96
  64. reflex/components/radix/themes/components/checkbox_group.pyi +1 -80
  65. reflex/components/radix/themes/components/context_menu.pyi +13 -321
  66. reflex/components/radix/themes/components/data_list.pyi +1 -107
  67. reflex/components/radix/themes/components/dialog.pyi +1 -210
  68. reflex/components/radix/themes/components/dropdown_menu.pyi +0 -209
  69. reflex/components/radix/themes/components/hover_card.pyi +1 -246
  70. reflex/components/radix/themes/components/icon_button.pyi +1 -195
  71. reflex/components/radix/themes/components/inset.pyi +0 -252
  72. reflex/components/radix/themes/components/popover.pyi +1 -234
  73. reflex/components/radix/themes/components/progress.pyi +1 -84
  74. reflex/components/radix/themes/components/radio.pyi +1 -72
  75. reflex/components/radix/themes/components/radio_cards.pyi +1 -123
  76. reflex/components/radix/themes/components/scroll_area.pyi +1 -11
  77. reflex/components/radix/themes/components/select.pyi +1 -376
  78. reflex/components/radix/themes/components/separator.pyi +0 -77
  79. reflex/components/radix/themes/components/skeleton.pyi +0 -30
  80. reflex/components/radix/themes/components/slider.py +3 -5
  81. reflex/components/radix/themes/components/spinner.pyi +0 -5
  82. reflex/components/radix/themes/components/switch.pyi +0 -89
  83. reflex/components/radix/themes/components/table.pyi +0 -1453
  84. reflex/components/radix/themes/components/text_area.pyi +7 -282
  85. reflex/components/radix/themes/components/text_field.pyi +6 -392
  86. reflex/components/radix/themes/components/tooltip.pyi +0 -42
  87. reflex/components/radix/themes/layout/box.pyi +1 -195
  88. reflex/components/radix/themes/layout/center.pyi +0 -194
  89. reflex/components/radix/themes/layout/container.pyi +0 -178
  90. reflex/components/radix/themes/layout/flex.pyi +0 -194
  91. reflex/components/radix/themes/layout/grid.pyi +0 -194
  92. reflex/components/radix/themes/layout/list.pyi +0 -978
  93. reflex/components/radix/themes/layout/section.pyi +0 -194
  94. reflex/components/radix/themes/layout/spacer.pyi +0 -194
  95. reflex/components/radix/themes/layout/stack.pyi +0 -582
  96. reflex/components/radix/themes/typography/blockquote.pyi +0 -196
  97. reflex/components/radix/themes/typography/code.pyi +0 -194
  98. reflex/components/radix/themes/typography/heading.pyi +0 -194
  99. reflex/components/radix/themes/typography/link.pyi +0 -237
  100. reflex/components/radix/themes/typography/text.pyi +0 -1360
  101. reflex/components/react_router/dom.pyi +0 -237
  102. reflex/components/recharts/cartesian.py +12 -18
  103. reflex/components/recharts/general.py +12 -18
  104. reflex/constants/installer.py +5 -5
  105. reflex/custom_components/custom_components.py +6 -5
  106. reflex/environment.py +30 -7
  107. reflex/event.py +14 -12
  108. reflex/experimental/client_state.py +11 -12
  109. reflex/istate/data.py +8 -10
  110. reflex/istate/manager/__init__.py +3 -0
  111. reflex/istate/manager/disk.py +151 -5
  112. reflex/model.py +1 -1
  113. reflex/plugins/_screenshot.py +2 -2
  114. reflex/plugins/shared_tailwind.py +9 -14
  115. reflex/reflex.py +7 -9
  116. reflex/state.py +30 -37
  117. reflex/style.py +6 -6
  118. reflex/testing.py +54 -30
  119. reflex/utils/codespaces.py +31 -2
  120. reflex/utils/compat.py +1 -0
  121. reflex/utils/decorator.py +3 -3
  122. reflex/utils/format.py +18 -22
  123. reflex/utils/prerequisites.py +1 -1
  124. reflex/utils/pyi_generator.py +51 -57
  125. reflex/utils/serializers.py +1 -1
  126. reflex/utils/telemetry.py +1 -1
  127. reflex/utils/templates.py +4 -4
  128. reflex/utils/types.py +11 -4
  129. reflex/vars/base.py +26 -29
  130. reflex/vars/color.py +6 -8
  131. reflex/vars/dep_tracking.py +5 -3
  132. reflex/vars/function.py +3 -3
  133. reflex/vars/object.py +9 -13
  134. reflex/vars/sequence.py +18 -24
  135. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/METADATA +1 -1
  136. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/RECORD +139 -139
  137. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/WHEEL +0 -0
  138. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/entry_points.txt +0 -0
  139. {reflex-0.8.15a1.dist-info → reflex-0.8.16a1.dist-info}/licenses/LICENSE +0 -0
@@ -27,10 +27,6 @@ class DropdownMenuRoot(RadixThemesComponent):
27
27
  def create(
28
28
  cls,
29
29
  *children,
30
- default_open: Var[bool] | bool | None = None,
31
- open: Var[bool] | bool | None = None,
32
- modal: Var[bool] | bool | None = None,
33
- dir: Literal["ltr", "rtl"] | Var[Literal["ltr", "rtl"]] | None = None,
34
30
  style: Sequence[Mapping[str, Any]]
35
31
  | Mapping[str, Any]
36
32
  | Var[Mapping[str, Any]]
@@ -67,10 +63,6 @@ class DropdownMenuRoot(RadixThemesComponent):
67
63
 
68
64
  Args:
69
65
  *children: Child components.
70
- default_open: The open state of the dropdown menu when it is initially rendered. Use when you do not need to control its open state.
71
- open: The controlled open state of the dropdown menu. Must be used in conjunction with onOpenChange.
72
- modal: The modality of the dropdown menu. When set to true, interaction with outside elements will be disabled and only menu content will be visible to screen readers. Defaults to True.
73
- dir: The reading direction of submenus when applicable. If omitted, inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode.
74
66
  on_open_change: Fired when the open state changes.
75
67
  style: The style of the component.
76
68
  key: A unique key for the component.
@@ -89,7 +81,6 @@ class DropdownMenuTrigger(RadixThemesTriggerComponent):
89
81
  def create(
90
82
  cls,
91
83
  *children,
92
- as_child: Var[bool] | bool | None = None,
93
84
  style: Sequence[Mapping[str, Any]]
94
85
  | Mapping[str, Any]
95
86
  | Var[Mapping[str, Any]]
@@ -133,92 +124,6 @@ class DropdownMenuContent(RadixThemesComponent):
133
124
  def create(
134
125
  cls,
135
126
  *children,
136
- size: Breakpoints[str, Literal["1", "2"]]
137
- | Literal["1", "2"]
138
- | Var[Breakpoints[str, Literal["1", "2"]] | Literal["1", "2"]]
139
- | None = None,
140
- variant: Literal["soft", "solid"] | Var[Literal["soft", "solid"]] | None = None,
141
- color_scheme: Literal[
142
- "amber",
143
- "blue",
144
- "bronze",
145
- "brown",
146
- "crimson",
147
- "cyan",
148
- "gold",
149
- "grass",
150
- "gray",
151
- "green",
152
- "indigo",
153
- "iris",
154
- "jade",
155
- "lime",
156
- "mint",
157
- "orange",
158
- "pink",
159
- "plum",
160
- "purple",
161
- "red",
162
- "ruby",
163
- "sky",
164
- "teal",
165
- "tomato",
166
- "violet",
167
- "yellow",
168
- ]
169
- | Var[
170
- Literal[
171
- "amber",
172
- "blue",
173
- "bronze",
174
- "brown",
175
- "crimson",
176
- "cyan",
177
- "gold",
178
- "grass",
179
- "gray",
180
- "green",
181
- "indigo",
182
- "iris",
183
- "jade",
184
- "lime",
185
- "mint",
186
- "orange",
187
- "pink",
188
- "plum",
189
- "purple",
190
- "red",
191
- "ruby",
192
- "sky",
193
- "teal",
194
- "tomato",
195
- "violet",
196
- "yellow",
197
- ]
198
- ]
199
- | None = None,
200
- high_contrast: Var[bool] | bool | None = None,
201
- as_child: Var[bool] | bool | None = None,
202
- loop: Var[bool] | bool | None = None,
203
- force_mount: Var[bool] | bool | None = None,
204
- side: Literal["bottom", "left", "right", "top"]
205
- | Var[Literal["bottom", "left", "right", "top"]]
206
- | None = None,
207
- side_offset: Var[float | int] | float | int | None = None,
208
- align: Literal["center", "end", "start"]
209
- | Var[Literal["center", "end", "start"]]
210
- | None = None,
211
- align_offset: Var[float | int] | float | int | None = None,
212
- avoid_collisions: Var[bool] | bool | None = None,
213
- collision_padding: Var[dict[str, float | int] | float | int]
214
- | dict[str, float | int]
215
- | float
216
- | int
217
- | None = None,
218
- sticky: Literal["always", "partial"]
219
- | Var[Literal["always", "partial"]]
220
- | None = None,
221
- hide_when_detached: Var[bool] | bool | None = None,
222
127
  style: Sequence[Mapping[str, Any]]
223
128
  | Mapping[str, Any]
224
129
  | Var[Mapping[str, Any]]
@@ -259,21 +164,6 @@ class DropdownMenuContent(RadixThemesComponent):
259
164
 
260
165
  Args:
261
166
  *children: Child components.
262
- size: Dropdown Menu Content size "1" - "2"
263
- variant: Variant of Dropdown Menu Content: "solid" | "soft"
264
- color_scheme: Override theme color for Dropdown Menu Content
265
- high_contrast: Renders the Dropdown Menu Content in higher contrast
266
- as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. Defaults to False.
267
- loop: When True, keyboard navigation will loop from last item to first, and vice versa. Defaults to False.
268
- force_mount: Used to force mounting when more control is needed. Useful when controlling animation with React animation libraries.
269
- side: The preferred side of the trigger to render against when open. Will be reversed when collisions occur and `avoid_collisions` is enabled.The position of the tooltip. Defaults to "top".
270
- side_offset: The distance in pixels from the trigger. Defaults to 0.
271
- align: The preferred alignment against the trigger. May change when collisions occur. Defaults to "center".
272
- align_offset: An offset in pixels from the "start" or "end" alignment options.
273
- avoid_collisions: When true, overrides the side and align preferences to prevent collisions with boundary edges. Defaults to True.
274
- collision_padding: 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.
275
- sticky: 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".
276
- hide_when_detached: Whether to hide the content when the trigger becomes fully occluded. Defaults to False.
277
167
  on_close_auto_focus: Fired when the dialog is closed.
278
168
  on_escape_key_down: Fired when the escape key is pressed.
279
169
  on_pointer_down_outside: Fired when the pointer is down outside the dialog.
@@ -296,9 +186,6 @@ class DropdownMenuSubTrigger(RadixThemesTriggerComponent):
296
186
  def create(
297
187
  cls,
298
188
  *children,
299
- as_child: Var[bool] | bool | None = None,
300
- disabled: Var[bool] | bool | None = None,
301
- text_value: Var[str] | str | None = None,
302
189
  style: Sequence[Mapping[str, Any]]
303
190
  | Mapping[str, Any]
304
191
  | Var[Mapping[str, Any]]
@@ -342,8 +229,6 @@ class DropdownMenuSub(RadixThemesComponent):
342
229
  def create(
343
230
  cls,
344
231
  *children,
345
- open: Var[bool] | bool | None = None,
346
- default_open: Var[bool] | bool | None = None,
347
232
  style: Sequence[Mapping[str, Any]]
348
233
  | Mapping[str, Any]
349
234
  | Var[Mapping[str, Any]]
@@ -380,8 +265,6 @@ class DropdownMenuSub(RadixThemesComponent):
380
265
 
381
266
  Args:
382
267
  *children: Child components.
383
- open: The controlled open state of the submenu. Must be used in conjunction with `on_open_change`.
384
- default_open: The open state of the submenu when it is initially rendered. Use when you do not need to control its open state.
385
268
  on_open_change: Fired when the open state changes.
386
269
  style: The style of the component.
387
270
  key: A unique key for the component.
@@ -400,21 +283,6 @@ class DropdownMenuSubContent(RadixThemesComponent):
400
283
  def create(
401
284
  cls,
402
285
  *children,
403
- as_child: Var[bool] | bool | None = None,
404
- loop: Var[bool] | bool | None = None,
405
- force_mount: Var[bool] | bool | None = None,
406
- side_offset: Var[float | int] | float | int | None = None,
407
- align_offset: Var[float | int] | float | int | None = None,
408
- avoid_collisions: Var[bool] | bool | None = None,
409
- collision_padding: Var[dict[str, float | int] | float | int]
410
- | dict[str, float | int]
411
- | float
412
- | int
413
- | None = None,
414
- sticky: Literal["always", "partial"]
415
- | Var[Literal["always", "partial"]]
416
- | None = None,
417
- hide_when_detached: Var[bool] | bool | None = None,
418
286
  style: Sequence[Mapping[str, Any]]
419
287
  | Mapping[str, Any]
420
288
  | Var[Mapping[str, Any]]
@@ -454,15 +322,6 @@ class DropdownMenuSubContent(RadixThemesComponent):
454
322
 
455
323
  Args:
456
324
  *children: Child components.
457
- as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. Defaults to False.
458
- loop: When True, keyboard navigation will loop from last item to first, and vice versa. Defaults to False.
459
- force_mount: Used to force mounting when more control is needed. Useful when controlling animation with React animation libraries.
460
- side_offset: The distance in pixels from the trigger. Defaults to 0.
461
- align_offset: An offset in pixels from the "start" or "end" alignment options.
462
- avoid_collisions: When true, overrides the side and align preferences to prevent collisions with boundary edges. Defaults to True.
463
- collision_padding: 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.
464
- sticky: 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".
465
- hide_when_detached: Whether to hide the content when the trigger becomes fully occluded. Defaults to False.
466
325
  on_escape_key_down: Fired when the escape key is pressed.
467
326
  on_pointer_down_outside: Fired when the pointer is down outside the dialog.
468
327
  on_focus_outside: Fired when focus moves outside the dialog.
@@ -484,69 +343,6 @@ class DropdownMenuItem(RadixThemesComponent):
484
343
  def create(
485
344
  cls,
486
345
  *children,
487
- color_scheme: Literal[
488
- "amber",
489
- "blue",
490
- "bronze",
491
- "brown",
492
- "crimson",
493
- "cyan",
494
- "gold",
495
- "grass",
496
- "gray",
497
- "green",
498
- "indigo",
499
- "iris",
500
- "jade",
501
- "lime",
502
- "mint",
503
- "orange",
504
- "pink",
505
- "plum",
506
- "purple",
507
- "red",
508
- "ruby",
509
- "sky",
510
- "teal",
511
- "tomato",
512
- "violet",
513
- "yellow",
514
- ]
515
- | Var[
516
- Literal[
517
- "amber",
518
- "blue",
519
- "bronze",
520
- "brown",
521
- "crimson",
522
- "cyan",
523
- "gold",
524
- "grass",
525
- "gray",
526
- "green",
527
- "indigo",
528
- "iris",
529
- "jade",
530
- "lime",
531
- "mint",
532
- "orange",
533
- "pink",
534
- "plum",
535
- "purple",
536
- "red",
537
- "ruby",
538
- "sky",
539
- "teal",
540
- "tomato",
541
- "violet",
542
- "yellow",
543
- ]
544
- ]
545
- | None = None,
546
- shortcut: Var[str] | str | None = None,
547
- as_child: Var[bool] | bool | None = None,
548
- disabled: Var[bool] | bool | None = None,
549
- text_value: Var[str] | str | None = None,
550
346
  style: Sequence[Mapping[str, Any]]
551
347
  | Mapping[str, Any]
552
348
  | Var[Mapping[str, Any]]
@@ -583,11 +379,6 @@ class DropdownMenuItem(RadixThemesComponent):
583
379
 
584
380
  Args:
585
381
  *children: Child components.
586
- color_scheme: Override theme color for Dropdown Menu Item
587
- shortcut: Shortcut to render a menu item as a link
588
- as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. Defaults to False.
589
- disabled: When true, prevents the user from interacting with the item.
590
- text_value: Optional text used for typeahead purposes. By default the typeahead behavior will use the .textContent of the item. Use this when the content is complex, or you have non-textual content inside.
591
382
  on_select: Fired when the item is selected.
592
383
  style: The style of the component.
593
384
  key: A unique key 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.component import ComponentNamespace
10
10
  from reflex.components.core.breakpoints import Breakpoints
@@ -21,10 +21,6 @@ class HoverCardRoot(RadixThemesComponent):
21
21
  def create(
22
22
  cls,
23
23
  *children,
24
- default_open: Var[bool] | bool | None = None,
25
- open: Var[bool] | bool | None = None,
26
- open_delay: Var[int] | int | None = None,
27
- close_delay: Var[int] | int | None = None,
28
24
  style: Sequence[Mapping[str, Any]]
29
25
  | Mapping[str, Any]
30
26
  | Var[Mapping[str, Any]]
@@ -61,10 +57,6 @@ class HoverCardRoot(RadixThemesComponent):
61
57
 
62
58
  Args:
63
59
  *children: Child components.
64
- default_open: The open state of the hover card when it is initially rendered. Use when you do not need to control its open state.
65
- open: The controlled open state of the hover card. Must be used in conjunction with onOpenChange.
66
- open_delay: The duration from when the mouse enters the trigger until the hover card opens.
67
- close_delay: The duration from when the mouse leaves the trigger until the hover card closes.
68
60
  on_open_change: Fired when the open state changes.
69
61
  style: The style of the component.
70
62
  key: A unique key for the component.
@@ -126,210 +118,6 @@ class HoverCardContent(elements.Div, RadixThemesComponent):
126
118
  def create(
127
119
  cls,
128
120
  *children,
129
- side: Breakpoints[str, Literal["bottom", "left", "right", "top"]]
130
- | Literal["bottom", "left", "right", "top"]
131
- | Var[
132
- Breakpoints[str, Literal["bottom", "left", "right", "top"]]
133
- | Literal["bottom", "left", "right", "top"]
134
- ]
135
- | None = None,
136
- side_offset: Var[int] | int | None = None,
137
- align: Literal["center", "end", "start"]
138
- | Var[Literal["center", "end", "start"]]
139
- | None = None,
140
- align_offset: Var[int] | int | None = None,
141
- avoid_collisions: Var[bool] | bool | None = None,
142
- collision_padding: Var[dict[str, float | int] | float | int]
143
- | dict[str, float | int]
144
- | float
145
- | int
146
- | None = None,
147
- sticky: Literal["always", "partial"]
148
- | Var[Literal["always", "partial"]]
149
- | None = None,
150
- hide_when_detached: Var[bool] | bool | None = None,
151
- size: Breakpoints[str, Literal["1", "2", "3"]]
152
- | Literal["1", "2", "3"]
153
- | Var[Breakpoints[str, Literal["1", "2", "3"]] | Literal["1", "2", "3"]]
154
- | None = None,
155
- access_key: Var[str] | str | None = None,
156
- auto_capitalize: Literal[
157
- "characters", "none", "off", "on", "sentences", "words"
158
- ]
159
- | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
160
- | None = None,
161
- content_editable: Literal["inherit", "plaintext-only", False, True]
162
- | Var[Literal["inherit", "plaintext-only", False, True]]
163
- | None = None,
164
- context_menu: Var[str] | str | None = None,
165
- dir: Var[str] | str | None = None,
166
- draggable: Var[bool] | bool | None = None,
167
- enter_key_hint: Literal[
168
- "done", "enter", "go", "next", "previous", "search", "send"
169
- ]
170
- | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
171
- | None = None,
172
- hidden: Var[bool] | bool | None = None,
173
- input_mode: Literal[
174
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
175
- ]
176
- | Var[
177
- Literal[
178
- "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
179
- ]
180
- ]
181
- | None = None,
182
- item_prop: Var[str] | str | None = None,
183
- lang: Var[str] | str | None = None,
184
- role: Literal[
185
- "alert",
186
- "alertdialog",
187
- "application",
188
- "article",
189
- "banner",
190
- "button",
191
- "cell",
192
- "checkbox",
193
- "columnheader",
194
- "combobox",
195
- "complementary",
196
- "contentinfo",
197
- "definition",
198
- "dialog",
199
- "directory",
200
- "document",
201
- "feed",
202
- "figure",
203
- "form",
204
- "grid",
205
- "gridcell",
206
- "group",
207
- "heading",
208
- "img",
209
- "link",
210
- "list",
211
- "listbox",
212
- "listitem",
213
- "log",
214
- "main",
215
- "marquee",
216
- "math",
217
- "menu",
218
- "menubar",
219
- "menuitem",
220
- "menuitemcheckbox",
221
- "menuitemradio",
222
- "navigation",
223
- "none",
224
- "note",
225
- "option",
226
- "presentation",
227
- "progressbar",
228
- "radio",
229
- "radiogroup",
230
- "region",
231
- "row",
232
- "rowgroup",
233
- "rowheader",
234
- "scrollbar",
235
- "search",
236
- "searchbox",
237
- "separator",
238
- "slider",
239
- "spinbutton",
240
- "status",
241
- "switch",
242
- "tab",
243
- "table",
244
- "tablist",
245
- "tabpanel",
246
- "term",
247
- "textbox",
248
- "timer",
249
- "toolbar",
250
- "tooltip",
251
- "tree",
252
- "treegrid",
253
- "treeitem",
254
- ]
255
- | Var[
256
- Literal[
257
- "alert",
258
- "alertdialog",
259
- "application",
260
- "article",
261
- "banner",
262
- "button",
263
- "cell",
264
- "checkbox",
265
- "columnheader",
266
- "combobox",
267
- "complementary",
268
- "contentinfo",
269
- "definition",
270
- "dialog",
271
- "directory",
272
- "document",
273
- "feed",
274
- "figure",
275
- "form",
276
- "grid",
277
- "gridcell",
278
- "group",
279
- "heading",
280
- "img",
281
- "link",
282
- "list",
283
- "listbox",
284
- "listitem",
285
- "log",
286
- "main",
287
- "marquee",
288
- "math",
289
- "menu",
290
- "menubar",
291
- "menuitem",
292
- "menuitemcheckbox",
293
- "menuitemradio",
294
- "navigation",
295
- "none",
296
- "note",
297
- "option",
298
- "presentation",
299
- "progressbar",
300
- "radio",
301
- "radiogroup",
302
- "region",
303
- "row",
304
- "rowgroup",
305
- "rowheader",
306
- "scrollbar",
307
- "search",
308
- "searchbox",
309
- "separator",
310
- "slider",
311
- "spinbutton",
312
- "status",
313
- "switch",
314
- "tab",
315
- "table",
316
- "tablist",
317
- "tabpanel",
318
- "term",
319
- "textbox",
320
- "timer",
321
- "toolbar",
322
- "tooltip",
323
- "tree",
324
- "treegrid",
325
- "treeitem",
326
- ]
327
- ]
328
- | None = None,
329
- slot: Var[str] | str | None = None,
330
- spell_check: Var[bool] | bool | None = None,
331
- tab_index: Var[int] | int | None = None,
332
- title: Var[str] | str | None = None,
333
121
  style: Sequence[Mapping[str, Any]]
334
122
  | Mapping[str, Any]
335
123
  | Var[Mapping[str, Any]]
@@ -365,31 +153,6 @@ class HoverCardContent(elements.Div, RadixThemesComponent):
365
153
 
366
154
  Args:
367
155
  *children: Child components.
368
- side: The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled.
369
- side_offset: The distance in pixels from the trigger.
370
- align: The preferred alignment against the trigger. May change when collisions occur.
371
- align_offset: An offset in pixels from the "start" or "end" alignment options.
372
- avoid_collisions: Whether or not the hover card should avoid collisions with its trigger.
373
- collision_padding: 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 }.
374
- sticky: 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
375
- hide_when_detached: Whether to hide the content when the trigger becomes fully occluded.
376
- size: Hovercard size "1" - "3"
377
- access_key: Provides a hint for generating a keyboard shortcut for the current element.
378
- auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
379
- content_editable: Indicates whether the element's content is editable.
380
- context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
381
- dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
382
- draggable: Defines whether the element can be dragged.
383
- enter_key_hint: Hints what media types the media element is able to play.
384
- hidden: Defines whether the element is hidden.
385
- input_mode: Defines the type of the element.
386
- item_prop: Defines the name of the element for metadata purposes.
387
- lang: Defines the language used in the element.
388
- role: Defines the role of the element.
389
- slot: Assigns a slot in a shadow DOM shadow tree to an element.
390
- spell_check: Defines whether the element may be checked for spelling errors.
391
- tab_index: Defines the position of the current element in the tabbing order.
392
- title: Defines a tooltip for the element.
393
156
  style: The style of the component.
394
157
  key: A unique key for the component.
395
158
  id: The id for the component.
@@ -410,10 +173,6 @@ class HoverCard(ComponentNamespace):
410
173
  @staticmethod
411
174
  def __call__(
412
175
  *children,
413
- default_open: Var[bool] | bool | None = None,
414
- open: Var[bool] | bool | None = None,
415
- open_delay: Var[int] | int | None = None,
416
- close_delay: Var[int] | int | None = None,
417
176
  style: Sequence[Mapping[str, Any]]
418
177
  | Mapping[str, Any]
419
178
  | Var[Mapping[str, Any]]
@@ -450,10 +209,6 @@ class HoverCard(ComponentNamespace):
450
209
 
451
210
  Args:
452
211
  *children: Child components.
453
- default_open: The open state of the hover card when it is initially rendered. Use when you do not need to control its open state.
454
- open: The controlled open state of the hover card. Must be used in conjunction with onOpenChange.
455
- open_delay: The duration from when the mouse enters the trigger until the hover card opens.
456
- close_delay: The duration from when the mouse leaves the trigger until the hover card closes.
457
212
  on_open_change: Fired when the open state changes.
458
213
  style: The style of the component.
459
214
  key: A unique key for the component.