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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 404aaf50979044585d9326845924b0327c0b24b09759dfcaca9aed88a6f601d1
4
- data.tar.gz: 688bc1d816dc9ed505c28460af27eb71e1a9551f3d9c2df17240107c00ae369d
3
+ metadata.gz: bdf00da977780c593f58ec180d35c73f1b1a73932fc044981a59ac9655853db7
4
+ data.tar.gz: 5b94966fef66bd29254ddd19632d1a76c4043b6fea3bdbc0da1b529e9da29cca
5
5
  SHA512:
6
- metadata.gz: 7cab20804f8910e6edfe46297dee41a457dbd2e534d19aa1d39993af6385c75aa318827bafc9d5224d10b69beb9b7d2dc7ba24b57ac301a7a9906db649eef441
7
- data.tar.gz: 3f459a56366229614e431881caf7a2e2a8400c73991e1d5aa0fc146aa9fbe8690b25c705d8c0004220e87951cf7d5b29ced45fe5df3300f6609c775f26cea7cf
6
+ metadata.gz: 4d05cab8f6eb2fed5a5b263c4e4b0a90275c9d4992f6bb7a0fb8944aac9bd378858c2ef61c5a6ab094a0a7d1f00f94062a734bf4901f9c7dc8cc967d146b5345
7
+ data.tar.gz: a6fc75702f896fb64f59a4c025cf09f8bf78fbc5fa16e49fec3457c2925982bebeb080a47f3cd6c3bc860a392d8888dfb0ed4713d3e8521270b54789f4977411
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- railsui (3.4.0)
4
+ railsui (3.4.1)
5
5
  psych
6
6
  rails (>= 7.0)
7
7
  railsui_icon
@@ -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
- <%%= f.form_group do %>
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
- <%%= f.form_group do %>
36
+
37
+
38
38
  <%%= f.text_area :bio, label: "Biography", placeholder: "Tell us about yourself...", rows: 4 %>
39
- <%% end %>
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
- <%%= f.form_group do %>
123
+
124
124
  <%%= f.email_field :email, label: "Email Field", placeholder: "john.doe@example.com" %>
125
- <%% end %>
126
125
 
127
- <%%= f.form_group do %>
126
+
127
+
128
128
  <%%= f.password_field :password, label: "Password Field" %>
129
- <%% end %>
130
129
 
131
- <%%= f.form_group do %>
130
+
131
+
132
132
  <%%= f.number_field :number, label: "Number Field", min: 0, max: 100 %>
133
- <%% end %>
134
133
 
135
- <%%= f.form_group do %>
134
+
135
+
136
136
  <%%= f.telephone_field :phone, label: "Phone Number" %>
137
- <%% end %>
138
137
 
139
- <%%= f.form_group do %>
138
+
139
+
140
140
  <%%= f.url_field :website, label: "Website URL" %>
141
- <%% end %>
141
+
142
142
 
143
143
  <!-- Date/Time inputs -->
144
- <%%= f.form_group do %>
144
+
145
145
  <%%= f.date_field :date, label: "Date" %>
146
- <%% end %>
147
146
 
148
- <%%= f.form_group do %>
147
+
148
+
149
149
  <%%= f.time_field :time, label: "Time" %>
150
- <%% end %>
150
+
151
151
 
152
152
  <!-- Special inputs -->
153
- <%%= f.form_group do %>
153
+
154
154
  <%%= f.color_field :color, label: "Color Picker" %>
155
- <%% end %>
156
155
 
157
- <%%= f.form_group do %>
156
+
157
+
158
158
  <%%= f.search_field :search, label: "Search", placeholder: "Search..." %>
159
- <%% end %>
160
159
 
161
- <%%= f.form_group do %>
160
+
161
+
162
162
  <%%= f.file_field :file, label: "File Upload" %>
163
- <%% end %>
164
163
 
165
- <%%= f.form_group do %>
164
+
165
+
166
166
  <%%= f.range_field :volume, label: "Volume", min: 0, max: 100, value: 25 %>
167
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%% end %>
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
- <%%= f.form_group do %>
350
+
351
351
  <%%= f.switch_field :auto_save, label: "Auto-save drafts" %>
352
- <%% end %>
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
- <%%= f.form_group do %>
389
+
390
390
  <%%= f.email_field :email, label: "Email Address" %>
391
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%% end %>
504
+
505
505
 
506
506
  <!-- Custom label options and input class -->
507
- <%%= f.form_group do %>
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
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%%= f.form_group do %>
36
+
37
+
38
38
  <%%= f.text_area :bio, label: "Biography", placeholder: "Tell us about yourself...", rows: 4 %>
39
- <%% end %>
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
- <%%= f.form_group do %>
123
+
124
124
  <%%= f.email_field :email, label: "Email Field", placeholder: "john.doe@example.com" %>
125
- <%% end %>
126
125
 
127
- <%%= f.form_group do %>
126
+
127
+
128
128
  <%%= f.password_field :password, label: "Password Field" %>
129
- <%% end %>
130
129
 
131
- <%%= f.form_group do %>
130
+
131
+
132
132
  <%%= f.number_field :number, label: "Number Field", min: 0, max: 100 %>
