tuile 0.12.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 +116 -27
- data/COMPARISON.md +101 -0
- data/DECISIONS.md +2342 -158
- data/README.md +151 -505
- data/TERMINOLOGY.md +15 -5
- data/book/01-first-app.md +22 -17
- data/book/02-repaint.md +18 -5
- data/book/03-layout.md +28 -20
- data/book/05-focus.md +137 -19
- data/book/06-theming.md +103 -2
- data/book/07-components.md +567 -27
- data/book/08-testing.md +34 -4
- data/book/09-styled-text.md +3 -3
- data/book/README.md +7 -5
- data/examples/file_commander.rb +23 -17
- data/examples/hello_world.rb +17 -5
- data/examples/sampler.rb +527 -108
- data/ideas/arrow-key-navigation.md +17 -1
- data/ideas/modal-backdrop.md +24 -0
- data/ideas/new-components.md +28 -27
- data/lib/tuile/ansi.rb +10 -0
- 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/abstract_string_field.rb +36 -0
- data/lib/tuile/component/button.rb +3 -3
- data/lib/tuile/component/checkbox.rb +3 -3
- data/lib/tuile/component/combo_box.rb +12 -3
- 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.rb +22 -0
- data/lib/tuile/component/list_dropdown.rb +102 -11
- 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 +255 -0
- data/lib/tuile/component/menu_bar.rb +582 -0
- data/lib/tuile/component/notification.rb +24 -39
- data/lib/tuile/component/overlay.rb +192 -0
- data/lib/tuile/component/picker_window.rb +0 -5
- data/lib/tuile/component/popup.rb +61 -123
- data/lib/tuile/component/progress_bar.rb +1 -1
- data/lib/tuile/component/select.rb +17 -7
- data/lib/tuile/component/slot.rb +54 -0
- data/lib/tuile/component/tab_sheet.rb +231 -0
- data/lib/tuile/component/tabs.rb +528 -0
- data/lib/tuile/component/text_area.rb +5 -4
- data/lib/tuile/component/text_field.rb +23 -6
- data/lib/tuile/component/text_view.rb +8 -5
- data/lib/tuile/component/window.rb +22 -46
- data/lib/tuile/component.rb +186 -31
- data/lib/tuile/event_queue.rb +45 -1
- data/lib/tuile/fake_screen.rb +40 -2
- data/lib/tuile/keys.rb +72 -0
- data/lib/tuile/screen.rb +212 -113
- data/lib/tuile/screen_pane.rb +125 -41
- data/lib/tuile/styled_string.rb +80 -7
- data/lib/tuile/terminal_background.rb +74 -16
- data/lib/tuile/version.rb +1 -1
- data/sig/tuile.rbs +2527 -358
- metadata +13 -3
- data/mise.toml +0 -2
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,14 +161,21 @@ 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
|
|
166
|
+
- lib/tuile/component/menu_bar.rb
|
|
167
|
+
- lib/tuile/component/menu_bar/cascade.rb
|
|
161
168
|
- lib/tuile/component/notification.rb
|
|
169
|
+
- lib/tuile/component/overlay.rb
|
|
162
170
|
- lib/tuile/component/password_field.rb
|
|
163
171
|
- lib/tuile/component/picker_window.rb
|
|
164
172
|
- lib/tuile/component/popup.rb
|
|
165
173
|
- lib/tuile/component/progress_bar.rb
|
|
166
174
|
- lib/tuile/component/radio_group.rb
|
|
167
175
|
- lib/tuile/component/select.rb
|
|
176
|
+
- lib/tuile/component/slot.rb
|
|
177
|
+
- lib/tuile/component/tab_sheet.rb
|
|
178
|
+
- lib/tuile/component/tabs.rb
|
|
168
179
|
- lib/tuile/component/text_area.rb
|
|
169
180
|
- lib/tuile/component/text_area/wrapped_text.rb
|
|
170
181
|
- lib/tuile/component/text_field.rb
|
|
@@ -187,7 +198,6 @@ files:
|
|
|
187
198
|
- lib/tuile/theme_def.rb
|
|
188
199
|
- lib/tuile/version.rb
|
|
189
200
|
- lib/tuile/vertical_scroll_bar.rb
|
|
190
|
-
- mise.toml
|
|
191
201
|
- sig/tuile.rbs
|
|
192
202
|
homepage: https://github.com/mvysny/tuile
|
|
193
203
|
licenses:
|
|
@@ -210,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
210
220
|
- !ruby/object:Gem::Version
|
|
211
221
|
version: '0'
|
|
212
222
|
requirements: []
|
|
213
|
-
rubygems_version:
|
|
223
|
+
rubygems_version: 3.6.7
|
|
214
224
|
specification_version: 4
|
|
215
225
|
summary: A component-oriented terminal UI toolkit for Ruby.
|
|
216
226
|
test_files: []
|
data/mise.toml
DELETED