railsui 3.4.0 → 3.4.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/Gemfile.lock +1 -1
- data/app/views/railsui/themes/corgie/forms/_form_builder.html.erb +36 -36
- data/app/views/railsui/themes/hound/forms/_form_builder.html.erb +36 -36
- data/app/views/railsui/themes/shepherd/forms/_form_builder.html.erb +36 -36
- data/lib/railsui/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdf00da977780c593f58ec180d35c73f1b1a73932fc044981a59ac9655853db7
|
|
4
|
+
data.tar.gz: 5b94966fef66bd29254ddd19632d1a76c4043b6fea3bdbc0da1b529e9da29cca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d05cab8f6eb2fed5a5b263c4e4b0a90275c9d4992f6bb7a0fb8944aac9bd378858c2ef61c5a6ab094a0a7d1f00f94062a734bf4901f9c7dc8cc967d146b5345
|
|
7
|
+
data.tar.gz: a6fc75702f896fb64f59a4c025cf09f8bf78fbc5fa16e49fec3457c2925982bebeb080a47f3cd6c3bc860a392d8888dfb0ed4713d3e8521270b54789f4977411
|
data/Gemfile.lock
CHANGED
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
<%%= form_with model: @user, builder: Railsui::FormBuilder do |f| %>
|
|
31
31
|
<%%= f.text_field :name, label: "Full Name", placeholder: "John Doe" %>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
<%%= f.email_field :email, label: "Email Address", placeholder: "john@example.com", help: "We'll never share your email with anyone else." %>
|
|
35
|
-
<%% end %>
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
|
|
37
|
+
|
|
38
38
|
<%%= f.text_area :bio, label: "Biography", placeholder: "Tell us about yourself...", rows: 4 %>
|
|
39
|
-
|
|
39
|
+
|
|
40
40
|
|
|
41
41
|
<%%= f.submit "Save Profile" %>
|
|
42
42
|
<%% end %>
|
|
@@ -120,51 +120,51 @@
|
|
|
120
120
|
<!-- Text inputs -->
|
|
121
121
|
<%%= f.text_field :text, label: "Text Field" %>
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
|
|
124
124
|
<%%= f.email_field :email, label: "Email Field", placeholder: "john.doe@example.com" %>
|
|
125
|
-
<%% end %>
|
|
126
125
|
|
|
127
|
-
|
|
126
|
+
|
|
127
|
+
|
|
128
128
|
<%%= f.password_field :password, label: "Password Field" %>
|
|
129
|
-
<%% end %>
|
|
130
129
|
|
|
131
|
-
|
|
130
|
+
|
|
131
|
+
|
|
132
132
|
<%%= f.number_field :number, label: "Number Field", min: 0, max: 100 %>
|
|
133
|
-
<%% end %>
|
|
134
133
|
|
|
135
|
-
|
|
134
|
+
|
|
135
|
+
|
|
136
136
|
<%%= f.telephone_field :phone, label: "Phone Number" %>
|
|
137
|
-
<%% end %>
|
|
138
137
|
|
|
139
|
-
|
|
138
|
+
|
|
139
|
+
|
|
140
140
|
<%%= f.url_field :website, label: "Website URL" %>
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
|
|
143
143
|
<!-- Date/Time inputs -->
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
<%%= f.date_field :date, label: "Date" %>
|
|
146
|
-
<%% end %>
|
|
147
146
|
|
|
148
|
-
|
|
147
|
+
|
|
148
|
+
|
|
149
149
|
<%%= f.time_field :time, label: "Time" %>
|
|
150
|
-
|
|
150
|
+
|
|
151
151
|
|
|
152
152
|
<!-- Special inputs -->
|
|
153
|
-
|
|
153
|
+
|
|
154
154
|
<%%= f.color_field :color, label: "Color Picker" %>
|
|
155
|
-
<%% end %>
|
|
156
155
|
|
|
157
|
-
|
|
156
|
+
|
|
157
|
+
|
|
158
158
|
<%%= f.search_field :search, label: "Search", placeholder: "Search..." %>
|
|
159
|
-
<%% end %>
|
|
160
159
|
|
|
161
|
-
|
|
160
|
+
|
|
161
|
+
|
|
162
162
|
<%%= f.file_field :file, label: "File Upload" %>
|
|
163
|
-
<%% end %>
|
|
164
163
|
|
|
165
|
-
|
|
164
|
+
|
|
165
|
+
|
|
166
166
|
<%%= f.range_field :volume, label: "Volume", min: 0, max: 100, value: 25 %>
|
|
167
|
-
|
|
167
|
+
|
|
168
168
|
<%% end %>
|
|
169
169
|
<% end %>
|
|
170
170
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -205,13 +205,13 @@
|
|
|
205
205
|
{ prompt: "Choose a country" },
|
|
206
206
|
{ label: "Country" } %>
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
|
|
209
209
|
<%%= f.text_area :message,
|
|
210
210
|
label: "Message",
|
|
211
211
|
placeholder: "Enter your message here...",
|
|
212
212
|
rows: 5,
|
|
213
213
|
help: "Maximum 500 characters" %>
|
|
214
|
-
|
|
214
|
+
|
|
215
215
|
<%% end %>
|
|
216
216
|
<% end %>
|
|
217
217
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -347,9 +347,9 @@
|
|
|
347
347
|
<!-- Switch toggles -->
|
|
348
348
|
<%%= f.switch_field :dark_mode, label: "Enable dark mode" %>
|
|
349
349
|
|
|
350
|
-
|
|
350
|
+
|
|
351
351
|
<%%= f.switch_field :auto_save, label: "Auto-save drafts" %>
|
|
352
|
-
|
|
352
|
+
|
|
353
353
|
<%% end %>
|
|
354
354
|
<% end %>
|
|
355
355
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -386,9 +386,9 @@
|
|
|
386
386
|
<%%= form_with model: @user, builder: Railsui::FormBuilder do |f| %>
|
|
387
387
|
<%%= f.text_field :name, label: "Full Name" %>
|
|
388
388
|
|
|
389
|
-
|
|
389
|
+
|
|
390
390
|
<%%= f.email_field :email, label: "Email Address" %>
|
|
391
|
-
|
|
391
|
+
|
|
392
392
|
|
|
393
393
|
<%%= f.submit "Submit" %>
|
|
394
394
|
<%% end %>
|
|
@@ -495,22 +495,22 @@
|
|
|
495
495
|
wrapper: { class: "max-w-md" } %>
|
|
496
496
|
|
|
497
497
|
<!-- Skip label (i.e. don't display labels) -->
|
|
498
|
-
|
|
498
|
+
|
|
499
499
|
<%%= f.email_field :email,
|
|
500
500
|
label: false,
|
|
501
501
|
placeholder: "Enter your email",
|
|
502
502
|
help: "Skip displaying label",
|
|
503
503
|
skip_label: true %>
|
|
504
|
-
|
|
504
|
+
|
|
505
505
|
|
|
506
506
|
<!-- Custom label options and input class -->
|
|
507
|
-
|
|
507
|
+
|
|
508
508
|
<%%= f.text_field :website,
|
|
509
509
|
label: "Website",
|
|
510
510
|
placeholder: "https://",
|
|
511
511
|
label_options: { class: "form-label font-medium text-sm text-blue-600" },
|
|
512
512
|
class: "form-input text-lg" %>
|
|
513
|
-
|
|
513
|
+
|
|
514
514
|
<%% end %>
|
|
515
515
|
<% end %>
|
|
516
516
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
<%%= form_with model: @user, builder: Railsui::FormBuilder do |f| %>
|
|
31
31
|
<%%= f.text_field :name, label: "Full Name", placeholder: "John Doe" %>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
<%%= f.email_field :email, label: "Email Address", placeholder: "john@example.com", help: "We'll never share your email with anyone else." %>
|
|
35
|
-
<%% end %>
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
|
|
37
|
+
|
|
38
38
|
<%%= f.text_area :bio, label: "Biography", placeholder: "Tell us about yourself...", rows: 4 %>
|
|
39
|
-
|
|
39
|
+
|
|
40
40
|
|
|
41
41
|
<%%= f.submit "Save Profile" %>
|
|
42
42
|
<%% end %>
|
|
@@ -120,51 +120,51 @@
|
|
|
120
120
|
<!-- Text inputs -->
|
|
121
121
|
<%%= f.text_field :text, label: "Text Field" %>
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
|
|
124
124
|
<%%= f.email_field :email, label: "Email Field", placeholder: "john.doe@example.com" %>
|
|
125
|
-
<%% end %>
|
|
126
125
|
|
|
127
|
-
|
|
126
|
+
|
|
127
|
+
|
|
128
128
|
<%%= f.password_field :password, label: "Password Field" %>
|
|
129
|
-
<%% end %>
|
|
130
129
|
|
|
131
|
-
|
|
130
|
+
|
|
131
|
+
|
|
132
132
|
<%%= f.number_field :number, label: "Number Field", min: 0, max: 100 %>
|
|
133
|
-
<%% end %>
|
|
134
133
|
|
|
135
|
-
|
|
134
|
+
|
|
135
|
+
|
|
136
136
|
<%%= f.telephone_field :phone, label: "Phone Number" %>
|
|
137
|
-
<%% end %>
|
|
138
137
|
|
|
139
|
-
|
|
138
|
+
|
|
139
|
+
|
|
140
140
|
<%%= f.url_field :website, label: "Website URL" %>
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
|
|
143
143
|
<!-- Date/Time inputs -->
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
<%%= f.date_field :date, label: "Date" %>
|
|
146
|
-
<%% end %>
|
|
147
146
|
|
|
148
|
-
|
|
147
|
+
|
|
148
|
+
|
|
149
149
|
<%%= f.time_field :time, label: "Time" %>
|
|
150
|
-
|
|
150
|
+
|
|
151
151
|
|
|
152
152
|
<!-- Special inputs -->
|
|
153
|
-
|
|
153
|
+
|
|
154
154
|
<%%= f.color_field :color, label: "Color Picker" %>
|
|
155
|
-
<%% end %>
|
|
156
155
|
|
|
157
|
-
|
|
156
|
+
|
|
157
|
+
|
|
158
158
|
<%%= f.search_field :search, label: "Search", placeholder: "Search..." %>
|
|
159
|
-
<%% end %>
|
|
160
159
|
|
|
161
|
-
|
|
160
|
+
|
|
161
|
+
|
|
162
162
|
<%%= f.file_field :file, label: "File Upload" %>
|
|
163
|
-
<%% end %>
|
|
164
163
|
|
|
165
|
-
|
|
164
|
+
|
|
165
|
+
|
|
166
166
|
<%%= f.range_field :volume, label: "Volume", min: 0, max: 100, value: 25 %>
|
|
167
|
-
|
|
167
|
+
|
|
168
168
|
<%% end %>
|
|
169
169
|
<% end %>
|
|
170
170
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -205,13 +205,13 @@
|
|
|
205
205
|
{ prompt: "Choose a country" },
|
|
206
206
|
{ label: "Country" } %>
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
|
|
209
209
|
<%%= f.text_area :message,
|
|
210
210
|
label: "Message",
|
|
211
211
|
placeholder: "Enter your message here...",
|
|
212
212
|
rows: 5,
|
|
213
213
|
help: "Maximum 500 characters" %>
|
|
214
|
-
|
|
214
|
+
|
|
215
215
|
<%% end %>
|
|
216
216
|
<% end %>
|
|
217
217
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -347,9 +347,9 @@
|
|
|
347
347
|
<!-- Switch toggles -->
|
|
348
348
|
<%%= f.switch_field :dark_mode, label: "Enable dark mode" %>
|
|
349
349
|
|
|
350
|
-
|
|
350
|
+
|
|
351
351
|
<%%= f.switch_field :auto_save, label: "Auto-save drafts" %>
|
|
352
|
-
|
|
352
|
+
|
|
353
353
|
<%% end %>
|
|
354
354
|
<% end %>
|
|
355
355
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -386,9 +386,9 @@
|
|
|
386
386
|
<%%= form_with model: @user, builder: Railsui::FormBuilder do |f| %>
|
|
387
387
|
<%%= f.text_field :name, label: "Full Name" %>
|
|
388
388
|
|
|
389
|
-
|
|
389
|
+
|
|
390
390
|
<%%= f.email_field :email, label: "Email Address" %>
|
|
391
|
-
|
|
391
|
+
|
|
392
392
|
|
|
393
393
|
<%%= f.submit "Submit" %>
|
|
394
394
|
<%% end %>
|
|
@@ -495,22 +495,22 @@
|
|
|
495
495
|
wrapper: { class: "max-w-md" } %>
|
|
496
496
|
|
|
497
497
|
<!-- Skip label (i.e. don't display labels) -->
|
|
498
|
-
|
|
498
|
+
|
|
499
499
|
<%%= f.email_field :email,
|
|
500
500
|
label: false,
|
|
501
501
|
placeholder: "Enter your email",
|
|
502
502
|
help: "Skip displaying label",
|
|
503
503
|
skip_label: true %>
|
|
504
|
-
|
|
504
|
+
|
|
505
505
|
|
|
506
506
|
<!-- Custom label options and input class -->
|
|
507
|
-
|
|
507
|
+
|
|
508
508
|
<%%= f.text_field :website,
|
|
509
509
|
label: "Website",
|
|
510
510
|
placeholder: "https://",
|
|
511
511
|
label_options: { class: "form-label font-medium text-sm text-blue-600" },
|
|
512
512
|
class: "form-input text-lg" %>
|
|
513
|
-
|
|
513
|
+
|
|
514
514
|
<%% end %>
|
|
515
515
|
<% end %>
|
|
516
516
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
<%%= form_with model: @user, builder: Railsui::FormBuilder do |f| %>
|
|
31
31
|
<%%= f.text_field :name, label: "Full Name", placeholder: "John Doe" %>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
<%%= f.email_field :email, label: "Email Address", placeholder: "john@example.com", help: "We'll never share your email with anyone else." %>
|
|
35
|
-
<%% end %>
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
|
|
37
|
+
|
|
38
38
|
<%%= f.text_area :bio, label: "Biography", placeholder: "Tell us about yourself...", rows: 4 %>
|
|
39
|
-
|
|
39
|
+
|
|
40
40
|
|
|
41
41
|
<%%= f.submit "Save Profile" %>
|
|
42
42
|
<%% end %>
|
|
@@ -120,51 +120,51 @@
|
|
|
120
120
|
<!-- Text inputs -->
|
|
121
121
|
<%%= f.text_field :text, label: "Text Field" %>
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
|
|
124
124
|
<%%= f.email_field :email, label: "Email Field", placeholder: "john.doe@example.com" %>
|
|
125
|
-
<%% end %>
|
|
126
125
|
|
|
127
|
-
|
|
126
|
+
|
|
127
|
+
|
|
128
128
|
<%%= f.password_field :password, label: "Password Field" %>
|
|
129
|
-
<%% end %>
|
|
130
129
|
|
|
131
|
-
|
|
130
|
+
|
|
131
|
+
|
|
132
132
|
<%%= f.number_field :number, label: "Number Field", min: 0, max: 100 %>
|
|
133
|
-
<%% end %>
|
|
134
133
|
|
|
135
|
-
|
|
134
|
+
|
|
135
|
+
|
|
136
136
|
<%%= f.telephone_field :phone, label: "Phone Number" %>
|
|
137
|
-
<%% end %>
|
|
138
137
|
|
|
139
|
-
|
|
138
|
+
|
|
139
|
+
|
|
140
140
|
<%%= f.url_field :website, label: "Website URL" %>
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
|
|
143
143
|
<!-- Date/Time inputs -->
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
<%%= f.date_field :date, label: "Date" %>
|
|
146
|
-
<%% end %>
|
|
147
146
|
|
|
148
|
-
|
|
147
|
+
|
|
148
|
+
|
|
149
149
|
<%%= f.time_field :time, label: "Time" %>
|
|
150
|
-
|
|
150
|
+
|
|
151
151
|
|
|
152
152
|
<!-- Special inputs -->
|
|
153
|
-
|
|
153
|
+
|
|
154
154
|
<%%= f.color_field :color, label: "Color Picker" %>
|
|
155
|
-
<%% end %>
|
|
156
155
|
|
|
157
|
-
|
|
156
|
+
|
|
157
|
+
|
|
158
158
|
<%%= f.search_field :search, label: "Search", placeholder: "Search..." %>
|
|
159
|
-
<%% end %>
|
|
160
159
|
|
|
161
|
-
|
|
160
|
+
|
|
161
|
+
|
|
162
162
|
<%%= f.file_field :file, label: "File Upload" %>
|
|
163
|
-
<%% end %>
|
|
164
163
|
|
|
165
|
-
|
|
164
|
+
|
|
165
|
+
|
|
166
166
|
<%%= f.range_field :volume, label: "Volume", min: 0, max: 100, value: 25 %>
|
|
167
|
-
|
|
167
|
+
|
|
168
168
|
<%% end %>
|
|
169
169
|
<% end %>
|
|
170
170
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -205,13 +205,13 @@
|
|
|
205
205
|
{ prompt: "Choose a country" },
|
|
206
206
|
{ label: "Country" } %>
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
|
|
209
209
|
<%%= f.text_area :message,
|
|
210
210
|
label: "Message",
|
|
211
211
|
placeholder: "Enter your message here...",
|
|
212
212
|
rows: 5,
|
|
213
213
|
help: "Maximum 500 characters" %>
|
|
214
|
-
|
|
214
|
+
|
|
215
215
|
<%% end %>
|
|
216
216
|
<% end %>
|
|
217
217
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -347,9 +347,9 @@
|
|
|
347
347
|
<!-- Switch toggles -->
|
|
348
348
|
<%%= f.switch_field :dark_mode, label: "Enable dark mode" %>
|
|
349
349
|
|
|
350
|
-
|
|
350
|
+
|
|
351
351
|
<%%= f.switch_field :auto_save, label: "Auto-save drafts" %>
|
|
352
|
-
|
|
352
|
+
|
|
353
353
|
<%% end %>
|
|
354
354
|
<% end %>
|
|
355
355
|
<%= render_snippet active_tab: :erb %>
|
|
@@ -386,9 +386,9 @@
|
|
|
386
386
|
<%%= form_with model: @user, builder: Railsui::FormBuilder do |f| %>
|
|
387
387
|
<%%= f.text_field :name, label: "Full Name" %>
|
|
388
388
|
|
|
389
|
-
|
|
389
|
+
|
|
390
390
|
<%%= f.email_field :email, label: "Email Address" %>
|
|
391
|
-
|
|
391
|
+
|
|
392
392
|
|
|
393
393
|
<%%= f.submit "Submit" %>
|
|
394
394
|
<%% end %>
|
|
@@ -495,22 +495,22 @@
|
|
|
495
495
|
wrapper: { class: "max-w-md" } %>
|
|
496
496
|
|
|
497
497
|
<!-- Skip label (i.e. don't display labels) -->
|
|
498
|
-
|
|
498
|
+
|
|
499
499
|
<%%= f.email_field :email,
|
|
500
500
|
label: false,
|
|
501
501
|
placeholder: "Enter your email",
|
|
502
502
|
help: "Skip displaying label",
|
|
503
503
|
skip_label: true %>
|
|
504
|
-
|
|
504
|
+
|
|
505
505
|
|
|
506
506
|
<!-- Custom label options and input class -->
|
|
507
|
-
|
|
507
|
+
|
|
508
508
|
<%%= f.text_field :website,
|
|
509
509
|
label: "Website",
|
|
510
510
|
placeholder: "https://",
|
|
511
511
|
label_options: { class: "form-label font-medium text-sm text-blue-600" },
|
|
512
512
|
class: "form-input text-lg" %>
|
|
513
|
-
|
|
513
|
+
|
|
514
514
|
<%% end %>
|
|
515
515
|
<% end %>
|
|
516
516
|
<%= render_snippet active_tab: :erb %>
|
data/lib/railsui/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railsui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andy Leverenz
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-02-
|
|
10
|
+
date: 2026-02-13 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rails
|