playbook_ui 14.3.2.pre.alpha.PBNTR515typeaheadmarginbottomredux3785 → 14.3.2.pre.alpha.play1472newicons3773

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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/Components/SortIconButton.tsx +23 -4
  3. data/app/pb_kits/playbook/pb_contact/_contact.tsx +17 -5
  4. data/app/pb_kits/playbook/pb_contact/contact.html.erb +14 -6
  5. data/app/pb_kits/playbook/pb_contact/contact.rb +4 -0
  6. data/app/pb_kits/playbook/pb_contact/contact.test.js +1 -1
  7. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +4 -3
  8. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -1
  9. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +4 -0
  10. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +6 -3
  11. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +1 -1
  12. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +6 -2
  13. data/app/pb_kits/playbook/pb_map/_map_controls.tsx +7 -1
  14. data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +10 -2
  15. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +12 -5
  16. data/app/pb_kits/playbook/pb_select/_select.tsx +5 -2
  17. data/app/pb_kits/playbook/pb_select/select.html.erb +1 -1
  18. data/app/pb_kits/playbook/pb_select/select.rb +4 -0
  19. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -0
  20. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +1 -0
  21. data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +0 -14
  22. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +0 -3
  23. data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +5 -6
  24. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -2
  25. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -1
  26. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +1 -2
  27. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +1 -6
  28. data/app/pb_kits/playbook/utilities/icons/allicons.tsx +123 -0
  29. data/app/pb_kits/playbook/utilities/icons/angle-down.svg +3 -0
  30. data/app/pb_kits/playbook/utilities/icons/envelope.svg +3 -0
  31. data/dist/chunks/_typeahead-C7opsM-6.js +22 -0
  32. data/dist/chunks/_weekday_stacked-Bhq2bj8p.js +45 -0
  33. data/dist/chunks/lib-ACUFk6Hu.js +29 -0
  34. data/dist/chunks/{pb_form_validation-CHMFwDfe.js → pb_form_validation-CA0nEXlG.js} +1 -1
  35. data/dist/chunks/vendor.js +1 -1
  36. data/dist/playbook-doc.js +1 -1
  37. data/dist/playbook-rails-react-bindings.js +1 -1
  38. data/dist/playbook-rails.js +1 -1
  39. data/dist/playbook.css +1 -1
  40. data/lib/playbook/version.rb +1 -1
  41. metadata +8 -8
  42. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb +0 -88
  43. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx +0 -60
  44. data/dist/chunks/_typeahead-DaDWXuYo.js +0 -22
  45. data/dist/chunks/_weekday_stacked-Drg1rU0J.js +0 -45
  46. data/dist/chunks/lib--ErPKv63.js +0 -16
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.3.2"
5
- VERSION = "14.3.2.pre.alpha.PBNTR515typeaheadmarginbottomredux3785"
5
+ VERSION = "14.3.2.pre.alpha.play1472newicons3773"
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.3.2.pre.alpha.PBNTR515typeaheadmarginbottomredux3785
4
+ version: 14.3.2.pre.alpha.play1472newicons3773
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-17 00:00:00.000000000 Z
12
+ date: 2024-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -2853,8 +2853,6 @@ files:
2853
2853
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.md
2854
2854
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb
2855
2855
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
2856
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb
2857
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
2858
2856
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
2859
2857
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
2860
2858
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context.html.erb
@@ -3015,7 +3013,9 @@ files:
3015
3013
  - app/pb_kits/playbook/utilities/globalPropNames.mjs
3016
3014
  - app/pb_kits/playbook/utilities/globalProps.ts
3017
3015
  - app/pb_kits/playbook/utilities/icons/allicons.tsx
3016
+ - app/pb_kits/playbook/utilities/icons/angle-down.svg
3018
3017
  - app/pb_kits/playbook/utilities/icons/clock.svg
3018
+ - app/pb_kits/playbook/utilities/icons/envelope.svg
3019
3019
  - app/pb_kits/playbook/utilities/icons/spinner.svg
3020
3020
  - app/pb_kits/playbook/utilities/icons/times.svg
3021
3021
  - app/pb_kits/playbook/utilities/object.ts
@@ -3036,11 +3036,11 @@ files:
3036
3036
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3037
3037
  - app/pb_kits/playbook/utilities/text.ts
3038
3038
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3039
- - dist/chunks/_typeahead-DaDWXuYo.js
3040
- - dist/chunks/_weekday_stacked-Drg1rU0J.js
3039
+ - dist/chunks/_typeahead-C7opsM-6.js
3040
+ - dist/chunks/_weekday_stacked-Bhq2bj8p.js
3041
3041
  - dist/chunks/lazysizes-B7xYodB-.js
3042
- - dist/chunks/lib--ErPKv63.js
3043
- - dist/chunks/pb_form_validation-CHMFwDfe.js
3042
+ - dist/chunks/lib-ACUFk6Hu.js
3043
+ - dist/chunks/pb_form_validation-CA0nEXlG.js
3044
3044
  - dist/chunks/vendor.js
3045
3045
  - dist/menu.yml
3046
3046
  - dist/playbook-doc.js
@@ -1,88 +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
- id: "typeahead-default",
12
- placeholder: "All Colors",
13
- options: options,
14
- label: "None",
15
- name: :foo,
16
- is_multi: false,
17
- margin_bottom: "none",
18
- })
19
- %>
20
- <%= pb_rails("typeahead", props: {
21
- id: "typeahead-default",
22
- placeholder: "All Colors",
23
- options: options,
24
- label: "XXS",
25
- name: :foo,
26
- is_multi: false,
27
- margin_bottom: "xxs",
28
- })
29
- %>
30
- <%= pb_rails("typeahead", props: {
31
- id: "typeahead-default",
32
- placeholder: "All Colors",
33
- options: options,
34
- label: "XS",
35
- name: :foo,
36
- is_multi: false,
37
- margin_bottom: "xs",
38
- })
39
- %>
40
- <%= pb_rails("typeahead", props: {
41
- id: "typeahead-default",
42
- placeholder: "All Colors",
43
- options: options,
44
- label: "Default - SM",
45
- name: :foo,
46
- is_multi: false,
47
- })
48
- %>
49
- <%= pb_rails("typeahead", props: {
50
- id: "typeahead-default",
51
- placeholder: "All Colors",
52
- options: options,
53
- label: "MD",
54
- name: :foo,
55
- is_multi: false,
56
- margin_bottom: "md",
57
- })
58
- %>
59
- <%= pb_rails("typeahead", props: {
60
- id: "typeahead-default",
61
- placeholder: "All Colors",
62
- options: options,
63
- label: "LG",
64
- name: :foo,
65
- is_multi: false,
66
- margin_bottom: "lg",
67
- })
68
- %>
69
- <%= pb_rails("typeahead", props: {
70
- id: "typeahead-default",
71
- placeholder: "All Colors",
72
- options: options,
73
- label: "XL",
74
- name: :foo,
75
- is_multi: false,
76
- margin_bottom: "xl",
77
- })
78
- %>
79
-
80
- <%= javascript_tag defer: "defer" do %>
81
- document.addEventListener("pb-typeahead-kit-typeahead-default-result-option-select", function(event) {
82
- console.log('Single Option selected')
83
- console.dir(event.detail)
84
- })
85
- document.addEventListener("pb-typeahead-kit-typeahead-default-result-clear", function() {
86
- console.log('All options cleared')
87
- })
88
- <% end %>
@@ -1,60 +0,0 @@
1
- import React from 'react'
2
-
3
- import Typeahead from '../_typeahead'
4
-
5
- const options = [
6
- { label: 'Orange', value: '#FFA500' },
7
- { label: 'Red', value: '#FF0000' },
8
- { label: 'Green', value: '#00FF00' },
9
- { label: 'Blue', value: '#0000FF' },
10
- ]
11
-
12
- const TypeaheadMarginBottom = (props) => {
13
- return (
14
- <>
15
- <Typeahead
16
- label="None"
17
- marginBottom="none"
18
- options={options}
19
- {...props}
20
- />
21
- <Typeahead
22
- label="XXS"
23
- marginBottom="xxs"
24
- options={options}
25
- {...props}
26
- />
27
- <Typeahead
28
- label="XS"
29
- marginBottom="xs"
30
- options={options}
31
- {...props}
32
- />
33
- <Typeahead
34
- label="Default - SM"
35
- options={options}
36
- {...props}
37
- />
38
- <Typeahead
39
- label="MD"
40
- marginBottom="md"
41
- options={options}
42
- {...props}
43
- />
44
- <Typeahead
45
- label="LG"
46
- marginBottom="lg"
47
- options={options}
48
- {...props}
49
- />
50
- <Typeahead
51
- label="XL"
52
- marginBottom="xl"
53
- options={options}
54
- {...props}
55
- />
56
- </>
57
- )
58
- }
59
-
60
- export default TypeaheadMarginBottom