lesli_babel 1.1.3 → 1.1.4

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/lesli_babel/application.css +294 -23
  3. data/app/controllers/lesli_babel/application_controller.rb +14 -0
  4. data/app/controllers/lesli_babel/buckets_controller.rb +1 -7
  5. data/app/controllers/lesli_babel/labels_controller.rb +53 -35
  6. data/app/controllers/lesli_babel/translations_controller.rb +33 -43
  7. data/app/helpers/lesli_babel/labels_helper.rb +51 -2
  8. data/app/models/lesli_babel/application_record.rb +1 -1
  9. data/app/models/lesli_babel/label.rb +19 -2
  10. data/app/services/lesli_babel/label_service.rb +35 -6
  11. data/app/services/lesli_babel/translation_deploy_service.rb +144 -0
  12. data/app/services/lesli_babel/translation_export_service.rb +119 -0
  13. data/app/services/lesli_babel/translation_import_service.rb +184 -0
  14. data/app/services/lesli_babel/translation_service.rb +39 -151
  15. data/app/views/lesli_babel/dashboards/show.html.erb +62 -11
  16. data/app/views/lesli_babel/labels/_copy_path.html.erb +15 -0
  17. data/app/views/lesli_babel/labels/_delete_button.html.erb +14 -0
  18. data/app/views/lesli_babel/labels/_form.html.erb +56 -9
  19. data/app/views/lesli_babel/labels/_module_navigation.html.erb +15 -0
  20. data/app/views/lesli_babel/labels/index.html.erb +65 -36
  21. data/app/views/lesli_babel/labels/panel.html.erb +8 -0
  22. data/app/views/lesli_babel/labels/show.html.erb +10 -2
  23. data/app/views/lesli_babel/partials/_deploy_button.html.erb +21 -0
  24. data/config/locales/navigation.en.yml +5 -0
  25. data/config/locales/navigation.es.yml +5 -0
  26. data/config/locales/translations.en.yml +11 -1
  27. data/config/locales/translations.es.yml +11 -1
  28. data/config/locales/translations.fr.yml +2 -1
  29. data/config/locales/translations.it.yml +2 -1
  30. data/config/locales/translations.pt.yml +2 -1
  31. data/config/routes.rb +1 -2
  32. data/db/migrate/v1.0/0901100110_create_lesli_babel_modules.rb +6 -5
  33. data/db/migrate/v1.0/0901110110_create_lesli_babel_buckets.rb +7 -6
  34. data/db/migrate/v1.0/0901120110_create_lesli_babel_labels.rb +23 -22
  35. data/lib/lesli_babel/version.rb +2 -2
  36. data/lib/tasks/lesli_babel_tasks.rake +135 -83
  37. data/readme.md +4 -2
  38. metadata +12 -3
  39. data/app/views/lesli_babel/partials/_sidebar.html.erb +0 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1dfcb8901a8c817c290f6d737e024958fd142137084dd18f55da32a9eb1b3d6b
4
- data.tar.gz: fa66255f94d1bedd7ef6b5d4da81ba0798d6d3ea5fd6a23a3f1dcbc5992405c8
3
+ metadata.gz: 6a1079e97973ec24aa143683bb1d93cd02cc88e96076285b659cad40d0bf5c2c
4
+ data.tar.gz: c654808b78f5b5414e922f9eaf17595ea72ad75fa0a7cdeb385d6deb033bc2bf
5
5
  SHA512:
