whose-components 0.3.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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +231 -0
- data/Rakefile +8 -0
- data/app/assets/fonts/whose_components/OFL.txt +93 -0
- data/app/assets/fonts/whose_components/leaguespartan-bold.woff2 +0 -0
- data/app/assets/tailwind/whose_components/engine.css +139 -0
- data/app/components/whose/badge_component/badge_component.html.haml +1 -0
- data/app/components/whose/badge_component.rb +23 -0
- data/app/components/whose/button_component/button_component.html.haml +6 -0
- data/app/components/whose/button_component.rb +40 -0
- data/app/components/whose/card_component/card_component.html.haml +6 -0
- data/app/components/whose/card_component.rb +24 -0
- data/app/components/whose/dialog.rb +21 -0
- data/app/components/whose/dialog_header_component/dialog_header_component.en.yml +2 -0
- data/app/components/whose/dialog_header_component/dialog_header_component.html.haml +3 -0
- data/app/components/whose/dialog_header_component.rb +8 -0
- data/app/components/whose/flash_component/flash_component.en.yml +2 -0
- data/app/components/whose/flash_component/flash_component.html.haml +14 -0
- data/app/components/whose/flash_component.rb +35 -0
- data/app/components/whose/form/field_component/field_component.html.haml +16 -0
- data/app/components/whose/form/field_component.rb +90 -0
- data/app/components/whose/link_component/link_component.html.haml +1 -0
- data/app/components/whose/link_component.rb +22 -0
- data/app/components/whose/list_component/list_component.html.haml +3 -0
- data/app/components/whose/list_component.rb +15 -0
- data/app/components/whose/list_row_component/list_row_component.html.haml +12 -0
- data/app/components/whose/list_row_component.rb +19 -0
- data/app/components/whose/modal_component/modal_component.html.haml +10 -0
- data/app/components/whose/modal_component.rb +12 -0
- data/app/components/whose/nav/item_component/item_component.html.haml +5 -0
- data/app/components/whose/nav/item_component.rb +21 -0
- data/app/components/whose/nav_component/nav_component.en.yml +4 -0
- data/app/components/whose/nav_component/nav_component.html.haml +22 -0
- data/app/components/whose/nav_component.rb +55 -0
- data/app/components/whose/offcanvas_component/offcanvas_component.html.haml +8 -0
- data/app/components/whose/offcanvas_component.rb +21 -0
- data/app/components/whose/page_header_component/page_header_component.html.haml +7 -0
- data/app/components/whose/page_header_component.rb +17 -0
- data/app/components/whose/pagination_component/pagination_component.html.haml +2 -0
- data/app/components/whose/pagination_component.rb +12 -0
- data/app/components/whose/tooltip_component/tooltip_component.html.haml +3 -0
- data/app/components/whose/tooltip_component.rb +26 -0
- data/app/controllers/concerns/whose/authentication.rb +77 -0
- data/app/controllers/whose/confirmations_controller.rb +29 -0
- data/app/controllers/whose/passwords_controller.rb +38 -0
- data/app/controllers/whose/registrations_controller.rb +29 -0
- data/app/controllers/whose/sessions_controller.rb +31 -0
- data/app/helpers/whose/component_helper.rb +18 -0
- data/app/helpers/whose/form_helper.rb +16 -0
- data/app/javascript/whose/controllers/whose_dialog_controller.js +3 -0
- data/app/javascript/whose/controllers/whose_notification_controller.js +8 -0
- data/app/javascript/whose/controllers/whose_password_visibility_controller.js +3 -0
- data/app/jobs/.keep +0 -0
- data/app/mailers/whose/auth_mailer.rb +17 -0
- data/app/models/concerns/whose/authenticatable.rb +31 -0
- data/app/models/whose/current.rb +6 -0
- data/app/models/whose/session.rb +7 -0
- data/app/views/whose/auth_mailer/account_exists.html.haml +6 -0
- data/app/views/whose/auth_mailer/account_exists.text.haml +9 -0
- data/app/views/whose/auth_mailer/confirmation.html.haml +3 -0
- data/app/views/whose/auth_mailer/confirmation.text.haml +5 -0
- data/app/views/whose/auth_mailer/password_reset.html.haml +3 -0
- data/app/views/whose/auth_mailer/password_reset.text.haml +5 -0
- data/app/views/whose/confirmations/new.html.haml +11 -0
- data/app/views/whose/confirmations/show.html.haml +6 -0
- data/app/views/whose/passwords/edit.html.haml +11 -0
- data/app/views/whose/passwords/new.html.haml +11 -0
- data/app/views/whose/registrations/new.html.haml +16 -0
- data/app/views/whose/sessions/new.html.haml +15 -0
- data/config/importmap.rb +7 -0
- data/config/locales/whose/auth.en.yml +71 -0
- data/config/locales/whose/errors.en.yml +17 -0
- data/config/locales/whose/form.en.yml +5 -0
- data/config/locales/whose/nav.en.yml +4 -0
- data/lib/generators/whose/components/install/install_generator.rb +56 -0
- data/lib/generators/whose/components/install/templates/application.html.haml +24 -0
- data/lib/generators/whose/components/install/templates/create_users.rb.tt +17 -0
- data/lib/generators/whose/components/install/templates/create_whose_sessions.rb.tt +13 -0
- data/lib/generators/whose/components/install/templates/user.rb.tt +7 -0
- data/lib/generators/whose/components/install/templates/users.rb.tt +15 -0
- data/lib/generators/whose/components/views/USAGE +12 -0
- data/lib/generators/whose/components/views/views_generator.rb +19 -0
- data/lib/templates/app/.claude/skills/asd-ste100/LICENSE +21 -0
- data/lib/templates/app/.claude/skills/asd-ste100/README.md +102 -0
- data/lib/templates/app/.claude/skills/asd-ste100/SKILL.md +139 -0
- data/lib/templates/app/.claude/skills/asd-ste100/examples/before-after.md +92 -0
- data/lib/templates/app/.claude/skills/asd-ste100/examples/linter-edge-cases.md +14 -0
- data/lib/templates/app/.claude/skills/asd-ste100/references/writing-rules.md +59 -0
- data/lib/templates/app/.claude/skills/asd-ste100/scripts/ste-lint.py +486 -0
- data/lib/templates/app/CLAUDE.md.tt +181 -0
- data/lib/templates/whose_app_template.rb +144 -0
- data/lib/whose/components/engine.rb +33 -0
- data/lib/whose/components/form_builder.rb +158 -0
- data/lib/whose/components/routes.rb +16 -0
- data/lib/whose/components/version.rb +7 -0
- data/lib/whose/components.rb +16 -0
- data/lib/whose/merge_classes.rb +17 -0
- data/vendor/javascript/@stimulus-components--dialog.js +4 -0
- data/vendor/javascript/@stimulus-components--notification.js +4 -0
- data/vendor/javascript/@stimulus-components--password-visibility.js +4 -0
- data/vendor/javascript/LICENSES +30 -0
- data/vendor/javascript/stimulus-use.js +4 -0
- metadata +272 -0
metadata
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: whose-components
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.3.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- WeiHsi Hu
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: rails
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '8.1'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '8.1'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: view_component
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '4.0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '4.0'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: haml-rails
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '3.0'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '3.0'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: tailwindcss-rails
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '4.6'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '4.6'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: importmap-rails
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - ">="
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '0'
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - ">="
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '0'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: stimulus-rails
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '0'
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - ">="
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '0'
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: turbo-rails
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '0'
|
|
103
|
+
type: :runtime
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: bcrypt
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - "~>"
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '3.1'
|
|
117
|
+
type: :runtime
|
|
118
|
+
prerelease: false
|
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - "~>"
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '3.1'
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: tailwind_merge
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
- - "~>"
|
|
129
|
+
- !ruby/object:Gem::Version
|
|
130
|
+
version: '1.5'
|
|
131
|
+
type: :runtime
|
|
132
|
+
prerelease: false
|
|
133
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
134
|
+
requirements:
|
|
135
|
+
- - "~>"
|
|
136
|
+
- !ruby/object:Gem::Version
|
|
137
|
+
version: '1.5'
|
|
138
|
+
description: A Rails engine with ViewComponents, a Tailwind theme with dark mode,
|
|
139
|
+
Stimulus controllers, and optional email-and-password auth.
|
|
140
|
+
email:
|
|
141
|
+
- walzerfan@yahoo.com
|
|
142
|
+
executables: []
|
|
143
|
+
extensions: []
|
|
144
|
+
extra_rdoc_files: []
|
|
145
|
+
files:
|
|
146
|
+
- MIT-LICENSE
|
|
147
|
+
- README.md
|
|
148
|
+
- Rakefile
|
|
149
|
+
- app/assets/fonts/whose_components/OFL.txt
|
|
150
|
+
- app/assets/fonts/whose_components/leaguespartan-bold.woff2
|
|
151
|
+
- app/assets/tailwind/whose_components/engine.css
|
|
152
|
+
- app/components/whose/badge_component.rb
|
|
153
|
+
- app/components/whose/badge_component/badge_component.html.haml
|
|
154
|
+
- app/components/whose/button_component.rb
|
|
155
|
+
- app/components/whose/button_component/button_component.html.haml
|
|
156
|
+
- app/components/whose/card_component.rb
|
|
157
|
+
- app/components/whose/card_component/card_component.html.haml
|
|
158
|
+
- app/components/whose/dialog.rb
|
|
159
|
+
- app/components/whose/dialog_header_component.rb
|
|
160
|
+
- app/components/whose/dialog_header_component/dialog_header_component.en.yml
|
|
161
|
+
- app/components/whose/dialog_header_component/dialog_header_component.html.haml
|
|
162
|
+
- app/components/whose/flash_component.rb
|
|
163
|
+
- app/components/whose/flash_component/flash_component.en.yml
|
|
164
|
+
- app/components/whose/flash_component/flash_component.html.haml
|
|
165
|
+
- app/components/whose/form/field_component.rb
|
|
166
|
+
- app/components/whose/form/field_component/field_component.html.haml
|
|
167
|
+
- app/components/whose/link_component.rb
|
|
168
|
+
- app/components/whose/link_component/link_component.html.haml
|
|
169
|
+
- app/components/whose/list_component.rb
|
|
170
|
+
- app/components/whose/list_component/list_component.html.haml
|
|
171
|
+
- app/components/whose/list_row_component.rb
|
|
172
|
+
- app/components/whose/list_row_component/list_row_component.html.haml
|
|
173
|
+
- app/components/whose/modal_component.rb
|
|
174
|
+
- app/components/whose/modal_component/modal_component.html.haml
|
|
175
|
+
- app/components/whose/nav/item_component.rb
|
|
176
|
+
- app/components/whose/nav/item_component/item_component.html.haml
|
|
177
|
+
- app/components/whose/nav_component.rb
|
|
178
|
+
- app/components/whose/nav_component/nav_component.en.yml
|
|
179
|
+
- app/components/whose/nav_component/nav_component.html.haml
|
|
180
|
+
- app/components/whose/offcanvas_component.rb
|
|
181
|
+
- app/components/whose/offcanvas_component/offcanvas_component.html.haml
|
|
182
|
+
- app/components/whose/page_header_component.rb
|
|
183
|
+
- app/components/whose/page_header_component/page_header_component.html.haml
|
|
184
|
+
- app/components/whose/pagination_component.rb
|
|
185
|
+
- app/components/whose/pagination_component/pagination_component.html.haml
|
|
186
|
+
- app/components/whose/tooltip_component.rb
|
|
187
|
+
- app/components/whose/tooltip_component/tooltip_component.html.haml
|
|
188
|
+
- app/controllers/concerns/whose/authentication.rb
|
|
189
|
+
- app/controllers/whose/confirmations_controller.rb
|
|
190
|
+
- app/controllers/whose/passwords_controller.rb
|
|
191
|
+
- app/controllers/whose/registrations_controller.rb
|
|
192
|
+
- app/controllers/whose/sessions_controller.rb
|
|
193
|
+
- app/helpers/whose/component_helper.rb
|
|
194
|
+
- app/helpers/whose/form_helper.rb
|
|
195
|
+
- app/javascript/whose/controllers/whose_dialog_controller.js
|
|
196
|
+
- app/javascript/whose/controllers/whose_notification_controller.js
|
|
197
|
+
- app/javascript/whose/controllers/whose_password_visibility_controller.js
|
|
198
|
+
- app/jobs/.keep
|
|
199
|
+
- app/mailers/whose/auth_mailer.rb
|
|
200
|
+
- app/models/concerns/whose/authenticatable.rb
|
|
201
|
+
- app/models/whose/current.rb
|
|
202
|
+
- app/models/whose/session.rb
|
|
203
|
+
- app/views/whose/auth_mailer/account_exists.html.haml
|
|
204
|
+
- app/views/whose/auth_mailer/account_exists.text.haml
|
|
205
|
+
- app/views/whose/auth_mailer/confirmation.html.haml
|
|
206
|
+
- app/views/whose/auth_mailer/confirmation.text.haml
|
|
207
|
+
- app/views/whose/auth_mailer/password_reset.html.haml
|
|
208
|
+
- app/views/whose/auth_mailer/password_reset.text.haml
|
|
209
|
+
- app/views/whose/confirmations/new.html.haml
|
|
210
|
+
- app/views/whose/confirmations/show.html.haml
|
|
211
|
+
- app/views/whose/passwords/edit.html.haml
|
|
212
|
+
- app/views/whose/passwords/new.html.haml
|
|
213
|
+
- app/views/whose/registrations/new.html.haml
|
|
214
|
+
- app/views/whose/sessions/new.html.haml
|
|
215
|
+
- config/importmap.rb
|
|
216
|
+
- config/locales/whose/auth.en.yml
|
|
217
|
+
- config/locales/whose/errors.en.yml
|
|
218
|
+
- config/locales/whose/form.en.yml
|
|
219
|
+
- config/locales/whose/nav.en.yml
|
|
220
|
+
- lib/generators/whose/components/install/install_generator.rb
|
|
221
|
+
- lib/generators/whose/components/install/templates/application.html.haml
|
|
222
|
+
- lib/generators/whose/components/install/templates/create_users.rb.tt
|
|
223
|
+
- lib/generators/whose/components/install/templates/create_whose_sessions.rb.tt
|
|
224
|
+
- lib/generators/whose/components/install/templates/user.rb.tt
|
|
225
|
+
- lib/generators/whose/components/install/templates/users.rb.tt
|
|
226
|
+
- lib/generators/whose/components/views/USAGE
|
|
227
|
+
- lib/generators/whose/components/views/views_generator.rb
|
|
228
|
+
- lib/templates/app/.claude/skills/asd-ste100/LICENSE
|
|
229
|
+
- lib/templates/app/.claude/skills/asd-ste100/README.md
|
|
230
|
+
- lib/templates/app/.claude/skills/asd-ste100/SKILL.md
|
|
231
|
+
- lib/templates/app/.claude/skills/asd-ste100/examples/before-after.md
|
|
232
|
+
- lib/templates/app/.claude/skills/asd-ste100/examples/linter-edge-cases.md
|
|
233
|
+
- lib/templates/app/.claude/skills/asd-ste100/references/writing-rules.md
|
|
234
|
+
- lib/templates/app/.claude/skills/asd-ste100/scripts/ste-lint.py
|
|
235
|
+
- lib/templates/app/CLAUDE.md.tt
|
|
236
|
+
- lib/templates/whose_app_template.rb
|
|
237
|
+
- lib/whose/components.rb
|
|
238
|
+
- lib/whose/components/engine.rb
|
|
239
|
+
- lib/whose/components/form_builder.rb
|
|
240
|
+
- lib/whose/components/routes.rb
|
|
241
|
+
- lib/whose/components/version.rb
|
|
242
|
+
- lib/whose/merge_classes.rb
|
|
243
|
+
- vendor/javascript/@stimulus-components--dialog.js
|
|
244
|
+
- vendor/javascript/@stimulus-components--notification.js
|
|
245
|
+
- vendor/javascript/@stimulus-components--password-visibility.js
|
|
246
|
+
- vendor/javascript/LICENSES
|
|
247
|
+
- vendor/javascript/stimulus-use.js
|
|
248
|
+
homepage: https://github.com/waywho/whose-components
|
|
249
|
+
licenses:
|
|
250
|
+
- MIT
|
|
251
|
+
metadata:
|
|
252
|
+
source_code_uri: https://github.com/waywho/whose-components
|
|
253
|
+
changelog_uri: https://github.com/waywho/whose-components/blob/main/CHANGELOG.md
|
|
254
|
+
rubygems_mfa_required: 'true'
|
|
255
|
+
rdoc_options: []
|
|
256
|
+
require_paths:
|
|
257
|
+
- lib
|
|
258
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
259
|
+
requirements:
|
|
260
|
+
- - ">="
|
|
261
|
+
- !ruby/object:Gem::Version
|
|
262
|
+
version: '3.4'
|
|
263
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
|
+
requirements:
|
|
265
|
+
- - ">="
|
|
266
|
+
- !ruby/object:Gem::Version
|
|
267
|
+
version: '0'
|
|
268
|
+
requirements: []
|
|
269
|
+
rubygems_version: 4.0.20
|
|
270
|
+
specification_version: 4
|
|
271
|
+
summary: ViewComponents, a theme with dark mode, and email-and-password auth for Rails.
|
|
272
|
+
test_files: []
|