playbook_ui 14.20.0.pre.alpha.PLAY2127dropdowncloseonselectionpropreact8006 → 14.20.0.pre.alpha.PLAY2140upgraderailsdependency8003

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 = "14.20.0"
5
- VERSION = "14.20.0.pre.alpha.PLAY2127dropdowncloseonselectionpropreact8006"
5
+ VERSION = "14.20.0.pre.alpha.PLAY2140upgraderailsdependency8003"
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: 14.20.0.pre.alpha.PLAY2127dropdowncloseonselectionpropreact8006
4
+ version: 14.20.0.pre.alpha.PLAY2140upgraderailsdependency8003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -1326,8 +1326,6 @@ files:
1326
1326
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_blank_selection.jsx
1327
1327
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.jsx
1328
1328
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.md
1329
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_close_on_select.jsx
1330
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_close_on_select.md
1331
1329
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.jsx
1332
1330
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md
1333
1331
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_rails.html.erb
@@ -3603,7 +3601,7 @@ files:
3603
3601
  - app/pb_kits/playbook/utilities/text.ts
3604
3602
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3605
3603
  - dist/chunks/_typeahead-CRW6dJbW.js
3606
- - dist/chunks/_weekday_stacked-fRmhq4xQ.js
3604
+ - dist/chunks/_weekday_stacked-C4d17aYW.js
3607
3605
  - dist/chunks/lazysizes-B7xYodB-.js
3608
3606
  - dist/chunks/lib-D5R1BjUn.js
3609
3607
  - dist/chunks/pb_form_validation-BZ2AVAi_.js
@@ -1,42 +0,0 @@
1
- import React from 'react'
2
- import Dropdown from '../../pb_dropdown/_dropdown'
3
-
4
- const DropdownCloseOnSelect = (props) => {
5
-
6
- const options = [
7
- {
8
- label: "United States",
9
- value: "United States",
10
- },
11
- {
12
- label: "Canada",
13
- value: "Canada",
14
- },
15
- {
16
- label: "Pakistan",
17
- value: "Pakistan",
18
- }
19
- ];
20
-
21
-
22
- return (
23
- <div>
24
- <Dropdown
25
- closeOnSelection={false}
26
- label="Default"
27
- options={options}
28
- {...props}
29
- />
30
- <br />
31
- <Dropdown
32
- closeOnSelection={false}
33
- label="Multi Select"
34
- multiSelect
35
- options={options}
36
- {...props}
37
- />
38
- </div>
39
- )
40
- }
41
-
42
- export default DropdownCloseOnSelect
@@ -1 +0,0 @@
1
- By default, the dropdown menu will close when a selection is made. You can prevent this behavior by using the `closeOnSelection` prop, which will leave the menu open after a selection is made when set to 'false'.