bullet_train-themes-tailwind_css 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41fa1e1feaf13a047ad44462c1974356896265c6084041f60e5aac8aa75c349e
4
- data.tar.gz: e3d297a3d0a1fc78edc380fe9868686ecb4a2d5886674643f9fc3658a3085d6f
3
+ metadata.gz: 2c7303e92428b04ed12211d3707d3ca80ab6462f4f58f8de26bb9e7d8c5171f6
4
+ data.tar.gz: ca9101d5217e280a80f43f257556110c3f6c19901731374b46171bba6de00fba
5
5
  SHA512:
6
- metadata.gz: af2e4b7f78f806718e14b5b71c16dc6318ca9eb6332f3bdde3f57678b1cb56e6960254a1a8da702dbad87a92d0d6986b9ad272c0d37e9802ed4a5f761d109b1a
7
- data.tar.gz: 2922ddc84c09e135b9ff8ba78a3638e67866e38cced2dd800ab6e710a0344fca0b021327f2074dbccf631a057bf5da487a04f5b3db5501333acc6943f892eb9a
6
+ metadata.gz: 367af6b907a592e7afd3ef70472330eb64b731de4ab378fe7839c2e5b1f0d4c444822fe9f6cf0bb4eb2aef704c3abe72124eb8ee13fb1f770572d2ad81b6b8c1
7
+ data.tar.gz: 03a983fbd37c9f28cecb94f2aee2e7eae05ff7bbb6d86ade2c4027273b3007c78f80287306e1bacee7d200000d4e76e33c0005039f705702766d93827fc4c82f
@@ -5,7 +5,7 @@
5
5
  <%= render 'shared/attributes/attribute', attribute: attribute, strategy: strategy, url: url do %>
6
6
  <span class="inline-block">
7
7
  <% if object.send(success_method) %>
8
- <i class="fal fa-check ti ti-check text-green"></i>
8
+ <i class="fal fa-check ti ti-check text-green-500"></i>
9
9
  <% elsif object.send(attempting_method) %>
10
10
  <style>
11
11
  <% if font_awesome? %>
@@ -18,7 +18,7 @@
18
18
  <i class="fal fa-sync ti ti-reload"></i>
19
19
  </span>
20
20
  <% elsif object.send(failure_method) %>
21
- <i class="fal fa-close ti ti-close text-red"></i>
21
+ <i class="fal fa-close ti ti-close text-red-500"></i>
22
22
  <% end %>
23
23
  </span>
24
24
  <% end %>
@@ -0,0 +1,12 @@
1
+ <% object ||= current_attributes_object %>
2
+ <% strategy ||= current_attributes_strategy || :none %>
3
+ <% url ||= nil %>
4
+
5
+ <% if object.send(attribute).attached? %>
6
+ <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %>
7
+ <%= link_to url_for(object.send(attribute)), class: 'button download-file' do %>
8
+ <i class="leading-none mr-2 text-base ti ti-download"></i>
9
+ <span>Download File</span>
10
+ <% end %>
11
+ <% end %>
12
+ <% end %>
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
- VERSION = "1.0.10"
4
+ VERSION = "1.0.11"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-tailwind_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-22 00:00:00.000000000 Z
11
+ date: 2022-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -79,6 +79,7 @@ files:
79
79
  - Rakefile
80
80
  - app/assets/config/bullet_train_themes_tailwind_css_manifest.js
81
81
  - app/views/themes/tailwind_css/attributes/_attempt.html.erb
82
+ - app/views/themes/tailwind_css/attributes/_file.erb
82
83
  - app/views/themes/tailwind_css/fields/_buttons.html.erb
83
84
  - app/views/themes/tailwind_css/fields/_cloudinary_image.html.erb
84
85
  - app/views/themes/tailwind_css/fields/_color_picker.html.erb
@@ -113,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
114
  - !ruby/object:Gem::Version
114
115
  version: '0'
115
116
  requirements: []
116
- rubygems_version: 3.3.7
117
+ rubygems_version: 3.2.22
117
118
  signing_key:
118
119
  specification_version: 4
119
120
  summary: Bullet Train Themes Tailwind CSS Base