appkit-ui 0.10.0__tar.gz → 0.12.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: appkit-ui
3
- Version: 0.10.0
3
+ Version: 0.12.0
4
4
  Summary: Add your description here
5
5
  Project-URL: Homepage, https://github.com/jenreh/appkit
6
6
  Project-URL: Documentation, https://github.com/jenreh/appkit/tree/main/docs
@@ -16,7 +16,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
16
  Classifier: Topic :: Software Development :: User Interfaces
17
17
  Requires-Python: >=3.13
18
18
  Requires-Dist: appkit-mantine
19
- Requires-Dist: reflex==0.8.22
19
+ Requires-Dist: reflex==0.8.24.post1
20
20
  Description-Content-Type: text/markdown
21
21
 
22
22
  # appkit-ui
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "appkit-ui"
3
- version = "0.10.0"
3
+ version = "0.12.0"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Jens Rehpöhler" }]
@@ -22,7 +22,7 @@ classifiers = [
22
22
  ]
23
23
  dependencies = [
24
24
  "appkit-mantine",
25
- "reflex==0.8.22",
25
+ "reflex==0.8.24.post1",
26
26
  ]
27
27
 
28
28
  [project.urls]
@@ -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.box(
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] w-full "
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
  )
File without changes
File without changes