playbook_ui 8.2.1.pre.alpha3 → 8.2.1.pre.alpha4

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: 30573f9f9ccd3ee419efd4270fea9fb7a6246039e03a876a334649ab9f949300
4
- data.tar.gz: 3a8a59438669a37adeec50666af7943b89e972a3d5d35da94f260ed09e261a50
3
+ metadata.gz: 314e6230c5179ecceaeb56ca63191603784c7af71c836268e97e9ab7069b68b4
4
+ data.tar.gz: 341436409bbcaab017560735de6746411f1e81a78f32931ad2cb3688b6d7bf27
5
5
  SHA512:
6
- metadata.gz: 97e8cbed019e5cd16b0964e3db90bdaba0d06a39d10067b98f9db044f7fd7711d25c6713b87dac7b43f80620548ec6ec36fda72e146b01d7f4bf91bbd084b905
7
- data.tar.gz: 64e21047fb78875448cbdaeb2fa6d0a782bfa58327eb2d3028679c07b16bd20a6b8d3644adb16388332e6b5f398c7667fa585488934577e5e2e3a432988fa4d8
6
+ metadata.gz: 546260d3d96158a93ea855723b52a20675165b784bbe02937249bd91afd18ad342c745b2893173b8653d6902e50c70d4234854838ee26c50fdad67413d2dba80
7
+ data.tar.gz: 83946aff7454d94f5eca74409560e844628cbec5eb6ceba521d2f61e14203a4131c02bfecd89a4e229c51f62a36f4ba5e29d96079329f153922b712a6b35817c
@@ -11,9 +11,9 @@ const Input = (props: any) => {
11
11
  if (plusIcon) {
12
12
  useEffect(() => {
13
13
  const plusIcon = inputWrapper.current.querySelector('.typeahead-plus-icon')
14
- const values = props.selectProps.value
15
- if (!values || values.length == 0){
16
- const offset = inputWrapper.current.parentElement.querySelector('.placeholder').clientWidth
14
+ const placeholder = inputWrapper.current.parentElement.querySelector('.placeholder')
15
+ if (placeholder){
16
+ const offset = placeholder.clientWidth
17
17
  plusIcon.style.marginLeft = `${offset + 2}px`
18
18
  } else {
19
19
  plusIcon.style.marginLeft = '0px'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- VERSION = "8.2.1.pre.alpha3"
4
+ VERSION = "8.2.1.pre.alpha4"
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.1.pre.alpha3
4
+ version: 8.2.1.pre.alpha4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX