playbook_ui_docs 14.20.0.pre.alpha.revert4453PBNTR933reactdraggablebugdragbtwnexamples7973 → 14.20.0.pre.alpha.revert4637revert4621PLAY2033atactionbarrails7855
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 +4 -4
- data/app/pb_kits/playbook/pb_select/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_select/docs/index.js +0 -1
- data/dist/playbook-doc.js +2 -2
- metadata +2 -5
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.html.erb +0 -12
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.jsx +0 -31
- data/app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.md +0 -1
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: 14.20.0.pre.alpha.
|
4
|
+
version: 14.20.0.pre.alpha.revert4637revert4621PLAY2033atactionbarrails7855
|
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-05-
|
12
|
+
date: 2025-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -1797,9 +1797,6 @@ files:
|
|
1797
1797
|
- app/pb_kits/playbook/pb_select/docs/_select_blank.jsx
|
1798
1798
|
- app/pb_kits/playbook/pb_select/docs/_select_custom_select.html.erb
|
1799
1799
|
- app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx
|
1800
|
-
- app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.html.erb
|
1801
|
-
- app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.jsx
|
1802
|
-
- app/pb_kits/playbook/pb_select/docs/_select_custom_select_subheaders.md
|
1803
1800
|
- app/pb_kits/playbook/pb_select/docs/_select_default.html.erb
|
1804
1801
|
- app/pb_kits/playbook/pb_select/docs/_select_default.jsx
|
1805
1802
|
- app/pb_kits/playbook/pb_select/docs/_select_default_swift.md
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<%= pb_rails("select", props: { label: "Favorite Animal" }) do %>
|
2
|
-
<select name="animal" id="animal">
|
3
|
-
<optgroup label="Mammal">
|
4
|
-
<option value="1">Cat</option>
|
5
|
-
<option value="2">Dog</option>
|
6
|
-
</optgroup>
|
7
|
-
<optgroup label="Amphibian">
|
8
|
-
<option value="3">Frog</option>
|
9
|
-
<option value="4">Salamander</option>
|
10
|
-
</optgroup>
|
11
|
-
</select>
|
12
|
-
<% end %>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
|
3
|
-
import Select from '../_select'
|
4
|
-
|
5
|
-
const SelectCustomSelectSubheaders = (props) => {
|
6
|
-
return (
|
7
|
-
<div>
|
8
|
-
<Select
|
9
|
-
label="Favorite Animal"
|
10
|
-
{...props}
|
11
|
-
>
|
12
|
-
<select
|
13
|
-
id="animal"
|
14
|
-
name="animal"
|
15
|
-
{...props}
|
16
|
-
>
|
17
|
-
<optgroup label="Mammal">
|
18
|
-
<option value="1">{'Cat'}</option>
|
19
|
-
<option value="2">{'Dog'}</option>
|
20
|
-
</optgroup>
|
21
|
-
<optgroup label="Amphibian">
|
22
|
-
<option value="3">{'Frog'}</option>
|
23
|
-
<option value="4">{'Salamander'}</option>
|
24
|
-
</optgroup>
|
25
|
-
</select>
|
26
|
-
</Select>
|
27
|
-
</div>
|
28
|
-
)
|
29
|
-
}
|
30
|
-
|
31
|
-
export default SelectCustomSelectSubheaders
|
@@ -1 +0,0 @@
|
|
1
|
-
To create a select with non-selectable subheaders, use a Custom Select component to render a native `<select>` containing `<optgroup>` elements. The [optgroup HTML element](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/optgroup) groups related options under a non-selectable label in the dropdown.
|