bullet_train-themes-tailwind_css 1.0.4 → 1.0.7
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/app/views/themes/tailwind_css/fields/_date_and_time_field.html.erb +1 -1
- data/lib/bullet_train/themes/tailwind_css/engine.rb +3 -0
- data/lib/bullet_train/themes/tailwind_css/version.rb +1 -1
- data/lib/bullet_train/themes/tailwind_css.rb +6 -1
- metadata +2 -3
- data/lib/bullet_train/themes/tailwind_css/theme.rb +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f2adedfe8c3345ba922c0cd92807de98f99a8aece49c04599eff6923498e231
|
|
4
|
+
data.tar.gz: dfa046a0958807b9e7273a60fee8a90cdd7f3e040718aabd2123b00922a4b058
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 ||= {}
|
|
@@ -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
|
|
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
|
+
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-
|
|
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
|