playbook_ui 7.3.0.pre.alpha9 → 7.3.0.pre.alpha10
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/_collapsible.jsx +5 -1
- data/lib/playbook/version.rb +1 -1
- 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: ffacb9bd2fec12c5de6322d01b9acd45f3b18818f68d0155eb224f964cec579a
|
4
|
+
data.tar.gz: 629da81bbd27bddd718eb38bc0824e4e2754edb85972942e982e8c79b815a984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4d4257240173e0c2e3ff7c4f810ef6f9cf90c45b1ed8ebe1d10af991c06e6e1f1cbcb8184933d5d6dbd74459e1ca0391e996d01d67e2e083aad61813e9f42dd
|
7
|
+
data.tar.gz: 2e78709ffe438edfdd8282f4111d918fa9a25835cee7af2d41fa87fd15ecf778e675f24b691d6585ccb1866c9df105031a44ca6886563a1edbacb470eaf749cd
|
@@ -40,6 +40,9 @@ const Main = (props: CollapsibleMainProps) => {
|
|
40
40
|
)
|
41
41
|
}
|
42
42
|
|
43
|
+
const MainType = (<Main />).type
|
44
|
+
|
45
|
+
|
43
46
|
const Content = (props: CollapsibleContentProps) => {
|
44
47
|
const { children, className, padding = "md" } = props
|
45
48
|
const contentCSS = buildCss("pb_collapsible_content_kit")
|
@@ -110,7 +113,7 @@ const Collapsible = (props: CollapsibleProps) => {
|
|
110
113
|
|
111
114
|
const renderContent = () => {
|
112
115
|
const nonMainChildren = collapsibleChildren.filter(
|
113
|
-
(child) =>
|
116
|
+
(child) => child.type !== MainType
|
114
117
|
)
|
115
118
|
console.log("NonMainChildren:", nonMainChildren)
|
116
119
|
return (
|
@@ -127,6 +130,7 @@ const Collapsible = (props: CollapsibleProps) => {
|
|
127
130
|
</div>
|
128
131
|
)
|
129
132
|
}
|
133
|
+
|
130
134
|
Collapsible.Main = Main
|
131
135
|
Collapsible.Content = Content
|
132
136
|
|
data/lib/playbook/version.rb
CHANGED