6
- metadata.gz: 54e71c64d61532009dd6dd7a4db05fe7eaafeeaed490c997e1dd781f83b78ceb253acfc3586194551760f9a1b0b3cf90eb856b76f929dc24c1c119276902f8c3
7
- data.tar.gz: 70a3c6b4e3c97b92fbc9b670248260456948d31b2392fc5e7fe89fc1f9f3a05e46e4fe4d2414d564905b0a45906ef2746acf3099eb59c44f6ccd798524dd1de7
6
+ metadata.gz: 86bac3a36402b60de0bf917b80af2f3bb94e0e72a4eae836b5f9cf2e5c4fdc07818e62e06d9ec4234b1aa11069cbfc8526d66fcfe579b5ef547633505f227f1e
7
+ data.tar.gz: ef16ab5a813c043d6dd8ad95dbc9845d797bbfd37e5b57903f526de794b62b1e483e3ea30b050f9dbae3ad68756f02e8e75b0c1670c4cad359ef2ce9583bdddc
@@ -5,46 +5,110 @@
5
5
  :root, :host {
6
6
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
7
7
  monospace;
8
+ --color-amber-50: oklch(98.7% 0.022 95.277);
9
+ --color-amber-200: oklch(92.4% 0.12 95.746);
10
+ --color-amber-300: oklch(87.9% 0.169 91.605);
11
+ --color-amber-700: oklch(55.5% 0.163 48.998);
12
+ --color-amber-900: oklch(41.4% 0.112 45.904);
13
+ --color-emerald-50: oklch(97.9% 0.021 166.113);
14
+ --color-emerald-200: oklch(90.5% 0.093 164.15);
15
+ --color-emerald-300: oklch(84.5% 0.143 164.978);
16
+ --color-emerald-700: oklch(50.8% 0.118 165.612);
17
+ --color-sky-50: oklch(97.7% 0.013 236.62);
18
+ --color-sky-200: oklch(90.1% 0.058 230.902);
19
+ --color-sky-300: oklch(82.8% 0.111 230.318);
8
20
  --color-sky-500: oklch(68.5% 0.169 237.323);
21
+ --color-sky-600: oklch(58.8% 0.158 241.966);
22
+ --color-sky-700: oklch(50% 0.134 242.749);
23
+ --color-sky-900: oklch(39.1% 0.09 240.876);
24
+ --color-rose-50: oklch(96.9% 0.015 12.422);
25
+ --color-rose-200: oklch(89.2% 0.058 10.001);
26
+ --color-rose-300: oklch(81% 0.117 11.638);
27
+ --color-rose-700: oklch(51.4% 0.222 16.935);
28
+ --color-rose-800: oklch(45.5% 0.188 13.697);
9
29
  --color-slate-100: oklch(96.8% 0.007 247.896);
10
30
  --color-slate-200: oklch(92.9% 0.013 255.508);
11
31
  --color-slate-400: oklch(70.4% 0.04 256.788);
12
32
  --color-slate-500: oklch(55.4% 0.046 257.417);
13
33
  --color-slate-600: oklch(44.6% 0.043 257.281);
34
+ --color-slate-700: oklch(37.2% 0.044 257.287);
35
+ --color-slate-800: oklch(27.9% 0.041 260.031);
14
36
  --color-slate-900: oklch(20.8% 0.042 265.755);
15
37
  --color-white: #fff;
16
38
  --spacing: 0.25rem;
39
+ --container-xl: 36rem;
17
40
  --text-xs: 0.75rem;
18
41
  --text-xs--line-height: calc(1 / 0.75);
19
42
  --text-sm: 0.875rem;
20
43
  --text-sm--line-height: calc(1.25 / 0.875);
44
+ --text-base: 1rem;
45
+ --text-base--line-height: calc(1.5 / 1);
21
46
  --text-lg: 1.125rem;
22
47
  --text-lg--line-height: calc(1.75 / 1.125);
48
+ --text-xl: 1.25rem;
49
+ --text-xl--line-height: calc(1.75 / 1.25);
50
+ --text-3xl: 1.875rem;
51
+ --text-3xl--line-height: calc(2.25 / 1.875);
23
52
  --font-weight-medium: 500;
24
53
  --font-weight-semibold: 600;
25
- --tracking-wider: 0.05em;
26
54
  --radius-lg: 0.5rem;
55
+ --radius-xl: 0.75rem;
27
56
  --radius-2xl: 1rem;
28
57
  --default-transition-duration: 150ms;
29
58
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
30
59
  }
31
60
  }
