ui_bibz 1.0.0 → 1.1.0

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.
Files changed (154) hide show
  1. checksums.yaml +13 -5
  2. data/.gitignore +1 -1
  3. data/.yardoc/checksums +52 -0
  4. data/.yardoc/object_types +0 -0
  5. data/.yardoc/objects/root.dat +0 -0
  6. data/.yardoc/proxy_types +0 -0
  7. data/Gemfile +1 -1
  8. data/Gemfile.lock +11 -21
  9. data/README.md +359 -239
  10. data/Rakefile +12 -13
  11. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +174 -0
  12. data/doc/UiBibz/Concerns/Models/Searchable.html +120 -0
  13. data/doc/UiBibz/Helpers/MetaHelper.html +218 -0
  14. data/doc/UiBibz/Helpers/UiCoreHelper.html +1130 -0
  15. data/doc/UiBibz/Helpers/UiUxHelper.html +463 -0
  16. data/doc/UiBibz/Helpers/UtilsHelper.html +187 -0
  17. data/doc/UiBibz/Rails/Engine.html +123 -0
  18. data/doc/UiBibz/Rails.html +115 -0
  19. data/doc/UiBibz/Ui/Base.html +304 -0
  20. data/doc/UiBibz/Ui/Core/Alert.html +367 -0
  21. data/doc/UiBibz/Ui/Core/Bar.html +356 -0
  22. data/doc/UiBibz/Ui/Core/Breadcrumb.html +427 -0
  23. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +354 -0
  24. data/doc/UiBibz/Ui/Core/Button.html +363 -0
  25. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +385 -0
  26. data/doc/UiBibz/Ui/Core/ButtonGroup.html +356 -0
  27. data/doc/UiBibz/Ui/Core/ButtonLink.html +365 -0
  28. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +387 -0
  29. data/doc/UiBibz/Ui/Core/Col.html +357 -0
  30. data/doc/UiBibz/Ui/Core/Component.html +1144 -0
  31. data/doc/UiBibz/Ui/Core/Dropdown.html +877 -0
  32. data/doc/UiBibz/Ui/Core/DropdownList.html +369 -0
  33. data/doc/UiBibz/Ui/Core/Glyph.html +742 -0
  34. data/doc/UiBibz/Ui/Core/Jumbotron.html +363 -0
  35. data/doc/UiBibz/Ui/Core/Label.html +361 -0
  36. data/doc/UiBibz/Ui/Core/List.html +486 -0
  37. data/doc/UiBibz/Ui/Core/ListGroup.html +446 -0
  38. data/doc/UiBibz/Ui/Core/Nav.html +474 -0
  39. data/doc/UiBibz/Ui/Core/NavDropdown.html +376 -0
  40. data/doc/UiBibz/Ui/Core/NavLink.html +347 -0
  41. data/doc/UiBibz/Ui/Core/Navbar.html +535 -0
  42. data/doc/UiBibz/Ui/Core/NavbarForm.html +341 -0
  43. data/doc/UiBibz/Ui/Core/NavbarNav.html +301 -0
  44. data/doc/UiBibz/Ui/Core/NavbarText.html +341 -0
  45. data/doc/UiBibz/Ui/Core/Panel.html +806 -0
  46. data/doc/UiBibz/Ui/Core/ProgressBar.html +433 -0
  47. data/doc/UiBibz/Ui/Core/Row.html +335 -0
  48. data/doc/UiBibz/Ui/Core.html +117 -0
  49. data/doc/UiBibz/Ui/Ux/Actionable.html +478 -0
  50. data/doc/UiBibz/Ui/Ux/Actions.html +314 -0
  51. data/doc/UiBibz/Ui/Ux/Column.html +1177 -0
  52. data/doc/UiBibz/Ui/Ux/Columns.html +312 -0
  53. data/doc/UiBibz/Ui/Ux/Grid.html +823 -0
  54. data/doc/UiBibz/Ui/Ux/Paginable.html +368 -0
  55. data/doc/UiBibz/Ui/Ux/Searchable.html +363 -0
  56. data/doc/UiBibz/Ui/Ux/Sortable.html +289 -0
  57. data/doc/UiBibz/Ui/Ux/Store.html +968 -0
  58. data/doc/UiBibz/Ui/Ux/Table.html +957 -0
  59. data/doc/UiBibz/Ui/Ux/TableAction.html +309 -0
  60. data/doc/UiBibz/Ui/Ux/TablePagination.html +319 -0
  61. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +331 -0
  62. data/doc/UiBibz/Ui/Ux/TablePanel.html +576 -0
  63. data/doc/UiBibz/Ui/Ux/TableSearchField.html +291 -0
  64. data/doc/UiBibz/Ui/Ux.html +117 -0
  65. data/doc/UiBibz/Ui.html +117 -0
  66. data/doc/UiBibz/Utils/Internationalization.html +262 -0
  67. data/doc/UiBibz/Utils.html +115 -0
  68. data/doc/UiBibz.html +129 -0
  69. data/doc/_index.html +635 -0
  70. data/doc/class_list.html +58 -0
  71. data/doc/css/common.css +1 -0
  72. data/doc/css/full_list.css +57 -0
  73. data/doc/css/style.css +339 -0
  74. data/doc/file.README.html +1022 -0
  75. data/doc/file_list.html +60 -0
  76. data/doc/frames.html +26 -0
  77. data/doc/images/navbar.png +0 -0
  78. data/doc/index.html +1022 -0
  79. data/doc/js/app.js +219 -0
  80. data/doc/js/full_list.js +181 -0
  81. data/doc/js/jquery.js +4 -0
  82. data/doc/method_list.html +1335 -0
  83. data/doc/top-level-namespace.html +112 -0
  84. data/lib/ui_bibz/helpers/ui_core_helper.rb +94 -0
  85. data/lib/ui_bibz/helpers/ui_ux_helper.rb +43 -0
  86. data/lib/ui_bibz/rails/engine.rb +2 -1
  87. data/lib/ui_bibz/ui/{ui.rb → base.rb} +1 -1
  88. data/lib/ui_bibz/ui/{alert.rb → core/alert.rb} +15 -7
  89. data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +71 -0
  90. data/lib/ui_bibz/ui/{breadcrumb → core/breadcrumb}/components/breadcrumb_link.rb +6 -6
  91. data/lib/ui_bibz/ui/{button → core/button}/button.rb +13 -6
  92. data/lib/ui_bibz/ui/{button → core/button}/button_dropdown.rb +15 -4
  93. data/lib/ui_bibz/ui/{button → core/button}/button_group.rb +14 -6
  94. data/lib/ui_bibz/ui/{button → core/button}/button_link.rb +14 -6
  95. data/lib/ui_bibz/ui/{button → core/button}/button_split_dropdown.rb +15 -4
  96. data/lib/ui_bibz/ui/{grid/components → core}/col.rb +12 -6
  97. data/lib/ui_bibz/ui/{component.rb → core/component.rb} +7 -7
  98. data/lib/ui_bibz/ui/{dropdown → core/dropdown}/components/dropdown_list.rb +7 -7
  99. data/lib/ui_bibz/ui/{dropdown → core/dropdown}/dropdown.rb +18 -7
  100. data/lib/ui_bibz/ui/{glyph.rb → core/glyph.rb} +18 -10
  101. data/lib/ui_bibz/ui/{jumbotron.rb → core/jumbotron.rb} +14 -6
  102. data/lib/ui_bibz/ui/{label.rb → core/label.rb} +14 -6
  103. data/lib/ui_bibz/ui/{list → core/list}/components/list.rb +8 -8
  104. data/lib/ui_bibz/ui/{list → core/list}/list_group.rb +28 -6
  105. data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +64 -0
  106. data/lib/ui_bibz/ui/{nav → core/nav}/components/nav_link.rb +6 -6
  107. data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +45 -0
  108. data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +56 -0
  109. data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +45 -0
  110. data/lib/ui_bibz/ui/core/nav/nav.rb +90 -0
  111. data/lib/ui_bibz/ui/core/nav/navbar.rb +121 -0
  112. data/lib/ui_bibz/ui/{panel.rb → core/panel.rb} +36 -8
  113. data/lib/ui_bibz/ui/{progress_bar → core/progress_bar}/components/bar.rb +7 -7
  114. data/lib/ui_bibz/ui/{progress_bar → core/progress_bar}/progress_bar.rb +20 -9
  115. data/lib/ui_bibz/ui/{grid/components → core}/row.rb +12 -4
  116. data/lib/ui_bibz/ui/{grid → ux}/grid.rb +17 -8
  117. data/lib/ui_bibz/ui/{table → ux/table}/components/actions.rb +5 -5
  118. data/lib/ui_bibz/ui/ux/table/components/column.rb +34 -0
  119. data/lib/ui_bibz/ui/ux/table/components/columns.rb +16 -0
  120. data/lib/ui_bibz/ui/{table → ux/table}/components/store.rb +4 -4
  121. data/lib/ui_bibz/ui/{table → ux/table}/components/table_action.rb +2 -2
  122. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/actionable.rb +3 -3
  123. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/paginable.rb +5 -5
  124. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/searchable.rb +4 -4
  125. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/sortable.rb +3 -3
  126. data/lib/ui_bibz/ui/{table → ux/table}/table.rb +40 -22
  127. data/lib/ui_bibz/ui/ux/table/table_pagination.rb +51 -0
  128. data/lib/ui_bibz/ui/{table → ux/table}/table_pagination_per_page.rb +26 -4
  129. data/lib/ui_bibz/ui/ux/table/table_panel.rb +155 -0
  130. data/lib/ui_bibz/ui/{table → ux/table}/table_search_field.rb +7 -7
  131. data/lib/ui_bibz/version.rb +1 -1
  132. data/lib/ui_bibz.rb +40 -29
  133. data/test/store_test.rb +2 -2
  134. data/test/ui/button_test.rb +6 -6
  135. data/test/ui/component_test.rb +2 -2
  136. data/test/ui/dropdown_test.rb +1 -1
  137. data/test/ui/glyph_test.rb +3 -3
  138. data/test/ui/grid_test.rb +4 -4
  139. data/test/ui/list_group_test.rb +2 -2
  140. data/test/ui/nav_test.rb +3 -4
  141. data/test/ui/panel_test.rb +4 -4
  142. data/test/ui/table_test.rb +32 -32
  143. data/test/ui_helper_test.rb +18 -2
  144. data/ui_bibz.gemspec +1 -0
  145. data/vendor/assets/stylesheets/ui_bibz.sass +3 -0
  146. metadata +166 -132
  147. data/README.rdoc +0 -0
  148. data/lib/ui_bibz/helpers/ui_helper.rb +0 -119
  149. data/lib/ui_bibz/ui/breadcrumb/breadcrumb.rb +0 -54
  150. data/lib/ui_bibz/ui/nav/nav.rb +0 -65
  151. data/lib/ui_bibz/ui/table/components/column.rb +0 -34
  152. data/lib/ui_bibz/ui/table/components/columns.rb +0 -16
  153. data/lib/ui_bibz/ui/table/table_pagination.rb +0 -29
  154. data/lib/ui_bibz/ui/table/table_panel.rb +0 -66
metadata CHANGED
@@ -1,167 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-15 00:00:00.000000000 Z
11
+ date: 2015-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: will_paginate
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.0.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: will_paginate-bootstrap
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: will-paginate-i18n
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: haml
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: haml-rails
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sass-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: 5.0.1
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: 5.0.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: minitest
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rdoc
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: sqlite3
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
- - - ">="
143
+ - - ! '>='
130
144
  - !ruby/object:Gem::Version
131
145
  version: '0'
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - ">="
150
+ - - ! '>='
137
151
  - !ruby/object:Gem::Version
138
152
  version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: factory_girl_rails
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
- - - "~>"
157
+ - - ~>
144
158
  - !ruby/object:Gem::Version
145
159
  version: '4.0'
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
- - - "~>"
164
+ - - ~>
151
165
  - !ruby/object:Gem::Version
152
166
  version: '4.0'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: codeclimate-test-reporter
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - ">="
171
+ - - ! '>='
158
172
  - !ruby/object:Gem::Version
159
173
  version: '0'
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - ">="
178
+ - - ! '>='
165
179
  - !ruby/object:Gem::Version
166
180
  version: '0'
167
181
  description: A Rails Boostrap framework...
@@ -171,16 +185,85 @@ executables: []
171
185
  extensions: []
172
186
  extra_rdoc_files: []
173
187
  files:
174
- - ".gitignore"
175
- - ".travis.yml"
188
+ - .gitignore
189
+ - .travis.yml
190
+ - .yardoc/checksums
191
+ - .yardoc/object_types
192
+ - .yardoc/objects/root.dat
193
+ - .yardoc/proxy_types
176
194
  - Gemfile
177
195
  - Gemfile.lock
178
196
  - MIT-LICENSE
179
197
  - README.md
180
- - README.rdoc
181
198
  - Rakefile
182
199
  - config/locales/en.yml
183
200
  - config/locales/fr.yml
201
+ - doc/UiBibz.html
202
+ - doc/UiBibz/Concerns/Models/Searchable.html
203
+ - doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html
204
+ - doc/UiBibz/Helpers/MetaHelper.html
205
+ - doc/UiBibz/Helpers/UiCoreHelper.html
206
+ - doc/UiBibz/Helpers/UiUxHelper.html
207
+ - doc/UiBibz/Helpers/UtilsHelper.html
208
+ - doc/UiBibz/Rails.html
209
+ - doc/UiBibz/Rails/Engine.html
210
+ - doc/UiBibz/Ui.html
211
+ - doc/UiBibz/Ui/Base.html
212
+ - doc/UiBibz/Ui/Core.html
213
+ - doc/UiBibz/Ui/Core/Alert.html
214
+ - doc/UiBibz/Ui/Core/Bar.html
215
+ - doc/UiBibz/Ui/Core/Breadcrumb.html
216
+ - doc/UiBibz/Ui/Core/BreadcrumbLink.html
217
+ - doc/UiBibz/Ui/Core/Button.html
218
+ - doc/UiBibz/Ui/Core/ButtonDropdown.html
219
+ - doc/UiBibz/Ui/Core/ButtonGroup.html
220
+ - doc/UiBibz/Ui/Core/ButtonLink.html
221
+ - doc/UiBibz/Ui/Core/ButtonSplitDropdown.html
222
+ - doc/UiBibz/Ui/Core/Col.html
223
+ - doc/UiBibz/Ui/Core/Component.html
224
+ - doc/UiBibz/Ui/Core/Dropdown.html
225
+ - doc/UiBibz/Ui/Core/DropdownList.html
226
+ - doc/UiBibz/Ui/Core/Glyph.html
227
+ - doc/UiBibz/Ui/Core/Jumbotron.html
228
+ - doc/UiBibz/Ui/Core/Label.html
229
+ - doc/UiBibz/Ui/Core/List.html
230
+ - doc/UiBibz/Ui/Core/ListGroup.html
231
+ - doc/UiBibz/Ui/Core/Nav.html
232
+ - doc/UiBibz/Ui/Core/NavDropdown.html
233
+ - doc/UiBibz/Ui/Core/NavLink.html
234
+ - doc/UiBibz/Ui/Core/Navbar.html
235
+ - doc/UiBibz/Ui/Core/NavbarForm.html
236
+ - doc/UiBibz/Ui/Core/NavbarNav.html
237
+ - doc/UiBibz/Ui/Core/NavbarText.html
238
+ - doc/UiBibz/Ui/Core/Panel.html
239
+ - doc/UiBibz/Ui/Core/ProgressBar.html
240
+ - doc/UiBibz/Ui/Core/Row.html
241
+ - doc/UiBibz/Ui/Ux.html
242
+ - doc/UiBibz/Ui/Ux/Actionable.html
243
+ - doc/UiBibz/Ui/Ux/Actions.html
244
+ - doc/UiBibz/Ui/Ux/Column.html
245
+ - doc/UiBibz/Ui/Ux/Columns.html
246
+ - doc/UiBibz/Ui/Ux/Grid.html
247
+ - doc/UiBibz/Ui/Ux/Paginable.html
248
+ - doc/UiBibz/Ui/Ux/Searchable.html
249
+ - doc/UiBibz/Ui/Ux/Sortable.html
250
+ - doc/UiBibz/Ui/Ux/Store.html
251
+ - doc/UiBibz/Ui/Ux/Table.html
252
+ - doc/UiBibz/Ui/Ux/TableAction.html
253
+ - doc/UiBibz/Ui/Ux/TablePagination.html
254
+ - doc/UiBibz/Ui/Ux/TablePaginationPerPage.html
255
+ - doc/UiBibz/Ui/Ux/TablePanel.html
256
+ - doc/UiBibz/Ui/Ux/TableSearchField.html
257
+ - doc/UiBibz/Utils.html
258
+ - doc/UiBibz/Utils/Internationalization.html
259
+ - doc/_index.html
260
+ - doc/class_list.html
261
+ - doc/css/common.css
262
+ - doc/css/full_list.css
263
+ - doc/css/style.css
264
+ - doc/file.README.html
265
+ - doc/file_list.html
266
+ - doc/frames.html
184
267
  - doc/images/alert.png
185
268
  - doc/images/breadcrumb.png
186
269
  - doc/images/button.png
@@ -192,6 +275,7 @@ files:
192
275
  - doc/images/glyph.png
193
276
  - doc/images/list.png
194
277
  - doc/images/nav.png
278
+ - doc/images/navbar.png
195
279
  - doc/images/panel.png
196
280
  - doc/images/progress_bar.png
197
281
  - doc/images/table.png
@@ -200,52 +284,64 @@ files:
200
284
  - doc/images/table_search_field.png
201
285
  - doc/images/ui-bibz-logo-without-border.gif
202
286
  - doc/images/ui-bibz-logo.gif
287
+ - doc/index.html
288
+ - doc/js/app.js
289
+ - doc/js/full_list.js
290
+ - doc/js/jquery.js
291
+ - doc/method_list.html
292
+ - doc/top-level-namespace.html
203
293
  - lib/tasks/ui_bibz_tasks.rake
204
294
  - lib/ui_bibz.rb
205
295
  - lib/ui_bibz/concerns/models/searchable.rb
206
296
  - lib/ui_bibz/helpers/meta_helper.rb
207
- - lib/ui_bibz/helpers/ui_helper.rb
297
+ - lib/ui_bibz/helpers/ui_core_helper.rb
298
+ - lib/ui_bibz/helpers/ui_ux_helper.rb
208
299
  - lib/ui_bibz/helpers/utils_helper.rb
