bullet_train-themes-tailwind_css 1.0.8 → 1.0.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5636beee414c6e4019b90d22d428de241a4ce5c5abd8a7b7a12a642c49d193d8
|
4
|
+
data.tar.gz: f02aeffef267d7ea8a997784c3fe6d15462ca30c8a61f8be8d32a0b73613a91c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a26bd6659e948dc129303524b4d6893c7774f284641de348079168bd23cba2256f3f1e6944759f0c85215168bad7bb0645b125503cb6426ed51383c0c9a17f22
|
7
|
+
data.tar.gz: 9c6735a2d84fe5676dc2e677e903e615e44980481d5564a762633348b8257943cfa6d89bbf951fbf8b5eea9078fc406fea69d80cb326ccd626919752f9db1ef9
|
@@ -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.
|
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="<%=
|
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| %>
|
@@ -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
|
-
[
|
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.
|
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-
|
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:
|
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:
|
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.
|
115
|
+
rubygems_version: 3.3.7
|
88
116
|
signing_key:
|
89
117
|
specification_version: 4
|
90
118
|
summary: Bullet Train Themes Tailwind CSS Base
|