playbook_ui 12.38.0.pre.alpha.PBNTR78selectkitmultipleprop1094 → 12.38.0.pre.alpha.PLAY932removemomentqp1088

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.
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.38.0"
5
- VERSION = "12.38.0.pre.alpha.PBNTR78selectkitmultipleprop1094"
5
+ VERSION = "12.38.0.pre.alpha.PLAY932removemomentqp1088"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.38.0.pre.alpha.PBNTR78selectkitmultipleprop1094
4
+ version: 12.38.0.pre.alpha.PLAY932removemomentqp1088
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -1851,8 +1851,6 @@ files:
1851
1851
  - app/pb_kits/playbook/pb_select/_select.tsx
1852
1852
  - app/pb_kits/playbook/pb_select/docs/_description.md
1853
1853
  - app/pb_kits/playbook/pb_select/docs/_footer.md
1854
- - app/pb_kits/playbook/pb_select/docs/_select_attributes.html.erb
1855
- - app/pb_kits/playbook/pb_select/docs/_select_attributes.md
1856
1854
  - app/pb_kits/playbook/pb_select/docs/_select_blank.html.erb
1857
1855
  - app/pb_kits/playbook/pb_select/docs/_select_blank.jsx
1858
1856
  - app/pb_kits/playbook/pb_select/docs/_select_custom_select.html.erb
@@ -1870,9 +1868,6 @@ files:
1870
1868
  - app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
1871
1869
  - app/pb_kits/playbook/pb_select/docs/_select_inline_compact.html.erb
1872
1870
  - app/pb_kits/playbook/pb_select/docs/_select_inline_compact.jsx
1873
- - app/pb_kits/playbook/pb_select/docs/_select_multiple.html.erb
1874
- - app/pb_kits/playbook/pb_select/docs/_select_multiple.jsx
1875
- - app/pb_kits/playbook/pb_select/docs/_select_multiple.md
1876
1871
  - app/pb_kits/playbook/pb_select/docs/_select_required.html.erb
1877
1872
  - app/pb_kits/playbook/pb_select/docs/_select_required.jsx
1878
1873
  - app/pb_kits/playbook/pb_select/docs/_select_value_text_same.html.erb
@@ -1,26 +0,0 @@
1
- <%= pb_rails("select", props: {
2
- attributes: {
3
- data: { options: "data_attribute" },
4
- },
5
- label: "Favorite Food",
6
- name: "food",
7
- options: [
8
- {
9
- value: "1",
10
- value_text: "Burgers",
11
- },
12
- {
13
- value: "2",
14
- selected: true,
15
- value_text: "Pizza",
16
- },
17
- {
18
- value: "3",
19
- value_text: "Tacos",
20
- },
21
- {
22
- value: "4",
23
- value_text: "BBQ",
24
- },
25
- ]
26
- }) %>
@@ -1 +0,0 @@
1
- Inspect the element and notice the data-attribute being added to the `<select>` element
@@ -1,36 +0,0 @@
1
- <%= pb_rails("select", props: {
2
- label: "Favorite Food",
3
- name: "food",
4
- multiple: true,
5
- options: [
6
- {
7
- value: "1",
8
- value_text: "Burgers",
9
- },
10
- {
11
- value: "2",
12
- selected: true,
13
- value_text: "Pizza",
14
- },
15
- {
16
- value: "3",
17
- value_text: "Tacos",
18
- },
19
- {
20
- value: "4",
21
- value_text: "BBQ",
22
- },
23
- {
24
- value: "4",
25
- value_text: "Sushi",
26
- },
27
- {
28
- value: "4",
29
- value_text: "Chinese",
30
- },
31
- {
32
- value: "4",
33
- value_text: "Hot Dogs",
34
- },
35
- ]
36
- }) %>
@@ -1,50 +0,0 @@
1
- import React from 'react'
2
-
3
- import Select from '../_select'
4
-
5
- const SelectMultiple = (props) => {
6
- const options = [
7
- {
8
- value: '1',
9
- text: 'Burgers',
10
- },
11
- {
12
- value: '2',
13
- text: 'Pizza',
14
- },
15
- {
16
- value: '3',
17
- text: 'Tacos',
18
- },
19
- {
20
- value: '3',
21
- text: 'BBQ',
22
- },
23
- {
24
- value: '3',
25
- text: 'Sushi',
26
- },
27
- {
28
- value: '3',
29
- text: 'Chinese',
30
- },
31
- {
32
- value: '3',
33
- text: 'Hot Dogs',
34
- },
35
- ]
36
-
37
- return (
38
- <div>
39
- <Select
40
- label="Favorite Food"
41
- multiple
42
- name="food"
43
- options={options}
44
- {...props}
45
- />
46
- </div>
47
- )
48
- }
49
-
50
- export default SelectMultiple
@@ -1 +0,0 @@
1
- We recommend using a typeahead for better UX