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 +4 -4
- data/app/pb_kits/playbook/pb_collapsible/_helper_functions.ts +4 -0
- data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +0 -1
- data/app/pb_kits/playbook/pb_textarea/textarea.html.erb +0 -1
- data/dist/chunks/{_typeahead-BWUFVlae.js → _typeahead-Z2PW068O.js} +1 -1
- data/dist/chunks/{_weekday_stacked-DpRkKl3_.js → _weekday_stacked-DJZAlcaA.js} +2 -2
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1ed162eab5c1c12c5b8eaec6c590b2136912dedc65c70cb95107b789d50eee5
|
4
|
+
data.tar.gz: 20e9531310c60e62e1d2884950a5ae71fdb867877f2b43c65ab0a4c64a9cf8ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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);
|