playbook_ui 4.3.0 → 4.3.1
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/config/_kit_ui.html.slim +13 -12
- 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: 2511d44a10345d1827a31ca450fbc31170726b201a87de90ec7ecf005826cbb7
|
4
|
+
data.tar.gz: d14f6540f660c158d3722f38614e1efc9489906034323584a34801c7a359c7db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b86ad405494ebbe3a19923a41b48af7227617416f41690602761b7a762096c77853f4ef9ebce3e2c72b9f40e802c1b90529025cb23632d27bc83176cad2e8d
|
7
|
+
data.tar.gz: d1e5c82bc28edcfcf1b6b738260f62e3a07480f76eab3229047188bcfaff67c5544da8ae5309dc4e084aa3fc14d7024a5b8631c8b1506ceb36502624025eec90
|
@@ -17,17 +17,18 @@
|
|
17
17
|
- if @samples
|
18
18
|
= render partial: "kit_samples_list"
|
19
19
|
|
20
|
-
- if
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
- if defined?(rouge)
|
21
|
+
- if @show_code
|
22
|
+
.pb--codeControls
|
23
|
+
ul
|
24
|
+
li
|
25
|
+
a href="#" data-toggle="code_example" Code Example
|
25
26
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
.pb--codeCopy data-action="toggle" data-togglable="code_example"
|
28
|
+
a.pb--close-toggle href="#" data-toggle="false" Close
|
29
|
+
pre.highlight
|
30
|
+
- if type == "rails"
|
31
|
+
= raw rouge(contents, "erb")
|
32
|
+
- elsif type == "react"
|
33
|
+
= raw rouge(contents, "react")
|
33
34
|
|
data/lib/playbook/version.rb
CHANGED