playbook_ui_docs 16.3.0.pre.alpha.PLAY2791closeonclick14694 → 16.3.0.pre.alpha.PLAY2806emailcampaignmlsfix14701
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a2f8c039462d28992cd2c49e89c082ae1f09510d7f0a4d55430c5441fb9ce1a
|
|
4
|
+
data.tar.gz: 73e2d815a263a427fa4b8fea58820f0e8c2e346e3ff7a98acb8e13b98ce0fdb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2e77be51ae33ff4c741177c80a54e2cc34a78bc0dcd0c87fbc94400638a14e6d3d301b37f534e08ddf2e707cfa9ae21d27caa3eb8e4db2dcdf90b63d65c8f47
|
|
7
|
+
data.tar.gz: b5c927a69edf75bccb180ca57f8e5012c0a26dd5c4f76a6ac8e556451eaa5ca9c28c5370f337c62b64ccb9499db542c518a491d9af2986de0f03e6bb18c16e2e
|
|
@@ -25,7 +25,6 @@ examples:
|
|
|
25
25
|
- dropdown_separators_hidden: Separators Hidden
|
|
26
26
|
- dropdown_with_clearable: Clearable
|
|
27
27
|
- dropdown_with_constrain_height_rails: Constrain Height
|
|
28
|
-
- dropdown_closing_options_rails: Closing Options
|
|
29
28
|
- dropdown_quickpick_rails: Quick Pick Variant
|
|
30
29
|
- dropdown_quickpick_range_end_rails: Quick Pick Variant (Range Ends Today)
|
|
31
30
|
- dropdown_quickpick_default_dates: Quick Pick Variant (Default Dates)
|
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: 16.3.0.pre.alpha.
|
|
4
|
+
version: 16.3.0.pre.alpha.PLAY2806emailcampaignmlsfix14701
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Power UX
|
|
@@ -859,8 +859,6 @@ files:
|
|
|
859
859
|
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.md
|
|
860
860
|
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_closing_options.jsx
|
|
861
861
|
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_closing_options.md
|
|
862
|
-
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_closing_options_rails.html.erb
|
|
863
|
-
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_closing_options_rails.md
|
|
864
862
|
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.jsx
|
|
865
863
|
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md
|
|
866
864
|
- app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_rails.html.erb
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<%
|
|
2
|
-
options = [
|
|
3
|
-
{ label: "United States", value: "unitedStates", id: "us" },
|
|
4
|
-
{ label: "Canada", value: "canada", id: "ca" },
|
|
5
|
-
{ label: "Pakistan", value: "pakistan", id: "pk" },
|
|
6
|
-
]
|
|
7
|
-
%>
|
|
8
|
-
|
|
9
|
-
<%= pb_rails("caption", props: { margin_bottom: "xs", text: "Any" }) %>
|
|
10
|
-
<%= pb_rails("dropdown", props: { options: options, close_on_click: "any", margin_bottom: "md" }) %>
|
|
11
|
-
|
|
12
|
-
<%= pb_rails("caption", props: { margin_bottom: "xs", text: "Outside" }) %>
|
|
13
|
-
<%= pb_rails("dropdown", props: { options: options, close_on_click: "outside", margin_bottom: "md" }) %>
|
|
14
|
-
|
|
15
|
-
<%= pb_rails("caption", props: { margin_bottom: "xs", text: "Inside" }) %>
|
|
16
|
-
<%= pb_rails("dropdown", props: { options: options, close_on_click: "inside" }) %>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The `close_on_click` prop allows you to control when the Dropdown closes in response to click interactions. The value `any` reflects the default behavior, where the dropdown will close after any click. Set it to `outside` to ensure interactive elements as dropdown options are able to be interacted with or modified. Set it to `inside` for a dropdown that only closes when the input or dropdown menu is clicked.
|