bullet_train-themes-tailwind_css 1.0.4 → 1.0.7

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: a83e6e1ba42ca442994ee5257f6aa4a878170ca127ed01506551734cd935e168
4
- data.tar.gz: 85abf3e298c2e3b0c8cbc3b4b895b13d201f7c67cf38b5dfa19310d6ac08e905
3
+ metadata.gz: 1f2adedfe8c3345ba922c0cd92807de98f99a8aece49c04599eff6923498e231
4
+ data.tar.gz: dfa046a0958807b9e7273a60fee8a90cdd7f3e040718aabd2123b00922a4b058
5
5
  SHA512:
6
- metadata.gz: 0aea4b921f5852da76d01387c347e2a0dd1256c4014c46e240e003eee580d7b7ac43173d48625fda8f516dcff1a0bc4f52192485bba950b908554532acfe3421
7
- data.tar.gz: ec711ae1a749479a69396e762802a699257783b40ba69547dfd9e5b0ff547d45d228daea50781c94c676f0f4da193b11b4da57cde2ddb18ed44fa7142be9acc6
6
+ metadata.gz: f95e89315dd02777411db29033274948948b39b3056528f6adb16aed82e7b27668da22ed5bcbe40b1104fbfe5354725c8887d8beb51b49ea1d7b8122eb423aa5
7
+ data.tar.gz: e067b06696737e7f3d3acfaac24f0289828afe7ad57a9099a2688ece6fcb0a74903d16857d0b17ed687dc01bf068dacd94842da3ae2db608ff53bf26ad4026da
@@ -4,7 +4,7 @@
4
4
  form ||= current_fields_form
5
5
  options ||= {}
6
6
  options[:id] ||= id_for(form, method)
7
- options[:class] = "form-control single-daterange w-full dark:bg-sealBlue-300 dark:border-sealBlue-100 #{options[:class]}".strip
7
+ options[:class] = "form-control single-daterange w-full border-gray-300 dark:bg-sealBlue-300 dark:border-sealBlue-100 #{options[:class]}".strip
8
8
  options[:value] = form.object.send(method)&.in_time_zone(current_team.time_zone)&.strftime(t('global.formats.date_and_time'))
9
9
  options = options.merge({ data: {'fields--date-target': 'field' }})
10
10
  other_options ||= {}
@@ -2,6 +2,9 @@ module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
4
  class Engine < ::Rails::Engine
5
+ initializer "bullet_train.themes.tailwind_css.register" do |app|
6
+ BulletTrain.linked_gems << "bullet_train-themes-tailwind_css"
7
+ end
5
8
  end
6
9
  end
7
10
  end
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
- VERSION = "1.0.4"
4
+ VERSION = "1.0.7"
5
5
  end
6
6
  end
7
7
  end
@@ -1,10 +1,15 @@
1
1
  require "bullet_train/themes/tailwind_css/version"
2
2
  require "bullet_train/themes/tailwind_css/engine"
3
- require "bullet_train/themes/tailwind_css/theme"
3
+ require "bullet_train/themes"
4
4
 
5
5
  module BulletTrain
6
6
  module Themes
7
7
  module TailwindCss
8
+ class Theme < BulletTrain::Themes::Base::Theme
9
+ def directory_order
10
+ ['tailwind_css'] + super
11
+ end
12
+ end
8
13
  end
9
14
  end
10
15
  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.4
4
+ version: 1.0.7
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-02-16 00:00:00.000000000 Z
11
+ date: 2022-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -61,7 +61,6 @@ files:
61
61
  - config/routes.rb
62
62
  - lib/bullet_train/themes/tailwind_css.rb
63
63
  - lib/bullet_train/themes/tailwind_css/engine.rb
64
- - lib/bullet_train/themes/tailwind_css/theme.rb
65
64
  - lib/bullet_train/themes/tailwind_css/version.rb
66
65
  - lib/tasks/bullet_train/themes/tailwind_css_tasks.rake
67
66
  homepage: https://github.com/bullet-train-co/bullet_train-themes-tailwind_css
@@ -1,11 +0,0 @@
1
- module BulletTrain
2
- module Themes
3
- module TailwindCss
4
- class Theme < Base::Theme
5
- def directory_order
6
- ['tailwind_css'] + super
7
- end
8
- end
9
- end
10
- end
11
- end