133
- <%% end %>
134
133
 
135
- <%%= f.form_group do %>
134
+
135
+
136
136
  <%%= f.telephone_field :phone, label: "Phone Number" %>
137
- <%% end %>
138
137
 
139
- <%%= f.form_group do %>
138
+
139
+
140
140
  <%%= f.url_field :website, label: "Website URL" %>
141
- <%% end %>
141
+
142
142
 
143
143
  <!-- Date/Time inputs -->
144
- <%%= f.form_group do %>
144
+
145
145
  <%%= f.date_field :date, label: "Date" %>
146
- <%% end %>
147
146
 
148
- <%%= f.form_group do %>
147
+
148
+
149
149
  <%%= f.time_field :time, label: "Time" %>
150
- <%% end %>
150
+
151
151
 
152
152
  <!-- Special inputs -->
153
- <%%= f.form_group do %>
153
+
154
154
  <%%= f.color_field :color, label: "Color Picker" %>
155
- <%% end %>
156
155
 
157
- <%%= f.form_group do %>
156
+
157
+
158
158
  <%%= f.search_field :search, label: "Search", placeholder: "Search..." %>
159
- <%% end %>
160
159
 
161
- <%%= f.form_group do %>
160
+
161
+
162
162
  <%%= f.file_field :file, label: "File Upload" %>
163
- <%% end %>
164
163
 
165
- <%%= f.form_group do %>
164
+
165
+
166
166
  <%%= f.range_field :volume, label: "Volume", min: 0, max: 100, value: 25 %>
167
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%% end %>
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
- <%%= f.form_group do %>
350
+
351
351
  <%%= f.switch_field :auto_save, label: "Auto-save drafts" %>
352
- <%% end %>
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
- <%%= f.form_group do %>
389
+
390
390
  <%%= f.email_field :email, label: "Email Address" %>
391
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%% end %>
504
+
505
505
 
506
506
  <!-- Custom label options and input class -->
507
- <%%= f.form_group do %>
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
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%%= f.form_group do %>
36
+
37
+
38
38
  <%%= f.text_area :bio, label: "Biography", placeholder: "Tell us about yourself...", rows: 4 %>
39
- <%% end %>
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
- <%%= f.form_group do %>
123
+
124
124
  <%%= f.email_field :email, label: "Email Field", placeholder: "john.doe@example.com" %>
125
- <%% end %>
126
125
 
127
- <%%= f.form_group do %>
126
+
127
+
128
128
  <%%= f.password_field :password, label: "Password Field" %>
129
- <%% end %>
130
129
 
131
- <%%= f.form_group do %>
130
+
131
+
132
132
  <%%= f.number_field :number, label: "Number Field", min: 0, max: 100 %>
133
- <%% end %>
134
133
 
135
- <%%= f.form_group do %>
134
+
135
+
136
136
  <%%= f.telephone_field :phone, label: "Phone Number" %>
137
- <%% end %>
138
137
 
139
- <%%= f.form_group do %>
138
+
139
+
140
140
  <%%= f.url_field :website, label: "Website URL" %>
141
- <%% end %>
141
+
142
142
 
143
143
  <!-- Date/Time inputs -->
144
- <%%= f.form_group do %>
144
+
145
145
  <%%= f.date_field :date, label: "Date" %>
146
- <%% end %>
147
146
 
148
- <%%= f.form_group do %>
147
+
148
+
149
149
  <%%= f.time_field :time, label: "Time" %>
150
- <%% end %>
150
+
151
151
 
152
152
  <!-- Special inputs -->
153
- <%%= f.form_group do %>
153
+
154
154
  <%%= f.color_field :color, label: "Color Picker" %>
155
- <%% end %>
156
155
 
157
- <%%= f.form_group do %>
156
+
157
+
158
158
  <%%= f.search_field :search, label: "Search", placeholder: "Search..." %>
159
- <%% end %>
160
159
 
161
- <%%= f.form_group do %>
160
+
161
+
162
162
  <%%= f.file_field :file, label: "File Upload" %>
163
- <%% end %>
164
163
 
165
- <%%= f.form_group do %>
164
+
165
+
166
166
  <%%= f.range_field :volume, label: "Volume", min: 0, max: 100, value: 25 %>
167
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%% end %>
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
- <%%= f.form_group do %>
350
+
351
351
  <%%= f.switch_field :auto_save, label: "Auto-save drafts" %>
352
- <%% end %>
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
- <%%= f.form_group do %>
389
+
390
390
  <%%= f.email_field :email, label: "Email Address" %>
391
- <%% end %>
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
- <%%= f.form_group do %>
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
- <%% end %>
504
+
505
505
 
506
506
  <!-- Custom label options and input class -->
507
- <%%= f.form_group do %>
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
- <%% end %>
513
+
514
514
  <%% end %>
515
515
  <% end %>
516
516
  <%= render_snippet active_tab: :erb %>
@@ -1,3 +1,3 @@
1
1
  module Railsui
2
- VERSION = "3.4.0"
2
+ VERSION = "3.4.1"
3
3
  end
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.0
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-09 00:00:00.000000000 Z
10
+ date: 2026-02-13 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails