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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e789156f94ae954cd02fd69d7604306f6d645b40e1b9fb9c10b250fe663b658
4
- data.tar.gz: 7ed006f7b8b2dcf930ef8e457c664fa7de11ff0ad71d9bb897549f205e91d1a9
3
+ metadata.gz: 49f8528cad25cd05f84832e0f25109c8b883ebd39f8c6f13aa280edf970d35a1
4
+ data.tar.gz: a4d864044835a928ae62f6eb273e6badd6bdb0fad224411fee47e640710fb8e0
5
5
  SHA512:
6
- metadata.gz: 58e09483e4cac927a5cf69b8ea766e33b0883a202e9ab10f6a5f0af9f31a60ee83426d4eaeea17faacc87a2df048d4fa2ad6a5f6597870e867ec42683bf1380b
7
- data.tar.gz: 389de65e49bff2d7658209c15cb65b4f1de556bfa7b8994df4fa7112a216e9ae8f1b19184aa0daa57b0a9ec07bbc005fada4c962f9c2623fec55e6b3f5297133
6
+ metadata.gz: 7dd8e13f209aa88239bcd8346cebb5283f5059f3af871b422d7945a3ce192166cb30f0ccd9a2be1d8e7dbc8ca947f5134f77daae95b9ee95f0259f3a3d40d965
7
+ data.tar.gz: 060abc1612777aa6f33655c1b1e4e97904b88951a33867e9581e22ecef7e55148c3f2d1e1e36f3da27cdfe458a655f24397c3e38b75058d26931cc7802128f4d
@@ -1,35 +1,41 @@
1
1
  <%= pb_rails("icon_circle", props: {
2
- icon: "comment",
2
+ icon: "rocket",
3
3
  variant: "royal",
4
4
  size: "sm"
5
5
  }) %>
6
+ <br />
6
7
  <%= pb_rails("icon_circle", props: {
7
- icon: "archive",
8
+ icon: "rocket",
8
9
  variant: "orange",
9
10
  size: "sm"
10
11
  }) %>
12
+ <br />
11
13
  <%= pb_rails("icon_circle", props: {
12
- icon: "arrow-alt-right",
14
+ icon: "rocket",
13
15
  variant: "purple",
14
16
  size: "sm"
15
17
  }) %>
18
+ <br />
16
19
  <%= pb_rails("icon_circle", props: {
17
- icon: "cloud",
20
+ icon: "rocket",
18
21
  variant: "teal",
19
22
  size: "sm"
20
23
  }) %>
24
+ <br />
21
25
  <%= pb_rails("icon_circle", props: {
22
- icon: "award",
26
+ icon: "rocket",
23
27
  variant: "red",
24
28
  size: "sm"
25
29
  }) %>
30
+ <br />
26
31
  <%= pb_rails("icon_circle", props: {
27
- icon: "bolt",
32
+ icon: "rocket",
28
33
  variant: "yellow",
29
34
  size: "sm"
30
35
  }) %>
36
+ <br />
31
37
  <%= pb_rails("icon_circle", props: {
32
- icon: "calendar",
38
+ icon: "rocket",
33
39
  variant: "green",
34
40
  size: "sm"
35
41
  }) %>
@@ -1,3 +1,3 @@
1
1
  <%= pb_rails("icon_circle", props: {
2
- icon: "user"
2
+ icon: "rocket"
3
3
  }) %>
@@ -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: "&#128525;",
8
+ size:"md",
9
+ variant: "red"
10
+ }) %>
11
+ <br />
12
+ <%= pb_rails("icon_circle", props: {
13
+ icon: '&#x1F389;',
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="&#128525;"
16
+ size="md"
17
+ variant="red"
18
+ {...props}
19
+ />
20
+ <br/>
21
+ <IconCircle
22
+ icon="&#x1F389;"
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: "comment",
2
+ icon: "rocket",
3
3
  size: "xs"
4
4
  }) %>
5
5
  <br />
6
6
  <%= pb_rails("icon_circle", props: {
7
- icon: "comment",
7
+ icon: "rocket",
8
8
  size: "sm"
9
9
  }) %>
10
10
  <br />
11
11
  <%= pb_rails("icon_circle", props: {
12
- icon: "comment",
12
+ icon: "rocket",
13
13
  size: "md"
14
14
  }) %>
15
15
  <br />
16
16
  <%= pb_rails("icon_circle", props: {
17
- icon: "comment",
17
+ icon: "rocket",
18
18
  size: "lg"
19
19
  }) %>
20
20
  <br />
21
21
  <%= pb_rails("icon_circle", props: {
22
- icon: "comment",
22
+ icon: "rocket",
23
23
  size: "xl"
24
24
  }) %>
@@ -4,6 +4,12 @@ import { IconCircle } from '../..'
4
4
  const IconCircleSizes = (props) => {
5
5
  return (
6
6
  <div>
7
+ <IconCircle
8
+ icon="rocket"
9
+ size="xs"
10
+ {...props}
11
+ />
12
+ <br />
7
13
  <IconCircle
8
14
  icon="rocket"
9
15
  size="sm"
@@ -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'
@@ -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__ :This variant also does not automatically uncheck the parent when any of the child nodes are unchecked. `returnAllSelected` is set to false by default.
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.