dlegr250_material_design 0.4.59 → 0.4.60

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: ee4df307d6070dfb9a9e888b17073e6a3361c90f
4
- data.tar.gz: 945adecf554517994687faf2989c0d3402928fc8
3
+ metadata.gz: 765fb3f1aef76d96b1a97b5838c5ad4eb1b671c5
4
+ data.tar.gz: ea06945bfb4e0ff34d06d194576dae7f04ac06e6
5
5
  SHA512:
6
- metadata.gz: dbf33bc27241fea5937be276af89d0daf4deca750b756ac56ab5f268cb54fe4f373089da2d487bc16fbf5b31942821c2d54c7811c37819cd5984be9b260203f3
7
- data.tar.gz: ac20863fb4447e60eb974cb1d603a04ccf66a478868043de77cf88058caa2955beb4296ebcbea71f5ff9cbe8efc31a675c401d8036fdb3d94a41510ac4752aa5
6
+ metadata.gz: ada144a86a9bb16a6000a9b6a3f3bb9632e6a49d91f70037c1e081bf4592a3812386cd1edb19a5ce5100b9c6ffa3f3ab8a625c8a74e3988c1a002baca2585154
7
+ data.tar.gz: 22fec2eb390eb91ef66a16ec0db3a427ec67a423d45bf2924b6a7c4b4725495af406695560471f5e77fc8dfe96700665fd2920d495f943552273b9687ec9d167
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.4.59"
2
+ VERSION = "0.4.60"
3
3
  end
@@ -60,11 +60,21 @@ class App.MD.InputMasks
60
60
  $(":input[data-format='currency']").not("[placeholder]").attr("placeholder", "$")
61
61
 
62
62
  # Format: "1.234"
63
+ # $(":input[data-format='percentage']").autoNumeric("init", {
64
+ # vMin: "0",
65
+ # vMax: "99.999",
66
+ # aPad: true
67
+ # })
63
68
  $(":input[data-format='percentage']").autoNumeric("init", {
64
- vMin: "0",
65
- vMax: "99.999",
66
- aPad: true
67
- })
69
+ aSign: " %",
70
+ pSign: "s",
71
+ vMin: "0",
72
+ vMax: "99.999",
73
+ aPad: true
74
+ })
75
+
76
+ # Default "%" placeholder for percentage fields if no placeholder specified
77
+ $(":input[data-format='percentage']").not("[placeholder]").attr("placeholder", "%")
68
78
 
69
79
  # Format: "123,456"
70
80
  $(":input[data-format='numerical']").autoNumeric("init", {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.59
4
+ version: 0.4.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-05 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'WARNING: ALPHA CODE, NOT PRODUCTION READY. ACTIVELY UNDER DEVELOPMENT
14
14
  AS OF AUG 2016. Implement Google Material Design spec with modern browsers in mind