playbook_ui_docs 15.5.0.pre.alpha.draggablefix12589 → 15.5.0.pre.alpha.typeaheadfix12605

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7833243082202a65e4adbc546799c6089789c3d05261b0deaec3b3c70658e8c1
4
- data.tar.gz: bc0b55e27a109b1f2436085b074ed354b7f25d58ebab5fdc05f12c0e2b53ca76
3
+ metadata.gz: 1bec13ccbabaf58119f5debd509cdb34ce179d3e54486eadafaf1c3089748c4e
4
+ data.tar.gz: cec4da25a4b4391cd40f76116c481283398b40de26ebb72126ff348da47c3177
5
5
  SHA512:
6
- metadata.gz: c45edeb4c953298145bfce22bf276c7f7a3918a7181f98c2003377089441df039fbd1809492383d42d06f8cd75173b1574d2e3da3fe0c516082bc3cbc77e9580
7
- data.tar.gz: 487fd95ca195e0cb1aee1944fae55274dd7deb1afe63a2e20028bac41981c0333e02cc1be6d6160bee0bbf2513e2ee5e363ceef3850c51d01e8152efb6d53aef
6
+ metadata.gz: 218454ec88593328445ec69ae2ed20eae9b0fa3ff8fbd9e3a0161868a8f0fc055c18e41bc2765caad296f67696f242a2b6975b1322b8f59439bcc7ebd3b1ca4c
7
+ data.tar.gz: e1adf27bc836bebd4696fab554be89e820f4ace94795b8a711e900a15b431db94045b20d3640b5a1ae83741423c258a8d71f5cf8a3f5aed6aa62f98e94b19056
@@ -1,3 +1,24 @@
1
+ <%
2
+ options = [
3
+ {
4
+ label: "United States",
5
+ value: "unitedStates",
6
+ id: "us"
7
+ },
8
+ {
9
+ label: "United Kingdom",
10
+ value: "unitedKingdom",
11
+ id: "gb"
12
+ },
13
+ {
14
+ label: "Pakistan",
15
+ value: "pakistan",
16
+ id: "pk"
17
+ }
18
+ ]
19
+ %>
20
+
21
+
1
22
  <%= pb_rails("button", props: { text: "Open Complex Dialog", data:{"open-dialog": "dialog-complex"} }) %>
2
23
 
3
24
  <%= pb_rails("dialog", props: { id:"dialog-complex", size: "lg", full_height: true }) do %>
@@ -10,6 +31,16 @@
10
31
  <%= pb_rails("rich_text_editor", props: {id: "default", value: "Add your text here"}) %>
11
32
  <%= pb_rails("caption", props: { text: "Type in a word or term too help find tickets later. ex. training, phone setup, hr", margin_bottom: "xs", margin_top: "sm" }) %>
12
33
  <%= pb_rails("typeahead", props: { placeholder: "Tags.."}) %>
34
+ <%= pb_rails("dropdown", props: {options: options, autocomplete: true}) %>
35
+ <%= pb_rails("typeahead", props: {
36
+ id: "typeahead-default",
37
+ placeholder: "Select one...",
38
+ options: options,
39
+ name: :foo,
40
+ margin_top: "sm",
41
+ is_multi: false
42
+ })
43
+ %>
13
44
 
14
45
  <% end %>
15
46
  <%= pb_rails("dialog/dialog_footer", props: {cancel_button: "Back", confirm_button: "Send my Issue", confirm_button_id:"confirm-complex", id: "dialog-complex"}) %>
@@ -1,6 +1,8 @@
1
1
  The multiple container functionality also supports customized dropzone styling as shown here.
2
2
 
3
- In addition to this, the `onDrop` and `onDragEnd` event listeners provide several arguments to allow developers more context from the drag event.
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.
4
6
 
5
7
  The `onDrop` callback is triggered when an item is successfully dropped into a container. It provides the following arguments:
6
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.5.0.pre.alpha.draggablefix12589
4
+ version: 15.5.0.pre.alpha.typeaheadfix12605
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-11-25 00:00:00.000000000 Z
12
+ date: 2025-11-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui