Skip to content

Commit 5db717d

Browse files
committed
dropping select grouped docs
1 parent 795bd30 commit 5db717d

File tree

5 files changed

+6
-99
lines changed

5 files changed

+6
-99
lines changed

app/Enums/Examples/V2/Form/Select.php

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,6 @@ class Select
2828
]" select="label:name|value:id" />
2929
HTML;
3030

31-
public const NATIVE_GROUPED = <<<'HTML'
32-
<x-select.native group :options="[
33-
[
34-
'label' => 'Brazil',
35-
'value' => [
36-
['label' => 'São Paulo', 'value' => 4],
37-
['label' => 'Rio de Janeiro', 'value' => 5],
38-
['label' => 'Brasília', 'value' => 6]
39-
]
40-
],
41-
[
42-
'label' => 'United States',
43-
'value' => [
44-
['label' => 'New York', 'value' => 7],
45-
['label' => 'Los Angeles', 'value' => 8],
46-
['label' => 'Chicago', 'value' => 9]
47-
]
48-
],
49-
]" />
50-
HTML;
51-
5231
/* Styled Common */
5332

5433
public const STYLED_BASIC = <<<'HTML'
@@ -188,31 +167,6 @@ class Select
188167
]" lazy="10" />
189168
HTML;
190169

191-
public const STYLED_GROUPED = <<<'HTML'
192-
<x-select.styled group :options="[
193-
[
194-
'label' => 'Brazil',
195-
'image' => 'https://placehold.co/15x15/cyan/white',
196-
'description' => 'Brazil is a country known for being the land of samba.',
197-
'value' => [
198-
['label' => 'São Paulo', 'value' => 4, 'image' => 'https://placehold.co/15x15/orange/white'],
199-
['label' => 'Rio de Janeiro', 'value' => 5, 'image' => 'https://placehold.co/15x15/orange/white'],
200-
['label' => 'Brasília', 'value' => 6, 'image' => 'https://placehold.co/15x15/orange/white']
201-
]
202-
],
203-
[
204-
'label' => 'United States',
205-
'image' => 'https://placehold.co/15x15/purple/white',
206-
'description' => 'The United States is a country known for being the land of opportunity.',
207-
'value' => [
208-
['label' => 'New York', 'value' => 7, 'image' => 'https://placehold.co/15x15/blue/white'],
209-
['label' => 'Los Angeles', 'value' => 8, 'image' => 'https://placehold.co/15x15/blue/white'],
210-
['label' => 'Chicago', 'value' => 9, 'image' => 'https://placehold.co/15x15/blue/white']
211-
]
212-
],
213-
]" />
214-
HTML;
215-
216170
public const STYLED_SLOT = <<<'HTML'
217171
<x-select.styled searchable :options="[1,2,3]">
218172
<x-slot:after>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
],
5757
"test": "./vendor/bin/pest",
5858
"type": "./vendor/bin/pest --type-coverage",
59-
"format": "./vendor/bin/pint",
59+
"format": "./vendor/bin/pint --parallel",
6060
"ci": [
6161
"./vendor/bin/pint --test",
6262
"./vendor/bin/pest --type-coverage",

contents/v2.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ form:
180180
- Basic Usage
181181
- Label & Hint
182182
- Multi-dimensional Array
183-
- Grouped
184183
Styled:
185184
contents:
186185
- Basic Usage
@@ -195,7 +194,6 @@ form:
195194
- Description
196195
- Searchable
197196
- Lazy Load
198-
- Grouped
199197
- Slot After
200198
- Events
201199
Styled API:

herd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
integrations:
2+
forge:
3+
tallstackui.com:
4+
server-id: 916851
5+
site-id: 2711372

resources/views/documentation/v2/form/select.blade.php

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -38,30 +38,6 @@
3838
<x-code language="blade" :contents="$nativeAdvancedDifferentIndexes" disable-copy />
3939
</div>
4040
</x-section>
41-
<x-section title="Grouped" anchor="native-grouped">
42-
<div class="space-y-2">
43-
<x-preview language="blade" :contents="$nativeGrouped">
44-
<x-select.native group :options="[
45-
[
46-
'label' => 'Brazil',
47-
'value' => [
48-
['label' => 'São Paulo', 'value' => 4],
49-
['label' => 'Rio de Janeiro', 'value' => 5],
50-
['label' => 'Brasília', 'value' => 6]
51-
]
52-
],
53-
[
54-
'label' => 'United States',
55-
'value' => [
56-
['label' => 'New York', 'value' => 7],
57-
['label' => 'Los Angeles', 'value' => 8],
58-
['label' => 'Chicago', 'value' => 9]
59-
]
60-
],
61-
]" />
62-
</x-preview>
63-
</div>
64-
</x-section>
6541
<x-warning>
6642
This option is also available for the other select components below.
6743
</x-warning>
@@ -224,32 +200,6 @@
224200
</x-preview>
225201
</div>
226202
</x-section>
227-
<x-section title="Grouped" anchor="styled-grouped">
228-
<x-preview language="blade" :contents="$styledGrouped">
229-
<x-select.styled group :options="[
230-
[
231-
'label' => 'Brazil',
232-
'image' => 'https://placehold.co/15x15/cyan/white',
233-
'description' => 'Brazil is a country known for being the land of samba.',
234-
'value' => [
235-
['label' => 'São Paulo', 'value' => 4, 'image' => 'https://placehold.co/15x15/orange/white'],
236-
['label' => 'Rio de Janeiro', 'value' => 5, 'image' => 'https://placehold.co/15x15/orange/white'],
237-
['label' => 'Brasília', 'value' => 6, 'image' => 'https://placehold.co/15x15/orange/white']
238-
]
239-
],
240-
[
241-
'label' => 'United States',
242-
'image' => 'https://placehold.co/15x15/purple/white',
243-
'description' => 'The United States is a country known for being the land of opportunity.',
244-
'value' => [
245-
['label' => 'New York', 'value' => 7, 'image' => 'https://placehold.co/15x15/blue/white'],
246-
['label' => 'Los Angeles', 'value' => 8, 'image' => 'https://placehold.co/15x15/blue/white'],
247-
['label' => 'Chicago', 'value' => 9, 'image' => 'https://placehold.co/15x15/blue/white']
248-
]
249-
],
250-
]" />
251-
</x-preview>
252-
</x-section>
253203
<x-section title="Slot After" anchor="styled-slot-after" description="An option to interact with the search term when nothing is found.">
254204
<x-preview language="blade" :contents="$styledSlot">
255205
<x-select.styled searchable :options="[1,2,3]">

0 commit comments

Comments
 (0)