playbook_ui_docs 16.7.0.pre.rc.1 → 16.7.0

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: 552d5c6862ea8b6541e5baed12e8bdcbf60c25a6d2c18e20281be05dfff09940
4
- data.tar.gz: f73d9bccc4a8ae95c2e1f518a64f48fa4d05636184a940cfb3de3db1ce0c6b64
3
+ metadata.gz: a0fc6745132e00861350832917eae46af8cb87d4241c65d77b654768cae6a5e3
4
+ data.tar.gz: '08e12f515845e5bfd957ef67a253280c2cafd28274d6cc8bfd58831eeebfc408'
5
5
  SHA512:
6
- metadata.gz: c88956615475210146f609ac73377f41fd359793a885d62c949b5bd3d993774a04dbcdfc95788d04ef554d3e4496cfed1c4fe6624374cc74497d0d55eac4ce63
7
- data.tar.gz: 9d97beab8a23d5ddadcef6f43d4f8c5470cb6918398db779d6efd16383b40f00e98ab1301fc39d0750fb43bd447ec7a0e33486485256d6483a105d73c395d007
6
+ metadata.gz: 7c694113752216ac6e5a606edc4b7c85ed5ee3487f4cc9603e81fedcb353664cd9595eedf94bc77a5040cf5215d63535c6f0e4a942db3bffabaabc1d3f318503
7
+ data.tar.gz: bfc611733a3ddc0c39235cb430534d5bf1905037766a05b18eb3353ee331661a4168899fc8c8d1e5ae48826bc24d5e7c785beec6572e1340e75018ed8bd97e09
@@ -26,6 +26,24 @@ const DropdownWithConstrainHeight = (props) => {
26
26
  options={options}
27
27
  {...props}
28
28
  />
29
+
30
+ <br />
31
+
32
+ <Dropdown
33
+ label="Subcomponent With Constrain Height"
34
+ options={options}
35
+ {...props}
36
+ >
37
+ <Dropdown.Trigger />
38
+ <Dropdown.Container constrainHeight>
39
+ {options.map((option) => (
40
+ <Dropdown.Option
41
+ key={option.id}
42
+ option={option}
43
+ />
44
+ ))}
45
+ </Dropdown.Container>
46
+ </Dropdown>
29
47
  </>
30
48
  )
31
49
  }
@@ -18,3 +18,14 @@
18
18
  constrain_height: true,
19
19
  label: "With Constrain Height"
20
20
  }) %>
21
+
22
+ <br>
23
+
24
+ <%= pb_rails("dropdown", props: {options: options, label: "Subcomponent With Constrain Height"}) do %>
25
+ <%= pb_rails("dropdown/dropdown_trigger") %>
26
+ <%= pb_rails("dropdown/dropdown_container", props: { constrain_height: true }) do %>
27
+ <% options.each do |option| %>
28
+ <%= pb_rails("dropdown/dropdown_option", props: {option: option}) %>
29
+ <% end %>
30
+ <% end %>
31
+ <% end %>
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: 16.7.0.pre.rc.1
4
+ version: 16.7.0
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: 2026-04-30 00:00:00.000000000 Z
12
+ date: 2026-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui