glib-web 3.0.2 → 3.0.4

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: f9f3512d884ca3fac7a8f0fa5022d65f256416b884bc457db8d9e93e050a622e
4
- data.tar.gz: 07cc381dff74eb7bc55749fb715f5a416f4d14eb53d73b380c44a0e9c7e3949e
3
+ metadata.gz: e811e8aaa5fcd9efa6975ee96bb751f443c8e0c7eab09fdbb497b92306557fee
4
+ data.tar.gz: 6b82bf7083996d089337633d708f5577e0bf941ded2ac8e2d5824596967e28ad
5
5
  SHA512:
6
- metadata.gz: c500d6e5efeb141d1c2765c17847b99acb6030366c381f136712ca954dfa6cc059b3e1c6fa2c1d3865d5d6e1d86bcd57c1ab4bfc8e0edc4f2e5361d2370febfa
7
- data.tar.gz: d66702989b6708278973b8446006acef18fc746de0b1a019fed36e4a3d9306ebe09abb21daa072ec2525c7440be60c4a58060ef056170300bc9642883b9af188
6
+ metadata.gz: cbabc1353222f3e9f9b3e17c9cbfdbcc90fbdbf2b46f7e0df090c40d09bc0a13a851c4daa870530c0a318c202b872c51afbfee3f18706b7d151228043b872a9b
7
+ data.tar.gz: b50c9f3a8638f704bfe5af73ecac6d5509f79f68fefd3f1e8e6f6bf3f22c38d2c5d58f8cd8b5a137760c69eedc6a045d44060135f8d81bc49495049a371daea9
@@ -9,7 +9,11 @@ module Glib
9
9
  end
10
10
 
11
11
  def tooltip(options)
12
- key = "tooltip_#{SecureRandom.uuid}"
12
+ if !Rails.env.test?
13
+ key = "tooltip_#{SecureRandom.uuid}"
14
+ else
15
+ key = 'tooltip_test'
16
+ end
13
17
  onMouseEnter ->(action) do
14
18
  action.popovers_open(
15
19
  key: key,
@@ -163,6 +163,7 @@ class Glib::JsonUi::ViewBuilder
163
163
  singleton_array :styleClass, :styleClasses
164
164
  array :events
165
165
  views :childViews
166
+ string :truncateLine
166
167
  end
167
168
 
168
169
  class Table < View
@@ -76,12 +76,12 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
76
76
 
77
77
  timeline_items = [
78
78
  { backgroundColor: 'blue', styleClasses: ['small'] },
79
- { backgroundColor: 'blue', styleClasses: ['small'] },
79
+ { backgroundColor: 'blue', styleClasses: ['x-small'] },
80
80
  { backgroundColor: 'blue', color: 'white', text: '3' },
81
81
  { backgroundColor: 'white', icon: 'radio_button_unchecked', styleClasses: ['small'] },
82
82
  { backgroundColor: 'white', icon: 'radio_button_unchecked', styleClasses: ['small'] },
83
83
  ]
84
84
 
85
85
  scroll.h2 text: 'Timeline without content'
86
- scroll.panels_timeline events: timeline_items
86
+ scroll.panels_timeline truncateLine: 'both', events: timeline_items
87
87
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -318,7 +318,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
318
318
  - !ruby/object:Gem::Version
319
319
  version: '0'
320
320
  requirements: []
321
- rubygems_version: 3.1.4
321
+ rubygems_version: 3.1.6
322
322
  signing_key:
323
323
  specification_version: 4
324
324
  summary: ''