Skip to content

Commit b8c5fdb

Browse files
committed
Fix new
1 parent e227beb commit b8c5fdb

1 file changed

Lines changed: 33 additions & 32 deletions

File tree

server/documents/introduction/new.html.eco

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ type : 'Main'
160160

161161
<div class="example" data-class="labeled icon">
162162
<h4 class="ui header">Labeled Icon Menu</h4>
163-
<p>Labeled icon menu has been updated to use a more universal vertical style.</p>
164-
<div class="ui inverted vertical labeled icon menu">
163+
<p>Labeled icon menu has been updated to greater emphasize icons.</p>
164+
<div class="ui vertical labeled icon menu">
165165
<a class="active red item">
166166
<i class="gamepad icon"></i>
167167
Games
@@ -205,11 +205,11 @@ type : 'Main'
205205
<div class="three wide column">
206206
<img class="ui wireframe image" src="/images/wireframe/image.png">
207207
</div>
208-
<div class="ui vertical divider">or</div>
208+
<div class="ui vertical divider">and</div>
209209
<div class="three wide column">
210210
<img class="ui wireframe image" src="/images/wireframe/image.png">
211211
</div>
212-
<div class="ui vertical divider">or</div>
212+
<div class="ui vertical divider">and</div>
213213
<div class="three wide column">
214214
<img class="ui wireframe image" src="/images/wireframe/image.png">
215215
</div>
@@ -218,11 +218,11 @@ type : 'Main'
218218
<div class="three wide column">
219219
<img class="ui wireframe image" src="/images/wireframe/image.png">
220220
</div>
221-
<div class="ui vertical divider">or</div>
221+
<div class="ui vertical divider">not</div>
222222
<div class="three wide column">
223223
<img class="ui wireframe image" src="/images/wireframe/image.png">
224224
</div>
225-
<div class="ui vertical divider">or</div>
225+
<div class="ui vertical divider">nor</div>
226226
<div class="three wide column">
227227
<img class="ui wireframe image" src="/images/wireframe/image.png">
228228
</div>
@@ -276,7 +276,7 @@ type : 'Main'
276276
</div>
277277

278278
<div class="example" data-class="tablet reversed">
279-
<h4 class="ui header">Reversing Grids</h4>
279+
<h4 class="ui header">Reversing Grid Direction</h4>
280280
<p>Grids now support <a href="/collections/grid.html#reversed">reversing their column flow</a> per-device. This can be useful when a column should appear on the opposite side of the screen on smaller screens.</p>
281281
<p>Reversing grids are also designed to be compatible with column-order specific variations like divided or celled</p>
282282
<div class="ui tablet reversed divided equal width grid">
@@ -450,6 +450,32 @@ type : 'Main'
450450

451451
<h2 class="ui dividing header">New Behaviors</h2>
452452

453+
<div class="mapping example">
454+
<h4 class="ui header">Truly Customized JSON</h4>
455+
<p>In <code>2.1</code> and component that uses remote data and requires remote JSON, will let you specify a <code>fields</code> array to modify the expected property name, saving you the trouble of specifying an <a href="/behaviors/api.html#response-callbacks"><code>onResponse</code></a> callback to modify the data structure.</p>
456+
<div class="ui ignored code">
457+
$('.ui.search')
458+
.search({
459+
apiSettings: {
460+
url: '//api.github.com/search/repositories?q={query}'
461+
},
462+
fields: {
463+
results : 'items',
464+
title : 'name',
465+
url : 'html_url'
466+
},
467+
minCharacters : 3
468+
})
469+
;
470+
</div>
471+
<div class="ui search">
472+
<div class="ui left icon input">
473+
<input class="prompt" type="text" placeholder="Search GitHub">
474+
<i class="github icon"></i>
475+
</div>
476+
</div>
477+
</div>
478+
453479
<div class="no payment example">
454480
<h4 class="ui header">Payment Validation</h4>
455481
<p>We've added new validation rules for payment. These work with luhn and <a href="http://stackoverflow.com/questions/7863058/does-the-luhn-algorithm-work-for-all-mainstream-credit-cards-discover-visa-m?answertab=votes#tab-top">non-luhn card numbers</a>. If you only accept a certain set of credit cards you can specify that too.</p>
@@ -517,31 +543,6 @@ type : 'Main'
517543
;
518544
</div>
519545
</div>
520-
<div class="mapping example">
521-
<h4 class="ui header">User Specified JSON</h4>
522-
<p>In <code>2.1</code> and component that uses remote data and requires remote JSON, will let you specify a <code>fields</code> array to modify the expected property name, saving you the trouble of specifying an <a href="/behaviors/api.html#response-callbacks"><code>onResponse</code></a> callback to modify the data structure.</p>
523-
<div class="ui ignored code">
524-
$('.ui.search')
525-
.search({
526-
apiSettings: {
527-
url: '//api.github.com/search/repositories?q={query}'
528-
},
529-
fields: {
530-
results : 'items',
531-
title : 'name',
532-
url : 'html_url'
533-
},
534-
minCharacters : 3
535-
})
536-
;
537-
</div>
538-
<div class="ui search">
539-
<div class="ui left icon input">
540-
<input class="prompt" type="text" placeholder="Search GitHub">
541-
<i class="github icon"></i>
542-
</div>
543-
</div>
544-
</div>
545546
</div>
546547

547548
<div class="ui tab" data-tab="last">

0 commit comments

Comments
 (0)