tuile 0.13.0 → 0.14.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +81 -37
- data/COMPARISON.md +101 -0
- data/DECISIONS.md +1095 -195
- data/README.md +19 -19
- data/TERMINOLOGY.md +6 -5
- data/book/03-layout.md +17 -10
- data/book/05-focus.md +4 -1
- data/book/06-theming.md +98 -0
- data/book/07-components.md +169 -19
- data/book/08-testing.md +16 -0
- data/book/09-styled-text.md +3 -3
- data/examples/file_commander.rb +1 -1
- data/examples/sampler.rb +143 -43
- data/ideas/arrow-key-navigation.md +2 -2
- data/ideas/modal-backdrop.md +24 -0
- data/ideas/new-components.md +24 -24
- data/lib/tuile/buffer.rb +51 -3
- data/lib/tuile/color.rb +143 -0
- data/lib/tuile/color_depth.rb +80 -0
- data/lib/tuile/component/button.rb +3 -3
- data/lib/tuile/component/checkbox.rb +3 -3
- data/lib/tuile/component/combo_box.rb +9 -2
- data/lib/tuile/component/confirm_window.rb +442 -0
- data/lib/tuile/component/has_content.rb +22 -9
- data/lib/tuile/component/has_value.rb +1 -1
- data/lib/tuile/component/info_window.rb +64 -16
- data/lib/tuile/component/layout.rb +0 -10
- data/lib/tuile/component/list_dropdown.rb +18 -10
- data/lib/tuile/component/log_text_view.rb +71 -0
- data/lib/tuile/component/log_window.rb +13 -48
- data/lib/tuile/component/menu_bar/cascade.rb +3 -3
- data/lib/tuile/component/menu_bar.rb +5 -5
- data/lib/tuile/component/notification.rb +16 -34
- data/lib/tuile/component/overlay.rb +192 -0
- data/lib/tuile/component/popup.rb +59 -187
- data/lib/tuile/component/progress_bar.rb +1 -1
- data/lib/tuile/component/select.rb +14 -6
- data/lib/tuile/component/slot.rb +54 -0
- data/lib/tuile/component/tab_sheet.rb +0 -11
- data/lib/tuile/component/tabs.rb +5 -5
- data/lib/tuile/component/window.rb +22 -46
- data/lib/tuile/component.rb +149 -19
- data/lib/tuile/event_queue.rb +21 -1
- data/lib/tuile/fake_screen.rb +26 -2
- data/lib/tuile/keys.rb +7 -0
- data/lib/tuile/screen.rb +120 -38
- data/lib/tuile/screen_pane.rb +37 -35
- data/lib/tuile/styled_string.rb +40 -7
- data/lib/tuile/terminal_background.rb +74 -16
- data/lib/tuile/version.rb +1 -1
- data/sig/tuile.rbs +1157 -368
- metadata +8 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tuile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Vysny
|
|
@@ -113,6 +113,7 @@ extra_rdoc_files: []
|
|
|
113
113
|
files:
|
|
114
114
|
- CHANGELOG.md
|
|
115
115
|
- CODE_OF_CONDUCT.md
|
|
116
|
+
- COMPARISON.md
|
|
116
117
|
- DECISIONS.md
|
|
117
118
|
- LICENSE.txt
|
|
118
119
|
- README.md
|
|
@@ -131,12 +132,14 @@ files:
|
|
|
131
132
|
- examples/hello_world.rb
|
|
132
133
|
- examples/sampler.rb
|
|
133
134
|
- ideas/arrow-key-navigation.md
|
|
135
|
+
- ideas/modal-backdrop.md
|
|
134
136
|
- ideas/new-components.md
|
|
135
137
|
- ideas/per-component-buffers.md
|
|
136
138
|
- lib/tuile.rb
|
|
137
139
|
- lib/tuile/ansi.rb
|
|
138
140
|
- lib/tuile/buffer.rb
|
|
139
141
|
- lib/tuile/color.rb
|
|
142
|
+
- lib/tuile/color_depth.rb
|
|
140
143
|
- lib/tuile/component.rb
|
|
141
144
|
- lib/tuile/component/abstract_string_field.rb
|
|
142
145
|
- lib/tuile/component/big_decimal_field.rb
|
|
@@ -144,6 +147,7 @@ files:
|
|
|
144
147
|
- lib/tuile/component/checkbox.rb
|
|
145
148
|
- lib/tuile/component/checkbox_group.rb
|
|
146
149
|
- lib/tuile/component/combo_box.rb
|
|
150
|
+
- lib/tuile/component/confirm_window.rb
|
|
147
151
|
- lib/tuile/component/float_field.rb
|
|
148
152
|
- lib/tuile/component/has_caption.rb
|
|
149
153
|
- lib/tuile/component/has_content.rb
|
|
@@ -157,16 +161,19 @@ files:
|
|
|
157
161
|
- lib/tuile/component/layout/vertical.rb
|
|
158
162
|
- lib/tuile/component/list.rb
|
|
159
163
|
- lib/tuile/component/list_dropdown.rb
|
|
164
|
+
- lib/tuile/component/log_text_view.rb
|
|
160
165
|
- lib/tuile/component/log_window.rb
|
|
161
166
|
- lib/tuile/component/menu_bar.rb
|
|
162
167
|
- lib/tuile/component/menu_bar/cascade.rb
|
|
163
168
|
- lib/tuile/component/notification.rb
|
|
169
|
+
- lib/tuile/component/overlay.rb
|
|
164
170
|
- lib/tuile/component/password_field.rb
|
|
165
171
|
- lib/tuile/component/picker_window.rb
|
|
166
172
|
- lib/tuile/component/popup.rb
|
|
167
173
|
- lib/tuile/component/progress_bar.rb
|
|
168
174
|
- lib/tuile/component/radio_group.rb
|
|
169
175
|
- lib/tuile/component/select.rb
|
|
176
|
+
- lib/tuile/component/slot.rb
|
|
170
177
|
- lib/tuile/component/tab_sheet.rb
|
|
171
178
|
- lib/tuile/component/tabs.rb
|
|
172
179
|
- lib/tuile/component/text_area.rb
|