fh-matui 0.9.18__tar.gz → 0.9.19__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.
Files changed (24) hide show
  1. {fh_matui-0.9.18/fh_matui.egg-info → fh_matui-0.9.19}/PKG-INFO +1 -1
  2. fh_matui-0.9.19/fh_matui/__init__.py +1 -0
  3. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui/datatable.py +9 -2
  4. {fh_matui-0.9.18 → fh_matui-0.9.19/fh_matui.egg-info}/PKG-INFO +1 -1
  5. {fh_matui-0.9.18 → fh_matui-0.9.19}/settings.ini +1 -1
  6. fh_matui-0.9.18/fh_matui/__init__.py +0 -1
  7. {fh_matui-0.9.18 → fh_matui-0.9.19}/LICENSE +0 -0
  8. {fh_matui-0.9.18 → fh_matui-0.9.19}/MANIFEST.in +0 -0
  9. {fh_matui-0.9.18 → fh_matui-0.9.19}/README.md +0 -0
  10. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui/_modidx.py +0 -0
  11. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui/app_pages.py +0 -0
  12. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui/components.py +0 -0
  13. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui/core.py +0 -0
  14. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui/foundations.py +0 -0
  15. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui/web_pages.py +0 -0
  16. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui.egg-info/SOURCES.txt +0 -0
  17. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui.egg-info/dependency_links.txt +0 -0
  18. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui.egg-info/entry_points.txt +0 -0
  19. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui.egg-info/not-zip-safe +0 -0
  20. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui.egg-info/requires.txt +0 -0
  21. {fh_matui-0.9.18 → fh_matui-0.9.19}/fh_matui.egg-info/top_level.txt +0 -0
  22. {fh_matui-0.9.18 → fh_matui-0.9.19}/pyproject.toml +0 -0
  23. {fh_matui-0.9.18 → fh_matui-0.9.19}/setup.cfg +0 -0
  24. {fh_matui-0.9.18 → fh_matui-0.9.19}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fh-matui
3
- Version: 0.9.18
3
+ Version: 0.9.19
4
4
  Summary: material-ui for fasthtml
5
5
  Home-page: https://github.com/abhisheksreesaila/fh-matui
6
6
  Author: abhishek sreesaila
@@ -0,0 +1 @@
1
+ __version__ = "0.9.18"
@@ -671,7 +671,9 @@ class DataTableResource:
671
671
  group_by: str = None, # Column key to group rows by
672
672
  group_header_format: Callable[[Any], str] = None, # Format group header text
673
673
  group_header_cls: str = "surface-container", # CSS classes for group header row
674
- group_header_icon: Union[str, Callable[[Any], str]] = None # Icon name or callable
674
+ group_header_icon: Union[str, Callable[[Any], str]] = None, # Icon name or callable
675
+ # Table styling options
676
+ space: str = "small-space" # Row density: "no-space", "small-space", or None
675
677
  ):
676
678
  self.app = app
677
679
  self.base_route = base_route.rstrip("/")
@@ -695,6 +697,9 @@ class DataTableResource:
695
697
  self.group_header_cls = group_header_cls
696
698
  self.group_header_icon = group_header_icon
697
699
 
700
+ # Table styling
701
+ self.space = space
702
+
698
703
  # Determine CRUD ops from provided functions
699
704
  if crud_ops is None:
700
705
  self.crud_ops = {
@@ -898,7 +903,9 @@ class DataTableResource:
898
903
  group_by=self.group_by,
899
904
  group_header_format=self.group_header_format,
900
905
  group_header_cls=self.group_header_cls,
901
- group_header_icon=self.group_header_icon
906
+ group_header_icon=self.group_header_icon,
907
+ # Table styling
908
+ space=self.space
902
909
  )
903
910
 
904
911
  # Wrap table in auto-refresh container
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fh-matui
3
- Version: 0.9.18
3
+ Version: 0.9.19
4
4
  Summary: material-ui for fasthtml
5
5
  Home-page: https://github.com/abhisheksreesaila/fh-matui
6
6
  Author: abhishek sreesaila
@@ -5,7 +5,7 @@
5
5
  ### Python library ###
6
6
  repo = fh-matui
7
7
  lib_name = %(repo)s
8
- version = 0.9.18
8
+ version = 0.9.19
9
9
  min_python = 3.9
10
10
  license = apache2
11
11
  black_formatting = False
@@ -1 +0,0 @@
1
- __version__ = "0.9.17"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes