playbook_ui 15.5.0.pre.alpha.draggableask12815 → 15.5.0.pre.alpha.draggablefix12557

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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +6 -96
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
  4. data/app/pb_kits/playbook/pb_background/_background.tsx +6 -6
  5. data/app/pb_kits/playbook/pb_background/background.test.js +1 -5
  6. data/app/pb_kits/playbook/pb_background/docs/_background_light.html.erb +1 -1
  7. data/app/pb_kits/playbook/pb_background/docs/_background_light.jsx +1 -0
  8. data/app/pb_kits/playbook/pb_background/docs/example.yml +2 -2
  9. data/app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss +58 -0
  10. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.html.erb +0 -31
  11. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +56 -233
  12. data/app/pb_kits/playbook/pb_draggable/context/types.ts +2 -4
  13. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.jsx +0 -1
  14. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +3 -3
  15. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +1 -77
  16. data/app/pb_kits/playbook/pb_file_upload/_file_upload.scss +4 -4
  17. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx +22 -34
  18. data/app/pb_kits/playbook/pb_home_address_street/city_emphasis.html.erb +12 -16
  19. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.html.erb +1 -1
  20. data/app/pb_kits/playbook/pb_home_address_street/none_emphasis.html.erb +12 -16
  21. data/app/pb_kits/playbook/pb_home_address_street/street_emphasis.html.erb +12 -16
  22. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss +0 -10
  23. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.tsx +15 -66
  24. data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +0 -1
  25. data/app/pb_kits/playbook/pb_multiple_users/docs/index.js +0 -1
  26. data/app/pb_kits/playbook/pb_multiple_users/multiple_users.test.js +0 -25
  27. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +10 -44
  28. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb +4 -34
  29. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx +7 -16
  30. data/app/pb_kits/playbook/pb_table/styles/_vertical_border.scss +0 -49
  31. data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +0 -15
  32. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +0 -3
  33. data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.tsx +2 -13
  34. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +1 -6
  35. data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.tsx +7 -34
  36. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -2
  37. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +1 -2
  38. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +1 -6
  39. data/dist/chunks/_typeahead-LoB4DX1N.js +6 -0
  40. data/dist/chunks/vendor.js +2 -2
  41. data/dist/playbook-rails-react-bindings.js +1 -1
  42. data/dist/playbook-rails.js +1 -1
  43. data/dist/playbook.css +1 -1
  44. data/lib/playbook/version.rb +1 -1
  45. metadata +4 -10
  46. data/app/pb_kits/playbook/pb_background/docs/_background_light.md +0 -1
  47. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.md +0 -22
  48. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_with_tooltip.jsx +0 -42
  49. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_with_tooltip.md +0 -1
  50. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_input_display.html.erb +0 -30
  51. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_input_display.jsx +0 -37
  52. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_input_display.md +0 -3
  53. data/dist/chunks/_typeahead-Dt3l7Dj8.js +0 -6
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "15.5.0"
5
- VERSION = "15.5.0.pre.alpha.draggableask12815"
5
+ VERSION = "15.5.0.pre.alpha.draggablefix12557"
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: 15.5.0.pre.alpha.draggableask12815
4
+ version: 15.5.0.pre.alpha.draggablefix12557
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: 2025-12-04 00:00:00.000000000 Z
12
+ date: 2025-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -487,7 +487,6 @@ files:
487
487
  - app/pb_kits/playbook/pb_background/docs/_background_image.md
488
488
  - app/pb_kits/playbook/pb_background/docs/_background_light.html.erb
489
489
  - app/pb_kits/playbook/pb_background/docs/_background_light.jsx
490
- - app/pb_kits/playbook/pb_background/docs/_background_light.md
491
490
  - app/pb_kits/playbook/pb_background/docs/_background_overlay.jsx
492
491
  - app/pb_kits/playbook/pb_background/docs/_background_overlay.md
493
492
  - app/pb_kits/playbook/pb_background/docs/_background_size.html.erb
@@ -525,6 +524,7 @@ files:
525
524
  - app/pb_kits/playbook/pb_badge/docs/_description.md
526
525
  - app/pb_kits/playbook/pb_badge/docs/example.yml
527
526
  - app/pb_kits/playbook/pb_badge/docs/index.js
527
+ - app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss
528
528
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss
529
529
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
530
530
  - app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
@@ -1332,7 +1332,6 @@ files:
1332
1332
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.html.erb
1333
1333
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
1334
1334
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.jsx
1335
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_dropzone.md
1336
1335
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_rails.md
1337
1336
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers_react.md
1338
1337
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.html.erb
@@ -2250,8 +2249,6 @@ files:
2250
2249
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.jsx
2251
2250
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size.md
2252
2251
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_size_swift.md
2253
- - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_with_tooltip.jsx
2254
- - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_with_tooltip.md
2255
2252
  - app/pb_kits/playbook/pb_multiple_users/docs/example.yml
2256
2253
  - app/pb_kits/playbook/pb_multiple_users/docs/index.js
2257
2254
  - app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb
@@ -3655,9 +3652,6 @@ files:
3655
3652
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.md
3656
3653
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb
3657
3654
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
3658
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_input_display.html.erb
3659
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_input_display.jsx
3660
- - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_input_display.md
3661
3655
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.html.erb
3662
3656
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
3663
3657
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
@@ -3861,7 +3855,7 @@ files:
3861
3855
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3862
3856
  - app/pb_kits/playbook/utilities/text.ts