209
300
  - lib/ui_bibz/rails/engine.rb
210
- - lib/ui_bibz/ui/alert.rb
211
- - lib/ui_bibz/ui/breadcrumb/breadcrumb.rb
212
- - lib/ui_bibz/ui/breadcrumb/components/breadcrumb_link.rb
213
- - lib/ui_bibz/ui/button/button.rb
214
- - lib/ui_bibz/ui/button/button_dropdown.rb
215
- - lib/ui_bibz/ui/button/button_group.rb
216
- - lib/ui_bibz/ui/button/button_link.rb
217
- - lib/ui_bibz/ui/button/button_split_dropdown.rb
218
- - lib/ui_bibz/ui/component.rb
219
- - lib/ui_bibz/ui/dropdown/components/dropdown_list.rb
220
- - lib/ui_bibz/ui/dropdown/dropdown.rb
221
- - lib/ui_bibz/ui/glyph.rb
222
- - lib/ui_bibz/ui/grid/components/col.rb
223
- - lib/ui_bibz/ui/grid/components/row.rb
224
- - lib/ui_bibz/ui/grid/grid.rb
225
- - lib/ui_bibz/ui/jumbotron.rb
226
- - lib/ui_bibz/ui/label.rb
227
- - lib/ui_bibz/ui/list/components/list.rb
228
- - lib/ui_bibz/ui/list/list_group.rb
229
- - lib/ui_bibz/ui/nav/components/nav_link.rb
230
- - lib/ui_bibz/ui/nav/nav.rb
231
- - lib/ui_bibz/ui/panel.rb
232
- - lib/ui_bibz/ui/progress_bar/components/bar.rb
233
- - lib/ui_bibz/ui/progress_bar/progress_bar.rb
234
- - lib/ui_bibz/ui/table/components/actions.rb
235
- - lib/ui_bibz/ui/table/components/column.rb
236
- - lib/ui_bibz/ui/table/components/columns.rb
237
- - lib/ui_bibz/ui/table/components/store.rb
238
- - lib/ui_bibz/ui/table/components/table_action.rb
239
- - lib/ui_bibz/ui/table/table.rb
240
- - lib/ui_bibz/ui/table/table_pagination.rb
241
- - lib/ui_bibz/ui/table/table_pagination_per_page.rb
242
- - lib/ui_bibz/ui/table/table_panel.rb
243
- - lib/ui_bibz/ui/table/table_search_field.rb
244
- - lib/ui_bibz/ui/table/ux/actionable.rb
245
- - lib/ui_bibz/ui/table/ux/paginable.rb
246
- - lib/ui_bibz/ui/table/ux/searchable.rb
247
- - lib/ui_bibz/ui/table/ux/sortable.rb
248
- - lib/ui_bibz/ui/ui.rb
301
+ - lib/ui_bibz/ui/base.rb
302
+ - lib/ui_bibz/ui/core/alert.rb
303
+ - lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb
304
+ - lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb
305
+ - lib/ui_bibz/ui/core/button/button.rb
306
+ - lib/ui_bibz/ui/core/button/button_dropdown.rb
307
+ - lib/ui_bibz/ui/core/button/button_group.rb
308
+ - lib/ui_bibz/ui/core/button/button_link.rb
309
+ - lib/ui_bibz/ui/core/button/button_split_dropdown.rb
310
+ - lib/ui_bibz/ui/core/col.rb
311
+ - lib/ui_bibz/ui/core/component.rb
312
+ - lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb
313
+ - lib/ui_bibz/ui/core/dropdown/dropdown.rb
314
+ - lib/ui_bibz/ui/core/glyph.rb
315
+ - lib/ui_bibz/ui/core/jumbotron.rb
316
+ - lib/ui_bibz/ui/core/label.rb
317
+ - lib/ui_bibz/ui/core/list/components/list.rb
318
+ - lib/ui_bibz/ui/core/list/list_group.rb
319
+ - lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb
320
+ - lib/ui_bibz/ui/core/nav/components/nav_link.rb
321
+ - lib/ui_bibz/ui/core/nav/components/navbar_form.rb
322
+ - lib/ui_bibz/ui/core/nav/components/navbar_nav.rb
323
+ - lib/ui_bibz/ui/core/nav/components/navbar_text.rb
324
+ - lib/ui_bibz/ui/core/nav/nav.rb
325
+ - lib/ui_bibz/ui/core/nav/navbar.rb
326
+ - lib/ui_bibz/ui/core/panel.rb
327
+ - lib/ui_bibz/ui/core/progress_bar/components/bar.rb
328
+ - lib/ui_bibz/ui/core/progress_bar/progress_bar.rb
329
+ - lib/ui_bibz/ui/core/row.rb
330
+ - lib/ui_bibz/ui/ux/grid.rb
331
+ - lib/ui_bibz/ui/ux/table/components/actions.rb
332
+ - lib/ui_bibz/ui/ux/table/components/column.rb
333
+ - lib/ui_bibz/ui/ux/table/components/columns.rb
334
+ - lib/ui_bibz/ui/ux/table/components/store.rb
335
+ - lib/ui_bibz/ui/ux/table/components/table_action.rb
336
+ - lib/ui_bibz/ui/ux/table/extensions/actionable.rb
337
+ - lib/ui_bibz/ui/ux/table/extensions/paginable.rb
338
+ - lib/ui_bibz/ui/ux/table/extensions/searchable.rb
339
+ - lib/ui_bibz/ui/ux/table/extensions/sortable.rb
340
+ - lib/ui_bibz/ui/ux/table/table.rb
341
+ - lib/ui_bibz/ui/ux/table/table_pagination.rb
342
+ - lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb
343
+ - lib/ui_bibz/ui/ux/table/table_panel.rb
344
+ - lib/ui_bibz/ui/ux/table/table_search_field.rb
249
345
  - lib/ui_bibz/utils/internationalization.rb
