isomorfeus-react 16.9.19 → 16.9.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lucid_app/api.rb +3 -2
- data/lib/lucid_material/app/native_component_constructor.rb +1 -1
- data/lib/react/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9ff2eded91f1360e4cb9c8a8f0afcc4882ed0ac27fea66f559f5cee7941c91d
|
4
|
+
data.tar.gz: 622dc8f28a61ab768d6eba41ca206a1a11c22c7dc28e2139493ada770d60eee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce3287ab6ae91559034338595ee73567376574957d99a09e20e68c6abd20f960f3ea93a5b7ac5755158bf791812fe571d55a98a5b642ba83250fa072014cf831
|
7
|
+
data.tar.gz: 354752f0599ea96e5e0206ca79aff4997a7f43001e0c5753e2c64b94ecd411925c3f7b20bdd85742e4f255c445d629477c37a917ad01fdfb209cb5f005844561
|
data/lib/lucid_app/api.rb
CHANGED
@@ -5,8 +5,9 @@ module LucidApp
|
|
5
5
|
def theme(theme_hash = nil, &block)
|
6
6
|
if block_given?
|
7
7
|
%x{
|
8
|
-
let result = block.$call();
|
9
|
-
base.jss_theme = result.$to_n();
|
8
|
+
let result = block.$call(Opal.Hash.$new(base.jss_theme));
|
9
|
+
if (typeof result.$to_n === 'function') { base.jss_theme = result.$to_n(); }
|
10
|
+
else { base.jss_theme = result; }
|
10
11
|
return result;
|
11
12
|
}
|
12
13
|
elsif theme_hash
|
@@ -79,7 +79,7 @@ module LucidMaterial
|
|
79
79
|
}
|
80
80
|
base.jss_styles = null;
|
81
81
|
base.jss_styles_used = null;
|
82
|
-
base.jss_theme =
|
82
|
+
base.jss_theme = Opal.global.Mui.createMuiTheme();
|
83
83
|
base.use_styles = null;
|
84
84
|
base.themed_react_component = function(props) {
|
85
85
|
let classes = null;
|
data/lib/react/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-react
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 16.9.
|
4
|
+
version: 16.9.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|