ui_bibz 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.yardoc/checksums +19 -19
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +4 -1
- data/README.md +46 -45
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +2 -2
- data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
- data/doc/UiBibz/Concerns/Models.html +2 -2
- data/doc/UiBibz/Concerns.html +2 -2
- data/doc/UiBibz/Helpers/MetaHelper.html +7 -6
- data/doc/UiBibz/Helpers/UiCoreHelper.html +14 -14
- data/doc/UiBibz/Helpers/UiUxHelper.html +4 -4
- data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
- data/doc/UiBibz/Helpers.html +2 -2
- data/doc/UiBibz/Rails/Engine.html +2 -2
- data/doc/UiBibz/Rails.html +2 -2
- data/doc/UiBibz/Ui/Base.html +2 -2
- data/doc/UiBibz/Ui/Core/Alert.html +26 -23
- data/doc/UiBibz/Ui/Core/Bar.html +21 -18
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +22 -20
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +23 -21
- data/doc/UiBibz/Ui/Core/Button.html +28 -24
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +29 -26
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +27 -24
- data/doc/UiBibz/Ui/Core/ButtonLink.html +29 -25
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +29 -26
- data/doc/UiBibz/Ui/Core/Col.html +23 -20
- data/doc/UiBibz/Ui/Core/Component.html +30 -28
- data/doc/UiBibz/Ui/Core/Dropdown.html +27 -24
- data/doc/UiBibz/Ui/Core/DropdownDivider.html +3 -3
- data/doc/UiBibz/Ui/Core/DropdownHeader.html +20 -18
- data/doc/UiBibz/Ui/Core/DropdownLink.html +27 -24
- data/doc/UiBibz/Ui/Core/Glyph.html +26 -23
- data/doc/UiBibz/Ui/Core/Jumbotron.html +21 -18
- data/doc/UiBibz/Ui/Core/Label.html +27 -23
- data/doc/UiBibz/Ui/Core/List.html +31 -28
- data/doc/UiBibz/Ui/Core/ListGroup.html +24 -22
- data/doc/UiBibz/Ui/Core/Modal.html +26 -24
- data/doc/UiBibz/Ui/Core/ModalBody.html +16 -14
- data/doc/UiBibz/Ui/Core/ModalFooter.html +16 -14
- data/doc/UiBibz/Ui/Core/ModalHeader.html +17 -15
- data/doc/UiBibz/Ui/Core/Nav.html +20 -18
- data/doc/UiBibz/Ui/Core/NavDropdown.html +23 -21
- data/doc/UiBibz/Ui/Core/NavLink.html +22 -20
- data/doc/UiBibz/Ui/Core/Navbar.html +29 -27
- data/doc/UiBibz/Ui/Core/NavbarForm.html +22 -19
- data/doc/UiBibz/Ui/Core/NavbarNav.html +17 -16
- data/doc/UiBibz/Ui/Core/NavbarText.html +16 -15
- data/doc/UiBibz/Ui/Core/Panel.html +27 -23
- data/doc/UiBibz/Ui/Core/ProgressBar.html +23 -20
- data/doc/UiBibz/Ui/Core/Row.html +13 -11
- data/doc/UiBibz/Ui/Core/Stars.html +23 -19
- data/doc/UiBibz/Ui/Core.html +3 -3
- data/doc/UiBibz/Ui/Ux/Actionable.html +6 -6
- data/doc/UiBibz/Ui/Ux/Actions.html +2 -2
- data/doc/UiBibz/Ui/Ux/Column.html +2 -2
- data/doc/UiBibz/Ui/Ux/Columns.html +2 -2
- data/doc/UiBibz/Ui/Ux/Grid.html +23 -21
- data/doc/UiBibz/Ui/Ux/Paginable.html +5 -5
- data/doc/UiBibz/Ui/Ux/Searchable.html +4 -4
- data/doc/UiBibz/Ui/Ux/Sortable.html +2 -2
- data/doc/UiBibz/Ui/Ux/Store.html +2 -2
- data/doc/UiBibz/Ui/Ux/Table.html +36 -34
- data/doc/UiBibz/Ui/Ux/TablePagination.html +22 -16
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +17 -15
- data/doc/UiBibz/Ui/Ux/TablePanel.html +58 -50
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +4 -4
- data/doc/UiBibz/Ui/Ux.html +3 -3
- data/doc/UiBibz/Ui.html +2 -2
- data/doc/UiBibz/Utils/Internationalization.html +2 -2
- data/doc/UiBibz/Utils.html +2 -2
- data/doc/UiBibz.html +3 -3
- data/doc/_index.html +6 -6
- data/doc/file.README.html +734 -623
- data/doc/index.html +734 -623
- data/doc/method_list.html +227 -227
- data/doc/top-level-namespace.html +2 -2
- data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +2 -2
- data/lib/ui_bibz/ui/ux/table/table_pagination.rb +3 -1
- data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
- data/lib/ui_bibz/ui/ux/table/table_panel.rb +24 -6
- data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
- data/lib/ui_bibz/version.rb +1 -1
- metadata +39 -39
@@ -117,7 +117,7 @@
|
|
117
117
|
|
118
118
|
|
119
119
|
<span class="summary_desc"><div class='inline'>
|
120
|
-
<p>Button section end
|
120
|
+
<p>Button section end —————————————————-.</p>
|
121
121
|
</div></span>
|
122
122
|
|
123
123
|
</li>
|
@@ -207,7 +207,7 @@
|
|
207
207
|
|
208
208
|
|
209
209
|
<span class="summary_desc"><div class='inline'>
|
210
|
-
<p>Button section begin
|
210
|
+
<p>Button section begin —————————————————-.</p>
|
211
211
|
</div></span>
|
212
212
|
|
213
213
|
</li>
|
@@ -297,8 +297,8 @@
|
|
297
297
|
|
298
298
|
|
299
299
|
<span class="summary_desc"><div class='inline'>
|
300
|
-
<p>Use
|
301
|
-
lib/action_view/helpers/form_helper.rb
|
300
|
+
<p>Use “etiquette” instead of “label” : due to “actionview (4.2.0)
|
301
|
+
lib/action_view/helpers/form_helper.rb” conflict.</p>
|
302
302
|
</div></span>
|
303
303
|
|
304
304
|
</li>
|
@@ -454,8 +454,8 @@ lib/action_view/helpers/form_helper.rb" conflict.</p>
|
|
454
454
|
|
455
455
|
|
456
456
|
<span class="summary_desc"><div class='inline'>
|
457
|
-
<p>Use
|
458
|
-
lib/action_view/helpers/form_helper.rb
|
457
|
+
<p>Use “notify” instead of “alert” : due to “actionview (4.2.0)
|
458
|
+
lib/action_view/helpers/form_helper.rb” conflict.</p>
|
459
459
|
</div></span>
|
460
460
|
|
461
461
|
</li>
|
@@ -570,7 +570,7 @@ lib/action_view/helpers/form_helper.rb" conflict.</p>
|
|
570
570
|
</h3><div class="docstring">
|
571
571
|
<div class="discussion">
|
572
572
|
|
573
|
-
<p>Button section end
|
573
|
+
<p>Button section end —————————————————-</p>
|
574
574
|
|
575
575
|
|
576
576
|
</div>
|
@@ -701,7 +701,7 @@ lib/action_view/helpers/form_helper.rb" conflict.</p>
|
|
701
701
|
</h3><div class="docstring">
|
702
702
|
<div class="discussion">
|
703
703
|
|
704
|
-
<p>Button section begin
|
704
|
+
<p>Button section begin —————————————————-</p>
|
705
705
|
|
706
706
|
|
707
707
|
</div>
|
@@ -832,8 +832,8 @@ lib/action_view/helpers/form_helper.rb" conflict.</p>
|
|
832
832
|
</h3><div class="docstring">
|
833
833
|
<div class="discussion">
|
834
834
|
|
835
|
-
<p>Use
|
836
|
-
lib/action_view/helpers/form_helper.rb
|
835
|
+
<p>Use “etiquette” instead of “label” : due to “actionview (4.2.0)
|
836
|
+
lib/action_view/helpers/form_helper.rb” conflict</p>
|
837
837
|
|
838
838
|
|
839
839
|
</div>
|
@@ -1054,8 +1054,8 @@ lib/action_view/helpers/form_helper.rb" conflict</p>
|
|
1054
1054
|
</h3><div class="docstring">
|
1055
1055
|
<div class="discussion">
|
1056
1056
|
|
1057
|
-
<p>Use
|
1058
|
-
lib/action_view/helpers/form_helper.rb
|
1057
|
+
<p>Use “notify” instead of “alert” : due to “actionview (4.2.0)
|
1058
|
+
lib/action_view/helpers/form_helper.rb” conflict</p>
|
1059
1059
|
|
1060
1060
|
|
1061
1061
|
</div>
|
@@ -1225,9 +1225,9 @@ lib/action_view/helpers/form_helper.rb" conflict</p>
|
|
1225
1225
|
</div>
|
1226
1226
|
|
1227
1227
|
<div id="footer">
|
1228
|
-
Generated on
|
1228
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
1229
1229
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1230
|
-
0.8.7.6 (ruby-
|
1230
|
+
0.8.7.6 (ruby-2.2.3).
|
1231
1231
|
</div>
|
1232
1232
|
|
1233
1233
|
</body>
|
@@ -139,7 +139,7 @@
|
|
139
139
|
|
140
140
|
|
141
141
|
<span class="summary_desc"><div class='inline'>
|
142
|
-
<p>Table section begin
|
142
|
+
<p>Table section begin ——————————————————.</p>
|
143
143
|
</div></span>
|
144
144
|
|
145
145
|
</li>
|
@@ -284,7 +284,7 @@
|
|
284
284
|
</h3><div class="docstring">
|
285
285
|
<div class="discussion">
|
286
286
|
|
287
|
-
<p>Table section begin
|
287
|
+
<p>Table section begin ——————————————————</p>
|
288
288
|
|
289
289
|
|
290
290
|
</div>
|
@@ -454,9 +454,9 @@
|
|
454
454
|
</div>
|
455
455
|
|
456
456
|
<div id="footer">
|
457
|
-
Generated on
|
457
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
458
458
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
459
|
-
0.8.7.6 (ruby-
|
459
|
+
0.8.7.6 (ruby-2.2.3).
|
460
460
|
</div>
|
461
461
|
|
462
462
|
</body>
|
@@ -178,9 +178,9 @@
|
|
178
178
|
</div>
|
179
179
|
|
180
180
|
<div id="footer">
|
181
|
-
Generated on
|
181
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
182
182
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
183
|
-
0.8.7.6 (ruby-
|
183
|
+
0.8.7.6 (ruby-2.2.3).
|
184
184
|
</div>
|
185
185
|
|
186
186
|
</body>
|
data/doc/UiBibz/Helpers.html
CHANGED
@@ -106,9 +106,9 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
-
0.8.7.6 (ruby-
|
111
|
+
0.8.7.6 (ruby-2.2.3).
|
112
112
|
</div>
|
113
113
|
|
114
114
|
</body>
|
@@ -114,9 +114,9 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on
|
117
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
|
-
0.8.7.6 (ruby-
|
119
|
+
0.8.7.6 (ruby-2.2.3).
|
120
120
|
</div>
|
121
121
|
|
122
122
|
</body>
|
data/doc/UiBibz/Rails.html
CHANGED
@@ -106,9 +106,9 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
-
0.8.7.6 (ruby-
|
111
|
+
0.8.7.6 (ruby-2.2.3).
|
112
112
|
</div>
|
113
113
|
|
114
114
|
</body>
|
data/doc/UiBibz/Ui/Base.html
CHANGED
@@ -295,9 +295,9 @@
|
|
295
295
|
</div>
|
296
296
|
|
297
297
|
<div id="footer">
|
298
|
-
Generated on
|
298
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
299
299
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
300
|
-
0.8.7.6 (ruby-
|
300
|
+
0.8.7.6 (ruby-2.2.3).
|
301
301
|
</div>
|
302
302
|
|
303
303
|
</body>
|
@@ -110,56 +110,59 @@
|
|
110
110
|
|
111
111
|
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
112
|
|
113
|
-
<h4>Attributes</h4>
|
113
|
+
<h4 id="label-Attributes">Attributes</h4>
|
114
114
|
<ul><li>
|
115
|
-
<p><
|
115
|
+
<p><code>content</code> - Content of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>options</code> - Options of element</p>
|
118
118
|
</li><li>
|
119
|
-
<p><
|
119
|
+
<p><code>html_options</code> - Html Options of element</p>
|
120
120
|
</li></ul>
|
121
121
|
|
122
|
-
<h4>Options</h4>
|
122
|
+
<h4 id="label-Options">Options</h4>
|
123
123
|
|
124
|
-
<p>You can add HTML attributes using the <
|
125
|
-
arguments in options attribute:</p>
|
124
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
125
|
+
pass arguments in options attribute:</p>
|
126
126
|
<ul><li>
|
127
|
-
<p><
|
128
|
-
<
|
127
|
+
<p><code>state</code> - State of élement with symbol value:
|
128
|
+
(<code>:default</code>, <code>:primary</code>, <code>:info</code>,
|
129
|
+
<code>:warning</code>, <code>:danger</code>)</p>
|
129
130
|
</li><li>
|
130
|
-
<p><
|
131
|
+
<p><code>glyph</code> - Add glyph with name or hash options</p>
|
131
132
|
<ul><li>
|
132
|
-
<p><
|
133
|
+
<p><code>name</code> - String</p>
|
133
134
|
</li><li>
|
134
|
-
<p><
|
135
|
+
<p><code>size</code> - Integer</p>
|
135
136
|
</li><li>
|
136
|
-
<p><
|
137
|
+
<p><code>type</code> - Symbol</p>
|
137
138
|
</li></ul>
|
138
139
|
</li></ul>
|
139
140
|
|
140
|
-
<h4>Signatures</h4>
|
141
|
+
<h4 id="label-Signatures">Signatures</h4>
|
141
142
|
|
142
143
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Alert</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
143
144
|
|
144
145
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Alert</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
145
146
|
<span class='id identifier rubyid_content'>content</span>
|
146
|
-
<span class='kw'>end</span
|
147
|
+
<span class='kw'>end</span>
|
148
|
+
</code></pre>
|
147
149
|
|
148
|
-
<h4>Examples</h4>
|
150
|
+
<h4 id="label-Examples">Examples</h4>
|
149
151
|
|
150
|
-
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::Alert.new(content, { type: :success, glyph:
|
152
|
+
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::Alert.new(content, { type: :success, glyph: 'eye' },{ class: 'test' }).render
|
151
153
|
|
152
|
-
UiBibz::Ui::Core::Alert.new({glyph: { name:
|
154
|
+
UiBibz::Ui::Core::Alert.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do
|
153
155
|
content
|
154
156
|
end.render</code></pre>
|
155
157
|
|
156
|
-
<h4>Helper</h4>
|
158
|
+
<h4 id="label-Helper">Helper</h4>
|
157
159
|
|
158
160
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_notify'>notify</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
159
161
|
|
160
162
|
<span class='id identifier rubyid_notify'>notify</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
161
163
|
<span class='id identifier rubyid_content'>content</span>
|
162
|
-
<span class='kw'>end</span
|
164
|
+
<span class='kw'>end</span>
|
165
|
+
</code></pre>
|
163
166
|
|
164
167
|
|
165
168
|
</div>
|
@@ -356,7 +359,7 @@ end.render</code></pre>
|
|
356
359
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/alert.rb', line 56</span>
|
357
360
|
|
358
361
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
359
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
362
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>alert</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>role:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>alert</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
360
363
|
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_glyph_and_content_html'>glyph_and_content_html</span>
|
361
364
|
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_close_html'>close_html</span> <span class='kw'>if</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:close</span><span class='rbracket'>]</span>
|
362
365
|
<span class='kw'>end</span>
|
@@ -371,9 +374,9 @@ end.render</code></pre>
|
|
371
374
|
</div>
|
372
375
|
|
373
376
|
<div id="footer">
|
374
|
-
Generated on
|
377
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
375
378
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
376
|
-
0.8.7.6 (ruby-
|
379
|
+
0.8.7.6 (ruby-2.2.3).
|
377
380
|
</div>
|
378
381
|
|
379
382
|
</body>
|
data/doc/UiBibz/Ui/Core/Bar.html
CHANGED
@@ -110,22 +110,23 @@
|
|
110
110
|
|
111
111
|
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
112
|
|
113
|
-
<h4>Attributes</h4>
|
113
|
+
<h4 id="label-Attributes">Attributes</h4>
|
114
114
|
<ul><li>
|
115
|
-
<p><
|
115
|
+
<p><code>content</code> - Content of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>options</code> - Options of element</p>
|
118
118
|
</li><li>
|
119
|
-
<p><
|
119
|
+
<p><code>html_options</code> - Html Options of element</p>
|
120
120
|
</li></ul>
|
121
121
|
|
122
|
-
<h4>Options</h4>
|
122
|
+
<h4 id="label-Options">Options</h4>
|
123
123
|
|
124
|
-
<p>You can add HTML attributes using the <
|
125
|
-
arguments in options attribute:</p>
|
124
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
125
|
+
pass arguments in options attribute:</p>
|
126
126
|
<ul><li>
|
127
|
-
<p><
|
128
|
-
<
|
127
|
+
<p><code>state</code> - State of élement with symbol value:
|
128
|
+
(<code>:default</code>, <code>:primary</code>, <code>:info</code>,
|
129
|
+
<code>:warning</code>, <code>:danger</code>)</p>
|
129
130
|
</li><li>
|
130
131
|
<p>label - String (default: “percentage%”)</p>
|
131
132
|
</li><li>
|
@@ -135,26 +136,28 @@ arguments in options attribute:</p>
|
|
135
136
|
</li><li>
|
136
137
|
<p>sr_only - Boolean to show label (default: false)</p>
|
137
138
|
</li><li>
|
138
|
-
<p>type (<
|
139
|
+
<p>type (<code>:striped</code>, <code>:animated</code>)</p>
|
139
140
|
</li></ul>
|
140
141
|
|
141
|
-
<h4>Signatures</h4>
|
142
|
+
<h4 id="label-Signatures">Signatures</h4>
|
142
143
|
|
143
144
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Bar</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_percentage'>percentage</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
144
145
|
|
145
146
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Bar</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
146
147
|
<span class='id identifier rubyid_percentage'>percentage</span>
|
147
|
-
<span class='kw'>end</span
|
148
|
+
<span class='kw'>end</span>
|
149
|
+
</code></pre>
|
148
150
|
|
149
|
-
<h4>Examples</h4>
|
151
|
+
<h4 id="label-Examples">Examples</h4>
|
150
152
|
|
151
153
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Bar</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='int'>10</span><span class='rparen'>)</span>
|
152
154
|
<span class='comment'># or
|
153
|
-
</span><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Bar</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='int'>10</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>state:</span> <span class='symbol'>:success</span><span class='comma'>,</span> <span class='label'>sr_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'
|
155
|
+
</span><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Bar</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='int'>10</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>state:</span> <span class='symbol'>:success</span><span class='comma'>,</span> <span class='label'>sr_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Loading...</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='comma'>,</span><span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
154
156
|
<span class='comment'># or
|
155
157
|
</span><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Bar</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>state:</span> <span class='symbol'>:primary</span> <span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
156
158
|
<span class='int'>40</span>
|
157
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
159
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
160
|
+
</code></pre>
|
158
161
|
|
159
162
|
|
160
163
|
</div>
|
@@ -348,7 +351,7 @@ arguments in options attribute:</p>
|
|
348
351
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/progress_bar/components/bar.rb', line 52</span>
|
349
352
|
|
350
353
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
351
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_progressbar_inner_html'>progressbar_inner_html</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'
|
354
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_progressbar_inner_html'>progressbar_inner_html</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>progress-bar</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='id identifier rubyid_bar_html_options'>bar_html_options</span><span class='rparen'>)</span>
|
352
355
|
<span class='kw'>end</span></pre>
|
353
356
|
</td>
|
354
357
|
</tr>
|
@@ -360,9 +363,9 @@ arguments in options attribute:</p>
|
|
360
363
|
</div>
|
361
364
|
|
362
365
|
<div id="footer">
|
363
|
-
Generated on
|
366
|
+
Generated on Mon Oct 19 15:25:16 2015 by
|
364
367
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
365
|
-
0.8.7.6 (ruby-
|
368
|
+
0.8.7.6 (ruby-2.2.3).
|
366
369
|
</div>
|
367
370
|
|
368
371
|
</body>
|
@@ -108,27 +108,27 @@
|
|
108
108
|
|
109
109
|
<p>Breadcrumb</p>
|
110
110
|
|
111
|
-
<p>Indicate the current page
|
112
|
-
Separators are automatically added in CSS through <
|
113
|
-
<
|
111
|
+
<p>Indicate the current page's location within a navigational hierarchy.
|
112
|
+
Separators are automatically added in CSS through <code>:before</code> and
|
113
|
+
<code>content</code>.</p>
|
114
114
|
|
115
115
|
<p>This element is an extend of UiBibz::Ui::Core::Component. You can use tap
|
116
116
|
method to add link items.</p>
|
117
117
|
|
118
|
-
<h4>Attributes</h4>
|
118
|
+
<h4 id="label-Attributes">Attributes</h4>
|
119
119
|
<ul><li>
|
120
|
-
<p><
|
120
|
+
<p><code>content</code> - Content of element</p>
|
121
121
|
</li><li>
|
122
|
-
<p><
|
122
|
+
<p><code>options</code> - Options of element</p>
|
123
123
|
</li><li>
|
124
|
-
<p><
|
124
|
+
<p><code>html_options</code> - Html Options of element</p>
|
125
125
|
</li></ul>
|
126
126
|
|
127
|
-
<h4>Components</h4>
|
127
|
+
<h4 id="label-Components">Components</h4>
|
128
128
|
|
129
|
-
<p><
|
129
|
+
<p><code>link</code> is UiBibz::Ui::Core::BreadcrumbLink component</p>
|
130
130
|
|
131
|
-
<h4>Signatures</h4>
|
131
|
+
<h4 id="label-Signatures">Signatures</h4>
|
132
132
|
|
133
133
|
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::Breadcrumb.new().tap do |b|
|
134
134
|
b.link content = nil, options = nil, html_options = nil, &block
|
@@ -141,24 +141,26 @@ UiBibz::Ui::Core::Alert.new(options = nil, html_options = nil) do
|
|
141
141
|
content
|
142
142
|
end</code></pre>
|
143
143
|
|
144
|
-
<h4>Examples</h4>
|
144
|
+
<h4 id="label-Examples">Examples</h4>
|
145
145
|
|
146
146
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Breadcrumb</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_b'>b</span><span class='op'>|</span>
|
147
|
-
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'
|
148
|
-
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'
|
149
|
-
<span class='tstring'><span class='tstring_beg'
|
147
|
+
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Home</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#home</span><span class='tstring_end'>'</span></span>
|
148
|
+
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#level-1</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span>
|
149
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Level 1</span><span class='tstring_end'>'</span></span>
|
150
150
|
<span class='kw'>end</span>
|
151
|
-
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'
|
152
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
151
|
+
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Level 2</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>status:</span> <span class='symbol'>:active</span>
|
152
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
153
|
+
</code></pre>
|
153
154
|
|
154
|
-
<h4>Helper</h4>
|
155
|
+
<h4 id="label-Helper">Helper</h4>
|
155
156
|
|
156
157
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_breadcrumb'>breadcrumb</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_b'>b</span><span class='op'>|</span>
|
157
158
|
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
158
159
|
<span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
159
160
|
<span class='id identifier rubyid_content'>content</span>
|
160
161
|
<span class='kw'>end</span>
|
161
|
-
<span class='kw'>end</span
|
162
|
+
<span class='kw'>end</span>
|
163
|
+
</code></pre>
|
162
164
|
|
163
165
|
|
164
166
|
</div>
|
@@ -431,9 +433,9 @@ end</code></pre>
|
|
431
433
|
</div>
|
432
434
|
|
433
435
|
<div id="footer">
|
434
|
-
Generated on
|
436
|
+
Generated on Mon Oct 19 15:25:16 2015 by
|
435
437
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
436
|
-
0.8.7.6 (ruby-
|
438
|
+
0.8.7.6 (ruby-2.2.3).
|
437
439
|
</div>
|
438
440
|
|
439
441
|
</body>
|
@@ -110,48 +110,50 @@
|
|
110
110
|
|
111
111
|
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
112
|
|
113
|
-
<h4>Attributes</h4>
|
113
|
+
<h4 id="label-Attributes">Attributes</h4>
|
114
114
|
<ul><li>
|
115
|
-
<p><
|
115
|
+
<p><code>content</code> - Content of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>options</code> - Options of element</p>
|
118
118
|
</li><li>
|
119
|
-
<p><
|
119
|
+
<p><code>html_options</code> - Html Options of element</p>
|
120
120
|
</li></ul>
|
121
121
|
|
122
|
-
<h4>Options</h4>
|
122
|
+
<h4 id="label-Options">Options</h4>
|
123
123
|
|
124
|
-
<p>You can add HTML attributes using the <
|
125
|
-
arguments in options attribute:</p>
|
124
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
125
|
+
pass arguments in options attribute:</p>
|
126
126
|
<ul><li>
|
127
|
-
<p><
|
127
|
+
<p><code>status</code> - State of élement with symbol value:
|
128
|
+
(<code>:active</code>)</p>
|
128
129
|
</li><li>
|
129
|
-
<p><
|
130
|
+
<p><code>url</code> - String</p>
|
130
131
|
</li><li>
|
131
|
-
<p><
|
132
|
+
<p><code>glyph</code> - Add glyph with name or hash options</p>
|
132
133
|
<ul><li>
|
133
|
-
<p><
|
134
|
+
<p><code>name</code> - String</p>
|
134
135
|
</li><li>
|
135
|
-
<p><
|
136
|
+
<p><code>size</code> - Integer</p>
|
136
137
|
</li><li>
|
137
|
-
<p><
|
138
|
+
<p><code>type</code> - Symbol</p>
|
138
139
|
</li></ul>
|
139
140
|
</li></ul>
|
140
141
|
|
141
|
-
<h4>Signatures</h4>
|
142
|
+
<h4 id="label-Signatures">Signatures</h4>
|
142
143
|
|
143
144
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>BreadcrumbLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
144
145
|
|
145
146
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>BreadcrumbLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
146
147
|
<span class='id identifier rubyid_content'>content</span>
|
147
|
-
<span class='kw'>end</span
|
148
|
+
<span class='kw'>end</span>
|
149
|
+
</code></pre>
|
148
150
|
|
149
|
-
<h4>Examples</h4>
|
151
|
+
<h4 id="label-Examples">Examples</h4>
|
150
152
|
|
151
|
-
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::BreadcrumbLink.new(
|
153
|
+
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::BreadcrumbLink.new('Home', { glyph: 'home', status: :active },{ class: 'test' }).render
|
152
154
|
|
153
|
-
UiBibz::Ui::Core::BreadcrumbLink.new({glyph: { name:
|
154
|
-
|
155
|
+
UiBibz::Ui::Core::BreadcrumbLink.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do
|
156
|
+
'Home'
|
155
157
|
end.render</code></pre>
|
156
158
|
|
157
159
|
|
@@ -358,9 +360,9 @@ end.render</code></pre>
|
|
358
360
|
</div>
|
359
361
|
|
360
362
|
<div id="footer">
|
361
|
-
Generated on
|
363
|
+
Generated on Mon Oct 19 15:25:17 2015 by
|
362
364
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
363
|
-
0.8.7.6 (ruby-
|
365
|
+
0.8.7.6 (ruby-2.2.3).
|
364
366
|
</div>
|
365
367
|
|
366
368
|
</body>
|