glib-web 2.6.1 → 2.6.3

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: eb13d4976eaaf07dbf2459dc8be1eee222ebd668c04f1886bec4ce8e0e497ec6
4
- data.tar.gz: 6781da7837fadbe015c7df63adcc6956289900c2064aac27cf7d345888554ee9
3
+ metadata.gz: a241900fe69f859a9d7fb8505cb6cbbd19039b6eb7a5981a4232a0edff12846b
4
+ data.tar.gz: b07483bdaa3c5b28db364af08ae9da29547ca239a544d4b6fecd0917c8552b90
5
5
  SHA512:
6
- metadata.gz: 2a95897d9a5725703b1379689095563dab95d29cceba0f0c6394673d3d2cb4360efc0031915a59e1fe6265086baade6924fe1646c66732ba295d6d652b3e79bd
7
- data.tar.gz: ef34016972a3b1be612213db6269505ea37292ddc1c37d1b6d5a3bc4adb3a1a5fccdcc5fa3d5020e64adcdf8e5f267a444386dc93c68844202bf1dc9cf954c15
6
+ metadata.gz: 89baa1f405ecc6a94a0b027d5dc5b7a142c0850e036a791ec87e1328e0a844c2384604fd307ea2965477edfb3e83e42740c3cfa4f008325ea95ba406e673156c
7
+ data.tar.gz: fdb78f8e7df61cb16e8259a502b6168efaa525227712b25c52e9d63c59b24aef1925d699a84a3f05ec5f31259842d0f138084126cc14a2f325318cb5864fcc25
@@ -24,7 +24,7 @@ module Glib
24
24
  }
25
25
 
26
26
  /* Make sure the hover highlight effect also has rounded corners */
27
- .rounded-corner:hover:after {
27
+ .rounded-corner:hover:before {
28
28
  border-radius: 16px;
29
29
  }
30
30
  </style>
@@ -29,6 +29,7 @@ class Glib::JsonUi::ActionBuilder
29
29
  bool :showClose
30
30
  string :fullscreen # mobile, always
31
31
  length :width
32
+ bool :closeOnBlur
32
33
 
33
34
  # def initialize(json, page)
34
35
  # @json = json
@@ -2,6 +2,7 @@ class Glib::JsonUi::ActionBuilder
2
2
  module Http
3
3
  class AbstractHttp < Action
4
4
  string :url, cache: true
5
+ bool :silent
5
6
 
6
7
  def formData(hash)
7
8
  form_data = {}
File without changes
@@ -3,6 +3,7 @@ class Glib::JsonUi::ViewBuilder
3
3
 
4
4
  class AbstractField < View
5
5
  bool :readOnly
6
+ bool :disabled
6
7
  hash :validation
7
8
  bool :disableDirtyCheck
8
9
  action :onChange
@@ -119,13 +119,17 @@ json_ui_page json do |page|
119
119
 
120
120
  scroll.spacer height: 20
121
121
  scroll.h1 text: 'Label combo (with onClick)'
122
- scroll.panels_horizontal childViews: ->(panel) do
123
- panel.label backgroundColor: '#b3bac2', text: 'Label 1'
124
- panel.label text: 'Label 2'
125
- panel.label backgroundColor: '#b3bac2', text: 'Label 3'
126
- end, onClick: ->(action) do
127
- action.windows_open url: json_ui_garage_url(path: 'home/blank')
128
- end
122
+ scroll.panels_horizontal \
123
+ padding: { left: 20, right: 20, top: 10, bottom: 10 },
124
+ styleClasses: ['rounded-corner'],
125
+ backgroundColor: '#b3bac2',
126
+ childViews: ->(panel) do
127
+ panel.label text: 'Label 1'
128
+ panel.label backgroundColor: '#ffffff', text: 'Label 2'
129
+ panel.label text: 'Label 3'
130
+ end, onClick: ->(action) do
131
+ action.windows_open url: json_ui_garage_url(path: 'home/blank')
132
+ end
129
133
 
130
134
  scroll.spacer height: 20
131
135
  scroll.h1 text: 'Drag-and-drop support'
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: 2.6.1
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''