Skip to content

Commit 10f25cf

Browse files
committed
Fix: updated testing snapshots with english translations
1 parent 8b3dfd6 commit 10f25cf

11 files changed

+107
-62
lines changed
Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
1-
<div class="ac-wrapper"
2-
>
1+
<div class="ac-wrapper"
2+
3+
>
34

45

5-
<select class="ss-ghost-select"
6-
id="country"
7-
name="country"
8-
tabindex="-1"
9-
>
10-
11-
<option value="" selected></option>
12-
13-
<option value="it"
14-
wire:key="country-it">Italy</option>
15-
<option value="de"
16-
wire:key="country-de">Germany</option>
17-
<option value="fr"
18-
wire:key="country-fr">France</option>
19-
<option value="us"
20-
wire:key="country-us">United States</option>
21-
6+
<select name="country" id="country" tabindex="-1"
7+
8+
class="ss-ghost-select">
9+
10+
<option selected value=""></option>
11+
12+
<option value="it" wire:key="country-it" >Italy</option>
13+
<option value="de" wire:key="country-de" >Germany</option>
14+
<option value="fr" wire:key="country-fr" >France</option>
15+
<option value="us" wire:key="country-us" >United States</option>
16+
17+
2218
</select>
2319

2420
<div wire:ignore="">
25-
<input class="form-control ac-input"
26-
type="text"
27-
placeholder=""
28-
autocomplete="off" />
21+
<input type="text" class="form-control ac-input" placeholder="" autocomplete="off" />
2922
</div>
3023

3124

@@ -43,7 +36,7 @@
4336
</div>
4437

4538
<div class="text-muted p-2 empty-results">
46-
bs-blade-forms::components.custom-select.no-results
39+
No results
4740
</div>
4841
</div>
4942
</div>

tests/.pest/snapshots/Feature/Components/AutocompleteTest/_Renders_correctly__→_it_renders_old_value_when_old_is_present.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</div>
3737

3838
<div class="text-muted p-2 empty-results">
39-
bs-blade-forms::components.custom-select.no-results
39+
No results
4040
</div>
4141
</div>
4242
</div>
Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
<div class="ac-wrapper"
2-
data-fetchurl="https://fetch.url" >
1+
<div class="ac-wrapper"
2+
3+
data-fetchurl="https://fetch.url" >
34

45

5-
<select class="ss-ghost-select"
6-
id="country"
7-
name="country"
8-
tabindex="-1"
9-
>
6+
<select name="country" id="country" tabindex="-1"
7+
8+
class="ss-ghost-select">
109

11-
<option value="" selected></option>
10+
<option selected value=""></option>
1211

13-
12+
13+
1414
</select>
1515

1616
<div wire:ignore="">
17-
<input class="form-control ac-input"
18-
type="text"
19-
placeholder=""
20-
autocomplete="off" />
17+
<input type="text" class="form-control ac-input" placeholder="" autocomplete="off" />
2118
</div>
2219

2320

@@ -35,7 +32,7 @@
3532
</div>
3633

3734
<div class="text-muted p-2 empty-results">
38-
bs-blade-forms::components.custom-select.no-results
35+
No results
3936
</div>
4037
</div>
4138
</div>
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<label for="country" class="form-label">
2+
Country
3+
</label>
4+
5+
6+
<div class="ac-wrapper"
7+
8+
data-allow-custom >
9+
10+
11+
<select name="country" id="country" tabindex="-1"
12+
13+
class="ss-ghost-select">
14+
15+
<option value="0"></option>
16+
17+
<option value="it" selected wire:key="country-it" >Italy</option>
18+
<option value="de" wire:key="country-de" >Germany</option>
19+
<option value="fr" wire:key="country-fr" >France</option>
20+
<option value="us" wire:key="country-us" >United States</option>
21+
22+
23+
</select>
24+
25+
<div wire:ignore="">
26+
<div class="input-group">
27+
<span class="input-group-text">
28+
<i class="bi bi-map"></i>
29+
30+
</span>
31+
32+
<input type="text" class="form-control ac-input" placeholder="Start typing..." autocomplete="off" />
33+
</div>
34+
</div>
35+
36+
37+
38+
<div class="ss-dropdown hidden" >
39+
40+
<template class="ss-option-template">
41+
<div class="ss-option" data-key="">
42+
<span></span>
43+
<i class="bi bi-x-lg ss-remove-icon"></i>
44+
</div>
45+
</template>
46+
47+
48+
<div class="ss-options">
49+
</div>
50+
51+
<div class="text-muted p-2 empty-results">
52+
No results
53+
</div>
54+
</div>
55+
</div>

tests/.pest/snapshots/Feature/Components/MultiSelectTest/_Renders_correctly__→_it_renders_default.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@
3939

4040
<input type="text" class="form-control form-control-sm"
4141
autocomplete="off"
42-
placeholder="bs-blade-forms::components.custom-select.search-placeholder"/>
42+
placeholder="Search across the options"/>
4343

4444
<button class="btn btn-light ss-select-all"
4545
type="button"
46-
title="bs-blade-forms::components.custom-select.select-all">
46+
title="Select all">
4747
<i class="bi bi-check2-all"></i>
4848
</button>
4949

5050
<button class="btn btn-light ss-unselect-all"
5151
type="button"
52-
title="bs-blade-forms::components.custom-select.unselect-all">
52+
title="Unselect all">
5353
<i class="bi bi-dash-square-dotted"></i>
5454
</button>
5555
</div>
@@ -68,7 +68,7 @@
6868
</div>
6969