3863
3857
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3864
- - dist/chunks/_typeahead-Dt3l7Dj8.js
3858
+ - dist/chunks/_typeahead-LoB4DX1N.js
3865
3859
  - dist/chunks/lazysizes-B7xYodB-.js
3866
3860
  - dist/chunks/lib-CgpqUb6l.js
3867
3861
  - dist/chunks/vendor.js
@@ -1 +0,0 @@
1
- By default, the Background kit sets background color to 'light' as seen here.
@@ -1,22 +0,0 @@
1
- The multiple container functionality also supports customized dropzone styling as shown here.
2
-
3
- In addition to this, the `enableCrossContainerPreview` prop can be used on the `DraggableProvider` as shown here to enable dropzone preview for cross-container dragging.
4
-
5
- With `enableCrossContainerPreview`, the `onDrop` and `onDragEnd` event listeners will also provide several arguments to allow developers more context from the drag event.
6
-
7
- The `onDrop` callback is triggered when an item is successfully dropped into a container. It provides the following arguments:
8
-
9
- - `draggedItemId` - The ID of the item that was dragged
10
- - `droppedContainer` - The container where the item was dropped
11
- - `originalContainer` - The container where the drag started
12
- - `item` - The complete item object with all properties (including the updated container)
13
- - `itemAbove` - The item directly above the dropped item in the final position (null if at the top)
14
- - `itemBelow` - The item directly below the dropped item in the final position (null if at the bottom)
15
-
16
- The `onDragEnd` callback is triggered when a drag operation ends, whether it was dropped or cancelled. It provides the following arguments:
17
-
18
- - `draggedItemId` - The ID of the item that was dragged
19
- - `finalContainer` - The container where the item ended up (could be same as original if drag was cancelled)
20
- - `originalContainer` - The container where the drag started
21
- - `itemAbove` - The item directly above the dragged item in the final position (null if at the top)
22
- - `itemBelow` - The item directly below the dragged item in the final position (null if at the bottom)
@@ -1,42 +0,0 @@
1
- import React from 'react'
2
- import MultipleUsers from '../../pb_multiple_users/_multiple_users'
3
-
4
- const MultipleUsersWithTooltip = (props) => {
5
- return (
6
- <div>
7
- <MultipleUsers
8
- users={[
9
- {
10
- name: 'Patrick Welch',
11
- imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
12
- tooltip: "Patrick Welch - Online"
13
- },
14
- {
15
- name: 'Lucille Sanchez',
16
- imageUrl: 'https://randomuser.me/api/portraits/women/6.jpg',
17
- tooltip: "Lucille Sanchez - Offline"
18
- },
19
- {
20
- name: 'Beverly Reyes',
21
- imageUrl: 'https://randomuser.me/api/portraits/women/74.jpg',
22
- tooltip: "Beverly Reyes - Online"
23
- },
24
- {
25
- name: 'Keith Craig',
26
- imageUrl: 'https://randomuser.me/api/portraits/men/40.jpg',
27
- tooltip: "Keith Craig - Away"
28
- },
29
- {
30
- name: 'Alicia Cooper',
31
- imageUrl: 'https://randomuser.me/api/portraits/women/46.jpg',
32
- tooltip: "Alicia Cooper - Busy"
33
- },
34
- ]}
35
- withTooltip
36
- {...props}
37
- />
38
- </div>
39
- )
40
- }
41
- ``
42
- export default MultipleUsersWithTooltip
@@ -1 +0,0 @@
1
- Use the `withTooltip` boolean prop to enable setting user-specific tooltip content via the `tooltip` property in the users array.
@@ -1,30 +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
- { label: 'Yellow', value: '#FFFF00' },
8
- { label: 'Purple', value: '#800080' },
9
- { label: 'Cyan', value: '#00FFFF' },
10
- { label: 'Magenta', value: '#FF00FF' }
11
- ]
12
- %>
13
-
14
- <%= pb_rails("typeahead", props: {
15
- id: "typeahead-input-display-none",
16
- label: "With Input Display None",
17
- options: options,
18
- name: :foo,
19
- input_display: "none",
20
- })
21
- %>
22
- <br/>
23
- <%= pb_rails("typeahead", props: {
24
- id: "typeahead-input-display-pills",
25
- label: "With Input Display Pills (Default)",
26
- options: options,
27
- name: :foo,
28
- pills: true,
29
- })
30
- %>
@@ -1,37 +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
- { label: 'Yellow', value: '#FFFF00' },
11
- { label: 'Purple', value: '#800080' },
12
- { label: 'Cyan', value: '#00FFFF' },
13
- { label: 'Magenta', value: '#FF00FF' }
14
- ]
15
-
16
- const TypeaheadInputDisplay = (props) => {
17
- return (
18
- <>
19
- <Typeahead
20
- inputDisplay="none"
21
- isMulti
22
- label="With Input Display None"
23
- options={options}
24
- {...props}
25
- />
26
- <br/>
27
- <Typeahead
28
- isMulti
29
- label="With Input Display Pills (Default)"
30
- options={options}
31
- {...props}
32
- />
33
- </>
34
- )
35
- }
36
-
37
- export default TypeaheadInputDisplay
@@ -1,3 +0,0 @@
1
- Use the `inputDisplay`/`input_display` prop to optionally display only the count in the display as opposed to multiple pills. This prop is set to 'pills' by default.
2
-
3
- **NOTE**: `inputDisplay`/`input_display` should only be used with typeaheads that allow multi selection.