250
346
  - lib/ui_bibz/version.rb
251
347
  - test/dummy/README.rdoc
@@ -323,12 +419,12 @@ require_paths:
323
419
  - lib
324
420
  required_ruby_version: !ruby/object:Gem::Requirement
325
421
  requirements:
326
- - - ">="
422
+ - - ! '>='
327
423
  - !ruby/object:Gem::Version
328
424
  version: '0'
329
425
  required_rubygems_version: !ruby/object:Gem::Requirement
330
426
  requirements:
331
- - - ">="
427
+ - - ! '>='
332
428
  - !ruby/object:Gem::Version
333
429
  version: '0'
334
430
  requirements: []
@@ -337,66 +433,4 @@ rubygems_version: 2.4.5
337
433
  signing_key:
338
434
  specification_version: 4
339
435
  summary: A Rails Bootstrap framework...
340
- test_files:
341
- - test/dummy/README.rdoc
342
- - test/dummy/Rakefile
343
- - test/dummy/app/assets/images/.keep
344
- - test/dummy/app/assets/javascripts/application.js
345
- - test/dummy/app/assets/stylesheets/application.css
346
- - test/dummy/app/controllers/application_controller.rb
347
- - test/dummy/app/controllers/concerns/.keep
348
- - test/dummy/app/helpers/application_helper.rb
349
- - test/dummy/app/mailers/.keep
350
- - test/dummy/app/models/.keep
351
- - test/dummy/app/models/concerns/.keep
352
- - test/dummy/app/models/user.rb
353
- - test/dummy/app/views/layouts/application.html.erb
354
- - test/dummy/bin/bundle
355
- - test/dummy/bin/rails
356
- - test/dummy/bin/rake
357
- - test/dummy/bin/setup
358
- - test/dummy/config.ru
359
- - test/dummy/config/application.rb
360
- - test/dummy/config/boot.rb
361
- - test/dummy/config/database.yml
362
- - test/dummy/config/environment.rb
363
- - test/dummy/config/environments/development.rb
364
- - test/dummy/config/environments/production.rb
365
- - test/dummy/config/environments/test.rb
366
- - test/dummy/config/initializers/assets.rb
367
- - test/dummy/config/initializers/backtrace_silencers.rb
368
- - test/dummy/config/initializers/cookies_serializer.rb
369
- - test/dummy/config/initializers/filter_parameter_logging.rb
370
- - test/dummy/config/initializers/inflections.rb
371
- - test/dummy/config/initializers/mime_types.rb
372
- - test/dummy/config/initializers/session_store.rb
373
- - test/dummy/config/initializers/wrap_parameters.rb
374
- - test/dummy/config/locales/en.yml
375
- - test/dummy/config/routes.rb
376
- - test/dummy/config/secrets.yml
377
- - test/dummy/db/migrate/20150123191721_user.rb
378
- - test/dummy/db/migrate/20150123191805_create_users.rb
379
- - test/dummy/db/schema.rb
380
- - test/dummy/lib/assets/.keep
381
- - test/dummy/log/.keep
382
- - test/dummy/public/404.html
383
- - test/dummy/public/422.html
384
- - test/dummy/public/500.html
385
- - test/dummy/public/favicon.ico
386
- - test/dummy/test/fixtures/users.yml
387
- - test/dummy/test/models/user_test.rb
388
- - test/factories/user.rb
389
- - test/store_test.rb
390
- - test/support/factory_girl.rb
391
- - test/test_helper.rb
392
- - test/ui/button_test.rb
393
- - test/ui/component_test.rb
394
- - test/ui/dropdown_test.rb
395
- - test/ui/glyph_test.rb
396
- - test/ui/grid_test.rb
397
- - test/ui/list_group_test.rb
398
- - test/ui/nav_test.rb
399
- - test/ui/panel_test.rb
400
- - test/ui/table_test.rb
401
- - test/ui_bibz_test.rb
402
- - test/ui_helper_test.rb
436
+ test_files: []
data/README.rdoc DELETED
File without changes
@@ -1,119 +0,0 @@
1
- module UiBibz::Helpers::UiHelper
2
-
3
- def panel content = nil, options = nil, html_options = nil, &block
4
- if is_tap(content, options)
5
- UiBibz::Ui::Panel.new(content, options, html_options).tap(&block).render
6
- else
7
- UiBibz::Ui::Panel.new(content, options, html_options, &block).render
8
- end
9
- end
10
-
11
- # Use "notify" instead of "alert" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict
12
- def notify content = nil, options = nil, html_options = nil, &block
13
- UiBibz::Ui::Alert.new(content, options, html_options, &block).render
14
- end
15
-
16
- # Use "etiquette" instead of "label" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict
17
- def etiquette content = nil, options = nil, html_options = nil, &block
18
- UiBibz::Ui::Label.new(content, options, html_options, &block).render
19
- end
20
-
21
- def jumbotron content = nil, options = nil, html_options = nil, &block
22
- UiBibz::Ui::Jumbotron.new(content, options, html_options, &block).render
23
- end
24
-
25
- def nav content = nil, options = nil, html_options = nil, &block
26
- UiBibz::Ui::Nav.new(content, options, html_options).tap(&block).render
27
- end
28
-
29
- def list_group content = nil, options = nil, html_options = nil, &block
30
- UiBibz::Ui::ListGroup.new(content, options, html_options).tap(&block).render
31
- end
32
-
33
- def grid options = nil, html_options = nil, &block
34
- UiBibz::Ui::Grid.new(options, html_options).tap(&block).render
35
- end
36
-
37
- # Table section begin ------------------------------------------------------
38
-
39
- def table content = nil, options = nil, html_options = nil, &block
40
- if is_tap(content, options)
41
- UiBibz::Ui::Table.new(content, options, html_options).tap(&block).render
42
- else
43
- UiBibz::Ui::Table.new(content, options, html_options, &block).render
44
- end
45
- end
46
-
47
- def table_search_field options, html_options = nil
48
- UiBibz::Ui::TableSearchField.new(options, html_options).render
49
- end
50
-
51
- def table_pagination_per_page options, html_options = nil
52
- UiBibz::Ui::TablePaginationPerPage.new(options, html_options).render
53
- end
54
-
55
- def table_pagination options, html_options = nil
56
- UiBibz::Ui::TablePagination.new(options, html_options).render
57
- end
58
-
59
- def table_panel content = nil, options = nil, html_options = nil, &block
60
- if is_tap(content, options)
61
- UiBibz::Ui::TablePanel.new(content, options, html_options).tap(&block).render
62
- else
63
- UiBibz::Ui::TablePanel.new(content, options, html_options, &block).render
64
- end
65
- end
66
-
67
- # Table section end -------------------------------------------------------
68
-
69
- # Button section begin ----------------------------------------------------
70
-
71
- def button_link content = nil, options = nil, html_options = nil, &block
72
- UiBibz::Ui::ButtonLink.new(content, options, html_options, &block).render
73
- end
74
-
75
- def button_group content = nil, options = nil, html_options = nil, &block
76
- UiBibz::Ui::ButtonGroup.new(content, options, html_options, &block).render
77
- end
78
-
79
- def button content = nil, options = nil, html_options = nil, &block
80
- UiBibz::Ui::Button.new(content, options, html_options, &block).render
81
- end
82
-
83
- def button_dropdown name, options = nil, html_options = nil, &block
84
- UiBibz::Ui::ButtonDropdown.new(name, options, html_options).tap(&block).render
85
- end
86
-
87
- def button_split_dropdown name, options = nil, html_options = nil, &block
88
- UiBibz::Ui::ButtonSplitDropdown.new(name, options, html_options).tap(&block).render
89
- end
90
-
91
- # Button section end ----------------------------------------------------
92
-
93
- def breadcrumb content = nil, options = nil, html_options = nil, &block
94
- UiBibz::Ui::Breadcrumb.new(content, options, html_options).tap(&block).render
95
- end
96
-
97
- def dropdown name, options = nil, html_options = nil, &block
98
- UiBibz::Ui::Dropdown.new(name, options, html_options).tap(&block).render
99
- end
100
-
101
- def glyph content, options = nil, html_options = nil, &block
102
- UiBibz::Ui::Glyph.new(content, options, html_options, &block).render
103
- end
104
-
105
- def progress_bar percentage = nil, options = nil, html_options = nil, &block
106
- if is_tap(percentage, options)
107
- UiBibz::Ui::ProgressBar.new(percentage, options, html_options).tap(&block).render
108
- else
109
- UiBibz::Ui::ProgressBar.new(percentage, options, html_options, &block).render
110
- end
111
- end
112
-
113
- private
114
-
115
- def is_tap content, options
116
- (content[:tap] if content.kind_of?(Hash)) || (options[:tap] unless options.nil?)
117
- end
118
-
119
- end
@@ -1,54 +0,0 @@
1
- require 'ui_bibz/ui/breadcrumb/components/breadcrumb_link'
2
- module UiBibz::Ui
3
- class Breadcrumb < Component
4
-
5
- # Create a breadcrumb
6
- #
7
- # This element is an extend of UiBibz::Ui::Component.
8
- # You can use tap method to add link items.
9
- #
10
- # ==== Attributes
11
- #
12
- # * +content+ - Content of element
13
- # * +options+ - Options of element
14
- # * +html_options+ - Html Options of element
15
- #
16
- # ==== Signatures
17
- #
18
- # UiBibz::Ui::Breadcrumb.new().tap do |b|
19
- # b.link content = nil, options = nil, html_options = nil, &block
20
- # b.link content = nil, options = nil, html_options = nil, &block
21
- # b.link content = nil, options = nil, html_options = nil, &block
22
- # ...
23
- # end
24
- #
25
- # UiBibz::Ui::Alert.new(options = nil, html_options = nil) do
26
- # content
27
- # end
28
- #
29
- # ==== Examples
30
- #
31
- # UiBibz::Ui::Breadcrumb.new().tap do |b|
32
- # b.link 'Home', url: '#home'
33
- # b.link url: '#level-1' do
34
- # 'Level 1'
35
- # end
36
- # b.link 'Level 2', status: :active
37
- # end.render
38
- #
39
- def initialize content = nil, options = nil, html_options = nil, &block
40
- super
41
- @links = []
42
- end
43
-
44
- def render
45
- content_tag :ol, @links.join.html_safe, class_and_html_options("breadcrumb")
46
- end
47
-
48
- # See UiBibz::Ui::BreadcrumbLink
49
- def link content = nil, options = nil, html_options = nil, &block
50
- @links << BreadcrumbLink.new(content, options, html_options, &block).render
51
- end
52
-
53
- end
54
- end