32
61
  @layer utilities {
62
+ .sr-only {
63
+ position: absolute;
64
+ width: 1px;
65
+ height: 1px;
66
+ padding: 0;
67
+ margin: -1px;
68
+ overflow: hidden;
69
+ clip-path: inset(50%);
70
+ white-space: nowrap;
71
+ border-width: 0;
72
+ }
33
73
  .my-6 {
34
74
  margin-block: calc(var(--spacing) * 6);
35
75
  }
36
76
  .mt-1 {
37
77
  margin-top: var(--spacing);
38
78
  }
79
+ .mt-2 {
80
+ margin-top: calc(var(--spacing) * 2);
81
+ }
82
+ .mt-3 {
83
+ margin-top: calc(var(--spacing) * 3);
84
+ }
85
+ .mt-4 {
86
+ margin-top: calc(var(--spacing) * 4);
87
+ }
88
+ .mt-6 {
89
+ margin-top: calc(var(--spacing) * 6);
90
+ }
91
+ .mb-2 {
92
+ margin-bottom: calc(var(--spacing) * 2);
93
+ }
39
94
  .mb-3 {
40
95
  margin-bottom: calc(var(--spacing) * 3);
41
96
  }
97
+ .mb-6 {
98
+ margin-bottom: calc(var(--spacing) * 6);
99
+ }
100
+ .ml-1 {
101
+ margin-left: var(--spacing);
102
+ }
42
103
  .flex {
43
104
  display: flex;
44
105
  }
45
106
  .grid {
46
107
  display: grid;
47
108
  }
109
+ .inline-block {
110
+ display: inline-block;
111
+ }
48
112
  .inline-flex {
49
113
  display: inline-flex;
50
114
  }
@@ -52,42 +116,111 @@
52
116
  width: calc(var(--spacing) * 5);
53
117
  height: calc(var(--spacing) * 5);
54
118
  }
119
+ .size-8 {
120
+ width: calc(var(--spacing) * 8);
121
+ height: calc(var(--spacing) * 8);
122
+ }
123
+ .h-2 {
124
+ height: calc(var(--spacing) * 2);
125
+ }
55
126
  .h-12 {
56
127
  height: calc(var(--spacing) * 12);
57
128
  }
129
+ .h-full {
130
+ height: 100%;
131
+ }
132
+ .\!min-h-0 {
133
+ min-height: 0px !important;
134
+ }
58
135
  .w-16 {
59
136
  width: calc(var(--spacing) * 16);
60
137
  }
138
+ .w-full {
139
+ width: 100%;
140
+ }
61
141
  .max-w-full {
62
142
  max-width: 100%;
63
143
  }
144
+ .max-w-xl {
145
+ max-width: var(--container-xl);
146
+ }
147
+ .min-w-0 {
148
+ min-width: 0px;
149
+ }
150
+ .flex-1 {
151
+ flex: 1;
152
+ }
64
153
  .shrink-0 {
65
154
  flex-shrink: 0;
66
155
  }
156
+ .list-disc {
157
+ list-style-type: disc;
158
+ }
159
+ .grid-cols-2 {
160
+ grid-template-columns: repeat(2, minmax(0, 1fr));
161
+ }
67
162
  .flex-col {
68
163
  flex-direction: column;
69
164
  }
165
+ .flex-wrap {
166
+ flex-wrap: wrap;
167
+ }
70
168
  .items-center {
71
169
  align-items: center;
72
170
  }
73
171
  .items-start {
74
172
  align-items: flex-start;
75
173
  }
174
+ .justify-between {
175
+ justify-content: space-between;
176
+ }
76
177
  .justify-center {
77
178
  justify-content: center;
78
179
  }
180
+ .justify-end {
181
+ justify-content: flex-end;
182
+ }
79
183
  .gap-2 {
80
184
  gap: calc(var(--spacing) * 2);
81
185
  }
186
+ .gap-3 {
187
+ gap: calc(var(--spacing) * 3);
188
+ }
189
+ .gap-4 {
190
+ gap: calc(var(--spacing) * 4);
191
+ }
82
192
  .gap-5 {
83
193
  gap: calc(var(--spacing) * 5);
84
194
  }
195
+ .gap-6 {
196
+ gap: calc(var(--spacing) * 6);
197
+ }
198
+ :where(.space-y-1 > :not(:last-child)) {
199
+ --tw-space-y-reverse: 0;
200
+ margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
201
+ margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
202
+ }
203
+ .gap-x-5 {
204
+ column-gap: calc(var(--spacing) * 5);
205
+ }
206
+ .gap-y-2 {
207
+ row-gap: calc(var(--spacing) * 2);
208
+ }
209
+ .overflow-hidden {
210
+ overflow: hidden;
211
+ }
85
212
  .rounded-2xl {
86
213
  border-radius: var(--radius-2xl);
87
214
  }
