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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fb042019a711bb52bd9f0bc6accd9723e6b78aadc551d75e631b2634f3db86a
4
- data.tar.gz: b34302b1f97ddb2cf5f20f182344340509425f60869922d32701f3463a93b4f8
3
+ metadata.gz: cc4968e9a9543a0a75e4b61cd861d8e100fef51f96612b9c9c34004c5e19777c
4
+ data.tar.gz: f0d6e7b4be94bde719ba261c21a7aceb011b236bcb830b8ce6b5b5bf1d31c1a9
5
5
  SHA512:
6
- metadata.gz: 9fca2b9f4dd964cc24cfccfc5860a5871a0fb7f450f9579cc31d918479095f4fd1e907e9a2c799b6d54bd84ab1e255a380cb7162d33aa38730f01764f66d6a50
7
- data.tar.gz: bff2eb7aba131e1edf30c7030179437e2c6a1b39a43d05e760dc53919efc0f3e8461dd4253b621fdbcd9c11a7ce1536509cca445bc5fb788317405e56113abf6
6
+ metadata.gz: bf7b3a91ca5b957a31f145f22a7b815e0b4f179390780a8b2051a88d30c38338475700eac7b485407b873fdbfb5f7733087ec08a4dd45a798b57bcd7364a3a9e
7
+ data.tar.gz: f985d91a5e276b7731b276d6695b16c36ac592a812021bf02d42dbae8029dfc9475ae86006f62d394d4b9346f4bcf890894837593fcdb7ae31fd94e5e03358ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.1.2
4
+
5
+ - Fixed content positioning when switching component div to `display: inline;` by setting top/left CSS values
6
+
3
7
  ## 0.1.1
4
8
 
5
9
  - Fixed li CSS style by adding `clear: both;`
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.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
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.1 ruby lib
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.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: '0 15px 0 0'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-web-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh