playbook_ui_docs 13.25.0.pre.alpha.barchartfix2766 β 13.25.0
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_currency/docs/example.yml +0 -5
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.jsx +5 -5
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +2 -4
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.jsx +5 -5
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.jsx +5 -5
- data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/index.js +0 -3
- data/dist/playbook-doc.js +9 -9
- metadata +5 -20
- data/app/pb_kits/playbook/pb_currency/docs/_currency_alignment_swift.md +0 -43
- data/app/pb_kits/playbook/pb_currency/docs/_currency_props_swift.md +0 -12
- data/app/pb_kits/playbook/pb_currency/docs/_currency_size_swift.md +0 -31
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_default_swift.md +0 -14
- data/app/pb_kits/playbook/pb_date_range_stacked/docs/_date_range_stacked_props_swift.md +0 -9
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md +0 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.jsx +0 -87
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.md +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.jsx +0 -102
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.md +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md +0 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.md +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.jsx +0 -51
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.md +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.md +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54249d47fb093face53275deaaf8384698f82baf614f1f78cc2205a08ebd3c53
|
|
4
|
+
data.tar.gz: 73040e7d8eac641cfdb2932c47ad87e398b7344ed6000ece7da5accfda2cedca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11fcc781cdc61c9d5dc75618b73f98845d695bc57206572474e93742e967b2b883d7a602902c4a779e447c5403188d8f532d8ebe2f882c7732410a302cf451b4
|
|
7
|
+
data.tar.gz: 8a1d3f2d28f43e071cd9e7171e2446161bb5c1e81252d018735d71221f61b64fdb2c9817c946997b9e2f667bb4ba9900daa5ceea8e35b2b18b190ead5af05262
|
|
@@ -14,11 +14,11 @@ const [selectedOption, setSelectedOption] = useState();
|
|
|
14
14
|
id: "United-states"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
label: "
|
|
18
|
-
value: "
|
|
19
|
-
areaCode: "+
|
|
20
|
-
icon: "
|
|
21
|
-
id: "
|
|
17
|
+
label: "Ukraine",
|
|
18
|
+
value: "Ukraine",
|
|
19
|
+
areaCode: "+380",
|
|
20
|
+
icon: "πΊπ¦",
|
|
21
|
+
id: "ukraine"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
label: "Pakistan",
|
|
@@ -39,7 +39,7 @@ const DropdownWithCustomDisplay = (props) => {
|
|
|
39
39
|
}
|
|
40
40
|
];
|
|
41
41
|
|
|
42
|
-
const
|
|
42
|
+
const customDisplay = () => {
|
|
43
43
|
return (
|
|
44
44
|
<>
|
|
45
45
|
{
|
|
@@ -62,9 +62,7 @@ const DropdownWithCustomDisplay = (props) => {
|
|
|
62
62
|
options={options}
|
|
63
63
|
{...props}
|
|
64
64
|
>
|
|
65
|
-
<Dropdown.Trigger customDisplay={
|
|
66
|
-
placeholder="Select a User"
|
|
67
|
-
/>
|
|
65
|
+
<Dropdown.Trigger customDisplay={customDisplay()}/>
|
|
68
66
|
{options.map((option) => (
|
|
69
67
|
<Dropdown.Option key={option.id}
|
|
70
68
|
option={option}
|
|
@@ -14,11 +14,11 @@ const DropdownWithCustomOptions = (props) => {
|
|
|
14
14
|
id: "United-states"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
label: "
|
|
18
|
-
value: "
|
|
19
|
-
areaCode: "+
|
|
20
|
-
icon: "
|
|
21
|
-
id: "
|
|
17
|
+
label: "Ukraine",
|
|
18
|
+
value: "Ukraine",
|
|
19
|
+
areaCode: "+380",
|
|
20
|
+
icon: "πΊπ¦",
|
|
21
|
+
id: "ukraine"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
label: "Pakistan",
|
|
@@ -14,11 +14,11 @@ const [selectedOption, setSelectedOption] = useState();
|
|
|
14
14
|
id: "United-states"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
label: "
|
|
18
|
-
value: "
|
|
19
|
-
areaCode: "+
|
|
20
|
-
icon: "
|
|
21
|
-
id: "
|
|
17
|
+
label: "Ukraine",
|
|
18
|
+
value: "Ukraine",
|
|
19
|
+
areaCode: "+380",
|
|
20
|
+
icon: "πΊπ¦",
|
|
21
|
+
id: "ukraine"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
label: "Pakistan",
|
|
@@ -6,7 +6,4 @@ examples:
|
|
|
6
6
|
- dropdown_with_custom_options: Custom Options
|
|
7
7
|
- dropdown_with_custom_display: Custom Display
|
|
8
8
|
- dropdown_with_custom_trigger: Custom Trigger
|
|
9
|
-
- dropdown_with_autocomplete: Autocomplete
|
|
10
|
-
- dropdown_with_autocomplete_and_custom_display: Autocomplete with Custom Display
|
|
11
|
-
- dropdown_with_custom_padding: Custom Padding for Dropdown Options
|
|
12
9
|
|
|
@@ -2,6 +2,3 @@ export { default as DropdownDefault } from './_dropdown_default.jsx'
|
|
|
2
2
|
export { default as DropdownWithCustomDisplay } from './_dropdown_with_custom_display.jsx'
|
|
3
3
|
export { default as DropdownWithCustomOptions } from './_dropdown_with_custom_options.jsx'
|
|
4
4
|
export { default as DropdownWithCustomTrigger } from './_dropdown_with_custom_trigger.jsx'
|
|
5
|
-
export { default as DropdownWithAutocomplete } from './_dropdown_with_autocomplete.jsx'
|
|
6
|
-
export { default as DropdownWithAutocompleteAndCustomDisplay } from './_dropdown_with_autocomplete_and_custom_display.jsx'
|
|
7
|
-
export { default as DropdownWithCustomPadding } from './_dropdown_with_custom_padding.jsx'
|