playbook_ui_docs 14.22.0.pre.alpha.PLAY2207preservesearchinputrails8526 → 14.22.0.pre.alpha.PLAY2254datepickerdefaultdatenullvalueturbo8532
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_typeahead/docs/example.yml +0 -1
- data/dist/playbook-doc.js +1 -1
- metadata +2 -4
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.html.erb +0 -17
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input_rails.md +0 -1
- /data/app/pb_kits/playbook/pb_typeahead/docs/{_typeahead_preserve_input_react.md → _typeahead_preserve_input.md} +0 -0
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: 14.22.0.pre.alpha.
|
4
|
+
version: 14.22.0.pre.alpha.PLAY2254datepickerdefaultdatenullvalueturbo8532
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -2332,10 +2332,8 @@ files:
|
|
2332
2332
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
|
2333
2333
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
|
2334
2334
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
|
2335
|
-
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.html.erb
|
2336
2335
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.jsx
|
2337
|
-
- app/pb_kits/playbook/pb_typeahead/docs/
|
2338
|
-
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input_react.md
|
2336
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.md
|
2339
2337
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.jsx
|
2340
2338
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_react_hook.md
|
2341
2339
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.html.erb
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
options = [
|
3
|
-
{ label: 'Orange', value: '#FFA500' },
|
4
|
-
{ label: 'Red', value: '#FF0000' },
|
5
|
-
{ label: 'Green', value: '#00FF00' },
|
6
|
-
{ label: 'Blue', value: '#0000FF' },
|
7
|
-
]
|
8
|
-
%>
|
9
|
-
|
10
|
-
<%= pb_rails("typeahead", props: {
|
11
|
-
is_multi: false,
|
12
|
-
label: "Colors",
|
13
|
-
options: options,
|
14
|
-
placeholder: "Select...",
|
15
|
-
preserve_search_input: true,
|
16
|
-
})
|
17
|
-
%>
|
@@ -1 +0,0 @@
|
|
1
|
-
By default, text is not preserved in the typeahead kit when you click off of the input field. You can utilize the `preserve_search_input` prop in order to prevent text from being cleared when the field loses focus
|
File without changes
|