reflex 0.3.7a1__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/config.py +1 -1
- 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 +56 -11
- reflex/utils/processes.py +8 -1
- reflex/utils/types.py +2 -2
- reflex/vars.py +25 -1
- {reflex-0.3.7a1.dist-info → reflex-0.3.8.dist-info}/METADATA +8 -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.7a1.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.7a1.dist-info → reflex-0.3.8.dist-info}/LICENSE +0 -0
- {reflex-0.3.7a1.dist-info → reflex-0.3.8.dist-info}/WHEEL +0 -0
- {reflex-0.3.7a1.dist-info → reflex-0.3.8.dist-info}/entry_points.txt +0 -0
|
@@ -19,6 +19,69 @@ class LayoutComponent(CommonMarginProps, RadixThemesComponent):
|
|
|
19
19
|
def create( # type: ignore
|
|
20
20
|
cls,
|
|
21
21
|
*children,
|
|
22
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
23
|
+
color_scheme: Optional[
|
|
24
|
+
Union[
|
|
25
|
+
Var[
|
|
26
|
+
Literal[
|
|
27
|
+
"tomato",
|
|
28
|
+
"red",
|
|
29
|
+
"ruby",
|
|
30
|
+
"crimson",
|
|
31
|
+
"pink",
|
|
32
|
+
"plum",
|
|
33
|
+
"purple",
|
|
34
|
+
"violet",
|
|
35
|
+
"iris",
|
|
36
|
+
"indigo",
|
|
37
|
+
"blue",
|
|
38
|
+
"cyan",
|
|
39
|
+
"teal",
|
|
40
|
+
"jade",
|
|
41
|
+
"green",
|
|
42
|
+
"grass",
|
|
43
|
+
"brown",
|
|
44
|
+
"orange",
|
|
45
|
+
"sky",
|
|
46
|
+
"mint",
|
|
47
|
+
"lime",
|
|
48
|
+
"yellow",
|
|
49
|
+
"amber",
|
|
50
|
+
"gold",
|
|
51
|
+
"bronze",
|
|
52
|
+
"gray",
|
|
53
|
+
]
|
|
54
|
+
],
|
|
55
|
+
Literal[
|
|
56
|
+
"tomato",
|
|
57
|
+
"red",
|
|
58
|
+
"ruby",
|
|
59
|
+
"crimson",
|
|
60
|
+
"pink",
|
|
61
|
+
"plum",
|
|
62
|
+
"purple",
|
|
63
|
+
"violet",
|
|
64
|
+
"iris",
|
|
65
|
+
"indigo",
|
|
66
|
+
"blue",
|
|
67
|
+
"cyan",
|
|
68
|
+
"teal",
|
|
69
|
+
"jade",
|
|
70
|
+
"green",
|
|
71
|
+
"grass",
|
|
72
|
+
"brown",
|
|
73
|
+
"orange",
|
|
74
|
+
"sky",
|
|
75
|
+
"mint",
|
|
76
|
+
"lime",
|
|
77
|
+
"yellow",
|
|
78
|
+
"amber",
|
|
79
|
+
"gold",
|
|
80
|
+
"bronze",
|
|
81
|
+
"gray",
|
|
82
|
+
],
|
|
83
|
+
]
|
|
84
|
+
] = None,
|
|
22
85
|
p: Optional[
|
|
23
86
|
Union[
|
|
24
87
|
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
@@ -165,6 +228,8 @@ class LayoutComponent(CommonMarginProps, RadixThemesComponent):
|
|
|
165
228
|
|
|
166
229
|
Args:
|
|
167
230
|
*children: Child components.
|
|
231
|
+
color: map to CSS default color property.
|
|
232
|
+
color_scheme: map to radix color property.
|
|
168
233
|
p: Padding: "0" - "9"
|
|
169
234
|
px: Padding horizontal: "0" - "9"
|
|
170
235
|
py: Padding vertical: "0" - "9"
|
|
@@ -16,6 +16,69 @@ class Box(el.Div, LayoutComponent):
|
|
|
16
16
|
def create( # type: ignore
|
|
17
17
|
cls,
|
|
18
18
|
*children,
|
|
19
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
20
|
+
color_scheme: Optional[
|
|
21
|
+
Union[
|
|
22
|
+
Var[
|
|
23
|
+
Literal[
|
|
24
|
+
"tomato",
|
|
25
|
+
"red",
|
|
26
|
+
"ruby",
|
|
27
|
+
"crimson",
|
|
28
|
+
"pink",
|
|
29
|
+
"plum",
|
|
30
|
+
"purple",
|
|
31
|
+
"violet",
|
|
32
|
+
"iris",
|
|
33
|
+
"indigo",
|
|
34
|
+
"blue",
|
|
35
|
+
"cyan",
|
|
36
|
+
"teal",
|
|
37
|
+
"jade",
|
|
38
|
+
"green",
|
|
39
|
+
"grass",
|
|
40
|
+
"brown",
|
|
41
|
+
"orange",
|
|
42
|
+
"sky",
|
|
43
|
+
"mint",
|
|
44
|
+
"lime",
|
|
45
|
+
"yellow",
|
|
46
|
+
"amber",
|
|
47
|
+
"gold",
|
|
48
|
+
"bronze",
|
|
49
|
+
"gray",
|
|
50
|
+
]
|
|
51
|
+
],
|
|
52
|
+
Literal[
|
|
53
|
+
"tomato",
|
|
54
|
+
"red",
|
|
55
|
+
"ruby",
|
|
56
|
+
"crimson",
|
|
57
|
+
"pink",
|
|
58
|
+
"plum",
|
|
59
|
+
"purple",
|
|
60
|
+
"violet",
|
|
61
|
+
"iris",
|
|
62
|
+
"indigo",
|
|
63
|
+
"blue",
|
|
64
|
+
"cyan",
|
|
65
|
+
"teal",
|
|
66
|
+
"jade",
|
|
67
|
+
"green",
|
|
68
|
+
"grass",
|
|
69
|
+
"brown",
|
|
70
|
+
"orange",
|
|
71
|
+
"sky",
|
|
72
|
+
"mint",
|
|
73
|
+
"lime",
|
|
74
|
+
"yellow",
|
|
75
|
+
"amber",
|
|
76
|
+
"gold",
|
|
77
|
+
"bronze",
|
|
78
|
+
"gray",
|
|
79
|
+
],
|
|
80
|
+
]
|
|
81
|
+
] = None,
|
|
19
82
|
access_key: Optional[
|
|
20
83
|
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
21
84
|
] = None,
|
|
@@ -205,6 +268,8 @@ class Box(el.Div, LayoutComponent):
|
|
|
205
268
|
|
|
206
269
|
Args:
|
|
207
270
|
*children: Child components.
|
|
271
|
+
color: map to CSS default color property.
|
|
272
|
+
color_scheme: map to radix color property.
|
|
208
273
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
209
274
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
210
275
|
content_editable: Indicates whether the element's content is editable.
|
|
@@ -20,6 +20,69 @@ class Container(el.Div, LayoutComponent):
|
|
|
20
20
|
def create( # type: ignore
|
|
21
21
|
cls,
|
|
22
22
|
*children,
|
|
23
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
24
|
+
color_scheme: Optional[
|
|
25
|
+
Union[
|
|
26
|
+
Var[
|
|
27
|
+
Literal[
|
|
28
|
+
"tomato",
|
|
29
|
+
"red",
|
|
30
|
+
"ruby",
|
|
31
|
+
"crimson",
|
|
32
|
+
"pink",
|
|
33
|
+
"plum",
|
|
34
|
+
"purple",
|
|
35
|
+
"violet",
|
|
36
|
+
"iris",
|
|
37
|
+
"indigo",
|
|
38
|
+
"blue",
|
|
39
|
+
"cyan",
|
|
40
|
+
"teal",
|
|
41
|
+
"jade",
|
|
42
|
+
"green",
|
|
43
|
+
"grass",
|
|
44
|
+
"brown",
|
|
45
|
+
"orange",
|
|
46
|
+
"sky",
|
|
47
|
+
"mint",
|
|
48
|
+
"lime",
|
|
49
|
+
"yellow",
|
|
50
|
+
"amber",
|
|
51
|
+
"gold",
|
|
52
|
+
"bronze",
|
|
53
|
+
"gray",
|
|
54
|
+
]
|
|
55
|
+
],
|
|
56
|
+
Literal[
|
|
57
|
+
"tomato",
|
|
58
|
+
"red",
|
|
59
|
+
"ruby",
|
|
60
|
+
"crimson",
|
|
61
|
+
"pink",
|
|
62
|
+
"plum",
|
|
63
|
+
"purple",
|
|
64
|
+
"violet",
|
|
65
|
+
"iris",
|
|
66
|
+
"indigo",
|
|
67
|
+
"blue",
|
|
68
|
+
"cyan",
|
|
69
|
+
"teal",
|
|
70
|
+
"jade",
|
|
71
|
+
"green",
|
|
72
|
+
"grass",
|
|
73
|
+
"brown",
|
|
74
|
+
"orange",
|
|
75
|
+
"sky",
|
|
76
|
+
"mint",
|
|
77
|
+
"lime",
|
|
78
|
+
"yellow",
|
|
79
|
+
"amber",
|
|
80
|
+
"gold",
|
|
81
|
+
"bronze",
|
|
82
|
+
"gray",
|
|
83
|
+
],
|
|
84
|
+
]
|
|
85
|
+
] = None,
|
|
23
86
|
size: Optional[
|
|
24
87
|
Union[Var[Literal["1", "2", "3", "4"]], Literal["1", "2", "3", "4"]]
|
|
25
88
|
] = None,
|
|
@@ -212,6 +275,8 @@ class Container(el.Div, LayoutComponent):
|
|
|
212
275
|
|
|
213
276
|
Args:
|
|
214
277
|
*children: Child components.
|
|
278
|
+
color: map to CSS default color property.
|
|
279
|
+
color_scheme: map to radix color property.
|
|
215
280
|
size: The size of the container: "1" - "4" (default "4")
|
|
216
281
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
217
282
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
@@ -23,6 +23,69 @@ class Flex(el.Div, LayoutComponent):
|
|
|
23
23
|
def create( # type: ignore
|
|
24
24
|
cls,
|
|
25
25
|
*children,
|
|
26
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
27
|
+
color_scheme: Optional[
|
|
28
|
+
Union[
|
|
29
|
+
Var[
|
|
30
|
+
Literal[
|
|
31
|
+
"tomato",
|
|
32
|
+
"red",
|
|
33
|
+
"ruby",
|
|
34
|
+
"crimson",
|
|
35
|
+
"pink",
|
|
36
|
+
"plum",
|
|
37
|
+
"purple",
|
|
38
|
+
"violet",
|
|
39
|
+
"iris",
|
|
40
|
+
"indigo",
|
|
41
|
+
"blue",
|
|
42
|
+
"cyan",
|
|
43
|
+
"teal",
|
|
44
|
+
"jade",
|
|
45
|
+
"green",
|
|
46
|
+
"grass",
|
|
47
|
+
"brown",
|
|
48
|
+
"orange",
|
|
49
|
+
"sky",
|
|
50
|
+
"mint",
|
|
51
|
+
"lime",
|
|
52
|
+
"yellow",
|
|
53
|
+
"amber",
|
|
54
|
+
"gold",
|
|
55
|
+
"bronze",
|
|
56
|
+
"gray",
|
|
57
|
+
]
|
|
58
|
+
],
|
|
59
|
+
Literal[
|
|
60
|
+
"tomato",
|
|
61
|
+
"red",
|
|
62
|
+
"ruby",
|
|
63
|
+
"crimson",
|
|
64
|
+
"pink",
|
|
65
|
+
"plum",
|
|
66
|
+
"purple",
|
|
67
|
+
"violet",
|
|
68
|
+
"iris",
|
|
69
|
+
"indigo",
|
|
70
|
+
"blue",
|
|
71
|
+
"cyan",
|
|
72
|
+
"teal",
|
|
73
|
+
"jade",
|
|
74
|
+
"green",
|
|
75
|
+
"grass",
|
|
76
|
+
"brown",
|
|
77
|
+
"orange",
|
|
78
|
+
"sky",
|
|
79
|
+
"mint",
|
|
80
|
+
"lime",
|
|
81
|
+
"yellow",
|
|
82
|
+
"amber",
|
|
83
|
+
"gold",
|
|
84
|
+
"bronze",
|
|
85
|
+
"gray",
|
|
86
|
+
],
|
|
87
|
+
]
|
|
88
|
+
] = None,
|
|
26
89
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
27
90
|
display: Optional[
|
|
28
91
|
Union[
|
|
@@ -249,6 +312,8 @@ class Flex(el.Div, LayoutComponent):
|
|
|
249
312
|
|
|
250
313
|
Args:
|
|
251
314
|
*children: Child components.
|
|
315
|
+
color: map to CSS default color property.
|
|
316
|
+
color_scheme: map to radix color property.
|
|
252
317
|
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
253
318
|
display: How to display the element: "none" | "inline-flex" | "flex"
|
|
254
319
|
direction: How child items are layed out: "row" | "column" | "row-reverse" | "column-reverse"
|
|
@@ -21,6 +21,69 @@ class Grid(el.Div, RadixThemesComponent):
|
|
|
21
21
|
def create( # type: ignore
|
|
22
22
|
cls,
|
|
23
23
|
*children,
|
|
24
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
25
|
+
color_scheme: Optional[
|
|
26
|
+
Union[
|
|
27
|
+
Var[
|
|
28
|
+
Literal[
|
|
29
|
+
"tomato",
|
|
30
|
+
"red",
|
|
31
|
+
"ruby",
|
|
32
|
+
"crimson",
|
|
33
|
+
"pink",
|
|
34
|
+
"plum",
|
|
35
|
+
"purple",
|
|
36
|
+
"violet",
|
|
37
|
+
"iris",
|
|
38
|
+
"indigo",
|
|
39
|
+
"blue",
|
|
40
|
+
"cyan",
|
|
41
|
+
"teal",
|
|
42
|
+
"jade",
|
|
43
|
+
"green",
|
|
44
|
+
"grass",
|
|
45
|
+
"brown",
|
|
46
|
+
"orange",
|
|
47
|
+
"sky",
|
|
48
|
+
"mint",
|
|
49
|
+
"lime",
|
|
50
|
+
"yellow",
|
|
51
|
+
"amber",
|
|
52
|
+
"gold",
|
|
53
|
+
"bronze",
|
|
54
|
+
"gray",
|
|
55
|
+
]
|
|
56
|
+
],
|
|
57
|
+
Literal[
|
|
58
|
+
"tomato",
|
|
59
|
+
"red",
|
|
60
|
+
"ruby",
|
|
61
|
+
"crimson",
|
|
62
|
+
"pink",
|
|
63
|
+
"plum",
|
|
64
|
+
"purple",
|
|
65
|
+
"violet",
|
|
66
|
+
"iris",
|
|
67
|
+
"indigo",
|
|
68
|
+
"blue",
|
|
69
|
+
"cyan",
|
|
70
|
+
"teal",
|
|
71
|
+
"jade",
|
|
72
|
+
"green",
|
|
73
|
+
"grass",
|
|
74
|
+
"brown",
|
|
75
|
+
"orange",
|
|
76
|
+
"sky",
|
|
77
|
+
"mint",
|
|
78
|
+
"lime",
|
|
79
|
+
"yellow",
|
|
80
|
+
"amber",
|
|
81
|
+
"gold",
|
|
82
|
+
"bronze",
|
|
83
|
+
"gray",
|
|
84
|
+
],
|
|
85
|
+
]
|
|
86
|
+
] = None,
|
|
24
87
|
as_child: Optional[Union[Var[bool], bool]] = None,
|
|
25
88
|
display: Optional[
|
|
26
89
|
Union[
|
|
@@ -163,6 +226,8 @@ class Grid(el.Div, RadixThemesComponent):
|
|
|
163
226
|
|
|
164
227
|
Args:
|
|
165
228
|
*children: Child components.
|
|
229
|
+
color: map to CSS default color property.
|
|
230
|
+
color_scheme: map to radix color property.
|
|
166
231
|
as_child: Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
167
232
|
display: How to display the element: "none" | "inline-grid" | "grid"
|
|
168
233
|
columns: Number of columns
|
|
@@ -20,6 +20,69 @@ class Section(el.Section, LayoutComponent):
|
|
|
20
20
|
def create( # type: ignore
|
|
21
21
|
cls,
|
|
22
22
|
*children,
|
|
23
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
24
|
+
color_scheme: Optional[
|
|
25
|
+
Union[
|
|
26
|
+
Var[
|
|
27
|
+
Literal[
|
|
28
|
+
"tomato",
|
|
29
|
+
"red",
|
|
30
|
+
"ruby",
|
|
31
|
+
"crimson",
|
|
32
|
+
"pink",
|
|
33
|
+
"plum",
|
|
34
|
+
"purple",
|
|
35
|
+
"violet",
|
|
36
|
+
"iris",
|
|
37
|
+
"indigo",
|
|
38
|
+
"blue",
|
|
39
|
+
"cyan",
|
|
40
|
+
"teal",
|
|
41
|
+
"jade",
|
|
42
|
+
"green",
|
|
43
|
+
"grass",
|
|
44
|
+
"brown",
|
|
45
|
+
"orange",
|
|
46
|
+
"sky",
|
|
47
|
+
"mint",
|
|
48
|
+
"lime",
|
|
49
|
+
"yellow",
|
|
50
|
+
"amber",
|
|
51
|
+
"gold",
|
|
52
|
+
"bronze",
|
|
53
|
+
"gray",
|
|
54
|
+
]
|
|
55
|
+
],
|
|
56
|
+
Literal[
|
|
57
|
+
"tomato",
|
|
58
|
+
"red",
|
|
59
|
+
"ruby",
|
|
60
|
+
"crimson",
|
|
61
|
+
"pink",
|
|
62
|
+
"plum",
|
|
63
|
+
"purple",
|
|
64
|
+
"violet",
|
|
65
|
+
"iris",
|
|
66
|
+
"indigo",
|
|
67
|
+
"blue",
|
|
68
|
+
"cyan",
|
|
69
|
+
"teal",
|
|
70
|
+
"jade",
|
|
71
|
+
"green",
|
|
72
|
+
"grass",
|
|
73
|
+
"brown",
|
|
74
|
+
"orange",
|
|
75
|
+
"sky",
|
|
76
|
+
"mint",
|
|
77
|
+
"lime",
|
|
78
|
+
"yellow",
|
|
79
|
+
"amber",
|
|
80
|
+
"gold",
|
|
81
|
+
"bronze",
|
|
82
|
+
"gray",
|
|
83
|
+
],
|
|
84
|
+
]
|
|
85
|
+
] = None,
|
|
23
86
|
size: Optional[
|
|
24
87
|
Union[Var[Literal["1", "2", "3"]], Literal["1", "2", "3"]]
|
|
25
88
|
] = None,
|
|
@@ -212,6 +275,8 @@ class Section(el.Section, LayoutComponent):
|
|
|
212
275
|
|
|
213
276
|
Args:
|
|
214
277
|
*children: Child components.
|
|
278
|
+
color: map to CSS default color property.
|
|
279
|
+
color_scheme: map to radix color property.
|
|
215
280
|
size: The size of the section: "1" - "3" (default "3")
|
|
216
281
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
217
282
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
@@ -18,19 +18,8 @@ class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
|
|
|
18
18
|
def create( # type: ignore
|
|
19
19
|
cls,
|
|
20
20
|
*children,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
24
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
25
|
-
]
|
|
26
|
-
] = None,
|
|
27
|
-
weight: Optional[
|
|
28
|
-
Union[
|
|
29
|
-
Var[Literal["light", "regular", "medium", "bold"]],
|
|
30
|
-
Literal["light", "regular", "medium", "bold"],
|
|
31
|
-
]
|
|
32
|
-
] = None,
|
|
33
|
-
color: Optional[
|
|
21
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
22
|
+
color_scheme: Optional[
|
|
34
23
|
Union[
|
|
35
24
|
Var[
|
|
36
25
|
Literal[
|
|
@@ -92,6 +81,18 @@ class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
|
|
|
92
81
|
],
|
|
93
82
|
]
|
|
94
83
|
] = None,
|
|
84
|
+
size: Optional[
|
|
85
|
+
Union[
|
|
86
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
87
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
88
|
+
]
|
|
89
|
+
] = None,
|
|
90
|
+
weight: Optional[
|
|
91
|
+
Union[
|
|
92
|
+
Var[Literal["light", "regular", "medium", "bold"]],
|
|
93
|
+
Literal["light", "regular", "medium", "bold"],
|
|
94
|
+
]
|
|
95
|
+
] = None,
|
|
95
96
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
96
97
|
cite: Optional[Union[Var[Union[str, int, bool]], Union[str, int, bool]]] = None,
|
|
97
98
|
access_key: Optional[
|
|
@@ -239,9 +240,10 @@ class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent):
|
|
|
239
240
|
|
|
240
241
|
Args:
|
|
241
242
|
*children: Child components.
|
|
243
|
+
color: map to CSS default color property.
|
|
244
|
+
color_scheme: map to radix color property.
|
|
242
245
|
size: Text size: "1" - "9"
|
|
243
246
|
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
244
|
-
color: Overrides the accent color inherited from the Theme.
|
|
245
247
|
high_contrast: Whether to render the text with higher contrast color
|
|
246
248
|
cite: Define the title of a work.
|
|
247
249
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
@@ -23,25 +23,8 @@ class Code(el.Code, CommonMarginProps, RadixThemesComponent):
|
|
|
23
23
|
def create( # type: ignore
|
|
24
24
|
cls,
|
|
25
25
|
*children,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Var[Literal["classic", "solid", "soft", "surface", "outline", "ghost"]],
|
|
29
|
-
Literal["classic", "solid", "soft", "surface", "outline", "ghost"],
|
|
30
|
-
]
|
|
31
|
-
] = None,
|
|
32
|
-
size: Optional[
|
|
33
|
-
Union[
|
|
34
|
-
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
35
|
-
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
36
|
-
]
|
|
37
|
-
] = None,
|
|
38
|
-
weight: Optional[
|
|
39
|
-
Union[
|
|
40
|
-
Var[Literal["light", "regular", "medium", "bold"]],
|
|
41
|
-
Literal["light", "regular", "medium", "bold"],
|
|
42
|
-
]
|
|
43
|
-
] = None,
|
|
44
|
-
color: Optional[
|
|
26
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
27
|
+
color_scheme: Optional[
|
|
45
28
|
Union[
|
|
46
29
|
Var[
|
|
47
30
|
Literal[
|
|
@@ -103,6 +86,24 @@ class Code(el.Code, CommonMarginProps, RadixThemesComponent):
|
|
|
103
86
|
],
|
|
104
87
|
]
|
|
105
88
|
] = None,
|
|
89
|
+
variant: Optional[
|
|
90
|
+
Union[
|
|
91
|
+
Var[Literal["classic", "solid", "soft", "surface", "outline", "ghost"]],
|
|
92
|
+
Literal["classic", "solid", "soft", "surface", "outline", "ghost"],
|
|
93
|
+
]
|
|
94
|
+
] = None,
|
|
95
|
+
size: Optional[
|
|
96
|
+
Union[
|
|
97
|
+
Var[Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
|
|
98
|
+
Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
|
|
99
|
+
]
|
|
100
|
+
] = None,
|
|
101
|
+
weight: Optional[
|
|
102
|
+
Union[
|
|
103
|
+
Var[Literal["light", "regular", "medium", "bold"]],
|
|
104
|
+
Literal["light", "regular", "medium", "bold"],
|
|
105
|
+
]
|
|
106
|
+
] = None,
|
|
106
107
|
high_contrast: Optional[Union[Var[bool], bool]] = None,
|
|
107
108
|
access_key: Optional[
|
|
108
109
|
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
@@ -249,10 +250,11 @@ class Code(el.Code, CommonMarginProps, RadixThemesComponent):
|
|
|
249
250
|
|
|
250
251
|
Args:
|
|
251
252
|
*children: Child components.
|
|
253
|
+
color: map to CSS default color property.
|
|
254
|
+
color_scheme: map to radix color property.
|
|
252
255
|
variant: The visual variant to apply: "solid" | "soft" | "outline" | "ghost"
|
|
253
256
|
size: Text size: "1" - "9"
|
|
254
257
|
weight: Thickness of text: "light" | "regular" | "medium" | "bold"
|
|
255
|
-
color: Overrides the accent color inherited from the Theme.
|
|
256
258
|
high_contrast: Whether to render the text with higher contrast color
|
|
257
259
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
258
260
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
@@ -16,6 +16,69 @@ class Em(el.Em, CommonMarginProps, RadixThemesComponent):
|
|
|
16
16
|
def create( # type: ignore
|
|
17
17
|
cls,
|
|
18
18
|
*children,
|
|
19
|
+
color: Optional[Union[Var[str], str]] = None,
|
|
20
|
+
color_scheme: Optional[
|
|
21
|
+
Union[
|
|
22
|
+
Var[
|
|
23
|
+
Literal[
|
|
24
|
+
"tomato",
|
|
25
|
+
"red",
|
|
26
|
+
"ruby",
|
|
27
|
+
"crimson",
|
|
28
|
+
"pink",
|
|
29
|
+
"plum",
|
|
30
|
+
"purple",
|
|
31
|
+
"violet",
|
|
32
|
+
"iris",
|
|
33
|
+
"indigo",
|
|
34
|
+
"blue",
|
|
35
|
+
"cyan",
|
|
36
|
+
"teal",
|
|
37
|
+
"jade",
|
|
38
|
+
"green",
|
|
39
|
+
"grass",
|
|
40
|
+
"brown",
|
|
41
|
+
"orange",
|
|
42
|
+
"sky",
|
|
43
|
+
"mint",
|
|
44
|
+
"lime",
|
|
45
|
+
"yellow",
|
|
46
|
+
"amber",
|
|
47
|
+
"gold",
|
|
48
|
+
"bronze",
|
|
49
|
+
"gray",
|
|
50
|
+
]
|
|
51
|
+
],
|
|
52
|
+
Literal[
|
|
53
|
+
"tomato",
|
|
54
|
+
"red",
|
|
55
|
+
"ruby",
|
|
56
|
+
"crimson",
|
|
57
|
+
"pink",
|
|
58
|
+
"plum",
|
|
59
|
+
"purple",
|
|
60
|
+
"violet",
|
|
61
|
+
"iris",
|
|
62
|
+
"indigo",
|
|
63
|
+
"blue",
|
|
64
|
+
"cyan",
|
|
65
|
+
"teal",
|
|
66
|
+
"jade",
|
|
67
|
+
"green",
|
|
68
|
+
"grass",
|
|
69
|
+
"brown",
|
|
70
|
+
"orange",
|
|
71
|
+
"sky",
|
|
72
|
+
"mint",
|
|
73
|
+
"lime",
|
|
74
|
+
"yellow",
|
|
75
|
+
"amber",
|
|
76
|
+
"gold",
|
|
77
|
+
"bronze",
|
|
78
|
+
"gray",
|
|
79
|
+
],
|
|
80
|
+
]
|
|
81
|
+
] = None,
|
|
19
82
|
access_key: Optional[
|
|
20
83
|
Union[Var[Union[str, int, bool]], Union[str, int, bool]]
|
|
21
84
|
] = None,
|
|
@@ -161,6 +224,8 @@ class Em(el.Em, CommonMarginProps, RadixThemesComponent):
|
|
|
161
224
|
|
|
162
225
|
Args:
|
|
163
226
|
*children: Child components.
|
|
227
|
+
color: map to CSS default color property.
|
|
228
|
+
color_scheme: map to radix color property.
|
|
164
229
|
access_key: Provides a hint for generating a keyboard shortcut for the current element.
|
|
165
230
|
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
166
231
|
content_editable: Indicates whether the element's content is editable.
|