playbook_ui 14.4.0.pre.rc.3 → 14.4.0.pre.rc.5

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: 8e420bbc5a53b97f0ee0a59c848dcbf0c19686065199c4732c98f907c0cafc93
4
- data.tar.gz: 12a87672f1a7f7544a5eee2831c5700e553713b22ac7d1d2eefe905cd45f243a
3
+ metadata.gz: c1ed162eab5c1c12c5b8eaec6c590b2136912dedc65c70cb95107b789d50eee5
4
+ data.tar.gz: 20e9531310c60e62e1d2884950a5ae71fdb867877f2b43c65ab0a4c64a9cf8ad
5
5
  SHA512:
6
- metadata.gz: 70a767db5a9f74e56189abc3913701662f967a0bc1296faadd7aed22074f5d81143430afc4a91e52e4284f7916a91b1c268b4db38714b20c93670c64283f0be0
7
- data.tar.gz: 6e51aa62bb606b29729ac1ad8c6fb08bc21e42053e0d4e9961485ee7ee035623eeea16093adc905b503722349d469c8f4c81fec826d207105dbf525cf43cb757
6
+ metadata.gz: 0f05d0341002d08d5ad90f2f418ef6be5eb2cb22df5b6211342c2783648efefb2cdfea5097c1fa1eb9f6d38c11089e482cecda6786ebb24664eb5b8fc569cf79
7
+ data.tar.gz: 75b069eaa6c387b65962469af436c83e7107d92c3045bf1b7e9d83c9270edac48f8ad98aab8cebdb0fc773a311ac3b464ebc4d751be219b7cc93efec498285e4
@@ -6,6 +6,10 @@ export const showElement = (elem: HTMLElement) => {
6
6
  elem.style.overflow = "hidden"
7
7
  // Once the transition is complete, remove the inline max-height so the content can scale responsively
8
8
  window.setTimeout(() => {
9
+ // If a user toggles multiple times quickly in a row, 'is-visible' can be removed by hideElement's timeout
10
+ if (!elem.classList.contains('is-visible')) {
11
+ elem.classList.add('is-visible')
12
+ }
9
13
  elem.style.height = '';
10
14
  elem.style.overflow = "visible"
11
15
  }, 300);
@@ -92,7 +92,6 @@ const Textarea = ({
92
92
  <Caption text={label} />
93
93
  {children || (
94
94
  <textarea
95
- className="pb_textarea_kit"
96
95
  disabled={disabled}
97
96
  name={name}
98
97
  onChange={onChange}
@@ -15,7 +15,6 @@
15
15
  <%= text_area(
16
16
  :object,
17
17
  :method,
18
- :class => "#{object.classname}",
19
18
  :max_characters => object.max_characters,
20
19
  :name => object.name,
21
20
  :onkeyup => object.onkeyup,