glimmer-dsl-web 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/README.md +610 -175
- data/VERSION +1 -1
- data/glimmer-dsl-web.gemspec +10 -5
- data/lib/glimmer/dsl/web/component_expression.rb +30 -0
- data/lib/glimmer/dsl/web/dsl.rb +2 -0
- data/lib/glimmer/helpers/glimmer_helper.rb +32 -0
- data/lib/glimmer/web/component.rb +319 -0
- data/lib/glimmer/web/element_proxy.rb +13 -4
- data/lib/glimmer-dsl-web/samples/hello/hello_component.rb +223 -0
- data/lib/glimmer-dsl-web/samples/hello/hello_content_data_binding.rb +46 -42
- data/lib/glimmer-dsl-web/samples/hello/hello_glimmer_component_helper/address_form.rb +156 -0
- data/lib/glimmer-dsl-web.rb +1 -0
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 522174dca9cfe36d506a80f5eefeaf5e5a01cc16689eaabae580129098340d6c
|
4
|
+
data.tar.gz: 0266eed24ef90137c981fbc90507111f2d6eadc4a1d88cb521992de133b79033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07f70e33e39db9019d2e1d9d50bcb1fd132bd27f604697c2e3854415cf95577d76d5c3150acedffa92310bbfc1fbf8efbdad4e2eef85a8b32cd6a14d3926e0f6
|
7
|
+
data.tar.gz: f291ae73bc1a6c2af90dfa821e9c71419690c218da3d921bb5fb7eff2fc17f5a30e790700db18b7dd77aef00ebe11783c57c3caf7d34fe9a0c68e9583fee6ec5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.10
|
4
|
+
|
5
|
+
- Glimmer Component Rails Helper (add `include GlimmerHelper` to `ApplicationHelper` or another Rails helper) and use `<%= glimmer_component("path/to/component", *args) %>` in Views
|
6
|
+
- Support passing args to Components via `ComponentClassName.render(*args)`
|
7
|
+
- Update `element#render` API to require `:parent` kwarg to pass parent selector (no longer accepting parent selector directly as first arg)
|
8
|
+
- Upgrade to opal 1.8.2 (latest version)
|
9
|
+
- Upgrade to opal-rails 2.0.3 (latest version)
|
10
|
+
- Change setup instructions to avoid relying on `app/assets/javascript/application.js.rb`, yet instead rename to `app/assets/opal/application.rb` and rely on `app/assets/opal` for Opal frontend files.
|
11
|
+
|
12
|
+
## 0.0.9
|
13
|
+
|
14
|
+
- Component support (View component classes simply `include Glimmer::Web::Component`)
|
15
|
+
- Improve README.md setup instructions, documenting how to enable Browser Opal Debugging in Ruby using Opal Source Maps
|
16
|
+
- Allow passing element `:parent` selector through `render` method as first argument (`render(selector)`) for a potentially more readable second way of doing the same thing
|
17
|
+
- Fix Hello, Content Data-Binding! as it forgot to include Glimmer to top-level main object and forgot to wait for Document.ready?
|
18
|
+
- New Hello, Component! Sample: `require 'glimmer-dsl-web/samples/hello/hello_component'`
|
19
|
+
|
3
20
|
## 0.0.8
|
4
21
|
|
5
22
|
- Validate that element keywords belong to the valid list of HTML element tag names to prevent rendering fake elements the keyword does not match a real HTML element tag
|