reflex 0.3.7__py3-none-any.whl → 0.3.8__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.
- reflex/.templates/apps/blank/code/blank.py +0 -1
- reflex/.templates/apps/demo/code/demo.py +0 -1
- reflex/.templates/apps/sidebar/code/sidebar.py +6 -2
- reflex/.templates/jinja/web/pages/_app.js.jinja2 +4 -1
- reflex/.templates/jinja/web/pages/base_page.js.jinja2 +4 -1
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +24 -0
- reflex/.templates/jinja/web/tailwind.config.js.jinja2 +4 -1
- reflex/.templates/web/utils/helpers/dataeditor.js +56 -54
- reflex/__init__.py +4 -2
- reflex/__init__.pyi +6 -2
- reflex/app.py +43 -9
- reflex/app.pyi +2 -1
- reflex/app_module_for_backend.py +13 -0
- reflex/compiler/compiler.py +19 -0
- reflex/components/__init__.py +9 -232
- reflex/components/base/__init__.py +5 -1
- reflex/components/base/app_wrap.py +1 -1
- reflex/components/base/app_wrap.pyi +1 -1
- reflex/components/base/document.py +0 -8
- reflex/components/base/document.pyi +0 -80
- reflex/components/{layout → base}/fragment.pyi +1 -1
- reflex/components/chakra/__init__.py +202 -19
- reflex/components/{libs/chakra.pyi → chakra/base.pyi} +1 -1
- reflex/components/chakra/datadisplay/__init__.py +12 -0
- reflex/components/{datadisplay → chakra/datadisplay}/badge.py +1 -1
- reflex/components/{datadisplay → chakra/datadisplay}/badge.pyi +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/code.py +5 -5
- reflex/components/{datadisplay → chakra/datadisplay}/code.pyi +5 -5
- reflex/components/{datadisplay → chakra/datadisplay}/divider.py +4 -2
- reflex/components/{datadisplay → chakra/datadisplay}/divider.pyi +5 -3
- reflex/components/{datadisplay → chakra/datadisplay}/keyboard_key.py +1 -1
- reflex/components/{datadisplay → chakra/datadisplay}/keyboard_key.pyi +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/list.py +3 -3
- reflex/components/{datadisplay → chakra/datadisplay}/list.pyi +4 -4
- reflex/components/{datadisplay → chakra/datadisplay}/stat.py +1 -1
- reflex/components/{datadisplay → chakra/datadisplay}/stat.pyi +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/table.py +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/table.pyi +3 -3
- reflex/components/{datadisplay → chakra/datadisplay}/tag.py +2 -2
- reflex/components/{datadisplay → chakra/datadisplay}/tag.pyi +3 -3
- reflex/components/{disclosure → chakra/disclosure}/accordion.py +1 -1
- reflex/components/{disclosure → chakra/disclosure}/accordion.pyi +2 -2
- reflex/components/{disclosure → chakra/disclosure}/tabs.py +2 -2
- reflex/components/{disclosure → chakra/disclosure}/tabs.pyi +3 -3
- reflex/components/{disclosure → chakra/disclosure}/transition.py +1 -1
- reflex/components/{disclosure → chakra/disclosure}/transition.pyi +2 -2
- reflex/components/{disclosure → chakra/disclosure}/visuallyhidden.py +1 -1
- reflex/components/{disclosure → chakra/disclosure}/visuallyhidden.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/alert.py +2 -2
- reflex/components/{feedback → chakra/feedback}/alert.pyi +2 -6
- reflex/components/{feedback → chakra/feedback}/circularprogress.py +1 -1
- reflex/components/{feedback → chakra/feedback}/circularprogress.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/progress.py +1 -1
- reflex/components/{feedback → chakra/feedback}/progress.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/skeleton.py +1 -1
- reflex/components/{feedback → chakra/feedback}/skeleton.pyi +2 -2
- reflex/components/{feedback → chakra/feedback}/spinner.py +1 -1
- reflex/components/{feedback → chakra/feedback}/spinner.pyi +2 -2
- reflex/components/{forms → chakra/forms}/__init__.py +2 -11
- reflex/components/{forms → chakra/forms}/button.py +3 -1
- reflex/components/{forms → chakra/forms}/button.pyi +2 -2
- reflex/components/{forms → chakra/forms}/checkbox.py +1 -1
- reflex/components/{forms → chakra/forms}/checkbox.pyi +2 -6
- reflex/components/{forms → chakra/forms}/colormodeswitch.py +10 -2
- reflex/components/{forms → chakra/forms}/colormodeswitch.pyi +83 -3
- reflex/components/{forms → chakra/forms}/date_picker.py +1 -1
- reflex/components/{forms → chakra/forms}/date_picker.pyi +2 -2
- reflex/components/{forms → chakra/forms}/date_time_picker.py +1 -1
- reflex/components/{forms → chakra/forms}/date_time_picker.pyi +2 -2
- reflex/components/{forms → chakra/forms}/editable.py +1 -1
- reflex/components/{forms → chakra/forms}/editable.pyi +2 -2
- reflex/components/{forms → chakra/forms}/email.py +1 -1
- reflex/components/{forms → chakra/forms}/email.pyi +2 -2
- reflex/components/{forms → chakra/forms}/form.py +1 -1
- reflex/components/{forms → chakra/forms}/form.pyi +2 -2
- reflex/components/{forms → chakra/forms}/iconbutton.py +1 -1
- reflex/components/{forms → chakra/forms}/iconbutton.pyi +2 -2
- reflex/components/{forms → chakra/forms}/input.py +5 -4
- reflex/components/{forms → chakra/forms}/input.pyi +59 -5
- reflex/components/{forms → chakra/forms}/numberinput.py +6 -2
- reflex/components/{forms → chakra/forms}/numberinput.pyi +10 -2
- reflex/components/{forms → chakra/forms}/password.py +1 -1
- reflex/components/{forms → chakra/forms}/password.pyi +2 -2
- reflex/components/{forms → chakra/forms}/pininput.py +1 -1
- reflex/components/{forms → chakra/forms}/pininput.pyi +2 -2
- reflex/components/{forms → chakra/forms}/radio.py +3 -3
- reflex/components/{forms → chakra/forms}/radio.pyi +4 -4
- reflex/components/{forms → chakra/forms}/rangeslider.py +1 -1
- reflex/components/{forms → chakra/forms}/rangeslider.pyi +2 -2
- reflex/components/{forms → chakra/forms}/select.py +3 -3
- reflex/components/{forms → chakra/forms}/select.pyi +4 -4
- reflex/components/{forms → chakra/forms}/slider.py +4 -3
- reflex/components/{forms → chakra/forms}/slider.pyi +5 -4
- reflex/components/{forms → chakra/forms}/switch.py +1 -1
- reflex/components/{forms → chakra/forms}/switch.pyi +2 -2
- reflex/components/{forms → chakra/forms}/textarea.py +2 -2
- reflex/components/{forms → chakra/forms}/textarea.pyi +3 -3
- reflex/components/chakra/forms/time_picker.py +11 -0
- reflex/components/chakra/forms/time_picker.pyi +129 -0
- reflex/components/{layout → chakra/layout}/__init__.py +1 -20
- reflex/components/{layout → chakra/layout}/aspect_ratio.py +1 -1
- reflex/components/{layout → chakra/layout}/aspect_ratio.pyi +2 -2
- reflex/components/{layout → chakra/layout}/box.py +1 -1
- reflex/components/{layout → chakra/layout}/box.pyi +2 -2
- reflex/components/{layout → chakra/layout}/card.py +2 -2
- reflex/components/{layout → chakra/layout}/card.pyi +3 -3
- reflex/components/{layout → chakra/layout}/center.py +1 -1
- reflex/components/{layout → chakra/layout}/center.pyi +2 -2
- reflex/components/{layout → chakra/layout}/container.py +1 -1
- reflex/components/{layout → chakra/layout}/container.pyi +2 -2
- reflex/components/{layout → chakra/layout}/flex.py +1 -1
- reflex/components/{layout → chakra/layout}/flex.pyi +2 -2
- reflex/components/{layout → chakra/layout}/grid.py +1 -1
- reflex/components/{layout → chakra/layout}/grid.pyi +2 -2
- reflex/components/{layout → chakra/layout}/html.py +1 -1
- reflex/components/{layout → chakra/layout}/html.pyi +2 -2
- reflex/components/{layout → chakra/layout}/spacer.py +1 -1
- reflex/components/{layout → chakra/layout}/spacer.pyi +2 -2
- reflex/components/{layout → chakra/layout}/stack.py +1 -1
- reflex/components/{layout → chakra/layout}/stack.pyi +2 -2
- reflex/components/{layout → chakra/layout}/wrap.py +1 -1
- reflex/components/{layout → chakra/layout}/wrap.pyi +2 -2
- reflex/components/chakra/media/__init__.py +7 -0
- reflex/components/{media → chakra/media}/avatar.py +1 -1
- reflex/components/{media → chakra/media}/avatar.pyi +2 -2
- reflex/components/chakra/media/icon.py +110 -0
- reflex/components/{media → chakra/media}/icon.pyi +2 -2
- reflex/components/chakra/media/image.py +1 -1
- reflex/components/chakra/media/image.pyi +1 -1
- reflex/components/{navigation → chakra/navigation}/__init__.py +0 -1
- reflex/components/{navigation → chakra/navigation}/breadcrumb.py +3 -3
- reflex/components/{navigation → chakra/navigation}/breadcrumb.pyi +4 -4
- reflex/components/{navigation → chakra/navigation}/link.py +2 -2
- reflex/components/{navigation → chakra/navigation}/link.pyi +3 -3
- reflex/components/{navigation → chakra/navigation}/linkoverlay.py +1 -1
- reflex/components/{navigation → chakra/navigation}/linkoverlay.pyi +2 -2
- reflex/components/{navigation → chakra/navigation}/stepper.py +1 -1
- reflex/components/{navigation → chakra/navigation}/stepper.pyi +2 -2
- reflex/components/{overlay → chakra/overlay}/__init__.py +0 -1
- reflex/components/{overlay → chakra/overlay}/alertdialog.py +2 -2
- reflex/components/{overlay → chakra/overlay}/alertdialog.pyi +3 -3
- reflex/components/{overlay → chakra/overlay}/drawer.py +3 -3
- reflex/components/{overlay → chakra/overlay}/drawer.pyi +4 -4
- reflex/components/{overlay → chakra/overlay}/menu.py +4 -6
- reflex/components/{overlay → chakra/overlay}/menu.pyi +4 -4
- reflex/components/{overlay → chakra/overlay}/modal.py +2 -2
- reflex/components/{overlay → chakra/overlay}/modal.pyi +3 -3
- reflex/components/{overlay → chakra/overlay}/popover.py +2 -2
- reflex/components/{overlay → chakra/overlay}/popover.pyi +3 -3
- reflex/components/{overlay → chakra/overlay}/tooltip.py +1 -1
- reflex/components/{overlay → chakra/overlay}/tooltip.pyi +2 -2
- reflex/components/{typography → chakra/typography}/__init__.py +0 -1
- reflex/components/{typography → chakra/typography}/heading.py +1 -1
- reflex/components/{typography → chakra/typography}/heading.pyi +2 -2
- reflex/components/{typography → chakra/typography}/highlight.py +1 -1
- reflex/components/{typography → chakra/typography}/highlight.pyi +2 -2
- reflex/components/{typography → chakra/typography}/span.py +1 -1
- reflex/components/{typography → chakra/typography}/span.pyi +2 -2
- reflex/components/{typography → chakra/typography}/text.py +1 -1
- reflex/components/{typography → chakra/typography}/text.pyi +2 -2
- reflex/components/component.py +7 -8
- reflex/components/core/__init__.py +22 -0
- reflex/components/{overlay → core}/banner.py +4 -3
- reflex/components/{overlay → core}/banner.pyi +5 -4
- reflex/components/{navigation → core}/client_side_routing.py +1 -1
- reflex/components/{navigation → core}/client_side_routing.pyi +2 -2
- reflex/components/{layout → core}/cond.py +1 -1
- reflex/components/{forms → core}/debounce.py +1 -1
- reflex/components/{forms → core}/debounce.pyi +2 -2
- reflex/components/{layout → core}/foreach.py +18 -2
- reflex/components/core/match.py +257 -0
- reflex/components/{layout → core}/responsive.py +1 -1
- reflex/components/{forms → core}/upload.py +2 -2
- reflex/components/{forms → core}/upload.pyi +3 -3
- reflex/components/datadisplay/__init__.py +4 -13
- reflex/components/el/elements/inline.py +4 -0
- reflex/components/el/elements/inline.pyi +3 -0
- reflex/components/gridjs/__init__.py +5 -0
- reflex/components/{datadisplay → gridjs}/datatable.pyi +1 -1
- reflex/components/literals.py +27 -0
- reflex/components/markdown/__init__.py +5 -0
- reflex/components/{typography → markdown}/markdown.py +16 -6
- reflex/components/{typography → markdown}/markdown.pyi +10 -5
- reflex/components/media/__init__.py +1 -8
- reflex/components/media/icon.py +2 -110
- reflex/components/moment/__init__.py +5 -0
- reflex/components/{datadisplay → moment}/moment.pyi +1 -1
- reflex/components/next/__init__.py +2 -0
- reflex/components/{navigation/nextlink.pyi → next/link.pyi} +1 -1
- reflex/components/plotly/__init__.py +5 -0
- reflex/components/{graphing → plotly}/plotly.pyi +1 -1
- reflex/components/radix/primitives/__init__.py +12 -1
- reflex/components/radix/primitives/accordion.py +33 -68
- reflex/components/radix/primitives/accordion.pyi +6 -89
- reflex/components/radix/primitives/base.py +27 -0
- reflex/components/radix/primitives/base.pyi +95 -0
- reflex/components/radix/primitives/form.py +267 -0
- reflex/components/radix/primitives/form.pyi +740 -0
- reflex/components/radix/primitives/progress.py +84 -0
- reflex/components/radix/primitives/progress.pyi +268 -0
- reflex/components/radix/primitives/slider.py +179 -0
- reflex/components/radix/primitives/slider.pyi +452 -0
- reflex/components/radix/themes/base.py +43 -31
- reflex/components/radix/themes/base.pyi +223 -29
- reflex/components/radix/themes/components/__init__.py +18 -3
- reflex/components/radix/themes/components/alertdialog.py +27 -6
- reflex/components/radix/themes/components/alertdialog.pyi +713 -2
- reflex/components/radix/themes/components/aspectratio.py +1 -1
- reflex/components/radix/themes/components/aspectratio.pyi +67 -2
- reflex/components/radix/themes/components/avatar.py +0 -3
- reflex/components/radix/themes/components/avatar.pyi +13 -13
- reflex/components/radix/themes/components/badge.py +1 -4
- reflex/components/radix/themes/components/badge.pyi +11 -11
- reflex/components/radix/themes/components/button.py +1 -1
- reflex/components/radix/themes/components/button.pyi +15 -11
- reflex/components/radix/themes/components/callout.pyi +144 -12
- reflex/components/radix/themes/components/card.py +1 -1
- reflex/components/radix/themes/components/card.pyi +68 -1
- reflex/components/radix/themes/components/checkbox.pyi +14 -12
- reflex/components/radix/themes/components/contextmenu.pyi +402 -8
- reflex/components/radix/themes/components/dialog.py +6 -0
- reflex/components/radix/themes/components/dialog.pyi +518 -0
- reflex/components/radix/themes/components/dropdownmenu.pyi +337 -8
- reflex/components/radix/themes/components/hovercard.pyi +195 -0
- reflex/components/radix/themes/components/iconbutton.pyi +14 -12
- reflex/components/radix/themes/components/icons.py +2 -2
- reflex/components/radix/themes/components/inset.pyi +65 -0
- reflex/components/radix/themes/components/popover.pyi +260 -0
- reflex/components/radix/themes/components/radiogroup.py +1 -1
- reflex/components/radix/themes/components/radiogroup.pyi +78 -9
- reflex/components/radix/themes/components/scrollarea.pyi +65 -0
- reflex/components/radix/themes/components/select.pyi +342 -13
- reflex/components/radix/themes/components/separator.pyi +7 -5
- reflex/components/radix/themes/components/slider.py +4 -4
- reflex/components/radix/themes/components/slider.pyi +17 -13
- reflex/components/radix/themes/components/switch.pyi +20 -18
- reflex/components/radix/themes/components/table.py +1 -1
- reflex/components/radix/themes/components/table.pyi +458 -1
- reflex/components/radix/themes/components/tabs.py +4 -4
- reflex/components/radix/themes/components/tabs.pyi +263 -3
- reflex/components/radix/themes/components/textarea.py +1 -1
- reflex/components/radix/themes/components/textarea.pyi +1 -1
- reflex/components/radix/themes/components/textfield.py +1 -1
- reflex/components/radix/themes/components/textfield.pyi +18 -14
- reflex/components/radix/themes/components/tooltip.py +15 -0
- reflex/components/radix/themes/components/tooltip.pyi +205 -0
- reflex/components/radix/themes/layout/base.pyi +65 -0
- reflex/components/radix/themes/layout/box.pyi +65 -0
- reflex/components/radix/themes/layout/container.pyi +65 -0
- reflex/components/radix/themes/layout/flex.pyi +65 -0
- reflex/components/radix/themes/layout/grid.pyi +65 -0
- reflex/components/radix/themes/layout/section.pyi +65 -0
- reflex/components/radix/themes/typography/blockquote.pyi +16 -14
- reflex/components/radix/themes/typography/code.pyi +22 -20
- reflex/components/radix/themes/typography/em.pyi +65 -0
- reflex/components/radix/themes/typography/heading.pyi +30 -28
- reflex/components/radix/themes/typography/kbd.pyi +65 -0
- reflex/components/radix/themes/typography/link.py +2 -1
- reflex/components/radix/themes/typography/link.pyi +121 -28
- reflex/components/radix/themes/typography/quote.pyi +66 -0
- reflex/components/radix/themes/typography/strong.pyi +65 -0
- reflex/components/radix/themes/typography/text.pyi +30 -28
- reflex/components/react_player/__init__.py +7 -0
- reflex/components/react_player/audio.py +8 -0
- reflex/components/{media → react_player}/audio.pyi +3 -3
- reflex/components/{libs → react_player}/react_player.py +1 -1
- reflex/components/{libs → react_player}/react_player.pyi +3 -3
- reflex/components/react_player/video.py +8 -0
- reflex/components/{media → react_player}/video.pyi +3 -3
- reflex/components/{graphing/recharts → recharts}/cartesian.pyi +1 -1
- reflex/components/{graphing/recharts → recharts}/charts.py +1 -1
- reflex/components/{graphing/recharts → recharts}/charts.pyi +2 -2
- reflex/components/{graphing/recharts → recharts}/general.pyi +1 -1
- reflex/components/{graphing/recharts → recharts}/polar.pyi +1 -1
- reflex/components/{graphing/recharts → recharts}/recharts.pyi +1 -1
- reflex/components/suneditor/__init__.py +5 -0
- reflex/components/{forms → suneditor}/editor.pyi +1 -1
- reflex/components/tags/__init__.py +1 -0
- reflex/components/tags/iter_tag.py +3 -3
- reflex/components/tags/match_tag.py +19 -0
- reflex/constants/base.py +2 -0
- reflex/constants/installer.py +1 -0
- reflex/constants/style.py +1 -1
- reflex/event.py +1 -1
- reflex/reflex.py +14 -12
- reflex/state.py +14 -0
- reflex/style.py +1 -1
- reflex/testing.py +59 -9
- reflex/utils/build.py +7 -1
- reflex/utils/exceptions.py +6 -0
- reflex/utils/exec.py +2 -2
- reflex/utils/export.py +1 -1
- reflex/utils/format.py +41 -4
- reflex/utils/prerequisites.py +37 -6
- reflex/utils/types.py +2 -2
- reflex/vars.py +25 -1
- {reflex-0.3.7.dist-info → reflex-0.3.8.dist-info}/METADATA +7 -2
- reflex-0.3.8.dist-info/RECORD +492 -0
- reflex/components/graphing/__init__.py +0 -5
- reflex/components/libs/__init__.py +0 -31
- reflex/components/media/audio.py +0 -8
- reflex/components/media/image.pyi +0 -123
- reflex/components/media/video.py +0 -8
- reflex-0.3.7.dist-info/RECORD +0 -470
- /reflex/components/{layout → base}/fragment.py +0 -0
- /reflex/components/{libs/chakra.py → chakra/base.py} +0 -0
- /reflex/components/{disclosure → chakra/disclosure}/__init__.py +0 -0
- /reflex/components/{feedback → chakra/feedback}/__init__.py +0 -0
- /reflex/components/{forms → chakra/forms}/multiselect.py +0 -0
- /reflex/components/{datadisplay → gridjs}/datatable.py +0 -0
- /reflex/components/{datadisplay → moment}/moment.py +0 -0
- /reflex/components/{navigation/nextlink.py → next/link.py} +0 -0
- /reflex/components/{graphing → plotly}/plotly.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/__init__.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/cartesian.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/general.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/polar.py +0 -0
- /reflex/components/{graphing/recharts → recharts}/recharts.py +0 -0
- /reflex/components/{forms → suneditor}/editor.py +0 -0
- {reflex-0.3.7.dist-info → reflex-0.3.8.dist-info}/LICENSE +0 -0
- {reflex-0.3.7.dist-info → reflex-0.3.8.dist-info}/WHEEL +0 -0
- {reflex-0.3.7.dist-info → reflex-0.3.8.dist-info}/entry_points.txt +0 -0
|
@@ -18,7 +18,72 @@ class TableRoot(el.Table, CommonMarginProps, RadixThemesComponent):
|
|
|
18
18
|
def create( # type: ignore
|
|
19
19
|
cls,
|
|
20
20
|
*children,
|
|
21
|
-
|
|
21
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
22
|
+
color_scheme: Optional[
|
|
23
|
+
Union[
|
|
24
|
+
Var[
|
|
25
|
+
Literal[
|
|
26
|
+
"tomato",
|
|
27
|
+
"red",
|
|
28
|
+
"ruby",
|
|
29
|
+
"crimson",
|
|
30
|
+
"pink",
|
|
31
|
+
"plum",
|
|
32
|
+
"purple",
|
|
33
|
+
"violet",
|
|
34
|
+
"iris",
|
|
35
|
+
"indigo",
|
|
36
|
+
"blue",
|
|
37
|
+
"cyan",
|
|
38
|
+
"teal",
|
|
39
|
+
"jade",
|
|
40
|
+
"green",
|
|
41
|
+
"grass",
|
|
42
|
+
"brown",
|
|
43
|
+
"orange",
|
|
44
|
+
"sky",
|
|
45
|
+
"mint",
|
|
46
|
+
"lime",
|
|
47
|
+
"yellow",
|
|
48
|
+
"amber",
|
|
49
|
+
"gold",
|
|
50
|
+
"bronze",
|
|
51
|
+
"gray",
|
|
52
|
+
]
|
|
53
|
+
],
|
|
54
|
+
Literal[
|
|
55
|
+
"tomato",
|
|
56
|
+
"red",
|
|
57
|
+
"ruby",
|
|
58
|
+
"crimson",
|
|
59
|
+
"pink",
|
|
60
|
+
"plum",
|
|
61
|
+
"purple",
|
|
62
|
+
"violet",
|
|
63
|
+
"iris",
|
|
64
|
+
"indigo",
|
|
65
|
+
"blue",
|
|
66
|
+
"cyan",
|
|
67
|
+
"teal",
|
|
68
|
+
"jade",
|
|
69
|
+
"green",
|
|
70
|
+
"grass",
|
|
71
|
+
"brown",
|
|
72
|
+
"orange",
|
|
73
|
+
"sky",
|
|
74
|
+
"mint",
|
|
75
|
+
"lime",
|
|
76
|
+
"yellow",
|
|
77
|
+
"amber",
|
|
78
|
+
"gold",
|
|
79
|
+
"bronze",
|
|
80
|
+
"gray",
|
|
81
|
+
],
|
|
82
|
+
]
|
|
83
|
+
] = None,
|
|
84
|
+
size: Optional[
|
|
85
|
+
Union[Var[Literal["1", "2", "3"]], Literal["1", "2", "3"]]
|
|
86
|
+
] = None,
|
|
22
87
|
variant: Optional[
|
|
23
88
|
Union[Var[Literal["surface", "ghost"]], Literal["surface", "ghost"]]
|
|
24
89
|
] = None,
|
|
@@ -182,6 +247,8 @@ class TableRoot(el.Table, CommonMarginProps, RadixThemesComponent):
|
|
|
182
247
|
|
|
183
248
|
Args:
|
|
184
249
|
*children: Child components.
|
|
250
|
+
color: map to CSS default color property.
|
|
251
|
+
color_scheme: map to radix color property.
|
|
185
252
|
size: The size of the table: "1" | "2" | "3"
|
|
186
253
|
variant: The variant of the table
|
|
187
254
|
align: Alignment of the table
|
|
@@ -232,6 +299,69 @@ class TableHeader(el.Thead, CommonMarginProps, RadixThemesComponent):
|
|
|
232
299
|
def create( # type: ignore
|
|
233
300
|
cls,
|
|
234
301
|
*children,
|
|
302
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
303
|
+
color_scheme: Optional[
|
|
304
|
+
Union[
|
|
305
|
+
Var[
|
|
306
|
+
Literal[
|
|
307
|
+
"tomato",
|
|
308
|
+
"red",
|
|
309
|
+
"ruby",
|
|
310
|
+
"crimson",
|
|
311
|
+
"pink",
|
|
312
|
+
"plum",
|
|
313
|
+
"purple",
|
|
314
|
+
"violet",
|
|
315
|
+
"iris",
|
|
316
|
+
"indigo",
|
|
317
|
+
"blue",
|
|
318
|
+
"cyan",
|
|
319
|
+
"teal",
|
|
320
|
+
"jade",
|
|
321
|
+
"green",
|
|
322
|
+
"grass",
|
|
323
|
+
"brown",
|
|
324
|
+
"orange",
|
|
325
|
+
"sky",
|
|
326
|
+
"mint",
|
|
327
|
+
"lime",
|
|
328
|
+
"yellow",
|
|
329
|
+
"amber",
|
|
330
|
+
"gold",
|
|
331
|
+
"bronze",
|
|
332
|
+
"gray",
|
|
333
|
+
]
|
|
334
|
+
],
|
|
335
|
+
Literal[
|
|
336
|
+
"tomato",
|
|
337
|
+
"red",
|
|
338
|
+
"ruby",
|
|
339
|
+
"crimson",
|
|
340
|
+
"pink",
|
|
341
|
+
"plum",
|
|
342
|
+
"purple",
|
|
343
|
+
"violet",
|
|
344
|
+
"iris",
|
|
345
|
+
"indigo",
|
|
346
|
+
"blue",
|
|
347
|
+
"cyan",
|
|
348
|
+
"teal",
|
|
349
|
+
"jade",
|
|
350
|
+
"green",
|
|
351
|
+
"grass",
|
|
352
|
+
"brown",
|
|
353
|
+
"orange",
|
|
354
|
+
"sky",
|
|
355
|
+
"mint",
|
|
356
|
+
"lime",
|
|
357
|
+
"yellow",
|
|
358
|
+
"amber",
|
|
359
|
+
"gold",
|
|
360
|
+
"bronze",
|
|
361
|
+
"gray",
|
|
362
|
+
],
|
|
363
|
+
]
|
|
364
|
+
] = None,
|
|
235
365
|
align: Optional[
|
|
236
366
|
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
237
367
|
] = None,
|
|
@@ -380,6 +510,8 @@ class TableHeader(el.Thead, CommonMarginProps, RadixThemesComponent):
|
|
|
380
510
|
|
|
381
511
|
Args:
|
|
382
512
|
*children: Child components.
|
|
513
|
+
color: map to CSS default color property.
|
|
514
|
+
color_scheme: map to radix color property.
|
|
383
515
|
align: Alignment of the content within the table header
|
|
384
516
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
385
517
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
@@ -424,6 +556,69 @@ class TableRow(el.Tr, CommonMarginProps, RadixThemesComponent):
|
|
|
424
556
|
def create( # type: ignore
|
|
425
557
|
cls,
|
|
426
558
|
*children,
|
|
559
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
560
|
+
color_scheme: Optional[
|
|
561
|
+
Union[
|
|
562
|
+
Var[
|
|
563
|
+
Literal[
|
|
564
|
+
"tomato",
|
|
565
|
+
"red",
|
|
566
|
+
"ruby",
|
|
567
|
+
"crimson",
|
|
568
|
+
"pink",
|
|
569
|
+
"plum",
|
|
570
|
+
"purple",
|
|
571
|
+
"violet",
|
|
572
|
+
"iris",
|
|
573
|
+
"indigo",
|
|
574
|
+
"blue",
|
|
575
|
+
"cyan",
|
|
576
|
+
"teal",
|
|
577
|
+
"jade",
|
|
578
|
+
"green",
|
|
579
|
+
"grass",
|
|
580
|
+
"brown",
|
|
581
|
+
"orange",
|
|
582
|
+
"sky",
|
|
583
|
+
"mint",
|
|
584
|
+
"lime",
|
|
585
|
+
"yellow",
|
|
586
|
+
"amber",
|
|
587
|
+
"gold",
|
|
588
|
+
"bronze",
|
|
589
|
+
"gray",
|
|
590
|
+
]
|
|
591
|
+
],
|
|
592
|
+
Literal[
|
|
593
|
+
"tomato",
|
|
594
|
+
"red",
|
|
595
|
+
"ruby",
|
|
596
|
+
"crimson",
|
|
597
|
+
"pink",
|
|
598
|
+
"plum",
|
|
599
|
+
"purple",
|
|
600
|
+
"violet",
|
|
601
|
+
"iris",
|
|
602
|
+
"indigo",
|
|
603
|
+
"blue",
|
|
604
|
+
"cyan",
|
|
605
|
+
"teal",
|
|
606
|
+
"jade",
|
|
607
|
+
"green",
|
|
608
|
+
"grass",
|
|
609
|
+
"brown",
|
|
610
|
+
"orange",
|
|
611
|
+
"sky",
|
|
612
|
+
"mint",
|
|
613
|
+
"lime",
|
|
614
|
+
"yellow",
|
|
615
|
+
"amber",
|
|
616
|
+
"gold",
|
|
617
|
+
"bronze",
|
|
618
|
+
"gray",
|
|
619
|
+
],
|
|
620
|
+
]
|
|
621
|
+
] = None,
|
|
427
622
|
align: Optional[
|
|
428
623
|
Union[
|
|
429
624
|
Var[Literal["start", "center", "end", "baseline"]],
|
|
@@ -578,6 +773,8 @@ class TableRow(el.Tr, CommonMarginProps, RadixThemesComponent):
|
|
|
578
773
|
|
|
579
774
|
Args:
|
|
580
775
|
*children: Child components.
|
|
776
|
+
color: map to CSS default color property.
|
|
777
|
+
color_scheme: map to radix color property.
|
|
581
778
|
align: Alignment of the content within the table row
|
|
582
779
|
bgcolor: Background color of the table row
|
|
583
780
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
@@ -623,6 +820,69 @@ class TableColumnHeaderCell(el.Th, CommonMarginProps, RadixThemesComponent):
|
|
|
623
820
|
def create( # type: ignore
|
|
624
821
|
cls,
|
|
625
822
|
*children,
|
|
823
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
824
|
+
color_scheme: Optional[
|
|
825
|
+
Union[
|
|
826
|
+
Var[
|
|
827
|
+
Literal[
|
|
828
|
+
"tomato",
|
|
829
|
+
"red",
|
|
830
|
+
"ruby",
|
|
831
|
+
"crimson",
|
|
832
|
+
"pink",
|
|
833
|
+
"plum",
|
|
834
|
+
"purple",
|
|
835
|
+
"violet",
|
|
836
|
+
"iris",
|
|
837
|
+
"indigo",
|
|
838
|
+
"blue",
|
|
839
|
+
"cyan",
|
|
840
|
+
"teal",
|
|
841
|
+
"jade",
|
|
842
|
+
"green",
|
|
843
|
+
"grass",
|
|
844
|
+
"brown",
|
|
845
|
+
"orange",
|
|
846
|
+
"sky",
|
|
847
|
+
"mint",
|
|
848
|
+
"lime",
|
|
849
|
+
"yellow",
|
|
850
|
+
"amber",
|
|
851
|
+
"gold",
|
|
852
|
+
"bronze",
|
|
853
|
+
"gray",
|
|
854
|
+
]
|
|
855
|
+
],
|
|
856
|
+
Literal[
|
|
857
|
+
"tomato",
|
|
858
|
+
"red",
|
|
859
|
+
"ruby",
|
|
860
|
+
"crimson",
|
|
861
|
+
"pink",
|
|
862
|
+
"plum",
|
|
863
|
+
"purple",
|
|
864
|
+
"violet",
|
|
865
|
+
"iris",
|
|
866
|
+
"indigo",
|
|
867
|
+
"blue",
|
|
868
|
+
"cyan",
|
|
869
|
+
"teal",
|
|
870
|
+
"jade",
|
|
871
|
+
"green",
|
|
872
|
+
"grass",
|
|
873
|
+
"brown",
|
|
874
|
+
"orange",
|
|
875
|
+
"sky",
|
|
876
|
+
"mint",
|
|
877
|
+
"lime",
|
|
878
|
+
"yellow",
|
|
879
|
+
"amber",
|
|
880
|
+
"gold",
|
|
881
|
+
"bronze",
|
|
882
|
+
"gray",
|
|
883
|
+
],
|
|
884
|
+
]
|
|
885
|
+
] = None,
|
|
626
886
|
justify: Optional[
|
|
627
887
|
Union[
|
|
628
888
|
Var[Literal["start", "center", "end"]],
|
|
@@ -796,6 +1056,8 @@ class TableColumnHeaderCell(el.Th, CommonMarginProps, RadixThemesComponent):
|
|
|
796
1056
|
|
|
797
1057
|
Args:
|
|
798
1058
|
*children: Child components.
|
|
1059
|
+
color: map to CSS default color property.
|
|
1060
|
+
color_scheme: map to radix color property.
|
|
799
1061
|
justify: The justification of the column
|
|
800
1062
|
width: width of the column
|
|
801
1063
|
align: Alignment of the content within the table header cell
|
|
@@ -848,6 +1110,69 @@ class TableBody(el.Tbody, CommonMarginProps, RadixThemesComponent):
|
|
|
848
1110
|
def create( # type: ignore
|
|
849
1111
|
cls,
|
|
850
1112
|
*children,
|
|
1113
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
1114
|
+
color_scheme: Optional[
|
|
1115
|
+
Union[
|
|
1116
|
+
Var[
|
|
1117
|
+
Literal[
|
|
1118
|
+
"tomato",
|
|
1119
|
+
"red",
|
|
1120
|
+
"ruby",
|
|
1121
|
+
"crimson",
|
|
1122
|
+
"pink",
|
|
1123
|
+
"plum",
|
|
1124
|
+
"purple",
|
|
1125
|
+
"violet",
|
|
1126
|
+
"iris",
|
|
1127
|
+
"indigo",
|
|
1128
|
+
"blue",
|
|
1129
|
+
"cyan",
|
|
1130
|
+
"teal",
|
|
1131
|
+
"jade",
|
|
1132
|
+
"green",
|
|
1133
|
+
"grass",
|
|
1134
|
+
"brown",
|
|
1135
|
+
"orange",
|
|
1136
|
+
"sky",
|
|
1137
|
+
"mint",
|
|
1138
|
+
"lime",
|
|
1139
|
+
"yellow",
|
|
1140
|
+
"amber",
|
|
1141
|
+
"gold",
|
|
1142
|
+
"bronze",
|
|
1143
|
+
"gray",
|
|
1144
|
+
]
|
|
1145
|
+
],
|
|
1146
|
+
Literal[
|
|
1147
|
+
"tomato",
|
|
1148
|
+
"red",
|
|
1149
|
+
"ruby",
|
|
1150
|
+
"crimson",
|
|
1151
|
+
"pink",
|
|
1152
|
+
"plum",
|
|
1153
|
+
"purple",
|
|
1154
|
+
"violet",
|
|
1155
|
+
"iris",
|
|
1156
|
+
"indigo",
|
|
1157
|
+
"blue",
|
|
1158
|
+
"cyan",
|
|
1159
|
+
"teal",
|
|
1160
|
+
"jade",
|
|
1161
|
+
"green",
|
|
1162
|
+
"grass",
|
|
1163
|
+
"brown",
|
|
1164
|
+
"orange",
|
|
1165
|
+
"sky",
|
|
1166
|
+
"mint",
|
|
1167
|
+
"lime",
|
|
1168
|
+
"yellow",
|
|
1169
|
+
"amber",
|
|
1170
|
+
"gold",
|
|
1171
|
+
"bronze",
|
|
1172
|
+
"gray",
|
|
1173
|
+
],
|
|
1174
|
+
]
|
|
1175
|
+
] = None,
|
|
851
1176
|
align: Optional[
|
|
852
1177
|
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
853
1178
|
] = None,
|
|
@@ -999,6 +1324,8 @@ class TableBody(el.Tbody, CommonMarginProps, RadixThemesComponent):
|
|
|
999
1324
|
|
|
1000
1325
|
Args:
|
|
1001
1326
|
*children: Child components.
|
|
1327
|
+
color: map to CSS default color property.
|
|
1328
|
+
color_scheme: map to radix color property.
|
|
1002
1329
|
align: Alignment of the content within the table body
|
|
1003
1330
|
bgcolor: Background color of the table body
|
|
1004
1331
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
@@ -1044,6 +1371,69 @@ class TableCell(el.Td, CommonMarginProps, RadixThemesComponent):
|
|
|
1044
1371
|
def create( # type: ignore
|
|
1045
1372
|
cls,
|
|
1046
1373
|
*children,
|
|
1374
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
1375
|
+
color_scheme: Optional[
|
|
1376
|
+
Union[
|
|
1377
|
+
Var[
|
|
1378
|
+
Literal[
|
|
1379
|
+
"tomato",
|
|
1380
|
+
"red",
|
|
1381
|
+
"ruby",
|
|
1382
|
+
"crimson",
|
|
1383
|
+
"pink",
|
|
1384
|
+
"plum",
|
|
1385
|
+
"purple",
|
|
1386
|
+
"violet",
|
|
1387
|
+
"iris",
|
|
1388
|
+
"indigo",
|
|
1389
|
+
"blue",
|
|
1390
|
+
"cyan",
|
|
1391
|
+
"teal",
|
|
1392
|
+
"jade",
|
|
1393
|
+
"green",
|
|
1394
|
+
"grass",
|
|
1395
|
+
"brown",
|
|
1396
|
+
"orange",
|
|
1397
|
+
"sky",
|
|
1398
|
+
"mint",
|
|
1399
|
+
"lime",
|
|
1400
|
+
"yellow",
|
|
1401
|
+
"amber",
|
|
1402
|
+
"gold",
|
|
1403
|
+
"bronze",
|
|
1404
|
+
"gray",
|
|
1405
|
+
]
|
|
1406
|
+
],
|
|
1407
|
+
Literal[
|
|
1408
|
+
"tomato",
|
|
1409
|
+
"red",
|
|
1410
|
+
"ruby",
|
|
1411
|
+
"crimson",
|
|
1412
|
+
"pink",
|
|
1413
|
+
"plum",
|
|
1414
|
+
"purple",
|
|
1415
|
+
"violet",
|
|
1416
|
+
"iris",
|
|
1417
|
+
"indigo",
|
|
1418
|
+
"blue",
|
|
1419
|
+
"cyan",
|
|
1420
|
+
"teal",
|
|
1421
|
+
"jade",
|
|
1422
|
+
"green",
|
|
1423
|
+
"grass",
|
|
1424
|
+
"brown",
|
|
1425
|
+
"orange",
|
|
1426
|
+
"sky",
|
|
1427
|
+
"mint",
|
|
1428
|
+
"lime",
|
|
1429
|
+
"yellow",
|
|
1430
|
+
"amber",
|
|
1431
|
+
"gold",
|
|
1432
|
+
"bronze",
|
|
1433
|
+
"gray",
|
|
1434
|
+
],
|
|
1435
|
+
]
|
|
1436
|
+
] = None,
|
|
1047
1437
|
justify: Optional[
|
|
1048
1438
|
Union[
|
|
1049
1439
|
Var[Literal["start", "center", "end"]],
|
|
@@ -1214,6 +1604,8 @@ class TableCell(el.Td, CommonMarginProps, RadixThemesComponent):
|
|
|
1214
1604
|
|
|
1215
1605
|
Args:
|
|
1216
1606
|
*children: Child components.
|
|
1607
|
+
color: map to CSS default color property.
|
|
1608
|
+
color_scheme: map to radix color property.
|
|
1217
1609
|
justify: The justification of the column
|
|
1218
1610
|
width: width of the column
|
|
1219
1611
|
align: Alignment of the content within the table cell
|
|
@@ -1265,6 +1657,69 @@ class TableRowHeaderCell(el.Th, CommonMarginProps, RadixThemesComponent):
|
|
|
1265
1657
|
def create( # type: ignore
|
|
1266
1658
|
cls,
|
|
1267
1659
|
*children,
|
|
1660
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
1661
|
+
color_scheme: Optional[
|
|
1662
|
+
Union[
|
|
1663
|
+
Var[
|
|
1664
|
+
Literal[
|
|
1665
|
+
"tomato",
|
|
1666
|
+
"red",
|
|
1667
|
+
"ruby",
|
|
1668
|
+
"crimson",
|
|
1669
|
+
"pink",
|
|
1670
|
+
"plum",
|
|
1671
|
+
"purple",
|
|
1672
|
+
"violet",
|
|
1673
|
+
"iris",
|
|
1674
|
+
"indigo",
|
|
1675
|
+
"blue",
|
|
1676
|
+
"cyan",
|
|
1677
|
+
"teal",
|
|
1678
|
+
"jade",
|
|
1679
|
+
"green",
|
|
1680
|
+
"grass",
|
|
1681
|
+
"brown",
|
|
1682
|
+
"orange",
|
|
1683
|
+
"sky",
|
|
1684
|
+
"mint",
|
|
1685
|
+
"lime",
|
|
1686
|
+
"yellow",
|
|
1687
|
+
"amber",
|
|
1688
|
+
"gold",
|
|
1689
|
+
"bronze",
|
|
1690
|
+
"gray",
|
|
1691
|
+
]
|
|
1692
|
+
],
|
|
1693
|
+
Literal[
|
|
1694
|
+
"tomato",
|
|
1695
|
+
"red",
|
|
1696
|
+
"ruby",
|
|
1697
|
+
"crimson",
|
|
1698
|
+
"pink",
|
|
1699
|
+
"plum",
|
|
1700
|
+
"purple",
|
|
1701
|
+
"violet",
|
|
1702
|
+
"iris",
|
|
1703
|
+
"indigo",
|
|
1704
|
+
"blue",
|
|
1705
|
+
"cyan",
|
|
1706
|
+
"teal",
|
|
1707
|
+
"jade",
|
|
1708
|
+
"green",
|
|
1709
|
+
"grass",
|
|
1710
|
+
"brown",
|
|
1711
|
+
"orange",
|
|
1712
|
+
"sky",
|
|
1713
|
+
"mint",
|
|
1714
|
+
"lime",
|
|
1715
|
+
"yellow",
|
|
1716
|
+
"amber",
|
|
1717
|
+
"gold",
|
|
1718
|
+
"bronze",
|
|
1719
|
+
"gray",
|
|
1720
|
+
],
|
|
1721
|
+
]
|
|
1722
|
+
] = None,
|
|
1268
1723
|
justify: Optional[
|
|
1269
1724
|
Union[
|
|
1270
1725
|
Var[Literal["start", "center", "end"]],
|
|
@@ -1438,6 +1893,8 @@ class TableRowHeaderCell(el.Th, CommonMarginProps, RadixThemesComponent):
|
|
|
1438
1893
|
|
|
1439
1894
|
Args:
|
|
1440
1895
|
*children: Child components.
|
|
1896
|
+
color: map to CSS default color property.
|
|
1897
|
+
color_scheme: map to radix color property.
|
|
1441
1898
|
justify: The justification of the column
|
|
1442
1899
|
width: width of the column
|
|
1443
1900
|
align: Alignment of the content within the table header cell
|
|
@@ -14,10 +14,7 @@ class TabsRoot(CommonMarginProps, RadixThemesComponent):
|
|
|
14
14
|
|
|
15
15
|
tag = "Tabs.Root"
|
|
16
16
|
|
|
17
|
-
# The
|
|
18
|
-
size: Var[Literal[1, 2, 3]]
|
|
19
|
-
|
|
20
|
-
# The variant of the table
|
|
17
|
+
# The variant of the tab
|
|
21
18
|
variant: Var[Literal["surface", "ghost"]]
|
|
22
19
|
|
|
23
20
|
# The value of the tab that should be active when initially rendered. Use when you do not need to control the state of the tabs.
|
|
@@ -63,3 +60,6 @@ class TabsContent(CommonMarginProps, RadixThemesComponent):
|
|
|
63
60
|
"""Trigger an action or event, such as submitting a form or displaying a dialog."""
|
|
64
61
|
|
|
65
62
|
tag = "Tabs.Content"
|
|
63
|
+
|
|
64
|
+
# The value of the tab. Must be unique for each tab.
|
|
65
|
+
value: Var[str]
|