215
+ .rounded-full {
216
+ border-radius: calc(infinity * 1px);
217
+ }
88
218
  .rounded-lg {
89
219
  border-radius: var(--radius-lg);
90
220
  }
221
+ .rounded-xl {
222
+ border-radius: var(--radius-xl);
223
+ }
91
224
  .border {
92
225
  border-style: var(--tw-border-style);
93
226
  border-width: 1px;
@@ -100,20 +233,65 @@
100
233
  border-top-style: var(--tw-border-style);
101
234
  border-top-width: 1px;
102
235
  }
236
+ .border-amber-200 {
237
+ border-color: var(--color-amber-200);
238
+ }
239
+ .border-amber-300 {
240
+ border-color: var(--color-amber-300);
241
+ }
242
+ .border-emerald-300 {
243
+ border-color: var(--color-emerald-300);
244
+ }
245
+ .border-rose-200 {
246
+ border-color: var(--color-rose-200);
247
+ }
248
+ .border-rose-300 {
249
+ border-color: var(--color-rose-300);
250
+ }
251
+ .border-sky-200 {
252
+ border-color: var(--color-sky-200);
253
+ }
254
+ .border-sky-300 {
255
+ border-color: var(--color-sky-300);
256
+ }
103
257
  .border-slate-200 {
104
258
  border-color: var(--color-slate-200);
105
259
  }
260
+ .bg-amber-50 {
261
+ background-color: var(--color-amber-50);
262
+ }
263
+ .bg-emerald-50 {
264
+ background-color: var(--color-emerald-50);
265
+ }
266
+ .bg-rose-50 {
267
+ background-color: var(--color-rose-50);
268
+ }
269
+ .bg-sky-50 {
270
+ background-color: var(--color-sky-50);
271
+ }
272
+ .bg-sky-600 {
273
+ background-color: var(--color-sky-600);
274
+ }
275
+ .bg-slate-100 {
276
+ background-color: var(--color-slate-100);
277
+ }
106
278
  .bg-white {
107
279
  background-color: var(--color-white);
108
280
  }
281
+ .p-4 {
282
+ padding: calc(var(--spacing) * 4);
283
+ }
109
284
  .p-5 {
110
285
  padding: calc(var(--spacing) * 5);
111
286
  }
287
+ .px-2\.5 {
288
+ padding-inline: calc(var(--spacing) * 2.5);
289
+ }
112
290
  .px-3 {
113
291
  padding-inline: calc(var(--spacing) * 3);
114
292
  }