7070
<div class="text-muted p-2 empty-results">
71-
bs-blade-forms::components.custom-select.no-results
71+
No results
7272
</div>
7373

7474
</div>

tests/.pest/snapshots/Feature/Components/MultiSelectTest/_Renders_correctly__→_it_renders_with_full_options_multiselected.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454

5555
<button class="btn btn-light ss-select-all"
5656
type="button"
57-
title="bs-blade-forms::components.custom-select.select-all">
57+
title="Select all">
5858
<i class="bi bi-check2-all"></i>
5959
</button>
6060

6161
<button class="btn btn-light ss-unselect-all"
6262
type="button"
63-
title="bs-blade-forms::components.custom-select.unselect-all">
63+
title="Unselect all">
6464
<i class="bi bi-dash-square-dotted"></i>
6565
</button>
6666
</div>
@@ -79,7 +79,7 @@
7979
</div>
8080

8181
<div class="text-muted p-2 empty-results">
82-
bs-blade-forms::components.custom-select.no-results
82+
No results
8383
</div>
8484

8585
</div>

tests/.pest/snapshots/Feature/Components/SearchSelectTest/_Renders_correctly__→_it_renders_default.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<div class="ss-dropdown-search">
3434
<input type="text" class="form-control form-control-sm "
35-
placeholder="bs-blade-forms::components.custom-select.search-placeholder" />
35+
placeholder="Search across the options" />
3636
</div>
3737

3838

@@ -47,7 +47,7 @@
4747
</div>
4848

4949
<div class="text-muted p-2 empty-results">
50-
bs-blade-forms::components.custom-select.no-results
50+
No results
5151
</div>
5252

5353
</div>

tests/.pest/snapshots/Feature/Components/SearchSelectTest/_Renders_correctly__→_it_renders_with_full_options_searchselected.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</div>
6060

6161
<div class="text-muted p-2 empty-results">
62-
bs-blade-forms::components.custom-select.no-results
62+
No results
6363
</div>
6464

6565
</div>

tests/.pest/snapshots/Feature/FormModelBindingTest/it_supports_complex_model_binding_on_nested_form.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
<div class="ss-dropdown-search">
7070
<input type="text" class="form-control form-control-sm "
71-
placeholder="bs-blade-forms::components.custom-select.search-placeholder" />
71+
placeholder="Search across the options" />
7272
</div>
7373

7474

@@ -83,7 +83,7 @@
8383
</div>
8484

8585
<div class="text-muted p-2 empty-results">
86-
bs-blade-forms::components.custom-select.no-results
86+
No results
8787
</div>
8888

8989
</div>
@@ -150,17 +150,17 @@
150150

151151
<input type="text" class="form-control form-control-sm"
152152
autocomplete="off"
153-
placeholder="bs-blade-forms::components.custom-select.search-placeholder"/>
153+
placeholder="Search across the options"/>
154154

155155
<button class="btn btn-light ss-select-all"
156156
type="button"
157-
title="bs-blade-forms::components.custom-select.select-all">
157+
title="Select all">
158158
<i class="bi bi-check2-all"></i>
159159
</button>
160160

161161
<button class="btn btn-light ss-unselect-all"
162162
type="button"
163-
title="bs-blade-forms::components.custom-select.unselect-all">
163+
title="Unselect all">
164164
<i class="bi bi-dash-square-dotted"></i>
165165
</button>
166166
</div>
@@ -179,7 +179,7 @@
179179
</div>
180180

181181
<div class="text-muted p-2 empty-results">
182-
bs-blade-forms::components.custom-select.no-results
182+
No results
183183
</div>
184184

185185
</div>

tests/.pest/snapshots/Feature/FormOldBindingTest/it_supports_complex_old_binding_on_form.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
<div class="ss-dropdown-search">
7070
<input type="text" class="form-control form-control-sm "
71-
placeholder="bs-blade-forms::components.custom-select.search-placeholder" />
71+
placeholder="Search across the options" />
7272
</div>
7373

7474

@@ -83,7 +83,7 @@
8383
</div>
8484

8585
<div class="text-muted p-2 empty-results">
86-
bs-blade-forms::components.custom-select.no-results
86+
No results
8787
</div>
8888

8989
</div>
@@ -150,17 +150,17 @@
150150

151151
<input type="text" class="form-control form-control-sm"
152152
autocomplete="off"
153-
placeholder="bs-blade-forms::components.custom-select.search-placeholder"/>
153+
placeholder="Search across the options"/>
154154

155155
<button class="btn btn-light ss-select-all"
156156
type="button"
157-
title="bs-blade-forms::components.custom-select.select-all">
157+
title="Select all">
158158
<i class="bi bi-check2-all"></i>
159159
</button>
160160

161161
<button class="btn btn-light ss-unselect-all"
162162
type="button"
163-
title="bs-blade-forms::components.custom-select.unselect-all">
163+
title="Unselect all">
164164
<i class="bi bi-dash-square-dotted"></i>
165165
</button>
166166
</div>
@@ -179,7 +179,7 @@
179179
</div>
180180

181181
<div class="text-muted p-2 empty-results">
182-
bs-blade-forms::components.custom-select.no-results
182+
No results
183183
</div>
184184

185185
</div>

0 commit comments

Comments
 (0)