hotwire_combobox 0.1.42 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/assets/javascripts/controllers/hw_combobox_controller.js +25 -3
- data/app/assets/javascripts/hotwire_combobox.esm.js +531 -127
- data/app/assets/javascripts/hotwire_combobox.umd.js +531 -127
- data/app/assets/javascripts/hw_combobox/helpers.js +16 -0
- data/app/assets/javascripts/hw_combobox/models/combobox/announcements.js +7 -0
- data/app/assets/javascripts/hw_combobox/models/combobox/async_loading.js +4 -0
- data/app/assets/javascripts/hw_combobox/models/combobox/autocomplete.js +8 -6
- data/app/assets/javascripts/hw_combobox/models/combobox/dialog.js +1 -1
- data/app/assets/javascripts/hw_combobox/models/combobox/events.js +21 -6
- data/app/assets/javascripts/hw_combobox/models/combobox/filtering.js +33 -28
- data/app/assets/javascripts/hw_combobox/models/combobox/form_field.js +74 -0
- data/app/assets/javascripts/hw_combobox/models/combobox/multiselect.js +160 -0
- data/app/assets/javascripts/hw_combobox/models/combobox/navigation.js +15 -6
- data/app/assets/javascripts/hw_combobox/models/combobox/options.js +29 -9
- data/app/assets/javascripts/hw_combobox/models/combobox/selection.js +103 -51
- data/app/assets/javascripts/hw_combobox/models/combobox/toggle.js +45 -16
- data/app/assets/javascripts/hw_combobox/models/combobox/validity.js +1 -1
- data/app/assets/javascripts/hw_combobox/models/combobox.js +3 -0
- data/app/assets/stylesheets/hotwire_combobox.css +84 -18
- data/app/presenters/hotwire_combobox/component/customizable.rb +9 -1
- data/app/presenters/hotwire_combobox/component.rb +95 -28
- data/app/presenters/hotwire_combobox/listbox/group.rb +45 -0
- data/app/presenters/hotwire_combobox/listbox/item.rb +104 -0
- data/app/presenters/hotwire_combobox/listbox/option.rb +9 -4
- data/app/views/hotwire_combobox/_component.html.erb +1 -0
- data/app/views/hotwire_combobox/_selection_chip.turbo_stream.erb +8 -0
- data/app/views/hotwire_combobox/layouts/_selection_chip.turbo_stream.erb +7 -0
- data/lib/hotwire_combobox/helper.rb +111 -86
- data/lib/hotwire_combobox/version.rb +1 -1
- metadata +9 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hotwire_combobox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jose Farias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -69,12 +69,15 @@ files:
|
|
69
69
|
- app/assets/javascripts/hw_combobox/helpers.js
|
70
70
|
- app/assets/javascripts/hw_combobox/models/combobox.js
|
71
71
|
- app/assets/javascripts/hw_combobox/models/combobox/actors.js
|
72
|
+
- app/assets/javascripts/hw_combobox/models/combobox/announcements.js
|
72
73
|
- app/assets/javascripts/hw_combobox/models/combobox/async_loading.js
|
73
74
|
- app/assets/javascripts/hw_combobox/models/combobox/autocomplete.js
|
74
75
|
- app/assets/javascripts/hw_combobox/models/combobox/base.js
|
75
76
|
- app/assets/javascripts/hw_combobox/models/combobox/dialog.js
|
76
77
|
- app/assets/javascripts/hw_combobox/models/combobox/events.js
|
77
78
|
- app/assets/javascripts/hw_combobox/models/combobox/filtering.js
|
79
|
+
- app/assets/javascripts/hw_combobox/models/combobox/form_field.js
|
80
|
+
- app/assets/javascripts/hw_combobox/models/combobox/multiselect.js
|
78
81
|
- app/assets/javascripts/hw_combobox/models/combobox/navigation.js
|
79
82
|
- app/assets/javascripts/hw_combobox/models/combobox/new_options.js
|
80
83
|
- app/assets/javascripts/hw_combobox/models/combobox/options.js
|
@@ -86,15 +89,19 @@ files:
|
|
86
89
|
- app/assets/stylesheets/hotwire_combobox.css
|
87
90
|
- app/presenters/hotwire_combobox/component.rb
|
88
91
|
- app/presenters/hotwire_combobox/component/customizable.rb
|
92
|
+
- app/presenters/hotwire_combobox/listbox/group.rb
|
93
|
+
- app/presenters/hotwire_combobox/listbox/item.rb
|
89
94
|
- app/presenters/hotwire_combobox/listbox/option.rb
|
90
95
|
- app/views/hotwire_combobox/_component.html.erb
|
91
96
|
- app/views/hotwire_combobox/_next_page.turbo_stream.erb
|
92
97
|
- app/views/hotwire_combobox/_paginated_options.turbo_stream.erb
|
93
98
|
- app/views/hotwire_combobox/_pagination.html.erb
|
99
|
+
- app/views/hotwire_combobox/_selection_chip.turbo_stream.erb
|
94
100
|
- app/views/hotwire_combobox/combobox/_dialog.html.erb
|
95
101
|
- app/views/hotwire_combobox/combobox/_hidden_field.html.erb
|
96
102
|
- app/views/hotwire_combobox/combobox/_input.html.erb
|
97
103
|
- app/views/hotwire_combobox/combobox/_paginated_listbox.html.erb
|
104
|
+
- app/views/hotwire_combobox/layouts/_selection_chip.turbo_stream.erb
|
98
105
|
- config/hw_importmap.rb
|
99
106
|
- lib/hotwire_combobox.rb
|
100
107
|
- lib/hotwire_combobox/engine.rb
|