beyond_canvas 0.6.1.pre → 0.6.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +12 -12
- data/app/assets/stylesheets/components/_buttons.sass +2 -1
- data/app/assets/stylesheets/components/_inputs.sass +12 -3
- data/app/form_builders/beyond_form_builder.rb +1 -1
- data/lib/beyond_canvas/version.rb +1 -1
- data/lib/generators/templates/beyond_canvas_form_utils.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 527c3396fa6ac1f387b17f68082f335a3068c7725f5a94e28e3b2e388cf076a1
|
4
|
+
data.tar.gz: a919404b23e1dc9e777c96efabc90ed7ba1aa428095bae79934aa7d9eea3e558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebabc3716a7d88b53c0a553bfe5535750aec9cc3125e1102b2b8dfc518c93da3525738d49711c59c6426d9f5c84d6b3d0f55a9d8025d9df40591f1e6116a0416
|
7
|
+
data.tar.gz: 6a84cdc97929c34ff5355f9e2b699e5901d3eb3a2f25461bb52472b3982b980affe64e33125c2e314a9c9bed93d648975385320eda16961c05eba1a8707ba9ab
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
beyond_canvas (0.6.
|
4
|
+
beyond_canvas (0.6.2.pre)
|
5
5
|
bourbon (~> 5.1)
|
6
6
|
inline_svg (~> 1.5)
|
7
7
|
neat (~> 3.0)
|
@@ -10,20 +10,20 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionpack (6.0.1)
|
14
|
-
actionview (= 6.0.1)
|
15
|
-
activesupport (= 6.0.1)
|
16
|
-
rack (~> 2.0)
|
13
|
+
actionpack (6.0.2.1)
|
14
|
+
actionview (= 6.0.2.1)
|
15
|
+
activesupport (= 6.0.2.1)
|
16
|
+
rack (~> 2.0, >= 2.0.8)
|
17
17
|
rack-test (>= 0.6.3)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
19
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
20
|
-
actionview (6.0.1)
|
21
|
-
activesupport (= 6.0.1)
|
20
|
+
actionview (6.0.2.1)
|
21
|
+
activesupport (= 6.0.2.1)
|
22
22
|
builder (~> 3.1)
|
23
23
|
erubi (~> 1.4)
|
24
24
|
rails-dom-testing (~> 2.0)
|
25
25
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
26
|
-
activesupport (6.0.1)
|
26
|
+
activesupport (6.0.2.1)
|
27
27
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
28
28
|
i18n (>= 0.7, < 2)
|
29
29
|
minitest (~> 5.1)
|
@@ -54,7 +54,7 @@ GEM
|
|
54
54
|
thor (~> 0.19)
|
55
55
|
nokogiri (1.10.7)
|
56
56
|
mini_portile2 (~> 2.4.0)
|
57
|
-
rack (2.0.
|
57
|
+
rack (2.0.8)
|
58
58
|
rack-test (1.1.0)
|
59
59
|
rack (>= 1.0, < 3)
|
60
60
|
rails-dom-testing (2.0.3)
|
@@ -62,9 +62,9 @@ GEM
|
|
62
62
|
nokogiri (>= 1.6)
|
63
63
|
rails-html-sanitizer (1.3.0)
|
64
64
|
loofah (~> 2.3)
|
65
|
-
railties (6.0.1)
|
66
|
-
actionpack (= 6.0.1)
|
67
|
-
activesupport (= 6.0.1)
|
65
|
+
railties (6.0.2.1)
|
66
|
+
actionpack (= 6.0.2.1)
|
67
|
+
activesupport (= 6.0.2.1)
|
68
68
|
method_source
|
69
69
|
rake (>= 0.8.7)
|
70
70
|
thor (>= 0.20.3, < 2.0)
|
@@ -27,9 +27,10 @@
|
|
27
27
|
background-color: lighten($background, 40%)
|
28
28
|
|
29
29
|
@mixin button-border($background)
|
30
|
+
border-color: $background
|
31
|
+
|
30
32
|
@if $button-box-shadow == true
|
31
33
|
border-bottom-width: 2px
|
32
|
-
border-color: $background
|
33
34
|
border-bottom-color: darken($background, 10%)
|
34
35
|
|
35
36
|
|
@@ -22,6 +22,15 @@ select
|
|
22
22
|
background-size: 4px 4px, 4px 4px, 0 0
|
23
23
|
background-repeat: no-repeat
|
24
24
|
|
25
|
+
#{$all-text-inputs},
|
26
|
+
select
|
27
|
+
|
28
|
+
&.input__error
|
29
|
+
border-left: 2px solid $input-errors-color
|
30
|
+
|
31
|
+
&:focus
|
32
|
+
border: 1px solid $input-border-color-focus
|
33
|
+
|
25
34
|
.input
|
26
35
|
|
27
36
|
&__label
|
@@ -35,10 +44,10 @@ select
|
|
35
44
|
font-size: 13px
|
36
45
|
margin-top: 1px
|
37
46
|
|
38
|
-
&__with-error
|
39
|
-
|
47
|
+
// &__with-error
|
48
|
+
// border-left: 2px solid $input-errors-color
|
40
49
|
|
41
|
-
|
50
|
+
label.input__error
|
42
51
|
+padding(5px 7px)
|
43
52
|
+position(absolute, calc(100% + 8px) null null 0)
|
44
53
|
background-color: $input-errors-color
|
@@ -11,7 +11,7 @@ class BeyondFormBuilder < ActionView::Helpers::FormBuilder
|
|
11
11
|
@template.content_tag(:div, class: 'relative') do
|
12
12
|
block.call +
|
13
13
|
|
14
|
-
(@template.content_tag(:label, errors, class: "
|
14
|
+
(@template.content_tag(:label, errors, class: "input__error") unless errors.blank?)
|
15
15
|
end +
|
16
16
|
(@template.content_tag(:div, args[:hint].html_safe, class: 'input__hint') if args[:hint].present?)
|
17
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_canvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|