appkit-ui 0.10.0__py3-none-any.whl → 0.11.0__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.
appkit_ui/components/header.py
CHANGED
|
@@ -4,8 +4,9 @@ import reflex as rx
|
|
|
4
4
|
def header(
|
|
5
5
|
text: str,
|
|
6
6
|
indent: bool = False,
|
|
7
|
+
header_items: rx.Component | None = None,
|
|
7
8
|
) -> rx.Component:
|
|
8
|
-
return rx.
|
|
9
|
+
return rx.hstack(
|
|
9
10
|
rx.color_mode_cond(
|
|
10
11
|
light=rx.heading(
|
|
11
12
|
text,
|
|
@@ -18,11 +19,13 @@ def header(
|
|
|
18
19
|
class_name="text-white",
|
|
19
20
|
),
|
|
20
21
|
),
|
|
22
|
+
header_items,
|
|
21
23
|
class_name=(
|
|
22
|
-
"fixed top-0 z-[1000]
|
|
24
|
+
"fixed top-0 z-[1000] "
|
|
23
25
|
"border-b border-gray-300 dark:border-neutral-700 "
|
|
24
26
|
"bg-gray-50 dark:bg-neutral-800 "
|
|
25
27
|
"p-3 pl-8 transition-colors duration-300"
|
|
26
28
|
),
|
|
27
29
|
margin_left=rx.cond(indent, "0", "-32px"),
|
|
30
|
+
width=rx.cond(indent, "calc(100vw - 290px)", "calc(100vw - 322px)"),
|
|
28
31
|
)
|
|
@@ -6,7 +6,7 @@ appkit_ui/components/collabsible.py,sha256=JAAIEvwShHMhtcGfZwXkR59AC2hEgZrH4DGmu
|
|
|
6
6
|
appkit_ui/components/dialogs.py,sha256=nc4-5PNUwzz-8ZB-Y3bUGkw6z6RlEfNto7icPHjycog,3916
|
|
7
7
|
appkit_ui/components/editor.py,sha256=Z9cew7hrLuBoXBYk7xW-OsbhIcdW4LFlBqi_8eYtCTY,7956
|
|
8
8
|
appkit_ui/components/form_inputs.py,sha256=L3akQp92N7M-2Yi0lLSg7rbZTijneLg3FiPwWF1wcik,11546
|
|
9
|
-
appkit_ui/components/header.py,sha256=
|
|
10
|
-
appkit_ui-0.
|
|
11
|
-
appkit_ui-0.
|
|
12
|
-
appkit_ui-0.
|
|
9
|
+
appkit_ui/components/header.py,sha256=5-SbqU_XYGrkxvRajKVA_m4pIWEQ0tQd1SYqoU3q_iE,856
|
|
10
|
+
appkit_ui-0.11.0.dist-info/METADATA,sha256=0PQ4lkCVuWq1nh32z4E_vg3yTyDAIXi7DKIbIDHDDfU,11767
|
|
11
|
+
appkit_ui-0.11.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
12
|
+
appkit_ui-0.11.0.dist-info/RECORD,,
|
|
File without changes
|