nfg_ui 0.9.17 → 0.9.18

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: 226f29c2a1065ad0d56011c58f459afea23f1039769e747f7be41815971504f7
4
- data.tar.gz: 313e502c3d37a856fd78a692fd87058e0143a49ab95240f5dd258cf05cafc051
3
+ metadata.gz: 55cbb21a1840083ecb35ef107fe61fbb98c89975cee73b51252772b8f73d8f80
4
+ data.tar.gz: 9064214361078d0faceb38795a62d08b2cf8812b21129838d8a561426d1602ce
5
5
  SHA512:
6
- metadata.gz: 59b163a6c1c1bc685b762228b10ad0b8a42c31dff585941140c128976c6c938480e25c7eccc9a93eef9c8951a8f3f61c99e5cd36b8e3564012ce8de8c6be2026
7
- data.tar.gz: 271933966dda44648ded11f1ca90c8c2a41d6184248d790a5ee2ed82376f82f549a045e48a0a3cbd9e57fa289ebe8cd968f3f21eca4a58f4e9e291fca516d092
6
+ metadata.gz: c1c2774f650a8c4570f9173e5d20c9e6aadb57f07654e4e2809bfa582c89aa892e88053f03077305c597737ff98a34bb6fdb2abf0ad1ac2d392a0f1004d9ec3d
7
+ data.tar.gz: a166a12fd10e92785230fba27e017ede80d8f7f99ac1c130fea8d401ec7c6955c8148b18680b416f5ed6d6bdfcc5219ce15400dd8097cd56783517fcd2d55d7a
@@ -5,11 +5,19 @@ module NfgUi
5
5
  module Traits
6
6
  # Access to pre-designed Icon traits
7
7
  module Icon
8
- TRAITS = %i[loader].freeze
8
+ TRAITS = %i[loader tip].freeze
9
9
 
10
10
  def loader_trait
11
11
  options[:icon] = 'spinner spin fw'
12
12
  end
13
+
14
+ # The defacto "(?)" tip icon
15
+ # Usage:
16
+ # ui.nfg :icon, :tip, tooltip: 'The tip'
17
+ def tip_trait
18
+ options[:icon] = 'question-circle-o'
19
+ options[:theme] = :info
20
+ end
13
21
  end
14
22
  end
15
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NfgUi
4
- VERSION = '0.9.17'
4
+ VERSION = '0.9.18'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nfg_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.17
4
+ version: 0.9.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Roehm
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-04 00:00:00.000000000 Z
12
+ date: 2019-09-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrap