ui_bibz 2.0.0.beta2.5 → 2.0.0.beta2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/app/assets/javascripts/interface.coffee +1 -1
  4. data/app/inputs/ui_bibz_inputs/{ui_button_choices_input.rb → ui_choice_group_input.rb} +3 -3
  5. data/lib/ui_bibz.rb +28 -29
  6. data/lib/ui_bibz/helpers/ui/core/{cards_helper.rb → boxes_helper.rb} +14 -6
  7. data/lib/ui_bibz/helpers/ui/core/forms_helper.rb +20 -11
  8. data/lib/ui_bibz/helpers/ui/core/icons_helper.rb +24 -0
  9. data/lib/ui_bibz/helpers/ui/core/lists_helper.rb +11 -0
  10. data/lib/ui_bibz/helpers/ui/core/navigations_helper.rb +64 -0
  11. data/lib/ui_bibz/helpers/ui/core/notifications_helper.rb +43 -0
  12. data/lib/ui_bibz/helpers/ui/core_helper.rb +8 -79
  13. data/lib/ui_bibz/ui/core/{cards → boxes}/card.rb +19 -19
  14. data/lib/ui_bibz/ui/core/{cards → boxes}/card_column.rb +6 -6
  15. data/lib/ui_bibz/ui/core/{cards → boxes}/card_deck.rb +6 -6
  16. data/lib/ui_bibz/ui/core/{cards → boxes}/card_group.rb +6 -6
  17. data/lib/ui_bibz/ui/core/{cards → boxes}/components/body/card_body_link.rb +5 -5
  18. data/lib/ui_bibz/ui/core/{cards → boxes}/components/body/card_body_text.rb +5 -5
  19. data/lib/ui_bibz/ui/core/{cards → boxes}/components/body/card_body_title.rb +5 -5
  20. data/lib/ui_bibz/ui/core/{cards → boxes}/components/card_body.rb +11 -11
  21. data/lib/ui_bibz/ui/core/{cards → boxes}/components/card_footer.rb +5 -5
  22. data/lib/ui_bibz/ui/core/{cards → boxes}/components/card_header.rb +5 -5
  23. data/lib/ui_bibz/ui/core/{cards → boxes}/components/card_image.rb +5 -5
  24. data/lib/ui_bibz/ui/core/{cards → boxes}/components/card_list_group.rb +5 -5
  25. data/lib/ui_bibz/ui/core/{jumbotron.rb → boxes/jumbotron.rb} +6 -6
  26. data/lib/ui_bibz/ui/core/forms/buttons/button.rb +8 -3
  27. data/lib/ui_bibz/ui/core/forms/buttons/button_choice.rb +3 -3
  28. data/lib/ui_bibz/ui/core/forms/buttons/button_group.rb +1 -6
  29. data/lib/ui_bibz/ui/core/forms/buttons/components/button_group_dropdown.rb +1 -1
  30. data/lib/ui_bibz/ui/core/forms/choices/choice_group.rb +81 -0
  31. data/lib/ui_bibz/ui/core/forms/{buttons → choices}/components/choice.rb +11 -18
  32. data/lib/ui_bibz/ui/core/{dropdowns → forms/dropdowns}/components/dropdown_divider.rb +1 -1
  33. data/lib/ui_bibz/ui/core/{dropdowns → forms/dropdowns}/components/dropdown_header.rb +5 -5
  34. data/lib/ui_bibz/ui/core/{dropdowns → forms/dropdowns}/components/dropdown_link.rb +5 -5
  35. data/lib/ui_bibz/ui/core/{dropdowns → forms/dropdowns}/dropdown.rb +12 -12
  36. data/lib/ui_bibz/ui/core/{dropdowns → forms/dropdowns}/split_dropdown.rb +6 -6
  37. data/lib/ui_bibz/ui/core/forms/numbers/formula_field.rb +1 -1
  38. data/lib/ui_bibz/ui/core/forms/selects/multi_select_field.rb +8 -3
  39. data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_dropdown.rb +1 -1
  40. data/lib/ui_bibz/ui/core/forms/surrounds/surround_field.rb +1 -1
  41. data/lib/ui_bibz/ui/core/{glyph.rb → icons/glyph.rb} +10 -10
  42. data/lib/ui_bibz/ui/core/{star.rb → icons/star.rb} +6 -6
  43. data/lib/ui_bibz/ui/core/lists/components/list.rb +2 -2
  44. data/lib/ui_bibz/ui/core/{breadcrumb.rb → navigations/breadcrumb.rb} +8 -12
  45. data/lib/ui_bibz/ui/core/{paths → navigations}/components/breadcrumb_link.rb +5 -5
  46. data/lib/ui_bibz/ui/core/{navs → navigations}/components/nav_dropdown.rb +5 -5
  47. data/lib/ui_bibz/ui/core/navigations/components/nav_link.rb +68 -0
  48. data/lib/ui_bibz/ui/core/{navs → navigations}/components/nav_link_link.rb +1 -1
  49. data/lib/ui_bibz/ui/core/{navs → navigations}/components/nav_link_list.rb +1 -1
  50. data/lib/ui_bibz/ui/core/navigations/components/nav_text.rb +50 -0
  51. data/lib/ui_bibz/ui/core/{navs → navigations}/components/navbar_brand.rb +1 -1
  52. data/lib/ui_bibz/ui/core/{navs → navigations}/components/navbar_form.rb +4 -4
  53. data/lib/ui_bibz/ui/core/{navs → navigations}/components/navbar_nav.rb +7 -7
  54. data/lib/ui_bibz/ui/core/{navs → navigations}/components/navbar_text.rb +5 -5
  55. data/lib/ui_bibz/ui/core/{navs → navigations}/components/pagination_link.rb +6 -6
  56. data/lib/ui_bibz/ui/core/navigations/link.rb +54 -0
  57. data/lib/ui_bibz/ui/core/{navs → navigations}/nav.rb +24 -13
  58. data/lib/ui_bibz/ui/core/{navs → navigations}/navbar.rb +9 -9
  59. data/lib/ui_bibz/ui/core/{navs → navigations}/pagination.rb +6 -6
  60. data/lib/ui_bibz/ui/core/navigations/tab_group.rb +82 -0
  61. data/lib/ui_bibz/ui/core/{forms/buttons/button_toolbar.rb → navigations/toolbar.rb} +12 -8
  62. data/lib/ui_bibz/ui/core/{badge.rb → notifications/badge.rb} +8 -9
  63. data/lib/ui_bibz/ui/core/{progresses → notifications}/components/bar.rb +6 -6
  64. data/lib/ui_bibz/ui/core/{progresses → notifications}/progress_bar.rb +11 -11
  65. data/lib/ui_bibz/ui/extensions/core/component/glyph_extension.rb +1 -1
  66. data/lib/ui_bibz/ui/extensions/core/component/klass_extension.rb +18 -2
  67. data/lib/ui_bibz/ui/ux/tables/components/actions.rb +9 -9
  68. data/lib/ui_bibz/ui/ux/tables/components/as.rb +2 -2
  69. data/lib/ui_bibz/ui/ux/tables/extensions/actionable.rb +1 -1
  70. data/lib/ui_bibz/ui/ux/tables/extensions/searchable.rb +1 -1
  71. data/lib/ui_bibz/ui/ux/tables/extensions/sortable.rb +1 -1
  72. data/lib/ui_bibz/ui/ux/tables/table_card.rb +3 -3
  73. data/lib/ui_bibz/ui/ux/tables/table_search_field.rb +4 -4
  74. data/lib/ui_bibz/utils/screwdriver.rb +10 -1
  75. data/lib/ui_bibz/version.rb +1 -1
  76. data/structure.md +64 -0
  77. data/test/ui/core/{cards → boxes}/card_test.rb +0 -0
  78. data/test/ui/core/{jumbotron_test.rb → boxes/jumbotron_test.rb} +0 -0
  79. data/test/ui/core/forms/buttons/button_test.rb +1 -1
  80. data/test/ui/core/forms/choices/choice_group_test.rb +36 -0
  81. data/test/ui/core/{dropdowns → forms/dropdowns}/dropdown_test.rb +5 -5
  82. data/test/ui/core/forms/selects/multi_select_field_test.rb +2 -2
  83. data/test/ui/core/{glyph_test.rb → icons/glyph_test.rb} +0 -0
  84. data/test/ui/core/{star_test.rb → icons/star_test.rb} +0 -0
  85. data/test/ui/core/{paths → navigations}/breadcrumb_test.rb +0 -0
  86. data/test/ui/core/{navs → navigations}/nav_test.rb +0 -0
  87. data/test/ui/core/{navs → navigations}/navbar_test.rb +4 -4
  88. data/test/ui/core/navigations/pagination_test.rb +38 -0
  89. data/test/ui/core/navigations/tab_group_test.rb +49 -0
  90. data/test/ui/core/navigations/toolbar_test.rb +31 -0
  91. data/test/ui/core/{badge_test.rb → notifications/badge_test.rb} +0 -0
  92. data/test/ui/core/{progress_test.rb → notifications/progress_bar_test.rb} +1 -1
  93. metadata +79 -69
  94. data/lib/ui_bibz/helpers/ui/core/dropdowns_helper.rb +0 -21
  95. data/lib/ui_bibz/helpers/ui/core/navs_helper.rb +0 -27
  96. data/lib/ui_bibz/helpers/ui/core/paths_helper.rb +0 -16
  97. data/lib/ui_bibz/ui/core/navs/components/nav_link.rb +0 -60
  98. data/lib/ui_bibz/ui/core/paths/breadcrumb.rb +0 -109
  99. data/test/ui/core/forms/buttons/button_choice_test.rb +0 -36
@@ -13,8 +13,8 @@ class MultiSelectFieldTest < ActionView::TestCase
13
13
 
14
14
  test "Multi Select Field data html options" do
15
15
  grouped_options = { 'North America' => [['United statuss','US'], 'Canada'], 'Europe' => ['Denmark','Germany','France'] }
16
- actual = UiBibz::Ui::Core::Forms::Selects::MultiSelectField.new('example', { option_tags: grouped_options_for_select(grouped_options), clickable_opt_group: true, collapsible_opt_group: true, searchable: true, select_all_option: true, status: :danger }).render
17
- expected = "<select name=\"example[]\" id=\"example\" data-enable-clickable-opt-groups=\"true\" data-enable-collapsible-opt-groups=\"true\" data-enable-filtering=\"true\" data-include-select-all-option=\"true\" class=\"btn-danger multi-select-field\" multiple=\"multiple\"><optgroup label=\"North America\"><option value=\"US\">United statuss</option>
16
+ actual = UiBibz::Ui::Core::Forms::Selects::MultiSelectField.new('example', { option_tags: grouped_options_for_select(grouped_options), clickable_opt_group: true, collapsible_opt_group: true, searchable: true, select_all_options: true, number_displayed: 2, status: :danger }).render
17
+ expected = "<select name=\"example[]\" id=\"example\" data-enable-clickable-opt-groups=\"true\" data-enable-collapsible-opt-groups=\"true\" data-enable-filtering=\"true\" data-include-select-all-option=\"true\" data-number-displayed=\"true\" class=\"btn-danger multi-select-field\" multiple=\"multiple\"><optgroup label=\"North America\"><option value=\"US\">United statuss</option>
18
18
  <option value=\"Canada\">Canada</option></optgroup><optgroup label=\"Europe\"><option value=\"Denmark\">Denmark</option>
19
19
  <option value=\"Germany\">Germany</option>
20
20
  <option value=\"France\">France</option></optgroup></select>"
File without changes
File without changes
File without changes
@@ -2,7 +2,7 @@ require 'test_helper'
2
2
  class NavbarTest < ActionView::TestCase
3
3
 
4
4
  test 'Navbar' do
5
- actual = UiBibz::Ui::Core::Navs::Navbar.new.tap do |nb|
5
+ actual = UiBibz::Ui::Core::Navigations::Navbar.new.tap do |nb|
6
6
  end
7
7
  expected = "<nav class=\"navbar navbar-light navbar-expand-lg\"><button class=\"navbar-toggler hidden-sm-up\" type=\"button\" data-toggle=\"collapse\" data-target=\"##{ actual.id }\">☰</button><div class=\"collapse navbar-collapse\" id=\"#{ actual.id }\"></div></nav>"
8
8
 
@@ -10,7 +10,7 @@ class NavbarTest < ActionView::TestCase
10
10
  end
11
11
 
12
12
  test 'Navbar with options' do
13
- actual = UiBibz::Ui::Core::Navs::Navbar.new(title: 'Brand', expand_size: :xs, status: :primary, position: :top, brand_position: :right).tap do |nb|
13
+ actual = UiBibz::Ui::Core::Navigations::Navbar.new(title: 'Brand', expand_size: :xs, status: :primary, position: :top, brand_position: :right).tap do |nb|
14
14
  end
15
15
  expected = "<nav class=\"bg-primary navbar navbar-light fixed-top navbar-expand-xs\"><button class=\"navbar-toggler hidden-sm-up\" type=\"button\" data-toggle=\"collapse\" data-target=\"##{ actual.id }\">☰</button><a class=\"navbar-brand\" href=\"/\">Brand</a><div class=\"collapse navbar-collapse\" id=\"#{ actual.id }\"></div></nav>"
16
16
 
@@ -18,7 +18,7 @@ class NavbarTest < ActionView::TestCase
18
18
  end
19
19
 
20
20
  test 'Navbar with brand, nav, form and text' do
21
- actual = UiBibz::Ui::Core::Navs::Navbar.new.tap do |nb|
21
+ actual = UiBibz::Ui::Core::Navigations::Navbar.new.tap do |nb|
22
22
  nb.brand "Brand"
23
23
  nb.nav do |n|
24
24
  n.link 'Home', state: :active, url: "#Home", selector: 'home'
@@ -37,7 +37,7 @@ class NavbarTest < ActionView::TestCase
37
37
  end
38
38
 
39
39
  test 'status' do
40
- actual = UiBibz::Ui::Core::Navs::Navbar.new(type: :dark, status: :dark).tap do |nb|
40
+ actual = UiBibz::Ui::Core::Navigations::Navbar.new(type: :dark, status: :dark).tap do |nb|
41
41
  nb.brand image_tag 'ruby-white'
42
42
  nb.nav do |n|
43
43
  n.link 'Link', url: '#link'
@@ -0,0 +1,38 @@
1
+ require 'test_helper'
2
+ class PaginationTest < ActionView::TestCase
3
+ include UiBibz::Helpers::Ui::CoreHelper
4
+
5
+ test 'Pagination' do
6
+ actual = ui_pagination do |p|
7
+ p.link 'Home', state: :active, url: "#Home", selector: 'home'
8
+ p.link 'Profile', url: "#profile", selector: 'profile'
9
+ p.link 'Messages', url: "#messages", selector: 'messages'
10
+ end
11
+ expected = "<nav><ul class=\"pagination\"><li class=\"active page-item\"><a class=\"page-link\" href=\"#Home\">Home</a></li><li class=\"page-item\"><a class=\"page-link\" href=\"#profile\">Profile</a></li><li class=\"page-item\"><a class=\"page-link\" href=\"#messages\">Messages</a></li></ul></nav>"
12
+
13
+ assert_equal expected, actual
14
+ end
15
+
16
+ test 'Pagination size' do
17
+ actual = ui_pagination size: :lg do |p|
18
+ p.link 'Home', state: :active, url: "#Home", selector: 'home'
19
+ p.link 'Profile', url: "#profile", selector: 'profile'
20
+ p.link 'Messages', url: "#messages", selector: 'messages'
21
+ end
22
+ expected = "<nav><ul class=\"pagination pagination-lg\"><li class=\"active page-item\"><a class=\"page-link\" href=\"#Home\">Home</a></li><li class=\"page-item\"><a class=\"page-link\" href=\"#profile\">Profile</a></li><li class=\"page-item\"><a class=\"page-link\" href=\"#messages\">Messages</a></li></ul></nav>"
23
+
24
+ assert_equal expected, actual
25
+ end
26
+
27
+ test 'Pagination position' do
28
+ actual = ui_pagination position: :right do |p|
29
+ p.link 'Home', state: :active, url: "#Home", selector: 'home'
30
+ p.link 'Profile', url: "#profile", selector: 'profile'
31
+ p.link 'Messages', url: "#messages", selector: 'messages'
32
+ end
33
+ expected = "<nav><ul class=\"pagination justify-content-end\"><li class=\"active page-item\"><a class=\"page-link\" href=\"#Home\">Home</a></li><li class=\"page-item\"><a class=\"page-link\" href=\"#profile\">Profile</a></li><li class=\"page-item\"><a class=\"page-link\" href=\"#messages\">Messages</a></li></ul></nav>"
34
+
35
+ assert_equal expected, actual
36
+ end
37
+
38
+ end
@@ -0,0 +1,49 @@
1
+ require 'test_helper'
2
+ class TabGroupTest < ActionView::TestCase
3
+ include UiBibz::Helpers::Ui::CoreHelper
4
+
5
+ test 'Tab group' do
6
+ actual = ui_tab_group do |n|
7
+ n.tab 'Home', state: :active, url: "#Home", selector: 'home'
8
+ n.tab 'Profile', url: "#profile", selector: 'profile'
9
+ n.tab 'Messages', url: "#messages", selector: 'messages'
10
+ end
11
+ expected = "<ul class=\"nav nav-tabs\"><li class=\"nav-item\"><a class=\"active nav-link\" href=\"#Home\">Home</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#profile\">Profile</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#messages\">Messages</a></li></ul>"
12
+
13
+ assert_equal expected, actual
14
+ end
15
+
16
+ test 'Type' do
17
+ actual = ui_tab_group type: :links do |n|
18
+ n.tab 'Home', state: :active, url: "#Home", selector: 'home'
19
+ n.tab 'Profile', url: "#profile", selector: 'profile'
20
+ n.tab 'Messages', url: "#messages", selector: 'messages'
21
+ end
22
+ expected = "<nav class=\"nav nav-tabs\"><a class=\"active nav-link\" href=\"#Home\">Home</a><a class=\"nav-link\" href=\"#profile\">Profile</a><a class=\"nav-link\" href=\"#messages\">Messages</a></nav>"
23
+
24
+ assert_equal expected, actual
25
+ end
26
+
27
+ test 'Position' do
28
+ actual = ui_tab_group(position: :right) do |n|
29
+ n.tab 'Home', state: :active, url: "#Home", selector: 'home'
30
+ n.tab 'Profile', url: "#profile", selector: 'profile', label: 16
31
+ n.tab 'Messages', url: "#messages", selector: 'messages', state: :disabled
32
+ end
33
+ expected = "<ul class=\"nav nav-tabs justify-content-end\"><li class=\"nav-item\"><a class=\"active nav-link\" href=\"#Home\">Home</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#profile\">Profile</a></li><li class=\"nav-item\"><a class=\"disabled nav-link\" href=\"#messages\">Messages</a></li></ul>"
34
+
35
+ assert_equal expected, actual
36
+ end
37
+
38
+ test 'Justified' do
39
+ actual = ui_tab_group(justified: true) do |n|
40
+ n.tab 'Home', state: :active, url: "#Home", selector: 'home'
41
+ n.tab 'Profile', url: "#profile", selector: 'profile', label: 16
42
+ n.tab 'Messages', url: "#messages", selector: 'messages', state: :disabled
43
+ end
44
+ expected = "<ul class=\"nav nav-tabs\"><li class=\"nav-item\"><a class=\"active nav-link\" href=\"#Home\">Home</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#profile\">Profile</a></li><li class=\"nav-item\"><a class=\"disabled nav-link\" href=\"#messages\">Messages</a></li></ul>"
45
+
46
+ assert_equal expected, actual
47
+ end
48
+
49
+ end
@@ -0,0 +1,31 @@
1
+ require 'test_helper'
2
+ class ToolbarTest < ActionView::TestCase
3
+ include UiBibz::Helpers::Ui::CoreHelper
4
+
5
+ test 'Toolbar' do
6
+ actual = ui_toolbar do |t|
7
+ t.button_group do |bg|
8
+ bg.button 'Home'
9
+ end
10
+ end
11
+ expected = "<div class=\"btn-toolbar\" role=\"toolbar\"><div class=\"btn-group\" role=\"group\"><button class=\"btn\">Home</button></div></div>"
12
+
13
+ assert_equal expected, actual
14
+ end
15
+
16
+ test 'Toolbar justify' do
17
+ actual = ui_toolbar justify: true do |t|
18
+ t.button_group do |bg|
19
+ bg.button 'Home'
20
+ end
21
+ t.spacer 2
22
+ t.button_group do |bg|
23
+ bg.button 'Home 2'
24
+ end
25
+ end
26
+ expected = "<div class=\"btn-toolbar justify-content-between\" role=\"toolbar\"><div class=\"btn-group mr-2\" role=\"group\"><button class=\"btn\">Home</button></div><div class=\"btn-group\" role=\"group\"><button class=\"btn\">Home 2</button></div></div>"
27
+
28
+ assert_equal expected, actual
29
+ end
30
+
31
+ end
@@ -1,7 +1,7 @@
1
1
  # encoding: UTF-8
2
2
  require 'test_helper'
3
3
 
4
- class ProgressTest < ActionView::TestCase
4
+ class ProgressBarTest < ActionView::TestCase
5
5
  include UiBibz::Helpers::Ui::CoreHelper
6
6
 
7
7
  test 'progress bar' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta2.5
4
+ version: 2.0.0.beta2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-14 00:00:00.000000000 Z
11
+ date: 2017-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -253,7 +253,7 @@ files:
253
253
  - app/inputs/ui_bibz_inputs/collection_input.rb
254
254
  - app/inputs/ui_bibz_inputs/string_input.rb
255
255
  - app/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
256
- - app/inputs/ui_bibz_inputs/ui_button_choices_input.rb
256
+ - app/inputs/ui_bibz_inputs/ui_choice_group_input.rb
257
257
  - app/inputs/ui_bibz_inputs/ui_date_picker_field_input.rb
258
258
  - app/inputs/ui_bibz_inputs/ui_dropdown_select_field_input.rb
259
259
  - app/inputs/ui_bibz_inputs/ui_formula_field_input.rb
@@ -271,51 +271,50 @@ files:
271
271
  - lib/tasks/ui_bibz_tasks.rake
272
272
  - lib/ui_bibz.rb
273
273
  - lib/ui_bibz/concerns/models/searchable.rb
274
- - lib/ui_bibz/helpers/ui/core/cards_helper.rb
275
- - lib/ui_bibz/helpers/ui/core/dropdowns_helper.rb
274
+ - lib/ui_bibz/helpers/ui/core/boxes_helper.rb
276
275
  - lib/ui_bibz/helpers/ui/core/forms_helper.rb
276
+ - lib/ui_bibz/helpers/ui/core/icons_helper.rb
277
277
  - lib/ui_bibz/helpers/ui/core/layouts_helper.rb
278
278
  - lib/ui_bibz/helpers/ui/core/lists_helper.rb
279
- - lib/ui_bibz/helpers/ui/core/navs_helper.rb
280
- - lib/ui_bibz/helpers/ui/core/paths_helper.rb
279
+ - lib/ui_bibz/helpers/ui/core/navigations_helper.rb
280
+ - lib/ui_bibz/helpers/ui/core/notifications_helper.rb
281
281
  - lib/ui_bibz/helpers/ui/core/windows_helper.rb
282
282
  - lib/ui_bibz/helpers/ui/core_helper.rb
283
283
  - lib/ui_bibz/helpers/ui/ux_helper.rb
284
284
  - lib/ui_bibz/helpers/utils_helper.rb
285
285
  - lib/ui_bibz/rails/engine.rb
286
286
  - lib/ui_bibz/ui/base.rb
