dashlab 0.3.2__tar.gz → 0.3.4__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. {dashlab-0.3.2 → dashlab-0.3.4}/PKG-INFO +1 -1
  2. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/_version.py +1 -1
  3. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/static/fscreen.css +6 -0
  4. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/utils.py +4 -4
  5. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab.egg-info/PKG-INFO +1 -1
  6. {dashlab-0.3.2 → dashlab-0.3.4}/LICENSE +0 -0
  7. {dashlab-0.3.2 → dashlab-0.3.4}/README.md +0 -0
  8. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/__init__.py +0 -0
  9. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/_internal.py +0 -0
  10. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/base.py +0 -0
  11. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/core.py +0 -0
  12. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/patches.py +0 -0
  13. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/static/animator.css +0 -0
  14. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/static/animator.js +0 -0
  15. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/static/fscreen.js +0 -0
  16. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/static/listw.css +0 -0
  17. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/static/listw.js +0 -0
  18. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab/widgets.py +0 -0
  19. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab.egg-info/SOURCES.txt +0 -0
  20. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab.egg-info/dependency_links.txt +0 -0
  21. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab.egg-info/requires.txt +0 -0
  22. {dashlab-0.3.2 → dashlab-0.3.4}/dashlab.egg-info/top_level.txt +0 -0
  23. {dashlab-0.3.2 → dashlab-0.3.4}/pyproject.toml +0 -0
  24. {dashlab-0.3.2 → dashlab-0.3.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dashlab
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: A Python package for dashboard and data visualization tools.
5
5
  Author-email: Abdul Saboor <asaboor.my@outlook.com>
6
6
  License-Expression: MIT
@@ -1,4 +1,4 @@
1
1
  # This is automatically updated at build time, do not edit manually.
2
2
  # Double qoites are checked here
3
3
 
4
- __version__ = "0.3.2"
4
+ __version__ = "0.3.4"
@@ -18,3 +18,9 @@
18
18
  opacity: 1;
19
19
  text-shadow:0 1px var(--bg2-color,#8988)
20
20
  }
21
+
22
+ @media print {
23
+ .fs-btn.ips-fs {
24
+ display: none; /* Hide fullscreen button when printing, e.g in slides */
25
+ }
26
+ }
@@ -132,10 +132,10 @@ def _build_css(selector, props):
132
132
  content += f"{key} {{\n\t"
133
133
  content += _build_css(selector, value).replace('\n','\n\t').rstrip('\t') # last tab is bad
134
134
  content += "}\n"
135
- elif key.startswith('@'): # Page, @keyframes etc.
136
- content += f"{key} {{\n\t"
137
- content += _build_css((), value).replace('\n','\n\t').rstrip('\t')
138
- content += "}\n"
135
+ elif key.startswith('@'): # @page, @keyframes etc.
136
+ content += f"{key} " # braces added by _build_css below, no extra needed
137
+ content += _build_css((), value).strip(' \n\t\r') # strip both sides here to take brace at previous line
138
+ content += "\n"
139
139
  elif key.startswith(':root'): # This is fine
140
140
  content+= _build_css((key,), value)
141
141
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dashlab
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: A Python package for dashboard and data visualization tools.
5
5
  Author-email: Abdul Saboor <asaboor.my@outlook.com>
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes