playbook_ui_docs 12.29.0.pre.alpha.play716popoverkitcloseonclickissue893 → 12.30.0.pre.alpha.PLAY906multilevelselectedidsprop902
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_icon_circle/docs/_icon_circle_color.html.erb +13 -7
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.html.erb +16 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.jsx +31 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.md +1 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.html.erb +5 -5
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.jsx +6 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +3 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.md +3 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_data_table.html.erb +0 -14
- data/app/pb_kits/playbook/pb_table/docs/_table_data_table.md +1 -0
- data/dist/playbook-doc.js +8 -8
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49f8528cad25cd05f84832e0f25109c8b883ebd39f8c6f13aa280edf970d35a1
|
4
|
+
data.tar.gz: a4d864044835a928ae62f6eb273e6badd6bdb0fad224411fee47e640710fb8e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dd8e13f209aa88239bcd8346cebb5283f5059f3af871b422d7945a3ce192166cb30f0ccd9a2be1d8e7dbc8ca947f5134f77daae95b9ee95f0259f3a3d40d965
|
7
|
+
data.tar.gz: 060abc1612777aa6f33655c1b1e4e97904b88951a33867e9581e22ecef7e55148c3f2d1e1e36f3da27cdfe458a655f24397c3e38b75058d26931cc7802128f4d
|
@@ -1,35 +1,41 @@
|
|
1
1
|
<%= pb_rails("icon_circle", props: {
|
2
|
-
icon: "
|
2
|
+
icon: "rocket",
|
3
3
|
variant: "royal",
|
4
4
|
size: "sm"
|
5
5
|
}) %>
|
6
|
+
<br />
|
6
7
|
<%= pb_rails("icon_circle", props: {
|
7
|
-
icon: "
|
8
|
+
icon: "rocket",
|
8
9
|
variant: "orange",
|
9
10
|
size: "sm"
|
10
11
|
}) %>
|
12
|
+
<br />
|
11
13
|
<%= pb_rails("icon_circle", props: {
|
12
|
-
icon: "
|
14
|
+
icon: "rocket",
|
13
15
|
variant: "purple",
|
14
16
|
size: "sm"
|
15
17
|
}) %>
|
18
|
+
<br />
|
16
19
|
<%= pb_rails("icon_circle", props: {
|
17
|
-
icon: "
|
20
|
+
icon: "rocket",
|
18
21
|
variant: "teal",
|
19
22
|
size: "sm"
|
20
23
|
}) %>
|
24
|
+
<br />
|
21
25
|
<%= pb_rails("icon_circle", props: {
|
22
|
-
icon: "
|
26
|
+
icon: "rocket",
|
23
27
|
variant: "red",
|
24
28
|
size: "sm"
|
25
29
|
}) %>
|
30
|
+
<br />
|
26
31
|
<%= pb_rails("icon_circle", props: {
|
27
|
-
icon: "
|
32
|
+
icon: "rocket",
|
28
33
|
variant: "yellow",
|
29
34
|
size: "sm"
|
30
35
|
}) %>
|
36
|
+
<br />
|
31
37
|
<%= pb_rails("icon_circle", props: {
|
32
|
-
icon: "
|
38
|
+
icon: "rocket",
|
33
39
|
variant: "green",
|
34
40
|
size: "sm"
|
35
41
|
}) %>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<%= pb_rails("icon_circle", props: {
|
2
|
+
icon: "😁",
|
3
|
+
size:"sm"
|
4
|
+
}) %>
|
5
|
+
<br />
|
6
|
+
<%= pb_rails("icon_circle", props: {
|
7
|
+
icon: "😍",
|
8
|
+
size:"md",
|
9
|
+
variant: "red"
|
10
|
+
}) %>
|
11
|
+
<br />
|
12
|
+
<%= pb_rails("icon_circle", props: {
|
13
|
+
icon: '🎉',
|
14
|
+
size: "lg",
|
15
|
+
variant: "teal"
|
16
|
+
}) %>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
|
3
|
+
import IconCircle from '../_icon_circle'
|
4
|
+
|
5
|
+
const IconCircleEmoji = (props) => {
|
6
|
+
return (
|
7
|
+
<div>
|
8
|
+
<IconCircle
|
9
|
+
icon="😁"
|
10
|
+
size="sm"
|
11
|
+
{...props}
|
12
|
+
/>
|
13
|
+
<br/>
|
14
|
+
<IconCircle
|
15
|
+
icon="😍"
|
16
|
+
size="md"
|
17
|
+
variant="red"
|
18
|
+
{...props}
|
19
|
+
/>
|
20
|
+
<br/>
|
21
|
+
<IconCircle
|
22
|
+
icon="🎉"
|
23
|
+
size="lg"
|
24
|
+
variant="teal"
|
25
|
+
{...props}
|
26
|
+
/>
|
27
|
+
</div>
|
28
|
+
)
|
29
|
+
}
|
30
|
+
|
31
|
+
export default IconCircleEmoji
|
@@ -0,0 +1 @@
|
|
1
|
+
The Icon Circle also allows you to pass in an HTML emoji in place of an icon if needed. To do so, pass any emoji or its hexa/decimal ref (see [here](https://www.w3schools.com/charsets/ref_emoji.asp)) as a string to the `icon` prop as shown in the code snippet below.
|
@@ -1,24 +1,24 @@
|
|
1
1
|
<%= pb_rails("icon_circle", props: {
|
2
|
-
icon: "
|
2
|
+
icon: "rocket",
|
3
3
|
size: "xs"
|
4
4
|
}) %>
|
5
5
|
<br />
|
6
6
|
<%= pb_rails("icon_circle", props: {
|
7
|
-
icon: "
|
7
|
+
icon: "rocket",
|
8
8
|
size: "sm"
|
9
9
|
}) %>
|
10
10
|
<br />
|
11
11
|
<%= pb_rails("icon_circle", props: {
|
12
|
-
icon: "
|
12
|
+
icon: "rocket",
|
13
13
|
size: "md"
|
14
14
|
}) %>
|
15
15
|
<br />
|
16
16
|
<%= pb_rails("icon_circle", props: {
|
17
|
-
icon: "
|
17
|
+
icon: "rocket",
|
18
18
|
size: "lg"
|
19
19
|
}) %>
|
20
20
|
<br />
|
21
21
|
<%= pb_rails("icon_circle", props: {
|
22
|
-
icon: "
|
22
|
+
icon: "rocket",
|
23
23
|
size: "xl"
|
24
24
|
}) %>
|
@@ -4,8 +4,11 @@ examples:
|
|
4
4
|
- icon_circle_default: Default
|
5
5
|
- icon_circle_sizes: Size
|
6
6
|
- icon_circle_color: Color
|
7
|
+
- icon_circle_emoji: With Emoji
|
8
|
+
|
7
9
|
|
8
10
|
react:
|
9
11
|
- icon_circle_default: Default
|
10
12
|
- icon_circle_sizes: Size
|
11
13
|
- icon_circle_color: Color
|
14
|
+
- icon_circle_emoji: With Emoji
|
@@ -1,3 +1,4 @@
|
|
1
1
|
export { default as IconCircleColor } from './_icon_circle_color.jsx'
|
2
2
|
export { default as IconCircleDefault } from './_icon_circle_default.jsx'
|
3
3
|
export { default as IconCircleSizes } from './_icon_circle_sizes.jsx'
|
4
|
+
export { default as IconCircleEmoji } from './_icon_circle_emoji.jsx'
|
data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
1
|
The `returnAllSelected` or `return_all_selected` prop can be used when users want data on all checked nodes from the dropdown, irrespective of whether it is a parent or child node.
|
2
2
|
|
3
|
-
__NOTE__
|
3
|
+
__NOTE__: This variant also does not automatically uncheck the parent when any of the child nodes are unchecked. `returnAllSelected` is set to false by default.
|
4
|
+
|
5
|
+
__NOTE__: For larger trees that may return many pill selections, you can optionally set `input_display: "none"`(for Rails) or `inputDisplay = "none"`(for React) to hide all pills within the input.
|
@@ -30,19 +30,5 @@
|
|
30
30
|
<td>Value 4</td>
|
31
31
|
<td>Value 5</td>
|
32
32
|
</tr>
|
33
|
-
<tr>
|
34
|
-
<td>Value 1</td>
|
35
|
-
<td>Value 2</td>
|
36
|
-
<td>Value 3</td>
|
37
|
-
<td>Value 4</td>
|
38
|
-
<td>Value 5</td>
|
39
|
-
</tr>
|
40
|
-
<tr>
|
41
|
-
<td>Value 1</td>
|
42
|
-
<td>Value 2</td>
|
43
|
-
<td>Value 3</td>
|
44
|
-
<td>Value 4</td>
|
45
|
-
<td>Value 5</td>
|
46
|
-
</tr>
|
47
33
|
</tbody>
|
48
34
|
<% end %>
|
@@ -0,0 +1 @@
|
|
1
|
+
Tighter spacing in first- and last-child cells of each row for data-heavy tables.
|