material_raingular 0.0.4.1.1 → 0.0.4.2

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
  SHA1:
3
- metadata.gz: 9a9319a1f8b4523c0d0a53b068a0db403424fdeb
4
- data.tar.gz: cd9287474c8dddb438bf2e573a4ff72a1c7a7406
3
+ metadata.gz: 7470f55a09c100b8d9a246f71521e8a2098f6072
4
+ data.tar.gz: af15ae1a9ffac5d70e8107e2d749117118ac9d3c
5
5
  SHA512:
6
- metadata.gz: aa0706acbc9416078a378071b96bb5c4bfaecab5d2399d43630e613c0def3dda9608f3604ba5655dc1e7592fbee6761ef6957032d74b05aabc54503c1bc623ed
7
- data.tar.gz: 42901bb6b8101a2c7e3a55841ee6d3102c55773fae383f94a9b7658ae2472e3fa2004c7b7a0ac02f26fd7a6369bd104fa9863f003c93304032b29ce367680a67
6
+ metadata.gz: 54d912bcefe94b424513203e38214c81edd0f0c00d67344f7c275322720b78937873e42866a0b8bea8f52731a8cb893751136c4b95a45a81d43c886c6b490bd7
7
+ data.tar.gz: 8bad50ab5bd596cf9ee6662270ff52dbe85e5e0ac07632399edc87393b89344c7c44c675c198e2d2f280032b3a6cd80692c9ff6075412abc7b9932201ff24c68
data/Gemfile.lock CHANGED
@@ -1,12 +1,73 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- material_raingular (0.0.1)
4
+ material_raingular (0.0.4.2)
5
+ js-routes
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
10
+ actionpack (4.2.5)
11
+ actionview (= 4.2.5)
12
+ activesupport (= 4.2.5)
13
+ rack (~> 1.6)
14
+ rack-test (~> 0.6.2)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
+ actionview (4.2.5)
18
+ activesupport (= 4.2.5)
19
+ builder (~> 3.1)
20
+ erubis (~> 2.7.0)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ activesupport (4.2.5)
24
+ i18n (~> 0.7)
25
+ json (~> 1.7, >= 1.7.7)
26
+ minitest (~> 5.1)
27
+ thread_safe (~> 0.3, >= 0.3.4)
28
+ tzinfo (~> 1.1)
29
+ builder (3.2.2)
30
+ concurrent-ruby (1.0.0)
31
+ erubis (2.7.0)
32
+ i18n (0.7.0)
33
+ js-routes (1.2.1)
34
+ railties (>= 3.2)
35
+ sprockets-rails (< 3)
36
+ json (1.8.3)
37
+ loofah (2.0.3)
38
+ nokogiri (>= 1.5.9)
39
+ mini_portile2 (2.0.0)
40
+ minitest (5.8.3)
41
+ nokogiri (1.6.7.1)
42
+ mini_portile2 (~> 2.0.0.rc2)
43
+ rack (1.6.4)
44
+ rack-test (0.6.3)
45
+ rack (>= 1.0)
46
+ rails-deprecated_sanitizer (1.0.3)
47
+ activesupport (>= 4.2.0.alpha)
48
+ rails-dom-testing (1.0.7)
49
+ activesupport (>= 4.2.0.beta, < 5.0)
50
+ nokogiri (~> 1.6.0)
51
+ rails-deprecated_sanitizer (>= 1.0.1)
52
+ rails-html-sanitizer (1.0.2)
53
+ loofah (~> 2.0)
54
+ railties (4.2.5)
55
+ actionpack (= 4.2.5)
56
+ activesupport (= 4.2.5)
57
+ rake (>= 0.8.7)
58
+ thor (>= 0.18.1, < 2.0)
9
59
  rake (10.4.2)
60
+ sprockets (3.5.2)
61
+ concurrent-ruby (~> 1.0)
62
+ rack (> 1, < 3)
63
+ sprockets-rails (2.3.3)
64
+ actionpack (>= 3.0)
65
+ activesupport (>= 3.0)
66
+ sprockets (>= 2.8, < 4.0)
67
+ thor (0.19.1)
68
+ thread_safe (0.3.5)
69
+ tzinfo (1.2.2)
70
+ thread_safe (~> 0.1)
10
71
 
11
72
  PLATFORMS
12
73
  ruby
@@ -15,3 +76,6 @@ DEPENDENCIES
15
76
  bundler (~> 1.7)
16
77
  material_raingular!
