maquina-components 0.2.0 → 0.3.1
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/README.md +77 -0
- data/app/assets/stylesheets/calendar.css +222 -0
- data/app/assets/stylesheets/combobox.css +218 -0
- data/app/assets/stylesheets/date_picker.css +172 -0
- data/app/assets/stylesheets/toast.css +433 -0
- data/app/assets/tailwind/maquina_components_engine/engine.css +16 -14
- data/app/helpers/maquina_components/calendar_helper.rb +196 -0
- data/app/helpers/maquina_components/combobox_helper.rb +300 -0
- data/app/helpers/maquina_components/icons_helper.rb +220 -0
- data/app/helpers/maquina_components/table_helper.rb +9 -10
- data/app/helpers/maquina_components/toast_helper.rb +115 -0
- data/app/javascript/controllers/calendar_controller.js +394 -0
- data/app/javascript/controllers/combobox_controller.js +325 -0
- data/app/javascript/controllers/date_picker_controller.js +261 -0
- data/app/javascript/controllers/toast_controller.js +115 -0
- data/app/javascript/controllers/toaster_controller.js +226 -0
- data/app/views/components/_calendar.html.erb +121 -0
- data/app/views/components/_combobox.html.erb +13 -0
- data/app/views/components/_date_picker.html.erb +102 -0
- data/app/views/components/_toast.html.erb +53 -0
- data/app/views/components/_toaster.html.erb +17 -0
- data/app/views/components/calendar/_header.html.erb +22 -0
- data/app/views/components/calendar/_week.html.erb +53 -0
- data/app/views/components/combobox/_content.html.erb +17 -0
- data/app/views/components/combobox/_empty.html.erb +9 -0
- data/app/views/components/combobox/_group.html.erb +8 -0
- data/app/views/components/combobox/_input.html.erb +18 -0
- data/app/views/components/combobox/_label.html.erb +8 -0
- data/app/views/components/combobox/_list.html.erb +8 -0
- data/app/views/components/combobox/_option.html.erb +24 -0
- data/app/views/components/combobox/_separator.html.erb +6 -0
- data/app/views/components/combobox/_trigger.html.erb +22 -0
- data/app/views/components/toast/_action.html.erb +14 -0
- data/app/views/components/toast/_description.html.erb +8 -0
- data/app/views/components/toast/_title.html.erb +8 -0
- data/lib/maquina_components/version.rb +1 -1
- metadata +33 -2
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: maquina-components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mario Alberto Chávez
|
|
@@ -51,7 +51,10 @@ files:
|
|
|
51
51
|
- app/assets/stylesheets/alert.css
|
|
52
52
|
- app/assets/stylesheets/badge.css
|
|
53
53
|
- app/assets/stylesheets/breadcrumbs.css
|
|
54
|
+
- app/assets/stylesheets/calendar.css
|
|
54
55
|
- app/assets/stylesheets/card.css
|
|
56
|
+
- app/assets/stylesheets/combobox.css
|
|
57
|
+
- app/assets/stylesheets/date_picker.css
|
|
55
58
|
- app/assets/stylesheets/dropdown_menu.css
|
|
56
59
|
- app/assets/stylesheets/empty.css
|
|
57
60
|
- app/assets/stylesheets/form.css
|
|
@@ -60,26 +63,38 @@ files:
|
|
|
60
63
|
- app/assets/stylesheets/pagination.css
|
|
61
64
|
- app/assets/stylesheets/sidebar.css
|
|
62
65
|
- app/assets/stylesheets/table.css
|
|
66
|
+
- app/assets/stylesheets/toast.css
|
|
63
67
|
- app/assets/stylesheets/toggle_group.css
|
|
64
68
|
- app/assets/tailwind/maquina_components_engine/engine.css
|
|
65
69
|
- app/helpers/maquina_components/breadcrumbs_helper.rb
|
|
70
|
+
- app/helpers/maquina_components/calendar_helper.rb
|
|
71
|
+
- app/helpers/maquina_components/combobox_helper.rb
|
|
66
72
|
- app/helpers/maquina_components/dropdown_menu_helper.rb
|
|
67
73
|
- app/helpers/maquina_components/empty_helper.rb
|
|
68
74
|
- app/helpers/maquina_components/icons_helper.rb
|
|
69
75
|
- app/helpers/maquina_components/pagination_helper.rb
|
|
70
76
|
- app/helpers/maquina_components/sidebar_helper.rb
|
|
71
77
|
- app/helpers/maquina_components/table_helper.rb
|
|
78
|
+
- app/helpers/maquina_components/toast_helper.rb
|
|
72
79
|
- app/helpers/maquina_components/toggle_group_helper.rb
|
|
73
80
|
- app/javascript/controllers/breadcrumb_controller.js
|
|
81
|
+
- app/javascript/controllers/calendar_controller.js
|
|
82
|
+
- app/javascript/controllers/combobox_controller.js
|
|
83
|
+
- app/javascript/controllers/date_picker_controller.js
|
|
74
84
|
- app/javascript/controllers/dropdown_menu_controller.js
|
|
75
85
|
- app/javascript/controllers/menu_button_controller.js
|
|
76
86
|
- app/javascript/controllers/sidebar_controller.js
|
|
77
87
|
- app/javascript/controllers/sidebar_trigger_controller.js
|
|
88
|
+
- app/javascript/controllers/toast_controller.js
|
|
89
|
+
- app/javascript/controllers/toaster_controller.js
|
|
78
90
|
- app/javascript/controllers/toggle_group_controller.js
|
|
79
91
|
- app/views/components/_alert.html.erb
|
|
80
92
|
- app/views/components/_badge.html.erb
|
|
81
93
|
- app/views/components/_breadcrumbs.html.erb
|
|
94
|
+
- app/views/components/_calendar.html.erb
|
|
82
95
|
- app/views/components/_card.html.erb
|
|
96
|
+
- app/views/components/_combobox.html.erb
|
|
97
|
+
- app/views/components/_date_picker.html.erb
|
|
83
98
|
- app/views/components/_dropdown.html.erb
|
|
84
99
|
- app/views/components/_dropdown_menu.html.erb
|
|
85
100
|
- app/views/components/_empty.html.erb
|
|
@@ -90,6 +105,8 @@ files:
|
|
|
90
105
|
- app/views/components/_sidebar.html.erb
|
|
91
106
|
- app/views/components/_simple_table.html.erb
|
|
92
107
|
- app/views/components/_table.html.erb
|
|
108
|
+
- app/views/components/_toast.html.erb
|
|
109
|
+
- app/views/components/_toaster.html.erb
|
|
93
110
|
- app/views/components/_toggle_group.html.erb
|
|
94
111
|
- app/views/components/alert/_description.html.erb
|
|
95
112
|
- app/views/components/alert/_title.html.erb
|
|
@@ -99,12 +116,23 @@ files:
|
|
|
99
116
|
- app/views/components/breadcrumbs/_list.html.erb
|
|
100
117
|
- app/views/components/breadcrumbs/_page.html.erb
|
|
101
118
|
- app/views/components/breadcrumbs/_separator.html.erb
|
|
119
|
+
- app/views/components/calendar/_header.html.erb
|
|
120
|
+
- app/views/components/calendar/_week.html.erb
|
|
102
121
|
- app/views/components/card/_action.html.erb
|
|
103
122
|
- app/views/components/card/_content.html.erb
|
|
104
123
|
- app/views/components/card/_description.html.erb
|
|
105
124
|
- app/views/components/card/_footer.html.erb
|
|
106
125
|
- app/views/components/card/_header.html.erb
|
|
107
126
|
- app/views/components/card/_title.html.erb
|
|
127
|
+
- app/views/components/combobox/_content.html.erb
|
|
128
|
+
- app/views/components/combobox/_empty.html.erb
|
|
129
|
+
- app/views/components/combobox/_group.html.erb
|
|
130
|
+
- app/views/components/combobox/_input.html.erb
|
|
131
|
+
- app/views/components/combobox/_label.html.erb
|
|
132
|
+
- app/views/components/combobox/_list.html.erb
|
|
133
|
+
- app/views/components/combobox/_option.html.erb
|
|
134
|
+
- app/views/components/combobox/_separator.html.erb
|
|
135
|
+
- app/views/components/combobox/_trigger.html.erb
|
|
108
136
|
- app/views/components/dropdown_menu/_content.html.erb
|
|
109
137
|
- app/views/components/dropdown_menu/_group.html.erb
|
|
110
138
|
- app/views/components/dropdown_menu/_item.html.erb
|
|
@@ -143,6 +171,9 @@ files:
|
|
|
143
171
|
- app/views/components/table/_head.html.erb
|
|
144
172
|
- app/views/components/table/_header.html.erb
|
|
145
173
|
- app/views/components/table/_row.html.erb
|
|
174
|
+
- app/views/components/toast/_action.html.erb
|
|
175
|
+
- app/views/components/toast/_description.html.erb
|
|
176
|
+
- app/views/components/toast/_title.html.erb
|
|
146
177
|
- app/views/components/toggle_group/_item.html.erb
|
|
147
178
|
- config/importmap.rb
|
|
148
179
|
- lib/generators/maquina_components/install/USAGE
|
|
@@ -174,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
174
205
|
- !ruby/object:Gem::Version
|
|
175
206
|
version: '0'
|
|
176
207
|
requirements: []
|
|
177
|
-
rubygems_version: 4.0.
|
|
208
|
+
rubygems_version: 4.0.3
|
|
178
209
|
specification_version: 4
|
|
179
210
|
summary: ERB, TailwindCSS, and StimulusJS UI components based on Shadcn/UI.
|
|
180
211
|
test_files: []
|