playbook_ui_docs 13.32.0.pre.alpha.PLAY1138iconkitaddcolorprop3268 → 13.32.0.pre.alpha.PLAY14103236
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_icon/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_icon/docs/index.js +0 -1
- data/dist/playbook-doc.js +3 -3
- metadata +2 -5
- data/app/pb_kits/playbook/pb_icon/docs/_icon_color.html.erb +0 -7
- data/app/pb_kits/playbook/pb_icon/docs/_icon_color.jsx +0 -46
- data/app/pb_kits/playbook/pb_icon/docs/_icon_color.md +0 -1
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.32.0.pre.alpha.
|
4
|
+
version: 13.32.0.pre.alpha.PLAY14103236
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-07-
|
12
|
+
date: 2024-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -884,9 +884,6 @@ files:
|
|
884
884
|
- app/pb_kits/playbook/pb_icon/docs/_icon_border.html.erb
|
885
885
|
- app/pb_kits/playbook/pb_icon/docs/_icon_border.jsx
|
886
886
|
- app/pb_kits/playbook/pb_icon/docs/_icon_border_swift.md
|
887
|
-
- app/pb_kits/playbook/pb_icon/docs/_icon_color.html.erb
|
888
|
-
- app/pb_kits/playbook/pb_icon/docs/_icon_color.jsx
|
889
|
-
- app/pb_kits/playbook/pb_icon/docs/_icon_color.md
|
890
887
|
- app/pb_kits/playbook/pb_icon/docs/_icon_custom.html.erb
|
891
888
|
- app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx
|
892
889
|
- app/pb_kits/playbook/pb_icon/docs/_icon_custom.md
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<%= pb_rails("flex", props: {orientation: "column"}) do %>
|
2
|
-
<%= pb_rails("icon", props: { icon: "user", fixed_width: true, color: "primary", size: "2x" }) %>
|
3
|
-
<%= pb_rails("icon", props: { icon: "recycle", fixed_width: true, color: "info", size: "2x" }) %>
|
4
|
-
<%= pb_rails("icon", props: { icon: "frog", fixed_width: true, color: "data_4", size: "2x" }) %>
|
5
|
-
<%= pb_rails("icon", props: { icon: "vial", fixed_width: true, color: "text_lt_lighter", size: "2x" }) %>
|
6
|
-
<%= pb_rails("icon", props: { icon: "roofing", fixed_width: true, color: "product_roofing", size: "2x" }) %>
|
7
|
-
<% end %>
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import Icon from "../_icon"
|
3
|
-
|
4
|
-
const IconDefault = (props) => {
|
5
|
-
return (
|
6
|
-
<div style={{ display: "flex", flexDirection: "column"}}>
|
7
|
-
<Icon
|
8
|
-
color="primary"
|
9
|
-
fixedWidth
|
10
|
-
icon="user"
|
11
|
-
size="2x"
|
12
|
-
{...props}
|
13
|
-
/>
|
14
|
-
<Icon
|
15
|
-
color="info"
|
16
|
-
fixedWidth
|
17
|
-
icon="recycle"
|
18
|
-
size="2x"
|
19
|
-
{...props}
|
20
|
-
/>
|
21
|
-
<Icon
|
22
|
-
color="data_4"
|
23
|
-
fixedWidth
|
24
|
-
icon="frog"
|
25
|
-
size="2x"
|
26
|
-
{...props}
|
27
|
-
/>
|
28
|
-
<Icon
|
29
|
-
color="text_lt_lighter"
|
30
|
-
fixedWidth
|
31
|
-
icon="vial"
|
32
|
-
size="2x"
|
33
|
-
{...props}
|
34
|
-
/>
|
35
|
-
<Icon
|
36
|
-
color="roofing"
|
37
|
-
fixedWidth
|
38
|
-
icon="product-roofing"
|
39
|
-
size="2x"
|
40
|
-
{...props}
|
41
|
-
/>
|
42
|
-
</div>
|
43
|
-
)
|
44
|
-
}
|
45
|
-
|
46
|
-
export default IconDefault
|
@@ -1 +0,0 @@
|
|
1
|
-
Pass any Playbook <a href="https://playbook.powerapp.cloud/visual_guidelines/colors" target="_blank">color token</a> to the `color` prop to change any icon's color.
|