bullet_train-themes-tailwind_css 1.0.6 → 1.0.9

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: ce7f353110f0859d1b2fcbf1c4ac3aad41e6d6f87a6eb5c3f05adaa3f4977758
4
- data.tar.gz: 25afbcf9d52c8d9aee44f0e76b092aa5ee9ebbd7e8738a62b1a56fa10790542a
3
+ metadata.gz: 5636beee414c6e4019b90d22d428de241a4ce5c5abd8a7b7a12a642c49d193d8
4
+ data.tar.gz: f02aeffef267d7ea8a997784c3fe6d15462ca30c8a61f8be8d32a0b73613a91c
5
5
  SHA512:
6
- metadata.gz: 146fc0956f7bc3ea84365fd35803172fbca852f13da2a4a7c98af9b8ffa71cefac233c9a06c58baf440d6a343aedbd9a3cc00a8db2c76d9f1d8bd121ccb02c3a
7
- data.tar.gz: 1860f470767322f3d5dd7bc2c7d7e89f13af08ae1fff9bbea789127ce4fb54ea9f82aaa8ccffbe4c3ad5ddcd3c525f327a39a5c300309f3364fd56db3382cab7
6
+ metadata.gz: a26bd6659e948dc129303524b4d6893c7774f284641de348079168bd23cba2256f3f1e6944759f0c85215168bad7bb0645b125503cb6426ed51383c0c9a17f22
7
+ data.tar.gz: 9c6735a2d84fe5676dc2e677e903e615e44980481d5564a762633348b8257943cfa6d89bbf951fbf8b5eea9078fc406fea69d80cb326ccd626919752f9db1ef9
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2022 Andrew Culver
1
+ Copyright 2022 Bullet Train, Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -9,12 +9,12 @@ html_options[:id] ||= id_for(form, method)
9
9
  multiple ||= false
10
10
  other_options ||= {}
11
11
  options ||= options_for(form, method)
12
- value = form.object.color_picker_value
12
+ value = form.object.send(method)
13
13
  %>
14
14
 
15
15
  <% content = render 'shared/fields/field', form: form, method: method, options: html_options, other_options: other_options do %>
16
16
  <% content_for :field do %>
17
- <div class="space-x-1" data-controller="<%= stimulus_controller %>" data-<%= stimulus_controller %>-initial-color-value="<%= form.object.color_picker_value %>">
17
+ <div class="space-x-1" data-controller="<%= stimulus_controller %>" data-<%= stimulus_controller %>-initial-color-value="<%= value %>">
18
18
  <%= form.hidden_field method, value: value, data: {"#{stimulus_controller}-target": "colorPickerValue"} %>
19
19
  <div class="inline space-x-1" data-<%= stimulus_controller %>-target="colorOptions">
20
20
  <% options.each do |color| %>
@@ -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,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
- VERSION = "1.0.6"
4
+ VERSION = "1.0.9"
5
5
  end
6
6
  end
7
7
  end
@@ -1,13 +1,14 @@
1
1
  require "bullet_train/themes/tailwind_css/version"
2
2
  require "bullet_train/themes/tailwind_css/engine"
3
3
  require "bullet_train/themes"
4
+ require "bullet_train"
4
5
 
5
6
  module BulletTrain
6
7
  module Themes
7
8
  module TailwindCss
8
9
  class Theme < BulletTrain::Themes::Base::Theme
9
10
  def directory_order
10
- ['tailwind_css'] + super
11
+ ["tailwind_css"] + super
11
12
  end
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,29 +1,57 @@
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.6
4
+ version: 1.0.9
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-24 00:00:00.000000000 Z
11
+ date: 2022-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: standard
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rails
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - ">="
18
32
  - !ruby/object:Gem::Version
19
- version: 7.0.0
33
+ version: 6.0.0
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - ">="
25
39
  - !ruby/object:Gem::Version
26
- version: 7.0.0
40
+ version: 6.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bullet_train
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: bullet_train-themes
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
112
  - !ruby/object:Gem::Version
85
113
  version: '0'
86
114
  requirements: []
87
- rubygems_version: 3.2.22
115
+ rubygems_version: 3.3.7
88
116
  signing_key:
89
117
  specification_version: 4
90
118
  summary: Bullet Train Themes Tailwind CSS Base