playbook_ui 14.25.0.pre.alpha.testingcss10064 → 14.25.0.pre.alpha.testingcss10239
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_date_picker/sass_partials/_time_selection_styles.scss +2 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.html.erb +1 -22
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_color.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_without_pills.html.erb +2 -2
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c56d482bc374ac4f4c557dc4c38a5566256e97c5c42e888e44b9d4a4eece739f
|
4
|
+
data.tar.gz: cbb0c351a9df1754580fb350b28825ca262a2593540568199dcbf6ff71647f81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 360fdcd96e91166da90fb76c1dcb5b270344cd04cdb53d15532eb553e472bd8cb845d32d8656a22edd3b1c791800ee26d64a8085351a030f8f911e3cd9be9854
|
7
|
+
data.tar.gz: b7456754e270e0092c9ba439e87417efe03448981e34bea2ac54bcaec189b1cac065621d2d76df2a8af021da5cfc1afe5c77413ec40b1953add06e710d8817c8
|
@@ -7,7 +7,7 @@
|
|
7
7
|
]
|
8
8
|
%>
|
9
9
|
|
10
|
-
<%= pb_rails("typeahead", props: { id: "typeahead-pills-example1", default_options: [options.first], options: options, label: "
|
10
|
+
<%= pb_rails("typeahead", props: { id: "typeahead-pills-example1", default_options: [options.first], options: options, label: "Products", name: :foo, pills: true }) %>
|
11
11
|
|
12
12
|
<%= pb_rails("button", props: {id: "clear-pills", text: "Clear All Options", variant: "secondary"}) %>
|
13
13
|
|
@@ -7,25 +7,4 @@
|
|
7
7
|
]
|
8
8
|
%>
|
9
9
|
|
10
|
-
<%= pb_rails("typeahead", props: { id: "typeahead-pills-
|
11
|
-
|
12
|
-
<%= pb_rails("button", props: {id: "clear-pills", text: "Clear All Options", variant: "secondary"}) %>
|
13
|
-
|
14
|
-
<!-- This section is an example of the available JavaScript event hooks -->
|
15
|
-
<%= javascript_tag defer: "defer" do %>
|
16
|
-
document.addEventListener("pb-typeahead-kit-typeahead-pills-example1-result-option-select", function(event) {
|
17
|
-
console.log('Option selected')
|
18
|
-
console.dir(event.detail)
|
19
|
-
})
|
20
|
-
document.addEventListener("pb-typeahead-kit-typeahead-pills-example1-result-option-remove", function(event) {
|
21
|
-
console.log('Option removed')
|
22
|
-
console.dir(event.detail)
|
23
|
-
})
|
24
|
-
document.addEventListener("pb-typeahead-kit-typeahead-pills-example1-result-clear", function() {
|
25
|
-
console.log('All options cleared')
|
26
|
-
})
|
27
|
-
|
28
|
-
document.querySelector('#clear-pills').addEventListener('click', function() {
|
29
|
-
document.dispatchEvent(new CustomEvent('pb-typeahead-kit-typeahead-pills-example1:clear'))
|
30
|
-
})
|
31
|
-
<% end %>
|
10
|
+
<%= pb_rails("typeahead", props: { id: "typeahead-pills-example2", pill_color: "neutral", options: options, label: "Products", name: :foo, pills: true }) %>
|