115
- .px-4 {
116
- padding-inline: calc(var(--spacing) * 4);
293
+ .py-1 {
294
+ padding-block: var(--spacing);
117
295
  }
118
296
  .py-2 {
119
297
  padding-block: calc(var(--spacing) * 2);
@@ -121,11 +299,11 @@
121
299
  .py-6 {
122
300
  padding-block: calc(var(--spacing) * 6);
123
301
  }
124
- .pt-1 {
125
- padding-top: var(--spacing);
302
+ .pt-6 {
303
+ padding-top: calc(var(--spacing) * 6);
126
304
  }
127
- .pb-2 {
128
- padding-bottom: calc(var(--spacing) * 2);
305
+ .pl-5 {
306
+ padding-left: calc(var(--spacing) * 5);
129
307
  }
130
308
  .text-center {
131
309
  text-align: center;
@@ -136,6 +314,14 @@
136
314
  .font-mono {
137
315
  font-family: var(--font-mono);
138
316
  }
317
+ .text-3xl {
318
+ font-size: var(--text-3xl);
319
+ line-height: var(--tw-leading, var(--text-3xl--line-height));
320
+ }
321
+ .text-base {
322
+ font-size: var(--text-base);
323
+ line-height: var(--tw-leading, var(--text-base--line-height));
324
+ }
139
325
  .text-lg {
140
326
  font-size: var(--text-lg);
141
327
  line-height: var(--tw-leading, var(--text-lg--line-height));
@@ -144,6 +330,10 @@
144
330
  font-size: var(--text-sm);
145
331
  line-height: var(--tw-leading, var(--text-sm--line-height));
146
332
  }
333
+ .text-xl {
334
+ font-size: var(--text-xl);
335
+ line-height: var(--tw-leading, var(--text-xl--line-height));
336
+ }
147
337
  .text-xs {
148
338
  font-size: var(--text-xs);
149
339
  line-height: var(--tw-leading, var(--text-xs--line-height));
@@ -164,13 +354,30 @@
164
354
  --tw-font-weight: var(--font-weight-semibold);
165
355
  font-weight: var(--font-weight-semibold);
166
356
  }
167
- .tracking-wider {
168
- --tw-tracking: var(--tracking-wider);
169
- letter-spacing: var(--tracking-wider);
170
- }
171
357
  .break-all {
172
358
  word-break: break-all;
173
359
  }
360
+ .text-amber-700 {
361
+ color: var(--color-amber-700);
362
+ }
363
+ .text-amber-900 {
364
+ color: var(--color-amber-900);
365
+ }
366
+ .text-emerald-700 {
367
+ color: var(--color-emerald-700);
368
+ }
369
+ .text-rose-700 {
370
+ color: var(--color-rose-700);
371
+ }
372
+ .text-rose-800 {
373
+ color: var(--color-rose-800);
374
+ }
375
+ .text-sky-700 {
376
+ color: var(--color-sky-700);
377
+ }
378
+ .text-sky-900 {
379
+ color: var(--color-sky-900);
380
+ }
174
381
  .text-slate-400 {
175
382
  color: var(--color-slate-400);
176
383
  }
@@ -180,12 +387,15 @@
180
387
  .text-slate-600 {
181
388
  color: var(--color-slate-600);
182
389
  }
390
+ .text-slate-700 {
391
+ color: var(--color-slate-700);
392
+ }
393
+ .text-slate-800 {
394
+ color: var(--color-slate-800);
395
+ }
183
396
  .text-slate-900 {
184
397
  color: var(--color-slate-900);
185
398
  }
186
- .uppercase {
187
- text-transform: uppercase;
188
- }
189
399
  .tabular-nums {
190
400
  --tw-numeric-spacing: tabular-nums;
191
401
  font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
@@ -194,32 +404,91 @@
194
404
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
195
405
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
196
406
  }
407
+ .ring-1 {
408
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
409
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
410
+ }
411
+ .ring-amber-200 {
412
+ --tw-ring-color: var(--color-amber-200);
413
+ }
414
+ .ring-emerald-200 {
415
+ --tw-ring-color: var(--color-emerald-200);
416
+ }
417
+ .ring-rose-200 {
418
+ --tw-ring-color: var(--color-rose-200);
419
+ }
420
+ .ring-sky-200 {
421
+ --tw-ring-color: var(--color-sky-200);
422
+ }
423
+ .ring-slate-200 {
424
+ --tw-ring-color: var(--color-slate-200);
425
+ }
426
+ .transition {
427
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
428
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
429
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
430
+ }
431
+ .transition-all {
432
+ transition-property: all;
433
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
434
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
435
+ }
197
436
  .transition-colors {
198
437
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
199
438
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
200
439
  transition-duration: var(--tw-duration, var(--default-transition-duration));
201
440
  }
441
+ .ring-inset {
442
+ --tw-ring-inset: inset;
443
+ }
202
444
  @media (hover: hover) {
203
445
  .group-hover\:text-slate-600:is(:where(.group):hover *) {
204
446
  color: var(--color-slate-600);
205
447
  }
448
+ .hover\:border-sky-300:hover {
449
+ border-color: var(--color-sky-300);
450
+ }
206
451
  .hover\:bg-slate-100:hover {
207
452
  background-color: var(--color-slate-100);
208
453
  }
454
+ .hover\:text-slate-700:hover {
455
+ color: var(--color-slate-700);
456
+ }
209
457
  .hover\:text-slate-900:hover {
210
458
  color: var(--color-slate-900);
211
459
  }
460
+ .hover\:shadow-md:hover {
461
+ --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
462
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
463
+ }
212
464
  }
213
465
  .focus-visible\:ring-2:focus-visible {
214
466
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
215
467
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
216
468
  }
469
+ .focus-visible\:ring-4:focus-visible {
470
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
471
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
472
+ }
473
+ .focus-visible\:ring-sky-500\/20:focus-visible {
474
+ --tw-ring-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 20%, transparent);
475
+ @supports (color: color-mix(in lab, red, red)) {
476
+ --tw-ring-color: color-mix(in oklab, var(--color-sky-500) 20%, transparent);
477
+ }
478
+ }
217
479
  .focus-visible\:ring-sky-500\/40:focus-visible {
218
480
  --tw-ring-color: color-mix(in srgb, oklch(68.5% 0.169 237.323) 40%, transparent);
219
481
  @supports (color: color-mix(in lab, red, red)) {
220
482
  --tw-ring-color: color-mix(in oklab, var(--color-sky-500) 40%, transparent);
221
483
  }
222
484
  }
485
+ .focus-visible\:ring-sky-600:focus-visible {
486
+ --tw-ring-color: var(--color-sky-600);
487
+ }
488
+ .focus-visible\:ring-offset-2:focus-visible {
489
+ --tw-ring-offset-width: 2px;
490
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
491
+ }
223
492
  .focus-visible\:outline-none:focus-visible {
224
493
  --tw-outline-style: none;
225
494
  outline-style: none;
@@ -242,13 +511,19 @@
242
511
  .lg\:grid-cols-3 {
243
512
  grid-template-columns: repeat(3, minmax(0, 1fr));
244
513
  }
245
- }
246
- @media (width >= 80rem) {
247
- .xl\:grid-cols-4 {
248
- grid-template-columns: repeat(4, minmax(0, 1fr));
514
+ .lg\:flex-row {
515
+ flex-direction: row;
516
+ }
517
+ .lg\:items-start {
518
+ align-items: flex-start;
249
519
  }
250
520
  }
251
521
  }
522
+ @property --tw-space-y-reverse {
523
+ syntax: "*";
524
+ inherits: false;
525
+ initial-value: 0;
526
+ }
252
527
  @property --tw-border-style {
253
528
  syntax: "*";
254
529
  inherits: false;
@@ -262,10 +537,6 @@
262
537
  syntax: "*";
263
538
  inherits: false;
264
539
  }
265
- @property --tw-tracking {
266
- syntax: "*";
267
- inherits: false;
268
- }
269
540
  @property --tw-ordinal {
270
541
  syntax: "*";
271
542
  inherits: false;
@@ -354,10 +625,10 @@
354
625
  @layer properties {
355
626
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
356
627
  *, ::before, ::after, ::backdrop {
628
+ --tw-space-y-reverse: 0;
357
629
  --tw-border-style: solid;
358
630
  --tw-leading: initial;
359
631
  --tw-font-weight: initial;
360
- --tw-tracking: initial;
361
632
  --tw-ordinal: initial;
362
633
  --tw-slashed-zero: initial;
363
634
  --tw-numeric-figure: initial;
@@ -33,5 +33,19 @@ Building a better future, one line of code at a time.
33
33
  module LesliBabel
34
34
  class ApplicationController < Lesli::ApplicationLesliController
35
35
  protect_from_forgery with: :exception
36
+
37
+ helper_method :babel_locales, :web_deploy_allowed?
38
+
39
+ def babel_locales
40
+ Lesli.config.babel.fetch(:locales)
41
+ end
42
+
43
+ def babel_locale_codes
44
+ babel_locales.keys
45
+ end
46
+
47
+ def web_deploy_allowed?
48
+ Lesli.config.babel.fetch(:allow_web_deploy, !Rails.env.production?)
49
+ end
36
50
  end
37
51
  end
@@ -32,7 +32,7 @@ Building a better future, one line of code at a time.
32
32
 
33
33
  module LesliBabel
34
34
  class BucketsController < ApplicationController
35
- before_action :set_bucket, only: [:show, :edit, :update, :destroy]
35
+ before_action :set_bucket, only: [:show, :edit, :update]
36
36
 
37
37
  # GET /buckets
38
38
  def index
@@ -73,12 +73,6 @@ module LesliBabel
73
73
  end
74
74
  end
75
75
 
76
- # DELETE /buckets/1
77
- def destroy
78
- @bucket.destroy
79
- redirect_to buckets_url, notice: 'Bucket was successfully destroyed.'
80
- end
81
-
82
76
  private
83
77
 
84
78
  # Use callbacks to share common setup or constraints between actions.