glib-web 3.0.5 → 3.1.0

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: d3f624adbe86289ed5fef01de2ab91d3aae2483757a0b0d1eebaf5e365a70759
4
- data.tar.gz: 2a0ed75e29dca8e1a4699a842ee40d05635025929ca1acc996082856a25c3dda
3
+ metadata.gz: 1db2e4081d9ad6f54c2626b75123ac3f027749b7459b18db376c8d7dc9223c04
4
+ data.tar.gz: 37a176aa91ed55346c5ec137cc6c80ade9c15c0d9a9b80f02b30749bd986626e
5
5
  SHA512:
6
- metadata.gz: 17ab8fcca93781dfd9ed0a0017d89cfd21dd6123d58f6bf1f9e901776159192bf8d85c50a91c6df3ca23bc9b7ab7ca1c20a52a6c8fd8485e17316527745e83c2
7
- data.tar.gz: 83fc2e67890bbe9cab32499faadbea302cd46990999eeb5622fba9920d549813ce1c710572e4786fe506584d9bcca5ee0040ec64d4eb429e486832ea4b114662
6
+ metadata.gz: d131210d0e18d05ae520c13aa7eeea57383fefd27828fb82a8acc567d670b5fbf0e02351426d4cb1dcb19b3e7ba0c8fa51f2e28fcd3978af4221e8a44f9d8166
7
+ data.tar.gz: a363d75ce45ed9f17e5bfd95f8bddc897064d032a03a0dfe973327411e513cf726088cd144308a70c7fcb3c3bd93c9a6f920131081534802b43c170ab035a96c
@@ -26,7 +26,8 @@ class Glib::JsonUi::ActionBuilder
26
26
 
27
27
  class Show < Action
28
28
  panels_builder :content, :body
29
- bool :showClose
29
+ bool :showClose # deprecated
30
+ bool :disableCloseButton
30
31
  string :fullscreen # mobile, always
31
32
  length :width
32
33
  bool :closeOnBlur
@@ -43,7 +44,8 @@ class Glib::JsonUi::ActionBuilder
43
44
 
44
45
  class Open < Action
45
46
  string :url, cache: true
46
- bool :showClose
47
+ bool :showClose # deprecated
48
+ bool :disableCloseButton
47
49
  string :fullscreen
48
50
  length :width
49
51
  length :height
@@ -53,7 +55,8 @@ class Glib::JsonUi::ActionBuilder
53
55
  class Reload < Action
54
56
  panels_builder :content, :body
55
57
  string :url, cache: true
56
- bool :showClose
58
+ bool :showClose # deprecated
59
+ bool :disableCloseButton
57
60
  string :fullscreen # mobile, always
58
61
  length :width
59
62
  end
@@ -195,6 +195,7 @@ module Glib
195
195
  color :color
196
196
  bool :disabled
197
197
 
198
+ # TODO: This should be deprecated in favour of `popovers/open`
198
199
  def childButtons(block)
199
200
  json.childButtons do
200
201
  block.call page.menu_builder
@@ -1,6 +1,8 @@
1
1
  name = params[:name]
2
2
  action.components_update targetId: 'greeting', views: ->(update) do
3
3
  update.panels_vertical childViews: ->(vertical) do
4
+ name = params[:name]
5
+ vertical.fields_hidden name: 'name', value: name
4
6
  vertical.label text: "Hello #{name},"
5
7
  vertical.spacer height: 8
6
8
  vertical.label text: 'Nice to meet you'
@@ -12,6 +12,7 @@ page.scroll childViews: ->(scroll) do
12
12
  scroll.label text: 'The updated content should be committed to the page history as the user navigates back and forward.'
13
13
  scroll.spacer height: 18
14
14
  scroll.panels_vertical id: 'greeting', childViews: ->(inner) do
15
+ inner.fields_hidden name: 'name', value: '<uninitialized>'
15
16
  inner.label text: 'Hello'
16
17
  end
17
18
  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.5
4
+ version: 3.1.0
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.6
321
+ rubygems_version: 3.1.4
322
322
  signing_key:
323
323
  specification_version: 4
324
324
  summary: ''