tui-utilities 1.1.7__tar.gz → 1.1.8__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: tui_utilities
3
- Version: 1.1.7
3
+ Version: 1.1.8
4
4
  Summary: Personal-use console utilities library
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tui_utilities"
3
- version = "1.1.7"
3
+ version = "1.1.8"
4
4
  description = "Personal-use console utilities library"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
@@ -74,8 +74,8 @@ def _style(
74
74
  return Padding(paddable, final_padding)
75
75
 
76
76
  needs_layout = (
77
- alignment is not None or
78
- padding is not None or
77
+ alignment != "left" or
78
+ padding != 0 or
79
79
  top_padding is not None or
80
80
  right_padding is not None or
81
81
  bottom_padding is not None or
@@ -101,8 +101,8 @@ def print(
101
101
  underline = False,
102
102
  strike = False,
103
103
  reverse = False,
104
- alignment = None,
105
- padding = None,
104
+ alignment = "left",
105
+ padding = 0,
106
106
  top_padding = None,
107
107
  right_padding = None,
108
108
  bottom_padding = None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tui_utilities
3
- Version: 1.1.7
3
+ Version: 1.1.8
4
4
  Summary: Personal-use console utilities library
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  License: MIT
File without changes
File without changes