17
78
  rake (~> 10.0)
79
+
80
+ BUNDLED WITH
81
+ 1.10.4
@@ -63,7 +63,7 @@ class MobileTemplate
63
63
  class StandardTemplate
64
64
  constructor: (@element,attrs,functions,@disabled) ->
65
65
  @span = angular.element "<span></span>"
66
- @search = angular.element "<input style='opacity:0.5'class='autocomplete' type='search' placeholder='" + attrs.placeholder + "'>"
66
+ @search = angular.element "<input class='autocomplete' type='search' placeholder='" + attrs.placeholder + "'>"
67
67
  @tempHolder = angular.element "<div class='autocomplete menu md-whiteframe-z1'>"
68
68
  @template = @tempHolder
69
69
  @typeAhead = angular.element "<span style='position:absolute;'></span>"
@@ -156,7 +156,7 @@ class EventFunctions
156
156
  tempHolder.removeClass('active') if event.keyCode == 27
157
157
  mousedownFunction: (tempHolder,search,event) =>
158
158
  return if tempHolder.hasClass('active')
159
- return if @disabled
159
+ return if @disabled()
160
160
  search.val('')
161
161
  @buildTemplate()
162
162
  tempHolder.css('top',event.clientY)
@@ -256,7 +256,7 @@ angular.module('FilteredSelect', [])
256
256
  viewOptions = JSON.parse(attrs.filterOptions || '{}')
257
257
  options = new SelectOptions(attrs.ngSelectOptions,element[0].outerHTML)
258
258
  functions = new SelectFunctions(options.match,$parse)
259
- eFunctions = new EventFunctions(functions,buildTemplate,updateValue,filteredList,$filter,$timeout,$parse,scope,disabled(),viewOptions)
259
+ eFunctions = new EventFunctions(functions,buildTemplate,updateValue,filteredList,$filter,$timeout,$parse,scope,disabled,viewOptions)
260
260
  if isMobile = typeof attrs.ngMobile != 'undefined'
261
261
  elements = new MobileTemplate(element,eFunctions.mobile())
262
262
  else
@@ -268,9 +268,7 @@ angular.module('FilteredSelect', [])
268
268
  scope.$watch attrs.ngModel, (newVal,oldVal) ->
269
269
  return if newVal == oldVal
270
270
  setInitialValue()
271
- scope.$watch disabled, (newVal,oldVal) ->
272
- return if newVal == oldVal
271
+ scope.$watch disabled, (newVal) ->
273
272
  elements.search[0].disabled = newVal
274
-
275
273
  setInitialValue()
276
274
  buildTemplate()
@@ -38,11 +38,18 @@ div.filtered-select
38
38
  z-index: 1000
39
39
  &.active
40
40
  height: 50%
41
+ fieldset[disabled]
42
+ ng-filtered-select
43
+ &[ng-mobile]
44
+ color: inherit
45
+
41
46
  ng-filtered-select
42
47
  display: block
43
48
  width: 100%
44
49
  overflow: hidden
45
50
  text-overflow: ellipsis
51
+ outline: none
52
+
46
53
  md-input-container
47
54
  ng-filtered-select
48
55
  background-color: transparent
@@ -53,6 +60,22 @@ md-input-container
53
60
  border-color: rgba(0,0,0,0.24)
54
61
  vertical-align: baseline
55
62
  background-color: transparent
63
+ ng-filtered-select:not([ng-mobile])
64
+ input
65
+ opacity: 0.5
66
+ &[disabled]
67
+ input
68
+ opacity: 1
69
+ color: rgba(0,0,0,0.26) !important
70
+ background-position: 0 bottom
71
+ background-size: 4px 1px
72
+ background-repeat: repeat-x
73
+ margin-bottom: -1px
74
+ background-image: linear-gradient(to right, rgba(0,0,0,0.26) 0%, rgba(0,0,0,0.26) 33%, transparent 0%)
75
+ border-bottom-color: transparent
76
+ span
77
+ color: transparent !important
78
+
56
79
  md-autocomplete
57
80
  background: none
58
81
  md-autocomplete-wrap.md-whiteframe-z1
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.0.4.1.1"
2
+ VERSION = "0.0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: material_raingular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.1.1
4
+ version: 0.0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-29 00:00:00.000000000 Z
11
+ date: 2016-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.4.3
147
+ rubygems_version: 2.4.8
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Angular v1.4 for rails. Angular Material v0.9.8.