287
- - lib/ui_bibz/ui/core/badge.rb
288
- - lib/ui_bibz/ui/core/breadcrumb.rb
289
- - lib/ui_bibz/ui/core/cards/card.rb
290
- - lib/ui_bibz/ui/core/cards/card_column.rb
291
- - lib/ui_bibz/ui/core/cards/card_deck.rb
292
- - lib/ui_bibz/ui/core/cards/card_group.rb
293
- - lib/ui_bibz/ui/core/cards/components/body/card_body_link.rb
294
- - lib/ui_bibz/ui/core/cards/components/body/card_body_text.rb
295
- - lib/ui_bibz/ui/core/cards/components/body/card_body_title.rb
296
- - lib/ui_bibz/ui/core/cards/components/card_body.rb
297
- - lib/ui_bibz/ui/core/cards/components/card_footer.rb
298
- - lib/ui_bibz/ui/core/cards/components/card_header.rb
299
- - lib/ui_bibz/ui/core/cards/components/card_image.rb
300
- - lib/ui_bibz/ui/core/cards/components/card_list_group.rb
287
+ - lib/ui_bibz/ui/core/boxes/card.rb
288
+ - lib/ui_bibz/ui/core/boxes/card_column.rb
289
+ - lib/ui_bibz/ui/core/boxes/card_deck.rb
290
+ - lib/ui_bibz/ui/core/boxes/card_group.rb
291
+ - lib/ui_bibz/ui/core/boxes/components/body/card_body_link.rb
292
+ - lib/ui_bibz/ui/core/boxes/components/body/card_body_text.rb
293
+ - lib/ui_bibz/ui/core/boxes/components/body/card_body_title.rb
294
+ - lib/ui_bibz/ui/core/boxes/components/card_body.rb
295
+ - lib/ui_bibz/ui/core/boxes/components/card_footer.rb
296
+ - lib/ui_bibz/ui/core/boxes/components/card_header.rb
297
+ - lib/ui_bibz/ui/core/boxes/components/card_image.rb
298
+ - lib/ui_bibz/ui/core/boxes/components/card_list_group.rb
299
+ - lib/ui_bibz/ui/core/boxes/jumbotron.rb
301
300
  - lib/ui_bibz/ui/core/component.rb
302
- - lib/ui_bibz/ui/core/dropdowns/components/dropdown_divider.rb
303
- - lib/ui_bibz/ui/core/dropdowns/components/dropdown_header.rb
304
- - lib/ui_bibz/ui/core/dropdowns/components/dropdown_link.rb
305
- - lib/ui_bibz/ui/core/dropdowns/dropdown.rb
306
- - lib/ui_bibz/ui/core/dropdowns/split_dropdown.rb
307
301
  - lib/ui_bibz/ui/core/forms/buttons/button.rb
308
302
  - lib/ui_bibz/ui/core/forms/buttons/button_choice.rb
309
303
  - lib/ui_bibz/ui/core/forms/buttons/button_group.rb
310
304
  - lib/ui_bibz/ui/core/forms/buttons/button_link.rb
311
305
  - lib/ui_bibz/ui/core/forms/buttons/button_refresh.rb
312
- - lib/ui_bibz/ui/core/forms/buttons/button_toolbar.rb
313
306
  - lib/ui_bibz/ui/core/forms/buttons/components/button_group_dropdown.rb
314
- - lib/ui_bibz/ui/core/forms/buttons/components/choice.rb
315
307
  - lib/ui_bibz/ui/core/forms/choices/checkbox_field.rb
308
+ - lib/ui_bibz/ui/core/forms/choices/choice_group.rb
309
+ - lib/ui_bibz/ui/core/forms/choices/components/choice.rb
316
310
  - lib/ui_bibz/ui/core/forms/choices/radio_field.rb
317
311
  - lib/ui_bibz/ui/core/forms/choices/switch_field.rb
318
312
  - lib/ui_bibz/ui/core/forms/dates/date_picker_field.rb
313
+ - lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_divider.rb
314
+ - lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_header.rb
315
+ - lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_link.rb
316
+ - lib/ui_bibz/ui/core/forms/dropdowns/dropdown.rb
317
+ - lib/ui_bibz/ui/core/forms/dropdowns/split_dropdown.rb
319
318
  - lib/ui_bibz/ui/core/forms/numbers/formula_field.rb
320
319
  - lib/ui_bibz/ui/core/forms/selects/abstract_select.rb
321
320
  - lib/ui_bibz/ui/core/forms/selects/dropdown_select_field.rb
@@ -335,8 +334,8 @@ files:
335
334
  - lib/ui_bibz/ui/core/forms/textareas/markdown_editor_field.rb
336
335
  - lib/ui_bibz/ui/core/forms/texts/auto_complete_field.rb
337
336
  - lib/ui_bibz/ui/core/forms/texts/text_field.rb
338
- - lib/ui_bibz/ui/core/glyph.rb
339
- - lib/ui_bibz/ui/core/jumbotron.rb
337
+ - lib/ui_bibz/ui/core/icons/glyph.rb
338
+ - lib/ui_bibz/ui/core/icons/star.rb
340
339
  - lib/ui_bibz/ui/core/layouts/col.rb
341
340
  - lib/ui_bibz/ui/core/layouts/container.rb
342
341
  - lib/ui_bibz/ui/core/layouts/row.rb
@@ -344,26 +343,30 @@ files:
344
343
  - lib/ui_bibz/ui/core/lists/components/list/list_body.rb
345
344
  - lib/ui_bibz/ui/core/lists/components/list/list_header.rb
346
345
  - lib/ui_bibz/ui/core/lists/list_group.rb
