glimmer-web-components 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/glimmer-web-components.gemspec +2 -2
- data/lib/glimmer/web/component/multi_checkbox_dropdown.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc4968e9a9543a0a75e4b61cd861d8e100fef51f96612b9c9c34004c5e19777c
|
|
4
|
+
data.tar.gz: f0d6e7b4be94bde719ba261c21a7aceb011b236bcb830b8ce6b5b5bf1d31c1a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf7b3a91ca5b957a31f145f22a7b815e0b4f179390780a8b2051a88d30c38338475700eac7b485407b873fdbfb5f7733087ec08a4dd45a798b57bcd7364a3a9e
|
|
7
|
+
data.tar.gz: f985d91a5e276b7731b276d6695b16c36ac592a812021bf02d42dbae8029dfc9475ae86006f62d394d4b9346f4bcf890894837593fcdb7ae31fd94e5e03358ec
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ This is a collection of reusable Glimmer Web Components for Glimmer DSL for Web,
|
|
|
9
9
|
|
|
10
10
|
Add to bundler `Gemfile` in your Rails web app:
|
|
11
11
|
```ruby
|
|
12
|
-
gem 'glimmer-web-components', '0.1.
|
|
12
|
+
gem 'glimmer-web-components', '0.1.2'
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Also, add to `config/initializers/assets.rb`:
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: glimmer-web-components 0.1.
|
|
5
|
+
# stub: glimmer-web-components 0.1.2 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "glimmer-web-components".freeze
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.2"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
@@ -49,7 +49,7 @@ module Glimmer
|
|
|
49
49
|
option :selected_values_formatter, default: SELECTED_VALUES_FORMATTER_DEFAULT
|
|
50
50
|
option :width, default: 175
|
|
51
51
|
option :height, default: 40
|
|
52
|
-
option :margin, default:
|
|
52
|
+
option :margin, default: 0
|
|
53
53
|
option :text_align, default: :center
|
|
54
54
|
option :content_z_index, default: '1000'
|
|
55
55
|
option :content_label_padding_px, default: 10
|
|
@@ -149,7 +149,7 @@ module Glimmer
|
|
|
149
149
|
end
|
|
150
150
|
|
|
151
151
|
def multi_checkbox_content
|
|
152
|
-
@multi_checkbox_content = div(style: {position: :absolute, z_index: content_z_index, width:, background: content_background, box_shadow: '0 6px 12px rgba(0, 0, 0, 0.175)'}) {
|
|
152
|
+
@multi_checkbox_content = div(style: {position: :absolute, top: height, left: 0, z_index: content_z_index, width:, background: content_background, box_shadow: '0 6px 12px rgba(0, 0, 0, 0.175)'}) {
|
|
153
153
|
class_name(CSS_CLASS_CONTENT_HIDDEN) <= [self, :display_content, on_read: :!]
|
|
154
154
|
|
|
155
155
|
content(self, :selected_values) { # re-renders automatically upon change to self.selected_values
|