347
- - lib/ui_bibz/ui/core/navs/components/nav_dropdown.rb
348
- - lib/ui_bibz/ui/core/navs/components/nav_link.rb
349
- - lib/ui_bibz/ui/core/navs/components/nav_link_link.rb
350
- - lib/ui_bibz/ui/core/navs/components/nav_link_list.rb
351
- - lib/ui_bibz/ui/core/navs/components/navbar_brand.rb
352
- - lib/ui_bibz/ui/core/navs/components/navbar_form.rb
353
- - lib/ui_bibz/ui/core/navs/components/navbar_nav.rb
354
- - lib/ui_bibz/ui/core/navs/components/navbar_text.rb
355
- - lib/ui_bibz/ui/core/navs/components/pagination_link.rb
356
- - lib/ui_bibz/ui/core/navs/nav.rb
357
- - lib/ui_bibz/ui/core/navs/navbar.rb
358
- - lib/ui_bibz/ui/core/navs/pagination.rb
346
+ - lib/ui_bibz/ui/core/navigations/breadcrumb.rb
347
+ - lib/ui_bibz/ui/core/navigations/components/breadcrumb_link.rb
348
+ - lib/ui_bibz/ui/core/navigations/components/nav_dropdown.rb
349
+ - lib/ui_bibz/ui/core/navigations/components/nav_link.rb
350
+ - lib/ui_bibz/ui/core/navigations/components/nav_link_link.rb
351
+ - lib/ui_bibz/ui/core/navigations/components/nav_link_list.rb
352
+ - lib/ui_bibz/ui/core/navigations/components/nav_text.rb
353
+ - lib/ui_bibz/ui/core/navigations/components/navbar_brand.rb
354
+ - lib/ui_bibz/ui/core/navigations/components/navbar_form.rb
355
+ - lib/ui_bibz/ui/core/navigations/components/navbar_nav.rb
356
+ - lib/ui_bibz/ui/core/navigations/components/navbar_text.rb
357
+ - lib/ui_bibz/ui/core/navigations/components/pagination_link.rb
358
+ - lib/ui_bibz/ui/core/navigations/link.rb
359
+ - lib/ui_bibz/ui/core/navigations/nav.rb
360
+ - lib/ui_bibz/ui/core/navigations/navbar.rb
361
+ - lib/ui_bibz/ui/core/navigations/pagination.rb
362
+ - lib/ui_bibz/ui/core/navigations/tab_group.rb
363
+ - lib/ui_bibz/ui/core/navigations/toolbar.rb
359
364
  - lib/ui_bibz/ui/core/notifications/alert.rb
365
+ - lib/ui_bibz/ui/core/notifications/badge.rb
360
366
  - lib/ui_bibz/ui/core/notifications/components/alert_body.rb
361
367
  - lib/ui_bibz/ui/core/notifications/components/alert_header.rb
362
- - lib/ui_bibz/ui/core/paths/breadcrumb.rb
363
- - lib/ui_bibz/ui/core/paths/components/breadcrumb_link.rb
364
- - lib/ui_bibz/ui/core/progresses/components/bar.rb
365
- - lib/ui_bibz/ui/core/progresses/progress_bar.rb
366
- - lib/ui_bibz/ui/core/star.rb
368
+ - lib/ui_bibz/ui/core/notifications/components/bar.rb
369
+ - lib/ui_bibz/ui/core/notifications/progress_bar.rb
367
370
  - lib/ui_bibz/ui/core/windows/components/modal_body.rb
368
371
  - lib/ui_bibz/ui/core/windows/components/modal_footer.rb
369
372
  - lib/ui_bibz/ui/core/windows/components/modal_header.rb
@@ -390,6 +393,7 @@ files:
390
393
  - lib/ui_bibz/utils/internationalization.rb
391
394
  - lib/ui_bibz/utils/screwdriver.rb
392
395
  - lib/ui_bibz/version.rb
396
+ - structure.md
393
397
  - test/dummy/README.rdoc
394
398
  - test/dummy/Rakefile
395
399
  - test/dummy/app/assets/images/.keep
@@ -447,19 +451,19 @@ files:
447
451
  - test/store_test.rb
448
452
  - test/support/factory_girl.rb
449
453
  - test/test_helper.rb
450
- - test/ui/core/badge_test.rb
451
- - test/ui/core/cards/card_test.rb
454
+ - test/ui/core/boxes/card_test.rb
455
+ - test/ui/core/boxes/jumbotron_test.rb
452
456
  - test/ui/core/component_test.rb
453
- - test/ui/core/dropdowns/dropdown_test.rb
454
- - test/ui/core/forms/buttons/button_choice_test.rb
455
457
  - test/ui/core/forms/buttons/button_group_test.rb
456
458
  - test/ui/core/forms/buttons/button_link_test.rb
457
459
  - test/ui/core/forms/buttons/button_refresh_test.rb
458
460
  - test/ui/core/forms/buttons/button_test.rb
459
461
  - test/ui/core/forms/choices/checkbox_field_test.rb
462
+ - test/ui/core/forms/choices/choice_group_test.rb
460
463
  - test/ui/core/forms/choices/radio_field_test.rb
461
464
  - test/ui/core/forms/choices/switch_field_test.rb
462
465
  - test/ui/core/forms/dates/date_picker_field_test.rb
466
+ - test/ui/core/forms/dropdowns/dropdown_test.rb
463
467
  - test/ui/core/forms/numbers/formula_field_test.rb
464
468
  - test/ui/core/forms/selects/dropdown_select_field_test.rb
465
469
  - test/ui/core/forms/selects/multi_column_field_test.rb
@@ -469,18 +473,21 @@ files:
469
473
  - test/ui/core/forms/textareas/markdown_editor_field_test.rb
470
474
  - test/ui/core/forms/texts/auto_complete_field_test.rb
471
475
  - test/ui/core/forms/texts/text_field_test.rb
472
- - test/ui/core/glyph_test.rb
473
- - test/ui/core/jumbotron_test.rb
476
+ - test/ui/core/icons/glyph_test.rb
477
+ - test/ui/core/icons/star_test.rb
474
478
  - test/ui/core/layouts/col_test.rb
475
479
  - test/ui/core/layouts/container_test.rb
476
480
  - test/ui/core/layouts/row_test.rb
477
481
  - test/ui/core/lists/list_group_test.rb
478
- - test/ui/core/navs/nav_test.rb
479
- - test/ui/core/navs/navbar_test.rb
482
+ - test/ui/core/navigations/breadcrumb_test.rb
483
+ - test/ui/core/navigations/nav_test.rb
484
+ - test/ui/core/navigations/navbar_test.rb
485
+ - test/ui/core/navigations/pagination_test.rb
486
+ - test/ui/core/navigations/tab_group_test.rb
487
+ - test/ui/core/navigations/toolbar_test.rb
480
488
  - test/ui/core/notifications/alert_test.rb
481
- - test/ui/core/paths/breadcrumb_test.rb
482
- - test/ui/core/progress_test.rb
483
- - test/ui/core/star_test.rb
489
+ - test/ui/core/notifications/badge_test.rb
490
+ - test/ui/core/notifications/progress_bar_test.rb
484
491
  - test/ui/core/windows/modal_test.rb
485
492
  - test/ui/ux/tables/table_test.rb
486
493
  - test/ui_bibz_test.rb
@@ -591,19 +598,19 @@ test_files:
591
598
  - test/store_test.rb
592
599
  - test/support/factory_girl.rb
593
600
  - test/test_helper.rb
594
- - test/ui/core/badge_test.rb
595
- - test/ui/core/cards/card_test.rb
601
+ - test/ui/core/boxes/card_test.rb
602
+ - test/ui/core/boxes/jumbotron_test.rb
596
603
  - test/ui/core/component_test.rb
597
- - test/ui/core/dropdowns/dropdown_test.rb
598
- - test/ui/core/forms/buttons/button_choice_test.rb
599
604
  - test/ui/core/forms/buttons/button_group_test.rb
600
605
  - test/ui/core/forms/buttons/button_link_test.rb
601
606
  - test/ui/core/forms/buttons/button_refresh_test.rb
602
607
  - test/ui/core/forms/buttons/button_test.rb
603
608
  - test/ui/core/forms/choices/checkbox_field_test.rb
609
+ - test/ui/core/forms/choices/choice_group_test.rb
604
610
  - test/ui/core/forms/choices/radio_field_test.rb
605
611
  - test/ui/core/forms/choices/switch_field_test.rb
606
612
  - test/ui/core/forms/dates/date_picker_field_test.rb
613
+ - test/ui/core/forms/dropdowns/dropdown_test.rb
607
614
  - test/ui/core/forms/numbers/formula_field_test.rb
608
615
  - test/ui/core/forms/selects/dropdown_select_field_test.rb
609
616
  - test/ui/core/forms/selects/multi_column_field_test.rb
@@ -613,18 +620,21 @@ test_files:
613
620
  - test/ui/core/forms/textareas/markdown_editor_field_test.rb
614
621
  - test/ui/core/forms/texts/auto_complete_field_test.rb
615
622
  - test/ui/core/forms/texts/text_field_test.rb
616
- - test/ui/core/glyph_test.rb
617
- - test/ui/core/jumbotron_test.rb
623
+ - test/ui/core/icons/glyph_test.rb
624
+ - test/ui/core/icons/star_test.rb
618
625
  - test/ui/core/layouts/col_test.rb
619
626
  - test/ui/core/layouts/container_test.rb
620
627
  - test/ui/core/layouts/row_test.rb
621
628
  - test/ui/core/lists/list_group_test.rb
622
- - test/ui/core/navs/nav_test.rb
623
- - test/ui/core/navs/navbar_test.rb
629
+ - test/ui/core/navigations/breadcrumb_test.rb
630
+ - test/ui/core/navigations/nav_test.rb
631
+ - test/ui/core/navigations/navbar_test.rb
632
+ - test/ui/core/navigations/pagination_test.rb
633
+ - test/ui/core/navigations/tab_group_test.rb
634
+ - test/ui/core/navigations/toolbar_test.rb
624
635
  - test/ui/core/notifications/alert_test.rb
625
- - test/ui/core/paths/breadcrumb_test.rb
626
- - test/ui/core/progress_test.rb
627
- - test/ui/core/star_test.rb
636
+ - test/ui/core/notifications/badge_test.rb
637
+ - test/ui/core/notifications/progress_bar_test.rb
628
638
  - test/ui/core/windows/modal_test.rb
629
639
  - test/ui/ux/tables/table_test.rb
630
640
  - test/ui_bibz_test.rb